@luzmo/analytics-components-kit 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 (962) hide show
  1. package/LICENSE +18 -0
  2. package/components/area-chart-options.config-A8NH6aUG.cjs +20 -0
  3. package/components/area-chart-options.config-BbSP_Auh.js +150 -0
  4. package/components/area-chart-options.de-D_LVLa1H.cjs +20 -0
  5. package/components/area-chart-options.de-FcVE2Ywe.js +80 -0
  6. package/components/area-chart-options.en-Cz5aXeVe.js +80 -0
  7. package/components/area-chart-options.en-IauEvPHP.cjs +20 -0
  8. package/components/area-chart-options.es-CmPycXn2.cjs +20 -0
  9. package/components/area-chart-options.es-o3ABpXnC.js +80 -0
  10. package/components/area-chart-options.fr-BMnkGWlJ.cjs +20 -0
  11. package/components/area-chart-options.fr-CBhHB_ER.js +80 -0
  12. package/components/area-chart-options.nl-C7-N_idS.cjs +20 -0
  13. package/components/area-chart-options.nl-SbYGv26w.js +80 -0
  14. package/components/area-chart-slots.config-BLxiYX05.cjs +20 -0
  15. package/components/area-chart-slots.config-C0c2ZzBh.js +52 -0
  16. package/components/async-directive-DWRUSKKF-CmOVMf6V.js +152 -0
  17. package/components/async-directive-DWRUSKKF-D4itZyzc.cjs +56 -0
  18. package/components/bar-chart-options.config-CRGDLJCK.js +161 -0
  19. package/components/bar-chart-options.config-Cpbrpmp1.cjs +20 -0
  20. package/components/bar-chart-options.de-BGzu5Zgd.cjs +20 -0
  21. package/components/bar-chart-options.de-DwTn_qfu.js +86 -0
  22. package/components/bar-chart-options.en-Crc8tYUJ.js +86 -0
  23. package/components/bar-chart-options.en-D1UfGsS3.cjs +20 -0
  24. package/components/bar-chart-options.es-B2UWafXc.cjs +20 -0
  25. package/components/bar-chart-options.es-ByT_D06p.js +86 -0
  26. package/components/bar-chart-options.fr-BwiGRlQf.js +86 -0
  27. package/components/bar-chart-options.fr-CP7DTrlk.cjs +20 -0
  28. package/components/bar-chart-options.nl-DZe2pKRa.cjs +20 -0
  29. package/components/bar-chart-options.nl-DzXnHdwX.js +86 -0
  30. package/components/bar-chart-slots.config-GSSL7XVA.js +47 -0
  31. package/components/bar-chart-slots.config-Jx1PveTM.cjs +20 -0
  32. package/components/base-BjTwmyRF.cjs +24 -0
  33. package/components/base-D76d76ww-BiajPmzU.cjs +40 -0
  34. package/components/base-D76d76ww-gf0ESLsU.js +45 -0
  35. package/components/base-D76d76ww.js +28 -0
  36. package/components/box-plot-options.config-BtonHYul.js +296 -0
  37. package/components/box-plot-options.config-CGIKZNsw.cjs +20 -0
  38. package/components/box-plot-options.de-D3Yye2Yp.js +113 -0
  39. package/components/box-plot-options.de-QbWt-xja.cjs +20 -0
  40. package/components/box-plot-options.en-CZhtAYXJ.cjs +20 -0
  41. package/components/box-plot-options.en-DADAI4yL.js +113 -0
  42. package/components/box-plot-options.es-ePZUgamp.js +113 -0
  43. package/components/box-plot-options.es-lyXLMKKo.cjs +20 -0
  44. package/components/box-plot-options.fr-BXh76t2K.cjs +20 -0
  45. package/components/box-plot-options.fr-DNkSteEz.js +113 -0
  46. package/components/box-plot-options.nl-DDAzT-zP.cjs +20 -0
  47. package/components/box-plot-options.nl-GBXrkaLf.js +113 -0
  48. package/components/box-plot-slots.config-BRhnF2FE.js +48 -0
  49. package/components/box-plot-slots.config-DZxyy3sS.cjs +20 -0
  50. package/components/bubble-chart-options.config-BM7njnkG.cjs +20 -0
  51. package/components/bubble-chart-options.config-R5R-E3dd.js +124 -0
  52. package/components/bubble-chart-options.de-D2Z88fwi.cjs +20 -0
  53. package/components/bubble-chart-options.de-D8Ap7joq.js +63 -0
  54. package/components/bubble-chart-options.en-BU3F4n13.js +63 -0
  55. package/components/bubble-chart-options.en-CP9PhuPw.cjs +20 -0
  56. package/components/bubble-chart-options.es-B6mTDtxs.cjs +20 -0
  57. package/components/bubble-chart-options.es-Bh_dRgE3.js +63 -0
  58. package/components/bubble-chart-options.fr-BMPe3Z5G.cjs +20 -0
  59. package/components/bubble-chart-options.fr-CNiJgmGl.js +63 -0
  60. package/components/bubble-chart-options.nl-5thQrFoi.cjs +20 -0
  61. package/components/bubble-chart-options.nl-BoV3kpaZ.js +63 -0
  62. package/components/bubble-chart-slots.config-Bbh94VgZ.js +46 -0
  63. package/components/bubble-chart-slots.config-BwSwgleO.cjs +20 -0
  64. package/components/bullet-chart-options.config-D-_esi9S.js +76 -0
  65. package/components/bullet-chart-options.config-D-wrbTMO.cjs +20 -0
  66. package/components/bullet-chart-options.de-D0XaMKPn.cjs +20 -0
  67. package/components/bullet-chart-options.de-DxBk0yku.js +51 -0
  68. package/components/bullet-chart-options.en-BPjbk6Lk.cjs +20 -0
  69. package/components/bullet-chart-options.en-Cu1cnL90.js +51 -0
  70. package/components/bullet-chart-options.es-DxC9GWBS.cjs +20 -0
  71. package/components/bullet-chart-options.es-pGm2umSR.js +51 -0
  72. package/components/bullet-chart-options.fr-Cf_rodY7.cjs +20 -0
  73. package/components/bullet-chart-options.fr-DGOcuFKQ.js +51 -0
  74. package/components/bullet-chart-options.nl-BJ39_p2y.js +51 -0
  75. package/components/bullet-chart-options.nl-BdIjKMZf.cjs +20 -0
  76. package/components/bullet-chart-slots.config-Ccv_dX0s.js +45 -0
  77. package/components/bullet-chart-slots.config-CiYsxviC.cjs +20 -0
  78. package/components/button-base-B7v4eeRh-BKKUK3x0.cjs +43 -0
  79. package/components/button-base-B7v4eeRh-D3-GH03o.js +161 -0
  80. package/components/checkbox-mixin-BFGTmw17-C34LMsgu.js +88 -0
  81. package/components/checkbox-mixin-BFGTmw17-CCjGd0nS.cjs +45 -0
  82. package/components/choropleth-map-options.config-BOuMfF8r.cjs +20 -0
  83. package/components/choropleth-map-options.config-z2fY__jr.js +340 -0
  84. package/components/choropleth-map-options.de-BSt-L5Vh.js +102 -0
  85. package/components/choropleth-map-options.de-B_Agdr4T.cjs +20 -0
  86. package/components/choropleth-map-options.en-Cy7WcWLG.js +102 -0
  87. package/components/choropleth-map-options.en-DJHAy6ek.cjs +20 -0
  88. package/components/choropleth-map-options.es-BnR-9vJv.js +102 -0
  89. package/components/choropleth-map-options.es-Dr07odJo.cjs +20 -0
  90. package/components/choropleth-map-options.fr-BlwLS1Wy.js +102 -0
  91. package/components/choropleth-map-options.fr-CR5NMRR3.cjs +20 -0
  92. package/components/choropleth-map-options.nl-BITK3ddz.cjs +20 -0
  93. package/components/choropleth-map-options.nl-D70fr4Hl.js +102 -0
  94. package/components/choropleth-map-slots.config-B-uJTj4q.js +47 -0
  95. package/components/choropleth-map-slots.config-PNwSR0XY.cjs +20 -0
  96. package/components/circle-pack-chart-options.config-DEYL3DMK.js +55 -0
  97. package/components/circle-pack-chart-options.config-DWql72cN.cjs +20 -0
  98. package/components/circle-pack-chart-options.de-BKCxSgFo.cjs +20 -0
  99. package/components/circle-pack-chart-options.de-CUL0ypCU.js +41 -0
  100. package/components/circle-pack-chart-options.en-8QoEZniy.cjs +20 -0
  101. package/components/circle-pack-chart-options.en-CFTJowAI.js +41 -0
  102. package/components/circle-pack-chart-options.es-BAdMklie.cjs +20 -0
  103. package/components/circle-pack-chart-options.es-BGoaousJ.js +41 -0
  104. package/components/circle-pack-chart-options.fr-DLb0Di6Z.js +41 -0
  105. package/components/circle-pack-chart-options.fr-Dx2iO7nE.cjs +20 -0
  106. package/components/circle-pack-chart-options.nl-BEbtjCy_.cjs +20 -0
  107. package/components/circle-pack-chart-options.nl-CZL69ZgV.js +41 -0
  108. package/components/circle-pack-chart-slots.config-C-_ganmv.cjs +20 -0
  109. package/components/circle-pack-chart-slots.config-xwVdRiwS.js +40 -0
  110. package/components/circular-gauge-options.config-9tIxyJj1.js +142 -0
  111. package/components/circular-gauge-options.config-h9KNl5Eq.cjs +20 -0
  112. package/components/circular-gauge-options.de-BO3S8GCr.js +73 -0
  113. package/components/circular-gauge-options.de-BZfrQqs3.cjs +20 -0
  114. package/components/circular-gauge-options.en-CB-jZtE6.cjs +20 -0
  115. package/components/circular-gauge-options.en-Cyhhijwg.js +76 -0
  116. package/components/circular-gauge-options.es-DJ7ru4Wf.js +73 -0
  117. package/components/circular-gauge-options.es-DuQPHjcG.cjs +20 -0
  118. package/components/circular-gauge-options.fr-BVWliP7i.js +76 -0
  119. package/components/circular-gauge-options.fr-CFMa8H8K.cjs +20 -0
  120. package/components/circular-gauge-options.nl-BB_jgj5k.cjs +20 -0
  121. package/components/circular-gauge-options.nl-DGpV7Riu.js +76 -0
  122. package/components/circular-gauge-slots.config-Cd-nkNPm.cjs +20 -0
  123. package/components/circular-gauge-slots.config-DA-ZAc5d.js +39 -0
  124. package/components/column-chart-options.config-B-e2SI2W.cjs +20 -0
  125. package/components/column-chart-options.config-D87ZFT76.js +162 -0
  126. package/components/column-chart-options.de-VQVdi8aP.js +86 -0
  127. package/components/column-chart-options.de-pgdcIHqk.cjs +20 -0
  128. package/components/column-chart-options.en-Crc8tYUJ.js +86 -0
  129. package/components/column-chart-options.en-D1UfGsS3.cjs +20 -0
  130. package/components/column-chart-options.es-CAAXJv_2.cjs +20 -0
  131. package/components/column-chart-options.es-CT9ZtjV_.js +86 -0
  132. package/components/column-chart-options.fr-BwiGRlQf.js +86 -0
  133. package/components/column-chart-options.fr-CP7DTrlk.cjs +20 -0
  134. package/components/column-chart-options.nl-3wAj9uWY.cjs +20 -0
  135. package/components/column-chart-options.nl-DB2dcotu.js +86 -0
  136. package/components/column-chart-slots.config-C7MhpoR8.cjs +20 -0
  137. package/components/column-chart-slots.config-DAdAk17k.js +47 -0
  138. package/components/combination-chart-options.config-CApdgFvv.js +45 -0
  139. package/components/combination-chart-options.config-CyYEp-gX.cjs +20 -0
  140. package/components/combination-chart-options.de-CEsSn5-2.js +38 -0
  141. package/components/combination-chart-options.de-CuVQ-JHu.cjs +20 -0
  142. package/components/combination-chart-options.en-BCKuLOQb.js +38 -0
  143. package/components/combination-chart-options.en-BPcGTsP4.cjs +20 -0
  144. package/components/combination-chart-options.es-Dy7jzzFy.cjs +20 -0
  145. package/components/combination-chart-options.es-zMa9kqmV.js +38 -0
  146. package/components/combination-chart-options.fr-CLUyqNH7.cjs +20 -0
  147. package/components/combination-chart-options.fr-DOXtaY1V.js +38 -0
  148. package/components/combination-chart-options.nl-BF6joCMV.cjs +20 -0
  149. package/components/combination-chart-options.nl-CCChbhx_.js +38 -0
  150. package/components/combination-chart-slots.config-CqKLFKCZ.js +45 -0
  151. package/components/combination-chart-slots.config-crMO01EO.cjs +20 -0
  152. package/components/conditional-number-options.config-D09JeUlU.cjs +20 -0
  153. package/components/conditional-number-options.config-PVvKLc1P.js +133 -0
  154. package/components/conditional-number-options.de-BJcjBZY1.js +74 -0
  155. package/components/conditional-number-options.de-CFnufi0r.cjs +20 -0
  156. package/components/conditional-number-options.en-WSrIzRGJ.js +74 -0
  157. package/components/conditional-number-options.en-Wd-0YtdE.cjs +20 -0
  158. package/components/conditional-number-options.es-BKqT0zog.js +74 -0
  159. package/components/conditional-number-options.es-BTDTe5SF.cjs +20 -0
  160. package/components/conditional-number-options.fr-CZ-9jzPm.cjs +20 -0
  161. package/components/conditional-number-options.fr-D2r7Azy8.js +74 -0
  162. package/components/conditional-number-options.nl-CfRYL6o1.cjs +20 -0
  163. package/components/conditional-number-options.nl-pkRI1tLZ.js +74 -0
  164. package/components/conditional-number-slots.config-CD5ZwXuY.cjs +20 -0
  165. package/components/conditional-number-slots.config-L3t5pb1-.js +39 -0
  166. package/components/cs-DVZ0Tapy.js +89 -0
  167. package/components/cs-I9E81keK.cjs +20 -0
  168. package/components/da-DHy05oSR.js +97 -0
  169. package/components/da-QkdvupDg.cjs +20 -0
  170. package/components/date-filter-slots.config-Cb1LcT9W.cjs +20 -0
  171. package/components/date-filter-slots.config-CxB8IF5B.js +33 -0
  172. package/components/de-BaTUIQk1.js +104 -0
  173. package/components/de-DgHoh7KS.cjs +20 -0
  174. package/components/de-Dn5mUzha.cjs +20 -0
  175. package/components/de-iM39JlAt.js +109 -0
  176. package/components/decompose-numeric-format-B3rVVHpO.cjs +20 -0
  177. package/components/decompose-numeric-format-BuZcjH2k.js +39 -0
  178. package/components/directive-helpers-nlQRAaQt-3kEWF2GV.cjs +80 -0
  179. package/components/directive-helpers-nlQRAaQt-I6T4KZKW.js +115 -0
  180. package/components/display-settings/display-settings.d.ts +70 -0
  181. package/components/display-settings/index.cjs +105 -0
  182. package/components/display-settings/index.d.ts +7 -0
  183. package/components/display-settings/index.js +238 -0
  184. package/components/display-settings-binning/display-settings-binning.d.ts +33 -0
  185. package/components/display-settings-binning/index.cjs +55 -0
  186. package/components/display-settings-binning/index.d.ts +7 -0
  187. package/components/display-settings-binning/index.js +151 -0
  188. package/components/display-settings-datetime/display-settings-datetime.d.ts +85 -0
  189. package/components/display-settings-datetime/index.cjs +228 -0
  190. package/components/display-settings-datetime/index.d.ts +7 -0
  191. package/components/display-settings-datetime/index.js +542 -0
  192. package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +31 -0
  193. package/components/display-settings-grand-totals/index.cjs +43 -0
  194. package/components/display-settings-grand-totals/index.d.ts +7 -0
  195. package/components/display-settings-grand-totals/index.js +126 -0
  196. package/components/display-settings-numeric/display-settings-numeric.d.ts +73 -0
  197. package/components/display-settings-numeric/helpers/constants.d.ts +18 -0
  198. package/components/display-settings-numeric/index.cjs +156 -0
  199. package/components/display-settings-numeric/index.d.ts +7 -0
  200. package/components/display-settings-numeric/index.js +477 -0
  201. package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +44 -0
  202. package/components/display-settings-period-over-period/helpers/constants.d.ts +36 -0
  203. package/components/display-settings-period-over-period/index.cjs +103 -0
  204. package/components/display-settings-period-over-period/index.d.ts +7 -0
  205. package/components/display-settings-period-over-period/index.js +314 -0
  206. package/components/divider.module-DwOuLGU3-B19eHVg2.js +40 -0
  207. package/components/divider.module-DwOuLGU3-Bg8RrFkc.cjs +36 -0
  208. package/components/donut-chart-options.config-NPwNtLDW.js +182 -0
  209. package/components/donut-chart-options.config-bqcKuyIu.cjs +20 -0
  210. package/components/donut-chart-options.de-LQ01wQGN.cjs +20 -0
  211. package/components/donut-chart-options.de-nSj3ghwo.js +99 -0
  212. package/components/donut-chart-options.en-CrUf4CJ9.js +99 -0
  213. package/components/donut-chart-options.en-DHCYs2el.cjs +20 -0
  214. package/components/donut-chart-options.es-BLDU1xpY.cjs +20 -0
  215. package/components/donut-chart-options.es-DnsGqOdo.js +99 -0
  216. package/components/donut-chart-options.fr-C33dLw52.cjs +20 -0
  217. package/components/donut-chart-options.fr-DVfZwZny.js +99 -0
  218. package/components/donut-chart-options.nl-CUuOQyJg.js +99 -0
  219. package/components/donut-chart-options.nl-h5-SSy_L.cjs +20 -0
  220. package/components/donut-chart-slots.config-BEwhfq27.js +39 -0
  221. package/components/donut-chart-slots.config-DIp-24lO.cjs +20 -0
  222. package/components/draggable-data-item/draggable-data-item.d.ts +26 -0
  223. package/components/draggable-data-item/index.cjs +55 -0
  224. package/components/draggable-data-item/index.d.ts +7 -0
  225. package/components/draggable-data-item/index.js +135 -0
  226. package/components/draggable-data-item-level/draggable-data-item-level.d.ts +29 -0
  227. package/components/draggable-data-item-level/helpers/calculate-type-icon.d.ts +2 -0
  228. package/components/draggable-data-item-level/helpers/generate-preview.d.ts +1 -0
  229. package/components/draggable-data-item-level/index.cjs +36 -0
  230. package/components/draggable-data-item-level/index.d.ts +7 -0
  231. package/components/draggable-data-item-level/index.js +293 -0
  232. package/components/dropdown-filter-options.config-D9dvPypF.js +163 -0
  233. package/components/dropdown-filter-options.config-DS-MORmq.cjs +20 -0
  234. package/components/dropdown-filter-options.de-0HBcrwev.js +82 -0
  235. package/components/dropdown-filter-options.de-WLFUtnO_.cjs +20 -0
  236. package/components/dropdown-filter-options.en-CNdmMsNW.js +82 -0
  237. package/components/dropdown-filter-options.en-txvgrhI8.cjs +20 -0
  238. package/components/dropdown-filter-options.es-C-U0fQJO.cjs +20 -0
  239. package/components/dropdown-filter-options.es-DjgZxklA.js +82 -0
  240. package/components/dropdown-filter-options.fr-Bl7uZNdT.cjs +20 -0
  241. package/components/dropdown-filter-options.fr-n_2OjO_u.js +82 -0
  242. package/components/dropdown-filter-options.nl-CL6UEP00.js +82 -0
  243. package/components/dropdown-filter-options.nl-DIvw6DFh.cjs +20 -0
  244. package/components/dropdown-filter-slots.config-B8J6ftCh.js +46 -0
  245. package/components/dropdown-filter-slots.config-I2n4b_6V.cjs +20 -0
  246. package/components/droppable-slot/droppable-slot.d.ts +49 -0
  247. package/components/droppable-slot/index.cjs +69 -0
  248. package/components/droppable-slot/index.d.ts +7 -0
  249. package/components/droppable-slot/index.js +307 -0
  250. package/components/droppable-slot/item-slots-configs/index.d.ts +44 -0
  251. package/components/droppable-slot/item-slots-configs/slot-labels.const.d.ts +8 -0
  252. package/components/edit-item/edit-item.d.ts +53 -0
  253. package/components/edit-item/index.cjs +85 -0
  254. package/components/edit-item/index.d.ts +7 -0
  255. package/components/edit-item/index.js +523 -0
  256. package/components/edit-option/edit-option.d.ts +24 -0
  257. package/components/edit-option/helpers/control-markup.d.ts +14 -0
  258. package/components/edit-option/helpers/control-templates/action-button-group-template.d.ts +2 -0
  259. package/components/edit-option/helpers/control-templates/color-picker-template.d.ts +2 -0
  260. package/components/edit-option/helpers/control-templates/multi-language-field-template.d.ts +8 -0
  261. package/components/edit-option/helpers/control-templates/number-field-template.d.ts +2 -0
  262. package/components/edit-option/helpers/control-templates/picker-template.d.ts +2 -0
  263. package/components/edit-option/helpers/control-templates/position-picker-template.d.ts +2 -0
  264. package/components/edit-option/helpers/control-templates/positions-number-field-template.d.ts +2 -0
  265. package/components/edit-option/helpers/control-templates/radio-button-group.d.ts +2 -0
  266. package/components/edit-option/helpers/control-templates/slider-template.d.ts +2 -0
  267. package/components/edit-option/helpers/control-templates/switch-template.d.ts +2 -0
  268. package/components/edit-option/helpers/control-templates/text-field-template.d.ts +7 -0
  269. package/components/edit-option/helpers/generate-callback.d.ts +1 -0
  270. package/components/edit-option/helpers/get-control-by-key.d.ts +1 -0
  271. package/components/edit-option/helpers/get-default-value.d.ts +1 -0
  272. package/components/edit-option/helpers/get-extra-label-values.d.ts +7 -0
  273. package/components/edit-option/helpers/get-value-by-key.d.ts +1 -0
  274. package/components/edit-option/index.cjs +20 -0
  275. package/components/edit-option/index.d.ts +7 -0
  276. package/components/edit-option/index.js +30 -0
  277. package/components/edit-option-action-button-group/edit-option-action-button-group.d.ts +27 -0
  278. package/components/edit-option-action-button-group/index.cjs +51 -0
  279. package/components/edit-option-action-button-group/index.d.ts +7 -0
  280. package/components/edit-option-action-button-group/index.js +153 -0
  281. package/components/edit-option-base/edit-option-base.d.ts +22 -0
  282. package/components/edit-option-base-Boz7TNRZ.cjs +53 -0
  283. package/components/edit-option-base-qePiIQWd.js +120 -0
  284. package/components/edit-option-color-picker/edit-option-color-picker.d.ts +23 -0
  285. package/components/edit-option-color-picker/index.cjs +472 -0
  286. package/components/edit-option-color-picker/index.d.ts +7 -0
  287. package/components/edit-option-color-picker/index.js +2553 -0
  288. package/components/edit-option-multi-language-field/edit-option-multi-language-field.d.ts +17 -0
  289. package/components/edit-option-multi-language-field/index.cjs +31 -0
  290. package/components/edit-option-multi-language-field/index.d.ts +7 -0
  291. package/components/edit-option-multi-language-field/index.js +112 -0
  292. package/components/edit-option-number-field/edit-option-number-field.d.ts +19 -0
  293. package/components/edit-option-number-field/index.cjs +32 -0
  294. package/components/edit-option-number-field/index.d.ts +7 -0
  295. package/components/edit-option-number-field/index.js +115 -0
  296. package/components/edit-option-picker/edit-option-picker.d.ts +22 -0
  297. package/components/edit-option-picker/index.cjs +35 -0
  298. package/components/edit-option-picker/index.d.ts +7 -0
  299. package/components/edit-option-picker/index.js +106 -0
  300. package/components/edit-option-position-picker/edit-option-position-picker.d.ts +13 -0
  301. package/components/edit-option-position-picker/index.cjs +25 -0
  302. package/components/edit-option-position-picker/index.d.ts +7 -0
  303. package/components/edit-option-position-picker/index.js +108 -0
  304. package/components/edit-option-positions-number-field/edit-option-positions-number-field.d.ts +30 -0
  305. package/components/edit-option-positions-number-field/index.cjs +42 -0
  306. package/components/edit-option-positions-number-field/index.d.ts +7 -0
  307. package/components/edit-option-positions-number-field/index.js +179 -0
  308. package/components/edit-option-radio-button-group/edit-option-radio-button-group.d.ts +18 -0
  309. package/components/edit-option-radio-button-group/index.cjs +36 -0
  310. package/components/edit-option-radio-button-group/index.d.ts +7 -0
  311. package/components/edit-option-radio-button-group/index.js +113 -0
  312. package/components/edit-option-slider/edit-option-slider.d.ts +15 -0
  313. package/components/edit-option-slider/index.cjs +48 -0
  314. package/components/edit-option-slider/index.d.ts +7 -0
  315. package/components/edit-option-slider/index.js +1253 -0
  316. package/components/edit-option-switch/edit-option-switch.d.ts +11 -0
  317. package/components/edit-option-switch/index.cjs +50 -0
  318. package/components/edit-option-switch/index.d.ts +7 -0
  319. package/components/edit-option-switch/index.js +171 -0
  320. package/components/edit-option-text-field/edit-option-text-field.d.ts +15 -0
  321. package/components/edit-option-text-field/index.cjs +31 -0
  322. package/components/edit-option-text-field/index.d.ts +7 -0
  323. package/components/edit-option-text-field/index.js +100 -0
  324. package/components/element-resolution-FCUT-wql--7ctE626.js +163 -0
  325. package/components/element-resolution-FCUT-wql-DSTvdyds.cjs +68 -0
  326. package/components/en-GB-BtLbN8o_.js +28 -0
  327. package/components/en-GB-Dd11ROdW.cjs +20 -0
  328. package/components/es-ByW01bzN.cjs +20 -0
  329. package/components/es-CwyPlN5d.cjs +20 -0
  330. package/components/es-D37mTCZB.js +104 -0
  331. package/components/es-KhTq4jX8.js +305 -0
  332. package/components/evolution-number-slots.config-BI-sFIug.cjs +20 -0
  333. package/components/evolution-number-slots.config-CW21b2ua.js +39 -0
  334. package/components/fi-Dh_ebgpe.js +97 -0
  335. package/components/fi-rijeZE5V.cjs +20 -0
  336. package/components/focus-group-DHeTq18L-C9l9oHwM.cjs +36 -0
  337. package/components/focus-group-DHeTq18L-rNUu13eb.js +237 -0
  338. package/components/formatter-CQDms6fU.js +1478 -0
  339. package/components/formatter-DiJYkB6b.cjs +20 -0
  340. package/components/fr-BWJHvkss.js +104 -0
  341. package/components/fr-BcgE-6S_.cjs +20 -0
  342. package/components/fr-CU727YF1.js +305 -0
  343. package/components/fr-DnFUAglm.cjs +20 -0
  344. package/components/funnel-chart-options.config-CrlHKd36.js +184 -0
  345. package/components/funnel-chart-options.config-hw_GXs4s.cjs +20 -0
  346. package/components/funnel-chart-options.de-CuVFMJUC.js +93 -0
  347. package/components/funnel-chart-options.de-DRAGes5d.cjs +20 -0
  348. package/components/funnel-chart-options.en-CvPbJr1r.js +93 -0
  349. package/components/funnel-chart-options.en-b6BBKfZh.cjs +20 -0
  350. package/components/funnel-chart-options.es-DfDw5S5g.cjs +20 -0
  351. package/components/funnel-chart-options.es-_M7sC4m6.js +93 -0
  352. package/components/funnel-chart-options.fr-DWkPkC47.cjs +20 -0
  353. package/components/funnel-chart-options.fr-DvnZ-XbE.js +93 -0
  354. package/components/funnel-chart-options.nl-BdAL0ZJP.cjs +20 -0
  355. package/components/funnel-chart-options.nl-C72_FTNm.js +93 -0
  356. package/components/funnel-chart-slots.config-BBhMS2qi.js +40 -0
  357. package/components/funnel-chart-slots.config-WrokHS7f.cjs +20 -0
  358. package/components/get-css-variable-Bhbr-Kr1.js +1413 -0
  359. package/components/get-css-variable-DLiZYZEi.cjs +24 -0
  360. package/components/he-Au3xg6lR.js +89 -0
  361. package/components/he-O6Ih8Bqh.cjs +20 -0
  362. package/components/heat-map-slots.config-CSxSsQwX.cjs +20 -0
  363. package/components/heat-map-slots.config-cdD8XTmI.js +39 -0
  364. package/components/heat-table-slots.config-DJkP72oT.js +48 -0
  365. package/components/heat-table-slots.config-GGX3BCh1.cjs +20 -0
  366. package/components/helpers-CKo1Fkek.cjs +20 -0
  367. package/components/helpers-DqqxcHaY.js +51 -0
  368. package/components/hexbin-map-slots.config-CSxSsQwX.cjs +20 -0
  369. package/components/hexbin-map-slots.config-cdD8XTmI.js +39 -0
  370. package/components/hu-BnZ8y3xQ.cjs +20 -0
  371. package/components/hu-DNJ-P_MW.js +97 -0
  372. package/components/if-defined-8BOch-oC.cjs +24 -0
  373. package/components/if-defined-BSAr_4u4-4Ys8VE7T.js +95 -0
  374. package/components/if-defined-BSAr_4u4-gECNwmTC.cjs +60 -0
  375. package/components/if-defined-Bv6MRdSW.js +29 -0
  376. package/components/image-options.config-CBfeq5Zw.js +127 -0
  377. package/components/image-options.config-Dqhc2c3b.cjs +20 -0
  378. package/components/image-options.de-CBkRiIbw.cjs +20 -0
  379. package/components/image-options.de-CYVnqdL_.js +92 -0
  380. package/components/image-options.en-BMmV-4O-.js +92 -0
  381. package/components/image-options.en-DflcU_2H.cjs +20 -0
  382. package/components/image-options.es-CRbNv384.cjs +20 -0
  383. package/components/image-options.es-UN5rmaEt.js +92 -0
  384. package/components/image-options.fr-DRE3zImB.js +92 -0
  385. package/components/image-options.fr-ycH7UoX5.cjs +20 -0
  386. package/components/image-options.nl-D20hki6i.js +92 -0
  387. package/components/image-options.nl-DQL45o0j.cjs +20 -0
  388. package/components/image-slots.config-IpwUxDyU.js +23 -0
  389. package/components/image-slots.config-mPXMR1CE.cjs +20 -0
  390. package/components/index-86cIx1Ql.cjs +57 -0
  391. package/components/index-B3ve6cAj.js +810 -0
  392. package/components/index-B5Wvyv9s.js +744 -0
  393. package/components/index-BBrer3_5.js +44 -0
  394. package/components/index-BJVxTeoi.cjs +192 -0
  395. package/components/index-BUSWsm5N.js +77 -0
  396. package/components/index-BVX_ozT9.js +77 -0
  397. package/components/index-BYfDERr7.js +145 -0
  398. package/components/index-Bee1uunR.js +299 -0
  399. package/components/index-BrEDK88k.cjs +185 -0
  400. package/components/index-Bt5nP_6w.cjs +59 -0
  401. package/components/index-ByjLd3bT.cjs +95 -0
  402. package/components/index-C8IL2IZ6.js +317 -0
  403. package/components/index-CMvLpPKD-D5MpMVYZ.js +935 -0
  404. package/components/index-CMvLpPKD-Yf1PLWrj.cjs +95 -0
  405. package/components/index-CXIT0cYY.js +3171 -0
  406. package/components/index-CdCtJpK9.js +175 -0
  407. package/components/index-CdUTqQ3L.cjs +39 -0
  408. package/components/index-CdpyJ7hp.cjs +36 -0
  409. package/components/index-CfEn3fIT.js +137 -0
  410. package/components/index-D8qmoauu.cjs +36 -0
  411. package/components/index-DEVOZNSc.cjs +36 -0
  412. package/components/index-DUO13KGl.cjs +54 -0
  413. package/components/index-DVAsMiOm.js +164 -0
  414. package/components/index-DXyAeBh6.cjs +20 -0
  415. package/components/index-DYGldqzJ.js +735 -0
  416. package/components/index-Di00QW2f.js +113 -0
  417. package/components/index-DnozlYag.js +48 -0
  418. package/components/index-LSrSqEfM.cjs +195 -0
  419. package/components/index-h9T5DPIm.cjs +36 -0
  420. package/components/index-i8GaIN7i.cjs +67 -0
  421. package/components/index-iYpAy-Kg.cjs +95 -0
  422. package/components/index-ymMEPngt.js +104 -0
  423. package/components/index-zuArOtOt.cjs +42 -0
  424. package/components/index.cjs +20 -0
  425. package/components/index.js +84 -0
  426. package/components/it-Bh5U73z6.js +305 -0
  427. package/components/it-PshtLMkq.cjs +20 -0
  428. package/components/item-list.cjs +20 -0
  429. package/components/item-list.js +423 -0
  430. package/components/item-menu/item-list/item-list.d.ts +35 -0
  431. package/components/item-slots-configs.cjs +20 -0
  432. package/components/item-slots-configs.js +109 -0
  433. package/components/ja-CCcHUL61.js +89 -0
  434. package/components/ja-KIS2HdaG.cjs +20 -0
  435. package/components/ko--l4qmjLV.cjs +20 -0
  436. package/components/ko-DhapsZMM.js +89 -0
  437. package/components/language-resolution-8yZa5r_P-Bn0bYosv.js +161 -0
  438. package/components/language-resolution-8yZa5r_P-FqQChUDW.cjs +52 -0
  439. package/components/line-chart-options.config-BtfCTjNr.js +180 -0
  440. package/components/line-chart-options.config-Cb7txmmw.cjs +20 -0
  441. package/components/line-chart-options.de-C4c6fWBr.js +82 -0
  442. package/components/line-chart-options.de-zuguhS7L.cjs +20 -0
  443. package/components/line-chart-options.en-C88UT2iR.cjs +20 -0
  444. package/components/line-chart-options.en-XEng6bZk.js +82 -0
  445. package/components/line-chart-options.es-B6CBKzRj.js +82 -0
  446. package/components/line-chart-options.es-CvABRdF7.cjs +20 -0
  447. package/components/line-chart-options.fr-BIugWKt4.js +82 -0
  448. package/components/line-chart-options.fr-BtfgIPkW.cjs +20 -0
  449. package/components/line-chart-options.nl-87TuLT5-.js +82 -0
  450. package/components/line-chart-options.nl-mAxtSkJo.cjs +20 -0
  451. package/components/line-chart-slots.config-CIfDfftd.cjs +20 -0
  452. package/components/line-chart-slots.config-P7xa-pHi.js +52 -0
  453. package/components/localize-BX7q0S0M.js +52 -0
  454. package/components/localize-r7ALOUy_.cjs +20 -0
  455. package/components/luzmo-icons-BE2T8vWu.js +613 -0
  456. package/components/luzmo-icons-XsFsTAl3.cjs +31 -0
  457. package/components/marker-map-slots.config-CSxSsQwX.cjs +20 -0
  458. package/components/marker-map-slots.config-cdD8XTmI.js +39 -0
  459. package/components/mk-B9HPSuKa.js +97 -0
  460. package/components/mk-DZlj-edb.cjs +20 -0
  461. package/components/nl-BKlDqOXb.cjs +20 -0
  462. package/components/nl-BwSt5Bf4.js +109 -0
  463. package/components/nl-CWxJcTNT.js +104 -0
  464. package/components/nl-CpfDNK5c.cjs +20 -0
  465. package/components/no-D-DofYnx.js +109 -0
  466. package/components/no-D_SzxhTu.cjs +20 -0
  467. package/components/observe-slot-text-ggb4kKgY-DBVrKDBD.cjs +86 -0
  468. package/components/observe-slot-text-ggb4kKgY-o5QFWUeA.js +221 -0
  469. package/components/ohlc-chart-options.config-BLlRV_bs.cjs +20 -0
  470. package/components/ohlc-chart-options.config-D9npwajt.js +75 -0
  471. package/components/ohlc-chart-options.de-CZj-UIJm.js +46 -0
  472. package/components/ohlc-chart-options.de-D82a4TlN.cjs +20 -0
  473. package/components/ohlc-chart-options.en-W7r8X64N.js +54 -0
  474. package/components/ohlc-chart-options.en-WsfJ9z1E.cjs +20 -0
  475. package/components/ohlc-chart-options.es-B1PdbaLo.js +46 -0
  476. package/components/ohlc-chart-options.es-BLKIOFho.cjs +20 -0
  477. package/components/ohlc-chart-options.fr-3n_H_IQ3.js +46 -0
  478. package/components/ohlc-chart-options.fr-D6YoAH4U.cjs +20 -0
  479. package/components/ohlc-chart-options.nl-BVw9fPpa.js +46 -0
  480. package/components/ohlc-chart-options.nl-lWVHjRUM.cjs +20 -0
  481. package/components/ohlc-chart-slots.config-Cvy5n1xv.js +64 -0
  482. package/components/ohlc-chart-slots.config-DMomcHMV.cjs +20 -0
  483. package/components/parallel-coordinates-plot-slots.config-BRXA5nUl.cjs +20 -0
  484. package/components/parallel-coordinates-plot-slots.config-CQW2CJW6.js +44 -0
  485. package/components/periods.const-CDIkC5CK.cjs +20 -0
  486. package/components/periods.const-GHh5bPfs.js +176 -0
  487. package/components/pivot-table-slots.config-BH5fOJre.js +48 -0
  488. package/components/pivot-table-slots.config-DzGWM3Ez.cjs +20 -0
  489. package/components/pl-D_L_0Boq.js +97 -0
  490. package/components/pl-PIK23rK_.cjs +20 -0
  491. package/components/popover-DlkzrLpl-BhTvuvTu.cjs +48 -0
  492. package/components/popover-DlkzrLpl-CCwcTIXr.js +86 -0
  493. package/components/property-0L4eB11h.cjs +112 -0
  494. package/components/property-B2F7x7Cz.js +1481 -0
  495. package/components/pt-B0BBS5VB.js +89 -0
  496. package/components/pt-Dqlu4MS5.cjs +20 -0
  497. package/components/pyramid-chart-slots.config-Cm9bQsXT.js +47 -0
  498. package/components/pyramid-chart-slots.config-DeWrVApy.cjs +20 -0
  499. package/components/query-D5qWDopr.cjs +24 -0
  500. package/components/query-Ddbd72Um.js +39 -0
  501. package/components/query-assigned-nodes-C76XVPWY-BcyGjObB.cjs +40 -0
  502. package/components/query-assigned-nodes-C76XVPWY-DPC6kOmH.js +55 -0
  503. package/components/radar-chart-options.config-Ck7skfge.cjs +20 -0
  504. package/components/radar-chart-options.config-DFxna7UF.js +146 -0
  505. package/components/radar-chart-options.de-BGHs6QoY.cjs +20 -0
  506. package/components/radar-chart-options.de-DUzx_7w0.js +66 -0
  507. package/components/radar-chart-options.en-CV6ZYx8z.js +66 -0
  508. package/components/radar-chart-options.en-DXlfL8Qm.cjs +20 -0
  509. package/components/radar-chart-options.es-BgvSKtUs.js +66 -0
  510. package/components/radar-chart-options.es-DBw1arWW.cjs +20 -0
  511. package/components/radar-chart-options.fr-CKBFCZK0.cjs +20 -0
  512. package/components/radar-chart-options.fr-CobHnfMX.js +66 -0
  513. package/components/radar-chart-options.nl-M4-vur3g.js +66 -0
  514. package/components/radar-chart-options.nl-k4gGr6lf.cjs +20 -0
  515. package/components/radar-chart-slots.config-Dpmytmc3.js +47 -0
  516. package/components/radar-chart-slots.config-Dxx5fKnS.cjs +20 -0
  517. package/components/regular-table-slots.config-ChrvnRDb.cjs +20 -0
  518. package/components/regular-table-slots.config-EUS-V9lL.js +33 -0
  519. package/components/route-map-slots.config-BfbIWCr0.cjs +20 -0
  520. package/components/route-map-slots.config-DYCcaQZi.js +53 -0
  521. package/components/roving-tabindex-DOg4z6ZU-DmyYPRYY.cjs +36 -0
  522. package/components/roving-tabindex-DOg4z6ZU-dufnVmvL.js +85 -0
  523. package/components/ru-Vo-m3O_2.js +108 -0
  524. package/components/ru-zyNDTB04.cjs +20 -0
  525. package/components/sankey-diagram-options.config-DJqI2dMh.cjs +20 -0
  526. package/components/sankey-diagram-options.config-Dj9g2BOp.js +128 -0
  527. package/components/sankey-diagram-options.de-BOtJSpbI.cjs +20 -0
  528. package/components/sankey-diagram-options.de-kp4wK81w.js +79 -0
  529. package/components/sankey-diagram-options.en-BJG2rmog.js +79 -0
  530. package/components/sankey-diagram-options.en-DMx4MkN-.cjs +20 -0
  531. package/components/sankey-diagram-options.es-BdDSG9DB.cjs +20 -0
  532. package/components/sankey-diagram-options.es-DoU2uZkk.js +79 -0
  533. package/components/sankey-diagram-options.fr-CqASKXuH.js +79 -0
  534. package/components/sankey-diagram-options.fr-D1MrJM4P.cjs +20 -0
  535. package/components/sankey-diagram-options.nl-BQcClmve.js +79 -0
  536. package/components/sankey-diagram-options.nl-DW_wVZ1O.cjs +20 -0
  537. package/components/sankey-diagram-slots.config-B7Q-ZfUP.cjs +20 -0
  538. package/components/sankey-diagram-slots.config-BSTBEZDe.js +55 -0
  539. package/components/scatter-plot-slots.config-BuWYqDWK.js +70 -0
  540. package/components/scatter-plot-slots.config-wlX_PVu8.cjs +20 -0
  541. package/components/search-filter-options.config-BCaDlYqZ.cjs +20 -0
  542. package/components/search-filter-options.config-BE3JhR-F.js +111 -0
  543. package/components/search-filter-options.de-BK66ORWq.cjs +20 -0
  544. package/components/search-filter-options.de-CtQU33mZ.js +60 -0
  545. package/components/search-filter-options.en-CDPrPilw.cjs +20 -0
  546. package/components/search-filter-options.en-D_lZl4BW.js +60 -0
  547. package/components/search-filter-options.es-4mDTBqYv.js +60 -0
  548. package/components/search-filter-options.es-D7Z_PcC1.cjs +20 -0
  549. package/components/search-filter-options.fr-CSzsk8kC.js +60 -0
  550. package/components/search-filter-options.fr-DhaK1uUa.cjs +20 -0
  551. package/components/search-filter-options.nl-CAA7cBhK.cjs +20 -0
  552. package/components/search-filter-options.nl-CUIS-wlX.js +60 -0
  553. package/components/search-filter-slots.config-DOlr8VaD.cjs +20 -0
  554. package/components/search-filter-slots.config-DmiVXOva.js +47 -0
  555. package/components/set-locale-ByIApH40.cjs +60 -0
  556. package/components/set-locale-DJYT4V7U.js +212 -0
  557. package/components/sized-mixin-BxMraZLS-B_y0PzR3.js +82 -0
  558. package/components/sized-mixin-BxMraZLS-DEFWqo8f.cjs +36 -0
  559. package/components/slicer-filter-options.config-BArPA7Mb.js +193 -0
  560. package/components/slicer-filter-options.config-BW44EPso.cjs +20 -0
  561. package/components/slicer-filter-options.de-89LcA_-b.js +89 -0
  562. package/components/slicer-filter-options.de-DRazS_m2.cjs +20 -0
  563. package/components/slicer-filter-options.en-BtvdQlh6.js +89 -0
  564. package/components/slicer-filter-options.en-CpMgGFQr.cjs +20 -0
  565. package/components/slicer-filter-options.es-CS_RNuGQ.cjs +20 -0
  566. package/components/slicer-filter-options.es-CsuWj6x4.js +89 -0
  567. package/components/slicer-filter-options.fr-CfCs-AJo.cjs +20 -0
  568. package/components/slicer-filter-options.fr-Q1R9a5aW.js +89 -0
  569. package/components/slicer-filter-options.nl-BR-R2l1o.js +89 -0
  570. package/components/slicer-filter-options.nl-C_n1KiTW.cjs +20 -0
  571. package/components/slicer-filter-slots.config-CHQ0ZXga.js +45 -0
  572. package/components/slicer-filter-slots.config-Dyte3aGp.cjs +20 -0
  573. package/components/slider-filter-options.config-BIKIbGbN.js +80 -0
  574. package/components/slider-filter-options.config-zuWa8Rtt.cjs +20 -0
  575. package/components/slider-filter-options.de-BETdnh_t.js +47 -0
  576. package/components/slider-filter-options.de-BgUkQGYO.cjs +20 -0
  577. package/components/slider-filter-options.en-DpbWEGHE.js +47 -0
  578. package/components/slider-filter-options.en-Dvn-ux4N.cjs +20 -0
  579. package/components/slider-filter-options.es-B9ObSQWh.cjs +20 -0
  580. package/components/slider-filter-options.es-CWazXehw.js +47 -0
  581. package/components/slider-filter-options.fr-B2RT9GfR.js +47 -0
  582. package/components/slider-filter-options.fr-DI6QMjqa.cjs +20 -0
  583. package/components/slider-filter-options.nl-CwxJqGoK.js +47 -0
  584. package/components/slider-filter-options.nl-autc8gPj.cjs +20 -0
  585. package/components/slider-filter-slots.config-BN3K1rnl.js +33 -0
  586. package/components/slider-filter-slots.config-Cr5oXbok.cjs +20 -0
  587. package/components/slot-menu/index.cjs +55 -0
  588. package/components/slot-menu/index.d.ts +7 -0
  589. package/components/slot-menu/index.js +188 -0
  590. package/components/slot-menu/slot-menu.d.ts +66 -0
  591. package/components/slot-menu-list/index.cjs +39 -0
  592. package/components/slot-menu-list/index.d.ts +7 -0
  593. package/components/slot-menu-list/index.js +351 -0
  594. package/components/slot-menu-list/slot-menu-list.d.ts +33 -0
  595. package/components/spacer-options.config-IpwUxDyU.js +23 -0
  596. package/components/spacer-options.config-mPXMR1CE.cjs +20 -0
  597. package/components/speedometer-chart-slots.config-Cd-nkNPm.cjs +20 -0
  598. package/components/speedometer-chart-slots.config-DA-ZAc5d.js +39 -0
  599. package/components/spike-map-slots.config-CuqpgkvN.js +46 -0
  600. package/components/spike-map-slots.config-Drga6_j0.cjs +20 -0
  601. package/components/state-BFA93Sye.cjs +24 -0
  602. package/components/state-Joaryhrg.js +31 -0
  603. package/components/strip-plot-slots.config-Co8ghEv8.js +40 -0
  604. package/components/strip-plot-slots.config-JvkKY5Ga.cjs +20 -0
  605. package/components/sunburst-chart-options.config-BjtKxThH.cjs +20 -0
  606. package/components/sunburst-chart-options.config-BxkJfdrU.js +139 -0
  607. package/components/sunburst-chart-options.de-BDu_ZCdb.cjs +20 -0
  608. package/components/sunburst-chart-options.de-DOjqnDNg.js +58 -0
  609. package/components/sunburst-chart-options.en-D9Rr49yw.cjs +20 -0
  610. package/components/sunburst-chart-options.en-DQOS_dec.js +58 -0
  611. package/components/sunburst-chart-options.es-Ba8WDFHg.cjs +20 -0
  612. package/components/sunburst-chart-options.es-DGsVkhyC.js +58 -0
  613. package/components/sunburst-chart-options.fr-1Ecu2sp2.cjs +20 -0
  614. package/components/sunburst-chart-options.fr-DIWRXmkr.js +58 -0
  615. package/components/sunburst-chart-options.nl-BbOLWrEh.cjs +20 -0
  616. package/components/sunburst-chart-options.nl-D0hYq2Mh.js +58 -0
  617. package/components/sunburst-chart-slots.config-C-_ganmv.cjs +20 -0
  618. package/components/sunburst-chart-slots.config-xwVdRiwS.js +40 -0
  619. package/components/sv-1DPTltNQ.cjs +20 -0
  620. package/components/sv-CiozMaev.js +89 -0
  621. package/components/symbol-map-slots.config-C5CKaVED.js +47 -0
  622. package/components/symbol-map-slots.config-DtW-3xkd.cjs +20 -0
  623. package/components/task-B8yMzxui.cjs +24 -0
  624. package/components/task-Cr9aRIbV.js +120 -0
  625. package/components/text-field-CvKSS59x-Dn0_1HO7.js +412 -0
  626. package/components/text-field-CvKSS59x-E9LQElL4.cjs +131 -0
  627. package/components/text-options.config-BFB3rEmt.cjs +20 -0
  628. package/components/text-options.config-BWaJoeG2.js +73 -0
  629. package/components/text-options.de-BjfS5RBn.js +38 -0
  630. package/components/text-options.de-DLr2-jBn.cjs +20 -0
  631. package/components/text-options.en-BQqHFc7M.js +38 -0
  632. package/components/text-options.en-LfsMtwo6.cjs +20 -0
  633. package/components/text-options.es-BLQBqlvK.cjs +20 -0
  634. package/components/text-options.es-CMB1DKq4.js +38 -0
  635. package/components/text-options.fr-B8x29grG.cjs +20 -0
  636. package/components/text-options.fr-VPJ3bDOM.js +38 -0
  637. package/components/text-options.nl-C8sliUgH.js +38 -0
  638. package/components/text-options.nl-DzglrI3i.cjs +20 -0
  639. package/components/text-slots.config-BMBEkf0O.cjs +20 -0
  640. package/components/text-slots.config-Hy5yNIAX.js +23 -0
  641. package/components/tr-BkmWvOG2.cjs +20 -0
  642. package/components/tr-D_D4i5iv.js +109 -0
  643. package/components/treemap-chart-options.config-MyCTS35Y.js +196 -0
  644. package/components/treemap-chart-options.config-PwXbMhHZ.cjs +20 -0
  645. package/components/treemap-chart-options.de-Bdj6O-Ju.js +84 -0
  646. package/components/treemap-chart-options.de-Crku8ynJ.cjs +20 -0
  647. package/components/treemap-chart-options.en-D6co_QL8.js +84 -0
  648. package/components/treemap-chart-options.en-zSWDcqFt.cjs +20 -0
  649. package/components/treemap-chart-options.es-BjbsJzCM.js +84 -0
  650. package/components/treemap-chart-options.es-DXX2PyUh.cjs +20 -0
  651. package/components/treemap-chart-options.fr-B93bhLpR.cjs +20 -0
  652. package/components/treemap-chart-options.fr-VG44wSIJ.js +84 -0
  653. package/components/treemap-chart-options.nl-BTKv3TBd.js +84 -0
  654. package/components/treemap-chart-options.nl-ButbMHmU.cjs +20 -0
  655. package/components/treemap-chart-slots.config-C3bnHCyy.cjs +20 -0
  656. package/components/treemap-chart-slots.config-xLD22K9V.js +46 -0
  657. package/components/utils.cjs +20 -0
  658. package/components/utils.js +90 -0
  659. package/components/venn-diagram-slots.config-CpOPbUjs.cjs +20 -0
  660. package/components/venn-diagram-slots.config-DPmj71cR.js +48 -0
  661. package/components/video-options.config-CGsDTwHc.cjs +20 -0
  662. package/components/video-options.config-Dk36zJ1B.js +135 -0
  663. package/components/video-options.de-DIKmTgn5.js +76 -0
  664. package/components/video-options.de-DZUy2pUo.cjs +20 -0
  665. package/components/video-options.en-D69d612-.cjs +20 -0
  666. package/components/video-options.en-DMzcDD7I.js +76 -0
  667. package/components/video-options.es-BUKi6Pyc.cjs +20 -0
  668. package/components/video-options.es-CtV-__xN.js +76 -0
  669. package/components/video-options.fr-B7b4NJso.cjs +20 -0
  670. package/components/video-options.fr-DHt0mV9L.js +76 -0
  671. package/components/video-options.nl-1cNZgoqf.js +76 -0
  672. package/components/video-options.nl-CSiCG3Vu.cjs +20 -0
  673. package/components/video-slots.config-IpwUxDyU.js +23 -0
  674. package/components/video-slots.config-mPXMR1CE.cjs +20 -0
  675. package/components/when-CDK1Tt5Y-BN3qcTK0.cjs +40 -0
  676. package/components/when-CDK1Tt5Y-C6ViXC43.js +47 -0
  677. package/components/wordcloud-chart-options.config-Cv9l0THs.cjs +20 -0
  678. package/components/wordcloud-chart-options.config-Dq7TF0sb.js +71 -0
  679. package/components/wordcloud-chart-options.de-DnJjN2l-.cjs +20 -0
  680. package/components/wordcloud-chart-options.de-DwLQlEJg.js +48 -0
  681. package/components/wordcloud-chart-options.en-Ca5fXbS9.cjs +20 -0
  682. package/components/wordcloud-chart-options.en-DWkM70-M.js +48 -0
  683. package/components/wordcloud-chart-options.es-CkXbSwEc.js +48 -0
  684. package/components/wordcloud-chart-options.es-TkHFgMUu.cjs +20 -0
  685. package/components/wordcloud-chart-options.fr-DNK5Ouc5.js +48 -0
  686. package/components/wordcloud-chart-options.fr-Dz53DWyA.cjs +20 -0
  687. package/components/wordcloud-chart-options.nl-CcgmqL7I.js +48 -0
  688. package/components/wordcloud-chart-options.nl-Cy_9TRvD.cjs +20 -0
  689. package/components/wordcloud-chart-slots.config-BS4sOOHt.js +44 -0
  690. package/components/wordcloud-chart-slots.config-D7CiYopX.cjs +20 -0
  691. package/components/zh-CN-DTZ4OmdP.cjs +20 -0
  692. package/components/zh-CN-wsl7eFSd.js +89 -0
  693. package/components/zh-TW-DTZ4OmdP.cjs +20 -0
  694. package/components/zh-TW-wsl7eFSd.js +89 -0
  695. package/custom-elements.json +4252 -0
  696. package/generated/locale-codes.d.ts +13 -0
  697. package/index.d.ts +25 -0
  698. package/item-definitions/area-chart/area-chart-options.config.d.ts +114 -0
  699. package/item-definitions/area-chart/area-chart-slots.config.d.ts +44 -0
  700. package/item-definitions/area-chart/i18n/area-chart-options.de.d.ts +59 -0
  701. package/item-definitions/area-chart/i18n/area-chart-options.en.d.ts +59 -0
  702. package/item-definitions/area-chart/i18n/area-chart-options.es.d.ts +59 -0
  703. package/item-definitions/area-chart/i18n/area-chart-options.fr.d.ts +59 -0
  704. package/item-definitions/area-chart/i18n/area-chart-options.nl.d.ts +59 -0
  705. package/item-definitions/bar-chart/bar-chart-options.config.d.ts +129 -0
  706. package/item-definitions/bar-chart/bar-chart-slots.config.d.ts +24 -0
  707. package/item-definitions/bar-chart/i18n/bar-chart-options.de.d.ts +65 -0
  708. package/item-definitions/bar-chart/i18n/bar-chart-options.en.d.ts +65 -0
  709. package/item-definitions/bar-chart/i18n/bar-chart-options.es.d.ts +65 -0
  710. package/item-definitions/bar-chart/i18n/bar-chart-options.fr.d.ts +65 -0
  711. package/item-definitions/bar-chart/i18n/bar-chart-options.nl.d.ts +65 -0
  712. package/item-definitions/box-plot/box-plot-options.config.d.ts +173 -0
  713. package/item-definitions/box-plot/box-plot-slots.config.d.ts +26 -0
  714. package/item-definitions/box-plot/i18n/box-plot-options.de.d.ts +92 -0
  715. package/item-definitions/box-plot/i18n/box-plot-options.en.d.ts +92 -0
  716. package/item-definitions/box-plot/i18n/box-plot-options.es.d.ts +92 -0
  717. package/item-definitions/box-plot/i18n/box-plot-options.fr.d.ts +92 -0
  718. package/item-definitions/box-plot/i18n/box-plot-options.nl.d.ts +92 -0
  719. package/item-definitions/bubble-chart/bubble-chart-options.config.d.ts +90 -0
  720. package/item-definitions/bubble-chart/bubble-chart-slots.config.d.ts +30 -0
  721. package/item-definitions/bubble-chart/i18n/bubble-chart-options.de.d.ts +42 -0
  722. package/item-definitions/bubble-chart/i18n/bubble-chart-options.en.d.ts +42 -0
  723. package/item-definitions/bubble-chart/i18n/bubble-chart-options.es.d.ts +42 -0
  724. package/item-definitions/bubble-chart/i18n/bubble-chart-options.fr.d.ts +42 -0
  725. package/item-definitions/bubble-chart/i18n/bubble-chart-options.nl.d.ts +42 -0
  726. package/item-definitions/bullet-chart/bullet-chart-options.config.d.ts +43 -0
  727. package/item-definitions/bullet-chart/bullet-chart-slots.config.d.ts +18 -0
  728. package/item-definitions/bullet-chart/i18n/bullet-chart-options.de.d.ts +30 -0
  729. package/item-definitions/bullet-chart/i18n/bullet-chart-options.en.d.ts +30 -0
  730. package/item-definitions/bullet-chart/i18n/bullet-chart-options.es.d.ts +30 -0
  731. package/item-definitions/bullet-chart/i18n/bullet-chart-options.fr.d.ts +30 -0
  732. package/item-definitions/bullet-chart/i18n/bullet-chart-options.nl.d.ts +30 -0
  733. package/item-definitions/choropleth-map/choropleth-map-options.config.d.ts +168 -0
  734. package/item-definitions/choropleth-map/choropleth-map-slots.config.d.ts +29 -0
  735. package/item-definitions/choropleth-map/i18n/choropleth-map-options.de.d.ts +81 -0
  736. package/item-definitions/choropleth-map/i18n/choropleth-map-options.en.d.ts +81 -0
  737. package/item-definitions/choropleth-map/i18n/choropleth-map-options.es.d.ts +81 -0
  738. package/item-definitions/choropleth-map/i18n/choropleth-map-options.fr.d.ts +81 -0
  739. package/item-definitions/choropleth-map/i18n/choropleth-map-options.nl.d.ts +81 -0
  740. package/item-definitions/circle-pack-chart/circle-pack-chart-options.config.d.ts +14 -0
  741. package/item-definitions/circle-pack-chart/circle-pack-chart-slots.config.d.ts +22 -0
  742. package/item-definitions/circle-pack-chart/i18n/circle-pack-chart-options.de.d.ts +20 -0
  743. package/item-definitions/circle-pack-chart/i18n/circle-pack-chart-options.en.d.ts +20 -0
  744. package/item-definitions/circle-pack-chart/i18n/circle-pack-chart-options.es.d.ts +20 -0
  745. package/item-definitions/circle-pack-chart/i18n/circle-pack-chart-options.fr.d.ts +20 -0
  746. package/item-definitions/circle-pack-chart/i18n/circle-pack-chart-options.nl.d.ts +20 -0
  747. package/item-definitions/circular-gauge/circular-gauge-options.config.d.ts +109 -0
  748. package/item-definitions/circular-gauge/circular-gauge-slots.config.d.ts +16 -0
  749. package/item-definitions/circular-gauge/i18n/circular-gauge-options.de.d.ts +52 -0
  750. package/item-definitions/circular-gauge/i18n/circular-gauge-options.en.d.ts +55 -0
  751. package/item-definitions/circular-gauge/i18n/circular-gauge-options.es.d.ts +52 -0
  752. package/item-definitions/circular-gauge/i18n/circular-gauge-options.fr.d.ts +55 -0
  753. package/item-definitions/circular-gauge/i18n/circular-gauge-options.nl.d.ts +55 -0
  754. package/item-definitions/column-chart/column-chart-options.config.d.ts +123 -0
  755. package/item-definitions/column-chart/column-chart-slots.config.d.ts +24 -0
  756. package/item-definitions/column-chart/i18n/column-chart-options.de.d.ts +65 -0
  757. package/item-definitions/column-chart/i18n/column-chart-options.en.d.ts +65 -0
  758. package/item-definitions/column-chart/i18n/column-chart-options.es.d.ts +65 -0
  759. package/item-definitions/column-chart/i18n/column-chart-options.fr.d.ts +65 -0
  760. package/item-definitions/column-chart/i18n/column-chart-options.nl.d.ts +65 -0
  761. package/item-definitions/combination-chart/combination-chart-options.config.d.ts +13 -0
  762. package/item-definitions/combination-chart/combination-chart-slots.config.d.ts +30 -0
  763. package/item-definitions/combination-chart/i18n/combination-chart-options.de.d.ts +17 -0
  764. package/item-definitions/combination-chart/i18n/combination-chart-options.en.d.ts +17 -0
  765. package/item-definitions/combination-chart/i18n/combination-chart-options.es.d.ts +17 -0
  766. package/item-definitions/combination-chart/i18n/combination-chart-options.fr.d.ts +17 -0
  767. package/item-definitions/combination-chart/i18n/combination-chart-options.nl.d.ts +17 -0
  768. package/item-definitions/conditional-number/conditional-number-options.config.d.ts +135 -0
  769. package/item-definitions/conditional-number/conditional-number-slots.config.d.ts +16 -0
  770. package/item-definitions/conditional-number/i18n/conditional-number-options.de.d.ts +53 -0
  771. package/item-definitions/conditional-number/i18n/conditional-number-options.en.d.ts +53 -0
  772. package/item-definitions/conditional-number/i18n/conditional-number-options.es.d.ts +53 -0
  773. package/item-definitions/conditional-number/i18n/conditional-number-options.fr.d.ts +53 -0
  774. package/item-definitions/conditional-number/i18n/conditional-number-options.nl.d.ts +53 -0
  775. package/item-definitions/date-filter/date-filter-slots.config.d.ts +10 -0
  776. package/item-definitions/donut-chart/donut-chart-options.config.d.ts +107 -0
  777. package/item-definitions/donut-chart/donut-chart-slots.config.d.ts +20 -0
  778. package/item-definitions/donut-chart/i18n/donut-chart-options.de.d.ts +78 -0
  779. package/item-definitions/donut-chart/i18n/donut-chart-options.en.d.ts +78 -0
  780. package/item-definitions/donut-chart/i18n/donut-chart-options.es.d.ts +78 -0
  781. package/item-definitions/donut-chart/i18n/donut-chart-options.fr.d.ts +78 -0
  782. package/item-definitions/donut-chart/i18n/donut-chart-options.nl.d.ts +78 -0
  783. package/item-definitions/dropdown-filter/dropdown-filter-options.config.d.ts +74 -0
  784. package/item-definitions/dropdown-filter/dropdown-filter-slots.config.d.ts +23 -0
  785. package/item-definitions/dropdown-filter/i18n/dropdown-filter-options.de.d.ts +61 -0
  786. package/item-definitions/dropdown-filter/i18n/dropdown-filter-options.en.d.ts +61 -0
  787. package/item-definitions/dropdown-filter/i18n/dropdown-filter-options.es.d.ts +61 -0
  788. package/item-definitions/dropdown-filter/i18n/dropdown-filter-options.fr.d.ts +61 -0
  789. package/item-definitions/dropdown-filter/i18n/dropdown-filter-options.nl.d.ts +61 -0
  790. package/item-definitions/evolution-number/evolution-number-slots.config.d.ts +18 -0
  791. package/item-definitions/funnel-chart/funnel-chart-options.config.d.ts +88 -0
  792. package/item-definitions/funnel-chart/funnel-chart-slots.config.d.ts +22 -0
  793. package/item-definitions/funnel-chart/i18n/funnel-chart-options.de.d.ts +72 -0
  794. package/item-definitions/funnel-chart/i18n/funnel-chart-options.en.d.ts +72 -0
  795. package/item-definitions/funnel-chart/i18n/funnel-chart-options.es.d.ts +72 -0
  796. package/item-definitions/funnel-chart/i18n/funnel-chart-options.fr.d.ts +72 -0
  797. package/item-definitions/funnel-chart/i18n/funnel-chart-options.nl.d.ts +72 -0
  798. package/item-definitions/heat-map/heat-map-slots.config.d.ts +18 -0
  799. package/item-definitions/heat-table/heat-table-slots.config.d.ts +20 -0
  800. package/item-definitions/helpers.d.ts +7 -0
  801. package/item-definitions/hexbin-map/hexbin-map-slots.config.d.ts +18 -0
  802. package/item-definitions/image/i18n/image-options.de.d.ts +71 -0
  803. package/item-definitions/image/i18n/image-options.en.d.ts +71 -0
  804. package/item-definitions/image/i18n/image-options.es.d.ts +71 -0
  805. package/item-definitions/image/i18n/image-options.fr.d.ts +71 -0
  806. package/item-definitions/image/i18n/image-options.nl.d.ts +71 -0
  807. package/item-definitions/image/image-options.config.d.ts +126 -0
  808. package/item-definitions/image/image-slots.config.d.ts +2 -0
  809. package/item-definitions/item-list.d.ts +35 -0
  810. package/item-definitions/line-chart/i18n/line-chart-options.de.d.ts +61 -0
  811. package/item-definitions/line-chart/i18n/line-chart-options.en.d.ts +61 -0
  812. package/item-definitions/line-chart/i18n/line-chart-options.es.d.ts +61 -0
  813. package/item-definitions/line-chart/i18n/line-chart-options.fr.d.ts +61 -0
  814. package/item-definitions/line-chart/i18n/line-chart-options.nl.d.ts +61 -0
  815. package/item-definitions/line-chart/line-chart-options.config.d.ts +170 -0
  816. package/item-definitions/line-chart/line-chart-slots.config.d.ts +44 -0
  817. package/item-definitions/marker-map/marker-map-slots.config.d.ts +18 -0
  818. package/item-definitions/ohlc-chart/i18n/ohlc-chart-options.de.d.ts +25 -0
  819. package/item-definitions/ohlc-chart/i18n/ohlc-chart-options.en.d.ts +25 -0
  820. package/item-definitions/ohlc-chart/i18n/ohlc-chart-options.es.d.ts +25 -0
  821. package/item-definitions/ohlc-chart/i18n/ohlc-chart-options.fr.d.ts +25 -0
  822. package/item-definitions/ohlc-chart/i18n/ohlc-chart-options.nl.d.ts +25 -0
  823. package/item-definitions/ohlc-chart/ohlc-chart-options.config.d.ts +37 -0
  824. package/item-definitions/ohlc-chart/ohlc-chart-slots.config.d.ts +21 -0
  825. package/item-definitions/parallel-coordinates-plot/parallel-coordinates-plot-slots.config.d.ts +23 -0
  826. package/item-definitions/pivot-table/pivot-table-slots.config.d.ts +21 -0
  827. package/item-definitions/pyramid-chart/pyramid-chart-slots.config.d.ts +33 -0
  828. package/item-definitions/radar-chart/i18n/radar-chart-options.de.d.ts +45 -0
  829. package/item-definitions/radar-chart/i18n/radar-chart-options.en.d.ts +45 -0
  830. package/item-definitions/radar-chart/i18n/radar-chart-options.es.d.ts +45 -0
  831. package/item-definitions/radar-chart/i18n/radar-chart-options.fr.d.ts +45 -0
  832. package/item-definitions/radar-chart/i18n/radar-chart-options.nl.d.ts +45 -0
  833. package/item-definitions/radar-chart/radar-chart-options.config.d.ts +122 -0
  834. package/item-definitions/radar-chart/radar-chart-slots.config.d.ts +33 -0
  835. package/item-definitions/regular-table/regular-table-slots.config.d.ts +13 -0
  836. package/item-definitions/route-map/route-map-slots.config.d.ts +28 -0
  837. package/item-definitions/sankey-diagram/i18n/sankey-diagram-options.de.d.ts +58 -0
  838. package/item-definitions/sankey-diagram/i18n/sankey-diagram-options.en.d.ts +58 -0
  839. package/item-definitions/sankey-diagram/i18n/sankey-diagram-options.es.d.ts +58 -0
  840. package/item-definitions/sankey-diagram/i18n/sankey-diagram-options.fr.d.ts +58 -0
  841. package/item-definitions/sankey-diagram/i18n/sankey-diagram-options.nl.d.ts +58 -0
  842. package/item-definitions/sankey-diagram/sankey-diagram-options.config.d.ts +46 -0
  843. package/item-definitions/sankey-diagram/sankey-diagram-slots.config.d.ts +33 -0
  844. package/item-definitions/scatter-plot/scatter-plot-slots.config.d.ts +50 -0
  845. package/item-definitions/search-filter/i18n/search-filter-options.de.d.ts +39 -0
  846. package/item-definitions/search-filter/i18n/search-filter-options.en.d.ts +39 -0
  847. package/item-definitions/search-filter/i18n/search-filter-options.es.d.ts +39 -0
  848. package/item-definitions/search-filter/i18n/search-filter-options.fr.d.ts +39 -0
  849. package/item-definitions/search-filter/i18n/search-filter-options.nl.d.ts +39 -0
  850. package/item-definitions/search-filter/search-filter-options.config.d.ts +40 -0
  851. package/item-definitions/search-filter/search-filter-slots.config.d.ts +24 -0
  852. package/item-definitions/slicer-filter/i18n/slicer-filter-options.de.d.ts +68 -0
  853. package/item-definitions/slicer-filter/i18n/slicer-filter-options.en.d.ts +68 -0
  854. package/item-definitions/slicer-filter/i18n/slicer-filter-options.es.d.ts +68 -0
  855. package/item-definitions/slicer-filter/i18n/slicer-filter-options.fr.d.ts +68 -0
  856. package/item-definitions/slicer-filter/i18n/slicer-filter-options.nl.d.ts +68 -0
  857. package/item-definitions/slicer-filter/slicer-filter-options.config.d.ts +136 -0
  858. package/item-definitions/slicer-filter/slicer-filter-slots.config.d.ts +23 -0
  859. package/item-definitions/slider-filter/i18n/slider-filter-options.de.d.ts +26 -0
  860. package/item-definitions/slider-filter/i18n/slider-filter-options.en.d.ts +26 -0
  861. package/item-definitions/slider-filter/i18n/slider-filter-options.es.d.ts +26 -0
  862. package/item-definitions/slider-filter/i18n/slider-filter-options.fr.d.ts +26 -0
  863. package/item-definitions/slider-filter/i18n/slider-filter-options.nl.d.ts +26 -0
  864. package/item-definitions/slider-filter/slider-filter-options.config.d.ts +45 -0
  865. package/item-definitions/slider-filter/slider-filter-slots.config.d.ts +13 -0
  866. package/item-definitions/spacer/spacer-options.config.d.ts +2 -0
  867. package/item-definitions/speedometer-chart/speedometer-chart-slots.config.d.ts +16 -0
  868. package/item-definitions/spike-map/spike-map-slots.config.d.ts +31 -0
  869. package/item-definitions/strip-plot/strip-plot-slots.config.d.ts +22 -0
  870. package/item-definitions/sunburst-chart/i18n/sunburst-chart-options.de.d.ts +37 -0
  871. package/item-definitions/sunburst-chart/i18n/sunburst-chart-options.en.d.ts +37 -0
  872. package/item-definitions/sunburst-chart/i18n/sunburst-chart-options.es.d.ts +37 -0
  873. package/item-definitions/sunburst-chart/i18n/sunburst-chart-options.fr.d.ts +37 -0
  874. package/item-definitions/sunburst-chart/i18n/sunburst-chart-options.nl.d.ts +37 -0
  875. package/item-definitions/sunburst-chart/sunburst-chart-options.config.d.ts +51 -0
  876. package/item-definitions/sunburst-chart/sunburst-chart-slots.config.d.ts +22 -0
  877. package/item-definitions/symbol-map/symbol-map-slots.config.d.ts +31 -0
  878. package/item-definitions/text/i18n/text-options.de.d.ts +17 -0
  879. package/item-definitions/text/i18n/text-options.en.d.ts +17 -0
  880. package/item-definitions/text/i18n/text-options.es.d.ts +17 -0
  881. package/item-definitions/text/i18n/text-options.fr.d.ts +17 -0
  882. package/item-definitions/text/i18n/text-options.nl.d.ts +17 -0
  883. package/item-definitions/text/text-options.config.d.ts +45 -0
  884. package/item-definitions/text/text-slots.config.d.ts +2 -0
  885. package/item-definitions/treemap-chart/i18n/treemap-chart-options.de.d.ts +63 -0
  886. package/item-definitions/treemap-chart/i18n/treemap-chart-options.en.d.ts +63 -0
  887. package/item-definitions/treemap-chart/i18n/treemap-chart-options.es.d.ts +63 -0
  888. package/item-definitions/treemap-chart/i18n/treemap-chart-options.fr.d.ts +63 -0
  889. package/item-definitions/treemap-chart/i18n/treemap-chart-options.nl.d.ts +63 -0
  890. package/item-definitions/treemap-chart/treemap-chart-options.config.d.ts +103 -0
  891. package/item-definitions/treemap-chart/treemap-chart-slots.config.d.ts +30 -0
  892. package/item-definitions/venn-diagram/venn-diagram-slots.config.d.ts +18 -0
  893. package/item-definitions/video/i18n/video-options.de.d.ts +55 -0
  894. package/item-definitions/video/i18n/video-options.en.d.ts +55 -0
  895. package/item-definitions/video/i18n/video-options.es.d.ts +55 -0
  896. package/item-definitions/video/i18n/video-options.fr.d.ts +55 -0
  897. package/item-definitions/video/i18n/video-options.nl.d.ts +55 -0
  898. package/item-definitions/video/video-options.config.d.ts +90 -0
  899. package/item-definitions/video/video-slots.config.d.ts +2 -0
  900. package/item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.de.d.ts +27 -0
  901. package/item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.en.d.ts +27 -0
  902. package/item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.es.d.ts +27 -0
  903. package/item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.fr.d.ts +27 -0
  904. package/item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.nl.d.ts +27 -0
  905. package/item-definitions/wordcloud-chart/wordcloud-chart-options.config.d.ts +46 -0
  906. package/item-definitions/wordcloud-chart/wordcloud-chart-slots.config.d.ts +23 -0
  907. package/package.json +145 -20
  908. package/utils/formatter/calculate-duration.d.ts +2 -0
  909. package/utils/formatter/decompose-numeric-format.d.ts +11 -0
  910. package/utils/formatter/default-local-formats.d.ts +20 -0
  911. package/utils/formatter/formats/cs.d.ts +20 -0
  912. package/utils/formatter/formats/da.d.ts +20 -0
  913. package/utils/formatter/formats/de.d.ts +21 -0
  914. package/utils/formatter/formats/en-GB.d.ts +21 -0
  915. package/utils/formatter/formats/en-US.d.ts +1 -0
  916. package/utils/formatter/formats/en.d.ts +1 -0
  917. package/utils/formatter/formats/es.d.ts +54 -0
  918. package/utils/formatter/formats/fi.d.ts +20 -0
  919. package/utils/formatter/formats/fr.d.ts +54 -0
  920. package/utils/formatter/formats/he.d.ts +20 -0
  921. package/utils/formatter/formats/hu.d.ts +20 -0
  922. package/utils/formatter/formats/it.d.ts +54 -0
  923. package/utils/formatter/formats/ja.d.ts +20 -0
  924. package/utils/formatter/formats/ko.d.ts +20 -0
  925. package/utils/formatter/formats/mk.d.ts +20 -0
  926. package/utils/formatter/formats/nl.d.ts +21 -0
  927. package/utils/formatter/formats/no.d.ts +21 -0
  928. package/utils/formatter/formats/pl.d.ts +20 -0
  929. package/utils/formatter/formats/pt.d.ts +20 -0
  930. package/utils/formatter/formats/ru.d.ts +20 -0
  931. package/utils/formatter/formats/sv.d.ts +20 -0
  932. package/utils/formatter/formats/tr.d.ts +21 -0
  933. package/utils/formatter/formats/zh-CN.d.ts +20 -0
  934. package/utils/formatter/formats/zh-TW.d.ts +20 -0
  935. package/utils/formatter/formatter.d.ts +9 -0
  936. package/utils/formatter/localize.d.ts +3 -0
  937. package/utils/formatter/smart-datetime-formats.const.d.ts +36 -0
  938. package/utils/get-css-variable.d.ts +1 -0
  939. package/utils/index.d.ts +4 -0
  940. package/utils/localize/set-locale.d.ts +5 -0
  941. package/utils/map-tile-providers/index.d.ts +93 -0
  942. package/utils/switch-item/index.d.ts +18 -0
  943. package/utils/time/formats.const.d.ts +4 -0
  944. package/utils/time/periods.const.d.ts +15 -0
  945. package/utils/types/column.types.d.ts +56 -0
  946. package/utils/types/type-check.d.ts +7 -0
  947. package/37.js +0 -1
  948. package/729.js +0 -1
  949. package/common-31743c5a.js +0 -13
  950. package/common-b02547a0.js +0 -1
  951. package/common-b49d9a9d.js +0 -1
  952. package/common-b5232813.js +0 -56
  953. package/common-cefd4f4c.js +0 -1
  954. package/common-d6cb565f.js +0 -1
  955. package/common-fd868059.js +0 -1
  956. package/common-fedaf338.js +0 -32
  957. package/edit-option-picker/index.js +0 -314
  958. package/edit-option-slider/index.js +0 -102
  959. package/edit-option-toggle/index.js +0 -114
  960. package/index.js +0 -346
  961. package/vendors-93cc3efa.js +0 -1
  962. package/vendors-bb3d84b5.js +0 -1
@@ -0,0 +1,2553 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2025 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ var Co = Object.getPrototypeOf;
21
+ var $o = Reflect.get;
22
+ var oo = (r, o, e) => $o(Co(r), e, o);
23
+ import { h as R, R as s, k as O, H as m, r as uo, x as Eo, n as F } from "../property-B2F7x7Cz.js";
24
+ import { n as ho } from "../directive-helpers-nlQRAaQt-I6T4KZKW.js";
25
+ import { m as U, d as C } from "../if-defined-BSAr_4u4-4Ys8VE7T.js";
26
+ import { m as X } from "../sized-mixin-BxMraZLS-B_y0PzR3.js";
27
+ import { O as J, n as _o, b as Ao, T as Mo } from "../luzmo-icons-BE2T8vWu.js";
28
+ import { w as Ho, a as Po } from "../async-directive-DWRUSKKF-CmOVMf6V.js";
29
+ import { l as mo, u as po } from "../language-resolution-8yZa5r_P-Bn0bYosv.js";
30
+ import { i as Ro } from "../text-field-CvKSS59x-Dn0_1HO7.js";
31
+ import { p as Fo, d as To, a as Bo } from "../index-CXIT0cYY.js";
32
+ import "../index-BVX_ozT9.js";
33
+ import "../index-DnozlYag.js";
34
+ import { o as eo } from "../when-CDK1Tt5Y-C6ViXC43.js";
35
+ import { a as No } from "../observe-slot-text-ggb4kKgY-o5QFWUeA.js";
36
+ import { m as Uo } from "../roving-tabindex-DOg4z6ZU-dufnVmvL.js";
37
+ import "../index-BBrer3_5.js";
38
+ import { e as Io } from "../query-Ddbd72Um.js";
39
+ import { L as Oo } from "../edit-option-base-qePiIQWd.js";
40
+ const So = () => {
41
+ if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
42
+ const r = document.createElement("style");
43
+ r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
44
+ }
45
+ };
46
+ So();
47
+ /*! * Lucero - The design system for Luzmo.
48
+ *
49
+ * Copyright © 2025 Luzmo
50
+ * All rights reserved.
51
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
52
+ * This license allows users with a current active Luzmo account to use Lucero.
53
+ * This license terminates automatically if a user no longer has an active Luzmo account.
54
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
55
+ *
56
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
57
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
58
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
59
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
60
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
61
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
62
+ * SOFTWARE.
63
+ * */
64
+ const Do = ':host{inline-size:var(--luzmo-color-loupe-width, 48px);block-size:var(--luzmo-color-loupe-height, 64px);transform:translateY(var(--luzmo-color-loupe-animation-distance, 8px));opacity:0;transform-origin:bottom;pointer-events:none;filter:drop-shadow(var(--luzmo-color-loupe-drop-shadow-x, 0) var(--luzmo-color-loupe-drop-shadow-y, 2px) var(--luzmo-color-loupe-drop-shadow-blur, 8px) var(--luzmo-color-loupe-drop-shadow-color, rgba(0, 0, 0, .25)));transition:transform .1s ease-in-out,opacity .125s ease-in-out;position:absolute;inset-block-end:calc(var(--luzmo-color-handle-size, 16px) - var(--luzmo-color-handle-outer-border-width, 1px) + var(--luzmo-color-loupe-offset, 12px));inset-inline-end:calc(50% - var(--luzmo-color-loupe-width, 48px) / 2)}:host:dir(rtl),:host([dir=rtl]){inset-inline-end:calc(50% - var(--luzmo-color-loupe-width, 48px) / 2 - 1px)}:host([open]){opacity:1;transform:translate(0)}.luzmo-color-loupe-inner-border{fill:var(--luzmo-picked-color);stroke:var(--luzmo-color-loupe-inner-border-color, rgba(0, 0, 0, .1));stroke-width:var(--luzmo-color-loupe-inner-border-width, 1px)}.luzmo-color-loupe-outer-border{fill:none;stroke:var(--luzmo-color-loupe-outer-border-color, white);stroke-width:calc(var(--luzmo-color-loupe-outer-border-width, 2px) + 2px);transform:translate(calc((var(--luzmo-color-loupe-outer-border-width, 2px) + 2px) / 2))}.luzmo-color-loupe-checkerboard-pattern{fill:var(--luzmo-color-loupe-checkerboard-dark-color, rgb(230, 230, 230))}.luzmo-color-loupe-checkerboard-background{fill:var(--luzmo-color-loupe-checkerboard-light-color, rgb(255, 255, 255))}.luzmo-color-loupe-checkerboard-fill{fill:var(--luzmo-color-loupe-checkerboard-fill, url(#checkerboard-primary))}@media (forced-colors: active){:host{--highcontrast-colorloupe-outer-border-color: CanvasText}}svg{width:inherit;height:inherit}.loupe-clipped{clip-path:path("M23 61.575C19.0044 57.435 15.2591 53.0606 11.784 48.475C8.68949 44.4532 5.96348 40.1608 3.639 35.65C1.224 30.8 0 26.549 0 23C0.00319993 17.6937 1.84059 12.5516 5.20091 8.44488C8.56122 4.33815 13.2378 1.51928 18.4385 0.465803C23.6392 -0.587678 29.0442 0.189006 33.7378 2.66428C38.4314 5.13955 42.125 9.16122 44.193 14.048C45.3915 16.88 46.0061 19.9248 46 23C46 26.551 44.774 30.811 42.355 35.661C40.0274 40.1747 37.298 44.4698 34.2 48.494C30.7297 53.0728 26.9898 57.4409 23 61.575ZZ")}.opacity-checkerboard{position:absolute;top:2px;left:2px;block-size:100%;inline-size:100%}.opacity-checkerboard{background:repeating-conic-gradient(var(--luzmo-color-loupe-checkerboard-light, rgb(255, 255, 255)) 0 25%,var(--luzmo-color-loupe-checkerboard-dark, rgb(230, 230, 230)) 0 50%) var(--luzmo-color-loupe-checkerboard-position, left top)/calc(var(--luzmo-color-loupe-checkerboard-size, 8px) * 2) calc(var(--luzmo-color-loupe-checkerboard-size, 8px) * 2)}';
65
+ var Lo = Object.defineProperty, go = (r, o, e, t) => {
66
+ for (var l = void 0, i = r.length - 1, a; i >= 0; i--)
67
+ (a = r[i]) && (l = a(o, e, l) || l);
68
+ return l && Lo(o, e, l), l;
69
+ };
70
+ const bo = class extends O {
71
+ constructor() {
72
+ super(...arguments), this.open = !1, this.color = "rgba(255, 0, 0, 0.5)";
73
+ }
74
+ render() {
75
+ return m`
76
+ <div class="opacity-checkerboard loupe-clipped"></div>
77
+ <div class="luzmo-color-loupe-inner-border loupe-clipped"></div>
78
+ <div class="luzmo-color-loupe-outer-border loupe-clipped"></div>
79
+ <svg
80
+ aria-hidden="true"
81
+ class="luzmo-color-loupe is-open"
82
+ overflow="visible"
83
+ style="--luzmo-picked-color: ${this.color}; position: absolute;"
84
+ >
85
+ <defs>
86
+ <path
87
+ id="loupe-path"
88
+ d="M23 61.575C19.0044 57.435 15.2591 53.0606 11.784 48.475C8.68949 44.4532 5.96348 40.1608 3.639 35.65C1.224 30.8 0 26.549 0 23C0.00319993 17.6937 1.84059 12.5516 5.20091 8.44488C8.56122 4.33815 13.2378 1.51928 18.4385 0.465803C23.6392 -0.587678 29.0442 0.189006 33.7378 2.66428C38.4314 5.13955 42.125 9.16122 44.193 14.048C45.3915 16.88 46.0061 19.9248 46 23C46 26.551 44.774 30.811 42.355 35.661C40.0274 40.1747 37.298 44.4698 34.2 48.494C30.7297 53.0728 26.9898 57.4409 23 61.575ZZ"
89
+ transform="translate(2, 2)"
90
+ />
91
+ <mask id="loupe-mask">
92
+ <rect x="0" y="0" height="100" width="100" fill="white" />
93
+ <use xlink:href="#path" fill="black" />
94
+ </mask>
95
+ </defs>
96
+
97
+ <g class="luzmo-color-loupe-loupe">
98
+ <g>
99
+ <use
100
+ xlink:href="#loupe-path"
101
+ mask="url(#loupe-mask)"
102
+ transform="translate(2, 2)"
103
+ class="luzmo-color-loupe-inner-border"
104
+ />
105
+ <use
106
+ xlink:href="#loupe-path"
107
+ mask="url(#loupe-mask)"
108
+ class="luzmo-color-loupe-outer-border"
109
+ />
110
+ </g>
111
+ </g>
112
+ </svg>
113
+ `;
114
+ }
115
+ };
116
+ bo.styles = R(Do);
117
+ let zo = bo;
118
+ go([
119
+ s({ type: Boolean, reflect: !0 })
120
+ ], zo.prototype, "open");
121
+ go([
122
+ s({ type: String })
123
+ ], zo.prototype, "color");
124
+ /*! * Lucero - The design system for Luzmo.
125
+ *
126
+ * Copyright © 2025 Luzmo
127
+ * All rights reserved.
128
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
129
+ * This license allows users with a current active Luzmo account to use Lucero.
130
+ * This license terminates automatically if a user no longer has an active Luzmo account.
131
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
132
+ *
133
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
134
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
135
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
136
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
137
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
138
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
139
+ * SOFTWARE.
140
+ * */
141
+ const jo = () => {
142
+ if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
143
+ const r = document.createElement("style");
144
+ r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
145
+ }
146
+ };
147
+ jo();
148
+ const qo = ':host{touch-action:none;transition:inline-size var(--luzmo-color-handle-animation-duration, .13s) var(--luzmo-color-handle-animation-easing, ease-in-out),block-size var(--luzmo-color-handle-animation-duration, .13s) var(--luzmo-color-handle-animation-easing, ease-in-out),border-width var(--luzmo-color-handle-animation-duration, .13s) var(--luzmo-color-handle-animation-easing, ease-in-out),margin-inline var(--luzmo-color-handle-animation-duration, .13s) var(--luzmo-color-handle-animation-easing, ease-in-out),margin-block var(--luzmo-color-handle-animation-duration, .13s) var(--luzmo-color-handle-animation-easing, ease-in-out)}:host{background:repeating-conic-gradient(var(--luzmo-color-loupe-checkerboard-light, rgb(255, 255, 255)) 0 25%,var(--luzmo-color-loupe-checkerboard-dark, rgb(230, 230, 230)) 0 50%) var(--luzmo-color-loupe-checkerboard-position, left top)/calc(var(--luzmo-color-loupe-checkerboard-size, 8px) * 2) calc(var(--luzmo-color-loupe-checkerboard-size, 8px) * 2);background-position:50%}:host(:focus){outline:none}:host{z-index:1;box-sizing:border-box;inline-size:var(--luzmo-color-handle-size, 16px);block-size:var(--luzmo-color-handle-size, 16px);margin-inline:calc(var(--luzmo-color-handle-size, 16px) / 2 * -1);margin-block:calc(var(--luzmo-color-handle-size, 16px) / 2 * -1);border-width:var(--luzmo-color-handle-border-width, 2px);border-color:var(--luzmo-color-handle-border-color, rgb(255, 255, 255));box-shadow:0 0 0 var(--luzmo-color-handle-outer-border-width, 1px) var(--luzmo-color-handle-outer-border-color, rgba(0, 0, 0, .42));transition:all var(--luzmo-color-handle-animation-duration, 0) var(--luzmo-color-handle-animation-easing, ease-in-out);border-style:solid}:host,:host:after{border-radius:100%;display:block;position:absolute}:host:after{content:"";inset-inline:calc(50% - var(--luzmo-color-handle-hitarea-size, 24px) / 2);inset-block:calc(50% - var(--luzmo-color-handle-hitarea-size, 24px) / 2);inline-size:var(--luzmo-color-handle-hitarea-size, 24px);block-size:var(--luzmo-color-handle-hitarea-size, 24px);border-radius:var(--luzmo-color-handle-hitarea-border-radius, 100%)}:host([focused]),:host(:focus-visible){inline-size:var(--luzmo-color-handle-focused-size, 32px);block-size:var(--luzmo-color-handle-focused-size, 32px);margin-inline:calc(var(--luzmo-color-handle-size, 16px) * -1);margin-block:calc(var(--luzmo-color-handle-size, 16px) * -1);outline:none}:host([disabled]){pointer-events:none;border-color:var(--highcontrast-color-handle-border-color-disabled, var(--luzmo-color-handle-border-color-disabled, var(--luzmo-font-color-disabled)));background:var(--highcontrast-color-handle-fill-color-disabled, var(--luzmo-color-handle-fill-color-disabled, var(--luzmo-font-color-disabled)));box-shadow:none}:host([disabled]) .inner{display:none}.inner{inline-size:100%;block-size:100%;box-shadow:inset 0 0 0 var(--luzmo-color-handle-inner-border-width, var(--luzmo-border-width)) var(--luzmo-color-handle-inner-border-color, rgba(0, 0, 0, .42));background-color:var(--luzmo-picked-color);border-radius:100%}@media (forced-colors: active){:host{forced-color-adjust:none}:host([disabled]){--highcontrast-color-handle-border-color-disabled: GrayText;--highcontrast-color-handle-fill-color-disabled: Canvas}}';
149
+ var Ko = Object.defineProperty, W = (r, o, e, t) => {
150
+ for (var l = void 0, i = r.length - 1, a; i >= 0; i--)
151
+ (a = r[i]) && (l = a(o, e, l) || l);
152
+ return l && Ko(o, e, l), l;
153
+ };
154
+ const fo = class extends O {
155
+ constructor() {
156
+ super(...arguments), this.disabled = !1, this.focused = !1, this.open = !1, this.color = "rgba(255, 0, 0, 0.5)";
157
+ }
158
+ handlePointerdown(o) {
159
+ o.pointerType === "touch" && (this.open = !0), this.setPointerCapture(o.pointerId);
160
+ }
161
+ handlePointerup(o) {
162
+ this.open = !1, this.releasePointerCapture(o.pointerId);
163
+ }
164
+ render() {
165
+ return m`
166
+ <div class="inner" style="background-color: ${this.color}"></div>
167
+ <luzmo-color-loupe
168
+ color=${this.color}
169
+ ?open=${this.open && !this.disabled}
170
+ ></luzmo-color-loupe>
171
+ `;
172
+ }
173
+ firstUpdated(o) {
174
+ super.firstUpdated(o), this.addEventListener("pointerdown", this.handlePointerdown), this.addEventListener("pointerup", this.handlePointerup), this.addEventListener("pointercancel", this.handlePointerup);
175
+ }
176
+ };
177
+ fo.styles = R(qo);
178
+ let D = fo;
179
+ W([
180
+ s({ type: Boolean, reflect: !0 })
181
+ ], D.prototype, "disabled");
182
+ W([
183
+ s({ type: Boolean, reflect: !0 })
184
+ ], D.prototype, "focused");
185
+ W([
186
+ s({ type: Boolean, reflect: !0 })
187
+ ], D.prototype, "open");
188
+ W([
189
+ s({ type: String })
190
+ ], D.prototype, "color");
191
+ customElements.get("luzmo-color-handle") || customElements.define("luzmo-color-handle", D);
192
+ const Vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
193
+ __proto__: null,
194
+ LuzmoColorHandle: D
195
+ }, Symbol.toStringTag, { value: "Module" }));
196
+ /*! * Lucero - The design system for Luzmo.
197
+ *
198
+ * Copyright © 2025 Luzmo
199
+ * All rights reserved.
200
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
201
+ * This license allows users with a current active Luzmo account to use Lucero.
202
+ * This license terminates automatically if a user no longer has an active Luzmo account.
203
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
204
+ *
205
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
206
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
207
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
208
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
209
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
210
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
211
+ * SOFTWARE.
212
+ * */
213
+ function p(r, o) {
214
+ Xo(r) && (r = "100%");
215
+ const e = Wo(r);
216
+ return r = o === 360 ? r : Math.min(o, Math.max(0, parseFloat(r))), e && (r = parseInt(String(r * o), 10) / 100), Math.abs(r - o) < 1e-6 ? 1 : (o === 360 ? r = (r < 0 ? r % o + o : r % o) / parseFloat(String(o)) : r = r % o / parseFloat(String(o)), r);
217
+ }
218
+ function j(r) {
219
+ return Math.min(1, Math.max(0, r));
220
+ }
221
+ function Xo(r) {
222
+ return typeof r == "string" && r.indexOf(".") !== -1 && parseFloat(r) === 1;
223
+ }
224
+ function Wo(r) {
225
+ return typeof r == "string" && r.indexOf("%") !== -1;
226
+ }
227
+ function vo(r) {
228
+ return r = parseFloat(r), (isNaN(r) || r < 0 || r > 1) && (r = 1), r;
229
+ }
230
+ function q(r) {
231
+ return Number(r) <= 1 ? `${Number(r) * 100}%` : r;
232
+ }
233
+ function N(r) {
234
+ return r.length === 1 ? "0" + r : String(r);
235
+ }
236
+ function Yo(r, o, e) {
237
+ return {
238
+ r: p(r, 255) * 255,
239
+ g: p(o, 255) * 255,
240
+ b: p(e, 255) * 255
241
+ };
242
+ }
243
+ function ro(r, o, e) {
244
+ r = p(r, 255), o = p(o, 255), e = p(e, 255);
245
+ const t = Math.max(r, o, e), l = Math.min(r, o, e);
246
+ let i = 0, a = 0;
247
+ const n = (t + l) / 2;
248
+ if (t === l)
249
+ a = 0, i = 0;
250
+ else {
251
+ const c = t - l;
252
+ switch (a = n > 0.5 ? c / (2 - t - l) : c / (t + l), t) {
253
+ case r:
254
+ i = (o - e) / c + (o < e ? 6 : 0);
255
+ break;
256
+ case o:
257
+ i = (e - r) / c + 2;
258
+ break;
259
+ case e:
260
+ i = (r - o) / c + 4;
261
+ break;
262
+ }
263
+ i /= 6;
264
+ }
265
+ return { h: i, s: a, l: n };
266
+ }
267
+ function Z(r, o, e) {
268
+ return e < 0 && (e += 1), e > 1 && (e -= 1), e < 1 / 6 ? r + (o - r) * (6 * e) : e < 1 / 2 ? o : e < 2 / 3 ? r + (o - r) * (2 / 3 - e) * 6 : r;
269
+ }
270
+ function Zo(r, o, e) {
271
+ let t, l, i;
272
+ if (r = p(r, 360), o = p(o, 100), e = p(e, 100), o === 0)
273
+ l = e, i = e, t = e;
274
+ else {
275
+ const a = e < 0.5 ? e * (1 + o) : e + o - e * o, n = 2 * e - a;
276
+ t = Z(n, a, r + 1 / 3), l = Z(n, a, r), i = Z(n, a, r - 1 / 3);
277
+ }
278
+ return { r: t * 255, g: l * 255, b: i * 255 };
279
+ }
280
+ function to(r, o, e) {
281
+ r = p(r, 255), o = p(o, 255), e = p(e, 255);
282
+ const t = Math.max(r, o, e), l = Math.min(r, o, e);
283
+ let i = 0;
284
+ const a = t, n = t - l, c = t === 0 ? 0 : n / t;
285
+ if (t === l)
286
+ i = 0;
287
+ else {
288
+ switch (t) {
289
+ case r:
290
+ i = (o - e) / n + (o < e ? 6 : 0);
291
+ break;
292
+ case o:
293
+ i = (e - r) / n + 2;
294
+ break;
295
+ case e:
296
+ i = (r - o) / n + 4;
297
+ break;
298
+ }
299
+ i /= 6;
300
+ }
301
+ return { h: i, s: c, v: a };
302
+ }
303
+ function Go(r, o, e) {
304
+ r = p(r, 360) * 6, o = p(o, 100), e = p(e, 100);
305
+ const t = Math.floor(r), l = r - t, i = e * (1 - o), a = e * (1 - l * o), n = e * (1 - (1 - l) * o), c = t % 6, d = [e, a, i, i, n, e][c], b = [n, e, e, a, i, i][c], B = [i, i, n, e, e, a][c];
306
+ return { r: d * 255, g: b * 255, b: B * 255 };
307
+ }
308
+ function lo(r, o, e, t) {
309
+ const l = [
310
+ N(Math.round(r).toString(16)),
311
+ N(Math.round(o).toString(16)),
312
+ N(Math.round(e).toString(16))
313
+ ];
314
+ return t && l[0].startsWith(l[0].charAt(1)) && l[1].startsWith(l[1].charAt(1)) && l[2].startsWith(l[2].charAt(1)) ? l[0].charAt(0) + l[1].charAt(0) + l[2].charAt(0) : l.join("");
315
+ }
316
+ function Jo(r, o, e, t, l) {
317
+ const i = [
318
+ N(Math.round(r).toString(16)),
319
+ N(Math.round(o).toString(16)),
320
+ N(Math.round(e).toString(16)),
321
+ N(oe(t))
322
+ ];
323
+ return l && i[0].startsWith(i[0].charAt(1)) && i[1].startsWith(i[1].charAt(1)) && i[2].startsWith(i[2].charAt(1)) && i[3].startsWith(i[3].charAt(1)) ? i[0].charAt(0) + i[1].charAt(0) + i[2].charAt(0) + i[3].charAt(0) : i.join("");
324
+ }
325
+ function Qo(r, o, e, t) {
326
+ const l = r / 100, i = o / 100, a = e / 100, n = t / 100, c = 255 * (1 - l) * (1 - n), d = 255 * (1 - i) * (1 - n), b = 255 * (1 - a) * (1 - n);
327
+ return { r: c, g: d, b };
328
+ }
329
+ function io(r, o, e) {
330
+ let t = 1 - r / 255, l = 1 - o / 255, i = 1 - e / 255, a = Math.min(t, l, i);
331
+ return a === 1 ? (t = 0, l = 0, i = 0) : (t = (t - a) / (1 - a) * 100, l = (l - a) / (1 - a) * 100, i = (i - a) / (1 - a) * 100), a *= 100, {
332
+ c: Math.round(t),
333
+ m: Math.round(l),
334
+ y: Math.round(i),
335
+ k: Math.round(a)
336
+ };
337
+ }
338
+ function oe(r) {
339
+ return Math.round(parseFloat(r) * 255).toString(16);
340
+ }
341
+ function ao(r) {
342
+ return x(r) / 255;
343
+ }
344
+ function x(r) {
345
+ return parseInt(r, 16);
346
+ }
347
+ function ee(r) {
348
+ return {
349
+ r: r >> 16,
350
+ g: (r & 65280) >> 8,
351
+ b: r & 255
352
+ };
353
+ }
354
+ const Q = {
355
+ aliceblue: "#f0f8ff",
356
+ antiquewhite: "#faebd7",
357
+ aqua: "#00ffff",
358
+ aquamarine: "#7fffd4",
359
+ azure: "#f0ffff",
360
+ beige: "#f5f5dc",
361
+ bisque: "#ffe4c4",
362
+ black: "#000000",
363
+ blanchedalmond: "#ffebcd",
364
+ blue: "#0000ff",
365
+ blueviolet: "#8a2be2",
366
+ brown: "#a52a2a",
367
+ burlywood: "#deb887",
368
+ cadetblue: "#5f9ea0",
369
+ chartreuse: "#7fff00",
370
+ chocolate: "#d2691e",
371
+ coral: "#ff7f50",
372
+ cornflowerblue: "#6495ed",
373
+ cornsilk: "#fff8dc",
374
+ crimson: "#dc143c",
375
+ cyan: "#00ffff",
376
+ darkblue: "#00008b",
377
+ darkcyan: "#008b8b",
378
+ darkgoldenrod: "#b8860b",
379
+ darkgray: "#a9a9a9",
380
+ darkgreen: "#006400",
381
+ darkgrey: "#a9a9a9",
382
+ darkkhaki: "#bdb76b",
383
+ darkmagenta: "#8b008b",
384
+ darkolivegreen: "#556b2f",
385
+ darkorange: "#ff8c00",
386
+ darkorchid: "#9932cc",
387
+ darkred: "#8b0000",
388
+ darksalmon: "#e9967a",
389
+ darkseagreen: "#8fbc8f",
390
+ darkslateblue: "#483d8b",
391
+ darkslategray: "#2f4f4f",
392
+ darkslategrey: "#2f4f4f",
393
+ darkturquoise: "#00ced1",
394
+ darkviolet: "#9400d3",
395
+ deeppink: "#ff1493",
396
+ deepskyblue: "#00bfff",
397
+ dimgray: "#696969",
398
+ dimgrey: "#696969",
399
+ dodgerblue: "#1e90ff",
400
+ firebrick: "#b22222",
401
+ floralwhite: "#fffaf0",
402
+ forestgreen: "#228b22",
403
+ fuchsia: "#ff00ff",
404
+ gainsboro: "#dcdcdc",
405
+ ghostwhite: "#f8f8ff",
406
+ goldenrod: "#daa520",
407
+ gold: "#ffd700",
408
+ gray: "#808080",
409
+ green: "#008000",
410
+ greenyellow: "#adff2f",
411
+ grey: "#808080",
412
+ honeydew: "#f0fff0",
413
+ hotpink: "#ff69b4",
414
+ indianred: "#cd5c5c",
415
+ indigo: "#4b0082",
416
+ ivory: "#fffff0",
417
+ khaki: "#f0e68c",
418
+ lavenderblush: "#fff0f5",
419
+ lavender: "#e6e6fa",
420
+ lawngreen: "#7cfc00",
421
+ lemonchiffon: "#fffacd",
422
+ lightblue: "#add8e6",
423
+ lightcoral: "#f08080",
424
+ lightcyan: "#e0ffff",
425
+ lightgoldenrodyellow: "#fafad2",
426
+ lightgray: "#d3d3d3",
427
+ lightgreen: "#90ee90",
428
+ lightgrey: "#d3d3d3",
429
+ lightpink: "#ffb6c1",
430
+ lightsalmon: "#ffa07a",
431
+ lightseagreen: "#20b2aa",
432
+ lightskyblue: "#87cefa",
433
+ lightslategray: "#778899",
434
+ lightslategrey: "#778899",
435
+ lightsteelblue: "#b0c4de",
436
+ lightyellow: "#ffffe0",
437
+ lime: "#00ff00",
438
+ limegreen: "#32cd32",
439
+ linen: "#faf0e6",
440
+ magenta: "#ff00ff",
441
+ maroon: "#800000",
442
+ mediumaquamarine: "#66cdaa",
443
+ mediumblue: "#0000cd",
444
+ mediumorchid: "#ba55d3",
445
+ mediumpurple: "#9370db",
446
+ mediumseagreen: "#3cb371",
447
+ mediumslateblue: "#7b68ee",
448
+ mediumspringgreen: "#00fa9a",
449
+ mediumturquoise: "#48d1cc",
450
+ mediumvioletred: "#c71585",
451
+ midnightblue: "#191970",
452
+ mintcream: "#f5fffa",
453
+ mistyrose: "#ffe4e1",
454
+ moccasin: "#ffe4b5",
455
+ navajowhite: "#ffdead",
456
+ navy: "#000080",
457
+ oldlace: "#fdf5e6",
458
+ olive: "#808000",
459
+ olivedrab: "#6b8e23",
460
+ orange: "#ffa500",
461
+ orangered: "#ff4500",
462
+ orchid: "#da70d6",
463
+ palegoldenrod: "#eee8aa",
464
+ palegreen: "#98fb98",
465
+ paleturquoise: "#afeeee",
466
+ palevioletred: "#db7093",
467
+ papayawhip: "#ffefd5",
468
+ peachpuff: "#ffdab9",
469
+ peru: "#cd853f",
470
+ pink: "#ffc0cb",
471
+ plum: "#dda0dd",
472
+ powderblue: "#b0e0e6",
473
+ purple: "#800080",
474
+ rebeccapurple: "#663399",
475
+ red: "#ff0000",
476
+ rosybrown: "#bc8f8f",
477
+ royalblue: "#4169e1",
478
+ saddlebrown: "#8b4513",
479
+ salmon: "#fa8072",
480
+ sandybrown: "#f4a460",
481
+ seagreen: "#2e8b57",
482
+ seashell: "#fff5ee",
483
+ sienna: "#a0522d",
484
+ silver: "#c0c0c0",
485
+ skyblue: "#87ceeb",
486
+ slateblue: "#6a5acd",
487
+ slategray: "#708090",
488
+ slategrey: "#708090",
489
+ snow: "#fffafa",
490
+ springgreen: "#00ff7f",
491
+ steelblue: "#4682b4",
492
+ tan: "#d2b48c",
493
+ teal: "#008080",
494
+ thistle: "#d8bfd8",
495
+ tomato: "#ff6347",
496
+ turquoise: "#40e0d0",
497
+ violet: "#ee82ee",
498
+ wheat: "#f5deb3",
499
+ white: "#ffffff",
500
+ whitesmoke: "#f5f5f5",
501
+ yellow: "#ffff00",
502
+ yellowgreen: "#9acd32"
503
+ };
504
+ function re(r) {
505
+ let o = { r: 0, g: 0, b: 0 }, e = 1, t = null, l = null, i = null, a = !1, n = !1;
506
+ return typeof r == "string" && (r = ie(r)), typeof r == "object" && (v(r.r) && v(r.g) && v(r.b) ? (o = Yo(r.r, r.g, r.b), a = !0, n = String(r.r).substr(-1) === "%" ? "prgb" : "rgb") : v(r.h) && v(r.s) && v(r.v) ? (t = q(r.s), l = q(r.v), o = Go(r.h, t, l), a = !0, n = "hsv") : v(r.h) && v(r.s) && v(r.l) ? (t = q(r.s), i = q(r.l), o = Zo(r.h, t, i), a = !0, n = "hsl") : v(r.c) && v(r.m) && v(r.y) && v(r.k) && (o = Qo(r.c, r.m, r.y, r.k), a = !0, n = "cmyk"), Object.prototype.hasOwnProperty.call(r, "a") && (e = r.a)), e = vo(e), {
507
+ ok: a,
508
+ format: r.format || n,
509
+ r: Math.min(255, Math.max(o.r, 0)),
510
+ g: Math.min(255, Math.max(o.g, 0)),
511
+ b: Math.min(255, Math.max(o.b, 0)),
512
+ a: e
513
+ };
514
+ }
515
+ const te = "[-\\+]?\\d+%?", le = "[-\\+]?\\d*\\.\\d+%?", P = "(?:" + le + ")|(?:" + te + ")", G = "[\\s|\\(]+(" + P + ")[,|\\s]+(" + P + ")[,|\\s]+(" + P + ")\\s*\\)?", K = (
516
+ // eslint-disable-next-line prettier/prettier
517
+ "[\\s|\\(]+(" + P + ")[,|\\s]+(" + P + ")[,|\\s]+(" + P + ")[,|\\s]+(" + P + ")\\s*\\)?"
518
+ ), w = {
519
+ CSS_UNIT: new RegExp(P),
520
+ rgb: new RegExp("rgb" + G),
521
+ rgba: new RegExp("rgba" + K),
522
+ hsl: new RegExp("hsl" + G),
523
+ hsla: new RegExp("hsla" + K),
524
+ hsv: new RegExp("hsv" + G),
525
+ hsva: new RegExp("hsva" + K),
526
+ cmyk: new RegExp("cmyk" + K),
527
+ hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
528
+ hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
529
+ hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
530
+ hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
531
+ };
532
+ function ie(r) {
533
+ if (r = r.trim().toLowerCase(), r.length === 0)
534
+ return !1;
535
+ let o = !1;
536
+ if (Q[r])
537
+ r = Q[r], o = !0;
538
+ else if (r === "transparent")
539
+ return { r: 0, g: 0, b: 0, a: 0, format: "name" };
540
+ let e = w.rgb.exec(r);
541
+ return e ? { r: e[1], g: e[2], b: e[3] } : (e = w.rgba.exec(r), e ? { r: e[1], g: e[2], b: e[3], a: e[4] } : (e = w.hsl.exec(r), e ? { h: e[1], s: e[2], l: e[3] } : (e = w.hsla.exec(r), e ? { h: e[1], s: e[2], l: e[3], a: e[4] } : (e = w.hsv.exec(r), e ? { h: e[1], s: e[2], v: e[3] } : (e = w.hsva.exec(r), e ? { h: e[1], s: e[2], v: e[3], a: e[4] } : (e = w.cmyk.exec(r), e ? {
542
+ c: e[1],
543
+ m: e[2],
544
+ y: e[3],
545
+ k: e[4]
546
+ } : (e = w.hex8.exec(r), e ? {
547
+ r: x(e[1]),
548
+ g: x(e[2]),
549
+ b: x(e[3]),
550
+ a: ao(e[4]),
551
+ format: o ? "name" : "hex8"
552
+ } : (e = w.hex6.exec(r), e ? {
553
+ r: x(e[1]),
554
+ g: x(e[2]),
555
+ b: x(e[3]),
556
+ format: o ? "name" : "hex"
557
+ } : (e = w.hex4.exec(r), e ? {
558
+ r: x(e[1] + e[1]),
559
+ g: x(e[2] + e[2]),
560
+ b: x(e[3] + e[3]),
561
+ a: ao(e[4] + e[4]),
562
+ format: o ? "name" : "hex8"
563
+ } : (e = w.hex3.exec(r), e ? {
564
+ r: x(e[1] + e[1]),
565
+ g: x(e[2] + e[2]),
566
+ b: x(e[3] + e[3]),
567
+ format: o ? "name" : "hex"
568
+ } : !1))))))))));
569
+ }
570
+ function v(r) {
571
+ return typeof r == "number" ? !Number.isNaN(r) : w.CSS_UNIT.test(r);
572
+ }
573
+ let h = class u {
574
+ constructor(o = "", e = {}) {
575
+ if (o instanceof u)
576
+ return o;
577
+ typeof o == "number" && (o = ee(o)), this.originalInput = o;
578
+ const t = re(o);
579
+ this.originalInput = o, this.r = t.r, this.g = t.g, this.b = t.b, this.a = t.a, this.roundA = Math.round(100 * this.a) / 100, this.format = e.format ?? t.format, this.gradientType = e.gradientType, this.r < 1 && (this.r = Math.round(this.r)), this.g < 1 && (this.g = Math.round(this.g)), this.b < 1 && (this.b = Math.round(this.b)), this.isValid = t.ok;
580
+ }
581
+ isDark() {
582
+ return this.getBrightness() < 128;
583
+ }
584
+ isLight() {
585
+ return !this.isDark();
586
+ }
587
+ /**
588
+ * Returns the perceived brightness of the color, from 0-255.
589
+ */
590
+ getBrightness() {
591
+ const o = this.toRgb();
592
+ return (o.r * 299 + o.g * 587 + o.b * 114) / 1e3;
593
+ }
594
+ /**
595
+ * Returns the perceived luminance of a color, from 0-1.
596
+ */
597
+ getLuminance() {
598
+ const o = this.toRgb();
599
+ let e, t, l;
600
+ const i = o.r / 255, a = o.g / 255, n = o.b / 255;
601
+ return i <= 0.03928 ? e = i / 12.92 : e = Math.pow((i + 0.055) / 1.055, 2.4), a <= 0.03928 ? t = a / 12.92 : t = Math.pow((a + 0.055) / 1.055, 2.4), n <= 0.03928 ? l = n / 12.92 : l = Math.pow((n + 0.055) / 1.055, 2.4), 0.2126 * e + 0.7152 * t + 0.0722 * l;
602
+ }
603
+ /**
604
+ * Returns the alpha value of a color, from 0-1.
605
+ */
606
+ getAlpha() {
607
+ return this.a;
608
+ }
609
+ /**
610
+ * Sets the alpha value on the current color.
611
+ *
612
+ * @param alpha - The new alpha value. The accepted range is 0-1.
613
+ */
614
+ setAlpha(o) {
615
+ return this.a = vo(o), this.roundA = Math.round(100 * this.a) / 100, this;
616
+ }
617
+ /**
618
+ * Returns whether the color is monochrome.
619
+ */
620
+ isMonochrome() {
621
+ const { s: o } = this.toHsl();
622
+ return o === 0;
623
+ }
624
+ /**
625
+ * Returns the object as a HSVA object.
626
+ */
627
+ toHsv() {
628
+ const o = to(this.r, this.g, this.b);
629
+ return { h: o.h * 360, s: o.s, v: o.v, a: this.a };
630
+ }
631
+ /**
632
+ * Returns the hsva values interpolated into a string with the following format:
633
+ * "hsva(xxx, xxx, xxx, xx)".
634
+ */
635
+ toHsvString() {
636
+ const o = to(this.r, this.g, this.b), e = Math.round(o.h * 360), t = Math.round(o.s * 100), l = Math.round(o.v * 100);
637
+ return this.a === 1 ? `hsv(${e}, ${t}%, ${l}%)` : `hsva(${e}, ${t}%, ${l}%, ${this.roundA})`;
638
+ }
639
+ /**
640
+ * Returns the object as a HSLA object.
641
+ */
642
+ toHsl() {
643
+ const o = ro(this.r, this.g, this.b);
644
+ return { h: o.h * 360, s: o.s, l: o.l, a: this.a };
645
+ }
646
+ /**
647
+ * Returns the hsla values interpolated into a string with the following format:
648
+ * "hsla(xxx, xxx, xxx, xx)".
649
+ */
650
+ toHslString() {
651
+ const o = ro(this.r, this.g, this.b), e = Math.round(o.h * 360), t = Math.round(o.s * 100), l = Math.round(o.l * 100);
652
+ return this.a === 1 ? `hsl(${e}, ${t}%, ${l}%)` : `hsla(${e}, ${t}%, ${l}%, ${this.roundA})`;
653
+ }
654
+ /**
655
+ * Returns the hex value of the color.
656
+ * @param allow3Char will shorten hex value to 3 char if possible
657
+ */
658
+ toHex(o = !1) {
659
+ return lo(this.r, this.g, this.b, o);
660
+ }
661
+ /**
662
+ * Returns the hex value of the color -with a # prefixed.
663
+ * @param allow3Char will shorten hex value to 3 char if possible
664
+ */
665
+ toHexString(o = !1) {
666
+ return "#" + this.toHex(o);
667
+ }
668
+ /**
669
+ * Returns the hex 8 value of the color.
670
+ * @param allow4Char will shorten hex value to 4 char if possible
671
+ */
672
+ toHex8(o = !1) {
673
+ return Jo(this.r, this.g, this.b, this.a, o);
674
+ }
675
+ /**
676
+ * Returns the hex 8 value of the color -with a # prefixed.
677
+ * @param allow4Char will shorten hex value to 4 char if possible
678
+ */
679
+ toHex8String(o = !1) {
680
+ return "#" + this.toHex8(o);
681
+ }
682
+ /**
683
+ * Returns the shorter hex value of the color depends on its alpha -with a # prefixed.
684
+ * @param allowShortChar will shorten hex value to 3 or 4 char if possible
685
+ */
686
+ toHexShortString(o = !1) {
687
+ return this.a === 1 ? this.toHexString(o) : this.toHex8String(o);
688
+ }
689
+ /**
690
+ * Returns the object as a RGBA object.
691
+ */
692
+ toRgb() {
693
+ return {
694
+ r: Math.round(this.r),
695
+ g: Math.round(this.g),
696
+ b: Math.round(this.b),
697
+ a: this.a
698
+ };
699
+ }
700
+ /**
701
+ * Returns the RGBA values interpolated into a string with the following format:
702
+ * "RGBA(xxx, xxx, xxx, xx)".
703
+ */
704
+ toRgbString() {
705
+ const o = Math.round(this.r), e = Math.round(this.g), t = Math.round(this.b);
706
+ return this.a === 1 ? `rgb(${o}, ${e}, ${t})` : `rgba(${o}, ${e}, ${t}, ${this.roundA})`;
707
+ }
708
+ /**
709
+ * Returns the object as a RGBA object.
710
+ */
711
+ toPercentageRgb() {
712
+ const o = (e) => `${Math.round(p(e, 255) * 100)}%`;
713
+ return {
714
+ r: o(this.r),
715
+ g: o(this.g),
716
+ b: o(this.b),
717
+ a: this.a
718
+ };
719
+ }
720
+ /**
721
+ * Returns the RGBA relative values interpolated into a string
722
+ */
723
+ toPercentageRgbString() {
724
+ const o = (e) => Math.round(p(e, 255) * 100);
725
+ return this.a === 1 ? `rgb(${o(this.r)}%, ${o(this.g)}%, ${o(this.b)}%)` : `rgba(${o(this.r)}%, ${o(this.g)}%, ${o(this.b)}%, ${this.roundA})`;
726
+ }
727
+ toCmyk() {
728
+ return {
729
+ ...io(this.r, this.g, this.b)
730
+ };
731
+ }
732
+ toCmykString() {
733
+ const { c: o, m: e, y: t, k: l } = io(this.r, this.g, this.b);
734
+ return `cmyk(${o}, ${e}, ${t}, ${l})`;
735
+ }
736
+ /**
737
+ * The 'real' name of the color -if there is one.
738
+ */
739
+ toName() {
740
+ if (this.a === 0)
741
+ return "transparent";
742
+ if (this.a < 1)
743
+ return !1;
744
+ const o = "#" + lo(this.r, this.g, this.b, !1);
745
+ for (const [e, t] of Object.entries(Q))
746
+ if (o === t)
747
+ return e;
748
+ return !1;
749
+ }
750
+ toString(o) {
751
+ const e = !!o;
752
+ o = o ?? this.format;
753
+ let t = !1;
754
+ const l = this.a < 1 && this.a >= 0;
755
+ return !e && l && (o.startsWith("hex") || o === "name") ? o === "name" && this.a === 0 ? this.toName() : this.toRgbString() : (o === "rgb" && (t = this.toRgbString()), o === "prgb" && (t = this.toPercentageRgbString()), (o === "hex" || o === "hex6") && (t = this.toHexString()), o === "hex3" && (t = this.toHexString(!0)), o === "hex4" && (t = this.toHex8String(!0)), o === "hex8" && (t = this.toHex8String()), o === "name" && (t = this.toName()), o === "hsl" && (t = this.toHslString()), o === "hsv" && (t = this.toHsvString()), o === "cmyk" && (t = this.toCmykString()), t || this.toHexString());
756
+ }
757
+ toNumber() {
758
+ return (Math.round(this.r) << 16) + (Math.round(this.g) << 8) + Math.round(this.b);
759
+ }
760
+ clone() {
761
+ return new u(this.toString());
762
+ }
763
+ /**
764
+ * Lighten the color a given amount. Providing 100 will always return white.
765
+ * @param amount - valid between 1-100
766
+ */
767
+ lighten(o = 10) {
768
+ const e = this.toHsl();
769
+ return e.l += o / 100, e.l = j(e.l), new u(e);
770
+ }
771
+ /**
772
+ * Brighten the color a given amount, from 0 to 100.
773
+ * @param amount - valid between 1-100
774
+ */
775
+ brighten(o = 10) {
776
+ const e = this.toRgb();
777
+ return e.r = Math.max(0, Math.min(255, e.r - Math.round(255 * -(o / 100)))), e.g = Math.max(0, Math.min(255, e.g - Math.round(255 * -(o / 100)))), e.b = Math.max(0, Math.min(255, e.b - Math.round(255 * -(o / 100)))), new u(e);
778
+ }
779
+ /**
780
+ * Darken the color a given amount, from 0 to 100.
781
+ * Providing 100 will always return black.
782
+ * @param amount - valid between 1-100
783
+ */
784
+ darken(o = 10) {
785
+ const e = this.toHsl();
786
+ return e.l -= o / 100, e.l = j(e.l), new u(e);
787
+ }
788
+ /**
789
+ * Mix the color with pure white, from 0 to 100.
790
+ * Providing 0 will do nothing, providing 100 will always return white.
791
+ * @param amount - valid between 1-100
792
+ */
793
+ tint(o = 10) {
794
+ return this.mix("white", o);
795
+ }
796
+ /**
797
+ * Mix the color with pure black, from 0 to 100.
798
+ * Providing 0 will do nothing, providing 100 will always return black.
799
+ * @param amount - valid between 1-100
800
+ */
801
+ shade(o = 10) {
802
+ return this.mix("black", o);
803
+ }
804
+ /**
805
+ * Desaturate the color a given amount, from 0 to 100.
806
+ * Providing 100 will is the same as calling greyscale
807
+ * @param amount - valid between 1-100
808
+ */
809
+ desaturate(o = 10) {
810
+ const e = this.toHsl();
811
+ return e.s -= o / 100, e.s = j(e.s), new u(e);
812
+ }
813
+ /**
814
+ * Saturate the color a given amount, from 0 to 100.
815
+ * @param amount - valid between 1-100
816
+ */
817
+ saturate(o = 10) {
818
+ const e = this.toHsl();
819
+ return e.s += o / 100, e.s = j(e.s), new u(e);
820
+ }
821
+ /**
822
+ * Completely desaturates a color into greyscale.
823
+ * Same as calling `desaturate(100)`
824
+ */
825
+ greyscale() {
826
+ return this.desaturate(100);
827
+ }
828
+ /**
829
+ * Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.
830
+ * Values outside of this range will be wrapped into this range.
831
+ */
832
+ spin(o) {
833
+ const e = this.toHsl(), t = (e.h + o) % 360;
834
+ return e.h = t < 0 ? 360 + t : t, new u(e);
835
+ }
836
+ /**
837
+ * Mix the current color a given amount with another color, from 0 to 100.
838
+ * 0 means no mixing (return current color).
839
+ */
840
+ mix(o, e = 50) {
841
+ const t = this.toRgb(), l = new u(o).toRgb(), i = e / 100, a = {
842
+ r: (l.r - t.r) * i + t.r,
843
+ g: (l.g - t.g) * i + t.g,
844
+ b: (l.b - t.b) * i + t.b,
845
+ a: (l.a - t.a) * i + t.a
846
+ };
847
+ return new u(a);
848
+ }
849
+ analogous(o = 6, e = 30) {
850
+ const t = this.toHsl(), l = 360 / e, i = [this];
851
+ for (t.h = (t.h - (l * o >> 1) + 720) % 360; --o; )
852
+ t.h = (t.h + l) % 360, i.push(new u(t));
853
+ return i;
854
+ }
855
+ /**
856
+ * taken from https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js
857
+ */
858
+ complement() {
859
+ const o = this.toHsl();
860
+ return o.h = (o.h + 180) % 360, new u(o);
861
+ }
862
+ monochromatic(o = 6) {
863
+ const e = this.toHsv(), { h: t } = e, { s: l } = e;
864
+ let { v: i } = e;
865
+ const a = [], n = 1 / o;
866
+ for (; o--; )
867
+ a.push(new u({ h: t, s: l, v: i })), i = (i + n) % 1;
868
+ return a;
869
+ }
870
+ splitcomplement() {
871
+ const o = this.toHsl(), { h: e } = o;
872
+ return [
873
+ this,
874
+ new u({ h: (e + 72) % 360, s: o.s, l: o.l }),
875
+ new u({ h: (e + 216) % 360, s: o.s, l: o.l })
876
+ ];
877
+ }
878
+ /**
879
+ * Compute how the color would appear on a background
880
+ */
881
+ onBackground(o) {
882
+ const e = this.toRgb(), t = new u(o).toRgb(), l = e.a + t.a * (1 - e.a);
883
+ return new u({
884
+ r: (e.r * e.a + t.r * t.a * (1 - e.a)) / l,
885
+ g: (e.g * e.a + t.g * t.a * (1 - e.a)) / l,
886
+ b: (e.b * e.a + t.b * t.a * (1 - e.a)) / l,
887
+ a: l
888
+ });
889
+ }
890
+ /**
891
+ * Alias for `polyad(3)`
892
+ */
893
+ triad() {
894
+ return this.polyad(3);
895
+ }
896
+ /**
897
+ * Alias for `polyad(4)`
898
+ */
899
+ tetrad() {
900
+ return this.polyad(4);
901
+ }
902
+ /**
903
+ * Get polyad colors, like (for 1, 2, 3, 4, 5, 6, 7, 8, etc...)
904
+ * monad, dyad, triad, tetrad, pentad, hexad, heptad, octad, etc...
905
+ */
906
+ polyad(o) {
907
+ const e = this.toHsl(), { h: t } = e, l = [this], i = 360 / o;
908
+ for (let a = 1; a < o; a++)
909
+ l.push(new u({ h: (t + a * i) % 360, s: e.s, l: e.l }));
910
+ return l;
911
+ }
912
+ /**
913
+ * compare color vs current color
914
+ */
915
+ equals(o) {
916
+ const e = new u(o);
917
+ return this.format === "cmyk" || e.format === "cmyk" ? this.toCmykString() === e.toCmykString() : this.toRgbString() === e.toRgbString();
918
+ }
919
+ };
920
+ /*! * Lucero - The design system for Luzmo.
921
+ *
922
+ * Copyright © 2025 Luzmo
923
+ * All rights reserved.
924
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
925
+ * This license allows users with a current active Luzmo account to use Lucero.
926
+ * This license terminates automatically if a user no longer has an active Luzmo account.
927
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
928
+ *
929
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
930
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
931
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
932
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
933
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
934
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
935
+ * SOFTWARE.
936
+ * */
937
+ const so = /^hs[v|l]a?\s?\((\d{1,3}\.?\d*?),?\s?(\d{1,3})/, no = /(^hs[v|l]a?\s?\()\d{1,3}\.?\d*?(,?\s?)\d{1,3}/, co = /(^hs[v|l]a?\()\d{1,3}/, V = (r, o) => o ? r.toHexString() : r.toHex();
938
+ let xo = class {
939
+ constructor(o, {
940
+ applyColorToState: e,
941
+ extractColorFromState: t,
942
+ maintains: l
943
+ }) {
944
+ this.maintains = "hue", this._hue = 0, this._opacity = 1, this.getColorProcesses = {
945
+ rgb: (i, a) => a ? i.toRgbString() : i.toRgb(),
946
+ prgb: (i, a) => a ? i.toPercentageRgbString() : i.toPercentageRgb(),
947
+ hex8: (i, a) => a ? i.toHex8String() : i.toHex8(),
948
+ name: (i) => i.toName() || i.toRgbString(),
949
+ hsl: (i, a) => {
950
+ if (this.maintains === "hue") {
951
+ if (a)
952
+ return i.toHslString().replace(co, `$1${this.hue}`);
953
+ const { s: b, l: B, a: Y } = i.toHsl();
954
+ return { h: this.hue, s: b, l: B, a: Y };
955
+ }
956
+ if (a)
957
+ return i.toHslString().replace(
958
+ no,
959
+ `$1${this.hue}$2${this.saturation}`
960
+ );
961
+ const { s: n, l: c, a: d } = i.toHsl();
962
+ return { h: this.hue, s: n, l: c, a: d };
963
+ },
964
+ hsv: (i, a) => {
965
+ if (this.maintains === "hue") {
966
+ if (a)
967
+ return i.toHsvString().replace(co, `$1${this.hue}`);
968
+ const { s: b, v: B, a: Y } = i.toHsv();
969
+ return { h: this.hue, s: b, v: B, a: Y };
970
+ }
971
+ if (a)
972
+ return i.toHsvString().replace(
973
+ no,
974
+ `$1${this.hue}$2${this.saturation}`
975
+ );
976
+ const { s: n, v: c, a: d } = i.toHsv();
977
+ return { h: this.hue, s: n, v: c, a: d };
978
+ },
979
+ hex: V,
980
+ hex3: V,
981
+ hex4: V,
982
+ hex6: V
983
+ }, this._color = new h({ h: 0, s: 1, v: 1 }), this._previousColor = new h({ h: 0, s: 1, v: 1 }), this._format = {
984
+ format: "",
985
+ isString: !1
986
+ }, this.host = o, this.applyColorToState = e, this.extractColorFromState = t, this.maintains = l || this.maintains;
987
+ }
988
+ setColorProcess(o, e, t, l) {
989
+ this.maintains === "hue" ? this.setColorMaintainHue(o, e, t, l) : this.maintains === "saturation" && this.setColorMaintainSaturation(
990
+ o,
991
+ e,
992
+ t,
993
+ l
994
+ );
995
+ }
996
+ setColorMaintainHue(o, e, t, l) {
997
+ const { h: i, s: a, v: n, a: c } = this._color.toHsv();
998
+ let d;
999
+ if (l && t.startsWith("hs")) {
1000
+ const b = so.exec(e);
1001
+ if (b !== null) {
1002
+ const [, B] = b;
1003
+ d = Number(B);
1004
+ }
1005
+ } else if (!l && t.startsWith("hs")) {
1006
+ const b = o.originalInput;
1007
+ d = Object.values(b)[0];
1008
+ }
1009
+ this.hue = d || i, this.opacity = c ?? 1, this.applyColorToState({ h: i, s: a, v: n, a: c });
1010
+ }
1011
+ setColorMaintainSaturation(o, e, t, l) {
1012
+ const { a: i } = this._color.toHsv();
1013
+ if (l && t.startsWith("hs")) {
1014
+ const a = so.exec(e);
1015
+ if (a !== null) {
1016
+ const [, n, c] = a;
1017
+ this.hue = Number(n), this.saturation = Number(c);
1018
+ }
1019
+ } else if (!l && t.startsWith("hs")) {
1020
+ const a = o.originalInput, n = Object.values(a);
1021
+ this.hue = n[0], this.saturation = n[1];
1022
+ } else {
1023
+ const { h: a } = o.toHsv();
1024
+ this.hue = a;
1025
+ }
1026
+ this.opacity = i ?? 1, this.applyColorToState(o.toHsv());
1027
+ }
1028
+ applyColorFromState() {
1029
+ this._color = new h(this.extractColorFromState(this));
1030
+ }
1031
+ get hue() {
1032
+ return this._hue;
1033
+ }
1034
+ set hue(o) {
1035
+ const e = Math.min(360, Math.max(0, o));
1036
+ if (e === this.hue)
1037
+ return;
1038
+ const t = this.hue, { s: l, v: i, a } = this._color.toHsv();
1039
+ this._color = new h({ h: e, s: l, v: i, a }), this._hue = e, this.host.requestUpdate("hue", t);
1040
+ }
1041
+ get opacity() {
1042
+ return this._opacity;
1043
+ }
1044
+ set opacity(o) {
1045
+ const e = Math.min(1, Math.max(0, o));
1046
+ if (e === this.opacity)
1047
+ return;
1048
+ const t = this.opacity, { h: l, s: i, v: a } = this._color.toHsv();
1049
+ this._color = new h({ h: l, s: i, v: a, a: e }), this._opacity = e, this.host.requestUpdate("opacity", t);
1050
+ }
1051
+ /* c8 ignore next 3 */
1052
+ get value() {
1053
+ return this.color;
1054
+ }
1055
+ get color() {
1056
+ return this.getColorProcesses[this._format.format || "hex"](
1057
+ this._color,
1058
+ this._format.isString
1059
+ );
1060
+ }
1061
+ set color(o) {
1062
+ if (o === this.color)
1063
+ return;
1064
+ const e = this._color;
1065
+ this._color = new h(o);
1066
+ const t = this._color.format;
1067
+ let l = typeof o == "string" || o instanceof String;
1068
+ t.startsWith("hex") && (l = o.startsWith("#")), this._format = {
1069
+ format: t,
1070
+ isString: l
1071
+ }, this.setColorProcess(this._color, o, t, l), this.host.requestUpdate("color", e);
1072
+ }
1073
+ getColor(o) {
1074
+ const e = {
1075
+ hsl: "toHsl"
1076
+ };
1077
+ return this._color[e[o]]();
1078
+ }
1079
+ setColor(o) {
1080
+ this._color = o;
1081
+ const e = typeof this._color.originalInput == "string" || this._color.originalInput instanceof String;
1082
+ this.setColorProcess(this._color, o, this._color.format, e);
1083
+ }
1084
+ getHslString() {
1085
+ return this._color.toHslString();
1086
+ }
1087
+ savePreviousColor() {
1088
+ this._previousColor = this._color.clone();
1089
+ }
1090
+ restorePreviousColor() {
1091
+ this.setColor(this._previousColor);
1092
+ }
1093
+ };
1094
+ /*! * Lucero - The design system for Luzmo.
1095
+ *
1096
+ * Copyright © 2025 Luzmo
1097
+ * All rights reserved.
1098
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
1099
+ * This license allows users with a current active Luzmo account to use Lucero.
1100
+ * This license terminates automatically if a user no longer has an active Luzmo account.
1101
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
1102
+ *
1103
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1104
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1105
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1106
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1107
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1108
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1109
+ * SOFTWARE.
1110
+ * */
1111
+ const ae = () => {
1112
+ if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
1113
+ const r = document.createElement("style");
1114
+ r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
1115
+ }
1116
+ };
1117
+ ae();
1118
+ const se = "@media (forced-colors: active){:host{--highcontrast-color-area-border-color-disabled: GrayText;--highcontrast-color-area-border-color: Canvas;--highcontrast-color-area-fill-color-disabled: Canvas}.gradient,:host([disabled]){forced-color-adjust:none}}:host{cursor:default;-webkit-user-select:none;user-select:none;min-inline-size:var(--luzmo-color-area-min-width, 64px);min-block-size:var(--luzmo-color-area-min-height, 64px);inline-size:var(--luzmo-color-area-width, 192px);block-size:var(--luzmo-color-area-height, 192px);box-sizing:border-box;border-radius:var(--luzmo-color-area-border-radius, var(--luzmo-border-radius-s));border:var(--luzmo-color-area-border-width, var(--luzmo-border-width)) solid var(--highcontrast-color-area-border-color, var(--luzmo-color-area-border-color, var(--luzmo-border-color)));display:inline-block;position:relative}:host([focused]){z-index:1}:host([disabled]){pointer-events:none;background:var(--highcontrast-color-area-fill-color-disabled, var(--luzmo-color-area-disabled-background-color, var(--luzmo-dimmed-color)));border:var(--luzmo-color-area-border-width, var(--luzmo-border-width)) solid var(--highcontrast-color-area-border-color-disabled)}:host([disabled]) .gradient{display:none}.handle{transform:translate(calc(var(--luzmo-color-area-width, 192px) - var(--luzmo-border-width)));inset-block-start:0}.handle:dir(rtl),:host([dir=rtl]) .handle{inset-inline-end:0}.gradient{inline-size:100%;block-size:100%;border-radius:var(--luzmo-color-area-border-radius, var(--luzmo-border-radius-s))}.slider{opacity:0;inline-size:100%;block-size:100%;z-index:0;pointer-events:none;margin:0;position:absolute;inset-block-start:0;inset-inline-start:0}:host{touch-action:none}:host:before{pointer-events:none}.gradient{overflow:hidden}.handle{transform:translate(var(--luzmo-color-area-default-width))}::slotted(*){width:100%;height:100%}:host([dir=rtl]) .gradient{transform:scaleX(-1)}.slider[orient=vertical]{-webkit-appearance:slider-vertical;-moz-appearance:slider-vertical;appearance:slider-vertical}.slider:focus{z-index:1}.fieldset{border:0;margin:0;padding:0}";
1119
+ var ne = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, z = (r, o, e, t) => {
1120
+ for (var l = t > 1 ? void 0 : t ? ce(o, e) : o, i = r.length - 1, a; i >= 0; i--)
1121
+ (a = r[i]) && (l = (t ? a(o, e, l) : a(l)) || l);
1122
+ return t && l && ne(o, e, l), l;
1123
+ };
1124
+ class g extends O {
1125
+ constructor() {
1126
+ super(...arguments), this.disabled = !1, this.focused = !1, this.labelX = "saturation", this.labelY = "luminosity", this.isLTR = !0, this.languageResolver = new mo(this), this.colorController = new xo(this, {
1127
+ extractColorFromState: () => ({
1128
+ h: this.hue,
1129
+ s: this.x,
1130
+ v: this.y
1131
+ }),
1132
+ applyColorToState: ({ s: o, v: e }) => {
1133
+ this._x = o, this._y = e, this.requestUpdate();
1134
+ }
1135
+ }), this.activeAxis = "x", this._x = 1, this._y = 1, this.step = 0.01, this.altered = 0, this.activeKeys = /* @__PURE__ */ new Set(), this._valueChanged = !1, this._pointerDown = !1;
1136
+ }
1137
+ static get styles() {
1138
+ return [R(se)];
1139
+ }
1140
+ get hue() {
1141
+ return this.colorController.hue;
1142
+ }
1143
+ set hue(o) {
1144
+ this.colorController.hue = o;
1145
+ }
1146
+ get value() {
1147
+ return this.colorController.color;
1148
+ }
1149
+ get color() {
1150
+ return this.colorController.color;
1151
+ }
1152
+ set color(o) {
1153
+ this.colorController.color = o;
1154
+ }
1155
+ get x() {
1156
+ return this._x;
1157
+ }
1158
+ set x(o) {
1159
+ if (o === this.x)
1160
+ return;
1161
+ const e = this.x;
1162
+ this._x = o, this.inputX && (this.inputX.value = o.toString(), this._x = this.inputX.valueAsNumber), this.requestUpdate("x", e), this.colorController.applyColorFromState();
1163
+ }
1164
+ get y() {
1165
+ return this._y;
1166
+ }
1167
+ set y(o) {
1168
+ if (o === this.y)
1169
+ return;
1170
+ const e = this.y;
1171
+ this._y = o, this.inputY && (this.inputY.value = o.toString(), this._y = this.inputY.valueAsNumber), this.requestUpdate("y", e), this.colorController.applyColorFromState();
1172
+ }
1173
+ focus(o = {}) {
1174
+ super.focus(o), this.forwardFocus();
1175
+ }
1176
+ forwardFocus() {
1177
+ this.activeAxis === "x" ? this.inputX.focus() : this.inputY.focus();
1178
+ }
1179
+ handleFocus() {
1180
+ this.focused = !0, this._valueChanged = !1;
1181
+ }
1182
+ handleBlur() {
1183
+ this._pointerDown || (this.altered = 0, this.focused = !1, this._valueChanged = !1);
1184
+ }
1185
+ handleKeydown(o) {
1186
+ const { code: e } = o;
1187
+ this.focused = !0, this.altered = [o.shiftKey, o.ctrlKey, o.altKey].filter(
1188
+ (t) => !!t
1189
+ ).length, (e.search("Arrow") === 0 || e.search("Page") === 0 || e.search("Home") === 0 || e.search("End") === 0) && (o.preventDefault(), this.activeKeys.add(e), this.handleKeypress());
1190
+ }
1191
+ handleKeypress() {
1192
+ let o = 0, e = 0;
1193
+ const t = Math.max(this.step, this.altered * 5 * this.step);
1194
+ this.activeKeys.forEach((l) => {
1195
+ switch (l) {
1196
+ case "ArrowUp": {
1197
+ e = t;
1198
+ break;
1199
+ }
1200
+ case "ArrowDown": {
1201
+ e = t * -1;
1202
+ break;
1203
+ }
1204
+ case "ArrowLeft": {
1205
+ o = this.step * (this.isLTR ? -1 : 1);
1206
+ break;
1207
+ }
1208
+ case "ArrowRight": {
1209
+ o = this.step * (this.isLTR ? 1 : -1);
1210
+ break;
1211
+ }
1212
+ case "PageUp": {
1213
+ e = t * 10;
1214
+ break;
1215
+ }
1216
+ case "PageDown": {
1217
+ e = t * -10;
1218
+ break;
1219
+ }
1220
+ case "Home": {
1221
+ o = t * (this.isLTR ? -10 : 10);
1222
+ break;
1223
+ }
1224
+ case "End": {
1225
+ o = t * (this.isLTR ? 10 : -10);
1226
+ break;
1227
+ }
1228
+ }
1229
+ }), o !== 0 ? (this.activeAxis = "x", this.inputX.focus()) : e !== 0 && (this.activeAxis = "y", this.inputY.focus()), this.x = Math.min(1, Math.max(this.x + o, 0)), this.y = Math.min(1, Math.max(this.y + e, 0)), this.colorController.savePreviousColor(), this.colorController.applyColorFromState(), (o !== 0 || e !== 0) && (this._valueChanged = !0, this.dispatchEvent(
1230
+ new Event("input", {
1231
+ bubbles: !0,
1232
+ composed: !0
1233
+ })
1234
+ ), this.dispatchEvent(
1235
+ new Event("change", {
1236
+ bubbles: !0,
1237
+ composed: !0,
1238
+ cancelable: !0
1239
+ })
1240
+ ) || this.colorController.restorePreviousColor());
1241
+ }
1242
+ handleKeyup(o) {
1243
+ o.preventDefault();
1244
+ const { code: e } = o;
1245
+ this.activeKeys.delete(e);
1246
+ }
1247
+ handleInput(o) {
1248
+ const { valueAsNumber: e, name: t } = o.target;
1249
+ this[t] = e, this.colorController.applyColorFromState();
1250
+ }
1251
+ handleChange(o) {
1252
+ this.handleInput(o), this.dispatchEvent(
1253
+ new Event("change", {
1254
+ bubbles: !0,
1255
+ composed: !0,
1256
+ cancelable: !0
1257
+ })
1258
+ );
1259
+ }
1260
+ handlePointerdown(o) {
1261
+ if (o.button !== 0) {
1262
+ o.preventDefault();
1263
+ return;
1264
+ }
1265
+ this._pointerDown = !0, this.colorController.savePreviousColor(), this.boundingClientRect = this.getBoundingClientRect(), o.target.setPointerCapture(o.pointerId), o.pointerType === "mouse" && (this.focused = !0);
1266
+ }
1267
+ handlePointermove(o) {
1268
+ const [e, t] = this.calculateHandlePosition(o);
1269
+ this._valueChanged = !1, this.x = e, this.y = 1 - t, this.colorController.applyColorFromState(), this.dispatchEvent(
1270
+ new Event("input", {
1271
+ bubbles: !0,
1272
+ composed: !0,
1273
+ cancelable: !0
1274
+ })
1275
+ );
1276
+ }
1277
+ handlePointerup(o) {
1278
+ o.preventDefault(), this._pointerDown = !1, o.target.releasePointerCapture(o.pointerId);
1279
+ const e = this.dispatchEvent(
1280
+ new Event("change", {
1281
+ bubbles: !0,
1282
+ composed: !0,
1283
+ cancelable: !0
1284
+ })
1285
+ );
1286
+ this.inputX.focus(), o.pointerType === "mouse" && (this.focused = !1), e || this.colorController.restorePreviousColor();
1287
+ }
1288
+ /**
1289
+ * Returns the value under the cursor
1290
+ * @param: PointerEvent on slider
1291
+ * @return: Slider value that correlates to the position under the pointer
1292
+ */
1293
+ calculateHandlePosition(o) {
1294
+ if (!this.boundingClientRect)
1295
+ return [this.x, this.y];
1296
+ const e = this.boundingClientRect, t = e.left, l = e.top, i = o.clientX, a = o.clientY, n = e.width, c = e.height, d = Math.max(0, Math.min(1, (i - t) / n)), b = Math.max(0, Math.min(1, (a - l) / c));
1297
+ return [this.isLTR ? d : 1 - d, b];
1298
+ }
1299
+ handleAreaPointerdown(o) {
1300
+ o.button === 0 && (o.stopPropagation(), o.preventDefault(), this.handle.dispatchEvent(new PointerEvent("pointerdown", o)), this.handlePointermove(o));
1301
+ }
1302
+ render() {
1303
+ const { width: o = 0, height: e = 0 } = this.boundingClientRect || {}, t = Ho() || Po(), l = "Color Picker", i = U(t ? void 0 : "2d slider"), a = this.labelX, n = this.labelY, c = new Intl.NumberFormat(this.languageResolver.language, {
1304
+ style: "percent",
1305
+ unitDisplay: "narrow"
1306
+ }).format(this.x), d = new Intl.NumberFormat(this.languageResolver.language, {
1307
+ style: "percent",
1308
+ unitDisplay: "narrow"
1309
+ }).format(this.y), b = `linear-gradient(to top, black 0%, hsla(${this.hue}, 100%, 0.01%, 0) 100%),linear-gradient(to right, white 0%, hsla(${this.hue}, 100%, 0.01%, 0) 100%), hsl(${this.hue}, 100%, 50%);`;
1310
+ return m`
1311
+ <div
1312
+ @pointerdown=${this.handleAreaPointerdown}
1313
+ class="gradient"
1314
+ style="background: ${b}"
1315
+ >
1316
+ <slot name="gradient"></slot>
1317
+ </div>
1318
+
1319
+ <luzmo-color-handle
1320
+ tabindex=${U(this.focused ? void 0 : "0")}
1321
+ @focus=${this.forwardFocus}
1322
+ ?focused=${this.focused}
1323
+ class="handle"
1324
+ color=${this.colorController.getHslString()}
1325
+ ?disabled=${this.disabled}
1326
+ style=${`transform: translate(${(this.isLTR ? this.x : 1 - this.x) * o}px, ${e - this.y * e}px);`}
1327
+ ${po({
1328
+ start: ["pointerdown", this.handlePointerdown],
1329
+ streamInside: ["pointermove", this.handlePointermove],
1330
+ end: [
1331
+ ["pointerup", "pointercancel", "pointerleave"],
1332
+ this.handlePointerup
1333
+ ]
1334
+ })}
1335
+ ></luzmo-color-handle>
1336
+
1337
+ <fieldset
1338
+ class="fieldset"
1339
+ aria-label=${U(t ? l : void 0)}
1340
+ >
1341
+ <div role="presentation">
1342
+ <input
1343
+ type="range"
1344
+ class="slider"
1345
+ name="x"
1346
+ aria-label=${t ? a : `${a} ${l}`}
1347
+ aria-roledescription=${i}
1348
+ aria-orientation="horizontal"
1349
+ aria-valuetext=${t ? c : `${c}, ${a}${this._valueChanged ? "" : `, ${d}, ${n}`}`}
1350
+ min="0"
1351
+ max="1"
1352
+ step=${this.step}
1353
+ tabindex="-1"
1354
+ .value=${String(this.x)}
1355
+ @input=${this.handleInput}
1356
+ @change=${this.handleChange}
1357
+ />
1358
+ </div>
1359
+ <div role="presentation">
1360
+ <input
1361
+ type="range"
1362
+ class="slider"
1363
+ name="y"
1364
+ aria-label=${t ? n : `${n} ${l}`}
1365
+ aria-roledescription=${i}
1366
+ aria-orientation="vertical"
1367
+ aria-valuetext=${t ? d : `${d}, ${n}${this._valueChanged ? "" : `, ${c}, ${a}`}`}
1368
+ orient="vertical"
1369
+ min="0"
1370
+ max="1"
1371
+ step=${this.step}
1372
+ tabindex="-1"
1373
+ .value=${String(this.y)}
1374
+ @input=${this.handleInput}
1375
+ @change=${this.handleChange}
1376
+ />
1377
+ </div>
1378
+ </fieldset>
1379
+ `;
1380
+ }
1381
+ firstUpdated(o) {
1382
+ super.firstUpdated(o), this.boundingClientRect = this.getBoundingClientRect(), this.addEventListener("focus", this.handleFocus), this.addEventListener("blur", this.handleBlur), this.addEventListener("keyup", this.handleKeyup), this.addEventListener("keydown", this.handleKeydown);
1383
+ }
1384
+ updated(o) {
1385
+ if (super.updated(o), this.x !== this.inputX.valueAsNumber && (this._x = this.inputX.valueAsNumber), this.y !== this.inputY.valueAsNumber && (this._y = this.inputY.valueAsNumber), o.has("focused") && this.focused) {
1386
+ const e = this.inputX.parentElement, t = this.inputY.parentElement;
1387
+ if (!e.shadowRoot && !t.shadowRoot) {
1388
+ e.attachShadow({ mode: "open" }), t.attachShadow({ mode: "open" });
1389
+ const l = '<div tabindex="-1"><slot></slot></div>';
1390
+ e.shadowRoot.innerHTML = l, t.shadowRoot.innerHTML = l;
1391
+ }
1392
+ }
1393
+ }
1394
+ connectedCallback() {
1395
+ var o;
1396
+ super.connectedCallback(), !this.observer && window.ResizeObserver && (this.observer = new window.ResizeObserver((e) => {
1397
+ for (const t of e)
1398
+ this.boundingClientRect = t.contentRect;
1399
+ this.requestUpdate();
1400
+ })), (o = this.observer) == null || o.observe(this);
1401
+ }
1402
+ disconnectedCallback() {
1403
+ var o;
1404
+ (o = this.observer) == null || o.unobserve(this), super.disconnectedCallback();
1405
+ }
1406
+ }
1407
+ z([
1408
+ s({ type: String, reflect: !0 })
1409
+ ], g.prototype, "dir", 2);
1410
+ z([
1411
+ s({ type: Boolean, reflect: !0 })
1412
+ ], g.prototype, "disabled", 2);
1413
+ z([
1414
+ s({ type: Boolean, reflect: !0 })
1415
+ ], g.prototype, "focused", 2);
1416
+ z([
1417
+ s({ type: String, attribute: "label-x" })
1418
+ ], g.prototype, "labelX", 2);
1419
+ z([
1420
+ s({ type: String, attribute: "label-y" })
1421
+ ], g.prototype, "labelY", 2);
1422
+ z([
1423
+ s({ type: Boolean, attribute: "is-ltr" })
1424
+ ], g.prototype, "isLTR", 2);
1425
+ z([
1426
+ C(".handle")
1427
+ ], g.prototype, "handle", 2);
1428
+ z([
1429
+ s({ type: Number })
1430
+ ], g.prototype, "hue", 1);
1431
+ z([
1432
+ s({ type: String })
1433
+ ], g.prototype, "value", 1);
1434
+ z([
1435
+ s({ type: String })
1436
+ ], g.prototype, "color", 1);
1437
+ z([
1438
+ s({ attribute: !1 })
1439
+ ], g.prototype, "activeAxis", 2);
1440
+ z([
1441
+ s({ type: Number })
1442
+ ], g.prototype, "x", 1);
1443
+ z([
1444
+ s({ type: Number })
1445
+ ], g.prototype, "y", 1);
1446
+ z([
1447
+ s({ type: Number })
1448
+ ], g.prototype, "step", 2);
1449
+ z([
1450
+ C('[name="x"]')
1451
+ ], g.prototype, "inputX", 2);
1452
+ z([
1453
+ C('[name="y"]')
1454
+ ], g.prototype, "inputY", 2);
1455
+ customElements.get("luzmo-color-area") || customElements.define("luzmo-color-area", g);
1456
+ /*! * Lucero - The design system for Luzmo.
1457
+ *
1458
+ * Copyright © 2025 Luzmo
1459
+ * All rights reserved.
1460
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
1461
+ * This license allows users with a current active Luzmo account to use Lucero.
1462
+ * This license terminates automatically if a user no longer has an active Luzmo account.
1463
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
1464
+ *
1465
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1466
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1467
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1468
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1469
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1470
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1471
+ * SOFTWARE.
1472
+ * */
1473
+ const ue = () => {
1474
+ if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
1475
+ const r = document.createElement("style");
1476
+ r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
1477
+ }
1478
+ };
1479
+ ue();
1480
+ var he = Object.defineProperty, de = (r, o, e, t) => {
1481
+ for (var l = void 0, i = r.length - 1, a; i >= 0; i--)
1482
+ (a = r[i]) && (l = a(o, e, l) || l);
1483
+ return l && he(o, e, l), l;
1484
+ };
1485
+ let yo = class extends Ro {
1486
+ constructor() {
1487
+ super(...arguments), this.viewColor = !1, this._value = "", this.cachedColor = null, this.cachedTinyColor = null;
1488
+ }
1489
+ static get styles() {
1490
+ return [...super.styles];
1491
+ }
1492
+ set value(o) {
1493
+ if (o === this.value)
1494
+ return;
1495
+ const e = this._value;
1496
+ this._value = o, this.requestUpdate("value", e);
1497
+ }
1498
+ get value() {
1499
+ return this._value;
1500
+ }
1501
+ getColorValue() {
1502
+ if (!this.value)
1503
+ return "";
1504
+ if (!this.cachedColor || this.cachedColor !== this.value) {
1505
+ const o = new h(this.value);
1506
+ this.cachedColor = o.isValid ? o.toRgbString() : "";
1507
+ }
1508
+ return this.cachedColor;
1509
+ }
1510
+ renderColorHandle() {
1511
+ return this.viewColor ? m`
1512
+ <luzmo-color-handle
1513
+ size="m"
1514
+ color=${this.getColorValue()}
1515
+ ></luzmo-color-handle>
1516
+ ` : m``;
1517
+ }
1518
+ render() {
1519
+ return this.viewColor && Promise.resolve().then(() => Vo), m` ${super.render()} ${this.renderColorHandle()} `;
1520
+ }
1521
+ checkValidity() {
1522
+ let o = super.checkValidity();
1523
+ return this.value && ((!this.cachedTinyColor || this.cachedTinyColor.originalInput !== this.value) && (this.cachedTinyColor = new h(this.value)), this.valid = o = this.cachedTinyColor.isValid, this.invalid = !o), o;
1524
+ }
1525
+ };
1526
+ de([
1527
+ s({ type: Boolean, attribute: "view-color" })
1528
+ ], yo.prototype, "viewColor");
1529
+ customElements.get("luzmo-color-field") || customElements.define("luzmo-color-field", yo);
1530
+ /*! * Lucero - The design system for Luzmo.
1531
+ *
1532
+ * Copyright © 2025 Luzmo
1533
+ * All rights reserved.
1534
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
1535
+ * This license allows users with a current active Luzmo account to use Lucero.
1536
+ * This license terminates automatically if a user no longer has an active Luzmo account.
1537
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
1538
+ *
1539
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1540
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1541
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1542
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1543
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1544
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1545
+ * SOFTWARE.
1546
+ * */
1547
+ const me = () => {
1548
+ if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
1549
+ const r = document.createElement("style");
1550
+ r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
1551
+ }
1552
+ };
1553
+ me();
1554
+ const pe = '.opacity-checkerboard{position:absolute;block-size:100%;inline-size:100%;background:repeating-conic-gradient(var(--luzmo-color-loupe-checkerboard-light, rgb(255, 255, 255)) 0 25%,var(--luzmo-color-loupe-checkerboard-dark, rgb(230, 230, 230)) 0 50%) var(--luzmo-color-loupe-checkerboard-position, left top)/calc(var(--luzmo-color-loupe-checkerboard-size, 8px) * 2) calc(var(--luzmo-color-loupe-checkerboard-size, 8px) * 2)}:host{--luzmo-color-slider-gradient-fallback: rgb(255 0 0) 0%, rgb(255 255 0) 17%, rgb(0 255 0) 33%, rgb(0 255 255) 50%, rgb(0 0 255) 67%, rgb(255 0 255) 83%, rgb(255 0 0) 100%;touch-action:none}:host([vertical]) .handle{inset-block-start:unset;inset-block-end:0}:host([vertical]) .slider{-webkit-appearance:slider-vertical;-moz-appearance:slider-vertical;appearance:slider-vertical}:host(:focus){outline:none}.gradient{overflow:hidden}::slotted(*){width:100%;height:100%}@media (forced-colors: active){:host{--highcontrast-color-slider-border-color: CanvasText;--highcontrast-color-slider-border-color-disabled: GrayText;--highcontrast-color-slider-background-color-disabled: Canvas;forced-color-adjust:none}}:host{--luzmo-color-handle-hitarea-border-radius: var( --luzmo-color-slider-handle-hitarea-border-radius, 0px );min-inline-size:var(--luzmo-color-slider-minimum-length, 80px);inline-size:var(--luzmo-color-slider-length, 192px);block-size:var(--luzmo-color-slider-control-track-width, 24px);-webkit-user-select:none;user-select:none;cursor:default;display:block;position:relative}:host([focused]){z-index:2}:host([disabled]){pointer-events:none}:host([disabled]) .gradient{display:none}:host([vertical]){min-block-size:var(--luzmo-color-slider-vertical-minimum-height, var(--luzmo-color-slider-minimum-length, 80px));block-size:var(--luzmo-color-slider-vertical-height, var(--luzmo-color-slider-length, 192px));min-inline-size:0;inline-size:var(--luzmo-color-slider-vertical-control-track-width, var(--luzmo-color-slider-control-track-height, 24px));display:inline-block}:host([vertical]) .handle{inset-inline-start:50%}.handle{inset-block-start:50%;inset-inline-start:0}.checkerboard{--luzmo-color-slider-border-color-local: var( --highcontrast-color-slider-border-color, var(--luzmo-color-slider-border-color, var(--luzmo-border-color)) )}.checkerboard:before{content:"";z-index:1;box-shadow:inset 0 0 0 var(--luzmo-color-slider-border-width, var(--luzmo-border-width)) var(--luzmo-color-slider-border-color-local);border-radius:var(--luzmo-color-slider-border-rounding, var(--luzmo-border-radius-s));position:absolute;top:0;right:0;bottom:0;left:0}:host([disabled]) .checkerboard{--luzmo-color-slider-border-color-local: var( --highcontrast-color-slider-border-color-disabled, var(--luzmo-color-slider-border-color-disabled, var(--luzmo-dimmed-color)) );background:var(--highcontrast-color-slider-background-color-disabled, var(--luzmo-color-slider-background-color-disabled, var(--luzmo-dimmed-color)))}.checkerboard,.gradient{inline-size:100%;block-size:100%;border-radius:var(--luzmo-color-slider-border-rounding, var(--luzmo-border-radius-s))}.gradient:dir(rtl),:host([dir=rtl]) .gradient{transform:scaleX(-1)}.slider{opacity:0;inline-size:100%;block-size:100%;z-index:0;pointer-events:none;margin:0;position:absolute;inset-block-start:0;inset-inline-start:0}';
1555
+ var ge = Object.defineProperty, be = Object.getOwnPropertyDescriptor, y = (r, o, e, t) => {
1556
+ for (var l = t > 1 ? void 0 : t ? be(o, e) : o, i = r.length - 1, a; i >= 0; i--)
1557
+ (a = r[i]) && (l = (t ? a(o, e, l) : a(l)) || l);
1558
+ return t && l && ge(o, e, l), l;
1559
+ };
1560
+ let f = class extends uo {
1561
+ constructor() {
1562
+ super(...arguments), this.disabled = !1, this.focused = !1, this.label = "hue", this.vertical = !1, this.languageResolver = new mo(this), this.colorController = new xo(this, {
1563
+ /* c8 ignore next 3 */
1564
+ applyColorToState: () => {
1565
+ if (this.mode === "opacity") {
1566
+ const o = new h(this.colorController.color);
1567
+ this.sliderHandlePosition = 100 * o.getAlpha();
1568
+ } else
1569
+ this.sliderHandlePosition = 100 * (this.colorController.hue / 360);
1570
+ },
1571
+ extractColorFromState: (o) => this.mode === "opacity" ? {
1572
+ ...o.getColor("hsl"),
1573
+ a: this.value
1574
+ } : {
1575
+ ...o.getColor("hsl"),
1576
+ h: this.value
1577
+ },
1578
+ maintains: "saturation"
1579
+ }), this.sliderHandlePosition = 0, this.step = 1, this.isLTR = !0, this._altered = 0, this._pointerDown = !1;
1580
+ }
1581
+ static get styles() {
1582
+ return [R(pe)];
1583
+ }
1584
+ get value() {
1585
+ return this.mode === "opacity" ? this.colorController.opacity : this.colorController.hue;
1586
+ }
1587
+ set value(o) {
1588
+ this.mode === "opacity" ? this.colorController.opacity = o : this.colorController.hue = o;
1589
+ }
1590
+ get color() {
1591
+ return this.colorController.color;
1592
+ }
1593
+ set color(o) {
1594
+ this.colorController.color = o;
1595
+ }
1596
+ get altered() {
1597
+ return this._altered;
1598
+ }
1599
+ set altered(o) {
1600
+ this._altered = o, this.step = Math.max(1, this.altered * 10);
1601
+ }
1602
+ get focusElement() {
1603
+ return this.input;
1604
+ }
1605
+ handleKeydown(o) {
1606
+ const { key: e } = o;
1607
+ this.focused = !0, this.altered = [o.shiftKey, o.ctrlKey, o.altKey].filter(
1608
+ (i) => !!i
1609
+ ).length;
1610
+ let t = 0;
1611
+ switch (e) {
1612
+ case "ArrowUp": {
1613
+ t = this.step;
1614
+ break;
1615
+ }
1616
+ case "ArrowDown": {
1617
+ t = -this.step;
1618
+ break;
1619
+ }
1620
+ case "ArrowLeft": {
1621
+ t = this.step * (this.isLTR ? -1 : 1);
1622
+ break;
1623
+ }
1624
+ case "ArrowRight": {
1625
+ t = this.step * (this.isLTR ? 1 : -1);
1626
+ break;
1627
+ }
1628
+ default:
1629
+ return;
1630
+ }
1631
+ o.preventDefault();
1632
+ const l = 100 / (this.mode === "opacity" ? 100 : 360);
1633
+ this.sliderHandlePosition = Math.min(
1634
+ 100,
1635
+ Math.max(0, this.sliderHandlePosition + t * l)
1636
+ ), this.value = this.mode === "opacity" ? Math.min(1, Math.max(0, this.value + t / 100)) : Math.min(360, Math.max(0, this.value + t)), this.colorController.applyColorFromState(), t !== 0 && (this.dispatchEvent(
1637
+ new Event("input", {
1638
+ bubbles: !0,
1639
+ composed: !0
1640
+ })
1641
+ ), this.dispatchEvent(
1642
+ new Event("change", {
1643
+ bubbles: !0,
1644
+ composed: !0
1645
+ })
1646
+ ));
1647
+ }
1648
+ handleInput(o) {
1649
+ const { valueAsNumber: e } = o.target;
1650
+ this.value = e, this.sliderHandlePosition = 100 * (this.mode === "opacity" ? this.value : this.value / 360), this.colorController.applyColorFromState();
1651
+ }
1652
+ handleChange(o) {
1653
+ this.handleInput(o), this.dispatchEvent(
1654
+ new Event("change", {
1655
+ bubbles: !0,
1656
+ composed: !0
1657
+ })
1658
+ );
1659
+ }
1660
+ focus(o = {}) {
1661
+ super.focus(o), this.forwardFocus();
1662
+ }
1663
+ forwardFocus() {
1664
+ this.input.focus();
1665
+ }
1666
+ handleFocus() {
1667
+ this.focused = !0;
1668
+ }
1669
+ handleBlur() {
1670
+ this._pointerDown || (this.altered = 0, this.focused = !1);
1671
+ }
1672
+ handlePointerdown(o) {
1673
+ if (o.button !== 0) {
1674
+ o.preventDefault();
1675
+ return;
1676
+ }
1677
+ this._pointerDown = !0, this.colorController.savePreviousColor(), this.boundingClientRect = this.getBoundingClientRect(), o.target.setPointerCapture(o.pointerId), o.pointerType === "mouse" && (this.focused = !0);
1678
+ }
1679
+ handlePointermove(o) {
1680
+ this.sliderHandlePosition = this.calculateHandlePosition(o), this.value = (this.mode === "opacity" ? 1 : 360) * (this.sliderHandlePosition / 100), this.colorController.applyColorFromState(), this.dispatchEvent(
1681
+ new Event("input", {
1682
+ bubbles: !0,
1683
+ composed: !0,
1684
+ cancelable: !0
1685
+ })
1686
+ );
1687
+ }
1688
+ handlePointerup(o) {
1689
+ this._pointerDown = !1, o.target.releasePointerCapture(o.pointerId), this.dispatchEvent(
1690
+ new Event("change", {
1691
+ bubbles: !0,
1692
+ composed: !0,
1693
+ cancelable: !0
1694
+ })
1695
+ ) || this.colorController.restorePreviousColor(), this.focus(), o.pointerType === "mouse" && (this.focused = !1);
1696
+ }
1697
+ /**
1698
+ * Returns the value under the cursor
1699
+ * @param: PointerEvent on slider
1700
+ * @return: Slider value that correlates to the position under the pointer
1701
+ */
1702
+ calculateHandlePosition(o) {
1703
+ if (!this.boundingClientRect)
1704
+ return this.sliderHandlePosition;
1705
+ const e = this.boundingClientRect, t = this.vertical ? e.top : e.left, l = this.vertical ? o.clientY : o.clientX, i = this.vertical ? e.height : e.width, a = Math.max(0, Math.min(1, (l - t) / i));
1706
+ return this.vertical || !this.isLTR ? 100 - 100 * a : 100 * a;
1707
+ }
1708
+ handleGradientPointerdown(o) {
1709
+ o.button === 0 && (o.stopPropagation(), o.preventDefault(), this.handle.dispatchEvent(new PointerEvent("pointerdown", o)), this.handlePointermove(o));
1710
+ }
1711
+ get handlePositionStyles() {
1712
+ return `${this.vertical ? "inset-block-end" : "inset-inline-start"}: ${this.sliderHandlePosition}%`;
1713
+ }
1714
+ get getColorSliderStyle() {
1715
+ const o = this.vertical ? "top" : "right";
1716
+ if (this.mode === "opacity") {
1717
+ const e = new h(this.colorController.color).setAlpha(1).toRgbString();
1718
+ return {
1719
+ background: `linear-gradient(to ${o}, transparent, ${e})`
1720
+ };
1721
+ }
1722
+ return {
1723
+ background: `linear-gradient(to ${o}, var(--luzmo-color-slider-gradient, var(--luzmo-color-slider-gradient-fallback)))`
1724
+ };
1725
+ }
1726
+ render() {
1727
+ return m`
1728
+ <div
1729
+ class="opacity-checkerboard checkerboard"
1730
+ role="presentation"
1731
+ @pointerdown=${this.handleGradientPointerdown}
1732
+ >
1733
+ <div
1734
+ class="gradient"
1735
+ role="presentation"
1736
+ style=${Fo(this.getColorSliderStyle)}
1737
+ >
1738
+ <slot name="gradient"></slot>
1739
+ </div>
1740
+ </div>
1741
+ <luzmo-color-handle
1742
+ tabindex=${U(this.focused ? void 0 : "0")}
1743
+ @focus=${this.forwardFocus}
1744
+ ?focused=${this.focused}
1745
+ class="handle"
1746
+ color=${this.mode === "opacity" ? this.color : "hsl(" + this.value + ", 100%, 50%)"}
1747
+ ?disabled=${this.disabled}
1748
+ style=${this.handlePositionStyles}
1749
+ ${po({
1750
+ start: ["pointerdown", this.handlePointerdown],
1751
+ streamInside: ["pointermove", this.handlePointermove],
1752
+ end: [
1753
+ ["pointerup", "pointercancel", "pointerleave"],
1754
+ this.handlePointerup
1755
+ ]
1756
+ })}
1757
+ ></luzmo-color-handle>
1758
+ <input
1759
+ type="range"
1760
+ class="slider"
1761
+ min="0"
1762
+ max=${this.mode === "opacity" ? "100" : "360"}
1763
+ aria-orientation=${U(this.vertical ? "vertical" : void 0)}
1764
+ orient=${U(this.vertical ? "vertical" : void 0)}
1765
+ step=${this.step}
1766
+ aria-label=${this.label}
1767
+ .value=${String(
1768
+ this.mode === "opacity" ? this.value * 100 : this.value
1769
+ )}
1770
+ aria-valuetext=${`${new Intl.NumberFormat(
1771
+ this.languageResolver.language,
1772
+ {
1773
+ maximumFractionDigits: 0,
1774
+ minimumIntegerDigits: 1,
1775
+ style: "unit",
1776
+ unit: this.mode === "opacity" ? "percent" : "degree",
1777
+ unitDisplay: "narrow"
1778
+ }
1779
+ ).format(this.mode === "opacity" ? this.value * 100 : this.value)}`}
1780
+ @input=${this.handleInput}
1781
+ @change=${this.handleChange}
1782
+ @keydown=${this.handleKeydown}
1783
+ />
1784
+ `;
1785
+ }
1786
+ firstUpdated(o) {
1787
+ super.firstUpdated(o), this.boundingClientRect = this.getBoundingClientRect(), this.addEventListener("focus", this.handleFocus), this.addEventListener("blur", this.handleBlur);
1788
+ }
1789
+ updated(o) {
1790
+ o.has("mode") && (this.handle.style.insetInlineStart = "", this.handle.style.insetBlockEnd = "", this.mode === "opacity" && (this.colorController.color = new h(
1791
+ this.colorController.color
1792
+ ).toRgbString(), this.handle.style.insetInlineStart = 100 * this.colorController.opacity + "%"));
1793
+ }
1794
+ };
1795
+ y([
1796
+ s({ type: String, reflect: !0 })
1797
+ ], f.prototype, "dir", 2);
1798
+ y([
1799
+ s({ type: String, reflect: !0 })
1800
+ ], f.prototype, "mode", 2);
1801
+ y([
1802
+ s({ type: Boolean, reflect: !0 })
1803
+ ], f.prototype, "disabled", 2);
1804
+ y([
1805
+ s({ type: Boolean, reflect: !0 })
1806
+ ], f.prototype, "focused", 2);
1807
+ y([
1808
+ C(".handle")
1809
+ ], f.prototype, "handle", 2);
1810
+ y([
1811
+ s({ type: String })
1812
+ ], f.prototype, "label", 2);
1813
+ y([
1814
+ s({ type: Boolean, reflect: !0 })
1815
+ ], f.prototype, "vertical", 2);
1816
+ y([
1817
+ s({ type: Number })
1818
+ ], f.prototype, "value", 1);
1819
+ y([
1820
+ s({ type: Number, reflect: !0 })
1821
+ ], f.prototype, "sliderHandlePosition", 2);
1822
+ y([
1823
+ s({ type: String })
1824
+ ], f.prototype, "color", 1);
1825
+ y([
1826
+ s({ type: Number })
1827
+ ], f.prototype, "step", 2);
1828
+ y([
1829
+ s({ type: Boolean, attribute: "is-ltr" })
1830
+ ], f.prototype, "isLTR", 2);
1831
+ y([
1832
+ C("input")
1833
+ ], f.prototype, "input", 2);
1834
+ customElements.get("luzmo-color-slider") || customElements.define("luzmo-color-slider", f);
1835
+ /*! * Lucero - The design system for Luzmo.
1836
+ *
1837
+ * Copyright © 2025 Luzmo
1838
+ * All rights reserved.
1839
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
1840
+ * This license allows users with a current active Luzmo account to use Lucero.
1841
+ * This license terminates automatically if a user no longer has an active Luzmo account.
1842
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
1843
+ *
1844
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1845
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1846
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1847
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1848
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1849
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1850
+ * SOFTWARE.
1851
+ * */
1852
+ const ze = () => {
1853
+ if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
1854
+ const r = document.createElement("style");
1855
+ r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
1856
+ }
1857
+ };
1858
+ ze();
1859
+ const fe = '@media (forced-colors: active){:host{--highcontrast-swatch-disabled-icon-color: GrayText;--highcontrast-swatch-focus-indicator-color: ButtonText;--highcontrast-swatch-background-color-selected: Background;--highcontrast-swatch-border-color-selected: Highlight;--highcontrast-swatch-border-color: ButtonText;--highcontrast-swatch-fill-foreground-color: ButtonText}.fill{forced-color-adjust:none}:host([disabled]){--highcontrast-swatch-border-color: GrayText}}:host{box-sizing:border-box;inline-size:var(--luzmo-swatch-size, var(--swatch-size));block-size:var(--luzmo-swatch-size, var(--swatch-size));-webkit-user-select:none;user-select:none;outline:none;justify-content:center;align-items:center;display:flex;position:relative}.disabled-icon{inline-size:var(--luzmo-swatch-disabled-icon-size, var(--swatch-disabled-icon-size));block-size:var(--luzmo-swatch-disabled-icon-size, var(--swatch-disabled-icon-size))}:host,:host:before{border-radius:var(--luzmo-swatch-border-radius, var(--swatch-border-radius))}:host([selected]){background-color:var(--highcontrast-swatch-background-color-selected, var(--luzmo-swatch-inner-border-color-selected, var(--swatch-inner-border-color-selected)))}:host([selected]) .fill:before{box-shadow:none;border-radius:0}:host([selected]):before{opacity:1}:host .is-image .fill:before{background-color:initial}:host([mixed-value]) .fill{background:none;background:var(--picked-color, transparent)}:host([mixed-value]) .mixed-value-icon{color:var(--swatch-dash-icon-color);display:block}:host([nothing]) .fill{background-color:initial;background-color:var(--picked-color, transparent);background-image:none}:host([nothing]) .fill:after{inline-size:var(--luzmo-swatch-slash-thickness, var(--swatch-slash-thickness));content:"";block-size:200%;background:var(--highcontrast-swatch-fill-foreground-color, var(--luzmo-swatch-slash-icon-color, var(--swatch-slash-icon-color)));position:absolute;transform:rotate(-45deg)}:host([nothing][shape=rectangle]) .fill:after{transform:rotate(-25deg)}:host([disabled]) .disabled-icon{display:block}:host:before{content:"";border-width:var(--luzmo-swatch-border-thickness-selected, var(--swatch-border-thickness-selected));border-style:solid;border-color:var(--highcontrast-swatch-border-color-selected, var(--luzmo-swatch-border-color-selected, var(--swatch-border-color-selected)));opacity:0;pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0}:host:after{content:"";inset:calc(var(--luzmo-swatch-focus-indicator-gap, var(--swatch-focus-indicator-gap)) * -2);opacity:0;border-width:var(--luzmo-swatch-focus-indicator-width, var(--swatch-focus-indicator-width));border-style:solid;border-color:var(--highcontrast-swatch-focus-indicator-color, var(--luzmo-swatch-focus-indicator-color, var(--swatch-focus-indicator-color)));border-radius:var(--luzmo-swatch-focus-indicator-border-radius, var(--swatch-focus-indicator-border-radius));transition:opacity var(--luzmo-animation-duration) ease-in-out;position:absolute}:host(:focus-visible):after{opacity:1}.fill{inline-size:100%;block-size:100%;box-sizing:border-box;border-radius:var(--luzmo-swatch-border-radius, var(--swatch-border-radius));justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.fill:before{content:"";z-index:0;box-sizing:border-box;box-shadow:inset 0 0 0 var(--luzmo-swatch-border-thickness, var(--swatch-border-thickness)) var(--highcontrast-swatch-border-color, var(--luzmo-swatch-border-color, var(--swatch-border-color)));border-radius:var(--luzmo-swatch-border-radius, var(--swatch-border-radius));position:absolute;top:0;right:0;bottom:0;left:0}:host([border=none]) .fill:before,.fill:before{background-color:initial;background-color:var(--picked-color, transparent)}:host([border=none]) .fill:before{box-shadow:none}.mixed-value-icon{pointer-events:none;color:#0000;color:var(--picked-color, transparent);display:none}.disabled-icon{z-index:1;pointer-events:none;color:var(--highcontrast-swatch-disabled-icon-color, var(--luzmo-swatch-disabled-icon-color, var(--swatch-disabled-icon-color)));stroke:var(--highcontrast-swatch-disabled-icon-color, var(--luzmo-swatch-disabled-icon-color, var(--swatch-disabled-icon-color)));display:none;position:relative}.disabled-icon path:first-child{fill:var(--highcontrast-swatch-disabled-icon-color, var(--luzmo-swatch-disabled-icon-color, var(--swatch-disabled-icon-color)))}.disabled-icon path:last-child{fill:var(--luzmo-swatch-icon-border-color, var(--swatch-icon-border-color))}:host([shape=rectangle]){inline-size:calc(var(--luzmo-swatch-size, var(--swatch-size)) * 2)}:host([rounding=none]),:host([rounding=none]) .fill,:host([rounding=none]) .fill:before,:host([rounding=none][selected]) .fill,:host([rounding=none][selected]) .fill:before,:host([rounding=none]):after,:host([rounding=none]):before{border-radius:0}:host([rounding=full][selected]:not([shape=rectangle])) .fill,:host([rounding=full][selected]:not([shape=rectangle])) .fill:before,:host([rounding=full]:not([shape=rectangle])),:host([rounding=full]:not([shape=rectangle])) .fill,:host([rounding=full]:not([shape=rectangle])) .fill:before,:host([rounding=full]:not([shape=rectangle])):after,:host([rounding=full]:not([shape=rectangle])):before{border-radius:100%}:host([selected]) .fill{width:calc(var(--luzmo-swatch-size, var(--swatch-size)) - 2 * var(--luzmo-swatch-border-thickness-selected, var(--swatch-border-thickness-selected)) + -2 * var(--luzmo-swatch-focus-indicator-gap, var(--swatch-focus-indicator-gap)));height:calc(var(--luzmo-swatch-size, var(--swatch-size)) - 2 * var(--luzmo-swatch-border-thickness-selected, var(--swatch-border-thickness-selected)) + -2 * var(--luzmo-swatch-focus-indicator-gap, var(--swatch-focus-indicator-gap)))}:host([selected][shape=rectangle]) .fill{width:calc(var(--luzmo-swatch-size, var(--swatch-size)) * 2 - 2 * var(--luzmo-swatch-border-thickness-selected, var(--swatch-border-thickness-selected)) + -2 * var(--luzmo-swatch-focus-indicator-gap, var(--swatch-focus-indicator-gap)))}::slotted([slot=image]){object-fit:contain;inline-size:100%;block-size:100%;transition:width var(--luzmo-animation-duration) ease-in-out,height var(--luzmo-animation-duration) ease-in-out}:host([size=xl]){--swatch-size: var(--luzmo-component-height-xl);--swatch-disabled-icon-size: 24px;--swatch-slash-thickness: 6px}:host([size=l]){--swatch-size: var(--luzmo-component-height-l);--swatch-disabled-icon-size: 20px;--swatch-slash-thickness: 5px}:host([size=s]){--swatch-size: var(--luzmo-component-height-s);--swatch-disabled-icon-size: 16px;--swatch-slash-thickness: 3px}:host([size=xs]){--swatch-size: var(--luzmo-component-height-xs);--swatch-disabled-icon-size: 16px;--swatch-slash-thickness: 2px}:host([size=xxs]){--swatch-size: var(--luzmo-component-height-xxs);--swatch-disabled-icon-size: 14px;--swatch-slash-thickness: 2px}:host{--swatch-size: var(--luzmo-component-height);--swatch-disabled-icon-size: 18px;--swatch-slash-thickness: 4px}:host{--swatch-border-radius: var(--luzmo-border-radius-s);--swatch-focus-indicator-border-radius: var(--luzmo-border-radius-s);--swatch-border-thickness: var(--luzmo-border-width);--swatch-border-thickness-selected: var(--luzmo-border-width);--swatch-focus-indicator-width: var(--luzmo-indicator-width);--swatch-focus-indicator-gap: var(--luzmo-indicator-gap);--swatch-border-color: var(--luzmo-border-color-down);--swatch-icon-border-color: var(--luzmo-border-color);--swatch-border-color-selected: var(--luzmo-border-color-full-down);--swatch-inner-border-color-selected: var(--luzmo-background-color);--swatch-disabled-icon-color: rgb(255, 255, 255);--swatch-dash-icon-color: var(--luzmo-font-color);--swatch-slash-icon-color: var(--luzmo-color-negative);--swatch-focus-indicator-color: var(--luzmo-primary)}.fill:before{background:var(--picked-color, transparent)}:host([border=none]) .fill:before{background:var(--picked-color, transparent)}:host .is-image .fill:before{background:#0000}:host .opacity-checkerboard{background:repeating-conic-gradient(var(--luzmo-swatch-checkerboard-light, rgb(255, 255, 255)) 0 25%,var(--luzmo-swatch-checkerboard-dark, rgb(230, 230, 230)) 0 50%) var(--luzmo-swatch-checkerboard-position, left top)/calc(var(--luzmo-swatch-checkerboard-size, 8px) * 2) calc(var(--luzmo-swatch-checkerboard-size, 8px) * 2)}';
1860
+ var ve = Object.defineProperty, xe = Object.getOwnPropertyDescriptor, E = (r, o, e, t) => {
1861
+ for (var l = t > 1 ? void 0 : t ? xe(o, e) : o, i = r.length - 1, a; i >= 0; i--)
1862
+ (a = r[i]) && (l = (t ? a(o, e, l) : a(l)) || l);
1863
+ return t && l && ve(o, e, l), l;
1864
+ };
1865
+ let $ = class extends X(uo, {
1866
+ validSizes: ["xxs", "xs", "s", "m", "l", "xl"],
1867
+ noDefaultSize: !0
1868
+ }) {
1869
+ constructor() {
1870
+ super(...arguments), this.color = "", this.label = "", this.mixedValue = !1, this.nothing = !1, this.role = "button", this.selected = !1, this.readonly = !1, this.renderDisabled = () => m`
1871
+ <svg
1872
+ xmlns="http://www.w3.org/2000/svg"
1873
+ class="disabled-icon"
1874
+ viewBox="0 0 20 20"
1875
+ >
1876
+ <path
1877
+ d="M9.889,1a8.889,8.889,0,1,0,8.889,8.889A8.889,8.889,0,0,0,9.889,1Zm6.667,8.889a6.635,6.635,0,0,1-1.233,3.863l-9.3-9.3A6.667,6.667,0,0,1,16.556,9.889Zm-13.333,0A6.636,6.636,0,0,1,4.455,6.026l9.3,9.3A6.667,6.667,0,0,1,3.222,9.889Z"
1878
+ stroke="none"
1879
+ fill="var(--swatch-disabled-icon-color)"
1880
+ />
1881
+ <path
1882
+ d="M 9.888889312744141 1 C 4.979689598083496 1 1 4.979689598083496 1 9.888889312744141 C 1 14.7980899810791 4.979689598083496 18.77777862548828 9.888889312744141 18.77777862548828 C 14.7980899810791 18.77777862548828 18.77777862548828 14.7980899810791 18.77777862548828 9.888889312744141 C 18.77777862548828 4.979689598083496 14.7980899810791 1 9.888889312744141 1 M 15.32277870178223 13.75166893005371 L 6.02610969543457 4.454998970031738 C 8.059318542480469 3.009572982788086 10.72937774658203 2.820217132568359 12.9462194442749 3.964249610900879 C 15.16304969787598 5.10828971862793 16.55568885803223 7.394259452819824 16.5555591583252 9.888889312744141 C 16.55776977539062 11.27357959747314 16.126708984375 12.62425994873047 15.32277870178223 13.75166893005371 M 9.888258934020996 16.55648612976074 C 8.843273162841797 16.55648612976074 7.794573783874512 16.31111145019531 6.831318855285645 15.8139591217041 C 4.614439010620117 14.66977882385254 3.221879959106445 12.38361930847168 3.222219467163086 9.888889312744141 C 3.220088958740234 8.504219055175781 3.651140213012695 7.153559684753418 4.454998970031738 6.02610969543457 L 13.75166893005371 15.32333946228027 C 12.60186290740967 16.14075088500977 11.24825286865234 16.55648612976074 9.888258934020996 16.55648612976074 M 9.888889312744141 0 C 15.34163951873779 0 19.77777862548828 4.436139106750488 19.77777862548828 9.888889312744141 C 19.77777862548828 15.34163951873779 15.34163951873779 19.77777862548828 9.888889312744141 19.77777862548828 C 4.436139106750488 19.77777862548828 0 15.34163951873779 0 9.888889312744141 C 0 4.436139106750488 4.436139106750488 0 9.888889312744141 0 Z M 15.10232830047607 12.11699867248535 C 15.40205764770508 11.41858959197998 15.55679702758789 10.66494941711426 15.5555591583252 9.89048957824707 C 15.5556697845459 7.759209632873535 14.38009929656982 5.829549789428711 12.48761940002441 4.852889060974121 C 11.68764972686768 4.440059661865234 10.78924942016602 4.22184944152832 9.889529228210449 4.22184944152832 C 9.114802360534668 4.22184944152832 8.360831260681152 4.377038955688477 7.661839485168457 4.676509857177734 L 15.10232830047607 12.11699867248535 Z M 12.11597919464111 15.10181331634521 L 4.675475120544434 7.660861015319824 C 4.375750541687012 8.359296798706055 4.221027374267578 9.112875938415527 4.222219467163086 9.887349128723145 C 4.221929550170898 12.01874923706055 5.397418975830078 13.94855880737305 7.289958953857422 14.92533874511719 C 8.08997917175293 15.3382396697998 8.988459587097168 15.55648994445801 9.888258934020996 15.55648994445801 C 10.66298007965088 15.55648994445801 11.41698551177979 15.40128421783447 12.11597919464111 15.10181331634521 Z"
1883
+ stroke="none"
1884
+ fill="var(--swatch-disabled-icon-stroke-color)"
1885
+ />
1886
+ </svg>
1887
+ `, this.renderMixedValue = () => J(_o);
1888
+ }
1889
+ static get styles() {
1890
+ return [R(fe)];
1891
+ }
1892
+ get value() {
1893
+ return this._value || this.color || this.label;
1894
+ }
1895
+ set value(o) {
1896
+ if (o === this._value)
1897
+ return;
1898
+ const e = this.value;
1899
+ this._value = o, this.requestUpdate("value", e);
1900
+ }
1901
+ get focusElement() {
1902
+ return this;
1903
+ }
1904
+ toggle(o) {
1905
+ this.readonly || (this.selected = o ?? !this.selected);
1906
+ }
1907
+ handleClick() {
1908
+ this.disabled || this.mixedValue || (this.toggle(), this.dispatchEvent(
1909
+ new Event("change", {
1910
+ cancelable: !0,
1911
+ bubbles: !0
1912
+ })
1913
+ ) || this.toggle());
1914
+ }
1915
+ handleKeydown(o) {
1916
+ const { code: e } = o;
1917
+ switch (e) {
1918
+ case "Space": {
1919
+ o.preventDefault(), this.addEventListener("keyup", this.handleKeyup);
1920
+ break;
1921
+ }
1922
+ }
1923
+ }
1924
+ handleKeypress(o) {
1925
+ const { code: e } = o;
1926
+ switch (e) {
1927
+ case "Enter":
1928
+ case "NumpadEnter": {
1929
+ this.click();
1930
+ break;
1931
+ }
1932
+ }
1933
+ }
1934
+ handleKeyup(o) {
1935
+ const { code: e } = o;
1936
+ switch (e) {
1937
+ case "Space": {
1938
+ this.removeEventListener("keyup", this.handleKeyup), this.click();
1939
+ break;
1940
+ }
1941
+ }
1942
+ }
1943
+ render() {
1944
+ return m`
1945
+ <div
1946
+ class="opacity-checkerboard fill"
1947
+ style=${U(
1948
+ this.color ? `--picked-color: ${this.color}` : void 0
1949
+ )}
1950
+ >
1951
+ <slot name="image"></slot>
1952
+ ${eo(this.disabled, this.renderDisabled)}
1953
+ ${eo(this.mixedValue, this.renderMixedValue)}
1954
+ </div>
1955
+ `;
1956
+ }
1957
+ willUpdate(o) {
1958
+ var e;
1959
+ if (this.getAttribute("role") || this.setAttribute("role", "button"), (o.has("selected") || o.has("role")) && !this.readonly) {
1960
+ const t = this.role === "button" ? "aria-pressed" : "aria-checked", l = this.role === "button" ? "aria-checked" : "aria-pressed";
1961
+ o.has("role") && this.removeAttribute(l), this.setAttribute(t, this.selected ? "true" : "false");
1962
+ }
1963
+ (o.has("label") || o.has("color") || o.has("mixedValue")) && (this.label !== this.color && (e = this.label) != null && e.length ? this.setAttribute("aria-label", this.label) : this.color ? this.setAttribute("aria-label", this.color) : this.mixedValue ? this.setAttribute("aria-label", "Mixed") : this.removeAttribute("aria-label"));
1964
+ }
1965
+ firstUpdated(o) {
1966
+ super.firstUpdated(o), this.addEventListener("click", this.handleClick), this.addEventListener("keydown", this.handleKeydown), this.addEventListener("keypress", this.handleKeypress), this.hasAttribute("tabindex") || this.setAttribute("tabindex", "0");
1967
+ }
1968
+ };
1969
+ E([
1970
+ s({ reflect: !0 })
1971
+ ], $.prototype, "border", 2);
1972
+ E([
1973
+ s()
1974
+ ], $.prototype, "color", 2);
1975
+ E([
1976
+ s()
1977
+ ], $.prototype, "label", 2);
1978
+ E([
1979
+ s({ type: Boolean, reflect: !0, attribute: "mixed-value" })
1980
+ ], $.prototype, "mixedValue", 2);
1981
+ E([
1982
+ s({ type: Boolean, reflect: !0 })
1983
+ ], $.prototype, "nothing", 2);
1984
+ E([
1985
+ s({ reflect: !0 })
1986
+ ], $.prototype, "role", 2);
1987
+ E([
1988
+ s({ reflect: !0 })
1989
+ ], $.prototype, "rounding", 2);
1990
+ E([
1991
+ s({ type: Boolean, reflect: !0 })
1992
+ ], $.prototype, "selected", 2);
1993
+ E([
1994
+ s({ type: Boolean, reflect: !0 })
1995
+ ], $.prototype, "readonly", 2);
1996
+ E([
1997
+ s({ reflect: !0 })
1998
+ ], $.prototype, "shape", 2);
1999
+ E([
2000
+ s()
2001
+ ], $.prototype, "value", 1);
2002
+ const ye = ":host{justify-content:flex-start;align-items:flex-start;gap:var(--luzmo-swatch-group-spacing-regular, var(--swatch-group-spacing-regular));flex-flow:wrap;display:inline-flex}:host([density=compact]){gap:var(--luzmo-swatch-group-spacing-compact, var(--swatch-group-spacing-compact))}:host([density=spacious]){gap:var(--luzmo-swatch-group-spacing-spacious, var(--swatch-group-spacing-spacious))}:host{--swatch-group-spacing-compact: 2px;--swatch-group-spacing-regular: 4px;--swatch-group-spacing-spacious: 8px}";
2003
+ var we = Object.defineProperty, ke = Object.getOwnPropertyDescriptor, I = (r, o, e, t) => {
2004
+ for (var l = t > 1 ? void 0 : t ? ke(o, e) : o, i = r.length - 1, a; i >= 0; i--)
2005
+ (a = r[i]) && (l = (t ? a(o, e, l) : a(l)) || l);
2006
+ return t && l && we(o, e, l), l;
2007
+ };
2008
+ class T extends X(O, {
2009
+ validSizes: ["xs", "s", "m", "l"],
2010
+ noDefaultSize: !0
2011
+ }) {
2012
+ constructor() {
2013
+ super(), this._selected = [], this.selectedSet = /* @__PURE__ */ new Set(), this.rovingTabindexController = new Uo(this, {
2014
+ focusInIndex: (o) => {
2015
+ let e = -1;
2016
+ const t = o.findIndex((l, i) => (!o[e] && !l.disabled && (e = i), l.selected && !l.disabled));
2017
+ return o[t] ? t : e;
2018
+ },
2019
+ elements: () => this.swatches,
2020
+ isFocusableElement: (o) => !o.disabled
2021
+ }), this.manageChange = async () => {
2022
+ const o = /* @__PURE__ */ new Set();
2023
+ this.selectedSet = new Set(this.selected), await Promise.all(this.swatches.map((e) => e.updateComplete)), this.swatches.forEach((e) => {
2024
+ o.add(e.value), e.selected && this.selectedSet.add(e.value);
2025
+ }), this.selectedSet.forEach((e) => {
2026
+ o.has(e) || this.selectedSet.delete(e);
2027
+ }), this._selected = [...this.selectedSet], this.rovingTabindexController.clearElementCache();
2028
+ }, new No(this, {
2029
+ config: {
2030
+ attributes: !0,
2031
+ childList: !0,
2032
+ subtree: !0
2033
+ },
2034
+ callback: () => {
2035
+ this.manageChange();
2036
+ }
2037
+ });
2038
+ }
2039
+ static get styles() {
2040
+ return [R(ye)];
2041
+ }
2042
+ get selected() {
2043
+ return this._selected;
2044
+ }
2045
+ set selected(o) {
2046
+ if (o === this.selected)
2047
+ return;
2048
+ const e = this.selected;
2049
+ this._selected = o, this.requestUpdate("selected", e);
2050
+ }
2051
+ focus(o) {
2052
+ this.rovingTabindexController.focus(o);
2053
+ }
2054
+ handleChange(o) {
2055
+ o.stopPropagation();
2056
+ const e = this.selected;
2057
+ if (!this.selects) {
2058
+ o.preventDefault();
2059
+ return;
2060
+ }
2061
+ if (this.selects === "single") {
2062
+ const { target: t } = o;
2063
+ if (t.tabIndex = 0, t.selected = !0, this.selectedSet.has(t.value))
2064
+ return;
2065
+ this.selectedSet.clear(), this.selectedSet.add(t.value), this.rovingTabindexController.elements.forEach((l) => {
2066
+ l !== t && (l.selected = !1);
2067
+ });
2068
+ } else if (this.selects === "multiple") {
2069
+ const { target: t } = o;
2070
+ t.selected ? this.selectedSet.add(t.value) : this.selectedSet.delete(t.value);
2071
+ }
2072
+ this._selected = [...this.selectedSet], this.dispatchEvent(
2073
+ new Event("change", {
2074
+ cancelable: !0,
2075
+ bubbles: !0
2076
+ })
2077
+ ) || (this._selected = e, o.preventDefault());
2078
+ }
2079
+ getPassthroughSwatchActions(o) {
2080
+ const e = {};
2081
+ o.has("selects") && (this.selects || o.get("selects") !== void 0) && (e.selects = this.selects), o.has("border") && (this.border || o.get("border") !== void 0) && (e.border = this.border), o.has("rounding") && (this.rounding || o.get("rounding") !== void 0) && (e.rounding = this.rounding), o.has("size") && (this.size !== "m" || o.get("size") !== void 0) && (e.size = this.size), o.has("shape") && (this.shape || o.get("shape") !== void 0) && (e.shape = this.shape);
2082
+ const t = [];
2083
+ return Object.keys(e).length > 0 && t.push((l) => {
2084
+ "border" in e && (l.border = e.border), "rounding" in e && (l.rounding = e.rounding), "shape" in e && (l.shape = e.shape), "size" in e && (l.size = e.size);
2085
+ }), t;
2086
+ }
2087
+ getSelectionSwatchActions(o) {
2088
+ const e = [];
2089
+ if (!o.has("selects"))
2090
+ return e;
2091
+ this.selects ? this.setAttribute(
2092
+ "role",
2093
+ this.selects === "single" ? "radiogroup" : "group"
2094
+ ) : this.removeAttribute("role");
2095
+ const t = {
2096
+ single: "radio",
2097
+ multiple: "checkbox"
2098
+ }, l = this.selects ? t[this.selects] : "button";
2099
+ return e.push((i) => {
2100
+ i.setAttribute("role", l);
2101
+ }), e;
2102
+ }
2103
+ render() {
2104
+ return m`
2105
+ <slot
2106
+ @change=${this.handleChange}
2107
+ @slotchange=${this.manageChange}
2108
+ ></slot>
2109
+ `;
2110
+ }
2111
+ willUpdate(o) {
2112
+ const e = [
2113
+ ...this.getPassthroughSwatchActions(o),
2114
+ ...this.getSelectionSwatchActions(o)
2115
+ ];
2116
+ let t = new Set(this.selected);
2117
+ const l = /* @__PURE__ */ new Set();
2118
+ o.has("selected") && e.push((a) => {
2119
+ l.add(a.value), a.selected = !!(t.has(a.value) || !this.hasUpdated && a.selected);
2120
+ });
2121
+ const i = () => {
2122
+ t = new Set(this.selected), this.swatches.forEach((a) => {
2123
+ e.forEach((n) => {
2124
+ n(a);
2125
+ });
2126
+ }), o.has("selected") && (this._selected = [...t.values()].filter(
2127
+ (a) => l.has(a)
2128
+ ));
2129
+ };
2130
+ this.hasUpdated ? i() : this.renderRoot.addEventListener(
2131
+ "slotchange",
2132
+ () => {
2133
+ requestAnimationFrame(i);
2134
+ },
2135
+ { once: !0 }
2136
+ );
2137
+ }
2138
+ }
2139
+ I([
2140
+ s({ reflect: !0 })
2141
+ ], T.prototype, "border", 2);
2142
+ I([
2143
+ s({ reflect: !0 })
2144
+ ], T.prototype, "density", 2);
2145
+ I([
2146
+ s({ reflect: !0 })
2147
+ ], T.prototype, "rounding", 2);
2148
+ I([
2149
+ s({ type: Array })
2150
+ ], T.prototype, "selected", 1);
2151
+ I([
2152
+ s()
2153
+ ], T.prototype, "selects", 2);
2154
+ I([
2155
+ s({ reflect: !0 })
2156
+ ], T.prototype, "shape", 2);
2157
+ I([
2158
+ To({ flatten: !0 })
2159
+ ], T.prototype, "swatches", 2);
2160
+ customElements.get("luzmo-swatch") || customElements.define("luzmo-swatch", $);
2161
+ customElements.get("luzmo-swatch-group") || customElements.define("luzmo-swatch-group", T);
2162
+ /*! * Lucero - The design system for Luzmo.
2163
+ *
2164
+ * Copyright © 2025 Luzmo
2165
+ * All rights reserved.
2166
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
2167
+ * This license allows users with a current active Luzmo account to use Lucero.
2168
+ * This license terminates automatically if a user no longer has an active Luzmo account.
2169
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
2170
+ *
2171
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2172
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2173
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2174
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2175
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2176
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2177
+ * SOFTWARE.
2178
+ * */
2179
+ const Ce = () => {
2180
+ if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
2181
+ const r = document.createElement("style");
2182
+ r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
2183
+ }
2184
+ };
2185
+ Ce();
2186
+ const $e = '@charset "UTF-8";:host{width:var(--luzmo-color-menu-width, var(--color-menu-width))}.hue-opacity-text-swatches-container{display:flex;gap:var(--luzmo-color-menu-color-controls-vertical-gap, var(--color-menu-color-controls-vertical-gap));flex-direction:column;padding:var(--luzmo-color-menu-hue-opacity-text-swatches-vertical-padding, var(--color-menu-hue-opacity-text-swatches-vertical-padding)) var(--luzmo-color-menu-hue-opacity-text-swatches-horizontal-padding, var(--color-menu-hue-opacity-text-swatches-horizontal-padding))}.swatch-sliders-container{display:flex;gap:var(--luzmo-color-menu-swatch-to-sliders-space, var(--color-menu-swatch-to-sliders-space))}.swatch-example-container{display:flex;align-items:center}.field-container{display:flex;align-items:center;gap:var(--luzmo-color-menu-format-field-to-format-space, var(--color-menu-format-field-to-format-space))}.format-container{text-transform:uppercase;position:relative;background:none;border:none;outline:none;height:var(--luzmo-color-menu-format-height, var(--color-menu-format-height));cursor:pointer;font-size:var(--luzmo-color-menu-format-font-size, var(--color-menu-format-font-size));display:flex;align-items:center;color:var(--luzmo-color-menu-format-font-color, var(--color-menu-format-font-color));gap:var(--luzmo-color-menu-format-name-to-icon, var(--color-menu-format-name-to-icon-space));padding:0 var(--luzmo-color-menu-format-horizontal-padding, var(--color-menu-format-horizontal-padding))}.format-container:hover{color:var(--luzmo-color-menu-format-font-color-hover, var(--color-menu-format-font-color-hover))}.format-container:focus-visible{outline:none}.format-container:focus-visible:after{content:"";width:100%;height:100%;position:absolute;box-sizing:border-box;left:0;top:0;border:var(--luzmo-color-menu-format-indicator-width, var(--luzmo-indicator-width)) solid var(--luzmo-color-menu-format-indicator-color, var(--luzmo-indicator-color));border-radius:var(--luzmo-color-menu-format-label-indicator-border-radius, var(--luzmo-border-radius-s))}.format-container:focus-visible,.format-container:active{color:var(--luzmo-color-menu-format-font-color-down, var(--color-menu-format-font-color-down))}.format-container .format-label{-webkit-user-select:none;user-select:none}.format-container .angle-icon{display:flex;align-items:center;height:calc(var(--color-menu-format-font-size) / 1.5)}.slider-container{display:flex;flex-direction:column;justify-content:center;gap:var(--luzmo-color-menu-slider-gap, var(--color-menu-slider-gap))}luzmo-color-area{width:100%;height:var(--luzmo-color-menu-height, var(--color-menu-height))}luzmo-color-slider{width:100%}luzmo-divider{margin:var(--luzmo-spacing-5) à}.swatches-container{display:grid;grid-template-columns:repeat(6,1fr);gap:var(--luzmo-color-menu-swatches-gap, var(--color-menu-swatches-gap))}.swatches-container luzmo-swatch{cursor:pointer}.swatches-container .swatch-choice{display:flex;align-items:center;justify-content:center}:host{--luzmo-text-field-icon-size-valid: 0px;--luzmo-text-field-icon-spacing-inline-end-valid: 1px;--luzmo-text-field-text-align: center}:host{--color-menu-width: 290px;--luzmo-text-field-width: 220px;--luzmo-color-slider-control-track-width: 8px;--color-menu-height: 140px;--color-menu-hue-opacity-text-swatches-horizontal-padding: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--color-menu-hue-opacity-text-swatches-vertical-padding: var( --luzmo-spacing-5 );--color-menu-color-controls-vertical-gap: var(--luzmo-spacing-5);--color-menu-swatch-to-sliders-space: var(--luzmo-spacing-5);--color-menu-slider-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--color-menu-format-height: var(--luzmo-component-height);--color-menu-format-font-size: var(--luzmo-font-size-s);--color-menu-format-name-to-icon-space: var(--luzmo-spacing-2);--color-menu-format-field-to-format-space: var(--luzmo-spacing-2);--color-menu-format-horizontal-padding: var(--luzmo-spacing-3);--color-menu-format-font-color: var(--luzmo-font-color);--color-menu-format-font-color-hover: var(--luzmo-font-color-hover);--color-menu-format-font-color-down: var(--luzmo-font-color-down);--color-menu-swatches-gap: var(--luzmo-spacing-4)}:host .swatches-container{--luzmo-swatch-size: 22px}:host([size=s]){--color-menu-width: 260px;--luzmo-text-field-width: 200px;--luzmo-color-slider-control-track-width: 8px;--color-menu-hue-opacity-text-swatches-horizontal-padding: var( --luzmo-spacing-5 );--color-menu-hue-opacity-text-swatches-vertical-padding: var( --luzmo-spacing-4 );--color-menu-color-controls-vertical-gap: var(--luzmo-spacing-4);--color-menu-swatch-to-sliders-space: var(--luzmo-spacing-4);--color-menu-slider-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--color-menu-format-height: var(--luzmo-component-height-s);--color-menu-format-font-size: var(--luzmo-font-size-xs);--color-menu-format-name-to-icon-space: var(--luzmo-spacing-2);--color-menu-format-field-to-format-space: var(--luzmo-spacing-2);--color-menu-format-horizontal-padding: var(--luzmo-spacing-2);--color-menu-swatches-gap: var(--luzmo-spacing-3)}:host([size=s]) .swatches-container{--luzmo-swatch-size: 20px}:host([size=l]){--color-menu-width: 350px;--luzmo-text-field-width: 240px;--luzmo-color-slider-control-track-width: 16px;--color-menu-hue-opacity-text-swatches-horizontal-padding: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-2) );--color-menu-hue-opacity-text-swatches-vertical-padding: var( --luzmo-spacing-5 );--color-menu-color-controls-vertical-gap: var(--luzmo-spacing-5);--color-menu-swatch-to-sliders-space: var(--luzmo-spacing-5);--color-menu-slider-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-2) );--color-menu-format-height: var(--luzmo-component-height-l);--color-menu-format-font-size: var(--luzmo-font-size);--color-menu-format-name-to-icon-space: var(--luzmo-spacing-3);--color-menu-format-field-to-format-space: var(--luzmo-spacing-2);--color-menu-format-horizontal-padding: var(--luzmo-spacing-4);--color-menu-swatches-gap: var(--luzmo-spacing-4)}:host([size=l]) .swatches-container{--luzmo-swatch-size: 24px}:host([size=l]) .swatch-example-container{--luzmo-swatch-size: 56px}:host([size=xl]){--color-menu-width: 380px;--luzmo-text-field-width: 280px;--luzmo-color-slider-control-track-width: 16px;--color-menu-hue-opacity-text-swatches-horizontal-padding: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-2) );--color-menu-hue-opacity-text-swatches-vertical-padding: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--color-menu-color-controls-vertical-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--color-menu-swatch-to-sliders-space: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--color-menu-slider-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--color-menu-format-height: var(--luzmo-component-height-xl);--color-menu-format-font-size: var(--luzmo-font-size-l);--color-menu-format-name-to-icon-space: var(--luzmo-spacing-3);--color-menu-format-field-to-format-space: var(--luzmo-spacing-3);--color-menu-format-horizontal-padding: var(--luzmo-spacing-4);--color-menu-swatches-gap: var(--luzmo-spacing-4)}:host([size=xl]) .swatches-container{--luzmo-swatch-size: 26px}:host([size=xl]) .swatch-example-container{--luzmo-swatch-size: 64px}';
2187
+ var Se = Object.defineProperty, M = (r, o, e, t) => {
2188
+ for (var l = void 0, i = r.length - 1, a; i >= 0; i--)
2189
+ (a = r[i]) && (l = a(o, e, l) || l);
2190
+ return l && Se(o, e, l), l;
2191
+ };
2192
+ const wo = class extends X(O) {
2193
+ constructor() {
2194
+ super(...arguments), this.color = "rgb(255, 0, 0)", this.noAlphaChannel = !1, this._alpha = 1, this._rgbColor = "rgb(255, 0, 0)", this._rgbaColor = "rgb(255, 0, 0, 1)", this._previousColor = "rgb(255, 0, 0)";
2195
+ }
2196
+ setColor(o) {
2197
+ var e;
2198
+ const t = new h((e = o == null ? void 0 : o.target) == null ? void 0 : e.color);
2199
+ this._format = t.format === "name" ? "rgb" : t.format, this._rgbaColor = t.toRgbString(), this._alpha = this.noAlphaChannel ? 1 : t.getAlpha(), this._rgbColor = t.setAlpha(1).toRgbString(), this.hueSliderElement.color = this._rgbColor, this.areaElement.color = this._rgbColor, this.noAlphaChannel || (this.opacitySliderElement.color = this._rgbaColor), this.swatchElement.color = this._rgbaColor, this.colorFieldElement.value = this.formatTextField(t), this._previousColor = this._rgbaColor, this.color = this._rgbaColor, this.dispatchEvent(new CustomEvent("change", { detail: this.color }));
2200
+ }
2201
+ handleAreaChange(o) {
2202
+ o.stopPropagation(), o.preventDefault(), this._rgbColor = this.areaElement.color;
2203
+ const e = new h(this._rgbColor);
2204
+ this._rgbaColor = e.setAlpha(this._alpha).toRgbString(), this.colorFieldElement.value = this._rgbaColor, this.noAlphaChannel || (this.opacitySliderElement.color = this._rgbaColor), this.colorFieldElement.value = this.formatTextField(e), this.swatchElement.color = this._rgbaColor, this._previousColor = this._rgbaColor, this.color = this._rgbaColor, this.dispatchEvent(new CustomEvent("change", { detail: this.color }));
2205
+ }
2206
+ handleHueSliderChange(o) {
2207
+ o.stopPropagation(), o.preventDefault();
2208
+ const e = new h(this._rgbColor).toHsl();
2209
+ e.h = this.hueSliderElement.value;
2210
+ const t = new h(e);
2211
+ this._rgbColor = t.toRgbString(), this._rgbaColor = t.setAlpha(this._alpha).toRgbString(), this.areaElement.color = this._rgbColor, this.noAlphaChannel || (this.opacitySliderElement.color = this._rgbaColor), this.colorFieldElement.value = this.formatTextField(t), this.swatchElement.color = this._rgbaColor, this._previousColor = this._rgbaColor, this.color = this._rgbaColor, this.dispatchEvent(new CustomEvent("change", { detail: this.color }));
2212
+ }
2213
+ handleOpacitySliderChange(o) {
2214
+ o.stopPropagation(), o.preventDefault(), this._alpha = this.opacitySliderElement.sliderHandlePosition / 100;
2215
+ const e = new h(this._rgbColor).setAlpha(this._alpha);
2216
+ this._rgbaColor = e.toRgbString(), this.colorFieldElement.value = this.formatTextField(e), this.swatchElement.color = this._rgbaColor, this._previousColor = this._rgbaColor, this.color = this._rgbaColor, this.dispatchEvent(new CustomEvent("change", { detail: this.color }));
2217
+ }
2218
+ handleFieldChange(o) {
2219
+ if (o.stopPropagation(), o.preventDefault(), this.colorFieldElement.checkValidity()) {
2220
+ const e = new h(this.colorFieldElement.value);
2221
+ this._format = e.format, this._rgbaColor = e.toRgbString(), this._alpha = e.getAlpha(), this._rgbColor = e.setAlpha(1).toRgbString(), this.noAlphaChannel && (this._rgbaColor = this._rgbColor, this._alpha = 1), this.hueSliderElement.color = this._rgbColor, this.areaElement.color = this._rgbColor, this.noAlphaChannel || (this.opacitySliderElement.color = this._rgbaColor), this.swatchElement.color = this._rgbaColor, this._previousColor = this._rgbaColor, this.color = this._rgbaColor, this.dispatchEvent(new CustomEvent("change", { detail: this.color }));
2222
+ }
2223
+ }
2224
+ formatTextField(o) {
2225
+ return this._format === "hsl" ? o.toHslString() : this._format === "hex" ? this.noAlphaChannel ? o.toHexString() : o.toHex8String() : (this._format === "name" && (this._format = "rgb"), o.toRgbString());
2226
+ }
2227
+ cycleFormat() {
2228
+ const o = ["rgb", "hsl", "hex"];
2229
+ this._format = o[(o.indexOf(this._format) + 1) % o.length];
2230
+ const e = new h(this.color), t = this.formatTextField(e);
2231
+ this.colorFieldElement.value = t;
2232
+ }
2233
+ updated(o) {
2234
+ if (o.has("color") && this.color !== this._previousColor) {
2235
+ this._previousColor = this.color;
2236
+ const e = new h(this.color);
2237
+ this._alpha = e.getAlpha(), this._rgbColor = e.setAlpha(1).toRgbString(), this._rgbaColor = e.setAlpha(this._alpha).toRgbString(), this.areaElement.color = this._rgbColor, this.hueSliderElement.color = this._rgbColor, this.colorFieldElement.value = this._rgbaColor, this.noAlphaChannel || (this.opacitySliderElement.color = this._rgbaColor), this.swatchElement.color = this._rgbaColor, this._format = "rgb";
2238
+ }
2239
+ o.has("noAlphaChannel") && !this.noAlphaChannel && (this.opacitySliderElement.color = this._rgbaColor);
2240
+ }
2241
+ renderOpacitySlider() {
2242
+ return m`
2243
+ <luzmo-color-slider
2244
+ id="luzmo-opacity-slider"
2245
+ mode="opacity"
2246
+ @input=${this.handleOpacitySliderChange}
2247
+ >
2248
+ </luzmo-color-slider>
2249
+ `;
2250
+ }
2251
+ render() {
2252
+ var o;
2253
+ return m`
2254
+ <div>
2255
+ <luzmo-color-area
2256
+ .size=${this.size}
2257
+ @input=${this.handleAreaChange}
2258
+ ></luzmo-color-area>
2259
+ <div class="hue-opacity-text-swatches-container">
2260
+ <div class="swatch-sliders-container">
2261
+ <div class="swatch-example-container">
2262
+ <luzmo-swatch
2263
+ rounding="full"
2264
+ .size=${this.noAlphaChannel && ["s", "m"].includes(this.size) ? "s" : "l"}
2265
+ readonly
2266
+ ></luzmo-swatch>
2267
+ </div>
2268
+ <div class="slider-container" style="flex-grow: 1;">
2269
+ <luzmo-color-slider
2270
+ id="luzmo-hue-slider"
2271
+ @input=${this.handleHueSliderChange}
2272
+ >
2273
+ </luzmo-color-slider>
2274
+ ${this.noAlphaChannel ? "" : this.renderOpacitySlider()}
2275
+ </div>
2276
+ </div>
2277
+ <div class="field-container">
2278
+ <luzmo-color-field
2279
+ .size=${this.size}
2280
+ @input=${this.handleFieldChange}
2281
+ >
2282
+ </luzmo-color-field>
2283
+ <button
2284
+ class="format-container"
2285
+ aria-label="Color format"
2286
+ @click=${this.cycleFormat}
2287
+ tabindex="0"
2288
+ >
2289
+ <div class="format-label">${this._format}</div>
2290
+ <div class="change-format-icon">
2291
+ <div class="angle-icon">${J(Ao)}</div>
2292
+ <div class="angle-icon">${J(Mo)}</div>
2293
+ </div>
2294
+ </button>
2295
+ </div>
2296
+ ${((o = this.swatches) == null ? void 0 : o.length) > 0 ? m`
2297
+ <luzmo-divider></luzmo-divider>
2298
+ <div class="swatches-container">
2299
+ ${this.swatches.map(
2300
+ (e) => m`
2301
+ <div class="swatch-choice">
2302
+ <luzmo-swatch
2303
+ @click=${this.setColor}
2304
+ .color=${e}
2305
+ .size=${this.size}
2306
+ readonly
2307
+ >
2308
+ </luzmo-swatch>
2309
+ </div>
2310
+ `
2311
+ )}
2312
+ </div>
2313
+ ` : ""}
2314
+ </div>
2315
+ </div>
2316
+ `;
2317
+ }
2318
+ };
2319
+ wo.styles = R($e);
2320
+ let A = wo;
2321
+ M([
2322
+ s({ type: String, reflect: !0 })
2323
+ ], A.prototype, "color");
2324
+ M([
2325
+ s({ type: Boolean, reflect: !0, attribute: "no-alpha-channel" })
2326
+ ], A.prototype, "noAlphaChannel");
2327
+ M([
2328
+ s({ type: Array, reflect: !0 })
2329
+ ], A.prototype, "swatches");
2330
+ M([
2331
+ C("luzmo-color-area")
2332
+ ], A.prototype, "areaElement");
2333
+ M([
2334
+ C("#luzmo-hue-slider")
2335
+ ], A.prototype, "hueSliderElement");
2336
+ M([
2337
+ C("#luzmo-opacity-slider")
2338
+ ], A.prototype, "opacitySliderElement");
2339
+ M([
2340
+ C("luzmo-color-field")
2341
+ ], A.prototype, "colorFieldElement");
2342
+ M([
2343
+ C("luzmo-swatch")
2344
+ ], A.prototype, "swatchElement");
2345
+ M([
2346
+ ho()
2347
+ ], A.prototype, "_format");
2348
+ customElements.get("luzmo-color-menu") || customElements.define("luzmo-color-menu", A);
2349
+ /*! * Lucero - The design system for Luzmo.
2350
+ *
2351
+ * Copyright © 2025 Luzmo
2352
+ * All rights reserved.
2353
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
2354
+ * This license allows users with a current active Luzmo account to use Lucero.
2355
+ * This license terminates automatically if a user no longer has an active Luzmo account.
2356
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
2357
+ *
2358
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2359
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2360
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2361
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2362
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2363
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2364
+ * SOFTWARE.
2365
+ * */
2366
+ const Ee = () => {
2367
+ if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
2368
+ const r = document.createElement("style");
2369
+ r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
2370
+ }
2371
+ };
2372
+ Ee();
2373
+ const _e = "luzmo-popover{margin-left:var(--luzmo-color-picker-popover-horizontal-gap, var(--color-picker-popover-horizontal-gap));margin-right:var(--luzmo-color-picker-popover-horizontal-gap, var(--color-picker-popover-horizontal-gap))}luzmo-swatch{cursor:pointer}:host{--luzmo-popover-content-area-spacing-vertical: 0;--color-picker-popover-horizontal-gap: var(--luzmo-spacing-4)}:host([size=s]){--color-picker-popover-horizontal-gap: var(--luzmo-spacing-3)}:host([size=l]),:host([size=xl]){--color-picker-popover-horizontal-gap: var(--luzmo-spacing-5)}";
2374
+ var Ae = Object.defineProperty, _ = (r, o, e, t) => {
2375
+ for (var l = void 0, i = r.length - 1, a; i >= 0; i--)
2376
+ (a = r[i]) && (l = a(o, e, l) || l);
2377
+ return l && Ae(o, e, l), l;
2378
+ };
2379
+ const ko = class extends X(O) {
2380
+ constructor() {
2381
+ super(...arguments), this.color = "rgb(255, 0, 0)", this.open = !1, this.disabled = !1, this.placement = "left-start", this.rounding = "full", this.swatches = [], this.noAlphaChannel = !1, this._renderMenu = !1;
2382
+ }
2383
+ overlayCloseEvent() {
2384
+ this.open = !1;
2385
+ }
2386
+ overlayOpenEvent() {
2387
+ this.open = !0;
2388
+ }
2389
+ handleColorChange() {
2390
+ this.color = this.menuElement.color, this.dispatchEvent(
2391
+ new Event("change", {
2392
+ bubbles: !0,
2393
+ composed: !0
2394
+ })
2395
+ );
2396
+ }
2397
+ firstUpdated() {
2398
+ this.overlayElement.addEventListener("slottable-request", (o) => {
2399
+ this._renderMenu = o.data !== Bo;
2400
+ });
2401
+ }
2402
+ updated(o) {
2403
+ o.has("open") && this.open === !0 && (this._renderMenu = !0);
2404
+ }
2405
+ renderColorMenu() {
2406
+ return m`
2407
+ <luzmo-color-menu
2408
+ .size=${this.size}
2409
+ .color=${this.color}
2410
+ .noAlphaChannel=${this.noAlphaChannel}
2411
+ .swatches=${this.swatches}
2412
+ @change=${this.handleColorChange}
2413
+ ></luzmo-color-menu>
2414
+ `;
2415
+ }
2416
+ render() {
2417
+ return m`
2418
+ <luzmo-swatch
2419
+ id="trigger"
2420
+ .shape=${this.shape}
2421
+ .rounding=${this.rounding}
2422
+ .size=${this.size}
2423
+ .color=${this.color}
2424
+ .selected=${this.open && !this.disabled}
2425
+ ?disabled=${this.disabled}
2426
+ @luzmo-closed=${this.overlayCloseEvent}
2427
+ @luzmo-opened=${this.overlayOpenEvent}
2428
+ ></luzmo-swatch>
2429
+ <luzmo-overlay
2430
+ trigger=${this.disabled ? "" : "trigger@click"}
2431
+ type="auto"
2432
+ .placement=${this.placement}
2433
+ type="page"
2434
+ >
2435
+ <luzmo-popover style="position:relative">
2436
+ ${this._renderMenu ? this.renderColorMenu() : m``}
2437
+ </luzmo-popover>
2438
+ </luzmo-overlay>
2439
+ `;
2440
+ }
2441
+ };
2442
+ ko.styles = R(_e);
2443
+ let S = ko;
2444
+ _([
2445
+ s({ type: String, reflect: !0 })
2446
+ ], S.prototype, "color");
2447
+ _([
2448
+ s({ type: Boolean, reflect: !0 })
2449
+ ], S.prototype, "open");
2450
+ _([
2451
+ s({ type: Boolean, reflect: !0 })
2452
+ ], S.prototype, "disabled");
2453
+ _([
2454
+ s({ type: String, reflect: !0 })
2455
+ ], S.prototype, "placement");
2456
+ _([
2457
+ s({ type: String, reflect: !0 })
2458
+ ], S.prototype, "rounding");
2459
+ _([
2460
+ s({ type: String, reflect: !0 })
2461
+ ], S.prototype, "shape");
2462
+ _([
2463
+ s({ type: Array, reflect: !0 })
2464
+ ], S.prototype, "swatches");
2465
+ _([
2466
+ s({ type: Boolean, reflect: !0, attribute: "no-alpha-channel" })
2467
+ ], S.prototype, "noAlphaChannel");
2468
+ _([
2469
+ C("luzmo-color-menu")
2470
+ ], S.prototype, "menuElement");
2471
+ _([
2472
+ C("luzmo-overlay")
2473
+ ], S.prototype, "overlayElement");
2474
+ _([
2475
+ ho()
2476
+ ], S.prototype, "_renderMenu");
2477
+ customElements.get("luzmo-color-picker") || customElements.define("luzmo-color-picker", S);
2478
+ var Me = Object.defineProperty, H = (r, o, e, t) => {
2479
+ for (var l = void 0, i = r.length - 1, a; i >= 0; i--)
2480
+ (a = r[i]) && (l = a(o, e, l) || l);
2481
+ return l && Me(o, e, l), l;
2482
+ };
2483
+ const L = class L extends Oo {
2484
+ constructor() {
2485
+ super(...arguments), this.value = "transparent", this.disabled = !1, this.noAlphaChannel = !1, this.swatches = [], this.rounding = "full", this.shape = "circle", this.placement = "left-start", this.debounce = 50;
2486
+ }
2487
+ _handleEvent() {
2488
+ this.debounceTimeout && clearTimeout(this.debounceTimeout), this.debounceTimeout = setTimeout(() => {
2489
+ this.dispatchEvent(
2490
+ new CustomEvent("option-changed", {
2491
+ bubbles: !0,
2492
+ composed: !0,
2493
+ cancelable: !0,
2494
+ detail: {
2495
+ value: this.colorPicker.color
2496
+ }
2497
+ })
2498
+ );
2499
+ }, this.debounce ?? 200);
2500
+ }
2501
+ renderController() {
2502
+ return Eo`
2503
+ <luzmo-color-picker
2504
+ .color=${this.value}
2505
+ .size=${this.size}
2506
+ .rounding=${this.rounding}
2507
+ .shape=${this.shape}
2508
+ .swatches=${this.swatches}
2509
+ .placement=${this.placement}
2510
+ .noAlphaChannel=${this.noAlphaChannel}
2511
+ ?disabled=${this.disabled}
2512
+ @change=${this._handleEvent}
2513
+ >
2514
+ </luzmo-color-picker>
2515
+ `;
2516
+ }
2517
+ };
2518
+ L.styles = [oo(L, L, "styles")];
2519
+ let k = L;
2520
+ H([
2521
+ F({ type: String, reflect: !0 })
2522
+ ], k.prototype, "value");
2523
+ H([
2524
+ F({ type: Boolean, reflect: !0 })
2525
+ ], k.prototype, "disabled");
2526
+ H([
2527
+ F({ type: Boolean, reflect: !0 })
2528
+ ], k.prototype, "noAlphaChannel");
2529
+ H([
2530
+ F({ type: Array, reflect: !0 })
2531
+ ], k.prototype, "swatches");
2532
+ H([
2533
+ F({ type: String, reflect: !0 })
2534
+ ], k.prototype, "rounding");
2535
+ H([
2536
+ F({ type: String, reflect: !0 })
2537
+ ], k.prototype, "shape");
2538
+ H([
2539
+ F()
2540
+ ], k.prototype, "placement");
2541
+ H([
2542
+ F({ type: Number, reflect: !0 })
2543
+ ], k.prototype, "debounce");
2544
+ H([
2545
+ Io("luzmo-color-picker")
2546
+ ], k.prototype, "colorPicker");
2547
+ customElements.get("luzmo-edit-option-color-picker") || customElements.define(
2548
+ "luzmo-edit-option-color-picker",
2549
+ k
2550
+ );
2551
+ export {
2552
+ k as LuzmoEditOptionColorPicker
2553
+ };