bromcom-ui-next 0.1.21 → 0.1.23

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 (454) hide show
  1. package/dist/bromcom-ui/bcm-accordion-group.entry.esm.js.map +1 -0
  2. package/dist/bromcom-ui/bcm-accordion.entry.esm.js.map +1 -0
  3. package/dist/bromcom-ui/bcm-alert.entry.esm.js.map +1 -0
  4. package/dist/bromcom-ui/bcm-avatar.entry.esm.js.map +1 -0
  5. package/dist/bromcom-ui/bcm-badge.entry.esm.js.map +1 -0
  6. package/dist/bromcom-ui/bcm-basic-badge.entry.esm.js.map +1 -0
  7. package/dist/bromcom-ui/bcm-button-group.entry.esm.js.map +1 -0
  8. package/dist/bromcom-ui/bcm-button.bcm-drawer.bcm-dropdown.bcm-dropdown-item.bcm-input.bcm-linked.bcm-shortcut.bcm-text.entry.esm.js.map +1 -0
  9. package/dist/bromcom-ui/bcm-checkbox.entry.esm.js.map +1 -0
  10. package/dist/bromcom-ui/bcm-chip.entry.esm.js.map +1 -0
  11. package/dist/bromcom-ui/bcm-divider.entry.esm.js.map +1 -0
  12. package/dist/bromcom-ui/bcm-pop-confirm.entry.esm.js.map +1 -0
  13. package/dist/bromcom-ui/bcm-popover.entry.esm.js.map +1 -0
  14. package/dist/bromcom-ui/bcm-radio-group.entry.esm.js.map +1 -0
  15. package/dist/bromcom-ui/bcm-radio.entry.esm.js.map +1 -0
  16. package/dist/bromcom-ui/bcm-segmented-picker-option.entry.esm.js.map +1 -0
  17. package/dist/bromcom-ui/bcm-segmented-picker.entry.esm.js.map +1 -0
  18. package/dist/bromcom-ui/bcm-switch.entry.esm.js.map +1 -0
  19. package/dist/bromcom-ui/bcm-tabs-content.entry.esm.js.map +1 -0
  20. package/dist/bromcom-ui/bcm-tabs-list.entry.esm.js.map +1 -0
  21. package/dist/bromcom-ui/bcm-tabs-trigger.entry.esm.js.map +1 -0
  22. package/dist/bromcom-ui/bcm-tabs.entry.esm.js.map +1 -0
  23. package/dist/bromcom-ui/bcm-textarea.entry.esm.js.map +1 -0
  24. package/dist/bromcom-ui/bcm-tooltip.entry.esm.js.map +1 -0
  25. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  26. package/dist/bromcom-ui/bromcom-ui.esm.js.map +1 -1
  27. package/dist/bromcom-ui/index.esm.js.map +1 -1
  28. package/dist/bromcom-ui/loader.esm.js.map +1 -0
  29. package/dist/bromcom-ui/p-07b05abd.entry.js +2 -0
  30. package/dist/bromcom-ui/p-07b05abd.entry.js.map +1 -0
  31. package/dist/bromcom-ui/p-2d3a0ad4.entry.js +2 -0
  32. package/dist/bromcom-ui/p-2d3a0ad4.entry.js.map +1 -0
  33. package/dist/bromcom-ui/p-319d3937.entry.js +2 -0
  34. package/dist/bromcom-ui/p-319d3937.entry.js.map +1 -0
  35. package/dist/bromcom-ui/p-361073bc.entry.js +2 -0
  36. package/dist/bromcom-ui/p-361073bc.entry.js.map +1 -0
  37. package/dist/bromcom-ui/p-378bf83e.entry.js +2 -0
  38. package/dist/bromcom-ui/p-378bf83e.entry.js.map +1 -0
  39. package/dist/bromcom-ui/p-3866ae3e.entry.js +2 -0
  40. package/dist/bromcom-ui/p-3866ae3e.entry.js.map +1 -0
  41. package/dist/bromcom-ui/p-3fbed81b.entry.js +2 -0
  42. package/dist/bromcom-ui/p-3fbed81b.entry.js.map +1 -0
  43. package/dist/bromcom-ui/p-45158141.entry.js +2 -0
  44. package/dist/bromcom-ui/p-45158141.entry.js.map +1 -0
  45. package/dist/bromcom-ui/{p-a03922f8.entry.js → p-50505dd6.entry.js} +2 -2
  46. package/dist/bromcom-ui/p-50505dd6.entry.js.map +1 -0
  47. package/dist/bromcom-ui/{p-b1f9ad67.entry.js → p-62c14cc4.entry.js} +2 -2
  48. package/dist/bromcom-ui/p-62c14cc4.entry.js.map +1 -0
  49. package/dist/bromcom-ui/p-67f62d75.entry.js +2 -0
  50. package/dist/bromcom-ui/p-67f62d75.entry.js.map +1 -0
  51. package/dist/bromcom-ui/p-6fa6b826.entry.js +2 -0
  52. package/dist/bromcom-ui/p-6fa6b826.entry.js.map +1 -0
  53. package/dist/bromcom-ui/p-778c0de1.entry.js +2 -0
  54. package/dist/bromcom-ui/p-778c0de1.entry.js.map +1 -0
  55. package/dist/bromcom-ui/p-7d366ff2.entry.js +2 -0
  56. package/dist/bromcom-ui/p-7d366ff2.entry.js.map +1 -0
  57. package/dist/bromcom-ui/p-813cffad.entry.js +2 -0
  58. package/dist/bromcom-ui/p-813cffad.entry.js.map +1 -0
  59. package/dist/bromcom-ui/p-90b65db8.entry.js +2 -0
  60. package/dist/bromcom-ui/p-90b65db8.entry.js.map +1 -0
  61. package/dist/bromcom-ui/p-9293a2ce.entry.js +2 -0
  62. package/dist/bromcom-ui/p-9293a2ce.entry.js.map +1 -0
  63. package/dist/bromcom-ui/p-9d4212ac.entry.js +2 -0
  64. package/dist/bromcom-ui/p-9d4212ac.entry.js.map +1 -0
  65. package/dist/bromcom-ui/p-BfTCfPZ1.js +7 -0
  66. package/dist/bromcom-ui/p-BfTCfPZ1.js.map +1 -0
  67. package/dist/bromcom-ui/p-CEcVC0yX.js +2 -0
  68. package/dist/bromcom-ui/p-CEcVC0yX.js.map +1 -0
  69. package/dist/bromcom-ui/{p-13a245f6.js → p-CUvT12BL.js} +1 -1
  70. package/dist/bromcom-ui/p-CUvT12BL.js.map +1 -0
  71. package/dist/bromcom-ui/p-CrZxEeDA.js +3 -0
  72. package/dist/bromcom-ui/p-CrZxEeDA.js.map +1 -0
  73. package/dist/bromcom-ui/p-DxMLMJ3r.js +2 -0
  74. package/dist/bromcom-ui/p-DxMLMJ3r.js.map +1 -0
  75. package/dist/bromcom-ui/{p-ba2410ef.js → p-IBjzkjef.js} +2 -2
  76. package/dist/bromcom-ui/p-IBjzkjef.js.map +1 -0
  77. package/dist/bromcom-ui/p-a4ace572.entry.js +2 -0
  78. package/dist/bromcom-ui/p-a4ace572.entry.js.map +1 -0
  79. package/dist/bromcom-ui/p-a8b66a90.entry.js +2 -0
  80. package/dist/bromcom-ui/p-a8b66a90.entry.js.map +1 -0
  81. package/dist/bromcom-ui/p-b566bad4.entry.js +2 -0
  82. package/dist/bromcom-ui/p-b566bad4.entry.js.map +1 -0
  83. package/dist/bromcom-ui/{p-06d42346.entry.js → p-e00fa939.entry.js} +2 -2
  84. package/dist/bromcom-ui/p-e00fa939.entry.js.map +1 -0
  85. package/dist/bromcom-ui/{p-11227d96.entry.js → p-e91676ff.entry.js} +2 -2
  86. package/dist/bromcom-ui/p-e91676ff.entry.js.map +1 -0
  87. package/dist/bromcom-ui/p-fdc1df0c.entry.js +2 -0
  88. package/dist/bromcom-ui/p-fdc1df0c.entry.js.map +1 -0
  89. package/dist/cjs/bcm-accordion-group.cjs.entry.js +3 -5
  90. package/dist/cjs/bcm-accordion-group.cjs.entry.js.map +1 -1
  91. package/dist/cjs/bcm-accordion-group.entry.cjs.js.map +1 -0
  92. package/dist/cjs/bcm-accordion.cjs.entry.js +4 -6
  93. package/dist/cjs/bcm-accordion.cjs.entry.js.map +1 -1
  94. package/dist/cjs/bcm-accordion.entry.cjs.js.map +1 -0
  95. package/dist/cjs/bcm-alert.cjs.entry.js +4 -6
  96. package/dist/cjs/bcm-alert.cjs.entry.js.map +1 -1
  97. package/dist/cjs/bcm-alert.entry.cjs.js.map +1 -0
  98. package/dist/cjs/bcm-avatar.cjs.entry.js +4 -6
  99. package/dist/cjs/bcm-avatar.cjs.entry.js.map +1 -1
  100. package/dist/cjs/bcm-avatar.entry.cjs.js.map +1 -0
  101. package/dist/cjs/bcm-badge.cjs.entry.js +4 -6
  102. package/dist/cjs/bcm-badge.cjs.entry.js.map +1 -1
  103. package/dist/cjs/bcm-badge.entry.cjs.js.map +1 -0
  104. package/dist/cjs/bcm-basic-badge.cjs.entry.js +5 -7
  105. package/dist/cjs/bcm-basic-badge.cjs.entry.js.map +1 -1
  106. package/dist/cjs/bcm-basic-badge.entry.cjs.js.map +1 -0
  107. package/dist/cjs/bcm-button-group.cjs.entry.js +4 -6
  108. package/dist/cjs/bcm-button-group.cjs.entry.js.map +1 -1
  109. package/dist/cjs/bcm-button-group.entry.cjs.js.map +1 -0
  110. package/dist/cjs/bcm-button.bcm-drawer.bcm-dropdown.bcm-dropdown-item.bcm-input.bcm-linked.bcm-shortcut.bcm-text.entry.cjs.js.map +1 -0
  111. package/dist/cjs/bcm-button_8.cjs.entry.js +28 -37
  112. package/dist/cjs/bcm-button_8.cjs.entry.js.map +1 -1
  113. package/dist/cjs/bcm-checkbox.cjs.entry.js +5 -7
  114. package/dist/cjs/bcm-checkbox.cjs.entry.js.map +1 -1
  115. package/dist/cjs/bcm-checkbox.entry.cjs.js.map +1 -0
  116. package/dist/cjs/bcm-chip.cjs.entry.js +4 -6
  117. package/dist/cjs/bcm-chip.cjs.entry.js.map +1 -1
  118. package/dist/cjs/bcm-chip.entry.cjs.js.map +1 -0
  119. package/dist/cjs/bcm-divider.cjs.entry.js +4 -6
  120. package/dist/cjs/bcm-divider.cjs.entry.js.map +1 -1
  121. package/dist/cjs/bcm-divider.entry.cjs.js.map +1 -0
  122. package/dist/cjs/bcm-pop-confirm.cjs.entry.js +7 -9
  123. package/dist/cjs/bcm-pop-confirm.cjs.entry.js.map +1 -1
  124. package/dist/cjs/bcm-pop-confirm.entry.cjs.js.map +1 -0
  125. package/dist/cjs/bcm-popover.cjs.entry.js +8 -10
  126. package/dist/cjs/bcm-popover.cjs.entry.js.map +1 -1
  127. package/dist/cjs/bcm-popover.entry.cjs.js.map +1 -0
  128. package/dist/cjs/bcm-radio-group.cjs.entry.js +6 -8
  129. package/dist/cjs/bcm-radio-group.cjs.entry.js.map +1 -1
  130. package/dist/cjs/bcm-radio-group.entry.cjs.js.map +1 -0
  131. package/dist/cjs/bcm-radio.cjs.entry.js +4 -6
  132. package/dist/cjs/bcm-radio.cjs.entry.js.map +1 -1
  133. package/dist/cjs/bcm-radio.entry.cjs.js.map +1 -0
  134. package/dist/cjs/bcm-segmented-picker-option.cjs.entry.js +4 -6
  135. package/dist/cjs/bcm-segmented-picker-option.cjs.entry.js.map +1 -1
  136. package/dist/cjs/bcm-segmented-picker-option.entry.cjs.js.map +1 -0
  137. package/dist/cjs/bcm-segmented-picker.cjs.entry.js +4 -6
  138. package/dist/cjs/bcm-segmented-picker.cjs.entry.js.map +1 -1
  139. package/dist/cjs/bcm-segmented-picker.entry.cjs.js.map +1 -0
  140. package/dist/cjs/bcm-switch.cjs.entry.js +5 -7
  141. package/dist/cjs/bcm-switch.cjs.entry.js.map +1 -1
  142. package/dist/cjs/bcm-switch.entry.cjs.js.map +1 -0
  143. package/dist/cjs/bcm-tabs-content.cjs.entry.js +3 -5
  144. package/dist/cjs/bcm-tabs-content.cjs.entry.js.map +1 -1
  145. package/dist/cjs/bcm-tabs-content.entry.cjs.js.map +1 -0
  146. package/dist/cjs/bcm-tabs-list.cjs.entry.js +4 -6
  147. package/dist/cjs/bcm-tabs-list.cjs.entry.js.map +1 -1
  148. package/dist/cjs/bcm-tabs-list.entry.cjs.js.map +1 -0
  149. package/dist/cjs/bcm-tabs-trigger.cjs.entry.js +4 -6
  150. package/dist/cjs/bcm-tabs-trigger.cjs.entry.js.map +1 -1
  151. package/dist/cjs/bcm-tabs-trigger.entry.cjs.js.map +1 -0
  152. package/dist/cjs/bcm-tabs.cjs.entry.js +4 -6
  153. package/dist/cjs/bcm-tabs.cjs.entry.js.map +1 -1
  154. package/dist/cjs/bcm-tabs.entry.cjs.js.map +1 -0
  155. package/dist/cjs/bcm-textarea.cjs.entry.js +8 -10
  156. package/dist/cjs/bcm-textarea.cjs.entry.js.map +1 -1
  157. package/dist/cjs/bcm-textarea.entry.cjs.js.map +1 -0
  158. package/dist/cjs/bcm-tooltip.cjs.entry.js +8 -10
  159. package/dist/cjs/bcm-tooltip.cjs.entry.js.map +1 -1
  160. package/dist/cjs/bcm-tooltip.entry.cjs.js.map +1 -0
  161. package/dist/cjs/bromcom-ui.cjs.js +8 -8
  162. package/dist/cjs/bromcom-ui.cjs.js.map +1 -1
  163. package/dist/cjs/{floating-ui.dom.esm-3ec8404c.js → floating-ui.dom-DyKmFgkP.js} +32 -512
  164. package/dist/cjs/floating-ui.dom-DyKmFgkP.js.map +1 -0
  165. package/dist/cjs/{generate-id-f6982042.js → generate-id-CG_BkTJu.js} +4 -13
  166. package/dist/cjs/generate-id-CG_BkTJu.js.map +1 -0
  167. package/dist/cjs/index-Bp6Dd2i1.js +97 -0
  168. package/dist/cjs/index-Bp6Dd2i1.js.map +1 -0
  169. package/dist/cjs/{index-6710808e.js → index-DFpZVb11.js} +461 -279
  170. package/dist/cjs/index-DFpZVb11.js.map +1 -0
  171. package/dist/cjs/index.cjs.js +1 -0
  172. package/dist/cjs/index.cjs.js.map +1 -1
  173. package/dist/cjs/loader.cjs.js +4 -6
  174. package/dist/cjs/loader.cjs.js.map +1 -1
  175. package/dist/cjs/tv-ngpIbGlG.js +2624 -0
  176. package/dist/cjs/tv-ngpIbGlG.js.map +1 -0
  177. package/dist/cjs/{validation-messages-18389279.js → validation-messages-BjfpSEWk.js} +2 -1
  178. package/dist/cjs/validation-messages-BjfpSEWk.js.map +1 -0
  179. package/dist/collection/collection-manifest.json +1 -1
  180. package/dist/collection/components/accordion/accordion.component.js +4 -4
  181. package/dist/collection/components/accordion-group/accordion-group.component.js +1 -1
  182. package/dist/collection/components/alert/alert.component.js +5 -5
  183. package/dist/collection/components/avatar/avatar.component.js +9 -9
  184. package/dist/collection/components/badge/badge.component.js +9 -9
  185. package/dist/collection/components/basic-badge/basic-badge.component.js +5 -5
  186. package/dist/collection/components/basic-badge/basic-badge.css +1 -1
  187. package/dist/collection/components/button/button.component.js +20 -20
  188. package/dist/collection/components/button/button.css +1 -1
  189. package/dist/collection/components/button-group/button-group.component.js +7 -7
  190. package/dist/collection/components/checkbox/checkbox.component.js +9 -9
  191. package/dist/collection/components/chip/chip.component.js +6 -6
  192. package/dist/collection/components/divider/divider.component.js +3 -3
  193. package/dist/collection/components/drawer/drawer.component.js +6 -6
  194. package/dist/collection/components/dropdown/dropdown.component.js +1 -1
  195. package/dist/collection/components/dropdown-item/dropdown-item.component.js +6 -5
  196. package/dist/collection/components/dropdown-item/dropdown-item.component.js.map +1 -1
  197. package/dist/collection/components/input/input.component.js +32 -31
  198. package/dist/collection/components/input/input.component.js.map +1 -1
  199. package/dist/collection/components/input/input.css +1 -1
  200. package/dist/collection/components/linked/linked.component.js +13 -12
  201. package/dist/collection/components/linked/linked.component.js.map +1 -1
  202. package/dist/collection/components/linked/linked.css +1 -1
  203. package/dist/collection/components/pop-confirm/pop-confirm.component.js +10 -10
  204. package/dist/collection/components/popover/popover.component.js +7 -7
  205. package/dist/collection/components/radio/radio.component.js +9 -9
  206. package/dist/collection/components/radio-group/radio-group.component.js +9 -9
  207. package/dist/collection/components/segmented-picker/segmented-picker-option.component.js +5 -5
  208. package/dist/collection/components/segmented-picker/segmented-picker.component.js +4 -4
  209. package/dist/collection/components/shortcut/shortcut.js +2 -2
  210. package/dist/collection/components/switch/switch.component.js +11 -11
  211. package/dist/collection/components/tabs/tabs-content.component.js +1 -1
  212. package/dist/collection/components/tabs/tabs-trigger.component.js +4 -4
  213. package/dist/collection/components/tabs/tabs.component.js +2 -2
  214. package/dist/collection/components/text/text.component.js +4 -4
  215. package/dist/collection/components/textarea/textarea.component.js +25 -24
  216. package/dist/collection/components/textarea/textarea.component.js.map +1 -1
  217. package/dist/collection/components/textarea/textarea.css +1 -1
  218. package/dist/collection/components/tooltip/tooltip.component.js +5 -5
  219. package/dist/components/bcm-accordion-group.js +4 -4
  220. package/dist/components/bcm-accordion-group.js.map +1 -1
  221. package/dist/components/bcm-accordion.js +5 -5
  222. package/dist/components/bcm-accordion.js.map +1 -1
  223. package/dist/components/bcm-alert.js +5 -5
  224. package/dist/components/bcm-alert.js.map +1 -1
  225. package/dist/components/bcm-avatar.js +6 -6
  226. package/dist/components/bcm-avatar.js.map +1 -1
  227. package/dist/components/bcm-badge.js +2 -1
  228. package/dist/components/bcm-basic-badge.js +6 -6
  229. package/dist/components/bcm-basic-badge.js.map +1 -1
  230. package/dist/components/bcm-button-group.js +5 -5
  231. package/dist/components/bcm-button-group.js.map +1 -1
  232. package/dist/components/bcm-button.js +2 -1
  233. package/dist/components/bcm-checkbox.js +6 -6
  234. package/dist/components/bcm-checkbox.js.map +1 -1
  235. package/dist/components/bcm-chip.js +5 -5
  236. package/dist/components/bcm-chip.js.map +1 -1
  237. package/dist/components/bcm-divider.js +5 -5
  238. package/dist/components/bcm-divider.js.map +1 -1
  239. package/dist/components/bcm-drawer.js +5 -5
  240. package/dist/components/bcm-drawer.js.map +1 -1
  241. package/dist/components/bcm-dropdown-item.js +6 -6
  242. package/dist/components/bcm-dropdown-item.js.map +1 -1
  243. package/dist/components/bcm-dropdown.js +7 -7
  244. package/dist/components/bcm-dropdown.js.map +1 -1
  245. package/dist/components/bcm-input.js +14 -14
  246. package/dist/components/bcm-input.js.map +1 -1
  247. package/dist/components/bcm-linked.js +2 -1
  248. package/dist/components/bcm-pop-confirm.js +7 -7
  249. package/dist/components/bcm-pop-confirm.js.map +1 -1
  250. package/dist/components/bcm-popover.js +6 -6
  251. package/dist/components/bcm-popover.js.map +1 -1
  252. package/dist/components/bcm-radio-group.js +7 -7
  253. package/dist/components/bcm-radio-group.js.map +1 -1
  254. package/dist/components/bcm-radio.js +5 -5
  255. package/dist/components/bcm-radio.js.map +1 -1
  256. package/dist/components/bcm-segmented-picker-option.js +5 -5
  257. package/dist/components/bcm-segmented-picker-option.js.map +1 -1
  258. package/dist/components/bcm-segmented-picker.js +5 -5
  259. package/dist/components/bcm-segmented-picker.js.map +1 -1
  260. package/dist/components/bcm-shortcut.js +5 -5
  261. package/dist/components/bcm-shortcut.js.map +1 -1
  262. package/dist/components/bcm-switch.js +6 -6
  263. package/dist/components/bcm-switch.js.map +1 -1
  264. package/dist/components/bcm-tabs-content.js +4 -4
  265. package/dist/components/bcm-tabs-content.js.map +1 -1
  266. package/dist/components/bcm-tabs-list.js +5 -5
  267. package/dist/components/bcm-tabs-list.js.map +1 -1
  268. package/dist/components/bcm-tabs-trigger.js +5 -5
  269. package/dist/components/bcm-tabs-trigger.js.map +1 -1
  270. package/dist/components/bcm-tabs.js +5 -5
  271. package/dist/components/bcm-tabs.js.map +1 -1
  272. package/dist/components/bcm-text.js +5 -5
  273. package/dist/components/bcm-text.js.map +1 -1
  274. package/dist/components/bcm-textarea.js +9 -9
  275. package/dist/components/bcm-textarea.js.map +1 -1
  276. package/dist/components/bcm-tooltip.js +6 -6
  277. package/dist/components/bcm-tooltip.js.map +1 -1
  278. package/dist/components/index.js +1706 -2
  279. package/dist/components/index.js.map +1 -1
  280. package/dist/components/{p-bf273460.js → p-A70Ppz6C.js} +6 -6
  281. package/dist/components/p-A70Ppz6C.js.map +1 -0
  282. package/dist/components/{p-39872cdf.js → p-BHwftRkk.js} +8 -8
  283. package/dist/components/p-BHwftRkk.js.map +1 -0
  284. package/dist/components/{p-c491a7c9.js → p-BdGAZ8M0.js} +7 -7
  285. package/dist/components/p-BdGAZ8M0.js.map +1 -0
  286. package/dist/components/p-BfTCfPZ1.js +95 -0
  287. package/dist/components/p-BfTCfPZ1.js.map +1 -0
  288. package/dist/components/p-CEcVC0yX.js +2622 -0
  289. package/dist/components/p-CEcVC0yX.js.map +1 -0
  290. package/dist/{esm/validation-messages-af4512f0.js → components/p-CUvT12BL.js} +2 -1
  291. package/dist/components/p-CUvT12BL.js.map +1 -0
  292. package/dist/components/{p-50133556.js → p-CzcTU1ty.js} +32 -512
  293. package/dist/components/p-CzcTU1ty.js.map +1 -0
  294. package/dist/components/{p-ba2410ef.js → p-IBjzkjef.js} +4 -13
  295. package/dist/components/p-IBjzkjef.js.map +1 -0
  296. package/dist/esm/bcm-accordion-group.entry.js +3 -3
  297. package/dist/esm/bcm-accordion-group.entry.js.map +1 -1
  298. package/dist/esm/bcm-accordion.entry.js +4 -4
  299. package/dist/esm/bcm-accordion.entry.js.map +1 -1
  300. package/dist/esm/bcm-alert.entry.js +4 -4
  301. package/dist/esm/bcm-alert.entry.js.map +1 -1
  302. package/dist/esm/bcm-avatar.entry.js +4 -4
  303. package/dist/esm/bcm-avatar.entry.js.map +1 -1
  304. package/dist/esm/bcm-badge.entry.js +4 -4
  305. package/dist/esm/bcm-badge.entry.js.map +1 -1
  306. package/dist/esm/bcm-basic-badge.entry.js +5 -5
  307. package/dist/esm/bcm-basic-badge.entry.js.map +1 -1
  308. package/dist/esm/bcm-button-group.entry.js +4 -4
  309. package/dist/esm/bcm-button-group.entry.js.map +1 -1
  310. package/dist/esm/bcm-button.bcm-drawer.bcm-dropdown.bcm-dropdown-item.bcm-input.bcm-linked.bcm-shortcut.bcm-text.entry.js.map +1 -0
  311. package/dist/esm/bcm-button_8.entry.js +23 -30
  312. package/dist/esm/bcm-button_8.entry.js.map +1 -1
  313. package/dist/esm/bcm-checkbox.entry.js +5 -5
  314. package/dist/esm/bcm-checkbox.entry.js.map +1 -1
  315. package/dist/esm/bcm-chip.entry.js +4 -4
  316. package/dist/esm/bcm-chip.entry.js.map +1 -1
  317. package/dist/esm/bcm-divider.entry.js +4 -4
  318. package/dist/esm/bcm-divider.entry.js.map +1 -1
  319. package/dist/esm/bcm-pop-confirm.entry.js +5 -5
  320. package/dist/esm/bcm-pop-confirm.entry.js.map +1 -1
  321. package/dist/esm/bcm-popover.entry.js +5 -5
  322. package/dist/esm/bcm-popover.entry.js.map +1 -1
  323. package/dist/esm/bcm-radio-group.entry.js +6 -6
  324. package/dist/esm/bcm-radio-group.entry.js.map +1 -1
  325. package/dist/esm/bcm-radio.entry.js +4 -4
  326. package/dist/esm/bcm-radio.entry.js.map +1 -1
  327. package/dist/esm/bcm-segmented-picker-option.entry.js +4 -4
  328. package/dist/esm/bcm-segmented-picker-option.entry.js.map +1 -1
  329. package/dist/esm/bcm-segmented-picker.entry.js +4 -4
  330. package/dist/esm/bcm-segmented-picker.entry.js.map +1 -1
  331. package/dist/esm/bcm-switch.entry.js +5 -5
  332. package/dist/esm/bcm-switch.entry.js.map +1 -1
  333. package/dist/esm/bcm-tabs-content.entry.js +3 -3
  334. package/dist/esm/bcm-tabs-content.entry.js.map +1 -1
  335. package/dist/esm/bcm-tabs-list.entry.js +4 -4
  336. package/dist/esm/bcm-tabs-list.entry.js.map +1 -1
  337. package/dist/esm/bcm-tabs-trigger.entry.js +4 -4
  338. package/dist/esm/bcm-tabs-trigger.entry.js.map +1 -1
  339. package/dist/esm/bcm-tabs.entry.js +4 -4
  340. package/dist/esm/bcm-tabs.entry.js.map +1 -1
  341. package/dist/esm/bcm-textarea.entry.js +8 -8
  342. package/dist/esm/bcm-textarea.entry.js.map +1 -1
  343. package/dist/esm/bcm-tooltip.entry.js +5 -5
  344. package/dist/esm/bcm-tooltip.entry.js.map +1 -1
  345. package/dist/esm/bromcom-ui.js +6 -5
  346. package/dist/esm/bromcom-ui.js.map +1 -1
  347. package/dist/esm/{floating-ui.dom.esm-b7749b71.js → floating-ui.dom-DxMLMJ3r.js} +33 -513
  348. package/dist/esm/floating-ui.dom-DxMLMJ3r.js.map +1 -0
  349. package/dist/esm/{generate-id-3b2fcb93.js → generate-id-IBjzkjef.js} +4 -13
  350. package/dist/esm/generate-id-IBjzkjef.js.map +1 -0
  351. package/dist/esm/index-BfTCfPZ1.js +95 -0
  352. package/dist/esm/index-BfTCfPZ1.js.map +1 -0
  353. package/dist/esm/{index-18b75a47.js → index-CrZxEeDA.js} +461 -260
  354. package/dist/esm/index-CrZxEeDA.js.map +1 -0
  355. package/dist/esm/index.js +1 -0
  356. package/dist/esm/index.js.map +1 -1
  357. package/dist/esm/loader.js +4 -4
  358. package/dist/esm/loader.js.map +1 -1
  359. package/dist/esm/tv-CEcVC0yX.js +2622 -0
  360. package/dist/esm/tv-CEcVC0yX.js.map +1 -0
  361. package/dist/{components/p-13a245f6.js → esm/validation-messages-CUvT12BL.js} +2 -1
  362. package/dist/esm/validation-messages-CUvT12BL.js.map +1 -0
  363. package/dist/types/components.d.ts +280 -0
  364. package/dist/types/stencil-public-runtime.d.ts +35 -6
  365. package/package.json +1 -1
  366. package/dist/bromcom-ui/p-06d42346.entry.js.map +0 -1
  367. package/dist/bromcom-ui/p-0c8a9725.entry.js +0 -2
  368. package/dist/bromcom-ui/p-0c8a9725.entry.js.map +0 -1
  369. package/dist/bromcom-ui/p-11227d96.entry.js.map +0 -1
  370. package/dist/bromcom-ui/p-12360e4c.js +0 -7
  371. package/dist/bromcom-ui/p-12360e4c.js.map +0 -1
  372. package/dist/bromcom-ui/p-13a245f6.js.map +0 -1
  373. package/dist/bromcom-ui/p-1b4ccb21.entry.js +0 -2
  374. package/dist/bromcom-ui/p-1b4ccb21.entry.js.map +0 -1
  375. package/dist/bromcom-ui/p-1e726978.entry.js +0 -2
  376. package/dist/bromcom-ui/p-1e726978.entry.js.map +0 -1
  377. package/dist/bromcom-ui/p-2c58fcb7.js +0 -2
  378. package/dist/bromcom-ui/p-2c58fcb7.js.map +0 -1
  379. package/dist/bromcom-ui/p-2e469cb9.entry.js +0 -2
  380. package/dist/bromcom-ui/p-2e469cb9.entry.js.map +0 -1
  381. package/dist/bromcom-ui/p-350c97e1.entry.js +0 -2
  382. package/dist/bromcom-ui/p-350c97e1.entry.js.map +0 -1
  383. package/dist/bromcom-ui/p-4027f5c4.entry.js +0 -2
  384. package/dist/bromcom-ui/p-4027f5c4.entry.js.map +0 -1
  385. package/dist/bromcom-ui/p-45f4c75b.entry.js +0 -2
  386. package/dist/bromcom-ui/p-45f4c75b.entry.js.map +0 -1
  387. package/dist/bromcom-ui/p-4652635d.entry.js +0 -2
  388. package/dist/bromcom-ui/p-4652635d.entry.js.map +0 -1
  389. package/dist/bromcom-ui/p-50133556.js +0 -2
  390. package/dist/bromcom-ui/p-50133556.js.map +0 -1
  391. package/dist/bromcom-ui/p-67ceb7f3.entry.js +0 -2
  392. package/dist/bromcom-ui/p-67ceb7f3.entry.js.map +0 -1
  393. package/dist/bromcom-ui/p-77122bc2.entry.js +0 -2
  394. package/dist/bromcom-ui/p-77122bc2.entry.js.map +0 -1
  395. package/dist/bromcom-ui/p-78d8f63c.entry.js +0 -2
  396. package/dist/bromcom-ui/p-78d8f63c.entry.js.map +0 -1
  397. package/dist/bromcom-ui/p-87a0f20b.entry.js +0 -2
  398. package/dist/bromcom-ui/p-87a0f20b.entry.js.map +0 -1
  399. package/dist/bromcom-ui/p-881ccea1.entry.js +0 -2
  400. package/dist/bromcom-ui/p-881ccea1.entry.js.map +0 -1
  401. package/dist/bromcom-ui/p-8ae92b62.entry.js +0 -2
  402. package/dist/bromcom-ui/p-8ae92b62.entry.js.map +0 -1
  403. package/dist/bromcom-ui/p-9a6cec21.entry.js +0 -2
  404. package/dist/bromcom-ui/p-9a6cec21.entry.js.map +0 -1
  405. package/dist/bromcom-ui/p-9d0aeb92.js +0 -3
  406. package/dist/bromcom-ui/p-9d0aeb92.js.map +0 -1
  407. package/dist/bromcom-ui/p-a03922f8.entry.js.map +0 -1
  408. package/dist/bromcom-ui/p-a20f6baf.entry.js +0 -2
  409. package/dist/bromcom-ui/p-a20f6baf.entry.js.map +0 -1
  410. package/dist/bromcom-ui/p-b1f9ad67.entry.js.map +0 -1
  411. package/dist/bromcom-ui/p-ba2410ef.js.map +0 -1
  412. package/dist/bromcom-ui/p-bf213fe6.entry.js +0 -2
  413. package/dist/bromcom-ui/p-bf213fe6.entry.js.map +0 -1
  414. package/dist/bromcom-ui/p-c89f7997.entry.js +0 -2
  415. package/dist/bromcom-ui/p-c89f7997.entry.js.map +0 -1
  416. package/dist/bromcom-ui/p-ddf64315.js +0 -2
  417. package/dist/bromcom-ui/p-ddf64315.js.map +0 -1
  418. package/dist/bromcom-ui/p-f56b22de.entry.js +0 -2
  419. package/dist/bromcom-ui/p-f56b22de.entry.js.map +0 -1
  420. package/dist/bromcom-ui/p-fdcb9dbd.entry.js +0 -2
  421. package/dist/bromcom-ui/p-fdcb9dbd.entry.js.map +0 -1
  422. package/dist/cjs/app-globals-e0eef2e9.js +0 -47
  423. package/dist/cjs/app-globals-e0eef2e9.js.map +0 -1
  424. package/dist/cjs/floating-ui.dom.esm-3ec8404c.js.map +0 -1
  425. package/dist/cjs/generate-id-f6982042.js.map +0 -1
  426. package/dist/cjs/index-5a88e57b.js +0 -84
  427. package/dist/cjs/index-5a88e57b.js.map +0 -1
  428. package/dist/cjs/index-6710808e.js.map +0 -1
  429. package/dist/cjs/tv-d2e35446.js +0 -2597
  430. package/dist/cjs/tv-d2e35446.js.map +0 -1
  431. package/dist/cjs/validation-messages-18389279.js.map +0 -1
  432. package/dist/components/p-12360e4c.js +0 -82
  433. package/dist/components/p-12360e4c.js.map +0 -1
  434. package/dist/components/p-13a245f6.js.map +0 -1
  435. package/dist/components/p-2c58fcb7.js +0 -2595
  436. package/dist/components/p-2c58fcb7.js.map +0 -1
  437. package/dist/components/p-30135590.js +0 -1567
  438. package/dist/components/p-30135590.js.map +0 -1
  439. package/dist/components/p-39872cdf.js.map +0 -1
  440. package/dist/components/p-50133556.js.map +0 -1
  441. package/dist/components/p-ba2410ef.js.map +0 -1
  442. package/dist/components/p-bf273460.js.map +0 -1
  443. package/dist/components/p-c491a7c9.js.map +0 -1
  444. package/dist/esm/app-globals-f7994f55.js +0 -45
  445. package/dist/esm/app-globals-f7994f55.js.map +0 -1
  446. package/dist/esm/floating-ui.dom.esm-b7749b71.js.map +0 -1
  447. package/dist/esm/generate-id-3b2fcb93.js.map +0 -1
  448. package/dist/esm/index-097075ad.js +0 -82
  449. package/dist/esm/index-097075ad.js.map +0 -1
  450. package/dist/esm/index-18b75a47.js.map +0 -1
  451. package/dist/esm/tv-6dcd2224.js +0 -2595
  452. package/dist/esm/tv-6dcd2224.js.map +0 -1
  453. package/dist/esm/validation-messages-af4512f0.js.map +0 -1
  454. package/loader/package.json +0 -11
@@ -1,5 +1,3 @@
1
- export { g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-30135590.js';
2
-
3
1
  function addHeadScript(obj) {
4
2
  const head = document.head;
5
3
  const script = document.createElement('script');
@@ -39,4 +37,1710 @@ customElements.define('bcm-icon', class extends HTMLElement {
39
37
  }
40
38
  });
41
39
 
40
+ const globalStyles = "@tailwind components;@tailwind utilities;*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:1px;--tw-ring-offset-color:#fff;--tw-ring-color:var(--bcm-ui-color-ring-default);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:1px;--tw-ring-offset-color:#fff;--tw-ring-color:var(--bcm-ui-color-ring-default);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.bcm-ui-element{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,sans-serif}.font-sans{font-family:Inter,sans-serif}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:root{--bcm-ui-color-text-base:#fff;--bcm-ui-color-text-header:var(--bcm-color-secondary-800);--bcm-ui-color-text-default:var(--bcm-color-secondary-700);--bcm-ui-color-text-label:var(--bcm-color-secondary-700);--bcm-ui-color-text-helper:var(--bcm-color-secondary-500);--bcm-ui-color-text-placeholder:var(--bcm-color-secondary-500);--bcm-ui-color-text-caption:var(--bcm-color-secondary-600);--bcm-ui-color-text-icon-default:var(--bcm-color-secondary-600);--bcm-ui-color-text-icon-dark:var(--bcm-color-secondary-700);--bcm-ui-color-text-primary:var(--bcm-color-primary-700);--bcm-ui-color-text-info:var(--bcm-color-info-700);--bcm-ui-color-text-success:var(--bcm-color-success-700);--bcm-ui-color-text-warning:var(--bcm-color-warning-700);--bcm-ui-color-text-error:var(--bcm-color-error-700);--bcm-ui-color-text-disabled:var(--bcm-color-secondary-500);--bcm-ui-color-text-visited:oklch(0.496 0.265 301.924);--bcm-ui-color-border-base:#fff;--bcm-ui-color-border-default:var(--bcm-color-secondary-300);--bcm-ui-color-border-default-alt:var(--bcm-color-secondary-600);--bcm-ui-color-border-focus:var(--bcm-color-primary-800);--bcm-ui-color-border-disabled:var(--bcm-color-secondary-300);--bcm-ui-color-border-primary:var(--bcm-color-primary-700);--bcm-ui-color-border-info:var(--bcm-color-info-700);--bcm-ui-color-border-success:var(--bcm-color-success-700);--bcm-ui-color-border-warning:var(--bcm-color-warning-700);--bcm-ui-color-border-error:var(--bcm-color-error-700);--bcm-ui-color-background-basic-masterpage:oklch(0.985 0.002 247.839);--bcm-ui-color-background-basic-card:#fff;--bcm-ui-color-background-basic-modal:#fff;--bcm-ui-color-background-basic-panel:#fff;--bcm-ui-color-background-basic-base:#fff;--bcm-ui-color-background-disabled-default:var(--bcm-color-secondary-300);--bcm-ui-color-background-base-default:#fff;--bcm-ui-color-background-base-hover:var(--bcm-color-secondary-100);--bcm-ui-color-background-base-active:var(--bcm-color-secondary-200);--bcm-ui-color-background-default-default:var(--bcm-color-secondary-100);--bcm-ui-color-background-default-hover:var(--bcm-color-secondary-200);--bcm-ui-color-background-default-active:var(--bcm-color-secondary-300);--bcm-ui-color-background-default-dark-default:var(--bcm-color-secondary-700);--bcm-ui-color-background-default-dark-hover:var(--bcm-color-secondary-800);--bcm-ui-color-background-default-dark-active:var(--bcm-color-secondary-900);--bcm-ui-color-background-primary-default:var(--bcm-color-primary-700);--bcm-ui-color-background-primary-hover:var(--bcm-color-primary-800);--bcm-ui-color-background-primary-active:var(--bcm-color-primary-900);--bcm-ui-color-background-info-default:var(--bcm-color-info-700);--bcm-ui-color-background-info-hover:var(--bcm-color-info-800);--bcm-ui-color-background-info-active:var(--bcm-color-info-900);--bcm-ui-color-background-success-default:var(--bcm-color-success-700);--bcm-ui-color-background-success-hover:var(--bcm-color-success-800);--bcm-ui-color-background-success-active:var(--bcm-color-success-900);--bcm-ui-color-background-warning-default:var(--bcm-color-warning-700);--bcm-ui-color-background-warning-hover:var(--bcm-color-warning-800);--bcm-ui-color-background-warning-active:var(--bcm-color-warning-900);--bcm-ui-color-background-error-default:var(--bcm-color-error-700);--bcm-ui-color-background-error-hover:var(--bcm-color-error-800);--bcm-ui-color-background-error-active:var(--bcm-color-error-900);--bcm-ui-color-ring-default:var(--bcm-color-primary-700);--bcm-ui-color-background-transparent-default:rgba(0,0,0,.4);--bcm-ui-color-text-palette-slate:oklch(0.372 0.044 257.287);--bcm-ui-color-text-palette-gray:oklch(0.373 0.034 259.733);--bcm-ui-color-text-palette-zinc:oklch(0.37 0.013 285.805);--bcm-ui-color-text-palette-neutral:oklch(0.371 0 0);--bcm-ui-color-text-palette-stone:oklch(0.374 0.01 67.558);--bcm-ui-color-text-palette-red:oklch(0.505 0.213 27.518);--bcm-ui-color-text-palette-orange:oklch(0.553 0.195 38.402);--bcm-ui-color-text-palette-amber:oklch(0.555 0.163 48.998);--bcm-ui-color-text-palette-yellow:oklch(0.554 0.135 66.442);--bcm-ui-color-text-palette-lime:oklch(0.532 0.157 131.589);--bcm-ui-color-text-palette-green:oklch(0.527 0.154 150.069);--bcm-ui-color-text-palette-emerald:oklch(0.508 0.118 165.612);--bcm-ui-color-text-palette-teal:oklch(0.511 0.096 186.391);--bcm-ui-color-text-palette-cyan:oklch(0.52 0.105 223.128);--bcm-ui-color-text-palette-sky:oklch(0.5 0.134 242.749);--bcm-ui-color-text-palette-blue:oklch(0.488 0.243 264.376);--bcm-ui-color-text-palette-indigo:oklch(0.457 0.24 277.023);--bcm-ui-color-text-palette-violet:oklch(0.491 0.27 292.581);--bcm-ui-color-text-palette-purple:oklch(0.496 0.265 301.924);--bcm-ui-color-text-palette-fuchsia:oklch(0.518 0.253 323.949);--bcm-ui-color-text-palette-pink:oklch(0.525 0.223 3.958);--bcm-ui-color-text-palette-rose:oklch(0.514 0.222 16.935);--bcm-ui-color-border-palette-slate:oklch(0.372 0.044 257.287);--bcm-ui-color-border-palette-gray:oklch(0.373 0.034 259.733);--bcm-ui-color-border-palette-zinc:oklch(0.37 0.013 285.805);--bcm-ui-color-border-palette-neutral:oklch(0.371 0 0);--bcm-ui-color-border-palette-stone:oklch(0.374 0.01 67.558);--bcm-ui-color-border-palette-red:oklch(0.505 0.213 27.518);--bcm-ui-color-border-palette-orange:oklch(0.553 0.195 38.402);--bcm-ui-color-border-palette-amber:oklch(0.555 0.163 48.998);--bcm-ui-color-border-palette-yellow:oklch(0.554 0.135 66.442);--bcm-ui-color-border-palette-lime:oklch(0.532 0.157 131.589);--bcm-ui-color-border-palette-green:oklch(0.527 0.154 150.069);--bcm-ui-color-border-palette-emerald:oklch(0.508 0.118 165.612);--bcm-ui-color-border-palette-teal:oklch(0.511 0.096 186.391);--bcm-ui-color-border-palette-cyan:oklch(0.52 0.105 223.128);--bcm-ui-color-border-palette-sky:oklch(0.5 0.134 242.749);--bcm-ui-color-border-palette-blue:oklch(0.488 0.243 264.376);--bcm-ui-color-border-palette-indigo:oklch(0.457 0.24 277.023);--bcm-ui-color-border-palette-violet:oklch(0.491 0.27 292.581);--bcm-ui-color-border-palette-purple:oklch(0.496 0.265 301.924);--bcm-ui-color-border-palette-fuchsia:oklch(0.518 0.253 323.949);--bcm-ui-color-border-palette-pink:oklch(0.525 0.223 3.958);--bcm-ui-color-border-palette-rose:oklch(0.514 0.222 16.935);--bcm-ui-color-background-vivid-slate-default:oklch(0.372 0.044 257.287);--bcm-ui-color-background-vivid-slate-hover:oklch(0.279 0.041 260.031);--bcm-ui-color-background-vivid-slate-active:oklch(0.208 0.042 265.755);--bcm-ui-color-background-vivid-gray-default:oklch(0.373 0.034 259.733);--bcm-ui-color-background-vivid-gray-hover:oklch(0.278 0.033 256.848);--bcm-ui-color-background-vivid-gray-active:oklch(0.21 0.034 264.665);--bcm-ui-color-background-vivid-zinc-default:oklch(0.37 0.013 285.805);--bcm-ui-color-background-vivid-zinc-hover:oklch(0.274 0.006 286.033);--bcm-ui-color-background-vivid-zinc-active:oklch(0.21 0.006 285.885);--bcm-ui-color-background-vivid-neutral-default:oklch(0.371 0 0);--bcm-ui-color-background-vivid-neutral-hover:oklch(0.269 0 0);--bcm-ui-color-background-vivid-neutral-active:oklch(0.205 0 0);--bcm-ui-color-background-vivid-stone-default:oklch(0.374 0.01 67.558);--bcm-ui-color-background-vivid-stone-hover:oklch(0.268 0.007 34.298);--bcm-ui-color-background-vivid-stone-active:oklch(0.216 0.006 56.043);--bcm-ui-color-background-vivid-red-default:oklch(0.505 0.213 27.518);--bcm-ui-color-background-vivid-red-hover:oklch(0.444 0.177 26.899);--bcm-ui-color-background-vivid-red-active:oklch(0.396 0.141 25.723);--bcm-ui-color-background-vivid-orange-default:oklch(0.553 0.195 38.402);--bcm-ui-color-background-vivid-orange-hover:oklch(0.47 0.157 37.304);--bcm-ui-color-background-vivid-orange-active:oklch(0.408 0.123 38.172);--bcm-ui-color-background-vivid-amber-default:oklch(0.555 0.163 48.998);--bcm-ui-color-background-vivid-amber-hover:oklch(0.473 0.137 46.201);--bcm-ui-color-background-vivid-amber-active:oklch(0.414 0.112 45.904);--bcm-ui-color-background-vivid-yellow-default:oklch(0.554 0.135 66.442);--bcm-ui-color-background-vivid-yellow-hover:oklch(0.476 0.114 61.907);--bcm-ui-color-background-vivid-yellow-active:oklch(0.421 0.095 57.708);--bcm-ui-color-background-vivid-lime-default:oklch(0.532 0.157 131.589);--bcm-ui-color-background-vivid-lime-hover:oklch(0.453 0.124 130.933);--bcm-ui-color-background-vivid-lime-active:oklch(0.405 0.101 131.063);--bcm-ui-color-background-vivid-green-default:oklch(0.527 0.154 150.069);--bcm-ui-color-background-vivid-green-hover:oklch(0.448 0.119 151.328);--bcm-ui-color-background-vivid-green-active:oklch(0.393 0.095 152.535);--bcm-ui-color-background-vivid-emerald-default:oklch(0.508 0.118 165.612);--bcm-ui-color-background-vivid-emerald-hover:oklch(0.432 0.095 166.913);--bcm-ui-color-background-vivid-emerald-active:oklch(0.378 0.077 168.94);--bcm-ui-color-background-vivid-teal-default:oklch(0.511 0.096 186.391);--bcm-ui-color-background-vivid-teal-hover:oklch(0.437 0.078 188.216);--bcm-ui-color-background-vivid-teal-active:oklch(0.386 0.063 188.416);--bcm-ui-color-background-vivid-cyan-default:oklch(0.52 0.105 223.128);--bcm-ui-color-background-vivid-cyan-hover:oklch(0.45 0.085 224.283);--bcm-ui-color-background-vivid-cyan-active:oklch(0.398 0.07 227.392);--bcm-ui-color-background-vivid-sky-default:oklch(0.5 0.134 242.749);--bcm-ui-color-background-vivid-sky-hover:oklch(0.443 0.11 240.79);--bcm-ui-color-background-vivid-sky-active:oklch(0.391 0.09 240.876);--bcm-ui-color-background-vivid-blue-default:oklch(0.488 0.243 264.376);--bcm-ui-color-background-vivid-blue-hover:oklch(0.424 0.199 265.638);--bcm-ui-color-background-vivid-blue-active:oklch(0.379 0.146 265.522);--bcm-ui-color-background-vivid-indigo-default:oklch(0.457 0.24 277.023);--bcm-ui-color-background-vivid-indigo-hover:oklch(0.398 0.195 277.366);--bcm-ui-color-background-vivid-indigo-active:oklch(0.359 0.144 278.697);--bcm-ui-color-background-vivid-violet-default:oklch(0.491 0.27 292.581);--bcm-ui-color-background-vivid-violet-hover:oklch(0.432 0.232 292.759);--bcm-ui-color-background-vivid-violet-active:oklch(0.38 0.189 293.745);--bcm-ui-color-background-vivid-purple-default:oklch(0.496 0.265 301.924);--bcm-ui-color-background-vivid-purple-hover:oklch(0.438 0.218 303.724);--bcm-ui-color-background-vivid-purple-active:oklch(0.381 0.176 304.987);--bcm-ui-color-background-vivid-fuchsia-default:oklch(0.518 0.253 323.949);--bcm-ui-color-background-vivid-fuchsia-hover:oklch(0.452 0.211 324.591);--bcm-ui-color-background-vivid-fuchsia-active:oklch(0.401 0.17 325.612);--bcm-ui-color-background-vivid-pink-default:oklch(0.525 0.223 3.958);--bcm-ui-color-background-vivid-pink-hover:oklch(0.459 0.187 3.815);--bcm-ui-color-background-vivid-pink-active:oklch(0.408 0.153 2.432);--bcm-ui-color-background-vivid-rose-default:oklch(0.514 0.222 16.935);--bcm-ui-color-background-vivid-rose-hover:oklch(0.455 0.188 13.697);--bcm-ui-color-background-vivid-rose-active:oklch(0.41 0.159 10.272);--bcm-ui-color-background-soft-slate-default:oklch(0.984 0.003 247.858);--bcm-ui-color-background-soft-gray-default:oklch(0.985 0.002 247.839);--bcm-ui-color-background-soft-zinc-default:oklch(0.985 0 0);--bcm-ui-color-background-soft-neutral-default:oklch(0.985 0 0);--bcm-ui-color-background-soft-stone-default:oklch(0.985 0.001 106.423);--bcm-ui-color-background-soft-red-default:oklch(0.971 0.013 17.38);--bcm-ui-color-background-soft-orange-default:oklch(0.98 0.016 73.684);--bcm-ui-color-background-soft-amber-default:oklch(0.987 0.022 95.277);--bcm-ui-color-background-soft-yellow-default:oklch(0.987 0.026 102.212);--bcm-ui-color-background-soft-lime-default:oklch(0.986 0.031 120.757);--bcm-ui-color-background-soft-green-default:oklch(0.982 0.018 155.826);--bcm-ui-color-background-soft-emerald-default:oklch(0.979 0.021 166.113);--bcm-ui-color-background-soft-teal-default:oklch(0.984 0.014 180.72);--bcm-ui-color-background-soft-cyan-default:oklch(0.984 0.019 200.873);--bcm-ui-color-background-soft-sky-default:oklch(0.977 0.013 236.62);--bcm-ui-color-background-soft-blue-default:oklch(0.97 0.014 254.604);--bcm-ui-color-background-soft-indigo-default:oklch(0.962 0.018 272.314);--bcm-ui-color-background-soft-violet-default:oklch(0.969 0.016 293.756);--bcm-ui-color-background-soft-purple-default:oklch(0.977 0.014 308.299);--bcm-ui-color-background-soft-fuchsia-default:oklch(0.977 0.017 320.058);--bcm-ui-color-background-soft-pink-default:oklch(0.971 0.014 343.198);--bcm-ui-color-background-soft-rose-default:oklch(0.969 0.015 12.422);--bcm-ui-color-background-palette-slate-default:oklch(0.968 0.007 247.896);--bcm-ui-color-background-palette-slate-hover:oklch(0.929 0.013 255.508);--bcm-ui-color-background-palette-slate-active:oklch(0.869 0.022 252.894);--bcm-ui-color-background-palette-gray-default:oklch(0.967 0.003 264.542);--bcm-ui-color-background-palette-gray-hover:oklch(0.928 0.006 264.531);--bcm-ui-color-background-palette-gray-active:oklch(0.872 0.01 258.338);--bcm-ui-color-background-palette-zinc-default:oklch(0.967 0.001 286.375);--bcm-ui-color-background-palette-zinc-hover:oklch(0.92 0.004 286.32);--bcm-ui-color-background-palette-zinc-active:oklch(0.871 0.006 286.286);--bcm-ui-color-background-palette-neutral-default:oklch(0.97 0 0);--bcm-ui-color-background-palette-neutral-hover:oklch(0.922 0 0);--bcm-ui-color-background-palette-neutral-active:oklch(0.87 0 0);--bcm-ui-color-background-palette-stone-default:oklch(0.97 0.001 106.424);--bcm-ui-color-background-palette-stone-hover:oklch(0.923 0.003 48.717);--bcm-ui-color-background-palette-stone-active:oklch(0.869 0.005 56.366);--bcm-ui-color-background-palette-red-default:oklch(0.936 0.032 17.717);--bcm-ui-color-background-palette-red-hover:oklch(0.885 0.062 18.334);--bcm-ui-color-background-palette-red-active:oklch(0.808 0.114 19.571);--bcm-ui-color-background-palette-orange-default:oklch(0.954 0.038 75.164);--bcm-ui-color-background-palette-orange-hover:oklch(0.901 0.076 70.697);--bcm-ui-color-background-palette-orange-active:oklch(0.837 0.128 66.29);--bcm-ui-color-background-palette-amber-default:oklch(0.962 0.059 95.617);--bcm-ui-color-background-palette-amber-hover:oklch(0.924 0.12 95.746);--bcm-ui-color-background-palette-amber-active:oklch(0.879 0.169 91.605);--bcm-ui-color-background-palette-yellow-default:oklch(0.973 0.071 103.193);--bcm-ui-color-background-palette-yellow-hover:oklch(0.945 0.129 101.54);--bcm-ui-color-background-palette-yellow-active:oklch(0.905 0.182 98.111);--bcm-ui-color-background-palette-lime-default:oklch(0.967 0.067 122.328);--bcm-ui-color-background-palette-lime-hover:oklch(0.938 0.127 124.321);--bcm-ui-color-background-palette-lime-active:oklch(0.897 0.196 126.665);--bcm-ui-color-background-palette-green-default:oklch(0.962 0.044 156.743);--bcm-ui-color-background-palette-green-hover:oklch(0.925 0.084 155.995);--bcm-ui-color-background-palette-green-active:oklch(0.871 0.15 154.449);--bcm-ui-color-background-palette-emerald-default:oklch(0.95 0.052 163.051);--bcm-ui-color-background-palette-emerald-hover:oklch(0.905 0.093 164.15);--bcm-ui-color-background-palette-emerald-active:oklch(0.845 0.143 164.978);--bcm-ui-color-background-palette-teal-default:oklch(0.953 0.051 180.801);--bcm-ui-color-background-palette-teal-hover:oklch(0.91 0.096 180.426);--bcm-ui-color-background-palette-teal-active:oklch(0.855 0.138 181.071);--bcm-ui-color-background-palette-cyan-default:oklch(0.956 0.045 203.388);--bcm-ui-color-background-palette-cyan-hover:oklch(0.917 0.08 205.041);--bcm-ui-color-background-palette-cyan-active:oklch(0.865 0.127 207.078);--bcm-ui-color-background-palette-sky-default:oklch(0.951 0.026 236.824);--bcm-ui-color-background-palette-sky-hover:oklch(0.901 0.058 230.902);--bcm-ui-color-background-palette-sky-active:oklch(0.828 0.111 230.318);--bcm-ui-color-background-palette-blue-default:oklch(0.932 0.032 255.585);--bcm-ui-color-background-palette-blue-hover:oklch(0.882 0.059 254.128);--bcm-ui-color-background-palette-blue-active:oklch(0.809 0.105 251.813);--bcm-ui-color-background-palette-indigo-default:oklch(0.93 0.034 272.788);--bcm-ui-color-background-palette-indigo-hover:oklch(0.87 0.065 274.039);--bcm-ui-color-background-palette-indigo-active:oklch(0.785 0.115 274.713);--bcm-ui-color-background-palette-violet-default:oklch(0.943 0.029 294.588);--bcm-ui-color-background-palette-violet-hover:oklch(0.894 0.057 293.283);--bcm-ui-color-background-palette-violet-active:oklch(0.811 0.111 293.571);--bcm-ui-color-background-palette-purple-default:oklch(0.946 0.033 307.174);--bcm-ui-color-background-palette-purple-hover:oklch(0.902 0.063 306.703);--bcm-ui-color-background-palette-purple-active:oklch(0.827 0.119 306.383);--bcm-ui-color-background-palette-fuchsia-default:oklch(0.952 0.037 318.852);--bcm-ui-color-background-palette-fuchsia-hover:oklch(0.903 0.076 319.62);--bcm-ui-color-background-palette-fuchsia-active:oklch(0.833 0.145 321.434);--bcm-ui-color-background-palette-pink-default:oklch(0.948 0.028 342.258);--bcm-ui-color-background-palette-pink-hover:oklch(0.899 0.061 343.231);--bcm-ui-color-background-palette-pink-active:oklch(0.823 0.12 346.018);--bcm-ui-color-background-palette-rose-default:oklch(0.941 0.03 12.58);--bcm-ui-color-background-palette-rose-hover:oklch(0.892 0.058 10.001);--bcm-ui-color-background-palette-rose-active:oklch(0.81 0.117 11.638);--bcm-ui-box-shadow-sm:0 1px 2px 0 rgba(0,0,0,.05);--bcm-ui-box-shadow-md:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--bcm-ui-box-shadow-lg:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--bcm-ui-box-shadow-xl:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--bcm-ui-box-shadow-2xl:0 25px 50px -12px rgba(0,0,0,.25);--bcm-ui-box-shadow-inner:inset 0 2px 4px 0 rgba(0,0,0,.05);--bcm-ui-box-shadow-none:none;--bcm-ui-box-shadow-default:0 4px 12px 0 rgba(17,24,39,.1),0 1px 2px -1px rgba(0,0,0,.1);--bcm-ui-box-shadow-2:0px 1px 3px 0px rgba(0,0,0,.1),0px 1px 2px -1px rgba(0,0,0,.1);--bcm-ui-box-shadow-3:0px 4px 6px -1px rgba(0,0,0,.1),0px 2px 4px -2px rgba(0,0,0,.1);--bcm-ui-box-shadow-4:0px 10px 15px -3px rgba(0,0,0,.1),0px 4px 6px -4px rgba(0,0,0,.1);--bcm-ui-font-size-1:0.5rem;--bcm-ui-font-size-2:0.625rem;--bcm-ui-font-size-3:0.75rem;--bcm-ui-font-size-4:0.875rem;--bcm-ui-font-size-5:1rem;--bcm-ui-font-size-6:1.125rem;--bcm-ui-font-size-7:1.25rem;--bcm-ui-font-size-8:1.5rem;--bcm-ui-font-size-9:2rem;--bcm-ui-font-size-10:2.25rem;--bcm-ui-font-size-11:3rem;--bcm-ui-font-size-12:3.75rem;--bcm-ui-font-size-13:4.5rem;--bcm-ui-font-size-14:6rem;--bcm-ui-font-size-inherit:inherit;--bcm-ui-line-height-1:0.625rem;--bcm-ui-line-height-2:0.75rem;--bcm-ui-line-height-3:1rem;--bcm-ui-line-height-4:1.25rem;--bcm-ui-line-height-5:1.5rem;--bcm-ui-line-height-6:1.5rem;--bcm-ui-line-height-7:1.75rem;--bcm-ui-line-height-8:2rem;--bcm-ui-line-height-9:2.25rem;--bcm-ui-line-height-10:2.75rem;--bcm-ui-line-height-11:4rem;--bcm-ui-line-height-12:4.5rem;--bcm-ui-line-height-13:5.625rem;--bcm-ui-line-height-14:6rem;--bcm-ui-line-height-inherit:inherit;--bcm-ui-border-radius-none:0;--bcm-ui-border-radius-xs:2px;--bcm-ui-border-radius-sm:4px;--bcm-ui-border-radius-md:6px;--bcm-ui-border-radius-lg:8px;--bcm-ui-border-radius-xl:12px;--bcm-ui-border-radius-2xl:16px;--bcm-ui-border-radius-3xl:24px;--bcm-ui-border-radius-4xl:32px;--bcm-ui-border-radius-full:9999px;--bcm-ui-border-radius-default:var(--bcm-ui-border-radius-md);--bcm-color-primary-50:oklch(0.97 0.014 254.604);--bcm-color-primary-100:oklch(0.932 0.032 255.585);--bcm-color-primary-200:oklch(0.882 0.059 254.128);--bcm-color-primary-300:oklch(0.809 0.105 251.813);--bcm-color-primary-400:oklch(0.707 0.165 254.624);--bcm-color-primary-500:oklch(0.623 0.214 259.815);--bcm-color-primary-600:oklch(0.546 0.245 262.881);--bcm-color-primary-700:oklch(0.488 0.243 264.376);--bcm-color-primary-800:oklch(0.424 0.199 265.638);--bcm-color-primary-900:oklch(0.379 0.146 265.522);--bcm-color-primary-950:oklch(0.282 0.091 267.935);--bcm-color-secondary-50:oklch(0.985 0.002 247.839);--bcm-color-secondary-100:oklch(0.967 0.003 264.542);--bcm-color-secondary-200:oklch(0.928 0.006 264.531);--bcm-color-secondary-300:oklch(0.872 0.01 258.338);--bcm-color-secondary-400:oklch(0.707 0.022 261.325);--bcm-color-secondary-500:oklch(0.551 0.027 264.364);--bcm-color-secondary-600:oklch(0.446 0.03 256.802);--bcm-color-secondary-700:oklch(0.373 0.034 259.733);--bcm-color-secondary-800:oklch(0.278 0.033 256.848);--bcm-color-secondary-900:oklch(0.21 0.034 264.665);--bcm-color-secondary-950:oklch(0.13 0.028 261.692);--bcm-color-info-50:oklch(0.97 0.014 254.604);--bcm-color-info-100:oklch(0.932 0.032 255.585);--bcm-color-info-200:oklch(0.882 0.059 254.128);--bcm-color-info-300:oklch(0.809 0.105 251.813);--bcm-color-info-400:oklch(0.707 0.165 254.624);--bcm-color-info-500:oklch(0.623 0.214 259.815);--bcm-color-info-600:oklch(0.546 0.245 262.881);--bcm-color-info-700:oklch(0.488 0.243 264.376);--bcm-color-info-800:oklch(0.424 0.199 265.638);--bcm-color-info-900:oklch(0.379 0.146 265.522);--bcm-color-info-950:oklch(0.282 0.091 267.935);--bcm-color-success-50:oklch(0.979 0.021 166.113);--bcm-color-success-100:oklch(0.95 0.052 163.051);--bcm-color-success-200:oklch(0.905 0.093 164.15);--bcm-color-success-300:oklch(0.845 0.143 164.978);--bcm-color-success-400:oklch(0.765 0.177 163.223);--bcm-color-success-500:oklch(0.696 0.17 162.48);--bcm-color-success-600:oklch(0.596 0.145 163.225);--bcm-color-success-700:oklch(0.508 0.118 165.612);--bcm-color-success-800:oklch(0.432 0.095 166.913);--bcm-color-success-900:oklch(0.378 0.077 168.94);--bcm-color-success-950:oklch(0.262 0.051 172.552);--bcm-color-warning-50:oklch(0.987 0.022 95.277);--bcm-color-warning-100:oklch(0.962 0.059 95.617);--bcm-color-warning-200:oklch(0.924 0.12 95.746);--bcm-color-warning-300:oklch(0.879 0.169 91.605);--bcm-color-warning-400:oklch(0.828 0.189 84.429);--bcm-color-warning-500:oklch(0.769 0.188 70.08);--bcm-color-warning-600:oklch(0.666 0.179 58.318);--bcm-color-warning-700:oklch(0.555 0.163 48.998);--bcm-color-warning-800:oklch(0.473 0.137 46.201);--bcm-color-warning-900:oklch(0.414 0.112 45.904);--bcm-color-warning-950:oklch(0.279 0.077 45.635);--bcm-color-error-50:oklch(0.971 0.013 17.38);--bcm-color-error-100:oklch(0.936 0.032 17.717);--bcm-color-error-200:oklch(0.885 0.062 18.334);--bcm-color-error-300:oklch(0.808 0.114 19.571);--bcm-color-error-400:oklch(0.704 0.191 22.216);--bcm-color-error-500:oklch(0.637 0.237 25.331);--bcm-color-error-600:oklch(0.577 0.245 27.325);--bcm-color-error-700:oklch(0.505 0.213 27.518);--bcm-color-error-800:oklch(0.444 0.177 26.899);--bcm-color-error-900:oklch(0.396 0.141 25.723);--bcm-color-error-950:oklch(0.258 0.092 26.042)}@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\");";
41
+
42
+ const NAMESPACE = 'bromcom-ui';
43
+ const BUILD = /* bromcom-ui */ { hydratedSelectorName: "hydrated", lazyLoad: false, slotRelocation: true, updatable: true};
44
+
45
+ /*
46
+ Stencil Client Platform v4.36.1 | MIT Licensed | https://stenciljs.com
47
+ */
48
+ var __defProp = Object.defineProperty;
49
+ var __export = (target, all) => {
50
+ for (var name in all)
51
+ __defProp(target, name, { get: all[name], enumerable: true });
52
+ };
53
+
54
+ // src/client/client-host-ref.ts
55
+ var getHostRef = (ref) => {
56
+ if (ref.__stencil__getHostRef) {
57
+ return ref.__stencil__getHostRef();
58
+ }
59
+ return void 0;
60
+ };
61
+ var registerHost = (hostElement, cmpMeta) => {
62
+ const hostRef = {
63
+ $flags$: 0,
64
+ $hostElement$: hostElement,
65
+ $cmpMeta$: cmpMeta,
66
+ $instanceValues$: /* @__PURE__ */ new Map()
67
+ };
68
+ {
69
+ hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
70
+ hostElement["s-p"] = [];
71
+ hostElement["s-rc"] = [];
72
+ }
73
+ const ref = hostRef;
74
+ hostElement.__stencil__getHostRef = () => ref;
75
+ return ref;
76
+ };
77
+ var isMemberInElement = (elm, memberName) => memberName in elm;
78
+ var consoleError = (e, el) => (0, console.error)(e, el);
79
+
80
+ // src/client/client-style.ts
81
+ var styles = /* @__PURE__ */ new Map();
82
+ var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
83
+ var XLINK_NS = "http://www.w3.org/1999/xlink";
84
+ var win = typeof window !== "undefined" ? window : {};
85
+ var H = win.HTMLElement || class {
86
+ };
87
+ var plt = {
88
+ $flags$: 0,
89
+ $resourcesUrl$: "",
90
+ jmp: (h2) => h2(),
91
+ raf: (h2) => requestAnimationFrame(h2),
92
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
93
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
94
+ ce: (eventName, opts) => new CustomEvent(eventName, opts)
95
+ };
96
+ var supportsListenerOptions = /* @__PURE__ */ (() => {
97
+ var _a;
98
+ let supportsListenerOptions2 = false;
99
+ try {
100
+ (_a = win.document) == null ? void 0 : _a.addEventListener(
101
+ "e",
102
+ null,
103
+ Object.defineProperty({}, "passive", {
104
+ get() {
105
+ supportsListenerOptions2 = true;
106
+ }
107
+ })
108
+ );
109
+ } catch (e) {
110
+ }
111
+ return supportsListenerOptions2;
112
+ })();
113
+ var promiseResolve = (v) => Promise.resolve(v);
114
+ var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
115
+ try {
116
+ new CSSStyleSheet();
117
+ return typeof new CSSStyleSheet().replaceSync === "function";
118
+ } catch (e) {
119
+ }
120
+ return false;
121
+ })() ;
122
+ var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @__PURE__ */ (() => !!win.document && Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets, "length").writable)() : false;
123
+ var queuePending = false;
124
+ var queueDomReads = [];
125
+ var queueDomWrites = [];
126
+ var queueTask = (queue, write) => (cb) => {
127
+ queue.push(cb);
128
+ if (!queuePending) {
129
+ queuePending = true;
130
+ if (write && plt.$flags$ & 4 /* queueSync */) {
131
+ nextTick(flush);
132
+ } else {
133
+ plt.raf(flush);
134
+ }
135
+ }
136
+ };
137
+ var consume = (queue) => {
138
+ for (let i2 = 0; i2 < queue.length; i2++) {
139
+ try {
140
+ queue[i2](performance.now());
141
+ } catch (e) {
142
+ consoleError(e);
143
+ }
144
+ }
145
+ queue.length = 0;
146
+ };
147
+ var flush = () => {
148
+ consume(queueDomReads);
149
+ {
150
+ consume(queueDomWrites);
151
+ if (queuePending = queueDomReads.length > 0) {
152
+ plt.raf(flush);
153
+ }
154
+ }
155
+ };
156
+ var nextTick = (cb) => promiseResolve().then(cb);
157
+ var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
158
+
159
+ // src/runtime/asset-path.ts
160
+ var getAssetPath = (path) => {
161
+ const assetUrl = new URL(path, plt.$resourcesUrl$);
162
+ return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
163
+ };
164
+ var setAssetPath = (path) => plt.$resourcesUrl$ = path;
165
+ var isComplexType = (o) => {
166
+ o = typeof o;
167
+ return o === "object" || o === "function";
168
+ };
169
+
170
+ // src/utils/query-nonce-meta-tag-content.ts
171
+ function queryNonceMetaTagContent(doc) {
172
+ var _a, _b, _c;
173
+ return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
174
+ }
175
+
176
+ // src/utils/regular-expression.ts
177
+ var escapeRegExpSpecialCharacters = (text) => {
178
+ return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
179
+ };
180
+
181
+ // src/utils/result.ts
182
+ var result_exports = {};
183
+ __export(result_exports, {
184
+ err: () => err,
185
+ map: () => map,
186
+ ok: () => ok,
187
+ unwrap: () => unwrap,
188
+ unwrapErr: () => unwrapErr
189
+ });
190
+ var ok = (value) => ({
191
+ isOk: true,
192
+ isErr: false,
193
+ value
194
+ });
195
+ var err = (value) => ({
196
+ isOk: false,
197
+ isErr: true,
198
+ value
199
+ });
200
+ function map(result, fn) {
201
+ if (result.isOk) {
202
+ const val = fn(result.value);
203
+ if (val instanceof Promise) {
204
+ return val.then((newVal) => ok(newVal));
205
+ } else {
206
+ return ok(val);
207
+ }
208
+ }
209
+ if (result.isErr) {
210
+ const value = result.value;
211
+ return err(value);
212
+ }
213
+ throw "should never get here";
214
+ }
215
+ var unwrap = (result) => {
216
+ if (result.isOk) {
217
+ return result.value;
218
+ } else {
219
+ throw result.value;
220
+ }
221
+ };
222
+ var unwrapErr = (result) => {
223
+ if (result.isErr) {
224
+ return result.value;
225
+ } else {
226
+ throw result.value;
227
+ }
228
+ };
229
+
230
+ // src/utils/style.ts
231
+ function createStyleSheetIfNeededAndSupported(styles2) {
232
+ if (!supportsConstructableStylesheets) return void 0;
233
+ const sheet = new CSSStyleSheet();
234
+ sheet.replaceSync(styles2);
235
+ return sheet;
236
+ }
237
+
238
+ // src/utils/shadow-root.ts
239
+ var globalStyleSheet;
240
+ function createShadowRoot(cmpMeta) {
241
+ var _a;
242
+ const shadowRoot = this.attachShadow({ mode: "open" });
243
+ if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported(globalStyles)) != null ? _a : null;
244
+ if (globalStyleSheet) {
245
+ if (supportsMutableAdoptedStyleSheets) {
246
+ shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
247
+ } else {
248
+ shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
249
+ }
250
+ }
251
+ }
252
+ var updateFallbackSlotVisibility = (elm) => {
253
+ const childNodes = internalCall(elm, "childNodes");
254
+ if (elm.tagName && elm.tagName.includes("-") && elm["s-cr"] && elm.tagName !== "SLOT-FB") {
255
+ getHostSlotNodes(childNodes, elm.tagName).forEach((slotNode) => {
256
+ if (slotNode.nodeType === 1 /* ElementNode */ && slotNode.tagName === "SLOT-FB") {
257
+ if (getSlotChildSiblings(slotNode, getSlotName(slotNode), false).length) {
258
+ slotNode.hidden = true;
259
+ } else {
260
+ slotNode.hidden = false;
261
+ }
262
+ }
263
+ });
264
+ }
265
+ let i2 = 0;
266
+ for (i2 = 0; i2 < childNodes.length; i2++) {
267
+ const childNode = childNodes[i2];
268
+ if (childNode.nodeType === 1 /* ElementNode */ && internalCall(childNode, "childNodes").length) {
269
+ updateFallbackSlotVisibility(childNode);
270
+ }
271
+ }
272
+ };
273
+ var getSlottedChildNodes = (childNodes) => {
274
+ const result = [];
275
+ for (let i2 = 0; i2 < childNodes.length; i2++) {
276
+ const slottedNode = childNodes[i2]["s-nr"] || void 0;
277
+ if (slottedNode && slottedNode.isConnected) {
278
+ result.push(slottedNode);
279
+ }
280
+ }
281
+ return result;
282
+ };
283
+ function getHostSlotNodes(childNodes, hostName, slotName) {
284
+ let i2 = 0;
285
+ let slottedNodes = [];
286
+ let childNode;
287
+ for (; i2 < childNodes.length; i2++) {
288
+ childNode = childNodes[i2];
289
+ if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0)) {
290
+ slottedNodes.push(childNode);
291
+ }
292
+ slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
293
+ }
294
+ return slottedNodes;
295
+ }
296
+ var getSlotChildSiblings = (slot, slotName, includeSlot = true) => {
297
+ const childNodes = [];
298
+ if (includeSlot && slot["s-sr"] || !slot["s-sr"]) childNodes.push(slot);
299
+ let node = slot;
300
+ while (node = node.nextSibling) {
301
+ if (getSlotName(node) === slotName && (includeSlot || !node["s-sr"])) childNodes.push(node);
302
+ }
303
+ return childNodes;
304
+ };
305
+ var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
306
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
307
+ if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
308
+ return true;
309
+ }
310
+ if (nodeToRelocate.getAttribute("slot") === slotName) {
311
+ return true;
312
+ }
313
+ return false;
314
+ }
315
+ if (nodeToRelocate["s-sn"] === slotName) {
316
+ return true;
317
+ }
318
+ return slotName === "";
319
+ };
320
+ var getSlotName = (node) => typeof node["s-sn"] === "string" ? node["s-sn"] : node.nodeType === 1 && node.getAttribute("slot") || void 0;
321
+ function patchSlotNode(node) {
322
+ if (node.assignedElements || node.assignedNodes || !node["s-sr"]) return;
323
+ const assignedFactory = (elementsOnly) => (function(opts) {
324
+ const toReturn = [];
325
+ const slotName = this["s-sn"];
326
+ if (opts == null ? void 0 : opts.flatten) {
327
+ console.error(`
328
+ Flattening is not supported for Stencil non-shadow slots.
329
+ You can use \`.childNodes\` to nested slot fallback content.
330
+ If you have a particular use case, please open an issue on the Stencil repo.
331
+ `);
332
+ }
333
+ const parent = this["s-cr"].parentElement;
334
+ const slottedNodes = parent.__childNodes ? parent.childNodes : getSlottedChildNodes(parent.childNodes);
335
+ slottedNodes.forEach((n) => {
336
+ if (slotName === getSlotName(n)) {
337
+ toReturn.push(n);
338
+ }
339
+ });
340
+ if (elementsOnly) {
341
+ return toReturn.filter((n) => n.nodeType === 1 /* ElementNode */);
342
+ }
343
+ return toReturn;
344
+ }).bind(node);
345
+ node.assignedElements = assignedFactory(true);
346
+ node.assignedNodes = assignedFactory(false);
347
+ }
348
+ function internalCall(node, method) {
349
+ if ("__" + method in node) {
350
+ const toReturn = node["__" + method];
351
+ if (typeof toReturn !== "function") return toReturn;
352
+ return toReturn.bind(node);
353
+ } else {
354
+ if (typeof node[method] !== "function") return node[method];
355
+ return node[method].bind(node);
356
+ }
357
+ }
358
+ var createTime = (fnName, tagName = "") => {
359
+ {
360
+ return () => {
361
+ return;
362
+ };
363
+ }
364
+ };
365
+ var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
366
+ var registerStyle = (scopeId2, cssText, allowCS) => {
367
+ let style = styles.get(scopeId2);
368
+ if (supportsConstructableStylesheets && allowCS) {
369
+ style = style || new CSSStyleSheet();
370
+ if (typeof style === "string") {
371
+ style = cssText;
372
+ } else {
373
+ style.replaceSync(cssText);
374
+ }
375
+ } else {
376
+ style = cssText;
377
+ }
378
+ styles.set(scopeId2, style);
379
+ };
380
+ var addStyle = (styleContainerNode, cmpMeta, mode) => {
381
+ var _a;
382
+ const scopeId2 = getScopeId(cmpMeta);
383
+ const style = styles.get(scopeId2);
384
+ if (!win.document) {
385
+ return scopeId2;
386
+ }
387
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
388
+ if (style) {
389
+ if (typeof style === "string") {
390
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
391
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
392
+ let styleElm;
393
+ if (!appliedStyles) {
394
+ rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
395
+ }
396
+ if (!appliedStyles.has(scopeId2)) {
397
+ {
398
+ styleElm = win.document.createElement("style");
399
+ styleElm.innerHTML = style;
400
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
401
+ if (nonce != null) {
402
+ styleElm.setAttribute("nonce", nonce);
403
+ }
404
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
405
+ if (styleContainerNode.nodeName === "HEAD") {
406
+ const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
407
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
408
+ styleContainerNode.insertBefore(
409
+ styleElm,
410
+ (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
411
+ );
412
+ } else if ("host" in styleContainerNode) {
413
+ if (supportsConstructableStylesheets) {
414
+ const stylesheet = new CSSStyleSheet();
415
+ stylesheet.replaceSync(style);
416
+ if (supportsMutableAdoptedStyleSheets) {
417
+ styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
418
+ } else {
419
+ styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
420
+ }
421
+ } else {
422
+ const existingStyleContainer = styleContainerNode.querySelector("style");
423
+ if (existingStyleContainer) {
424
+ existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
425
+ } else {
426
+ styleContainerNode.prepend(styleElm);
427
+ }
428
+ }
429
+ } else {
430
+ styleContainerNode.append(styleElm);
431
+ }
432
+ }
433
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
434
+ styleContainerNode.insertBefore(styleElm, null);
435
+ }
436
+ }
437
+ if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
438
+ styleElm.innerHTML += SLOT_FB_CSS;
439
+ }
440
+ if (appliedStyles) {
441
+ appliedStyles.add(scopeId2);
442
+ }
443
+ }
444
+ } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
445
+ if (supportsMutableAdoptedStyleSheets) {
446
+ styleContainerNode.adoptedStyleSheets.push(style);
447
+ } else {
448
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
449
+ }
450
+ }
451
+ }
452
+ return scopeId2;
453
+ };
454
+ var attachStyles = (hostRef) => {
455
+ const cmpMeta = hostRef.$cmpMeta$;
456
+ const elm = hostRef.$hostElement$;
457
+ const flags = cmpMeta.$flags$;
458
+ const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
459
+ const scopeId2 = addStyle(
460
+ elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
461
+ cmpMeta);
462
+ if (flags & 10 /* needsScopedEncapsulation */) {
463
+ elm["s-sc"] = scopeId2;
464
+ elm.classList.add(scopeId2 + "-h");
465
+ }
466
+ endAttachStyles();
467
+ };
468
+ var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
469
+ var h = (nodeName, vnodeData, ...children) => {
470
+ let child = null;
471
+ let key = null;
472
+ let slotName = null;
473
+ let simple = false;
474
+ let lastSimple = false;
475
+ const vNodeChildren = [];
476
+ const walk = (c) => {
477
+ for (let i2 = 0; i2 < c.length; i2++) {
478
+ child = c[i2];
479
+ if (Array.isArray(child)) {
480
+ walk(child);
481
+ } else if (child != null && typeof child !== "boolean") {
482
+ if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
483
+ child = String(child);
484
+ }
485
+ if (simple && lastSimple) {
486
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
487
+ } else {
488
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
489
+ }
490
+ lastSimple = simple;
491
+ }
492
+ }
493
+ };
494
+ walk(children);
495
+ if (vnodeData) {
496
+ if (vnodeData.key) {
497
+ key = vnodeData.key;
498
+ }
499
+ if (vnodeData.name) {
500
+ slotName = vnodeData.name;
501
+ }
502
+ {
503
+ const classData = vnodeData.className || vnodeData.class;
504
+ if (classData) {
505
+ vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
506
+ }
507
+ }
508
+ }
509
+ if (typeof nodeName === "function") {
510
+ return nodeName(
511
+ vnodeData === null ? {} : vnodeData,
512
+ vNodeChildren,
513
+ vdomFnUtils
514
+ );
515
+ }
516
+ const vnode = newVNode(nodeName, null);
517
+ vnode.$attrs$ = vnodeData;
518
+ if (vNodeChildren.length > 0) {
519
+ vnode.$children$ = vNodeChildren;
520
+ }
521
+ {
522
+ vnode.$key$ = key;
523
+ }
524
+ {
525
+ vnode.$name$ = slotName;
526
+ }
527
+ return vnode;
528
+ };
529
+ var newVNode = (tag, text) => {
530
+ const vnode = {
531
+ $flags$: 0,
532
+ $tag$: tag,
533
+ $text$: text,
534
+ $elm$: null,
535
+ $children$: null
536
+ };
537
+ {
538
+ vnode.$attrs$ = null;
539
+ }
540
+ {
541
+ vnode.$key$ = null;
542
+ }
543
+ {
544
+ vnode.$name$ = null;
545
+ }
546
+ return vnode;
547
+ };
548
+ var Host = {};
549
+ var isHost = (node) => node && node.$tag$ === Host;
550
+ var vdomFnUtils = {
551
+ forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
552
+ map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
553
+ };
554
+ var convertToPublic = (node) => ({
555
+ vattrs: node.$attrs$,
556
+ vchildren: node.$children$,
557
+ vkey: node.$key$,
558
+ vname: node.$name$,
559
+ vtag: node.$tag$,
560
+ vtext: node.$text$
561
+ });
562
+ var convertToPrivate = (node) => {
563
+ if (typeof node.vtag === "function") {
564
+ const vnodeData = { ...node.vattrs };
565
+ if (node.vkey) {
566
+ vnodeData.key = node.vkey;
567
+ }
568
+ if (node.vname) {
569
+ vnodeData.name = node.vname;
570
+ }
571
+ return h(node.vtag, vnodeData, ...node.vchildren || []);
572
+ }
573
+ const vnode = newVNode(node.vtag, node.vtext);
574
+ vnode.$attrs$ = node.vattrs;
575
+ vnode.$children$ = node.vchildren;
576
+ vnode.$key$ = node.vkey;
577
+ vnode.$name$ = node.vname;
578
+ return vnode;
579
+ };
580
+ var createSupportsRuleRe = (selector) => {
581
+ const safeSelector2 = escapeRegExpSpecialCharacters(selector);
582
+ return new RegExp(
583
+ // First capture group: match any context before the selector that's not inside @supports selector()
584
+ // Using negative lookahead to avoid matching inside @supports selector(...) condition
585
+ `(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${safeSelector2}))(${safeSelector2}\\b)`,
586
+ "g"
587
+ );
588
+ };
589
+ createSupportsRuleRe("::slotted");
590
+ createSupportsRuleRe(":host");
591
+ createSupportsRuleRe(":host-context");
592
+ var parsePropertyValue = (propValue, propType, isFormAssociated) => {
593
+ if (propValue != null && !isComplexType(propValue)) {
594
+ if (propType & 4 /* Boolean */) {
595
+ {
596
+ return propValue === "false" ? false : propValue === "" || !!propValue;
597
+ }
598
+ }
599
+ if (propType & 2 /* Number */) {
600
+ return typeof propValue === "string" ? parseFloat(propValue) : typeof propValue === "number" ? propValue : NaN;
601
+ }
602
+ if (propType & 1 /* String */) {
603
+ return String(propValue);
604
+ }
605
+ return propValue;
606
+ }
607
+ return propValue;
608
+ };
609
+ var getElement = (ref) => {
610
+ return ref;
611
+ };
612
+
613
+ // src/runtime/event-emitter.ts
614
+ var createEvent = (ref, name, flags) => {
615
+ const elm = getElement(ref);
616
+ return {
617
+ emit: (detail) => {
618
+ return emitEvent(elm, name, {
619
+ bubbles: !!(flags & 4 /* Bubbles */),
620
+ composed: !!(flags & 2 /* Composed */),
621
+ cancelable: !!(flags & 1 /* Cancellable */),
622
+ detail
623
+ });
624
+ }
625
+ };
626
+ };
627
+ var emitEvent = (elm, name, opts) => {
628
+ const ev = plt.ce(name, opts);
629
+ elm.dispatchEvent(ev);
630
+ return ev;
631
+ };
632
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
633
+ if (oldValue === newValue) {
634
+ return;
635
+ }
636
+ let isProp = isMemberInElement(elm, memberName);
637
+ let ln = memberName.toLowerCase();
638
+ if (memberName === "class") {
639
+ const classList = elm.classList;
640
+ const oldClasses = parseClassList(oldValue);
641
+ let newClasses = parseClassList(newValue);
642
+ {
643
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
644
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
645
+ }
646
+ } else if (memberName === "style") {
647
+ {
648
+ for (const prop in oldValue) {
649
+ if (!newValue || newValue[prop] == null) {
650
+ if (prop.includes("-")) {
651
+ elm.style.removeProperty(prop);
652
+ } else {
653
+ elm.style[prop] = "";
654
+ }
655
+ }
656
+ }
657
+ }
658
+ for (const prop in newValue) {
659
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
660
+ if (prop.includes("-")) {
661
+ elm.style.setProperty(prop, newValue[prop]);
662
+ } else {
663
+ elm.style[prop] = newValue[prop];
664
+ }
665
+ }
666
+ }
667
+ } else if (memberName === "key") ; else if (memberName === "ref") {
668
+ if (newValue) {
669
+ newValue(elm);
670
+ }
671
+ } else if ((!elm.__lookupSetter__(memberName)) && memberName[0] === "o" && memberName[1] === "n") {
672
+ if (memberName[2] === "-") {
673
+ memberName = memberName.slice(3);
674
+ } else if (isMemberInElement(win, ln)) {
675
+ memberName = ln.slice(2);
676
+ } else {
677
+ memberName = ln[2] + memberName.slice(3);
678
+ }
679
+ if (oldValue || newValue) {
680
+ const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
681
+ memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
682
+ if (oldValue) {
683
+ plt.rel(elm, memberName, oldValue, capture);
684
+ }
685
+ if (newValue) {
686
+ plt.ael(elm, memberName, newValue, capture);
687
+ }
688
+ }
689
+ } else {
690
+ const isComplex = isComplexType(newValue);
691
+ if ((isProp || isComplex && newValue !== null) && true) {
692
+ try {
693
+ if (!elm.tagName.includes("-")) {
694
+ const n = newValue == null ? "" : newValue;
695
+ if (memberName === "list") {
696
+ isProp = false;
697
+ } else if (oldValue == null || elm[memberName] != n) {
698
+ if (typeof elm.__lookupSetter__(memberName) === "function") {
699
+ elm[memberName] = n;
700
+ } else {
701
+ elm.setAttribute(memberName, n);
702
+ }
703
+ }
704
+ } else if (elm[memberName] !== newValue) {
705
+ elm[memberName] = newValue;
706
+ }
707
+ } catch (e) {
708
+ }
709
+ }
710
+ let xlink = false;
711
+ {
712
+ if (ln !== (ln = ln.replace(/^xlink\:?/, ""))) {
713
+ memberName = ln;
714
+ xlink = true;
715
+ }
716
+ }
717
+ if (newValue == null || newValue === false) {
718
+ if (newValue !== false || elm.getAttribute(memberName) === "") {
719
+ if (xlink) {
720
+ elm.removeAttributeNS(XLINK_NS, memberName);
721
+ } else {
722
+ elm.removeAttribute(memberName);
723
+ }
724
+ }
725
+ } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
726
+ newValue = newValue === true ? "" : newValue;
727
+ if (xlink) {
728
+ elm.setAttributeNS(XLINK_NS, memberName, newValue);
729
+ } else {
730
+ elm.setAttribute(memberName, newValue);
731
+ }
732
+ }
733
+ }
734
+ };
735
+ var parseClassListRegex = /\s/;
736
+ var parseClassList = (value) => {
737
+ if (typeof value === "object" && value && "baseVal" in value) {
738
+ value = value.baseVal;
739
+ }
740
+ if (!value || typeof value !== "string") {
741
+ return [];
742
+ }
743
+ return value.split(parseClassListRegex);
744
+ };
745
+ var CAPTURE_EVENT_SUFFIX = "Capture";
746
+ var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
747
+
748
+ // src/runtime/vdom/update-element.ts
749
+ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
750
+ const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
751
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
752
+ const newVnodeAttrs = newVnode.$attrs$ || {};
753
+ {
754
+ for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
755
+ if (!(memberName in newVnodeAttrs)) {
756
+ setAccessor(
757
+ elm,
758
+ memberName,
759
+ oldVnodeAttrs[memberName],
760
+ void 0,
761
+ isSvgMode2,
762
+ newVnode.$flags$);
763
+ }
764
+ }
765
+ }
766
+ for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
767
+ setAccessor(
768
+ elm,
769
+ memberName,
770
+ oldVnodeAttrs[memberName],
771
+ newVnodeAttrs[memberName],
772
+ isSvgMode2,
773
+ newVnode.$flags$);
774
+ }
775
+ };
776
+ function sortedAttrNames(attrNames) {
777
+ return attrNames.includes("ref") ? (
778
+ // we need to sort these to ensure that `'ref'` is the last attr
779
+ [...attrNames.filter((attr) => attr !== "ref"), "ref"]
780
+ ) : (
781
+ // no need to sort, return the original array
782
+ attrNames
783
+ );
784
+ }
785
+ var contentRef;
786
+ var hostTagName;
787
+ var useNativeShadowDom = false;
788
+ var checkSlotFallbackVisibility = false;
789
+ var checkSlotRelocate = false;
790
+ var isSvgMode = false;
791
+ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
792
+ var _a;
793
+ const newVNode2 = newParentVNode.$children$[childIndex];
794
+ let i2 = 0;
795
+ let elm;
796
+ let childNode;
797
+ let oldVNode;
798
+ if (!useNativeShadowDom) {
799
+ checkSlotRelocate = true;
800
+ if (newVNode2.$tag$ === "slot") {
801
+ newVNode2.$flags$ |= newVNode2.$children$ ? (
802
+ // slot element has fallback content
803
+ // still create an element that "mocks" the slot element
804
+ 2 /* isSlotFallback */
805
+ ) : (
806
+ // slot element does not have fallback content
807
+ // create an html comment we'll use to always reference
808
+ // where actual slot content should sit next to
809
+ 1 /* isSlotReference */
810
+ );
811
+ }
812
+ }
813
+ if (newVNode2.$text$ !== null) {
814
+ elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
815
+ } else if (newVNode2.$flags$ & 1 /* isSlotReference */) {
816
+ elm = newVNode2.$elm$ = win.document.createTextNode("");
817
+ {
818
+ updateElement(null, newVNode2, isSvgMode);
819
+ }
820
+ } else {
821
+ if (!win.document) {
822
+ throw new Error(
823
+ "You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component."
824
+ );
825
+ }
826
+ elm = newVNode2.$elm$ = win.document.createElement(
827
+ !useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
828
+ );
829
+ {
830
+ updateElement(null, newVNode2, isSvgMode);
831
+ }
832
+ if (newVNode2.$children$) {
833
+ for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
834
+ childNode = createElm(oldParentVNode, newVNode2, i2);
835
+ if (childNode) {
836
+ elm.appendChild(childNode);
837
+ }
838
+ }
839
+ }
840
+ }
841
+ elm["s-hn"] = hostTagName;
842
+ {
843
+ if (newVNode2.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
844
+ elm["s-sr"] = true;
845
+ elm["s-cr"] = contentRef;
846
+ elm["s-sn"] = newVNode2.$name$ || "";
847
+ elm["s-rf"] = (_a = newVNode2.$attrs$) == null ? void 0 : _a.ref;
848
+ patchSlotNode(elm);
849
+ oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
850
+ if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
851
+ {
852
+ putBackInOriginalLocation(oldParentVNode.$elm$, false);
853
+ }
854
+ }
855
+ }
856
+ }
857
+ return elm;
858
+ };
859
+ var putBackInOriginalLocation = (parentElm, recursive) => {
860
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
861
+ const oldSlotChildNodes = Array.from(parentElm.__childNodes || parentElm.childNodes);
862
+ for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
863
+ const childNode = oldSlotChildNodes[i2];
864
+ if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
865
+ insertBefore(referenceNode(childNode).parentNode, childNode, referenceNode(childNode));
866
+ childNode["s-ol"].remove();
867
+ childNode["s-ol"] = void 0;
868
+ childNode["s-sh"] = void 0;
869
+ checkSlotRelocate = true;
870
+ }
871
+ if (recursive) {
872
+ putBackInOriginalLocation(childNode, recursive);
873
+ }
874
+ }
875
+ plt.$flags$ &= -2 /* isTmpDisconnected */;
876
+ };
877
+ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
878
+ let containerElm = parentElm["s-cr"] && parentElm["s-cr"].parentNode || parentElm;
879
+ let childNode;
880
+ if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
881
+ containerElm = containerElm.shadowRoot;
882
+ }
883
+ for (; startIdx <= endIdx; ++startIdx) {
884
+ if (vnodes[startIdx]) {
885
+ childNode = createElm(null, parentVNode, startIdx);
886
+ if (childNode) {
887
+ vnodes[startIdx].$elm$ = childNode;
888
+ insertBefore(containerElm, childNode, referenceNode(before) );
889
+ }
890
+ }
891
+ }
892
+ };
893
+ var removeVnodes = (vnodes, startIdx, endIdx) => {
894
+ for (let index = startIdx; index <= endIdx; ++index) {
895
+ const vnode = vnodes[index];
896
+ if (vnode) {
897
+ const elm = vnode.$elm$;
898
+ nullifyVNodeRefs(vnode);
899
+ if (elm) {
900
+ {
901
+ checkSlotFallbackVisibility = true;
902
+ if (elm["s-ol"]) {
903
+ elm["s-ol"].remove();
904
+ } else {
905
+ putBackInOriginalLocation(elm, true);
906
+ }
907
+ }
908
+ elm.remove();
909
+ }
910
+ }
911
+ }
912
+ };
913
+ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = false) => {
914
+ let oldStartIdx = 0;
915
+ let newStartIdx = 0;
916
+ let idxInOld = 0;
917
+ let i2 = 0;
918
+ let oldEndIdx = oldCh.length - 1;
919
+ let oldStartVnode = oldCh[0];
920
+ let oldEndVnode = oldCh[oldEndIdx];
921
+ let newEndIdx = newCh.length - 1;
922
+ let newStartVnode = newCh[0];
923
+ let newEndVnode = newCh[newEndIdx];
924
+ let node;
925
+ let elmToMove;
926
+ while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
927
+ if (oldStartVnode == null) {
928
+ oldStartVnode = oldCh[++oldStartIdx];
929
+ } else if (oldEndVnode == null) {
930
+ oldEndVnode = oldCh[--oldEndIdx];
931
+ } else if (newStartVnode == null) {
932
+ newStartVnode = newCh[++newStartIdx];
933
+ } else if (newEndVnode == null) {
934
+ newEndVnode = newCh[--newEndIdx];
935
+ } else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
936
+ patch(oldStartVnode, newStartVnode, isInitialRender);
937
+ oldStartVnode = oldCh[++oldStartIdx];
938
+ newStartVnode = newCh[++newStartIdx];
939
+ } else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
940
+ patch(oldEndVnode, newEndVnode, isInitialRender);
941
+ oldEndVnode = oldCh[--oldEndIdx];
942
+ newEndVnode = newCh[--newEndIdx];
943
+ } else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
944
+ if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
945
+ putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
946
+ }
947
+ patch(oldStartVnode, newEndVnode, isInitialRender);
948
+ insertBefore(parentElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
949
+ oldStartVnode = oldCh[++oldStartIdx];
950
+ newEndVnode = newCh[--newEndIdx];
951
+ } else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
952
+ if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
953
+ putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
954
+ }
955
+ patch(oldEndVnode, newStartVnode, isInitialRender);
956
+ insertBefore(parentElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
957
+ oldEndVnode = oldCh[--oldEndIdx];
958
+ newStartVnode = newCh[++newStartIdx];
959
+ } else {
960
+ idxInOld = -1;
961
+ {
962
+ for (i2 = oldStartIdx; i2 <= oldEndIdx; ++i2) {
963
+ if (oldCh[i2] && oldCh[i2].$key$ !== null && oldCh[i2].$key$ === newStartVnode.$key$) {
964
+ idxInOld = i2;
965
+ break;
966
+ }
967
+ }
968
+ }
969
+ if (idxInOld >= 0) {
970
+ elmToMove = oldCh[idxInOld];
971
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
972
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
973
+ } else {
974
+ patch(elmToMove, newStartVnode, isInitialRender);
975
+ oldCh[idxInOld] = void 0;
976
+ node = elmToMove.$elm$;
977
+ }
978
+ newStartVnode = newCh[++newStartIdx];
979
+ } else {
980
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
981
+ newStartVnode = newCh[++newStartIdx];
982
+ }
983
+ if (node) {
984
+ {
985
+ insertBefore(
986
+ referenceNode(oldStartVnode.$elm$).parentNode,
987
+ node,
988
+ referenceNode(oldStartVnode.$elm$)
989
+ );
990
+ }
991
+ }
992
+ }
993
+ }
994
+ if (oldStartIdx > oldEndIdx) {
995
+ addVnodes(
996
+ parentElm,
997
+ newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$,
998
+ newVNode2,
999
+ newCh,
1000
+ newStartIdx,
1001
+ newEndIdx
1002
+ );
1003
+ } else if (newStartIdx > newEndIdx) {
1004
+ removeVnodes(oldCh, oldStartIdx, oldEndIdx);
1005
+ }
1006
+ };
1007
+ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
1008
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
1009
+ if (leftVNode.$tag$ === "slot") {
1010
+ return leftVNode.$name$ === rightVNode.$name$;
1011
+ }
1012
+ if (!isInitialRender) {
1013
+ return leftVNode.$key$ === rightVNode.$key$;
1014
+ }
1015
+ if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
1016
+ leftVNode.$key$ = rightVNode.$key$;
1017
+ }
1018
+ return true;
1019
+ }
1020
+ return false;
1021
+ };
1022
+ var referenceNode = (node) => node && node["s-ol"] || node;
1023
+ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
1024
+ const elm = newVNode2.$elm$ = oldVNode.$elm$;
1025
+ const oldChildren = oldVNode.$children$;
1026
+ const newChildren = newVNode2.$children$;
1027
+ const text = newVNode2.$text$;
1028
+ let defaultHolder;
1029
+ if (text === null) {
1030
+ {
1031
+ updateElement(oldVNode, newVNode2, isSvgMode);
1032
+ }
1033
+ if (oldChildren !== null && newChildren !== null) {
1034
+ updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
1035
+ } else if (newChildren !== null) {
1036
+ if (oldVNode.$text$ !== null) {
1037
+ elm.textContent = "";
1038
+ }
1039
+ addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
1040
+ } else if (
1041
+ // don't do this on initial render as it can cause non-hydrated content to be removed
1042
+ !isInitialRender && BUILD.updatable && oldChildren !== null
1043
+ ) {
1044
+ removeVnodes(oldChildren, 0, oldChildren.length - 1);
1045
+ } else ;
1046
+ } else if ((defaultHolder = elm["s-cr"])) {
1047
+ defaultHolder.parentNode.textContent = text;
1048
+ } else if (oldVNode.$text$ !== text) {
1049
+ elm.data = text;
1050
+ }
1051
+ };
1052
+ var relocateNodes = [];
1053
+ var markSlotContentForRelocation = (elm) => {
1054
+ let node;
1055
+ let hostContentNodes;
1056
+ let j;
1057
+ const children = elm.__childNodes || elm.childNodes;
1058
+ for (const childNode of children) {
1059
+ if (childNode["s-sr"] && (node = childNode["s-cr"]) && node.parentNode) {
1060
+ hostContentNodes = node.parentNode.__childNodes || node.parentNode.childNodes;
1061
+ const slotName = childNode["s-sn"];
1062
+ for (j = hostContentNodes.length - 1; j >= 0; j--) {
1063
+ node = hostContentNodes[j];
1064
+ if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (true)) {
1065
+ if (isNodeLocatedInSlot(node, slotName)) {
1066
+ let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1067
+ checkSlotFallbackVisibility = true;
1068
+ node["s-sn"] = node["s-sn"] || slotName;
1069
+ if (relocateNodeData) {
1070
+ relocateNodeData.$nodeToRelocate$["s-sh"] = childNode["s-hn"];
1071
+ relocateNodeData.$slotRefNode$ = childNode;
1072
+ } else {
1073
+ node["s-sh"] = childNode["s-hn"];
1074
+ relocateNodes.push({
1075
+ $slotRefNode$: childNode,
1076
+ $nodeToRelocate$: node
1077
+ });
1078
+ }
1079
+ if (node["s-sr"]) {
1080
+ relocateNodes.map((relocateNode) => {
1081
+ if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node["s-sn"])) {
1082
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1083
+ if (relocateNodeData && !relocateNode.$slotRefNode$) {
1084
+ relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
1085
+ }
1086
+ }
1087
+ });
1088
+ }
1089
+ } else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
1090
+ relocateNodes.push({
1091
+ $nodeToRelocate$: node
1092
+ });
1093
+ }
1094
+ }
1095
+ }
1096
+ }
1097
+ if (childNode.nodeType === 1 /* ElementNode */) {
1098
+ markSlotContentForRelocation(childNode);
1099
+ }
1100
+ }
1101
+ };
1102
+ var nullifyVNodeRefs = (vNode) => {
1103
+ {
1104
+ vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
1105
+ vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
1106
+ }
1107
+ };
1108
+ var insertBefore = (parent, newNode, reference) => {
1109
+ {
1110
+ return parent == null ? void 0 : parent.insertBefore(newNode, reference);
1111
+ }
1112
+ };
1113
+ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1114
+ var _a, _b, _c, _d;
1115
+ const hostElm = hostRef.$hostElement$;
1116
+ const cmpMeta = hostRef.$cmpMeta$;
1117
+ const oldVNode = hostRef.$vnode$ || newVNode(null, null);
1118
+ const isHostElement = isHost(renderFnResults);
1119
+ const rootVnode = isHostElement ? renderFnResults : h(null, null, renderFnResults);
1120
+ hostTagName = hostElm.tagName;
1121
+ if (cmpMeta.$attrsToReflect$) {
1122
+ rootVnode.$attrs$ = rootVnode.$attrs$ || {};
1123
+ cmpMeta.$attrsToReflect$.map(
1124
+ ([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]
1125
+ );
1126
+ }
1127
+ if (isInitialLoad && rootVnode.$attrs$) {
1128
+ for (const key of Object.keys(rootVnode.$attrs$)) {
1129
+ if (hostElm.hasAttribute(key) && !["key", "ref", "style", "class"].includes(key)) {
1130
+ rootVnode.$attrs$[key] = hostElm[key];
1131
+ }
1132
+ }
1133
+ }
1134
+ rootVnode.$tag$ = null;
1135
+ rootVnode.$flags$ |= 4 /* isHost */;
1136
+ hostRef.$vnode$ = rootVnode;
1137
+ rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
1138
+ useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
1139
+ {
1140
+ contentRef = hostElm["s-cr"];
1141
+ checkSlotFallbackVisibility = false;
1142
+ }
1143
+ patch(oldVNode, rootVnode, isInitialLoad);
1144
+ {
1145
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
1146
+ if (checkSlotRelocate) {
1147
+ markSlotContentForRelocation(rootVnode.$elm$);
1148
+ for (const relocateData of relocateNodes) {
1149
+ const nodeToRelocate = relocateData.$nodeToRelocate$;
1150
+ if (!nodeToRelocate["s-ol"] && win.document) {
1151
+ const orgLocationNode = win.document.createTextNode("");
1152
+ orgLocationNode["s-nr"] = nodeToRelocate;
1153
+ insertBefore(nodeToRelocate.parentNode, nodeToRelocate["s-ol"] = orgLocationNode, nodeToRelocate);
1154
+ }
1155
+ }
1156
+ for (const relocateData of relocateNodes) {
1157
+ const nodeToRelocate = relocateData.$nodeToRelocate$;
1158
+ const slotRefNode = relocateData.$slotRefNode$;
1159
+ if (slotRefNode) {
1160
+ const parentNodeRef = slotRefNode.parentNode;
1161
+ let insertBeforeNode = slotRefNode.nextSibling;
1162
+ {
1163
+ let orgLocationNode = (_a = nodeToRelocate["s-ol"]) == null ? void 0 : _a.previousSibling;
1164
+ while (orgLocationNode) {
1165
+ let refNode = (_b = orgLocationNode["s-nr"]) != null ? _b : null;
1166
+ if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === (refNode.__parentNode || refNode.parentNode)) {
1167
+ refNode = refNode.nextSibling;
1168
+ while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
1169
+ refNode = refNode == null ? void 0 : refNode.nextSibling;
1170
+ }
1171
+ if (!refNode || !refNode["s-nr"]) {
1172
+ insertBeforeNode = refNode;
1173
+ break;
1174
+ }
1175
+ }
1176
+ orgLocationNode = orgLocationNode.previousSibling;
1177
+ }
1178
+ }
1179
+ const parent = nodeToRelocate.__parentNode || nodeToRelocate.parentNode;
1180
+ const nextSibling = nodeToRelocate.__nextSibling || nodeToRelocate.nextSibling;
1181
+ if (!insertBeforeNode && parentNodeRef !== parent || nextSibling !== insertBeforeNode) {
1182
+ if (nodeToRelocate !== insertBeforeNode) {
1183
+ if (!nodeToRelocate["s-hn"] && nodeToRelocate["s-ol"]) {
1184
+ nodeToRelocate["s-hn"] = nodeToRelocate["s-ol"].parentNode.nodeName;
1185
+ }
1186
+ insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
1187
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */ && nodeToRelocate.tagName !== "SLOT-FB") {
1188
+ nodeToRelocate.hidden = (_c = nodeToRelocate["s-ih"]) != null ? _c : false;
1189
+ }
1190
+ }
1191
+ }
1192
+ nodeToRelocate && typeof slotRefNode["s-rf"] === "function" && slotRefNode["s-rf"](slotRefNode);
1193
+ } else {
1194
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1195
+ if (isInitialLoad) {
1196
+ nodeToRelocate["s-ih"] = (_d = nodeToRelocate.hidden) != null ? _d : false;
1197
+ }
1198
+ nodeToRelocate.hidden = true;
1199
+ }
1200
+ }
1201
+ }
1202
+ }
1203
+ if (checkSlotFallbackVisibility) {
1204
+ updateFallbackSlotVisibility(rootVnode.$elm$);
1205
+ }
1206
+ plt.$flags$ &= -2 /* isTmpDisconnected */;
1207
+ relocateNodes.length = 0;
1208
+ }
1209
+ contentRef = void 0;
1210
+ };
1211
+
1212
+ // src/runtime/update-component.ts
1213
+ var attachToAncestor = (hostRef, ancestorComponent) => {
1214
+ if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
1215
+ const index = ancestorComponent["s-p"].push(
1216
+ new Promise(
1217
+ (r) => hostRef.$onRenderResolve$ = () => {
1218
+ ancestorComponent["s-p"].splice(index - 1, 1);
1219
+ r();
1220
+ }
1221
+ )
1222
+ );
1223
+ }
1224
+ };
1225
+ var scheduleUpdate = (hostRef, isInitialLoad) => {
1226
+ {
1227
+ hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
1228
+ }
1229
+ if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
1230
+ hostRef.$flags$ |= 512 /* needsRerender */;
1231
+ return;
1232
+ }
1233
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$);
1234
+ const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1235
+ if (isInitialLoad) {
1236
+ queueMicrotask(() => {
1237
+ dispatch();
1238
+ });
1239
+ return;
1240
+ }
1241
+ return writeTask(dispatch) ;
1242
+ };
1243
+ var dispatchHooks = (hostRef, isInitialLoad) => {
1244
+ const elm = hostRef.$hostElement$;
1245
+ const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
1246
+ const instance = elm;
1247
+ if (!instance) {
1248
+ throw new Error(
1249
+ `Can't render component <${elm.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
1250
+ );
1251
+ }
1252
+ let maybePromise;
1253
+ if (isInitialLoad) {
1254
+ maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
1255
+ } else {
1256
+ maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
1257
+ }
1258
+ maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
1259
+ endSchedule();
1260
+ return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
1261
+ };
1262
+ var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err2) => {
1263
+ console.error(err2);
1264
+ fn();
1265
+ }) : fn();
1266
+ var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
1267
+ var updateComponent = async (hostRef, instance, isInitialLoad) => {
1268
+ var _a;
1269
+ const elm = hostRef.$hostElement$;
1270
+ const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
1271
+ const rc = elm["s-rc"];
1272
+ if (isInitialLoad) {
1273
+ attachStyles(hostRef);
1274
+ }
1275
+ const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
1276
+ {
1277
+ callRender(hostRef, instance, elm, isInitialLoad);
1278
+ }
1279
+ if (rc) {
1280
+ rc.map((cb) => cb());
1281
+ elm["s-rc"] = void 0;
1282
+ }
1283
+ endRender();
1284
+ endUpdate();
1285
+ {
1286
+ const childrenPromises = (_a = elm["s-p"]) != null ? _a : [];
1287
+ const postUpdate = () => postUpdateComponent(hostRef);
1288
+ if (childrenPromises.length === 0) {
1289
+ postUpdate();
1290
+ } else {
1291
+ Promise.all(childrenPromises).then(postUpdate);
1292
+ hostRef.$flags$ |= 4 /* isWaitingForChildren */;
1293
+ childrenPromises.length = 0;
1294
+ }
1295
+ }
1296
+ };
1297
+ var callRender = (hostRef, instance, elm, isInitialLoad) => {
1298
+ try {
1299
+ instance = instance.render() ;
1300
+ {
1301
+ hostRef.$flags$ &= -17 /* isQueuedForUpdate */;
1302
+ }
1303
+ {
1304
+ hostRef.$flags$ |= 2 /* hasRendered */;
1305
+ }
1306
+ {
1307
+ {
1308
+ {
1309
+ renderVdom(hostRef, instance, isInitialLoad);
1310
+ }
1311
+ }
1312
+ }
1313
+ } catch (e) {
1314
+ consoleError(e, hostRef.$hostElement$);
1315
+ }
1316
+ return null;
1317
+ };
1318
+ var postUpdateComponent = (hostRef) => {
1319
+ const tagName = hostRef.$cmpMeta$.$tagName$;
1320
+ const elm = hostRef.$hostElement$;
1321
+ const endPostUpdate = createTime("postUpdate", tagName);
1322
+ const instance = elm;
1323
+ const ancestorComponent = hostRef.$ancestorComponent$;
1324
+ safeCall(instance, "componentDidRender", void 0, elm);
1325
+ if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
1326
+ hostRef.$flags$ |= 64 /* hasLoadedComponent */;
1327
+ {
1328
+ addHydratedFlag(elm);
1329
+ }
1330
+ safeCall(instance, "componentDidLoad", void 0, elm);
1331
+ endPostUpdate();
1332
+ {
1333
+ hostRef.$onReadyResolve$(elm);
1334
+ if (!ancestorComponent) {
1335
+ appDidLoad();
1336
+ }
1337
+ }
1338
+ } else {
1339
+ safeCall(instance, "componentDidUpdate", void 0, elm);
1340
+ endPostUpdate();
1341
+ }
1342
+ {
1343
+ if (hostRef.$onRenderResolve$) {
1344
+ hostRef.$onRenderResolve$();
1345
+ hostRef.$onRenderResolve$ = void 0;
1346
+ }
1347
+ if (hostRef.$flags$ & 512 /* needsRerender */) {
1348
+ nextTick(() => scheduleUpdate(hostRef, false));
1349
+ }
1350
+ hostRef.$flags$ &= -517;
1351
+ }
1352
+ };
1353
+ var appDidLoad = (who) => {
1354
+ nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
1355
+ };
1356
+ var safeCall = (instance, method, arg, elm) => {
1357
+ if (instance && instance[method]) {
1358
+ try {
1359
+ return instance[method](arg);
1360
+ } catch (e) {
1361
+ consoleError(e, elm);
1362
+ }
1363
+ }
1364
+ return void 0;
1365
+ };
1366
+ var addHydratedFlag = (elm) => {
1367
+ var _a;
1368
+ return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
1369
+ };
1370
+
1371
+ // src/runtime/set-value.ts
1372
+ var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1373
+ var setValue = (ref, propName, newVal, cmpMeta) => {
1374
+ const hostRef = getHostRef(ref);
1375
+ if (!hostRef) {
1376
+ return;
1377
+ }
1378
+ const elm = ref;
1379
+ const oldVal = hostRef.$instanceValues$.get(propName);
1380
+ const flags = hostRef.$flags$;
1381
+ const instance = elm;
1382
+ newVal = parsePropertyValue(
1383
+ newVal,
1384
+ cmpMeta.$members$[propName][0]);
1385
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1386
+ const didValueChange = newVal !== oldVal && !areBothNaN;
1387
+ if (didValueChange) {
1388
+ hostRef.$instanceValues$.set(propName, newVal);
1389
+ {
1390
+ if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
1391
+ const watchMethods = cmpMeta.$watchers$[propName];
1392
+ if (watchMethods) {
1393
+ watchMethods.map((watchMethodName) => {
1394
+ try {
1395
+ instance[watchMethodName](newVal, oldVal, propName);
1396
+ } catch (e) {
1397
+ consoleError(e, elm);
1398
+ }
1399
+ });
1400
+ }
1401
+ }
1402
+ if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1403
+ if (instance.componentShouldUpdate) {
1404
+ if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
1405
+ return;
1406
+ }
1407
+ }
1408
+ scheduleUpdate(hostRef, false);
1409
+ }
1410
+ }
1411
+ }
1412
+ };
1413
+
1414
+ // src/runtime/proxy-component.ts
1415
+ var proxyComponent = (Cstr, cmpMeta, flags) => {
1416
+ var _a, _b;
1417
+ const prototype = Cstr.prototype;
1418
+ if (cmpMeta.$members$ || (cmpMeta.$watchers$ || Cstr.watchers)) {
1419
+ if (Cstr.watchers && !cmpMeta.$watchers$) {
1420
+ cmpMeta.$watchers$ = Cstr.watchers;
1421
+ }
1422
+ const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1423
+ members.map(([memberName, [memberFlags]]) => {
1424
+ if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
1425
+ const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
1426
+ if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
1427
+ if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
1428
+ {
1429
+ Object.defineProperty(prototype, memberName, {
1430
+ get() {
1431
+ {
1432
+ return origGetter ? origGetter.apply(this) : getValue(this, memberName);
1433
+ }
1434
+ },
1435
+ configurable: true,
1436
+ enumerable: true
1437
+ });
1438
+ }
1439
+ Object.defineProperty(prototype, memberName, {
1440
+ set(newValue) {
1441
+ const ref = getHostRef(this);
1442
+ if (!ref) {
1443
+ return;
1444
+ }
1445
+ if (origSetter) {
1446
+ const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1447
+ if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
1448
+ newValue = ref.$instanceValues$.get(memberName);
1449
+ } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
1450
+ ref.$instanceValues$.set(memberName, currentValue);
1451
+ }
1452
+ origSetter.apply(this, [
1453
+ parsePropertyValue(
1454
+ newValue,
1455
+ memberFlags)
1456
+ ]);
1457
+ newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1458
+ setValue(this, memberName, newValue, cmpMeta);
1459
+ return;
1460
+ }
1461
+ {
1462
+ setValue(this, memberName, newValue, cmpMeta);
1463
+ return;
1464
+ }
1465
+ }
1466
+ });
1467
+ }
1468
+ });
1469
+ {
1470
+ const attrNameToPropName = /* @__PURE__ */ new Map();
1471
+ prototype.attributeChangedCallback = function(attrName, oldValue, newValue) {
1472
+ plt.jmp(() => {
1473
+ var _a2;
1474
+ const propName = attrNameToPropName.get(attrName);
1475
+ if (this.hasOwnProperty(propName) && BUILD.lazyLoad) ; else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1476
+ this[propName] == newValue) {
1477
+ return;
1478
+ } else if (propName == null) {
1479
+ const hostRef = getHostRef(this);
1480
+ const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
1481
+ if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1482
+ const elm = this;
1483
+ const instance = elm;
1484
+ const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
1485
+ entry == null ? void 0 : entry.forEach((callbackName) => {
1486
+ if (instance[callbackName] != null) {
1487
+ instance[callbackName].call(instance, newValue, oldValue, attrName);
1488
+ }
1489
+ });
1490
+ }
1491
+ return;
1492
+ }
1493
+ const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1494
+ newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1495
+ if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1496
+ this[propName] = newValue;
1497
+ }
1498
+ });
1499
+ };
1500
+ Cstr.observedAttributes = Array.from(
1501
+ /* @__PURE__ */ new Set([
1502
+ ...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
1503
+ ...members.filter(([_, m]) => m[0] & 15 /* HasAttribute */).map(([propName, m]) => {
1504
+ var _a2;
1505
+ const attrName = m[1] || propName;
1506
+ attrNameToPropName.set(attrName, propName);
1507
+ if (m[0] & 512 /* ReflectAttr */) {
1508
+ (_a2 = cmpMeta.$attrsToReflect$) == null ? void 0 : _a2.push([propName, attrName]);
1509
+ }
1510
+ return attrName;
1511
+ })
1512
+ ])
1513
+ );
1514
+ }
1515
+ }
1516
+ return Cstr;
1517
+ };
1518
+
1519
+ // src/runtime/initialize-component.ts
1520
+ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1521
+ let Cstr;
1522
+ if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1523
+ hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1524
+ {
1525
+ Cstr = elm.constructor;
1526
+ const cmpTag = elm.localName;
1527
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1528
+ }
1529
+ if (Cstr && Cstr.style) {
1530
+ let style;
1531
+ if (typeof Cstr.style === "string") {
1532
+ style = Cstr.style;
1533
+ }
1534
+ const scopeId2 = getScopeId(cmpMeta);
1535
+ if (!styles.has(scopeId2)) {
1536
+ const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
1537
+ registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
1538
+ endRegisterStyles();
1539
+ }
1540
+ }
1541
+ }
1542
+ const ancestorComponent = hostRef.$ancestorComponent$;
1543
+ const schedule = () => scheduleUpdate(hostRef, true);
1544
+ if (ancestorComponent && ancestorComponent["s-rc"]) {
1545
+ ancestorComponent["s-rc"].push(schedule);
1546
+ } else {
1547
+ schedule();
1548
+ }
1549
+ };
1550
+ var fireConnectedCallback = (instance, elm) => {
1551
+ };
1552
+
1553
+ // src/runtime/connected-callback.ts
1554
+ var connectedCallback = (elm) => {
1555
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1556
+ const hostRef = getHostRef(elm);
1557
+ if (!hostRef) {
1558
+ return;
1559
+ }
1560
+ const cmpMeta = hostRef.$cmpMeta$;
1561
+ const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
1562
+ if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
1563
+ hostRef.$flags$ |= 1 /* hasConnected */;
1564
+ {
1565
+ if (// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
1566
+ cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */)) {
1567
+ setContentReference(elm);
1568
+ }
1569
+ }
1570
+ {
1571
+ let ancestorComponent = elm;
1572
+ while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
1573
+ if (ancestorComponent["s-p"]) {
1574
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
1575
+ break;
1576
+ }
1577
+ }
1578
+ }
1579
+ if (cmpMeta.$members$) {
1580
+ Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1581
+ if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
1582
+ const value = elm[memberName];
1583
+ delete elm[memberName];
1584
+ elm[memberName] = value;
1585
+ }
1586
+ });
1587
+ }
1588
+ if (BUILD.initializeNextTick) {
1589
+ nextTick(() => initializeComponent(elm, hostRef, cmpMeta));
1590
+ } else {
1591
+ initializeComponent(elm, hostRef, cmpMeta);
1592
+ }
1593
+ } else {
1594
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1595
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) ; else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1596
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback());
1597
+ }
1598
+ }
1599
+ endConnected();
1600
+ }
1601
+ };
1602
+ var setContentReference = (elm) => {
1603
+ if (!win.document) {
1604
+ return;
1605
+ }
1606
+ const contentRefElm = elm["s-cr"] = win.document.createComment(
1607
+ ""
1608
+ );
1609
+ contentRefElm["s-cn"] = true;
1610
+ insertBefore(elm, contentRefElm, elm.firstChild);
1611
+ };
1612
+ var disconnectedCallback = async (elm) => {
1613
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1614
+ const hostRef = getHostRef(elm);
1615
+ {
1616
+ if (hostRef == null ? void 0 : hostRef.$rmListeners$) {
1617
+ hostRef.$rmListeners$.map((rmListener) => rmListener());
1618
+ hostRef.$rmListeners$ = void 0;
1619
+ }
1620
+ }
1621
+ }
1622
+ if (rootAppliedStyles.has(elm)) {
1623
+ rootAppliedStyles.delete(elm);
1624
+ }
1625
+ if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1626
+ rootAppliedStyles.delete(elm.shadowRoot);
1627
+ }
1628
+ };
1629
+ var proxyCustomElement = (Cstr, compactMeta) => {
1630
+ const cmpMeta = {
1631
+ $flags$: compactMeta[0],
1632
+ $tagName$: compactMeta[1]
1633
+ };
1634
+ {
1635
+ cmpMeta.$members$ = compactMeta[2];
1636
+ }
1637
+ {
1638
+ cmpMeta.$listeners$ = compactMeta[3];
1639
+ }
1640
+ {
1641
+ cmpMeta.$watchers$ = Cstr.$watchers$;
1642
+ }
1643
+ {
1644
+ cmpMeta.$attrsToReflect$ = [];
1645
+ }
1646
+ const originalConnectedCallback = Cstr.prototype.connectedCallback;
1647
+ const originalDisconnectedCallback = Cstr.prototype.disconnectedCallback;
1648
+ Object.assign(Cstr.prototype, {
1649
+ __hasHostListenerAttached: false,
1650
+ __registerHost() {
1651
+ registerHost(this, cmpMeta);
1652
+ },
1653
+ connectedCallback() {
1654
+ if (!this.__hasHostListenerAttached) {
1655
+ const hostRef = getHostRef(this);
1656
+ if (!hostRef) {
1657
+ return;
1658
+ }
1659
+ addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
1660
+ this.__hasHostListenerAttached = true;
1661
+ }
1662
+ connectedCallback(this);
1663
+ if (originalConnectedCallback) {
1664
+ originalConnectedCallback.call(this);
1665
+ }
1666
+ },
1667
+ disconnectedCallback() {
1668
+ disconnectedCallback(this);
1669
+ if (originalDisconnectedCallback) {
1670
+ originalDisconnectedCallback.call(this);
1671
+ }
1672
+ },
1673
+ __attachShadow() {
1674
+ {
1675
+ if (!this.shadowRoot) {
1676
+ createShadowRoot.call(this, cmpMeta);
1677
+ } else {
1678
+ if (this.shadowRoot.mode !== "open") {
1679
+ throw new Error(
1680
+ `Unable to re-use existing shadow root for ${cmpMeta.$tagName$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`
1681
+ );
1682
+ }
1683
+ }
1684
+ }
1685
+ }
1686
+ });
1687
+ Cstr.is = cmpMeta.$tagName$;
1688
+ return proxyComponent(Cstr, cmpMeta);
1689
+ };
1690
+
1691
+ // src/runtime/fragment.ts
1692
+ var Fragment = (_, children) => children;
1693
+ var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
1694
+ if (listeners && win.document) {
1695
+ listeners.map(([flags, name, method]) => {
1696
+ const target = getHostListenerTarget(win.document, elm, flags) ;
1697
+ const handler = hostListenerProxy(hostRef, method);
1698
+ const opts = hostListenerOpts(flags);
1699
+ plt.ael(target, name, handler, opts);
1700
+ (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
1701
+ });
1702
+ }
1703
+ };
1704
+ var hostListenerProxy = (hostRef, methodName) => (ev) => {
1705
+ try {
1706
+ {
1707
+ hostRef.$hostElement$[methodName](ev);
1708
+ }
1709
+ } catch (e) {
1710
+ consoleError(e, hostRef.$hostElement$);
1711
+ }
1712
+ };
1713
+ var getHostListenerTarget = (doc, elm, flags) => {
1714
+ if (flags & 8 /* TargetWindow */) {
1715
+ return win;
1716
+ }
1717
+ return elm;
1718
+ };
1719
+ var hostListenerOpts = (flags) => supportsListenerOptions ? {
1720
+ passive: (flags & 1 /* Passive */) !== 0,
1721
+ capture: (flags & 2 /* Capture */) !== 0
1722
+ } : (flags & 2 /* Capture */) !== 0;
1723
+
1724
+ // src/runtime/nonce.ts
1725
+ var setNonce = (nonce) => plt.$nonce$ = nonce;
1726
+
1727
+ // src/runtime/platform-options.ts
1728
+ var setPlatformOptions = (opts) => Object.assign(plt, opts);
1729
+
1730
+ // src/runtime/render.ts
1731
+ function render(vnode, container) {
1732
+ const cmpMeta = {
1733
+ $flags$: 0,
1734
+ $tagName$: container.tagName
1735
+ };
1736
+ const ref = {
1737
+ $cmpMeta$: cmpMeta,
1738
+ $hostElement$: container
1739
+ };
1740
+ renderVdom(ref, vnode);
1741
+ }
1742
+
1743
+ export { Fragment as F, H, Host as a, createEvent as c, getAssetPath, h, proxyCustomElement as p, render, setAssetPath, setNonce, setPlatformOptions };
1744
+ //# sourceMappingURL=index.js.map
1745
+
42
1746
  //# sourceMappingURL=index.js.map