@baloise/ds-core 19.8.2 → 19.8.3

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 (998) hide show
  1. package/components/bal-accordion-details.js +6 -4
  2. package/components/bal-accordion-summary.js +7 -5
  3. package/components/bal-accordion-trigger.js +7 -5
  4. package/components/bal-accordion.js +9 -7
  5. package/components/bal-app.js +12 -8
  6. package/components/bal-badge2.js +6 -4
  7. package/components/bal-button-group2.js +5 -3
  8. package/components/bal-button2.js +5 -3
  9. package/components/bal-card-actions.js +5 -3
  10. package/components/bal-card-button.js +5 -3
  11. package/components/bal-card-content2.js +5 -3
  12. package/components/bal-card-subtitle.js +5 -3
  13. package/components/bal-card-title.js +5 -3
  14. package/components/bal-card2.js +5 -3
  15. package/components/bal-carousel-item.js +6 -4
  16. package/components/bal-carousel.js +21 -22
  17. package/components/bal-check2.js +5 -3
  18. package/components/bal-checkbox-group.js +7 -5
  19. package/components/bal-checkbox2.js +7 -5
  20. package/components/bal-close2.js +8 -6
  21. package/components/bal-content2.js +5 -3
  22. package/components/bal-data-item.js +5 -3
  23. package/components/bal-data-label.js +5 -3
  24. package/components/bal-data-value.js +7 -5
  25. package/components/bal-data.js +5 -3
  26. package/components/bal-date-calendar-cell2.js +5 -3
  27. package/components/bal-date-calendar2.js +21 -34
  28. package/components/bal-date.js +12 -10
  29. package/components/bal-divider.js +5 -3
  30. package/components/bal-dropdown.js +21 -24
  31. package/components/bal-field-control.js +5 -3
  32. package/components/bal-field-hint.js +7 -9
  33. package/components/bal-field-label.js +5 -3
  34. package/components/bal-field-message.js +5 -3
  35. package/components/bal-field.js +9 -7
  36. package/components/bal-file-upload.js +15 -22
  37. package/components/bal-footer.js +9 -7
  38. package/components/bal-form-col.js +7 -5
  39. package/components/bal-form-grid.js +5 -3
  40. package/components/bal-form.js +7 -5
  41. package/components/bal-heading2.js +6 -4
  42. package/components/bal-hint-text2.js +5 -3
  43. package/components/bal-hint-title2.js +5 -3
  44. package/components/bal-hint2.js +10 -8
  45. package/components/bal-icon2.js +6 -4
  46. package/components/bal-input-date2.js +10 -8
  47. package/components/bal-input-group2.js +6 -4
  48. package/components/bal-input-slider.js +11 -9
  49. package/components/bal-input-stepper.js +1027 -1056
  50. package/components/bal-input.js +6 -4
  51. package/components/bal-label2.js +9 -7
  52. package/components/bal-list-item-accordion-body2.js +10 -9
  53. package/components/bal-list-item-accordion-head2.js +10 -8
  54. package/components/bal-list-item-content2.js +5 -3
  55. package/components/bal-list-item-icon2.js +5 -3
  56. package/components/bal-list-item-subtitle2.js +5 -3
  57. package/components/bal-list-item-title2.js +5 -3
  58. package/components/bal-list-item2.js +6 -4
  59. package/components/bal-list2.js +6 -4
  60. package/components/bal-logo2.js +6 -4
  61. package/components/bal-modal-body.js +5 -3
  62. package/components/bal-modal-header.js +6 -4
  63. package/components/bal-modal.js +29 -27
  64. package/components/bal-nav-link-grid-col2.js +5 -3
  65. package/components/bal-nav-link-grid2.js +5 -3
  66. package/components/bal-nav-link-group.js +5 -3
  67. package/components/bal-nav-link2.js +5 -3
  68. package/components/bal-nav-menu-bar2.js +6 -4
  69. package/components/bal-nav-menu-flyout2.js +7 -6
  70. package/components/bal-nav-meta-bar2.js +7 -5
  71. package/components/bal-nav.js +31 -53
  72. package/components/bal-navbar-brand.js +9 -7
  73. package/components/bal-navbar-menu-end.js +5 -3
  74. package/components/bal-navbar-menu-start.js +5 -3
  75. package/components/bal-navbar-menu.js +5 -3
  76. package/components/bal-navbar.js +5 -3
  77. package/components/bal-notices.js +6 -4
  78. package/components/bal-notification.js +5 -3
  79. package/components/bal-number-input.js +8 -6
  80. package/components/bal-option-list.js +9 -7
  81. package/components/bal-option.js +7 -5
  82. package/components/bal-pagination.js +7 -5
  83. package/components/bal-popover-content2.js +7 -5
  84. package/components/bal-popover2.js +7 -5
  85. package/components/bal-popup2.js +8 -6
  86. package/components/bal-progress-bar.js +8 -7
  87. package/components/bal-radio-group.js +7 -5
  88. package/components/bal-radio-icon2.js +5 -3
  89. package/components/bal-radio2.js +6 -4
  90. package/components/bal-segment-item.js +6 -4
  91. package/components/bal-segment.js +11 -11
  92. package/components/bal-select-option2.js +5 -3
  93. package/components/bal-select2.js +13 -11
  94. package/components/bal-shape2.js +9 -7
  95. package/components/bal-sheet.js +5 -3
  96. package/components/bal-snackbar.js +7 -5
  97. package/components/bal-spinner2.js +7 -5
  98. package/components/bal-stack2.js +5 -3
  99. package/components/bal-stage-back-link.js +7 -5
  100. package/components/bal-stage-body.js +6 -4
  101. package/components/bal-stage-foot.js +6 -4
  102. package/components/bal-stage-head.js +6 -4
  103. package/components/bal-stage-image.js +8 -6
  104. package/components/bal-stage.js +5 -3
  105. package/components/bal-step-item.js +7 -5
  106. package/components/bal-steps.js +13 -17
  107. package/components/bal-switch.js +5 -3
  108. package/components/bal-tab-item.js +7 -5
  109. package/components/bal-table.js +6 -4
  110. package/components/bal-tabs2.js +29 -42
  111. package/components/bal-tag-group.js +5 -3
  112. package/components/bal-tag2.js +7 -5
  113. package/components/bal-text.js +5 -3
  114. package/components/bal-textarea.js +6 -4
  115. package/components/bal-time-input.js +8 -6
  116. package/components/bal-toast.js +6 -4
  117. package/components/bal-tooltip.js +7 -5
  118. package/components/breakpoints.subject.js +79 -5
  119. package/components/config.default.js +1 -1
  120. package/components/config.utils.js +1 -1
  121. package/components/focus.decorator.js +1 -1
  122. package/components/form-input.js +1 -1
  123. package/components/helpers.js +2 -2
  124. package/components/index.js +135 -16
  125. package/components/mutation.decorator.js +1 -1
  126. package/components/swiper.util.js +3 -8
  127. package/components/tokens.esm.js +2 -2
  128. package/components/visibility.decorator.js +1 -1
  129. package/components/window-resize.decorator.js +24 -1
  130. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  131. package/dist/baloise-design-system/baloise-design-system.js +1 -1
  132. package/dist/baloise-design-system/index.esm.js +1 -1
  133. package/dist/baloise-design-system/p-01c556671d.system.entry.js +1 -0
  134. package/dist/baloise-design-system/{p-34251be01a.entry.js → p-022a899d9f.entry.js} +1 -1
  135. package/dist/baloise-design-system/p-06ae31c81e.entry.js +1 -0
  136. package/dist/baloise-design-system/p-06d6d65df7.entry.js +1 -0
  137. package/dist/baloise-design-system/p-07cd3d2e40.entry.js +1 -0
  138. package/dist/baloise-design-system/p-08644e325b.entry.js +1 -0
  139. package/dist/baloise-design-system/p-09f86c863d.system.entry.js +1 -0
  140. package/dist/baloise-design-system/p-0b800b55bc.system.entry.js +1 -0
  141. package/dist/baloise-design-system/p-0c10bf8c73.system.entry.js +1 -0
  142. package/dist/baloise-design-system/p-0d487a482f.system.entry.js +1 -0
  143. package/dist/baloise-design-system/p-0ec86b3f93.system.entry.js +1 -0
  144. package/dist/baloise-design-system/p-15c5f87ce0.system.entry.js +1 -0
  145. package/dist/baloise-design-system/p-167806fc44.entry.js +1 -0
  146. package/dist/baloise-design-system/p-17fb47d0d4.entry.js +1 -0
  147. package/dist/baloise-design-system/p-196ff3a00e.entry.js +1 -0
  148. package/dist/baloise-design-system/p-1b1fdadab3.entry.js +1 -0
  149. package/dist/baloise-design-system/p-1b2d849d3f.system.entry.js +1 -0
  150. package/dist/baloise-design-system/{p-aa6b291c05.entry.js → p-1f011724dd.entry.js} +1 -1
  151. package/dist/baloise-design-system/p-2264ba1f28.entry.js +1 -0
  152. package/dist/baloise-design-system/{p-6bb94607cc.entry.js → p-23537928fa.entry.js} +1 -1
  153. package/dist/baloise-design-system/p-2360c337dc.entry.js +1 -0
  154. package/dist/baloise-design-system/p-24d0c0ddcf.entry.js +1 -0
  155. package/dist/baloise-design-system/p-261f0c83c1.entry.js +1 -0
  156. package/dist/baloise-design-system/p-26764b092e.entry.js +1 -0
  157. package/dist/baloise-design-system/p-2c066243bc.entry.js +1 -0
  158. package/dist/baloise-design-system/p-2d57df519d.entry.js +1 -0
  159. package/dist/baloise-design-system/p-2d8dd4be3a.entry.js +1 -0
  160. package/dist/baloise-design-system/{p-5233b94b59.system.entry.js → p-2dbbdfb785.system.entry.js} +1 -1
  161. package/dist/baloise-design-system/p-3717f4438f.system.entry.js +1 -0
  162. package/dist/baloise-design-system/p-3790f8edcd.entry.js +1 -0
  163. package/dist/baloise-design-system/p-393a3d5fb7.entry.js +1 -0
  164. package/dist/baloise-design-system/p-42801b7e0c.system.entry.js +1 -0
  165. package/dist/baloise-design-system/p-43878b51c9.system.entry.js +1 -0
  166. package/dist/baloise-design-system/p-440fb2470e.entry.js +1 -0
  167. package/dist/baloise-design-system/{p-6f8769f0fd.entry.js → p-469503b436.entry.js} +1 -1
  168. package/dist/baloise-design-system/p-4Y53iwfN.system.js +1 -0
  169. package/dist/baloise-design-system/p-4a34919910.system.entry.js +1 -0
  170. package/dist/baloise-design-system/p-4c12fc1e8f.system.entry.js +1 -0
  171. package/dist/baloise-design-system/p-5439c93408.entry.js +1 -0
  172. package/dist/baloise-design-system/p-56535b513e.system.entry.js +1 -0
  173. package/dist/baloise-design-system/p-5c583159db.entry.js +1 -0
  174. package/dist/baloise-design-system/{p-85453d4b0a.system.entry.js → p-5d95c50514.system.entry.js} +1 -1
  175. package/dist/baloise-design-system/p-5e4a2342f3.entry.js +1 -0
  176. package/dist/baloise-design-system/p-5f8ae628c4.system.entry.js +1 -0
  177. package/dist/baloise-design-system/p-63a829988a.system.entry.js +1 -0
  178. package/dist/baloise-design-system/p-63cf9eadee.entry.js +1 -0
  179. package/dist/baloise-design-system/p-6814029ea2.entry.js +1 -0
  180. package/dist/baloise-design-system/p-6d93b1d5cc.entry.js +1 -0
  181. package/dist/baloise-design-system/p-6da83fc08c.system.entry.js +1 -0
  182. package/dist/baloise-design-system/p-6fa6bfd775.entry.js +1 -0
  183. package/dist/baloise-design-system/p-7027eb9c58.entry.js +1 -0
  184. package/dist/baloise-design-system/p-70bdd60500.system.entry.js +1 -0
  185. package/dist/baloise-design-system/p-71ab949cfb.system.entry.js +1 -0
  186. package/dist/baloise-design-system/p-743a8ea6e8.system.entry.js +1 -0
  187. package/dist/baloise-design-system/p-7571dcc8ec.system.entry.js +1 -0
  188. package/dist/baloise-design-system/{p-5437056c7e.system.entry.js → p-76fdd28025.system.entry.js} +1 -1
  189. package/dist/baloise-design-system/p-77045369a5.system.entry.js +1 -0
  190. package/dist/baloise-design-system/p-7e55f97a9b.entry.js +1 -0
  191. package/dist/baloise-design-system/p-7e6c509606.entry.js +1 -0
  192. package/dist/baloise-design-system/p-80cae9282e.system.entry.js +1 -0
  193. package/dist/baloise-design-system/p-84d321b4f8.entry.js +1 -0
  194. package/dist/baloise-design-system/p-84de20be7c.entry.js +1 -0
  195. package/dist/baloise-design-system/p-85428cc869.entry.js +1 -0
  196. package/dist/baloise-design-system/p-8670cb3845.entry.js +1 -0
  197. package/dist/baloise-design-system/p-8cff569252.system.entry.js +1 -0
  198. package/dist/baloise-design-system/{p-85f99546f7.system.entry.js → p-8da6979637.system.entry.js} +1 -1
  199. package/dist/baloise-design-system/p-8ebe2676cf.entry.js +1 -0
  200. package/dist/baloise-design-system/p-90d225c57c.system.entry.js +1 -0
  201. package/dist/baloise-design-system/p-93311a064b.system.entry.js +1 -0
  202. package/dist/baloise-design-system/p-93bba463b3.system.entry.js +1 -0
  203. package/dist/baloise-design-system/{p-60249e3303.system.entry.js → p-967ff349ed.system.entry.js} +1 -1
  204. package/dist/baloise-design-system/p-96bf290c11.system.entry.js +1 -0
  205. package/dist/baloise-design-system/{p-a968e7d20a.entry.js → p-996075a13e.entry.js} +1 -1
  206. package/dist/baloise-design-system/p-B-L34nz8.js +1 -0
  207. package/dist/baloise-design-system/p-B1u-Mq75.js +1 -0
  208. package/dist/baloise-design-system/p-B9BMZmYk.js +1 -0
  209. package/dist/baloise-design-system/p-BCtb7Ny9.system.js +1 -0
  210. package/dist/baloise-design-system/{p-D1VPLQ5z.js → p-BERg8BNc.js} +1 -1
  211. package/dist/baloise-design-system/p-BM_oHMik.system.js +1 -0
  212. package/dist/baloise-design-system/p-BNWt5z9B.system.js +1 -0
  213. package/dist/baloise-design-system/p-B_C7V4Sa.js +1 -0
  214. package/dist/baloise-design-system/p-Ba5qjFjW.js +1 -0
  215. package/dist/baloise-design-system/p-BblIE2Vz.system.js +1 -0
  216. package/dist/baloise-design-system/p-Bc9nHL5Q.system.js +1 -0
  217. package/dist/baloise-design-system/p-BdVwMG9u.js +2 -0
  218. package/dist/baloise-design-system/p-BpMXwP_q.system.js +1 -0
  219. package/dist/baloise-design-system/p-BsL4egMT.js +1 -0
  220. package/dist/baloise-design-system/p-BtgFoKGn.js +1 -0
  221. package/dist/baloise-design-system/p-BwTzTXZG.js +1 -0
  222. package/dist/baloise-design-system/{p-Zfrf1YrK.js → p-C20cwFWy.js} +1 -1
  223. package/dist/baloise-design-system/{p-C8rDagP9.system.js → p-C6x8G3mu.system.js} +1 -1
  224. package/dist/baloise-design-system/p-CBUCh83e.js +1 -0
  225. package/dist/baloise-design-system/{p-DXtc2jog.system.js → p-CCoeJzzY.system.js} +1 -1
  226. package/dist/baloise-design-system/p-CDeyBUqm.system.js +1 -0
  227. package/dist/baloise-design-system/{p-hMjQnp7y.js → p-CFUQlsvN.js} +1 -1
  228. package/dist/baloise-design-system/{p-CzMY8q3l.js → p-CI2FR64u.js} +1 -1
  229. package/dist/baloise-design-system/p-CLDmOIBx.system.js +1 -0
  230. package/dist/baloise-design-system/p-CTuoH3RE.system.js +1 -0
  231. package/dist/baloise-design-system/p-CXAw6SMX.system.js +1 -0
  232. package/dist/baloise-design-system/p-C_0MGoKB.js +1 -0
  233. package/dist/baloise-design-system/{p-lN4h2Pow.js → p-CeIZ5hSt.js} +1 -1
  234. package/dist/baloise-design-system/p-CeRECGC7.js +1 -0
  235. package/dist/baloise-design-system/{p-CzSV5e8r.js → p-CpDHeXfo.js} +1 -1
  236. package/dist/baloise-design-system/{p-4RggM_kM.js → p-Crri2rlL.js} +1 -1
  237. package/dist/baloise-design-system/{p-m9_QZ3Uf.system.js → p-CvHtWfhm.system.js} +1 -1
  238. package/dist/baloise-design-system/p-CwWHLbPB.system.js +1 -0
  239. package/dist/baloise-design-system/p-D1opIX9W.system.js +1 -0
  240. package/dist/baloise-design-system/p-D7M-7v58.js +1 -0
  241. package/dist/baloise-design-system/p-D7_eHNTI.system.js +1 -0
  242. package/dist/baloise-design-system/p-D7ovid3w.js +1 -0
  243. package/dist/baloise-design-system/p-D9FHe08C.system.js +1 -0
  244. package/dist/baloise-design-system/{p-D4gL5qCn.system.js → p-DDPYMMGG.system.js} +1 -1
  245. package/dist/baloise-design-system/{p-CInq3uzG.system.js → p-DI-sUHVD.system.js} +1 -1
  246. package/dist/baloise-design-system/p-DL7tjDqO.system.js +1 -0
  247. package/dist/baloise-design-system/p-DNy7adIE.system.js +1 -0
  248. package/dist/baloise-design-system/{p-CpCwptFO.js → p-DOUIg6bI.js} +1 -1
  249. package/dist/baloise-design-system/p-DST0VloN.system.js +1 -0
  250. package/dist/baloise-design-system/p-DV-2u4Pm.system.js +1 -0
  251. package/dist/baloise-design-system/p-DWgCJRpS.system.js +1 -1
  252. package/dist/baloise-design-system/p-DZ_vvO92.js +1 -0
  253. package/dist/baloise-design-system/{p-C9hJ2TuZ.system.js → p-DdX8FaaK.system.js} +1 -1
  254. package/dist/baloise-design-system/p-Dhp6-MTS.system.js +1 -0
  255. package/dist/baloise-design-system/p-DowF7e07.system.js +1 -0
  256. package/dist/baloise-design-system/{p-B5KM7rHn.js → p-Dp4edqFK.js} +1 -1
  257. package/dist/baloise-design-system/p-DsxGYykr.js +1 -0
  258. package/dist/baloise-design-system/{p-SdtgSPca.system.js → p-DtlqgdI2.system.js} +1 -1
  259. package/dist/baloise-design-system/{p-9kAhgg3Z.js → p-Dvgek0Sb.js} +1 -1
  260. package/dist/baloise-design-system/p-Dz-E2PRm.system.js +1 -1
  261. package/dist/baloise-design-system/p-IZFfLjcz.js +1 -0
  262. package/dist/baloise-design-system/{p-cH5PDB1i.js → p-MBsgW7uz.js} +1 -1
  263. package/dist/baloise-design-system/p-PNu_g_s6.system.js +2 -0
  264. package/dist/baloise-design-system/p-TqRS9XF1.system.js +1 -0
  265. package/dist/baloise-design-system/{p-DXVk9Ina.js → p-ZalPEZLa.js} +1 -1
  266. package/dist/baloise-design-system/p-a17017ddc0.system.entry.js +1 -0
  267. package/dist/baloise-design-system/{p-48180ac5f9.system.entry.js → p-a2abd2bae3.system.entry.js} +1 -1
  268. package/dist/baloise-design-system/{p-27c4c637c1.system.entry.js → p-a494f5de47.system.entry.js} +1 -1
  269. package/dist/baloise-design-system/p-a97c5309f7.entry.js +1 -0
  270. package/dist/baloise-design-system/p-abfdce3ea8.system.entry.js +1 -0
  271. package/dist/baloise-design-system/p-ae2946a498.system.entry.js +1 -0
  272. package/dist/baloise-design-system/p-b03de8e7ba.system.entry.js +1 -0
  273. package/dist/baloise-design-system/p-b0b5fa7a40.entry.js +1 -0
  274. package/dist/baloise-design-system/p-b38b2e9484.system.entry.js +1 -0
  275. package/dist/baloise-design-system/{p-0d618c466b.system.entry.js → p-b4e66c496c.system.entry.js} +1 -1
  276. package/dist/baloise-design-system/p-b603676988.entry.js +1 -0
  277. package/dist/baloise-design-system/{p-b06c400104.entry.js → p-b66021b38c.entry.js} +1 -1
  278. package/dist/baloise-design-system/p-b81b635342.system.entry.js +1 -0
  279. package/dist/baloise-design-system/p-b9be7f4ef6.system.entry.js +1 -0
  280. package/dist/baloise-design-system/p-ba0974ae21.system.entry.js +1 -0
  281. package/dist/baloise-design-system/{p-46048d30b3.system.entry.js → p-bd80a9b297.system.entry.js} +1 -1
  282. package/dist/baloise-design-system/p-bf4f338b08.system.entry.js +1 -0
  283. package/dist/baloise-design-system/p-c291d986ba.entry.js +1 -0
  284. package/dist/baloise-design-system/p-c3af6cc44a.system.entry.js +1 -0
  285. package/dist/baloise-design-system/p-c45c863624.entry.js +1 -0
  286. package/dist/baloise-design-system/p-c78c0dd43a.entry.js +1 -0
  287. package/dist/baloise-design-system/p-c983f0df44.entry.js +1 -0
  288. package/dist/baloise-design-system/p-cbc17a1f06.system.entry.js +1 -0
  289. package/dist/baloise-design-system/p-ccf29475c6.entry.js +1 -0
  290. package/dist/baloise-design-system/p-cf749f385e.entry.js +1 -0
  291. package/dist/baloise-design-system/p-cfae4fef4d.entry.js +1 -0
  292. package/dist/baloise-design-system/{p-09bcea6590.entry.js → p-d04073fca3.entry.js} +1 -1
  293. package/dist/baloise-design-system/{p-f5da815d40.system.entry.js → p-d680dc3dd0.system.entry.js} +1 -1
  294. package/dist/baloise-design-system/p-d846f14080.system.entry.js +1 -0
  295. package/dist/baloise-design-system/p-dbb9b3b5e2.system.entry.js +1 -0
  296. package/dist/baloise-design-system/p-df0264e119.system.entry.js +1 -0
  297. package/dist/baloise-design-system/p-e03203e89d.entry.js +1 -0
  298. package/dist/baloise-design-system/p-e2296eb10b.system.entry.js +1 -0
  299. package/dist/baloise-design-system/p-e4154bb891.system.entry.js +1 -0
  300. package/dist/baloise-design-system/p-ea29fa4382.entry.js +1 -0
  301. package/dist/baloise-design-system/p-eb726f11fd.system.entry.js +1 -0
  302. package/dist/baloise-design-system/p-eb9d8029c6.system.entry.js +1 -0
  303. package/dist/baloise-design-system/p-ef841ce7eb.system.entry.js +1 -0
  304. package/dist/baloise-design-system/p-f12905324e.system.entry.js +1 -0
  305. package/dist/baloise-design-system/p-f2232ea09f.entry.js +1 -0
  306. package/dist/baloise-design-system/p-f348ec6012.entry.js +1 -0
  307. package/dist/baloise-design-system/p-f51b5f779a.entry.js +1 -0
  308. package/dist/baloise-design-system/{p-845bb5b65f.entry.js → p-f7b16f08ab.entry.js} +1 -1
  309. package/dist/baloise-design-system/{p-09dea19d2d.entry.js → p-fdb00a8fdc.entry.js} +1 -1
  310. package/dist/baloise-design-system/p-hcWLO6Gg.js +1 -0
  311. package/dist/baloise-design-system/{p-BUT7svFW.js → p-j851_ZaC.js} +1 -1
  312. package/dist/baloise-design-system/p-jQQqRgMt.system.js +1 -0
  313. package/dist/baloise-design-system/p-wAfnccKA.system.js +1 -0
  314. package/dist/baloise-design-system/{p-D4O83t4p.system.js → p-xlS5vO33.system.js} +1 -1
  315. package/dist/cjs/{animation.decorator-DvBKgd0w.js → animation.decorator-B4NJvcMF.js} +9 -9
  316. package/dist/cjs/app-globals-C_KNnTwa.js +11 -0
  317. package/dist/cjs/bal-accordion_4.cjs.entry.js +24 -19
  318. package/dist/cjs/bal-app.cjs.entry.js +20 -14
  319. package/dist/cjs/bal-badge.cjs.entry.js +2 -2
  320. package/dist/cjs/bal-button_2.cjs.entry.js +5 -2
  321. package/dist/cjs/bal-card_6.cjs.entry.js +1 -1
  322. package/dist/cjs/bal-carousel_2.cjs.entry.js +31 -29
  323. package/dist/cjs/bal-check.cjs.entry.js +1 -1
  324. package/dist/cjs/bal-checkbox_2.cjs.entry.js +16 -12
  325. package/dist/cjs/bal-close.cjs.entry.js +9 -5
  326. package/dist/cjs/bal-content.cjs.entry.js +4 -2
  327. package/dist/cjs/bal-data_4.cjs.entry.js +6 -3
  328. package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +5 -2
  329. package/dist/cjs/bal-date-calendar_2.cjs.entry.js +33 -44
  330. package/dist/cjs/bal-date.cjs.entry.js +29 -25
  331. package/dist/cjs/bal-divider.cjs.entry.js +4 -2
  332. package/dist/cjs/{bal-dropdown.cjs.entry.js → bal-dropdown_3.cjs.entry.js} +634 -40
  333. package/dist/cjs/bal-field_5.cjs.entry.js +14 -14
  334. package/dist/cjs/bal-file-upload.cjs.entry.js +16 -21
  335. package/dist/cjs/bal-footer.cjs.entry.js +14 -9
  336. package/dist/cjs/bal-form-col_2.cjs.entry.js +3 -3
  337. package/dist/cjs/bal-form.cjs.entry.js +7 -4
  338. package/dist/cjs/bal-heading_2.cjs.entry.js +4 -3
  339. package/dist/cjs/bal-hint_5.cjs.entry.js +22 -18
  340. package/dist/cjs/bal-icon.cjs.entry.js +7 -3
  341. package/dist/cjs/bal-input-group.cjs.entry.js +2 -2
  342. package/dist/cjs/bal-input-slider.cjs.entry.js +10 -7
  343. package/dist/cjs/bal-input-stepper.cjs.entry.js +1035 -1061
  344. package/dist/cjs/bal-input.cjs.entry.js +9 -5
  345. package/dist/cjs/bal-label.cjs.entry.js +11 -7
  346. package/dist/cjs/bal-list_8.cjs.entry.js +33 -29
  347. package/dist/cjs/bal-logo.cjs.entry.js +13 -9
  348. package/dist/cjs/bal-modal_3.cjs.entry.js +33 -30
  349. package/dist/cjs/bal-nav_8.cjs.entry.js +62 -82
  350. package/dist/cjs/bal-navbar_5.cjs.entry.js +19 -14
  351. package/dist/cjs/bal-notices_3.cjs.entry.js +2 -2
  352. package/dist/cjs/bal-notification.cjs.entry.js +1 -1
  353. package/dist/cjs/bal-number-input.cjs.entry.js +14 -9
  354. package/dist/cjs/bal-pagination.cjs.entry.js +13 -8
  355. package/dist/cjs/bal-popup.cjs.entry.js +17 -13
  356. package/dist/cjs/bal-progress-bar.cjs.entry.js +12 -10
  357. package/dist/cjs/bal-radio-icon.cjs.entry.js +1 -1
  358. package/dist/cjs/bal-radio_2.cjs.entry.js +16 -12
  359. package/dist/cjs/bal-segment_2.cjs.entry.js +24 -21
  360. package/dist/cjs/bal-select_2.cjs.entry.js +20 -16
  361. package/dist/cjs/bal-shape.cjs.entry.js +6 -6
  362. package/dist/cjs/bal-sheet.cjs.entry.js +1 -1
  363. package/dist/cjs/bal-spinner.cjs.entry.js +12 -7
  364. package/dist/cjs/bal-stack.cjs.entry.js +4 -2
  365. package/dist/cjs/bal-stage_6.cjs.entry.js +11 -8
  366. package/dist/cjs/bal-step-item.cjs.entry.js +3 -3
  367. package/dist/cjs/bal-steps.cjs.entry.js +18 -20
  368. package/dist/cjs/bal-switch.cjs.entry.js +1 -1
  369. package/dist/cjs/bal-tab-item_2.cjs.entry.js +55 -65
  370. package/dist/cjs/bal-table.cjs.entry.js +2 -2
  371. package/dist/cjs/bal-tag_2.cjs.entry.js +3 -3
  372. package/dist/cjs/bal-textarea.cjs.entry.js +7 -4
  373. package/dist/cjs/bal-time-input.cjs.entry.js +13 -8
  374. package/dist/cjs/bal-tooltip.cjs.entry.js +11 -7
  375. package/dist/cjs/baloise-design-system.cjs.js +11 -4
  376. package/dist/cjs/{breakpoints.decorator-Bcx5bHdk.js → breakpoints.decorator-DyuVBCe8.js} +1 -1
  377. package/dist/cjs/{breakpoints.subject-DyM7928g.js → breakpoints.subject-dnWvx514.js} +17 -16
  378. package/dist/cjs/browser-BwmkTmm8.js +64 -0
  379. package/dist/cjs/{config.decorator-D_YTqpYj.js → config.decorator-CUe4yCTd.js} +3 -3
  380. package/dist/cjs/config.default-Bkso4_bY.js +50 -0
  381. package/dist/cjs/config.utils-Civnz2jT.js +142 -0
  382. package/dist/cjs/{date-CA-bG6cD.js → date-BPyuc34s.js} +69 -5
  383. package/dist/cjs/{device-CrnZOym8.js → device-CoogBamh.js} +5 -5
  384. package/dist/cjs/{element-states.decorator-0udYH_TL.js → element-states.decorator-BG2oNUsO.js} +13 -12
  385. package/dist/cjs/{floating-ui-T_yqQ0TC.js → floating-ui-DyN44UhF.js} +2 -2
  386. package/dist/cjs/{focus.decorator-Bu4qsoNG.js → focus.decorator-BL2kLsNv.js} +10 -9
  387. package/dist/cjs/{form-input-DBZuEpuy.js → form-input-BwFB4Rej.js} +2 -2
  388. package/dist/cjs/helpers-HuaiWXrB.js +331 -0
  389. package/dist/{esm/index-BgWhYta3.js → cjs/index-feA4skrY.js} +215 -1152
  390. package/dist/cjs/index.cjs.js +60 -56
  391. package/dist/cjs/initialize-CWGvp-PN.js +448 -0
  392. package/dist/cjs/{listener-h1eTpBYL.js → listener-DspXpqzY.js} +2 -2
  393. package/dist/cjs/loader.cjs.js +10 -3
  394. package/dist/cjs/log-CXDMiw7o.js +80 -0
  395. package/dist/cjs/{mutation.decorator-C3JICFwA.js → mutation.decorator-BolUYaKD.js} +5 -5
  396. package/dist/cjs/{number-B6kudt4D.js → number-COdZG-wK.js} +4 -3
  397. package/dist/cjs/{overlays-CkF6MI3c.js → overlays-DQGlu5jj.js} +5 -4
  398. package/dist/cjs/{resize.decorator-Cxv0R8v_.js → resize.decorator-ChuFQ8x3.js} +6 -5
  399. package/dist/cjs/{scroll-DU1EZHWg.js → scroll-B_kvfDui.js} +5 -5
  400. package/dist/cjs/{swiper.util-B4hvYgKv.js → string-CKS6CsMi.js} +28 -32
  401. package/dist/cjs/{swipe.decorator-B69SZ4Jn.js → swipe.decorator-BZYUlkYt.js} +1 -1
  402. package/dist/cjs/{swipe.subject-BbLTKDyB.js → swipe.subject-BaKNugDQ.js} +4 -4
  403. package/dist/cjs/{tokens.esm-yrgVVjY8.js → tokens.esm-CNpvwEnI.js} +1 -1
  404. package/dist/cjs/{visibility.decorator-CC35M6Un.js → visibility.decorator-DTARY-5M.js} +5 -5
  405. package/dist/cjs/window-resize.decorator-Ck1Zfh6H.js +48 -0
  406. package/dist/collection/collection-manifest.json +3 -7
  407. package/dist/collection/components/bal-accordion/bal-accordion-details/bal-accordion-details.js +5 -5
  408. package/dist/collection/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.js +7 -7
  409. package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.js +12 -12
  410. package/dist/collection/components/bal-accordion/bal-accordion.js +13 -14
  411. package/dist/collection/components/bal-app/bal-app.js +26 -7
  412. package/dist/collection/components/bal-badge/bal-badge.js +6 -6
  413. package/dist/collection/components/bal-button/bal-button-group/bal-button-group.js +3 -3
  414. package/dist/collection/components/bal-button/bal-button.js +31 -31
  415. package/dist/collection/components/bal-card/bal-card-actions/bal-card-actions.js +1 -1
  416. package/dist/collection/components/bal-card/bal-card-button/bal-card-button.js +10 -10
  417. package/dist/collection/components/bal-card/bal-card-subtitle/bal-card-subtitle.js +3 -3
  418. package/dist/collection/components/bal-card/bal-card-title/bal-card-title.js +1 -1
  419. package/dist/collection/components/bal-card/bal-card.js +9 -9
  420. package/dist/collection/components/bal-carousel/bal-carousel-item/bal-carousel-item.js +17 -17
  421. package/dist/collection/components/bal-carousel/bal-carousel.js +20 -20
  422. package/dist/collection/components/bal-checkbox/bal-check/bal-check.js +6 -6
  423. package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.js +13 -15
  424. package/dist/collection/components/bal-checkbox/bal-checkbox.js +20 -20
  425. package/dist/collection/components/bal-checkbox/bal-switch/bal-switch.js +5 -5
  426. package/dist/collection/components/bal-close/bal-close.js +4 -4
  427. package/dist/collection/components/bal-content/bal-content.js +5 -5
  428. package/dist/collection/components/bal-data/bal-data-item/bal-data-item.js +2 -2
  429. package/dist/collection/components/bal-data/bal-data-label/bal-data-label.js +1 -1
  430. package/dist/collection/components/bal-data/bal-data-value/bal-data-value.js +6 -6
  431. package/dist/collection/components/bal-data/bal-data.js +2 -2
  432. package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.js +13 -14
  433. package/dist/collection/components/bal-date/bal-date-calendar-cell/bal-date-calendar-cell.js +13 -13
  434. package/dist/collection/components/bal-date/bal-date.js +26 -27
  435. package/dist/collection/components/bal-divider/bal-divider.js +4 -4
  436. package/dist/collection/components/bal-dropdown/bal-dropdown.js +21 -22
  437. package/dist/collection/components/bal-field/bal-field-control/bal-field-control.js +4 -4
  438. package/dist/collection/components/bal-field/bal-field-hint/bal-field-hint.js +4 -4
  439. package/dist/collection/components/bal-field/bal-field-label/bal-field-label.js +8 -8
  440. package/dist/collection/components/bal-field/bal-field-message/bal-field-message.js +6 -6
  441. package/dist/collection/components/bal-field/bal-field.js +11 -11
  442. package/dist/collection/components/bal-file-upload/bal-file-upload.js +25 -27
  443. package/dist/collection/components/bal-footer/bal-footer.js +5 -6
  444. package/dist/collection/components/bal-form/bal-form.js +4 -4
  445. package/dist/collection/components/bal-form-grid/bal-form-col/bal-form-col.js +3 -3
  446. package/dist/collection/components/bal-heading/bal-heading.js +14 -14
  447. package/dist/collection/components/bal-hint/bal-hint.css +1 -1
  448. package/dist/collection/components/bal-hint/bal-hint.js +3 -3
  449. package/dist/collection/components/bal-icon/bal-icon.js +16 -16
  450. package/dist/collection/components/bal-input/bal-input-date/bal-input-date.js +19 -19
  451. package/dist/collection/components/bal-input/bal-input.js +41 -41
  452. package/dist/collection/components/bal-input-group/bal-input-group.js +4 -4
  453. package/dist/collection/components/bal-input-slider/bal-input-slider.js +19 -19
  454. package/dist/collection/components/bal-input-stepper/bal-input-stepper.js +11 -11
  455. package/dist/collection/components/bal-label/bal-label.js +15 -15
  456. package/dist/collection/components/bal-list/bal-list-item/bal-list-item.js +11 -11
  457. package/dist/collection/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.js +7 -7
  458. package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.js +4 -4
  459. package/dist/collection/components/bal-list/bal-list-item-content/bal-list-item-content.js +2 -2
  460. package/dist/collection/components/bal-list/bal-list-item-icon/bal-list-item-icon.js +1 -1
  461. package/dist/collection/components/bal-list/bal-list-item-title/bal-list-item-title.js +3 -3
  462. package/dist/collection/components/bal-list/bal-list.js +7 -7
  463. package/dist/collection/components/bal-logo/bal-logo.js +6 -6
  464. package/dist/collection/components/bal-modal/bal-modal-header/bal-modal-header.js +1 -1
  465. package/dist/collection/components/bal-modal/bal-modal.js +24 -26
  466. package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.js +8 -8
  467. package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.js +1 -1
  468. package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.js +1 -1
  469. package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.js +4 -4
  470. package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +2 -2
  471. package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.js +8 -8
  472. package/dist/collection/components/bal-nav/bal-nav.js +2 -5
  473. package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.js +14 -14
  474. package/dist/collection/components/bal-navbar/bal-navbar-menu/bal-navbar-menu.js +1 -1
  475. package/dist/collection/components/bal-navbar/bal-navbar-menu-end/bal-navbar-menu-end.js +1 -1
  476. package/dist/collection/components/bal-navbar/bal-navbar-menu-start/bal-navbar-menu-start.js +1 -1
  477. package/dist/collection/components/bal-navbar/bal-navbar.js +3 -3
  478. package/dist/collection/components/bal-notices/bal-notices.css +1 -1
  479. package/dist/collection/components/bal-notices/bal-notices.js +3 -3
  480. package/dist/collection/components/bal-notification/bal-notification.js +3 -3
  481. package/dist/collection/components/bal-number-input/bal-number-input.js +22 -22
  482. package/dist/collection/components/bal-option/bal-option.js +9 -9
  483. package/dist/collection/components/bal-option-list/bal-option-list.js +11 -11
  484. package/dist/collection/components/bal-pagination/bal-pagination.js +9 -9
  485. package/dist/collection/components/bal-popover/bal-popover-content/bal-popover-content.js +11 -11
  486. package/dist/collection/components/bal-popover/bal-popover.js +16 -16
  487. package/dist/collection/components/bal-popup/bal-popup.js +15 -15
  488. package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +6 -6
  489. package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.js +15 -16
  490. package/dist/collection/components/bal-radio/bal-radio-icon/bal-radio-icon.js +6 -6
  491. package/dist/collection/components/bal-radio/bal-radio.js +19 -19
  492. package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +7 -7
  493. package/dist/collection/components/bal-segment/bal-segment.js +9 -9
  494. package/dist/collection/components/bal-select/bal-select-option/bal-select-option.js +6 -6
  495. package/dist/collection/components/bal-select/bal-select.js +30 -30
  496. package/dist/collection/components/bal-shape/bal-shape.js +7 -7
  497. package/dist/collection/components/bal-sheet/bal-sheet.js +1 -1
  498. package/dist/collection/components/bal-snackbar/bal-snackbar.js +9 -11
  499. package/dist/collection/components/bal-spinner/bal-spinner.js +9 -10
  500. package/dist/collection/components/bal-stack/bal-stack.js +13 -13
  501. package/dist/collection/components/bal-stage/bal-stage-back-link/bal-stage-back-link.js +8 -8
  502. package/dist/collection/components/bal-stage/bal-stage-body/bal-stage-body.js +1 -1
  503. package/dist/collection/components/bal-stage/bal-stage-foot/bal-stage-foot.js +1 -1
  504. package/dist/collection/components/bal-stage/bal-stage-head/bal-stage-head.js +1 -1
  505. package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +7 -7
  506. package/dist/collection/components/bal-stage/bal-stage.js +8 -8
  507. package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +14 -14
  508. package/dist/collection/components/bal-steps/bal-steps.js +10 -11
  509. package/dist/collection/components/bal-table/bal-table.js +2 -2
  510. package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +19 -19
  511. package/dist/collection/components/bal-tabs/bal-tabs.js +22 -23
  512. package/dist/collection/components/bal-tag/bal-tag.js +10 -10
  513. package/dist/collection/components/bal-tag/test/bal-tag.a11y.play.js +20 -0
  514. package/dist/collection/components/bal-tag/test/bal-tag.component.play.js +19 -0
  515. package/dist/collection/components/bal-tag/test/bal-tag.visual.play.js +20 -0
  516. package/dist/collection/components/bal-text/bal-text.js +13 -13
  517. package/dist/collection/components/bal-textarea/bal-textarea.js +27 -27
  518. package/dist/collection/components/bal-time-input/bal-time-input.js +9 -9
  519. package/dist/collection/components/bal-toast/bal-toast.js +4 -5
  520. package/dist/collection/components/bal-tooltip/bal-tooltip.js +10 -10
  521. package/dist/collection/utils/constants/version.constant.js +1 -1
  522. package/dist/collection/utils/focus/focus.listener.js +1 -1
  523. package/dist/collection/utils/helpers.js +1 -1
  524. package/dist/collection/utils/swipe/swipe.listener.js +1 -1
  525. package/dist/esm/{animation.decorator-CNK3bJ6X.js → animation.decorator-zbSqKhw6.js} +2 -2
  526. package/dist/esm/app-globals-BRqdW0lU.js +9 -0
  527. package/dist/esm/bal-accordion_4.entry.js +12 -7
  528. package/dist/esm/bal-app.entry.js +10 -4
  529. package/dist/esm/bal-badge.entry.js +2 -2
  530. package/dist/esm/bal-button_2.entry.js +4 -1
  531. package/dist/esm/bal-card_6.entry.js +1 -1
  532. package/dist/esm/bal-carousel_2.entry.js +27 -25
  533. package/dist/esm/bal-check.entry.js +1 -1
  534. package/dist/esm/bal-checkbox_2.entry.js +11 -7
  535. package/dist/esm/bal-close.entry.js +7 -3
  536. package/dist/esm/bal-content.entry.js +3 -1
  537. package/dist/esm/bal-data_4.entry.js +6 -3
  538. package/dist/esm/bal-date-calendar-cell.entry.js +5 -2
  539. package/dist/esm/bal-date-calendar_2.entry.js +25 -36
  540. package/dist/esm/bal-date.entry.js +12 -8
  541. package/dist/esm/bal-divider.entry.js +3 -1
  542. package/dist/esm/{bal-dropdown.entry.js → bal-dropdown_3.entry.js} +612 -20
  543. package/dist/esm/bal-field_5.entry.js +12 -12
  544. package/dist/esm/bal-file-upload.entry.js +15 -20
  545. package/dist/esm/bal-footer.entry.js +7 -2
  546. package/dist/esm/bal-form-col_2.entry.js +3 -3
  547. package/dist/esm/bal-form.entry.js +5 -2
  548. package/dist/esm/bal-heading_2.entry.js +3 -2
  549. package/dist/esm/bal-hint_5.entry.js +17 -13
  550. package/dist/esm/bal-icon.entry.js +6 -2
  551. package/dist/esm/bal-input-group.entry.js +2 -2
  552. package/dist/esm/bal-input-slider.entry.js +9 -6
  553. package/dist/esm/bal-input-stepper.entry.js +1029 -1055
  554. package/dist/esm/bal-input.entry.js +7 -3
  555. package/dist/esm/bal-label.entry.js +8 -4
  556. package/dist/esm/bal-list_8.entry.js +21 -17
  557. package/dist/esm/bal-logo.entry.js +11 -7
  558. package/dist/esm/bal-modal_3.entry.js +28 -25
  559. package/dist/esm/bal-nav_8.entry.js +40 -60
  560. package/dist/esm/bal-navbar_5.entry.js +14 -9
  561. package/dist/esm/bal-notices_3.entry.js +2 -2
  562. package/dist/esm/bal-notification.entry.js +1 -1
  563. package/dist/esm/bal-number-input.entry.js +10 -5
  564. package/dist/esm/bal-pagination.entry.js +12 -7
  565. package/dist/esm/bal-popup.entry.js +9 -5
  566. package/dist/esm/bal-progress-bar.entry.js +11 -9
  567. package/dist/esm/bal-radio-icon.entry.js +1 -1
  568. package/dist/esm/bal-radio_2.entry.js +10 -6
  569. package/dist/esm/bal-segment_2.entry.js +18 -15
  570. package/dist/esm/bal-select_2.entry.js +13 -9
  571. package/dist/esm/bal-shape.entry.js +6 -6
  572. package/dist/esm/bal-sheet.entry.js +1 -1
  573. package/dist/esm/bal-spinner.entry.js +8 -3
  574. package/dist/esm/bal-stack.entry.js +3 -1
  575. package/dist/esm/bal-stage_6.entry.js +10 -7
  576. package/dist/esm/bal-step-item.entry.js +3 -3
  577. package/dist/esm/bal-steps.entry.js +16 -18
  578. package/dist/esm/bal-switch.entry.js +1 -1
  579. package/dist/esm/bal-tab-item_2.entry.js +37 -47
  580. package/dist/esm/bal-table.entry.js +2 -2
  581. package/dist/esm/bal-tag_2.entry.js +3 -3
  582. package/dist/esm/bal-textarea.entry.js +6 -3
  583. package/dist/esm/bal-time-input.entry.js +9 -4
  584. package/dist/esm/bal-tooltip.entry.js +8 -4
  585. package/dist/esm/baloise-design-system.js +11 -4
  586. package/dist/esm/{breakpoints.decorator-CB70vvLx.js → breakpoints.decorator-B1jmHb1D.js} +1 -1
  587. package/dist/esm/{breakpoints.subject-Dpu4Jjc3.js → breakpoints.subject-CLkQ75F0.js} +5 -4
  588. package/dist/esm/browser-B1u-Mq75.js +62 -0
  589. package/dist/esm/{config.decorator-FwS7csea.js → config.decorator-3bfyZ-0Y.js} +1 -1
  590. package/dist/esm/config.default-I6QXKbhg.js +47 -0
  591. package/dist/esm/config.utils-B7jugjyM.js +102 -0
  592. package/dist/esm/{date-wScrQINJ.js → date-W0XtD641.js} +65 -2
  593. package/dist/esm/{device-CWdcsnSc.js → device-TtMibDFL.js} +1 -1
  594. package/dist/esm/{element-states.decorator-BPErBZif.js → element-states.decorator-B68ANq1p.js} +3 -2
  595. package/dist/esm/{floating-ui-CNYJCYYO.js → floating-ui-Bx04QSXP.js} +1 -1
  596. package/dist/esm/{focus.decorator-BBUVspZX.js → focus.decorator-C1s3OoqI.js} +3 -2
  597. package/dist/esm/{form-input-Dv0N9pEu.js → form-input-DYvzaBlM.js} +1 -1
  598. package/dist/esm/helpers-BNj87EbG.js +307 -0
  599. package/dist/{cjs/index-TwNDE7ev.js → esm/index-BdVwMG9u.js} +204 -1207
  600. package/dist/esm/index.js +18 -14
  601. package/dist/esm/initialize-pdWsVO-c.js +441 -0
  602. package/dist/esm/{keyboard.helpers-D1VPLQ5z.js → keyboard.helpers-BERg8BNc.js} +1 -1
  603. package/dist/esm/{listener-BCxt7kj7.js → listener-CClDIhvK.js} +1 -1
  604. package/dist/esm/loader.js +10 -3
  605. package/dist/esm/log-CwssmmaV.js +77 -0
  606. package/dist/esm/{mutation.decorator-DVnSOGDK.js → mutation.decorator-DhVeNnnY.js} +2 -2
  607. package/dist/esm/{number-oUZz7C1l.js → number-Bwx2aNR0.js} +2 -1
  608. package/dist/esm/{overlays-B9nzshwp.js → overlays-DuvWMrlA.js} +2 -1
  609. package/dist/esm/{resize.decorator-xO0LVkHO.js → resize.decorator-ZKPOJfw5.js} +3 -2
  610. package/dist/esm/{scroll-Dhp_eUkh.js → scroll-X92R_eyZ.js} +1 -1
  611. package/dist/esm/{swiper.util-vb9wIkyd.js → string-Dk4PnSfl.js} +18 -22
  612. package/dist/esm/{swipe.decorator-Bk0DXvq0.js → swipe.decorator-B_Ghrp1o.js} +1 -1
  613. package/dist/esm/{swipe.subject-CCKruupP.js → swipe.subject-T0VStuOK.js} +3 -3
  614. package/dist/esm/{tokens.esm-4RggM_kM.js → tokens.esm-Crri2rlL.js} +2 -2
  615. package/dist/esm/{visibility.decorator-C5quU420.js → visibility.decorator-zTjPC2du.js} +2 -2
  616. package/dist/esm/{window-resize.decorator-tooGxqQM.js → window-resize.decorator-Dm6C96Ro.js} +24 -1
  617. package/dist/esm-es5/animation.decorator-zbSqKhw6.js +1 -0
  618. package/dist/esm-es5/app-globals-BRqdW0lU.js +1 -0
  619. package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
  620. package/dist/esm-es5/bal-app.entry.js +1 -1
  621. package/dist/esm-es5/bal-badge.entry.js +1 -1
  622. package/dist/esm-es5/bal-button_2.entry.js +1 -1
  623. package/dist/esm-es5/bal-card_6.entry.js +1 -1
  624. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  625. package/dist/esm-es5/bal-check.entry.js +1 -1
  626. package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
  627. package/dist/esm-es5/bal-close.entry.js +1 -1
  628. package/dist/esm-es5/bal-content.entry.js +1 -1
  629. package/dist/esm-es5/bal-data_4.entry.js +1 -1
  630. package/dist/esm-es5/bal-date-calendar-cell.entry.js +1 -1
  631. package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
  632. package/dist/esm-es5/bal-date.entry.js +1 -1
  633. package/dist/esm-es5/bal-divider.entry.js +1 -1
  634. package/dist/esm-es5/bal-dropdown_3.entry.js +1 -0
  635. package/dist/esm-es5/bal-field_5.entry.js +1 -1
  636. package/dist/esm-es5/bal-file-upload.entry.js +1 -1
  637. package/dist/esm-es5/bal-footer.entry.js +1 -1
  638. package/dist/esm-es5/bal-form-col_2.entry.js +1 -1
  639. package/dist/esm-es5/bal-form.entry.js +1 -1
  640. package/dist/esm-es5/bal-heading_2.entry.js +1 -1
  641. package/dist/esm-es5/bal-hint_5.entry.js +1 -1
  642. package/dist/esm-es5/bal-icon.entry.js +1 -1
  643. package/dist/esm-es5/bal-input-group.entry.js +1 -1
  644. package/dist/esm-es5/bal-input-slider.entry.js +1 -1
  645. package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
  646. package/dist/esm-es5/bal-input.entry.js +1 -1
  647. package/dist/esm-es5/bal-label.entry.js +1 -1
  648. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  649. package/dist/esm-es5/bal-logo.entry.js +1 -1
  650. package/dist/esm-es5/bal-modal_3.entry.js +1 -1
  651. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  652. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  653. package/dist/esm-es5/bal-notices_3.entry.js +1 -1
  654. package/dist/esm-es5/bal-notification.entry.js +1 -1
  655. package/dist/esm-es5/bal-number-input.entry.js +1 -1
  656. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  657. package/dist/esm-es5/bal-popup.entry.js +1 -1
  658. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  659. package/dist/esm-es5/bal-radio-icon.entry.js +1 -1
  660. package/dist/esm-es5/bal-radio_2.entry.js +1 -1
  661. package/dist/esm-es5/bal-segment_2.entry.js +1 -1
  662. package/dist/esm-es5/bal-select_2.entry.js +1 -1
  663. package/dist/esm-es5/bal-shape.entry.js +1 -1
  664. package/dist/esm-es5/bal-sheet.entry.js +1 -1
  665. package/dist/esm-es5/bal-spinner.entry.js +1 -1
  666. package/dist/esm-es5/bal-stack.entry.js +1 -1
  667. package/dist/esm-es5/bal-stage_6.entry.js +1 -1
  668. package/dist/esm-es5/bal-step-item.entry.js +1 -1
  669. package/dist/esm-es5/bal-steps.entry.js +1 -1
  670. package/dist/esm-es5/bal-switch.entry.js +1 -1
  671. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  672. package/dist/esm-es5/bal-table.entry.js +1 -1
  673. package/dist/esm-es5/bal-tag_2.entry.js +1 -1
  674. package/dist/esm-es5/bal-textarea.entry.js +1 -1
  675. package/dist/esm-es5/bal-time-input.entry.js +1 -1
  676. package/dist/esm-es5/bal-tooltip.entry.js +1 -1
  677. package/dist/esm-es5/baloise-design-system.js +1 -1
  678. package/dist/esm-es5/{breakpoints.decorator-CB70vvLx.js → breakpoints.decorator-B1jmHb1D.js} +1 -1
  679. package/dist/esm-es5/breakpoints.subject-CLkQ75F0.js +1 -0
  680. package/dist/esm-es5/browser-B1u-Mq75.js +1 -0
  681. package/dist/esm-es5/config.decorator-3bfyZ-0Y.js +1 -0
  682. package/dist/esm-es5/config.default-I6QXKbhg.js +1 -0
  683. package/dist/esm-es5/config.utils-B7jugjyM.js +1 -0
  684. package/dist/esm-es5/{date-wScrQINJ.js → date-W0XtD641.js} +1 -1
  685. package/dist/esm-es5/device-TtMibDFL.js +1 -0
  686. package/dist/esm-es5/element-states.decorator-B68ANq1p.js +1 -0
  687. package/dist/esm-es5/floating-ui-Bx04QSXP.js +1 -0
  688. package/dist/esm-es5/focus.decorator-C1s3OoqI.js +1 -0
  689. package/dist/esm-es5/form-input-DYvzaBlM.js +1 -0
  690. package/dist/esm-es5/helpers-BNj87EbG.js +1 -0
  691. package/dist/esm-es5/index-BdVwMG9u.js +2 -0
  692. package/dist/esm-es5/index.js +1 -1
  693. package/dist/esm-es5/initialize-pdWsVO-c.js +1 -0
  694. package/dist/esm-es5/{keyboard.helpers-D1VPLQ5z.js → keyboard.helpers-BERg8BNc.js} +1 -1
  695. package/dist/esm-es5/listener-CClDIhvK.js +1 -0
  696. package/dist/esm-es5/loader.js +1 -1
  697. package/dist/esm-es5/log-CwssmmaV.js +1 -0
  698. package/dist/esm-es5/mutation.decorator-DhVeNnnY.js +1 -0
  699. package/dist/esm-es5/number-Bwx2aNR0.js +1 -0
  700. package/dist/esm-es5/overlays-DuvWMrlA.js +1 -0
  701. package/dist/esm-es5/resize.decorator-ZKPOJfw5.js +1 -0
  702. package/dist/esm-es5/scroll-X92R_eyZ.js +1 -0
  703. package/dist/esm-es5/string-Dk4PnSfl.js +1 -0
  704. package/dist/esm-es5/{swipe.decorator-Bk0DXvq0.js → swipe.decorator-B_Ghrp1o.js} +1 -1
  705. package/dist/esm-es5/swipe.subject-T0VStuOK.js +1 -0
  706. package/dist/esm-es5/{tokens.esm-4RggM_kM.js → tokens.esm-Crri2rlL.js} +1 -1
  707. package/dist/esm-es5/visibility.decorator-zTjPC2du.js +1 -0
  708. package/dist/esm-es5/window-resize.decorator-Dm6C96Ro.js +1 -0
  709. package/dist/html.html-data.json +1 -62
  710. package/dist/types/components/bal-accordion/bal-accordion-details/bal-accordion-details.d.ts +3 -2
  711. package/dist/types/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.d.ts +3 -2
  712. package/dist/types/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.d.ts +4 -3
  713. package/dist/types/components/bal-accordion/bal-accordion.d.ts +4 -3
  714. package/dist/types/components/bal-app/bal-app.d.ts +7 -1
  715. package/dist/types/components/bal-badge/bal-badge.d.ts +2 -1
  716. package/dist/types/components/bal-button/bal-button.d.ts +2 -1
  717. package/dist/types/components/bal-carousel/bal-carousel-item/bal-carousel-item.d.ts +2 -1
  718. package/dist/types/components/bal-carousel/bal-carousel.d.ts +4 -3
  719. package/dist/types/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.d.ts +2 -1
  720. package/dist/types/components/bal-close/bal-close.d.ts +2 -1
  721. package/dist/types/components/bal-data/bal-data-value/bal-data-value.d.ts +2 -1
  722. package/dist/types/components/bal-date/bal-date-calendar/bal-date-calendar.d.ts +2 -1
  723. package/dist/types/components/bal-date/bal-date.d.ts +2 -1
  724. package/dist/types/components/bal-dropdown/bal-dropdown.d.ts +2 -1
  725. package/dist/types/components/bal-field/bal-field.d.ts +3 -3
  726. package/dist/types/components/bal-file-upload/bal-file-upload.d.ts +3 -2
  727. package/dist/types/components/bal-form/bal-form.d.ts +2 -1
  728. package/dist/types/components/bal-form-grid/bal-form-col/bal-form-col.d.ts +2 -1
  729. package/dist/types/components/bal-heading/bal-heading.d.ts +2 -1
  730. package/dist/types/components/bal-input/bal-input-date/bal-input-date.d.ts +2 -1
  731. package/dist/types/components/bal-input/bal-input.d.ts +2 -1
  732. package/dist/types/components/bal-input-group/bal-input-group.d.ts +2 -1
  733. package/dist/types/components/bal-input-slider/bal-input-slider.d.ts +2 -1
  734. package/dist/types/components/bal-input-stepper/bal-input-stepper.d.ts +2 -1
  735. package/dist/types/components/bal-label/bal-label.d.ts +4 -3
  736. package/dist/types/components/bal-list/bal-list-item/bal-list-item.d.ts +2 -1
  737. package/dist/types/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.d.ts +2 -1
  738. package/dist/types/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.d.ts +2 -1
  739. package/dist/types/components/bal-list/bal-list.d.ts +2 -1
  740. package/dist/types/components/bal-logo/bal-logo.d.ts +3 -2
  741. package/dist/types/components/bal-modal/bal-modal-header/bal-modal-header.d.ts +2 -1
  742. package/dist/types/components/bal-modal/bal-modal.d.ts +2 -1
  743. package/dist/types/components/bal-modal/bal-modal.type.d.ts +2 -1
  744. package/dist/types/components/bal-nav/bal-nav-focus.util.d.ts +3 -2
  745. package/dist/types/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.d.ts +2 -1
  746. package/dist/types/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.d.ts +2 -1
  747. package/dist/types/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.d.ts +2 -1
  748. package/dist/types/components/bal-nav/bal-nav.d.ts +2 -1
  749. package/dist/types/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.d.ts +2 -1
  750. package/dist/types/components/bal-number-input/bal-number-input.d.ts +2 -1
  751. package/dist/types/components/bal-option/bal-option.d.ts +2 -1
  752. package/dist/types/components/bal-option-list/bal-option-list.d.ts +4 -3
  753. package/dist/types/components/bal-popover/bal-popover-content/bal-popover-content.d.ts +2 -1
  754. package/dist/types/components/bal-popover/bal-popover.d.ts +4 -3
  755. package/dist/types/components/bal-popup/bal-popup.d.ts +2 -1
  756. package/dist/types/components/bal-popup/variants/variant.interfaces.d.ts +2 -1
  757. package/dist/types/components/bal-progress-bar/bal-progress-bar.d.ts +2 -1
  758. package/dist/types/components/bal-radio/bal-radio-group/bal-radio-group.d.ts +2 -1
  759. package/dist/types/components/bal-segment/bal-segment-item/bal-segment-item.d.ts +2 -1
  760. package/dist/types/components/bal-segment/bal-segment.d.ts +2 -1
  761. package/dist/types/components/bal-select/bal-select.d.ts +2 -1
  762. package/dist/types/components/bal-select/utils/watch-options.d.ts +2 -1
  763. package/dist/types/components/bal-shape/bal-shape.d.ts +2 -1
  764. package/dist/types/components/bal-spinner/bal-spinner.d.ts +3 -2
  765. package/dist/types/components/bal-stage/bal-stage-back-link/bal-stage-back-link.d.ts +2 -1
  766. package/dist/types/components/bal-stage/bal-stage-body/bal-stage-body.d.ts +2 -1
  767. package/dist/types/components/bal-stage/bal-stage-foot/bal-stage-foot.d.ts +2 -1
  768. package/dist/types/components/bal-stage/bal-stage-head/bal-stage-head.d.ts +2 -1
  769. package/dist/types/components/bal-stage/bal-stage-image/bal-stage-image.d.ts +2 -1
  770. package/dist/types/components/bal-steps/bal-step-item/bal-step-item.d.ts +2 -1
  771. package/dist/types/components/bal-steps/bal-steps.d.ts +5 -4
  772. package/dist/types/components/bal-table/bal-table.d.ts +2 -1
  773. package/dist/types/components/bal-tabs/bal-tab-item/bal-tab-item.d.ts +2 -1
  774. package/dist/types/components/bal-tabs/bal-tabs.d.ts +2 -1
  775. package/dist/types/components/bal-tag/bal-tag.d.ts +2 -1
  776. package/dist/types/components/bal-tag/test/bal-tag.a11y.play.d.ts +1 -0
  777. package/dist/types/components/bal-tag/test/bal-tag.component.play.d.ts +1 -0
  778. package/dist/types/components/bal-tag/test/bal-tag.visual.play.d.ts +1 -0
  779. package/dist/types/components/bal-textarea/bal-textarea.d.ts +2 -1
  780. package/dist/types/components/bal-time-input/bal-time-input.d.ts +2 -1
  781. package/dist/types/components/bal-tooltip/bal-tooltip.d.ts +2 -1
  782. package/dist/types/components.d.ts +20 -1
  783. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/index.d.ts +8 -0
  784. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/bal-tag.po.d.ts +8 -0
  785. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/index.d.ts +1 -0
  786. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/page-object.d.ts +7 -0
  787. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/extend.d.ts +9 -0
  788. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/functions/a11y.d.ts +2 -0
  789. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/index.d.ts +12 -0
  790. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/to-have-first-received-event-detail.d.ts +5 -0
  791. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/to-have-nth-received-event-detail.d.ts +5 -0
  792. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/to-have-received-event-detail.d.ts +5 -0
  793. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/to-have-received-event-times.d.ts +5 -0
  794. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/to-have-received-event.d.ts +5 -0
  795. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/event-spy.d.ts +44 -0
  796. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/goto.d.ts +8 -0
  797. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/index.d.ts +5 -0
  798. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/locator.d.ts +21 -0
  799. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/mount.d.ts +3 -0
  800. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/spy-on-event.d.ts +3 -0
  801. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/wait-for-changes.d.ts +2 -0
  802. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/screenshot.d.ts +1 -0
  803. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/test-expect.d.ts +22 -0
  804. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/types.d.ts +38 -0
  805. package/dist/types/stencil-public-runtime.d.ts +62 -8
  806. package/dist/types/utils/animation/animation.interfaces.d.ts +3 -2
  807. package/dist/types/utils/animation/animation.listener.d.ts +2 -1
  808. package/dist/types/utils/attributes.d.ts +3 -2
  809. package/dist/types/utils/bem.d.ts +2 -2
  810. package/dist/types/utils/dropdown/component.d.ts +2 -1
  811. package/dist/types/utils/dropdown/popup.d.ts +2 -1
  812. package/dist/types/utils/element-states/element-states.interfaces.d.ts +2 -1
  813. package/dist/types/utils/element-states/element-states.listener.d.ts +2 -1
  814. package/dist/types/utils/focus/focus.interfaces.d.ts +2 -1
  815. package/dist/types/utils/focus/focus.listener.d.ts +2 -1
  816. package/dist/types/utils/form-input.d.ts +2 -1
  817. package/dist/types/utils/form.d.ts +2 -1
  818. package/dist/types/utils/helpers.d.ts +6 -5
  819. package/dist/types/utils/mask/component/mask-component-interfaces.d.ts +2 -1
  820. package/dist/types/utils/mutation/mutation.interfaces.d.ts +2 -1
  821. package/dist/types/utils/mutation/mutation.listener.d.ts +2 -1
  822. package/dist/types/utils/overlays/overlays.d.ts +2 -2
  823. package/dist/types/utils/resize/resize.interfaces.d.ts +2 -1
  824. package/dist/types/utils/resize/resize.listener.d.ts +2 -1
  825. package/dist/types/utils/resize/window-resize.interfaces.d.ts +2 -1
  826. package/dist/types/utils/style.d.ts +2 -1
  827. package/dist/types/utils/swipe/swipe.interfaces.d.ts +2 -1
  828. package/dist/types/utils/swipe/swipe.listener.d.ts +2 -1
  829. package/dist/types/utils/swiper/swiper.type.d.ts +3 -2
  830. package/dist/types/utils/types/listener.d.ts +3 -2
  831. package/dist/types/utils/visibility/visibility.interfaces.d.ts +2 -1
  832. package/dist/types/utils/visibility/visibility.listener.d.ts +2 -1
  833. package/package.json +10 -7
  834. package/components/bal-toast.controller.js +0 -127
  835. package/components/window-resize.listener.js +0 -80
  836. package/components/window-resize.subject.js +0 -26
  837. package/dist/baloise-design-system/p-0907fd261f.entry.js +0 -1
  838. package/dist/baloise-design-system/p-09348ab262.system.entry.js +0 -1
  839. package/dist/baloise-design-system/p-0986fe6bd0.system.entry.js +0 -1
  840. package/dist/baloise-design-system/p-0fad8a1e31.entry.js +0 -1
  841. package/dist/baloise-design-system/p-0fe98f59a4.system.entry.js +0 -1
  842. package/dist/baloise-design-system/p-10d754691a.entry.js +0 -1
  843. package/dist/baloise-design-system/p-113691a62f.entry.js +0 -1
  844. package/dist/baloise-design-system/p-1516c91d4e.entry.js +0 -1
  845. package/dist/baloise-design-system/p-1638d00f2d.system.entry.js +0 -1
  846. package/dist/baloise-design-system/p-1744fb223c.entry.js +0 -1
  847. package/dist/baloise-design-system/p-1a1b714236.entry.js +0 -1
  848. package/dist/baloise-design-system/p-1a48f63b91.entry.js +0 -1
  849. package/dist/baloise-design-system/p-1d177e7449.entry.js +0 -1
  850. package/dist/baloise-design-system/p-1d3f76cacc.system.entry.js +0 -1
  851. package/dist/baloise-design-system/p-1edf81b274.entry.js +0 -1
  852. package/dist/baloise-design-system/p-261a40555d.system.entry.js +0 -1
  853. package/dist/baloise-design-system/p-26f33fb309.system.entry.js +0 -1
  854. package/dist/baloise-design-system/p-28f315ce54.system.entry.js +0 -1
  855. package/dist/baloise-design-system/p-29be3c5644.system.entry.js +0 -1
  856. package/dist/baloise-design-system/p-2ad2cd8a77.system.entry.js +0 -1
  857. package/dist/baloise-design-system/p-2bb50edb03.entry.js +0 -1
  858. package/dist/baloise-design-system/p-2d88aa248e.system.entry.js +0 -1
  859. package/dist/baloise-design-system/p-32ed11b23d.entry.js +0 -1
  860. package/dist/baloise-design-system/p-33e4fc1641.entry.js +0 -1
  861. package/dist/baloise-design-system/p-37022683b7.entry.js +0 -1
  862. package/dist/baloise-design-system/p-380c5803d9.entry.js +0 -1
  863. package/dist/baloise-design-system/p-3eb7056b78.entry.js +0 -1
  864. package/dist/baloise-design-system/p-4173b195f5.entry.js +0 -1
  865. package/dist/baloise-design-system/p-429b6209eb.entry.js +0 -1
  866. package/dist/baloise-design-system/p-446235d66d.entry.js +0 -1
  867. package/dist/baloise-design-system/p-4592890c87.system.entry.js +0 -1
  868. package/dist/baloise-design-system/p-46aaffaa70.entry.js +0 -1
  869. package/dist/baloise-design-system/p-4861d5c268.system.entry.js +0 -1
  870. package/dist/baloise-design-system/p-4ab1baaeb2.system.entry.js +0 -1
  871. package/dist/baloise-design-system/p-4cbacb2728.entry.js +0 -1
  872. package/dist/baloise-design-system/p-54252e93ae.system.entry.js +0 -1
  873. package/dist/baloise-design-system/p-57303f4cf0.entry.js +0 -1
  874. package/dist/baloise-design-system/p-577c4fbffa.entry.js +0 -1
  875. package/dist/baloise-design-system/p-61d6ce6346.entry.js +0 -1
  876. package/dist/baloise-design-system/p-63d9b0dc71.system.entry.js +0 -1
  877. package/dist/baloise-design-system/p-6845434665.system.entry.js +0 -1
  878. package/dist/baloise-design-system/p-6JPfxkH9.system.js +0 -2
  879. package/dist/baloise-design-system/p-6a2d541345.entry.js +0 -1
  880. package/dist/baloise-design-system/p-6af4878ee1.system.entry.js +0 -1
  881. package/dist/baloise-design-system/p-6b7cef6b56.system.entry.js +0 -1
  882. package/dist/baloise-design-system/p-6c89fe7777.system.entry.js +0 -1
  883. package/dist/baloise-design-system/p-6d016ad721.entry.js +0 -1
  884. package/dist/baloise-design-system/p-7255ac5e19.system.entry.js +0 -1
  885. package/dist/baloise-design-system/p-7567bed290.system.entry.js +0 -1
  886. package/dist/baloise-design-system/p-77ed6cef4e.entry.js +0 -1
  887. package/dist/baloise-design-system/p-78d48f3d1a.entry.js +0 -1
  888. package/dist/baloise-design-system/p-7f39c04ab4.entry.js +0 -1
  889. package/dist/baloise-design-system/p-85ef72f929.entry.js +0 -1
  890. package/dist/baloise-design-system/p-87e06064a3.entry.js +0 -1
  891. package/dist/baloise-design-system/p-8d7d5197d6.entry.js +0 -1
  892. package/dist/baloise-design-system/p-97dca06bad.system.entry.js +0 -1
  893. package/dist/baloise-design-system/p-98d8c0b274.system.entry.js +0 -1
  894. package/dist/baloise-design-system/p-98fedb26af.system.entry.js +0 -1
  895. package/dist/baloise-design-system/p-9a7614a6da.system.entry.js +0 -1
  896. package/dist/baloise-design-system/p-9ccc9420aa.system.entry.js +0 -1
  897. package/dist/baloise-design-system/p-9ed893d2f1.entry.js +0 -1
  898. package/dist/baloise-design-system/p-9f46f38337.system.entry.js +0 -1
  899. package/dist/baloise-design-system/p-9faad04082.entry.js +0 -1
  900. package/dist/baloise-design-system/p-B97IGjGv.js +0 -1
  901. package/dist/baloise-design-system/p-BDsO8HVR.system.js +0 -1
  902. package/dist/baloise-design-system/p-BdMT8-qh.system.js +0 -1
  903. package/dist/baloise-design-system/p-BgWhYta3.js +0 -2
  904. package/dist/baloise-design-system/p-BiQW-kmH.js +0 -1
  905. package/dist/baloise-design-system/p-Brj9SizC.js +0 -1
  906. package/dist/baloise-design-system/p-BsGRcohK.js +0 -1
  907. package/dist/baloise-design-system/p-BuwrUtcI.js +0 -1
  908. package/dist/baloise-design-system/p-C89aCsha.system.js +0 -1
  909. package/dist/baloise-design-system/p-C9gtg7pC.js +0 -1
  910. package/dist/baloise-design-system/p-CLs4UZCO.js +0 -1
  911. package/dist/baloise-design-system/p-CPvYKxnJ.system.js +0 -1
  912. package/dist/baloise-design-system/p-CdRteRAi.system.js +0 -1
  913. package/dist/baloise-design-system/p-Clusr4_J.system.js +0 -1
  914. package/dist/baloise-design-system/p-Csghe1wj.system.js +0 -1
  915. package/dist/baloise-design-system/p-CvJZJ5PO.system.js +0 -1
  916. package/dist/baloise-design-system/p-DA9xpxCC.system.js +0 -1
  917. package/dist/baloise-design-system/p-DMPBkH8m.js +0 -1
  918. package/dist/baloise-design-system/p-DVQeGKBt.system.js +0 -1
  919. package/dist/baloise-design-system/p-DYGnSrkp.system.js +0 -1
  920. package/dist/baloise-design-system/p-DblLSfCr.js +0 -1
  921. package/dist/baloise-design-system/p-DcxdJ7xo.system.js +0 -1
  922. package/dist/baloise-design-system/p-DkkPrFJ4.js +0 -1
  923. package/dist/baloise-design-system/p-DrYtyUx4.js +0 -1
  924. package/dist/baloise-design-system/p-Dv-qApwY.system.js +0 -1
  925. package/dist/baloise-design-system/p-PJBCHUTX.system.js +0 -1
  926. package/dist/baloise-design-system/p-YxrA2V8G.system.js +0 -1
  927. package/dist/baloise-design-system/p-Z2WXCS2z.system.js +0 -1
  928. package/dist/baloise-design-system/p-ZO510gkN.system.js +0 -1
  929. package/dist/baloise-design-system/p-a24b0f04ac.entry.js +0 -1
  930. package/dist/baloise-design-system/p-a49cbc975f.entry.js +0 -1
  931. package/dist/baloise-design-system/p-ab4f18d946.system.entry.js +0 -1
  932. package/dist/baloise-design-system/p-adf9dc4b6c.system.entry.js +0 -1
  933. package/dist/baloise-design-system/p-af0438175b.system.entry.js +0 -1
  934. package/dist/baloise-design-system/p-af25440706.system.entry.js +0 -1
  935. package/dist/baloise-design-system/p-b2d3c28f7e.entry.js +0 -1
  936. package/dist/baloise-design-system/p-b465562e59.entry.js +0 -1
  937. package/dist/baloise-design-system/p-b6348cd01c.system.entry.js +0 -1
  938. package/dist/baloise-design-system/p-b8e45544f8.system.entry.js +0 -1
  939. package/dist/baloise-design-system/p-bb3c1187e2.entry.js +0 -1
  940. package/dist/baloise-design-system/p-bdeea100d1.system.entry.js +0 -1
  941. package/dist/baloise-design-system/p-c0ec248967.entry.js +0 -1
  942. package/dist/baloise-design-system/p-c46abb4720.system.entry.js +0 -1
  943. package/dist/baloise-design-system/p-c7b4bbf341.system.entry.js +0 -1
  944. package/dist/baloise-design-system/p-c88b2139c4.system.entry.js +0 -1
  945. package/dist/baloise-design-system/p-ce3e28b217.entry.js +0 -1
  946. package/dist/baloise-design-system/p-cec255ddb5.system.entry.js +0 -1
  947. package/dist/baloise-design-system/p-cfbff4d0c5.system.entry.js +0 -1
  948. package/dist/baloise-design-system/p-d292509747.system.entry.js +0 -1
  949. package/dist/baloise-design-system/p-d40c3b818d.system.entry.js +0 -1
  950. package/dist/baloise-design-system/p-d56db02feb.system.entry.js +0 -1
  951. package/dist/baloise-design-system/p-d9f1657d3a.entry.js +0 -1
  952. package/dist/baloise-design-system/p-dcd16c9edf.system.entry.js +0 -1
  953. package/dist/baloise-design-system/p-e2ff5ec460.entry.js +0 -1
  954. package/dist/baloise-design-system/p-e5e10f7330.entry.js +0 -1
  955. package/dist/baloise-design-system/p-eb318eae31.system.entry.js +0 -1
  956. package/dist/baloise-design-system/p-ef2aa99689.entry.js +0 -1
  957. package/dist/baloise-design-system/p-f09b1d15cb.entry.js +0 -1
  958. package/dist/baloise-design-system/p-f701f3341f.entry.js +0 -1
  959. package/dist/baloise-design-system/p-f931d7af5f.system.entry.js +0 -1
  960. package/dist/baloise-design-system/p-fa6414dc04.entry.js +0 -1
  961. package/dist/baloise-design-system/p-fb932a0e2d.system.entry.js +0 -1
  962. package/dist/baloise-design-system/p-fbedfc8307.system.entry.js +0 -1
  963. package/dist/baloise-design-system/p-fc05075fc7.entry.js +0 -1
  964. package/dist/baloise-design-system/p-fe41123fad.entry.js +0 -1
  965. package/dist/baloise-design-system/p-ffdfc86824.system.entry.js +0 -1
  966. package/dist/baloise-design-system/p-irA_rSP3.system.js +0 -1
  967. package/dist/baloise-design-system/p-otQuEMP7.js +0 -1
  968. package/dist/baloise-design-system/p-t17chohV.system.js +0 -1
  969. package/dist/cjs/bal-date.i18n-DJlY99as.js +0 -66
  970. package/dist/cjs/bal-option_2.cjs.entry.js +0 -606
  971. package/dist/cjs/window-resize.decorator-DZPJwKe1.js +0 -25
  972. package/dist/cjs/window-resize.subject-AALAxaW0.js +0 -28
  973. package/dist/esm/bal-date.i18n-CLs4UZCO.js +0 -64
  974. package/dist/esm/bal-option_2.entry.js +0 -603
  975. package/dist/esm/window-resize.subject-BfRcRWok.js +0 -26
  976. package/dist/esm-es5/animation.decorator-CNK3bJ6X.js +0 -1
  977. package/dist/esm-es5/bal-date.i18n-CLs4UZCO.js +0 -1
  978. package/dist/esm-es5/bal-dropdown.entry.js +0 -1
  979. package/dist/esm-es5/bal-option_2.entry.js +0 -1
  980. package/dist/esm-es5/breakpoints.subject-Dpu4Jjc3.js +0 -1
  981. package/dist/esm-es5/config.decorator-FwS7csea.js +0 -1
  982. package/dist/esm-es5/device-CWdcsnSc.js +0 -1
  983. package/dist/esm-es5/element-states.decorator-BPErBZif.js +0 -1
  984. package/dist/esm-es5/floating-ui-CNYJCYYO.js +0 -1
  985. package/dist/esm-es5/focus.decorator-BBUVspZX.js +0 -1
  986. package/dist/esm-es5/form-input-Dv0N9pEu.js +0 -1
  987. package/dist/esm-es5/index-BgWhYta3.js +0 -2
  988. package/dist/esm-es5/listener-BCxt7kj7.js +0 -1
  989. package/dist/esm-es5/mutation.decorator-DVnSOGDK.js +0 -1
  990. package/dist/esm-es5/number-oUZz7C1l.js +0 -1
  991. package/dist/esm-es5/overlays-B9nzshwp.js +0 -1
  992. package/dist/esm-es5/resize.decorator-xO0LVkHO.js +0 -1
  993. package/dist/esm-es5/scroll-Dhp_eUkh.js +0 -1
  994. package/dist/esm-es5/swipe.subject-CCKruupP.js +0 -1
  995. package/dist/esm-es5/swiper.util-vb9wIkyd.js +0 -1
  996. package/dist/esm-es5/visibility.decorator-C5quU420.js +0 -1
  997. package/dist/esm-es5/window-resize.decorator-tooGxqQM.js +0 -1
  998. package/dist/esm-es5/window-resize.subject-BfRcRWok.js +0 -1
@@ -1,1069 +1,1043 @@
1
- import { L as Logger, H as registerInstance, P as createEvent, f as defaultConfig, J as rIC, T as debounceEvent, M as h, N as Host, O as getElement } from './index-BgWhYta3.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-BdVwMG9u.js';
2
2
  import { _ as __decorate, a as __metadata } from './tslib.es6-dfXERft2.js';
3
- import { g as getDefaultExportFromCjs } from './_commonjsHelpers-BFTU3MAI.js';
4
3
  import { a as ariaBooleanToString } from './aria-DBsOHTWj.js';
5
4
  import { i as inheritAttributes } from './attributes-C4sZQbkT.js';
6
5
  import { B as BEM } from './bem-ByiN-QjD.js';
7
- import { L as ListenToConfig } from './config.decorator-FwS7csea.js';
8
6
  import { d as defaultBalAriaForm } from './form-FCLKfv6B.js';
9
- import { s as stopEventBubbling, h as inputListenOnClick } from './form-input-Dv0N9pEu.js';
10
- import { f as formatLocaleNumber } from './number-oUZz7C1l.js';
7
+ import { s as stopEventBubbling, h as inputListenOnClick } from './form-input-DYvzaBlM.js';
8
+ import { r as rIC, n as debounceEvent } from './helpers-BNj87EbG.js';
9
+ import { L as Logger } from './log-CwssmmaV.js';
10
+ import { f as formatLocaleNumber } from './number-Bwx2aNR0.js';
11
11
  import { i as i18nBalInputStepper } from './bal-input-stepper.i18n-DEb5iNGc.js';
12
-
13
- var big$1 = {exports: {}};
12
+ import { d as defaultConfig } from './config.default-I6QXKbhg.js';
13
+ import { L as ListenToConfig } from './config.decorator-3bfyZ-0Y.js';
14
+ import './browser-B1u-Mq75.js';
15
+ import './config.utils-B7jugjyM.js';
14
16
 
15
17
  /*
16
18
  * big.js v6.2.1
17
19
  * A small, fast, easy-to-use library for arbitrary-precision decimal arithmetic.
18
20
  * Copyright (c) 2022 Michael Mclaughlin
19
21
  * https://github.com/MikeMcl/big.js/LICENCE.md
20
- */
21
- var big = big$1.exports;
22
-
23
- var hasRequiredBig;
24
-
25
- function requireBig () {
26
- if (hasRequiredBig) return big$1.exports;
27
- hasRequiredBig = 1;
28
- (function (module) {
29
- (function (GLOBAL) {
30
- var Big,
31
-
32
-
33
- /************************************** EDITABLE DEFAULTS *****************************************/
34
-
35
-
36
- // The default values below must be integers within the stated ranges.
37
-
38
- /*
39
- * The maximum number of decimal places (DP) of the results of operations involving division:
40
- * div and sqrt, and pow with negative exponents.
41
- */
42
- DP = 20, // 0 to MAX_DP
43
-
44
- /*
45
- * The rounding mode (RM) used when rounding to the above decimal places.
46
- *
47
- * 0 Towards zero (i.e. truncate, no rounding). (ROUND_DOWN)
48
- * 1 To nearest neighbour. If equidistant, round up. (ROUND_HALF_UP)
49
- * 2 To nearest neighbour. If equidistant, to even. (ROUND_HALF_EVEN)
50
- * 3 Away from zero. (ROUND_UP)
51
- */
52
- RM = 1, // 0, 1, 2 or 3
53
-
54
- // The maximum value of DP and Big.DP.
55
- MAX_DP = 1E6, // 0 to 1000000
56
-
57
- // The maximum magnitude of the exponent argument to the pow method.
58
- MAX_POWER = 1E6, // 1 to 1000000
59
-
60
- /*
61
- * The negative exponent (NE) at and beneath which toString returns exponential notation.
62
- * (JavaScript numbers: -7)
63
- * -1000000 is the minimum recommended exponent value of a Big.
64
- */
65
- NE = -7, // 0 to -1000000
66
-
67
- /*
68
- * The positive exponent (PE) at and above which toString returns exponential notation.
69
- * (JavaScript numbers: 21)
70
- * 1000000 is the maximum recommended exponent value of a Big, but this limit is not enforced.
71
- */
72
- PE = 21, // 0 to 1000000
73
-
74
- /*
75
- * When true, an error will be thrown if a primitive number is passed to the Big constructor,
76
- * or if valueOf is called, or if toNumber is called on a Big which cannot be converted to a
77
- * primitive number without a loss of precision.
78
- */
79
- STRICT = false, // true or false
80
-
81
-
82
- /**************************************************************************************************/
83
-
84
-
85
- // Error messages.
86
- NAME = '[big.js] ',
87
- INVALID = NAME + 'Invalid ',
88
- INVALID_DP = INVALID + 'decimal places',
89
- INVALID_RM = INVALID + 'rounding mode',
90
- DIV_BY_ZERO = NAME + 'Division by zero',
91
-
92
- // The shared prototype object.
93
- P = {},
94
- UNDEFINED = void 0,
95
- NUMERIC = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;
96
-
97
-
98
- /*
99
- * Create and return a Big constructor.
100
- */
101
- function _Big_() {
102
-
103
- /*
104
- * The Big constructor and exported function.
105
- * Create and return a new instance of a Big number object.
106
- *
107
- * n {number|string|Big} A numeric value.
108
- */
109
- function Big(n) {
110
- var x = this;
111
-
112
- // Enable constructor usage without new.
113
- if (!(x instanceof Big)) return n === UNDEFINED ? _Big_() : new Big(n);
114
-
115
- // Duplicate.
116
- if (n instanceof Big) {
117
- x.s = n.s;
118
- x.e = n.e;
119
- x.c = n.c.slice();
120
- } else {
121
- if (typeof n !== 'string') {
122
- if (Big.strict === true && typeof n !== 'bigint') {
123
- throw TypeError(INVALID + 'value');
124
- }
125
-
126
- // Minus zero?
127
- n = n === 0 && 1 / n < 0 ? '-0' : String(n);
128
- }
129
-
130
- parse(x, n);
131
- }
132
-
133
- // Retain a reference to this Big constructor.
134
- // Shadow Big.prototype.constructor which points to Object.
135
- x.constructor = Big;
136
- }
137
-
138
- Big.prototype = P;
139
- Big.DP = DP;
140
- Big.RM = RM;
141
- Big.NE = NE;
142
- Big.PE = PE;
143
- Big.strict = STRICT;
144
- Big.roundDown = 0;
145
- Big.roundHalfUp = 1;
146
- Big.roundHalfEven = 2;
147
- Big.roundUp = 3;
148
-
149
- return Big;
150
- }
151
-
152
-
153
- /*
154
- * Parse the number or string value passed to a Big constructor.
155
- *
156
- * x {Big} A Big number instance.
157
- * n {number|string} A numeric value.
158
- */
159
- function parse(x, n) {
160
- var e, i, nl;
161
-
162
- if (!NUMERIC.test(n)) {
163
- throw Error(INVALID + 'number');
164
- }
165
-
166
- // Determine sign.
167
- x.s = n.charAt(0) == '-' ? (n = n.slice(1), -1) : 1;
168
-
169
- // Decimal point?
170
- if ((e = n.indexOf('.')) > -1) n = n.replace('.', '');
171
-
172
- // Exponential form?
173
- if ((i = n.search(/e/i)) > 0) {
174
-
175
- // Determine exponent.
176
- if (e < 0) e = i;
177
- e += +n.slice(i + 1);
178
- n = n.substring(0, i);
179
- } else if (e < 0) {
180
-
181
- // Integer.
182
- e = n.length;
183
- }
184
-
185
- nl = n.length;
186
-
187
- // Determine leading zeros.
188
- for (i = 0; i < nl && n.charAt(i) == '0';) ++i;
189
-
190
- if (i == nl) {
191
-
192
- // Zero.
193
- x.c = [x.e = 0];
194
- } else {
195
-
196
- // Determine trailing zeros.
197
- for (; nl > 0 && n.charAt(--nl) == '0';);
198
- x.e = e - i - 1;
199
- x.c = [];
200
-
201
- // Convert string to array of digits without leading/trailing zeros.
202
- for (e = 0; i <= nl;) x.c[e++] = +n.charAt(i++);
203
- }
204
-
205
- return x;
206
- }
207
-
208
-
209
- /*
210
- * Round Big x to a maximum of sd significant digits using rounding mode rm.
211
- *
212
- * x {Big} The Big to round.
213
- * sd {number} Significant digits: integer, 0 to MAX_DP inclusive.
214
- * rm {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
215
- * [more] {boolean} Whether the result of division was truncated.
216
- */
217
- function round(x, sd, rm, more) {
218
- var xc = x.c;
219
-
220
- if (rm === UNDEFINED) rm = x.constructor.RM;
221
- if (rm !== 0 && rm !== 1 && rm !== 2 && rm !== 3) {
222
- throw Error(INVALID_RM);
223
- }
224
-
225
- if (sd < 1) {
226
- more =
227
- rm === 3 && (more || !!xc[0]) || sd === 0 && (
228
- rm === 1 && xc[0] >= 5 ||
229
- rm === 2 && (xc[0] > 5 || xc[0] === 5 && (more || xc[1] !== UNDEFINED))
230
- );
231
-
232
- xc.length = 1;
233
-
234
- if (more) {
235
-
236
- // 1, 0.1, 0.01, 0.001, 0.0001 etc.
237
- x.e = x.e - sd + 1;
238
- xc[0] = 1;
239
- } else {
240
-
241
- // Zero.
242
- xc[0] = x.e = 0;
243
- }
244
- } else if (sd < xc.length) {
245
-
246
- // xc[sd] is the digit after the digit that may be rounded up.
247
- more =
248
- rm === 1 && xc[sd] >= 5 ||
249
- rm === 2 && (xc[sd] > 5 || xc[sd] === 5 &&
250
- (more || xc[sd + 1] !== UNDEFINED || xc[sd - 1] & 1)) ||
251
- rm === 3 && (more || !!xc[0]);
252
-
253
- // Remove any digits after the required precision.
254
- xc.length = sd;
255
-
256
- // Round up?
257
- if (more) {
258
-
259
- // Rounding up may mean the previous digit has to be rounded up.
260
- for (; ++xc[--sd] > 9;) {
261
- xc[sd] = 0;
262
- if (sd === 0) {
263
- ++x.e;
264
- xc.unshift(1);
265
- break;
266
- }
267
- }
268
- }
269
-
270
- // Remove trailing zeros.
271
- for (sd = xc.length; !xc[--sd];) xc.pop();
272
- }
273
-
274
- return x;
275
- }
276
-
277
-
278
- /*
279
- * Return a string representing the value of Big x in normal or exponential notation.
280
- * Handles P.toExponential, P.toFixed, P.toJSON, P.toPrecision, P.toString and P.valueOf.
281
- */
282
- function stringify(x, doExponential, isNonzero) {
283
- var e = x.e,
284
- s = x.c.join(''),
285
- n = s.length;
286
-
287
- // Exponential notation?
288
- if (doExponential) {
289
- s = s.charAt(0) + (n > 1 ? '.' + s.slice(1) : '') + (e < 0 ? 'e' : 'e+') + e;
290
-
291
- // Normal notation.
292
- } else if (e < 0) {
293
- for (; ++e;) s = '0' + s;
294
- s = '0.' + s;
295
- } else if (e > 0) {
296
- if (++e > n) {
297
- for (e -= n; e--;) s += '0';
298
- } else if (e < n) {
299
- s = s.slice(0, e) + '.' + s.slice(e);
300
- }
301
- } else if (n > 1) {
302
- s = s.charAt(0) + '.' + s.slice(1);
303
- }
304
-
305
- return x.s < 0 && isNonzero ? '-' + s : s;
306
- }
307
-
308
-
309
- // Prototype/instance methods
310
-
311
-
312
- /*
313
- * Return a new Big whose value is the absolute value of this Big.
314
- */
315
- P.abs = function () {
316
- var x = new this.constructor(this);
317
- x.s = 1;
318
- return x;
319
- };
320
-
321
-
322
- /*
323
- * Return 1 if the value of this Big is greater than the value of Big y,
324
- * -1 if the value of this Big is less than the value of Big y, or
325
- * 0 if they have the same value.
326
- */
327
- P.cmp = function (y) {
328
- var isneg,
329
- x = this,
330
- xc = x.c,
331
- yc = (y = new x.constructor(y)).c,
332
- i = x.s,
333
- j = y.s,
334
- k = x.e,
335
- l = y.e;
336
-
337
- // Either zero?
338
- if (!xc[0] || !yc[0]) return !xc[0] ? !yc[0] ? 0 : -j : i;
339
-
340
- // Signs differ?
341
- if (i != j) return i;
342
-
343
- isneg = i < 0;
344
-
345
- // Compare exponents.
346
- if (k != l) return k > l ^ isneg ? 1 : -1;
347
-
348
- j = (k = xc.length) < (l = yc.length) ? k : l;
349
-
350
- // Compare digit by digit.
351
- for (i = -1; ++i < j;) {
352
- if (xc[i] != yc[i]) return xc[i] > yc[i] ^ isneg ? 1 : -1;
353
- }
354
-
355
- // Compare lengths.
356
- return k == l ? 0 : k > l ^ isneg ? 1 : -1;
357
- };
358
-
359
-
360
- /*
361
- * Return a new Big whose value is the value of this Big divided by the value of Big y, rounded,
362
- * if necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.
363
- */
364
- P.div = function (y) {
365
- var x = this,
366
- Big = x.constructor,
367
- a = x.c, // dividend
368
- b = (y = new Big(y)).c, // divisor
369
- k = x.s == y.s ? 1 : -1,
370
- dp = Big.DP;
371
-
372
- if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
373
- throw Error(INVALID_DP);
374
- }
375
-
376
- // Divisor is zero?
377
- if (!b[0]) {
378
- throw Error(DIV_BY_ZERO);
379
- }
380
-
381
- // Dividend is 0? Return +-0.
382
- if (!a[0]) {
383
- y.s = k;
384
- y.c = [y.e = 0];
385
- return y;
386
- }
387
-
388
- var bl, bt, n, cmp, ri,
389
- bz = b.slice(),
390
- ai = bl = b.length,
391
- al = a.length,
392
- r = a.slice(0, bl), // remainder
393
- rl = r.length,
394
- q = y, // quotient
395
- qc = q.c = [],
396
- qi = 0,
397
- p = dp + (q.e = x.e - y.e) + 1; // precision of the result
398
-
399
- q.s = k;
400
- k = p < 0 ? 0 : p;
401
-
402
- // Create version of divisor with leading zero.
403
- bz.unshift(0);
404
-
405
- // Add zeros to make remainder as long as divisor.
406
- for (; rl++ < bl;) r.push(0);
407
-
408
- do {
409
-
410
- // n is how many times the divisor goes into current remainder.
411
- for (n = 0; n < 10; n++) {
412
-
413
- // Compare divisor and remainder.
414
- if (bl != (rl = r.length)) {
415
- cmp = bl > rl ? 1 : -1;
416
- } else {
417
- for (ri = -1, cmp = 0; ++ri < bl;) {
418
- if (b[ri] != r[ri]) {
419
- cmp = b[ri] > r[ri] ? 1 : -1;
420
- break;
421
- }
422
- }
423
- }
424
-
425
- // If divisor < remainder, subtract divisor from remainder.
426
- if (cmp < 0) {
427
-
428
- // Remainder can't be more than 1 digit longer than divisor.
429
- // Equalise lengths using divisor with extra leading zero?
430
- for (bt = rl == bl ? b : bz; rl;) {
431
- if (r[--rl] < bt[rl]) {
432
- ri = rl;
433
- for (; ri && !r[--ri];) r[ri] = 9;
434
- --r[ri];
435
- r[rl] += 10;
436
- }
437
- r[rl] -= bt[rl];
438
- }
439
-
440
- for (; !r[0];) r.shift();
441
- } else {
442
- break;
443
- }
444
- }
445
-
446
- // Add the digit n to the result array.
447
- qc[qi++] = cmp ? n : ++n;
448
-
449
- // Update the remainder.
450
- if (r[0] && cmp) r[rl] = a[ai] || 0;
451
- else r = [a[ai]];
452
-
453
- } while ((ai++ < al || r[0] !== UNDEFINED) && k--);
454
-
455
- // Leading zero? Do not remove if result is simply zero (qi == 1).
456
- if (!qc[0] && qi != 1) {
457
-
458
- // There can't be more than one zero.
459
- qc.shift();
460
- q.e--;
461
- p--;
462
- }
463
-
464
- // Round?
465
- if (qi > p) round(q, p, Big.RM, r[0] !== UNDEFINED);
466
-
467
- return q;
468
- };
469
-
470
-
471
- /*
472
- * Return true if the value of this Big is equal to the value of Big y, otherwise return false.
473
- */
474
- P.eq = function (y) {
475
- return this.cmp(y) === 0;
476
- };
477
-
478
-
479
- /*
480
- * Return true if the value of this Big is greater than the value of Big y, otherwise return
481
- * false.
482
- */
483
- P.gt = function (y) {
484
- return this.cmp(y) > 0;
485
- };
486
-
487
-
488
- /*
489
- * Return true if the value of this Big is greater than or equal to the value of Big y, otherwise
490
- * return false.
491
- */
492
- P.gte = function (y) {
493
- return this.cmp(y) > -1;
494
- };
495
-
496
-
497
- /*
498
- * Return true if the value of this Big is less than the value of Big y, otherwise return false.
499
- */
500
- P.lt = function (y) {
501
- return this.cmp(y) < 0;
502
- };
503
-
504
-
505
- /*
506
- * Return true if the value of this Big is less than or equal to the value of Big y, otherwise
507
- * return false.
508
- */
509
- P.lte = function (y) {
510
- return this.cmp(y) < 1;
511
- };
512
-
513
-
514
- /*
515
- * Return a new Big whose value is the value of this Big minus the value of Big y.
516
- */
517
- P.minus = P.sub = function (y) {
518
- var i, j, t, xlty,
519
- x = this,
520
- Big = x.constructor,
521
- a = x.s,
522
- b = (y = new Big(y)).s;
523
-
524
- // Signs differ?
525
- if (a != b) {
526
- y.s = -b;
527
- return x.plus(y);
528
- }
529
-
530
- var xc = x.c.slice(),
531
- xe = x.e,
532
- yc = y.c,
533
- ye = y.e;
534
-
535
- // Either zero?
536
- if (!xc[0] || !yc[0]) {
537
- if (yc[0]) {
538
- y.s = -b;
539
- } else if (xc[0]) {
540
- y = new Big(x);
541
- } else {
542
- y.s = 1;
543
- }
544
- return y;
545
- }
546
-
547
- // Determine which is the bigger number. Prepend zeros to equalise exponents.
548
- if (a = xe - ye) {
549
-
550
- if (xlty = a < 0) {
551
- a = -a;
552
- t = xc;
553
- } else {
554
- ye = xe;
555
- t = yc;
556
- }
557
-
558
- t.reverse();
559
- for (b = a; b--;) t.push(0);
560
- t.reverse();
561
- } else {
562
-
563
- // Exponents equal. Check digit by digit.
564
- j = ((xlty = xc.length < yc.length) ? xc : yc).length;
565
-
566
- for (a = b = 0; b < j; b++) {
567
- if (xc[b] != yc[b]) {
568
- xlty = xc[b] < yc[b];
569
- break;
570
- }
571
- }
572
- }
573
-
574
- // x < y? Point xc to the array of the bigger number.
575
- if (xlty) {
576
- t = xc;
577
- xc = yc;
578
- yc = t;
579
- y.s = -y.s;
580
- }
581
-
582
- /*
583
- * Append zeros to xc if shorter. No need to add zeros to yc if shorter as subtraction only
584
- * needs to start at yc.length.
585
- */
586
- if ((b = (j = yc.length) - (i = xc.length)) > 0) for (; b--;) xc[i++] = 0;
587
-
588
- // Subtract yc from xc.
589
- for (b = i; j > a;) {
590
- if (xc[--j] < yc[j]) {
591
- for (i = j; i && !xc[--i];) xc[i] = 9;
592
- --xc[i];
593
- xc[j] += 10;
594
- }
595
-
596
- xc[j] -= yc[j];
597
- }
598
-
599
- // Remove trailing zeros.
600
- for (; xc[--b] === 0;) xc.pop();
601
-
602
- // Remove leading zeros and adjust exponent accordingly.
603
- for (; xc[0] === 0;) {
604
- xc.shift();
605
- --ye;
606
- }
607
-
608
- if (!xc[0]) {
609
-
610
- // n - n = +0
611
- y.s = 1;
612
-
613
- // Result must be zero.
614
- xc = [ye = 0];
615
- }
616
-
617
- y.c = xc;
618
- y.e = ye;
619
-
620
- return y;
621
- };
622
-
623
-
624
- /*
625
- * Return a new Big whose value is the value of this Big modulo the value of Big y.
626
- */
627
- P.mod = function (y) {
628
- var ygtx,
629
- x = this,
630
- Big = x.constructor,
631
- a = x.s,
632
- b = (y = new Big(y)).s;
633
-
634
- if (!y.c[0]) {
635
- throw Error(DIV_BY_ZERO);
636
- }
637
-
638
- x.s = y.s = 1;
639
- ygtx = y.cmp(x) == 1;
640
- x.s = a;
641
- y.s = b;
642
-
643
- if (ygtx) return new Big(x);
644
-
645
- a = Big.DP;
646
- b = Big.RM;
647
- Big.DP = Big.RM = 0;
648
- x = x.div(y);
649
- Big.DP = a;
650
- Big.RM = b;
651
-
652
- return this.minus(x.times(y));
653
- };
654
-
655
-
656
- /*
657
- * Return a new Big whose value is the value of this Big negated.
658
- */
659
- P.neg = function () {
660
- var x = new this.constructor(this);
661
- x.s = -x.s;
662
- return x;
663
- };
664
-
665
-
666
- /*
667
- * Return a new Big whose value is the value of this Big plus the value of Big y.
668
- */
669
- P.plus = P.add = function (y) {
670
- var e, k, t,
671
- x = this,
672
- Big = x.constructor;
673
-
674
- y = new Big(y);
675
-
676
- // Signs differ?
677
- if (x.s != y.s) {
678
- y.s = -y.s;
679
- return x.minus(y);
680
- }
681
-
682
- var xe = x.e,
683
- xc = x.c,
684
- ye = y.e,
685
- yc = y.c;
686
-
687
- // Either zero?
688
- if (!xc[0] || !yc[0]) {
689
- if (!yc[0]) {
690
- if (xc[0]) {
691
- y = new Big(x);
692
- } else {
693
- y.s = x.s;
694
- }
695
- }
696
- return y;
697
- }
698
-
699
- xc = xc.slice();
700
-
701
- // Prepend zeros to equalise exponents.
702
- // Note: reverse faster than unshifts.
703
- if (e = xe - ye) {
704
- if (e > 0) {
705
- ye = xe;
706
- t = yc;
707
- } else {
708
- e = -e;
709
- t = xc;
710
- }
711
-
712
- t.reverse();
713
- for (; e--;) t.push(0);
714
- t.reverse();
715
- }
716
-
717
- // Point xc to the longer array.
718
- if (xc.length - yc.length < 0) {
719
- t = yc;
720
- yc = xc;
721
- xc = t;
722
- }
723
-
724
- e = yc.length;
725
-
726
- // Only start adding at yc.length - 1 as the further digits of xc can be left as they are.
727
- for (k = 0; e; xc[e] %= 10) k = (xc[--e] = xc[e] + yc[e] + k) / 10 | 0;
728
-
729
- // No need to check for zero, as +x + +y != 0 && -x + -y != 0
730
-
731
- if (k) {
732
- xc.unshift(k);
733
- ++ye;
734
- }
735
-
736
- // Remove trailing zeros.
737
- for (e = xc.length; xc[--e] === 0;) xc.pop();
738
-
739
- y.c = xc;
740
- y.e = ye;
741
-
742
- return y;
743
- };
744
-
745
-
746
- /*
747
- * Return a Big whose value is the value of this Big raised to the power n.
748
- * If n is negative, round to a maximum of Big.DP decimal places using rounding
749
- * mode Big.RM.
750
- *
751
- * n {number} Integer, -MAX_POWER to MAX_POWER inclusive.
752
- */
753
- P.pow = function (n) {
754
- var x = this,
755
- one = new x.constructor('1'),
756
- y = one,
757
- isneg = n < 0;
758
-
759
- if (n !== ~~n || n < -1e6 || n > MAX_POWER) {
760
- throw Error(INVALID + 'exponent');
761
- }
762
-
763
- if (isneg) n = -n;
764
-
765
- for (;;) {
766
- if (n & 1) y = y.times(x);
767
- n >>= 1;
768
- if (!n) break;
769
- x = x.times(x);
770
- }
771
-
772
- return isneg ? one.div(y) : y;
773
- };
774
-
775
-
776
- /*
777
- * Return a new Big whose value is the value of this Big rounded to a maximum precision of sd
778
- * significant digits using rounding mode rm, or Big.RM if rm is not specified.
779
- *
780
- * sd {number} Significant digits: integer, 1 to MAX_DP inclusive.
781
- * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
782
- */
783
- P.prec = function (sd, rm) {
784
- if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {
785
- throw Error(INVALID + 'precision');
786
- }
787
- return round(new this.constructor(this), sd, rm);
788
- };
789
-
790
-
791
- /*
792
- * Return a new Big whose value is the value of this Big rounded to a maximum of dp decimal places
793
- * using rounding mode rm, or Big.RM if rm is not specified.
794
- * If dp is negative, round to an integer which is a multiple of 10**-dp.
795
- * If dp is not specified, round to 0 decimal places.
796
- *
797
- * dp? {number} Integer, -MAX_DP to MAX_DP inclusive.
798
- * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
799
- */
800
- P.round = function (dp, rm) {
801
- if (dp === UNDEFINED) dp = 0;
802
- else if (dp !== ~~dp || dp < -1e6 || dp > MAX_DP) {
803
- throw Error(INVALID_DP);
804
- }
805
- return round(new this.constructor(this), dp + this.e + 1, rm);
806
- };
807
-
808
-
809
- /*
810
- * Return a new Big whose value is the square root of the value of this Big, rounded, if
811
- * necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.
812
- */
813
- P.sqrt = function () {
814
- var r, c, t,
815
- x = this,
816
- Big = x.constructor,
817
- s = x.s,
818
- e = x.e,
819
- half = new Big('0.5');
820
-
821
- // Zero?
822
- if (!x.c[0]) return new Big(x);
823
-
824
- // Negative?
825
- if (s < 0) {
826
- throw Error(NAME + 'No square root');
827
- }
828
-
829
- // Estimate.
830
- s = Math.sqrt(x + '');
831
-
832
- // Math.sqrt underflow/overflow?
833
- // Re-estimate: pass x coefficient to Math.sqrt as integer, then adjust the result exponent.
834
- if (s === 0 || s === 1 / 0) {
835
- c = x.c.join('');
836
- if (!(c.length + e & 1)) c += '0';
837
- s = Math.sqrt(c);
838
- e = ((e + 1) / 2 | 0) - (e < 0 || e & 1);
839
- r = new Big((s == 1 / 0 ? '5e' : (s = s.toExponential()).slice(0, s.indexOf('e') + 1)) + e);
840
- } else {
841
- r = new Big(s + '');
842
- }
843
-
844
- e = r.e + (Big.DP += 4);
845
-
846
- // Newton-Raphson iteration.
847
- do {
848
- t = r;
849
- r = half.times(t.plus(x.div(t)));
850
- } while (t.c.slice(0, e).join('') !== r.c.slice(0, e).join(''));
851
-
852
- return round(r, (Big.DP -= 4) + r.e + 1, Big.RM);
853
- };
854
-
855
-
856
- /*
857
- * Return a new Big whose value is the value of this Big times the value of Big y.
858
- */
859
- P.times = P.mul = function (y) {
860
- var c,
861
- x = this,
862
- Big = x.constructor,
863
- xc = x.c,
864
- yc = (y = new Big(y)).c,
865
- a = xc.length,
866
- b = yc.length,
867
- i = x.e,
868
- j = y.e;
869
-
870
- // Determine sign of result.
871
- y.s = x.s == y.s ? 1 : -1;
872
-
873
- // Return signed 0 if either 0.
874
- if (!xc[0] || !yc[0]) {
875
- y.c = [y.e = 0];
876
- return y;
877
- }
878
-
879
- // Initialise exponent of result as x.e + y.e.
880
- y.e = i + j;
881
-
882
- // If array xc has fewer digits than yc, swap xc and yc, and lengths.
883
- if (a < b) {
884
- c = xc;
885
- xc = yc;
886
- yc = c;
887
- j = a;
888
- a = b;
889
- b = j;
890
- }
891
-
892
- // Initialise coefficient array of result with zeros.
893
- for (c = new Array(j = a + b); j--;) c[j] = 0;
894
-
895
- // Multiply.
896
-
897
- // i is initially xc.length.
898
- for (i = b; i--;) {
899
- b = 0;
900
-
901
- // a is yc.length.
902
- for (j = a + i; j > i;) {
903
-
904
- // Current sum of products at this digit position, plus carry.
905
- b = c[j] + yc[i] * xc[j - i - 1] + b;
906
- c[j--] = b % 10;
907
-
908
- // carry
909
- b = b / 10 | 0;
910
- }
911
-
912
- c[j] = b;
913
- }
914
-
915
- // Increment result exponent if there is a final carry, otherwise remove leading zero.
916
- if (b) ++y.e;
917
- else c.shift();
918
-
919
- // Remove trailing zeros.
920
- for (i = c.length; !c[--i];) c.pop();
921
- y.c = c;
922
-
923
- return y;
924
- };
925
-
926
-
927
- /*
928
- * Return a string representing the value of this Big in exponential notation rounded to dp fixed
929
- * decimal places using rounding mode rm, or Big.RM if rm is not specified.
930
- *
931
- * dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.
932
- * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
933
- */
934
- P.toExponential = function (dp, rm) {
935
- var x = this,
936
- n = x.c[0];
937
-
938
- if (dp !== UNDEFINED) {
939
- if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
940
- throw Error(INVALID_DP);
941
- }
942
- x = round(new x.constructor(x), ++dp, rm);
943
- for (; x.c.length < dp;) x.c.push(0);
944
- }
945
-
946
- return stringify(x, true, !!n);
947
- };
948
-
949
-
950
- /*
951
- * Return a string representing the value of this Big in normal notation rounded to dp fixed
952
- * decimal places using rounding mode rm, or Big.RM if rm is not specified.
953
- *
954
- * dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.
955
- * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
956
- *
957
- * (-0).toFixed(0) is '0', but (-0.1).toFixed(0) is '-0'.
958
- * (-0).toFixed(1) is '0.0', but (-0.01).toFixed(1) is '-0.0'.
959
- */
960
- P.toFixed = function (dp, rm) {
961
- var x = this,
962
- n = x.c[0];
963
-
964
- if (dp !== UNDEFINED) {
965
- if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
966
- throw Error(INVALID_DP);
967
- }
968
- x = round(new x.constructor(x), dp + x.e + 1, rm);
969
-
970
- // x.e may have changed if the value is rounded up.
971
- for (dp = dp + x.e + 1; x.c.length < dp;) x.c.push(0);
972
- }
973
-
974
- return stringify(x, false, !!n);
975
- };
976
-
977
-
978
- /*
979
- * Return a string representing the value of this Big.
980
- * Return exponential notation if this Big has a positive exponent equal to or greater than
981
- * Big.PE, or a negative exponent equal to or less than Big.NE.
982
- * Omit the sign for negative zero.
983
- */
984
- P.toJSON = P.toString = function () {
985
- var x = this,
986
- Big = x.constructor;
987
- return stringify(x, x.e <= Big.NE || x.e >= Big.PE, !!x.c[0]);
988
- };
989
-
990
-
991
- /*
992
- * Return the value of this Big as a primitve number.
993
- */
994
- P.toNumber = function () {
995
- var n = Number(stringify(this, true, true));
996
- if (this.constructor.strict === true && !this.eq(n.toString())) {
997
- throw Error(NAME + 'Imprecise conversion');
998
- }
999
- return n;
1000
- };
1001
-
1002
-
1003
- /*
1004
- * Return a string representing the value of this Big rounded to sd significant digits using
1005
- * rounding mode rm, or Big.RM if rm is not specified.
1006
- * Use exponential notation if sd is less than the number of digits necessary to represent
1007
- * the integer part of the value in normal notation.
1008
- *
1009
- * sd {number} Significant digits: integer, 1 to MAX_DP inclusive.
1010
- * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
1011
- */
1012
- P.toPrecision = function (sd, rm) {
1013
- var x = this,
1014
- Big = x.constructor,
1015
- n = x.c[0];
1016
-
1017
- if (sd !== UNDEFINED) {
1018
- if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {
1019
- throw Error(INVALID + 'precision');
1020
- }
1021
- x = round(new Big(x), sd, rm);
1022
- for (; x.c.length < sd;) x.c.push(0);
1023
- }
1024
-
1025
- return stringify(x, sd <= x.e || x.e <= Big.NE || x.e >= Big.PE, !!n);
1026
- };
1027
-
1028
-
1029
- /*
1030
- * Return a string representing the value of this Big.
1031
- * Return exponential notation if this Big has a positive exponent equal to or greater than
1032
- * Big.PE, or a negative exponent equal to or less than Big.NE.
1033
- * Include the sign for negative zero.
1034
- */
1035
- P.valueOf = function () {
1036
- var x = this,
1037
- Big = x.constructor;
1038
- if (Big.strict === true) {
1039
- throw Error(NAME + 'valueOf disallowed');
1040
- }
1041
- return stringify(x, x.e <= Big.NE || x.e >= Big.PE, true);
1042
- };
1043
-
1044
-
1045
- // Export
1046
-
1047
-
1048
- Big = _Big_();
1049
-
1050
- Big['default'] = Big.Big = Big;
1051
-
1052
- //AMD.
1053
- if (module.exports) {
1054
- module.exports = Big;
1055
-
1056
- //Browser.
1057
- } else {
1058
- GLOBAL.Big = Big;
1059
- }
1060
- })(big);
1061
- } (big$1));
1062
- return big$1.exports;
1063
- }
1064
-
1065
- var bigExports = requireBig();
1066
- var Big = /*@__PURE__*/getDefaultExportFromCjs(bigExports);
22
+ */
23
+
24
+
25
+ /************************************** EDITABLE DEFAULTS *****************************************/
26
+
27
+
28
+ // The default values below must be integers within the stated ranges.
29
+
30
+ /*
31
+ * The maximum number of decimal places (DP) of the results of operations involving division:
32
+ * div and sqrt, and pow with negative exponents.
33
+ */
34
+ var DP = 20, // 0 to MAX_DP
35
+
36
+ /*
37
+ * The rounding mode (RM) used when rounding to the above decimal places.
38
+ *
39
+ * 0 Towards zero (i.e. truncate, no rounding). (ROUND_DOWN)
40
+ * 1 To nearest neighbour. If equidistant, round up. (ROUND_HALF_UP)
41
+ * 2 To nearest neighbour. If equidistant, to even. (ROUND_HALF_EVEN)
42
+ * 3 Away from zero. (ROUND_UP)
43
+ */
44
+ RM = 1, // 0, 1, 2 or 3
45
+
46
+ // The maximum value of DP and Big.DP.
47
+ MAX_DP = 1E6, // 0 to 1000000
48
+
49
+ // The maximum magnitude of the exponent argument to the pow method.
50
+ MAX_POWER = 1E6, // 1 to 1000000
51
+
52
+ /*
53
+ * The negative exponent (NE) at and beneath which toString returns exponential notation.
54
+ * (JavaScript numbers: -7)
55
+ * -1000000 is the minimum recommended exponent value of a Big.
56
+ */
57
+ NE = -7, // 0 to -1000000
58
+
59
+ /*
60
+ * The positive exponent (PE) at and above which toString returns exponential notation.
61
+ * (JavaScript numbers: 21)
62
+ * 1000000 is the maximum recommended exponent value of a Big, but this limit is not enforced.
63
+ */
64
+ PE = 21, // 0 to 1000000
65
+
66
+ /*
67
+ * When true, an error will be thrown if a primitive number is passed to the Big constructor,
68
+ * or if valueOf is called, or if toNumber is called on a Big which cannot be converted to a
69
+ * primitive number without a loss of precision.
70
+ */
71
+ STRICT = false, // true or false
72
+
73
+
74
+ /**************************************************************************************************/
75
+
76
+
77
+ // Error messages.
78
+ NAME = '[big.js] ',
79
+ INVALID = NAME + 'Invalid ',
80
+ INVALID_DP = INVALID + 'decimal places',
81
+ INVALID_RM = INVALID + 'rounding mode',
82
+ DIV_BY_ZERO = NAME + 'Division by zero',
83
+
84
+ // The shared prototype object.
85
+ P = {},
86
+ UNDEFINED = void 0,
87
+ NUMERIC = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;
88
+
89
+
90
+ /*
91
+ * Create and return a Big constructor.
92
+ */
93
+ function _Big_() {
94
+
95
+ /*
96
+ * The Big constructor and exported function.
97
+ * Create and return a new instance of a Big number object.
98
+ *
99
+ * n {number|string|Big} A numeric value.
100
+ */
101
+ function Big(n) {
102
+ var x = this;
103
+
104
+ // Enable constructor usage without new.
105
+ if (!(x instanceof Big)) return n === UNDEFINED ? _Big_() : new Big(n);
106
+
107
+ // Duplicate.
108
+ if (n instanceof Big) {
109
+ x.s = n.s;
110
+ x.e = n.e;
111
+ x.c = n.c.slice();
112
+ } else {
113
+ if (typeof n !== 'string') {
114
+ if (Big.strict === true && typeof n !== 'bigint') {
115
+ throw TypeError(INVALID + 'value');
116
+ }
117
+
118
+ // Minus zero?
119
+ n = n === 0 && 1 / n < 0 ? '-0' : String(n);
120
+ }
121
+
122
+ parse(x, n);
123
+ }
124
+
125
+ // Retain a reference to this Big constructor.
126
+ // Shadow Big.prototype.constructor which points to Object.
127
+ x.constructor = Big;
128
+ }
129
+
130
+ Big.prototype = P;
131
+ Big.DP = DP;
132
+ Big.RM = RM;
133
+ Big.NE = NE;
134
+ Big.PE = PE;
135
+ Big.strict = STRICT;
136
+ Big.roundDown = 0;
137
+ Big.roundHalfUp = 1;
138
+ Big.roundHalfEven = 2;
139
+ Big.roundUp = 3;
140
+
141
+ return Big;
142
+ }
143
+
144
+
145
+ /*
146
+ * Parse the number or string value passed to a Big constructor.
147
+ *
148
+ * x {Big} A Big number instance.
149
+ * n {number|string} A numeric value.
150
+ */
151
+ function parse(x, n) {
152
+ var e, i, nl;
153
+
154
+ if (!NUMERIC.test(n)) {
155
+ throw Error(INVALID + 'number');
156
+ }
157
+
158
+ // Determine sign.
159
+ x.s = n.charAt(0) == '-' ? (n = n.slice(1), -1) : 1;
160
+
161
+ // Decimal point?
162
+ if ((e = n.indexOf('.')) > -1) n = n.replace('.', '');
163
+
164
+ // Exponential form?
165
+ if ((i = n.search(/e/i)) > 0) {
166
+
167
+ // Determine exponent.
168
+ if (e < 0) e = i;
169
+ e += +n.slice(i + 1);
170
+ n = n.substring(0, i);
171
+ } else if (e < 0) {
172
+
173
+ // Integer.
174
+ e = n.length;
175
+ }
176
+
177
+ nl = n.length;
178
+
179
+ // Determine leading zeros.
180
+ for (i = 0; i < nl && n.charAt(i) == '0';) ++i;
181
+
182
+ if (i == nl) {
183
+
184
+ // Zero.
185
+ x.c = [x.e = 0];
186
+ } else {
187
+
188
+ // Determine trailing zeros.
189
+ for (; nl > 0 && n.charAt(--nl) == '0';);
190
+ x.e = e - i - 1;
191
+ x.c = [];
192
+
193
+ // Convert string to array of digits without leading/trailing zeros.
194
+ for (e = 0; i <= nl;) x.c[e++] = +n.charAt(i++);
195
+ }
196
+
197
+ return x;
198
+ }
199
+
200
+
201
+ /*
202
+ * Round Big x to a maximum of sd significant digits using rounding mode rm.
203
+ *
204
+ * x {Big} The Big to round.
205
+ * sd {number} Significant digits: integer, 0 to MAX_DP inclusive.
206
+ * rm {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
207
+ * [more] {boolean} Whether the result of division was truncated.
208
+ */
209
+ function round(x, sd, rm, more) {
210
+ var xc = x.c;
211
+
212
+ if (rm === UNDEFINED) rm = x.constructor.RM;
213
+ if (rm !== 0 && rm !== 1 && rm !== 2 && rm !== 3) {
214
+ throw Error(INVALID_RM);
215
+ }
216
+
217
+ if (sd < 1) {
218
+ more =
219
+ rm === 3 && (more || !!xc[0]) || sd === 0 && (
220
+ rm === 1 && xc[0] >= 5 ||
221
+ rm === 2 && (xc[0] > 5 || xc[0] === 5 && (more || xc[1] !== UNDEFINED))
222
+ );
223
+
224
+ xc.length = 1;
225
+
226
+ if (more) {
227
+
228
+ // 1, 0.1, 0.01, 0.001, 0.0001 etc.
229
+ x.e = x.e - sd + 1;
230
+ xc[0] = 1;
231
+ } else {
232
+
233
+ // Zero.
234
+ xc[0] = x.e = 0;
235
+ }
236
+ } else if (sd < xc.length) {
237
+
238
+ // xc[sd] is the digit after the digit that may be rounded up.
239
+ more =
240
+ rm === 1 && xc[sd] >= 5 ||
241
+ rm === 2 && (xc[sd] > 5 || xc[sd] === 5 &&
242
+ (more || xc[sd + 1] !== UNDEFINED || xc[sd - 1] & 1)) ||
243
+ rm === 3 && (more || !!xc[0]);
244
+
245
+ // Remove any digits after the required precision.
246
+ xc.length = sd;
247
+
248
+ // Round up?
249
+ if (more) {
250
+
251
+ // Rounding up may mean the previous digit has to be rounded up.
252
+ for (; ++xc[--sd] > 9;) {
253
+ xc[sd] = 0;
254
+ if (sd === 0) {
255
+ ++x.e;
256
+ xc.unshift(1);
257
+ break;
258
+ }
259
+ }
260
+ }
261
+
262
+ // Remove trailing zeros.
263
+ for (sd = xc.length; !xc[--sd];) xc.pop();
264
+ }
265
+
266
+ return x;
267
+ }
268
+
269
+
270
+ /*
271
+ * Return a string representing the value of Big x in normal or exponential notation.
272
+ * Handles P.toExponential, P.toFixed, P.toJSON, P.toPrecision, P.toString and P.valueOf.
273
+ */
274
+ function stringify(x, doExponential, isNonzero) {
275
+ var e = x.e,
276
+ s = x.c.join(''),
277
+ n = s.length;
278
+
279
+ // Exponential notation?
280
+ if (doExponential) {
281
+ s = s.charAt(0) + (n > 1 ? '.' + s.slice(1) : '') + (e < 0 ? 'e' : 'e+') + e;
282
+
283
+ // Normal notation.
284
+ } else if (e < 0) {
285
+ for (; ++e;) s = '0' + s;
286
+ s = '0.' + s;
287
+ } else if (e > 0) {
288
+ if (++e > n) {
289
+ for (e -= n; e--;) s += '0';
290
+ } else if (e < n) {
291
+ s = s.slice(0, e) + '.' + s.slice(e);
292
+ }
293
+ } else if (n > 1) {
294
+ s = s.charAt(0) + '.' + s.slice(1);
295
+ }
296
+
297
+ return x.s < 0 && isNonzero ? '-' + s : s;
298
+ }
299
+
300
+
301
+ // Prototype/instance methods
302
+
303
+
304
+ /*
305
+ * Return a new Big whose value is the absolute value of this Big.
306
+ */
307
+ P.abs = function () {
308
+ var x = new this.constructor(this);
309
+ x.s = 1;
310
+ return x;
311
+ };
312
+
313
+
314
+ /*
315
+ * Return 1 if the value of this Big is greater than the value of Big y,
316
+ * -1 if the value of this Big is less than the value of Big y, or
317
+ * 0 if they have the same value.
318
+ */
319
+ P.cmp = function (y) {
320
+ var isneg,
321
+ x = this,
322
+ xc = x.c,
323
+ yc = (y = new x.constructor(y)).c,
324
+ i = x.s,
325
+ j = y.s,
326
+ k = x.e,
327
+ l = y.e;
328
+
329
+ // Either zero?
330
+ if (!xc[0] || !yc[0]) return !xc[0] ? !yc[0] ? 0 : -j : i;
331
+
332
+ // Signs differ?
333
+ if (i != j) return i;
334
+
335
+ isneg = i < 0;
336
+
337
+ // Compare exponents.
338
+ if (k != l) return k > l ^ isneg ? 1 : -1;
339
+
340
+ j = (k = xc.length) < (l = yc.length) ? k : l;
341
+
342
+ // Compare digit by digit.
343
+ for (i = -1; ++i < j;) {
344
+ if (xc[i] != yc[i]) return xc[i] > yc[i] ^ isneg ? 1 : -1;
345
+ }
346
+
347
+ // Compare lengths.
348
+ return k == l ? 0 : k > l ^ isneg ? 1 : -1;
349
+ };
350
+
351
+
352
+ /*
353
+ * Return a new Big whose value is the value of this Big divided by the value of Big y, rounded,
354
+ * if necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.
355
+ */
356
+ P.div = function (y) {
357
+ var x = this,
358
+ Big = x.constructor,
359
+ a = x.c, // dividend
360
+ b = (y = new Big(y)).c, // divisor
361
+ k = x.s == y.s ? 1 : -1,
362
+ dp = Big.DP;
363
+
364
+ if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
365
+ throw Error(INVALID_DP);
366
+ }
367
+
368
+ // Divisor is zero?
369
+ if (!b[0]) {
370
+ throw Error(DIV_BY_ZERO);
371
+ }
372
+
373
+ // Dividend is 0? Return +-0.
374
+ if (!a[0]) {
375
+ y.s = k;
376
+ y.c = [y.e = 0];
377
+ return y;
378
+ }
379
+
380
+ var bl, bt, n, cmp, ri,
381
+ bz = b.slice(),
382
+ ai = bl = b.length,
383
+ al = a.length,
384
+ r = a.slice(0, bl), // remainder
385
+ rl = r.length,
386
+ q = y, // quotient
387
+ qc = q.c = [],
388
+ qi = 0,
389
+ p = dp + (q.e = x.e - y.e) + 1; // precision of the result
390
+
391
+ q.s = k;
392
+ k = p < 0 ? 0 : p;
393
+
394
+ // Create version of divisor with leading zero.
395
+ bz.unshift(0);
396
+
397
+ // Add zeros to make remainder as long as divisor.
398
+ for (; rl++ < bl;) r.push(0);
399
+
400
+ do {
401
+
402
+ // n is how many times the divisor goes into current remainder.
403
+ for (n = 0; n < 10; n++) {
404
+
405
+ // Compare divisor and remainder.
406
+ if (bl != (rl = r.length)) {
407
+ cmp = bl > rl ? 1 : -1;
408
+ } else {
409
+ for (ri = -1, cmp = 0; ++ri < bl;) {
410
+ if (b[ri] != r[ri]) {
411
+ cmp = b[ri] > r[ri] ? 1 : -1;
412
+ break;
413
+ }
414
+ }
415
+ }
416
+
417
+ // If divisor < remainder, subtract divisor from remainder.
418
+ if (cmp < 0) {
419
+
420
+ // Remainder can't be more than 1 digit longer than divisor.
421
+ // Equalise lengths using divisor with extra leading zero?
422
+ for (bt = rl == bl ? b : bz; rl;) {
423
+ if (r[--rl] < bt[rl]) {
424
+ ri = rl;
425
+ for (; ri && !r[--ri];) r[ri] = 9;
426
+ --r[ri];
427
+ r[rl] += 10;
428
+ }
429
+ r[rl] -= bt[rl];
430
+ }
431
+
432
+ for (; !r[0];) r.shift();
433
+ } else {
434
+ break;
435
+ }
436
+ }
437
+
438
+ // Add the digit n to the result array.
439
+ qc[qi++] = cmp ? n : ++n;
440
+
441
+ // Update the remainder.
442
+ if (r[0] && cmp) r[rl] = a[ai] || 0;
443
+ else r = [a[ai]];
444
+
445
+ } while ((ai++ < al || r[0] !== UNDEFINED) && k--);
446
+
447
+ // Leading zero? Do not remove if result is simply zero (qi == 1).
448
+ if (!qc[0] && qi != 1) {
449
+
450
+ // There can't be more than one zero.
451
+ qc.shift();
452
+ q.e--;
453
+ p--;
454
+ }
455
+
456
+ // Round?
457
+ if (qi > p) round(q, p, Big.RM, r[0] !== UNDEFINED);
458
+
459
+ return q;
460
+ };
461
+
462
+
463
+ /*
464
+ * Return true if the value of this Big is equal to the value of Big y, otherwise return false.
465
+ */
466
+ P.eq = function (y) {
467
+ return this.cmp(y) === 0;
468
+ };
469
+
470
+
471
+ /*
472
+ * Return true if the value of this Big is greater than the value of Big y, otherwise return
473
+ * false.
474
+ */
475
+ P.gt = function (y) {
476
+ return this.cmp(y) > 0;
477
+ };
478
+
479
+
480
+ /*
481
+ * Return true if the value of this Big is greater than or equal to the value of Big y, otherwise
482
+ * return false.
483
+ */
484
+ P.gte = function (y) {
485
+ return this.cmp(y) > -1;
486
+ };
487
+
488
+
489
+ /*
490
+ * Return true if the value of this Big is less than the value of Big y, otherwise return false.
491
+ */
492
+ P.lt = function (y) {
493
+ return this.cmp(y) < 0;
494
+ };
495
+
496
+
497
+ /*
498
+ * Return true if the value of this Big is less than or equal to the value of Big y, otherwise
499
+ * return false.
500
+ */
501
+ P.lte = function (y) {
502
+ return this.cmp(y) < 1;
503
+ };
504
+
505
+
506
+ /*
507
+ * Return a new Big whose value is the value of this Big minus the value of Big y.
508
+ */
509
+ P.minus = P.sub = function (y) {
510
+ var i, j, t, xlty,
511
+ x = this,
512
+ Big = x.constructor,
513
+ a = x.s,
514
+ b = (y = new Big(y)).s;
515
+
516
+ // Signs differ?
517
+ if (a != b) {
518
+ y.s = -b;
519
+ return x.plus(y);
520
+ }
521
+
522
+ var xc = x.c.slice(),
523
+ xe = x.e,
524
+ yc = y.c,
525
+ ye = y.e;
526
+
527
+ // Either zero?
528
+ if (!xc[0] || !yc[0]) {
529
+ if (yc[0]) {
530
+ y.s = -b;
531
+ } else if (xc[0]) {
532
+ y = new Big(x);
533
+ } else {
534
+ y.s = 1;
535
+ }
536
+ return y;
537
+ }
538
+
539
+ // Determine which is the bigger number. Prepend zeros to equalise exponents.
540
+ if (a = xe - ye) {
541
+
542
+ if (xlty = a < 0) {
543
+ a = -a;
544
+ t = xc;
545
+ } else {
546
+ ye = xe;
547
+ t = yc;
548
+ }
549
+
550
+ t.reverse();
551
+ for (b = a; b--;) t.push(0);
552
+ t.reverse();
553
+ } else {
554
+
555
+ // Exponents equal. Check digit by digit.
556
+ j = ((xlty = xc.length < yc.length) ? xc : yc).length;
557
+
558
+ for (a = b = 0; b < j; b++) {
559
+ if (xc[b] != yc[b]) {
560
+ xlty = xc[b] < yc[b];
561
+ break;
562
+ }
563
+ }
564
+ }
565
+
566
+ // x < y? Point xc to the array of the bigger number.
567
+ if (xlty) {
568
+ t = xc;
569
+ xc = yc;
570
+ yc = t;
571
+ y.s = -y.s;
572
+ }
573
+
574
+ /*
575
+ * Append zeros to xc if shorter. No need to add zeros to yc if shorter as subtraction only
576
+ * needs to start at yc.length.
577
+ */
578
+ if ((b = (j = yc.length) - (i = xc.length)) > 0) for (; b--;) xc[i++] = 0;
579
+
580
+ // Subtract yc from xc.
581
+ for (b = i; j > a;) {
582
+ if (xc[--j] < yc[j]) {
583
+ for (i = j; i && !xc[--i];) xc[i] = 9;
584
+ --xc[i];
585
+ xc[j] += 10;
586
+ }
587
+
588
+ xc[j] -= yc[j];
589
+ }
590
+
591
+ // Remove trailing zeros.
592
+ for (; xc[--b] === 0;) xc.pop();
593
+
594
+ // Remove leading zeros and adjust exponent accordingly.
595
+ for (; xc[0] === 0;) {
596
+ xc.shift();
597
+ --ye;
598
+ }
599
+
600
+ if (!xc[0]) {
601
+
602
+ // n - n = +0
603
+ y.s = 1;
604
+
605
+ // Result must be zero.
606
+ xc = [ye = 0];
607
+ }
608
+
609
+ y.c = xc;
610
+ y.e = ye;
611
+
612
+ return y;
613
+ };
614
+
615
+
616
+ /*
617
+ * Return a new Big whose value is the value of this Big modulo the value of Big y.
618
+ */
619
+ P.mod = function (y) {
620
+ var ygtx,
621
+ x = this,
622
+ Big = x.constructor,
623
+ a = x.s,
624
+ b = (y = new Big(y)).s;
625
+
626
+ if (!y.c[0]) {
627
+ throw Error(DIV_BY_ZERO);
628
+ }
629
+
630
+ x.s = y.s = 1;
631
+ ygtx = y.cmp(x) == 1;
632
+ x.s = a;
633
+ y.s = b;
634
+
635
+ if (ygtx) return new Big(x);
636
+
637
+ a = Big.DP;
638
+ b = Big.RM;
639
+ Big.DP = Big.RM = 0;
640
+ x = x.div(y);
641
+ Big.DP = a;
642
+ Big.RM = b;
643
+
644
+ return this.minus(x.times(y));
645
+ };
646
+
647
+
648
+ /*
649
+ * Return a new Big whose value is the value of this Big negated.
650
+ */
651
+ P.neg = function () {
652
+ var x = new this.constructor(this);
653
+ x.s = -x.s;
654
+ return x;
655
+ };
656
+
657
+
658
+ /*
659
+ * Return a new Big whose value is the value of this Big plus the value of Big y.
660
+ */
661
+ P.plus = P.add = function (y) {
662
+ var e, k, t,
663
+ x = this,
664
+ Big = x.constructor;
665
+
666
+ y = new Big(y);
667
+
668
+ // Signs differ?
669
+ if (x.s != y.s) {
670
+ y.s = -y.s;
671
+ return x.minus(y);
672
+ }
673
+
674
+ var xe = x.e,
675
+ xc = x.c,
676
+ ye = y.e,
677
+ yc = y.c;
678
+
679
+ // Either zero?
680
+ if (!xc[0] || !yc[0]) {
681
+ if (!yc[0]) {
682
+ if (xc[0]) {
683
+ y = new Big(x);
684
+ } else {
685
+ y.s = x.s;
686
+ }
687
+ }
688
+ return y;
689
+ }
690
+
691
+ xc = xc.slice();
692
+
693
+ // Prepend zeros to equalise exponents.
694
+ // Note: reverse faster than unshifts.
695
+ if (e = xe - ye) {
696
+ if (e > 0) {
697
+ ye = xe;
698
+ t = yc;
699
+ } else {
700
+ e = -e;
701
+ t = xc;
702
+ }
703
+
704
+ t.reverse();
705
+ for (; e--;) t.push(0);
706
+ t.reverse();
707
+ }
708
+
709
+ // Point xc to the longer array.
710
+ if (xc.length - yc.length < 0) {
711
+ t = yc;
712
+ yc = xc;
713
+ xc = t;
714
+ }
715
+
716
+ e = yc.length;
717
+
718
+ // Only start adding at yc.length - 1 as the further digits of xc can be left as they are.
719
+ for (k = 0; e; xc[e] %= 10) k = (xc[--e] = xc[e] + yc[e] + k) / 10 | 0;
720
+
721
+ // No need to check for zero, as +x + +y != 0 && -x + -y != 0
722
+
723
+ if (k) {
724
+ xc.unshift(k);
725
+ ++ye;
726
+ }
727
+
728
+ // Remove trailing zeros.
729
+ for (e = xc.length; xc[--e] === 0;) xc.pop();
730
+
731
+ y.c = xc;
732
+ y.e = ye;
733
+
734
+ return y;
735
+ };
736
+
737
+
738
+ /*
739
+ * Return a Big whose value is the value of this Big raised to the power n.
740
+ * If n is negative, round to a maximum of Big.DP decimal places using rounding
741
+ * mode Big.RM.
742
+ *
743
+ * n {number} Integer, -MAX_POWER to MAX_POWER inclusive.
744
+ */
745
+ P.pow = function (n) {
746
+ var x = this,
747
+ one = new x.constructor('1'),
748
+ y = one,
749
+ isneg = n < 0;
750
+
751
+ if (n !== ~~n || n < -1e6 || n > MAX_POWER) {
752
+ throw Error(INVALID + 'exponent');
753
+ }
754
+
755
+ if (isneg) n = -n;
756
+
757
+ for (;;) {
758
+ if (n & 1) y = y.times(x);
759
+ n >>= 1;
760
+ if (!n) break;
761
+ x = x.times(x);
762
+ }
763
+
764
+ return isneg ? one.div(y) : y;
765
+ };
766
+
767
+
768
+ /*
769
+ * Return a new Big whose value is the value of this Big rounded to a maximum precision of sd
770
+ * significant digits using rounding mode rm, or Big.RM if rm is not specified.
771
+ *
772
+ * sd {number} Significant digits: integer, 1 to MAX_DP inclusive.
773
+ * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
774
+ */
775
+ P.prec = function (sd, rm) {
776
+ if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {
777
+ throw Error(INVALID + 'precision');
778
+ }
779
+ return round(new this.constructor(this), sd, rm);
780
+ };
781
+
782
+
783
+ /*
784
+ * Return a new Big whose value is the value of this Big rounded to a maximum of dp decimal places
785
+ * using rounding mode rm, or Big.RM if rm is not specified.
786
+ * If dp is negative, round to an integer which is a multiple of 10**-dp.
787
+ * If dp is not specified, round to 0 decimal places.
788
+ *
789
+ * dp? {number} Integer, -MAX_DP to MAX_DP inclusive.
790
+ * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
791
+ */
792
+ P.round = function (dp, rm) {
793
+ if (dp === UNDEFINED) dp = 0;
794
+ else if (dp !== ~~dp || dp < -1e6 || dp > MAX_DP) {
795
+ throw Error(INVALID_DP);
796
+ }
797
+ return round(new this.constructor(this), dp + this.e + 1, rm);
798
+ };
799
+
800
+
801
+ /*
802
+ * Return a new Big whose value is the square root of the value of this Big, rounded, if
803
+ * necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.
804
+ */
805
+ P.sqrt = function () {
806
+ var r, c, t,
807
+ x = this,
808
+ Big = x.constructor,
809
+ s = x.s,
810
+ e = x.e,
811
+ half = new Big('0.5');
812
+
813
+ // Zero?
814
+ if (!x.c[0]) return new Big(x);
815
+
816
+ // Negative?
817
+ if (s < 0) {
818
+ throw Error(NAME + 'No square root');
819
+ }
820
+
821
+ // Estimate.
822
+ s = Math.sqrt(x + '');
823
+
824
+ // Math.sqrt underflow/overflow?
825
+ // Re-estimate: pass x coefficient to Math.sqrt as integer, then adjust the result exponent.
826
+ if (s === 0 || s === 1 / 0) {
827
+ c = x.c.join('');
828
+ if (!(c.length + e & 1)) c += '0';
829
+ s = Math.sqrt(c);
830
+ e = ((e + 1) / 2 | 0) - (e < 0 || e & 1);
831
+ r = new Big((s == 1 / 0 ? '5e' : (s = s.toExponential()).slice(0, s.indexOf('e') + 1)) + e);
832
+ } else {
833
+ r = new Big(s + '');
834
+ }
835
+
836
+ e = r.e + (Big.DP += 4);
837
+
838
+ // Newton-Raphson iteration.
839
+ do {
840
+ t = r;
841
+ r = half.times(t.plus(x.div(t)));
842
+ } while (t.c.slice(0, e).join('') !== r.c.slice(0, e).join(''));
843
+
844
+ return round(r, (Big.DP -= 4) + r.e + 1, Big.RM);
845
+ };
846
+
847
+
848
+ /*
849
+ * Return a new Big whose value is the value of this Big times the value of Big y.
850
+ */
851
+ P.times = P.mul = function (y) {
852
+ var c,
853
+ x = this,
854
+ Big = x.constructor,
855
+ xc = x.c,
856
+ yc = (y = new Big(y)).c,
857
+ a = xc.length,
858
+ b = yc.length,
859
+ i = x.e,
860
+ j = y.e;
861
+
862
+ // Determine sign of result.
863
+ y.s = x.s == y.s ? 1 : -1;
864
+
865
+ // Return signed 0 if either 0.
866
+ if (!xc[0] || !yc[0]) {
867
+ y.c = [y.e = 0];
868
+ return y;
869
+ }
870
+
871
+ // Initialise exponent of result as x.e + y.e.
872
+ y.e = i + j;
873
+
874
+ // If array xc has fewer digits than yc, swap xc and yc, and lengths.
875
+ if (a < b) {
876
+ c = xc;
877
+ xc = yc;
878
+ yc = c;
879
+ j = a;
880
+ a = b;
881
+ b = j;
882
+ }
883
+
884
+ // Initialise coefficient array of result with zeros.
885
+ for (c = new Array(j = a + b); j--;) c[j] = 0;
886
+
887
+ // Multiply.
888
+
889
+ // i is initially xc.length.
890
+ for (i = b; i--;) {
891
+ b = 0;
892
+
893
+ // a is yc.length.
894
+ for (j = a + i; j > i;) {
895
+
896
+ // Current sum of products at this digit position, plus carry.
897
+ b = c[j] + yc[i] * xc[j - i - 1] + b;
898
+ c[j--] = b % 10;
899
+
900
+ // carry
901
+ b = b / 10 | 0;
902
+ }
903
+
904
+ c[j] = b;
905
+ }
906
+
907
+ // Increment result exponent if there is a final carry, otherwise remove leading zero.
908
+ if (b) ++y.e;
909
+ else c.shift();
910
+
911
+ // Remove trailing zeros.
912
+ for (i = c.length; !c[--i];) c.pop();
913
+ y.c = c;
914
+
915
+ return y;
916
+ };
917
+
918
+
919
+ /*
920
+ * Return a string representing the value of this Big in exponential notation rounded to dp fixed
921
+ * decimal places using rounding mode rm, or Big.RM if rm is not specified.
922
+ *
923
+ * dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.
924
+ * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
925
+ */
926
+ P.toExponential = function (dp, rm) {
927
+ var x = this,
928
+ n = x.c[0];
929
+
930
+ if (dp !== UNDEFINED) {
931
+ if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
932
+ throw Error(INVALID_DP);
933
+ }
934
+ x = round(new x.constructor(x), ++dp, rm);
935
+ for (; x.c.length < dp;) x.c.push(0);
936
+ }
937
+
938
+ return stringify(x, true, !!n);
939
+ };
940
+
941
+
942
+ /*
943
+ * Return a string representing the value of this Big in normal notation rounded to dp fixed
944
+ * decimal places using rounding mode rm, or Big.RM if rm is not specified.
945
+ *
946
+ * dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.
947
+ * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
948
+ *
949
+ * (-0).toFixed(0) is '0', but (-0.1).toFixed(0) is '-0'.
950
+ * (-0).toFixed(1) is '0.0', but (-0.01).toFixed(1) is '-0.0'.
951
+ */
952
+ P.toFixed = function (dp, rm) {
953
+ var x = this,
954
+ n = x.c[0];
955
+
956
+ if (dp !== UNDEFINED) {
957
+ if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
958
+ throw Error(INVALID_DP);
959
+ }
960
+ x = round(new x.constructor(x), dp + x.e + 1, rm);
961
+
962
+ // x.e may have changed if the value is rounded up.
963
+ for (dp = dp + x.e + 1; x.c.length < dp;) x.c.push(0);
964
+ }
965
+
966
+ return stringify(x, false, !!n);
967
+ };
968
+
969
+
970
+ /*
971
+ * Return a string representing the value of this Big.
972
+ * Return exponential notation if this Big has a positive exponent equal to or greater than
973
+ * Big.PE, or a negative exponent equal to or less than Big.NE.
974
+ * Omit the sign for negative zero.
975
+ */
976
+ P[Symbol.for('nodejs.util.inspect.custom')] = P.toJSON = P.toString = function () {
977
+ var x = this,
978
+ Big = x.constructor;
979
+ return stringify(x, x.e <= Big.NE || x.e >= Big.PE, !!x.c[0]);
980
+ };
981
+
982
+
983
+ /*
984
+ * Return the value of this Big as a primitve number.
985
+ */
986
+ P.toNumber = function () {
987
+ var n = Number(stringify(this, true, true));
988
+ if (this.constructor.strict === true && !this.eq(n.toString())) {
989
+ throw Error(NAME + 'Imprecise conversion');
990
+ }
991
+ return n;
992
+ };
993
+
994
+
995
+ /*
996
+ * Return a string representing the value of this Big rounded to sd significant digits using
997
+ * rounding mode rm, or Big.RM if rm is not specified.
998
+ * Use exponential notation if sd is less than the number of digits necessary to represent
999
+ * the integer part of the value in normal notation.
1000
+ *
1001
+ * sd {number} Significant digits: integer, 1 to MAX_DP inclusive.
1002
+ * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
1003
+ */
1004
+ P.toPrecision = function (sd, rm) {
1005
+ var x = this,
1006
+ Big = x.constructor,
1007
+ n = x.c[0];
1008
+
1009
+ if (sd !== UNDEFINED) {
1010
+ if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {
1011
+ throw Error(INVALID + 'precision');
1012
+ }
1013
+ x = round(new Big(x), sd, rm);
1014
+ for (; x.c.length < sd;) x.c.push(0);
1015
+ }
1016
+
1017
+ return stringify(x, sd <= x.e || x.e <= Big.NE || x.e >= Big.PE, !!n);
1018
+ };
1019
+
1020
+
1021
+ /*
1022
+ * Return a string representing the value of this Big.
1023
+ * Return exponential notation if this Big has a positive exponent equal to or greater than
1024
+ * Big.PE, or a negative exponent equal to or less than Big.NE.
1025
+ * Include the sign for negative zero.
1026
+ */
1027
+ P.valueOf = function () {
1028
+ var x = this,
1029
+ Big = x.constructor;
1030
+ if (Big.strict === true) {
1031
+ throw Error(NAME + 'valueOf disallowed');
1032
+ }
1033
+ return stringify(x, x.e <= Big.NE || x.e >= Big.PE, true);
1034
+ };
1035
+
1036
+
1037
+ // Export
1038
+
1039
+
1040
+ var Big = _Big_();
1067
1041
 
1068
1042
  const balInputStepperCss = ".bal-input-stepper{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:static;display:inline-block}.bal-input-stepper__inner{display:-ms-flexbox;display:flex;gap:.25rem;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.bal-input-stepper__inner__text{min-width:3rem;text-align:center;font-weight:700}.bal-input-stepper__inner__text--invalid{color:var(--bal-color-text-danger)}.bal-input-stepper__inner__text--disabled{color:var(--bal-color-text-grey)}.bal-input-stepper__input{position:absolute;width:0;height:0;left:0;top:0;margin:0;padding:0;opacity:0;outline:0}";
1069
1043
 
@@ -1223,7 +1197,7 @@ const InputStepper = class {
1223
1197
  const elText = elInner.element('text');
1224
1198
  const increaseLabel = i18nBalInputStepper[this.language].increase;
1225
1199
  const decreaseLabel = i18nBalInputStepper[this.language].decrease;
1226
- return (h(Host, { key: '642192eee6d75e8a73622ecd3b781446163b3b4f', "aria-disabled": ariaBooleanToString(this.disabled), "aria-focused": this.focused ? 'true' : null, class: Object.assign({}, block.class()) }, h("div", { key: 'ee2d5f46f8fc4c49b70042964b2b0ad34a6d4e9f', class: Object.assign({}, elInner.class()) }, h("bal-button", { key: '26c6dcca2d4c065daf88f2d119d05477292c424c', a11yTitle: decreaseLabel, a11yLabel: decreaseLabel, a11yControls: this.ariaForm.controlId || this.inputId, size: "small", square: true, "data-testid": "bal-input-stepper-decrease", outlined: !this.invalid, icon: "minus", color: this.invalid ? 'danger' : 'info', disabled: this.disabled || this.readonly || this.value <= this.min, onClick: _ => this.decrease(), onBalFocus: ev => this.onFocusDecrease(ev), onBalBlur: ev => this.onBlurDecrease(ev) }), h("span", { key: 'c2364d701f929bc318f4097284dbe52226c6b46a', "data-testid": "bal-input-stepper-text", class: Object.assign(Object.assign(Object.assign({}, elText.class()), elText.modifier('invalid').class(this.invalid)), elText.modifier('disabled').class(this.disabled || this.readonly)) }, formatLocaleNumber(this.value)), h("bal-button", { key: '2cb3693ef78f6a7ac36126d5c37d1424cb5235f2', a11yTitle: increaseLabel, a11yLabel: increaseLabel, a11yControls: this.ariaForm.controlId || this.inputId, size: "small", "data-testid": "bal-input-stepper-increase", square: true, outlined: !this.invalid, icon: "plus", color: this.invalid ? 'danger' : 'info', disabled: this.disabled || this.readonly || this.value >= this.max, onClick: _ => this.increase(), onBalFocus: ev => this.onFocusIncrease(ev), onBalBlur: ev => this.onBlurIncrease(ev) })), h("input", Object.assign({ key: '9866c51ffe35d16677f6b23816a7aacc2dcfb3ad', class: Object.assign({}, elInput.class()), id: this.ariaForm.controlId || this.inputId, "aria-labelledby": this.ariaForm.labelId, "aria-describedby": this.ariaForm.messageId, "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-disabled": ariaBooleanToString(this.disabled), "data-testid": "bal-input-stepper", type: "text", value: this.value, name: this.name, tabindex: "-1", ref: inputEl => (this.nativeInput = inputEl), readonly: this.readonly, disabled: this.disabled }, this.inheritedAttributes))));
1200
+ return (h(Host, { key: '6ad60111cc0d03d2375d5a7a490820d593b4b097', "aria-disabled": ariaBooleanToString(this.disabled), "aria-focused": this.focused ? 'true' : null, class: Object.assign({}, block.class()) }, h("div", { key: '734da03d0a55c27c8f7d7fa1fa10bbc6d270d775', class: Object.assign({}, elInner.class()) }, h("bal-button", { key: 'f80b191693808639c9abff0548e02a673064375b', a11yTitle: decreaseLabel, a11yLabel: decreaseLabel, a11yControls: this.ariaForm.controlId || this.inputId, size: "small", square: true, "data-testid": "bal-input-stepper-decrease", outlined: !this.invalid, icon: "minus", color: this.invalid ? 'danger' : 'info', disabled: this.disabled || this.readonly || this.value <= this.min, onClick: _ => this.decrease(), onBalFocus: ev => this.onFocusDecrease(ev), onBalBlur: ev => this.onBlurDecrease(ev) }), h("span", { key: 'd83ce4220e317063f70833d02d9bd8b71cfa9cf8', "data-testid": "bal-input-stepper-text", class: Object.assign(Object.assign(Object.assign({}, elText.class()), elText.modifier('invalid').class(this.invalid)), elText.modifier('disabled').class(this.disabled || this.readonly)) }, formatLocaleNumber(this.value)), h("bal-button", { key: '15bf9caae4095f6b38e3f3405c7a0a555951fa5f', a11yTitle: increaseLabel, a11yLabel: increaseLabel, a11yControls: this.ariaForm.controlId || this.inputId, size: "small", "data-testid": "bal-input-stepper-increase", square: true, outlined: !this.invalid, icon: "plus", color: this.invalid ? 'danger' : 'info', disabled: this.disabled || this.readonly || this.value >= this.max, onClick: _ => this.increase(), onBalFocus: ev => this.onFocusIncrease(ev), onBalBlur: ev => this.onBlurIncrease(ev) })), h("input", Object.assign({ key: '073cfbee7952b558bfcb15e66fb666894a85666d', class: Object.assign({}, elInput.class()), id: this.ariaForm.controlId || this.inputId, "aria-labelledby": this.ariaForm.labelId, "aria-describedby": this.ariaForm.messageId, "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-disabled": ariaBooleanToString(this.disabled), "data-testid": "bal-input-stepper", type: "text", value: this.value, name: this.name, tabindex: "-1", ref: inputEl => (this.nativeInput = inputEl), readonly: this.readonly, disabled: this.disabled }, this.inheritedAttributes))));
1227
1201
  }
1228
1202
  get el() { return getElement(this); }
1229
1203
  static get watchers() { return {