@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,1071 +1,1045 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-TwNDE7ev.js');
3
+ var index = require('./index-feA4skrY.js');
4
4
  var tslib_es6 = require('./tslib.es6-DrfCPgT9.js');
5
- var _commonjsHelpers = require('./_commonjsHelpers-BJu3ubxk.js');
6
5
  var aria = require('./aria-BzkqcV7W.js');
7
6
  var attributes = require('./attributes-Cp0kpySW.js');
8
7
  var bem = require('./bem-p0PWVN8n.js');
9
- var config_decorator = require('./config.decorator-D_YTqpYj.js');
10
8
  var form = require('./form-BSlIiqcR.js');
11
- var formInput = require('./form-input-DBZuEpuy.js');
12
- var number = require('./number-B6kudt4D.js');
9
+ var formInput = require('./form-input-BwFB4Rej.js');
10
+ var helpers = require('./helpers-HuaiWXrB.js');
11
+ var log = require('./log-CXDMiw7o.js');
12
+ var number = require('./number-COdZG-wK.js');
13
13
  var balInputStepper_i18n = require('./bal-input-stepper.i18n-D57DHpYR.js');
14
-
15
- var big$1 = {exports: {}};
14
+ var config_default = require('./config.default-Bkso4_bY.js');
15
+ var config_decorator = require('./config.decorator-CUe4yCTd.js');
16
+ require('./browser-BwmkTmm8.js');
17
+ require('./config.utils-Civnz2jT.js');
16
18
 
17
19
  /*
18
20
  * big.js v6.2.1
19
21
  * A small, fast, easy-to-use library for arbitrary-precision decimal arithmetic.
20
22
  * Copyright (c) 2022 Michael Mclaughlin
21
23
  * https://github.com/MikeMcl/big.js/LICENCE.md
22
- */
23
- var big = big$1.exports;
24
-
25
- var hasRequiredBig;
26
-
27
- function requireBig () {
28
- if (hasRequiredBig) return big$1.exports;
29
- hasRequiredBig = 1;
30
- (function (module) {
31
- (function (GLOBAL) {
32
- var Big,
33
-
34
-
35
- /************************************** EDITABLE DEFAULTS *****************************************/
36
-
37
-
38
- // The default values below must be integers within the stated ranges.
39
-
40
- /*
41
- * The maximum number of decimal places (DP) of the results of operations involving division:
42
- * div and sqrt, and pow with negative exponents.
43
- */
44
- DP = 20, // 0 to MAX_DP
45
-
46
- /*
47
- * The rounding mode (RM) used when rounding to the above decimal places.
48
- *
49
- * 0 Towards zero (i.e. truncate, no rounding). (ROUND_DOWN)
50
- * 1 To nearest neighbour. If equidistant, round up. (ROUND_HALF_UP)
51
- * 2 To nearest neighbour. If equidistant, to even. (ROUND_HALF_EVEN)
52
- * 3 Away from zero. (ROUND_UP)
53
- */
54
- RM = 1, // 0, 1, 2 or 3
55
-
56
- // The maximum value of DP and Big.DP.
57
- MAX_DP = 1E6, // 0 to 1000000
58
-
59
- // The maximum magnitude of the exponent argument to the pow method.
60
- MAX_POWER = 1E6, // 1 to 1000000
61
-
62
- /*
63
- * The negative exponent (NE) at and beneath which toString returns exponential notation.
64
- * (JavaScript numbers: -7)
65
- * -1000000 is the minimum recommended exponent value of a Big.
66
- */
67
- NE = -7, // 0 to -1000000
68
-
69
- /*
70
- * The positive exponent (PE) at and above which toString returns exponential notation.
71
- * (JavaScript numbers: 21)
72
- * 1000000 is the maximum recommended exponent value of a Big, but this limit is not enforced.
73
- */
74
- PE = 21, // 0 to 1000000
75
-
76
- /*
77
- * When true, an error will be thrown if a primitive number is passed to the Big constructor,
78
- * or if valueOf is called, or if toNumber is called on a Big which cannot be converted to a
79
- * primitive number without a loss of precision.
80
- */
81
- STRICT = false, // true or false
82
-
83
-
84
- /**************************************************************************************************/
85
-
86
-
87
- // Error messages.
88
- NAME = '[big.js] ',
89
- INVALID = NAME + 'Invalid ',
90
- INVALID_DP = INVALID + 'decimal places',
91
- INVALID_RM = INVALID + 'rounding mode',
92
- DIV_BY_ZERO = NAME + 'Division by zero',
93
-
94
- // The shared prototype object.
95
- P = {},
96
- UNDEFINED = void 0,
97
- NUMERIC = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;
98
-
99
-
100
- /*
101
- * Create and return a Big constructor.
102
- */
103
- function _Big_() {
104
-
105
- /*
106
- * The Big constructor and exported function.
107
- * Create and return a new instance of a Big number object.
108
- *
109
- * n {number|string|Big} A numeric value.
110
- */
111
- function Big(n) {
112
- var x = this;
113
-
114
- // Enable constructor usage without new.
115
- if (!(x instanceof Big)) return n === UNDEFINED ? _Big_() : new Big(n);
116
-
117
- // Duplicate.
118
- if (n instanceof Big) {
119
- x.s = n.s;
120
- x.e = n.e;
121
- x.c = n.c.slice();
122
- } else {
123
- if (typeof n !== 'string') {
124
- if (Big.strict === true && typeof n !== 'bigint') {
125
- throw TypeError(INVALID + 'value');
126
- }
127
-
128
- // Minus zero?
129
- n = n === 0 && 1 / n < 0 ? '-0' : String(n);
130
- }
131
-
132
- parse(x, n);
133
- }
134
-
135
- // Retain a reference to this Big constructor.
136
- // Shadow Big.prototype.constructor which points to Object.
137
- x.constructor = Big;
138
- }
139
-
140
- Big.prototype = P;
141
- Big.DP = DP;
142
- Big.RM = RM;
143
- Big.NE = NE;
144
- Big.PE = PE;
145
- Big.strict = STRICT;
146
- Big.roundDown = 0;
147
- Big.roundHalfUp = 1;
148
- Big.roundHalfEven = 2;
149
- Big.roundUp = 3;
150
-
151
- return Big;
152
- }
153
-
154
-
155
- /*
156
- * Parse the number or string value passed to a Big constructor.
157
- *
158
- * x {Big} A Big number instance.
159
- * n {number|string} A numeric value.
160
- */
161
- function parse(x, n) {
162
- var e, i, nl;
163
-
164
- if (!NUMERIC.test(n)) {
165
- throw Error(INVALID + 'number');
166
- }
167
-
168
- // Determine sign.
169
- x.s = n.charAt(0) == '-' ? (n = n.slice(1), -1) : 1;
170
-
171
- // Decimal point?
172
- if ((e = n.indexOf('.')) > -1) n = n.replace('.', '');
173
-
174
- // Exponential form?
175
- if ((i = n.search(/e/i)) > 0) {
176
-
177
- // Determine exponent.
178
- if (e < 0) e = i;
179
- e += +n.slice(i + 1);
180
- n = n.substring(0, i);
181
- } else if (e < 0) {
182
-
183
- // Integer.
184
- e = n.length;
185
- }
186
-
187
- nl = n.length;
188
-
189
- // Determine leading zeros.
190
- for (i = 0; i < nl && n.charAt(i) == '0';) ++i;
191
-
192
- if (i == nl) {
193
-
194
- // Zero.
195
- x.c = [x.e = 0];
196
- } else {
197
-
198
- // Determine trailing zeros.
199
- for (; nl > 0 && n.charAt(--nl) == '0';);
200
- x.e = e - i - 1;
201
- x.c = [];
202
-
203
- // Convert string to array of digits without leading/trailing zeros.
204
- for (e = 0; i <= nl;) x.c[e++] = +n.charAt(i++);
205
- }
206
-
207
- return x;
208
- }
209
-
210
-
211
- /*
212
- * Round Big x to a maximum of sd significant digits using rounding mode rm.
213
- *
214
- * x {Big} The Big to round.
215
- * sd {number} Significant digits: integer, 0 to MAX_DP inclusive.
216
- * rm {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
217
- * [more] {boolean} Whether the result of division was truncated.
218
- */
219
- function round(x, sd, rm, more) {
220
- var xc = x.c;
221
-
222
- if (rm === UNDEFINED) rm = x.constructor.RM;
223
- if (rm !== 0 && rm !== 1 && rm !== 2 && rm !== 3) {
224
- throw Error(INVALID_RM);
225
- }
226
-
227
- if (sd < 1) {
228
- more =
229
- rm === 3 && (more || !!xc[0]) || sd === 0 && (
230
- rm === 1 && xc[0] >= 5 ||
231
- rm === 2 && (xc[0] > 5 || xc[0] === 5 && (more || xc[1] !== UNDEFINED))
232
- );
233
-
234
- xc.length = 1;
235
-
236
- if (more) {
237
-
238
- // 1, 0.1, 0.01, 0.001, 0.0001 etc.
239
- x.e = x.e - sd + 1;
240
- xc[0] = 1;
241
- } else {
242
-
243
- // Zero.
244
- xc[0] = x.e = 0;
245
- }
246
- } else if (sd < xc.length) {
247
-
248
- // xc[sd] is the digit after the digit that may be rounded up.
249
- more =
250
- rm === 1 && xc[sd] >= 5 ||
251
- rm === 2 && (xc[sd] > 5 || xc[sd] === 5 &&
252
- (more || xc[sd + 1] !== UNDEFINED || xc[sd - 1] & 1)) ||
253
- rm === 3 && (more || !!xc[0]);
254
-
255
- // Remove any digits after the required precision.
256
- xc.length = sd;
257
-
258
- // Round up?
259
- if (more) {
260
-
261
- // Rounding up may mean the previous digit has to be rounded up.
262
- for (; ++xc[--sd] > 9;) {
263
- xc[sd] = 0;
264
- if (sd === 0) {
265
- ++x.e;
266
- xc.unshift(1);
267
- break;
268
- }
269
- }
270
- }
271
-
272
- // Remove trailing zeros.
273
- for (sd = xc.length; !xc[--sd];) xc.pop();
274
- }
275
-
276
- return x;
277
- }
278
-
279
-
280
- /*
281
- * Return a string representing the value of Big x in normal or exponential notation.
282
- * Handles P.toExponential, P.toFixed, P.toJSON, P.toPrecision, P.toString and P.valueOf.
283
- */
284
- function stringify(x, doExponential, isNonzero) {
285
- var e = x.e,
286
- s = x.c.join(''),
287
- n = s.length;
288
-
289
- // Exponential notation?
290
- if (doExponential) {
291
- s = s.charAt(0) + (n > 1 ? '.' + s.slice(1) : '') + (e < 0 ? 'e' : 'e+') + e;
292
-
293
- // Normal notation.
294
- } else if (e < 0) {
295
- for (; ++e;) s = '0' + s;
296
- s = '0.' + s;
297
- } else if (e > 0) {
298
- if (++e > n) {
299
- for (e -= n; e--;) s += '0';
300
- } else if (e < n) {
301
- s = s.slice(0, e) + '.' + s.slice(e);
302
- }
303
- } else if (n > 1) {
304
- s = s.charAt(0) + '.' + s.slice(1);
305
- }
306
-
307
- return x.s < 0 && isNonzero ? '-' + s : s;
308
- }
309
-
310
-
311
- // Prototype/instance methods
312
-
313
-
314
- /*
315
- * Return a new Big whose value is the absolute value of this Big.
316
- */
317
- P.abs = function () {
318
- var x = new this.constructor(this);
319
- x.s = 1;
320
- return x;
321
- };
322
-
323
-
324
- /*
325
- * Return 1 if the value of this Big is greater than the value of Big y,
326
- * -1 if the value of this Big is less than the value of Big y, or
327
- * 0 if they have the same value.
328
- */
329
- P.cmp = function (y) {
330
- var isneg,
331
- x = this,
332
- xc = x.c,
333
- yc = (y = new x.constructor(y)).c,
334
- i = x.s,
335
- j = y.s,
336
- k = x.e,
337
- l = y.e;
338
-
339
- // Either zero?
340
- if (!xc[0] || !yc[0]) return !xc[0] ? !yc[0] ? 0 : -j : i;
341
-
342
- // Signs differ?
343
- if (i != j) return i;
344
-
345
- isneg = i < 0;
346
-
347
- // Compare exponents.
348
- if (k != l) return k > l ^ isneg ? 1 : -1;
349
-
350
- j = (k = xc.length) < (l = yc.length) ? k : l;
351
-
352
- // Compare digit by digit.
353
- for (i = -1; ++i < j;) {
354
- if (xc[i] != yc[i]) return xc[i] > yc[i] ^ isneg ? 1 : -1;
355
- }
356
-
357
- // Compare lengths.
358
- return k == l ? 0 : k > l ^ isneg ? 1 : -1;
359
- };
360
-
361
-
362
- /*
363
- * Return a new Big whose value is the value of this Big divided by the value of Big y, rounded,
364
- * if necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.
365
- */
366
- P.div = function (y) {
367
- var x = this,
368
- Big = x.constructor,
369
- a = x.c, // dividend
370
- b = (y = new Big(y)).c, // divisor
371
- k = x.s == y.s ? 1 : -1,
372
- dp = Big.DP;
373
-
374
- if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
375
- throw Error(INVALID_DP);
376
- }
377
-
378
- // Divisor is zero?
379
- if (!b[0]) {
380
- throw Error(DIV_BY_ZERO);
381
- }
382
-
383
- // Dividend is 0? Return +-0.
384
- if (!a[0]) {
385
- y.s = k;
386
- y.c = [y.e = 0];
387
- return y;
388
- }
389
-
390
- var bl, bt, n, cmp, ri,
391
- bz = b.slice(),
392
- ai = bl = b.length,
393
- al = a.length,
394
- r = a.slice(0, bl), // remainder
395
- rl = r.length,
396
- q = y, // quotient
397
- qc = q.c = [],
398
- qi = 0,
399
- p = dp + (q.e = x.e - y.e) + 1; // precision of the result
400
-
401
- q.s = k;
402
- k = p < 0 ? 0 : p;
403
-
404
- // Create version of divisor with leading zero.
405
- bz.unshift(0);
406
-
407
- // Add zeros to make remainder as long as divisor.
408
- for (; rl++ < bl;) r.push(0);
409
-
410
- do {
411
-
412
- // n is how many times the divisor goes into current remainder.
413
- for (n = 0; n < 10; n++) {
414
-
415
- // Compare divisor and remainder.
416
- if (bl != (rl = r.length)) {
417
- cmp = bl > rl ? 1 : -1;
418
- } else {
419
- for (ri = -1, cmp = 0; ++ri < bl;) {
420
- if (b[ri] != r[ri]) {
421
- cmp = b[ri] > r[ri] ? 1 : -1;
422
- break;
423
- }
424
- }
425
- }
426
-
427
- // If divisor < remainder, subtract divisor from remainder.
428
- if (cmp < 0) {
429
-
430
- // Remainder can't be more than 1 digit longer than divisor.
431
- // Equalise lengths using divisor with extra leading zero?
432
- for (bt = rl == bl ? b : bz; rl;) {
433
- if (r[--rl] < bt[rl]) {
434
- ri = rl;
435
- for (; ri && !r[--ri];) r[ri] = 9;
436
- --r[ri];
437
- r[rl] += 10;
438
- }
439
- r[rl] -= bt[rl];
440
- }
441
-
442
- for (; !r[0];) r.shift();
443
- } else {
444
- break;
445
- }
446
- }
447
-
448
- // Add the digit n to the result array.
449
- qc[qi++] = cmp ? n : ++n;
450
-
451
- // Update the remainder.
452
- if (r[0] && cmp) r[rl] = a[ai] || 0;
453
- else r = [a[ai]];
454
-
455
- } while ((ai++ < al || r[0] !== UNDEFINED) && k--);
456
-
457
- // Leading zero? Do not remove if result is simply zero (qi == 1).
458
- if (!qc[0] && qi != 1) {
459
-
460
- // There can't be more than one zero.
461
- qc.shift();
462
- q.e--;
463
- p--;
464
- }
465
-
466
- // Round?
467
- if (qi > p) round(q, p, Big.RM, r[0] !== UNDEFINED);
468
-
469
- return q;
470
- };
471
-
472
-
473
- /*
474
- * Return true if the value of this Big is equal to the value of Big y, otherwise return false.
475
- */
476
- P.eq = function (y) {
477
- return this.cmp(y) === 0;
478
- };
479
-
480
-
481
- /*
482
- * Return true if the value of this Big is greater than the value of Big y, otherwise return
483
- * false.
484
- */
485
- P.gt = function (y) {
486
- return this.cmp(y) > 0;
487
- };
488
-
489
-
490
- /*
491
- * Return true if the value of this Big is greater than or equal to the value of Big y, otherwise
492
- * return false.
493
- */
494
- P.gte = function (y) {
495
- return this.cmp(y) > -1;
496
- };
497
-
498
-
499
- /*
500
- * Return true if the value of this Big is less than the value of Big y, otherwise return false.
501
- */
502
- P.lt = function (y) {
503
- return this.cmp(y) < 0;
504
- };
505
-
506
-
507
- /*
508
- * Return true if the value of this Big is less than or equal to the value of Big y, otherwise
509
- * return false.
510
- */
511
- P.lte = function (y) {
512
- return this.cmp(y) < 1;
513
- };
514
-
515
-
516
- /*
517
- * Return a new Big whose value is the value of this Big minus the value of Big y.
518
- */
519
- P.minus = P.sub = function (y) {
520
- var i, j, t, xlty,
521
- x = this,
522
- Big = x.constructor,
523
- a = x.s,
524
- b = (y = new Big(y)).s;
525
-
526
- // Signs differ?
527
- if (a != b) {
528
- y.s = -b;
529
- return x.plus(y);
530
- }
531
-
532
- var xc = x.c.slice(),
533
- xe = x.e,
534
- yc = y.c,
535
- ye = y.e;
536
-
537
- // Either zero?
538
- if (!xc[0] || !yc[0]) {
539
- if (yc[0]) {
540
- y.s = -b;
541
- } else if (xc[0]) {
542
- y = new Big(x);
543
- } else {
544
- y.s = 1;
545
- }
546
- return y;
547
- }
548
-
549
- // Determine which is the bigger number. Prepend zeros to equalise exponents.
550
- if (a = xe - ye) {
551
-
552
- if (xlty = a < 0) {
553
- a = -a;
554
- t = xc;
555
- } else {
556
- ye = xe;
557
- t = yc;
558
- }
559
-
560
- t.reverse();
561
- for (b = a; b--;) t.push(0);
562
- t.reverse();
563
- } else {
564
-
565
- // Exponents equal. Check digit by digit.
566
- j = ((xlty = xc.length < yc.length) ? xc : yc).length;
567
-
568
- for (a = b = 0; b < j; b++) {
569
- if (xc[b] != yc[b]) {
570
- xlty = xc[b] < yc[b];
571
- break;
572
- }
573
- }
574
- }
575
-
576
- // x < y? Point xc to the array of the bigger number.
577
- if (xlty) {
578
- t = xc;
579
- xc = yc;
580
- yc = t;
581
- y.s = -y.s;
582
- }
583
-
584
- /*
585
- * Append zeros to xc if shorter. No need to add zeros to yc if shorter as subtraction only
586
- * needs to start at yc.length.
587
- */
588
- if ((b = (j = yc.length) - (i = xc.length)) > 0) for (; b--;) xc[i++] = 0;
589
-
590
- // Subtract yc from xc.
591
- for (b = i; j > a;) {
592
- if (xc[--j] < yc[j]) {
593
- for (i = j; i && !xc[--i];) xc[i] = 9;
594
- --xc[i];
595
- xc[j] += 10;
596
- }
597
-
598
- xc[j] -= yc[j];
599
- }
600
-
601
- // Remove trailing zeros.
602
- for (; xc[--b] === 0;) xc.pop();
603
-
604
- // Remove leading zeros and adjust exponent accordingly.
605
- for (; xc[0] === 0;) {
606
- xc.shift();
607
- --ye;
608
- }
609
-
610
- if (!xc[0]) {
611
-
612
- // n - n = +0
613
- y.s = 1;
614
-
615
- // Result must be zero.
616
- xc = [ye = 0];
617
- }
618
-
619
- y.c = xc;
620
- y.e = ye;
621
-
622
- return y;
623
- };
624
-
625
-
626
- /*
627
- * Return a new Big whose value is the value of this Big modulo the value of Big y.
628
- */
629
- P.mod = function (y) {
630
- var ygtx,
631
- x = this,
632
- Big = x.constructor,
633
- a = x.s,
634
- b = (y = new Big(y)).s;
635
-
636
- if (!y.c[0]) {
637
- throw Error(DIV_BY_ZERO);
638
- }
639
-
640
- x.s = y.s = 1;
641
- ygtx = y.cmp(x) == 1;
642
- x.s = a;
643
- y.s = b;
644
-
645
- if (ygtx) return new Big(x);
646
-
647
- a = Big.DP;
648
- b = Big.RM;
649
- Big.DP = Big.RM = 0;
650
- x = x.div(y);
651
- Big.DP = a;
652
- Big.RM = b;
653
-
654
- return this.minus(x.times(y));
655
- };
656
-
657
-
658
- /*
659
- * Return a new Big whose value is the value of this Big negated.
660
- */
661
- P.neg = function () {
662
- var x = new this.constructor(this);
663
- x.s = -x.s;
664
- return x;
665
- };
666
-
667
-
668
- /*
669
- * Return a new Big whose value is the value of this Big plus the value of Big y.
670
- */
671
- P.plus = P.add = function (y) {
672
- var e, k, t,
673
- x = this,
674
- Big = x.constructor;
675
-
676
- y = new Big(y);
677
-
678
- // Signs differ?
679
- if (x.s != y.s) {
680
- y.s = -y.s;
681
- return x.minus(y);
682
- }
683
-
684
- var xe = x.e,
685
- xc = x.c,
686
- ye = y.e,
687
- yc = y.c;
688
-
689
- // Either zero?
690
- if (!xc[0] || !yc[0]) {
691
- if (!yc[0]) {
692
- if (xc[0]) {
693
- y = new Big(x);
694
- } else {
695
- y.s = x.s;
696
- }
697
- }
698
- return y;
699
- }
700
-
701
- xc = xc.slice();
702
-
703
- // Prepend zeros to equalise exponents.
704
- // Note: reverse faster than unshifts.
705
- if (e = xe - ye) {
706
- if (e > 0) {
707
- ye = xe;
708
- t = yc;
709
- } else {
710
- e = -e;
711
- t = xc;
712
- }
713
-
714
- t.reverse();
715
- for (; e--;) t.push(0);
716
- t.reverse();
717
- }
718
-
719
- // Point xc to the longer array.
720
- if (xc.length - yc.length < 0) {
721
- t = yc;
722
- yc = xc;
723
- xc = t;
724
- }
725
-
726
- e = yc.length;
727
-
728
- // Only start adding at yc.length - 1 as the further digits of xc can be left as they are.
729
- for (k = 0; e; xc[e] %= 10) k = (xc[--e] = xc[e] + yc[e] + k) / 10 | 0;
730
-
731
- // No need to check for zero, as +x + +y != 0 && -x + -y != 0
732
-
733
- if (k) {
734
- xc.unshift(k);
735
- ++ye;
736
- }
737
-
738
- // Remove trailing zeros.
739
- for (e = xc.length; xc[--e] === 0;) xc.pop();
740
-
741
- y.c = xc;
742
- y.e = ye;
743
-
744
- return y;
745
- };
746
-
747
-
748
- /*
749
- * Return a Big whose value is the value of this Big raised to the power n.
750
- * If n is negative, round to a maximum of Big.DP decimal places using rounding
751
- * mode Big.RM.
752
- *
753
- * n {number} Integer, -MAX_POWER to MAX_POWER inclusive.
754
- */
755
- P.pow = function (n) {
756
- var x = this,
757
- one = new x.constructor('1'),
758
- y = one,
759
- isneg = n < 0;
760
-
761
- if (n !== ~~n || n < -1e6 || n > MAX_POWER) {
762
- throw Error(INVALID + 'exponent');
763
- }
764
-
765
- if (isneg) n = -n;
766
-
767
- for (;;) {
768
- if (n & 1) y = y.times(x);
769
- n >>= 1;
770
- if (!n) break;
771
- x = x.times(x);
772
- }
773
-
774
- return isneg ? one.div(y) : y;
775
- };
776
-
777
-
778
- /*
779
- * Return a new Big whose value is the value of this Big rounded to a maximum precision of sd
780
- * significant digits using rounding mode rm, or Big.RM if rm is not specified.
781
- *
782
- * sd {number} Significant digits: integer, 1 to MAX_DP inclusive.
783
- * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
784
- */
785
- P.prec = function (sd, rm) {
786
- if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {
787
- throw Error(INVALID + 'precision');
788
- }
789
- return round(new this.constructor(this), sd, rm);
790
- };
791
-
792
-
793
- /*
794
- * Return a new Big whose value is the value of this Big rounded to a maximum of dp decimal places
795
- * using rounding mode rm, or Big.RM if rm is not specified.
796
- * If dp is negative, round to an integer which is a multiple of 10**-dp.
797
- * If dp is not specified, round to 0 decimal places.
798
- *
799
- * dp? {number} Integer, -MAX_DP to MAX_DP inclusive.
800
- * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
801
- */
802
- P.round = function (dp, rm) {
803
- if (dp === UNDEFINED) dp = 0;
804
- else if (dp !== ~~dp || dp < -1e6 || dp > MAX_DP) {
805
- throw Error(INVALID_DP);
806
- }
807
- return round(new this.constructor(this), dp + this.e + 1, rm);
808
- };
809
-
810
-
811
- /*
812
- * Return a new Big whose value is the square root of the value of this Big, rounded, if
813
- * necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.
814
- */
815
- P.sqrt = function () {
816
- var r, c, t,
817
- x = this,
818
- Big = x.constructor,
819
- s = x.s,
820
- e = x.e,
821
- half = new Big('0.5');
822
-
823
- // Zero?
824
- if (!x.c[0]) return new Big(x);
825
-
826
- // Negative?
827
- if (s < 0) {
828
- throw Error(NAME + 'No square root');
829
- }
830
-
831
- // Estimate.
832
- s = Math.sqrt(x + '');
833
-
834
- // Math.sqrt underflow/overflow?
835
- // Re-estimate: pass x coefficient to Math.sqrt as integer, then adjust the result exponent.
836
- if (s === 0 || s === 1 / 0) {
837
- c = x.c.join('');
838
- if (!(c.length + e & 1)) c += '0';
839
- s = Math.sqrt(c);
840
- e = ((e + 1) / 2 | 0) - (e < 0 || e & 1);
841
- r = new Big((s == 1 / 0 ? '5e' : (s = s.toExponential()).slice(0, s.indexOf('e') + 1)) + e);
842
- } else {
843
- r = new Big(s + '');
844
- }
845
-
846
- e = r.e + (Big.DP += 4);
847
-
848
- // Newton-Raphson iteration.
849
- do {
850
- t = r;
851
- r = half.times(t.plus(x.div(t)));
852
- } while (t.c.slice(0, e).join('') !== r.c.slice(0, e).join(''));
853
-
854
- return round(r, (Big.DP -= 4) + r.e + 1, Big.RM);
855
- };
856
-
857
-
858
- /*
859
- * Return a new Big whose value is the value of this Big times the value of Big y.
860
- */
861
- P.times = P.mul = function (y) {
862
- var c,
863
- x = this,
864
- Big = x.constructor,
865
- xc = x.c,
866
- yc = (y = new Big(y)).c,
867
- a = xc.length,
868
- b = yc.length,
869
- i = x.e,
870
- j = y.e;
871
-
872
- // Determine sign of result.
873
- y.s = x.s == y.s ? 1 : -1;
874
-
875
- // Return signed 0 if either 0.
876
- if (!xc[0] || !yc[0]) {
877
- y.c = [y.e = 0];
878
- return y;
879
- }
880
-
881
- // Initialise exponent of result as x.e + y.e.
882
- y.e = i + j;
883
-
884
- // If array xc has fewer digits than yc, swap xc and yc, and lengths.
885
- if (a < b) {
886
- c = xc;
887
- xc = yc;
888
- yc = c;
889
- j = a;
890
- a = b;
891
- b = j;
892
- }
893
-
894
- // Initialise coefficient array of result with zeros.
895
- for (c = new Array(j = a + b); j--;) c[j] = 0;
896
-
897
- // Multiply.
898
-
899
- // i is initially xc.length.
900
- for (i = b; i--;) {
901
- b = 0;
902
-
903
- // a is yc.length.
904
- for (j = a + i; j > i;) {
905
-
906
- // Current sum of products at this digit position, plus carry.
907
- b = c[j] + yc[i] * xc[j - i - 1] + b;
908
- c[j--] = b % 10;
909
-
910
- // carry
911
- b = b / 10 | 0;
912
- }
913
-
914
- c[j] = b;
915
- }
916
-
917
- // Increment result exponent if there is a final carry, otherwise remove leading zero.
918
- if (b) ++y.e;
919
- else c.shift();
920
-
921
- // Remove trailing zeros.
922
- for (i = c.length; !c[--i];) c.pop();
923
- y.c = c;
924
-
925
- return y;
926
- };
927
-
928
-
929
- /*
930
- * Return a string representing the value of this Big in exponential notation rounded to dp fixed
931
- * decimal places using rounding mode rm, or Big.RM if rm is not specified.
932
- *
933
- * dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.
934
- * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
935
- */
936
- P.toExponential = function (dp, rm) {
937
- var x = this,
938
- n = x.c[0];
939
-
940
- if (dp !== UNDEFINED) {
941
- if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
942
- throw Error(INVALID_DP);
943
- }
944
- x = round(new x.constructor(x), ++dp, rm);
945
- for (; x.c.length < dp;) x.c.push(0);
946
- }
947
-
948
- return stringify(x, true, !!n);
949
- };
950
-
951
-
952
- /*
953
- * Return a string representing the value of this Big in normal notation rounded to dp fixed
954
- * decimal places using rounding mode rm, or Big.RM if rm is not specified.
955
- *
956
- * dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.
957
- * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
958
- *
959
- * (-0).toFixed(0) is '0', but (-0.1).toFixed(0) is '-0'.
960
- * (-0).toFixed(1) is '0.0', but (-0.01).toFixed(1) is '-0.0'.
961
- */
962
- P.toFixed = function (dp, rm) {
963
- var x = this,
964
- n = x.c[0];
965
-
966
- if (dp !== UNDEFINED) {
967
- if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
968
- throw Error(INVALID_DP);
969
- }
970
- x = round(new x.constructor(x), dp + x.e + 1, rm);
971
-
972
- // x.e may have changed if the value is rounded up.
973
- for (dp = dp + x.e + 1; x.c.length < dp;) x.c.push(0);
974
- }
975
-
976
- return stringify(x, false, !!n);
977
- };
978
-
979
-
980
- /*
981
- * Return a string representing the value of this Big.
982
- * Return exponential notation if this Big has a positive exponent equal to or greater than
983
- * Big.PE, or a negative exponent equal to or less than Big.NE.
984
- * Omit the sign for negative zero.
985
- */
986
- P.toJSON = P.toString = function () {
987
- var x = this,
988
- Big = x.constructor;
989
- return stringify(x, x.e <= Big.NE || x.e >= Big.PE, !!x.c[0]);
990
- };
991
-
992
-
993
- /*
994
- * Return the value of this Big as a primitve number.
995
- */
996
- P.toNumber = function () {
997
- var n = Number(stringify(this, true, true));
998
- if (this.constructor.strict === true && !this.eq(n.toString())) {
999
- throw Error(NAME + 'Imprecise conversion');
1000
- }
1001
- return n;
1002
- };
1003
-
1004
-
1005
- /*
1006
- * Return a string representing the value of this Big rounded to sd significant digits using
1007
- * rounding mode rm, or Big.RM if rm is not specified.
1008
- * Use exponential notation if sd is less than the number of digits necessary to represent
1009
- * the integer part of the value in normal notation.
1010
- *
1011
- * sd {number} Significant digits: integer, 1 to MAX_DP inclusive.
1012
- * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
1013
- */
1014
- P.toPrecision = function (sd, rm) {
1015
- var x = this,
1016
- Big = x.constructor,
1017
- n = x.c[0];
1018
-
1019
- if (sd !== UNDEFINED) {
1020
- if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {
1021
- throw Error(INVALID + 'precision');
1022
- }
1023
- x = round(new Big(x), sd, rm);
1024
- for (; x.c.length < sd;) x.c.push(0);
1025
- }
1026
-
1027
- return stringify(x, sd <= x.e || x.e <= Big.NE || x.e >= Big.PE, !!n);
1028
- };
1029
-
1030
-
1031
- /*
1032
- * Return a string representing the value of this Big.
1033
- * Return exponential notation if this Big has a positive exponent equal to or greater than
1034
- * Big.PE, or a negative exponent equal to or less than Big.NE.
1035
- * Include the sign for negative zero.
1036
- */
1037
- P.valueOf = function () {
1038
- var x = this,
1039
- Big = x.constructor;
1040
- if (Big.strict === true) {
1041
- throw Error(NAME + 'valueOf disallowed');
1042
- }
1043
- return stringify(x, x.e <= Big.NE || x.e >= Big.PE, true);
1044
- };
1045
-
1046
-
1047
- // Export
1048
-
1049
-
1050
- Big = _Big_();
1051
-
1052
- Big['default'] = Big.Big = Big;
1053
-
1054
- //AMD.
1055
- if (module.exports) {
1056
- module.exports = Big;
1057
-
1058
- //Browser.
1059
- } else {
1060
- GLOBAL.Big = Big;
1061
- }
1062
- })(big);
1063
- } (big$1));
1064
- return big$1.exports;
1065
- }
1066
-
1067
- var bigExports = requireBig();
1068
- var Big = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(bigExports);
24
+ */
25
+
26
+
27
+ /************************************** EDITABLE DEFAULTS *****************************************/
28
+
29
+
30
+ // The default values below must be integers within the stated ranges.
31
+
32
+ /*
33
+ * The maximum number of decimal places (DP) of the results of operations involving division:
34
+ * div and sqrt, and pow with negative exponents.
35
+ */
36
+ var DP = 20, // 0 to MAX_DP
37
+
38
+ /*
39
+ * The rounding mode (RM) used when rounding to the above decimal places.
40
+ *
41
+ * 0 Towards zero (i.e. truncate, no rounding). (ROUND_DOWN)
42
+ * 1 To nearest neighbour. If equidistant, round up. (ROUND_HALF_UP)
43
+ * 2 To nearest neighbour. If equidistant, to even. (ROUND_HALF_EVEN)
44
+ * 3 Away from zero. (ROUND_UP)
45
+ */
46
+ RM = 1, // 0, 1, 2 or 3
47
+
48
+ // The maximum value of DP and Big.DP.
49
+ MAX_DP = 1E6, // 0 to 1000000
50
+
51
+ // The maximum magnitude of the exponent argument to the pow method.
52
+ MAX_POWER = 1E6, // 1 to 1000000
53
+
54
+ /*
55
+ * The negative exponent (NE) at and beneath which toString returns exponential notation.
56
+ * (JavaScript numbers: -7)
57
+ * -1000000 is the minimum recommended exponent value of a Big.
58
+ */
59
+ NE = -7, // 0 to -1000000
60
+
61
+ /*
62
+ * The positive exponent (PE) at and above which toString returns exponential notation.
63
+ * (JavaScript numbers: 21)
64
+ * 1000000 is the maximum recommended exponent value of a Big, but this limit is not enforced.
65
+ */
66
+ PE = 21, // 0 to 1000000
67
+
68
+ /*
69
+ * When true, an error will be thrown if a primitive number is passed to the Big constructor,
70
+ * or if valueOf is called, or if toNumber is called on a Big which cannot be converted to a
71
+ * primitive number without a loss of precision.
72
+ */
73
+ STRICT = false, // true or false
74
+
75
+
76
+ /**************************************************************************************************/
77
+
78
+
79
+ // Error messages.
80
+ NAME = '[big.js] ',
81
+ INVALID = NAME + 'Invalid ',
82
+ INVALID_DP = INVALID + 'decimal places',
83
+ INVALID_RM = INVALID + 'rounding mode',
84
+ DIV_BY_ZERO = NAME + 'Division by zero',
85
+
86
+ // The shared prototype object.
87
+ P = {},
88
+ UNDEFINED = void 0,
89
+ NUMERIC = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;
90
+
91
+
92
+ /*
93
+ * Create and return a Big constructor.
94
+ */
95
+ function _Big_() {
96
+
97
+ /*
98
+ * The Big constructor and exported function.
99
+ * Create and return a new instance of a Big number object.
100
+ *
101
+ * n {number|string|Big} A numeric value.
102
+ */
103
+ function Big(n) {
104
+ var x = this;
105
+
106
+ // Enable constructor usage without new.
107
+ if (!(x instanceof Big)) return n === UNDEFINED ? _Big_() : new Big(n);
108
+
109
+ // Duplicate.
110
+ if (n instanceof Big) {
111
+ x.s = n.s;
112
+ x.e = n.e;
113
+ x.c = n.c.slice();
114
+ } else {
115
+ if (typeof n !== 'string') {
116
+ if (Big.strict === true && typeof n !== 'bigint') {
117
+ throw TypeError(INVALID + 'value');
118
+ }
119
+
120
+ // Minus zero?
121
+ n = n === 0 && 1 / n < 0 ? '-0' : String(n);
122
+ }
123
+
124
+ parse(x, n);
125
+ }
126
+
127
+ // Retain a reference to this Big constructor.
128
+ // Shadow Big.prototype.constructor which points to Object.
129
+ x.constructor = Big;
130
+ }
131
+
132
+ Big.prototype = P;
133
+ Big.DP = DP;
134
+ Big.RM = RM;
135
+ Big.NE = NE;
136
+ Big.PE = PE;
137
+ Big.strict = STRICT;
138
+ Big.roundDown = 0;
139
+ Big.roundHalfUp = 1;
140
+ Big.roundHalfEven = 2;
141
+ Big.roundUp = 3;
142
+
143
+ return Big;
144
+ }
145
+
146
+
147
+ /*
148
+ * Parse the number or string value passed to a Big constructor.
149
+ *
150
+ * x {Big} A Big number instance.
151
+ * n {number|string} A numeric value.
152
+ */
153
+ function parse(x, n) {
154
+ var e, i, nl;
155
+
156
+ if (!NUMERIC.test(n)) {
157
+ throw Error(INVALID + 'number');
158
+ }
159
+
160
+ // Determine sign.
161
+ x.s = n.charAt(0) == '-' ? (n = n.slice(1), -1) : 1;
162
+
163
+ // Decimal point?
164
+ if ((e = n.indexOf('.')) > -1) n = n.replace('.', '');
165
+
166
+ // Exponential form?
167
+ if ((i = n.search(/e/i)) > 0) {
168
+
169
+ // Determine exponent.
170
+ if (e < 0) e = i;
171
+ e += +n.slice(i + 1);
172
+ n = n.substring(0, i);
173
+ } else if (e < 0) {
174
+
175
+ // Integer.
176
+ e = n.length;
177
+ }
178
+
179
+ nl = n.length;
180
+
181
+ // Determine leading zeros.
182
+ for (i = 0; i < nl && n.charAt(i) == '0';) ++i;
183
+
184
+ if (i == nl) {
185
+
186
+ // Zero.
187
+ x.c = [x.e = 0];
188
+ } else {
189
+
190
+ // Determine trailing zeros.
191
+ for (; nl > 0 && n.charAt(--nl) == '0';);
192
+ x.e = e - i - 1;
193
+ x.c = [];
194
+
195
+ // Convert string to array of digits without leading/trailing zeros.
196
+ for (e = 0; i <= nl;) x.c[e++] = +n.charAt(i++);
197
+ }
198
+
199
+ return x;
200
+ }
201
+
202
+
203
+ /*
204
+ * Round Big x to a maximum of sd significant digits using rounding mode rm.
205
+ *
206
+ * x {Big} The Big to round.
207
+ * sd {number} Significant digits: integer, 0 to MAX_DP inclusive.
208
+ * rm {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
209
+ * [more] {boolean} Whether the result of division was truncated.
210
+ */
211
+ function round(x, sd, rm, more) {
212
+ var xc = x.c;
213
+
214
+ if (rm === UNDEFINED) rm = x.constructor.RM;
215
+ if (rm !== 0 && rm !== 1 && rm !== 2 && rm !== 3) {
216
+ throw Error(INVALID_RM);
217
+ }
218
+
219
+ if (sd < 1) {
220
+ more =
221
+ rm === 3 && (more || !!xc[0]) || sd === 0 && (
222
+ rm === 1 && xc[0] >= 5 ||
223
+ rm === 2 && (xc[0] > 5 || xc[0] === 5 && (more || xc[1] !== UNDEFINED))
224
+ );
225
+
226
+ xc.length = 1;
227
+
228
+ if (more) {
229
+
230
+ // 1, 0.1, 0.01, 0.001, 0.0001 etc.
231
+ x.e = x.e - sd + 1;
232
+ xc[0] = 1;
233
+ } else {
234
+
235
+ // Zero.
236
+ xc[0] = x.e = 0;
237
+ }
238
+ } else if (sd < xc.length) {
239
+
240
+ // xc[sd] is the digit after the digit that may be rounded up.
241
+ more =
242
+ rm === 1 && xc[sd] >= 5 ||
243
+ rm === 2 && (xc[sd] > 5 || xc[sd] === 5 &&
244
+ (more || xc[sd + 1] !== UNDEFINED || xc[sd - 1] & 1)) ||
245
+ rm === 3 && (more || !!xc[0]);
246
+
247
+ // Remove any digits after the required precision.
248
+ xc.length = sd;
249
+
250
+ // Round up?
251
+ if (more) {
252
+
253
+ // Rounding up may mean the previous digit has to be rounded up.
254
+ for (; ++xc[--sd] > 9;) {
255
+ xc[sd] = 0;
256
+ if (sd === 0) {
257
+ ++x.e;
258
+ xc.unshift(1);
259
+ break;
260
+ }
261
+ }
262
+ }
263
+
264
+ // Remove trailing zeros.
265
+ for (sd = xc.length; !xc[--sd];) xc.pop();
266
+ }
267
+
268
+ return x;
269
+ }
270
+
271
+
272
+ /*
273
+ * Return a string representing the value of Big x in normal or exponential notation.
274
+ * Handles P.toExponential, P.toFixed, P.toJSON, P.toPrecision, P.toString and P.valueOf.
275
+ */
276
+ function stringify(x, doExponential, isNonzero) {
277
+ var e = x.e,
278
+ s = x.c.join(''),
279
+ n = s.length;
280
+
281
+ // Exponential notation?
282
+ if (doExponential) {
283
+ s = s.charAt(0) + (n > 1 ? '.' + s.slice(1) : '') + (e < 0 ? 'e' : 'e+') + e;
284
+
285
+ // Normal notation.
286
+ } else if (e < 0) {
287
+ for (; ++e;) s = '0' + s;
288
+ s = '0.' + s;
289
+ } else if (e > 0) {
290
+ if (++e > n) {
291
+ for (e -= n; e--;) s += '0';
292
+ } else if (e < n) {
293
+ s = s.slice(0, e) + '.' + s.slice(e);
294
+ }
295
+ } else if (n > 1) {
296
+ s = s.charAt(0) + '.' + s.slice(1);
297
+ }
298
+
299
+ return x.s < 0 && isNonzero ? '-' + s : s;
300
+ }
301
+
302
+
303
+ // Prototype/instance methods
304
+
305
+
306
+ /*
307
+ * Return a new Big whose value is the absolute value of this Big.
308
+ */
309
+ P.abs = function () {
310
+ var x = new this.constructor(this);
311
+ x.s = 1;
312
+ return x;
313
+ };
314
+
315
+
316
+ /*
317
+ * Return 1 if the value of this Big is greater than the value of Big y,
318
+ * -1 if the value of this Big is less than the value of Big y, or
319
+ * 0 if they have the same value.
320
+ */
321
+ P.cmp = function (y) {
322
+ var isneg,
323
+ x = this,
324
+ xc = x.c,
325
+ yc = (y = new x.constructor(y)).c,
326
+ i = x.s,
327
+ j = y.s,
328
+ k = x.e,
329
+ l = y.e;
330
+
331
+ // Either zero?
332
+ if (!xc[0] || !yc[0]) return !xc[0] ? !yc[0] ? 0 : -j : i;
333
+
334
+ // Signs differ?
335
+ if (i != j) return i;
336
+
337
+ isneg = i < 0;
338
+
339
+ // Compare exponents.
340
+ if (k != l) return k > l ^ isneg ? 1 : -1;
341
+
342
+ j = (k = xc.length) < (l = yc.length) ? k : l;
343
+
344
+ // Compare digit by digit.
345
+ for (i = -1; ++i < j;) {
346
+ if (xc[i] != yc[i]) return xc[i] > yc[i] ^ isneg ? 1 : -1;
347
+ }
348
+
349
+ // Compare lengths.
350
+ return k == l ? 0 : k > l ^ isneg ? 1 : -1;
351
+ };
352
+
353
+
354
+ /*
355
+ * Return a new Big whose value is the value of this Big divided by the value of Big y, rounded,
356
+ * if necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.
357
+ */
358
+ P.div = function (y) {
359
+ var x = this,
360
+ Big = x.constructor,
361
+ a = x.c, // dividend
362
+ b = (y = new Big(y)).c, // divisor
363
+ k = x.s == y.s ? 1 : -1,
364
+ dp = Big.DP;
365
+
366
+ if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
367
+ throw Error(INVALID_DP);
368
+ }
369
+
370
+ // Divisor is zero?
371
+ if (!b[0]) {
372
+ throw Error(DIV_BY_ZERO);
373
+ }
374
+
375
+ // Dividend is 0? Return +-0.
376
+ if (!a[0]) {
377
+ y.s = k;
378
+ y.c = [y.e = 0];
379
+ return y;
380
+ }
381
+
382
+ var bl, bt, n, cmp, ri,
383
+ bz = b.slice(),
384
+ ai = bl = b.length,
385
+ al = a.length,
386
+ r = a.slice(0, bl), // remainder
387
+ rl = r.length,
388
+ q = y, // quotient
389
+ qc = q.c = [],
390
+ qi = 0,
391
+ p = dp + (q.e = x.e - y.e) + 1; // precision of the result
392
+
393
+ q.s = k;
394
+ k = p < 0 ? 0 : p;
395
+
396
+ // Create version of divisor with leading zero.
397
+ bz.unshift(0);
398
+
399
+ // Add zeros to make remainder as long as divisor.
400
+ for (; rl++ < bl;) r.push(0);
401
+
402
+ do {
403
+
404
+ // n is how many times the divisor goes into current remainder.
405
+ for (n = 0; n < 10; n++) {
406
+
407
+ // Compare divisor and remainder.
408
+ if (bl != (rl = r.length)) {
409
+ cmp = bl > rl ? 1 : -1;
410
+ } else {
411
+ for (ri = -1, cmp = 0; ++ri < bl;) {
412
+ if (b[ri] != r[ri]) {
413
+ cmp = b[ri] > r[ri] ? 1 : -1;
414
+ break;
415
+ }
416
+ }
417
+ }
418
+
419
+ // If divisor < remainder, subtract divisor from remainder.
420
+ if (cmp < 0) {
421
+
422
+ // Remainder can't be more than 1 digit longer than divisor.
423
+ // Equalise lengths using divisor with extra leading zero?
424
+ for (bt = rl == bl ? b : bz; rl;) {
425
+ if (r[--rl] < bt[rl]) {
426
+ ri = rl;
427
+ for (; ri && !r[--ri];) r[ri] = 9;
428
+ --r[ri];
429
+ r[rl] += 10;
430
+ }
431
+ r[rl] -= bt[rl];
432
+ }
433
+
434
+ for (; !r[0];) r.shift();
435
+ } else {
436
+ break;
437
+ }
438
+ }
439
+
440
+ // Add the digit n to the result array.
441
+ qc[qi++] = cmp ? n : ++n;
442
+
443
+ // Update the remainder.
444
+ if (r[0] && cmp) r[rl] = a[ai] || 0;
445
+ else r = [a[ai]];
446
+
447
+ } while ((ai++ < al || r[0] !== UNDEFINED) && k--);
448
+
449
+ // Leading zero? Do not remove if result is simply zero (qi == 1).
450
+ if (!qc[0] && qi != 1) {
451
+
452
+ // There can't be more than one zero.
453
+ qc.shift();
454
+ q.e--;
455
+ p--;
456
+ }
457
+
458
+ // Round?
459
+ if (qi > p) round(q, p, Big.RM, r[0] !== UNDEFINED);
460
+
461
+ return q;
462
+ };
463
+
464
+
465
+ /*
466
+ * Return true if the value of this Big is equal to the value of Big y, otherwise return false.
467
+ */
468
+ P.eq = function (y) {
469
+ return this.cmp(y) === 0;
470
+ };
471
+
472
+
473
+ /*
474
+ * Return true if the value of this Big is greater than the value of Big y, otherwise return
475
+ * false.
476
+ */
477
+ P.gt = function (y) {
478
+ return this.cmp(y) > 0;
479
+ };
480
+
481
+
482
+ /*
483
+ * Return true if the value of this Big is greater than or equal to the value of Big y, otherwise
484
+ * return false.
485
+ */
486
+ P.gte = function (y) {
487
+ return this.cmp(y) > -1;
488
+ };
489
+
490
+
491
+ /*
492
+ * Return true if the value of this Big is less than the value of Big y, otherwise return false.
493
+ */
494
+ P.lt = function (y) {
495
+ return this.cmp(y) < 0;
496
+ };
497
+
498
+
499
+ /*
500
+ * Return true if the value of this Big is less than or equal to the value of Big y, otherwise
501
+ * return false.
502
+ */
503
+ P.lte = function (y) {
504
+ return this.cmp(y) < 1;
505
+ };
506
+
507
+
508
+ /*
509
+ * Return a new Big whose value is the value of this Big minus the value of Big y.
510
+ */
511
+ P.minus = P.sub = function (y) {
512
+ var i, j, t, xlty,
513
+ x = this,
514
+ Big = x.constructor,
515
+ a = x.s,
516
+ b = (y = new Big(y)).s;
517
+
518
+ // Signs differ?
519
+ if (a != b) {
520
+ y.s = -b;
521
+ return x.plus(y);
522
+ }
523
+
524
+ var xc = x.c.slice(),
525
+ xe = x.e,
526
+ yc = y.c,
527
+ ye = y.e;
528
+
529
+ // Either zero?
530
+ if (!xc[0] || !yc[0]) {
531
+ if (yc[0]) {
532
+ y.s = -b;
533
+ } else if (xc[0]) {
534
+ y = new Big(x);
535
+ } else {
536
+ y.s = 1;
537
+ }
538
+ return y;
539
+ }
540
+
541
+ // Determine which is the bigger number. Prepend zeros to equalise exponents.
542
+ if (a = xe - ye) {
543
+
544
+ if (xlty = a < 0) {
545
+ a = -a;
546
+ t = xc;
547
+ } else {
548
+ ye = xe;
549
+ t = yc;
550
+ }
551
+
552
+ t.reverse();
553
+ for (b = a; b--;) t.push(0);
554
+ t.reverse();
555
+ } else {
556
+
557
+ // Exponents equal. Check digit by digit.
558
+ j = ((xlty = xc.length < yc.length) ? xc : yc).length;
559
+
560
+ for (a = b = 0; b < j; b++) {
561
+ if (xc[b] != yc[b]) {
562
+ xlty = xc[b] < yc[b];
563
+ break;
564
+ }
565
+ }
566
+ }
567
+
568
+ // x < y? Point xc to the array of the bigger number.
569
+ if (xlty) {
570
+ t = xc;
571
+ xc = yc;
572
+ yc = t;
573
+ y.s = -y.s;
574
+ }
575
+
576
+ /*
577
+ * Append zeros to xc if shorter. No need to add zeros to yc if shorter as subtraction only
578
+ * needs to start at yc.length.
579
+ */
580
+ if ((b = (j = yc.length) - (i = xc.length)) > 0) for (; b--;) xc[i++] = 0;
581
+
582
+ // Subtract yc from xc.
583
+ for (b = i; j > a;) {
584
+ if (xc[--j] < yc[j]) {
585
+ for (i = j; i && !xc[--i];) xc[i] = 9;
586
+ --xc[i];
587
+ xc[j] += 10;
588
+ }
589
+
590
+ xc[j] -= yc[j];
591
+ }
592
+
593
+ // Remove trailing zeros.
594
+ for (; xc[--b] === 0;) xc.pop();
595
+
596
+ // Remove leading zeros and adjust exponent accordingly.
597
+ for (; xc[0] === 0;) {
598
+ xc.shift();
599
+ --ye;
600
+ }
601
+
602
+ if (!xc[0]) {
603
+
604
+ // n - n = +0
605
+ y.s = 1;
606
+
607
+ // Result must be zero.
608
+ xc = [ye = 0];
609
+ }
610
+
611
+ y.c = xc;
612
+ y.e = ye;
613
+
614
+ return y;
615
+ };
616
+
617
+
618
+ /*
619
+ * Return a new Big whose value is the value of this Big modulo the value of Big y.
620
+ */
621
+ P.mod = function (y) {
622
+ var ygtx,
623
+ x = this,
624
+ Big = x.constructor,
625
+ a = x.s,
626
+ b = (y = new Big(y)).s;
627
+
628
+ if (!y.c[0]) {
629
+ throw Error(DIV_BY_ZERO);
630
+ }
631
+
632
+ x.s = y.s = 1;
633
+ ygtx = y.cmp(x) == 1;
634
+ x.s = a;
635
+ y.s = b;
636
+
637
+ if (ygtx) return new Big(x);
638
+
639
+ a = Big.DP;
640
+ b = Big.RM;
641
+ Big.DP = Big.RM = 0;
642
+ x = x.div(y);
643
+ Big.DP = a;
644
+ Big.RM = b;
645
+
646
+ return this.minus(x.times(y));
647
+ };
648
+
649
+
650
+ /*
651
+ * Return a new Big whose value is the value of this Big negated.
652
+ */
653
+ P.neg = function () {
654
+ var x = new this.constructor(this);
655
+ x.s = -x.s;
656
+ return x;
657
+ };
658
+
659
+
660
+ /*
661
+ * Return a new Big whose value is the value of this Big plus the value of Big y.
662
+ */
663
+ P.plus = P.add = function (y) {
664
+ var e, k, t,
665
+ x = this,
666
+ Big = x.constructor;
667
+
668
+ y = new Big(y);
669
+
670
+ // Signs differ?
671
+ if (x.s != y.s) {
672
+ y.s = -y.s;
673
+ return x.minus(y);
674
+ }
675
+
676
+ var xe = x.e,
677
+ xc = x.c,
678
+ ye = y.e,
679
+ yc = y.c;
680
+
681
+ // Either zero?
682
+ if (!xc[0] || !yc[0]) {
683
+ if (!yc[0]) {
684
+ if (xc[0]) {
685
+ y = new Big(x);
686
+ } else {
687
+ y.s = x.s;
688
+ }
689
+ }
690
+ return y;
691
+ }
692
+
693
+ xc = xc.slice();
694
+
695
+ // Prepend zeros to equalise exponents.
696
+ // Note: reverse faster than unshifts.
697
+ if (e = xe - ye) {
698
+ if (e > 0) {
699
+ ye = xe;
700
+ t = yc;
701
+ } else {
702
+ e = -e;
703
+ t = xc;
704
+ }
705
+
706
+ t.reverse();
707
+ for (; e--;) t.push(0);
708
+ t.reverse();
709
+ }
710
+
711
+ // Point xc to the longer array.
712
+ if (xc.length - yc.length < 0) {
713
+ t = yc;
714
+ yc = xc;
715
+ xc = t;
716
+ }
717
+
718
+ e = yc.length;
719
+
720
+ // Only start adding at yc.length - 1 as the further digits of xc can be left as they are.
721
+ for (k = 0; e; xc[e] %= 10) k = (xc[--e] = xc[e] + yc[e] + k) / 10 | 0;
722
+
723
+ // No need to check for zero, as +x + +y != 0 && -x + -y != 0
724
+
725
+ if (k) {
726
+ xc.unshift(k);
727
+ ++ye;
728
+ }
729
+
730
+ // Remove trailing zeros.
731
+ for (e = xc.length; xc[--e] === 0;) xc.pop();
732
+
733
+ y.c = xc;
734
+ y.e = ye;
735
+
736
+ return y;
737
+ };
738
+
739
+
740
+ /*
741
+ * Return a Big whose value is the value of this Big raised to the power n.
742
+ * If n is negative, round to a maximum of Big.DP decimal places using rounding
743
+ * mode Big.RM.
744
+ *
745
+ * n {number} Integer, -MAX_POWER to MAX_POWER inclusive.
746
+ */
747
+ P.pow = function (n) {
748
+ var x = this,
749
+ one = new x.constructor('1'),
750
+ y = one,
751
+ isneg = n < 0;
752
+
753
+ if (n !== ~~n || n < -1e6 || n > MAX_POWER) {
754
+ throw Error(INVALID + 'exponent');
755
+ }
756
+
757
+ if (isneg) n = -n;
758
+
759
+ for (;;) {
760
+ if (n & 1) y = y.times(x);
761
+ n >>= 1;
762
+ if (!n) break;
763
+ x = x.times(x);
764
+ }
765
+
766
+ return isneg ? one.div(y) : y;
767
+ };
768
+
769
+
770
+ /*
771
+ * Return a new Big whose value is the value of this Big rounded to a maximum precision of sd
772
+ * significant digits using rounding mode rm, or Big.RM if rm is not specified.
773
+ *
774
+ * sd {number} Significant digits: integer, 1 to MAX_DP inclusive.
775
+ * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
776
+ */
777
+ P.prec = function (sd, rm) {
778
+ if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {
779
+ throw Error(INVALID + 'precision');
780
+ }
781
+ return round(new this.constructor(this), sd, rm);
782
+ };
783
+
784
+
785
+ /*
786
+ * Return a new Big whose value is the value of this Big rounded to a maximum of dp decimal places
787
+ * using rounding mode rm, or Big.RM if rm is not specified.
788
+ * If dp is negative, round to an integer which is a multiple of 10**-dp.
789
+ * If dp is not specified, round to 0 decimal places.
790
+ *
791
+ * dp? {number} Integer, -MAX_DP to MAX_DP inclusive.
792
+ * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
793
+ */
794
+ P.round = function (dp, rm) {
795
+ if (dp === UNDEFINED) dp = 0;
796
+ else if (dp !== ~~dp || dp < -1e6 || dp > MAX_DP) {
797
+ throw Error(INVALID_DP);
798
+ }
799
+ return round(new this.constructor(this), dp + this.e + 1, rm);
800
+ };
801
+
802
+
803
+ /*
804
+ * Return a new Big whose value is the square root of the value of this Big, rounded, if
805
+ * necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.
806
+ */
807
+ P.sqrt = function () {
808
+ var r, c, t,
809
+ x = this,
810
+ Big = x.constructor,
811
+ s = x.s,
812
+ e = x.e,
813
+ half = new Big('0.5');
814
+
815
+ // Zero?
816
+ if (!x.c[0]) return new Big(x);
817
+
818
+ // Negative?
819
+ if (s < 0) {
820
+ throw Error(NAME + 'No square root');
821
+ }
822
+
823
+ // Estimate.
824
+ s = Math.sqrt(x + '');
825
+
826
+ // Math.sqrt underflow/overflow?
827
+ // Re-estimate: pass x coefficient to Math.sqrt as integer, then adjust the result exponent.
828
+ if (s === 0 || s === 1 / 0) {
829
+ c = x.c.join('');
830
+ if (!(c.length + e & 1)) c += '0';
831
+ s = Math.sqrt(c);
832
+ e = ((e + 1) / 2 | 0) - (e < 0 || e & 1);
833
+ r = new Big((s == 1 / 0 ? '5e' : (s = s.toExponential()).slice(0, s.indexOf('e') + 1)) + e);
834
+ } else {
835
+ r = new Big(s + '');
836
+ }
837
+
838
+ e = r.e + (Big.DP += 4);
839
+
840
+ // Newton-Raphson iteration.
841
+ do {
842
+ t = r;
843
+ r = half.times(t.plus(x.div(t)));
844
+ } while (t.c.slice(0, e).join('') !== r.c.slice(0, e).join(''));
845
+
846
+ return round(r, (Big.DP -= 4) + r.e + 1, Big.RM);
847
+ };
848
+
849
+
850
+ /*
851
+ * Return a new Big whose value is the value of this Big times the value of Big y.
852
+ */
853
+ P.times = P.mul = function (y) {
854
+ var c,
855
+ x = this,
856
+ Big = x.constructor,
857
+ xc = x.c,
858
+ yc = (y = new Big(y)).c,
859
+ a = xc.length,
860
+ b = yc.length,
861
+ i = x.e,
862
+ j = y.e;
863
+
864
+ // Determine sign of result.
865
+ y.s = x.s == y.s ? 1 : -1;
866
+
867
+ // Return signed 0 if either 0.
868
+ if (!xc[0] || !yc[0]) {
869
+ y.c = [y.e = 0];
870
+ return y;
871
+ }
872
+
873
+ // Initialise exponent of result as x.e + y.e.
874
+ y.e = i + j;
875
+
876
+ // If array xc has fewer digits than yc, swap xc and yc, and lengths.
877
+ if (a < b) {
878
+ c = xc;
879
+ xc = yc;
880
+ yc = c;
881
+ j = a;
882
+ a = b;
883
+ b = j;
884
+ }
885
+
886
+ // Initialise coefficient array of result with zeros.
887
+ for (c = new Array(j = a + b); j--;) c[j] = 0;
888
+
889
+ // Multiply.
890
+
891
+ // i is initially xc.length.
892
+ for (i = b; i--;) {
893
+ b = 0;
894
+
895
+ // a is yc.length.
896
+ for (j = a + i; j > i;) {
897
+
898
+ // Current sum of products at this digit position, plus carry.
899
+ b = c[j] + yc[i] * xc[j - i - 1] + b;
900
+ c[j--] = b % 10;
901
+
902
+ // carry
903
+ b = b / 10 | 0;
904
+ }
905
+
906
+ c[j] = b;
907
+ }
908
+
909
+ // Increment result exponent if there is a final carry, otherwise remove leading zero.
910
+ if (b) ++y.e;
911
+ else c.shift();
912
+
913
+ // Remove trailing zeros.
914
+ for (i = c.length; !c[--i];) c.pop();
915
+ y.c = c;
916
+
917
+ return y;
918
+ };
919
+
920
+
921
+ /*
922
+ * Return a string representing the value of this Big in exponential notation rounded to dp fixed
923
+ * decimal places using rounding mode rm, or Big.RM if rm is not specified.
924
+ *
925
+ * dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.
926
+ * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
927
+ */
928
+ P.toExponential = function (dp, rm) {
929
+ var x = this,
930
+ n = x.c[0];
931
+
932
+ if (dp !== UNDEFINED) {
933
+ if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
934
+ throw Error(INVALID_DP);
935
+ }
936
+ x = round(new x.constructor(x), ++dp, rm);
937
+ for (; x.c.length < dp;) x.c.push(0);
938
+ }
939
+
940
+ return stringify(x, true, !!n);
941
+ };
942
+
943
+
944
+ /*
945
+ * Return a string representing the value of this Big in normal notation rounded to dp fixed
946
+ * decimal places using rounding mode rm, or Big.RM if rm is not specified.
947
+ *
948
+ * dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.
949
+ * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
950
+ *
951
+ * (-0).toFixed(0) is '0', but (-0.1).toFixed(0) is '-0'.
952
+ * (-0).toFixed(1) is '0.0', but (-0.01).toFixed(1) is '-0.0'.
953
+ */
954
+ P.toFixed = function (dp, rm) {
955
+ var x = this,
956
+ n = x.c[0];
957
+
958
+ if (dp !== UNDEFINED) {
959
+ if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
960
+ throw Error(INVALID_DP);
961
+ }
962
+ x = round(new x.constructor(x), dp + x.e + 1, rm);
963
+
964
+ // x.e may have changed if the value is rounded up.
965
+ for (dp = dp + x.e + 1; x.c.length < dp;) x.c.push(0);
966
+ }
967
+
968
+ return stringify(x, false, !!n);
969
+ };
970
+
971
+
972
+ /*
973
+ * Return a string representing the value of this Big.
974
+ * Return exponential notation if this Big has a positive exponent equal to or greater than
975
+ * Big.PE, or a negative exponent equal to or less than Big.NE.
976
+ * Omit the sign for negative zero.
977
+ */
978
+ P[Symbol.for('nodejs.util.inspect.custom')] = P.toJSON = P.toString = function () {
979
+ var x = this,
980
+ Big = x.constructor;
981
+ return stringify(x, x.e <= Big.NE || x.e >= Big.PE, !!x.c[0]);
982
+ };
983
+
984
+
985
+ /*
986
+ * Return the value of this Big as a primitve number.
987
+ */
988
+ P.toNumber = function () {
989
+ var n = Number(stringify(this, true, true));
990
+ if (this.constructor.strict === true && !this.eq(n.toString())) {
991
+ throw Error(NAME + 'Imprecise conversion');
992
+ }
993
+ return n;
994
+ };
995
+
996
+
997
+ /*
998
+ * Return a string representing the value of this Big rounded to sd significant digits using
999
+ * rounding mode rm, or Big.RM if rm is not specified.
1000
+ * Use exponential notation if sd is less than the number of digits necessary to represent
1001
+ * the integer part of the value in normal notation.
1002
+ *
1003
+ * sd {number} Significant digits: integer, 1 to MAX_DP inclusive.
1004
+ * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
1005
+ */
1006
+ P.toPrecision = function (sd, rm) {
1007
+ var x = this,
1008
+ Big = x.constructor,
1009
+ n = x.c[0];
1010
+
1011
+ if (sd !== UNDEFINED) {
1012
+ if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {
1013
+ throw Error(INVALID + 'precision');
1014
+ }
1015
+ x = round(new Big(x), sd, rm);
1016
+ for (; x.c.length < sd;) x.c.push(0);
1017
+ }
1018
+
1019
+ return stringify(x, sd <= x.e || x.e <= Big.NE || x.e >= Big.PE, !!n);
1020
+ };
1021
+
1022
+
1023
+ /*
1024
+ * Return a string representing the value of this Big.
1025
+ * Return exponential notation if this Big has a positive exponent equal to or greater than
1026
+ * Big.PE, or a negative exponent equal to or less than Big.NE.
1027
+ * Include the sign for negative zero.
1028
+ */
1029
+ P.valueOf = function () {
1030
+ var x = this,
1031
+ Big = x.constructor;
1032
+ if (Big.strict === true) {
1033
+ throw Error(NAME + 'valueOf disallowed');
1034
+ }
1035
+ return stringify(x, x.e <= Big.NE || x.e >= Big.PE, true);
1036
+ };
1037
+
1038
+
1039
+ // Export
1040
+
1041
+
1042
+ var Big = _Big_();
1069
1043
 
1070
1044
  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}";
1071
1045
 
@@ -1083,8 +1057,8 @@ const InputStepper = class {
1083
1057
  this.decreaseHasFocus = false;
1084
1058
  this.increaseHasFocus = false;
1085
1059
  this.focused = false;
1086
- this.language = index.defaultConfig.language;
1087
- this.region = index.defaultConfig.region;
1060
+ this.language = config_default.defaultConfig.language;
1061
+ this.region = config_default.defaultConfig.region;
1088
1062
  this.ariaForm = form.defaultBalAriaForm;
1089
1063
  /**
1090
1064
  * The name of the control, which is submitted with the form data.
@@ -1142,12 +1116,12 @@ const InputStepper = class {
1142
1116
  this.onBlurDecrease = (ev) => {
1143
1117
  formInput.stopEventBubbling(ev);
1144
1118
  this.decreaseHasFocus = false;
1145
- index.rIC(() => this.onBlur(ev.detail));
1119
+ helpers.rIC(() => this.onBlur(ev.detail));
1146
1120
  };
1147
1121
  this.onBlurIncrease = (ev) => {
1148
1122
  formInput.stopEventBubbling(ev);
1149
1123
  this.increaseHasFocus = false;
1150
- index.rIC(() => this.onBlur(ev.detail));
1124
+ helpers.rIC(() => this.onBlur(ev.detail));
1151
1125
  };
1152
1126
  this.onBlur = (ev) => {
1153
1127
  if (!(this.decreaseHasFocus || this.increaseHasFocus)) {
@@ -1159,7 +1133,7 @@ const InputStepper = class {
1159
1133
  this.log = log;
1160
1134
  }
1161
1135
  debounceChanged() {
1162
- this.balChange = index.debounceEvent(this.balChange, this.debounce);
1136
+ this.balChange = helpers.debounceEvent(this.balChange, this.debounce);
1163
1137
  }
1164
1138
  listenOnClick(ev) {
1165
1139
  formInput.inputListenOnClick(this, ev);
@@ -1225,7 +1199,7 @@ const InputStepper = class {
1225
1199
  const elText = elInner.element('text');
1226
1200
  const increaseLabel = balInputStepper_i18n.i18nBalInputStepper[this.language].increase;
1227
1201
  const decreaseLabel = balInputStepper_i18n.i18nBalInputStepper[this.language].decrease;
1228
- return (index.h(index.Host, { key: '642192eee6d75e8a73622ecd3b781446163b3b4f', "aria-disabled": aria.ariaBooleanToString(this.disabled), "aria-focused": this.focused ? 'true' : null, class: Object.assign({}, block.class()) }, index.h("div", { key: 'ee2d5f46f8fc4c49b70042964b2b0ad34a6d4e9f', class: Object.assign({}, elInner.class()) }, index.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) }), index.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)) }, number.formatLocaleNumber(this.value)), index.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) })), index.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": aria.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))));
1202
+ return (index.h(index.Host, { key: '6ad60111cc0d03d2375d5a7a490820d593b4b097', "aria-disabled": aria.ariaBooleanToString(this.disabled), "aria-focused": this.focused ? 'true' : null, class: Object.assign({}, block.class()) }, index.h("div", { key: '734da03d0a55c27c8f7d7fa1fa10bbc6d270d775', class: Object.assign({}, elInner.class()) }, index.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) }), index.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)) }, number.formatLocaleNumber(this.value)), index.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) })), index.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": aria.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))));
1229
1203
  }
1230
1204
  get el() { return index.getElement(this); }
1231
1205
  static get watchers() { return {
@@ -1233,7 +1207,7 @@ const InputStepper = class {
1233
1207
  }; }
1234
1208
  };
1235
1209
  tslib_es6.__decorate([
1236
- index.Logger('bal-input-stepper'),
1210
+ log.Logger('bal-input-stepper'),
1237
1211
  tslib_es6.__metadata("design:type", Function),
1238
1212
  tslib_es6.__metadata("design:paramtypes", [Function]),
1239
1213
  tslib_es6.__metadata("design:returntype", void 0)