@luzmo/lucero 1.0.1-alpha.2 → 1.0.1-alpha.20

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/components/accordion/index.cjs +4 -4
  2. package/components/accordion/index.js +8 -8
  3. package/components/action-bar/index.cjs +1 -1
  4. package/components/action-bar/index.js +7 -7
  5. package/components/action-button/index.cjs +2 -2
  6. package/components/action-button/index.js +5 -5
  7. package/components/action-group/index.cjs +1 -1
  8. package/components/action-group/index.js +1 -1
  9. package/components/{action-group-DJGMcRHb.cjs → action-group-C54IxNZk.cjs} +1 -1
  10. package/components/{action-group-DBImibFn.js → action-group-C9dsPJg-.js} +2 -2
  11. package/components/action-menu/index.cjs +1 -1
  12. package/components/action-menu/index.js +6 -6
  13. package/components/{async-directive-BfcqVjDp.js → async-directive-BwIAw5tB.js} +1 -1
  14. package/components/{async-directive-BX1T1e1_.cjs → async-directive-DLz6JB0v.cjs} +1 -1
  15. package/components/avatar/index.cjs +1 -1
  16. package/components/avatar/index.js +5 -5
  17. package/components/{base-WsynuqaS.js → base-CFWO09N1.js} +62 -55
  18. package/components/{base-CBCg3yyw.cjs → base-Cy0MQrPT.cjs} +6 -6
  19. package/components/button/index.cjs +2 -2
  20. package/components/button/index.js +24 -24
  21. package/components/{button-base-DbkDzb71.js → button-base-B8bWcklV.js} +38 -38
  22. package/components/{button-base-XgPLmwP-.cjs → button-base-tf95Lyl4.cjs} +3 -3
  23. package/components/button-group/index.cjs +1 -1
  24. package/components/button-group/index.js +2 -2
  25. package/components/calendar/index.cjs +1 -1
  26. package/components/calendar/index.js +1 -1
  27. package/components/checkbox/index.cjs +1 -1
  28. package/components/checkbox/index.js +4 -4
  29. package/components/{checkbox-mixin-Do7EgtpQ.js → checkbox-mixin-BOTvuPEu.js} +2 -2
  30. package/components/{checkbox-mixin-BDN0dBtS.cjs → checkbox-mixin-BVPpXtsq.cjs} +1 -1
  31. package/components/{class-map-NbVXqBU0.js → class-map-CGfNk3Ee.js} +1 -1
  32. package/components/{class-map-Di1D_rCm.cjs → class-map-D-Y-hsN5.cjs} +1 -1
  33. package/components/{clear-button-Qi1pMA5S.cjs → clear-button-CuPbWwZY.cjs} +1 -1
  34. package/components/{clear-button-DoeRUWQ3.js → clear-button-DzZ5ulBW.js} +4 -4
  35. package/components/{close-button-BFMBEw3q.cjs → close-button-BTo4yrFR.cjs} +1 -1
  36. package/components/{close-button-BWXdHSx3.js → close-button-CuQdsez5.js} +4 -4
  37. package/components/color-area/index.cjs +1 -1
  38. package/components/color-area/index.js +5 -5
  39. package/components/{color-controller-DTp1juRz.js → color-controller-B0uX6Zso.js} +116 -84
  40. package/components/{color-controller-_ZwyhvaU.cjs → color-controller-CoUL5f9K.cjs} +1 -1
  41. package/components/color-field/color-field.d.ts +8 -0
  42. package/components/color-field/index.cjs +4 -4
  43. package/components/color-field/index.js +36 -24
  44. package/components/color-handle/index.cjs +1 -1
  45. package/components/color-handle/index.js +2 -2
  46. package/components/color-loupe/index.cjs +1 -1
  47. package/components/color-loupe/index.js +1 -1
  48. package/components/{color-loupe-CaA_Lfkk.cjs → color-loupe-CrM2DVY3.cjs} +1 -1
  49. package/components/{color-loupe-CmMsXbjT.js → color-loupe-DmQe3SpP.js} +1 -1
  50. package/components/color-menu/index.cjs +7 -7
  51. package/components/color-menu/index.js +44 -44
  52. package/components/color-palette/color-palette.d.ts +53 -0
  53. package/components/color-palette/index.cjs +18 -0
  54. package/components/color-palette/index.d.ts +7 -0
  55. package/components/color-palette/index.js +88 -0
  56. package/components/color-palette-group/color-palette-group.d.ts +79 -0
  57. package/components/color-palette-group/index.cjs +28 -0
  58. package/components/color-palette-group/index.d.ts +7 -0
  59. package/components/color-palette-group/index.js +205 -0
  60. package/components/color-picker/color-picker.d.ts +31 -2
  61. package/components/color-picker/index.cjs +4 -3
  62. package/components/color-picker/index.js +16 -12
  63. package/components/color-slider/index.cjs +1 -1
  64. package/components/color-slider/index.js +1 -1
  65. package/components/date-time-picker/index.cjs +3 -3
  66. package/components/date-time-picker/index.js +11 -11
  67. package/components/{dependency-manger-CEXvGQUV.js → dependency-manger-CO-VPlqq.js} +4 -4
  68. package/components/{dependency-manger-C5HCkMMB.cjs → dependency-manger-uthev62E.cjs} +1 -1
  69. package/components/{directive-helpers-Cm6gitnu.js → directive-helpers-D4KMv2dC.js} +1 -1
  70. package/components/{directive-helpers-DyIRTWwA.cjs → directive-helpers-t-TVum7J.cjs} +1 -1
  71. package/components/divider/index.cjs +1 -1
  72. package/components/divider/index.js +2 -2
  73. package/components/field-group/index.cjs +1 -1
  74. package/components/field-group/index.js +1 -1
  75. package/components/{field-group-DkGst3r5.cjs → field-group-5WQMBOk4.cjs} +1 -1
  76. package/components/{field-group-DXfBWrkO.js → field-group-D4B0IOdA.js} +2 -2
  77. package/components/field-label/index.cjs +1 -1
  78. package/components/field-label/index.js +1 -1
  79. package/components/{field-label-CZ2zzChK.js → field-label-DxmPiC5p.js} +2 -2
  80. package/components/{field-label-mO1AkUgR.cjs → field-label-Dz9kisdW.cjs} +1 -1
  81. package/components/{focus-visible-DBlJGoEW.js → focus-visible-BvScGDCE.js} +20 -20
  82. package/components/focus-visible-D4BXb5RB.cjs +18 -0
  83. package/components/{focusable-EbipgXRh.cjs → focusable-B_KwfEec.cjs} +1 -1
  84. package/components/{focusable-BxtpnzWp.js → focusable-C5JjRZmT.js} +2 -2
  85. package/components/icon/index.cjs +1 -1
  86. package/components/icon/index.js +4 -4
  87. package/components/{if-defined-DOaE2coe.js → if-defined-DULpqYwi.js} +1 -1
  88. package/components/{if-defined-C9YGdo33.cjs → if-defined-DaXWqfzc.cjs} +1 -1
  89. package/components/{index-BwxgAdzi.cjs → index-CNK8wHXu.cjs} +1 -1
  90. package/components/{index-A-yOTB_d.js → index-Cf6G4q52.js} +6 -6
  91. package/components/{index-HjQa8tew.js → index-D3ICqC7S.js} +6 -6
  92. package/components/{index-BLWuwZXx.cjs → index-hqVbNKYy.cjs} +3 -3
  93. package/components/index.cjs +1 -1
  94. package/components/index.js +141 -137
  95. package/components/infield-button/index.cjs +1 -1
  96. package/components/infield-button/index.js +3 -3
  97. package/components/label/index.cjs +1 -1
  98. package/components/label/index.js +1 -1
  99. package/components/{language-resolution-8yZa5r_P.js → language-resolution-B-wjV5bb.js} +9 -8
  100. package/components/{language-resolution-DJzmyzZq.cjs → language-resolution-EUER43cg.cjs} +1 -1
  101. package/components/{like-anchor-sod1C1fR.cjs → like-anchor-Bu3pXbjT.cjs} +1 -1
  102. package/components/{like-anchor-Bvn_vLQ8.js → like-anchor-DCFJN0LV.js} +2 -2
  103. package/components/{luzmo-icons-DbwDQtuO.js → luzmo-icons-CiSek5iM.js} +25 -25
  104. package/components/{luzmo-icons-DletXGWU.cjs → luzmo-icons-CtA-TJPd.cjs} +2 -2
  105. package/components/{manage-help-text-syYnjKGL.js → manage-help-text-CHfMLzSa.js} +2 -2
  106. package/components/{manage-help-text-DhgARkZX.cjs → manage-help-text-DNqdEkTA.cjs} +1 -1
  107. package/components/menu/index.cjs +38 -13
  108. package/components/menu/index.js +132 -98
  109. package/components/menu/menu-item.d.ts +8 -1
  110. package/components/multi-language-field/index.cjs +1 -1
  111. package/components/multi-language-field/index.js +3 -3
  112. package/components/number-field/index.cjs +3 -3
  113. package/components/number-field/index.js +8 -8
  114. package/components/{observe-slot-text-BPfIQQtz.js → observe-slot-text-C3moTjwy.js} +1 -1
  115. package/components/{observe-slot-text-Ceb7SvYT.cjs → observe-slot-text-D2VAEFSd.cjs} +1 -1
  116. package/components/options/index.cjs +4 -4
  117. package/components/options/index.js +22 -22
  118. package/components/overlay/index.cjs +1 -1
  119. package/components/overlay/index.js +5 -5
  120. package/components/overlay-B3ajDLLq.cjs +47 -0
  121. package/components/{overlay-Cig9r6uU.js → overlay-CUKs69yr.js} +74 -76
  122. package/components/{pending-state-DTX7ggyF.js → pending-state-B2wWssTo.js} +2 -2
  123. package/components/{pending-state-CaH1si5b.cjs → pending-state-bJr-nEJl.cjs} +1 -1
  124. package/components/picker/index.cjs +1 -1
  125. package/components/picker/index.js +2 -2
  126. package/components/{picker-BmoXv1jt.js → picker-BsQJBF9j.js} +38 -37
  127. package/components/{picker-DWsBWdPN.cjs → picker-X96xmLAw.cjs} +7 -7
  128. package/components/picker-button/index.cjs +1 -1
  129. package/components/picker-button/index.js +5 -5
  130. package/components/popover/index.cjs +1 -1
  131. package/components/popover/index.js +1 -1
  132. package/components/{popover-KFfO0IYL.cjs → popover-fwJeZHMQ.cjs} +1 -1
  133. package/components/{popover-DjX0aAnY.js → popover-iD8f5Jkp.js} +2 -2
  134. package/components/progress-circle/index.cjs +1 -1
  135. package/components/progress-circle/index.js +1 -1
  136. package/components/{progress-circle-BvRJNuNo.cjs → progress-circle-DZxaMe8L.cjs} +1 -1
  137. package/components/{progress-circle-DXH9z8-6.js → progress-circle-USIIU1up.js} +3 -3
  138. package/components/radio/index.cjs +1 -1
  139. package/components/radio/index.js +4 -4
  140. package/components/search/index.cjs +4 -4
  141. package/components/search/index.js +4 -4
  142. package/components/select/index.cjs +15 -15
  143. package/components/select/index.js +80 -79
  144. package/components/{sized-mixin-D4ACoVUr.js → sized-mixin-CJbBHWRQ.js} +1 -1
  145. package/components/{sized-mixin-CPxE5C96.cjs → sized-mixin-WPHH0a_D.cjs} +1 -1
  146. package/components/slider/index.cjs +1 -1
  147. package/components/slider/index.js +2 -2
  148. package/components/{state-Deh-vKYE.js → state-DwIwYPvt.js} +1 -1
  149. package/components/{state-D8JEtYqe.cjs → state-vf0PJN3_.cjs} +1 -1
  150. package/components/{strategies-9indNIEb.js → strategies-Bk97oVn1.js} +15 -50
  151. package/components/strategies-CNgBb6dM.cjs +18 -0
  152. package/components/{streaming-listener-CP-JE6Fa.js → streaming-listener-BQ68fKMa.js} +2 -2
  153. package/components/{streaming-listener-B00MvALi.cjs → streaming-listener-DeGQYM-9.cjs} +1 -1
  154. package/components/{style-map-IgqIKvlE.js → style-map-Bnhf_mVZ.js} +1 -1
  155. package/components/{style-map-CeilmSgs.cjs → style-map-DuMd5xlY.cjs} +1 -1
  156. package/components/swatch/index.cjs +5 -5
  157. package/components/swatch/index.js +12 -12
  158. package/components/switch/index.cjs +1 -1
  159. package/components/switch/index.js +4 -4
  160. package/components/tabs/index.cjs +3 -3
  161. package/components/tabs/index.js +9 -9
  162. package/components/tags/index.cjs +1 -1
  163. package/components/tags/index.js +4 -4
  164. package/components/text-field/index.cjs +2 -2
  165. package/components/text-field/index.js +4 -4
  166. package/components/{text-field-D5d_Gt0t.cjs → text-field-BkFPYo7S.cjs} +3 -3
  167. package/components/{text-field-BIADXoLC.js → text-field-C2n3rzCK.js} +9 -9
  168. package/components/{text-field.module-ColtFhf_.js → text-field.module-C2KVUJcX.js} +1 -1
  169. package/components/{text-field.module-p_VF2tC_.cjs → text-field.module-DXhFA9G-.cjs} +1 -1
  170. package/components/toast/index.cjs +3 -3
  171. package/components/toast/index.js +4 -4
  172. package/components/tooltip/index.cjs +2 -2
  173. package/components/tooltip/index.js +55 -32
  174. package/components/tooltip/tooltip.d.ts +12 -1
  175. package/components/unit-input/index.cjs +3 -3
  176. package/components/unit-input/index.js +21 -21
  177. package/components/utils.cjs +1 -1
  178. package/components/utils.js +5 -5
  179. package/custom-elements.json +1 -1
  180. package/index.d.ts +2 -0
  181. package/package.json +12 -2
  182. package/components/focus-visible-B0P9aY_G.cjs +0 -18
  183. package/components/overlay-KSKMzzkh.cjs +0 -47
  184. package/components/strategies-BACP6MhR.cjs +0 -18
@@ -15,6 +15,6 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- "use strict";const s=require("./base-CBCg3yyw.cjs"),d=require("./mutation-controller-DkOMCW-c.cjs"),p=require("./query-BL-TJj7K.cjs"),g=require("./roving-tabindex-By_fCy_e.cjs"),b=require("./sized-mixin-CPxE5C96.cjs"),h=":host{gap:var(--luzmo-action-group-horizontal-spacing-regular, var(--action-group-horizontal-spacing-regular));flex-wrap:wrap;display:flex}::slotted(*){flex-shrink:0}::slotted(:focus-visible){z-index:3}:host(:not([vertical]):not([compact])) ::slotted(*){flex-shrink:0}:host([vertical]){gap:var(--luzmo-action-group-vertical-spacing-regular, var(--action-group-vertical-spacing-regular));flex-direction:column;display:inline-flex}:host([compact]){gap:var(--luzmo-action-group-gap-size-compact, var(--action-group-gap-size-compact))}:host([compact]:not([quiet])){flex-wrap:nowrap}:host([compact]:not([quiet])) ::slotted(*){border-radius:var(--luzmo-action-group-border-radius-reset, var(--action-group-border-radius-reset));z-index:0;position:relative}:host([compact]:not([quiet])) ::slotted(:first-child){--luzmo-actionbutton-focus-indicator-border-radius: var( --luzmo-action-group-border-radius, var(--action-group-border-radius) ) 0px 0px var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-start-start-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-end-start-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));margin-inline-start:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset))}:host([compact]:not([quiet])) ::slotted(:not(:first-child)){--luzmo-actionbutton-focus-indicator-border-radius: 0px;margin-inline-start:var(--luzmo-action-group-horizontal-spacing-compact, var(--action-group-horizontal-spacing-compact));margin-inline-end:var(--luzmo-action-group-horizontal-spacing-compact, var(--action-group-horizontal-spacing-compact))}:host([compact]:not([quiet])) ::slotted(:last-child){--luzmo-actionbutton-focus-indicator-border-radius: 0px var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0px;border-start-end-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-end-end-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));margin-inline-start:var(--luzmo-action-group-horizontal-spacing-compact, var(--action-group-horizontal-spacing-compact));margin-inline-end:var(--luzmo-action-group-border-radius-reset, var(--action-group-border-radius-reset))}:host([compact]:not([quiet])) ::slotted([selected]){z-index:1}@media (hover: hover){:host([compact]:not([quiet])) ::slotted(:hover){z-index:2}}:host([compact]:not([quiet])) ::slotted(:focus-visible){z-index:3}:host([compact]:not([quiet])[vertical]){gap:var(--luzmo-action-group-gap-size-compact, var(--action-group-gap-size-compact))}:host([compact][vertical]:not([quiet])) ::slotted(*){border-radius:var(--luzmo-action-group-border-radius-reset, var(--action-group-border-radius-reset))}:host([compact][vertical]:not([quiet])) ::slotted(:first-child){--luzmo-actionbutton-focus-indicator-border-radius: var( --luzmo-action-group-border-radius, var(--action-group-border-radius) ) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0px 0px;border-start-start-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-start-end-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));margin-block-start:var(--luzmo-action-group-vertical-spacing-compact, var(--action-group-vertical-spacing-compact));margin-block-end:var(--luzmo-action-group-vertical-spacing-compact, var(--action-group-vertical-spacing-compact));margin-inline-end:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset))}:host([compact][vertical]:not([quiet])) ::slotted(:not(:first-child)){margin-block-start:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset));margin-block-end:var(--luzmo-action-group-vertical-spacing-compact, var(--action-group-vertical-spacing-compact));margin-inline-start:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset));margin-inline-end:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset))}:host([compact][vertical]:not([quiet])) ::slotted(:last-child){--luzmo-actionbutton-focus-indicator-border-radius: 0px 0px var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-end-end-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-end-start-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));margin-block-start:var(--luzmo-action-group-vertical-spacing-compact, var(--action-group-vertical-spacing-compact));margin-block-end:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset))}:host([justified]) ::slotted(*){flex:1}:host{--action-group-gap-size-compact: 0px;--action-group-horizontal-spacing-compact: -1px;--action-group-vertical-spacing-compact: -1px;--action-group-button-spacing-reset: 0px;--action-group-border-radius-reset: 0px;--action-group-border-radius: var(--luzmo-border-radius);--action-group-horizontal-spacing-regular: var(--luzmo-spacing-3);--action-group-vertical-spacing-regular: var(--luzmo-spacing-3)}:host([size=xs]),:host([size=s]){--action-group-horizontal-spacing-regular: var(--luzmo-spacing-2);--action-group-vertical-spacing-regular: var(--luzmo-spacing-2)}:host,:host([size=l]),:host([size=xl]){--action-group-horizontal-spacing-regular: var(--luzmo-spacing-3);--action-group-vertical-spacing-regular: var(--luzmo-spacing-3)}:host([dir][compact][vertical]) ::slotted(:nth-child(n)){margin-right:0;margin-left:0}:host([justified]) ::slotted(:not([role])),:host([vertical]) ::slotted(:not([role])){display:flex;flex-direction:column;align-items:stretch}:host([compact]:not([quiet])) ::slotted(:not([role])){--overriden-border-radius: 0;--luzmo-action-button-border-radius: var(--overriden-border-radius)}:host([compact][vertical]:not([quiet])) ::slotted(:not([role]):first-child){--overriden-border-radius: var( --luzmo-action-group-border-radius, var(--action-group-border-radius) ) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0 0}:host([compact][vertical]:not([quiet])) ::slotted(:not([role]):last-child){--overriden-border-radius: 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}:host([dir=ltr][compact]:not([quiet],[vertical])) ::slotted(:not([role]):first-child){--overriden-border-radius: var( --luzmo-action-group-border-radius, var(--action-group-border-radius) ) 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}:host([dir=rtl][compact]:not([quiet],[vertical])) ::slotted(:not([role]):first-child){--overriden-border-radius: 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0}:host([dir=ltr][compact]:not([quiet],[vertical])) ::slotted(:not([role]):last-child){--overriden-border-radius: 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0}:host([dir=rtl][compact]:not([quiet],[vertical])) ::slotted(:not([role]):last-child){--overriden-border-radius: var( --luzmo-action-group-border-radius, var(--action-group-border-radius) ) 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}:host([compact]:not([quiet])) ::slotted(*){--luzmo-action-button-focus-ring-border-radius: 0}:host([compact][vertical]:not([quiet])) ::slotted(:first-child){--luzmo-action-button-focus-ring-border-radius: var(--luzmo-border-radius) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0 0}:host([compact][vertical]:not([quiet])) ::slotted(:last-child){--luzmo-action-button-focus-ring-border-radius: 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}:host([dir=ltr][compact]:not([quiet],[vertical])) ::slotted(:first-child){--luzmo-action-button-focus-ring-border-radius: var(--luzmo-border-radius) 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}:host([dir=rtl][compact]:not([quiet],[vertical])) ::slotted(:first-child){--luzmo-action-button-focus-ring-border-radius: 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0}:host([dir=ltr][compact]:not([quiet],[vertical])) ::slotted(:last-child){--luzmo-action-button-focus-ring-border-radius: 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0}:host([dir=rtl][compact]:not([quiet],[vertical])) ::slotted(:last-child){--luzmo-action-button-focus-ring-border-radius: var(--luzmo-border-radius) 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}";var m=Object.defineProperty,v=Object.getOwnPropertyDescriptor,c=(n,t,r,e)=>{for(var o=e>1?void 0:e?v(t,r):t,a=n.length-1,i;a>=0;a--)(i=n[a])&&(o=(e?i(t,r,o):i(o))||o);return e&&o&&m(t,r,o),o};const l=[];class u extends b.SizedMixin(s.LuzmoElement,{validSizes:["xs","s","m","l","xl"],noDefaultSize:!0}){constructor(){super(),this._buttons=[],this._buttonSelector="luzmo-action-button, luzmo-action-menu",this.rovingTabindexController=new g.RovingTabindexController(this,{focusInIndex:t=>{let r=-1;const e=t.findIndex((o,a)=>(!t[r]&&!o.disabled&&(r=a),o.selected&&!o.disabled));return t[e]?e:r},elements:()=>this.buttons,isFocusableElement:t=>!t.disabled}),this.compact=!1,this.emphasized=!1,this.justified=!1,this.label="",this.quiet=!1,this.vertical=!1,this._selected=l,this.hasManaged=!1,this.manageButtons=()=>{if(!this.slotElement)return;const r=this.slotElement.assignedElements({flatten:!0}).reduce((e,o)=>{if(o.matches(this._buttonSelector))e.push(o);else{const a=[...o.querySelectorAll(`:scope > ${this._buttonSelector}`)];e.push(...a)}return e},[]);if(this.buttons=r,this.selects||!this.hasManaged){const e=[];this.buttons.forEach(o=>{o.selected&&e.push(o.value)}),this.setSelected([...this.selected,...e])}this.manageChildren(),this.manageSelects(),this.hasManaged=!0},new d.s(this,{config:{childList:!0,subtree:!0},callback:()=>{this.manageButtons()},skipInitial:!0})}static get styles(){return[s.r(h)]}set buttons(t){t!==this.buttons&&(this._buttons=t,this.rovingTabindexController.clearElementCache())}get buttons(){return this._buttons}set selected(t){this.requestUpdate("selected",this._selected),this._selected=t,this.updateComplete.then(()=>{this.applySelects(),this.manageChildren()})}get selected(){return this._selected}dispatchChange(t){this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0,cancelable:!0}))||(this.setSelected(t),this.buttons.map(e=>{e.selected=this.selected.includes(e.value)}))}setSelected(t,r){if(t===this.selected)return;const e=this.selected;this.requestUpdate("selected",e),this._selected=t,r&&this.dispatchChange(e)}focus(t){this.rovingTabindexController.focus(t)}deselectSelectedButtons(){this.buttons.forEach(t=>{t.selected&&(t.selected=!1,t.tabIndex=-1,t.setAttribute(this.selects?"aria-checked":"aria-pressed","false"))})}handleActionButtonChange(t){t.stopPropagation(),t.preventDefault()}handleClick(t){const r=t.target;if(r.value!==void 0)switch(this.selects){case"single":{this.deselectSelectedButtons(),r.selected=!0,r.tabIndex=0,r.setAttribute("aria-checked","true"),this.setSelected([r.value],!0);break}case"multiple":{const e=[...this.selected];r.selected=!r.selected,r.setAttribute("aria-checked",r.selected?"true":"false"),r.selected?e.push(r.value):e.splice(this.selected.indexOf(r.value),1),this.setSelected(e,!0),this.buttons.forEach(o=>{o.tabIndex=-1}),r.tabIndex=0;break}}}async applySelects(){await this.manageSelects(!0)}async manageSelects(t){if(this.buttons.length===0)return;const r=this.buttons;switch(this.selects){case"single":{this.setAttribute("role","radiogroup");const e=[],o=r.map(async i=>{await i.updateComplete,i.setAttribute("role","radio"),i.setAttribute("aria-checked",i.selected?"true":"false"),i.selected&&e.push(i)});if(t)break;await Promise.all(o);const a=e.map(i=>i.value);this.setSelected(a||l);break}case"multiple":{this.getAttribute("role")==="radiogroup"&&this.removeAttribute("role");const e=[],o=r.map(async i=>{await i.updateComplete,i.setAttribute("role","checkbox"),i.setAttribute("aria-checked",i.selected?"true":"false"),i.selected&&e.push(i.value)});if(t)break;await Promise.all(o);const a=e.length>0?e:l;this.setSelected(a);break}default:if(this.selected.length>0){const e=[],o=r.map(async a=>{await a.updateComplete,a.setAttribute("role","button"),a.selected?(a.setAttribute("aria-pressed","true"),e.push(a)):a.removeAttribute("aria-pressed")});if(t)break;await Promise.all(o),this.setSelected(e.map(a=>a.value))}else{this.buttons.forEach(e=>{e.setAttribute("role","button")});break}}this.hasAttribute("role")||this.setAttribute("role","toolbar")}render(){return s.x`
18
+ "use strict";const s=require("./base-Cy0MQrPT.cjs"),d=require("./mutation-controller-DkOMCW-c.cjs"),p=require("./query-BL-TJj7K.cjs"),g=require("./roving-tabindex-By_fCy_e.cjs"),b=require("./sized-mixin-WPHH0a_D.cjs"),h=":host{gap:var(--luzmo-action-group-horizontal-spacing-regular, var(--action-group-horizontal-spacing-regular));flex-wrap:wrap;display:flex}::slotted(*){flex-shrink:0}::slotted(:focus-visible){z-index:3}:host(:not([vertical]):not([compact])) ::slotted(*){flex-shrink:0}:host([vertical]){gap:var(--luzmo-action-group-vertical-spacing-regular, var(--action-group-vertical-spacing-regular));flex-direction:column;display:inline-flex}:host([compact]){gap:var(--luzmo-action-group-gap-size-compact, var(--action-group-gap-size-compact))}:host([compact]:not([quiet])){flex-wrap:nowrap}:host([compact]:not([quiet])) ::slotted(*){border-radius:var(--luzmo-action-group-border-radius-reset, var(--action-group-border-radius-reset));z-index:0;position:relative}:host([compact]:not([quiet])) ::slotted(:first-child){--luzmo-actionbutton-focus-indicator-border-radius: var( --luzmo-action-group-border-radius, var(--action-group-border-radius) ) 0px 0px var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-start-start-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-end-start-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));margin-inline-start:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset))}:host([compact]:not([quiet])) ::slotted(:not(:first-child)){--luzmo-actionbutton-focus-indicator-border-radius: 0px;margin-inline-start:var(--luzmo-action-group-horizontal-spacing-compact, var(--action-group-horizontal-spacing-compact));margin-inline-end:var(--luzmo-action-group-horizontal-spacing-compact, var(--action-group-horizontal-spacing-compact))}:host([compact]:not([quiet])) ::slotted(:last-child){--luzmo-actionbutton-focus-indicator-border-radius: 0px var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0px;border-start-end-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-end-end-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));margin-inline-start:var(--luzmo-action-group-horizontal-spacing-compact, var(--action-group-horizontal-spacing-compact));margin-inline-end:var(--luzmo-action-group-border-radius-reset, var(--action-group-border-radius-reset))}:host([compact]:not([quiet])) ::slotted([selected]){z-index:1}@media (hover: hover){:host([compact]:not([quiet])) ::slotted(:hover){z-index:2}}:host([compact]:not([quiet])) ::slotted(:focus-visible){z-index:3}:host([compact]:not([quiet])[vertical]){gap:var(--luzmo-action-group-gap-size-compact, var(--action-group-gap-size-compact))}:host([compact][vertical]:not([quiet])) ::slotted(*){border-radius:var(--luzmo-action-group-border-radius-reset, var(--action-group-border-radius-reset))}:host([compact][vertical]:not([quiet])) ::slotted(:first-child){--luzmo-actionbutton-focus-indicator-border-radius: var( --luzmo-action-group-border-radius, var(--action-group-border-radius) ) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0px 0px;border-start-start-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-start-end-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));margin-block-start:var(--luzmo-action-group-vertical-spacing-compact, var(--action-group-vertical-spacing-compact));margin-block-end:var(--luzmo-action-group-vertical-spacing-compact, var(--action-group-vertical-spacing-compact));margin-inline-end:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset))}:host([compact][vertical]:not([quiet])) ::slotted(:not(:first-child)){margin-block-start:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset));margin-block-end:var(--luzmo-action-group-vertical-spacing-compact, var(--action-group-vertical-spacing-compact));margin-inline-start:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset));margin-inline-end:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset))}:host([compact][vertical]:not([quiet])) ::slotted(:last-child){--luzmo-actionbutton-focus-indicator-border-radius: 0px 0px var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-end-end-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-end-start-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));margin-block-start:var(--luzmo-action-group-vertical-spacing-compact, var(--action-group-vertical-spacing-compact));margin-block-end:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset))}:host([justified]) ::slotted(*){flex:1}:host{--action-group-gap-size-compact: 0px;--action-group-horizontal-spacing-compact: -1px;--action-group-vertical-spacing-compact: -1px;--action-group-button-spacing-reset: 0px;--action-group-border-radius-reset: 0px;--action-group-border-radius: var(--luzmo-border-radius);--action-group-horizontal-spacing-regular: var(--luzmo-spacing-3);--action-group-vertical-spacing-regular: var(--luzmo-spacing-3)}:host([size=xs]),:host([size=s]){--action-group-horizontal-spacing-regular: var(--luzmo-spacing-2);--action-group-vertical-spacing-regular: var(--luzmo-spacing-2)}:host,:host([size=l]),:host([size=xl]){--action-group-horizontal-spacing-regular: var(--luzmo-spacing-3);--action-group-vertical-spacing-regular: var(--luzmo-spacing-3)}:host([dir][compact][vertical]) ::slotted(:nth-child(n)){margin-right:0;margin-left:0}:host([justified]) ::slotted(:not([role])),:host([vertical]) ::slotted(:not([role])){display:flex;flex-direction:column;align-items:stretch}:host([compact]:not([quiet])) ::slotted(:not([role])){--overriden-border-radius: 0;--luzmo-action-button-border-radius: var(--overriden-border-radius)}:host([compact][vertical]:not([quiet])) ::slotted(:not([role]):first-child){--overriden-border-radius: var( --luzmo-action-group-border-radius, var(--action-group-border-radius) ) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0 0}:host([compact][vertical]:not([quiet])) ::slotted(:not([role]):last-child){--overriden-border-radius: 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}:host([dir=ltr][compact]:not([quiet],[vertical])) ::slotted(:not([role]):first-child){--overriden-border-radius: var( --luzmo-action-group-border-radius, var(--action-group-border-radius) ) 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}:host([dir=rtl][compact]:not([quiet],[vertical])) ::slotted(:not([role]):first-child){--overriden-border-radius: 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0}:host([dir=ltr][compact]:not([quiet],[vertical])) ::slotted(:not([role]):last-child){--overriden-border-radius: 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0}:host([dir=rtl][compact]:not([quiet],[vertical])) ::slotted(:not([role]):last-child){--overriden-border-radius: var( --luzmo-action-group-border-radius, var(--action-group-border-radius) ) 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}:host([compact]:not([quiet])) ::slotted(*){--luzmo-action-button-focus-ring-border-radius: 0}:host([compact][vertical]:not([quiet])) ::slotted(:first-child){--luzmo-action-button-focus-ring-border-radius: var(--luzmo-border-radius) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0 0}:host([compact][vertical]:not([quiet])) ::slotted(:last-child){--luzmo-action-button-focus-ring-border-radius: 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}:host([dir=ltr][compact]:not([quiet],[vertical])) ::slotted(:first-child){--luzmo-action-button-focus-ring-border-radius: var(--luzmo-border-radius) 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}:host([dir=rtl][compact]:not([quiet],[vertical])) ::slotted(:first-child){--luzmo-action-button-focus-ring-border-radius: 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0}:host([dir=ltr][compact]:not([quiet],[vertical])) ::slotted(:last-child){--luzmo-action-button-focus-ring-border-radius: 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0}:host([dir=rtl][compact]:not([quiet],[vertical])) ::slotted(:last-child){--luzmo-action-button-focus-ring-border-radius: var(--luzmo-border-radius) 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}";var m=Object.defineProperty,v=Object.getOwnPropertyDescriptor,c=(n,t,r,e)=>{for(var o=e>1?void 0:e?v(t,r):t,a=n.length-1,i;a>=0;a--)(i=n[a])&&(o=(e?i(t,r,o):i(o))||o);return e&&o&&m(t,r,o),o};const l=[];class u extends b.SizedMixin(s.LuzmoElement,{validSizes:["xs","s","m","l","xl"],noDefaultSize:!0}){constructor(){super(),this._buttons=[],this._buttonSelector="luzmo-action-button, luzmo-action-menu",this.rovingTabindexController=new g.RovingTabindexController(this,{focusInIndex:t=>{let r=-1;const e=t.findIndex((o,a)=>(!t[r]&&!o.disabled&&(r=a),o.selected&&!o.disabled));return t[e]?e:r},elements:()=>this.buttons,isFocusableElement:t=>!t.disabled}),this.compact=!1,this.emphasized=!1,this.justified=!1,this.label="",this.quiet=!1,this.vertical=!1,this._selected=l,this.hasManaged=!1,this.manageButtons=()=>{if(!this.slotElement)return;const r=this.slotElement.assignedElements({flatten:!0}).reduce((e,o)=>{if(o.matches(this._buttonSelector))e.push(o);else{const a=[...o.querySelectorAll(`:scope > ${this._buttonSelector}`)];e.push(...a)}return e},[]);if(this.buttons=r,this.selects||!this.hasManaged){const e=[];this.buttons.forEach(o=>{o.selected&&e.push(o.value)}),this.setSelected([...this.selected,...e])}this.manageChildren(),this.manageSelects(),this.hasManaged=!0},new d.s(this,{config:{childList:!0,subtree:!0},callback:()=>{this.manageButtons()},skipInitial:!0})}static get styles(){return[s.r(h)]}set buttons(t){t!==this.buttons&&(this._buttons=t,this.rovingTabindexController.clearElementCache())}get buttons(){return this._buttons}set selected(t){this.requestUpdate("selected",this._selected),this._selected=t,this.updateComplete.then(()=>{this.applySelects(),this.manageChildren()})}get selected(){return this._selected}dispatchChange(t){this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0,cancelable:!0}))||(this.setSelected(t),this.buttons.map(e=>{e.selected=this.selected.includes(e.value)}))}setSelected(t,r){if(t===this.selected)return;const e=this.selected;this.requestUpdate("selected",e),this._selected=t,r&&this.dispatchChange(e)}focus(t){this.rovingTabindexController.focus(t)}deselectSelectedButtons(){this.buttons.forEach(t=>{t.selected&&(t.selected=!1,t.tabIndex=-1,t.setAttribute(this.selects?"aria-checked":"aria-pressed","false"))})}handleActionButtonChange(t){t.stopPropagation(),t.preventDefault()}handleClick(t){const r=t.target;if(r.value!==void 0)switch(this.selects){case"single":{this.deselectSelectedButtons(),r.selected=!0,r.tabIndex=0,r.setAttribute("aria-checked","true"),this.setSelected([r.value],!0);break}case"multiple":{const e=[...this.selected];r.selected=!r.selected,r.setAttribute("aria-checked",r.selected?"true":"false"),r.selected?e.push(r.value):e.splice(this.selected.indexOf(r.value),1),this.setSelected(e,!0),this.buttons.forEach(o=>{o.tabIndex=-1}),r.tabIndex=0;break}}}async applySelects(){await this.manageSelects(!0)}async manageSelects(t){if(this.buttons.length===0)return;const r=this.buttons;switch(this.selects){case"single":{this.setAttribute("role","radiogroup");const e=[],o=r.map(async i=>{await i.updateComplete,i.setAttribute("role","radio"),i.setAttribute("aria-checked",i.selected?"true":"false"),i.selected&&e.push(i)});if(t)break;await Promise.all(o);const a=e.map(i=>i.value);this.setSelected(a||l);break}case"multiple":{this.getAttribute("role")==="radiogroup"&&this.removeAttribute("role");const e=[],o=r.map(async i=>{await i.updateComplete,i.setAttribute("role","checkbox"),i.setAttribute("aria-checked",i.selected?"true":"false"),i.selected&&e.push(i.value)});if(t)break;await Promise.all(o);const a=e.length>0?e:l;this.setSelected(a);break}default:if(this.selected.length>0){const e=[],o=r.map(async a=>{await a.updateComplete,a.setAttribute("role","button"),a.selected?(a.setAttribute("aria-pressed","true"),e.push(a)):a.removeAttribute("aria-pressed")});if(t)break;await Promise.all(o),this.setSelected(e.map(a=>a.value))}else{this.buttons.forEach(e=>{e.setAttribute("role","button")});break}}this.hasAttribute("role")||this.setAttribute("role","toolbar")}render(){return s.x`
19
19
  <slot role="presentation" @slotchange=${this.manageButtons}></slot>
20
20
  `}firstUpdated(t){super.firstUpdated(t),this.addEventListener("click",this.handleClick)}updated(t){super.updated(t),t.has("selects")&&(this.manageSelects(),this.manageChildren(),this.selects?this.renderRoot.addEventListener("change",this.handleActionButtonChange):this.renderRoot.removeEventListener("change",this.handleActionButtonChange)),(t.has("quiet")||t.has("emphasized")||t.has("size")||t.has("staticColor"))&&this.manageChildren(t),t.has("label")&&(this.label||t.get("label")!==void 0)&&(this.label.length>0?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label"))}manageChildren(t){this.buttons.forEach(r=>{(this.quiet||t!=null&&t.get("quiet"))&&(r.quiet=this.quiet),(this.emphasized||t!=null&&t.get("emphasized"))&&(r.emphasized=this.emphasized),(this.staticColor||t!=null&&t.get("staticColor"))&&(r.staticColor=this.staticColor),(this.selects||!this.hasManaged)&&(r.selected=this.selected.includes(r.value)),this.size&&(this.size!=="m"||(t==null?void 0:t.get("size"))!==void 0)&&(r.size=this.size)})}}c([s.n({type:Boolean,reflect:!0})],u.prototype,"compact",2);c([s.n({type:Boolean,reflect:!0})],u.prototype,"emphasized",2);c([s.n({type:Boolean,reflect:!0})],u.prototype,"justified",2);c([s.n({type:String})],u.prototype,"label",2);c([s.n({type:Boolean,reflect:!0})],u.prototype,"quiet",2);c([s.n({type:String})],u.prototype,"selects",2);c([s.n({reflect:!0,attribute:"static-color"})],u.prototype,"staticColor",2);c([s.n({type:Boolean,reflect:!0})],u.prototype,"vertical",2);c([s.n({type:Array})],u.prototype,"selected",1);c([p.e("slot")],u.prototype,"slotElement",2);exports.LuzmoActionGroup=u;
@@ -15,11 +15,11 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- import { a as d, r as p, x as g, n as c } from "./base-WsynuqaS.js";
18
+ import { a as d, r as p, x as g, n as c } from "./base-CFWO09N1.js";
19
19
  import { s as h } from "./mutation-controller-DH7YOCyj.js";
20
20
  import { e as b } from "./query-D_KR_GUc.js";
21
21
  import { R as m } from "./roving-tabindex-DOg4z6ZU.js";
22
- import { S as v } from "./sized-mixin-D4ACoVUr.js";
22
+ import { S as v } from "./sized-mixin-CJbBHWRQ.js";
23
23
  const z = ":host{gap:var(--luzmo-action-group-horizontal-spacing-regular, var(--action-group-horizontal-spacing-regular));flex-wrap:wrap;display:flex}::slotted(*){flex-shrink:0}::slotted(:focus-visible){z-index:3}:host(:not([vertical]):not([compact])) ::slotted(*){flex-shrink:0}:host([vertical]){gap:var(--luzmo-action-group-vertical-spacing-regular, var(--action-group-vertical-spacing-regular));flex-direction:column;display:inline-flex}:host([compact]){gap:var(--luzmo-action-group-gap-size-compact, var(--action-group-gap-size-compact))}:host([compact]:not([quiet])){flex-wrap:nowrap}:host([compact]:not([quiet])) ::slotted(*){border-radius:var(--luzmo-action-group-border-radius-reset, var(--action-group-border-radius-reset));z-index:0;position:relative}:host([compact]:not([quiet])) ::slotted(:first-child){--luzmo-actionbutton-focus-indicator-border-radius: var( --luzmo-action-group-border-radius, var(--action-group-border-radius) ) 0px 0px var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-start-start-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-end-start-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));margin-inline-start:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset))}:host([compact]:not([quiet])) ::slotted(:not(:first-child)){--luzmo-actionbutton-focus-indicator-border-radius: 0px;margin-inline-start:var(--luzmo-action-group-horizontal-spacing-compact, var(--action-group-horizontal-spacing-compact));margin-inline-end:var(--luzmo-action-group-horizontal-spacing-compact, var(--action-group-horizontal-spacing-compact))}:host([compact]:not([quiet])) ::slotted(:last-child){--luzmo-actionbutton-focus-indicator-border-radius: 0px var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0px;border-start-end-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-end-end-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));margin-inline-start:var(--luzmo-action-group-horizontal-spacing-compact, var(--action-group-horizontal-spacing-compact));margin-inline-end:var(--luzmo-action-group-border-radius-reset, var(--action-group-border-radius-reset))}:host([compact]:not([quiet])) ::slotted([selected]){z-index:1}@media (hover: hover){:host([compact]:not([quiet])) ::slotted(:hover){z-index:2}}:host([compact]:not([quiet])) ::slotted(:focus-visible){z-index:3}:host([compact]:not([quiet])[vertical]){gap:var(--luzmo-action-group-gap-size-compact, var(--action-group-gap-size-compact))}:host([compact][vertical]:not([quiet])) ::slotted(*){border-radius:var(--luzmo-action-group-border-radius-reset, var(--action-group-border-radius-reset))}:host([compact][vertical]:not([quiet])) ::slotted(:first-child){--luzmo-actionbutton-focus-indicator-border-radius: var( --luzmo-action-group-border-radius, var(--action-group-border-radius) ) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0px 0px;border-start-start-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-start-end-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));margin-block-start:var(--luzmo-action-group-vertical-spacing-compact, var(--action-group-vertical-spacing-compact));margin-block-end:var(--luzmo-action-group-vertical-spacing-compact, var(--action-group-vertical-spacing-compact));margin-inline-end:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset))}:host([compact][vertical]:not([quiet])) ::slotted(:not(:first-child)){margin-block-start:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset));margin-block-end:var(--luzmo-action-group-vertical-spacing-compact, var(--action-group-vertical-spacing-compact));margin-inline-start:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset));margin-inline-end:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset))}:host([compact][vertical]:not([quiet])) ::slotted(:last-child){--luzmo-actionbutton-focus-indicator-border-radius: 0px 0px var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-end-end-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-end-start-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));margin-block-start:var(--luzmo-action-group-vertical-spacing-compact, var(--action-group-vertical-spacing-compact));margin-block-end:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset))}:host([justified]) ::slotted(*){flex:1}:host{--action-group-gap-size-compact: 0px;--action-group-horizontal-spacing-compact: -1px;--action-group-vertical-spacing-compact: -1px;--action-group-button-spacing-reset: 0px;--action-group-border-radius-reset: 0px;--action-group-border-radius: var(--luzmo-border-radius);--action-group-horizontal-spacing-regular: var(--luzmo-spacing-3);--action-group-vertical-spacing-regular: var(--luzmo-spacing-3)}:host([size=xs]),:host([size=s]){--action-group-horizontal-spacing-regular: var(--luzmo-spacing-2);--action-group-vertical-spacing-regular: var(--luzmo-spacing-2)}:host,:host([size=l]),:host([size=xl]){--action-group-horizontal-spacing-regular: var(--luzmo-spacing-3);--action-group-vertical-spacing-regular: var(--luzmo-spacing-3)}:host([dir][compact][vertical]) ::slotted(:nth-child(n)){margin-right:0;margin-left:0}:host([justified]) ::slotted(:not([role])),:host([vertical]) ::slotted(:not([role])){display:flex;flex-direction:column;align-items:stretch}:host([compact]:not([quiet])) ::slotted(:not([role])){--overriden-border-radius: 0;--luzmo-action-button-border-radius: var(--overriden-border-radius)}:host([compact][vertical]:not([quiet])) ::slotted(:not([role]):first-child){--overriden-border-radius: var( --luzmo-action-group-border-radius, var(--action-group-border-radius) ) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0 0}:host([compact][vertical]:not([quiet])) ::slotted(:not([role]):last-child){--overriden-border-radius: 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}:host([dir=ltr][compact]:not([quiet],[vertical])) ::slotted(:not([role]):first-child){--overriden-border-radius: var( --luzmo-action-group-border-radius, var(--action-group-border-radius) ) 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}:host([dir=rtl][compact]:not([quiet],[vertical])) ::slotted(:not([role]):first-child){--overriden-border-radius: 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0}:host([dir=ltr][compact]:not([quiet],[vertical])) ::slotted(:not([role]):last-child){--overriden-border-radius: 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0}:host([dir=rtl][compact]:not([quiet],[vertical])) ::slotted(:not([role]):last-child){--overriden-border-radius: var( --luzmo-action-group-border-radius, var(--action-group-border-radius) ) 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}:host([compact]:not([quiet])) ::slotted(*){--luzmo-action-button-focus-ring-border-radius: 0}:host([compact][vertical]:not([quiet])) ::slotted(:first-child){--luzmo-action-button-focus-ring-border-radius: var(--luzmo-border-radius) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0 0}:host([compact][vertical]:not([quiet])) ::slotted(:last-child){--luzmo-action-button-focus-ring-border-radius: 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}:host([dir=ltr][compact]:not([quiet],[vertical])) ::slotted(:first-child){--luzmo-action-button-focus-ring-border-radius: var(--luzmo-border-radius) 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}:host([dir=rtl][compact]:not([quiet],[vertical])) ::slotted(:first-child){--luzmo-action-button-focus-ring-border-radius: 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0}:host([dir=ltr][compact]:not([quiet],[vertical])) ::slotted(:last-child){--luzmo-action-button-focus-ring-border-radius: 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0}:host([dir=rtl][compact]:not([quiet],[vertical])) ::slotted(:last-child){--luzmo-action-button-focus-ring-border-radius: var(--luzmo-border-radius) 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}";
24
24
  var f = Object.defineProperty, x = Object.getOwnPropertyDescriptor, s = (n, t, r, e) => {
25
25
  for (var o = e > 1 ? void 0 : e ? x(t, r) : t, a = n.length - 1, i; a >= 0; a--)
@@ -15,7 +15,7 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("../luzmo-icons-DletXGWU.cjs"),o=require("../base-CBCg3yyw.cjs"),b=require("../state-D8JEtYqe.cjs"),u=require("../if-defined-C9YGdo33.cjs"),m=require("../observe-slot-presence-bc9chhsi.cjs"),p=require("../observe-slot-text-Ceb7SvYT.cjs"),v=require("../slottable-request-event-BfUUt1Mh.cjs"),d=require("../picker-DWsBWdPN.cjs");require("../action-button/index.cjs");require("../icon/index.cjs");require("../overlay/index.cjs");require("../popover/index.cjs");const y=":host{display:inline-flex}:host([quiet]){min-width:0}:host>luzmo-menu{display:none}::slotted([slot=icon]){flex-shrink:0}.icon{flex-shrink:0}#popover{max-width:none}:host([dir=ltr]) ::slotted([slot=icon]),:host([dir=ltr]) .icon{margin-left:calc(-1 * (var(--luzmo-action-button-textonly-padding-left-adjusted) - var(--luzmo-action-button-padding-left-adjusted)))}:host([dir=rtl]) ::slotted([slot=icon]),:host([dir=rtl]) .icon{margin-right:calc(-1 * (var(--luzmo-action-button-textonly-padding-left-adjusted) - var(--luzmo-action-button-padding-left-adjusted)))}:host([dir]) slot[icon-only]::slotted([slot=icon]),:host([dir]) slot[icon-only] .icon{margin-inline:calc((var(--luzmo-action-button-edge-to-text, var(--action-button-edge-to-text)) - var(--luzmo-action-button-edge-to-visual-only, var(--action-button-edge-to-visual-only))) * -1)}luzmo-overlay:not(:defined){display:none}";var f=Object.defineProperty,g=Object.getOwnPropertyDescriptor,c=(l,t,s,i)=>{for(var e=i>1?void 0:i?g(t,s):t,r=l.length-1,a;r>=0;r--)(a=l[r])&&(e=(i?a(t,s,e):a(e))||e);return i&&e&&f(t,s,e),e};class n extends m.ObserveSlotPresence(p.ObserveSlotText(d.LuzmoPickerBase,"label"),'[slot="label-only"]'){constructor(){super(...arguments),this.selects=void 0,this.listRole="menu",this.itemRole="menuitem",this.handleSlottableRequest=t=>{this.dispatchEvent(new v.SlottableRequestEvent(t.name,t.data))}}static get styles(){return[o.r(y)]}get hasLabel(){return this.slotHasContent}get labelOnly(){return this.slotContentIsPresent}get buttonContent(){return[o.x`
18
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("../luzmo-icons-CtA-TJPd.cjs"),o=require("../base-Cy0MQrPT.cjs"),b=require("../state-vf0PJN3_.cjs"),u=require("../if-defined-DaXWqfzc.cjs"),m=require("../observe-slot-presence-bc9chhsi.cjs"),p=require("../observe-slot-text-D2VAEFSd.cjs"),v=require("../slottable-request-event-BfUUt1Mh.cjs"),d=require("../picker-X96xmLAw.cjs");require("../action-button/index.cjs");require("../icon/index.cjs");require("../overlay/index.cjs");require("../popover/index.cjs");const y=":host{display:inline-flex}:host([quiet]){min-width:0}:host>luzmo-menu{display:none}::slotted([slot=icon]){flex-shrink:0}.icon{flex-shrink:0}#popover{max-width:none}:host([dir=ltr]) ::slotted([slot=icon]),:host([dir=ltr]) .icon{margin-left:calc(-1 * (var(--luzmo-action-button-textonly-padding-left-adjusted) - var(--luzmo-action-button-padding-left-adjusted)))}:host([dir=rtl]) ::slotted([slot=icon]),:host([dir=rtl]) .icon{margin-right:calc(-1 * (var(--luzmo-action-button-textonly-padding-left-adjusted) - var(--luzmo-action-button-padding-left-adjusted)))}:host([dir]) slot[icon-only]::slotted([slot=icon]),:host([dir]) slot[icon-only] .icon{margin-inline:calc((var(--luzmo-action-button-edge-to-text, var(--action-button-edge-to-text)) - var(--luzmo-action-button-edge-to-visual-only, var(--action-button-edge-to-visual-only))) * -1)}luzmo-overlay:not(:defined){display:none}";var f=Object.defineProperty,g=Object.getOwnPropertyDescriptor,c=(l,t,s,i)=>{for(var e=i>1?void 0:i?g(t,s):t,r=l.length-1,a;r>=0;r--)(a=l[r])&&(e=(i?a(t,s,e):a(e))||e);return i&&e&&f(t,s,e),e};class n extends m.ObserveSlotPresence(p.ObserveSlotText(d.LuzmoPickerBase,"label"),'[slot="label-only"]'){constructor(){super(...arguments),this.selects=void 0,this.listRole="menu",this.itemRole="menuitem",this.handleSlottableRequest=t=>{this.dispatchEvent(new v.SlottableRequestEvent(t.name,t.data))}}static get styles(){return[o.r(y)]}get hasLabel(){return this.slotHasContent}get labelOnly(){return this.slotContentIsPresent}get buttonContent(){return[o.x`
19
19
  ${this.labelOnly?o.x``:o.x`
20
20
  <slot
21
21
  name="icon"
@@ -15,14 +15,14 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- import { K as z } from "../luzmo-icons-DbwDQtuO.js";
19
- import { r as b, x as r, n as c } from "../base-WsynuqaS.js";
20
- import { r as h } from "../state-Deh-vKYE.js";
21
- import { o as a } from "../if-defined-DOaE2coe.js";
18
+ import { K as z } from "../luzmo-icons-CiSek5iM.js";
19
+ import { r as b, x as r, n as c } from "../base-CFWO09N1.js";
20
+ import { r as h } from "../state-DwIwYPvt.js";
21
+ import { o as a } from "../if-defined-DULpqYwi.js";
22
22
  import { O as p } from "../observe-slot-presence-CmVi0zTc.js";
23
- import { O as f } from "../observe-slot-text-BPfIQQtz.js";
23
+ import { O as f } from "../observe-slot-text-C3moTjwy.js";
24
24
  import { S as g } from "../slottable-request-event-DggLA4Rx.js";
25
- import { L as x, D as v } from "../picker-BmoXv1jt.js";
25
+ import { L as x, D as v } from "../picker-BsQJBF9j.js";
26
26
  import "../action-button/index.js";
27
27
  import "../icon/index.js";
28
28
  import "../overlay/index.js";
@@ -15,7 +15,7 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- import { f as _ } from "./directive-helpers-Cm6gitnu.js";
18
+ import { f as _ } from "./directive-helpers-D4KMv2dC.js";
19
19
  import { i as f, t as A } from "./directive-oAbCiebi.js";
20
20
  /**
21
21
  * @license
@@ -15,7 +15,7 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- "use strict";const $=require("./directive-helpers-DyIRTWwA.cjs"),c=require("./directive-C7oCP5Bh.cjs");/**
18
+ "use strict";const $=require("./directive-helpers-t-TVum7J.cjs"),c=require("./directive-C7oCP5Bh.cjs");/**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
21
21
  * SPDX-License-Identifier: BSD-3-Clause
@@ -15,7 +15,7 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../base-CBCg3yyw.cjs"),l=require("../query-BL-TJj7K.cjs"),d=require("../if-defined-C9YGdo33.cjs"),u=require("../focusable-EbipgXRh.cjs"),z=require("../like-anchor-sod1C1fR.cjs"),c=require("../sized-mixin-CPxE5C96.cjs"),h='@media (forced-colors: active){:host{--highcontrast-avatar-focus-indicator-color: CanvasText}}:host{--avatar-border-radius: var( --luzmo-avatar-border-radius, var(--luzmo-avatar-size, var(--avatar-size)) );inline-size:var(--luzmo-avatar-size, var(--avatar-size));block-size:var(--luzmo-avatar-size, var(--avatar-size));border-radius:var(--avatar-border-radius);-webkit-user-drag:none;-webkit-user-select:none;user-select:none;opacity:var(--luzmo-avatar-color-opacity, var(--avatar-color-opacity));border-width:0;outline:none;display:inline-block;position:relative;overflow:visible}:host([disabled]){opacity:var(--highcontrast-avatar-color-opacity-disabled, var(--luzmo-avatar-color-opacity-disabled, var(--avatar-color-opacity-disabled)))}:host(:not([disabled])) .is-focused:after,:host(:not([disabled])) .link:focus-visible:after{pointer-events:none;content:"";inline-size:calc(var(--luzmo-avatar-custom-size, var(--luzmo-avatar-size, var(--avatar-size))) + var(--luzmo-avatar-focus-indicator-gap, var(--avatar-focus-indicator-gap)) * 2);block-size:calc(var(--luzmo-avatar-custom-size, var(--luzmo-avatar-size, var(--avatar-size))) + var(--luzmo-avatar-focus-indicator-gap, var(--avatar-focus-indicator-gap)) * 2);border-style:solid;border-width:var(--luzmo-avatar-focus-indicator-width, var(--avatar-focus-indicator-width));border-color:var(--highcontrast-avatar-focus-indicator-color, var(--luzmo-avatar-focus-indicator-color, var(--avatar-focus-indicator-color)));border-radius:var(--avatar-border-radius);position:absolute;inset-block-start:calc((var(--luzmo-avatar-focus-indicator-gap, var(--avatar-focus-indicator-gap)) + var(--luzmo-avatar-focus-indicator-width, var(--avatar-focus-indicator-width))) * -1);inset-inline-start:calc((var(--luzmo-avatar-focus-indicator-gap, var(--avatar-focus-indicator-gap)) + var(--luzmo-avatar-focus-indicator-width, var(--avatar-focus-indicator-width))) * -1)}.link{outline:0}.image{inline-size:var(--luzmo-avatar-size, var(--avatar-size));block-size:var(--luzmo-avatar-size, var(--avatar-size));border-radius:var(--avatar-border-radius)}:host([rounding=none]){border-radius:0}:host([rounding=none]) img{border-radius:0}:host([rounding=full]){border-radius:100%}:host([rounding=full]) img{border-radius:100%}:host([border=light]){border:var(--luzmo-avatar-border-width, var(--avatar-border-width)) solid var(--luzmo-avatar-border-color, var(--avatar-border-color))}:host([border=none]){border:0}:host{--avatar-color-opacity: 1;--avatar-border-width: var(--luzmo-border-width);--avatar-border-color: var(--luzmo-border-color);--avatar-size: 32px;--avatar-focus-indicator-width: var(--luzmo-indicator-width);--avatar-focus-indicator-gap: var(--luzmo-indicator-gap);--avatar-focus-indicator-color: var(--luzmo-indicator-color);--avatar-color-opacity-disabled: .3}:host([size=xxs]){--avatar-size: var(--luzmo-component-height-xxs)}:host([size=xs]){--avatar-size: var(--luzmo-component-height-xs)}:host([size=s]){--avatar-size: var(--luzmo-component-height-s)}:host{--avatar-size: var(--luzmo-component-height)}:host([size=l]){--avatar-size: var(--luzmo-component-height-l)}:host([size=xl]){--avatar-size: var(--luzmo-component-height-xl)}:host([size=xxl]){--avatar-size: var(--luzmo-component-height-xxl)}img{vertical-align:top}';var m=Object.defineProperty,i=(e,o,v,b)=>{for(var a=void 0,s=e.length-1,n;s>=0;s--)(n=e[s])&&(a=n(o,v,a)||a);return a&&m(o,v,a),a};class r extends z.LikeAnchor(c.SizedMixin(u.Focusable,{validSizes:Object.values(c.ElementSizes)})){constructor(){super(...arguments),this.src=""}static get styles(){return[t.r(h)]}get focusElement(){return this.anchorElement||this}render(){const o=t.x`
18
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../base-Cy0MQrPT.cjs"),l=require("../query-BL-TJj7K.cjs"),d=require("../if-defined-DaXWqfzc.cjs"),u=require("../focusable-B_KwfEec.cjs"),z=require("../like-anchor-Bu3pXbjT.cjs"),c=require("../sized-mixin-WPHH0a_D.cjs"),h='@media (forced-colors: active){:host{--highcontrast-avatar-focus-indicator-color: CanvasText}}:host{--avatar-border-radius: var( --luzmo-avatar-border-radius, var(--luzmo-avatar-size, var(--avatar-size)) );inline-size:var(--luzmo-avatar-size, var(--avatar-size));block-size:var(--luzmo-avatar-size, var(--avatar-size));border-radius:var(--avatar-border-radius);-webkit-user-drag:none;-webkit-user-select:none;user-select:none;opacity:var(--luzmo-avatar-color-opacity, var(--avatar-color-opacity));border-width:0;outline:none;display:inline-block;position:relative;overflow:visible}:host([disabled]){opacity:var(--highcontrast-avatar-color-opacity-disabled, var(--luzmo-avatar-color-opacity-disabled, var(--avatar-color-opacity-disabled)))}:host(:not([disabled])) .is-focused:after,:host(:not([disabled])) .link:focus-visible:after{pointer-events:none;content:"";inline-size:calc(var(--luzmo-avatar-custom-size, var(--luzmo-avatar-size, var(--avatar-size))) + var(--luzmo-avatar-focus-indicator-gap, var(--avatar-focus-indicator-gap)) * 2);block-size:calc(var(--luzmo-avatar-custom-size, var(--luzmo-avatar-size, var(--avatar-size))) + var(--luzmo-avatar-focus-indicator-gap, var(--avatar-focus-indicator-gap)) * 2);border-style:solid;border-width:var(--luzmo-avatar-focus-indicator-width, var(--avatar-focus-indicator-width));border-color:var(--highcontrast-avatar-focus-indicator-color, var(--luzmo-avatar-focus-indicator-color, var(--avatar-focus-indicator-color)));border-radius:var(--avatar-border-radius);position:absolute;inset-block-start:calc((var(--luzmo-avatar-focus-indicator-gap, var(--avatar-focus-indicator-gap)) + var(--luzmo-avatar-focus-indicator-width, var(--avatar-focus-indicator-width))) * -1);inset-inline-start:calc((var(--luzmo-avatar-focus-indicator-gap, var(--avatar-focus-indicator-gap)) + var(--luzmo-avatar-focus-indicator-width, var(--avatar-focus-indicator-width))) * -1)}.link{outline:0}.image{inline-size:var(--luzmo-avatar-size, var(--avatar-size));block-size:var(--luzmo-avatar-size, var(--avatar-size));border-radius:var(--avatar-border-radius)}:host([rounding=none]){border-radius:0}:host([rounding=none]) img{border-radius:0}:host([rounding=full]){border-radius:100%}:host([rounding=full]) img{border-radius:100%}:host([border=light]){border:var(--luzmo-avatar-border-width, var(--avatar-border-width)) solid var(--luzmo-avatar-border-color, var(--avatar-border-color))}:host([border=none]){border:0}:host{--avatar-color-opacity: 1;--avatar-border-width: var(--luzmo-border-width);--avatar-border-color: var(--luzmo-border-color);--avatar-size: 32px;--avatar-focus-indicator-width: var(--luzmo-indicator-width);--avatar-focus-indicator-gap: var(--luzmo-indicator-gap);--avatar-focus-indicator-color: var(--luzmo-indicator-color);--avatar-color-opacity-disabled: .3}:host([size=xxs]){--avatar-size: var(--luzmo-component-height-xxs)}:host([size=xs]){--avatar-size: var(--luzmo-component-height-xs)}:host([size=s]){--avatar-size: var(--luzmo-component-height-s)}:host{--avatar-size: var(--luzmo-component-height)}:host([size=l]){--avatar-size: var(--luzmo-component-height-l)}:host([size=xl]){--avatar-size: var(--luzmo-component-height-xl)}:host([size=xxl]){--avatar-size: var(--luzmo-component-height-xxl)}img{vertical-align:top}';var m=Object.defineProperty,i=(e,o,v,b)=>{for(var a=void 0,s=e.length-1,n;s>=0;s--)(n=e[s])&&(a=n(o,v,a)||a);return a&&m(o,v,a),a};class r extends z.LikeAnchor(c.SizedMixin(u.Focusable,{validSizes:Object.values(c.ElementSizes)})){constructor(){super(...arguments),this.src=""}static get styles(){return[t.r(h)]}get focusElement(){return this.anchorElement||this}render(){const o=t.x`
19
19
  <img
20
20
  class="image"
21
21
  alt=${d.o(this.label||void 0)}
@@ -15,12 +15,12 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- import { r as n, x as m, n as i } from "../base-WsynuqaS.js";
18
+ import { r as n, x as m, n as i } from "../base-CFWO09N1.js";
19
19
  import { e as d } from "../query-D_KR_GUc.js";
20
- import { o as z } from "../if-defined-DOaE2coe.js";
21
- import { F as v } from "../focusable-BxtpnzWp.js";
22
- import { L as b } from "../like-anchor-Bvn_vLQ8.js";
23
- import { S as f, E as h } from "../sized-mixin-D4ACoVUr.js";
20
+ import { o as z } from "../if-defined-DULpqYwi.js";
21
+ import { F as v } from "../focusable-C5JjRZmT.js";
22
+ import { L as b } from "../like-anchor-DCFJN0LV.js";
23
+ import { S as f, E as h } from "../sized-mixin-CJbBHWRQ.js";
24
24
  const u = () => {
25
25
  if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
26
26
  const o = document.createElement("style");
@@ -21,7 +21,7 @@
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
22
  */
23
23
  const O = globalThis, j = O.ShadowRoot && (O.ShadyCSS === void 0 || O.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, B = Symbol(), q = /* @__PURE__ */ new WeakMap();
24
- let st = class {
24
+ let it = class {
25
25
  constructor(t, e, s) {
26
26
  if (this._$cssResult$ = !0, s !== B) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
27
27
  this.cssText = t, this.t = e;
@@ -39,14 +39,14 @@ let st = class {
39
39
  return this.cssText;
40
40
  }
41
41
  };
42
- const at = (n) => new st(typeof n == "string" ? n : n + "", void 0, B), Ht = (n, ...t) => {
42
+ const lt = (n) => new it(typeof n == "string" ? n : n + "", void 0, B), Ht = (n, ...t) => {
43
43
  const e = n.length === 1 ? n[0] : t.reduce((s, i, o) => s + ((r) => {
44
44
  if (r._$cssResult$ === !0) return r.cssText;
45
45
  if (typeof r == "number") return r;
46
46
  throw Error("Value passed to 'css' function must be a 'css' function result: " + r + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
47
47
  })(i) + n[o + 1], n[0]);
48
- return new st(e, n, B);
49
- }, lt = (n, t) => {
48
+ return new it(e, n, B);
49
+ }, ct = (n, t) => {
50
50
  if (j) n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
51
51
  else for (const e of t) {
52
52
  const s = document.createElement("style"), i = O.litNonce;
@@ -55,17 +55,17 @@ const at = (n) => new st(typeof n == "string" ? n : n + "", void 0, B), Ht = (n,
55
55
  }, F = j ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
56
56
  let e = "";
57
57
  for (const s of t.cssRules) e += s.cssText;
58
- return at(e);
58
+ return lt(e);
59
59
  })(n) : n;
60
60
  /**
61
61
  * @license
62
62
  * Copyright 2017 Google LLC
63
63
  * SPDX-License-Identifier: BSD-3-Clause
64
64
  */
65
- const { is: ct, defineProperty: dt, getOwnPropertyDescriptor: ut, getOwnPropertyNames: pt, getOwnPropertySymbols: $t, getPrototypeOf: _t } = Object, f = globalThis, Z = f.trustedTypes, ft = Z ? Z.emptyScript : "", k = f.reactiveElementPolyfillSupport, w = (n, t) => n, H = { toAttribute(n, t) {
65
+ const { is: dt, defineProperty: ut, getOwnPropertyDescriptor: pt, getOwnPropertyNames: $t, getOwnPropertySymbols: ft, getPrototypeOf: _t } = Object, _ = globalThis, Z = _.trustedTypes, mt = Z ? Z.emptyScript : "", k = _.reactiveElementPolyfillSupport, w = (n, t) => n, H = { toAttribute(n, t) {
66
66
  switch (t) {
67
67
  case Boolean:
68
- n = n ? ft : null;
68
+ n = n ? mt : null;
69
69
  break;
70
70
  case Object:
71
71
  case Array:
@@ -90,8 +90,8 @@ const { is: ct, defineProperty: dt, getOwnPropertyDescriptor: ut, getOwnProperty
90
90
  }
91
91
  }
92
92
  return e;
93
- } }, V = (n, t) => !ct(n, t), J = { attribute: !0, type: String, converter: H, reflect: !1, hasChanged: V };
94
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), f.litPropertyMetadata ?? (f.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
93
+ } }, V = (n, t) => !dt(n, t), J = { attribute: !0, type: String, converter: H, reflect: !1, hasChanged: V };
94
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), _.litPropertyMetadata ?? (_.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
95
95
  let y = class extends HTMLElement {
96
96
  static addInitializer(t) {
97
97
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
@@ -102,11 +102,11 @@ let y = class extends HTMLElement {
102
102
  static createProperty(t, e = J) {
103
103
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
104
104
  const s = Symbol(), i = this.getPropertyDescriptor(t, s, e);
105
- i !== void 0 && dt(this.prototype, t, i);
105
+ i !== void 0 && ut(this.prototype, t, i);
106
106
  }
107
107
  }
108
108
  static getPropertyDescriptor(t, e, s) {
109
- const { get: i, set: o } = ut(this.prototype, t) ?? { get() {
109
+ const { get: i, set: o } = pt(this.prototype, t) ?? { get() {
110
110
  return this[e];
111
111
  }, set(r) {
112
112
  this[e] = r;
@@ -129,7 +129,7 @@ let y = class extends HTMLElement {
129
129
  static finalize() {
130
130
  if (this.hasOwnProperty(w("finalized"))) return;
131
131
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(w("properties"))) {
132
- const e = this.properties, s = [...pt(e), ...$t(e)];
132
+ const e = this.properties, s = [...$t(e), ...ft(e)];
133
133
  for (const i of s) this.createProperty(i, e[i]);
134
134
  }
135
135
  const t = this[Symbol.metadata];
@@ -178,7 +178,7 @@ let y = class extends HTMLElement {
178
178
  }
179
179
  createRenderRoot() {
180
180
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
181
- return lt(t, this.constructor.elementStyles), t;
181
+ return ct(t, this.constructor.elementStyles), t;
182
182
  }
183
183
  connectedCallback() {
184
184
  var t;
@@ -290,59 +290,59 @@ let y = class extends HTMLElement {
290
290
  firstUpdated(t) {
291
291
  }
292
292
  };
293
- y.elementStyles = [], y.shadowRootOptions = { mode: "open" }, y[w("elementProperties")] = /* @__PURE__ */ new Map(), y[w("finalized")] = /* @__PURE__ */ new Map(), k == null || k({ ReactiveElement: y }), (f.reactiveElementVersions ?? (f.reactiveElementVersions = [])).push("2.0.4");
293
+ y.elementStyles = [], y.shadowRootOptions = { mode: "open" }, y[w("elementProperties")] = /* @__PURE__ */ new Map(), y[w("finalized")] = /* @__PURE__ */ new Map(), k == null || k({ ReactiveElement: y }), (_.reactiveElementVersions ?? (_.reactiveElementVersions = [])).push("2.0.4");
294
294
  /**
295
295
  * @license
296
296
  * Copyright 2017 Google LLC
297
297
  * SPDX-License-Identifier: BSD-3-Clause
298
298
  */
299
- const C = globalThis, N = C.trustedTypes, K = N ? N.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, it = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, nt = "?" + _, mt = `<${nt}>`, A = document, U = () => A.createComment(""), x = (n) => n === null || typeof n != "object" && typeof n != "function", W = Array.isArray, gt = (n) => W(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", L = `[
299
+ const C = globalThis, N = C.trustedTypes, K = N ? N.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, nt = "$lit$", f = `lit$${Math.random().toFixed(9).slice(2)}$`, rt = "?" + f, gt = `<${rt}>`, A = document, U = () => A.createComment(""), x = (n) => n === null || typeof n != "object" && typeof n != "function", W = Array.isArray, At = (n) => W(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", L = `[
300
300
  \f\r]`, S = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, G = /-->/g, Q = />/g, m = RegExp(`>|${L}(?:([^\\s"'>=/]+)(${L}*=${L}*(?:[^
301
- \f\r"'\`<>=]|("|')|))|$)`, "g"), X = /'/g, Y = /"/g, rt = /^(?:script|style|textarea|title)$/i, ot = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), Rt = ot(1), kt = ot(2), v = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), tt = /* @__PURE__ */ new WeakMap(), g = A.createTreeWalker(A, 129);
302
- function ht(n, t) {
301
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), X = /'/g, Y = /"/g, ot = /^(?:script|style|textarea|title)$/i, ht = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), Rt = ht(1), kt = ht(2), v = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), tt = /* @__PURE__ */ new WeakMap(), g = A.createTreeWalker(A, 129);
302
+ function at(n, t) {
303
303
  if (!W(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
304
304
  return K !== void 0 ? K.createHTML(t) : t;
305
305
  }
306
- const At = (n, t) => {
306
+ const yt = (n, t) => {
307
307
  const e = n.length - 1, s = [];
308
308
  let i, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", r = S;
309
309
  for (let a = 0; a < e; a++) {
310
310
  const h = n[a];
311
311
  let c, u, l = -1, p = 0;
312
- for (; p < h.length && (r.lastIndex = p, u = r.exec(h), u !== null); ) p = r.lastIndex, r === S ? u[1] === "!--" ? r = G : u[1] !== void 0 ? r = Q : u[2] !== void 0 ? (rt.test(u[2]) && (i = RegExp("</" + u[2], "g")), r = m) : u[3] !== void 0 && (r = m) : r === m ? u[0] === ">" ? (r = i ?? S, l = -1) : u[1] === void 0 ? l = -2 : (l = r.lastIndex - u[2].length, c = u[1], r = u[3] === void 0 ? m : u[3] === '"' ? Y : X) : r === Y || r === X ? r = m : r === G || r === Q ? r = S : (r = m, i = void 0);
312
+ for (; p < h.length && (r.lastIndex = p, u = r.exec(h), u !== null); ) p = r.lastIndex, r === S ? u[1] === "!--" ? r = G : u[1] !== void 0 ? r = Q : u[2] !== void 0 ? (ot.test(u[2]) && (i = RegExp("</" + u[2], "g")), r = m) : u[3] !== void 0 && (r = m) : r === m ? u[0] === ">" ? (r = i ?? S, l = -1) : u[1] === void 0 ? l = -2 : (l = r.lastIndex - u[2].length, c = u[1], r = u[3] === void 0 ? m : u[3] === '"' ? Y : X) : r === Y || r === X ? r = m : r === G || r === Q ? r = S : (r = m, i = void 0);
313
313
  const $ = r === m && n[a + 1].startsWith("/>") ? " " : "";
314
- o += r === S ? h + mt : l >= 0 ? (s.push(c), h.slice(0, l) + it + h.slice(l) + _ + $) : h + _ + (l === -2 ? a : $);
314
+ o += r === S ? h + gt : l >= 0 ? (s.push(c), h.slice(0, l) + nt + h.slice(l) + f + $) : h + f + (l === -2 ? a : $);
315
315
  }
316
- return [ht(n, o + (n[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
316
+ return [at(n, o + (n[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
317
317
  };
318
318
  class M {
319
319
  constructor({ strings: t, _$litType$: e }, s) {
320
320
  let i;
321
321
  this.parts = [];
322
322
  let o = 0, r = 0;
323
- const a = t.length - 1, h = this.parts, [c, u] = At(t, e);
323
+ const a = t.length - 1, h = this.parts, [c, u] = yt(t, e);
324
324
  if (this.el = M.createElement(c, s), g.currentNode = this.el.content, e === 2 || e === 3) {
325
325
  const l = this.el.content.firstChild;
326
326
  l.replaceWith(...l.childNodes);
327
327
  }
328
328
  for (; (i = g.nextNode()) !== null && h.length < a; ) {
329
329
  if (i.nodeType === 1) {
330
- if (i.hasAttributes()) for (const l of i.getAttributeNames()) if (l.endsWith(it)) {
331
- const p = u[r++], $ = i.getAttribute(l).split(_), T = /([.?@])?(.*)/.exec(p);
332
- h.push({ type: 1, index: o, name: T[2], strings: $, ctor: T[1] === "." ? vt : T[1] === "?" ? Et : T[1] === "@" ? bt : R }), i.removeAttribute(l);
333
- } else l.startsWith(_) && (h.push({ type: 6, index: o }), i.removeAttribute(l));
334
- if (rt.test(i.tagName)) {
335
- const l = i.textContent.split(_), p = l.length - 1;
330
+ if (i.hasAttributes()) for (const l of i.getAttributeNames()) if (l.endsWith(nt)) {
331
+ const p = u[r++], $ = i.getAttribute(l).split(f), T = /([.?@])?(.*)/.exec(p);
332
+ h.push({ type: 1, index: o, name: T[2], strings: $, ctor: T[1] === "." ? Et : T[1] === "?" ? bt : T[1] === "@" ? St : R }), i.removeAttribute(l);
333
+ } else l.startsWith(f) && (h.push({ type: 6, index: o }), i.removeAttribute(l));
334
+ if (ot.test(i.tagName)) {
335
+ const l = i.textContent.split(f), p = l.length - 1;
336
336
  if (p > 0) {
337
337
  i.textContent = N ? N.emptyScript : "";
338
338
  for (let $ = 0; $ < p; $++) i.append(l[$], U()), g.nextNode(), h.push({ type: 2, index: ++o });
339
339
  i.append(l[p], U());
340
340
  }
341
341
  }
342
- } else if (i.nodeType === 8) if (i.data === nt) h.push({ type: 2, index: o });
342
+ } else if (i.nodeType === 8) if (i.data === rt) h.push({ type: 2, index: o });
343
343
  else {
344
344
  let l = -1;
345
- for (; (l = i.data.indexOf(_, l + 1)) !== -1; ) h.push({ type: 7, index: o }), l += _.length - 1;
345
+ for (; (l = i.data.indexOf(f, l + 1)) !== -1; ) h.push({ type: 7, index: o }), l += f.length - 1;
346
346
  }
347
347
  o++;
348
348
  }
@@ -359,7 +359,7 @@ function E(n, t, e = n, s) {
359
359
  const o = x(t) ? void 0 : t._$litDirective$;
360
360
  return (i == null ? void 0 : i.constructor) !== o && ((a = i == null ? void 0 : i._$AO) == null || a.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;
361
361
  }
362
- class yt {
362
+ class vt {
363
363
  constructor(t, e) {
364
364
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
365
365
  }
@@ -376,7 +376,7 @@ class yt {
376
376
  for (; h !== void 0; ) {
377
377
  if (r === h.index) {
378
378
  let c;
379
- h.type === 2 ? c = new b(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[++a];
379
+ h.type === 2 ? c = new b(o, o.nextSibling, this, t) : h.type === 1 ? c = new h.ctor(o, h.name, h.strings, this, t) : h.type === 6 && (c = new wt(o, this, t)), this._$AV.push(c), h = s[++a];
380
380
  }
381
381
  r !== (h == null ? void 0 : h.index) && (o = g.nextNode(), r++);
382
382
  }
@@ -407,7 +407,7 @@ class b {
407
407
  return this._$AB;
408
408
  }
409
409
  _$AI(t, e = this) {
410
- 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) : gt(t) ? this.k(t) : this._(t);
410
+ 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) : At(t) ? this.k(t) : this._(t);
411
411
  }
412
412
  O(t) {
413
413
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -420,10 +420,10 @@ class b {
420
420
  }
421
421
  $(t) {
422
422
  var o;
423
- const { values: e, _$litType$: s } = t, i = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = M.createElement(ht(s.h, s.h[0]), this.options)), s);
423
+ const { values: e, _$litType$: s } = t, i = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = M.createElement(at(s.h, s.h[0]), this.options)), s);
424
424
  if (((o = this._$AH) == null ? void 0 : o._$AD) === i) this._$AH.p(e);
425
425
  else {
426
- const r = new yt(i, this), a = r.u(this.options);
426
+ const r = new vt(i, this), a = r.u(this.options);
427
427
  r.p(e), this.T(a), this._$AH = r;
428
428
  }
429
429
  }
@@ -475,7 +475,7 @@ class R {
475
475
  t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
476
476
  }
477
477
  }
478
- class vt extends R {
478
+ class Et extends R {
479
479
  constructor() {
480
480
  super(...arguments), this.type = 3;
481
481
  }
@@ -483,7 +483,7 @@ class vt extends R {
483
483
  this.element[this.name] = t === d ? void 0 : t;
484
484
  }
485
485
  }
486
- class Et extends R {
486
+ class bt extends R {
487
487
  constructor() {
488
488
  super(...arguments), this.type = 4;
489
489
  }
@@ -491,7 +491,7 @@ class Et extends R {
491
491
  this.element.toggleAttribute(this.name, !!t && t !== d);
492
492
  }
493
493
  }
494
- class bt extends R {
494
+ class St extends R {
495
495
  constructor(t, e, s, i, o) {
496
496
  super(t, e, s, i, o), this.type = 5;
497
497
  }
@@ -505,7 +505,7 @@ class bt extends R {
505
505
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
506
506
  }
507
507
  }
508
- class St {
508
+ class wt {
509
509
  constructor(t, e, s) {
510
510
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
511
511
  }
@@ -518,7 +518,7 @@ class St {
518
518
  }
519
519
  const Lt = { I: b }, D = C.litHtmlPolyfillSupport;
520
520
  D == null || D(M, b), (C.litHtmlVersions ?? (C.litHtmlVersions = [])).push("3.2.1");
521
- const wt = (n, t, e) => {
521
+ const Ct = (n, t, e) => {
522
522
  const s = (e == null ? void 0 : e.renderBefore) ?? t;
523
523
  let i = s._$litPart$;
524
524
  if (i === void 0) {
@@ -543,7 +543,7 @@ let P = class extends y {
543
543
  }
544
544
  update(t) {
545
545
  const e = this.render();
546
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = wt(e, this.renderRoot, this.renderOptions);
546
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Ct(e, this.renderRoot, this.renderOptions);
547
547
  }
548
548
  connectedCallback() {
549
549
  var t;
@@ -557,8 +557,8 @@ let P = class extends y {
557
557
  return v;
558
558
  }
559
559
  };
560
- var et;
561
- P._$litElement$ = !0, P.finalized = !0, (et = globalThis.litElementHydrateSupport) == null || et.call(globalThis, { LitElement: P });
560
+ var st;
561
+ P._$litElement$ = !0, P.finalized = !0, (st = globalThis.litElementHydrateSupport) == null || st.call(globalThis, { LitElement: P });
562
562
  const z = globalThis.litElementPolyfillSupport;
563
563
  z == null || z({ LitElement: P });
564
564
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
@@ -567,7 +567,7 @@ z == null || z({ LitElement: P });
567
567
  * Copyright 2017 Google LLC
568
568
  * SPDX-License-Identifier: BSD-3-Clause
569
569
  */
570
- const Ct = { attribute: !0, type: String, converter: H, reflect: !1, hasChanged: V }, Pt = (n = Ct, t, e) => {
570
+ const Pt = { attribute: !0, type: String, converter: H, reflect: !1, hasChanged: V }, Ut = (n = Pt, t, e) => {
571
571
  const { kind: s, metadata: i } = e;
572
572
  let o = globalThis.litPropertyMetadata.get(i);
573
573
  if (o === void 0 && globalThis.litPropertyMetadata.set(i, o = /* @__PURE__ */ new Map()), o.set(e.name, n), s === "accessor") {
@@ -589,21 +589,23 @@ const Ct = { attribute: !0, type: String, converter: H, reflect: !1, hasChanged:
589
589
  throw Error("Unsupported decorator location: " + s);
590
590
  };
591
591
  function zt(n) {
592
- return (t, e) => typeof e == "object" ? Pt(n, t, e) : ((s, i, o) => {
592
+ return (t, e) => typeof e == "object" ? Ut(n, t, e) : ((s, i, o) => {
593
593
  const r = i.hasOwnProperty(o);
594
594
  return i.constructor.createProperty(o, r ? { ...s, wrapped: !0 } : s), r ? Object.getOwnPropertyDescriptor(i, o) : void 0;
595
595
  })(n, t, e);
596
596
  }
597
- const I = /* @__PURE__ */ new Set(), Ut = () => {
597
+ const I = /* @__PURE__ */ new Set(), xt = () => {
598
+ if (typeof document > "u") return;
598
599
  const n = document.documentElement.dir === "rtl" ? document.documentElement.dir : "ltr";
599
600
  I.forEach((t) => {
600
601
  t.setAttribute("dir", n);
601
602
  });
602
- }, xt = new MutationObserver(Ut);
603
- xt.observe(document.documentElement, {
603
+ };
604
+ let et = null;
605
+ typeof document < "u" && (et = new MutationObserver(xt), et.observe(document.documentElement, {
604
606
  attributes: !0,
605
607
  attributeFilter: ["dir"]
606
- });
608
+ }));
607
609
  const Mt = (n) => n.startManagingContentDirection !== void 0 || n.tagName === "LUZMO-THEME";
608
610
  function Tt(n) {
609
611
  class t extends n {
@@ -614,6 +616,7 @@ function Tt(n) {
614
616
  return this.dir === "ltr";
615
617
  }
616
618
  hasVisibleFocusInTree() {
619
+ if (typeof document > "u") return !1;
617
620
  const i = ((o = document) => {
618
621
  var h;
619
622
  let r = o.activeElement;
@@ -635,17 +638,21 @@ function Tt(n) {
635
638
  }
636
639
  }
637
640
  connectedCallback() {
641
+ if (typeof document > "u") {
642
+ super.connectedCallback();
643
+ return;
644
+ }
638
645
  if (!this.hasAttribute("dir")) {
639
646
  let s = this.assignedSlot || this.parentNode;
640
- for (; s !== document.documentElement && !Mt(s); )
647
+ for (; s !== (document == null ? void 0 : document.documentElement) && !Mt(s); )
641
648
  s = s.assignedSlot || // step into the shadow DOM of the parent of a slotted node
642
649
  s.parentNode || // DOM Element detected
643
650
  s.host;
644
- if (this.dir = s.dir === "rtl" ? s.dir : this.dir || "ltr", s === document.documentElement)
651
+ if (this.dir = s.dir === "rtl" ? s.dir : this.dir || "ltr", s === (document == null ? void 0 : document.documentElement))
645
652
  I.add(this);
646
653
  else {
647
654
  const { localName: i } = s;
648
- i.search("-") > -1 && !customElements.get(i) ? customElements.whenDefined(i).then(() => {
655
+ i.search("-") > -1 && typeof customElements < "u" && !customElements.get(i) ? customElements.whenDefined(i).then(() => {
649
656
  s.startManagingContentDirection(this);
650
657
  }) : s.startManagingContentDirection(this);
651
658
  }
@@ -654,7 +661,7 @@ function Tt(n) {
654
661
  super.connectedCallback();
655
662
  }
656
663
  disconnectedCallback() {
657
- super.disconnectedCallback(), this._dirParent && (this._dirParent === document.documentElement ? I.delete(this) : this._dirParent.stopManagingContentDirection(this), this.removeAttribute("dir"));
664
+ super.disconnectedCallback(), this._dirParent && (this._dirParent === (document == null ? void 0 : document.documentElement) ? I.delete(this) : this._dirParent.stopManagingContentDirection(this), this.removeAttribute("dir"));
658
665
  }
659
666
  }
660
667
  return t;
@@ -662,7 +669,7 @@ function Tt(n) {
662
669
  class It extends Tt(P) {
663
670
  }
664
671
  export {
665
- wt as B,
672
+ Ct as B,
666
673
  d as E,
667
674
  Tt as L,
668
675
  v as T,
@@ -672,6 +679,6 @@ export {
672
679
  P as c,
673
680
  Ht as i,
674
681
  zt as n,
675
- at as r,
682
+ lt as r,
676
683
  Rt as x
677
684
  };