@baloise/ds-core 17.3.0 → 17.4.0-nightly.20250207

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 (722) hide show
  1. package/components/all.d.ts +2 -0
  2. package/components/all.js +3 -0
  3. package/components/aria.js +6 -1
  4. package/components/attributes.js +1 -0
  5. package/components/bal-accordion-details.js +1 -1
  6. package/components/bal-accordion-summary.js +1 -1
  7. package/components/bal-accordion-trigger.js +67 -2
  8. package/components/bal-app.js +1 -93
  9. package/components/bal-app2.js +95 -0
  10. package/components/bal-badge2.js +1 -1
  11. package/components/bal-button-group2.js +2 -2
  12. package/components/bal-button2.js +13 -2
  13. package/components/bal-card-actions.js +1 -1
  14. package/components/bal-card-button.js +1 -1
  15. package/components/bal-card-content2.js +1 -1
  16. package/components/bal-card-subtitle.js +1 -1
  17. package/components/bal-card-title.js +1 -1
  18. package/components/bal-card2.js +2 -2
  19. package/components/bal-carousel.js +12 -4
  20. package/components/bal-checkbox-button.js +1 -1
  21. package/components/bal-checkbox-group.js +2 -1
  22. package/components/bal-checkbox2.js +1 -1
  23. package/components/bal-close2.js +1 -1
  24. package/components/bal-content2.js +1 -1
  25. package/components/bal-data-item.js +1 -1
  26. package/components/bal-data-label.js +1 -1
  27. package/components/bal-data-value.js +1 -1
  28. package/components/bal-data.js +1 -1
  29. package/components/bal-date-calendar-cell2.js +2 -1
  30. package/components/bal-date-calendar2.js +1 -1
  31. package/components/bal-date.js +2 -1
  32. package/components/bal-divider.js +1 -1
  33. package/components/bal-doc-app.d.ts +11 -0
  34. package/components/bal-doc-app.js +262 -0
  35. package/components/bal-dropdown.js +4 -4
  36. package/components/bal-field-control.js +2 -2
  37. package/components/bal-field-hint.js +1 -1
  38. package/components/bal-field-label.js +1 -1
  39. package/components/bal-field-message.js +2 -2
  40. package/components/bal-field.js +4 -4
  41. package/components/bal-file-upload.js +5 -4
  42. package/components/bal-footer.js +6 -12
  43. package/components/bal-form-col.js +2 -2
  44. package/components/bal-form-grid.js +2 -2
  45. package/components/bal-form.js +1 -1
  46. package/components/bal-heading2.js +1 -1
  47. package/components/bal-hint-text2.js +1 -1
  48. package/components/bal-hint-title2.js +1 -1
  49. package/components/bal-icon2.js +3 -2
  50. package/components/bal-input-date2.js +3 -2
  51. package/components/bal-input-group2.js +1 -1
  52. package/components/bal-input-slider.js +4 -3
  53. package/components/bal-input-stepper.js +4 -3
  54. package/components/bal-input.js +3 -2
  55. package/components/bal-label2.js +1 -1
  56. package/components/bal-list-item-accordion-body2.js +30 -8
  57. package/components/bal-list-item-accordion-head2.js +106 -3
  58. package/components/bal-list-item-content2.js +2 -2
  59. package/components/bal-list-item-icon2.js +2 -2
  60. package/components/bal-list-item-subtitle2.js +1 -1
  61. package/components/bal-list-item-title2.js +1 -1
  62. package/components/bal-list2.js +1 -1
  63. package/components/bal-modal-body.js +1 -1
  64. package/components/bal-modal-header.js +1 -1
  65. package/components/bal-modal.js +8 -6
  66. package/components/bal-nav-link-grid-col2.js +1 -1
  67. package/components/bal-nav-link-grid2.js +1 -1
  68. package/components/bal-nav-link-group.js +1 -1
  69. package/components/bal-nav-link2.js +2 -2
  70. package/components/bal-nav-menu-bar2.js +1 -1
  71. package/components/bal-nav-menu-flyout2.js +1 -1
  72. package/components/bal-nav-meta-bar2.js +1 -1
  73. package/components/bal-nav.js +8 -8
  74. package/components/bal-navbar-brand.js +58 -2
  75. package/components/bal-navbar-menu-end.js +1 -1
  76. package/components/bal-navbar-menu-start.js +1 -1
  77. package/components/bal-navbar-menu.js +1 -1
  78. package/components/bal-navbar.js +1 -1
  79. package/components/bal-notices.js +1 -1
  80. package/components/bal-notification.js +1 -1
  81. package/components/bal-number-input.js +8 -6
  82. package/components/bal-option-list.js +2 -1
  83. package/components/bal-option.js +1 -1
  84. package/components/bal-pagination.js +4 -4
  85. package/components/bal-popover-content2.js +1 -1
  86. package/components/bal-popover2.js +3 -2
  87. package/components/bal-popup.js +1 -1
  88. package/components/bal-progress-bar.js +1 -1
  89. package/components/bal-radio-button.js +1 -1
  90. package/components/bal-radio-group.js +2 -1
  91. package/components/bal-radio2.js +2 -1
  92. package/components/bal-segment-item.js +1 -1
  93. package/components/bal-segment.js +1 -1
  94. package/components/bal-select-option2.js +1 -1
  95. package/components/bal-select2.js +6 -5
  96. package/components/bal-shape2.js +4 -4
  97. package/components/bal-sheet.js +1 -1
  98. package/components/bal-snackbar.js +1 -1
  99. package/components/bal-spinner2.js +1 -1
  100. package/components/bal-stack2.js +1 -1
  101. package/components/bal-stage-back-link.js +2 -2
  102. package/components/bal-stage-body.js +1 -1
  103. package/components/bal-stage-foot.js +1 -1
  104. package/components/bal-stage-head.js +1 -1
  105. package/components/bal-stage-image.js +1 -1
  106. package/components/bal-stage.js +1 -1
  107. package/components/bal-step-item.js +2 -2
  108. package/components/bal-tab-item.js +2 -2
  109. package/components/bal-table.js +1 -1
  110. package/components/bal-tabs2.js +6 -5
  111. package/components/bal-tag-group.js +1 -1
  112. package/components/bal-tag2.js +2 -1
  113. package/components/bal-text2.js +2 -2
  114. package/components/bal-textarea.js +2 -1
  115. package/components/bal-time-input.js +2 -1
  116. package/components/bal-toast.js +1 -1
  117. package/components/bal-tooltip.js +1 -1
  118. package/components/form.js +2 -2
  119. package/components/index.js +7 -314
  120. package/components/initialize.js +312 -0
  121. package/components/overlays.js +285 -1
  122. package/components/swiper.util.js +8 -3
  123. package/components/tokens.esm.js +1 -1
  124. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  125. package/dist/baloise-design-system/baloise-design-system.js +1 -1
  126. package/dist/baloise-design-system/index.esm.js +1 -1
  127. package/dist/baloise-design-system/p-00b2c8e27d.entry.js +1 -0
  128. package/dist/baloise-design-system/p-0242cdf474.entry.js +1 -0
  129. package/dist/baloise-design-system/p-055ec952e0.system.entry.js +1 -0
  130. package/dist/baloise-design-system/{p-1756cf373c.entry.js → p-07caaebbe2.entry.js} +1 -1
  131. package/dist/baloise-design-system/p-0831f02fb0.system.entry.js +1 -0
  132. package/dist/baloise-design-system/p-111d37ae18.system.entry.js +1 -0
  133. package/dist/baloise-design-system/{p-f80438cdac.entry.js → p-12db0c3477.entry.js} +1 -1
  134. package/dist/baloise-design-system/{p-95bf3ca0ae.entry.js → p-187e7da1ed.entry.js} +1 -1
  135. package/dist/baloise-design-system/{p-3664ca2ce5.system.entry.js → p-18820ca258.system.entry.js} +1 -1
  136. package/dist/baloise-design-system/{p-516488d5fc.system.entry.js → p-1a0638a333.system.entry.js} +1 -1
  137. package/dist/baloise-design-system/p-1c7bf90be2.system.entry.js +1 -0
  138. package/dist/baloise-design-system/{p-2b4970ea09.system.entry.js → p-1e277aaac1.system.entry.js} +1 -1
  139. package/dist/baloise-design-system/{p-7042d9e34c.system.entry.js → p-208bd3127d.system.entry.js} +1 -1
  140. package/dist/baloise-design-system/{p-3a7c9c15.js → p-23c7c26d.js} +1 -1
  141. package/dist/baloise-design-system/p-273fb2c2.system.js +1 -1
  142. package/dist/baloise-design-system/p-279428d318.entry.js +1 -0
  143. package/dist/baloise-design-system/{p-a5964c8a.system.js → p-2beacad3.system.js} +1 -1
  144. package/dist/baloise-design-system/p-2da669b4.system.js +1 -0
  145. package/dist/baloise-design-system/{p-66f6b46fd4.system.entry.js → p-3114657eb7.system.entry.js} +1 -1
  146. package/dist/baloise-design-system/p-312a3215.js +1 -0
  147. package/dist/baloise-design-system/p-31876153a5.entry.js +1 -0
  148. package/dist/baloise-design-system/p-31c7ac3a.system.js +1 -0
  149. package/dist/baloise-design-system/p-36605beaff.entry.js +1 -0
  150. package/dist/baloise-design-system/p-36c4bd2450.system.entry.js +1 -0
  151. package/dist/baloise-design-system/p-37339d673b.system.entry.js +1 -0
  152. package/dist/baloise-design-system/{p-e7c9357245.entry.js → p-374e5904fa.entry.js} +1 -1
  153. package/dist/baloise-design-system/p-3ae755102b.system.entry.js +1 -0
  154. package/dist/baloise-design-system/{p-34ca390a2c.system.entry.js → p-3bcfc7b117.system.entry.js} +1 -1
  155. package/dist/baloise-design-system/p-3c1ea7b3e0.entry.js +1 -0
  156. package/dist/baloise-design-system/{p-92e27ad87b.entry.js → p-3c447e2884.entry.js} +1 -1
  157. package/dist/baloise-design-system/p-3f559c384a.system.entry.js +1 -0
  158. package/dist/baloise-design-system/p-409e1ef403.entry.js +1 -0
  159. package/dist/baloise-design-system/p-417c1f58e3.entry.js +1 -0
  160. package/dist/baloise-design-system/p-426219f4.js +1 -0
  161. package/dist/baloise-design-system/p-43174c7095.entry.js +1 -0
  162. package/dist/baloise-design-system/{p-7ced24b550.system.entry.js → p-447acd07e7.system.entry.js} +1 -1
  163. package/dist/baloise-design-system/{p-2f23758d56.entry.js → p-447bb8d6ce.entry.js} +1 -1
  164. package/dist/baloise-design-system/p-462f564b70.entry.js +1 -0
  165. package/dist/baloise-design-system/{p-5c0ac570ac.entry.js → p-464f369ad6.entry.js} +1 -1
  166. package/dist/baloise-design-system/{p-596000a871.entry.js → p-469a18b468.entry.js} +1 -1
  167. package/dist/baloise-design-system/{p-c6f86d0612.entry.js → p-48809a4768.entry.js} +1 -1
  168. package/dist/baloise-design-system/{p-8594937575.entry.js → p-4d9a45256c.entry.js} +1 -1
  169. package/dist/baloise-design-system/{p-1e7d65ac70.entry.js → p-4ff5aaf67f.entry.js} +1 -1
  170. package/dist/baloise-design-system/p-50a49c0e5c.system.entry.js +1 -0
  171. package/dist/baloise-design-system/{p-649e542e.system.js → p-540bfa19.system.js} +1 -1
  172. package/dist/baloise-design-system/{p-1c08d81e34.entry.js → p-56021799ec.entry.js} +1 -1
  173. package/dist/baloise-design-system/p-5776d1fde6.entry.js +1 -0
  174. package/dist/baloise-design-system/p-5821d4bbb2.system.entry.js +1 -0
  175. package/dist/baloise-design-system/p-5d6f66047b.system.entry.js +1 -0
  176. package/dist/baloise-design-system/{p-652816cc.system.js → p-5d9a1d8a.system.js} +1 -1
  177. package/dist/baloise-design-system/{p-f385e205.js → p-5eb3fbb9.js} +1 -1
  178. package/dist/baloise-design-system/p-6079fa35e4.system.entry.js +1 -0
  179. package/dist/baloise-design-system/p-620dfa084a.system.entry.js +1 -0
  180. package/dist/baloise-design-system/p-649eedce8a.system.entry.js +1 -0
  181. package/dist/baloise-design-system/{p-4a746f645b.entry.js → p-6e37071912.entry.js} +1 -1
  182. package/dist/baloise-design-system/{p-62f6d6e101.system.entry.js → p-6ee0ee61c1.system.entry.js} +1 -1
  183. package/dist/baloise-design-system/p-7615b673a0.system.entry.js +1 -0
  184. package/dist/baloise-design-system/{p-63b89f722f.system.entry.js → p-762c8fa651.system.entry.js} +1 -1
  185. package/dist/baloise-design-system/{p-6c85b9106b.entry.js → p-774cad80b8.entry.js} +1 -1
  186. package/dist/baloise-design-system/{p-84a762f80d.entry.js → p-77963d885f.entry.js} +1 -1
  187. package/dist/baloise-design-system/p-7ab2e7b846.entry.js +1 -0
  188. package/dist/baloise-design-system/p-7afa264997.system.entry.js +1 -0
  189. package/dist/baloise-design-system/{p-ea27183b2a.system.entry.js → p-7c074055e7.system.entry.js} +1 -1
  190. package/dist/baloise-design-system/{p-715f1670d4.entry.js → p-808cc1fd05.entry.js} +1 -1
  191. package/dist/baloise-design-system/{p-270deaf56d.entry.js → p-80bf87ba56.entry.js} +1 -1
  192. package/dist/baloise-design-system/p-857f898475.system.entry.js +1 -0
  193. package/dist/baloise-design-system/{p-fbc010987b.system.entry.js → p-85d7ef7751.system.entry.js} +1 -1
  194. package/dist/baloise-design-system/{p-48c06e18ca.system.entry.js → p-8723e490bf.system.entry.js} +1 -1
  195. package/dist/baloise-design-system/p-8f2e9a7f.js +1 -0
  196. package/dist/baloise-design-system/{p-6e5745c8.system.js → p-907368ff.system.js} +1 -1
  197. package/dist/baloise-design-system/{p-a7bbafcf3c.entry.js → p-93906ca075.entry.js} +1 -1
  198. package/dist/baloise-design-system/{p-6d51888831.entry.js → p-967cb7d960.entry.js} +1 -1
  199. package/dist/baloise-design-system/p-9727e05e.system.js +1 -0
  200. package/dist/baloise-design-system/p-9a1a9c980a.entry.js +1 -0
  201. package/dist/baloise-design-system/p-9aa95fbc37.entry.js +1 -0
  202. package/dist/baloise-design-system/{p-57777973d0.entry.js → p-9b542bd976.entry.js} +1 -1
  203. package/dist/baloise-design-system/{p-dc61e01d7b.entry.js → p-9b73822c14.entry.js} +1 -1
  204. package/dist/baloise-design-system/p-9d2037e834.system.entry.js +1 -0
  205. package/dist/baloise-design-system/p-9ec2c3e050.entry.js +1 -0
  206. package/dist/baloise-design-system/p-9fbf3690.system.js +1 -0
  207. package/dist/baloise-design-system/p-a576a58b09.system.entry.js +1 -0
  208. package/dist/baloise-design-system/{p-d56a7e63df.system.entry.js → p-a5c70dd2dd.system.entry.js} +1 -1
  209. package/dist/baloise-design-system/p-a717563c80.system.entry.js +1 -0
  210. package/dist/baloise-design-system/{p-594112b9e7.system.entry.js → p-a7a9a0b963.system.entry.js} +1 -1
  211. package/dist/baloise-design-system/p-a857e31d7e.entry.js +1 -0
  212. package/dist/baloise-design-system/{p-48a601d6f0.system.entry.js → p-a85fe6d188.system.entry.js} +1 -1
  213. package/dist/baloise-design-system/{p-31443ba141.entry.js → p-aa2b2147a2.entry.js} +1 -1
  214. package/dist/baloise-design-system/p-afa8aa0eec.system.entry.js +1 -0
  215. package/dist/baloise-design-system/p-afca130b59.system.entry.js +1 -0
  216. package/dist/baloise-design-system/p-afef265b5f.entry.js +1 -0
  217. package/dist/baloise-design-system/{p-54166d49.system.js → p-b18f3c73.system.js} +1 -1
  218. package/dist/baloise-design-system/p-b21f2874.system.js +1 -0
  219. package/dist/baloise-design-system/p-b51a692e99.entry.js +1 -0
  220. package/dist/baloise-design-system/p-b726b9f4c9.entry.js +1 -0
  221. package/dist/baloise-design-system/p-b742f94253.system.entry.js +1 -0
  222. package/dist/baloise-design-system/p-ba68f2ce70.entry.js +1 -0
  223. package/dist/baloise-design-system/p-bf200caec0.entry.js +1 -0
  224. package/dist/baloise-design-system/p-c0461c69d6.entry.js +1 -0
  225. package/dist/baloise-design-system/p-c0eefa4060.entry.js +1 -0
  226. package/dist/baloise-design-system/{p-e4c30a31a7.system.entry.js → p-c22c22090f.system.entry.js} +1 -1
  227. package/dist/baloise-design-system/{p-fbc35458.js → p-c551bcc8.js} +1 -1
  228. package/dist/baloise-design-system/p-c641bed817.entry.js +1 -0
  229. package/dist/baloise-design-system/{p-06e89742d9.system.entry.js → p-c65b502b9d.system.entry.js} +1 -1
  230. package/dist/baloise-design-system/p-c6f5e9453a.system.entry.js +1 -0
  231. package/dist/baloise-design-system/p-c991d944.js +1 -1
  232. package/dist/baloise-design-system/{p-eaadfca758.entry.js → p-c9c007a260.entry.js} +1 -1
  233. package/dist/baloise-design-system/p-cb84644f38.entry.js +1 -0
  234. package/dist/baloise-design-system/{p-71eb478cc0.system.entry.js → p-cc33c453b6.system.entry.js} +1 -1
  235. package/dist/baloise-design-system/{p-8f1c2e77b6.entry.js → p-cca78c7a8e.entry.js} +1 -1
  236. package/dist/baloise-design-system/{p-e034c068.system.js → p-cdeff384.system.js} +1 -1
  237. package/dist/baloise-design-system/p-d520f1d444.system.entry.js +1 -0
  238. package/dist/baloise-design-system/{p-ce1ce7d198.system.entry.js → p-db9b4e132d.system.entry.js} +1 -1
  239. package/dist/baloise-design-system/{p-9ba757663f.system.entry.js → p-dcb77164fc.system.entry.js} +1 -1
  240. package/dist/baloise-design-system/{p-c1ca39528d.entry.js → p-dd03d28aec.entry.js} +1 -1
  241. package/dist/baloise-design-system/p-dfc66f1812.entry.js +1 -0
  242. package/dist/baloise-design-system/{p-3f88c54b.js → p-e071aae2.js} +1 -1
  243. package/dist/baloise-design-system/p-e0a3b80c8c.system.entry.js +1 -0
  244. package/dist/baloise-design-system/p-e0b6c2eaf9.system.entry.js +1 -0
  245. package/dist/baloise-design-system/{p-f8ab470d9d.system.entry.js → p-e1df0ebfb4.system.entry.js} +1 -1
  246. package/dist/baloise-design-system/p-e4b50159.js +1 -0
  247. package/dist/baloise-design-system/{p-1e726ce985.system.entry.js → p-e6196821f7.system.entry.js} +1 -1
  248. package/dist/baloise-design-system/{p-975634d334.system.entry.js → p-ebae74f9d4.system.entry.js} +1 -1
  249. package/dist/baloise-design-system/p-ec4e5d4ecc.system.entry.js +1 -0
  250. package/dist/baloise-design-system/p-ec5776f5.js +1 -0
  251. package/dist/baloise-design-system/{p-aa101747b4.system.entry.js → p-eeb954c6bc.system.entry.js} +1 -1
  252. package/dist/baloise-design-system/{p-dacc50ec18.entry.js → p-eed0006bea.entry.js} +1 -1
  253. package/dist/baloise-design-system/p-f03c76dc17.entry.js +1 -0
  254. package/dist/baloise-design-system/p-f285a977e8.entry.js +1 -0
  255. package/dist/baloise-design-system/p-f4641c6a16.entry.js +1 -0
  256. package/dist/baloise-design-system/p-f5a0884f92.entry.js +1 -0
  257. package/dist/baloise-design-system/{p-8d1dc2f0d6.system.entry.js → p-f6f93e74c1.system.entry.js} +1 -1
  258. package/dist/baloise-design-system/{p-d96cc18c2d.system.entry.js → p-f7554b087f.system.entry.js} +1 -1
  259. package/dist/baloise-design-system/{p-9438e5c989.entry.js → p-f7e9758f60.entry.js} +1 -1
  260. package/dist/baloise-design-system/{p-1b5f932fe9.system.entry.js → p-f908b02917.system.entry.js} +1 -1
  261. package/dist/baloise-design-system/{p-aa125ebac6.system.entry.js → p-f9950a0b55.system.entry.js} +1 -1
  262. package/dist/baloise-design-system/p-fc462819e0.entry.js +1 -0
  263. package/dist/baloise-design-system/{p-717d8ea880.entry.js → p-fca0dcccde.entry.js} +1 -1
  264. package/dist/baloise-design-system/{p-5d0768fd46.system.entry.js → p-fe6d53dfdf.system.entry.js} +1 -1
  265. package/dist/baloise-design-system/{p-245629d7ca.system.entry.js → p-ff2a5eae24.system.entry.js} +1 -1
  266. package/dist/baloise-design-system/{p-4f74bac34b.system.entry.js → p-ff31e0e340.system.entry.js} +1 -1
  267. package/dist/cjs/app-globals-44d3a5af.js +7 -0
  268. package/dist/cjs/aria-7672033f.js +10 -0
  269. package/dist/cjs/{attributes-9f366716.js → attributes-11acd153.js} +1 -0
  270. package/dist/cjs/bal-accordion_4.cjs.entry.js +65 -3
  271. package/dist/cjs/bal-app.cjs.entry.js +2 -2
  272. package/dist/cjs/bal-badge.cjs.entry.js +1 -1
  273. package/dist/cjs/bal-button_2.cjs.entry.js +15 -5
  274. package/dist/cjs/bal-card_6.cjs.entry.js +7 -7
  275. package/dist/cjs/bal-carousel_2.cjs.entry.js +16 -10
  276. package/dist/cjs/bal-checkbox-button.cjs.entry.js +1 -1
  277. package/dist/cjs/bal-checkbox_2.cjs.entry.js +5 -5
  278. package/dist/cjs/bal-close.cjs.entry.js +1 -1
  279. package/dist/cjs/bal-content.cjs.entry.js +1 -1
  280. package/dist/cjs/bal-data_4.cjs.entry.js +4 -4
  281. package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +2 -1
  282. package/dist/cjs/bal-date-calendar_2.cjs.entry.js +6 -5
  283. package/dist/cjs/bal-date.cjs.entry.js +4 -3
  284. package/dist/cjs/bal-divider.cjs.entry.js +1 -1
  285. package/dist/cjs/bal-doc-app.cjs.entry.js +233 -0
  286. package/dist/cjs/bal-dropdown.cjs.entry.js +7 -7
  287. package/dist/cjs/bal-field_5.cjs.entry.js +11 -11
  288. package/dist/cjs/bal-file-upload.cjs.entry.js +6 -5
  289. package/dist/cjs/bal-footer.cjs.entry.js +4 -4
  290. package/dist/cjs/bal-form-col_2.cjs.entry.js +4 -4
  291. package/dist/cjs/bal-form.cjs.entry.js +2 -2
  292. package/dist/cjs/bal-heading_2.cjs.entry.js +3 -3
  293. package/dist/cjs/bal-hint_5.cjs.entry.js +9 -8
  294. package/dist/cjs/bal-icon.cjs.entry.js +3 -2
  295. package/dist/cjs/bal-input-group.cjs.entry.js +1 -1
  296. package/dist/cjs/bal-input-slider.cjs.entry.js +5 -4
  297. package/dist/cjs/bal-input-stepper.cjs.entry.js +6 -5
  298. package/dist/cjs/bal-input.cjs.entry.js +5 -4
  299. package/dist/cjs/bal-label.cjs.entry.js +2 -2
  300. package/dist/cjs/bal-list_8.cjs.entry.js +137 -19
  301. package/dist/cjs/bal-logo.cjs.entry.js +3 -3
  302. package/dist/cjs/bal-modal_3.cjs.entry.js +9 -8
  303. package/dist/cjs/bal-nav_8.cjs.entry.js +19 -19
  304. package/dist/cjs/bal-navbar_5.cjs.entry.js +61 -9
  305. package/dist/cjs/bal-notices_3.cjs.entry.js +3 -3
  306. package/dist/cjs/bal-notification.cjs.entry.js +1 -1
  307. package/dist/cjs/bal-number-input.cjs.entry.js +9 -7
  308. package/dist/cjs/bal-option_2.cjs.entry.js +5 -5
  309. package/dist/cjs/bal-pagination.cjs.entry.js +7 -7
  310. package/dist/cjs/bal-popup.cjs.entry.js +1 -1
  311. package/dist/cjs/bal-progress-bar.cjs.entry.js +5 -5
  312. package/dist/cjs/bal-radio-button.cjs.entry.js +1 -1
  313. package/dist/cjs/bal-radio_2.cjs.entry.js +5 -4
  314. package/dist/cjs/bal-segment_2.cjs.entry.js +8 -8
  315. package/dist/cjs/bal-select_2.cjs.entry.js +8 -7
  316. package/dist/cjs/bal-shape.cjs.entry.js +5 -5
  317. package/dist/cjs/bal-sheet.cjs.entry.js +1 -1
  318. package/dist/cjs/bal-spinner.cjs.entry.js +1 -1
  319. package/dist/cjs/bal-stack.cjs.entry.js +1 -1
  320. package/dist/cjs/bal-stage_6.cjs.entry.js +8 -8
  321. package/dist/cjs/bal-step-item.cjs.entry.js +3 -3
  322. package/dist/cjs/bal-steps.cjs.entry.js +3 -3
  323. package/dist/cjs/bal-tab-item_2.cjs.entry.js +13 -12
  324. package/dist/cjs/bal-table.cjs.entry.js +1 -1
  325. package/dist/cjs/bal-tag_2.cjs.entry.js +4 -3
  326. package/dist/cjs/bal-textarea.cjs.entry.js +4 -3
  327. package/dist/cjs/bal-time-input.cjs.entry.js +4 -3
  328. package/dist/cjs/bal-tooltip.cjs.entry.js +1 -1
  329. package/dist/cjs/baloise-design-system.cjs.js +3 -2
  330. package/dist/cjs/{breakpoints.decorator-02f40938.js → breakpoints.decorator-ad027a4e.js} +1 -1
  331. package/dist/cjs/{breakpoints.subject-37ab025d.js → breakpoints.subject-314cd618.js} +1 -1
  332. package/dist/cjs/{form-2279fb2f.js → form-17c98ac2.js} +2 -2
  333. package/dist/cjs/{app-globals-fa3c14cc.js → global-872cca8d.js} +2 -4
  334. package/dist/cjs/index.cjs.js +4 -4
  335. package/dist/cjs/initialize-3059001f.js +1 -1
  336. package/dist/cjs/loader.cjs.js +3 -2
  337. package/dist/cjs/overlays-f6884b7e.js +367 -0
  338. package/dist/cjs/{swiper.util-9bad4b2d.js → swiper.util-62ca48ba.js} +8 -3
  339. package/dist/cjs/{tokens.esm-2b08bc6c.js → tokens.esm-c7b97a9a.js} +1 -1
  340. package/dist/cjs/{window-resize.decorator-7153a9f2.js → window-resize.decorator-69109b36.js} +1 -1
  341. package/dist/collection/collection-manifest.json +4 -3
  342. package/dist/collection/components/bal-accordion/bal-accordion-details/bal-accordion-details.js +1 -1
  343. package/dist/collection/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.js +1 -1
  344. package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.js +56 -2
  345. package/dist/collection/components/bal-accordion/bal-accordion.i18n.js +42 -0
  346. package/dist/collection/components/bal-app/bal-app.js +2 -2
  347. package/dist/collection/components/bal-badge/bal-badge.js +1 -1
  348. package/dist/collection/components/bal-button/bal-button-group/bal-button-group.js +2 -2
  349. package/dist/collection/components/bal-button/bal-button.js +33 -3
  350. package/dist/collection/components/bal-card/bal-card-actions/bal-card-actions.js +1 -1
  351. package/dist/collection/components/bal-card/bal-card-button/bal-card-button.js +1 -1
  352. package/dist/collection/components/bal-card/bal-card-content/bal-card-content.js +1 -1
  353. package/dist/collection/components/bal-card/bal-card-subtitle/bal-card-subtitle.js +1 -1
  354. package/dist/collection/components/bal-card/bal-card-title/bal-card-title.js +1 -1
  355. package/dist/collection/components/bal-card/bal-card.js +2 -2
  356. package/dist/collection/components/bal-carousel/bal-carousel.css +1 -1
  357. package/dist/collection/components/bal-carousel/bal-carousel.js +31 -3
  358. package/dist/collection/components/bal-checkbox/bal-checkbox-button/bal-checkbox-button.js +1 -1
  359. package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.js +2 -1
  360. package/dist/collection/components/bal-checkbox/bal-checkbox.js +1 -1
  361. package/dist/collection/components/bal-close/bal-close.js +1 -1
  362. package/dist/collection/components/bal-content/bal-content.js +1 -1
  363. package/dist/collection/components/bal-data/bal-data-item/bal-data-item.js +1 -1
  364. package/dist/collection/components/bal-data/bal-data-label/bal-data-label.js +1 -1
  365. package/dist/collection/components/bal-data/bal-data-value/bal-data-value.js +1 -1
  366. package/dist/collection/components/bal-data/bal-data.js +1 -1
  367. package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.js +1 -1
  368. package/dist/collection/components/bal-date/bal-date-calendar-cell/bal-date-calendar-cell.js +2 -1
  369. package/dist/collection/components/bal-date/bal-date.js +2 -1
  370. package/dist/collection/components/bal-divider/bal-divider.js +1 -1
  371. package/dist/collection/components/bal-dropdown/bal-dropdown.js +2 -2
  372. package/dist/collection/components/bal-field/bal-field-control/bal-field-control.js +2 -2
  373. package/dist/collection/components/bal-field/bal-field-hint/bal-field-hint.js +1 -1
  374. package/dist/collection/components/bal-field/bal-field-label/bal-field-label.js +1 -1
  375. package/dist/collection/components/bal-field/bal-field-message/bal-field-message.js +2 -2
  376. package/dist/collection/components/bal-field/bal-field.css +1 -1
  377. package/dist/collection/components/bal-field/bal-field.js +3 -3
  378. package/dist/collection/components/bal-file-upload/bal-file-upload.js +5 -4
  379. package/dist/collection/components/bal-footer/bal-footer.css +1 -1
  380. package/dist/collection/components/bal-footer/bal-footer.js +3 -3
  381. package/dist/collection/components/bal-form/bal-form.js +1 -1
  382. package/dist/collection/components/bal-form-grid/bal-form-col/bal-form-col.js +2 -2
  383. package/dist/collection/components/bal-form-grid/bal-form-grid.css +1 -1
  384. package/dist/collection/components/bal-form-grid/bal-form-grid.js +1 -1
  385. package/dist/collection/components/bal-heading/bal-heading.js +1 -1
  386. package/dist/collection/components/bal-hint/bal-hint-text/bal-hint-text.js +1 -1
  387. package/dist/collection/components/bal-hint/bal-hint-title/bal-hint-title.js +1 -1
  388. package/dist/collection/components/bal-icon/bal-icon.css +1 -1
  389. package/dist/collection/components/bal-icon/bal-icon.js +2 -1
  390. package/dist/collection/components/bal-input/bal-input-date/bal-input-date.js +3 -2
  391. package/dist/collection/components/bal-input/bal-input.js +3 -2
  392. package/dist/collection/components/bal-input-group/bal-input-group.js +1 -1
  393. package/dist/collection/components/bal-input-slider/bal-input-slider.js +4 -3
  394. package/dist/collection/components/bal-input-stepper/bal-input-stepper.js +4 -3
  395. package/dist/collection/components/bal-label/bal-label.js +1 -1
  396. package/dist/collection/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.js +65 -7
  397. package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.i18n.js +42 -0
  398. package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.js +127 -3
  399. package/dist/collection/components/bal-list/bal-list-item-content/bal-list-item-content.js +2 -2
  400. package/dist/collection/components/bal-list/bal-list-item-icon/bal-list-item-icon.js +2 -2
  401. package/dist/collection/components/bal-list/bal-list-item-subtitle/bal-list-item-subtitle.js +1 -1
  402. package/dist/collection/components/bal-list/bal-list-item-title/bal-list-item-title.js +1 -1
  403. package/dist/collection/components/bal-list/bal-list.js +1 -1
  404. package/dist/collection/components/bal-modal/bal-modal-body/bal-modal-body.js +1 -1
  405. package/dist/collection/components/bal-modal/bal-modal-header/bal-modal-header.js +1 -1
  406. package/dist/collection/components/bal-modal/bal-modal.js +27 -6
  407. package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.js +2 -2
  408. package/dist/collection/components/bal-nav/bal-nav-link-grid/bal-nav-link-grid.js +1 -1
  409. package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.js +1 -1
  410. package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.js +1 -1
  411. package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.js +1 -1
  412. package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +1 -1
  413. package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.js +1 -1
  414. package/dist/collection/components/bal-nav/bal-nav.js +2 -2
  415. package/dist/collection/components/bal-nav/models/bal-nav-meta-button.js +6 -6
  416. package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.i18n.js +32 -0
  417. package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.js +93 -1
  418. package/dist/collection/components/bal-navbar/bal-navbar-menu/bal-navbar-menu.js +1 -1
  419. package/dist/collection/components/bal-navbar/bal-navbar-menu-end/bal-navbar-menu-end.js +1 -1
  420. package/dist/collection/components/bal-navbar/bal-navbar-menu-start/bal-navbar-menu-start.js +1 -1
  421. package/dist/collection/components/bal-navbar/bal-navbar.js +1 -1
  422. package/dist/collection/components/bal-notices/bal-notices.js +1 -1
  423. package/dist/collection/components/bal-notification/bal-notification.js +1 -1
  424. package/dist/collection/components/bal-number-input/bal-number-input.js +10 -8
  425. package/dist/collection/components/bal-option/bal-option.js +1 -1
  426. package/dist/collection/components/bal-option-list/bal-option-list.js +2 -1
  427. package/dist/collection/components/bal-pagination/bal-pagination.js +4 -4
  428. package/dist/collection/components/bal-popover/bal-popover-content/bal-popover-content.js +1 -1
  429. package/dist/collection/components/bal-popover/bal-popover.js +3 -2
  430. package/dist/collection/components/bal-popup/bal-popup.js +1 -1
  431. package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +1 -1
  432. package/dist/collection/components/bal-radio/bal-radio-button/bal-radio-button.js +1 -1
  433. package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.js +2 -1
  434. package/dist/collection/components/bal-radio/bal-radio.js +2 -1
  435. package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +1 -1
  436. package/dist/collection/components/bal-segment/bal-segment.js +1 -1
  437. package/dist/collection/components/bal-select/bal-select-option/bal-select-option.js +1 -1
  438. package/dist/collection/components/bal-select/bal-select.js +6 -5
  439. package/dist/collection/components/bal-shape/bal-shape.js +4 -4
  440. package/dist/collection/components/bal-sheet/bal-sheet.js +1 -1
  441. package/dist/collection/components/bal-snackbar/bal-snackbar.js +1 -1
  442. package/dist/collection/components/bal-spinner/bal-spinner.js +1 -1
  443. package/dist/collection/components/bal-stack/bal-stack.js +1 -1
  444. package/dist/collection/components/bal-stage/bal-stage-back-link/bal-stage-back-link.js +2 -2
  445. package/dist/collection/components/bal-stage/bal-stage-body/bal-stage-body.js +1 -1
  446. package/dist/collection/components/bal-stage/bal-stage-foot/bal-stage-foot.js +1 -1
  447. package/dist/collection/components/bal-stage/bal-stage-head/bal-stage-head.js +1 -1
  448. package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +1 -1
  449. package/dist/collection/components/bal-stage/bal-stage.js +1 -1
  450. package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +2 -2
  451. package/dist/collection/components/bal-table/bal-table.js +1 -1
  452. package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +2 -2
  453. package/dist/collection/components/bal-tabs/bal-tabs.css +1 -1
  454. package/dist/collection/components/bal-tabs/bal-tabs.js +2 -2
  455. package/dist/collection/components/bal-tabs/components/tab-button.js +3 -2
  456. package/dist/collection/components/bal-tag/bal-tag-group/bal-tag-group.js +1 -1
  457. package/dist/collection/components/bal-tag/bal-tag.js +2 -1
  458. package/dist/collection/components/bal-text/bal-text.js +2 -2
  459. package/dist/collection/components/bal-textarea/bal-textarea.js +2 -1
  460. package/dist/collection/components/bal-time-input/bal-time-input.js +2 -1
  461. package/dist/collection/components/bal-toast/bal-toast.js +1 -1
  462. package/dist/collection/components/bal-tooltip/bal-tooltip.js +1 -1
  463. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +1 -0
  464. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +247 -0
  465. package/dist/collection/utils/aria.js +6 -1
  466. package/dist/collection/utils/attributes.js +1 -0
  467. package/dist/collection/utils/constants/version.constant.js +1 -1
  468. package/dist/collection/utils/dropdown/input.js +2 -2
  469. package/dist/collection/utils/form.js +2 -2
  470. package/dist/collection/utils/overlays/focus-trap.js +91 -0
  471. package/dist/collection/utils/overlays/overlays.js +193 -0
  472. package/dist/collection/utils/swiper/swiper.util.js +8 -3
  473. package/dist/esm/app-globals-c5ea8144.js +5 -0
  474. package/dist/esm/aria-ea150568.js +8 -0
  475. package/dist/esm/{attributes-4fa7040f.js → attributes-a3e70948.js} +1 -0
  476. package/dist/esm/bal-accordion_4.entry.js +65 -3
  477. package/dist/esm/bal-app.entry.js +2 -2
  478. package/dist/esm/bal-badge.entry.js +1 -1
  479. package/dist/esm/bal-button_2.entry.js +15 -5
  480. package/dist/esm/bal-card_6.entry.js +7 -7
  481. package/dist/esm/bal-carousel_2.entry.js +16 -10
  482. package/dist/esm/bal-checkbox-button.entry.js +1 -1
  483. package/dist/esm/bal-checkbox_2.entry.js +5 -5
  484. package/dist/esm/bal-close.entry.js +1 -1
  485. package/dist/esm/bal-content.entry.js +1 -1
  486. package/dist/esm/bal-data_4.entry.js +4 -4
  487. package/dist/esm/bal-date-calendar-cell.entry.js +2 -1
  488. package/dist/esm/bal-date-calendar_2.entry.js +6 -5
  489. package/dist/esm/bal-date.entry.js +4 -3
  490. package/dist/esm/bal-divider.entry.js +1 -1
  491. package/dist/esm/bal-doc-app.entry.js +229 -0
  492. package/dist/esm/bal-dropdown.entry.js +7 -7
  493. package/dist/esm/bal-field_5.entry.js +11 -11
  494. package/dist/esm/bal-file-upload.entry.js +6 -5
  495. package/dist/esm/bal-footer.entry.js +4 -4
  496. package/dist/esm/bal-form-col_2.entry.js +4 -4
  497. package/dist/esm/bal-form.entry.js +2 -2
  498. package/dist/esm/bal-heading_2.entry.js +3 -3
  499. package/dist/esm/bal-hint_5.entry.js +9 -8
  500. package/dist/esm/bal-icon.entry.js +3 -2
  501. package/dist/esm/bal-input-group.entry.js +1 -1
  502. package/dist/esm/bal-input-slider.entry.js +5 -4
  503. package/dist/esm/bal-input-stepper.entry.js +6 -5
  504. package/dist/esm/bal-input.entry.js +5 -4
  505. package/dist/esm/bal-label.entry.js +2 -2
  506. package/dist/esm/bal-list_8.entry.js +137 -19
  507. package/dist/esm/bal-logo.entry.js +3 -3
  508. package/dist/esm/bal-modal_3.entry.js +9 -8
  509. package/dist/esm/bal-nav_8.entry.js +19 -19
  510. package/dist/esm/bal-navbar_5.entry.js +61 -9
  511. package/dist/esm/bal-notices_3.entry.js +3 -3
  512. package/dist/esm/bal-notification.entry.js +1 -1
  513. package/dist/esm/bal-number-input.entry.js +9 -7
  514. package/dist/esm/bal-option_2.entry.js +5 -5
  515. package/dist/esm/bal-pagination.entry.js +7 -7
  516. package/dist/esm/bal-popup.entry.js +1 -1
  517. package/dist/esm/bal-progress-bar.entry.js +5 -5
  518. package/dist/esm/bal-radio-button.entry.js +1 -1
  519. package/dist/esm/bal-radio_2.entry.js +5 -4
  520. package/dist/esm/bal-segment_2.entry.js +8 -8
  521. package/dist/esm/bal-select_2.entry.js +8 -7
  522. package/dist/esm/bal-shape.entry.js +5 -5
  523. package/dist/esm/bal-sheet.entry.js +1 -1
  524. package/dist/esm/bal-spinner.entry.js +1 -1
  525. package/dist/esm/bal-stack.entry.js +1 -1
  526. package/dist/esm/bal-stage_6.entry.js +8 -8
  527. package/dist/esm/bal-step-item.entry.js +3 -3
  528. package/dist/esm/bal-steps.entry.js +3 -3
  529. package/dist/esm/bal-tab-item_2.entry.js +13 -12
  530. package/dist/esm/bal-table.entry.js +1 -1
  531. package/dist/esm/bal-tag_2.entry.js +4 -3
  532. package/dist/esm/bal-textarea.entry.js +4 -3
  533. package/dist/esm/bal-time-input.entry.js +4 -3
  534. package/dist/esm/bal-tooltip.entry.js +1 -1
  535. package/dist/esm/baloise-design-system.js +3 -2
  536. package/dist/esm/{breakpoints.decorator-fbc04097.js → breakpoints.decorator-2b927897.js} +1 -1
  537. package/dist/esm/{breakpoints.subject-336f3c8b.js → breakpoints.subject-ba1cef96.js} +1 -1
  538. package/dist/esm/{form-fb8dd9f5.js → form-841232ff.js} +2 -2
  539. package/dist/esm/{app-globals-5b18a75c.js → global-181336dc.js} +2 -4
  540. package/dist/esm/index.js +5 -5
  541. package/dist/esm/initialize-66a526c0.js +1 -1
  542. package/dist/esm/loader.js +3 -2
  543. package/dist/esm/overlays-df27551b.js +360 -0
  544. package/dist/esm/{swiper.util-a4c7d0f9.js → swiper.util-9564f1e8.js} +8 -3
  545. package/dist/esm/{tokens.esm-d6bf7bd8.js → tokens.esm-c4f90a29.js} +1 -1
  546. package/dist/esm/{window-resize.decorator-f894e34b.js → window-resize.decorator-bc159d5a.js} +1 -1
  547. package/dist/esm-es5/app-globals-c5ea8144.js +1 -0
  548. package/dist/esm-es5/aria-ea150568.js +1 -0
  549. package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
  550. package/dist/esm-es5/bal-app.entry.js +1 -1
  551. package/dist/esm-es5/bal-badge.entry.js +1 -1
  552. package/dist/esm-es5/bal-button_2.entry.js +1 -1
  553. package/dist/esm-es5/bal-card_6.entry.js +1 -1
  554. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  555. package/dist/esm-es5/bal-checkbox-button.entry.js +1 -1
  556. package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
  557. package/dist/esm-es5/bal-close.entry.js +1 -1
  558. package/dist/esm-es5/bal-content.entry.js +1 -1
  559. package/dist/esm-es5/bal-data_4.entry.js +1 -1
  560. package/dist/esm-es5/bal-date-calendar-cell.entry.js +1 -1
  561. package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
  562. package/dist/esm-es5/bal-date.entry.js +1 -1
  563. package/dist/esm-es5/bal-divider.entry.js +1 -1
  564. package/dist/esm-es5/bal-doc-app.entry.js +1 -0
  565. package/dist/esm-es5/bal-dropdown.entry.js +1 -1
  566. package/dist/esm-es5/bal-field_5.entry.js +1 -1
  567. package/dist/esm-es5/bal-file-upload.entry.js +1 -1
  568. package/dist/esm-es5/bal-footer.entry.js +1 -1
  569. package/dist/esm-es5/bal-form-col_2.entry.js +1 -1
  570. package/dist/esm-es5/bal-form.entry.js +1 -1
  571. package/dist/esm-es5/bal-heading_2.entry.js +1 -1
  572. package/dist/esm-es5/bal-hint_5.entry.js +1 -1
  573. package/dist/esm-es5/bal-icon.entry.js +1 -1
  574. package/dist/esm-es5/bal-input-group.entry.js +1 -1
  575. package/dist/esm-es5/bal-input-slider.entry.js +1 -1
  576. package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
  577. package/dist/esm-es5/bal-input.entry.js +1 -1
  578. package/dist/esm-es5/bal-label.entry.js +1 -1
  579. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  580. package/dist/esm-es5/bal-logo.entry.js +1 -1
  581. package/dist/esm-es5/bal-modal_3.entry.js +1 -1
  582. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  583. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  584. package/dist/esm-es5/bal-notices_3.entry.js +1 -1
  585. package/dist/esm-es5/bal-notification.entry.js +1 -1
  586. package/dist/esm-es5/bal-number-input.entry.js +1 -1
  587. package/dist/esm-es5/bal-option_2.entry.js +1 -1
  588. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  589. package/dist/esm-es5/bal-popup.entry.js +1 -1
  590. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  591. package/dist/esm-es5/bal-radio-button.entry.js +1 -1
  592. package/dist/esm-es5/bal-radio_2.entry.js +1 -1
  593. package/dist/esm-es5/bal-segment_2.entry.js +1 -1
  594. package/dist/esm-es5/bal-select_2.entry.js +1 -1
  595. package/dist/esm-es5/bal-shape.entry.js +1 -1
  596. package/dist/esm-es5/bal-sheet.entry.js +1 -1
  597. package/dist/esm-es5/bal-spinner.entry.js +1 -1
  598. package/dist/esm-es5/bal-stack.entry.js +1 -1
  599. package/dist/esm-es5/bal-stage_6.entry.js +1 -1
  600. package/dist/esm-es5/bal-step-item.entry.js +1 -1
  601. package/dist/esm-es5/bal-steps.entry.js +1 -1
  602. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  603. package/dist/esm-es5/bal-table.entry.js +1 -1
  604. package/dist/esm-es5/bal-tag_2.entry.js +1 -1
  605. package/dist/esm-es5/bal-textarea.entry.js +1 -1
  606. package/dist/esm-es5/bal-time-input.entry.js +1 -1
  607. package/dist/esm-es5/bal-tooltip.entry.js +1 -1
  608. package/dist/esm-es5/baloise-design-system.js +1 -1
  609. package/dist/esm-es5/breakpoints.decorator-2b927897.js +1 -0
  610. package/dist/esm-es5/{breakpoints.subject-336f3c8b.js → breakpoints.subject-ba1cef96.js} +1 -1
  611. package/dist/esm-es5/{form-fb8dd9f5.js → form-841232ff.js} +1 -1
  612. package/dist/esm-es5/global-181336dc.js +1 -0
  613. package/dist/esm-es5/index.js +1 -1
  614. package/dist/esm-es5/initialize-66a526c0.js +1 -1
  615. package/dist/esm-es5/loader.js +1 -1
  616. package/dist/esm-es5/overlays-df27551b.js +1 -0
  617. package/dist/esm-es5/swiper.util-9564f1e8.js +1 -0
  618. package/dist/esm-es5/{window-resize.decorator-f894e34b.js → window-resize.decorator-bc159d5a.js} +1 -1
  619. package/dist/html.html-data.json +31 -0
  620. package/dist/types/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.d.ts +10 -0
  621. package/dist/types/components/bal-accordion/bal-accordion.i18n.d.ts +7 -0
  622. package/dist/types/components/bal-button/bal-button.d.ts +4 -0
  623. package/dist/types/components/bal-button/bal-button.interfaces.d.ts +1 -0
  624. package/dist/types/components/bal-carousel/bal-carousel.d.ts +5 -0
  625. package/dist/types/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.d.ts +14 -0
  626. package/dist/types/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.d.ts +33 -0
  627. package/dist/types/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.i18n.d.ts +7 -0
  628. package/dist/types/components/bal-modal/bal-modal.d.ts +18 -0
  629. package/dist/types/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.d.ts +14 -0
  630. package/dist/types/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.i18n.d.ts +5 -0
  631. package/dist/types/components/bal-number-input/bal-number-input.d.ts +5 -5
  632. package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +21 -0
  633. package/dist/types/components.d.ts +88 -2
  634. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +82 -0
  635. package/dist/types/utils/aria.d.ts +1 -1
  636. package/dist/types/utils/attributes.d.ts +1 -0
  637. package/dist/types/utils/dropdown/input.d.ts +0 -1
  638. package/dist/types/utils/overlays/focus-trap.d.ts +36 -0
  639. package/dist/types/utils/overlays/overlays.d.ts +4 -0
  640. package/dist/types/utils/swiper/swiper.type.d.ts +1 -0
  641. package/dist/types/utils/swiper/swiper.util.d.ts +2 -2
  642. package/package.json +7 -7
  643. package/dist/baloise-design-system/p-007fc954.js +0 -1
  644. package/dist/baloise-design-system/p-0170c59c18.system.entry.js +0 -1
  645. package/dist/baloise-design-system/p-02c5d9fe7e.entry.js +0 -1
  646. package/dist/baloise-design-system/p-0932b2841b.system.entry.js +0 -1
  647. package/dist/baloise-design-system/p-187f98a1.system.js +0 -1
  648. package/dist/baloise-design-system/p-18b510f972.entry.js +0 -1
  649. package/dist/baloise-design-system/p-1a91f0403a.system.entry.js +0 -1
  650. package/dist/baloise-design-system/p-1e9d6d442d.entry.js +0 -1
  651. package/dist/baloise-design-system/p-22bf3854a2.system.entry.js +0 -1
  652. package/dist/baloise-design-system/p-233258cd04.system.entry.js +0 -1
  653. package/dist/baloise-design-system/p-29e7d95fdf.entry.js +0 -1
  654. package/dist/baloise-design-system/p-2f3c628b01.system.entry.js +0 -1
  655. package/dist/baloise-design-system/p-32f2098f72.entry.js +0 -1
  656. package/dist/baloise-design-system/p-34797e19f0.system.entry.js +0 -1
  657. package/dist/baloise-design-system/p-36218e79.js +0 -1
  658. package/dist/baloise-design-system/p-38b11e34b4.system.entry.js +0 -1
  659. package/dist/baloise-design-system/p-3b18905319.entry.js +0 -1
  660. package/dist/baloise-design-system/p-3fcdc7bf1d.entry.js +0 -1
  661. package/dist/baloise-design-system/p-403f40e26a.entry.js +0 -1
  662. package/dist/baloise-design-system/p-43078d9a20.entry.js +0 -1
  663. package/dist/baloise-design-system/p-444d11044c.system.entry.js +0 -1
  664. package/dist/baloise-design-system/p-4543306ed6.system.entry.js +0 -1
  665. package/dist/baloise-design-system/p-45bbf6330f.entry.js +0 -1
  666. package/dist/baloise-design-system/p-47660601a1.entry.js +0 -1
  667. package/dist/baloise-design-system/p-477a9f8a40.entry.js +0 -1
  668. package/dist/baloise-design-system/p-489cda24c4.system.entry.js +0 -1
  669. package/dist/baloise-design-system/p-4a614fb255.system.entry.js +0 -1
  670. package/dist/baloise-design-system/p-4dfdd589d8.system.entry.js +0 -1
  671. package/dist/baloise-design-system/p-513f6b88.js +0 -1
  672. package/dist/baloise-design-system/p-56d4310416.system.entry.js +0 -1
  673. package/dist/baloise-design-system/p-578047988c.system.entry.js +0 -1
  674. package/dist/baloise-design-system/p-5a3e5f6551.entry.js +0 -1
  675. package/dist/baloise-design-system/p-630b9272b1.entry.js +0 -1
  676. package/dist/baloise-design-system/p-725eed2595.entry.js +0 -1
  677. package/dist/baloise-design-system/p-72d3d56c55.entry.js +0 -1
  678. package/dist/baloise-design-system/p-732df3f390.system.entry.js +0 -1
  679. package/dist/baloise-design-system/p-759f25a3e5.entry.js +0 -1
  680. package/dist/baloise-design-system/p-7c76d17d2f.entry.js +0 -1
  681. package/dist/baloise-design-system/p-7e7d73b667.entry.js +0 -1
  682. package/dist/baloise-design-system/p-82ff80d9f0.entry.js +0 -1
  683. package/dist/baloise-design-system/p-89a8d47c12.entry.js +0 -1
  684. package/dist/baloise-design-system/p-8b0bd1adc7.entry.js +0 -1
  685. package/dist/baloise-design-system/p-8cb8360dcd.system.entry.js +0 -1
  686. package/dist/baloise-design-system/p-974e5cb5ec.system.entry.js +0 -1
  687. package/dist/baloise-design-system/p-9b6e9746c1.entry.js +0 -1
  688. package/dist/baloise-design-system/p-b2198343bf.entry.js +0 -1
  689. package/dist/baloise-design-system/p-c09a268beb.system.entry.js +0 -1
  690. package/dist/baloise-design-system/p-c2a4a78d58.system.entry.js +0 -1
  691. package/dist/baloise-design-system/p-cc899b3f92.entry.js +0 -1
  692. package/dist/baloise-design-system/p-d24c5aa8ad.entry.js +0 -1
  693. package/dist/baloise-design-system/p-d296994410.system.entry.js +0 -1
  694. package/dist/baloise-design-system/p-d5e8e2bec8.entry.js +0 -1
  695. package/dist/baloise-design-system/p-d9b38501.js +0 -1
  696. package/dist/baloise-design-system/p-d9bc111444.system.entry.js +0 -1
  697. package/dist/baloise-design-system/p-ddfbabb4d5.system.entry.js +0 -1
  698. package/dist/baloise-design-system/p-de59bd37.system.js +0 -1
  699. package/dist/baloise-design-system/p-e104ac3699.system.entry.js +0 -1
  700. package/dist/baloise-design-system/p-e2a70f10.system.js +0 -1
  701. package/dist/baloise-design-system/p-e5c0a1dbb2.entry.js +0 -1
  702. package/dist/baloise-design-system/p-e70c7951.system.js +0 -1
  703. package/dist/baloise-design-system/p-edd4a77fd5.system.entry.js +0 -1
  704. package/dist/baloise-design-system/p-f01ae7b55b.entry.js +0 -1
  705. package/dist/baloise-design-system/p-fa43380807.system.entry.js +0 -1
  706. package/dist/baloise-design-system/p-ff859bec24.system.entry.js +0 -1
  707. package/dist/baloise-design-system/p-ffeef88a26.entry.js +0 -1
  708. package/dist/cjs/aria-c8955a5c.js +0 -5
  709. package/dist/cjs/overlays-81ea4414.js +0 -82
  710. package/dist/esm/aria-d5877698.js +0 -3
  711. package/dist/esm/overlays-9a5950bd.js +0 -76
  712. package/dist/esm-es5/app-globals-5b18a75c.js +0 -1
  713. package/dist/esm-es5/aria-d5877698.js +0 -1
  714. package/dist/esm-es5/breakpoints.decorator-fbc04097.js +0 -1
  715. package/dist/esm-es5/overlays-9a5950bd.js +0 -1
  716. package/dist/esm-es5/swiper.util-a4c7d0f9.js +0 -1
  717. /package/dist/baloise-design-system/{p-ca9e987e.js → p-02197c50.js} +0 -0
  718. /package/dist/baloise-design-system/{p-dd5e13d1.js → p-063808d7.js} +0 -0
  719. /package/dist/baloise-design-system/{p-d1847366.system.js → p-2172bcc5.system.js} +0 -0
  720. /package/dist/baloise-design-system/{p-8949aa8b.system.js → p-7720b262.system.js} +0 -0
  721. /package/dist/esm-es5/{attributes-4fa7040f.js → attributes-a3e70948.js} +0 -0
  722. /package/dist/esm-es5/{tokens.esm-d6bf7bd8.js → tokens.esm-c4f90a29.js} +0 -0
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function o(t){try{l(n.next(t))}catch(t){r(t)}}function s(t){try{l(n["throw"](t))}catch(t){r(t)}}function l(t){t.done?i(t.value):a(t.value).then(o,s)}l((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,a,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return l([t,e])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(i=0)),i)try{if(n=1,a&&(r=s[0]&2?a["return"]:s[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,s[1])).done)return r;if(a=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;a=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){i.label=s[1];break}if(s[0]===6&&i.label<r[1]){i.label=r[1];r=s;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(s);break}if(r[2])i.ops.pop();i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t];a=0}finally{n=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,i){if(i||arguments.length===2)for(var n=0,a=e.length,r;n<a;n++){if(r||!(n in e)){if(!r)r=Array.prototype.slice.call(e,0,n);r[n]=e[n]}}return t.concat(r||Array.prototype.slice.call(e))};System.register(["./p-7961e095.system.js","./p-6dbef894.system.js","./p-6913b916.system.js","./p-980e4b57.system.js","./p-5cd2674f.system.js","./p-8949aa8b.system.js","./p-ba579059.system.js","./p-db0895e2.system.js","./p-14d0c5f3.system.js","./p-6e5745c8.system.js","./p-23bdd8dc.system.js","./p-0f37a65c.system.js","./p-130a16ee.system.js","./p-a1f6e944.system.js","./p-ef3bfa9f.system.js"],(function(t){"use strict";var e,i,n,a,r,o,s,l,u,c,d,b,h,f,v,p,m,_,y,g,k,w,x,j,A,O,F,P;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.H;r=t.g},function(t){o=t._;s=t.a},function(t){l=t.l},function(t){u=t.g;c=t.a;d=t.b;b=t.e;h=t.s;f=t.h;v=t.j;p=t.c;m=t.d},function(t){_=t.p},function(t){y=t.i},function(t){g=t.i;k=t.N;w=t.A},function(t){x=t.B},function(t){j=t.i},function(t){A=t.d},function(t){O=t.L},function(t){F=t.d},function(t){P=t.L},function(){},function(){}],execute:function(){var C=":root{--bal-time-input-native-placeholder-background-before:var(--bal-color-white);--bal-time-input-native-placeholder-background-disabled-before:var(--bal-color-grey-2);--bal-time-input-native-placeholder-background-danger-before:var(--bal-color-danger-1);--bal-time-input-native-placeholder-background-disabled-danger-before:var(--bal-color-grey-2);--bal-time-input-native-placeholder-background-hover-before:var(--bal-color-grey-1);--bal-time-input-native-text-color:var(--bal-color-primary-3);--bal-time-input-native-text-color-focus-value:var(--bal-color-primary);--bal-time-input-native-text-color-disabled:var(--bal-color-grey-5);--bal-time-input-native-text-color-disabled-value:var(--bal-color-grey-4);--bal-time-input-native-placeholder-text-color-disabled-before:var(--bal-color-grey-5);--bal-time-input-native-placeholder-text-color-before:var(--bal-color-primary-3)}.bal-time-input{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;position:relative;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;width:100%;padding:0;font-family:var(--bal-font-family-text)}.bal-time-input__native::-webkit-datetime-edit-fields-wrapper{display:flex}.bal-time-input__native::-webkit-datetime-edit-text{color:var(--bal-time-input-native-text-color)}.bal-time-input__native::-webkit-datetime-edit-hour-field{color:var(--bal-time-input-native-text-color)}.bal-time-input__native::-webkit-datetime-edit-minute-field{color:var(--bal-time-input-native-text-color)}.bal-time-input__native::-webkit-clear-button{display:none}.bal-time-input__native::-webkit-inner-spin-button{display:none}.bal-time-input__native::-webkit-calendar-picker-indicator{display:none;background:none}.bal-time-input__native.has-focus::-webkit-datetime-edit-text,.bal-time-input__native.has-value::-webkit-datetime-edit-text{color:var(--bal-time-input-native-text-color-focus-value)}.bal-time-input__native.has-focus::-webkit-datetime-edit-hour-field,.bal-time-input__native.has-value::-webkit-datetime-edit-hour-field{color:var(--bal-time-input-native-text-color-focus-value)}.bal-time-input__native.has-focus::-webkit-datetime-edit-minute-field,.bal-time-input__native.has-value::-webkit-datetime-edit-minute-field{color:var(--bal-time-input-native-text-color-focus-value)}.bal-time-input__native.is-disabled::-webkit-datetime-edit-text{color:var(--bal-time-input-native-text-color-disabled)}.bal-time-input__native.is-disabled::-webkit-datetime-edit-hour-field{color:var(--bal-time-input-native-text-color-disabled)}.bal-time-input__native.is-disabled::-webkit-datetime-edit-minute-field{color:var(--bal-time-input-native-text-color-disabled)}.bal-time-input__native.is-disabled.has-value::-webkit-datetime-edit-text{color:var(--bal-time-input-native-text-color-disabled-value)}.bal-time-input__native.is-disabled.has-value::-webkit-datetime-edit-hour-field{color:var(--bal-time-input-native-text-color-disabled-value)}.bal-time-input__native.is-disabled.has-value::-webkit-datetime-edit-minute-field{color:var(--bal-time-input-native-text-color-disabled-value)}.bal-time-input__native.show-placeholder.is-disabled::before{color:var(--bal-time-input-native-placeholder-text-color-disabled-before);background:var(--bal-time-input-native-placeholder-background-disabled-before)}.bal-time-input__native.show-placeholder.is-danger::before{background:var(--bal-time-input-native-placeholder-background-danger-before)}.bal-time-input__native.show-placeholder.is-disabled.is-danger::before{background:var(--bal-time-input-native-placeholder-background-disabled-danger-before)}.bal-time-input__native.show-placeholder:hover::before{background:var(--bal-time-input-native-placeholder-background-hover-before)}.bal-time-input__native.show-placeholder::before{color:var(--bal-time-input-native-placeholder-text-color-before);content:attr(placeholder);pointer-events:none;position:absolute;background:var(--bal-time-input-native-placeholder-background-before)}";var K=C;var S=t("bal_time_input",function(){function t(t){var n=this;e(this,t);this.balInput=i(this,"balInput",7);this.balChange=i(this,"balChange",7);this.balBlur=i(this,"balBlur",7);this.balFocus=i(this,"balFocus",7);this.balKeyPress=i(this,"balKeyPress",7);this.balClick=i(this,"balClick",7);this.inputId="bal-time-input-".concat(B++);this.inheritedAttributes={};this.inputValue=this.value;this.initialValue="";this.onInput=function(t){var e=u(t);if(e){n.inputValue=e.value}n.balInput.emit(n.inputValue)};this.onFocus=function(t){c(n,t)};this.onBlur=function(t){d(n,t);var e=t.target;if(e){e.value=n.getFormattedValue();b(n)}};this.onKeydown=function(t){if(!l(t)&&!g(t)){if(!n.getAllowedKeys().includes(t.key)){return h(t)}}};this.focused=false;this.language=F.language;this.region=F.region;this.ariaForm=A;this.name=this.inputId;this.invalid=false;this.required=false;this.disabled=false;this.readonly=false;this.debounce=0;this.value=undefined;this.autoInvalidOff=false}t.prototype.createLogger=function(t){this.log=t};t.prototype.debounceChanged=function(){this.balChange=_(this.balChange,this.debounce)};t.prototype.listenOnClick=function(t){f(this,t)};t.prototype.resetHandler=function(t){var e=t.target;if(e===null||e===void 0?void 0:e.contains(this.el)){v(this,this.initialValue,this.resetHandlerTimer)}};t.prototype.connectedCallback=function(){this.debounceChanged();this.initialValue=this.value||""};t.prototype.componentDidLoad=function(){this.inputValue=this.value};t.prototype.componentWillLoad=function(){this.inheritedAttributes=y(this.el,["aria-label","tabindex","title"])};t.prototype.configChanged=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.language=t.language;this.region=t.region;if(!this.focused&&this.nativeInput){this.nativeInput.value=this.getFormattedValue()}return[2]}))}))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){p(this);return[2]}))}))};t.prototype.setBlur=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){m(this);return[2]}))}))};t.prototype.getInputElement=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.nativeInput]}))}))};t.prototype.setAriaForm=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.ariaForm=Object.assign({},t);return[2]}))}))};t.prototype.getAllowedKeys=function(){return __spreadArray(__spreadArray(__spreadArray([],k,true),w,true),[":","A","M","P"],false)};t.prototype.getRawValue=function(){var t=(this.value||"").toString();return t};t.prototype.getFormattedValue=function(){return this.getRawValue()};t.prototype.render=function(){var t=this;var e=this.focused?this.getRawValue():this.getFormattedValue();var i=x.block("time-input");var r=i.element("native");return n(a,{key:"0c7874f83c267aa444d6bb4ea38e2c9815e9f673","aria-disabled":this.disabled?"true":null,class:Object.assign({},i.class())},n("bal-input-group",{key:"5899915ba6c27ea056882af19e829844bd8a8a8b",disabled:this.disabled||this.readonly,invalid:this.invalid},n("input",Object.assign({key:"2de51b908e7d92e4bd1987c056e296a21298b228",type:"time",class:Object.assign({input:true,"is-disabled":this.disabled||this.readonly,"is-danger":this.invalid,"has-focus":this.focused,"show-placeholder":!this.focused&&(this.value===""||this.value===undefined),"has-value":this.value!==""&&this.value!==undefined},r.class()),ref:function(e){return t.nativeInput=e},id:this.ariaForm.controlId||this.inputId,"aria-labelledby":this.ariaForm.labelId,"aria-describedby":this.ariaForm.messageId,"aria-invalid":this.invalid===true?"true":"false","aria-disabled":this.disabled?"true":null,name:this.name,disabled:this.disabled,readonly:this.readonly,required:this.required,placeholder:"".concat(j[this.language].hours,":").concat(j[this.language].minutes),value:e,onInput:function(e){return t.onInput(e)},onFocus:function(e){return t.onFocus(e)},onBlur:function(e){return t.onBlur(e)},onKeyDown:function(e){return t.onKeydown(e)},onKeyPress:function(e){return t.balKeyPress.emit(e)}},this.inheritedAttributes)),n("bal-icon",{key:"876f2dbff9fe3153f7d33b1825b289772eeefb26","is-right":true,color:this.disabled||this.readonly?"grey":this.invalid?"danger":"primary",name:"clock"})))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{debounce:["debounceChanged"]}},enumerable:false,configurable:true});return t}());o([O("bal-time-input"),s("design:type",Function),s("design:paramtypes",[Function]),s("design:returntype",void 0)],S.prototype,"createLogger",null);o([P(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",Promise)],S.prototype,"configChanged",null);var B=0;S.style=K}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7961e095.system.js","./p-980e4b57.system.js","./p-db0895e2.system.js","./p-5cd2674f.system.js","./p-a1f6e944.system.js","./p-ef3bfa9f.system.js"],(function(e){"use strict";var t,s,i,n,a,c;return{setters:[function(e){t=e.r;s=e.c;i=e.h;n=e.H},function(e){a=e.s},function(e){c=e.B},function(){},function(){},function(){}],execute:function(){var f=e("bal_date_calendar_cell",function(){function e(e){var i=this;t(this,e);this.balSelectDay=s(this,"balSelectDay",7);this.onClick=function(e,t){if(!i.disabled){i.balSelectDay.emit(t)}else{a(e)}};this.day=undefined;this.month=undefined;this.year=undefined;this.isoDate=undefined;this.fullDate=undefined;this.selected=false;this.today=false;this.disabled=false}e.prototype.render=function(){var e=this;var t=c.block("date-calendar-cell");return i(n,{key:"f3e32c2777dee61702819acd5839608ae8f28c0c",class:Object.assign(Object.assign(Object.assign(Object.assign({},t.class()),t.modifier("today").class(!this.disabled&&this.today)),t.modifier("selected").class(!this.disabled&&this.selected)),t.modifier("disabled").class(this.disabled===true)),tabIndex:-1,type:"button",role:"button","aria-label":this.fullDate,"aria-selected":this.selected?"true":"false","aria-disabled":this.disabled?"true":"false",title:this.fullDate,onClick:function(t){return e.onClick(t,e.isoDate)}},i("time",{key:"3e9df0253eb9828eacd3fe73f6ce58bfc500e3d4",dateTime:this.isoDate},this.day))};return e}())}}}));
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as s,H as i}from"./p-2ccbe55a.js";import{s as a}from"./p-e3e1d211.js";import{B as c}from"./p-ae86d0a0.js";import"./p-ef6a64f4.js";import"./p-a65354df.js";import"./p-46251973.js";const d=class{constructor(s){t(this,s),this.balSelectDay=e(this,"balSelectDay",7),this.onClick=(t,e)=>{this.disabled?a(t):this.balSelectDay.emit(e)},this.day=void 0,this.month=void 0,this.year=void 0,this.isoDate=void 0,this.fullDate=void 0,this.selected=!1,this.today=!1,this.disabled=!1}render(){const t=c.block("date-calendar-cell");return s(i,{key:"f3e32c2777dee61702819acd5839608ae8f28c0c",class:Object.assign(Object.assign(Object.assign(Object.assign({},t.class()),t.modifier("today").class(!this.disabled&&this.today)),t.modifier("selected").class(!this.disabled&&this.selected)),t.modifier("disabled").class(!0===this.disabled)),tabIndex:-1,type:"button",role:"button","aria-label":this.fullDate,"aria-selected":this.selected?"true":"false","aria-disabled":this.disabled?"true":"false",title:this.fullDate,onClick:t=>this.onClick(t,this.isoDate)},s("time",{key:"3e9df0253eb9828eacd3fe73f6ce58bfc500e3d4",dateTime:this.isoDate},this.day))}};export{d as bal_date_calendar_cell}
@@ -1 +0,0 @@
1
- import{r as i,c as e,h as t,H as r,g as s}from"./p-2ccbe55a.js";import{l as a}from"./p-9a3d9e17.js";import{p as d}from"./p-ef6a64f4.js";import{s as n}from"./p-e3e1d211.js";import{B as l}from"./p-ae86d0a0.js";import{d as o}from"./p-f385e205.js";import"./p-a65354df.js";import"./p-46251973.js";const b=class{constructor(t){i(this,t),this.balInput=e(this,"balInput",7),this.balBlur=e(this,"balBlur",7),this.balKeyPress=e(this,"balKeyPress",7),this.balFocus=e(this,"balFocus",7),this.balChange=e(this,"balChange",7),this.inputId="bal-input-slider-"+u++,this.didInit=!1,this.hasFocus=!1,this.initialValue="",this.onInput=i=>{const e=i.target;e&&(this.value=e.value||""),this.balInput.emit(this.value)},this.handleClick=i=>{(this.disabled||this.readonly)&&(i.preventDefault(),i.stopPropagation())},this.onFocus=i=>{this.hasFocus=!0,this.balFocus.emit(i)},this.onBlur=i=>{this.hasFocus=!1,this.balBlur.emit(i),this.balChange.emit(this.value)},this.ariaForm=o,this.name=this.inputId,this.step=0,this.min=0,this.max=100,this.invalid=!1,this.balTabindex=0,this.disabled=!1,this.readonly=!1,this.required=!1,this.hasTicks=!1,this.debounce=0,this.value="",this.autoInvalidOff=!1}debounceChanged(){this.balChange=d(this.balChange,this.debounce)}listenOnClick(i){(this.disabled||this.readonly)&&i.target&&i.target===this.el&&n(i)}resetHandler(i){const e=i.target;(null==e?void 0:e.contains(this.el))&&(this.value=this.initialValue,clearTimeout(this.resetHandlerTimer),this.resetHandlerTimer=setTimeout((()=>{this.nativeInput&&(this.nativeInput.value=this.initialValue)}),0))}valueChanged(i,e){this.didInit&&!this.hasFocus&&i!==e&&this.balChange.emit(this.value)}connectedCallback(){this.debounceChanged(),this.initialValue=this.value}componentDidLoad(){this.didInit=!0,a(this.value)||""===this.value||this.valueChanged(this.value,void 0)}async setFocus(){clearTimeout(this.setFocusTimer),this.setFocusTimer=setTimeout((()=>{this.nativeInput&&this.nativeInput.focus()}))}getInputElement(){return Promise.resolve(this.nativeInput)}async setAriaForm(i){this.ariaForm=Object.assign({},i)}get numberOfSteps(){const i=this.max-this.min;return this.step<=0||this.step>=i?0:1+~~(i/this.step)}cssWidth(i=!1){const e=""===this.value?0:Math.round(Number(this.value)/this.step)*this.step,t=100/this.max*e;return i?`${t}%`:100-t+"%"}getNumberOfSteps(){const i=[];for(let e=0;e<this.numberOfSteps;e++)i.push(e);return i}render(){const i=l.block("input-slider"),e=i.element("background"),s=e.element("upper"),a=s.element("inner"),d=e.element("lower"),n=d.element("inner"),o=i.element("input"),b=o.element("native"),u=o.element("value"),h=u.modifier("left"),c=u.modifier("right"),p=i.element("steps"),_=p.element("item");return t(r,{key:"39d80cf018beba4ae47fbed1ae2f646ea8fef3d8",class:Object.assign(Object.assign({},i.class()),i.modifier("disabled").class(this.disabled||this.readonly)),onClick:this.handleClick,"aria-disabled":this.disabled||this.readonly?"true":null},t("div",{key:"a880f4c1b2232ac19d14217a8edc522eef0b6cc0",class:Object.assign(Object.assign({},e.class()),e.modifier("disabled").class(this.disabled||this.readonly))},t("div",{key:"1c49dbf668ad0bea336c1b9b9c27dfa0e1ae451e",class:Object.assign({},s.class()),style:{width:this.cssWidth()}},t("div",{key:"c033b9842fcce9b796e05302646043c397832068",class:Object.assign({},a.class())})),t("div",{key:"c19b9a759bd3d50552f957e080238bc725284ba5",class:Object.assign({},d.class()),style:{width:this.cssWidth(!0)}},t("div",{key:"d0517f96b396feb37ee6638bfeef5fe974b627c4",class:Object.assign({},n.class())}))),t("div",{key:"ac3121f247e005f19b9e71558bf558cc3e97d6fe",class:Object.assign({},o.class())},t("div",{key:"e08b0f6862c9c10868a5ee22d4e54360fd59458d",class:Object.assign(Object.assign({},u.class()),h.class())}),t("input",{key:"0b74ff9bddd4dcbe663786c25741e0ea767befc0",type:"range",class:Object.assign(Object.assign({},b.class()),b.modifier("disabled").class(this.disabled||this.readonly)),ref:i=>this.nativeInput=i,id:this.ariaForm.controlId||this.inputId,"aria-labelledby":this.ariaForm.labelId,"aria-describedby":this.ariaForm.messageId,"aria-disabled":this.disabled?"true":null,"aria-invalid":!0===this.invalid?"true":"false",disabled:this.disabled,readonly:this.readonly,name:this.name,required:this.required,tabIndex:this.balTabindex,step:this.step,min:this.min,max:this.max,value:""!==this.value&&void 0!==this.value?this.value:0,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,onKeyPress:i=>this.balKeyPress.emit(i),"data-testid":"bal-input-slider"}),t("div",{key:"a6b700f20e4c1dea1e639053ddebf15b80b8decf",class:Object.assign(Object.assign({},u.class()),c.class())})),t("div",{key:"7fd6ea23fd3676c3b3c8e307a05e2b601ba48178",class:Object.assign({},p.class()),style:{display:this.hasTicks?"flex":"none"}},this.getNumberOfSteps().map((i=>t("div",{key:i,class:Object.assign(Object.assign({},_.class()),_.modifier("disabled").class(this.disabled||this.readonly)),"data-step-id":i})))))}get el(){return s(this)}static get watchers(){return{debounce:["debounceChanged"],value:["valueChanged"]}}};let u=0;b.style=".bal-input-slider{display:block;position:relative;width:100%;-ms-flex:1;flex:1;font-family:var(--bal-font-family-text);-ms-flex-direction:column;flex-direction:column;min-height:3rem}.bal-input-slider__background{position:absolute;top:1rem;left:0px;right:0px;z-index:0;border-radius:var(--bal-radius-rounded);background:var(--bal-color-green);height:1rem;width:100%;overflow:hidden}.bal-input-slider__background__upper,.bal-input-slider__background__lower{position:absolute;top:0;width:50%;margin:0;cursor:pointer}.bal-input-slider__background__upper>div,.bal-input-slider__background__lower>div{height:1rem;border-radius:0}.bal-input-slider__background__upper{right:0px}.bal-input-slider__background__upper>div{background:var(--bal-color-green);border-top-right-radius:var(--bal-radius-rounded);border-bottom-right-radius:var(--bal-radius-rounded)}.bal-input-slider__background__lower{left:0px}.bal-input-slider__background__lower>div{background:var(--bal-color-green-5);border-top-left-radius:var(--bal-radius-rounded);border-bottom-left-radius:var(--bal-radius-rounded)}.bal-input-slider__background--disabled{cursor:default;pointer-events:none;background:var(--bal-color-grey-2)}.bal-input-slider__background--disabled .bal-input-slider__background__upper__inner{background:var(--bal-color-grey-2)}.bal-input-slider__background--disabled .bal-input-slider__background__lower__inner{background:var(--bal-color-grey-4)}.bal-input-slider__input{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;min-height:3rem}.bal-input-slider__input__native{-webkit-appearance:none;margin:0;background:rgba(0,0,0,0);z-index:1;outline:none;min-width:12.5rem;width:100%}.bal-input-slider__input__native::-webkit-slider-runnable-track{width:100%;cursor:pointer;border:none}.bal-input-slider__input__native::-webkit-slider-thumb{-webkit-box-shadow:none;box-shadow:none;border:3px solid var(--bal-color-white);height:1rem;width:1rem;border-radius:var(--bal-radius-rounded);background:var(--bal-color-primary);cursor:pointer;-webkit-appearance:none}.bal-input-slider__input__native:focus-visible{outline:none}.bal-input-slider__input__native:focus-visible::-webkit-slider-thumb{background:var(--bal-color-primary);border:2px solid var(--bal-color-primary)}.bal-input-slider__input__native::-moz-range-track{cursor:pointer;box-shadow:none;background:rgba(0,0,0,0);width:100%;border:none;z-index:2}.bal-input-slider__input__native::-moz-range-thumb{box-shadow:none;border:3px solid var(--bal-color-white);height:.625rem;width:.625rem;border-radius:var(--bal-radius-rounded);background:var(--bal-color-primary);cursor:pointer}.bal-input-slider__input__native::-ms-track{cursor:pointer;box-shadow:none;background:rgba(0,0,0,0);width:100%;border:none;z-index:2}.bal-input-slider__input__native::-ms-fill-lower{background:rgba(0,0,0,0);border:none;box-shadow:none}.bal-input-slider__input__native::-ms-fill-upper{background:rgba(0,0,0,0);border:none;box-shadow:none}.bal-input-slider__input__native::-ms-thumb{box-shadow:none;border:3px solid var(--bal-color-white);height:1rem;width:1rem;border-radius:var(--bal-radius-rounded);background:var(--bal-color-primary);cursor:pointer;-webkit-appearance:none;z-index:2}.bal-input-slider__input__native:focus::-ms-fill-lower{background:rgba(0,0,0,0)}.bal-input-slider__input__native:focus::-ms-fill-upper{background:rgba(0,0,0,0)}.bal-input-slider__input__native--disabled::-webkit-slider-thumb{background:var(--bal-color-grey-5)}.bal-input-slider__input__native--disabled::-ms-thumb{background:var(--bal-color-grey-5)}.bal-input-slider__input__native--disabled::-moz-range-thumb{background:var(--bal-color-grey-5)}.bal-input-slider__steps{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;min-height:.5rem;margin:-0.625rem .5rem;-ms-flex-pack:justify;justify-content:space-between}.bal-input-slider__steps__item{width:.125rem;border-radius:var(--bal-radius-rounded);background-color:var(--bal-color-primary)}.bal-input-slider__steps__item--disabled{background:var(--bal-color-grey-4)}@-moz-document url-prefix(){.bal-input-slider__steps{margin:0 .5rem !important}}";export{b as bal_input_slider}
@@ -1 +0,0 @@
1
- import{h as t,r as e,c as a,H as i,g as s}from"./p-2ccbe55a.js";import{_ as n,a as l}from"./p-43c9f5e9.js";import{l as r}from"./p-3f01fc8b.js";import{l as o}from"./p-9a3d9e17.js";import{B as d,i as h,d as c}from"./p-1a094c1b.js";import{L as b}from"./p-b77e3348.js";import{b as u,u as m}from"./p-ef6a64f4.js";import{B as f}from"./p-ae86d0a0.js";import{d as p}from"./p-830d9e47.js";import{L as _}from"./p-44e7532c.js";import{L as g}from"./p-fe6cbf28.js";import{i as y}from"./p-dd5e13d1.js";import{m as v,c as w,d as k}from"./p-e3e1d211.js";import{d as x}from"./p-f385e205.js";import{N as C}from"./p-ec1efe3d.js";import{I as j}from"./p-1a158488.js";import"./p-4573c419.js";import"./p-46251973.js";import"./p-a65354df.js";import"./p-caacebbe.js";import"./p-96216bd1.js";import"./p-acf222fd.js";function D(t,e,a){return`${a}-${r(`${e}`,2,"0")}-${r(`${t}`,2,"0")}`}function V(t,e,a,i,s){const n=[],l=function(t,e){if(!(e<1||t<0))return new Date(t,e,0).getDate()}(t,e),h=function(t,e){if(!(e<1||e>12||t<0))return new Date(t,e-1,1)}(t,e);if(void 0!==l&&h){const h=function(){const t=new Date;return`${t.getFullYear()}-${r(`${t.getMonth()+1}`,2,"0")}-${r(`${t.getDate()}`,2,"0")}`}(),c=d.fromISO(a),b=d.fromISO(i),u=t=>!o(s)&&!s(t);for(let a=1;a<=l;a++){const i=D(a,e,t);n.push({day:a,month:e,year:t,isoDate:i,fullDate:d.fromISO(i).toFormat(),today:h===i,disabled:c.isAfter(i)||b.isBefore(i)||u(i)})}}return n}function O(t,e){if(e<1||t<0)return 1;const a=new Date(t,e-1,1).getDay();return 0===a?7:a}function P(t){return["en","de","fr","it","nl","es","pl","pt","sv","fi"].includes(t)?t:"de"}function M(t,e,a,i,s){const n=P(t),l=d.infoMonths({format:"long",locale:n}),r=d.fromISO(a),o=new Date,h=o.getFullYear(),c=o.getMonth()+1;let b=0;if(i&&void 0!==e){const t=d.fromISO(i);t.isValid&&(b=e>t.year?0:t.month||b)}let u=12;if(s&&void 0!==e){const t=d.fromISO(s);t.isValid&&(u=e<t.year?12:t.month||u)}return l.map(((t,a)=>{const i=a+1;return{label:t,value:i,today:i===c&&e===h,selected:i===r.month&&e===r.year,disabled:i<b||i>u}}))}const B=({name:e,isVisible:a,girdHeight:i,list:s,onSelect:n,ref:l})=>{const r=f.block("date-calendar").element("body").element("list");return t("ul",{class:Object.assign(Object.assign(Object.assign({},r.class()),r.modifier(e).class()),r.modifier("visible").class(a)),"aria-hidden":a?"false":"true",style:{height:i-2-8-8+"px"},ref:t=>l?l(t):void 0},s.map((a=>t("li",{key:a.value,id:`${e}-${a.value}`},t("button",{class:Object.assign(Object.assign(Object.assign(Object.assign({},r.element("item").class()),r.element("item").modifier("today").class(a.today)),r.element("item").modifier("selected").class(a.selected)),r.element("item").modifier("disabled").class(a.disabled)),disabled:a.disabled,tabIndex:-1,onClick:()=>{a.disabled||n(a)}},a.label)))))},$=({isVisible:e,ref:a,grid:i,weekdays:s,selectedDate:n,firstDayOfWeek:l,onSelectDay:r})=>{const o=f.block("date-calendar").element("body").element("grid");return t("div",{role:"grid",class:Object.assign(Object.assign({},o.class()),o.modifier("visible").class(e)),"aria-hidden":e?"false":"true",ref:t=>a(t)},t("div",{role:"row",class:Object.assign({},o.element("head").class())},s.map((e=>t("span",{key:e.textContent,role:"columnheader","aria-label":e.ariaLabel,title:e.ariaLabel},e.textContent)))),t("div",{role:"row",class:Object.assign({},o.element("body").class()),style:{"--bal-date-first-week-day":`${l}`}},i.map((e=>t("bal-date-calendar-cell",Object.assign({key:e.isoDate},e,{selected:e.isoDate===n,onBalSelectDay:({detail:t})=>r(t)}))))))},z=({language:e,onClickSelectMonthAndYear:a,monthFullNames:i,month:s,year:n,isCalendarVisible:l,isListVisible:r,onClickPreviousMonth:o,onClickNextMonth:d})=>{const c=f.block("date-calendar").element("nav"),b=h[e].nextMonth,u=h[e].previousMonth,m=h[e].selectMonth;return t("div",{class:Object.assign({},c.class())},t("div",{class:Object.assign({},c.modifier("start").class())},t("button",{title:m,"aria-label":m,tabIndex:-1,"data-test":"change-year-month",onClick:a},t("span",null,i[s-1]," ",n),t("bal-icon",{name:"caret-up",color:"primary",size:"small",turn:l}))),t("div",{class:Object.assign({},c.modifier("end").class()),style:{display:r?"none":"flex"}},t("button",{title:u,"aria-label":u,onClick:o,tabIndex:-1,"data-test":"previous-month"},t("bal-icon",{name:"caret-left",color:"primary",size:"small"})),t("button",{title:b,"aria-label":b,onClick:d,tabIndex:-1,"data-test":"next-month"},t("bal-icon",{name:"caret-right",color:"primary",size:"small"}))))},F=class{constructor(t){e(this,t),this.balChange=a(this,"balChange",7),this.oldMin="",this.oldMax="",this.onSelectDay=t=>{this.valueChanged(t,this.selectedDate),this.balChange.emit(this.selectedDate)},this.onClickNextMonth=()=>{let t=this.year,e=this.month+1;e>12&&(e=1,t+=1),this.generateGridByMonthAndYear(e,t)},this.onClickPreviousMonth=()=>{let t=this.year,e=this.month-1;e<1&&(e=12,t-=1),this.generateGridByMonthAndYear(e,t)},this.onClickSelectMonthAndYear=async()=>{if(this.updateSelections(),!0===this.isCalendarVisible){if(this.isCalendarVisible=!1,this.isYearListVisible=!0,this.isMonthListVisible=!1,await u(),this.yearListEl){const t=this.yearListEl.querySelector(`#year-${this.year}`);this.yearListEl.scrollTop=t?t.offsetTop-76:0}}else this.isCalendarVisible=!0,this.isYearListVisible=!1,this.isMonthListVisible=!1},this.onClickYear=t=>{this.isYearListVisible=!1,this.isMonthListVisible=!0,this.generateGridByMonthAndYear(this.month,t),this.months=M(this.language,t,this.selectedDate,this.min,this.max)},this.onClickMonth=t=>{this.isYearListVisible=!1,this.isMonthListVisible=!1,this.isCalendarVisible=!0,this.generateGridByMonthAndYear(t,this.year)},this.selectedDate="",this.monthFullNames=[],this.weekdays=[],this.months=[],this.years=[],this.calendarGrid=[],this.firstDayOfWeek=0,this.month=0,this.year=0,this.language=p.language,this.isCalendarVisible=!0,this.isYearListVisible=!1,this.isMonthListVisible=!1,this.value=void 0,this.defaultDate=void 0,this.allowedDates=void 0,this.min=void 0,this.max=void 0,this.minYearProp=void 0,this.maxYearProp=void 0}createLogger(t){this.log=t}valueChanged(t,e){if(t!==e){const e=d.fromISO(t);e.isValid?(this.generateGridByDate(e),this.selectedDate=e.toISODate()):(this.generateGridByDefaultDate(),this.selectedDate=""),this.updateSelections()}}rangePropChanged(){this.updateSelections(),this.generateGrid()}yearRangePropChanged(){this.updateSelections()}connectedCallback(){this.generateGridByDefaultDate(),this.valueChanged(this.value,void 0)}async configChanged(t){this.language=t.language,this.monthFullNames=d.infoMonths({format:"long",locale:this.language}),this.weekdays=function(t){const e=P(t),a=d.infoWeekdays({format:"short",locale:e}),i=d.infoWeekdays({format:"long",locale:e});return a.map(((t,e)=>({ariaLabel:i[e],textContent:t})))}(this.language),this.updateSelections()}swipeListener({left:t,right:e}){t?this.onClickNextMonth():e&&this.onClickPreviousMonth()}get minYear(){if(void 0===this.minYearProp){const t=(new Date).getFullYear()-100;return this.min&&d.fromISO(this.min).year||t}return this.minYearProp}get maxYear(){if(void 0===this.maxYearProp){const t=(new Date).getFullYear()+50;return this.max&&d.fromISO(this.max).year||t}return this.maxYearProp}updateSelections(){this.years=function(t,e,a){const i=[],s=(new Date).getFullYear();for(let n=e;n<=a;n++)i.push({value:n,label:`${n}`,disabled:!1,today:s===n,selected:t===n});return i}(this.year,this.minYear,this.maxYear),this.months=M(this.language,this.year,this.selectedDate,this.min,this.max)}generateGrid(){const t=d.fromISO(this.value);t.isValid?this.generateGridByDate(t):this.generateGridByDefaultDate()}generateGridByDate(t){void 0!==t.year&&void 0!==t.month&&this.generateGridByMonthAndYear(t.month,t.year)}generateGridByDefaultDate(){const t=d.fromISO(this.defaultDate);if(t.isValid)this.generateGridByDate(t);else{const t=new Date;this.month=t.getMonth()+1,this.year=t.getFullYear(),this.calendarGrid=V(this.year,this.month,this.min,this.max,this.allowedDates),this.firstDayOfWeek=O(this.year,this.month)}}generateGridByMonthAndYear(t,e){this.month===t&&this.year===e&&this.oldMin===this.min&&this.oldMax===this.max||(this.calendarGrid=V(e,t,this.min,this.max,this.allowedDates),this.firstDayOfWeek=O(e,t)),this.month=t,this.year=e,this.oldMin=this.min,this.oldMax=this.max}render(){var e;const a=(null===(e=this.gridEl)||void 0===e?void 0:e.clientHeight)||0,s=f.block("date-calendar"),n=s.element("body"),l=s.element("foot");return t(i,{key:"e6348fe5b0ddab2253f7c79cb41a16fd93fe9a63",class:Object.assign({},s.class())},t(z,{key:"fc808b662835df468fe53a659cfdb048a2ce2325",language:this.language,monthFullNames:this.monthFullNames,month:this.month,year:this.year,isCalendarVisible:this.isCalendarVisible,isListVisible:this.isMonthListVisible||this.isYearListVisible,onClickSelectMonthAndYear:this.onClickSelectMonthAndYear,onClickPreviousMonth:this.onClickPreviousMonth,onClickNextMonth:this.onClickNextMonth}),t("div",{key:"14a071d6e691964876d2a832a9d2a7b20e2b5139",class:Object.assign({},n.class())},t($,{key:"d7d81606a5bcf10637f48ad9d5f095cac4851c60",isVisible:this.isCalendarVisible,grid:this.calendarGrid,weekdays:this.weekdays,firstDayOfWeek:this.firstDayOfWeek,selectedDate:this.selectedDate,ref:t=>this.gridEl=t,onSelectDay:t=>this.onSelectDay(t)}),t(B,{key:"3804356a689232d66ecbac4ad02c152a7e11739f",name:"year",isVisible:this.isYearListVisible,girdHeight:a,list:this.years,ref:t=>this.yearListEl=t,onSelect:t=>this.onClickYear(t.value)}),t(B,{key:"2721e28b96097dfb3f824c6ef085657c56c89342",name:"month",isVisible:this.isMonthListVisible,girdHeight:a,list:this.months,onSelect:t=>this.onClickMonth(t.value)})),t("div",{key:"da53c2e514df3bf5d4890a16fdc5738e55366f31",class:Object.assign({},l.class())},t("slot",{key:"6b75be6d0ad833854a0eade0d014ee26b05bc868"})))}get el(){return s(this)}static get watchers(){return{value:["valueChanged"],min:["rangePropChanged"],max:["rangePropChanged"],minYearProp:["yearRangePropChanged"],maxYearProp:["yearRangePropChanged"]}}};n([b("bal-date-calendar"),l("design:type",Function),l("design:paramtypes",[Function]),l("design:returntype",void 0)],F.prototype,"createLogger",null),n([_(),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],F.prototype,"configChanged",null),n([g({mobileOnly:!0}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",void 0)],F.prototype,"swipeListener",null),F.style=':host{--bal-date-first-week-day:0;--bal-date-calendar-background:var(--bal-color-red-3)}:host{--bal-date-first-week-day:0;--bal-date-calendar-background:var(--bal-color-red-3)}:host{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;background:var(--bal-color-white);border-radius:var(--bal-radius-normal)}.bal-date-calendar__nav{display:-ms-flexbox;display:flex;width:calc(100% - 1rem);-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;padding:.5rem;gap:.5rem}.bal-date-calendar__nav--start>button{display:-ms-flexbox;display:flex;gap:.5rem}.bal-date-calendar__nav--end{display:-ms-flexbox;display:flex;gap:.5rem}.bal-date-calendar__nav button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;cursor:pointer;border-radius:var(--bal-radius-normal);font-family:var(--bal-font-family-text);font-weight:var(--bal-font-weight-regular);color:var(--bal-color-text-primary);border:none;background:rgba(0,0,0,0);text-align:center;font-size:var(--bal-text-size-normal);line-height:var(--bal-line-height-normal);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;outline:none;min-height:2rem;min-width:2rem;padding:.25rem;border-radius:var(--bal-button-radius);font-family:var(--bal-font-family-title);font-weight:var(--bal-font-weight-bold)}@media (hover: hover)and (pointer: fine){.bal-date-calendar__nav button:not(.bal-date-calendar__nav button--selected):not(.bal-date-calendar__nav button--disabled):hover{background:var(--bal-color-light-blue-1)}}.bal-date-calendar__nav button:not(.bal-date-calendar__nav button--selected):not(.bal-date-calendar__nav button--disabled):active{background:var(--bal-color-light-blue-2)}.bal-date-calendar__nav button--today:not(.bal-date-calendar__nav button--selected):not(.bal-date-calendar__nav button--disabled){color:var(--bal-color-light-blue-3);font-weight:var(--bal-font-weight-bold)}@media (hover: hover)and (pointer: fine){.bal-date-calendar__nav button--today:not(.bal-date-calendar__nav button--selected):not(.bal-date-calendar__nav button--disabled):hover{color:var(--bal-color-text-primary)}}.bal-date-calendar__nav button--today:not(.bal-date-calendar__nav button--selected):not(.bal-date-calendar__nav button--disabled):active{color:var(--bal-color-text-primary)}.bal-date-calendar__nav button--selected{background:var(--bal-color-primary);color:var(--bal-color-text-white);font-weight:var(--bal-font-weight-bold)}.bal-date-calendar__nav button--disabled{cursor:default;background:rgba(0,0,0,0);color:var(--bal-color-text-grey-light)}.bal-date-calendar__body{display:block}.bal-date-calendar__body__grid{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:.5rem;height:0;padding-top:0;padding-bottom:0;visibility:hidden}.bal-date-calendar__body__grid--visible{height:auto;padding-top:.5rem;padding-bottom:.5rem;visibility:visible}.bal-date-calendar__body__grid__head{position:relative;display:grid;grid-template-columns:repeat(7, 1fr);-webkit-column-gap:.5rem;-moz-column-gap:.5rem;column-gap:.5rem;row-gap:.5rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.bal-date-calendar__body__grid__head::after{position:absolute;content:"";height:2px;width:calc(100% + 1rem);bottom:0;left:-0.5rem;right:-0.5rem;background:var(--bal-color-border)}.bal-date-calendar__body__grid__head span{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:2rem;width:2rem;font-family:var(--bal-font-family-title);font-weight:var(--bal-font-weight-bold);font-size:var(--bal-text-size-normal);line-height:var(--bal-line-height-normal);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;text-wrap:nowrap}.bal-date-calendar__body__grid__body{display:grid;grid-template-columns:repeat(7, 1fr);-webkit-column-gap:.5rem;-moz-column-gap:.5rem;column-gap:.5rem;row-gap:.5rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding-top:.5rem}.bal-date-calendar__body__grid__body>.bal-date-calendar-cell{width:2rem;height:2rem;text-align:center;font-size:var(--bal-text-size-normal);line-height:var(--bal-line-height-normal);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.bal-date-calendar__body__grid__body>.bal-date-calendar-cell:first-child{grid-column:var(--bal-date-first-week-day)}.bal-date-calendar__body__list{display:none;list-style:none;margin:0;padding:0;-webkit-column-gap:.5rem;-moz-column-gap:.5rem;column-gap:.5rem;row-gap:.5rem;width:calc(100% - 1rem);overflow-y:auto;max-height:18rem;position:relative;padding:.5rem;border-top:2px solid var(--bal-color-border)}.bal-date-calendar__body__list .bal-date-calendar__body__list__item{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;cursor:pointer;border-radius:var(--bal-radius-normal);font-family:var(--bal-font-family-text);font-weight:var(--bal-font-weight-regular);color:var(--bal-color-text-primary);border:none;background:rgba(0,0,0,0);text-align:center;font-size:var(--bal-text-size-normal);line-height:var(--bal-line-height-normal);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;outline:none;width:100%}@media (hover: hover)and (pointer: fine){.bal-date-calendar__body__list .bal-date-calendar__body__list__item:not(.bal-date-calendar__body__list .bal-date-calendar__body__list__item--selected):not(.bal-date-calendar__body__list .bal-date-calendar__body__list__item--disabled):hover{background:var(--bal-color-light-blue-1)}}.bal-date-calendar__body__list .bal-date-calendar__body__list__item:not(.bal-date-calendar__body__list .bal-date-calendar__body__list__item--selected):not(.bal-date-calendar__body__list .bal-date-calendar__body__list__item--disabled):active{background:var(--bal-color-light-blue-2)}.bal-date-calendar__body__list .bal-date-calendar__body__list__item--today:not(.bal-date-calendar__body__list .bal-date-calendar__body__list__item--selected):not(.bal-date-calendar__body__list .bal-date-calendar__body__list__item--disabled){color:var(--bal-color-light-blue-3);font-weight:var(--bal-font-weight-bold)}@media (hover: hover)and (pointer: fine){.bal-date-calendar__body__list .bal-date-calendar__body__list__item--today:not(.bal-date-calendar__body__list .bal-date-calendar__body__list__item--selected):not(.bal-date-calendar__body__list .bal-date-calendar__body__list__item--disabled):hover{color:var(--bal-color-text-primary)}}.bal-date-calendar__body__list .bal-date-calendar__body__list__item--today:not(.bal-date-calendar__body__list .bal-date-calendar__body__list__item--selected):not(.bal-date-calendar__body__list .bal-date-calendar__body__list__item--disabled):active{color:var(--bal-color-text-primary)}.bal-date-calendar__body__list .bal-date-calendar__body__list__item--selected{background:var(--bal-color-primary);color:var(--bal-color-text-white);font-weight:var(--bal-font-weight-bold)}.bal-date-calendar__body__list .bal-date-calendar__body__list__item--disabled{cursor:default;background:rgba(0,0,0,0);color:var(--bal-color-text-grey-light)}.bal-date-calendar__body__list--visible{display:grid}.bal-date-calendar__body__list--year{grid-template-columns:repeat(4, 1fr)}.bal-date-calendar__body__list--month{grid-template-columns:repeat(2, 1fr)}.bal-date-calendar-cell{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;cursor:pointer;border-radius:var(--bal-radius-normal);font-family:var(--bal-font-family-text);font-weight:var(--bal-font-weight-regular);color:var(--bal-color-text-primary);border:none;background:rgba(0,0,0,0);text-align:center;font-size:var(--bal-text-size-normal);line-height:var(--bal-line-height-normal);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;outline:none;width:2rem;height:2rem}@media (hover: hover)and (pointer: fine){.bal-date-calendar-cell:not(.bal-date-calendar-cell--selected):not(.bal-date-calendar-cell--disabled):hover{background:var(--bal-color-light-blue-1)}}.bal-date-calendar-cell:not(.bal-date-calendar-cell--selected):not(.bal-date-calendar-cell--disabled):active{background:var(--bal-color-light-blue-2)}.bal-date-calendar-cell--today:not(.bal-date-calendar-cell--selected):not(.bal-date-calendar-cell--disabled){color:var(--bal-color-light-blue-3);font-weight:var(--bal-font-weight-bold)}@media (hover: hover)and (pointer: fine){.bal-date-calendar-cell--today:not(.bal-date-calendar-cell--selected):not(.bal-date-calendar-cell--disabled):hover{color:var(--bal-color-text-primary)}}.bal-date-calendar-cell--today:not(.bal-date-calendar-cell--selected):not(.bal-date-calendar-cell--disabled):active{color:var(--bal-color-text-primary)}.bal-date-calendar-cell--selected{background:var(--bal-color-primary);color:var(--bal-color-text-white);font-weight:var(--bal-font-weight-bold)}.bal-date-calendar-cell--disabled{cursor:default;background:rgba(0,0,0,0);color:var(--bal-color-text-grey-light)}';class L{constructor(t){this._options=t,this._position=0,this._positionEnd=0,this._isRangeSelection=!1,t.component&&t.component.nativeInput&&(this._position=t.component.nativeInput.selectionStart||0,this._positionEnd=t.component.nativeInput.selectionEnd||0,this._isRangeSelection=this._position!==this._positionEnd)}get isRangeSelection(){return this._isRangeSelection}get value(){return this._options.isBackspace&&this._position>0?this._position-1:this._position}set value(t){this._position=t<0?0:t>this._options.mask.maxLength?this._options.mask.maxLength:t}toStart(){this.value=0}toEnd(){const t=this.getTarget();t&&(this.value=t.value.length)}next(t=1){const e=this._position+t;return e<=this._options.mask.maxLength&&(this._position=e),this._position}previous(t=1){const e=this._position-t;return this._position=e>=0?e:0,this._position}submit(){const t=this.getTarget();t&&t.selectionStart!==this._position&&t.selectionEnd!==this._position&&(t.selectionStart=this._position,t.selectionEnd=this._position)}getTarget(){if(this._options.component&&this._options.component.nativeInput)return this._options.component.nativeInput}}class I{constructor(t){this._options=t,this._value="",this._options.component&&this._options.component.nativeInput&&(this._value=this._options.component.nativeInput.value),this.position=new L(this._options),this.component=this._options.component}get target(){if(this._options.component&&this._options.component.nativeInput)return this._options.component.nativeInput}get value(){return this._value}set value(t){this._value=t}get focused(){return this._options.component.focused}isValueEmpty(){return""===this.value||null==this.value}preventDefault(){this._options.event.preventDefault&&this._options.event.preventDefault()}stopPropagation(){this.preventDefault(),this._options.event.stopPropagation&&this._options.event.stopPropagation()}async submit(t="input",e){this.target&&(this.target.value=this.value,"blur"!==t&&"tab"!==t&&this.position.submit(),this._options.component&&("input"!==t&&"tab"!==t||this._options.component.balInput.emit(this.value),"change"!==t&&"blur"!==t||void 0===e||v(this._options.component.value,e)&&(this._options.component.value=e,this._options.component.balChange.emit(e))))}}class S extends I{get clipboardData(){var t;return null===(t=this._options.event.clipboardData)||void 0===t?void 0:t.getData("text")}}class K extends I{}class A extends I{get key(){return this._options.event.key}get isCtrlOrCommandKey(){return this._options.event.metaKey||this._options.event.ctrlKey}get isBackspaceKey(){return"Backspace"===this._options.event.key}get isTabKey(){return"Tab"===this._options.event.key}get isWhiteSpaceKey(){return" "===this._options.event.key}get isDeleteKey(){return"Delete"===this._options.event.key||"Del"===this._options.event.key}get isNumberKey(){return A.NUMBER_KEYS.includes(this._options.event.key)}get isNavigationKey(){return A.NAVIGATION_KEYS.includes(this._options.event.key)}get isSelectAllCommand(){return(this._options.event.ctrlKey||this._options.event.metaKey)&&"a"===this.key}get isCopyCommand(){return(this._options.event.ctrlKey||this._options.event.metaKey)&&"c"===this.key}get isPasteCommand(){return(this._options.event.ctrlKey||this._options.event.metaKey)&&"v"===this.key}getCharAt(t=this.position.value){return this.value.charAt(t)}getCharAtBackspacePosition(){return this.getCharAt(this.position.value-1)}setChar(t=this._options.event.key,e=this.position.value){this.value=this.value.substring(0,e)+t+this.value.substring(e+1)}}A.NUMBER_KEYS=["0","1","2","3","4","5","6","7","8","9"],A.NAVIGATION_KEYS=["Home","End","ArrowLeft","Left","ArrowRight","Right","Tab","Enter","Esc","Escape"];class N extends I{get locale(){return this._options.event.locale}}class R extends I{}class H extends I{get newValue(){return this._options.event.newValue}get oldValue(){return this._options.event.oldValue}get didValueChange(){return this.newValue!==this.oldValue}}class T{constructor(t){this._isSeparator=!1,this._allowedKeys=[],this._locale="de-CH",this._from=t.from||0,this._to=t.to||0,this._isSeparator=void 0!==t.isSeparator&&t.isSeparator,this._mask=t.mask||"_",this._allowedKeys=t.allowedKeys?t.allowedKeys:this.allowedKeys,this._format=t.format}format(t){return this._format?this._format(t.replace(this.mask,""),this._locale,this.mask):t}get isSeparator(){return this._isSeparator}get to(){return this._to}get from(){return this._from}get mask(){return"function"==typeof this._mask?this._mask(this._locale):this._mask}get allowedKeys(){return this._allowedKeys}onI18nChange(t){this._locale=t}getValueOfTheBlock(t){return t.slice(this._from,this._to)}isTouched(t){return!this.getValueOfTheBlock(t).split("").every((t=>t===this.mask))}verifyAllowedKeyHits(t){return!(!this.isSeparator||t!==this.mask)||this.allowedKeys.indexOf(t)>=0}}class E{constructor(t=[]){this._list=t}get lastPosition(){return this._list[this._list.length-1].to}get list(){return this._list}set list(t){this._list=t}clone(){return new E([...this._list])}findByIndex(t,e=this.list){return e.find((e=>e.from<=t&&t<e.to))}getPlaceholderMask(){const t=[];return this.list.forEach((e=>{const a=e.to-e.from;for(let i=0;i<a;i++)t.push(e.mask)})),t.join("")}getRawValueWithoutMaskByContext(t){return this.getRawValueWithoutMask(t.value)}getRawValueWithoutMask(t){if(t){let e=[];const a=t.split("");for(let t=0;t<a.length;t++){const i=a[t],s=this.findByIndex(t);e.push(s&&!s.isSeparator?i.replace(s.mask,""):i)}return e=e.filter((t=>t)),this.list.filter((t=>t.isSeparator)).length===e.length?"":e.join("")}return""}formatBlocks(t,e){let a=`${t}`;for(let t=0;t<this.list.length;t++){const i=this.list[t];if(e!==t&&!i.isSeparator&&i.isTouched(a)){const t=i.getValueOfTheBlock(a),e=i.format(t);a=a.substring(0,i.from)+e+a.substring(i.to)}}return a}getBlockIndexFromPosition(t){const e=this.list.reduce(((t,e)=>t+e.to-e.from),0);if(t===e)return this.list.length-1;const a=this.list.findIndex((e=>e.from<=t&&t<e.to));return a<0?void 0:Math.min(e,a)}verifyCallOfNextSeparator(t,e){if(this.list.length-1>e){const a=this.list[e+1];if(a.isSeparator&&a.mask===t)return!0}return!1}}class Y{constructor(t=[]){this.inputMode="text",this.locale="de-CH",this.blocks=new E(t)}onLocaleChange(t,e,a){if(t.target){const e=t.value.split("");for(let t=0;t<e.length;t++){const i=e[t],s=this.blocks.findByIndex(t),n=a.findByIndex(t);s&&n&&(s.isSeparator||i===n.mask)&&(e[t]=s.mask)}t.value=e.join("")}}onFocus(t){}onBlur(t){}onChange(t){t.submit("change",this.onParseValue(t.value))}onNavigationDown(t,e,a){}onSelectAll(t,e,a){}onPaste(t,e,a){t.value=t.clipboardData||"",t.position.toEnd()}onBlockChange(t,e,a){t.setChar(),t.position.next();const i=this.blocks.list[a+1];t.position.value===e.to&&i&&i.isSeparator&&t.position.next()}onBackspaceDown(t,e,a){if(t.position.previous(),!e.isSeparator){t.setChar(e.mask);const i=this.blocks.list[a-1];t.position.value===e.from&&i&&i.isSeparator&&t.position.previous()}}onDeleteDown(t,e,a){t.setChar(e.mask),t.position.next();const i=this.blocks.list[a+1];t.position.value===e.to&&i&&i.isSeparator&&t.position.next()}onValueChanged(t){const e=this.onFormatValue(t.newValue),a=t.focused&&""===e?this.blocks.getPlaceholderMask():e;t.value=a,t.position.toEnd()}onParseValue(t,e={allowInvalidValue:!1}){return t?t.trim():t||""}onFormatValue(t){return t?t.trim():t||""}toParsedValue(t){return this.onParseValue(t)}toFormattedValue(t){return this.onFormatValue(t)}fireI18nChange(t){const e=this.blocks.clone(),a=`${t.locale}`;this.locale=t.locale,this.blocks.list.forEach((e=>e.onI18nChange(t.locale))),this.onLocaleChange(t,a,e)}fireValueChanged(t){t.didValueChange&&this.onValueChanged(t)}firePaste(t){const e=this.blocks.getBlockIndexFromPosition(t.position.value);void 0!==e&&(this.onPaste(t,this.blocks.list[e],e),this.onChange(t))}fireClick(t){this.blocks.getPlaceholderMask()===t.value&&t.position.toStart()}fireFocus(t){t.target&&t.isValueEmpty()&&this.resetInputValueWithMask(t),this.onFocus(t)}fireBlur(t){t.target&&(this.isValueEmptyMask(t)?this.emptyInputValue(t):(this.onBlur(t),t.submit("blur",this.onParseValue(t.value,{allowInvalidValue:t.component.allowInvalidValue}))))}fireKeyDown(t){const e=t.isBackspaceKey?Math.max(0,t.position.value-1):t.position.value,a=this.blocks.getBlockIndexFromPosition(e);if(e>=this.blocks.lastPosition&&!t.isNavigationKey&&!t.isSelectAllCommand)return t.preventDefault(),void t.stopPropagation();if(void 0===a||t.position.isRangeSelection)t.isTabKey||t.preventDefault(),t.isBackspaceKey||t.isDeleteKey?this.resetInputValueWithMask(t):this.blocks.list[0].verifyAllowedKeyHits(t.key)&&this.onBlockChange(t,this.blocks.list[0],0);else{const e=this.blocks.list[a];if(t.isNavigationKey)this.onNavigationDown(t,e,a);else if(t.isSelectAllCommand)this.onSelectAll(t,e,a);else if(t.isCopyCommand);else if(t.isPasteCommand);else if(t.isBackspaceKey)t.preventDefault(),this.onBackspaceDown(t,e,a);else if(t.isDeleteKey)t.preventDefault(),this.onDeleteDown(t,e,a);else if(t.isWhiteSpaceKey){if(t.preventDefault(),"."===t.value[t.position.value]){t.stopPropagation();const e=t.value;t.value=e.substring(0,t.position.value)+"_"+e.substring(t.position.value+1)}}else if(e.verifyAllowedKeyHits(t.key))t.preventDefault(),this.onBlockChange(t,e,a);else if(this.blocks.verifyCallOfNextSeparator(t.key,a)&&(t.preventDefault(),t.position.value>this.blocks.list[a].from)){const i=this.blocks.list[a+1],s=t.value,n=e.getValueOfTheBlock(s),l=e.format(n);t.value=s.substring(0,e.from)+l+s.substring(e.to),t.position.value=i.to}const i=this.blocks.getBlockIndexFromPosition(t.position.value);if(i&&!t.isBackspaceKey){const e=this.blocks.formatBlocks(t.value,i),a=t.position.value;t.value=e,t.position.value=a}}}resetInputValueWithMask(t){t.value=this.blocks.getPlaceholderMask(),t.position.toStart()}isValueEmptyMask(t){return this.blocks.getPlaceholderMask()===t.value}emptyInputValue(t){t.value="",t.submit("blur",t.value)}}class W extends Y{constructor(){super([new T({from:0,to:2,allowedKeys:[...C],format:(t,e,a)=>Number.isNaN(parseInt(t,10))?`${a}${a}`:t.padStart(2,"0"),mask:t=>this.dayMask[t.split("-")[0]]||this.dayMask.de}),new T({from:2,to:3,mask:t=>c(t),isSeparator:!0}),new T({from:3,to:5,allowedKeys:[...C],format:(t,e,a)=>Number.isNaN(parseInt(t,10))?`${a}${a}`:t.padStart(2,"0"),mask:t=>this.monthMask[t.split("-")[0]]||this.monthMask.de}),new T({from:5,to:6,mask:t=>c(t),isSeparator:!0}),new T({from:6,to:10,allowedKeys:[...C],mask:t=>this.yearMask[t.split("-")[0]]||this.yearMask.de})]),this.maxLength=10,this.minLength=10,this.inputMode="decimal",this.dayMask={de:"T",en:"D",fr:"J",it:"G",nl:"D",es:"D",pl:"D",pt:"D",sv:"D",fi:"M"},this.monthMask={de:"M",en:"M",fr:"M",it:"M",nl:"M",es:"M",pl:"M",pt:"M",sv:"M",fi:"K"},this.yearMask={de:"J",en:"Y",fr:"A",it:"A",nl:"J",es:"A",pl:"R",pt:"A",sv:"Å",fi:"V"}}onParseValue(t,e={allowInvalidValue:!1}){if(t){const a=d.fromAnyFormat(this.blocks.getRawValueWithoutMask(t));if(a.isValid)return a.toISODate();if(e&&e.allowInvalidValue)return j}return""}onFormatValue(t){if(t){const e=d.fromISO(t);if(e.isValid)return e.toFormat()}return""}onPaste(t,e,a){const i=d.fromAnyFormat(t.clipboardData||"");i.isValid&&(t.value=i.toFormat(),t.position.toEnd())}onBlur(t){const e=this.blocks.getRawValueWithoutMaskByContext(t),a=d.fromAnyFormat(e);if(a.isValid){const e=a.toFormat();e!==t.value&&(t.value=e)}else t.component.allowInvalidValue&&e!==t.value&&(t.value=e)}}class G{constructor(t){this.mask=t}get attributes(){return{inputMode:this.mask.inputMode,maxLength:this.mask.maxLength,minLength:this.mask.minLength,type:"text",autoCapitalize:"off",autoCorrect:"off",spellcheck:!1}}bindComponent(t){this.component=t}bindComponentDidLoad(){this.component&&this.component.nativeInput&&(this.component.nativeInput.value=this.component.value||""),this.bindValueChanged(this.component.value,void 0)}bindConfigChanged(t){const{component:e,mask:a}=this,i=new N({component:e,mask:a,event:{locale:`${t.language}-${t.region}`}});this.mask.fireI18nChange(i),i.submit()}bindValueChanged(t,e){const{component:a,mask:i}=this,s=new H({component:a,mask:i,event:{newValue:t,oldValue:e}});this.mask.fireValueChanged(s),s.submit("blur")}bindKeyDown(t){if(this.isComponentAccessible){const{component:e,mask:a}=this,i=new A({event:t,component:e,mask:a});this.mask.fireKeyDown(i),i.submit("Tab"===t.key?"tab":"input"),e.balKeyPress.emit(t)}}bindFocus(t){if(this.isComponentAccessible){const{component:e,mask:a}=this;e.focused=!0;const i=new K({event:t,component:e,mask:a});this.mask.fireFocus(i),i.submit(),e.balFocus.emit(t)}}bindBlur(t){if(this.isComponentAccessible){const{component:e,mask:a}=this;e.focused=!1;const i=new K({event:t,component:e,mask:a});this.mask.fireBlur(i),i.submit("blur"),e.balBlur.emit(t)}}bindPaste(t){if(this.isComponentAccessible){const{component:e,mask:a}=this,i=new S({event:t,component:e,mask:a});this.mask.firePaste(i),i.submit()}}bindFormReset(t){const e=t.target;e&&(e===this.component.el||e.contains(this.component.el))&&(this.component.value=this.component.initialValue,this.component.inputValue=this.component.initialValue,clearTimeout(this.resetHandlerTimer),this.resetHandlerTimer=setTimeout((()=>{this.component.nativeInput&&(this.component.nativeInput.value=this.mask.toFormattedValue(this.component.value||""))})))}bindClick(t){if(this.isComponentAccessible){const{component:e,mask:a}=this,i=new R({event:t,component:e,mask:a});this.mask.fireClick(i),i.submit()}}bindHostClick(t){this.isComponentAccessible||(t.preventDefault(),t.stopPropagation())}bindGlobalClick(t){this.isComponentAccessible||t.target&&t.target===this.component.el&&(t.preventDefault(),t.stopPropagation())}get isComponentAccessible(){return!this.component.disabled&&!this.component.readonly}}const J=class{constructor(t){e(this,t),this.balKeyPress=a(this,"balKeyPress",7),this.balChange=a(this,"balChange",7),this.balInput=a(this,"balInput",7),this.balBlur=a(this,"balBlur",7),this.balFocus=a(this,"balFocus",7),this.inputId="bal-i-date-"+q++,this.inheritedAttributes={},this.maskAdapter=new G(new W),this.inputValue=this.value,this.initialValue=this.value||"",this.focused=!1,this.isGrouped=!1,this.ariaForm=x,this.name=this.inputId,this.invalid=!1,this.required=!1,this.disabled=!1,this.readonly=!1,this.placeholder=void 0,this.clickable=!1,this.min=void 0,this.max=void 0,this.autocomplete="off",this.hasIconRight=!1,this.value=void 0,this.autoInvalidOff=!1,this.allowInvalidValue=!1}createLogger(t){this.log=t}valueChanged(t,e){this.maskAdapter.bindValueChanged(t,e)}connectedCallback(){this.maskAdapter.bindComponent(this),this.isGrouped=m("bal-input-group",this.el)}componentDidLoad(){this.maskAdapter.bindComponentDidLoad()}componentWillRender(){this.inheritedAttributes=y(this.el,["aria-label","tabindex","title"])}async configChanged(t){this.maskAdapter.bindConfigChanged(t)}resetHandler(t){this.maskAdapter.bindFormReset(t)}listenOnClick(t){this.maskAdapter.bindGlobalClick(t)}async setFocus(){w(this)}async setBlur(){k(this)}getInputElement(){return Promise.resolve(this.nativeInput)}async setAriaForm(t){this.ariaForm=Object.assign({},t)}render(){const e=f.block("input-date"),a=e.element("native");return t(i,{key:"c1401f0c7df85ca5d78649b764215e27aa6790ae",onClick:t=>this.maskAdapter.bindHostClick(t),class:Object.assign({},e.class())},t("input",Object.assign({key:"37c33527ad82e2f74b19f734f2a752cc49a8a352",class:{input:!0,"is-disabled":this.disabled||this.readonly,"is-danger":this.invalid,"is-clickable":this.clickable&&!(this.disabled||this.readonly),"bal-focusable":!this.disabled,"has-icon-right":this.hasIconRight},"data-testid":"bal-date-input",ref:t=>this.nativeInput=t,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":this.disabled?"true":null,required:this.required,disabled:this.disabled,readonly:this.readonly,autoComplete:this.autocomplete},this.maskAdapter.attributes,this.inheritedAttributes,{placeholder:this.placeholder,value:this.inputValue,onKeyDown:t=>this.maskAdapter.bindKeyDown(t),onClick:t=>this.maskAdapter.bindClick(t),onFocus:t=>this.maskAdapter.bindFocus(t),onBlur:t=>this.maskAdapter.bindBlur(t),onPaste:t=>this.maskAdapter.bindPaste(t)})),t("input",{key:"c2b6921f78a345008b3475273f19dfe1dcd59373",type:"date",class:Object.assign({},a.class()),name:this.name,min:this.min,max:this.max,value:this.value,tabindex:-1,"aria-hidden":"true"}))}get el(){return s(this)}static get watchers(){return{value:["valueChanged"]}}};n([b("bal-input-date"),l("design:type",Function),l("design:paramtypes",[Function]),l("design:returntype",void 0)],J.prototype,"createLogger",null),n([_(),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],J.prototype,"configChanged",null);let q=0;J.style=".bal-input-date{display:block;width:100%;-ms-flex:1;flex:1}.bal-input-date input:not(:-moz-placeholder-shown){letter-spacing:.4px}.bal-input-date input:not(:-ms-input-placeholder){letter-spacing:.4px}.bal-input-date input:not(:placeholder-shown){letter-spacing:.4px}.bal-input-date__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}";export{F as bal_date_calendar,J as bal_input_date}
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,a,r,n){function t(e){return e instanceof r?e:new r((function(a){a(e)}))}return new(r||(r=Promise))((function(r,o){function i(e){try{_(n.next(e))}catch(e){o(e)}}function l(e){try{_(n["throw"](e))}catch(e){o(e)}}function _(e){e.done?r(e.value):t(e.value).then(i,l)}_((n=n.apply(e,a||[])).next())}))};var __generator=this&&this.__generator||function(e,a){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,t,o,i;return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(e){return function(a){return _([e,a])}}function _(l){if(n)throw new TypeError("Generator is already executing.");while(i&&(i=0,l[0]&&(r=0)),r)try{if(n=1,t&&(o=l[0]&2?t["return"]:l[0]?t["throw"]||((o=t["return"])&&o.call(t),0):t.next)&&!(o=o.call(t,l[1])).done)return o;if(t=0,o)l=[l[0]&2,o.value];switch(l[0]){case 0:case 1:o=l;break;case 4:r.label++;return{value:l[1],done:false};case 5:r.label++;t=l[1];l=[0];continue;case 7:l=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){r.label=l[1];break}if(l[0]===6&&r.label<o[1]){r.label=o[1];o=l;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(l);break}if(o[2])r.ops.pop();r.trys.pop();continue}l=a.call(e,r)}catch(e){l=[6,e];t=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-7961e095.system.js","./p-6dbef894.system.js","./p-df907af8.system.js","./p-fa6b5cde.system.js","./p-2880433e.system.js","./p-db0895e2.system.js","./p-23bdd8dc.system.js","./p-5cd2674f.system.js","./p-ef3bfa9f.system.js","./p-0f37a65c.system.js","./p-130a16ee.system.js","./p-a1f6e944.system.js"],(function(e){"use strict";var a,r,n,t,o,i,l,_,c,s,f,d;return{setters:[function(e){a=e.r;r=e.h;n=e.H},function(e){t=e._;o=e.a},function(){},function(){},function(e){i=e.c},function(e){l=e.B},function(e){_=e.L},function(e){c=e.n},function(e){s=e.H},function(e){f=e.d},function(e){d=e.L},function(){}],execute:function(){var p={exports:{}};(function(e,a){var r="[object Date]";var n=typeof i=="object"&&i&&i.Object===Object&&i;var t=a&&!a.nodeType&&a;var o=t&&"object"=="object"&&e&&!e.nodeType&&e;var l=o&&o.exports===t;var _=l&&n.process;var c=function(){try{return _&&_.binding("util")}catch(e){}}();var s=c&&c.isDate;function f(e){return function(a){return e(a)}}var d=Object.prototype;var p=d.toString;function u(e){return g(e)&&p.call(e)==r}var b=s?f(s):u;function g(e){return!!e&&typeof e=="object"}e.exports=b})(p,p.exports);var u;(function(e){e[e["INIT"]=0]="INIT";e[e["RUNNING"]=1]="RUNNING";e[e["SUCCESS"]=2]="SUCCESS";e[e["ERROR"]=3]="ERROR"})(u||(u={}));var b=function(){function e(e){this.key=e}return e}();new b("de");new b("fr");new b("it");new b("en");new b("nl");new b("lb");var g="https://www.baloise.ch";var v="/app-integration";var w=function(){var e=m();if(e&&e.indexOf("www.baloise.ch")>=0){return"https://".concat(e)}return g};var h=function(e,a,r,n){if(a===void 0){a="CH"}if(r===void 0){r=y.FOOTER}if(n===void 0){n="v2"}var t=e.key;if(r===y.ONETRUST){t="all"}else{if(a==="DE"){t="de"}}return"".concat(w()).concat(v,"/").concat(n,"/").concat(a.toLowerCase(),"/").concat(r,"/").concat(t,".json")};var m=function(){var e;return((e=window===null||window===void 0?void 0:window.location)===null||e===void 0?void 0:e.host)||undefined};var y;(function(e){e["FOOTER"]="footer";e["SOCIAL_MEDIA"]="socialmediachannels";e["ONETRUST"]="onetrust"})(y||(y={}));var x=function(e,a){if(a===void 0){a="CH"}var r=h(e,a,y.FOOTER);return fetch(r).then((function(e){return e.json()})).then((function(e){return e}))};var k=function(e,a){if(a===void 0){a="CH"}var r=h(e,a,y.SOCIAL_MEDIA,"v1");return fetch(r).then((function(e){return e.json()})).then((function(e){return e}))};var j={en:{name:"English"},fr:{name:"Français"},it:{name:"Italiano"},nl:{name:"Nederlands"},es:{name:"Español"},pt:{name:"Português"},sv:{name:"Svenska"},fi:{name:"Suomi"},de:{name:"Deutsch"},pl:{name:"Polski"}};var O=":root{--bal-footer-font-family:var(--bal-font-family-text);--bal-footer-background:var(--bal-color-primary);--bal-footer-color:var(--bal-color-text-white);--bal-footer-language-color-hover:var(--bal-color-light-blue-2);--bal-footer-language-background-hover:var(--bal-color-light-blue-2);--bal-footer-language-color-active:var(--bal-color-light-blue-3);--bal-footer-language-background-active:var(--bal-color-light-blue-3)}.bal-footer{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;position:static;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.bal-footer__slot{color:var(--bal-footer-color)}.bal-footer__inner{position:relative;font-family:var(--bal-footer-font-family);background-color:var(--bal-footer-background);padding-top:var(--bal-space-x-small);padding-bottom:var(--bal-space-large)}@media screen and (min-width: 769px),print{.bal-footer__inner{padding-top:var(--bal-space-large);padding-bottom:var(--bal-space-large)}}@media screen and (min-width: 1024px){.bal-footer__inner{padding-top:var(--bal-space-large);padding-bottom:var(--bal-space-large)}}.bal-footer__inner__wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--bal-space-large)}@media screen and (min-width: 769px)and (max-width: 1023px){.bal-footer__inner__wrapper{gap:var(--bal-space-medium-tablet)}}@media screen and (max-width: 768px){.bal-footer__inner__wrapper{gap:var(--bal-space-medium-tablet)}}.bal-footer__inner__wrapper__header-container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:row;flex-direction:row}.bal-footer__inner__wrapper__header-container__language{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center}.bal-footer__inner__wrapper__header-container__language .bal-dropdown__list{min-width:105%;right:0 !important;left:auto !important}.bal-footer__inner__wrapper__header-container__language bal-icon,.bal-footer__inner__wrapper__header-container__language .input{cursor:pointer;min-width:auto !important}.bal-footer__inner__wrapper__header-container__language .bal-dropdown__rear{position:absolute;left:0}.bal-footer__inner__wrapper__header-container__language .bal-dropdown__rear svg,.bal-footer__inner__wrapper__header-container__language .bal-dropdown__rear g,.bal-footer__inner__wrapper__header-container__language .bal-dropdown__rear path,.bal-footer__inner__wrapper__header-container__language .bal-dropdown__rear circle{fill:var(--bal-color-white)}.bal-footer__inner__wrapper__header-container__language .bal-dropdown__native{background:rgba(0,0,0,0);color:var(--bal-color-white);border:none;font-weight:var(--bal-font-weight-bold);cursor:pointer;padding-left:1.5rem}.bal-footer__inner__wrapper__header-container__language:hover .bal-dropdown__rear svg,.bal-footer__inner__wrapper__header-container__language:hover .bal-dropdown__rear g,.bal-footer__inner__wrapper__header-container__language:hover .bal-dropdown__rear path,.bal-footer__inner__wrapper__header-container__language:hover .bal-dropdown__rear circle{fill:var(--bal-footer-language-background-hover)}.bal-footer__inner__wrapper__header-container__language:hover .input,.bal-footer__inner__wrapper__header-container__language:hover .bal-dropdown__native,.bal-footer__inner__wrapper__header-container__language:hover .bal-dropdown__root__content{color:var(--bal-footer-language-color-hover)}.bal-footer__inner__wrapper__header-container__language:active .bal-dropdown__rear svg,.bal-footer__inner__wrapper__header-container__language:active .bal-dropdown__rear g,.bal-footer__inner__wrapper__header-container__language:active .bal-dropdown__rear path,.bal-footer__inner__wrapper__header-container__language:active .bal-dropdown__rear circle{fill:var(--bal-footer-language-background-active)}.bal-footer__inner__wrapper__header-container__language:active .input,.bal-footer__inner__wrapper__header-container__language:active .bal-dropdown__native,.bal-footer__inner__wrapper__header-container__language:active .bal-dropdown__root__content{color:var(--bal-footer-language-color-active)}.bal-footer__inner__wrapper__header-container__language__wrapper .bal-input-group{background:rgba(0,0,0,0);border:none;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.bal-footer__inner__wrapper__header-container__language__wrapper .bal-input-group:hover{background:rgba(0,0,0,0) !important}.bal-footer__inner__wrapper__header-container__language__wrapper .bal-input-group bal-dropdown{min-width:5rem}.bal-footer__inner__wrapper__header-container__logo{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.bal-footer__inner__wrapper__links-container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-wrap:wrap;flex-wrap:wrap}@media screen and (min-width: 769px),print{.bal-footer__inner__wrapper__links-container{-ms-flex-direction:column;flex-direction:column}}@media screen and (min-width: 1024px){.bal-footer__inner__wrapper__links-container{-ms-flex-direction:row;flex-direction:row}}.bal-footer__inner__wrapper__links-container__legal-links{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;gap:var(--bal-space-large-desktop)}.bal-footer__inner__wrapper__links-container__legal-links a{font-size:var(--bal-text-size-small) !important}@media screen and (max-width: 768px){.bal-footer__inner__wrapper__links-container__legal-links{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;width:100%;gap:var(--bal-space-normal)}}.bal-footer__inner__wrapper__links-container__social-media-links{-ms-flex-align:center;align-items:center;gap:var(--bal-space-large-desktop);padding:var(--bal-space-normal) var(--bal-space-normal) var(--bal-space-normal) 0}@media screen and (min-width: 769px)and (max-width: 1023px){.bal-footer__inner__wrapper__links-container__social-media-links{padding-bottom:var(--bal-space-large)}}@media screen and (max-width: 768px){.bal-footer__inner__wrapper__links-container__social-media-links{padding-bottom:var(--bal-space-large);-ms-flex-pack:center;justify-content:center;width:100%;padding:var(--bal-space-normal) 0 var(--bal-space-normal) 0}}";var C=O;var E=e("bal_footer",function(){function e(e){a(this,e);this.links=[];this.socialMediaLinks=[];this.language=f.language;this.region=f.region;this.allowedLanguages=f.allowedLanguages;this.hideLinks=false;this.overrideLinks=undefined;this.showSocialMedia=false;this.hideLanguageSelection=false}e.prototype.createLogger=function(e){this.log=e};e.prototype.connectedCallback=function(){this.updateFooterLinks();this.updateSocialMediaLinks()};e.prototype.configChanged=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){if(this.language!==e.language||this.region!==e.region){this.language=e.language;this.region=e.region;this.allowedLanguages=e.allowedLanguages;this.updateFooterLinks();this.updateSocialMediaLinks()}return[2]}))}))};e.prototype.changeLanguage=function(e){s(e)};e.prototype.updateFooterLinks=function(){var e=this;if(this.overrideLinks){this.links=this.overrideLinks}else if(!this.hideLinks&&(this.region==="CH"||this.region==="DE")){var a=this.region;c((function(){x(new b(e.language),a).then((function(a){return e.links=a}))}))}};e.prototype.updateSocialMediaLinks=function(){var e=this;if(this.showSocialMedia&&(this.region==="CH"||this.region==="DE")){var a=this.region;c((function(){k(new b(e.language),a).then((function(a){return e.socialMediaLinks=a}))}))}};e.prototype.render=function(){var e=this;var a=l.block("footer");var t=a.element("slot");var o=a.element("inner");var i=o.element("wrapper");var _=i.element("container");var c=i.element("links-container");var s=i.element("header-container");var f=s.element("logo");var d=s.element("language");var p=d.element("wrapper");var u=c.element("legal-links");var b=c.element("social-media-links");return r(n,{key:"d9fcf2b0c58a8c8b2ec81256a94a5555281f275e",class:Object.assign({},a.class())},r("footer",{key:"24691e174da80b7b0837d6ef7093abf1e0671207",class:Object.assign({},o.class())},r("div",{key:"80a0395ec6f83fed9b67687f9f0169550e1e8a6e",class:Object.assign({},i.class())},r("div",{key:"1d5656c103792e725267aee630f5c89717cddcd4",class:Object.assign(Object.assign({container:true},_.class()),s.class())},r("div",{key:"91d7235ce53fb56712375194709d70d32a40aad3",class:Object.assign({},f.class())},r("bal-logo",{key:"9f20c92b2fca4660daec9d5faa74303e4027c81e",color:"white"})),r("div",{key:"e395ba338e3dcd7fffd8f07d6ba3ab0e26d5cb85",class:Object.assign({},d.class()),style:{display:this.hideLanguageSelection||this.allowedLanguages.length<=1?"none":"flex"}},r("div",{key:"dfc805fd51ea9b5625de046a94129df428e7d2d0",class:Object.assign({},p.class())},r("bal-input-group",{key:"0d203884c1f437669690a70df96fc703427f751b"},r("bal-icon",{key:"9551ba6bc1fc1b36d67542fe40d841dee78d3daa",class:"bal-dropdown__rear",name:"web",color:"white"}),r("select",{key:"721a9a291639d6d4357f179b302870cf6f2852af",id:"bubu",class:"bal-dropdown__native",onChange:function(a){return e.changeLanguage(a.target.value)},"data-testid":"bal-footer-language"},this.allowedLanguages.map((function(a){return r("option",{key:a,value:a,selected:a===e.language},a.toLocaleUpperCase()+" - "+j[a].name)}))))))),r("div",{key:"26575b69cba20d83a8124bca1697b9cc7ee38246",class:Object.assign({},t.class())},r("slot",{key:"48e62b90d62825693e73b522ed454da7846457d2"})),r("div",{key:"8fdf21a11da23eb1489c95d21f6726ab53136ffc",class:Object.assign(Object.assign({container:true},_.class()),c.class())},r("div",{key:"591b9f51cb1ff3d4dee431daaca23ad38bcbac7e",class:Object.assign({},b.class()),style:{display:!this.showSocialMedia?"none":"flex"}},this.socialMediaLinks.map((function(e){return r("a",{key:e.link,href:e.link,target:"_blank",class:{link:true,"is-inverted":true}},r("bal-icon",{name:e.label.toLowerCase()}))}))),r("div",{key:"6496b1f14bedc754c4ba873c6ead58e1476c76ff",class:Object.assign({},u.class()),style:{display:this.hideLinks?"none":"flex"}},this.links.map((function(e){return r("a",{key:e.link,href:e.link,target:"_blank",class:{link:true,"is-light":true}},e.label)})))))))};return e}());t([_("bal-footer"),o("design:type",Function),o("design:paramtypes",[Function]),o("design:returntype",void 0)],E.prototype,"createLogger",null);t([d(),o("design:type",Function),o("design:paramtypes",[Object]),o("design:returntype",Promise)],E.prototype,"configChanged",null);E.style=C}}}));
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,i,n,e){function r(t){return t instanceof n?t:new n((function(i){i(t)}))}return new(n||(n=Promise))((function(n,s){function a(t){try{o(e.next(t))}catch(t){s(t)}}function u(t){try{o(e["throw"](t))}catch(t){s(t)}}function o(t){t.done?n(t.value):r(t.value).then(a,u)}o((e=e.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},e,r,s,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(t){return function(i){return o([t,i])}}function o(u){if(e)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(n=0)),n)try{if(e=1,r&&(s=u[0]&2?r["return"]:u[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,u[1])).done)return s;if(r=0,s)u=[u[0]&2,s.value];switch(u[0]){case 0:case 1:s=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;r=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(s=n.trys,s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){n.label=u[1];break}if(u[0]===6&&n.label<s[1]){n.label=s[1];s=u;break}if(s&&n.label<s[2]){n.label=s[2];n.ops.push(u);break}if(s[2])n.ops.pop();n.trys.pop();continue}u=i.call(t,n)}catch(t){u=[6,t];r=0}finally{e=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-7961e095.system.js","./p-6dbef894.system.js","./p-64aca444.system.js","./p-db0895e2.system.js","./p-23bdd8dc.system.js","./p-8949aa8b.system.js","./p-980e4b57.system.js","./p-5cd2674f.system.js","./p-6e5745c8.system.js","./p-195ee683.system.js","./p-4e642b63.system.js","./p-0f37a65c.system.js","./p-130a16ee.system.js","./p-ef3bfa9f.system.js","./p-a1f6e944.system.js"],(function(t){"use strict";var i,n,e,r,s,a,u,o,h,c,f,d,l,b,v,p,_,w,m;return{setters:[function(t){i=t.r;n=t.c;e=t.h;r=t.H;s=t.g},function(t){a=t._;u=t.a},function(t){o=t.B;h=t.i},function(t){c=t.B},function(t){f=t.L},function(t){d=t.i},function(t){l=t.s},function(t){b=t.p},function(t){v=t.d},function(t){p=t.b},function(t){_=t.d},function(t){w=t.d},function(t){m=t.L},function(){},function(){}],execute:function(){var y=":root{--bal-date-popup-z-index:var(--bal-z-index-tooltip);--bal-date-popup-shadow:var(--bal-shadow-normal);--bal-date-popup-radius:var(--bal-radius-normal)}:root{--bal-z-index-tooltip:1300}.bal-date{display:block;font-family:var(--bal-font-family-text);width:100%}.bal-date__icon--clickable{cursor:pointer}.bal-date__popup{display:none;width:-webkit-max-content;width:-moz-max-content;width:max-content;position:absolute;top:0;left:0;z-index:var(--bal-date-popup-z-index);-webkit-box-shadow:var(--bal-date-popup-shadow);box-shadow:var(--bal-date-popup-shadow);border-radius:var(--bal-date-popup-radius)}.bal-date__popup--visible{display:block}";var g=y;var j=t("bal_date",function(){function t(t){var e=this;i(this,t);this.balInput=n(this,"balInput",7);this.balChange=n(this,"balChange",7);this.balWillAnimate=n(this,"balWillAnimate",7);this.balDidAnimate=n(this,"balDidAnimate",7);this.balBlur=n(this,"balBlur",7);this.balFocus=n(this,"balFocus",7);this.balInputClick=n(this,"balInputClick",7);this.balIconClick=n(this,"balIconClick",7);this.balPopoverPrepare=n(this,"balPopoverPrepare",7);this.inputId="bal-da-".concat(x++);this.inheritedAttributes={};this.onIconClick=function(t){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(!this.triggerIcon)return[3,2];return[4,this.toggle()];case 1:t.sent();return[3,4];case 2:return[4,this.open()];case 3:t.sent();t.label=4;case 4:return[2]}}))}))};this.onInputClick=function(t){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(!!this.triggerIcon)return[3,2];return[4,this.open()];case 1:t.sent();t.label=2;case 2:return[2]}}))}))};this.onCalendarChange=function(t){l(t);e.value=t.detail;e.balChange.emit(e.value);if(e.closeOnSelect){e.close()}};this.onInputInput=function(t){l(t);e.balInput.emit(t.detail);if(t.detail){var i=o.fromAnyFormat(t.detail);if(i.isValid){e.calendarValue=i.toISODate()}}};this.onInputChange=function(t){l(t);e.value=t.detail;e.balChange.emit(e.value)};this.onInputFocus=function(t){l(t);e.balFocus.emit(t.detail)};this.onInputBlur=function(t){l(t);e.balBlur.emit(t.detail)};this.onKeyPress=function(t){return __awaiter(e,[t],void 0,(function(t){var i=t.detail;return __generator(this,(function(t){switch(t.label){case 0:if(!(_(i)&&!this.triggerIcon))return[3,4];if(!this.isExpanded)return[3,2];return[4,this.close()];case 1:t.sent();return[3,4];case 2:return[4,this.open()];case 3:t.sent();t.label=4;case 4:return[2]}}))}))};this.isExpanded=false;this.language=w.language;this.calendarValue=undefined;this.ariaForm=v;this.name=this.inputId;this.invalid=false;this.required=false;this.disabled=false;this.readonly=false;this.freeSolo=false;this.placeholder=undefined;this.triggerIcon=false;this.closeOnSelect=true;this.autocomplete="off";this.value=undefined;this.min=undefined;this.max=undefined;this.minYearProp=undefined;this.maxYearProp=undefined;this.defaultDate=undefined;this.allowedDates=undefined;this.allowInvalidValue=false;this.debounce=0;this.autoInvalidOff=false}t.prototype.createLogger=function(t){this.log=t};t.prototype.valueChanged=function(){this.calendarValue=this.value};t.prototype.debounceChanged=function(){this.balChange=b(this.balChange,this.debounce)};t.prototype.connectedCallback=function(){this.valueChanged()};t.prototype.componentWillLoad=function(){this.inheritedAttributes=d(this.el,["aria-label","tabindex","title"])};t.prototype.listenToKeydown=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){switch(i.label){case 0:if(!(this.isExpanded&&(t.key==="Escape"||t.key==="Esc")))return[3,2];t.preventDefault();return[4,this.close()];case 1:i.sent();i.label=2;case 2:return[2]}}))}))};t.prototype.listenOnKeyup=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){switch(i.label){case 0:if(!(t.key==="Tab"&&!this.el.contains(document.activeElement)&&this.isExpanded))return[3,2];return[4,this.close()];case 1:i.sent();i.label=2;case 2:return[2]}}))}))};t.prototype.listenOnclick=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){switch(i.label){case 0:if(!(this.isExpanded&&!this.el.contains(t.target)))return[3,2];return[4,this.close()];case 1:i.sent();i.label=2;case 2:return[2]}}))}))};t.prototype.listenOnPopoverPrepare=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){switch(i.label){case 0:if(!(this.inputId!==t.detail))return[3,2];return[4,this.close()];case 1:i.sent();i.label=2;case 2:return[2]}}))}))};t.prototype.configChanged=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.language=t.language;return[2]}))}))};t.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.expand()]}))}))};t.prototype.close=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.collapse()]}))}))};t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.isExpanded){return[2,this.collapse()]}else{return[2,this.expand()]}return[2]}))}))};t.prototype.select=function(t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(n){i=o.fromISO(t);if(i.isValid){this.value=i.toISODate();this.calendarValue=this.value}return[2]}))}))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){(t=this.inputEl)===null||t===void 0?void 0:t.setFocus();return[2]}))}))};t.prototype.setBlur=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){(t=this.inputEl)===null||t===void 0?void 0:t.setBlur();return[2]}))}))};t.prototype.getInputElement=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){return[2,(t=this.inputEl)===null||t===void 0?void 0:t.getInputElement()]}))}))};t.prototype.setAriaForm=function(t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(n){this.ariaForm=Object.assign({},t);(i=this.inputEl)===null||i===void 0?void 0:i.setAriaForm(t);return[2]}))}))};t.prototype.expand=function(){return __awaiter(this,void 0,void 0,(function(){var t;var i=this;return __generator(this,(function(n){switch(n.label){case 0:if(!(this.referenceEl&&this.floatingEl))return[3,2];return[4,p.load()];case 1:t=n.sent();this.balPopoverPrepare.emit(this.inputId);this.balWillAnimate.emit();this.isExpanded=true;this.popupCleanup=t.autoUpdate(this.referenceEl,this.floatingEl,(function(){i.updatePosition(i.referenceEl,i.floatingEl)}));n.label=2;case 2:return[2,this.isExpanded]}}))}))};t.prototype.collapse=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.floatingEl){this.balWillAnimate.emit();this.isExpanded=false;if(this.popupCleanup){this.popupCleanup()}this.balDidAnimate.emit()}return[2,this.isExpanded]}))}))};t.prototype.updatePosition=function(t,i){return __awaiter(this,void 0,void 0,(function(){var n;var e=this;return __generator(this,(function(r){switch(r.label){case 0:return[4,p.load()];case 1:n=r.sent();n.computePosition(t,i,{placement:"bottom-start",middleware:[n.offset(4),n.flip({crossAxis:false})]}).then((function(t){var n=t.x,r=t.y;Object.assign(i.style,{left:"".concat(n,"px"),top:"".concat(r,"px")});e.balDidAnimate.emit()}));return[2]}}))}))};t.prototype.render=function(){var t=this;var i=c.block("date");var n=i.element("icon");var s=i.element("popup");return e(r,{key:"b795b526c8e86eb1f96ad07bc8d2f484b41f1f32",id:this.inputId,class:Object.assign({},i.class())},e("bal-input-group",{key:"4e4eeacea6fa61affc57ddae68036250d0ef76cc",invalid:this.invalid,readonly:this.readonly,disabled:this.disabled,ref:function(i){return t.referenceEl=i}},e("bal-input-date",Object.assign({key:"311169f2038c5548cb4a1c182c0fb8a61e404fbb",name:this.name,required:this.required,placeholder:this.placeholder,value:this.value,min:this.min,max:this.max,invalid:this.invalid,readonly:this.readonly,disabled:this.disabled,allowInvalidValue:this.allowInvalidValue,autocomplete:this.autocomplete,onClick:this.onInputClick,onBalInput:this.onInputInput,onBalChange:this.onInputChange,onBalFocus:this.onInputFocus,onBalBlur:this.onInputBlur,onBalKeyPress:this.onKeyPress,ref:function(i){return t.inputEl=i}},this.inheritedAttributes)),!this.freeSolo?e("bal-icon",{name:"date",role:"button",tabindex:-1,class:Object.assign(Object.assign({},n.class()),n.modifier("clickable").class(!this.disabled&&!this.readonly)),"is-right":true,color:this.disabled||this.readonly?"grey":this.invalid?"danger":"primary",onClick:this.onIconClick,"aria-label":h[this.language].toggleDatepicker,"aria-haspopup":"true","aria-expanded":this.isExpanded?"true":"false"}):""),e("div",{key:"65512ad855b4c33fc85ea703129b5b4af777216a",role:"dialog",class:Object.assign(Object.assign({},s.class()),s.modifier("visible").class(this.isExpanded)),ref:function(i){return t.floatingEl=i},"aria-hidden":"".concat(this.isExpanded!==true),"aria-presented":"".concat(this.isExpanded===true)},e("bal-date-calendar",{key:"229c68237b8a13335448e5a3f940065535bff2a4",value:this.calendarValue,min:this.min,max:this.max,minYearProp:this.minYearProp,maxYearProp:this.maxYearProp,defaultDate:this.defaultDate,allowedDates:this.allowedDates,onBalChange:this.onCalendarChange})))};Object.defineProperty(t.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueChanged"],debounce:["debounceChanged"]}},enumerable:false,configurable:true});return t}());a([f("bal-date"),u("design:type",Function),u("design:paramtypes",[Function]),u("design:returntype",void 0)],j.prototype,"createLogger",null);a([m(),u("design:type",Function),u("design:paramtypes",[Object]),u("design:returntype",Promise)],j.prototype,"configChanged",null);var x=0;j.style=g}}}));
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,i,n,e){function r(t){return t instanceof n?t:new n((function(i){i(t)}))}return new(n||(n=Promise))((function(n,s){function u(t){try{f(e.next(t))}catch(t){s(t)}}function a(t){try{f(e["throw"](t))}catch(t){s(t)}}function f(t){t.done?n(t.value):r(t.value).then(u,a)}f((e=e.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},e,r,s,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(i){return f([t,i])}}function f(a){if(e)throw new TypeError("Generator is already executing.");while(u&&(u=0,a[0]&&(n=0)),n)try{if(e=1,r&&(s=a[0]&2?r["return"]:a[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,a[1])).done)return s;if(r=0,s)a=[a[0]&2,s.value];switch(a[0]){case 0:case 1:s=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;r=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(s=n.trys,s=s.length>0&&s[s.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!s||a[1]>s[0]&&a[1]<s[3])){n.label=a[1];break}if(a[0]===6&&n.label<s[1]){n.label=s[1];s=a;break}if(s&&n.label<s[2]){n.label=s[2];n.ops.push(a);break}if(s[2])n.ops.pop();n.trys.pop();continue}a=i.call(t,n)}catch(t){a=[6,t];r=0}finally{e=s=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,i,n){if(n||arguments.length===2)for(var e=0,r=i.length,s;e<r;e++){if(s||!(e in i)){if(!s)s=Array.prototype.slice.call(i,0,e);s[e]=i[e]}}return t.concat(s||Array.prototype.slice.call(i))};System.register(["./p-7961e095.system.js","./p-6dbef894.system.js","./p-980e4b57.system.js","./p-5cd2674f.system.js","./p-8949aa8b.system.js","./p-2f1fbb48.system.js","./p-db0895e2.system.js","./p-6e5745c8.system.js","./p-23bdd8dc.system.js","./p-6913b916.system.js","./p-ba579059.system.js","./p-056b22a7.system.js","./p-0f37a65c.system.js","./p-130a16ee.system.js","./p-a1f6e944.system.js","./p-ef3bfa9f.system.js","./p-2880433e.system.js"],(function(t){"use strict";var i,n,e,r,s,u,a,f,o,c,h,l,d,b,v,p,y,m,_,g,j,w,k,x,F,O,A,C,I,K,P,S,T,V;return{setters:[function(t){i=t.r;n=t.c;e=t.h;r=t.H;s=t.g},function(t){u=t._;a=t.a},function(t){f=t.f;o=t.i;c=t.a;h=t.b;l=t.e;d=t.k;b=t.l;v=t.s;p=t.h;y=t.j;m=t.c;_=t.d},function(t){g=t.p},function(t){j=t.i},function(t){w=t.g;k=t.a;x=t.b;F=t.f},function(t){O=t.B},function(t){A=t.d},function(t){C=t.L},function(t){I=t.l},function(t){K=t.N;P=t.A},function(t){S=t.i},function(t){T=t.d},function(t){V=t.L},function(){},function(){},function(){}],execute:function(){var B="[object Number]";var E=Object.prototype;var G=E.toString;function q(t){return!!t&&typeof t=="object"}function z(t){return D(t)&&t!=+t}function D(t){return typeof t=="number"||q(t)&&G.call(t)==B}var L=z;function N(t){return typeof t==="string"&&x()!=="."}function H(t){var i=parseFloat(t);return typeof i==="number"&&!L(i)}function J(t){return!H(t)&&t!==""&&t!==w()&&t!==k()}function M(t,i){if(i===void 0){i=0}var n=t;if(n===""||n===undefined||n===null||L(n)||n===w()||n===k()||!H(n)){return undefined}if(N(n)){n=n.split(x()).join("").split("`").join("").split("'").join("")}return i===0?parseInt(n,10):parseFloat(n)}function Q(t,i){if(i===void 0){i=0}var n=t;if(I(n)){return""}if(N(n)){n=n.split(x()).join("").split("`").join("").split("'").join("")}if(n.charAt(0)===k()){n="0".concat(n)}var e=i===0?parseInt(n,10):parseFloat(n.replace(k(),"."));return L(e)?"":e.toFixed(i)}function R(t){return t.replace(".",k())}function U(t,i,n){if(i===void 0){i=0}if(n===void 0){n=""}if(I(t)){return""}if(t.charAt(0)===k()){t="0".concat(t)}var e=i===0?parseInt(t,10):parseFloat(t);var r=n!==""?" ".concat(n.trim()):"";return L(e)?"":F(e,i)+r}var W=function(t){return(t.split(k())||[]).length-1||0};function X(t){var i=t.key,n=t.ctrlKey,e=t.metaKey,r=t.selectionStart,s=t.selectionEnd,u=t.newValue,a=t.decimal;if(["a","c","v"].includes(i)&&(n||e)){return true}if(i===w()&&r&&r>0&&s&&s>0){return false}if(i===k()){if(a===0){return false}else if(W(u)>1){return false}}if(!__spreadArray(__spreadArray(__spreadArray([],K,true),P,true),[k(),w()],false).includes(i)){return false}if(a!==0&&u.includes(k())&&__spreadArray([],K,true).includes(i)){var f=u.split(k());var o=f[f.length-1];if(o.length>a){return false}}return true}var Y=".bal-number-input{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;position:relative;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;width:100%;padding:0;font-family:var(--bal-font-family-text)}";var Z=Y;var $=t("bal_number_input",function(){function t(t){var e=this;i(this,t);this.balInput=n(this,"balInput",7);this.balChange=n(this,"balChange",7);this.balBlur=n(this,"balBlur",7);this.balFocus=n(this,"balFocus",7);this.balKeyPress=n(this,"balKeyPress",7);this.inputId="bal-number-input-".concat(tt++);this.inheritedAttributes={};this.lastValue="";this.inputValue=this.value;this.initialValue=undefined;this.onClick=function(t){return f(e,t)};this.handleClick=function(t){return o(e,t)};this.onInput=function(t){var i;if(e.nativeInput){if(J(e.nativeInput.value)){e.nativeInputValue=e.lastValue||"";return}}e.lastValue=((i=e.nativeInput)===null||i===void 0?void 0:i.value)||"";e.balInput.emit(M(e.lastValue,e.decimal))};this.onFocus=function(t){c(e,t);if(e.nativeInput){e.nativeInputValue=R(e.lastValue||"");clearTimeout(e.selectTimeout);e.selectTimeout=setTimeout((function(){return e.nativeInput.select()}))}};this.onBlur=function(t){h(e,t);if(e.nativeInput){e.lastValue=Q(e.lastValueGetter,e.decimal);e.nativeInputValue=U(e.lastValueGetter,e.decimal,e.suffix);e.nativeInput.value=e.nativeInputValue}e.inputValue=M(e.lastValueGetter,e.decimal);l(e)};this.onKeydown=function(t){var i=d(e);var n=b(e,t);var r=t===null||t===void 0?void 0:t.target;if(r&&!X({key:t.key,ctrlKey:t.ctrlKey,metaKey:t.metaKey,decimal:e.decimal,newValue:n,oldValue:i,selectionStart:r.selectionStart,selectionEnd:r.selectionEnd})){return v(t)}};this.focused=false;this.language=T.language;this.region=T.region;this.ariaForm=A;this.nativeInputValue="";this.inputPattern=this.createPattern();this.name=this.inputId;this.invalid=false;this.decimal=0;this.suffix=undefined;this.pattern=undefined;this.placeholder=undefined;this.required=false;this.disabled=false;this.readonly=false;this.exactNumber=false;this.max=undefined;this.min=undefined;this.debounce=0;this.value=undefined;this.autoInvalidOff=false}t.prototype.createLogger=function(t){this.log=t};t.prototype.debounceChanged=function(){this.balChange=g(this.balChange,this.debounce)};t.prototype.valueChanged=function(t,i){if(t!==i){var n=t===""||I(t)||L(t);var e=this.exactNumber?"0":"";var r=n?e:t.toString();this.inputValue=M(Q(r,this.decimal),this.decimal);this.lastValue=Q(r,this.decimal);if(this.focused){this.nativeInputValue=R(this.lastValue)}else{this.nativeInputValue=U(this.lastValue,this.decimal,this.suffix)}}};t.prototype.connectedCallback=function(){this.debounceChanged();this.initialValue=this.value||0;if(this.value!==undefined){this.valueChanged(this.value,undefined)}};t.prototype.componentDidLoad=function(){this.inputValue=this.value};t.prototype.componentWillLoad=function(){this.inheritedAttributes=j(this.el,["aria-label","tabindex","title"])};t.prototype.listenOnClick=function(t){p(this,t)};t.prototype.resetHandler=function(t){var i=t.target;if(i===null||i===void 0?void 0:i.contains(this.el)){y(this,this.initialValue,this.resetHandlerTimer)}};t.prototype.configChanged=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.language=t.language;this.region=t.region;this.inputPattern=this.createPattern();if(this.nativeInput){if(this.focused){this.nativeInputValue=R(this.lastValue)}else{this.nativeInputValue=U(this.lastValue,this.decimal,this.suffix)}}return[2]}))}))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){m(this);return[2]}))}))};t.prototype.setBlur=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){_(this);return[2]}))}))};t.prototype.getInputElement=function(){return Promise.resolve(this.nativeInput)};t.prototype.setAriaForm=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.ariaForm=Object.assign({},t);return[2]}))}))};t.prototype.createPattern=function(){if(this.pattern){return this.pattern}var t=this.suffix||"";if(t!==""){t=" ".concat(t)}var i=x();var n=k();if(n===","){n="\\,"}return"-?\\d{1,3}(?:".concat(i,"\\d{3})*(?:\\").concat(n,"\\d{1,2})?(?:").concat(t,")?")};Object.defineProperty(t.prototype,"lastValueGetter",{get:function(){if(this.exactNumber&&(I(this.lastValue)||S(this.lastValue))){return"0"}return this.lastValue},enumerable:false,configurable:true});t.prototype.render=function(){var t=this;var i=O.block("number-input");return e(r,{key:"6c70b82d9eb15c47fc4aee5246819c0a4fecc7fb",onClick:this.handleClick,"aria-disabled":this.disabled?"true":null,class:Object.assign({},i.class())},e("input",Object.assign({key:"254dee1b9cb3c99f10e0c4b835e69552314ed6c4",class:{input:true,"is-disabled":this.disabled||this.readonly,"is-danger":this.invalid},"data-testid":"bal-number-input",ref:function(i){return t.nativeInput=i},id:this.ariaForm.controlId||this.inputId,"aria-labelledby":this.ariaForm.labelId,"aria-describedby":this.ariaForm.messageId,"aria-invalid":this.invalid===true?"true":"false","aria-disabled":this.disabled?"true":null,name:this.name,disabled:this.disabled,placeholder:this.placeholder||"",readonly:this.readonly,required:this.required,pattern:this.inputPattern,min:this.min,max:this.max,value:this.nativeInputValue,onInput:function(i){return t.onInput(i)},onFocus:function(i){return t.onFocus(i)},onBlur:function(i){return t.onBlur(i)},onClick:this.onClick,onKeyDown:function(i){return t.onKeydown(i)},onKeyPress:function(i){return t.balKeyPress.emit(i)}},this.inheritedAttributes)))};Object.defineProperty(t.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{debounce:["debounceChanged"],value:["valueChanged"]}},enumerable:false,configurable:true});return t}());u([C("bal-number-input"),a("design:type",Function),a("design:paramtypes",[Function]),a("design:returntype",void 0)],$.prototype,"createLogger",null);u([V(),a("design:type",Function),a("design:paramtypes",[Object]),a("design:returntype",Promise)],$.prototype,"configChanged",null);var tt=0;$.style=Z}}}));
@@ -1 +0,0 @@
1
- import{h as t}from"./p-2ccbe55a.js";import{j as i,k as s,l as e,r as n,o as h}from"./p-ef6a64f4.js";import{B as r}from"./p-ae86d0a0.js";import{s as o}from"./p-e3e1d211.js";import{j as a}from"./p-dc98854c.js";const l=t=>"string"==typeof t?t.replace(/([a-z])([0-9])/g,"$1-$2").replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase():"",c=t=>parseInt(t.slice(0,-2),10),d=(t,i=16)=>{if("undefined"==typeof window||void 0===t)return{top:i,right:i,bottom:i,left:i};const s=window.getComputedStyle(t);return{top:c(s.getPropertyValue("padding-top")),right:c(s.getPropertyValue("padding-right")),bottom:c(s.getPropertyValue("padding-bottom")),left:c(s.getPropertyValue("padding-left"))}},u=t=>{if("undefined"==typeof window)return t.clientWidth;const i=window.getComputedStyle(t),s=i.getPropertyValue("box-sizing"),e=c(i.getPropertyValue("width"));if("border-box"===s)return e;const n=c(i.getPropertyValue("padding-right"));return c(i.getPropertyValue("padding-left"))+e+n},f=t=>{const i=Array.from(t.children);let s=0;for(const t of i)s=Math.max(s,t.offsetLeft+t.offsetWidth);return s},b={de:{left:"vorherige",right:"nächste"},en:{left:"previous",right:"next"},fr:{left:"précédent",right:"suivant"},it:{left:"precedente",right:"successivo"},nl:{left:"vorige",right:"volgende"},es:{left:"anterior",right:"siguiente"},pl:{left:"poprzedni",right:"następny"},pt:{left:"anterior",right:"próximo"},sv:{left:"föregående",right:"nästa"},fi:{left:"edellinen",right:"seuraava"}},g=({isFirst:i,isLast:s,inverted:e,leftControlTitle:n,rightControlTitle:h,containerId:o,onNextClick:a,onPreviousClick:l})=>{const c=r.block("swiper").element("controls"),d=c.element("button");return t("div",{class:Object.assign(Object.assign({},c.class()),c.modifier("small").class())},t("bal-button",{class:Object.assign(Object.assign(Object.assign({},d.class()),d.modifier("left").class()),d.modifier("hidden").class(i)),"aria-controls":o,square:!0,size:"small",icon:"nav-go-left",rounded:!0,inverted:e,onClick:()=>l(),disabled:i,tabindex:"-1","data-testid":"bal-carousel-control-left",title:n}),t("bal-button",{class:Object.assign(Object.assign(Object.assign({},d.class()),d.modifier("right").class()),d.modifier("hidden").class(s)),"aria-controls":o,square:!0,size:"small",icon:"nav-go-right",rounded:!0,inverted:e,onClick:()=>a(),disabled:s,tabindex:"-1","data-testid":"bal-carousel-control-right",title:h}))},w=({isFirst:i,isLast:s,inverted:e,areControlsHidden:n,onNextClick:h,onPreviousClick:o,containerId:a,leftControlTitle:l,rightControlTitle:c})=>{const d=r.block("swiper").element("controls"),u=d.element("button");return t("div",{"data-mutation":"false",class:Object.assign(Object.assign({},d.class()),d.modifier("large").class())},t("bal-button",{class:Object.assign(Object.assign(Object.assign({},u.class()),u.modifier("left").class()),u.modifier("hidden").class(i&&n)),"aria-controls":a,square:!0,icon:"nav-go-left",rounded:!0,inverted:e,onClick:()=>o(),tabindex:-1,disabled:i,"aria-hidden":i&&n?"true":null,"data-testid":"bal-carousel-control-left",title:l}),t("bal-button",{class:Object.assign(Object.assign(Object.assign({},u.class()),u.modifier("right").class()),u.modifier("hidden").class(s&&n)),"aria-controls":a,square:!0,icon:"nav-go-right",rounded:!0,inverted:e,onClick:()=>h(),tabindex:-1,disabled:s,"aria-hidden":s&&n?"true":null,"data-testid":"bal-carousel-control-right",title:c}))},p=({value:i,items:s,containerId:e,onControlChange:n})=>{const h=r.block("swiper").element("controls");return t("div",{class:Object.assign(Object.assign({},h.class()),h.modifier("dots").class())},t("bal-pagination",{"aria-controls":e,interface:"small",value:i+1,totalPages:s.length,onBalChange:t=>{let i=t.detail-1;i<0&&(i=0),i>=s.length&&(i=s.length-1),n(s[i])}}))};class v{constructor(){this.previousTransformValue=0,this.active=!0,this.id="bal-swiper-"+m++,this.containerId=`${this.id}-container`,this.index=0,this.gapSize=0,this.steps=1,this.noNeedForControls=!0,this.isLastSlideVisible=!1,this.itemsPerView=1,this.controls="none",this.keyboardMode=!1,this.shiftMode=!1,this.isInsideContainer=!1,this.focusByKey=!1,this.pointerDown=()=>{this.keyboardMode=!1,this.shiftMode=!1,this.focusByKey=!1,this.isInsideContainer=!1},this.listenToKeyDown=t=>{this.keyboardMode=a(t),this.shiftMode=t.shiftKey,this.focusByKey=!1,this.isInsideContainer=i(this.containerEl,t.target),this.active&&"dots"!==this.controls&&"tabs"!==this.controls&&this.isInsideContainer&&this.keyboardMode&&(this.shiftMode&&this.index>0?(this.focusByKey=!0,this.focusPreviousItem(t)):!this.shiftMode&&this.index<this.lastIndex()&&(this.focusByKey=!0,this.focusNextItem(t)))},this.updateFocus=()=>{this.active&&"dots"!==this.controls&&"tabs"!==this.controls&&this.focusByKey&&!this.isInsideContainer&&this.focusItem(this.shiftMode?this.lastIndex():0)},this.cssBlock=r.block("swiper"),this.cssSwiper=()=>Object.assign({},this.cssBlock.class(this.active)),this.cssInnerSwiper=()=>Object.assign(Object.assign(Object.assign(Object.assign({},this.cssBlock.element("inner").class(this.active)),this.cssBlock.element("inner").modifier(`items-per-view-${this.itemsPerView}`).class(this.active)),this.cssBlock.element("inner").modifier("shadow-left").class(this.hasShadowLeft())),this.cssBlock.element("inner").modifier("shadow-right").class(this.hasShadowRight())),this.cssSwiperContainer=()=>Object.assign({},this.cssBlock.element("container").class(this.active)),this.notifyChange=s((()=>this.notifyChangeInternal()),100),this.onControlChange=t=>{t!==this.index&&(t>this.index?this.next(t-this.index):this.previous(this.index-t))},this.onPreviousButtonClick=()=>this.previous(),this.onNextButtonClick=()=>this.next()}connectedCallback(t){this.component=t,e(window,"keydown",this.listenToKeyDown),e(this.component.el,"focusin",this.updateFocus),e(window,"touchstart",this.pointerDown),e(window,"mousedown",this.pointerDown)}disconnectedCallback(){n(window,"keydown",this.listenToKeyDown),n(this.component.el,"focusin",this.updateFocus),n(window,"touchstart",this.pointerDown),n(window,"mousedown",this.pointerDown)}isActive(){return this.active}async activate(){this.active=!0}async disable(){this.active=!1}async focusItem(t){const i=await this.goTo(t);i&&i.el&&await this.setFocusToEl(i.el)}async focusNextItem(t){const i=await this.next(1);i&&i.el&&(o(t),await this.setFocusToEl(i.el))}async focusPreviousItem(t){const i=await this.previous(1);i&&i.el&&(o(t),await this.setFocusToEl(i.el))}async setFocusToEl(t){t.setFocus&&await t.setFocus()}isFirst(){return 0===this.index}hasShadowLeft(){return this.hasShadow()&&0!==this.index&&this.active}hasShadowRight(){return this.hasShadow()&&!this.isLastSlideVisible&&this.active}isLast(){return this.isLastSlideVisible}async previous(t=this.steps){let i=this.index-t;return i<0&&(i=0),this.goTo(i)}async next(t=this.steps){const i=this.component.swiperGetAllChildrenElements().length;let s=this.index+t;return s>=i&&(s=i-1),this.goTo(s)}async updateIndex(t=this.index){this.index!==t&&(this.goTo(t),this.index=t,this.component.swiperOnChange(this.index))}async goTo(t=this.index){if(this.active){const i=await this.buildSlide(t);return i&&(await this.animate(i.transformActive,!0)||this.index!==t)&&(this.index=t,this.component.swiperOnChange(this.index)),i}}renderControls(){if(!this.active||this.noNeedForControls||!this.component.hasAnimated)return"";const i=b[this.component.language].left,s=b[this.component.language].right;switch(this.controls){case"small":return t(g,{isFirst:this.isFirst(),isLast:this.isLast(),inverted:this.component.inverted,leftControlTitle:i,rightControlTitle:s,containerId:this.containerId,onNextClick:()=>this.onNextButtonClick(),onPreviousClick:()=>this.onPreviousButtonClick()});case"large":return t(w,{isFirst:this.isFirst(),isLast:this.isLast(),inverted:this.component.inverted,areControlsHidden:!this.component.isMobile,leftControlTitle:i,rightControlTitle:s,containerId:this.containerId,onNextClick:()=>this.onNextButtonClick(),onPreviousClick:()=>this.onPreviousButtonClick()});case"dots":return t(p,{value:this.index,items:this.getAllControlItems(),containerId:this.containerId,onControlChange:t=>this.onControlChange(t.value)});default:return""}}getAllControlItems(){return this.component.swiperGetAllChildrenElements().map(((t,i)=>({value:i,label:t.label})))}lastIndex(){return this.component.swiperGetAllChildrenElements().length-1}hasShadow(){return!this.component.inverted&&("auto"===this.itemsPerView||this.itemsPerView>1)}async notifyChangeInternal(){const t=await this.buildSlide(this.index);t&&this.animate(t.transformActive,!1)}async buildSlide(t){const i=this.component.swiperGetAllChildrenElements(),s=void 0===t?this.lastIndex():t;if(i.length>s&&s>=0){const t=this.gapSize,e=i.filter(((t,i)=>i<s+1)).reduce(((i,s)=>i+u(s)+t),0),n=i.filter(((t,i)=>i<s)).reduce(((i,s)=>i+u(s)+t),0);return{el:i[s],transformNext:e,transformActive:n,isFirst:0===s,isLast:s===this.lastIndex(),total:this.lastIndex()+1,index:s}}}async animate(t=0,i=!0){return new Promise((s=>{void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.currentRaf=h((async()=>{if(this.containerEl&&this.innerEl){const e=await this.buildSlide();if(e){const n=e.transformNext||0,h=this.innerEl.clientWidth||0;if(0===n||0===h)return s(!1);let r=n-h;3===this.itemsPerView&&(r=n-h-1);const o=r<=t,a=0===t||r<=2;a&&(this.index=0);const l="small"===this.controls,c="large"===this.controls;this.noNeedForControls=n<=h;let d=this.noNeedForControls?0:o?r:t;a||this.noNeedForControls||!(l||c&&!this.component.isMobile)||(d-=o?0:c?56:48),this.containerEl.style.transitionDuration=i?"0.6s":"0",this.containerEl.style.transform=`translate3d(-${d}px, 0px, 0px)`;const u=d!==this.previousTransformValue;return this.previousTransformValue=d,this.isLastSlideVisible=o,this.borderEl&&(this.borderEl.style.transitionDuration=i?"0.6s":"0",this.borderEl.style.transform=`translate3d(${d}px, 0px, 0px)`),this.component.hasAnimated=!0,s(!!u)}}}))}))}}let m=0;export{v as S,f as a,d as g,l as t}
@@ -1 +0,0 @@
1
- System.register(["./p-7961e095.system.js"],(function(t){"use strict";var e,i,r,n;return{setters:[function(t){e=t.r;i=t.h;r=t.H;n=t.g}],execute:function(){var o=t("bal_form_col",function(){function t(t){e(this,t);this.colClass="col";this.size="full"}t.prototype.render=function(){var t;return i(r,{key:"dcfd707ec14153525343b28de33215360552d67d",class:(t={},t["".concat(this.colClass)]=true,t["py-none"]=true,t["touch:is-12"]=true,t["is-12"]=this.size==="full"||this.size==="fullwidth"||this.size===undefined,t["is-6"]=this.size==="half",t["is-4"]=this.size==="one-third",t["is-8"]=this.size==="two-thirds",t["is-3"]=this.size==="one-quarter",t["is-9"]=this.size==="three-quarters",t)},i("slot",{key:"eb9686534cb834601ec756657e8576dc0aaac9b4"}))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());var c=".bal-form-grid{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 1024px){.bal-form-grid{-ms-flex-direction:row;flex-direction:row}}.bal-form-grid.columns{margin-top:0 !important;margin-bottom:0 !important}";var s=c;var f=t("bal_form_grid",function(){function t(t){e(this,t)}t.prototype.render=function(){return i(r,{key:"35f3c7ca48f2c64d89c90909bca5894d6f578e64",class:"bal-form-grid grid is-multiline my-none py-none"},i("slot",{key:"dde03d5928d665ada0f41230ff6c01e8f20c1dd1"}))};return t}());f.style=s}}}));
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,a){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function i(e){try{l(a.next(e))}catch(e){n(e)}}function s(e){try{l(a["throw"](e))}catch(e){n(e)}}function l(e){e.done?r(e.value):o(e.value).then(i,s)}l((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},a,o,n,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return l([e,t])}}function l(s){if(a)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(r=0)),r)try{if(a=1,o&&(n=s[0]&2?o["return"]:s[0]?o["throw"]||((n=o["return"])&&n.call(o),0):o.next)&&!(n=n.call(o,s[1])).done)return n;if(o=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;o=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){r.label=s[1];break}if(s[0]===6&&r.label<n[1]){r.label=n[1];n=s;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(s);break}if(n[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];o=0}finally{a=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-7961e095.system.js","./p-6dbef894.system.js","./p-db0895e2.system.js","./p-187f98a1.system.js","./p-de59bd37.system.js","./p-980e4b57.system.js","./p-652816cc.system.js","./p-95055e88.system.js","./p-b63742f3.system.js","./p-3bf02fb8.system.js","./p-a5964c8a.system.js","./p-0f37a65c.system.js","./p-e60e0c65.system.js","./p-130a16ee.system.js","./p-5cd2674f.system.js","./p-8949aa8b.system.js","./p-4e642b63.system.js","./p-eecefb0a.system.js","./p-a1f6e944.system.js","./p-b1c18bf1.system.js","./p-ec9a7cf5.system.js","./p-d1847366.system.js","./p-23bdd8dc.system.js","./p-ef3bfa9f.system.js"],(function(e){"use strict";var t,r,a,o,n,i,s,l,c,u,b,d,h,p,f,m,_,g,v,w,y,k,x;return{setters:[function(e){t=e.h;r=e.r;a=e.c;o=e.H;n=e.g},function(e){i=e._;s=e.a},function(e){l=e.B},function(e){c=e.a},function(e){u=e.t;b=e.S},function(e){d=e.s},function(e){h=e.L},function(e){p=e.L},function(e){f=e.L},function(e){m=e.L},function(e){_=e.b},function(e){g=e.d},function(e){v=e.L},function(e){w=e.L},function(e){y=e.m;k=e.b},function(e){x=e.i},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var j=function(e){var r=e.value,a=e.items,o=e.containerId,n=e.onControlChange;var i=l.block("carousel");var s=i.element("controls");return t("div",{class:Object.assign(Object.assign({},s.class()),s.modifier("tabs").class())},t("bal-card",null,t("bal-card-content",{role:"tabs"},a.map((function(e){return t("button",{class:{button:true,"is-fullwidth":true,"is-primary":r===e.value,"is-light":r!==e.value},role:"tab","aria-selected":c(r===e.value),"aria-controls":o+"-"+u(e.label),key:e.value,onClick:function(){return n(e)}},e.label)})))))};var O=':root{--bal-carousel-inner-border-background:var(--bal-color-border);--bal-carousel-inner-border-background-inverted:var(--bal-color-border-primary-light);--bal-carousel-inner-shadow-left-background-before:var(--bal-color-white);--bal-carousel-inner-shadow-right-background-after:var(--bal-color-white);--bal-carousel-inner-shadow-left-background-inverted-before:var(--bal-color-primary);--bal-carousel-inner-shadow-right-background-inverted-after:var(--bal-color-primary);--bal-carousel-product-item-button-background:var(--bal-color-white);--bal-carousel-product-item-button-background-green:var(--bal-color-green-1);--bal-carousel-product-item-button-background-green-hover:var(--bal-color-green-1);--bal-carousel-product-item-button-background-green-active:var(--bal-color-green-2);--bal-carousel-product-item-button-background-red:var(--bal-color-red-1);--bal-carousel-product-item-button-background-red-hover:var(--bal-color-red-1);--bal-carousel-product-item-button-background-red-active:var(--bal-color-red-2);--bal-carousel-product-item-button-background-yellow:var(--bal-color-yellow-1);--bal-carousel-product-item-button-background-yellow-hover:var(--bal-color-yellow-1);--bal-carousel-product-item-button-background-yellow-active:var(--bal-color-yellow-2);--bal-carousel-product-item-button-background-purple:var(--bal-color-purple-1);--bal-carousel-product-item-button-background-purple-hover:var(--bal-color-purple-1);--bal-carousel-product-item-button-background-purple-active:var(--bal-color-purple-2);--bal-carousel-inner-border-radius:var(--bal-radius-rounded);--bal-carousel-image-border-radius:var(--bal-radius-normal);--bal-carousel-product-item-button-border-radius:var(--bal-radius-large);--bal-carousel-product-item-button-label-text-color:var(--bal-color-text-primary);--bal-carousel-sticky-top:0}.bal-swiper{position:relative;display:block}.bal-swiper__inner{display:block;position:relative;margin-left:auto;margin-right:auto;overflow:clip;list-style:none;padding:0;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-overflow-scrolling:touch}.bal-swiper__inner--items-per-view-auto .bal-carousel__item{width:auto}.bal-swiper__inner--items-per-view-1 .bal-carousel__item{width:100%}.bal-swiper__inner--items-per-view-2 .bal-carousel__item{width:50%}.bal-swiper__inner--items-per-view-3 .bal-carousel__item{width:33.3333%}.bal-swiper__inner--items-per-view-4 .bal-carousel__item{width:25%}.bal-swiper__container{position:relative;max-width:100%;width:100%;height:100%;display:-ms-flexbox;display:flex;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-duration:0ms;transition-duration:0ms;-webkit-transform:translate3d(0px, 0px, 0px);transform:translate3d(0px, 0px, 0px)}.bal-swiper__controls{width:100%}.bal-swiper__controls--dots{position:relative}@media screen and (max-width: 768px){.bal-swiper__controls--large{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;gap:2rem;margin-top:1rem}}@media screen and (min-width: 769px),print{.bal-swiper__controls--large{position:absolute;top:calc(50% - 1.5rem)}.bal-swiper__controls--large .bal-swiper__controls__button{position:absolute;z-index:7}.bal-swiper__controls--large .bal-swiper__controls__button--left{left:0}.bal-swiper__controls--large .bal-swiper__controls__button--right{right:0}}.bal-swiper__controls__button--hidden{display:none !important;visibility:none !important}.bal-swiper__controls--small{position:absolute;top:calc(50% - 1rem)}.bal-swiper__controls--small .bal-swiper__controls__button{position:absolute;z-index:7}.bal-swiper__controls--small .bal-swiper__controls__button--left{left:0}.bal-swiper__controls--small .bal-swiper__controls__button--right{right:0}.bal-swiper__controls--small .bal-swiper__controls__button--hidden{display:none !important;visibility:hidden !important}.bal-swiper__inner--shadow-left::before,.bal-swiper__inner--shadow-right::after{position:absolute;width:3rem;height:100%;top:0}.bal-swiper__inner--shadow-left::before{content:"";left:0;background:-webkit-gradient(linear, left top, right top, color-stop(50%, var(--bal-carousel-inner-shadow-left-background-before)), to(rgba(255, 255, 255, 0)));background:linear-gradient(90deg, var(--bal-carousel-inner-shadow-left-background-before) 50%, rgba(255, 255, 255, 0) 100%)}.bal-swiper__inner--shadow-right::after{content:"";right:0;background:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50%, var(--bal-carousel-inner-shadow-right-background-after)));background:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-after) 50%)}.bal-swiper__inner--shadow-left.bal-swiper__inner--inverted::before{background:-webkit-gradient(linear, left top, right top, color-stop(50%, var(--bal-carousel-inner-shadow-left-background-inverted-before)), to(rgba(255, 255, 255, 0)));background:linear-gradient(90deg, var(--bal-carousel-inner-shadow-left-background-inverted-before) 50%, rgba(255, 255, 255, 0) 100%)}.bal-swiper__inner--shadow-right.bal-swiper__inner--inverted::after{background:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50%, var(--bal-carousel-inner-shadow-right-background-inverted-after)));background:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-inverted-after) 50%)}.bal-carousel--full-height{height:100%}.bal-carousel__inner--full-height{height:100%}.bal-carousel__inner__container--border{padding-bottom:var(--bal-border-width-normal)}.bal-carousel__inner__container__border{position:absolute;background:var(--bal-carousel-inner-border-background);border-radius:var(--bal-carousel-inner-border-radius);height:var(--bal-border-width-normal);width:100%;bottom:0;-webkit-transform:translate3d(0px, 0px, 0px);transform:translate3d(0px, 0px, 0px)}.bal-carousel__inner__container__border--inverted{background:var(--bal-carousel-inner-border-background-inverted)}.bal-carousel__item{-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;font-size:var(--bal-text-size-large);min-height:2rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;round:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-inverted-after) 50%)}.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:2.5rem}}@media screen and (min-width: 1024px){.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:3rem}}.bal-carousel--card{margin-left:-1rem;margin-right:-1rem}@media screen and (min-width: 769px),print{.bal-carousel--card{margin-left:-2.5rem;margin-right:-2.5rem}}.bal-carousel--card .bal-carousel__controls{padding-left:1rem;padding-right:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__controls{padding-left:2.5rem;padding-right:2.5rem}}.bal-carousel--card .bal-carousel__item{width:100%;padding-top:1rem;padding-bottom:1rem;padding-left:1rem;padding-right:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__item{width:100%;padding-top:2.5rem;padding-bottom:2.5rem;padding-left:2.5rem;padding-right:2.5rem}}.bal-carousel--controls-sticky .bal-carousel__controls--tabs{position:-webkit-sticky;position:sticky;top:var(--bal-carousel-sticky-top);z-index:var(--bal-z-index-sticky)}.bal-carousel__controls--tabs .bal-card{padding:0}.bal-carousel__controls--tabs .bal-card-content{padding:.5rem !important;gap:.5rem;display:-ms-flexbox;display:flex}.bal-carousel__controls--tabs .bal-card-content .bal-button{-ms-flex:1;flex:1}.bal-carousel__controls--tabs .bal-card-content .bal-button .button{padding:.5rem !important}.bal-carousel--image .bal-carousel__inner{border-radius:var(--bal-carousel-image-border-radius)}.bal-carousel--image .bal-carousel__inner--is-1by1{padding-top:100%}.bal-carousel--image .bal-carousel__inner--is-16by9{padding-top:56.25%}.bal-carousel--image .bal-carousel__inner--is-3by2{padding-top:66.66%}.bal-carousel--image .bal-carousel__inner--is-4by3{padding-top:75%}.bal-carousel--image .bal-carousel__inner__container{position:absolute;top:0;left:0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%}.bal-carousel--image .bal-carousel__item{position:relative;-ms-flex:0 0 100%;flex:0 0 100%}.bal-carousel--image .bal-carousel__item>img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-drag:none;user-zoom:fixed}.bal-carousel--product .bal-carousel__inner__container{gap:1rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding-top:1rem;padding-bottom:1rem}@media screen and (min-width: 769px),print{.bal-carousel--product .bal-carousel__inner__container{padding-top:1.5rem;padding-bottom:1.5rem}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__inner__container{padding-top:2rem;padding-bottom:2rem}}.bal-carousel--product .bal-carousel__item{display:-ms-flexbox;display:flex;min-width:10rem;max-width:10rem;height:11rem;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-zoom:fixed;user-drag:none}.bal-carousel--product .bal-carousel__item img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-zoom:fixed;user-drag:none}.bal-carousel--product .bal-carousel__item__button{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;gap:1rem;border-radius:var(--bal-carousel-product-item-button-border-radius);padding:var(--bal-text-size-x-small);border:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none;background:var(--bal-carousel-product-item-button-background)}@media (hover: hover)and (pointer: fine){.bal-carousel--product .bal-carousel__item__button:focus-visible:not(:active){-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-green{background:var(--bal-carousel-product-item-button-background-green)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-green:hover{background:var(--bal-carousel-product-item-button-background-green-hover)}.bal-carousel--product .bal-carousel__item__button--color-green:active{background:var(--bal-carousel-product-item-button-background-green-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-red{background:var(--bal-carousel-product-item-button-background-red)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-red:hover{background:var(--bal-carousel-product-item-button-background-red-hover)}.bal-carousel--product .bal-carousel__item__button--color-red:active{background:var(--bal-carousel-product-item-button-background-red-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-yellow{background:var(--bal-carousel-product-item-button-background-yellow)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-yellow:hover{background:var(--bal-carousel-product-item-button-background-yellow-hover)}.bal-carousel--product .bal-carousel__item__button--color-yellow:active{background:var(--bal-carousel-product-item-button-background-yellow-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-purple{background:var(--bal-carousel-product-item-button-background-purple)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-purple:hover{background:var(--bal-carousel-product-item-button-background-purple-hover)}.bal-carousel--product .bal-carousel__item__button--color-purple:active{background:var(--bal-carousel-product-item-button-background-purple-active)}}.bal-carousel--product .bal-carousel__item__button__image{width:5rem;height:5rem;pointer-events:none}.bal-carousel--product .bal-carousel__item__button__label{font-weight:var(--bal-font-weight-bold);color:var(--bal-carousel-product-item-button-label-text-color);font-size:var(--bal-text-size-normal);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;height:3.5rem;overflow:hidden;line-height:1.15rem;word-break:break-word}';var z=O;var C=e("bal_carousel",function(){function e(e){r(this,e);this.balChange=a(this,"balChange",7);this.swiper=new b;this.swiperIsLastSlideVisible=false;this.mutationObserverActive=true;this.hasAnimated=false;this.isMobile=_.isMobile;this.language=g.language;this.value=0;this.steps=1;this.itemsPerView=1;this.controls="none";this.htmlRole="list";this.controlsOverflow=false;this.inverted=false;this.fullHeight=false;this.aspectRatio="16by9";this.interface="";this.controlsSticky=false;this.scrollY=true;this.border=false}e.prototype.onValueChange=function(){this.swiper.index=this.value};e.prototype.onStepsChange=function(){this.swiper.steps=this.steps};e.prototype.onItemsPerViewChange=function(){this.swiper.itemsPerView=this.itemsPerView};e.prototype.onControlsChange=function(){this.swiper.controls=this.controls};e.prototype.onInterFaceChange=function(){this.swiper.gapSize=this.interface==="product"?16:0};e.prototype.connectedCallback=function(){this.swiper.connectedCallback(this);this.onControlsChange();this.onInterFaceChange();this.onItemsPerViewChange();this.onStepsChange();this.onValueChange()};e.prototype.disconnectedCallback=function(){this.swiper.disconnectedCallback()};e.prototype.blockVerticalScrolling=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(r){if(!this.scrollY&&((t=this.el)===null||t===void 0?void 0:t.contains(e.target))){d(e)}return[2]}))}))};e.prototype.mutationListener=function(){this.swiper.notifyChange()};e.prototype.visibilityListener=function(){this.swiper.notifyChange()};e.prototype.swipeListener=function(e){var t=e.left,r=e.right;if(t){this.next()}else if(r){this.previous()}};e.prototype.breakpointListener=function(e){this.isMobile=e.mobile;this.swiper.notifyChange()};e.prototype.resizeListener=function(){this.swiper.notifyChange()};e.prototype.configChanged=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.language=e.language;return[2]}))}))};e.prototype.previous=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e=this.steps}return __generator(this,(function(t){this.swiper.previous(e);return[2]}))}))};e.prototype.next=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e=this.steps}return __generator(this,(function(t){this.swiper.next(e);return[2]}))}))};e.prototype.getContainerId=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.swiper.containerId]}))}))};e.prototype.swiperGetAllChildrenElements=function(){return Array.from(this.el.querySelectorAll("bal-carousel-item"))};e.prototype.swiperOnChange=function(e){this.value=e;this.balChange.emit(e)};e.prototype.render=function(){var e=this;var r=l.block("carousel");var a=r.element("inner");var n=a.element("container");return t(o,{key:"89263d584f6952e1e8b22c1158ab814f3d8d601e",class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.swiper.cssSwiper()),r.class()),r.modifier(this.interface).class(this.interface!=="")),r.modifier("full-height").class(this.fullHeight)),r.modifier("controls-sticky").class(this.controlsSticky)),r.modifier("controls-tabs").class(this.controls==="tabs"))},this.controls==="tabs"?t(j,{value:this.value,items:this.swiper.getAllControlItems(),containerId:this.swiper.containerId,onControlChange:function(t){return e.swiper.onControlChange(t.value)}}):"",t("div",{key:"fb631d4a11c0e094c65e42fec8742cfe15b0bcf8",class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.swiper.cssInnerSwiper()),a.class()),a.modifier("is-".concat(this.aspectRatio)).class()),a.modifier("inverted").class(this.inverted)),a.modifier("full-height").class(this.fullHeight)),ref:function(t){return e.swiper.innerEl=t}},t("div",{key:"793f837d4e6ae7e636fcf33a523c610e7639423d",id:this.swiper.containerId,role:this.controls==="tabs"?"":"list",class:Object.assign(Object.assign(Object.assign(Object.assign({},this.swiper.cssSwiperContainer()),n.class()),n.modifier("border").class(this.border)),n.modifier("is-".concat(this.aspectRatio)).class()),ref:function(t){return e.swiper.containerEl=t}},t("slot",{key:"7786bb252ef257147b3a9b1f357587710d8d0d21"}),this.border?t("div",{id:"".concat(this.swiper.id,"-border"),"aria-hidden":"true",class:Object.assign(Object.assign({},n.element("border").class()),n.element("border").modifier("inverted").class(this.inverted)),ref:function(t){return e.swiper.borderEl=t}}):"")),this.swiper.renderControls())};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["onValueChange"],steps:["onStepsChange"],itemsPerView:["onItemsPerViewChange"],controls:["onControlsChange"],interface:["onInterFaceChange"]}},enumerable:false,configurable:true});return e}());i([p({tags:["bal-carousel-item"],characterData:false}),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],C.prototype,"mutationListener",null);i([v(),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],C.prototype,"visibilityListener",null);i([f(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",void 0)],C.prototype,"swipeListener",null);i([h(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",void 0)],C.prototype,"breakpointListener",null);i([m(),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],C.prototype,"resizeListener",null);i([w(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",Promise)],C.prototype,"configChanged",null);C.style=z;var F=e("bal_carousel_item",function(){function e(e){var t=this;r(this,e);this.balNavigate=a(this,"balNavigate",7);this.balFocus=a(this,"balFocus",7);this.balBlur=a(this,"balBlur",7);this.imageInheritAttributes={};this.onClick=function(e){if(t.href!==undefined){t.balNavigate.emit(e)}};this.onFocus=function(){t.balFocus.emit()};this.onBlur=function(){t.balBlur.emit()};this.isOnLoadEventDone=false;this.containerId="";this.src=undefined;this.label="";this.htmlRole="listitem";this.elementType="button";this.name=undefined;this.value=undefined;this.href=undefined;this.target="_self";this.rel=undefined;this.download=undefined;this.color=undefined}e.prototype.componentDidLoad=function(){var e=this;y((function(){e.isOnLoadEventDone=true}))};e.prototype.componentWillLoad=function(){this.imageInheritAttributes=x(this.el,["alt"]);this.getContainerId()};e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,k()];case 1:e.sent();if(this.buttonEl){this.buttonEl.focus()}return[2]}}))}))};e.prototype.getContainerId=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(r){switch(r.label){case 0:e=this.el.closest("bal-carousel");t=this;return[4,e.getContainerId()];case 1:t.containerId=r.sent();return[2]}}))}))};e.prototype.render=function(){var e=this;var r=l.block("carousel");var a=r.element("item");var n=!!this.color&&!!this.label;var i=this.el.closest("bal-carousel");var s=i&&i.controls==="tabs"?"tabpanel":"listitem";var c="".concat(this.containerId,"-").concat(u(this.label));if(!n){return t(o,{id:c,role:s,class:Object.assign({},a.class()),"aria-label":this.label},this.isOnLoadEventDone&&this.src!==undefined?t("img",Object.assign({draggable:false,onDragStart:function(){return false},src:this.src},this.imageInheritAttributes)):"",t("slot",null))}var b=a.element("button");var d=b.element("image");var h=b.element("label");var p=this,f=p.elementType,m=p.download,_=p.href,g=p.rel,v=p.target,w=p.name,y=p.value;var k=this.href===undefined?"button":"a";var x=k==="button"?{type:f,name:w,value:y}:{download:m,href:_,rel:g,target:v};return t(o,{id:c,role:s,"aria-label":this.label,class:Object.assign({},a.class())},t(k,Object.assign({},x,{class:Object.assign(Object.assign({},b.class()),b.modifier("color-".concat(this.color)).class()),part:"native",onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,ref:function(t){return e.buttonEl=t}}),this.isOnLoadEventDone&&this.src!==undefined?t("img",Object.assign({class:Object.assign({},d.class()),draggable:false,onDragStart:function(){return false},"aria-hidden":"true",src:this.src},this.imageInheritAttributes)):"",this.label!==undefined?t("span",{class:Object.assign({},h.class())},this.label):"",t("slot",null)))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}())}}}));
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as e,H as r,g as s}from"./p-2ccbe55a.js";import{_ as n,a as o}from"./p-43c9f5e9.js";import{c as a}from"./p-4573c419.js";import{f as h}from"./p-b8da005f.js";import{n as f,p as u}from"./p-ef6a64f4.js";import{i as c}from"./p-dd5e13d1.js";import{s as l,h as p}from"./p-e3e1d211.js";import{B as d}from"./p-ae86d0a0.js";import{d as b}from"./p-f385e205.js";import{i as m}from"./p-ad81b8ea.js";import{L as w}from"./p-b77e3348.js";import{d as g}from"./p-830d9e47.js";import{L as v}from"./p-44e7532c.js";import"./p-46251973.js";import"./p-a65354df.js";var y,j={exports:{}};y=j,function(t){var i,e=1e6,r="[big.js] ",s=r+"Invalid ",n=s+"decimal places",o=s+"rounding mode",a=r+"Division by zero",h={},f=void 0,u=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function c(t,i,e,r){var s=t.c;if(e===f&&(e=t.constructor.RM),0!==e&&1!==e&&2!==e&&3!==e)throw Error(o);if(i<1)r=3===e&&(r||!!s[0])||0===i&&(1===e&&s[0]>=5||2===e&&(s[0]>5||5===s[0]&&(r||s[1]!==f))),s.length=1,r?(t.e=t.e-i+1,s[0]=1):s[0]=t.e=0;else if(i<s.length){if(r=1===e&&s[i]>=5||2===e&&(s[i]>5||5===s[i]&&(r||s[i+1]!==f||1&s[i-1]))||3===e&&(r||!!s[0]),s.length=i,r)for(;++s[--i]>9;)if(s[i]=0,0===i){++t.e,s.unshift(1);break}for(i=s.length;!s[--i];)s.pop()}return t}function l(t,i,e){var r=t.e,s=t.c.join(""),n=s.length;if(i)s=s.charAt(0)+(n>1?"."+s.slice(1):"")+(r<0?"e":"e+")+r;else if(r<0){for(;++r;)s="0"+s;s="0."+s}else if(r>0)if(++r>n)for(r-=n;r--;)s+="0";else r<n&&(s=s.slice(0,r)+"."+s.slice(r));else n>1&&(s=s.charAt(0)+"."+s.slice(1));return t.s<0&&e?"-"+s:s}h.abs=function(){var t=new this.constructor(this);return t.s=1,t},h.cmp=function(t){var i,e=this,r=e.c,s=(t=new e.constructor(t)).c,n=e.s,o=t.s,a=e.e,h=t.e;if(!r[0]||!s[0])return r[0]?n:s[0]?-o:0;if(n!=o)return n;if(i=n<0,a!=h)return a>h^i?1:-1;for(o=(a=r.length)<(h=s.length)?a:h,n=-1;++n<o;)if(r[n]!=s[n])return r[n]>s[n]^i?1:-1;return a==h?0:a>h^i?1:-1},h.div=function(t){var i=this,r=i.constructor,s=i.c,o=(t=new r(t)).c,h=i.s==t.s?1:-1,u=r.DP;if(u!==~~u||u<0||u>e)throw Error(n);if(!o[0])throw Error(a);if(!s[0])return t.s=h,t.c=[t.e=0],t;var l,p,d,b,m,w=o.slice(),g=l=o.length,v=s.length,y=s.slice(0,l),j=y.length,k=t,x=k.c=[],E=0,_=u+(k.e=i.e-t.e)+1;for(k.s=h,h=_<0?0:_,w.unshift(0);j++<l;)y.push(0);do{for(d=0;d<10;d++){if(l!=(j=y.length))b=l>j?1:-1;else for(m=-1,b=0;++m<l;)if(o[m]!=y[m]){b=o[m]>y[m]?1:-1;break}if(!(b<0))break;for(p=j==l?o:w;j;){if(y[--j]<p[j]){for(m=j;m&&!y[--m];)y[m]=9;--y[m],y[j]+=10}y[j]-=p[j]}for(;!y[0];)y.shift()}x[E++]=b?d:++d,y[0]&&b?y[j]=s[g]||0:y=[s[g]]}while((g++<v||y[0]!==f)&&h--);return x[0]||1==E||(x.shift(),k.e--,_--),E>_&&c(k,_,r.RM,y[0]!==f),k},h.eq=function(t){return 0===this.cmp(t)},h.gt=function(t){return this.cmp(t)>0},h.gte=function(t){return this.cmp(t)>-1},h.lt=function(t){return this.cmp(t)<0},h.lte=function(t){return this.cmp(t)<1},h.minus=h.sub=function(t){var i,e,r,s,n=this,o=n.constructor,a=n.s,h=(t=new o(t)).s;if(a!=h)return t.s=-h,n.plus(t);var f=n.c.slice(),u=n.e,c=t.c,l=t.e;if(!f[0]||!c[0])return c[0]?t.s=-h:f[0]?t=new o(n):t.s=1,t;if(a=u-l){for((s=a<0)?(a=-a,r=f):(l=u,r=c),r.reverse(),h=a;h--;)r.push(0);r.reverse()}else for(e=((s=f.length<c.length)?f:c).length,a=h=0;h<e;h++)if(f[h]!=c[h]){s=f[h]<c[h];break}if(s&&(r=f,f=c,c=r,t.s=-t.s),(h=(e=c.length)-(i=f.length))>0)for(;h--;)f[i++]=0;for(h=i;e>a;){if(f[--e]<c[e]){for(i=e;i&&!f[--i];)f[i]=9;--f[i],f[e]+=10}f[e]-=c[e]}for(;0===f[--h];)f.pop();for(;0===f[0];)f.shift(),--l;return f[0]||(t.s=1,f=[l=0]),t.c=f,t.e=l,t},h.mod=function(t){var i,e=this,r=e.constructor,s=e.s,n=(t=new r(t)).s;if(!t.c[0])throw Error(a);return e.s=t.s=1,i=1==t.cmp(e),e.s=s,t.s=n,i?new r(e):(s=r.DP,n=r.RM,r.DP=r.RM=0,e=e.div(t),r.DP=s,r.RM=n,this.minus(e.times(t)))},h.neg=function(){var t=new this.constructor(this);return t.s=-t.s,t},h.plus=h.add=function(t){var i,e,r,s=this,n=s.constructor;if(t=new n(t),s.s!=t.s)return t.s=-t.s,s.minus(t);var o=s.e,a=s.c,h=t.e,f=t.c;if(!a[0]||!f[0])return f[0]||(a[0]?t=new n(s):t.s=s.s),t;if(a=a.slice(),i=o-h){for(i>0?(h=o,r=f):(i=-i,r=a),r.reverse();i--;)r.push(0);r.reverse()}for(a.length-f.length<0&&(r=f,f=a,a=r),i=f.length,e=0;i;a[i]%=10)e=(a[--i]=a[i]+f[i]+e)/10|0;for(e&&(a.unshift(e),++h),i=a.length;0===a[--i];)a.pop();return t.c=a,t.e=h,t},h.pow=function(t){var i=this,e=new i.constructor("1"),r=e,n=t<0;if(t!==~~t||t<-1e6||t>1e6)throw Error(s+"exponent");for(n&&(t=-t);1&t&&(r=r.times(i)),t>>=1;)i=i.times(i);return n?e.div(r):r},h.prec=function(t,i){if(t!==~~t||t<1||t>e)throw Error(s+"precision");return c(new this.constructor(this),t,i)},h.round=function(t,i){if(t===f)t=0;else if(t!==~~t||t<-e||t>e)throw Error(n);return c(new this.constructor(this),t+this.e+1,i)},h.sqrt=function(){var t,i,e,s=this,n=s.constructor,o=s.s,a=s.e,h=new n("0.5");if(!s.c[0])return new n(s);if(o<0)throw Error(r+"No square root");0===(o=Math.sqrt(s+""))||o===1/0?((i=s.c.join("")).length+a&1||(i+="0"),a=((a+1)/2|0)-(a<0||1&a),t=new n(((o=Math.sqrt(i))==1/0?"5e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+a)):t=new n(o+""),a=t.e+(n.DP+=4);do{t=h.times((e=t).plus(s.div(e)))}while(e.c.slice(0,a).join("")!==t.c.slice(0,a).join(""));return c(t,(n.DP-=4)+t.e+1,n.RM)},h.times=h.mul=function(t){var i,e=this,r=e.c,s=(t=new(0,e.constructor)(t)).c,n=r.length,o=s.length,a=e.e,h=t.e;if(t.s=e.s==t.s?1:-1,!r[0]||!s[0])return t.c=[t.e=0],t;for(t.e=a+h,n<o&&(i=r,r=s,s=i,h=n,n=o,o=h),i=new Array(h=n+o);h--;)i[h]=0;for(a=o;a--;){for(o=0,h=n+a;h>a;)o=i[h]+s[a]*r[h-a-1]+o,i[h--]=o%10,o=o/10|0;i[h]=o}for(o?++t.e:i.shift(),a=i.length;!i[--a];)i.pop();return t.c=i,t},h.toExponential=function(t,i){var r=this,s=r.c[0];if(t!==f){if(t!==~~t||t<0||t>e)throw Error(n);for(r=c(new r.constructor(r),++t,i);r.c.length<t;)r.c.push(0)}return l(r,!0,!!s)},h.toFixed=function(t,i){var r=this,s=r.c[0];if(t!==f){if(t!==~~t||t<0||t>e)throw Error(n);for(t=t+(r=c(new r.constructor(r),t+r.e+1,i)).e+1;r.c.length<t;)r.c.push(0)}return l(r,!1,!!s)},h.toJSON=h.toString=function(){var t=this,i=t.constructor;return l(t,t.e<=i.NE||t.e>=i.PE,!!t.c[0])},h.toNumber=function(){var t=Number(l(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(t.toString()))throw Error(r+"Imprecise conversion");return t},h.toPrecision=function(t,i){var r=this,n=r.constructor,o=r.c[0];if(t!==f){if(t!==~~t||t<1||t>e)throw Error(s+"precision");for(r=c(new n(r),t,i);r.c.length<t;)r.c.push(0)}return l(r,t<=r.e||r.e<=n.NE||r.e>=n.PE,!!o)},h.valueOf=function(){var t=this,i=t.constructor;if(!0===i.strict)throw Error(r+"valueOf disallowed");return l(t,t.e<=i.NE||t.e>=i.PE,!0)},(i=function t(){function i(e){var r=this;if(!(r instanceof i))return e===f?t():new i(e);if(e instanceof i)r.s=e.s,r.e=e.e,r.c=e.c.slice();else{if("string"!=typeof e){if(!0===i.strict&&"bigint"!=typeof e)throw TypeError(s+"value");e=0===e&&1/e<0?"-0":String(e)}!function(t,i){var e,r,n;if(!u.test(i))throw Error(s+"number");for(t.s="-"==i.charAt(0)?(i=i.slice(1),-1):1,(e=i.indexOf("."))>-1&&(i=i.replace(".","")),(r=i.search(/e/i))>0?(e<0&&(e=r),e+=+i.slice(r+1),i=i.substring(0,r)):e<0&&(e=i.length),n=i.length,r=0;r<n&&"0"==i.charAt(r);)++r;if(r==n)t.c=[t.e=0];else{for(;n>0&&"0"==i.charAt(--n););for(t.e=e-r-1,t.c=[],e=0;r<=n;)t.c[e++]=+i.charAt(r++)}}(r,e)}r.constructor=i}return i.prototype=h,i.DP=20,i.RM=1,i.NE=-7,i.PE=21,i.strict=!1,i.roundDown=0,i.roundHalfUp=1,i.roundHalfEven=2,i.roundUp=3,i}()).default=i.Big=i,y.exports?y.exports=i:t.Big=i}(a);const k=j.exports,x=class{constructor(e){t(this,e),this.balChange=i(this,"balChange",7),this.balInput=i(this,"balInput",7),this.balIncrease=i(this,"balIncrease",7),this.balDecrease=i(this,"balDecrease",7),this.balFocus=i(this,"balFocus",7),this.balBlur=i(this,"balBlur",7),this.inputId="bal-input-stepper-"+E++,this.inheritedAttributes={},this.decreaseHasFocus=!1,this.increaseHasFocus=!1,this.initialValue=0,this.onFocusDecrease=t=>{this.decreaseHasFocus=!0,this.onFocus(t)},this.onFocusIncrease=t=>{this.increaseHasFocus=!0,this.onFocus(t)},this.onFocus=t=>{l(t),this.balFocus.emit(t.detail)},this.onBlurDecrease=t=>{l(t),this.decreaseHasFocus=!1,f((()=>this.onBlur(t.detail)))},this.onBlurIncrease=t=>{l(t),this.increaseHasFocus=!1,f((()=>this.onBlur(t.detail)))},this.onBlur=t=>{this.decreaseHasFocus||this.increaseHasFocus||this.balBlur.emit(t)},this.focused=!1,this.language=g.language,this.region=g.region,this.ariaForm=b,this.name=this.inputId,this.min=0,this.max=10,this.steps=1,this.disabled=!1,this.readonly=!1,this.invalid=!1,this.debounce=0,this.value=0,this.autoInvalidOff=!1}createLogger(t){this.log=t}debounceChanged(){this.balChange=u(this.balChange,this.debounce)}listenOnClick(t){p(this,t)}resetHandler(t){const i=t.target;(null==i?void 0:i.contains(this.el))&&(this.value=this.initialValue)}connectedCallback(){this.debounceChanged(),this.initialValue=this.value}componentWillLoad(){this.inheritedAttributes=c(this.el,["aria-label","tabindex","title"])}async configChanged(t){this.language=t.language,this.region=t.region}getInputElement(){return Promise.resolve(this.nativeInput)}async setAriaForm(t){this.ariaForm=Object.assign({},t)}increase(){if(!this.disabled&&!this.readonly){const t=new k(this.value).plus(this.steps).toNumber();t<=this.max&&(this.value=t,this.balInput.emit(t),this.balChange.emit(t),this.balIncrease.emit(t))}}decrease(){if(!this.disabled&&!this.readonly){const t=new k(this.value).minus(this.steps).toNumber();t>=this.min&&(this.value=t,this.balInput.emit(t),this.balChange.emit(t),this.balDecrease.emit(t))}}render(){const t=d.block("input-stepper"),i=t.element("input"),s=t.element("inner"),n=s.element("text"),o=m[this.language].increase,a=m[this.language].decrease;return e(r,{key:"dfab36b5eddcafb9735e2f0864ea193dcded0ed0","aria-disabled":this.disabled?"true":null,"aria-focused":this.focused?"true":null,class:Object.assign({},t.class())},e("div",{key:"995012f045bff801123eb570e9e15a325887fe44",class:Object.assign({},s.class())},e("bal-button",{key:"00be7e79c60caca77ec9da3afbbcff9366d62ce2",aria:{title:a,label:a,controls:this.ariaForm.controlId||this.inputId},size:"small",square:!0,"data-testid":"bal-input-stepper-decrease",outlined:!this.invalid,icon:"minus",color:this.invalid?"danger":"info",disabled:this.disabled||this.readonly||this.value<=this.min,onClick:()=>this.decrease(),onBalFocus:t=>this.onFocusDecrease(t),onBalBlur:t=>this.onBlurDecrease(t)}),e("bal-text",{key:"58a83c975658a26b268fdaa01ec5755648232052",space:"none",color:this.disabled||this.readonly?"grey":this.invalid?"danger":"",bold:!0,class:Object.assign({},n.class()),"data-testid":"bal-input-stepper-text"},h(this.value)),e("bal-button",{key:"65067189b64d42fa3b06cb9b128c60b9d68a481d",aria:{title:o,label:o,controls:this.ariaForm.controlId||this.inputId},size:"small","data-testid":"bal-input-stepper-increase",square:!0,outlined:!this.invalid,icon:"plus",color:this.invalid?"danger":"info",disabled:this.disabled||this.readonly||this.value>=this.max,onClick:()=>this.increase(),onBalFocus:t=>this.onFocusIncrease(t),onBalBlur:t=>this.onBlurIncrease(t)})),e("input",Object.assign({key:"609736bcab366e2276240d35c1d39369fa31d066",class:Object.assign({},i.class()),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":this.disabled?"true":null,"data-testid":"bal-input-stepper",type:"text",value:this.value,name:this.name,tabindex:"-1",ref:t=>this.nativeInput=t,readonly:this.readonly,disabled:this.disabled},this.inheritedAttributes)))}get el(){return s(this)}static get watchers(){return{debounce:["debounceChanged"]}}};n([w("bal-input-stepper"),o("design:type",Function),o("design:paramtypes",[Function]),o("design:returntype",void 0)],x.prototype,"createLogger",null),n([v(),o("design:type",Function),o("design:paramtypes",[Object]),o("design:returntype",Promise)],x.prototype,"configChanged",null);let E=0;x.style=".bal-input-stepper{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:static;display:inline-block}.bal-input-stepper__inner{display:-ms-flexbox;display:flex;gap:.25rem;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.bal-input-stepper__inner__text{min-width:3rem;text-align:center}.bal-input-stepper__input{position:absolute;width:0;height:0;left:0;top:0;margin:0;padding:0;opacity:0;outline:0}";export{x as bal_input_stepper}
@@ -1 +0,0 @@
1
- import{r as a,c as o,h as e,H as b,g as c}from"./p-2ccbe55a.js";import{_ as l,a as r}from"./p-43c9f5e9.js";import{j as i,v as d}from"./p-ef6a64f4.js";import{B as h}from"./p-ae86d0a0.js";import{F as t}from"./p-ca119357.js";import{L as k}from"./p-b77e3348.js";import{i as x}from"./p-dd5e13d1.js";import{s}from"./p-e3e1d211.js";import{d as n}from"./p-f385e205.js";import{d as _}from"./p-dc98854c.js";import{L as v}from"./p-4d7c0d39.js";import{L as u}from"./p-ca3bb9ce.js";import"./p-a65354df.js";import"./p-46251973.js";import"./p-acf222fd.js";const g=class{constructor(e){a(this,e),this.balFocus=o(this,"balFocus",7),this.balBlur=o(this,"balBlur",7),this.balChange=o(this,"balChange",7),this.inputId="bal-rb-"+f++,this.inheritedAttributes={},this.keyboardMode=!0,this.onKeypress=a=>{if(_(a)){const o=a.target;if(o.href)return;"INPUT"!==o.nodeName||this.disabled||this.readonly?s(a):(this.toggleChecked(),a.preventDefault())}},this.onClick=a=>{var o;const e=a.target;e.href||("INPUT"===e.nodeName||this.disabled||this.readonly?s(a):(this.toggleChecked(),null===(o=this.nativeInput)||void 0===o||o.focus(),a.preventDefault()))},this.onFocus=a=>{if(this.disabled||this.readonly)return this.focused=!1,s(a);this.balFocus.emit(a),this.keyboardMode&&(this.focused=!0)},this.onBlur=a=>{if(this.disabled||this.readonly)return s(a);this.balBlur.emit(a),this.focused=!1},this.onPointerDown=()=>this.keyboardMode=!1,this.onKeydown=a=>this.keyboardMode=t.includes(a.key),this.checked=!1,this.focused=!1,this.buttonTabindex=void 0,this.ariaForm=n,this.name=this.inputId,this.value=void 0,this.label="",this.invisible=!1,this.labelHidden=!1,this.flat=!1,this.interface="radio",this.disabled=!1,this.readonly=!1,this.required=!1,this.nonSubmit=!1,this.invalid=!1,this.hovered=!1,this.pressed=!1}createLogger(a){this.log=a}connectedCallback(){void 0===this.value&&(this.value=this.inputId);const a=this.radioGroup;(this.radioButton||a)&&this.updateState(),a&&a.addEventListener("balInput",this.updateState),this.el.addEventListener("keydown",this.onKeydown),this.el.addEventListener("touchstart",this.onPointerDown),this.el.addEventListener("mousedown",this.onPointerDown)}componentWillLoad(){this.inheritedAttributes=x(this.el,["aria-label","tabindex","title"])}disconnectedCallback(){const a=this.radioGroup;a&&a.removeEventListener("balInput",this.updateState),this.el.removeEventListener("keydown",this.onKeydown),this.el.removeEventListener("touchstart",this.onPointerDown),this.el.removeEventListener("mousedown",this.onPointerDown)}listenOnClick(a){(this.disabled||this.readonly)&&a.target&&(a.target===this.el||i(this.el,a.target))&&s(a)}async setFocus(a){a.stopPropagation(),a.preventDefault(),this.nativeInput.focus(),this.focused=!0}async setButtonTabindex(a){this.buttonTabindex=this.radioButton?-1:a}async getInputElement(){return Promise.resolve(this.nativeInput)}async getOption(){return this.option}async updateState(){if(this.radioGroup){const a=this.radioGroup.value===this.value;a!==this.checked&&(this.checked=a)}this.radioButton&&(this.buttonTabindex=-1,this.radioButton.setChecked&&this.radioButton.setChecked(this.checked))}async setAriaForm(a){this.ariaForm=Object.assign({},a)}get radioButton(){return this.el.closest("bal-radio-button")}get radioGroup(){return this.el.closest("bal-radio-group")}get option(){return{name:this.name,value:this.value,label:this.label,labelHidden:this.labelHidden,flat:this.flat,interface:this.interface,disabled:this.disabled,readonly:this.readonly,required:this.required,nonSubmit:this.nonSubmit,invisible:this.invisible,invalid:this.invalid}}toggleChecked(){this.checked=!this.checked,this.balChange.emit(this.checked),this.updateState()}render(){const a=h.block("radio-checkbox"),o=a.element("input"),c=a.element("label"),l=c.element("text"),r=this.focused&&-1!==this.buttonTabindex,i="boolean"==typeof this.value?JSON.stringify(this.value):this.value,d=this.inheritedAttributes;void 0!==this.buttonTabindex&&(d.tabIndex=this.buttonTabindex);const t=this.ariaForm.controlId||this.inputId;let k=this.ariaForm.labelId||null;const x=this.labelHidden?"span":"label",s={};return this.labelHidden||(k=`${k||""} ${t}-lbl`.trim(),s.id=`${t}-lbl`,s.htmlFor=t),e(b,{key:"058d9b48247c0989348d58117017753092fa6afa","aria-checked":`${this.checked}`,"aria-disabled":this.disabled?"true":null,"aria-hidden":this.disabled?"true":null,"aria-focused":r?"true":null,class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({"bal-focused":r},a.class()),a.modifier("radio").class()),a.modifier("select-button").class("select-button"===this.interface)),a.modifier("invalid").class(this.invalid)),a.modifier("checked").class(this.checked)),a.modifier("flat").class(this.flat)),a.modifier("disabled").class(this.disabled||this.readonly)),a.modifier("hovered").class(this.hovered)),a.modifier("pressed").class(this.pressed)),a.modifier("invisible").class(this.invisible)),onKeypress:this.onKeypress,onClick:this.onClick},e("input",Object.assign({key:"4c935cb7f8a25f77afaea78b0a8e311166e44067",class:Object.assign(Object.assign({},o.class()),o.modifier("select-button").class("select-button"===this.interface)),"data-testid":"bal-radio-input",type:"radio",id:t,"aria-labelledby":k,"aria-describedby":this.ariaForm.messageId,"aria-invalid":!0===this.invalid?"true":"false","aria-disabled":this.disabled?"true":null,"aria-checked":`${this.checked}`,name:this.name,value:i,checked:this.checked,disabled:this.disabled||this.nonSubmit,readonly:this.readonly,required:this.required,onFocus:this.onFocus,onBlur:this.onBlur,ref:a=>this.nativeInput=a},d)),this.invisible?"":e(x,Object.assign({class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},c.class()),c.modifier("radio").class()),c.modifier("checked").class(this.checked)),c.modifier("hidden").class(this.labelHidden)),c.modifier("flat").class(this.flat))},s,{"data-testid":"bal-radio-label"}),e("span",{class:Object.assign(Object.assign(Object.assign({},l.class()),l.modifier("hidden").class(this.labelHidden)),l.modifier("flat").class(this.flat)),"data-testid":"bal-radio-text"},this.label,e("slot",null))))}get el(){return c(this)}};l([k("bal-radio"),r("design:type",Function),r("design:paramtypes",[Function]),r("design:returntype",void 0)],g.prototype,"createLogger",null);let f=0;g.style='@media (hover: hover)and (pointer: fine){.bal-radio-checkbox.bal-focused .bal-radio-checkbox__input:not(.bal-radio-checkbox__input--select-button)+.bal-radio-checkbox__label::before,.bal-radio-checkbox.bal-focused.bal-radio-checkbox--select-button{-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}:root{--bal-radio-checkbox-symbol-size:1.5rem;--bal-radio-checkbox-symbol-width:calc(0.5rem - 1px);--bal-radio-checkbox-symbol-height:calc(0.875rem - 1px);--bal-radio-checkbox-symbol-left:calc(0.5rem + 1px);--bal-radio-checkbox-symbol-margin-top:0.25rem;--bal-radio-checkbox-label-min-height:1.5rem;--bal-radio-checkbox-select-button-background-hover:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-active:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-checked:var(--bal-color-primary);--bal-radio-checkbox-select-button-background-checked-hover:var(--bal-color-light-blue-5);--bal-radio-checkbox-select-button-background-checked-active:var(--bal-color-primary-6);--bal-radio-checkbox-select-button-background-invalid:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-hover:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-active:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-checked:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-background-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-background-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-background-disabled-hover-active:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-before:var(--bal-color-primary-1);--bal-radio-checkbox-switch-label-background-after:var(--bal-color-primary);--bal-radio-checkbox-switch-label-background-hover-after:var(--bal-color-light-blue-5);--bal-radio-checkbox-switch-label-background-active-after:var(--bal-color-primary-6);--bal-radio-checkbox-switch-label-background-checked-before:var(--bal-color-success-4);--bal-radio-checkbox-switch-label-background-checked-after:var(--bal-color-white);--bal-radio-checkbox-switch-label-background-checked-hover-before:var(--bal-color-success-5);--bal-radio-checkbox-switch-label-background-checked-active-before:var(--bal-color-success-6);--bal-radio-checkbox-switch-label-background-invalid-before:var(--bal-color-danger-1);--bal-radio-checkbox-switch-label-background-invalid-after:var(--bal-color-border-danger);--bal-radio-checkbox-switch-label-background-invalid-hover-after:var(--bal-color-danger-6);--bal-radio-checkbox-switch-label-background-invalid-active-after:var(--bal-color-border-danger);--bal-radio-checkbox-switch-label-background-invalid-checked-before:var(--bal-color-danger-4);--bal-radio-checkbox-switch-label-background-invalid-checked-after:var(--bal-color-white);--bal-radio-checkbox-switch-label-background-invalid-checked-hover-before:var(--bal-color-danger-5);--bal-radio-checkbox-switch-label-background-invalid-checked-active-before:var(--bal-color-danger-6);--bal-radio-checkbox-switch-label-background-disabled-hover-active-before:var(--bal-color-grey-3);--bal-radio-checkbox-switch-label-background-disabled-hover-active-after:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-before:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-after:var(--bal-color-white);--bal-radio-checkbox-button-background:transparent;--bal-radio-checkbox-button-background-checked-green:var(--bal-color-green-1);--bal-radio-checkbox-button-background-checked-purple:var(--bal-color-purple-1);--bal-radio-checkbox-button-background-checked-red:var(--bal-color-red-1);--bal-radio-checkbox-button-background-checked-yellow:var(--bal-color-yellow-1);--bal-radio-checkbox-button-background-disabled:var(--bal-color-grey-1);--bal-radio-checkbox-button-background-hover:var(--bal-color-grey-1);--bal-radio-checkbox-select-button-border-color:var(--bal-color-primary);--bal-radio-checkbox-select-button-border-color-hover:var(--bal-color-light-blue-5);--bal-radio-checkbox-select-button-border-color-active:var(--bal-color-primary-6);--bal-radio-checkbox-select-button-border-color-invalid:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-border-color-invalid-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-border-color-invalid-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-border-color-invalid-checked:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-border-color-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-border-color-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-border-color-disabled-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-select-button-border-color-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-button-border-color-hover:var(--bal-color-border-primary-hovered);--bal-radio-checkbox-button-border-color-active:var(--bal-color-border-primary-pressed);--bal-radio-checkbox-button-border-color-invalid-hover:var(--bal-color-border-danger-hovered);--bal-radio-checkbox-button-border-color-invalid-active:var(--bal-color-border-danger-pressed);--bal-radio-checkbox-button-border-color:var(--bal-color-border);--bal-radio-checkbox-button-border-color-checked:var(--bal-color-border-primary);--bal-radio-checkbox-button-border-color-disabled:var(--bal-color-border-grey-dark);--bal-radio-checkbox-button-border-color-invalid:var(--bal-color-border-danger)}bal-radio .bal-radio-checkbox__label::before,bal-radio .bal-radio-checkbox__label::after{margin-top:0px !important}.bal-radio-checkbox-group{display:inline-block;position:relative;width:100%}.bal-radio-checkbox-group__inner{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:stretch;align-items:stretch;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--bal-space-normal)}.bal-radio-checkbox-group__inner--select-button{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex:1;flex:1;gap:var(--bal-space-x-small)}@media screen and (min-width: 769px),print{.bal-radio-checkbox-group__inner--select-button{-ms-flex-direction:row;flex-direction:row}}.bal-radio-checkbox-group__inner--expanded{-ms-flex-align:stretch;align-items:stretch}.bal-radio-checkbox-group__inner--expanded .bal-radio-checkbox{-ms-flex:1;flex:1}@media screen and (max-width: 768px){.bal-radio-checkbox-group__inner--expanded .bal-radio-checkbox{width:100%}}.bal-radio-checkbox-group__inner--select-button.bal-radio-checkbox-group__inner--vertical{gap:var(--bal-space-x-small)}.bal-radio-checkbox-group__inner--vertical{-ms-flex-direction:column;flex-direction:column;border-radius:var(--bal-radius-normal);gap:0}@media screen and (min-width: 769px),print{.bal-radio-checkbox-group__inner--vertical{-ms-flex-align:start;align-items:flex-start}}@media screen and (max-width: 768px){.bal-radio-checkbox-group__inner--vertical-mobile{-ms-flex-direction:column;flex-direction:column;border-radius:var(--bal-radius-normal);gap:0}}.bal-radio-checkbox{position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;outline:none;min-width:1.5rem;min-height:3rem}.bal-radio-checkbox--flat:not(.bal-radio-checkbox--select-button){min-height:1.5rem}.bal-radio-checkbox__input{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-radio-checkbox--invisible{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-radio-checkbox:not(.bal-radio-checkbox--disabled),.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input,.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input+label,.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input+label>span{cursor:pointer}.bal-radio-checkbox__label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:0;line-height:1.5rem;contain:layout style;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:left;min-height:var(--bal-radio-checkbox-label-min-height);font-family:var(--bal-font-family-text)}.bal-radio-checkbox__label__text{padding-left:2rem;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;padding-top:.25rem;padding-bottom:.25rem}.bal-radio-checkbox__label__text--hidden{padding-left:0;display:none}.bal-radio-checkbox__label__text--flat{padding-top:0;padding-bottom:0}.bal-radio-checkbox__label--flat:not(.bal-radio-checkbox--select-button)::before,.bal-radio-checkbox__label--flat:not(.bal-radio-checkbox--select-button)::after{top:0px !important}.bal-radio-checkbox__label--hidden::before,.bal-radio-checkbox__label--hidden::after{top:0px !important}.bal-radio-checkbox__label::before,.bal-radio-checkbox__label::after{display:inline-block;position:absolute;left:0;top:.25rem;height:var(--bal-radio-checkbox-symbol-size);width:var(--bal-radio-checkbox-symbol-size);background-color:rgba(0,0,0,0);background-position:center;background-repeat:no-repeat;background-size:var(--bal-radio-checkbox-symbol-size) var(--bal-radio-checkbox-symbol-size)}.bal-radio-checkbox__label::before{content:"";border-style:var(--bal-form-field-control-border-style);border-width:2px}.bal-radio-checkbox__label::after{content:none}.bal-radio-checkbox__label--checked::after{content:""}.bal-radio-checkbox__label--radio::before,.bal-radio-checkbox__label--radio::after{border-radius:50%}.bal-radio-checkbox__label--radio::after{left:0;-webkit-transform:scale(0.25);transform:scale(0.25)}.bal-radio-checkbox__label--checkbox::before{border-radius:var(--bal-form-field-control-radius)}.bal-radio-checkbox__label--checkbox::after{border-top:0;border-right-style:var(--bal-form-field-control-border-style);border-right-width:2px;border-bottom-style:var(--bal-form-field-control-border-style);border-bottom-width:2px;border-left:0;border-radius:1px;width:var(--bal-radio-checkbox-symbol-width);height:var(--bal-radio-checkbox-symbol-height);left:var(--bal-radio-checkbox-symbol-left);margin-top:var(--bal-radio-checkbox-symbol-margin-top);-webkit-transform:rotate(45deg);transform:rotate(45deg)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-primary);background:var(--bal-color-transparent)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-light-blue-5);background:var(--bal-color-grey-2)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-blue-6);background:var(--bal-color-grey-2)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-border-danger);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-danger-5);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-danger-6);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-border-grey-dark);background:var(--bal-color-grey-2)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-primary)}.bal-radio-checkbox:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-light-blue-5)}.bal-radio-checkbox:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-blue-6)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-danger-6)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-text-grey)}.bal-radio-checkbox--inline{display:inline}.bal-radio-checkbox--select-button{padding-left:.75rem;padding-right:.75rem;min-width:3rem;border-width:2px;border-style:var(--bal-form-field-control-border-style);border-radius:var(--bal-form-field-control-radius);border-color:var(--bal-radio-checkbox-select-button-border-color)}.bal-radio-checkbox--select-button:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-hover);background:var(--bal-radio-checkbox-select-button-background-hover)}.bal-radio-checkbox--select-button:active{border-color:var(--bal-radio-checkbox-select-button-border-color-active);background:var(--bal-radio-checkbox-select-button-background-active)}.bal-radio-checkbox--select-button label::before{top:unset}.bal-radio-checkbox--select-button label::after{top:unset;margin-top:-3px}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat::before{top:unset !important}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat::after{margin-top:-3px;top:unset !important}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat .bal-radio-checkbox__label__text--flat{padding-top:.25rem;padding-bottom:.25rem}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked{background:var(--bal-radio-checkbox-select-button-background-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-radio-checkbox-select-button-link-text-color-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover{background:var(--bal-radio-checkbox-select-button-background-checked-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active{background:var(--bal-radio-checkbox-select-button-background-checked-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid);background:var(--bal-radio-checkbox-select-button-background-invalid)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-form-field-label-danger-color)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-hover);background:var(--bal-radio-checkbox-select-button-background-invalid-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid:active{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-active);background:var(--bal-radio-checkbox-select-button-background-invalid-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked);background:var(--bal-radio-checkbox-select-button-background-invalid-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked-hover);background:var(--bal-radio-checkbox-select-button-background-invalid-checked-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked-active);background:var(--bal-radio-checkbox-select-button-background-invalid-checked-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:hover,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:active{border-color:var(--bal-radio-checkbox-select-button-border-color-disabled-hover-active);background:var(--bal-radio-checkbox-select-button-background-disabled-hover-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-form-field-label-disabled-color)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active{border-color:var(--bal-radio-checkbox-select-button-border-color-disabled-checked-hover-active);background:var(--bal-radio-checkbox-select-button-background-disabled-checked-hover-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--switch{min-width:2.5rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label{padding-left:1rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label::before{border-radius:1.5rem;position:absolute;display:block;top:0;left:0;width:2.5rem;height:1.5rem;border:1.6px solid rgba(0,0,0,0);content:"";-webkit-transition:left .25s ease-out,background .25s ease-out;transition:left .25s ease-out,background .25s ease-out;margin-top:.25rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label::after{border:none;margin:0;border-radius:50%;display:block;position:absolute;top:.25rem !important;left:.25rem;width:1rem;height:1rem;z-index:2;margin-top:.25rem;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:left .25s ease-out,background .25s ease-out;transition:left .25s ease-out,background .25s ease-out;content:""}.bal-radio-checkbox--switch .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-before)}.bal-radio-checkbox--switch .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-after)}.bal-radio-checkbox--switch:hover .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-hover-after)}.bal-radio-checkbox--switch:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--flat .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--flat .bal-radio-checkbox__label::after{margin-top:0}.bal-radio-checkbox--switch.bal-radio-checkbox--checked .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked .bal-radio-checkbox__label::after{left:1.25rem;background:var(--bal-radio-checkbox-switch-label-background-checked-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-hover-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-hover-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-hover-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-disabled-hover-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-disabled-hover-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-after)}.bal-radio-checkbox__icon{position:absolute !important;left:5.5px;z-index:1}.bal-radio-checkbox__icon--hidden{display:none !important}';const w=class{constructor(e){a(this,e),this.balChange=o(this,"balChange",7),this.balFocus=o(this,"balFocus",7),this.balBlur=o(this,"balBlur",7),this.inputId="bal-rg-"+p++,this.inheritedAttributes={},this.hasFocus=!1,this.mutationObserverActive=!0,this.onOptionChange=async()=>{this.setRadioTabindex(this.value),this.setRadioChecked()},this.setRadioTabindex=a=>{const o=this.getRadios(),e=o.find((a=>!a.disabled)),b=o.find((o=>o.value===a&&!o.disabled));if(!e&&!b)return;const c=b||e;for(const a of o)a.setButtonTabindex(a===c?0:-1)},this.onClick=a=>{if(a.target.href)return;a.preventDefault();const o=a.target&&a.target.closest("bal-radio");if(o&&!o.disabled&&!o.readonly){const a=o.value;a!==this.value?this.value=a:this.allowEmptySelection&&(this.value=void 0),this.balChange.emit(this.value)}},this.ariaForm=n,this.options=void 0,this.allowEmptySelection=!1,this.name=this.inputId,this.value=void 0,this.interface=void 0,this.vertical=!1,this.verticalOnMobile=!1,this.expanded=!1,this.invalid=void 0,this.disabled=void 0,this.readonly=void 0,this.grid=1,this.columnsTablet=1,this.columnsMobile=1,this.autoInvalidOff=!1}createLogger(a){this.log=a}async optionChanged(){this.onOptionChange(),this.mutationObserverActive=void 0===this.options}valueChanged(){this.onOptionChange()}invalidChanged(a){void 0!==a&&(this.getRadios().forEach((o=>{o.invalid=a})),this.getRadioButtons().forEach((o=>{o.invalid=a})))}disabledChanged(a){void 0!==a&&(this.getRadios().forEach((o=>{o.disabled=a})),this.getRadioButtons().forEach((o=>{o.disabled=a})))}readonlyChanged(a){void 0!==a&&(this.getRadios().forEach((o=>{o.readonly=a})),this.getRadioButtons().forEach((o=>{o.readonly=a})))}columnsChanged(a){this.getRadioButtons().forEach((o=>o.colSize=a))}columnsTabletChanged(a){this.getRadioButtons().forEach((o=>o.colSizeTablet=a))}columnsMobileChanged(a){this.getRadioButtons().forEach((o=>o.colSizeMobile=a))}connectedCallback(){this.initialValue=this.value,this.mutationObserverActive=void 0===this.options}componentWillLoad(){this.setRadioInterface(),this.disabledChanged(this.disabled),this.readonlyChanged(this.readonly),this.invalidChanged(this.invalid),this.columnsChanged(this.grid),this.columnsTabletChanged(this.columnsTablet),this.columnsMobileChanged(this.columnsMobile),this.onOptionChange(),this.inheritedAttributes=x(this.el,["aria-label","tabindex","title"])}focusInListener(a){this.balFocus.emit(a)}focusOutListener(a){this.balBlur.emit(a)}mutationListener(){this.setRadioInterface(),this.disabledChanged(this.disabled),this.readonlyChanged(this.readonly),this.invalidChanged(this.invalid),this.columnsChanged(this.grid),this.columnsTabletChanged(this.columnsTablet),this.columnsMobileChanged(this.columnsMobile),this.onOptionChange()}listenOnClick(a){i(this.el,a.target)&&s(a)}radioFocusListener(a){const{target:o}=a;o&&i(this.el,o)&&d(o,"bal-radio")&&s(a)}radioBlurListener(a){const{target:o}=a;o&&i(this.el,o)&&d(o,"bal-radio")&&s(a)}resetListener(a){const o=a.target;(null==o?void 0:o.contains(this.el))&&(this.value=this.initialValue)}onKeydown(a){if(a.target&&!this.el.contains(a.target))return;const o=this.getRadios().filter((a=>!a.disabled)),e=a.target.closest("bal-radio");if(e&&o.includes(e)){const b=o.findIndex((a=>a===e)),c=o[b];let l;["ArrowDown","ArrowRight"].includes(a.code)&&(l=b===o.length-1?o[0]:o[b+1]),["ArrowUp","ArrowLeft"].includes(a.code)&&(l=0===b?o[o.length-1]:o[b-1]),l&&o.includes(l)&&(l.setFocus(a),this.value=l.value,this.balChange.emit(this.value)),["Space"].includes(a.code)&&(this.value=this.allowEmptySelection&&void 0!==this.value?void 0:c.value,a.preventDefault())}}async setValue(a){this.value=a}async getOptionByValue(a){const o=this.options;if(o)return o.find((o=>o.value===a))}async setAriaForm(a){this.ariaForm=Object.assign({},a)}setRadioInterface(){this.getRadios().forEach((a=>{this.interface&&(a.interface=this.interface)}))}setRadioChecked(){this.getRadios().forEach((a=>{a.updateState&&a.updateState()}))}getRadios(){return Array.from(this.el.querySelectorAll("bal-radio"))}getRadioButtons(){return Array.from(this.el.querySelectorAll("bal-radio-button"))}render(){const a=h.block("radio-checkbox-group"),o=a.element("inner"),c=(this.options||[]).map((a=>"function"==typeof a.html?Object.assign(Object.assign({},a),{html:a.html()}):a));return e(b,Object.assign({class:Object.assign({},a.class()),role:"radiogroup","aria-labelledby":this.ariaForm.labelId,"aria-describedby":this.ariaForm.messageId,"aria-disabled":this.disabled?"true":null,onClick:this.onClick},this.inheritedAttributes),e("div",{class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},o.class()),o.modifier("vertical-mobile").class(this.verticalOnMobile)),o.modifier("vertical").class(this.vertical)),o.modifier("expanded").class(this.expanded)),o.modifier("select-button").class("select-button"===this.interface))},e("slot",null),c.map((a=>e("bal-radio",{key:a.value,name:a.name||this.name,value:a.value,labelHidden:a.labelHidden,flat:a.flat,interface:a.interface,disabled:a.disabled,readonly:a.readonly,required:a.required,nonSubmit:!!a.nonSubmit,invalid:a.invalid,innerHTML:a.html})))))}get el(){return c(this)}static get watchers(){return{options:["optionChanged"],value:["valueChanged"],invalid:["invalidChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"],grid:["columnsChanged"],columnsTablet:["columnsTabletChanged"],columnsMobile:["columnsMobileChanged"]}}};l([k("bal-radio-group"),r("design:type",Function),r("design:paramtypes",[Function]),r("design:returntype",void 0)],w.prototype,"createLogger",null),l([v(),r("design:type",Function),r("design:paramtypes",[FocusEvent]),r("design:returntype",void 0)],w.prototype,"focusInListener",null),l([v(),r("design:type",Function),r("design:paramtypes",[FocusEvent]),r("design:returntype",void 0)],w.prototype,"focusOutListener",null),l([u({tags:["bal-radio-group","bal-radio"],attributes:!1,characterData:!1}),r("design:type",Function),r("design:paramtypes",[]),r("design:returntype",void 0)],w.prototype,"mutationListener",null);let p=0;export{g as bal_radio,w as bal_radio_group}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,H as a,g as e}from"./p-2ccbe55a.js";import{_ as h,a as o}from"./p-43c9f5e9.js";import{B as n,i as l}from"./p-1a094c1b.js";import{B as r}from"./p-ae86d0a0.js";import{L as d}from"./p-b77e3348.js";import{i as c}from"./p-dd5e13d1.js";import{s as p}from"./p-e3e1d211.js";import{p as b}from"./p-ef6a64f4.js";import{d as u}from"./p-f385e205.js";import{b as m}from"./p-35baa468.js";import{d as f}from"./p-dc98854c.js";import{d as y}from"./p-830d9e47.js";import{L as v}from"./p-44e7532c.js";import"./p-46251973.js";import"./p-a65354df.js";const g=class{constructor(s){t(this,s),this.balInput=i(this,"balInput",7),this.balChange=i(this,"balChange",7),this.balWillAnimate=i(this,"balWillAnimate",7),this.balDidAnimate=i(this,"balDidAnimate",7),this.balBlur=i(this,"balBlur",7),this.balFocus=i(this,"balFocus",7),this.balInputClick=i(this,"balInputClick",7),this.balIconClick=i(this,"balIconClick",7),this.balPopoverPrepare=i(this,"balPopoverPrepare",7),this.inputId="bal-da-"+w++,this.inheritedAttributes={},this.onIconClick=async()=>{this.triggerIcon?await this.toggle():await this.open()},this.onInputClick=async()=>{this.triggerIcon||await this.open()},this.onCalendarChange=t=>{p(t),this.value=t.detail,this.balChange.emit(this.value),this.closeOnSelect&&this.close()},this.onInputInput=t=>{if(p(t),this.balInput.emit(t.detail),t.detail){const i=n.fromAnyFormat(t.detail);i.isValid&&(this.calendarValue=i.toISODate())}},this.onInputChange=t=>{p(t),this.value=t.detail,this.balChange.emit(this.value)},this.onInputFocus=t=>{p(t),this.balFocus.emit(t.detail)},this.onInputBlur=t=>{p(t),this.balBlur.emit(t.detail)},this.onKeyPress=async({detail:t})=>{f(t)&&!this.triggerIcon&&(this.isExpanded?await this.close():await this.open())},this.isExpanded=!1,this.language=y.language,this.calendarValue=void 0,this.ariaForm=u,this.name=this.inputId,this.invalid=!1,this.required=!1,this.disabled=!1,this.readonly=!1,this.freeSolo=!1,this.placeholder=void 0,this.triggerIcon=!1,this.closeOnSelect=!0,this.autocomplete="off",this.value=void 0,this.min=void 0,this.max=void 0,this.minYearProp=void 0,this.maxYearProp=void 0,this.defaultDate=void 0,this.allowedDates=void 0,this.allowInvalidValue=!1,this.debounce=0,this.autoInvalidOff=!1}createLogger(t){this.log=t}valueChanged(){this.calendarValue=this.value}debounceChanged(){this.balChange=b(this.balChange,this.debounce)}connectedCallback(){this.valueChanged()}componentWillLoad(){this.inheritedAttributes=c(this.el,["aria-label","tabindex","title"])}async listenToKeydown(t){!this.isExpanded||"Escape"!==t.key&&"Esc"!==t.key||(t.preventDefault(),await this.close())}async listenOnKeyup(t){"Tab"===t.key&&!this.el.contains(document.activeElement)&&this.isExpanded&&await this.close()}async listenOnclick(t){this.isExpanded&&!this.el.contains(t.target)&&await this.close()}async listenOnPopoverPrepare(t){this.inputId!==t.detail&&await this.close()}async configChanged(t){this.language=t.language}async open(){return this.expand()}async close(){return this.collapse()}async toggle(){return this.isExpanded?this.collapse():this.expand()}async select(t){const i=n.fromISO(t);i.isValid&&(this.value=i.toISODate(),this.calendarValue=this.value)}async setFocus(){var t;null===(t=this.inputEl)||void 0===t||t.setFocus()}async setBlur(){var t;null===(t=this.inputEl)||void 0===t||t.setBlur()}async getInputElement(){var t;return null===(t=this.inputEl)||void 0===t?void 0:t.getInputElement()}async setAriaForm(t){var i;this.ariaForm=Object.assign({},t),null===(i=this.inputEl)||void 0===i||i.setAriaForm(t)}async expand(){if(this.referenceEl&&this.floatingEl){const t=await m.load();this.balPopoverPrepare.emit(this.inputId),this.balWillAnimate.emit(),this.isExpanded=!0,this.popupCleanup=t.autoUpdate(this.referenceEl,this.floatingEl,(()=>{this.updatePosition(this.referenceEl,this.floatingEl)}))}return this.isExpanded}async collapse(){return this.floatingEl&&(this.balWillAnimate.emit(),this.isExpanded=!1,this.popupCleanup&&this.popupCleanup(),this.balDidAnimate.emit()),this.isExpanded}async updatePosition(t,i){const s=await m.load();s.computePosition(t,i,{placement:"bottom-start",middleware:[s.offset(4),s.flip({crossAxis:!1})]}).then((({x:t,y:s})=>{Object.assign(i.style,{left:`${t}px`,top:`${s}px`}),this.balDidAnimate.emit()}))}render(){const t=r.block("date"),i=t.element("icon"),e=t.element("popup");return s(a,{key:"b795b526c8e86eb1f96ad07bc8d2f484b41f1f32",id:this.inputId,class:Object.assign({},t.class())},s("bal-input-group",{key:"4e4eeacea6fa61affc57ddae68036250d0ef76cc",invalid:this.invalid,readonly:this.readonly,disabled:this.disabled,ref:t=>this.referenceEl=t},s("bal-input-date",Object.assign({key:"311169f2038c5548cb4a1c182c0fb8a61e404fbb",name:this.name,required:this.required,placeholder:this.placeholder,value:this.value,min:this.min,max:this.max,invalid:this.invalid,readonly:this.readonly,disabled:this.disabled,allowInvalidValue:this.allowInvalidValue,autocomplete:this.autocomplete,onClick:this.onInputClick,onBalInput:this.onInputInput,onBalChange:this.onInputChange,onBalFocus:this.onInputFocus,onBalBlur:this.onInputBlur,onBalKeyPress:this.onKeyPress,ref:t=>this.inputEl=t},this.inheritedAttributes)),this.freeSolo?"":s("bal-icon",{name:"date",role:"button",tabindex:-1,class:Object.assign(Object.assign({},i.class()),i.modifier("clickable").class(!this.disabled&&!this.readonly)),"is-right":!0,color:this.disabled||this.readonly?"grey":this.invalid?"danger":"primary",onClick:this.onIconClick,"aria-label":l[this.language].toggleDatepicker,"aria-haspopup":"true","aria-expanded":this.isExpanded?"true":"false"})),s("div",{key:"65512ad855b4c33fc85ea703129b5b4af777216a",role:"dialog",class:Object.assign(Object.assign({},e.class()),e.modifier("visible").class(this.isExpanded)),ref:t=>this.floatingEl=t,"aria-hidden":`${!0!==this.isExpanded}`,"aria-presented":`${!0===this.isExpanded}`},s("bal-date-calendar",{key:"229c68237b8a13335448e5a3f940065535bff2a4",value:this.calendarValue,min:this.min,max:this.max,minYearProp:this.minYearProp,maxYearProp:this.maxYearProp,defaultDate:this.defaultDate,allowedDates:this.allowedDates,onBalChange:this.onCalendarChange})))}get el(){return e(this)}static get watchers(){return{value:["valueChanged"],debounce:["debounceChanged"]}}};h([d("bal-date"),o("design:type",Function),o("design:paramtypes",[Function]),o("design:returntype",void 0)],g.prototype,"createLogger",null),h([v(),o("design:type",Function),o("design:paramtypes",[Object]),o("design:returntype",Promise)],g.prototype,"configChanged",null);let w=0;g.style=":root{--bal-date-popup-z-index:var(--bal-z-index-tooltip);--bal-date-popup-shadow:var(--bal-shadow-normal);--bal-date-popup-radius:var(--bal-radius-normal)}:root{--bal-z-index-tooltip:1300}.bal-date{display:block;font-family:var(--bal-font-family-text);width:100%}.bal-date__icon--clickable{cursor:pointer}.bal-date__popup{display:none;width:-webkit-max-content;width:-moz-max-content;width:max-content;position:absolute;top:0;left:0;z-index:var(--bal-date-popup-z-index);-webkit-box-shadow:var(--bal-date-popup-shadow);box-shadow:var(--bal-date-popup-shadow);border-radius:var(--bal-date-popup-radius)}.bal-date__popup--visible{display:block}";export{g as bal_date}