@mgdis/mg-components 6.7.0 → 6.9.0

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 (345) hide show
  1. package/README.md +17 -78
  2. package/dist/cjs/app-globals-V2Kpy_OQ.js +8 -0
  3. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
  4. package/dist/cjs/{index-1a5a1081.js → index-CATFkm3O.js} +244 -196
  5. package/dist/cjs/index-CATFkm3O.js.map +1 -0
  6. package/dist/cjs/{index-b7923724.js → index-CTU2m-sy.js} +87 -42
  7. package/dist/cjs/index-CTU2m-sy.js.map +1 -0
  8. package/dist/cjs/index.cjs.js +1 -0
  9. package/dist/cjs/index.cjs.js.map +1 -1
  10. package/dist/cjs/index.es-jXqiN1uw.js +152 -0
  11. package/dist/cjs/index.es-jXqiN1uw.js.map +1 -0
  12. package/dist/cjs/loader.cjs.js +4 -5
  13. package/dist/cjs/loader.cjs.js.map +1 -1
  14. package/dist/cjs/{mg-action-more_36.cjs.entry.js → mg-action-more_37.cjs.entry.js} +842 -826
  15. package/dist/cjs/mg-action-more_37.cjs.entry.js.map +1 -0
  16. package/dist/cjs/mg-alert.cjs.entry.js +21 -15
  17. package/dist/cjs/mg-alert.cjs.entry.js.map +1 -1
  18. package/dist/cjs/mg-alert.entry.cjs.js.map +1 -0
  19. package/dist/cjs/mg-components.cjs.js +8 -7
  20. package/dist/cjs/mg-components.cjs.js.map +1 -1
  21. package/dist/cjs/mg-input-rich-text-editor.cjs.entry.js +21524 -6868
  22. package/dist/cjs/mg-input-rich-text-editor.cjs.entry.js.map +1 -1
  23. package/dist/cjs/mg-input-rich-text-editor.entry.cjs.js.map +1 -0
  24. package/dist/cjs/{mg-input.conf-5bbcea79.js → mg-input.conf-WTsvDfpC.js} +2 -1
  25. package/dist/cjs/mg-input.conf-WTsvDfpC.js.map +1 -0
  26. package/dist/cjs/mg-loader.cjs.entry.js +12 -10
  27. package/dist/cjs/mg-loader.cjs.entry.js.map +1 -1
  28. package/dist/cjs/mg-loader.entry.cjs.js.map +1 -0
  29. package/dist/cjs/mg-progress.cjs.entry.js +13 -15
  30. package/dist/cjs/mg-progress.cjs.entry.js.map +1 -1
  31. package/dist/cjs/mg-progress.entry.cjs.js.map +1 -0
  32. package/dist/collection/collection-manifest.json +4 -3
  33. package/dist/collection/components/atoms/mg-badge/mg-badge.js +9 -4
  34. package/dist/collection/components/atoms/mg-badge/mg-badge.js.map +1 -1
  35. package/dist/collection/components/atoms/mg-button/mg-button.js +14 -14
  36. package/dist/collection/components/atoms/mg-button/mg-button.js.map +1 -1
  37. package/dist/collection/components/atoms/mg-icon/mg-icon.js +21 -6
  38. package/dist/collection/components/atoms/mg-icon/mg-icon.js.map +1 -1
  39. package/dist/collection/components/atoms/mg-tag/mg-tag.js +17 -7
  40. package/dist/collection/components/atoms/mg-tag/mg-tag.js.map +1 -1
  41. package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.js +1 -2
  42. package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.js.map +1 -1
  43. package/dist/collection/components/molecules/inputs/mg-input/mg-input.js +12 -8
  44. package/dist/collection/components/molecules/inputs/mg-input/mg-input.js.map +1 -1
  45. package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js +19 -6
  46. package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js.map +1 -1
  47. package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js +16 -5
  48. package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js.map +1 -1
  49. package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.conf.js +1 -1
  50. package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.conf.js.map +1 -1
  51. package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.js +53 -21
  52. package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.js.map +1 -1
  53. package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.js +64 -30
  54. package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.js.map +1 -1
  55. package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js +12 -7
  56. package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js.map +1 -1
  57. package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.js +44 -39
  58. package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.js.map +1 -1
  59. package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js +8 -3
  60. package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js.map +1 -1
  61. package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.conf.js +7 -1
  62. package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.conf.js.map +1 -1
  63. package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.js +89 -53
  64. package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.js.map +1 -1
  65. package/dist/collection/components/molecules/inputs/mg-input-textarea/mg-input-textarea.js +28 -23
  66. package/dist/collection/components/molecules/inputs/mg-input-textarea/mg-input-textarea.js.map +1 -1
  67. package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js +8 -3
  68. package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js.map +1 -1
  69. package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.conf.js.map +1 -1
  70. package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.js +2 -2
  71. package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.js.map +1 -1
  72. package/dist/collection/components/molecules/menus/mg-menu/mg-menu.conf.js.map +1 -0
  73. package/dist/collection/components/molecules/{menu → menus}/mg-menu/mg-menu.js +9 -9
  74. package/dist/collection/components/molecules/menus/mg-menu/mg-menu.js.map +1 -0
  75. package/dist/collection/components/molecules/menus/mg-menu-item/mg-menu-item.conf.js.map +1 -0
  76. package/dist/collection/components/molecules/{menu → menus}/mg-menu-item/mg-menu-item.js +7 -7
  77. package/dist/collection/components/molecules/menus/mg-menu-item/mg-menu-item.js.map +1 -0
  78. package/dist/collection/components/molecules/mg-action-more/mg-action-more.conf.js.map +1 -1
  79. package/dist/collection/components/molecules/mg-action-more/mg-action-more.js +9 -4
  80. package/dist/collection/components/molecules/mg-action-more/mg-action-more.js.map +1 -1
  81. package/dist/collection/components/molecules/mg-alert/mg-alert.js +13 -3
  82. package/dist/collection/components/molecules/mg-alert/mg-alert.js.map +1 -1
  83. package/dist/collection/components/molecules/mg-details/mg-details.js +3 -2
  84. package/dist/collection/components/molecules/mg-details/mg-details.js.map +1 -1
  85. package/dist/collection/components/molecules/mg-form/mg-form.js +8 -3
  86. package/dist/collection/components/molecules/mg-form/mg-form.js.map +1 -1
  87. package/dist/collection/components/molecules/mg-loader/mg-loader.js +10 -3
  88. package/dist/collection/components/molecules/mg-loader/mg-loader.js.map +1 -1
  89. package/dist/collection/components/molecules/mg-modal/mg-modal.js +4 -4
  90. package/dist/collection/components/molecules/mg-modal/mg-modal.js.map +1 -1
  91. package/dist/collection/components/molecules/mg-pagination/mg-pagination.js +17 -7
  92. package/dist/collection/components/molecules/mg-pagination/mg-pagination.js.map +1 -1
  93. package/dist/collection/components/molecules/mg-panel/mg-panel.js +12 -7
  94. package/dist/collection/components/molecules/mg-panel/mg-panel.js.map +1 -1
  95. package/dist/collection/components/molecules/mg-popover/mg-popover.js +2 -1
  96. package/dist/collection/components/molecules/mg-popover/mg-popover.js.map +1 -1
  97. package/dist/collection/components/molecules/mg-table/mg-table.conf.js +13 -0
  98. package/dist/collection/components/molecules/mg-table/mg-table.conf.js.map +1 -0
  99. package/dist/collection/components/molecules/mg-table/mg-table.js +364 -0
  100. package/dist/collection/components/molecules/mg-table/mg-table.js.map +1 -0
  101. package/dist/collection/locales/en/messages.json +37 -16
  102. package/dist/collection/locales/fr/messages.json +40 -19
  103. package/dist/collection/utils/playwright.fixture.js +2 -3
  104. package/dist/collection/utils/playwright.fixture.js.map +1 -1
  105. package/dist/components/floating-ui.utils.js +2 -421
  106. package/dist/components/floating-ui.utils.js.map +1 -1
  107. package/dist/components/index.es.js +68 -67
  108. package/dist/components/index.es.js.map +1 -1
  109. package/dist/components/index.js +1 -0
  110. package/dist/components/index2.js +86 -41
  111. package/dist/components/index2.js.map +1 -1
  112. package/dist/components/mg-action-more.js +13 -9
  113. package/dist/components/mg-action-more.js.map +1 -1
  114. package/dist/components/mg-alert.js +16 -8
  115. package/dist/components/mg-alert.js.map +1 -1
  116. package/dist/components/mg-badge.js +1 -0
  117. package/dist/components/mg-badge2.js +14 -10
  118. package/dist/components/mg-badge2.js.map +1 -1
  119. package/dist/components/mg-button.js +1 -0
  120. package/dist/components/mg-button2.js +19 -19
  121. package/dist/components/mg-button2.js.map +1 -1
  122. package/dist/components/mg-card.js +1 -0
  123. package/dist/components/mg-card2.js +2 -2
  124. package/dist/components/mg-card2.js.map +1 -1
  125. package/dist/components/mg-character-left.js +1 -0
  126. package/dist/components/mg-character-left2.js +6 -6
  127. package/dist/components/mg-character-left2.js.map +1 -1
  128. package/dist/components/mg-details.js +7 -6
  129. package/dist/components/mg-details.js.map +1 -1
  130. package/dist/components/mg-divider.js +1 -0
  131. package/dist/components/mg-divider2.js +2 -2
  132. package/dist/components/mg-divider2.js.map +1 -1
  133. package/dist/components/mg-form.js +14 -10
  134. package/dist/components/mg-form.js.map +1 -1
  135. package/dist/components/mg-icon.js +1 -0
  136. package/dist/components/mg-icon2.js +29 -14
  137. package/dist/components/mg-icon2.js.map +1 -1
  138. package/dist/components/mg-illustrated-message.js +7 -7
  139. package/dist/components/mg-illustrated-message.js.map +1 -1
  140. package/dist/components/mg-input-checkbox-paginated.js +2 -1
  141. package/dist/components/mg-input-checkbox-paginated2.js +15 -3
  142. package/dist/components/mg-input-checkbox-paginated2.js.map +1 -1
  143. package/dist/components/mg-input-checkbox.js +23 -14
  144. package/dist/components/mg-input-checkbox.js.map +1 -1
  145. package/dist/components/mg-input-date.js +64 -32
  146. package/dist/components/mg-input-date.js.map +1 -1
  147. package/dist/components/mg-input-numeric.js +76 -43
  148. package/dist/components/mg-input-numeric.js.map +1 -1
  149. package/dist/components/mg-input-password.js +12 -8
  150. package/dist/components/mg-input-password.js.map +1 -1
  151. package/dist/components/mg-input-radio.js +10 -10
  152. package/dist/components/mg-input-radio.js.map +1 -1
  153. package/dist/components/mg-input-rich-text-editor.js +21525 -6867
  154. package/dist/components/mg-input-rich-text-editor.js.map +1 -1
  155. package/dist/components/mg-input-select.js +1 -0
  156. package/dist/components/mg-input-select2.js +15 -11
  157. package/dist/components/mg-input-select2.js.map +1 -1
  158. package/dist/components/mg-input-text.js +1 -0
  159. package/dist/components/mg-input-text2.js +67 -27
  160. package/dist/components/mg-input-text2.js.map +1 -1
  161. package/dist/components/mg-input-textarea.js +16 -12
  162. package/dist/components/mg-input-textarea.js.map +1 -1
  163. package/dist/components/mg-input-title.js +1 -0
  164. package/dist/components/mg-input-title2.js +6 -6
  165. package/dist/components/mg-input-title2.js.map +1 -1
  166. package/dist/components/mg-input-toggle.js +14 -10
  167. package/dist/components/mg-input-toggle.js.map +1 -1
  168. package/dist/components/mg-input.js +1 -0
  169. package/dist/components/mg-input2.js +20 -14
  170. package/dist/components/mg-input2.js.map +1 -1
  171. package/dist/components/mg-item-more.js +2 -1
  172. package/dist/components/mg-item-more2.js +18 -19
  173. package/dist/components/mg-item-more2.js.map +1 -1
  174. package/dist/components/mg-loader.js +10 -6
  175. package/dist/components/mg-loader.js.map +1 -1
  176. package/dist/components/mg-menu-item.js +1 -0
  177. package/dist/components/mg-menu-item2.js +16 -16
  178. package/dist/components/mg-menu-item2.js.map +1 -1
  179. package/dist/components/mg-menu.js +2 -1
  180. package/dist/components/mg-message.js +1 -0
  181. package/dist/components/mg-message2.js +6 -6
  182. package/dist/components/mg-message2.js.map +1 -1
  183. package/dist/components/mg-modal.js +13 -13
  184. package/dist/components/mg-modal.js.map +1 -1
  185. package/dist/components/mg-pagination.js +1 -0
  186. package/dist/components/mg-pagination2.js +19 -11
  187. package/dist/components/mg-pagination2.js.map +1 -1
  188. package/dist/components/mg-panel.js +18 -14
  189. package/dist/components/mg-panel.js.map +1 -1
  190. package/dist/components/mg-popover-content.js +1 -0
  191. package/dist/components/mg-popover-content2.js +5 -5
  192. package/dist/components/mg-popover-content2.js.map +1 -1
  193. package/dist/components/mg-popover.js +1 -0
  194. package/dist/components/mg-popover2.js +9 -9
  195. package/dist/components/mg-popover2.js.map +1 -1
  196. package/dist/components/mg-progress.js +12 -12
  197. package/dist/components/mg-progress.js.map +1 -1
  198. package/dist/components/mg-skip-links.js +4 -4
  199. package/dist/components/mg-skip-links.js.map +1 -1
  200. package/dist/components/mg-table.d.ts +11 -0
  201. package/dist/components/mg-table.js +320 -0
  202. package/dist/components/mg-table.js.map +1 -0
  203. package/dist/components/mg-tabs.js +14 -14
  204. package/dist/components/mg-tabs.js.map +1 -1
  205. package/dist/components/mg-tag.js +16 -8
  206. package/dist/components/mg-tag.js.map +1 -1
  207. package/dist/components/mg-tooltip-content.js +1 -0
  208. package/dist/components/mg-tooltip-content2.js +2 -2
  209. package/dist/components/mg-tooltip-content2.js.map +1 -1
  210. package/dist/components/mg-tooltip.js +1 -0
  211. package/dist/components/mg-tooltip2.js +13 -13
  212. package/dist/components/mg-tooltip2.js.map +1 -1
  213. package/dist/esm/app-globals-DQuL1Twl.js +6 -0
  214. package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
  215. package/dist/esm/{index-5059254f.js → index-CAuxALt5.js} +242 -174
  216. package/dist/esm/index-CAuxALt5.js.map +1 -0
  217. package/dist/esm/{index-a58f8b91.js → index-SQlkEaXW.js} +87 -42
  218. package/dist/esm/index-SQlkEaXW.js.map +1 -0
  219. package/dist/esm/index.es-DDBtzymI.js +130 -0
  220. package/dist/esm/index.es-DDBtzymI.js.map +1 -0
  221. package/dist/esm/index.js +1 -0
  222. package/dist/esm/index.js.map +1 -1
  223. package/dist/esm/loader.js +5 -4
  224. package/dist/esm/loader.js.map +1 -1
  225. package/dist/esm/{mg-action-more_36.entry.js → mg-action-more_37.entry.js} +842 -825
  226. package/dist/esm/mg-action-more_37.entry.js.map +1 -0
  227. package/dist/esm/mg-alert.entry.js +21 -13
  228. package/dist/esm/mg-alert.entry.js.map +1 -1
  229. package/dist/esm/mg-components.js +7 -5
  230. package/dist/esm/mg-components.js.map +1 -1
  231. package/dist/esm/mg-input-rich-text-editor.entry.js +21527 -6869
  232. package/dist/esm/mg-input-rich-text-editor.entry.js.map +1 -1
  233. package/dist/esm/{mg-input.conf-712c7bb6.js → mg-input.conf-BtkqaBXm.js} +2 -1
  234. package/dist/esm/mg-input.conf-BtkqaBXm.js.map +1 -0
  235. package/dist/esm/mg-loader.entry.js +12 -8
  236. package/dist/esm/mg-loader.entry.js.map +1 -1
  237. package/dist/esm/mg-progress.entry.js +13 -13
  238. package/dist/esm/mg-progress.entry.js.map +1 -1
  239. package/dist/mg-components/index.esm.js.map +1 -1
  240. package/dist/mg-components/loader.esm.js.map +1 -0
  241. package/dist/mg-components/locales/en/messages.json +37 -16
  242. package/dist/mg-components/locales/fr/messages.json +40 -19
  243. package/dist/mg-components/mg-alert.entry.esm.js.map +1 -0
  244. package/dist/mg-components/mg-components.esm.js +1 -1
  245. package/dist/mg-components/mg-components.esm.js.map +1 -1
  246. package/dist/mg-components/mg-input-rich-text-editor.entry.esm.js.map +1 -0
  247. package/dist/mg-components/mg-loader.entry.esm.js.map +1 -0
  248. package/dist/mg-components/mg-progress.entry.esm.js.map +1 -0
  249. package/dist/mg-components/p-583b3769.entry.js +2 -0
  250. package/dist/mg-components/p-583b3769.entry.js.map +1 -0
  251. package/dist/mg-components/p-650d6986.entry.js +11 -0
  252. package/dist/mg-components/p-650d6986.entry.js.map +1 -0
  253. package/dist/mg-components/p-680948e3.entry.js +2 -0
  254. package/dist/mg-components/p-680948e3.entry.js.map +1 -0
  255. package/dist/mg-components/p-9acc6504.entry.js +2 -0
  256. package/dist/mg-components/p-9acc6504.entry.js.map +1 -0
  257. package/dist/mg-components/{p-2884f369.js → p-BtkqaBXm.js} +1 -1
  258. package/dist/mg-components/p-BtkqaBXm.js.map +1 -0
  259. package/dist/mg-components/p-CAuxALt5.js +3 -0
  260. package/dist/mg-components/p-CAuxALt5.js.map +1 -0
  261. package/dist/mg-components/p-CqGbLOnN.js +2 -0
  262. package/dist/mg-components/p-CqGbLOnN.js.map +1 -0
  263. package/dist/mg-components/p-DDBtzymI.js +2 -0
  264. package/dist/mg-components/p-DDBtzymI.js.map +1 -0
  265. package/dist/mg-components/p-DQuL1Twl.js +2 -0
  266. package/dist/mg-components/p-DQuL1Twl.js.map +1 -0
  267. package/dist/mg-components/p-c0fb6f62.entry.js +2 -0
  268. package/dist/mg-components/p-c0fb6f62.entry.js.map +1 -0
  269. package/dist/types/components/atoms/mg-button/mg-button.d.ts +1 -1
  270. package/dist/types/components/atoms/mg-tag/mg-tag.d.ts +2 -2
  271. package/dist/types/components/atoms/mg-tooltip/mg-tooltip.d.ts +0 -1
  272. package/dist/types/components/molecules/inputs/mg-input/mg-input.d.ts +1 -4
  273. package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.d.ts +2 -2
  274. package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.d.ts +2 -2
  275. package/dist/types/components/molecules/inputs/mg-input-date/mg-input-date.conf.d.ts +1 -0
  276. package/dist/types/components/molecules/inputs/mg-input-date/mg-input-date.d.ts +1 -1
  277. package/dist/types/components/molecules/inputs/mg-input-numeric/mg-input-numeric.d.ts +7 -6
  278. package/dist/types/components/molecules/inputs/mg-input-password/mg-input-password.d.ts +2 -2
  279. package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.d.ts +9 -9
  280. package/dist/types/components/molecules/inputs/mg-input-select/mg-input-select.d.ts +1 -1
  281. package/dist/types/components/molecules/inputs/mg-input-text/mg-input-text.conf.d.ts +4 -2
  282. package/dist/types/components/molecules/inputs/mg-input-text/mg-input-text.d.ts +16 -10
  283. package/dist/types/components/molecules/inputs/mg-input-textarea/mg-input-textarea.d.ts +5 -5
  284. package/dist/types/components/molecules/inputs/mg-input-toggle/mg-input-toggle.d.ts +1 -1
  285. package/dist/types/components/molecules/internals/mg-item-more/mg-item-more.conf.d.ts +1 -1
  286. package/dist/types/components/molecules/mg-action-more/mg-action-more.conf.d.ts +1 -1
  287. package/dist/types/components/molecules/mg-action-more/mg-action-more.d.ts +1 -1
  288. package/dist/types/components/molecules/mg-form/mg-form.d.ts +1 -1
  289. package/dist/types/components/molecules/mg-loader/mg-loader.d.ts +1 -1
  290. package/dist/types/components/molecules/mg-pagination/mg-pagination.d.ts +2 -2
  291. package/dist/types/components/molecules/mg-panel/mg-panel.d.ts +1 -1
  292. package/dist/types/components/molecules/mg-popover/mg-popover.d.ts +1 -0
  293. package/dist/types/components/molecules/mg-table/mg-table.conf.d.ts +19 -0
  294. package/dist/types/components/molecules/mg-table/mg-table.d.ts +58 -0
  295. package/dist/types/components.d.ts +66 -27
  296. package/dist/types/stencil-public-runtime.d.ts +1 -0
  297. package/ide/intellij/web-types.json +157 -49
  298. package/ide/vscode/html-custom-data.json +111 -27
  299. package/package.json +25 -25
  300. package/dist/cjs/app-globals-3a1e7e63.js +0 -7
  301. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  302. package/dist/cjs/index-1a5a1081.js.map +0 -1
  303. package/dist/cjs/index-b7923724.js.map +0 -1
  304. package/dist/cjs/index.es-903492c5.js +0 -151
  305. package/dist/cjs/index.es-903492c5.js.map +0 -1
  306. package/dist/cjs/mg-action-more_36.cjs.entry.js.map +0 -1
  307. package/dist/cjs/mg-input.conf-5bbcea79.js.map +0 -1
  308. package/dist/collection/components/molecules/menu/mg-menu/mg-menu.conf.js.map +0 -1
  309. package/dist/collection/components/molecules/menu/mg-menu/mg-menu.js.map +0 -1
  310. package/dist/collection/components/molecules/menu/mg-menu-item/mg-menu-item.conf.js.map +0 -1
  311. package/dist/collection/components/molecules/menu/mg-menu-item/mg-menu-item.js.map +0 -1
  312. package/dist/esm/app-globals-0f993ce5.js +0 -5
  313. package/dist/esm/app-globals-0f993ce5.js.map +0 -1
  314. package/dist/esm/index-5059254f.js.map +0 -1
  315. package/dist/esm/index-a58f8b91.js.map +0 -1
  316. package/dist/esm/index.es-b80b758c.js +0 -129
  317. package/dist/esm/index.es-b80b758c.js.map +0 -1
  318. package/dist/esm/mg-action-more_36.entry.js.map +0 -1
  319. package/dist/esm/mg-input.conf-712c7bb6.js.map +0 -1
  320. package/dist/mg-components/p-2884f369.js.map +0 -1
  321. package/dist/mg-components/p-2a633b29.entry.js +0 -2
  322. package/dist/mg-components/p-2a633b29.entry.js.map +0 -1
  323. package/dist/mg-components/p-361cc090.entry.js +0 -2
  324. package/dist/mg-components/p-361cc090.entry.js.map +0 -1
  325. package/dist/mg-components/p-3afebdab.entry.js +0 -2
  326. package/dist/mg-components/p-3afebdab.entry.js.map +0 -1
  327. package/dist/mg-components/p-3c6710be.js +0 -2
  328. package/dist/mg-components/p-3c6710be.js.map +0 -1
  329. package/dist/mg-components/p-ac8a5083.js +0 -2
  330. package/dist/mg-components/p-ac8a5083.js.map +0 -1
  331. package/dist/mg-components/p-bc6ec847.entry.js +0 -2
  332. package/dist/mg-components/p-bc6ec847.entry.js.map +0 -1
  333. package/dist/mg-components/p-e1255160.js +0 -2
  334. package/dist/mg-components/p-e1255160.js.map +0 -1
  335. package/dist/mg-components/p-e39791fa.js +0 -3
  336. package/dist/mg-components/p-e39791fa.js.map +0 -1
  337. package/dist/mg-components/p-f2e6e7ae.entry.js +0 -2
  338. package/dist/mg-components/p-f2e6e7ae.entry.js.map +0 -1
  339. package/loader/package.json +0 -11
  340. /package/dist/collection/components/molecules/{menu → menus}/mg-menu/mg-menu.conf.js +0 -0
  341. /package/dist/collection/components/molecules/{menu → menus}/mg-menu-item/mg-menu-item.conf.js +0 -0
  342. /package/dist/types/components/molecules/{menu → menus}/mg-menu/mg-menu.conf.d.ts +0 -0
  343. /package/dist/types/components/molecules/{menu → menus}/mg-menu/mg-menu.d.ts +0 -0
  344. /package/dist/types/components/molecules/{menu → menus}/mg-menu-item/mg-menu-item.conf.d.ts +0 -0
  345. /package/dist/types/components/molecules/{menu → menus}/mg-menu-item/mg-menu-item.d.ts +0 -0
@@ -1,129 +1,130 @@
1
- var he = Object.defineProperty;
2
- var ve = (e, t, s) => t in e ? he(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
3
- var p = (e, t, s) => ve(e, typeof t != "symbol" ? t + "" : t, s);
4
- const Ge = (e = "", t = 10) => {
5
- const s = new Uint8Array(t);
6
- crypto.getRandomValues(s);
7
- const r = Array.from(s).map((n) => n.toString(16).padStart(2, "0")).join("").slice(0, t);
8
- return e !== "" ? `${e}-${r}` : r;
9
- }, Xe = (e) => me(e) && /^([a-z][a-z0-9]*)(-[a-z0-9]+)*$/.exec(e) !== null;
10
- class Ze {
1
+ var Re = Object.defineProperty;
2
+ var ze = (e, t, r) => t in e ? Re(e, t, { enumerable: true, configurable: true, writable: true, value: r }) : e[t] = r;
3
+ var d = (e, t, r) => ze(e, typeof t != "symbol" ? t + "" : t, r);
4
+ const xt = (e = "", t = 10) => {
5
+ const r = new Uint8Array(t);
6
+ crypto.getRandomValues(r);
7
+ const s = Array.from(r).map((n) => n.toString(16).padStart(2, "0")).join("").slice(0, t);
8
+ return e !== "" ? `${e}-${s}` : s;
9
+ }, Ot = (e) => Le(e) && /^([a-z][a-z0-9]*)(-[a-z0-9]+)*$/.exec(e) !== null;
10
+ class kt {
11
11
  constructor(t = []) {
12
12
  /**
13
13
  * Available classes
14
14
  */
15
- p(this, "classes");
15
+ d(this, "classes");
16
16
  /**
17
17
  * Add class
18
18
  * @param className - class name to add
19
19
  */
20
- p(this, "add", (t) => {
20
+ d(this, "add", (t) => {
21
21
  this.has(t) || this.classes.push(t);
22
22
  });
23
23
  /**
24
24
  * Delete class
25
25
  * @param className - class name to delete
26
26
  */
27
- p(this, "delete", (t) => {
28
- const s = this.classes.indexOf(t);
29
- s > -1 && this.classes.splice(s, 1);
27
+ d(this, "delete", (t) => {
28
+ const r = this.classes.indexOf(t);
29
+ r > -1 && this.classes.splice(r, 1);
30
30
  });
31
31
  /**
32
32
  * Check if class exist in list
33
33
  * @param className - class name to check
34
34
  * @returns class name is in the list
35
35
  */
36
- p(this, "has", (t) => this.classes.includes(t));
36
+ d(this, "has", (t) => this.classes.includes(t));
37
37
  /**
38
38
  * Join classes seperated by spaces
39
39
  * @returns joined values
40
40
  */
41
- p(this, "join", () => this.classes.join(" "));
41
+ d(this, "join", () => this.classes.join(" "));
42
42
  this.classes = t;
43
43
  }
44
44
  }
45
- const Je = (e) => Array.isArray(e) && e.every((t) => typeof t == "string"), Ke = (e, t) => t.includes(e == null ? void 0 : e.tagName.toLowerCase()), Qe = 'a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"]), [identifier], mg-button', Ye = (e) => {
46
- const t = Y(e), s = V(e);
47
- return [e, ...t, ...s];
48
- }, Y = (e, t = []) => {
45
+ const At = (e) => Array.isArray(e) && e.every((t) => typeof t == "string"), Tt = (e, t) => t.includes(e == null ? void 0 : e.tagName.toLowerCase()), jt = 'a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"]), [identifier], mg-button', Rt = (e) => {
46
+ const t = ge(e), r = pe(e);
47
+ return [e, ...t, ...r];
48
+ }, ge = (e, t = []) => {
49
49
  if (e.self !== e.top)
50
50
  try {
51
- const s = e.parent;
52
- return s ? (t.push(s), Y(s, t)) : t;
53
- } catch (s) {
54
- return console.error("Different hosts between iframes:", s), t;
51
+ const r = e.parent;
52
+ return r ? (t.push(r), ge(r, t)) : t;
53
+ } catch (r) {
54
+ return console.error("Different hosts between iframes:", r), t;
55
55
  }
56
56
  return t;
57
- }, V = (e, t = []) => {
57
+ }, pe = (e, t = []) => {
58
58
  if (e.frames.length > 0)
59
- for (const s of Array.from(e.frames))
60
- t.push(s), V(s, t);
59
+ for (const r of Array.from(e.frames))
60
+ t.push(r), pe(r, t);
61
61
  return t;
62
- }, me = (e) => typeof e == "string" && e.trim() !== "", Ve = (e) => typeof e == "object" ? JSON.stringify(e) : `${e}`, et = (e) => typeof e == "number" && !Number.isNaN(e), tt = (e) => typeof e == "string" ? e.toLocaleLowerCase().normalize("NFD").replaceAll(/[\u0300-\u036f]/g, "") : e, st = async (e) => e();
63
- var be = Object.defineProperty, Se = (e, t) => {
64
- for (var s in t)
65
- be(e, s, { get: t[s], enumerable: !0 });
66
- }, _e = {};
67
- Se(_e, {
68
- err: () => se,
69
- map: () => Ee,
70
- ok: () => P,
71
- unwrap: () => Ae,
72
- unwrapErr: () => je
62
+ }, Le = (e) => typeof e == "string" && e.trim() !== "", zt = (e) => typeof e == "object" ? JSON.stringify(e) : `${e}`, Nt = (e) => typeof e == "number" && !Number.isNaN(e), Lt = (e) => typeof e == "string" ? e.toLocaleLowerCase().normalize("NFD").replaceAll(/[\u0300-\u036f]/g, "") : e, Mt = async (e) => e();
63
+ var Me = Object.defineProperty, Fe = (e, t) => {
64
+ for (var r in t)
65
+ Me(e, r, { get: t[r], enumerable: true });
66
+ }, De = {};
67
+ Fe(De, {
68
+ err: () => de,
69
+ map: () => Ze,
70
+ ok: () => W,
71
+ unwrap: () => qe,
72
+ unwrapErr: () => Be
73
73
  });
74
- var P = (e) => ({
75
- isOk: !0,
76
- isErr: !1,
74
+ var W = (e) => ({
75
+ isOk: true,
76
+ isErr: false,
77
77
  value: e
78
- }), se = (e) => ({
79
- isOk: !1,
80
- isErr: !0,
78
+ }), de = (e) => ({
79
+ isOk: false,
80
+ isErr: true,
81
81
  value: e
82
82
  });
83
- function Ee(e, t) {
83
+ function Ze(e, t) {
84
84
  if (e.isOk) {
85
- const s = t(e.value);
86
- return s instanceof Promise ? s.then((r) => P(r)) : P(s);
85
+ const r = t(e.value);
86
+ return r instanceof Promise ? r.then((s) => W(s)) : W(r);
87
87
  }
88
88
  if (e.isErr) {
89
- const s = e.value;
90
- return se(s);
89
+ const r = e.value;
90
+ return de(r);
91
91
  }
92
92
  throw "should never get here";
93
93
  }
94
- var Ae = (e) => {
94
+ var qe = (e) => {
95
95
  if (e.isOk)
96
96
  return e.value;
97
97
  throw e.value;
98
- }, je = (e) => {
98
+ }, Be = (e) => {
99
99
  if (e.isErr)
100
100
  return e.value;
101
101
  throw e.value;
102
102
  };
103
- const ft = (e) => {
104
- const t = { value: "2023", pattern: "yyyy" }, s = { value: "12", pattern: "mm" }, r = { value: "24", pattern: "dd" };
105
- return ze([t.value, s.value, r.value].join("-"), e, { timeZone: "UTC" }).replace(t.value, t.pattern).replace(s.value, s.pattern).replace(r.value, r.pattern);
106
- }, $t = (e) => e.toISOString().split("T")[0], Pe = (e, t, s) => {
107
- const r = e.closest("[lang]"), n = Intl.NumberFormat.supportedLocalesOf(r == null ? void 0 : r.lang), i = n.length > 0 && typeof n[0] == "string" ? n[0] : navigator.language || s, o = i.split("-").shift();
103
+ const Bt = (e) => {
104
+ const t = { value: "2023", pattern: "yyyy" }, r = { value: "12", pattern: "mm" }, s = { value: "24", pattern: "dd" };
105
+ return Et([t.value, r.value, s.value].join("-"), e, { timeZone: "UTC" }).replace(t.value, t.pattern).replace(r.value, r.pattern).replace(s.value, s.pattern);
106
+ }, Ht = (e) => e.toISOString().split("T")[0], _t = (e, t, r) => {
107
+ const s = e.closest("[lang]"), n = Intl.NumberFormat.supportedLocalesOf(s == null ? void 0 : s.lang), i = n.length > 0 && typeof n[0] == "string" ? n[0] : navigator.language || r, o = i.split("-").shift();
108
108
  return Object.keys(t).length === 0 ? {
109
109
  locale: i,
110
- messages: { lang: s }
110
+ messages: { lang: r }
111
111
  } : {
112
112
  locale: i,
113
- messages: t[o] || t[s] || { lang: s }
113
+ messages: t[o] || t[r] || { lang: r }
114
114
  };
115
- }, ut = (e, t, s) => new Intl.NumberFormat(t, { style: "currency", currency: s }).format(e), dt = (e, t, s = 0) => new Intl.NumberFormat(t, { minimumFractionDigits: s }).format(s > 0 ? Number(e == null ? void 0 : e.toFixed(s)) : e), gt = (e, t, s = 0) => new Intl.NumberFormat(t, {
115
+ }, Pt = (e, t, r) => new Intl.NumberFormat(t, { style: "currency", currency: r }).format(e), Gt = (e, t, r = 0) => new Intl.NumberFormat(t, { minimumFractionDigits: r }).format(Number(e)), Wt = (e, t, r = 0) => new Intl.NumberFormat(t, {
116
116
  style: "percent",
117
- minimumFractionDigits: s,
118
- maximumFractionDigits: s
119
- }).format(e), pt = (e, t, s, r = "short", n = 0) => new Intl.NumberFormat(t, {
117
+ minimumFractionDigits: r,
118
+ maximumFractionDigits: r
119
+ }).format(e), Xt = (e, t, r, s = "short", n = 0) => new Intl.NumberFormat(t, {
120
120
  style: "unit",
121
- unit: s,
122
- unitDisplay: r,
121
+ unit: r,
122
+ unitDisplay: s,
123
123
  minimumFractionDigits: n,
124
124
  maximumFractionDigits: n
125
- }).format(e), we = /^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/, ze = (e, t, s) => typeof e != "string" || e === "" || !we.test(e) ? "" : new Intl.DateTimeFormat(t, s).format(new Date(e)), ht = (e, t) => (s) => Pe(s, e, t);
125
+ }).format(e), wt = /^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/, Et = (e, t, r) => typeof e != "string" || e === "" || !wt.test(e) ? "" : new Intl.DateTimeFormat(t, r).format(new Date(e)), Jt = (e, t) => (r) => _t(r, e, t);
126
126
 
127
- export { $t as $, Ge as G, Je as J, Ke as K, Qe as Q, Ve as V, Xe as X, Ye as Y, Ze as Z, dt as d, et as e, ft as f, gt as g, ht as h, me as m, pt as p, st as s, tt as t, ut as u, we as w, ze as z };
127
+ export { At as A, Bt as B, Et as E, Gt as G, Ht as H, Jt as J, Le as L, Mt as M, Nt as N, Ot as O, Pt as P, Rt as R, Tt as T, Wt as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AC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,CAAC,KAAK,IAAI,IAAI,CAAC,YAAY,CAAC,CAAC,EAAE;AAC7E,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,IAAI,EAAE,CAAC;AACT,EAAE,WAAW,EAAE,CAAC;AAChB,EAAE,qBAAqB,EAAE,CAAC;AAC1B,EAAE,qBAAqB,EAAE,CAAC;AAC1B,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,+CAA+C,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,OAAO,CAAC,IAAI,QAAQ,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,EAAE,GAAG,IAAI,IAAI,CAAC,cAAc,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;;;;","names":[],"sources":["../stencil-helpers/dist/index.es.js"],"sourcesContent":["var he = Object.defineProperty;\nvar W = (e) => {\n throw TypeError(e);\n};\nvar ve = (e, t, s) => t in e ? he(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;\nvar p = (e, t, s) => ve(e, typeof t != \"symbol\" ? t + \"\" : t, s), ye = (e, t, s) => t.has(e) || W(\"Cannot \" + s);\nvar x = (e, t, s) => (ye(e, t, \"read from private field\"), s ? s.call(e) : t.get(e)), B = (e, t, s) => t.has(e) ? W(\"Cannot add the same private member more than once\") : t instanceof WeakSet ? t.add(e) : t.set(e, s);\nconst Ge = (e = \"\", t = 10) => {\n const s = new Uint8Array(t);\n crypto.getRandomValues(s);\n const r = Array.from(s).map((n) => n.toString(16).padStart(2, \"0\")).join(\"\").slice(0, t);\n return e !== \"\" ? `${e}-${r}` : r;\n}, Xe = (e) => me(e) && /^([a-z][a-z0-9]*)(-[a-z0-9]+)*$/.exec(e) !== null;\nclass Ze {\n constructor(t = []) {\n /**\n * Available classes\n */\n p(this, \"classes\");\n /**\n * Add class\n * @param className - class name to add\n */\n p(this, \"add\", (t) => {\n this.has(t) || this.classes.push(t);\n });\n /**\n * Delete class\n * @param className - class name to delete\n */\n p(this, \"delete\", (t) => {\n const s = this.classes.indexOf(t);\n s > -1 && this.classes.splice(s, 1);\n });\n /**\n * Check if class exist in list\n * @param className - class name to check\n * @returns class name is in the list\n */\n p(this, \"has\", (t) => this.classes.includes(t));\n /**\n * Join classes seperated by spaces\n * @returns joined values\n */\n p(this, \"join\", () => this.classes.join(\" \"));\n this.classes = t;\n }\n}\nconst Je = (e) => Array.isArray(e) && e.every((t) => typeof t == \"string\"), Ke = (e, t) => t.includes(e == null ? void 0 : e.tagName.toLowerCase()), Qe = 'a[href], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"]), [identifier], mg-button', Ye = (e) => {\n const t = Y(e), s = V(e);\n return [e, ...t, ...s];\n}, Y = (e, t = []) => {\n if (e.self !== e.top)\n try {\n const s = e.parent;\n return s ? (t.push(s), Y(s, t)) : t;\n } catch (s) {\n return console.error(\"Different hosts between iframes:\", s), t;\n }\n return t;\n}, V = (e, t = []) => {\n if (e.frames.length > 0)\n for (const s of Array.from(e.frames))\n t.push(s), V(s, t);\n return t;\n}, me = (e) => typeof e == \"string\" && e.trim() !== \"\", Ve = (e) => typeof e == \"object\" ? JSON.stringify(e) : `${e}`, et = (e) => typeof e == \"number\" && !Number.isNaN(e), tt = (e) => typeof e == \"string\" ? e.toLocaleLowerCase().normalize(\"NFD\").replaceAll(/[\\u0300-\\u036f]/g, \"\") : e, st = async (e) => e();\nvar C = {\n updatable: !0,\n slotRelocation: !0,\n // TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior\n experimentalSlotFixes: !1\n}, be = Object.defineProperty, Se = (e, t) => {\n for (var s in t)\n be(e, s, { get: t[s], enumerable: !0 });\n}, ke = \"http://www.w3.org/2000/svg\", xe = \"http://www.w3.org/1999/xhtml\", G = (e, t) => t in e, X = \"http://www.w3.org/1999/xlink\", ee = typeof window < \"u\" ? window : {}, L = ee.document || { head: {} }, _ = {\n $flags$: 0,\n $resourcesUrl$: \"\",\n jmp: (e) => e(),\n raf: (e) => requestAnimationFrame(e),\n ael: (e, t, s, r) => e.addEventListener(t, s, r),\n rel: (e, t, s, r) => e.removeEventListener(t, s, r),\n ce: (e, t) => new CustomEvent(e, t)\n}, Te = (e) => e != null && e !== void 0, te = (e) => (e = typeof e, e === \"object\" || e === \"function\"), _e = {};\nSe(_e, {\n err: () => se,\n map: () => Ee,\n ok: () => P,\n unwrap: () => Ae,\n unwrapErr: () => je\n});\nvar P = (e) => ({\n isOk: !0,\n isErr: !1,\n value: e\n}), se = (e) => ({\n isOk: !1,\n isErr: !0,\n value: e\n});\nfunction Ee(e, t) {\n if (e.isOk) {\n const s = t(e.value);\n return s instanceof Promise ? s.then((r) => P(r)) : P(s);\n }\n if (e.isErr) {\n const s = e.value;\n return se(s);\n }\n throw \"should never get here\";\n}\nvar Ae = (e) => {\n if (e.isOk)\n return e.value;\n throw e.value;\n}, je = (e) => {\n if (e.isErr)\n return e.value;\n throw e.value;\n}, re = (e) => {\n const t = e.__childNodes || e.childNodes;\n e.tagName && e.tagName.includes(\"-\") && e[\"s-cr\"] && e.tagName !== \"SLOT-FB\" && ne(t, e.tagName).forEach((s) => {\n var r;\n s.nodeType === 1 && s.tagName === \"SLOT-FB\" && ((r = Oe(s, s[\"s-sn\"], !1)) != null && r.length ? s.hidden = !0 : s.hidden = !1);\n });\n for (const s of t)\n s.nodeType === 1 && (s.__childNodes || s.childNodes).length && re(s);\n};\nfunction ne(e, t, s) {\n let r = 0, n = [], i;\n for (; r < e.length; r++)\n i = e[r], i[\"s-sr\"] && i[\"s-hn\"] === t && s === void 0 && n.push(i), n = [...n, ...ne(i.childNodes, t, s)];\n return n;\n}\nvar Oe = (e, t, s = !0) => {\n const r = [];\n for ((s && e[\"s-sr\"] || !e[\"s-sr\"]) && r.push(e); (e = e.nextSibling) && e[\"s-sn\"] === t; )\n r.push(e);\n return r;\n}, Z = (e, t) => e.nodeType === 1 ? e.getAttribute(\"slot\") === null && t === \"\" || e.getAttribute(\"slot\") === t : e[\"s-sn\"] === t ? !0 : t === \"\", Re = (e, t, ...s) => {\n let r = null, n = null, i = null, o = !1, f = !1;\n const c = [], $ = (l) => {\n for (let d = 0; d < l.length; d++)\n r = l[d], Array.isArray(r) ? $(r) : r != null && typeof r != \"boolean\" && ((o = !te(r)) && (r = String(r)), o && f ? c[c.length - 1].$text$ += r : c.push(o ? w(null, r) : r), f = o);\n };\n $(s);\n const u = w(e, null);\n return u.$attrs$ = t, c.length > 0 && (u.$children$ = c), u.$key$ = n, u.$name$ = i, u;\n}, w = (e, t) => {\n const s = {\n $flags$: 0,\n $tag$: e,\n $text$: t,\n $elm$: null,\n $children$: null\n };\n return s.$attrs$ = null, s.$key$ = null, s.$name$ = null, s;\n}, Le = {}, Me = (e) => e && e.$tag$ === Le, J = (e, t, s, r, n, i, o) => {\n if (s !== r) {\n let f = G(e, t), c = t.toLowerCase();\n if (t === \"class\") {\n const $ = e.classList, u = K(s);\n let l = K(r);\n $.remove(...u.filter((d) => d && !l.includes(d))), $.add(...l.filter((d) => d && !u.includes(d)));\n } else if (t === \"style\") {\n for (const $ in s)\n (!r || r[$] == null) && ($.includes(\"-\") ? e.style.removeProperty($) : e.style[$] = \"\");\n for (const $ in r)\n (!s || r[$] !== s[$]) && ($.includes(\"-\") ? e.style.setProperty($, r[$]) : e.style[$] = r[$]);\n } else if (t !== \"key\") if (t === \"ref\")\n r && r(e);\n else if (!e.__lookupSetter__(t) && t[0] === \"o\" && t[1] === \"n\") {\n if (t[2] === \"-\" ? t = t.slice(3) : G(ee, c) ? t = c.slice(2) : t = c[2] + t.slice(3), s || r) {\n const $ = t.endsWith(ie);\n t = t.replace(Ne, \"\"), s && _.rel(e, t, s, $), r && _.ael(e, t, r, $);\n }\n } else {\n const $ = te(r);\n if ((f || $ && r !== null) && !n)\n try {\n if (e.tagName.includes(\"-\"))\n e[t] !== r && (e[t] = r);\n else {\n const l = r ?? \"\";\n t === \"list\" ? f = !1 : (s == null || e[t] != l) && (typeof e.__lookupSetter__(t) == \"function\" ? e[t] = l : e.setAttribute(t, l));\n }\n } catch {\n }\n let u = !1;\n c !== (c = c.replace(/^xlink\\:?/, \"\")) && (t = c, u = !0), r == null || r === !1 ? (r !== !1 || e.getAttribute(t) === \"\") && (u ? e.removeAttributeNS(X, t) : e.removeAttribute(t)) : (!f || i & 4 || n) && !$ && (r = r === !0 ? \"\" : r, u ? e.setAttributeNS(X, t, r) : e.setAttribute(t, r));\n }\n }\n}, Fe = /\\s/, K = (e) => (typeof e == \"object\" && e && \"baseVal\" in e && (e = e.baseVal), !e || typeof e != \"string\" ? [] : e.split(Fe)), ie = \"Capture\", Ne = new RegExp(ie + \"$\"), oe = (e, t, s, r) => {\n const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, i = e && e.$attrs$ || {}, o = t.$attrs$ || {};\n for (const f of Q(Object.keys(i)))\n f in o || J(\n n,\n f,\n i[f],\n void 0,\n s,\n t.$flags$\n );\n for (const f of Q(Object.keys(o)))\n J(\n n,\n f,\n i[f],\n o[f],\n s,\n t.$flags$\n );\n};\nfunction Q(e) {\n return e.includes(\"ref\") ? (\n // we need to sort these to ensure that `'ref'` is the last attr\n [...e.filter((t) => t !== \"ref\"), \"ref\"]\n ) : (\n // no need to sort, return the original array\n e\n );\n}\nvar M, F, E, N = !1, H = !1, I = !1, v = !1, D = (e, t, s) => {\n var r;\n const n = t.$children$[s];\n let i = 0, o, f, c;\n if (N || (I = !0, n.$tag$ === \"slot\" && (n.$flags$ |= n.$children$ ? (\n // slot element has fallback content\n // still create an element that \"mocks\" the slot element\n 2\n ) : (\n // slot element does not have fallback content\n // create an html comment we'll use to always reference\n // where actual slot content should sit next to\n 1\n ))), n.$text$ !== null)\n o = n.$elm$ = L.createTextNode(n.$text$);\n else if (n.$flags$ & 1)\n o = n.$elm$ = L.createTextNode(\"\");\n else {\n if (v || (v = n.$tag$ === \"svg\"), o = n.$elm$ = L.createElementNS(\n v ? ke : xe,\n !N && C.slotRelocation && n.$flags$ & 2 ? \"slot-fb\" : n.$tag$\n ), v && n.$tag$ === \"foreignObject\" && (v = !1), oe(null, n, v), Te(M) && o[\"s-si\"] !== M && o.classList.add(o[\"s-si\"] = M), n.$children$)\n for (i = 0; i < n.$children$.length; ++i)\n f = D(e, n, i), f && o.appendChild(f);\n n.$tag$ === \"svg\" ? v = !1 : o.tagName === \"foreignObject\" && (v = !0);\n }\n return o[\"s-hn\"] = E, n.$flags$ & 3 && (o[\"s-sr\"] = !0, o[\"s-cr\"] = F, o[\"s-sn\"] = n.$name$ || \"\", o[\"s-rf\"] = (r = n.$attrs$) == null ? void 0 : r.ref, c = e && e.$children$ && e.$children$[s], c && c.$tag$ === n.$tag$ && e.$elm$ && A(e.$elm$, !1), $e(F, o, t.$elm$, e == null ? void 0 : e.$elm$)), o;\n}, A = (e, t) => {\n _.$flags$ |= 1;\n const s = Array.from(e.__childNodes || e.childNodes);\n e[\"s-sr\"] && C.experimentalSlotFixes;\n for (let r = s.length - 1; r >= 0; r--) {\n const n = s[r];\n n[\"s-hn\"] !== E && n[\"s-ol\"] && (k(j(n).parentNode, n, j(n)), n[\"s-ol\"].remove(), n[\"s-ol\"] = void 0, n[\"s-sh\"] = void 0, I = !0), t && A(n, t);\n }\n _.$flags$ &= -2;\n}, le = (e, t, s, r, n, i) => {\n let o = e[\"s-cr\"] && e[\"s-cr\"].parentNode || e, f;\n for (o.shadowRoot && o.tagName === E && (o = o.shadowRoot); n <= i; ++n)\n r[n] && (f = D(null, s, n), f && (r[n].$elm$ = f, k(o, f, j(t))));\n}, ae = (e, t, s) => {\n for (let r = t; r <= s; ++r) {\n const n = e[r];\n if (n) {\n const i = n.$elm$;\n fe(n), i && (H = !0, i[\"s-ol\"] ? i[\"s-ol\"].remove() : A(i, !0), i.remove());\n }\n }\n}, He = (e, t, s, r, n = !1) => {\n let i = 0, o = 0, f = 0, c = 0, $ = t.length - 1, u = t[0], l = t[$], d = r.length - 1, a = r[0], g = r[d], m, y;\n for (; i <= $ && o <= d; )\n if (u == null)\n u = t[++i];\n else if (l == null)\n l = t[--$];\n else if (a == null)\n a = r[++o];\n else if (g == null)\n g = r[--d];\n else if (R(u, a, n))\n T(u, a, n), u = t[++i], a = r[++o];\n else if (R(l, g, n))\n T(l, g, n), l = t[--$], g = r[--d];\n else if (R(u, g, n))\n (u.$tag$ === \"slot\" || g.$tag$ === \"slot\") && A(u.$elm$.parentNode, !1), T(u, g, n), k(e, u.$elm$, l.$elm$.nextSibling), u = t[++i], g = r[--d];\n else if (R(l, a, n))\n (u.$tag$ === \"slot\" || g.$tag$ === \"slot\") && A(l.$elm$.parentNode, !1), T(l, a, n), k(e, l.$elm$, u.$elm$), l = t[--$], a = r[++o];\n else {\n for (f = -1, c = i; c <= $; ++c)\n if (t[c] && t[c].$key$ !== null && t[c].$key$ === a.$key$) {\n f = c;\n break;\n }\n f >= 0 ? (y = t[f], y.$tag$ !== a.$tag$ ? m = D(t && t[o], s, f) : (T(y, a, n), t[f] = void 0, m = y.$elm$), a = r[++o]) : (m = D(t && t[o], s, o), a = r[++o]), m && k(\n j(u.$elm$).parentNode,\n m,\n j(u.$elm$)\n );\n }\n i > $ ? le(\n e,\n r[d + 1] == null ? null : r[d + 1].$elm$,\n s,\n r,\n o,\n d\n ) : o > d && ae(t, i, $);\n}, R = (e, t, s = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === \"slot\" ? e.$name$ === t.$name$ : s ? (s && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, j = (e) => e && e[\"s-ol\"] || e, T = (e, t, s = !1) => {\n const r = t.$elm$ = e.$elm$, n = e.$children$, i = t.$children$, o = t.$tag$, f = t.$text$;\n let c;\n f === null ? (v = o === \"svg\" ? !0 : o === \"foreignObject\" ? !1 : v, o === \"slot\" && !N || oe(e, t, v), n !== null && i !== null ? He(r, n, t, i, s) : i !== null ? (e.$text$ !== null && (r.textContent = \"\"), le(r, null, t, i, 0, i.length - 1)) : (\n // don't do this on initial render as it can cause non-hydrated content to be removed\n !s && C.updatable && n !== null && ae(n, 0, n.length - 1)\n ), v && o === \"svg\" && (v = !1)) : (c = r[\"s-cr\"]) ? c.parentNode.textContent = f : e.$text$ !== f && (r.data = f);\n}, b = [], ce = (e) => {\n let t, s, r;\n const n = e.__childNodes || e.childNodes;\n for (const i of n) {\n if (i[\"s-sr\"] && (t = i[\"s-cr\"]) && t.parentNode) {\n s = t.parentNode.__childNodes || t.parentNode.childNodes;\n const o = i[\"s-sn\"];\n for (r = s.length - 1; r >= 0; r--)\n if (t = s[r], !t[\"s-cn\"] && !t[\"s-nr\"] && t[\"s-hn\"] !== i[\"s-hn\"])\n if (Z(t, o)) {\n let f = b.find((c) => c.$nodeToRelocate$ === t);\n H = !0, t[\"s-sn\"] = t[\"s-sn\"] || o, f ? (f.$nodeToRelocate$[\"s-sh\"] = i[\"s-hn\"], f.$slotRefNode$ = i) : (t[\"s-sh\"] = i[\"s-hn\"], b.push({\n $slotRefNode$: i,\n $nodeToRelocate$: t\n })), t[\"s-sr\"] && b.map((c) => {\n Z(c.$nodeToRelocate$, t[\"s-sn\"]) && (f = b.find(($) => $.$nodeToRelocate$ === t), f && !c.$slotRefNode$ && (c.$slotRefNode$ = f.$slotRefNode$));\n });\n } else b.some((f) => f.$nodeToRelocate$ === t) || b.push({\n $nodeToRelocate$: t\n });\n }\n i.nodeType === 1 && ce(i);\n }\n}, fe = (e) => {\n e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(fe);\n}, k = (e, t, s) => (typeof t[\"s-sn\"] == \"string\" && t[\"s-sr\"] && t[\"s-cr\"] && $e(t[\"s-cr\"], t, e, t.parentElement), e == null ? void 0 : e.insertBefore(t, s));\nfunction $e(e, t, s, r) {\n var n;\n let i;\n if (e && typeof t[\"s-sn\"] == \"string\" && t[\"s-sr\"] && e.parentNode && e.parentNode[\"s-sc\"] && (i = t[\"s-si\"] || e.parentNode[\"s-sc\"])) {\n const o = t[\"s-sn\"], f = t[\"s-hn\"];\n if ((n = s.classList) == null || n.add(i + \"-s\"), r && r.classList.contains(i + \"-s\")) {\n let c = (r.__childNodes || r.childNodes)[0], $ = !1;\n for (; c; ) {\n if (c[\"s-sn\"] !== o && c[\"s-hn\"] === f && c[\"s-sr\"]) {\n $ = !0;\n break;\n }\n c = c.nextSibling;\n }\n $ || r.classList.remove(i + \"-s\");\n }\n }\n}\nvar De = (e, t, s = !1) => {\n var r, n, i, o, f;\n const c = e.$hostElement$, $ = e.$cmpMeta$, u = e.$vnode$ || w(null, null), l = Me(t) ? t : Re(null, null, t);\n if (E = c.tagName, $.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, $.$attrsToReflect$.map(\n ([d, a]) => l.$attrs$[a] = c[d]\n )), s && l.$attrs$)\n for (const d of Object.keys(l.$attrs$))\n c.hasAttribute(d) && ![\"key\", \"ref\", \"style\", \"class\"].includes(d) && (l.$attrs$[d] = c[d]);\n l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = u.$elm$ = c.shadowRoot || c, M = c[\"s-sc\"], N = ($.$flags$ & 1) !== 0, F = c[\"s-cr\"], H = !1, T(u, l, s);\n {\n if (_.$flags$ |= 1, I) {\n ce(l.$elm$);\n for (const d of b) {\n const a = d.$nodeToRelocate$;\n if (!a[\"s-ol\"]) {\n const g = L.createTextNode(\"\");\n g[\"s-nr\"] = a, k(a.parentNode, a[\"s-ol\"] = g, a);\n }\n }\n for (const d of b) {\n const a = d.$nodeToRelocate$, g = d.$slotRefNode$;\n if (g) {\n const m = g.parentNode;\n let y = g.nextSibling;\n {\n let O = (r = a[\"s-ol\"]) == null ? void 0 : r.previousSibling;\n for (; O; ) {\n let h = (n = O[\"s-nr\"]) != null ? n : null;\n if (h && h[\"s-sn\"] === a[\"s-sn\"] && m === (h.__parentNode || h.parentNode)) {\n for (h = h.nextSibling; h === a || h != null && h[\"s-sr\"]; )\n h = h == null ? void 0 : h.nextSibling;\n if (!h || !h[\"s-nr\"]) {\n y = h;\n break;\n }\n }\n O = O.previousSibling;\n }\n }\n const ge = a.__parentNode || a.parentNode, pe = a.__nextSibling || a.nextSibling;\n (!y && m !== ge || pe !== y) && a !== y && (!a[\"s-hn\"] && a[\"s-ol\"] && (a[\"s-hn\"] = a[\"s-ol\"].parentNode.nodeName), k(m, a, y), a.nodeType === 1 && a.tagName !== \"SLOT-FB\" && (a.hidden = (i = a[\"s-ih\"]) != null ? i : !1)), a && typeof g[\"s-rf\"] == \"function\" && g[\"s-rf\"](a);\n } else\n a.nodeType === 1 && (s && (a[\"s-ih\"] = (o = a.hidden) != null ? o : !1), a.hidden = !0);\n }\n }\n H && re(l.$elm$), _.$flags$ &= -2, b.length = 0;\n }\n if (C.experimentalScopedSlotChanges && $.$flags$ & 2) {\n const d = l.$elm$.__childNodes || l.$elm$.childNodes;\n for (const a of d)\n a[\"s-hn\"] !== E && !a[\"s-sh\"] && (s && a[\"s-ih\"] == null && (a[\"s-ih\"] = (f = a.hidden) != null ? f : !1), a.hidden = !0);\n }\n F = void 0;\n};\nconst Ue = (e, t, s) => {\n [null, void 0, \"\", !1].includes(s) || [\"innerHTML\", \"style\"].includes(t) || e.setAttribute(t, [\"object\", \"function\"].includes(typeof s) ? \"/!\\\\ Object props are not rendered in the code example\" : s);\n}, ue = (e, t, s, r, n) => {\n if (t && typeof t == \"string\") {\n const i = document.createElement(t);\n Object.keys(s || {}).forEach((o) => {\n Ue(i, o, s[o]);\n }), r == null || r.forEach((o) => {\n ue(i, o.$tag$, o.$attrs$, o.$children$, o.$text$);\n }), s != null && s.innerHTML && (i.innerHTML = s.innerHTML), e.appendChild(i);\n }\n n && (e.innerHTML = n);\n}, rt = (e, t) => {\n const s = {};\n if (typeof e != \"object\")\n throw new Error(\"filterArgs - args isn't an object.\");\n for (const r in e)\n if (!r.startsWith(\"slot\")) {\n const n = e[r], i = r.replace(/([a-z])([A-Z])/g, \"$1-$2\").toLowerCase();\n (!t || !Object.keys(t).includes(r) || t[r] !== n) && (s[i] = n);\n }\n return s;\n}, nt = (e, t) => {\n var r, n;\n const s = document.getElementById(\"storybook-root\");\n if (s !== null)\n return (n = document.querySelector(\"[lang]\")) == null || n.setAttribute(\"lang\", ((r = t.globals) == null ? void 0 : r.locale) || \"en\"), De(\n {\n $cmpMeta$: {\n $flags$: 0,\n $tagName$: s.tagName\n },\n $hostElement$: s\n },\n e(t)\n ), s.children[s.children.length - 1];\n}, it = ({ $tag$: e, $attrs$: t, $children$: s, $text$: r }) => {\n const n = document.createElement(\"div\");\n return ue(n, e, t, s, r), n.innerHTML;\n}, U = (e, t) => {\n if (!t)\n return;\n const s = t.split(\"/\");\n return `${e}${s.slice(2, s.length - 1).join(\"-\")}--docs`;\n};\nvar S, q;\nclass ot {\n constructor(t) {\n /**\n * JsonDocs\n */\n p(this, \"jsonDoc\");\n /**\n * Get component data from the jsonDoc\n * @param tagName - tag name we want to get the data from\n * @returns component data\n */\n B(this, S, (t) => this.jsonDoc.components.find((s) => s.tag === t));\n /**\n * Get the control for the given prop\n * Based on https://storybook.js.org/docs/api/arg-types#controltype\n * @param prop - prop to get control for\n * @returns control type and options if applicable\n */\n B(this, q, (t) => {\n const s = t.type.replace(/\"([^\"]+)\"/g, \"$1\").replace(/\\s/g, \"\").replace(/\\(.*?\\)/g, (r) => r.replace(/\\|/g, \" OR \")).split(\"|\").map((r) => r.trim().replace(/ OR /g, \"|\"));\n return t.type === \"string\" ? { control: { type: \"text\" } } : t.type === \"number\" ? { control: { type: \"number\" } } : t.type === \"boolean\" ? { control: { type: \"boolean\" } } : t.type.startsWith(\"{\") && t.type.endsWith(\"}\") ? { control: { type: \"object\" } } : s.length > 1 ? s.includes(\"string\") ? { control: { type: \"text\" } } : s.every((r) => r == null ? void 0 : r.includes(\"[]\")) ? { control: { type: \"object\" } } : (s.unshift(void 0), { control: { type: \"select\" }, options: s }) : { control: { type: \"object\" } };\n });\n /**\n * Extract component arg types from the component data\n * @param tagName - tag name we want to extract the arg types from\n * @returns component arg types\n */\n p(this, \"extractArgTypes\", (t) => {\n const s = x(this, S).call(this, t), r = s == null ? void 0 : s.props.reduce((u, l) => {\n const { control: d, options: a } = x(this, q).call(this, l);\n return {\n ...u,\n [l.name]: {\n name: l.attr || l.name,\n description: l.docs,\n type: { required: l.required },\n table: {\n category: \"props\",\n type: { summary: l.type },\n defaultValue: { summary: l.default }\n },\n control: d,\n options: a\n }\n };\n }, {}), n = s == null ? void 0 : s.events.reduce(\n (u, l) => ({\n ...u,\n [l.event]: {\n name: l.event,\n description: l.docs,\n table: {\n category: \"events\",\n type: { summary: l.detail }\n }\n }\n }),\n {}\n ), i = s == null ? void 0 : s.methods.reduce(\n (u, l) => ({\n ...u,\n [l.name]: {\n name: l.name,\n description: l.docs,\n table: {\n category: \"methods\",\n type: { summary: l.signature }\n }\n }\n }),\n {}\n ), o = s == null ? void 0 : s.slots.reduce(\n (u, l) => ({\n ...u,\n [l.name]: {\n name: l.name !== \"\" ? l.name : \"default\",\n // default slot are unnamed\n description: l.docs,\n table: {\n category: \"slots\",\n type: { summary: void 0 }\n }\n }\n }),\n {}\n ), f = s == null ? void 0 : s.styles.reduce(\n (u, l) => ({\n ...u,\n [l.name]: {\n name: l.name,\n description: l.docs,\n table: {\n category: \"custom properties\",\n type: { summary: void 0 }\n }\n }\n }),\n {}\n ), c = s == null ? void 0 : s.dependencies.reduce((u, l) => {\n const d = x(this, S).call(this, l);\n return {\n ...u,\n [l]: {\n name: l,\n description: `<a href=\"./?path=/docs/${U(\"\", d == null ? void 0 : d.filePath)}\">View Component Documentation</a>`,\n table: {\n category: \"depends on\",\n type: { summary: void 0 }\n }\n }\n };\n }, {}), $ = s == null ? void 0 : s.dependents.reduce((u, l) => {\n const d = x(this, S).call(this, l);\n return {\n ...u,\n [l]: {\n name: l,\n description: `<a href=\"./?path=/docs/${U(\"\", d == null ? void 0 : d.filePath)}\">View Component Documentation</a>`,\n table: {\n category: \"used by\",\n type: { summary: void 0 }\n }\n }\n };\n }, {});\n return {\n ...r,\n ...n,\n ...i,\n ...o,\n ...f,\n ...c,\n ...$\n };\n });\n /**\n * Extract component description from the component data\n * @param tagName - tag name we want to extract the description from\n * @returns component description\n */\n p(this, \"extractComponentDescription\", (t) => {\n const s = x(this, S).call(this, t);\n return (s == null ? void 0 : s.readme) || (s == null ? void 0 : s.docs);\n });\n this.jsonDoc = t;\n }\n}\nS = new WeakMap(), q = new WeakMap();\nconst qe = (e, t) => {\n if (t)\n return `${e}${t}`;\n}, de = (e) => {\n let t = e.overview ? `${e.overview}\n\n` : \"\";\n const s = e.props.filter(({ attr: n }) => n !== void 0);\n s.length && (t += `Attributes:\n`, t += s.map(({ attr: n, docs: i }) => `- \\`${n}\\`: ${i}\n`).join(\"\"), t += `\n`);\n const r = e.props.filter(({ attr: n }) => n === void 0);\n return r.length && (t += `Properties:\n`, t += r.map(({ name: n, docs: i }) => `- \\`${n}\\`: ${i}\n`).join(\"\"), t += `\n`), e.methods.length && (t += `Methods:\n`, t += e.methods.map(({ name: n, docs: i }) => `- \\`${n}\\`: ${i}\n`).join(\"\"), t += `\n`), e.events.length && (t += `Events:\n`, t += e.events.map(({ event: n, docs: i }) => `- \\`${n}\\`: ${i}\n`).join(\"\"), t += `\n`), e.listeners.length && (t += `Listeners:\n`, t += e.listeners.map(({ event: n }) => `- \\`${n}\\`\n`).join(\"\"), t += `\n`), e.slots.length && (t += `Slots:\n`, t += e.slots.map(({ name: n, docs: i }) => `- \\`${n}\\`: ${i}\n`).join(\"\"), t += `\n`), t;\n}, z = (e) => `${e.docs}\n\nType: \\`${e.type}\\``, lt = (e, t, s, r) => ({\n $schema: \"https://json.schemastore.org/web-types\",\n name: e,\n version: t,\n \"description-markup\": \"markdown\",\n contributions: {\n html: {\n elements: s.components.map((n) => {\n const i = U(r, n.filePath);\n return {\n name: n.tag,\n description: de(n),\n \"doc-url\": i,\n attributes: n.props.filter((o) => o.attr).map((o) => ({\n name: o.attr,\n description: z(o),\n \"doc-url\": i,\n value: {\n type: o.type,\n default: o.default,\n required: o.required\n }\n })),\n js: {\n properties: n.props.map((o) => ({\n name: o.name,\n description: z(o),\n \"doc-url\": i,\n value: {\n type: o.type,\n default: o.default,\n required: o.required\n }\n })),\n events: n.events.map((o) => ({\n name: o.event,\n description: o.docs\n }))\n },\n css: {\n properties: n.styles.map((o) => ({\n name: o.name,\n description: o.docs\n }))\n }\n };\n })\n }\n }\n}), Ce = (e, t, s) => [\n { name: \"Storybook\", url: U(e, s) },\n { name: \"Sources\", url: qe(t, s) }\n], Be = (e) => {\n if (!e.values.some(({ value: t }) => t === void 0))\n return e.values.map(({ value: t }) => ({ name: t }));\n}, at = (e, t, s) => ({\n version: 1.1,\n tags: e.components.map((r) => {\n const n = Ce(t, s, r.filePath);\n return {\n name: r.tag,\n description: de(r),\n attributes: r.props.map((i) => ({\n name: i.attr || i.name,\n description: z(i),\n values: Be(i),\n references: n\n })),\n references: n\n };\n }),\n globalAttributes: [],\n valueSets: []\n}), ct = (e) => ({\n version: 1.1,\n properties: e.components.flatMap(\n (t) => t.styles.map((s) => ({\n name: s.name,\n description: s.docs\n }))\n )\n}), ft = (e) => {\n const t = { value: \"2023\", pattern: \"yyyy\" }, s = { value: \"12\", pattern: \"mm\" }, r = { value: \"24\", pattern: \"dd\" };\n return ze([t.value, s.value, r.value].join(\"-\"), e, { timeZone: \"UTC\" }).replace(t.value, t.pattern).replace(s.value, s.pattern).replace(r.value, r.pattern);\n}, $t = (e) => e.toISOString().split(\"T\")[0], Pe = (e, t, s) => {\n const r = e.closest(\"[lang]\"), n = Intl.NumberFormat.supportedLocalesOf(r == null ? void 0 : r.lang), i = n.length > 0 && typeof n[0] == \"string\" ? n[0] : navigator.language || s, o = i.split(\"-\").shift();\n return Object.keys(t).length === 0 ? {\n locale: i,\n messages: { lang: s }\n } : {\n locale: i,\n messages: t[o] || t[s] || { lang: s }\n };\n}, ut = (e, t, s) => new Intl.NumberFormat(t, { style: \"currency\", currency: s }).format(e), dt = (e, t, s = 0) => new Intl.NumberFormat(t, { minimumFractionDigits: s }).format(s > 0 ? Number(e == null ? void 0 : e.toFixed(s)) : e), gt = (e, t, s = 0) => new Intl.NumberFormat(t, {\n style: \"percent\",\n minimumFractionDigits: s,\n maximumFractionDigits: s\n}).format(e), pt = (e, t, s, r = \"short\", n = 0) => new Intl.NumberFormat(t, {\n style: \"unit\",\n unit: s,\n unitDisplay: r,\n minimumFractionDigits: n,\n maximumFractionDigits: n\n}).format(e), we = /^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$/, ze = (e, t, s) => typeof e != \"string\" || e === \"\" || !we.test(e) ? \"\" : new Intl.DateTimeFormat(t, s).format(new Date(e)), ht = (e, t) => (s) => Pe(s, e, t), vt = ({ disconnect: e, observe: t, takeRecords: s }) => {\n class r {\n constructor(i) {\n /**\n *\n */\n p(this, \"disconnect\", e);\n /**\n *\n */\n p(this, \"observe\", t);\n /**\n *\n */\n p(this, \"takeRecords\", s);\n /**\n *\n */\n p(this, \"cb\");\n this.cb = i;\n }\n }\n return [window, global].forEach((n) => {\n Object.defineProperty(n, \"MutationObserver\", {\n writable: !0,\n configurable: !0,\n value: r\n });\n }), r;\n}, yt = ({ disconnect: e, observe: t }) => {\n class s {\n constructor(n) {\n /**\n *\n */\n p(this, \"disconnect\", e);\n /**\n *\n */\n p(this, \"observe\", t);\n /**\n *\n */\n p(this, \"unobserve\");\n /**\n *\n */\n p(this, \"cb\");\n this.cb = n;\n }\n }\n return [window, global].forEach((r) => {\n Object.defineProperty(r, \"ResizeObserver\", {\n writable: !0,\n configurable: !0,\n value: s\n });\n }), s;\n};\nclass Ie extends Event {\n constructor() {\n super(...arguments);\n /**\n *\n */\n p(this, \"detail\");\n }\n // eslint-disable-line @typescript-eslint/no-explicit-any\n}\nconst mt = () => {\n class e extends Ie {\n }\n return [window, global].forEach((t) => {\n Object.defineProperty(t, \"SubmitEvent\", {\n writable: !0,\n configurable: !0,\n value: e\n });\n }), e;\n}, bt = (e) => {\n const t = (s) => (setTimeout(s, 1), e(), 0);\n return [window, global].forEach((s) => {\n Object.defineProperty(s, \"requestAnimationFrame\", {\n writable: !0,\n configurable: !0,\n value: t\n });\n }), t;\n};\nexport {\n Ze as ClassList,\n ot as StorybookPreview,\n Je as allItemsAreString,\n tt as cleanString,\n Ge as createID,\n we as dateRegExp,\n $t as dateToString,\n ht as defineLocales,\n rt as filterArgs,\n Qe as focusableElements,\n ft as getLocaleDatePattern,\n Y as getParentWindows,\n it as getStoryHTML,\n U as getStorybookUrl,\n Ye as getWindows,\n Ke as isTagName,\n et as isValidNumber,\n me as isValidString,\n Xe as isValideID,\n ut as localeCurrency,\n ze as localeDate,\n dt as localeNumber,\n gt as localePercent,\n pt as localeUnit,\n st as nextTick,\n bt as setUpRequestAnimationFrameMock,\n vt as setupMutationObserverMock,\n yt as setupResizeObserverMock,\n mt as setupSubmitEventMock,\n nt as stencilWrapper,\n Ve as toString,\n ct as vsCodeCssGenerator,\n at as vsCodeGenerator,\n lt as webTypesGenerator\n};\n//# sourceMappingURL=index.es.js.map\n"],"version":3}
1
+ {"file":"index.es.js","mappings":"AAAA,IAAI,EAAE,GAAG,MAAM,CAAC,cAAc;AAI9B,IAAI,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,UAAU,EAAE,IA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/index.es.js"],"sourcesContent":["var Re = Object.defineProperty;\nvar ne = (e) => {\n throw TypeError(e);\n};\nvar ze = (e, t, r) => t in e ? Re(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;\nvar d = (e, t, r) => ze(e, typeof t != \"symbol\" ? t + \"\" : t, r), Ne = (e, t, r) => t.has(e) || ne(\"Cannot \" + r);\nvar O = (e, t, r) => (Ne(e, t, \"read from private field\"), r ? r.call(e) : t.get(e)), G = (e, t, r) => t.has(e) ? ne(\"Cannot add the same private member more than once\") : t instanceof WeakSet ? t.add(e) : t.set(e, r);\nconst xt = (e = \"\", t = 10) => {\n const r = new Uint8Array(t);\n crypto.getRandomValues(r);\n const s = Array.from(r).map((n) => n.toString(16).padStart(2, \"0\")).join(\"\").slice(0, t);\n return e !== \"\" ? `${e}-${s}` : s;\n}, Ot = (e) => Le(e) && /^([a-z][a-z0-9]*)(-[a-z0-9]+)*$/.exec(e) !== null;\nclass kt {\n constructor(t = []) {\n /**\n * Available classes\n */\n d(this, \"classes\");\n /**\n * Add class\n * @param className - class name to add\n */\n d(this, \"add\", (t) => {\n this.has(t) || this.classes.push(t);\n });\n /**\n * Delete class\n * @param className - class name to delete\n */\n d(this, \"delete\", (t) => {\n const r = this.classes.indexOf(t);\n r > -1 && this.classes.splice(r, 1);\n });\n /**\n * Check if class exist in list\n * @param className - class name to check\n * @returns class name is in the list\n */\n d(this, \"has\", (t) => this.classes.includes(t));\n /**\n * Join classes seperated by spaces\n * @returns joined values\n */\n d(this, \"join\", () => this.classes.join(\" \"));\n this.classes = t;\n }\n}\nconst At = (e) => Array.isArray(e) && e.every((t) => typeof t == \"string\"), Tt = (e, t) => t.includes(e == null ? void 0 : e.tagName.toLowerCase()), jt = 'a[href], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"]), [identifier], mg-button', Rt = (e) => {\n const t = ge(e), r = pe(e);\n return [e, ...t, ...r];\n}, ge = (e, t = []) => {\n if (e.self !== e.top)\n try {\n const r = e.parent;\n return r ? (t.push(r), ge(r, t)) : t;\n } catch (r) {\n return console.error(\"Different hosts between iframes:\", r), t;\n }\n return t;\n}, pe = (e, t = []) => {\n if (e.frames.length > 0)\n for (const r of Array.from(e.frames))\n t.push(r), pe(r, t);\n return t;\n}, Le = (e) => typeof e == \"string\" && e.trim() !== \"\", zt = (e) => typeof e == \"object\" ? JSON.stringify(e) : `${e}`, Nt = (e) => typeof e == \"number\" && !Number.isNaN(e), Lt = (e) => typeof e == \"string\" ? e.toLocaleLowerCase().normalize(\"NFD\").replaceAll(/[\\u0300-\\u036f]/g, \"\") : e, Mt = async (e) => e();\nvar B = {\n updatable: !0,\n slotRelocation: !0,\n // TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior\n experimentalSlotFixes: !1\n}, Me = Object.defineProperty, Fe = (e, t) => {\n for (var r in t)\n Me(e, r, { get: t[r], enumerable: !0 });\n}, Ie = \"http://www.w3.org/2000/svg\", Ce = \"http://www.w3.org/1999/xhtml\", ie = (e, t) => t in e, oe = \"http://www.w3.org/1999/xlink\", S = typeof window < \"u\" ? window : {}, T = {\n $flags$: 0,\n $resourcesUrl$: \"\",\n jmp: (e) => e(),\n raf: (e) => requestAnimationFrame(e),\n ael: (e, t, r, s) => e.addEventListener(t, r, s),\n rel: (e, t, r, s) => e.removeEventListener(t, r, s),\n ce: (e, t) => new CustomEvent(e, t)\n}, Ue = (e) => e != null && e !== void 0, $e = (e) => (e = typeof e, e === \"object\" || e === \"function\"), De = {};\nFe(De, {\n err: () => de,\n map: () => Ze,\n ok: () => W,\n unwrap: () => qe,\n unwrapErr: () => Be\n});\nvar W = (e) => ({\n isOk: !0,\n isErr: !1,\n value: e\n}), de = (e) => ({\n isOk: !1,\n isErr: !0,\n value: e\n});\nfunction Ze(e, t) {\n if (e.isOk) {\n const r = t(e.value);\n return r instanceof Promise ? r.then((s) => W(s)) : W(r);\n }\n if (e.isErr) {\n const r = e.value;\n return de(r);\n }\n throw \"should never get here\";\n}\nvar qe = (e) => {\n if (e.isOk)\n return e.value;\n throw e.value;\n}, Be = (e) => {\n if (e.isErr)\n return e.value;\n throw e.value;\n}, ye = (e) => {\n const t = le(e, \"childNodes\");\n e.tagName && e.tagName.includes(\"-\") && e[\"s-cr\"] && e.tagName !== \"SLOT-FB\" && be(t, e.tagName).forEach((s) => {\n s.nodeType === 1 && s.tagName === \"SLOT-FB\" && (Pe(s, ee(s), !1).length ? s.hidden = !0 : s.hidden = !1);\n });\n let r = 0;\n for (r = 0; r < t.length; r++) {\n const s = t[r];\n s.nodeType === 1 && le(s, \"childNodes\").length && ye(s);\n }\n}, He = (e) => {\n const t = [];\n for (let r = 0; r < e.length; r++) {\n const s = e[r][\"s-nr\"] || void 0;\n s && s.isConnected && t.push(s);\n }\n return t;\n};\nfunction be(e, t, r) {\n let s = 0, n = [], i;\n for (; s < e.length; s++)\n i = e[s], i[\"s-sr\"] && (!t || i[\"s-hn\"] === t) && r === void 0 && n.push(i), n = [...n, ...be(i.childNodes, t, r)];\n return n;\n}\nvar Pe = (e, t, r = !0) => {\n const s = [];\n (r && e[\"s-sr\"] || !e[\"s-sr\"]) && s.push(e);\n let n = e;\n for (; n = n.nextSibling; )\n ee(n) === t && (r || !n[\"s-sr\"]) && s.push(n);\n return s;\n}, ae = (e, t) => e.nodeType === 1 ? e.getAttribute(\"slot\") === null && t === \"\" || e.getAttribute(\"slot\") === t : e[\"s-sn\"] === t ? !0 : t === \"\", ee = (e) => typeof e[\"s-sn\"] == \"string\" ? e[\"s-sn\"] : e.nodeType === 1 && e.getAttribute(\"slot\") || void 0;\nfunction Ge(e) {\n if (e.assignedElements || e.assignedNodes || !e[\"s-sr\"]) return;\n const t = (r) => (function(s) {\n const n = [], i = this[\"s-sn\"];\n s != null && s.flatten && console.error(`\n Flattening is not supported for Stencil non-shadow slots. \n You can use \\`.childNodes\\` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n `);\n const o = this[\"s-cr\"].parentElement;\n return (o.__childNodes ? o.childNodes : He(o.childNodes)).forEach((l) => {\n i === ee(l) && n.push(l);\n }), r ? n.filter(\n (l) => l.nodeType === 1\n /* ElementNode */\n ) : n;\n }).bind(e);\n e.assignedElements = t(!0), e.assignedNodes = t(!1);\n}\nfunction le(e, t) {\n if (\"__\" + t in e) {\n const r = e[\"__\" + t];\n return typeof r != \"function\" ? r : r.bind(e);\n } else\n return typeof e[t] != \"function\" ? e[t] : e[t].bind(e);\n}\nvar We = (e, t, ...r) => {\n let s = null, n = null, i = null, o = !1, f = !1;\n const l = [], c = (a) => {\n for (let p = 0; p < a.length; p++)\n s = a[p], Array.isArray(s) ? c(s) : s != null && typeof s != \"boolean\" && ((o = !$e(s)) && (s = String(s)), o && f ? l[l.length - 1].$text$ += s : l.push(o ? X(null, s) : s), f = o);\n };\n c(r);\n const g = X(e, null);\n return g.$attrs$ = t, l.length > 0 && (g.$children$ = l), g.$key$ = n, g.$name$ = i, g;\n}, X = (e, t) => {\n const r = {\n $flags$: 0,\n $tag$: e,\n $text$: t,\n $elm$: null,\n $children$: null\n };\n return r.$attrs$ = null, r.$key$ = null, r.$name$ = null, r;\n}, Xe = {}, Je = (e) => e && e.$tag$ === Xe, ce = (e, t, r, s, n, i, o) => {\n if (r === s)\n return;\n let f = ie(e, t), l = t.toLowerCase();\n if (t === \"class\") {\n const c = e.classList, g = fe(r);\n let a = fe(s);\n c.remove(...g.filter((p) => p && !a.includes(p))), c.add(...a.filter((p) => p && !g.includes(p)));\n } else if (t === \"style\") {\n for (const c in r)\n (!s || s[c] == null) && (c.includes(\"-\") ? e.style.removeProperty(c) : e.style[c] = \"\");\n for (const c in s)\n (!r || s[c] !== r[c]) && (c.includes(\"-\") ? e.style.setProperty(c, s[c]) : e.style[c] = s[c]);\n } else if (t !== \"key\") if (t === \"ref\")\n s && s(e);\n else if (!e.__lookupSetter__(t) && t[0] === \"o\" && t[1] === \"n\") {\n if (t[2] === \"-\" ? t = t.slice(3) : ie(S, l) ? t = l.slice(2) : t = l[2] + t.slice(3), r || s) {\n const c = t.endsWith(ve);\n t = t.replace(Ke, \"\"), r && T.rel(e, t, r, c), s && T.ael(e, t, s, c);\n }\n } else {\n const c = $e(s);\n if ((f || c && s !== null) && !n)\n try {\n if (e.tagName.includes(\"-\"))\n e[t] !== s && (e[t] = s);\n else {\n const a = s ?? \"\";\n t === \"list\" ? f = !1 : (r == null || e[t] != a) && (typeof e.__lookupSetter__(t) == \"function\" ? e[t] = a : e.setAttribute(t, a));\n }\n } catch {\n }\n let g = !1;\n l !== (l = l.replace(/^xlink\\:?/, \"\")) && (t = l, g = !0), s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === \"\") && (g ? e.removeAttributeNS(oe, t) : e.removeAttribute(t)) : (!f || i & 4 || n) && !c && e.nodeType === 1 && (s = s === !0 ? \"\" : s, g ? e.setAttributeNS(oe, t, s) : e.setAttribute(t, s));\n }\n}, Ye = /\\s/, fe = (e) => (typeof e == \"object\" && e && \"baseVal\" in e && (e = e.baseVal), !e || typeof e != \"string\" ? [] : e.split(Ye)), ve = \"Capture\", Ke = new RegExp(ve + \"$\"), J = (e, t, r, s) => {\n const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, i = e && e.$attrs$ || {}, o = t.$attrs$ || {};\n for (const f of ue(Object.keys(i)))\n f in o || ce(\n n,\n f,\n i[f],\n void 0,\n r,\n t.$flags$\n );\n for (const f of ue(Object.keys(o)))\n ce(\n n,\n f,\n i[f],\n o[f],\n r,\n t.$flags$\n );\n};\nfunction ue(e) {\n return e.includes(\"ref\") ? (\n // we need to sort these to ensure that `'ref'` is the last attr\n [...e.filter((t) => t !== \"ref\"), \"ref\"]\n ) : (\n // no need to sort, return the original array\n e\n );\n}\nvar F, C, j, Y = !1, U = !1, te = !1, b = !1, D = (e, t, r) => {\n var s;\n const n = t.$children$[r];\n let i = 0, o, f, l;\n if (Y || (te = !0, n.$tag$ === \"slot\" && (n.$flags$ |= n.$children$ ? (\n // slot element has fallback content\n // still create an element that \"mocks\" the slot element\n 2\n ) : (\n // slot element does not have fallback content\n // create an html comment we'll use to always reference\n // where actual slot content should sit next to\n 1\n ))), n.$text$ !== null)\n o = n.$elm$ = S.document.createTextNode(n.$text$);\n else if (n.$flags$ & 1)\n o = n.$elm$ = S.document.createTextNode(\"\"), J(null, n, b);\n else {\n if (b || (b = n.$tag$ === \"svg\"), !S.document)\n throw new Error(\n \"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.\"\n );\n if (o = n.$elm$ = S.document.createElementNS(\n b ? Ie : Ce,\n !Y && B.slotRelocation && n.$flags$ & 2 ? \"slot-fb\" : n.$tag$\n ), b && n.$tag$ === \"foreignObject\" && (b = !1), J(null, n, b), Ue(F) && o[\"s-si\"] !== F && o.classList.add(o[\"s-si\"] = F), n.$children$)\n for (i = 0; i < n.$children$.length; ++i)\n f = D(e, n, i), f && o.appendChild(f);\n n.$tag$ === \"svg\" ? b = !1 : o.tagName === \"foreignObject\" && (b = !0);\n }\n return o[\"s-hn\"] = j, n.$flags$ & 3 && (o[\"s-sr\"] = !0, o[\"s-cr\"] = C, o[\"s-sn\"] = n.$name$ || \"\", o[\"s-rf\"] = (s = n.$attrs$) == null ? void 0 : s.ref, Ge(o), l = e && e.$children$ && e.$children$[r], l && l.$tag$ === n.$tag$ && e.$elm$ && R(e.$elm$, !1), Se(C, o, t.$elm$, e == null ? void 0 : e.$elm$)), o;\n}, R = (e, t) => {\n T.$flags$ |= 1;\n const r = Array.from(e.__childNodes || e.childNodes);\n e[\"s-sr\"] && B.experimentalSlotFixes;\n for (let s = r.length - 1; s >= 0; s--) {\n const n = r[s];\n n[\"s-hn\"] !== j && n[\"s-ol\"] && (x(z(n).parentNode, n, z(n)), n[\"s-ol\"].remove(), n[\"s-ol\"] = void 0, n[\"s-sh\"] = void 0, te = !0), t && R(n, t);\n }\n T.$flags$ &= -2;\n}, he = (e, t, r, s, n, i) => {\n let o = e[\"s-cr\"] && e[\"s-cr\"].parentNode || e, f;\n for (o.shadowRoot && o.tagName === j && (o = o.shadowRoot); n <= i; ++n)\n s[n] && (f = D(null, r, n), f && (s[n].$elm$ = f, x(o, f, z(t))));\n}, _e = (e, t, r) => {\n for (let s = t; s <= r; ++s) {\n const n = e[s];\n if (n) {\n const i = n.$elm$;\n Ee(n), i && (U = !0, i[\"s-ol\"] ? i[\"s-ol\"].remove() : R(i, !0), i.remove());\n }\n }\n}, Qe = (e, t, r, s, n = !1) => {\n let i = 0, o = 0, f = 0, l = 0, c = t.length - 1, g = t[0], a = t[c], p = s.length - 1, u = s[0], $ = s[p], h, v;\n for (; i <= c && o <= p; )\n if (g == null)\n g = t[++i];\n else if (a == null)\n a = t[--c];\n else if (u == null)\n u = s[++o];\n else if ($ == null)\n $ = s[--p];\n else if (M(g, u, n))\n k(g, u, n), g = t[++i], u = s[++o];\n else if (M(a, $, n))\n k(a, $, n), a = t[--c], $ = s[--p];\n else if (M(g, $, n))\n (g.$tag$ === \"slot\" || $.$tag$ === \"slot\") && R(g.$elm$.parentNode, !1), k(g, $, n), x(e, g.$elm$, a.$elm$.nextSibling), g = t[++i], $ = s[--p];\n else if (M(a, u, n))\n (g.$tag$ === \"slot\" || $.$tag$ === \"slot\") && R(a.$elm$.parentNode, !1), k(a, u, n), x(e, a.$elm$, g.$elm$), a = t[--c], u = s[++o];\n else {\n for (f = -1, l = i; l <= c; ++l)\n if (t[l] && t[l].$key$ !== null && t[l].$key$ === u.$key$) {\n f = l;\n break;\n }\n f >= 0 ? (v = t[f], v.$tag$ !== u.$tag$ ? h = D(t && t[o], r, f) : (k(v, u, n), t[f] = void 0, h = v.$elm$), u = s[++o]) : (h = D(t && t[o], r, o), u = s[++o]), h && x(\n z(g.$elm$).parentNode,\n h,\n z(g.$elm$)\n );\n }\n i > c ? he(\n e,\n s[p + 1] == null ? null : s[p + 1].$elm$,\n r,\n s,\n o,\n p\n ) : o > p && _e(t, i, c);\n}, M = (e, t, r = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === \"slot\" ? e.$name$ === t.$name$ : r ? (r && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, z = (e) => e && e[\"s-ol\"] || e, k = (e, t, r = !1) => {\n const s = t.$elm$ = e.$elm$, n = e.$children$, i = t.$children$, o = t.$tag$, f = t.$text$;\n let l;\n f === null ? (b = o === \"svg\" ? !0 : o === \"foreignObject\" ? !1 : b, J(e, t, b), n !== null && i !== null ? Qe(s, n, t, i, r) : i !== null ? (e.$text$ !== null && (s.textContent = \"\"), he(s, null, t, i, 0, i.length - 1)) : (\n // don't do this on initial render as it can cause non-hydrated content to be removed\n !r && B.updatable && n !== null && _e(n, 0, n.length - 1)\n ), b && o === \"svg\" && (b = !1)) : (l = s[\"s-cr\"]) ? l.parentNode.textContent = f : e.$text$ !== f && (s.data = f);\n}, E = [], we = (e) => {\n let t, r, s;\n const n = e.__childNodes || e.childNodes;\n for (const i of n) {\n if (i[\"s-sr\"] && (t = i[\"s-cr\"]) && t.parentNode) {\n r = t.parentNode.__childNodes || t.parentNode.childNodes;\n const o = i[\"s-sn\"];\n for (s = r.length - 1; s >= 0; s--)\n if (t = r[s], !t[\"s-cn\"] && !t[\"s-nr\"] && t[\"s-hn\"] !== i[\"s-hn\"])\n if (ae(t, o)) {\n let f = E.find((l) => l.$nodeToRelocate$ === t);\n U = !0, t[\"s-sn\"] = t[\"s-sn\"] || o, f ? (f.$nodeToRelocate$[\"s-sh\"] = i[\"s-hn\"], f.$slotRefNode$ = i) : (t[\"s-sh\"] = i[\"s-hn\"], E.push({\n $slotRefNode$: i,\n $nodeToRelocate$: t\n })), t[\"s-sr\"] && E.map((l) => {\n ae(l.$nodeToRelocate$, t[\"s-sn\"]) && (f = E.find((c) => c.$nodeToRelocate$ === t), f && !l.$slotRefNode$ && (l.$slotRefNode$ = f.$slotRefNode$));\n });\n } else E.some((f) => f.$nodeToRelocate$ === t) || E.push({\n $nodeToRelocate$: t\n });\n }\n i.nodeType === 1 && we(i);\n }\n}, Ee = (e) => {\n e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(Ee);\n}, x = (e, t, r) => (typeof t[\"s-sn\"] == \"string\" && t[\"s-sr\"] && t[\"s-cr\"] && Se(t[\"s-cr\"], t, e, t.parentElement), e == null ? void 0 : e.insertBefore(t, r));\nfunction Se(e, t, r, s) {\n var n, i;\n let o;\n if (e && typeof t[\"s-sn\"] == \"string\" && t[\"s-sr\"] && e.parentNode && e.parentNode[\"s-sc\"] && (o = t[\"s-si\"] || e.parentNode[\"s-sc\"])) {\n const f = t[\"s-sn\"], l = t[\"s-hn\"];\n if ((n = r.classList) == null || n.add(o + \"-s\"), s && ((i = s.classList) != null && i.contains(o + \"-s\"))) {\n let c = (s.__childNodes || s.childNodes)[0], g = !1;\n for (; c; ) {\n if (c[\"s-sn\"] !== f && c[\"s-hn\"] === l && c[\"s-sr\"]) {\n g = !0;\n break;\n }\n c = c.nextSibling;\n }\n g || s.classList.remove(o + \"-s\");\n }\n }\n}\nvar Ve = (e, t, r = !1) => {\n var s, n, i, o, f;\n const l = e.$hostElement$, c = e.$cmpMeta$, g = e.$vnode$ || X(null, null), a = Je(t) ? t : We(null, null, t);\n if (j = l.tagName, c.$attrsToReflect$ && (a.$attrs$ = a.$attrs$ || {}, c.$attrsToReflect$.map(\n ([p, u]) => a.$attrs$[u] = l[p]\n )), r && a.$attrs$)\n for (const p of Object.keys(a.$attrs$))\n l.hasAttribute(p) && ![\"key\", \"ref\", \"style\", \"class\"].includes(p) && (a.$attrs$[p] = l[p]);\n a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = g.$elm$ = l.shadowRoot || l, F = l[\"s-sc\"], Y = !!(c.$flags$ & 1) && !(c.$flags$ & 128), C = l[\"s-cr\"], U = !1, k(g, a, r);\n {\n if (T.$flags$ |= 1, te) {\n we(a.$elm$);\n for (const p of E) {\n const u = p.$nodeToRelocate$;\n if (!u[\"s-ol\"] && S.document) {\n const $ = S.document.createTextNode(\"\");\n $[\"s-nr\"] = u, x(u.parentNode, u[\"s-ol\"] = $, u);\n }\n }\n for (const p of E) {\n const u = p.$nodeToRelocate$, $ = p.$slotRefNode$;\n if ($) {\n const h = $.parentNode;\n let v = $.nextSibling;\n {\n let _ = (s = u[\"s-ol\"]) == null ? void 0 : s.previousSibling;\n for (; _; ) {\n let y = (n = _[\"s-nr\"]) != null ? n : null;\n if (y && y[\"s-sn\"] === u[\"s-sn\"] && h === (y.__parentNode || y.parentNode)) {\n for (y = y.nextSibling; y === u || y != null && y[\"s-sr\"]; )\n y = y == null ? void 0 : y.nextSibling;\n if (!y || !y[\"s-nr\"]) {\n v = y;\n break;\n }\n }\n _ = _.previousSibling;\n }\n }\n const N = u.__parentNode || u.parentNode, L = u.__nextSibling || u.nextSibling;\n (!v && h !== N || L !== v) && u !== v && (!u[\"s-hn\"] && u[\"s-ol\"] && (u[\"s-hn\"] = u[\"s-ol\"].parentNode.nodeName), x(h, u, v), u.nodeType === 1 && u.tagName !== \"SLOT-FB\" && (u.hidden = (i = u[\"s-ih\"]) != null ? i : !1)), u && typeof $[\"s-rf\"] == \"function\" && $[\"s-rf\"]($);\n } else\n u.nodeType === 1 && (r && (u[\"s-ih\"] = (o = u.hidden) != null ? o : !1), u.hidden = !0);\n }\n }\n U && ye(a.$elm$), T.$flags$ &= -2, E.length = 0;\n }\n if (B.experimentalScopedSlotChanges && c.$flags$ & 2) {\n const p = a.$elm$.__childNodes || a.$elm$.childNodes;\n for (const u of p)\n u[\"s-hn\"] !== j && !u[\"s-sh\"] && (r && u[\"s-ih\"] == null && (u[\"s-ih\"] = (f = u.hidden) != null ? f : !1), u.hidden = !0);\n }\n C = void 0;\n};\nconst K = {\n ignore: [],\n ignore_with: \"_!i-£___£%_\",\n strict: !1,\n tab_size: 2,\n tag_wrap: !1,\n tag_wrap_width: 80,\n trim: []\n}, w = \"!i-£___£%_\", me = [\n \"area\",\n \"base\",\n \"br\",\n \"col\",\n \"embed\",\n \"hr\",\n \"img\",\n \"input\",\n \"link\",\n \"meta\",\n \"param\",\n \"source\",\n \"track\",\n \"wbr\"\n], re = (e) => /<(?:[A-Za-z]+[A-Za-z0-9]*)(?:\\s+.*?)*?\\/{0,1}>/.test(e) || /<(?<Element>(?:[A-Za-z]+[A-Za-z0-9]*:)?(?:[A-Za-z]+[A-Za-z0-9]*))(?:\\s+.*?)*?>(?:.|\\n)*?<\\/{1}\\k<Element>>/.test(e) || /<(?<Element>(?:[a-z][a-z0-9._]*:)?[a-z][a-z0-9._]*-[a-z0-9._-]+)(?:\\s+.*?)*?>(?:.|\\n)*?<\\/{1}\\k<Element>>/.test(e), xe = (e, t) => {\n if (!e || !t)\n throw new Error(\"Both 'current' and 'updates' must be passed-in to mergeObjects()\");\n let r;\n if (Array.isArray(e))\n r = structuredClone(e).concat(t);\n else if (typeof e == \"object\") {\n r = { ...e };\n for (let s of Object.keys(t))\n typeof t[s] != \"object\" ? r[s] = t[s] : r[s] = xe(r[s] || {}, t[s]);\n }\n return r;\n}, et = (e, t) => xe(structuredClone(e), t), tt = (e) => (e = e.replace(/<[\\w:\\-]+([^>]*[^\\/])>/g, (t, r) => t.replace(r, (s) => s.replace(/\\n/g, w + \"nl!\").replace(/\\r/g, w + \"cr!\").replace(/\\s/g, w + \"ws!\"))), e), rt = (e) => {\n const t = /<([A-Za-z][A-Za-z0-9]*|[a-z][a-z0-9._]*-[a-z0-9._-]+)((?:\\s+[A-Za-z0-9_-]+=\"[^\"]*\"|\\s*[a-z]*)*)>/g;\n return e = e.replace(t, (r, s, n) => r.replace(n, (i) => i.replace(/</g, w + \"lt!\").replace(/>/g, w + \"gt!\"))), e;\n}, st = (e, t) => {\n const r = t.ignore, s = t.ignore_with;\n for (let n = 0; n < r.length; n++) {\n const i = new RegExp(`<${r[n]}[^>]*>((.|\n)*?)</${r[n]}>`, \"g\");\n e = e.replace(i, (o, f) => o.replace(f, (l) => l.replace(/</g, \"-\" + s + \"lt-\").replace(/>/g, \"-\" + s + \"gt-\").replace(/\\n/g, \"-\" + s + \"nl-\").replace(/\\r/g, \"-\" + s + \"cr-\").replace(/\\s/g, \"-\" + s + \"ws-\")));\n }\n return e;\n}, nt = (e, t) => {\n for (let r = 0; r < t.length; r++) {\n const s = new RegExp(`(<${t[r]}[^>]*>)\\\\s+`, \"g\"), n = new RegExp(`\\\\s+(</${t[r]}>)`, \"g\");\n e = e.replace(s, \"$1\").replace(n, \"$1\");\n }\n return e;\n}, it = (e) => (e = e.replace(/<[\\w:\\-]+([^>]*[^\\/])>/g, (t, r) => t.replace(r, (s) => s.replace(new RegExp(w + \"nl!\", \"g\"), `\n`).replace(new RegExp(w + \"cr!\", \"g\"), \"\\r\").replace(new RegExp(w + \"ws!\", \"g\"), \" \"))), e), ot = (e) => (e = e.replace(/<[\\w:\\-]+([^>]*)>/g, (t, r) => t.replace(r, (s) => s.replace(new RegExp(w + \"lt!\", \"g\"), \"<\").replace(new RegExp(w + \"gt!\", \"g\"), \">\"))), e), at = (e, t) => {\n const r = t.ignore, s = t.ignore_with;\n for (let n = 0; n < r.length; n++) {\n const i = new RegExp(`<${r[n]}[^>]*>((.|\n)*?)</${r[n]}>`, \"g\");\n e = e.replace(i, (o, f) => o.replace(f, (l) => l.replace(new RegExp(\"-\" + s + \"lt-\", \"g\"), \"<\").replace(new RegExp(\"-\" + s + \"gt-\", \"g\"), \">\").replace(new RegExp(\"-\" + s + \"nl-\", \"g\"), `\n`).replace(new RegExp(\"-\" + s + \"cr-\", \"g\"), \"\\r\").replace(new RegExp(\"-\" + s + \"ws-\", \"g\"), \" \")));\n }\n return e;\n}, lt = (e) => {\n var s, n;\n if (typeof e != \"object\") throw new Error(\"Config must be an object.\");\n if (!(Object.hasOwn(e, \"ignore\") || Object.hasOwn(e, \"ignore_with\") || Object.hasOwn(e, \"strict\") || Object.hasOwn(e, \"tab_size\") || Object.hasOwn(e, \"tag_wrap\") || Object.hasOwn(e, \"tag_wrap_width\") || Object.hasOwn(e, \"trim\"))) return K;\n let r = e.tab_size;\n if (r) {\n if (typeof r != \"number\") throw new Error(`tab_size must be a number, not ${typeof e.tab_size}.`);\n if (!Number.isSafeInteger(r)) throw new Error(`Tab size ${r} is not safe. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isSafeInteger for more info.`);\n if (r = Math.floor(r), r < 1 || r > 16) throw new Error(\"Tab size out of range. Expecting 1 to 16.\");\n e.tab_size = r;\n }\n if (Object.hasOwn(e, \"ignore\") && (!Array.isArray(e.ignore) || !((s = e.ignore) != null && s.every((i) => typeof i == \"string\"))))\n throw new Error(\"Ignore config must be an array of strings.\");\n if (Object.hasOwn(e, \"ignore_with\") && typeof e.ignore_with != \"string\")\n throw new Error(`Ignore_with config must be a string, not ${typeof e.ignore_with}.`);\n if (Object.hasOwn(e, \"strict\") && typeof e.strict != \"boolean\")\n throw new Error(`Strict config must be a boolean, not ${typeof e.strict}.`);\n if (Object.hasOwn(e, \"tag_wrap\") && typeof e.tag_wrap != \"boolean\")\n throw new Error(`tag_wrap config must be a boolean, not ${typeof e.tag_wrap}.`);\n if (Object.hasOwn(e, \"tag_wrap_width\") && typeof e.tag_wrap_width != \"number\")\n throw new Error(`tag_wrap_width config must be a number, not ${typeof e.tag_wrap_width}.`);\n if (Object.hasOwn(e, \"trim\") && (!Array.isArray(e.trim) || !((n = e.trim) != null && n.every((i) => typeof i == \"string\"))))\n throw new Error(\"Trim config must be an array of strings.\");\n return et(K, e);\n}, ct = (e, t = !0) => t && !re(e) ? e : e.replace(/<([a-zA-Z\\-0-9:]+)[^>]*>/g, (r, s) => me.indexOf(s) > -1 ? `${r.substring(0, r.length - 1)} />`.replace(/\\/\\s\\//g, \"/\") : r.replace(/[\\s]?\\/>/g, `></${s}>`)), ft = (e, t = !1) => (e = e.replace(/<textarea[^>]*>((.|\\n)*?)<\\/textarea>/g, (r, s) => r.replace(s, (n) => n.replace(/</g, \"&lt;\").replace(/>/g, \"&gt;\").replace(/\"/g, \"&quot;\").replace(/'/g, \"&apos;\").replace(/\\n/g, \"&#10;\").replace(/\\r/g, \"&#13;\").replace(/\\s/g, \"&nbsp;\"))), t && (e = e.replace(/<textarea[^>]*>((.|\\n)*?)<\\/textarea>/g, (r, s) => (r = r.replace(s, (n) => n.replace(/\\n|\\t/g, \"\").replace(/[a-z]+=\"\\s*\"/ig, \"\").replace(/>\\s+</g, \"><\").replace(/\\s+/g, \" \")), r = r.replace(/\\s+/g, \" \").replace(/\\s>/g, \">\").replace(/>\\s/g, \">\").replace(/\\s</g, \"<\").replace(/class=[\"']\\s/g, (n) => n.replace(/\\s/g, \"\")).replace(/(class=.*)\\s([\"'])/g, \"$1$2\"), r))), e), ut = (e, t = !0) => t && !re(e) ? e : (e = ft(e), e.replace(/\\n|\\t/g, \"\").replace(/>\\s+</g, \"><\").replace(/\\s+/g, \" \").replace(/(.+=)\"\\s+\"/ig, '$1\"\"').replace(/(.+=)'\\s+'/ig, \"$1''\").replace(/\\s>/g, \">\").replace(/<\\s\\//g, \"</\").replace(/class=[\"']\\s/g, (r) => r.replace(/\\s/g, \"\")).replace(/(class=.*)\\s([\"'])/g, \"$1$2\"));\nlet I, Q;\nconst A = {\n line: []\n}, gt = (e) => {\n A.line = [];\n let t = -1;\n const r = /(<[^>]+>)|([^<]+)/g;\n return e = e.replace(r, (s, n, i) => (n ? A.line.push({ type: \"tag\", value: s }) : i && i.trim().length > 0 && A.line.push({ type: \"text\", value: s }), t++, `\n[#-# : ${t} : ${s} : #-#]\n`)), e;\n}, pt = (e) => (e = ct(e, !1), Q.length > 0 && (e = nt(e, Q)), e = ut(e, !1), e = gt(e), e), $t = (e, t) => {\n const r = t.tab_size, s = t.tag_wrap, n = t.tag_wrap_width;\n let i = \"\";\n A.line.forEach((l, c) => {\n e = e.replace(/\\n+/g, `\n`).replace(`[#-# : ${c} : ${l.value} : #-#]`, (g) => {\n var v, N;\n let a = 0;\n const p = `[#-# : ${c - 1} : ${(v = A.line[c - 1]) == null ? void 0 : v.value} : #-#]`;\n i += \"0\", c === 0 && a++, g.indexOf(`#-# : ${c} : </`) > -1 && a++, p.indexOf(\"<!doctype\") > -1 && a++, p.indexOf(\"<!--\") > -1 && a++, p.indexOf(\"/> : #-#\") > -1 && a++, p.indexOf(`#-# : ${c - 1} : </`) > -1 && a++, ((N = A.line[c - 1]) == null ? void 0 : N.type) === \"text\" && a++;\n const u = i.length - a;\n if (i = i.substring(0, u), I && g.indexOf(\"<!--\") > -1) return \"\";\n const $ = g.replace(`[#-# : ${c} : `, \"\").replace(\" : #-#]\", \"\");\n if (s && /<[A-Za-z]+\\b[^>]*(?:.|\\n)*?\\/?>/g.test(l.value) && l.value.length > n) {\n const L = /\\s{1}[A-Za-z-]+(?:=\".*?\")?/g, _ = l.value.split(L).filter(Boolean), y = l.value.matchAll(L), H = r * u, Ae = H + r;\n let P = _[0].padStart(_[0].length + H) + `\n`;\n for (const se of y) {\n const je = se[0].trim().padStart(se[0].trim().length + Ae) + `\n`;\n P += je;\n }\n const Te = _[1].padStart(\n _[1].trim().length + H + (I && me.includes(_[0].slice(1)) ? 1 : 0)\n );\n return P += Te, P;\n } else\n return $.padStart($.length + r * u);\n });\n }), s && (e = tt(e)), e = e.replace(\n /<(?<Element>.+).*>[^<]*?[^><\\/\\s][^<]*?<\\/{1}\\k<Element>|<script[^>]*>\\s+<\\/script>|<(\\w+)>\\s+<\\/(\\w+)|<(?:([\\w:\\._-]+)|([\\w:\\._-]+)[^>]*[^\\/])>\\s+<\\/([\\w:\\._-]+)>/g,\n (l) => l.replace(/\\n|\\t|\\s{2,}/g, \"\")\n ), s && (e = it(e)), I && (e = e.replace(/\\s\\/>|\\/>/g, \">\"));\n const o = e.substring(0, 1), f = e.substring(e.length - 1);\n return o === `\n` && (e = e.substring(1, e.length)), f === `\n` && (e = e.substring(0, e.length - 1)), e;\n}, dt = (e, t) => {\n if (!re(e)) return e;\n const r = t ? lt(t) : K;\n I = r.strict;\n const s = r.ignore.length > 0;\n return Q = r.trim, s && (e = st(e, r)), e = rt(e), e = pt(e), e = $t(e, r), e = ot(e), s && (e = at(e, r)), e;\n}, yt = (e, t, r) => {\n [null, void 0, \"\", !1].includes(r) || [\"innerHTML\", \"style\", \"\"].includes(t) || e.setAttribute(t, [\"object\", \"function\"].includes(typeof r) ? \"⚠️ Property must be set through a script or a framework-specific syntax.\" : r);\n}, Oe = (e, t, r, s, n) => {\n if (t && typeof t == \"string\") {\n const i = document.createElement(t);\n Object.keys(r || {}).forEach((o) => {\n yt(i, o, r[o]);\n }), s == null || s.forEach((o) => {\n Oe(i, o.$tag$, o.$attrs$, o.$children$, o.$text$);\n }), r != null && r.innerHTML && (i.innerHTML = r.innerHTML), e.appendChild(i);\n }\n n && (e.innerHTML = n);\n}, Ft = (e, t, r = []) => {\n const s = {};\n if (typeof e != \"object\")\n throw new Error(\"filterArgs - args isn't an object.\");\n for (const n in e)\n if (!r.includes(n)) {\n const i = e[n], o = n.replace(/([a-z])([A-Z])/g, \"$1-$2\").toLowerCase();\n (!t || !Object.keys(t).includes(n) || t[n] !== i) && (s[o] = i);\n }\n return s;\n}, It = (e, t) => {\n var s, n;\n const r = document.getElementById(\"storybook-root\");\n if (r !== null)\n return (n = document.querySelector(\"[lang]\")) == null || n.setAttribute(\"lang\", ((s = t.globals) == null ? void 0 : s.locale) || \"en\"), Ve(\n {\n $cmpMeta$: {\n $flags$: 0,\n $tagName$: r.tagName\n },\n $hostElement$: r\n },\n e(t)\n ), r.children[r.children.length - 1];\n}, Ct = ({ $tag$: e, $attrs$: t, $children$: r, $text$: s }) => {\n const n = document.createElement(\"div\");\n return Oe(n, e, t, r, s), dt(n.innerHTML, { tag_wrap: !0 }).replace(/=\"true\"/g, \"\");\n}, Z = (e, t) => {\n if (!t)\n return;\n const r = t.split(\"/\");\n return `${e}${r.slice(2, r.length - 1).join(\"-\")}--docs`;\n};\nvar m, q;\nclass Ut {\n constructor(t) {\n /**\n * JsonDocs\n */\n d(this, \"jsonDoc\");\n /**\n * Get component data from the jsonDoc\n * @param tagName - tag name we want to get the data from\n * @returns component data\n */\n G(this, m, (t) => this.jsonDoc.components.find((r) => r.tag === t));\n /**\n * Get the control for the given prop\n * Based on https://storybook.js.org/docs/api/arg-types#controltype\n * @param prop - prop to get control for\n * @returns control type and options if applicable\n */\n G(this, q, (t) => {\n const r = t.type.replace(/\"([^\"]+)\"/g, \"$1\").replace(/\\s/g, \"\").replace(/\\(.*?\\)/g, (s) => s.replace(/\\|/g, \" OR \")).split(\"|\").map((s) => s.trim().replace(/ OR /g, \"|\"));\n return t.type === \"string\" ? { control: { type: \"text\" } } : t.type === \"number\" ? { control: { type: \"number\" } } : t.type === \"boolean\" ? { control: { type: \"boolean\" } } : t.type.startsWith(\"{\") && t.type.endsWith(\"}\") ? { control: { type: \"object\" } } : r.length > 1 ? r.includes(\"string\") ? { control: { type: \"text\" } } : r.every((s) => s == null ? void 0 : s.includes(\"[]\")) ? { control: { type: \"object\" } } : (r.unshift(void 0), { control: { type: \"select\" }, options: r }) : { control: { type: \"object\" } };\n });\n /**\n * Extract component arg types from the component data\n * @param tagName - tag name we want to extract the arg types from\n * @returns component arg types\n */\n d(this, \"extractArgTypes\", (t) => {\n const r = O(this, m).call(this, t), s = r == null ? void 0 : r.props.reduce((g, a) => {\n const { control: p, options: u } = O(this, q).call(this, a);\n return {\n ...g,\n [a.name]: {\n name: a.attr || a.name,\n description: a.docs,\n type: { required: a.required },\n table: {\n category: \"props\",\n type: { summary: a.type },\n defaultValue: { summary: a.default }\n },\n control: p,\n options: u\n }\n };\n }, {}), n = r == null ? void 0 : r.events.reduce(\n (g, a) => ({\n ...g,\n [a.event]: {\n name: a.event,\n description: a.docs,\n table: {\n category: \"events\",\n type: { summary: a.detail }\n }\n }\n }),\n {}\n ), i = r == null ? void 0 : r.methods.reduce(\n (g, a) => ({\n ...g,\n [a.name]: {\n name: a.name,\n description: a.docs,\n table: {\n category: \"methods\",\n type: { summary: a.signature }\n }\n }\n }),\n {}\n ), o = r == null ? void 0 : r.slots.reduce(\n (g, a) => ({\n ...g,\n [a.name]: {\n name: a.name !== \"\" ? a.name : \"default\",\n // default slot are unnamed\n description: a.docs,\n table: {\n category: \"slots\",\n type: { summary: void 0 }\n }\n }\n }),\n {}\n ), f = r == null ? void 0 : r.styles.reduce(\n (g, a) => ({\n ...g,\n [a.name]: {\n name: a.name,\n description: a.docs,\n table: {\n category: \"custom properties\",\n type: { summary: void 0 }\n }\n }\n }),\n {}\n ), l = r == null ? void 0 : r.dependencies.reduce((g, a) => {\n const p = O(this, m).call(this, a);\n return p ? {\n ...g,\n [a]: {\n name: a,\n description: `<a href=\"./?path=/docs/${Z(\"\", p == null ? void 0 : p.filePath)}\">View Component Documentation</a>`,\n table: {\n category: \"depends on\",\n type: { summary: void 0 }\n }\n }\n } : g;\n }, {}), c = r == null ? void 0 : r.dependents.reduce((g, a) => {\n const p = O(this, m).call(this, a);\n return p ? {\n ...g,\n [a]: {\n name: a,\n description: `<a href=\"./?path=/docs/${Z(\"\", p == null ? void 0 : p.filePath)}\">View Component Documentation</a>`,\n table: {\n category: \"used by\",\n type: { summary: void 0 }\n }\n }\n } : g;\n }, {});\n return {\n ...s,\n ...n,\n ...i,\n ...o,\n ...f,\n ...l,\n ...c\n };\n });\n /**\n * Extract component description from the component data\n * @param tagName - tag name we want to extract the description from\n * @returns component description\n */\n d(this, \"extractComponentDescription\", (t) => {\n const r = O(this, m).call(this, t);\n return (r == null ? void 0 : r.readme) || (r == null ? void 0 : r.docs);\n });\n this.jsonDoc = t;\n }\n}\nm = new WeakMap(), q = new WeakMap();\nconst bt = (e, t) => {\n if (t)\n return `${e}${t}`;\n}, ke = (e) => {\n let t = e.overview ? `${e.overview}\n\n` : \"\";\n const r = e.props.filter(({ attr: n }) => n !== void 0);\n r.length && (t += `Attributes:\n`, t += r.map(({ attr: n, docs: i }) => `- \\`${n}\\`: ${i}\n`).join(\"\"), t += `\n`);\n const s = e.props.filter(({ attr: n }) => n === void 0);\n return s.length && (t += `Properties:\n`, t += s.map(({ name: n, docs: i }) => `- \\`${n}\\`: ${i}\n`).join(\"\"), t += `\n`), e.methods.length && (t += `Methods:\n`, t += e.methods.map(({ name: n, docs: i }) => `- \\`${n}\\`: ${i}\n`).join(\"\"), t += `\n`), e.events.length && (t += `Events:\n`, t += e.events.map(({ event: n, docs: i }) => `- \\`${n}\\`: ${i}\n`).join(\"\"), t += `\n`), e.listeners.length && (t += `Listeners:\n`, t += e.listeners.map(({ event: n }) => `- \\`${n}\\`\n`).join(\"\"), t += `\n`), e.slots.length && (t += `Slots:\n`, t += e.slots.map(({ name: n, docs: i }) => `- \\`${n}\\`: ${i}\n`).join(\"\"), t += `\n`), t;\n}, V = (e) => `${e.docs}\n\nType: \\`${e.type}\\``, Dt = (e, t, r, s) => ({\n $schema: \"https://json.schemastore.org/web-types\",\n name: e,\n version: t,\n \"description-markup\": \"markdown\",\n contributions: {\n html: {\n elements: r.components.map((n) => {\n const i = Z(s, n.filePath);\n return {\n name: n.tag,\n description: ke(n),\n \"doc-url\": i,\n attributes: n.props.filter((o) => o.attr).map((o) => ({\n name: o.attr,\n description: V(o),\n \"doc-url\": i,\n value: {\n type: o.type,\n default: o.default,\n required: o.required\n }\n })),\n js: {\n properties: n.props.map((o) => ({\n name: o.name,\n description: V(o),\n \"doc-url\": i,\n value: {\n type: o.type,\n default: o.default,\n required: o.required\n }\n })),\n events: n.events.map((o) => ({\n name: o.event,\n description: o.docs\n }))\n },\n css: {\n properties: n.styles.map((o) => ({\n name: o.name,\n description: o.docs\n }))\n }\n };\n })\n }\n }\n}), vt = (e, t, r) => [\n { name: \"Storybook\", url: Z(e, r) },\n { name: \"Sources\", url: bt(t, r) }\n], ht = (e) => {\n if (!e.values.some(({ value: t }) => t === void 0))\n return e.values.map(({ value: t }) => ({ name: t }));\n}, Zt = (e, t, r) => ({\n version: 1.1,\n tags: e.components.map((s) => {\n const n = vt(t, r, s.filePath);\n return {\n name: s.tag,\n description: ke(s),\n attributes: s.props.map((i) => ({\n name: i.attr || i.name,\n description: V(i),\n values: ht(i),\n references: n\n })),\n references: n\n };\n }),\n globalAttributes: [],\n valueSets: []\n}), qt = (e) => ({\n version: 1.1,\n properties: e.components.flatMap(\n (t) => t.styles.map((r) => ({\n name: r.name,\n description: r.docs\n }))\n )\n}), Bt = (e) => {\n const t = { value: \"2023\", pattern: \"yyyy\" }, r = { value: \"12\", pattern: \"mm\" }, s = { value: \"24\", pattern: \"dd\" };\n return Et([t.value, r.value, s.value].join(\"-\"), e, { timeZone: \"UTC\" }).replace(t.value, t.pattern).replace(r.value, r.pattern).replace(s.value, s.pattern);\n}, Ht = (e) => e.toISOString().split(\"T\")[0], _t = (e, t, r) => {\n const s = e.closest(\"[lang]\"), n = Intl.NumberFormat.supportedLocalesOf(s == null ? void 0 : s.lang), i = n.length > 0 && typeof n[0] == \"string\" ? n[0] : navigator.language || r, o = i.split(\"-\").shift();\n return Object.keys(t).length === 0 ? {\n locale: i,\n messages: { lang: r }\n } : {\n locale: i,\n messages: t[o] || t[r] || { lang: r }\n };\n}, Pt = (e, t, r) => new Intl.NumberFormat(t, { style: \"currency\", currency: r }).format(e), Gt = (e, t, r = 0) => new Intl.NumberFormat(t, { minimumFractionDigits: r }).format(Number(e)), Wt = (e, t, r = 0) => new Intl.NumberFormat(t, {\n style: \"percent\",\n minimumFractionDigits: r,\n maximumFractionDigits: r\n}).format(e), Xt = (e, t, r, s = \"short\", n = 0) => new Intl.NumberFormat(t, {\n style: \"unit\",\n unit: r,\n unitDisplay: s,\n minimumFractionDigits: n,\n maximumFractionDigits: n\n}).format(e), wt = /^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$/, Et = (e, t, r) => typeof e != \"string\" || e === \"\" || !wt.test(e) ? \"\" : new Intl.DateTimeFormat(t, r).format(new Date(e)), Jt = (e, t) => (r) => _t(r, e, t), Yt = ({ disconnect: e, observe: t, takeRecords: r }) => {\n class s {\n constructor(i) {\n /**\n *\n */\n d(this, \"disconnect\", e);\n /**\n *\n */\n d(this, \"observe\", t);\n /**\n *\n */\n d(this, \"takeRecords\", r);\n /**\n *\n */\n d(this, \"cb\");\n this.cb = i;\n }\n }\n return [window, global].forEach((n) => {\n Object.defineProperty(n, \"MutationObserver\", {\n writable: !0,\n configurable: !0,\n value: s\n });\n }), s;\n}, Kt = ({ disconnect: e, observe: t }) => {\n class r {\n constructor(n) {\n /**\n *\n */\n d(this, \"disconnect\", e);\n /**\n *\n */\n d(this, \"observe\", t);\n /**\n *\n */\n d(this, \"unobserve\");\n /**\n *\n */\n d(this, \"cb\");\n this.cb = n;\n }\n }\n return [window, global].forEach((s) => {\n Object.defineProperty(s, \"ResizeObserver\", {\n writable: !0,\n configurable: !0,\n value: r\n });\n }), r;\n};\nclass St extends Event {\n constructor() {\n super(...arguments);\n /**\n *\n */\n d(this, \"detail\");\n }\n // eslint-disable-line @typescript-eslint/no-explicit-any\n}\nconst Qt = () => {\n class e extends St {\n }\n return [window, global].forEach((t) => {\n Object.defineProperty(t, \"SubmitEvent\", {\n writable: !0,\n configurable: !0,\n value: e\n });\n }), e;\n}, Vt = (e) => {\n const t = (r) => (setTimeout(r, 1), e(), 0);\n return [window, global].forEach((r) => {\n Object.defineProperty(r, \"requestAnimationFrame\", {\n writable: !0,\n configurable: !0,\n value: t\n });\n }), t;\n};\nexport {\n kt as ClassList,\n Ut as StorybookPreview,\n At as allItemsAreString,\n Lt as cleanString,\n xt as createID,\n wt as dateRegExp,\n Ht as dateToString,\n Jt as defineLocales,\n Ft as filterArgs,\n jt as focusableElements,\n Bt as getLocaleDatePattern,\n ge as getParentWindows,\n Ct as getStoryHTML,\n Z as getStorybookUrl,\n Rt as getWindows,\n Tt as isTagName,\n Nt as isValidNumber,\n Le as isValidString,\n Ot as isValideID,\n Pt as localeCurrency,\n Et as localeDate,\n Gt as localeNumber,\n Wt as localePercent,\n Xt as localeUnit,\n Mt as nextTick,\n Vt as setUpRequestAnimationFrameMock,\n Yt as setupMutationObserverMock,\n Kt as setupResizeObserverMock,\n Qt as setupSubmitEventMock,\n It as stencilWrapper,\n zt as toString,\n qt as vsCodeCssGenerator,\n Zt as vsCodeGenerator,\n Dt as webTypesGenerator\n};\n//# sourceMappingURL=index.es.js.map\n"],"version":3}
@@ -1,3 +1,4 @@
1
1
  export { getAssetPath, setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';
2
+ //# sourceMappingURL=index.js.map
2
3
 
3
4
  //# sourceMappingURL=index.js.map