@covalent/components 6.3.0 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/action-ribbon.js +6 -6
  2. package/action-ribbon.mjs +23 -24
  3. package/alert.js +4 -4
  4. package/alert.mjs +27 -28
  5. package/app-shell.js +4 -4
  6. package/app-shell.mjs +10 -10
  7. package/{base-element-d5abe37a.js → base-element-58a3f9ea.js} +1 -1
  8. package/{base-element-c3dc926e.mjs → base-element-67ae173f.mjs} +2 -2
  9. package/button.js +4 -4
  10. package/button.mjs +13 -13
  11. package/card.js +8 -8
  12. package/card.mjs +4 -4
  13. package/check-list-item.js +3 -3
  14. package/check-list-item.mjs +16 -16
  15. package/checkbox.js +1 -1
  16. package/checkbox.mjs +15 -15
  17. package/circular-progress.js +7 -7
  18. package/circular-progress.mjs +6 -6
  19. package/class-map-4b94b017.mjs +62 -0
  20. package/class-map-b5efe8da.js +9 -0
  21. package/code-snippet.js +9 -9
  22. package/code-snippet.mjs +1276 -1213
  23. package/{dialog-8ee07177.js → dialog-79036d60.js} +4 -4
  24. package/{dialog-85c21333.mjs → dialog-9ac44447.mjs} +39 -39
  25. package/dialog.js +1 -1
  26. package/dialog.mjs +8 -8
  27. package/{directive-helpers-fce8cf91.js → directive-helpers-0ce1f995.js} +2 -2
  28. package/{directive-helpers-725a181d.mjs → directive-helpers-e3ea6592.mjs} +3 -3
  29. package/drawer.js +1 -1
  30. package/drawer.mjs +8 -8
  31. package/empty-state.js +7 -7
  32. package/empty-state.mjs +4 -4
  33. package/{event-options-7bc382d8.js → event-options-3f5eb195.js} +1 -1
  34. package/{event-options-3937d997.mjs → event-options-78d6cf94.mjs} +1 -1
  35. package/{form-element-6dbd7afa.mjs → form-element-bd973124.mjs} +4 -4
  36. package/{form-element-d4e7bcdb.js → form-element-ead758d4.js} +2 -2
  37. package/{foundation-c580100a.mjs → foundation-3f556da7.mjs} +78 -28
  38. package/{foundation-3f55a9dc.js → foundation-62d4413d.js} +24 -3
  39. package/icon-button.js +5 -5
  40. package/icon-button.mjs +12 -12
  41. package/icon-check-toggle.js +5 -5
  42. package/icon-check-toggle.mjs +15 -15
  43. package/icon-radio-toggle.js +4 -4
  44. package/icon-radio-toggle.mjs +15 -15
  45. package/icon.js +1 -1
  46. package/icon.mjs +3 -3
  47. package/{if-defined-639ed018.mjs → if-defined-c367f208.mjs} +1 -1
  48. package/if-defined-f1c45245.js +5 -0
  49. package/index.js +1 -1
  50. package/index.mjs +120 -121
  51. package/linear-progress.js +6 -6
  52. package/linear-progress.mjs +13 -13
  53. package/{list-defdaa3b.js → list-05db7fed.js} +2 -2
  54. package/{list-d616957b.mjs → list-066f5de4.mjs} +3 -3
  55. package/list-expansion.js +4 -4
  56. package/list-expansion.mjs +25 -25
  57. package/{list-item-3fa66f09.js → list-item-8da7ba96.js} +3 -3
  58. package/{list-item-d5c05e10.mjs → list-item-ba77097d.mjs} +6 -6
  59. package/list-item.js +1 -1
  60. package/list-item.mjs +13 -13
  61. package/list.js +1 -1
  62. package/list.mjs +15 -15
  63. package/menu.js +1 -1
  64. package/menu.mjs +15 -15
  65. package/{mwc-checkbox-base-10e977f2.mjs → mwc-checkbox-base-3da36456.mjs} +21 -21
  66. package/{mwc-checkbox-base-435c1f1d.js → mwc-checkbox-base-d46c7666.js} +9 -9
  67. package/{mwc-checkbox.css-b7abc7fd.mjs → mwc-checkbox.css-8f4f1a9b.mjs} +1 -1
  68. package/{mwc-checkbox.css-956e3d6c.js → mwc-checkbox.css-b3434429.js} +1 -1
  69. package/{mwc-drawer-base-f44fcf34.js → mwc-drawer-base-8eecb1de.js} +6 -6
  70. package/{mwc-drawer-base-b2b772c3.mjs → mwc-drawer-base-fe660bdf.mjs} +10 -10
  71. package/{mwc-icon-b96fb867.js → mwc-icon-8c9cd0c9.js} +2 -2
  72. package/{mwc-icon-c7013880.mjs → mwc-icon-ba18383d.mjs} +2 -2
  73. package/{mwc-line-ripple-directive-a97ce725.js → mwc-line-ripple-directive-d1cf9570.js} +3 -3
  74. package/{mwc-line-ripple-directive-c3e1f04a.mjs → mwc-line-ripple-directive-ffce2cff.mjs} +6 -6
  75. package/{mwc-list-base-c0f8af1c.mjs → mwc-list-base-32d4ac31.mjs} +9 -9
  76. package/{mwc-list-base-7d5f7278.js → mwc-list-base-cb3500b4.js} +4 -4
  77. package/{mwc-list-item-base-803b9771.js → mwc-list-item-base-4a4d1e1b.js} +8 -8
  78. package/{mwc-list-item-base-acef0223.mjs → mwc-list-item-base-8654347d.mjs} +7 -7
  79. package/{mwc-list-item.css-401e2407.js → mwc-list-item.css-25adc0c4.js} +1 -1
  80. package/{mwc-list-item.css-b5481d96.mjs → mwc-list-item.css-b0009fc7.mjs} +1 -1
  81. package/{mwc-menu-base-8970b43d.mjs → mwc-menu-base-572a76b9.mjs} +11 -11
  82. package/{mwc-menu-base-ac49fe54.js → mwc-menu-base-f14ec544.js} +17 -17
  83. package/{mwc-radio-base-442d495a.js → mwc-radio-base-470b4fcc.js} +4 -4
  84. package/{mwc-radio-base-c29e6f42.mjs → mwc-radio-base-9446d39b.mjs} +11 -11
  85. package/{mwc-radio.css-388ad26d.js → mwc-radio.css-4e140252.js} +1 -1
  86. package/{mwc-radio.css-4694aa9c.mjs → mwc-radio.css-7454bb11.mjs} +1 -1
  87. package/{mwc-slider.css-336f809b.mjs → mwc-slider.css-10adbaf8.mjs} +12 -12
  88. package/{mwc-slider.css-48f02f1e.js → mwc-slider.css-9dd57b10.js} +11 -11
  89. package/{mwc-tab-base-7fb3d339.mjs → mwc-tab-base-4ba47acc.mjs} +14 -14
  90. package/{mwc-tab-base-1a19b299.js → mwc-tab-base-fc3ffb43.js} +13 -13
  91. package/{mwc-top-app-bar-base-14e0a018.js → mwc-top-app-bar-base-0304e67f.js} +8 -8
  92. package/{mwc-top-app-bar-base-79c87e69.mjs → mwc-top-app-bar-base-adc4168a.mjs} +22 -24
  93. package/nav-list-item.js +2 -2
  94. package/nav-list-item.mjs +13 -13
  95. package/package.json +1 -1
  96. package/{property-074570d1.js → property-57f6f6fe.js} +1 -1
  97. package/{property-ca27685b.mjs → property-9b6ea53b.mjs} +9 -9
  98. package/{query-2ba749b7.js → query-680f1868.js} +1 -1
  99. package/{query-assigned-elements-514e5265.mjs → query-assigned-elements-4a39219d.mjs} +153 -152
  100. package/query-assigned-elements-f623705d.js +31 -0
  101. package/{query-assigned-nodes-9ec0fa5f.js → query-assigned-nodes-99eae71d.js} +1 -1
  102. package/{query-assigned-nodes-bea12e0c.mjs → query-assigned-nodes-df691e78.mjs} +1 -1
  103. package/{query-1e7846ea.mjs → query-d843aa92.mjs} +1 -1
  104. package/radio-list-item.js +3 -3
  105. package/radio-list-item.mjs +18 -18
  106. package/radio.js +1 -1
  107. package/radio.mjs +15 -15
  108. package/{ripple-handlers-227497d3.mjs → ripple-handlers-321219b8.mjs} +10 -10
  109. package/{ripple-handlers-2176f137.js → ripple-handlers-c82b1232.js} +5 -5
  110. package/select.js +10 -10
  111. package/select.mjs +20 -20
  112. package/side-sheet.js +2 -2
  113. package/side-sheet.mjs +21 -21
  114. package/slider-range.js +7 -7
  115. package/slider-range.mjs +13 -13
  116. package/slider.js +3 -3
  117. package/slider.mjs +15 -15
  118. package/snackbar.js +6 -6
  119. package/snackbar.mjs +12 -12
  120. package/state-0974a8e5.js +5 -0
  121. package/{state-6f7e570d.mjs → state-b5e865db.mjs} +1 -1
  122. package/status-header-item.js +3 -3
  123. package/status-header-item.mjs +15 -15
  124. package/status-header.js +2 -2
  125. package/status-header.mjs +3 -3
  126. package/style-map-88d2563f.js +5 -0
  127. package/style-map-bc3ed3e0.mjs +44 -0
  128. package/style.css +1 -1
  129. package/switch.js +8 -8
  130. package/switch.mjs +13 -13
  131. package/tab-bar.js +5 -5
  132. package/tab-bar.mjs +16 -16
  133. package/tab.js +1 -1
  134. package/tab.mjs +12 -12
  135. package/text-lockup.js +4 -4
  136. package/text-lockup.mjs +7 -7
  137. package/textarea.js +4 -4
  138. package/textarea.mjs +26 -26
  139. package/{textfield-507c6a06.js → textfield-0993c163.js} +12 -12
  140. package/{textfield-276b0ded.mjs → textfield-2cee5a1a.mjs} +14 -14
  141. package/textfield.js +1 -1
  142. package/textfield.mjs +14 -14
  143. package/toolbar.js +1 -1
  144. package/toolbar.mjs +8 -8
  145. package/tooltip/tooltip.d.ts.map +1 -1
  146. package/tooltip.js +32 -11
  147. package/tooltip.mjs +611 -516
  148. package/{top-app-bar-34e85527.js → top-app-bar-a531c1b4.js} +1 -1
  149. package/{top-app-bar-a236c3bc.mjs → top-app-bar-f83386e0.mjs} +1 -1
  150. package/top-app-bar-fixed.js +89 -5
  151. package/top-app-bar-fixed.mjs +279 -37
  152. package/top-app-bar.js +1 -1
  153. package/top-app-bar.mjs +9 -9
  154. package/tree-list-item.js +7 -7
  155. package/tree-list-item.mjs +6 -6
  156. package/tree-list.js +2 -2
  157. package/tree-list.mjs +1 -1
  158. package/tslib.es6-e6a11c8a.js +1 -0
  159. package/tslib.es6-f1eaf65c.mjs +82 -0
  160. package/typography.js +3 -3
  161. package/typography.mjs +2 -2
  162. package/{utils-dc65fdc9.mjs → utils-2932417c.mjs} +2 -2
  163. package/class-map-08c84aeb.mjs +0 -62
  164. package/class-map-50b8edb4.js +0 -9
  165. package/foundation-2334d146.mjs +0 -60
  166. package/foundation-e830bd94.js +0 -22
  167. package/if-defined-cb12d481.js +0 -5
  168. package/query-assigned-elements-07e38f46.js +0 -33
  169. package/state-949232e6.js +0 -5
  170. package/style-map-2cb0fb63.mjs +0 -40
  171. package/style-map-3056a771.js +0 -5
  172. package/tslib.es6-6b53b818.js +0 -1
  173. package/tslib.es6-b5e819a6.mjs +0 -82
package/tooltip.mjs CHANGED
@@ -1,9 +1,65 @@
1
- import { i as it, r as rt, s as ot, y as Y, e as nt } from "./query-assigned-elements-514e5265.mjs";
2
- import { e as L } from "./property-ca27685b.mjs";
3
- import { i as et } from "./query-1e7846ea.mjs";
4
- import { a as at } from "./utils-dc65fdc9.mjs";
5
- import { a as st, b as J, c as H } from "./tslib.es6-b5e819a6.mjs";
6
- import { M as lt } from "./foundation-2334d146.mjs";
1
+ import { i as nt, r as at, s as st, x as Y, e as lt } from "./query-assigned-elements-4a39219d.mjs";
2
+ import { n as M } from "./property-9b6ea53b.mjs";
3
+ import { i as ot } from "./query-d843aa92.mjs";
4
+ import { a as dt } from "./utils-2932417c.mjs";
5
+ import { _ as ct, a as J, c as I, d as Z, e as X } from "./tslib.es6-f1eaf65c.mjs";
6
+ /**
7
+ * @license
8
+ * Copyright 2016 Google Inc.
9
+ *
10
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ * of this software and associated documentation files (the "Software"), to deal
12
+ * in the Software without restriction, including without limitation the rights
13
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ * copies of the Software, and to permit persons to whom the Software is
15
+ * furnished to do so, subject to the following conditions:
16
+ *
17
+ * The above copyright notice and this permission notice shall be included in
18
+ * all copies or substantial portions of the Software.
19
+ *
20
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
26
+ * THE SOFTWARE.
27
+ */
28
+ var ht = (
29
+ /** @class */
30
+ function() {
31
+ function e(o) {
32
+ o === void 0 && (o = {}), this.adapter = o;
33
+ }
34
+ return Object.defineProperty(e, "cssClasses", {
35
+ get: function() {
36
+ return {};
37
+ },
38
+ enumerable: !1,
39
+ configurable: !0
40
+ }), Object.defineProperty(e, "strings", {
41
+ get: function() {
42
+ return {};
43
+ },
44
+ enumerable: !1,
45
+ configurable: !0
46
+ }), Object.defineProperty(e, "numbers", {
47
+ get: function() {
48
+ return {};
49
+ },
50
+ enumerable: !1,
51
+ configurable: !0
52
+ }), Object.defineProperty(e, "defaultAdapter", {
53
+ get: function() {
54
+ return {};
55
+ },
56
+ enumerable: !1,
57
+ configurable: !0
58
+ }), e.prototype.init = function() {
59
+ }, e.prototype.destroy = function() {
60
+ }, e;
61
+ }()
62
+ );
7
63
  /**
8
64
  * @license
9
65
  * Copyright 2020 Google Inc.
@@ -26,62 +82,67 @@ import { M as lt } from "./foundation-2334d146.mjs";
26
82
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
27
83
  * THE SOFTWARE.
28
84
  */
29
- var x;
30
- (function(i) {
31
- i.RICH = "mdc-tooltip--rich", i.SHOWN = "mdc-tooltip--shown", i.SHOWING = "mdc-tooltip--showing", i.SHOWING_TRANSITION = "mdc-tooltip--showing-transition", i.HIDE = "mdc-tooltip--hide", i.HIDE_TRANSITION = "mdc-tooltip--hide-transition", i.MULTILINE_TOOLTIP = "mdc-tooltip--multiline", i.SURFACE = "mdc-tooltip__surface", i.SURFACE_ANIMATION = "mdc-tooltip__surface-animation", i.TOOLTIP_CARET_TOP = "mdc-tooltip__caret-surface-top", i.TOOLTIP_CARET_BOTTOM = "mdc-tooltip__caret-surface-bottom";
32
- })(x || (x = {}));
33
- var O = {
85
+ var H;
86
+ (function(e) {
87
+ e.RICH = "mdc-tooltip--rich", e.SHOWN = "mdc-tooltip--shown", e.SHOWING = "mdc-tooltip--showing", e.SHOWING_TRANSITION = "mdc-tooltip--showing-transition", e.HIDE = "mdc-tooltip--hide", e.HIDE_TRANSITION = "mdc-tooltip--hide-transition", e.MULTILINE_TOOLTIP = "mdc-tooltip--multiline", e.SURFACE = "mdc-tooltip__surface", e.SURFACE_ANIMATION = "mdc-tooltip__surface-animation", e.TOOLTIP_CARET_TOP = "mdc-tooltip__caret-surface-top", e.TOOLTIP_CARET_BOTTOM = "mdc-tooltip__caret-surface-bottom";
88
+ })(H || (H = {}));
89
+ var _ = {
34
90
  BOUNDED_ANCHOR_GAP: 4,
35
91
  UNBOUNDED_ANCHOR_GAP: 8,
36
92
  MIN_VIEWPORT_TOOLTIP_THRESHOLD: 8,
37
93
  HIDE_DELAY_MS: 600,
38
94
  SHOW_DELAY_MS: 500,
39
95
  // LINT.IfChange(tooltip-dimensions)
96
+ MIN_WIDTH: 40,
40
97
  MIN_HEIGHT: 24,
41
98
  MAX_WIDTH: 200,
42
99
  // LINT.ThenChange(_tooltip.scss:tooltip-dimensions)
43
100
  CARET_INDENTATION: 24,
44
101
  // LINT.IfChange(tooltip-anim-scale)
45
- ANIMATION_SCALE: 0.8
102
+ ANIMATION_SCALE: 0.8,
46
103
  // LINT.ThenChange(_tooltip.scss:tooltip-anim-scale)
47
- }, G = {
104
+ // LINT.IfChange(rich-tooltip-dimensions)
105
+ RICH_MAX_WIDTH: 320
106
+ // LINT.ThenChange(_tooltip.scss:rich-tooltip-dimensions)
107
+ }, U = {
48
108
  ARIA_EXPANDED: "aria-expanded",
49
109
  ARIA_HASPOPUP: "aria-haspopup",
50
110
  PERSISTENT: "data-mdc-tooltip-persistent",
51
111
  SCROLLABLE_ANCESTOR: "tooltip-scrollable-ancestor",
52
112
  HAS_CARET: "data-mdc-tooltip-has-caret"
53
- }, dt = {
54
- HIDDEN: "MDCTooltip:hidden"
55
- }, P;
56
- (function(i) {
57
- i[i.DETECTED = 0] = "DETECTED", i[i.START = 1] = "START", i[i.CENTER = 2] = "CENTER", i[i.END = 3] = "END";
58
- })(P || (P = {}));
59
- var F;
60
- (function(i) {
61
- i[i.DETECTED = 0] = "DETECTED", i[i.ABOVE = 1] = "ABOVE", i[i.BELOW = 2] = "BELOW";
62
- })(F || (F = {}));
63
- var j;
64
- (function(i) {
65
- i[i.BOUNDED = 0] = "BOUNDED", i[i.UNBOUNDED = 1] = "UNBOUNDED";
66
- })(j || (j = {}));
67
- var d = {
113
+ }, tt = {
114
+ HIDDEN: "MDCTooltip:hidden",
115
+ SHOWN: "MDCTooltip:shown"
116
+ }, x;
117
+ (function(e) {
118
+ e[e.DETECTED = 0] = "DETECTED", e[e.START = 1] = "START", e[e.CENTER = 2] = "CENTER", e[e.END = 3] = "END", e[e.SIDE_START = 4] = "SIDE_START", e[e.SIDE_END = 5] = "SIDE_END";
119
+ })(x || (x = {}));
120
+ var B;
121
+ (function(e) {
122
+ e[e.DETECTED = 0] = "DETECTED", e[e.ABOVE = 1] = "ABOVE", e[e.BELOW = 2] = "BELOW", e[e.SIDE = 3] = "SIDE";
123
+ })(B || (B = {}));
124
+ var q;
125
+ (function(e) {
126
+ e[e.BOUNDED = 0] = "BOUNDED", e[e.UNBOUNDED = 1] = "UNBOUNDED";
127
+ })(q || (q = {}));
128
+ var c = {
68
129
  LEFT: "left",
69
130
  RIGHT: "right",
70
131
  CENTER: "center",
71
132
  TOP: "top",
72
133
  BOTTOM: "bottom"
73
- }, h;
74
- (function(i) {
75
- i[i.DETECTED = 0] = "DETECTED", i[i.ABOVE_START = 1] = "ABOVE_START", i[i.ABOVE_CENTER = 2] = "ABOVE_CENTER", i[i.ABOVE_END = 3] = "ABOVE_END", i[i.TOP_SIDE_START = 4] = "TOP_SIDE_START", i[i.CENTER_SIDE_START = 5] = "CENTER_SIDE_START", i[i.BOTTOM_SIDE_START = 6] = "BOTTOM_SIDE_START", i[i.TOP_SIDE_END = 7] = "TOP_SIDE_END", i[i.CENTER_SIDE_END = 8] = "CENTER_SIDE_END", i[i.BOTTOM_SIDE_END = 9] = "BOTTOM_SIDE_END", i[i.BELOW_START = 10] = "BELOW_START", i[i.BELOW_CENTER = 11] = "BELOW_CENTER", i[i.BELOW_END = 12] = "BELOW_END";
76
- })(h || (h = {}));
77
- var _;
78
- (function(i) {
79
- i[i.ABOVE = 1] = "ABOVE", i[i.BELOW = 2] = "BELOW", i[i.SIDE_TOP = 3] = "SIDE_TOP", i[i.SIDE_CENTER = 4] = "SIDE_CENTER", i[i.SIDE_BOTTOM = 5] = "SIDE_BOTTOM";
80
- })(_ || (_ = {}));
81
- var T;
82
- (function(i) {
83
- i[i.START = 1] = "START", i[i.CENTER = 2] = "CENTER", i[i.END = 3] = "END", i[i.SIDE_START = 4] = "SIDE_START", i[i.SIDE_END = 5] = "SIDE_END";
84
- })(T || (T = {}));
134
+ }, p;
135
+ (function(e) {
136
+ e[e.DETECTED = 0] = "DETECTED", e[e.ABOVE_START = 1] = "ABOVE_START", e[e.ABOVE_CENTER = 2] = "ABOVE_CENTER", e[e.ABOVE_END = 3] = "ABOVE_END", e[e.TOP_SIDE_START = 4] = "TOP_SIDE_START", e[e.CENTER_SIDE_START = 5] = "CENTER_SIDE_START", e[e.BOTTOM_SIDE_START = 6] = "BOTTOM_SIDE_START", e[e.TOP_SIDE_END = 7] = "TOP_SIDE_END", e[e.CENTER_SIDE_END = 8] = "CENTER_SIDE_END", e[e.BOTTOM_SIDE_END = 9] = "BOTTOM_SIDE_END", e[e.BELOW_START = 10] = "BELOW_START", e[e.BELOW_CENTER = 11] = "BELOW_CENTER", e[e.BELOW_END = 12] = "BELOW_END";
137
+ })(p || (p = {}));
138
+ var O;
139
+ (function(e) {
140
+ e[e.ABOVE = 1] = "ABOVE", e[e.BELOW = 2] = "BELOW", e[e.SIDE_TOP = 3] = "SIDE_TOP", e[e.SIDE_CENTER = 4] = "SIDE_CENTER", e[e.SIDE_BOTTOM = 5] = "SIDE_BOTTOM";
141
+ })(O || (O = {}));
142
+ var f;
143
+ (function(e) {
144
+ e[e.START = 1] = "START", e[e.CENTER = 2] = "CENTER", e[e.END = 3] = "END", e[e.SIDE_START = 4] = "SIDE_START", e[e.SIDE_END = 5] = "SIDE_END";
145
+ })(f || (f = {}));
85
146
  /**
86
147
  * @license
87
148
  * Copyright 2020 Google Inc.
@@ -104,33 +165,33 @@ var T;
104
165
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
105
166
  * THE SOFTWARE.
106
167
  */
107
- var ct = (
168
+ var pt = (
108
169
  /** @class */
109
170
  function() {
110
- function i() {
171
+ function e() {
111
172
  this.rafIDs = /* @__PURE__ */ new Map();
112
173
  }
113
- return i.prototype.request = function(o, t) {
174
+ return e.prototype.request = function(o, t) {
114
175
  var r = this;
115
176
  this.cancel(o);
116
- var e = requestAnimationFrame(function(n) {
177
+ var i = requestAnimationFrame(function(n) {
117
178
  r.rafIDs.delete(o), t(n);
118
179
  });
119
- this.rafIDs.set(o, e);
120
- }, i.prototype.cancel = function(o) {
180
+ this.rafIDs.set(o, i);
181
+ }, e.prototype.cancel = function(o) {
121
182
  var t = this.rafIDs.get(o);
122
183
  t && (cancelAnimationFrame(t), this.rafIDs.delete(o));
123
- }, i.prototype.cancelAll = function() {
184
+ }, e.prototype.cancelAll = function() {
124
185
  var o = this;
125
186
  this.rafIDs.forEach(function(t, r) {
126
187
  o.cancel(r);
127
188
  });
128
- }, i.prototype.getQueue = function() {
189
+ }, e.prototype.getQueue = function() {
129
190
  var o = [];
130
191
  return this.rafIDs.forEach(function(t, r) {
131
192
  o.push(r);
132
193
  }), o;
133
- }, i;
194
+ }, e;
134
195
  }()
135
196
  );
136
197
  /**
@@ -155,7 +216,7 @@ var ct = (
155
216
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
156
217
  * THE SOFTWARE.
157
218
  */
158
- var Z = {
219
+ var et = {
159
220
  animation: {
160
221
  prefixed: "-webkit-animation",
161
222
  standard: "animation"
@@ -169,13 +230,13 @@ var Z = {
169
230
  standard: "transition"
170
231
  }
171
232
  };
172
- function ht(i) {
173
- return Boolean(i.document) && typeof i.document.createElement == "function";
233
+ function ut(e) {
234
+ return !!e.document && typeof e.document.createElement == "function";
174
235
  }
175
- function X(i, o) {
176
- if (ht(i) && o in Z) {
177
- var t = i.document.createElement("div"), r = Z[o], e = r.standard, n = r.prefixed, a = e in t.style;
178
- return a ? e : n;
236
+ function it(e, o) {
237
+ if (ut(e) && o in et) {
238
+ var t = e.document.createElement("div"), r = et[o], i = r.standard, n = r.prefixed, a = i in t.style;
239
+ return a ? i : n;
179
240
  }
180
241
  return o;
181
242
  }
@@ -201,7 +262,7 @@ function X(i, o) {
201
262
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
202
263
  * THE SOFTWARE.
203
264
  */
204
- var p = {
265
+ var u = {
205
266
  UNKNOWN: "Unknown",
206
267
  BACKSPACE: "Backspace",
207
268
  ENTER: "Enter",
@@ -218,21 +279,21 @@ var p = {
218
279
  ESCAPE: "Escape",
219
280
  TAB: "Tab"
220
281
  }, D = /* @__PURE__ */ new Set();
221
- D.add(p.BACKSPACE);
222
- D.add(p.ENTER);
223
- D.add(p.SPACEBAR);
224
- D.add(p.PAGE_UP);
225
- D.add(p.PAGE_DOWN);
226
- D.add(p.END);
227
- D.add(p.HOME);
228
- D.add(p.ARROW_LEFT);
229
- D.add(p.ARROW_UP);
230
- D.add(p.ARROW_RIGHT);
231
- D.add(p.ARROW_DOWN);
232
- D.add(p.DELETE);
233
- D.add(p.ESCAPE);
234
- D.add(p.TAB);
235
- var R = {
282
+ D.add(u.BACKSPACE);
283
+ D.add(u.ENTER);
284
+ D.add(u.SPACEBAR);
285
+ D.add(u.PAGE_UP);
286
+ D.add(u.PAGE_DOWN);
287
+ D.add(u.END);
288
+ D.add(u.HOME);
289
+ D.add(u.ARROW_LEFT);
290
+ D.add(u.ARROW_UP);
291
+ D.add(u.ARROW_RIGHT);
292
+ D.add(u.ARROW_DOWN);
293
+ D.add(u.DELETE);
294
+ D.add(u.ESCAPE);
295
+ D.add(u.TAB);
296
+ var S = {
236
297
  BACKSPACE: 8,
237
298
  ENTER: 13,
238
299
  SPACEBAR: 32,
@@ -248,35 +309,35 @@ var R = {
248
309
  ESCAPE: 27,
249
310
  TAB: 9
250
311
  }, w = /* @__PURE__ */ new Map();
251
- w.set(R.BACKSPACE, p.BACKSPACE);
252
- w.set(R.ENTER, p.ENTER);
253
- w.set(R.SPACEBAR, p.SPACEBAR);
254
- w.set(R.PAGE_UP, p.PAGE_UP);
255
- w.set(R.PAGE_DOWN, p.PAGE_DOWN);
256
- w.set(R.END, p.END);
257
- w.set(R.HOME, p.HOME);
258
- w.set(R.ARROW_LEFT, p.ARROW_LEFT);
259
- w.set(R.ARROW_UP, p.ARROW_UP);
260
- w.set(R.ARROW_RIGHT, p.ARROW_RIGHT);
261
- w.set(R.ARROW_DOWN, p.ARROW_DOWN);
262
- w.set(R.DELETE, p.DELETE);
263
- w.set(R.ESCAPE, p.ESCAPE);
264
- w.set(R.TAB, p.TAB);
265
- var I = /* @__PURE__ */ new Set();
266
- I.add(p.PAGE_UP);
267
- I.add(p.PAGE_DOWN);
268
- I.add(p.END);
269
- I.add(p.HOME);
270
- I.add(p.ARROW_LEFT);
271
- I.add(p.ARROW_UP);
272
- I.add(p.ARROW_RIGHT);
273
- I.add(p.ARROW_DOWN);
274
- function pt(i) {
275
- var o = i.key;
312
+ w.set(S.BACKSPACE, u.BACKSPACE);
313
+ w.set(S.ENTER, u.ENTER);
314
+ w.set(S.SPACEBAR, u.SPACEBAR);
315
+ w.set(S.PAGE_UP, u.PAGE_UP);
316
+ w.set(S.PAGE_DOWN, u.PAGE_DOWN);
317
+ w.set(S.END, u.END);
318
+ w.set(S.HOME, u.HOME);
319
+ w.set(S.ARROW_LEFT, u.ARROW_LEFT);
320
+ w.set(S.ARROW_UP, u.ARROW_UP);
321
+ w.set(S.ARROW_RIGHT, u.ARROW_RIGHT);
322
+ w.set(S.ARROW_DOWN, u.ARROW_DOWN);
323
+ w.set(S.DELETE, u.DELETE);
324
+ w.set(S.ESCAPE, u.ESCAPE);
325
+ w.set(S.TAB, u.TAB);
326
+ var P = /* @__PURE__ */ new Set();
327
+ P.add(u.PAGE_UP);
328
+ P.add(u.PAGE_DOWN);
329
+ P.add(u.END);
330
+ P.add(u.HOME);
331
+ P.add(u.ARROW_LEFT);
332
+ P.add(u.ARROW_UP);
333
+ P.add(u.ARROW_RIGHT);
334
+ P.add(u.ARROW_DOWN);
335
+ function ft(e) {
336
+ var o = e.key;
276
337
  if (D.has(o))
277
338
  return o;
278
- var t = w.get(i.keyCode);
279
- return t || p.UNKNOWN;
339
+ var t = w.get(e.keyCode);
340
+ return t || u.UNKNOWN;
280
341
  }
281
342
  /**
282
343
  * @license
@@ -300,28 +361,28 @@ function pt(i) {
300
361
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
301
362
  * THE SOFTWARE.
302
363
  */
303
- var ut = x.RICH, $ = x.SHOWN, q = x.SHOWING, U = x.SHOWING_TRANSITION, V = x.HIDE, z = x.HIDE_TRANSITION, Tt = x.MULTILINE_TOOLTIP, Q;
304
- (function(i) {
305
- i.POLL_ANCHOR = "poll_anchor";
364
+ var mt = H.RICH, $ = H.SHOWN, j = H.SHOWING, z = H.SHOWING_TRANSITION, k = H.HIDE, K = H.HIDE_TRANSITION, Tt = H.MULTILINE_TOOLTIP, Q;
365
+ (function(e) {
366
+ e.POLL_ANCHOR = "poll_anchor";
306
367
  })(Q || (Q = {}));
307
- var tt = typeof window < "u", mt = (
368
+ var rt = typeof window < "u", Et = (
308
369
  /** @class */
309
- function(i) {
310
- st(o, i);
370
+ function(e) {
371
+ ct(o, e);
311
372
  function o(t) {
312
- var r = i.call(this, J(J({}, o.defaultAdapter), t)) || this;
313
- return r.tooltipShown = !1, r.anchorGap = O.BOUNDED_ANCHOR_GAP, r.xTooltipPos = P.DETECTED, r.yTooltipPos = F.DETECTED, r.tooltipPositionWithCaret = h.DETECTED, r.minViewportTooltipThreshold = O.MIN_VIEWPORT_TOOLTIP_THRESHOLD, r.hideDelayMs = O.HIDE_DELAY_MS, r.showDelayMs = O.SHOW_DELAY_MS, r.anchorRect = null, r.parentRect = null, r.frameId = null, r.hideTimeout = null, r.showTimeout = null, r.addAncestorScrollEventListeners = new Array(), r.removeAncestorScrollEventListeners = new Array(), r.animFrame = new ct(), r.anchorBlurHandler = function(e) {
314
- r.handleAnchorBlur(e);
315
- }, r.documentClickHandler = function(e) {
316
- r.handleDocumentClick(e);
317
- }, r.documentKeydownHandler = function(e) {
318
- r.handleKeydown(e);
373
+ var r = e.call(this, J(J({}, o.defaultAdapter), t)) || this;
374
+ return r.tooltipShown = !1, r.anchorGap = _.BOUNDED_ANCHOR_GAP, r.xTooltipPos = x.DETECTED, r.yTooltipPos = B.DETECTED, r.tooltipPositionWithCaret = p.DETECTED, r.minViewportTooltipThreshold = _.MIN_VIEWPORT_TOOLTIP_THRESHOLD, r.hideDelayMs = _.HIDE_DELAY_MS, r.showDelayMs = _.SHOW_DELAY_MS, r.anchorRect = null, r.parentRect = null, r.frameId = null, r.hideTimeout = null, r.showTimeout = null, r.addAncestorScrollEventListeners = new Array(), r.removeAncestorScrollEventListeners = new Array(), r.animFrame = new pt(), r.anchorBlurHandler = function(i) {
375
+ r.handleAnchorBlur(i);
376
+ }, r.documentClickHandler = function(i) {
377
+ r.handleDocumentClick(i);
378
+ }, r.documentKeydownHandler = function(i) {
379
+ r.handleKeydown(i);
319
380
  }, r.tooltipMouseEnterHandler = function() {
320
381
  r.handleTooltipMouseEnter();
321
382
  }, r.tooltipMouseLeaveHandler = function() {
322
383
  r.handleTooltipMouseLeave();
323
- }, r.richTooltipFocusOutHandler = function(e) {
324
- r.handleRichTooltipFocusOut(e);
384
+ }, r.richTooltipFocusOutHandler = function(i) {
385
+ r.handleRichTooltipFocusOut(i);
325
386
  }, r.windowScrollHandler = function() {
326
387
  r.handleWindowScrollEvent();
327
388
  }, r.windowResizeHandler = function() {
@@ -402,6 +463,8 @@ var tt = typeof window < "u", mt = (
402
463
  },
403
464
  notifyHidden: function() {
404
465
  },
466
+ notifyShown: function() {
467
+ },
405
468
  getTooltipCaretBoundingRect: function() {
406
469
  return { top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 };
407
470
  },
@@ -411,13 +474,16 @@ var tt = typeof window < "u", mt = (
411
474
  },
412
475
  getActiveElement: function() {
413
476
  return null;
477
+ },
478
+ isInstanceOfElement: function() {
479
+ return !1;
414
480
  }
415
481
  };
416
482
  },
417
483
  enumerable: !1,
418
484
  configurable: !0
419
485
  }), o.prototype.init = function() {
420
- this.richTooltip = this.adapter.hasClass(ut), this.persistentTooltip = this.adapter.getAttribute(G.PERSISTENT) === "true", this.interactiveTooltip = !!this.adapter.getAnchorAttribute(G.ARIA_EXPANDED) && this.adapter.getAnchorAttribute(G.ARIA_HASPOPUP) === "dialog", this.hasCaret = this.richTooltip && this.adapter.getAttribute(G.HAS_CARET) === "true";
486
+ this.richTooltip = this.adapter.hasClass(mt), this.persistentTooltip = this.adapter.getAttribute(U.PERSISTENT) === "true", this.interactiveTooltip = !!this.adapter.getAnchorAttribute(U.ARIA_EXPANDED) && this.adapter.getAnchorAttribute(U.ARIA_HASPOPUP) === "dialog", this.hasCaret = this.richTooltip && this.adapter.getAttribute(U.HAS_CARET) === "true";
421
487
  }, o.prototype.isShown = function() {
422
488
  return this.tooltipShown;
423
489
  }, o.prototype.isRich = function() {
@@ -436,11 +502,15 @@ var tt = typeof window < "u", mt = (
436
502
  }, this.showDelayMs), this.adapter.registerWindowEventHandler("contextmenu", this.preventContextMenuOnLongTouch);
437
503
  }, o.prototype.preventContextMenuOnLongTouch = function(t) {
438
504
  t.preventDefault();
505
+ }, o.prototype.tooltipContainsRelatedTargetElement = function(t) {
506
+ return this.adapter.isInstanceOfElement(t) && this.adapter.tooltipContainsElement(t);
507
+ }, o.prototype.anchorOrTooltipContainsTargetElement = function(t) {
508
+ return this.adapter.isInstanceOfElement(t) && (this.adapter.tooltipContainsElement(t) || this.adapter.anchorContainsElement(t));
439
509
  }, o.prototype.handleAnchorTouchend = function() {
440
510
  this.clearShowTimeout(), this.isShown() || this.adapter.deregisterWindowEventHandler("contextmenu", this.preventContextMenuOnLongTouch);
441
511
  }, o.prototype.handleAnchorFocus = function(t) {
442
- var r = this, e = t.relatedTarget, n = e instanceof HTMLElement && this.adapter.tooltipContainsElement(e);
443
- n || (this.showTimeout = setTimeout(function() {
512
+ var r = this;
513
+ this.tooltipContainsRelatedTargetElement(t.relatedTarget) || (this.showTimeout = setTimeout(function() {
444
514
  r.show();
445
515
  }, this.showDelayMs));
446
516
  }, o.prototype.handleAnchorMouseLeave = function() {
@@ -451,21 +521,16 @@ var tt = typeof window < "u", mt = (
451
521
  }, o.prototype.handleAnchorClick = function() {
452
522
  this.tooltipShown ? this.hide() : this.show();
453
523
  }, o.prototype.handleDocumentClick = function(t) {
454
- var r = t.target instanceof HTMLElement && (this.adapter.anchorContainsElement(t.target) || this.adapter.tooltipContainsElement(t.target));
455
- this.richTooltip && this.persistentTooltip && r || this.hide();
524
+ this.richTooltip && this.persistentTooltip && this.anchorOrTooltipContainsTargetElement(t.target) || this.hide();
456
525
  }, o.prototype.handleKeydown = function(t) {
457
- var r = pt(t);
458
- if (r === p.ESCAPE) {
459
- var e = this.adapter.getActiveElement(), n = e instanceof HTMLElement && this.adapter.tooltipContainsElement(e);
460
- n && this.adapter.focusAnchorElement(), this.hide();
526
+ var r = ft(t);
527
+ if (r === u.ESCAPE) {
528
+ var i = this.adapter.getActiveElement(), n = !1;
529
+ return this.adapter.isInstanceOfElement(i) && (n = this.adapter.tooltipContainsElement(i)), n && this.adapter.focusAnchorElement(), this.hide(), t.stopPropagation(), !1;
461
530
  }
531
+ return !0;
462
532
  }, o.prototype.handleAnchorBlur = function(t) {
463
- if (this.richTooltip) {
464
- var r = t.relatedTarget instanceof HTMLElement && this.adapter.tooltipContainsElement(t.relatedTarget);
465
- if (r || t.relatedTarget === null && this.interactiveTooltip)
466
- return;
467
- }
468
- this.hide();
533
+ this.richTooltip && (t.relatedTarget === null || this.tooltipContainsRelatedTargetElement(t.relatedTarget)) || this.hide();
469
534
  }, o.prototype.handleTooltipMouseEnter = function() {
470
535
  this.show();
471
536
  }, o.prototype.handleTooltipMouseLeave = function() {
@@ -474,30 +539,25 @@ var tt = typeof window < "u", mt = (
474
539
  t.hide();
475
540
  }, this.hideDelayMs);
476
541
  }, o.prototype.handleRichTooltipFocusOut = function(t) {
477
- var r = t.relatedTarget instanceof HTMLElement && (this.adapter.anchorContainsElement(t.relatedTarget) || this.adapter.tooltipContainsElement(t.relatedTarget));
478
- r || t.relatedTarget === null && this.interactiveTooltip || this.hide();
542
+ this.anchorOrTooltipContainsTargetElement(t.relatedTarget) || t.relatedTarget === null && this.interactiveTooltip || this.hide();
479
543
  }, o.prototype.handleWindowScrollEvent = function() {
480
- if (this.persistentTooltip) {
481
- this.handleWindowChangeEvent();
482
- return;
483
- }
484
- this.hide();
544
+ this.persistentTooltip || this.hide();
485
545
  }, o.prototype.handleWindowChangeEvent = function() {
486
546
  var t = this;
487
547
  this.animFrame.request(Q.POLL_ANCHOR, function() {
488
548
  t.repositionTooltipOnAnchorMove();
489
549
  });
490
550
  }, o.prototype.show = function() {
491
- var t, r, e = this;
551
+ var t, r, i = this;
492
552
  if (this.clearHideTimeout(), this.clearShowTimeout(), !this.tooltipShown) {
493
- this.tooltipShown = !0, this.adapter.removeAttribute("aria-hidden"), this.richTooltip && (this.interactiveTooltip && this.adapter.setAnchorAttribute("aria-expanded", "true"), this.adapter.registerEventHandler("focusout", this.richTooltipFocusOutHandler)), this.persistentTooltip || (this.adapter.registerEventHandler("mouseenter", this.tooltipMouseEnterHandler), this.adapter.registerEventHandler("mouseleave", this.tooltipMouseLeaveHandler)), this.adapter.removeClass(V), this.adapter.addClass(q), this.isTooltipMultiline() && !this.richTooltip && this.adapter.addClass(Tt), this.anchorRect = this.adapter.getAnchorBoundingRect(), this.parentRect = this.adapter.getParentBoundingRect(), this.richTooltip ? this.positionRichTooltip() : this.positionPlainTooltip(), this.adapter.registerAnchorEventHandler("blur", this.anchorBlurHandler), this.adapter.registerDocumentEventHandler("click", this.documentClickHandler), this.adapter.registerDocumentEventHandler("keydown", this.documentKeydownHandler), this.adapter.registerWindowEventHandler("scroll", this.windowScrollHandler), this.adapter.registerWindowEventHandler("resize", this.windowResizeHandler);
553
+ this.tooltipShown = !0, this.adapter.removeAttribute("aria-hidden"), this.richTooltip && (this.interactiveTooltip && this.adapter.setAnchorAttribute("aria-expanded", "true"), this.adapter.registerEventHandler("focusout", this.richTooltipFocusOutHandler)), this.persistentTooltip || (this.adapter.registerEventHandler("mouseenter", this.tooltipMouseEnterHandler), this.adapter.registerEventHandler("mouseleave", this.tooltipMouseLeaveHandler)), this.adapter.removeClass(k), this.adapter.addClass(j), this.isTooltipMultiline() && !this.richTooltip && this.adapter.addClass(Tt), this.anchorRect = this.adapter.getAnchorBoundingRect(), this.parentRect = this.adapter.getParentBoundingRect(), this.richTooltip ? this.positionRichTooltip() : this.positionPlainTooltip(), this.adapter.registerAnchorEventHandler("blur", this.anchorBlurHandler), this.adapter.registerDocumentEventHandler("click", this.documentClickHandler), this.adapter.registerDocumentEventHandler("keydown", this.documentKeydownHandler), this.adapter.registerWindowEventHandler("scroll", this.windowScrollHandler), this.adapter.registerWindowEventHandler("resize", this.windowResizeHandler);
494
554
  try {
495
- for (var n = H(this.addAncestorScrollEventListeners), a = n.next(); !a.done; a = n.next()) {
496
- var c = a.value;
497
- c();
555
+ for (var n = I(this.addAncestorScrollEventListeners), a = n.next(); !a.done; a = n.next()) {
556
+ var d = a.value;
557
+ d();
498
558
  }
499
- } catch (u) {
500
- t = { error: u };
559
+ } catch (h) {
560
+ t = { error: h };
501
561
  } finally {
502
562
  try {
503
563
  a && !a.done && (r = n.return) && r.call(n);
@@ -507,23 +567,23 @@ var tt = typeof window < "u", mt = (
507
567
  }
508
568
  }
509
569
  this.frameId = requestAnimationFrame(function() {
510
- e.clearAllAnimationClasses(), e.adapter.addClass($), e.adapter.addClass(U);
570
+ i.clearAllAnimationClasses(), i.adapter.addClass($), i.adapter.addClass(z);
511
571
  });
512
572
  }
513
573
  }, o.prototype.hide = function() {
514
574
  var t, r;
515
575
  if (this.clearHideTimeout(), this.clearShowTimeout(), !!this.tooltipShown) {
516
- this.frameId && cancelAnimationFrame(this.frameId), this.tooltipShown = !1, this.adapter.setAttribute("aria-hidden", "true"), this.adapter.deregisterEventHandler("focusout", this.richTooltipFocusOutHandler), this.richTooltip && this.interactiveTooltip && this.adapter.setAnchorAttribute("aria-expanded", "false"), this.persistentTooltip || (this.adapter.deregisterEventHandler("mouseenter", this.tooltipMouseEnterHandler), this.adapter.deregisterEventHandler("mouseleave", this.tooltipMouseLeaveHandler)), this.clearAllAnimationClasses(), this.adapter.addClass(V), this.adapter.addClass(z), this.adapter.removeClass($), this.adapter.deregisterAnchorEventHandler("blur", this.anchorBlurHandler), this.adapter.deregisterDocumentEventHandler("click", this.documentClickHandler), this.adapter.deregisterDocumentEventHandler("keydown", this.documentKeydownHandler), this.adapter.deregisterWindowEventHandler("scroll", this.windowScrollHandler), this.adapter.deregisterWindowEventHandler("resize", this.windowResizeHandler), this.adapter.deregisterWindowEventHandler("contextmenu", this.preventContextMenuOnLongTouch);
576
+ this.frameId && cancelAnimationFrame(this.frameId), this.tooltipShown = !1, this.adapter.setAttribute("aria-hidden", "true"), this.adapter.deregisterEventHandler("focusout", this.richTooltipFocusOutHandler), this.richTooltip && this.interactiveTooltip && this.adapter.setAnchorAttribute("aria-expanded", "false"), this.persistentTooltip || (this.adapter.deregisterEventHandler("mouseenter", this.tooltipMouseEnterHandler), this.adapter.deregisterEventHandler("mouseleave", this.tooltipMouseLeaveHandler)), this.clearAllAnimationClasses(), this.adapter.addClass(k), this.adapter.addClass(K), this.adapter.removeClass($), this.adapter.deregisterAnchorEventHandler("blur", this.anchorBlurHandler), this.adapter.deregisterDocumentEventHandler("click", this.documentClickHandler), this.adapter.deregisterDocumentEventHandler("keydown", this.documentKeydownHandler), this.adapter.deregisterWindowEventHandler("scroll", this.windowScrollHandler), this.adapter.deregisterWindowEventHandler("resize", this.windowResizeHandler), this.adapter.deregisterWindowEventHandler("contextmenu", this.preventContextMenuOnLongTouch);
517
577
  try {
518
- for (var e = H(this.removeAncestorScrollEventListeners), n = e.next(); !n.done; n = e.next()) {
578
+ for (var i = I(this.removeAncestorScrollEventListeners), n = i.next(); !n.done; n = i.next()) {
519
579
  var a = n.value;
520
580
  a();
521
581
  }
522
- } catch (c) {
523
- t = { error: c };
582
+ } catch (d) {
583
+ t = { error: d };
524
584
  } finally {
525
585
  try {
526
- n && !n.done && (r = e.return) && r.call(e);
586
+ n && !n.done && (r = i.return) && r.call(i);
527
587
  } finally {
528
588
  if (t)
529
589
  throw t.error;
@@ -531,200 +591,233 @@ var tt = typeof window < "u", mt = (
531
591
  }
532
592
  }
533
593
  }, o.prototype.handleTransitionEnd = function() {
534
- var t = this.adapter.hasClass(V);
535
- this.adapter.removeClass(q), this.adapter.removeClass(U), this.adapter.removeClass(V), this.adapter.removeClass(z), t && this.showTimeout === null && this.adapter.notifyHidden();
594
+ var t = this.adapter.hasClass(k);
595
+ this.adapter.removeClass(j), this.adapter.removeClass(z), this.adapter.removeClass(k), this.adapter.removeClass(K), t && this.showTimeout === null ? this.adapter.notifyHidden() : t || this.adapter.notifyShown();
536
596
  }, o.prototype.clearAllAnimationClasses = function() {
537
- this.adapter.removeClass(U), this.adapter.removeClass(z);
597
+ this.adapter.removeClass(z), this.adapter.removeClass(K);
538
598
  }, o.prototype.setTooltipPosition = function(t) {
539
- var r = t.xPos, e = t.yPos, n = t.withCaretPos;
599
+ var r = t.xPos, i = t.yPos, n = t.withCaretPos;
540
600
  if (this.hasCaret && n) {
541
601
  this.tooltipPositionWithCaret = n;
542
602
  return;
543
603
  }
544
- r && (this.xTooltipPos = r), e && (this.yTooltipPos = e);
604
+ r && (this.xTooltipPos = r), i && (this.yTooltipPos = i);
545
605
  }, o.prototype.setAnchorBoundaryType = function(t) {
546
- t === j.UNBOUNDED ? this.anchorGap = O.UNBOUNDED_ANCHOR_GAP : this.anchorGap = O.BOUNDED_ANCHOR_GAP;
606
+ t === q.UNBOUNDED ? this.anchorGap = _.UNBOUNDED_ANCHOR_GAP : this.anchorGap = _.BOUNDED_ANCHOR_GAP;
547
607
  }, o.prototype.setShowDelay = function(t) {
548
608
  this.showDelayMs = t;
549
609
  }, o.prototype.setHideDelay = function(t) {
550
610
  this.hideDelayMs = t;
551
611
  }, o.prototype.isTooltipMultiline = function() {
552
612
  var t = this.adapter.getTooltipSize();
553
- return t.height > O.MIN_HEIGHT && t.width >= O.MAX_WIDTH;
613
+ return t.height > _.MIN_HEIGHT && t.width >= _.MAX_WIDTH;
554
614
  }, o.prototype.positionPlainTooltip = function() {
555
- var t = this.calculateTooltipStyles(this.anchorRect), r = t.top, e = t.yTransformOrigin, n = t.left, a = t.xTransformOrigin, c = tt ? X(window, "transform") : "transform";
556
- this.adapter.setSurfaceAnimationStyleProperty(c + "-origin", a + " " + e), this.adapter.setStyleProperty("top", r + "px"), this.adapter.setStyleProperty("left", n + "px");
615
+ var t = this.calculateTooltipStyles(this.anchorRect), r = t.top, i = t.yTransformOrigin, n = t.left, a = t.xTransformOrigin, d = rt ? it(window, "transform") : "transform";
616
+ this.adapter.setSurfaceAnimationStyleProperty(d + "-origin", a + " " + i), this.adapter.setStyleProperty("top", r + "px"), this.adapter.setStyleProperty("left", n + "px");
557
617
  }, o.prototype.positionRichTooltip = function() {
558
- var t, r, e, n, a = this.adapter.getComputedStyleProperty("width");
559
- this.adapter.setStyleProperty("width", a);
560
- var c = this.hasCaret ? this.calculateTooltipWithCaretStyles(this.anchorRect) : this.calculateTooltipStyles(this.anchorRect), u = c.top, s = c.yTransformOrigin, l = c.left, g = c.xTransformOrigin, A = tt ? X(window, "transform") : "transform";
561
- this.adapter.setSurfaceAnimationStyleProperty(A + "-origin", g + " " + s);
562
- var E = l - ((r = (t = this.parentRect) === null || t === void 0 ? void 0 : t.left) !== null && r !== void 0 ? r : 0), f = u - ((n = (e = this.parentRect) === null || e === void 0 ? void 0 : e.top) !== null && n !== void 0 ? n : 0);
563
- this.adapter.setStyleProperty("top", f + "px"), this.adapter.setStyleProperty("left", E + "px");
618
+ var t, r, i, n;
619
+ this.adapter.setStyleProperty("width", ""), this.adapter.setStyleProperty("left", "-" + _.RICH_MAX_WIDTH + "px");
620
+ var a = Number(this.adapter.getComputedStyleProperty("width").slice(0, -2)), d = isFinite(a) ? a : _.RICH_MAX_WIDTH, h = Math.max(this.adapter.getViewportWidth() - 2 * _.MIN_VIEWPORT_TOOLTIP_THRESHOLD, _.MIN_WIDTH), s = Math.min(h, d);
621
+ this.adapter.setStyleProperty("width", s + "px");
622
+ var l = this.hasCaret ? this.calculateTooltipWithCaretStyles(this.anchorRect) : this.calculateTooltipStyles(this.anchorRect), T = l.top, A = l.yTransformOrigin, g = l.left, E = l.xTransformOrigin, v = rt ? it(window, "transform") : "transform";
623
+ this.adapter.setSurfaceAnimationStyleProperty(v + "-origin", E + " " + A);
624
+ var y = g - ((r = (t = this.parentRect) === null || t === void 0 ? void 0 : t.left) !== null && r !== void 0 ? r : 0), m = T - ((n = (i = this.parentRect) === null || i === void 0 ? void 0 : i.top) !== null && n !== void 0 ? n : 0);
625
+ this.adapter.setStyleProperty("top", m + "px"), this.adapter.setStyleProperty("left", y + "px");
564
626
  }, o.prototype.calculateTooltipStyles = function(t) {
565
627
  if (!t)
566
628
  return { top: 0, left: 0 };
567
- var r = this.adapter.getTooltipSize(), e = this.calculateYTooltipDistance(t, r.height), n = this.calculateXTooltipDistance(t, r.width);
629
+ var r = this.adapter.getTooltipSize(), i = this.calculateYTooltipDistance(t, r.height), n = this.calculateXTooltipDistance(t, r.width);
568
630
  return {
569
- top: e.distance,
570
- yTransformOrigin: e.yTransformOrigin,
631
+ top: i.distance,
632
+ yTransformOrigin: i.yTransformOrigin,
571
633
  left: n.distance,
572
634
  xTransformOrigin: n.xTransformOrigin
573
635
  };
574
636
  }, o.prototype.calculateXTooltipDistance = function(t, r) {
575
- var e = !this.adapter.isRTL(), n, a, c, u, s;
576
- this.richTooltip ? (n = e ? t.left - r : t.right, a = e ? t.right : t.left - r, u = e ? d.RIGHT : d.LEFT, s = e ? d.LEFT : d.RIGHT) : (n = e ? t.left : t.right - r, a = e ? t.right - r : t.left, c = t.left + (t.width - r) / 2, u = e ? d.LEFT : d.RIGHT, s = e ? d.RIGHT : d.LEFT);
577
- var l = this.richTooltip ? this.determineValidPositionOptions(n, a) : (
578
- // For plain tooltips, centerPos is defined
579
- this.determineValidPositionOptions(c, n, a)
580
- );
581
- if (this.xTooltipPos === P.START && l.has(n))
582
- return { distance: n, xTransformOrigin: u };
583
- if (this.xTooltipPos === P.END && l.has(a))
584
- return { distance: a, xTransformOrigin: s };
585
- if (this.xTooltipPos === P.CENTER && l.has(c))
586
- return { distance: c, xTransformOrigin: d.CENTER };
587
- var g = this.richTooltip ? [
588
- { distance: a, xTransformOrigin: s },
589
- { distance: n, xTransformOrigin: u }
637
+ var i = !this.adapter.isRTL(), n, a, d, h, s, l, T;
638
+ if (this.richTooltip)
639
+ n = i ? t.left - r : t.right, a = i ? t.right : t.left - r, l = i ? c.RIGHT : c.LEFT, T = i ? c.LEFT : c.RIGHT;
640
+ else {
641
+ n = i ? t.left : t.right - r, a = i ? t.right - r : t.left, d = t.left + (t.width - r) / 2;
642
+ var A = t.left - (r + this.anchorGap), g = t.right + this.anchorGap;
643
+ h = i ? A : g, s = i ? g : A, l = i ? c.LEFT : c.RIGHT, T = i ? c.RIGHT : c.LEFT;
644
+ }
645
+ var E = [n, d, a];
646
+ this.xTooltipPos === x.SIDE_START ? E.push(h) : this.xTooltipPos === x.SIDE_END && E.push(s);
647
+ var v = this.richTooltip ? this.determineValidPositionOptions(n, a) : this.determineValidPositionOptions.apply(this, Z([], X(E)));
648
+ if (this.xTooltipPos === x.START && v.has(n))
649
+ return { distance: n, xTransformOrigin: l };
650
+ if (this.xTooltipPos === x.END && v.has(a))
651
+ return { distance: a, xTransformOrigin: T };
652
+ if (this.xTooltipPos === x.CENTER && v.has(d))
653
+ return { distance: d, xTransformOrigin: c.CENTER };
654
+ if (this.xTooltipPos === x.SIDE_START && v.has(h))
655
+ return { distance: h, xTransformOrigin: T };
656
+ if (this.xTooltipPos === x.SIDE_END && v.has(s))
657
+ return { distance: s, xTransformOrigin: l };
658
+ var y = this.richTooltip ? [
659
+ { distance: a, xTransformOrigin: T },
660
+ { distance: n, xTransformOrigin: l }
590
661
  ] : [
591
- { distance: c, xTransformOrigin: d.CENTER },
592
- { distance: n, xTransformOrigin: u },
593
- { distance: a, xTransformOrigin: s }
594
- ], A = g.find(function(v) {
595
- var y = v.distance;
596
- return l.has(y);
662
+ { distance: d, xTransformOrigin: c.CENTER },
663
+ { distance: n, xTransformOrigin: l },
664
+ { distance: a, xTransformOrigin: T }
665
+ ], m = y.find(function(L) {
666
+ var W = L.distance;
667
+ return v.has(W);
597
668
  });
598
- if (A)
599
- return A;
669
+ if (m)
670
+ return m;
600
671
  if (t.left < 0)
601
672
  return {
602
673
  distance: this.minViewportTooltipThreshold,
603
- xTransformOrigin: d.LEFT
674
+ xTransformOrigin: c.LEFT
604
675
  };
605
- var E = this.adapter.getViewportWidth(), f = E - (r + this.minViewportTooltipThreshold);
606
- return { distance: f, xTransformOrigin: d.RIGHT };
676
+ var N = this.adapter.getViewportWidth(), b = N - (r + this.minViewportTooltipThreshold);
677
+ return { distance: b, xTransformOrigin: c.RIGHT };
607
678
  }, o.prototype.determineValidPositionOptions = function() {
608
- for (var t, r, e = [], n = 0; n < arguments.length; n++)
609
- e[n] = arguments[n];
610
- var a = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Set();
679
+ for (var t, r, i = [], n = 0; n < arguments.length; n++)
680
+ i[n] = arguments[n];
681
+ var a = /* @__PURE__ */ new Set(), d = /* @__PURE__ */ new Set();
611
682
  try {
612
- for (var u = H(e), s = u.next(); !s.done; s = u.next()) {
683
+ for (var h = I(i), s = h.next(); !s.done; s = h.next()) {
613
684
  var l = s.value;
614
- this.positionHonorsViewportThreshold(l) ? a.add(l) : this.positionDoesntCollideWithViewport(l) && c.add(l);
685
+ this.positionHonorsViewportThreshold(l) ? a.add(l) : this.positionDoesntCollideWithViewport(l) && d.add(l);
615
686
  }
616
- } catch (g) {
617
- t = { error: g };
687
+ } catch (T) {
688
+ t = { error: T };
618
689
  } finally {
619
690
  try {
620
- s && !s.done && (r = u.return) && r.call(u);
691
+ s && !s.done && (r = h.return) && r.call(h);
621
692
  } finally {
622
693
  if (t)
623
694
  throw t.error;
624
695
  }
625
696
  }
626
- return a.size ? a : c;
697
+ return a.size ? a : d;
627
698
  }, o.prototype.positionHonorsViewportThreshold = function(t) {
628
- var r = this.adapter.getViewportWidth(), e = this.adapter.getTooltipSize().width;
629
- return t + e <= r - this.minViewportTooltipThreshold && t >= this.minViewportTooltipThreshold;
699
+ var r = this.adapter.getViewportWidth(), i = this.adapter.getTooltipSize().width;
700
+ return t + i <= r - this.minViewportTooltipThreshold && t >= this.minViewportTooltipThreshold;
630
701
  }, o.prototype.positionDoesntCollideWithViewport = function(t) {
631
- var r = this.adapter.getViewportWidth(), e = this.adapter.getTooltipSize().width;
632
- return t + e <= r && t >= 0;
702
+ var r = this.adapter.getViewportWidth(), i = this.adapter.getTooltipSize().width;
703
+ return t + i <= r && t >= 0;
633
704
  }, o.prototype.calculateYTooltipDistance = function(t, r) {
634
- var e = t.bottom + this.anchorGap, n = t.top - (this.anchorGap + r), a = this.determineValidYPositionOptions(n, e);
635
- return this.yTooltipPos === F.ABOVE && a.has(n) ? { distance: n, yTransformOrigin: d.BOTTOM } : this.yTooltipPos === F.BELOW && a.has(e) ? { distance: e, yTransformOrigin: d.TOP } : a.has(e) ? { distance: e, yTransformOrigin: d.TOP } : a.has(n) ? { distance: n, yTransformOrigin: d.BOTTOM } : { distance: e, yTransformOrigin: d.TOP };
636
- }, o.prototype.determineValidYPositionOptions = function(t, r) {
637
- var e = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
638
- return this.yPositionHonorsViewportThreshold(t) ? e.add(t) : this.yPositionDoesntCollideWithViewport(t) && n.add(t), this.yPositionHonorsViewportThreshold(r) ? e.add(r) : this.yPositionDoesntCollideWithViewport(r) && n.add(r), e.size ? e : n;
705
+ var i = t.bottom + this.anchorGap, n = t.top - (this.anchorGap + r), a = t.top + t.height / 2, d = a - r / 2, h = [n, i];
706
+ this.yTooltipPos === B.SIDE && h.push(d);
707
+ var s = this.determineValidYPositionOptions.apply(this, Z([], X(h)));
708
+ return this.yTooltipPos === B.ABOVE && s.has(n) ? { distance: n, yTransformOrigin: c.BOTTOM } : this.yTooltipPos === B.BELOW && s.has(i) ? { distance: i, yTransformOrigin: c.TOP } : this.yTooltipPos === B.SIDE && s.has(d) ? { distance: d, yTransformOrigin: c.CENTER } : s.has(i) ? { distance: i, yTransformOrigin: c.TOP } : s.has(n) ? { distance: n, yTransformOrigin: c.BOTTOM } : { distance: i, yTransformOrigin: c.TOP };
709
+ }, o.prototype.determineValidYPositionOptions = function() {
710
+ for (var t, r, i = [], n = 0; n < arguments.length; n++)
711
+ i[n] = arguments[n];
712
+ var a = /* @__PURE__ */ new Set(), d = /* @__PURE__ */ new Set();
713
+ try {
714
+ for (var h = I(i), s = h.next(); !s.done; s = h.next()) {
715
+ var l = s.value;
716
+ this.yPositionHonorsViewportThreshold(l) ? a.add(l) : this.yPositionDoesntCollideWithViewport(l) && d.add(l);
717
+ }
718
+ } catch (T) {
719
+ t = { error: T };
720
+ } finally {
721
+ try {
722
+ s && !s.done && (r = h.return) && r.call(h);
723
+ } finally {
724
+ if (t)
725
+ throw t.error;
726
+ }
727
+ }
728
+ return a.size ? a : d;
639
729
  }, o.prototype.yPositionHonorsViewportThreshold = function(t) {
640
- var r = this.adapter.getViewportHeight(), e = this.adapter.getTooltipSize().height;
641
- return t + e + this.minViewportTooltipThreshold <= r && t >= this.minViewportTooltipThreshold;
730
+ var r = this.adapter.getViewportHeight(), i = this.adapter.getTooltipSize().height;
731
+ return t + i + this.minViewportTooltipThreshold <= r && t >= this.minViewportTooltipThreshold;
642
732
  }, o.prototype.yPositionDoesntCollideWithViewport = function(t) {
643
- var r = this.adapter.getViewportHeight(), e = this.adapter.getTooltipSize().height;
644
- return t + e <= r && t >= 0;
733
+ var r = this.adapter.getViewportHeight(), i = this.adapter.getTooltipSize().height;
734
+ return t + i <= r && t >= 0;
645
735
  }, o.prototype.calculateTooltipWithCaretStyles = function(t) {
646
736
  this.adapter.clearTooltipCaretStyles();
647
737
  var r = this.adapter.getTooltipCaretBoundingRect();
648
738
  if (!t || !r)
649
- return { position: h.DETECTED, top: 0, left: 0 };
650
- var e = r.width / O.ANIMATION_SCALE, n = r.height / O.ANIMATION_SCALE / 2, a = this.adapter.getTooltipSize(), c = this.calculateYWithCaretDistanceOptions(t, a.height, { caretWidth: e, caretHeight: n }), u = this.calculateXWithCaretDistanceOptions(t, a.width, { caretWidth: e, caretHeight: n }), s = this.validateTooltipWithCaretDistances(c, u);
651
- s.size < 1 && (s = this.generateBackupPositionOption(t, a, { caretWidth: e, caretHeight: n }));
652
- var l = this.determineTooltipWithCaretDistance(s), g = l.position, A = l.xDistance, E = l.yDistance, f = this.setCaretPositionStyles(g, { caretWidth: e, caretHeight: n }), v = f.yTransformOrigin, y = f.xTransformOrigin;
739
+ return { position: p.DETECTED, top: 0, left: 0 };
740
+ var i = r.width / _.ANIMATION_SCALE, n = r.height / _.ANIMATION_SCALE / 2, a = this.adapter.getTooltipSize(), d = this.calculateYWithCaretDistanceOptions(t, a.height, { caretWidth: i, caretHeight: n }), h = this.calculateXWithCaretDistanceOptions(t, a.width, { caretWidth: i, caretHeight: n }), s = this.validateTooltipWithCaretDistances(d, h);
741
+ s.size < 1 && (s = this.generateBackupPositionOption(t, a, { caretWidth: i, caretHeight: n }));
742
+ var l = this.determineTooltipWithCaretDistance(s), T = l.position, A = l.xDistance, g = l.yDistance, E = this.setCaretPositionStyles(T, { caretWidth: i, caretHeight: n }), v = E.yTransformOrigin, y = E.xTransformOrigin;
653
743
  return {
654
744
  yTransformOrigin: v,
655
745
  xTransformOrigin: y,
656
- top: E,
746
+ top: g,
657
747
  left: A
658
748
  };
659
- }, o.prototype.calculateXWithCaretDistanceOptions = function(t, r, e) {
660
- var n = e.caretWidth, a = e.caretHeight, c = !this.adapter.isRTL(), u = t.left + t.width / 2, s = t.left - (r + this.anchorGap + a), l = t.right + this.anchorGap + a, g = c ? s : l, A = c ? l : s, E = u - (O.CARET_INDENTATION + n / 2), f = u - (r - O.CARET_INDENTATION - n / 2), v = c ? E : f, y = c ? f : E, m = u - r / 2, C = /* @__PURE__ */ new Map([
661
- [T.START, v],
662
- [T.CENTER, m],
663
- [T.END, y],
664
- [T.SIDE_END, A],
665
- [T.SIDE_START, g]
749
+ }, o.prototype.calculateXWithCaretDistanceOptions = function(t, r, i) {
750
+ var n = i.caretWidth, a = i.caretHeight, d = !this.adapter.isRTL(), h = t.left + t.width / 2, s = t.left - (r + this.anchorGap + a), l = t.right + this.anchorGap + a, T = d ? s : l, A = d ? l : s, g = h - (_.CARET_INDENTATION + n / 2), E = h - (r - _.CARET_INDENTATION - n / 2), v = d ? g : E, y = d ? E : g, m = h - r / 2, N = /* @__PURE__ */ new Map([
751
+ [f.START, v],
752
+ [f.CENTER, m],
753
+ [f.END, y],
754
+ [f.SIDE_END, A],
755
+ [f.SIDE_START, T]
666
756
  ]);
667
- return C;
668
- }, o.prototype.calculateYWithCaretDistanceOptions = function(t, r, e) {
669
- var n = e.caretWidth, a = e.caretHeight, c = t.top + t.height / 2, u = t.bottom + this.anchorGap + a, s = t.top - (this.anchorGap + r + a), l = c - (O.CARET_INDENTATION + n / 2), g = c - r / 2, A = c - (r - O.CARET_INDENTATION - n / 2), E = /* @__PURE__ */ new Map([
670
- [_.ABOVE, s],
671
- [_.BELOW, u],
672
- [_.SIDE_TOP, l],
673
- [_.SIDE_CENTER, g],
674
- [_.SIDE_BOTTOM, A]
757
+ return N;
758
+ }, o.prototype.calculateYWithCaretDistanceOptions = function(t, r, i) {
759
+ var n = i.caretWidth, a = i.caretHeight, d = t.top + t.height / 2, h = t.bottom + this.anchorGap + a, s = t.top - (this.anchorGap + r + a), l = d - (_.CARET_INDENTATION + n / 2), T = d - r / 2, A = d - (r - _.CARET_INDENTATION - n / 2), g = /* @__PURE__ */ new Map([
760
+ [O.ABOVE, s],
761
+ [O.BELOW, h],
762
+ [O.SIDE_TOP, l],
763
+ [O.SIDE_CENTER, T],
764
+ [O.SIDE_BOTTOM, A]
675
765
  ]);
676
- return E;
766
+ return g;
677
767
  }, o.prototype.repositionTooltipOnAnchorMove = function() {
678
768
  var t = this.adapter.getAnchorBoundingRect();
679
- !t || !this.anchorRect || (t.top !== this.anchorRect.top || t.left !== this.anchorRect.left || t.height !== this.anchorRect.height || t.width !== this.anchorRect.width) && (this.anchorRect = t, this.parentRect = this.adapter.getParentBoundingRect(), this.richTooltip ? this.positionRichTooltip() : this.positionPlainTooltip());
769
+ if (!(!t || !this.anchorRect)) {
770
+ var r = this.adapter.getViewportHeight();
771
+ t.top + t.height < 0 || t.bottom - t.height >= r || (t.top !== this.anchorRect.top || t.left !== this.anchorRect.left || t.height !== this.anchorRect.height || t.width !== this.anchorRect.width) && (this.anchorRect = t, this.parentRect = this.adapter.getParentBoundingRect(), this.richTooltip ? this.positionRichTooltip() : this.positionPlainTooltip());
772
+ }
680
773
  }, o.prototype.validateTooltipWithCaretDistances = function(t, r) {
681
- var e, n, a, c, u, s, l = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map([
774
+ var i, n, a, d, h, s, l = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map([
682
775
  [
683
- _.ABOVE,
776
+ O.ABOVE,
684
777
  [
685
- T.START,
686
- T.CENTER,
687
- T.END
778
+ f.START,
779
+ f.CENTER,
780
+ f.END
688
781
  ]
689
782
  ],
690
783
  [
691
- _.BELOW,
784
+ O.BELOW,
692
785
  [
693
- T.START,
694
- T.CENTER,
695
- T.END
786
+ f.START,
787
+ f.CENTER,
788
+ f.END
696
789
  ]
697
790
  ],
698
791
  [
699
- _.SIDE_TOP,
700
- [T.SIDE_START, T.SIDE_END]
792
+ O.SIDE_TOP,
793
+ [f.SIDE_START, f.SIDE_END]
701
794
  ],
702
795
  [
703
- _.SIDE_CENTER,
704
- [T.SIDE_START, T.SIDE_END]
796
+ O.SIDE_CENTER,
797
+ [f.SIDE_START, f.SIDE_END]
705
798
  ],
706
799
  [
707
- _.SIDE_BOTTOM,
708
- [T.SIDE_START, T.SIDE_END]
800
+ O.SIDE_BOTTOM,
801
+ [f.SIDE_START, f.SIDE_END]
709
802
  ]
710
803
  ]);
711
804
  try {
712
- for (var E = H(A.keys()), f = E.next(); !f.done; f = E.next()) {
713
- var v = f.value, y = t.get(v);
805
+ for (var g = I(A.keys()), E = g.next(); !E.done; E = g.next()) {
806
+ var v = E.value, y = t.get(v);
714
807
  if (this.yPositionHonorsViewportThreshold(y))
715
808
  try {
716
- for (var m = (a = void 0, H(A.get(v))), C = m.next(); !C.done; C = m.next()) {
717
- var b = C.value, B = r.get(b);
718
- if (this.positionHonorsViewportThreshold(B)) {
719
- var K = this.caretPositionOptionsMapping(b, v);
720
- l.set(K, { xDistance: B, yDistance: y });
809
+ for (var m = (a = void 0, I(A.get(v))), N = m.next(); !N.done; N = m.next()) {
810
+ var b = N.value, L = r.get(b);
811
+ if (this.positionHonorsViewportThreshold(L)) {
812
+ var W = this.caretPositionOptionsMapping(b, v);
813
+ l.set(W, { xDistance: L, yDistance: y });
721
814
  }
722
815
  }
723
- } catch (W) {
724
- a = { error: W };
816
+ } catch (F) {
817
+ a = { error: F };
725
818
  } finally {
726
819
  try {
727
- C && !C.done && (c = m.return) && c.call(m);
820
+ N && !N.done && (d = m.return) && d.call(m);
728
821
  } finally {
729
822
  if (a)
730
823
  throw a.error;
@@ -732,51 +825,51 @@ var tt = typeof window < "u", mt = (
732
825
  }
733
826
  if (this.yPositionDoesntCollideWithViewport(y))
734
827
  try {
735
- for (var k = (u = void 0, H(A.get(v))), M = k.next(); !M.done; M = k.next()) {
736
- var b = M.value, B = r.get(b);
737
- if (this.positionDoesntCollideWithViewport(B)) {
738
- var K = this.caretPositionOptionsMapping(b, v);
739
- g.set(K, { xDistance: B, yDistance: y });
828
+ for (var G = (h = void 0, I(A.get(v))), V = G.next(); !V.done; V = G.next()) {
829
+ var b = V.value, L = r.get(b);
830
+ if (this.positionDoesntCollideWithViewport(L)) {
831
+ var W = this.caretPositionOptionsMapping(b, v);
832
+ T.set(W, { xDistance: L, yDistance: y });
740
833
  }
741
834
  }
742
- } catch (W) {
743
- u = { error: W };
835
+ } catch (F) {
836
+ h = { error: F };
744
837
  } finally {
745
838
  try {
746
- M && !M.done && (s = k.return) && s.call(k);
839
+ V && !V.done && (s = G.return) && s.call(G);
747
840
  } finally {
748
- if (u)
749
- throw u.error;
841
+ if (h)
842
+ throw h.error;
750
843
  }
751
844
  }
752
845
  }
753
- } catch (W) {
754
- e = { error: W };
846
+ } catch (F) {
847
+ i = { error: F };
755
848
  } finally {
756
849
  try {
757
- f && !f.done && (n = E.return) && n.call(E);
850
+ E && !E.done && (n = g.return) && n.call(g);
758
851
  } finally {
759
- if (e)
760
- throw e.error;
852
+ if (i)
853
+ throw i.error;
761
854
  }
762
855
  }
763
- return l.size ? l : g;
764
- }, o.prototype.generateBackupPositionOption = function(t, r, e) {
765
- var n = !this.adapter.isRTL(), a, c;
856
+ return l.size ? l : T;
857
+ }, o.prototype.generateBackupPositionOption = function(t, r, i) {
858
+ var n = !this.adapter.isRTL(), a, d;
766
859
  if (t.left < 0)
767
- a = this.minViewportTooltipThreshold + e.caretHeight, c = n ? T.END : T.START;
860
+ a = this.minViewportTooltipThreshold + i.caretHeight, d = n ? f.END : f.START;
768
861
  else {
769
- var u = this.adapter.getViewportWidth();
770
- a = u - (r.width + this.minViewportTooltipThreshold + e.caretHeight), c = n ? T.START : T.END;
862
+ var h = this.adapter.getViewportWidth();
863
+ a = h - (r.width + this.minViewportTooltipThreshold + i.caretHeight), d = n ? f.START : f.END;
771
864
  }
772
865
  var s, l;
773
866
  if (t.top < 0)
774
- s = this.minViewportTooltipThreshold + e.caretHeight, l = _.BELOW;
867
+ s = this.minViewportTooltipThreshold + i.caretHeight, l = O.BELOW;
775
868
  else {
776
- var g = this.adapter.getViewportHeight();
777
- s = g - (r.height + this.minViewportTooltipThreshold + e.caretHeight), l = _.ABOVE;
869
+ var T = this.adapter.getViewportHeight();
870
+ s = T - (r.height + this.minViewportTooltipThreshold + i.caretHeight), l = O.ABOVE;
778
871
  }
779
- var A = this.caretPositionOptionsMapping(c, l);
872
+ var A = this.caretPositionOptionsMapping(d, l);
780
873
  return /* @__PURE__ */ new Map([[A, { xDistance: a, yDistance: s }]]);
781
874
  }, o.prototype.determineTooltipWithCaretDistance = function(t) {
782
875
  if (t.has(this.tooltipPositionWithCaret)) {
@@ -787,21 +880,21 @@ var tt = typeof window < "u", mt = (
787
880
  yDistance: r.yDistance
788
881
  };
789
882
  }
790
- var e = [
791
- h.ABOVE_START,
792
- h.ABOVE_CENTER,
793
- h.ABOVE_END,
794
- h.TOP_SIDE_START,
795
- h.CENTER_SIDE_START,
796
- h.BOTTOM_SIDE_START,
797
- h.TOP_SIDE_END,
798
- h.CENTER_SIDE_END,
799
- h.BOTTOM_SIDE_END,
800
- h.BELOW_START,
801
- h.BELOW_CENTER,
802
- h.BELOW_END
803
- ], n = e.find(function(c) {
804
- return t.has(c);
883
+ var i = [
884
+ p.ABOVE_START,
885
+ p.ABOVE_CENTER,
886
+ p.ABOVE_END,
887
+ p.TOP_SIDE_START,
888
+ p.CENTER_SIDE_START,
889
+ p.BOTTOM_SIDE_START,
890
+ p.TOP_SIDE_END,
891
+ p.CENTER_SIDE_END,
892
+ p.BOTTOM_SIDE_END,
893
+ p.BELOW_START,
894
+ p.BELOW_CENTER,
895
+ p.BELOW_END
896
+ ], n = i.find(function(d) {
897
+ return t.has(d);
805
898
  }), a = t.get(n);
806
899
  return {
807
900
  position: n,
@@ -810,62 +903,62 @@ var tt = typeof window < "u", mt = (
810
903
  };
811
904
  }, o.prototype.caretPositionOptionsMapping = function(t, r) {
812
905
  switch (r) {
813
- case _.ABOVE:
814
- if (t === T.START)
815
- return h.ABOVE_START;
816
- if (t === T.CENTER)
817
- return h.ABOVE_CENTER;
818
- if (t === T.END)
819
- return h.ABOVE_END;
906
+ case O.ABOVE:
907
+ if (t === f.START)
908
+ return p.ABOVE_START;
909
+ if (t === f.CENTER)
910
+ return p.ABOVE_CENTER;
911
+ if (t === f.END)
912
+ return p.ABOVE_END;
820
913
  break;
821
- case _.BELOW:
822
- if (t === T.START)
823
- return h.BELOW_START;
824
- if (t === T.CENTER)
825
- return h.BELOW_CENTER;
826
- if (t === T.END)
827
- return h.BELOW_END;
914
+ case O.BELOW:
915
+ if (t === f.START)
916
+ return p.BELOW_START;
917
+ if (t === f.CENTER)
918
+ return p.BELOW_CENTER;
919
+ if (t === f.END)
920
+ return p.BELOW_END;
828
921
  break;
829
- case _.SIDE_TOP:
830
- if (t === T.SIDE_START)
831
- return h.TOP_SIDE_START;
832
- if (t === T.SIDE_END)
833
- return h.TOP_SIDE_END;
922
+ case O.SIDE_TOP:
923
+ if (t === f.SIDE_START)
924
+ return p.TOP_SIDE_START;
925
+ if (t === f.SIDE_END)
926
+ return p.TOP_SIDE_END;
834
927
  break;
835
- case _.SIDE_CENTER:
836
- if (t === T.SIDE_START)
837
- return h.CENTER_SIDE_START;
838
- if (t === T.SIDE_END)
839
- return h.CENTER_SIDE_END;
928
+ case O.SIDE_CENTER:
929
+ if (t === f.SIDE_START)
930
+ return p.CENTER_SIDE_START;
931
+ if (t === f.SIDE_END)
932
+ return p.CENTER_SIDE_END;
840
933
  break;
841
- case _.SIDE_BOTTOM:
842
- if (t === T.SIDE_START)
843
- return h.BOTTOM_SIDE_START;
844
- if (t === T.SIDE_END)
845
- return h.BOTTOM_SIDE_END;
934
+ case O.SIDE_BOTTOM:
935
+ if (t === f.SIDE_START)
936
+ return p.BOTTOM_SIDE_START;
937
+ if (t === f.SIDE_END)
938
+ return p.BOTTOM_SIDE_END;
846
939
  break;
847
940
  }
848
941
  throw new Error("MDCTooltipFoundation: Invalid caret position of " + t + ", " + r);
849
942
  }, o.prototype.setCaretPositionStyles = function(t, r) {
850
- var e, n, a = this.calculateCaretPositionOnTooltip(t, r);
943
+ var i, n, a = this.calculateCaretPositionOnTooltip(t, r);
851
944
  if (!a)
852
945
  return { yTransformOrigin: 0, xTransformOrigin: 0 };
853
946
  this.adapter.clearTooltipCaretStyles(), this.adapter.setTooltipCaretStyle(a.yAlignment, a.yAxisPx), this.adapter.setTooltipCaretStyle(a.xAlignment, a.xAxisPx);
854
- var c = a.skew * (Math.PI / 180), u = Math.cos(c);
855
- this.adapter.setTooltipCaretStyle("transform", "rotate(" + a.rotation + "deg) skewY(" + a.skew + "deg) scaleX(" + u + ")"), this.adapter.setTooltipCaretStyle("transform-origin", a.xAlignment + " " + a.yAlignment);
947
+ var d = a.skew * (Math.PI / 180), h = Math.cos(d);
948
+ this.adapter.setTooltipCaretStyle("transform", "rotate(" + a.rotation + "deg) skewY(" + a.skew + "deg) scaleX(" + h + ")"), this.adapter.setTooltipCaretStyle("transform-origin", a.xAlignment + " " + a.yAlignment);
856
949
  try {
857
- for (var s = H(a.caretCorners), l = s.next(); !l.done; l = s.next()) {
858
- var g = l.value;
859
- this.adapter.setTooltipCaretStyle(g, "0");
950
+ for (var s = I(a.caretCorners), l = s.next(); !l.done; l = s.next()) {
951
+ var T = l.value;
952
+ this.adapter.setTooltipCaretStyle(T, "0");
860
953
  }
861
954
  } catch (A) {
862
- e = { error: A };
955
+ i = { error: A };
863
956
  } finally {
864
957
  try {
865
958
  l && !l.done && (n = s.return) && n.call(s);
866
959
  } finally {
867
- if (e)
868
- throw e.error;
960
+ if (i)
961
+ throw i.error;
869
962
  }
870
963
  }
871
964
  return {
@@ -873,154 +966,154 @@ var tt = typeof window < "u", mt = (
873
966
  xTransformOrigin: a.xTransformOrigin
874
967
  };
875
968
  }, o.prototype.calculateCaretPositionOnTooltip = function(t, r) {
876
- var e = !this.adapter.isRTL(), n = this.adapter.getComputedStyleProperty("width"), a = this.adapter.getComputedStyleProperty("height");
969
+ var i = !this.adapter.isRTL(), n = this.adapter.getComputedStyleProperty("width"), a = this.adapter.getComputedStyleProperty("height");
877
970
  if (!(!n || !a || !r)) {
878
- var c = "calc((" + n + " - " + r.caretWidth + "px) / 2)", u = "calc((" + a + " - " + r.caretWidth + "px) / 2)", s = "0", l = O.CARET_INDENTATION + "px", g = "calc(" + n + " - " + l + ")", A = "calc(" + a + " - " + l + ")", E = 35, f = Math.abs(90 - E), v = ["border-bottom-right-radius", "border-top-left-radius"], y = ["border-bottom-left-radius", "border-top-right-radius"], m = 20;
971
+ var d = "calc((" + n + " - " + r.caretWidth + "px) / 2)", h = "calc((" + a + " - " + r.caretWidth + "px) / 2)", s = "0", l = _.CARET_INDENTATION + "px", T = "calc(" + n + " - " + l + ")", A = "calc(" + a + " - " + l + ")", g = 35, E = Math.abs(90 - g), v = ["border-bottom-right-radius", "border-top-left-radius"], y = ["border-bottom-left-radius", "border-top-right-radius"], m = 20;
879
972
  switch (t) {
880
- case h.BELOW_CENTER:
973
+ case p.BELOW_CENTER:
881
974
  return {
882
- yAlignment: d.TOP,
883
- xAlignment: d.LEFT,
975
+ yAlignment: c.TOP,
976
+ xAlignment: c.LEFT,
884
977
  yAxisPx: s,
885
- xAxisPx: c,
886
- rotation: -1 * E,
978
+ xAxisPx: d,
979
+ rotation: -1 * g,
887
980
  skew: -1 * m,
888
- xTransformOrigin: c,
981
+ xTransformOrigin: d,
889
982
  yTransformOrigin: s,
890
983
  caretCorners: v
891
984
  };
892
- case h.BELOW_END:
985
+ case p.BELOW_END:
893
986
  return {
894
- yAlignment: d.TOP,
895
- xAlignment: e ? d.RIGHT : d.LEFT,
987
+ yAlignment: c.TOP,
988
+ xAlignment: i ? c.RIGHT : c.LEFT,
896
989
  yAxisPx: s,
897
990
  xAxisPx: l,
898
- rotation: e ? E : -1 * E,
899
- skew: e ? m : -1 * m,
900
- xTransformOrigin: e ? g : l,
991
+ rotation: i ? g : -1 * g,
992
+ skew: i ? m : -1 * m,
993
+ xTransformOrigin: i ? T : l,
901
994
  yTransformOrigin: s,
902
- caretCorners: e ? y : v
995
+ caretCorners: i ? y : v
903
996
  };
904
- case h.BELOW_START:
997
+ case p.BELOW_START:
905
998
  return {
906
- yAlignment: d.TOP,
907
- xAlignment: e ? d.LEFT : d.RIGHT,
999
+ yAlignment: c.TOP,
1000
+ xAlignment: i ? c.LEFT : c.RIGHT,
908
1001
  yAxisPx: s,
909
1002
  xAxisPx: l,
910
- rotation: e ? -1 * E : E,
911
- skew: e ? -1 * m : m,
912
- xTransformOrigin: e ? l : g,
1003
+ rotation: i ? -1 * g : g,
1004
+ skew: i ? -1 * m : m,
1005
+ xTransformOrigin: i ? l : T,
913
1006
  yTransformOrigin: s,
914
- caretCorners: e ? v : y
1007
+ caretCorners: i ? v : y
915
1008
  };
916
- case h.TOP_SIDE_END:
1009
+ case p.TOP_SIDE_END:
917
1010
  return {
918
- yAlignment: d.TOP,
919
- xAlignment: e ? d.LEFT : d.RIGHT,
1011
+ yAlignment: c.TOP,
1012
+ xAlignment: i ? c.LEFT : c.RIGHT,
920
1013
  yAxisPx: l,
921
1014
  xAxisPx: s,
922
- rotation: e ? f : -1 * f,
923
- skew: e ? -1 * m : m,
924
- xTransformOrigin: e ? s : n,
1015
+ rotation: i ? E : -1 * E,
1016
+ skew: i ? -1 * m : m,
1017
+ xTransformOrigin: i ? s : n,
925
1018
  yTransformOrigin: l,
926
- caretCorners: e ? v : y
1019
+ caretCorners: i ? v : y
927
1020
  };
928
- case h.CENTER_SIDE_END:
1021
+ case p.CENTER_SIDE_END:
929
1022
  return {
930
- yAlignment: d.TOP,
931
- xAlignment: e ? d.LEFT : d.RIGHT,
932
- yAxisPx: u,
1023
+ yAlignment: c.TOP,
1024
+ xAlignment: i ? c.LEFT : c.RIGHT,
1025
+ yAxisPx: h,
933
1026
  xAxisPx: s,
934
- rotation: e ? f : -1 * f,
935
- skew: e ? -1 * m : m,
936
- xTransformOrigin: e ? s : n,
937
- yTransformOrigin: u,
938
- caretCorners: e ? v : y
1027
+ rotation: i ? E : -1 * E,
1028
+ skew: i ? -1 * m : m,
1029
+ xTransformOrigin: i ? s : n,
1030
+ yTransformOrigin: h,
1031
+ caretCorners: i ? v : y
939
1032
  };
940
- case h.BOTTOM_SIDE_END:
1033
+ case p.BOTTOM_SIDE_END:
941
1034
  return {
942
- yAlignment: d.BOTTOM,
943
- xAlignment: e ? d.LEFT : d.RIGHT,
1035
+ yAlignment: c.BOTTOM,
1036
+ xAlignment: i ? c.LEFT : c.RIGHT,
944
1037
  yAxisPx: l,
945
1038
  xAxisPx: s,
946
- rotation: e ? -1 * f : f,
947
- skew: e ? m : -1 * m,
948
- xTransformOrigin: e ? s : n,
1039
+ rotation: i ? -1 * E : E,
1040
+ skew: i ? m : -1 * m,
1041
+ xTransformOrigin: i ? s : n,
949
1042
  yTransformOrigin: A,
950
- caretCorners: e ? y : v
1043
+ caretCorners: i ? y : v
951
1044
  };
952
- case h.TOP_SIDE_START:
1045
+ case p.TOP_SIDE_START:
953
1046
  return {
954
- yAlignment: d.TOP,
955
- xAlignment: e ? d.RIGHT : d.LEFT,
1047
+ yAlignment: c.TOP,
1048
+ xAlignment: i ? c.RIGHT : c.LEFT,
956
1049
  yAxisPx: l,
957
1050
  xAxisPx: s,
958
- rotation: e ? -1 * f : f,
959
- skew: e ? m : -1 * m,
960
- xTransformOrigin: e ? n : s,
1051
+ rotation: i ? -1 * E : E,
1052
+ skew: i ? m : -1 * m,
1053
+ xTransformOrigin: i ? n : s,
961
1054
  yTransformOrigin: l,
962
- caretCorners: e ? y : v
1055
+ caretCorners: i ? y : v
963
1056
  };
964
- case h.CENTER_SIDE_START:
1057
+ case p.CENTER_SIDE_START:
965
1058
  return {
966
- yAlignment: d.TOP,
967
- xAlignment: e ? d.RIGHT : d.LEFT,
968
- yAxisPx: u,
1059
+ yAlignment: c.TOP,
1060
+ xAlignment: i ? c.RIGHT : c.LEFT,
1061
+ yAxisPx: h,
969
1062
  xAxisPx: s,
970
- rotation: e ? -1 * f : f,
971
- skew: e ? m : -1 * m,
972
- xTransformOrigin: e ? n : s,
973
- yTransformOrigin: u,
974
- caretCorners: e ? y : v
1063
+ rotation: i ? -1 * E : E,
1064
+ skew: i ? m : -1 * m,
1065
+ xTransformOrigin: i ? n : s,
1066
+ yTransformOrigin: h,
1067
+ caretCorners: i ? y : v
975
1068
  };
976
- case h.BOTTOM_SIDE_START:
1069
+ case p.BOTTOM_SIDE_START:
977
1070
  return {
978
- yAlignment: d.BOTTOM,
979
- xAlignment: e ? d.RIGHT : d.LEFT,
1071
+ yAlignment: c.BOTTOM,
1072
+ xAlignment: i ? c.RIGHT : c.LEFT,
980
1073
  yAxisPx: l,
981
1074
  xAxisPx: s,
982
- rotation: e ? f : -1 * f,
983
- skew: e ? -1 * m : m,
984
- xTransformOrigin: e ? n : s,
1075
+ rotation: i ? E : -1 * E,
1076
+ skew: i ? -1 * m : m,
1077
+ xTransformOrigin: i ? n : s,
985
1078
  yTransformOrigin: A,
986
- caretCorners: e ? v : y
1079
+ caretCorners: i ? v : y
987
1080
  };
988
- case h.ABOVE_CENTER:
1081
+ case p.ABOVE_CENTER:
989
1082
  return {
990
- yAlignment: d.BOTTOM,
991
- xAlignment: d.LEFT,
1083
+ yAlignment: c.BOTTOM,
1084
+ xAlignment: c.LEFT,
992
1085
  yAxisPx: s,
993
- xAxisPx: c,
994
- rotation: E,
1086
+ xAxisPx: d,
1087
+ rotation: g,
995
1088
  skew: m,
996
- xTransformOrigin: c,
1089
+ xTransformOrigin: d,
997
1090
  yTransformOrigin: a,
998
1091
  caretCorners: y
999
1092
  };
1000
- case h.ABOVE_END:
1093
+ case p.ABOVE_END:
1001
1094
  return {
1002
- yAlignment: d.BOTTOM,
1003
- xAlignment: e ? d.RIGHT : d.LEFT,
1095
+ yAlignment: c.BOTTOM,
1096
+ xAlignment: i ? c.RIGHT : c.LEFT,
1004
1097
  yAxisPx: s,
1005
1098
  xAxisPx: l,
1006
- rotation: e ? -1 * E : E,
1007
- skew: e ? -1 * m : m,
1008
- xTransformOrigin: e ? g : l,
1099
+ rotation: i ? -1 * g : g,
1100
+ skew: i ? -1 * m : m,
1101
+ xTransformOrigin: i ? T : l,
1009
1102
  yTransformOrigin: a,
1010
- caretCorners: e ? v : y
1103
+ caretCorners: i ? v : y
1011
1104
  };
1012
1105
  default:
1013
- case h.ABOVE_START:
1106
+ case p.ABOVE_START:
1014
1107
  return {
1015
- yAlignment: d.BOTTOM,
1016
- xAlignment: e ? d.LEFT : d.RIGHT,
1108
+ yAlignment: c.BOTTOM,
1109
+ xAlignment: i ? c.LEFT : c.RIGHT,
1017
1110
  yAxisPx: s,
1018
1111
  xAxisPx: l,
1019
- rotation: e ? E : -1 * E,
1020
- skew: e ? m : -1 * m,
1021
- xTransformOrigin: e ? l : g,
1112
+ rotation: i ? g : -1 * g,
1113
+ skew: i ? m : -1 * m,
1114
+ xTransformOrigin: i ? l : T,
1022
1115
  yTransformOrigin: a,
1023
- caretCorners: e ? y : v
1116
+ caretCorners: i ? y : v
1024
1117
  };
1025
1118
  }
1026
1119
  }
@@ -1040,17 +1133,17 @@ var tt = typeof window < "u", mt = (
1040
1133
  });
1041
1134
  }, o.prototype.destroy = function() {
1042
1135
  var t, r;
1043
- this.frameId && (cancelAnimationFrame(this.frameId), this.frameId = null), this.clearHideTimeout(), this.clearShowTimeout(), this.adapter.removeClass($), this.adapter.removeClass(U), this.adapter.removeClass(q), this.adapter.removeClass(V), this.adapter.removeClass(z), this.richTooltip && this.adapter.deregisterEventHandler("focusout", this.richTooltipFocusOutHandler), this.persistentTooltip || (this.adapter.deregisterEventHandler("mouseenter", this.tooltipMouseEnterHandler), this.adapter.deregisterEventHandler("mouseleave", this.tooltipMouseLeaveHandler)), this.adapter.deregisterAnchorEventHandler("blur", this.anchorBlurHandler), this.adapter.deregisterDocumentEventHandler("click", this.documentClickHandler), this.adapter.deregisterDocumentEventHandler("keydown", this.documentKeydownHandler), this.adapter.deregisterWindowEventHandler("scroll", this.windowScrollHandler), this.adapter.deregisterWindowEventHandler("resize", this.windowResizeHandler);
1136
+ this.frameId && (cancelAnimationFrame(this.frameId), this.frameId = null), this.clearHideTimeout(), this.clearShowTimeout(), this.adapter.removeClass($), this.adapter.removeClass(z), this.adapter.removeClass(j), this.adapter.removeClass(k), this.adapter.removeClass(K), this.richTooltip && this.adapter.deregisterEventHandler("focusout", this.richTooltipFocusOutHandler), this.persistentTooltip || (this.adapter.deregisterEventHandler("mouseenter", this.tooltipMouseEnterHandler), this.adapter.deregisterEventHandler("mouseleave", this.tooltipMouseLeaveHandler)), this.adapter.deregisterAnchorEventHandler("blur", this.anchorBlurHandler), this.adapter.deregisterDocumentEventHandler("click", this.documentClickHandler), this.adapter.deregisterDocumentEventHandler("keydown", this.documentKeydownHandler), this.adapter.deregisterWindowEventHandler("scroll", this.windowScrollHandler), this.adapter.deregisterWindowEventHandler("resize", this.windowResizeHandler);
1044
1137
  try {
1045
- for (var e = H(this.removeAncestorScrollEventListeners), n = e.next(); !n.done; n = e.next()) {
1138
+ for (var i = I(this.removeAncestorScrollEventListeners), n = i.next(); !n.done; n = i.next()) {
1046
1139
  var a = n.value;
1047
1140
  a();
1048
1141
  }
1049
- } catch (c) {
1050
- t = { error: c };
1142
+ } catch (d) {
1143
+ t = { error: d };
1051
1144
  } finally {
1052
1145
  try {
1053
- n && !n.done && (r = e.return) && r.call(e);
1146
+ n && !n.done && (r = i.return) && r.call(i);
1054
1147
  } finally {
1055
1148
  if (t)
1056
1149
  throw t.error;
@@ -1058,28 +1151,28 @@ var tt = typeof window < "u", mt = (
1058
1151
  }
1059
1152
  this.animFrame.cancelAll();
1060
1153
  }, o;
1061
- }(lt)
1154
+ }(ht)
1062
1155
  );
1063
- const ft = `.mdc-tooltip__surface,.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-tooltip__surface{color:#fff;color:var(--mdc-theme-text-primary-on-dark, white)}.mdc-tooltip__surface{background-color:#0009}.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{z-index:9}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity .15s 0ms cubic-bezier(0,0,.2,1),transform .15s 0ms cubic-bezier(0,0,.2,1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(.4,0,1,1)}.mdc-tooltip__title{color:#000000de;color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, .87))}.mdc-tooltip__content{color:#0009}.mdc-tooltip__content-link{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-tooltip{position:fixed;display:none}.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__surface,.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__caret-surface-top,.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__caret-surface-bottom{background-color:#fff}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.75rem;font-size:var(--mdc-typography-caption-font-size, .75rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface:before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface:before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;align-items:flex-start;border-radius:4px;display:flex;flex-direction:column;line-height:20px;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{display:block;line-height:20px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-subtitle2-font-size, .875rem);line-height:1.375rem;line-height:var(--mdc-typography-subtitle2-line-height, 1.375rem);font-weight:500;font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:.0071428571em;letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, .0071428571em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle2-text-transform, inherit);margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__title:before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-tooltip__surface .mdc-tooltip__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);max-width:184px;margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:304px;align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;outline:1px solid transparent;z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__title,.mdc-tooltip__content{color:var(--mdc-theme-text-primary-on-background)}.mdc-tooltip__content-link{color:var(--mdc-theme-accent)}.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__surface,.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__caret-surface-top,.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__caret-surface-bottom{background-color:var(--mdc-theme-surface)}
1156
+ const vt = `.mdc-tooltip__surface,.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-tooltip__surface{color:#fff;color:var(--mdc-theme-text-primary-on-dark, white)}.mdc-tooltip__surface{background-color:#0009}.mdc-tooltip__title{color:#000000de;color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, .87))}.mdc-tooltip__content{color:#0009}.mdc-tooltip__content-link{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__surface,.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__caret-surface-top,.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__caret-surface-bottom{background-color:#fff}.mdc-tooltip__surface{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.75rem;font-size:var(--mdc-typography-caption-font-size, .75rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit)}.mdc-tooltip--rich .mdc-tooltip__surface{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;border-radius:4px;line-height:20px}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__surface .mdc-tooltip__title{display:block;margin-top:0;line-height:20px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-subtitle2-font-size, .875rem);line-height:1.375rem;line-height:var(--mdc-typography-subtitle2-line-height, 1.375rem);font-weight:500;font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:.0071428571em;letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, .0071428571em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle2-text-transform, inherit)}.mdc-tooltip__surface .mdc-tooltip__title:before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-tooltip__surface .mdc-tooltip__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity .15s 0ms cubic-bezier(0,0,.2,1),transform .15s 0ms cubic-bezier(0,0,.2,1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(.4,0,1,1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface:before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface:before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:184px;margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:304px;align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;outline:1px solid transparent;z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__title,.mdc-tooltip__content{color:var(--mdc-theme-text-primary-on-background)}.mdc-tooltip__content-link{color:var(--mdc-theme-accent)}.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__surface,.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__caret-surface-top,.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__caret-surface-bottom{background-color:var(--mdc-theme-surface)}
1064
1157
  `;
1065
- var Et = Object.defineProperty, gt = Object.getOwnPropertyDescriptor, N = (i, o, t, r) => {
1066
- for (var e = r > 1 ? void 0 : r ? gt(o, t) : o, n = i.length - 1, a; n >= 0; n--)
1067
- (a = i[n]) && (e = (r ? a(o, t, e) : a(e)) || e);
1068
- return r && e && Et(o, t, e), e;
1158
+ var gt = Object.defineProperty, yt = Object.getOwnPropertyDescriptor, C = (e, o, t, r) => {
1159
+ for (var i = r > 1 ? void 0 : r ? yt(o, t) : o, n = e.length - 1, a; n >= 0; n--)
1160
+ (a = e[n]) && (i = (r ? a(o, t, i) : a(i)) || i);
1161
+ return r && i && gt(o, t, i), i;
1069
1162
  };
1070
- let S = class extends ot {
1163
+ let R = class extends st {
1071
1164
  constructor() {
1072
- super(...arguments), this.mdcFoundationClass = mt;
1165
+ super(...arguments), this.mdcFoundationClass = Et;
1073
1166
  }
1074
1167
  createAdapter() {
1075
1168
  return {
1076
- ...at(this.mdcRoot),
1077
- getAttribute: (i) => this.mdcRoot.getAttribute(i),
1078
- setAttribute: (i, o) => this.mdcRoot.setAttribute(i, o),
1079
- removeAttribute: (i) => this.mdcRoot.removeAttribute(i),
1080
- getComputedStyleProperty: (i) => getComputedStyle(this.mdcRoot, i).cssText,
1081
- setStyleProperty: (i, o) => this.mdcRoot.style.setProperty(i, o),
1082
- setSurfaceAnimationStyleProperty: (i, o) => this.mdcSurface.style.setProperty(i, o),
1169
+ ...dt(this.mdcRoot),
1170
+ getAttribute: (e) => this.mdcRoot.getAttribute(e),
1171
+ setAttribute: (e, o) => this.mdcRoot.setAttribute(e, o),
1172
+ removeAttribute: (e) => this.mdcRoot.removeAttribute(e),
1173
+ getComputedStyleProperty: (e) => getComputedStyle(this.mdcRoot, e).cssText,
1174
+ setStyleProperty: (e, o) => this.mdcRoot.style.setProperty(e, o),
1175
+ setSurfaceAnimationStyleProperty: (e, o) => this.mdcSurface.style.setProperty(e, o),
1083
1176
  getViewportWidth: () => Math.max(
1084
1177
  document.documentElement.clientWidth || 0,
1085
1178
  window.innerWidth || 0
@@ -1092,54 +1185,56 @@ let S = class extends ot {
1092
1185
  width: this.mdcRoot.clientWidth,
1093
1186
  height: this.mdcRoot.clientHeight
1094
1187
  }),
1188
+ getTooltipCaretBoundingRect: () => this.mdcRoot.getBoundingClientRect() ?? null,
1095
1189
  getAnchorBoundingRect: () => {
1096
- var i;
1097
- return ((i = this.anchor) == null ? void 0 : i.getBoundingClientRect()) ?? null;
1190
+ var e;
1191
+ return ((e = this.anchor) == null ? void 0 : e.getBoundingClientRect()) ?? null;
1098
1192
  },
1099
1193
  getParentBoundingRect: () => {
1100
- var i;
1101
- return ((i = this.renderRoot.getRootNode().parentElement) == null ? void 0 : i.getBoundingClientRect()) ?? null;
1194
+ var e;
1195
+ return ((e = this.renderRoot.getRootNode().parentElement) == null ? void 0 : e.getBoundingClientRect()) ?? null;
1102
1196
  },
1103
- getAnchorAttribute: (i) => {
1197
+ getAnchorAttribute: (e) => {
1104
1198
  var o;
1105
- return ((o = this.anchor) == null ? void 0 : o.getAttribute(i)) ?? null;
1199
+ return ((o = this.anchor) == null ? void 0 : o.getAttribute(e)) ?? null;
1106
1200
  },
1107
- setAnchorAttribute: (i, o) => {
1201
+ setAnchorAttribute: (e, o) => {
1108
1202
  var t;
1109
- return (t = this.anchor) == null ? void 0 : t.setAttribute(i, o);
1203
+ return (t = this.anchor) == null ? void 0 : t.setAttribute(e, o);
1110
1204
  },
1111
1205
  isRTL: () => !1,
1112
- anchorContainsElement: (i) => {
1206
+ isInstanceOfElement: (e) => e instanceof Element,
1207
+ anchorContainsElement: (e) => {
1113
1208
  var o;
1114
- return ((o = this.anchor) == null ? void 0 : o.contains(i)) ?? !1;
1209
+ return ((o = this.anchor) == null ? void 0 : o.contains(e)) ?? !1;
1115
1210
  },
1116
- tooltipContainsElement: (i) => this.contains(i),
1211
+ tooltipContainsElement: (e) => this.contains(e),
1117
1212
  focusAnchorElement: () => {
1118
- var i;
1119
- return (i = this.anchor) == null ? void 0 : i.focus();
1213
+ var e;
1214
+ return (e = this.anchor) == null ? void 0 : e.focus();
1120
1215
  },
1121
- registerEventHandler: (i, o) => {
1216
+ registerEventHandler: (e, o) => {
1122
1217
  var t;
1123
- return (t = this.mdcRoot) == null ? void 0 : t.addEventListener(i, o);
1218
+ return (t = this.mdcRoot) == null ? void 0 : t.addEventListener(e, o);
1124
1219
  },
1125
- deregisterEventHandler: (i, o) => {
1220
+ deregisterEventHandler: (e, o) => {
1126
1221
  var t;
1127
- return (t = this.mdcRoot) == null ? void 0 : t.removeEventListener(i, o);
1222
+ return (t = this.mdcRoot) == null ? void 0 : t.removeEventListener(e, o);
1128
1223
  },
1129
- registerAnchorEventHandler: (i, o) => {
1224
+ registerAnchorEventHandler: (e, o) => {
1130
1225
  var t;
1131
- return (t = this.anchor) == null ? void 0 : t.addEventListener(i, o);
1226
+ return (t = this.anchor) == null ? void 0 : t.addEventListener(e, o);
1132
1227
  },
1133
- deregisterAnchorEventHandler: (i, o) => {
1228
+ deregisterAnchorEventHandler: (e, o) => {
1134
1229
  var t;
1135
- return (t = this.anchor) == null ? void 0 : t.removeEventListener(i, o);
1230
+ return (t = this.anchor) == null ? void 0 : t.removeEventListener(e, o);
1136
1231
  },
1137
- registerDocumentEventHandler: (i, o) => document.addEventListener(i, o),
1138
- deregisterDocumentEventHandler: (i, o) => document.removeEventListener(i, o),
1139
- registerWindowEventHandler: (i, o) => window.addEventListener(i, o),
1140
- deregisterWindowEventHandler: (i, o) => window.removeEventListener(i, o),
1141
- notifyHidden: () => this.dispatchEvent(new Event(dt.HIDDEN)),
1142
- getTooltipCaretBoundingRect: () => null,
1232
+ registerDocumentEventHandler: (e, o) => document.addEventListener(e, o),
1233
+ deregisterDocumentEventHandler: (e, o) => document.removeEventListener(e, o),
1234
+ registerWindowEventHandler: (e, o) => window.addEventListener(e, o),
1235
+ deregisterWindowEventHandler: (e, o) => window.removeEventListener(e, o),
1236
+ notifyHidden: () => this.dispatchEvent(new Event(tt.HIDDEN)),
1237
+ notifyShown: () => this.dispatchEvent(new Event(tt.SHOWN)),
1143
1238
  setTooltipCaretStyle: () => {
1144
1239
  },
1145
1240
  clearTooltipCaretStyles: () => {
@@ -1147,12 +1242,12 @@ let S = class extends ot {
1147
1242
  getActiveElement: () => document.activeElement
1148
1243
  };
1149
1244
  }
1150
- updated(i) {
1151
- super.updated(i), this.showDelay !== void 0 && !isNaN(this.showDelay) && this.mdcFoundation.setShowDelay(this.showDelay), this.hideDelay !== void 0 && !isNaN(this.hideDelay) && this.mdcFoundation.setHideDelay(this.hideDelay);
1245
+ updated(e) {
1246
+ super.updated(e), this.showDelay !== void 0 && !isNaN(this.showDelay) && this.mdcFoundation.setShowDelay(this.showDelay), this.hideDelay !== void 0 && !isNaN(this.hideDelay) && this.mdcFoundation.setHideDelay(this.hideDelay);
1152
1247
  }
1153
1248
  async firstUpdated() {
1154
- var i, o, t, r, e;
1155
- this.mdcFoundation !== void 0 && this.mdcFoundation.destroy(), this.mdcFoundation = new this.mdcFoundationClass(this.createAdapter()), (i = this.anchor) == null || i.addEventListener(
1249
+ var e, o, t, r, i;
1250
+ this.mdcFoundation !== void 0 && this.mdcFoundation.destroy(), this.mdcFoundation = new this.mdcFoundationClass(this.createAdapter()), (e = this.anchor) == null || e.addEventListener(
1156
1251
  "click",
1157
1252
  () => this.mdcFoundation.handleAnchorClick()
1158
1253
  ), (o = this.anchor) == null || o.addEventListener(
@@ -1164,14 +1259,14 @@ let S = class extends ot {
1164
1259
  ), this.persistent || ((r = this.anchor) == null || r.addEventListener(
1165
1260
  "mouseleave",
1166
1261
  () => this.mdcFoundation.handleAnchorMouseLeave()
1167
- ), (e = this.anchor) == null || e.addEventListener(
1262
+ ), (i = this.anchor) == null || i.addEventListener(
1168
1263
  "touchend",
1169
1264
  () => this.mdcFoundation.handleAnchorTouchend()
1170
1265
  ));
1171
1266
  }
1172
1267
  disconnectedCallback() {
1173
- var i, o, t, r, e;
1174
- super.connectedCallback(), (i = this.anchor) == null || i.removeEventListener(
1268
+ var e, o, t, r, i;
1269
+ super.connectedCallback(), (e = this.anchor) == null || e.removeEventListener(
1175
1270
  "click",
1176
1271
  () => this.mdcFoundation.handleAnchorClick()
1177
1272
  ), (o = this.anchor) == null || o.removeEventListener(
@@ -1183,7 +1278,7 @@ let S = class extends ot {
1183
1278
  ), (r = this.anchor) == null || r.removeEventListener(
1184
1279
  "touchstart",
1185
1280
  () => this.mdcFoundation.handleAnchorTouchstart()
1186
- ), (e = this.anchor) == null || e.removeEventListener(
1281
+ ), (i = this.anchor) == null || i.removeEventListener(
1187
1282
  "touchend",
1188
1283
  () => this.mdcFoundation.handleAnchorTouchend()
1189
1284
  );
@@ -1209,40 +1304,40 @@ let S = class extends ot {
1209
1304
  `;
1210
1305
  }
1211
1306
  };
1212
- S.styles = [
1213
- it`
1214
- ${rt(ft)}
1307
+ R.styles = [
1308
+ nt`
1309
+ ${at(vt)}
1215
1310
  `
1216
1311
  ];
1217
- N([
1218
- et(".mdc-tooltip")
1219
- ], S.prototype, "mdcRoot", 2);
1220
- N([
1221
- et(".mdc-tooltip__surface")
1222
- ], S.prototype, "mdcSurface", 2);
1223
- N([
1224
- L({ type: Object })
1225
- ], S.prototype, "anchor", 2);
1226
- N([
1227
- L()
1228
- ], S.prototype, "richTitle", 2);
1229
- N([
1230
- L({ type: Boolean, reflect: !0 })
1231
- ], S.prototype, "rich", 2);
1232
- N([
1233
- L({ type: Boolean, reflect: !0 })
1234
- ], S.prototype, "persistent", 2);
1235
- N([
1236
- L({ type: Number })
1237
- ], S.prototype, "showDelay", 2);
1238
- N([
1239
- L({ type: Number })
1240
- ], S.prototype, "hideDelay", 2);
1241
- S = N([
1242
- nt("cv-tooltip")
1243
- ], S);
1244
- const wt = S;
1312
+ C([
1313
+ ot(".mdc-tooltip")
1314
+ ], R.prototype, "mdcRoot", 2);
1315
+ C([
1316
+ ot(".mdc-tooltip__surface")
1317
+ ], R.prototype, "mdcSurface", 2);
1318
+ C([
1319
+ M({ type: Object })
1320
+ ], R.prototype, "anchor", 2);
1321
+ C([
1322
+ M()
1323
+ ], R.prototype, "richTitle", 2);
1324
+ C([
1325
+ M({ type: Boolean, reflect: !0 })
1326
+ ], R.prototype, "rich", 2);
1327
+ C([
1328
+ M({ type: Boolean, reflect: !0 })
1329
+ ], R.prototype, "persistent", 2);
1330
+ C([
1331
+ M({ type: Number })
1332
+ ], R.prototype, "showDelay", 2);
1333
+ C([
1334
+ M({ type: Number })
1335
+ ], R.prototype, "hideDelay", 2);
1336
+ R = C([
1337
+ lt("cv-tooltip")
1338
+ ], R);
1339
+ const St = R;
1245
1340
  export {
1246
- S as CovalentTooltip,
1247
- wt as default
1341
+ R as CovalentTooltip,
1342
+ St as default
1248
1343
  };