@covalent/components 6.2.0 → 6.2.2

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 (184) hide show
  1. package/action-ribbon.js +1 -1
  2. package/action-ribbon.mjs +9 -9
  3. package/alert.js +1 -1
  4. package/alert.mjs +9 -9
  5. package/app-shell/app-shell.d.ts +2 -0
  6. package/app-shell/app-shell.d.ts.map +1 -1
  7. package/app-shell.js +7 -7
  8. package/app-shell.mjs +50 -42
  9. package/{base-element-d5abe37a.js → base-element.mjs} +1 -1
  10. package/button.js +1 -1
  11. package/button.mjs +14 -14
  12. package/card.js +1 -1
  13. package/card.mjs +3 -3
  14. package/check-list-item.js +1 -1
  15. package/check-list-item.mjs +18 -18
  16. package/checkbox.js +1 -1
  17. package/checkbox.mjs +16 -16
  18. package/circular-progress.js +1 -1
  19. package/circular-progress.mjs +7 -7
  20. package/{class-map-50b8edb4.js → class-map.mjs} +3 -3
  21. package/code-snippet.js +1 -1
  22. package/code-snippet.mjs +4 -4
  23. package/dialog.js +1 -1
  24. package/dialog.mjs +162 -14
  25. package/{dialog-85c21333.mjs → dialog2.mjs} +9 -9
  26. package/directive-helpers.mjs +5 -0
  27. package/drawer.js +1 -1
  28. package/drawer.mjs +10 -10
  29. package/empty-state.js +1 -1
  30. package/empty-state.mjs +4 -4
  31. package/event-options.mjs +5 -0
  32. package/{form-element-d4e7bcdb.js → form-element.mjs} +1 -1
  33. package/{foundation-3f55a9dc.js → foundation.mjs} +3 -3
  34. package/icon-button.js +1 -1
  35. package/icon-button.mjs +13 -13
  36. package/icon-check-toggle.js +1 -1
  37. package/icon-check-toggle.mjs +16 -16
  38. package/icon-radio/icon-radio-toggle.d.ts +2 -3
  39. package/icon-radio/icon-radio-toggle.d.ts.map +1 -1
  40. package/icon-radio-toggle.js +8 -14
  41. package/icon-radio-toggle.mjs +45 -63
  42. package/icon.js +1 -1
  43. package/icon.mjs +3 -3
  44. package/if-defined.mjs +5 -0
  45. package/index.js +1 -1
  46. package/index.mjs +39 -39
  47. package/linear-progress.js +1 -1
  48. package/linear-progress.mjs +9 -9
  49. package/list/list-expansion.d.ts +3 -2
  50. package/list/list-expansion.d.ts.map +1 -1
  51. package/list/list-item.d.ts.map +1 -1
  52. package/list/list.d.ts +5 -0
  53. package/list/list.d.ts.map +1 -1
  54. package/list-expansion.js +8 -8
  55. package/list-expansion.mjs +45 -40
  56. package/list-item.js +1 -1
  57. package/list-item.mjs +9 -18
  58. package/list-item2.mjs +44 -0
  59. package/list.js +1 -1
  60. package/list.mjs +5 -20
  61. package/{list-28b77a61.mjs → list2.mjs} +36 -16
  62. package/menu.js +1 -1
  63. package/menu.mjs +16 -16
  64. package/{mwc-checkbox-base-435c1f1d.js → mwc-checkbox-base.mjs} +1 -1
  65. package/{mwc-checkbox.css-956e3d6c.js → mwc-checkbox.css.mjs} +1 -1
  66. package/{mwc-drawer-base-f44fcf34.js → mwc-drawer-base.mjs} +1 -1
  67. package/{mwc-icon-b96fb867.js → mwc-icon.mjs} +3 -3
  68. package/{mwc-line-ripple-directive-a97ce725.js → mwc-line-ripple-directive.mjs} +1 -1
  69. package/{mwc-list-base-7d5f7278.js → mwc-list-base.mjs} +1 -1
  70. package/{mwc-list-item-base-803b9771.js → mwc-list-item-base.mjs} +1 -1
  71. package/{mwc-list-item.css-401e2407.js → mwc-list-item.css.mjs} +1 -1
  72. package/{mwc-menu-base-ac49fe54.js → mwc-menu-base.mjs} +1 -1
  73. package/{mwc-radio-base-442d495a.js → mwc-radio-base.mjs} +1 -1
  74. package/{mwc-radio.css-388ad26d.js → mwc-radio.css.mjs} +1 -1
  75. package/{mwc-slider.css-48f02f1e.js → mwc-slider.css.mjs} +16 -16
  76. package/{mwc-tab-base-1a19b299.js → mwc-tab-base.mjs} +1 -1
  77. package/{mwc-top-app-bar-base-14e0a018.js → mwc-top-app-bar-base.mjs} +1 -1
  78. package/nav-list-item.js +1 -1
  79. package/nav-list-item.mjs +14 -14
  80. package/{observer-a096ab43.js → observer.mjs} +1 -1
  81. package/package.json +1 -1
  82. package/{property-074570d1.js → property.mjs} +1 -1
  83. package/{query-assigned-nodes-9ec0fa5f.js → query-assigned-nodes.mjs} +1 -1
  84. package/query.mjs +5 -0
  85. package/radio-list-item.js +1 -1
  86. package/radio-list-item.mjs +18 -18
  87. package/radio.js +1 -1
  88. package/radio.mjs +17 -17
  89. package/{ripple-handlers-2176f137.js → ripple-handlers.mjs} +7 -7
  90. package/select.js +1 -1
  91. package/select.mjs +20 -20
  92. package/side-sheet.js +1 -1
  93. package/side-sheet.mjs +10 -10
  94. package/slider-range.js +1 -1
  95. package/slider-range.mjs +14 -14
  96. package/slider.js +1 -1
  97. package/slider.mjs +14 -14
  98. package/snackbar.js +1 -1
  99. package/snackbar.mjs +9 -9
  100. package/{state-949232e6.js → state.mjs} +1 -1
  101. package/status-header-item.js +1 -1
  102. package/status-header-item.mjs +2 -2
  103. package/status-header.js +1 -1
  104. package/status-header.mjs +3 -3
  105. package/{style-map-3056a771.js → style-map.mjs} +1 -1
  106. package/style.css +1 -1
  107. package/switch.js +1 -1
  108. package/switch.mjs +14 -14
  109. package/tab-bar.js +1 -1
  110. package/tab-bar.mjs +13 -13
  111. package/tab.js +1 -1
  112. package/tab.mjs +13 -13
  113. package/text-lockup.js +1 -1
  114. package/text-lockup.mjs +3 -3
  115. package/textarea.js +1 -1
  116. package/textarea.mjs +15 -15
  117. package/textfield.js +1 -1
  118. package/textfield.mjs +132 -41
  119. package/{textfield-276b0ded.mjs → textfield2.mjs} +13 -13
  120. package/toolbar.js +1 -1
  121. package/toolbar.mjs +8 -8
  122. package/tooltip.js +1 -1
  123. package/tooltip.mjs +6 -6
  124. package/top-app-bar-fixed.js +1 -1
  125. package/top-app-bar-fixed.mjs +9 -9
  126. package/top-app-bar.js +1 -1
  127. package/top-app-bar.mjs +6 -30
  128. package/{top-app-bar-a236c3bc.mjs → top-app-bar2.mjs} +1 -1
  129. package/tree-list-item.js +1 -1
  130. package/tree-list-item.mjs +3 -3
  131. package/tree-list.js +1 -1
  132. package/tree-list.mjs +1 -1
  133. package/{tslib.es6-6b53b818.js → tslib.es6.mjs} +1 -1
  134. package/typography.js +1 -1
  135. package/typography.mjs +2 -2
  136. package/{utils-a8190a39.js → utils.mjs} +1 -1
  137. package/aria-property-fa2717fe.mjs +0 -41
  138. package/base-element-c3dc926e.mjs +0 -28
  139. package/class-map-08c84aeb.mjs +0 -62
  140. package/dialog-8ee07177.js +0 -162
  141. package/directive-helpers-725a181d.mjs +0 -11
  142. package/directive-helpers-fce8cf91.js +0 -5
  143. package/event-options-3937d997.mjs +0 -14
  144. package/event-options-7bc382d8.js +0 -5
  145. package/form-element-6dbd7afa.mjs +0 -50
  146. package/foundation-2334d146.mjs +0 -60
  147. package/foundation-c580100a.mjs +0 -152
  148. package/if-defined-639ed018.mjs +0 -10
  149. package/if-defined-cb12d481.js +0 -5
  150. package/inert.esm-359d4581.mjs +0 -640
  151. package/list-170cca53.js +0 -5
  152. package/list-item-26ddcc43.js +0 -8
  153. package/list-item-c1e72538.mjs +0 -43
  154. package/mwc-checkbox-base-10e977f2.mjs +0 -198
  155. package/mwc-checkbox.css-b7abc7fd.mjs +0 -10
  156. package/mwc-drawer-base-b2b772c3.mjs +0 -335
  157. package/mwc-icon-c7013880.mjs +0 -26
  158. package/mwc-line-ripple-directive-c3e1f04a.mjs +0 -653
  159. package/mwc-list-base-c0f8af1c.mjs +0 -840
  160. package/mwc-list-item-base-acef0223.mjs +0 -202
  161. package/mwc-list-item.css-b5481d96.mjs +0 -17
  162. package/mwc-menu-base-8970b43d.mjs +0 -1145
  163. package/mwc-radio-base-c29e6f42.mjs +0 -528
  164. package/mwc-radio.css-4694aa9c.mjs +0 -10
  165. package/mwc-slider.css-336f809b.mjs +0 -956
  166. package/mwc-tab-base-7fb3d339.mjs +0 -694
  167. package/mwc-top-app-bar-base-79c87e69.mjs +0 -380
  168. package/observer-be7b92e2.mjs +0 -32
  169. package/property-ca27685b.mjs +0 -20
  170. package/query-1e7846ea.mjs +0 -25
  171. package/query-2ba749b7.js +0 -5
  172. package/query-assigned-elements-514e5265.mjs +0 -615
  173. package/query-assigned-nodes-bea12e0c.mjs +0 -17
  174. package/ripple-handlers-227497d3.mjs +0 -761
  175. package/state-6f7e570d.mjs +0 -12
  176. package/style-map-2cb0fb63.mjs +0 -40
  177. package/textfield-507c6a06.js +0 -133
  178. package/top-app-bar-34e85527.js +0 -6
  179. package/tslib.es6-b5e819a6.mjs +0 -82
  180. package/utils-dc65fdc9.mjs +0 -52
  181. /package/{aria-property-849c8816.js → aria-property.mjs} +0 -0
  182. /package/{foundation-e830bd94.js → foundation2.mjs} +0 -0
  183. /package/{inert.esm-2cee6f2e.js → inert.esm.mjs} +0 -0
  184. /package/{query-assigned-elements-07e38f46.js → query-assigned-elements.mjs} +0 -0
@@ -1,615 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2019 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
6
- const H = window, I = H.ShadowRoot && (H.ShadyCSS === void 0 || H.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, V = Symbol(), W = /* @__PURE__ */ new WeakMap();
7
- let st = class {
8
- constructor(t, e, s) {
9
- if (this._$cssResult$ = !0, s !== V)
10
- throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
11
- this.cssText = t, this.t = e;
12
- }
13
- get styleSheet() {
14
- let t = this.o;
15
- const e = this.t;
16
- if (I && t === void 0) {
17
- const s = e !== void 0 && e.length === 1;
18
- s && (t = W.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && W.set(e, t));
19
- }
20
- return t;
21
- }
22
- toString() {
23
- return this.cssText;
24
- }
25
- };
26
- const lt = (n) => new st(typeof n == "string" ? n : n + "", void 0, V), bt = (n, ...t) => {
27
- const e = n.length === 1 ? n[0] : t.reduce((s, i, r) => s + ((o) => {
28
- if (o._$cssResult$ === !0)
29
- return o.cssText;
30
- if (typeof o == "number")
31
- return o;
32
- throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
33
- })(i) + n[r + 1], n[0]);
34
- return new st(e, n, V);
35
- }, ht = (n, t) => {
36
- I ? n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet) : t.forEach((e) => {
37
- const s = document.createElement("style"), i = H.litNonce;
38
- i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, n.appendChild(s);
39
- });
40
- }, q = I ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
41
- let e = "";
42
- for (const s of t.cssRules)
43
- e += s.cssText;
44
- return lt(e);
45
- })(n) : n;
46
- /**
47
- * @license
48
- * Copyright 2017 Google LLC
49
- * SPDX-License-Identifier: BSD-3-Clause
50
- */
51
- var k;
52
- const T = window, K = T.trustedTypes, at = K ? K.emptyScript : "", Z = T.reactiveElementPolyfillSupport, D = { toAttribute(n, t) {
53
- switch (t) {
54
- case Boolean:
55
- n = n ? at : null;
56
- break;
57
- case Object:
58
- case Array:
59
- n = n == null ? n : JSON.stringify(n);
60
- }
61
- return n;
62
- }, fromAttribute(n, t) {
63
- let e = n;
64
- switch (t) {
65
- case Boolean:
66
- e = n !== null;
67
- break;
68
- case Number:
69
- e = n === null ? null : Number(n);
70
- break;
71
- case Object:
72
- case Array:
73
- try {
74
- e = JSON.parse(n);
75
- } catch {
76
- e = null;
77
- }
78
- }
79
- return e;
80
- } }, it = (n, t) => t !== n && (t == t || n == n), M = { attribute: !0, type: String, converter: D, reflect: !1, hasChanged: it };
81
- let f = class extends HTMLElement {
82
- constructor() {
83
- super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this.u();
84
- }
85
- static addInitializer(t) {
86
- var e;
87
- this.finalize(), ((e = this.h) !== null && e !== void 0 ? e : this.h = []).push(t);
88
- }
89
- static get observedAttributes() {
90
- this.finalize();
91
- const t = [];
92
- return this.elementProperties.forEach((e, s) => {
93
- const i = this._$Ep(s, e);
94
- i !== void 0 && (this._$Ev.set(i, s), t.push(i));
95
- }), t;
96
- }
97
- static createProperty(t, e = M) {
98
- if (e.state && (e.attribute = !1), this.finalize(), this.elementProperties.set(t, e), !e.noAccessor && !this.prototype.hasOwnProperty(t)) {
99
- const s = typeof t == "symbol" ? Symbol() : "__" + t, i = this.getPropertyDescriptor(t, s, e);
100
- i !== void 0 && Object.defineProperty(this.prototype, t, i);
101
- }
102
- }
103
- static getPropertyDescriptor(t, e, s) {
104
- return { get() {
105
- return this[e];
106
- }, set(i) {
107
- const r = this[t];
108
- this[e] = i, this.requestUpdate(t, r, s);
109
- }, configurable: !0, enumerable: !0 };
110
- }
111
- static getPropertyOptions(t) {
112
- return this.elementProperties.get(t) || M;
113
- }
114
- static finalize() {
115
- if (this.hasOwnProperty("finalized"))
116
- return !1;
117
- this.finalized = !0;
118
- const t = Object.getPrototypeOf(this);
119
- if (t.finalize(), t.h !== void 0 && (this.h = [...t.h]), this.elementProperties = new Map(t.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
120
- const e = this.properties, s = [...Object.getOwnPropertyNames(e), ...Object.getOwnPropertySymbols(e)];
121
- for (const i of s)
122
- this.createProperty(i, e[i]);
123
- }
124
- return this.elementStyles = this.finalizeStyles(this.styles), !0;
125
- }
126
- static finalizeStyles(t) {
127
- const e = [];
128
- if (Array.isArray(t)) {
129
- const s = new Set(t.flat(1 / 0).reverse());
130
- for (const i of s)
131
- e.unshift(q(i));
132
- } else
133
- t !== void 0 && e.push(q(t));
134
- return e;
135
- }
136
- static _$Ep(t, e) {
137
- const s = e.attribute;
138
- return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
139
- }
140
- u() {
141
- var t;
142
- this._$E_ = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$Eg(), this.requestUpdate(), (t = this.constructor.h) === null || t === void 0 || t.forEach((e) => e(this));
143
- }
144
- addController(t) {
145
- var e, s;
146
- ((e = this._$ES) !== null && e !== void 0 ? e : this._$ES = []).push(t), this.renderRoot !== void 0 && this.isConnected && ((s = t.hostConnected) === null || s === void 0 || s.call(t));
147
- }
148
- removeController(t) {
149
- var e;
150
- (e = this._$ES) === null || e === void 0 || e.splice(this._$ES.indexOf(t) >>> 0, 1);
151
- }
152
- _$Eg() {
153
- this.constructor.elementProperties.forEach((t, e) => {
154
- this.hasOwnProperty(e) && (this._$Ei.set(e, this[e]), delete this[e]);
155
- });
156
- }
157
- createRenderRoot() {
158
- var t;
159
- const e = (t = this.shadowRoot) !== null && t !== void 0 ? t : this.attachShadow(this.constructor.shadowRootOptions);
160
- return ht(e, this.constructor.elementStyles), e;
161
- }
162
- connectedCallback() {
163
- var t;
164
- this.renderRoot === void 0 && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$ES) === null || t === void 0 || t.forEach((e) => {
165
- var s;
166
- return (s = e.hostConnected) === null || s === void 0 ? void 0 : s.call(e);
167
- });
168
- }
169
- enableUpdating(t) {
170
- }
171
- disconnectedCallback() {
172
- var t;
173
- (t = this._$ES) === null || t === void 0 || t.forEach((e) => {
174
- var s;
175
- return (s = e.hostDisconnected) === null || s === void 0 ? void 0 : s.call(e);
176
- });
177
- }
178
- attributeChangedCallback(t, e, s) {
179
- this._$AK(t, s);
180
- }
181
- _$EO(t, e, s = M) {
182
- var i;
183
- const r = this.constructor._$Ep(t, s);
184
- if (r !== void 0 && s.reflect === !0) {
185
- const o = (((i = s.converter) === null || i === void 0 ? void 0 : i.toAttribute) !== void 0 ? s.converter : D).toAttribute(e, s.type);
186
- this._$El = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$El = null;
187
- }
188
- }
189
- _$AK(t, e) {
190
- var s;
191
- const i = this.constructor, r = i._$Ev.get(t);
192
- if (r !== void 0 && this._$El !== r) {
193
- const o = i.getPropertyOptions(r), d = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((s = o.converter) === null || s === void 0 ? void 0 : s.fromAttribute) !== void 0 ? o.converter : D;
194
- this._$El = r, this[r] = d.fromAttribute(e, o.type), this._$El = null;
195
- }
196
- }
197
- requestUpdate(t, e, s) {
198
- let i = !0;
199
- t !== void 0 && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || it)(this[t], e) ? (this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$El !== t && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t, s))) : i = !1), !this.isUpdatePending && i && (this._$E_ = this._$Ej());
200
- }
201
- async _$Ej() {
202
- this.isUpdatePending = !0;
203
- try {
204
- await this._$E_;
205
- } catch (e) {
206
- Promise.reject(e);
207
- }
208
- const t = this.scheduleUpdate();
209
- return t != null && await t, !this.isUpdatePending;
210
- }
211
- scheduleUpdate() {
212
- return this.performUpdate();
213
- }
214
- performUpdate() {
215
- var t;
216
- if (!this.isUpdatePending)
217
- return;
218
- this.hasUpdated, this._$Ei && (this._$Ei.forEach((i, r) => this[r] = i), this._$Ei = void 0);
219
- let e = !1;
220
- const s = this._$AL;
221
- try {
222
- e = this.shouldUpdate(s), e ? (this.willUpdate(s), (t = this._$ES) === null || t === void 0 || t.forEach((i) => {
223
- var r;
224
- return (r = i.hostUpdate) === null || r === void 0 ? void 0 : r.call(i);
225
- }), this.update(s)) : this._$Ek();
226
- } catch (i) {
227
- throw e = !1, this._$Ek(), i;
228
- }
229
- e && this._$AE(s);
230
- }
231
- willUpdate(t) {
232
- }
233
- _$AE(t) {
234
- var e;
235
- (e = this._$ES) === null || e === void 0 || e.forEach((s) => {
236
- var i;
237
- return (i = s.hostUpdated) === null || i === void 0 ? void 0 : i.call(s);
238
- }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
239
- }
240
- _$Ek() {
241
- this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
242
- }
243
- get updateComplete() {
244
- return this.getUpdateComplete();
245
- }
246
- getUpdateComplete() {
247
- return this._$E_;
248
- }
249
- shouldUpdate(t) {
250
- return !0;
251
- }
252
- update(t) {
253
- this._$EC !== void 0 && (this._$EC.forEach((e, s) => this._$EO(s, this[s], e)), this._$EC = void 0), this._$Ek();
254
- }
255
- updated(t) {
256
- }
257
- firstUpdated(t) {
258
- }
259
- };
260
- f.finalized = !0, f.elementProperties = /* @__PURE__ */ new Map(), f.elementStyles = [], f.shadowRootOptions = { mode: "open" }, Z == null || Z({ ReactiveElement: f }), ((k = T.reactiveElementVersions) !== null && k !== void 0 ? k : T.reactiveElementVersions = []).push("1.5.0");
261
- /**
262
- * @license
263
- * Copyright 2017 Google LLC
264
- * SPDX-License-Identifier: BSD-3-Clause
265
- */
266
- var L;
267
- const N = window, m = N.trustedTypes, J = m ? m.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, v = `lit$${(Math.random() + "").slice(9)}$`, nt = "?" + v, dt = `<${nt}>`, y = document, b = (n = "") => y.createComment(n), C = (n) => n === null || typeof n != "object" && typeof n != "function", ot = Array.isArray, ct = (n) => ot(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", S = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, F = /-->/g, G = />/g, _ = RegExp(`>|[
268
- \f\r](?:([^\\s"'>=/]+)([
269
- \f\r]*=[
270
- \f\r]*(?:[^
271
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Q = /'/g, X = /"/g, rt = /^(?:script|style|textarea|title)$/i, ut = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), wt = ut(1), g = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), Y = /* @__PURE__ */ new WeakMap(), A = y.createTreeWalker(y, 129, null, !1), pt = (n, t) => {
272
- const e = n.length - 1, s = [];
273
- let i, r = t === 2 ? "<svg>" : "", o = S;
274
- for (let l = 0; l < e; l++) {
275
- const h = n[l];
276
- let $, a, c = -1, p = 0;
277
- for (; p < h.length && (o.lastIndex = p, a = o.exec(h), a !== null); )
278
- p = o.lastIndex, o === S ? a[1] === "!--" ? o = F : a[1] !== void 0 ? o = G : a[2] !== void 0 ? (rt.test(a[2]) && (i = RegExp("</" + a[2], "g")), o = _) : a[3] !== void 0 && (o = _) : o === _ ? a[0] === ">" ? (o = i ?? S, c = -1) : a[1] === void 0 ? c = -2 : (c = o.lastIndex - a[2].length, $ = a[1], o = a[3] === void 0 ? _ : a[3] === '"' ? X : Q) : o === X || o === Q ? o = _ : o === F || o === G ? o = S : (o = _, i = void 0);
279
- const P = o === _ && n[l + 1].startsWith("/>") ? " " : "";
280
- r += o === S ? h + dt : c >= 0 ? (s.push($), h.slice(0, c) + "$lit$" + h.slice(c) + v + P) : h + v + (c === -2 ? (s.push(void 0), l) : P);
281
- }
282
- const d = r + (n[e] || "<?>") + (t === 2 ? "</svg>" : "");
283
- if (!Array.isArray(n) || !n.hasOwnProperty("raw"))
284
- throw Error("invalid template strings array");
285
- return [J !== void 0 ? J.createHTML(d) : d, s];
286
- };
287
- class w {
288
- constructor({ strings: t, _$litType$: e }, s) {
289
- let i;
290
- this.parts = [];
291
- let r = 0, o = 0;
292
- const d = t.length - 1, l = this.parts, [h, $] = pt(t, e);
293
- if (this.el = w.createElement(h, s), A.currentNode = this.el.content, e === 2) {
294
- const a = this.el.content, c = a.firstChild;
295
- c.remove(), a.append(...c.childNodes);
296
- }
297
- for (; (i = A.nextNode()) !== null && l.length < d; ) {
298
- if (i.nodeType === 1) {
299
- if (i.hasAttributes()) {
300
- const a = [];
301
- for (const c of i.getAttributeNames())
302
- if (c.endsWith("$lit$") || c.startsWith(v)) {
303
- const p = $[o++];
304
- if (a.push(c), p !== void 0) {
305
- const P = i.getAttribute(p.toLowerCase() + "$lit$").split(v), U = /([.?@])?(.*)/.exec(p);
306
- l.push({ type: 1, index: r, name: U[2], strings: P, ctor: U[1] === "." ? vt : U[1] === "?" ? ft : U[1] === "@" ? At : R });
307
- } else
308
- l.push({ type: 6, index: r });
309
- }
310
- for (const c of a)
311
- i.removeAttribute(c);
312
- }
313
- if (rt.test(i.tagName)) {
314
- const a = i.textContent.split(v), c = a.length - 1;
315
- if (c > 0) {
316
- i.textContent = m ? m.emptyScript : "";
317
- for (let p = 0; p < c; p++)
318
- i.append(a[p], b()), A.nextNode(), l.push({ type: 2, index: ++r });
319
- i.append(a[c], b());
320
- }
321
- }
322
- } else if (i.nodeType === 8)
323
- if (i.data === nt)
324
- l.push({ type: 2, index: r });
325
- else {
326
- let a = -1;
327
- for (; (a = i.data.indexOf(v, a + 1)) !== -1; )
328
- l.push({ type: 7, index: r }), a += v.length - 1;
329
- }
330
- r++;
331
- }
332
- }
333
- static createElement(t, e) {
334
- const s = y.createElement("template");
335
- return s.innerHTML = t, s;
336
- }
337
- }
338
- function E(n, t, e = n, s) {
339
- var i, r, o, d;
340
- if (t === g)
341
- return t;
342
- let l = s !== void 0 ? (i = e._$Co) === null || i === void 0 ? void 0 : i[s] : e._$Cl;
343
- const h = C(t) ? void 0 : t._$litDirective$;
344
- return (l == null ? void 0 : l.constructor) !== h && ((r = l == null ? void 0 : l._$AO) === null || r === void 0 || r.call(l, !1), h === void 0 ? l = void 0 : (l = new h(n), l._$AT(n, e, s)), s !== void 0 ? ((o = (d = e)._$Co) !== null && o !== void 0 ? o : d._$Co = [])[s] = l : e._$Cl = l), l !== void 0 && (t = E(n, l._$AS(n, t.values), l, s)), t;
345
- }
346
- class $t {
347
- constructor(t, e) {
348
- this.u = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
349
- }
350
- get parentNode() {
351
- return this._$AM.parentNode;
352
- }
353
- get _$AU() {
354
- return this._$AM._$AU;
355
- }
356
- v(t) {
357
- var e;
358
- const { el: { content: s }, parts: i } = this._$AD, r = ((e = t == null ? void 0 : t.creationScope) !== null && e !== void 0 ? e : y).importNode(s, !0);
359
- A.currentNode = r;
360
- let o = A.nextNode(), d = 0, l = 0, h = i[0];
361
- for (; h !== void 0; ) {
362
- if (d === h.index) {
363
- let $;
364
- h.type === 2 ? $ = new x(o, o.nextSibling, this, t) : h.type === 1 ? $ = new h.ctor(o, h.name, h.strings, this, t) : h.type === 6 && ($ = new mt(o, this, t)), this.u.push($), h = i[++l];
365
- }
366
- d !== (h == null ? void 0 : h.index) && (o = A.nextNode(), d++);
367
- }
368
- return r;
369
- }
370
- p(t) {
371
- let e = 0;
372
- for (const s of this.u)
373
- s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
374
- }
375
- }
376
- class x {
377
- constructor(t, e, s, i) {
378
- var r;
379
- this.type = 2, this._$AH = u, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$Cm = (r = i == null ? void 0 : i.isConnected) === null || r === void 0 || r;
380
- }
381
- get _$AU() {
382
- var t, e;
383
- return (e = (t = this._$AM) === null || t === void 0 ? void 0 : t._$AU) !== null && e !== void 0 ? e : this._$Cm;
384
- }
385
- get parentNode() {
386
- let t = this._$AA.parentNode;
387
- const e = this._$AM;
388
- return e !== void 0 && t.nodeType === 11 && (t = e.parentNode), t;
389
- }
390
- get startNode() {
391
- return this._$AA;
392
- }
393
- get endNode() {
394
- return this._$AB;
395
- }
396
- _$AI(t, e = this) {
397
- t = E(this, t, e), C(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== g && this.g(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : ct(t) ? this.k(t) : this.g(t);
398
- }
399
- O(t, e = this._$AB) {
400
- return this._$AA.parentNode.insertBefore(t, e);
401
- }
402
- T(t) {
403
- this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
404
- }
405
- g(t) {
406
- this._$AH !== u && C(this._$AH) ? this._$AA.nextSibling.data = t : this.T(y.createTextNode(t)), this._$AH = t;
407
- }
408
- $(t) {
409
- var e;
410
- const { values: s, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = w.createElement(i.h, this.options)), i);
411
- if (((e = this._$AH) === null || e === void 0 ? void 0 : e._$AD) === r)
412
- this._$AH.p(s);
413
- else {
414
- const o = new $t(r, this), d = o.v(this.options);
415
- o.p(s), this.T(d), this._$AH = o;
416
- }
417
- }
418
- _$AC(t) {
419
- let e = Y.get(t.strings);
420
- return e === void 0 && Y.set(t.strings, e = new w(t)), e;
421
- }
422
- k(t) {
423
- ot(this._$AH) || (this._$AH = [], this._$AR());
424
- const e = this._$AH;
425
- let s, i = 0;
426
- for (const r of t)
427
- i === e.length ? e.push(s = new x(this.O(b()), this.O(b()), this, this.options)) : s = e[i], s._$AI(r), i++;
428
- i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
429
- }
430
- _$AR(t = this._$AA.nextSibling, e) {
431
- var s;
432
- for ((s = this._$AP) === null || s === void 0 || s.call(this, !1, !0, e); t && t !== this._$AB; ) {
433
- const i = t.nextSibling;
434
- t.remove(), t = i;
435
- }
436
- }
437
- setConnected(t) {
438
- var e;
439
- this._$AM === void 0 && (this._$Cm = t, (e = this._$AP) === null || e === void 0 || e.call(this, t));
440
- }
441
- }
442
- class R {
443
- constructor(t, e, s, i, r) {
444
- this.type = 1, this._$AH = u, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = r, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = u;
445
- }
446
- get tagName() {
447
- return this.element.tagName;
448
- }
449
- get _$AU() {
450
- return this._$AM._$AU;
451
- }
452
- _$AI(t, e = this, s, i) {
453
- const r = this.strings;
454
- let o = !1;
455
- if (r === void 0)
456
- t = E(this, t, e, 0), o = !C(t) || t !== this._$AH && t !== g, o && (this._$AH = t);
457
- else {
458
- const d = t;
459
- let l, h;
460
- for (t = r[0], l = 0; l < r.length - 1; l++)
461
- h = E(this, d[s + l], e, l), h === g && (h = this._$AH[l]), o || (o = !C(h) || h !== this._$AH[l]), h === u ? t = u : t !== u && (t += (h ?? "") + r[l + 1]), this._$AH[l] = h;
462
- }
463
- o && !i && this.j(t);
464
- }
465
- j(t) {
466
- t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
467
- }
468
- }
469
- class vt extends R {
470
- constructor() {
471
- super(...arguments), this.type = 3;
472
- }
473
- j(t) {
474
- this.element[this.name] = t === u ? void 0 : t;
475
- }
476
- }
477
- const _t = m ? m.emptyScript : "";
478
- class ft extends R {
479
- constructor() {
480
- super(...arguments), this.type = 4;
481
- }
482
- j(t) {
483
- t && t !== u ? this.element.setAttribute(this.name, _t) : this.element.removeAttribute(this.name);
484
- }
485
- }
486
- class At extends R {
487
- constructor(t, e, s, i, r) {
488
- super(t, e, s, i, r), this.type = 5;
489
- }
490
- _$AI(t, e = this) {
491
- var s;
492
- if ((t = (s = E(this, t, e, 0)) !== null && s !== void 0 ? s : u) === g)
493
- return;
494
- const i = this._$AH, r = t === u && i !== u || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, o = t !== u && (i === u || r);
495
- r && this.element.removeEventListener(this.name, this, i), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
496
- }
497
- handleEvent(t) {
498
- var e, s;
499
- typeof this._$AH == "function" ? this._$AH.call((s = (e = this.options) === null || e === void 0 ? void 0 : e.host) !== null && s !== void 0 ? s : this.element, t) : this._$AH.handleEvent(t);
500
- }
501
- }
502
- class mt {
503
- constructor(t, e, s) {
504
- this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
505
- }
506
- get _$AU() {
507
- return this._$AM._$AU;
508
- }
509
- _$AI(t) {
510
- E(this, t);
511
- }
512
- }
513
- const tt = N.litHtmlPolyfillSupport;
514
- tt == null || tt(w, x), ((L = N.litHtmlVersions) !== null && L !== void 0 ? L : N.litHtmlVersions = []).push("2.5.0");
515
- const yt = (n, t, e) => {
516
- var s, i;
517
- const r = (s = e == null ? void 0 : e.renderBefore) !== null && s !== void 0 ? s : t;
518
- let o = r._$litPart$;
519
- if (o === void 0) {
520
- const d = (i = e == null ? void 0 : e.renderBefore) !== null && i !== void 0 ? i : null;
521
- r._$litPart$ = o = new x(t.insertBefore(b(), d), d, void 0, e ?? {});
522
- }
523
- return o._$AI(n), o;
524
- };
525
- /**
526
- * @license
527
- * Copyright 2017 Google LLC
528
- * SPDX-License-Identifier: BSD-3-Clause
529
- */
530
- var j, z;
531
- class O extends f {
532
- constructor() {
533
- super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
534
- }
535
- createRenderRoot() {
536
- var t, e;
537
- const s = super.createRenderRoot();
538
- return (t = (e = this.renderOptions).renderBefore) !== null && t !== void 0 || (e.renderBefore = s.firstChild), s;
539
- }
540
- update(t) {
541
- const e = this.render();
542
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = yt(e, this.renderRoot, this.renderOptions);
543
- }
544
- connectedCallback() {
545
- var t;
546
- super.connectedCallback(), (t = this._$Do) === null || t === void 0 || t.setConnected(!0);
547
- }
548
- disconnectedCallback() {
549
- var t;
550
- super.disconnectedCallback(), (t = this._$Do) === null || t === void 0 || t.setConnected(!1);
551
- }
552
- render() {
553
- return g;
554
- }
555
- }
556
- O.finalized = !0, O._$litElement$ = !0, (j = globalThis.litElementHydrateSupport) === null || j === void 0 || j.call(globalThis, { LitElement: O });
557
- const et = globalThis.litElementPolyfillSupport;
558
- et == null || et({ LitElement: O });
559
- ((z = globalThis.litElementVersions) !== null && z !== void 0 ? z : globalThis.litElementVersions = []).push("3.2.2");
560
- /**
561
- * @license
562
- * Copyright 2017 Google LLC
563
- * SPDX-License-Identifier: BSD-3-Clause
564
- */
565
- const xt = (n) => (t) => typeof t == "function" ? ((e, s) => (customElements.define(e, s), s))(n, t) : ((e, s) => {
566
- const { kind: i, elements: r } = s;
567
- return { kind: i, elements: r, finisher(o) {
568
- customElements.define(e, o);
569
- } };
570
- })(n, t);
571
- /**
572
- * @license
573
- * Copyright 2017 Google LLC
574
- * SPDX-License-Identifier: BSD-3-Clause
575
- */
576
- const gt = ({ finisher: n, descriptor: t }) => (e, s) => {
577
- var i;
578
- if (s === void 0) {
579
- const r = (i = e.originalKey) !== null && i !== void 0 ? i : e.key, o = t != null ? { kind: "method", placement: "prototype", key: r, descriptor: t(e.key) } : { ...e, key: r };
580
- return n != null && (o.finisher = function(d) {
581
- n(d, r);
582
- }), o;
583
- }
584
- {
585
- const r = e.constructor;
586
- t !== void 0 && Object.defineProperty(e, s, t(s)), n == null || n(r, s);
587
- }
588
- };
589
- /**
590
- * @license
591
- * Copyright 2021 Google LLC
592
- * SPDX-License-Identifier: BSD-3-Clause
593
- */
594
- var B;
595
- const Et = ((B = window.HTMLSlotElement) === null || B === void 0 ? void 0 : B.prototype.assignedElements) != null ? (n, t) => n.assignedElements(t) : (n, t) => n.assignedNodes(t).filter((e) => e.nodeType === Node.ELEMENT_NODE);
596
- function Pt(n) {
597
- const { slot: t, selector: e } = n ?? {};
598
- return gt({ descriptor: (s) => ({ get() {
599
- var i;
600
- const r = "slot" + (t ? `[name=${t}]` : ":not([name])"), o = (i = this.renderRoot) === null || i === void 0 ? void 0 : i.querySelector(r), d = o != null ? Et(o, n) : [];
601
- return e ? d.filter((l) => l.matches(e)) : d;
602
- }, enumerable: !0, configurable: !0 }) });
603
- }
604
- export {
605
- yt as Z,
606
- u as b,
607
- xt as e,
608
- bt as i,
609
- Pt as l,
610
- gt as o,
611
- lt as r,
612
- O as s,
613
- g as x,
614
- wt as y
615
- };
@@ -1,17 +0,0 @@
1
- import { l as u, o as d } from "./query-assigned-elements-514e5265.mjs";
2
- /**
3
- * @license
4
- * Copyright 2017 Google LLC
5
- * SPDX-License-Identifier: BSD-3-Clause
6
- */
7
- function m(e, r, s) {
8
- let o, t = e;
9
- return typeof e == "object" ? (t = e.slot, o = e) : o = { flatten: r }, s ? u({ slot: t, flatten: r, selector: s }) : d({ descriptor: (c) => ({ get() {
10
- var l, n;
11
- const a = "slot" + (t ? `[name=${t}]` : ":not([name])"), i = (l = this.renderRoot) === null || l === void 0 ? void 0 : l.querySelector(a);
12
- return (n = i == null ? void 0 : i.assignedNodes(o)) !== null && n !== void 0 ? n : [];
13
- }, enumerable: !0, configurable: !0 }) });
14
- }
15
- export {
16
- m as o
17
- };