@telesign/boreal-web-components 0.1.0-alpha.3 → 0.1.0-alpha.5

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 (588) hide show
  1. package/components-build/bds-avatar.d.ts +11 -0
  2. package/components-build/bds-avatar.js +1 -0
  3. package/components-build/bds-badge.d.ts +11 -0
  4. package/components-build/bds-badge.js +1 -0
  5. package/components-build/bds-banner.js +1 -1
  6. package/components-build/bds-button-group.d.ts +11 -0
  7. package/components-build/bds-button-group.js +1 -0
  8. package/components-build/bds-button.js +1 -1
  9. package/components-build/bds-checkbox-card.d.ts +11 -0
  10. package/components-build/bds-checkbox-card.js +1 -0
  11. package/components-build/bds-checkbox.js +1 -1
  12. package/components-build/bds-dialog.js +1 -1
  13. package/components-build/bds-divider.d.ts +11 -0
  14. package/components-build/bds-divider.js +1 -0
  15. package/components-build/bds-flag.js +1 -1
  16. package/components-build/bds-grid-item.d.ts +11 -0
  17. package/components-build/bds-grid-item.js +1 -0
  18. package/components-build/bds-grid.d.ts +11 -0
  19. package/components-build/bds-grid.js +1 -0
  20. package/components-build/bds-list-menu-item.d.ts +11 -0
  21. package/components-build/bds-list-menu-item.js +1 -0
  22. package/components-build/bds-list-menu.d.ts +11 -0
  23. package/components-build/bds-list-menu.js +1 -0
  24. package/components-build/bds-popover.js +1 -1
  25. package/components-build/bds-radio-button.d.ts +11 -0
  26. package/components-build/bds-radio-button.js +1 -0
  27. package/components-build/bds-radio-card.d.ts +11 -0
  28. package/components-build/bds-radio-card.js +1 -0
  29. package/components-build/bds-radio-group.d.ts +11 -0
  30. package/components-build/bds-radio-group.js +1 -0
  31. package/components-build/bds-radio.d.ts +11 -0
  32. package/components-build/bds-radio.js +1 -0
  33. package/components-build/bds-spinner.js +1 -1
  34. package/components-build/bds-status.d.ts +11 -0
  35. package/components-build/bds-status.js +1 -0
  36. package/components-build/bds-tag.d.ts +11 -0
  37. package/components-build/bds-tag.js +1 -0
  38. package/components-build/bds-text-field.js +1 -1
  39. package/components-build/bds-toggle.d.ts +11 -0
  40. package/components-build/bds-toggle.js +1 -0
  41. package/components-build/bds-tooltip.js +1 -1
  42. package/components-build/bds-typography.js +1 -1
  43. package/components-build/index.js +1 -1
  44. package/components-build/p-BSlaf0ff.js +1 -0
  45. package/components-build/p-Bfazyxqi.js +1 -0
  46. package/components-build/p-CPvuMm5C.js +1 -0
  47. package/components-build/p-Cbibqaz0.js +1 -0
  48. package/components-build/p-ClR-wgiT.js +1 -0
  49. package/components-build/p-DfaYciGa.js +1 -0
  50. package/components-build/p-Dh8DSJs_.js +1 -0
  51. package/components-build/p-DhSchGPI.js +1 -0
  52. package/components-build/p-N_tqtRV2.js +1 -0
  53. package/components-build/p-bAMuJ4Jx.js +1 -0
  54. package/components-build/p-c2z3tneT.js +1 -0
  55. package/components-build/p-dz9-Q2N8.js +1 -0
  56. package/components-build/{p-CaHOghy5.js → p-fUK0GCeC.js} +1 -1
  57. package/components-build/p-iq2UuV7c.js +1 -0
  58. package/components-build/p-kGnB15Lz.js +1 -0
  59. package/components-build/p-nxYzL9uu.js +1 -0
  60. package/custom-elements.json +4611 -891
  61. package/dist/boreal-web-components/boreal-web-components.esm.js +1 -1
  62. package/dist/boreal-web-components/boreal-web-components.js +1 -1
  63. package/dist/boreal-web-components/css/boreal.css +1066 -1074
  64. package/dist/boreal-web-components/css/global.css +403 -407
  65. package/dist/boreal-web-components/css/theme-connect.css +163 -164
  66. package/dist/boreal-web-components/css/theme-engage.css +163 -164
  67. package/dist/boreal-web-components/css/theme-protect.css +163 -164
  68. package/dist/boreal-web-components/css/theme-proximus.css +164 -165
  69. package/dist/boreal-web-components/p-024d90b0.system.entry.js +1 -0
  70. package/dist/boreal-web-components/p-06DrzEMB.system.js +1 -0
  71. package/dist/boreal-web-components/p-11e4c0ec.system.entry.js +1 -0
  72. package/dist/boreal-web-components/p-147d6652.system.entry.js +1 -0
  73. package/dist/boreal-web-components/p-148d510f.entry.js +1 -0
  74. package/dist/boreal-web-components/p-19f9352d.entry.js +1 -0
  75. package/dist/boreal-web-components/p-277f142e.system.entry.js +1 -0
  76. package/dist/boreal-web-components/{p-8c57e06a.entry.js → p-2adf2cd5.entry.js} +1 -1
  77. package/dist/boreal-web-components/p-2be4aa3a.system.entry.js +1 -0
  78. package/dist/boreal-web-components/p-340896b2.entry.js +1 -0
  79. package/dist/boreal-web-components/p-365e8e5c.system.entry.js +1 -0
  80. package/dist/boreal-web-components/p-3d4ce8eb.system.entry.js +1 -0
  81. package/dist/boreal-web-components/p-44a8fde5.entry.js +1 -0
  82. package/dist/boreal-web-components/{p-efe57901.system.entry.js → p-48ebbfbe.system.entry.js} +1 -1
  83. package/dist/boreal-web-components/{p-5fa53a80.system.entry.js → p-4dc01078.system.entry.js} +1 -1
  84. package/dist/boreal-web-components/p-5681b294.system.entry.js +1 -0
  85. package/dist/boreal-web-components/p-5ed75075.entry.js +1 -0
  86. package/dist/boreal-web-components/p-635f676b.system.entry.js +1 -0
  87. package/dist/boreal-web-components/p-6629be14.entry.js +1 -0
  88. package/dist/boreal-web-components/p-68b83680.system.entry.js +1 -0
  89. package/dist/boreal-web-components/p-6a60d134.system.entry.js +1 -0
  90. package/dist/boreal-web-components/p-71ed1e1d.entry.js +1 -0
  91. package/dist/boreal-web-components/p-732e98f1.system.entry.js +1 -0
  92. package/dist/boreal-web-components/p-77658a5b.system.entry.js +1 -0
  93. package/dist/boreal-web-components/p-7aff4c78.entry.js +1 -0
  94. package/dist/boreal-web-components/p-7bb88855.entry.js +1 -0
  95. package/dist/boreal-web-components/p-7d3a8f61.entry.js +1 -0
  96. package/dist/boreal-web-components/p-7e672cce.entry.js +1 -0
  97. package/dist/boreal-web-components/p-7ebc67c9.entry.js +1 -0
  98. package/dist/boreal-web-components/p-81401e2a.system.entry.js +1 -0
  99. package/dist/boreal-web-components/p-8289e506.entry.js +1 -0
  100. package/dist/boreal-web-components/p-82d15372.entry.js +1 -0
  101. package/dist/boreal-web-components/p-851c06f2.entry.js +1 -0
  102. package/dist/boreal-web-components/p-8a3716ec.entry.js +1 -0
  103. package/dist/boreal-web-components/p-8f4f8af0.system.entry.js +1 -0
  104. package/dist/boreal-web-components/p-93066db4.system.entry.js +1 -0
  105. package/dist/boreal-web-components/p-Bfazyxqi.js +1 -0
  106. package/dist/boreal-web-components/{p-D4EFsvs1.js → p-BqJlOB6b.js} +2 -2
  107. package/dist/boreal-web-components/p-BsZkk4oK.system.js +1 -0
  108. package/dist/boreal-web-components/p-C-g3hhl_.system.js +1 -0
  109. package/dist/boreal-web-components/p-C0P3gzq5.system.js +1 -0
  110. package/dist/boreal-web-components/p-C4HM8wQe.js +1 -0
  111. package/dist/boreal-web-components/p-CPvuMm5C.js +1 -0
  112. package/dist/boreal-web-components/p-CRMH6mfq.system.js +1 -0
  113. package/dist/boreal-web-components/p-CU_dRLdk.system.js +1 -0
  114. package/dist/boreal-web-components/p-CW4-dkCF.system.js +1 -0
  115. package/dist/boreal-web-components/p-CXz1RLGi.system.js +1 -0
  116. package/dist/boreal-web-components/p-DCKg5Cg_.system.js +2 -0
  117. package/dist/boreal-web-components/{p-BuxZeJbu.system.js → p-DSU8tkVw.system.js} +1 -1
  118. package/dist/boreal-web-components/p-DYlZcFrB.system.js +1 -0
  119. package/dist/boreal-web-components/p-DfaYciGa.js +1 -0
  120. package/dist/boreal-web-components/p-DhSchGPI.js +1 -0
  121. package/dist/boreal-web-components/p-DlVzZK7o.js +1 -0
  122. package/dist/boreal-web-components/p-DlYG-OVB.js +1 -0
  123. package/dist/boreal-web-components/p-DnIhjwCH.system.js +1 -0
  124. package/dist/boreal-web-components/p-DpnBDSUm.system.js +1 -0
  125. package/dist/boreal-web-components/p-Dwo1hcd9.js +1 -0
  126. package/dist/boreal-web-components/p-RhSdMyWk.system.js +1 -0
  127. package/dist/boreal-web-components/{p-CaHOghy5.js → p-U9yfbs7i.js} +1 -1
  128. package/dist/boreal-web-components/p-a73659ac.system.entry.js +1 -0
  129. package/dist/boreal-web-components/p-b2ad9535.system.entry.js +1 -0
  130. package/dist/boreal-web-components/p-d4c30d2b.entry.js +1 -0
  131. package/dist/boreal-web-components/p-db0c10b9.system.entry.js +1 -0
  132. package/dist/boreal-web-components/p-dc7d429c.entry.js +1 -0
  133. package/dist/boreal-web-components/p-dca16a3d.entry.js +1 -0
  134. package/dist/boreal-web-components/p-de846c43.system.entry.js +1 -0
  135. package/dist/boreal-web-components/p-df087e23.system.entry.js +1 -0
  136. package/dist/boreal-web-components/p-dfb4854e.entry.js +1 -0
  137. package/dist/boreal-web-components/p-dz9-Q2N8.js +1 -0
  138. package/dist/boreal-web-components/p-e09b4d14.system.entry.js +1 -0
  139. package/dist/boreal-web-components/p-e0a41cab.system.entry.js +1 -0
  140. package/dist/boreal-web-components/p-e55f2a8b.entry.js +1 -0
  141. package/dist/boreal-web-components/p-e7af1e1a.entry.js +1 -0
  142. package/dist/boreal-web-components/p-efe159aa.entry.js +1 -0
  143. package/dist/boreal-web-components/p-f65e9d0c.system.entry.js +1 -0
  144. package/dist/boreal-web-components/p-f792aa74.entry.js +1 -0
  145. package/dist/boreal-web-components/p-fb9a0e94.entry.js +1 -0
  146. package/dist/boreal-web-components/p-iq2UuV7c.js +1 -0
  147. package/dist/boreal-web-components/p-kGnB15Lz.js +1 -0
  148. package/dist/boreal-web-components/p-vzZJGcYF.system.js +1 -0
  149. package/dist/boreal-web-components/p-wREMI3WA.js +1 -0
  150. package/dist/boreal-web-components/scss/maps/_primitives.scss +404 -408
  151. package/dist/boreal-web-components/scss/maps/_theme-connect.scss +164 -165
  152. package/dist/boreal-web-components/scss/maps/_theme-engage.scss +164 -165
  153. package/dist/boreal-web-components/scss/maps/_theme-protect.scss +164 -165
  154. package/dist/boreal-web-components/scss/maps/_theme-proximus.scss +165 -166
  155. package/dist/boreal-web-components/scss/variables/_primitives.scss +404 -408
  156. package/dist/boreal-web-components/scss/variables/_theme-connect.scss +164 -165
  157. package/dist/boreal-web-components/scss/variables/_theme-engage.scss +164 -165
  158. package/dist/boreal-web-components/scss/variables/_theme-protect.scss +164 -165
  159. package/dist/boreal-web-components/scss/variables/_theme-proximus.scss +165 -166
  160. package/dist/cjs/BaseAttributes-DBBhKt7O.js +14 -0
  161. package/dist/cjs/Keys-rKl2za5q.js +18 -0
  162. package/dist/cjs/Logger-DnziItRH.js +51 -0
  163. package/dist/cjs/{attributes-wIHueigW.js → attributes-CgRFplrN.js} +3 -0
  164. package/dist/cjs/bds-avatar.cjs.entry.js +89 -0
  165. package/dist/cjs/bds-badge.cjs.entry.js +50 -0
  166. package/dist/cjs/bds-banner.cjs.entry.js +13 -6
  167. package/dist/cjs/bds-button-group.cjs.entry.js +95 -0
  168. package/dist/cjs/bds-button.cjs.entry.js +11 -17
  169. package/dist/cjs/bds-checkbox-card.cjs.entry.js +121 -0
  170. package/dist/cjs/bds-checkbox.cjs.entry.js +13 -6
  171. package/dist/cjs/bds-dialog.cjs.entry.js +8 -7
  172. package/dist/cjs/bds-divider.cjs.entry.js +46 -0
  173. package/dist/cjs/bds-flag.cjs.entry.js +3 -3
  174. package/dist/cjs/bds-grid-item.cjs.entry.js +93 -0
  175. package/dist/cjs/bds-grid.cjs.entry.js +37 -0
  176. package/dist/cjs/bds-list-menu-item.cjs.entry.js +493 -0
  177. package/dist/cjs/bds-list-menu.cjs.entry.js +199 -0
  178. package/dist/cjs/bds-popover.cjs.entry.js +19 -9
  179. package/dist/cjs/bds-radio-button.cjs.entry.js +60 -0
  180. package/dist/cjs/bds-radio-card.cjs.entry.js +76 -0
  181. package/dist/cjs/bds-radio-group.cjs.entry.js +285 -0
  182. package/dist/cjs/bds-radio.cjs.entry.js +60 -0
  183. package/dist/cjs/bds-spinner.cjs.entry.js +4 -4
  184. package/dist/cjs/bds-status.cjs.entry.js +59 -0
  185. package/dist/cjs/bds-tag.cjs.entry.js +140 -0
  186. package/dist/cjs/bds-text-field.cjs.entry.js +8 -17
  187. package/dist/cjs/bds-toggle.cjs.entry.js +187 -0
  188. package/dist/cjs/bds-tooltip_2.cjs.entry.js +321 -0
  189. package/dist/cjs/boreal-web-components.cjs.js +2 -2
  190. package/dist/cjs/coreColors-CQGojc0l.js +10 -0
  191. package/dist/cjs/{enum-DLblRCkQ.js → enum-DeTWfR0D.js} +3 -3
  192. package/dist/cjs/form-associated.mixin-BCR6bj29.js +33 -0
  193. package/dist/cjs/{anchored.mixin-CnIwkaUi.js → getOffset-k4ezB-eT.js} +45 -76
  194. package/dist/cjs/{index-BcSjvXJk.js → index-CwYIVC9N.js} +64 -0
  195. package/dist/cjs/{internals-X77qKxsK.js → internals-D8x7GMfR.js} +0 -31
  196. package/dist/cjs/loader.cjs.js +2 -2
  197. package/dist/cjs/menu-BxKaEajh.js +8 -0
  198. package/dist/cjs/orientation-DQAIleEJ.js +8 -0
  199. package/dist/cjs/{states-iIYiazaM.js → states-BweP5Vpu.js} +8 -0
  200. package/dist/cjs/validateProps-CJe9X5x8.js +42 -0
  201. package/dist/collection/collection-manifest.json +16 -0
  202. package/dist/collection/components/actions/bds-button/bds-button.css +19 -19
  203. package/dist/collection/components/actions/bds-button/bds-button.js +8 -8
  204. package/dist/collection/components/actions/bds-button/types/enum.js +3 -3
  205. package/dist/collection/components/actions/bds-button-group/bds-button-group.css +77 -0
  206. package/dist/collection/components/actions/bds-button-group/bds-button-group.js +245 -0
  207. package/dist/collection/components/actions/bds-button-group/types/IButtonGroup.js +1 -0
  208. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.css +51 -0
  209. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.js +400 -0
  210. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/types/IListMenu.js +1 -0
  211. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/types/enum.js +4 -0
  212. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/types/types.js +1 -0
  213. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.css +87 -0
  214. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.js +482 -0
  215. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/types/IListMenuItem.js +1 -0
  216. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/types/enum.js +4 -0
  217. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/types/types.js +1 -0
  218. package/dist/collection/components/actions/bds-toggle/bds-toggle.css +120 -0
  219. package/dist/collection/components/actions/bds-toggle/bds-toggle.js +544 -0
  220. package/dist/collection/components/actions/bds-toggle/types/IEventChange.js +1 -0
  221. package/dist/collection/components/actions/bds-toggle/types/IToggle.js +1 -0
  222. package/dist/collection/components/actions/bds-toggle/types/enum.js +4 -0
  223. package/dist/collection/components/actions/bds-toggle/types/index.js +4 -0
  224. package/dist/collection/components/actions/bds-toggle/types/types.js +1 -0
  225. package/dist/collection/components/feedback/bds-badge/bds-badge.css +76 -0
  226. package/dist/collection/components/feedback/bds-badge/bds-badge.js +120 -0
  227. package/dist/collection/components/feedback/bds-badge/types/IBadge.js +1 -0
  228. package/dist/collection/components/feedback/bds-badge/types/enum.js +5 -0
  229. package/dist/collection/components/feedback/bds-banner/bds-banner.css +1 -2
  230. package/dist/collection/components/feedback/bds-banner/bds-banner.js +30 -6
  231. package/dist/collection/components/feedback/bds-spinner/bds-spinner.css +7 -8
  232. package/dist/collection/components/feedback/bds-spinner/bds-spinner.js +1 -1
  233. package/dist/collection/components/feedback/bds-status/bds-status.css +101 -0
  234. package/dist/collection/components/feedback/bds-status/bds-status.js +122 -0
  235. package/dist/collection/components/feedback/bds-status/types/IStatus.js +1 -0
  236. package/dist/collection/components/feedback/bds-status/types/enum.js +5 -0
  237. package/dist/collection/components/feedback/bds-status/types/types.js +1 -0
  238. package/dist/collection/components/feedback/bds-tag/bds-tag.css +202 -0
  239. package/dist/collection/components/feedback/bds-tag/bds-tag.js +375 -0
  240. package/dist/collection/components/feedback/bds-tag/types/ITag.js +1 -0
  241. package/dist/collection/components/feedback/bds-tag/types/enum.js +10 -0
  242. package/dist/collection/components/feedback/bds-tag/types/index.js +3 -0
  243. package/dist/collection/components/feedback/bds-tag/types/types.js +1 -0
  244. package/dist/collection/components/forms/bds-checkbox/bds-checkbox.css +9 -8
  245. package/dist/collection/components/forms/bds-checkbox/bds-checkbox.js +7 -1
  246. package/dist/collection/components/forms/bds-checkbox-card/bds-checkbox-card.css +127 -0
  247. package/dist/collection/components/forms/bds-checkbox-card/bds-checkbox-card.js +397 -0
  248. package/dist/collection/components/forms/bds-checkbox-card/types/ICheckboxCard.js +1 -0
  249. package/dist/collection/components/forms/bds-flag/bds-flag.js +1 -1
  250. package/dist/collection/components/forms/bds-radio/bds-radio.css +121 -0
  251. package/dist/collection/components/forms/bds-radio/bds-radio.js +238 -0
  252. package/dist/collection/components/forms/bds-radio/types/IRadio.js +1 -0
  253. package/dist/collection/components/forms/bds-radio-button/bds-radio-button.css +109 -0
  254. package/dist/collection/components/forms/bds-radio-button/bds-radio-button.js +238 -0
  255. package/dist/collection/components/forms/bds-radio-button/types/IRadioButton.js +1 -0
  256. package/dist/collection/components/forms/bds-radio-card/bds-radio-card.css +156 -0
  257. package/dist/collection/components/forms/bds-radio-card/bds-radio-card.js +307 -0
  258. package/dist/collection/components/forms/bds-radio-card/types/IRadioCard.js +1 -0
  259. package/dist/collection/components/forms/bds-radio-group/bds-radio-group.css +55 -0
  260. package/dist/collection/components/forms/bds-radio-group/bds-radio-group.js +620 -0
  261. package/dist/collection/components/forms/bds-radio-group/types/IRadioGroup.js +1 -0
  262. package/dist/collection/components/forms/bds-radio-group/types/enum.js +5 -0
  263. package/dist/collection/components/forms/bds-radio-group/types/types.js +1 -0
  264. package/dist/collection/components/forms/bds-text-field/bds-text-field.js +1 -1
  265. package/dist/collection/components/helpers/bds-divider/bds-divider.css +44 -0
  266. package/dist/collection/components/helpers/bds-divider/bds-divider.js +88 -0
  267. package/dist/collection/components/helpers/bds-divider/types/IDivider.js +1 -0
  268. package/dist/collection/components/helpers/bds-divider/types/enum.js +4 -0
  269. package/dist/collection/components/helpers/bds-divider/types/types.js +1 -0
  270. package/dist/collection/components/images-icons/bds-avatar/bds-avatar.css +52 -0
  271. package/dist/collection/components/images-icons/bds-avatar/bds-avatar.js +219 -0
  272. package/dist/collection/components/images-icons/bds-avatar/types/IAvatar.js +1 -0
  273. package/dist/collection/components/images-icons/bds-avatar/types/enum.js +5 -0
  274. package/dist/collection/components/images-icons/bds-avatar/types/index.js +3 -0
  275. package/dist/collection/components/images-icons/bds-avatar/types/types.js +1 -0
  276. package/dist/collection/components/layouts/bds-grid/grid/bds-grid.css +57 -0
  277. package/dist/collection/components/layouts/bds-grid/grid/bds-grid.js +100 -0
  278. package/dist/collection/components/layouts/bds-grid/grid/types/IGrid.js +1 -0
  279. package/dist/collection/components/layouts/bds-grid/grid/types/enum.js +4 -0
  280. package/dist/collection/components/layouts/bds-grid/grid/types/index.js +3 -0
  281. package/dist/collection/components/layouts/bds-grid/grid/types/types.js +1 -0
  282. package/dist/collection/components/layouts/bds-grid/grid-item/bds-grid-item.css +70 -0
  283. package/dist/collection/components/layouts/bds-grid/grid-item/bds-grid-item.js +306 -0
  284. package/dist/collection/components/layouts/bds-grid/grid-item/types/IGridItem.js +1 -0
  285. package/dist/collection/components/layouts/bds-grid/grid-item/types/enum.js +10 -0
  286. package/dist/collection/components/layouts/bds-grid/grid-item/types/index.js +3 -0
  287. package/dist/collection/components/layouts/bds-grid/grid-item/types/types.js +1 -0
  288. package/dist/collection/components/overlays/bds-dialog/bds-dialog.js +4 -3
  289. package/dist/collection/components/overlays/bds-popover/bds-popover.css +16 -2
  290. package/dist/collection/components/overlays/bds-popover/bds-popover.js +12 -4
  291. package/dist/collection/components/overlays/bds-popover/constants/Offset.js +1 -0
  292. package/dist/collection/components/overlays/bds-tooltip/bds-tooltip.css +2 -13
  293. package/dist/collection/components/overlays/bds-tooltip/bds-tooltip.js +6 -4
  294. package/dist/collection/components/overlays/bds-tooltip/constants/Offset.js +1 -0
  295. package/dist/collection/components/titles-text/bds-typography/bds-typography.css +9 -0
  296. package/dist/collection/components/titles-text/bds-typography/bds-typography.js +20 -19
  297. package/dist/collection/components/titles-text/bds-typography/utils/bds-typography-utils.js +2 -2
  298. package/dist/collection/css/boreal.css +1066 -1074
  299. package/dist/collection/css/global.css +403 -407
  300. package/dist/collection/css/theme-connect.css +163 -164
  301. package/dist/collection/css/theme-engage.css +163 -164
  302. package/dist/collection/css/theme-protect.css +163 -164
  303. package/dist/collection/css/theme-proximus.css +164 -165
  304. package/dist/collection/mixins/anchored.mixin.js +16 -3
  305. package/dist/collection/mixins/index.js +2 -0
  306. package/dist/collection/mixins/links.mixin.js +152 -0
  307. package/dist/collection/mixins/menu-behavior.mixin.js +119 -0
  308. package/dist/collection/scss/maps/_primitives.scss +404 -408
  309. package/dist/collection/scss/maps/_theme-connect.scss +164 -165
  310. package/dist/collection/scss/maps/_theme-engage.scss +164 -165
  311. package/dist/collection/scss/maps/_theme-protect.scss +164 -165
  312. package/dist/collection/scss/maps/_theme-proximus.scss +165 -166
  313. package/dist/collection/scss/variables/_primitives.scss +404 -408
  314. package/dist/collection/scss/variables/_theme-connect.scss +164 -165
  315. package/dist/collection/scss/variables/_theme-engage.scss +164 -165
  316. package/dist/collection/scss/variables/_theme-protect.scss +164 -165
  317. package/dist/collection/scss/variables/_theme-proximus.scss +165 -166
  318. package/dist/collection/services/floating/positioning.service.js +1 -1
  319. package/dist/collection/types/IFormProps.js +1 -0
  320. package/dist/collection/types/index.js +5 -0
  321. package/dist/collection/types/links.js +1 -0
  322. package/dist/collection/types/menu.js +8 -0
  323. package/dist/collection/types/orientation.js +4 -0
  324. package/dist/collection/types/position.js +6 -2
  325. package/dist/collection/utils/constants/common/Keys.js +10 -12
  326. package/dist/collection/utils/helpers/overlays/getOffset.js +13 -0
  327. package/dist/collection/utils/helpers/validateProps.js +21 -0
  328. package/dist/collection/utils/index.js +2 -1
  329. package/dist/collection/utils/menu/index.js +1 -0
  330. package/dist/collection/utils/menu/menu-item.utils.js +82 -0
  331. package/dist/collection/utils/{__test__ → testing}/helpers.js +10 -0
  332. package/dist/collection/utils/{__test__ → testing}/index.js +0 -2
  333. package/dist/collection/utils/testing/mocks/console.js +30 -0
  334. package/dist/collection/utils/testing/mocks/index.js +4 -0
  335. package/dist/css/boreal.css +1066 -1074
  336. package/dist/css/global.css +403 -407
  337. package/dist/css/theme-connect.css +163 -164
  338. package/dist/css/theme-engage.css +163 -164
  339. package/dist/css/theme-protect.css +163 -164
  340. package/dist/css/theme-proximus.css +164 -165
  341. package/dist/esm/BaseAttributes-DhSchGPI.js +12 -0
  342. package/dist/esm/Keys-DlYG-OVB.js +16 -0
  343. package/dist/esm/Logger-iq2UuV7c.js +49 -0
  344. package/dist/esm/{attributes-CaHOghy5.js → attributes-U9yfbs7i.js} +3 -0
  345. package/dist/esm/bds-avatar.entry.js +87 -0
  346. package/dist/esm/bds-badge.entry.js +48 -0
  347. package/dist/esm/bds-banner.entry.js +13 -6
  348. package/dist/esm/bds-button-group.entry.js +93 -0
  349. package/dist/esm/bds-button.entry.js +9 -15
  350. package/dist/esm/bds-checkbox-card.entry.js +119 -0
  351. package/dist/esm/bds-checkbox.entry.js +12 -5
  352. package/dist/esm/bds-dialog.entry.js +8 -7
  353. package/dist/esm/bds-divider.entry.js +44 -0
  354. package/dist/esm/bds-flag.entry.js +3 -3
  355. package/dist/esm/bds-grid-item.entry.js +91 -0
  356. package/dist/esm/bds-grid.entry.js +35 -0
  357. package/dist/esm/bds-list-menu-item.entry.js +491 -0
  358. package/dist/esm/bds-list-menu.entry.js +197 -0
  359. package/dist/esm/bds-popover.entry.js +18 -8
  360. package/dist/esm/bds-radio-button.entry.js +58 -0
  361. package/dist/esm/bds-radio-card.entry.js +74 -0
  362. package/dist/esm/bds-radio-group.entry.js +283 -0
  363. package/dist/esm/bds-radio.entry.js +58 -0
  364. package/dist/esm/bds-spinner.entry.js +4 -4
  365. package/dist/esm/bds-status.entry.js +57 -0
  366. package/dist/esm/bds-tag.entry.js +138 -0
  367. package/dist/esm/bds-text-field.entry.js +6 -15
  368. package/dist/esm/bds-toggle.entry.js +185 -0
  369. package/dist/esm/bds-tooltip_2.entry.js +318 -0
  370. package/dist/esm/boreal-web-components.js +3 -3
  371. package/dist/esm/coreColors-Dwo1hcd9.js +8 -0
  372. package/dist/esm/{enum-C8mRvnTA.js → enum-DlVzZK7o.js} +4 -4
  373. package/dist/esm/form-associated.mixin-C4HM8wQe.js +31 -0
  374. package/dist/esm/{anchored.mixin-Y3MkGc2X.js → getOffset-BYS3c13B.js} +43 -75
  375. package/dist/esm/{index-D4EFsvs1.js → index-BqJlOB6b.js} +64 -0
  376. package/dist/esm/{internals-Dy7QKP9e.js → internals-DfaYciGa.js} +1 -31
  377. package/dist/esm/loader.js +3 -3
  378. package/dist/esm/menu-dz9-Q2N8.js +6 -0
  379. package/dist/esm/orientation-CPvuMm5C.js +6 -0
  380. package/dist/esm/{states-BhTPNsBb.js → states-Bfazyxqi.js} +8 -1
  381. package/dist/esm/validateProps-kGnB15Lz.js +39 -0
  382. package/dist/esm-es5/BaseAttributes-DhSchGPI.js +1 -0
  383. package/dist/esm-es5/Keys-DlYG-OVB.js +1 -0
  384. package/dist/esm-es5/Logger-iq2UuV7c.js +1 -0
  385. package/dist/esm-es5/{attributes-CaHOghy5.js → attributes-U9yfbs7i.js} +1 -1
  386. package/dist/esm-es5/bds-avatar.entry.js +1 -0
  387. package/dist/esm-es5/bds-badge.entry.js +1 -0
  388. package/dist/esm-es5/bds-banner.entry.js +1 -1
  389. package/dist/esm-es5/bds-button-group.entry.js +1 -0
  390. package/dist/esm-es5/bds-button.entry.js +1 -1
  391. package/dist/esm-es5/bds-checkbox-card.entry.js +1 -0
  392. package/dist/esm-es5/bds-checkbox.entry.js +1 -1
  393. package/dist/esm-es5/bds-dialog.entry.js +1 -1
  394. package/dist/esm-es5/bds-divider.entry.js +1 -0
  395. package/dist/esm-es5/bds-flag.entry.js +1 -1
  396. package/dist/esm-es5/bds-grid-item.entry.js +1 -0
  397. package/dist/esm-es5/bds-grid.entry.js +1 -0
  398. package/dist/esm-es5/bds-list-menu-item.entry.js +1 -0
  399. package/dist/esm-es5/bds-list-menu.entry.js +1 -0
  400. package/dist/esm-es5/bds-popover.entry.js +1 -1
  401. package/dist/esm-es5/bds-radio-button.entry.js +1 -0
  402. package/dist/esm-es5/bds-radio-card.entry.js +1 -0
  403. package/dist/esm-es5/bds-radio-group.entry.js +1 -0
  404. package/dist/esm-es5/bds-radio.entry.js +1 -0
  405. package/dist/esm-es5/bds-spinner.entry.js +1 -1
  406. package/dist/esm-es5/bds-status.entry.js +1 -0
  407. package/dist/esm-es5/bds-tag.entry.js +1 -0
  408. package/dist/esm-es5/bds-text-field.entry.js +1 -1
  409. package/dist/esm-es5/bds-toggle.entry.js +1 -0
  410. package/dist/esm-es5/bds-tooltip_2.entry.js +1 -0
  411. package/dist/esm-es5/boreal-web-components.js +1 -1
  412. package/dist/esm-es5/coreColors-Dwo1hcd9.js +1 -0
  413. package/dist/esm-es5/enum-DlVzZK7o.js +1 -0
  414. package/dist/esm-es5/form-associated.mixin-C4HM8wQe.js +1 -0
  415. package/dist/esm-es5/getOffset-BYS3c13B.js +1 -0
  416. package/dist/esm-es5/index-BqJlOB6b.js +2 -0
  417. package/dist/esm-es5/internals-DfaYciGa.js +1 -0
  418. package/dist/esm-es5/loader.js +1 -1
  419. package/dist/esm-es5/menu-dz9-Q2N8.js +1 -0
  420. package/dist/esm-es5/orientation-CPvuMm5C.js +1 -0
  421. package/dist/esm-es5/states-Bfazyxqi.js +1 -0
  422. package/dist/esm-es5/validateProps-kGnB15Lz.js +1 -0
  423. package/dist/scss/maps/_primitives.scss +404 -408
  424. package/dist/scss/maps/_theme-connect.scss +164 -165
  425. package/dist/scss/maps/_theme-engage.scss +164 -165
  426. package/dist/scss/maps/_theme-protect.scss +164 -165
  427. package/dist/scss/maps/_theme-proximus.scss +165 -166
  428. package/dist/scss/variables/_primitives.scss +404 -408
  429. package/dist/scss/variables/_theme-connect.scss +164 -165
  430. package/dist/scss/variables/_theme-engage.scss +164 -165
  431. package/dist/scss/variables/_theme-protect.scss +164 -165
  432. package/dist/scss/variables/_theme-proximus.scss +165 -166
  433. package/dist/types/components/actions/bds-button/bds-button.d.ts +4 -4
  434. package/dist/types/components/actions/bds-button/types/enum.d.ts +3 -3
  435. package/dist/types/components/actions/bds-button-group/bds-button-group.d.ts +36 -0
  436. package/dist/types/components/actions/bds-button-group/types/IButtonGroup.d.ts +11 -0
  437. package/dist/types/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.d.ts +74 -0
  438. package/dist/types/components/actions/bds-list-menu/bds-list-menu/types/IListMenu.d.ts +14 -0
  439. package/dist/types/components/actions/bds-list-menu/bds-list-menu/types/enum.d.ts +5 -0
  440. package/dist/types/components/actions/bds-list-menu/bds-list-menu/types/types.d.ts +3 -0
  441. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.d.ts +122 -0
  442. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/types/IListMenuItem.d.ts +13 -0
  443. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/types/enum.d.ts +5 -0
  444. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/types/types.d.ts +3 -0
  445. package/dist/types/components/actions/bds-toggle/bds-toggle.d.ts +91 -0
  446. package/dist/types/components/actions/bds-toggle/types/IEventChange.d.ts +5 -0
  447. package/dist/types/components/actions/bds-toggle/types/IToggle.d.ts +12 -0
  448. package/dist/types/components/actions/bds-toggle/types/enum.d.ts +5 -0
  449. package/dist/types/components/actions/bds-toggle/types/index.d.ts +5 -0
  450. package/dist/types/components/actions/bds-toggle/types/types.d.ts +3 -0
  451. package/dist/types/components/feedback/bds-badge/bds-badge.d.ts +31 -0
  452. package/dist/types/components/feedback/bds-badge/types/IBadge.d.ts +6 -0
  453. package/dist/types/components/feedback/bds-badge/types/enum.d.ts +9 -0
  454. package/dist/types/components/feedback/bds-banner/bds-banner.d.ts +8 -4
  455. package/dist/types/components/feedback/bds-status/bds-status.d.ts +26 -0
  456. package/dist/types/components/feedback/bds-status/types/IStatus.d.ts +7 -0
  457. package/dist/types/components/feedback/bds-status/types/enum.d.ts +6 -0
  458. package/dist/types/components/feedback/bds-status/types/types.d.ts +3 -0
  459. package/dist/types/components/feedback/bds-tag/bds-tag.d.ts +71 -0
  460. package/dist/types/components/feedback/bds-tag/types/ITag.d.ts +13 -0
  461. package/dist/types/components/feedback/bds-tag/types/enum.d.ts +11 -0
  462. package/dist/types/components/feedback/bds-tag/types/index.d.ts +4 -0
  463. package/dist/types/components/feedback/bds-tag/types/types.d.ts +8 -0
  464. package/dist/types/components/forms/bds-checkbox/bds-checkbox.d.ts +2 -0
  465. package/dist/types/components/forms/bds-checkbox-card/bds-checkbox-card.d.ts +70 -0
  466. package/dist/types/components/forms/bds-checkbox-card/types/ICheckboxCard.d.ts +8 -0
  467. package/dist/types/components/forms/bds-flag/bds-flag.d.ts +3 -4
  468. package/dist/types/components/forms/bds-radio/bds-radio.d.ts +36 -0
  469. package/dist/types/components/forms/bds-radio/types/IRadio.d.ts +13 -0
  470. package/dist/types/components/forms/bds-radio-button/bds-radio-button.d.ts +36 -0
  471. package/dist/types/components/forms/bds-radio-button/types/IRadioButton.d.ts +13 -0
  472. package/dist/types/components/forms/bds-radio-card/bds-radio-card.d.ts +57 -0
  473. package/dist/types/components/forms/bds-radio-card/types/IRadioCard.d.ts +14 -0
  474. package/dist/types/components/forms/bds-radio-group/bds-radio-group.d.ts +82 -0
  475. package/dist/types/components/forms/bds-radio-group/types/IRadioGroup.d.ts +19 -0
  476. package/dist/types/components/forms/bds-radio-group/types/enum.d.ts +6 -0
  477. package/dist/types/components/forms/bds-radio-group/types/types.d.ts +3 -0
  478. package/dist/types/components/helpers/bds-divider/bds-divider.d.ts +26 -0
  479. package/dist/types/components/helpers/bds-divider/types/IDivider.d.ts +5 -0
  480. package/dist/types/components/helpers/bds-divider/types/enum.d.ts +5 -0
  481. package/dist/types/components/helpers/bds-divider/types/types.d.ts +3 -0
  482. package/dist/types/components/images-icons/bds-avatar/bds-avatar.d.ts +51 -0
  483. package/dist/types/components/images-icons/bds-avatar/types/IAvatar.d.ts +9 -0
  484. package/dist/types/components/images-icons/bds-avatar/types/enum.d.ts +6 -0
  485. package/dist/types/components/images-icons/bds-avatar/types/index.d.ts +4 -0
  486. package/dist/types/components/images-icons/bds-avatar/types/types.d.ts +3 -0
  487. package/dist/types/components/layouts/bds-grid/grid/bds-grid.d.ts +19 -0
  488. package/dist/types/components/layouts/bds-grid/grid/types/IGrid.d.ts +6 -0
  489. package/dist/types/components/layouts/bds-grid/grid/types/enum.d.ts +5 -0
  490. package/dist/types/components/layouts/bds-grid/grid/types/index.d.ts +4 -0
  491. package/dist/types/components/layouts/bds-grid/grid/types/types.d.ts +3 -0
  492. package/dist/types/components/layouts/bds-grid/grid-item/bds-grid-item.d.ts +31 -0
  493. package/dist/types/components/layouts/bds-grid/grid-item/types/IGridItem.d.ts +12 -0
  494. package/dist/types/components/layouts/bds-grid/grid-item/types/enum.d.ts +11 -0
  495. package/dist/types/components/layouts/bds-grid/grid-item/types/index.d.ts +4 -0
  496. package/dist/types/components/layouts/bds-grid/grid-item/types/types.d.ts +3 -0
  497. package/dist/types/components/overlays/bds-dialog/bds-dialog.d.ts +2 -2
  498. package/dist/types/components/overlays/bds-popover/bds-popover.d.ts +1 -0
  499. package/dist/types/components/overlays/bds-popover/constants/Offset.d.ts +2 -0
  500. package/dist/types/components/overlays/bds-tooltip/bds-tooltip.d.ts +1 -0
  501. package/dist/types/components/overlays/bds-tooltip/constants/Offset.d.ts +2 -0
  502. package/dist/types/components/titles-text/bds-typography/bds-typography.d.ts +9 -9
  503. package/dist/types/components/titles-text/bds-typography/types/ITypography.d.ts +2 -2
  504. package/dist/types/components/titles-text/bds-typography/utils/bds-typography-utils.d.ts +1 -1
  505. package/dist/types/components.d.ts +2542 -450
  506. package/dist/types/mixins/anchored.mixin.d.ts +5 -0
  507. package/dist/types/mixins/index.d.ts +2 -0
  508. package/dist/types/mixins/links.mixin.d.ts +85 -0
  509. package/dist/types/mixins/menu-behavior.mixin.d.ts +95 -0
  510. package/dist/types/types/IFormProps.d.ts +25 -0
  511. package/dist/types/types/index.d.ts +5 -0
  512. package/dist/types/types/links.d.ts +14 -0
  513. package/dist/types/types/menu.d.ts +16 -0
  514. package/dist/types/types/orientation.d.ts +6 -0
  515. package/dist/types/types/position.d.ts +6 -2
  516. package/dist/types/utils/constants/common/Keys.d.ts +12 -14
  517. package/dist/types/utils/helpers/overlays/getOffset.d.ts +9 -0
  518. package/dist/types/utils/helpers/validateProps.d.ts +11 -0
  519. package/dist/types/utils/index.d.ts +2 -1
  520. package/dist/types/utils/menu/index.d.ts +2 -0
  521. package/dist/types/utils/menu/menu-item.utils.d.ts +50 -0
  522. package/dist/types/utils/{__test__ → testing}/helpers.d.ts +8 -0
  523. package/dist/types/utils/{__test__ → testing}/index.d.ts +0 -2
  524. package/dist/types/utils/{__test__/backdrop-mock.d.ts → testing/mocks/backdrop.d.ts} +1 -1
  525. package/dist/types/utils/testing/mocks/console.d.ts +17 -0
  526. package/dist/types/utils/{__test__/mocks/ElementInternals.d.ts → testing/mocks/elementInternals.d.ts} +1 -1
  527. package/dist/types/utils/testing/mocks/index.d.ts +5 -0
  528. package/dist/types/utils/{__test__/popover-mock.d.ts → testing/mocks/popover.d.ts} +1 -1
  529. package/package.json +1 -1
  530. package/components-build/p-B6R9EVXK.js +0 -1
  531. package/components-build/p-BSpJ_e9f.js +0 -1
  532. package/components-build/p-BYEAJCas.js +0 -1
  533. package/components-build/p-BhTPNsBb.js +0 -1
  534. package/components-build/p-CYojP4vI.js +0 -1
  535. package/components-build/p-D5omSME4.js +0 -1
  536. package/components-build/p-vfAIdwy0.js +0 -1
  537. package/dist/boreal-web-components/p-07a933df.entry.js +0 -1
  538. package/dist/boreal-web-components/p-1bb2b33f.entry.js +0 -1
  539. package/dist/boreal-web-components/p-1fccea3f.system.entry.js +0 -1
  540. package/dist/boreal-web-components/p-20af732b.system.entry.js +0 -1
  541. package/dist/boreal-web-components/p-22378341.system.entry.js +0 -1
  542. package/dist/boreal-web-components/p-39c26e58.entry.js +0 -1
  543. package/dist/boreal-web-components/p-6210d025.entry.js +0 -1
  544. package/dist/boreal-web-components/p-6de2b44c.system.entry.js +0 -1
  545. package/dist/boreal-web-components/p-91b9e94e.entry.js +0 -1
  546. package/dist/boreal-web-components/p-9e06910d.system.entry.js +0 -1
  547. package/dist/boreal-web-components/p-BIJhHSAt.system.js +0 -1
  548. package/dist/boreal-web-components/p-BKRyWlfr.js +0 -1
  549. package/dist/boreal-web-components/p-BhTPNsBb.js +0 -1
  550. package/dist/boreal-web-components/p-BkDQsB4R.system.js +0 -1
  551. package/dist/boreal-web-components/p-C8mRvnTA.js +0 -1
  552. package/dist/boreal-web-components/p-CdKFZYxk.system.js +0 -1
  553. package/dist/boreal-web-components/p-DoDeP7KR.system.js +0 -1
  554. package/dist/boreal-web-components/p-Dtp4O0H2.system.js +0 -1
  555. package/dist/boreal-web-components/p-Dy7QKP9e.js +0 -1
  556. package/dist/boreal-web-components/p-GjKJvOVG.system.js +0 -2
  557. package/dist/boreal-web-components/p-ac64d4a5.system.entry.js +0 -1
  558. package/dist/boreal-web-components/p-b61fe06c.entry.js +0 -1
  559. package/dist/boreal-web-components/p-cdc87437.entry.js +0 -1
  560. package/dist/boreal-web-components/p-d8ec8557.system.entry.js +0 -1
  561. package/dist/boreal-web-components/p-ea889727.entry.js +0 -1
  562. package/dist/boreal-web-components/p-fa327346.system.entry.js +0 -1
  563. package/dist/boreal-web-components/p-fc2cb919.entry.js +0 -1
  564. package/dist/boreal-web-components/p-sDZFaZMN.system.js +0 -1
  565. package/dist/boreal-web-components/p-vfAIdwy0.js +0 -1
  566. package/dist/cjs/bds-tooltip.cjs.entry.js +0 -152
  567. package/dist/cjs/bds-typography.cjs.entry.js +0 -168
  568. package/dist/cjs/validateProps-BNOBk1Xs.js +0 -20
  569. package/dist/collection/utils/__test__/mocks/index.js +0 -1
  570. package/dist/esm/bds-tooltip.entry.js +0 -150
  571. package/dist/esm/bds-typography.entry.js +0 -166
  572. package/dist/esm/validateProps-vfAIdwy0.js +0 -18
  573. package/dist/esm-es5/anchored.mixin-Y3MkGc2X.js +0 -1
  574. package/dist/esm-es5/bds-tooltip.entry.js +0 -1
  575. package/dist/esm-es5/bds-typography.entry.js +0 -1
  576. package/dist/esm-es5/enum-C8mRvnTA.js +0 -1
  577. package/dist/esm-es5/index-D4EFsvs1.js +0 -2
  578. package/dist/esm-es5/internals-Dy7QKP9e.js +0 -1
  579. package/dist/esm-es5/states-BhTPNsBb.js +0 -1
  580. package/dist/esm-es5/validateProps-vfAIdwy0.js +0 -1
  581. package/dist/types/utils/__test__/mocks/index.d.ts +0 -2
  582. /package/dist/collection/utils/{__test__ → testing}/constants.js +0 -0
  583. /package/dist/collection/utils/{__test__ → testing}/fixtures.js +0 -0
  584. /package/dist/collection/utils/{__test__/backdrop-mock.js → testing/mocks/backdrop.js} +0 -0
  585. /package/dist/collection/utils/{__test__/mocks/ElementInternals.js → testing/mocks/elementInternals.js} +0 -0
  586. /package/dist/collection/utils/{__test__/popover-mock.js → testing/mocks/popover.js} +0 -0
  587. /package/dist/types/utils/{__test__ → testing}/constants.d.ts +0 -0
  588. /package/dist/types/utils/{__test__ → testing}/fixtures.d.ts +0 -0
@@ -1 +1 @@
1
- var t=(t,e)=>{var n;Object.entries(null!=(n=e.o.t)?n:{}).map((([n,[o]])=>{if(31&o||32&o){const o=t[n],s=function(t,e){for(;t;){const n=Object.getOwnPropertyDescriptor(t,e);if(null==n?void 0:n.get)return n;t=Object.getPrototypeOf(t)}}(Object.getPrototypeOf(t),n)||Object.getOwnPropertyDescriptor(t,n);s&&Object.defineProperty(t,n,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),t[n]=e.l.has(n)?e.l.get(n):o}}))},e=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},n=(t,e)=>e in t,o=(t,e)=>(0,console.error)(t,e),s=new Map,l="http://www.w3.org/1999/xlink",i=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],r="undefined"!=typeof window?window:{},c=r.HTMLElement||class{},f={i:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},u=(()=>{try{return!!r.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),a=!!u&&(()=>!!r.document&&Object.getOwnPropertyDescriptor(r.document.adoptedStyleSheets,"length").writable)(),h=!1,d=[],p=[],b=(t,e)=>n=>{t.push(n),h||(h=!0,e&&4&f.i?g(m):f.raf(m))},v=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){o(t)}t.length=0},m=()=>{v(d),v(p),(h=d.length>0)&&f.raf(m)},g=t=>Promise.resolve(void 0).then(t),y=b(p,!0),$=t=>{const e=new URL(t,f.u);return e.origin!==r.location.origin?e.href:e.pathname},j=t=>f.u=t,O=t=>{const e=Y(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&N(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!S(t,x(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&Y(t,"childNodes").length&&O(t)}},w=t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e};function N(t,e,n){let o,s=0,l=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!e||o["s-hn"]===e)&&(void 0===n||x(o)===n)&&(l.push(o),void 0!==n))return l;l=[...l,...N(o.childNodes,e,n)]}return l}var S=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)x(s)!==e||!n&&s["s-sr"]||o.push(s);return o},C=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,k=(t,e,n)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const o=document.createTextNode("");if(o["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const s=e["s-cr"].parentNode;Y(s,n?"prepend":"appendChild").call(s,o),t["s-ol"]=o,t["s-sh"]=e["s-hn"]},x=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function E(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function _(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=x(t)||"";return{slotNode:N(Y(e,"childNodes"),e.tagName,o)[0],slotName:o}}var A=t=>{if(t.__cloneNode)return;const e=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const n=e.call(this,!1);if(t){let t,e,o=0;const s=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],l=this.__childNodes||this.childNodes;for(;o<l.length;o++)t=l[o]["s-nr"],e=s.every((t=>!l[o][t])),t&&(n.__appendChild?n.__appendChild(t.cloneNode(!0)):n.appendChild(t.cloneNode(!0))),e&&n.appendChild(l[o].cloneNode(!0))}return n}},M=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=_(t,this);if(n){k(t,n);const o=S(n,e),s=o[o.length-1],l=Y(s,"parentNode"),i=Y(l,"insertBefore")(t,s.nextSibling);return E(n),O(this),i}return this.__appendChild(t)})},R=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&N(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void O(this)):this.__removeChild(t)})},F=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=x(e))||"",o=N(Y(this,"childNodes"),this.tagName,n)[0];if(o){k(e,o,!0);const t=S(o,n)[0],s=Y(t,"parentNode"),l=Y(s,"insertBefore")(e,Y(t,"nextSibling"));return E(o),l}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))})},T=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},L=t=>{if(t.__insertAdjacentHTML)return;const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},B=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},D=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=_(t,this),s=this.__childNodes?this.childNodes:w(this.childNodes);if(o){let l=!1;if(s.forEach((s=>{if(s!==e&&null!==e);else{if(l=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){k(t,o);const n=Y(e,"parentNode");Y(n,"insertBefore")(t,e),E(o)}}})),l)return t}const l=null==e?void 0:e.__parentNode;return l&&!this.isSameNode(l)?this.appendChild(t):this.__insertBefore(t,e)})},P=t=>{if(t.__insertAdjacentElement)return;const e=t.insertAdjacentElement;t.insertAdjacentElement=function(t,n){return"afterbegin"!==t&&"beforeend"!==t?e.call(this,t,n):"afterbegin"===t?(this.prepend(n),n):"beforeend"===t?(this.append(n),n):n}},H=t=>{z("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:w(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:w(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},U=t=>{class e extends Array{item(t){return this[t]}}z("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),z("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),z("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),z("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...w(this.__childNodes)),t}})},W=t=>{t&&!t.__parentNode&&(z("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},V=["children","nextElementSibling","previousElementSibling"],q=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function z(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;V.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):q.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function Y(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var I,Z,G=new WeakMap,J=t=>"sc-"+t.h,K=t=>"object"==(t=typeof t)||"function"===t,Q=(t,e,...n)=>{let o=null,s=null,l=null,i=!1,r=!1;const c=[],f=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?f(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!K(o))&&(o+=""),i&&r?c[c.length-1].p+=o:c.push(i?X(null,o):o),r=i)};if(f(n),e){e.key&&(s=e.key),e.name&&(l=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,et);const u=X(t,null);return u.v=e,c.length>0&&(u.m=c),u.$=s,u.j=l,u},X=(t,e)=>({i:0,O:t,p:null!=e?e:null,N:null,m:null,v:null,$:null,j:null}),tt={},et={forEach:(t,e)=>t.map(nt).forEach(e),map:(t,e)=>t.map(nt).map(e).map(ot)},nt=t=>({vattrs:t.v,vchildren:t.m,vkey:t.$,vname:t.j,vtag:t.O,vtext:t.p}),ot=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),Q(t.vtag,e,...t.vchildren||[])}const e=X(t.vtag,t.vtext);return e.v=t.vattrs,e.m=t.vchildren,e.$=t.vkey,e.j=t.vname,e},st=(t,e,n)=>null==t||K(t)?t:4&e?(n&&"string"==typeof t||"false"!==t)&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,lt=(t,e)=>{const n=t;return{emit:t=>it(n,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},it=(t,e,n)=>{const o=f.ce(e,n);return t.dispatchEvent(o),o},rt=(t,o,s,i,c,u)=>{if(s===i)return;let a=n(t,o),h=o.toLowerCase();if("class"===o){const e=t.classList,n=ft(s);let o=ft(i);e.remove(...n.filter((t=>t&&!o.includes(t)))),e.add(...o.filter((t=>t&&!n.includes(t))))}else if("style"===o){for(const e in s)i&&null!=i[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in i)s&&i[e]===s[e]||(e.includes("-")?t.style.setProperty(e,i[e]):t.style[e]=i[e])}else if("key"===o);else if("ref"===o)i&&At(i,t);else if(t.__lookupSetter__(o)||"o"!==o[0]||"n"!==o[1]){if("a"===o[0]&&o.startsWith("attr:")){const n=o.slice(5);let s;{const o=e(t);if(o&&o.o&&o.o.t){const t=o.o.t[n];t&&t[1]&&(s=t[1])}}return s||(s=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==i||!1===i?!1===i&&""!==t.getAttribute(s)||t.removeAttribute(s):t.setAttribute(s,!0===i?"":i))}if("p"===o[0]&&o.startsWith("prop:")){const e=o.slice(5);try{t[e]=i}catch(t){}return}{const e=K(i);if((a||e&&null!==i)&&!c)try{if(t.tagName.includes("-"))t[o]!==i&&(t[o]=i);else{const e=null==i?"":i;"list"===o?a=!1:null!=s&&t[o]===e||("function"==typeof t.__lookupSetter__(o)?t[o]=e:t.setAttribute(o,e))}}catch(t){}let n=!1;h!==(h=h.replace(/^xlink\:?/,""))&&(o=h,n=!0),null==i||!1===i?!1===i&&""!==t.getAttribute(o)||(n?t.removeAttributeNS(l,o):t.removeAttribute(o)):(!a||4&u||c)&&!e&&1===t.nodeType&&(i=!0===i?"":i,n?t.setAttributeNS(l,o,i):t.setAttribute(o,i))}}else if(o="-"===o[2]?o.slice(3):n(r,h)?h.slice(2):h[2]+o.slice(3),s||i){const e=o.endsWith(ut);o=o.replace(at,""),s&&f.rel(t,o,s,e),i&&f.ael(t,o,i,e)}},ct=/\s/,ft=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(ct):[]),ut="Capture",at=RegExp(ut+"$"),ht=(t,e,n)=>{const o=11===e.N.nodeType&&e.N.host?e.N.host:e.N,s=t&&t.v||{},l=e.v||{};for(const t of dt(Object.keys(s)))t in l||rt(o,t,s[t],void 0,n,e.i);for(const t of dt(Object.keys(l)))rt(o,t,s[t],l[t],n,e.i)};function dt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var pt=!1,bt=!1,vt=!1,mt=!1,gt=[],yt=[],$t=(t,e,n)=>{var o;const s=e.m[n];let l,i,c,f=0;if(pt||(vt=!0,"slot"===s.O&&(s.i|=s.m?2:1)),null!=s.p)l=s.N=r.document.createTextNode(s.p);else if(1&s.i)l=s.N=r.document.createTextNode(""),ht(null,s,mt);else{if(mt||(mt="svg"===s.O),!r.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=s.N=r.document.createElementNS(mt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!pt&&2&s.i?"slot-fb":s.O),mt&&"foreignObject"===s.O&&(mt=!1),ht(null,s,mt),s.m){const e="template"===s.O?l.content:l;for(f=0;f<s.m.length;++f)i=$t(t,s,f),i&&e.appendChild(i)}"svg"===s.O?mt=!1:"foreignObject"===l.tagName&&(mt=!0)}return l["s-hn"]=Z,3&s.i&&(l["s-sr"]=!0,l["s-cr"]=I,l["s-sn"]=s.j||"",l["s-rf"]=null==(o=s.v)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],o=this["s-sn"];(null==t?void 0:t.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 ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:w(s.childNodes)).forEach((t=>{o===x(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}(l),c=t&&t.m&&t.m[n],c&&c.O===s.O&&t.N&&jt(t.N)),l},jt=t=>{f.i|=1;const e=t.closest(Z.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&(Mt(e,t,null!=n?n:null),t["s-sh"]=void 0,vt=!0)}f.i&=-2},Ot=(t,e)=>{f.i|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===Z&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==Z&&o["s-ol"]&&(Mt(Ct(o).parentNode,o,Ct(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,vt=!0),e&&Ot(o,e)}f.i&=-2},wt=(t,e,n,o,s,l)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for("template"===n.O&&(r=r.content);s<=l;++s)o[s]&&(i=$t(null,n,s),i&&(o[s].N=i,Mt(r,i,Ct(e))))},Nt=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.N;_t(e),t&&(bt=!0,t["s-ol"]?t["s-ol"].remove():Ot(t,!0),t.remove())}}},St=(t,e,n=!1)=>t.O===e.O&&("slot"===t.O?t.j===e.j:n?(n&&!t.$&&e.$&&(t.$=e.$),!0):t.$===e.$),Ct=t=>t&&t["s-ol"]||t,kt=(t,e,n=!1)=>{const o=e.N=t.N,s=t.m,l=e.m,i=e.O,r=e.p;let c;null==r?(mt="svg"===i||"foreignObject"!==i&&mt,"slot"!==i||pt||t.j!==e.j&&(e.N["s-sn"]=e.j||"",jt(e.N.parentElement)),ht(t,e,mt),null!==s&&null!==l?((t,e,n,o,s=!1)=>{let l,i,r=0,c=0,f=0,u=0,a=e.length-1,h=e[0],d=e[a],p=o.length-1,b=o[0],v=o[p];const m="template"===n.O?t.content:t;for(;r<=a&&c<=p;)if(null==h)h=e[++r];else if(null==d)d=e[--a];else if(null==b)b=o[++c];else if(null==v)v=o[--p];else if(St(h,b,s))kt(h,b,s),h=e[++r],b=o[++c];else if(St(d,v,s))kt(d,v,s),d=e[--a],v=o[--p];else if(St(h,v,s))"slot"!==h.O&&"slot"!==v.O||Ot(h.N.parentNode,!1),kt(h,v,s),Mt(m,h.N,d.N.nextSibling),h=e[++r],v=o[--p];else if(St(d,b,s))"slot"!==h.O&&"slot"!==v.O||Ot(d.N.parentNode,!1),kt(d,b,s),Mt(m,d.N,h.N),d=e[--a],b=o[++c];else{for(f=-1,u=r;u<=a;++u)if(e[u]&&null!==e[u].$&&e[u].$===b.$){f=u;break}f>=0?(i=e[f],i.O!==b.O?l=$t(e&&e[c],n,f):(kt(i,b,s),e[f]=void 0,l=i.N),b=o[++c]):(l=$t(e&&e[c],n,c),b=o[++c]),l&&Mt(Ct(h.N).parentNode,l,Ct(h.N))}r>a?wt(t,null==o[p+1]?null:o[p+1].N,n,o,c,p):c>p&&Nt(e,r,a)})(o,s,e,l,n):null!==l?(null!==t.p&&(o.textContent=""),wt(o,null,e,l,0,l.length-1)):!n&&null!==s&&Nt(s,0,s.length-1),mt&&"svg"===i&&(mt=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.p!==r&&(o.data=r)},xt=[],Et=t=>{let e,n,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const s=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===t["s-hn"]||e["s-sh"]&&e["s-sh"]===t["s-hn"]))if(C(e,s)){let n=xt.find((t=>t.S===e));bt=!0,e["s-sn"]=e["s-sn"]||s,n?(n.S["s-sh"]=t["s-hn"],n.C=t):(e["s-sh"]=t["s-hn"],xt.push({C:t,S:e})),e["s-sr"]&&xt.map((t=>{C(t.S,e["s-sn"])&&(n=xt.find((t=>t.S===e)),n&&!t.C&&(t.C=n.C))}))}else xt.some((t=>t.S===e))||xt.push({S:e})}1===t.nodeType&&Et(t)}},_t=t=>{t.v&&t.v.ref&&gt.push((()=>t.v.ref(null))),t.m&&t.m.map(_t)},At=(t,e)=>{yt.push((()=>t(e)))},Mt=(t,e,n,o)=>{if("string"==typeof e["s-sn"]){11!==t.getRootNode().nodeType&&W(e),t.insertBefore(e,n);const{slotNode:s}=_(e);return s&&!o&&E(s),e}return t.__insertBefore?t.__insertBefore(e,n):null==t?void 0:t.insertBefore(e,n)},Rt=(t,e,n=!1)=>{var o,s,l,i,c;const u=t.$hostElement$,a=t.o,h=t.k||X(null,null),d=(t=>t&&t.O===tt)(e)?e:Q(null,null,e);if(Z=u.tagName,a._&&(d.v=d.v||{},a._.forEach((([t,e])=>{d.v[e]=u[t]}))),n&&d.v)for(const t of Object.keys(d.v))u.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(d.v[t]=u[t]);if(d.O=null,d.i|=4,t.k=d,d.N=h.N=u,pt=false,I=u["s-cr"],bt=!1,kt(h,d,n),f.i|=1,vt){Et(d.N);for(const t of xt){const e=t.S;if(!e["s-ol"]&&r.document){const t=r.document.createTextNode("");t["s-nr"]=e,Mt(e.parentNode,e["s-ol"]=t,e,n)}}for(const t of xt){const e=t.S,c=t.C;if(1===e.nodeType&&n&&(e["s-ih"]=null!=(o=e.hidden)&&o),c){const t=c.parentNode;let o=c.nextSibling;if(o&&1===o.nodeType){let n=null==(s=e["s-ol"])?void 0:s.previousSibling;for(;n;){let s=null!=(l=n["s-nr"])?l:null;if(s&&s["s-sn"]===e["s-sn"]&&t===(s.__parentNode||s.parentNode)){for(s=s.nextSibling;s===e||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){o=s;break}}n=n.previousSibling}}if((!o&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==o)&&e!==o){if(Mt(t,e,o,n),8===e.nodeType&&e.nodeValue.startsWith("s-nt-")){const t=r.document.createTextNode(e.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=e["s-hn"],t["s-sn"]=e["s-sn"],t["s-sh"]=e["s-sh"],t["s-sr"]=e["s-sr"],t["s-ol"]=e["s-ol"],t["s-ol"]["s-nr"]=t,Mt(e.parentNode,t,e,n),e.parentNode.removeChild(e)}1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(i=e["s-ih"])&&i)}e&&"function"==typeof c["s-rf"]&&c["s-rf"](c)}else 1===e.nodeType&&(e.hidden=!0)}}if(bt&&O(d.N),f.i&=-2,xt.length=0,!pt&&!(1&a.i)&&u["s-cr"]){const t=d.N.__childNodes||d.N.childNodes;for(const e of t)if(e["s-hn"]!==Z&&!e["s-sh"])if(n&&null==e["s-ih"]&&(e["s-ih"]=null!=(c=e.hidden)&&c),1===e.nodeType)e.hidden=!0;else if(3===e.nodeType&&e.nodeValue.trim()){const t=r.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],Mt(e.parentNode,t,e,n),e.parentNode.removeChild(e)}}I=void 0,gt.forEach((t=>t())),gt.length=0,yt.forEach((t=>t())),yt.length=0},Ft=(t,e)=>{if(e&&!t.A&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.A=()=>{e["s-p"].splice(n-1,1),o()})))}},Tt=(t,e)=>{if(t.i|=16,4&t.i)return void(t.i|=512);Ft(t,t.M);const n=()=>Lt(t,e);if(!e)return y(n);queueMicrotask((()=>{n()}))},Lt=(t,e)=>{const n=t.$hostElement$,o=n;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return s=Vt(o,e?"componentWillLoad":"componentWillUpdate",void 0,n),s=Bt(s,(()=>Vt(o,"componentWillRender",void 0,n))),Bt(s,(()=>Pt(t,o,e)))},Bt=(t,e)=>Dt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Dt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Pt=async(t,e,n)=>{var o;const l=t.$hostElement$,i=l["s-rc"];n&&(t=>{const e=t.o;((t,e)=>{var n,o,l;const i=J(e),c=s.get(i);if(!r.document)return i;if(t=11===t.nodeType?t:r.document,c)if("string"==typeof c){let s,l=G.get(t=t.head||t);if(l||G.set(t,l=new Set),!l.has(i)){s=r.document.createElement("style"),s.textContent=c;const h=null!=(n=f.R)?n:function(){var t,e,n;return null!=(n=null==(e=null==(t=r.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?n:void 0}();if(null!=h&&s.setAttribute("nonce",h),!(1&e.i))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(u){const e=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(c),a?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=c+e.textContent:t.prepend(s)}else t.append(s);1&e.i&&t.insertBefore(s,null),4&e.i&&(s.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),l&&l.add(i)}}else{let e=G.get(t);if(e||G.set(t,e=new Set),!e.has(i)){const n=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(c.constructor===n.CSSStyleSheet)o=c;else{o=new n.CSSStyleSheet;for(let t=0;t<c.cssRules.length;t++)o.insertRule(c.cssRules[t].cssText,t)}a?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],e.add(i)}}})(t.$hostElement$.getRootNode(),e)})(t);Ht(t,e,l,n),i&&(i.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>Ut(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.i|=4,e.length=0)}},Ht=(t,e,n,s)=>{try{e=e.render(),t.i&=-17,t.i|=2,Rt(t,e,s)}catch(e){o(e,t.$hostElement$)}return null},Ut=t=>{const e=t.$hostElement$,n=e,o=t.M;Vt(n,"componentDidRender",void 0,e),64&t.i?Vt(n,"componentDidUpdate",void 0,e):(t.i|=64,qt(e),Vt(n,"componentDidLoad",void 0,e),t.F(e),o||Wt()),t.A&&(t.A(),t.A=void 0),512&t.i&&g((()=>Tt(t,!1))),t.i&=-517},Wt=()=>{g((()=>it(r,"appload",{detail:{namespace:"boreal-web-components"}})))},Vt=(t,e,n,s)=>{if(t&&t[e])try{return t[e](n)}catch(t){o(t,s)}},qt=t=>t.classList.add("hydrated"),zt=(t,n,s,l)=>{const i=e(t);if(!i)return;const r=t,c=i.l.get(n),f=i.i,u=r;if(!((s=st(s,l.t[n][0],!!(64&l.i)))===c||Number.isNaN(c)&&Number.isNaN(s))){if(i.l.set(n,s),l.T){const t=l.T[n];t&&t.map((t=>{try{const[[e,o]]=Object.entries(t);(128&f||1&o)&&(u?u[e](s,c,n):i.L.push((()=>{i.B[e](s,c,n)})))}catch(t){o(t,r)}}))}if(2&f){if(u.componentShouldUpdate&&!1===u.componentShouldUpdate(s,c,n)&&!(16&f))return;16&f||Tt(i,!1)}}},Yt=(t,n,o)=>{var s,l;const r=t.prototype;64&n.i&&1&o&&i.forEach((t=>{const n=r[t];Object.defineProperty(r,t,{value(...o){var s;const l=e(this),i=this;i?"function"==typeof n&&n.call(i,...o):null==(s=null==l?void 0:l.D)||s.then((e=>{const n=e[t];"function"==typeof n&&n.call(e,...o)}))}})}));{t.watchers&&!n.T&&(n.T=t.watchers),t.deserializers&&!n.P&&(n.P=t.deserializers),t.serializers&&!n.H&&(n.H=t.serializers);const o=Object.entries(null!=(s=n.t)?s:{});o.map((([t,[o]])=>{if(31&o||32&o){const{get:s,set:l}=Object.getOwnPropertyDescriptor(r,t)||{};s&&(n.t[t][0]|=2048),l&&(n.t[t][0]|=4096),Object.defineProperty(r,t,{get(){return s?s.apply(this):((t,n)=>e(this).l.get(n))(0,t)},configurable:!0,enumerable:!0}),Object.defineProperty(r,t,{set(s){const i=e(this);if(i){if(l)return void 0===(32&o?this[t]:i.$hostElement$[t])&&i.l.get(t)&&(s=i.l.get(t)),l.call(this,st(s,o,!!(64&n.i))),void zt(this,t,s=32&o?this[t]:i.$hostElement$[t],n);zt(this,t,s,n)}}})}}));{const s=new Map;r.attributeChangedCallback=function(t,l,i){f.jmp((()=>{var c;const f=s.get(t),u=e(this);if(this.hasOwnProperty(f),r.hasOwnProperty(f)&&"number"==typeof this[f]&&this[f]==i)return;if(null==f){const e=null==u?void 0:u.i;if(u&&e&&!(8&e)&&i!==l){const o=this,s=null==(c=n.T)?void 0:c[t];null==s||s.forEach((n=>{const[[s,r]]=Object.entries(n);null!=o[s]&&(128&e||1&r)&&o[s].call(o,i,l,t)}))}return}const a=o.find((([t])=>t===f));a&&4&a[1][0]&&(i=null!==i&&"false"!==i);const h=Object.getOwnPropertyDescriptor(r,f);i==this[f]||h.get&&!h.set||(this[f]=i)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=n.T)?l:{}),...o.filter((([t,e])=>31&e[0])).map((([t,e])=>{var o;const l=e[1]||t;return s.set(l,t),512&e[0]&&(null==(o=n._)||o.push([t,l])),l}))]))}}return t},It=(n,l)=>{const i={i:l[0],h:l[1]};try{i.t=l[2],i.T=n.T,i.P=n.P,i.H=n.H,i._=[],!(1&i.i)&&256&i.i?(t=>{A(t),M(t),T(t),F(t),P(t),L(t),B(t),D(t),H(t),U(t),R(t)})(n.prototype):A(n.prototype);const c=n.prototype.connectedCallback,a=n.prototype.disconnectedCallback;return Object.assign(n.prototype,{__hasHostListenerAttached:!1,__registerHost(){((e,n)=>{const o={i:0,$hostElement$:e,o:n,l:new Map,U:new Map};o.D=new Promise((t=>o.F=t)),e["s-p"]=[],e["s-rc"]=[];const s=o;e.__stencil__getHostRef=()=>s,512&n.i&&t(e,o)})(this,i)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!e(this))return;this.__hasHostListenerAttached=!0}(t=>{if(!(1&f.i)){const n=e(t);if(!n)return;const l=n.o,i=()=>{};if(1&n.i)(null==n?void 0:n.B)||(null==n?void 0:n.D)&&n.D.then((()=>{}));else{n.i|=1,12&l.i&&(t=>{if(!r.document)return;const e=t["s-cr"]=r.document.createComment("");e["s-cn"]=!0,Mt(t,e,t.firstChild)})(t);{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){Ft(n,n.M=e);break}}l.t&&Object.entries(l.t).map((([e,[n]])=>{if(31&n&&e in t&&t[e]!==Object.prototype[e]){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let l;try{if(!(32&e.i)&&(e.i|=32,l=t.constructor,customElements.whenDefined(t.localName).then((()=>e.i|=128)),l&&l.style)){let t;"string"==typeof l.style&&(t=l.style);const e=J(n);if(!s.has(e)){const o=()=>{};((t,e,n)=>{let o=s.get(t);u&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,s.set(t,o)})(e,t,!!(1&n.i)),o()}}const o=e.M,i=()=>Tt(e,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()}catch(n){o(n,t),e.A&&(e.A(),e.A=void 0),e.F&&e.F(t)}})(t,n,l)}i()}})(this),c&&c.call(this)},disconnectedCallback(){(async t=>{G.has(t)&&G.delete(t),t.shadowRoot&&G.has(t.shadowRoot)&&G.delete(t.shadowRoot)})(this),a&&a.call(this)},__attachShadow(){this.shadowRoot=this}}),Object.defineProperty(n,"is",{value:i.h,configurable:!0}),Yt(n,i,3)}catch(t){return o(t),n}},Zt=(t,e)=>e,Gt=globalThis.HTMLElement||class{};function Jt(...t){return t.reduceRight(((t,e)=>e(t)),Gt)}var Kt=t=>f.R=t,Qt=t=>Object.assign(f,t);function Xt(t,e){Rt({o:{i:0,h:e.tagName},$hostElement$:e},t)}function te(t){return t}export{Zt as F,tt as H,Jt as M,c as a,lt as c,$ as getAssetPath,Q as h,It as p,Xt as render,j as setAssetPath,Kt as setNonce,Qt as setPlatformOptions,te as t}
1
+ var t=(t,e)=>{var n;Object.entries(null!=(n=e.o.t)?n:{}).map((([n,[o]])=>{if(31&o||32&o){const o=t[n],s=function(t,e){for(;t;){const n=Object.getOwnPropertyDescriptor(t,e);if(null==n?void 0:n.get)return n;t=Object.getPrototypeOf(t)}}(Object.getPrototypeOf(t),n)||Object.getOwnPropertyDescriptor(t,n);s&&Object.defineProperty(t,n,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),t[n]=e.l.has(n)?e.l.get(n):o}}))},e=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},n=(t,e)=>e in t,o=(t,e)=>(0,console.error)(t,e),s=new Map,l="http://www.w3.org/1999/xlink",i=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],r="undefined"!=typeof window?window:{},c=r.HTMLElement||class{},f={i:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},u=(()=>{try{return!!r.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),a=!!u&&(()=>!!r.document&&Object.getOwnPropertyDescriptor(r.document.adoptedStyleSheets,"length").writable)(),h=!1,d=[],p=[],b=(t,e)=>n=>{t.push(n),h||(h=!0,e&&4&f.i?y(m):f.raf(m))},v=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){o(t)}t.length=0},m=()=>{v(d),v(p),(h=d.length>0)&&f.raf(m)},y=t=>Promise.resolve(void 0).then(t),g=b(p,!0),$=t=>{const e=new URL(t,f.u);return e.origin!==r.location.origin?e.href:e.pathname},j=t=>f.u=t,O=t=>{const e=Y(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&N(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!S(t,x(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&Y(t,"childNodes").length&&O(t)}},w=t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e};function N(t,e,n){let o,s=0,l=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!e||o["s-hn"]===e)&&(void 0===n||x(o)===n)&&(l.push(o),void 0!==n))return l;l=[...l,...N(o.childNodes,e,n)]}return l}var S=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)x(s)!==e||!n&&s["s-sr"]||o.push(s);return o},C=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,k=(t,e,n)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const o=document.createTextNode("");if(o["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const s=e["s-cr"].parentNode;Y(s,n?"prepend":"appendChild").call(s,o),t["s-ol"]=o,t["s-sh"]=e["s-hn"]},x=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function E(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function _(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=x(t)||"";return{slotNode:N(Y(e,"childNodes"),e.tagName,o)[0],slotName:o}}var A=t=>{if(t.__cloneNode)return;const e=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const n=e.call(this,!1);if(t){let t,e,o=0;const s=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],l=this.__childNodes||this.childNodes;for(;o<l.length;o++)t=l[o]["s-nr"],e=s.every((t=>!l[o][t])),t&&(n.__appendChild?n.__appendChild(t.cloneNode(!0)):n.appendChild(t.cloneNode(!0))),e&&n.appendChild(l[o].cloneNode(!0))}return n}},M=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=_(t,this);if(n){k(t,n);const o=S(n,e),s=o[o.length-1],l=Y(s,"parentNode"),i=Y(l,"insertBefore")(t,s.nextSibling);return E(n),O(this),i}return this.__appendChild(t)})},R=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&N(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void O(this)):this.__removeChild(t)})},F=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=x(e))||"",o=N(Y(this,"childNodes"),this.tagName,n)[0];if(o){k(e,o,!0);const t=S(o,n)[0],s=Y(t,"parentNode"),l=Y(s,"insertBefore")(e,Y(t,"nextSibling"));return E(o),l}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))})},T=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},L=t=>{if(t.__insertAdjacentHTML)return;const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},B=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},D=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=_(t,this),s=this.__childNodes?this.childNodes:w(this.childNodes);if(o){let l=!1;if(s.forEach((s=>{if(s!==e&&null!==e);else{if(l=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){k(t,o);const n=Y(e,"parentNode");Y(n,"insertBefore")(t,e),E(o)}}})),l)return t}const l=null==e?void 0:e.__parentNode;return l&&!this.isSameNode(l)?this.appendChild(t):this.__insertBefore(t,e)})},P=t=>{if(t.__insertAdjacentElement)return;const e=t.insertAdjacentElement;t.insertAdjacentElement=function(t,n){return"afterbegin"!==t&&"beforeend"!==t?e.call(this,t,n):"afterbegin"===t?(this.prepend(n),n):"beforeend"===t?(this.append(n),n):n}},H=t=>{z("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:w(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:w(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},U=t=>{class e extends Array{item(t){return this[t]}}z("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),z("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),z("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),z("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...w(this.__childNodes)),t}})},W=t=>{t&&!t.__parentNode&&(z("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},V=["children","nextElementSibling","previousElementSibling"],q=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function z(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;V.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):q.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function Y(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var I,Z,G=new WeakMap,J=t=>"sc-"+t.h,K=t=>"object"==(t=typeof t)||"function"===t,Q=(t,e,...n)=>{let o=null,s=null,l=null,i=!1,r=!1;const c=[],f=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?f(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!K(o))&&(o+=""),i&&r?c[c.length-1].p+=o:c.push(i?X(null,o):o),r=i)};if(f(n),e){e.key&&(s=e.key),e.name&&(l=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,et);const u=X(t,null);return u.v=e,c.length>0&&(u.m=c),u.$=s,u.j=l,u},X=(t,e)=>({i:0,O:t,p:null!=e?e:null,N:null,m:null,v:null,$:null,j:null}),tt={},et={forEach:(t,e)=>t.map(nt).forEach(e),map:(t,e)=>t.map(nt).map(e).map(ot)},nt=t=>({vattrs:t.v,vchildren:t.m,vkey:t.$,vname:t.j,vtag:t.O,vtext:t.p}),ot=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),Q(t.vtag,e,...t.vchildren||[])}const e=X(t.vtag,t.vtext);return e.v=t.vattrs,e.m=t.vchildren,e.$=t.vkey,e.j=t.vname,e},st=(t,e,n)=>null==t||K(t)?t:4&e?(n&&"string"==typeof t||"false"!==t)&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,lt=(t,e)=>{const n=t;return{emit:t=>it(n,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},it=(t,e,n)=>{const o=f.ce(e,n);return t.dispatchEvent(o),o},rt=(t,o,s,i,c,u)=>{if(s===i)return;let a=n(t,o),h=o.toLowerCase();if("class"===o){const e=t.classList,n=ft(s);let o=ft(i);e.remove(...n.filter((t=>t&&!o.includes(t)))),e.add(...o.filter((t=>t&&!n.includes(t))))}else if("style"===o){for(const e in s)i&&null!=i[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in i)s&&i[e]===s[e]||(e.includes("-")?t.style.setProperty(e,i[e]):t.style[e]=i[e])}else if("key"===o);else if("ref"===o)i&&At(i,t);else if(t.__lookupSetter__(o)||"o"!==o[0]||"n"!==o[1]){if("a"===o[0]&&o.startsWith("attr:")){const n=o.slice(5);let s;{const o=e(t);if(o&&o.o&&o.o.t){const t=o.o.t[n];t&&t[1]&&(s=t[1])}}return s||(s=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==i||!1===i?!1===i&&""!==t.getAttribute(s)||t.removeAttribute(s):t.setAttribute(s,!0===i?"":i))}if("p"===o[0]&&o.startsWith("prop:")){const e=o.slice(5);try{t[e]=i}catch(t){}return}{const e=K(i);if((a||e&&null!==i)&&!c)try{if(t.tagName.includes("-"))t[o]!==i&&(t[o]=i);else{const e=null==i?"":i;"list"===o?a=!1:null!=s&&t[o]===e||("function"==typeof t.__lookupSetter__(o)?t[o]=e:t.setAttribute(o,e))}}catch(t){}let n=!1;h!==(h=h.replace(/^xlink\:?/,""))&&(o=h,n=!0),null==i||!1===i?!1===i&&""!==t.getAttribute(o)||(n?t.removeAttributeNS(l,o):t.removeAttribute(o)):(!a||4&u||c)&&!e&&1===t.nodeType&&(i=!0===i?"":i,n?t.setAttributeNS(l,o,i):t.setAttribute(o,i))}}else if(o="-"===o[2]?o.slice(3):n(r,h)?h.slice(2):h[2]+o.slice(3),s||i){const e=o.endsWith(ut);o=o.replace(at,""),s&&f.rel(t,o,s,e),i&&f.ael(t,o,i,e)}},ct=/\s/,ft=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(ct):[]),ut="Capture",at=RegExp(ut+"$"),ht=(t,e,n)=>{const o=11===e.N.nodeType&&e.N.host?e.N.host:e.N,s=t&&t.v||{},l=e.v||{};for(const t of dt(Object.keys(s)))t in l||rt(o,t,s[t],void 0,n,e.i);for(const t of dt(Object.keys(l)))rt(o,t,s[t],l[t],n,e.i)};function dt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var pt=!1,bt=!1,vt=!1,mt=!1,yt=[],gt=[],$t=(t,e,n)=>{var o;const s=e.m[n];let l,i,c,f=0;if(pt||(vt=!0,"slot"===s.O&&(s.i|=s.m?2:1)),null!=s.p)l=s.N=r.document.createTextNode(s.p);else if(1&s.i)l=s.N=r.document.createTextNode(""),ht(null,s,mt);else{if(mt||(mt="svg"===s.O),!r.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=s.N=r.document.createElementNS(mt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!pt&&2&s.i?"slot-fb":s.O),mt&&"foreignObject"===s.O&&(mt=!1),ht(null,s,mt),s.m){const e="template"===s.O?l.content:l;for(f=0;f<s.m.length;++f)i=$t(t,s,f),i&&e.appendChild(i)}"svg"===s.O?mt=!1:"foreignObject"===l.tagName&&(mt=!0)}return l["s-hn"]=Z,3&s.i&&(l["s-sr"]=!0,l["s-cr"]=I,l["s-sn"]=s.j||"",l["s-rf"]=null==(o=s.v)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],o=this["s-sn"];(null==t?void 0:t.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 ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:w(s.childNodes)).forEach((t=>{o===x(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}(l),c=t&&t.m&&t.m[n],c&&c.O===s.O&&t.N&&jt(t.N)),l},jt=t=>{f.i|=1;const e=t.closest(Z.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&(Mt(e,t,null!=n?n:null),t["s-sh"]=void 0,vt=!0)}f.i&=-2},Ot=(t,e)=>{f.i|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===Z&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==Z&&o["s-ol"]&&(Mt(Ct(o).parentNode,o,Ct(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,vt=!0),e&&Ot(o,e)}f.i&=-2},wt=(t,e,n,o,s,l)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for("template"===n.O&&(r=r.content);s<=l;++s)o[s]&&(i=$t(null,n,s),i&&(o[s].N=i,Mt(r,i,Ct(e))))},Nt=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.N;_t(e),t&&(bt=!0,t["s-ol"]?t["s-ol"].remove():Ot(t,!0),t.remove())}}},St=(t,e,n=!1)=>t.O===e.O&&("slot"===t.O?t.j===e.j:n?(n&&!t.$&&e.$&&(t.$=e.$),!0):t.$===e.$),Ct=t=>t&&t["s-ol"]||t,kt=(t,e,n=!1)=>{const o=e.N=t.N,s=t.m,l=e.m,i=e.O,r=e.p;let c;null==r?(mt="svg"===i||"foreignObject"!==i&&mt,"slot"!==i||pt||t.j!==e.j&&(e.N["s-sn"]=e.j||"",jt(e.N.parentElement)),ht(t,e,mt),null!==s&&null!==l?((t,e,n,o,s=!1)=>{let l,i,r=0,c=0,f=0,u=0,a=e.length-1,h=e[0],d=e[a],p=o.length-1,b=o[0],v=o[p];const m="template"===n.O?t.content:t;for(;r<=a&&c<=p;)if(null==h)h=e[++r];else if(null==d)d=e[--a];else if(null==b)b=o[++c];else if(null==v)v=o[--p];else if(St(h,b,s))kt(h,b,s),h=e[++r],b=o[++c];else if(St(d,v,s))kt(d,v,s),d=e[--a],v=o[--p];else if(St(h,v,s))"slot"!==h.O&&"slot"!==v.O||Ot(h.N.parentNode,!1),kt(h,v,s),Mt(m,h.N,d.N.nextSibling),h=e[++r],v=o[--p];else if(St(d,b,s))"slot"!==h.O&&"slot"!==v.O||Ot(d.N.parentNode,!1),kt(d,b,s),Mt(m,d.N,h.N),d=e[--a],b=o[++c];else{for(f=-1,u=r;u<=a;++u)if(e[u]&&null!==e[u].$&&e[u].$===b.$){f=u;break}f>=0?(i=e[f],i.O!==b.O?l=$t(e&&e[c],n,f):(kt(i,b,s),e[f]=void 0,l=i.N),b=o[++c]):(l=$t(e&&e[c],n,c),b=o[++c]),l&&Mt(Ct(h.N).parentNode,l,Ct(h.N))}r>a?wt(t,null==o[p+1]?null:o[p+1].N,n,o,c,p):c>p&&Nt(e,r,a)})(o,s,e,l,n):null!==l?(null!==t.p&&(o.textContent=""),wt(o,null,e,l,0,l.length-1)):!n&&null!==s&&Nt(s,0,s.length-1),mt&&"svg"===i&&(mt=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.p!==r&&(o.data=r)},xt=[],Et=t=>{let e,n,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const s=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===t["s-hn"]||e["s-sh"]&&e["s-sh"]===t["s-hn"]))if(C(e,s)){let n=xt.find((t=>t.S===e));bt=!0,e["s-sn"]=e["s-sn"]||s,n?(n.S["s-sh"]=t["s-hn"],n.C=t):(e["s-sh"]=t["s-hn"],xt.push({C:t,S:e})),e["s-sr"]&&xt.map((t=>{C(t.S,e["s-sn"])&&(n=xt.find((t=>t.S===e)),n&&!t.C&&(t.C=n.C))}))}else xt.some((t=>t.S===e))||xt.push({S:e})}1===t.nodeType&&Et(t)}},_t=t=>{t.v&&t.v.ref&&yt.push((()=>t.v.ref(null))),t.m&&t.m.map(_t)},At=(t,e)=>{gt.push((()=>t(e)))},Mt=(t,e,n,o)=>{if("string"==typeof e["s-sn"]){11!==t.getRootNode().nodeType&&W(e),t.insertBefore(e,n);const{slotNode:s}=_(e);return s&&!o&&E(s),e}return t.__insertBefore?t.__insertBefore(e,n):null==t?void 0:t.insertBefore(e,n)},Rt=(t,e,n=!1)=>{var o,s,l,i,c;const u=t.$hostElement$,a=t.o,h=t.k||X(null,null),d=(t=>t&&t.O===tt)(e)?e:Q(null,null,e);if(Z=u.tagName,a._&&(d.v=d.v||{},a._.forEach((([t,e])=>{d.v[e]=u[t]}))),n&&d.v)for(const t of Object.keys(d.v))u.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(d.v[t]=u[t]);if(d.O=null,d.i|=4,t.k=d,d.N=h.N=u,pt=false,I=u["s-cr"],bt=!1,kt(h,d,n),f.i|=1,vt){Et(d.N);for(const t of xt){const e=t.S;if(!e["s-ol"]&&r.document){const t=r.document.createTextNode("");t["s-nr"]=e,Mt(e.parentNode,e["s-ol"]=t,e,n)}}for(const t of xt){const e=t.S,c=t.C;if(1===e.nodeType&&n&&(e["s-ih"]=null!=(o=e.hidden)&&o),c){const t=c.parentNode;let o=c.nextSibling;if(o&&1===o.nodeType){let n=null==(s=e["s-ol"])?void 0:s.previousSibling;for(;n;){let s=null!=(l=n["s-nr"])?l:null;if(s&&s["s-sn"]===e["s-sn"]&&t===(s.__parentNode||s.parentNode)){for(s=s.nextSibling;s===e||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){o=s;break}}n=n.previousSibling}}if((!o&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==o)&&e!==o){if(Mt(t,e,o,n),8===e.nodeType&&e.nodeValue.startsWith("s-nt-")){const t=r.document.createTextNode(e.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=e["s-hn"],t["s-sn"]=e["s-sn"],t["s-sh"]=e["s-sh"],t["s-sr"]=e["s-sr"],t["s-ol"]=e["s-ol"],t["s-ol"]["s-nr"]=t,Mt(e.parentNode,t,e,n),e.parentNode.removeChild(e)}1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(i=e["s-ih"])&&i)}e&&"function"==typeof c["s-rf"]&&c["s-rf"](c)}else 1===e.nodeType&&(e.hidden=!0)}}if(bt&&O(d.N),f.i&=-2,xt.length=0,!pt&&!(1&a.i)&&u["s-cr"]){const t=d.N.__childNodes||d.N.childNodes;for(const e of t)if(e["s-hn"]!==Z&&!e["s-sh"])if(n&&null==e["s-ih"]&&(e["s-ih"]=null!=(c=e.hidden)&&c),1===e.nodeType)e.hidden=!0;else if(3===e.nodeType&&e.nodeValue.trim()){const t=r.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],Mt(e.parentNode,t,e,n),e.parentNode.removeChild(e)}}I=void 0,yt.forEach((t=>t())),yt.length=0,gt.forEach((t=>t())),gt.length=0},Ft=(t,e)=>{if(e&&!t.A&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.A=()=>{e["s-p"].splice(n-1,1),o()})))}},Tt=(t,e)=>{if(t.i|=16,4&t.i)return void(t.i|=512);Ft(t,t.M);const n=()=>Lt(t,e);if(!e)return g(n);queueMicrotask((()=>{n()}))},Lt=(t,e)=>{const n=t.$hostElement$,o=n;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return s=Vt(o,e?"componentWillLoad":"componentWillUpdate",void 0,n),s=Bt(s,(()=>Vt(o,"componentWillRender",void 0,n))),Bt(s,(()=>Pt(t,o,e)))},Bt=(t,e)=>Dt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Dt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Pt=async(t,e,n)=>{var o;const l=t.$hostElement$,i=l["s-rc"];n&&(t=>{const e=t.o;((t,e)=>{var n,o,l;const i=J(e),c=s.get(i);if(!r.document)return i;if(t=11===t.nodeType?t:r.document,c)if("string"==typeof c){let s,l=G.get(t=t.head||t);if(l||G.set(t,l=new Set),!l.has(i)){s=r.document.createElement("style"),s.textContent=c;const h=null!=(n=f.R)?n:function(){var t,e,n;return null!=(n=null==(e=null==(t=r.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?n:void 0}();if(null!=h&&s.setAttribute("nonce",h),!(1&e.i))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(u){const e=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(c),a?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=c+e.textContent:t.prepend(s)}else t.append(s);1&e.i&&t.insertBefore(s,null),4&e.i&&(s.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),l&&l.add(i)}}else{let e=G.get(t);if(e||G.set(t,e=new Set),!e.has(i)){const n=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(c.constructor===n.CSSStyleSheet)o=c;else{o=new n.CSSStyleSheet;for(let t=0;t<c.cssRules.length;t++)o.insertRule(c.cssRules[t].cssText,t)}a?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],e.add(i)}}})(t.$hostElement$.getRootNode(),e)})(t);Ht(t,e,l,n),i&&(i.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>Ut(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.i|=4,e.length=0)}},Ht=(t,e,n,s)=>{try{e=e.render(),t.i&=-17,t.i|=2,Rt(t,e,s)}catch(e){o(e,t.$hostElement$)}return null},Ut=t=>{const e=t.$hostElement$,n=e,o=t.M;Vt(n,"componentDidRender",void 0,e),64&t.i?Vt(n,"componentDidUpdate",void 0,e):(t.i|=64,qt(e),Vt(n,"componentDidLoad",void 0,e),t.F(e),o||Wt()),t.A&&(t.A(),t.A=void 0),512&t.i&&y((()=>Tt(t,!1))),t.i&=-517},Wt=()=>{y((()=>it(r,"appload",{detail:{namespace:"boreal-web-components"}})))},Vt=(t,e,n,s)=>{if(t&&t[e])try{return t[e](n)}catch(t){o(t,s)}},qt=t=>t.classList.add("hydrated"),zt=(t,n,s,l)=>{const i=e(t);if(!i)return;const r=t,c=i.l.get(n),f=i.i,u=r;if(!((s=st(s,l.t[n][0],!!(64&l.i)))===c||Number.isNaN(c)&&Number.isNaN(s))){if(i.l.set(n,s),l.T){const t=l.T[n];t&&t.map((t=>{try{const[[e,o]]=Object.entries(t);(128&f||1&o)&&(u?u[e](s,c,n):i.L.push((()=>{i.B[e](s,c,n)})))}catch(t){o(t,r)}}))}if(2&f){if(u.componentShouldUpdate&&!1===u.componentShouldUpdate(s,c,n)&&!(16&f))return;16&f||Tt(i,!1)}}},Yt=(t,n,o)=>{var s,l;const r=t.prototype;64&n.i&&1&o&&i.forEach((t=>{const n=r[t];Object.defineProperty(r,t,{value(...o){var s;const l=e(this),i=this;i?"function"==typeof n&&n.call(i,...o):null==(s=null==l?void 0:l.D)||s.then((e=>{const n=e[t];"function"==typeof n&&n.call(e,...o)}))}})}));{t.watchers&&!n.T&&(n.T=t.watchers),t.deserializers&&!n.P&&(n.P=t.deserializers),t.serializers&&!n.H&&(n.H=t.serializers);const o=Object.entries(null!=(s=n.t)?s:{});o.map((([t,[o]])=>{if(31&o||32&o){const{get:s,set:l}=Object.getOwnPropertyDescriptor(r,t)||{};s&&(n.t[t][0]|=2048),l&&(n.t[t][0]|=4096),Object.defineProperty(r,t,{get(){return s?s.apply(this):((t,n)=>e(this).l.get(n))(0,t)},configurable:!0,enumerable:!0}),Object.defineProperty(r,t,{set(s){const i=e(this);if(i){if(l)return void 0===(32&o?this[t]:i.$hostElement$[t])&&i.l.get(t)&&(s=i.l.get(t)),l.call(this,st(s,o,!!(64&n.i))),void zt(this,t,s=32&o?this[t]:i.$hostElement$[t],n);zt(this,t,s,n)}}})}}));{const s=new Map;r.attributeChangedCallback=function(t,l,i){f.jmp((()=>{var c;const f=s.get(t),u=e(this);if(this.hasOwnProperty(f),r.hasOwnProperty(f)&&"number"==typeof this[f]&&this[f]==i)return;if(null==f){const e=null==u?void 0:u.i;if(u&&e&&!(8&e)&&i!==l){const o=this,s=null==(c=n.T)?void 0:c[t];null==s||s.forEach((n=>{const[[s,r]]=Object.entries(n);null!=o[s]&&(128&e||1&r)&&o[s].call(o,i,l,t)}))}return}const a=o.find((([t])=>t===f));a&&4&a[1][0]&&(i=null!==i&&"false"!==i);const h=Object.getOwnPropertyDescriptor(r,f);i==this[f]||h.get&&!h.set||(this[f]=i)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=n.T)?l:{}),...o.filter((([t,e])=>31&e[0])).map((([t,e])=>{var o;const l=e[1]||t;return s.set(l,t),512&e[0]&&(null==(o=n._)||o.push([t,l])),l}))]))}}return t},It=(n,l)=>{const i={i:l[0],h:l[1]};try{i.t=l[2],i.U=l[3],i.T=n.T,i.P=n.P,i.H=n.H,i._=[],!(1&i.i)&&256&i.i?(t=>{A(t),M(t),T(t),F(t),P(t),L(t),B(t),D(t),H(t),U(t),R(t)})(n.prototype):A(n.prototype);const c=n.prototype.connectedCallback,a=n.prototype.disconnectedCallback;return Object.assign(n.prototype,{__hasHostListenerAttached:!1,__registerHost(){((e,n)=>{const o={i:0,$hostElement$:e,o:n,l:new Map,W:new Map};o.D=new Promise((t=>o.F=t)),e["s-p"]=[],e["s-rc"]=[];const s=o;e.__stencil__getHostRef=()=>s,512&n.i&&t(e,o)})(this,i)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=e(this);if(!t)return;Gt(this,t,i.U),this.__hasHostListenerAttached=!0}(t=>{if(!(1&f.i)){const n=e(t);if(!n)return;const l=n.o,i=()=>{};if(1&n.i)Gt(t,n,l.U),(null==n?void 0:n.B)||(null==n?void 0:n.D)&&n.D.then((()=>{}));else{n.i|=1,12&l.i&&(t=>{if(!r.document)return;const e=t["s-cr"]=r.document.createComment("");e["s-cn"]=!0,Mt(t,e,t.firstChild)})(t);{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){Ft(n,n.M=e);break}}l.t&&Object.entries(l.t).map((([e,[n]])=>{if(31&n&&e in t&&t[e]!==Object.prototype[e]){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let l;try{if(!(32&e.i)&&(e.i|=32,l=t.constructor,customElements.whenDefined(t.localName).then((()=>e.i|=128)),l&&l.style)){let t;"string"==typeof l.style&&(t=l.style);const e=J(n);if(!s.has(e)){const o=()=>{};((t,e,n)=>{let o=s.get(t);u&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,s.set(t,o)})(e,t,!!(1&n.i)),o()}}const o=e.M,i=()=>Tt(e,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()}catch(n){o(n,t),e.A&&(e.A(),e.A=void 0),e.F&&e.F(t)}})(t,n,l)}i()}})(this),c&&c.call(this)},disconnectedCallback(){(async t=>{if(!(1&f.i)){const n=e(t);(null==n?void 0:n.V)&&(n.V.map((t=>t())),n.V=void 0)}G.has(t)&&G.delete(t),t.shadowRoot&&G.has(t.shadowRoot)&&G.delete(t.shadowRoot)})(this),a&&a.call(this)},__attachShadow(){this.shadowRoot=this}}),Object.defineProperty(n,"is",{value:i.h,configurable:!0}),Yt(n,i,3)}catch(t){return o(t),n}},Zt=(t,e)=>e,Gt=(t,e,n)=>{n&&r.document&&n.map((([n,o,s])=>{const l=t,i=Jt(e,s),r=Kt(n);f.ael(l,o,i,r),(e.V=e.V||[]).push((()=>f.rel(l,o,i,r)))}))},Jt=(t,e)=>n=>{try{t.$hostElement$[e](n)}catch(e){o(e,t.$hostElement$)}},Kt=t=>({passive:!!(1&t),capture:!!(2&t)}),Qt=globalThis.HTMLElement||class{};function Xt(...t){return t.reduceRight(((t,e)=>e(t)),Qt)}var te=t=>f.R=t,ee=t=>Object.assign(f,t);function ne(t,e){Rt({o:{i:0,h:e.tagName},$hostElement$:e},t)}function oe(t){return t}export{Zt as F,tt as H,Xt as M,c as a,lt as c,$ as getAssetPath,Q as h,It as p,ne as render,j as setAssetPath,te as setNonce,ee as setPlatformOptions,oe as t}
@@ -0,0 +1 @@
1
+ import{p as i,a as e,h as t,t as r}from"./index.js";import{v as s}from"./p-kGnB15Lz.js";const d={HORIZONTAL:"horizontal",VERTICAL:"vertical"},a=i(class extends e{constructor(i){super(),!1!==i&&this.__registerHost(),this.orientation=d.HORIZONTAL}checkPropValues(){s(Object.values(d),d.HORIZONTAL,this.el,"orientation")}get orientationClass(){return{"bds-divider":!0,[`bds-divider--${this.orientation}`]:!0}}componentWillLoad(){this.checkPropValues()}render(){return t("div",{key:"d89008b1a2cddddb925ee1e6e7c4cb7110ab6bd1",part:"divider",class:this.orientationClass,role:"separator","aria-orientation":this.orientation})}get el(){return this}static get watchers(){return{orientation:[{checkPropValues:0}]}}static get style(){return'@charset "UTF-8";bds-divider{}bds-divider[orientation=vertical]{display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch;margin-inline:var(--bds-divider-gap, 0px)}bds-divider[orientation=horizontal]{display:block;width:100%;margin-block:var(--bds-divider-gap, 0px)}.bds-divider{background-color:var(--bds-divider-color, var(--boreal-ui-default-lighter))}.bds-divider--horizontal{width:100%;height:var(--boreal-spacing-4xs)}.bds-divider--vertical{-ms-flex:1;flex:1;width:var(--boreal-spacing-4xs)}'}},[0,"bds-divider",{orientation:[513]},void 0,{orientation:[{checkPropValues:0}]}]);function o(){"undefined"!=typeof customElements&&["bds-divider"].forEach((i=>{"bds-divider"===i&&(customElements.get(r(i))||customElements.define(r(i),a))}))}export{a as B,o as d}
@@ -0,0 +1 @@
1
+ const e={DEFAULT:"default",ERROR:"error",DISABLED:"disabled",ACTIVE:"active"},E={NEUTRAL:"neutral",PENDING:"pending",IN_PROGRESS:"in-progress",COMPLETE:"complete",CANCEL:"cancel"},a={INFO:"info",SUCCESS:"success",WARNING:"warning",DANGER:"danger"};export{e as C,E as P,a as S}
@@ -0,0 +1 @@
1
+ const o={HORIZONTAL:"horizontal",VERTICAL:"vertical"};export{o as O}
@@ -0,0 +1 @@
1
+ import{p as o,a as t,c as r,h as b,t as a}from"./index.js";import{C as e}from"./p-Bfazyxqi.js";import{B as s,C as n,a as d,b as i}from"./p-Dh8DSJs_.js";import{v as u}from"./p-kGnB15Lz.js";const l=o(class extends t{constructor(o){super(),!1!==o&&this.__registerHost(),this.bdsClick=r(this,"bdsClick"),this.internals=this.attachInternals(),this.currentState=e.DEFAULT,this.label="",this.disabled=!1,this.name="",this.type=s.BUTTON,this.color=n.DEFAULT,this.variant=d.DEFAULT,this.size=i.MEDIUM,this.loading=!1,this.disclosure=!1,this.handleKeyDown=o=>{"Enter"!==o.key&&" "!==o.key||(this.currentState=e.ACTIVE,o.preventDefault(),this.handleClick(o))},this.handleKeyUp=()=>{this.currentState=e.DEFAULT},this.handleClick=o=>{o.preventDefault(),o.stopPropagation(),this.disabled||this.loading||(this.type===s.SUBMIT||this.type===s.RESET?this.processFormClick():this.bdsClick.emit(o))}}checkPropValues(){u(Object.values(s),s.BUTTON,this.el,"type"),u(Object.values(n),n.DEFAULT,this.el,"color"),u(Object.values(d),d.DEFAULT,this.el,"variant"),u(Object.values(i),i.MEDIUM,this.el,"size")}componentWillLoad(){this.checkPropValues()}componentDidLoad(){this.setupFormAssociation()}setupFormAssociation(){const o=this.el.closest("form");this.internalForm=(this.internals&&"form"in this.internals?this.internals.form:null)||o||void 0}processFormClick(){if(void 0===this.internalForm)return void console.warn("[BorealDS Button] No form found for submit/reset action. Please ensure the button is within a form or that the form is properly associated.");const o={[s.SUBMIT]:()=>{"function"==typeof this.internalForm?.requestSubmit?this.internalForm.requestSubmit():this.internalForm?.submit()},[s.RESET]:()=>this.internalForm?.reset()}[this.type];"function"==typeof o&&o()}get getClassMap(){return{"bds-button":!0,"bds-button--is-disabled":this.disabled,"bds-button--is-loading":this.loading,[`bds-button--state-${this.currentState}`]:!0,[`bds-button--${this.color}`]:!0,[`bds-button--var-${this.variant}`]:!0,[`bds-button--size-${this.size}`]:!0}}render(){return b("button",{key:"e1b3c4e0ae8662427a037f861cd57050051cc80a",name:this.name,class:this.getClassMap,type:this.type,disabled:this.disabled||this.loading,"aria-label":this.label||void 0,"aria-disabled":this.disabled||this.loading,onClick:this.handleClick,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp},b("div",{key:"24e37c5a359e19163411ab5ed7028eaa84caa2e5",class:"bds-button__content"},b("span",{key:"90f4956274656c46ca43f7a903c9947d89367aba",class:"bds-button__content-icon bds-button__content-icon--start"},b("slot",{key:"d4a5344f9e3ebd5279b5e25a8f1982d523e6d2b8",name:"icon"})),b("slot",{key:"14b26b5e5f3bbabb1b88596b721f7ea864df1b15"}),b("span",{key:"34cb88da064a6c74596a4bb477fb0a9d6880b391",class:"bds-button__content-badge"},b("slot",{key:"00775c4a742d49ca7f23d7dbe061f4333ed43907",name:"badge"})),this.disclosure&&b("span",{key:"0b959969969cf4c5a651b6c1488d35b1d0ec9b7b",class:"bds-button__content-icon"},b("i",{key:"316154f31f1f57b67e126d407b3596c60f532b1a",class:"bds-icon-chevron-down"}))))}static get formAssociated(){return!0}get el(){return this}static get watchers(){return{type:[{checkPropValues:0}],color:[{checkPropValues:0}],variant:[{checkPropValues:0}],size:[{checkPropValues:0}]}}static get style(){return'@charset "UTF-8";bds-button{position:relative;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.bds-button{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid transparent;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;-webkit-transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease;margin:var(--boreal-spacing-2xs) var(--boreal-spacing-3xs);outline:none;font-family:var(--boreal-typography-font-family-primary);font-weight:var(--boreal-typography-font-weight-semibold);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;vertical-align:middle}.bds-button .bds-button__content{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-2xs)}.bds-button--is-loading{pointer-events:none;position:relative;color:transparent !important}.bds-button--is-loading::after{position:absolute;content:" ";-webkit-box-sizing:inherit;box-sizing:inherit;-webkit-animation:rotateSpinner 0.5s linear infinite;animation:rotateSpinner 0.5s linear infinite;border-radius:9999px;display:block;height:1em;width:1em;rotate:45deg;left:calc(50% - 0.5em);top:calc(50% - 0.5em);border:3px solid;border-right-color:transparent;border-top-color:transparent}.bds-button--size-sm{border-radius:var(--boreal-radius-xs);font-size:var(--boreal-typography-font-size-xs);padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs);line-height:var(--boreal-typography-line-height-xs);height:26px}.bds-button--size-sm .bds-button__content{padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs)}.bds-button--size-sm .bds-button__content-icon{display:-ms-flexbox;display:flex;font-size:var(--boreal-typography-font-size-sm);line-height:var(--boreal-typography-line-height-xs)}.bds-button--size-sm .bds-button__content-icon:empty{display:none}.bds-button--size-sm .bds-button__content{}.bds-button--size-sm .bds-button__content-badge:empty{display:none}.bds-button--size-sm .bds-button__content-badge{display:none}.bds-button--size-md{border-radius:var(--boreal-radius-xs);font-size:var(--boreal-typography-font-size-sm);padding:var(--boreal-spacing-2xs) var(--boreal-spacing-1xs);line-height:var(--boreal-typography-line-height-sm);height:32px}.bds-button--size-md .bds-button__content{padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs)}.bds-button--size-md .bds-button__content-icon{display:-ms-flexbox;display:flex;font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-sm)}.bds-button--size-md .bds-button__content-icon:empty{display:none}.bds-button--size-md .bds-button__content{}.bds-button--size-md .bds-button__content-badge:empty{display:none}.bds-button--size-lg{border-radius:var(--boreal-radius-xs);font-size:var(--boreal-typography-font-size-md);padding:var(--boreal-spacing-xs);line-height:var(--boreal-typography-line-height-md);height:44px}.bds-button--size-lg .bds-button__content{padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs)}.bds-button--size-lg .bds-button__content-icon{display:-ms-flexbox;display:flex;font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-md)}.bds-button--size-lg .bds-button__content-icon:empty{display:none}.bds-button--size-lg .bds-button__content{}.bds-button--size-lg .bds-button__content-badge:empty{display:none}.bds-button.bds-button--var-default.bds-button--default{color:var(--boreal-text-default);background-color:var(--boreal-ui-inverse);border-color:transparent}.bds-button.bds-button--var-default.bds-button--default:hover{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-default.bds-button--default:focus{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-default.bds-button--default:active,.bds-button.bds-button--var-default.bds-button--default.bds-button--state-active{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset;box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset}.bds-button.bds-button--var-default.bds-button--default.bds-button--is-disabled,.bds-button.bds-button--var-default.bds-button--default.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-disabled);background-color:var(--boreal-ui-inverse);border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-default.bds-button--default.bds-button--is-loading::after{border-left-color:var(--boreal-text-disabled);border-bottom-color:var(--boreal-text-disabled)}.bds-button.bds-button--var-default.bds-button--primary{color:var(--boreal-text-inverse);background-color:var(--boreal-ui-primary-base);border-color:transparent}.bds-button.bds-button--var-default.bds-button--primary:hover{background-color:var(--boreal-ui-primary-dark);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-default.bds-button--primary:focus{background-color:var(--boreal-ui-primary-base);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-default.bds-button--primary:active,.bds-button.bds-button--var-default.bds-button--primary.bds-button--state-active{background-color:var(--boreal-ui-primary-dark);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-default.bds-button--primary.bds-button--is-disabled,.bds-button.bds-button--var-default.bds-button--primary.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-inverse);background-color:var(--boreal-ui-primary-light);border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-default.bds-button--primary.bds-button--is-loading::after{border-left-color:var(--boreal-text-inverse);border-bottom-color:var(--boreal-text-inverse)}.bds-button.bds-button--var-default.bds-button--success{color:var(--boreal-text-inverse);background-color:var(--boreal-ui-success-base);border-color:transparent}.bds-button.bds-button--var-default.bds-button--success:hover{background-color:var(--boreal-ui-success-dark);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-default.bds-button--success:focus{background-color:var(--boreal-ui-success-base);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-default.bds-button--success:active,.bds-button.bds-button--var-default.bds-button--success.bds-button--state-active{background-color:var(--boreal-ui-success-dark);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-default.bds-button--success.bds-button--is-disabled,.bds-button.bds-button--var-default.bds-button--success.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-inverse);background-color:var(--boreal-ui-success-light);border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-default.bds-button--success.bds-button--is-loading::after{border-left-color:var(--boreal-text-inverse);border-bottom-color:var(--boreal-text-inverse)}.bds-button.bds-button--var-default.bds-button--error{color:var(--boreal-text-inverse);background-color:var(--boreal-ui-danger-base);border-color:transparent}.bds-button.bds-button--var-default.bds-button--error:hover{background-color:var(--boreal-ui-danger-dark);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-default.bds-button--error:focus{background-color:var(--boreal-ui-danger-base);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-default.bds-button--error:active,.bds-button.bds-button--var-default.bds-button--error.bds-button--state-active{background-color:var(--boreal-ui-danger-dark);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-default.bds-button--error.bds-button--is-disabled,.bds-button.bds-button--var-default.bds-button--error.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-inverse);background-color:var(--boreal-ui-danger-light);border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-default.bds-button--error.bds-button--is-loading::after{border-left-color:var(--boreal-text-inverse);border-bottom-color:var(--boreal-text-inverse)}.bds-button.bds-button--var-outline{background-color:transparent}.bds-button.bds-button--var-outline.bds-button--default{color:var(--boreal-text-default);background-color:transparent;border-color:var(--boreal-stroke-default-light)}.bds-button.bds-button--var-outline.bds-button--default:hover{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-outline.bds-button--default:focus{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--default:active,.bds-button.bds-button--var-outline.bds-button--default.bds-button--state-active{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--default.bds-button--is-disabled,.bds-button.bds-button--var-outline.bds-button--default.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-disabled);background-color:var(--boreal-ui-inverse);border-color:var(--boreal-stroke-default-light);-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-outline.bds-button--default.bds-button--is-loading::after{border-left-color:var(--boreal-text-disabled);border-bottom-color:var(--boreal-text-disabled)}.bds-button.bds-button--var-outline.bds-button--primary{color:var(--boreal-text-primary-base);background-color:transparent;border-color:var(--boreal-ui-primary-base)}.bds-button.bds-button--var-outline.bds-button--primary:hover{background-color:var(--boreal-ui-primary-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-outline.bds-button--primary:focus{background-color:var(--boreal-ui-primary-lighter);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--primary:active,.bds-button.bds-button--var-outline.bds-button--primary.bds-button--state-active{background-color:var(--boreal-ui-primary-lighter);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--primary.bds-button--is-disabled,.bds-button.bds-button--var-outline.bds-button--primary.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-primary-light);background-color:transparent;border-color:var(--boreal-stroke-primary-light);-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-outline.bds-button--primary.bds-button--is-loading::after{border-left-color:var(--boreal-text-primary-light);border-bottom-color:var(--boreal-text-primary-light)}.bds-button.bds-button--var-outline.bds-button--success{color:var(--boreal-text-success-base);background-color:transparent;border-color:var(--boreal-stroke-success-base)}.bds-button.bds-button--var-outline.bds-button--success:hover{background-color:var(--boreal-ui-success-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-outline.bds-button--success:focus{background-color:var(--boreal-ui-success-lighter);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--success:active,.bds-button.bds-button--var-outline.bds-button--success.bds-button--state-active{background-color:var(--boreal-ui-success-lighter);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--success.bds-button--is-disabled,.bds-button.bds-button--var-outline.bds-button--success.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-success-light);background-color:transparent;border-color:var(--boreal-stroke-success-light);-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-outline.bds-button--success.bds-button--is-loading::after{border-left-color:var(--boreal-text-success-light);border-bottom-color:var(--boreal-text-success-light)}.bds-button.bds-button--var-outline.bds-button--error{color:var(--boreal-text-danger-base);background-color:transparent;border-color:var(--boreal-stroke-danger-base)}.bds-button.bds-button--var-outline.bds-button--error:hover{background-color:var(--boreal-ui-danger-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-outline.bds-button--error:focus{background-color:var(--boreal-ui-danger-lighter);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--error:active,.bds-button.bds-button--var-outline.bds-button--error.bds-button--state-active{background-color:var(--boreal-ui-danger-lighter);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--error.bds-button--is-disabled,.bds-button.bds-button--var-outline.bds-button--error.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-danger-light);background-color:transparent;border-color:var(--boreal-stroke-danger-light);-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-outline.bds-button--error.bds-button--is-loading::after{border-left-color:var(--boreal-text-danger-light);border-bottom-color:var(--boreal-text-danger-light)}.bds-button.bds-button--var-plain{background-color:transparent}.bds-button.bds-button--var-plain.bds-button--default{color:var(--boreal-text-default);background-color:transparent;border-color:transparent}.bds-button.bds-button--var-plain.bds-button--default:hover{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-plain.bds-button--default:focus{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-plain.bds-button--default:active,.bds-button.bds-button--var-plain.bds-button--default.bds-button--state-active{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset;box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset}.bds-button.bds-button--var-plain.bds-button--default.bds-button--is-disabled,.bds-button.bds-button--var-plain.bds-button--default.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-disabled);background-color:var(--boreal-ui-inverse);border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-plain.bds-button--default.bds-button--is-loading::after{border-left-color:var(--boreal-text-disabled);border-bottom-color:var(--boreal-text-disabled)}.bds-button.bds-button--var-plain.bds-button--primary{color:var(--boreal-text-primary-base);background-color:transparent;border-color:transparent}.bds-button.bds-button--var-plain.bds-button--primary:hover{background-color:var(--boreal-ui-primary-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-plain.bds-button--primary:focus{background-color:var(--boreal-ui-primary-lighter);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-plain.bds-button--primary:active,.bds-button.bds-button--var-plain.bds-button--primary.bds-button--state-active{background-color:var(--boreal-ui-primary-lighter);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset;box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset}.bds-button.bds-button--var-plain.bds-button--primary.bds-button--is-disabled,.bds-button.bds-button--var-plain.bds-button--primary.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-primary-light);background-color:transparent;border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-plain.bds-button--primary.bds-button--is-loading::after{border-left-color:var(--boreal-text-primary-light);border-bottom-color:var(--boreal-text-primary-light)}.bds-button.bds-button--var-plain.bds-button--success{color:var(--boreal-text-success-base);background-color:transparent;border-color:transparent}.bds-button.bds-button--var-plain.bds-button--success:hover{background-color:var(--boreal-ui-success-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-plain.bds-button--success:focus{background-color:var(--boreal-ui-success-lighter);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-plain.bds-button--success:active,.bds-button.bds-button--var-plain.bds-button--success.bds-button--state-active{background-color:var(--boreal-ui-success-lighter);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset;box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset}.bds-button.bds-button--var-plain.bds-button--success.bds-button--is-disabled,.bds-button.bds-button--var-plain.bds-button--success.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-success-light);background-color:transparent;border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-plain.bds-button--success.bds-button--is-loading::after{border-left-color:var(--boreal-text-success-light);border-bottom-color:var(--boreal-text-success-light)}.bds-button.bds-button--var-plain.bds-button--error{color:var(--boreal-text-danger-base);background-color:transparent;border-color:transparent}.bds-button.bds-button--var-plain.bds-button--error:hover{background-color:var(--boreal-ui-danger-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-plain.bds-button--error:focus{background-color:var(--boreal-ui-danger-lighter);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-plain.bds-button--error:active,.bds-button.bds-button--var-plain.bds-button--error.bds-button--state-active{background-color:var(--boreal-ui-danger-lighter);-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset;box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset}.bds-button.bds-button--var-plain.bds-button--error.bds-button--is-disabled,.bds-button.bds-button--var-plain.bds-button--error.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-danger-light);background-color:transparent;border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-plain.bds-button--error.bds-button--is-loading::after{border-left-color:var(--boreal-text-danger-light);border-bottom-color:var(--boreal-text-danger-light)}@-webkit-keyframes rotateSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotateSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}'}},[324,"bds-button",{label:[1],disabled:[4],name:[1],type:[1],color:[1],variant:[1],size:[1],loading:[4],disclosure:[4],currentState:[32]},void 0,{type:[{checkPropValues:0}],color:[{checkPropValues:0}],variant:[{checkPropValues:0}],size:[{checkPropValues:0}]}]);function c(){"undefined"!=typeof customElements&&["bds-button"].forEach((o=>{"bds-button"===o&&(customElements.get(a(o))||customElements.define(a(o),l))}))}export{l as B,c as d}
@@ -0,0 +1 @@
1
+ import{p as e,M as o,c as s,h as r,H as c,t as b}from"./index.js";import{f as a}from"./p-nxYzL9uu.js";import{s as t}from"./p-DfaYciGa.js";import{i}from"./p-fUK0GCeC.js";const d=e(class extends(o(a)){constructor(e){super(!1),!1!==e&&this.__registerHost(),this.valueChange=s(this,"valueChange"),this.bdsChange=s(this,"bdsChange"),this.internals=this.attachInternals(),this.inheritedAttributes={},this.isDisabled=!1,this.disabled=!1,this.required=!1,this.checked=!1,this.indeterminate=!1,this.error=!1,this.value="on",this.label="",this.handleClick=()=>{this.toggle()},this.handleKeyDown=e=>{" "===e.key&&(e.preventDefault(),this.toggle())}}componentWillLoad(){this.isDisabled=this.disabled,this.inheritedAttributes={...i(this.el)},this.syncFormValue()}onCheckedChange(){this.syncFormValue()}onDisabledChange(e){this.isDisabled=e}formAssociatedCallback(){this.syncFormValue()}formResetCallback(){this.checked=!1,this.indeterminate=!1,t(this.internals,null)}formStateRestoreCallback(e,o){this.checked=e===this.value,this.syncFormValue()}formDisabledCallback(e){this.isDisabled=e}syncFormValue(){t(this.internals,this.checked?this.value:null)}toggle(){this.isDisabled||(this.indeterminate=!1,this.checked=!this.checked,this.valueChange.emit(this.checked),this.bdsChange.emit({checked:this.checked,value:this.value}))}getAriaChecked(){return this.indeterminate?"mixed":this.checked?"true":"false"}get hideFromScreenReaders(){return null!==this.el.closest("bds-checkbox-card")||this.isDisabled}renderCheckIcon(){return this.indeterminate?r("svg",{class:"bds-checkbox__icon",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r("path",{d:"M4 8h8",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})):this.checked?r("svg",{class:"bds-checkbox__icon",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r("path",{d:"M3.5 8.5L6.5 11.5L12.5 4.5",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})):null}get canShowLabel(){return null!=this.label}render(){return r(c,{key:"d5346e9f5943d81df215268f2c9ad3253941c3c8",class:{"bds-checkbox":!0,"bds-checkbox--checked":this.checked,"bds-checkbox--indeterminate":this.indeterminate,"bds-checkbox--error":this.error,"bds-checkbox--disabled":this.isDisabled},...this.inheritedAttributes,role:"checkbox","aria-checked":this.getAriaChecked(),"aria-disabled":this.isDisabled?"true":null,"aria-hidden":this.hideFromScreenReaders?"true":null,tabindex:this.hideFromScreenReaders?-1:0,onClick:this.handleClick,onKeyDown:this.handleKeyDown},r("span",{key:"217759044655c827609956b4d574fce3ce90c996",class:"bds-checkbox__box"},this.renderCheckIcon()),this.canShowLabel&&r("span",{key:"47b8120c25700fe6e07e8d626c0acb28ac9387d7",class:"bds-checkbox__label"},""!==this.label.trim()?this.label:r("slot",null)))}static get formAssociated(){return!0}get el(){return this}static get watchers(){return{checked:[{onCheckedChange:0}],disabled:[{onDisabledChange:0}]}}static get style(){return'@charset "UTF-8";bds-checkbox{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;gap:8px;cursor:pointer;outline:none}bds-checkbox .bds-checkbox__label{font-family:var(--boreal-typography-font-family-primary)}bds-checkbox .bds-checkbox__box{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:var(--boreal-layout-m);height:var(--boreal-layout-m);border:var(--boreal-spacing-4xs) solid var(--boreal-stroke-default-light);background:transparent;-webkit-transition:all 0.2s ease;transition:all 0.2s ease;border-radius:4px}bds-checkbox:hover .bds-checkbox__box{border-color:var(--boreal-stroke-default-light)}bds-checkbox:focus-visible .bds-checkbox__box{border-color:var(--boreal-stroke-focus);outline:2px solid var(--boreal-stroke-focus);outline-offset:1px}bds-checkbox:active .bds-checkbox__box{border-color:var(--boreal-stroke-default-light);background:var(--boreal-bg-neutral);outline:2px solid var(--boreal-stroke-primary-light)}bds-checkbox.bds-checkbox--checked .bds-checkbox__box{border-color:var(--boreal-ui-primary-base);background:var(--boreal-ui-primary-base);color:var(--boreal-ui-inverse)}bds-checkbox.bds-checkbox--checked:hover .bds-checkbox__box{border-color:var(--boreal-ui-primary-dark);background:var(--boreal-ui-primary-dark)}bds-checkbox.bds-checkbox--checked:focus-visible .bds-checkbox__box{border-color:var(--boreal-ui-primary-base);background:var(--boreal-ui-primary-base);outline:2px solid var(--boreal-stroke-focus)}bds-checkbox.bds-checkbox--checked:active .bds-checkbox__box{border-color:var(--boreal-ui-primary-dark);background:var(--boreal-ui-primary-dark)}bds-checkbox.bds-checkbox--error .bds-checkbox__box{border-color:var(--boreal-stroke-danger-base)}bds-checkbox.bds-checkbox--error.bds-checkbox--checked .bds-checkbox__box,bds-checkbox.bds-checkbox--error.bds-checkbox--indeterminate .bds-checkbox__box{color:var(--boreal-ui-inverse);border-color:var(--boreal-stroke-danger-base);background:var(--boreal-stroke-danger-base)}bds-checkbox.bds-checkbox--disabled{pointer-events:none}bds-checkbox.bds-checkbox--disabled .bds-checkbox__box{border-color:var(--boreal-stroke-default-light);background:var(--boreal-bg-neutral)}bds-checkbox.bds-checkbox--disabled .bds-checkbox__label{color:var(--boreal-text-disabled)}bds-checkbox.bds-checkbox--disabled.bds-checkbox--checked .bds-checkbox__box,bds-checkbox.bds-checkbox--disabled.bds-checkbox--indeterminate .bds-checkbox__box{border-color:var(--boreal-ui-primary-light);background:var(--boreal-ui-primary-light);color:#fff}'}},[836,"bds-checkbox",{name:[513],disabled:[516],required:[516],checked:[1540],indeterminate:[1540],error:[516],value:[1],label:[1],isDisabled:[32]},void 0,{checked:[{onCheckedChange:0}],disabled:[{onDisabledChange:0}]}]);function h(){"undefined"!=typeof customElements&&["bds-checkbox"].forEach((e=>{"bds-checkbox"===e&&(customElements.get(b(e))||customElements.define(b(e),d))}))}export{d as B,h as d}
@@ -0,0 +1 @@
1
+ function s(s,t){s.setFormValue?.(t)}function t(s,t,n){const o={};let e="";for(const{key:s,isValid:c,message:r}of t)c(n)||(o[s]=!0,""===e&&(e=r));const c=0===Object.keys(o).length;return s.setValidity?.(c?{}:o,e),c}export{t as r,s}
@@ -0,0 +1 @@
1
+ const s={DEFAULT:"default",OUTLINE:"outline",PLAIN:"plain"},a={SMALL:"sm",MEDIUM:"md",LARGE:"lg"},t={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},E={DEFAULT:"default",PRIMARY:"primary",SUCCESS:"success",ERROR:"error"};export{t as B,E as C,s as a,a as b}
@@ -0,0 +1 @@
1
+ function t(t="bds"){return`${t}-${Math.random().toString(36).substr(2,9)}`}export{t as c}
@@ -0,0 +1 @@
1
+ import{p as t,M as o,h as e,H as i,t as r}from"./index.js";import{a,g as s}from"./p-bAMuJ4Jx.js";const l=t(class extends(o(a)){constructor(t){super(!1),!1!==t&&this.__registerHost(),this.multiline=!1,this.disabled=!1,this.floatingOptions={},this.isVisible=!1}get options(){return{placement:this.floatingOptions.placement??"top",offset:s(this.floatingOptions?.hideArrow,this.floatingOptions.offset,4),arrow:this.floatingOptions.hideArrow?void 0:this.arrowElement,strategy:"fixed"}}get hooks(){return{onPositionUpdate:t=>this.handlePosition(t),onBeforeShow:()=>this.validateShow(),onBeforeHide:t=>this.validateHide(t),subscribeToTrigger:t=>this.subscribe(t)}}get canShowArrow(){return!this.floatingOptions.hideArrow||!1}get getPlacement(){return this.floatingOptions.placement||"top"}validateShow(){return!this.disabled}validateHide(t){return!this.floatingOptions.stayOnHover||void 0===t||!t.isConnected||!this.floatingContent.contains(t)&&this.floatingContent!==t}handlePosition(t){this.floatingContent.setAttribute("data-placement",t.placement),this.setArrowPosition(t)}setArrowPosition(t){if(t.middlewareData?.arrow&&!this.disabled&&this.arrowElement?.isConnected){const{x:o,y:e}=t.middlewareData.arrow;Object.assign(this.arrowElement.style,{left:null!=o?`${o}px`:"",top:null!=e?`${e}px`:""})}}get hasMultiline(){return void 0!==this.multiline&&this.multiline}get tooltipStyles(){return{"tooltip-content":!0,"tooltip-content--multiline":this.hasMultiline}}subscribe(t){void 0!==t&&(t.setAttribute("part","tooltip-trigger"),t.setAttribute("ariaDescribedBy","tooltip-content"),t.addEventListener("mouseenter",(()=>this.show())),t.addEventListener("mouseleave",(t=>this.hide(t.target))))}render(){return e(i,{key:"add483ba4072484f1f6d18271ecb74c46a449f41",class:"tooltip"},e("div",{key:"ede2a5f6230a4baacb36c24dd57be73fda63e438",id:"tooltip-content",part:"tooltip-content",class:this.tooltipStyles,popover:"manual",role:"tooltip","aria-hidden":this.isVisible?"false":"true","data-placement":this.getPlacement,"data-multiline":this.multiline,"data-hidearrow":this.canShowArrow,ref:t=>this.floatingContent=t},this.canShowArrow&&e("div",{key:"c8580171bc2c01eaca84aa1a029dce6f429359f8",class:"tooltip-arrow",part:"arrow",ref:t=>this.arrowElement=t}),e("slot",{key:"10ead9bb5007414959d4aeacd8c0c1c52223f70d"})))}get el(){return this}static get style(){return'@charset "UTF-8";:root{--tooltip-arrow-size:var(--boreal-spacing-s);--tooltip-width:320px}.tooltip-content{position:fixed;margin:0;overflow:visible;border-radius:var(--boreal-radius-xs2);background:var(--boreal-ui-black);color:var(--boreal-text-inverse);padding:var(--boreal-spacing-2xs) var(--boreal-spacing-s);font-size:var(--boreal-typography-font-size-xs);line-height:var(--boreal-typography-line-height-xs);font-family:var(--boreal-typography-font-family-primary);border:var(--boreal-spacing-2xs) solid var(--boreal-ui-black);font-weight:var(--boreal-typography-font-weight-regular)}.tooltip-content--multiline{white-space:normal;max-width:var(--tooltip-width, 320px);word-break:break-word;text-align:center}.tooltip-arrow{position:absolute;width:var(--tooltip-arrow-size);height:var(--tooltip-arrow-size);pointer-events:none;z-index:-1}.tooltip-arrow::before{content:"";position:absolute;width:var(--tooltip-arrow-size);height:var(--tooltip-arrow-size);background:var(--boreal-ui-black);-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform-origin:center;transform-origin:center;inset:0}.tooltip-content[data-placement^=top] .tooltip-arrow{bottom:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=bottom] .tooltip-arrow{top:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=left] .tooltip-arrow{right:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=right] .tooltip-arrow{left:calc(var(--tooltip-arrow-size) / -2)}'}},[772,"bds-tooltip",{multiline:[4],disabled:[4],floatingOptions:[16],isVisible:[32]}]);function n(){"undefined"!=typeof customElements&&["bds-tooltip"].forEach((t=>{"bds-tooltip"===t&&(customElements.get(r(t))||customElements.define(r(t),l))}))}export{l as B,n as d}
@@ -0,0 +1 @@
1
+ import{L as t}from"./p-iq2UuV7c.js";import{f as n}from"./p-DCXSEEVH.js";const e="focus",o="blur",i={Enter:"Enter",Escape:"Escape",Space:" ",ArrowUp:"ArrowUp",ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight"},r=Math.min,s=Math.max,l=Math.round,a=Math.floor,c=t=>({x:t,y:t}),u={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function d(t,n,e){return s(t,r(n,e))}function h(t,n){return"function"==typeof t?t(n):t}function p(t){return t.split("-")[0]}function m(t){return t.split("-")[1]}function y(t){return"x"===t?"y":"x"}function w(t){return"y"===t?"height":"width"}const g=new Set(["top","bottom"]);function x(t){return g.has(p(t))?"y":"x"}function v(t){return y(x(t))}function b(t){return t.replace(/start|end/g,(t=>f[t]))}const A=["left","right"],S=["right","left"],F=["top","bottom"],R=["bottom","top"];function D(t){return t.replace(/left|right|bottom|top/g,(t=>u[t]))}function P(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function E(t){const{x:n,y:e,width:o,height:i}=t;return{width:o,height:i,top:e,left:n,right:n+o,bottom:e+i,x:n,y:e}}function L(t,n,e){let{reference:o,floating:i}=t;const r=x(n),s=v(n),l=w(s),a=p(n),c="y"===r,u=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,d=o[l]/2-i[l]/2;let h;switch(a){case"top":h={x:u,y:o.y-i.height};break;case"bottom":h={x:u,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:f};break;case"left":h={x:o.x-i.width,y:f};break;default:h={x:o.x,y:o.y}}switch(m(n)){case"start":h[s]-=d*(e&&c?-1:1);break;case"end":h[s]+=d*(e&&c?-1:1)}return h}async function k(t,n){var e;void 0===n&&(n={});const{x:o,y:i,platform:r,rects:s,elements:l,strategy:a}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=h(n,t),m=P(p),y=l[d?"floating"===f?"reference":"floating":f],w=E(await r.getClippingRect({element:null==(e=await(null==r.isElement?void 0:r.isElement(y)))||e?y:y.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:a})),g="floating"===f?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,x=await(null==r.getOffsetParent?void 0:r.getOffsetParent(l.floating)),v=await(null==r.isElement?void 0:r.isElement(x))&&await(null==r.getScale?void 0:r.getScale(x))||{x:1,y:1},b=E(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:x,strategy:a}):g);return{top:(w.top-b.top+m.top)/v.y,bottom:(b.bottom-w.bottom+m.bottom)/v.y,left:(w.left-b.left+m.left)/v.x,right:(b.right-w.right+m.right)/v.x}}const T=new Set(["left","top"]);function C(){return"undefined"!=typeof window}function O(t){return z(t)?(t.nodeName||"").toLowerCase():"#document"}function M(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function q(t){var n;return null==(n=(z(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function z(t){return!!C()&&(t instanceof Node||t instanceof M(t).Node)}function B(t){return!!C()&&(t instanceof Element||t instanceof M(t).Element)}function U(t){return!!C()&&(t instanceof HTMLElement||t instanceof M(t).HTMLElement)}function j(t){return!(!C()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof M(t).ShadowRoot)}const $=new Set(["inline","contents"]);function H(t){const{overflow:n,overflowX:e,overflowY:o,display:i}=Z(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!$.has(i)}const I=new Set(["table","td","th"]);function N(t){return I.has(O(t))}const V=[":popover-open",":modal"];function K(t){return V.some((n=>{try{return t.matches(n)}catch(t){return!1}}))}const W=["transform","translate","scale","rotate","perspective"],X=["transform","translate","scale","rotate","perspective","filter"],Y=["paint","layout","strict","content"];function _(t){const n=G(),e=B(t)?Z(t):t;return W.some((t=>!!e[t]&&"none"!==e[t]))||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||X.some((t=>(e.willChange||"").includes(t)))||Y.some((t=>(e.contain||"").includes(t)))}function G(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const J=new Set(["html","body","#document"]);function Q(t){return J.has(O(t))}function Z(t){return M(t).getComputedStyle(t)}function tt(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function nt(t){if("html"===O(t))return t;const n=t.assignedSlot||t.parentNode||j(t)&&t.host||q(t);return j(n)?n.host:n}function et(t){const n=nt(t);return Q(n)?t.ownerDocument?t.ownerDocument.body:t.body:U(n)&&H(n)?n:et(n)}function ot(t,n,e){var o;void 0===n&&(n=[]),void 0===e&&(e=!0);const i=et(t),r=i===(null==(o=t.ownerDocument)?void 0:o.body),s=M(i);if(r){const t=it(s);return n.concat(s,s.visualViewport||[],H(i)?i:[],t&&e?ot(t):[])}return n.concat(i,ot(i,[],e))}function it(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function rt(t){const n=Z(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const i=U(t),r=i?t.offsetWidth:e,s=i?t.offsetHeight:o,a=l(e)!==r||l(o)!==s;return a&&(e=r,o=s),{width:e,height:o,$:a}}function st(t){return B(t)?t:t.contextElement}function lt(t){const n=st(t);if(!U(n))return c(1);const e=n.getBoundingClientRect(),{width:o,height:i,$:r}=rt(n);let s=(r?l(e.width):e.width)/o,a=(r?l(e.height):e.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const at=c(0);function ct(t){const n=M(t);return G()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:at}function ut(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),r=st(t);let s=c(1);n&&(o?B(o)&&(s=lt(o)):s=lt(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==M(t))&&n}(r,e,o)?ct(r):c(0);let a=(i.left+l.x)/s.x,u=(i.top+l.y)/s.y,f=i.width/s.x,d=i.height/s.y;if(r){const t=M(r),n=o&&B(o)?M(o):o;let e=t,i=it(e);for(;i&&o&&n!==e;){const t=lt(i),n=i.getBoundingClientRect(),o=Z(i),r=n.left+(i.clientLeft+parseFloat(o.paddingLeft))*t.x,s=n.top+(i.clientTop+parseFloat(o.paddingTop))*t.y;a*=t.x,u*=t.y,f*=t.x,d*=t.y,a+=r,u+=s,e=M(i),i=it(e)}}return E({width:f,height:d,x:a,y:u})}function ft(t,n){const e=tt(t).scrollLeft;return n?n.left+e:ut(q(t)).left+e}function dt(t,n){const e=t.getBoundingClientRect();return{x:e.left+n.scrollLeft-ft(t,e),y:e.top+n.scrollTop}}const ht=new Set(["absolute","fixed"]);function pt(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=M(t),o=q(t),i=e.visualViewport;let r=o.clientWidth,s=o.clientHeight,l=0,a=0;if(i){r=i.width,s=i.height;const t=G();(!t||t&&"fixed"===n)&&(l=i.offsetLeft,a=i.offsetTop)}const c=ft(o);if(c<=0){const t=o.ownerDocument,n=t.body,e=getComputedStyle(n),i="CSS1Compat"===t.compatMode&&parseFloat(e.marginLeft)+parseFloat(e.marginRight)||0,s=Math.abs(o.clientWidth-n.clientWidth-i);s<=25&&(r-=s)}else c<=25&&(r+=c);return{width:r,height:s,x:l,y:a}}(t,e);else if("document"===n)o=function(t){const n=q(t),e=tt(t),o=t.ownerDocument.body,i=s(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),r=s(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let l=-e.scrollLeft+ft(t);const a=-e.scrollTop;return"rtl"===Z(o).direction&&(l+=s(n.clientWidth,o.clientWidth)-i),{width:i,height:r,x:l,y:a}}(q(t));else if(B(n))o=function(t,n){const e=ut(t,!0,"fixed"===n),o=e.top+t.clientTop,i=e.left+t.clientLeft,r=U(t)?lt(t):c(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:i*r.x,y:o*r.y}}(n,e);else{const e=ct(t);o={x:n.x-e.x,y:n.y-e.y,width:n.width,height:n.height}}return E(o)}function mt(t,n){const e=nt(t);return!(e===n||!B(e)||Q(e))&&("fixed"===Z(e).position||mt(e,n))}function yt(t,n,e){const o=U(n),i=q(n),r="fixed"===e,s=ut(t,!0,r,n);let l={scrollLeft:0,scrollTop:0};const a=c(0);function u(){a.x=ft(i)}if(o||!o&&!r)if(("body"!==O(n)||H(i))&&(l=tt(n)),o){const t=ut(n,!0,r,n);a.x=t.x+n.clientLeft,a.y=t.y+n.clientTop}else i&&u();r&&!o&&i&&u();const f=!i||o||r?c(0):dt(i,l);return{x:s.left+l.scrollLeft-a.x-f.x,y:s.top+l.scrollTop-a.y-f.y,width:s.width,height:s.height}}function wt(t){return"static"===Z(t).position}function gt(t,n){if(!U(t)||"fixed"===Z(t).position)return null;if(n)return n(t);let e=t.offsetParent;return q(t)===e&&(e=e.ownerDocument.body),e}function xt(t,n){const e=M(t);if(K(t))return e;if(!U(t)){let n=nt(t);for(;n&&!Q(n);){if(B(n)&&!wt(n))return n;n=nt(n)}return e}let o=gt(t,n);for(;o&&N(o)&&wt(o);)o=gt(o,n);return o&&Q(o)&&wt(o)&&!_(o)?e:o||function(t){let n=nt(t);for(;U(n)&&!Q(n);){if(_(n))return n;if(K(n))return null;n=nt(n)}return null}(t)||e}const vt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:n,rect:e,offsetParent:o,strategy:i}=t;const r="fixed"===i,s=q(o),l=!!n&&K(n.floating);if(o===s||l&&r)return e;let a={scrollLeft:0,scrollTop:0},u=c(1);const f=c(0),d=U(o);if((d||!d&&!r)&&(("body"!==O(o)||H(s))&&(a=tt(o)),U(o))){const t=ut(o);u=lt(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}const h=!s||d||r?c(0):dt(s,a);return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-a.scrollLeft*u.x+f.x+h.x,y:e.y*u.y-a.scrollTop*u.y+f.y+h.y}},getDocumentElement:q,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:i}=t;const l=[..."clippingAncestors"===e?K(n)?[]:function(t,n){const e=n.get(t);if(e)return e;let o=ot(t,[],!1).filter((t=>B(t)&&"body"!==O(t))),i=null;const r="fixed"===Z(t).position;let s=r?nt(t):t;for(;B(s)&&!Q(s);){const n=Z(s),e=_(s);e||"fixed"!==n.position||(i=null),(r?!e&&!i:!e&&"static"===n.position&&i&&ht.has(i.position)||H(s)&&!e&&mt(t,s))?o=o.filter((t=>t!==s)):i=n,s=nt(s)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=l.reduce(((t,e)=>{const o=pt(n,e,i);return t.top=s(o.top,t.top),t.right=r(o.right,t.right),t.bottom=r(o.bottom,t.bottom),t.left=s(o.left,t.left),t}),pt(n,l[0],i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:xt,getElementRects:async function(t){const n=this.getOffsetParent||xt,e=this.getDimensions,o=await e(t.floating);return{reference:yt(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:n,height:e}=rt(t);return{width:n,height:e}},getScale:lt,isElement:B,isRTL:function(t){return"rtl"===Z(t).direction}};function bt(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}const At=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,o;const{x:i,y:r,placement:s,middlewareData:l}=n,a=await async function(t,n){const{placement:e,platform:o,elements:i}=t,r=await(null==o.isRTL?void 0:o.isRTL(i.floating)),s=p(e),l=m(e),a="y"===x(e),c=T.has(s)?-1:1,u=r&&a?-1:1,f=h(n,t);let{mainAxis:d,crossAxis:y,alignmentAxis:w}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&"number"==typeof w&&(y="end"===l?-1*w:w),a?{x:y*u,y:d*c}:{x:d*c,y:y*u}}(n,t);return s===(null==(e=l.offset)?void 0:e.placement)&&null!=(o=l.arrow)&&o.alignmentOffset?{}:{x:i+a.x,y:r+a.y,data:{...a,placement:s}}}}},St=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,o;const{placement:i,middlewareData:r,rects:s,initialPlacement:l,platform:a,elements:c}=n,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:P=!0,...E}=h(t,n);if(null!=(e=r.arrow)&&e.alignmentOffset)return{};const L=p(i),k=x(l),T=p(l)===l,C=await(null==a.isRTL?void 0:a.isRTL(c.floating)),O=d||(T||!P?[D(l)]:function(t){const n=D(t);return[b(t),n,b(n)]}(l)),M="none"!==g;!d&&M&&O.push(...function(t,n,e,o){const i=m(t);let r=function(t,n,e){switch(t){case"top":case"bottom":return e?n?S:A:n?A:S;case"left":case"right":return n?F:R;default:return[]}}(p(t),"start"===e,o);return i&&(r=r.map((t=>t+"-"+i)),n&&(r=r.concat(r.map(b)))),r}(l,P,g,C));const q=[l,...O],z=await a.detectOverflow(n,E),B=[];let U=(null==(o=r.flip)?void 0:o.overflows)||[];if(u&&B.push(z[L]),f){const t=function(t,n,e){void 0===e&&(e=!1);const o=m(t),i=v(t),r=w(i);let s="x"===i?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[r]>n.floating[r]&&(s=D(s)),[s,D(s)]}(i,s,C);B.push(z[t[0]],z[t[1]])}if(U=[...U,{placement:i,overflows:B}],!B.every((t=>t<=0))){var j,$;const t=((null==(j=r.flip)?void 0:j.index)||0)+1,n=q[t];if(n&&("alignment"!==f||k===x(n)||U.every((t=>x(t.placement)!==k||t.overflows[0]>0))))return{data:{index:t,overflows:U},reset:{placement:n}};let e=null==($=U.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:$.placement;if(!e)switch(y){case"bestFit":{var H;const t=null==(H=U.filter((t=>{if(M){const n=x(t.placement);return n===k||"y"===n}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:H[0];t&&(e=t);break}case"initialPlacement":e=l}if(i!==e)return{reset:{placement:e}}}return{}}}};class Ft{constructor(t){this.logger=t}async computePosition(t,n,e){null==t&&this.logger.error("FloatingAdapter.computePosition","Reference element is required for positioning."),null==n&&this.logger.error("FloatingAdapter.computePosition","Floating element is required for positioning.");const{placement:o,offset:i,flip:s,shift:l,arrow:a,strategy:c}=e,u=[At(i)];s&&u.push(St()),l&&u.push(function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:i,platform:r}=n,{mainAxis:s=!0,crossAxis:l=!1,limiter:a={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...c}=h(t,n),u={x:e,y:o},f=await r.detectOverflow(n,c),m=x(p(i)),w=y(m);let g=u[w],v=u[m];s&&(g=d(g+f["y"===w?"top":"left"],g,g-f["y"===w?"bottom":"right"])),l&&(v=d(v+f["y"===m?"top":"left"],v,v-f["y"===m?"bottom":"right"]));const b=a.fn({...n,[w]:g,[m]:v});return{...b,data:{x:b.x-e,y:b.y-o,enabled:{[w]:s,[m]:l}}}}}}()),null!=a&&u.push((t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:i,rects:s,platform:l,elements:a,middlewareData:c}=n,{element:u,padding:f=0}=h(t,n)||{};if(null==u)return{};const p=P(f),y={x:e,y:o},g=v(i),x=w(g),b=await l.getDimensions(u),A="y"===g,S=A?"top":"left",F=A?"bottom":"right",R=A?"clientHeight":"clientWidth",D=s.reference[x]+s.reference[g]-y[g]-s.floating[x],E=y[g]-s.reference[g],L=await(null==l.getOffsetParent?void 0:l.getOffsetParent(u));let k=L?L[R]:0;k&&await(null==l.isElement?void 0:l.isElement(L))||(k=a.floating[R]||s.floating[x]);const T=D/2-E/2,C=k/2-b[x]/2-1,O=r(p[S],C),M=r(p[F],C),q=O,z=k-b[x]-M,B=k/2-b[x]/2+T,U=d(q,B,z),j=!c.arrow&&null!=m(i)&&B!==U&&s.reference[x]/2-(B<q?O:M)-b[x]/2<0,$=j?B<q?B-q:B-z:0;return{[g]:y[g]+$,data:{[g]:U,centerOffset:B-U-$,...j&&{alignmentOffset:$}},reset:j}}}))({element:a}));const f=await((t,n,e)=>{const o=new Map,i={platform:vt,...e},r={...i.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=e,l=r.filter(Boolean),a=await(null==s.isRTL?void 0:s.isRTL(n));let c=await s.getElementRects({reference:t,floating:n,strategy:i}),{x:u,y:f}=L(c,o,a),d=o,h={},p=0;for(let e=0;e<l.length;e++){var m;const{name:r,fn:y}=l[e],{x:w,y:g,data:x,reset:v}=await y({x:u,y:f,initialPlacement:o,placement:d,strategy:i,middlewareData:h,rects:c,platform:{...s,detectOverflow:null!=(m=s.detectOverflow)?m:k},elements:{reference:t,floating:n}});u=null!=w?w:u,f=null!=g?g:f,h={...h,[r]:{...h[r],...x}},v&&p<=50&&(p++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await s.getElementRects({reference:t,floating:n,strategy:i}):v.rects),({x:u,y:f}=L(c,d,a))),e=-1)}return{x:u,y:f,placement:d,strategy:i,middlewareData:h}})(t,n,{...i,platform:r})})(t,n,{placement:o,middleware:u,strategy:c}).catch((t=>{this.logger.error("FloatingAdapter.computePosition",t.message)})).then((t=>t)),{x:g,y:b,placement:A,middlewareData:S}=f;return{x:g,y:b,placement:A,middlewareData:S}}applyPosition(t,n){null==t&&this.logger.error("FloatingAdapter.applyPosition","Element is required to apply positioning."),t.style.left=`${n.x}px`,t.style.top=`${n.y}px`}}class Rt extends Ft{constructor(){super(new t)}}const Dt=l=>class extends(n(l)){constructor(){super()}get options(){return{placement:"bottom",offset:8,strategy:"fixed"}}get hooks(){return{}}showElement(){this.floatingContent.showPopover(),this.isVisible=!0,this.startAutoUpdate(this.triggerSlot,this.floatingContent,this.options,(t=>{this.hooks.onPositionUpdate?.(t)}))}onBeforeShow(t){return null==this.triggerSlot?(this.logger.error("AnchoredMixin.show","triggerSlot is required"),!1):super.onBeforeShow(t)}hideFocus(){const t=this.floatingContent?.contains(document.activeElement);t&&document.activeElement?.blur()}hideElement(){this.stopAutoUpdate(),this.hideFocus(),this.floatingContent?.hidePopover(),this.isVisible=!1}handleSlotChange(t,n,e){const o=t.target;null!=this.previousTrigger&&this.detachTriggerListeners(this.previousTrigger,n,e),null!=o&&(this.attachTriggerListeners(o,n,e),this.previousTrigger=o)}handleKeydown(t,n,e){t.key!==i.Enter&&t.key!==i.Space||n(),t.key===i.Escape&&e()}async updatePosition(t,n,e,o){const i=await this.positionEngine.computePosition(t,n,{placement:e.placement,offset:e.offset,flip:e.flip??!0,shift:e.shift??!0,arrow:e.arrow,strategy:e.strategy??"fixed"});return this.positionEngine.applyPosition(n,i),o?.(i),i}startAutoUpdate(t,n,e,o){const i=()=>{this.updatePosition(t,n,e,o)};i(),this.cleanupAutoUpdate=function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:l=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=o,d=st(t),h=i||l?[...d?ot(d):[],...ot(n)]:[];h.forEach((t=>{i&&t.addEventListener("scroll",e,{passive:!0}),l&&t.addEventListener("resize",e)}));const p=d&&u?function(t,n){let e,o=null;const i=q(t);function l(){var t;clearTimeout(e),null==(t=o)||t.disconnect(),o=null}return function c(u,f){void 0===u&&(u=!1),void 0===f&&(f=1),l();const d=t.getBoundingClientRect(),{left:h,top:p,width:m,height:y}=d;if(u||n(),!m||!y)return;const w={rootMargin:-a(p)+"px "+-a(i.clientWidth-(h+m))+"px "+-a(i.clientHeight-(p+y))+"px "+-a(h)+"px",threshold:s(0,r(1,f))||1};let g=!0;function x(n){const o=n[0].intersectionRatio;if(o!==f){if(!g)return c();o?c(!1,o):e=setTimeout((()=>{c(!1,1e-7)}),1e3)}1!==o||bt(d,t.getBoundingClientRect())||c(),g=!1}try{o=new IntersectionObserver(x,{...w,root:i.ownerDocument})}catch(t){o=new IntersectionObserver(x,w)}o.observe(t)}(!0),l}(d,e):null;let m,y=-1,w=null;c&&(w=new ResizeObserver((t=>{let[o]=t;o&&o.target===d&&w&&(w.unobserve(n),cancelAnimationFrame(y),y=requestAnimationFrame((()=>{var t;null==(t=w)||t.observe(n)}))),e()})),d&&!f&&w.observe(d),w.observe(n));let g=f?ut(t):null;return f&&function n(){const o=ut(t);g&&!bt(g,o)&&e(),g=o,m=requestAnimationFrame(n)}(),e(),()=>{var t;h.forEach((t=>{i&&t.removeEventListener("scroll",e),l&&t.removeEventListener("resize",e)})),null==p||p(),null==(t=w)||t.disconnect(),w=null,f&&cancelAnimationFrame(m)}}(t,n,i,{elementResize:!0,layoutShift:!0})}stopAutoUpdate(){this.cleanupAutoUpdate?.(),this.cleanupAutoUpdate=void 0}attachTriggerListeners(t,n,i){t.addEventListener(e,n),t.addEventListener(o,i)}detachTriggerListeners(t,n,i){t.removeEventListener(e,n),t.removeEventListener(o,i)}floatingDisconnect(t,n){null!=this.previousTrigger&&this.detachTriggerListeners(this.previousTrigger,t,n),this.stopAutoUpdate()}subscribeToTrigger(t){void 0!==this.hooks.subscribeToTrigger&&this.hooks.subscribeToTrigger(t)}onBeforeLoad(){const t=this.el.parentElement;if(null===t)return;const n=t.querySelector("[bds-tooltip], [bds-popover]")||t.closest(".bds-button, .bds-input, .bds-select")||t;n.isConnected&&(this.triggerSlot=n,this.subscribeToTrigger(n))}componentDidLoad(){this.onBeforeLoad(),this.hooks.onBeforeLoad?.(this.el)}componentWillLoad(){this.toggle=this.toggle.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.positionEngine=new Rt,this.logger=new t,this.cleanupAutoUpdate=void 0,this.previousTrigger=void 0}disconnectedCallback(){null!=this.previousTrigger&&this.floatingDisconnect((()=>this.show()),(()=>this.hide())),this.stopAutoUpdate(),this.hide()}},Pt=(t=!1,n=0,e)=>t?void 0!==n?n:0:void 0!==n?e+n:e;export{i as K,Dt as a,Pt as g}
@@ -0,0 +1 @@
1
+ import{p as e,a as t,h as a,H as r,t as o}from"./index.js";import{C as i}from"./p-Bfazyxqi.js";import{i as s}from"./p-fUK0GCeC.js";import{d as l}from"./p-N_tqtRV2.js";const h="md",p={link:{states:[i.DISABLED],size:["sm",h]},label:{states:[i.DISABLED],required:!0,canUseTooltip:!0},heading:{canUseTooltip:!0},subheading:{canUseTooltip:!0},helper:{states:[i.ERROR]},display:{size:["xs","sm",h,"lg","xl"]}},y=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.inheritedAttributes={},this.variant="display",this.size=h,this.state=i.DEFAULT,this.customClass="",this.element="p",this.align="start",this.ellipsis=!1,this.maxLines=1,this.tooltipText="",this.required=!1,this.htmlFor=void 0,this.href=null,this.target=null,this.downloadable=!1,this.filename="download",this.sanitizedHref=""}async updateSanitizedHref(){if("a"===this.getTagName&&null!==this.href){const{sanitizeUrl:e}=await import("./p-noyWJ11s.js").then((function(e){return e.i}));this.sanitizedHref=e(this.href)}else this.sanitizedHref=""}async componentWillLoad(){"a"===this.getTagName&&null!==this.href&&await this.updateSanitizedHref(),this.inheritedAttributes={...s(this.el)}}get getTagName(){return"link"===this.variant?"a":this.element.toLowerCase()}getVariantConfig(){return p[this.variant]??{}}getAccessibilityTags(){const{required:e=!1}=this.getVariantConfig(),t=["a","label"].includes(this.getTagName);return{"aria-required":this.required&&e,"aria-disabled":this.state===i.DISABLED&&t}}getVariantStateStyles(){const e=this.getVariantConfig();return{[`bds-typography--${this.variant}`]:!0,[`bds-typography--align-${this.align}`]:!0,[`bds-typography--${this.state}`]:!(!e?.states||!e?.states.includes(this.state)),[`bds-typography--size-${this.size}`]:!(!e?.size||!e?.size.includes(this.size)),"bds-typography--required":!(!e?.required||!this.required),"bds-typography--ellipsis":this.ellipsis&&this.maxLines<=1,"bds-typography--ellipsis-multiline":this.ellipsis&&this.maxLines>1,[this.customClass]:""!==this.customClass}}render(){const e=this.getTagName,t={...(o=this,s=e,{a:{href:o.state!==i.DISABLED?o.sanitizedHref:null,target:o.target,download:o.downloadable?o.filename:null,rel:"_blank"===o.target?"noopener noreferrer":void 0},label:{htmlFor:o.htmlFor}}[s]||{}),...this.inheritedAttributes,...this.getAccessibilityTags()};var o,s;const l=this.getVariantStateStyles(),{canUseTooltip:h=null,required:p=null}=this.getVariantConfig();return a(r,{key:"d29b535edeb7ede877c979ea812eb6c273affc0d",class:"bds-typography "+(this.state===i.DISABLED?"bds-typography--disabled-cursor":"")},a(e,{key:"3a36a1c47026a20d9c95e4c2d38e92caaa89b072",class:l,style:{webkitLineClamp:this.maxLines},...t},a("slot",{key:"8a0ccd7824ac358e937dd6e2fb1c3eb592e27721"}),this.required&&p&&a("em",{key:"5ce4cc221efcf9d5a71bbc39dbc449a3a29c16a6",class:"bds-typography__required-indicator","aria-hidden":"true"},"*"),this.tooltipText&&h&&a("span",{key:"33dcca730b5a484aac8f6ddda383f7adb7dcee95",class:"bds-typography__info"},a("span",{key:"ff08b5e744d9584cff3b69f5eaa74238ad364e19",class:"bds-typography__info-icon bds-icon-info-circle","aria-label":this.tooltipText}),a("bds-tooltip",{key:"a88a158668a40ee3ff00ddeb4da496115e22558d"},this.tooltipText))))}get el(){return this}static get watchers(){return{href:[{updateSanitizedHref:0}]}}static get style(){return'@charset "UTF-8";.bds-typography__info{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}bds-typography.bds-typography--disabled-cursor{cursor:not-allowed}.bds-typography{display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:var(--boreal-typography-font-family-primary);font-weight:var(--boreal-typography-font-weight-regular)}.bds-typography__required-indicator{color:var(--boreal-icon-danger-base);font-weight:var(--boreal-typography-font-weight-regular)}.bds-typography__info-icon{color:var(--boreal-icon-default-light)}.bds-typography--heading,.bds-typography--subheading{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-3xs)}.bds-typography--label{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-3xs)}.bds-typography--display{display:block}.bds-typography--caption,.bds-typography--helper,.bds-typography--link{display:inline-block}.bds-typography--caption{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-default-light)}.bds-typography--helper{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-sm);color:var(--boreal-text-default-light)}.bds-typography--link{font-size:var(--boreal-typography-font-size-sm);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-primary-base);text-decoration:none}.bds-typography--link:hover{text-decoration:underline}.bds-typography--link:visited{color:var(--boreal-text-primary-base)}.bds-typography--link:active{color:var(--boreal-text-primary-dark)}.bds-typography--link.bds-typography--size-sm{font-size:var(--boreal-typography-font-size-xs)}.bds-typography--link.bds-typography--size-md{font-size:var(--boreal-typography-font-size-sm)}.bds-typography--code{font-family:var(--boreal-typography-font-family-secondary);font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default);line-height:var(--boreal-typography-line-height-md);overflow-wrap:break-word;background-color:var(--boreal-bg-neutral);padding:var(--boreal-spacing-3xs) var(--boreal-spacing-xs);border-radius:var(--boreal-radius-xs);display:inline;box-decoration-break:clone;-webkit-box-decoration-break:clone}.bds-typography--label{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-default-darker)}.bds-typography--display{font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default)}.bds-typography--display.bds-typography--size-sm{font-size:var(--boreal-typography-font-size-xl);line-height:var(--boreal-typography-line-height-xl)}.bds-typography--display.bds-typography--size-md{font-size:var(--boreal-typography-font-size-2xl);line-height:var(--boreal-typography-line-height-2xl)}.bds-typography--display.bds-typography--size-lg{font-size:var(--boreal-typography-font-size-3xl);line-height:var(--boreal-typography-line-height-3xl);font-weight:var(--boreal-typography-font-weight-light)}.bds-typography--display.bds-typography--size-xl{font-size:var(--boreal-typography-font-size-4xl);line-height:var(--boreal-typography-line-height-4xl);font-weight:var(--boreal-typography-font-weight-light)}.bds-typography--heading{font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-lg);font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default)}.bds-typography h1.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-4xl);line-height:var(--boreal-typography-line-height-4xl)}.bds-typography h2.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-3xl);line-height:var(--boreal-typography-line-height-3xl)}.bds-typography h3.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-2xl);line-height:var(--boreal-typography-line-height-2xl)}.bds-typography h4.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-xl);line-height:var(--boreal-typography-line-height-xl)}.bds-typography h5.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-lg)}.bds-typography h6.bds-typography--heading{font-size:var(--boreal-typography-font-size-md);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md)}.bds-typography--subheading{font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);font-weight:var(--boreal-typography-font-weight-semibold)}.bds-typography--align-start{text-align:start}.bds-typography--align-center{text-align:center}.bds-typography--align-end{text-align:end}.bds-typography--align-inherit{text-align:inherit}.bds-typography--error{color:var(--boreal-text-danger-base)}.bds-typography--disabled{color:var(--boreal-text-disabled);pointer-events:none;cursor:not-allowed}.bds-typography--disabled .bds-typography__required-indicator{color:var(--boreal-text-danger-light)}.bds-typography--ellipsis{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.bds-typography--ellipsis-multiline{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal;width:100%}'}},[260,"bds-typography",{variant:[513],size:[513],state:[513],customClass:[1,"custom-class"],element:[1],align:[1],ellipsis:[4],maxLines:[2,"max-lines"],tooltipText:[1,"tooltip-text"],required:[516],htmlFor:[1,"html-for"],href:[1],target:[1],downloadable:[4],filename:[1],sanitizedHref:[32]},void 0,{href:[{updateSanitizedHref:0}]}]);function n(){"undefined"!=typeof customElements&&["bds-typography","bds-tooltip"].forEach((e=>{switch(e){case"bds-typography":customElements.get(o(e))||customElements.define(o(e),y);break;case"bds-tooltip":customElements.get(o(e))||l()}}))}export{y as B,n as d}
@@ -0,0 +1 @@
1
+ const o={MENU:"menu",LISTBOX:"listbox"};export{o as M}
@@ -1 +1 @@
1
- const a=(a,i=[])=>{const r={};return i.forEach((i=>{if(a.hasAttribute(i)){const e=a.getAttribute(i);null!==e&&(r[i]=e),a.removeAttribute(i)}})),r},i=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],r=r=>a(r,i);export{r as a,a as i}
1
+ const a=(a,r=[])=>{const i={};return r.forEach((r=>{if(a.hasAttribute(r)){const e=a.getAttribute(r);null!==e&&(i[r]=e),a.removeAttribute(r)}})),i},r=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],i=(i,e)=>{let l=r;return e&&e.length>0&&(l=l.filter((a=>!e.includes(a)))),a(i,l)};export{a,i}
@@ -0,0 +1 @@
1
+ class o{error(o,r){throw new Error(`[${o}]: ${r}`)}warn(o,r){console.warn(`[${o}]: ${r}`)}log(o,r){console.log(`[${o}]: ${r}`)}}export{o as L}
@@ -0,0 +1 @@
1
+ function o(o,n,e,r){const $=e[r];if(void 0===$||"full"===$)return;const c=Number($);if(Number.isNaN(c)||c<o||void 0!==n&&c>n){const c=void 0!==n?`${o}–${n}`:`≥${o}`;console.warn(`[BorealDS] Invalid value "${$}" for prop "${r}" on <${e.tagName.toLowerCase()}>. Expected ${c}.`)}}function n(o,n,e,r){const $=e[r];o.includes($)||(e[r]=n,console.warn(`[BorealDS] Invalid value "${$}" for prop "${r}" on <${e.tagName.toLowerCase()}>. Expected one of: ${o.join(", ")}.`))}export{o as a,n as v}
@@ -0,0 +1 @@
1
+ const s=s=>class extends s{constructor(){super(!1)}formDisabledCallback(s){this.isDisabled=s}};export{s as f}