@baloise/ds-core 19.7.1 → 19.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (507) hide show
  1. package/components/bal-accordion-trigger.js +7 -10
  2. package/components/bal-card-button.js +2 -1
  3. package/components/bal-date-calendar2.js +15 -15
  4. package/components/bal-date.js +2 -2
  5. package/components/bal-dropdown.js +12 -12
  6. package/components/bal-footer.js +29 -6
  7. package/components/bal-form-col.js +2 -2
  8. package/components/bal-form-grid.js +1 -1
  9. package/components/bal-form.js +1 -1
  10. package/components/bal-heading2.js +1 -1
  11. package/components/bal-hint-text2.js +1 -1
  12. package/components/bal-hint-title2.js +1 -1
  13. package/components/bal-hint2.js +2 -2
  14. package/components/bal-icon2.js +6 -16
  15. package/components/bal-input-date2.js +7 -7
  16. package/components/bal-input-group2.js +2 -2
  17. package/components/bal-input-slider.js +3 -3
  18. package/components/bal-input-stepper.js +1 -1
  19. package/components/bal-input.js +2 -2
  20. package/components/bal-label2.js +2 -2
  21. package/components/bal-list-item-content2.js +2 -2
  22. package/components/bal-list-item-icon2.js +2 -2
  23. package/components/bal-list-item-subtitle2.js +1 -1
  24. package/components/bal-list-item-title2.js +1 -1
  25. package/components/bal-list2.js +1 -1
  26. package/components/bal-modal-body.js +1 -1
  27. package/components/bal-modal-header.js +1 -1
  28. package/components/bal-modal.js +5 -5
  29. package/components/bal-nav-link-grid-col2.js +1 -1
  30. package/components/bal-nav-link-grid2.js +1 -1
  31. package/components/bal-nav-link-group.js +1 -1
  32. package/components/bal-nav-link2.js +2 -2
  33. package/components/bal-nav-menu-bar2.js +1 -1
  34. package/components/bal-nav-menu-flyout2.js +1 -1
  35. package/components/bal-nav-meta-bar2.js +2 -2
  36. package/components/bal-nav.js +3 -3
  37. package/components/bal-navbar-brand.js +5 -2
  38. package/components/bal-navbar-menu-end.js +1 -1
  39. package/components/bal-navbar-menu-start.js +1 -1
  40. package/components/bal-navbar-menu.js +1 -1
  41. package/components/bal-navbar.js +2 -2
  42. package/components/bal-notices.js +1 -1
  43. package/components/bal-notification.js +1 -1
  44. package/components/bal-number-input.js +1 -1
  45. package/components/bal-option-list.js +1 -1
  46. package/components/bal-option.js +1 -1
  47. package/components/bal-pagination.js +4 -4
  48. package/components/bal-popover-content2.js +1 -1
  49. package/components/bal-popup2.js +6 -3
  50. package/components/bal-progress-bar.js +1 -1
  51. package/components/bal-radio-icon2.js +2 -2
  52. package/components/bal-radio2.js +2 -2
  53. package/components/bal-segment-item.js +2 -2
  54. package/components/bal-segment.js +2 -2
  55. package/components/bal-select-option2.js +1 -1
  56. package/components/bal-select2.js +9 -6
  57. package/components/bal-shape2.js +5 -5
  58. package/components/bal-sheet.js +1 -1
  59. package/components/bal-snackbar.js +1 -1
  60. package/components/bal-spinner2.js +2 -2
  61. package/components/bal-stack2.js +1 -1
  62. package/components/bal-stage-back-link.js +2 -2
  63. package/components/bal-stage-body.js +1 -1
  64. package/components/bal-stage-foot.js +1 -1
  65. package/components/bal-stage-head.js +1 -1
  66. package/components/bal-stage-image.js +1 -1
  67. package/components/bal-stage.js +1 -1
  68. package/components/bal-step-item.js +2 -2
  69. package/components/bal-tab-item.js +2 -2
  70. package/components/bal-table.js +1 -1
  71. package/components/bal-tabs2.js +3 -3
  72. package/components/bal-tag-group.js +1 -1
  73. package/components/bal-tag2.js +1 -1
  74. package/components/bal-text.js +2 -2
  75. package/components/bal-textarea.js +5 -5
  76. package/components/bal-time-input.js +8 -8
  77. package/components/bal-toast.js +1 -1
  78. package/components/bal-tooltip.js +1 -1
  79. package/components/index.js +1 -1
  80. package/components/tokens.esm.js +1 -1
  81. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  82. package/dist/baloise-design-system/index.esm.js +1 -1
  83. package/dist/baloise-design-system/{p-6fb8b55de1.entry.js → p-0087cdfec1.entry.js} +1 -1
  84. package/dist/baloise-design-system/p-035438a0ac.system.entry.js +1 -0
  85. package/dist/baloise-design-system/p-0456c46a9e.system.entry.js +1 -0
  86. package/dist/baloise-design-system/{p-01ab1a5000.system.entry.js → p-052c55fb24.system.entry.js} +1 -1
  87. package/dist/baloise-design-system/p-06d829bb8c.entry.js +1 -0
  88. package/dist/baloise-design-system/p-0ba0743330.entry.js +1 -0
  89. package/dist/baloise-design-system/{p-869d70e136.system.entry.js → p-11864d0e94.system.entry.js} +1 -1
  90. package/dist/baloise-design-system/p-178f1cbb5e.system.entry.js +1 -0
  91. package/dist/baloise-design-system/{p-6e887e43a0.system.entry.js → p-17ad28c3c0.system.entry.js} +1 -1
  92. package/dist/baloise-design-system/{p-df38652aba.system.entry.js → p-1c527a5e62.system.entry.js} +1 -1
  93. package/dist/baloise-design-system/p-1de9f5ece5.system.entry.js +1 -0
  94. package/dist/baloise-design-system/{p-8d511d1654.system.entry.js → p-1e35b8b8e8.system.entry.js} +1 -1
  95. package/dist/baloise-design-system/p-232fa1f698.entry.js +1 -0
  96. package/dist/baloise-design-system/{p-7e55db7b6e.entry.js → p-23b48c0bda.entry.js} +1 -1
  97. package/dist/baloise-design-system/{p-32b3dbb32c.entry.js → p-31150f03b2.entry.js} +1 -1
  98. package/dist/baloise-design-system/{p-308cb9815f.system.entry.js → p-33712cf48e.system.entry.js} +1 -1
  99. package/dist/baloise-design-system/{p-70ef92120f.entry.js → p-35cb73e536.entry.js} +1 -1
  100. package/dist/baloise-design-system/{p-360fdc5731.system.entry.js → p-37aaece6f1.system.entry.js} +1 -1
  101. package/dist/baloise-design-system/{p-0354bfed55.entry.js → p-38930ed648.entry.js} +1 -1
  102. package/dist/baloise-design-system/{p-f925693f21.system.entry.js → p-39e9822b45.system.entry.js} +1 -1
  103. package/dist/baloise-design-system/{p-350307ce1e.entry.js → p-3b38ab8640.entry.js} +1 -1
  104. package/dist/baloise-design-system/p-3d12fd2ec7.entry.js +1 -0
  105. package/dist/baloise-design-system/{p-9085d07f5d.system.entry.js → p-41583e6135.system.entry.js} +1 -1
  106. package/dist/baloise-design-system/{p-52b2122fb1.system.entry.js → p-422922fb9d.system.entry.js} +1 -1
  107. package/dist/baloise-design-system/{p-70d6100fa9.system.entry.js → p-485b9d90a9.system.entry.js} +1 -1
  108. package/dist/baloise-design-system/{p-ac339a3c59.system.entry.js → p-4a75081223.system.entry.js} +1 -1
  109. package/dist/baloise-design-system/{p-57419515f9.system.entry.js → p-4c2c0f3ec3.system.entry.js} +1 -1
  110. package/dist/baloise-design-system/p-4e434a0d76.entry.js +1 -0
  111. package/dist/baloise-design-system/{p-52b0f703b9.entry.js → p-4fbf49f2a9.entry.js} +1 -1
  112. package/dist/baloise-design-system/p-4fd47019e3.entry.js +1 -0
  113. package/dist/baloise-design-system/{p-64360af679.system.entry.js → p-516b55ce12.system.entry.js} +1 -1
  114. package/dist/baloise-design-system/{p-90e4f39682.entry.js → p-56e7ced4dd.entry.js} +1 -1
  115. package/dist/baloise-design-system/{p-7b696852aa.system.entry.js → p-5b67e94074.system.entry.js} +1 -1
  116. package/dist/baloise-design-system/p-5f8634b062.entry.js +1 -0
  117. package/dist/baloise-design-system/p-5fb78d65e6.system.entry.js +1 -0
  118. package/dist/baloise-design-system/p-64d608517a.entry.js +1 -0
  119. package/dist/baloise-design-system/{p-edf6d78006.entry.js → p-664f74b097.entry.js} +1 -1
  120. package/dist/baloise-design-system/{p-70caa80588.entry.js → p-6997fa8906.entry.js} +1 -1
  121. package/dist/baloise-design-system/{p-20d582cadc.system.entry.js → p-69c0cb691c.system.entry.js} +1 -1
  122. package/dist/baloise-design-system/p-6cd2e5362b.entry.js +1 -0
  123. package/dist/baloise-design-system/{p-966e99de9f.system.entry.js → p-72394a2972.system.entry.js} +1 -1
  124. package/dist/baloise-design-system/{p-4791a2c8d4.entry.js → p-7823b13193.entry.js} +1 -1
  125. package/dist/baloise-design-system/p-7ac5cdc633.system.entry.js +1 -0
  126. package/dist/baloise-design-system/p-7f8803350f.entry.js +1 -0
  127. package/dist/baloise-design-system/{p-bcf057c613.system.entry.js → p-84bfe9d7a3.system.entry.js} +1 -1
  128. package/dist/baloise-design-system/p-85ccd1ea69.system.entry.js +1 -0
  129. package/dist/baloise-design-system/{p-05b826af8c.system.entry.js → p-8c7b0dfea2.system.entry.js} +1 -1
  130. package/dist/baloise-design-system/p-8ded15417f.system.entry.js +1 -0
  131. package/dist/baloise-design-system/{p-a6eb2c3315.entry.js → p-8e1ddbd79e.entry.js} +1 -1
  132. package/dist/baloise-design-system/p-9008c10871.entry.js +1 -0
  133. package/dist/baloise-design-system/p-91a0994350.system.entry.js +1 -0
  134. package/dist/baloise-design-system/p-92a5e9a4fa.entry.js +1 -0
  135. package/dist/baloise-design-system/p-955f452d7e.system.entry.js +1 -0
  136. package/dist/baloise-design-system/{p-3d51288d16.entry.js → p-9844053d4f.entry.js} +1 -1
  137. package/dist/baloise-design-system/{p-668c8e53e0.system.entry.js → p-9876082d1d.system.entry.js} +1 -1
  138. package/dist/baloise-design-system/p-9ce29e3b46.system.entry.js +1 -0
  139. package/dist/baloise-design-system/p-9d6f2e7465.entry.js +1 -0
  140. package/dist/baloise-design-system/{p-B8eFCtVU.js → p-ATpaffG2.js} +1 -1
  141. package/dist/baloise-design-system/p-B9GXle5V.js +1 -0
  142. package/dist/baloise-design-system/p-BD2o1F4P.js +1 -1
  143. package/dist/baloise-design-system/p-BPQ6sr9R.js +1 -0
  144. package/dist/baloise-design-system/{p-yY6Hy408.js → p-BRtGrfBl.js} +1 -1
  145. package/dist/baloise-design-system/p-Bv6lV8bS.system.js +1 -1
  146. package/dist/baloise-design-system/p-CBMgyOmf.system.js +1 -1
  147. package/dist/baloise-design-system/{p-4YlvzDqi.system.js → p-CfGmccbO.system.js} +1 -1
  148. package/dist/baloise-design-system/{p-C5Ky9HOZ.system.js → p-Cxq4J7Yu.system.js} +1 -1
  149. package/dist/baloise-design-system/{p-B2LhbhnE.system.js → p-D8hNfBgq.system.js} +1 -1
  150. package/dist/baloise-design-system/{p-Disz9cyI.system.js → p-DMYflQVU.system.js} +1 -1
  151. package/dist/baloise-design-system/p-a12223957d.entry.js +1 -0
  152. package/dist/baloise-design-system/{p-bac3c34bd1.system.entry.js → p-a3a0018651.system.entry.js} +1 -1
  153. package/dist/baloise-design-system/{p-75bb215be6.entry.js → p-a76e4a486c.entry.js} +1 -1
  154. package/dist/baloise-design-system/{p-c3a82cbdda.entry.js → p-a93139e2b2.entry.js} +1 -1
  155. package/dist/baloise-design-system/p-a99cb6029f.system.entry.js +1 -0
  156. package/dist/baloise-design-system/p-a9ee113146.entry.js +1 -0
  157. package/dist/baloise-design-system/p-aa48246c20.entry.js +1 -0
  158. package/dist/baloise-design-system/{p-9492e0dca1.entry.js → p-ab8b9230bd.entry.js} +1 -1
  159. package/dist/baloise-design-system/p-ae3a61511b.entry.js +1 -0
  160. package/dist/baloise-design-system/p-b017fcbecd.entry.js +1 -0
  161. package/dist/baloise-design-system/{p-e898994c66.entry.js → p-b3c74809a0.entry.js} +1 -1
  162. package/dist/baloise-design-system/{p-31e222afb7.entry.js → p-b595d60939.entry.js} +1 -1
  163. package/dist/baloise-design-system/p-b6602c3564.system.entry.js +1 -0
  164. package/dist/baloise-design-system/{p-01fbcdedb3.system.entry.js → p-b786333f7e.system.entry.js} +1 -1
  165. package/dist/baloise-design-system/{p-bd9b148535.system.entry.js → p-bcc029d0f4.system.entry.js} +1 -1
  166. package/dist/baloise-design-system/p-bfedb6ebae.system.entry.js +1 -0
  167. package/dist/baloise-design-system/{p-edd39efcff.system.entry.js → p-c3e044040a.system.entry.js} +1 -1
  168. package/dist/baloise-design-system/{p-09b2322809.entry.js → p-c4d011d573.entry.js} +1 -1
  169. package/dist/baloise-design-system/p-c51af450ee.entry.js +1 -0
  170. package/dist/baloise-design-system/{p-2075e25ac0.entry.js → p-c7cf430436.entry.js} +1 -1
  171. package/dist/baloise-design-system/{p-0488425e9b.entry.js → p-cf6b3e0039.entry.js} +1 -1
  172. package/dist/baloise-design-system/p-d499922ef7.system.entry.js +1 -0
  173. package/dist/baloise-design-system/p-d73e3f5c8a.system.entry.js +1 -0
  174. package/dist/baloise-design-system/{p-7bb5c09e8c.system.entry.js → p-ddb8e3d8b9.system.entry.js} +1 -1
  175. package/dist/baloise-design-system/{p-f83b4365db.system.entry.js → p-def6b8b910.system.entry.js} +1 -1
  176. package/dist/baloise-design-system/p-e0e278a371.entry.js +1 -0
  177. package/dist/baloise-design-system/{p-f047adf3e0.system.entry.js → p-e2ddde1ed7.system.entry.js} +1 -1
  178. package/dist/baloise-design-system/{p-977dbb603e.entry.js → p-e2e2e8ad72.entry.js} +1 -1
  179. package/dist/baloise-design-system/{p-5569c300b8.system.entry.js → p-e75b0c9b8b.system.entry.js} +1 -1
  180. package/dist/baloise-design-system/{p-f5272a9f51.system.entry.js → p-e75bb970cd.system.entry.js} +1 -1
  181. package/dist/baloise-design-system/p-ed86c65b59.entry.js +1 -0
  182. package/dist/baloise-design-system/p-f0fa54372a.system.entry.js +1 -0
  183. package/dist/baloise-design-system/p-f21f6bfec0.entry.js +1 -0
  184. package/dist/baloise-design-system/{p-00ed674d2f.entry.js → p-f5b21b8f34.entry.js} +1 -1
  185. package/dist/baloise-design-system/{p-f6d3510be9.entry.js → p-f6b61e01ca.entry.js} +1 -1
  186. package/dist/baloise-design-system/{p-84d7a3b37e.entry.js → p-fcf6c2e7cd.entry.js} +1 -1
  187. package/dist/baloise-design-system/{p-ad5738d1a6.system.entry.js → p-fef06defc9.system.entry.js} +1 -1
  188. package/dist/baloise-design-system/{p-CPc0ltVu.system.js → p-zBEUMikg.system.js} +1 -1
  189. package/dist/cjs/bal-accordion_4.cjs.entry.js +7 -8
  190. package/dist/cjs/bal-card_6.cjs.entry.js +1 -1
  191. package/dist/cjs/bal-carousel_2.cjs.entry.js +4 -4
  192. package/dist/cjs/bal-date-calendar_2.cjs.entry.js +20 -20
  193. package/dist/cjs/bal-date.cjs.entry.js +2 -2
  194. package/dist/cjs/bal-dropdown.cjs.entry.js +8 -8
  195. package/dist/cjs/bal-field_5.cjs.entry.js +4 -4
  196. package/dist/cjs/bal-footer.cjs.entry.js +23 -5
  197. package/dist/cjs/bal-form-col_2.cjs.entry.js +3 -3
  198. package/dist/cjs/bal-form.cjs.entry.js +1 -1
  199. package/dist/cjs/bal-heading_2.cjs.entry.js +3 -3
  200. package/dist/cjs/bal-hint_5.cjs.entry.js +8 -8
  201. package/dist/cjs/bal-icon.cjs.entry.js +6 -13
  202. package/dist/cjs/bal-input-group.cjs.entry.js +2 -2
  203. package/dist/cjs/bal-input-slider.cjs.entry.js +3 -3
  204. package/dist/cjs/bal-input-stepper.cjs.entry.js +1 -1
  205. package/dist/cjs/bal-input.cjs.entry.js +2 -2
  206. package/dist/cjs/bal-label.cjs.entry.js +2 -2
  207. package/dist/cjs/bal-list_8.cjs.entry.js +11 -11
  208. package/dist/cjs/bal-logo.cjs.entry.js +3 -3
  209. package/dist/cjs/bal-modal_3.cjs.entry.js +7 -7
  210. package/dist/cjs/bal-nav_8.cjs.entry.js +16 -16
  211. package/dist/cjs/bal-navbar_5.cjs.entry.js +13 -10
  212. package/dist/cjs/bal-notices_3.cjs.entry.js +3 -3
  213. package/dist/cjs/bal-notification.cjs.entry.js +1 -1
  214. package/dist/cjs/bal-number-input.cjs.entry.js +1 -1
  215. package/dist/cjs/bal-option_2.cjs.entry.js +2 -2
  216. package/dist/cjs/bal-pagination.cjs.entry.js +7 -7
  217. package/dist/cjs/bal-popup.cjs.entry.js +5 -2
  218. package/dist/cjs/bal-progress-bar.cjs.entry.js +6 -6
  219. package/dist/cjs/bal-radio-icon.cjs.entry.js +2 -2
  220. package/dist/cjs/bal-radio_2.cjs.entry.js +2 -2
  221. package/dist/cjs/bal-segment_2.cjs.entry.js +9 -9
  222. package/dist/cjs/bal-select_2.cjs.entry.js +10 -7
  223. package/dist/cjs/bal-shape.cjs.entry.js +5 -5
  224. package/dist/cjs/bal-sheet.cjs.entry.js +1 -1
  225. package/dist/cjs/bal-spinner.cjs.entry.js +2 -2
  226. package/dist/cjs/bal-stack.cjs.entry.js +1 -1
  227. package/dist/cjs/bal-stage_6.cjs.entry.js +7 -7
  228. package/dist/cjs/bal-step-item.cjs.entry.js +2 -2
  229. package/dist/cjs/bal-steps.cjs.entry.js +3 -3
  230. package/dist/cjs/bal-tab-item_2.cjs.entry.js +9 -9
  231. package/dist/cjs/bal-table.cjs.entry.js +1 -1
  232. package/dist/cjs/bal-tag_2.cjs.entry.js +2 -2
  233. package/dist/cjs/bal-textarea.cjs.entry.js +4 -4
  234. package/dist/cjs/bal-time-input.cjs.entry.js +7 -7
  235. package/dist/cjs/bal-tooltip.cjs.entry.js +1 -1
  236. package/dist/cjs/baloise-design-system.cjs.js +1 -1
  237. package/dist/cjs/{breakpoints.decorator-D5xcljb0.js → breakpoints.decorator-CsgYjV5e.js} +1 -1
  238. package/dist/cjs/{breakpoints.subject-Cezf6Hiu.js → breakpoints.subject-Bd3caIq4.js} +1 -1
  239. package/dist/cjs/index-CP3lGz14.js +1 -1
  240. package/dist/cjs/index.cjs.js +3 -3
  241. package/dist/cjs/loader.cjs.js +1 -1
  242. package/dist/cjs/{tokens.esm-DM_5VKOq.js → tokens.esm-BUAnNwkp.js} +1 -1
  243. package/dist/cjs/{window-resize.decorator-BWgUlK-I.js → window-resize.decorator-2VNvD-G7.js} +1 -1
  244. package/dist/cjs/{window-resize.subject-C4q-vmkp.js → window-resize.subject-CCky_Gjs.js} +1 -1
  245. package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.js +7 -11
  246. package/dist/collection/components/bal-card/bal-card-button/bal-card-button.js +21 -2
  247. package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.css +1 -1
  248. package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.js +7 -7
  249. package/dist/collection/components/bal-date/bal-date.js +2 -2
  250. package/dist/collection/components/bal-dropdown/bal-dropdown.css +1 -1
  251. package/dist/collection/components/bal-dropdown/bal-dropdown.js +10 -10
  252. package/dist/collection/components/bal-footer/bal-footer.css +1 -1
  253. package/dist/collection/components/bal-footer/bal-footer.js +68 -6
  254. package/dist/collection/components/bal-form/bal-form.js +1 -1
  255. package/dist/collection/components/bal-form-grid/bal-form-col/bal-form-col.js +2 -2
  256. package/dist/collection/components/bal-form-grid/bal-form-grid.js +1 -1
  257. package/dist/collection/components/bal-heading/bal-heading.js +1 -1
  258. package/dist/collection/components/bal-hint/bal-hint-text/bal-hint-text.js +1 -1
  259. package/dist/collection/components/bal-hint/bal-hint-title/bal-hint-title.js +1 -1
  260. package/dist/collection/components/bal-hint/bal-hint.css +1 -1
  261. package/dist/collection/components/bal-hint/bal-hint.js +1 -1
  262. package/dist/collection/components/bal-icon/bal-icon.css +1 -1
  263. package/dist/collection/components/bal-icon/bal-icon.js +7 -19
  264. package/dist/collection/components/bal-input/bal-input-date/bal-input-date.js +9 -9
  265. package/dist/collection/components/bal-input/bal-input.js +2 -2
  266. package/dist/collection/components/bal-input-group/bal-input-group.css +1 -1
  267. package/dist/collection/components/bal-input-group/bal-input-group.js +1 -1
  268. package/dist/collection/components/bal-input-slider/bal-input-slider.js +3 -3
  269. package/dist/collection/components/bal-input-stepper/bal-input-stepper.js +1 -1
  270. package/dist/collection/components/bal-label/bal-label.css +1 -1
  271. package/dist/collection/components/bal-label/bal-label.js +1 -1
  272. package/dist/collection/components/bal-list/bal-list-item-content/bal-list-item-content.js +2 -2
  273. package/dist/collection/components/bal-list/bal-list-item-icon/bal-list-item-icon.js +2 -2
  274. package/dist/collection/components/bal-list/bal-list-item-subtitle/bal-list-item-subtitle.js +1 -1
  275. package/dist/collection/components/bal-list/bal-list-item-title/bal-list-item-title.js +1 -1
  276. package/dist/collection/components/bal-list/bal-list.js +1 -1
  277. package/dist/collection/components/bal-modal/bal-modal-body/bal-modal-body.js +1 -1
  278. package/dist/collection/components/bal-modal/bal-modal-header/bal-modal-header.js +1 -1
  279. package/dist/collection/components/bal-modal/bal-modal.js +5 -5
  280. package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.js +2 -2
  281. package/dist/collection/components/bal-nav/bal-nav-link-grid/bal-nav-link-grid.js +1 -1
  282. package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.js +1 -1
  283. package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.js +1 -1
  284. package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.js +1 -1
  285. package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +1 -1
  286. package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.css +1 -1
  287. package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.js +1 -1
  288. package/dist/collection/components/bal-nav/bal-nav.css +1 -1
  289. package/dist/collection/components/bal-nav/bal-nav.js +2 -2
  290. package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.js +5 -2
  291. package/dist/collection/components/bal-navbar/bal-navbar-menu/bal-navbar-menu.js +1 -1
  292. package/dist/collection/components/bal-navbar/bal-navbar-menu-end/bal-navbar-menu-end.js +1 -1
  293. package/dist/collection/components/bal-navbar/bal-navbar-menu-start/bal-navbar-menu-start.js +1 -1
  294. package/dist/collection/components/bal-navbar/bal-navbar.css +1 -1
  295. package/dist/collection/components/bal-navbar/bal-navbar.js +1 -1
  296. package/dist/collection/components/bal-notices/bal-notices.js +1 -1
  297. package/dist/collection/components/bal-notification/bal-notification.js +1 -1
  298. package/dist/collection/components/bal-number-input/bal-number-input.js +1 -1
  299. package/dist/collection/components/bal-option/bal-option.js +1 -1
  300. package/dist/collection/components/bal-option-list/bal-option-list.js +1 -1
  301. package/dist/collection/components/bal-pagination/bal-pagination.js +4 -4
  302. package/dist/collection/components/bal-popover/bal-popover-content/bal-popover-content.js +1 -1
  303. package/dist/collection/components/bal-popup/bal-popup.js +6 -3
  304. package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +1 -1
  305. package/dist/collection/components/bal-radio/bal-radio-icon/bal-radio-icon.css +1 -1
  306. package/dist/collection/components/bal-radio/bal-radio-icon/bal-radio-icon.js +1 -1
  307. package/dist/collection/components/bal-radio/bal-radio.js +2 -2
  308. package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.css +1 -1
  309. package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +1 -1
  310. package/dist/collection/components/bal-segment/bal-segment.css +1 -1
  311. package/dist/collection/components/bal-segment/bal-segment.js +1 -1
  312. package/dist/collection/components/bal-select/bal-select-option/bal-select-option.js +1 -1
  313. package/dist/collection/components/bal-select/bal-select.css +1 -1
  314. package/dist/collection/components/bal-select/bal-select.js +8 -5
  315. package/dist/collection/components/bal-shape/bal-shape.js +5 -5
  316. package/dist/collection/components/bal-sheet/bal-sheet.js +1 -1
  317. package/dist/collection/components/bal-snackbar/bal-snackbar.js +1 -1
  318. package/dist/collection/components/bal-spinner/bal-spinner.css +1 -1
  319. package/dist/collection/components/bal-spinner/bal-spinner.js +1 -1
  320. package/dist/collection/components/bal-stack/bal-stack.js +1 -1
  321. package/dist/collection/components/bal-stage/bal-stage-back-link/bal-stage-back-link.js +2 -2
  322. package/dist/collection/components/bal-stage/bal-stage-body/bal-stage-body.js +1 -1
  323. package/dist/collection/components/bal-stage/bal-stage-foot/bal-stage-foot.js +1 -1
  324. package/dist/collection/components/bal-stage/bal-stage-head/bal-stage-head.js +1 -1
  325. package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +1 -1
  326. package/dist/collection/components/bal-stage/bal-stage.js +1 -1
  327. package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +2 -2
  328. package/dist/collection/components/bal-table/bal-table.js +1 -1
  329. package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +2 -2
  330. package/dist/collection/components/bal-tabs/bal-tabs.css +1 -1
  331. package/dist/collection/components/bal-tabs/bal-tabs.js +2 -2
  332. package/dist/collection/components/bal-tag/bal-tag-group/bal-tag-group.js +1 -1
  333. package/dist/collection/components/bal-tag/bal-tag.js +1 -1
  334. package/dist/collection/components/bal-text/bal-text.js +2 -2
  335. package/dist/collection/components/bal-textarea/bal-textarea.js +5 -5
  336. package/dist/collection/components/bal-time-input/bal-time-input.js +9 -9
  337. package/dist/collection/components/bal-toast/bal-toast.js +1 -1
  338. package/dist/collection/components/bal-tooltip/bal-tooltip.js +1 -1
  339. package/dist/collection/utils/constants/version.constant.js +1 -1
  340. package/dist/esm/bal-accordion_4.entry.js +7 -8
  341. package/dist/esm/bal-card_6.entry.js +1 -1
  342. package/dist/esm/bal-carousel_2.entry.js +4 -4
  343. package/dist/esm/bal-date-calendar_2.entry.js +20 -20
  344. package/dist/esm/bal-date.entry.js +2 -2
  345. package/dist/esm/bal-dropdown.entry.js +8 -8
  346. package/dist/esm/bal-field_5.entry.js +4 -4
  347. package/dist/esm/bal-footer.entry.js +23 -5
  348. package/dist/esm/bal-form-col_2.entry.js +3 -3
  349. package/dist/esm/bal-form.entry.js +1 -1
  350. package/dist/esm/bal-heading_2.entry.js +3 -3
  351. package/dist/esm/bal-hint_5.entry.js +8 -8
  352. package/dist/esm/bal-icon.entry.js +6 -13
  353. package/dist/esm/bal-input-group.entry.js +2 -2
  354. package/dist/esm/bal-input-slider.entry.js +3 -3
  355. package/dist/esm/bal-input-stepper.entry.js +1 -1
  356. package/dist/esm/bal-input.entry.js +2 -2
  357. package/dist/esm/bal-label.entry.js +2 -2
  358. package/dist/esm/bal-list_8.entry.js +11 -11
  359. package/dist/esm/bal-logo.entry.js +3 -3
  360. package/dist/esm/bal-modal_3.entry.js +7 -7
  361. package/dist/esm/bal-nav_8.entry.js +16 -16
  362. package/dist/esm/bal-navbar_5.entry.js +13 -10
  363. package/dist/esm/bal-notices_3.entry.js +3 -3
  364. package/dist/esm/bal-notification.entry.js +1 -1
  365. package/dist/esm/bal-number-input.entry.js +1 -1
  366. package/dist/esm/bal-option_2.entry.js +2 -2
  367. package/dist/esm/bal-pagination.entry.js +7 -7
  368. package/dist/esm/bal-popup.entry.js +6 -3
  369. package/dist/esm/bal-progress-bar.entry.js +6 -6
  370. package/dist/esm/bal-radio-icon.entry.js +2 -2
  371. package/dist/esm/bal-radio_2.entry.js +2 -2
  372. package/dist/esm/bal-segment_2.entry.js +9 -9
  373. package/dist/esm/bal-select_2.entry.js +10 -7
  374. package/dist/esm/bal-shape.entry.js +5 -5
  375. package/dist/esm/bal-sheet.entry.js +1 -1
  376. package/dist/esm/bal-spinner.entry.js +2 -2
  377. package/dist/esm/bal-stack.entry.js +1 -1
  378. package/dist/esm/bal-stage_6.entry.js +7 -7
  379. package/dist/esm/bal-step-item.entry.js +2 -2
  380. package/dist/esm/bal-steps.entry.js +3 -3
  381. package/dist/esm/bal-tab-item_2.entry.js +9 -9
  382. package/dist/esm/bal-table.entry.js +1 -1
  383. package/dist/esm/bal-tag_2.entry.js +2 -2
  384. package/dist/esm/bal-textarea.entry.js +4 -4
  385. package/dist/esm/bal-time-input.entry.js +7 -7
  386. package/dist/esm/bal-tooltip.entry.js +1 -1
  387. package/dist/esm/baloise-design-system.js +1 -1
  388. package/dist/esm/{breakpoints.decorator-DZB3DqTp.js → breakpoints.decorator-ZB0xLyh9.js} +1 -1
  389. package/dist/esm/{breakpoints.subject-CgzyyJ6D.js → breakpoints.subject-wNA_Q1j5.js} +1 -1
  390. package/dist/esm/index-BD2o1F4P.js +1 -1
  391. package/dist/esm/index.js +4 -4
  392. package/dist/esm/loader.js +1 -1
  393. package/dist/esm/{tokens.esm-Cwq70vCB.js → tokens.esm-C7ySnb0w.js} +1 -1
  394. package/dist/esm/{window-resize.decorator-CF9BUTSV.js → window-resize.decorator-Dtb8gxAo.js} +1 -1
  395. package/dist/esm/{window-resize.subject-D4xsuguN.js → window-resize.subject-VS51emX-.js} +1 -1
  396. package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
  397. package/dist/esm-es5/bal-card_6.entry.js +1 -1
  398. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  399. package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
  400. package/dist/esm-es5/bal-date.entry.js +1 -1
  401. package/dist/esm-es5/bal-dropdown.entry.js +1 -1
  402. package/dist/esm-es5/bal-field_5.entry.js +1 -1
  403. package/dist/esm-es5/bal-footer.entry.js +1 -1
  404. package/dist/esm-es5/bal-form-col_2.entry.js +1 -1
  405. package/dist/esm-es5/bal-form.entry.js +1 -1
  406. package/dist/esm-es5/bal-heading_2.entry.js +1 -1
  407. package/dist/esm-es5/bal-hint_5.entry.js +1 -1
  408. package/dist/esm-es5/bal-icon.entry.js +1 -1
  409. package/dist/esm-es5/bal-input-group.entry.js +1 -1
  410. package/dist/esm-es5/bal-input-slider.entry.js +1 -1
  411. package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
  412. package/dist/esm-es5/bal-input.entry.js +1 -1
  413. package/dist/esm-es5/bal-label.entry.js +1 -1
  414. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  415. package/dist/esm-es5/bal-logo.entry.js +1 -1
  416. package/dist/esm-es5/bal-modal_3.entry.js +1 -1
  417. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  418. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  419. package/dist/esm-es5/bal-notices_3.entry.js +1 -1
  420. package/dist/esm-es5/bal-notification.entry.js +1 -1
  421. package/dist/esm-es5/bal-number-input.entry.js +1 -1
  422. package/dist/esm-es5/bal-option_2.entry.js +1 -1
  423. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  424. package/dist/esm-es5/bal-popup.entry.js +1 -1
  425. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  426. package/dist/esm-es5/bal-radio-icon.entry.js +1 -1
  427. package/dist/esm-es5/bal-radio_2.entry.js +1 -1
  428. package/dist/esm-es5/bal-segment_2.entry.js +1 -1
  429. package/dist/esm-es5/bal-select_2.entry.js +1 -1
  430. package/dist/esm-es5/bal-shape.entry.js +1 -1
  431. package/dist/esm-es5/bal-sheet.entry.js +1 -1
  432. package/dist/esm-es5/bal-spinner.entry.js +1 -1
  433. package/dist/esm-es5/bal-stack.entry.js +1 -1
  434. package/dist/esm-es5/bal-stage_6.entry.js +1 -1
  435. package/dist/esm-es5/bal-step-item.entry.js +1 -1
  436. package/dist/esm-es5/bal-steps.entry.js +1 -1
  437. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  438. package/dist/esm-es5/bal-table.entry.js +1 -1
  439. package/dist/esm-es5/bal-tag_2.entry.js +1 -1
  440. package/dist/esm-es5/bal-textarea.entry.js +1 -1
  441. package/dist/esm-es5/bal-time-input.entry.js +1 -1
  442. package/dist/esm-es5/bal-tooltip.entry.js +1 -1
  443. package/dist/esm-es5/baloise-design-system.js +1 -1
  444. package/dist/esm-es5/{breakpoints.decorator-DZB3DqTp.js → breakpoints.decorator-ZB0xLyh9.js} +1 -1
  445. package/dist/esm-es5/{breakpoints.subject-CgzyyJ6D.js → breakpoints.subject-wNA_Q1j5.js} +1 -1
  446. package/dist/esm-es5/index-BD2o1F4P.js +1 -1
  447. package/dist/esm-es5/index.js +1 -1
  448. package/dist/esm-es5/loader.js +1 -1
  449. package/dist/esm-es5/{window-resize.decorator-CF9BUTSV.js → window-resize.decorator-Dtb8gxAo.js} +1 -1
  450. package/dist/esm-es5/{window-resize.subject-D4xsuguN.js → window-resize.subject-VS51emX-.js} +1 -1
  451. package/dist/html.html-data.json +12 -0
  452. package/dist/types/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.d.ts +1 -1
  453. package/dist/types/components/bal-card/bal-card-button/bal-card-button.d.ts +5 -0
  454. package/dist/types/components/bal-date/bal-date-calendar/bal-date-calendar.d.ts +2 -2
  455. package/dist/types/components/bal-dropdown/bal-dropdown.d.ts +2 -2
  456. package/dist/types/components/bal-footer/bal-footer.d.ts +10 -0
  457. package/dist/types/components/bal-icon/bal-icon.d.ts +2 -3
  458. package/dist/types/components/bal-input/bal-input-date/bal-input-date.d.ts +1 -1
  459. package/dist/types/components/bal-select/bal-select.d.ts +1 -0
  460. package/dist/types/components/bal-textarea/bal-textarea.d.ts +2 -2
  461. package/dist/types/components/bal-time-input/bal-time-input.d.ts +1 -1
  462. package/dist/types/components.d.ts +32 -4
  463. package/package.json +6 -6
  464. package/dist/baloise-design-system/p-062f9b7d1b.system.entry.js +0 -1
  465. package/dist/baloise-design-system/p-0a62eece4d.entry.js +0 -1
  466. package/dist/baloise-design-system/p-0d45e95d23.system.entry.js +0 -1
  467. package/dist/baloise-design-system/p-0e481fe7d4.system.entry.js +0 -1
  468. package/dist/baloise-design-system/p-16ce0309f9.system.entry.js +0 -1
  469. package/dist/baloise-design-system/p-182b4448fe.system.entry.js +0 -1
  470. package/dist/baloise-design-system/p-1ea827c452.entry.js +0 -1
  471. package/dist/baloise-design-system/p-3c6b80c8f4.entry.js +0 -1
  472. package/dist/baloise-design-system/p-3eb8f9b59c.system.entry.js +0 -1
  473. package/dist/baloise-design-system/p-447fde2f2e.system.entry.js +0 -1
  474. package/dist/baloise-design-system/p-4b80674690.entry.js +0 -1
  475. package/dist/baloise-design-system/p-5278e4648a.entry.js +0 -1
  476. package/dist/baloise-design-system/p-54d1c3b1da.system.entry.js +0 -1
  477. package/dist/baloise-design-system/p-559068e5e6.entry.js +0 -1
  478. package/dist/baloise-design-system/p-5d78b83b36.system.entry.js +0 -1
  479. package/dist/baloise-design-system/p-612853c5a7.entry.js +0 -1
  480. package/dist/baloise-design-system/p-63f2c804e0.system.entry.js +0 -1
  481. package/dist/baloise-design-system/p-6773a914f7.system.entry.js +0 -1
  482. package/dist/baloise-design-system/p-6fb00448b4.system.entry.js +0 -1
  483. package/dist/baloise-design-system/p-70d24d49ed.entry.js +0 -1
  484. package/dist/baloise-design-system/p-7d20c5f711.entry.js +0 -1
  485. package/dist/baloise-design-system/p-919078b4b1.entry.js +0 -1
  486. package/dist/baloise-design-system/p-919fda7c0a.entry.js +0 -1
  487. package/dist/baloise-design-system/p-95e21932f3.entry.js +0 -1
  488. package/dist/baloise-design-system/p-9f45629676.entry.js +0 -1
  489. package/dist/baloise-design-system/p-Brs9KktE.js +0 -1
  490. package/dist/baloise-design-system/p-C9I17aVx.js +0 -1
  491. package/dist/baloise-design-system/p-a15a105c8e.system.entry.js +0 -1
  492. package/dist/baloise-design-system/p-adb3116d7f.entry.js +0 -1
  493. package/dist/baloise-design-system/p-b4edd5c110.system.entry.js +0 -1
  494. package/dist/baloise-design-system/p-ba0d875a3e.system.entry.js +0 -1
  495. package/dist/baloise-design-system/p-bc03055623.entry.js +0 -1
  496. package/dist/baloise-design-system/p-c590854e30.entry.js +0 -1
  497. package/dist/baloise-design-system/p-c789ef0970.system.entry.js +0 -1
  498. package/dist/baloise-design-system/p-ce7eb9d248.entry.js +0 -1
  499. package/dist/baloise-design-system/p-ed3b831e74.system.entry.js +0 -1
  500. package/dist/baloise-design-system/p-ed4be8a103.entry.js +0 -1
  501. package/dist/baloise-design-system/p-f092b0e275.entry.js +0 -1
  502. package/dist/baloise-design-system/p-f0b679a34f.entry.js +0 -1
  503. package/dist/baloise-design-system/p-f151d61751.entry.js +0 -1
  504. package/dist/baloise-design-system/p-f851ad22fc.entry.js +0 -1
  505. /package/dist/baloise-design-system/{p-Cwq70vCB.js → p-C7ySnb0w.js} +0 -0
  506. /package/dist/baloise-design-system/{p--7rLOIFd.system.js → p-CV9t6g9O.system.js} +0 -0
  507. /package/dist/esm-es5/{tokens.esm-Cwq70vCB.js → tokens.esm-C7ySnb0w.js} +0 -0
@@ -1,2 +1,2 @@
1
- var __extends=this&&this.__extends||function(){var r=function(e,n){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,e){r.__proto__=e}||function(r,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))r[n]=e[n]};return r(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var e,n=1,t=arguments.length;n<t;n++){e=arguments[n];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))r[i]=e[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,e,n,t){function i(r){return r instanceof n?r:new n((function(e){e(r)}))}return new(n||(n=Promise))((function(n,a){function o(r){try{f(t.next(r))}catch(r){a(r)}}function u(r){try{f(t["throw"](r))}catch(r){a(r)}}function f(r){r.done?n(r.value):i(r.value).then(o,u)}f((t=t.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(r){return function(e){return f([r,e])}}function f(u){if(t)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(n=0)),n)try{if(t=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=e.call(r,n)}catch(r){u=[6,r];i=0}finally{t=a=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,e,n){if(n||arguments.length===2)for(var t=0,i=e.length,a;t<i;t++){if(a||!(t in e)){if(!a)a=Array.prototype.slice.call(e,0,t);a[t]=e[t]}}return r.concat(a||Array.prototype.slice.call(e))};System.register([],(function(r,e){"use strict";return{execute:function(){var n=this;r("L",D);var t="baloise-design-system";var i={hydratedSelectorName:"hydrated",lazyLoad:true,slotRelocation:true,updatable:true};var a=["bal-accordion","bal-accordion-details","bal-accordion-summary","bal-accordion-trigger","bal-app","bal-badge","bal-button","bal-button-group","bal-card","bal-card-actions","bal-card-button","bal-card-content","bal-card-subtitle","bal-card-title","bal-carousel","bal-carousel-item","bal-check","bal-checkbox","bal-checkbox-group","bal-close","bal-content","bal-data","bal-data-item","bal-data-label","bal-data-value","bal-date","bal-date-calendar","bal-date-calendar-cell","bal-divider","bal-dropdown","bal-field","bal-field-control","bal-field-hint","bal-field-label","bal-field-message","bal-file-upload","bal-footer","bal-form","bal-form-col","bal-form-grid","bal-heading","bal-hint","bal-hint-text","bal-hint-title","bal-icon","bal-input","bal-input-date","bal-input-group","bal-input-slider","bal-input-stepper","bal-label","bal-list","bal-list-item","bal-list-item-accordion-body","bal-list-item-accordion-head","bal-list-item-content","bal-list-item-icon","bal-list-item-subtitle","bal-list-item-title","bal-logo","bal-modal","bal-modal-body","bal-modal-header","bal-nav","bal-nav-link","bal-nav-link-grid","bal-nav-link-grid-col","bal-nav-link-group","bal-nav-menu-bar","bal-nav-menu-flyout","bal-nav-meta-bar","bal-navbar","bal-navbar-brand","bal-navbar-menu","bal-navbar-menu-end","bal-navbar-menu-start","bal-notices","bal-notification","bal-number-input","bal-option","bal-option-list","bal-pagination","bal-popover","bal-popover-content","bal-popup","bal-progress-bar","bal-radio","bal-radio-group","bal-radio-icon","bal-segment","bal-segment-item","bal-select","bal-select-option","bal-shape","bal-sheet","bal-snackbar","bal-spinner","bal-stack","bal-stage","bal-stage-back-link","bal-stage-body","bal-stage-foot","bal-stage-head","bal-stage-image","bal-step-item","bal-steps","bal-switch","bal-tab-item","bal-table","bal-tabs","bal-tag","bal-tag-group","bal-text","bal-textarea","bal-time-input","bal-toast","bal-tooltip"];var o=function(){function r(){}Object.defineProperty(r.prototype,"width",{get:function(){if(f.hasWindow){return window.innerWidth}return 0},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"height",{get:function(){if(f.hasWindow){return window.innerHeight}return 0},enumerable:false,configurable:true});return r}();var u=function(){function r(){this.window=new o}Object.defineProperty(r.prototype,"isSafari",{get:function(){return/^((?!chrome|android).)*safari/i.test(this.userAgent)},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"hasWindow",{get:function(){return typeof window!=="undefined"},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"hasNavigator",{get:function(){return typeof navigator!=="undefined"},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"hasDocument",{get:function(){return typeof document!=="undefined"},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"userAgent",{get:function(){var r;if(this.hasWindow&&this.hasNavigator){return(r=navigator.userAgent)!==null&&r!==void 0?r:""}return""},enumerable:false,configurable:true});return r}();var f=r("a",new u);var l="baloise-animated";var s='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 4C0 2.61929 1.11929 1.5 2.5 1.5H11.5C12.8807 1.5 14 2.61929 14 4V10C14 11.3807 12.8807 12.5 11.5 12.5H2.5C1.11929 12.5 0 11.3807 0 10V4ZM5.30998 5.11998V9.31998C5.30935 9.3905 5.32737 9.45993 5.36222 9.52124C5.39707 9.58255 5.4475 9.63356 5.50842 9.66909C5.56933 9.70462 5.63856 9.72342 5.70908 9.72358C5.7796 9.72374 5.84891 9.70524 5.90998 9.66998L9.50998 7.56998C9.57013 7.53469 9.62001 7.48428 9.65467 7.42377C9.68933 7.36325 9.70756 7.29472 9.70756 7.22498C9.70756 7.15524 9.68933 7.08671 9.65467 7.0262C9.62001 6.96568 9.57013 6.91527 9.50998 6.87998L5.90998 4.77998C5.85023 4.74175 5.78117 4.72055 5.71026 4.71865C5.63935 4.71675 5.56926 4.73422 5.50754 4.7692C5.44582 4.80417 5.39481 4.85532 5.36 4.91713C5.32519 4.97894 5.3079 5.04907 5.30998 5.11998Z" clip-rule="evenodd"/></svg>';var v='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M13.0056 0C13.385 0 13.6262 0.406033 13.4447 0.739215L9.3722 8.21397C9.28942 8.3659 9.29108 8.54984 9.37658 8.70026L11.9644 13.2529C12.1539 13.5862 11.9131 14 11.5297 14H8.88832C8.70848 14 8.5425 13.9034 8.45363 13.7471L5.58749 8.70478C5.50059 8.55191 5.50038 8.36464 5.58694 8.21157L10.0872 0.253872C10.1759 0.0969935 10.3422 0 10.5224 0H13.0056ZM5.60519 5.58358C5.68784 5.73855 5.68312 5.92552 5.59276 6.07613L3.43406 9.67396C3.3437 9.82456 3.18095 9.91671 3.00532 9.91671H0.500779C0.111209 9.91671 -0.128712 9.49091 0.0730986 9.15769L1.97318 6.02035C2.06519 5.86842 2.0697 5.67908 1.98502 5.52295L0.655558 3.07176C0.474862 2.7386 0.716068 2.33337 1.09507 2.33337H3.57175C3.7564 2.33337 3.92603 2.43515 4.01292 2.59808L5.60519 5.58358Z"/></svg>';var c='<svg viewBox="0 0 14 15" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.3608 1.15369C13.4169 1.2059 13.4622 1.26865 13.494 1.33837C13.5259 1.40808 13.5436 1.48339 13.5464 1.55999C13.5491 1.63659 13.5367 1.71297 13.5098 1.78477C13.483 1.85656 13.4423 1.92236 13.39 1.97841L8.64428 7.06727L13.8824 14.0198C13.9477 14.1064 13.9876 14.2095 13.9975 14.3176C14.0075 14.4256 13.9871 14.5343 13.9386 14.6313C13.8902 14.7284 13.8156 14.81 13.7233 14.8671C13.631 14.9241 13.5246 14.9542 13.4161 14.9541H10.2207C10.1303 14.9542 10.0412 14.9333 9.96026 14.893C9.87935 14.8528 9.8089 14.7943 9.75447 14.7222L6.06784 9.8299L1.46336 14.7684C1.41113 14.8245 1.34837 14.8696 1.27867 14.9014C1.20897 14.9332 1.13369 14.9509 1.05714 14.9536C0.980585 14.9563 0.904251 14.9439 0.832496 14.9171C0.760741 14.8903 0.69497 14.8496 0.63894 14.7973C0.582909 14.7451 0.537715 14.6823 0.505938 14.6126C0.474162 14.5429 0.456425 14.4677 0.45374 14.3911C0.451056 14.3146 0.463476 14.2382 0.490292 14.1665C0.517108 14.0947 0.557794 14.029 0.610028 13.9729L5.35572 8.88407L0.117626 1.93154C0.0523114 1.84497 0.0124314 1.74191 0.00246702 1.63393C-0.00749732 1.52595 0.0128489 1.41733 0.0612194 1.32027C0.10959 1.22322 0.184068 1.14157 0.276285 1.08451C0.368503 1.02746 0.474805 0.997244 0.583248 0.997273H3.7793C3.86956 0.997249 3.9586 1.01818 4.0394 1.05842C4.1202 1.09866 4.19055 1.15711 4.24492 1.22917L7.93155 6.12144L12.5354 1.18291C12.5876 1.12679 12.6504 1.08151 12.7201 1.04966C12.7898 1.01782 12.8651 1.00003 12.9417 0.997314C13.0183 0.9946 13.0947 1.00702 13.1665 1.03385C13.2383 1.06068 13.3047 1.10141 13.3608 1.15369ZM7.44036 7.40872C7.42386 7.38964 7.40861 7.36951 7.39471 7.34846L3.48836 2.16343H1.75308L10.511 13.7885H12.2463L7.43975 7.40933L7.44036 7.40872Z"/></svg>';var d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M5.04883 0.275541C2.32493 1.06453 0.285118 3.46373 0.0275269 6.375H3.22773C3.41606 4.22626 4.03911 2.14922 5.04883 0.275541ZM3.22773 7.625H0.0275269C0.285118 10.5363 2.32493 12.9355 5.04883 13.7245C4.0391 11.8508 3.41606 9.77374 3.22773 7.625ZM6.6522 13.9915C5.44618 12.0855 4.69968 9.90183 4.48294 7.625H9.51704C9.30031 9.90183 8.5538 12.0855 7.34777 13.9915C7.23256 13.9971 7.11661 14 7.00001 14C6.88338 14 6.76743 13.9971 6.6522 13.9915ZM8.95115 13.7245C11.6751 12.9355 13.7149 10.5363 13.9725 7.625H10.7722C10.5839 9.77375 9.96087 11.8508 8.95115 13.7245ZM10.7722 6.375H13.9725C13.7149 3.46372 11.6751 1.06451 8.95114 0.275533C9.96087 2.14921 10.5839 4.22625 10.7722 6.375ZM6.65221 0.00848953C6.76743 0.00285182 6.88339 0 7.00001 0C7.11661 0 7.23256 0.0028513 7.34777 0.008488C8.5538 1.91446 9.3003 4.09817 9.51704 6.375H4.48294C4.69968 4.09817 5.44618 1.91446 6.65221 0.00848953Z" clip-rule="evenodd"/></svg>';var h='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M8.99999 4C9.2883 4 9.55108 3.83474 9.67597 3.57489C9.80086 3.31504 9.76575 3.00661 9.58564 2.78148L7.58564 0.281479C7.44331 0.103567 7.22783 0 6.99999 0C6.77215 0 6.55667 0.103567 6.41434 0.281479L4.41434 2.78148C4.23424 3.00661 4.19912 3.31504 4.32401 3.57489C4.4489 3.83474 4.71169 4 4.99999 4H6L6 9.5C6 10.0523 6.44772 10.5 7 10.5C7.55228 10.5 8 10.0523 8 9.5L8 4H8.99999ZM3 12V5.99998C3.55228 5.99998 4 5.55227 4 4.99998C4 4.4477 3.55228 3.99998 3 3.99998H2.5C2.10217 3.99998 1.72064 4.15802 1.43934 4.43932C1.15804 4.72062 1 5.10216 1 5.49998V12.5C1 12.8979 1.15804 13.2794 1.43934 13.5607C1.72065 13.842 2.10218 14 2.5 14L11.5 14.0001C11.8978 14.0001 12.2794 13.842 12.5607 13.5607C12.842 13.2794 13 12.8979 13 12.5001V5.5C13 5.10218 12.842 4.72065 12.5607 4.43934C12.2794 4.15804 11.8978 4 11.5 4H11C10.4477 4 10 4.44772 10 5C10 5.55228 10.4477 6 11 6V12.0001L3 12Z" clip-rule="evenodd"/></svg>';var b='<svg viewBox="0 0 14 15" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.3608 1.15369C13.4169 1.2059 13.4622 1.26865 13.494 1.33837C13.5259 1.40808 13.5436 1.48339 13.5464 1.55999C13.5491 1.63659 13.5367 1.71297 13.5098 1.78477C13.483 1.85656 13.4423 1.92236 13.39 1.97841L8.64428 7.06727L13.8824 14.0198C13.9477 14.1064 13.9876 14.2095 13.9975 14.3176C14.0075 14.4256 13.9871 14.5343 13.9386 14.6313C13.8902 14.7284 13.8156 14.81 13.7233 14.8671C13.631 14.9241 13.5246 14.9542 13.4161 14.9541H10.2207C10.1303 14.9542 10.0412 14.9333 9.96026 14.893C9.87935 14.8528 9.8089 14.7943 9.75447 14.7222L6.06784 9.8299L1.46336 14.7684C1.41113 14.8245 1.34837 14.8696 1.27867 14.9014C1.20897 14.9332 1.13369 14.9509 1.05714 14.9536C0.980585 14.9563 0.904251 14.9439 0.832496 14.9171C0.760741 14.8903 0.69497 14.8496 0.63894 14.7973C0.582909 14.7451 0.537715 14.6823 0.505938 14.6126C0.474162 14.5429 0.456425 14.4677 0.45374 14.3911C0.451056 14.3146 0.463476 14.2382 0.490292 14.1665C0.517108 14.0947 0.557794 14.029 0.610028 13.9729L5.35572 8.88407L0.117626 1.93154C0.0523114 1.84497 0.0124314 1.74191 0.00246702 1.63393C-0.00749732 1.52595 0.0128489 1.41733 0.0612194 1.32027C0.10959 1.22322 0.184068 1.14157 0.276285 1.08451C0.368503 1.02746 0.474805 0.997244 0.583248 0.997273H3.7793C3.86956 0.997249 3.9586 1.01818 4.0394 1.05842C4.1202 1.09866 4.19055 1.15711 4.24492 1.22917L7.93155 6.12144L12.5354 1.18291C12.5876 1.12679 12.6504 1.08151 12.7201 1.04966C12.7898 1.01782 12.8651 1.00003 12.9417 0.997314C13.0183 0.9946 13.0947 1.00702 13.1665 1.03385C13.2383 1.06068 13.3047 1.10141 13.3608 1.15369ZM7.44036 7.40872C7.42386 7.38964 7.40861 7.36951 7.39471 7.34846L3.48836 2.16343H1.75308L10.511 13.7885H12.2463L7.43975 7.40933L7.44036 7.40872Z"/></svg>';var C='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M5.76256 2.01256C6.09075 1.68437 6.53587 1.5 7 1.5C7.46413 1.5 7.90925 1.68437 8.23744 2.01256C8.4448 2.21993 8.59475 2.47397 8.67705 2.75H5.32295C5.40525 2.47397 5.5552 2.21993 5.76256 2.01256ZM3.78868 2.75C3.89405 2.07321 4.21153 1.44227 4.7019 0.951903C5.3114 0.34241 6.13805 0 7 0C7.86195 0 8.6886 0.34241 9.2981 0.951903C9.78847 1.44227 10.106 2.07321 10.2113 2.75H13C13.4142 2.75 13.75 3.08579 13.75 3.5C13.75 3.91422 13.4142 4.25 13 4.25H12V12.5C12 12.8978 11.842 13.2794 11.5607 13.5607C11.2794 13.842 10.8978 14 10.5 14H3.5C3.10217 14 2.72064 13.842 2.43934 13.5607C2.15804 13.2794 2 12.8978 2 12.5V4.25H1C0.585786 4.25 0.25 3.91422 0.25 3.5C0.25 3.08579 0.585786 2.75 1 2.75H3.78868ZM5 5.87646C5.34518 5.87646 5.625 6.15629 5.625 6.50146V10.503C5.625 10.8481 5.34518 11.128 5 11.128C4.65482 11.128 4.375 10.8481 4.375 10.503V6.50146C4.375 6.15629 4.65482 5.87646 5 5.87646ZM9.625 6.50146C9.625 6.15629 9.34518 5.87646 9 5.87646C8.65482 5.87646 8.375 6.15629 8.375 6.50146V10.503C8.375 10.8481 8.65482 11.128 9 11.128C9.34518 11.128 9.625 10.8481 9.625 10.503V6.50146Z" clip-rule="evenodd"/></svg>';var w='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M8 1C8 0.447715 7.55228 0 7 0C6.44772 0 6 0.447715 6 1V6H1C0.447715 6 0 6.44772 0 7C0 7.55228 0.447715 8 1 8H6V13C6 13.5523 6.44772 14 7 14C7.55228 14 8 13.5523 8 13V8H13C13.5523 8 14 7.55228 14 7C14 6.44772 13.5523 6 13 6H8V1Z" clip-rule="evenodd"/></svg>';var p='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M9.794,6.607,5.884,2.49A1.255,1.255,0,0,0,4.1,2.5l-3.9,4.1A.75.75,0,1,0,1.294,7.641L4.819,3.928a.249.249,0,0,1,.362,0L8.706,7.641A.75.75,0,1,0,9.794,6.607Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var g='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.5,4.1l-4.1-3.9A.75.75,0,1,0,2.36,1.294L6.072,4.819a.249.249,0,0,1,0,.362L2.36,8.706A.75.75,0,0,0,3.393,9.794L7.51,5.884A1.256,1.256,0,0,0,7.5,4.1Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var m='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.124,10a.749.749,0,0,1-.517-.206L2.5,5.9A1.257,1.257,0,0,1,2.49,4.116L6.607.206A.75.75,0,1,1,7.64,1.294L3.928,4.819a.249.249,0,0,0,0,.362L7.64,8.706A.75.75,0,0,1,7.124,10Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var y='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M5,7.874a1.238,1.238,0,0,1-.879-.364L.206,3.393A.75.75,0,1,1,1.294,2.36L4.819,6.072a.249.249,0,0,0,.362,0L8.706,2.36A.75.75,0,1,1,9.794,3.393L5.9,7.5A1.269,1.269,0,0,1,5,7.874Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var _='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 7C0 6.44772 0.447715 6 1 6H13C13.5523 6 14 6.44772 14 7C14 7.55228 13.5523 8 13 8H1C0.447715 8 0 7.55228 0 7Z" clip-rule="evenodd"/></svg>';var L='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 2a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1zm0 5a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1zm1 4a1 1 0 1 0 0 2h12a1 1 0 1 0 0-2H1z" clip-rule="evenodd"/></svg>';var j='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M3.31334 1.36381C3.31624 1.73602 3.17257 2.09441 2.9134 2.36157C2.65422 2.62872 2.30034 2.78317 1.92822 2.79156C1.55687 2.77793 1.20495 2.62217 0.945182 2.35645C0.685414 2.09073 0.537655 1.73538 0.53244 1.36381C0.548583 1.0018 0.701774 0.659474 0.96096 0.406224C1.22015 0.152974 1.56593 0.00775305 1.92822 0C2.28945 0.00789779 2.63402 0.153479 2.89148 0.40698C3.14894 0.66048 3.29985 1.00275 3.31334 1.36381ZM0.681607 5.3274C0.681607 4.50698 1.20369 4.63484 1.92822 4.63484C2.65275 4.63484 3.16418 4.50698 3.16418 5.3274V13.3185C3.16418 14.1496 2.64209 13.9791 1.92822 13.9791C1.21435 13.9791 0.681607 14.1496 0.681607 13.3185V5.3274Z"/><path d="M5.31647 5.32741C5.31647 4.86926 5.48694 4.69878 5.75331 4.64551C6.01968 4.59223 6.936 4.64551 7.25564 4.64551C7.57528 4.64551 7.70314 5.16759 7.69249 5.56182C7.96591 5.19486 8.32892 4.9042 8.7468 4.71765C9.16467 4.5311 9.62342 4.4549 10.0792 4.49634C10.5267 4.46898 10.975 4.53608 11.3949 4.69327C11.8148 4.85046 12.1969 5.09424 12.5165 5.40876C12.836 5.72328 13.0858 6.1015 13.2496 6.51887C13.4135 6.93623 13.4877 7.38339 13.4674 7.83129V13.2865C13.4674 14.1176 12.956 13.9471 12.2314 13.9471C11.5069 13.9471 10.9955 14.1176 10.9955 13.2865V9.02463C11.0142 8.80528 10.9855 8.58447 10.9114 8.3772C10.8372 8.16992 10.7193 7.98103 10.5657 7.82335C10.412 7.66568 10.2263 7.54291 10.021 7.46339C9.8157 7.38387 9.59571 7.34945 9.37595 7.36248C9.1572 7.35692 8.93978 7.3979 8.73806 7.48268C8.53635 7.56747 8.35494 7.69414 8.20586 7.85431C8.05677 8.01447 7.94341 8.20447 7.87328 8.41174C7.80314 8.61901 7.77784 8.83881 7.79904 9.05659V13.3185C7.79904 14.1496 7.27695 13.9791 6.55242 13.9791C5.8279 13.9791 5.31647 14.1496 5.31647 13.3185V5.32741Z"/></svg>';var x='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0.786499 3.39046C0.786499 1.95243 1.95225 0.786682 3.39027 0.786682H10.3337C11.7717 0.786682 12.9374 1.95243 12.9374 3.39046V10.3339C12.9374 11.7719 11.7717 12.9376 10.3337 12.9376H3.39027C1.95225 12.9376 0.786499 11.7719 0.786499 10.3339V3.39046ZM6.8621 4.78204C5.71332 4.78204 4.78204 5.71332 4.78204 6.8621C4.78204 8.01088 5.71332 8.94216 6.8621 8.94216C8.01088 8.94216 8.94216 8.01088 8.94216 6.8621C8.94216 5.71332 8.01088 4.78204 6.8621 4.78204ZM3.78204 6.8621C3.78204 5.16103 5.16103 3.78204 6.8621 3.78204C8.56317 3.78204 9.94216 5.16103 9.94216 6.8621C9.94216 8.56317 8.56317 9.94216 6.8621 9.94216C5.16103 9.94216 3.78204 8.56317 3.78204 6.8621ZM10.3349 3.98516C10.6842 3.98516 10.9673 3.70199 10.9673 3.35269C10.9673 3.00338 10.6842 2.72021 10.3349 2.72021C9.98556 2.72021 9.70239 3.00338 9.70239 3.35269C9.70239 3.70199 9.98556 3.98516 10.3349 3.98516Z" clip-rule="evenodd"/></svg>';var k='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M7 14C10.866 14 14 10.866 14 7C14 3.13401 10.866 0 7 0C3.13401 0 0 3.13401 0 7C0 10.866 3.13401 14 7 14ZM5.5 9.375C5.15482 9.375 4.875 9.65482 4.875 10C4.875 10.3452 5.15482 10.625 5.5 10.625H7H8.5C8.84518 10.625 9.125 10.3452 9.125 10C9.125 9.65482 8.84518 9.375 8.5 9.375H7.625V6.5C7.625 6.15482 7.34518 5.875 7 5.875H6C5.65482 5.875 5.375 6.15482 5.375 6.5C5.375 6.84518 5.65482 7.125 6 7.125H6.375V9.375H5.5ZM8 4C8 4.55228 7.55228 5 7 5C6.44772 5 6 4.55228 6 4C6 3.44772 6.44772 3 7 3C7.55228 3 8 3.44772 8 4Z" clip-rule="evenodd"/></svg>';var O='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M8.06356 3.75515C8.06356 2.67675 8.60345 2.67675 9.14334 2.67675H9.79121C9.89938 2.6782 10.0067 2.65799 10.107 2.61732C10.2072 2.57664 10.2982 2.51633 10.3747 2.43993C10.4512 2.36353 10.5116 2.2726 10.5523 2.17251C10.5931 2.07242 10.6133 1.96519 10.6118 1.85716V0.84346C10.6119 0.734917 10.5903 0.627453 10.5484 0.527307C10.5064 0.42716 10.445 0.336327 10.3677 0.260078C10.2903 0.18383 10.1986 0.123686 10.0978 0.0831375C9.99696 0.0425893 9.88909 0.0224446 9.78041 0.0238728L8.24712 0.00230466C7.80066 -0.0149417 7.35577 0.0647696 6.94316 0.235937C6.53054 0.407104 6.16003 0.665651 5.8572 0.993733C5.55436 1.32181 5.32641 1.71162 5.18908 2.13624C5.05175 2.56086 5.00831 3.01018 5.06176 3.4532V5.01689H4.20873C3.99108 5.01689 3.78235 5.10324 3.62845 5.25694C3.47455 5.41064 3.38809 5.61911 3.38809 5.83648V6.85018C3.38809 7.06754 3.47455 7.27601 3.62845 7.42971C3.78235 7.58341 3.99108 7.66976 4.20873 7.66976H5.06176V13.4608C5.06176 13.6038 5.11864 13.741 5.21989 13.8421C5.32114 13.9432 5.45846 14 5.60165 14H7.55606C7.69356 13.9917 7.8227 13.9313 7.91705 13.8311C8.01139 13.7308 8.0638 13.5984 8.06356 13.4608V7.66976H9.01377C9.23141 7.66976 9.44014 7.58341 9.59404 7.42971C9.74794 7.27601 9.8344 7.06754 9.8344 6.85018V5.83648C9.8344 5.61911 9.74794 5.41064 9.59404 5.25694C9.44014 5.10324 9.23141 5.01689 9.01377 5.01689H8.06356V3.75515Z"/></svg>';var A='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M10.715 -0.000976562C10.5152 -0.000976562 10.3174 0.0389464 10.1332 0.116448C9.95019 0.193468 9.78428 0.306058 9.64512 0.447676L1.40732 8.64549C1.34616 8.70635 1.30179 8.782 1.27853 8.86508L0.0185299 13.3651C-0.0301752 13.539 0.0187291 13.7257 0.146458 13.8535C0.274188 13.9812 0.46088 14.0301 0.634827 13.9814L5.13483 12.7214C5.21791 12.6981 5.29356 12.6537 5.35442 12.5926L13.5521 4.3549L13.5535 4.35355C13.6934 4.21438 13.8045 4.04896 13.8804 3.86676C13.9566 3.68398 13.9958 3.48792 13.9958 3.2899C13.9958 3.09188 13.9566 2.89582 13.8804 2.71303C13.8045 2.53083 13.6934 2.3654 13.5535 2.22624L13.5521 2.2249L11.7859 0.448721C11.6466 0.306611 11.4803 0.193657 11.2968 0.116448C11.1126 0.0389464 10.9148 -0.000976562 10.715 -0.000976562Z"/></svg>';var M='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M1.43934 0.43934C1.72064 0.158035 2.10218 0 2.5 0H7.5C7.63261 0 7.75979 0.0526784 7.85355 0.146447L12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V12.5C13 12.8978 12.842 13.2794 12.5607 13.5607C12.2794 13.842 11.8978 14 11.5 14H2.5C2.10217 14 1.72064 13.842 1.43934 13.5607C1.15804 13.2794 1 12.8978 1 12.5V1.5C1 1.10218 1.15804 0.720644 1.43934 0.43934ZM4.5 3.875C4.15482 3.875 3.875 4.15482 3.875 4.5C3.875 4.84518 4.15482 5.125 4.5 5.125H6.5C6.84518 5.125 7.125 4.84518 7.125 4.5C7.125 4.15482 6.84518 3.875 6.5 3.875H4.5ZM3.875 7.5C3.875 7.15482 4.15482 6.875 4.5 6.875H9.5C9.84518 6.875 10.125 7.15482 10.125 7.5C10.125 7.84518 9.84518 8.125 9.5 8.125H4.5C4.15482 8.125 3.875 7.84518 3.875 7.5ZM4.5 9.875C4.15482 9.875 3.875 10.1548 3.875 10.5C3.875 10.8452 4.15482 11.125 4.5 11.125H9.5C9.84518 11.125 10.125 10.8452 10.125 10.5C10.125 10.1548 9.84518 9.875 9.5 9.875H4.5Z" clip-rule="evenodd"/></svg>';var H='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M10 0a.75.75 0 0 1 .75.75v.75h1.5c.966 0 1.75.784 1.75 1.75v9A1.75 1.75 0 0 1 12.25 14H1.75A1.75 1.75 0 0 1 0 12.25v-9C0 2.284.784 1.5 1.75 1.5h1.5V.75a.75.75 0 0 1 1.5 0v.75h4.5V.75A.75.75 0 0 1 10 0zM3.25 3v.75a.75.75 0 0 0 1.5 0V3h4.5v.75a.75.75 0 0 0 1.5 0V3h1.5a.25.25 0 0 1 .25.25v2.282a1.002 1.002 0 0 0-.25-.032H1.75c-.086 0-.17.01-.25.032V3.25A.25.25 0 0 1 1.75 3h1.5z" clip-rule="evenodd"/></svg>';var S='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L5.58579 7L0.292893 12.2929C-0.0976311 12.6834 -0.0976311 13.3166 0.292893 13.7071C0.683417 14.0976 1.31658 14.0976 1.70711 13.7071L7 8.41421L12.2929 13.7071C12.6834 14.0976 13.3166 14.0976 13.7071 13.7071C14.0976 13.3166 14.0976 12.6834 13.7071 12.2929L8.41421 7L13.7071 1.70711C14.0976 1.31658 14.0976 0.683417 13.7071 0.292893C13.3166 -0.0976311 12.6834 -0.0976311 12.2929 0.292893L7 5.58579L1.70711 0.292893Z" clip-rule="evenodd"/></svg>';var I='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M7 14C10.866 14 14 10.866 14 7C14 3.13401 10.866 0 7 0C3.13401 0 0 3.13401 0 7C0 10.866 3.13401 14 7 14ZM7.625 4.5C7.625 4.15482 7.34518 3.875 7 3.875C6.65482 3.875 6.375 4.15482 6.375 4.5V7C6.375 7.14621 6.42626 7.28779 6.51986 7.40012L9.01986 10.4001C9.24084 10.6653 9.63494 10.7011 9.90012 10.4801C10.1653 10.2592 10.2011 9.86506 9.98014 9.59988L7.625 6.77372V4.5Z" clip-rule="evenodd"/></svg>';var Z='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M13.637 1.19792C14.0627 1.54974 14.1227 2.18006 13.7708 2.60579L5.73084 12.335L5.72842 12.3379C5.54554 12.5575 5.31602 12.7336 5.05655 12.8534C4.79707 12.9731 4.51417 13.0336 4.22842 13.0302L4.22752 13.0302C3.93709 13.0266 3.65125 12.9573 3.39146 12.8274C3.13254 12.6979 2.9062 12.5117 2.72931 12.2826C2.72871 12.2818 2.72812 12.281 2.72752 12.2802L0.210633 9.04426C-0.128437 8.60831 -0.0499029 7.98003 0.386044 7.64096C0.821992 7.30189 1.45027 7.38043 1.78934 7.81638L4.25291 10.9838L12.2291 1.33176C12.5809 0.906034 13.2113 0.846112 13.637 1.19792Z" clip-rule="evenodd"/></svg>';var V='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M9.794,6.607,5.884,2.49A1.255,1.255,0,0,0,4.1,2.5l-3.9,4.1A.75.75,0,1,0,1.294,7.641L4.819,3.928a.249.249,0,0,1,.362,0L8.706,7.641A.75.75,0,1,0,9.794,6.607Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var $='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.5,4.1l-4.1-3.9A.75.75,0,1,0,2.36,1.294L6.072,4.819a.249.249,0,0,1,0,.362L2.36,8.706A.75.75,0,0,0,3.393,9.794L7.51,5.884A1.256,1.256,0,0,0,7.5,4.1Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var B='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.124,10a.749.749,0,0,1-.517-.206L2.5,5.9A1.257,1.257,0,0,1,2.49,4.116L6.607.206A.75.75,0,1,1,7.64,1.294L3.928,4.819a.249.249,0,0,0,0,.362L7.64,8.706A.75.75,0,0,1,7.124,10Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var T='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M5,7.874a1.238,1.238,0,0,1-.879-.364L.206,3.393A.75.75,0,1,1,1.294,2.36L4.819,6.072a.249.249,0,0,0,.362,0L8.706,2.36A.75.75,0,1,1,9.794,3.393L5.9,7.5A1.269,1.269,0,0,1,5,7.874Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var N={components:[],event:false,lifecycle:false,render:false,custom:false};var E=function(){var r=N;if(f.hasWindow&&window.BaloiseDesignSystem&&window.BaloiseDesignSystem.config&&window.BaloiseDesignSystem.config.logger){r=window.BaloiseDesignSystem.config.logger}return r};var P=function(r){var e=function(e,n){var t=[];for(var i=2;i<arguments.length;i++){t[i-2]=arguments[i]}var a=E();if(a.components.includes(r)&&a[e]){console.log.apply(console,__spreadArray([n],t,false))}};return{custom:function(n){var t=[];for(var i=1;i<arguments.length;i++){t[i-1]=arguments[i]}return e.apply(void 0,__spreadArray(["custom"," ➡️ [".concat(r,"] - ").concat(n)],t,false))},lifecycle:function(n){var t=[];for(var i=1;i<arguments.length;i++){t[i-1]=arguments[i]}return e.apply(void 0,__spreadArray(["lifecycle","".concat(n==="connectedCallback"?"🟢":n==="disconnectedCallback"?"🔴":n==="componentDidLoad"?"🏁":" ➡️"," [").concat(r,"] - (").concat(n,")")],t,false))},event:function(n){var t=[];for(var i=1;i<arguments.length;i++){t[i-1]=arguments[i]}return e.apply(void 0,__spreadArray(["event","🔥 [".concat(r,"] - (").concat(n,")")],t,false))},render:function(){var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}return e.apply(void 0,__spreadArray(["render","🖌️ [".concat(r,"] - (render)")],n,false))}}};function D(r){if(r===void 0){r="unknown"}return function(e,n,t){var i=e.connectedCallback,a=e.disconnectedCallback,o=e.render,u=e.componentDidLoad,f=e.createLogger;var l=P(r);e.connectedCallback=function(){var r=this;l.lifecycle("connectedCallback",this);var e=Object.keys(this).filter((function(r){return r.startsWith("bal")})).filter((function(e){return typeof r[e]==="object"}));var n=function(n){var i=e[n];var a=t[i];t[i]={emit:function(){var e;var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}l.event.apply(l,__spreadArray([i,r],n,false));return(e=a.emit).call.apply(e,__spreadArray([r],n,false))}}};var t=this;for(var a=0;a<e.length;a++){n(a)}f.call(this,l.custom);return i&&i.call(this)};e.disconnectedCallback=function(){l.lifecycle("disconnectedCallback",this);return a&&a.call(this)};e.componentDidLoad=function(){l.lifecycle("componentDidLoad",this);return u&&u.call(this)};e.render=function(){l.render(this);return o.call(this)}}}var R={balIconClock:I,balIconClose:S,balIconInfoCircle:k,balIconPlus:w,balIconMinus:_,balIconEdit:A,balIconTrash:C,balIconNavGoLeft:m,balIconNavGoRight:g,balIconNavGoDown:y,balIconNavGoUp:p,balIconCheck:Z,balIconDate:H,balIconDocument:M,balIconUpload:h,balIconMenuBars:L,balIconFacebook:O,balIconInstagram:x,balIconLinkedin:j,balIconTwitter:b,balIconX:c,balIconXing:v,balIconYoutube:s,balIconWeb:d,balIconCaretDown:T,balIconCaretLeft:B,balIconCaretRight:$,balIconCaretUp:V};var F=r("f",{region:"CH",language:"de",allowedLanguages:["de","fr","it","en"],icons:R,fallbackLanguage:"de",logger:N,animated:true,httpFormSubmit:true,_generateHydrateForCustomElementsOutput:false});var U=r("U","".concat(F.language,"-").concat(F.region));var z=function(){function r(){this._componentObservers=[];this._observers=[];this._config=F}Object.defineProperty(r.prototype,"locale",{get:function(){return"".concat(this._config.language,"-").concat(this._config.region)},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"region",{get:function(){return this._config.region},set:function(r){if(r!==this._config.region){this._config.region=r;this._notify()}},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"language",{get:function(){return this._config.language},set:function(r){if(r!==this._config.language){if(this._config.allowedLanguages.includes(r)){this._config.language=r}else{this._config.language=this._config.fallbackLanguage}this._notify()}},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"allowedLanguages",{get:function(){return this._config.allowedLanguages},set:function(r){if(r!==this._config.allowedLanguages){this._config.allowedLanguages=r;this._notify()}},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"icons",{get:function(){return this._config.icons},set:function(r){this._config.icons=Object.assign(Object.assign({},this._config.icons),r);this._notify()},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"logger",{get:function(){return this._config.logger},set:function(r){this._config.logger=Object.assign({},r);this._notify()},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"animated",{get:function(){return this._config.animated},set:function(r){this._config.animated=r;this._notify()},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"httpFormSubmit",{get:function(){return this._config.httpFormSubmit},set:function(r){this._config.httpFormSubmit=r;this._notify()},enumerable:false,configurable:true});r.prototype.attach=function(r){var e=this._observers.includes(r);if(e){return console.log("Subject: Observer has been attached already.")}this._observers.push(r);r.configChanged(this._config)};r.prototype.detach=function(r){var e=this._observers.indexOf(r);if(e===-1){return console.log("Subject: Nonexistent observer.")}this._observers.splice(e,1)};r.prototype.attachComponent=function(r){var e=this._componentObservers.includes(r);if(e){return console.log("Subject: Observer has been attached already.")}this._componentObservers.push(r);r.configChanged(this._config)};r.prototype.detachComponent=function(r){var e=this._componentObservers.indexOf(r);if(e===-1){return console.log("Subject: Nonexistent observer.")}this._componentObservers.splice(e,1)};r.prototype.toString=function(){return JSON.stringify(this._config)};r.prototype.reset=function(r){this._config=Object.assign(Object.assign(Object.assign({},this._config),r),{icons:Object.assign(Object.assign({},this._config.icons),r.icons)});this._notify(false)};r.prototype._notify=function(r){if(r===void 0){r=true}for(var e=0,n=this._componentObservers;e<n.length;e++){var t=n[e];t.configChanged(this._config)}if(r){for(var i=0,a=this._observers;i<a.length;i++){var t=a[i];t.configChanged(this._config)}}};return r}();var G=new z;var W=function(r){try{var e=JSON.parse(r.localStorage.getItem(l));if(e!==null){return{animated:e}}return{}}catch(r){return{}}};var q=r("i",(function(r,e){if(r===void 0){r={}}if(e===void 0){e={}}if(Object.keys(e).length===0&&f.hasWindow){e=window}e.BaloiseDesignSystem=e.BaloiseDesignSystem||{};G.reset(Object.assign(Object.assign(Object.assign({},W(e)),r),{icons:Object.assign({},r.icons)}));e.BaloiseDesignSystem.config=G}));var Y=r("o",(function(r){X({configChanged:function(e){r(e)}})}));var J=r("n",(function(){if(!f.hasWindow){return}var r=window;return r&&r.BaloiseDesignSystem&&r.BaloiseDesignSystem.config}));var X=r("e",(function(r){var e=J();if(e){e.attach(r)}}));var K=r("h",(function(r){var e=J();if(e){e.detach(r)}}));var Q=r("_",(function(r){var e=J();if(e){e.attachComponent(r)}}));var rr=r("$",(function(r){var e=J();if(e){e.detachComponent(r)}}));var er=r("l",(function(r){var e=J();if(e){e.language=r}}));var nr=r("m",(function(r){var e=J();if(e){e.region=r}}));var tr=r("u",(function(r){var e=J();if(e){e.allowedLanguages=r}}));var ir=r("k",(function(r){var e=J();if(e){e.icons=Object.assign(Object.assign({},e.icons),r)}}));var ar=r("j",(function(r){var e=J();if(e){e.animated=r}}));var or=function(r,e){if(e===void 0){e=3e3}var n=false;if(!f.isSafari&&f.hasWindow&&"PerformanceObserver"in window){var t=new PerformanceObserver((function(e){var i=e.getEntries();var a=i[i.length-1];if(a){t.disconnect();n=true;fr((function(){return r()}))}}));t.observe({type:"largest-contentful-paint",buffered:true});setTimeout((function(){if(!n){t.disconnect();r()}}),e)}else{return setTimeout(r,32)}};var ur=r("K",(function(r,e){if(e===void 0){e=32}var n=false;var t=function(){if(!n){n=true;r()}};if(f.hasWindow){var i=setTimeout(t,e);window.addEventListener("load",(function(){clearTimeout(i);t()}))}else{setTimeout(t,32)}}));var fr=r("J",(function(r,e){if(e===void 0){e=5e3}if(f.hasWindow&&"requestIdleCallback"in window){window.requestIdleCallback(r,{timeout:e})}else{setTimeout(r,32)}}));var lr=r("w",(function(r){if(r===void 0){r=0}return new Promise((function(e){setTimeout((function(){return e()}),r)}))}));var sr=r("T",(function(r,e){var n=r._original||r;return{_original:r,emit:vr(n.emit.bind(n),e)}}));var vr=r("I",(function(r,e){if(e===void 0){e=0}var n;return function(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}clearTimeout(n);n=setTimeout.apply(void 0,__spreadArray([r,e],t,false))}}));var cr=r("Z",(function(r,e){return r&&r.tagName&&r.tagName===e.toUpperCase()}));var dr=r("t",(function(r,e){var n=e.parentNode;while(n!=null){if(n==r){return true}n=n.parentNode}return false}));var hr=r("X",(function(r,e){var n=e.parentNode;while(n!=null){if(n.tagName===r.toUpperCase()){return true}n=n.parentNode}return false}));var br=r("c",(function(r){return r.querySelector("bal-app")||r.body}));var Cr=r("d",(function(r,e){if(r.componentOnReady!==null&&r.componentOnReady!==undefined){r.componentOnReady().then((function(r){return e(r)}))}else{wr((function(){return e(r)}))}}));var wr=r("Q",(function(r){if(typeof __zone_symbol__requestAnimationFrame==="function"){return __zone_symbol__requestAnimationFrame(r)}if(typeof requestAnimationFrame==="function"){return requestAnimationFrame(r)}return setTimeout(r)}));var pr=r("W",(function(r,e){if(e===void 0){e=0}return new Promise((function(n){gr(r,e,n)}))}));var gr=function(r,e,n){if(e===void 0){e=0}var t;var i;var a={passive:true};var o=500;var u=function(){if(t){t()}};var f=function(e){if(e===undefined||r===e.target){u();n(e)}};if(r){r.addEventListener("webkitTransitionEnd",f,a);r.addEventListener("transitionend",f,a);i=setTimeout(f,e+o);t=function(){if(i){clearTimeout(i);i=undefined}r.removeEventListener("webkitTransitionEnd",f,a);r.removeEventListener("transitionend",f,a)}}return u};var mr=r("R",(function(r,e,n,t){if(f.hasWindow){var i=J();if(i){var a=i._ael;if(a){return a(r,e,n,t)}else if(i._ael){return i._ael(r,e,n,t)}}}return r.addEventListener(e,n,t)}));var yr=r("S",(function(r,e,n,t){if(f.hasWindow){var i=J();if(i){var a=i._rel;if(a){return a(r,e,n,t)}else if(i._rel){return i._rel(r,e,n,t)}}}return r.removeEventListener(e,n,t)}));var _r=r("v",(function(r){if(r){return new Promise((function(e){return Cr(r,e)}))}return Promise.resolve()}));var Lr=r("r",(function(r){var e=[];for(var t=1;t<arguments.length;t++){e[t-1]=arguments[t]}return __awaiter(n,__spreadArray([r],e,true),void 0,(function(r,e){var n,t;if(e===void 0){e=false}return __generator(this,(function(i){switch(i.label){case 0:n=r;if(!n)return[3,4];if(!(n.componentOnReady!==null&&n.componentOnReady!==undefined))return[3,2];return[4,n.componentOnReady()];case 1:t=i.sent();if(!e&&t!==null&&t!==undefined){return[2]}i.label=2;case 2:return[4,Promise.all(Array.from(n.children).map((function(r){return Lr(r,e)})))];case 3:i.sent();i.label=4;case 4:return[2]}}))}))}));var jr=r("A",(function(r){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,Lr(r,true)];case 1:e.sent();return[4,Or()];case 2:e.sent();return[4,Ar()];case 3:e.sent();return[2]}}))}))}));var xr=r("Y",(function(r,e,t){return __awaiter(n,void 0,void 0,(function(){var n,i;return __generator(this,(function(a){if(r&&r.target&&e&&e!==r.target){n=r.target;i=r.target.nodeName==="BAL-NAVBAR-BRAND";if(i){n=n.closest("bal-navbar")}if(n&&dr(n,e)){t(n)}}return[2]}))}))}));var kr=r("B",(function(r,e){return __awaiter(n,void 0,void 0,(function(){var n,t,i;return __generator(this,(function(a){switch(a.label){case 0:n=Object.assign({animated:false,icons:{balIconClose:S,balIconInfoCircle:k,balIconPlus:w,balIconMinus:_,balIconEdit:A,balIconTrash:C,balIconNavGoLeft:m,balIconNavGoRight:g,balIconNavGoDown:y,balIconNavGoUp:p,balIconCaretUp:V,balIconCaretDown:T,balIconCaretLeft:B,balIconCaretRight:$,balIconCheck:Z,balIconDate:H,balIconDocument:M,balIconUpload:h,balIconMenuBars:L}},e);t=r;if(!(t!==null&&t!==undefined))return[3,3];return[4,Lr(t,true)];case 1:a.sent();i=Array.prototype.slice.call(t.querySelectorAll("*")).filter((function(r){return r.tagName.match(/^bal/i)}));return[4,Promise.all(i.map((function(r){if(r.configChanged!==null&&r.configChanged!==undefined){return r.configChanged(n)}})))];case 2:a.sent();a.label=3;case 3:return[4,Promise.all([Or(),Mr(),Ar()])];case 4:a.sent();return[2]}}))}))}));var Or=r("x",(function(){return new Promise((function(r){return wr((function(){return Sr(r)}))}))}));var Ar=r("y",(function(){return new Promise((function(r){return fr((function(){return Sr(r)}))}))}));var Mr=r("z",(function(){return new Promise((function(r){return or((function(){return Sr(r)}))}))}));var Hr=r("C",(function(){return new Promise((function(r){return ur((function(){return Sr(r)}))}))}));var Sr=function(r){if(f.hasWindow&&"MessageChannel"in window){var e=new window.MessageChannel;e.port1.onmessage=r;e.port2.postMessage(undefined)}else{setTimeout(r,32)}};var Ir=function(){function r(r){this.options=r;this.container=null;this.queue=[];this.preQueue=[];this.queueLimit=5}r.prototype.create=function(r){var e=this;if(f.hasDocument){this.setupContainer(r);var n=this.findClone(r);if(n===undefined){var t=document.createElement(this.options.tag);Object.assign(t,r);t.addEventListener("balClose",(function(r){e.removeFromQueue(r.detail)}));this.preQueue.push(t);this.updateQueue();return t}return n}};r.prototype.setQueue=function(r){this.queueLimit=r};r.prototype.dismissAll=function(){return __awaiter(this,void 0,void 0,(function(){var r,e,n,t,i;return __generator(this,(function(a){switch(a.label){case 0:e=(r=this.container)===null||r===void 0?void 0:r.querySelectorAll(this.options.tag);if(!e)return[3,2];n=[];for(t=0;t<e.length;t++){i=e[t];if(i.close){n.push(i.close())}}return[4,Promise.all(n)];case 1:a.sent();a.label=2;case 2:return[2]}}))}))};r.prototype.clearAll=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){console.warn("[DEPRECATED] - use dismissAll() instead");return[2,this.dismissAll()]}))}))};r.prototype.findClone=function(r){for(var e=0;e<this.queue.length;e++){var n=this.queue[e];if(n.message===r.message&&n.color===r.color){return n}}return undefined};r.prototype.setupContainer=function(r){if(f.hasDocument){var e="".concat(this.options.tag,"-container");this.container=document.getElementById(e);if(this.container)return;if(!this.container){this.container=document.createElement("bal-notices");this.container.setAttribute("interface",this.options.tag.replace("bal-",""));this.container.setAttribute("animated",r.animated?"true":"false");if(r.container!==undefined){this.container.setAttribute("container",r.container===true?"":r.container)}this.container.id=e}document.body.appendChild(this.container)}};r.prototype.updateQueue=function(){return __awaiter(this,void 0,void 0,(function(){var r,e,n;return __generator(this,(function(t){switch(t.label){case 0:if(!(this.queue.length<this.queueLimit))return[3,2];e=this.preQueue.shift();if(!(e&&this.container))return[3,2];return[4,jr(this.container)];case 1:t.sent();n=this.container.querySelector(".bal-notices__inner");if(n){this.queue.push(e);n.insertAdjacentElement("beforeend",e)}t.label=2;case 2:if(this.queue.length===0){(r=this.container)===null||r===void 0?void 0:r.remove()}return[2]}}))}))};r.prototype.removeFromQueue=function(r){var e=this;this.queue=this.queue.filter((function(e){return e.id!==r}));setTimeout((function(){return e.updateQueue()}),0)};return r}();var Zr=function(r){__extends(e,r);function e(){return r.call(this,{tag:"bal-snackbar"})||this}e.prototype.create=function(e){return r.prototype.create.call(this,e)};return e}(Ir);r("D",Zr);var Vr=r("E",new Zr);var $r=function(r){__extends(e,r);function e(){return r.call(this,{tag:"bal-toast"})||this}e.prototype.create=function(e){return r.prototype.create.call(this,e)};return e}(Ir);r("F",$r);var Br=r("G",new $r);var Tr="19.7.1";var Nr=r("q",(function(r,e,n){if(r===void 0){r={}}if(e===void 0){e=undefined}if(n===void 0){n={}}if(Object.keys(n).length===0&&f.hasWindow){n=window}n.BaloiseDesignSystem=n.BaloiseDesignSystem||{};if(e){oe(e)}q(Object.assign(Object.assign({},r),e),n);n.BaloiseDesignSystem.toastController=Br;n.BaloiseDesignSystem.snackbarController=Vr;n.BaloiseDesignSystem.initialize=function(){return q(n.BaloiseDesignSystem.config,n)};n.BaloiseDesignSystem.version=Tr;if(r._generateHydrateForCustomElementsOutput){Er(a)}}));var Er=function(r){if(r===void 0){r=[]}var e="slot-fb{display:contents}slot-fb[hidden]{display:none}";var n="{visibility:hidden}.hydrated{visibility:inherit}";var t=typeof window!=="undefined"?window:{};if(!t.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var i=t.document.head;var a=i.querySelector("meta[charset]");var o=t.document.createElement("style");if(r.length>0){o.textContent+=e;o.textContent+=r.sort()+n;if(o.innerHTML.length){o.setAttribute("data-styles","");i.insertBefore(o,a?a.nextSibling:i.firstChild)}}};function Pr(){Nr()}var Dr=r("g",Pr);var Rr="";var Fr=Object.defineProperty;var Ur=function(r,e){for(var n in e)Fr(r,n,{get:e[n],enumerable:true})};var zr="http://www.w3.org/2000/svg";var Gr="http://www.w3.org/1999/xhtml";var Wr=function(r){if(r.__stencil__getHostRef){return r.__stencil__getHostRef()}return void 0};var qr=r("H",(function(r,e){r.__stencil__getHostRef=function(){return e};e.t=r}));var Yr=function(r,e){var n={i:0,$hostElement$:r,o:e,u:new Map};{n.l=new Promise((function(r){return n.v=r}))}{n.h=new Promise((function(r){return n.C=r}));r["s-p"]=[];r["s-rc"]=[]}var t=n;r.__stencil__getHostRef=function(){return t};return t};var Jr=function(r,e){return e in r};var Xr=function(r,e){return(0,console.error)(r,e)};var Kr=new Map;var Qr=function(r,n,t){var i=r.p.replace(/-/g,"_");var a=r.m;if(!a){return void 0}var o=Kr.get(a);if(o){return o[i]}
1
+ var __extends=this&&this.__extends||function(){var r=function(e,n){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,e){r.__proto__=e}||function(r,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))r[n]=e[n]};return r(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var e,n=1,t=arguments.length;n<t;n++){e=arguments[n];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))r[i]=e[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,e,n,t){function i(r){return r instanceof n?r:new n((function(e){e(r)}))}return new(n||(n=Promise))((function(n,a){function o(r){try{f(t.next(r))}catch(r){a(r)}}function u(r){try{f(t["throw"](r))}catch(r){a(r)}}function f(r){r.done?n(r.value):i(r.value).then(o,u)}f((t=t.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(r){return function(e){return f([r,e])}}function f(u){if(t)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(n=0)),n)try{if(t=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=e.call(r,n)}catch(r){u=[6,r];i=0}finally{t=a=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,e,n){if(n||arguments.length===2)for(var t=0,i=e.length,a;t<i;t++){if(a||!(t in e)){if(!a)a=Array.prototype.slice.call(e,0,t);a[t]=e[t]}}return r.concat(a||Array.prototype.slice.call(e))};System.register([],(function(r,e){"use strict";return{execute:function(){var n=this;r("L",D);var t="baloise-design-system";var i={hydratedSelectorName:"hydrated",lazyLoad:true,slotRelocation:true,updatable:true};var a=["bal-accordion","bal-accordion-details","bal-accordion-summary","bal-accordion-trigger","bal-app","bal-badge","bal-button","bal-button-group","bal-card","bal-card-actions","bal-card-button","bal-card-content","bal-card-subtitle","bal-card-title","bal-carousel","bal-carousel-item","bal-check","bal-checkbox","bal-checkbox-group","bal-close","bal-content","bal-data","bal-data-item","bal-data-label","bal-data-value","bal-date","bal-date-calendar","bal-date-calendar-cell","bal-divider","bal-dropdown","bal-field","bal-field-control","bal-field-hint","bal-field-label","bal-field-message","bal-file-upload","bal-footer","bal-form","bal-form-col","bal-form-grid","bal-heading","bal-hint","bal-hint-text","bal-hint-title","bal-icon","bal-input","bal-input-date","bal-input-group","bal-input-slider","bal-input-stepper","bal-label","bal-list","bal-list-item","bal-list-item-accordion-body","bal-list-item-accordion-head","bal-list-item-content","bal-list-item-icon","bal-list-item-subtitle","bal-list-item-title","bal-logo","bal-modal","bal-modal-body","bal-modal-header","bal-nav","bal-nav-link","bal-nav-link-grid","bal-nav-link-grid-col","bal-nav-link-group","bal-nav-menu-bar","bal-nav-menu-flyout","bal-nav-meta-bar","bal-navbar","bal-navbar-brand","bal-navbar-menu","bal-navbar-menu-end","bal-navbar-menu-start","bal-notices","bal-notification","bal-number-input","bal-option","bal-option-list","bal-pagination","bal-popover","bal-popover-content","bal-popup","bal-progress-bar","bal-radio","bal-radio-group","bal-radio-icon","bal-segment","bal-segment-item","bal-select","bal-select-option","bal-shape","bal-sheet","bal-snackbar","bal-spinner","bal-stack","bal-stage","bal-stage-back-link","bal-stage-body","bal-stage-foot","bal-stage-head","bal-stage-image","bal-step-item","bal-steps","bal-switch","bal-tab-item","bal-table","bal-tabs","bal-tag","bal-tag-group","bal-text","bal-textarea","bal-time-input","bal-toast","bal-tooltip"];var o=function(){function r(){}Object.defineProperty(r.prototype,"width",{get:function(){if(f.hasWindow){return window.innerWidth}return 0},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"height",{get:function(){if(f.hasWindow){return window.innerHeight}return 0},enumerable:false,configurable:true});return r}();var u=function(){function r(){this.window=new o}Object.defineProperty(r.prototype,"isSafari",{get:function(){return/^((?!chrome|android).)*safari/i.test(this.userAgent)},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"hasWindow",{get:function(){return typeof window!=="undefined"},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"hasNavigator",{get:function(){return typeof navigator!=="undefined"},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"hasDocument",{get:function(){return typeof document!=="undefined"},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"userAgent",{get:function(){var r;if(this.hasWindow&&this.hasNavigator){return(r=navigator.userAgent)!==null&&r!==void 0?r:""}return""},enumerable:false,configurable:true});return r}();var f=r("a",new u);var l="baloise-animated";var s='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 4C0 2.61929 1.11929 1.5 2.5 1.5H11.5C12.8807 1.5 14 2.61929 14 4V10C14 11.3807 12.8807 12.5 11.5 12.5H2.5C1.11929 12.5 0 11.3807 0 10V4ZM5.30998 5.11998V9.31998C5.30935 9.3905 5.32737 9.45993 5.36222 9.52124C5.39707 9.58255 5.4475 9.63356 5.50842 9.66909C5.56933 9.70462 5.63856 9.72342 5.70908 9.72358C5.7796 9.72374 5.84891 9.70524 5.90998 9.66998L9.50998 7.56998C9.57013 7.53469 9.62001 7.48428 9.65467 7.42377C9.68933 7.36325 9.70756 7.29472 9.70756 7.22498C9.70756 7.15524 9.68933 7.08671 9.65467 7.0262C9.62001 6.96568 9.57013 6.91527 9.50998 6.87998L5.90998 4.77998C5.85023 4.74175 5.78117 4.72055 5.71026 4.71865C5.63935 4.71675 5.56926 4.73422 5.50754 4.7692C5.44582 4.80417 5.39481 4.85532 5.36 4.91713C5.32519 4.97894 5.3079 5.04907 5.30998 5.11998Z" clip-rule="evenodd"/></svg>';var v='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M13.0056 0C13.385 0 13.6262 0.406033 13.4447 0.739215L9.3722 8.21397C9.28942 8.3659 9.29108 8.54984 9.37658 8.70026L11.9644 13.2529C12.1539 13.5862 11.9131 14 11.5297 14H8.88832C8.70848 14 8.5425 13.9034 8.45363 13.7471L5.58749 8.70478C5.50059 8.55191 5.50038 8.36464 5.58694 8.21157L10.0872 0.253872C10.1759 0.0969935 10.3422 0 10.5224 0H13.0056ZM5.60519 5.58358C5.68784 5.73855 5.68312 5.92552 5.59276 6.07613L3.43406 9.67396C3.3437 9.82456 3.18095 9.91671 3.00532 9.91671H0.500779C0.111209 9.91671 -0.128712 9.49091 0.0730986 9.15769L1.97318 6.02035C2.06519 5.86842 2.0697 5.67908 1.98502 5.52295L0.655558 3.07176C0.474862 2.7386 0.716068 2.33337 1.09507 2.33337H3.57175C3.7564 2.33337 3.92603 2.43515 4.01292 2.59808L5.60519 5.58358Z"/></svg>';var c='<svg viewBox="0 0 14 15" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.3608 1.15369C13.4169 1.2059 13.4622 1.26865 13.494 1.33837C13.5259 1.40808 13.5436 1.48339 13.5464 1.55999C13.5491 1.63659 13.5367 1.71297 13.5098 1.78477C13.483 1.85656 13.4423 1.92236 13.39 1.97841L8.64428 7.06727L13.8824 14.0198C13.9477 14.1064 13.9876 14.2095 13.9975 14.3176C14.0075 14.4256 13.9871 14.5343 13.9386 14.6313C13.8902 14.7284 13.8156 14.81 13.7233 14.8671C13.631 14.9241 13.5246 14.9542 13.4161 14.9541H10.2207C10.1303 14.9542 10.0412 14.9333 9.96026 14.893C9.87935 14.8528 9.8089 14.7943 9.75447 14.7222L6.06784 9.8299L1.46336 14.7684C1.41113 14.8245 1.34837 14.8696 1.27867 14.9014C1.20897 14.9332 1.13369 14.9509 1.05714 14.9536C0.980585 14.9563 0.904251 14.9439 0.832496 14.9171C0.760741 14.8903 0.69497 14.8496 0.63894 14.7973C0.582909 14.7451 0.537715 14.6823 0.505938 14.6126C0.474162 14.5429 0.456425 14.4677 0.45374 14.3911C0.451056 14.3146 0.463476 14.2382 0.490292 14.1665C0.517108 14.0947 0.557794 14.029 0.610028 13.9729L5.35572 8.88407L0.117626 1.93154C0.0523114 1.84497 0.0124314 1.74191 0.00246702 1.63393C-0.00749732 1.52595 0.0128489 1.41733 0.0612194 1.32027C0.10959 1.22322 0.184068 1.14157 0.276285 1.08451C0.368503 1.02746 0.474805 0.997244 0.583248 0.997273H3.7793C3.86956 0.997249 3.9586 1.01818 4.0394 1.05842C4.1202 1.09866 4.19055 1.15711 4.24492 1.22917L7.93155 6.12144L12.5354 1.18291C12.5876 1.12679 12.6504 1.08151 12.7201 1.04966C12.7898 1.01782 12.8651 1.00003 12.9417 0.997314C13.0183 0.9946 13.0947 1.00702 13.1665 1.03385C13.2383 1.06068 13.3047 1.10141 13.3608 1.15369ZM7.44036 7.40872C7.42386 7.38964 7.40861 7.36951 7.39471 7.34846L3.48836 2.16343H1.75308L10.511 13.7885H12.2463L7.43975 7.40933L7.44036 7.40872Z"/></svg>';var d='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M5.04883 0.275541C2.32493 1.06453 0.285118 3.46373 0.0275269 6.375H3.22773C3.41606 4.22626 4.03911 2.14922 5.04883 0.275541ZM3.22773 7.625H0.0275269C0.285118 10.5363 2.32493 12.9355 5.04883 13.7245C4.0391 11.8508 3.41606 9.77374 3.22773 7.625ZM6.6522 13.9915C5.44618 12.0855 4.69968 9.90183 4.48294 7.625H9.51704C9.30031 9.90183 8.5538 12.0855 7.34777 13.9915C7.23256 13.9971 7.11661 14 7.00001 14C6.88338 14 6.76743 13.9971 6.6522 13.9915ZM8.95115 13.7245C11.6751 12.9355 13.7149 10.5363 13.9725 7.625H10.7722C10.5839 9.77375 9.96087 11.8508 8.95115 13.7245ZM10.7722 6.375H13.9725C13.7149 3.46372 11.6751 1.06451 8.95114 0.275533C9.96087 2.14921 10.5839 4.22625 10.7722 6.375ZM6.65221 0.00848953C6.76743 0.00285182 6.88339 0 7.00001 0C7.11661 0 7.23256 0.0028513 7.34777 0.008488C8.5538 1.91446 9.3003 4.09817 9.51704 6.375H4.48294C4.69968 4.09817 5.44618 1.91446 6.65221 0.00848953Z" clip-rule="evenodd"/></svg>';var h='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M8.99999 4C9.2883 4 9.55108 3.83474 9.67597 3.57489C9.80086 3.31504 9.76575 3.00661 9.58564 2.78148L7.58564 0.281479C7.44331 0.103567 7.22783 0 6.99999 0C6.77215 0 6.55667 0.103567 6.41434 0.281479L4.41434 2.78148C4.23424 3.00661 4.19912 3.31504 4.32401 3.57489C4.4489 3.83474 4.71169 4 4.99999 4H6L6 9.5C6 10.0523 6.44772 10.5 7 10.5C7.55228 10.5 8 10.0523 8 9.5L8 4H8.99999ZM3 12V5.99998C3.55228 5.99998 4 5.55227 4 4.99998C4 4.4477 3.55228 3.99998 3 3.99998H2.5C2.10217 3.99998 1.72064 4.15802 1.43934 4.43932C1.15804 4.72062 1 5.10216 1 5.49998V12.5C1 12.8979 1.15804 13.2794 1.43934 13.5607C1.72065 13.842 2.10218 14 2.5 14L11.5 14.0001C11.8978 14.0001 12.2794 13.842 12.5607 13.5607C12.842 13.2794 13 12.8979 13 12.5001V5.5C13 5.10218 12.842 4.72065 12.5607 4.43934C12.2794 4.15804 11.8978 4 11.5 4H11C10.4477 4 10 4.44772 10 5C10 5.55228 10.4477 6 11 6V12.0001L3 12Z" clip-rule="evenodd"/></svg>';var b='<svg viewBox="0 0 14 15" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.3608 1.15369C13.4169 1.2059 13.4622 1.26865 13.494 1.33837C13.5259 1.40808 13.5436 1.48339 13.5464 1.55999C13.5491 1.63659 13.5367 1.71297 13.5098 1.78477C13.483 1.85656 13.4423 1.92236 13.39 1.97841L8.64428 7.06727L13.8824 14.0198C13.9477 14.1064 13.9876 14.2095 13.9975 14.3176C14.0075 14.4256 13.9871 14.5343 13.9386 14.6313C13.8902 14.7284 13.8156 14.81 13.7233 14.8671C13.631 14.9241 13.5246 14.9542 13.4161 14.9541H10.2207C10.1303 14.9542 10.0412 14.9333 9.96026 14.893C9.87935 14.8528 9.8089 14.7943 9.75447 14.7222L6.06784 9.8299L1.46336 14.7684C1.41113 14.8245 1.34837 14.8696 1.27867 14.9014C1.20897 14.9332 1.13369 14.9509 1.05714 14.9536C0.980585 14.9563 0.904251 14.9439 0.832496 14.9171C0.760741 14.8903 0.69497 14.8496 0.63894 14.7973C0.582909 14.7451 0.537715 14.6823 0.505938 14.6126C0.474162 14.5429 0.456425 14.4677 0.45374 14.3911C0.451056 14.3146 0.463476 14.2382 0.490292 14.1665C0.517108 14.0947 0.557794 14.029 0.610028 13.9729L5.35572 8.88407L0.117626 1.93154C0.0523114 1.84497 0.0124314 1.74191 0.00246702 1.63393C-0.00749732 1.52595 0.0128489 1.41733 0.0612194 1.32027C0.10959 1.22322 0.184068 1.14157 0.276285 1.08451C0.368503 1.02746 0.474805 0.997244 0.583248 0.997273H3.7793C3.86956 0.997249 3.9586 1.01818 4.0394 1.05842C4.1202 1.09866 4.19055 1.15711 4.24492 1.22917L7.93155 6.12144L12.5354 1.18291C12.5876 1.12679 12.6504 1.08151 12.7201 1.04966C12.7898 1.01782 12.8651 1.00003 12.9417 0.997314C13.0183 0.9946 13.0947 1.00702 13.1665 1.03385C13.2383 1.06068 13.3047 1.10141 13.3608 1.15369ZM7.44036 7.40872C7.42386 7.38964 7.40861 7.36951 7.39471 7.34846L3.48836 2.16343H1.75308L10.511 13.7885H12.2463L7.43975 7.40933L7.44036 7.40872Z"/></svg>';var C='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M5.76256 2.01256C6.09075 1.68437 6.53587 1.5 7 1.5C7.46413 1.5 7.90925 1.68437 8.23744 2.01256C8.4448 2.21993 8.59475 2.47397 8.67705 2.75H5.32295C5.40525 2.47397 5.5552 2.21993 5.76256 2.01256ZM3.78868 2.75C3.89405 2.07321 4.21153 1.44227 4.7019 0.951903C5.3114 0.34241 6.13805 0 7 0C7.86195 0 8.6886 0.34241 9.2981 0.951903C9.78847 1.44227 10.106 2.07321 10.2113 2.75H13C13.4142 2.75 13.75 3.08579 13.75 3.5C13.75 3.91422 13.4142 4.25 13 4.25H12V12.5C12 12.8978 11.842 13.2794 11.5607 13.5607C11.2794 13.842 10.8978 14 10.5 14H3.5C3.10217 14 2.72064 13.842 2.43934 13.5607C2.15804 13.2794 2 12.8978 2 12.5V4.25H1C0.585786 4.25 0.25 3.91422 0.25 3.5C0.25 3.08579 0.585786 2.75 1 2.75H3.78868ZM5 5.87646C5.34518 5.87646 5.625 6.15629 5.625 6.50146V10.503C5.625 10.8481 5.34518 11.128 5 11.128C4.65482 11.128 4.375 10.8481 4.375 10.503V6.50146C4.375 6.15629 4.65482 5.87646 5 5.87646ZM9.625 6.50146C9.625 6.15629 9.34518 5.87646 9 5.87646C8.65482 5.87646 8.375 6.15629 8.375 6.50146V10.503C8.375 10.8481 8.65482 11.128 9 11.128C9.34518 11.128 9.625 10.8481 9.625 10.503V6.50146Z" clip-rule="evenodd"/></svg>';var w='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M8 1C8 0.447715 7.55228 0 7 0C6.44772 0 6 0.447715 6 1V6H1C0.447715 6 0 6.44772 0 7C0 7.55228 0.447715 8 1 8H6V13C6 13.5523 6.44772 14 7 14C7.55228 14 8 13.5523 8 13V8H13C13.5523 8 14 7.55228 14 7C14 6.44772 13.5523 6 13 6H8V1Z" clip-rule="evenodd"/></svg>';var p='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M9.794,6.607,5.884,2.49A1.255,1.255,0,0,0,4.1,2.5l-3.9,4.1A.75.75,0,1,0,1.294,7.641L4.819,3.928a.249.249,0,0,1,.362,0L8.706,7.641A.75.75,0,1,0,9.794,6.607Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var g='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.5,4.1l-4.1-3.9A.75.75,0,1,0,2.36,1.294L6.072,4.819a.249.249,0,0,1,0,.362L2.36,8.706A.75.75,0,0,0,3.393,9.794L7.51,5.884A1.256,1.256,0,0,0,7.5,4.1Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var m='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.124,10a.749.749,0,0,1-.517-.206L2.5,5.9A1.257,1.257,0,0,1,2.49,4.116L6.607.206A.75.75,0,1,1,7.64,1.294L3.928,4.819a.249.249,0,0,0,0,.362L7.64,8.706A.75.75,0,0,1,7.124,10Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var y='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M5,7.874a1.238,1.238,0,0,1-.879-.364L.206,3.393A.75.75,0,1,1,1.294,2.36L4.819,6.072a.249.249,0,0,0,.362,0L8.706,2.36A.75.75,0,1,1,9.794,3.393L5.9,7.5A1.269,1.269,0,0,1,5,7.874Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var _='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 7C0 6.44772 0.447715 6 1 6H13C13.5523 6 14 6.44772 14 7C14 7.55228 13.5523 8 13 8H1C0.447715 8 0 7.55228 0 7Z" clip-rule="evenodd"/></svg>';var L='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 2a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1zm0 5a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1zm1 4a1 1 0 1 0 0 2h12a1 1 0 1 0 0-2H1z" clip-rule="evenodd"/></svg>';var j='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M3.31334 1.36381C3.31624 1.73602 3.17257 2.09441 2.9134 2.36157C2.65422 2.62872 2.30034 2.78317 1.92822 2.79156C1.55687 2.77793 1.20495 2.62217 0.945182 2.35645C0.685414 2.09073 0.537655 1.73538 0.53244 1.36381C0.548583 1.0018 0.701774 0.659474 0.96096 0.406224C1.22015 0.152974 1.56593 0.00775305 1.92822 0C2.28945 0.00789779 2.63402 0.153479 2.89148 0.40698C3.14894 0.66048 3.29985 1.00275 3.31334 1.36381ZM0.681607 5.3274C0.681607 4.50698 1.20369 4.63484 1.92822 4.63484C2.65275 4.63484 3.16418 4.50698 3.16418 5.3274V13.3185C3.16418 14.1496 2.64209 13.9791 1.92822 13.9791C1.21435 13.9791 0.681607 14.1496 0.681607 13.3185V5.3274Z"/><path d="M5.31647 5.32741C5.31647 4.86926 5.48694 4.69878 5.75331 4.64551C6.01968 4.59223 6.936 4.64551 7.25564 4.64551C7.57528 4.64551 7.70314 5.16759 7.69249 5.56182C7.96591 5.19486 8.32892 4.9042 8.7468 4.71765C9.16467 4.5311 9.62342 4.4549 10.0792 4.49634C10.5267 4.46898 10.975 4.53608 11.3949 4.69327C11.8148 4.85046 12.1969 5.09424 12.5165 5.40876C12.836 5.72328 13.0858 6.1015 13.2496 6.51887C13.4135 6.93623 13.4877 7.38339 13.4674 7.83129V13.2865C13.4674 14.1176 12.956 13.9471 12.2314 13.9471C11.5069 13.9471 10.9955 14.1176 10.9955 13.2865V9.02463C11.0142 8.80528 10.9855 8.58447 10.9114 8.3772C10.8372 8.16992 10.7193 7.98103 10.5657 7.82335C10.412 7.66568 10.2263 7.54291 10.021 7.46339C9.8157 7.38387 9.59571 7.34945 9.37595 7.36248C9.1572 7.35692 8.93978 7.3979 8.73806 7.48268C8.53635 7.56747 8.35494 7.69414 8.20586 7.85431C8.05677 8.01447 7.94341 8.20447 7.87328 8.41174C7.80314 8.61901 7.77784 8.83881 7.79904 9.05659V13.3185C7.79904 14.1496 7.27695 13.9791 6.55242 13.9791C5.8279 13.9791 5.31647 14.1496 5.31647 13.3185V5.32741Z"/></svg>';var x='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0.786499 3.39046C0.786499 1.95243 1.95225 0.786682 3.39027 0.786682H10.3337C11.7717 0.786682 12.9374 1.95243 12.9374 3.39046V10.3339C12.9374 11.7719 11.7717 12.9376 10.3337 12.9376H3.39027C1.95225 12.9376 0.786499 11.7719 0.786499 10.3339V3.39046ZM6.8621 4.78204C5.71332 4.78204 4.78204 5.71332 4.78204 6.8621C4.78204 8.01088 5.71332 8.94216 6.8621 8.94216C8.01088 8.94216 8.94216 8.01088 8.94216 6.8621C8.94216 5.71332 8.01088 4.78204 6.8621 4.78204ZM3.78204 6.8621C3.78204 5.16103 5.16103 3.78204 6.8621 3.78204C8.56317 3.78204 9.94216 5.16103 9.94216 6.8621C9.94216 8.56317 8.56317 9.94216 6.8621 9.94216C5.16103 9.94216 3.78204 8.56317 3.78204 6.8621ZM10.3349 3.98516C10.6842 3.98516 10.9673 3.70199 10.9673 3.35269C10.9673 3.00338 10.6842 2.72021 10.3349 2.72021C9.98556 2.72021 9.70239 3.00338 9.70239 3.35269C9.70239 3.70199 9.98556 3.98516 10.3349 3.98516Z" clip-rule="evenodd"/></svg>';var k='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M7 14C10.866 14 14 10.866 14 7C14 3.13401 10.866 0 7 0C3.13401 0 0 3.13401 0 7C0 10.866 3.13401 14 7 14ZM5.5 9.375C5.15482 9.375 4.875 9.65482 4.875 10C4.875 10.3452 5.15482 10.625 5.5 10.625H7H8.5C8.84518 10.625 9.125 10.3452 9.125 10C9.125 9.65482 8.84518 9.375 8.5 9.375H7.625V6.5C7.625 6.15482 7.34518 5.875 7 5.875H6C5.65482 5.875 5.375 6.15482 5.375 6.5C5.375 6.84518 5.65482 7.125 6 7.125H6.375V9.375H5.5ZM8 4C8 4.55228 7.55228 5 7 5C6.44772 5 6 4.55228 6 4C6 3.44772 6.44772 3 7 3C7.55228 3 8 3.44772 8 4Z" clip-rule="evenodd"/></svg>';var O='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M8.06356 3.75515C8.06356 2.67675 8.60345 2.67675 9.14334 2.67675H9.79121C9.89938 2.6782 10.0067 2.65799 10.107 2.61732C10.2072 2.57664 10.2982 2.51633 10.3747 2.43993C10.4512 2.36353 10.5116 2.2726 10.5523 2.17251C10.5931 2.07242 10.6133 1.96519 10.6118 1.85716V0.84346C10.6119 0.734917 10.5903 0.627453 10.5484 0.527307C10.5064 0.42716 10.445 0.336327 10.3677 0.260078C10.2903 0.18383 10.1986 0.123686 10.0978 0.0831375C9.99696 0.0425893 9.88909 0.0224446 9.78041 0.0238728L8.24712 0.00230466C7.80066 -0.0149417 7.35577 0.0647696 6.94316 0.235937C6.53054 0.407104 6.16003 0.665651 5.8572 0.993733C5.55436 1.32181 5.32641 1.71162 5.18908 2.13624C5.05175 2.56086 5.00831 3.01018 5.06176 3.4532V5.01689H4.20873C3.99108 5.01689 3.78235 5.10324 3.62845 5.25694C3.47455 5.41064 3.38809 5.61911 3.38809 5.83648V6.85018C3.38809 7.06754 3.47455 7.27601 3.62845 7.42971C3.78235 7.58341 3.99108 7.66976 4.20873 7.66976H5.06176V13.4608C5.06176 13.6038 5.11864 13.741 5.21989 13.8421C5.32114 13.9432 5.45846 14 5.60165 14H7.55606C7.69356 13.9917 7.8227 13.9313 7.91705 13.8311C8.01139 13.7308 8.0638 13.5984 8.06356 13.4608V7.66976H9.01377C9.23141 7.66976 9.44014 7.58341 9.59404 7.42971C9.74794 7.27601 9.8344 7.06754 9.8344 6.85018V5.83648C9.8344 5.61911 9.74794 5.41064 9.59404 5.25694C9.44014 5.10324 9.23141 5.01689 9.01377 5.01689H8.06356V3.75515Z"/></svg>';var A='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M10.715 -0.000976562C10.5152 -0.000976562 10.3174 0.0389464 10.1332 0.116448C9.95019 0.193468 9.78428 0.306058 9.64512 0.447676L1.40732 8.64549C1.34616 8.70635 1.30179 8.782 1.27853 8.86508L0.0185299 13.3651C-0.0301752 13.539 0.0187291 13.7257 0.146458 13.8535C0.274188 13.9812 0.46088 14.0301 0.634827 13.9814L5.13483 12.7214C5.21791 12.6981 5.29356 12.6537 5.35442 12.5926L13.5521 4.3549L13.5535 4.35355C13.6934 4.21438 13.8045 4.04896 13.8804 3.86676C13.9566 3.68398 13.9958 3.48792 13.9958 3.2899C13.9958 3.09188 13.9566 2.89582 13.8804 2.71303C13.8045 2.53083 13.6934 2.3654 13.5535 2.22624L13.5521 2.2249L11.7859 0.448721C11.6466 0.306611 11.4803 0.193657 11.2968 0.116448C11.1126 0.0389464 10.9148 -0.000976562 10.715 -0.000976562Z"/></svg>';var M='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M1.43934 0.43934C1.72064 0.158035 2.10218 0 2.5 0H7.5C7.63261 0 7.75979 0.0526784 7.85355 0.146447L12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V12.5C13 12.8978 12.842 13.2794 12.5607 13.5607C12.2794 13.842 11.8978 14 11.5 14H2.5C2.10217 14 1.72064 13.842 1.43934 13.5607C1.15804 13.2794 1 12.8978 1 12.5V1.5C1 1.10218 1.15804 0.720644 1.43934 0.43934ZM4.5 3.875C4.15482 3.875 3.875 4.15482 3.875 4.5C3.875 4.84518 4.15482 5.125 4.5 5.125H6.5C6.84518 5.125 7.125 4.84518 7.125 4.5C7.125 4.15482 6.84518 3.875 6.5 3.875H4.5ZM3.875 7.5C3.875 7.15482 4.15482 6.875 4.5 6.875H9.5C9.84518 6.875 10.125 7.15482 10.125 7.5C10.125 7.84518 9.84518 8.125 9.5 8.125H4.5C4.15482 8.125 3.875 7.84518 3.875 7.5ZM4.5 9.875C4.15482 9.875 3.875 10.1548 3.875 10.5C3.875 10.8452 4.15482 11.125 4.5 11.125H9.5C9.84518 11.125 10.125 10.8452 10.125 10.5C10.125 10.1548 9.84518 9.875 9.5 9.875H4.5Z" clip-rule="evenodd"/></svg>';var H='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M10 0a.75.75 0 0 1 .75.75v.75h1.5c.966 0 1.75.784 1.75 1.75v9A1.75 1.75 0 0 1 12.25 14H1.75A1.75 1.75 0 0 1 0 12.25v-9C0 2.284.784 1.5 1.75 1.5h1.5V.75a.75.75 0 0 1 1.5 0v.75h4.5V.75A.75.75 0 0 1 10 0zM3.25 3v.75a.75.75 0 0 0 1.5 0V3h4.5v.75a.75.75 0 0 0 1.5 0V3h1.5a.25.25 0 0 1 .25.25v2.282a1.002 1.002 0 0 0-.25-.032H1.75c-.086 0-.17.01-.25.032V3.25A.25.25 0 0 1 1.75 3h1.5z" clip-rule="evenodd"/></svg>';var S='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L5.58579 7L0.292893 12.2929C-0.0976311 12.6834 -0.0976311 13.3166 0.292893 13.7071C0.683417 14.0976 1.31658 14.0976 1.70711 13.7071L7 8.41421L12.2929 13.7071C12.6834 14.0976 13.3166 14.0976 13.7071 13.7071C14.0976 13.3166 14.0976 12.6834 13.7071 12.2929L8.41421 7L13.7071 1.70711C14.0976 1.31658 14.0976 0.683417 13.7071 0.292893C13.3166 -0.0976311 12.6834 -0.0976311 12.2929 0.292893L7 5.58579L1.70711 0.292893Z" clip-rule="evenodd"/></svg>';var I='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M7 14C10.866 14 14 10.866 14 7C14 3.13401 10.866 0 7 0C3.13401 0 0 3.13401 0 7C0 10.866 3.13401 14 7 14ZM7.625 4.5C7.625 4.15482 7.34518 3.875 7 3.875C6.65482 3.875 6.375 4.15482 6.375 4.5V7C6.375 7.14621 6.42626 7.28779 6.51986 7.40012L9.01986 10.4001C9.24084 10.6653 9.63494 10.7011 9.90012 10.4801C10.1653 10.2592 10.2011 9.86506 9.98014 9.59988L7.625 6.77372V4.5Z" clip-rule="evenodd"/></svg>';var Z='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M13.637 1.19792C14.0627 1.54974 14.1227 2.18006 13.7708 2.60579L5.73084 12.335L5.72842 12.3379C5.54554 12.5575 5.31602 12.7336 5.05655 12.8534C4.79707 12.9731 4.51417 13.0336 4.22842 13.0302L4.22752 13.0302C3.93709 13.0266 3.65125 12.9573 3.39146 12.8274C3.13254 12.6979 2.9062 12.5117 2.72931 12.2826C2.72871 12.2818 2.72812 12.281 2.72752 12.2802L0.210633 9.04426C-0.128437 8.60831 -0.0499029 7.98003 0.386044 7.64096C0.821992 7.30189 1.45027 7.38043 1.78934 7.81638L4.25291 10.9838L12.2291 1.33176C12.5809 0.906034 13.2113 0.846112 13.637 1.19792Z" clip-rule="evenodd"/></svg>';var V='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M9.794,6.607,5.884,2.49A1.255,1.255,0,0,0,4.1,2.5l-3.9,4.1A.75.75,0,1,0,1.294,7.641L4.819,3.928a.249.249,0,0,1,.362,0L8.706,7.641A.75.75,0,1,0,9.794,6.607Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var $='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.5,4.1l-4.1-3.9A.75.75,0,1,0,2.36,1.294L6.072,4.819a.249.249,0,0,1,0,.362L2.36,8.706A.75.75,0,0,0,3.393,9.794L7.51,5.884A1.256,1.256,0,0,0,7.5,4.1Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var B='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.124,10a.749.749,0,0,1-.517-.206L2.5,5.9A1.257,1.257,0,0,1,2.49,4.116L6.607.206A.75.75,0,1,1,7.64,1.294L3.928,4.819a.249.249,0,0,0,0,.362L7.64,8.706A.75.75,0,0,1,7.124,10Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var T='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M5,7.874a1.238,1.238,0,0,1-.879-.364L.206,3.393A.75.75,0,1,1,1.294,2.36L4.819,6.072a.249.249,0,0,0,.362,0L8.706,2.36A.75.75,0,1,1,9.794,3.393L5.9,7.5A1.269,1.269,0,0,1,5,7.874Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var N={components:[],event:false,lifecycle:false,render:false,custom:false};var E=function(){var r=N;if(f.hasWindow&&window.BaloiseDesignSystem&&window.BaloiseDesignSystem.config&&window.BaloiseDesignSystem.config.logger){r=window.BaloiseDesignSystem.config.logger}return r};var P=function(r){var e=function(e,n){var t=[];for(var i=2;i<arguments.length;i++){t[i-2]=arguments[i]}var a=E();if(a.components.includes(r)&&a[e]){console.log.apply(console,__spreadArray([n],t,false))}};return{custom:function(n){var t=[];for(var i=1;i<arguments.length;i++){t[i-1]=arguments[i]}return e.apply(void 0,__spreadArray(["custom"," ➡️ [".concat(r,"] - ").concat(n)],t,false))},lifecycle:function(n){var t=[];for(var i=1;i<arguments.length;i++){t[i-1]=arguments[i]}return e.apply(void 0,__spreadArray(["lifecycle","".concat(n==="connectedCallback"?"🟢":n==="disconnectedCallback"?"🔴":n==="componentDidLoad"?"🏁":" ➡️"," [").concat(r,"] - (").concat(n,")")],t,false))},event:function(n){var t=[];for(var i=1;i<arguments.length;i++){t[i-1]=arguments[i]}return e.apply(void 0,__spreadArray(["event","🔥 [".concat(r,"] - (").concat(n,")")],t,false))},render:function(){var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}return e.apply(void 0,__spreadArray(["render","🖌️ [".concat(r,"] - (render)")],n,false))}}};function D(r){if(r===void 0){r="unknown"}return function(e,n,t){var i=e.connectedCallback,a=e.disconnectedCallback,o=e.render,u=e.componentDidLoad,f=e.createLogger;var l=P(r);e.connectedCallback=function(){var r=this;l.lifecycle("connectedCallback",this);var e=Object.keys(this).filter((function(r){return r.startsWith("bal")})).filter((function(e){return typeof r[e]==="object"}));var n=function(n){var i=e[n];var a=t[i];t[i]={emit:function(){var e;var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}l.event.apply(l,__spreadArray([i,r],n,false));return(e=a.emit).call.apply(e,__spreadArray([r],n,false))}}};var t=this;for(var a=0;a<e.length;a++){n(a)}f.call(this,l.custom);return i&&i.call(this)};e.disconnectedCallback=function(){l.lifecycle("disconnectedCallback",this);return a&&a.call(this)};e.componentDidLoad=function(){l.lifecycle("componentDidLoad",this);return u&&u.call(this)};e.render=function(){l.render(this);return o.call(this)}}}var R={balIconClock:I,balIconClose:S,balIconInfoCircle:k,balIconPlus:w,balIconMinus:_,balIconEdit:A,balIconTrash:C,balIconNavGoLeft:m,balIconNavGoRight:g,balIconNavGoDown:y,balIconNavGoUp:p,balIconCheck:Z,balIconDate:H,balIconDocument:M,balIconUpload:h,balIconMenuBars:L,balIconFacebook:O,balIconInstagram:x,balIconLinkedin:j,balIconTwitter:b,balIconX:c,balIconXing:v,balIconYoutube:s,balIconWeb:d,balIconCaretDown:T,balIconCaretLeft:B,balIconCaretRight:$,balIconCaretUp:V};var F=r("f",{region:"CH",language:"de",allowedLanguages:["de","fr","it","en"],icons:R,fallbackLanguage:"de",logger:N,animated:true,httpFormSubmit:true,_generateHydrateForCustomElementsOutput:false});var U=r("U","".concat(F.language,"-").concat(F.region));var z=function(){function r(){this._componentObservers=[];this._observers=[];this._config=F}Object.defineProperty(r.prototype,"locale",{get:function(){return"".concat(this._config.language,"-").concat(this._config.region)},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"region",{get:function(){return this._config.region},set:function(r){if(r!==this._config.region){this._config.region=r;this._notify()}},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"language",{get:function(){return this._config.language},set:function(r){if(r!==this._config.language){if(this._config.allowedLanguages.includes(r)){this._config.language=r}else{this._config.language=this._config.fallbackLanguage}this._notify()}},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"allowedLanguages",{get:function(){return this._config.allowedLanguages},set:function(r){if(r!==this._config.allowedLanguages){this._config.allowedLanguages=r;this._notify()}},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"icons",{get:function(){return this._config.icons},set:function(r){this._config.icons=Object.assign(Object.assign({},this._config.icons),r);this._notify()},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"logger",{get:function(){return this._config.logger},set:function(r){this._config.logger=Object.assign({},r);this._notify()},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"animated",{get:function(){return this._config.animated},set:function(r){this._config.animated=r;this._notify()},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"httpFormSubmit",{get:function(){return this._config.httpFormSubmit},set:function(r){this._config.httpFormSubmit=r;this._notify()},enumerable:false,configurable:true});r.prototype.attach=function(r){var e=this._observers.includes(r);if(e){return console.log("Subject: Observer has been attached already.")}this._observers.push(r);r.configChanged(this._config)};r.prototype.detach=function(r){var e=this._observers.indexOf(r);if(e===-1){return console.log("Subject: Nonexistent observer.")}this._observers.splice(e,1)};r.prototype.attachComponent=function(r){var e=this._componentObservers.includes(r);if(e){return console.log("Subject: Observer has been attached already.")}this._componentObservers.push(r);r.configChanged(this._config)};r.prototype.detachComponent=function(r){var e=this._componentObservers.indexOf(r);if(e===-1){return console.log("Subject: Nonexistent observer.")}this._componentObservers.splice(e,1)};r.prototype.toString=function(){return JSON.stringify(this._config)};r.prototype.reset=function(r){this._config=Object.assign(Object.assign(Object.assign({},this._config),r),{icons:Object.assign(Object.assign({},this._config.icons),r.icons)});this._notify(false)};r.prototype._notify=function(r){if(r===void 0){r=true}for(var e=0,n=this._componentObservers;e<n.length;e++){var t=n[e];t.configChanged(this._config)}if(r){for(var i=0,a=this._observers;i<a.length;i++){var t=a[i];t.configChanged(this._config)}}};return r}();var G=new z;var W=function(r){try{var e=JSON.parse(r.localStorage.getItem(l));if(e!==null){return{animated:e}}return{}}catch(r){return{}}};var q=r("i",(function(r,e){if(r===void 0){r={}}if(e===void 0){e={}}if(Object.keys(e).length===0&&f.hasWindow){e=window}e.BaloiseDesignSystem=e.BaloiseDesignSystem||{};G.reset(Object.assign(Object.assign(Object.assign({},W(e)),r),{icons:Object.assign({},r.icons)}));e.BaloiseDesignSystem.config=G}));var Y=r("o",(function(r){X({configChanged:function(e){r(e)}})}));var J=r("n",(function(){if(!f.hasWindow){return}var r=window;return r&&r.BaloiseDesignSystem&&r.BaloiseDesignSystem.config}));var X=r("e",(function(r){var e=J();if(e){e.attach(r)}}));var K=r("h",(function(r){var e=J();if(e){e.detach(r)}}));var Q=r("_",(function(r){var e=J();if(e){e.attachComponent(r)}}));var rr=r("$",(function(r){var e=J();if(e){e.detachComponent(r)}}));var er=r("l",(function(r){var e=J();if(e){e.language=r}}));var nr=r("m",(function(r){var e=J();if(e){e.region=r}}));var tr=r("u",(function(r){var e=J();if(e){e.allowedLanguages=r}}));var ir=r("k",(function(r){var e=J();if(e){e.icons=Object.assign(Object.assign({},e.icons),r)}}));var ar=r("j",(function(r){var e=J();if(e){e.animated=r}}));var or=function(r,e){if(e===void 0){e=3e3}var n=false;if(!f.isSafari&&f.hasWindow&&"PerformanceObserver"in window){var t=new PerformanceObserver((function(e){var i=e.getEntries();var a=i[i.length-1];if(a){t.disconnect();n=true;fr((function(){return r()}))}}));t.observe({type:"largest-contentful-paint",buffered:true});setTimeout((function(){if(!n){t.disconnect();r()}}),e)}else{return setTimeout(r,32)}};var ur=r("K",(function(r,e){if(e===void 0){e=32}var n=false;var t=function(){if(!n){n=true;r()}};if(f.hasWindow){var i=setTimeout(t,e);window.addEventListener("load",(function(){clearTimeout(i);t()}))}else{setTimeout(t,32)}}));var fr=r("J",(function(r,e){if(e===void 0){e=5e3}if(f.hasWindow&&"requestIdleCallback"in window){window.requestIdleCallback(r,{timeout:e})}else{setTimeout(r,32)}}));var lr=r("w",(function(r){if(r===void 0){r=0}return new Promise((function(e){setTimeout((function(){return e()}),r)}))}));var sr=r("T",(function(r,e){var n=r._original||r;return{_original:r,emit:vr(n.emit.bind(n),e)}}));var vr=r("I",(function(r,e){if(e===void 0){e=0}var n;return function(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}clearTimeout(n);n=setTimeout.apply(void 0,__spreadArray([r,e],t,false))}}));var cr=r("Z",(function(r,e){return r&&r.tagName&&r.tagName===e.toUpperCase()}));var dr=r("t",(function(r,e){var n=e.parentNode;while(n!=null){if(n==r){return true}n=n.parentNode}return false}));var hr=r("X",(function(r,e){var n=e.parentNode;while(n!=null){if(n.tagName===r.toUpperCase()){return true}n=n.parentNode}return false}));var br=r("c",(function(r){return r.querySelector("bal-app")||r.body}));var Cr=r("d",(function(r,e){if(r.componentOnReady!==null&&r.componentOnReady!==undefined){r.componentOnReady().then((function(r){return e(r)}))}else{wr((function(){return e(r)}))}}));var wr=r("Q",(function(r){if(typeof __zone_symbol__requestAnimationFrame==="function"){return __zone_symbol__requestAnimationFrame(r)}if(typeof requestAnimationFrame==="function"){return requestAnimationFrame(r)}return setTimeout(r)}));var pr=r("W",(function(r,e){if(e===void 0){e=0}return new Promise((function(n){gr(r,e,n)}))}));var gr=function(r,e,n){if(e===void 0){e=0}var t;var i;var a={passive:true};var o=500;var u=function(){if(t){t()}};var f=function(e){if(e===undefined||r===e.target){u();n(e)}};if(r){r.addEventListener("webkitTransitionEnd",f,a);r.addEventListener("transitionend",f,a);i=setTimeout(f,e+o);t=function(){if(i){clearTimeout(i);i=undefined}r.removeEventListener("webkitTransitionEnd",f,a);r.removeEventListener("transitionend",f,a)}}return u};var mr=r("R",(function(r,e,n,t){if(f.hasWindow){var i=J();if(i){var a=i._ael;if(a){return a(r,e,n,t)}else if(i._ael){return i._ael(r,e,n,t)}}}return r.addEventListener(e,n,t)}));var yr=r("S",(function(r,e,n,t){if(f.hasWindow){var i=J();if(i){var a=i._rel;if(a){return a(r,e,n,t)}else if(i._rel){return i._rel(r,e,n,t)}}}return r.removeEventListener(e,n,t)}));var _r=r("v",(function(r){if(r){return new Promise((function(e){return Cr(r,e)}))}return Promise.resolve()}));var Lr=r("r",(function(r){var e=[];for(var t=1;t<arguments.length;t++){e[t-1]=arguments[t]}return __awaiter(n,__spreadArray([r],e,true),void 0,(function(r,e){var n,t;if(e===void 0){e=false}return __generator(this,(function(i){switch(i.label){case 0:n=r;if(!n)return[3,4];if(!(n.componentOnReady!==null&&n.componentOnReady!==undefined))return[3,2];return[4,n.componentOnReady()];case 1:t=i.sent();if(!e&&t!==null&&t!==undefined){return[2]}i.label=2;case 2:return[4,Promise.all(Array.from(n.children).map((function(r){return Lr(r,e)})))];case 3:i.sent();i.label=4;case 4:return[2]}}))}))}));var jr=r("A",(function(r){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,Lr(r,true)];case 1:e.sent();return[4,Or()];case 2:e.sent();return[4,Ar()];case 3:e.sent();return[2]}}))}))}));var xr=r("Y",(function(r,e,t){return __awaiter(n,void 0,void 0,(function(){var n,i;return __generator(this,(function(a){if(r&&r.target&&e&&e!==r.target){n=r.target;i=r.target.nodeName==="BAL-NAVBAR-BRAND";if(i){n=n.closest("bal-navbar")}if(n&&dr(n,e)){t(n)}}return[2]}))}))}));var kr=r("B",(function(r,e){return __awaiter(n,void 0,void 0,(function(){var n,t,i;return __generator(this,(function(a){switch(a.label){case 0:n=Object.assign({animated:false,icons:{balIconClose:S,balIconInfoCircle:k,balIconPlus:w,balIconMinus:_,balIconEdit:A,balIconTrash:C,balIconNavGoLeft:m,balIconNavGoRight:g,balIconNavGoDown:y,balIconNavGoUp:p,balIconCaretUp:V,balIconCaretDown:T,balIconCaretLeft:B,balIconCaretRight:$,balIconCheck:Z,balIconDate:H,balIconDocument:M,balIconUpload:h,balIconMenuBars:L}},e);t=r;if(!(t!==null&&t!==undefined))return[3,3];return[4,Lr(t,true)];case 1:a.sent();i=Array.prototype.slice.call(t.querySelectorAll("*")).filter((function(r){return r.tagName.match(/^bal/i)}));return[4,Promise.all(i.map((function(r){if(r.configChanged!==null&&r.configChanged!==undefined){return r.configChanged(n)}})))];case 2:a.sent();a.label=3;case 3:return[4,Promise.all([Or(),Mr(),Ar()])];case 4:a.sent();return[2]}}))}))}));var Or=r("x",(function(){return new Promise((function(r){return wr((function(){return Sr(r)}))}))}));var Ar=r("y",(function(){return new Promise((function(r){return fr((function(){return Sr(r)}))}))}));var Mr=r("z",(function(){return new Promise((function(r){return or((function(){return Sr(r)}))}))}));var Hr=r("C",(function(){return new Promise((function(r){return ur((function(){return Sr(r)}))}))}));var Sr=function(r){if(f.hasWindow&&"MessageChannel"in window){var e=new window.MessageChannel;e.port1.onmessage=r;e.port2.postMessage(undefined)}else{setTimeout(r,32)}};var Ir=function(){function r(r){this.options=r;this.container=null;this.queue=[];this.preQueue=[];this.queueLimit=5}r.prototype.create=function(r){var e=this;if(f.hasDocument){this.setupContainer(r);var n=this.findClone(r);if(n===undefined){var t=document.createElement(this.options.tag);Object.assign(t,r);t.addEventListener("balClose",(function(r){e.removeFromQueue(r.detail)}));this.preQueue.push(t);this.updateQueue();return t}return n}};r.prototype.setQueue=function(r){this.queueLimit=r};r.prototype.dismissAll=function(){return __awaiter(this,void 0,void 0,(function(){var r,e,n,t,i;return __generator(this,(function(a){switch(a.label){case 0:e=(r=this.container)===null||r===void 0?void 0:r.querySelectorAll(this.options.tag);if(!e)return[3,2];n=[];for(t=0;t<e.length;t++){i=e[t];if(i.close){n.push(i.close())}}return[4,Promise.all(n)];case 1:a.sent();a.label=2;case 2:return[2]}}))}))};r.prototype.clearAll=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){console.warn("[DEPRECATED] - use dismissAll() instead");return[2,this.dismissAll()]}))}))};r.prototype.findClone=function(r){for(var e=0;e<this.queue.length;e++){var n=this.queue[e];if(n.message===r.message&&n.color===r.color){return n}}return undefined};r.prototype.setupContainer=function(r){if(f.hasDocument){var e="".concat(this.options.tag,"-container");this.container=document.getElementById(e);if(this.container)return;if(!this.container){this.container=document.createElement("bal-notices");this.container.setAttribute("interface",this.options.tag.replace("bal-",""));this.container.setAttribute("animated",r.animated?"true":"false");if(r.container!==undefined){this.container.setAttribute("container",r.container===true?"":r.container)}this.container.id=e}document.body.appendChild(this.container)}};r.prototype.updateQueue=function(){return __awaiter(this,void 0,void 0,(function(){var r,e,n;return __generator(this,(function(t){switch(t.label){case 0:if(!(this.queue.length<this.queueLimit))return[3,2];e=this.preQueue.shift();if(!(e&&this.container))return[3,2];return[4,jr(this.container)];case 1:t.sent();n=this.container.querySelector(".bal-notices__inner");if(n){this.queue.push(e);n.insertAdjacentElement("beforeend",e)}t.label=2;case 2:if(this.queue.length===0){(r=this.container)===null||r===void 0?void 0:r.remove()}return[2]}}))}))};r.prototype.removeFromQueue=function(r){var e=this;this.queue=this.queue.filter((function(e){return e.id!==r}));setTimeout((function(){return e.updateQueue()}),0)};return r}();var Zr=function(r){__extends(e,r);function e(){return r.call(this,{tag:"bal-snackbar"})||this}e.prototype.create=function(e){return r.prototype.create.call(this,e)};return e}(Ir);r("D",Zr);var Vr=r("E",new Zr);var $r=function(r){__extends(e,r);function e(){return r.call(this,{tag:"bal-toast"})||this}e.prototype.create=function(e){return r.prototype.create.call(this,e)};return e}(Ir);r("F",$r);var Br=r("G",new $r);var Tr="19.8.0";var Nr=r("q",(function(r,e,n){if(r===void 0){r={}}if(e===void 0){e=undefined}if(n===void 0){n={}}if(Object.keys(n).length===0&&f.hasWindow){n=window}n.BaloiseDesignSystem=n.BaloiseDesignSystem||{};if(e){oe(e)}q(Object.assign(Object.assign({},r),e),n);n.BaloiseDesignSystem.toastController=Br;n.BaloiseDesignSystem.snackbarController=Vr;n.BaloiseDesignSystem.initialize=function(){return q(n.BaloiseDesignSystem.config,n)};n.BaloiseDesignSystem.version=Tr;if(r._generateHydrateForCustomElementsOutput){Er(a)}}));var Er=function(r){if(r===void 0){r=[]}var e="slot-fb{display:contents}slot-fb[hidden]{display:none}";var n="{visibility:hidden}.hydrated{visibility:inherit}";var t=typeof window!=="undefined"?window:{};if(!t.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var i=t.document.head;var a=i.querySelector("meta[charset]");var o=t.document.createElement("style");if(r.length>0){o.textContent+=e;o.textContent+=r.sort()+n;if(o.innerHTML.length){o.setAttribute("data-styles","");i.insertBefore(o,a?a.nextSibling:i.firstChild)}}};function Pr(){Nr()}var Dr=r("g",Pr);var Rr="";var Fr=Object.defineProperty;var Ur=function(r,e){for(var n in e)Fr(r,n,{get:e[n],enumerable:true})};var zr="http://www.w3.org/2000/svg";var Gr="http://www.w3.org/1999/xhtml";var Wr=function(r){if(r.__stencil__getHostRef){return r.__stencil__getHostRef()}return void 0};var qr=r("H",(function(r,e){r.__stencil__getHostRef=function(){return e};e.t=r}));var Yr=function(r,e){var n={i:0,$hostElement$:r,o:e,u:new Map};{n.l=new Promise((function(r){return n.v=r}))}{n.h=new Promise((function(r){return n.C=r}));r["s-p"]=[];r["s-rc"]=[]}var t=n;r.__stencil__getHostRef=function(){return t};return t};var Jr=function(r,e){return e in r};var Xr=function(r,e){return(0,console.error)(r,e)};var Kr=new Map;var Qr=function(r,n,t){var i=r.p.replace(/-/g,"_");var a=r.m;if(!a){return void 0}var o=Kr.get(a);if(o){return o[i]}
2
2
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return e.import("./".concat(a,".entry.js").concat("")).then((function(r){{Kr.set(a,r)}return r[i]}),(function(r){Xr(r,n.$hostElement$)}))};var re=new Map;var ee="{visibility:hidden}.hydrated{visibility:inherit}";var ne="slot-fb{display:contents}slot-fb[hidden]{display:none}";var te="http://www.w3.org/1999/xlink";var ie=typeof window!=="undefined"?window:{};var ae={i:0,_:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,e,n,t){return r.addEventListener(e,n,t)},rel:function(r,e,n,t){return r.removeEventListener(e,n,t)},ce:function(r,e){return new CustomEvent(r,e)}};var oe=function(r){Object.assign(ae,r)};var ue=function(){var r;var e=false;try{(r=ie.document)==null?void 0:r.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){e=true}}))}catch(r){}return e}();var fe=r("p",(function(r){return Promise.resolve(r)}));var le=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var se=false;var ve=[];var ce=[];var de=function(r,e){return function(n){r.push(n);if(!se){se=true;if(e&&ae.i&4){Ce(be)}else{ae.raf(be)}}}};var he=function(r){for(var e=0;e<r.length;e++){try{r[e](performance.now())}catch(r){Xr(r)}}r.length=0};var be=function(){he(ve);{he(ce);if(se=ve.length>0){ae.raf(be)}}};var Ce=function(r){return fe().then(r)};var we=r("V",de(ce,true));var pe=function(r){return r!=null&&r!==void 0};var ge=function(r){r=typeof r;return r==="object"||r==="function"};function me(r){var e,n,t;return(t=(n=(e=r.head)==null?void 0:e.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?t:void 0}var ye=function(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")};var _e={};Ur(_e,{err:function(){return je},map:function(){return xe},ok:function(){return Le},unwrap:function(){return ke},unwrapErr:function(){return Oe}});var Le=function(r){return{isOk:true,isErr:false,value:r}};var je=function(r){return{isOk:false,isErr:true,value:r}};function xe(r,e){if(r.isOk){var n=e(r.value);if(n instanceof Promise){return n.then((function(r){return Le(r)}))}else{return Le(n)}}if(r.isErr){var t=r.value;return je(t)}throw"should never get here"}var ke=function(r){if(r.isOk){return r.value}else{throw r.value}};var Oe=function(r){if(r.isErr){return r.value}else{throw r.value}};function Ae(r){var e=this.attachShadow({mode:"open"});if(le){var n=new CSSStyleSheet;n.replaceSync(Rr);e.adoptedStyleSheets.push(n)}}var Me=function(r){var e=Be(r,"childNodes");if(r.tagName&&r.tagName.includes("-")&&r["s-cr"]&&r.tagName!=="SLOT-FB"){Se(e,r.tagName).forEach((function(r){if(r.nodeType===1&&r.tagName==="SLOT-FB"){if(Ie(r,Ve(r),false).length){r.hidden=true}else{r.hidden=false}}}))}var n=0;for(n=0;n<e.length;n++){var t=e[n];if(t.nodeType===1&&Be(t,"childNodes").length){Me(t)}}};var He=function(r){var e=[];for(var n=0;n<r.length;n++){var t=r[n]["s-nr"]||void 0;if(t&&t.isConnected){e.push(t)}}return e};function Se(r,e,n){var t=0;var i=[];var a;for(;t<r.length;t++){a=r[t];if(a["s-sr"]&&(!e||a["s-hn"]===e)&&n===void 0){i.push(a)}i=__spreadArray(__spreadArray([],i,true),Se(a.childNodes,e,n),true)}return i}var Ie=function(r,e,n){if(n===void 0){n=true}var t=[];if(n&&r["s-sr"]||!r["s-sr"])t.push(r);var i=r;while(i=i.nextSibling){if(Ve(i)===e&&(n||!i["s-sr"]))t.push(i)}return t};var Ze=function(r,e){if(r.nodeType===1){if(r.getAttribute("slot")===null&&e===""){return true}if(r.getAttribute("slot")===e){return true}return false}if(r["s-sn"]===e){return true}return e===""};var Ve=function(r){return typeof r["s-sn"]==="string"?r["s-sn"]:r.nodeType===1&&r.getAttribute("slot")||void 0};function $e(r){if(r.assignedElements||r.assignedNodes||!r["s-sr"])return;var e=function(e){return function(r){var n=[];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 a=i.__childNodes?i.childNodes:He(i.childNodes);a.forEach((function(r){if(t===Ve(r)){n.push(r)}}));if(e){return n.filter((function(r){return r.nodeType===1}))}return n}.bind(r)};r.assignedElements=e(true);r.assignedNodes=e(false)}function Be(r,e){if("__"+e in r){var n=r["__"+e];if(typeof n!=="function")return n;return n.bind(r)}else{if(typeof r[e]!=="function")return r[e];return r[e].bind(r)}}var Te=function(r,e){if(e===void 0){e=""}{return function(){return}}};var Ne=function(r,e){{return function(){return}}};var Ee=r("M",(function(r,e){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}var i=null;var a=null;var o=null;var u=false;var f=false;var l=[];var s=function(e){for(var n=0;n<e.length;n++){i=e[n];if(Array.isArray(i)){s(i)}else if(i!=null&&typeof i!=="boolean"){if(u=typeof r!=="function"&&!ge(i)){i=String(i)}if(u&&f){l[l.length-1].L+=i}else{l.push(u?Pe(null,i):i)}f=u}}};s(n);if(e){if(e.key){a=e.key}if(e.name){o=e.name}{var v=e.className||e.class;if(v){e.class=typeof v!=="object"?v:Object.keys(v).filter((function(r){return v[r]})).join(" ")}}}if(typeof r==="function"){return r(e===null?{}:e,l,Fe)}var c=Pe(r,null);c.j=e;if(l.length>0){c.k=l}{c.O=a}{c.A=o}return c}));var Pe=function(r,e){var n={i:0,M:r,L:e,H:null,k:null};{n.j=null}{n.O=null}{n.A=null}return n};var De=r("N",{});var Re=function(r){return r&&r.M===De};var Fe={forEach:function(r,e){return r.map(Ue).forEach(e)},map:function(r,e){return r.map(Ue).map(e).map(ze)}};var Ue=function(r){return{vattrs:r.j,vchildren:r.k,vkey:r.O,vname:r.A,vtag:r.M,vtext:r.L}};var ze=function(r){if(typeof r.vtag==="function"){var e=__assign({},r.vattrs);if(r.vkey){e.key=r.vkey}if(r.vname){e.name=r.vname}return Ee.apply(void 0,__spreadArray([r.vtag,e],r.vchildren||[],false))}var n=Pe(r.vtag,r.vtext);n.j=r.vattrs;n.k=r.vchildren;n.O=r.vkey;n.A=r.vname;return n};var Ge=function(r){var e=ye(r);return new RegExp("(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?".concat(e,"))(").concat(e,"\\b)"),"g")};Ge("::slotted");Ge(":host");Ge(":host-context");var We=function(r,e,n){if(r!=null&&!ge(r)){if(e&4){{return r==="false"?false:r===""||!!r}}if(e&2){return typeof r==="string"?parseFloat(r):typeof r==="number"?r:NaN}if(e&1){return String(r)}return r}return r};var qe=r("O",(function(r){return Wr(r).$hostElement$}));var Ye=r("P",(function(r,e,n){var t=qe(r);return{emit:function(r){return Je(t,e,{bubbles:true,composed:true,cancelable:true,detail:r})}}}));var Je=function(r,e,n){var t=ae.ce(e,n);r.dispatchEvent(t);return t};var Xe=new WeakMap;var Ke=function(r,e,n){var t=re.get(r);if(le&&n){t=t||new CSSStyleSheet;if(typeof t==="string"){t=e}else{t.replaceSync(e)}}else{t=e}re.set(r,t)};var Qe=function(r,e,n){var t;var i=en(e);var a=re.get(i);if(!ie.document){return i}r=r.nodeType===11?r:ie.document;if(a){if(typeof a==="string"){r=r.head||r;var o=Xe.get(r);var u=void 0;if(!o){Xe.set(r,o=new Set)}if(!o.has(i)){{u=ie.document.createElement("style");u.innerHTML=a;var f=(t=ae.S)!=null?t:me(ie.document);if(f!=null){u.setAttribute("nonce",f)}if(!(e.i&1)){if(r.nodeName==="HEAD"){var l=r.querySelectorAll("link[rel=preconnect]");var s=l.length>0?l[l.length-1].nextSibling:r.querySelector("style");r.insertBefore(u,(s==null?void 0:s.parentNode)===r?s:null)}else if("host"in r){if(le){var v=new CSSStyleSheet;v.replaceSync(a);r.adoptedStyleSheets=__spreadArray([v],r.adoptedStyleSheets,true)}else{var c=r.querySelector("style");if(c){c.innerHTML=a+c.innerHTML}else{r.prepend(u)}}}else{r.append(u)}}if(e.i&1){r.insertBefore(u,null)}}if(e.i&4){u.innerHTML+=ne}if(o){o.add(i)}}}else if(!r.adoptedStyleSheets.includes(a)){r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[a],false)}}return i};var rn=function(r){var e=r.o;var n=r.$hostElement$;var t=e.i;var i=Te("attachStyles",e.p);var a=Qe(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);if(t&10){n["s-sc"]=a;n.classList.add(a+"-h")}i()};var en=function(r,e){return"sc-"+r.p};var nn=function(r,e,n,t,i,a,o){if(n===t){return}var u=Jr(r,e);var f=e.toLowerCase();if(e==="class"){var l=r.classList;var s=an(n);var v=an(t);{l.remove.apply(l,s.filter((function(r){return r&&!v.includes(r)})));l.add.apply(l,v.filter((function(r){return r&&!s.includes(r)})))}}else if(e==="style"){{for(var c in n){if(!t||t[c]==null){if(c.includes("-")){r.style.removeProperty(c)}else{r.style[c]=""}}}}for(var c in t){if(!n||t[c]!==n[c]){if(c.includes("-")){r.style.setProperty(c,t[c])}else{r.style[c]=t[c]}}}}else if(e==="key");else if(e==="ref"){if(t){t(r)}}else if(!u&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(Jr(ie,f)){e=f.slice(2)}else{e=f[2]+e.slice(3)}if(n||t){var d=e.endsWith(on);e=e.replace(un,"");if(n){ae.rel(r,e,n,d)}if(t){ae.ael(r,e,t,d)}}}else{var h=ge(t);if((u||h&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var b=t==null?"":t;if(e==="list"){u=false}else if(n==null||r[e]!=b){if(typeof r.__lookupSetter__(e)==="function"){r[e]=b}else{r.setAttribute(e,b)}}}else if(r[e]!==t){r[e]=t}}catch(r){}}var C=false;{if(f!==(f=f.replace(/^xlink\:?/,""))){e=f;C=true}}if(t==null||t===false){if(t!==false||r.getAttribute(e)===""){if(C){r.removeAttributeNS(te,e)}else{r.removeAttribute(e)}}}else if((!u||a&4||i)&&!h&&r.nodeType===1){t=t===true?"":t;if(C){r.setAttributeNS(te,e,t)}else{r.setAttribute(e,t)}}}};var tn=/\s/;var an=function(r){if(typeof r==="object"&&r&&"baseVal"in r){r=r.baseVal}if(!r||typeof r!=="string"){return[]}return r.split(tn)};var on="Capture";var un=new RegExp(on+"$");var fn=function(r,e,n,t){var i=e.H.nodeType===11&&e.H.host?e.H.host:e.H;var a=r&&r.j||{};var o=e.j||{};{for(var u=0,f=ln(Object.keys(a));u<f.length;u++){var l=f[u];if(!(l in o)){nn(i,l,a[l],void 0,n,e.i)}}}for(var s=0,v=ln(Object.keys(o));s<v.length;s++){var l=v[s];nn(i,l,a[l],o[l],n,e.i)}};function ln(r){return r.includes("ref")?__spreadArray(__spreadArray([],r.filter((function(r){return r!=="ref"})),true),["ref"],false):r}var sn;var vn;var cn;var dn=false;var hn=false;var bn=false;var Cn=false;var wn=function(r,e,n){var t;var a=e.k[n];var o=0;var u;var f;var l;if(!dn){bn=true;if(a.M==="slot"){a.i|=a.k?2:1}}if(a.L!==null){u=a.H=ie.document.createTextNode(a.L)}else if(a.i&1){u=a.H=ie.document.createTextNode("");{fn(null,a,Cn)}}else{if(!Cn){Cn=a.M==="svg"}if(!ie.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.")}u=a.H=ie.document.createElementNS(Cn?zr:Gr,!dn&&i.slotRelocation&&a.i&2?"slot-fb":a.M);if(Cn&&a.M==="foreignObject"){Cn=false}{fn(null,a,Cn)}if(pe(sn)&&u["s-si"]!==sn){u.classList.add(u["s-si"]=sn)}if(a.k){for(o=0;o<a.k.length;++o){f=wn(r,a,o);if(f){u.appendChild(f)}}}{if(a.M==="svg"){Cn=false}else if(u.tagName==="foreignObject"){Cn=true}}}u["s-hn"]=cn;{if(a.i&(2|1)){u["s-sr"]=true;u["s-cr"]=vn;u["s-sn"]=a.A||"";u["s-rf"]=(t=a.j)==null?void 0:t.ref;$e(u);l=r&&r.k&&r.k[n];if(l&&l.M===a.M&&r.H){{pn(r.H,false)}}{Mn(vn,u,e.H,r==null?void 0:r.H)}}}return u};var pn=function(r,e){ae.i|=1;var n=Array.from(r.__childNodes||r.childNodes);for(var t=n.length-1;t>=0;t--){var i=n[t];if(i["s-hn"]!==cn&&i["s-ol"]){An(Ln(i).parentNode,i,Ln(i));i["s-ol"].remove();i["s-ol"]=void 0;i["s-sh"]=void 0;bn=true}if(e){pn(i,e)}}ae.i&=-2};var gn=function(r,e,n,t,i,a){var o=r["s-cr"]&&r["s-cr"].parentNode||r;var u;if(o.shadowRoot&&o.tagName===cn){o=o.shadowRoot}for(;i<=a;++i){if(t[i]){u=wn(null,n,i);if(u){t[i].H=u;An(o,u,Ln(e))}}}};var mn=function(r,e,n){for(var t=e;t<=n;++t){var i=r[t];if(i){var a=i.H;On(i);if(a){{hn=true;if(a["s-ol"]){a["s-ol"].remove()}else{pn(a,true)}}a.remove()}}}};var yn=function(r,e,n,t,i){if(i===void 0){i=false}var a=0;var o=0;var u=0;var f=0;var l=e.length-1;var s=e[0];var v=e[l];var c=t.length-1;var d=t[0];var h=t[c];var b;var C;while(a<=l&&o<=c){if(s==null){s=e[++a]}else if(v==null){v=e[--l]}else if(d==null){d=t[++o]}else if(h==null){h=t[--c]}else if(_n(s,d,i)){jn(s,d,i);s=e[++a];d=t[++o]}else if(_n(v,h,i)){jn(v,h,i);v=e[--l];h=t[--c]}else if(_n(s,h,i)){if(s.M==="slot"||h.M==="slot"){pn(s.H.parentNode,false)}jn(s,h,i);An(r,s.H,v.H.nextSibling);s=e[++a];h=t[--c]}else if(_n(v,d,i)){if(s.M==="slot"||h.M==="slot"){pn(v.H.parentNode,false)}jn(v,d,i);An(r,v.H,s.H);v=e[--l];d=t[++o]}else{u=-1;{for(f=a;f<=l;++f){if(e[f]&&e[f].O!==null&&e[f].O===d.O){u=f;break}}}if(u>=0){C=e[u];if(C.M!==d.M){b=wn(e&&e[o],n,u)}else{jn(C,d,i);e[u]=void 0;b=C.H}d=t[++o]}else{b=wn(e&&e[o],n,o);d=t[++o]}if(b){{An(Ln(s.H).parentNode,b,Ln(s.H))}}}}if(a>l){gn(r,t[c+1]==null?null:t[c+1].H,n,t,o,c)}else if(o>c){mn(e,a,l)}};var _n=function(r,e,n){if(n===void 0){n=false}if(r.M===e.M){if(r.M==="slot"){return r.A===e.A}if(!n){return r.O===e.O}if(n&&!r.O&&e.O){r.O=e.O}return true}return false};var Ln=function(r){return r&&r["s-ol"]||r};var jn=function(r,e,n){if(n===void 0){n=false}var t=e.H=r.H;var a=r.k;var o=e.k;var u=e.M;var f=e.L;var l;if(f===null){{Cn=u==="svg"?true:u==="foreignObject"?false:Cn}{fn(r,e,Cn)}if(a!==null&&o!==null){yn(t,a,e,o,n)}else if(o!==null){if(r.L!==null){t.textContent=""}gn(t,null,e,o,0,o.length-1)}else if(!n&&i.updatable&&a!==null){mn(a,0,a.length-1)}if(Cn&&u==="svg"){Cn=false}}else if(l=t["s-cr"]){l.parentNode.textContent=f}else if(r.L!==f){t.data=f}};var xn=[];var kn=function(r){var e;var n;var t;var i=r.__childNodes||r.childNodes;for(var a=0,o=i;a<o.length;a++){var u=o[a];if(u["s-sr"]&&(e=u["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;var f=u["s-sn"];var l=function(){e=n[t];if(!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==u["s-hn"]&&true){if(Ze(e,f)){var r=xn.find((function(r){return r.I===e}));hn=true;e["s-sn"]=e["s-sn"]||f;if(r){r.I["s-sh"]=u["s-hn"];r.Z=u}else{e["s-sh"]=u["s-hn"];xn.push({Z:u,I:e})}if(e["s-sr"]){xn.map((function(n){if(Ze(n.I,e["s-sn"])){r=xn.find((function(r){return r.I===e}));if(r&&!n.Z){n.Z=r.Z}}}))}}else if(!xn.some((function(r){return r.I===e}))){xn.push({I:e})}}};for(t=n.length-1;t>=0;t--){l()}}if(u.nodeType===1){kn(u)}}};var On=function(r){{r.j&&r.j.ref&&r.j.ref(null);r.k&&r.k.map(On)}};var An=function(r,e,n){if(typeof e["s-sn"]==="string"&&!!e["s-sr"]&&!!e["s-cr"]){Mn(e["s-cr"],e,r,e.parentElement)}{return r==null?void 0:r.insertBefore(e,n)}};function Mn(r,e,n,t){var i,a;var o;if(r&&typeof e["s-sn"]==="string"&&!!e["s-sr"]&&r.parentNode&&r.parentNode["s-sc"]&&(o=e["s-si"]||r.parentNode["s-sc"])){var u=e["s-sn"];var f=e["s-hn"];(i=n.classList)==null?void 0:i.add(o+"-s");if(t&&((a=t.classList)==null?void 0:a.contains(o+"-s"))){var l=(t.__childNodes||t.childNodes)[0];var s=false;while(l){if(l["s-sn"]!==u&&l["s-hn"]===f&&!!l["s-sr"]){s=true;break}l=l.nextSibling}if(!s)t.classList.remove(o+"-s")}}}var Hn=function(r,e,n){if(n===void 0){n=false}var t,i,a,o;var u=r.$hostElement$;var f=r.o;var l=r.V||Pe(null,null);var s=Re(e);var v=s?e:Ee(null,null,e);cn=u.tagName;if(f.$){v.j=v.j||{};f.$.map((function(r){var e=r[0],n=r[1];return v.j[n]=u[e]}))}if(n&&v.j){for(var c=0,d=Object.keys(v.j);c<d.length;c++){var h=d[c];if(u.hasAttribute(h)&&!["key","ref","style","class"].includes(h)){v.j[h]=u[h]}}}v.M=null;v.i|=4;r.V=v;v.H=l.H=u.shadowRoot||u;{sn=u["s-sc"]}dn=!!(f.i&1)&&!(f.i&128);{vn=u["s-cr"];hn=false}jn(l,v,n);{ae.i|=1;if(bn){kn(v.H);for(var b=0,C=xn;b<C.length;b++){var w=C[b];var p=w.I;if(!p["s-ol"]&&ie.document){var g=ie.document.createTextNode("");g["s-nr"]=p;An(p.parentNode,p["s-ol"]=g,p)}}for(var m=0,y=xn;m<y.length;m++){var w=y[m];var p=w.I;var _=w.Z;if(_){var L=_.parentNode;var j=_.nextSibling;{var g=(t=p["s-ol"])==null?void 0:t.previousSibling;while(g){var x=(i=g["s-nr"])!=null?i:null;if(x&&x["s-sn"]===p["s-sn"]&&L===(x.__parentNode||x.parentNode)){x=x.nextSibling;while(x===p||(x==null?void 0:x["s-sr"])){x=x==null?void 0:x.nextSibling}if(!x||!x["s-nr"]){j=x;break}}g=g.previousSibling}}var k=p.__parentNode||p.parentNode;var O=p.__nextSibling||p.nextSibling;if(!j&&L!==k||O!==j){if(p!==j){if(!p["s-hn"]&&p["s-ol"]){p["s-hn"]=p["s-ol"].parentNode.nodeName}An(L,p,j);if(p.nodeType===1&&p.tagName!=="SLOT-FB"){p.hidden=(a=p["s-ih"])!=null?a:false}}}p&&typeof _["s-rf"]==="function"&&_["s-rf"](_)}else{if(p.nodeType===1){if(n){p["s-ih"]=(o=p.hidden)!=null?o:false}p.hidden=true}}}}if(hn){Me(v.H)}ae.i&=-2;xn.length=0}vn=void 0};var Sn=function(r,e){if(e&&!r.B&&e["s-p"]){var n=e["s-p"].push(new Promise((function(t){return r.B=function(){e["s-p"].splice(n-1,1);t()}})))}};var In=function(r,e){{r.i|=16}if(r.i&4){r.i|=512;return}Sn(r,r.T);var n=function(){return Zn(r,e)};return we(n)};var Zn=function(r,e){var n=r.$hostElement$;var t=Te("scheduleUpdate",r.o.p);var i=r.t;if(!i){throw new Error("Can't render component <".concat(n.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var a;if(e){{r.i|=256;if(r.N){r.N.map((function(r){var e=r[0],t=r[1];return Pn(i,e,t,n)}));r.N=void 0}}a=Pn(i,"componentWillLoad",void 0,n)}else{a=Pn(i,"componentWillUpdate",void 0,n)}a=Vn(a,(function(){return Pn(i,"componentWillRender",void 0,n)}));t();return Vn(a,(function(){return Bn(r,i,e)}))};var Vn=function(r,e){return $n(r)?r.then(e).catch((function(r){console.error(r);e()})):e()};var $n=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var Bn=function(r,e,t){return __awaiter(n,void 0,void 0,(function(){var n,i,a,o,u,f,l;return __generator(this,(function(s){i=r.$hostElement$;a=Te("update",r.o.p);o=i["s-rc"];if(t){rn(r)}u=Te("render",r.o.p);{Tn(r,e,i,t)}if(o){o.map((function(r){return r()}));i["s-rc"]=void 0}u();a();{f=(n=i["s-p"])!=null?n:[];l=function(){return Nn(r)};if(f.length===0){l()}else{Promise.all(f).then(l);r.i|=4;f.length=0}}return[2]}))}))};var Tn=function(r,e,n,t){try{e=e.render();{r.i&=-17}{r.i|=2}{{{Hn(r,e,t)}}}}catch(e){Xr(e,r.$hostElement$)}return null};var Nn=function(r){var e=r.o.p;var n=r.$hostElement$;var t=Te("postUpdate",e);var i=r.t;var a=r.T;Pn(i,"componentDidRender",void 0,n);if(!(r.i&64)){r.i|=64;{Dn(n)}Pn(i,"componentDidLoad",void 0,n);t();{r.C(n);if(!a){En()}}}else{Pn(i,"componentDidUpdate",void 0,n);t()}{r.v(n)}{if(r.B){r.B();r.B=void 0}if(r.i&512){Ce((function(){return In(r,false)}))}r.i&=-517}};var En=function(r){Ce((function(){return Je(ie,"appload",{detail:{namespace:t}})}))};var Pn=function(r,e,n,t){if(r&&r[e]){try{return r[e](n)}catch(r){Xr(r,t)}}return void 0};var Dn=function(r){var e;return r.classList.add((e=i.hydratedSelectorName)!=null?e:"hydrated")};var Rn=function(r,e){return Wr(r).u.get(e)};var Fn=function(r,e,n,t){var i=Wr(r);if(!i){throw new Error("Couldn't find host element for \"".concat(t.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).'))}var a=i.$hostElement$;var o=i.u.get(e);var u=i.i;var f=i.t;n=We(n,t.P[e][0]);var l=Number.isNaN(o)&&Number.isNaN(n);var s=n!==o&&!l;if((!(u&8)||o===void 0)&&s){i.u.set(e,n);if(f){if(t.D&&u&128){var v=t.D[e];if(v){v.map((function(r){try{f[r](n,o,e)}catch(r){Xr(r,a)}}))}}if((u&(2|16))===2){if(f.componentShouldUpdate){if(f.componentShouldUpdate(n,o,e)===false){return}}In(i,false)}}}};var Un=function(r,e,n){var t,a;var o=r.prototype;if(e.P||(e.D||r.watchers)){if(r.watchers&&!e.D){e.D=r.watchers}var u=Object.entries((t=e.P)!=null?t:{});u.map((function(r){var t=r[0],i=r[1][0];if(i&31||n&2&&i&32){var a=Object.getOwnPropertyDescriptor(o,t)||{},u=a.get,f=a.set;if(u)e.P[t][0]|=2048;if(f)e.P[t][0]|=4096;if(n&1||!u){Object.defineProperty(o,t,{get:function(){{if((e.P[t][0]&2048)===0){return Rn(this,t)}var r=Wr(this);var n=r?r.t:o;if(!n)return;return n[t]}},configurable:true,enumerable:true})}Object.defineProperty(o,t,{set:function(r){var a=this;var o=Wr(this);if(f){var u=i&32?this[t]:o.$hostElement$[t];if(typeof u==="undefined"&&o.u.get(t)){r=o.u.get(t)}else if(!o.u.get(t)&&u){o.u.set(t,u)}f.apply(this,[We(r,i)]);r=i&32?this[t]:o.$hostElement$[t];Fn(this,t,r,e);return}{if((n&1)===0||(e.P[t][0]&4096)===0){Fn(this,t,r,e);if(n&1&&!o.t){o.h.then((function(){if(e.P[t][0]&4096&&o.t[t]!==o.u.get(t)){o.t[t]=r}}))}return}var l=function(){var n=o.t[t];if(!o.u.get(t)&&n){o.u.set(t,n)}o.t[t]=We(r,i);Fn(a,t,o.t[t],e)};if(o.t){l()}else{o.h.then((function(){return l()}))}}}})}else if(n&1&&i&64){Object.defineProperty(o,t,{value:function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}var n;var i=Wr(this);return(n=i==null?void 0:i.l)==null?void 0:n.then((function(){var e;return(e=i.t)==null?void 0:e[t].apply(e,r)}))}})}}));if(n&1){var f=new Map;o.attributeChangedCallback=function(r,n,t){var a=this;ae.jmp((function(){var u;var l=f.get(r);if(a.hasOwnProperty(l)&&i.lazyLoad){t=a[l];delete a[l]}else if(o.hasOwnProperty(l)&&typeof a[l]==="number"&&a[l]==t){return}else if(l==null){var s=Wr(a);var v=s==null?void 0:s.i;if(v&&!(v&8)&&v&128&&t!==n){var c=s.t;var d=(u=e.D)==null?void 0:u[r];d==null?void 0:d.forEach((function(e){if(c[e]!=null){c[e].call(c,t,n,r)}}))}return}var h=Object.getOwnPropertyDescriptor(o,l);t=t===null&&typeof a[l]==="boolean"?false:t;if(t!==a[l]&&(!h.get||!!h.set)){a[l]=t}}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((a=e.D)!=null?a:{}),true),u.filter((function(r){var e=r[0],n=r[1];return n[0]&15})).map((function(r){var n=r[0],t=r[1];var i;var a=t[1]||n;f.set(a,n);if(t[0]&512){(i=e.$)==null?void 0:i.push([n,a])}return a})),true)))}}return r};var zn=function(r,e,t,i){return __awaiter(n,void 0,void 0,(function(){var n,i,a,o,u,f,l,s,v,c,d;return __generator(this,(function(h){switch(h.label){case 0:if(!((e.i&32)===0))return[3,6];e.i|=32;i=t.m;if(!i)return[3,4];a=Qr(t,e);if(!(a&&"then"in a))return[3,2];o=Ne();return[4,a];case 1:n=h.sent();o();return[3,3];case 2:n=a;h.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.p,"#").concat(e.R,'" was not found'))}if(!n.isProxied){{t.D=n.watchers}Un(n,t,2);n.isProxied=true}u=Te("createInstance",t.p);{e.i|=8}try{new n(e)}catch(e){Xr(e,r)}{e.i&=-9}{e.i|=128}u();Gn(e.t,r);return[3,5];case 4:n=r.constructor;f=r.localName;customElements.whenDefined(f).then((function(){return e.i|=128}));h.label=5;case 5:if(n&&n.style){l=void 0;if(typeof n.style==="string"){l=n.style}s=en(t);if(!re.has(s)){v=Te("registerStyles",t.p);Ke(s,l,!!(t.i&1));v()}}h.label=6;case 6:c=e.T;d=function(){return In(e,true)};if(c&&c["s-rc"]){c["s-rc"].push(d)}else{d()}return[2]}}))}))};var Gn=function(r,e){{Pn(r,"connectedCallback",void 0,e)}};var Wn=function(r){if((ae.i&1)===0){var e=Wr(r);var n=e.o;var t=Te("connectedCallback",n.p);if(!(e.i&1)){e.i|=1;{if(n.i&(4|8)){qn(r)}}{var i=r;while(i=i.parentNode||i.host){if(i["s-p"]){Sn(e,e.T=i);break}}}if(n.P){Object.entries(n.P).map((function(e){var n=e[0],t=e[1][0];if(t&31&&r.hasOwnProperty(n)){var i=r[n];delete r[n];r[n]=i}}))}{Ce((function(){return zn(r,e,n)}))}}else{Kn(r,e,n.F);if(e==null?void 0:e.t){Gn(e.t,r)}else if(e==null?void 0:e.h){e.h.then((function(){return Gn(e.t,r)}))}}t()}};var qn=function(r){if(!ie.document){return}var e=r["s-cr"]=ie.document.createComment("");e["s-cn"]=true;An(r,e,r.firstChild)};var Yn=function(r,e){{Pn(r,"disconnectedCallback",void 0,e||r)}};var Jn=function(r){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){if((ae.i&1)===0){e=Wr(r);{if(e.U){e.U.map((function(r){return r()}));e.U=void 0}}if(e==null?void 0:e.t){Yn(e.t,r)}else if(e==null?void 0:e.h){e.h.then((function(){return Yn(e.t,r)}))}}if(Xe.has(r)){Xe.delete(r)}if(r.shadowRoot&&Xe.has(r.shadowRoot)){Xe.delete(r.shadowRoot)}return[2]}))}))};var Xn=r("b",(function(r,e){if(e===void 0){e={}}var n;if(!ie.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var t=Te();var i=[];var a=e.exclude||[];var o=ie.customElements;var u=ie.document.head;var f=u.querySelector("meta[charset]");var l=ie.document.createElement("style");var s=[];var v;var c=true;Object.assign(ae,e);ae._=new URL(e.resourcesUrl||"./",ie.document.baseURI).href;var d=false;r.map((function(r){r[1].map((function(e){var n;var t={i:e[0],p:e[1],P:e[2],F:e[3]};if(t.i&4){d=true}{t.P=e[2]}{t.F=e[3]}{t.$=[]}{t.D=(n=e[4])!=null?n:{}}var u=t.p;var f=function(r){__extends(e,r);function e(e){var n=r.call(this,e)||this;n.hasRegisteredEventListeners=false;e=n;Yr(e,t);if(t.i&1){{if(!e.shadowRoot){Ae.call(e,t)}else{if(e.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(t.p,"! Mode is set to ").concat(e.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return n}e.prototype.connectedCallback=function(){var r=this;var e=Wr(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;Kn(this,e,t.F)}if(v){clearTimeout(v);v=null}if(c){s.push(this)}else{ae.jmp((function(){return Wn(r)}))}};e.prototype.disconnectedCallback=function(){var r=this;ae.jmp((function(){return Jn(r)}));ae.raf((function(){var e;var n=Wr(r);var t=s.findIndex((function(e){return e===r}));if(t>-1){s.splice(t,1)}if(((e=n==null?void 0:n.V)==null?void 0:e.H)instanceof Node&&!n.V.H.isConnected){delete n.V.H}}))};e.prototype.componentOnReady=function(){return Wr(this).h};return e}(HTMLElement);t.m=r[0];if(!a.includes(u)&&!o.get(u)){i.push(u);o.define(u,Un(f,t,1))}}))}));if(i.length>0){if(d){l.textContent+=ne}{l.textContent+=i.sort()+ee}if(l.innerHTML.length){l.setAttribute("data-styles","");var h=(n=ae.S)!=null?n:me(ie.document);if(h!=null){l.setAttribute("nonce",h)}u.insertBefore(l,f?f.nextSibling:u.firstChild)}}c=false;if(s.length){s.map((function(r){return r.connectedCallback()}))}else{{ae.jmp((function(){return v=setTimeout(En,30)}))}}t()}));var Kn=function(r,e,n,t){if(n&&ie.document){n.map((function(n){var t=n[0],i=n[1],a=n[2];var o=rt(ie.document,r,t);var u=Qn(e,a);var f=et(t);ae.ael(o,i,u,f);(e.U=e.U||[]).push((function(){return ae.rel(o,i,u,f)}))}))}};var Qn=function(r,e){return function(n){var t;try{{if(r.i&256){(t=r.t)==null?void 0:t[e](n)}else{(r.N=r.N||[]).push([e,n])}}}catch(e){Xr(e,r.$hostElement$)}}};var rt=function(r,e,n){if(n&4){return r}if(n&8){return ie}return e};var et=function(r){return ue?{passive:(r&1)!==0,capture:(r&2)!==0}:(r&2)!==0};var nt=r("s",(function(r){return ae.S=r}))}}}));
@@ -1 +1 @@
1
- System.register(["./p-B2LhbhnE.system.js"],(function(t){"use strict";var n;return{setters:[function(t){n=t.a}],execute:function(){t("L",u);function u(){return function(t,u,e){var i=t.connectedCallback,r=t.disconnectedCallback;t.connectedCallback=function(){n.attach(this);return i&&i.call(this)};t.disconnectedCallback=function(){n.detach(this);return r&&r.call(this)}}}}}}));
1
+ System.register(["./p-D8hNfBgq.system.js"],(function(t){"use strict";var n;return{setters:[function(t){n=t.a}],execute:function(){t("L",u);function u(){return function(t,u,e){var i=t.connectedCallback,r=t.disconnectedCallback;t.connectedCallback=function(){n.attach(this);return i&&i.call(this)};t.disconnectedCallback=function(){n.detach(this);return r&&r.call(this)}}}}}}));
@@ -1 +1 @@
1
- var __extends=this&&this.__extends||function(){var n=function(t,i){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))n[i]=t[i]};return n(t,i)};return function(t,i){if(typeof i!=="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");n(t,i);function e(){this.constructor=t}t.prototype=i===null?Object.create(i):(e.prototype=i.prototype,new e)}}();System.register(["./p-B2LhbhnE.system.js","./p-DS0STRcD.system.js","./p-CBMgyOmf.system.js"],(function(n){"use strict";var t,i,e;return{setters:[function(n){t=n.B},function(n){i=n.a},function(n){e=n.a}],execute:function(){var r=function(n){__extends(i,n);function i(){var i=n.call(this,(function(n,t){n.windowResizeListener()}))||this;i.listener=new t;return i}i.prototype.attach=function(t){var i=this;n.prototype.attach.call(this,t);if(e.hasWindow){this.listener.connect(window);this.listener.add((function(){return n.prototype.notify.call(i)}))}};i.prototype.detach=function(){n.prototype.detach.call(this);this.listener.disconnect()};return i}(i);n("B",r);new r}}}));
1
+ var __extends=this&&this.__extends||function(){var n=function(t,i){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))n[i]=t[i]};return n(t,i)};return function(t,i){if(typeof i!=="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");n(t,i);function e(){this.constructor=t}t.prototype=i===null?Object.create(i):(e.prototype=i.prototype,new e)}}();System.register(["./p-D8hNfBgq.system.js","./p-DS0STRcD.system.js","./p-CBMgyOmf.system.js"],(function(n){"use strict";var t,i,e;return{setters:[function(n){t=n.B},function(n){i=n.a},function(n){e=n.a}],execute:function(){var r=function(n){__extends(i,n);function i(){var i=n.call(this,(function(n,t){n.windowResizeListener()}))||this;i.listener=new t;return i}i.prototype.attach=function(t){var i=this;n.prototype.attach.call(this,t);if(e.hasWindow){this.listener.connect(window);this.listener.add((function(){return n.prototype.notify.call(i)}))}};i.prototype.detach=function(){n.prototype.detach.call(this);this.listener.disconnect()};return i}(i);n("B",r);new r}}}));
@@ -1 +1 @@
1
- var __extends=this&&this.__extends||function(){var t=function(e,n){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]};return t(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function i(){this.constructor=e}e.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}}();var __awaiter=this&&this.__awaiter||function(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,u){function s(t){try{f(i.next(t))}catch(t){u(t)}}function o(t){try{f(i["throw"](t))}catch(t){u(t)}}function f(t){t.done?n(t.value):r(t.value).then(s,o)}f((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},i,r,u,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(t){return function(e){return f([t,e])}}function f(o){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(n=0)),n)try{if(i=1,r&&(u=o[0]&2?r["return"]:o[0]?r["throw"]||((u=r["return"])&&u.call(r),0):r.next)&&!(u=u.call(r,o[1])).done)return u;if(r=0,u)o=[o[0]&2,u.value];switch(o[0]){case 0:case 1:u=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;r=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(u=n.trys,u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){n.label=o[1];break}if(o[0]===6&&n.label<u[1]){n.label=u[1];u=o;break}if(u&&n.label<u[2]){n.label=u[2];n.ops.push(o);break}if(u[2])n.ops.pop();n.trys.pop();continue}o=e.call(t,n)}catch(t){o=[6,t];r=0}finally{i=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-CBMgyOmf.system.js","./p-S0PfBzNO.system.js","./p-DS0STRcD.system.js","./p--7rLOIFd.system.js"],(function(t){"use strict";var e,n,i,r,u,s,o,f,c,a,h,l;return{setters:[function(t){e=t.a;n=t.I;i=t.R;r=t.S},function(t){u=t.b},function(t){s=t.L;o=t.S},function(t){f=t.j;c=t.k;a=t.l;h=t.m;l=t.n}],execute:function(){var b=function(){function t(t){if(t===void 0){t={}}this.previousWidth=e.window.width;this.previousHeight=e.window.height;this.previousIsLandscape=this.isLandscape;this.options={onlyListenToWidthChanges:false};this.options=Object.assign(Object.assign({},this.options),t)}t.prototype.hasResized=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(u.hasTouchScreen){if(!this.sameWidth||this.previousIsLandscape!==this.isLandscape){this.resetPreviousValues();return[2,true]}}else{if(this.options.onlyListenToWidthChanges){if(!this.sameWidth){this.resetPreviousValues();return[2,true]}}else{if(!this.sameWidth||!this.sameHeight){this.resetPreviousValues();return[2,true]}}}return[2,false]}))}))};Object.defineProperty(t.prototype,"isLandscape",{get:function(){return e.window.width>e.window.height},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"sameWidth",{get:function(){return this.previousWidth===e.window.width},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"sameHeight",{get:function(){return this.previousHeight===e.window.height},enumerable:false,configurable:true});t.prototype.resetPreviousValues=function(){this.previousWidth=e.window.width;this.previousHeight=e.window.height;this.previousIsLandscape=this.isLandscape};return t}();var v=function(t){__extends(e,t);function e(){var e=t.apply(this,arguments)||this;e.resizeHandler=new b({onlyListenToWidthChanges:true});e.debouncedNotify=n((function(){return e.notify()}),100);e.notify=function(){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,this.resizeHandler.hasResized()];case 1:if(e.sent()){t.prototype.notify.call(this,undefined)}return[2]}}))}))};return e}e.prototype.connect=function(e){t.prototype.connect.call(this,e);if(this.el){i(this.el,"resize",this.debouncedNotify,{passive:true})}};e.prototype.disconnect=function(){t.prototype.disconnect.call(this);if(this.el){r(this.el,"resize",this.debouncedNotify)}};return e}(s);t("B",v);var d=function(t){return parseInt(t.slice(0,-2),10)};var g=d(h);var w=d(l);var m=d(a);var _=d(c);var y=d(f);var O=function(t){var e=t.innerWidth;return e<g};var j=function(t){var e=t.innerWidth;return e>=g&&e<w};var p=function(t){return O(t)||j(t)};var k=function(t){return!p(t)};var D=function(t){var e=t.innerWidth;return e>=m&&e<_};var S=function(t){var e=t.innerWidth;return e>=_&&e<y};var x=function(t){var e=t.innerWidth;return e>=y};var T={mobile:O,tablet:j,touch:p,desktop:k,highDefinition:D,widescreen:S,fullhd:x};var C=function(){function t(){this.breakpoints=[];if(e.hasWindow){this.win=window;this.win.BaloiseDesignSystem=this.win.BaloiseDesignSystem||{};this.detect()}}Object.defineProperty(t.prototype,"isMobile",{get:function(){return this.includes("mobile")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isTablet",{get:function(){return this.includes("tablet")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isTouch",{get:function(){return this.includes("touch")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isDesktop",{get:function(){return this.includes("desktop")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isHighDefinition",{get:function(){return this.includes("highDefinition")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isWidescreen",{get:function(){return this.includes("widescreen")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isFullHD",{get:function(){return this.includes("fullhd")},enumerable:false,configurable:true});t.prototype.includes=function(t){var e;this.detect();return!!((e=this.breakpoints)===null||e===void 0?void 0:e.includes(t))};t.prototype.detect=function(){var t=this;if(this.win){this.breakpoints=Object.keys(T).filter((function(e){return T[e](t.win)}));this.win.BaloiseDesignSystem.breakpoints=this.breakpoints;this.win.BaloiseDesignSystem.platforms=this.breakpoints}return this.breakpoints};t.prototype.toObject=function(){return{mobile:this.breakpoints.includes("mobile"),tablet:this.breakpoints.includes("tablet"),touch:this.breakpoints.includes("touch"),desktop:this.breakpoints.includes("desktop"),highDefinition:this.breakpoints.includes("highDefinition"),widescreen:this.breakpoints.includes("widescreen"),fullhd:this.breakpoints.includes("fullhd")}};return t}();t("d",C);var L=t("b",new C);var W={mobile:false,tablet:false,touch:false,desktop:false,highDefinition:false,widescreen:false,fullhd:false};var z=function(t){__extends(e,t);function e(){var e=t.call(this,(function(t){return t.breakpointListener(e.state)}))||this;e.state=W;e.listener=new v;e.debouncedNotify=n((function(){return e.notify()}),50);e.listener.connect();e.listener.add((function(){L.detect();var t=L.toObject();if(!e.isEqual(t)){e.state=t;e.debouncedNotify()}}));return e}e.prototype.attach=function(e){t.prototype.attach.call(this,e);L.detect();var n=L.toObject();if(!this.isEqual(n)){this.state=n;this.debouncedNotify()}};e.prototype.isEqual=function(t){return JSON.stringify(this.state)===JSON.stringify(t)};return e}(o);t("c",z);var B=t("a",new z)}}}));
1
+ var __extends=this&&this.__extends||function(){var t=function(e,n){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]};return t(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function i(){this.constructor=e}e.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}}();var __awaiter=this&&this.__awaiter||function(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,u){function s(t){try{f(i.next(t))}catch(t){u(t)}}function o(t){try{f(i["throw"](t))}catch(t){u(t)}}function f(t){t.done?n(t.value):r(t.value).then(s,o)}f((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},i,r,u,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(t){return function(e){return f([t,e])}}function f(o){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(n=0)),n)try{if(i=1,r&&(u=o[0]&2?r["return"]:o[0]?r["throw"]||((u=r["return"])&&u.call(r),0):r.next)&&!(u=u.call(r,o[1])).done)return u;if(r=0,u)o=[o[0]&2,u.value];switch(o[0]){case 0:case 1:u=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;r=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(u=n.trys,u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){n.label=o[1];break}if(o[0]===6&&n.label<u[1]){n.label=u[1];u=o;break}if(u&&n.label<u[2]){n.label=u[2];n.ops.push(o);break}if(u[2])n.ops.pop();n.trys.pop();continue}o=e.call(t,n)}catch(t){o=[6,t];r=0}finally{i=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-CBMgyOmf.system.js","./p-S0PfBzNO.system.js","./p-DS0STRcD.system.js","./p-CV9t6g9O.system.js"],(function(t){"use strict";var e,n,i,r,u,s,o,f,c,a,h,l;return{setters:[function(t){e=t.a;n=t.I;i=t.R;r=t.S},function(t){u=t.b},function(t){s=t.L;o=t.S},function(t){f=t.j;c=t.k;a=t.l;h=t.m;l=t.n}],execute:function(){var b=function(){function t(t){if(t===void 0){t={}}this.previousWidth=e.window.width;this.previousHeight=e.window.height;this.previousIsLandscape=this.isLandscape;this.options={onlyListenToWidthChanges:false};this.options=Object.assign(Object.assign({},this.options),t)}t.prototype.hasResized=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(u.hasTouchScreen){if(!this.sameWidth||this.previousIsLandscape!==this.isLandscape){this.resetPreviousValues();return[2,true]}}else{if(this.options.onlyListenToWidthChanges){if(!this.sameWidth){this.resetPreviousValues();return[2,true]}}else{if(!this.sameWidth||!this.sameHeight){this.resetPreviousValues();return[2,true]}}}return[2,false]}))}))};Object.defineProperty(t.prototype,"isLandscape",{get:function(){return e.window.width>e.window.height},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"sameWidth",{get:function(){return this.previousWidth===e.window.width},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"sameHeight",{get:function(){return this.previousHeight===e.window.height},enumerable:false,configurable:true});t.prototype.resetPreviousValues=function(){this.previousWidth=e.window.width;this.previousHeight=e.window.height;this.previousIsLandscape=this.isLandscape};return t}();var v=function(t){__extends(e,t);function e(){var e=t.apply(this,arguments)||this;e.resizeHandler=new b({onlyListenToWidthChanges:true});e.debouncedNotify=n((function(){return e.notify()}),100);e.notify=function(){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,this.resizeHandler.hasResized()];case 1:if(e.sent()){t.prototype.notify.call(this,undefined)}return[2]}}))}))};return e}e.prototype.connect=function(e){t.prototype.connect.call(this,e);if(this.el){i(this.el,"resize",this.debouncedNotify,{passive:true})}};e.prototype.disconnect=function(){t.prototype.disconnect.call(this);if(this.el){r(this.el,"resize",this.debouncedNotify)}};return e}(s);t("B",v);var d=function(t){return parseInt(t.slice(0,-2),10)};var g=d(h);var w=d(l);var m=d(a);var _=d(c);var y=d(f);var O=function(t){var e=t.innerWidth;return e<g};var j=function(t){var e=t.innerWidth;return e>=g&&e<w};var p=function(t){return O(t)||j(t)};var k=function(t){return!p(t)};var D=function(t){var e=t.innerWidth;return e>=m&&e<_};var S=function(t){var e=t.innerWidth;return e>=_&&e<y};var x=function(t){var e=t.innerWidth;return e>=y};var T={mobile:O,tablet:j,touch:p,desktop:k,highDefinition:D,widescreen:S,fullhd:x};var C=function(){function t(){this.breakpoints=[];if(e.hasWindow){this.win=window;this.win.BaloiseDesignSystem=this.win.BaloiseDesignSystem||{};this.detect()}}Object.defineProperty(t.prototype,"isMobile",{get:function(){return this.includes("mobile")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isTablet",{get:function(){return this.includes("tablet")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isTouch",{get:function(){return this.includes("touch")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isDesktop",{get:function(){return this.includes("desktop")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isHighDefinition",{get:function(){return this.includes("highDefinition")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isWidescreen",{get:function(){return this.includes("widescreen")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isFullHD",{get:function(){return this.includes("fullhd")},enumerable:false,configurable:true});t.prototype.includes=function(t){var e;this.detect();return!!((e=this.breakpoints)===null||e===void 0?void 0:e.includes(t))};t.prototype.detect=function(){var t=this;if(this.win){this.breakpoints=Object.keys(T).filter((function(e){return T[e](t.win)}));this.win.BaloiseDesignSystem.breakpoints=this.breakpoints;this.win.BaloiseDesignSystem.platforms=this.breakpoints}return this.breakpoints};t.prototype.toObject=function(){return{mobile:this.breakpoints.includes("mobile"),tablet:this.breakpoints.includes("tablet"),touch:this.breakpoints.includes("touch"),desktop:this.breakpoints.includes("desktop"),highDefinition:this.breakpoints.includes("highDefinition"),widescreen:this.breakpoints.includes("widescreen"),fullhd:this.breakpoints.includes("fullhd")}};return t}();t("d",C);var W=t("b",new C);var z={mobile:false,tablet:false,touch:false,desktop:false,highDefinition:false,widescreen:false,fullhd:false};var B=function(t){__extends(e,t);function e(){var e=t.call(this,(function(t){return t.breakpointListener(e.state)}))||this;e.state=z;e.listener=new v;e.debouncedNotify=n((function(){return e.notify()}),50);e.listener.connect();e.listener.add((function(){W.detect();var t=W.toObject();if(!e.isEqual(t)){e.state=t;e.debouncedNotify()}}));return e}e.prototype.attach=function(e){t.prototype.attach.call(this,e);W.detect();var n=W.toObject();if(!this.isEqual(n)){this.state=n;this.debouncedNotify()}};e.prototype.isEqual=function(t){return JSON.stringify(this.state)===JSON.stringify(t)};return e}(o);t("c",B);var H=t("a",new B)}}}));
@@ -1 +1 @@
1
- var __extends=this&&this.__extends||function(){var n=function(t,e){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))n[e]=t[e]};return n(t,e)};return function(t,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function i(){this.constructor=t}t.prototype=e===null?Object.create(e):(i.prototype=e.prototype,new i)}}();var __awaiter=this&&this.__awaiter||function(n,t,e,i){function a(n){return n instanceof e?n:new e((function(t){t(n)}))}return new(e||(e=Promise))((function(e,o){function r(n){try{s(i.next(n))}catch(n){o(n)}}function l(n){try{s(i["throw"](n))}catch(n){o(n)}}function s(n){n.done?e(n.value):a(n.value).then(r,l)}s((i=i.apply(n,t||[])).next())}))};var __generator=this&&this.__generator||function(n,t){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(n){return function(t){return s([n,t])}}function s(l){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,l[0]&&(e=0)),e)try{if(i=1,a&&(o=l[0]&2?a["return"]:l[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,l[1])).done)return o;if(a=0,o)l=[l[0]&2,o.value];switch(l[0]){case 0:case 1:o=l;break;case 4:e.label++;return{value:l[1],done:false};case 5:e.label++;a=l[1];l=[0];continue;case 7:l=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){e=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){e.label=l[1];break}if(l[0]===6&&e.label<o[1]){e.label=o[1];o=l;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(l);break}if(o[2])e.ops.pop();e.trys.pop();continue}l=t.call(n,e)}catch(n){l=[6,n];a=0}finally{i=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-CBMgyOmf.system.js","./p-wTePExHL.system.js","./p-DAOAbG5Y.system.js","./p-ZO510gkN.system.js","./p-BktTDSq4.system.js","./p-DkfWaTsH.system.js","./p-DPYRyPTD.system.js","./p-CTl0uAFp.system.js","./p-CDt5sRVY.system.js","./p-B2LhbhnE.system.js","./p-DCJgQ6H8.system.js","./p-S0PfBzNO.system.js","./p-DWgCJRpS.system.js","./p-CLfE_o7e.system.js","./p-CGJ8YYiA.system.js","./p-C5Ky9HOZ.system.js","./p-DS0STRcD.system.js","./p-DiHWLu0P.system.js","./p-CfAiWVwH.system.js","./p-B-x84i5x.system.js","./p--7rLOIFd.system.js"],(function(n){"use strict";var t,e,i,a,o,r,l,s,u;return{setters:[function(a){t=a.a;e=a.c;i=a.d;n({BalSnackbarController:a.D,BalToastController:a.F,attachToConfig:a.e,balBrowser:a.a,balSnackbarController:a.E,balToastController:a.G,componentOnReady:a.d,deepReady:a.r,defaultConfig:a.f,detachFromConfig:a.h,getAppRoot:a.c,initialize:a.q,initializeBaloiseDesignSystem:a.q,isDescendant:a.t,onBalConfigChange:a.o,setupConfig:a.i,shallowReady:a.v,updateBalAllowedLanguages:a.u,updateBalAnimated:a.j,updateBalIcons:a.k,updateBalLanguage:a.l,updateBalRegion:a.m,useBalConfig:a.n,wait:a.w,waitAfterFramePaint:a.x,waitAfterIdleCallback:a.y,waitAfterLargestContentfulPaintCallback:a.z,waitForComponent:a.A,waitForDesignSystem:a.B,waitOnLoadEventCallback:a.C})},function(t){n("FileUploadRejectionReason",t.F)},function(t){n("i18nBalClose",t.i)},function(t){n("i18nBalDate",t.i)},function(t){n("i18nBalInputStepper",t.i)},function(t){n("i18nBalLabel",t.i)},function(t){n("i18nBalTimeInput",t.i)},function(t){n("newBalStepOption",t.n)},function(t){n("newBalTabOption",t.n)},function(t){a=t.B;o=t.b;n({BalBreakpointSubject:t.c,BalBreakpointsUtil:t.d,balBreakpointSubject:t.a,balBreakpoints:t.b})},function(t){n("BalDate",t.B)},function(t){r=t.b;n({BalDevice:t.B,balDevice:t.b})},function(t){n("newBalOption",t.n)},function(t){n("scrollToFirstInvalidField",t.s)},function(t){n("INVALID_VALUE",t.I)},null,function(n){l=n.S},function(t){n("BalScrollHandler",t.B)},function(t){n("BalSwipeSubject",t.B)},function(n){s=n.g;u=n.a},null],execute:function(){var f=n("i18nBalFieldLabel",{de:{optional:" (optional)"},en:{optional:" (optional)"},fr:{optional:" (optionnel)"},it:{optional:" (opzionale)"},nl:{optional:" (optioneel)"},es:{optional:" (opcional)"},pl:{optional:" (opcjonalnie)"},pt:{optional:" (opcional)"},sv:{optional:" (frivillig)"},fi:{optional:" (valinnainen)"}});var c=n("newBalCheckboxOption",(function(n){return Object.assign(Object.assign({interface:"checkbox",labelHidden:false,flat:false,disabled:false,readonly:false,required:false,nonSubmit:false,invalid:false,checked:false},n),{label:"",html:n.label})}));var p=n("newBalRadioOption",(function(n){return Object.assign(Object.assign({interface:"radio",labelHidden:false,flat:false,disabled:false,readonly:false,required:false,nonSubmit:false,invalid:false},n),{label:"",html:n.label})}));var d=n("newBalOptionValue",(function(n,t,e,i){if(e===void 0){e=false}return{value:n,label:t,disabled:e,data:i}}));var m=n("newBalSingleOptionValue",(function(n,t,e){if(t===void 0){t=false}return d(n,n,t,e)}));var b=function(n){__extends(t,n);function t(){var t=n.call(this,(function(n){return n.orientationListener(t.state)}))||this;t.listener=new a;t.state=r.orientation.toObject();t.listener.connect();t.listener.add((function(){var n=r.orientation.toObject();if(!t.isEqual(n)){t.state=n;t.notify(undefined)}}));return t}t.prototype.attach=function(t){n.prototype.attach.call(this,t);t.orientationListener(this.state)};t.prototype.isEqual=function(n){return n.landscape===this.state.landscape&&n.portrait===this.state.portrait};return t}(l);n("BalOrientationSubject",b);var v=n("balOrientationSubject",new b);var h=function(){function n(){this.tag="bal-modal"}n.prototype.create=function(n){var a=this;if(typeof customElements!=="undefined"&&t.hasDocument){return customElements.whenDefined(this.tag).then((function(){var t=document.createElement(a.tag);Object.assign(t,n);e(document).appendChild(t);return new Promise((function(n){return i(t,n)}))}))}return Promise.resolve()};n.prototype.dismissAll=function(n,e){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(a){switch(a.label){case 0:if(!t.hasDocument)return[3,2];i=s(document,this.tag);return[4,Promise.all(i.map((function(t){return t.dismiss(n,e)})))];case 1:a.sent();a.label=2;case 2:return[2]}}))}))};n.prototype.dismiss=function(n,e,i){if(t.hasDocument){var a=u(document,this.tag,i);if(!a){return Promise.reject("overlay does not exist")}return a.dismiss(n,e)}return Promise.resolve(false)};n.prototype.getTop=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){if(t.hasDocument){return[2,u(document,this.tag)]}return[2]}))}))};return n}();n("BalModalController",h);var y=n("balModalController",new h);var B=n("hasTouchSupport",(function(){return r.hasTouchScreen}));var w=n("isBrowser",(function(n){if(n==="Safari"){return t.isSafari}return false}));var j=n("getPlatforms",(function(n){return o.detect()}));var g=n("isPlatform",(function(n,t){if(typeof n==="string"){t=n}if(t){return o.detect().includes(t)}return false}));var C=n("NewBalOptionValue",d);var S=n("NewBalSingleOptionValue",m)}}}));
1
+ var __extends=this&&this.__extends||function(){var n=function(t,e){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))n[e]=t[e]};return n(t,e)};return function(t,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function i(){this.constructor=t}t.prototype=e===null?Object.create(e):(i.prototype=e.prototype,new i)}}();var __awaiter=this&&this.__awaiter||function(n,t,e,i){function a(n){return n instanceof e?n:new e((function(t){t(n)}))}return new(e||(e=Promise))((function(e,o){function r(n){try{s(i.next(n))}catch(n){o(n)}}function l(n){try{s(i["throw"](n))}catch(n){o(n)}}function s(n){n.done?e(n.value):a(n.value).then(r,l)}s((i=i.apply(n,t||[])).next())}))};var __generator=this&&this.__generator||function(n,t){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(n){return function(t){return s([n,t])}}function s(l){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,l[0]&&(e=0)),e)try{if(i=1,a&&(o=l[0]&2?a["return"]:l[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,l[1])).done)return o;if(a=0,o)l=[l[0]&2,o.value];switch(l[0]){case 0:case 1:o=l;break;case 4:e.label++;return{value:l[1],done:false};case 5:e.label++;a=l[1];l=[0];continue;case 7:l=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){e=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){e.label=l[1];break}if(l[0]===6&&e.label<o[1]){e.label=o[1];o=l;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(l);break}if(o[2])e.ops.pop();e.trys.pop();continue}l=t.call(n,e)}catch(n){l=[6,n];a=0}finally{i=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-CBMgyOmf.system.js","./p-wTePExHL.system.js","./p-DAOAbG5Y.system.js","./p-ZO510gkN.system.js","./p-BktTDSq4.system.js","./p-DkfWaTsH.system.js","./p-DPYRyPTD.system.js","./p-CTl0uAFp.system.js","./p-CDt5sRVY.system.js","./p-D8hNfBgq.system.js","./p-DCJgQ6H8.system.js","./p-S0PfBzNO.system.js","./p-DWgCJRpS.system.js","./p-CLfE_o7e.system.js","./p-CGJ8YYiA.system.js","./p-Cxq4J7Yu.system.js","./p-DS0STRcD.system.js","./p-DiHWLu0P.system.js","./p-CfAiWVwH.system.js","./p-B-x84i5x.system.js","./p-CV9t6g9O.system.js"],(function(n){"use strict";var t,e,i,a,o,r,l,s,u;return{setters:[function(a){t=a.a;e=a.c;i=a.d;n({BalSnackbarController:a.D,BalToastController:a.F,attachToConfig:a.e,balBrowser:a.a,balSnackbarController:a.E,balToastController:a.G,componentOnReady:a.d,deepReady:a.r,defaultConfig:a.f,detachFromConfig:a.h,getAppRoot:a.c,initialize:a.q,initializeBaloiseDesignSystem:a.q,isDescendant:a.t,onBalConfigChange:a.o,setupConfig:a.i,shallowReady:a.v,updateBalAllowedLanguages:a.u,updateBalAnimated:a.j,updateBalIcons:a.k,updateBalLanguage:a.l,updateBalRegion:a.m,useBalConfig:a.n,wait:a.w,waitAfterFramePaint:a.x,waitAfterIdleCallback:a.y,waitAfterLargestContentfulPaintCallback:a.z,waitForComponent:a.A,waitForDesignSystem:a.B,waitOnLoadEventCallback:a.C})},function(t){n("FileUploadRejectionReason",t.F)},function(t){n("i18nBalClose",t.i)},function(t){n("i18nBalDate",t.i)},function(t){n("i18nBalInputStepper",t.i)},function(t){n("i18nBalLabel",t.i)},function(t){n("i18nBalTimeInput",t.i)},function(t){n("newBalStepOption",t.n)},function(t){n("newBalTabOption",t.n)},function(t){a=t.B;o=t.b;n({BalBreakpointSubject:t.c,BalBreakpointsUtil:t.d,balBreakpointSubject:t.a,balBreakpoints:t.b})},function(t){n("BalDate",t.B)},function(t){r=t.b;n({BalDevice:t.B,balDevice:t.b})},function(t){n("newBalOption",t.n)},function(t){n("scrollToFirstInvalidField",t.s)},function(t){n("INVALID_VALUE",t.I)},null,function(n){l=n.S},function(t){n("BalScrollHandler",t.B)},function(t){n("BalSwipeSubject",t.B)},function(n){s=n.g;u=n.a},null],execute:function(){var f=n("i18nBalFieldLabel",{de:{optional:" (optional)"},en:{optional:" (optional)"},fr:{optional:" (optionnel)"},it:{optional:" (opzionale)"},nl:{optional:" (optioneel)"},es:{optional:" (opcional)"},pl:{optional:" (opcjonalnie)"},pt:{optional:" (opcional)"},sv:{optional:" (frivillig)"},fi:{optional:" (valinnainen)"}});var c=n("newBalCheckboxOption",(function(n){return Object.assign(Object.assign({interface:"checkbox",labelHidden:false,flat:false,disabled:false,readonly:false,required:false,nonSubmit:false,invalid:false,checked:false},n),{label:"",html:n.label})}));var p=n("newBalRadioOption",(function(n){return Object.assign(Object.assign({interface:"radio",labelHidden:false,flat:false,disabled:false,readonly:false,required:false,nonSubmit:false,invalid:false},n),{label:"",html:n.label})}));var d=n("newBalOptionValue",(function(n,t,e,i){if(e===void 0){e=false}return{value:n,label:t,disabled:e,data:i}}));var m=n("newBalSingleOptionValue",(function(n,t,e){if(t===void 0){t=false}return d(n,n,t,e)}));var b=function(n){__extends(t,n);function t(){var t=n.call(this,(function(n){return n.orientationListener(t.state)}))||this;t.listener=new a;t.state=r.orientation.toObject();t.listener.connect();t.listener.add((function(){var n=r.orientation.toObject();if(!t.isEqual(n)){t.state=n;t.notify(undefined)}}));return t}t.prototype.attach=function(t){n.prototype.attach.call(this,t);t.orientationListener(this.state)};t.prototype.isEqual=function(n){return n.landscape===this.state.landscape&&n.portrait===this.state.portrait};return t}(l);n("BalOrientationSubject",b);var v=n("balOrientationSubject",new b);var h=function(){function n(){this.tag="bal-modal"}n.prototype.create=function(n){var a=this;if(typeof customElements!=="undefined"&&t.hasDocument){return customElements.whenDefined(this.tag).then((function(){var t=document.createElement(a.tag);Object.assign(t,n);e(document).appendChild(t);return new Promise((function(n){return i(t,n)}))}))}return Promise.resolve()};n.prototype.dismissAll=function(n,e){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(a){switch(a.label){case 0:if(!t.hasDocument)return[3,2];i=s(document,this.tag);return[4,Promise.all(i.map((function(t){return t.dismiss(n,e)})))];case 1:a.sent();a.label=2;case 2:return[2]}}))}))};n.prototype.dismiss=function(n,e,i){if(t.hasDocument){var a=u(document,this.tag,i);if(!a){return Promise.reject("overlay does not exist")}return a.dismiss(n,e)}return Promise.resolve(false)};n.prototype.getTop=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){if(t.hasDocument){return[2,u(document,this.tag)]}return[2]}))}))};return n}();n("BalModalController",h);var y=n("balModalController",new h);var B=n("hasTouchSupport",(function(){return r.hasTouchScreen}));var w=n("isBrowser",(function(n){if(n==="Safari"){return t.isSafari}return false}));var j=n("getPlatforms",(function(n){return o.detect()}));var g=n("isPlatform",(function(n,t){if(typeof n==="string"){t=n}if(t){return o.detect().includes(t)}return false}));var C=n("NewBalOptionValue",d);var S=n("NewBalSingleOptionValue",m)}}}));
@@ -0,0 +1 @@
1
+ import{L as t,H as e,P as i,J as o,I as s,y as l,r as a,t as r,M as n,N as c,O as h}from"./p-BD2o1F4P.js";import{_ as b,a as d}from"./p-dfXERft2.js";import{i as p}from"./p-xbSOW78W.js";import{a as u}from"./p-DBsOHTWj.js";import{a as m}from"./p-BAaDJIzy.js";import{i as f}from"./p-C4sZQbkT.js";import{B as v}from"./p-ByiN-QjD.js";import{d as g}from"./p-FCLKfv6B.js";import{s as _}from"./p-CwsaXXwG.js";import{d as y,i as k,a as x,b as w,c as j,k as O}from"./p-D1VPLQ5z.js";import{r as C,p as T,l as L,g as B,i as F,s as z,a as A,f as I,b as M,v as P}from"./p-BG4j3FEv.js";import"./p-BFTU3MAI.js";import"./p-BnVL_HEz.js";const D=!0,V=!1,E=class{constructor(t){e(this,t),this.balChange=i(this,"balChange"),this.balInputClick=i(this,"balInputClick"),this.balInput=i(this,"balInput"),this.balBlur=i(this,"balBlur"),this.balFocus=i(this,"balFocus"),this.balCancel=i(this,"balCancel"),this.balKeyPress=i(this,"balKeyPress"),this.didInit=!1,this.inputId="bal-select-"+W++,this.initialValue=[],this.inheritedAttributes={},this.hasFocus=!1,this.inputValue="",this.focusIndex=-1,this.isPopoverOpen=!1,this.options=new Map,this.labelToScrollTo="",this.labelToSelectTo="",this.ariaForm=g,this.name=this.inputId,this.invalid=!1,this.filter="includes",this.balTabindex=0,this.freeSolo=!1,this.multiple=!1,this.autocomplete="off",this.typeahead=!1,this.selectionOptional=!1,this.disabled=!1,this.readonly=!1,this.required=!1,this.inverted=!1,this.scrollable=250,this.loading=!1,this.remote=!1,this.autoInvalidOff=!1,this.value=[],this.rawValue=[],this.removeValue=t=>{this.disabled||(this.updateRawValue(C(this.rawValue,t),D),this.multiple&&this.typeahead&&this.setFocus(),this.fireBlur())},this.fireBlur=(t=new CustomEvent("blur"))=>{this.isPopoverOpen||this.hasFocus||o((()=>this.balBlur.emit(t)))},this.handleClick=t=>{(this.disabled||this.readonly)&&T(t)},this.handlePopoverChange=t=>{t.stopPropagation(),this.isPopoverOpen!==t.detail&&(this.isPopoverOpen=t.detail,this.isPopoverOpen?this.updateFocus():(this.focusIndex=0,this.multiple&&this.typeahead&&this.updateInputValue(""),this.fireBlur(t)))},this.handleInputBlur=t=>{T(t);const e=t.relatedTarget;(null===e||e&&e.nodeName&&("BAL-MODAL"===e.nodeName||"INPUT"===e.nodeName||"BUTTON"===e.nodeName))&&this.validateAfterBlur(D),this.hasFocus=!1,this.fireBlur(t)},this.handleInputFocus=t=>{this.balFocus.emit(t),this.hasFocus=!0},this.handleInputClick=async(t,e=!1)=>{var i,o,s,l;_(t),this.isChipClicked(t)||(this.disabled||this.readonly?T(t):(this.focusIndex=0,this.balInputClick.emit(t),this.typeahead?this.isPopoverOpen&&e?await(null===(i=this.popoverElement)||void 0===i?void 0:i.dismiss()):await(null===(o=this.popoverElement)||void 0===o?void 0:o.present()):this.isPopoverOpen?await(null===(s=this.popoverElement)||void 0===s?void 0:s.dismiss()):await(null===(l=this.popoverElement)||void 0===l?void 0:l.present())))},this.handleKeyPress=async t=>{!this.isPopoverOpen&&y(t)&&(T(t),await this.open()),this.balKeyPress.emit(t)},this.handleInputChange=t=>{this.disabled||this.readonly||(this.inputValue=t.target.value)},this.handleInput=async t=>{this.disabled||this.readonly||(this.inputValue=t.target.value,this.isPopoverOpen||this.popoverElement.present(),this.focusIndex=0,this.updateFocus(),T(t),this.balInput.emit(this.inputValue))},this.handleOptionMouseEnter=t=>{this.focusIndex=t}}createLogger(t){this.log=t}valueWatcher(){this.syncRawValue(!1)}updateRawValue(t,e=!0){m(t,this.rawValue||[])||(this.rawValue=[...t],this.syncNativeInput(e),this.didInit&&!0===e&&(this.multiple?p(this.rawValue)?this.emitChangeEvent([]):this.emitChangeEvent([...this.rawValue]):p(this.rawValue)||0===L(this.rawValue)?this.emitChangeEvent(void 0):this.emitChangeEvent(this.rawValue[0])))}emitChangeEvent(t){this.balChange.emit(t)}connectedCallback(){const t=s((()=>this.updateOptions()),0);this.initialValue=this.value,t(),this.mutationO=(e=>{if("undefined"==typeof MutationObserver)return;const i=new MutationObserver((e=>{(e=e.filter((t=>t.target.nodeName==="bal-select-option".toUpperCase()||t.target.nodeName==="bal-select".toUpperCase()))).length>0&&t()}));return i.observe(e,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),i})(this.el)}componentWillLoad(){if(this.inheritedAttributes=f(this.el,["aria-label","tabindex","title","data-hj-allow"]),this.waitForOptionsAndThenUpdateRawValues(),this.isInsideOfFooter(),!p(this.rawValue)&&this.options.size>0&&1===L(this.rawValue)){const t=this.options.get(this.rawValue[0]);p(t)||(this.inputValue=t.label)}}componentDidLoad(){this.syncRawValue(!1),this.multiple||(this.inputElement.value=this.inputValue),this.didInit=!0}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}listenOnClick(t){this.disabled&&t.target&&t.target===this.el&&T(t)}resetHandler(t){const e=t.target;(null==e?void 0:e.contains(this.el))&&(this.resetHandlerTimer&&clearTimeout(this.resetHandlerTimer),this.resetHandlerTimer=setTimeout((()=>{this.value=this.initialValue,this.syncRawValue(!1),this.syncNativeInput(),this.nativeSelectEl&&Array.from(this.nativeSelectEl.options).forEach((t=>t.selected=!0))}),0))}async handleKeyDown(t){if(this.isPopoverOpen){if((k(t)||x(t))&&(T(t),this.navigateWithArrowKey(t),this.updateFocus()),w(t)&&(T(t),this.selectedFocusedOption()),j(t)&&this.cancel(),O(t)&&this.typeahead&&this.multiple&&""===this.inputElement.value&&L(this.rawValue)>0){const t=B(this.rawValue);this.removeValue(t[L(this.rawValue)-1])}this.typeahead||1!==t.key.length||this.focusOptionByLabel(t.key),y(t)&&!this.typeahead&&T(t)}else this.hasFocus&&((k(t)||x(t))&&(T(t),await this.open()),this.typeahead||1!==t.key.length||this.selectOptionByLabel(t.key))}async setFocus(){this.inputElement&&!this.disabled&&(await l(),this.inputElement.focus())}async getValue(){return this.rawValue}async clear(){this.focusIndex=0,this.inputElement&&(this.updateInputValue(""),this.updateRawValue([],D),this.value=this.multiple?[]:"")}async open(){this.disabled||this.readonly||p(this.popoverElement)||await this.popoverElement.present()}async close(){this.disabled||this.readonly||p(this.popoverElement)||this.blurSelect()}async cancel(){this.labelToScrollTo="",this.close(),this.scrollTo(0),this.balCancel.emit()}async select(t){const e=this.options.get(t);p(e)||this.optionSelected(e)}async setAriaForm(t){this.ariaForm=Object.assign({},t)}async waitForOptionsAndThenUpdateRawValues(){clearTimeout(this.waitForOptionsAndThenUpdateRawValuesTimer),await a(this.el),this.options.size>0?this.syncRawValue(V):this.waitForOptionsAndThenUpdateRawValuesTimer=setTimeout((()=>this.waitForOptionsAndThenUpdateRawValues()),10)}async updateOptions(){const t=this.getChildOpts(),e=new Map;for(let i=0;i<t.length;i++){const o=t[i];e.set(o.value,{value:o.value,label:o.label,disabled:o.disabled,id:o.for,textContent:o.textContent,innerHTML:o.innerHTML})}if(!this.selectionOptional&&Array.isArray(this.rawValue))for(let t=0;t<this.rawValue.length;t++){const i=this.rawValue[t];if(!e.has(i)){const t=C(this.rawValue,i);this.updateRawValue(t,V)}}this.options=new Map(e),this.typeahead||await this.syncNativeInput(),this.didInit&&!this.remote&&this.validateAfterBlur()}get optionArray(){const t=Array.from(this.options,(([t,e])=>e));return!this.typeahead||this.remote?t:t.filter((t=>"includes"===this.filter?F(t.textContent,this.inputValue):z(t.textContent,this.inputValue)))}hasOptions(){return this.optionArray.length>0}get inputPlaceholder(){return this.multiple?L(this.rawValue)<1?this.placeholder:void 0:!p(this.rawValue)&&L(this.rawValue)>0?void 0:this.placeholder}getChildOpts(){return Array.from(this.el.querySelectorAll("bal-select-option"))}getPopoverContent(){return this.popoverElement.querySelector(".bal-popover__content__inner")}updateFocus(){this.focusIndex<0&&(this.focusIndex=0);const t=this.optionArray;if(t.length>0){t.length<=this.focusIndex&&(this.focusIndex=t.length-1);const e=t[this.focusIndex];if(e&&e.id){const t=this.el.querySelector(`button#${e.id}`);t&&(clearTimeout(this.updateFocusTimer),this.updateFocusTimer=setTimeout((()=>{this.scrollToFocusedOption(t)}),0))}}else this.focusIndex=0}scrollToFocusedOption(t){if(t&&this.popoverElement){const e=this.getPopoverContent();if(e){const i=t.offsetTop;i<e.scrollTop&&(e.scrollTop=i),t.offsetTop+t.clientHeight>e.scrollTop+e.clientHeight&&(e.scrollTop=e.scrollTop+t.clientHeight)}}}scrollTo(t){const e=this.getPopoverContent();e&&(e.scrollTop=t)}selectedFocusedOption(){const t=this.optionArray;if(t.length>this.focusIndex){const e=t[this.focusIndex];e&&this.optionSelected(e)}}navigateWithArrowKey(t){k(t)?this.focusIndex=this.focusIndex+1:x(t)&&(this.focusIndex=this.focusIndex-1)}focusOptionByLabel(t){this.labelToScrollTo=this.labelToScrollTo+t,clearTimeout(this.clearScrollToValue),this.clearScrollToValue=setTimeout((()=>{this.scrollToLabel(this.labelToScrollTo)}),600)}selectOptionByLabel(t){this.labelToSelectTo=this.labelToSelectTo+t,clearTimeout(this.clearSelectValue),this.clearSelectValue=setTimeout((()=>{this.selectLabel(this.labelToSelectTo),this.labelToSelectTo=""}),600)}async selectLabel(t){if(" "!==t){const e=this.optionArray.find((e=>z(e.label||"",t)));if(!p(e)&&e.id){const t=this.el.querySelector(`button#${e.id}`);if(!p(t)){const t=this.optionArray.indexOf(e);this.focusIndex=t,this.select(e.value)}}this.labelToScrollTo=""}}async scrollToLabel(t){if(" "!==t){const e=this.optionArray.find((e=>z(e.label||"",t)));if(!p(e)&&e.id){const t=this.el.querySelector(`button#${e.id}`);if(!p(t)){const i=this.optionArray.indexOf(e);this.focusIndex=i,this.scrollTo(t.offsetTop)}}this.labelToScrollTo=""}}syncRawValue(t=!0){let e=[];p(this.value)||""===this.value||(e=Array.isArray(this.value)?[...this.value.filter((t=>!p(t)))]:this.value.split("").includes(",")?[...this.value.split(",").filter((t=>t)).map((t=>t.trim()))]:[this.value]),this.updateRawValue(e,t)}blurSelect(){this.popoverElement.dismiss()}optionSelected(t){const e=B(this.rawValue).some((e=>e===t.value));this.updateValue(t.value,!e),this.multiple?this.typeahead&&this.setFocus():this.blurSelect()}updateValue(t,e=!0){this.multiple?this.updateRawValue(e?A(this.rawValue,t,this.multiple):C(this.rawValue,t),D):(this.updateRawValue(A(this.rawValue,t,this.multiple),D),this.rawValue&&this.rawValue.length>0&&this.updateInputValue(I(this.options,this.rawValue[0])))}validateAfterBlur(t=!1){let e=this.rawValue;if(this.didInit&&!this.multiple){if(this.typeahead&&(this.selectionOptional||this.remote)){const t=M(this.options,this.inputElement.value);e=t?[t.value]:[this.inputElement.value]}else e=P(this.rawValue,this.options,this.inputElement.value);this.updateRawValue(e,t)}}syncNativeInput(t=!0){if(!this.multiple&&L(this.rawValue)>0){const t=B(this.rawValue);let e=I(this.options,t[0]);return!this.multiple&&this.typeahead&&this.selectionOptional&&""===e&&(e=t.join(", ")),this.updateInputValue(e)}return t||0!==L(this.rawValue)?Promise.resolve():this.updateInputValue("")}updateInputValue(t){return new Promise((e=>{this.updateInputValueTimer&&clearTimeout(this.updateInputValueTimer),this.updateInputValueTimer=setTimeout((()=>{p(this.inputElement)||(this.inputElement.value=t,this.inputValue=t,e())}),0)}))}isChipClicked(t){let e=!1;if(this.multiple){const i=this.selectionEl.querySelectorAll("bal-tag"),o=t.target;i.forEach((t=>{const i=r(t,o)||t===o;i&&(e=i)}))}return e}isInsideOfFooter(){this.inverted=null!==this.el.closest("bal-footer")}render(){var t;const e=t=>n("bal-tag",{key:"ddb984b0edd1a0fbbad814a5d29c83ce7276a07a",size:"",closable:!this.disabled,disabled:this.disabled,invalid:this.invalid,tabindex:-1,onBalCloseClick:()=>this.removeValue(t.value),"data-testid":"bal-select-chip"},I(this.options,t.value)||t.value),i=B(this.rawValue),o=v.block("select"),s=o.element("native"),l=o.element("control"),a=l.element("icon"),r=l.element("selections"),h=l.element("input"),b=o.element("popover"),d=b.element("empty"),p=o.element("option"),m=p.element("content"),f=m.element("checkbox"),g=m.element("label");return n(c,{key:"43659a2cc50a3585620a99974377c422d3e2f0f2",role:"listbox",onClick:this.handleClick,"aria-disabled":u(this.disabled),"data-value":null===(t=this.rawValue)||void 0===t?void 0:t.map((t=>I(this.options,t))).join(","),class:Object.assign(Object.assign(Object.assign(Object.assign({},o.class()),o.modifier("disabled").class(this.disabled||this.readonly)),o.modifier("inverted").class(this.inverted)),o.modifier("inverted-footer").class(this.inverted))},n("select",{key:"5d2d9ab75815fbe0b2db6ea82261beac097ab111",class:Object.assign({},s.class()),name:this.name,multiple:this.multiple,required:this.required,tabindex:-1,ref:t=>this.nativeSelectEl=t},i.map((t=>n("option",{key:t,value:t,selected:!0},t)))),n("bal-popover",{key:"0c42dacf94a09088cbca90c527ff99bba37708fa",onBalChange:this.handlePopoverChange,ref:t=>this.popoverElement=t},n("div",{key:"b1c5567689ad59809fa36559603761223368914b","bal-popover-trigger":!0,class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},l.class()),l.modifier("invalid").class(this.invalid)),l.modifier("disabled").class(this.disabled||this.readonly)),l.modifier("focused").class(this.isPopoverOpen)),l.modifier("inverted-footer").class(this.inverted))},n("div",{key:"93632751c2b8b472578e80012934949069c4961c",class:Object.assign(Object.assign({},r.class()),r.modifier("clickable").class(!this.isPopoverOpen&&!this.disabled&&!this.readonly)),onClick:this.handleInputClick,ref:t=>this.selectionEl=t},i.filter((()=>this.multiple)).map((t=>n(e,{value:t}))),n("input",Object.assign({key:"2d6b493fc30aa1e1a4355e94ba15f9d404372ba7",type:"text",class:Object.assign(Object.assign({},h.class()),{input:!0,"is-inverted":this.inverted,"is-danger":this.invalid,"is-disabled":this.disabled||this.readonly,"is-clickable":!this.isPopoverOpen&&!this.disabled&&!this.readonly,"data-test-select-input":!0}),id:this.ariaForm.controlId||this.inputId,"aria-labelledby":this.ariaForm.labelId,"aria-describedby":this.ariaForm.messageId,"aria-invalid":!0===this.invalid?"true":"false","aria-disabled":u(this.disabled),"data-testid":"bal-select-input",autocomplete:this.autocomplete,"aria-autocomplete":"off"===this.autocomplete?"none":null,placeholder:this.inputPlaceholder,readonly:!this.typeahead||this.disabled||this.readonly,contentEditable:this.typeahead,disabled:this.disabled,maxLength:this.maxLength,tabindex:this.balTabindex,onInput:this.handleInput,onClick:this.handleInputClick,onChange:this.handleInputChange,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,onKeyPress:this.handleKeyPress,ref:t=>this.inputElement=t},this.inheritedAttributes))),this.freeSolo||this.loading?"":n("bal-icon",{class:Object.assign(Object.assign(Object.assign({},a.class()),a.modifier("loading").class(this.loading)),a.modifier("clickable").class(!this.disabled&&!this.readonly)),name:this.inverted?"caret-up":"caret-down",color:this.disabled||this.readonly?"grey-light":this.inverted?"white":this.invalid?"danger":"primary",turn:this.isPopoverOpen,onClick:t=>this.handleInputClick(t,!0),size:this.inverted?"x-small":""})),n("bal-popover-content",{key:"f861f2aed280b9a55b932239e546561769d085cc",class:Object.assign({},b.class()),scrollable:this.scrollable,spaceless:!0,expanded:!0},this.optionArray.map(((t,e)=>n("button",{key:t.value,type:"button",role:"option",id:t.id,"data-value":t.value,"data-label":t.label,class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},p.class()),p.modifier("selected").class(i.includes(t.value)&&!(this.typeahead&&!this.multiple))),p.modifier("focused").class(this.focusIndex===e)),p.modifier("checkbox").class(this.multiple)),p.modifier("disabled").class(!0===t.disabled)),"data-testid":"bal-select-option",disabled:t.disabled,tabIndex:-1,onMouseEnter:()=>this.handleOptionMouseEnter(e),onClick:()=>this.optionSelected(t)},n("div",{class:Object.assign({},m.class())},n("span",{class:Object.assign({},f.class()),style:{display:this.multiple?"flex":"none"}},n("bal-checkbox",{checked:i.includes(t.value),tabindex:-1,nonSubmit:!0,flat:!0,onBalChange:T})),n("span",{class:Object.assign({},g.class()),innerHTML:t.innerHTML}))))),n("div",{key:"0941cb2d8007029c663852d61913bb0ca926ce32",class:Object.assign(Object.assign({},d.class()),d.modifier("hidden").class(void 0===this.noDataLabel||this.hasOptions()||!this.typeahead||this.selectionOptional))},this.noDataLabel))))}get el(){return h(this)}static get watchers(){return{value:["valueWatcher"]}}};b([t("bal-select"),d("design:type",Function),d("design:paramtypes",[Function]),d("design:returntype",void 0)],E.prototype,"createLogger",null);let W=0;E.style=":root{--bal-select-control-background:var(--bal-color-white);--bal-select-control-background-hover:var(--bal-form-field-control-background-hover);--bal-select-control-background-invalid:var(--bal-form-field-control-danger-background);--bal-select-control-background-disabled:var(--bal-form-field-control-disabled-background);--bal-select-control-input-background:var(--bal-form-field-control-background-hover);--bal-select-control-native-input-background:transparent;--bal-select-control-native-input-background-hover:transparent;--bal-select-control-input-inverted-footer-background:transparent;--bal-select-control-input-inverted-footer-background-hover:transparent;--bal-select-control-input-multiple-background:transparent;--bal-select-control-input-multiple-background-read-only-selection:transparent;--bal-select-control-input-option-background:transparent;--bal-select-control-input-option-background-selected:var(--bal-color-primary-1);--bal-select-control-input-option-background-focused:var(--bal-color-grey-3);--bal-select-control-input-option-background-hover:var(--bal-color-grey-3);--bal-select-control-border-radius:var(--bal-form-field-control-radius);--bal-select-popover-border-color:var(--bal-color-grey-2);--bal-select-control-border-color:var(--bal-form-field-control-border-color);--bal-select-control-border-color-focused:var(--bal-color-primary);--bal-select-control-border-color-hover:var(--bal-form-field-control-border-color-hover);--bal-select-control-border-color-invalid:var(--bal-form-field-control-danger-border-color);--bal-select-control-border-color-disabled:var(--bal-form-field-control-disabled-border-color);--bal-select-control-border-color-focus-within:var(--bal-color-primary);--bal-select-option-border-top-color:var(--bal-color-grey-2);--bal-select-popover-empty-text-color:var(--bal-form-field-control-color);--bal-select-control-text-color:var(--bal-form-field-control-color);--bal-select-control-text-color-focused:var(--bal-color-primary);--bal-select-input-text-color-disabled:var(--bal-form-field-label-disabled-color);--bal-select-control-inverted-footer-native-input-text-color:var(--bal-color-text-white);--bal-select-option-content-label-text-color:var(--bal-form-field-control-color)}bal-select-option{display:none !important}.bal-select{display:block;position:relative;width:100%;-ms-flex:1;flex:1;font-family:var(--bal-font-family-text)}.bal-select__popover{border:.125rem solid var(--bal-select-popover-border-color)}.bal-select__popover__empty{padding:.5rem 1rem;font-family:var(--bal-font-family-text);color:var(--bal-select-popover-empty-text-color)}.bal-select__popover__empty--hidden{display:none}.bal-select__native{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden}.bal-select__control{display:-ms-flexbox;display:flex;border-width:var(--bal-border-width-normal);border-style:solid;border-color:var(--bal-select-control-border-color);border-radius:var(--bal-select-control-border-radius);background:var(--bal-select-control-background);font-size:var(--bal-font-weight-regular);font-family:var(--bal-font-family-text);color:var(--bal-select-control-text-color);outline:none;-webkit-box-shadow:none;box-shadow:none;padding-right:1rem;min-height:3rem}.bal-select__control--focused{border-color:var(--bal-select-control-border-color-focused)}.bal-select__control:not(.bal-select__control--disabled):not(.bal-select__control--invalid):not(.bal-select__control--inverted-footer):hover{border-color:var(--bal-select-control-border-color-hover);background-color:var(--bal-select-control-background-hover)}.bal-select__control:not(.bal-select__control--disabled):not(.bal-select__control--invalid):not(.bal-select__control--inverted-footer):hover .bal-select__control__input{background-color:var(--bal-select-control-input-background)}.bal-select__control--invalid:not(.bal-select__control--disabled){border-color:var(--bal-select-control-border-color-invalid) !important;background:var(--bal-select-control-background-invalid) !important}.bal-select__control:focus-within{border-color:var(--bal-select-control-border-color-focus-within) !important}.bal-select__control--disabled{background-color:var(--bal-select-control-background-disabled) !important;border-color:var(--bal-select-control-border-color-disabled) !important}.bal-select__control--disabled,.bal-select__control--disabled input{cursor:default !important;-webkit-user-select:none !important;-moz-user-select:none !important;-ms-user-select:none !important;user-select:none !important;pointer-events:none !important;color:var(--bal-select-input-text-color-disabled)}.bal-select__control--inverted-footer{border:none;background-color:var(--bal-select-control-input-inverted-footer-background) !important;padding-right:0}.bal-select__control--inverted-footer:hover{background-color:var(--bal-select-control-input-inverted-footer-background-hover) !important}.bal-select__control--inverted-footer .input{color:var(--bal-select-control-inverted-footer-native-input-text-color);background-color:var(--bal-select-control-native-input-background) !important}.bal-select__control--inverted-footer .input:hover{background-color:var(--bal-select-control-native-input-background-hover) !important}.bal-select__control__icon{min-height:100% !important;max-height:100% !important}.bal-select__control__icon--loading{display:none}.bal-select__control__icon--clickable{cursor:pointer}.bal-select__control__selections{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex:1 1;flex:1 1;-ms-flex-wrap:wrap;flex-wrap:wrap;line-height:1.125rem;max-width:100%;min-width:0;gap:0;padding-left:.375rem}.bal-select__control__selections .bal-tag{margin-left:.25rem;margin-top:.375rem;margin-bottom:.375rem}.bal-select__control__selections .bal-tag+.input{padding-left:.625rem}.bal-select__control__input{border:none !important;outline:none !important;outline-width:0 !important;height:2.75rem !important;-webkit-box-shadow:none !important;box-shadow:none !important;background:var(--bal-select-control-input-multiple-background);-ms-flex:1;flex:1;min-height:2.75rem !important;padding-left:.25rem !important;padding-right:.625rem !important;text-overflow:ellipsis}.bal-select__control__input:-moz-read-only{-moz-user-select:none !important;user-select:none !important;-webkit-tap-highlight-color:rgba(0,0,0,0)}.bal-select__control__input:read-only{-webkit-user-select:none !important;-moz-user-select:none !important;-ms-user-select:none !important;user-select:none !important;-webkit-tap-highlight-color:rgba(0,0,0,0)}.bal-select__control__input:read-only::-moz-selection{background:var(--bal-select-control-input-multiple-background-read-only-selection)}.bal-select__control__input:-moz-read-only::selection{background:var(--bal-select-control-input-multiple-background-read-only-selection)}.bal-select__control__input:read-only::selection{background:var(--bal-select-control-input-multiple-background-read-only-selection)}.bal-select__control__input:-moz-read-only::-moz-selection{background:var(--bal-select-control-input-multiple-background-read-only-selection)}.bal-select__control__input:read-only::-moz-selection{background:var(--bal-select-control-input-multiple-background-read-only-selection)}.bal-select__option{visibility:visible;font-family:var(--bal-font-family-text);background:var(--bal-select-control-input-option-background);border:none;cursor:pointer;outline:none;min-height:3rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:0;margin:0;border-top:.125rem solid var(--bal-select-option-border-top-color);text-align:inherit;white-space:nowrap;width:100%}.bal-select__option:first-child{border-top:none}.bal-select__option::-moz-focus-inner{border:none}.bal-select__option--selected{background:var(--bal-select-control-input-option-background-selected)}.bal-select__option--selected .bal-select__option__content__label{font-weight:var(--bal-font-weight-bold)}.bal-select__option--focused{background:var(--bal-select-control-input-option-background-focused)}.bal-select__option:hover{background:var(--bal-select-control-input-option-background-hover)}.bal-select__option__content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;min-height:3rem;padding:.75rem 1rem;gap:.75rem}.bal-select__option__content__checkbox{margin:0;padding:0}.bal-select__option__content__label{margin:0;padding:0;font-family:var(--bal-font-family-text);font-weight:var(--bal-font-weight-regular);color:var(--bal-select-option-content-label-text-color);line-height:1.125rem;word-break:break-word;white-space:normal;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}";const H=class{constructor(t){e(this,t),this.disabled=!1,this.for="bal-selopt-"+K++}createLogger(t){this.log=t}render(){return n(c,{key:"8829db26394b32b2a00ba288a944358c3f4e39be",style:{display:"none"}},n("slot",{key:"4ba8e9b7bdf68609d2e0ca5185a4e71943e66bda"}))}};b([t("bal-select-option"),d("design:type",Function),d("design:paramtypes",[Function]),d("design:returntype",void 0)],H.prototype,"createLogger",null);let K=0;export{E as bal_select,H as bal_select_option}
@@ -1 +1 @@
1
- System.register(["./p-CBMgyOmf.system.js","./p-BbAtjg9Y.system.js","./p--7rLOIFd.system.js"],(function(e){"use strict";var a,t,c,r,d,s,f,i,b,n,o,h,l,p;return{setters:[function(e){a=e.H;t=e.M;c=e.N;r=e.O},function(e){d=e.B},function(e){s=e.b;f=e.a;i=e.c;b=e.d;n=e.e;o=e.f;h=e.g;l=e.h;p=e.i}],execute:function(){var v=".bal-shape{display:block;overflow:hidden;border-radius:var(--bal-radius-normal);width:66px;height:66px}@media screen and (min-width: 769px),print{.bal-shape{width:120px;height:120px}}@media screen and (min-width: 1024px){.bal-shape{width:198px;height:198px;border-radius:unset}}.bal-shape--is-rotation-0{-webkit-transform:rotate(0deg);transform:rotate(0deg)}.bal-shape--is-rotation-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.bal-shape--is-rotation-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.bal-shape--is-rotation-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}";var H=e("bal_shape",function(){function e(e){var t=this;a(this,e);this.variation="1";this.color="green";this.rotation="0";this.getHex=function(){var e;switch(t.color){case"green":e=p;break;case"green-light":e=l;break;case"red":e=h;break;case"red-light":e=o;break;case"purple":e=n;break;case"purple-light":e=b;break;case"yellow":e=i;break;case"yellow-light":e=f;break;default:e=s}return e}}e.prototype.render=function(){var e=d.block("shape");var a=[t("g",{key:"7ffce26f2f8ff376d6f4a4281293b0cbce3d455e",id:"e8353d3b-35a2-4e20-9245-0eceed641ae5"},t("g",{key:"7f37e580d4a84007d6cec7b29850252a71fbd7db",id:"af87362a-72b2-42cf-8efe-c9917dc1f7f6"},t("path",{key:"7e655256f9c76c6ed82b5dc1628d25065dc16161",class:"st0",d:"M132,66v66H66V66H132z M132,0v66H66V0H132z M66,0v66H0V6.4C0,4.2,0,3,0.4,2.2c0.4-0.7,1-1.4,1.7-1.7\n C3,0,4.2,0,6.4,0H66z M191.6,0c2.2,0,3.4,0,4.2,0.4c0.7,0.4,1.4,1,1.7,1.7c0.4,0.9,0.4,2,0.4,4.2V66h-66V0H191.6z M0,125.6V66h66\n v66H6.4H0 M198,132v59.6c0,2.2,0,3.4-0.4,4.2c-0.4,0.7-1,1.4-1.7,1.7c-0.9,0.4-2,0.4-4.2,0.4H132v-66H198z"}))),t("g",{key:"8720ba7f09f080a1e94475e8db5b465d280cd1cc",id:"b949d602-8478-437e-a171-ad3f26649cb4"},t("g",{key:"a471219e03f4af9f3b72ac7548e8a234fd798b41",id:"ae3574e0-2065-4681-8937-4318b8656147"},t("path",{key:"a0f545ab74264f3389f45ca3fbd8544427046216",class:"b9f37b2d-094d-4f18-b17c-7c5acf36f9a6",d:"M132,66v66H66V66ZM191.6,0c2.24,0,3.36,0,4.22.44a4,4,0,0,1,1.74,1.74c.44.86.44,2,.44,4.22V66H132V0ZM66,0V66H0V6.4C0,4.16,0,3,.44,2.18A4,4,0,0,1,2.18.44C3,0,4.16,0,6.4,0Zm0,132v66H6.4c-2.24,0-3.36,0-4.22-.44a4,4,0,0,1-1.74-1.74C0,195,0,193.84,0,191.6V132Zm66,0v66H66V132Zm66,0v59.6c0,2.24,0,3.36-.44,4.22a4,4,0,0,1-1.74,1.74c-.86.44-2,.44-4.22.44H132V132Zm0-66v66H132V66Z"}))),t("g",{key:"3aabfd5d30f05b9ca4c03970a539bd4fce699d40",id:"e827a936-cbcd-43b3-971a-aa8f8714fdff"},t("g",{key:"cb78639d0529e2df4f8028c8838d3251ecdec578",id:"e540dca8-23ca-45dc-b462-df9071c1317d"},t("path",{key:"b891158c547001cf3a2af9a6752739d2002b2ad2",class:"st0",d:"M132,66v66H66V66H132z M132,0v66H66V0H132z M66,0v66H0V6.4C0,4.2,0,3,0.4,2.2c0.4-0.7,1-1.4,1.7-1.7\n C3,0,4.2,0,6.4,0H66z M66,132v66H6.4c-2.2,0-3.4,0-4.2-0.4c-0.7-0.4-1.4-1-1.7-1.7C0,195,0,193.8,0,191.6V132H66z M132,132v66H66\n v-66H132z M198,132v59.6c0,2.2,0,3.4-0.4,4.2c-0.4,0.7-1,1.4-1.7,1.7c-0.9,0.4-2,0.4-4.2,0.4H132v-66H198z M198,66v66h-66V66"})))];return t(c,{key:"12322c170148297bfb743e359817b27490530d9a",class:Object.assign(Object.assign({},e.class()),e.modifier("is-rotation-".concat(this.rotation)).class())},t("svg",{key:"701ece673d80f3096f3a447de10904f2f5560a37",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 198 198",focusable:"false","aria-hidden":"true",fill:this.getHex()},a[parseInt(this.variation)-1]))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());H.style=v}}}));
1
+ System.register(["./p-CBMgyOmf.system.js","./p-CV9t6g9O.system.js","./p-BbAtjg9Y.system.js"],(function(e){"use strict";var a,t,c,r,d,s,b,f,i,n,o,h,l,p;return{setters:[function(e){a=e.H;t=e.M;c=e.N;r=e.O},function(e){d=e.b;s=e.a;b=e.c;f=e.d;i=e.e;n=e.f;o=e.g;h=e.h;l=e.i},function(e){p=e.B}],execute:function(){var v=".bal-shape{display:block;overflow:hidden;border-radius:var(--bal-radius-normal);width:66px;height:66px}@media screen and (min-width: 769px),print{.bal-shape{width:120px;height:120px}}@media screen and (min-width: 1024px){.bal-shape{width:198px;height:198px;border-radius:unset}}.bal-shape--is-rotation-0{-webkit-transform:rotate(0deg);transform:rotate(0deg)}.bal-shape--is-rotation-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.bal-shape--is-rotation-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.bal-shape--is-rotation-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}";var g=e("bal_shape",function(){function e(e){var t=this;a(this,e);this.variation="1";this.color="green";this.rotation="0";this.getHex=function(){var e;switch(t.color){case"green":e=l;break;case"green-light":e=h;break;case"red":e=o;break;case"red-light":e=n;break;case"purple":e=i;break;case"purple-light":e=f;break;case"yellow":e=b;break;case"yellow-light":e=s;break;default:e=d}return e}}e.prototype.render=function(){var e=p.block("shape");var a=[t("g",{key:"f3d8b7f5467b02d0c279dd48f806f7ecdda43055",id:"e8353d3b-35a2-4e20-9245-0eceed641ae5"},t("g",{key:"20989a8f4a0ffacd98d5ea3fb635b9bb57c283ea",id:"af87362a-72b2-42cf-8efe-c9917dc1f7f6"},t("path",{key:"abe93f2fd25f250d863e91738929ed09b705dc22",class:"st0",d:"M132,66v66H66V66H132z M132,0v66H66V0H132z M66,0v66H0V6.4C0,4.2,0,3,0.4,2.2c0.4-0.7,1-1.4,1.7-1.7\n C3,0,4.2,0,6.4,0H66z M191.6,0c2.2,0,3.4,0,4.2,0.4c0.7,0.4,1.4,1,1.7,1.7c0.4,0.9,0.4,2,0.4,4.2V66h-66V0H191.6z M0,125.6V66h66\n v66H6.4H0 M198,132v59.6c0,2.2,0,3.4-0.4,4.2c-0.4,0.7-1,1.4-1.7,1.7c-0.9,0.4-2,0.4-4.2,0.4H132v-66H198z"}))),t("g",{key:"baab4800b5fd2e7b4da6354a8ea70977892f27e9",id:"b949d602-8478-437e-a171-ad3f26649cb4"},t("g",{key:"50b59b033a31199c8bfa1ffeb3dad71a8ec09939",id:"ae3574e0-2065-4681-8937-4318b8656147"},t("path",{key:"7b8dcc70a852a9d19576339cb77001159eb459ff",class:"b9f37b2d-094d-4f18-b17c-7c5acf36f9a6",d:"M132,66v66H66V66ZM191.6,0c2.24,0,3.36,0,4.22.44a4,4,0,0,1,1.74,1.74c.44.86.44,2,.44,4.22V66H132V0ZM66,0V66H0V6.4C0,4.16,0,3,.44,2.18A4,4,0,0,1,2.18.44C3,0,4.16,0,6.4,0Zm0,132v66H6.4c-2.24,0-3.36,0-4.22-.44a4,4,0,0,1-1.74-1.74C0,195,0,193.84,0,191.6V132Zm66,0v66H66V132Zm66,0v59.6c0,2.24,0,3.36-.44,4.22a4,4,0,0,1-1.74,1.74c-.86.44-2,.44-4.22.44H132V132Zm0-66v66H132V66Z"}))),t("g",{key:"49ce3b1e67abf972cf5d85fc4fd7179789dc7475",id:"e827a936-cbcd-43b3-971a-aa8f8714fdff"},t("g",{key:"178eeae1141014cd9d350efa16127287f9b3e693",id:"e540dca8-23ca-45dc-b462-df9071c1317d"},t("path",{key:"5ddcf393f950bfac964f513641488157e4cbc864",class:"st0",d:"M132,66v66H66V66H132z M132,0v66H66V0H132z M66,0v66H0V6.4C0,4.2,0,3,0.4,2.2c0.4-0.7,1-1.4,1.7-1.7\n C3,0,4.2,0,6.4,0H66z M66,132v66H6.4c-2.2,0-3.4,0-4.2-0.4c-0.7-0.4-1.4-1-1.7-1.7C0,195,0,193.8,0,191.6V132H66z M132,132v66H66\n v-66H132z M198,132v59.6c0,2.2,0,3.4-0.4,4.2c-0.4,0.7-1,1.4-1.7,1.7c-0.9,0.4-2,0.4-4.2,0.4H132v-66H198z M198,66v66h-66V66"})))];return t(c,{key:"37c01095b5cb62aba5f08a63f68912c222f2455d",class:Object.assign(Object.assign({},e.class()),e.modifier("is-rotation-".concat(this.rotation)).class())},t("svg",{key:"1a3508b2371190cbd682acdc0b35eba831b1bb9e",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 198 198",focusable:"false","aria-hidden":"true",fill:this.getHex()},a[parseInt(this.variation)-1]))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());g.style=v}}}));
@@ -1 +1 @@
1
- import{L as t,H as s,P as i,T as e,M as r,N as a,O as h}from"./p-BD2o1F4P.js";import{_ as n,a as c}from"./p-dfXERft2.js";import{i as o}from"./p-xbSOW78W.js";import{a as u}from"./p-DBsOHTWj.js";import{i as l}from"./p-C4sZQbkT.js";import{B as b}from"./p-ByiN-QjD.js";import{i as d,A as f,N as $}from"./p-xVPGsAdF.js";import{d as m}from"./p-FCLKfv6B.js";import{g as p,a as g,b as k,e as v,s as w,f as y,i as j,h as x,j as D,c as B,d as C}from"./p-CwsaXXwG.js";import"./p-BFTU3MAI.js";function F(t){if(!t)return"";const s=t.replace(/\D/g,"").trim(),i=[s.substring(0,3),s.substring(3,6),s.substring(6,9),s.substring(9,12)].filter((t=>t.length>0));switch(i.length){case 1:return`${t}`;case 2:return`${i[0]}.${i[1]}`;case 3:return`${i[0]}.${i[1]}.${i[2]}`;default:return`${i[0]}.${i[1]}.${i[2]}.${i[3]}`}}function E(t){if(!t)return"";const s=`${t}`.trim().toUpperCase(),i=[s.substring(0,2),s.substring(2,8),s.substring(8,10),s.substring(10,11)].filter((t=>t.length>0));switch(i.length){case 1:return`${t}`;case 2:return`${i[0]}/${i[1]}`;case 3:return`${i[0]}/${i[1]}/${i[2]}`;default:return`${i[0]}/${i[1]}/${i[2]}.${i[3]}`}}function L(t){if(!t)return"";let s=`${t}`.trim();const i=[s.substring(0,9),s.substring(9,10)].filter((t=>t.length>0));return s=O(i[0]),i[1]?`${s}-${i[1]}`:s}function O(t){if(!t)return"";const s=`${t}`.trim(),i=[s.substring(0,2),s.substring(2,3),s.substring(3,6),s.substring(6,9)].filter((t=>t.length>0));switch(i.length){case 1:return`${s}`;case 2:return`${i[0]}/${i[1]}`;case 3:return`${i[0]}/${i[1]}.${i[2]}`;default:return`${i[0]}/${i[1]}.${i[2]}.${i[3]}`}}function P(t){if(!t)return"";const s=`${t}`.trim(),i=[s.substring(0,4),s.substring(4,7),s.substring(7,10)].filter((t=>t.length>0));switch(i.length){case 1:return`${s}`;case 2:return`${i[0]}.${i[1]}`;default:return`${i[0]}.${i[1]}.${i[2]}`}}function A(t){if(!t)return"";const s=`${t}`.trim(),i=[s.substring(0,2),s.substring(2,6),s.substring(6,10),s.substring(10,14)].filter((t=>t.length>0));switch(i.length){case 1:return`BE${s}`;case 2:return`BE${i[0]} ${i[1]}`;case 3:return`BE${i[0]} ${i[1]} ${i[2]}`;default:return`BE${i[0]} ${i[1]} ${i[2]} ${i[3]}`}}const K=class{constructor(t){s(this,t),this.balInput=i(this,"balInput"),this.balBlur=i(this,"balBlur"),this.balKeyPress=i(this,"balKeyPress"),this.balFocus=i(this,"balFocus"),this.balChange=i(this,"balChange"),this.inputId="bal-input-"+X++,this.inheritedAttributes={},this.inputValue=this.value,this.initialValue=this.value||"",this.focused=!1,this.ariaForm=m,this.name=this.inputId,this.invalid=!1,this.textAlign="left",this.type="text",this.autocapitalize="off",this.autocomplete="off",this.autocorrect="off",this.autofocus=!1,this.debounce=0,this.required=!1,this.spellcheck=!1,this.disabled=!1,this.readonly=!1,this.clickable=!1,this.hasIconRight=!1,this.value=void 0,this.mask=void 0,this.autoInvalidOff=!1,this.getInputValue=()=>{var t;const s=this.nativeInput;let i="";if(s){if(this.allowedKeyPress&&s&&!this.mask){const t=new RegExp("^"+this.allowedKeyPress+"$"),i=s.value.split("").filter((s=>t.test(s))).join("");return s.value=i,i}if(s.value){if(this.mask)switch(this.mask){case"vehicle-registration-number":return i=s.value.replace(/\D/g,""),i.length>12&&(i=i.substring(0,12)),i;case"contract-number":return i=s.value.replace(/\D/g,""),"0"===i.charAt(0)&&(i=i.substring(1)),i.length>10&&(i=i.substring(0,10)),i;case"basic-contract-number":return i=s.value.replace(/\D/g,""),"0"===i.charAt(0)&&(i=i.substring(1)),i.length>9&&(i=i.substring(0,9)),i;case"offer-number":return i=s.value.replace(/\D/g,""),i.length>9&&(i=i.substring(0,9)),i;case"claim-number":{i=s.value.replace(/[^\dXx]/g,"");const e=[i.substring(0,10),i.substring(10,11),i.substring(11)].filter((t=>t.length>0));switch(e.length){case 1:i=`${e[0].replace(/\D/g,"")}`;break;case 2:i=`${e[0].replace(/\D/g,"")}${e[1]}`;break;default:i=`${e[0].replace(/\D/g,"")}${e[1]}${null===(t=e[2])||void 0===t?void 0:t.replace(/\D/g,"")}`}return i.length>11&&(i=i.substring(0,11)),i}case"be-enterprise-number":return i=s.value.replace(/\D/g,""),i.length>10&&(i=i.substring(0,10)),i;case"be-iban":return i=s.value.replace(/\D/g,""),i.length>14&&(i=i.substring(0,14)),i;default:return s.value}}else this.inputValue=s.value}return""},this.onInput=t=>{var s,i;const e=p(t),r=null===(s=t.target)||void 0===s?void 0:s.selectionStart,a=null===(i=t.target)||void 0===i?void 0:i.selectionEnd;if(this.inputValue=this.getInputValue(),e)if(e.value)switch(this.mask){case"vehicle-registration-number":e.value=F(this.inputValue),r<this.inputValue.length&&e.setSelectionRange(r,a);break;case"contract-number":case"basic-contract-number":e.value=L(this.inputValue),r<this.inputValue.length&&e.setSelectionRange(r,a);break;case"offer-number":e.value=O(this.inputValue),r<this.inputValue.length&&e.setSelectionRange(r,a);break;case"claim-number":e.value=E(this.inputValue),r<this.inputValue.length&&e.setSelectionRange(r,a);break;case"be-enterprise-number":e.value=P(this.inputValue),r<this.inputValue.length&&e.setSelectionRange(r,a);break;case"be-iban":e.value=A(this.inputValue),r<this.inputValue.length&&e.setSelectionRange(r,a);break;default:this.inputValue=e.value}else this.inputValue=e.value;this.balInput.emit(this.inputValue)},this.onFocus=t=>g(this,t),this.onBlur=t=>{k(this,t);const s=t.target;s&&(void 0===this.mask&&(s.value=this.getFormattedValue()),v(this))},this.onKeydown=t=>{if(void 0!==this.mask&&!o(t)&&!d(t)){let s=0;if(this.inputValue&&(s=this.inputValue.length),!(this.getMaskAllowedKeys().includes(t.key)||"claim-number"===this.mask&&("X"===t.key||"x"===t.key)&&s>=10))return w(t)}if(this.allowedKeyPress&&!this.mask&&!o(t)&&!d(t)&&!new RegExp("^"+this.allowedKeyPress+"$").test(t.key)&&![...f].includes(t.key))return w(t)},this.onClick=t=>y(this,t),this.handleClick=t=>j(this,t)}createLogger(t){this.log=t}debounceChanged(){this.balChange=e(this.balChange,this.debounce)}listenOnClick(t){x(this,t)}resetHandler(t){const s=t.target;(null==s?void 0:s.contains(this.el))&&D(this,this.initialValue,this.resetHandlerTimer)}connectedCallback(){this.debounceChanged(),this.initialValue=this.value||""}componentWillLoad(){this.inheritedAttributes=l(this.el,["aria-label","tabindex","title"])}componentDidLoad(){this.inputValue=this.value}async setFocus(){B(this)}async setBlur(){C(this)}getInputElement(){return Promise.resolve(this.nativeInput)}async setAriaForm(t){this.ariaForm=Object.assign({},t)}getRawValue(){return(this.value||"").toString()}getFormattedValue(){const t=this.getRawValue();return`${t}${void 0!==this.suffix&&void 0!==t&&""!==t?" "+this.suffix:""}`}getMaskAllowedKeys(){return[...$,...f]}render(){let t=this.focused?this.getRawValue():this.getFormattedValue();if(void 0!==this.mask)switch(this.mask){case"contract-number":case"basic-contract-number":t=L(t);break;case"claim-number":t=E(t);break;case"offer-number":t=O(t);break;case"be-enterprise-number":t=P(t);break;case"be-iban":t=A(t);break;case"vehicle-registration-number":t=F(t)}let s={};this.pattern&&(s={pattern:this.pattern});const i=b.block("input"),e=this.ariaForm.controlId||this.inputId;return r(a,{key:"4305dd33ab7a921626c9fb9832efd1d98e2467b5",onClick:this.handleClick,"aria-disabled":u(this.disabled),class:Object.assign({},i.class())},r("input",Object.assign({key:"393e47564e6bd87ee67a98a8d023c2f82e36b0dd",class:{input:!0,"is-disabled":this.disabled||this.readonly,"is-danger":this.invalid,"is-clickable":this.clickable,"bal-focusable":!this.disabled,"has-icon-right":this.hasIconRight,"has-text-centered":"center"===this.textAlign,"has-text-right":"right"===this.textAlign},"data-testid":"bal-input",ref:t=>this.nativeInput=t,id:e,"aria-labelledby":this.ariaForm.labelId,"aria-describedby":this.ariaForm.messageId,"aria-invalid":!0===this.invalid?"true":"false","aria-disabled":u(this.disabled),disabled:this.disabled,accept:this.accept,inputMode:this.inputmode,autoCapitalize:this.autocapitalize,autocomplete:this.autocomplete,autocorrect:this.autocorrect,autofocus:this.autofocus,min:this.min,max:this.max,minLength:this.minLength,maxLength:this.maxLength,multiple:this.multiple,name:this.name,placeholder:this.placeholder||"",readonly:this.readonly,required:this.required,spellcheck:this.spellcheck,type:this.type,value:t,onFocus:this.onFocus,onInput:t=>this.onInput(t),onKeyDown:t=>this.onKeydown(t),onBlur:this.onBlur,onClick:this.onClick,onKeyPress:t=>this.balKeyPress.emit(t)},s,this.inheritedAttributes)))}get el(){return h(this)}static get watchers(){return{debounce:["debounceChanged"]}}};n([t("bal-input"),c("design:type",Function),c("design:paramtypes",[Function]),c("design:returntype",void 0)],K.prototype,"createLogger",null);let X=0;K.style=".bal-input{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;position:relative;width:100%;-ms-flex:1;flex:1;font-family:var(--bal-font-family-text);padding:0}";export{K as bal_input}
1
+ import{L as t,H as s,P as i,T as e,M as r,N as a,O as h}from"./p-BD2o1F4P.js";import{_ as n,a as c}from"./p-dfXERft2.js";import{i as o}from"./p-xbSOW78W.js";import{a as u}from"./p-DBsOHTWj.js";import{i as l}from"./p-C4sZQbkT.js";import{B as b}from"./p-ByiN-QjD.js";import{i as d,A as f,N as $}from"./p-xVPGsAdF.js";import{d as m}from"./p-FCLKfv6B.js";import{g as p,a as g,b as k,e as v,s as w,f as y,i as j,h as x,j as D,c as B,d as C}from"./p-CwsaXXwG.js";import"./p-BFTU3MAI.js";function F(t){if(!t)return"";const s=t.replace(/\D/g,"").trim(),i=[s.substring(0,3),s.substring(3,6),s.substring(6,9),s.substring(9,12)].filter((t=>t.length>0));switch(i.length){case 1:return`${t}`;case 2:return`${i[0]}.${i[1]}`;case 3:return`${i[0]}.${i[1]}.${i[2]}`;default:return`${i[0]}.${i[1]}.${i[2]}.${i[3]}`}}function E(t){if(!t)return"";const s=`${t}`.trim().toUpperCase(),i=[s.substring(0,2),s.substring(2,8),s.substring(8,10),s.substring(10,11)].filter((t=>t.length>0));switch(i.length){case 1:return`${t}`;case 2:return`${i[0]}/${i[1]}`;case 3:return`${i[0]}/${i[1]}/${i[2]}`;default:return`${i[0]}/${i[1]}/${i[2]}.${i[3]}`}}function L(t){if(!t)return"";let s=`${t}`.trim();const i=[s.substring(0,9),s.substring(9,10)].filter((t=>t.length>0));return s=O(i[0]),i[1]?`${s}-${i[1]}`:s}function O(t){if(!t)return"";const s=`${t}`.trim(),i=[s.substring(0,2),s.substring(2,3),s.substring(3,6),s.substring(6,9)].filter((t=>t.length>0));switch(i.length){case 1:return`${s}`;case 2:return`${i[0]}/${i[1]}`;case 3:return`${i[0]}/${i[1]}.${i[2]}`;default:return`${i[0]}/${i[1]}.${i[2]}.${i[3]}`}}function P(t){if(!t)return"";const s=`${t}`.trim(),i=[s.substring(0,4),s.substring(4,7),s.substring(7,10)].filter((t=>t.length>0));switch(i.length){case 1:return`${s}`;case 2:return`${i[0]}.${i[1]}`;default:return`${i[0]}.${i[1]}.${i[2]}`}}function A(t){if(!t)return"";const s=`${t}`.trim(),i=[s.substring(0,2),s.substring(2,6),s.substring(6,10),s.substring(10,14)].filter((t=>t.length>0));switch(i.length){case 1:return`BE${s}`;case 2:return`BE${i[0]} ${i[1]}`;case 3:return`BE${i[0]} ${i[1]} ${i[2]}`;default:return`BE${i[0]} ${i[1]} ${i[2]} ${i[3]}`}}const K=class{constructor(t){s(this,t),this.balInput=i(this,"balInput"),this.balBlur=i(this,"balBlur"),this.balKeyPress=i(this,"balKeyPress"),this.balFocus=i(this,"balFocus"),this.balChange=i(this,"balChange"),this.inputId="bal-input-"+X++,this.inheritedAttributes={},this.inputValue=this.value,this.initialValue=this.value||"",this.focused=!1,this.ariaForm=m,this.name=this.inputId,this.invalid=!1,this.textAlign="left",this.type="text",this.autocapitalize="off",this.autocomplete="off",this.autocorrect="off",this.autofocus=!1,this.debounce=0,this.required=!1,this.spellcheck=!1,this.disabled=!1,this.readonly=!1,this.clickable=!1,this.hasIconRight=!1,this.value=void 0,this.mask=void 0,this.autoInvalidOff=!1,this.getInputValue=()=>{var t;const s=this.nativeInput;let i="";if(s){if(this.allowedKeyPress&&s&&!this.mask){const t=new RegExp("^"+this.allowedKeyPress+"$"),i=s.value.split("").filter((s=>t.test(s))).join("");return s.value=i,i}if(s.value){if(this.mask)switch(this.mask){case"vehicle-registration-number":return i=s.value.replace(/\D/g,""),i.length>12&&(i=i.substring(0,12)),i;case"contract-number":return i=s.value.replace(/\D/g,""),"0"===i.charAt(0)&&(i=i.substring(1)),i.length>10&&(i=i.substring(0,10)),i;case"basic-contract-number":return i=s.value.replace(/\D/g,""),"0"===i.charAt(0)&&(i=i.substring(1)),i.length>9&&(i=i.substring(0,9)),i;case"offer-number":return i=s.value.replace(/\D/g,""),i.length>9&&(i=i.substring(0,9)),i;case"claim-number":{i=s.value.replace(/[^\dXx]/g,"");const e=[i.substring(0,10),i.substring(10,11),i.substring(11)].filter((t=>t.length>0));switch(e.length){case 1:i=`${e[0].replace(/\D/g,"")}`;break;case 2:i=`${e[0].replace(/\D/g,"")}${e[1]}`;break;default:i=`${e[0].replace(/\D/g,"")}${e[1]}${null===(t=e[2])||void 0===t?void 0:t.replace(/\D/g,"")}`}return i.length>11&&(i=i.substring(0,11)),i}case"be-enterprise-number":return i=s.value.replace(/\D/g,""),i.length>10&&(i=i.substring(0,10)),i;case"be-iban":return i=s.value.replace(/\D/g,""),i.length>14&&(i=i.substring(0,14)),i;default:return s.value}}else this.inputValue=s.value}return""},this.onInput=t=>{var s,i;const e=p(t),r=null===(s=t.target)||void 0===s?void 0:s.selectionStart,a=null===(i=t.target)||void 0===i?void 0:i.selectionEnd;if(this.inputValue=this.getInputValue(),e)if(e.value)switch(this.mask){case"vehicle-registration-number":e.value=F(this.inputValue),r<this.inputValue.length&&e.setSelectionRange(r,a);break;case"contract-number":case"basic-contract-number":e.value=L(this.inputValue),r<this.inputValue.length&&e.setSelectionRange(r,a);break;case"offer-number":e.value=O(this.inputValue),r<this.inputValue.length&&e.setSelectionRange(r,a);break;case"claim-number":e.value=E(this.inputValue),r<this.inputValue.length&&e.setSelectionRange(r,a);break;case"be-enterprise-number":e.value=P(this.inputValue),r<this.inputValue.length&&e.setSelectionRange(r,a);break;case"be-iban":e.value=A(this.inputValue),r<this.inputValue.length&&e.setSelectionRange(r,a);break;default:this.inputValue=e.value}else this.inputValue=e.value;this.balInput.emit(this.inputValue)},this.onFocus=t=>g(this,t),this.onBlur=t=>{k(this,t);const s=t.target;s&&(void 0===this.mask&&(s.value=this.getFormattedValue()),v(this))},this.onKeydown=t=>{if(void 0!==this.mask&&!o(t)&&!d(t)){let s=0;if(this.inputValue&&(s=this.inputValue.length),!(this.getMaskAllowedKeys().includes(t.key)||"claim-number"===this.mask&&("X"===t.key||"x"===t.key)&&s>=10))return w(t)}if(this.allowedKeyPress&&!this.mask&&!o(t)&&!d(t)&&!new RegExp("^"+this.allowedKeyPress+"$").test(t.key)&&![...f].includes(t.key))return w(t)},this.onClick=t=>y(this,t),this.handleClick=t=>j(this,t)}createLogger(t){this.log=t}debounceChanged(){this.balChange=e(this.balChange,this.debounce)}listenOnClick(t){x(this,t)}resetHandler(t){const s=t.target;(null==s?void 0:s.contains(this.el))&&D(this,this.initialValue,this.resetHandlerTimer)}connectedCallback(){this.debounceChanged(),this.initialValue=this.value||""}componentWillLoad(){this.inheritedAttributes=l(this.el,["aria-label","tabindex","title","data-hj-allow"])}componentDidLoad(){this.inputValue=this.value}async setFocus(){B(this)}async setBlur(){C(this)}getInputElement(){return Promise.resolve(this.nativeInput)}async setAriaForm(t){this.ariaForm=Object.assign({},t)}getRawValue(){return(this.value||"").toString()}getFormattedValue(){const t=this.getRawValue();return`${t}${void 0!==this.suffix&&void 0!==t&&""!==t?" "+this.suffix:""}`}getMaskAllowedKeys(){return[...$,...f]}render(){let t=this.focused?this.getRawValue():this.getFormattedValue();if(void 0!==this.mask)switch(this.mask){case"contract-number":case"basic-contract-number":t=L(t);break;case"claim-number":t=E(t);break;case"offer-number":t=O(t);break;case"be-enterprise-number":t=P(t);break;case"be-iban":t=A(t);break;case"vehicle-registration-number":t=F(t)}let s={};this.pattern&&(s={pattern:this.pattern});const i=b.block("input"),e=this.ariaForm.controlId||this.inputId;return r(a,{key:"df1fdc17d1cdfcd0d7053deaab872d649a9aa3cb",onClick:this.handleClick,"aria-disabled":u(this.disabled),class:Object.assign({},i.class())},r("input",Object.assign({key:"e7b35786a60c06b7eee7b82e22af9cd590f6c261",class:{input:!0,"is-disabled":this.disabled||this.readonly,"is-danger":this.invalid,"is-clickable":this.clickable,"bal-focusable":!this.disabled,"has-icon-right":this.hasIconRight,"has-text-centered":"center"===this.textAlign,"has-text-right":"right"===this.textAlign},"data-testid":"bal-input",ref:t=>this.nativeInput=t,id:e,"aria-labelledby":this.ariaForm.labelId,"aria-describedby":this.ariaForm.messageId,"aria-invalid":!0===this.invalid?"true":"false","aria-disabled":u(this.disabled),disabled:this.disabled,accept:this.accept,inputMode:this.inputmode,autoCapitalize:this.autocapitalize,autocomplete:this.autocomplete,autocorrect:this.autocorrect,autofocus:this.autofocus,min:this.min,max:this.max,minLength:this.minLength,maxLength:this.maxLength,multiple:this.multiple,name:this.name,placeholder:this.placeholder||"",readonly:this.readonly,required:this.required,spellcheck:this.spellcheck,type:this.type,value:t,onFocus:this.onFocus,onInput:t=>this.onInput(t),onKeyDown:t=>this.onKeydown(t),onBlur:this.onBlur,onClick:this.onClick,onKeyPress:t=>this.balKeyPress.emit(t)},s,this.inheritedAttributes)))}get el(){return h(this)}static get watchers(){return{debounce:["debounceChanged"]}}};n([t("bal-input"),c("design:type",Function),c("design:paramtypes",[Function]),c("design:returntype",void 0)],K.prototype,"createLogger",null);let X=0;K.style=".bal-input{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;position:relative;width:100%;-ms-flex:1;flex:1;font-family:var(--bal-font-family-text);padding:0}";export{K as bal_input}