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

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 (446) 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.js +1 -1
  7. package/components-build/bds-checkbox.js +1 -1
  8. package/components-build/bds-dialog.js +1 -1
  9. package/components-build/bds-divider.d.ts +11 -0
  10. package/components-build/bds-divider.js +1 -0
  11. package/components-build/bds-flag.js +1 -1
  12. package/components-build/bds-grid-item.d.ts +11 -0
  13. package/components-build/bds-grid-item.js +1 -0
  14. package/components-build/bds-grid.d.ts +11 -0
  15. package/components-build/bds-grid.js +1 -0
  16. package/components-build/bds-list-menu-item.d.ts +11 -0
  17. package/components-build/bds-list-menu-item.js +1 -0
  18. package/components-build/bds-list-menu.d.ts +11 -0
  19. package/components-build/bds-list-menu.js +1 -0
  20. package/components-build/bds-popover.js +1 -1
  21. package/components-build/bds-spinner.js +1 -1
  22. package/components-build/bds-status.d.ts +11 -0
  23. package/components-build/bds-status.js +1 -0
  24. package/components-build/bds-tag.d.ts +11 -0
  25. package/components-build/bds-tag.js +1 -0
  26. package/components-build/bds-text-field.js +1 -1
  27. package/components-build/bds-toggle.d.ts +11 -0
  28. package/components-build/bds-toggle.js +1 -0
  29. package/components-build/bds-tooltip.js +1 -1
  30. package/components-build/bds-typography.js +1 -1
  31. package/components-build/index.js +1 -1
  32. package/components-build/p-B8n1ru5i.js +1 -0
  33. package/components-build/p-Bfazyxqi.js +1 -0
  34. package/components-build/p-CGdxFth9.js +1 -0
  35. package/components-build/p-CrAt6pGl.js +1 -0
  36. package/components-build/p-DCwT43Kz.js +1 -0
  37. package/components-build/p-DIY3CDNL.js +1 -0
  38. package/components-build/p-DhSchGPI.js +1 -0
  39. package/components-build/p-kGnB15Lz.js +1 -0
  40. package/custom-elements.json +2588 -540
  41. package/dist/boreal-web-components/boreal-web-components.esm.js +1 -1
  42. package/dist/boreal-web-components/boreal-web-components.js +1 -1
  43. package/dist/boreal-web-components/css/boreal.css +1066 -1074
  44. package/dist/boreal-web-components/css/global.css +403 -407
  45. package/dist/boreal-web-components/css/theme-connect.css +163 -164
  46. package/dist/boreal-web-components/css/theme-engage.css +163 -164
  47. package/dist/boreal-web-components/css/theme-protect.css +163 -164
  48. package/dist/boreal-web-components/css/theme-proximus.css +164 -165
  49. package/dist/boreal-web-components/p-0028481c.entry.js +1 -0
  50. package/dist/boreal-web-components/p-127a4134.entry.js +1 -0
  51. package/dist/boreal-web-components/p-1466de58.system.entry.js +1 -0
  52. package/dist/boreal-web-components/p-1d1bb9d2.entry.js +1 -0
  53. package/dist/boreal-web-components/p-2158a7cd.entry.js +1 -0
  54. package/dist/boreal-web-components/{p-8c57e06a.entry.js → p-251b3002.entry.js} +1 -1
  55. package/dist/boreal-web-components/p-251d35df.system.entry.js +1 -0
  56. package/dist/boreal-web-components/{p-fc2cb919.entry.js → p-2b8bd1dd.entry.js} +1 -1
  57. package/dist/boreal-web-components/p-32c23246.system.entry.js +1 -0
  58. package/dist/boreal-web-components/p-3fbcc233.entry.js +1 -0
  59. package/dist/boreal-web-components/p-401f1aee.system.entry.js +1 -0
  60. package/dist/boreal-web-components/p-41b48701.system.entry.js +1 -0
  61. package/dist/boreal-web-components/p-41cac1b8.system.entry.js +1 -0
  62. package/dist/boreal-web-components/p-44ceff4e.system.entry.js +1 -0
  63. package/dist/boreal-web-components/{p-efe57901.system.entry.js → p-52600375.system.entry.js} +1 -1
  64. package/dist/boreal-web-components/p-627b19a5.system.entry.js +1 -0
  65. package/dist/boreal-web-components/p-649737e5.entry.js +1 -0
  66. package/dist/boreal-web-components/p-64cb5825.entry.js +1 -0
  67. package/dist/boreal-web-components/p-66360e63.entry.js +1 -0
  68. package/dist/boreal-web-components/p-695d0830.entry.js +1 -0
  69. package/dist/boreal-web-components/p-6a99f4c6.system.entry.js +1 -0
  70. package/dist/boreal-web-components/p-731b88cc.entry.js +1 -0
  71. package/dist/boreal-web-components/{p-22378341.system.entry.js → p-74c13bed.system.entry.js} +1 -1
  72. package/dist/boreal-web-components/p-7a4efddd.system.entry.js +1 -0
  73. package/dist/boreal-web-components/p-7db870b7.entry.js +1 -0
  74. package/dist/boreal-web-components/p-7f7ac40f.entry.js +1 -0
  75. package/dist/boreal-web-components/p-80822731.system.entry.js +1 -0
  76. package/dist/boreal-web-components/p-82d49661.entry.js +1 -0
  77. package/dist/boreal-web-components/p-83ca193e.entry.js +1 -0
  78. package/dist/boreal-web-components/p-871c9a9f.system.entry.js +1 -0
  79. package/dist/boreal-web-components/p-BQ_zoZa2.js +1 -0
  80. package/dist/boreal-web-components/p-Bfazyxqi.js +1 -0
  81. package/dist/boreal-web-components/{p-D4EFsvs1.js → p-BqJlOB6b.js} +2 -2
  82. package/dist/boreal-web-components/p-BsZkk4oK.system.js +1 -0
  83. package/dist/boreal-web-components/p-CXz1RLGi.system.js +1 -0
  84. package/dist/boreal-web-components/p-CtknSula.system.js +1 -0
  85. package/dist/boreal-web-components/p-CvK2d92c.js +1 -0
  86. package/dist/boreal-web-components/p-CzYQb3pP.js +1 -0
  87. package/dist/boreal-web-components/p-DCKg5Cg_.system.js +2 -0
  88. package/dist/boreal-web-components/p-DZcx75cy.system.js +1 -0
  89. package/dist/boreal-web-components/p-DhSchGPI.js +1 -0
  90. package/dist/boreal-web-components/{p-BkDQsB4R.system.js → p-Dme-NuTD.system.js} +1 -1
  91. package/dist/boreal-web-components/p-RhSdMyWk.system.js +1 -0
  92. package/dist/boreal-web-components/{p-5fa53a80.system.entry.js → p-ab5ffa15.system.entry.js} +1 -1
  93. package/dist/boreal-web-components/p-b12d4788.system.entry.js +1 -0
  94. package/dist/boreal-web-components/p-ba2b625a.system.entry.js +1 -0
  95. package/dist/boreal-web-components/p-bf2ef10b.entry.js +1 -0
  96. package/dist/boreal-web-components/{p-6de2b44c.system.entry.js → p-c7aee9f4.system.entry.js} +1 -1
  97. package/dist/boreal-web-components/p-e0bf8a6e.entry.js +1 -0
  98. package/dist/boreal-web-components/p-edca16b6.system.entry.js +1 -0
  99. package/dist/boreal-web-components/p-fc24d963.entry.js +1 -0
  100. package/dist/boreal-web-components/p-kGnB15Lz.js +1 -0
  101. package/dist/boreal-web-components/p-vzZJGcYF.system.js +1 -0
  102. package/dist/boreal-web-components/scss/maps/_primitives.scss +404 -408
  103. package/dist/boreal-web-components/scss/maps/_theme-connect.scss +164 -165
  104. package/dist/boreal-web-components/scss/maps/_theme-engage.scss +164 -165
  105. package/dist/boreal-web-components/scss/maps/_theme-protect.scss +164 -165
  106. package/dist/boreal-web-components/scss/maps/_theme-proximus.scss +165 -166
  107. package/dist/boreal-web-components/scss/variables/_primitives.scss +404 -408
  108. package/dist/boreal-web-components/scss/variables/_theme-connect.scss +164 -165
  109. package/dist/boreal-web-components/scss/variables/_theme-engage.scss +164 -165
  110. package/dist/boreal-web-components/scss/variables/_theme-protect.scss +164 -165
  111. package/dist/boreal-web-components/scss/variables/_theme-proximus.scss +165 -166
  112. package/dist/cjs/BaseAttributes-DBBhKt7O.js +14 -0
  113. package/dist/cjs/Keys-DbIXSJF2.js +22 -0
  114. package/dist/cjs/bds-avatar.cjs.entry.js +89 -0
  115. package/dist/cjs/bds-badge.cjs.entry.js +50 -0
  116. package/dist/cjs/bds-banner.cjs.entry.js +12 -5
  117. package/dist/cjs/bds-button.cjs.entry.js +5 -5
  118. package/dist/cjs/bds-checkbox.cjs.entry.js +6 -6
  119. package/dist/cjs/bds-dialog.cjs.entry.js +7 -6
  120. package/dist/cjs/bds-divider.cjs.entry.js +46 -0
  121. package/dist/cjs/bds-flag.cjs.entry.js +3 -3
  122. package/dist/cjs/bds-grid-item.cjs.entry.js +93 -0
  123. package/dist/cjs/bds-grid.cjs.entry.js +37 -0
  124. package/dist/cjs/bds-list-menu-item.cjs.entry.js +468 -0
  125. package/dist/cjs/bds-list-menu.cjs.entry.js +130 -0
  126. package/dist/cjs/bds-popover.cjs.entry.js +17 -8
  127. package/dist/cjs/bds-spinner.cjs.entry.js +4 -4
  128. package/dist/cjs/bds-status.cjs.entry.js +59 -0
  129. package/dist/cjs/bds-tag.cjs.entry.js +140 -0
  130. package/dist/cjs/bds-text-field.cjs.entry.js +12 -22
  131. package/dist/cjs/bds-toggle.cjs.entry.js +186 -0
  132. package/dist/cjs/bds-tooltip_2.cjs.entry.js +320 -0
  133. package/dist/cjs/boreal-web-components.cjs.js +2 -2
  134. package/dist/cjs/{anchored.mixin-CnIwkaUi.js → getOffset-m4hBgyVP.js} +42 -26
  135. package/dist/cjs/{index-BcSjvXJk.js → index-CwYIVC9N.js} +64 -0
  136. package/dist/cjs/loader.cjs.js +2 -2
  137. package/dist/cjs/{states-iIYiazaM.js → states-BweP5Vpu.js} +8 -0
  138. package/dist/cjs/validateProps-CJe9X5x8.js +42 -0
  139. package/dist/collection/collection-manifest.json +10 -0
  140. package/dist/collection/components/actions/bds-button/bds-button.js +2 -2
  141. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.css +25 -0
  142. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.js +301 -0
  143. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.css +71 -0
  144. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.js +437 -0
  145. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/types/IListMenuItem.js +1 -0
  146. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/types/enum.js +4 -0
  147. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/types/types.js +1 -0
  148. package/dist/collection/components/actions/bds-toggle/bds-toggle.css +120 -0
  149. package/dist/collection/components/actions/bds-toggle/bds-toggle.js +544 -0
  150. package/dist/collection/components/actions/bds-toggle/types/IEventChange.js +1 -0
  151. package/dist/collection/components/actions/bds-toggle/types/IToggle.js +1 -0
  152. package/dist/collection/components/actions/bds-toggle/types/enum.js +4 -0
  153. package/dist/collection/components/actions/bds-toggle/types/index.js +4 -0
  154. package/dist/collection/components/actions/bds-toggle/types/types.js +1 -0
  155. package/dist/collection/components/feedback/bds-badge/bds-badge.css +76 -0
  156. package/dist/collection/components/feedback/bds-badge/bds-badge.js +120 -0
  157. package/dist/collection/components/feedback/bds-badge/types/IBadge.js +1 -0
  158. package/dist/collection/components/feedback/bds-badge/types/enum.js +5 -0
  159. package/dist/collection/components/feedback/bds-banner/bds-banner.css +1 -2
  160. package/dist/collection/components/feedback/bds-banner/bds-banner.js +30 -6
  161. package/dist/collection/components/feedback/bds-spinner/bds-spinner.css +7 -8
  162. package/dist/collection/components/feedback/bds-spinner/bds-spinner.js +1 -1
  163. package/dist/collection/components/feedback/bds-status/bds-status.css +101 -0
  164. package/dist/collection/components/feedback/bds-status/bds-status.js +122 -0
  165. package/dist/collection/components/feedback/bds-status/types/IStatus.js +1 -0
  166. package/dist/collection/components/feedback/bds-status/types/enum.js +5 -0
  167. package/dist/collection/components/feedback/bds-status/types/types.js +1 -0
  168. package/dist/collection/components/feedback/bds-tag/bds-tag.css +202 -0
  169. package/dist/collection/components/feedback/bds-tag/bds-tag.js +375 -0
  170. package/dist/collection/components/feedback/bds-tag/types/ITag.js +1 -0
  171. package/dist/collection/components/feedback/bds-tag/types/enum.js +10 -0
  172. package/dist/collection/components/feedback/bds-tag/types/index.js +3 -0
  173. package/dist/collection/components/feedback/bds-tag/types/types.js +1 -0
  174. package/dist/collection/components/forms/bds-checkbox/bds-checkbox.js +1 -1
  175. package/dist/collection/components/forms/bds-flag/bds-flag.js +1 -1
  176. package/dist/collection/components/forms/bds-text-field/bds-text-field.js +1 -1
  177. package/dist/collection/components/helpers/bds-divider.css +36 -0
  178. package/dist/collection/components/helpers/bds-divider.js +88 -0
  179. package/dist/collection/components/helpers/types/IDivider.js +1 -0
  180. package/dist/collection/components/helpers/types/enum.js +4 -0
  181. package/dist/collection/components/helpers/types/types.js +1 -0
  182. package/dist/collection/components/images-icons/bds-avatar/bds-avatar.css +52 -0
  183. package/dist/collection/components/images-icons/bds-avatar/bds-avatar.js +219 -0
  184. package/dist/collection/components/images-icons/bds-avatar/types/IAvatar.js +1 -0
  185. package/dist/collection/components/images-icons/bds-avatar/types/enum.js +5 -0
  186. package/dist/collection/components/images-icons/bds-avatar/types/index.js +3 -0
  187. package/dist/collection/components/images-icons/bds-avatar/types/types.js +1 -0
  188. package/dist/collection/components/layouts/bds-grid/grid/bds-grid.css +57 -0
  189. package/dist/collection/components/layouts/bds-grid/grid/bds-grid.js +100 -0
  190. package/dist/collection/components/layouts/bds-grid/grid/types/IGrid.js +1 -0
  191. package/dist/collection/components/layouts/bds-grid/grid/types/enum.js +4 -0
  192. package/dist/collection/components/layouts/bds-grid/grid/types/index.js +3 -0
  193. package/dist/collection/components/layouts/bds-grid/grid/types/types.js +1 -0
  194. package/dist/collection/components/layouts/bds-grid/grid-item/bds-grid-item.css +70 -0
  195. package/dist/collection/components/layouts/bds-grid/grid-item/bds-grid-item.js +306 -0
  196. package/dist/collection/components/layouts/bds-grid/grid-item/types/IGridItem.js +1 -0
  197. package/dist/collection/components/layouts/bds-grid/grid-item/types/enum.js +10 -0
  198. package/dist/collection/components/layouts/bds-grid/grid-item/types/index.js +3 -0
  199. package/dist/collection/components/layouts/bds-grid/grid-item/types/types.js +1 -0
  200. package/dist/collection/components/overlays/bds-dialog/bds-dialog.js +4 -3
  201. package/dist/collection/components/overlays/bds-popover/bds-popover.css +16 -2
  202. package/dist/collection/components/overlays/bds-popover/bds-popover.js +12 -4
  203. package/dist/collection/components/overlays/bds-popover/constants/Offset.js +1 -0
  204. package/dist/collection/components/overlays/bds-tooltip/bds-tooltip.css +2 -13
  205. package/dist/collection/components/overlays/bds-tooltip/bds-tooltip.js +4 -2
  206. package/dist/collection/components/overlays/bds-tooltip/constants/Offset.js +1 -0
  207. package/dist/collection/components/titles-text/bds-typography/bds-typography.css +4 -0
  208. package/dist/collection/components/titles-text/bds-typography/bds-typography.js +20 -19
  209. package/dist/collection/components/titles-text/bds-typography/utils/bds-typography-utils.js +2 -2
  210. package/dist/collection/css/boreal.css +1066 -1074
  211. package/dist/collection/css/global.css +403 -407
  212. package/dist/collection/css/theme-connect.css +163 -164
  213. package/dist/collection/css/theme-engage.css +163 -164
  214. package/dist/collection/css/theme-protect.css +163 -164
  215. package/dist/collection/css/theme-proximus.css +164 -165
  216. package/dist/collection/mixins/anchored.mixin.js +14 -1
  217. package/dist/collection/mixins/index.js +2 -0
  218. package/dist/collection/mixins/links.mixin.js +153 -0
  219. package/dist/collection/mixins/menu-behavior.mixin.js +113 -0
  220. package/dist/collection/scss/maps/_primitives.scss +404 -408
  221. package/dist/collection/scss/maps/_theme-connect.scss +164 -165
  222. package/dist/collection/scss/maps/_theme-engage.scss +164 -165
  223. package/dist/collection/scss/maps/_theme-protect.scss +164 -165
  224. package/dist/collection/scss/maps/_theme-proximus.scss +165 -166
  225. package/dist/collection/scss/variables/_primitives.scss +404 -408
  226. package/dist/collection/scss/variables/_theme-connect.scss +164 -165
  227. package/dist/collection/scss/variables/_theme-engage.scss +164 -165
  228. package/dist/collection/scss/variables/_theme-protect.scss +164 -165
  229. package/dist/collection/scss/variables/_theme-proximus.scss +165 -166
  230. package/dist/collection/services/floating/positioning.service.js +1 -1
  231. package/dist/collection/types/IFormProps.js +1 -0
  232. package/dist/collection/types/index.js +3 -0
  233. package/dist/collection/types/links.js +1 -0
  234. package/dist/collection/types/menu.js +8 -0
  235. package/dist/collection/types/position.js +6 -2
  236. package/dist/collection/utils/constants/common/Keys.js +12 -0
  237. package/dist/collection/utils/helpers/overlays/getOffset.js +13 -0
  238. package/dist/collection/utils/helpers/validateProps.js +21 -0
  239. package/dist/collection/utils/index.js +2 -1
  240. package/dist/collection/utils/menu/index.js +1 -0
  241. package/dist/collection/utils/menu/menu-item.utils.js +81 -0
  242. package/dist/collection/utils/{__test__ → testing}/index.js +0 -2
  243. package/dist/collection/utils/testing/mocks/console.js +30 -0
  244. package/dist/collection/utils/testing/mocks/index.js +4 -0
  245. package/dist/css/boreal.css +1066 -1074
  246. package/dist/css/global.css +403 -407
  247. package/dist/css/theme-connect.css +163 -164
  248. package/dist/css/theme-engage.css +163 -164
  249. package/dist/css/theme-protect.css +163 -164
  250. package/dist/css/theme-proximus.css +164 -165
  251. package/dist/esm/BaseAttributes-DhSchGPI.js +12 -0
  252. package/dist/esm/Keys-CzYQb3pP.js +20 -0
  253. package/dist/esm/bds-avatar.entry.js +87 -0
  254. package/dist/esm/bds-badge.entry.js +48 -0
  255. package/dist/esm/bds-banner.entry.js +12 -5
  256. package/dist/esm/bds-button.entry.js +5 -5
  257. package/dist/esm/bds-checkbox.entry.js +3 -3
  258. package/dist/esm/bds-dialog.entry.js +7 -6
  259. package/dist/esm/bds-divider.entry.js +44 -0
  260. package/dist/esm/bds-flag.entry.js +3 -3
  261. package/dist/esm/bds-grid-item.entry.js +91 -0
  262. package/dist/esm/bds-grid.entry.js +35 -0
  263. package/dist/esm/bds-list-menu-item.entry.js +466 -0
  264. package/dist/esm/bds-list-menu.entry.js +128 -0
  265. package/dist/esm/bds-popover.entry.js +16 -7
  266. package/dist/esm/bds-spinner.entry.js +4 -4
  267. package/dist/esm/bds-status.entry.js +57 -0
  268. package/dist/esm/bds-tag.entry.js +138 -0
  269. package/dist/esm/bds-text-field.entry.js +5 -15
  270. package/dist/esm/bds-toggle.entry.js +184 -0
  271. package/dist/esm/bds-tooltip_2.entry.js +317 -0
  272. package/dist/esm/boreal-web-components.js +3 -3
  273. package/dist/esm/{anchored.mixin-Y3MkGc2X.js → getOffset-DKPjeBHi.js} +40 -25
  274. package/dist/esm/{index-D4EFsvs1.js → index-BqJlOB6b.js} +64 -0
  275. package/dist/esm/loader.js +3 -3
  276. package/dist/esm/{states-BhTPNsBb.js → states-Bfazyxqi.js} +8 -1
  277. package/dist/esm/validateProps-kGnB15Lz.js +39 -0
  278. package/dist/esm-es5/BaseAttributes-DhSchGPI.js +1 -0
  279. package/dist/esm-es5/Keys-CzYQb3pP.js +1 -0
  280. package/dist/esm-es5/bds-avatar.entry.js +1 -0
  281. package/dist/esm-es5/bds-badge.entry.js +1 -0
  282. package/dist/esm-es5/bds-banner.entry.js +1 -1
  283. package/dist/esm-es5/bds-button.entry.js +1 -1
  284. package/dist/esm-es5/bds-checkbox.entry.js +1 -1
  285. package/dist/esm-es5/bds-dialog.entry.js +1 -1
  286. package/dist/esm-es5/bds-divider.entry.js +1 -0
  287. package/dist/esm-es5/bds-flag.entry.js +1 -1
  288. package/dist/esm-es5/bds-grid-item.entry.js +1 -0
  289. package/dist/esm-es5/bds-grid.entry.js +1 -0
  290. package/dist/esm-es5/bds-list-menu-item.entry.js +1 -0
  291. package/dist/esm-es5/bds-list-menu.entry.js +1 -0
  292. package/dist/esm-es5/bds-popover.entry.js +1 -1
  293. package/dist/esm-es5/bds-spinner.entry.js +1 -1
  294. package/dist/esm-es5/bds-status.entry.js +1 -0
  295. package/dist/esm-es5/bds-tag.entry.js +1 -0
  296. package/dist/esm-es5/bds-text-field.entry.js +1 -1
  297. package/dist/esm-es5/bds-toggle.entry.js +1 -0
  298. package/dist/esm-es5/bds-tooltip_2.entry.js +1 -0
  299. package/dist/esm-es5/boreal-web-components.js +1 -1
  300. package/dist/esm-es5/form-associated.mixin-CvK2d92c.js +1 -0
  301. package/dist/esm-es5/getOffset-DKPjeBHi.js +1 -0
  302. package/dist/esm-es5/index-BqJlOB6b.js +2 -0
  303. package/dist/esm-es5/loader.js +1 -1
  304. package/dist/esm-es5/states-Bfazyxqi.js +1 -0
  305. package/dist/esm-es5/validateProps-kGnB15Lz.js +1 -0
  306. package/dist/scss/maps/_primitives.scss +404 -408
  307. package/dist/scss/maps/_theme-connect.scss +164 -165
  308. package/dist/scss/maps/_theme-engage.scss +164 -165
  309. package/dist/scss/maps/_theme-protect.scss +164 -165
  310. package/dist/scss/maps/_theme-proximus.scss +165 -166
  311. package/dist/scss/variables/_primitives.scss +404 -408
  312. package/dist/scss/variables/_theme-connect.scss +164 -165
  313. package/dist/scss/variables/_theme-engage.scss +164 -165
  314. package/dist/scss/variables/_theme-protect.scss +164 -165
  315. package/dist/scss/variables/_theme-proximus.scss +165 -166
  316. package/dist/types/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.d.ts +70 -0
  317. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.d.ts +116 -0
  318. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/types/IListMenuItem.d.ts +12 -0
  319. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/types/enum.d.ts +5 -0
  320. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/types/types.d.ts +3 -0
  321. package/dist/types/components/actions/bds-toggle/bds-toggle.d.ts +91 -0
  322. package/dist/types/components/actions/bds-toggle/types/IEventChange.d.ts +5 -0
  323. package/dist/types/components/actions/bds-toggle/types/IToggle.d.ts +12 -0
  324. package/dist/types/components/actions/bds-toggle/types/enum.d.ts +5 -0
  325. package/dist/types/components/actions/bds-toggle/types/index.d.ts +5 -0
  326. package/dist/types/components/actions/bds-toggle/types/types.d.ts +3 -0
  327. package/dist/types/components/feedback/bds-badge/bds-badge.d.ts +31 -0
  328. package/dist/types/components/feedback/bds-badge/types/IBadge.d.ts +6 -0
  329. package/dist/types/components/feedback/bds-badge/types/enum.d.ts +9 -0
  330. package/dist/types/components/feedback/bds-banner/bds-banner.d.ts +8 -4
  331. package/dist/types/components/feedback/bds-status/bds-status.d.ts +26 -0
  332. package/dist/types/components/feedback/bds-status/types/IStatus.d.ts +7 -0
  333. package/dist/types/components/feedback/bds-status/types/enum.d.ts +6 -0
  334. package/dist/types/components/feedback/bds-status/types/types.d.ts +3 -0
  335. package/dist/types/components/feedback/bds-tag/bds-tag.d.ts +71 -0
  336. package/dist/types/components/feedback/bds-tag/types/ITag.d.ts +13 -0
  337. package/dist/types/components/feedback/bds-tag/types/enum.d.ts +11 -0
  338. package/dist/types/components/feedback/bds-tag/types/index.d.ts +4 -0
  339. package/dist/types/components/feedback/bds-tag/types/types.d.ts +8 -0
  340. package/dist/types/components/forms/bds-flag/bds-flag.d.ts +3 -4
  341. package/dist/types/components/helpers/bds-divider.d.ts +26 -0
  342. package/dist/types/components/helpers/types/IDivider.d.ts +5 -0
  343. package/dist/types/components/helpers/types/enum.d.ts +5 -0
  344. package/dist/types/components/helpers/types/types.d.ts +3 -0
  345. package/dist/types/components/images-icons/bds-avatar/bds-avatar.d.ts +51 -0
  346. package/dist/types/components/images-icons/bds-avatar/types/IAvatar.d.ts +9 -0
  347. package/dist/types/components/images-icons/bds-avatar/types/enum.d.ts +6 -0
  348. package/dist/types/components/images-icons/bds-avatar/types/index.d.ts +4 -0
  349. package/dist/types/components/images-icons/bds-avatar/types/types.d.ts +3 -0
  350. package/dist/types/components/layouts/bds-grid/grid/bds-grid.d.ts +19 -0
  351. package/dist/types/components/layouts/bds-grid/grid/types/IGrid.d.ts +6 -0
  352. package/dist/types/components/layouts/bds-grid/grid/types/enum.d.ts +5 -0
  353. package/dist/types/components/layouts/bds-grid/grid/types/index.d.ts +4 -0
  354. package/dist/types/components/layouts/bds-grid/grid/types/types.d.ts +3 -0
  355. package/dist/types/components/layouts/bds-grid/grid-item/bds-grid-item.d.ts +31 -0
  356. package/dist/types/components/layouts/bds-grid/grid-item/types/IGridItem.d.ts +12 -0
  357. package/dist/types/components/layouts/bds-grid/grid-item/types/enum.d.ts +11 -0
  358. package/dist/types/components/layouts/bds-grid/grid-item/types/index.d.ts +4 -0
  359. package/dist/types/components/layouts/bds-grid/grid-item/types/types.d.ts +3 -0
  360. package/dist/types/components/overlays/bds-dialog/bds-dialog.d.ts +2 -2
  361. package/dist/types/components/overlays/bds-popover/bds-popover.d.ts +1 -0
  362. package/dist/types/components/overlays/bds-popover/constants/Offset.d.ts +2 -0
  363. package/dist/types/components/overlays/bds-tooltip/bds-tooltip.d.ts +1 -0
  364. package/dist/types/components/overlays/bds-tooltip/constants/Offset.d.ts +2 -0
  365. package/dist/types/components/titles-text/bds-typography/bds-typography.d.ts +9 -9
  366. package/dist/types/components/titles-text/bds-typography/types/ITypography.d.ts +2 -2
  367. package/dist/types/components/titles-text/bds-typography/utils/bds-typography-utils.d.ts +1 -1
  368. package/dist/types/components.d.ts +1268 -54
  369. package/dist/types/mixins/anchored.mixin.d.ts +5 -0
  370. package/dist/types/mixins/index.d.ts +2 -0
  371. package/dist/types/mixins/links.mixin.d.ts +85 -0
  372. package/dist/types/mixins/menu-behavior.mixin.d.ts +91 -0
  373. package/dist/types/types/IFormProps.d.ts +25 -0
  374. package/dist/types/types/index.d.ts +3 -0
  375. package/dist/types/types/links.d.ts +14 -0
  376. package/dist/types/types/menu.d.ts +16 -0
  377. package/dist/types/types/position.d.ts +6 -2
  378. package/dist/types/utils/constants/common/Keys.d.ts +7 -6
  379. package/dist/types/utils/helpers/overlays/getOffset.d.ts +9 -0
  380. package/dist/types/utils/helpers/validateProps.d.ts +11 -0
  381. package/dist/types/utils/index.d.ts +2 -1
  382. package/dist/types/utils/menu/index.d.ts +2 -0
  383. package/dist/types/utils/menu/menu-item.utils.d.ts +50 -0
  384. package/dist/types/utils/{__test__ → testing}/index.d.ts +0 -2
  385. package/dist/types/utils/{__test__/backdrop-mock.d.ts → testing/mocks/backdrop.d.ts} +1 -1
  386. package/dist/types/utils/testing/mocks/console.d.ts +17 -0
  387. package/dist/types/utils/{__test__/mocks/ElementInternals.d.ts → testing/mocks/elementInternals.d.ts} +1 -1
  388. package/dist/types/utils/testing/mocks/index.d.ts +5 -0
  389. package/dist/types/utils/{__test__/popover-mock.d.ts → testing/mocks/popover.d.ts} +1 -1
  390. package/package.json +1 -1
  391. package/components-build/p-B6R9EVXK.js +0 -1
  392. package/components-build/p-BSpJ_e9f.js +0 -1
  393. package/components-build/p-BYEAJCas.js +0 -1
  394. package/components-build/p-BhTPNsBb.js +0 -1
  395. package/components-build/p-CYojP4vI.js +0 -1
  396. package/components-build/p-D5omSME4.js +0 -1
  397. package/components-build/p-vfAIdwy0.js +0 -1
  398. package/dist/boreal-web-components/p-07a933df.entry.js +0 -1
  399. package/dist/boreal-web-components/p-1bb2b33f.entry.js +0 -1
  400. package/dist/boreal-web-components/p-1fccea3f.system.entry.js +0 -1
  401. package/dist/boreal-web-components/p-20af732b.system.entry.js +0 -1
  402. package/dist/boreal-web-components/p-39c26e58.entry.js +0 -1
  403. package/dist/boreal-web-components/p-6210d025.entry.js +0 -1
  404. package/dist/boreal-web-components/p-91b9e94e.entry.js +0 -1
  405. package/dist/boreal-web-components/p-9e06910d.system.entry.js +0 -1
  406. package/dist/boreal-web-components/p-BIJhHSAt.system.js +0 -1
  407. package/dist/boreal-web-components/p-BKRyWlfr.js +0 -1
  408. package/dist/boreal-web-components/p-BhTPNsBb.js +0 -1
  409. package/dist/boreal-web-components/p-DoDeP7KR.system.js +0 -1
  410. package/dist/boreal-web-components/p-Dtp4O0H2.system.js +0 -1
  411. package/dist/boreal-web-components/p-Dy7QKP9e.js +0 -1
  412. package/dist/boreal-web-components/p-GjKJvOVG.system.js +0 -2
  413. package/dist/boreal-web-components/p-ac64d4a5.system.entry.js +0 -1
  414. package/dist/boreal-web-components/p-b61fe06c.entry.js +0 -1
  415. package/dist/boreal-web-components/p-cdc87437.entry.js +0 -1
  416. package/dist/boreal-web-components/p-d8ec8557.system.entry.js +0 -1
  417. package/dist/boreal-web-components/p-ea889727.entry.js +0 -1
  418. package/dist/boreal-web-components/p-fa327346.system.entry.js +0 -1
  419. package/dist/boreal-web-components/p-sDZFaZMN.system.js +0 -1
  420. package/dist/boreal-web-components/p-vfAIdwy0.js +0 -1
  421. package/dist/cjs/bds-tooltip.cjs.entry.js +0 -152
  422. package/dist/cjs/bds-typography.cjs.entry.js +0 -168
  423. package/dist/cjs/validateProps-BNOBk1Xs.js +0 -20
  424. package/dist/collection/utils/__test__/mocks/index.js +0 -1
  425. package/dist/esm/bds-tooltip.entry.js +0 -150
  426. package/dist/esm/bds-typography.entry.js +0 -166
  427. package/dist/esm/validateProps-vfAIdwy0.js +0 -18
  428. package/dist/esm-es5/anchored.mixin-Y3MkGc2X.js +0 -1
  429. package/dist/esm-es5/bds-tooltip.entry.js +0 -1
  430. package/dist/esm-es5/bds-typography.entry.js +0 -1
  431. package/dist/esm-es5/index-D4EFsvs1.js +0 -2
  432. package/dist/esm-es5/internals-Dy7QKP9e.js +0 -1
  433. package/dist/esm-es5/states-BhTPNsBb.js +0 -1
  434. package/dist/esm-es5/validateProps-vfAIdwy0.js +0 -1
  435. package/dist/types/utils/__test__/mocks/index.d.ts +0 -2
  436. package/dist/cjs/{internals-X77qKxsK.js → form-associated.mixin-DXwvF_vW.js} +30 -30
  437. package/dist/collection/utils/{__test__ → testing}/constants.js +0 -0
  438. package/dist/collection/utils/{__test__ → testing}/fixtures.js +0 -0
  439. package/dist/collection/utils/{__test__ → testing}/helpers.js +0 -0
  440. package/dist/collection/utils/{__test__/backdrop-mock.js → testing/mocks/backdrop.js} +0 -0
  441. package/dist/collection/utils/{__test__/mocks/ElementInternals.js → testing/mocks/elementInternals.js} +0 -0
  442. package/dist/collection/utils/{__test__/popover-mock.js → testing/mocks/popover.js} +0 -0
  443. package/dist/esm/{internals-Dy7QKP9e.js → form-associated.mixin-CvK2d92c.js} +30 -30
  444. /package/dist/types/utils/{__test__ → testing}/constants.d.ts +0 -0
  445. /package/dist/types/utils/{__test__ → testing}/fixtures.d.ts +0 -0
  446. /package/dist/types/utils/{__test__ → testing}/helpers.d.ts +0 -0
@@ -0,0 +1 @@
1
+ import{M as i,r as s,c as a,h as t,g as e}from"./p-BqJlOB6b.js";import{f as o}from"./p-DCXSEEVH.js";import{a as d}from"./p-CaHOghy5.js";import{v as l}from"./p-kGnB15Lz.js";import{S as r}from"./p-Bfazyxqi.js";const n=i=>{class s extends(o(i)){constructor(){super(...arguments),this.isClosing=!1}get hooks(){return{}}showElement(){this.dialogElement.showModal(),this.isVisible=!0}hideElement(){this.dialogElement.close(),this.isVisible=!1,this.isClosing=!1}closeElement(){this.preventClose||this.isClosing||(this.isClosing=!0,void 0!==this.hooks.onBeforeClose?this.onBeforeClose(this.dialogElement):this.hide())}toggle(){this.isVisible?this.closeElement():this.show()}onAfterShow(i){this.previousOverflow=document.body.style.overflow,document.body.style.overflow="hidden",this.hooks.onAfterShow?.(i)}onAfterHide(i){document.body.style.overflow=this.previousOverflow??"",this.hooks.onAfterHide?.(i)}onBeforeClose(i){this.hooks.onBeforeClose?.(i)}handleBackdropClick(i){this.backdropClose&&i.target===this.dialogElement&&(i.preventDefault(),i.stopImmediatePropagation(),this.closeElement())}handleKeydown(i){"Escape"===i.key&&(i.preventDefault(),i.stopImmediatePropagation()),this.escapeClose&&!i.repeat&&"Escape"===i.key&&this.closeElement()}addTransitionAnimation(i){this.dialogElement.classList.add(i)}removeTransitionAnimation(i){this.dialogElement.classList.remove(i)}}return s},h={SMALL:"sm",MEDIUM:"md",LARGE:"lg",FULL:"full"},b={...r,DEFAULT:"default"},c={DEFAULT:"default",HEADERLESS:"headerless",FOOTERLESS:"footerless"},g={DEFAULT:"default",NONE:"none"},p=class extends(i(n)){constructor(i){super(),s(this,i),this.bdsOpen=a(this,"bdsOpen"),this.bdsClose=a(this,"bdsClose"),this.bdsMaximize=a(this,"bdsMaximize"),this.inheritedAttributes={},this.active=!1,this.preventClose=!1,this.height="",this.width="",this.layout=c.DEFAULT,this.contentPadding=g.DEFAULT,this.backdropClose=!1,this.escapeClose=!1,this.size=h.MEDIUM,this.variant=b.DEFAULT,this.titleDialog="",this.maximizable=!1,this.closable=!1,this.onDialogTransitionEnd=i=>{i.target===this.dialogElement&&"::backdrop"!==i.pseudoElement&&(this.preventClose||this.isClosing&&this.hide())}}handleIsOpenChange(i){void 0!==this.dialogElement&&(i?this.show():this.closeElement())}componentWillLoad(){this.checkPropValues(),this.inheritedAttributes={...d(this.el)}}componentDidLoad(){this.active&&this.handleIsOpenChange(this.active)}checkPropValues(){l(Object.values(c),c.DEFAULT,this.el,"layout"),l(Object.values(g),g.DEFAULT,this.el,"contentPadding"),l(Object.values(h),h.MEDIUM,this.el,"size"),l(Object.values(b),b.DEFAULT,this.el,"variant")}handleMaximize(){this.bdsMaximize.emit()}async open(){this.show()}async close(){this.closeElement()}get isHeaderLeftVisible(){return this.isHeaderRightVisible||this.titleDialog}get isHeaderRightVisible(){return this.maximizable||this.closable}get hooks(){return{onAfterShow:()=>this.onOpenDialog(),onBeforeClose:()=>this.transitionBeforeClose(),onAfterHide:()=>this.resetComponent()}}transitionBeforeClose(){this.active&&(this.active=!1),this.removeTransitionAnimation("enter");const{transitionDuration:i}=getComputedStyle(this.dialogElement),s=parseFloat(i);i&&!Number.isNaN(s)&&s>0||this.hide()}onOpenDialog(){this.addTransitionAnimation("enter"),this.bdsOpen.emit()}resetComponent(){this.bdsClose.emit()}getVariantIcon(){const i={info:"bds-icon-info-circle-fill",success:"bds-icon-check-circle-fill",warning:"bds-icon-info-major-triangle-up-fill",danger:"bds-icon-alert-circle-fill",default:""};return void 0===i[this.variant]?i.default:i[this.variant]}getStyles(){return{"bds-dialog":!0,[`bds-dialog--${this.variant}`]:!0,[`bds-dialog--${this.size}`]:!0,"bds-dialog--custom-size":this.width.length>0||this.height.length>0}}getFixedSize(){return{...this.width&&{"--bds-dialog-width":`${this.width}px`},...this.height&&{"--bds-dialog-height":`${this.height}px`}}}getHeaderLeftElement(){return this.isHeaderLeftVisible&&t("div",{class:"bds-dialog__header-left"},this.getVariantIcon()&&t("em",{"aria-hidden":"true",class:`bds-dialog__variant-icon ${this.getVariantIcon()}`}),this.titleDialog&&t("span",{id:"bds-dialog-title",class:"bds-dialog__title"},this.titleDialog))}getHeaderRightElement(){return this.isHeaderRightVisible&&t("div",{class:"bds-dialog__header-right"},this.maximizable&&t("bds-button",{"aria-label":"maximize",type:"button",onBdsClick:()=>this.handleMaximize()},t("em",{class:"bds-icon-arrows-out"})),this.closable&&t("bds-button",{"aria-label":"close",type:"button",onBdsClick:()=>this.closeElement()},t("em",{class:"bds-icon-close"})))}render(){const i=this.inheritedAttributes;return t("dialog",{key:"73f9b2516aa414e3016e8a18b5f0d2de7f46a09a",onClick:i=>this.handleBackdropClick(i),onKeyDown:i=>this.handleKeydown(i),onTransitionEnd:this.onDialogTransitionEnd,ref:i=>{void 0!==i&&(this.dialogElement=i)},style:{...this.getFixedSize()},...this.titleDialog.length>0&&{"aria-labelledby":"bds-dialog-title"},...i},t("div",{key:"ef900b6a99ed650db043fb8123c90c3cd7322ec6",class:this.getStyles()},this.layout!==c.HEADERLESS&&t("div",{key:"81d96f353eef6bd9f38baba8702b88599d6c02a3",class:"bds-dialog__header"},this.getHeaderLeftElement(),this.getHeaderRightElement()),t("div",{key:"d36d2c112a87e885e53bd4a8740530ac7b196980",class:"bds-dialog__body "+("none"===this.contentPadding?"bds-dialog--no-padding":"")},t("slot",{key:"c296c8e91a44d7f40284586b3b425a6b87964cdd"})),this.layout!==c.FOOTERLESS&&t("div",{key:"98c17852b5dc519207c66850c38d679d31d27b5b",class:"bds-dialog__footer"},t("slot",{key:"159426b4095804e6da864d86a0f6ef7a8e2197e3",name:"footer"}))))}get el(){return e(this)}static get watchers(){return{active:[{handleIsOpenChange:0}]}}};p.style='@charset "UTF-8";.bds-dialog{font-family:var(--boreal-typography-font-family-primary);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.bds-dialog__header{height:var(--boreal-spacing-4xl);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:var(--boreal-spacing-s) var(--boreal-spacing-s) var(--boreal-spacing-s) var(--boreal-spacing-l)}.bds-dialog__header:empty{display:none}.bds-dialog__header-right,.bds-dialog__header-left{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-2xs)}.bds-dialog__title{color:var(--boreal-text-default-light);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-dialog__body{height:100%;overflow-y:auto;padding:var(--boreal-spacing-s) var(--boreal-spacing-l)}.bds-dialog__footer{padding:var(--boreal-spacing-s) var(--boreal-spacing-xs)}.bds-dialog__body,.bds-dialog__footer{-webkit-box-shadow:0 var(--boreal-spacing-4xs) var(--boreal-spacing-4xs) 0 var(--boreal-stroke-default-light) inset;box-shadow:0 var(--boreal-spacing-4xs) var(--boreal-spacing-4xs) 0 var(--boreal-stroke-default-light) inset}.bds-dialog__body:empty,.bds-dialog__footer:empty{display:none}.bds-dialog--sm{width:min(448px, 100vw - var(--boreal-spacing-m) * 2)}.bds-dialog--md{width:min(640px, 100vw - var(--boreal-spacing-m) * 2)}.bds-dialog--lg{width:min(960px, 100vw - var(--boreal-spacing-m) * 2)}.bds-dialog--full{width:min(1280px, 100vw - var(--boreal-spacing-m) * 2);height:calc(100vh - var(--boreal-spacing-4xl))}.bds-dialog--custom-size{width:var(--bds-dialog-width, auto);height:var(--bds-dialog-height, auto)}.bds-dialog--info .bds-dialog__variant-icon{color:var(--boreal-icon-info-base)}.bds-dialog--warning .bds-dialog__variant-icon{color:var(--boreal-icon-warning-base)}.bds-dialog--danger .bds-dialog__variant-icon{color:var(--boreal-icon-danger-base)}.bds-dialog--success .bds-dialog__variant-icon{color:var(--boreal-icon-success-base)}.bds-dialog--no-padding{padding:0}bds-dialog dialog{border:none;border-radius:var(--boreal-radius-xs);background-color:var(--boreal-white);-webkit-box-shadow:0 8px 12px 0 rgba(19, 19, 22, 0.15);box-shadow:0 8px 12px 0 rgba(19, 19, 22, 0.15);-ms-flex-item-align:center;align-self:center;justify-self:center}bds-dialog dialog::-webkit-backdrop{opacity:0;-webkit-transition:opacity 0.3s ease;transition:opacity 0.3s ease}bds-dialog dialog::-ms-backdrop{opacity:0;-ms-transition:opacity 0.3s ease;transition:opacity 0.3s ease}bds-dialog dialog,bds-dialog dialog::backdrop{opacity:0;-webkit-transition:opacity 0.3s ease;transition:opacity 0.3s ease}bds-dialog dialog[open].enter::-webkit-backdrop{opacity:1}bds-dialog dialog[open].enter::-ms-backdrop{opacity:1}bds-dialog dialog[open].enter,bds-dialog dialog[open].enter::backdrop{opacity:1}';export{p as bds_dialog}
@@ -0,0 +1 @@
1
+ import{M as e,r as t,c as s,h as i,a as o,g as a}from"./p-BqJlOB6b.js";import{f as r,s as l}from"./p-CvK2d92c.js";import{a as d}from"./p-CaHOghy5.js";import{c as h}from"./p-DhSchGPI.js";const b=class extends(e(r)){constructor(e){super(),t(this,e),this.valueChange=s(this,"valueChange"),this.bdsChange=s(this,"bdsChange"),e.$hostElement$["s-ei"]?this.internals=e.$hostElement$["s-ei"]:(this.internals=e.$hostElement$.attachInternals(),e.$hostElement$["s-ei"]=this.internals),this.inheritedAttributes={},this.disabled=!1,this.required=!1,this.info="",this.error=!1,this.errorMessage="",this.checked=!1,this.placement="left",this.label="",this.helperText="",this.value="on",this._id=h("bds-toggle"),this.isDisabled=!1,this.validationError=!1,this.validationMessage="",this.isChecked=!1,this.handleClick=()=>this.toggle(),this.handleKeyDown=e=>{" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),this.toggle())},this.handleInvalid=e=>{e.preventDefault(),this.validate()}}componentWillLoad(){this.isChecked=this.checked||!1,this.isDisabled=this.disabled||!1,this.inheritedAttributes={...d(this.el)},this.syncFormValue()}onCheckedChange(e){this.isChecked=e,this.syncFormValue()}onDisabledChange(e){this.isDisabled=e}formAssociatedCallback(){this.syncFormValue()}formDisabledCallback(e){this.isDisabled=e}formResetCallback(){this.isChecked=!1,this.internals.setValidity({}),l(this.internals,null)}formStateRestoreCallback(e,t){this.isChecked=e===this.value,this.internals.setValidity({}),this.syncFormValue()}syncFormValue(){l(this.internals,this.isChecked?this.value:null)}validate(){if(this.isDisabled||!this.required||this.isChecked)this.validationError=!1,this.validationMessage="",this.internals.setValidity({});else{const e=this.el.querySelector("input");this.validationError=!0,this.validationMessage="This field is required",this.internals.setValidity({valueMissing:!0},this.validationMessage,e??this.el)}}toggle(){this.isDisabled||(this.isChecked=!this.isChecked,this.syncFormValue(),this.validate(),this.valueChange.emit(this.isChecked),this.bdsChange.emit({checked:this.isChecked,value:this.value}))}get containerClasses(){return{"bds-toggle__container":!0,"bds-toggle__container--inverse":"right"===this.placement,"bds-toggle__container--checked":this.isChecked,"bds-toggle__container--disabled":this.isDisabled}}get canShowLabel(){return void 0!==this.label&&""!==this.label.trim()&&null!=this.label}render(){const e="bds-toggle",t=this.isDisabled?"disabled":this.error||this.validationError?"error":"default",s=this.error&&""!==this.errorMessage?this.errorMessage:this.validationError&&""!==this.validationMessage?this.validationMessage:this.helperText;return i(o,{key:"8aa5ec26708ce8eb834020353e2e01e882cefad6",...this.inheritedAttributes,onClick:this.handleClick,onKeyDown:this.handleKeyDown,class:e},i("div",{key:"a62ae102ba2167be5e03758c5bfc6197e8f3b73c",part:"container",class:this.containerClasses},this.canShowLabel&&i("bds-typography",{key:"c6129d113b083f9db5bad181f5a8cf1ae161b593",variant:"label",class:`${e}__label`,htmlFor:this._id,required:this.required,tooltipText:this.info},this.label),i("label",{key:"570a0637d106b24823d39945e1b7a68a4cec4f36",class:`${e}__switch`,htmlFor:this._id,onClick:e=>e.preventDefault()},i("input",{key:"197a94215e42e7a8a9d5a5652ad1163b501799ab",class:`${e}__input`,"aria-invalid":this.error||this.validationError?"true":void 0,"aria-label":this.label||null,id:this._id,type:"checkbox",name:this.name,required:this.required,disabled:this.isDisabled,checked:this.isChecked,onInvalid:this.handleInvalid}),i("span",{key:"09ac81f91f9dc92c4e4cac593db4be4697243ce0",class:`${e}__slider ${e}__slider--round`}))),""!==s&&i("bds-typography",{key:"4a35755ec9e280dfedb839826683f1272c76223d",class:`${e}__helper-text`,variant:"helper",state:t,onClick:e=>e.stopPropagation()},s))}static get formAssociated(){return!0}get el(){return a(this)}static get watchers(){return{checked:[{onCheckedChange:0}],disabled:[{onDisabledChange:0}]}}};b.style='@charset "UTF-8";.bds-toggle{font-family:var(--boreal-typography-font-family-primary);display:inline-block}.bds-toggle__container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-2xs);outline:none;width:-webkit-max-content;width:-moz-max-content;width:max-content}.bds-toggle__container:focus{outline:none}.bds-toggle__container--inverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.bds-toggle:active,.bds-toggle:focus-visible{outline:none}.bds-toggle:active .bds-toggle__input:not([disabled])+.bds-toggle__slider,.bds-toggle:focus-visible .bds-toggle__input:not([disabled])+.bds-toggle__slider{-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-toggle .bds-toggle__input:active:not([disabled])+.bds-toggle__slider,.bds-toggle .bds-toggle__input:focus-visible:not([disabled])+.bds-toggle__slider{-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-toggle:hover:not(:active):not([checked]):not([disabled]) .bds-toggle__slider,.bds-toggle:hover:not(:active):focus-within:not([checked]) .bds-toggle__slider{-webkit-box-shadow:0 1px 2px 0 var(--boreal-stroke-default-light);box-shadow:0 1px 2px 0 var(--boreal-stroke-default-light)}.bds-toggle__switch{position:relative;display:inline-block;width:var(--boreal-spacing-3xl);height:var(--boreal-spacing-l)}.bds-toggle__input{opacity:0;width:0;height:0}.bds-toggle__input:not(:checked)+.bds-toggle__slider{border:1px solid var(--boreal-stroke-default-light)}.bds-toggle__input:checked+.bds-toggle__slider{background-color:var(--boreal-ui-primary-base)}.bds-toggle__input:checked+.bds-toggle__slider::before{-webkit-transform:translateX(var(--boreal-spacing-l));-ms-transform:translateX(var(--boreal-spacing-l));transform:translateX(var(--boreal-spacing-l))}.bds-toggle__input:disabled+.bds-toggle__slider{background-color:var(--boreal-ui-disabled);cursor:default}.bds-toggle__input:disabled+.bds-toggle__slider::before{background-color:var(--boreal-icon-default-light)}.bds-toggle__input:disabled:checked+.bds-toggle__slider{background-color:var(--boreal-ui-primary-light)}.bds-toggle__input:disabled:checked+.bds-toggle__slider::before{background-color:var(--boreal-icon-inverse)}.bds-toggle__slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--boreal-ui-base-light);-webkit-transition:all 0.4s, border-color 0s;transition:all 0.4s, border-color 0s}.bds-toggle__slider::before{position:absolute;content:"";height:var(--boreal-typography-font-size-md);width:var(--boreal-typography-font-size-md);left:var(--boreal-spacing-2xs);background-color:var(--boreal-text-inverse);bottom:0;top:0;margin:auto;-webkit-transition:0.3s;transition:0.3s}.bds-toggle__slider--round{border-radius:var(--boreal-radius-m)}.bds-toggle__slider--round::before{border-radius:var(--boreal-radius-full)}.bds-toggle__label{font-size:var(--boreal-typography-font-size-sm);color:var(--boreal-text-default)}.bds-toggle__helper-text{display:-ms-flexbox;display:flex;position:relative;color:var(--boreal-text-default-light);font-size:var(--boreal-typography-font-size-xs);margin-top:var(--boreal-spacing-2xs)}';export{b as bds_toggle}
@@ -0,0 +1 @@
1
+ System.register(["./p-DCKg5Cg_.system.js","./p-BsZkk4oK.system.js"],(function(e){"use strict";var t,r,a,n,i;return{setters:[function(e){t=e.r;r=e.h;a=e.a;n=e.g},function(e){i=e.v}],execute:function(){var s={SMALL:"sm",MEDIUM:"md",LARGE:"lg"};var o=function(){return'@charset "UTF-8";bds-spinner{display:inline-block;position:relative;width:1em;height:1em}bds-spinner::before,bds-spinner::after{content:"";position:absolute;border-color:transparent transparent var(--boreal-primary-base) transparent;border-radius:50%;border-width:3px;border-style:solid;top:0;left:0;width:100%;height:100%;-webkit-box-sizing:border-box;box-sizing:border-box}bds-spinner::before{opacity:0.2;border-style:dashed;-webkit-animation:spin 0.8s linear infinite;animation:spin 0.8s linear infinite}bds-spinner::after{-webkit-animation:draw-arc 0.8s linear infinite;animation:draw-arc 0.8s linear infinite}.bds-spinner--small{width:var(--boreal-layout-m);height:var(--boreal-layout-m)}.bds-spinner--medium{width:var(--boreal-layout-ml);height:var(--boreal-layout-ml)}.bds-spinner--large{width:var(--boreal-layout-xl);height:var(--boreal-layout-xl)}.bds-spinner__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip:rect(0, 0, 0, 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap;border:0}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes draw-arc{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}60%{-webkit-transform:rotate(330deg);transform:rotate(330deg)}65%{-webkit-transform:rotate(335deg);transform:rotate(335deg)}90%{-webkit-transform:rotate(350deg);transform:rotate(350deg)}95%{-webkit-transform:rotate(355deg);transform:rotate(355deg)}98%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes draw-arc{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}60%{-webkit-transform:rotate(330deg);transform:rotate(330deg)}65%{-webkit-transform:rotate(335deg);transform:rotate(335deg)}90%{-webkit-transform:rotate(350deg);transform:rotate(350deg)}95%{-webkit-transform:rotate(355deg);transform:rotate(355deg)}98%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}'};var d=e("bds_spinner",function(){function e(e){t(this,e);this.size=s.SMALL;this.label="Loading"}e.prototype.checkPropValues=function(){i(Object.values(s),s.SMALL,this.el,"size")};e.prototype.componentWillLoad=function(){this.checkPropValues()};Object.defineProperty(e.prototype,"getClassMap",{get:function(){return{"bds-spinner":true,"bds-spinner--small":this.size===s.SMALL,"bds-spinner--medium":this.size===s.MEDIUM,"bds-spinner--large":this.size===s.LARGE}},enumerable:false,configurable:true});e.prototype.render=function(){return r(a,{key:"d114eb6445b81a4e7beafd0ff08b8aaf6e1a96e7",class:this.getClassMap,role:"status","aria-label":this.label,"aria-live":"polite","aria-busy":"true"},r("span",{key:"fa45675b2e258eca9c44a9374a65f26c781343d5",class:"bds-spinner__sr-only"},this.label))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{size:[{checkPropValues:0}]}},enumerable:false,configurable:true});return e}());d.style=o()}}}));
@@ -0,0 +1 @@
1
+ import{M as t,r as s,c as e,h as i,a as o,g as r}from"./p-BqJlOB6b.js";import{C as a}from"./p-Bfazyxqi.js";import{v as n}from"./p-kGnB15Lz.js";import{K as l}from"./p-CzYQb3pP.js";const h=t=>class extends t{constructor(){super(...arguments),this.disabled=!1,this.selected=!1,this.activeItem=!1}get parentRole(){const t=this.el.closest('[role="menu"], [role="listbox"]');return null!==t?t.getAttribute("role"):null}get menuItemRole(){return"menu"===(this.parentRole||"menu")?"menuitem":"option"}get ariaSelected(){return"option"===this.menuItemRole?String(this.selected):null}get itemTabIndex(){return t=this.menuItemRole,s=this.activeItem,this.disabled?-1:"option"===t?this.selected||s?0:-1:"menuitem"===t&&s?0:-1;var t,s}handleKeyDownLogic(t,s){if(function(t){[l.ArrowDown.key,l.ArrowUp.key,l.Enter.key,l.Space.key].includes(t.key)&&t.preventDefault()}(t),t.key===l.Enter.key||t.key===l.Space.key)return void s();const e=this.el.closest("[role='menu'], [role='listbox']");if(null===e)return;const i=Array.from(e.querySelectorAll(`${this.el.tagName.toLocaleLowerCase()}:not([disabled]):not([variant="label"])`)),o=i.indexOf(this.el);!function(t,s,e){if(0===s.length||-1===e)return;let i=-1;switch(t.key){case l.ArrowDown.key:i=(e+1)%s.length;break;case l.ArrowUp.key:i=(e-1+s.length)%s.length;break;default:return}s[i].focus()}(t,i,o)}},b=t=>class extends t{constructor(){super(...arguments),this.href="",this.newTab=!1,this.download=""}get isLink(){return""!==this.href||""!==this.download}get linkAttributes(){const t={};if(!this.isLink)return t;const s=this.sanitizeUrl(this.href);return t.href=s,t.target=this.newTab?"_blank":"_self",t.rel=this._isExternalLink(s)||this.newTab||""!==this.download?"noopener noreferrer":"",t.download=""!==this.download?this.download:void 0,"a"!==this.el.tagName.toLowerCase()&&(t.role="link",t.tabindex="0"),t}_isExternalLink(t){return/^https?:\/\//.test(t)&&!t.includes(window.location.hostname)}handleLinkKeyDown(t){this.isLink&&("a"===this.el.tagName.toLowerCase()||t.key!==l.Enter.key&&t.key!==l.Space.key||(t.preventDefault(),this.handleLinkClick(new MouseEvent("click",{bubbles:!0,cancelable:!0}))))}handleLinkClick(t){if(!this.isLink)return void t.preventDefault();const s=this.linkAttributes;if(""!==s.download&&void 0!==s.download){t.preventDefault();const e=document.createElement("a");e.href=s.download||"",e.download=s.download,e.style.display="none",document.body.appendChild(e),console.log("Initiating download:",e.href),e.click(),document.body.removeChild(e)}"a"!==this.el.tagName.toLowerCase()&&("_blank"===s.target?window.open(s.href,"_blank",s.rel):window.location.href=s.href||"",t.preventDefault())}sanitizeUrl(t){const s=t.trim().toLowerCase();return s.startsWith("javascript:")||s.startsWith("data:")||s.includes("\0")?"":s.startsWith("http://")||s.startsWith("https://")||s.startsWith("mailto:")||s.startsWith("tel:")||s.startsWith("/")||s.startsWith("#")?t:s.startsWith("://")?"":`https://${t}`}},d={LABEL:"label",BUTTON:"button"},c=class extends(t(h,b)){constructor(t){super(),s(this,t),this.bdsSelect=e(this,"bdsSelect"),this.variant=d.BUTTON,this.name="",this.disabled=!1,this.selected=!1,this.value="",this.activeItem=!1,this.href="",this.newTab=!1,this.download="",this.currentState=a.DEFAULT,this.handleClick=t=>{this.disabled||this.isLabelVariant||(this.isLink?this.handleLinkClick(t):this.bdsSelect.emit({value:this.value,selected:!this.selected}))},this.handleKeyDown=t=>{this.disabled||this.isLabelVariant||(this.handleKeyDownLogic(t,(()=>this.handleClick(t))),this.isLink&&void 0===this.linkAttributes.download||(this.currentState=t.key===l.Enter.key||t.key===l.Space.key?a.ACTIVE:this.currentState))},this.handleKeyUp=()=>{this.disabled||this.isLabelVariant||(this.currentState=a.DEFAULT)}}checkPropsVariant(){n(Object.values(d),d.BUTTON,this.el,"variant")}componentWillLoad(){this.checkPropsVariant()}get isLabelVariant(){return this.variant===d.LABEL}get classMap(){return{"bds-list-item":!0,"bds-list-item--disabled":this.disabled,"bds-list-item--selected":this.selected,[`bds-list-item--state-${this.currentState}`]:!0,[`bds-list-item--${this.variant}`]:!0}}renderTypeLabel(){return i("bds-typography",{variant:"label",element:"label",align:"start",role:"presentation"},i("slot",{name:"left-content"})," ",i("slot",null))}renderTypeButton(){return i("div",{class:"bds-list-item__content"},i("div",{class:"bds-list-item__content--left"},i("slot",{name:"left-content"}),i("slot",null)),i("div",{class:"bds-list-item__content--right"},i("slot",{name:"right-content"})))}render(){let t=this.renderTypeButton();this.isLabelVariant&&(t=this.renderTypeLabel());const s=this.isLink?{...this.linkAttributes,tabindex:this.activeItem?0:-1}:{};return i(o,{key:"ccf9e4a413fd0f13e38f040a0da92493c84d5ae2",class:this.classMap,role:this.isLabelVariant?"presentation":this.menuItemRole,"aria-selected":this.ariaSelected,tabIndex:this.isLabelVariant?-1:this.itemTabIndex,onClick:this.handleClick,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,...s},t)}get el(){return r(this)}static get watchers(){return{variant:[{checkPropsVariant:0}]}}};c.style='@charset "UTF-8";.bds-list-item,.bds-list-item__content,.bds-list-item__content--left,.bds-list-item__content--right{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.bds-list-item{font-family:var(--boreal-typography-font-family-primary);-ms-flex-item-align:stretch;align-self:stretch;color:var(--boreal-text-default);width:100%;font-size:var(--boreal-typography-font-size-sm);font-style:normal;font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-sm)}.bds-list-item__content{-ms-flex-pack:justify;justify-content:space-between;width:100%;gap:var(--boreal-spacing-3xs)}.bds-list-item__content [class*=bds-icon-]{font-size:var(--boreal-typography-font-size-md)}.bds-list-item--button{cursor:pointer;padding:var(--boreal-spacing-2xs) var(--boreal-spacing-s);-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}.bds-list-item--button:not(.bds-list-item--disabled):hover:not([selected]){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-list-item--button:not(.bds-list-item--disabled):focus,.bds-list-item--button:not(.bds-list-item--disabled):focus-visible{outline:none;-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);z-index:1}.bds-list-item--button:not(.bds-list-item--disabled):active,.bds-list-item--button:not(.bds-list-item--disabled).bds-list-item--state-active{-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;background-color:var(--boreal-ui-default-lighter)}.bds-list-item--selected{background-color:var(--boreal-ui-primary-lighter)}.bds-list-item--disabled{color:var(--boreal-text-disabled);cursor:not-allowed}.bds-list-item--label{cursor:default;padding:var(--boreal-spacing-3xs) 0}.bds-list-item--label .bds-typography label{color:var(--boreal-text-default-light)}';export{c as bds_list_menu_item}
@@ -0,0 +1 @@
1
+ import{r as o,c as t,h as r,g as b}from"./p-BqJlOB6b.js";import{C as a}from"./p-Bfazyxqi.js";import{a as e,b as s,B as n}from"./p-C8mRvnTA.js";import{v as d}from"./p-kGnB15Lz.js";const i={DEFAULT:"default",PRIMARY:"primary",SUCCESS:"success",ERROR:"error"},u=class{constructor(r){o(this,r),this.bdsClick=t(this,"bdsClick"),r.$hostElement$["s-ei"]?this.internals=r.$hostElement$["s-ei"]:(this.internals=r.$hostElement$.attachInternals(),r.$hostElement$["s-ei"]=this.internals),this.currentState=a.DEFAULT,this.label="",this.disabled=!1,this.name="",this.type=e.BUTTON,this.color=i.DEFAULT,this.variant=s.DEFAULT,this.size=n.MEDIUM,this.loading=!1,this.disclosure=!1,this.handleKeyDown=o=>{"Enter"!==o.key&&" "!==o.key||(this.currentState=a.ACTIVE,o.preventDefault(),this.handleClick(o))},this.handleKeyUp=()=>{this.currentState=a.DEFAULT},this.handleClick=o=>{o.preventDefault(),o.stopPropagation(),this.disabled||this.loading||(this.type===e.SUBMIT||this.type===e.RESET?this.processFormClick():this.bdsClick.emit(o))}}checkPropValues(){d(Object.values(e),e.BUTTON,this.el,"type"),d(Object.values(i),i.DEFAULT,this.el,"color"),d(Object.values(s),s.DEFAULT,this.el,"variant"),d(Object.values(n),n.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={[e.SUBMIT]:()=>{"function"==typeof this.internalForm?.requestSubmit?this.internalForm.requestSubmit():this.internalForm?.submit()},[e.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 r("button",{key:"e5e7dd996abf7f32218d1871069f4cdd5070cb6b",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},r("div",{key:"815ced9f3e464c73f371227c098ea65a7097f376",class:"bds-button__content"},r("span",{key:"350acb5924bb036afeb2c252c71261c5b2015b1e",class:"bds-button__content-icon bds-button__content-icon--start"},r("slot",{key:"57feb7a77e7edd0d43c3432a5822cdaec60729f6",name:"icon"})),r("slot",{key:"07536c420613bc6d4d53b5947524e69999937d19"}),r("span",{key:"ae96692ab7ffe82df0f2a2cb685704912724df35",class:"bds-button__content-badge"},r("slot",{key:"6a802ae2b19f85c3678c16f7950b597efc981da6",name:"badge"})),this.disclosure&&r("span",{key:"c38f71595010045c86257f6d5c3ce48a504966ad",class:"bds-button__content-icon"},r("i",{key:"a51aff2455184cd38b2d7ebd52cc9c590b81601c",class:"bds-icon-chevron-down"}))))}static get formAssociated(){return!0}get el(){return b(this)}static get watchers(){return{type:[{checkPropValues:0}],color:[{checkPropValues:0}],variant:[{checkPropValues:0}],size:[{checkPropValues:0}]}}};u.style='@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-small{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-small .bds-button__content{padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs)}.bds-button--size-small .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-small .bds-button__content-icon:empty{display:none}.bds-button--size-small .bds-button__content{}.bds-button--size-small .bds-button__content-badge:empty{display:none}.bds-button--size-small .bds-button__content-badge{display:none}.bds-button--size-medium{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-medium .bds-button__content{padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs)}.bds-button--size-medium .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-medium .bds-button__content-icon:empty{display:none}.bds-button--size-medium .bds-button__content{}.bds-button--size-medium .bds-button__content-badge:empty{display:none}.bds-button--size-large{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-large .bds-button__content{padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs)}.bds-button--size-large .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-large .bds-button__content-icon:empty{display:none}.bds-button--size-large .bds-button__content{}.bds-button--size-large .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)}}';export{u as bds_button}
@@ -0,0 +1 @@
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var i,d=1,a=arguments.length;d<a;d++){i=arguments[d];for(var t in i)if(Object.prototype.hasOwnProperty.call(i,t))r[t]=i[t]}return r};return __assign.apply(this,arguments)};System.register(["./p-DCKg5Cg_.system.js","./p-BsZkk4oK.system.js"],(function(r){"use strict";var i,d,a,t,e;return{setters:[function(r){i=r.r;d=r.h;a=r.a;t=r.g},function(r){e=r.v}],execute:function(){var s={FIXED:"fixed",FLUID:"fluid"};var n=function(){return'@charset "UTF-8";bds-grid{--bds-grid-columns:var(--boreal-grid-columns-sm);--bds-grid-gutter:var(--boreal-grid-gutter-sm);--bds-grid-margin:var(--boreal-grid-margin-sm);display:grid;grid-template-columns:repeat(var(--bds-grid-columns), 1fr);gap:var(--bds-grid-gutter);padding-inline:var(--bds-grid-margin);-webkit-margin-start:var(--bds-grid-nav-offset, 0px);margin-inline-start:var(--bds-grid-nav-offset, 0px);-webkit-box-sizing:border-box;box-sizing:border-box}@media (min-width: 769px){bds-grid{--bds-grid-columns:var(--boreal-grid-columns-md)}}@media (min-width: 960px){bds-grid{--bds-grid-columns:var(--boreal-grid-columns-lg);--bds-grid-margin:var(--boreal-grid-margin-lg)}}@media (min-width: 1152px){bds-grid{--bds-grid-gutter:var(--boreal-grid-gutter-xl);--bds-grid-margin:var(--boreal-grid-margin-xl)}}@media (min-width: 1344px){bds-grid{--bds-grid-margin:var(--boreal-grid-margin-2xl)}}bds-grid.bds-grid--fixed{max-width:calc(var(--boreal-grid-fixed-max-columns-width) + 2 * var(--bds-grid-margin));margin-inline:auto}'};var g=r("bds_grid",function(){function r(r){i(this,r);this.layout=s.FLUID}r.prototype.checkPropValues=function(){e(Object.values(s),s.FLUID,this.el,"layout")};r.prototype.componentWillLoad=function(){this.checkPropValues()};r.prototype.render=function(){return d(a,{key:"e5610c3140f86d79b275de56c8a815badccdf03d",class:{"bds-grid--fixed":this.layout===s.FIXED},style:__assign({},this.rowGap&&{"row-gap":this.rowGap})},d("slot",{key:"ac13145d26bd923b6f5abe415b062728757d0fd5"}))};Object.defineProperty(r.prototype,"el",{get:function(){return t(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{layout:[{checkPropValues:0}]}},enumerable:false,configurable:true});return r}());g.style=n()}}}));
@@ -0,0 +1 @@
1
+ import{f as t}from"./p-DCXSEEVH.js";import{K as n}from"./p-CzYQb3pP.js";const e="focus",o="blur",i=Math.min,r=Math.max,s=Math.round,l=Math.floor,a=t=>({x:t,y:t}),c={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function f(t,n,e){return r(t,i(n,e))}function d(t,n){return"function"==typeof t?t(n):t}function h(t){return t.split("-")[0]}function m(t){return t.split("-")[1]}function p(t){return"x"===t?"y":"x"}function y(t){return"y"===t?"height":"width"}const g=new Set(["top","bottom"]);function w(t){return g.has(h(t))?"y":"x"}function x(t){return p(w(t))}function v(t){return t.replace(/start|end/g,(t=>u[t]))}const b=["left","right"],A=["right","left"],S=["top","bottom"],F=["bottom","top"];function R(t){return t.replace(/left|right|bottom|top/g,(t=>c[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 k(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 C(t,n,e){let{reference:o,floating:i}=t;const r=w(n),s=x(n),l=y(s),a=h(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 p;switch(a){case"top":p={x:u,y:o.y-i.height};break;case"bottom":p={x:u,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:f};break;case"left":p={x:o.x-i.width,y:f};break;default:p={x:o.x,y:o.y}}switch(m(n)){case"start":p[s]-=d*(e&&c?-1:1);break;case"end":p[s]+=d*(e&&c?-1:1)}return p}async function D(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:h=!1,padding:m=0}=d(n,t),p=P(m),y=l[h?"floating"===f?"reference":"floating":f],g=k(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})),w="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=k(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:x,strategy:a}):w);return{top:(g.top-b.top+p.top)/v.y,bottom:(b.bottom-g.bottom+p.bottom)/v.y,left:(g.left-b.left+p.left)/v.x,right:(b.right-g.right+p.right)/v.x}}const T=new Set(["left","top"]);function E(){return"undefined"!=typeof window}function L(t){return M(t)?(t.nodeName||"").toLowerCase():"#document"}function O(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function $(t){var n;return null==(n=(M(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function M(t){return!!E()&&(t instanceof Node||t instanceof O(t).Node)}function z(t){return!!E()&&(t instanceof Element||t instanceof O(t).Element)}function B(t){return!!E()&&(t instanceof HTMLElement||t instanceof O(t).HTMLElement)}function q(t){return!(!E()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof O(t).ShadowRoot)}const j=new Set(["inline","contents"]);function H(t){const{overflow:n,overflowX:e,overflowY:o,display:i}=J(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!j.has(i)}const I=new Set(["table","td","th"]);function N(t){return I.has(L(t))}const K=[":popover-open",":modal"];function U(t){return K.some((n=>{try{return t.matches(n)}catch(t){return!1}}))}const V=["transform","translate","scale","rotate","perspective"],W=["transform","translate","scale","rotate","perspective","filter"],X=["paint","layout","strict","content"];function Y(t){const n=Q(),e=z(t)?J(t):t;return V.some((t=>!!e[t]&&"none"!==e[t]))||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||W.some((t=>(e.willChange||"").includes(t)))||X.some((t=>(e.contain||"").includes(t)))}function Q(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const _=new Set(["html","body","#document"]);function G(t){return _.has(L(t))}function J(t){return O(t).getComputedStyle(t)}function Z(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function tt(t){if("html"===L(t))return t;const n=t.assignedSlot||t.parentNode||q(t)&&t.host||$(t);return q(n)?n.host:n}function nt(t){const n=tt(t);return G(n)?t.ownerDocument?t.ownerDocument.body:t.body:B(n)&&H(n)?n:nt(n)}function et(t,n,e){var o;void 0===n&&(n=[]),void 0===e&&(e=!0);const i=nt(t),r=i===(null==(o=t.ownerDocument)?void 0:o.body),s=O(i);if(r){const t=ot(s);return n.concat(s,s.visualViewport||[],H(i)?i:[],t&&e?et(t):[])}return n.concat(i,et(i,[],e))}function ot(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function it(t){const n=J(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const i=B(t),r=i?t.offsetWidth:e,l=i?t.offsetHeight:o,a=s(e)!==r||s(o)!==l;return a&&(e=r,o=l),{width:e,height:o,$:a}}function rt(t){return z(t)?t:t.contextElement}function st(t){const n=rt(t);if(!B(n))return a(1);const e=n.getBoundingClientRect(),{width:o,height:i,$:r}=it(n);let l=(r?s(e.width):e.width)/o,c=(r?s(e.height):e.height)/i;return l&&Number.isFinite(l)||(l=1),c&&Number.isFinite(c)||(c=1),{x:l,y:c}}const lt=a(0);function at(t){const n=O(t);return Q()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:lt}function ct(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),r=rt(t);let s=a(1);n&&(o?z(o)&&(s=st(o)):s=st(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==O(t))&&n}(r,e,o)?at(r):a(0);let c=(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=O(r),n=o&&z(o)?O(o):o;let e=t,i=ot(e);for(;i&&o&&n!==e;){const t=st(i),n=i.getBoundingClientRect(),o=J(i),r=n.left+(i.clientLeft+parseFloat(o.paddingLeft))*t.x,s=n.top+(i.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,u*=t.y,f*=t.x,d*=t.y,c+=r,u+=s,e=O(i),i=ot(e)}}return k({width:f,height:d,x:c,y:u})}function ut(t,n){const e=Z(t).scrollLeft;return n?n.left+e:ct($(t)).left+e}function ft(t,n){const e=t.getBoundingClientRect();return{x:e.left+n.scrollLeft-ut(t,e),y:e.top+n.scrollTop}}const dt=new Set(["absolute","fixed"]);function ht(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=O(t),o=$(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=Q();(!t||t&&"fixed"===n)&&(l=i.offsetLeft,a=i.offsetTop)}const c=ut(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=$(t),e=Z(t),o=t.ownerDocument.body,i=r(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),s=r(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let l=-e.scrollLeft+ut(t);const a=-e.scrollTop;return"rtl"===J(o).direction&&(l+=r(n.clientWidth,o.clientWidth)-i),{width:i,height:s,x:l,y:a}}($(t));else if(z(n))o=function(t,n){const e=ct(t,!0,"fixed"===n),o=e.top+t.clientTop,i=e.left+t.clientLeft,r=B(t)?st(t):a(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=at(t);o={x:n.x-e.x,y:n.y-e.y,width:n.width,height:n.height}}return k(o)}function mt(t,n){const e=tt(t);return!(e===n||!z(e)||G(e))&&("fixed"===J(e).position||mt(e,n))}function pt(t,n,e){const o=B(n),i=$(n),r="fixed"===e,s=ct(t,!0,r,n);let l={scrollLeft:0,scrollTop:0};const c=a(0);function u(){c.x=ut(i)}if(o||!o&&!r)if(("body"!==L(n)||H(i))&&(l=Z(n)),o){const t=ct(n,!0,r,n);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}else i&&u();r&&!o&&i&&u();const f=!i||o||r?a(0):ft(i,l);return{x:s.left+l.scrollLeft-c.x-f.x,y:s.top+l.scrollTop-c.y-f.y,width:s.width,height:s.height}}function yt(t){return"static"===J(t).position}function gt(t,n){if(!B(t)||"fixed"===J(t).position)return null;if(n)return n(t);let e=t.offsetParent;return $(t)===e&&(e=e.ownerDocument.body),e}function wt(t,n){const e=O(t);if(U(t))return e;if(!B(t)){let n=tt(t);for(;n&&!G(n);){if(z(n)&&!yt(n))return n;n=tt(n)}return e}let o=gt(t,n);for(;o&&N(o)&&yt(o);)o=gt(o,n);return o&&G(o)&&yt(o)&&!Y(o)?e:o||function(t){let n=tt(t);for(;B(n)&&!G(n);){if(Y(n))return n;if(U(n))return null;n=tt(n)}return null}(t)||e}const xt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:n,rect:e,offsetParent:o,strategy:i}=t;const r="fixed"===i,s=$(o),l=!!n&&U(n.floating);if(o===s||l&&r)return e;let c={scrollLeft:0,scrollTop:0},u=a(1);const f=a(0),d=B(o);if((d||!d&&!r)&&(("body"!==L(o)||H(s))&&(c=Z(o)),B(o))){const t=ct(o);u=st(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}const h=!s||d||r?a(0):ft(s,c);return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-c.scrollLeft*u.x+f.x+h.x,y:e.y*u.y-c.scrollTop*u.y+f.y+h.y}},getDocumentElement:$,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:s}=t;const l=[..."clippingAncestors"===e?U(n)?[]:function(t,n){const e=n.get(t);if(e)return e;let o=et(t,[],!1).filter((t=>z(t)&&"body"!==L(t))),i=null;const r="fixed"===J(t).position;let s=r?tt(t):t;for(;z(s)&&!G(s);){const n=J(s),e=Y(s);e||"fixed"!==n.position||(i=null),(r?!e&&!i:!e&&"static"===n.position&&i&&dt.has(i.position)||H(s)&&!e&&mt(t,s))?o=o.filter((t=>t!==s)):i=n,s=tt(s)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=l.reduce(((t,e)=>{const o=ht(n,e,s);return t.top=r(o.top,t.top),t.right=i(o.right,t.right),t.bottom=i(o.bottom,t.bottom),t.left=r(o.left,t.left),t}),ht(n,l[0],s));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:wt,getElementRects:async function(t){const n=this.getOffsetParent||wt,e=this.getDimensions,o=await e(t.floating);return{reference:pt(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}=it(t);return{width:n,height:e}},getScale:st,isElement:z,isRTL:function(t){return"rtl"===J(t).direction}};function vt(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}const bt=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=h(e),l=m(e),a="y"===w(e),c=T.has(s)?-1:1,u=r&&a?-1:1,f=d(n,t);let{mainAxis:p,crossAxis:y,alignmentAxis:g}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&"number"==typeof g&&(y="end"===l?-1*g:g),a?{x:y*u,y:p*c}:{x:p*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}}}}},At=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:p,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:P="none",flipAlignment:k=!0,...C}=d(t,n);if(null!=(e=r.arrow)&&e.alignmentOffset)return{};const D=h(i),T=w(l),E=h(l)===l,L=await(null==a.isRTL?void 0:a.isRTL(c.floating)),O=p||(E||!k?[R(l)]:function(t){const n=R(t);return[v(t),n,v(n)]}(l)),$="none"!==P;!p&&$&&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?A:b:n?b:A;case"left":case"right":return n?S:F;default:return[]}}(h(t),"start"===e,o);return i&&(r=r.map((t=>t+"-"+i)),n&&(r=r.concat(r.map(v)))),r}(l,k,P,L));const M=[l,...O],z=await a.detectOverflow(n,C),B=[];let q=(null==(o=r.flip)?void 0:o.overflows)||[];if(u&&B.push(z[D]),f){const t=function(t,n,e){void 0===e&&(e=!1);const o=m(t),i=x(t),r=y(i);let s="x"===i?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[r]>n.floating[r]&&(s=R(s)),[s,R(s)]}(i,s,L);B.push(z[t[0]],z[t[1]])}if(q=[...q,{placement:i,overflows:B}],!B.every((t=>t<=0))){var j,H;const t=((null==(j=r.flip)?void 0:j.index)||0)+1,n=M[t];if(n&&("alignment"!==f||T===w(n)||q.every((t=>w(t.placement)!==T||t.overflows[0]>0))))return{data:{index:t,overflows:q},reset:{placement:n}};let e=null==(H=q.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:H.placement;if(!e)switch(g){case"bestFit":{var I;const t=null==(I=q.filter((t=>{if($){const n=w(t.placement);return n===T||"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:I[0];t&&(e=t);break}case"initialPlacement":e=l}if(i!==e)return{reset:{placement:e}}}return{}}}};class St{error(t,n){throw new Error(`[${t}]: ${n}`)}warn(t,n){console.warn(`[${t}]: ${n}`)}log(t,n){console.log(`[${t}]: ${n}`)}}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:r,flip:s,shift:l,arrow:a,strategy:c}=e,u=[bt(r)];s&&u.push(At()),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}=d(t,n),u={x:e,y:o},m=await r.detectOverflow(n,c),y=w(h(i)),g=p(y);let x=u[g],v=u[y];s&&(x=f(x+m["y"===g?"top":"left"],x,x-m["y"===g?"bottom":"right"])),l&&(v=f(v+m["y"===y?"top":"left"],v,v-m["y"===y?"bottom":"right"]));const b=a.fn({...n,[g]:x,[y]:v});return{...b,data:{x:b.x-e,y:b.y-o,enabled:{[g]:s,[y]:l}}}}}}()),null!=a&&u.push((t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:r,rects:s,platform:l,elements:a,middlewareData:c}=n,{element:u,padding:h=0}=d(t,n)||{};if(null==u)return{};const p=P(h),g={x:e,y:o},w=x(r),v=y(w),b=await l.getDimensions(u),A="y"===w,S=A?"top":"left",F=A?"bottom":"right",R=A?"clientHeight":"clientWidth",k=s.reference[v]+s.reference[w]-g[w]-s.floating[v],C=g[w]-s.reference[w],D=await(null==l.getOffsetParent?void 0:l.getOffsetParent(u));let T=D?D[R]:0;T&&await(null==l.isElement?void 0:l.isElement(D))||(T=a.floating[R]||s.floating[v]);const E=k/2-C/2,L=T/2-b[v]/2-1,O=i(p[S],L),$=i(p[F],L),M=O,z=T-b[v]-$,B=T/2-b[v]/2+E,q=f(M,B,z),j=!c.arrow&&null!=m(r)&&B!==q&&s.reference[v]/2-(B<M?O:$)-b[v]/2<0,H=j?B<M?B-M:B-z:0;return{[w]:g[w]+H,data:{[w]:q,centerOffset:B-q-H,...j&&{alignmentOffset:H}},reset:j}}}))({element:a}));const g=await((t,n,e)=>{const o=new Map,i={platform:xt,...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}=C(c,o,a),d=o,h={},m=0;for(let e=0;e<l.length;e++){var p;const{name:r,fn:y}=l[e],{x:g,y:w,data:x,reset:v}=await y({x:u,y:f,initialPlacement:o,placement:d,strategy:i,middlewareData:h,rects:c,platform:{...s,detectOverflow:null!=(p=s.detectOverflow)?p:D},elements:{reference:t,floating:n}});u=null!=g?g:u,f=null!=w?w:f,h={...h,[r]:{...h[r],...x}},v&&m<=50&&(m++,"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}=C(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:v,y:b,placement:A,middlewareData:S}=g;return{x:v,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 St)}}const Pt=s=>{class a extends(t(s)){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,e,o){t.key!==n.Enter.key&&" "!==t.key||e(),t.key===n.Escape.key&&o()}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 s=()=>{this.updatePosition(t,n,e,o)};s(),this.cleanupAutoUpdate=function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:s=!0,ancestorResize:a=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=o,d=rt(t),h=s||a?[...d?et(d):[],...et(n)]:[];h.forEach((t=>{s&&t.addEventListener("scroll",e,{passive:!0}),a&&t.addEventListener("resize",e)}));const m=d&&u?function(t,n){let e,o=null;const s=$(t);function a(){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),a();const d=t.getBoundingClientRect(),{left:h,top:m,width:p,height:y}=d;if(u||n(),!p||!y)return;const g={rootMargin:-l(m)+"px "+-l(s.clientWidth-(h+p))+"px "+-l(s.clientHeight-(m+y))+"px "+-l(h)+"px",threshold:r(0,i(1,f))||1};let w=!0;function x(n){const o=n[0].intersectionRatio;if(o!==f){if(!w)return c();o?c(!1,o):e=setTimeout((()=>{c(!1,1e-7)}),1e3)}1!==o||vt(d,t.getBoundingClientRect())||c(),w=!1}try{o=new IntersectionObserver(x,{...g,root:s.ownerDocument})}catch(t){o=new IntersectionObserver(x,g)}o.observe(t)}(!0),a}(d,e):null;let p,y=-1,g=null;c&&(g=new ResizeObserver((t=>{let[o]=t;o&&o.target===d&&g&&(g.unobserve(n),cancelAnimationFrame(y),y=requestAnimationFrame((()=>{var t;null==(t=g)||t.observe(n)}))),e()})),d&&!f&&g.observe(d),g.observe(n));let w=f?ct(t):null;return f&&function n(){const o=ct(t);w&&!vt(w,o)&&e(),w=o,p=requestAnimationFrame(n)}(),e(),()=>{var t;h.forEach((t=>{s&&t.removeEventListener("scroll",e),a&&t.removeEventListener("resize",e)})),null==m||m(),null==(t=g)||t.disconnect(),g=null,f&&cancelAnimationFrame(p)}}(t,n,s,{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 St,this.cleanupAutoUpdate=void 0,this.previousTrigger=void 0}disconnectedCallback(){null!=this.previousTrigger&&this.floatingDisconnect((()=>this.show()),(()=>this.hide())),this.stopAutoUpdate(),this.hide()}static get elementRef(){return"el"}}return a},kt=(t=!1,n=0,e)=>t?void 0!==n?n:0:void 0!==n?e+n:e;export{Pt as a,kt as g}
@@ -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}
@@ -1,2 +1,2 @@
1
- var t=(t,n)=>{var e;Object.entries(null!=(e=n.o.t)?e:{}).map((([e,[o]])=>{if(31&o||32&o){const o=t[e],s=function(t,n){for(;t;){const e=Object.getOwnPropertyDescriptor(t,n);if(null==e?void 0:e.get)return e;t=Object.getPrototypeOf(t)}}(Object.getPrototypeOf(t),e)||Object.getOwnPropertyDescriptor(t,e);s&&Object.defineProperty(t,e,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),t[e]=n.l.has(e)?n.l.get(e):o}}))},n=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},e=(n,e)=>{e&&(n.__stencil__getHostRef=()=>e,e.i=n,512&e.o.u&&t(n,e))},o=(t,n)=>n in t,s=(t,n)=>(0,console.error)(t,n),l=new Map,i=new Map,r="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="http://www.w3.org/1999/xlink",u=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],f="undefined"!=typeof window?window:{},a=f.HTMLElement||class{},d={u:0,h:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},h=t=>Promise.resolve(t),p=(()=>{try{return!!f.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),v=!!p&&(()=>!!f.document&&Object.getOwnPropertyDescriptor(f.document.adoptedStyleSheets,"length").writable)(),b=!1,m=[],y=[],g=(t,n)=>e=>{t.push(e),b||(b=!0,n&&4&d.u?j($):d.raf($))},w=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){s(t)}t.length=0},$=()=>{w(m),w(y),(b=m.length>0)&&d.raf($)},j=t=>h().then(t),O=g(y,!0),S=t=>{const n=new URL(t,d.h);return n.origin!==f.location.origin?n.href:n.pathname},N=t=>{const n=Z(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&k(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!x(t,M(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&Z(t,"childNodes").length&&N(t)}},C=t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n};function k(t,n,e){let o,s=0,l=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||M(o)===e)&&(l.push(o),void 0!==e))return l;l=[...l,...k(o.childNodes,n,e)]}return l}var x=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)M(s)!==n||!e&&s["s-sr"]||o.push(s);return o},E=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,R=(t,n,e)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const o=document.createTextNode("");if(o["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const s=n["s-cr"].parentNode;Z(s,e?"prepend":"appendChild").call(s,o),t["s-ol"]=o,t["s-sh"]=n["s-hn"]},M=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function T(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function A(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=M(t)||"";return{slotNode:k(Z(n,"childNodes"),n.tagName,o)[0],slotName:o}}var L=t=>{if(t.__cloneNode)return;const n=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const e=n.call(this,!1);if(t){let t,n,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"],n=s.every((t=>!l[o][t])),t&&(e.__appendChild?e.__appendChild(t.cloneNode(!0)):e.appendChild(t.cloneNode(!0))),n&&e.appendChild(l[o].cloneNode(!0))}return e}},F=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:n,slotNode:e}=A(t,this);if(e){R(t,e);const o=x(e,n),s=o[o.length-1],l=Z(s,"parentNode"),i=Z(l,"insertBefore")(t,s.nextSibling);return T(e),N(this),i}return this.__appendChild(t)})},_=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&k(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void N(this)):this.__removeChild(t)})},D=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...n){n.forEach((n=>{"string"==typeof n&&(n=this.ownerDocument.createTextNode(n));const e=(n["s-sn"]=M(n))||"",o=k(Z(this,"childNodes"),this.tagName,e)[0];if(o){R(n,o,!0);const t=x(o,e)[0],s=Z(t,"parentNode"),l=Z(s,"insertBefore")(n,Z(t,"nextSibling"));return T(o),l}return 1===n.nodeType&&n.getAttribute("slot")&&(n.hidden=!0),t.__prepend(n)}))})},P=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)}))})},B=t=>{if(t.__insertAdjacentHTML)return;const n=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,e){if("afterbegin"!==t&&"beforeend"!==t)return n.call(this,t,e);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=e,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},U=t=>{t.insertAdjacentText=function(t,n){this.insertAdjacentHTML(t,n)}},W=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,n){const{slotName:e,slotNode:o}=A(t,this),s=this.__childNodes?this.childNodes:C(this.childNodes);if(o){let l=!1;if(s.forEach((s=>{if(s!==n&&null!==n);else{if(l=!0,null===n||e!==n["s-sn"])return void this.appendChild(t);if(e===n["s-sn"]){R(t,o);const e=Z(n,"parentNode");Z(e,"insertBefore")(t,n),T(o)}}})),l)return t}const l=null==n?void 0:n.__parentNode;return l&&!this.isSameNode(l)?this.appendChild(t):this.__insertBefore(t,n)})},z=t=>{if(t.__insertAdjacentElement)return;const n=t.insertAdjacentElement;t.insertAdjacentElement=function(t,e){return"afterbegin"!==t&&"beforeend"!==t?n.call(this,t,e):"afterbegin"===t?(this.prepend(e),e):"beforeend"===t?(this.append(e),e):e}},H=t=>{I("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:C(this.childNodes)).forEach((n=>t+=n.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:C(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},V=t=>{class n extends Array{item(t){return this[t]}}I("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),I("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),I("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),I("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new n;return t.push(...C(this.__childNodes)),t}})},q=t=>{t&&!t.__parentNode&&(I("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}}))},Y=["children","nextElementSibling","previousElementSibling"],G=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function I(t,n){if(!globalThis.Node||!globalThis.Element)return;let e;Y.includes(t)?e=Object.getOwnPropertyDescriptor(Element.prototype,t):G.includes(t)&&(e=Object.getOwnPropertyDescriptor(Node.prototype,t)),e||(e=Object.getOwnPropertyDescriptor(n,t)),e&&Object.defineProperty(n,"__"+t,e)}function Z(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}function J(t){var n,e,o;return null!=(o=null==(e=null==(n=t.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}var K,Q,X=new WeakMap,tt=t=>"sc-"+t.p,nt=t=>"object"==(t=typeof t)||"function"===t,et=(t,n,...e)=>{let o=null,s=null,l=null,i=!1,r=!1;const c=[],u=n=>{for(let e=0;e<n.length;e++)o=n[e],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!nt(o))&&(o+=""),i&&r?c[c.length-1].v+=o:c.push(i?ot(null,o):o),r=i)};if(u(e),n){n.key&&(s=n.key),n.name&&(l=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,c,lt);const f=ot(t,null);return f.m=n,c.length>0&&(f.$=c),f.j=s,f.O=l,f},ot=(t,n)=>({u:0,S:t,v:null!=n?n:null,N:null,$:null,m:null,j:null,O:null}),st={},lt={forEach:(t,n)=>t.map(it).forEach(n),map:(t,n)=>t.map(it).map(n).map(rt)},it=t=>({vattrs:t.m,vchildren:t.$,vkey:t.j,vname:t.O,vtag:t.S,vtext:t.v}),rt=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),et(t.vtag,n,...t.vchildren||[])}const n=ot(t.vtag,t.vtext);return n.m=t.vattrs,n.$=t.vchildren,n.j=t.vkey,n.O=t.vname,n},ct=(t,n,e)=>null==t||nt(t)?t:4&n?(e&&"string"==typeof t||"false"!==t)&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?t+"":t,ut=t=>{var e;return null==(e=n(t))?void 0:e.$hostElement$},ft=(t,n)=>{const e=ut(t);return{emit:t=>at(e,n,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},at=(t,n,e)=>{const o=d.ce(n,e);return t.dispatchEvent(o),o},dt=(t,e,s,l,i,r)=>{if(s===l)return;let u=o(t,e),a=e.toLowerCase();if("class"===e){const n=t.classList,e=pt(s);let o=pt(l);n.remove(...e.filter((t=>t&&!o.includes(t)))),n.add(...o.filter((t=>t&&!e.includes(t))))}else if("style"===e){for(const n in s)l&&null!=l[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in l)s&&l[n]===s[n]||(n.includes("-")?t.style.setProperty(n,l[n]):t.style[n]=l[n])}else if("key"===e);else if("ref"===e)l&&_t(l,t);else if(u||"o"!==e[0]||"n"!==e[1]){if("a"===e[0]&&e.startsWith("attr:")){const o=e.slice(5);let s;{const e=n(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(s=t[1])}}return s||(s=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==l||!1===l?!1===l&&""!==t.getAttribute(s)||t.removeAttribute(s):t.setAttribute(s,!0===l?"":l))}if("p"===e[0]&&e.startsWith("prop:")){const n=e.slice(5);try{t[n]=l}catch(t){}return}{const n=nt(l);if((u||n&&null!==l)&&!i)try{if(t.tagName.includes("-"))t[e]!==l&&(t[e]=l);else{const n=null==l?"":l;"list"===e?u=!1:null!=s&&t[e]===n||("function"==typeof t.__lookupSetter__(e)?t[e]=n:t.setAttribute(e,n))}}catch(t){}let o=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(e=a,o=!0),null==l||!1===l?!1===l&&""!==t.getAttribute(e)||(o?t.removeAttributeNS(c,e):t.removeAttribute(e)):(!u||4&r||i)&&!n&&1===t.nodeType&&(l=!0===l?"":l,o?t.setAttributeNS(c,e,l):t.setAttribute(e,l))}}else if(e="-"===e[2]?e.slice(3):o(f,a)?a.slice(2):a[2]+e.slice(3),s||l){const n=e.endsWith(vt);e=e.replace(bt,""),s&&d.rel(t,e,s,n),l&&d.ael(t,e,l,n)}},ht=/\s/,pt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(ht):[]),vt="Capture",bt=RegExp(vt+"$"),mt=(t,n,e)=>{const o=11===n.N.nodeType&&n.N.host?n.N.host:n.N,s=t&&t.m||{},l=n.m||{};for(const t of yt(Object.keys(s)))t in l||dt(o,t,s[t],void 0,e,n.u);for(const t of yt(Object.keys(l)))dt(o,t,s[t],l[t],e,n.u)};function yt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var gt=!1,wt=!1,$t=!1,jt=!1,Ot=[],St=[],Nt=(t,n,e)=>{var o;const s=n.$[e];let l,i,r,c=0;if(gt||($t=!0,"slot"===s.S&&(s.u|=s.$?2:1)),null!=s.v)l=s.N=f.document.createTextNode(s.v);else if(1&s.u)l=s.N=f.document.createTextNode(""),mt(null,s,jt);else{if(jt||(jt="svg"===s.S),!f.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=s.N=f.document.createElementNS(jt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!gt&&2&s.u?"slot-fb":s.S),jt&&"foreignObject"===s.S&&(jt=!1),mt(null,s,jt),s.$){const n="template"===s.S?l.content:l;for(c=0;c<s.$.length;++c)i=Nt(t,s,c),i&&n.appendChild(i)}"svg"===s.S?jt=!1:"foreignObject"===l.tagName&&(jt=!0)}return l["s-hn"]=Q,3&s.u&&(l["s-sr"]=!0,l["s-cr"]=K,l["s-sn"]=s.O||"",l["s-rf"]=null==(o=s.m)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],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:C(s.childNodes)).forEach((t=>{o===M(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(l),r=t&&t.$&&t.$[e],r&&r.S===s.S&&t.N&&Ct(t.N)),l},Ct=t=>{d.u|=1;const n=t.closest(Q.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(Dt(n,t,null!=e?e:null),t["s-sh"]=void 0,$t=!0)}d.u&=-2},kt=(t,n)=>{d.u|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===Q&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==Q&&o["s-ol"]&&(Dt(Mt(o).parentNode,o,Mt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,$t=!0),n&&kt(o,n)}d.u&=-2},xt=(t,n,e,o,s,l)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for("template"===e.S&&(r=r.content);s<=l;++s)o[s]&&(i=Nt(null,e,s),i&&(o[s].N=i,Dt(r,i,Mt(n))))},Et=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.N;Ft(n),t&&(wt=!0,t["s-ol"]?t["s-ol"].remove():kt(t,!0),t.remove())}}},Rt=(t,n,e=!1)=>t.S===n.S&&("slot"===t.S?t.O===n.O:e?(e&&!t.j&&n.j&&(t.j=n.j),!0):t.j===n.j),Mt=t=>t&&t["s-ol"]||t,Tt=(t,n,e=!1)=>{const o=n.N=t.N,s=t.$,l=n.$,i=n.S,r=n.v;let c;null==r?(jt="svg"===i||"foreignObject"!==i&&jt,"slot"!==i||gt||t.O!==n.O&&(n.N["s-sn"]=n.O||"",Ct(n.N.parentElement)),mt(t,n,jt),null!==s&&null!==l?((t,n,e,o,s=!1)=>{let l,i,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],h=n[a],p=o.length-1,v=o[0],b=o[p];const m="template"===e.S?t.content:t;for(;r<=a&&c<=p;)if(null==d)d=n[++r];else if(null==h)h=n[--a];else if(null==v)v=o[++c];else if(null==b)b=o[--p];else if(Rt(d,v,s))Tt(d,v,s),d=n[++r],v=o[++c];else if(Rt(h,b,s))Tt(h,b,s),h=n[--a],b=o[--p];else if(Rt(d,b,s))"slot"!==d.S&&"slot"!==b.S||kt(d.N.parentNode,!1),Tt(d,b,s),Dt(m,d.N,h.N.nextSibling),d=n[++r],b=o[--p];else if(Rt(h,v,s))"slot"!==d.S&&"slot"!==b.S||kt(h.N.parentNode,!1),Tt(h,v,s),Dt(m,h.N,d.N),h=n[--a],v=o[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].j&&n[f].j===v.j){u=f;break}u>=0?(i=n[u],i.S!==v.S?l=Nt(n&&n[c],e,u):(Tt(i,v,s),n[u]=void 0,l=i.N),v=o[++c]):(l=Nt(n&&n[c],e,c),v=o[++c]),l&&Dt(Mt(d.N).parentNode,l,Mt(d.N))}r>a?xt(t,null==o[p+1]?null:o[p+1].N,e,o,c,p):c>p&&Et(n,r,a)})(o,s,n,l,e):null!==l?(null!==t.v&&(o.textContent=""),xt(o,null,n,l,0,l.length-1)):!e&&null!==s&&Et(s,0,s.length-1),jt&&"svg"===i&&(jt=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.v!==r&&(o.data=r)},At=[],Lt=t=>{let n,e,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const s=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||n["s-sh"]&&n["s-sh"]===t["s-hn"]))if(E(n,s)){let e=At.find((t=>t.C===n));wt=!0,n["s-sn"]=n["s-sn"]||s,e?(e.C["s-sh"]=t["s-hn"],e.k=t):(n["s-sh"]=t["s-hn"],At.push({k:t,C:n})),n["s-sr"]&&At.map((t=>{E(t.C,n["s-sn"])&&(e=At.find((t=>t.C===n)),e&&!t.k&&(t.k=e.k))}))}else At.some((t=>t.C===n))||At.push({C:n})}1===t.nodeType&&Lt(t)}},Ft=t=>{t.m&&t.m.ref&&Ot.push((()=>t.m.ref(null))),t.$&&t.$.map(Ft)},_t=(t,n)=>{St.push((()=>t(n)))},Dt=(t,n,e,o)=>{if("string"==typeof n["s-sn"]){11!==t.getRootNode().nodeType&&q(n),t.insertBefore(n,e);const{slotNode:s}=A(n);return s&&!o&&T(s),n}return t.__insertBefore?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)},Pt=(t,n)=>{if(n&&!t.R&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.R=()=>{n["s-p"].splice(e-1,1),o()})))}},Bt=(t,n)=>{if(t.u|=16,4&t.u)return void(t.u|=512);Pt(t,t.M);const e=()=>Ut(t,n);if(!n)return O(e);queueMicrotask((()=>{e()}))},Ut=(t,n)=>{const e=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${e.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 n?(t.T&&(t.T=!1,Gt(o,"connectedCallback",void 0,e)),t.A.length&&t.A.forEach((t=>t(e))),s=Gt(o,"componentWillLoad",void 0,e)):s=Gt(o,"componentWillUpdate",void 0,e),s=Wt(s,(()=>Gt(o,"componentWillRender",void 0,e))),Wt(s,(()=>Ht(t,o,n)))},Wt=(t,n)=>zt(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),zt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Ht=async(t,n,e)=>{var o;const s=t.$hostElement$,l=s["s-rc"];e&&(t=>{const n=t.o;((t,n)=>{var e,o,s;const l=tt(n),c=i.get(l);if(!f.document)return l;if(t=11===t.nodeType?t:f.document,c)if("string"==typeof c){let s,i=X.get(t=t.head||t);if(i||X.set(t,i=new Set),!i.has(l)){s=f.document.createElement("style"),s.textContent=c;const u=null!=(e=d.L)?e:J(f.document);if(null!=u&&s.setAttribute("nonce",u),!(1&n.u))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),e=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(p){const n=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(c),v?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=c+n.textContent:t.prepend(s)}else t.append(s);1&n.u&&t.insertBefore(s,null),4&n.u&&(s.textContent+=r),i&&i.add(l)}}else{let n=X.get(t);if(n||X.set(t,n=new Set),!n.has(l)){const e=null!=(s=t.defaultView)?s:t.ownerDocument.defaultView;let o;if(c.constructor===e.CSSStyleSheet)o=c;else{o=new e.CSSStyleSheet;for(let t=0;t<c.cssRules.length;t++)o.insertRule(c.cssRules[t].cssText,t)}v?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(l)}}})(t.$hostElement$.getRootNode(),n)})(t);Vt(t,n,s,e),l&&(l.map((t=>t())),s["s-rc"]=void 0);{const n=null!=(o=s["s-p"])?o:[],e=()=>qt(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.u|=4,n.length=0)}},Vt=(t,n,e,o)=>{try{n=n.render(),t.u&=-17,t.u|=2,((t,n,e=!1)=>{var o,s,l,i,r;const c=t.$hostElement$,u=t.o,a=t.F||ot(null,null),h=(t=>t&&t.S===st)(n)?n:et(null,null,n);if(Q=c.tagName,u._&&(h.m=h.m||{},u._.forEach((([t,n])=>{h.m[n]=c[t]}))),e&&h.m)for(const t of Object.keys(h.m))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(h.m[t]=c[t]);if(h.S=null,h.u|=4,t.F=h,h.N=a.N=c,gt=!1,K=c["s-cr"],wt=!1,Tt(a,h,e),d.u|=1,$t){Lt(h.N);for(const t of At){const n=t.C;if(!n["s-ol"]&&f.document){const t=f.document.createTextNode("");t["s-nr"]=n,Dt(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of At){const n=t.C,r=t.k;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let e=null==(s=n["s-ol"])?void 0:s.previousSibling;for(;e;){let s=null!=(l=e["s-nr"])?l:null;if(s&&s["s-sn"]===n["s-sn"]&&t===(s.__parentNode||s.parentNode)){for(s=s.nextSibling;s===n||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){o=s;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(Dt(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=f.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,Dt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(i=n["s-ih"])&&i)}n&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===n.nodeType&&(n.hidden=!0)}}if(wt&&N(h.N),d.u&=-2,At.length=0,!gt&&!(1&u.u)&&c["s-cr"]){const t=h.N.__childNodes||h.N.childNodes;for(const n of t)if(n["s-hn"]!==Q&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(r=n.hidden)&&r),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=f.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],Dt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}K=void 0,Ot.forEach((t=>t())),Ot.length=0,St.forEach((t=>t())),St.length=0})(t,n,o)}catch(n){s(n,t.$hostElement$)}return null},qt=t=>{const n=t.$hostElement$,e=t.i,o=t.M;Gt(e,"componentDidRender",void 0,n),64&t.u?Gt(e,"componentDidUpdate",void 0,n):(t.u|=64,It(n),Gt(e,"componentDidLoad",void 0,n),t.D(n),o||Yt()),t.P(n),t.R&&(t.R(),t.R=void 0),512&t.u&&j((()=>Bt(t,!1))),t.u&=-517},Yt=()=>{j((()=>at(f,"appload",{detail:{namespace:"boreal-web-components"}})))},Gt=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){s(t,o)}},It=t=>t.classList.add("hydrated"),Zt=(t,e,o,l)=>{const i=n(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${l.p}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const r=i.$hostElement$,c=i.l.get(e),u=i.u,f=i.i;if(o=ct(o,l.t[e][0],!!(64&l.u)),!(8&u&&void 0!==c||o===c||Number.isNaN(c)&&Number.isNaN(o))){if(i.l.set(e,o),l.B){const t=l.B[e];t&&t.map((t=>{try{const[[n,s]]=Object.entries(t);(128&u||1&s)&&(f?f[n](o,c,e):i.A.push((()=>{i.i[n](o,c,e)})))}catch(t){s(t,r)}}))}if(2&u){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(o,c,e)&&!(16&u))return;16&u||Bt(i,!1)}}},Jt=(t,e,o)=>{var s,l;const i=t.prototype;64&e.u&&1&o&&u.forEach((t=>{Object.defineProperty(i,t,{value(...e){var o;const s=n(this),l=null==s?void 0:s.i;if(l){const n=l[t];"function"==typeof n&&n.call(l,...e)}else null==(o=null==s?void 0:s.U)||o.then((n=>{const o=n[t];"function"==typeof o&&o.call(n,...e)}))}})}));{t.watchers&&!e.B&&(e.B=t.watchers),t.deserializers&&!e.W&&(e.W=t.deserializers),t.serializers&&!e.H&&(e.H=t.serializers);const r=Object.entries(null!=(s=e.t)?s:{});if(r.map((([t,[s]])=>{if(31&s||2&o&&32&s){const{get:l,set:r}=Object.getOwnPropertyDescriptor(i,t)||{};l&&(e.t[t][0]|=2048),r&&(e.t[t][0]|=4096),(1&o||!l)&&Object.defineProperty(i,t,{get(){{if(!(2048&e.t[t][0]))return((t,e)=>n(this).l.get(e))(0,t);const o=n(this),s=o?o.i:i;if(!s)return;return s[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(l){const i=n(this);if(i){if(r)return void 0===(32&s?this[t]:i.$hostElement$[t])&&i.l.get(t)&&(l=i.l.get(t)),r.call(this,ct(l,s,!!(64&e.u))),void Zt(this,t,l=32&s?this[t]:i.$hostElement$[t],e);{if(!(1&o&&4096&e.t[t][0]))return Zt(this,t,l,e),void(1&o&&!i.i&&i.A.push((()=>{4096&e.t[t][0]&&i.i[t]!==i.l.get(t)&&(i.i[t]=l)})));const n=()=>{const n=i.i[t];!i.l.get(t)&&n&&i.l.set(t,n),i.i[t]=ct(l,s,!!(64&e.u)),Zt(this,t,i.i[t],e)};i.i?n():i.A.push((()=>{n()}))}}}})}else 1&o&&64&s&&Object.defineProperty(i,t,{value(...e){var o;const s=n(this);return null==(o=null==s?void 0:s.V)?void 0:o.then((()=>{var n;return null==(n=s.i)?void 0:n[t](...e)}))}})})),1&o){const o=new Map;i.attributeChangedCallback=function(t,s,l){d.jmp((()=>{var c;const u=o.get(t),f=n(this);if(this.hasOwnProperty(u)&&(l=this[u],delete this[u]),i.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==l)return;if(null==u){const n=null==f?void 0:f.u;if(f&&n&&!(8&n)&&l!==s){const o=f.i,i=null==(c=e.B)?void 0:c[t];null==i||i.forEach((e=>{const[[i,r]]=Object.entries(e);null!=o[i]&&(128&n||1&r)&&o[i].call(o,l,s,t)}))}return}const a=r.find((([t])=>t===u));a&&4&a[1][0]&&(l=null!==l&&"false"!==l);const d=Object.getOwnPropertyDescriptor(i,u);l==this[u]||d.get&&!d.set||(this[u]=l)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=e.B)?l:{}),...r.filter((([t,n])=>31&n[0])).map((([t,n])=>{var s;const l=n[1]||t;return o.set(l,t),512&n[0]&&(null==(s=e._)||s.push([t,l])),l}))]))}}return t},Kt=(t,n)=>{Gt(t,"connectedCallback",void 0,n)},Qt=(t,n)=>{Gt(t,"disconnectedCallback",void 0,n||t)},Xt=(t,e={})=>{var o;if(!f.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const c=[],u=e.exclude||[],a=f.customElements,h=f.document.head,v=h.querySelector("meta[charset]"),b=f.document.createElement("style"),m=[];let y,g=!0;Object.assign(d,e),d.h=new URL(e.resourcesUrl||"./",f.document.baseURI).href;let w=!1;if(t.map((t=>{t[1].map((e=>{var o,r,h;const v={u:e[0],p:e[1],t:e[2],q:e[3]};4&v.u&&(w=!0),v.t=e[2],v._=[],v.B=null!=(o=e[4])?o:{},v.H=null!=(r=e[5])?r:{},v.W=null!=(h=e[6])?h:{};const b=v.p,$=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){super(t),((t,n)=>{const e={u:0,$hostElement$:t,o:n,l:new Map,Y:new Map};e.V=new Promise((t=>e.P=t)),e.U=new Promise((t=>e.D=t)),t["s-p"]=[],t["s-rc"]=[],e.A=[];const o=e;t.__stencil__getHostRef=()=>o})(t=this,v)}connectedCallback(){n(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),y&&(clearTimeout(y),y=null),g?m.push(this):d.jmp((()=>(t=>{if(!(1&d.u)){const e=n(t);if(!e)return;const o=e.o,r=()=>{};if(1&e.u)(null==e?void 0:e.i)?Kt(e.i,t):(null==e?void 0:e.U)&&e.U.then((()=>Kt(e.i,t)));else{e.u|=1,12&o.u&&(t=>{if(!f.document)return;const n=t["s-cr"]=f.document.createComment("");n["s-cn"]=!0,Dt(t,n,t.firstChild)})(t);{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){Pt(e,e.M=n);break}}o.t&&Object.entries(o.t).map((([n,[e]])=>{if(31&e&&n in t&&t[n]!==Object.prototype[n]){const e=t[n];delete t[n],t[n]=e}})),(async(t,n,e)=>{let o;try{if(!(32&n.u)){if(n.u|=32,e.G){const i=((t,n)=>{const e=t.p.replace(/-/g,"_"),o=t.G;if(!o)return;const i=l.get(o);return i?i[e]:import(`./${o}.entry.js`).then((t=>(l.set(o,t),t[e])),(t=>{s(t,n.$hostElement$)}))
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(e,n);if(i&&"then"in i){const t=()=>{};o=await i,t()}else o=i;if(!o)throw Error(`Constructor for "${e.p}#${n.I}" was not found`);o.isProxied||(e.B=o.watchers,e.H=o.serializers,e.W=o.deserializers,Jt(o,e,2),o.isProxied=!0);const r=()=>{};n.u|=8;try{new o(n)}catch(n){s(n,t)}n.u&=-9,n.u|=128,r(),4&e.u?n.T=!0:Kt(n.i,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const n=tt(e);if(!i.has(n)){const o=()=>{};((t,n,e)=>{let o=i.get(t);p&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,i.set(t,o)})(n,t,!!(1&e.u)),o()}}}const r=n.M,c=()=>Bt(n,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()}catch(e){s(e,t),n.R&&(n.R(),n.R=void 0),n.D&&n.D(t)}})(t,e,o)}r()}})(this))))}disconnectedCallback(){d.jmp((()=>(async t=>{if(!(1&d.u)){const e=n(t);(null==e?void 0:e.i)?Qt(e.i,t):(null==e?void 0:e.U)&&e.U.then((()=>Qt(e.i,t)))}X.has(t)&&X.delete(t),t.shadowRoot&&X.has(t.shadowRoot)&&X.delete(t.shadowRoot)})(this))),d.raf((()=>{var t;const e=n(this);if(!e)return;const o=m.findIndex((t=>t===this));o>-1&&m.splice(o,1),(null==(t=null==e?void 0:e.F)?void 0:t.N)instanceof Node&&!e.F.N.isConnected&&delete e.F.N}))}componentOnReady(){var t;return null==(t=n(this))?void 0:t.U}};!(1&v.u)&&256&v.u?(t=>{L(t),F(t),P(t),D(t),z(t),B(t),U(t),W(t),H(t),V(t),_(t)})($.prototype):L($.prototype),64&v.u&&($.formAssociated=!0),v.G=t[0],u.includes(b)||a.get(b)||(c.push(b),a.define(b,Jt($,v,1)))}))})),c.length>0&&(w&&(b.textContent+=r),b.textContent+=c.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",b.innerHTML.length)){b.setAttribute("data-styles","");const t=null!=(o=d.L)?o:J(f.document);null!=t&&b.setAttribute("nonce",t),h.insertBefore(b,v?v.nextSibling:h.firstChild)}g=!1,m.length?m.map((t=>t.connectedCallback())):d.jmp((()=>y=setTimeout(Yt,30)))},tn=(t,n)=>n,nn=class{};function en(...t){return t.reduceRight(((t,n)=>n(t)),nn)}var on=t=>d.L=t;export{tn as F,a as H,en as M,st as a,Xt as b,ft as c,S as d,ut as g,et as h,h as p,e as r,on as s}
1
+ var t=(t,n)=>{var e;Object.entries(null!=(e=n.o.t)?e:{}).map((([e,[o]])=>{if(31&o||32&o){const o=t[e],s=function(t,n){for(;t;){const e=Object.getOwnPropertyDescriptor(t,n);if(null==e?void 0:e.get)return e;t=Object.getPrototypeOf(t)}}(Object.getPrototypeOf(t),e)||Object.getOwnPropertyDescriptor(t,e);s&&Object.defineProperty(t,e,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),t[e]=n.l.has(e)?n.l.get(e):o}}))},n=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},e=(n,e)=>{e&&(n.__stencil__getHostRef=()=>e,e.i=n,512&e.o.u&&t(n,e))},o=(t,n)=>n in t,s=(t,n)=>(0,console.error)(t,n),l=new Map,i=new Map,r="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="http://www.w3.org/1999/xlink",u=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],f="undefined"!=typeof window?window:{},a=f.HTMLElement||class{},d={u:0,h:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},h=t=>Promise.resolve(t),p=(()=>{try{return!!f.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),v=!!p&&(()=>!!f.document&&Object.getOwnPropertyDescriptor(f.document.adoptedStyleSheets,"length").writable)(),b=!1,m=[],y=[],g=(t,n)=>e=>{t.push(e),b||(b=!0,n&&4&d.u?j($):d.raf($))},w=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){s(t)}t.length=0},$=()=>{w(m),w(y),(b=m.length>0)&&d.raf($)},j=t=>h().then(t),O=g(y,!0),S=t=>{const n=new URL(t,d.h);return n.origin!==f.location.origin?n.href:n.pathname},N=t=>{const n=Z(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&k(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!x(t,M(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&Z(t,"childNodes").length&&N(t)}},C=t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n};function k(t,n,e){let o,s=0,l=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||M(o)===e)&&(l.push(o),void 0!==e))return l;l=[...l,...k(o.childNodes,n,e)]}return l}var x=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)M(s)!==n||!e&&s["s-sr"]||o.push(s);return o},E=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,R=(t,n,e)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const o=document.createTextNode("");if(o["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const s=n["s-cr"].parentNode;Z(s,e?"prepend":"appendChild").call(s,o),t["s-ol"]=o,t["s-sh"]=n["s-hn"]},M=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function T(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function A(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=M(t)||"";return{slotNode:k(Z(n,"childNodes"),n.tagName,o)[0],slotName:o}}var L=t=>{if(t.__cloneNode)return;const n=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const e=n.call(this,!1);if(t){let t,n,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"],n=s.every((t=>!l[o][t])),t&&(e.__appendChild?e.__appendChild(t.cloneNode(!0)):e.appendChild(t.cloneNode(!0))),n&&e.appendChild(l[o].cloneNode(!0))}return e}},F=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:n,slotNode:e}=A(t,this);if(e){R(t,e);const o=x(e,n),s=o[o.length-1],l=Z(s,"parentNode"),i=Z(l,"insertBefore")(t,s.nextSibling);return T(e),N(this),i}return this.__appendChild(t)})},_=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&k(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void N(this)):this.__removeChild(t)})},D=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...n){n.forEach((n=>{"string"==typeof n&&(n=this.ownerDocument.createTextNode(n));const e=(n["s-sn"]=M(n))||"",o=k(Z(this,"childNodes"),this.tagName,e)[0];if(o){R(n,o,!0);const t=x(o,e)[0],s=Z(t,"parentNode"),l=Z(s,"insertBefore")(n,Z(t,"nextSibling"));return T(o),l}return 1===n.nodeType&&n.getAttribute("slot")&&(n.hidden=!0),t.__prepend(n)}))})},P=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)}))})},B=t=>{if(t.__insertAdjacentHTML)return;const n=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,e){if("afterbegin"!==t&&"beforeend"!==t)return n.call(this,t,e);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=e,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},U=t=>{t.insertAdjacentText=function(t,n){this.insertAdjacentHTML(t,n)}},W=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,n){const{slotName:e,slotNode:o}=A(t,this),s=this.__childNodes?this.childNodes:C(this.childNodes);if(o){let l=!1;if(s.forEach((s=>{if(s!==n&&null!==n);else{if(l=!0,null===n||e!==n["s-sn"])return void this.appendChild(t);if(e===n["s-sn"]){R(t,o);const e=Z(n,"parentNode");Z(e,"insertBefore")(t,n),T(o)}}})),l)return t}const l=null==n?void 0:n.__parentNode;return l&&!this.isSameNode(l)?this.appendChild(t):this.__insertBefore(t,n)})},z=t=>{if(t.__insertAdjacentElement)return;const n=t.insertAdjacentElement;t.insertAdjacentElement=function(t,e){return"afterbegin"!==t&&"beforeend"!==t?n.call(this,t,e):"afterbegin"===t?(this.prepend(e),e):"beforeend"===t?(this.append(e),e):e}},H=t=>{I("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:C(this.childNodes)).forEach((n=>t+=n.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:C(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},V=t=>{class n extends Array{item(t){return this[t]}}I("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),I("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),I("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),I("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new n;return t.push(...C(this.__childNodes)),t}})},q=t=>{t&&!t.__parentNode&&(I("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}}))},Y=["children","nextElementSibling","previousElementSibling"],G=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function I(t,n){if(!globalThis.Node||!globalThis.Element)return;let e;Y.includes(t)?e=Object.getOwnPropertyDescriptor(Element.prototype,t):G.includes(t)&&(e=Object.getOwnPropertyDescriptor(Node.prototype,t)),e||(e=Object.getOwnPropertyDescriptor(n,t)),e&&Object.defineProperty(n,"__"+t,e)}function Z(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}function J(t){var n,e,o;return null!=(o=null==(e=null==(n=t.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}var K,Q,X=new WeakMap,tt=t=>"sc-"+t.p,nt=t=>"object"==(t=typeof t)||"function"===t,et=(t,n,...e)=>{let o=null,s=null,l=null,i=!1,r=!1;const c=[],u=n=>{for(let e=0;e<n.length;e++)o=n[e],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!nt(o))&&(o+=""),i&&r?c[c.length-1].v+=o:c.push(i?ot(null,o):o),r=i)};if(u(e),n){n.key&&(s=n.key),n.name&&(l=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,c,lt);const f=ot(t,null);return f.m=n,c.length>0&&(f.$=c),f.j=s,f.O=l,f},ot=(t,n)=>({u:0,S:t,v:null!=n?n:null,N:null,$:null,m:null,j:null,O:null}),st={},lt={forEach:(t,n)=>t.map(it).forEach(n),map:(t,n)=>t.map(it).map(n).map(rt)},it=t=>({vattrs:t.m,vchildren:t.$,vkey:t.j,vname:t.O,vtag:t.S,vtext:t.v}),rt=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),et(t.vtag,n,...t.vchildren||[])}const n=ot(t.vtag,t.vtext);return n.m=t.vattrs,n.$=t.vchildren,n.j=t.vkey,n.O=t.vname,n},ct=(t,n,e)=>null==t||nt(t)?t:4&n?(e&&"string"==typeof t||"false"!==t)&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?t+"":t,ut=t=>{var e;return null==(e=n(t))?void 0:e.$hostElement$},ft=(t,n)=>{const e=ut(t);return{emit:t=>at(e,n,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},at=(t,n,e)=>{const o=d.ce(n,e);return t.dispatchEvent(o),o},dt=(t,e,s,l,i,r)=>{if(s===l)return;let u=o(t,e),a=e.toLowerCase();if("class"===e){const n=t.classList,e=pt(s);let o=pt(l);n.remove(...e.filter((t=>t&&!o.includes(t)))),n.add(...o.filter((t=>t&&!e.includes(t))))}else if("style"===e){for(const n in s)l&&null!=l[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in l)s&&l[n]===s[n]||(n.includes("-")?t.style.setProperty(n,l[n]):t.style[n]=l[n])}else if("key"===e);else if("ref"===e)l&&_t(l,t);else if(u||"o"!==e[0]||"n"!==e[1]){if("a"===e[0]&&e.startsWith("attr:")){const o=e.slice(5);let s;{const e=n(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(s=t[1])}}return s||(s=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==l||!1===l?!1===l&&""!==t.getAttribute(s)||t.removeAttribute(s):t.setAttribute(s,!0===l?"":l))}if("p"===e[0]&&e.startsWith("prop:")){const n=e.slice(5);try{t[n]=l}catch(t){}return}{const n=nt(l);if((u||n&&null!==l)&&!i)try{if(t.tagName.includes("-"))t[e]!==l&&(t[e]=l);else{const n=null==l?"":l;"list"===e?u=!1:null!=s&&t[e]===n||("function"==typeof t.__lookupSetter__(e)?t[e]=n:t.setAttribute(e,n))}}catch(t){}let o=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(e=a,o=!0),null==l||!1===l?!1===l&&""!==t.getAttribute(e)||(o?t.removeAttributeNS(c,e):t.removeAttribute(e)):(!u||4&r||i)&&!n&&1===t.nodeType&&(l=!0===l?"":l,o?t.setAttributeNS(c,e,l):t.setAttribute(e,l))}}else if(e="-"===e[2]?e.slice(3):o(f,a)?a.slice(2):a[2]+e.slice(3),s||l){const n=e.endsWith(vt);e=e.replace(bt,""),s&&d.rel(t,e,s,n),l&&d.ael(t,e,l,n)}},ht=/\s/,pt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(ht):[]),vt="Capture",bt=RegExp(vt+"$"),mt=(t,n,e)=>{const o=11===n.N.nodeType&&n.N.host?n.N.host:n.N,s=t&&t.m||{},l=n.m||{};for(const t of yt(Object.keys(s)))t in l||dt(o,t,s[t],void 0,e,n.u);for(const t of yt(Object.keys(l)))dt(o,t,s[t],l[t],e,n.u)};function yt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var gt=!1,wt=!1,$t=!1,jt=!1,Ot=[],St=[],Nt=(t,n,e)=>{var o;const s=n.$[e];let l,i,r,c=0;if(gt||($t=!0,"slot"===s.S&&(s.u|=s.$?2:1)),null!=s.v)l=s.N=f.document.createTextNode(s.v);else if(1&s.u)l=s.N=f.document.createTextNode(""),mt(null,s,jt);else{if(jt||(jt="svg"===s.S),!f.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=s.N=f.document.createElementNS(jt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!gt&&2&s.u?"slot-fb":s.S),jt&&"foreignObject"===s.S&&(jt=!1),mt(null,s,jt),s.$){const n="template"===s.S?l.content:l;for(c=0;c<s.$.length;++c)i=Nt(t,s,c),i&&n.appendChild(i)}"svg"===s.S?jt=!1:"foreignObject"===l.tagName&&(jt=!0)}return l["s-hn"]=Q,3&s.u&&(l["s-sr"]=!0,l["s-cr"]=K,l["s-sn"]=s.O||"",l["s-rf"]=null==(o=s.m)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],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:C(s.childNodes)).forEach((t=>{o===M(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(l),r=t&&t.$&&t.$[e],r&&r.S===s.S&&t.N&&Ct(t.N)),l},Ct=t=>{d.u|=1;const n=t.closest(Q.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(Dt(n,t,null!=e?e:null),t["s-sh"]=void 0,$t=!0)}d.u&=-2},kt=(t,n)=>{d.u|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===Q&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==Q&&o["s-ol"]&&(Dt(Mt(o).parentNode,o,Mt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,$t=!0),n&&kt(o,n)}d.u&=-2},xt=(t,n,e,o,s,l)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for("template"===e.S&&(r=r.content);s<=l;++s)o[s]&&(i=Nt(null,e,s),i&&(o[s].N=i,Dt(r,i,Mt(n))))},Et=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.N;Ft(n),t&&(wt=!0,t["s-ol"]?t["s-ol"].remove():kt(t,!0),t.remove())}}},Rt=(t,n,e=!1)=>t.S===n.S&&("slot"===t.S?t.O===n.O:e?(e&&!t.j&&n.j&&(t.j=n.j),!0):t.j===n.j),Mt=t=>t&&t["s-ol"]||t,Tt=(t,n,e=!1)=>{const o=n.N=t.N,s=t.$,l=n.$,i=n.S,r=n.v;let c;null==r?(jt="svg"===i||"foreignObject"!==i&&jt,"slot"!==i||gt||t.O!==n.O&&(n.N["s-sn"]=n.O||"",Ct(n.N.parentElement)),mt(t,n,jt),null!==s&&null!==l?((t,n,e,o,s=!1)=>{let l,i,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],h=n[a],p=o.length-1,v=o[0],b=o[p];const m="template"===e.S?t.content:t;for(;r<=a&&c<=p;)if(null==d)d=n[++r];else if(null==h)h=n[--a];else if(null==v)v=o[++c];else if(null==b)b=o[--p];else if(Rt(d,v,s))Tt(d,v,s),d=n[++r],v=o[++c];else if(Rt(h,b,s))Tt(h,b,s),h=n[--a],b=o[--p];else if(Rt(d,b,s))"slot"!==d.S&&"slot"!==b.S||kt(d.N.parentNode,!1),Tt(d,b,s),Dt(m,d.N,h.N.nextSibling),d=n[++r],b=o[--p];else if(Rt(h,v,s))"slot"!==d.S&&"slot"!==b.S||kt(h.N.parentNode,!1),Tt(h,v,s),Dt(m,h.N,d.N),h=n[--a],v=o[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].j&&n[f].j===v.j){u=f;break}u>=0?(i=n[u],i.S!==v.S?l=Nt(n&&n[c],e,u):(Tt(i,v,s),n[u]=void 0,l=i.N),v=o[++c]):(l=Nt(n&&n[c],e,c),v=o[++c]),l&&Dt(Mt(d.N).parentNode,l,Mt(d.N))}r>a?xt(t,null==o[p+1]?null:o[p+1].N,e,o,c,p):c>p&&Et(n,r,a)})(o,s,n,l,e):null!==l?(null!==t.v&&(o.textContent=""),xt(o,null,n,l,0,l.length-1)):!e&&null!==s&&Et(s,0,s.length-1),jt&&"svg"===i&&(jt=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.v!==r&&(o.data=r)},At=[],Lt=t=>{let n,e,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const s=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||n["s-sh"]&&n["s-sh"]===t["s-hn"]))if(E(n,s)){let e=At.find((t=>t.C===n));wt=!0,n["s-sn"]=n["s-sn"]||s,e?(e.C["s-sh"]=t["s-hn"],e.k=t):(n["s-sh"]=t["s-hn"],At.push({k:t,C:n})),n["s-sr"]&&At.map((t=>{E(t.C,n["s-sn"])&&(e=At.find((t=>t.C===n)),e&&!t.k&&(t.k=e.k))}))}else At.some((t=>t.C===n))||At.push({C:n})}1===t.nodeType&&Lt(t)}},Ft=t=>{t.m&&t.m.ref&&Ot.push((()=>t.m.ref(null))),t.$&&t.$.map(Ft)},_t=(t,n)=>{St.push((()=>t(n)))},Dt=(t,n,e,o)=>{if("string"==typeof n["s-sn"]){11!==t.getRootNode().nodeType&&q(n),t.insertBefore(n,e);const{slotNode:s}=A(n);return s&&!o&&T(s),n}return t.__insertBefore?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)},Pt=(t,n)=>{if(n&&!t.R&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.R=()=>{n["s-p"].splice(e-1,1),o()})))}},Bt=(t,n)=>{if(t.u|=16,4&t.u)return void(t.u|=512);Pt(t,t.M);const e=()=>Ut(t,n);if(!n)return O(e);queueMicrotask((()=>{e()}))},Ut=(t,n)=>{const e=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${e.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 n?(t.T&&(t.T=!1,Gt(o,"connectedCallback",void 0,e)),t.u|=256,t.A&&(t.A.map((([t,n])=>Gt(o,t,n,e))),t.A=void 0),t.L.length&&t.L.forEach((t=>t(e))),s=Gt(o,"componentWillLoad",void 0,e)):s=Gt(o,"componentWillUpdate",void 0,e),s=Wt(s,(()=>Gt(o,"componentWillRender",void 0,e))),Wt(s,(()=>Ht(t,o,n)))},Wt=(t,n)=>zt(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),zt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Ht=async(t,n,e)=>{var o;const s=t.$hostElement$,l=s["s-rc"];e&&(t=>{const n=t.o;((t,n)=>{var e,o,s;const l=tt(n),c=i.get(l);if(!f.document)return l;if(t=11===t.nodeType?t:f.document,c)if("string"==typeof c){let s,i=X.get(t=t.head||t);if(i||X.set(t,i=new Set),!i.has(l)){s=f.document.createElement("style"),s.textContent=c;const u=null!=(e=d.F)?e:J(f.document);if(null!=u&&s.setAttribute("nonce",u),!(1&n.u))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),e=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(p){const n=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(c),v?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=c+n.textContent:t.prepend(s)}else t.append(s);1&n.u&&t.insertBefore(s,null),4&n.u&&(s.textContent+=r),i&&i.add(l)}}else{let n=X.get(t);if(n||X.set(t,n=new Set),!n.has(l)){const e=null!=(s=t.defaultView)?s:t.ownerDocument.defaultView;let o;if(c.constructor===e.CSSStyleSheet)o=c;else{o=new e.CSSStyleSheet;for(let t=0;t<c.cssRules.length;t++)o.insertRule(c.cssRules[t].cssText,t)}v?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(l)}}})(t.$hostElement$.getRootNode(),n)})(t);Vt(t,n,s,e),l&&(l.map((t=>t())),s["s-rc"]=void 0);{const n=null!=(o=s["s-p"])?o:[],e=()=>qt(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.u|=4,n.length=0)}},Vt=(t,n,e,o)=>{try{n=n.render(),t.u&=-17,t.u|=2,((t,n,e=!1)=>{var o,s,l,i,r;const c=t.$hostElement$,u=t.o,a=t._||ot(null,null),h=(t=>t&&t.S===st)(n)?n:et(null,null,n);if(Q=c.tagName,u.D&&(h.m=h.m||{},u.D.forEach((([t,n])=>{h.m[n]=c[t]}))),e&&h.m)for(const t of Object.keys(h.m))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(h.m[t]=c[t]);if(h.S=null,h.u|=4,t._=h,h.N=a.N=c,gt=!1,K=c["s-cr"],wt=!1,Tt(a,h,e),d.u|=1,$t){Lt(h.N);for(const t of At){const n=t.C;if(!n["s-ol"]&&f.document){const t=f.document.createTextNode("");t["s-nr"]=n,Dt(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of At){const n=t.C,r=t.k;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let e=null==(s=n["s-ol"])?void 0:s.previousSibling;for(;e;){let s=null!=(l=e["s-nr"])?l:null;if(s&&s["s-sn"]===n["s-sn"]&&t===(s.__parentNode||s.parentNode)){for(s=s.nextSibling;s===n||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){o=s;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(Dt(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=f.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,Dt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(i=n["s-ih"])&&i)}n&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===n.nodeType&&(n.hidden=!0)}}if(wt&&N(h.N),d.u&=-2,At.length=0,!gt&&!(1&u.u)&&c["s-cr"]){const t=h.N.__childNodes||h.N.childNodes;for(const n of t)if(n["s-hn"]!==Q&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(r=n.hidden)&&r),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=f.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],Dt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}K=void 0,Ot.forEach((t=>t())),Ot.length=0,St.forEach((t=>t())),St.length=0})(t,n,o)}catch(n){s(n,t.$hostElement$)}return null},qt=t=>{const n=t.$hostElement$,e=t.i,o=t.M;Gt(e,"componentDidRender",void 0,n),64&t.u?Gt(e,"componentDidUpdate",void 0,n):(t.u|=64,It(n),Gt(e,"componentDidLoad",void 0,n),t.P(n),o||Yt()),t.B(n),t.R&&(t.R(),t.R=void 0),512&t.u&&j((()=>Bt(t,!1))),t.u&=-517},Yt=()=>{j((()=>at(f,"appload",{detail:{namespace:"boreal-web-components"}})))},Gt=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){s(t,o)}},It=t=>t.classList.add("hydrated"),Zt=(t,e,o,l)=>{const i=n(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${l.p}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const r=i.$hostElement$,c=i.l.get(e),u=i.u,f=i.i;if(o=ct(o,l.t[e][0],!!(64&l.u)),!(8&u&&void 0!==c||o===c||Number.isNaN(c)&&Number.isNaN(o))){if(i.l.set(e,o),l.U){const t=l.U[e];t&&t.map((t=>{try{const[[n,s]]=Object.entries(t);(128&u||1&s)&&(f?f[n](o,c,e):i.L.push((()=>{i.i[n](o,c,e)})))}catch(t){s(t,r)}}))}if(2&u){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(o,c,e)&&!(16&u))return;16&u||Bt(i,!1)}}},Jt=(t,e,o)=>{var s,l;const i=t.prototype;64&e.u&&1&o&&u.forEach((t=>{Object.defineProperty(i,t,{value(...e){var o;const s=n(this),l=null==s?void 0:s.i;if(l){const n=l[t];"function"==typeof n&&n.call(l,...e)}else null==(o=null==s?void 0:s.W)||o.then((n=>{const o=n[t];"function"==typeof o&&o.call(n,...e)}))}})}));{t.watchers&&!e.U&&(e.U=t.watchers),t.deserializers&&!e.H&&(e.H=t.deserializers),t.serializers&&!e.V&&(e.V=t.serializers);const r=Object.entries(null!=(s=e.t)?s:{});if(r.map((([t,[s]])=>{if(31&s||2&o&&32&s){const{get:l,set:r}=Object.getOwnPropertyDescriptor(i,t)||{};l&&(e.t[t][0]|=2048),r&&(e.t[t][0]|=4096),(1&o||!l)&&Object.defineProperty(i,t,{get(){{if(!(2048&e.t[t][0]))return((t,e)=>n(this).l.get(e))(0,t);const o=n(this),s=o?o.i:i;if(!s)return;return s[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(l){const i=n(this);if(i){if(r)return void 0===(32&s?this[t]:i.$hostElement$[t])&&i.l.get(t)&&(l=i.l.get(t)),r.call(this,ct(l,s,!!(64&e.u))),void Zt(this,t,l=32&s?this[t]:i.$hostElement$[t],e);{if(!(1&o&&4096&e.t[t][0]))return Zt(this,t,l,e),void(1&o&&!i.i&&i.L.push((()=>{4096&e.t[t][0]&&i.i[t]!==i.l.get(t)&&(i.i[t]=l)})));const n=()=>{const n=i.i[t];!i.l.get(t)&&n&&i.l.set(t,n),i.i[t]=ct(l,s,!!(64&e.u)),Zt(this,t,i.i[t],e)};i.i?n():i.L.push((()=>{n()}))}}}})}else 1&o&&64&s&&Object.defineProperty(i,t,{value(...e){var o;const s=n(this);return null==(o=null==s?void 0:s.q)?void 0:o.then((()=>{var n;return null==(n=s.i)?void 0:n[t](...e)}))}})})),1&o){const o=new Map;i.attributeChangedCallback=function(t,s,l){d.jmp((()=>{var c;const u=o.get(t),f=n(this);if(this.hasOwnProperty(u)&&(l=this[u],delete this[u]),i.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==l)return;if(null==u){const n=null==f?void 0:f.u;if(f&&n&&!(8&n)&&l!==s){const o=f.i,i=null==(c=e.U)?void 0:c[t];null==i||i.forEach((e=>{const[[i,r]]=Object.entries(e);null!=o[i]&&(128&n||1&r)&&o[i].call(o,l,s,t)}))}return}const a=r.find((([t])=>t===u));a&&4&a[1][0]&&(l=null!==l&&"false"!==l);const d=Object.getOwnPropertyDescriptor(i,u);l==this[u]||d.get&&!d.set||(this[u]=l)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=e.U)?l:{}),...r.filter((([t,n])=>31&n[0])).map((([t,n])=>{var s;const l=n[1]||t;return o.set(l,t),512&n[0]&&(null==(s=e.D)||s.push([t,l])),l}))]))}}return t},Kt=(t,n)=>{Gt(t,"connectedCallback",void 0,n)},Qt=(t,n)=>{Gt(t,"disconnectedCallback",void 0,n||t)},Xt=(t,e={})=>{var o;if(!f.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const c=[],u=e.exclude||[],a=f.customElements,h=f.document.head,v=h.querySelector("meta[charset]"),b=f.document.createElement("style"),m=[];let y,g=!0;Object.assign(d,e),d.h=new URL(e.resourcesUrl||"./",f.document.baseURI).href;let w=!1;if(t.map((t=>{t[1].map((e=>{var o,r,h;const v={u:e[0],p:e[1],t:e[2],Y:e[3]};4&v.u&&(w=!0),v.t=e[2],v.Y=e[3],v.D=[],v.U=null!=(o=e[4])?o:{},v.V=null!=(r=e[5])?r:{},v.H=null!=(h=e[6])?h:{};const b=v.p,$=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){super(t),((t,n)=>{const e={u:0,$hostElement$:t,o:n,l:new Map,G:new Map};e.q=new Promise((t=>e.B=t)),e.W=new Promise((t=>e.P=t)),t["s-p"]=[],t["s-rc"]=[],e.L=[];const o=e;t.__stencil__getHostRef=()=>o})(t=this,v)}connectedCallback(){const t=n(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,nn(this,t,v.Y)),y&&(clearTimeout(y),y=null),g?m.push(this):d.jmp((()=>(t=>{if(!(1&d.u)){const e=n(t);if(!e)return;const o=e.o,r=()=>{};if(1&e.u)nn(t,e,o.Y),(null==e?void 0:e.i)?Kt(e.i,t):(null==e?void 0:e.W)&&e.W.then((()=>Kt(e.i,t)));else{e.u|=1,12&o.u&&(t=>{if(!f.document)return;const n=t["s-cr"]=f.document.createComment("");n["s-cn"]=!0,Dt(t,n,t.firstChild)})(t);{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){Pt(e,e.M=n);break}}o.t&&Object.entries(o.t).map((([n,[e]])=>{if(31&e&&n in t&&t[n]!==Object.prototype[n]){const e=t[n];delete t[n],t[n]=e}})),(async(t,n,e)=>{let o;try{if(!(32&n.u)){if(n.u|=32,e.I){const i=((t,n)=>{const e=t.p.replace(/-/g,"_"),o=t.I;if(!o)return;const i=l.get(o);return i?i[e]:import(`./${o}.entry.js`).then((t=>(l.set(o,t),t[e])),(t=>{s(t,n.$hostElement$)}))
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(e,n);if(i&&"then"in i){const t=()=>{};o=await i,t()}else o=i;if(!o)throw Error(`Constructor for "${e.p}#${n.Z}" was not found`);o.isProxied||(e.U=o.watchers,e.V=o.serializers,e.H=o.deserializers,Jt(o,e,2),o.isProxied=!0);const r=()=>{};n.u|=8;try{new o(n)}catch(n){s(n,t)}n.u&=-9,n.u|=128,r(),4&e.u?n.T=!0:Kt(n.i,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const n=tt(e);if(!i.has(n)){const o=()=>{};((t,n,e)=>{let o=i.get(t);p&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,i.set(t,o)})(n,t,!!(1&e.u)),o()}}}const r=n.M,c=()=>Bt(n,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()}catch(e){s(e,t),n.R&&(n.R(),n.R=void 0),n.P&&n.P(t)}})(t,e,o)}r()}})(this))))}disconnectedCallback(){d.jmp((()=>(async t=>{if(!(1&d.u)){const e=n(t);(null==e?void 0:e.J)&&(e.J.map((t=>t())),e.J=void 0),(null==e?void 0:e.i)?Qt(e.i,t):(null==e?void 0:e.W)&&e.W.then((()=>Qt(e.i,t)))}X.has(t)&&X.delete(t),t.shadowRoot&&X.has(t.shadowRoot)&&X.delete(t.shadowRoot)})(this))),d.raf((()=>{var t;const e=n(this);if(!e)return;const o=m.findIndex((t=>t===this));o>-1&&m.splice(o,1),(null==(t=null==e?void 0:e._)?void 0:t.N)instanceof Node&&!e._.N.isConnected&&delete e._.N}))}componentOnReady(){var t;return null==(t=n(this))?void 0:t.W}};!(1&v.u)&&256&v.u?(t=>{L(t),F(t),P(t),D(t),z(t),B(t),U(t),W(t),H(t),V(t),_(t)})($.prototype):L($.prototype),64&v.u&&($.formAssociated=!0),v.I=t[0],u.includes(b)||a.get(b)||(c.push(b),a.define(b,Jt($,v,1)))}))})),c.length>0&&(w&&(b.textContent+=r),b.textContent+=c.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",b.innerHTML.length)){b.setAttribute("data-styles","");const t=null!=(o=d.F)?o:J(f.document);null!=t&&b.setAttribute("nonce",t),h.insertBefore(b,v?v.nextSibling:h.firstChild)}g=!1,m.length?m.map((t=>t.connectedCallback())):d.jmp((()=>y=setTimeout(Yt,30)))},tn=(t,n)=>n,nn=(t,n,e)=>{e&&f.document&&e.map((([e,o,s])=>{const l=t,i=en(n,s),r=on(e);d.ael(l,o,i,r),(n.J=n.J||[]).push((()=>d.rel(l,o,i,r)))}))},en=(t,n)=>e=>{var o;try{256&t.u?null==(o=t.i)||o[n](e):(t.A=t.A||[]).push([n,e])}catch(n){s(n,t.$hostElement$)}},on=t=>({passive:!!(1&t),capture:!!(2&t)}),sn=class{};function ln(...t){return t.reduceRight(((t,n)=>n(t)),sn)}var rn=t=>d.F=t;export{tn as F,a as H,ln as M,st as a,Xt as b,ft as c,S as d,ut as g,et as h,h as p,e as r,rn as s}
@@ -0,0 +1 @@
1
+ System.register([],(function(e){"use strict";return{execute:function(){e({a:n,v:r});function n(e,n,r,o){var u=r[o];if(u===undefined||u==="full")return;var f=Number(u);var i=Number.isNaN(f)||f<e||n!==undefined&&f>n;if(i){var t=n!==undefined?"".concat(e,"–").concat(n):"≥".concat(e);console.warn('[BorealDS] Invalid value "'.concat(u,'" for prop "').concat(o,'" on <').concat(r.tagName.toLowerCase(),">. Expected ").concat(t,"."))}}function r(e,n,r,o){var u=r[o];if(e.includes(u))return;r[o]=n;console.warn('[BorealDS] Invalid value "'.concat(u,'" for prop "').concat(o,'" on <').concat(r.tagName.toLowerCase(),">. Expected one of: ").concat(e.join(", "),"."))}}}}));
@@ -0,0 +1 @@
1
+ System.register([],(function(e){"use strict";return{execute:function(){var n=e("C",{DEFAULT:"default",ERROR:"error",DISABLED:"disabled",ACTIVE:"active"});var r=e("P",{NEUTRAL:"neutral",PENDING:"pending",IN_PROGRESS:"in-progress",COMPLETE:"complete",CANCEL:"cancel"});var E=e("S",{INFO:"info",SUCCESS:"success",WARNING:"warning",DANGER:"danger"})}}}));
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var t=function(r,n){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n))t[n]=r[n]};return t(r,n)};return function(r,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(r,n);function e(){this.constructor=r}r.prototype=n===null?Object.create(n):(e.prototype=n.prototype,new e)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var r,n=1,e=arguments.length;n<e;n++){r=arguments[n];for(var i in r)if(Object.prototype.hasOwnProperty.call(r,i))t[i]=r[i]}return t};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(t,r,n,e){function i(t){return t instanceof n?t:new n((function(r){r(t)}))}return new(n||(n=Promise))((function(n,a){function u(t){try{f(e.next(t))}catch(t){a(t)}}function o(t){try{f(e["throw"](t))}catch(t){a(t)}}function f(t){t.done?n(t.value):i(t.value).then(u,o)}f((e=e.apply(t,r||[])).next())}))};var __generator=this&&this.__generator||function(t,r){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},e,i,a,u=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return u.next=o(0),u["throw"]=o(1),u["return"]=o(2),typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(t){return function(r){return f([t,r])}}function f(o){if(e)throw new TypeError("Generator is already executing.");while(u&&(u=0,o[0]&&(n=0)),n)try{if(e=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=r.call(t,n)}catch(t){o=[6,t];i=0}finally{e=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(t,r){var n={};for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&r.indexOf(e)<0)n[e]=t[e];if(t!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,e=Object.getOwnPropertySymbols(t);i<e.length;i++){if(r.indexOf(e[i])<0&&Object.prototype.propertyIsEnumerable.call(t,e[i]))n[e[i]]=t[e[i]]}return n};var __spreadArray=this&&this.__spreadArray||function(t,r,n){if(n||arguments.length===2)for(var e=0,i=r.length,a;e<i;e++){if(a||!(e in r)){if(!a)a=Array.prototype.slice.call(r,0,e);a[e]=r[e]}}return t.concat(a||Array.prototype.slice.call(r))};System.register(["./p-BHYhd1yq.system.js","./p-DZcx75cy.system.js"],(function(t){"use strict";var r,n;return{setters:[function(t){r=t.f},function(t){n=t.K}],execute:function(){var e=this;var i={Focus:"focus",Blur:"blur"};var a=Math.min;var u=Math.max;var o=Math.round;var f=Math.floor;var s=function(t){return{x:t,y:t}};var c={left:"right",right:"left",bottom:"top",top:"bottom"};var v={start:"end",end:"start"};function l(t,r,n){return u(t,a(r,n))}function d(t,r){return typeof t==="function"?t(r):t}function h(t){return t.split("-")[0]}function _(t){return t.split("-")[1]}function p(t){return t==="x"?"y":"x"}function g(t){return t==="y"?"height":"width"}var m=new Set(["top","bottom"]);function y(t){return m.has(h(t))?"y":"x"}function w(t){return p(y(t))}function b(t,r,n){if(n===void 0){n=false}var e=_(t);var i=w(t);var a=g(i);var u=i==="x"?e===(n?"end":"start")?"right":"left":e==="start"?"bottom":"top";if(r.reference[a]>r.floating[a]){u=P(u)}return[u,P(u)]}function x(t){var r=P(t);return[A(t),r,A(r)]}function A(t){return t.replace(/start|end/g,(function(t){return v[t]}))}var S=["left","right"];var O=["right","left"];var j=["top","bottom"];var k=["bottom","top"];function F(t,r,n){switch(t){case"top":case"bottom":if(n)return r?O:S;return r?S:O;case"left":case"right":return r?j:k;default:return[]}}function R(t,r,n,e){var i=_(t);var a=F(h(t),n==="start",e);if(i){a=a.map((function(t){return t+"-"+i}));if(r){a=a.concat(a.map(A))}}return a}function P(t){return t.replace(/left|right|bottom|top/g,(function(t){return c[t]}))}function T(t){return __assign({top:0,right:0,bottom:0,left:0},t)}function C(t){return typeof t!=="number"?T(t):{top:t,right:t,bottom:t,left:t}}function E(t){var r=t.x,n=t.y,e=t.width,i=t.height;return{width:e,height:i,top:n,left:r,right:r+e,bottom:n+i,x:r,y:n}}function M(t,r,n){var e=t.reference,i=t.floating;var a=y(r);var u=w(r);var o=g(u);var f=h(r);var s=a==="y";var c=e.x+e.width/2-i.width/2;var v=e.y+e.height/2-i.height/2;var l=e[o]/2-i[o]/2;var d;switch(f){case"top":d={x:c,y:e.y-i.height};break;case"bottom":d={x:c,y:e.y+e.height};break;case"right":d={x:e.x+e.width,y:v};break;case"left":d={x:e.x-i.width,y:v};break;default:d={x:e.x,y:e.y}}switch(_(r)){case"start":d[u]-=l*(n&&s?-1:1);break;case"end":d[u]+=l*(n&&s?-1:1);break}return d}function q(t,r){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,s,c,v,l,h,_,p,g,m,y,w,b,x,A,S,O,j,k,F,R,P,T,M,q,D,L,z;var I;return __generator(this,(function(B){switch(B.label){case 0:if(r===void 0){r={}}e=t.x,i=t.y,a=t.platform,u=t.rects,o=t.elements,f=t.strategy;s=d(r,t),c=s.boundary,v=c===void 0?"clippingAncestors":c,l=s.rootBoundary,h=l===void 0?"viewport":l,_=s.elementContext,p=_===void 0?"floating":_,g=s.altBoundary,m=g===void 0?false:g,y=s.padding,w=y===void 0?0:y;b=C(w);x=p==="floating"?"reference":"floating";A=o[m?x:p];O=E;k=(j=a).getClippingRect;I={};return[4,a.isElement==null?void 0:a.isElement(A)];case 1:if(!((n=B.sent())!=null?n:true))return[3,2];F=A;return[3,5];case 2:R=A.contextElement;if(R)return[3,4];return[4,a.getDocumentElement==null?void 0:a.getDocumentElement(o.floating)];case 3:R=B.sent();B.label=4;case 4:F=R;B.label=5;case 5:return[4,k.apply(j,[(I.element=F,I.boundary=v,I.rootBoundary=h,I.strategy=f,I)])];case 6:S=O.apply(void 0,[B.sent()]);P=p==="floating"?{x:e,y:i,width:u.floating.width,height:u.floating.height}:u.reference;return[4,a.getOffsetParent==null?void 0:a.getOffsetParent(o.floating)];case 7:T=B.sent();return[4,a.isElement==null?void 0:a.isElement(T)];case 8:if(!B.sent())return[3,10];return[4,a.getScale==null?void 0:a.getScale(T)];case 9:q=B.sent()||{x:1,y:1};return[3,11];case 10:q={x:1,y:1};B.label=11;case 11:M=q;L=E;if(!a.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,13];return[4,a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:P,offsetParent:T,strategy:f})];case 12:z=B.sent();return[3,14];case 13:z=P;B.label=14;case 14:D=L.apply(void 0,[z]);return[2,{top:(S.top-D.top+b.top)/M.y,bottom:(D.bottom-S.bottom+b.bottom)/M.y,left:(S.left-D.left+b.left)/M.x,right:(D.right-S.right+b.right)/M.x}]}}))}))}var D=function(t,r,n){return __awaiter(e,void 0,void 0,(function(){var e,i,a,u,o,f,s,c,v,l,d,h,_,p,g,m,y,w,b,x,A,S,O,j,k,F,R;var P,T;return __generator(this,(function(C){switch(C.label){case 0:e=n.placement,i=e===void 0?"bottom":e,a=n.strategy,u=a===void 0?"absolute":a,o=n.middleware,f=o===void 0?[]:o,s=n.platform;c=f.filter(Boolean);return[4,s.isRTL==null?void 0:s.isRTL(r)];case 1:v=C.sent();return[4,s.getElementRects({reference:t,floating:r,strategy:u})];case 2:l=C.sent();d=M(l,i,v),h=d.x,_=d.y;p=i;g={};m=0;y=0;C.label=3;case 3:if(!(y<c.length))return[3,11];b=c[y],x=b.name,A=b.fn;return[4,A({x:h,y:_,initialPlacement:i,placement:p,strategy:u,middlewareData:g,rects:l,platform:__assign(__assign({},s),{detectOverflow:(w=s.detectOverflow)!=null?w:q}),elements:{reference:t,floating:r}})];case 4:S=C.sent(),O=S.x,j=S.y,k=S.data,F=S.reset;h=O!=null?O:h;_=j!=null?j:_;g=__assign(__assign({},g),(P={},P[x]=__assign(__assign({},g[x]),k),P));if(!(F&&m<=50))return[3,10];m++;if(!(typeof F==="object"))return[3,9];if(F.placement){p=F.placement}if(!F.rects)return[3,8];if(!(F.rects===true))return[3,6];return[4,s.getElementRects({reference:t,floating:r,strategy:u})];case 5:R=C.sent();return[3,7];case 6:R=F.rects;C.label=7;case 7:l=R;C.label=8;case 8:T=M(l,p,v),h=T.x,_=T.y;C.label=9;case 9:y=-1;C.label=10;case 10:y++;return[3,3];case 11:return[2,{x:h,y:_,placement:p,strategy:u,middlewareData:g}]}}))}))};var L=function(t){return{name:"arrow",options:t,fn:function(r){return __awaiter(this,void 0,void 0,(function(){var n,e,i,u,o,f,s,c,v,h,p,m,y,b,x,A,S,O,j,k,F,R,P,T,E,M,q,D,L,z,I,B,H,N,G;var V,W;return __generator(this,(function(Y){switch(Y.label){case 0:n=r.x,e=r.y,i=r.placement,u=r.rects,o=r.platform,f=r.elements,s=r.middlewareData;c=d(t,r)||{},v=c.element,h=c.padding,p=h===void 0?0:h;if(v==null){return[2,{}]}m=C(p);y={x:n,y:e};b=w(i);x=g(b);return[4,o.getDimensions(v)];case 1:A=Y.sent();S=b==="y";O=S?"top":"left";j=S?"bottom":"right";k=S?"clientHeight":"clientWidth";F=u.reference[x]+u.reference[b]-y[b]-u.floating[x];R=y[b]-u.reference[b];return[4,o.getOffsetParent==null?void 0:o.getOffsetParent(v)];case 2:P=Y.sent();T=P?P[k]:0;E=!T;if(E)return[3,4];return[4,o.isElement==null?void 0:o.isElement(P)];case 3:E=!Y.sent();Y.label=4;case 4:if(E){T=f.floating[k]||u.floating[x]}M=F/2-R/2;q=T/2-A[x]/2-1;D=a(m[O],q);L=a(m[j],q);z=D;I=T-A[x]-L;B=T/2-A[x]/2+M;H=l(z,B,I);N=!s.arrow&&_(i)!=null&&B!==H&&u.reference[x]/2-(B<z?D:L)-A[x]/2<0;G=N?B<z?B-z:B-I:0;return[2,(V={},V[b]=y[b]+G,V.data=__assign((W={},W[b]=H,W.centerOffset=B-H-G,W),N&&{alignmentOffset:G}),V.reset=N,V)]}}))}))}}};var z=function(t){if(t===void 0){t={}}return{name:"flip",options:t,fn:function(r){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,s,c,v,l,_,p,g,m,w,A,S,O,j,k,F,T,C,E,M,q,D,L,z,I,B,H,N,G,V,W,Y,Z,$;return __generator(this,(function(J){switch(J.label){case 0:i=r.placement,a=r.middlewareData,u=r.rects,o=r.initialPlacement,f=r.platform,s=r.elements;c=d(t,r),v=c.mainAxis,l=v===void 0?true:v,_=c.crossAxis,p=_===void 0?true:_,g=c.fallbackPlacements,m=c.fallbackStrategy,w=m===void 0?"bestFit":m,A=c.fallbackAxisSideDirection,S=A===void 0?"none":A,O=c.flipAlignment,j=O===void 0?true:O,k=__rest(c,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=a.arrow)!=null&&n.alignmentOffset){return[2,{}]}F=h(i);T=y(o);C=h(o)===o;return[4,f.isRTL==null?void 0:f.isRTL(s.floating)];case 1:E=J.sent();M=g||(C||!j?[P(o)]:x(o));q=S!=="none";if(!g&&q){M.push.apply(M,R(o,j,S,E))}D=__spreadArray([o],M,true);return[4,f.detectOverflow(r,k)];case 2:L=J.sent();z=[];I=((e=a.flip)==null?void 0:e.overflows)||[];if(l){z.push(L[F])}if(p){B=b(i,u,E);z.push(L[B[0]],L[B[1]])}I=__spreadArray(__spreadArray([],I,true),[{placement:i,overflows:z}],false);if(!z.every((function(t){return t<=0}))){G=(((H=a.flip)==null?void 0:H.index)||0)+1;V=D[G];if(V){W=p==="alignment"?T!==y(V):false;if(!W||I.every((function(t){return y(t.placement)===T?t.overflows[0]>0:true}))){return[2,{data:{index:G,overflows:I},reset:{placement:V}}]}}Y=(N=I.filter((function(t){return t.overflows[0]<=0})).sort((function(t,r){return t.overflows[1]-r.overflows[1]}))[0])==null?void 0:N.placement;if(!Y){switch(w){case"bestFit":{$=(Z=I.filter((function(t){if(q){var r=y(t.placement);return r===T||r==="y"}return true})).map((function(t){return[t.placement,t.overflows.filter((function(t){return t>0})).reduce((function(t,r){return t+r}),0)]})).sort((function(t,r){return t[1]-r[1]}))[0])==null?void 0:Z[0];if($){Y=$}break}case"initialPlacement":Y=o;break}}if(i!==Y){return[2,{reset:{placement:Y}}]}}return[2,{}]}}))}))}}};var I=new Set(["left","top"]);function B(t,r){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,s,c,v,l,p,g,m;return __generator(this,(function(w){switch(w.label){case 0:n=t.placement,e=t.platform,i=t.elements;return[4,e.isRTL==null?void 0:e.isRTL(i.floating)];case 1:a=w.sent();u=h(n);o=_(n);f=y(n)==="y";s=I.has(u)?-1:1;c=a&&f?-1:1;v=d(r,t);l=typeof v==="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis},p=l.mainAxis,g=l.crossAxis,m=l.alignmentAxis;if(o&&typeof m==="number"){g=o==="end"?m*-1:m}return[2,f?{x:g*c,y:p*s}:{x:p*s,y:g*c}]}}))}))}var H=function(t){if(t===void 0){t=0}return{name:"offset",options:t,fn:function(r){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f;return __generator(this,(function(s){switch(s.label){case 0:i=r.x,a=r.y,u=r.placement,o=r.middlewareData;return[4,B(r,t)];case 1:f=s.sent();if(u===((n=o.offset)==null?void 0:n.placement)&&(e=o.arrow)!=null&&e.alignmentOffset){return[2,{}]}return[2,{x:i+f.x,y:a+f.y,data:__assign(__assign({},f),{placement:u})}]}}))}))}}};var N=function(t){if(t===void 0){t={}}return{name:"shift",options:t,fn:function(r){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,s,c,v,_,g,m,w,b,x,A,S,O,j,k,F,O,j,R,P,T;var C,E;return __generator(this,(function(M){switch(M.label){case 0:n=r.x,e=r.y,i=r.placement,a=r.platform;u=d(t,r),o=u.mainAxis,f=o===void 0?true:o,s=u.crossAxis,c=s===void 0?false:s,v=u.limiter,_=v===void 0?{fn:function(t){var r=t.x,n=t.y;return{x:r,y:n}}}:v,g=__rest(u,["mainAxis","crossAxis","limiter"]);m={x:n,y:e};return[4,a.detectOverflow(r,g)];case 1:w=M.sent();b=y(h(i));x=p(b);A=m[x];S=m[b];if(f){O=x==="y"?"top":"left";j=x==="y"?"bottom":"right";k=A+w[O];F=A-w[j];A=l(k,A,F)}if(c){O=b==="y"?"top":"left";j=b==="y"?"bottom":"right";R=S+w[O];P=S-w[j];S=l(R,S,P)}T=_.fn(__assign(__assign({},r),(C={},C[x]=A,C[b]=S,C)));return[2,__assign(__assign({},T),{data:{x:T.x-n,y:T.y-e,enabled:(E={},E[x]=f,E[b]=c,E)}})]}}))}))}}};function G(){return typeof window!=="undefined"}function V(t){if(Z(t)){return(t.nodeName||"").toLowerCase()}return"#document"}function W(t){var r;return(t==null||(r=t.ownerDocument)==null?void 0:r.defaultView)||window}function Y(t){var r;return(r=(Z(t)?t.ownerDocument:t.document)||window.document)==null?void 0:r.documentElement}function Z(t){if(!G()){return false}return t instanceof Node||t instanceof W(t).Node}function $(t){if(!G()){return false}return t instanceof Element||t instanceof W(t).Element}function J(t){if(!G()){return false}return t instanceof HTMLElement||t instanceof W(t).HTMLElement}function K(t){if(!G()||typeof ShadowRoot==="undefined"){return false}return t instanceof ShadowRoot||t instanceof W(t).ShadowRoot}var Q=new Set(["inline","contents"]);function U(t){var r=vt(t),n=r.overflow,e=r.overflowX,i=r.overflowY,a=r.display;return/auto|scroll|overlay|hidden|clip/.test(n+i+e)&&!Q.has(a)}var X=new Set(["table","td","th"]);function tt(t){return X.has(V(t))}var rt=[":popover-open",":modal"];function nt(t){return rt.some((function(r){try{return t.matches(r)}catch(t){return false}}))}var et=["transform","translate","scale","rotate","perspective"];var it=["transform","translate","scale","rotate","perspective","filter"];var at=["paint","layout","strict","content"];function ut(t){var r=ft();var n=$(t)?vt(t):t;return et.some((function(t){return n[t]?n[t]!=="none":false}))||(n.containerType?n.containerType!=="normal":false)||!r&&(n.backdropFilter?n.backdropFilter!=="none":false)||!r&&(n.filter?n.filter!=="none":false)||it.some((function(t){return(n.willChange||"").includes(t)}))||at.some((function(t){return(n.contain||"").includes(t)}))}function ot(t){var r=dt(t);while(J(r)&&!ct(r)){if(ut(r)){return r}else if(nt(r)){return null}r=dt(r)}return null}function ft(){if(typeof CSS==="undefined"||!CSS.supports)return false;return CSS.supports("-webkit-backdrop-filter","none")}var st=new Set(["html","body","#document"]);function ct(t){return st.has(V(t))}function vt(t){return W(t).getComputedStyle(t)}function lt(t){if($(t)){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}return{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function dt(t){if(V(t)==="html"){return t}var r=t.assignedSlot||t.parentNode||K(t)&&t.host||Y(t);return K(r)?r.host:r}function ht(t){var r=dt(t);if(ct(r)){return t.ownerDocument?t.ownerDocument.body:t.body}if(J(r)&&U(r)){return r}return ht(r)}function _t(t,r,n){var e;if(r===void 0){r=[]}if(n===void 0){n=true}var i=ht(t);var a=i===((e=t.ownerDocument)==null?void 0:e.body);var u=W(i);if(a){var o=pt(u);return r.concat(u,u.visualViewport||[],U(i)?i:[],o&&n?_t(o):[])}return r.concat(i,_t(i,[],n))}function pt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function gt(t){var r=vt(t);var n=parseFloat(r.width)||0;var e=parseFloat(r.height)||0;var i=J(t);var a=i?t.offsetWidth:n;var u=i?t.offsetHeight:e;var f=o(n)!==a||o(e)!==u;if(f){n=a;e=u}return{width:n,height:e,$:f}}function mt(t){return!$(t)?t.contextElement:t}function yt(t){var r=mt(t);if(!J(r)){return s(1)}var n=r.getBoundingClientRect();var e=gt(r),i=e.width,a=e.height,u=e.$;var f=(u?o(n.width):n.width)/i;var c=(u?o(n.height):n.height)/a;if(!f||!Number.isFinite(f)){f=1}if(!c||!Number.isFinite(c)){c=1}return{x:f,y:c}}var wt=s(0);function bt(t){var r=W(t);if(!ft()||!r.visualViewport){return wt}return{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function xt(t,r,n){if(r===void 0){r=false}if(!n||r&&n!==W(t)){return false}return r}function At(t,r,n,e){if(r===void 0){r=false}if(n===void 0){n=false}var i=t.getBoundingClientRect();var a=mt(t);var u=s(1);if(r){if(e){if($(e)){u=yt(e)}}else{u=yt(t)}}var o=xt(a,n,e)?bt(a):s(0);var f=(i.left+o.x)/u.x;var c=(i.top+o.y)/u.y;var v=i.width/u.x;var l=i.height/u.y;if(a){var d=W(a);var h=e&&$(e)?W(e):e;var _=d;var p=pt(_);while(p&&e&&h!==_){var g=yt(p);var m=p.getBoundingClientRect();var y=vt(p);var w=m.left+(p.clientLeft+parseFloat(y.paddingLeft))*g.x;var b=m.top+(p.clientTop+parseFloat(y.paddingTop))*g.y;f*=g.x;c*=g.y;v*=g.x;l*=g.y;f+=w;c+=b;_=W(p);p=pt(_)}}return E({width:v,height:l,x:f,y:c})}function St(t,r){var n=lt(t).scrollLeft;if(!r){return At(Y(t)).left+n}return r.left+n}function Ot(t,r){var n=t.getBoundingClientRect();var e=n.left+r.scrollLeft-St(t,n);var i=n.top+r.scrollTop;return{x:e,y:i}}function jt(t){var r=t.elements,n=t.rect,e=t.offsetParent,i=t.strategy;var a=i==="fixed";var u=Y(e);var o=r?nt(r.floating):false;if(e===u||o&&a){return n}var f={scrollLeft:0,scrollTop:0};var c=s(1);var v=s(0);var l=J(e);if(l||!l&&!a){if(V(e)!=="body"||U(u)){f=lt(e)}if(J(e)){var d=At(e);c=yt(e);v.x=d.x+e.clientLeft;v.y=d.y+e.clientTop}}var h=u&&!l&&!a?Ot(u,f):s(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-f.scrollLeft*c.x+v.x+h.x,y:n.y*c.y-f.scrollTop*c.y+v.y+h.y}}function kt(t){return Array.from(t.getClientRects())}function Ft(t){var r=Y(t);var n=lt(t);var e=t.ownerDocument.body;var i=u(r.scrollWidth,r.clientWidth,e.scrollWidth,e.clientWidth);var a=u(r.scrollHeight,r.clientHeight,e.scrollHeight,e.clientHeight);var o=-n.scrollLeft+St(t);var f=-n.scrollTop;if(vt(e).direction==="rtl"){o+=u(r.clientWidth,e.clientWidth)-i}return{width:i,height:a,x:o,y:f}}var Rt=25;function Pt(t,r){var n=W(t);var e=Y(t);var i=n.visualViewport;var a=e.clientWidth;var u=e.clientHeight;var o=0;var f=0;if(i){a=i.width;u=i.height;var s=ft();if(!s||s&&r==="fixed"){o=i.offsetLeft;f=i.offsetTop}}var c=St(e);if(c<=0){var v=e.ownerDocument;var l=v.body;var d=getComputedStyle(l);var h=v.compatMode==="CSS1Compat"?parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0:0;var _=Math.abs(e.clientWidth-l.clientWidth-h);if(_<=Rt){a-=_}}else if(c<=Rt){a+=c}return{width:a,height:u,x:o,y:f}}var Tt=new Set(["absolute","fixed"]);function Ct(t,r){var n=At(t,true,r==="fixed");var e=n.top+t.clientTop;var i=n.left+t.clientLeft;var a=J(t)?yt(t):s(1);var u=t.clientWidth*a.x;var o=t.clientHeight*a.y;var f=i*a.x;var c=e*a.y;return{width:u,height:o,x:f,y:c}}function Et(t,r,n){var e;if(r==="viewport"){e=Pt(t,n)}else if(r==="document"){e=Ft(Y(t))}else if($(r)){e=Ct(r,n)}else{var i=bt(t);e={x:r.x-i.x,y:r.y-i.y,width:r.width,height:r.height}}return E(e)}function Mt(t,r){var n=dt(t);if(n===r||!$(n)||ct(n)){return false}return vt(n).position==="fixed"||Mt(n,r)}function qt(t,r){var n=r.get(t);if(n){return n}var e=_t(t,[],false).filter((function(t){return $(t)&&V(t)!=="body"}));var i=null;var a=vt(t).position==="fixed";var u=a?dt(t):t;while($(u)&&!ct(u)){var o=vt(u);var f=ut(u);if(!f&&o.position==="fixed"){i=null}var s=a?!f&&!i:!f&&o.position==="static"&&!!i&&Tt.has(i.position)||U(u)&&!f&&Mt(t,u);if(s){e=e.filter((function(t){return t!==u}))}else{i=o}u=dt(u)}r.set(t,e);return e}function Dt(t){var r=t.element,n=t.boundary,e=t.rootBoundary,i=t.strategy;var o=n==="clippingAncestors"?nt(r)?[]:qt(r,this._c):[].concat(n);var f=__spreadArray(__spreadArray([],o,true),[e],false);var s=f[0];var c=f.reduce((function(t,n){var e=Et(r,n,i);t.top=u(e.top,t.top);t.right=a(e.right,t.right);t.bottom=a(e.bottom,t.bottom);t.left=u(e.left,t.left);return t}),Et(r,s,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Lt(t){var r=gt(t),n=r.width,e=r.height;return{width:n,height:e}}function zt(t,r,n){var e=J(r);var i=Y(r);var a=n==="fixed";var u=At(t,true,a,r);var o={scrollLeft:0,scrollTop:0};var f=s(0);function c(){f.x=St(i)}if(e||!e&&!a){if(V(r)!=="body"||U(i)){o=lt(r)}if(e){var v=At(r,true,a,r);f.x=v.x+r.clientLeft;f.y=v.y+r.clientTop}else if(i){c()}}if(a&&!e&&i){c()}var l=i&&!e&&!a?Ot(i,o):s(0);var d=u.left+o.scrollLeft-f.x-l.x;var h=u.top+o.scrollTop-f.y-l.y;return{x:d,y:h,width:u.width,height:u.height}}function It(t){return vt(t).position==="static"}function Bt(t,r){if(!J(t)||vt(t).position==="fixed"){return null}if(r){return r(t)}var n=t.offsetParent;if(Y(t)===n){n=n.ownerDocument.body}return n}function Ht(t,r){var n=W(t);if(nt(t)){return n}if(!J(t)){var e=dt(t);while(e&&!ct(e)){if($(e)&&!It(e)){return e}e=dt(e)}return n}var i=Bt(t,r);while(i&&tt(i)&&It(i)){i=Bt(i,r)}if(i&&ct(i)&&It(i)&&!ut(i)){return n}return i||ot(t)||n}var Nt=function(t){return __awaiter(this,void 0,void 0,(function(){var r,n,e,i,a;var u;return __generator(this,(function(o){switch(o.label){case 0:r=this.getOffsetParent||Ht;n=this.getDimensions;return[4,n(t.floating)];case 1:e=o.sent();u={};i=zt;a=[t.reference];return[4,r(t.floating)];case 2:return[2,(u.reference=i.apply(void 0,a.concat([o.sent(),t.strategy])),u.floating={x:0,y:0,width:e.width,height:e.height},u)]}}))}))};function Gt(t){return vt(t).direction==="rtl"}var Vt={convertOffsetParentRelativeRectToViewportRelativeRect:jt,getDocumentElement:Y,getClippingRect:Dt,getOffsetParent:Ht,getElementRects:Nt,getClientRects:kt,getDimensions:Lt,getScale:yt,isElement:$,isRTL:Gt};function Wt(t,r){return t.x===r.x&&t.y===r.y&&t.width===r.width&&t.height===r.height}function Yt(t,r){var n=null;var e;var i=Y(t);function o(){var t;clearTimeout(e);(t=n)==null||t.disconnect();n=null}function s(c,v){if(c===void 0){c=false}if(v===void 0){v=1}o();var l=t.getBoundingClientRect();var d=l.left,h=l.top,_=l.width,p=l.height;if(!c){r()}if(!_||!p){return}var g=f(h);var m=f(i.clientWidth-(d+_));var y=f(i.clientHeight-(h+p));var w=f(d);var b=-g+"px "+-m+"px "+-y+"px "+-w+"px";var x={rootMargin:b,threshold:u(0,a(1,v))||1};var A=true;function S(r){var n=r[0].intersectionRatio;if(n!==v){if(!A){return s()}if(!n){e=setTimeout((function(){s(false,1e-7)}),1e3)}else{s(false,n)}}if(n===1&&!Wt(l,t.getBoundingClientRect())){s()}A=false}try{n=new IntersectionObserver(S,__assign(__assign({},x),{root:i.ownerDocument}))}catch(t){n=new IntersectionObserver(S,x)}n.observe(t)}s(true);return o}function Zt(t,r,n,e){if(e===void 0){e={}}var i=e.ancestorScroll,a=i===void 0?true:i,u=e.ancestorResize,o=u===void 0?true:u,f=e.elementResize,s=f===void 0?typeof ResizeObserver==="function":f,c=e.layoutShift,v=c===void 0?typeof IntersectionObserver==="function":c,l=e.animationFrame,d=l===void 0?false:l;var h=mt(t);var _=a||o?__spreadArray(__spreadArray([],h?_t(h):[],true),_t(r),true):[];_.forEach((function(t){a&&t.addEventListener("scroll",n,{passive:true});o&&t.addEventListener("resize",n)}));var p=h&&v?Yt(h,n):null;var g=-1;var m=null;if(s){m=new ResizeObserver((function(t){var e=t[0];if(e&&e.target===h&&m){m.unobserve(r);cancelAnimationFrame(g);g=requestAnimationFrame((function(){var t;(t=m)==null||t.observe(r)}))}n()}));if(h&&!d){m.observe(h)}m.observe(r)}var y;var w=d?At(t):null;if(d){b()}function b(){var r=At(t);if(w&&!Wt(w,r)){n()}w=r;y=requestAnimationFrame(b)}n();return function(){var t;_.forEach((function(t){a&&t.removeEventListener("scroll",n);o&&t.removeEventListener("resize",n)}));p==null||p();(t=m)==null||t.disconnect();m=null;if(d){cancelAnimationFrame(y)}}}var $t=H;var Jt=N;var Kt=z;var Qt=L;var Ut=function(t,r,n){var e=new Map;var i=__assign({platform:Vt},n);var a=__assign(__assign({},i.platform),{_c:e});return D(t,r,__assign(__assign({},i),{platform:a}))};var Xt=function(){function t(){}t.prototype.error=function(t,r){throw new Error("[".concat(t,"]: ").concat(r))};t.prototype.warn=function(t,r){console.warn("[".concat(t,"]: ").concat(r))};t.prototype.log=function(t,r){console.log("[".concat(t,"]: ").concat(r))};return t}();var tr=function(){function t(t){this.logger=t}t.prototype.computePosition=function(t,r,n){return __awaiter(this,void 0,void 0,(function(){var e,i,a,u,o,f,s,c,v,l,d,h;var _=this;return __generator(this,(function(p){switch(p.label){case 0:if(t===undefined||t===null)this.logger.error("FloatingAdapter.computePosition","Reference element is required for positioning.");if(r===undefined||r===null)this.logger.error("FloatingAdapter.computePosition","Floating element is required for positioning.");e=n.placement,i=n.offset,a=n.flip,u=n.shift,o=n.arrow,f=n.strategy;s=[$t(i)];if(a)s.push(Kt());if(u)s.push(Jt());if(o!==undefined&&o!==null)s.push(Qt({element:o}));return[4,Ut(t,r,{placement:e,middleware:s,strategy:f}).catch((function(t){_.logger.error("FloatingAdapter.computePosition",t.message)})).then((function(t){return t}))];case 1:c=p.sent();v=c.x,l=c.y,d=c.placement,h=c.middlewareData;return[2,{x:v,y:l,placement:d,middlewareData:h}]}}))}))};t.prototype.applyPosition=function(t,r){if(t===undefined||t===null)this.logger.error("FloatingAdapter.applyPosition","Element is required to apply positioning.");t.style.left="".concat(r.x,"px");t.style.top="".concat(r.y,"px")};return t}();var rr=function(t){__extends(r,t);function r(){var r=new Xt;return t.call(this,r)||this}return r}(tr);var nr=t("a",(function(t){var e=function(t){__extends(r,t);function r(){return t.call(this)||this}Object.defineProperty(r.prototype,"options",{get:function(){return{placement:"bottom",offset:8,strategy:"fixed"}},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"hooks",{get:function(){return{}},enumerable:false,configurable:true});r.prototype.showElement=function(){var t=this;this.floatingContent.showPopover();this.isVisible=true;this.startAutoUpdate(this.triggerSlot,this.floatingContent,this.options,(function(r){var n,e;(e=(n=t.hooks).onPositionUpdate)===null||e===void 0?void 0:e.call(n,r)}))};r.prototype.onBeforeShow=function(r){if(this.triggerSlot===null||this.triggerSlot===undefined){this.logger.error("AnchoredMixin.show","triggerSlot is required");return false}return t.prototype.onBeforeShow.call(this,r)};r.prototype.hideFocus=function(){var t,r;var n=(t=this.floatingContent)===null||t===void 0?void 0:t.contains(document.activeElement);if(n){(r=document.activeElement)===null||r===void 0?void 0:r.blur()}};r.prototype.hideElement=function(){var t;this.stopAutoUpdate();this.hideFocus();(t=this.floatingContent)===null||t===void 0?void 0:t.hidePopover();this.isVisible=false};r.prototype.handleSlotChange=function(t,r,n){var e=t.target;if(this.previousTrigger!==undefined&&this.previousTrigger!==null){this.detachTriggerListeners(this.previousTrigger,r,n)}if(e!==undefined&&e!==null){this.attachTriggerListeners(e,r,n);this.previousTrigger=e}};r.prototype.handleKeydown=function(t,r,e){if(t.key===n.Enter.key||t.key===" ")r();if(t.key===n.Escape.key)e()};r.prototype.updatePosition=function(t,r,n,e){return __awaiter(this,void 0,void 0,(function(){var i;var a,u,o;return __generator(this,(function(f){switch(f.label){case 0:return[4,this.positionEngine.computePosition(t,r,{placement:n.placement,offset:n.offset,flip:(a=n.flip)!==null&&a!==void 0?a:true,shift:(u=n.shift)!==null&&u!==void 0?u:true,arrow:n.arrow,strategy:(o=n.strategy)!==null&&o!==void 0?o:"fixed"})];case 1:i=f.sent();this.positionEngine.applyPosition(r,i);e===null||e===void 0?void 0:e(i);return[2,i]}}))}))};r.prototype.startAutoUpdate=function(t,r,n,e){var i=this;var a=function(){void i.updatePosition(t,r,n,e)};a();this.cleanupAutoUpdate=Zt(t,r,a,{elementResize:true,layoutShift:true})};r.prototype.stopAutoUpdate=function(){var t;(t=this.cleanupAutoUpdate)===null||t===void 0?void 0:t.call(this);this.cleanupAutoUpdate=undefined};r.prototype.attachTriggerListeners=function(t,r,n){t.addEventListener(i.Focus,r);t.addEventListener(i.Blur,n)};r.prototype.detachTriggerListeners=function(t,r,n){t.removeEventListener(i.Focus,r);t.removeEventListener(i.Blur,n)};r.prototype.floatingDisconnect=function(t,r){if(this.previousTrigger!==undefined&&this.previousTrigger!==null){this.detachTriggerListeners(this.previousTrigger,t,r)}this.stopAutoUpdate()};r.prototype.subscribeToTrigger=function(t){if(this.hooks.subscribeToTrigger!==undefined)this.hooks.subscribeToTrigger(t)};r.prototype.onBeforeLoad=function(){var t=this.el.parentElement;if(t===null)return;var r=t.querySelector("[bds-tooltip], [bds-popover]")||t.closest(".bds-button, .bds-input, .bds-select")||t;if(r.isConnected){this.triggerSlot=r;this.subscribeToTrigger(r)}};r.prototype.componentDidLoad=function(){var t,r;this.onBeforeLoad();(r=(t=this.hooks).onBeforeLoad)===null||r===void 0?void 0:r.call(t,this.el)};r.prototype.componentWillLoad=function(){this.toggle=this.toggle.bind(this);this.show=this.show.bind(this);this.hide=this.hide.bind(this);this.positionEngine=new rr;this.logger=new Xt;this.cleanupAutoUpdate=undefined;this.previousTrigger=undefined};r.prototype.disconnectedCallback=function(){var t=this;if(this.previousTrigger!==undefined&&this.previousTrigger!==null){this.floatingDisconnect((function(){return t.show()}),(function(){return t.hide()}))}this.stopAutoUpdate();this.hide()};Object.defineProperty(r,"elementRef",{get:function(){return"el"},enumerable:false,configurable:true});return r}(r(t));return e}));var er=t("g",(function(t,r,n){if(t===void 0){t=false}if(r===void 0){r=0}if(t)return r!==undefined?r:0;else return r!==undefined?n+r:n}))}}}));
@@ -0,0 +1 @@
1
+ function s(s,t){s.setFormValue?.(t)}function t(s,t,e){const n={};let o="";for(const{key:s,isValid:a,message:c}of t)a(e)||(n[s]=!0,""===o&&(o=c));const a=0===Object.keys(n).length;return s.setValidity?.(a?{}:n,o),a}const e=s=>class extends s{formDisabledCallback(s){this.isDisabled=s}};export{e as f,t as r,s}
@@ -0,0 +1 @@
1
+ const e={Enter:{key:"Enter"},Escape:{key:"Escape"},Space:{key:" "},ArrowUp:{key:"ArrowUp"},ArrowDown:{key:"ArrowDown"}};export{e as K}
@@ -0,0 +1,2 @@
1
+ var __extends=this&&this.__extends||function(){var r=function(n,e){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var e in n)if(Object.prototype.hasOwnProperty.call(n,e))r[e]=n[e]};return r(n,e)};return function(n,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var n,e=1,t=arguments.length;e<t;e++){n=arguments[e];for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i))r[i]=n[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,n,e,t){function i(r){return r instanceof e?r:new e((function(n){n(r)}))}return new(e||(e=Promise))((function(e,f){function a(r){try{o(t.next(r))}catch(r){f(r)}}function u(r){try{o(t["throw"](r))}catch(r){f(r)}}function o(r){r.done?e(r.value):i(r.value).then(a,u)}o((t=t.apply(r,n||[])).next())}))};var __generator=this&&this.__generator||function(r,n){var e={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},t,i,f,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=u(0),a["throw"]=u(1),a["return"]=u(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(r){return function(n){return o([r,n])}}function o(u){if(t)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(e=0)),e)try{if(t=1,i&&(f=u[0]&2?i["return"]:u[0]?i["throw"]||((f=i["return"])&&f.call(i),0):i.next)&&!(f=f.call(i,u[1])).done)return f;if(i=0,f)u=[u[0]&2,f.value];switch(u[0]){case 0:case 1:f=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;i=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(f=e.trys,f=f.length>0&&f[f.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!f||u[1]>f[0]&&u[1]<f[3])){e.label=u[1];break}if(u[0]===6&&e.label<f[1]){e.label=f[1];f=u;break}if(f&&e.label<f[2]){e.label=f[2];e.ops.push(u);break}if(f[2])e.ops.pop();e.trys.pop();continue}u=n.call(r,e)}catch(r){u=[6,r];i=0}finally{t=f=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,n,e){if(e||arguments.length===2)for(var t=0,i=n.length,f;t<i;t++){if(f||!(t in n)){if(!f)f=Array.prototype.slice.call(n,0,t);f[t]=n[t]}}return r.concat(f||Array.prototype.slice.call(n))};System.register([],(function(r,n){"use strict";return{execute:function(){var e=this;r("M",Ln);var t="boreal-web-components";var i={hotModuleReplacement:false,hydratedSelectorName:"hydrated",lazyLoad:true,propChangeCallback:true,shadowDom:false,slotRelocation:true,state:true,updatable:true};var f="http://www.w3.org/2000/svg";var a="http://www.w3.org/1999/xhtml";var u=function(r,n){var e;var t=n.t;var i=Object.entries((e=t.i)!=null?e:{});i.map((function(e){var t=e[0],i=e[1][0];if(i&31||i&32){var f=r[t];var a=o(Object.getPrototypeOf(r),t)||Object.getOwnPropertyDescriptor(r,t);if(a){Object.defineProperty(r,t,{get:function(){return a.get.call(this)},set:function(r){a.set.call(this,r)},configurable:true,enumerable:true})}r[t]=n.u.has(t)?n.u.get(t):f}}))};function o(r,n){while(r){var e=Object.getOwnPropertyDescriptor(r,n);if(e==null?void 0:e.get)return e;r=Object.getPrototypeOf(r)}return void 0}var l=function(r){if(r.__stencil__getHostRef){return r.__stencil__getHostRef()}return void 0};var v=r("r",(function(r,n){if(!n)return;r.__stencil__getHostRef=function(){return n};n.o=r;if(n.t.l&512&&i.state){u(r,n)}}));var c=function(r,n){var e={l:0,$hostElement$:r,t:n,u:new Map,v:new Map};{e.h=new Promise((function(r){return e.p=r}))}{e.m=new Promise((function(r){return e._=r}));r["s-p"]=[];r["s-rc"]=[]}{e.j=[]}var t=e;r.__stencil__getHostRef=function(){return t};return t};var s=function(r,n){return n in r};var d=function(r,n){return(0,console.error)(r,n)};var h=new Map;var p=function(r,e,t){var i=r.O.replace(/-/g,"_");var f=r.S;if(!f){return void 0}var a=h.get(f);if(a){return a[i]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return n.import("./".concat(f,".entry.js").concat("")).then((function(r){{h.set(f,r)}return r[i]}),(function(r){d(r,e.$hostElement$)}))};var b=new Map;var y="{visibility:hidden}.hydrated{visibility:inherit}";var m="slot-fb{display:contents}slot-fb[hidden]{display:none}";var w="http://www.w3.org/1999/xlink";var g=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"];var _=typeof window!=="undefined"?window:{};var j=r("H",_.HTMLElement||function(){function r(){}return r}());var O={l:0,$:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,n,e,t){return r.addEventListener(n,e,t)},rel:function(r,n,e,t){return r.removeEventListener(n,e,t)},ce:function(r,n){return new CustomEvent(r,n)}};var S=i.shadowDom;var $=function(){var r;var n=false;try{(r=_.document)==null?void 0:r.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){n=true}}))}catch(r){}return n}();var C=r("p",(function(r){return Promise.resolve(r)}));var k=function(){try{if(!_.document.adoptedStyleSheets){return false}new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var N=k?function(){return!!_.document&&Object.getOwnPropertyDescriptor(_.document.adoptedStyleSheets,"length").writable}():false;var A=false;var x=[];var E=[];var M=function(r,n){return function(e){r.push(e);if(!A){A=true;if(n&&O.l&4){L(T)}else{O.raf(T)}}}};var R=function(r){for(var n=0;n<r.length;n++){try{r[n](performance.now())}catch(r){d(r)}}r.length=0};var T=function(){R(x);{R(E);if(A=x.length>0){O.raf(T)}}};var L=function(r){return C().then(r)};var D=M(E,true);var F=r("d",(function(r){var n=new URL(r,O.$);return n.origin!==_.location.origin?n.href:n.pathname}));var P=function(r){var n=vr(r,"childNodes");if(r.tagName&&r.tagName.includes("-")&&r["s-cr"]&&r.tagName!=="SLOT-FB"){B(n,r.tagName).forEach((function(r){if(r.nodeType===1&&r.tagName==="SLOT-FB"){if(z(r,W(r),false).length){r.hidden=true}else{r.hidden=false}}}))}var e=0;for(e=0;e<n.length;e++){var t=n[e];if(t.nodeType===1&&vr(t,"childNodes").length){P(t)}}};var U=function(r){var n=[];for(var e=0;e<r.length;e++){var t=r[e]["s-nr"]||void 0;if(t&&t.isConnected){n.push(t)}}return n};function B(r,n,e){var t=0;var i=[];var f;for(;t<r.length;t++){f=r[t];if(f["s-sr"]&&(!n||f["s-hn"]===n)&&(e===void 0||W(f)===e)){i.push(f);if(typeof e!=="undefined")return i}i=__spreadArray(__spreadArray([],i,true),B(f.childNodes,n,e),true)}return i}var z=function(r,n,e){if(e===void 0){e=true}var t=[];if(e&&r["s-sr"]||!r["s-sr"])t.push(r);var i=r;while(i=i.nextSibling){if(W(i)===n&&(e||!i["s-sr"]))t.push(i)}return t};var H=function(r,n){if(r.nodeType===1){if(r.getAttribute("slot")===null&&n===""){return true}if(r.getAttribute("slot")===n){return true}return false}if(r["s-sn"]===n){return true}return n===""};var I=function(r,n,e,t){if(r["s-ol"]&&r["s-ol"].isConnected){return}var i=document.createTextNode("");i["s-nr"]=r;if(!n["s-cr"]||!n["s-cr"].parentNode)return;var f=n["s-cr"].parentNode;var a=e?vr(f,"prepend"):vr(f,"appendChild");{a.call(f,i)}r["s-ol"]=i;r["s-sh"]=n["s-hn"]};var W=function(r){return typeof r["s-sn"]==="string"?r["s-sn"]:r.nodeType===1&&r.getAttribute("slot")||void 0};function V(r){if(r.assignedElements||r.assignedNodes||!r["s-sr"])return;var n=function(n){return function(r){var e=[];var t=this["s-sn"];if(r==null?void 0:r.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 ")}var i=this["s-cr"].parentElement;var f=i.__childNodes?i.childNodes:U(i.childNodes);f.forEach((function(r){if(t===W(r)){e.push(r)}}));if(n){return e.filter((function(r){return r.nodeType===1}))}return e}.bind(r)};r.assignedElements=n(true);r.assignedNodes=n(false)}function q(r){r.dispatchEvent(new CustomEvent("slotchange",{bubbles:false,cancelable:false,composed:false}))}function G(r,n){var e;n=n||((e=r["s-ol"])==null?void 0:e.parentElement);if(!n)return{slotNode:null,slotName:""};var t=r["s-sn"]=W(r)||"";var i=vr(n,"childNodes");var f=B(i,n.tagName,t)[0];return{slotNode:f,slotName:t}}var Y=function(r){Z(r);J(r);X(r);Q(r);tr(r);rr(r);nr(r);er(r);ir(r);fr(r);K(r)};var Z=function(r){if(r.__cloneNode)return;var n=r.__cloneNode=r.cloneNode;r.cloneNode=function(r){var e=this;var t=n.call(e,false);if(r){var i=0;var f=void 0,a=void 0;var u=["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"];var o=this.__childNodes||this.childNodes;for(;i<o.length;i++){f=o[i]["s-nr"];a=u.every((function(r){return!o[i][r]}));if(f){if(t.__appendChild){t.__appendChild(f.cloneNode(true))}else{t.appendChild(f.cloneNode(true))}}if(a){t.appendChild(o[i].cloneNode(true))}}}return t}};var J=function(r){if(r.__appendChild)return;r.__appendChild=r.appendChild;r.appendChild=function(r){var n=G(r,this),e=n.slotName,t=n.slotNode;if(t){I(r,t);var i=z(t,e);var f=i[i.length-1];var a=vr(f,"parentNode");var u=vr(a,"insertBefore")(r,f.nextSibling);q(t);P(this);return u}return this.__appendChild(r)}};var K=function(r){if(r.__removeChild)return;r.__removeChild=r.removeChild;r.removeChild=function(r){if(r&&typeof r["s-sn"]!=="undefined"){var n=this.__childNodes||this.childNodes;var e=B(n,this.tagName,r["s-sn"]);if(e&&r.isConnected){r.remove();P(this);return}}return this.__removeChild(r)}};var Q=function(r){if(r.__prepend)return;r.__prepend=r.prepend;r.prepend=function(){var n=this;var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}e.forEach((function(e){if(typeof e==="string"){e=n.ownerDocument.createTextNode(e)}var t=(e["s-sn"]=W(e))||"";var i=vr(n,"childNodes");var f=B(i,n.tagName,t)[0];if(f){I(e,f,true);var a=z(f,t);var u=a[0];var o=vr(u,"parentNode");var l=vr(o,"insertBefore")(e,vr(u,"nextSibling"));q(f);return l}if(e.nodeType===1&&!!e.getAttribute("slot")){e.hidden=true}return r.__prepend(e)}))}};var X=function(r){if(r.__append)return;r.__append=r.append;r.append=function(){var r=this;var n=[];for(var e=0;e<arguments.length;e++){n[e]=arguments[e]}n.forEach((function(n){if(typeof n==="string"){n=r.ownerDocument.createTextNode(n)}r.appendChild(n)}))}};var rr=function(r){if(r.__insertAdjacentHTML)return;var n=r.insertAdjacentHTML;r.insertAdjacentHTML=function(r,e){if(r!=="afterbegin"&&r!=="beforeend"){return n.call(this,r,e)}var t=this.ownerDocument.createElement("_");var i;t.innerHTML=e;if(r==="afterbegin"){while(i=t.firstChild){this.prepend(i)}}else if(r==="beforeend"){while(i=t.firstChild){this.append(i)}}}};var nr=function(r){r.insertAdjacentText=function(r,n){this.insertAdjacentHTML(r,n)}};var er=function(r){if(r.__insertBefore)return;var n=r;if(n.__insertBefore)return;n.__insertBefore=r.insertBefore;r.insertBefore=function(r,n){var e=this;var t=G(r,this),i=t.slotName,f=t.slotNode;var a=this.__childNodes?this.childNodes:U(this.childNodes);if(f){var u=false;a.forEach((function(t){if(t===n||n===null){u=true;if(n===null||i!==n["s-sn"]){e.appendChild(r);return}if(i===n["s-sn"]){I(r,f);var a=vr(n,"parentNode");vr(a,"insertBefore")(r,n);q(f)}return}}));if(u)return r}var o=n==null?void 0:n.__parentNode;if(o&&!this.isSameNode(o)){return this.appendChild(r)}return this.__insertBefore(r,n)}};var tr=function(r){if(r.__insertAdjacentElement)return;var n=r.insertAdjacentElement;r.insertAdjacentElement=function(r,e){if(r!=="afterbegin"&&r!=="beforeend"){return n.call(this,r,e)}if(r==="afterbegin"){this.prepend(e);return e}else if(r==="beforeend"){this.append(e);return e}return e}};var ir=function(r){lr("textContent",r);Object.defineProperty(r,"textContent",{get:function(){var r="";var n=this.__childNodes?this.childNodes:U(this.childNodes);n.forEach((function(n){return r+=n.textContent||""}));return r},set:function(r){var n=this.__childNodes?this.childNodes:U(this.childNodes);n.forEach((function(r){if(r["s-ol"])r["s-ol"].remove();r.remove()}));this.insertAdjacentHTML("beforeend",r)}})};var fr=function(r){var n=function(r){__extends(n,r);function n(){return r!==null&&r.apply(this,arguments)||this}n.prototype.item=function(r){return this[r]};return n}(Array);lr("children",r);Object.defineProperty(r,"children",{get:function(){return this.childNodes.filter((function(r){return r.nodeType===1}))}});Object.defineProperty(r,"childElementCount",{get:function(){return this.children.length}});lr("firstChild",r);Object.defineProperty(r,"firstChild",{get:function(){return this.childNodes[0]}});lr("lastChild",r);Object.defineProperty(r,"lastChild",{get:function(){return this.childNodes[this.childNodes.length-1]}});lr("childNodes",r);Object.defineProperty(r,"childNodes",{get:function(){var r=new n;r.push.apply(r,U(this.__childNodes));return r}})};var ar=function(r){if(!r||r.__parentNode)return;lr("parentNode",r);Object.defineProperty(r,"parentNode",{get:function(){var r;return((r=this["s-ol"])==null?void 0:r.parentNode)||this.__parentNode},set:function(r){this.__parentNode=r}})};var ur=["children","nextElementSibling","previousElementSibling"];var or=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function lr(r,n){if(!globalThis.Node||!globalThis.Element){return}var e;if(ur.includes(r)){e=Object.getOwnPropertyDescriptor(Element.prototype,r)}else if(or.includes(r)){e=Object.getOwnPropertyDescriptor(Node.prototype,r)}if(!e){e=Object.getOwnPropertyDescriptor(n,r)}if(e)Object.defineProperty(n,"__"+r,e)}function vr(r,n){if("__"+n in r){var e=r["__"+n];if(typeof e!=="function")return e;return e.bind(r)}else{if(typeof r[n]!=="function")return r[n];return r[n].bind(r)}}var cr=function(r,n){if(n===void 0){n=""}{return function(){return}}};var sr=function(r,n){{return function(){return}}};function dr(r){var n,e,t;return(t=(e=(n=r.head)==null?void 0:n.querySelector('meta[name="csp-nonce"]'))==null?void 0:e.getAttribute("content"))!=null?t:void 0}var hr=new WeakMap;var pr=function(r,n,e){var t=b.get(r);if(k&&e){t=t||new CSSStyleSheet;if(typeof t==="string"){t=n}else{t.replaceSync(n)}}else{t=n}b.set(r,t)};var br=function(r,n,e){var t,i,f;var a=mr(n);var u=b.get(a);if(!_.document){return a}r=r.nodeType===11?r:_.document;if(u){if(typeof u==="string"){r=r.head||r;var o=hr.get(r);var l=void 0;if(!o){hr.set(r,o=new Set)}if(!o.has(a)){l=_.document.createElement("style");l.textContent=u;var v=(t=O.C)!=null?t:dr(_.document);if(v!=null){l.setAttribute("nonce",v)}if(!(n.l&1)){if(r.nodeName==="HEAD"){var c=r.querySelectorAll("link[rel=preconnect]");var s=c.length>0?c[c.length-1].nextSibling:r.querySelector("style");r.insertBefore(l,(s==null?void 0:s.parentNode)===r?s:null)}else if("host"in r){if(k){var d=(i=r.defaultView)!=null?i:r.ownerDocument.defaultView;var h=new d.CSSStyleSheet;h.replaceSync(u);if(N){r.adoptedStyleSheets.unshift(h)}else{r.adoptedStyleSheets=__spreadArray([h],r.adoptedStyleSheets,true)}}else{var p=r.querySelector("style");if(p){p.textContent=u+p.textContent}else{r.prepend(l)}}}else{r.append(l)}}if(n.l&1){r.insertBefore(l,null)}if(n.l&4){l.textContent+=m}if(o){o.add(a)}}}else{var o=hr.get(r);if(!o){hr.set(r,o=new Set)}if(!o.has(a)){var d=(f=r.defaultView)!=null?f:r.ownerDocument.defaultView;var h=void 0;if(u.constructor===d.CSSStyleSheet){h=u}else{h=new d.CSSStyleSheet;for(var y=0;y<u.cssRules.length;y++){h.insertRule(u.cssRules[y].cssText,y)}}if(N){r.adoptedStyleSheets.push(h)}else{r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[h],false)}o.add(a)}}}return a};var yr=function(r){var n=r.t;var e=r.$hostElement$;var t=cr("attachStyles",n.O);br(e.getRootNode(),n);t()};var mr=function(r,n){return"sc-"+r.O};var wr=function(r){r=typeof r;return r==="object"||r==="function"};var gr=r("h",(function(r,n){var e=[];for(var t=2;t<arguments.length;t++){e[t-2]=arguments[t]}if(typeof r==="string"){r=Fn(r)}var i=null;var f=null;var a=null;var u=false;var o=false;var l=[];var v=function(n){for(var e=0;e<n.length;e++){i=n[e];if(Array.isArray(i)){v(i)}else if(i!=null&&typeof i!=="boolean"){if(u=typeof r!=="function"&&!wr(i)){i=String(i)}if(u&&o){l[l.length-1].k+=i}else{l.push(u?_r(null,i):i)}o=u}}};v(e);if(n){if(n.key){f=n.key}if(n.name){a=n.name}{var c=n.className||n.class;if(c){n.class=typeof c!=="object"?c:Object.keys(c).filter((function(r){return c[r]})).join(" ")}}}if(typeof r==="function"){return r(n===null?{}:n,l,Sr)}var s=_r(r,null);s.N=n;if(l.length>0){s.A=l}{s.M=f}{s.R=a}return s}));var _r=function(r,n){var e={l:0,T:r,k:n!=null?n:null,L:null,A:null};{e.N=null}{e.M=null}{e.R=null}return e};var jr=r("a",{});var Or=function(r){return r&&r.T===jr};var Sr={forEach:function(r,n){return r.map($r).forEach(n)},map:function(r,n){return r.map($r).map(n).map(Cr)}};var $r=function(r){return{vattrs:r.N,vchildren:r.A,vkey:r.M,vname:r.R,vtag:r.T,vtext:r.k}};var Cr=function(r){if(typeof r.vtag==="function"){var n=__assign({},r.vattrs);if(r.vkey){n.key=r.vkey}if(r.vname){n.name=r.vname}return gr.apply(void 0,__spreadArray([r.vtag,n],r.vchildren||[],false))}var e=_r(r.vtag,r.vtext);e.N=r.vattrs;e.A=r.vchildren;e.M=r.vkey;e.R=r.vname;return e};var kr=function(r,n,e){if(r!=null&&!wr(r)){if(n&4){if(e&&typeof r==="string"){return r===""||!!r}else{return r==="false"?false:r===""||!!r}}if(n&2){return typeof r==="string"?parseFloat(r):typeof r==="number"?r:NaN}if(n&1){return String(r)}return r}return r};var Nr=r("g",(function(r){var n;return(n=l(r))==null?void 0:n.$hostElement$}));var Ar=r("c",(function(r,n,e){var t=Nr(r);return{emit:function(r){return xr(t,n,{bubbles:true,composed:true,cancelable:true,detail:r})}}}));var xr=function(r,n,e){var t=O.ce(n,e);r.dispatchEvent(t);return t};var Er=function(r,n,e,t,i,f,a){if(e===t){return}var u=s(r,n);var o=n.toLowerCase();if(n==="class"){var v=r.classList;var c=Rr(e);var d=Rr(t);{v.remove.apply(v,c.filter((function(r){return r&&!d.includes(r)})));v.add.apply(v,d.filter((function(r){return r&&!c.includes(r)})))}}else if(n==="style"){{for(var h in e){if(!t||t[h]==null){if(h.includes("-")){r.style.removeProperty(h)}else{r.style[h]=""}}}}for(var h in t){if(!e||t[h]!==e[h]){if(h.includes("-")){r.style.setProperty(h,t[h])}else{r.style[h]=t[h]}}}}else if(n==="key");else if(n==="ref"){if(t){fn(t,r)}}else if(!u&&n[0]==="o"&&n[1]==="n"){if(n[2]==="-"){n=n.slice(3)}else if(s(_,o)){n=o.slice(2)}else{n=o[2]+n.slice(3)}if(e||t){var p=n.endsWith(Tr);n=n.replace(Lr,"");if(e){O.rel(r,n,e,p)}if(t){O.ael(r,n,t,p)}}}else if(n[0]==="a"&&n.startsWith("attr:")){var b=n.slice(5);var y=void 0;{var m=l(r);if(m&&m.t&&m.t.i){var g=m.t.i[b];if(g&&g[1]){y=g[1]}}}if(!y){y=b.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}if(t==null||t===false){if(t!==false||r.getAttribute(y)===""){r.removeAttribute(y)}}else{r.setAttribute(y,t===true?"":t)}return}else if(n[0]==="p"&&n.startsWith("prop:")){var b=n.slice(5);try{r[b]=t}catch(r){}return}else{var j=wr(t);if((u||j&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var S=t==null?"":t;if(n==="list"){u=false}else if(e==null||r[n]!==S){if(typeof r.__lookupSetter__(n)==="function"){r[n]=S}else{r.setAttribute(n,S)}}}else if(r[n]!==t){r[n]=t}}catch(r){}}var $=false;{if(o!==(o=o.replace(/^xlink\:?/,""))){n=o;$=true}}if(t==null||t===false){if(t!==false||r.getAttribute(n)===""){if($){r.removeAttributeNS(w,n)}else{r.removeAttribute(n)}}}else if((!u||f&4||i)&&!j&&r.nodeType===1){t=t===true?"":t;if($){r.setAttributeNS(w,n,t)}else{r.setAttribute(n,t)}}}};var Mr=/\s/;var Rr=function(r){if(typeof r==="object"&&r&&"baseVal"in r){r=r.baseVal}if(!r||typeof r!=="string"){return[]}return r.split(Mr)};var Tr="Capture";var Lr=new RegExp(Tr+"$");var Dr=function(r,n,e,t){var i=n.L.nodeType===11&&n.L.host?n.L.host:n.L;var f=r&&r.N||{};var a=n.N||{};{for(var u=0,o=Fr(Object.keys(f));u<o.length;u++){var l=o[u];if(!(l in a)){Er(i,l,f[l],void 0,e,n.l)}}}for(var v=0,c=Fr(Object.keys(a));v<c.length;v++){var l=c[v];Er(i,l,f[l],a[l],e,n.l)}};function Fr(r){return r.includes("ref")?__spreadArray(__spreadArray([],r.filter((function(r){return r!=="ref"})),true),["ref"],false):r}var Pr;var Ur;var Br=false;var zr=false;var Hr=false;var Ir=false;var Wr=[];var Vr=[];var qr=function(r,n,e){var t;var u=n.A[e];var o=0;var l;var v;var c;if(!Br){Hr=true;if(u.T==="slot"){u.l|=u.A?2:1}}if(u.k!=null){l=u.L=_.document.createTextNode(u.k)}else if(u.l&1){l=u.L=_.document.createTextNode("");{Dr(null,u,Ir)}}else{if(!Ir){Ir=u.T==="svg"}if(!_.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.")}l=u.L=_.document.createElementNS(Ir?f:a,!Br&&i.slotRelocation&&u.l&2?"slot-fb":u.T);if(Ir&&u.T==="foreignObject"){Ir=false}{Dr(null,u,Ir)}if(u.A){var s=u.T==="template"?l.content:l;for(o=0;o<u.A.length;++o){v=qr(r,u,o);if(v){s.appendChild(v)}}}{if(u.T==="svg"){Ir=false}else if(l.tagName==="foreignObject"){Ir=true}}}l["s-hn"]=Ur;{if(u.l&(2|1)){l["s-sr"]=true;l["s-cr"]=Pr;l["s-sn"]=u.R||"";l["s-rf"]=(t=u.N)==null?void 0:t.ref;V(l);c=r&&r.A&&r.A[e];if(c&&c.T===u.T&&r.L){Gr(r.L)}}}return l};var Gr=function(r){O.l|=1;var n=r.closest(Ur.toLowerCase());if(n!=null){var e=Array.from(n.__childNodes||n.childNodes).find((function(r){return r["s-cr"]}));var t=Array.from(r.__childNodes||r.childNodes);for(var i=0,f=e?t.reverse():t;i<f.length;i++){var a=f[i];if(a["s-sh"]!=null){un(n,a,e!=null?e:null);a["s-sh"]=void 0;Hr=true}}}O.l&=-2};var Yr=function(r,n){O.l|=1;var e=Array.from(r.__childNodes||r.childNodes);if(r["s-sr"]){var t=r;while(t=t.nextSibling){if(t&&t["s-sn"]===r["s-sn"]&&t["s-sh"]===Ur){e.push(t)}}}for(var i=e.length-1;i>=0;i--){var f=e[i];if(f["s-hn"]!==Ur&&f["s-ol"]){un(Xr(f).parentNode,f,Xr(f));f["s-ol"].remove();f["s-ol"]=void 0;f["s-sh"]=void 0;Hr=true}if(n){Yr(f,n)}}O.l&=-2};var Zr=function(r,n,e,t,i,f){var a=r["s-cr"]&&r["s-cr"].parentNode||r;var u;if(e.T==="template"){a=a.content}for(;i<=f;++i){if(t[i]){u=qr(null,e,i);if(u){t[i].L=u;un(a,u,Xr(n))}}}};var Jr=function(r,n,e){for(var t=n;t<=e;++t){var i=r[t];if(i){var f=i.L;tn(i);if(f){{zr=true;if(f["s-ol"]){f["s-ol"].remove()}else{Yr(f,true)}}f.remove()}}}};var Kr=function(r,n,e,t,i){if(i===void 0){i=false}var f=0;var a=0;var u=0;var o=0;var l=n.length-1;var v=n[0];var c=n[l];var s=t.length-1;var d=t[0];var h=t[s];var p;var b;var y=e.T==="template"?r.content:r;while(f<=l&&a<=s){if(v==null){v=n[++f]}else if(c==null){c=n[--l]}else if(d==null){d=t[++a]}else if(h==null){h=t[--s]}else if(Qr(v,d,i)){rn(v,d,i);v=n[++f];d=t[++a]}else if(Qr(c,h,i)){rn(c,h,i);c=n[--l];h=t[--s]}else if(Qr(v,h,i)){if(v.T==="slot"||h.T==="slot"){Yr(v.L.parentNode,false)}rn(v,h,i);un(y,v.L,c.L.nextSibling);v=n[++f];h=t[--s]}else if(Qr(c,d,i)){if(v.T==="slot"||h.T==="slot"){Yr(c.L.parentNode,false)}rn(c,d,i);un(y,c.L,v.L);c=n[--l];d=t[++a]}else{u=-1;{for(o=f;o<=l;++o){if(n[o]&&n[o].M!==null&&n[o].M===d.M){u=o;break}}}if(u>=0){b=n[u];if(b.T!==d.T){p=qr(n&&n[a],e,u)}else{rn(b,d,i);n[u]=void 0;p=b.L}d=t[++a]}else{p=qr(n&&n[a],e,a);d=t[++a]}if(p){{un(Xr(v.L).parentNode,p,Xr(v.L))}}}}if(f>l){Zr(r,t[s+1]==null?null:t[s+1].L,e,t,a,s)}else if(a>s){Jr(n,f,l)}};var Qr=function(r,n,e){if(e===void 0){e=false}if(r.T===n.T){if(r.T==="slot"){return r.R===n.R}if(!e){return r.M===n.M}if(e&&!r.M&&n.M){r.M=n.M}return true}return false};var Xr=function(r){return r&&r["s-ol"]||r};var rn=function(r,n,e){if(e===void 0){e=false}var t=n.L=r.L;var f=r.A;var a=n.A;var u=n.T;var o=n.k;var l;if(o==null){{Ir=u==="svg"?true:u==="foreignObject"?false:Ir}{if(u==="slot"&&!Br){if(r.R!==n.R){n.L["s-sn"]=n.R||"";Gr(n.L.parentElement)}}Dr(r,n,Ir)}if(f!==null&&a!==null){Kr(t,f,n,a,e)}else if(a!==null){if(r.k!==null){t.textContent=""}Zr(t,null,n,a,0,a.length-1)}else if(!e&&i.updatable&&f!==null){Jr(f,0,f.length-1)}else;if(Ir&&u==="svg"){Ir=false}}else if(l=t["s-cr"]){l.parentNode.textContent=o}else if(r.k!==o){t.data=o}};var nn=[];var en=function(r){var n;var e;var t;var i=r.__childNodes||r.childNodes;for(var f=0,a=i;f<a.length;f++){var u=a[f];if(u["s-sr"]&&(n=u["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;var o=u["s-sn"];var l=function(){n=e[t];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==u["s-hn"]&&(!n["s-sh"]||n["s-sh"]!==u["s-hn"])){if(H(n,o)){var r=nn.find((function(r){return r.D===n}));zr=true;n["s-sn"]=n["s-sn"]||o;if(r){r.D["s-sh"]=u["s-hn"];r.F=u}else{n["s-sh"]=u["s-hn"];nn.push({F:u,D:n})}if(n["s-sr"]){nn.map((function(e){if(H(e.D,n["s-sn"])){r=nn.find((function(r){return r.D===n}));if(r&&!e.F){e.F=r.F}}}))}}else if(!nn.some((function(r){return r.D===n}))){nn.push({D:n})}}};for(t=e.length-1;t>=0;t--){l()}}if(u.nodeType===1){en(u)}}};var tn=function(r){{if(r.N&&r.N.ref){Wr.push((function(){return r.N.ref(null)}))}r.A&&r.A.map(tn)}};var fn=function(r,n){{Vr.push((function(){return r(n)}))}};var an=function(){{Wr.forEach((function(r){return r()}));Wr.length=0;Vr.forEach((function(r){return r()}));Vr.length=0}};var un=function(r,n,e,t){{if(typeof n["s-sn"]==="string"){if(r.getRootNode().nodeType!==11){ar(n)}r.insertBefore(n,e);var i=G(n).slotNode;if(i&&!t)q(i);return n}}if(r.__insertBefore){return r.__insertBefore(n,e)}else{return r==null?void 0:r.insertBefore(n,e)}};var on=function(r,n,e){if(e===void 0){e=false}var t,i,f,a,u;var o=r.$hostElement$;var l=r.t;var v=r.P||_r(null,null);var c=Or(n);var s=c?n:gr(null,null,n);Ur=o.tagName;if(l.U){s.N=s.N||{};l.U.forEach((function(r){var n=r[0],e=r[1];{s.N[e]=o[n]}}))}if(e&&s.N){for(var d=0,h=Object.keys(s.N);d<h.length;d++){var p=h[d];if(o.hasAttribute(p)&&!["key","ref","style","class"].includes(p)){s.N[p]=o[p]}}}s.T=null;s.l|=4;r.P=s;s.L=v.L=o;Br=S;{Pr=o["s-cr"];zr=false}rn(v,s,e);{O.l|=1;if(Hr){en(s.L);for(var b=0,y=nn;b<y.length;b++){var m=y[b];var w=m.D;if(!w["s-ol"]&&_.document){var g=_.document.createTextNode("");g["s-nr"]=w;un(w.parentNode,w["s-ol"]=g,w,e)}}for(var j=0,$=nn;j<$.length;j++){var m=$[j];var w=m.D;var C=m.F;if(w.nodeType===1&&e){w["s-ih"]=(t=w.hidden)!=null?t:false}if(C){var k=C.parentNode;var N=C.nextSibling;if(N&&N.nodeType===1){var g=(i=w["s-ol"])==null?void 0:i.previousSibling;while(g){var A=(f=g["s-nr"])!=null?f:null;if(A&&A["s-sn"]===w["s-sn"]&&k===(A.__parentNode||A.parentNode)){A=A.nextSibling;while(A===w||(A==null?void 0:A["s-sr"])){A=A==null?void 0:A.nextSibling}if(!A||!A["s-nr"]){N=A;break}}g=g.previousSibling}}var x=w.__parentNode||w.parentNode;var E=w.__nextSibling||w.nextSibling;if(!N&&k!==x||E!==N){if(w!==N){un(k,w,N,e);if(w.nodeType===8&&w.nodeValue.startsWith("s-nt-")){var M=_.document.createTextNode(w.nodeValue.replace(/^s-nt-/,""));M["s-hn"]=w["s-hn"];M["s-sn"]=w["s-sn"];M["s-sh"]=w["s-sh"];M["s-sr"]=w["s-sr"];M["s-ol"]=w["s-ol"];M["s-ol"]["s-nr"]=M;un(w.parentNode,M,w,e);w.parentNode.removeChild(w)}if(w.nodeType===1&&w.tagName!=="SLOT-FB"){w.hidden=(a=w["s-ih"])!=null?a:false}}}w&&typeof C["s-rf"]==="function"&&C["s-rf"](C)}else if(w.nodeType===1){w.hidden=true}}}if(zr){P(s.L)}O.l&=-2;nn.length=0}if(!Br&&!(l.l&1)&&o["s-cr"]){var R=s.L.__childNodes||s.L.childNodes;for(var T=0,L=R;T<L.length;T++){var D=L[T];if(D["s-hn"]!==Ur&&!D["s-sh"]){if(e&&D["s-ih"]==null){D["s-ih"]=(u=D.hidden)!=null?u:false}if(D.nodeType===1){D.hidden=true}else if(D.nodeType===3&&!!D.nodeValue.trim()){var F=_.document.createComment("s-nt-"+D.nodeValue);F["s-sn"]=D["s-sn"];un(D.parentNode,F,D,e);D.parentNode.removeChild(D)}}}}Pr=void 0;an()};var ln=function(r,n){if(n&&!r.B&&n["s-p"]){var e=n["s-p"].push(new Promise((function(t){return r.B=function(){n["s-p"].splice(e-1,1);t()}})))}};var vn=function(r,n){{r.l|=16}if(r.l&4){r.l|=512;return}ln(r,r.H);var e=function(){return cn(r,n)};if(n){queueMicrotask((function(){e()}));return}return D(e)};var cn=function(r,n){var e=r.$hostElement$;var t=cr("scheduleUpdate",r.t.O);var i=r.o;if(!i){throw new Error("Can't render component <".concat(e.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"))}var f;if(n){{if(r.I){r.I=false;mn(i,"connectedCallback",void 0,e)}{r.l|=256;if(r.W){r.W.map((function(r){var n=r[0],t=r[1];return mn(i,n,t,e)}));r.W=void 0}}if(r.j.length){r.j.forEach((function(r){return r(e)}))}}f=mn(i,"componentWillLoad",void 0,e)}else{f=mn(i,"componentWillUpdate",void 0,e)}f=sn(f,(function(){return mn(i,"componentWillRender",void 0,e)}));t();return sn(f,(function(){return hn(r,i,n)}))};var sn=function(r,n){return dn(r)?r.then(n).catch((function(r){console.error(r);n()})):n()};var dn=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var hn=function(r,n,t){return __awaiter(e,void 0,void 0,(function(){var e,i,f,a,u,o,l;return __generator(this,(function(v){i=r.$hostElement$;f=cr("update",r.t.O);a=i["s-rc"];if(t){yr(r)}u=cr("render",r.t.O);{pn(r,n,i,t)}if(a){a.map((function(r){return r()}));i["s-rc"]=void 0}u();f();{o=(e=i["s-p"])!=null?e:[];l=function(){return bn(r)};if(o.length===0){l()}else{Promise.all(o).then(l).catch(l);r.l|=4;o.length=0}}return[2]}))}))};var pn=function(r,n,e,t){try{n=n.render();{r.l&=-17}{r.l|=2}{{{on(r,n,t)}}}}catch(n){d(n,r.$hostElement$)}return null};var bn=function(r){var n=r.t.O;var e=r.$hostElement$;var t=cr("postUpdate",n);var i=r.o;var f=r.H;mn(i,"componentDidRender",void 0,e);if(!(r.l&64)){r.l|=64;{wn(e)}mn(i,"componentDidLoad",void 0,e);t();{r._(e);if(!f){yn()}}}else{mn(i,"componentDidUpdate",void 0,e);t()}{r.p(e)}{if(r.B){r.B();r.B=void 0}if(r.l&512){L((function(){return vn(r,false)}))}r.l&=-517}};var yn=function(r){L((function(){return xr(_,"appload",{detail:{namespace:t}})}))};var mn=function(r,n,e,t){if(r&&r[n]){try{return r[n](e)}catch(r){d(r,t)}}return void 0};var wn=function(r){var n;return r.classList.add((n=i.hydratedSelectorName)!=null?n:"hydrated")};var gn=function(r,n){return l(r).u.get(n)};var _n=function(r,n,e,t){var i=l(r);if(!i){return}if(!i){throw new Error("Couldn't find host element for \"".concat(t.O,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).'))}var f=i.$hostElement$;var a=i.u.get(n);var u=i.l;var o=i.o;e=kr(e,t.i[n][0],!!(t.l&64));var v=Number.isNaN(a)&&Number.isNaN(e);var c=e!==a&&!v;if((!(u&8)||a===void 0)&&c){i.u.set(n,e);if(t.V){var s=t.V[n];if(s){s.map((function(r){try{var t=Object.entries(r)[0],l=t[0],v=t[1];if(u&128||v&1){if(!o){i.j.push((function(){i.o[l](e,a,n)}))}else{o[l](e,a,n)}}}catch(r){d(r,f)}}))}}if(u&2){if(o.componentShouldUpdate){var h=o.componentShouldUpdate(e,a,n);if(h===false&&!(u&16)){return}}if(!(u&16)){vn(i,false)}}}};var jn=function(r,n,e){var t,f;var a=r.prototype;if(n.l&64&&e&1){g.forEach((function(r){Object.defineProperty(a,r,{value:function(){var n=[];for(var e=0;e<arguments.length;e++){n[e]=arguments[e]}var t;var i=l(this);var f=i==null?void 0:i.o;if(!f){(t=i==null?void 0:i.m)==null?void 0:t.then((function(e){var t=e[r];typeof t==="function"&&t.call.apply(t,__spreadArray([e],n,false))}))}else{var a=f[r];typeof a==="function"&&a.call.apply(a,__spreadArray([f],n,false))}}})}))}if(n.i||i.propChangeCallback){{if(r.watchers&&!n.V){n.V=r.watchers}if(r.deserializers&&!n.q){n.q=r.deserializers}if(r.serializers&&!n.G){n.G=r.serializers}}var u=Object.entries((t=n.i)!=null?t:{});u.map((function(r){var t=r[0],i=r[1][0];if(i&31||e&2&&i&32){var f=Object.getOwnPropertyDescriptor(a,t)||{},u=f.get,o=f.set;if(u)n.i[t][0]|=2048;if(o)n.i[t][0]|=4096;if(e&1||!u){Object.defineProperty(a,t,{get:function(){{if((n.i[t][0]&2048)===0){return gn(this,t)}var r=l(this);var e=r?r.o:a;if(!e)return;return e[t]}},configurable:true,enumerable:true})}Object.defineProperty(a,t,{set:function(r){var f=this;var a=l(this);if(!a){return}if(o){var u=i&32?this[t]:a.$hostElement$[t];if(typeof u==="undefined"&&a.u.get(t)){r=a.u.get(t)}o.apply(this,[kr(r,i,!!(n.l&64))]);r=i&32?this[t]:a.$hostElement$[t];_n(this,t,r,n);return}{if((e&1)===0||(n.i[t][0]&4096)===0){_n(this,t,r,n);if(e&1&&!a.o){a.j.push((function(){if(n.i[t][0]&4096&&a.o[t]!==a.u.get(t)){a.o[t]=r}}))}return}var v=function(){var e=a.o[t];if(!a.u.get(t)&&e){a.u.set(t,e)}a.o[t]=kr(r,i,!!(n.l&64));_n(f,t,a.o[t],n)};if(a.o){v()}else{a.j.push((function(){v()}))}}}})}else if(e&1&&i&64){Object.defineProperty(a,t,{value:function(){var r=[];for(var n=0;n<arguments.length;n++){r[n]=arguments[n]}var e;var i=l(this);return(e=i==null?void 0:i.h)==null?void 0:e.then((function(){var n;return(n=i.o)==null?void 0:n[t].apply(n,r)}))}})}}));if(e&1){var o=new Map;a.attributeChangedCallback=function(r,e,t){var f=this;O.jmp((function(){var v;var c=o.get(r);var s=l(f);if(f.hasOwnProperty(c)&&i.lazyLoad){t=f[c];delete f[c]}if(a.hasOwnProperty(c)&&typeof f[c]==="number"&&f[c]==t){return}else if(c==null){var d=s==null?void 0:s.l;if(s&&d&&!(d&8)&&t!==e){var h=s.o;var p=(v=n.V)==null?void 0:v[r];p==null?void 0:p.forEach((function(n){var i=Object.entries(n)[0],f=i[0],a=i[1];if(h[f]!=null&&(d&128||a&1)){h[f].call(h,t,e,r)}}))}return}var b=u.find((function(r){var n=r[0];return n===c}));if(b&&b[1][0]&4){t=t===null||t==="false"?false:true}var y=Object.getOwnPropertyDescriptor(a,c);if(t!=f[c]&&(!y.get||!!y.set)){f[c]=t}}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((f=n.V)!=null?f:{}),true),u.filter((function(r){var n=r[0],e=r[1];return e[0]&31})).map((function(r){var e=r[0],t=r[1];var i;var f=t[1]||e;o.set(f,e);if(t[0]&512){(i=n.U)==null?void 0:i.push([e,f])}return f})),true)))}}return r};var On=function(r,n,t,f){return __awaiter(e,void 0,void 0,(function(){var e,f,a,u,o,l,v,c,s,h,y,m,w;return __generator(this,(function(g){switch(g.label){case 0:g.trys.push([0,7,,8]);if(!((n.l&32)===0))return[3,6];n.l|=32;f=t.S;if(!f)return[3,4];a=p(t,n);if(!(a&&"then"in a))return[3,2];u=sr();return[4,a];case 1:e=g.sent();u();return[3,3];case 2:e=a;g.label=3;case 3:if(!e){throw new Error('Constructor for "'.concat(t.O,"#").concat(n.Y,'" was not found'))}if(!e.isProxied){{t.V=e.watchers;t.G=e.serializers;t.q=e.deserializers}jn(e,t,2);e.isProxied=true}o=cr("createInstance",t.O);{n.l|=8}try{new e(n)}catch(n){d(n,r)}{n.l&=-9}{n.l|=128}o();l=t.l&4;if(!l){Sn(n.o,r)}else{n.I=true}return[3,5];case 4:e=r.constructor;v=r.localName;customElements.whenDefined(v).then((function(){return n.l|=128}));g.label=5;case 5:if(e&&e.style){c=void 0;if(typeof e.style==="string"){c=e.style}s=mr(t);if(!b.has(s)||i.hotModuleReplacement){h=cr("registerStyles",t.O);pr(s,c,!!(t.l&1));h()}}g.label=6;case 6:y=n.H;m=function(){return vn(n,true)};if(y&&y["s-rc"]){y["s-rc"].push(m)}else{m()}return[3,8];case 7:w=g.sent();d(w,r);if(n.B){n.B();n.B=void 0}if(n._){n._(r)}return[3,8];case 8:return[2]}}))}))};var Sn=function(r,n){{mn(r,"connectedCallback",void 0,n)}};var $n=function(r){if((O.l&1)===0){var n=l(r);if(!n){return}var e=n.t;var t=cr("connectedCallback",e.O);if(!(n.l&1)){n.l|=1;{if(e.l&(4|8)){Cn(r)}}{var i=r;while(i=i.parentNode||i.host){if(i["s-p"]){ln(n,n.H=i);break}}}if(e.i){Object.entries(e.i).map((function(n){var e=n[0],t=n[1][0];if(t&31&&e in r&&r[e]!==Object.prototype[e]){var i=r[e];delete r[e];r[e]=i}}))}{On(r,n,e)}}else{En(r,n,e.Z);if(n==null?void 0:n.o){Sn(n.o,r)}else if(n==null?void 0:n.m){n.m.then((function(){return Sn(n.o,r)}))}}t()}};var Cn=function(r){if(!_.document){return}var n=r["s-cr"]=_.document.createComment("");n["s-cn"]=true;un(r,n,r.firstChild)};var kn=function(r,n){{mn(r,"disconnectedCallback",void 0,n||r)}};var Nn=function(r){return __awaiter(e,void 0,void 0,(function(){var n;return __generator(this,(function(e){if((O.l&1)===0){n=l(r);{if(n==null?void 0:n.J){n.J.map((function(r){return r()}));n.J=void 0}}if(n==null?void 0:n.o){kn(n.o,r)}else if(n==null?void 0:n.m){n.m.then((function(){return kn(n.o,r)}))}}if(hr.has(r)){hr.delete(r)}if(r.shadowRoot&&hr.has(r.shadowRoot)){hr.delete(r.shadowRoot)}return[2]}))}))};var An=r("b",(function(r,n){if(n===void 0){n={}}var e;if(!_.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var t=cr();var i=[];var f=n.exclude||[];var a=_.customElements;var u=_.document.head;var o=u.querySelector("meta[charset]");var v=_.document.createElement("style");var s=[];var d;var h=true;Object.assign(O,n);O.$=new URL(n.resourcesUrl||"./",_.document.baseURI).href;var p=false;r.map((function(r){r[1].map((function(n){var e,t,u;var o={l:n[0],O:n[1],i:n[2],Z:n[3]};if(o.l&4){p=true}{o.i=n[2]}{o.Z=n[3]}{o.U=[]}{o.V=(e=n[4])!=null?e:{};o.G=(t=n[5])!=null?t:{};o.q=(u=n[6])!=null?u:{}}var v=Fn(o.O);var b=function(r){__extends(n,r);function n(n){var e=r.call(this,n)||this;e.hasRegisteredEventListeners=false;n=e;c(n,o);return e}n.prototype.connectedCallback=function(){var r=this;var n=l(this);if(!n){return}if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;En(this,n,o.Z)}if(d){clearTimeout(d);d=null}if(h){s.push(this)}else{O.jmp((function(){return $n(r)}))}};n.prototype.disconnectedCallback=function(){var r=this;O.jmp((function(){return Nn(r)}));O.raf((function(){var n;var e=l(r);if(!e){return}var t=s.findIndex((function(n){return n===r}));if(t>-1){s.splice(t,1)}if(((n=e==null?void 0:e.P)==null?void 0:n.L)instanceof Node&&!e.P.L.isConnected){delete e.P.L}}))};n.prototype.componentOnReady=function(){var r;return(r=l(this))==null?void 0:r.m};return n}(HTMLElement);if(!(o.l&1)&&o.l&256){{Y(b.prototype)}}else{Z(b.prototype)}if(o.l&64){b.formAssociated=true}o.S=r[0];if(!f.includes(v)&&!a.get(v)){i.push(v);a.define(v,jn(b,o,1))}}))}));if(i.length>0){if(p){v.textContent+=m}{v.textContent+=i.sort()+y}if(v.innerHTML.length){v.setAttribute("data-styles","");var b=(e=O.C)!=null?e:dr(_.document);if(b!=null){v.setAttribute("nonce",b)}u.insertBefore(v,o?o.nextSibling:u.firstChild)}}h=false;if(s.length){s.map((function(r){return r.connectedCallback()}))}else{{O.jmp((function(){return d=setTimeout(yn,30)}))}}t()}));var xn=r("F",(function(r,n){return n}));var En=function(r,n,e,t){if(e&&_.document){e.map((function(e){var t=e[0],i=e[1],f=e[2];var a=r;var u=Mn(n,f);var o=Rn(t);O.ael(a,i,u,o);(n.J=n.J||[]).push((function(){return O.rel(a,i,u,o)}))}))}};var Mn=function(r,n){return function(e){var t;try{{if(r.l&256){(t=r.o)==null?void 0:t[n](e)}else{(r.W=r.W||[]).push([n,e])}}}catch(n){d(n,r.$hostElement$)}}};var Rn=function(r){return $?{passive:(r&1)!==0,capture:(r&2)!==0}:(r&2)!==0};var Tn=function(){function r(){}return r}();function Ln(){var r=[];for(var n=0;n<arguments.length;n++){r[n]=arguments[n]}return r.reduceRight((function(r,n){return n(r)}),Tn)}var Dn=r("s",(function(r){return O.C=r}));function Fn(r){return r}}}}));
@@ -0,0 +1 @@
1
+ System.register([],(function(e){"use strict";return{execute:function(){var r=e("K",{Enter:{key:"Enter"},Escape:{key:"Escape"},Space:{key:" "},ArrowUp:{key:"ArrowUp"},ArrowDown:{key:"ArrowDown"}})}}}));