@solid-design-system/components 6.27.2 → 7.0.0-next.1

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 (687) hide show
  1. package/cdn/chunks/{chunk.AO6SNRNL.js → chunk.2DXMRKN3.js} +1 -1
  2. package/cdn/chunks/{chunk.5X5JRXZK.js → chunk.2I5OTO4L.js} +1 -1
  3. package/cdn/chunks/{chunk.WKRUSUP5.js → chunk.2JXJ24RQ.js} +1 -1
  4. package/cdn/chunks/{chunk.XRBLVTS7.js → chunk.3KUBBEDF.js} +1 -1
  5. package/cdn/chunks/{chunk.FUONGVWC.js → chunk.3WMR63OG.js} +1 -1
  6. package/cdn/chunks/{chunk.WCUOYX2O.js → chunk.3ZA7LK5B.js} +1 -1
  7. package/cdn/chunks/{chunk.AOLUHUSF.js → chunk.55K7D54J.js} +1 -1
  8. package/cdn/chunks/{chunk.KDUC23NC.js → chunk.5DVOGKB4.js} +1 -1
  9. package/cdn/chunks/{chunk.3JIMAV3K.js → chunk.5NGQGOI5.js} +1 -1
  10. package/cdn/chunks/{chunk.7SNWTFKD.js → chunk.5NK5RKKZ.js} +1 -1
  11. package/cdn/chunks/{chunk.GAWWLECF.js → chunk.7SLF374G.js} +1 -1
  12. package/cdn/chunks/{chunk.7QOVVO7A.js → chunk.A4ICFOOO.js} +1 -1
  13. package/cdn/chunks/{chunk.RBIHJJJH.js → chunk.A6TJ7AAE.js} +1 -1
  14. package/cdn/chunks/{chunk.BJ6LURC2.js → chunk.A7AH5DNR.js} +1 -1
  15. package/cdn/chunks/{chunk.MWPUIVNY.js → chunk.APZUONW2.js} +1 -1
  16. package/cdn/chunks/{chunk.5HUX5VFB.js → chunk.BFAAJHOY.js} +1 -1
  17. package/cdn/chunks/{chunk.TOGRTI4R.js → chunk.BKHX2CF6.js} +1 -1
  18. package/cdn/chunks/{chunk.NVBDCLSB.js → chunk.CIVE342L.js} +1 -1
  19. package/cdn/chunks/{chunk.GANINSPD.js → chunk.CMJRYUXX.js} +1 -1
  20. package/cdn/chunks/{chunk.MINBYM3X.js → chunk.D62JG5TL.js} +1 -1
  21. package/cdn/chunks/{chunk.AVVZHYFS.js → chunk.DESBURSJ.js} +1 -1
  22. package/cdn/chunks/{chunk.XLOQLF7T.js → chunk.E4KXIVE5.js} +1 -1
  23. package/cdn/chunks/{chunk.2NOYGNXE.js → chunk.ESL4JKQV.js} +1 -1
  24. package/cdn/chunks/{chunk.UMMMHVGK.js → chunk.F5X4VAKB.js} +1 -1
  25. package/cdn/chunks/{chunk.7ZVQLLM7.js → chunk.FFIQGZKB.js} +1 -1
  26. package/cdn/chunks/{chunk.ENGQY5PQ.js → chunk.FFTXB7SP.js} +1 -1
  27. package/cdn/chunks/{chunk.STDRBG54.js → chunk.GAOAOKL4.js} +1 -1
  28. package/cdn/chunks/{chunk.BTWK37K2.js → chunk.GLM2MXY3.js} +1 -1
  29. package/cdn/chunks/{chunk.NMQWMKA4.js → chunk.IPJZ5TCY.js} +1 -1
  30. package/cdn/chunks/{chunk.FIN34FFZ.js → chunk.ITSE6USQ.js} +2 -2
  31. package/cdn/chunks/{chunk.LS7DRXQL.js → chunk.J5RIXHGG.js} +1 -1
  32. package/cdn/chunks/{chunk.DLSBHX3L.js → chunk.JKD6A4RA.js} +1 -1
  33. package/cdn/chunks/{chunk.UUT3RNXX.js → chunk.JM3GQDJN.js} +1 -1
  34. package/cdn/chunks/{chunk.WKWRMAYZ.js → chunk.JP3WLAQM.js} +1 -1
  35. package/cdn/chunks/{chunk.BCJZHMRU.js → chunk.K2LK6CUI.js} +1 -1
  36. package/cdn/chunks/{chunk.RJBMCBBF.js → chunk.LIJDAVU5.js} +1 -1
  37. package/cdn/chunks/{chunk.NO37AAPJ.js → chunk.LQYMZEW6.js} +1 -1
  38. package/cdn/chunks/{chunk.QZ4TINX7.js → chunk.LRSLQHV6.js} +1 -1
  39. package/cdn/chunks/{chunk.L7ERUBEO.js → chunk.MRINOSHO.js} +1 -1
  40. package/cdn/chunks/{chunk.DUAVYRMV.js → chunk.MTOCUKPI.js} +1 -1
  41. package/cdn/chunks/{chunk.VQZJSHKG.js → chunk.N3L4BF3D.js} +1 -1
  42. package/cdn/chunks/chunk.ND7KR2OB.js +26 -0
  43. package/cdn/chunks/{chunk.2SYX234H.js → chunk.NLEGWO6E.js} +1 -1
  44. package/cdn/chunks/{chunk.J7HKJOBT.js → chunk.NVY4DAHM.js} +1 -1
  45. package/cdn/chunks/{chunk.XCUN24EM.js → chunk.NYJUQAML.js} +1 -1
  46. package/cdn/chunks/{chunk.VHNBQXBQ.js → chunk.OXGNLH3H.js} +1 -1
  47. package/cdn/chunks/{chunk.UEFD3UMC.js → chunk.P3PSCTOG.js} +1 -1
  48. package/cdn/chunks/{chunk.2U4TAJUC.js → chunk.PSNO7W6D.js} +1 -1
  49. package/cdn/chunks/{chunk.ZB3TIOGA.js → chunk.QIEAZQKM.js} +1 -1
  50. package/cdn/chunks/{chunk.TJDPWAVB.js → chunk.QVGKTTLT.js} +1 -1
  51. package/cdn/chunks/{chunk.A7OKDFGO.js → chunk.RQ5YPSVB.js} +1 -1
  52. package/cdn/chunks/{chunk.SP3LJOKF.js → chunk.SOY4RB6B.js} +1 -1
  53. package/cdn/chunks/{chunk.WMNN34G7.js → chunk.SVUNO3VN.js} +1 -1
  54. package/cdn/chunks/{chunk.ZWU3HKO7.js → chunk.U4A5O7JM.js} +1 -1
  55. package/cdn/chunks/{chunk.DJ527NKP.js → chunk.U53W4WGD.js} +1 -1
  56. package/cdn/chunks/chunk.U7TS5SGA.js +1 -0
  57. package/cdn/chunks/{chunk.YHEOMQ3U.js → chunk.VMPFVDKG.js} +1 -1
  58. package/cdn/chunks/{chunk.KBNYCL2A.js → chunk.VXSKQPYR.js} +1 -1
  59. package/cdn/chunks/{chunk.GJHFXIDQ.js → chunk.XIS5S2BQ.js} +1 -1
  60. package/cdn/chunks/{chunk.MRKCTLHO.js → chunk.XXGMKJBE.js} +1 -1
  61. package/cdn/chunks/{chunk.OFME6DWX.js → chunk.Y4MOVPF5.js} +1 -1
  62. package/cdn/chunks/{chunk.TPFV72LH.js → chunk.YU7OA7CJ.js} +1 -1
  63. package/cdn/chunks/{chunk.HQVTWWED.js → chunk.Z6RYHXBZ.js} +1 -1
  64. package/cdn/components/accordion/accordion.js +1 -1
  65. package/cdn/components/accordion-group/accordion-group.js +1 -1
  66. package/cdn/components/animation/animation.js +1 -1
  67. package/cdn/components/audio/audio.js +1 -1
  68. package/cdn/components/badge/badge.js +1 -1
  69. package/cdn/components/brandshape/brandshape.js +1 -1
  70. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  71. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  72. package/cdn/components/button/button.js +1 -1
  73. package/cdn/components/button-group/button-group.js +1 -1
  74. package/cdn/components/carousel/carousel.js +1 -1
  75. package/cdn/components/carousel-item/carousel-item.js +1 -1
  76. package/cdn/components/checkbox/checkbox.js +1 -1
  77. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  78. package/cdn/components/combobox/combobox.js +1 -1
  79. package/cdn/components/datepicker/datepicker.js +1 -1
  80. package/cdn/components/dialog/dialog.js +1 -1
  81. package/cdn/components/divider/divider.js +1 -1
  82. package/cdn/components/drawer/drawer.js +1 -1
  83. package/cdn/components/dropdown/dropdown.js +1 -1
  84. package/cdn/components/expandable/expandable.js +1 -1
  85. package/cdn/components/flipcard/flipcard.js +1 -1
  86. package/cdn/components/header/header.js +1 -1
  87. package/cdn/components/icon/icon.js +1 -1
  88. package/cdn/components/icon/library.js +1 -1
  89. package/cdn/components/icon/library.multi-theming.js +1 -1
  90. package/cdn/components/include/include.js +1 -1
  91. package/cdn/components/input/input.js +1 -1
  92. package/cdn/components/link/link.js +1 -1
  93. package/cdn/components/loader/loader.js +1 -1
  94. package/cdn/components/map-marker/map-marker.js +1 -1
  95. package/cdn/components/menu/menu.js +1 -1
  96. package/cdn/components/menu-item/menu-item.js +1 -1
  97. package/cdn/components/navigation-item/navigation-item.js +1 -1
  98. package/cdn/components/notification/notification.js +1 -1
  99. package/cdn/components/optgroup/optgroup.js +1 -1
  100. package/cdn/components/option/option.js +1 -1
  101. package/cdn/components/popup/popup.js +1 -1
  102. package/cdn/components/progress-bar/progress-bar.js +1 -1
  103. package/cdn/components/quickfact/quickfact.js +1 -1
  104. package/cdn/components/radio/radio.js +1 -1
  105. package/cdn/components/radio-button/radio-button.js +1 -1
  106. package/cdn/components/radio-group/radio-group.js +1 -1
  107. package/cdn/components/range/range.js +1 -1
  108. package/cdn/components/range-tick/range-tick.js +1 -1
  109. package/cdn/components/scrollable/scrollable.js +1 -1
  110. package/cdn/components/select/select.js +1 -1
  111. package/cdn/components/skeleton/skeleton.js +1 -1
  112. package/cdn/components/spinner/spinner.js +1 -1
  113. package/cdn/components/step/step.js +1 -1
  114. package/cdn/components/step-group/step-group.js +1 -1
  115. package/cdn/components/switch/switch.js +1 -1
  116. package/cdn/components/tab/tab.js +1 -1
  117. package/cdn/components/tab-group/tab-group.js +1 -1
  118. package/cdn/components/tab-panel/tab-panel.js +1 -1
  119. package/cdn/components/tag/tag.js +1 -1
  120. package/cdn/components/teaser/teaser.js +1 -1
  121. package/cdn/components/teaser-media/teaser-media.js +1 -1
  122. package/cdn/components/textarea/textarea.js +1 -1
  123. package/cdn/components/theme-listener/theme-listener.js +1 -1
  124. package/cdn/components/tooltip/tooltip.js +1 -1
  125. package/cdn/components/video/video.js +1 -1
  126. package/cdn/custom-elements.json +1 -1
  127. package/cdn/solid-components.bundle.js +4 -4
  128. package/cdn/solid-components.iife.js +4 -4
  129. package/cdn/solid-components.js +1 -1
  130. package/cdn/utilities/autocomplete-config.js +1 -1
  131. package/cdn/utilities/icon-library.js +1 -1
  132. package/cdn/web-types.json +1 -1
  133. package/cdn-versioned/chunks/chunk.2DXMRKN3.js +2 -0
  134. package/cdn-versioned/chunks/chunk.2I5OTO4L.js +2 -0
  135. package/cdn-versioned/chunks/chunk.2JXJ24RQ.js +2 -0
  136. package/cdn-versioned/chunks/chunk.3KUBBEDF.js +4 -0
  137. package/cdn-versioned/chunks/{chunk.FUONGVWC.js → chunk.3WMR63OG.js} +2 -2
  138. package/cdn-versioned/chunks/chunk.3ZA7LK5B.js +2 -0
  139. package/cdn-versioned/chunks/{chunk.AOLUHUSF.js → chunk.55K7D54J.js} +2 -2
  140. package/cdn-versioned/chunks/{chunk.KDUC23NC.js → chunk.5DVOGKB4.js} +2 -2
  141. package/cdn-versioned/chunks/{chunk.3JIMAV3K.js → chunk.5NGQGOI5.js} +2 -2
  142. package/cdn-versioned/chunks/chunk.5NK5RKKZ.js +12 -0
  143. package/cdn-versioned/chunks/chunk.7SLF374G.js +2 -0
  144. package/cdn-versioned/chunks/chunk.A4ICFOOO.js +2 -0
  145. package/cdn-versioned/chunks/{chunk.RBIHJJJH.js → chunk.A6TJ7AAE.js} +2 -2
  146. package/cdn-versioned/chunks/{chunk.BJ6LURC2.js → chunk.A7AH5DNR.js} +2 -2
  147. package/cdn-versioned/chunks/{chunk.MWPUIVNY.js → chunk.APZUONW2.js} +2 -2
  148. package/cdn-versioned/chunks/{chunk.5HUX5VFB.js → chunk.BFAAJHOY.js} +2 -2
  149. package/cdn-versioned/chunks/chunk.BKHX2CF6.js +2 -0
  150. package/cdn-versioned/chunks/chunk.CIVE342L.js +12 -0
  151. package/cdn-versioned/chunks/{chunk.GANINSPD.js → chunk.CMJRYUXX.js} +2 -2
  152. package/cdn-versioned/chunks/{chunk.MINBYM3X.js → chunk.D62JG5TL.js} +2 -2
  153. package/cdn-versioned/chunks/{chunk.AVVZHYFS.js → chunk.DESBURSJ.js} +3 -3
  154. package/cdn-versioned/chunks/chunk.DSKB3SEU.js +1 -1
  155. package/cdn-versioned/chunks/chunk.E3RBLJOD.js +2 -2
  156. package/cdn-versioned/chunks/{chunk.XLOQLF7T.js → chunk.E4KXIVE5.js} +2 -2
  157. package/cdn-versioned/chunks/chunk.ESL4JKQV.js +2 -0
  158. package/cdn-versioned/chunks/{chunk.UMMMHVGK.js → chunk.F5X4VAKB.js} +2 -2
  159. package/cdn-versioned/chunks/chunk.FFIQGZKB.js +2 -0
  160. package/cdn-versioned/chunks/{chunk.ENGQY5PQ.js → chunk.FFTXB7SP.js} +2 -2
  161. package/cdn-versioned/chunks/{chunk.STDRBG54.js → chunk.GAOAOKL4.js} +2 -2
  162. package/cdn-versioned/chunks/{chunk.BTWK37K2.js → chunk.GLM2MXY3.js} +2 -2
  163. package/cdn-versioned/chunks/{chunk.NMQWMKA4.js → chunk.IPJZ5TCY.js} +2 -2
  164. package/cdn-versioned/chunks/chunk.ITSE6USQ.js +2 -0
  165. package/cdn-versioned/chunks/chunk.J5RIXHGG.js +2 -0
  166. package/cdn-versioned/chunks/chunk.JKD6A4RA.js +2 -0
  167. package/cdn-versioned/chunks/{chunk.UUT3RNXX.js → chunk.JM3GQDJN.js} +2 -2
  168. package/cdn-versioned/chunks/{chunk.WKWRMAYZ.js → chunk.JP3WLAQM.js} +2 -2
  169. package/cdn-versioned/chunks/{chunk.BCJZHMRU.js → chunk.K2LK6CUI.js} +2 -2
  170. package/cdn-versioned/chunks/{chunk.RJBMCBBF.js → chunk.LIJDAVU5.js} +2 -2
  171. package/cdn-versioned/chunks/chunk.LQYMZEW6.js +2 -0
  172. package/cdn-versioned/chunks/chunk.LRSLQHV6.js +12 -0
  173. package/cdn-versioned/chunks/chunk.LZRL7OLU.js +1 -1
  174. package/cdn-versioned/chunks/chunk.MRINOSHO.js +2 -0
  175. package/cdn-versioned/chunks/chunk.MTOCUKPI.js +12 -0
  176. package/cdn-versioned/chunks/{chunk.VQZJSHKG.js → chunk.N3L4BF3D.js} +3 -3
  177. package/cdn-versioned/chunks/chunk.ND7KR2OB.js +26 -0
  178. package/cdn-versioned/chunks/{chunk.2SYX234H.js → chunk.NLEGWO6E.js} +2 -2
  179. package/cdn-versioned/chunks/{chunk.J7HKJOBT.js → chunk.NVY4DAHM.js} +2 -2
  180. package/cdn-versioned/chunks/{chunk.XCUN24EM.js → chunk.NYJUQAML.js} +1 -1
  181. package/cdn-versioned/chunks/chunk.OXGNLH3H.js +2 -0
  182. package/cdn-versioned/chunks/chunk.P3PSCTOG.js +2 -0
  183. package/cdn-versioned/chunks/chunk.PSNO7W6D.js +2 -0
  184. package/cdn-versioned/chunks/{chunk.ZB3TIOGA.js → chunk.QIEAZQKM.js} +2 -2
  185. package/cdn-versioned/chunks/chunk.QVGKTTLT.js +2 -0
  186. package/cdn-versioned/chunks/{chunk.A7OKDFGO.js → chunk.RQ5YPSVB.js} +2 -2
  187. package/cdn-versioned/chunks/{chunk.SP3LJOKF.js → chunk.SOY4RB6B.js} +3 -3
  188. package/cdn-versioned/chunks/{chunk.WMNN34G7.js → chunk.SVUNO3VN.js} +2 -2
  189. package/cdn-versioned/chunks/{chunk.ZWU3HKO7.js → chunk.U4A5O7JM.js} +2 -2
  190. package/cdn-versioned/chunks/{chunk.DJ527NKP.js → chunk.U53W4WGD.js} +2 -2
  191. package/cdn-versioned/chunks/chunk.U7TS5SGA.js +1 -0
  192. package/cdn-versioned/chunks/{chunk.YHEOMQ3U.js → chunk.VMPFVDKG.js} +2 -2
  193. package/cdn-versioned/chunks/chunk.VXSKQPYR.js +2 -0
  194. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  195. package/cdn-versioned/chunks/chunk.XIS5S2BQ.js +2 -0
  196. package/cdn-versioned/chunks/{chunk.MRKCTLHO.js → chunk.XXGMKJBE.js} +2 -2
  197. package/cdn-versioned/chunks/{chunk.OFME6DWX.js → chunk.Y4MOVPF5.js} +2 -2
  198. package/cdn-versioned/chunks/{chunk.TPFV72LH.js → chunk.YU7OA7CJ.js} +2 -2
  199. package/cdn-versioned/chunks/chunk.Z6RYHXBZ.js +2 -0
  200. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  201. package/cdn-versioned/components/accordion/accordion.js +1 -1
  202. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  203. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  204. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  205. package/cdn-versioned/components/animation/animation.js +1 -1
  206. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  207. package/cdn-versioned/components/audio/audio.js +1 -1
  208. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  209. package/cdn-versioned/components/badge/badge.js +1 -1
  210. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  211. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  212. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  213. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  214. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  215. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  216. package/cdn-versioned/components/button/button.d.ts +1 -1
  217. package/cdn-versioned/components/button/button.js +1 -1
  218. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  219. package/cdn-versioned/components/button-group/button-group.js +1 -1
  220. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  221. package/cdn-versioned/components/carousel/carousel.js +1 -1
  222. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  223. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  224. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  225. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  226. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  227. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  228. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  229. package/cdn-versioned/components/combobox/combobox.js +1 -1
  230. package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
  231. package/cdn-versioned/components/datepicker/datepicker.js +1 -1
  232. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  233. package/cdn-versioned/components/dialog/dialog.js +1 -1
  234. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  235. package/cdn-versioned/components/divider/divider.js +1 -1
  236. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  237. package/cdn-versioned/components/drawer/drawer.js +1 -1
  238. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  239. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  240. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  241. package/cdn-versioned/components/expandable/expandable.js +1 -1
  242. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  243. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  244. package/cdn-versioned/components/header/header.d.ts +1 -1
  245. package/cdn-versioned/components/header/header.js +1 -1
  246. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  247. package/cdn-versioned/components/icon/icon.js +1 -1
  248. package/cdn-versioned/components/icon/library.js +1 -1
  249. package/cdn-versioned/components/icon/library.multi-theming.js +1 -1
  250. package/cdn-versioned/components/include/include.d.ts +1 -1
  251. package/cdn-versioned/components/include/include.js +1 -1
  252. package/cdn-versioned/components/input/input.d.ts +1 -1
  253. package/cdn-versioned/components/input/input.js +1 -1
  254. package/cdn-versioned/components/link/link.d.ts +1 -1
  255. package/cdn-versioned/components/link/link.js +1 -1
  256. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  257. package/cdn-versioned/components/loader/loader.js +1 -1
  258. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  259. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  260. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  261. package/cdn-versioned/components/menu/menu.js +1 -1
  262. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  263. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  264. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  265. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  266. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  267. package/cdn-versioned/components/notification/notification.js +1 -1
  268. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  269. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  270. package/cdn-versioned/components/option/option.d.ts +1 -1
  271. package/cdn-versioned/components/option/option.js +1 -1
  272. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  273. package/cdn-versioned/components/popup/popup.js +1 -1
  274. package/cdn-versioned/components/progress-bar/progress-bar.d.ts +1 -1
  275. package/cdn-versioned/components/progress-bar/progress-bar.js +1 -1
  276. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  277. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  278. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  279. package/cdn-versioned/components/radio/radio.js +1 -1
  280. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  281. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  282. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  283. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  284. package/cdn-versioned/components/range/range.d.ts +1 -1
  285. package/cdn-versioned/components/range/range.js +1 -1
  286. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  287. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  288. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  289. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  290. package/cdn-versioned/components/select/select.d.ts +1 -1
  291. package/cdn-versioned/components/select/select.js +1 -1
  292. package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
  293. package/cdn-versioned/components/skeleton/skeleton.js +1 -1
  294. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  295. package/cdn-versioned/components/spinner/spinner.js +1 -1
  296. package/cdn-versioned/components/step/step.d.ts +1 -1
  297. package/cdn-versioned/components/step/step.js +1 -1
  298. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  299. package/cdn-versioned/components/step-group/step-group.js +1 -1
  300. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  301. package/cdn-versioned/components/switch/switch.js +1 -1
  302. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  303. package/cdn-versioned/components/tab/tab.js +1 -1
  304. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  305. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  306. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  307. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  308. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  309. package/cdn-versioned/components/tag/tag.js +1 -1
  310. package/cdn-versioned/components/teaser/teaser.js +1 -1
  311. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  312. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  313. package/cdn-versioned/components/textarea/textarea.js +1 -1
  314. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  315. package/cdn-versioned/components/theme-listener/theme-listener.js +1 -1
  316. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  317. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  318. package/cdn-versioned/components/video/video.d.ts +1 -1
  319. package/cdn-versioned/components/video/video.js +1 -1
  320. package/cdn-versioned/custom-elements.json +259 -259
  321. package/cdn-versioned/internal/form.js +2 -2
  322. package/cdn-versioned/solid-components.bundle.js +82 -82
  323. package/cdn-versioned/solid-components.css +2 -2
  324. package/cdn-versioned/solid-components.iife.js +82 -82
  325. package/cdn-versioned/solid-components.js +1 -1
  326. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  327. package/cdn-versioned/utilities/icon-library.js +1 -1
  328. package/cdn-versioned/vscode.html-custom-data.json +114 -114
  329. package/cdn-versioned/web-types.json +170 -170
  330. package/dist/chunks/{chunk.U4ES752F.js → chunk.2B76SHER.js} +1 -1
  331. package/dist/chunks/{chunk.ZCK2AJ6F.js → chunk.2PSP6N2B.js} +1 -1
  332. package/dist/chunks/{chunk.EQKXEQYI.js → chunk.2QG5VVWH.js} +1 -1
  333. package/dist/chunks/{chunk.6LUXWBVQ.js → chunk.33BZJRJB.js} +1 -1
  334. package/dist/chunks/{chunk.QH4PJIEK.js → chunk.3T4RF2D2.js} +1 -1
  335. package/dist/chunks/{chunk.XAFXRA3O.js → chunk.4BAU2OM4.js} +1 -1
  336. package/dist/chunks/{chunk.32PMIHHH.js → chunk.4MGAXDM2.js} +1 -1
  337. package/{dist-versioned/chunks/chunk.6HICCGIO.js → dist/chunks/chunk.54DGZ62W.js} +1 -1
  338. package/dist/chunks/{chunk.ISDCFN2T.js → chunk.5EDUJ62Z.js} +1 -1
  339. package/dist/chunks/{chunk.FZW355YU.js → chunk.5K6Y7HJU.js} +1 -1
  340. package/dist/chunks/{chunk.RJD5JWEE.js → chunk.7MA7NTM5.js} +1 -1
  341. package/dist/chunks/{chunk.3JGLYKUT.js → chunk.AI65BHXH.js} +1 -1
  342. package/dist/chunks/{chunk.PAGXROMQ.js → chunk.AN3L6KYA.js} +1 -1
  343. package/dist/chunks/{chunk.67RQILIX.js → chunk.AVB7EUPN.js} +1 -1
  344. package/dist/chunks/{chunk.LFY6FLC7.js → chunk.B3GXJSVQ.js} +1 -1
  345. package/dist/chunks/{chunk.H6AYJU2Z.js → chunk.DLDMILPJ.js} +1 -1
  346. package/dist/chunks/{chunk.RIMF3V3U.js → chunk.DZT4P3QO.js} +2 -2
  347. package/dist/chunks/{chunk.6VONS4GH.js → chunk.ENTIPHXZ.js} +1 -1
  348. package/dist/chunks/{chunk.LDEYZ5WH.js → chunk.EUECKG57.js} +1 -1
  349. package/dist/chunks/{chunk.2GY5X74S.js → chunk.GESPTAQO.js} +1 -1
  350. package/dist/chunks/{chunk.EWBPFI7O.js → chunk.GVV65UCW.js} +1 -1
  351. package/dist/chunks/{chunk.FTLHBRJ7.js → chunk.GWNXDEYS.js} +2 -2
  352. package/dist/chunks/{chunk.FO2XDPBY.js → chunk.HNDYMCBH.js} +1 -1
  353. package/dist/chunks/{chunk.HFUPD442.js → chunk.I5B5QE4Q.js} +1 -1
  354. package/dist/chunks/{chunk.7DSVL7JH.js → chunk.INUHEU2V.js} +1 -1
  355. package/dist/chunks/{chunk.4CYE55LF.js → chunk.J4MQWCIP.js} +1 -1
  356. package/dist/chunks/{chunk.22QJOKRT.js → chunk.JCAECFX2.js} +1 -1
  357. package/dist/chunks/{chunk.76H4PKGT.js → chunk.K6EQX5H6.js} +1 -1
  358. package/dist/chunks/{chunk.LMAZLSWN.js → chunk.KIY36UBP.js} +1 -1
  359. package/dist/chunks/{chunk.FDOJX6W4.js → chunk.KTAV32B3.js} +1 -1
  360. package/dist/chunks/{chunk.2JVBNRAE.js → chunk.L2IFANFY.js} +1 -1
  361. package/dist/chunks/chunk.LB37DTSJ.js +93 -0
  362. package/dist/chunks/{chunk.2QLV3FGQ.js → chunk.LB3F2QDN.js} +1 -1
  363. package/dist/chunks/{chunk.5SP53TRC.js → chunk.LDRHLY66.js} +1 -1
  364. package/dist/chunks/{chunk.GURHKBOS.js → chunk.LFOMFT6A.js} +1 -1
  365. package/dist/chunks/{chunk.DFSINDVF.js → chunk.LTNNVXKN.js} +1 -1
  366. package/dist/chunks/{chunk.3AZV733X.js → chunk.LVPWOXKT.js} +1 -1
  367. package/dist/chunks/{chunk.VMOVHC54.js → chunk.MGLNCJH4.js} +1 -1
  368. package/dist/chunks/{chunk.YVNA2ZV6.js → chunk.MKQMOE4O.js} +1 -1
  369. package/dist/chunks/{chunk.4QQTPWQK.js → chunk.MU6BOIQP.js} +1 -1
  370. package/dist/chunks/{chunk.WC6QJGPY.js → chunk.NVTCRCR2.js} +1 -1
  371. package/dist/chunks/{chunk.43WIFSAV.js → chunk.OGTWG7PX.js} +1 -1
  372. package/dist/chunks/{chunk.HSMX4JWE.js → chunk.OMWYWBPW.js} +2 -2
  373. package/dist/chunks/{chunk.P7WF3BP4.js → chunk.PH4JLH76.js} +1 -1
  374. package/dist/chunks/{chunk.5FLDWYHF.js → chunk.Q4LFZ4MN.js} +1 -1
  375. package/dist/chunks/{chunk.3YRBYYHB.js → chunk.QELO6X62.js} +1 -1
  376. package/dist/chunks/{chunk.HFD4GVQH.js → chunk.QFAJOIOI.js} +1 -1
  377. package/dist/chunks/{chunk.ON7JW7DZ.js → chunk.RAT2NJIO.js} +1 -1
  378. package/dist/chunks/{chunk.6QITMMHT.js → chunk.SBBWYGUE.js} +1 -1
  379. package/dist/chunks/{chunk.Z4VNO3XB.js → chunk.SRSERHD5.js} +1 -1
  380. package/dist/chunks/{chunk.MIDB4P4Z.js → chunk.TXVRZXUB.js} +3 -3
  381. package/dist/chunks/{chunk.ATPMJXDV.js → chunk.UAYS6YUK.js} +1 -1
  382. package/dist/chunks/{chunk.TVVA3SEO.js → chunk.UCQEVTLR.js} +1 -1
  383. package/dist/chunks/{chunk.WALY6H2S.js → chunk.UQAZ7Y4O.js} +1 -1
  384. package/dist/chunks/{chunk.3UAYIX4K.js → chunk.VMQ6E5XQ.js} +1 -1
  385. package/dist/chunks/{chunk.KNNHUZRK.js → chunk.W2FPAWSD.js} +1 -1
  386. package/dist/chunks/{chunk.GIYK2K7S.js → chunk.WEGQKE7P.js} +2 -2
  387. package/dist/chunks/{chunk.LIHFBMY3.js → chunk.WKBNTZYS.js} +1 -1
  388. package/dist/chunks/{chunk.DPOFFN22.js → chunk.XQA7WCIY.js} +1 -1
  389. package/dist/chunks/{chunk.NF6TENBG.js → chunk.YFTT3BJS.js} +1 -1
  390. package/dist/chunks/{chunk.E32D3Z6I.js → chunk.YHQDUFIA.js} +1 -1
  391. package/dist/chunks/{chunk.LVUKQ7ZS.js → chunk.YTITLVWX.js} +1 -1
  392. package/dist/chunks/{chunk.QWPTKRZY.js → chunk.YZ5DZPPN.js} +1 -1
  393. package/dist/components/accordion/accordion.js +5 -5
  394. package/dist/components/accordion-group/accordion-group.js +6 -6
  395. package/dist/components/animation/animation.js +2 -2
  396. package/dist/components/audio/audio.js +8 -8
  397. package/dist/components/badge/badge.js +2 -2
  398. package/dist/components/brandshape/brandshape.js +2 -2
  399. package/dist/components/breadcrumb/breadcrumb.js +7 -7
  400. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  401. package/dist/components/button/button.js +3 -3
  402. package/dist/components/button-group/button-group.js +2 -2
  403. package/dist/components/carousel/carousel.js +6 -6
  404. package/dist/components/carousel-item/carousel-item.js +2 -2
  405. package/dist/components/checkbox/checkbox.js +5 -5
  406. package/dist/components/checkbox-group/checkbox-group.js +5 -5
  407. package/dist/components/combobox/combobox.js +7 -7
  408. package/dist/components/datepicker/datepicker.js +7 -7
  409. package/dist/components/dialog/dialog.js +7 -7
  410. package/dist/components/divider/divider.js +2 -2
  411. package/dist/components/drawer/drawer.js +7 -7
  412. package/dist/components/dropdown/dropdown.js +3 -3
  413. package/dist/components/expandable/expandable.js +5 -5
  414. package/dist/components/flipcard/flipcard.js +7 -7
  415. package/dist/components/header/header.js +2 -2
  416. package/dist/components/icon/icon.js +4 -4
  417. package/dist/components/icon/library.js +2 -2
  418. package/dist/components/icon/library.multi-theming.js +1 -1
  419. package/dist/components/include/include.js +2 -2
  420. package/dist/components/input/input.js +5 -5
  421. package/dist/components/link/link.js +2 -2
  422. package/dist/components/loader/loader.js +2 -2
  423. package/dist/components/map-marker/map-marker.js +2 -2
  424. package/dist/components/menu/menu.js +2 -2
  425. package/dist/components/menu-item/menu-item.js +2 -2
  426. package/dist/components/navigation-item/navigation-item.js +6 -6
  427. package/dist/components/notification/notification.js +7 -7
  428. package/dist/components/optgroup/optgroup.js +3 -3
  429. package/dist/components/option/option.js +5 -5
  430. package/dist/components/popup/popup.js +2 -2
  431. package/dist/components/progress-bar/progress-bar.js +2 -2
  432. package/dist/components/quickfact/quickfact.js +6 -6
  433. package/dist/components/radio/radio.js +2 -2
  434. package/dist/components/radio-button/radio-button.js +2 -2
  435. package/dist/components/radio-group/radio-group.js +4 -4
  436. package/dist/components/range/range.js +7 -7
  437. package/dist/components/range-tick/range-tick.js +2 -2
  438. package/dist/components/scrollable/scrollable.js +5 -5
  439. package/dist/components/select/select.js +7 -7
  440. package/dist/components/skeleton/skeleton.js +2 -2
  441. package/dist/components/spinner/spinner.js +2 -2
  442. package/dist/components/step/step.js +5 -5
  443. package/dist/components/step-group/step-group.js +2 -2
  444. package/dist/components/switch/switch.js +2 -2
  445. package/dist/components/tab/tab.js +2 -2
  446. package/dist/components/tab-group/tab-group.js +5 -5
  447. package/dist/components/tab-panel/tab-panel.js +2 -2
  448. package/dist/components/tag/tag.js +5 -5
  449. package/dist/components/teaser/teaser.js +2 -2
  450. package/dist/components/teaser-media/teaser-media.js +2 -2
  451. package/dist/components/textarea/textarea.js +5 -5
  452. package/dist/components/theme-listener/theme-listener.js +2 -2
  453. package/dist/components/tooltip/tooltip.js +6 -6
  454. package/dist/components/video/video.js +5 -5
  455. package/dist/custom-elements.json +1 -1
  456. package/dist/solid-components.js +63 -63
  457. package/dist/utilities/autocomplete-config.js +2 -2
  458. package/dist/utilities/icon-library.js +2 -2
  459. package/dist/web-types.json +1 -1
  460. package/dist-versioned/chunks/{chunk.U4ES752F.js → chunk.2B76SHER.js} +5 -5
  461. package/dist-versioned/chunks/{chunk.ZCK2AJ6F.js → chunk.2PSP6N2B.js} +11 -11
  462. package/dist-versioned/chunks/{chunk.EQKXEQYI.js → chunk.2QG5VVWH.js} +7 -7
  463. package/dist-versioned/chunks/{chunk.6LUXWBVQ.js → chunk.33BZJRJB.js} +3 -3
  464. package/dist-versioned/chunks/{chunk.QH4PJIEK.js → chunk.3T4RF2D2.js} +11 -11
  465. package/dist-versioned/chunks/{chunk.XAFXRA3O.js → chunk.4BAU2OM4.js} +34 -34
  466. package/dist-versioned/chunks/{chunk.32PMIHHH.js → chunk.4MGAXDM2.js} +11 -11
  467. package/{dist/chunks/chunk.6HICCGIO.js → dist-versioned/chunks/chunk.54DGZ62W.js} +1 -1
  468. package/dist-versioned/chunks/{chunk.ISDCFN2T.js → chunk.5EDUJ62Z.js} +3 -3
  469. package/dist-versioned/chunks/{chunk.FZW355YU.js → chunk.5K6Y7HJU.js} +5 -5
  470. package/dist-versioned/chunks/{chunk.RJD5JWEE.js → chunk.7MA7NTM5.js} +7 -7
  471. package/dist-versioned/chunks/{chunk.3JGLYKUT.js → chunk.AI65BHXH.js} +2 -2
  472. package/dist-versioned/chunks/{chunk.PAGXROMQ.js → chunk.AN3L6KYA.js} +7 -7
  473. package/dist-versioned/chunks/{chunk.67RQILIX.js → chunk.AVB7EUPN.js} +4 -4
  474. package/dist-versioned/chunks/{chunk.LFY6FLC7.js → chunk.B3GXJSVQ.js} +12 -12
  475. package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
  476. package/dist-versioned/chunks/{chunk.H6AYJU2Z.js → chunk.DLDMILPJ.js} +7 -7
  477. package/dist-versioned/chunks/{chunk.RIMF3V3U.js → chunk.DZT4P3QO.js} +12 -12
  478. package/dist-versioned/chunks/chunk.EAJ3CM6N.js +4 -4
  479. package/dist-versioned/chunks/{chunk.6VONS4GH.js → chunk.ENTIPHXZ.js} +6 -6
  480. package/dist-versioned/chunks/{chunk.LDEYZ5WH.js → chunk.EUECKG57.js} +6 -6
  481. package/dist-versioned/chunks/{chunk.2GY5X74S.js → chunk.GESPTAQO.js} +26 -26
  482. package/dist-versioned/chunks/{chunk.EWBPFI7O.js → chunk.GVV65UCW.js} +4 -4
  483. package/dist-versioned/chunks/{chunk.FTLHBRJ7.js → chunk.GWNXDEYS.js} +4 -4
  484. package/dist-versioned/chunks/{chunk.FO2XDPBY.js → chunk.HNDYMCBH.js} +2 -2
  485. package/dist-versioned/chunks/{chunk.HFUPD442.js → chunk.I5B5QE4Q.js} +3 -3
  486. package/dist-versioned/chunks/{chunk.7DSVL7JH.js → chunk.INUHEU2V.js} +3 -3
  487. package/dist-versioned/chunks/{chunk.4CYE55LF.js → chunk.J4MQWCIP.js} +2 -2
  488. package/dist-versioned/chunks/{chunk.22QJOKRT.js → chunk.JCAECFX2.js} +3 -3
  489. package/dist-versioned/chunks/{chunk.76H4PKGT.js → chunk.K6EQX5H6.js} +12 -12
  490. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  491. package/dist-versioned/chunks/{chunk.LMAZLSWN.js → chunk.KIY36UBP.js} +6 -6
  492. package/dist-versioned/chunks/{chunk.FDOJX6W4.js → chunk.KTAV32B3.js} +4 -4
  493. package/dist-versioned/chunks/{chunk.2JVBNRAE.js → chunk.L2IFANFY.js} +12 -12
  494. package/dist-versioned/chunks/chunk.LB37DTSJ.js +93 -0
  495. package/dist-versioned/chunks/{chunk.2QLV3FGQ.js → chunk.LB3F2QDN.js} +2 -2
  496. package/dist-versioned/chunks/{chunk.5SP53TRC.js → chunk.LDRHLY66.js} +8 -8
  497. package/dist-versioned/chunks/{chunk.GURHKBOS.js → chunk.LFOMFT6A.js} +5 -5
  498. package/dist-versioned/chunks/{chunk.DFSINDVF.js → chunk.LTNNVXKN.js} +3 -3
  499. package/dist-versioned/chunks/{chunk.3AZV733X.js → chunk.LVPWOXKT.js} +2 -2
  500. package/dist-versioned/chunks/{chunk.VMOVHC54.js → chunk.MGLNCJH4.js} +3 -3
  501. package/dist-versioned/chunks/{chunk.YVNA2ZV6.js → chunk.MKQMOE4O.js} +3 -3
  502. package/dist-versioned/chunks/{chunk.4QQTPWQK.js → chunk.MU6BOIQP.js} +3 -3
  503. package/dist-versioned/chunks/{chunk.WC6QJGPY.js → chunk.NVTCRCR2.js} +4 -4
  504. package/dist-versioned/chunks/{chunk.43WIFSAV.js → chunk.OGTWG7PX.js} +9 -9
  505. package/dist-versioned/chunks/{chunk.HSMX4JWE.js → chunk.OMWYWBPW.js} +14 -14
  506. package/dist-versioned/chunks/{chunk.P7WF3BP4.js → chunk.PH4JLH76.js} +13 -13
  507. package/dist-versioned/chunks/{chunk.5FLDWYHF.js → chunk.Q4LFZ4MN.js} +1 -1
  508. package/dist-versioned/chunks/{chunk.3YRBYYHB.js → chunk.QELO6X62.js} +15 -15
  509. package/dist-versioned/chunks/{chunk.HFD4GVQH.js → chunk.QFAJOIOI.js} +7 -7
  510. package/dist-versioned/chunks/{chunk.ON7JW7DZ.js → chunk.RAT2NJIO.js} +5 -5
  511. package/dist-versioned/chunks/{chunk.6QITMMHT.js → chunk.SBBWYGUE.js} +2 -2
  512. package/dist-versioned/chunks/{chunk.Z4VNO3XB.js → chunk.SRSERHD5.js} +24 -24
  513. package/dist-versioned/chunks/{chunk.MIDB4P4Z.js → chunk.TXVRZXUB.js} +8 -8
  514. package/dist-versioned/chunks/{chunk.ATPMJXDV.js → chunk.UAYS6YUK.js} +8 -8
  515. package/dist-versioned/chunks/{chunk.TVVA3SEO.js → chunk.UCQEVTLR.js} +4 -4
  516. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  517. package/dist-versioned/chunks/{chunk.WALY6H2S.js → chunk.UQAZ7Y4O.js} +6 -6
  518. package/dist-versioned/chunks/{chunk.3UAYIX4K.js → chunk.VMQ6E5XQ.js} +6 -6
  519. package/dist-versioned/chunks/{chunk.KNNHUZRK.js → chunk.W2FPAWSD.js} +6 -6
  520. package/dist-versioned/chunks/{chunk.GIYK2K7S.js → chunk.WEGQKE7P.js} +5 -5
  521. package/dist-versioned/chunks/{chunk.LIHFBMY3.js → chunk.WKBNTZYS.js} +6 -6
  522. package/dist-versioned/chunks/{chunk.DPOFFN22.js → chunk.XQA7WCIY.js} +6 -6
  523. package/dist-versioned/chunks/{chunk.NF6TENBG.js → chunk.YFTT3BJS.js} +14 -14
  524. package/dist-versioned/chunks/{chunk.E32D3Z6I.js → chunk.YHQDUFIA.js} +2 -2
  525. package/dist-versioned/chunks/{chunk.LVUKQ7ZS.js → chunk.YTITLVWX.js} +8 -8
  526. package/dist-versioned/chunks/{chunk.QWPTKRZY.js → chunk.YZ5DZPPN.js} +3 -3
  527. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  528. package/dist-versioned/components/accordion/accordion.js +5 -5
  529. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  530. package/dist-versioned/components/accordion-group/accordion-group.js +6 -6
  531. package/dist-versioned/components/animation/animation.d.ts +1 -1
  532. package/dist-versioned/components/animation/animation.js +2 -2
  533. package/dist-versioned/components/audio/audio.d.ts +1 -1
  534. package/dist-versioned/components/audio/audio.js +8 -8
  535. package/dist-versioned/components/badge/badge.d.ts +1 -1
  536. package/dist-versioned/components/badge/badge.js +2 -2
  537. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  538. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  539. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  540. package/dist-versioned/components/breadcrumb/breadcrumb.js +7 -7
  541. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  542. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +3 -3
  543. package/dist-versioned/components/button/button.d.ts +1 -1
  544. package/dist-versioned/components/button/button.js +3 -3
  545. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  546. package/dist-versioned/components/button-group/button-group.js +2 -2
  547. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  548. package/dist-versioned/components/carousel/carousel.js +6 -6
  549. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  550. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  551. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  552. package/dist-versioned/components/checkbox/checkbox.js +5 -5
  553. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  554. package/dist-versioned/components/checkbox-group/checkbox-group.js +5 -5
  555. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  556. package/dist-versioned/components/combobox/combobox.js +7 -7
  557. package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
  558. package/dist-versioned/components/datepicker/datepicker.js +7 -7
  559. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  560. package/dist-versioned/components/dialog/dialog.js +7 -7
  561. package/dist-versioned/components/divider/divider.d.ts +1 -1
  562. package/dist-versioned/components/divider/divider.js +2 -2
  563. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  564. package/dist-versioned/components/drawer/drawer.js +7 -7
  565. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  566. package/dist-versioned/components/dropdown/dropdown.js +3 -3
  567. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  568. package/dist-versioned/components/expandable/expandable.js +5 -5
  569. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  570. package/dist-versioned/components/flipcard/flipcard.js +7 -7
  571. package/dist-versioned/components/header/header.d.ts +1 -1
  572. package/dist-versioned/components/header/header.js +2 -2
  573. package/dist-versioned/components/icon/icon.d.ts +1 -1
  574. package/dist-versioned/components/icon/icon.js +4 -4
  575. package/dist-versioned/components/icon/library.js +2 -2
  576. package/dist-versioned/components/icon/library.multi-theming.js +1 -1
  577. package/dist-versioned/components/include/include.d.ts +1 -1
  578. package/dist-versioned/components/include/include.js +2 -2
  579. package/dist-versioned/components/input/input.d.ts +1 -1
  580. package/dist-versioned/components/input/input.js +5 -5
  581. package/dist-versioned/components/link/link.d.ts +1 -1
  582. package/dist-versioned/components/link/link.js +2 -2
  583. package/dist-versioned/components/loader/loader.d.ts +1 -1
  584. package/dist-versioned/components/loader/loader.js +2 -2
  585. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  586. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  587. package/dist-versioned/components/menu/menu.d.ts +1 -1
  588. package/dist-versioned/components/menu/menu.js +2 -2
  589. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  590. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  591. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  592. package/dist-versioned/components/navigation-item/navigation-item.js +6 -6
  593. package/dist-versioned/components/notification/notification.d.ts +1 -1
  594. package/dist-versioned/components/notification/notification.js +7 -7
  595. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  596. package/dist-versioned/components/optgroup/optgroup.js +3 -3
  597. package/dist-versioned/components/option/option.d.ts +1 -1
  598. package/dist-versioned/components/option/option.js +5 -5
  599. package/dist-versioned/components/popup/popup.d.ts +1 -1
  600. package/dist-versioned/components/popup/popup.js +2 -2
  601. package/dist-versioned/components/progress-bar/progress-bar.d.ts +1 -1
  602. package/dist-versioned/components/progress-bar/progress-bar.js +2 -2
  603. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  604. package/dist-versioned/components/quickfact/quickfact.js +6 -6
  605. package/dist-versioned/components/radio/radio.d.ts +1 -1
  606. package/dist-versioned/components/radio/radio.js +2 -2
  607. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  608. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  609. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  610. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  611. package/dist-versioned/components/range/range.d.ts +1 -1
  612. package/dist-versioned/components/range/range.js +7 -7
  613. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  614. package/dist-versioned/components/range-tick/range-tick.js +2 -2
  615. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  616. package/dist-versioned/components/scrollable/scrollable.js +5 -5
  617. package/dist-versioned/components/select/select.d.ts +1 -1
  618. package/dist-versioned/components/select/select.js +7 -7
  619. package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
  620. package/dist-versioned/components/skeleton/skeleton.js +2 -2
  621. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  622. package/dist-versioned/components/spinner/spinner.js +2 -2
  623. package/dist-versioned/components/step/step.d.ts +1 -1
  624. package/dist-versioned/components/step/step.js +5 -5
  625. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  626. package/dist-versioned/components/step-group/step-group.js +2 -2
  627. package/dist-versioned/components/switch/switch.d.ts +1 -1
  628. package/dist-versioned/components/switch/switch.js +2 -2
  629. package/dist-versioned/components/tab/tab.d.ts +1 -1
  630. package/dist-versioned/components/tab/tab.js +2 -2
  631. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  632. package/dist-versioned/components/tab-group/tab-group.js +5 -5
  633. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  634. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  635. package/dist-versioned/components/tag/tag.d.ts +1 -1
  636. package/dist-versioned/components/tag/tag.js +5 -5
  637. package/dist-versioned/components/teaser/teaser.js +2 -2
  638. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  639. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  640. package/dist-versioned/components/textarea/textarea.js +5 -5
  641. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  642. package/dist-versioned/components/theme-listener/theme-listener.js +2 -2
  643. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  644. package/dist-versioned/components/tooltip/tooltip.js +6 -6
  645. package/dist-versioned/components/video/video.d.ts +1 -1
  646. package/dist-versioned/components/video/video.js +5 -5
  647. package/dist-versioned/custom-elements.json +259 -259
  648. package/dist-versioned/internal/form.js +2 -2
  649. package/dist-versioned/solid-components.css +2 -2
  650. package/dist-versioned/solid-components.js +63 -63
  651. package/dist-versioned/utilities/autocomplete-config.js +2 -2
  652. package/dist-versioned/utilities/icon-library.js +2 -2
  653. package/dist-versioned/vscode.html-custom-data.json +114 -114
  654. package/dist-versioned/web-types.json +170 -170
  655. package/package.json +2 -2
  656. package/cdn/chunks/chunk.JTN6NSK2.js +0 -1
  657. package/cdn/chunks/chunk.TFVRFH37.js +0 -26
  658. package/cdn-versioned/chunks/chunk.2NOYGNXE.js +0 -2
  659. package/cdn-versioned/chunks/chunk.2U4TAJUC.js +0 -2
  660. package/cdn-versioned/chunks/chunk.5X5JRXZK.js +0 -2
  661. package/cdn-versioned/chunks/chunk.7QOVVO7A.js +0 -2
  662. package/cdn-versioned/chunks/chunk.7SNWTFKD.js +0 -12
  663. package/cdn-versioned/chunks/chunk.7ZVQLLM7.js +0 -2
  664. package/cdn-versioned/chunks/chunk.AO6SNRNL.js +0 -2
  665. package/cdn-versioned/chunks/chunk.DLSBHX3L.js +0 -2
  666. package/cdn-versioned/chunks/chunk.DUAVYRMV.js +0 -12
  667. package/cdn-versioned/chunks/chunk.FIN34FFZ.js +0 -2
  668. package/cdn-versioned/chunks/chunk.GAWWLECF.js +0 -2
  669. package/cdn-versioned/chunks/chunk.GJHFXIDQ.js +0 -2
  670. package/cdn-versioned/chunks/chunk.HQVTWWED.js +0 -2
  671. package/cdn-versioned/chunks/chunk.JTN6NSK2.js +0 -1
  672. package/cdn-versioned/chunks/chunk.KBNYCL2A.js +0 -2
  673. package/cdn-versioned/chunks/chunk.L7ERUBEO.js +0 -2
  674. package/cdn-versioned/chunks/chunk.LS7DRXQL.js +0 -2
  675. package/cdn-versioned/chunks/chunk.NO37AAPJ.js +0 -2
  676. package/cdn-versioned/chunks/chunk.NVBDCLSB.js +0 -12
  677. package/cdn-versioned/chunks/chunk.QZ4TINX7.js +0 -12
  678. package/cdn-versioned/chunks/chunk.TFVRFH37.js +0 -26
  679. package/cdn-versioned/chunks/chunk.TJDPWAVB.js +0 -2
  680. package/cdn-versioned/chunks/chunk.TOGRTI4R.js +0 -2
  681. package/cdn-versioned/chunks/chunk.UEFD3UMC.js +0 -2
  682. package/cdn-versioned/chunks/chunk.VHNBQXBQ.js +0 -2
  683. package/cdn-versioned/chunks/chunk.WCUOYX2O.js +0 -2
  684. package/cdn-versioned/chunks/chunk.WKRUSUP5.js +0 -2
  685. package/cdn-versioned/chunks/chunk.XRBLVTS7.js +0 -4
  686. package/dist/chunks/chunk.PGR6OZIM.js +0 -93
  687. package/dist-versioned/chunks/chunk.PGR6OZIM.js +0 -93
@@ -1,2 +1,2 @@
1
- import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.UFTAQNZB.js";import{a as h,b as a,c as d,d as c,h as s}from"./chunk.TFVRFH37.js";import{b as l,e as n}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends s{constructor(){super(...arguments);this.variant="white";this.breakpoint=448;this.inset=!1;this.reversedLayout=!1;this.hasSlotController=new p(this,"[default]","media","meta","headline")}connectedCallback(){super.connectedCallback(),this.breakpoint===0?this._orientation="horizontal":this.breakpoint===9999?this._orientation="vertical":window.ResizeObserver&&(this.resizeObserver=new ResizeObserver(()=>this.updateOrientation()),this.resizeObserver.observe(this))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver&&this.resizeObserver.disconnect()}updated(i){super.updated(i),i.has("breakpoint")&&this.updateOrientation()}updateOrientation(){this._orientation=this.offsetWidth>=this.breakpoint?"horizontal":"vertical"}render(){let i=this.variant==="white border-neutral-400"||this.inset,o={"teaser-has-default":this.hasSlotController.test("[default]"),"teaser-has-media":this.hasSlotController.test("media"),"teaser-has-meta":this.hasSlotController.test("meta"),"teaser-has-headline":this.hasSlotController.test("headline")};return n`<div class="${r("flex sd-teaser-border-radius",{white:"bg-white","white border-neutral-400":"bg-white border sd-teaser--neutral-400-color-border","neutral-100":"sd-teaser--neutral-100-color-background",primary:"bg-primary text-white","primary-100":"sd-teaser--primary-100-color-background"}[this.variant],this._orientation==="vertical"&&"flex-col",this._orientation==="horizontal"&&"flex-row gap-8",this._orientation==="horizontal"&&i&&"py-8 px-10")}" part="base"><div style="${this._orientation==="horizontal"?`width: var(--distribution-content, 100%); ${i?"width: var(--distribution-content, calc(100% - 2rem));":""}`:""}" class="${r("flex flex-col text-left order-2",this._orientation==="horizontal"&&"flex flex-col",this._orientation==="vertical"&&i&&"m-4")}" part="content"><div class="flex flex-col-reverse"><div part="headline" class="${r("text-lg font-bold m-0",this.variant==="primary"?"text-white":"text-black")}"><slot name="headline">Always insert one semantically correct heading element here (e. g. &lt;h2>)</slot></div><div part="meta" class="${r("gap-2 mb-4",!o["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div></div><div part="main" class="${r(!o["teaser-has-default"]&&"hidden")}" role="group" aria-labelledby="headline"><slot></slot></div></div><div part="media" id="media" style="${this._orientation==="horizontal"?"width: var(--distribution-media, 100%);":""}" class="${r("order-1",!i&&this._orientation==="vertical"&&"mb-4",!o["teaser-has-media"]&&"hidden",this.variant==="white border-neutral-400"&&this._orientation==="vertical"&&"mx-[-1px] mt-[-1px]",this._orientation!=="vertical"&&this.reversedLayout&&"order-2")}"><slot name="media"></slot></div></div>`}};t.styles=[...s.styles,l`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- :host{display:block}::slotted(*){margin:calc(var(--sd-spacing-1) * 0)}::slotted([slot=headline]){margin:calc(var(--sd-spacing-1) * 0)!important;font-size:var(--sd-text-lg)!important;line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75 / 1.125)))!important;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold)}@property --tw-font-weight{syntax:"*";inherits:false}`],e([a({type:String,reflect:!0})],t.prototype,"variant",2),e([a({reflect:!0,type:Number})],t.prototype,"breakpoint",2),e([a({type:Boolean,reflect:!0})],t.prototype,"inset",2),e([a({type:Boolean,reflect:!0,attribute:"reversed-layout"})],t.prototype,"reversedLayout",2),e([c('[part="base"]')],t.prototype,"teaser",2),e([d()],t.prototype,"_orientation",2),t=e([h("sd-teaser")],t);export{t as a};
1
+ import{a as m}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.UFTAQNZB.js";import{a as h,b as a,c as d,d as c,h as o}from"./chunk.ND7KR2OB.js";import{b as l,e as n}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.variant="white";this.breakpoint=448;this.inset=!1;this.reversedLayout=!1;this.hasSlotController=new m(this,"[default]","media","meta","headline")}connectedCallback(){super.connectedCallback(),this.breakpoint===0?this._orientation="horizontal":this.breakpoint===9999?this._orientation="vertical":window.ResizeObserver&&(this.resizeObserver=new ResizeObserver(()=>this.updateOrientation()),this.resizeObserver.observe(this))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver&&this.resizeObserver.disconnect()}updated(i){super.updated(i),i.has("breakpoint")&&this.updateOrientation()}updateOrientation(){this._orientation=this.offsetWidth>=this.breakpoint?"horizontal":"vertical"}render(){let i=this.variant==="white border-neutral-400"||this.inset,s={"teaser-has-default":this.hasSlotController.test("[default]"),"teaser-has-media":this.hasSlotController.test("media"),"teaser-has-meta":this.hasSlotController.test("meta"),"teaser-has-headline":this.hasSlotController.test("headline")};return n`<div class="${r("flex sd-teaser-border-radius",{white:"bg-white","white border-neutral-400":"bg-white border sd-teaser--neutral-400-color-border","neutral-100":"sd-teaser--neutral-100-color-background",primary:"bg-primary text-white","primary-100":"sd-teaser--primary-100-color-background"}[this.variant],this._orientation==="vertical"&&"flex-col",this._orientation==="horizontal"&&"flex-row gap-8",this._orientation==="horizontal"&&i&&"py-8 px-10")}" part="base"><div style="${this._orientation==="horizontal"?`width: var(--distribution-content, 100%); ${i?"width: var(--distribution-content, calc(100% - 2rem));":""}`:""}" class="${r("flex flex-col text-left order-2",this._orientation==="horizontal"&&"flex flex-col",this._orientation==="vertical"&&i&&"m-4")}" part="content"><div class="flex flex-col-reverse"><div part="headline" class="${r("text-lg font-bold m-0",this.variant==="primary"?"text-white":"text-black")}"><slot name="headline">Always insert one semantically correct heading element here (e. g. &lt;h2>)</slot></div><div part="meta" class="${r("gap-2 mb-4",!s["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div></div><div part="main" class="${r(!s["teaser-has-default"]&&"hidden")}" role="group" aria-labelledby="headline"><slot></slot></div></div><div part="media" id="media" style="${this._orientation==="horizontal"?"width: var(--distribution-media, 100%);":""}" class="${r("order-1",!i&&this._orientation==="vertical"&&"mb-4",!s["teaser-has-media"]&&"hidden",this.variant==="white border-neutral-400"&&this._orientation==="vertical"&&"mx-[-1px] mt-[-1px]",this._orientation!=="vertical"&&this.reversedLayout&&"order-2")}"><slot name="media"></slot></div></div>`}};t.styles=[...o.styles,l`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:block}::slotted(*){margin:calc(var(--sd-spacing-1) * 0)}`],e([a({type:String,reflect:!0})],t.prototype,"variant",2),e([a({reflect:!0,type:Number})],t.prototype,"breakpoint",2),e([a({type:Boolean,reflect:!0})],t.prototype,"inset",2),e([a({type:Boolean,reflect:!0,attribute:"reversed-layout"})],t.prototype,"reversedLayout",2),e([c('[part="base"]')],t.prototype,"teaser",2),e([d()],t.prototype,"_orientation",2),t=e([h("sd-teaser")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as o}from"./chunk.LHSR56PH.js";import{a as y}from"./chunk.CGQ2BPPZ.js";import{a as u,b as a}from"./chunk.NL7YFV4O.js";import{a as m}from"./chunk.VAM5SM3O.js";import{a as s}from"./chunk.UFTAQNZB.js";import{a as b,b as r,d as p,h as f}from"./chunk.TFVRFH37.js";import{b as v}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends f{constructor(){super(...arguments);this.hasSlotController=new y(this,"[default]","description","children");this.localize=new m(this);this.vertical=!1;this.size="md";this.current=!1;this.disabled=!1;this.stacked=!1;this.chevron=!1;this.relaxed=!1;this.divider=!1;this.indented=!1;this.open=!1;this.separated=!1}get isButton(){return!this.href&&!this.hasSlotController.test("children")}get isLink(){return!!this.href}get isAccordion(){return!this.separated&&!this.href&&this.hasSlotController.test("children")}get isIconOnly(){if(!this.defaultSlot)return!1;let i=this.defaultSlot.assignedNodes({flatten:!0});return i.length>0&&i.every(n=>{var c;return n.nodeType===Node.TEXT_NODE?!((c=n.textContent)!=null&&c.trim()):n.nodeType===Node.ELEMENT_NODE?n.tagName.toLowerCase()==="sd-icon":!1})}get isStackedHorizontal(){return!this.vertical&&this.stacked}handleClickButton(i){this.disabled&&(i.preventDefault(),i.stopPropagation())}handleClickSummary(i){i.preventDefault(),i.stopPropagation(),this.disabled||(this.open?this.hideDetails():this.showDetails())}hideDetails(){this.open=!1,this.emit("sd-hide",{cancelable:!0})}showDetails(){this.open=!0,this.emit("sd-show",{cancelable:!0})}get calculatePaddingX(){return this.relaxed&&this.indented?"pl-8 pr-4":this.relaxed?"px-4":this.indented?"pl-4":""}get tag(){return this.separated&&!this.isLink?u`div`:this.isAccordion&&!this.isLink?u`summary`:this.isLink?u`a`:u`button`}focus(){var i;this.disabled||(i=this.button)==null||i.focus()}blur(){var i;(i=this.button)==null||i.blur()}render(){let i=this.tag,n=this.isLink,c=this.isButton,l=this.isAccordion,g=this.isIconOnly,d={label:this.hasSlotController.test("[default]"),main:this.hasSlotController.test("main"),description:this.hasSlotController.test("description"),children:this.hasSlotController.test("children")},x=this.vertical?"py-3":this.isStackedHorizontal?"pt-1 pb-0":"py-2",h=a`<${i} part="base" class="${s("flex items-center cursor-pointer relative focus-visible:focus-outline group hover:bg-neutral-200 transition-colors duration-fast ease-in-out min-h-[48px] navigable-border-radius",this.isStackedHorizontal?"text-xs leading-4.5":{md:"navigable-font-size",lg:"text-lg",sm:"text-[14px]"}[this.size],this.disabled?"text-neutral-500 pointer-events-none":"sd-navigation-item--default-color-text",this.current&&!this.disabled&&"sd-navigation-item--current-color-text",this.current&&!this.isStackedHorizontal&&"font-bold",!this.current&&!this.isStackedHorizontal&&"choice-control-font-weight",!l&&"w-full",this.divider&&this.vertical&&"mt-0.25",!this.vertical&&(this.isStackedHorizontal?"inline-flex flex-col items-center justify-center text-center rounded-full wrap":"inline-flex items-center"),!this.separated&&"hover:bg-neutral-200 group transition-colors duration-fast ease-in-out min-h-[48px]",g?"justify-center aspect-square p-3":this.isStackedHorizontal?"px-8":"px-4")}" aria-current="${o(this.current?"page":void 0)}" aria-disabled="${this.disabled}" aria-labelledby="content" aria-describedby="description" ?disabled="${o(c?this.disabled:void 0)}" href="${o(n?this.href:void 0)}" target="${o(n?this.target:void 0)}" download="${o(n?this.download:void 0)}" rel="${o(n&&this.target?"noreferrer noopener":void 0)}" tabindex="${this.disabled?"-1":"0"}" @click="${this.separated?void 0:l?this.handleClickSummary:c?this.handleClickButton:void 0}"><div part="current-indicator" class="${s("absolute bg-accent pointer-events-none navigable__current-indicator-border-radius",this.isStackedHorizontal&&"hidden",this.vertical?"navigable__current-indicator-width h-[calc(100%-16px)] top-2 left-0 group-hover:h-full group-hover:top-0":"navigable__current-indicator-height w-[calc(100%-16px)] left-2 bottom-0 group-hover:w-full group-hover:left-0 transition-all",this.disabled&&"bg-neutral-500")}"></div><div class="${s("inline-flex flex-col justify-center gap-1 w-full h-full",this.isStackedHorizontal&&"flex-col items-center")}"><span part="content-area" class="${s("relative inline-flex justify-between items-center",l?"grow":"w-full",this.isStackedHorizontal&&"justify-center",d.description&&"pt-3",!d.description&&!this.separated&&x,this.calculatePaddingX)}">${this.divider&&this.vertical?a`<sd-divider part="divider" class="${s("w-full transition-all absolute -top-0.25 left-0",this.calculatePaddingX)}"></sd-divider>`:""} <span id="content" part="content-container" class="${s("inline-flex items-center",this.vertical?"flex-auto gap-2":this.isStackedHorizontal?"relative text-center pb-1":"flex-auto flex-col justify-center gap-1 text-center")}"><slot part="content" class="${s("inline-flex items-center",this.vertical?"gap-2":this.isStackedHorizontal?"flex-col justify-center gap-1 text-center":"justify-center gap-1 text-center")}"></slot>${this.isStackedHorizontal?a`<span part="current-indicator" aria-hidden="true" class="${s("absolute left-0 right-0 bottom-0 h-[2px] pointer-events-none bg-accent navigable__current-indicator-border-radius",this.disabled&&"bg-neutral-500")}"></span>`:""} </span>${this.chevron||d.children&&this.vertical&&!this.separated?a`<sd-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${s("h-6 w-6 ml-2 transition-all",l?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon>`:""} </span>${d.description&&this.vertical?a`<slot id="description" name="description" part="description" class="${s("inline-block text-sm text-left font-normal text-black pb-3",l||this.separated?"grow":"w-full",this.calculatePaddingX)}"></slot>`:""}</div></${i}>`;return this.separated?a`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${h} ${d.children&&this.vertical?a`<button type="button" title="${this.open?this.localize.term("collapseNavigationItem"):this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${s("m-4 h-6 w-6 transition-all",l||this.separated?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon></button>`:""}</div>${this.open?a`<slot name="children"></slot>`:""}</div>`:l?a`<details aria-expanded="${this.open}" part="details" id="navigation-item-details" ?open="${this.open}" class="relative">${h}<slot name="children"></slot></details>`:a`${h}`}};t.styles=[...f.styles,v`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a as o}from"./chunk.LHSR56PH.js";import{a as y}from"./chunk.CGQ2BPPZ.js";import{a as u,b as a}from"./chunk.NL7YFV4O.js";import{a as m}from"./chunk.VAM5SM3O.js";import{a as s}from"./chunk.UFTAQNZB.js";import{a as b,b as r,d as p,h as f}from"./chunk.ND7KR2OB.js";import{b as v}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends f{constructor(){super(...arguments);this.hasSlotController=new y(this,"[default]","description","children");this.localize=new m(this);this.vertical=!1;this.size="md";this.current=!1;this.disabled=!1;this.stacked=!1;this.chevron=!1;this.relaxed=!1;this.divider=!1;this.indented=!1;this.open=!1;this.separated=!1}get isButton(){return!this.href&&!this.hasSlotController.test("children")}get isLink(){return!!this.href}get isAccordion(){return!this.separated&&!this.href&&this.hasSlotController.test("children")}get isIconOnly(){if(!this.defaultSlot)return!1;let i=this.defaultSlot.assignedNodes({flatten:!0});return i.length>0&&i.every(n=>{var c;return n.nodeType===Node.TEXT_NODE?!((c=n.textContent)!=null&&c.trim()):n.nodeType===Node.ELEMENT_NODE?n.tagName.toLowerCase()==="sd-icon":!1})}get isStackedHorizontal(){return!this.vertical&&this.stacked}handleClickButton(i){this.disabled&&(i.preventDefault(),i.stopPropagation())}handleClickSummary(i){i.preventDefault(),i.stopPropagation(),this.disabled||(this.open?this.hideDetails():this.showDetails())}hideDetails(){this.open=!1,this.emit("sd-hide",{cancelable:!0})}showDetails(){this.open=!0,this.emit("sd-show",{cancelable:!0})}get calculatePaddingX(){return this.relaxed&&this.indented?"pl-8 pr-4":this.relaxed?"px-4":this.indented?"pl-4":""}get tag(){return this.separated&&!this.isLink?u`div`:this.isAccordion&&!this.isLink?u`summary`:this.isLink?u`a`:u`button`}focus(){var i;this.disabled||(i=this.button)==null||i.focus()}blur(){var i;(i=this.button)==null||i.blur()}render(){let i=this.tag,n=this.isLink,c=this.isButton,l=this.isAccordion,g=this.isIconOnly,d={label:this.hasSlotController.test("[default]"),main:this.hasSlotController.test("main"),description:this.hasSlotController.test("description"),children:this.hasSlotController.test("children")},x=this.vertical?"py-3":this.isStackedHorizontal?"pt-1 pb-0":"py-2",h=a`<${i} part="base" class="${s("flex items-center cursor-pointer relative focus-visible:focus-outline group hover:bg-neutral-200 transition-colors duration-fast ease-in-out min-h-[48px] navigable-border-radius",this.isStackedHorizontal?"text-xs leading-4.5":{md:"navigable-font-size",lg:"text-lg",sm:"text-[14px]"}[this.size],this.disabled?"text-neutral-500 pointer-events-none":"sd-navigation-item--default-color-text",this.current&&!this.disabled&&"sd-navigation-item--current-color-text",this.current&&!this.isStackedHorizontal&&"font-bold",!this.current&&!this.isStackedHorizontal&&"choice-control-font-weight",!l&&"w-full",this.divider&&this.vertical&&"mt-0.25",!this.vertical&&(this.isStackedHorizontal?"inline-flex flex-col items-center justify-center text-center rounded-full wrap":"inline-flex items-center"),!this.separated&&"hover:bg-neutral-200 group transition-colors duration-fast ease-in-out min-h-[48px]",g?"justify-center aspect-square p-3":this.isStackedHorizontal?"px-8":"px-4")}" aria-current="${o(this.current?"page":void 0)}" aria-disabled="${this.disabled}" aria-labelledby="content" aria-describedby="description" ?disabled="${o(c?this.disabled:void 0)}" href="${o(n?this.href:void 0)}" target="${o(n?this.target:void 0)}" download="${o(n?this.download:void 0)}" rel="${o(n&&this.target?"noreferrer noopener":void 0)}" tabindex="${this.disabled?"-1":"0"}" @click="${this.separated?void 0:l?this.handleClickSummary:c?this.handleClickButton:void 0}"><div part="current-indicator" class="${s("absolute bg-accent pointer-events-none navigable__current-indicator-border-radius",this.isStackedHorizontal&&"hidden",this.vertical?"navigable__current-indicator-width h-[calc(100%-16px)] top-2 left-0 group-hover:h-full group-hover:top-0":"navigable__current-indicator-height w-[calc(100%-16px)] left-2 bottom-0 group-hover:w-full group-hover:left-0 transition-all",this.disabled&&"bg-neutral-500")}"></div><div class="${s("inline-flex flex-col justify-center gap-1 w-full h-full",this.isStackedHorizontal&&"flex-col items-center")}"><span part="content-area" class="${s("relative inline-flex justify-between items-center",l?"grow":"w-full",this.isStackedHorizontal&&"justify-center",d.description&&"pt-3",!d.description&&!this.separated&&x,this.calculatePaddingX)}">${this.divider&&this.vertical?a`<sd-divider part="divider" class="${s("w-full transition-all absolute -top-0.25 left-0",this.calculatePaddingX)}"></sd-divider>`:""} <span id="content" part="content-container" class="${s("inline-flex items-center",this.vertical?"flex-auto gap-2":this.isStackedHorizontal?"relative text-center pb-1":"flex-auto flex-col justify-center gap-1 text-center")}"><slot part="content" class="${s("inline-flex items-center",this.vertical?"gap-2":this.isStackedHorizontal?"flex-col justify-center gap-1 text-center":"justify-center gap-1 text-center")}"></slot>${this.isStackedHorizontal?a`<span part="current-indicator" aria-hidden="true" class="${s("absolute left-0 right-0 bottom-0 h-[2px] pointer-events-none bg-accent navigable__current-indicator-border-radius",this.disabled&&"bg-neutral-500")}"></span>`:""} </span>${this.chevron||d.children&&this.vertical&&!this.separated?a`<sd-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${s("h-6 w-6 ml-2 transition-all",l?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon>`:""} </span>${d.description&&this.vertical?a`<slot id="description" name="description" part="description" class="${s("inline-block text-sm text-left font-normal text-black pb-3",l||this.separated?"grow":"w-full",this.calculatePaddingX)}"></slot>`:""}</div></${i}>`;return this.separated?a`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${h} ${d.children&&this.vertical?a`<button type="button" title="${this.open?this.localize.term("collapseNavigationItem"):this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${s("m-4 h-6 w-6 transition-all",l||this.separated?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon></button>`:""}</div>${this.open?a`<slot name="children"></slot>`:""}</div>`:l?a`<details aria-expanded="${this.open}" part="details" id="navigation-item-details" ?open="${this.open}" class="relative">${h}<slot name="children"></slot></details>`:a`${h}`}};t.styles=[...f.styles,v`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
2
  :host{position:relative;box-sizing:border-box;display:inline-block}:host([vertical]){display:block}:host([stacked]:not([vertical])) ::slotted(sd-icon){height:var(--sd-spacing-6);width:var(--sd-spacing-6)}.sd-navigation-item--current-color-text{color:rgb(var(--sd-navigation-item--current-color-text,var(--sd-navigation-item-color-text)))}details summary::-webkit-details-marker{display:none}[part=current-indicator]{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-0);--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([current]) [part=current-indicator]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-100);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-duration{syntax:"*";inherits:false}`],e([p('[part="base"]')],t.prototype,"button",2),e([p("slot:not([name])")],t.prototype,"defaultSlot",2),e([r({type:Boolean,reflect:!0})],t.prototype,"vertical",2),e([r({type:String,reflect:!0})],t.prototype,"size",2),e([r({reflect:!0})],t.prototype,"href",2),e([r({type:String,reflect:!0})],t.prototype,"target",2),e([r({reflect:!0})],t.prototype,"download",2),e([r({type:Boolean,reflect:!0})],t.prototype,"current",2),e([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([r({type:Boolean,reflect:!0})],t.prototype,"stacked",2),e([r({type:Boolean,reflect:!0})],t.prototype,"chevron",2),e([r({type:Boolean,reflect:!0})],t.prototype,"relaxed",2),e([r({type:Boolean,reflect:!0})],t.prototype,"divider",2),e([r({type:Boolean,reflect:!0})],t.prototype,"indented",2),e([r({type:Boolean,reflect:!0})],t.prototype,"open",2),e([r({type:Boolean,reflect:!0})],t.prototype,"separated",2),t=e([b("sd-navigation-item")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as c}from"./chunk.UFTAQNZB.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as o,b as i,h as a}from"./chunk.TFVRFH37.js";import{b as s,e as r}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var n=0,t=class extends a{constructor(){super(...arguments);this.attrId=++n;this.componentId=`sd-tab-panel-${this.attrId}`;this.name="";this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute("role","tabpanel")}handleActiveChange(){this.setAttribute("aria-hidden",this.active?"false":"true")}render(){return r`<slot part="base" class="${c("block",this.active&&"tab-panel--active")}"></slot>`}};t.styles=[...a.styles,s`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as c}from"./chunk.UFTAQNZB.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as o,b as i,h as a}from"./chunk.ND7KR2OB.js";import{b as s,e as r}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var n=0,t=class extends a{constructor(){super(...arguments);this.attrId=++n;this.componentId=`sd-tab-panel-${this.attrId}`;this.name="";this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute("role","tabpanel")}handleActiveChange(){this.setAttribute("aria-hidden",this.active?"false":"true")}render(){return r`<slot part="base" class="${c("block",this.active&&"tab-panel--active")}"></slot>`}};t.styles=[...a.styles,s`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{--padding:0;display:none}:host([active]){display:block}::part(base){padding:var(--padding)}`],e([i({type:String,reflect:!0})],t.prototype,"name",2),e([i({type:Boolean,reflect:!0})],t.prototype,"active",2),e([l("active")],t.prototype,"handleActiveChange",1),t=e([o("sd-tab-panel")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as v}from"./chunk.UFTAQNZB.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as f,b as a,d as m,h as l}from"./chunk.TFVRFH37.js";import{b as o,e as c,i as h}from"./chunk.OBAEIKIV.js";import{e as s}from"./chunk.6EV4YU6C.js";var e=class extends l{constructor(){super(...arguments);this.steps=[];this.size="lg";this.orientation="horizontal";this.activeStep=0;this.notInteractive=!1;this.label=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.steps=this.getAllSteps(),this.steps[this.steps.length-1].noTail=!0;let t;this.steps.forEach((i,r)=>{i.index=r+1,i.size=this.size,i.orientation=this.orientation,this.notInteractive?(i.current=!1,i.disabled=!1,i.notInteractive=!0):i.current&&(t=r)}),this.activeStep!==-1&&this.setActiveStep(t||this.activeStep)})}handleActiveStepChange(){let t=Number(this.activeStep);Number.isNaN(t)||this.setActiveStep(t)}updateSize(){this.steps.forEach(t=>{t.size=this.size})}updateOrientation(){this.steps.forEach(t=>{t.orientation=this.orientation})}getAllSteps(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-step")}setActiveStep(t){t>=0&&t<this.steps.length&&!this.notInteractive&&(this.activeStep=t,this.steps.forEach((i,r)=>{r===t?i.current=!0:r>t?(i.waiting=!0,i.current=!1):(i.current=!1,i.waiting=!1)}))}handleInteractivityChange(){this.notInteractive&&this.steps.forEach(t=>{t.current=!1,t.disabled=!1,t.notInteractive=!0})}render(){return this.size==="xs"&&this.orientation!=="vertical"?(console.warn('Size "xs" is only supported when orientation is "vertical". The element will not be rendered.'),h):c`<div role="${this.notInteractive?"group":"navigation"}" class="h-full" aria-label="${this.label}"><div role="list" part="base" class="${v("flex",this.orientation==="vertical"&&"flex-col h-full")}"><slot part="body"></slot></div></div>`}};e.styles=[...l.styles,o`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as v}from"./chunk.UFTAQNZB.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as f,b as a,d as m,h as l}from"./chunk.ND7KR2OB.js";import{b as o,e as c,i as h}from"./chunk.OBAEIKIV.js";import{e as s}from"./chunk.6EV4YU6C.js";var e=class extends l{constructor(){super(...arguments);this.steps=[];this.size="lg";this.orientation="horizontal";this.activeStep=0;this.notInteractive=!1;this.label=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.steps=this.getAllSteps(),this.steps[this.steps.length-1].noTail=!0;let t;this.steps.forEach((i,r)=>{i.index=r+1,i.size=this.size,i.orientation=this.orientation,this.notInteractive?(i.current=!1,i.disabled=!1,i.notInteractive=!0):i.current&&(t=r)}),this.activeStep!==-1&&this.setActiveStep(t||this.activeStep)})}handleActiveStepChange(){let t=Number(this.activeStep);Number.isNaN(t)||this.setActiveStep(t)}updateSize(){this.steps.forEach(t=>{t.size=this.size})}updateOrientation(){this.steps.forEach(t=>{t.orientation=this.orientation})}getAllSteps(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-step")}setActiveStep(t){t>=0&&t<this.steps.length&&!this.notInteractive&&(this.activeStep=t,this.steps.forEach((i,r)=>{r===t?i.current=!0:r>t?(i.waiting=!0,i.current=!1):(i.current=!1,i.waiting=!1)}))}handleInteractivityChange(){this.notInteractive&&this.steps.forEach(t=>{t.current=!1,t.disabled=!1,t.notInteractive=!0})}render(){return this.size==="xs"&&this.orientation!=="vertical"?(console.warn('Size "xs" is only supported when orientation is "vertical". The element will not be rendered.'),h):c`<div role="${this.notInteractive?"group":"navigation"}" class="h-full" aria-label="${this.label}"><div role="list" part="base" class="${v("flex",this.orientation==="vertical"&&"flex-col h-full")}"><slot part="body"></slot></div></div>`}};e.styles=[...l.styles,o`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{width:-moz-max-content;width:max-content}`],s([m("[part=body]")],e.prototype,"body",2),s([a({type:String,reflect:!0})],e.prototype,"size",2),s([a({type:String,reflect:!0})],e.prototype,"orientation",2),s([a({type:Number,reflect:!0,attribute:"active-step"})],e.prototype,"activeStep",2),s([a({type:Boolean,reflect:!0,attribute:"not-interactive"})],e.prototype,"notInteractive",2),s([a({type:String,reflect:!0})],e.prototype,"label",2),s([n("activeStep",{waitUntilFirstUpdate:!0})],e.prototype,"handleActiveStepChange",1),s([n("size",{waitUntilFirstUpdate:!0})],e.prototype,"updateSize",1),s([n("orientation",{waitUntilFirstUpdate:!0})],e.prototype,"updateOrientation",1),s([n("notInteractive")],e.prototype,"handleInteractivityChange",1),e=s([f("sd-step-group")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as u}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.UFTAQNZB.js";import{a as o}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,c as r,d,h as n}from"./chunk.TFVRFH37.js";import{b as c,e as l}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new u(this,"default","left","right");this.current=!1;this.selected=!1;this.hasHover=!1;this.isKeyboardFocus=!1;this.size="lg";this.checkbox=!1;this.disabled=!1;this.value=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","option"),this.setAttribute("aria-selected","false")}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleValueChange(){this.value.includes(" ")&&(console.error("Option values cannot include a space. All spaces have been replaced with underscores.",this),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){var s;return((s=this.textContent)!=null?s:"").trim()}render(){let s={default:this.hasSlotController.test("default"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")};return l`<div part="base" style="word-break:break-word" class="${i("px-4 flex items-start w-full transition-colors duration-fast ease-in-out text-left text-base relative",{sm:"text-base py-1",md:"text-base py-2",lg:"text-base py-3"}[this.size],this.disabled?"text-neutral-500 cursor-not-allowed":"text-black cursor-pointer",this.hasHover&&!this.disabled?"bg-neutral-200":"",this.isKeyboardFocus?"focus-outline focus-outline-offset":"",this.current&&"bg-neutral-200")}" @mouseenter="${this.handleMouseEnter}" @mouseleave="${this.handleMouseLeave}"><span class="${i("absolute w-full left-0 top-0 pointer-events-none transition-[height,top] duration-fast ease-in-out border-l-4 h-[calc(100%-8px)]",this.selected&&!this.checkbox?"border-accent":"border-transparent",this.disabled&&"border-neutral-500 top-1",!this.disabled&&this.hasHover?"h-full top-0":"top-1")}"></span> ${this.checkbox?l`<span id="control" part="control ${this.selected?" control--checked":"control--unchecked"}" class="${i("relative flex flex-shrink-0 items-center justify-center border sd-checkbox-border-width rounded-sm h-4 w-4 mr-2",{sm:"mt-0.5",md:"mt-1",lg:"mt-1"}[this.size],this.disabled?"sd-option--disabled-color-border":this.selected?"bg-accent border-accent":"bg-white form-control-color-border")}">${this.selected?l`<sd-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-icon>`:""}</span>`:""} ${s.left?l`<slot name="left" part="left" class="inline-flex mr-2"></slot>`:""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${s.right?l`<slot name="right" part="right" class="inline-flex ml-2"></slot>`:""}</div>`}};e.styles=[...n.styles,c`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as u}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.UFTAQNZB.js";import{a as o}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,c as r,d,h as n}from"./chunk.ND7KR2OB.js";import{b as c,e as l}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new u(this,"default","left","right");this.current=!1;this.selected=!1;this.hasHover=!1;this.isKeyboardFocus=!1;this.size="lg";this.checkbox=!1;this.disabled=!1;this.value=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","option"),this.setAttribute("aria-selected","false")}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleValueChange(){this.value.includes(" ")&&(console.error("Option values cannot include a space. All spaces have been replaced with underscores.",this),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){var s;return((s=this.textContent)!=null?s:"").trim()}render(){let s={default:this.hasSlotController.test("default"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")};return l`<div part="base" style="word-break:break-word" class="${i("px-4 flex items-start w-full transition-colors duration-fast ease-in-out text-left text-base relative",{sm:"text-base py-1",md:"text-base py-2",lg:"text-base py-3"}[this.size],this.disabled?"text-neutral-500 cursor-not-allowed":"text-black cursor-pointer",this.hasHover&&!this.disabled?"bg-neutral-200":"",this.isKeyboardFocus?"focus-outline focus-outline-offset":"",this.current&&"bg-neutral-200")}" @mouseenter="${this.handleMouseEnter}" @mouseleave="${this.handleMouseLeave}"><span class="${i("absolute w-full left-0 top-0 pointer-events-none transition-[height,top] duration-fast ease-in-out border-l-4 h-[calc(100%-8px)]",this.selected&&!this.checkbox?"border-accent":"border-transparent",this.disabled&&"border-neutral-500 top-1",!this.disabled&&this.hasHover?"h-full top-0":"top-1")}"></span> ${this.checkbox?l`<span id="control" part="control ${this.selected?" control--checked":"control--unchecked"}" class="${i("relative flex flex-shrink-0 items-center justify-center border sd-checkbox-border-width rounded-sm h-4 w-4 mr-2",{sm:"mt-0.5",md:"mt-1",lg:"mt-1"}[this.size],this.disabled?"sd-option--disabled-color-border":this.selected?"bg-accent border-accent":"bg-white form-control-color-border")}">${this.selected?l`<sd-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-icon>`:""}</span>`:""} ${s.left?l`<slot name="left" part="left" class="inline-flex mr-2"></slot>`:""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${s.right?l`<slot name="right" part="right" class="inline-flex ml-2"></slot>`:""}</div>`}};e.styles=[...n.styles,c`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{position:relative;display:block;width:100%;--tw-outline-style:none!important;outline-style:none!important}.focus-outline-offset{outline-offset:-2px}.sd-option--disabled-color-border{border-color:rgb(var(--sd-option--disabled-color-border))}`],t([d('[part="base"]')],e.prototype,"defaultSlot",2),t([r()],e.prototype,"current",2),t([r()],e.prototype,"selected",2),t([r()],e.prototype,"hasHover",2),t([r()],e.prototype,"isKeyboardFocus",2),t([a({type:String,reflect:!0})],e.prototype,"size",2),t([a({type:Boolean,reflect:!0})],e.prototype,"checkbox",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a({type:String,reflect:!0})],e.prototype,"value",2),t([o("disabled")],e.prototype,"handleDisabledChange",1),t([o("selected")],e.prototype,"handleSelectedChange",1),t([o("value")],e.prototype,"handleValueChange",1),e=t([h("sd-option")],e);export{e as a};
@@ -1,4 +1,4 @@
1
- import{a}from"./chunk.UFTAQNZB.js";import{a as p,b as s,c as d,d as c,h as n}from"./chunk.TFVRFH37.js";import{b as l,e as r}from"./chunk.OBAEIKIV.js";import{e as i}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.variant="primary";this.shapes=["top","middle","bottom"];this.componentBreakpoint=0}getSvg(t,o){return{0:this.smallSvg(o),414:this.mediumSvg(o),640:this.largeSvg(o)}[t]}largeSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M610.777 1.393.001 120.146 0 123h700.001V74.79c0-4.797-.462-9.585-1.381-14.294-7.909-40.537-47.237-66.998-87.843-59.103Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 123"><path d="M89.224 121.607 700 2.854 700.001 0h-700L0 48.21c0 4.797.463 9.584 1.381 14.294 7.909 40.537 47.237 66.998 87.843 59.103Z"/></svg>`}mediumSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 119"><path d="M597.75 1.6 0 118.046V121h700V85.872c0-5.509-.53-11.006-1.583-16.413-9.063-46.543-54.133-76.924-100.667-67.86Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M102.25 119.4 700 2.954V0H0v35.128c0 5.509.53 11.006 1.583 16.413 9.063 46.543 54.134 76.924 100.667 67.859Z"/></svg>`}smallSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 113"><path d="M566.951 2.08 0 112.466v2.934h700v-3.672c0-7.166-.689-14.314-2.059-21.348-11.789-60.557-70.436-100.09-130.99-88.3Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 116"><path d="M133.049 113.32 700 2.934V0H0v3.672c0 7.165.69 14.314 2.059 21.348 11.79 60.557 70.436 100.09 130.99 88.3Z"/></svg>`}setBreakpoint(){switch(!0){case this.containerElem.clientWidth<=414:this.componentBreakpoint=0;break;case this.containerElem.clientWidth<640:this.componentBreakpoint=414;break;default:this.componentBreakpoint=640}}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>this.setBreakpoint()),this.updateComplete.then(()=>{this.setBreakpoint(),this.resizeObserver.observe(this.containerElem)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.containerElem)}renderTopBrandshape(){return r`<div class="relative" part="shape-top">${this.getSvg(this.componentBreakpoint,"top")} ${this.renderWhitespaceFix("top")}</div>`}renderMiddleBrandshape(){return r`<div class="${a({0:"px-6 py-4",414:"px-10 py-8",640:"px-10 py-8"}[this.componentBreakpoint],"w-full block relative")}"><div part="shape-middle" class="${a({"neutral-100":"sd-brandshape--neutral-100-color-background",primary:"sd-brandshape--primary-color-background",white:"sd-brandshape--white-color-background","border-white":"bg-transparent","border-primary":"bg-transparent","primary|80":"sd-brandshape--primary-80-color-background","white|80":"sd-brandshape--white-80-color-background",image:"bg-transparent"}[this.variant],"w-full block absolute h-full top-0 left-0 z-0")}"></div><div class="${a("z-10 relative",this.variant==="image"&&"invisible opacity-0")}" part="content"><slot>${this.variant==="image"?"":r`<div class="h-8"></div>`}</slot></div></div>`}renderBottomBrandshape(){return r`<div class="relative" part="shape-bottom">${this.getSvg(this.componentBreakpoint,"bottom")}${this.renderWhitespaceFix("bottom")}</div>`}renderWhitespaceFix(t){return r`<div class="${a({"neutral-100":"sd-brandshape--neutral-100-color-background",primary:"sd-brandshape--primary-color-background",white:"sd-brandshape--white-color-background","border-white":"bg-transparent","border-primary":"bg-transparent","primary|80":"sd-brandshape--primary-80-color-background","white|80":"sd-brandshape--white-80-color-background",image:"bg-transparent"}[this.variant],{top:"bottom-0",bottom:"top-0"}[t],"block absolute left-0 w-full",this.variant!=="primary|80"&&this.variant!=="white|80"?"h-[1px]":"")}"></div>`}renderStylizedVariant(){return r`<div part="stylized-container" class="w-full overflow-hidden"><slot class="${a(this.variant!=="image"&&"hidden")}" name="image"></slot></div>`}renderShapes(){return r`${this.shapes.includes("top")?this.renderTopBrandshape():""} ${this.shapes.includes("middle")?this.renderMiddleBrandshape():""} ${this.shapes.includes("bottom")?this.renderBottomBrandshape():""}`}render(){let t=this.variant.startsWith("border-")||this.variant==="image";return r`<div class="${a(t&&"fill-transparent","relative")}" part="base">${t?this.renderStylizedVariant():""} ${this.renderShapes()}</div>`}};e.styles=[...n.styles,l`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a}from"./chunk.UFTAQNZB.js";import{a as p,b as s,c as d,d as c,h as n}from"./chunk.ND7KR2OB.js";import{b as l,e as r}from"./chunk.OBAEIKIV.js";import{e as i}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.variant="primary";this.shapes=["top","middle","bottom"];this.componentBreakpoint=0}getSvg(t,o){return{0:this.smallSvg(o),414:this.mediumSvg(o),640:this.largeSvg(o)}[t]}largeSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M610.777 1.393.001 120.146 0 123h700.001V74.79c0-4.797-.462-9.585-1.381-14.294-7.909-40.537-47.237-66.998-87.843-59.103Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 123"><path d="M89.224 121.607 700 2.854 700.001 0h-700L0 48.21c0 4.797.463 9.584 1.381 14.294 7.909 40.537 47.237 66.998 87.843 59.103Z"/></svg>`}mediumSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 119"><path d="M597.75 1.6 0 118.046V121h700V85.872c0-5.509-.53-11.006-1.583-16.413-9.063-46.543-54.133-76.924-100.667-67.86Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M102.25 119.4 700 2.954V0H0v35.128c0 5.509.53 11.006 1.583 16.413 9.063 46.543 54.134 76.924 100.667 67.859Z"/></svg>`}smallSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 113"><path d="M566.951 2.08 0 112.466v2.934h700v-3.672c0-7.166-.689-14.314-2.059-21.348-11.789-60.557-70.436-100.09-130.99-88.3Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 116"><path d="M133.049 113.32 700 2.934V0H0v3.672c0 7.165.69 14.314 2.059 21.348 11.79 60.557 70.436 100.09 130.99 88.3Z"/></svg>`}setBreakpoint(){switch(!0){case this.containerElem.clientWidth<=414:this.componentBreakpoint=0;break;case this.containerElem.clientWidth<640:this.componentBreakpoint=414;break;default:this.componentBreakpoint=640}}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>this.setBreakpoint()),this.updateComplete.then(()=>{this.setBreakpoint(),this.resizeObserver.observe(this.containerElem)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.containerElem)}renderTopBrandshape(){return r`<div class="relative" part="shape-top">${this.getSvg(this.componentBreakpoint,"top")} ${this.renderWhitespaceFix("top")}</div>`}renderMiddleBrandshape(){return r`<div class="${a({0:"px-6 py-4",414:"px-10 py-8",640:"px-10 py-8"}[this.componentBreakpoint],"w-full block relative")}"><div part="shape-middle" class="${a({"neutral-100":"sd-brandshape--neutral-100-color-background",primary:"sd-brandshape--primary-color-background",white:"sd-brandshape--white-color-background","border-white":"bg-transparent","border-primary":"bg-transparent","primary|80":"sd-brandshape--primary-80-color-background","white|80":"sd-brandshape--white-80-color-background",image:"bg-transparent"}[this.variant],"w-full block absolute h-full top-0 left-0 z-0")}"></div><div class="${a("z-10 relative",this.variant==="image"&&"invisible opacity-0")}" part="content"><slot>${this.variant==="image"?"":r`<div class="h-8"></div>`}</slot></div></div>`}renderBottomBrandshape(){return r`<div class="relative" part="shape-bottom">${this.getSvg(this.componentBreakpoint,"bottom")}${this.renderWhitespaceFix("bottom")}</div>`}renderWhitespaceFix(t){return r`<div class="${a({"neutral-100":"sd-brandshape--neutral-100-color-background",primary:"sd-brandshape--primary-color-background",white:"sd-brandshape--white-color-background","border-white":"bg-transparent","border-primary":"bg-transparent","primary|80":"sd-brandshape--primary-80-color-background","white|80":"sd-brandshape--white-80-color-background",image:"bg-transparent"}[this.variant],{top:"bottom-0",bottom:"top-0"}[t],"block absolute left-0 w-full",this.variant!=="primary|80"&&this.variant!=="white|80"?"h-[1px]":"")}"></div>`}renderStylizedVariant(){return r`<div part="stylized-container" class="w-full overflow-hidden"><slot class="${a(this.variant!=="image"&&"hidden")}" name="image"></slot></div>`}renderShapes(){return r`${this.shapes.includes("top")?this.renderTopBrandshape():""} ${this.shapes.includes("middle")?this.renderMiddleBrandshape():""} ${this.shapes.includes("bottom")?this.renderBottomBrandshape():""}`}render(){let t=this.variant.startsWith("border-")||this.variant==="image";return r`<div class="${a(t&&"fill-transparent","relative")}" part="base">${t?this.renderStylizedVariant():""} ${this.renderShapes()}</div>`}};e.styles=[...n.styles,l`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
2
  :host{display:block;container-type:inline-size;--angle:11deg;--radius:60px;--tan:tan(var(--angle));--adjacent:100cqw;--opposite:calc(var(--tan) * var(--adjacent));--curve:calc(
3
3
  (var(--opposite) - (var(--radius) / 3)) * 0.5
4
4
  )}@supports not (transform:skewY(11deg)){:host{--tan:0.1943803091}}@media (min-width:415px){:host{--radius:72px}}@media (min-width:640px){:host{--radius:84px}}:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{position:absolute;top:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);transform:skewY(calc(var(--angle) * -1));height:calc(100% - var(--curve) * 2);border-radius:0 var(--radius);margin-top:calc(var(--curve))}slot[name=image]::slotted(img),slot[name=image]::slotted(video){width:100%;-o-object-fit:cover;object-fit:cover;transform:translateY(calc(var(--curve) * -1)) skewY(var(--angle));height:calc(100% + var(--curve) * 2)!important;position:absolute!important}@supports not (height:100cqw){:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{transform:unset;height:100%;margin-top:0}slot[name=image]::slotted(img),slot[name=image]::slotted(video){transform:unset;height:100%!important}}:host([variant=border-primary]){--internal-border-color:rgba(var(--sd-brandshape--primary-color-border, rgba(var(--sd-color-primary))))}:host([variant=border-white]){--internal-border-color:rgba(var(--sd-brandshape-color-border-white, rgba(var(--sd-color-white))))}:host([variant^=border-]) [part=stylized-container]::before{right:calc(var(--sd-spacing-1) * 0);border-style:var(--tw-border-style);border-width:var(--sd-border-width-2);--tw-border-style:solid;border-style:solid;content:'';border-color:var(--internal-border-color,#000)}:host([variant=neutral-100]) [part=base]{fill:rgba(var(--sd-brandshape--neutral-100-color-background,rgba(var(--sd-color-neutral-100))))}:host([variant=white]) [part=base]{fill:rgba(var(--sd-brandshape--white-color-background,rgba(var(--sd-color-white))))}:host([variant=primary]) [part=base]{fill:rgba(var(--sd-brandshape--primary-color-background,rgba(var(--sd-color-primary))))}:host([variant='primary|80']) [part=base]{fill:rgba(var(--sd-brandshape--primary-80-color-background,rgba(var(--sd-color-primary))))}:host([variant='white|80']) [part=base]{fill:rgba(var(--sd-brandshape--white-80-color-background,rgba(var(--sd-color-white))))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`],i([c("[part=base]")],e.prototype,"containerElem",2),i([s({type:String,reflect:!0})],e.prototype,"variant",2),i([s({type:Array})],e.prototype,"shapes",2),i([d()],e.prototype,"componentBreakpoint",2),e=i([p("sd-brandshape")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as Bt}from"./chunk.UFTAQNZB.js";import{a as kt,b as O,d as Et,h as Ct}from"./chunk.TFVRFH37.js";import{b as Dt,e as Rt}from"./chunk.OBAEIKIV.js";import{a as S,b as W,c as mt,e as A}from"./chunk.6EV4YU6C.js";var V=Math.min,T=Math.max,ft=Math.round,ut=Math.floor,$=t=>({x:t,y:t}),ge={left:"right",right:"left",bottom:"top",top:"bottom"};function gt(t,e,n){return T(t,V(e,n))}function Z(t,e){return typeof t=="function"?t(e):t}function Y(t){return t.split("-")[0]}function tt(t){return t.split("-")[1]}function St(t){return t==="x"?"y":"x"}function wt(t){return t==="y"?"height":"width"}function _(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function yt(t){return St(_(t))}function Nt(t,e,n){n===void 0&&(n=!1);let i=tt(t),o=yt(t),s=wt(o),r=o==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=at(r)),[r,at(r)]}function Ht(t){let e=at(t);return[pt(t),e,pt(e)]}function pt(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}var $t=["left","right"],Ft=["right","left"],we=["top","bottom"],ye=["bottom","top"];function xe(t,e,n){switch(t){case"top":case"bottom":return n?e?Ft:$t:e?$t:Ft;case"left":case"right":return e?we:ye;default:return[]}}function Wt(t,e,n,i){let o=tt(t),s=xe(Y(t),n==="start",i);return o&&(s=s.map(r=>r+"-"+o),e&&(s=s.concat(s.map(pt)))),s}function at(t){let e=Y(t);return ge[e]+t.slice(e.length)}function ve(t){return S({top:0,right:0,bottom:0,left:0},t)}function Tt(t){return typeof t!="number"?ve(t):{top:t,right:t,bottom:t,left:t}}function et(t){let{x:e,y:n,width:i,height:o}=t;return{width:i,height:o,top:n,left:e,right:e+i,bottom:n+o,x:e,y:n}}function Vt(t,e,n){let{reference:i,floating:o}=t,s=_(e),r=yt(e),c=wt(r),f=Y(e),u=s==="y",l=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,m=i[c]/2-o[c]/2,a;switch(f){case"top":a={x:l,y:i.y-o.height};break;case"bottom":a={x:l,y:i.y+i.height};break;case"right":a={x:i.x+i.width,y:h};break;case"left":a={x:i.x-o.width,y:h};break;default:a={x:i.x,y:i.y}}switch(tt(e)){case"start":a[r]-=m*(n&&u?-1:1);break;case"end":a[r]+=m*(n&&u?-1:1);break}return a}async function _t(t,e){var n;e===void 0&&(e={});let{x:i,y:o,platform:s,rects:r,elements:c,strategy:f}=t,{boundary:u="clippingAncestors",rootBoundary:l="viewport",elementContext:h="floating",altBoundary:m=!1,padding:a=0}=Z(e,t),d=Tt(a),w=c[m?h==="floating"?"reference":"floating":h],g=et(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:u,rootBoundary:l,strategy:f})),y=h==="floating"?{x:i,y:o,width:r.floating.width,height:r.floating.height}:r.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),b=await(s.isElement==null?void 0:s.isElement(v))?await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1}:{x:1,y:1},R=et(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:y,offsetParent:v,strategy:f}):y);return{top:(g.top-R.top+d.top)/b.y,bottom:(R.bottom-g.bottom+d.bottom)/b.y,left:(g.left-R.left+d.left)/b.x,right:(R.right-g.right+d.right)/b.x}}var be=50,jt=async(t,e,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:s=[],platform:r}=n,c=r.detectOverflow?r:W(S({},r),{detectOverflow:_t}),f=await(r.isRTL==null?void 0:r.isRTL(e)),u=await r.getElementRects({reference:t,floating:e,strategy:o}),{x:l,y:h}=Vt(u,i,f),m=i,a=0,d={};for(let p=0;p<s.length;p++){let w=s[p];if(!w)continue;let{name:g,fn:y}=w,{x:v,y:b,data:R,reset:E}=await y({x:l,y:h,initialPlacement:i,placement:m,strategy:o,middlewareData:d,rects:u,platform:c,elements:{reference:t,floating:e}});l=v!=null?v:l,h=b!=null?b:h,d[g]=S(S({},d[g]),R),E&&a<be&&(a++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(u=E.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:o}):E.rects),{x:l,y:h}=Vt(u,m,f)),p=-1)}return{x:l,y:h,placement:m,strategy:o,middlewareData:d}},It=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:o,rects:s,platform:r,elements:c,middlewareData:f}=e,{element:u,padding:l=0}=Z(t,e)||{};if(u==null)return{};let h=Tt(l),m={x:n,y:i},a=yt(o),d=wt(a),p=await r.getDimensions(u),w=a==="y",g=w?"top":"left",y=w?"bottom":"right",v=w?"clientHeight":"clientWidth",b=s.reference[d]+s.reference[a]-m[a]-s.floating[d],R=m[a]-s.reference[a],E=await(r.getOffsetParent==null?void 0:r.getOffsetParent(u)),C=E?E[v]:0;(!C||!await(r.isElement==null?void 0:r.isElement(E)))&&(C=c.floating[v]||s.floating[d]);let I=b/2-R/2,N=C/2-p[d]/2-1,z=V(h[g],N),U=V(h[y],N),H=z,K=C-p[d]-U,P=C/2-p[d]/2+I,k=gt(H,P,K),J=!f.arrow&&tt(o)!=null&&P!==k&&s.reference[d]/2-(P<H?z:U)-p[d]/2<0,X=J?P<H?P-H:P-K:0;return{[a]:m[a]+X,data:S({[a]:k,centerOffset:P-k-X},J&&{alignmentOffset:X}),reset:J}}});var Xt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,i;let{placement:o,middlewareData:s,rects:r,initialPlacement:c,platform:f,elements:u}=e,P=Z(t,e),{mainAxis:l=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:a="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:p=!0}=P,w=mt(P,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=s.arrow)!=null&&n.alignmentOffset)return{};let g=Y(o),y=_(c),v=Y(c)===c,b=await(f.isRTL==null?void 0:f.isRTL(u.floating)),R=m||(v||!p?[at(c)]:Ht(c)),E=d!=="none";!m&&E&&R.push(...Wt(c,p,d,b));let C=[c,...R],I=await f.detectOverflow(e,w),N=[],z=((i=s.flip)==null?void 0:i.overflows)||[];if(l&&N.push(I[g]),h){let k=Nt(o,r,b);N.push(I[k[0]],I[k[1]])}if(z=[...z,{placement:o,overflows:N}],!N.every(k=>k<=0)){var U,H;let k=(((U=s.flip)==null?void 0:U.index)||0)+1,J=C[k];if(J&&(!(h==="alignment"?y!==_(J):!1)||z.every(B=>_(B.placement)===y?B.overflows[0]>0:!0)))return{data:{index:k,overflows:z},reset:{placement:J}};let X=(H=z.filter(Q=>Q.overflows[0]<=0).sort((Q,B)=>Q.overflows[1]-B.overflows[1])[0])==null?void 0:H.placement;if(!X)switch(a){case"bestFit":{var K;let Q=(K=z.filter(B=>{if(E){let G=_(B.placement);return G===y||G==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(G=>G>0).reduce((G,pe)=>G+pe,0)]).sort((B,G)=>B[1]-G[1])[0])==null?void 0:K[0];Q&&(X=Q);break}case"initialPlacement":X=c;break}if(o!==X)return{reset:{placement:X}}}return{}}}};var Ae=new Set(["left","top"]);async function Oe(t,e){let{placement:n,platform:i,elements:o}=t,s=await(i.isRTL==null?void 0:i.isRTL(o.floating)),r=Y(n),c=tt(n),f=_(n)==="y",u=Ae.has(r)?-1:1,l=s&&f?-1:1,h=Z(e,t),{mainAxis:m,crossAxis:a,alignmentAxis:d}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&typeof d=="number"&&(a=c==="end"?d*-1:d),f?{x:a*l,y:m*u}:{x:m*u,y:a*l}}var Yt=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:o,y:s,placement:r,middlewareData:c}=e,f=await Oe(e,t);return r===((n=c.offset)==null?void 0:n.placement)&&(i=c.arrow)!=null&&i.alignmentOffset?{}:{x:o+f.x,y:s+f.y,data:W(S({},f),{placement:r})}}}},qt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:o,platform:s}=e,g=Z(t,e),{mainAxis:r=!0,crossAxis:c=!1,limiter:f={fn:y=>{let{x:v,y:b}=y;return{x:v,y:b}}}}=g,u=mt(g,["mainAxis","crossAxis","limiter"]),l={x:n,y:i},h=await s.detectOverflow(e,u),m=_(Y(o)),a=St(m),d=l[a],p=l[m];if(r){let y=a==="y"?"top":"left",v=a==="y"?"bottom":"right",b=d+h[y],R=d-h[v];d=gt(b,d,R)}if(c){let y=m==="y"?"top":"left",v=m==="y"?"bottom":"right",b=p+h[y],R=p-h[v];p=gt(b,p,R)}let w=f.fn(W(S({},e),{[a]:d,[m]:p}));return W(S({},w),{data:{x:w.x-n,y:w.y-i,enabled:{[a]:r,[m]:c}}})}}};var Ut=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,i;let{placement:o,rects:s,platform:r,elements:c}=e,z=Z(t,e),{apply:f=()=>{}}=z,u=mt(z,["apply"]),l=await r.detectOverflow(e,u),h=Y(o),m=tt(o),a=_(o)==="y",{width:d,height:p}=s.floating,w,g;h==="top"||h==="bottom"?(w=h,g=m===(await(r.isRTL==null?void 0:r.isRTL(c.floating))?"start":"end")?"left":"right"):(g=h,w=m==="end"?"top":"bottom");let y=p-l.top-l.bottom,v=d-l.left-l.right,b=V(p-l[w],y),R=V(d-l[g],v),E=!e.middlewareData.shift,C=b,I=R;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(I=v),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(C=y),E&&!m){let U=T(l.left,0),H=T(l.right,0),K=T(l.top,0),P=T(l.bottom,0);a?I=d-2*(U!==0||H!==0?U+H:T(l.left,l.right)):C=p-2*(K!==0||P!==0?K+P:T(l.top,l.bottom))}await f(W(S({},e),{availableWidth:I,availableHeight:C}));let N=await r.getDimensions(c.floating);return d!==N.width||p!==N.height?{reset:{rects:!0}}:{}}}};function xt(){return typeof window!="undefined"}function it(t){return Gt(t)?(t.nodeName||"").toLowerCase():"#document"}function L(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function F(t){var e;return(e=(Gt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Gt(t){return xt()?t instanceof Node||t instanceof L(t).Node:!1}function M(t){return xt()?t instanceof Element||t instanceof L(t).Element:!1}function j(t){return xt()?t instanceof HTMLElement||t instanceof L(t).HTMLElement:!1}function Kt(t){return!xt()||typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof L(t).ShadowRoot}function ct(t){let{overflow:e,overflowX:n,overflowY:i,display:o}=D(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&o!=="inline"&&o!=="contents"}function Jt(t){return/^(table|td|th)$/.test(it(t))}function ht(t){try{if(t.matches(":popover-open"))return!0}catch(e){}try{return t.matches(":modal")}catch(e){return!1}}var Re=/transform|translate|scale|rotate|perspective|filter/,Ee=/paint|layout|strict|content/,nt=t=>!!t&&t!=="none",Lt;function vt(t){let e=M(t)?D(t):t;return nt(e.transform)||nt(e.translate)||nt(e.scale)||nt(e.rotate)||nt(e.perspective)||!bt()&&(nt(e.backdropFilter)||nt(e.filter))||Re.test(e.willChange||"")||Ee.test(e.contain||"")}function Qt(t){let e=q(t);for(;j(e)&&!ot(e);){if(vt(e))return e;if(ht(e))return null;e=q(e)}return null}function bt(){return Lt==null&&(Lt=typeof CSS!="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Lt}function ot(t){return/^(html|body|#document)$/.test(it(t))}function D(t){return L(t).getComputedStyle(t)}function dt(t){return M(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function q(t){if(it(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Kt(t)&&t.host||F(t);return Kt(e)?e.host:e}function Zt(t){let e=q(t);return ot(e)?t.ownerDocument?t.ownerDocument.body:t.body:j(e)&&ct(e)?e:Zt(e)}function st(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);let o=Zt(t),s=o===((i=t.ownerDocument)==null?void 0:i.body),r=L(o);if(s){let c=At(r);return e.concat(r,r.visualViewport||[],ct(o)?o:[],c&&n?st(c):[])}else return e.concat(o,st(o,[],n))}function At(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ie(t){let e=D(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,o=j(t),s=o?t.offsetWidth:n,r=o?t.offsetHeight:i,c=ft(n)!==s||ft(i)!==r;return c&&(n=s,i=r),{width:n,height:i,$:c}}function zt(t){return M(t)?t:t.contextElement}function lt(t){let e=zt(t);if(!j(e))return $(1);let n=e.getBoundingClientRect(),{width:i,height:o,$:s}=ie(e),r=(s?ft(n.width):n.width)/i,c=(s?ft(n.height):n.height)/o;return(!r||!Number.isFinite(r))&&(r=1),(!c||!Number.isFinite(c))&&(c=1),{x:r,y:c}}var Ce=$(0);function oe(t){let e=L(t);return!bt()||!e.visualViewport?Ce:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Se(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==L(t)?!1:e}function rt(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);let o=t.getBoundingClientRect(),s=zt(t),r=$(1);e&&(i?M(i)&&(r=lt(i)):r=lt(t));let c=Se(s,n,i)?oe(s):$(0),f=(o.left+c.x)/r.x,u=(o.top+c.y)/r.y,l=o.width/r.x,h=o.height/r.y;if(s){let m=L(s),a=i&&M(i)?L(i):i,d=m,p=At(d);for(;p&&i&&a!==d;){let w=lt(p),g=p.getBoundingClientRect(),y=D(p),v=g.left+(p.clientLeft+parseFloat(y.paddingLeft))*w.x,b=g.top+(p.clientTop+parseFloat(y.paddingTop))*w.y;f*=w.x,u*=w.y,l*=w.x,h*=w.y,f+=v,u+=b,d=L(p),p=At(d)}}return et({width:l,height:h,x:f,y:u})}function Ot(t,e){let n=dt(t).scrollLeft;return e?e.left+n:rt(F(t)).left+n}function re(t,e){let n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-Ot(t,n),o=n.top+e.scrollTop;return{x:i,y:o}}function Te(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t,s=o==="fixed",r=F(i),c=e?ht(e.floating):!1;if(i===r||c&&s)return n;let f={scrollLeft:0,scrollTop:0},u=$(1),l=$(0),h=j(i);if((h||!h&&!s)&&((it(i)!=="body"||ct(r))&&(f=dt(i)),h)){let a=rt(i);u=lt(i),l.x=a.x+i.clientLeft,l.y=a.y+i.clientTop}let m=r&&!h&&!s?re(r,f):$(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-f.scrollLeft*u.x+l.x+m.x,y:n.y*u.y-f.scrollTop*u.y+l.y+m.y}}function Le(t){return Array.from(t.getClientRects())}function Pe(t){let e=F(t),n=dt(t),i=t.ownerDocument.body,o=T(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),s=T(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),r=-n.scrollLeft+Ot(t),c=-n.scrollTop;return D(i).direction==="rtl"&&(r+=T(e.clientWidth,i.clientWidth)-o),{width:o,height:s,x:r,y:c}}var te=25;function ze(t,e){let n=L(t),i=F(t),o=n.visualViewport,s=i.clientWidth,r=i.clientHeight,c=0,f=0;if(o){s=o.width,r=o.height;let l=bt();(!l||l&&e==="fixed")&&(c=o.offsetLeft,f=o.offsetTop)}let u=Ot(i);if(u<=0){let l=i.ownerDocument,h=l.body,m=getComputedStyle(h),a=l.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,d=Math.abs(i.clientWidth-h.clientWidth-a);d<=te&&(s-=d)}else u<=te&&(s+=u);return{width:s,height:r,x:c,y:f}}function Me(t,e){let n=rt(t,!0,e==="fixed"),i=n.top+t.clientTop,o=n.left+t.clientLeft,s=j(t)?lt(t):$(1),r=t.clientWidth*s.x,c=t.clientHeight*s.y,f=o*s.x,u=i*s.y;return{width:r,height:c,x:f,y:u}}function ee(t,e,n){let i;if(e==="viewport")i=ze(t,n);else if(e==="document")i=Pe(F(t));else if(M(e))i=Me(e,n);else{let o=oe(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return et(i)}function se(t,e){let n=q(t);return n===e||!M(n)||ot(n)?!1:D(n).position==="fixed"||se(n,e)}function De(t,e){let n=e.get(t);if(n)return n;let i=st(t,[],!1).filter(c=>M(c)&&it(c)!=="body"),o=null,s=D(t).position==="fixed",r=s?q(t):t;for(;M(r)&&!ot(r);){let c=D(r),f=vt(r);!f&&c.position==="fixed"&&(o=null),(s?!f&&!o:!f&&c.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||ct(r)&&!f&&se(t,r))?i=i.filter(l=>l!==r):o=c,r=q(r)}return e.set(t,i),i}function ke(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,r=[...n==="clippingAncestors"?ht(e)?[]:De(e,this._c):[].concat(n),i],c=ee(e,r[0],o),f=c.top,u=c.right,l=c.bottom,h=c.left;for(let m=1;m<r.length;m++){let a=ee(e,r[m],o);f=T(a.top,f),u=V(a.right,u),l=V(a.bottom,l),h=T(a.left,h)}return{width:u-h,height:l-f,x:h,y:f}}function Be(t){let{width:e,height:n}=ie(t);return{width:e,height:n}}function $e(t,e,n){let i=j(e),o=F(e),s=n==="fixed",r=rt(t,!0,s,e),c={scrollLeft:0,scrollTop:0},f=$(0);function u(){f.x=Ot(o)}if(i||!i&&!s)if((it(e)!=="body"||ct(o))&&(c=dt(e)),i){let a=rt(e,!0,s,e);f.x=a.x+e.clientLeft,f.y=a.y+e.clientTop}else o&&u();s&&!i&&o&&u();let l=o&&!i&&!s?re(o,c):$(0),h=r.left+c.scrollLeft-f.x-l.x,m=r.top+c.scrollTop-f.y-l.y;return{x:h,y:m,width:r.width,height:r.height}}function Pt(t){return D(t).position==="static"}function ne(t,e){if(!j(t)||D(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return F(t)===n&&(n=n.ownerDocument.body),n}function ce(t,e){let n=L(t);if(ht(t))return n;if(!j(t)){let o=q(t);for(;o&&!ot(o);){if(M(o)&&!Pt(o))return o;o=q(o)}return n}let i=ne(t,e);for(;i&&Jt(i)&&Pt(i);)i=ne(i,e);return i&&ot(i)&&Pt(i)&&!vt(i)?n:i||Qt(t)||n}var Fe=async function(t){let e=this.getOffsetParent||ce,n=this.getDimensions,i=await n(t.floating);return{reference:$e(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Ne(t){return D(t).direction==="rtl"}var He={convertOffsetParentRelativeRectToViewportRelativeRect:Te,getDocumentElement:F,getClippingRect:ke,getOffsetParent:ce,getElementRects:Fe,getClientRects:Le,getDimensions:Be,getScale:lt,isElement:M,isRTL:Ne};function le(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function We(t,e){let n=null,i,o=F(t);function s(){var c;clearTimeout(i),(c=n)==null||c.disconnect(),n=null}function r(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),s();let u=t.getBoundingClientRect(),{left:l,top:h,width:m,height:a}=u;if(c||e(),!m||!a)return;let d=ut(h),p=ut(o.clientWidth-(l+m)),w=ut(o.clientHeight-(h+a)),g=ut(l),v={rootMargin:-d+"px "+-p+"px "+-w+"px "+-g+"px",threshold:T(0,V(1,f))||1},b=!0;function R(E){let C=E[0].intersectionRatio;if(C!==f){if(!b)return r();C?r(!1,C):i=setTimeout(()=>{r(!1,1e-7)},1e3)}C===1&&!le(u,t.getBoundingClientRect())&&r(),b=!1}try{n=new IntersectionObserver(R,W(S({},v),{root:o.ownerDocument}))}catch(E){n=new IntersectionObserver(R,v)}n.observe(t)}return r(!0),s}function ae(t,e,n,i){i===void 0&&(i={});let{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:f=!1}=i,u=zt(t),l=o||s?[...u?st(u):[],...e?st(e):[]]:[];l.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});let h=u&&c?We(u,n):null,m=-1,a=null;r&&(a=new ResizeObserver(g=>{let[y]=g;y&&y.target===u&&a&&e&&(a.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var v;(v=a)==null||v.observe(e)})),n()}),u&&!f&&a.observe(u),e&&a.observe(e));let d,p=f?rt(t):null;f&&w();function w(){let g=rt(t);p&&!le(p,g)&&n(),p=g,d=requestAnimationFrame(w)}return n(),()=>{var g;l.forEach(y=>{o&&y.removeEventListener("scroll",n),s&&y.removeEventListener("resize",n)}),h==null||h(),(g=a)==null||g.disconnect(),a=null,f&&cancelAnimationFrame(d)}}var fe=Yt;var ue=qt,he=Xt,Mt=Ut;var de=It;var me=(t,e,n)=>{let i=new Map,o=S({platform:He},n),s=W(S({},o.platform),{_c:i});return jt(t,e,W(S({},o),{platform:s}))};var x=class extends Ct{constructor(){super(...arguments);this.active=!1;this.placement="top";this.strategy="absolute";this.distance=0;this.skidding=0;this.arrow=!1;this.arrowPlacement="anchor";this.arrowPadding=10;this.flip=!1;this.flipFallbackPlacements="";this.flipFallbackStrategy="best-fit";this.flipPadding=0;this.shift=!1;this.shiftPadding=0;this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start(),this.setupMutationObserver()}disconnectedCallback(){this.stop(),this.mutationObserver&&this.mutationObserver.disconnect()}async updated(n){super.updated(n),n.has("active")&&(this.active?this.start():this.stop()),n.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}setupMutationObserver(){this.mutationObserver=new MutationObserver(i=>this.handleCurrentPlacementChange(i));let n={attributes:!0};this.mutationObserver.observe(this,n)}handleCurrentPlacementChange(n){return n.forEach(i=>{if(i.attributeName==="data-current-placement"){let o=this.getAttribute("data-current-placement");this.emit("sd-current-placement",{detail:o})}})}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){let n=this.getRootNode();this.anchorEl=n.getElementById(this.anchor)}else this.anchor instanceof HTMLElement?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');if(this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),!this.anchorEl)throw new Error("Invalid anchor element: no anchor could be found using the anchor slot or the anchor attribute.");this.start()}start(){this.anchorEl&&(this.cleanup=ae(this.anchorEl,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(n=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>n())):n()})}reposition(){if(!this.active||!this.anchorEl)return;let n=[fe({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?n.push(Mt({apply:({rects:i})=>{let o=this.sync==="width"||this.sync==="both",s=this.sync==="height"||this.sync==="both";this.popup.style.width=o?`${i.reference.width}px`:"",this.popup.style.height=s?`${i.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&n.push(he({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&n.push(ue({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?n.push(Mt({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:i,availableHeight:o})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${o}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${i}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&n.push(de({element:this.arrowEl,padding:this.arrowPadding})),me(this.anchorEl,this.popup,{placement:this.placement,middleware:n,strategy:this.strategy}).then(({x:i,y:o,middlewareData:s,placement:r})=>{let c=getComputedStyle(this).direction==="rtl",f={top:"bottom",right:"left",bottom:"top",left:"right"}[r.split("-")[0]];if(this.setAttribute("data-current-placement",r),Object.assign(this.popup.style,{left:`${i}px`,top:`${o}px`}),this.arrow){let u=s.arrow.x,l=s.arrow.y,h="",m="",a="",d="";if(this.arrowPlacement==="start"){let p=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";h=typeof l=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",m=c?p:"",d=c?"":p}else if(this.arrowPlacement==="end"){let p=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";m=c?"":p,d=c?p:"",a=typeof l=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(d=typeof u=="number"?"calc(50% - var(--arrow-size-diagonal))":"",h=typeof l=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(d=typeof u=="number"?`${u}px`:"",h=typeof l=="number"?`${l}px`:"");Object.assign(this.arrowEl.style,{top:h,right:m,bottom:a,left:d,[f]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sd-reposition")}render(){return Rt`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${Bt("isolate z-20",this.strategy!=="fixed"?"absolute":"fixed",!this.active&&"hidden")}"><slot></slot>${this.arrow?Rt`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>`:""}</div>`}};x.styles=[...Ct.styles,Dt`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as Bt}from"./chunk.UFTAQNZB.js";import{a as kt,b as O,d as Et,h as Ct}from"./chunk.ND7KR2OB.js";import{b as Dt,e as Rt}from"./chunk.OBAEIKIV.js";import{a as S,b as W,c as mt,e as A}from"./chunk.6EV4YU6C.js";var V=Math.min,T=Math.max,ft=Math.round,ut=Math.floor,$=t=>({x:t,y:t}),ge={left:"right",right:"left",bottom:"top",top:"bottom"};function gt(t,e,n){return T(t,V(e,n))}function Z(t,e){return typeof t=="function"?t(e):t}function Y(t){return t.split("-")[0]}function tt(t){return t.split("-")[1]}function St(t){return t==="x"?"y":"x"}function wt(t){return t==="y"?"height":"width"}function _(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function yt(t){return St(_(t))}function Nt(t,e,n){n===void 0&&(n=!1);let i=tt(t),o=yt(t),s=wt(o),r=o==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=at(r)),[r,at(r)]}function Ht(t){let e=at(t);return[pt(t),e,pt(e)]}function pt(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}var $t=["left","right"],Ft=["right","left"],we=["top","bottom"],ye=["bottom","top"];function xe(t,e,n){switch(t){case"top":case"bottom":return n?e?Ft:$t:e?$t:Ft;case"left":case"right":return e?we:ye;default:return[]}}function Wt(t,e,n,i){let o=tt(t),s=xe(Y(t),n==="start",i);return o&&(s=s.map(r=>r+"-"+o),e&&(s=s.concat(s.map(pt)))),s}function at(t){let e=Y(t);return ge[e]+t.slice(e.length)}function ve(t){return S({top:0,right:0,bottom:0,left:0},t)}function Tt(t){return typeof t!="number"?ve(t):{top:t,right:t,bottom:t,left:t}}function et(t){let{x:e,y:n,width:i,height:o}=t;return{width:i,height:o,top:n,left:e,right:e+i,bottom:n+o,x:e,y:n}}function Vt(t,e,n){let{reference:i,floating:o}=t,s=_(e),r=yt(e),c=wt(r),f=Y(e),u=s==="y",l=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,m=i[c]/2-o[c]/2,a;switch(f){case"top":a={x:l,y:i.y-o.height};break;case"bottom":a={x:l,y:i.y+i.height};break;case"right":a={x:i.x+i.width,y:h};break;case"left":a={x:i.x-o.width,y:h};break;default:a={x:i.x,y:i.y}}switch(tt(e)){case"start":a[r]-=m*(n&&u?-1:1);break;case"end":a[r]+=m*(n&&u?-1:1);break}return a}async function _t(t,e){var n;e===void 0&&(e={});let{x:i,y:o,platform:s,rects:r,elements:c,strategy:f}=t,{boundary:u="clippingAncestors",rootBoundary:l="viewport",elementContext:h="floating",altBoundary:m=!1,padding:a=0}=Z(e,t),d=Tt(a),w=c[m?h==="floating"?"reference":"floating":h],g=et(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:u,rootBoundary:l,strategy:f})),y=h==="floating"?{x:i,y:o,width:r.floating.width,height:r.floating.height}:r.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),b=await(s.isElement==null?void 0:s.isElement(v))?await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1}:{x:1,y:1},R=et(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:y,offsetParent:v,strategy:f}):y);return{top:(g.top-R.top+d.top)/b.y,bottom:(R.bottom-g.bottom+d.bottom)/b.y,left:(g.left-R.left+d.left)/b.x,right:(R.right-g.right+d.right)/b.x}}var be=50,jt=async(t,e,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:s=[],platform:r}=n,c=r.detectOverflow?r:W(S({},r),{detectOverflow:_t}),f=await(r.isRTL==null?void 0:r.isRTL(e)),u=await r.getElementRects({reference:t,floating:e,strategy:o}),{x:l,y:h}=Vt(u,i,f),m=i,a=0,d={};for(let p=0;p<s.length;p++){let w=s[p];if(!w)continue;let{name:g,fn:y}=w,{x:v,y:b,data:R,reset:E}=await y({x:l,y:h,initialPlacement:i,placement:m,strategy:o,middlewareData:d,rects:u,platform:c,elements:{reference:t,floating:e}});l=v!=null?v:l,h=b!=null?b:h,d[g]=S(S({},d[g]),R),E&&a<be&&(a++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(u=E.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:o}):E.rects),{x:l,y:h}=Vt(u,m,f)),p=-1)}return{x:l,y:h,placement:m,strategy:o,middlewareData:d}},It=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:o,rects:s,platform:r,elements:c,middlewareData:f}=e,{element:u,padding:l=0}=Z(t,e)||{};if(u==null)return{};let h=Tt(l),m={x:n,y:i},a=yt(o),d=wt(a),p=await r.getDimensions(u),w=a==="y",g=w?"top":"left",y=w?"bottom":"right",v=w?"clientHeight":"clientWidth",b=s.reference[d]+s.reference[a]-m[a]-s.floating[d],R=m[a]-s.reference[a],E=await(r.getOffsetParent==null?void 0:r.getOffsetParent(u)),C=E?E[v]:0;(!C||!await(r.isElement==null?void 0:r.isElement(E)))&&(C=c.floating[v]||s.floating[d]);let I=b/2-R/2,N=C/2-p[d]/2-1,z=V(h[g],N),U=V(h[y],N),H=z,K=C-p[d]-U,P=C/2-p[d]/2+I,k=gt(H,P,K),J=!f.arrow&&tt(o)!=null&&P!==k&&s.reference[d]/2-(P<H?z:U)-p[d]/2<0,X=J?P<H?P-H:P-K:0;return{[a]:m[a]+X,data:S({[a]:k,centerOffset:P-k-X},J&&{alignmentOffset:X}),reset:J}}});var Xt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,i;let{placement:o,middlewareData:s,rects:r,initialPlacement:c,platform:f,elements:u}=e,P=Z(t,e),{mainAxis:l=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:a="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:p=!0}=P,w=mt(P,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=s.arrow)!=null&&n.alignmentOffset)return{};let g=Y(o),y=_(c),v=Y(c)===c,b=await(f.isRTL==null?void 0:f.isRTL(u.floating)),R=m||(v||!p?[at(c)]:Ht(c)),E=d!=="none";!m&&E&&R.push(...Wt(c,p,d,b));let C=[c,...R],I=await f.detectOverflow(e,w),N=[],z=((i=s.flip)==null?void 0:i.overflows)||[];if(l&&N.push(I[g]),h){let k=Nt(o,r,b);N.push(I[k[0]],I[k[1]])}if(z=[...z,{placement:o,overflows:N}],!N.every(k=>k<=0)){var U,H;let k=(((U=s.flip)==null?void 0:U.index)||0)+1,J=C[k];if(J&&(!(h==="alignment"?y!==_(J):!1)||z.every(B=>_(B.placement)===y?B.overflows[0]>0:!0)))return{data:{index:k,overflows:z},reset:{placement:J}};let X=(H=z.filter(Q=>Q.overflows[0]<=0).sort((Q,B)=>Q.overflows[1]-B.overflows[1])[0])==null?void 0:H.placement;if(!X)switch(a){case"bestFit":{var K;let Q=(K=z.filter(B=>{if(E){let G=_(B.placement);return G===y||G==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(G=>G>0).reduce((G,pe)=>G+pe,0)]).sort((B,G)=>B[1]-G[1])[0])==null?void 0:K[0];Q&&(X=Q);break}case"initialPlacement":X=c;break}if(o!==X)return{reset:{placement:X}}}return{}}}};var Ae=new Set(["left","top"]);async function Oe(t,e){let{placement:n,platform:i,elements:o}=t,s=await(i.isRTL==null?void 0:i.isRTL(o.floating)),r=Y(n),c=tt(n),f=_(n)==="y",u=Ae.has(r)?-1:1,l=s&&f?-1:1,h=Z(e,t),{mainAxis:m,crossAxis:a,alignmentAxis:d}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&typeof d=="number"&&(a=c==="end"?d*-1:d),f?{x:a*l,y:m*u}:{x:m*u,y:a*l}}var Yt=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:o,y:s,placement:r,middlewareData:c}=e,f=await Oe(e,t);return r===((n=c.offset)==null?void 0:n.placement)&&(i=c.arrow)!=null&&i.alignmentOffset?{}:{x:o+f.x,y:s+f.y,data:W(S({},f),{placement:r})}}}},qt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:o,platform:s}=e,g=Z(t,e),{mainAxis:r=!0,crossAxis:c=!1,limiter:f={fn:y=>{let{x:v,y:b}=y;return{x:v,y:b}}}}=g,u=mt(g,["mainAxis","crossAxis","limiter"]),l={x:n,y:i},h=await s.detectOverflow(e,u),m=_(Y(o)),a=St(m),d=l[a],p=l[m];if(r){let y=a==="y"?"top":"left",v=a==="y"?"bottom":"right",b=d+h[y],R=d-h[v];d=gt(b,d,R)}if(c){let y=m==="y"?"top":"left",v=m==="y"?"bottom":"right",b=p+h[y],R=p-h[v];p=gt(b,p,R)}let w=f.fn(W(S({},e),{[a]:d,[m]:p}));return W(S({},w),{data:{x:w.x-n,y:w.y-i,enabled:{[a]:r,[m]:c}}})}}};var Ut=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,i;let{placement:o,rects:s,platform:r,elements:c}=e,z=Z(t,e),{apply:f=()=>{}}=z,u=mt(z,["apply"]),l=await r.detectOverflow(e,u),h=Y(o),m=tt(o),a=_(o)==="y",{width:d,height:p}=s.floating,w,g;h==="top"||h==="bottom"?(w=h,g=m===(await(r.isRTL==null?void 0:r.isRTL(c.floating))?"start":"end")?"left":"right"):(g=h,w=m==="end"?"top":"bottom");let y=p-l.top-l.bottom,v=d-l.left-l.right,b=V(p-l[w],y),R=V(d-l[g],v),E=!e.middlewareData.shift,C=b,I=R;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(I=v),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(C=y),E&&!m){let U=T(l.left,0),H=T(l.right,0),K=T(l.top,0),P=T(l.bottom,0);a?I=d-2*(U!==0||H!==0?U+H:T(l.left,l.right)):C=p-2*(K!==0||P!==0?K+P:T(l.top,l.bottom))}await f(W(S({},e),{availableWidth:I,availableHeight:C}));let N=await r.getDimensions(c.floating);return d!==N.width||p!==N.height?{reset:{rects:!0}}:{}}}};function xt(){return typeof window!="undefined"}function it(t){return Gt(t)?(t.nodeName||"").toLowerCase():"#document"}function L(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function F(t){var e;return(e=(Gt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Gt(t){return xt()?t instanceof Node||t instanceof L(t).Node:!1}function M(t){return xt()?t instanceof Element||t instanceof L(t).Element:!1}function j(t){return xt()?t instanceof HTMLElement||t instanceof L(t).HTMLElement:!1}function Kt(t){return!xt()||typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof L(t).ShadowRoot}function ct(t){let{overflow:e,overflowX:n,overflowY:i,display:o}=D(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&o!=="inline"&&o!=="contents"}function Jt(t){return/^(table|td|th)$/.test(it(t))}function ht(t){try{if(t.matches(":popover-open"))return!0}catch(e){}try{return t.matches(":modal")}catch(e){return!1}}var Re=/transform|translate|scale|rotate|perspective|filter/,Ee=/paint|layout|strict|content/,nt=t=>!!t&&t!=="none",Lt;function vt(t){let e=M(t)?D(t):t;return nt(e.transform)||nt(e.translate)||nt(e.scale)||nt(e.rotate)||nt(e.perspective)||!bt()&&(nt(e.backdropFilter)||nt(e.filter))||Re.test(e.willChange||"")||Ee.test(e.contain||"")}function Qt(t){let e=q(t);for(;j(e)&&!ot(e);){if(vt(e))return e;if(ht(e))return null;e=q(e)}return null}function bt(){return Lt==null&&(Lt=typeof CSS!="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Lt}function ot(t){return/^(html|body|#document)$/.test(it(t))}function D(t){return L(t).getComputedStyle(t)}function dt(t){return M(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function q(t){if(it(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Kt(t)&&t.host||F(t);return Kt(e)?e.host:e}function Zt(t){let e=q(t);return ot(e)?t.ownerDocument?t.ownerDocument.body:t.body:j(e)&&ct(e)?e:Zt(e)}function st(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);let o=Zt(t),s=o===((i=t.ownerDocument)==null?void 0:i.body),r=L(o);if(s){let c=At(r);return e.concat(r,r.visualViewport||[],ct(o)?o:[],c&&n?st(c):[])}else return e.concat(o,st(o,[],n))}function At(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ie(t){let e=D(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,o=j(t),s=o?t.offsetWidth:n,r=o?t.offsetHeight:i,c=ft(n)!==s||ft(i)!==r;return c&&(n=s,i=r),{width:n,height:i,$:c}}function zt(t){return M(t)?t:t.contextElement}function lt(t){let e=zt(t);if(!j(e))return $(1);let n=e.getBoundingClientRect(),{width:i,height:o,$:s}=ie(e),r=(s?ft(n.width):n.width)/i,c=(s?ft(n.height):n.height)/o;return(!r||!Number.isFinite(r))&&(r=1),(!c||!Number.isFinite(c))&&(c=1),{x:r,y:c}}var Ce=$(0);function oe(t){let e=L(t);return!bt()||!e.visualViewport?Ce:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Se(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==L(t)?!1:e}function rt(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);let o=t.getBoundingClientRect(),s=zt(t),r=$(1);e&&(i?M(i)&&(r=lt(i)):r=lt(t));let c=Se(s,n,i)?oe(s):$(0),f=(o.left+c.x)/r.x,u=(o.top+c.y)/r.y,l=o.width/r.x,h=o.height/r.y;if(s){let m=L(s),a=i&&M(i)?L(i):i,d=m,p=At(d);for(;p&&i&&a!==d;){let w=lt(p),g=p.getBoundingClientRect(),y=D(p),v=g.left+(p.clientLeft+parseFloat(y.paddingLeft))*w.x,b=g.top+(p.clientTop+parseFloat(y.paddingTop))*w.y;f*=w.x,u*=w.y,l*=w.x,h*=w.y,f+=v,u+=b,d=L(p),p=At(d)}}return et({width:l,height:h,x:f,y:u})}function Ot(t,e){let n=dt(t).scrollLeft;return e?e.left+n:rt(F(t)).left+n}function re(t,e){let n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-Ot(t,n),o=n.top+e.scrollTop;return{x:i,y:o}}function Te(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t,s=o==="fixed",r=F(i),c=e?ht(e.floating):!1;if(i===r||c&&s)return n;let f={scrollLeft:0,scrollTop:0},u=$(1),l=$(0),h=j(i);if((h||!h&&!s)&&((it(i)!=="body"||ct(r))&&(f=dt(i)),h)){let a=rt(i);u=lt(i),l.x=a.x+i.clientLeft,l.y=a.y+i.clientTop}let m=r&&!h&&!s?re(r,f):$(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-f.scrollLeft*u.x+l.x+m.x,y:n.y*u.y-f.scrollTop*u.y+l.y+m.y}}function Le(t){return Array.from(t.getClientRects())}function Pe(t){let e=F(t),n=dt(t),i=t.ownerDocument.body,o=T(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),s=T(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),r=-n.scrollLeft+Ot(t),c=-n.scrollTop;return D(i).direction==="rtl"&&(r+=T(e.clientWidth,i.clientWidth)-o),{width:o,height:s,x:r,y:c}}var te=25;function ze(t,e){let n=L(t),i=F(t),o=n.visualViewport,s=i.clientWidth,r=i.clientHeight,c=0,f=0;if(o){s=o.width,r=o.height;let l=bt();(!l||l&&e==="fixed")&&(c=o.offsetLeft,f=o.offsetTop)}let u=Ot(i);if(u<=0){let l=i.ownerDocument,h=l.body,m=getComputedStyle(h),a=l.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,d=Math.abs(i.clientWidth-h.clientWidth-a);d<=te&&(s-=d)}else u<=te&&(s+=u);return{width:s,height:r,x:c,y:f}}function Me(t,e){let n=rt(t,!0,e==="fixed"),i=n.top+t.clientTop,o=n.left+t.clientLeft,s=j(t)?lt(t):$(1),r=t.clientWidth*s.x,c=t.clientHeight*s.y,f=o*s.x,u=i*s.y;return{width:r,height:c,x:f,y:u}}function ee(t,e,n){let i;if(e==="viewport")i=ze(t,n);else if(e==="document")i=Pe(F(t));else if(M(e))i=Me(e,n);else{let o=oe(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return et(i)}function se(t,e){let n=q(t);return n===e||!M(n)||ot(n)?!1:D(n).position==="fixed"||se(n,e)}function De(t,e){let n=e.get(t);if(n)return n;let i=st(t,[],!1).filter(c=>M(c)&&it(c)!=="body"),o=null,s=D(t).position==="fixed",r=s?q(t):t;for(;M(r)&&!ot(r);){let c=D(r),f=vt(r);!f&&c.position==="fixed"&&(o=null),(s?!f&&!o:!f&&c.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||ct(r)&&!f&&se(t,r))?i=i.filter(l=>l!==r):o=c,r=q(r)}return e.set(t,i),i}function ke(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,r=[...n==="clippingAncestors"?ht(e)?[]:De(e,this._c):[].concat(n),i],c=ee(e,r[0],o),f=c.top,u=c.right,l=c.bottom,h=c.left;for(let m=1;m<r.length;m++){let a=ee(e,r[m],o);f=T(a.top,f),u=V(a.right,u),l=V(a.bottom,l),h=T(a.left,h)}return{width:u-h,height:l-f,x:h,y:f}}function Be(t){let{width:e,height:n}=ie(t);return{width:e,height:n}}function $e(t,e,n){let i=j(e),o=F(e),s=n==="fixed",r=rt(t,!0,s,e),c={scrollLeft:0,scrollTop:0},f=$(0);function u(){f.x=Ot(o)}if(i||!i&&!s)if((it(e)!=="body"||ct(o))&&(c=dt(e)),i){let a=rt(e,!0,s,e);f.x=a.x+e.clientLeft,f.y=a.y+e.clientTop}else o&&u();s&&!i&&o&&u();let l=o&&!i&&!s?re(o,c):$(0),h=r.left+c.scrollLeft-f.x-l.x,m=r.top+c.scrollTop-f.y-l.y;return{x:h,y:m,width:r.width,height:r.height}}function Pt(t){return D(t).position==="static"}function ne(t,e){if(!j(t)||D(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return F(t)===n&&(n=n.ownerDocument.body),n}function ce(t,e){let n=L(t);if(ht(t))return n;if(!j(t)){let o=q(t);for(;o&&!ot(o);){if(M(o)&&!Pt(o))return o;o=q(o)}return n}let i=ne(t,e);for(;i&&Jt(i)&&Pt(i);)i=ne(i,e);return i&&ot(i)&&Pt(i)&&!vt(i)?n:i||Qt(t)||n}var Fe=async function(t){let e=this.getOffsetParent||ce,n=this.getDimensions,i=await n(t.floating);return{reference:$e(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Ne(t){return D(t).direction==="rtl"}var He={convertOffsetParentRelativeRectToViewportRelativeRect:Te,getDocumentElement:F,getClippingRect:ke,getOffsetParent:ce,getElementRects:Fe,getClientRects:Le,getDimensions:Be,getScale:lt,isElement:M,isRTL:Ne};function le(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function We(t,e){let n=null,i,o=F(t);function s(){var c;clearTimeout(i),(c=n)==null||c.disconnect(),n=null}function r(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),s();let u=t.getBoundingClientRect(),{left:l,top:h,width:m,height:a}=u;if(c||e(),!m||!a)return;let d=ut(h),p=ut(o.clientWidth-(l+m)),w=ut(o.clientHeight-(h+a)),g=ut(l),v={rootMargin:-d+"px "+-p+"px "+-w+"px "+-g+"px",threshold:T(0,V(1,f))||1},b=!0;function R(E){let C=E[0].intersectionRatio;if(C!==f){if(!b)return r();C?r(!1,C):i=setTimeout(()=>{r(!1,1e-7)},1e3)}C===1&&!le(u,t.getBoundingClientRect())&&r(),b=!1}try{n=new IntersectionObserver(R,W(S({},v),{root:o.ownerDocument}))}catch(E){n=new IntersectionObserver(R,v)}n.observe(t)}return r(!0),s}function ae(t,e,n,i){i===void 0&&(i={});let{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:f=!1}=i,u=zt(t),l=o||s?[...u?st(u):[],...e?st(e):[]]:[];l.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});let h=u&&c?We(u,n):null,m=-1,a=null;r&&(a=new ResizeObserver(g=>{let[y]=g;y&&y.target===u&&a&&e&&(a.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var v;(v=a)==null||v.observe(e)})),n()}),u&&!f&&a.observe(u),e&&a.observe(e));let d,p=f?rt(t):null;f&&w();function w(){let g=rt(t);p&&!le(p,g)&&n(),p=g,d=requestAnimationFrame(w)}return n(),()=>{var g;l.forEach(y=>{o&&y.removeEventListener("scroll",n),s&&y.removeEventListener("resize",n)}),h==null||h(),(g=a)==null||g.disconnect(),a=null,f&&cancelAnimationFrame(d)}}var fe=Yt;var ue=qt,he=Xt,Mt=Ut;var de=It;var me=(t,e,n)=>{let i=new Map,o=S({platform:He},n),s=W(S({},o.platform),{_c:i});return jt(t,e,W(S({},o),{platform:s}))};var x=class extends Ct{constructor(){super(...arguments);this.active=!1;this.placement="top";this.strategy="absolute";this.distance=0;this.skidding=0;this.arrow=!1;this.arrowPlacement="anchor";this.arrowPadding=10;this.flip=!1;this.flipFallbackPlacements="";this.flipFallbackStrategy="best-fit";this.flipPadding=0;this.shift=!1;this.shiftPadding=0;this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start(),this.setupMutationObserver()}disconnectedCallback(){this.stop(),this.mutationObserver&&this.mutationObserver.disconnect()}async updated(n){super.updated(n),n.has("active")&&(this.active?this.start():this.stop()),n.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}setupMutationObserver(){this.mutationObserver=new MutationObserver(i=>this.handleCurrentPlacementChange(i));let n={attributes:!0};this.mutationObserver.observe(this,n)}handleCurrentPlacementChange(n){return n.forEach(i=>{if(i.attributeName==="data-current-placement"){let o=this.getAttribute("data-current-placement");this.emit("sd-current-placement",{detail:o})}})}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){let n=this.getRootNode();this.anchorEl=n.getElementById(this.anchor)}else this.anchor instanceof HTMLElement?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');if(this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),!this.anchorEl)throw new Error("Invalid anchor element: no anchor could be found using the anchor slot or the anchor attribute.");this.start()}start(){this.anchorEl&&(this.cleanup=ae(this.anchorEl,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(n=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>n())):n()})}reposition(){if(!this.active||!this.anchorEl)return;let n=[fe({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?n.push(Mt({apply:({rects:i})=>{let o=this.sync==="width"||this.sync==="both",s=this.sync==="height"||this.sync==="both";this.popup.style.width=o?`${i.reference.width}px`:"",this.popup.style.height=s?`${i.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&n.push(he({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&n.push(ue({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?n.push(Mt({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:i,availableHeight:o})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${o}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${i}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&n.push(de({element:this.arrowEl,padding:this.arrowPadding})),me(this.anchorEl,this.popup,{placement:this.placement,middleware:n,strategy:this.strategy}).then(({x:i,y:o,middlewareData:s,placement:r})=>{let c=getComputedStyle(this).direction==="rtl",f={top:"bottom",right:"left",bottom:"top",left:"right"}[r.split("-")[0]];if(this.setAttribute("data-current-placement",r),Object.assign(this.popup.style,{left:`${i}px`,top:`${o}px`}),this.arrow){let u=s.arrow.x,l=s.arrow.y,h="",m="",a="",d="";if(this.arrowPlacement==="start"){let p=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";h=typeof l=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",m=c?p:"",d=c?"":p}else if(this.arrowPlacement==="end"){let p=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";m=c?"":p,d=c?p:"",a=typeof l=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(d=typeof u=="number"?"calc(50% - var(--arrow-size-diagonal))":"",h=typeof l=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(d=typeof u=="number"?`${u}px`:"",h=typeof l=="number"?`${l}px`:"");Object.assign(this.arrowEl.style,{top:h,right:m,bottom:a,left:d,[f]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sd-reposition")}render(){return Rt`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${Bt("isolate z-20",this.strategy!=="fixed"?"absolute":"fixed",!this.active&&"hidden")}"><slot></slot>${this.arrow?Rt`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>`:""}</div>`}};x.styles=[...Ct.styles,Dt`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{--arrow-color:var(--sd-color-neutral-1000);--arrow-size:6px;--arrow-size-diagonal:calc(var(--arrow-size) * 0.7071);--arrow-padding-offset:calc(var(--arrow-size-diagonal) - var(--arrow-size));display:contents}[part=popup]{max-width:var(--auto-size-available-width,none);max-height:var(--auto-size-available-height,none)}[part=arrow]{width:calc(var(--arrow-size-diagonal) * 2);height:calc(var(--arrow-size-diagonal) * 2);background:var(--arrow-color)}`],A([Et('[part="popup"]')],x.prototype,"popup",2),A([Et('[part="arrow"]')],x.prototype,"arrowEl",2),A([O({reflect:!0})],x.prototype,"anchor",2),A([O({type:Boolean,reflect:!0})],x.prototype,"active",2),A([O({type:String,reflect:!0})],x.prototype,"placement",2),A([O({type:String,reflect:!0})],x.prototype,"strategy",2),A([O({type:Number,reflect:!0})],x.prototype,"distance",2),A([O({type:Number,reflect:!0})],x.prototype,"skidding",2),A([O({type:Boolean,reflect:!0})],x.prototype,"arrow",2),A([O({type:String,attribute:"arrow-placement",reflect:!0})],x.prototype,"arrowPlacement",2),A([O({attribute:"arrow-padding",type:Number,reflect:!0})],x.prototype,"arrowPadding",2),A([O({type:Boolean,reflect:!0})],x.prototype,"flip",2),A([O({attribute:"flip-fallback-placements",converter:{fromAttribute:n=>n.split(" ").map(i=>i.trim()).filter(i=>i!==""),toAttribute:n=>n.join(" ")}})],x.prototype,"flipFallbackPlacements",2),A([O({type:String,attribute:"flip-fallback-strategy"})],x.prototype,"flipFallbackStrategy",2),A([O({type:Object})],x.prototype,"flipBoundary",2),A([O({attribute:"flip-padding",type:Number})],x.prototype,"flipPadding",2),A([O({type:Boolean})],x.prototype,"shift",2),A([O({type:Object})],x.prototype,"shiftBoundary",2),A([O({attribute:"shift-padding",type:Number})],x.prototype,"shiftPadding",2),A([O({type:String,attribute:"auto-size"})],x.prototype,"autoSize",2),A([O()],x.prototype,"sync",2),A([O({type:Object})],x.prototype,"autoSizeBoundary",2),A([O({attribute:"auto-size-padding",type:Number})],x.prototype,"autoSizePadding",2),x=A([kt("sd-popup")],x);export{x as a};
@@ -1,2 +1,2 @@
1
- import{a as m,b as g,c as b,d as h,h as u}from"./chunk.TFVRFH37.js";import{b as d,e as c}from"./chunk.OBAEIKIV.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends u{constructor(){super(...arguments);this.disableRole=!1;this.label=""}handleFocus(e){let t=a(e.target);t==null||t.classList.add("sd-button-group__button--focus")}handleBlur(e){let t=a(e.target);t==null||t.classList.remove("sd-button-group__button--focus")}handleMouseOver(e){let t=a(e.target);t==null||t.classList.add("sd-button-group__button--hover")}handleMouseOut(e){let t=a(e.target);t==null||t.classList.remove("sd-button-group__button--hover")}handleSlotChange(){let e=[...this.defaultSlot.assignedElements({flatten:!0})];e.forEach(t=>{let n=e.indexOf(t),o=a(t);o!==null&&(o.classList.add("sd-button-group__button"),o.classList.toggle("sd-button-group__button--first",n===0),o.classList.toggle("sd-button-group__button--inner",n>0&&n<e.length-1),o.classList.toggle("sd-button-group__button--last",n===e.length-1),o.classList.toggle("sd-button-group__button--radio",o.tagName.toLowerCase()==="sd-radio-button"))})}render(){return c`<slot part="base" role="${this.disableRole?"presentation":"group"}" aria-label="${this.label}" @focusout="${this.handleBlur}" @focusin="${this.handleFocus}" @mouseover="${this.handleMouseOver}" @mouseout="${this.handleMouseOut}" @slotchange="${this.handleSlotChange}"></slot>`}};s.styles=[...u.styles,d`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as m,b as g,c as b,d as h,h as u}from"./chunk.ND7KR2OB.js";import{b as d,e as c}from"./chunk.OBAEIKIV.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends u{constructor(){super(...arguments);this.disableRole=!1;this.label=""}handleFocus(e){let t=a(e.target);t==null||t.classList.add("sd-button-group__button--focus")}handleBlur(e){let t=a(e.target);t==null||t.classList.remove("sd-button-group__button--focus")}handleMouseOver(e){let t=a(e.target);t==null||t.classList.add("sd-button-group__button--hover")}handleMouseOut(e){let t=a(e.target);t==null||t.classList.remove("sd-button-group__button--hover")}handleSlotChange(){let e=[...this.defaultSlot.assignedElements({flatten:!0})];e.forEach(t=>{let n=e.indexOf(t),o=a(t);o!==null&&(o.classList.add("sd-button-group__button"),o.classList.toggle("sd-button-group__button--first",n===0),o.classList.toggle("sd-button-group__button--inner",n>0&&n<e.length-1),o.classList.toggle("sd-button-group__button--last",n===e.length-1),o.classList.toggle("sd-button-group__button--radio",o.tagName.toLowerCase()==="sd-radio-button"))})}render(){return c`<slot part="base" role="${this.disableRole?"presentation":"group"}" aria-label="${this.label}" @focusout="${this.handleBlur}" @focusin="${this.handleFocus}" @mouseover="${this.handleMouseOver}" @mouseout="${this.handleMouseOut}" @slotchange="${this.handleSlotChange}"></slot>`}};s.styles=[...u.styles,d`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:inline-block}[part=base]{display:flex;flex-wrap:nowrap}`],l([h("slot")],s.prototype,"defaultSlot",2),l([b()],s.prototype,"disableRole",2),l([g({type:String,reflect:!0})],s.prototype,"label",2),s=l([m("sd-button-group")],s);function a(r){var e;let i="sd-button, sd-radio-button";return(e=r.closest(i))!=null?e:r.querySelector(i)}export{s as a};
@@ -1,4 +1,4 @@
1
- import{a as R}from"./chunk.ERP45OHF.js";import{a as B}from"./chunk.X2GM34WQ.js";import{a as D,d as K,e as U,f as $}from"./chunk.W7A3TU2Z.js";import{c as H}from"./chunk.3L472FD4.js";import{b as A}from"./chunk.LZRL7OLU.js";import{a as P}from"./chunk.LHSR56PH.js";import{a as _}from"./chunk.CGQ2BPPZ.js";import{a as T,c as k}from"./chunk.B2NUKX6G.js";import{a as w}from"./chunk.KLRPP4NQ.js";import{a as I}from"./chunk.W5O4FM6B.js";import{a as M}from"./chunk.VAM5SM3O.js";import{a as d}from"./chunk.UFTAQNZB.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as F,b as r,c as u,d as m,h as E}from"./chunk.TFVRFH37.js";import{b as V,e as p}from"./chunk.OBAEIKIV.js";import{b as S,e as C}from"./chunk.W4QBFD6E.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends E{constructor(){super(...arguments);this.formControlController=new A(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new _(this,"help-text","label");this.localize=new M(this);this.hasFocus=!1;this.displayInputValue="";this.selectedTextLabel="";this.selectedOptions=[];this.filteredOptions=[];this.allOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.deletedTagLabel="";this.name="";this.value="";this.defaultValue="";this.size="lg";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.clearable=!1;this.open=!1;this.hoist=!1;this.label="";this.placement="bottom";this.helpText="";this.form="";this.required=!1;this.floatingLabel=!1;this.type="text";this.currentPlacement=this.placement;this.getOption=B;this.multiple=!1;this.useTags=!0;this.maxOptionsVisible=3;this.styleOnValid=!1;this.filter=(t,e)=>{let i=$(t.value),a=$(t.getTextLabel()),o=$(e);return i.includes(o)||a.includes(o)};this.getTag=t=>p`<sd-tag class="min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
1
+ import{a as R}from"./chunk.ERP45OHF.js";import{a as B}from"./chunk.X2GM34WQ.js";import{a as D,d as K,e as U,f as $}from"./chunk.W7A3TU2Z.js";import{c as H}from"./chunk.3L472FD4.js";import{b as A}from"./chunk.LZRL7OLU.js";import{a as P}from"./chunk.LHSR56PH.js";import{a as _}from"./chunk.CGQ2BPPZ.js";import{a as T,c as k}from"./chunk.B2NUKX6G.js";import{a as w}from"./chunk.KLRPP4NQ.js";import{a as I}from"./chunk.W5O4FM6B.js";import{a as M}from"./chunk.VAM5SM3O.js";import{a as d}from"./chunk.UFTAQNZB.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as F,b as r,c as u,d as m,h as E}from"./chunk.ND7KR2OB.js";import{b as V,e as p}from"./chunk.OBAEIKIV.js";import{b as S,e as C}from"./chunk.W4QBFD6E.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends E{constructor(){super(...arguments);this.formControlController=new A(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new _(this,"help-text","label");this.localize=new M(this);this.hasFocus=!1;this.displayInputValue="";this.selectedTextLabel="";this.selectedOptions=[];this.filteredOptions=[];this.allOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.deletedTagLabel="";this.name="";this.value="";this.defaultValue="";this.size="lg";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.clearable=!1;this.open=!1;this.hoist=!1;this.label="";this.placement="bottom";this.helpText="";this.form="";this.required=!1;this.floatingLabel=!1;this.type="text";this.currentPlacement=this.placement;this.getOption=B;this.multiple=!1;this.useTags=!0;this.maxOptionsVisible=3;this.styleOnValid=!1;this.filter=(t,e)=>{let i=$(t.value),a=$(t.getTextLabel()),o=$(e);return i.includes(o)||a.includes(o)};this.getTag=t=>p`<sd-tag class="min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
2
2
  base:tag__base,
3
3
  content:tag__content,
4
4
  removable-indicator:tag__removable-indicator,
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk.LHSR56PH.js";import{a as S}from"./chunk.VAM5SM3O.js";import{a as r}from"./chunk.UFTAQNZB.js";import{a as T,b as h,c as f,d as u,h as y}from"./chunk.TFVRFH37.js";import{b as k,e as c}from"./chunk.OBAEIKIV.js";import{e as o}from"./chunk.6EV4YU6C.js";var n=class extends y{constructor(){super(...arguments);this.localize=new S(this);this.orientation="horizontal";this.scrollbars=!1;this.buttons=!1;this.shadows=!1;this.inset=!1;this.step=150;this.canScroll={left:!1,right:!1,up:!1,down:!1};this.isScrollHorizontalEnabled=!1;this.isScrollVerticalEnabled=!1}connectedCallback(){super.connectedCallback(),this.updateScrollEnabledFlags(),this.resizeObserver=new ResizeObserver(()=>{this.handleContainerScroll()}),this.updateComplete.then(()=>{this.container&&this.resizeObserver.observe(this.container)})}disconnectedCallback(){super.disconnectedCallback(),this.container&&this.resizeObserver.unobserve(this.container)}updated(t){super.updated(t),(t.has("orientation")||t.has("buttons")||t.has("shadows"))&&(this.updateScrollEnabledFlags(),this.handleContainerScroll())}updateScrollEnabledFlags(){let t=this.orientation;this.isScrollHorizontalEnabled=t==="horizontal"||t==="auto",this.isScrollVerticalEnabled=t==="vertical"||t==="auto"}get scrollButtons(){return{left:this.leftButton,right:this.rightButton,up:this.upButton,down:this.downButton}}handleContainerScroll(){if(!this.container)return;let t=this.container.scrollLeft>0,l=this.container.scrollLeft+this.container.clientWidth<this.container.scrollWidth-1,e=this.container.scrollTop>0,d=this.container.scrollTop+this.container.clientHeight<this.container.scrollHeight-1,a=this.canScroll,i={left:this.isScrollHorizontalEnabled&&t,right:this.isScrollHorizontalEnabled&&l,up:this.isScrollVerticalEnabled&&e,down:this.isScrollVerticalEnabled&&d},v=a.left&&!i.left,m=a.up&&!i.up,E=a.right&&!i.right,b=a.down&&!i.down;(v||m)&&this.dispatchEvent(new CustomEvent("start")),(E||b)&&this.dispatchEvent(new CustomEvent("end")),this.canScroll=i}handleScroll(t,l){var z,x,B;let e=["left","up"].includes(t)?-this.step:this.step,d=["left","right"].includes(t)?"horizontal":"vertical",a=["left","up"].includes(t)?"start":"end",i=!["mouse","touch"].includes((z=l==null?void 0:l.pointerType)!=null?z:""),v=d==="horizontal"?"left":"top";(x=this.container)==null||x.scrollBy({behavior:"smooth",[v]:e});let m=`button-${t}`;this.dispatchEvent(new CustomEvent(m,{bubbles:!0,composed:!0}));let b=(d==="horizontal"?this.container.scrollLeft:this.container.scrollTop)+e,C=d==="horizontal"?this.container.scrollWidth-this.container.clientWidth:this.container.scrollHeight-this.container.clientHeight,$=a==="start"&&b<=0,H=a==="end"&&b>=C-1;if(!($||H)){let w=this.localize.term("scrolled");this.announcementContainer.textContent=this.announcementContainer.textContent===w?`${w}\u200B`:w;return}let g=this.scrollButtons[t],p={left:this.rightButton,right:this.leftButton,up:this.downButton,down:this.upButton}[t],L=$?`${this.localize.term("scrolled")}. ${this.localize.term("scrollToEnd")}`:`${this.localize.term("scrolled")}. ${this.localize.term("scrollToStart")}`;(B=p==null?void 0:p.querySelector("sd-icon"))==null||B.setAttribute("label",L),i?p==null||p.focus():g==null||g.blur()}handleButtonBlur(t,l){var i;let d=(["left","up"].includes(t)?"start":"end")==="start"?this.localize.term("scrollToStart"):this.localize.term("scrollToEnd");(i=l.target.querySelector("sd-icon"))==null||i.setAttribute("label",d)}render(){let t="relative p-0 border-0 bg-transparent cursor-pointer w-5 h-5 flex items-center justify-center sd-interactive rounded-md flex text-lg",l="scroll-shadow absolute z-10 pointer-events-none transition-opacity duration-medium ease-in-out";return c`<div part="base" class="${r("scroll-container flex overflow-hidden flex-1",this.scrollbars?"show-scrollbars":"hide-scrollbars",this.inset&&"p-4",{horizontal:"scroll-horizontal flex-row whitespace-nowrap items-center overflow-x-scroll overflow-y-hidden",vertical:"scroll-vertical justify-items-center overflow-y-scroll overflow-x-hidden",auto:"scroll-auto overflow-auto"}[this.orientation])}" @scroll="${this.handleContainerScroll}" tabindex="0"><div id="announcement-container" role="status" class="sr-only"></div><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons?c`${this.isScrollHorizontalEnabled?c`<div part="button-left" class="${r("absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.left&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${r(t)}" aria-hidden="${s(!this.canScroll.left||void 0)}" tabindex="${s(this.canScroll.left?void 0:-1)}" @click="${e=>this.handleScroll("left",e)}" @blur="${e=>this.handleButtonBlur("left",e)}"><slot name="icon-start"><sd-icon library="_internal" name="chevron-up" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-icon></slot></button></div><div part="button-right" class="${r("absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.right&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${r(t)}" aria-hidden="${s(!this.canScroll.right||void 0)}" tabindex="${s(this.canScroll.right?void 0:-1)}" @click="${e=>this.handleScroll("right",e)}" @blur="${e=>this.handleButtonBlur("right",e)}"><slot name="icon-end"><sd-icon library="_internal" name="chevron-down" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-icon></slot></button></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="button-top" class="${r("absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.up&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${r(t)}" aria-hidden="${s(!this.canScroll.up||void 0)}" tabindex="${s(this.canScroll.up?void 0:-1)}" @click="${e=>this.handleScroll("up",e)}" @blur="${e=>this.handleButtonBlur("up",e)}"><slot name="icon-start"><sd-icon library="_internal" name="chevron-up" label="${this.localize.term("scrollToStart")}"></sd-icon></slot></button></div><div part="button-bottom" class="${r("absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.down&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${r(t)}" aria-hidden="${s(!this.canScroll.down||void 0)}" tabindex="${s(this.canScroll.down?void 0:-1)}" @click="${e=>this.handleScroll("down",e)}" @blur="${e=>this.handleButtonBlur("down",e)}"><slot name="icon-end"><sd-icon library="_internal" name="chevron-down" label="${this.localize.term("scrollToEnd")}"></sd-icon></slot></button></div>`:null}`:null} ${this.shadows?c`${this.isScrollHorizontalEnabled?c`<div part="shadow-left" class="${r("left top-0 left-0 w-[6px] h-full",l,this.canScroll.left?"opacity-100":"opacity-0")}"></div><div part="shadow-right" class="${r("right top-0 right-0 w-[6px] h-full",l,this.canScroll.right?"opacity-100":"opacity-0")}"></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="shadow-top" class="${r("top top-0 left-0 w-full h-[6px]",l,this.canScroll.up?"opacity-100":"opacity-0")}"></div><div part="shadow-bottom" class="${r("bottom bottom-0 left-0 w-full h-[6px]",l,this.canScroll.down?"opacity-100":"opacity-0")}"></div>`:null}`:null}`}};n.styles=[...y.styles,k`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as s}from"./chunk.LHSR56PH.js";import{a as S}from"./chunk.VAM5SM3O.js";import{a as r}from"./chunk.UFTAQNZB.js";import{a as T,b as h,c as f,d as u,h as y}from"./chunk.ND7KR2OB.js";import{b as k,e as c}from"./chunk.OBAEIKIV.js";import{e as o}from"./chunk.6EV4YU6C.js";var n=class extends y{constructor(){super(...arguments);this.localize=new S(this);this.orientation="horizontal";this.scrollbars=!1;this.buttons=!1;this.shadows=!1;this.inset=!1;this.step=150;this.canScroll={left:!1,right:!1,up:!1,down:!1};this.isScrollHorizontalEnabled=!1;this.isScrollVerticalEnabled=!1}connectedCallback(){super.connectedCallback(),this.updateScrollEnabledFlags(),this.resizeObserver=new ResizeObserver(()=>{this.handleContainerScroll()}),this.updateComplete.then(()=>{this.container&&this.resizeObserver.observe(this.container)})}disconnectedCallback(){super.disconnectedCallback(),this.container&&this.resizeObserver.unobserve(this.container)}updated(t){super.updated(t),(t.has("orientation")||t.has("buttons")||t.has("shadows"))&&(this.updateScrollEnabledFlags(),this.handleContainerScroll())}updateScrollEnabledFlags(){let t=this.orientation;this.isScrollHorizontalEnabled=t==="horizontal"||t==="auto",this.isScrollVerticalEnabled=t==="vertical"||t==="auto"}get scrollButtons(){return{left:this.leftButton,right:this.rightButton,up:this.upButton,down:this.downButton}}handleContainerScroll(){if(!this.container)return;let t=this.container.scrollLeft>0,l=this.container.scrollLeft+this.container.clientWidth<this.container.scrollWidth-1,e=this.container.scrollTop>0,d=this.container.scrollTop+this.container.clientHeight<this.container.scrollHeight-1,a=this.canScroll,i={left:this.isScrollHorizontalEnabled&&t,right:this.isScrollHorizontalEnabled&&l,up:this.isScrollVerticalEnabled&&e,down:this.isScrollVerticalEnabled&&d},v=a.left&&!i.left,m=a.up&&!i.up,E=a.right&&!i.right,b=a.down&&!i.down;(v||m)&&this.dispatchEvent(new CustomEvent("start")),(E||b)&&this.dispatchEvent(new CustomEvent("end")),this.canScroll=i}handleScroll(t,l){var z,x,B;let e=["left","up"].includes(t)?-this.step:this.step,d=["left","right"].includes(t)?"horizontal":"vertical",a=["left","up"].includes(t)?"start":"end",i=!["mouse","touch"].includes((z=l==null?void 0:l.pointerType)!=null?z:""),v=d==="horizontal"?"left":"top";(x=this.container)==null||x.scrollBy({behavior:"smooth",[v]:e});let m=`button-${t}`;this.dispatchEvent(new CustomEvent(m,{bubbles:!0,composed:!0}));let b=(d==="horizontal"?this.container.scrollLeft:this.container.scrollTop)+e,C=d==="horizontal"?this.container.scrollWidth-this.container.clientWidth:this.container.scrollHeight-this.container.clientHeight,$=a==="start"&&b<=0,H=a==="end"&&b>=C-1;if(!($||H)){let w=this.localize.term("scrolled");this.announcementContainer.textContent=this.announcementContainer.textContent===w?`${w}\u200B`:w;return}let g=this.scrollButtons[t],p={left:this.rightButton,right:this.leftButton,up:this.downButton,down:this.upButton}[t],L=$?`${this.localize.term("scrolled")}. ${this.localize.term("scrollToEnd")}`:`${this.localize.term("scrolled")}. ${this.localize.term("scrollToStart")}`;(B=p==null?void 0:p.querySelector("sd-icon"))==null||B.setAttribute("label",L),i?p==null||p.focus():g==null||g.blur()}handleButtonBlur(t,l){var i;let d=(["left","up"].includes(t)?"start":"end")==="start"?this.localize.term("scrollToStart"):this.localize.term("scrollToEnd");(i=l.target.querySelector("sd-icon"))==null||i.setAttribute("label",d)}render(){let t="relative p-0 border-0 bg-transparent cursor-pointer w-5 h-5 flex items-center justify-center sd-interactive rounded-md flex text-lg",l="scroll-shadow absolute z-10 pointer-events-none transition-opacity duration-medium ease-in-out";return c`<div part="base" class="${r("scroll-container flex overflow-hidden flex-1",this.scrollbars?"show-scrollbars":"hide-scrollbars",this.inset&&"p-4",{horizontal:"scroll-horizontal flex-row whitespace-nowrap items-center overflow-x-scroll overflow-y-hidden",vertical:"scroll-vertical justify-items-center overflow-y-scroll overflow-x-hidden",auto:"scroll-auto overflow-auto"}[this.orientation])}" @scroll="${this.handleContainerScroll}" tabindex="0"><div id="announcement-container" role="status" class="sr-only"></div><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons?c`${this.isScrollHorizontalEnabled?c`<div part="button-left" class="${r("absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.left&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${r(t)}" aria-hidden="${s(!this.canScroll.left||void 0)}" tabindex="${s(this.canScroll.left?void 0:-1)}" @click="${e=>this.handleScroll("left",e)}" @blur="${e=>this.handleButtonBlur("left",e)}"><slot name="icon-start"><sd-icon library="_internal" name="chevron-up" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-icon></slot></button></div><div part="button-right" class="${r("absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.right&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${r(t)}" aria-hidden="${s(!this.canScroll.right||void 0)}" tabindex="${s(this.canScroll.right?void 0:-1)}" @click="${e=>this.handleScroll("right",e)}" @blur="${e=>this.handleButtonBlur("right",e)}"><slot name="icon-end"><sd-icon library="_internal" name="chevron-down" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-icon></slot></button></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="button-top" class="${r("absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.up&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${r(t)}" aria-hidden="${s(!this.canScroll.up||void 0)}" tabindex="${s(this.canScroll.up?void 0:-1)}" @click="${e=>this.handleScroll("up",e)}" @blur="${e=>this.handleButtonBlur("up",e)}"><slot name="icon-start"><sd-icon library="_internal" name="chevron-up" label="${this.localize.term("scrollToStart")}"></sd-icon></slot></button></div><div part="button-bottom" class="${r("absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.down&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${r(t)}" aria-hidden="${s(!this.canScroll.down||void 0)}" tabindex="${s(this.canScroll.down?void 0:-1)}" @click="${e=>this.handleScroll("down",e)}" @blur="${e=>this.handleButtonBlur("down",e)}"><slot name="icon-end"><sd-icon library="_internal" name="chevron-down" label="${this.localize.term("scrollToEnd")}"></sd-icon></slot></button></div>`:null}`:null} ${this.shadows?c`${this.isScrollHorizontalEnabled?c`<div part="shadow-left" class="${r("left top-0 left-0 w-[6px] h-full",l,this.canScroll.left?"opacity-100":"opacity-0")}"></div><div part="shadow-right" class="${r("right top-0 right-0 w-[6px] h-full",l,this.canScroll.right?"opacity-100":"opacity-0")}"></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="shadow-top" class="${r("top top-0 left-0 w-full h-[6px]",l,this.canScroll.up?"opacity-100":"opacity-0")}"></div><div part="shadow-bottom" class="${r("bottom bottom-0 left-0 w-full h-[6px]",l,this.canScroll.down?"opacity-100":"opacity-0")}"></div>`:null}`:null}`}};n.styles=[...y.styles,k`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{--gradient-color:transparent;--gradient:var(--gradient-color) 0%,rgba(var(--sd-color-background-white, rgba(var(--sd-color-white)))) 80%,rgba(var(--sd-color-background-white, rgba(var(--sd-color-white)))) 100%;position:relative;display:flex;overflow:hidden}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-radius-sm)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1);width:var(--sd-spacing-1)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-right]{background:linear-gradient(90deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-top]{background:linear-gradient(0deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-bottom]{background:linear-gradient(180deg,transparent 50%,rgba(24,24,24,.4) 100%)}.sd-icon--top{align-self:flex-start}.sd-icon--down{align-self:flex-end}`],o([u('[part="button-right"] button')],n.prototype,"rightButton",2),o([u('[part="button-left"] button')],n.prototype,"leftButton",2),o([u('[part="button-bottom"] button')],n.prototype,"downButton",2),o([u('[part="button-top"] button')],n.prototype,"upButton",2),o([u(".scroll-container")],n.prototype,"container",2),o([u("#announcement-container")],n.prototype,"announcementContainer",2),o([h({type:String,reflect:!0})],n.prototype,"orientation",2),o([h({type:Boolean,reflect:!0})],n.prototype,"scrollbars",2),o([h({type:Boolean,reflect:!0})],n.prototype,"buttons",2),o([h({type:Boolean,reflect:!0})],n.prototype,"shadows",2),o([h({type:Boolean,reflect:!0})],n.prototype,"inset",2),o([h({type:Number,reflect:!0})],n.prototype,"step",2),o([f()],n.prototype,"canScroll",2),o([f()],n.prototype,"isScrollHorizontalEnabled",2),o([f()],n.prototype,"isScrollVerticalEnabled",2),n=o([T("sd-scrollable")],n);export{n as a};
@@ -1,4 +1,4 @@
1
- import{a as $}from"./chunk.BJBQEPZV.js";import{a as k}from"./chunk.EOXYPQZI.js";import{a as C}from"./chunk.ZB3TIOGA.js";import{a as T}from"./chunk.CBQWVOOS.js";import{a as _}from"./chunk.VAM5SM3O.js";import{a as l}from"./chunk.UFTAQNZB.js";import{a as v}from"./chunk.NYKJXI3Q.js";import{a as E,b as p,c as b,d as g,e as A,h as w}from"./chunk.TFVRFH37.js";import{b as P,e as m}from"./chunk.OBAEIKIV.js";import{d as M}from"./chunk.W4QBFD6E.js";import{e as o}from"./chunk.6EV4YU6C.js";function L(u,h,e){let i=t=>Object.is(t,-0)?0:t;return u<h?i(h):u>e?i(e):i(u)}function*I(u,h){if(u!==void 0){let e=0;for(let i of u)yield h(i,e++)}}function*O(u,h,e=1){let i=h===void 0?0:u;h!=null||(h=u);for(let t=i;e>0?t<h:h<t;t+=e)yield t}var r=class extends w{constructor(){super(...arguments);this.variant="number";this.inverted=!1;this.loop=!1;this.autoplay=!1;this.autoplayInterval=5;this.fade=!1;this.slidesPerPage=1;this.slidesPerMove=1;this.activeSlide=0;this.currentPage=1;this.pausedAutoplay=!1;this.isFocused=!1;this.autoplayController=new T(this,()=>{this.isFocused||this.next()});this.scrollController=new k(this);this.slides=this.getElementsByTagName("sd-carousel-item");this.intersectionObserverEntries=new Map;this.localize=new _(this);this.userInteracted=!1;this.fadeController=new $(this);this.handleUserInteraction=()=>{this.userInteracted=!0};this.handleSlotChange=e=>{e.some(t=>[...t.addedNodes,...t.removedNodes].some(s=>C.isCarouselItem(s)&&!s.hasAttribute("data-clone")))&&this.initializeSlides(),this.requestUpdate()};this.unblockAutoplay=(e,i)=>{e.detail&&i.blur()}}connectedCallback(){super.connectedCallback(),["click","keydown"].forEach(i=>this.addEventListener(i,this.handleUserInteraction)),this.addEventListener("focusin",this.handleFocus),this.addEventListener("focusout",this.handleBlur),this.addEventListener("keydown",this.handleKeyDown);let e=new IntersectionObserver(i=>{i.forEach(t=>{this.intersectionObserverEntries.set(t.target,t);let s=t.target;s.toggleAttribute("inert",!t.isIntersecting),s.classList.toggle("--in-view",t.isIntersecting),s.setAttribute("aria-hidden",t.isIntersecting?"false":"true")})},{root:this,threshold:.6});this.intersectionObserver=e,e.takeRecords().forEach(i=>{this.intersectionObserverEntries.set(i.target,i)})}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.mutationObserver.disconnect(),["click","keydown"].forEach(e=>this.removeEventListener(e,this.handleUserInteraction)),this.removeEventListener("focusin",this.handleFocus),this.removeEventListener("focusout",this.handleBlur),this.removeEventListener("keydown",this.handleKeyDown),this.fade&&this.fadeController.disable()}async firstUpdated(){if((()=>{let i=this.getSlides({excludeClones:!1});return i.length>0&&i[0].getBoundingClientRect().width>0})())this.initializeSlides();else{let i=new IntersectionObserver(t=>{t.forEach(s=>{s.isIntersecting&&s.target.getBoundingClientRect().width>0&&(this.initializeSlides(),i.disconnect())})});i.observe(this)}this.mutationObserver=new MutationObserver(this.handleSlotChange),this.mutationObserver.observe(this,{childList:!0,subtree:!1}),this.fade&&(await this.updateComplete,this.fadeController.enable())}getPageCount(e,i,t){return Math.ceil((e-i)/t)+1>0?Math.ceil((e-i)/t)+1:1}getCurrentPage(e,i,t,s){return Math.ceil((e-t)/s)-Math.ceil((e-t-i)/s)+1}getSlides({excludeClones:e=!0}={}){return[...this.slides].filter(i=>!e||!i.hasAttribute("data-clone"))}handleKeyDown(e){if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(e.key)){let i=e.target,t=this.localize.dir()==="rtl",s=i.closest('[part~="pagination-item"]')!==null,n=e.key==="ArrowDown"||!t&&e.key==="ArrowRight"||t&&e.key==="ArrowLeft",c=e.key==="ArrowUp"||!t&&e.key==="ArrowLeft"||t&&e.key==="ArrowRight";e.preventDefault(),c&&this.previous(),n&&this.next(),e.key==="Home"&&this.goToSlide(0),e.key==="End"&&this.goToSlide(this.getSlides().length-1),s&&this.updateComplete.then(()=>{var a;let d=(a=this.shadowRoot)==null?void 0:a.querySelector('[part~="pagination-item--active"]');d&&d.focus()})}}handleScrollEnd(){if(this.fade)return;let e=this.getSlides(),t=[...this.intersectionObserverEntries.values()].find(s=>s.isIntersecting);if(this.loop&&(t!=null&&t.target.hasAttribute("data-clone"))){let s=Number(t.target.getAttribute("data-clone"));this.goToSlide(s,"auto");return}t&&(this.activeSlide=e.indexOf(t.target))}handleFocus(){this.isFocused=!0}handleBlur(){this.isFocused=!1}getSlideText(e){var n;let i=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ALL),s=t.nextNode();for(;s;){if(s.nodeType===Node.TEXT_NODE){let c=(n=s.textContent)==null?void 0:n.trim();c&&i.push(c)}else s instanceof HTMLImageElement&&s.alt&&i.push(s.alt);s=t.nextNode()}return i.join(" ")}pause(){this.pausedAutoplay=!0}resume(){this.pausedAutoplay=!1}handlePausedAutoplay(){this.pausedAutoplay?this.autoplayController.stop():this.autoplay&&this.autoplayController.start(this.autoplayInterval*1e3)}handleFadeChange(){this.fade?this.fadeController.enable():this.fadeController.disable()}initializeSlides(){let e=this.getSlides(),i=this.intersectionObserver;if(this.intersectionObserverEntries.clear(),this.getSlides({excludeClones:!1}).forEach((t,s)=>{i.unobserve(t),t.classList.remove("--in-view"),t.classList.remove("--is-active"),t.setAttribute("aria-label",this.localize.term("slideNum",s+1,e.length)),t.hasAttribute("data-clone")&&t.remove()}),this.loop&&!this.fade){let t=this.slidesPerPage,s=e.slice(-t),n=e.slice(0,t);s.reverse().forEach((c,d)=>{let a=c.cloneNode(!0);a.setAttribute("data-clone",String(e.length-d-1)),this.prepend(a)}),n.forEach((c,d)=>{let a=c.cloneNode(!0);a.setAttribute("data-clone",String(d)),this.append(a)})}this.getSlides({excludeClones:!1}).forEach(t=>{i.observe(t)}),this.fade&&this.updateComplete.then(()=>{this.fadeController.enable()}),this.fade||this.goToSlide(this.activeSlide,"auto")}handleSlideChange(){let e=this.getSlides();e.forEach((s,n)=>{s.classList.toggle("--is-active",n===this.activeSlide)}),this.fade&&this.fadeController.updateActiveSlide(this.activeSlide);let i=this.getCurrentPage(e.length,this.activeSlide,this.slidesPerPage,this.slidesPerMove);if(this.currentPage!==i&&(this.currentPage=i),this.hasUpdated&&(this.emit("sd-slide-change",{detail:{index:this.activeSlide,slide:e[this.activeSlide]}}),this.announcementRegion)){let s=this.getSlideText(e[this.activeSlide]),n=this.localize.term("slideNum",this.activeSlide+1,e.length);requestAnimationFrame(()=>{this.announcementRegion.textContent=s?`${s} ${n}`:n})}let t=this.getPageCount(e.length,this.slidesPerPage,this.slidesPerMove);this.currentPage>t&&requestAnimationFrame(()=>{this.nextTillFirst()})}handleSlidesPerMoveChange(){if(this.fade)return;let e=this.getSlides({excludeClones:!1}),i=this.slidesPerMove;e.forEach((t,s)=>{Math.abs(s-i)%i===0?t.style.removeProperty("scroll-snap-align"):t.style.setProperty("scroll-snap-align","none")})}handleAutoplayChange(){this.autoplayController.stop(),this.autoplay&&!this.pausedAutoplay&&this.autoplayController.start(this.autoplayInterval*1e3)}handleautoplayIntervalChange(){!this.autoplay||this.pausedAutoplay||(this.autoplayController.stop(),this.autoplayController.start(this.autoplayInterval*1e3))}previous(e="smooth"){if(this.fade){let s=this.loop?(this.activeSlide-1+this.getSlides().length)%this.getSlides().length:Math.max(0,this.activeSlide-1);this.goToSlide(s);return}let i=this.activeSlide||this.activeSlide-this.slidesPerMove,t=!1;for(;!t&&i>0;)i-=1,t=Math.abs(i-this.slidesPerMove)%this.slidesPerMove===0;this.currentPage-1===0&&this.loop?this.goToSlide(this.activeSlide-this.slidesPerPage,e):this.goToSlide(i,e)}next(e="smooth"){if(this.fade){let i=this.loop?(this.activeSlide+1)%this.getSlides().length:Math.min(this.getSlides().length-1,this.activeSlide+1);this.goToSlide(i);return}this.currentPage+1<=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove)?this.goToSlide(this.activeSlide+this.slidesPerMove,e):this.loop&&this.nextTillFirst(e)}nextTillFirst(e="smooth"){if(this.fade){this.goToSlide(0);return}for(;this.activeSlide!==0;)this.goToSlide(this.activeSlide+1,e);this.currentPage=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove)}goToSlide(e,i="smooth"){let{slidesPerPage:t,loop:s,scrollContainer:n,fade:c}=this,d=this.getSlides(),a=this.getSlides({excludeClones:!1}),f=(e+d.length)%d.length;if(this.activeSlide=f,c)return;let y=L(e+(s?t:0),0,a.length+1),B=a[y],S=n.getBoundingClientRect(),x=B.getBoundingClientRect();if(n.scrollTo({left:x.left-S.left+n.scrollLeft,top:x.top-S.top+n.scrollTop,behavior:M()?"auto":i}),this.userInteracted&&!this.loop){let z=this.activeSlide===d.length-1||this.activeSlide===this.slides.length-this.slidesPerPage,F=this.activeSlide===0;z?this.previousButton.focus({preventScroll:!0}):F&&this.nextButton.focus({preventScroll:!0})}}render(){let{scrollController:e,slidesPerMove:i}=this,t=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove),s=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove),n=this.loop||s>1,c=this.loop||s<t,d=this.localize.dir()==="ltr";return m`<div part="base" class="${l("carousel h-full w-full relative")}"><button class="${l("ml-6 !rounded-sm","!absolute !bottom-0 !right-0 sd-interactive",this.inverted?"sd-interactive--inverted":"sd-interactive--reset",!this.autoplay&&"!hidden")}" part="autoplay-controls" aria-label="${this.pausedAutoplay?this.localize.term("startAutoplay"):this.localize.term("stopAutoplay")}" aria-pressed="true" @click="${a=>{this.pausedAutoplay=!this.pausedAutoplay,a.detail&&this.autoplayControls.blur()}}"><slot name="autoplay-start" class="${l(this.pausedAutoplay?"":"hidden")}"><sd-icon class="h-6 w-6 grid place-items-center" library="_internal" name="start"></sd-icon></slot><slot name="autoplay-pause" class="${l(this.pausedAutoplay?"hidden":"")}"><sd-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-icon></slot></button><div class="carousel__announcement sr-only" aria-live="${!this.autoplay||this.pausedAutoplay||this.isFocused?"polite":"off"}" aria-atomic="true"></div><div id="scroll-container" part="scroll-container" class="${l("carousel__slides mb-6 max-h-full w-full items-center justify-items-center",this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.fade?"relative overflow-hidden":"grid overflow-auto overscroll-x-contain grid-flow-col auto-rows-[100%] snap-x snap-mandatory overflow-y-hidden")}" style="--slides-per-page:${this.slidesPerPage}" aria-busy="${e.scrolling?"true":"false"}" aria-label="${this.localize.term("carouselContainer",Array.from(this.slides).filter(a=>!a.hasAttribute("data-clone")).length)}" tabindex="0" @scrollend="${this.handleScrollEnd}"><slot></slot></div><div part="controls" class="${l("w-full flex items-center justify-center relative")}"><div part="navigation" class="${l("carousel__navigation flex items-center justify-center")}"><button part="navigation-button navigation-button--previous" id="carousel__navigation-button--previous" ?disabled="${!n}" class="${l("!mr-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!n&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${n?"false":"true"}" @click="${n?a=>{this.previous(),this.unblockAutoplay(a,this.previousButton)}:null}"><slot name="previous-icon"><sd-icon class="${l("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${d?"chevron-down":"chevron-up"}"></sd-icon></slot></button> ${this.variant==="dot"?m`<div part="pagination-dot" role="tablist" class="${l("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${I(O(t),a=>{let f=a+1===s;return m`<button part="pagination-item ${f?"pagination-item--active":""}" class="${l("carousel__pagination-item","block cursor-pointer bg-none border-0 rounded-full",f?"bg-accent":"",this.inverted?"focus-within:focus-outline-inverted":"focus-within:focus-outline")}" role="tab" tabindex="0" aria-selected="${f?"true":"false"}" aria-label="${this.localize.term("goToSlide",a+1,t)}" @click="${y=>{this.goToSlide(a*i),this.unblockAutoplay(y,this.paginationItems[a])}}"><span class="${l("h-4 w-4 block border sd-carousel__pager-dot-border-width rounded-full transition-colors duration-slow hover:duration-fast ease-in-out",this.inverted?"sd-carousel__pager-dot--inverted-border hover:border-primary-200":"border-primary hover:border-primary-500",f&&"border-none",f?this.inverted?"sd-carousel__pager-dot--inverted-background hover:sd-carousel__pager-dot--inverted--hovered-background":"sd-carousel__pager-dot-background hover:bg-accent-550":"")}"></span></button>`})}</div>`:m`<span part="pagination-number" class="carousel__pagination number flex gap-0.5 cursor-default select-none" aria-controls="scroll-container"><span part="pagination-item" class="${l("w-5 text-center border-b-2",this.inverted?"text-white sd-carousel--active--inverted-color-border":"text-black sd-carousel--active-color-border")}">${s}</span> <span part="pagination-divider" class="${l("scale-y-[1.5]","text-center",this.inverted?"text-white":"text-black")}">/</span> <span part="pagination-item" class="${l("w-5 text-center",this.inverted?"text-white":"text-black")}">${t}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!c}" class="${l("!ml-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!c&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${c?"false":"true"}" @click="${c?a=>{this.next(),this.unblockAutoplay(a,this.nextButton)}:null}"><slot name="next-icon"><sd-icon class="${l("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${d?"chevron-up":"chevron-down"}"></sd-icon></slot></button></div></div></div>`}};r.styles=[...w.styles,P`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as $}from"./chunk.BJBQEPZV.js";import{a as k}from"./chunk.EOXYPQZI.js";import{a as C}from"./chunk.QIEAZQKM.js";import{a as T}from"./chunk.CBQWVOOS.js";import{a as _}from"./chunk.VAM5SM3O.js";import{a as l}from"./chunk.UFTAQNZB.js";import{a as v}from"./chunk.NYKJXI3Q.js";import{a as E,b as p,c as b,d as g,e as A,h as w}from"./chunk.ND7KR2OB.js";import{b as P,e as m}from"./chunk.OBAEIKIV.js";import{d as M}from"./chunk.W4QBFD6E.js";import{e as o}from"./chunk.6EV4YU6C.js";function L(u,h,e){let i=t=>Object.is(t,-0)?0:t;return u<h?i(h):u>e?i(e):i(u)}function*I(u,h){if(u!==void 0){let e=0;for(let i of u)yield h(i,e++)}}function*O(u,h,e=1){let i=h===void 0?0:u;h!=null||(h=u);for(let t=i;e>0?t<h:h<t;t+=e)yield t}var r=class extends w{constructor(){super(...arguments);this.variant="number";this.inverted=!1;this.loop=!1;this.autoplay=!1;this.autoplayInterval=5;this.fade=!1;this.slidesPerPage=1;this.slidesPerMove=1;this.activeSlide=0;this.currentPage=1;this.pausedAutoplay=!1;this.isFocused=!1;this.autoplayController=new T(this,()=>{this.isFocused||this.next()});this.scrollController=new k(this);this.slides=this.getElementsByTagName("sd-carousel-item");this.intersectionObserverEntries=new Map;this.localize=new _(this);this.userInteracted=!1;this.fadeController=new $(this);this.handleUserInteraction=()=>{this.userInteracted=!0};this.handleSlotChange=e=>{e.some(t=>[...t.addedNodes,...t.removedNodes].some(s=>C.isCarouselItem(s)&&!s.hasAttribute("data-clone")))&&this.initializeSlides(),this.requestUpdate()};this.unblockAutoplay=(e,i)=>{e.detail&&i.blur()}}connectedCallback(){super.connectedCallback(),["click","keydown"].forEach(i=>this.addEventListener(i,this.handleUserInteraction)),this.addEventListener("focusin",this.handleFocus),this.addEventListener("focusout",this.handleBlur),this.addEventListener("keydown",this.handleKeyDown);let e=new IntersectionObserver(i=>{i.forEach(t=>{this.intersectionObserverEntries.set(t.target,t);let s=t.target;s.toggleAttribute("inert",!t.isIntersecting),s.classList.toggle("--in-view",t.isIntersecting),s.setAttribute("aria-hidden",t.isIntersecting?"false":"true")})},{root:this,threshold:.6});this.intersectionObserver=e,e.takeRecords().forEach(i=>{this.intersectionObserverEntries.set(i.target,i)})}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.mutationObserver.disconnect(),["click","keydown"].forEach(e=>this.removeEventListener(e,this.handleUserInteraction)),this.removeEventListener("focusin",this.handleFocus),this.removeEventListener("focusout",this.handleBlur),this.removeEventListener("keydown",this.handleKeyDown),this.fade&&this.fadeController.disable()}async firstUpdated(){if((()=>{let i=this.getSlides({excludeClones:!1});return i.length>0&&i[0].getBoundingClientRect().width>0})())this.initializeSlides();else{let i=new IntersectionObserver(t=>{t.forEach(s=>{s.isIntersecting&&s.target.getBoundingClientRect().width>0&&(this.initializeSlides(),i.disconnect())})});i.observe(this)}this.mutationObserver=new MutationObserver(this.handleSlotChange),this.mutationObserver.observe(this,{childList:!0,subtree:!1}),this.fade&&(await this.updateComplete,this.fadeController.enable())}getPageCount(e,i,t){return Math.ceil((e-i)/t)+1>0?Math.ceil((e-i)/t)+1:1}getCurrentPage(e,i,t,s){return Math.ceil((e-t)/s)-Math.ceil((e-t-i)/s)+1}getSlides({excludeClones:e=!0}={}){return[...this.slides].filter(i=>!e||!i.hasAttribute("data-clone"))}handleKeyDown(e){if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(e.key)){let i=e.target,t=this.localize.dir()==="rtl",s=i.closest('[part~="pagination-item"]')!==null,n=e.key==="ArrowDown"||!t&&e.key==="ArrowRight"||t&&e.key==="ArrowLeft",c=e.key==="ArrowUp"||!t&&e.key==="ArrowLeft"||t&&e.key==="ArrowRight";e.preventDefault(),c&&this.previous(),n&&this.next(),e.key==="Home"&&this.goToSlide(0),e.key==="End"&&this.goToSlide(this.getSlides().length-1),s&&this.updateComplete.then(()=>{var a;let d=(a=this.shadowRoot)==null?void 0:a.querySelector('[part~="pagination-item--active"]');d&&d.focus()})}}handleScrollEnd(){if(this.fade)return;let e=this.getSlides(),t=[...this.intersectionObserverEntries.values()].find(s=>s.isIntersecting);if(this.loop&&(t!=null&&t.target.hasAttribute("data-clone"))){let s=Number(t.target.getAttribute("data-clone"));this.goToSlide(s,"auto");return}t&&(this.activeSlide=e.indexOf(t.target))}handleFocus(){this.isFocused=!0}handleBlur(){this.isFocused=!1}getSlideText(e){var n;let i=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ALL),s=t.nextNode();for(;s;){if(s.nodeType===Node.TEXT_NODE){let c=(n=s.textContent)==null?void 0:n.trim();c&&i.push(c)}else s instanceof HTMLImageElement&&s.alt&&i.push(s.alt);s=t.nextNode()}return i.join(" ")}pause(){this.pausedAutoplay=!0}resume(){this.pausedAutoplay=!1}handlePausedAutoplay(){this.pausedAutoplay?this.autoplayController.stop():this.autoplay&&this.autoplayController.start(this.autoplayInterval*1e3)}handleFadeChange(){this.fade?this.fadeController.enable():this.fadeController.disable()}initializeSlides(){let e=this.getSlides(),i=this.intersectionObserver;if(this.intersectionObserverEntries.clear(),this.getSlides({excludeClones:!1}).forEach((t,s)=>{i.unobserve(t),t.classList.remove("--in-view"),t.classList.remove("--is-active"),t.setAttribute("aria-label",this.localize.term("slideNum",s+1,e.length)),t.hasAttribute("data-clone")&&t.remove()}),this.loop&&!this.fade){let t=this.slidesPerPage,s=e.slice(-t),n=e.slice(0,t);s.reverse().forEach((c,d)=>{let a=c.cloneNode(!0);a.setAttribute("data-clone",String(e.length-d-1)),this.prepend(a)}),n.forEach((c,d)=>{let a=c.cloneNode(!0);a.setAttribute("data-clone",String(d)),this.append(a)})}this.getSlides({excludeClones:!1}).forEach(t=>{i.observe(t)}),this.fade&&this.updateComplete.then(()=>{this.fadeController.enable()}),this.fade||this.goToSlide(this.activeSlide,"auto")}handleSlideChange(){let e=this.getSlides();e.forEach((s,n)=>{s.classList.toggle("--is-active",n===this.activeSlide)}),this.fade&&this.fadeController.updateActiveSlide(this.activeSlide);let i=this.getCurrentPage(e.length,this.activeSlide,this.slidesPerPage,this.slidesPerMove);if(this.currentPage!==i&&(this.currentPage=i),this.hasUpdated&&(this.emit("sd-slide-change",{detail:{index:this.activeSlide,slide:e[this.activeSlide]}}),this.announcementRegion)){let s=this.getSlideText(e[this.activeSlide]),n=this.localize.term("slideNum",this.activeSlide+1,e.length);requestAnimationFrame(()=>{this.announcementRegion.textContent=s?`${s} ${n}`:n})}let t=this.getPageCount(e.length,this.slidesPerPage,this.slidesPerMove);this.currentPage>t&&requestAnimationFrame(()=>{this.nextTillFirst()})}handleSlidesPerMoveChange(){if(this.fade)return;let e=this.getSlides({excludeClones:!1}),i=this.slidesPerMove;e.forEach((t,s)=>{Math.abs(s-i)%i===0?t.style.removeProperty("scroll-snap-align"):t.style.setProperty("scroll-snap-align","none")})}handleAutoplayChange(){this.autoplayController.stop(),this.autoplay&&!this.pausedAutoplay&&this.autoplayController.start(this.autoplayInterval*1e3)}handleautoplayIntervalChange(){!this.autoplay||this.pausedAutoplay||(this.autoplayController.stop(),this.autoplayController.start(this.autoplayInterval*1e3))}previous(e="smooth"){if(this.fade){let s=this.loop?(this.activeSlide-1+this.getSlides().length)%this.getSlides().length:Math.max(0,this.activeSlide-1);this.goToSlide(s);return}let i=this.activeSlide||this.activeSlide-this.slidesPerMove,t=!1;for(;!t&&i>0;)i-=1,t=Math.abs(i-this.slidesPerMove)%this.slidesPerMove===0;this.currentPage-1===0&&this.loop?this.goToSlide(this.activeSlide-this.slidesPerPage,e):this.goToSlide(i,e)}next(e="smooth"){if(this.fade){let i=this.loop?(this.activeSlide+1)%this.getSlides().length:Math.min(this.getSlides().length-1,this.activeSlide+1);this.goToSlide(i);return}this.currentPage+1<=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove)?this.goToSlide(this.activeSlide+this.slidesPerMove,e):this.loop&&this.nextTillFirst(e)}nextTillFirst(e="smooth"){if(this.fade){this.goToSlide(0);return}for(;this.activeSlide!==0;)this.goToSlide(this.activeSlide+1,e);this.currentPage=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove)}goToSlide(e,i="smooth"){let{slidesPerPage:t,loop:s,scrollContainer:n,fade:c}=this,d=this.getSlides(),a=this.getSlides({excludeClones:!1}),f=(e+d.length)%d.length;if(this.activeSlide=f,c)return;let y=L(e+(s?t:0),0,a.length+1),B=a[y],S=n.getBoundingClientRect(),x=B.getBoundingClientRect();if(n.scrollTo({left:x.left-S.left+n.scrollLeft,top:x.top-S.top+n.scrollTop,behavior:M()?"auto":i}),this.userInteracted&&!this.loop){let z=this.activeSlide===d.length-1||this.activeSlide===this.slides.length-this.slidesPerPage,F=this.activeSlide===0;z?this.previousButton.focus({preventScroll:!0}):F&&this.nextButton.focus({preventScroll:!0})}}render(){let{scrollController:e,slidesPerMove:i}=this,t=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove),s=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove),n=this.loop||s>1,c=this.loop||s<t,d=this.localize.dir()==="ltr";return m`<div part="base" class="${l("carousel h-full w-full relative")}"><button class="${l("ml-6 !rounded-sm","!absolute !bottom-0 !right-0 sd-interactive",this.inverted?"sd-interactive--inverted":"sd-interactive--reset",!this.autoplay&&"!hidden")}" part="autoplay-controls" aria-label="${this.pausedAutoplay?this.localize.term("startAutoplay"):this.localize.term("stopAutoplay")}" aria-pressed="true" @click="${a=>{this.pausedAutoplay=!this.pausedAutoplay,a.detail&&this.autoplayControls.blur()}}"><slot name="autoplay-start" class="${l(this.pausedAutoplay?"":"hidden")}"><sd-icon class="h-6 w-6 grid place-items-center" library="_internal" name="start"></sd-icon></slot><slot name="autoplay-pause" class="${l(this.pausedAutoplay?"hidden":"")}"><sd-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-icon></slot></button><div class="carousel__announcement sr-only" aria-live="${!this.autoplay||this.pausedAutoplay||this.isFocused?"polite":"off"}" aria-atomic="true"></div><div id="scroll-container" part="scroll-container" class="${l("carousel__slides mb-6 max-h-full w-full items-center justify-items-center",this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.fade?"relative overflow-hidden":"grid overflow-auto overscroll-x-contain grid-flow-col auto-rows-[100%] snap-x snap-mandatory overflow-y-hidden")}" style="--slides-per-page:${this.slidesPerPage}" aria-busy="${e.scrolling?"true":"false"}" aria-label="${this.localize.term("carouselContainer",Array.from(this.slides).filter(a=>!a.hasAttribute("data-clone")).length)}" tabindex="0" @scrollend="${this.handleScrollEnd}"><slot></slot></div><div part="controls" class="${l("w-full flex items-center justify-center relative")}"><div part="navigation" class="${l("carousel__navigation flex items-center justify-center")}"><button part="navigation-button navigation-button--previous" id="carousel__navigation-button--previous" ?disabled="${!n}" class="${l("!mr-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!n&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${n?"false":"true"}" @click="${n?a=>{this.previous(),this.unblockAutoplay(a,this.previousButton)}:null}"><slot name="previous-icon"><sd-icon class="${l("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${d?"chevron-down":"chevron-up"}"></sd-icon></slot></button> ${this.variant==="dot"?m`<div part="pagination-dot" role="tablist" class="${l("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${I(O(t),a=>{let f=a+1===s;return m`<button part="pagination-item ${f?"pagination-item--active":""}" class="${l("carousel__pagination-item","block cursor-pointer bg-none border-0 rounded-full",f?"bg-accent":"",this.inverted?"focus-within:focus-outline-inverted":"focus-within:focus-outline")}" role="tab" tabindex="0" aria-selected="${f?"true":"false"}" aria-label="${this.localize.term("goToSlide",a+1,t)}" @click="${y=>{this.goToSlide(a*i),this.unblockAutoplay(y,this.paginationItems[a])}}"><span class="${l("h-4 w-4 block border sd-carousel__pager-dot-border-width rounded-full transition-colors duration-slow hover:duration-fast ease-in-out",this.inverted?"sd-carousel__pager-dot--inverted-border hover:border-primary-200":"border-primary hover:border-primary-500",f&&"border-none",f?this.inverted?"sd-carousel__pager-dot--inverted-background hover:sd-carousel__pager-dot--inverted--hovered-background":"sd-carousel__pager-dot-background hover:bg-accent-550":"")}"></span></button>`})}</div>`:m`<span part="pagination-number" class="carousel__pagination number flex gap-0.5 cursor-default select-none" aria-controls="scroll-container"><span part="pagination-item" class="${l("w-5 text-center border-b-2",this.inverted?"text-white sd-carousel--active--inverted-color-border":"text-black sd-carousel--active-color-border")}">${s}</span> <span part="pagination-divider" class="${l("scale-y-[1.5]","text-center",this.inverted?"text-white":"text-black")}">/</span> <span part="pagination-item" class="${l("w-5 text-center",this.inverted?"text-white":"text-black")}">${t}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!c}" class="${l("!ml-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!c&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${c?"false":"true"}" @click="${c?a=>{this.next(),this.unblockAutoplay(a,this.nextButton)}:null}"><slot name="next-icon"><sd-icon class="${l("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${d?"chevron-up":"chevron-down"}"></sd-icon></slot></button></div></div></div>`}};r.styles=[...w.styles,P`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}[part=autoplay-controls]{z-index:1}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{position:relative;display:block;overflow:hidden;height:var(--carousel-height)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-button::part(label){pointer-events:none;display:flex;flex:auto;align-items:center}`],o([g('[part~="autoplay-controls"]')],r.prototype,"autoplayControls",2),o([g('[part~="navigation-button--previous"]')],r.prototype,"previousButton",2),o([g('[part~="navigation-button--next"]')],r.prototype,"nextButton",2),o([A('[part~="pagination-item"]')],r.prototype,"paginationItems",2),o([p({type:String,reflect:!0})],r.prototype,"variant",2),o([p({type:Boolean,reflect:!0})],r.prototype,"inverted",2),o([p({type:Boolean,reflect:!0})],r.prototype,"loop",2),o([p({type:Boolean,reflect:!0})],r.prototype,"autoplay",2),o([p({type:Number,attribute:"autoplay-interval",reflect:!0})],r.prototype,"autoplayInterval",2),o([p({type:Boolean,reflect:!0})],r.prototype,"fade",2),o([p({type:Number,attribute:"slides-per-page",reflect:!0})],r.prototype,"slidesPerPage",2),o([p({type:Number,attribute:"slides-per-move",reflect:!0})],r.prototype,"slidesPerMove",2),o([g("slot:not([name])")],r.prototype,"defaultSlot",2),o([g(".carousel__slides")],r.prototype,"scrollContainer",2),o([g(".carousel__pagination")],r.prototype,"paginationContainer",2),o([g(".carousel__announcement")],r.prototype,"announcementRegion",2),o([b()],r.prototype,"activeSlide",2),o([b()],r.prototype,"currentPage",2),o([b()],r.prototype,"pausedAutoplay",2),o([b()],r.prototype,"isFocused",2),o([v("pausedAutoplay")],r.prototype,"handlePausedAutoplay",1),o([v("fade",{waitUntilFirstUpdate:!0})],r.prototype,"handleFadeChange",1),o([v("loop",{waitUntilFirstUpdate:!0}),v("slidesPerPage",{waitUntilFirstUpdate:!0})],r.prototype,"initializeSlides",1),o([v("activeSlide")],r.prototype,"handleSlideChange",1),o([v("slidesPerMove")],r.prototype,"handleSlidesPerMoveChange",1),o([v("autoplay")],r.prototype,"handleAutoplayChange",1),o([v("autoplayInterval")],r.prototype,"handleautoplayIntervalChange",1),r=o([E("sd-carousel")],r);export{r as a};
3
3
  /*! Bundled license information:
4
4
 
@@ -1,4 +1,4 @@
1
- import{a as x}from"./chunk.CGQ2BPPZ.js";import{a as m,c as f}from"./chunk.B2NUKX6G.js";import{a as w}from"./chunk.KLRPP4NQ.js";import{a as k}from"./chunk.VAM5SM3O.js";import{a as l}from"./chunk.UFTAQNZB.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as b,b as o,d as n,h as c}from"./chunk.TFVRFH37.js";import{b as g,e as a}from"./chunk.OBAEIKIV.js";import{b as d,c as p,e as u}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";var e=class extends c{constructor(){super(...arguments);this.localize=new k(this);this.hasSlotController=new x(this,"[default]","content");this.size="lg";this.content="";this.placement="top";this.disabled=!1;this.open=!1;this.trigger="click focus";this.closeTrigger="click focus escape";this.hoist=!1;this.handleMouseInteraction=()=>{this.interactionType="mouse"};this.handleKeyboardInteraction=()=>{this.interactionType="keyboard"}}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleMouseOver=this.handleMouseOver.bind(this),this.handleMouseOut=this.handleMouseOut.bind(this),document.addEventListener("mousedown",this.handleMouseInteraction),document.addEventListener("keydown",this.handleKeyboardInteraction),this.handleDocumentClick=this.handleDocumentClick.bind(this),document.addEventListener("click",this.handleDocumentClick),this.updateComplete.then(()=>{this.addEventListener("blur",this.handleBlur,!0),this.addEventListener("focus",this.handleFocus,!0),this.addEventListener("click",this.handleClick),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("mouseover",this.handleMouseOver),this.addEventListener("mouseout",this.handleMouseOut)})}firstUpdated(){this.body.hidden=!this.open,this.formatDefaultSlot(this.defaultSlot),this.open&&(this.popup.active=!0,this.popup.reposition())}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("blur",this.handleBlur,!0),this.removeEventListener("focus",this.handleFocus,!0),this.removeEventListener("click",this.handleClick),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("mouseover",this.handleMouseOver),this.removeEventListener("mouseout",this.handleMouseOut),document.removeEventListener("mousedown",this.handleMouseInteraction),document.removeEventListener("keydown",this.handleKeyboardInteraction),document.removeEventListener("click",this.handleDocumentClick)}get hasCustomTrigger(){return this.hasSlotController.test("[default]")}formatDefaultSlot(t){if(!t)return;t.assignedNodes({flatten:!0}).forEach(r=>{var y,v;r.nodeType===Node.TEXT_NODE&&!((y=r==null?void 0:r.textContent)!=null&&y.trim())&&((v=r==null?void 0:r.parentNode)==null||v.removeChild(r))})}handleBlur(){this.hasCloseTrigger("focus")&&this.hide()}handleClick(){this.open&&this.hasCloseTrigger("click")?this.hide():this.hasTrigger("click")&&this.show()}handleFocus(){this.hasTrigger("focus")&&this.interactionType==="keyboard"&&this.show()}handleKeyDown(t){this.open&&t.key==="Escape"&&this.hasCloseTrigger("escape")&&(t.stopPropagation(),this.hide())}handleMouseOver(){if(this.hasTrigger("hover")){let t=p(getComputedStyle(this).getPropertyValue("--show-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),t)}}handleMouseOut(){if(this.hasCloseTrigger("hover")){let t=p(getComputedStyle(this).getPropertyValue("--hide-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.hide(),t)}}handleDocumentClick(t){if(!this.open||this.interactionType==="keyboard")return;let s=t.composedPath();this.hasCloseTrigger("focus")&&!s.includes(this)&&!s.includes(this.popup)&&this.hide()}hasTrigger(t){return this.trigger.split(" ").includes(t)}hasCloseTrigger(t){return this.closeTrigger.split(" ").includes(t)}async handleOpenChange(){if(this.open){if(this.disabled)return;this.emit("sd-show"),await u(this.body),this.body.hidden=!1,this.popup.active=!0;let{keyframes:t,options:s}=f(this,"tooltip.show",{dir:this.localize.dir()});await d(this.popup.popup,t,s),this.emit("sd-after-show")}else{this.emit("sd-hide"),await u(this.body);let{keyframes:t,options:s}=f(this,"tooltip.hide",{dir:this.localize.dir()});await d(this.popup.popup,t,s),this.popup.active=!1,this.body.hidden=!0,this.emit("sd-after-hide")}}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,w(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,this.trigger==="click"||this.trigger==="click focus"?this.focus():this.blur(),w(this,"sd-after-hide")}render(){let t=this.placement.endsWith("-start"),s=this.placement.endsWith("-end");return a`<sd-popup part="base" exportparts="
1
+ import{a as x}from"./chunk.CGQ2BPPZ.js";import{a as m,c as f}from"./chunk.B2NUKX6G.js";import{a as w}from"./chunk.KLRPP4NQ.js";import{a as k}from"./chunk.VAM5SM3O.js";import{a as l}from"./chunk.UFTAQNZB.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as b,b as o,d as n,h as c}from"./chunk.ND7KR2OB.js";import{b as g,e as a}from"./chunk.OBAEIKIV.js";import{b as d,c as p,e as u}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";var e=class extends c{constructor(){super(...arguments);this.localize=new k(this);this.hasSlotController=new x(this,"[default]","content");this.size="lg";this.content="";this.placement="top";this.disabled=!1;this.open=!1;this.trigger="click focus";this.closeTrigger="click focus escape";this.hoist=!1;this.handleMouseInteraction=()=>{this.interactionType="mouse"};this.handleKeyboardInteraction=()=>{this.interactionType="keyboard"}}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleMouseOver=this.handleMouseOver.bind(this),this.handleMouseOut=this.handleMouseOut.bind(this),document.addEventListener("mousedown",this.handleMouseInteraction),document.addEventListener("keydown",this.handleKeyboardInteraction),this.handleDocumentClick=this.handleDocumentClick.bind(this),document.addEventListener("click",this.handleDocumentClick),this.updateComplete.then(()=>{this.addEventListener("blur",this.handleBlur,!0),this.addEventListener("focus",this.handleFocus,!0),this.addEventListener("click",this.handleClick),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("mouseover",this.handleMouseOver),this.addEventListener("mouseout",this.handleMouseOut)})}firstUpdated(){this.body.hidden=!this.open,this.formatDefaultSlot(this.defaultSlot),this.open&&(this.popup.active=!0,this.popup.reposition())}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("blur",this.handleBlur,!0),this.removeEventListener("focus",this.handleFocus,!0),this.removeEventListener("click",this.handleClick),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("mouseover",this.handleMouseOver),this.removeEventListener("mouseout",this.handleMouseOut),document.removeEventListener("mousedown",this.handleMouseInteraction),document.removeEventListener("keydown",this.handleKeyboardInteraction),document.removeEventListener("click",this.handleDocumentClick)}get hasCustomTrigger(){return this.hasSlotController.test("[default]")}formatDefaultSlot(t){if(!t)return;t.assignedNodes({flatten:!0}).forEach(r=>{var y,v;r.nodeType===Node.TEXT_NODE&&!((y=r==null?void 0:r.textContent)!=null&&y.trim())&&((v=r==null?void 0:r.parentNode)==null||v.removeChild(r))})}handleBlur(){this.hasCloseTrigger("focus")&&this.hide()}handleClick(){this.open&&this.hasCloseTrigger("click")?this.hide():this.hasTrigger("click")&&this.show()}handleFocus(){this.hasTrigger("focus")&&this.interactionType==="keyboard"&&this.show()}handleKeyDown(t){this.open&&t.key==="Escape"&&this.hasCloseTrigger("escape")&&(t.stopPropagation(),this.hide())}handleMouseOver(){if(this.hasTrigger("hover")){let t=p(getComputedStyle(this).getPropertyValue("--show-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),t)}}handleMouseOut(){if(this.hasCloseTrigger("hover")){let t=p(getComputedStyle(this).getPropertyValue("--hide-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.hide(),t)}}handleDocumentClick(t){if(!this.open||this.interactionType==="keyboard")return;let s=t.composedPath();this.hasCloseTrigger("focus")&&!s.includes(this)&&!s.includes(this.popup)&&this.hide()}hasTrigger(t){return this.trigger.split(" ").includes(t)}hasCloseTrigger(t){return this.closeTrigger.split(" ").includes(t)}async handleOpenChange(){if(this.open){if(this.disabled)return;this.emit("sd-show"),await u(this.body),this.body.hidden=!1,this.popup.active=!0;let{keyframes:t,options:s}=f(this,"tooltip.show",{dir:this.localize.dir()});await d(this.popup.popup,t,s),this.emit("sd-after-show")}else{this.emit("sd-hide"),await u(this.body);let{keyframes:t,options:s}=f(this,"tooltip.hide",{dir:this.localize.dir()});await d(this.popup.popup,t,s),this.popup.active=!1,this.body.hidden=!0,this.emit("sd-after-hide")}}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,w(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,this.trigger==="click"||this.trigger==="click focus"?this.focus():this.blur(),w(this,"sd-after-hide")}render(){let t=this.placement.endsWith("-start"),s=this.placement.endsWith("-end");return a`<sd-popup part="base" exportparts="
2
2
  popup:base__popup,
3
3
  arrow:base__arrow
4
4
  " class="${l(this.open&&"tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{start:2,end:-2,default:0}[t?"start":s?"end":"default"]*(this.size==="sm"?-1:1)}" strategy="${this.hoist?"fixed":"absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0">${this.hasCustomTrigger?a`<slot slot="anchor"></slot>`:a`<button slot="anchor" aria-describedby="tooltip" class="${l("flex sd-interactive rounded-full",this.size==="lg"?"text-xl":"text-base")}" ?disabled="${this.disabled}" aria-expanded="${this.open}" aria-controls="tooltip"><sd-icon library="_internal" name="info-circle" label="Tooltip" class="${l(this.disabled&&"sd-interactive--disabled")}"></sd-icon></button>`}<slot name="content" part="body" id="tooltip" class="sd-tooltip-color-background sd-tooltip-color-text py-3 px-4 block rounded-none text-sm text-left" role="tooltip" aria-label="${this.content}" aria-live="${this.open?"polite":"off"}">${this.content}</slot></sd-popup>`}};e.styles=[...c.styles,g`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;