@luzmo/lucero 0.0.10 → 0.0.12

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 (172) hide show
  1. package/components/accordion/index.cjs +5 -5
  2. package/components/accordion/index.js +9 -10
  3. package/components/action-bar/index.cjs +4 -4
  4. package/components/action-bar/index.js +10 -10
  5. package/components/action-button/index.cjs +2 -2
  6. package/components/action-button/index.js +4 -4
  7. package/components/action-group/index.cjs +1 -1
  8. package/components/action-group/index.js +1 -1
  9. package/components/action-group-B59CWNnT.cjs +20 -0
  10. package/components/{action-group-Bf28z235.js → action-group-DzT5e9uS.js} +8 -9
  11. package/components/action-menu/index.cjs +9 -9
  12. package/components/action-menu/index.js +8 -9
  13. package/components/avatar/index.cjs +3 -3
  14. package/components/avatar/index.js +6 -7
  15. package/components/base-CCsOyfm4.js +632 -0
  16. package/components/base-CaRKlVkL.cjs +36 -0
  17. package/components/button/index.cjs +2 -2
  18. package/components/button/index.js +7 -7
  19. package/components/{button-base-CDLQV7Vk.js → button-base-BUylwU1F.js} +5 -6
  20. package/components/button-base-D62oiPcu.cjs +25 -0
  21. package/components/button-group/index.cjs +1 -1
  22. package/components/button-group/index.js +6 -6
  23. package/components/checkbox/index.cjs +4 -4
  24. package/components/checkbox/index.js +4 -4
  25. package/components/{checkbox-mixin-DXUIwtea.js → checkbox-mixin-CM4VUJxF.js} +9 -10
  26. package/components/{checkbox-mixin-DaXMsrtV.cjs → checkbox-mixin-CifGmiLR.cjs} +3 -3
  27. package/components/{clear-button-Dh2Mq0cc.js → clear-button-BmUyRVoz.js} +4 -4
  28. package/components/clear-button-Cc5-XUOJ.cjs +18 -0
  29. package/components/{close-button-BsYkXOVh.js → close-button-BekXo6bQ.js} +10 -10
  30. package/components/close-button-Bf8yzpLd.cjs +18 -0
  31. package/components/color-area/index.cjs +6 -6
  32. package/components/color-area/index.js +10 -11
  33. package/components/color-field/index.cjs +2 -2
  34. package/components/color-field/index.js +3 -3
  35. package/components/color-handle/index.cjs +2 -2
  36. package/components/color-handle/index.js +6 -6
  37. package/components/color-loupe/index.cjs +1 -1
  38. package/components/color-loupe/index.js +1 -1
  39. package/components/color-loupe-CLzp2MiI.cjs +56 -0
  40. package/components/{color-loupe-BCfIVFkB.js → color-loupe-DiegGLZu.js} +4 -4
  41. package/components/color-menu/index.cjs +5 -5
  42. package/components/color-menu/index.js +5 -7
  43. package/components/color-picker/index.cjs +4 -4
  44. package/components/color-picker/index.js +11 -13
  45. package/components/color-slider/index.cjs +7 -7
  46. package/components/color-slider/index.js +6 -7
  47. package/components/divider/index.cjs +1 -1
  48. package/components/divider/index.js +6 -6
  49. package/components/field-group/index.cjs +1 -1
  50. package/components/field-group/index.js +1 -1
  51. package/components/{field-group-CwZULltm.js → field-group-BPZvGJi1.js} +6 -6
  52. package/components/field-group-CodR_26L.cjs +23 -0
  53. package/components/field-label/index.cjs +1 -1
  54. package/components/field-label/index.js +1 -1
  55. package/components/{field-label-C3HFlH91.js → field-label-6AaW05kA.js} +7 -8
  56. package/components/field-label-B91K6moC.cjs +25 -0
  57. package/components/focusable-BFdecx5l.cjs +18 -0
  58. package/components/{focusable-zT9NFFYs.js → focusable-CxA_NMK_.js} +2 -1
  59. package/components/icon/index.cjs +1 -1
  60. package/components/icon/index.js +6 -6
  61. package/components/index-Cg_y7WKM.cjs +77 -0
  62. package/components/{index-C2qG2Sm8.js → index-QeYYAZQR.js} +15 -18
  63. package/components/index.cjs +1 -1
  64. package/components/index.js +16 -16
  65. package/components/infield-button/index.cjs +2 -2
  66. package/components/infield-button/index.js +4 -4
  67. package/components/label/index.cjs +1 -1
  68. package/components/label/index.js +5 -5
  69. package/components/{like-anchor-DoJWh4Uu.js → like-anchor-D7tY6am5.js} +21 -21
  70. package/components/like-anchor-b3cNzw52.cjs +32 -0
  71. package/components/{manage-help-text-BzWK2v8i.js → manage-help-text-CmE_nfjl.js} +8 -8
  72. package/components/{manage-help-text-BKlmmlgp.cjs → manage-help-text-CoX77cTJ.cjs} +3 -3
  73. package/components/menu/index.cjs +1 -1
  74. package/components/menu/index.js +1 -1
  75. package/components/multi-language-field/index.cjs +2 -2
  76. package/components/multi-language-field/index.js +7 -7
  77. package/components/number-field/index.cjs +4 -4
  78. package/components/number-field/index.js +16 -17
  79. package/components/observe-slot-text-ByPG1Lqw.cjs +18 -0
  80. package/components/{observe-slot-text-BG0H7bQK.js → observe-slot-text-CugmOzNZ.js} +20 -21
  81. package/components/overlay/index.cjs +7 -7
  82. package/components/overlay/index.js +45 -49
  83. package/components/overlay-BWBJGJN_.cjs +47 -0
  84. package/components/{overlay-D7EbnA6E.js → overlay-CtdbWiFs.js} +71 -74
  85. package/components/{pending-state-DHXuiejX.js → pending-state-B_JeaE62.js} +2 -2
  86. package/components/{pending-state-BHCOneQ7.cjs → pending-state-DWvTsSoS.cjs} +2 -2
  87. package/components/picker/index.cjs +1 -1
  88. package/components/picker/index.js +2 -2
  89. package/components/picker-CaC1rQOK.cjs +123 -0
  90. package/components/{picker-ChtCbFLB.js → picker-DwbcFve2.js} +109 -140
  91. package/components/popover/index.cjs +1 -1
  92. package/components/popover/index.js +1 -1
  93. package/components/popover-C4w3aY8m.cjs +30 -0
  94. package/components/{popover-bg0EQQ8p.js → popover-DLFHilGS.js} +6 -7
  95. package/components/progress-circle/index.cjs +1 -1
  96. package/components/progress-circle/index.js +1 -1
  97. package/components/progress-circle-BXyXtMcs.cjs +33 -0
  98. package/components/{progress-circle-BT2qW7LK.js → progress-circle-CUCJ_Ehs.js} +6 -7
  99. package/components/radio/index.cjs +2 -2
  100. package/components/radio/index.js +9 -10
  101. package/components/search/index.cjs +7 -7
  102. package/components/search/index.js +4 -5
  103. package/components/{base-BjTwmyRF.cjs → sized-mixin-DcvJLFeo.cjs} +1 -5
  104. package/components/{sized-mixin-PyCYpyQq.js → sized-mixin-cJbo3PKR.js} +5 -5
  105. package/components/slider/index.cjs +1 -1
  106. package/components/slider/index.js +6 -6
  107. package/components/{streaming-listener-wjMvsv4N.js → streaming-listener-BgCzt2TI.js} +5 -6
  108. package/components/streaming-listener-C2bsIc4J.cjs +18 -0
  109. package/components/swatch/index.cjs +7 -7
  110. package/components/swatch/index.js +11 -12
  111. package/components/switch/index.cjs +2 -2
  112. package/components/switch/index.js +5 -5
  113. package/components/tags/index.cjs +4 -4
  114. package/components/tags/index.js +12 -13
  115. package/components/text-field/index.cjs +3 -3
  116. package/components/text-field/index.js +8 -8
  117. package/components/text-field-BX_aHXSW.js +288 -0
  118. package/components/text-field-DAr2RyH9.cjs +81 -0
  119. package/components/toast/index.cjs +5 -5
  120. package/components/toast/index.js +5 -5
  121. package/components/tooltip/index.cjs +4 -4
  122. package/components/tooltip/index.js +6 -7
  123. package/components/unit-input/index.cjs +6 -6
  124. package/components/unit-input/index.js +5 -6
  125. package/components/utils.cjs +1 -1
  126. package/components/utils.js +4 -4
  127. package/custom-elements.json +1 -1
  128. package/package.json +2 -1
  129. package/components/action-group-BBoV2VL9.cjs +0 -20
  130. package/components/async-directive-CV2MII86.cjs +0 -22
  131. package/components/async-directive-FGzMycjH.js +0 -82
  132. package/components/base-D76d76ww.js +0 -26
  133. package/components/base-DNrOP9L3.js +0 -391
  134. package/components/base-DzbGOAPo.cjs +0 -30
  135. package/components/button-base-C1ceE1LF.cjs +0 -25
  136. package/components/clear-button-pnT9_M8M.cjs +0 -18
  137. package/components/close-button-CPtjRQ0R.cjs +0 -18
  138. package/components/color-loupe-DIBrhG1Y.cjs +0 -56
  139. package/components/directive-C7oCP5Bh.cjs +0 -22
  140. package/components/directive-helpers-BLDZnGQv.js +0 -28
  141. package/components/directive-helpers-C2vOfhFx.cjs +0 -22
  142. package/components/directive-oAbCiebi.js +0 -44
  143. package/components/field-group-eICRTHzI.cjs +0 -23
  144. package/components/field-label-DOIVL4S4.cjs +0 -25
  145. package/components/focusable-zn6qaMtV.cjs +0 -18
  146. package/components/if-defined-CYpcjGCb.js +0 -27
  147. package/components/if-defined-Cv6xanXh.cjs +0 -22
  148. package/components/index-BYumXRH5.cjs +0 -77
  149. package/components/like-anchor-CmIcmz5k.cjs +0 -32
  150. package/components/lit-html-B3ugcwD9.js +0 -248
  151. package/components/lit-html-p4Oxv2-5.cjs +0 -24
  152. package/components/observe-slot-text-CP_EB97X.cjs +0 -18
  153. package/components/overlay-B1JDPmUJ.cjs +0 -47
  154. package/components/picker-CLKdhX0B.cjs +0 -127
  155. package/components/popover-CdkB6GFb.cjs +0 -30
  156. package/components/progress-circle-DTeqfeun.cjs +0 -33
  157. package/components/query-BL-TJj7K.cjs +0 -22
  158. package/components/query-D_KR_GUc.js +0 -51
  159. package/components/query-assigned-elements-DjfhL1cl.js +0 -36
  160. package/components/query-assigned-elements-DsKsfk7G.cjs +0 -22
  161. package/components/query-assigned-nodes-BcKWmGzy.cjs +0 -22
  162. package/components/query-assigned-nodes-C76XVPWY.js +0 -36
  163. package/components/sized-mixin-BEemErtP.cjs +0 -18
  164. package/components/state-BG4JQVA1.js +0 -29
  165. package/components/state-DHaIxrnQ.cjs +0 -22
  166. package/components/streaming-listener-BQxEN4sL.cjs +0 -18
  167. package/components/style-map-BjBGQ_u3.cjs +0 -22
  168. package/components/style-map-BqvQDFJt.js +0 -53
  169. package/components/text-field-7ITo3Lac.js +0 -315
  170. package/components/text-field-CtUKbEQN.cjs +0 -85
  171. package/components/when-CDK1Tt5Y.js +0 -28
  172. package/components/when-CDZyJPvd.cjs +0 -22
@@ -0,0 +1,632 @@
1
+ /*! * Lucero - The design system for Luzmo.
2
+ *
3
+ * Copyright © 2025 Luzmo
4
+ * All rights reserved.
5
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
6
+ * This license allows users with a current active Luzmo account to use Lucero.
7
+ * This license terminates automatically if a user no longer has an active Luzmo account.
8
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
9
+ *
10
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
13
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
15
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
+ * SOFTWARE.
17
+ * */
18
+ /**
19
+ * @license
20
+ * Copyright 2019 Google LLC
21
+ * SPDX-License-Identifier: BSD-3-Clause
22
+ */
23
+ const O = globalThis, B = O.ShadowRoot && (O.ShadyCSS === void 0 || O.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, tt = Symbol(), V = /* @__PURE__ */ new WeakMap();
24
+ let ot = class {
25
+ constructor(t, e, s) {
26
+ if (this._$cssResult$ = !0, s !== tt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
27
+ this.cssText = t, this.t = e;
28
+ }
29
+ get styleSheet() {
30
+ let t = this.o;
31
+ const e = this.t;
32
+ if (B && t === void 0) {
33
+ const s = e !== void 0 && e.length === 1;
34
+ s && (t = V.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && V.set(e, t));
35
+ }
36
+ return t;
37
+ }
38
+ toString() {
39
+ return this.cssText;
40
+ }
41
+ };
42
+ const ht = (n) => new ot(typeof n == "string" ? n : n + "", void 0, tt), at = (n, t) => {
43
+ if (B) n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
44
+ else for (const e of t) {
45
+ const s = document.createElement("style"), i = O.litNonce;
46
+ i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, n.appendChild(s);
47
+ }
48
+ }, W = B ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
49
+ let e = "";
50
+ for (const s of t.cssRules) e += s.cssText;
51
+ return ht(e);
52
+ })(n) : n;
53
+ /**
54
+ * @license
55
+ * Copyright 2017 Google LLC
56
+ * SPDX-License-Identifier: BSD-3-Clause
57
+ */
58
+ const { is: lt, defineProperty: ct, getOwnPropertyDescriptor: dt, getOwnPropertyNames: ut, getOwnPropertySymbols: pt, getPrototypeOf: $t } = Object, f = globalThis, F = f.trustedTypes, _t = F ? F.emptyScript : "", R = f.reactiveElementPolyfillSupport, S = (n, t) => n, z = { toAttribute(n, t) {
59
+ switch (t) {
60
+ case Boolean:
61
+ n = n ? _t : null;
62
+ break;
63
+ case Object:
64
+ case Array:
65
+ n = n == null ? n : JSON.stringify(n);
66
+ }
67
+ return n;
68
+ }, fromAttribute(n, t) {
69
+ let e = n;
70
+ switch (t) {
71
+ case Boolean:
72
+ e = n !== null;
73
+ break;
74
+ case Number:
75
+ e = n === null ? null : Number(n);
76
+ break;
77
+ case Object:
78
+ case Array:
79
+ try {
80
+ e = JSON.parse(n);
81
+ } catch {
82
+ e = null;
83
+ }
84
+ }
85
+ return e;
86
+ } }, et = (n, t) => !lt(n, t), q = { attribute: !0, type: String, converter: z, reflect: !1, hasChanged: et };
87
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), f.litPropertyMetadata ?? (f.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
88
+ class y extends HTMLElement {
89
+ static addInitializer(t) {
90
+ this._$Ei(), (this.l ?? (this.l = [])).push(t);
91
+ }
92
+ static get observedAttributes() {
93
+ return this.finalize(), this._$Eh && [...this._$Eh.keys()];
94
+ }
95
+ static createProperty(t, e = q) {
96
+ if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
97
+ const s = Symbol(), i = this.getPropertyDescriptor(t, s, e);
98
+ i !== void 0 && ct(this.prototype, t, i);
99
+ }
100
+ }
101
+ static getPropertyDescriptor(t, e, s) {
102
+ const { get: i, set: o } = dt(this.prototype, t) ?? { get() {
103
+ return this[e];
104
+ }, set(r) {
105
+ this[e] = r;
106
+ } };
107
+ return { get() {
108
+ return i == null ? void 0 : i.call(this);
109
+ }, set(r) {
110
+ const l = i == null ? void 0 : i.call(this);
111
+ o.call(this, r), this.requestUpdate(t, l, s);
112
+ }, configurable: !0, enumerable: !0 };
113
+ }
114
+ static getPropertyOptions(t) {
115
+ return this.elementProperties.get(t) ?? q;
116
+ }
117
+ static _$Ei() {
118
+ if (this.hasOwnProperty(S("elementProperties"))) return;
119
+ const t = $t(this);
120
+ t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
121
+ }
122
+ static finalize() {
123
+ if (this.hasOwnProperty(S("finalized"))) return;
124
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(S("properties"))) {
125
+ const e = this.properties, s = [...ut(e), ...pt(e)];
126
+ for (const i of s) this.createProperty(i, e[i]);
127
+ }
128
+ const t = this[Symbol.metadata];
129
+ if (t !== null) {
130
+ const e = litPropertyMetadata.get(t);
131
+ if (e !== void 0) for (const [s, i] of e) this.elementProperties.set(s, i);
132
+ }
133
+ this._$Eh = /* @__PURE__ */ new Map();
134
+ for (const [e, s] of this.elementProperties) {
135
+ const i = this._$Eu(e, s);
136
+ i !== void 0 && this._$Eh.set(i, e);
137
+ }
138
+ this.elementStyles = this.finalizeStyles(this.styles);
139
+ }
140
+ static finalizeStyles(t) {
141
+ const e = [];
142
+ if (Array.isArray(t)) {
143
+ const s = new Set(t.flat(1 / 0).reverse());
144
+ for (const i of s) e.unshift(W(i));
145
+ } else t !== void 0 && e.push(W(t));
146
+ return e;
147
+ }
148
+ static _$Eu(t, e) {
149
+ const s = e.attribute;
150
+ return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
151
+ }
152
+ constructor() {
153
+ super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
154
+ }
155
+ _$Ev() {
156
+ var t;
157
+ this._$ES = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (t = this.constructor.l) == null || t.forEach((e) => e(this));
158
+ }
159
+ addController(t) {
160
+ var e;
161
+ (this._$EO ?? (this._$EO = /* @__PURE__ */ new Set())).add(t), this.renderRoot !== void 0 && this.isConnected && ((e = t.hostConnected) == null || e.call(t));
162
+ }
163
+ removeController(t) {
164
+ var e;
165
+ (e = this._$EO) == null || e.delete(t);
166
+ }
167
+ _$E_() {
168
+ const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
169
+ for (const s of e.keys()) this.hasOwnProperty(s) && (t.set(s, this[s]), delete this[s]);
170
+ t.size > 0 && (this._$Ep = t);
171
+ }
172
+ createRenderRoot() {
173
+ const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
174
+ return at(t, this.constructor.elementStyles), t;
175
+ }
176
+ connectedCallback() {
177
+ var t;
178
+ this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach((e) => {
179
+ var s;
180
+ return (s = e.hostConnected) == null ? void 0 : s.call(e);
181
+ });
182
+ }
183
+ enableUpdating(t) {
184
+ }
185
+ disconnectedCallback() {
186
+ var t;
187
+ (t = this._$EO) == null || t.forEach((e) => {
188
+ var s;
189
+ return (s = e.hostDisconnected) == null ? void 0 : s.call(e);
190
+ });
191
+ }
192
+ attributeChangedCallback(t, e, s) {
193
+ this._$AK(t, s);
194
+ }
195
+ _$EC(t, e) {
196
+ var o;
197
+ const s = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, s);
198
+ if (i !== void 0 && s.reflect === !0) {
199
+ const r = (((o = s.converter) == null ? void 0 : o.toAttribute) !== void 0 ? s.converter : z).toAttribute(e, s.type);
200
+ this._$Em = t, r == null ? this.removeAttribute(i) : this.setAttribute(i, r), this._$Em = null;
201
+ }
202
+ }
203
+ _$AK(t, e) {
204
+ var o;
205
+ const s = this.constructor, i = s._$Eh.get(t);
206
+ if (i !== void 0 && this._$Em !== i) {
207
+ const r = s.getPropertyOptions(i), l = typeof r.converter == "function" ? { fromAttribute: r.converter } : ((o = r.converter) == null ? void 0 : o.fromAttribute) !== void 0 ? r.converter : z;
208
+ this._$Em = i, this[i] = l.fromAttribute(e, r.type), this._$Em = null;
209
+ }
210
+ }
211
+ requestUpdate(t, e, s) {
212
+ if (t !== void 0) {
213
+ if (s ?? (s = this.constructor.getPropertyOptions(t)), !(s.hasChanged ?? et)(this[t], e)) return;
214
+ this.P(t, e, s);
215
+ }
216
+ this.isUpdatePending === !1 && (this._$ES = this._$ET());
217
+ }
218
+ P(t, e, s) {
219
+ this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
220
+ }
221
+ async _$ET() {
222
+ this.isUpdatePending = !0;
223
+ try {
224
+ await this._$ES;
225
+ } catch (e) {
226
+ Promise.reject(e);
227
+ }
228
+ const t = this.scheduleUpdate();
229
+ return t != null && await t, !this.isUpdatePending;
230
+ }
231
+ scheduleUpdate() {
232
+ return this.performUpdate();
233
+ }
234
+ performUpdate() {
235
+ var s;
236
+ if (!this.isUpdatePending) return;
237
+ if (!this.hasUpdated) {
238
+ if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
239
+ for (const [o, r] of this._$Ep) this[o] = r;
240
+ this._$Ep = void 0;
241
+ }
242
+ const i = this.constructor.elementProperties;
243
+ if (i.size > 0) for (const [o, r] of i) r.wrapped !== !0 || this._$AL.has(o) || this[o] === void 0 || this.P(o, this[o], r);
244
+ }
245
+ let t = !1;
246
+ const e = this._$AL;
247
+ try {
248
+ t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((i) => {
249
+ var o;
250
+ return (o = i.hostUpdate) == null ? void 0 : o.call(i);
251
+ }), this.update(e)) : this._$EU();
252
+ } catch (i) {
253
+ throw t = !1, this._$EU(), i;
254
+ }
255
+ t && this._$AE(e);
256
+ }
257
+ willUpdate(t) {
258
+ }
259
+ _$AE(t) {
260
+ var e;
261
+ (e = this._$EO) == null || e.forEach((s) => {
262
+ var i;
263
+ return (i = s.hostUpdated) == null ? void 0 : i.call(s);
264
+ }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
265
+ }
266
+ _$EU() {
267
+ this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
268
+ }
269
+ get updateComplete() {
270
+ return this.getUpdateComplete();
271
+ }
272
+ getUpdateComplete() {
273
+ return this._$ES;
274
+ }
275
+ shouldUpdate(t) {
276
+ return !0;
277
+ }
278
+ update(t) {
279
+ this._$Ej && (this._$Ej = this._$Ej.forEach((e) => this._$EC(e, this[e]))), this._$EU();
280
+ }
281
+ updated(t) {
282
+ }
283
+ firstUpdated(t) {
284
+ }
285
+ }
286
+ y.elementStyles = [], y.shadowRootOptions = { mode: "open" }, y[S("elementProperties")] = /* @__PURE__ */ new Map(), y[S("finalized")] = /* @__PURE__ */ new Map(), R == null || R({ ReactiveElement: y }), (f.reactiveElementVersions ?? (f.reactiveElementVersions = [])).push("2.0.4");
287
+ /**
288
+ * @license
289
+ * Copyright 2017 Google LLC
290
+ * SPDX-License-Identifier: BSD-3-Clause
291
+ */
292
+ const C = globalThis, H = C.trustedTypes, Z = H ? H.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, st = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, it = "?" + _, ft = `<${it}>`, g = document, P = () => g.createComment(""), x = (n) => n === null || typeof n != "object" && typeof n != "function", j = Array.isArray, mt = (n) => j(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", k = `[
293
+ \f\r]`, b = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, J = /-->/g, K = />/g, m = RegExp(`>|${k}(?:([^\\s"'>=/]+)(${k}*=${k}*(?:[^
294
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), G = /'/g, Q = /"/g, nt = /^(?:script|style|textarea|title)$/i, At = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), Tt = At(1), v = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), X = /* @__PURE__ */ new WeakMap(), A = g.createTreeWalker(g, 129);
295
+ function rt(n, t) {
296
+ if (!j(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
297
+ return Z !== void 0 ? Z.createHTML(t) : t;
298
+ }
299
+ const gt = (n, t) => {
300
+ const e = n.length - 1, s = [];
301
+ let i, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", r = b;
302
+ for (let l = 0; l < e; l++) {
303
+ const h = n[l];
304
+ let c, u, a = -1, p = 0;
305
+ for (; p < h.length && (r.lastIndex = p, u = r.exec(h), u !== null); ) p = r.lastIndex, r === b ? u[1] === "!--" ? r = J : u[1] !== void 0 ? r = K : u[2] !== void 0 ? (nt.test(u[2]) && (i = RegExp("</" + u[2], "g")), r = m) : u[3] !== void 0 && (r = m) : r === m ? u[0] === ">" ? (r = i ?? b, a = -1) : u[1] === void 0 ? a = -2 : (a = r.lastIndex - u[2].length, c = u[1], r = u[3] === void 0 ? m : u[3] === '"' ? Q : G) : r === Q || r === G ? r = m : r === J || r === K ? r = b : (r = m, i = void 0);
306
+ const $ = r === m && n[l + 1].startsWith("/>") ? " " : "";
307
+ o += r === b ? h + ft : a >= 0 ? (s.push(c), h.slice(0, a) + st + h.slice(a) + _ + $) : h + _ + (a === -2 ? l : $);
308
+ }
309
+ return [rt(n, o + (n[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
310
+ };
311
+ class U {
312
+ constructor({ strings: t, _$litType$: e }, s) {
313
+ let i;
314
+ this.parts = [];
315
+ let o = 0, r = 0;
316
+ const l = t.length - 1, h = this.parts, [c, u] = gt(t, e);
317
+ if (this.el = U.createElement(c, s), A.currentNode = this.el.content, e === 2 || e === 3) {
318
+ const a = this.el.content.firstChild;
319
+ a.replaceWith(...a.childNodes);
320
+ }
321
+ for (; (i = A.nextNode()) !== null && h.length < l; ) {
322
+ if (i.nodeType === 1) {
323
+ if (i.hasAttributes()) for (const a of i.getAttributeNames()) if (a.endsWith(st)) {
324
+ const p = u[r++], $ = i.getAttribute(a).split(_), T = /([.?@])?(.*)/.exec(p);
325
+ h.push({ type: 1, index: o, name: T[2], strings: $, ctor: T[1] === "." ? vt : T[1] === "?" ? Et : T[1] === "@" ? bt : N }), i.removeAttribute(a);
326
+ } else a.startsWith(_) && (h.push({ type: 6, index: o }), i.removeAttribute(a));
327
+ if (nt.test(i.tagName)) {
328
+ const a = i.textContent.split(_), p = a.length - 1;
329
+ if (p > 0) {
330
+ i.textContent = H ? H.emptyScript : "";
331
+ for (let $ = 0; $ < p; $++) i.append(a[$], P()), A.nextNode(), h.push({ type: 2, index: ++o });
332
+ i.append(a[p], P());
333
+ }
334
+ }
335
+ } else if (i.nodeType === 8) if (i.data === it) h.push({ type: 2, index: o });
336
+ else {
337
+ let a = -1;
338
+ for (; (a = i.data.indexOf(_, a + 1)) !== -1; ) h.push({ type: 7, index: o }), a += _.length - 1;
339
+ }
340
+ o++;
341
+ }
342
+ }
343
+ static createElement(t, e) {
344
+ const s = g.createElement("template");
345
+ return s.innerHTML = t, s;
346
+ }
347
+ }
348
+ function E(n, t, e = n, s) {
349
+ var r, l;
350
+ if (t === v) return t;
351
+ let i = s !== void 0 ? (r = e._$Co) == null ? void 0 : r[s] : e._$Cl;
352
+ const o = x(t) ? void 0 : t._$litDirective$;
353
+ return (i == null ? void 0 : i.constructor) !== o && ((l = i == null ? void 0 : i._$AO) == null || l.call(i, !1), o === void 0 ? i = void 0 : (i = new o(n), i._$AT(n, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = i : e._$Cl = i), i !== void 0 && (t = E(n, i._$AS(n, t.values), i, s)), t;
354
+ }
355
+ class yt {
356
+ constructor(t, e) {
357
+ this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
358
+ }
359
+ get parentNode() {
360
+ return this._$AM.parentNode;
361
+ }
362
+ get _$AU() {
363
+ return this._$AM._$AU;
364
+ }
365
+ u(t) {
366
+ const { el: { content: e }, parts: s } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? g).importNode(e, !0);
367
+ A.currentNode = i;
368
+ let o = A.nextNode(), r = 0, l = 0, h = s[0];
369
+ for (; h !== void 0; ) {
370
+ if (r === h.index) {
371
+ let c;
372
+ h.type === 2 ? c = new M(o, o.nextSibling, this, t) : h.type === 1 ? c = new h.ctor(o, h.name, h.strings, this, t) : h.type === 6 && (c = new St(o, this, t)), this._$AV.push(c), h = s[++l];
373
+ }
374
+ r !== (h == null ? void 0 : h.index) && (o = A.nextNode(), r++);
375
+ }
376
+ return A.currentNode = g, i;
377
+ }
378
+ p(t) {
379
+ let e = 0;
380
+ for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
381
+ }
382
+ }
383
+ class M {
384
+ get _$AU() {
385
+ var t;
386
+ return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
387
+ }
388
+ constructor(t, e, s, i) {
389
+ this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$Cv = (i == null ? void 0 : i.isConnected) ?? !0;
390
+ }
391
+ get parentNode() {
392
+ let t = this._$AA.parentNode;
393
+ const e = this._$AM;
394
+ return e !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = e.parentNode), t;
395
+ }
396
+ get startNode() {
397
+ return this._$AA;
398
+ }
399
+ get endNode() {
400
+ return this._$AB;
401
+ }
402
+ _$AI(t, e = this) {
403
+ t = E(this, t, e), x(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== v && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : mt(t) ? this.k(t) : this._(t);
404
+ }
405
+ O(t) {
406
+ return this._$AA.parentNode.insertBefore(t, this._$AB);
407
+ }
408
+ T(t) {
409
+ this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
410
+ }
411
+ _(t) {
412
+ this._$AH !== d && x(this._$AH) ? this._$AA.nextSibling.data = t : this.T(g.createTextNode(t)), this._$AH = t;
413
+ }
414
+ $(t) {
415
+ var o;
416
+ const { values: e, _$litType$: s } = t, i = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = U.createElement(rt(s.h, s.h[0]), this.options)), s);
417
+ if (((o = this._$AH) == null ? void 0 : o._$AD) === i) this._$AH.p(e);
418
+ else {
419
+ const r = new yt(i, this), l = r.u(this.options);
420
+ r.p(e), this.T(l), this._$AH = r;
421
+ }
422
+ }
423
+ _$AC(t) {
424
+ let e = X.get(t.strings);
425
+ return e === void 0 && X.set(t.strings, e = new U(t)), e;
426
+ }
427
+ k(t) {
428
+ j(this._$AH) || (this._$AH = [], this._$AR());
429
+ const e = this._$AH;
430
+ let s, i = 0;
431
+ for (const o of t) i === e.length ? e.push(s = new M(this.O(P()), this.O(P()), this, this.options)) : s = e[i], s._$AI(o), i++;
432
+ i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
433
+ }
434
+ _$AR(t = this._$AA.nextSibling, e) {
435
+ var s;
436
+ for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, e); t && t !== this._$AB; ) {
437
+ const i = t.nextSibling;
438
+ t.remove(), t = i;
439
+ }
440
+ }
441
+ setConnected(t) {
442
+ var e;
443
+ this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
444
+ }
445
+ }
446
+ class N {
447
+ get tagName() {
448
+ return this.element.tagName;
449
+ }
450
+ get _$AU() {
451
+ return this._$AM._$AU;
452
+ }
453
+ constructor(t, e, s, i, o) {
454
+ this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = o, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = d;
455
+ }
456
+ _$AI(t, e = this, s, i) {
457
+ const o = this.strings;
458
+ let r = !1;
459
+ if (o === void 0) t = E(this, t, e, 0), r = !x(t) || t !== this._$AH && t !== v, r && (this._$AH = t);
460
+ else {
461
+ const l = t;
462
+ let h, c;
463
+ for (t = o[0], h = 0; h < o.length - 1; h++) c = E(this, l[s + h], e, h), c === v && (c = this._$AH[h]), r || (r = !x(c) || c !== this._$AH[h]), c === d ? t = d : t !== d && (t += (c ?? "") + o[h + 1]), this._$AH[h] = c;
464
+ }
465
+ r && !i && this.j(t);
466
+ }
467
+ j(t) {
468
+ t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
469
+ }
470
+ }
471
+ class vt extends N {
472
+ constructor() {
473
+ super(...arguments), this.type = 3;
474
+ }
475
+ j(t) {
476
+ this.element[this.name] = t === d ? void 0 : t;
477
+ }
478
+ }
479
+ class Et extends N {
480
+ constructor() {
481
+ super(...arguments), this.type = 4;
482
+ }
483
+ j(t) {
484
+ this.element.toggleAttribute(this.name, !!t && t !== d);
485
+ }
486
+ }
487
+ class bt extends N {
488
+ constructor(t, e, s, i, o) {
489
+ super(t, e, s, i, o), this.type = 5;
490
+ }
491
+ _$AI(t, e = this) {
492
+ if ((t = E(this, t, e, 0) ?? d) === v) return;
493
+ const s = this._$AH, i = t === d && s !== d || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, o = t !== d && (s === d || i);
494
+ i && this.element.removeEventListener(this.name, this, s), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
495
+ }
496
+ handleEvent(t) {
497
+ var e;
498
+ typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
499
+ }
500
+ }
501
+ class St {
502
+ constructor(t, e, s) {
503
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
504
+ }
505
+ get _$AU() {
506
+ return this._$AM._$AU;
507
+ }
508
+ _$AI(t) {
509
+ E(this, t);
510
+ }
511
+ }
512
+ const L = C.litHtmlPolyfillSupport;
513
+ L == null || L(U, M), (C.litHtmlVersions ?? (C.litHtmlVersions = [])).push("3.2.1");
514
+ const Ct = (n, t, e) => {
515
+ const s = (e == null ? void 0 : e.renderBefore) ?? t;
516
+ let i = s._$litPart$;
517
+ if (i === void 0) {
518
+ const o = (e == null ? void 0 : e.renderBefore) ?? null;
519
+ s._$litPart$ = i = new M(t.insertBefore(P(), o), o, void 0, e ?? {});
520
+ }
521
+ return i._$AI(n), i;
522
+ };
523
+ /**
524
+ * @license
525
+ * Copyright 2017 Google LLC
526
+ * SPDX-License-Identifier: BSD-3-Clause
527
+ */
528
+ class w extends y {
529
+ constructor() {
530
+ super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
531
+ }
532
+ createRenderRoot() {
533
+ var e;
534
+ const t = super.createRenderRoot();
535
+ return (e = this.renderOptions).renderBefore ?? (e.renderBefore = t.firstChild), t;
536
+ }
537
+ update(t) {
538
+ const e = this.render();
539
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Ct(e, this.renderRoot, this.renderOptions);
540
+ }
541
+ connectedCallback() {
542
+ var t;
543
+ super.connectedCallback(), (t = this._$Do) == null || t.setConnected(!0);
544
+ }
545
+ disconnectedCallback() {
546
+ var t;
547
+ super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
548
+ }
549
+ render() {
550
+ return v;
551
+ }
552
+ }
553
+ var Y;
554
+ w._$litElement$ = !0, w.finalized = !0, (Y = globalThis.litElementHydrateSupport) == null || Y.call(globalThis, { LitElement: w });
555
+ const D = globalThis.litElementPolyfillSupport;
556
+ D == null || D({ LitElement: w });
557
+ (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
558
+ const I = /* @__PURE__ */ new Set(), wt = () => {
559
+ const n = document.documentElement.dir === "rtl" ? document.documentElement.dir : "ltr";
560
+ I.forEach((t) => {
561
+ t.setAttribute("dir", n);
562
+ });
563
+ }, Pt = new MutationObserver(wt);
564
+ Pt.observe(document.documentElement, {
565
+ attributes: !0,
566
+ attributeFilter: ["dir"]
567
+ });
568
+ const xt = (n) => n.startManagingContentDirection !== void 0 || n.tagName === "LUZMO-THEME";
569
+ function Ut(n) {
570
+ class t extends n {
571
+ /**
572
+ * @private
573
+ */
574
+ get isLTR() {
575
+ return this.dir === "ltr";
576
+ }
577
+ hasVisibleFocusInTree() {
578
+ const i = ((o = document) => {
579
+ var h;
580
+ let r = o.activeElement;
581
+ for (; r != null && r.shadowRoot && r.shadowRoot.activeElement; )
582
+ r = r.shadowRoot.activeElement;
583
+ const l = r ? [r] : [];
584
+ for (; r; ) {
585
+ const c = r.assignedSlot || r.parentElement || ((h = r.getRootNode()) == null ? void 0 : h.host);
586
+ c && l.push(c), r = c;
587
+ }
588
+ return l;
589
+ })(this.getRootNode())[0];
590
+ if (!i)
591
+ return !1;
592
+ try {
593
+ return i.matches(":focus-visible") || i.matches(".focus-visible");
594
+ } catch {
595
+ return i.matches(".focus-visible");
596
+ }
597
+ }
598
+ connectedCallback() {
599
+ if (!this.hasAttribute("dir")) {
600
+ let s = this.assignedSlot || this.parentNode;
601
+ for (; s !== document.documentElement && !xt(s); )
602
+ s = s.assignedSlot || // step into the shadow DOM of the parent of a slotted node
603
+ s.parentNode || // DOM Element detected
604
+ s.host;
605
+ if (this.dir = s.dir === "rtl" ? s.dir : this.dir || "ltr", s === document.documentElement)
606
+ I.add(this);
607
+ else {
608
+ const { localName: i } = s;
609
+ i.search("-") > -1 && !customElements.get(i) ? customElements.whenDefined(i).then(() => {
610
+ s.startManagingContentDirection(this);
611
+ }) : s.startManagingContentDirection(this);
612
+ }
613
+ this._dirParent = s;
614
+ }
615
+ super.connectedCallback();
616
+ }
617
+ disconnectedCallback() {
618
+ super.disconnectedCallback(), this._dirParent && (this._dirParent === document.documentElement ? I.delete(this) : this._dirParent.stopManagingContentDirection(this), this.removeAttribute("dir"));
619
+ }
620
+ }
621
+ return t;
622
+ }
623
+ class Ot extends Ut(w) {
624
+ }
625
+ export {
626
+ Ct as B,
627
+ d as E,
628
+ Ut as L,
629
+ Ot as a,
630
+ ht as r,
631
+ Tt as x
632
+ };