@baloise/ds-core 17.4.1 → 18.0.0-nightly.20250211

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 (425) hide show
  1. package/components/all.d.ts +2 -0
  2. package/components/all.js +3 -0
  3. package/components/bal-app.js +1 -93
  4. package/components/bal-app2.js +95 -0
  5. package/components/bal-checkbox2.js +1 -1
  6. package/components/bal-close2.js +1 -1
  7. package/components/bal-date-calendar2.js +1 -1
  8. package/components/bal-doc-app.d.ts +11 -0
  9. package/components/bal-doc-app.js +262 -0
  10. package/components/bal-modal.js +1 -1
  11. package/components/bal-radio2.js +1 -1
  12. package/components/bal-steps.js +1 -1
  13. package/components/bal-tabs2.js +1 -1
  14. package/components/bal-time-input.js +1 -1
  15. package/components/config.utils.js +27 -27
  16. package/components/floating-ui.dom.esm.js +205 -77
  17. package/components/index.js +7 -314
  18. package/components/initialize.js +312 -0
  19. package/components/tokens.esm.js +1 -1
  20. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  21. package/dist/baloise-design-system/baloise-design-system.js +1 -1
  22. package/dist/baloise-design-system/index.esm.js +1 -1
  23. package/dist/baloise-design-system/{p-afef265b5f.entry.js → p-01d99206b2.entry.js} +1 -1
  24. package/dist/baloise-design-system/{p-e60e0c65.system.js → p-01f07b49.system.js} +1 -1
  25. package/dist/baloise-design-system/{p-374e5904fa.entry.js → p-02116878a7.entry.js} +1 -1
  26. package/dist/baloise-design-system/{p-39351e2b.system.js → p-087021fe.system.js} +1 -1
  27. package/dist/baloise-design-system/{p-447acd07e7.system.entry.js → p-0e506e98e2.system.entry.js} +1 -1
  28. package/dist/baloise-design-system/p-11270bb714.system.entry.js +1 -0
  29. package/dist/baloise-design-system/{p-426219f4.js → p-130b37bc.js} +1 -1
  30. package/dist/baloise-design-system/{p-ce0ca991f8.entry.js → p-1546034dac.entry.js} +1 -1
  31. package/dist/baloise-design-system/{p-9b542bd976.entry.js → p-191459a962.entry.js} +1 -1
  32. package/dist/baloise-design-system/{p-464f369ad6.entry.js → p-1b31484d81.entry.js} +1 -1
  33. package/dist/baloise-design-system/{p-e0b6c2eaf9.system.entry.js → p-1d09b5700d.system.entry.js} +1 -1
  34. package/dist/baloise-design-system/p-1e142b10.system.js +1 -0
  35. package/dist/baloise-design-system/{p-6079fa35e4.system.entry.js → p-1f0ddd16a2.system.entry.js} +1 -1
  36. package/dist/baloise-design-system/{p-44e7532c.js → p-20eba37f.js} +1 -1
  37. package/dist/baloise-design-system/{p-b8da005f.js → p-211a37e8.js} +1 -1
  38. package/dist/baloise-design-system/{p-bf200caec0.entry.js → p-221c096477.entry.js} +1 -1
  39. package/dist/baloise-design-system/p-234baab174.entry.js +1 -0
  40. package/dist/baloise-design-system/{p-0d3f11e3.system.js → p-237de03b.system.js} +1 -1
  41. package/dist/baloise-design-system/p-294f38c2.js +1 -0
  42. package/dist/baloise-design-system/{p-3d73a2d0e3.entry.js → p-2dc029770c.entry.js} +1 -1
  43. package/dist/baloise-design-system/p-301a6b23.js +1 -0
  44. package/dist/baloise-design-system/{p-f285a977e8.entry.js → p-309f1f7d4e.entry.js} +1 -1
  45. package/dist/baloise-design-system/{p-055ec952e0.system.entry.js → p-316efc7003.system.entry.js} +1 -1
  46. package/dist/baloise-design-system/{p-b4c2e91618.system.entry.js → p-32861633a8.system.entry.js} +1 -1
  47. package/dist/baloise-design-system/{p-462f564b70.entry.js → p-35ca0dde1e.entry.js} +1 -1
  48. package/dist/baloise-design-system/{p-c0eefa4060.entry.js → p-36f131eec6.entry.js} +1 -1
  49. package/dist/baloise-design-system/{p-03613e2aa3.system.entry.js → p-371d95e7d3.system.entry.js} +1 -1
  50. package/dist/baloise-design-system/{p-c991d944.js → p-3913c6ae.js} +1 -1
  51. package/dist/baloise-design-system/{p-b1c18bf1.system.js → p-3c15fb83.system.js} +1 -1
  52. package/dist/baloise-design-system/{p-c0461c69d6.entry.js → p-3cfd6d7831.entry.js} +1 -1
  53. package/dist/baloise-design-system/{p-993913b332.entry.js → p-3fce18ac8f.entry.js} +1 -1
  54. package/dist/baloise-design-system/p-400bbebf71.entry.js +1 -0
  55. package/dist/baloise-design-system/{p-f7554b087f.system.entry.js → p-4155b8f059.system.entry.js} +1 -1
  56. package/dist/baloise-design-system/p-42e66219.system.js +1 -0
  57. package/dist/baloise-design-system/{p-ba68f2ce70.entry.js → p-448d3298a1.entry.js} +1 -1
  58. package/dist/baloise-design-system/{p-3bf02fb8.system.js → p-47825fdf.system.js} +1 -1
  59. package/dist/baloise-design-system/p-47f0669a.js +1 -0
  60. package/dist/baloise-design-system/p-487284ff6d.system.entry.js +1 -0
  61. package/dist/baloise-design-system/{p-3f559c384a.system.entry.js → p-4b22207353.system.entry.js} +1 -1
  62. package/dist/baloise-design-system/{p-ca3bb9ce.js → p-4cac86d6.js} +1 -1
  63. package/dist/baloise-design-system/{p-f6f93e74c1.system.entry.js → p-4d857d11b6.system.entry.js} +1 -1
  64. package/dist/baloise-design-system/{p-415625ee.system.js → p-4e5f16ad.system.js} +1 -1
  65. package/dist/baloise-design-system/p-50f3b012.js +1 -0
  66. package/dist/baloise-design-system/{p-f908b02917.system.entry.js → p-53093cf5c3.system.entry.js} +1 -1
  67. package/dist/baloise-design-system/{p-c3852df7a6.entry.js → p-54200a6353.entry.js} +1 -1
  68. package/dist/baloise-design-system/{p-f9950a0b55.system.entry.js → p-54493c5289.system.entry.js} +1 -1
  69. package/dist/baloise-design-system/{p-64aca444.system.js → p-565f9976.system.js} +1 -1
  70. package/dist/baloise-design-system/{p-90c9681c84.entry.js → p-57cb150f05.entry.js} +1 -1
  71. package/dist/baloise-design-system/{p-db9b4e132d.system.entry.js → p-57e1067192.system.entry.js} +1 -1
  72. package/dist/baloise-design-system/p-59d9918c.system.js +1 -0
  73. package/dist/baloise-design-system/p-5c31de6847.system.entry.js +1 -0
  74. package/dist/baloise-design-system/{p-42c7b13aa9.entry.js → p-5c4e2ad67d.entry.js} +1 -1
  75. package/dist/baloise-design-system/p-5c6d332a4e.entry.js +1 -0
  76. package/dist/baloise-design-system/{p-7ab2e7b846.entry.js → p-5c7352eada.entry.js} +1 -1
  77. package/dist/baloise-design-system/{p-ca5ec430.js → p-5cca745b.js} +1 -1
  78. package/dist/baloise-design-system/{p-0831f02fb0.system.entry.js → p-5d9f23045a.system.entry.js} +1 -1
  79. package/dist/baloise-design-system/{p-f7e9758f60.entry.js → p-5e74181495.entry.js} +1 -1
  80. package/dist/baloise-design-system/{p-2f1fbb48.system.js → p-5f32b4f3.system.js} +1 -1
  81. package/dist/baloise-design-system/{p-7afa264997.system.entry.js → p-5f3e40e522.system.entry.js} +1 -1
  82. package/dist/baloise-design-system/{p-a272313cd0.system.entry.js → p-60cd251a99.system.entry.js} +1 -1
  83. package/dist/baloise-design-system/{p-273fb2c2.system.js → p-659ecadc.system.js} +1 -1
  84. package/dist/baloise-design-system/{p-762c8fa651.system.entry.js → p-676d07ed2e.system.entry.js} +1 -1
  85. package/dist/baloise-design-system/{p-0f37a65c.system.js → p-6b690346.system.js} +1 -1
  86. package/dist/baloise-design-system/{p-a85fe6d188.system.entry.js → p-6c29304485.system.entry.js} +1 -1
  87. package/dist/baloise-design-system/{p-3c1ea7b3e0.entry.js → p-6d1f5b32f2.entry.js} +1 -1
  88. package/dist/baloise-design-system/{p-b7fbadbe.js → p-6e85cd1a.js} +1 -1
  89. package/dist/baloise-design-system/{p-1f2b83a3a2.system.entry.js → p-70ff5a5df7.system.entry.js} +1 -1
  90. package/dist/baloise-design-system/p-751eadd276.entry.js +1 -0
  91. package/dist/baloise-design-system/{p-208bd3127d.system.entry.js → p-75652c1651.system.entry.js} +1 -1
  92. package/dist/baloise-design-system/{p-afca130b59.system.entry.js → p-7644800ac6.system.entry.js} +1 -1
  93. package/dist/baloise-design-system/p-76e1b06450.system.entry.js +1 -0
  94. package/dist/baloise-design-system/{p-e3e1d211.js → p-79f6f58b.js} +1 -1
  95. package/dist/baloise-design-system/p-7bec4431.system.js +1 -0
  96. package/dist/baloise-design-system/{p-469a18b468.entry.js → p-7bf3e88ae4.entry.js} +1 -1
  97. package/dist/baloise-design-system/{p-385372ecd2.system.entry.js → p-7d04267c98.system.entry.js} +1 -1
  98. package/dist/baloise-design-system/{p-43174c7095.entry.js → p-7ddbde5c84.entry.js} +1 -1
  99. package/dist/baloise-design-system/{p-b726b9f4c9.entry.js → p-7f6c434d89.entry.js} +1 -1
  100. package/dist/baloise-design-system/{p-fe37f1b5.js → p-81205ce0.js} +1 -1
  101. package/dist/baloise-design-system/{p-279428d318.entry.js → p-8255d835fe.entry.js} +1 -1
  102. package/dist/baloise-design-system/p-83512f21.system.js +1 -0
  103. package/dist/baloise-design-system/{p-5cd2674f.system.js → p-863f4e4e.system.js} +1 -1
  104. package/dist/baloise-design-system/{p-1a094c1b.js → p-875de117.js} +1 -1
  105. package/dist/baloise-design-system/{p-5d2ab1c46d.system.entry.js → p-8793a50acb.system.entry.js} +1 -1
  106. package/dist/baloise-design-system/{p-420bc2ff6e.entry.js → p-8c6511bf0d.entry.js} +1 -1
  107. package/dist/baloise-design-system/{p-9a1a9c980a.entry.js → p-8d49461b8f.entry.js} +1 -1
  108. package/dist/baloise-design-system/{p-71352a52.js → p-8fc7e9ca.js} +1 -1
  109. package/dist/baloise-design-system/p-908a7c5cfd.system.entry.js +1 -0
  110. package/dist/baloise-design-system/p-92b665e7.system.js +1 -0
  111. package/dist/baloise-design-system/{p-f4641c6a16.entry.js → p-93d7df5c6d.entry.js} +1 -1
  112. package/dist/baloise-design-system/{p-ff2a5eae24.system.entry.js → p-9a00ac7fc8.system.entry.js} +1 -1
  113. package/dist/baloise-design-system/{p-31c7ac3a.system.js → p-9b9be713.system.js} +1 -1
  114. package/dist/baloise-design-system/{p-12db0c3477.entry.js → p-9c204d3ac7.entry.js} +1 -1
  115. package/dist/baloise-design-system/{p-5776d1fde6.entry.js → p-9c383b422e.entry.js} +1 -1
  116. package/dist/baloise-design-system/{p-a576a58b09.system.entry.js → p-9d2cadcc98.system.entry.js} +1 -1
  117. package/dist/baloise-design-system/{p-9ec2c3e050.entry.js → p-9ed80c87cf.entry.js} +1 -1
  118. package/dist/baloise-design-system/{p-c641bed817.entry.js → p-a0737d5595.entry.js} +1 -1
  119. package/dist/baloise-design-system/{p-f5a0884f92.entry.js → p-a1d210ca31.entry.js} +1 -1
  120. package/dist/baloise-design-system/{p-126ae228.system.js → p-a219593a.system.js} +1 -1
  121. package/dist/baloise-design-system/{p-ef6a64f4.js → p-a255c9b3.js} +1 -1
  122. package/dist/baloise-design-system/{p-817371e5.system.js → p-a519168e.system.js} +1 -1
  123. package/dist/baloise-design-system/p-a70f415677.system.entry.js +1 -0
  124. package/dist/baloise-design-system/{p-afa8aa0eec.system.entry.js → p-a7b46eaa9f.system.entry.js} +1 -1
  125. package/dist/baloise-design-system/{p-e78be5ef.system.js → p-abd6896e.system.js} +1 -1
  126. package/dist/baloise-design-system/{p-4f4c99db.js → p-ad14e9f9.js} +1 -1
  127. package/dist/baloise-design-system/{p-4d7c0d39.js → p-afd41db0.js} +1 -1
  128. package/dist/baloise-design-system/{p-add71c43b9.entry.js → p-b1e392bdc4.entry.js} +1 -1
  129. package/dist/baloise-design-system/{p-ec4e5d4ecc.system.entry.js → p-b495f6d654.system.entry.js} +1 -1
  130. package/dist/baloise-design-system/{p-b63742f3.system.js → p-b50f4c4e.system.js} +1 -1
  131. package/dist/baloise-design-system/{p-649eedce8a.system.entry.js → p-b7ea548704.system.entry.js} +1 -1
  132. package/dist/baloise-design-system/{p-ff31e0e340.system.entry.js → p-ba23bf69be.system.entry.js} +1 -1
  133. package/dist/baloise-design-system/{p-106815172c.system.entry.js → p-bbdbbb13c5.system.entry.js} +1 -1
  134. package/dist/baloise-design-system/{p-9b73822c14.entry.js → p-bc5e76952e.entry.js} +1 -1
  135. package/dist/baloise-design-system/{p-d95305658b.system.entry.js → p-be0118456f.system.entry.js} +1 -1
  136. package/dist/baloise-design-system/{p-caacebbe.js → p-c0173fff.js} +1 -1
  137. package/dist/baloise-design-system/{p-6c19302bf6.entry.js → p-c0d43ba0ce.entry.js} +1 -1
  138. package/dist/baloise-design-system/{p-19f28f1fbf.system.entry.js → p-c24fbe650f.system.entry.js} +1 -1
  139. package/dist/baloise-design-system/{p-980e4b57.system.js → p-c43a56b7.system.js} +1 -1
  140. package/dist/baloise-design-system/{p-9727e05e.system.js → p-c917a3bc.system.js} +1 -1
  141. package/dist/baloise-design-system/{p-18820ca258.system.entry.js → p-cb0d5c384b.system.entry.js} +1 -1
  142. package/dist/baloise-design-system/{p-fe6cbf28.js → p-cb0ff37f.js} +1 -1
  143. package/dist/baloise-design-system/{p-a857e31d7e.entry.js → p-cd7532cea3.entry.js} +1 -1
  144. package/dist/baloise-design-system/{p-111d37ae18.system.entry.js → p-d4996fd889.system.entry.js} +1 -1
  145. package/dist/baloise-design-system/{p-312a3215.js → p-ddec5b99.js} +1 -1
  146. package/dist/baloise-design-system/{p-50a49c0e5c.system.entry.js → p-e3c51dd5ce.system.entry.js} +1 -1
  147. package/dist/baloise-design-system/p-ea8491b628.entry.js +1 -0
  148. package/dist/baloise-design-system/{p-75ac477ebc.entry.js → p-eaabd6f34a.entry.js} +1 -1
  149. package/dist/baloise-design-system/{p-fca0dcccde.entry.js → p-eaf6fe83b7.entry.js} +1 -1
  150. package/dist/baloise-design-system/p-ebecd76c66.system.entry.js +1 -0
  151. package/dist/baloise-design-system/{p-830d9e47.js → p-ec375851.js} +1 -1
  152. package/dist/baloise-design-system/{p-46b13df1.js → p-f0c375ba.js} +1 -1
  153. package/dist/baloise-design-system/{p-5d689d39.js → p-f1052416.js} +1 -1
  154. package/dist/baloise-design-system/{p-80bf87ba56.entry.js → p-f2234a5a71.entry.js} +1 -1
  155. package/dist/baloise-design-system/{p-68bef926.system.js → p-f52a27c1.system.js} +1 -1
  156. package/dist/baloise-design-system/{p-130a16ee.system.js → p-fa5198a0.system.js} +1 -1
  157. package/dist/baloise-design-system/{p-9aa95fbc37.entry.js → p-fb4f6a95a6.entry.js} +1 -1
  158. package/dist/baloise-design-system/{p-5821d4bbb2.system.entry.js → p-fb87f31739.system.entry.js} +1 -1
  159. package/dist/baloise-design-system/{p-7615b673a0.system.entry.js → p-fce9274127.system.entry.js} +1 -1
  160. package/dist/baloise-design-system/{p-9018c7729a.system.entry.js → p-ffad1caf64.system.entry.js} +1 -1
  161. package/dist/cjs/{animation.decorator-7a936417.js → animation.decorator-40bdfb52.js} +1 -1
  162. package/dist/cjs/app-globals-f63c33e7.js +7 -0
  163. package/dist/cjs/bal-accordion_4.cjs.entry.js +5 -5
  164. package/dist/cjs/bal-app.cjs.entry.js +2 -2
  165. package/dist/cjs/bal-button_2.cjs.entry.js +2 -2
  166. package/dist/cjs/bal-carousel_2.cjs.entry.js +14 -14
  167. package/dist/cjs/bal-checkbox-button.cjs.entry.js +4 -4
  168. package/dist/cjs/bal-checkbox_2.cjs.entry.js +6 -6
  169. package/dist/cjs/bal-close.cjs.entry.js +4 -4
  170. package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +3 -3
  171. package/dist/cjs/bal-date-calendar_2.cjs.entry.js +9 -9
  172. package/dist/cjs/bal-date.cjs.entry.js +7 -7
  173. package/dist/cjs/bal-doc-app.cjs.entry.js +233 -0
  174. package/dist/cjs/bal-dropdown.cjs.entry.js +6 -6
  175. package/dist/cjs/bal-field_5.cjs.entry.js +3 -3
  176. package/dist/cjs/bal-file-upload.cjs.entry.js +3 -3
  177. package/dist/cjs/bal-footer.cjs.entry.js +4 -4
  178. package/dist/cjs/bal-form.cjs.entry.js +2 -2
  179. package/dist/cjs/bal-hint_5.cjs.entry.js +6 -6
  180. package/dist/cjs/bal-icon.cjs.entry.js +3 -3
  181. package/dist/cjs/bal-input-slider.cjs.entry.js +3 -3
  182. package/dist/cjs/bal-input-stepper.cjs.entry.js +6 -6
  183. package/dist/cjs/bal-input.cjs.entry.js +3 -3
  184. package/dist/cjs/bal-label.cjs.entry.js +3 -3
  185. package/dist/cjs/bal-list_8.cjs.entry.js +9 -9
  186. package/dist/cjs/bal-logo.cjs.entry.js +6 -6
  187. package/dist/cjs/bal-modal_3.cjs.entry.js +4 -4
  188. package/dist/cjs/bal-nav_8.cjs.entry.js +9 -9
  189. package/dist/cjs/bal-navbar_5.cjs.entry.js +7 -7
  190. package/dist/cjs/bal-number-input.cjs.entry.js +6 -6
  191. package/dist/cjs/bal-option_2.cjs.entry.js +4 -4
  192. package/dist/cjs/bal-pagination.cjs.entry.js +7 -7
  193. package/dist/cjs/bal-popup.cjs.entry.js +4 -4
  194. package/dist/cjs/bal-progress-bar.cjs.entry.js +6 -6
  195. package/dist/cjs/bal-radio-button.cjs.entry.js +4 -4
  196. package/dist/cjs/bal-radio_2.cjs.entry.js +6 -6
  197. package/dist/cjs/bal-segment_2.cjs.entry.js +10 -10
  198. package/dist/cjs/bal-select_2.cjs.entry.js +3 -3
  199. package/dist/cjs/bal-shape.cjs.entry.js +1 -1
  200. package/dist/cjs/bal-spinner.cjs.entry.js +4 -4
  201. package/dist/cjs/bal-stage_6.cjs.entry.js +2 -2
  202. package/dist/cjs/bal-steps.cjs.entry.js +8 -8
  203. package/dist/cjs/bal-tab-item_2.cjs.entry.js +16 -16
  204. package/dist/cjs/bal-textarea.cjs.entry.js +3 -3
  205. package/dist/cjs/bal-time-input.cjs.entry.js +6 -6
  206. package/dist/cjs/bal-tooltip.cjs.entry.js +3 -3
  207. package/dist/cjs/baloise-design-system.cjs.js +7 -6
  208. package/dist/cjs/{breakpoints.decorator-190fe424.js → breakpoints.decorator-52c6fe2f.js} +1 -1
  209. package/dist/cjs/{breakpoints.subject-8c31945a.js → breakpoints.subject-1a41068a.js} +2 -2
  210. package/dist/cjs/{config.decorator-c38efed9.js → config.decorator-de244188.js} +1 -1
  211. package/dist/cjs/{config.default-48618371.js → config.default-7e96eb95.js} +1 -1
  212. package/dist/cjs/config.utils-df30e424.js +140 -0
  213. package/dist/cjs/{date-355f73bb.js → date-ce9c7f3f.js} +1 -1
  214. package/dist/cjs/{element-states.decorator-c8199b43.js → element-states.decorator-aa5126e2.js} +1 -1
  215. package/dist/cjs/{floating-ui-3147d2ff.js → floating-ui-4a4a1aed.js} +2 -2
  216. package/dist/cjs/{floating-ui.dom.esm-2ece9686.js → floating-ui.dom.esm-13e3f667.js} +205 -77
  217. package/dist/cjs/{focus.decorator-fa6c95a5.js → focus.decorator-14a4a576.js} +1 -1
  218. package/dist/cjs/{form-input-85323470.js → form-input-e9974433.js} +1 -1
  219. package/dist/cjs/global-2a76769b.js +9 -0
  220. package/dist/cjs/{helpers-c858e965.js → helpers-debb881a.js} +1 -1
  221. package/dist/cjs/index.cjs.js +9 -9
  222. package/dist/cjs/{initialize-3059001f.js → initialize-2e8978a4.js} +3 -3
  223. package/dist/cjs/loader.cjs.js +7 -6
  224. package/dist/cjs/{mutation.decorator-229267c9.js → mutation.decorator-84b44cab.js} +1 -1
  225. package/dist/cjs/{number-047915cd.js → number-24bf265b.js} +2 -2
  226. package/dist/cjs/{overlays-f6884b7e.js → overlays-47b231bc.js} +1 -1
  227. package/dist/cjs/{resize.decorator-16e4bcd7.js → resize.decorator-e4a92322.js} +1 -1
  228. package/dist/cjs/{swipe.decorator-220cd690.js → swipe.decorator-9c105f90.js} +1 -1
  229. package/dist/cjs/{swipe.subject-65733bae.js → swipe.subject-191f7d8a.js} +1 -1
  230. package/dist/cjs/{swiper.util-62ca48ba.js → swiper.util-f1c856f3.js} +2 -2
  231. package/dist/cjs/{tokens.esm-5b22da7e.js → tokens.esm-a3e52d80.js} +1 -1
  232. package/dist/cjs/{visibility.decorator-9e162aad.js → visibility.decorator-a218aab9.js} +1 -1
  233. package/dist/cjs/{window-resize.decorator-7df80757.js → window-resize.decorator-24fd6e1e.js} +1 -1
  234. package/dist/collection/collection-manifest.json +2 -1
  235. package/dist/collection/components/bal-checkbox/radio-checkbox.css +1 -1
  236. package/dist/collection/components/bal-close/bal-close.css +1 -1
  237. package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.css +1 -1
  238. package/dist/collection/components/bal-modal/bal-modal.css +1 -1
  239. package/dist/collection/components/bal-steps/bal-steps.css +1 -1
  240. package/dist/collection/components/bal-tabs/bal-tabs.css +1 -1
  241. package/dist/collection/components/bal-time-input/bal-time-input.css +1 -1
  242. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +1 -0
  243. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +247 -0
  244. package/dist/collection/utils/constants/icons.constant.js +27 -27
  245. package/dist/collection/utils/constants/version.constant.js +1 -1
  246. package/dist/esm/{animation.decorator-14b892ea.js → animation.decorator-49923a4a.js} +1 -1
  247. package/dist/esm/app-globals-1ecf000f.js +5 -0
  248. package/dist/esm/bal-accordion_4.entry.js +5 -5
  249. package/dist/esm/bal-app.entry.js +2 -2
  250. package/dist/esm/bal-button_2.entry.js +2 -2
  251. package/dist/esm/bal-carousel_2.entry.js +14 -14
  252. package/dist/esm/bal-checkbox-button.entry.js +4 -4
  253. package/dist/esm/bal-checkbox_2.entry.js +6 -6
  254. package/dist/esm/bal-close.entry.js +4 -4
  255. package/dist/esm/bal-date-calendar-cell.entry.js +3 -3
  256. package/dist/esm/bal-date-calendar_2.entry.js +9 -9
  257. package/dist/esm/bal-date.entry.js +7 -7
  258. package/dist/esm/bal-doc-app.entry.js +229 -0
  259. package/dist/esm/bal-dropdown.entry.js +6 -6
  260. package/dist/esm/bal-field_5.entry.js +3 -3
  261. package/dist/esm/bal-file-upload.entry.js +3 -3
  262. package/dist/esm/bal-footer.entry.js +4 -4
  263. package/dist/esm/bal-form.entry.js +2 -2
  264. package/dist/esm/bal-hint_5.entry.js +6 -6
  265. package/dist/esm/bal-icon.entry.js +3 -3
  266. package/dist/esm/bal-input-slider.entry.js +3 -3
  267. package/dist/esm/bal-input-stepper.entry.js +6 -6
  268. package/dist/esm/bal-input.entry.js +3 -3
  269. package/dist/esm/bal-label.entry.js +3 -3
  270. package/dist/esm/bal-list_8.entry.js +9 -9
  271. package/dist/esm/bal-logo.entry.js +6 -6
  272. package/dist/esm/bal-modal_3.entry.js +4 -4
  273. package/dist/esm/bal-nav_8.entry.js +9 -9
  274. package/dist/esm/bal-navbar_5.entry.js +7 -7
  275. package/dist/esm/bal-number-input.entry.js +6 -6
  276. package/dist/esm/bal-option_2.entry.js +4 -4
  277. package/dist/esm/bal-pagination.entry.js +7 -7
  278. package/dist/esm/bal-popup.entry.js +4 -4
  279. package/dist/esm/bal-progress-bar.entry.js +6 -6
  280. package/dist/esm/bal-radio-button.entry.js +4 -4
  281. package/dist/esm/bal-radio_2.entry.js +6 -6
  282. package/dist/esm/bal-segment_2.entry.js +10 -10
  283. package/dist/esm/bal-select_2.entry.js +3 -3
  284. package/dist/esm/bal-shape.entry.js +1 -1
  285. package/dist/esm/bal-spinner.entry.js +4 -4
  286. package/dist/esm/bal-stage_6.entry.js +2 -2
  287. package/dist/esm/bal-steps.entry.js +8 -8
  288. package/dist/esm/bal-tab-item_2.entry.js +16 -16
  289. package/dist/esm/bal-textarea.entry.js +3 -3
  290. package/dist/esm/bal-time-input.entry.js +6 -6
  291. package/dist/esm/bal-tooltip.entry.js +3 -3
  292. package/dist/esm/baloise-design-system.js +7 -6
  293. package/dist/esm/{breakpoints.decorator-f76a33a3.js → breakpoints.decorator-051b2b3a.js} +1 -1
  294. package/dist/esm/{breakpoints.subject-5790fdca.js → breakpoints.subject-23ffb8e4.js} +2 -2
  295. package/dist/esm/{config.decorator-09912ddf.js → config.decorator-42dba864.js} +1 -1
  296. package/dist/esm/{config.default-75703209.js → config.default-8e11a860.js} +1 -1
  297. package/dist/esm/config.utils-cd529084.js +101 -0
  298. package/dist/esm/{date-13fc5993.js → date-a9304ff8.js} +1 -1
  299. package/dist/esm/{element-states.decorator-4567881f.js → element-states.decorator-0688a178.js} +1 -1
  300. package/dist/esm/{floating-ui-90bc6e58.js → floating-ui-775ee3d1.js} +2 -2
  301. package/dist/esm/{floating-ui.dom.esm-8dcdb8d6.js → floating-ui.dom.esm-efb93616.js} +205 -77
  302. package/dist/esm/{focus.decorator-43ea59ca.js → focus.decorator-5575312f.js} +1 -1
  303. package/dist/esm/{form-input-3856ed2a.js → form-input-263e6f5b.js} +1 -1
  304. package/dist/esm/global-6e86728b.js +7 -0
  305. package/dist/esm/{helpers-ae0db1dd.js → helpers-94c3fbac.js} +1 -1
  306. package/dist/esm/index.js +11 -11
  307. package/dist/esm/{initialize-66a526c0.js → initialize-be160cc4.js} +3 -3
  308. package/dist/esm/loader.js +7 -6
  309. package/dist/esm/{mutation.decorator-f4254690.js → mutation.decorator-a8bfa55f.js} +1 -1
  310. package/dist/esm/{number-42482e68.js → number-d75635a2.js} +2 -2
  311. package/dist/esm/{overlays-df27551b.js → overlays-4cc504b6.js} +1 -1
  312. package/dist/esm/{resize.decorator-d4cbf627.js → resize.decorator-08f6286b.js} +1 -1
  313. package/dist/esm/{swipe.decorator-47bde191.js → swipe.decorator-902c4936.js} +1 -1
  314. package/dist/esm/{swipe.subject-51271b9b.js → swipe.subject-fbdb665a.js} +1 -1
  315. package/dist/esm/{swiper.util-9564f1e8.js → swiper.util-01fa2dd9.js} +2 -2
  316. package/dist/esm/{tokens.esm-a16bc6a3.js → tokens.esm-4a06e147.js} +1 -1
  317. package/dist/esm/{visibility.decorator-28c2d364.js → visibility.decorator-ee4b6682.js} +1 -1
  318. package/dist/esm/{window-resize.decorator-159d2aac.js → window-resize.decorator-9271bddd.js} +1 -1
  319. package/dist/esm-es5/{animation.decorator-14b892ea.js → animation.decorator-49923a4a.js} +1 -1
  320. package/dist/esm-es5/app-globals-1ecf000f.js +1 -0
  321. package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
  322. package/dist/esm-es5/bal-app.entry.js +1 -1
  323. package/dist/esm-es5/bal-button_2.entry.js +1 -1
  324. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  325. package/dist/esm-es5/bal-checkbox-button.entry.js +1 -1
  326. package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
  327. package/dist/esm-es5/bal-close.entry.js +1 -1
  328. package/dist/esm-es5/bal-date-calendar-cell.entry.js +1 -1
  329. package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
  330. package/dist/esm-es5/bal-date.entry.js +1 -1
  331. package/dist/esm-es5/bal-doc-app.entry.js +1 -0
  332. package/dist/esm-es5/bal-dropdown.entry.js +1 -1
  333. package/dist/esm-es5/bal-field_5.entry.js +1 -1
  334. package/dist/esm-es5/bal-file-upload.entry.js +1 -1
  335. package/dist/esm-es5/bal-footer.entry.js +1 -1
  336. package/dist/esm-es5/bal-form.entry.js +1 -1
  337. package/dist/esm-es5/bal-hint_5.entry.js +1 -1
  338. package/dist/esm-es5/bal-icon.entry.js +1 -1
  339. package/dist/esm-es5/bal-input-slider.entry.js +1 -1
  340. package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
  341. package/dist/esm-es5/bal-input.entry.js +1 -1
  342. package/dist/esm-es5/bal-label.entry.js +1 -1
  343. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  344. package/dist/esm-es5/bal-logo.entry.js +1 -1
  345. package/dist/esm-es5/bal-modal_3.entry.js +1 -1
  346. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  347. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  348. package/dist/esm-es5/bal-number-input.entry.js +1 -1
  349. package/dist/esm-es5/bal-option_2.entry.js +1 -1
  350. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  351. package/dist/esm-es5/bal-popup.entry.js +1 -1
  352. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  353. package/dist/esm-es5/bal-radio-button.entry.js +1 -1
  354. package/dist/esm-es5/bal-radio_2.entry.js +1 -1
  355. package/dist/esm-es5/bal-segment_2.entry.js +1 -1
  356. package/dist/esm-es5/bal-select_2.entry.js +1 -1
  357. package/dist/esm-es5/bal-shape.entry.js +1 -1
  358. package/dist/esm-es5/bal-spinner.entry.js +1 -1
  359. package/dist/esm-es5/bal-stage_6.entry.js +1 -1
  360. package/dist/esm-es5/bal-steps.entry.js +1 -1
  361. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  362. package/dist/esm-es5/bal-textarea.entry.js +1 -1
  363. package/dist/esm-es5/bal-time-input.entry.js +1 -1
  364. package/dist/esm-es5/bal-tooltip.entry.js +1 -1
  365. package/dist/esm-es5/baloise-design-system.js +1 -1
  366. package/dist/esm-es5/breakpoints.decorator-051b2b3a.js +1 -0
  367. package/dist/esm-es5/{breakpoints.subject-5790fdca.js → breakpoints.subject-23ffb8e4.js} +1 -1
  368. package/dist/esm-es5/{config.decorator-09912ddf.js → config.decorator-42dba864.js} +1 -1
  369. package/dist/esm-es5/{config.default-75703209.js → config.default-8e11a860.js} +1 -1
  370. package/dist/esm-es5/{date-13fc5993.js → date-a9304ff8.js} +1 -1
  371. package/dist/esm-es5/{element-states.decorator-4567881f.js → element-states.decorator-0688a178.js} +1 -1
  372. package/dist/esm-es5/{floating-ui-90bc6e58.js → floating-ui-775ee3d1.js} +1 -1
  373. package/dist/esm-es5/floating-ui.dom.esm-efb93616.js +1 -0
  374. package/dist/esm-es5/{focus.decorator-43ea59ca.js → focus.decorator-5575312f.js} +1 -1
  375. package/dist/esm-es5/{form-input-3856ed2a.js → form-input-263e6f5b.js} +1 -1
  376. package/dist/esm-es5/global-6e86728b.js +1 -0
  377. package/dist/esm-es5/{helpers-ae0db1dd.js → helpers-94c3fbac.js} +1 -1
  378. package/dist/esm-es5/index.js +1 -1
  379. package/dist/esm-es5/{initialize-66a526c0.js → initialize-be160cc4.js} +1 -1
  380. package/dist/esm-es5/loader.js +1 -1
  381. package/dist/esm-es5/{mutation.decorator-f4254690.js → mutation.decorator-a8bfa55f.js} +1 -1
  382. package/dist/esm-es5/number-d75635a2.js +1 -0
  383. package/dist/esm-es5/{overlays-df27551b.js → overlays-4cc504b6.js} +1 -1
  384. package/dist/esm-es5/{resize.decorator-d4cbf627.js → resize.decorator-08f6286b.js} +1 -1
  385. package/dist/esm-es5/{swipe.decorator-47bde191.js → swipe.decorator-902c4936.js} +1 -1
  386. package/dist/esm-es5/{swipe.subject-51271b9b.js → swipe.subject-fbdb665a.js} +1 -1
  387. package/dist/esm-es5/{swiper.util-9564f1e8.js → swiper.util-01fa2dd9.js} +1 -1
  388. package/dist/esm-es5/{visibility.decorator-28c2d364.js → visibility.decorator-ee4b6682.js} +1 -1
  389. package/dist/esm-es5/{window-resize.decorator-159d2aac.js → window-resize.decorator-9271bddd.js} +1 -1
  390. package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +21 -0
  391. package/dist/types/components.d.ts +37 -0
  392. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +82 -0
  393. package/package.json +6 -8
  394. package/dist/baloise-design-system/p-00b2c8e27d.entry.js +0 -1
  395. package/dist/baloise-design-system/p-195ee683.system.js +0 -1
  396. package/dist/baloise-design-system/p-2e8941a17f.entry.js +0 -1
  397. package/dist/baloise-design-system/p-31876153a5.entry.js +0 -1
  398. package/dist/baloise-design-system/p-35baa468.js +0 -1
  399. package/dist/baloise-design-system/p-36218e79.js +0 -1
  400. package/dist/baloise-design-system/p-367855fbaa.system.entry.js +0 -1
  401. package/dist/baloise-design-system/p-36c4bd2450.system.entry.js +0 -1
  402. package/dist/baloise-design-system/p-51e22c0c.js +0 -1
  403. package/dist/baloise-design-system/p-649e542e.system.js +0 -1
  404. package/dist/baloise-design-system/p-857f898475.system.entry.js +0 -1
  405. package/dist/baloise-design-system/p-95055e88.system.js +0 -1
  406. package/dist/baloise-design-system/p-9d2037e834.system.entry.js +0 -1
  407. package/dist/baloise-design-system/p-c6f5e9453a.system.entry.js +0 -1
  408. package/dist/baloise-design-system/p-ce3c6e67ba.system.entry.js +0 -1
  409. package/dist/baloise-design-system/p-d404537f.system.js +0 -1
  410. package/dist/baloise-design-system/p-dc330e5e21.entry.js +0 -1
  411. package/dist/baloise-design-system/p-e2a70f10.system.js +0 -1
  412. package/dist/cjs/app-globals-fa3c14cc.js +0 -11
  413. package/dist/cjs/config.utils-bccf141d.js +0 -140
  414. package/dist/esm/app-globals-5b18a75c.js +0 -9
  415. package/dist/esm/config.utils-6c4a6204.js +0 -101
  416. package/dist/esm-es5/app-globals-5b18a75c.js +0 -1
  417. package/dist/esm-es5/breakpoints.decorator-f76a33a3.js +0 -1
  418. package/dist/esm-es5/floating-ui.dom.esm-8dcdb8d6.js +0 -1
  419. package/dist/esm-es5/number-42482e68.js +0 -1
  420. /package/dist/baloise-design-system/{p-46251973.js → p-a7be57b6.js} +0 -0
  421. /package/dist/baloise-design-system/{p-8c67c79d.system.js → p-aad0d922.system.js} +0 -0
  422. /package/dist/baloise-design-system/{p-ef3bfa9f.system.js → p-ade9437f.system.js} +0 -0
  423. /package/dist/baloise-design-system/{p-ce5ab69a.js → p-e036423e.js} +0 -0
  424. /package/dist/esm-es5/{config.utils-6c4a6204.js → config.utils-cd529084.js} +0 -0
  425. /package/dist/esm-es5/{tokens.esm-a16bc6a3.js → tokens.esm-4a06e147.js} +0 -0
@@ -0,0 +1 @@
1
+ const t=["top","right","bottom","left"],n=["start","end"],e=t.reduce(((t,e)=>t.concat(e,e+"-"+n[0],e+"-"+n[1])),[]),r=Math.min,o=Math.max,i=Math.round,l=Math.floor,a=t=>({x:t,y:t}),c={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function u(t,n,e){return o(t,r(n,e))}function f(t,n){return"function"==typeof t?t(n):t}function d(t){return t.split("-")[0]}function m(t){return t.split("-")[1]}function p(t){return"x"===t?"y":"x"}function h(t){return"y"===t?"height":"width"}function y(t){return["top","bottom"].includes(d(t))?"y":"x"}function w(t){return p(y(t))}function g(t,n,e){void 0===e&&(e=!1);const r=m(t),o=w(t),i=h(o);let l="x"===o?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return n.reference[i]>n.floating[i]&&(l=v(l)),[l,v(l)]}function x(t){return t.replace(/start|end/g,(t=>s[t]))}function v(t){return t.replace(/left|right|bottom|top/g,(t=>c[t]))}function b(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function A(t){const{x:n,y:e,width:r,height:o}=t;return{width:r,height:o,top:e,left:n,right:n+r,bottom:e+o,x:n,y:e}}function R(t,n,e){let{reference:r,floating:o}=t;const i=y(n),l=w(n),a=h(l),c=d(n),s="y"===i,u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,p=r[a]/2-o[a]/2;let g;switch(c){case"top":g={x:u,y:r.y-o.height};break;case"bottom":g={x:u,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:f};break;case"left":g={x:r.x-o.width,y:f};break;default:g={x:r.x,y:r.y}}switch(m(n)){case"start":g[l]-=p*(e&&s?-1:1);break;case"end":g[l]+=p*(e&&s?-1:1)}return g}async function S(t,n){var e;void 0===n&&(n={});const{x:r,y:o,platform:i,rects:l,elements:a,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:m=!1,padding:p=0}=f(n,t),h=b(p),y=a[m?"floating"===d?"reference":"floating":d],w=A(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(y)))||e?y:y.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:s,rootBoundary:u,strategy:c})),g="floating"===d?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),v=await(null==i.isElement?void 0:i.isElement(x))&&await(null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},R=A(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:x,strategy:c}):g);return{top:(w.top-R.top+h.top)/v.y,bottom:(R.bottom-w.bottom+h.bottom)/v.y,left:(w.left-R.left+h.left)/v.x,right:(R.right-w.right+h.right)/v.x}}function O(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function k(n){return t.some((t=>n[t]>=0))}function F(t){const n=r(...t.map((t=>t.left))),e=r(...t.map((t=>t.top)));return{x:n,y:e,width:o(...t.map((t=>t.right)))-n,height:o(...t.map((t=>t.bottom)))-e}}function D(){return"undefined"!=typeof window}function P(t){return z(t)?(t.nodeName||"").toLowerCase():"#document"}function T(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function C(t){var n;return null==(n=(z(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function z(t){return!!D()&&(t instanceof Node||t instanceof T(t).Node)}function B(t){return!!D()&&(t instanceof Element||t instanceof T(t).Element)}function H(t){return!!D()&&(t instanceof HTMLElement||t instanceof T(t).HTMLElement)}function M(t){return!(!D()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof T(t).ShadowRoot)}function L(t){const{overflow:n,overflowX:e,overflowY:r,display:o}=W(t);return/auto|scroll|overlay|hidden|clip/.test(n+r+e)&&!["inline","contents"].includes(o)}function E(t){return["table","td","th"].includes(P(t))}function I(t){return[":popover-open",":modal"].some((n=>{try{return t.matches(n)}catch(t){return!1}}))}function N(t){const n=j(),e=B(t)?W(t):t;return["transform","translate","scale","rotate","perspective"].some((t=>!!e[t]&&"none"!==e[t]))||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","translate","scale","rotate","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function j(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function q(t){return["html","body","#document"].includes(P(t))}function W(t){return T(t).getComputedStyle(t)}function $(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function V(t){if("html"===P(t))return t;const n=t.assignedSlot||t.parentNode||M(t)&&t.host||C(t);return M(n)?n.host:n}function X(t){const n=V(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:H(n)&&L(n)?n:X(n)}function Y(t,n,e){var r;void 0===n&&(n=[]),void 0===e&&(e=!0);const o=X(t),i=o===(null==(r=t.ownerDocument)?void 0:r.body),l=T(o);if(i){const t=_(l);return n.concat(l,l.visualViewport||[],L(o)?o:[],t&&e?Y(t):[])}return n.concat(o,Y(o,[],e))}function _(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function G(t){const n=W(t);let e=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const o=H(t),l=o?t.offsetWidth:e,a=o?t.offsetHeight:r,c=i(e)!==l||i(r)!==a;return c&&(e=l,r=a),{width:e,height:r,$:c}}function J(t){return B(t)?t:t.contextElement}function K(t){const n=J(t);if(!H(n))return a(1);const e=n.getBoundingClientRect(),{width:r,height:o,$:l}=G(n);let c=(l?i(e.width):e.width)/r,s=(l?i(e.height):e.height)/o;return c&&Number.isFinite(c)||(c=1),s&&Number.isFinite(s)||(s=1),{x:c,y:s}}const Q=a(0);function U(t){const n=T(t);return j()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:Q}function Z(t,n,e,r){void 0===n&&(n=!1),void 0===e&&(e=!1);const o=t.getBoundingClientRect(),i=J(t);let l=a(1);n&&(r?B(r)&&(l=K(r)):l=K(t));const c=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==T(t))&&n}(i,e,r)?U(i):a(0);let s=(o.left+c.x)/l.x,u=(o.top+c.y)/l.y,f=o.width/l.x,d=o.height/l.y;if(i){const t=T(i),n=r&&B(r)?T(r):r;let e=t,o=_(e);for(;o&&r&&n!==e;){const t=K(o),n=o.getBoundingClientRect(),r=W(o),i=n.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,l=n.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;s*=t.x,u*=t.y,f*=t.x,d*=t.y,s+=i,u+=l,e=T(o),o=_(e)}}return A({width:f,height:d,x:s,y:u})}function tt(t,n){const e=$(t).scrollLeft;return n?n.left+e:Z(C(t)).left+e}function nt(t,n,e){void 0===e&&(e=!1);const r=t.getBoundingClientRect();return{x:r.left+n.scrollLeft-(e?0:tt(t,r)),y:r.top+n.scrollTop}}function et(t,n,e){let r;if("viewport"===n)r=function(t,n){const e=T(t),r=C(t),o=e.visualViewport;let i=r.clientWidth,l=r.clientHeight,a=0,c=0;if(o){i=o.width,l=o.height;const t=j();(!t||t&&"fixed"===n)&&(a=o.offsetLeft,c=o.offsetTop)}return{width:i,height:l,x:a,y:c}}(t,e);else if("document"===n)r=function(t){const n=C(t),e=$(t),r=t.ownerDocument.body,i=o(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),l=o(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+tt(t);const c=-e.scrollTop;return"rtl"===W(r).direction&&(a+=o(n.clientWidth,r.clientWidth)-i),{width:i,height:l,x:a,y:c}}(C(t));else if(B(n))r=function(t,n){const e=Z(t,!0,"fixed"===n),r=e.top+t.clientTop,o=e.left+t.clientLeft,i=H(t)?K(t):a(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:o*i.x,y:r*i.y}}(n,e);else{const e=U(t);r={x:n.x-e.x,y:n.y-e.y,width:n.width,height:n.height}}return A(r)}function rt(t,n){const e=V(t);return!(e===n||!B(e)||q(e))&&("fixed"===W(e).position||rt(e,n))}function ot(t,n,e){const r=H(n),o=C(n),i="fixed"===e,l=Z(t,!0,i,n);let c={scrollLeft:0,scrollTop:0};const s=a(0);if(r||!r&&!i)if(("body"!==P(n)||L(o))&&(c=$(n)),r){const t=Z(n,!0,i,n);s.x=t.x+n.clientLeft,s.y=t.y+n.clientTop}else o&&(s.x=tt(o));const u=!o||r||i?a(0):nt(o,c);return{x:l.left+c.scrollLeft-s.x-u.x,y:l.top+c.scrollTop-s.y-u.y,width:l.width,height:l.height}}function it(t){return"static"===W(t).position}function lt(t,n){if(!H(t)||"fixed"===W(t).position)return null;if(n)return n(t);let e=t.offsetParent;return C(t)===e&&(e=e.ownerDocument.body),e}function at(t,n){const e=T(t);if(I(t))return e;if(!H(t)){let n=V(t);for(;n&&!q(n);){if(B(n)&&!it(n))return n;n=V(n)}return e}let r=lt(t,n);for(;r&&E(r)&&it(r);)r=lt(r,n);return r&&q(r)&&it(r)&&!N(r)?e:r||function(t){let n=V(t);for(;H(n)&&!q(n);){if(N(n))return n;if(I(n))return null;n=V(n)}return null}(t)||e}const ct={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:n,rect:e,offsetParent:r,strategy:o}=t;const i="fixed"===o,l=C(r),c=!!n&&I(n.floating);if(r===l||c&&i)return e;let s={scrollLeft:0,scrollTop:0},u=a(1);const f=a(0),d=H(r);if((d||!d&&!i)&&(("body"!==P(r)||L(l))&&(s=$(r)),H(r))){const t=Z(r);u=K(r),f.x=t.x+r.clientLeft,f.y=t.y+r.clientTop}const m=!l||d||i?a(0):nt(l,s,!0);return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-s.scrollLeft*u.x+f.x+m.x,y:e.y*u.y-s.scrollTop*u.y+f.y+m.y}},getDocumentElement:C,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:i,strategy:l}=t;const a=[..."clippingAncestors"===e?I(n)?[]:function(t,n){const e=n.get(t);if(e)return e;let r=Y(t,[],!1).filter((t=>B(t)&&"body"!==P(t))),o=null;const i="fixed"===W(t).position;let l=i?V(t):t;for(;B(l)&&!q(l);){const n=W(l),e=N(l);e||"fixed"!==n.position||(o=null),(i?!e&&!o:!e&&"static"===n.position&&o&&["absolute","fixed"].includes(o.position)||L(l)&&!e&&rt(t,l))?r=r.filter((t=>t!==l)):o=n,l=V(l)}return n.set(t,r),r}(n,this._c):[].concat(e),i],c=a.reduce(((t,e)=>{const i=et(n,e,l);return t.top=o(i.top,t.top),t.right=r(i.right,t.right),t.bottom=r(i.bottom,t.bottom),t.left=o(i.left,t.left),t}),et(n,a[0],l));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:at,getElementRects:async function(t){const n=this.getOffsetParent||at,e=this.getDimensions,r=await e(t.floating);return{reference:ot(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:n,height:e}=G(t);return{width:n,height:e}},getScale:K,isElement:B,isRTL:function(t){return"rtl"===W(t).direction}};function st(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function ut(t,n,e,i){void 0===i&&(i={});const{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=i,d=J(t),m=a||c?[...d?Y(d):[],...Y(n)]:[];m.forEach((t=>{a&&t.addEventListener("scroll",e,{passive:!0}),c&&t.addEventListener("resize",e)}));const p=d&&u?function(t,n){let e,i=null;const a=C(t);function c(){var t;clearTimeout(e),null==(t=i)||t.disconnect(),i=null}return function s(u,f){void 0===u&&(u=!1),void 0===f&&(f=1),c();const d=t.getBoundingClientRect(),{left:m,top:p,width:h,height:y}=d;if(u||n(),!h||!y)return;const w={rootMargin:-l(p)+"px "+-l(a.clientWidth-(m+h))+"px "+-l(a.clientHeight-(p+y))+"px "+-l(m)+"px",threshold:o(0,r(1,f))||1};let g=!0;function x(n){const r=n[0].intersectionRatio;if(r!==f){if(!g)return s();r?s(!1,r):e=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==r||st(d,t.getBoundingClientRect())||s(),g=!1}try{i=new IntersectionObserver(x,{...w,root:a.ownerDocument})}catch(t){i=new IntersectionObserver(x,w)}i.observe(t)}(!0),c}(d,e):null;let h,y=-1,w=null;s&&(w=new ResizeObserver((t=>{let[r]=t;r&&r.target===d&&w&&(w.unobserve(n),cancelAnimationFrame(y),y=requestAnimationFrame((()=>{var t;null==(t=w)||t.observe(n)}))),e()})),d&&!f&&w.observe(d),w.observe(n));let g=f?Z(t):null;return f&&function n(){const r=Z(t);g&&!st(g,r)&&e(),g=r,h=requestAnimationFrame(n)}(),e(),()=>{var t;m.forEach((t=>{a&&t.removeEventListener("scroll",e),c&&t.removeEventListener("resize",e)})),null==p||p(),null==(t=w)||t.disconnect(),w=null,f&&cancelAnimationFrame(h)}}const ft=S,dt=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,r;const{x:o,y:i,placement:l,middlewareData:a}=n,c=await async function(t,n){const{placement:e,platform:r,elements:o}=t,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),l=d(e),a=m(e),c="y"===y(e),s=["left","top"].includes(l)?-1:1,u=i&&c?-1:1,p=f(n,t);let{mainAxis:h,crossAxis:w,alignmentAxis:g}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return a&&"number"==typeof g&&(w="end"===a?-1*g:g),c?{x:w*u,y:h*s}:{x:h*s,y:w*u}}(n,t);return l===(null==(e=a.offset)?void 0:e.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:l}}}}},mt=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var r,o,i;const{rects:l,middlewareData:a,placement:c,platform:s,elements:u}=n,{crossAxis:p=!1,alignment:h,allowedPlacements:y=e,autoAlignment:w=!0,...v}=f(t,n),b=void 0!==h||y===e?function(t,n,e){return(t?[...e.filter((n=>m(n)===t)),...e.filter((n=>m(n)!==t))]:e.filter((t=>d(t)===t))).filter((e=>!t||m(e)===t||!!n&&x(e)!==e))}(h||null,w,y):y,A=await S(n,v),R=(null==(r=a.autoPlacement)?void 0:r.index)||0,O=b[R];if(null==O)return{};const k=g(O,l,await(null==s.isRTL?void 0:s.isRTL(u.floating)));if(c!==O)return{reset:{placement:b[0]}};const F=[A[d(O)],A[k[0]],A[k[1]]],D=[...(null==(o=a.autoPlacement)?void 0:o.overflows)||[],{placement:O,overflows:F}],P=b[R+1];if(P)return{data:{index:R+1,overflows:D},reset:{placement:P}};const T=D.map((t=>{const n=m(t.placement);return[t.placement,n&&p?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),C=(null==(i=T.filter((t=>t[2].slice(0,m(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||T[0][0];return C!==c?{data:{index:R+1,overflows:D},reset:{placement:C}}:{}}}},pt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:r,placement:o}=n,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...c}=f(t,n),s={x:e,y:r},m=await S(n,c),h=y(d(o)),w=p(h);let g=s[w],x=s[h];i&&(g=u(g+m["y"===w?"top":"left"],g,g-m["y"===w?"bottom":"right"])),l&&(x=u(x+m["y"===h?"top":"left"],x,x-m["y"===h?"bottom":"right"]));const v=a.fn({...n,[w]:g,[h]:x});return{...v,data:{x:v.x-e,y:v.y-r,enabled:{[w]:i,[h]:l}}}}}},ht=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,r;const{placement:o,middlewareData:i,rects:l,initialPlacement:a,platform:c,elements:s}=n,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:h,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:A=!0,...R}=f(t,n);if(null!=(e=i.arrow)&&e.alignmentOffset)return{};const O=d(o),k=y(a),F=d(a)===a,D=await(null==c.isRTL?void 0:c.isRTL(s.floating)),P=h||(F||!A?[v(a)]:function(t){const n=v(t);return[x(t),n,x(n)]}(a)),T="none"!==b;!h&&T&&P.push(...function(t,n,e,r){const o=m(t);let i=function(t,n,e){const r=["left","right"],o=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(t){case"top":case"bottom":return e?n?o:r:n?r:o;case"left":case"right":return n?i:l;default:return[]}}(d(t),"start"===e,r);return o&&(i=i.map((t=>t+"-"+o)),n&&(i=i.concat(i.map(x)))),i}(a,A,b,D));const C=[a,...P],z=await S(n,R),B=[];let H=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&B.push(z[O]),p){const t=g(o,l,D);B.push(z[t[0]],z[t[1]])}if(H=[...H,{placement:o,overflows:B}],!B.every((t=>t<=0))){var M,L;const t=((null==(M=i.flip)?void 0:M.index)||0)+1,n=C[t];if(n)return{data:{index:t,overflows:H},reset:{placement:n}};let e=null==(L=H.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:L.placement;if(!e)switch(w){case"bestFit":{var E;const t=null==(E=H.filter((t=>{if(T){const n=y(t.placement);return n===k||"y"===n}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:E[0];t&&(e=t);break}case"initialPlacement":e=a}if(o!==e)return{reset:{placement:e}}}return{}}}},yt=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(n){var e,i;const{placement:l,rects:a,platform:c,elements:s}=n,{apply:u=(()=>{}),...p}=f(t,n),h=await S(n,p),w=d(l),g=m(l),x="y"===y(l),{width:v,height:b}=a.floating;let A,R;"top"===w||"bottom"===w?(A=w,R=g===(await(null==c.isRTL?void 0:c.isRTL(s.floating))?"start":"end")?"left":"right"):(R=w,A="end"===g?"top":"bottom");const O=b-h.top-h.bottom,k=v-h.left-h.right;let F=r(b-h[A],O),D=r(v-h[R],k);if(null!=(e=n.middlewareData.shift)&&e.enabled.x&&(D=k),null!=(i=n.middlewareData.shift)&&i.enabled.y&&(F=O),!n.middlewareData.shift&&!g){const t=o(h.left,0),n=o(h.right,0),e=o(h.top,0),r=o(h.bottom,0);x?D=v-2*(0!==t||0!==n?t+n:o(h.left,h.right)):F=b-2*(0!==e||0!==r?e+r:o(h.top,h.bottom))}await u({...n,availableWidth:D,availableHeight:F});const P=await c.getDimensions(s.floating);return v!==P.width||b!==P.height?{reset:{rects:!0}}:{}}}},wt=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:r="referenceHidden",...o}=f(t,n);switch(r){case"referenceHidden":{const t=O(await S(n,{...o,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:k(t)}}}case"escaped":{const t=O(await S(n,{...o,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:k(t)}}}default:return{}}}}},gt=t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:i,rects:l,platform:a,elements:c,middlewareData:s}=n,{element:d,padding:p=0}=f(t,n)||{};if(null==d)return{};const y=b(p),g={x:e,y:o},x=w(i),v=h(x),A=await a.getDimensions(d),R="y"===x,S=R?"top":"left",O=R?"bottom":"right",k=R?"clientHeight":"clientWidth",F=l.reference[v]+l.reference[x]-g[x]-l.floating[v],D=g[x]-l.reference[x],P=await(null==a.getOffsetParent?void 0:a.getOffsetParent(d));let T=P?P[k]:0;T&&await(null==a.isElement?void 0:a.isElement(P))||(T=c.floating[k]||l.floating[v]);const C=F/2-D/2,z=T/2-A[v]/2-1,B=r(y[S],z),H=r(y[O],z),M=B,L=T-A[v]-H,E=T/2-A[v]/2+C,I=u(M,E,L),N=!s.arrow&&null!=m(i)&&E!==I&&l.reference[v]/2-(E<M?B:H)-A[v]/2<0,j=N?E<M?E-M:E-L:0;return{[x]:g[x]+j,data:{[x]:I,centerOffset:E-I-j,...N&&{alignmentOffset:j}},reset:N}}}),xt=function(t){return void 0===t&&(t={}),{name:"inline",options:t,async fn(n){const{placement:e,elements:i,rects:l,platform:a,strategy:c}=n,{padding:s=2,x:u,y:m}=f(t,n),p=Array.from(await(null==a.getClientRects?void 0:a.getClientRects(i.reference))||[]),h=function(t){const n=t.slice().sort(((t,n)=>t.y-n.y)),e=[];let r=null;for(let t=0;t<n.length;t++){const o=n[t];!r||o.y-r.y>r.height/2?e.push([o]):e[e.length-1].push(o),r=o}return e.map((t=>A(F(t))))}(p),w=A(F(p)),g=b(s),x=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===h.length&&h[0].left>h[1].right&&null!=u&&null!=m)return h.find((t=>u>t.left-g.left&&u<t.right+g.right&&m>t.top-g.top&&m<t.bottom+g.bottom))||w;if(h.length>=2){if("y"===y(e)){const t=h[0],n=h[h.length-1],r="top"===d(e),o=t.top,i=n.bottom,l=r?t.left:n.left,a=r?t.right:n.right;return{top:o,bottom:i,left:l,right:a,width:a-l,height:i-o,x:l,y:o}}const t="left"===d(e),n=o(...h.map((t=>t.right))),i=r(...h.map((t=>t.left))),l=h.filter((e=>t?e.left===i:e.right===n)),a=l[0].top,c=l[l.length-1].bottom;return{top:a,bottom:c,left:i,right:n,width:n-i,height:c-a,x:i,y:a}}return w}},floating:i.floating,strategy:c});return l.reference.x!==x.reference.x||l.reference.y!==x.reference.y||l.reference.width!==x.reference.width||l.reference.height!==x.reference.height?{reset:{rects:x}}:{}}}},vt=function(t){return void 0===t&&(t={}),{options:t,fn(n){const{x:e,y:r,placement:o,rects:i,middlewareData:l}=n,{offset:a=0,mainAxis:c=!0,crossAxis:s=!0}=f(t,n),u={x:e,y:r},m=y(o),h=p(m);let w=u[h],g=u[m];const x=f(a,n),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(c){const t="y"===h?"height":"width",n=i.reference[h]-i.floating[t]+v.mainAxis,e=i.reference[h]+i.reference[t]-v.mainAxis;w<n?w=n:w>e&&(w=e)}if(s){var b,A;const t="y"===h?"width":"height",n=["top","left"].includes(d(o)),e=i.reference[m]-i.floating[t]+(n&&(null==(b=l.offset)?void 0:b[m])||0)+(n?0:v.crossAxis),r=i.reference[m]+i.reference[t]+(n?0:(null==(A=l.offset)?void 0:A[m])||0)-(n?v.crossAxis:0);g<e?g=e:g>r&&(g=r)}return{[h]:w,[m]:g}}}},bt=(t,n,e)=>{const r=new Map,o={platform:ct,...e},i={...o.platform,_c:r};return(async(t,n,e)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=e,a=i.filter(Boolean),c=await(null==l.isRTL?void 0:l.isRTL(n));let s=await l.getElementRects({reference:t,floating:n,strategy:o}),{x:u,y:f}=R(s,r,c),d=r,m={},p=0;for(let e=0;e<a.length;e++){const{name:i,fn:h}=a[e],{x:y,y:w,data:g,reset:x}=await h({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:m,rects:s,platform:l,elements:{reference:t,floating:n}});u=null!=y?y:u,f=null!=w?w:f,m={...m,[i]:{...m[i],...g}},x&&p<=50&&(p++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await l.getElementRects({reference:t,floating:n,strategy:o}):x.rects),({x:u,y:f}=R(s,d,c))),e=-1)}return{x:u,y:f,placement:d,strategy:o,middlewareData:m}})(t,n,{...o,platform:i})};export{gt as arrow,mt as autoPlacement,ut as autoUpdate,bt as computePosition,ft as detectOverflow,ht as flip,Y as getOverflowAncestors,wt as hide,xt as inline,vt as limitShift,dt as offset,ct as platform,pt as shift,yt as size}
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(t,i,e,n){function r(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,o){function a(t){try{l(n.next(t))}catch(t){o(t)}}function s(t){try{l(n["throw"](t))}catch(t){o(t)}}function l(t){t.done?e(t.value):r(t.value).then(a,s)}l((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,r,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(i){return l([t,i])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(e=0)),e)try{if(n=1,r&&(o=s[0]&2?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;if(r=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;r=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){e.label=s[1];break}if(s[0]===6&&e.label<o[1]){e.label=o[1];o=s;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(s);break}if(o[2])e.ops.pop();e.trys.pop();continue}s=i.call(t,e)}catch(t){s=[6,t];r=0}finally{n=o=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-23bdd8dc.system.js","./p-db0895e2.system.js","./p-a1f6e944.system.js","./p-ec9a7cf5.system.js","./p-195ee683.system.js","./p-5cd2674f.system.js","./p-ef3bfa9f.system.js"],(function(t){"use strict";var i,e,n,r,o,a,s,l,f,u,c,h;return{setters:[function(t){i=t.r;e=t.c;n=t.h;r=t.H;o=t.g},function(t){a=t._;s=t.a},function(t){l=t.L},function(t){f=t.B},function(t){u=t.b},function(t){c=t.b},function(t){h=t.b},function(){},function(){}],execute:function(){var b=function(t){if(t){m(t)}};var d=function(t){if(t){y(t)}};var p=function(t){if(t){m(t)}};var v=function(t){if(t){Object.assign(t.style,{left:"",top:"",display:"none",visibility:"hidden"})}};var m=function(t){if(t){t.style.setProperty("display","block");t.style.setProperty("visibility","visible")}};var y=function(t){if(t){t.style.removeProperty("display");t.style.removeProperty("visibility")}};var g=":host{--bal-tooltip-container-background:var(--bal-color-primary-6);--bal-tooltip-max-width:auto;--bal-tooltip-radius:var(--bal-radius-normal);--bal-tooltip-shadow:var(--bal-shadow-normal);--bal-tooltip-arrow-background:var(--bal-color-primary-6);--bal-tooltip-font-family:var(--bal-font-family-text);--bal-tooltip-font-size:var(--bal-text-size-small)}:host{position:static;display:inline;z-index:var(--bal-z-index-tooltip)}.bal-tooltip__container{background-color:var(--bal-tooltip-container-background);display:none;visibility:hidden;color:#fff;padding:var(--bal-space-x-small);border-radius:var(--bal-tooltip-radius);-webkit-box-shadow:var(--bal-tooltip-shadow);box-shadow:var(--bal-tooltip-shadow);width:var(--bal-tooltip-max-width);position:absolute;top:0;left:0}.bal-tooltip__inner{overflow-y:auto;max-height:calc(var(--bal-app-height, 100%) - 8rem)}.bal-tooltip__inner__content{width:100%;font-family:var(--bal-tooltip-font-family);font-size:var(--bal-tooltip-font-size)}.bal-tooltip__arrow{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:absolute;width:.5rem;height:.5rem;background:var(--bal-tooltip-arrow-background);-webkit-transform:rotate(45deg);transform:rotate(45deg);display:none;visibility:hidden}.bal-tooltip-variant-popover-trigger,.bal-tooltip-permanent-trigger{z-index:calc(var(--bal-z-index-tooltip) + 1) !important;position:relative !important}";var w=g;var _=t("bal_tooltip",function(){function t(t){i(this,t);this.balWillAnimate=e(this,"balWillAnimate",7);this.balDidAnimate=e(this,"balDidAnimate",7);this.tooltipId="bal-to-".concat(x++);this.reference="";this.placement="bottom";this.offset=0;this.demo=false;this.presented=false;this.contentWidth=undefined}t.prototype.createLogger=function(t){this.log=t};t.prototype.contentWidthChanged=function(t,i){if(t!==i){if(t===undefined){this.el.style.removeProperty("--bal-tooltip-max-width")}else{this.el.style.setProperty("--bal-tooltip-max-width","".concat(this.contentWidth,"px"))}}};t.prototype.componentDidLoad=function(){var t=this;this.contentWidthChanged(this.contentWidth,0);if(!c.hasTouchScreen){var i=[];var e=[];i=["mouseenter","focus"];e=["mouseleave","blur"];i.forEach((function(i){if(t.triggerElement){t.triggerElement.addEventListener(i,(function(){return t.present()}))}}));e.forEach((function(i){if(t.triggerElement){t.triggerElement.addEventListener(i,(function(){return t.dismiss()}))}}))}if(this.demo){this.present()}};t.prototype.present=function(){return __awaiter(this,void 0,void 0,(function(){var t,i,e;var n=this;return __generator(this,(function(r){switch(r.label){case 0:if(!this.trigger&&u.hasDocument){t=Array.from(document.querySelectorAll('[id="'.concat(this.reference,'"]')))[0];this.trigger=t}if(!(this.trigger&&this.containerEl&&this.arrowEl))return[3,2];this.balWillAnimate.emit();i=this.trigger.attributes.getNamedItem("bal-tooltip-placement");if(i){this.placement=i.value}else{this.placement=this.placement}b(this.containerEl);p(this.arrowEl);this.trigger.classList.add("bal-tooltip-trigger");this.presented=true;return[4,h.load()];case 1:e=r.sent();this.cleanup=e.autoUpdate(this.trigger,this.containerEl,(function(){n.update()}),{ancestorScroll:true,ancestorResize:true,elementResize:false,layoutShift:true,animationFrame:true});this.balDidAnimate.emit();return[2,true];case 2:return[2,false]}}))}))};t.prototype.dismiss=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.containerEl&&this.arrowEl&&this.trigger){this.balWillAnimate.emit();if(this.cleanup){this.cleanup()}this.trigger.classList.remove("bal-tooltip-trigger");d(this.containerEl);v(this.arrowEl);this.presented=false;this.balDidAnimate.emit();return[2,true]}return[2,false]}))}))};t.prototype.update=function(){return __awaiter(this,void 0,void 0,(function(){var t,i;var e=this;return __generator(this,(function(n){switch(n.label){case 0:if(!(this.trigger&&this.containerEl&&this.arrowEl))return[3,2];this.balWillAnimate.emit();t=false;if(u.hasWindow){t=!!window.frameElement}return[4,h.load()];case 1:i=n.sent();i.computePosition(this.trigger,this.containerEl,{placement:this.placement,middleware:[t?undefined:i.shift(),i.flip(),i.offset(8),i.arrow({element:this.arrowEl,padding:4})]}).then((function(t){var i;var n=t.x,r=t.y,o=t.middlewareData,a=t.placement;var s=a.split("-")[0];var l={top:"bottom",right:"left",bottom:"top",left:"right"}[s];if(e.containerEl){Object.assign(e.containerEl.style,{left:"".concat(n,"px"),top:"".concat(r,"px")})}if(o.arrow&&e.arrowEl){var f=o.arrow;Object.assign(e.arrowEl.style,(i={left:n!=null&&f.x!=null?"".concat(f.x,"px"):"",top:r!=null&&f.y!=null?"".concat(f.y,"px"):"",right:"",bottom:""},i[l]="".concat(-4,"px"),i))}}));this.balDidAnimate.emit();return[2,true];case 2:return[2,false]}}))}))};Object.defineProperty(t.prototype,"triggerElement",{get:function(){return document.querySelector('[id="'.concat(this.reference,'"]'))},enumerable:false,configurable:true});t.prototype.render=function(){var t=this;var i=f.block("tooltip");var e=i.element("container");var o=i.element("arrow");var a=i.element("inner");var s=a.element("content");return n(r,{key:"ef11e4afbe94c9774a454492f01af37e2b93eb0f",class:Object.assign({},i.class()),role:"dialog","aria-hidden":"".concat(this.presented!==true),"aria-modal":"".concat(this.presented===true),"aria-presented":"".concat(this.presented===true)},n("div",{key:"57a5230cd9eee9432ff89f1f364d80ce269bb39f",class:Object.assign({},e.class()),ref:function(i){return t.containerEl=i}},n("div",{key:"74f937a44fd8f351b927ecbf65aaff96a189bb46",class:Object.assign({},o.class()),ref:function(i){return t.arrowEl=i}}),n("bal-stack",{key:"d584971c597f26146b708c1de2e4e754b366985e",layout:"vertical",class:Object.assign({},a.class())},n("div",{key:"9c97ab311f6eb09aa7541be2d3b96bd2ee7e8176",class:Object.assign({},s.class()),ref:function(i){return t.contentEl=i},"data-test":"bal-tooltip-content"},n("slot",{key:"fb6ba928160835155e0fcb8ea3eec5369309fd4c"})))))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{contentWidth:["contentWidthChanged"]}},enumerable:false,configurable:true});return t}());a([l("bal-tooltip"),s("design:type",Function),s("design:paramtypes",[Function]),s("design:returntype",void 0)],_.prototype,"createLogger",null);var x=0;_.style=w}}}));
1
+ var __awaiter=this&&this.__awaiter||function(t,i,e,n){function r(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,o){function a(t){try{l(n.next(t))}catch(t){o(t)}}function s(t){try{l(n["throw"](t))}catch(t){o(t)}}function l(t){t.done?e(t.value):r(t.value).then(a,s)}l((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,r,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(i){return l([t,i])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(e=0)),e)try{if(n=1,r&&(o=s[0]&2?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;if(r=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;r=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){e.label=s[1];break}if(s[0]===6&&e.label<o[1]){e.label=o[1];o=s;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(s);break}if(o[2])e.ops.pop();e.trys.pop();continue}s=i.call(t,e)}catch(t){s=[6,t];r=0}finally{n=o=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-23bdd8dc.system.js","./p-db0895e2.system.js","./p-a1f6e944.system.js","./p-ec9a7cf5.system.js","./p-92b665e7.system.js","./p-863f4e4e.system.js","./p-ade9437f.system.js"],(function(t){"use strict";var i,e,n,r,o,a,s,l,u,f,c,h;return{setters:[function(t){i=t.r;e=t.c;n=t.h;r=t.H;o=t.g},function(t){a=t._;s=t.a},function(t){l=t.L},function(t){u=t.B},function(t){f=t.b},function(t){c=t.b},function(t){h=t.b},function(){},function(){}],execute:function(){var b=function(t){if(t){m(t)}};var d=function(t){if(t){y(t)}};var p=function(t){if(t){m(t)}};var v=function(t){if(t){Object.assign(t.style,{left:"",top:"",display:"none",visibility:"hidden"})}};var m=function(t){if(t){t.style.setProperty("display","block");t.style.setProperty("visibility","visible")}};var y=function(t){if(t){t.style.removeProperty("display");t.style.removeProperty("visibility")}};var g=":host{--bal-tooltip-container-background:var(--bal-color-primary-6);--bal-tooltip-max-width:auto;--bal-tooltip-radius:var(--bal-radius-normal);--bal-tooltip-shadow:var(--bal-shadow-normal);--bal-tooltip-arrow-background:var(--bal-color-primary-6);--bal-tooltip-font-family:var(--bal-font-family-text);--bal-tooltip-font-size:var(--bal-text-size-small)}:host{position:static;display:inline;z-index:var(--bal-z-index-tooltip)}.bal-tooltip__container{background-color:var(--bal-tooltip-container-background);display:none;visibility:hidden;color:#fff;padding:var(--bal-space-x-small);border-radius:var(--bal-tooltip-radius);-webkit-box-shadow:var(--bal-tooltip-shadow);box-shadow:var(--bal-tooltip-shadow);width:var(--bal-tooltip-max-width);position:absolute;top:0;left:0}.bal-tooltip__inner{overflow-y:auto;max-height:calc(var(--bal-app-height, 100%) - 8rem)}.bal-tooltip__inner__content{width:100%;font-family:var(--bal-tooltip-font-family);font-size:var(--bal-tooltip-font-size)}.bal-tooltip__arrow{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:absolute;width:.5rem;height:.5rem;background:var(--bal-tooltip-arrow-background);-webkit-transform:rotate(45deg);transform:rotate(45deg);display:none;visibility:hidden}.bal-tooltip-variant-popover-trigger,.bal-tooltip-permanent-trigger{z-index:calc(var(--bal-z-index-tooltip) + 1) !important;position:relative !important}";var w=g;var _=t("bal_tooltip",function(){function t(t){i(this,t);this.balWillAnimate=e(this,"balWillAnimate",7);this.balDidAnimate=e(this,"balDidAnimate",7);this.tooltipId="bal-to-".concat(x++);this.reference="";this.placement="bottom";this.offset=0;this.demo=false;this.presented=false;this.contentWidth=undefined}t.prototype.createLogger=function(t){this.log=t};t.prototype.contentWidthChanged=function(t,i){if(t!==i){if(t===undefined){this.el.style.removeProperty("--bal-tooltip-max-width")}else{this.el.style.setProperty("--bal-tooltip-max-width","".concat(this.contentWidth,"px"))}}};t.prototype.componentDidLoad=function(){var t=this;this.contentWidthChanged(this.contentWidth,0);if(!c.hasTouchScreen){var i=[];var e=[];i=["mouseenter","focus"];e=["mouseleave","blur"];i.forEach((function(i){if(t.triggerElement){t.triggerElement.addEventListener(i,(function(){return t.present()}))}}));e.forEach((function(i){if(t.triggerElement){t.triggerElement.addEventListener(i,(function(){return t.dismiss()}))}}))}if(this.demo){this.present()}};t.prototype.present=function(){return __awaiter(this,void 0,void 0,(function(){var t,i,e;var n=this;return __generator(this,(function(r){switch(r.label){case 0:if(!this.trigger&&f.hasDocument){t=Array.from(document.querySelectorAll('[id="'.concat(this.reference,'"]')))[0];this.trigger=t}if(!(this.trigger&&this.containerEl&&this.arrowEl))return[3,2];this.balWillAnimate.emit();i=this.trigger.attributes.getNamedItem("bal-tooltip-placement");if(i){this.placement=i.value}else{this.placement=this.placement}b(this.containerEl);p(this.arrowEl);this.trigger.classList.add("bal-tooltip-trigger");this.presented=true;return[4,h.load()];case 1:e=r.sent();this.cleanup=e.autoUpdate(this.trigger,this.containerEl,(function(){n.update()}),{ancestorScroll:true,ancestorResize:true,elementResize:false,layoutShift:true,animationFrame:true});this.balDidAnimate.emit();return[2,true];case 2:return[2,false]}}))}))};t.prototype.dismiss=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.containerEl&&this.arrowEl&&this.trigger){this.balWillAnimate.emit();if(this.cleanup){this.cleanup()}this.trigger.classList.remove("bal-tooltip-trigger");d(this.containerEl);v(this.arrowEl);this.presented=false;this.balDidAnimate.emit();return[2,true]}return[2,false]}))}))};t.prototype.update=function(){return __awaiter(this,void 0,void 0,(function(){var t,i;var e=this;return __generator(this,(function(n){switch(n.label){case 0:if(!(this.trigger&&this.containerEl&&this.arrowEl))return[3,2];this.balWillAnimate.emit();t=false;if(f.hasWindow){t=!!window.frameElement}return[4,h.load()];case 1:i=n.sent();i.computePosition(this.trigger,this.containerEl,{placement:this.placement,middleware:[t?undefined:i.shift(),i.flip(),i.offset(8),i.arrow({element:this.arrowEl,padding:4})]}).then((function(t){var i;var n=t.x,r=t.y,o=t.middlewareData,a=t.placement;var s=a.split("-")[0];var l={top:"bottom",right:"left",bottom:"top",left:"right"}[s];if(e.containerEl){Object.assign(e.containerEl.style,{left:"".concat(n,"px"),top:"".concat(r,"px")})}if(o.arrow&&e.arrowEl){var u=o.arrow;Object.assign(e.arrowEl.style,(i={left:n!=null&&u.x!=null?"".concat(u.x,"px"):"",top:r!=null&&u.y!=null?"".concat(u.y,"px"):"",right:"",bottom:""},i[l]="".concat(-4,"px"),i))}}));this.balDidAnimate.emit();return[2,true];case 2:return[2,false]}}))}))};Object.defineProperty(t.prototype,"triggerElement",{get:function(){return document.querySelector('[id="'.concat(this.reference,'"]'))},enumerable:false,configurable:true});t.prototype.render=function(){var t=this;var i=u.block("tooltip");var e=i.element("container");var o=i.element("arrow");var a=i.element("inner");var s=a.element("content");return n(r,{key:"ef11e4afbe94c9774a454492f01af37e2b93eb0f",class:Object.assign({},i.class()),role:"dialog","aria-hidden":"".concat(this.presented!==true),"aria-modal":"".concat(this.presented===true),"aria-presented":"".concat(this.presented===true)},n("div",{key:"57a5230cd9eee9432ff89f1f364d80ce269bb39f",class:Object.assign({},e.class()),ref:function(i){return t.containerEl=i}},n("div",{key:"74f937a44fd8f351b927ecbf65aaff96a189bb46",class:Object.assign({},o.class()),ref:function(i){return t.arrowEl=i}}),n("bal-stack",{key:"d584971c597f26146b708c1de2e4e754b366985e",layout:"vertical",class:Object.assign({},a.class())},n("div",{key:"9c97ab311f6eb09aa7541be2d3b96bd2ee7e8176",class:Object.assign({},s.class()),ref:function(i){return t.contentEl=i},"data-test":"bal-tooltip-content"},n("slot",{key:"fb6ba928160835155e0fcb8ea3eec5369309fd4c"})))))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{contentWidth:["contentWidthChanged"]}},enumerable:false,configurable:true});return t}());a([l("bal-tooltip"),s("design:type",Function),s("design:paramtypes",[Function]),s("design:returntype",void 0)],_.prototype,"createLogger",null);var x=0;_.style=w}}}));
@@ -1 +1 @@
1
- import{r as a,h as t,H as e,g as n,c as i}from"./p-2ccbe55a.js";import{B as l}from"./p-ae86d0a0.js";import{_ as r,a as b}from"./p-43c9f5e9.js";import{B as s}from"./p-c1852273.js";import{b as o}from"./p-a65354df.js";import{i as c,h as d}from"./p-ef6a64f4.js";import{d as m}from"./p-830d9e47.js";import{L as h}from"./p-44e7532c.js";import{b as p}from"./p-ca5ec430.js";import{L as f}from"./p-fe37f1b5.js";import"./p-46251973.js";import"./p-b77e3348.js";import"./p-96216bd1.js";import"./p-acf222fd.js";import"./p-ce5ab69a.js";const v=class{constructor(t){a(this,t),this.light=!1,this.interface="app",this.container=""}interfaceHandler(){this.updateProps(["bal-navbar-brand","bal-navbar-menu","bal-navbar-menu-start","bal-navbar-menu-end"],"interface")}componentWillLoad(){this.interfaceHandler()}updateProps(a,t){const e=this[t];void 0!==e&&this.notifyComponents(a,(a=>a[t]=e))}notifyComponents(a,t){this.element.querySelectorAll(a.join(", ")).forEach((a=>t(a)))}render(){const a=l.block("navbar");return t(e,{key:"dddbbeaef348b9ff101743f71451f6d84ac72951",class:Object.assign(Object.assign(Object.assign({},a.class()),a.modifier(`context-${this.interface}`).class()),a.modifier("is-light").class(this.light))},t("nav",{key:"ba4bb4f5ea156b0a2b4ba5f54f8d80b41477ee6b",role:"navigation","aria-label":"main navigation",class:Object.assign(Object.assign({},a.element("nav").class()),{container:!0,[`is-${this.container}`]:""!==this.container})},t("slot",{key:"647ff400273d4cd92574d5f46aff07aad2b2c810"})))}get element(){return n(this)}static get watchers(){return{interface:["interfaceHandler"]}}};v.style=":root{--bal-navbar-background:var(--bal-color-primary);--bal-navbar-light-background:var(--bal-color-white);--bal-navbar-active-menu-background:var(--bal-color-white);--bal-navbar-height:4rem;--bal-navbar-height-desktop:5rem;--bal-navbar-brand-title-text-color:var(--bal-color-text-white);--bal-navbar-brand-title-font-size:var(--bal-text-size-medium);--bal-navbar-brand-title-light-text-color:var(--bal-color-text-primary);--bal-navbar-brand-text-color:var(--bal-color-text-white);--bal-navbar-brand-logo-link-color:var(--bal-color-text-white)}.bal-navbar{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:block}.bal-navbar--context-app:not(.bal-navbar--is-light),.bal-navbar--context-simple:not(.bal-navbar--is-light){background:var(--bal-navbar-background)}.bal-navbar--context-app,.bal-navbar--context-simple{height:var(--bal-navbar-height);max-height:var(--bal-navbar-height)}@media screen and (min-width: 1024px){.bal-navbar--context-app,.bal-navbar--context-simple{height:var(--bal-navbar-height-desktop);max-height:var(--bal-navbar-height-desktop)}}.bal-navbar__nav{display:-ms-flexbox;display:flex;height:100%;gap:1rem}.bal-navbar__brand{-ms-flex:1;flex:1;gap:2rem;display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center}@media screen and (min-width: 1024px){.bal-navbar__brand{-ms-flex:initial;flex:initial}}.bal-navbar__brand>a{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%}.bal-navbar__brand__logo{height:calc(100% - 1rem);-o-object-fit:contain;object-fit:contain}@media screen and (min-width: 1024px){.bal-navbar__brand__logo{height:calc(100% - 2rem)}}.bal-navbar__brand__title{display:none;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.bal-navbar__brand__title>bal-logo{display:none}@media screen and (min-width: 769px),print{.bal-navbar__brand__title{display:inline-block;font-size:var(--bal-navbar-brand-title-font-size);font-family:var(--bal-font-family-title);font-weight:var(--bal-font-weight-bold);color:var(--bal-navbar-brand-title-text-color)}}@media screen and (min-width: 1024px){.bal-navbar__brand__title{font-size:var(--bal-navbar-brand-title-font-size)}}.bal-navbar__brand--context-app,.bal-navbar__brand--context-simple{color:var(--bal-navbar-brand-text-color)}.bal-navbar__brand--context-app>a,.bal-navbar__brand--context-simple>a{color:var(--bal-navbar-brand-logo-link-color)}.bal-navbar__menu{position:static;display:none;z-index:var(--bal-z-index-navigation)}@media screen and (max-width: 1023px){.bal-navbar__menu--active{position:fixed !important;display:block;background:var(--bal-navbar-active-menu-background)}}@media screen and (max-width: 1023px){.bal-navbar__menu--context-app{padding-top:1rem;padding-bottom:1rem;overflow-y:auto;-ms-flex-direction:column-reverse;flex-direction:column-reverse;top:4rem;left:0;bottom:0;right:0}}@media screen and (min-width: 1024px){.bal-navbar__menu{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;gap:1rem;padding-right:0 !important}}.bal-navbar__menu--context-simple{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;-ms-flex:1;flex:1;gap:1rem}.bal-navbar__menu__start{display:block;margin-bottom:1rem}@media screen and (min-width: 1024px){.bal-navbar__menu__start{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;gap:.5rem;margin-bottom:0}}.bal-navbar__menu__start--context-simple{display:none}.bal-navbar__menu__start--context-meta{-ms-flex-pack:start;justify-content:flex-start}.bal-navbar__menu__end{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center;gap:.5rem}.bal-navbar__menu__end .button-label{word-break:keep-all !important}.bal-navbar__menu__end .bal-button-group{width:100%}@media screen and (max-width: 1023px){.bal-navbar__menu__end .bal-button-group{margin-top:2rem}}.bal-navbar__menu__end--context-simple>.field{-ms-flex-negative:0;flex-shrink:0;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center}.bal-navbar__menu__end>.field{-ms-flex:1;flex:1}@media screen and (min-width: 1024px){.bal-navbar__menu__end>.field{-ms-flex-negative:0;flex-shrink:0;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center}}.bal-navbar--is-light{background-color:var(--bal-navbar-light-background);-webkit-box-shadow:var(--bal-shadow-normal);box-shadow:var(--bal-shadow-normal)}.bal-navbar--is-light .bal-navbar__brand__title{color:var(--bal-navbar-brand-title-light-text-color)}.bal-navbar--is-light bal-logo svg svg,.bal-navbar--is-light bal-logo svg g,.bal-navbar--is-light bal-logo svg path,.bal-navbar--is-light bal-logo svg circle{fill:var(--bal-color-primary)}.bal-navbar__brand__burger.bal-button{margin-left:auto}@media screen and (min-width: 1024px){.bal-navbar__brand__burger.bal-button{display:none}}.bal-navbar__brand__burger--hidden.bal-button{display:none !important}";const g={en:{logoButtonLabel:"To Homepage"},fr:{logoButtonLabel:"Vers la page d’accueil"},it:{logoButtonLabel:"Alla pagina principale"},nl:{logoButtonLabel:"Naar de startpagina"},es:{logoButtonLabel:"A la página principal"},pt:{logoButtonLabel:"Para a página inicial"},sv:{logoButtonLabel:"Till startsidan"},fi:{logoButtonLabel:"Etusivulle"},de:{logoButtonLabel:"Zur Startseite"},pl:{logoButtonLabel:"Na stronę główną"}},_=class{constructor(t){a(this,t),this.balNavigate=i(this,"balNavigate",7),this.balWillAnimate=i(this,"balWillAnimate",7),this.balDidAnimate=i(this,"balDidAnimate",7),this.bodyScrollHandler=new s,this.language=m.language,this.isMenuActive=!1,this.href="",this.logoClickable=!1,this.logoLabel=void 0,this.target="_self",this.simple=!1,this.logo=void 0,this.logoSize="",this.animated=!0,this.interface="app"}connectedCallback(){this.bodyScrollHandler.connect()}componentWillLoad(){o.hasWindow&&window.matchMedia&&window.matchMedia("(min-width: 960px)").addEventListener("change",this.resetIsMenuActive.bind(this))}disconnectedCallback(){this.bodyScrollHandler.disconnect()}async configChanged(a){this.language=a.language}async resetIsMenuActive(a){a.matches&&!this.simple&&this.toggle(!1)}async toggle(a){this.isMenuActive=a,this.balWillAnimate.emit(this.isMenuActive),o.hasWindow&&window.scrollY>0&&window.scrollTo(0,0),this.isMenuActive?this.bodyScrollHandler.disable():this.bodyScrollHandler.enable();const t=this.el.closest("bal-navbar");if(t){const a=t.querySelector("bal-navbar-menu");a&&!this.simple&&await a.toggle(this.isMenuActive)}await c(300),this.balDidAnimate.emit(this.isMenuActive)}async onClick(){this.toggle(!this.isMenuActive)}render(){const a=l.block("navbar").element("brand"),n=this.logo?t("img",{class:Object.assign({},a.element("logo").class()),src:this.logo,alt:""}):t("bal-logo",{animated:this.animated,color:"white",size:this.logoSize}),i=this.logoLabel?this.logoLabel:g[this.language].logoButtonLabel;return t(e,{key:"68848bc9042cea0a8da2368dce7bddb8ffa349f1",class:Object.assign(Object.assign({},a.class()),a.modifier(`context-${this.interface}`).class())},this.href?t("a",{"aria-label":i,title:i,href:this.href,target:this.target,onClick:a=>this.balNavigate.emit(a)},n):this.logoClickable?t("button",{"aria-label":i,title:i,onClick:a=>this.balNavigate.emit(a)},n):n,t("span",{key:"048af402cdd3bd273b62373dd9b99cbf1f744c56",class:Object.assign({},a.element("title").class())},t("slot",{key:"e03caae5038304a1513400972c36e2eb2e8981a6"})),t("bal-button",{key:"c9aa9ea6503771f47fa7fd6e6f12cb0030903a86",class:Object.assign(Object.assign({},a.element("burger").class()),a.element("burger").modifier("hidden").class("simple"===this.interface)),color:"light",inverted:!0,square:!0,icon:this.isMenuActive?"close":"menu-bars",onClick:()=>this.onClick()}))}get el(){return n(this)}};r([h(),b("design:type",Function),b("design:paramtypes",[Object]),b("design:returntype",Promise)],_.prototype,"configChanged",null);const x=class{constructor(t){a(this,t),this.isMenuActive=!1,this.isTouch=p.isTouch,this.interface="app"}breakpointListener(a){this.isTouch=a.touch}async toggle(a){this.isMenuActive=a;const t=this.element.querySelector("bal-tabs");t&&(await d(t),t.renderLine())}render(){const a=l.block("navbar").element("menu");let n="";if(this.isTouch){const a=this.element.closest("bal-navbar");a&&(n=a.container)}return t(e,{key:"6b0a857bff0929177b51e75b2e5e26ad51d9dc6a",class:Object.assign(Object.assign(Object.assign(Object.assign({},a.class()),a.modifier("active").class(this.isMenuActive)),a.modifier(`context-${this.interface}`).class()),{container:!0,[`is-${n}`]:""!==n})},t("slot",{key:"e7919137bb34c15bc676a1617a79aac4111460fc"}))}get element(){return n(this)}};r([f(),b("design:type",Function),b("design:paramtypes",[Object]),b("design:returntype",void 0)],x.prototype,"breakpointListener",null);const u=class{constructor(t){a(this,t),this.interface="app"}render(){const a=l.block("navbar").element("menu").element("end");return t(e,{key:"10aa16f437f428adf6cb21c276aa16230aaad041",class:Object.assign(Object.assign({},a.class()),a.modifier(`context-${this.interface}`).class())},t("slot",{key:"adadfb0d9bda6bb49613541c67bf9dced7a0ad4b"}))}},y=class{constructor(t){a(this,t),this.interface="app"}render(){const a=l.block("navbar").element("menu").element("start");return t(e,{key:"1d35806afa3206d429b351b9442375cd4a41133f",class:Object.assign(Object.assign({},a.class()),a.modifier(`context-${this.interface}`).class())},t("slot",{key:"35baeb64effd472c64a148fb77fa91a604078f36"}))}};export{v as bal_navbar,_ as bal_navbar_brand,x as bal_navbar_menu,u as bal_navbar_menu_end,y as bal_navbar_menu_start}
1
+ import{r as a,h as t,H as e,g as n,c as i}from"./p-2ccbe55a.js";import{B as l}from"./p-ae86d0a0.js";import{_ as r,a as b}from"./p-43c9f5e9.js";import{B as s}from"./p-c1852273.js";import{b as o}from"./p-a65354df.js";import{i as c,h as d}from"./p-a255c9b3.js";import{d as m}from"./p-ec375851.js";import{L as h}from"./p-20eba37f.js";import{b as p}from"./p-5cca745b.js";import{L as v}from"./p-81205ce0.js";import"./p-a7be57b6.js";import"./p-b77e3348.js";import"./p-96216bd1.js";import"./p-acf222fd.js";import"./p-e036423e.js";const f=class{constructor(t){a(this,t),this.light=!1,this.interface="app",this.container=""}interfaceHandler(){this.updateProps(["bal-navbar-brand","bal-navbar-menu","bal-navbar-menu-start","bal-navbar-menu-end"],"interface")}componentWillLoad(){this.interfaceHandler()}updateProps(a,t){const e=this[t];void 0!==e&&this.notifyComponents(a,(a=>a[t]=e))}notifyComponents(a,t){this.element.querySelectorAll(a.join(", ")).forEach((a=>t(a)))}render(){const a=l.block("navbar");return t(e,{key:"dddbbeaef348b9ff101743f71451f6d84ac72951",class:Object.assign(Object.assign(Object.assign({},a.class()),a.modifier(`context-${this.interface}`).class()),a.modifier("is-light").class(this.light))},t("nav",{key:"ba4bb4f5ea156b0a2b4ba5f54f8d80b41477ee6b",role:"navigation","aria-label":"main navigation",class:Object.assign(Object.assign({},a.element("nav").class()),{container:!0,[`is-${this.container}`]:""!==this.container})},t("slot",{key:"647ff400273d4cd92574d5f46aff07aad2b2c810"})))}get element(){return n(this)}static get watchers(){return{interface:["interfaceHandler"]}}};f.style=":root{--bal-navbar-background:var(--bal-color-primary);--bal-navbar-light-background:var(--bal-color-white);--bal-navbar-active-menu-background:var(--bal-color-white);--bal-navbar-height:4rem;--bal-navbar-height-desktop:5rem;--bal-navbar-brand-title-text-color:var(--bal-color-text-white);--bal-navbar-brand-title-font-size:var(--bal-text-size-medium);--bal-navbar-brand-title-light-text-color:var(--bal-color-text-primary);--bal-navbar-brand-text-color:var(--bal-color-text-white);--bal-navbar-brand-logo-link-color:var(--bal-color-text-white)}.bal-navbar{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:block}.bal-navbar--context-app:not(.bal-navbar--is-light),.bal-navbar--context-simple:not(.bal-navbar--is-light){background:var(--bal-navbar-background)}.bal-navbar--context-app,.bal-navbar--context-simple{height:var(--bal-navbar-height);max-height:var(--bal-navbar-height)}@media screen and (min-width: 1024px){.bal-navbar--context-app,.bal-navbar--context-simple{height:var(--bal-navbar-height-desktop);max-height:var(--bal-navbar-height-desktop)}}.bal-navbar__nav{display:-ms-flexbox;display:flex;height:100%;gap:1rem}.bal-navbar__brand{-ms-flex:1;flex:1;gap:2rem;display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center}@media screen and (min-width: 1024px){.bal-navbar__brand{-ms-flex:initial;flex:initial}}.bal-navbar__brand>a{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%}.bal-navbar__brand__logo{height:calc(100% - 1rem);-o-object-fit:contain;object-fit:contain}@media screen and (min-width: 1024px){.bal-navbar__brand__logo{height:calc(100% - 2rem)}}.bal-navbar__brand__title{display:none;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.bal-navbar__brand__title>bal-logo{display:none}@media screen and (min-width: 769px),print{.bal-navbar__brand__title{display:inline-block;font-size:var(--bal-navbar-brand-title-font-size);font-family:var(--bal-font-family-title);font-weight:var(--bal-font-weight-bold);color:var(--bal-navbar-brand-title-text-color)}}@media screen and (min-width: 1024px){.bal-navbar__brand__title{font-size:var(--bal-navbar-brand-title-font-size)}}.bal-navbar__brand--context-app,.bal-navbar__brand--context-simple{color:var(--bal-navbar-brand-text-color)}.bal-navbar__brand--context-app>a,.bal-navbar__brand--context-simple>a{color:var(--bal-navbar-brand-logo-link-color)}.bal-navbar__menu{position:static;display:none;z-index:var(--bal-z-index-navigation)}@media screen and (max-width: 1023px){.bal-navbar__menu--active{position:fixed !important;display:block;background:var(--bal-navbar-active-menu-background)}}@media screen and (max-width: 1023px){.bal-navbar__menu--context-app{padding-top:1rem;padding-bottom:1rem;overflow-y:auto;-ms-flex-direction:column-reverse;flex-direction:column-reverse;top:4rem;left:0;bottom:0;right:0}}@media screen and (min-width: 1024px){.bal-navbar__menu{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;gap:1rem;padding-right:0 !important}}.bal-navbar__menu--context-simple{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;-ms-flex:1;flex:1;gap:1rem}.bal-navbar__menu__start{display:block;margin-bottom:1rem}@media screen and (min-width: 1024px){.bal-navbar__menu__start{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;gap:.5rem;margin-bottom:0}}.bal-navbar__menu__start--context-simple{display:none}.bal-navbar__menu__start--context-meta{-ms-flex-pack:start;justify-content:flex-start}.bal-navbar__menu__end{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center;gap:.5rem}.bal-navbar__menu__end .button-label{word-break:keep-all !important}.bal-navbar__menu__end .bal-button-group{width:100%}@media screen and (max-width: 1023px){.bal-navbar__menu__end .bal-button-group{margin-top:2rem}}.bal-navbar__menu__end--context-simple>.field{-ms-flex-negative:0;flex-shrink:0;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center}.bal-navbar__menu__end>.field{-ms-flex:1;flex:1}@media screen and (min-width: 1024px){.bal-navbar__menu__end>.field{-ms-flex-negative:0;flex-shrink:0;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center}}.bal-navbar--is-light{background-color:var(--bal-navbar-light-background);-webkit-box-shadow:var(--bal-shadow-normal);box-shadow:var(--bal-shadow-normal)}.bal-navbar--is-light .bal-navbar__brand__title{color:var(--bal-navbar-brand-title-light-text-color)}.bal-navbar--is-light bal-logo svg svg,.bal-navbar--is-light bal-logo svg g,.bal-navbar--is-light bal-logo svg path,.bal-navbar--is-light bal-logo svg circle{fill:var(--bal-color-primary)}.bal-navbar__brand__burger.bal-button{margin-left:auto}@media screen and (min-width: 1024px){.bal-navbar__brand__burger.bal-button{display:none}}.bal-navbar__brand__burger--hidden.bal-button{display:none !important}";const g={en:{logoButtonLabel:"To Homepage"},fr:{logoButtonLabel:"Vers la page d’accueil"},it:{logoButtonLabel:"Alla pagina principale"},nl:{logoButtonLabel:"Naar de startpagina"},es:{logoButtonLabel:"A la página principal"},pt:{logoButtonLabel:"Para a página inicial"},sv:{logoButtonLabel:"Till startsidan"},fi:{logoButtonLabel:"Etusivulle"},de:{logoButtonLabel:"Zur Startseite"},pl:{logoButtonLabel:"Na stronę główną"}},_=class{constructor(t){a(this,t),this.balNavigate=i(this,"balNavigate",7),this.balWillAnimate=i(this,"balWillAnimate",7),this.balDidAnimate=i(this,"balDidAnimate",7),this.bodyScrollHandler=new s,this.language=m.language,this.isMenuActive=!1,this.href="",this.logoClickable=!1,this.logoLabel=void 0,this.target="_self",this.simple=!1,this.logo=void 0,this.logoSize="",this.animated=!0,this.interface="app"}connectedCallback(){this.bodyScrollHandler.connect()}componentWillLoad(){o.hasWindow&&window.matchMedia&&window.matchMedia("(min-width: 960px)").addEventListener("change",this.resetIsMenuActive.bind(this))}disconnectedCallback(){this.bodyScrollHandler.disconnect()}async configChanged(a){this.language=a.language}async resetIsMenuActive(a){a.matches&&!this.simple&&this.toggle(!1)}async toggle(a){this.isMenuActive=a,this.balWillAnimate.emit(this.isMenuActive),o.hasWindow&&window.scrollY>0&&window.scrollTo(0,0),this.isMenuActive?this.bodyScrollHandler.disable():this.bodyScrollHandler.enable();const t=this.el.closest("bal-navbar");if(t){const a=t.querySelector("bal-navbar-menu");a&&!this.simple&&await a.toggle(this.isMenuActive)}await c(300),this.balDidAnimate.emit(this.isMenuActive)}async onClick(){this.toggle(!this.isMenuActive)}render(){const a=l.block("navbar").element("brand"),n=this.logo?t("img",{class:Object.assign({},a.element("logo").class()),src:this.logo,alt:""}):t("bal-logo",{animated:this.animated,color:"white",size:this.logoSize}),i=this.logoLabel?this.logoLabel:g[this.language].logoButtonLabel;return t(e,{key:"68848bc9042cea0a8da2368dce7bddb8ffa349f1",class:Object.assign(Object.assign({},a.class()),a.modifier(`context-${this.interface}`).class())},this.href?t("a",{"aria-label":i,title:i,href:this.href,target:this.target,onClick:a=>this.balNavigate.emit(a)},n):this.logoClickable?t("button",{"aria-label":i,title:i,onClick:a=>this.balNavigate.emit(a)},n):n,t("span",{key:"048af402cdd3bd273b62373dd9b99cbf1f744c56",class:Object.assign({},a.element("title").class())},t("slot",{key:"e03caae5038304a1513400972c36e2eb2e8981a6"})),t("bal-button",{key:"c9aa9ea6503771f47fa7fd6e6f12cb0030903a86",class:Object.assign(Object.assign({},a.element("burger").class()),a.element("burger").modifier("hidden").class("simple"===this.interface)),color:"light",inverted:!0,square:!0,icon:this.isMenuActive?"close":"menu-bars",onClick:()=>this.onClick()}))}get el(){return n(this)}};r([h(),b("design:type",Function),b("design:paramtypes",[Object]),b("design:returntype",Promise)],_.prototype,"configChanged",null);const x=class{constructor(t){a(this,t),this.isMenuActive=!1,this.isTouch=p.isTouch,this.interface="app"}breakpointListener(a){this.isTouch=a.touch}async toggle(a){this.isMenuActive=a;const t=this.element.querySelector("bal-tabs");t&&(await d(t),t.renderLine())}render(){const a=l.block("navbar").element("menu");let n="";if(this.isTouch){const a=this.element.closest("bal-navbar");a&&(n=a.container)}return t(e,{key:"6b0a857bff0929177b51e75b2e5e26ad51d9dc6a",class:Object.assign(Object.assign(Object.assign(Object.assign({},a.class()),a.modifier("active").class(this.isMenuActive)),a.modifier(`context-${this.interface}`).class()),{container:!0,[`is-${n}`]:""!==n})},t("slot",{key:"e7919137bb34c15bc676a1617a79aac4111460fc"}))}get element(){return n(this)}};r([v(),b("design:type",Function),b("design:paramtypes",[Object]),b("design:returntype",void 0)],x.prototype,"breakpointListener",null);const u=class{constructor(t){a(this,t),this.interface="app"}render(){const a=l.block("navbar").element("menu").element("end");return t(e,{key:"10aa16f437f428adf6cb21c276aa16230aaad041",class:Object.assign(Object.assign({},a.class()),a.modifier(`context-${this.interface}`).class())},t("slot",{key:"adadfb0d9bda6bb49613541c67bf9dced7a0ad4b"}))}},y=class{constructor(t){a(this,t),this.interface="app"}render(){const a=l.block("navbar").element("menu").element("start");return t(e,{key:"1d35806afa3206d429b351b9442375cd4a41133f",class:Object.assign(Object.assign({},a.class()),a.modifier(`context-${this.interface}`).class())},t("slot",{key:"35baeb64effd472c64a148fb77fa91a604078f36"}))}};export{f as bal_navbar,_ as bal_navbar_brand,x as bal_navbar_menu,u as bal_navbar_menu_end,y as bal_navbar_menu_start}
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(a,e,o,c){function b(a){return a instanceof o?a:new o((function(e){e(a)}))}return new(o||(o=Promise))((function(o,l){function r(a){try{d(c.next(a))}catch(a){l(a)}}function i(a){try{d(c["throw"](a))}catch(a){l(a)}}function d(a){a.done?o(a.value):b(a.value).then(r,i)}d((c=c.apply(a,e||[])).next())}))};var __generator=this&&this.__generator||function(a,e){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,b,l,r;return r={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function i(a){return function(e){return d([a,e])}}function d(i){if(c)throw new TypeError("Generator is already executing.");while(r&&(r=0,i[0]&&(o=0)),o)try{if(c=1,b&&(l=i[0]&2?b["return"]:i[0]?b["throw"]||((l=b["return"])&&l.call(b),0):b.next)&&!(l=l.call(b,i[1])).done)return l;if(b=0,l)i=[i[0]&2,l.value];switch(i[0]){case 0:case 1:l=i;break;case 4:o.label++;return{value:i[1],done:false};case 5:o.label++;b=i[1];i=[0];continue;case 7:i=o.ops.pop();o.trys.pop();continue;default:if(!(l=o.trys,l=l.length>0&&l[l.length-1])&&(i[0]===6||i[0]===2)){o=0;continue}if(i[0]===3&&(!l||i[1]>l[0]&&i[1]<l[3])){o.label=i[1];break}if(i[0]===6&&o.label<l[1]){o.label=l[1];l=i;break}if(l&&o.label<l[2]){o.label=l[2];o.ops.push(i);break}if(l[2])o.ops.pop();o.trys.pop();continue}i=e.call(a,o)}catch(a){i=[6,a];b=0}finally{c=l=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(a,e,o){if(o||arguments.length===2)for(var c=0,b=e.length,l;c<b;c++){if(l||!(c in e)){if(!l)l=Array.prototype.slice.call(e,0,c);l[c]=e[c]}}return a.concat(l||Array.prototype.slice.call(e))};System.register(["./p-7961e095.system.js","./p-6dbef894.system.js","./p-980e4b57.system.js","./p-5cd2674f.system.js","./p-7720b262.system.js","./p-db0895e2.system.js","./p-23bdd8dc.system.js","./p-b52ad8d5.system.js","./p-907368ff.system.js","./p-2da669b4.system.js","./p-4e642b63.system.js","./p-1c41de53.system.js","./p-0d3f11e3.system.js","./p-95055e88.system.js","./p-a1f6e944.system.js","./p-ef3bfa9f.system.js","./p-6913b916.system.js","./p-df907af8.system.js","./p-2880433e.system.js","./p-eecefb0a.system.js"],(function(a){"use strict";var e,o,c,b,l,r,i,d,t,h,k,n,x,s,_,u,v,f,g,w,p,m;return{setters:[function(a){e=a.r;o=a.c;c=a.h;b=a.H;l=a.g},function(a){r=a._;i=a.a},function(a){d=a.s;t=a.c;h=a.d},function(a){k=a.j;n=a.v},function(a){x=a.i},function(a){s=a.B},function(a){_=a.L},function(a){u=a.F},function(a){v=a.d},function(a){f=a.a},function(a){g=a.d},function(a){w=a.a},function(a){p=a.L},function(a){m=a.L},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var y='@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}';var j=y;var O=a("bal_checkbox",function(){function a(a){var c=this;e(this,a);this.balFocus=o(this,"balFocus",7);this.balBlur=o(this,"balBlur",7);this.balChange=o(this,"balChange",7);this.inputId="bal-cb-".concat(C++);this.inheritedAttributes={};this.keyboardMode=true;this.initialValue=false;this.onKeypress=function(a){if(g(a)){var e=a.target;if(e.href){return}if(e.nodeName==="INPUT"&&!c.disabled&&!c.readonly){c.toggleChecked();a.preventDefault()}else{d(a)}}};this.onClick=function(a){var e;var o=a.target;if(o.href){return}if(c.wasFocused){c.focused=true}if(o.nodeName!=="INPUT"&&!c.disabled&&!c.readonly){c.toggleChecked();(e=c.nativeInput)===null||e===void 0?void 0:e.focus();a.preventDefault()}else{d(a)}};this.onFocus=function(a){if(c.disabled||c.readonly){c.focused=false;return d(a)}c.balFocus.emit(a);if(c.keyboardMode){c.focused=true;c.wasFocused=true}};this.onBlur=function(a){if(c.disabled||c.readonly){return d(a)}c.balBlur.emit(a);c.focused=false};this.onPointerDown=function(){return c.keyboardMode=false};this.onKeydown=function(a){if(!g(a)){c.wasFocused=false}c.keyboardMode=u.includes(a.key)};this.hasLabel=true;this.focused=false;this.buttonTabindex=undefined;this.ariaForm=v;this.wasFocused=false;this.name=this.inputId;this.label="";this.invisible=false;this.labelHidden=false;this.flat=false;this.inline=false;this.interface="checkbox";this.value="on";this.checked=false;this.disabled=false;this.readonly=false;this.required=false;this.autoInvalidOff=false;this.nonSubmit=false;this.invalid=false;this.hovered=false;this.pressed=false}a.prototype.createLogger=function(a){this.log=a};a.prototype.connectedCallback=function(){var a=this;var e=this.group;var o=this.checkboxButton;if(o||e){this.updateState()}if(e){e.addEventListener("balChange",(function(){return a.updateState()}))}this.initialValue=this.checked;this.el.addEventListener("keydown",this.onKeydown);this.el.addEventListener("touchstart",this.onPointerDown);this.el.addEventListener("mousedown",this.onPointerDown)};a.prototype.componentWillLoad=function(){this.inheritedAttributes=x(this.el,["aria-label","tabindex","title"])};a.prototype.disconnectedCallback=function(){var a=this;if(this.group){this.group.removeEventListener("balChange",(function(){return a.updateState()}))}this.el.removeEventListener("keydown",this.onKeydown);this.el.removeEventListener("touchstart",this.onPointerDown);this.el.removeEventListener("mousedown",this.onPointerDown)};a.prototype.listenOnClick=function(a){if((this.disabled||this.readonly)&&a.target&&(a.target===this.el||k(this.el,a.target))){d(a)}};a.prototype.resetHandler=function(a){var e=a.target;if(e===null||e===void 0?void 0:e.contains(this.el)){this.checked=this.initialValue}};a.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){t(this);return[2]}))}))};a.prototype.setBlur=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){h(this);return[2]}))}))};a.prototype.getInputElement=function(){return Promise.resolve(this.nativeInput)};a.prototype.getOption=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){return[2,this.option]}))}))};a.prototype.setButtonTabindex=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.checkboxButton){this.buttonTabindex=-1}else{this.buttonTabindex=a}return[2]}))}))};a.prototype.updateState=function(){return __awaiter(this,void 0,void 0,(function(){var a;return __generator(this,(function(e){if(this.group&&this.group.control&&Array.isArray(this.group.value)){a=this.group.value.includes(this.value);if(a!==this.checked){this.checked=a}}if(this.checkboxButton){this.buttonTabindex=-1;if(this.checkboxButton.setChecked){this.checkboxButton.setChecked(this.checked)}}return[2]}))}))};a.prototype.setAriaForm=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.ariaForm=Object.assign({},a);return[2]}))}))};Object.defineProperty(a.prototype,"option",{get:function(){return{name:this.name,value:this.value,checked:this.checked,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}},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"group",{get:function(){return this.el.closest("bal-checkbox-group")},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"checkboxButton",{get:function(){return this.el.closest("bal-checkbox-button")},enumerable:false,configurable:true});a.prototype.toggleChecked=function(){this.checked=!this.checked;this.balChange.emit(this.checked)};a.prototype.render=function(){var a=this;var e=s.block("radio-checkbox");var o=e.element("input");var l=e.element("label");var r=e.element("icon");var i=l.element("text");var d=this.focused&&this.buttonTabindex!==-1;var t=this.inheritedAttributes;if(this.buttonTabindex!==undefined){t.tabIndex=this.buttonTabindex}var h=this.ariaForm.controlId||this.inputId;var k=this.ariaForm.labelId||null;var n=this.labelHidden?"span":"label";var x={};if(!this.labelHidden){k="".concat(k||""," ").concat(h,"-lbl").trim();x.id="".concat(h,"-lbl");x.htmlFor=h}return c(b,{key:"c76b5ff66a33d98280bcb8168d12284561c4ef23","aria-checked":"".concat(this.checked),"aria-disabled":f(this.disabled),"aria-hidden":f(this.disabled||this.nonSubmit),"aria-focused":d?"true":null,class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({"bal-focused":d},e.class()),e.modifier("checkbox").class()),e.modifier("select-button").class(this.interface==="select-button")),e.modifier("switch").class(this.interface==="switch")),e.modifier("focused").class(this.focused)),e.modifier("invalid").class(this.invalid)),e.modifier("checked").class(this.checked)),e.modifier("invisible").class(this.invisible)),e.modifier("flat").class(this.flat)),e.modifier("disabled").class(this.disabled||this.readonly)),e.modifier("hovered").class(this.hovered)),e.modifier("pressed").class(this.pressed)),e.modifier("inline").class(this.inline)),onKeypress:this.onKeypress,onClick:this.onClick},c("input",Object.assign({key:"11958df47ddff46268cf931dd13d0d7a671e9964",class:Object.assign(Object.assign({},o.class()),o.modifier("select-button").class(this.interface==="select-button")),"data-testid":"bal-checkbox-input",type:"checkbox",id:h,"aria-labelledby":k,"aria-describedby":this.ariaForm.messageId,"aria-invalid":this.invalid===true?"true":"false","aria-disabled":f(this.disabled),"aria-checked":"".concat(this.checked),"aria-hidden":f(this.nonSubmit),name:this.name,value:this.value,checked:this.checked,disabled:this.disabled||this.nonSubmit,readonly:this.readonly,required:this.required,onFocus:this.onFocus,onBlur:this.onBlur,ref:function(e){return a.nativeInput=e}},t)),!this.invisible?c(n,Object.assign({class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},l.class()),l.modifier("checkbox").class()),l.modifier("checked").class(this.checked)),l.modifier("hidden").class(this.labelHidden)),l.modifier("flat").class(this.flat)),l.modifier("switch").class(this.interface==="switch"))},x,{"data-testid":"bal-checkbox-label"}),this.interface==="switch"?c("bal-icon",{class:Object.assign({},r.class()),name:"check",color:"white",size:"x-small","aria-hidden":"true"}):"",c("span",{class:Object.assign(Object.assign(Object.assign({},i.class()),i.modifier("hidden").class(this.labelHidden)),i.modifier("flat").class(this.flat)),"data-testid":"bal-checkbox-text"},this.label,c("slot",null))):"")};Object.defineProperty(a.prototype,"el",{get:function(){return l(this)},enumerable:false,configurable:true});return a}());r([_("bal-checkbox"),i("design:type",Function),i("design:paramtypes",[Function]),i("design:returntype",void 0)],O.prototype,"createLogger",null);var C=0;O.style=j;var F=a("bal_checkbox_group",function(){function a(a){var c=this;e(this,a);this.balChange=o(this,"balChange",7);this.balFocus=o(this,"balFocus",7);this.balBlur=o(this,"balBlur",7);this.inputId="bal-cg-".concat(z++);this.inheritedAttributes={};this.hasFocus=false;this.mutationObserverActive=true;this.onClick=function(a){if(!c.control){return}var e=a.target;if(e.href){return}a.preventDefault();var o=a.target&&a.target.closest("bal-checkbox");if(o){if(o.disabled||o.readonly){return a.stopPropagation()}}var b=[];c.getCheckboxes().forEach((function(a){if(a.checked){b.push(a.value)}}));if(!w(c.value,b)){c.value=__spreadArray([],b,true);c.balChange.emit(c.value)}};this.onOptionChange=function(){return __awaiter(c,void 0,void 0,(function(){return __generator(this,(function(a){this.sync();return[2]}))}))};this.ariaForm=v;this.options=undefined;this.interface=undefined;this.control=false;this.name=this.inputId;this.vertical=false;this.verticalOnMobile=false;this.expanded=false;this.invalid=undefined;this.disabled=undefined;this.readonly=undefined;this.value=[];this.columns=1;this.columnsTablet=1;this.columnsMobile=1;this.autoInvalidOff=false}a.prototype.createLogger=function(a){this.log=a};a.prototype.optionChanged=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){if(this.control){this.onOptionChange();this.mutationObserverActive=this.options===undefined}return[2]}))}))};a.prototype.invalidChanged=function(a){if(this.control){if(a!==undefined){this.getCheckboxes().forEach((function(e){e.invalid=a}));this.getCheckboxButtons().forEach((function(e){e.invalid=a}))}}};a.prototype.disabledChanged=function(a){if(this.control){if(a!==undefined){this.getCheckboxes().forEach((function(e){e.disabled=a}));this.getCheckboxButtons().forEach((function(e){e.disabled=a}))}}};a.prototype.readonlyChanged=function(a){if(this.control){if(a!==undefined){this.getCheckboxes().forEach((function(e){e.readonly=a}));this.getCheckboxButtons().forEach((function(e){e.readonly=a}))}}};a.prototype.valueChanged=function(a,e){if(this.control){if(!w(this.value,e)){this.onOptionChange()}}else{this.onOptionChange()}};a.prototype.columnsChanged=function(a){this.getCheckboxButtons().forEach((function(e){return e.colSize=a}))};a.prototype.columnsTabletChanged=function(a){this.getCheckboxButtons().forEach((function(e){return e.colSizeTablet=a}))};a.prototype.columnsMobileChanged=function(a){this.getCheckboxButtons().forEach((function(e){return e.colSizeMobile=a}))};a.prototype.connectedCallback=function(){if(this.control){this.mutationObserverActive=this.options===undefined}};a.prototype.componentWillLoad=function(){if(this.control){this.inheritedAttributes=x(this.el,["aria-label","tabindex","title"]);this.disabledChanged(this.disabled);this.readonlyChanged(this.readonly)}this.columnsChanged(this.columns);this.columnsTabletChanged(this.columnsTablet);this.columnsMobileChanged(this.columnsMobile);this.onOptionChange()};a.prototype.focusInListener=function(a){this.balFocus.emit(a)};a.prototype.focusOutListener=function(a){this.balBlur.emit(a)};a.prototype.mutationListener=function(){if(this.control){this.disabledChanged(this.disabled);this.readonlyChanged(this.readonly)}this.columnsChanged(this.columns);this.columnsTabletChanged(this.columnsTablet);this.columnsMobileChanged(this.columnsMobile);this.onOptionChange()};a.prototype.listenOnClick=function(a){if(this.control){if(k(this.el,a.target)){d(a)}}};a.prototype.resetHandler=function(a){var e=a.target;if(e===null||e===void 0?void 0:e.contains(this.el)){if(this.control){this.value=[]}this.onOptionChange()}};a.prototype.checkboxFocusListener=function(a){var e=a.target;if(e&&k(this.el,e)&&n(e,"bal-checkbox")){d(a)}};a.prototype.checkboxBlurListener=function(a){var e=a.target;if(e&&k(this.el,e)&&n(e,"bal-checkbox")){d(a)}};a.prototype.setValue=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.control){this.value=a}return[2]}))}))};a.prototype.getOptionByValue=function(a){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(o){e=this.options;if(e){return[2,e.find((function(e){return e.value===a}))]}return[2,undefined]}))}))};a.prototype.setAriaForm=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.ariaForm=Object.assign({},a);return[2]}))}))};a.prototype.sync=function(){var a=this;if(this.control){var e=function(e){for(var o=0;o<a.value.length;o++){var c=a.value[o];if(c!==undefined&&c.toString()===e.value.toString()){return true}}return false};this.getCheckboxes().forEach((function(a){a.checked=e(a)}))}this.getCheckboxes().forEach((function(e){if(a.interface){e.interface=a.interface}}))};a.prototype.getCheckboxes=function(){return Array.from(this.el.querySelectorAll("bal-checkbox"))};a.prototype.getCheckboxButtons=function(){return Array.from(this.el.querySelectorAll("bal-checkbox-button"))};a.prototype.render=function(){var a=s.block("radio-checkbox-group");var e=a.element("inner");var o=this.options||[];var l=o.map((function(a){if(typeof a.html==="function"){return Object.assign(Object.assign({},a),{html:a.html()})}return a}));return c(b,Object.assign({class:Object.assign({},a.class()),role:"group","aria-disabled":f(this.disabled),"aria-labelledby":this.ariaForm.labelId,"aria-describedby":this.ariaForm.messageId,onClick:this.onClick},this.inheritedAttributes),c("div",{class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e.class()),e.modifier("vertical-mobile").class(this.verticalOnMobile)),e.modifier("vertical").class(this.vertical)),e.modifier("expanded").class(this.expanded)),e.modifier("select-button").class(this.interface==="select-button"))},c("slot",null),l.map((function(a){return c("bal-checkbox",{key:a.value,name:a.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})}))))};Object.defineProperty(a.prototype,"el",{get:function(){return l(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{options:["optionChanged"],invalid:["invalidChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"],value:["valueChanged"],columns:["columnsChanged"],columnsTablet:["columnsTabletChanged"],columnsMobile:["columnsMobileChanged"]}},enumerable:false,configurable:true});return a}());r([_("bal-checkbox-group"),i("design:type",Function),i("design:paramtypes",[Function]),i("design:returntype",void 0)],F.prototype,"createLogger",null);r([p(),i("design:type",Function),i("design:paramtypes",[FocusEvent]),i("design:returntype",void 0)],F.prototype,"focusInListener",null);r([p(),i("design:type",Function),i("design:paramtypes",[FocusEvent]),i("design:returntype",void 0)],F.prototype,"focusOutListener",null);r([m({tags:["bal-checkbox-group","bal-checkbox"],attributes:false,characterData:false}),i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],F.prototype,"mutationListener",null);var z=0}}}));
1
+ var __awaiter=this&&this.__awaiter||function(a,e,o,c){function b(a){return a instanceof o?a:new o((function(e){e(a)}))}return new(o||(o=Promise))((function(o,l){function r(a){try{d(c.next(a))}catch(a){l(a)}}function i(a){try{d(c["throw"](a))}catch(a){l(a)}}function d(a){a.done?o(a.value):b(a.value).then(r,i)}d((c=c.apply(a,e||[])).next())}))};var __generator=this&&this.__generator||function(a,e){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,b,l,r;return r={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function i(a){return function(e){return d([a,e])}}function d(i){if(c)throw new TypeError("Generator is already executing.");while(r&&(r=0,i[0]&&(o=0)),o)try{if(c=1,b&&(l=i[0]&2?b["return"]:i[0]?b["throw"]||((l=b["return"])&&l.call(b),0):b.next)&&!(l=l.call(b,i[1])).done)return l;if(b=0,l)i=[i[0]&2,l.value];switch(i[0]){case 0:case 1:l=i;break;case 4:o.label++;return{value:i[1],done:false};case 5:o.label++;b=i[1];i=[0];continue;case 7:i=o.ops.pop();o.trys.pop();continue;default:if(!(l=o.trys,l=l.length>0&&l[l.length-1])&&(i[0]===6||i[0]===2)){o=0;continue}if(i[0]===3&&(!l||i[1]>l[0]&&i[1]<l[3])){o.label=i[1];break}if(i[0]===6&&o.label<l[1]){o.label=l[1];l=i;break}if(l&&o.label<l[2]){o.label=l[2];o.ops.push(i);break}if(l[2])o.ops.pop();o.trys.pop();continue}i=e.call(a,o)}catch(a){i=[6,a];b=0}finally{c=l=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(a,e,o){if(o||arguments.length===2)for(var c=0,b=e.length,l;c<b;c++){if(l||!(c in e)){if(!l)l=Array.prototype.slice.call(e,0,c);l[c]=e[c]}}return a.concat(l||Array.prototype.slice.call(e))};System.register(["./p-7961e095.system.js","./p-6dbef894.system.js","./p-c43a56b7.system.js","./p-863f4e4e.system.js","./p-7720b262.system.js","./p-db0895e2.system.js","./p-23bdd8dc.system.js","./p-b52ad8d5.system.js","./p-907368ff.system.js","./p-2da669b4.system.js","./p-4e642b63.system.js","./p-1c41de53.system.js","./p-237de03b.system.js","./p-7bec4431.system.js","./p-a1f6e944.system.js","./p-ade9437f.system.js","./p-6913b916.system.js","./p-df907af8.system.js","./p-2880433e.system.js","./p-eecefb0a.system.js"],(function(a){"use strict";var e,o,c,b,l,r,i,d,t,h,k,n,x,s,_,u,v,f,g,w,p,m;return{setters:[function(a){e=a.r;o=a.c;c=a.h;b=a.H;l=a.g},function(a){r=a._;i=a.a},function(a){d=a.s;t=a.c;h=a.d},function(a){k=a.j;n=a.v},function(a){x=a.i},function(a){s=a.B},function(a){_=a.L},function(a){u=a.F},function(a){v=a.d},function(a){f=a.a},function(a){g=a.d},function(a){w=a.a},function(a){p=a.L},function(a){m=a.L},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var y='@media (hover: hover)and (pointer: fine){.bal-radio-checkbox.bal-focused.bal-radio-checkbox--select-button,.bal-radio-checkbox.bal-focused .bal-radio-checkbox__input:not(.bal-radio-checkbox__input--select-button)+.bal-radio-checkbox__label::before{-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}';var j=y;var O=a("bal_checkbox",function(){function a(a){var c=this;e(this,a);this.balFocus=o(this,"balFocus",7);this.balBlur=o(this,"balBlur",7);this.balChange=o(this,"balChange",7);this.inputId="bal-cb-".concat(C++);this.inheritedAttributes={};this.keyboardMode=true;this.initialValue=false;this.onKeypress=function(a){if(g(a)){var e=a.target;if(e.href){return}if(e.nodeName==="INPUT"&&!c.disabled&&!c.readonly){c.toggleChecked();a.preventDefault()}else{d(a)}}};this.onClick=function(a){var e;var o=a.target;if(o.href){return}if(c.wasFocused){c.focused=true}if(o.nodeName!=="INPUT"&&!c.disabled&&!c.readonly){c.toggleChecked();(e=c.nativeInput)===null||e===void 0?void 0:e.focus();a.preventDefault()}else{d(a)}};this.onFocus=function(a){if(c.disabled||c.readonly){c.focused=false;return d(a)}c.balFocus.emit(a);if(c.keyboardMode){c.focused=true;c.wasFocused=true}};this.onBlur=function(a){if(c.disabled||c.readonly){return d(a)}c.balBlur.emit(a);c.focused=false};this.onPointerDown=function(){return c.keyboardMode=false};this.onKeydown=function(a){if(!g(a)){c.wasFocused=false}c.keyboardMode=u.includes(a.key)};this.hasLabel=true;this.focused=false;this.buttonTabindex=undefined;this.ariaForm=v;this.wasFocused=false;this.name=this.inputId;this.label="";this.invisible=false;this.labelHidden=false;this.flat=false;this.inline=false;this.interface="checkbox";this.value="on";this.checked=false;this.disabled=false;this.readonly=false;this.required=false;this.autoInvalidOff=false;this.nonSubmit=false;this.invalid=false;this.hovered=false;this.pressed=false}a.prototype.createLogger=function(a){this.log=a};a.prototype.connectedCallback=function(){var a=this;var e=this.group;var o=this.checkboxButton;if(o||e){this.updateState()}if(e){e.addEventListener("balChange",(function(){return a.updateState()}))}this.initialValue=this.checked;this.el.addEventListener("keydown",this.onKeydown);this.el.addEventListener("touchstart",this.onPointerDown);this.el.addEventListener("mousedown",this.onPointerDown)};a.prototype.componentWillLoad=function(){this.inheritedAttributes=x(this.el,["aria-label","tabindex","title"])};a.prototype.disconnectedCallback=function(){var a=this;if(this.group){this.group.removeEventListener("balChange",(function(){return a.updateState()}))}this.el.removeEventListener("keydown",this.onKeydown);this.el.removeEventListener("touchstart",this.onPointerDown);this.el.removeEventListener("mousedown",this.onPointerDown)};a.prototype.listenOnClick=function(a){if((this.disabled||this.readonly)&&a.target&&(a.target===this.el||k(this.el,a.target))){d(a)}};a.prototype.resetHandler=function(a){var e=a.target;if(e===null||e===void 0?void 0:e.contains(this.el)){this.checked=this.initialValue}};a.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){t(this);return[2]}))}))};a.prototype.setBlur=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){h(this);return[2]}))}))};a.prototype.getInputElement=function(){return Promise.resolve(this.nativeInput)};a.prototype.getOption=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){return[2,this.option]}))}))};a.prototype.setButtonTabindex=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.checkboxButton){this.buttonTabindex=-1}else{this.buttonTabindex=a}return[2]}))}))};a.prototype.updateState=function(){return __awaiter(this,void 0,void 0,(function(){var a;return __generator(this,(function(e){if(this.group&&this.group.control&&Array.isArray(this.group.value)){a=this.group.value.includes(this.value);if(a!==this.checked){this.checked=a}}if(this.checkboxButton){this.buttonTabindex=-1;if(this.checkboxButton.setChecked){this.checkboxButton.setChecked(this.checked)}}return[2]}))}))};a.prototype.setAriaForm=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.ariaForm=Object.assign({},a);return[2]}))}))};Object.defineProperty(a.prototype,"option",{get:function(){return{name:this.name,value:this.value,checked:this.checked,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}},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"group",{get:function(){return this.el.closest("bal-checkbox-group")},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"checkboxButton",{get:function(){return this.el.closest("bal-checkbox-button")},enumerable:false,configurable:true});a.prototype.toggleChecked=function(){this.checked=!this.checked;this.balChange.emit(this.checked)};a.prototype.render=function(){var a=this;var e=s.block("radio-checkbox");var o=e.element("input");var l=e.element("label");var r=e.element("icon");var i=l.element("text");var d=this.focused&&this.buttonTabindex!==-1;var t=this.inheritedAttributes;if(this.buttonTabindex!==undefined){t.tabIndex=this.buttonTabindex}var h=this.ariaForm.controlId||this.inputId;var k=this.ariaForm.labelId||null;var n=this.labelHidden?"span":"label";var x={};if(!this.labelHidden){k="".concat(k||""," ").concat(h,"-lbl").trim();x.id="".concat(h,"-lbl");x.htmlFor=h}return c(b,{key:"c76b5ff66a33d98280bcb8168d12284561c4ef23","aria-checked":"".concat(this.checked),"aria-disabled":f(this.disabled),"aria-hidden":f(this.disabled||this.nonSubmit),"aria-focused":d?"true":null,class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({"bal-focused":d},e.class()),e.modifier("checkbox").class()),e.modifier("select-button").class(this.interface==="select-button")),e.modifier("switch").class(this.interface==="switch")),e.modifier("focused").class(this.focused)),e.modifier("invalid").class(this.invalid)),e.modifier("checked").class(this.checked)),e.modifier("invisible").class(this.invisible)),e.modifier("flat").class(this.flat)),e.modifier("disabled").class(this.disabled||this.readonly)),e.modifier("hovered").class(this.hovered)),e.modifier("pressed").class(this.pressed)),e.modifier("inline").class(this.inline)),onKeypress:this.onKeypress,onClick:this.onClick},c("input",Object.assign({key:"11958df47ddff46268cf931dd13d0d7a671e9964",class:Object.assign(Object.assign({},o.class()),o.modifier("select-button").class(this.interface==="select-button")),"data-testid":"bal-checkbox-input",type:"checkbox",id:h,"aria-labelledby":k,"aria-describedby":this.ariaForm.messageId,"aria-invalid":this.invalid===true?"true":"false","aria-disabled":f(this.disabled),"aria-checked":"".concat(this.checked),"aria-hidden":f(this.nonSubmit),name:this.name,value:this.value,checked:this.checked,disabled:this.disabled||this.nonSubmit,readonly:this.readonly,required:this.required,onFocus:this.onFocus,onBlur:this.onBlur,ref:function(e){return a.nativeInput=e}},t)),!this.invisible?c(n,Object.assign({class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},l.class()),l.modifier("checkbox").class()),l.modifier("checked").class(this.checked)),l.modifier("hidden").class(this.labelHidden)),l.modifier("flat").class(this.flat)),l.modifier("switch").class(this.interface==="switch"))},x,{"data-testid":"bal-checkbox-label"}),this.interface==="switch"?c("bal-icon",{class:Object.assign({},r.class()),name:"check",color:"white",size:"x-small","aria-hidden":"true"}):"",c("span",{class:Object.assign(Object.assign(Object.assign({},i.class()),i.modifier("hidden").class(this.labelHidden)),i.modifier("flat").class(this.flat)),"data-testid":"bal-checkbox-text"},this.label,c("slot",null))):"")};Object.defineProperty(a.prototype,"el",{get:function(){return l(this)},enumerable:false,configurable:true});return a}());r([_("bal-checkbox"),i("design:type",Function),i("design:paramtypes",[Function]),i("design:returntype",void 0)],O.prototype,"createLogger",null);var C=0;O.style=j;var F=a("bal_checkbox_group",function(){function a(a){var c=this;e(this,a);this.balChange=o(this,"balChange",7);this.balFocus=o(this,"balFocus",7);this.balBlur=o(this,"balBlur",7);this.inputId="bal-cg-".concat(z++);this.inheritedAttributes={};this.hasFocus=false;this.mutationObserverActive=true;this.onClick=function(a){if(!c.control){return}var e=a.target;if(e.href){return}a.preventDefault();var o=a.target&&a.target.closest("bal-checkbox");if(o){if(o.disabled||o.readonly){return a.stopPropagation()}}var b=[];c.getCheckboxes().forEach((function(a){if(a.checked){b.push(a.value)}}));if(!w(c.value,b)){c.value=__spreadArray([],b,true);c.balChange.emit(c.value)}};this.onOptionChange=function(){return __awaiter(c,void 0,void 0,(function(){return __generator(this,(function(a){this.sync();return[2]}))}))};this.ariaForm=v;this.options=undefined;this.interface=undefined;this.control=false;this.name=this.inputId;this.vertical=false;this.verticalOnMobile=false;this.expanded=false;this.invalid=undefined;this.disabled=undefined;this.readonly=undefined;this.value=[];this.columns=1;this.columnsTablet=1;this.columnsMobile=1;this.autoInvalidOff=false}a.prototype.createLogger=function(a){this.log=a};a.prototype.optionChanged=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){if(this.control){this.onOptionChange();this.mutationObserverActive=this.options===undefined}return[2]}))}))};a.prototype.invalidChanged=function(a){if(this.control){if(a!==undefined){this.getCheckboxes().forEach((function(e){e.invalid=a}));this.getCheckboxButtons().forEach((function(e){e.invalid=a}))}}};a.prototype.disabledChanged=function(a){if(this.control){if(a!==undefined){this.getCheckboxes().forEach((function(e){e.disabled=a}));this.getCheckboxButtons().forEach((function(e){e.disabled=a}))}}};a.prototype.readonlyChanged=function(a){if(this.control){if(a!==undefined){this.getCheckboxes().forEach((function(e){e.readonly=a}));this.getCheckboxButtons().forEach((function(e){e.readonly=a}))}}};a.prototype.valueChanged=function(a,e){if(this.control){if(!w(this.value,e)){this.onOptionChange()}}else{this.onOptionChange()}};a.prototype.columnsChanged=function(a){this.getCheckboxButtons().forEach((function(e){return e.colSize=a}))};a.prototype.columnsTabletChanged=function(a){this.getCheckboxButtons().forEach((function(e){return e.colSizeTablet=a}))};a.prototype.columnsMobileChanged=function(a){this.getCheckboxButtons().forEach((function(e){return e.colSizeMobile=a}))};a.prototype.connectedCallback=function(){if(this.control){this.mutationObserverActive=this.options===undefined}};a.prototype.componentWillLoad=function(){if(this.control){this.inheritedAttributes=x(this.el,["aria-label","tabindex","title"]);this.disabledChanged(this.disabled);this.readonlyChanged(this.readonly)}this.columnsChanged(this.columns);this.columnsTabletChanged(this.columnsTablet);this.columnsMobileChanged(this.columnsMobile);this.onOptionChange()};a.prototype.focusInListener=function(a){this.balFocus.emit(a)};a.prototype.focusOutListener=function(a){this.balBlur.emit(a)};a.prototype.mutationListener=function(){if(this.control){this.disabledChanged(this.disabled);this.readonlyChanged(this.readonly)}this.columnsChanged(this.columns);this.columnsTabletChanged(this.columnsTablet);this.columnsMobileChanged(this.columnsMobile);this.onOptionChange()};a.prototype.listenOnClick=function(a){if(this.control){if(k(this.el,a.target)){d(a)}}};a.prototype.resetHandler=function(a){var e=a.target;if(e===null||e===void 0?void 0:e.contains(this.el)){if(this.control){this.value=[]}this.onOptionChange()}};a.prototype.checkboxFocusListener=function(a){var e=a.target;if(e&&k(this.el,e)&&n(e,"bal-checkbox")){d(a)}};a.prototype.checkboxBlurListener=function(a){var e=a.target;if(e&&k(this.el,e)&&n(e,"bal-checkbox")){d(a)}};a.prototype.setValue=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.control){this.value=a}return[2]}))}))};a.prototype.getOptionByValue=function(a){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(o){e=this.options;if(e){return[2,e.find((function(e){return e.value===a}))]}return[2,undefined]}))}))};a.prototype.setAriaForm=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.ariaForm=Object.assign({},a);return[2]}))}))};a.prototype.sync=function(){var a=this;if(this.control){var e=function(e){for(var o=0;o<a.value.length;o++){var c=a.value[o];if(c!==undefined&&c.toString()===e.value.toString()){return true}}return false};this.getCheckboxes().forEach((function(a){a.checked=e(a)}))}this.getCheckboxes().forEach((function(e){if(a.interface){e.interface=a.interface}}))};a.prototype.getCheckboxes=function(){return Array.from(this.el.querySelectorAll("bal-checkbox"))};a.prototype.getCheckboxButtons=function(){return Array.from(this.el.querySelectorAll("bal-checkbox-button"))};a.prototype.render=function(){var a=s.block("radio-checkbox-group");var e=a.element("inner");var o=this.options||[];var l=o.map((function(a){if(typeof a.html==="function"){return Object.assign(Object.assign({},a),{html:a.html()})}return a}));return c(b,Object.assign({class:Object.assign({},a.class()),role:"group","aria-disabled":f(this.disabled),"aria-labelledby":this.ariaForm.labelId,"aria-describedby":this.ariaForm.messageId,onClick:this.onClick},this.inheritedAttributes),c("div",{class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e.class()),e.modifier("vertical-mobile").class(this.verticalOnMobile)),e.modifier("vertical").class(this.vertical)),e.modifier("expanded").class(this.expanded)),e.modifier("select-button").class(this.interface==="select-button"))},c("slot",null),l.map((function(a){return c("bal-checkbox",{key:a.value,name:a.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})}))))};Object.defineProperty(a.prototype,"el",{get:function(){return l(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{options:["optionChanged"],invalid:["invalidChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"],value:["valueChanged"],columns:["columnsChanged"],columnsTablet:["columnsTabletChanged"],columnsMobile:["columnsMobileChanged"]}},enumerable:false,configurable:true});return a}());r([_("bal-checkbox-group"),i("design:type",Function),i("design:paramtypes",[Function]),i("design:returntype",void 0)],F.prototype,"createLogger",null);r([p(),i("design:type",Function),i("design:paramtypes",[FocusEvent]),i("design:returntype",void 0)],F.prototype,"focusInListener",null);r([p(),i("design:type",Function),i("design:paramtypes",[FocusEvent]),i("design:returntype",void 0)],F.prototype,"focusOutListener",null);r([m({tags:["bal-checkbox-group","bal-checkbox"],attributes:false,characterData:false}),i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],F.prototype,"mutationListener",null);var z=0}}}));