@baloise/ds-core 19.4.0 → 19.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (548) hide show
  1. package/components/bal-carousel-item.js +2 -2
  2. package/components/bal-hint2.js +11 -9
  3. package/components/bal-icon2.js +6 -3
  4. package/components/bal-input.js +4 -1
  5. package/components/bal-nav.js +15 -5
  6. package/components/bal-pagination.js +19 -24
  7. package/components/bal-popover-content2.js +1 -1
  8. package/components/bal-popup2.js +2 -2
  9. package/components/bal-progress-bar.js +1 -1
  10. package/components/bal-radio-icon2.js +1 -1
  11. package/components/bal-radio2.js +2 -2
  12. package/components/bal-segment-item.js +1 -1
  13. package/components/bal-segment.js +1 -1
  14. package/components/bal-select-option2.js +1 -1
  15. package/components/bal-shape2.js +4 -4
  16. package/components/bal-sheet.js +1 -1
  17. package/components/bal-snackbar.js +1 -1
  18. package/components/bal-spinner2.js +1 -1
  19. package/components/bal-stack2.js +1 -1
  20. package/components/bal-stage-back-link.js +2 -2
  21. package/components/bal-stage-body.js +1 -1
  22. package/components/bal-stage-foot.js +1 -1
  23. package/components/bal-stage-head.js +1 -1
  24. package/components/bal-stage-image.js +1 -1
  25. package/components/bal-stage.js +1 -1
  26. package/components/bal-step-item.js +2 -2
  27. package/components/bal-tab-item.js +2 -2
  28. package/components/bal-table.js +1 -1
  29. package/components/bal-tabs2.js +2 -2
  30. package/components/bal-tag-group.js +1 -1
  31. package/components/bal-tag2.js +1 -1
  32. package/components/bal-text.js +2 -2
  33. package/components/bal-textarea.js +1 -1
  34. package/components/bal-time-input.js +1 -1
  35. package/components/bal-toast.js +1 -1
  36. package/components/bal-tooltip.js +1 -1
  37. package/components/index.js +2 -23
  38. package/{dist/cjs/purify.es-CJTp6uKN.js → components/svg.js} +8 -3
  39. package/components/tokens.esm.js +1 -1
  40. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  41. package/dist/baloise-design-system/baloise-design-system.js +1 -1
  42. package/dist/baloise-design-system/index.esm.js +1 -1
  43. package/dist/baloise-design-system/{p-aac9ec6687.system.entry.js → p-036ad57e58.system.entry.js} +1 -1
  44. package/dist/baloise-design-system/{p-5ea5a9b3fa.entry.js → p-046eabe224.entry.js} +1 -1
  45. package/dist/baloise-design-system/{p-5792932f82.system.entry.js → p-05171f8822.system.entry.js} +1 -1
  46. package/dist/baloise-design-system/{p-1112428fc6.entry.js → p-063fe43bad.entry.js} +1 -1
  47. package/dist/baloise-design-system/{p-9f221cd147.system.entry.js → p-09dfbc74cb.system.entry.js} +1 -1
  48. package/dist/baloise-design-system/{p-d5b648b0fc.system.entry.js → p-09e500512c.system.entry.js} +1 -1
  49. package/dist/baloise-design-system/p-0afcf25d8f.entry.js +1 -0
  50. package/dist/baloise-design-system/{p-6542d12863.entry.js → p-0d605fd429.entry.js} +1 -1
  51. package/dist/baloise-design-system/p-0f612d8105.system.entry.js +1 -0
  52. package/dist/baloise-design-system/{p-08bc0ab24d.system.entry.js → p-0fabee4cc7.system.entry.js} +1 -1
  53. package/dist/baloise-design-system/{p-909bc3558a.system.entry.js → p-11e1bb87d5.system.entry.js} +1 -1
  54. package/dist/baloise-design-system/{p-6f40242a5d.entry.js → p-139f607aea.entry.js} +1 -1
  55. package/dist/baloise-design-system/{p-247b0b800a.system.entry.js → p-141eebcbc9.system.entry.js} +1 -1
  56. package/dist/baloise-design-system/{p-8c5aac149f.entry.js → p-147da3c2a7.entry.js} +1 -1
  57. package/dist/baloise-design-system/{p-1799d59644.entry.js → p-154031cfcd.entry.js} +1 -1
  58. package/dist/baloise-design-system/{p-5aa8ca5691.entry.js → p-18ca91931f.entry.js} +1 -1
  59. package/dist/baloise-design-system/{p-c2a5d480b6.entry.js → p-1e16b6160b.entry.js} +1 -1
  60. package/dist/baloise-design-system/{p-0b9e84e4dd.system.entry.js → p-1e6b1b8f18.system.entry.js} +1 -1
  61. package/dist/baloise-design-system/{p-469d7c593e.system.entry.js → p-1eac1a0cb5.system.entry.js} +1 -1
  62. package/dist/baloise-design-system/{p-448a8ba385.entry.js → p-26acb6f5b7.entry.js} +1 -1
  63. package/dist/baloise-design-system/{p-6efb9d0430.system.entry.js → p-2c3dfb7451.system.entry.js} +1 -1
  64. package/dist/baloise-design-system/{p-adcdd7eb63.entry.js → p-2f3ad8c189.entry.js} +1 -1
  65. package/dist/baloise-design-system/{p-96fbe5e737.entry.js → p-2f6b1669b1.entry.js} +1 -1
  66. package/dist/baloise-design-system/{p-152e669d59.system.entry.js → p-2f840ebc0e.system.entry.js} +1 -1
  67. package/dist/baloise-design-system/{p-426a8d1128.entry.js → p-2ff59f7fe4.entry.js} +1 -1
  68. package/dist/baloise-design-system/{p-c92ac7c2e0.system.entry.js → p-308920f79d.system.entry.js} +1 -1
  69. package/dist/baloise-design-system/{p-a5802e97d8.system.entry.js → p-32abd27bf3.system.entry.js} +1 -1
  70. package/dist/baloise-design-system/p-32f4c6a2a2.entry.js +1 -0
  71. package/dist/baloise-design-system/{p-5391a66037.entry.js → p-357f73c9af.entry.js} +1 -1
  72. package/dist/baloise-design-system/{p-6d5bbdc67a.entry.js → p-3595a9493d.entry.js} +1 -1
  73. package/dist/baloise-design-system/{p-040a6174c7.system.entry.js → p-3674034b9b.system.entry.js} +1 -1
  74. package/dist/baloise-design-system/{p-2690f97b41.system.entry.js → p-396b84793c.system.entry.js} +1 -1
  75. package/dist/baloise-design-system/{p-558adf45a6.system.entry.js → p-3c5b679010.system.entry.js} +1 -1
  76. package/dist/baloise-design-system/{p-0f679514b0.entry.js → p-3d2104bdf0.entry.js} +1 -1
  77. package/dist/baloise-design-system/{p-84f3cdac9b.entry.js → p-3f34f4d694.entry.js} +1 -1
  78. package/dist/baloise-design-system/{p-4360835610.entry.js → p-3fdbe9aa5e.entry.js} +1 -1
  79. package/dist/baloise-design-system/{p-e0c4414dd8.system.entry.js → p-42aeea7c45.system.entry.js} +1 -1
  80. package/dist/baloise-design-system/{p-3125929936.entry.js → p-436ab819a4.entry.js} +1 -1
  81. package/dist/baloise-design-system/p-450ed0e3a8.system.entry.js +1 -0
  82. package/dist/baloise-design-system/{p-b050e8a82d.entry.js → p-4807818445.entry.js} +1 -1
  83. package/dist/baloise-design-system/{p-dc3a6cd2e6.system.entry.js → p-4829d80f77.system.entry.js} +1 -1
  84. package/dist/baloise-design-system/{p-0da4fe3026.entry.js → p-4ab146ba15.entry.js} +1 -1
  85. package/dist/baloise-design-system/{p-b5712e673a.entry.js → p-4bfdc5247d.entry.js} +1 -1
  86. package/dist/baloise-design-system/{p-be07e385c5.entry.js → p-4d426915e6.entry.js} +1 -1
  87. package/dist/baloise-design-system/{p-b0d0cb1167.system.entry.js → p-4d8abb3842.system.entry.js} +1 -1
  88. package/dist/baloise-design-system/{p-6d511d8e8e.system.entry.js → p-528de78f7e.system.entry.js} +1 -1
  89. package/dist/baloise-design-system/{p-dbcb876d25.entry.js → p-53d4b7058b.entry.js} +1 -1
  90. package/dist/baloise-design-system/{p-680fe70c1a.entry.js → p-56c831f3a3.entry.js} +1 -1
  91. package/dist/baloise-design-system/{p-52fa3d7015.system.entry.js → p-579729ab32.system.entry.js} +1 -1
  92. package/dist/baloise-design-system/{p-1a101b475e.system.entry.js → p-589719130f.system.entry.js} +1 -1
  93. package/dist/baloise-design-system/{p-e57bc8a630.system.entry.js → p-5d94e1d7bc.system.entry.js} +1 -1
  94. package/dist/baloise-design-system/{p-017e7f7adf.entry.js → p-5eb0547ae1.entry.js} +1 -1
  95. package/dist/baloise-design-system/{p-fa3aa15442.entry.js → p-5fce5a6968.entry.js} +1 -1
  96. package/dist/baloise-design-system/p-64ef8c714d.entry.js +1 -0
  97. package/dist/baloise-design-system/{p-22026f3f57.system.entry.js → p-67c13ad52e.system.entry.js} +1 -1
  98. package/dist/baloise-design-system/p-68739646dc.entry.js +1 -0
  99. package/dist/baloise-design-system/{p-7e5c62d014.entry.js → p-6c22d31019.entry.js} +1 -1
  100. package/dist/baloise-design-system/{p-61d215dcc5.entry.js → p-6c2f6e9387.entry.js} +1 -1
  101. package/dist/baloise-design-system/{p-6d716224a8.entry.js → p-70fbe46bc7.entry.js} +1 -1
  102. package/dist/baloise-design-system/{p-4856c78a64.entry.js → p-77c10127b3.entry.js} +1 -1
  103. package/dist/baloise-design-system/{p-56951b4bb7.system.entry.js → p-7cb4057bf1.system.entry.js} +1 -1
  104. package/dist/baloise-design-system/{p-99d1051abd.system.entry.js → p-7cb62ca6a6.system.entry.js} +1 -1
  105. package/dist/baloise-design-system/{p-e016efc91a.entry.js → p-7eebcf67e2.entry.js} +1 -1
  106. package/dist/baloise-design-system/{p-9276e4e5ca.system.entry.js → p-7f9f877f7f.system.entry.js} +1 -1
  107. package/dist/baloise-design-system/{p-19eda34a35.system.entry.js → p-82158e02b1.system.entry.js} +1 -1
  108. package/dist/baloise-design-system/{p-7778560b6f.entry.js → p-829e4b87db.entry.js} +1 -1
  109. package/dist/baloise-design-system/p-83ac26dc7f.entry.js +1 -0
  110. package/dist/baloise-design-system/{p-7cb21d670b.system.entry.js → p-86306babc7.system.entry.js} +1 -1
  111. package/dist/baloise-design-system/{p-2f62e8007d.entry.js → p-88b5cb9d74.entry.js} +1 -1
  112. package/dist/baloise-design-system/{p-3b5c4a42c4.system.entry.js → p-88f0b18133.system.entry.js} +1 -1
  113. package/dist/baloise-design-system/{p-46092a4585.entry.js → p-89770bf8d5.entry.js} +1 -1
  114. package/dist/baloise-design-system/{p-6e463dc74b.system.entry.js → p-8b02d1f691.system.entry.js} +1 -1
  115. package/dist/baloise-design-system/{p-c6a6f41844.entry.js → p-8df6be8b26.entry.js} +1 -1
  116. package/dist/baloise-design-system/p-8f16b577ed.system.entry.js +1 -0
  117. package/dist/baloise-design-system/{p-e15a90b22c.system.entry.js → p-8f77305828.system.entry.js} +1 -1
  118. package/dist/baloise-design-system/p-923324da01.entry.js +1 -0
  119. package/dist/baloise-design-system/{p-605048a7e8.system.entry.js → p-996bb08384.system.entry.js} +1 -1
  120. package/dist/baloise-design-system/{p-619670d086.system.entry.js → p-9b07e22894.system.entry.js} +1 -1
  121. package/dist/baloise-design-system/{p-drmuT566.system.js → p-B-5g9ywW.system.js} +1 -1
  122. package/dist/baloise-design-system/{p-cfEgJ3Y7.system.js → p-B1AyoRVX.system.js} +1 -1
  123. package/dist/baloise-design-system/{p-Cm94K4OH.system.js → p-B2Q2M8GP.system.js} +1 -1
  124. package/dist/baloise-design-system/p-B7YifDeX.js +1 -0
  125. package/dist/baloise-design-system/{p-BQvgbY93.system.js → p-B8EKDb1f.system.js} +1 -1
  126. package/dist/baloise-design-system/{p-XiJ1YYc9.js → p-BI_HKxCD.js} +1 -1
  127. package/dist/baloise-design-system/{p-Cwb5cm_s.js → p-BKIj2FHt.js} +1 -1
  128. package/dist/baloise-design-system/{p-B1TzZiNl.js → p-BMuEESB9.js} +1 -1
  129. package/dist/baloise-design-system/{p-WkcLp-K_.system.js → p-BQFHQM2n.system.js} +1 -1
  130. package/dist/baloise-design-system/{p-CwvovJM0.system.js → p-BS3tl84b.system.js} +1 -1
  131. package/dist/baloise-design-system/{p-Bnn4iNSc.system.js → p-BShK1Wjy.system.js} +1 -1
  132. package/dist/baloise-design-system/p-Bas5fYcv.system.js +2 -0
  133. package/dist/baloise-design-system/{p-Ck3aT69N.js → p-Bcq1Mq3d.js} +1 -1
  134. package/dist/baloise-design-system/p-BtpJmRB8.js +2 -0
  135. package/dist/baloise-design-system/{p-DMUz15_s.system.js → p-BvXsXhJM.system.js} +1 -1
  136. package/dist/baloise-design-system/{p-DJopuiVl.system.js → p-BxUstF_6.system.js} +1 -1
  137. package/dist/baloise-design-system/{p-B23n0-TV.js → p-C2O6xJy8.js} +1 -1
  138. package/dist/baloise-design-system/p-CGa0VUlf.js +1 -0
  139. package/dist/baloise-design-system/{p-B71F7E77.js → p-CXIZ5E3I.js} +1 -1
  140. package/dist/baloise-design-system/p-CZL1LuwV.system.js +1 -0
  141. package/dist/baloise-design-system/{p-BHYxMhaq.js → p-Cdq4-OQc.js} +1 -1
  142. package/dist/baloise-design-system/{p-DPBQ5EN8.system.js → p-Ch2Qwzxg.system.js} +1 -1
  143. package/dist/baloise-design-system/{p-B4Kne3kP.system.js → p-CijAVuOR.system.js} +1 -1
  144. package/dist/baloise-design-system/{p-BLUHPuPg.js → p-Cqfnm-VD.js} +1 -1
  145. package/dist/baloise-design-system/{p-DY72UdN1.system.js → p-CsRrZXiS.system.js} +1 -1
  146. package/dist/baloise-design-system/{p-C4hsvc4v.system.js → p-Cu5bu0FH.system.js} +1 -1
  147. package/dist/baloise-design-system/{p-C2YKdNW7.system.js → p-D-wn3VCz.system.js} +1 -1
  148. package/dist/baloise-design-system/{p-DfEhX0m_.system.js → p-D6aMm5nL.system.js} +1 -1
  149. package/dist/baloise-design-system/{p-Clmofeob.js → p-D7joM2A_.js} +1 -1
  150. package/dist/baloise-design-system/{p-CyfydXgM.system.js → p-DACM2A18.system.js} +1 -1
  151. package/dist/baloise-design-system/p-DFL5miRG.system.js +1 -0
  152. package/dist/baloise-design-system/{p-BsGkq7do.js → p-DKTkP38R.js} +1 -1
  153. package/dist/baloise-design-system/{p-DndeZqk_.system.js → p-DTr9aZ-a.system.js} +1 -1
  154. package/dist/baloise-design-system/p-DUNB4kTY.js +2 -0
  155. package/dist/baloise-design-system/{p-DWQYzEm7.system.js → p-Dd2hz_QL.system.js} +1 -1
  156. package/dist/baloise-design-system/p-Dmw7DZSr.js +1 -0
  157. package/dist/baloise-design-system/{p-Bp0dpjer.js → p-DnrTmF5s.js} +1 -1
  158. package/dist/baloise-design-system/{p-CoTulE_f.js → p-Ds9xIIWo.js} +1 -1
  159. package/dist/baloise-design-system/{p-BJQK_KjT.js → p-FtGnktAz.js} +1 -1
  160. package/dist/baloise-design-system/{p-D0Jo39A5.system.js → p-JIJH68HJ.system.js} +1 -1
  161. package/dist/baloise-design-system/{p-ft8ZtF1G.system.js → p-LWDNZMfk.system.js} +1 -1
  162. package/dist/baloise-design-system/{p-B7wsjSwt.system.js → p-LqKpDRjU.system.js} +1 -1
  163. package/dist/baloise-design-system/{p-DhSS4q-R.system.js → p-MZ0uDDT-.system.js} +1 -1
  164. package/dist/baloise-design-system/{p-DV-El3D9.js → p-NfGzBiKi.js} +1 -1
  165. package/dist/baloise-design-system/{p-gnUWqxps.js → p-Qp9VencO.js} +1 -1
  166. package/dist/baloise-design-system/p-WC2U8mYh.js +1 -0
  167. package/dist/baloise-design-system/{p-CKLuFkEh.js → p-Xn3qYezP.js} +1 -1
  168. package/dist/baloise-design-system/{p-DTDY1hlV.js → p-_-aZ6yxu.js} +1 -1
  169. package/dist/baloise-design-system/p-a1992195d6.entry.js +1 -0
  170. package/dist/baloise-design-system/{p-c819c5feef.system.entry.js → p-a4fe936619.system.entry.js} +1 -1
  171. package/dist/baloise-design-system/{p-605b22e87a.system.entry.js → p-aab9782bb9.system.entry.js} +1 -1
  172. package/dist/baloise-design-system/{p-2384eefce1.entry.js → p-af26087fec.entry.js} +1 -1
  173. package/dist/baloise-design-system/{p-571b32fead.system.entry.js → p-b20a5928a7.system.entry.js} +1 -1
  174. package/dist/baloise-design-system/{p-d4c44cc24e.entry.js → p-b2448798dc.entry.js} +1 -1
  175. package/dist/baloise-design-system/{p-503b4ce7d0.entry.js → p-b2e5bd0a60.entry.js} +1 -1
  176. package/dist/baloise-design-system/{p-05e8130a9a.system.entry.js → p-b3396ad233.system.entry.js} +1 -1
  177. package/dist/baloise-design-system/{p-bf46f70999.entry.js → p-b3c4bb46d3.entry.js} +1 -1
  178. package/dist/baloise-design-system/{p-29cae69b8c.entry.js → p-b4b8c92643.entry.js} +1 -1
  179. package/dist/baloise-design-system/{p-c4239a6ebb.entry.js → p-b8b00da091.entry.js} +1 -1
  180. package/dist/baloise-design-system/p-b8fbe69291.entry.js +1 -0
  181. package/dist/baloise-design-system/{p-ab6db026de.entry.js → p-b940a310ce.entry.js} +1 -1
  182. package/dist/baloise-design-system/{p-166fa22c35.entry.js → p-baf3a3e8c6.entry.js} +1 -1
  183. package/dist/baloise-design-system/{p-d78505b4e8.entry.js → p-bc787eb281.entry.js} +1 -1
  184. package/dist/baloise-design-system/{p-fd73720dcb.entry.js → p-bcbfc5cf1a.entry.js} +1 -1
  185. package/dist/baloise-design-system/{p-ee43ce93b7.system.entry.js → p-c0024649c7.system.entry.js} +1 -1
  186. package/dist/baloise-design-system/{p-8f8bef4656.system.entry.js → p-c01a01cb9b.system.entry.js} +1 -1
  187. package/dist/baloise-design-system/{p-eb68793baa.system.entry.js → p-c399e0802b.system.entry.js} +1 -1
  188. package/dist/baloise-design-system/{p-d575fb9113.system.entry.js → p-c56efe6658.system.entry.js} +1 -1
  189. package/dist/baloise-design-system/{p-4b3fd230c6.system.entry.js → p-c6e8bdefb7.system.entry.js} +1 -1
  190. package/dist/baloise-design-system/p-c72cb42e12.system.entry.js +1 -0
  191. package/dist/baloise-design-system/{p-1ecb79b6b5.system.entry.js → p-cd820fb61f.system.entry.js} +1 -1
  192. package/dist/baloise-design-system/{p-6eeb094b9d.system.entry.js → p-d17f493233.system.entry.js} +1 -1
  193. package/dist/baloise-design-system/{p-7e88d10258.system.entry.js → p-d347e78db6.system.entry.js} +1 -1
  194. package/dist/baloise-design-system/{p-417b6e0a0b.system.entry.js → p-d4733ba7cd.system.entry.js} +1 -1
  195. package/dist/baloise-design-system/{p-1c13d69ca1.system.entry.js → p-d8462e585c.system.entry.js} +1 -1
  196. package/dist/baloise-design-system/{p-ee604e4bcc.system.entry.js → p-d86678383a.system.entry.js} +1 -1
  197. package/dist/baloise-design-system/{p-f0957640f5.entry.js → p-df3a2e3c86.entry.js} +1 -1
  198. package/dist/baloise-design-system/{p-CiWErrXI.system.js → p-dsS1PhhG.system.js} +1 -1
  199. package/dist/baloise-design-system/{p-a34dc82fd9.system.entry.js → p-e2c4571fb2.system.entry.js} +1 -1
  200. package/dist/baloise-design-system/{p-e92ad3fae1.system.entry.js → p-e45196d720.system.entry.js} +1 -1
  201. package/dist/baloise-design-system/{p-aa9f1d22cd.system.entry.js → p-e6f77338c1.system.entry.js} +1 -1
  202. package/dist/baloise-design-system/{p-5ea15c8fda.entry.js → p-e9c3c1e74d.entry.js} +1 -1
  203. package/dist/baloise-design-system/{p-1f7d71e0f6.system.entry.js → p-ee33465cbb.system.entry.js} +1 -1
  204. package/dist/baloise-design-system/{p-925b31dca9.entry.js → p-ee42d05b0f.entry.js} +1 -1
  205. package/dist/baloise-design-system/{p-5bc0576341.entry.js → p-ee54da6c49.entry.js} +1 -1
  206. package/dist/baloise-design-system/{p-9417181fc3.entry.js → p-f3bfceb7a1.entry.js} +1 -1
  207. package/dist/baloise-design-system/{p-7b1dff4795.entry.js → p-f888a4ef08.entry.js} +1 -1
  208. package/dist/baloise-design-system/p-f9a1529366.system.entry.js +1 -0
  209. package/dist/baloise-design-system/{p-b0d2fd44ef.system.entry.js → p-fa57c17fd2.system.entry.js} +1 -1
  210. package/dist/baloise-design-system/{p-BANVEd3P.js → p-nmPiAskM.js} +1 -1
  211. package/dist/cjs/{animation.decorator-BeUy1FNI.js → animation.decorator-BQs2AITt.js} +2 -2
  212. package/dist/cjs/bal-accordion_4.cjs.entry.js +3 -3
  213. package/dist/cjs/bal-app.cjs.entry.js +2 -2
  214. package/dist/cjs/bal-badge.cjs.entry.js +1 -1
  215. package/dist/cjs/bal-button_2.cjs.entry.js +1 -1
  216. package/dist/cjs/bal-card_6.cjs.entry.js +1 -1
  217. package/dist/cjs/bal-carousel_2.cjs.entry.js +17 -17
  218. package/dist/cjs/bal-check.cjs.entry.js +1 -1
  219. package/dist/cjs/bal-checkbox_2.cjs.entry.js +6 -6
  220. package/dist/cjs/bal-close.cjs.entry.js +2 -2
  221. package/dist/cjs/bal-content.cjs.entry.js +1 -1
  222. package/dist/cjs/bal-data_4.cjs.entry.js +1 -1
  223. package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +2 -2
  224. package/dist/cjs/bal-date-calendar_2.cjs.entry.js +8 -8
  225. package/dist/cjs/bal-date.cjs.entry.js +5 -5
  226. package/dist/cjs/bal-divider.cjs.entry.js +1 -1
  227. package/dist/cjs/bal-dropdown.cjs.entry.js +4 -4
  228. package/dist/cjs/bal-field_5.cjs.entry.js +3 -3
  229. package/dist/cjs/bal-file-upload.cjs.entry.js +2 -2
  230. package/dist/cjs/bal-footer.cjs.entry.js +2 -2
  231. package/dist/cjs/bal-form-col_2.cjs.entry.js +1 -1
  232. package/dist/cjs/bal-form.cjs.entry.js +1 -1
  233. package/dist/cjs/bal-heading_2.cjs.entry.js +3 -3
  234. package/dist/cjs/bal-hint_5.cjs.entry.js +18 -16
  235. package/dist/cjs/bal-icon.cjs.entry.js +8 -5
  236. package/dist/cjs/bal-input-group.cjs.entry.js +1 -1
  237. package/dist/cjs/bal-input-slider.cjs.entry.js +2 -2
  238. package/dist/cjs/bal-input-stepper.cjs.entry.js +4 -4
  239. package/dist/cjs/bal-input.cjs.entry.js +6 -3
  240. package/dist/cjs/bal-label.cjs.entry.js +2 -2
  241. package/dist/cjs/bal-list_8.cjs.entry.js +10 -10
  242. package/dist/cjs/bal-logo.cjs.entry.js +7 -7
  243. package/dist/cjs/bal-modal_3.cjs.entry.js +3 -3
  244. package/dist/cjs/bal-nav_8.cjs.entry.js +27 -17
  245. package/dist/cjs/bal-navbar_5.cjs.entry.js +8 -8
  246. package/dist/cjs/bal-notices_3.cjs.entry.js +3 -3
  247. package/dist/cjs/bal-notification.cjs.entry.js +1 -1
  248. package/dist/cjs/bal-number-input.cjs.entry.js +4 -4
  249. package/dist/cjs/bal-option_2.cjs.entry.js +4 -4
  250. package/dist/cjs/bal-pagination.cjs.entry.js +24 -17
  251. package/dist/cjs/bal-popup.cjs.entry.js +5 -5
  252. package/dist/cjs/bal-progress-bar.cjs.entry.js +9 -9
  253. package/dist/cjs/bal-radio-icon.cjs.entry.js +2 -2
  254. package/dist/cjs/bal-radio_2.cjs.entry.js +8 -8
  255. package/dist/cjs/bal-segment_2.cjs.entry.js +14 -14
  256. package/dist/cjs/bal-select_2.cjs.entry.js +3 -3
  257. package/dist/cjs/bal-shape.cjs.entry.js +6 -6
  258. package/dist/cjs/bal-sheet.cjs.entry.js +2 -2
  259. package/dist/cjs/bal-spinner.cjs.entry.js +3 -3
  260. package/dist/cjs/bal-stack.cjs.entry.js +2 -2
  261. package/dist/cjs/bal-stage_6.cjs.entry.js +8 -8
  262. package/dist/cjs/bal-step-item.cjs.entry.js +3 -3
  263. package/dist/cjs/bal-steps.cjs.entry.js +8 -8
  264. package/dist/cjs/bal-switch.cjs.entry.js +1 -1
  265. package/dist/cjs/bal-tab-item_2.cjs.entry.js +20 -20
  266. package/dist/cjs/bal-table.cjs.entry.js +2 -2
  267. package/dist/cjs/bal-tag_2.cjs.entry.js +3 -3
  268. package/dist/cjs/bal-textarea.cjs.entry.js +3 -3
  269. package/dist/cjs/bal-time-input.cjs.entry.js +4 -4
  270. package/dist/cjs/bal-tooltip.cjs.entry.js +4 -4
  271. package/dist/cjs/baloise-design-system.cjs.js +2 -2
  272. package/dist/cjs/{breakpoints.decorator-DLXGwQpP.js → breakpoints.decorator-BSEpzMB7.js} +1 -1
  273. package/dist/cjs/{breakpoints.subject-CidQD5zH.js → breakpoints.subject-DsbiTElZ.js} +4 -4
  274. package/dist/cjs/{config.decorator-CDkNZ1Fo.js → config.decorator-CQRDZ01U.js} +1 -1
  275. package/dist/cjs/{date-C9_0qSTi.js → date-DffviXAX.js} +1 -1
  276. package/dist/cjs/{device-CoI0V6AY.js → device-CGF-jwuI.js} +1 -1
  277. package/dist/cjs/{element-states.decorator-DGQNhvD6.js → element-states.decorator-CMvhbLTn.js} +2 -2
  278. package/dist/cjs/{floating-ui-BEMfzblh.js → floating-ui-m-JX9fOD.js} +1 -1
  279. package/dist/cjs/{focus.decorator-DFy3pFaT.js → focus.decorator-DCbpgjOf.js} +2 -2
  280. package/dist/cjs/{form-input-BUGd2Bkz.js → form-input-C8gIh4D6.js} +1 -1
  281. package/dist/cjs/{index-COfbtsc7.js → index-wO-C-tKN.js} +2 -23
  282. package/dist/cjs/index.cjs.js +10 -10
  283. package/dist/cjs/{listener-t3ifJtK5.js → listener-uDpu-o5_.js} +1 -1
  284. package/dist/cjs/loader.cjs.js +2 -2
  285. package/dist/cjs/{mutation.decorator-DyFafPfX.js → mutation.decorator-DPig03Ej.js} +2 -2
  286. package/dist/cjs/{number-CYeUjdPM.js → number-BBJn3NM7.js} +1 -1
  287. package/dist/cjs/{overlays-CZHV6VH9.js → overlays-D1QKuo7y.js} +1 -1
  288. package/dist/cjs/{resize.decorator-B_NiBCMZ.js → resize.decorator-BCRm5MT8.js} +2 -2
  289. package/dist/cjs/{scroll-DY4kxt0j.js → scroll-BygWE09c.js} +1 -1
  290. package/dist/{esm/purify.es-B3Q-Lii3.js → cjs/svg-Bw61tXih.js} +10 -1
  291. package/dist/cjs/{swipe.decorator-CNDcaR9i.js → swipe.decorator-CL9n3sPQ.js} +1 -1
  292. package/dist/cjs/{swipe.subject-DtAxEK8t.js → swipe.subject-C6ExuqLB.js} +3 -3
  293. package/dist/cjs/{swiper.util-nyFqwHcs.js → swiper.util-ovY-Y7w8.js} +2 -2
  294. package/dist/cjs/{tokens.esm-DU04pfsc.js → tokens.esm-DDxoq3-N.js} +1 -1
  295. package/dist/cjs/{visibility.decorator-C7uDX3Z3.js → visibility.decorator-BG3QR7oi.js} +2 -2
  296. package/dist/cjs/{window-resize.decorator-4PWq713L.js → window-resize.decorator-lVS3Mcus.js} +1 -1
  297. package/dist/cjs/{window-resize.subject-GSXXkOcC.js → window-resize.subject-BT9wsOzd.js} +3 -3
  298. package/dist/collection/components/bal-carousel/bal-carousel-item/bal-carousel-item.js +2 -2
  299. package/dist/collection/components/bal-hint/bal-hint.js +13 -11
  300. package/dist/collection/components/bal-icon/bal-icon.js +6 -3
  301. package/dist/collection/components/bal-input/bal-input.js +4 -1
  302. package/dist/collection/components/bal-nav/bal-nav.js +15 -5
  303. package/dist/collection/components/bal-pagination/bal-pagination.css +1 -1
  304. package/dist/collection/components/bal-pagination/bal-pagination.js +16 -9
  305. package/dist/collection/components/bal-popover/bal-popover-content/bal-popover-content.js +1 -1
  306. package/dist/collection/components/bal-popup/bal-popup.css +1 -1
  307. package/dist/collection/components/bal-popup/bal-popup.js +1 -1
  308. package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +1 -1
  309. package/dist/collection/components/bal-radio/bal-radio-icon/bal-radio-icon.js +1 -1
  310. package/dist/collection/components/bal-radio/bal-radio.js +2 -2
  311. package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +1 -1
  312. package/dist/collection/components/bal-segment/bal-segment.js +1 -1
  313. package/dist/collection/components/bal-select/bal-select-option/bal-select-option.js +1 -1
  314. package/dist/collection/components/bal-shape/bal-shape.js +4 -4
  315. package/dist/collection/components/bal-sheet/bal-sheet.js +1 -1
  316. package/dist/collection/components/bal-snackbar/bal-snackbar.js +1 -1
  317. package/dist/collection/components/bal-spinner/bal-spinner.js +1 -1
  318. package/dist/collection/components/bal-stack/bal-stack.js +1 -1
  319. package/dist/collection/components/bal-stage/bal-stage-back-link/bal-stage-back-link.js +2 -2
  320. package/dist/collection/components/bal-stage/bal-stage-body/bal-stage-body.js +1 -1
  321. package/dist/collection/components/bal-stage/bal-stage-foot/bal-stage-foot.js +1 -1
  322. package/dist/collection/components/bal-stage/bal-stage-head/bal-stage-head.js +1 -1
  323. package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +1 -1
  324. package/dist/collection/components/bal-stage/bal-stage.js +1 -1
  325. package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +2 -2
  326. package/dist/collection/components/bal-table/bal-table.js +1 -1
  327. package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +2 -2
  328. package/dist/collection/components/bal-tabs/bal-tabs.js +2 -2
  329. package/dist/collection/components/bal-tag/bal-tag-group/bal-tag-group.js +1 -1
  330. package/dist/collection/components/bal-tag/bal-tag.js +1 -1
  331. package/dist/collection/components/bal-text/bal-text.js +2 -2
  332. package/dist/collection/components/bal-textarea/bal-textarea.js +1 -1
  333. package/dist/collection/components/bal-time-input/bal-time-input.js +1 -1
  334. package/dist/collection/components/bal-toast/bal-toast.js +1 -1
  335. package/dist/collection/components/bal-tooltip/bal-tooltip.js +1 -1
  336. package/dist/collection/utils/config/config.const.js +0 -1
  337. package/dist/collection/utils/config/config.js +1 -22
  338. package/dist/collection/utils/config/initialize.js +2 -2
  339. package/dist/collection/utils/constants/version.constant.js +1 -1
  340. package/dist/collection/utils/svg.js +7 -0
  341. package/dist/esm/{animation.decorator-DtxbEYY8.js → animation.decorator-C74KMO7Q.js} +2 -2
  342. package/dist/esm/bal-accordion_4.entry.js +3 -3
  343. package/dist/esm/bal-app.entry.js +2 -2
  344. package/dist/esm/bal-badge.entry.js +1 -1
  345. package/dist/esm/bal-button_2.entry.js +1 -1
  346. package/dist/esm/bal-card_6.entry.js +1 -1
  347. package/dist/esm/bal-carousel_2.entry.js +17 -17
  348. package/dist/esm/bal-check.entry.js +1 -1
  349. package/dist/esm/bal-checkbox_2.entry.js +6 -6
  350. package/dist/esm/bal-close.entry.js +2 -2
  351. package/dist/esm/bal-content.entry.js +1 -1
  352. package/dist/esm/bal-data_4.entry.js +1 -1
  353. package/dist/esm/bal-date-calendar-cell.entry.js +2 -2
  354. package/dist/esm/bal-date-calendar_2.entry.js +8 -8
  355. package/dist/esm/bal-date.entry.js +5 -5
  356. package/dist/esm/bal-divider.entry.js +1 -1
  357. package/dist/esm/bal-dropdown.entry.js +4 -4
  358. package/dist/esm/bal-field_5.entry.js +3 -3
  359. package/dist/esm/bal-file-upload.entry.js +2 -2
  360. package/dist/esm/bal-footer.entry.js +2 -2
  361. package/dist/esm/bal-form-col_2.entry.js +1 -1
  362. package/dist/esm/bal-form.entry.js +1 -1
  363. package/dist/esm/bal-heading_2.entry.js +3 -3
  364. package/dist/esm/bal-hint_5.entry.js +18 -16
  365. package/dist/esm/bal-icon.entry.js +8 -5
  366. package/dist/esm/bal-input-group.entry.js +1 -1
  367. package/dist/esm/bal-input-slider.entry.js +2 -2
  368. package/dist/esm/bal-input-stepper.entry.js +4 -4
  369. package/dist/esm/bal-input.entry.js +6 -3
  370. package/dist/esm/bal-label.entry.js +2 -2
  371. package/dist/esm/bal-list_8.entry.js +10 -10
  372. package/dist/esm/bal-logo.entry.js +7 -7
  373. package/dist/esm/bal-modal_3.entry.js +3 -3
  374. package/dist/esm/bal-nav_8.entry.js +27 -17
  375. package/dist/esm/bal-navbar_5.entry.js +8 -8
  376. package/dist/esm/bal-notices_3.entry.js +3 -3
  377. package/dist/esm/bal-notification.entry.js +1 -1
  378. package/dist/esm/bal-number-input.entry.js +4 -4
  379. package/dist/esm/bal-option_2.entry.js +4 -4
  380. package/dist/esm/bal-pagination.entry.js +24 -17
  381. package/dist/esm/bal-popup.entry.js +5 -5
  382. package/dist/esm/bal-progress-bar.entry.js +9 -9
  383. package/dist/esm/bal-radio-icon.entry.js +2 -2
  384. package/dist/esm/bal-radio_2.entry.js +8 -8
  385. package/dist/esm/bal-segment_2.entry.js +14 -14
  386. package/dist/esm/bal-select_2.entry.js +3 -3
  387. package/dist/esm/bal-shape.entry.js +6 -6
  388. package/dist/esm/bal-sheet.entry.js +2 -2
  389. package/dist/esm/bal-spinner.entry.js +3 -3
  390. package/dist/esm/bal-stack.entry.js +2 -2
  391. package/dist/esm/bal-stage_6.entry.js +8 -8
  392. package/dist/esm/bal-step-item.entry.js +3 -3
  393. package/dist/esm/bal-steps.entry.js +8 -8
  394. package/dist/esm/bal-switch.entry.js +1 -1
  395. package/dist/esm/bal-tab-item_2.entry.js +20 -20
  396. package/dist/esm/bal-table.entry.js +2 -2
  397. package/dist/esm/bal-tag_2.entry.js +3 -3
  398. package/dist/esm/bal-textarea.entry.js +3 -3
  399. package/dist/esm/bal-time-input.entry.js +4 -4
  400. package/dist/esm/bal-tooltip.entry.js +4 -4
  401. package/dist/esm/baloise-design-system.js +3 -3
  402. package/dist/esm/{breakpoints.decorator-SHkWCW_Y.js → breakpoints.decorator-DcuiF9pJ.js} +1 -1
  403. package/dist/esm/{breakpoints.subject-C7fjILif.js → breakpoints.subject-DtMFg17t.js} +4 -4
  404. package/dist/esm/{config.decorator-T4wBa62Z.js → config.decorator-CIdA1I1h.js} +1 -1
  405. package/dist/esm/{date-B9gcRx4E.js → date-DPdjnaiY.js} +1 -1
  406. package/dist/esm/{device-ClkcmLoi.js → device-D0RSC50t.js} +1 -1
  407. package/dist/esm/{element-states.decorator-DH5waKVu.js → element-states.decorator-vMjZ-Gkt.js} +2 -2
  408. package/dist/esm/{floating-ui-CTp1F0dK.js → floating-ui-DbGhJUAh.js} +1 -1
  409. package/dist/esm/{focus.decorator-DQpbKYaT.js → focus.decorator-BFN3uq1V.js} +2 -2
  410. package/dist/esm/{form-input-CGW38ndP.js → form-input-C2vJzMPS.js} +1 -1
  411. package/dist/esm/{index-pkPHUz5e.js → index-BtpJmRB8.js} +2 -23
  412. package/dist/esm/index.js +13 -13
  413. package/dist/esm/{listener-tzACU3qe.js → listener-DI7AdrHk.js} +1 -1
  414. package/dist/esm/loader.js +3 -3
  415. package/dist/esm/{mutation.decorator-x6OeVGO1.js → mutation.decorator-B31D1rO_.js} +2 -2
  416. package/dist/esm/{number-DZNVPmrJ.js → number-RGLokB1E.js} +1 -1
  417. package/dist/esm/{overlays-HStjSmzT.js → overlays-BbuwDTcV.js} +1 -1
  418. package/dist/esm/{resize.decorator-D8jUH-n3.js → resize.decorator-C0LM9fHV.js} +2 -2
  419. package/dist/esm/{scroll-CGUsHi6i.js → scroll-D_L9mSoZ.js} +1 -1
  420. package/{components/purify.es.js → dist/esm/svg-DUNB4kTY.js} +8 -1
  421. package/dist/esm/{swipe.decorator-CLIW6A6V.js → swipe.decorator-BpU5Ogqx.js} +1 -1
  422. package/dist/esm/{swipe.subject-CgHMG_X7.js → swipe.subject-B1IPMW8E.js} +3 -3
  423. package/dist/esm/{swiper.util-lTWgy2NS.js → swiper.util-CGTOx2uL.js} +2 -2
  424. package/dist/esm/{tokens.esm-BvmIi0Pf.js → tokens.esm-ChltR09F.js} +1 -1
  425. package/dist/esm/{visibility.decorator-DOE3Mnqt.js → visibility.decorator-tAqXui-F.js} +2 -2
  426. package/dist/esm/{window-resize.decorator-C4aZFmLU.js → window-resize.decorator-WtdUPOFx.js} +1 -1
  427. package/dist/esm/{window-resize.subject-DTS_9rk_.js → window-resize.subject-B5jZTc22.js} +3 -3
  428. package/dist/esm-es5/{animation.decorator-DtxbEYY8.js → animation.decorator-C74KMO7Q.js} +1 -1
  429. package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
  430. package/dist/esm-es5/bal-app.entry.js +1 -1
  431. package/dist/esm-es5/bal-badge.entry.js +1 -1
  432. package/dist/esm-es5/bal-button_2.entry.js +1 -1
  433. package/dist/esm-es5/bal-card_6.entry.js +1 -1
  434. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  435. package/dist/esm-es5/bal-check.entry.js +1 -1
  436. package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
  437. package/dist/esm-es5/bal-close.entry.js +1 -1
  438. package/dist/esm-es5/bal-content.entry.js +1 -1
  439. package/dist/esm-es5/bal-data_4.entry.js +1 -1
  440. package/dist/esm-es5/bal-date-calendar-cell.entry.js +1 -1
  441. package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
  442. package/dist/esm-es5/bal-date.entry.js +1 -1
  443. package/dist/esm-es5/bal-divider.entry.js +1 -1
  444. package/dist/esm-es5/bal-dropdown.entry.js +1 -1
  445. package/dist/esm-es5/bal-field_5.entry.js +1 -1
  446. package/dist/esm-es5/bal-file-upload.entry.js +1 -1
  447. package/dist/esm-es5/bal-footer.entry.js +1 -1
  448. package/dist/esm-es5/bal-form-col_2.entry.js +1 -1
  449. package/dist/esm-es5/bal-form.entry.js +1 -1
  450. package/dist/esm-es5/bal-heading_2.entry.js +1 -1
  451. package/dist/esm-es5/bal-hint_5.entry.js +1 -1
  452. package/dist/esm-es5/bal-icon.entry.js +1 -1
  453. package/dist/esm-es5/bal-input-group.entry.js +1 -1
  454. package/dist/esm-es5/bal-input-slider.entry.js +1 -1
  455. package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
  456. package/dist/esm-es5/bal-input.entry.js +1 -1
  457. package/dist/esm-es5/bal-label.entry.js +1 -1
  458. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  459. package/dist/esm-es5/bal-logo.entry.js +1 -1
  460. package/dist/esm-es5/bal-modal_3.entry.js +1 -1
  461. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  462. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  463. package/dist/esm-es5/bal-notices_3.entry.js +1 -1
  464. package/dist/esm-es5/bal-notification.entry.js +1 -1
  465. package/dist/esm-es5/bal-number-input.entry.js +1 -1
  466. package/dist/esm-es5/bal-option_2.entry.js +1 -1
  467. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  468. package/dist/esm-es5/bal-popup.entry.js +1 -1
  469. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  470. package/dist/esm-es5/bal-radio-icon.entry.js +1 -1
  471. package/dist/esm-es5/bal-radio_2.entry.js +1 -1
  472. package/dist/esm-es5/bal-segment_2.entry.js +1 -1
  473. package/dist/esm-es5/bal-select_2.entry.js +1 -1
  474. package/dist/esm-es5/bal-shape.entry.js +1 -1
  475. package/dist/esm-es5/bal-sheet.entry.js +1 -1
  476. package/dist/esm-es5/bal-spinner.entry.js +1 -1
  477. package/dist/esm-es5/bal-stack.entry.js +1 -1
  478. package/dist/esm-es5/bal-stage_6.entry.js +1 -1
  479. package/dist/esm-es5/bal-step-item.entry.js +1 -1
  480. package/dist/esm-es5/bal-steps.entry.js +1 -1
  481. package/dist/esm-es5/bal-switch.entry.js +1 -1
  482. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  483. package/dist/esm-es5/bal-table.entry.js +1 -1
  484. package/dist/esm-es5/bal-tag_2.entry.js +1 -1
  485. package/dist/esm-es5/bal-textarea.entry.js +1 -1
  486. package/dist/esm-es5/bal-time-input.entry.js +1 -1
  487. package/dist/esm-es5/bal-tooltip.entry.js +1 -1
  488. package/dist/esm-es5/baloise-design-system.js +1 -1
  489. package/dist/esm-es5/{breakpoints.decorator-SHkWCW_Y.js → breakpoints.decorator-DcuiF9pJ.js} +1 -1
  490. package/dist/esm-es5/{breakpoints.subject-C7fjILif.js → breakpoints.subject-DtMFg17t.js} +1 -1
  491. package/dist/esm-es5/{config.decorator-T4wBa62Z.js → config.decorator-CIdA1I1h.js} +1 -1
  492. package/dist/esm-es5/{date-B9gcRx4E.js → date-DPdjnaiY.js} +1 -1
  493. package/dist/esm-es5/{device-ClkcmLoi.js → device-D0RSC50t.js} +1 -1
  494. package/dist/esm-es5/{element-states.decorator-DH5waKVu.js → element-states.decorator-vMjZ-Gkt.js} +1 -1
  495. package/dist/esm-es5/{floating-ui-CTp1F0dK.js → floating-ui-DbGhJUAh.js} +1 -1
  496. package/dist/esm-es5/{focus.decorator-DQpbKYaT.js → focus.decorator-BFN3uq1V.js} +1 -1
  497. package/dist/esm-es5/{form-input-CGW38ndP.js → form-input-C2vJzMPS.js} +1 -1
  498. package/dist/esm-es5/index-BtpJmRB8.js +2 -0
  499. package/dist/esm-es5/index.js +1 -1
  500. package/dist/esm-es5/{listener-tzACU3qe.js → listener-DI7AdrHk.js} +1 -1
  501. package/dist/esm-es5/loader.js +1 -1
  502. package/dist/esm-es5/mutation.decorator-B31D1rO_.js +1 -0
  503. package/dist/esm-es5/{number-DZNVPmrJ.js → number-RGLokB1E.js} +1 -1
  504. package/dist/esm-es5/{overlays-HStjSmzT.js → overlays-BbuwDTcV.js} +1 -1
  505. package/dist/esm-es5/resize.decorator-C0LM9fHV.js +1 -0
  506. package/dist/esm-es5/{scroll-CGUsHi6i.js → scroll-D_L9mSoZ.js} +1 -1
  507. package/dist/esm-es5/{purify.es-B3Q-Lii3.js → svg-DUNB4kTY.js} +1 -1
  508. package/dist/esm-es5/{swipe.decorator-CLIW6A6V.js → swipe.decorator-BpU5Ogqx.js} +1 -1
  509. package/dist/esm-es5/swipe.subject-B1IPMW8E.js +1 -0
  510. package/dist/esm-es5/{swiper.util-lTWgy2NS.js → swiper.util-CGTOx2uL.js} +1 -1
  511. package/dist/esm-es5/{visibility.decorator-DOE3Mnqt.js → visibility.decorator-tAqXui-F.js} +1 -1
  512. package/dist/esm-es5/{window-resize.decorator-C4aZFmLU.js → window-resize.decorator-WtdUPOFx.js} +1 -1
  513. package/dist/esm-es5/{window-resize.subject-DTS_9rk_.js → window-resize.subject-B5jZTc22.js} +1 -1
  514. package/dist/types/components/bal-hint/bal-hint.d.ts +1 -1
  515. package/dist/types/components/bal-nav/bal-nav.interfaces.d.ts +2 -0
  516. package/dist/types/utils/config/config.const.d.ts +0 -1
  517. package/dist/types/utils/config/config.d.ts +0 -2
  518. package/dist/types/utils/svg.d.ts +1 -0
  519. package/package.json +6 -6
  520. package/dist/baloise-design-system/p-5da1420f1a.system.entry.js +0 -1
  521. package/dist/baloise-design-system/p-653f4e4238.entry.js +0 -1
  522. package/dist/baloise-design-system/p-68162ab75a.entry.js +0 -1
  523. package/dist/baloise-design-system/p-74dd1a8023.entry.js +0 -1
  524. package/dist/baloise-design-system/p-750daedf10.system.entry.js +0 -1
  525. package/dist/baloise-design-system/p-833e1e02aa.entry.js +0 -1
  526. package/dist/baloise-design-system/p-83a6310bc0.entry.js +0 -1
  527. package/dist/baloise-design-system/p-9bed353090.system.entry.js +0 -1
  528. package/dist/baloise-design-system/p-B3Q-Lii3.js +0 -2
  529. package/dist/baloise-design-system/p-BzYBOtnf.js +0 -1
  530. package/dist/baloise-design-system/p-C8S5XlJl.js +0 -1
  531. package/dist/baloise-design-system/p-Ch5Ar_Aw.system.js +0 -1
  532. package/dist/baloise-design-system/p-DA4RmE59.system.js +0 -1
  533. package/dist/baloise-design-system/p-Do4k83YR.js +0 -1
  534. package/dist/baloise-design-system/p-MVgFPFA5.js +0 -1
  535. package/dist/baloise-design-system/p-WmWy2rJ-.system.js +0 -2
  536. package/dist/baloise-design-system/p-a913a946ea.entry.js +0 -1
  537. package/dist/baloise-design-system/p-cca697bd26.system.entry.js +0 -1
  538. package/dist/baloise-design-system/p-d7a09b758f.entry.js +0 -1
  539. package/dist/baloise-design-system/p-dd5aae489e.entry.js +0 -1
  540. package/dist/baloise-design-system/p-ee5156fb85.system.entry.js +0 -1
  541. package/dist/baloise-design-system/p-pkPHUz5e.js +0 -2
  542. package/dist/esm-es5/index-pkPHUz5e.js +0 -2
  543. package/dist/esm-es5/mutation.decorator-x6OeVGO1.js +0 -1
  544. package/dist/esm-es5/resize.decorator-D8jUH-n3.js +0 -1
  545. package/dist/esm-es5/swipe.subject-CgHMG_X7.js +0 -1
  546. /package/dist/baloise-design-system/{p-BvmIi0Pf.js → p-ChltR09F.js} +0 -0
  547. /package/dist/baloise-design-system/{p-CFSqydrN.system.js → p-CwtPviPa.system.js} +0 -0
  548. /package/dist/esm-es5/{tokens.esm-BvmIi0Pf.js → tokens.esm-ChltR09F.js} +0 -0
@@ -1 +1 @@
1
- import{n as t}from"./p-pkPHUz5e.js";const e={en:{toggleDatepicker:"Open datepicker",nextMonth:"Next month",previousMonth:"Previous month",selectMonth:"Select month and year"},fr:{toggleDatepicker:"Ouvrir le sélecteur de dates",nextMonth:"Mois suivant",previousMonth:"Mois précédent",selectMonth:"Sélectionner le mois et l'année"},it:{toggleDatepicker:"Apri il selettore della data",nextMonth:"Mese successivo",previousMonth:"Mese precedente",selectMonth:"Seleziona mese e anno"},nl:{toggleDatepicker:"Open datumkiezer",nextMonth:"Volgende maand",previousMonth:"Vorige maand",selectMonth:"Selecteer maand en jaar"},es:{toggleDatepicker:"Abrir selector de fechas",nextMonth:"Mes siguiente",previousMonth:"Mes anterior",selectMonth:"Seleccionar mes y año"},pt:{toggleDatepicker:"Abrir seletor de datas",nextMonth:"Próximo mês",previousMonth:"Mês anterior",selectMonth:"Selecionar mês e ano"},sv:{toggleDatepicker:"Öppna datumväljare",nextMonth:"Nästa månad",previousMonth:"Föregående månad",selectMonth:"Välj månad och år"},fi:{toggleDatepicker:"Avaa päivämäärän valitsin",nextMonth:"Seuraava kuukausi",previousMonth:"Edellinen kuukausi",selectMonth:"Valitse kuukausi ja vuosi"},de:{toggleDatepicker:"Öffne den Datumswähler",nextMonth:"Nächster Monat",previousMonth:"Vormonat",selectMonth:"Monat und Jahr auswählen"},pl:{toggleDatepicker:"Otwórz wybierak daty",nextMonth:"Następny miesiąc",previousMonth:"Poprzedni miesiąc",selectMonth:"Wybierz miesiąc i rok"}};class n extends Error{}class r extends n{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class s extends n{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class i extends n{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class u extends n{}class o extends n{constructor(t){super(`Invalid unit ${t}`)}}class a extends n{}class c extends n{constructor(){super("Zone is an abstract class")}}const h="numeric",l="short",d="long",m={year:h,month:h,day:h},f={year:h,month:l,day:h},y={year:h,month:l,day:h,weekday:l},g={year:h,month:d,day:h},w={year:h,month:d,day:h,weekday:d},p={hour:h,minute:h},M={hour:h,minute:h,second:h},k={hour:h,minute:h,second:h,timeZoneName:l},S={hour:h,minute:h,second:h,timeZoneName:d},N={hour:h,minute:h,hourCycle:"h23"},T={hour:h,minute:h,second:h,hourCycle:"h23"},b={hour:h,minute:h,second:h,hourCycle:"h23",timeZoneName:l},v={hour:h,minute:h,second:h,hourCycle:"h23",timeZoneName:d},E={year:h,month:h,day:h,hour:h,minute:h},$={year:h,month:h,day:h,hour:h,minute:h,second:h},D={year:h,month:l,day:h,hour:h,minute:h},O={year:h,month:l,day:h,hour:h,minute:h,second:h},I={year:h,month:l,day:h,weekday:l,hour:h,minute:h},x={year:h,month:d,day:h,hour:h,minute:h,timeZoneName:l},F={year:h,month:d,day:h,hour:h,minute:h,second:h,timeZoneName:l},W={year:h,month:d,day:h,weekday:d,hour:h,minute:h,timeZoneName:d},Z={year:h,month:d,day:h,weekday:d,hour:h,minute:h,second:h,timeZoneName:d};class L{get type(){throw new c}get name(){throw new c}get ianaName(){return this.name}get isUniversal(){throw new c}offsetName(t,e){throw new c}formatOffset(t,e){throw new c}offset(t){throw new c}equals(t){throw new c}get isValid(){throw new c}}let C=null;class A extends L{static get instance(){return null===C&&(C=new A),C}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return Bt(t,e,n)}formatOffset(t,e){return te(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let H={};const _={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let j={};class q extends L{static create(t){return j[t]||(j[t]=new q(t)),j[t]}static resetCache(){j={},H={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=q.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return Bt(t,e,n,this.name)}formatOffset(t,e){return te(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const n=(H[r=this.name]||(H[r]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:r,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),H[r]);var r;let[s,i,u,o,a,c,h]=n.formatToParts?function(t,e){const n=t.formatToParts(e),r=[];for(let t=0;t<n.length;t++){const{type:e,value:s}=n[t],i=_[e];"era"===e?r[i]=s:Ot(i)||(r[i]=parseInt(s,10))}return r}(n,e):function(t,e){const n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,s,i,u,o,a,c,h]=r;return[u,s,i,o,a,c,h]}(n,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const d=l%1e3;return l-=d>=0?d:1e3+d,(Gt({year:s,month:i,day:u,hour:24===a?0:a,minute:c,second:h,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let z={},U={};function J(t,e={}){const n=JSON.stringify([t,e]);let r=U[n];return r||(r=new Intl.DateTimeFormat(t,e),U[n]=r),r}let R={},G={},P=null,Y={};function V(t,e,n,r){const s=t.listingMode();return"error"===s?null:"en"===s?n(e):r(e)}class B{constructor(t,e,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const{padTo:r,floor:s,...i}=n;if(!e||Object.keys(i).length>0){const e={useGrouping:!1,...n};n.padTo>0&&(e.minimumIntegerDigits=n.padTo),this.inf=function(t,e={}){const n=JSON.stringify([t,e]);let r=R[n];return r||(r=new Intl.NumberFormat(t,e),R[n]=r),r}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ht(this.floor?Math.floor(t):zt(t,3),this.padTo)}}class Q{constructor(t,e,n){let r;if(this.opts=n,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,n=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&q.create(n).valid?(r=n,this.dt=t):(r="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,r=t.zone.name):(r="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||r,this.dtf=J(e,s)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class K{constructor(t,e,n){this.opts={style:"long",...n},!e&&Ft()&&(this.rtf=function(t,e={}){const{base:n,...r}=e,s=JSON.stringify([t,r]);let i=G[s];return i||(i=new Intl.RelativeTimeFormat(t,e),G[s]=i),i}(t,n))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,n="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===n&&i){const n="days"===t;switch(e){case 1:return n?"tomorrow":`next ${s[t][0]}`;case-1:return n?"yesterday":`last ${s[t][0]}`;case 0:return n?"today":`this ${s[t][0]}`}}const u=Object.is(e,-0)||e<0,o=Math.abs(e),a=1===o,c=s[t],h=r?a?c[1]:c[2]||c[1]:a?s[t][0]:t;return u?`${o} ${h} ago`:`in ${o} ${h}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const X={firstDay:1,minimalDays:4,weekend:[6,7]};class tt{static fromOpts(t){return tt.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,n,r,s=!1){const i=t||mt.defaultLocale,u=i||(s?"en-US":P||(P=(new Intl.DateTimeFormat).resolvedOptions().locale,P)),o=e||mt.defaultNumberingSystem,a=n||mt.defaultOutputCalendar,c=Ct(r)||mt.defaultWeekSettings;return new tt(u,o,a,c,i)}static resetCache(){P=null,U={},R={},G={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:n,weekSettings:r}={}){return tt.create(t,e,n,r)}constructor(t,e,n,r,s){const[i,u,o]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const n=t.indexOf("-u-");if(-1===n)return[t];{let e,r;try{e=J(t).resolvedOptions(),r=t}catch(s){const i=t.substring(0,n);e=J(i).resolvedOptions(),r=i}const{numberingSystem:s,calendar:i}=e;return[r,s,i]}}(t);this.locale=i,this.numberingSystem=e||u||null,this.outputCalendar=n||o||null,this.weekSettings=r,this.intl=function(t,e,n){return n||e?(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){return this.isEnglish()&&!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar)?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?tt.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ct(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return V(this,t,ie,(()=>{const n=e?{month:t,day:"numeric"}:{month:t},r=e?"format":"standalone";return this.monthsCache[r][t]||(this.monthsCache[r][t]=function(t){const e=[];for(let n=1;n<=12;n++){const r=ur.utc(2009,n,1);e.push(t(r))}return e}((t=>this.extract(t,n,"month")))),this.monthsCache[r][t]}))}weekdays(t,e=!1){return V(this,t,ce,(()=>{const n=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},r=e?"format":"standalone";return this.weekdaysCache[r][t]||(this.weekdaysCache[r][t]=function(t){const e=[];for(let n=1;n<=7;n++){const r=ur.utc(2016,11,13+n);e.push(t(r))}return e}((t=>this.extract(t,n,"weekday")))),this.weekdaysCache[r][t]}))}meridiems(){return V(this,void 0,(()=>he),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ur.utc(2016,11,13,9),ur.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return V(this,t,fe,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[ur.utc(-40,1,1),ur.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,n){const r=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===n));return r?r.value:null}numberFormatter(t={}){return new B(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Q(t,this.intl,e)}relFormatter(t={}){return new K(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const n=JSON.stringify([t,e]);let r=z[n];return r||(r=new Intl.ListFormat(t,e),z[n]=r),r}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Wt()?function(t){let e=Y[t];if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,Y[t]=e}return e}(this.locale):X}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}let et=null;class nt extends L{static get utcInstance(){return null===et&&(et=new nt(0)),et}static instance(t){return 0===t?nt.utcInstance:new nt(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new nt(Qt(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${te(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${te(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return te(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class rt extends L{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function st(t,e){if(Ot(t)||null===t)return e;if(t instanceof L)return t;if("string"==typeof t){const n=t.toLowerCase();return"default"===n?e:"local"===n||"system"===n?A.instance:"utc"===n||"gmt"===n?nt.utcInstance:nt.parseSpecifier(n)||q.create(t)}return It(t)?nt.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new rt(t)}let it,ut=()=>Date.now(),ot="system",at=null,ct=null,ht=null,lt=60,dt=null;class mt{static get now(){return ut}static set now(t){ut=t}static set defaultZone(t){ot=t}static get defaultZone(){return st(ot,A.instance)}static get defaultLocale(){return at}static set defaultLocale(t){at=t}static get defaultNumberingSystem(){return ct}static set defaultNumberingSystem(t){ct=t}static get defaultOutputCalendar(){return ht}static set defaultOutputCalendar(t){ht=t}static get defaultWeekSettings(){return dt}static set defaultWeekSettings(t){dt=Ct(t)}static get twoDigitCutoffYear(){return lt}static set twoDigitCutoffYear(t){lt=t%100}static get throwOnInvalid(){return it}static set throwOnInvalid(t){it=t}static resetCaches(){tt.resetCache(),q.resetCache()}}class ft{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const yt=[0,31,59,90,120,151,181,212,243,273,304,334],gt=[0,31,60,91,121,152,182,213,244,274,305,335];function wt(t,e){return new ft("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function pt(t,e,n){const r=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return 0===s?7:s}function Mt(t,e,n){return n+(Ut(t)?gt:yt)[e-1]}function kt(t,e){const n=Ut(t)?gt:yt,r=n.findIndex((t=>t<e));return{month:r+1,day:e-n[r]}}function St(t,e){return(t-e+7)%7+1}function Nt(t,e=4,n=1){const{year:r,month:s,day:i}=t,u=Mt(r,s,i),o=St(pt(r,s,i),n);let a,c=Math.floor((u-o+14-e)/7);return c<1?(a=r-1,c=Yt(a,e,n)):c>Yt(r,e,n)?(a=r+1,c=1):a=r,{weekYear:a,weekNumber:c,weekday:o,...ee(t)}}function Tt(t,e=4,n=1){const{weekYear:r,weekNumber:s,weekday:i}=t,u=St(pt(r,1,e),n),o=Jt(r);let a,c=7*s+i-u-7+e;c<1?(a=r-1,c+=Jt(a)):c>o?(a=r+1,c-=Jt(r)):a=r;const{month:h,day:l}=kt(a,c);return{year:a,month:h,day:l,...ee(t)}}function bt(t){const{year:e,month:n,day:r}=t;return{year:e,ordinal:Mt(e,n,r),...ee(t)}}function vt(t){const{year:e,ordinal:n}=t,{month:r,day:s}=kt(e,n);return{year:e,month:r,day:s,...ee(t)}}function Et(t,e){if(!Ot(t.localWeekday)||!Ot(t.localWeekNumber)||!Ot(t.localWeekYear)){if(!Ot(t.weekday)||!Ot(t.weekNumber)||!Ot(t.weekYear))throw new u("Cannot mix locale-based week fields with ISO-based week fields");return Ot(t.localWeekday)||(t.weekday=t.localWeekday),Ot(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Ot(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function $t(t){const e=xt(t.year),n=At(t.month,1,12),r=At(t.day,1,Rt(t.year,t.month));return e?n?!r&&wt("day",t.day):wt("month",t.month):wt("year",t.year)}function Dt(t){const{hour:e,minute:n,second:r,millisecond:s}=t,i=At(e,0,23)||24===e&&0===n&&0===r&&0===s,u=At(n,0,59),o=At(r,0,59),a=At(s,0,999);return i?u?o?!a&&wt("millisecond",s):wt("second",r):wt("minute",n):wt("hour",e)}function Ot(t){return void 0===t}function It(t){return"number"==typeof t}function xt(t){return"number"==typeof t&&t%1==0}function Ft(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Wt(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Zt(t,e,n){if(0!==t.length)return t.reduce(((t,r)=>{const s=[e(r),r];return t&&n(t[0],s[0])===t[0]?t:s}),null)[1]}function Lt(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ct(t){if(null==t)return null;if("object"!=typeof t)throw new a("Week settings must be an object");if(!At(t.firstDay,1,7)||!At(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!At(t,1,7))))throw new a("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function At(t,e,n){return xt(t)&&t>=e&&t<=n}function Ht(t,e=2){let n;return n=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),n}function _t(t){return Ot(t)||null===t||""===t?void 0:parseInt(t,10)}function jt(t){return Ot(t)||null===t||""===t?void 0:parseFloat(t)}function qt(t){if(!Ot(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function zt(t,e,n=!1){const r=10**e;return(n?Math.trunc:Math.round)(t*r)/r}function Ut(t){return t%4==0&&(t%100!=0||t%400==0)}function Jt(t){return Ut(t)?366:365}function Rt(t,e){const n=(r=e-1)-12*Math.floor(r/12)+1;var r;return 2===n?Ut(t+(e-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Gt(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Pt(t,e,n){return-St(pt(t,1,e),n)+e-1}function Yt(t,e=4,n=1){const r=Pt(t,e,n),s=Pt(t+1,e,n);return(Jt(t)-r+s)/7}function Vt(t){return t>99?t:t>mt.twoDigitCutoffYear?1900+t:2e3+t}function Bt(t,e,n,r=null){const s=new Date(t),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const u={timeZoneName:e,...i},o=new Intl.DateTimeFormat(n,u).formatToParts(s).find((t=>"timezonename"===t.type.toLowerCase()));return o?o.value:null}function Qt(t,e){let n=parseInt(t,10);Number.isNaN(n)&&(n=0);const r=parseInt(e,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function Kt(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new a(`Invalid unit value ${t}`);return e}function Xt(t,e){const n={};for(const r in t)if(Lt(t,r)){const s=t[r];if(null==s)continue;n[e(r)]=Kt(s)}return n}function te(t,e){const n=Math.trunc(Math.abs(t/60)),r=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Ht(n,2)}:${Ht(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${Ht(n,2)}${Ht(r,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ee(t){return function(t){return["hour","minute","second","millisecond"].reduce(((e,n)=>(e[n]=t[n],e)),{})}(t)}const ne=["January","February","March","April","May","June","July","August","September","October","November","December"],re=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],se=["J","F","M","A","M","J","J","A","S","O","N","D"];function ie(t){switch(t){case"narrow":return[...se];case"short":return[...re];case"long":return[...ne];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ue=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],oe=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ae=["M","T","W","T","F","S","S"];function ce(t){switch(t){case"narrow":return[...ae];case"short":return[...oe];case"long":return[...ue];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const he=["AM","PM"],le=["Before Christ","Anno Domini"],de=["BC","AD"],me=["B","A"];function fe(t){switch(t){case"narrow":return[...me];case"short":return[...de];case"long":return[...le];default:return null}}function ye(t,e){let n="";for(const r of t)n+=r.literal?r.val:e(r.val);return n}const ge={D:m,DD:f,DDD:g,DDDD:w,t:p,tt:M,ttt:k,tttt:S,T:N,TT:T,TTT:b,TTTT:v,f:E,ff:D,fff:x,ffff:W,F:$,FF:O,FFF:F,FFFF:Z};class we{static create(t,e={}){return new we(t,e)}static parseFormat(t){let e=null,n="",r=!1;const s=[];for(let i=0;i<t.length;i++){const u=t.charAt(i);"'"===u?(n.length>0&&s.push({literal:r||/^\s+$/.test(n),val:n}),e=null,n="",r=!r):r||u===e?n+=u:(n.length>0&&s.push({literal:/^\s+$/.test(n),val:n}),n=u,e=u)}return n.length>0&&s.push({literal:r||/^\s+$/.test(n),val:n}),s}static macroTokenToFormatOpts(t){return ge[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ht(t,e);const n={...this.opts};return e>0&&(n.padTo=e),this.loc.numberFormatter(n).format(t)}formatDateTimeFromString(t,e){const n="en"===this.loc.listingMode(),r=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,n)=>this.loc.extract(t,e,n),i=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",u=(e,r)=>n?function(t,e){return ie(e)[t.month-1]}(t,e):s(r?{month:e}:{month:e,day:"numeric"},"month"),o=(e,r)=>n?function(t,e){return ce(e)[t.weekday-1]}(t,e):s(r?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),a=e=>{const n=we.macroTokenToFormatOpts(e);return n?this.formatWithSystemDefault(t,n):e},c=e=>n?function(t,e){return fe(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ye(we.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return n?function(t){return he[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return r?s({day:"numeric"},"day"):this.num(t.day);case"dd":return r?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return o("short",!0);case"cccc":return o("long",!0);case"ccccc":return o("narrow",!0);case"EEE":return o("short",!1);case"EEEE":return o("long",!1);case"EEEEE":return o("narrow",!1);case"L":return r?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return r?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return r?s({month:"numeric"},"month"):this.num(t.month);case"MM":return r?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return r?s({year:"numeric"},"year"):this.num(t.year);case"yy":return r?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return r?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return r?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return c("short");case"GG":return c("long");case"GGGGG":return c("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return a(e)}}))}formatDurationFromString(t,e){const n=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},r=we.parseFormat(e),s=r.reduce(((t,{literal:e,val:n})=>e?t:t.concat(n)),[]);return ye(r,(t=>e=>{const r=n(e);return r?this.num(t.get(r),e.length):e})(t.shiftTo(...s.map(n).filter((t=>t)))))}}const pe=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Me(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function ke(...t){return e=>t.reduce((([t,n,r],s)=>{const[i,u,o]=s(e,r);return[{...t,...i},u||n,o]}),[{},null,1]).slice(0,2)}function Se(t,...e){if(null==t)return[null,null];for(const[n,r]of e){const e=n.exec(t);if(e)return r(e)}return[null,null]}function Ne(...t){return(e,n)=>{const r={};let s;for(s=0;s<t.length;s++)r[t[s]]=_t(e[n+s]);return[r,null,n+s]}}const Te=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,be=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,ve=RegExp(`${be.source}(?:${Te.source}?(?:\\[(${pe.source})\\])?)?`),Ee=RegExp(`(?:T${ve.source})?`),$e=Ne("weekYear","weekNumber","weekDay"),De=Ne("year","ordinal"),Oe=RegExp(`${be.source} ?(?:${Te.source}|(${pe.source}))?`),Ie=RegExp(`(?: ${Oe.source})?`);function xe(t,e,n){const r=t[e];return Ot(r)?n:_t(r)}function Fe(t,e){return[{hours:xe(t,e,0),minutes:xe(t,e+1,0),seconds:xe(t,e+2,0),milliseconds:qt(t[e+3])},null,e+4]}function We(t,e){const n=!t[e]&&!t[e+1],r=Qt(t[e+1],t[e+2]);return[{},n?null:nt.instance(r),e+3]}function Ze(t,e){return[{},t[e]?q.create(t[e]):null,e+1]}const Le=RegExp(`^T?${be.source}$`),Ce=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ae(t){const[e,n,r,s,i,u,o,a,c]=t,h="-"===e[0],l=a&&"-"===a[0],d=(t,e=!1)=>void 0!==t&&(e||t&&h)?-t:t;return[{years:d(jt(n)),months:d(jt(r)),weeks:d(jt(s)),days:d(jt(i)),hours:d(jt(u)),minutes:d(jt(o)),seconds:d(jt(a),"-0"===a),milliseconds:d(qt(c),l)}]}const He={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _e(t,e,n,r,s,i,u){const o={year:2===e.length?Vt(_t(e)):_t(e),month:re.indexOf(n)+1,day:_t(r),hour:_t(s),minute:_t(i)};return u&&(o.second=_t(u)),t&&(o.weekday=t.length>3?ue.indexOf(t)+1:oe.indexOf(t)+1),o}const je=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function qe(t){const[,e,n,r,s,i,u,o,a,c,h,l]=t,d=_e(e,s,r,n,i,u,o);let m;return m=a?He[a]:c?0:Qt(h,l),[d,new nt(m)]}const ze=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ue=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Je=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Re(t){const[,e,n,r,s,i,u,o]=t;return[_e(e,s,r,n,i,u,o),nt.utcInstance]}function Ge(t){const[,e,n,r,s,i,u,o]=t;return[_e(e,o,n,r,s,i,u),nt.utcInstance]}const Pe=Me(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Ee),Ye=Me(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Ee),Ve=Me(/(\d{4})-?(\d{3})/,Ee),Be=Me(ve),Qe=ke((function(t,e){return[{year:xe(t,e),month:xe(t,e+1,1),day:xe(t,e+2,1)},null,e+3]}),Fe,We,Ze),Ke=ke($e,Fe,We,Ze),Xe=ke(De,Fe,We,Ze),tn=ke(Fe,We,Ze),en=ke(Fe),nn=Me(/(\d{4})-(\d\d)-(\d\d)/,Ie),rn=Me(Oe),sn=ke(Fe,We,Ze),un="Invalid Duration",on={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},an={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...on},cn={years:{quarters:4,months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...on},hn=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],ln=hn.slice(0).reverse();function dn(t,e,n=!1){const r={values:n?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new yn(r)}function mn(t,e){let n=e.milliseconds??0;for(const r of ln.slice(1))e[r]&&(n+=e[r]*t[r].milliseconds);return n}function fn(t,e){const n=mn(t,e)<0?-1:1;hn.reduceRight(((r,s)=>{if(Ot(e[s]))return r;if(r){const i=t[s][r],u=Math.floor(e[r]*n/i);e[s]+=u*n,e[r]-=u*i*n}return s}),null),hn.reduce(((n,r)=>{if(Ot(e[r]))return n;if(n){const s=e[n]%1;e[n]-=s,e[r]+=s*t[n][r]}return r}),null)}class yn{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let n=e?cn:an;t.matrix&&(n=t.matrix),this.values=t.values,this.loc=t.loc||tt.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(t,e){return yn.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new a("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new yn({values:Xt(t,yn.normalizeUnit),loc:tt.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(It(t))return yn.fromMillis(t);if(yn.isDuration(t))return t;if("object"==typeof t)return yn.fromObject(t);throw new a(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[n]=function(t){return Se(t,[Ce,Ae])}(t);return n?yn.fromObject(n,e):yn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[n]=function(t){return Se(t,[Le,en])}(t);return n?yn.fromObject(n,e):yn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new a("need to specify a reason the Duration is invalid");const n=t instanceof ft?t:new ft(t,e);if(mt.throwOnInvalid)throw new i(n);return new yn({invalid:n})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new o(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const n={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?we.create(this.loc,n).formatDurationFromString(this,t):un}toHuman(t={}){if(!this.isValid)return un;const e=hn.map((e=>{const n=this.values[e];return Ot(n)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(n)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=zt(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();return e<0||e>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},ur.fromMillis(e,{zone:"UTC"}).toISOTime(t))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?mn(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=yn.fromDurationLike(t),n={};for(const t of hn)(Lt(e.values,t)||Lt(this.values,t))&&(n[t]=e.get(t)+this.get(t));return dn(this,{values:n},!0)}minus(t){if(!this.isValid)return this;const e=yn.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const n of Object.keys(this.values))e[n]=Kt(t(this.values[n],n));return dn(this,{values:e},!0)}get(t){return this[yn.normalizeUnit(t)]}set(t){return this.isValid?dn(this,{values:{...this.values,...Xt(t,yn.normalizeUnit)}}):this}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:n,matrix:r}={}){return dn(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:r,conversionAccuracy:n})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return fn(this.matrix,t),dn(this,{values:t},!0)}rescale(){return this.isValid?dn(this,{values:function(t){const e={};for(const[n,r]of Object.entries(t))0!==r&&(e[n]=r);return e}(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>yn.normalizeUnit(t)));const e={},n={},r=this.toObject();let s;for(const i of hn)if(t.indexOf(i)>=0){s=i;let t=0;for(const e in n)t+=this.matrix[e][i]*n[e],n[e]=0;It(r[i])&&(t+=r[i]);const u=Math.trunc(t);e[i]=u,n[i]=(1e3*t-1e3*u)/1e3}else It(r[i])&&(n[i]=r[i]);for(const t in n)0!==n[t]&&(e[s]+=t===s?n[t]:n[t]/this.matrix[s][t]);return fn(this.matrix,e),dn(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return dn(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const r of hn)if(n=t.values[r],!(void 0===(e=this.values[r])||0===e?void 0===n||0===n:e===n))return!1;var e,n;return!0}}const gn="Invalid Interval";class wn{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new a("need to specify a reason the Interval is invalid");const n=t instanceof ft?t:new ft(t,e);if(mt.throwOnInvalid)throw new s(n);return new wn({invalid:n})}static fromDateTimes(t,e){const n=or(t),r=or(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?wn.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:wn.invalid("missing or invalid end"):wn.invalid("missing or invalid start")}(n,r);return null==s?new wn({start:n,end:r}):s}static after(t,e){const n=yn.fromDurationLike(e),r=or(t);return wn.fromDateTimes(r,r.plus(n))}static before(t,e){const n=yn.fromDurationLike(e),r=or(t);return wn.fromDateTimes(r.minus(n),r)}static fromISO(t,e){const[n,r]=(t||"").split("/",2);if(n&&r){let t,s,i,u;try{t=ur.fromISO(n,e),s=t.isValid}catch(r){s=!1}try{i=ur.fromISO(r,e),u=i.isValid}catch(r){u=!1}if(s&&u)return wn.fromDateTimes(t,i);if(s){const n=yn.fromISO(r,e);if(n.isValid)return wn.after(t,n)}else if(u){const t=yn.fromISO(n,e);if(t.isValid)return wn.before(i,t)}}return wn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const n=this.start.startOf(t,e);let r;return r=e?.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end,r=r.startOf(t,e),Math.floor(r.diff(n,t).get(t))+(r.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&this.s<=t&&this.e>t}set({start:t,end:e}={}){return this.isValid?wn.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(or).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),n=[];let{s:r}=this,s=0;for(;r<this.e;){const t=e[s]||this.e,i=+t>+this.e?this.e:t;n.push(wn.fromDateTimes(r,i)),r=i,s+=1}return n}splitBy(t){const e=yn.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let n,{s:r}=this,s=1;const i=[];for(;r<this.e;){const t=this.start.plus(e.mapUnits((t=>t*s)));n=+t>+this.e?this.e:t,i.push(wn.fromDateTimes(r,n)),r=n,s+=1}return i}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&this.s<=t.s&&this.e>=t.e}equals(t){return!(!this.isValid||!t.isValid)&&this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,n=this.e<t.e?this.e:t.e;return e>=n?null:wn.fromDateTimes(e,n)}union(t){return this.isValid?wn.fromDateTimes(this.s<t.s?this.s:t.s,this.e>t.e?this.e:t.e):this}static merge(t){const[e,n]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],n)=>e?e.overlaps(n)||e.abutsStart(n)?[t,e.union(n)]:[t.concat([e]),n]:[t,n]),[[],null]);return n&&e.push(n),e}static xor(t){let e=null,n=0;const r=[],s=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),i=Array.prototype.concat(...s).sort(((t,e)=>t.time-e.time));for(const t of i)n+="s"===t.type?1:-1,1===n?e=t.time:(e&&+e!=+t.time&&r.push(wn.fromDateTimes(e,t.time)),e=null);return wn.merge(r)}difference(...t){return wn.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:gn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=m,e={}){return this.isValid?we.create(this.s.loc.clone(e),t).formatInterval(this):gn}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:gn}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:gn}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:gn}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:gn}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):yn.invalid(this.invalidReason)}mapEndpoints(t){return wn.fromDateTimes(t(this.s),t(this.e))}}class pn{static hasDST(t=mt.defaultZone){const e=ur.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return q.isValidZone(t)}static normalizeZone(t){return st(t,mt.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||tt.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||tt.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||tt.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||tt.create(e,n,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||tt.create(e,n,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null}={}){return(r||tt.create(e,n,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null}={}){return(r||tt.create(e,n,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return tt.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return tt.create(e,null,"gregory").eras(t)}static features(){return{relative:Ft(),localeWeek:Wt()}}}function Mn(t,e){const n=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(e)-n(t);return Math.floor(yn.fromMillis(r).as("days"))}const kn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Sn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Nn=kn.hanidec.replace(/[\[|\]]/g,"").split("");function Tn({numberingSystem:t},e=""){return new RegExp(`${kn[t||"latn"]}${e}`)}function bn(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let n=0;n<t.length;n++){const r=t.charCodeAt(n);if(-1!==t[n].search(kn.hanidec))e+=Nn.indexOf(t[n]);else for(const t in Sn){const[n,s]=Sn[t];r>=n&&r<=s&&(e+=r-n)}}return parseInt(e,10)}return e}(t))}}const vn=`[ ${String.fromCharCode(160)}]`,En=new RegExp(vn,"g");function $n(t){return t.replace(/\./g,"\\.?").replace(En,vn)}function Dn(t){return t.replace(/\./g,"").replace(En," ").toLowerCase()}function On(t,e){return null===t?null:{regex:RegExp(t.map($n).join("|")),deser:([n])=>t.findIndex((t=>Dn(n)===Dn(t)))+e}}function In(t,e){return{regex:t,deser:([,t,e])=>Qt(t,e),groups:e}}function xn(t){return{regex:t,deser:([t])=>t}}const Fn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Wn=null;function Zn(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const n=Cn(we.macroTokenToFormatOpts(t.val),e);return null==n||n.includes(void 0)?t:n}(t,e))))}function Ln(t,e,n){const r=Zn(we.parseFormat(n),t),s=r.map((e=>function(t,e){const n=Tn(e),r=Tn(e,"{2}"),s=Tn(e,"{3}"),i=Tn(e,"{4}"),u=Tn(e,"{6}"),o=Tn(e,"{1,2}"),a=Tn(e,"{1,3}"),c=Tn(e,"{1,6}"),h=Tn(e,"{1,9}"),l=Tn(e,"{2,4}"),d=Tn(e,"{4,6}"),m=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},f=(f=>{if(t.literal)return m(f);switch(f.val){case"G":return On(e.eras("short"),0);case"GG":return On(e.eras("long"),0);case"y":return bn(c);case"yy":case"kk":return bn(l,Vt);case"yyyy":case"kkkk":return bn(i);case"yyyyy":return bn(d);case"yyyyyy":return bn(u);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return bn(o);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return bn(r);case"MMM":return On(e.months("short",!0),1);case"MMMM":return On(e.months("long",!0),1);case"LLL":return On(e.months("short",!1),1);case"LLLL":return On(e.months("long",!1),1);case"o":case"S":return bn(a);case"ooo":case"SSS":return bn(s);case"u":return xn(h);case"uu":return xn(o);case"uuu":case"E":case"c":return bn(n);case"a":return On(e.meridiems(),0);case"EEE":return On(e.weekdays("short",!1),1);case"EEEE":return On(e.weekdays("long",!1),1);case"ccc":return On(e.weekdays("short",!0),1);case"cccc":return On(e.weekdays("long",!0),1);case"Z":case"ZZ":return In(new RegExp(`([+-]${o.source})(?::(${r.source}))?`),2);case"ZZZ":return In(new RegExp(`([+-]${o.source})(${r.source})?`),2);case"z":return xn(/[a-z_+-/]{1,256}?/i);case" ":return xn(/[^\S\n\r]/);default:return m(f)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return f.token=t,f}(e,t))),i=s.find((t=>t.invalidReason));if(i)return{input:e,tokens:r,invalidReason:i.invalidReason};{const[t,n]=function(t){return[`^${t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"")}$`,t]}(s),i=RegExp(t,"i"),[o,a]=function(t,e,n){const r=t.match(e);if(r){const t={};let e=1;for(const s in n)if(Lt(n,s)){const i=n[s],u=i.groups?i.groups+1:1;!i.literal&&i.token&&(t[i.token.val[0]]=i.deser(r.slice(e,e+u))),e+=u}return[r,t]}return[r,{}]}(e,i,n),[c,h,l]=a?function(t){let e,n=null;return Ot(t.z)||(n=q.create(t.z)),Ot(t.Z)||(n||(n=new nt(t.Z)),e=t.Z),Ot(t.q)||(t.M=3*(t.q-1)+1),Ot(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Ot(t.u)||(t.S=qt(t.u)),[Object.keys(t).reduce(((e,n)=>{const r=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(n);return r&&(e[r]=t[n]),e}),{}),n,e]}(a):[null,null,void 0];if(Lt(a,"a")&&Lt(a,"H"))throw new u("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:r,regex:i,rawMatches:o,matches:a,result:c,zone:h,specificOffset:l}}}function Cn(t,e){if(!t)return null;const n=we.create(e,t).dtFormatter((Wn||(Wn=ur.fromMillis(1555555555555)),Wn)),r=n.formatToParts(),s=n.resolvedOptions();return r.map((e=>function(t,e,n){const{type:r,value:s}=t;if("literal"===r){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}let i=r;"hour"===r&&(i=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":n.hour12?"hour12":"hour24");let u=Fn[i];if("object"==typeof u&&(u=u[e[r]]),u)return{literal:!1,val:u}}(e,t,s)))}const An="Invalid DateTime";function Hn(t){return new ft("unsupported zone",`the zone "${t.name}" is not supported`)}function _n(t){return null===t.weekData&&(t.weekData=Nt(t.c)),t.weekData}function jn(t){return null===t.localWeekData&&(t.localWeekData=Nt(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qn(t,e){const n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new ur({...n,...e,old:n})}function zn(t,e,n){let r=t-60*e*1e3;const s=n.offset(r);if(e===s)return[r,e];r-=60*(s-e)*1e3;const i=n.offset(r);return s===i?[r,s]:[t-60*Math.min(s,i)*1e3,Math.max(s,i)]}function Un(t,e){const n=new Date(t+=60*e*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Jn(t,e,n){return zn(Gt(t),e,n)}function Rn(t,e){const n=t.o,r=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),i={...t.c,year:r,month:s,day:Math.min(t.c.day,Rt(r,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},u=yn.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),o=Gt(i);let[a,c]=zn(o,n,t.zone);return 0!==u&&(a+=u,c=t.zone.offset(a)),{ts:a,o:c}}function Gn(t,e,n,r,s,i){const{setZone:u,zone:o}=n;if(t&&0!==Object.keys(t).length||e){const r=e||o,s=ur.fromObject(t,{...n,zone:r,specificOffset:i});return u?s:s.setZone(o)}return ur.invalid(new ft("unparsable",`the input "${s}" can't be parsed as ${r}`))}function Pn(t,e,n=!0){return t.isValid?we.create(tt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Yn(t,e){const n=t.c.year>9999||t.c.year<0;let r="";return n&&t.c.year>=0&&(r+="+"),r+=Ht(t.c.year,n?6:4),e?(r+="-",r+=Ht(t.c.month),r+="-",r+=Ht(t.c.day)):(r+=Ht(t.c.month),r+=Ht(t.c.day)),r}function Vn(t,e,n,r,s,i){let u=Ht(t.c.hour);return e?(u+=":",u+=Ht(t.c.minute),0===t.c.millisecond&&0===t.c.second&&n||(u+=":")):u+=Ht(t.c.minute),0===t.c.millisecond&&0===t.c.second&&n||(u+=Ht(t.c.second),0===t.c.millisecond&&r||(u+=".",u+=Ht(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!i?u+="Z":t.o<0?(u+="-",u+=Ht(Math.trunc(-t.o/60)),u+=":",u+=Ht(Math.trunc(-t.o%60))):(u+="+",u+=Ht(Math.trunc(t.o/60)),u+=":",u+=Ht(Math.trunc(t.o%60)))),i&&(u+="["+t.zone.ianaName+"]"),u}const Bn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Qn={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Kn={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Xn=["year","month","day","hour","minute","second","millisecond"],tr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],er=["year","ordinal","hour","minute","second","millisecond"];function nr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new o(t);return e}(t)}}function rr(t,e){const n=st(e.zone,mt.defaultZone),r=tt.fromObject(e),s=mt.now();let i,u;if(Ot(t.year))i=s;else{for(const e of Xn)Ot(t[e])&&(t[e]=Bn[e]);const e=$t(t)||Dt(t);if(e)return ur.invalid(e);const r=n.offset(s);[i,u]=Jn(t,r,n)}return new ur({ts:i,zone:n,loc:r,o:u})}function sr(t,e,n){const r=!!Ot(n.round)||n.round,s=(t,s)=>(t=zt(t,r||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(t,s)),i=r=>n.calendary?e.hasSame(t,r)?0:e.startOf(r).diff(t.startOf(r),r).get(r):e.diff(t,r).get(r);if(n.unit)return s(i(n.unit),n.unit);for(const t of n.units){const e=i(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,n.units[n.units.length-1])}function ir(t){let e,n={};return t.length>0&&"object"==typeof t[t.length-1]?(n=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[n,e]}class ur{constructor(t){const e=t.zone||mt.defaultZone;let n=t.invalid||(Number.isNaN(t.ts)?new ft("invalid input"):null)||(e.isValid?null:Hn(e));this.ts=Ot(t.ts)?mt.now():t.ts;let r=null,s=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[r,s]=[t.old.c,t.old.o];else{const t=e.offset(this.ts);r=Un(this.ts,t),n=Number.isNaN(r.year)?new ft("invalid input"):null,r=n?null:r,s=n?null:t}this._zone=e,this.loc=t.loc||tt.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=r,this.o=s,this.isLuxonDateTime=!0}static now(){return new ur({})}static local(){const[t,e]=ir(arguments),[n,r,s,i,u,o,a]=e;return rr({year:n,month:r,day:s,hour:i,minute:u,second:o,millisecond:a},t)}static utc(){const[t,e]=ir(arguments),[n,r,s,i,u,o,a]=e;return t.zone=nt.utcInstance,rr({year:n,month:r,day:s,hour:i,minute:u,second:o,millisecond:a},t)}static fromJSDate(t,e={}){const n="[object Date]"===Object.prototype.toString.call(t)?t.valueOf():NaN;if(Number.isNaN(n))return ur.invalid("invalid input");const r=st(e.zone,mt.defaultZone);return r.isValid?new ur({ts:n,zone:r,loc:tt.fromObject(e)}):ur.invalid(Hn(r))}static fromMillis(t,e={}){if(It(t))return t<-864e13||t>864e13?ur.invalid("Timestamp out of range"):new ur({ts:t,zone:st(e.zone,mt.defaultZone),loc:tt.fromObject(e)});throw new a(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(It(t))return new ur({ts:1e3*t,zone:st(e.zone,mt.defaultZone),loc:tt.fromObject(e)});throw new a("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const n=st(e.zone,mt.defaultZone);if(!n.isValid)return ur.invalid(Hn(n));const r=tt.fromObject(e),s=Xt(t,nr),{minDaysInFirstWeek:i,startOfWeek:o}=Et(s,r),a=mt.now(),c=Ot(e.specificOffset)?n.offset(a):e.specificOffset,h=!Ot(s.ordinal),l=!Ot(s.year),d=!Ot(s.month)||!Ot(s.day),m=l||d,f=s.weekYear||s.weekNumber;if((m||h)&&f)throw new u("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&h)throw new u("Can't mix ordinal dates with month/day");const y=f||s.weekday&&!m;let g,w,p=Un(a,c);y?(g=tr,w=Qn,p=Nt(p,i,o)):h?(g=er,w=Kn,p=bt(p)):(g=Xn,w=Bn);let M=!1;for(const t of g)Ot(s[t])?s[t]=M?w[t]:p[t]:M=!0;const k=y?function(t,e=4,n=1){const r=xt(t.weekYear),s=At(t.weekNumber,1,Yt(t.weekYear,e,n)),i=At(t.weekday,1,7);return r?s?!i&&wt("weekday",t.weekday):wt("week",t.weekNumber):wt("weekYear",t.weekYear)}(s,i,o):h?function(t){const e=xt(t.year),n=At(t.ordinal,1,Jt(t.year));return e?!n&&wt("ordinal",t.ordinal):wt("year",t.year)}(s):$t(s),S=k||Dt(s);if(S)return ur.invalid(S);const N=y?Tt(s,i,o):h?vt(s):s,[T,b]=Jn(N,c,n),v=new ur({ts:T,zone:n,o:b,loc:r});return s.weekday&&m&&t.weekday!==v.weekday?ur.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${v.toISO()}`):v}static fromISO(t,e={}){const[n,r]=function(t){return Se(t,[Pe,Qe],[Ye,Ke],[Ve,Xe],[Be,tn])}(t);return Gn(n,r,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[n,r]=function(t){return Se(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[je,qe])}(t);return Gn(n,r,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[n,r]=function(t){return Se(t,[ze,Re],[Ue,Re],[Je,Ge])}(t);return Gn(n,r,e,"HTTP",e)}static fromFormat(t,e,n={}){if(Ot(t)||Ot(e))throw new a("fromFormat requires an input string and a format");const{locale:r=null,numberingSystem:s=null}=n,i=tt.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),[u,o,c,h]=function(t,e,n){const{result:r,zone:s,specificOffset:i,invalidReason:u}=Ln(t,e,n);return[r,s,i,u]}(i,t,e);return h?ur.invalid(h):Gn(u,o,n,`format ${e}`,t,c)}static fromString(t,e,n={}){return ur.fromFormat(t,e,n)}static fromSQL(t,e={}){const[n,r]=function(t){return Se(t,[nn,Qe],[rn,sn])}(t);return Gn(n,r,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new a("need to specify a reason the DateTime is invalid");const n=t instanceof ft?t:new ft(t,e);if(mt.throwOnInvalid)throw new r(n);return new ur({invalid:n})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const n=Cn(t,tt.fromObject(e));return n?n.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Zn(we.parseFormat(t),tt.fromObject(e)).map((t=>t.val)).join("")}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?_n(this).weekYear:NaN}get weekNumber(){return this.isValid?_n(this).weekNumber:NaN}get weekday(){return this.isValid?_n(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?jn(this).weekday:NaN}get localWeekNumber(){return this.isValid?jn(this).weekNumber:NaN}get localWeekYear(){return this.isValid?jn(this).weekYear:NaN}get ordinal(){return this.isValid?bt(this.c).ordinal:NaN}get monthShort(){return this.isValid?pn.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?pn.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?pn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?pn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,n=Gt(this.c),r=this.zone.offset(n-t),s=this.zone.offset(n+t),i=this.zone.offset(n-r*e),u=this.zone.offset(n-s*e);if(i===u)return[this];const o=n-i*e,a=n-u*e,c=Un(o,i),h=Un(a,u);return c.hour===h.hour&&c.minute===h.minute&&c.second===h.second&&c.millisecond===h.millisecond?[qn(this,{ts:o}),qn(this,{ts:a})]:[this]}get isInLeapYear(){return Ut(this.year)}get daysInMonth(){return Rt(this.year,this.month)}get daysInYear(){return this.isValid?Jt(this.year):NaN}get weeksInWeekYear(){return this.isValid?Yt(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Yt(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:n,calendar:r}=we.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:n,outputCalendar:r}}toUTC(t=0,e={}){return this.setZone(nt.instance(t),e)}toLocal(){return this.setZone(mt.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:n=!1}={}){if((t=st(t,mt.defaultZone)).equals(this.zone))return this;if(t.isValid){let r=this.ts;if(e||n){const e=t.offset(this.ts),n=this.toObject();[r]=Jn(n,e,t)}return qn(this,{ts:r,zone:t})}return ur.invalid(Hn(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:n}={}){return qn(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:n})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=Xt(t,nr),{minDaysInFirstWeek:n,startOfWeek:r}=Et(e,this.loc),s=!Ot(e.weekYear)||!Ot(e.weekNumber)||!Ot(e.weekday),i=!Ot(e.ordinal),o=!Ot(e.year),a=!Ot(e.month)||!Ot(e.day);if((o||a||i)&&(e.weekYear||e.weekNumber))throw new u("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&i)throw new u("Can't mix ordinal dates with month/day");let c;s?c=Tt({...Nt(this.c,n,r),...e},n,r):Ot(e.ordinal)?(c={...this.toObject(),...e},Ot(e.day)&&(c.day=Math.min(Rt(c.year,c.month),c.day))):c=vt({...bt(this.c),...e});const[h,l]=Jn(c,this.o,this.zone);return qn(this,{ts:h,o:l})}plus(t){return this.isValid?qn(this,Rn(this,yn.fromDurationLike(t))):this}minus(t){return this.isValid?qn(this,Rn(this,yn.fromDurationLike(t).negate())):this}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const n={},r=yn.normalizeUnit(t);switch(r){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0}if("weeks"===r)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(n.weekNumber=this.weekNumber-1),n.weekday=t}else n.weekday=1;if("quarters"===r){const t=Math.ceil(this.month/3);n.month=3*(t-1)+1}return this.set(n)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?we.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):An}toLocaleString(t=m,e={}){return this.isValid?we.create(this.loc.clone(e),t).formatDateTime(this):An}toLocaleParts(t={}){return this.isValid?we.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:n=!1,includeOffset:r=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const i="extended"===t;let u=Yn(this,i);return u+="T",u+=Vn(this,i,e,n,r,s),u}toISODate({format:t="extended"}={}){return this.isValid?Yn(this,"extended"===t):null}toISOWeekDate(){return Pn(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:n=!0,includePrefix:r=!1,extendedZone:s=!1,format:i="extended"}={}){return this.isValid?(r?"T":"")+Vn(this,"extended"===i,e,t,n,s):null}toRFC2822(){return Pn(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Pn(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Yn(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:n=!0}={}){let r="HH:mm:ss.SSS";return(e||t)&&(n&&(r+=" "),e?r+="z":t&&(r+="ZZ")),Pn(this,r,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():An}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",n={}){if(!this.isValid||!t.isValid)return yn.invalid("created by diffing an invalid DateTime");const r={locale:this.locale,numberingSystem:this.numberingSystem,...n},s=(o=e,Array.isArray(o)?o:[o]).map(yn.normalizeUnit),i=t.valueOf()>this.valueOf(),u=function(t,e,n,r){let[s,i,u,o]=function(t,e,n){const r=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const n=Mn(t,e);return(n-n%7)/7}],["days",Mn]],s={},i=t;let u,o;for(const[a,c]of r)n.indexOf(a)>=0&&(u=a,s[a]=c(t,e),o=i.plus(s),o>e?(s[a]--,(t=i.plus(s))>e&&(o=t,s[a]--,t=i.plus(s))):t=o);return[t,s,o,u]}(t,e,n);const a=e-s,c=n.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===c.length&&(u<e&&(u=s.plus({[o]:1})),u!==s&&(i[o]=(i[o]||0)+a/(u-s)));const h=yn.fromObject(i,r);return c.length>0?yn.fromMillis(a,r).shiftTo(...c).plus(h):h}(i?this:t,i?t:this,s,r);var o;return i?u.negate():u}diffNow(t="milliseconds",e={}){return this.diff(ur.now(),t,e)}until(t){return this.isValid?wn.fromDateTimes(this,t):this}hasSame(t,e,n){if(!this.isValid)return!1;const r=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,n)<=r&&r<=s.endOf(e,n)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||ur.fromObject({},{zone:this.zone}),n=t.padding?this<e?-t.padding:t.padding:0;let r=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(r=t.unit,s=void 0),sr(e,this.plus(n),{...t,numeric:"always",units:r,unit:s})}toRelativeCalendar(t={}){return this.isValid?sr(t.base||ur.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(ur.isDateTime))throw new a("min requires all arguments be DateTimes");return Zt(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(ur.isDateTime))throw new a("max requires all arguments be DateTimes");return Zt(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,n={}){const{locale:r=null,numberingSystem:s=null}=n;return Ln(tt.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,n={}){return ur.fromFormatExplain(t,e,n)}static get DATE_SHORT(){return m}static get DATE_MED(){return f}static get DATE_MED_WITH_WEEKDAY(){return y}static get DATE_FULL(){return g}static get DATE_HUGE(){return w}static get TIME_SIMPLE(){return p}static get TIME_WITH_SECONDS(){return M}static get TIME_WITH_SHORT_OFFSET(){return k}static get TIME_WITH_LONG_OFFSET(){return S}static get TIME_24_SIMPLE(){return N}static get TIME_24_WITH_SECONDS(){return T}static get TIME_24_WITH_SHORT_OFFSET(){return b}static get TIME_24_WITH_LONG_OFFSET(){return v}static get DATETIME_SHORT(){return E}static get DATETIME_SHORT_WITH_SECONDS(){return $}static get DATETIME_MED(){return D}static get DATETIME_MED_WITH_SECONDS(){return O}static get DATETIME_MED_WITH_WEEKDAY(){return I}static get DATETIME_FULL(){return x}static get DATETIME_FULL_WITH_SECONDS(){return F}static get DATETIME_HUGE(){return W}static get DATETIME_HUGE_WITH_SECONDS(){return Z}}function or(t){if(ur.isDateTime(t))return t;if(t&&t.valueOf&&It(t.valueOf()))return ur.fromJSDate(t);if(t&&"object"==typeof t)return ur.fromObject(t);throw new a(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function ar(t="de-CH"){return new Intl.DateTimeFormat(function(t="de-CH"){const[,e]=t.split("-");return"CH"===e?"fr-CH":"BE"===e?"fr-BE":"LU"===e?"fr-LU":t}(t)).format(new Date).replace(/\p{Number}/gu,"").charAt(0)}class cr{static setTwoDigitCutoffYear(t=10){mt.twoDigitCutoffYear=(new Date).getFullYear()%100+t}static fromAnyFormat(e){const n=e.replace(/[0-9]/g,"").charAt(0),r=t(),s=(null==r?void 0:r.locale)||"de-CH",i=e.split(n),u=i.length;if(2===u){const t=(new Date).getFullYear();return new cr(ur.fromFormat(`${i[0]}${n}${i[1]}${n}${t}`,`d${n}M${n}yy`,{locale:s}))}if(3===u){if(1===i[2].length)return new cr(ur.fromFormat(`${i[0]}${n}${i[1]}${n}${2e3+parseInt(i[2],10)}`,`d${n}M${n}yy`,{locale:s}));if(""===i[2]){const t=(new Date).getFullYear();return new cr(ur.fromFormat(`${i[0]}${n}${i[1]}${n}${t}`,`d${n}M${n}yy`,{locale:s}))}}return new cr(ur.fromFormat(e,`d${n}M${n}yy`,{locale:s}))}static fromISO(t){return new cr(ur.fromISO(t||""))}static infoMonths({format:e,locale:n}={}){const r=t();return pn.months(e||"long",{locale:n||(null==r?void 0:r.locale)||"de-CH"})}static infoWeekdays({format:e,locale:n}={}){const r=t();return pn.weekdays(e,{locale:n||(null==r?void 0:r.locale)||"de-CH"})}constructor(t){this.dt=t}get isValid(){return this.dt.isValid}toISO(){return this.isValid?this.dt.toISO():""}toISODate(){return this.isValid?this.dt.toISODate():""}toFormat(){if(this.isValid){const e=t(),n=ar((null==e?void 0:e.locale)||"de-CH");return this.dt.toFormat(`dd${n}MM${n}yyyy`)}return""}isBefore(t){const e=ur.fromISO(t||"");return!!e.isValid&&this.dt<e}isBeforeOrEqual(t){const e=ur.fromISO(t||"");return!!e.isValid&&this.dt<=e}isAfter(t){const e=ur.fromISO(t||"");return!!e.isValid&&this.dt>e}isAfterOrEqual(t){const e=ur.fromISO(t||"");return!!e.isValid&&this.dt>=e}get month(){if(this.isValid)return this.dt.month}get year(){if(this.isValid)return this.dt.year}}cr.setTwoDigitCutoffYear();export{cr as B,ar as d,e as i}
1
+ import{n as t}from"./p-BtpJmRB8.js";const e={en:{toggleDatepicker:"Open datepicker",nextMonth:"Next month",previousMonth:"Previous month",selectMonth:"Select month and year"},fr:{toggleDatepicker:"Ouvrir le sélecteur de dates",nextMonth:"Mois suivant",previousMonth:"Mois précédent",selectMonth:"Sélectionner le mois et l'année"},it:{toggleDatepicker:"Apri il selettore della data",nextMonth:"Mese successivo",previousMonth:"Mese precedente",selectMonth:"Seleziona mese e anno"},nl:{toggleDatepicker:"Open datumkiezer",nextMonth:"Volgende maand",previousMonth:"Vorige maand",selectMonth:"Selecteer maand en jaar"},es:{toggleDatepicker:"Abrir selector de fechas",nextMonth:"Mes siguiente",previousMonth:"Mes anterior",selectMonth:"Seleccionar mes y año"},pt:{toggleDatepicker:"Abrir seletor de datas",nextMonth:"Próximo mês",previousMonth:"Mês anterior",selectMonth:"Selecionar mês e ano"},sv:{toggleDatepicker:"Öppna datumväljare",nextMonth:"Nästa månad",previousMonth:"Föregående månad",selectMonth:"Välj månad och år"},fi:{toggleDatepicker:"Avaa päivämäärän valitsin",nextMonth:"Seuraava kuukausi",previousMonth:"Edellinen kuukausi",selectMonth:"Valitse kuukausi ja vuosi"},de:{toggleDatepicker:"Öffne den Datumswähler",nextMonth:"Nächster Monat",previousMonth:"Vormonat",selectMonth:"Monat und Jahr auswählen"},pl:{toggleDatepicker:"Otwórz wybierak daty",nextMonth:"Następny miesiąc",previousMonth:"Poprzedni miesiąc",selectMonth:"Wybierz miesiąc i rok"}};class n extends Error{}class r extends n{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class s extends n{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class i extends n{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class u extends n{}class o extends n{constructor(t){super(`Invalid unit ${t}`)}}class a extends n{}class c extends n{constructor(){super("Zone is an abstract class")}}const h="numeric",l="short",d="long",m={year:h,month:h,day:h},f={year:h,month:l,day:h},y={year:h,month:l,day:h,weekday:l},g={year:h,month:d,day:h},w={year:h,month:d,day:h,weekday:d},p={hour:h,minute:h},M={hour:h,minute:h,second:h},k={hour:h,minute:h,second:h,timeZoneName:l},S={hour:h,minute:h,second:h,timeZoneName:d},N={hour:h,minute:h,hourCycle:"h23"},T={hour:h,minute:h,second:h,hourCycle:"h23"},b={hour:h,minute:h,second:h,hourCycle:"h23",timeZoneName:l},v={hour:h,minute:h,second:h,hourCycle:"h23",timeZoneName:d},E={year:h,month:h,day:h,hour:h,minute:h},$={year:h,month:h,day:h,hour:h,minute:h,second:h},D={year:h,month:l,day:h,hour:h,minute:h},O={year:h,month:l,day:h,hour:h,minute:h,second:h},I={year:h,month:l,day:h,weekday:l,hour:h,minute:h},x={year:h,month:d,day:h,hour:h,minute:h,timeZoneName:l},F={year:h,month:d,day:h,hour:h,minute:h,second:h,timeZoneName:l},W={year:h,month:d,day:h,weekday:d,hour:h,minute:h,timeZoneName:d},Z={year:h,month:d,day:h,weekday:d,hour:h,minute:h,second:h,timeZoneName:d};class L{get type(){throw new c}get name(){throw new c}get ianaName(){return this.name}get isUniversal(){throw new c}offsetName(t,e){throw new c}formatOffset(t,e){throw new c}offset(t){throw new c}equals(t){throw new c}get isValid(){throw new c}}let C=null;class A extends L{static get instance(){return null===C&&(C=new A),C}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return Bt(t,e,n)}formatOffset(t,e){return te(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let _={};const H={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let j={};class q extends L{static create(t){return j[t]||(j[t]=new q(t)),j[t]}static resetCache(){j={},_={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=q.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return Bt(t,e,n,this.name)}formatOffset(t,e){return te(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const n=(_[r=this.name]||(_[r]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:r,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),_[r]);var r;let[s,i,u,o,a,c,h]=n.formatToParts?function(t,e){const n=t.formatToParts(e),r=[];for(let t=0;t<n.length;t++){const{type:e,value:s}=n[t],i=H[e];"era"===e?r[i]=s:Ot(i)||(r[i]=parseInt(s,10))}return r}(n,e):function(t,e){const n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,s,i,u,o,a,c,h]=r;return[u,s,i,o,a,c,h]}(n,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const d=l%1e3;return l-=d>=0?d:1e3+d,(Gt({year:s,month:i,day:u,hour:24===a?0:a,minute:c,second:h,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let z={},J={};function U(t,e={}){const n=JSON.stringify([t,e]);let r=J[n];return r||(r=new Intl.DateTimeFormat(t,e),J[n]=r),r}let R={},G={},P=null,Y={};function V(t,e,n,r){const s=t.listingMode();return"error"===s?null:"en"===s?n(e):r(e)}class B{constructor(t,e,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const{padTo:r,floor:s,...i}=n;if(!e||Object.keys(i).length>0){const e={useGrouping:!1,...n};n.padTo>0&&(e.minimumIntegerDigits=n.padTo),this.inf=function(t,e={}){const n=JSON.stringify([t,e]);let r=R[n];return r||(r=new Intl.NumberFormat(t,e),R[n]=r),r}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return _t(this.floor?Math.floor(t):zt(t,3),this.padTo)}}class Q{constructor(t,e,n){let r;if(this.opts=n,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,n=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&q.create(n).valid?(r=n,this.dt=t):(r="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,r=t.zone.name):(r="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||r,this.dtf=U(e,s)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class K{constructor(t,e,n){this.opts={style:"long",...n},!e&&Ft()&&(this.rtf=function(t,e={}){const{base:n,...r}=e,s=JSON.stringify([t,r]);let i=G[s];return i||(i=new Intl.RelativeTimeFormat(t,e),G[s]=i),i}(t,n))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,n="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===n&&i){const n="days"===t;switch(e){case 1:return n?"tomorrow":`next ${s[t][0]}`;case-1:return n?"yesterday":`last ${s[t][0]}`;case 0:return n?"today":`this ${s[t][0]}`}}const u=Object.is(e,-0)||e<0,o=Math.abs(e),a=1===o,c=s[t],h=r?a?c[1]:c[2]||c[1]:a?s[t][0]:t;return u?`${o} ${h} ago`:`in ${o} ${h}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const X={firstDay:1,minimalDays:4,weekend:[6,7]};class tt{static fromOpts(t){return tt.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,n,r,s=!1){const i=t||mt.defaultLocale,u=i||(s?"en-US":P||(P=(new Intl.DateTimeFormat).resolvedOptions().locale,P)),o=e||mt.defaultNumberingSystem,a=n||mt.defaultOutputCalendar,c=Ct(r)||mt.defaultWeekSettings;return new tt(u,o,a,c,i)}static resetCache(){P=null,J={},R={},G={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:n,weekSettings:r}={}){return tt.create(t,e,n,r)}constructor(t,e,n,r,s){const[i,u,o]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const n=t.indexOf("-u-");if(-1===n)return[t];{let e,r;try{e=U(t).resolvedOptions(),r=t}catch(s){const i=t.substring(0,n);e=U(i).resolvedOptions(),r=i}const{numberingSystem:s,calendar:i}=e;return[r,s,i]}}(t);this.locale=i,this.numberingSystem=e||u||null,this.outputCalendar=n||o||null,this.weekSettings=r,this.intl=function(t,e,n){return n||e?(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){return this.isEnglish()&&!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar)?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?tt.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ct(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return V(this,t,ie,(()=>{const n=e?{month:t,day:"numeric"}:{month:t},r=e?"format":"standalone";return this.monthsCache[r][t]||(this.monthsCache[r][t]=function(t){const e=[];for(let n=1;n<=12;n++){const r=ur.utc(2009,n,1);e.push(t(r))}return e}((t=>this.extract(t,n,"month")))),this.monthsCache[r][t]}))}weekdays(t,e=!1){return V(this,t,ce,(()=>{const n=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},r=e?"format":"standalone";return this.weekdaysCache[r][t]||(this.weekdaysCache[r][t]=function(t){const e=[];for(let n=1;n<=7;n++){const r=ur.utc(2016,11,13+n);e.push(t(r))}return e}((t=>this.extract(t,n,"weekday")))),this.weekdaysCache[r][t]}))}meridiems(){return V(this,void 0,(()=>he),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ur.utc(2016,11,13,9),ur.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return V(this,t,fe,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[ur.utc(-40,1,1),ur.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,n){const r=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===n));return r?r.value:null}numberFormatter(t={}){return new B(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Q(t,this.intl,e)}relFormatter(t={}){return new K(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const n=JSON.stringify([t,e]);let r=z[n];return r||(r=new Intl.ListFormat(t,e),z[n]=r),r}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Wt()?function(t){let e=Y[t];if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,Y[t]=e}return e}(this.locale):X}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}let et=null;class nt extends L{static get utcInstance(){return null===et&&(et=new nt(0)),et}static instance(t){return 0===t?nt.utcInstance:new nt(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new nt(Qt(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${te(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${te(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return te(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class rt extends L{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function st(t,e){if(Ot(t)||null===t)return e;if(t instanceof L)return t;if("string"==typeof t){const n=t.toLowerCase();return"default"===n?e:"local"===n||"system"===n?A.instance:"utc"===n||"gmt"===n?nt.utcInstance:nt.parseSpecifier(n)||q.create(t)}return It(t)?nt.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new rt(t)}let it,ut=()=>Date.now(),ot="system",at=null,ct=null,ht=null,lt=60,dt=null;class mt{static get now(){return ut}static set now(t){ut=t}static set defaultZone(t){ot=t}static get defaultZone(){return st(ot,A.instance)}static get defaultLocale(){return at}static set defaultLocale(t){at=t}static get defaultNumberingSystem(){return ct}static set defaultNumberingSystem(t){ct=t}static get defaultOutputCalendar(){return ht}static set defaultOutputCalendar(t){ht=t}static get defaultWeekSettings(){return dt}static set defaultWeekSettings(t){dt=Ct(t)}static get twoDigitCutoffYear(){return lt}static set twoDigitCutoffYear(t){lt=t%100}static get throwOnInvalid(){return it}static set throwOnInvalid(t){it=t}static resetCaches(){tt.resetCache(),q.resetCache()}}class ft{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const yt=[0,31,59,90,120,151,181,212,243,273,304,334],gt=[0,31,60,91,121,152,182,213,244,274,305,335];function wt(t,e){return new ft("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function pt(t,e,n){const r=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return 0===s?7:s}function Mt(t,e,n){return n+(Jt(t)?gt:yt)[e-1]}function kt(t,e){const n=Jt(t)?gt:yt,r=n.findIndex((t=>t<e));return{month:r+1,day:e-n[r]}}function St(t,e){return(t-e+7)%7+1}function Nt(t,e=4,n=1){const{year:r,month:s,day:i}=t,u=Mt(r,s,i),o=St(pt(r,s,i),n);let a,c=Math.floor((u-o+14-e)/7);return c<1?(a=r-1,c=Yt(a,e,n)):c>Yt(r,e,n)?(a=r+1,c=1):a=r,{weekYear:a,weekNumber:c,weekday:o,...ee(t)}}function Tt(t,e=4,n=1){const{weekYear:r,weekNumber:s,weekday:i}=t,u=St(pt(r,1,e),n),o=Ut(r);let a,c=7*s+i-u-7+e;c<1?(a=r-1,c+=Ut(a)):c>o?(a=r+1,c-=Ut(r)):a=r;const{month:h,day:l}=kt(a,c);return{year:a,month:h,day:l,...ee(t)}}function bt(t){const{year:e,month:n,day:r}=t;return{year:e,ordinal:Mt(e,n,r),...ee(t)}}function vt(t){const{year:e,ordinal:n}=t,{month:r,day:s}=kt(e,n);return{year:e,month:r,day:s,...ee(t)}}function Et(t,e){if(!Ot(t.localWeekday)||!Ot(t.localWeekNumber)||!Ot(t.localWeekYear)){if(!Ot(t.weekday)||!Ot(t.weekNumber)||!Ot(t.weekYear))throw new u("Cannot mix locale-based week fields with ISO-based week fields");return Ot(t.localWeekday)||(t.weekday=t.localWeekday),Ot(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Ot(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function $t(t){const e=xt(t.year),n=At(t.month,1,12),r=At(t.day,1,Rt(t.year,t.month));return e?n?!r&&wt("day",t.day):wt("month",t.month):wt("year",t.year)}function Dt(t){const{hour:e,minute:n,second:r,millisecond:s}=t,i=At(e,0,23)||24===e&&0===n&&0===r&&0===s,u=At(n,0,59),o=At(r,0,59),a=At(s,0,999);return i?u?o?!a&&wt("millisecond",s):wt("second",r):wt("minute",n):wt("hour",e)}function Ot(t){return void 0===t}function It(t){return"number"==typeof t}function xt(t){return"number"==typeof t&&t%1==0}function Ft(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Wt(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Zt(t,e,n){if(0!==t.length)return t.reduce(((t,r)=>{const s=[e(r),r];return t&&n(t[0],s[0])===t[0]?t:s}),null)[1]}function Lt(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ct(t){if(null==t)return null;if("object"!=typeof t)throw new a("Week settings must be an object");if(!At(t.firstDay,1,7)||!At(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!At(t,1,7))))throw new a("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function At(t,e,n){return xt(t)&&t>=e&&t<=n}function _t(t,e=2){let n;return n=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),n}function Ht(t){return Ot(t)||null===t||""===t?void 0:parseInt(t,10)}function jt(t){return Ot(t)||null===t||""===t?void 0:parseFloat(t)}function qt(t){if(!Ot(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function zt(t,e,n=!1){const r=10**e;return(n?Math.trunc:Math.round)(t*r)/r}function Jt(t){return t%4==0&&(t%100!=0||t%400==0)}function Ut(t){return Jt(t)?366:365}function Rt(t,e){const n=(r=e-1)-12*Math.floor(r/12)+1;var r;return 2===n?Jt(t+(e-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Gt(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Pt(t,e,n){return-St(pt(t,1,e),n)+e-1}function Yt(t,e=4,n=1){const r=Pt(t,e,n),s=Pt(t+1,e,n);return(Ut(t)-r+s)/7}function Vt(t){return t>99?t:t>mt.twoDigitCutoffYear?1900+t:2e3+t}function Bt(t,e,n,r=null){const s=new Date(t),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const u={timeZoneName:e,...i},o=new Intl.DateTimeFormat(n,u).formatToParts(s).find((t=>"timezonename"===t.type.toLowerCase()));return o?o.value:null}function Qt(t,e){let n=parseInt(t,10);Number.isNaN(n)&&(n=0);const r=parseInt(e,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function Kt(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new a(`Invalid unit value ${t}`);return e}function Xt(t,e){const n={};for(const r in t)if(Lt(t,r)){const s=t[r];if(null==s)continue;n[e(r)]=Kt(s)}return n}function te(t,e){const n=Math.trunc(Math.abs(t/60)),r=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${_t(n,2)}:${_t(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${_t(n,2)}${_t(r,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ee(t){return function(t){return["hour","minute","second","millisecond"].reduce(((e,n)=>(e[n]=t[n],e)),{})}(t)}const ne=["January","February","March","April","May","June","July","August","September","October","November","December"],re=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],se=["J","F","M","A","M","J","J","A","S","O","N","D"];function ie(t){switch(t){case"narrow":return[...se];case"short":return[...re];case"long":return[...ne];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ue=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],oe=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ae=["M","T","W","T","F","S","S"];function ce(t){switch(t){case"narrow":return[...ae];case"short":return[...oe];case"long":return[...ue];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const he=["AM","PM"],le=["Before Christ","Anno Domini"],de=["BC","AD"],me=["B","A"];function fe(t){switch(t){case"narrow":return[...me];case"short":return[...de];case"long":return[...le];default:return null}}function ye(t,e){let n="";for(const r of t)n+=r.literal?r.val:e(r.val);return n}const ge={D:m,DD:f,DDD:g,DDDD:w,t:p,tt:M,ttt:k,tttt:S,T:N,TT:T,TTT:b,TTTT:v,f:E,ff:D,fff:x,ffff:W,F:$,FF:O,FFF:F,FFFF:Z};class we{static create(t,e={}){return new we(t,e)}static parseFormat(t){let e=null,n="",r=!1;const s=[];for(let i=0;i<t.length;i++){const u=t.charAt(i);"'"===u?(n.length>0&&s.push({literal:r||/^\s+$/.test(n),val:n}),e=null,n="",r=!r):r||u===e?n+=u:(n.length>0&&s.push({literal:/^\s+$/.test(n),val:n}),n=u,e=u)}return n.length>0&&s.push({literal:r||/^\s+$/.test(n),val:n}),s}static macroTokenToFormatOpts(t){return ge[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return _t(t,e);const n={...this.opts};return e>0&&(n.padTo=e),this.loc.numberFormatter(n).format(t)}formatDateTimeFromString(t,e){const n="en"===this.loc.listingMode(),r=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,n)=>this.loc.extract(t,e,n),i=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",u=(e,r)=>n?function(t,e){return ie(e)[t.month-1]}(t,e):s(r?{month:e}:{month:e,day:"numeric"},"month"),o=(e,r)=>n?function(t,e){return ce(e)[t.weekday-1]}(t,e):s(r?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),a=e=>{const n=we.macroTokenToFormatOpts(e);return n?this.formatWithSystemDefault(t,n):e},c=e=>n?function(t,e){return fe(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ye(we.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return n?function(t){return he[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return r?s({day:"numeric"},"day"):this.num(t.day);case"dd":return r?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return o("short",!0);case"cccc":return o("long",!0);case"ccccc":return o("narrow",!0);case"EEE":return o("short",!1);case"EEEE":return o("long",!1);case"EEEEE":return o("narrow",!1);case"L":return r?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return r?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return r?s({month:"numeric"},"month"):this.num(t.month);case"MM":return r?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return r?s({year:"numeric"},"year"):this.num(t.year);case"yy":return r?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return r?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return r?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return c("short");case"GG":return c("long");case"GGGGG":return c("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return a(e)}}))}formatDurationFromString(t,e){const n=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},r=we.parseFormat(e),s=r.reduce(((t,{literal:e,val:n})=>e?t:t.concat(n)),[]);return ye(r,(t=>e=>{const r=n(e);return r?this.num(t.get(r),e.length):e})(t.shiftTo(...s.map(n).filter((t=>t)))))}}const pe=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Me(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function ke(...t){return e=>t.reduce((([t,n,r],s)=>{const[i,u,o]=s(e,r);return[{...t,...i},u||n,o]}),[{},null,1]).slice(0,2)}function Se(t,...e){if(null==t)return[null,null];for(const[n,r]of e){const e=n.exec(t);if(e)return r(e)}return[null,null]}function Ne(...t){return(e,n)=>{const r={};let s;for(s=0;s<t.length;s++)r[t[s]]=Ht(e[n+s]);return[r,null,n+s]}}const Te=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,be=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,ve=RegExp(`${be.source}(?:${Te.source}?(?:\\[(${pe.source})\\])?)?`),Ee=RegExp(`(?:T${ve.source})?`),$e=Ne("weekYear","weekNumber","weekDay"),De=Ne("year","ordinal"),Oe=RegExp(`${be.source} ?(?:${Te.source}|(${pe.source}))?`),Ie=RegExp(`(?: ${Oe.source})?`);function xe(t,e,n){const r=t[e];return Ot(r)?n:Ht(r)}function Fe(t,e){return[{hours:xe(t,e,0),minutes:xe(t,e+1,0),seconds:xe(t,e+2,0),milliseconds:qt(t[e+3])},null,e+4]}function We(t,e){const n=!t[e]&&!t[e+1],r=Qt(t[e+1],t[e+2]);return[{},n?null:nt.instance(r),e+3]}function Ze(t,e){return[{},t[e]?q.create(t[e]):null,e+1]}const Le=RegExp(`^T?${be.source}$`),Ce=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ae(t){const[e,n,r,s,i,u,o,a,c]=t,h="-"===e[0],l=a&&"-"===a[0],d=(t,e=!1)=>void 0!==t&&(e||t&&h)?-t:t;return[{years:d(jt(n)),months:d(jt(r)),weeks:d(jt(s)),days:d(jt(i)),hours:d(jt(u)),minutes:d(jt(o)),seconds:d(jt(a),"-0"===a),milliseconds:d(qt(c),l)}]}const _e={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function He(t,e,n,r,s,i,u){const o={year:2===e.length?Vt(Ht(e)):Ht(e),month:re.indexOf(n)+1,day:Ht(r),hour:Ht(s),minute:Ht(i)};return u&&(o.second=Ht(u)),t&&(o.weekday=t.length>3?ue.indexOf(t)+1:oe.indexOf(t)+1),o}const je=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function qe(t){const[,e,n,r,s,i,u,o,a,c,h,l]=t,d=He(e,s,r,n,i,u,o);let m;return m=a?_e[a]:c?0:Qt(h,l),[d,new nt(m)]}const ze=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Je=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ue=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Re(t){const[,e,n,r,s,i,u,o]=t;return[He(e,s,r,n,i,u,o),nt.utcInstance]}function Ge(t){const[,e,n,r,s,i,u,o]=t;return[He(e,o,n,r,s,i,u),nt.utcInstance]}const Pe=Me(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Ee),Ye=Me(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Ee),Ve=Me(/(\d{4})-?(\d{3})/,Ee),Be=Me(ve),Qe=ke((function(t,e){return[{year:xe(t,e),month:xe(t,e+1,1),day:xe(t,e+2,1)},null,e+3]}),Fe,We,Ze),Ke=ke($e,Fe,We,Ze),Xe=ke(De,Fe,We,Ze),tn=ke(Fe,We,Ze),en=ke(Fe),nn=Me(/(\d{4})-(\d\d)-(\d\d)/,Ie),rn=Me(Oe),sn=ke(Fe,We,Ze),un="Invalid Duration",on={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},an={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...on},cn={years:{quarters:4,months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...on},hn=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],ln=hn.slice(0).reverse();function dn(t,e,n=!1){const r={values:n?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new yn(r)}function mn(t,e){let n=e.milliseconds??0;for(const r of ln.slice(1))e[r]&&(n+=e[r]*t[r].milliseconds);return n}function fn(t,e){const n=mn(t,e)<0?-1:1;hn.reduceRight(((r,s)=>{if(Ot(e[s]))return r;if(r){const i=t[s][r],u=Math.floor(e[r]*n/i);e[s]+=u*n,e[r]-=u*i*n}return s}),null),hn.reduce(((n,r)=>{if(Ot(e[r]))return n;if(n){const s=e[n]%1;e[n]-=s,e[r]+=s*t[n][r]}return r}),null)}class yn{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let n=e?cn:an;t.matrix&&(n=t.matrix),this.values=t.values,this.loc=t.loc||tt.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(t,e){return yn.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new a("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new yn({values:Xt(t,yn.normalizeUnit),loc:tt.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(It(t))return yn.fromMillis(t);if(yn.isDuration(t))return t;if("object"==typeof t)return yn.fromObject(t);throw new a(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[n]=function(t){return Se(t,[Ce,Ae])}(t);return n?yn.fromObject(n,e):yn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[n]=function(t){return Se(t,[Le,en])}(t);return n?yn.fromObject(n,e):yn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new a("need to specify a reason the Duration is invalid");const n=t instanceof ft?t:new ft(t,e);if(mt.throwOnInvalid)throw new i(n);return new yn({invalid:n})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new o(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const n={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?we.create(this.loc,n).formatDurationFromString(this,t):un}toHuman(t={}){if(!this.isValid)return un;const e=hn.map((e=>{const n=this.values[e];return Ot(n)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(n)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=zt(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();return e<0||e>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},ur.fromMillis(e,{zone:"UTC"}).toISOTime(t))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?mn(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=yn.fromDurationLike(t),n={};for(const t of hn)(Lt(e.values,t)||Lt(this.values,t))&&(n[t]=e.get(t)+this.get(t));return dn(this,{values:n},!0)}minus(t){if(!this.isValid)return this;const e=yn.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const n of Object.keys(this.values))e[n]=Kt(t(this.values[n],n));return dn(this,{values:e},!0)}get(t){return this[yn.normalizeUnit(t)]}set(t){return this.isValid?dn(this,{values:{...this.values,...Xt(t,yn.normalizeUnit)}}):this}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:n,matrix:r}={}){return dn(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:r,conversionAccuracy:n})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return fn(this.matrix,t),dn(this,{values:t},!0)}rescale(){return this.isValid?dn(this,{values:function(t){const e={};for(const[n,r]of Object.entries(t))0!==r&&(e[n]=r);return e}(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>yn.normalizeUnit(t)));const e={},n={},r=this.toObject();let s;for(const i of hn)if(t.indexOf(i)>=0){s=i;let t=0;for(const e in n)t+=this.matrix[e][i]*n[e],n[e]=0;It(r[i])&&(t+=r[i]);const u=Math.trunc(t);e[i]=u,n[i]=(1e3*t-1e3*u)/1e3}else It(r[i])&&(n[i]=r[i]);for(const t in n)0!==n[t]&&(e[s]+=t===s?n[t]:n[t]/this.matrix[s][t]);return fn(this.matrix,e),dn(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return dn(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const r of hn)if(n=t.values[r],!(void 0===(e=this.values[r])||0===e?void 0===n||0===n:e===n))return!1;var e,n;return!0}}const gn="Invalid Interval";class wn{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new a("need to specify a reason the Interval is invalid");const n=t instanceof ft?t:new ft(t,e);if(mt.throwOnInvalid)throw new s(n);return new wn({invalid:n})}static fromDateTimes(t,e){const n=or(t),r=or(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?wn.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:wn.invalid("missing or invalid end"):wn.invalid("missing or invalid start")}(n,r);return null==s?new wn({start:n,end:r}):s}static after(t,e){const n=yn.fromDurationLike(e),r=or(t);return wn.fromDateTimes(r,r.plus(n))}static before(t,e){const n=yn.fromDurationLike(e),r=or(t);return wn.fromDateTimes(r.minus(n),r)}static fromISO(t,e){const[n,r]=(t||"").split("/",2);if(n&&r){let t,s,i,u;try{t=ur.fromISO(n,e),s=t.isValid}catch(r){s=!1}try{i=ur.fromISO(r,e),u=i.isValid}catch(r){u=!1}if(s&&u)return wn.fromDateTimes(t,i);if(s){const n=yn.fromISO(r,e);if(n.isValid)return wn.after(t,n)}else if(u){const t=yn.fromISO(n,e);if(t.isValid)return wn.before(i,t)}}return wn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const n=this.start.startOf(t,e);let r;return r=e?.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end,r=r.startOf(t,e),Math.floor(r.diff(n,t).get(t))+(r.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&this.s<=t&&this.e>t}set({start:t,end:e}={}){return this.isValid?wn.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(or).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),n=[];let{s:r}=this,s=0;for(;r<this.e;){const t=e[s]||this.e,i=+t>+this.e?this.e:t;n.push(wn.fromDateTimes(r,i)),r=i,s+=1}return n}splitBy(t){const e=yn.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let n,{s:r}=this,s=1;const i=[];for(;r<this.e;){const t=this.start.plus(e.mapUnits((t=>t*s)));n=+t>+this.e?this.e:t,i.push(wn.fromDateTimes(r,n)),r=n,s+=1}return i}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&this.s<=t.s&&this.e>=t.e}equals(t){return!(!this.isValid||!t.isValid)&&this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,n=this.e<t.e?this.e:t.e;return e>=n?null:wn.fromDateTimes(e,n)}union(t){return this.isValid?wn.fromDateTimes(this.s<t.s?this.s:t.s,this.e>t.e?this.e:t.e):this}static merge(t){const[e,n]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],n)=>e?e.overlaps(n)||e.abutsStart(n)?[t,e.union(n)]:[t.concat([e]),n]:[t,n]),[[],null]);return n&&e.push(n),e}static xor(t){let e=null,n=0;const r=[],s=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),i=Array.prototype.concat(...s).sort(((t,e)=>t.time-e.time));for(const t of i)n+="s"===t.type?1:-1,1===n?e=t.time:(e&&+e!=+t.time&&r.push(wn.fromDateTimes(e,t.time)),e=null);return wn.merge(r)}difference(...t){return wn.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:gn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=m,e={}){return this.isValid?we.create(this.s.loc.clone(e),t).formatInterval(this):gn}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:gn}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:gn}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:gn}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:gn}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):yn.invalid(this.invalidReason)}mapEndpoints(t){return wn.fromDateTimes(t(this.s),t(this.e))}}class pn{static hasDST(t=mt.defaultZone){const e=ur.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return q.isValidZone(t)}static normalizeZone(t){return st(t,mt.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||tt.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||tt.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||tt.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||tt.create(e,n,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||tt.create(e,n,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null}={}){return(r||tt.create(e,n,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null}={}){return(r||tt.create(e,n,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return tt.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return tt.create(e,null,"gregory").eras(t)}static features(){return{relative:Ft(),localeWeek:Wt()}}}function Mn(t,e){const n=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(e)-n(t);return Math.floor(yn.fromMillis(r).as("days"))}const kn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Sn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Nn=kn.hanidec.replace(/[\[|\]]/g,"").split("");function Tn({numberingSystem:t},e=""){return new RegExp(`${kn[t||"latn"]}${e}`)}function bn(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let n=0;n<t.length;n++){const r=t.charCodeAt(n);if(-1!==t[n].search(kn.hanidec))e+=Nn.indexOf(t[n]);else for(const t in Sn){const[n,s]=Sn[t];r>=n&&r<=s&&(e+=r-n)}}return parseInt(e,10)}return e}(t))}}const vn=`[ ${String.fromCharCode(160)}]`,En=new RegExp(vn,"g");function $n(t){return t.replace(/\./g,"\\.?").replace(En,vn)}function Dn(t){return t.replace(/\./g,"").replace(En," ").toLowerCase()}function On(t,e){return null===t?null:{regex:RegExp(t.map($n).join("|")),deser:([n])=>t.findIndex((t=>Dn(n)===Dn(t)))+e}}function In(t,e){return{regex:t,deser:([,t,e])=>Qt(t,e),groups:e}}function xn(t){return{regex:t,deser:([t])=>t}}const Fn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Wn=null;function Zn(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const n=Cn(we.macroTokenToFormatOpts(t.val),e);return null==n||n.includes(void 0)?t:n}(t,e))))}function Ln(t,e,n){const r=Zn(we.parseFormat(n),t),s=r.map((e=>function(t,e){const n=Tn(e),r=Tn(e,"{2}"),s=Tn(e,"{3}"),i=Tn(e,"{4}"),u=Tn(e,"{6}"),o=Tn(e,"{1,2}"),a=Tn(e,"{1,3}"),c=Tn(e,"{1,6}"),h=Tn(e,"{1,9}"),l=Tn(e,"{2,4}"),d=Tn(e,"{4,6}"),m=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},f=(f=>{if(t.literal)return m(f);switch(f.val){case"G":return On(e.eras("short"),0);case"GG":return On(e.eras("long"),0);case"y":return bn(c);case"yy":case"kk":return bn(l,Vt);case"yyyy":case"kkkk":return bn(i);case"yyyyy":return bn(d);case"yyyyyy":return bn(u);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return bn(o);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return bn(r);case"MMM":return On(e.months("short",!0),1);case"MMMM":return On(e.months("long",!0),1);case"LLL":return On(e.months("short",!1),1);case"LLLL":return On(e.months("long",!1),1);case"o":case"S":return bn(a);case"ooo":case"SSS":return bn(s);case"u":return xn(h);case"uu":return xn(o);case"uuu":case"E":case"c":return bn(n);case"a":return On(e.meridiems(),0);case"EEE":return On(e.weekdays("short",!1),1);case"EEEE":return On(e.weekdays("long",!1),1);case"ccc":return On(e.weekdays("short",!0),1);case"cccc":return On(e.weekdays("long",!0),1);case"Z":case"ZZ":return In(new RegExp(`([+-]${o.source})(?::(${r.source}))?`),2);case"ZZZ":return In(new RegExp(`([+-]${o.source})(${r.source})?`),2);case"z":return xn(/[a-z_+-/]{1,256}?/i);case" ":return xn(/[^\S\n\r]/);default:return m(f)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return f.token=t,f}(e,t))),i=s.find((t=>t.invalidReason));if(i)return{input:e,tokens:r,invalidReason:i.invalidReason};{const[t,n]=function(t){return[`^${t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"")}$`,t]}(s),i=RegExp(t,"i"),[o,a]=function(t,e,n){const r=t.match(e);if(r){const t={};let e=1;for(const s in n)if(Lt(n,s)){const i=n[s],u=i.groups?i.groups+1:1;!i.literal&&i.token&&(t[i.token.val[0]]=i.deser(r.slice(e,e+u))),e+=u}return[r,t]}return[r,{}]}(e,i,n),[c,h,l]=a?function(t){let e,n=null;return Ot(t.z)||(n=q.create(t.z)),Ot(t.Z)||(n||(n=new nt(t.Z)),e=t.Z),Ot(t.q)||(t.M=3*(t.q-1)+1),Ot(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Ot(t.u)||(t.S=qt(t.u)),[Object.keys(t).reduce(((e,n)=>{const r=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(n);return r&&(e[r]=t[n]),e}),{}),n,e]}(a):[null,null,void 0];if(Lt(a,"a")&&Lt(a,"H"))throw new u("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:r,regex:i,rawMatches:o,matches:a,result:c,zone:h,specificOffset:l}}}function Cn(t,e){if(!t)return null;const n=we.create(e,t).dtFormatter((Wn||(Wn=ur.fromMillis(1555555555555)),Wn)),r=n.formatToParts(),s=n.resolvedOptions();return r.map((e=>function(t,e,n){const{type:r,value:s}=t;if("literal"===r){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}let i=r;"hour"===r&&(i=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":n.hour12?"hour12":"hour24");let u=Fn[i];if("object"==typeof u&&(u=u[e[r]]),u)return{literal:!1,val:u}}(e,t,s)))}const An="Invalid DateTime";function _n(t){return new ft("unsupported zone",`the zone "${t.name}" is not supported`)}function Hn(t){return null===t.weekData&&(t.weekData=Nt(t.c)),t.weekData}function jn(t){return null===t.localWeekData&&(t.localWeekData=Nt(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qn(t,e){const n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new ur({...n,...e,old:n})}function zn(t,e,n){let r=t-60*e*1e3;const s=n.offset(r);if(e===s)return[r,e];r-=60*(s-e)*1e3;const i=n.offset(r);return s===i?[r,s]:[t-60*Math.min(s,i)*1e3,Math.max(s,i)]}function Jn(t,e){const n=new Date(t+=60*e*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Un(t,e,n){return zn(Gt(t),e,n)}function Rn(t,e){const n=t.o,r=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),i={...t.c,year:r,month:s,day:Math.min(t.c.day,Rt(r,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},u=yn.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),o=Gt(i);let[a,c]=zn(o,n,t.zone);return 0!==u&&(a+=u,c=t.zone.offset(a)),{ts:a,o:c}}function Gn(t,e,n,r,s,i){const{setZone:u,zone:o}=n;if(t&&0!==Object.keys(t).length||e){const r=e||o,s=ur.fromObject(t,{...n,zone:r,specificOffset:i});return u?s:s.setZone(o)}return ur.invalid(new ft("unparsable",`the input "${s}" can't be parsed as ${r}`))}function Pn(t,e,n=!0){return t.isValid?we.create(tt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Yn(t,e){const n=t.c.year>9999||t.c.year<0;let r="";return n&&t.c.year>=0&&(r+="+"),r+=_t(t.c.year,n?6:4),e?(r+="-",r+=_t(t.c.month),r+="-",r+=_t(t.c.day)):(r+=_t(t.c.month),r+=_t(t.c.day)),r}function Vn(t,e,n,r,s,i){let u=_t(t.c.hour);return e?(u+=":",u+=_t(t.c.minute),0===t.c.millisecond&&0===t.c.second&&n||(u+=":")):u+=_t(t.c.minute),0===t.c.millisecond&&0===t.c.second&&n||(u+=_t(t.c.second),0===t.c.millisecond&&r||(u+=".",u+=_t(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!i?u+="Z":t.o<0?(u+="-",u+=_t(Math.trunc(-t.o/60)),u+=":",u+=_t(Math.trunc(-t.o%60))):(u+="+",u+=_t(Math.trunc(t.o/60)),u+=":",u+=_t(Math.trunc(t.o%60)))),i&&(u+="["+t.zone.ianaName+"]"),u}const Bn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Qn={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Kn={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Xn=["year","month","day","hour","minute","second","millisecond"],tr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],er=["year","ordinal","hour","minute","second","millisecond"];function nr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new o(t);return e}(t)}}function rr(t,e){const n=st(e.zone,mt.defaultZone),r=tt.fromObject(e),s=mt.now();let i,u;if(Ot(t.year))i=s;else{for(const e of Xn)Ot(t[e])&&(t[e]=Bn[e]);const e=$t(t)||Dt(t);if(e)return ur.invalid(e);const r=n.offset(s);[i,u]=Un(t,r,n)}return new ur({ts:i,zone:n,loc:r,o:u})}function sr(t,e,n){const r=!!Ot(n.round)||n.round,s=(t,s)=>(t=zt(t,r||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(t,s)),i=r=>n.calendary?e.hasSame(t,r)?0:e.startOf(r).diff(t.startOf(r),r).get(r):e.diff(t,r).get(r);if(n.unit)return s(i(n.unit),n.unit);for(const t of n.units){const e=i(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,n.units[n.units.length-1])}function ir(t){let e,n={};return t.length>0&&"object"==typeof t[t.length-1]?(n=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[n,e]}class ur{constructor(t){const e=t.zone||mt.defaultZone;let n=t.invalid||(Number.isNaN(t.ts)?new ft("invalid input"):null)||(e.isValid?null:_n(e));this.ts=Ot(t.ts)?mt.now():t.ts;let r=null,s=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[r,s]=[t.old.c,t.old.o];else{const t=e.offset(this.ts);r=Jn(this.ts,t),n=Number.isNaN(r.year)?new ft("invalid input"):null,r=n?null:r,s=n?null:t}this._zone=e,this.loc=t.loc||tt.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=r,this.o=s,this.isLuxonDateTime=!0}static now(){return new ur({})}static local(){const[t,e]=ir(arguments),[n,r,s,i,u,o,a]=e;return rr({year:n,month:r,day:s,hour:i,minute:u,second:o,millisecond:a},t)}static utc(){const[t,e]=ir(arguments),[n,r,s,i,u,o,a]=e;return t.zone=nt.utcInstance,rr({year:n,month:r,day:s,hour:i,minute:u,second:o,millisecond:a},t)}static fromJSDate(t,e={}){const n="[object Date]"===Object.prototype.toString.call(t)?t.valueOf():NaN;if(Number.isNaN(n))return ur.invalid("invalid input");const r=st(e.zone,mt.defaultZone);return r.isValid?new ur({ts:n,zone:r,loc:tt.fromObject(e)}):ur.invalid(_n(r))}static fromMillis(t,e={}){if(It(t))return t<-864e13||t>864e13?ur.invalid("Timestamp out of range"):new ur({ts:t,zone:st(e.zone,mt.defaultZone),loc:tt.fromObject(e)});throw new a(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(It(t))return new ur({ts:1e3*t,zone:st(e.zone,mt.defaultZone),loc:tt.fromObject(e)});throw new a("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const n=st(e.zone,mt.defaultZone);if(!n.isValid)return ur.invalid(_n(n));const r=tt.fromObject(e),s=Xt(t,nr),{minDaysInFirstWeek:i,startOfWeek:o}=Et(s,r),a=mt.now(),c=Ot(e.specificOffset)?n.offset(a):e.specificOffset,h=!Ot(s.ordinal),l=!Ot(s.year),d=!Ot(s.month)||!Ot(s.day),m=l||d,f=s.weekYear||s.weekNumber;if((m||h)&&f)throw new u("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&h)throw new u("Can't mix ordinal dates with month/day");const y=f||s.weekday&&!m;let g,w,p=Jn(a,c);y?(g=tr,w=Qn,p=Nt(p,i,o)):h?(g=er,w=Kn,p=bt(p)):(g=Xn,w=Bn);let M=!1;for(const t of g)Ot(s[t])?s[t]=M?w[t]:p[t]:M=!0;const k=y?function(t,e=4,n=1){const r=xt(t.weekYear),s=At(t.weekNumber,1,Yt(t.weekYear,e,n)),i=At(t.weekday,1,7);return r?s?!i&&wt("weekday",t.weekday):wt("week",t.weekNumber):wt("weekYear",t.weekYear)}(s,i,o):h?function(t){const e=xt(t.year),n=At(t.ordinal,1,Ut(t.year));return e?!n&&wt("ordinal",t.ordinal):wt("year",t.year)}(s):$t(s),S=k||Dt(s);if(S)return ur.invalid(S);const N=y?Tt(s,i,o):h?vt(s):s,[T,b]=Un(N,c,n),v=new ur({ts:T,zone:n,o:b,loc:r});return s.weekday&&m&&t.weekday!==v.weekday?ur.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${v.toISO()}`):v}static fromISO(t,e={}){const[n,r]=function(t){return Se(t,[Pe,Qe],[Ye,Ke],[Ve,Xe],[Be,tn])}(t);return Gn(n,r,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[n,r]=function(t){return Se(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[je,qe])}(t);return Gn(n,r,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[n,r]=function(t){return Se(t,[ze,Re],[Je,Re],[Ue,Ge])}(t);return Gn(n,r,e,"HTTP",e)}static fromFormat(t,e,n={}){if(Ot(t)||Ot(e))throw new a("fromFormat requires an input string and a format");const{locale:r=null,numberingSystem:s=null}=n,i=tt.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),[u,o,c,h]=function(t,e,n){const{result:r,zone:s,specificOffset:i,invalidReason:u}=Ln(t,e,n);return[r,s,i,u]}(i,t,e);return h?ur.invalid(h):Gn(u,o,n,`format ${e}`,t,c)}static fromString(t,e,n={}){return ur.fromFormat(t,e,n)}static fromSQL(t,e={}){const[n,r]=function(t){return Se(t,[nn,Qe],[rn,sn])}(t);return Gn(n,r,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new a("need to specify a reason the DateTime is invalid");const n=t instanceof ft?t:new ft(t,e);if(mt.throwOnInvalid)throw new r(n);return new ur({invalid:n})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const n=Cn(t,tt.fromObject(e));return n?n.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Zn(we.parseFormat(t),tt.fromObject(e)).map((t=>t.val)).join("")}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Hn(this).weekYear:NaN}get weekNumber(){return this.isValid?Hn(this).weekNumber:NaN}get weekday(){return this.isValid?Hn(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?jn(this).weekday:NaN}get localWeekNumber(){return this.isValid?jn(this).weekNumber:NaN}get localWeekYear(){return this.isValid?jn(this).weekYear:NaN}get ordinal(){return this.isValid?bt(this.c).ordinal:NaN}get monthShort(){return this.isValid?pn.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?pn.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?pn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?pn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,n=Gt(this.c),r=this.zone.offset(n-t),s=this.zone.offset(n+t),i=this.zone.offset(n-r*e),u=this.zone.offset(n-s*e);if(i===u)return[this];const o=n-i*e,a=n-u*e,c=Jn(o,i),h=Jn(a,u);return c.hour===h.hour&&c.minute===h.minute&&c.second===h.second&&c.millisecond===h.millisecond?[qn(this,{ts:o}),qn(this,{ts:a})]:[this]}get isInLeapYear(){return Jt(this.year)}get daysInMonth(){return Rt(this.year,this.month)}get daysInYear(){return this.isValid?Ut(this.year):NaN}get weeksInWeekYear(){return this.isValid?Yt(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Yt(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:n,calendar:r}=we.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:n,outputCalendar:r}}toUTC(t=0,e={}){return this.setZone(nt.instance(t),e)}toLocal(){return this.setZone(mt.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:n=!1}={}){if((t=st(t,mt.defaultZone)).equals(this.zone))return this;if(t.isValid){let r=this.ts;if(e||n){const e=t.offset(this.ts),n=this.toObject();[r]=Un(n,e,t)}return qn(this,{ts:r,zone:t})}return ur.invalid(_n(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:n}={}){return qn(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:n})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=Xt(t,nr),{minDaysInFirstWeek:n,startOfWeek:r}=Et(e,this.loc),s=!Ot(e.weekYear)||!Ot(e.weekNumber)||!Ot(e.weekday),i=!Ot(e.ordinal),o=!Ot(e.year),a=!Ot(e.month)||!Ot(e.day);if((o||a||i)&&(e.weekYear||e.weekNumber))throw new u("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&i)throw new u("Can't mix ordinal dates with month/day");let c;s?c=Tt({...Nt(this.c,n,r),...e},n,r):Ot(e.ordinal)?(c={...this.toObject(),...e},Ot(e.day)&&(c.day=Math.min(Rt(c.year,c.month),c.day))):c=vt({...bt(this.c),...e});const[h,l]=Un(c,this.o,this.zone);return qn(this,{ts:h,o:l})}plus(t){return this.isValid?qn(this,Rn(this,yn.fromDurationLike(t))):this}minus(t){return this.isValid?qn(this,Rn(this,yn.fromDurationLike(t).negate())):this}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const n={},r=yn.normalizeUnit(t);switch(r){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0}if("weeks"===r)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(n.weekNumber=this.weekNumber-1),n.weekday=t}else n.weekday=1;if("quarters"===r){const t=Math.ceil(this.month/3);n.month=3*(t-1)+1}return this.set(n)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?we.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):An}toLocaleString(t=m,e={}){return this.isValid?we.create(this.loc.clone(e),t).formatDateTime(this):An}toLocaleParts(t={}){return this.isValid?we.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:n=!1,includeOffset:r=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const i="extended"===t;let u=Yn(this,i);return u+="T",u+=Vn(this,i,e,n,r,s),u}toISODate({format:t="extended"}={}){return this.isValid?Yn(this,"extended"===t):null}toISOWeekDate(){return Pn(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:n=!0,includePrefix:r=!1,extendedZone:s=!1,format:i="extended"}={}){return this.isValid?(r?"T":"")+Vn(this,"extended"===i,e,t,n,s):null}toRFC2822(){return Pn(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Pn(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Yn(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:n=!0}={}){let r="HH:mm:ss.SSS";return(e||t)&&(n&&(r+=" "),e?r+="z":t&&(r+="ZZ")),Pn(this,r,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():An}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",n={}){if(!this.isValid||!t.isValid)return yn.invalid("created by diffing an invalid DateTime");const r={locale:this.locale,numberingSystem:this.numberingSystem,...n},s=(o=e,Array.isArray(o)?o:[o]).map(yn.normalizeUnit),i=t.valueOf()>this.valueOf(),u=function(t,e,n,r){let[s,i,u,o]=function(t,e,n){const r=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const n=Mn(t,e);return(n-n%7)/7}],["days",Mn]],s={},i=t;let u,o;for(const[a,c]of r)n.indexOf(a)>=0&&(u=a,s[a]=c(t,e),o=i.plus(s),o>e?(s[a]--,(t=i.plus(s))>e&&(o=t,s[a]--,t=i.plus(s))):t=o);return[t,s,o,u]}(t,e,n);const a=e-s,c=n.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===c.length&&(u<e&&(u=s.plus({[o]:1})),u!==s&&(i[o]=(i[o]||0)+a/(u-s)));const h=yn.fromObject(i,r);return c.length>0?yn.fromMillis(a,r).shiftTo(...c).plus(h):h}(i?this:t,i?t:this,s,r);var o;return i?u.negate():u}diffNow(t="milliseconds",e={}){return this.diff(ur.now(),t,e)}until(t){return this.isValid?wn.fromDateTimes(this,t):this}hasSame(t,e,n){if(!this.isValid)return!1;const r=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,n)<=r&&r<=s.endOf(e,n)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||ur.fromObject({},{zone:this.zone}),n=t.padding?this<e?-t.padding:t.padding:0;let r=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(r=t.unit,s=void 0),sr(e,this.plus(n),{...t,numeric:"always",units:r,unit:s})}toRelativeCalendar(t={}){return this.isValid?sr(t.base||ur.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(ur.isDateTime))throw new a("min requires all arguments be DateTimes");return Zt(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(ur.isDateTime))throw new a("max requires all arguments be DateTimes");return Zt(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,n={}){const{locale:r=null,numberingSystem:s=null}=n;return Ln(tt.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,n={}){return ur.fromFormatExplain(t,e,n)}static get DATE_SHORT(){return m}static get DATE_MED(){return f}static get DATE_MED_WITH_WEEKDAY(){return y}static get DATE_FULL(){return g}static get DATE_HUGE(){return w}static get TIME_SIMPLE(){return p}static get TIME_WITH_SECONDS(){return M}static get TIME_WITH_SHORT_OFFSET(){return k}static get TIME_WITH_LONG_OFFSET(){return S}static get TIME_24_SIMPLE(){return N}static get TIME_24_WITH_SECONDS(){return T}static get TIME_24_WITH_SHORT_OFFSET(){return b}static get TIME_24_WITH_LONG_OFFSET(){return v}static get DATETIME_SHORT(){return E}static get DATETIME_SHORT_WITH_SECONDS(){return $}static get DATETIME_MED(){return D}static get DATETIME_MED_WITH_SECONDS(){return O}static get DATETIME_MED_WITH_WEEKDAY(){return I}static get DATETIME_FULL(){return x}static get DATETIME_FULL_WITH_SECONDS(){return F}static get DATETIME_HUGE(){return W}static get DATETIME_HUGE_WITH_SECONDS(){return Z}}function or(t){if(ur.isDateTime(t))return t;if(t&&t.valueOf&&It(t.valueOf()))return ur.fromJSDate(t);if(t&&"object"==typeof t)return ur.fromObject(t);throw new a(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function ar(t="de-CH"){return new Intl.DateTimeFormat(function(t="de-CH"){const[,e]=t.split("-");return"CH"===e?"fr-CH":"BE"===e?"fr-BE":"LU"===e?"fr-LU":t}(t)).format(new Date).replace(/\p{Number}/gu,"").charAt(0)}class cr{static setTwoDigitCutoffYear(t=10){mt.twoDigitCutoffYear=(new Date).getFullYear()%100+t}static fromAnyFormat(e){const n=e.replace(/[0-9]/g,"").charAt(0),r=t(),s=(null==r?void 0:r.locale)||"de-CH",i=e.split(n),u=i.length;if(2===u){const t=(new Date).getFullYear();return new cr(ur.fromFormat(`${i[0]}${n}${i[1]}${n}${t}`,`d${n}M${n}yy`,{locale:s}))}if(3===u){if(1===i[2].length)return new cr(ur.fromFormat(`${i[0]}${n}${i[1]}${n}${2e3+parseInt(i[2],10)}`,`d${n}M${n}yy`,{locale:s}));if(""===i[2]){const t=(new Date).getFullYear();return new cr(ur.fromFormat(`${i[0]}${n}${i[1]}${n}${t}`,`d${n}M${n}yy`,{locale:s}))}}return new cr(ur.fromFormat(e,`d${n}M${n}yy`,{locale:s}))}static fromISO(t){return new cr(ur.fromISO(t||""))}static infoMonths({format:e,locale:n}={}){const r=t();return pn.months(e||"long",{locale:n||(null==r?void 0:r.locale)||"de-CH"})}static infoWeekdays({format:e,locale:n}={}){const r=t();return pn.weekdays(e,{locale:n||(null==r?void 0:r.locale)||"de-CH"})}constructor(t){this.dt=t}get isValid(){return this.dt.isValid}toISO(){return this.isValid?this.dt.toISO():""}toISODate(){return this.isValid?this.dt.toISODate():""}toFormat(){if(this.isValid){const e=t(),n=ar((null==e?void 0:e.locale)||"de-CH");return this.dt.toFormat(`dd${n}MM${n}yyyy`)}return""}isBefore(t){const e=ur.fromISO(t||"");return!!e.isValid&&this.dt<e}isBeforeOrEqual(t){const e=ur.fromISO(t||"");return!!e.isValid&&this.dt<=e}isAfter(t){const e=ur.fromISO(t||"");return!!e.isValid&&this.dt>e}isAfterOrEqual(t){const e=ur.fromISO(t||"");return!!e.isValid&&this.dt>=e}get month(){if(this.isValid)return this.dt.month}get year(){if(this.isValid)return this.dt.year}}cr.setTwoDigitCutoffYear();export{cr as B,ar as d,e as i}
@@ -1 +1 @@
1
- import{a as n,R as t,S as e}from"./p-pkPHUz5e.js";const o='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .bal-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .bal-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',a=(n,t)=>{const e=n.querySelector(o);l(e,null!=t?t:n)},d=(n,t)=>{const e=Array.from(n.querySelectorAll(o));l(e.length>0?e[e.length-1]:null,null!=t?t:n)},l=(n,t)=>{let e=n;const a=null==n?void 0:n.shadowRoot;a&&(e=a.querySelector(o)||n),e?s(e):t.focus({preventScroll:!0})},s=n=>{if(n.focus({preventScroll:!0}),n.classList.contains("bal-focusable")){const t=n.closest("bal-app");t&&t.setFocus([n])}};let i=0;const b=t=>{n.hasDocument&&u(document);const e=i++;t.overlayIndex=e,t.el.hasAttribute("id")||(t.el.id=`bal-overlay-${e}`)},c=(n,t)=>(void 0===t&&(t="bal-modal,bal-snackbar,bal-toast"),Array.from(n.querySelectorAll(t)).filter((n=>n.overlayIndex>0))),r=(n,t,e)=>{const o=c(n,t);return void 0===e?o[o.length-1]:o.find((n=>n.id===e))},u=n=>{0===i&&(i=1,n.addEventListener("focus",(t=>{f(t,n)}),!0),n.addEventListener("keyup",(t=>{if("Escape"===t.key){const t=r(n);t&&t.dismiss(void 0,"backdrop")}})))},p=n=>n.classList.contains("is-hidden"),f=(n,t)=>{const e=(n=>{const t=((n,t)=>c(n,t).filter((n=>!p(n))))(n,"bal-modal");return t[t.length-1]})(t),o=n.target;e&&o&&(e.shadowRoot?(()=>{if(e.contains(o))e.lastFocus=o;else if("BAL-TOAST"===o.tagName)m(e.lastFocus,e);else{const n=e.lastFocus;a(e),n===t.activeElement&&d(e),e.lastFocus=t.activeElement}})():(()=>{if(e===o)e.lastFocus=void 0;else{const n=e,l=n.querySelector(".bal-modal__container");if(!l)return;if(l.contains(o)||o===n.querySelector("bal-modal__background"))e.lastFocus=o;else{const n=e.lastFocus;a(l,e),n===t.activeElement&&d(l,e),e.lastFocus=t.activeElement}}})())},h=async(n,t,e,o)=>{if(!n.presented)return!1;try{n.el.style.setProperty("pointer-events","none"),n.willDismiss.emit({data:t,role:e}),await o(),n.presented=!1,n.didDismiss.emit({data:t,role:e})}catch(t){n.presented=!1,console.error(t)}return n.el.remove(),!0},v=(n,t)=>{let e;const o=new Promise((n=>e=n));return x(n,t,(n=>{e(n.detail)})),o},x=(n,o,a)=>{const d=t=>{e(n,o,d),a(t)};t(n,o,d)},m=(n,t)=>{let e=n;const a=null==n?void 0:n.shadowRoot;a&&(e=a.querySelector(o)||n),e?s(e):t.focus()},y="bal-disable-focus-trap";export{y as F,r as a,h as d,v as e,c as g,b as p}
1
+ import{a as n,R as t,S as e}from"./p-BtpJmRB8.js";const o='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .bal-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .bal-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',a=(n,t)=>{const e=n.querySelector(o);l(e,null!=t?t:n)},d=(n,t)=>{const e=Array.from(n.querySelectorAll(o));l(e.length>0?e[e.length-1]:null,null!=t?t:n)},l=(n,t)=>{let e=n;const a=null==n?void 0:n.shadowRoot;a&&(e=a.querySelector(o)||n),e?s(e):t.focus({preventScroll:!0})},s=n=>{if(n.focus({preventScroll:!0}),n.classList.contains("bal-focusable")){const t=n.closest("bal-app");t&&t.setFocus([n])}};let i=0;const b=t=>{n.hasDocument&&u(document);const e=i++;t.overlayIndex=e,t.el.hasAttribute("id")||(t.el.id=`bal-overlay-${e}`)},c=(n,t)=>(void 0===t&&(t="bal-modal,bal-snackbar,bal-toast"),Array.from(n.querySelectorAll(t)).filter((n=>n.overlayIndex>0))),r=(n,t,e)=>{const o=c(n,t);return void 0===e?o[o.length-1]:o.find((n=>n.id===e))},u=n=>{0===i&&(i=1,n.addEventListener("focus",(t=>{f(t,n)}),!0),n.addEventListener("keyup",(t=>{if("Escape"===t.key){const t=r(n);t&&t.dismiss(void 0,"backdrop")}})))},p=n=>n.classList.contains("is-hidden"),f=(n,t)=>{const e=(n=>{const t=((n,t)=>c(n,t).filter((n=>!p(n))))(n,"bal-modal");return t[t.length-1]})(t),o=n.target;e&&o&&(e.shadowRoot?(()=>{if(e.contains(o))e.lastFocus=o;else if("BAL-TOAST"===o.tagName)m(e.lastFocus,e);else{const n=e.lastFocus;a(e),n===t.activeElement&&d(e),e.lastFocus=t.activeElement}})():(()=>{if(e===o)e.lastFocus=void 0;else{const n=e,l=n.querySelector(".bal-modal__container");if(!l)return;if(l.contains(o)||o===n.querySelector("bal-modal__background"))e.lastFocus=o;else{const n=e.lastFocus;a(l,e),n===t.activeElement&&d(l,e),e.lastFocus=t.activeElement}}})())},h=async(n,t,e,o)=>{if(!n.presented)return!1;try{n.el.style.setProperty("pointer-events","none"),n.willDismiss.emit({data:t,role:e}),await o(),n.presented=!1,n.didDismiss.emit({data:t,role:e})}catch(t){n.presented=!1,console.error(t)}return n.el.remove(),!0},v=(n,t)=>{let e;const o=new Promise((n=>e=n));return x(n,t,(n=>{e(n.detail)})),o},x=(n,o,a)=>{const d=t=>{e(n,o,d),a(t)};t(n,o,d)},m=(n,t)=>{let e=n;const a=null==n?void 0:n.shadowRoot;a&&(e=a.querySelector(o)||n),e?s(e):t.focus()},y="bal-disable-focus-trap";export{y as F,r as a,h as d,v as e,c as g,b as p}
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(t,i,n,r){function e(t){return t instanceof n?t:new n((function(i){i(t)}))}return new(n||(n=Promise))((function(n,s){function o(t){try{a(r.next(t))}catch(t){s(t)}}function u(t){try{a(r["throw"](t))}catch(t){s(t)}}function a(t){t.done?n(t.value):e(t.value).then(o,u)}a((r=r.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,e,s,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(t){return function(i){return a([t,i])}}function a(u){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(n=0)),n)try{if(r=1,e&&(s=u[0]&2?e["return"]:u[0]?e["throw"]||((s=e["return"])&&s.call(e),0):e.next)&&!(s=s.call(e,u[1])).done)return s;if(e=0,s)u=[u[0]&2,s.value];switch(u[0]){case 0:case 1:s=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;e=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(s=n.trys,s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){n.label=u[1];break}if(u[0]===6&&n.label<s[1]){n.label=s[1];s=u;break}if(s&&n.label<s[2]){n.label=s[2];n.ops.push(u);break}if(s[2])n.ops.pop();n.trys.pop();continue}u=i.call(t,n)}catch(t){u=[6,t];e=0}finally{r=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-WmWy2rJ-.system.js","./p-BbAtjg9Y.system.js","./p-DhSS4q-R.system.js","./p-SdtgSPca.system.js"],(function(t){"use strict";var i,n,r,e,s,o,u,a,c;return{setters:[function(t){i=t.M;n=t.t;r=t.I;e=t.R;s=t.S;o=t.Q},function(t){u=t.B},function(t){a=t.s},function(t){c=t.j}],execute:function(){var f=t("t",(function(t){if(typeof t==="string"){return t.replace(/([a-z])([0-9])/g,"$1-$2").replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}return""}));var h=function(t){return parseInt(t.slice(0,-2),10)};var l=t("g",(function(t,i){if(i===void 0){i=16}if(typeof window==="undefined"||t===undefined){return{top:i,right:i,bottom:i,left:i}}var n=window.getComputedStyle(t);var r=h(n.getPropertyValue("padding-top"));var e=h(n.getPropertyValue("padding-right"));var s=h(n.getPropertyValue("padding-bottom"));var o=h(n.getPropertyValue("padding-left"));return{top:r,right:e,bottom:s,left:o}}));var d=function(t){if(typeof window==="undefined"){return t.clientWidth}var i=window.getComputedStyle(t);var n=i.getPropertyValue("box-sizing");var r=h(i.getPropertyValue("width"));if(n==="border-box"){return r}var e=h(i.getPropertyValue("padding-right"));var s=h(i.getPropertyValue("padding-left"));return s+r+e};var v=t("a",(function(t){var i=Array.from(t.children);var n=0;for(var r=0,e=i;r<e.length;r++){var s=e[r];var o=s.offsetLeft+s.offsetWidth;n=Math.max(n,o)}return n}));var g=function(t){var n=t.value,r=t.items,e=t.containerId,s=t.onControlChange;var o=u.block("swiper");var a=o.element("controls");var c=function(t){var i=t.detail-1;if(i<0){i=0}if(i>=r.length){i=r.length-1}s(r[i])};return i("div",{class:Object.assign(Object.assign({},a.class()),a.modifier("dots").class())},i("bal-pagination",{"aria-controls":e,interface:"small",value:n+1,totalPages:r.length,onBalChange:c}))};var b=function(t){var n=t.isFirst,r=t.isLast,e=t.inverted,s=t.areControlsHidden,o=t.onNextClick,a=t.onPreviousClick,c=t.containerId,f=t.leftControlTitle,h=t.rightControlTitle;var l=u.block("swiper");var d=l.element("controls");var v=d.element("button");return i("div",{"data-mutation":"false",class:Object.assign(Object.assign({},d.class()),d.modifier("large").class())},i("bal-button",{class:Object.assign(Object.assign(Object.assign({},v.class()),v.modifier("left").class()),v.modifier("hidden").class(n&&s)),"aria-controls":c,square:true,icon:"nav-go-left",rounded:true,inverted:e,onClick:function(){return a()},tabindex:-1,disabled:n,"aria-hidden":n&&s?"true":null,"data-testid":"bal-carousel-control-left",title:f}),i("bal-button",{class:Object.assign(Object.assign(Object.assign({},v.class()),v.modifier("right").class()),v.modifier("hidden").class(r&&s)),"aria-controls":c,square:true,icon:"nav-go-right",rounded:true,inverted:e,onClick:function(){return o()},tabindex:-1,disabled:r,"aria-hidden":r&&s?"true":null,"data-testid":"bal-carousel-control-right",title:h}))};var w=function(t){var n=t.isFirst,r=t.isLast,e=t.inverted,s=t.leftControlTitle,o=t.rightControlTitle,a=t.containerId,c=t.onNextClick,f=t.onPreviousClick;var h=u.block("swiper");var l=h.element("controls");var d=l.element("button");return i("div",{class:Object.assign(Object.assign({},l.class()),l.modifier("small").class())},i("bal-button",{class:Object.assign(Object.assign(Object.assign({},d.class()),d.modifier("left").class()),d.modifier("hidden").class(n)),"aria-controls":a,square:true,size:"small",icon:"nav-go-left",rounded:true,inverted:e,onClick:function(){return f()},disabled:n,tabindex:"-1","data-testid":"bal-carousel-control-left",title:s}),i("bal-button",{class:Object.assign(Object.assign(Object.assign({},d.class()),d.modifier("right").class()),d.modifier("hidden").class(r)),"aria-controls":a,square:true,size:"small",icon:"nav-go-right",rounded:true,inverted:e,onClick:function(){return c()},disabled:r,tabindex:"-1","data-testid":"bal-carousel-control-right",title:o}))};var _={de:{left:"vorherige",right:"nächste"},en:{left:"previous",right:"next"},fr:{left:"précédent",right:"suivant"},it:{left:"precedente",right:"successivo"},nl:{left:"vorige",right:"volgende"},es:{left:"anterior",right:"siguiente"},pl:{left:"poprzedni",right:"następny"},pt:{left:"anterior",right:"próximo"},sv:{left:"föregående",right:"nästa"},fi:{left:"edellinen",right:"seuraava"}};var p=function(){function t(){var t=this;this.previousTransformValue=0;this.active=true;this.id="bal-swiper-".concat(m++);this.containerId="".concat(this.id,"-container");this.index=0;this.steps=1;this.noNeedForControls=true;this.isLastSlideVisible=false;this.itemsPerView=1;this.controls="none";this.gapSpace="none";this.keyboardMode=false;this.shiftMode=false;this.isInsideContainer=false;this.focusByKey=false;this.pointerDown=function(){t.keyboardMode=false;t.shiftMode=false;t.focusByKey=false;t.isInsideContainer=false};this.listenToKeyDown=function(i){t.keyboardMode=c(i);t.shiftMode=i.shiftKey;t.focusByKey=false;t.isInsideContainer=n(t.containerEl,i.target);if(t.active){if(t.controls!=="dots"&&t.controls!=="tabs"){if(t.isInsideContainer&&t.keyboardMode){if(t.shiftMode&&t.index>0){t.focusByKey=true;t.focusPreviousItem(i)}else if(!t.shiftMode&&t.index<t.lastIndex()){t.focusByKey=true;t.focusNextItem(i)}}}}};this.updateFocus=function(i){if(t.active){var n=t.focusByKey;var r=t.shiftMode;var e=t.isInsideContainer;if(t.controls!=="dots"&&t.controls!=="tabs"&&n&&!e){if(r){t.focusItem(t.lastIndex())}else{t.focusItem(0)}}}};this.cssBlock=u.block("swiper");this.cssSwiper=function(){return Object.assign({},t.cssBlock.class(t.active))};this.cssInnerSwiper=function(){return Object.assign(Object.assign(Object.assign(Object.assign({},t.cssBlock.element("inner").class(t.active)),t.cssBlock.element("inner").modifier("items-per-view-".concat(t.itemsPerView)).class(t.active)),t.cssBlock.element("inner").modifier("shadow-left").class(t.hasShadowLeft())),t.cssBlock.element("inner").modifier("shadow-right").class(t.hasShadowRight()))};this.cssSwiperContainer=function(){return Object.assign(Object.assign({},t.cssBlock.element("container").class(t.active)),t.cssBlock.element("container").modifier("gap-".concat(t.gapSpace)).class(t.active))};this.notifyChange=r((function(){return t.notifyChangeInternal()}),100);this.onControlChange=function(i){if(i!==t.index){var n=i>t.index;if(n){t.next(i-t.index)}else{t.previous(t.index-i)}}};this.onPreviousButtonClick=function(){return t.previous()};this.onNextButtonClick=function(){return t.next()}}t.prototype.connectedCallback=function(t){this.component=t;e(window,"keydown",this.listenToKeyDown);e(this.component.el,"focusin",this.updateFocus);e(window,"touchstart",this.pointerDown);e(window,"mousedown",this.pointerDown)};t.prototype.disconnectedCallback=function(){s(window,"keydown",this.listenToKeyDown);s(this.component.el,"focusin",this.updateFocus);s(window,"touchstart",this.pointerDown);s(window,"mousedown",this.pointerDown)};t.prototype.isActive=function(){return this.active};t.prototype.activate=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.active=true;return[2]}))}))};t.prototype.disable=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.active=false;return[2]}))}))};t.prototype.focusItem=function(t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(n){switch(n.label){case 0:return[4,this.goTo(t)];case 1:i=n.sent();if(!(i&&i.el))return[3,3];return[4,this.setFocusToEl(i.el)];case 2:n.sent();n.label=3;case 3:return[2]}}))}))};t.prototype.focusNextItem=function(t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(n){switch(n.label){case 0:return[4,this.next(1)];case 1:i=n.sent();if(!(i&&i.el))return[3,3];a(t);return[4,this.setFocusToEl(i.el)];case 2:n.sent();n.label=3;case 3:return[2]}}))}))};t.prototype.focusPreviousItem=function(t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(n){switch(n.label){case 0:return[4,this.previous(1)];case 1:i=n.sent();if(!(i&&i.el))return[3,3];a(t);return[4,this.setFocusToEl(i.el)];case 2:n.sent();n.label=3;case 3:return[2]}}))}))};t.prototype.setFocusToEl=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){switch(i.label){case 0:if(!t.setFocus)return[3,2];return[4,t.setFocus()];case 1:i.sent();i.label=2;case 2:return[2]}}))}))};t.prototype.isFirst=function(){return this.index===0};t.prototype.hasShadowLeft=function(){return this.hasShadow()&&this.index!==0&&this.active};t.prototype.hasShadowRight=function(){return this.hasShadow()&&!this.isLastSlideVisible&&this.active};t.prototype.isLast=function(){return this.isLastSlideVisible};t.prototype.previous=function(){return __awaiter(this,arguments,void 0,(function(t){var i;if(t===void 0){t=this.steps}return __generator(this,(function(n){i=this.index-t;if(i<0){i=0}return[2,this.goTo(i)]}))}))};t.prototype.next=function(){return __awaiter(this,arguments,void 0,(function(t){var i,n,r;if(t===void 0){t=this.steps}return __generator(this,(function(e){i=this.component.swiperGetAllChildrenElements();n=i.length;r=this.index+t;if(r>=n){r=n-1}return[2,this.goTo(r)]}))}))};t.prototype.updateIndex=function(){return __awaiter(this,arguments,void 0,(function(t){if(t===void 0){t=this.index}return __generator(this,(function(i){if(this.index!==t){this.goTo(t);this.index=t;this.component.swiperOnChange(this.index)}return[2]}))}))};t.prototype.goTo=function(){return __awaiter(this,arguments,void 0,(function(t){var i,n;if(t===void 0){t=this.index}return __generator(this,(function(r){switch(r.label){case 0:if(!this.active)return[3,4];return[4,this.buildSlide(t)];case 1:i=r.sent();if(!i)return[3,3];return[4,this.animate(i.transformActive,true)];case 2:n=r.sent();if(n||this.index!==t){this.index=t;this.component.swiperOnChange(this.index)}r.label=3;case 3:return[2,i];case 4:return[2]}}))}))};t.prototype.renderControls=function(){var t=this;if(!this.active||this.noNeedForControls||!this.component.hasAnimated){return""}var n=_[this.component.language].left;var r=_[this.component.language].right;switch(this.controls){case"small":return i(w,{isFirst:this.isFirst(),isLast:this.isLast(),inverted:this.component.inverted,leftControlTitle:n,rightControlTitle:r,containerId:this.containerId,onNextClick:function(){return t.onNextButtonClick()},onPreviousClick:function(){return t.onPreviousButtonClick()}});case"large":return i(b,{isFirst:this.isFirst(),isLast:this.isLast(),inverted:this.component.inverted,areControlsHidden:!this.component.isMobile,leftControlTitle:n,rightControlTitle:r,containerId:this.containerId,onNextClick:function(){return t.onNextButtonClick()},onPreviousClick:function(){return t.onPreviousButtonClick()}});case"dots":return i(g,{value:this.index,items:this.getAllControlItems(),containerId:this.containerId,onControlChange:function(i){return t.onControlChange(i.value)}});default:return""}};t.prototype.getAllControlItems=function(){var t=this.component.swiperGetAllChildrenElements();return t.map((function(t,i){return{value:i,label:t.label}}))};t.prototype.lastIndex=function(){var t=this.component.swiperGetAllChildrenElements();return t.length-1};t.prototype.hasShadow=function(){return!this.component.inverted&&(this.itemsPerView==="auto"||this.itemsPerView>1)};t.prototype.notifyChangeInternal=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:return[4,this.buildSlide(this.index)];case 1:t=i.sent();if(t){this.animate(t.transformActive,false)}return[2]}}))}))};t.prototype.buildSlide=function(t){return __awaiter(this,void 0,void 0,(function(){var i,n,r,e,s,o;return __generator(this,(function(u){i=this.component.swiperGetAllChildrenElements();n=t===undefined?this.lastIndex():t;if(i.length>n&&n>=0){r={none:0,normal:16,medium:24};e=r[this.gapSpace];s=i.filter((function(t,i){return i<n+1})).reduce((function(t,i){return t+d(i)+e}),0);o=i.filter((function(t,i){return i<n})).reduce((function(t,i){return t+d(i)+e}),0);return[2,{el:i[n],transformNext:s,transformActive:o,isFirst:n===0,isLast:n===this.lastIndex(),total:this.lastIndex()+1,index:n}]}return[2,undefined]}))}))};t.prototype.animate=function(){return __awaiter(this,arguments,void 0,(function(t,i){var n=this;if(t===void 0){t=0}if(i===void 0){i=true}return __generator(this,(function(r){return[2,new Promise((function(r){if(n.currentRaf!==undefined){cancelAnimationFrame(n.currentRaf)}n.currentRaf=o((function(){return __awaiter(n,void 0,void 0,(function(){var n,e,s,o,u,a,c,f,h,l;return __generator(this,(function(d){switch(d.label){case 0:if(!(this.containerEl&&this.innerEl))return[3,2];return[4,this.buildSlide()];case 1:n=d.sent();if(n){e=n.transformNext||0;s=this.innerEl.clientWidth||0;if(e===0||s===0){return[2,r(false)]}o=e-s;if(this.itemsPerView===3){o=e-s-1}u=o<=t;a=t===0||o<=2;if(a){this.index=0}c=this.controls==="small";f=this.controls==="large";this.noNeedForControls=e<=s;h=this.noNeedForControls?0:u?o:t;if(!a&&!this.noNeedForControls&&(c||f&&!this.component.isMobile)){h=h-(u?0:f?56:48)}this.containerEl.style.transitionDuration=i?"0.6s":"0";this.containerEl.style.transform="translate3d(-".concat(h,"px, 0px, 0px)");l=h!==this.previousTransformValue;this.previousTransformValue=h;this.isLastSlideVisible=u;if(this.borderEl){this.borderEl.style.transitionDuration=i?"0.6s":"0";this.borderEl.style.transform="translate3d(".concat(h,"px, 0px, 0px)")}this.component.hasAnimated=true;if(!l){return[2,r(false)]}return[2,r(true)]}d.label=2;case 2:return[2]}}))}))}))}))]}))}))};return t}();t("S",p);var m=0}}}));
1
+ var __awaiter=this&&this.__awaiter||function(t,i,n,r){function e(t){return t instanceof n?t:new n((function(i){i(t)}))}return new(n||(n=Promise))((function(n,s){function o(t){try{a(r.next(t))}catch(t){s(t)}}function u(t){try{a(r["throw"](t))}catch(t){s(t)}}function a(t){t.done?n(t.value):e(t.value).then(o,u)}a((r=r.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,e,s,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(t){return function(i){return a([t,i])}}function a(u){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(n=0)),n)try{if(r=1,e&&(s=u[0]&2?e["return"]:u[0]?e["throw"]||((s=e["return"])&&s.call(e),0):e.next)&&!(s=s.call(e,u[1])).done)return s;if(e=0,s)u=[u[0]&2,s.value];switch(u[0]){case 0:case 1:s=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;e=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(s=n.trys,s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){n.label=u[1];break}if(u[0]===6&&n.label<s[1]){n.label=s[1];s=u;break}if(s&&n.label<s[2]){n.label=s[2];n.ops.push(u);break}if(s[2])n.ops.pop();n.trys.pop();continue}u=i.call(t,n)}catch(t){u=[6,t];e=0}finally{r=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-Bas5fYcv.system.js","./p-BbAtjg9Y.system.js","./p-MZ0uDDT-.system.js","./p-SdtgSPca.system.js"],(function(t){"use strict";var i,n,r,e,s,o,u,a,c;return{setters:[function(t){i=t.M;n=t.t;r=t.I;e=t.R;s=t.S;o=t.Q},function(t){u=t.B},function(t){a=t.s},function(t){c=t.j}],execute:function(){var f=t("t",(function(t){if(typeof t==="string"){return t.replace(/([a-z])([0-9])/g,"$1-$2").replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}return""}));var h=function(t){return parseInt(t.slice(0,-2),10)};var l=t("g",(function(t,i){if(i===void 0){i=16}if(typeof window==="undefined"||t===undefined){return{top:i,right:i,bottom:i,left:i}}var n=window.getComputedStyle(t);var r=h(n.getPropertyValue("padding-top"));var e=h(n.getPropertyValue("padding-right"));var s=h(n.getPropertyValue("padding-bottom"));var o=h(n.getPropertyValue("padding-left"));return{top:r,right:e,bottom:s,left:o}}));var d=function(t){if(typeof window==="undefined"){return t.clientWidth}var i=window.getComputedStyle(t);var n=i.getPropertyValue("box-sizing");var r=h(i.getPropertyValue("width"));if(n==="border-box"){return r}var e=h(i.getPropertyValue("padding-right"));var s=h(i.getPropertyValue("padding-left"));return s+r+e};var v=t("a",(function(t){var i=Array.from(t.children);var n=0;for(var r=0,e=i;r<e.length;r++){var s=e[r];var o=s.offsetLeft+s.offsetWidth;n=Math.max(n,o)}return n}));var g=function(t){var n=t.value,r=t.items,e=t.containerId,s=t.onControlChange;var o=u.block("swiper");var a=o.element("controls");var c=function(t){var i=t.detail-1;if(i<0){i=0}if(i>=r.length){i=r.length-1}s(r[i])};return i("div",{class:Object.assign(Object.assign({},a.class()),a.modifier("dots").class())},i("bal-pagination",{"aria-controls":e,interface:"small",value:n+1,totalPages:r.length,onBalChange:c}))};var b=function(t){var n=t.isFirst,r=t.isLast,e=t.inverted,s=t.areControlsHidden,o=t.onNextClick,a=t.onPreviousClick,c=t.containerId,f=t.leftControlTitle,h=t.rightControlTitle;var l=u.block("swiper");var d=l.element("controls");var v=d.element("button");return i("div",{"data-mutation":"false",class:Object.assign(Object.assign({},d.class()),d.modifier("large").class())},i("bal-button",{class:Object.assign(Object.assign(Object.assign({},v.class()),v.modifier("left").class()),v.modifier("hidden").class(n&&s)),"aria-controls":c,square:true,icon:"nav-go-left",rounded:true,inverted:e,onClick:function(){return a()},tabindex:-1,disabled:n,"aria-hidden":n&&s?"true":null,"data-testid":"bal-carousel-control-left",title:f}),i("bal-button",{class:Object.assign(Object.assign(Object.assign({},v.class()),v.modifier("right").class()),v.modifier("hidden").class(r&&s)),"aria-controls":c,square:true,icon:"nav-go-right",rounded:true,inverted:e,onClick:function(){return o()},tabindex:-1,disabled:r,"aria-hidden":r&&s?"true":null,"data-testid":"bal-carousel-control-right",title:h}))};var w=function(t){var n=t.isFirst,r=t.isLast,e=t.inverted,s=t.leftControlTitle,o=t.rightControlTitle,a=t.containerId,c=t.onNextClick,f=t.onPreviousClick;var h=u.block("swiper");var l=h.element("controls");var d=l.element("button");return i("div",{class:Object.assign(Object.assign({},l.class()),l.modifier("small").class())},i("bal-button",{class:Object.assign(Object.assign(Object.assign({},d.class()),d.modifier("left").class()),d.modifier("hidden").class(n)),"aria-controls":a,square:true,size:"small",icon:"nav-go-left",rounded:true,inverted:e,onClick:function(){return f()},disabled:n,tabindex:"-1","data-testid":"bal-carousel-control-left",title:s}),i("bal-button",{class:Object.assign(Object.assign(Object.assign({},d.class()),d.modifier("right").class()),d.modifier("hidden").class(r)),"aria-controls":a,square:true,size:"small",icon:"nav-go-right",rounded:true,inverted:e,onClick:function(){return c()},disabled:r,tabindex:"-1","data-testid":"bal-carousel-control-right",title:o}))};var _={de:{left:"vorherige",right:"nächste"},en:{left:"previous",right:"next"},fr:{left:"précédent",right:"suivant"},it:{left:"precedente",right:"successivo"},nl:{left:"vorige",right:"volgende"},es:{left:"anterior",right:"siguiente"},pl:{left:"poprzedni",right:"następny"},pt:{left:"anterior",right:"próximo"},sv:{left:"föregående",right:"nästa"},fi:{left:"edellinen",right:"seuraava"}};var p=function(){function t(){var t=this;this.previousTransformValue=0;this.active=true;this.id="bal-swiper-".concat(m++);this.containerId="".concat(this.id,"-container");this.index=0;this.steps=1;this.noNeedForControls=true;this.isLastSlideVisible=false;this.itemsPerView=1;this.controls="none";this.gapSpace="none";this.keyboardMode=false;this.shiftMode=false;this.isInsideContainer=false;this.focusByKey=false;this.pointerDown=function(){t.keyboardMode=false;t.shiftMode=false;t.focusByKey=false;t.isInsideContainer=false};this.listenToKeyDown=function(i){t.keyboardMode=c(i);t.shiftMode=i.shiftKey;t.focusByKey=false;t.isInsideContainer=n(t.containerEl,i.target);if(t.active){if(t.controls!=="dots"&&t.controls!=="tabs"){if(t.isInsideContainer&&t.keyboardMode){if(t.shiftMode&&t.index>0){t.focusByKey=true;t.focusPreviousItem(i)}else if(!t.shiftMode&&t.index<t.lastIndex()){t.focusByKey=true;t.focusNextItem(i)}}}}};this.updateFocus=function(i){if(t.active){var n=t.focusByKey;var r=t.shiftMode;var e=t.isInsideContainer;if(t.controls!=="dots"&&t.controls!=="tabs"&&n&&!e){if(r){t.focusItem(t.lastIndex())}else{t.focusItem(0)}}}};this.cssBlock=u.block("swiper");this.cssSwiper=function(){return Object.assign({},t.cssBlock.class(t.active))};this.cssInnerSwiper=function(){return Object.assign(Object.assign(Object.assign(Object.assign({},t.cssBlock.element("inner").class(t.active)),t.cssBlock.element("inner").modifier("items-per-view-".concat(t.itemsPerView)).class(t.active)),t.cssBlock.element("inner").modifier("shadow-left").class(t.hasShadowLeft())),t.cssBlock.element("inner").modifier("shadow-right").class(t.hasShadowRight()))};this.cssSwiperContainer=function(){return Object.assign(Object.assign({},t.cssBlock.element("container").class(t.active)),t.cssBlock.element("container").modifier("gap-".concat(t.gapSpace)).class(t.active))};this.notifyChange=r((function(){return t.notifyChangeInternal()}),100);this.onControlChange=function(i){if(i!==t.index){var n=i>t.index;if(n){t.next(i-t.index)}else{t.previous(t.index-i)}}};this.onPreviousButtonClick=function(){return t.previous()};this.onNextButtonClick=function(){return t.next()}}t.prototype.connectedCallback=function(t){this.component=t;e(window,"keydown",this.listenToKeyDown);e(this.component.el,"focusin",this.updateFocus);e(window,"touchstart",this.pointerDown);e(window,"mousedown",this.pointerDown)};t.prototype.disconnectedCallback=function(){s(window,"keydown",this.listenToKeyDown);s(this.component.el,"focusin",this.updateFocus);s(window,"touchstart",this.pointerDown);s(window,"mousedown",this.pointerDown)};t.prototype.isActive=function(){return this.active};t.prototype.activate=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.active=true;return[2]}))}))};t.prototype.disable=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.active=false;return[2]}))}))};t.prototype.focusItem=function(t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(n){switch(n.label){case 0:return[4,this.goTo(t)];case 1:i=n.sent();if(!(i&&i.el))return[3,3];return[4,this.setFocusToEl(i.el)];case 2:n.sent();n.label=3;case 3:return[2]}}))}))};t.prototype.focusNextItem=function(t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(n){switch(n.label){case 0:return[4,this.next(1)];case 1:i=n.sent();if(!(i&&i.el))return[3,3];a(t);return[4,this.setFocusToEl(i.el)];case 2:n.sent();n.label=3;case 3:return[2]}}))}))};t.prototype.focusPreviousItem=function(t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(n){switch(n.label){case 0:return[4,this.previous(1)];case 1:i=n.sent();if(!(i&&i.el))return[3,3];a(t);return[4,this.setFocusToEl(i.el)];case 2:n.sent();n.label=3;case 3:return[2]}}))}))};t.prototype.setFocusToEl=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){switch(i.label){case 0:if(!t.setFocus)return[3,2];return[4,t.setFocus()];case 1:i.sent();i.label=2;case 2:return[2]}}))}))};t.prototype.isFirst=function(){return this.index===0};t.prototype.hasShadowLeft=function(){return this.hasShadow()&&this.index!==0&&this.active};t.prototype.hasShadowRight=function(){return this.hasShadow()&&!this.isLastSlideVisible&&this.active};t.prototype.isLast=function(){return this.isLastSlideVisible};t.prototype.previous=function(){return __awaiter(this,arguments,void 0,(function(t){var i;if(t===void 0){t=this.steps}return __generator(this,(function(n){i=this.index-t;if(i<0){i=0}return[2,this.goTo(i)]}))}))};t.prototype.next=function(){return __awaiter(this,arguments,void 0,(function(t){var i,n,r;if(t===void 0){t=this.steps}return __generator(this,(function(e){i=this.component.swiperGetAllChildrenElements();n=i.length;r=this.index+t;if(r>=n){r=n-1}return[2,this.goTo(r)]}))}))};t.prototype.updateIndex=function(){return __awaiter(this,arguments,void 0,(function(t){if(t===void 0){t=this.index}return __generator(this,(function(i){if(this.index!==t){this.goTo(t);this.index=t;this.component.swiperOnChange(this.index)}return[2]}))}))};t.prototype.goTo=function(){return __awaiter(this,arguments,void 0,(function(t){var i,n;if(t===void 0){t=this.index}return __generator(this,(function(r){switch(r.label){case 0:if(!this.active)return[3,4];return[4,this.buildSlide(t)];case 1:i=r.sent();if(!i)return[3,3];return[4,this.animate(i.transformActive,true)];case 2:n=r.sent();if(n||this.index!==t){this.index=t;this.component.swiperOnChange(this.index)}r.label=3;case 3:return[2,i];case 4:return[2]}}))}))};t.prototype.renderControls=function(){var t=this;if(!this.active||this.noNeedForControls||!this.component.hasAnimated){return""}var n=_[this.component.language].left;var r=_[this.component.language].right;switch(this.controls){case"small":return i(w,{isFirst:this.isFirst(),isLast:this.isLast(),inverted:this.component.inverted,leftControlTitle:n,rightControlTitle:r,containerId:this.containerId,onNextClick:function(){return t.onNextButtonClick()},onPreviousClick:function(){return t.onPreviousButtonClick()}});case"large":return i(b,{isFirst:this.isFirst(),isLast:this.isLast(),inverted:this.component.inverted,areControlsHidden:!this.component.isMobile,leftControlTitle:n,rightControlTitle:r,containerId:this.containerId,onNextClick:function(){return t.onNextButtonClick()},onPreviousClick:function(){return t.onPreviousButtonClick()}});case"dots":return i(g,{value:this.index,items:this.getAllControlItems(),containerId:this.containerId,onControlChange:function(i){return t.onControlChange(i.value)}});default:return""}};t.prototype.getAllControlItems=function(){var t=this.component.swiperGetAllChildrenElements();return t.map((function(t,i){return{value:i,label:t.label}}))};t.prototype.lastIndex=function(){var t=this.component.swiperGetAllChildrenElements();return t.length-1};t.prototype.hasShadow=function(){return!this.component.inverted&&(this.itemsPerView==="auto"||this.itemsPerView>1)};t.prototype.notifyChangeInternal=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:return[4,this.buildSlide(this.index)];case 1:t=i.sent();if(t){this.animate(t.transformActive,false)}return[2]}}))}))};t.prototype.buildSlide=function(t){return __awaiter(this,void 0,void 0,(function(){var i,n,r,e,s,o;return __generator(this,(function(u){i=this.component.swiperGetAllChildrenElements();n=t===undefined?this.lastIndex():t;if(i.length>n&&n>=0){r={none:0,normal:16,medium:24};e=r[this.gapSpace];s=i.filter((function(t,i){return i<n+1})).reduce((function(t,i){return t+d(i)+e}),0);o=i.filter((function(t,i){return i<n})).reduce((function(t,i){return t+d(i)+e}),0);return[2,{el:i[n],transformNext:s,transformActive:o,isFirst:n===0,isLast:n===this.lastIndex(),total:this.lastIndex()+1,index:n}]}return[2,undefined]}))}))};t.prototype.animate=function(){return __awaiter(this,arguments,void 0,(function(t,i){var n=this;if(t===void 0){t=0}if(i===void 0){i=true}return __generator(this,(function(r){return[2,new Promise((function(r){if(n.currentRaf!==undefined){cancelAnimationFrame(n.currentRaf)}n.currentRaf=o((function(){return __awaiter(n,void 0,void 0,(function(){var n,e,s,o,u,a,c,f,h,l;return __generator(this,(function(d){switch(d.label){case 0:if(!(this.containerEl&&this.innerEl))return[3,2];return[4,this.buildSlide()];case 1:n=d.sent();if(n){e=n.transformNext||0;s=this.innerEl.clientWidth||0;if(e===0||s===0){return[2,r(false)]}o=e-s;if(this.itemsPerView===3){o=e-s-1}u=o<=t;a=t===0||o<=2;if(a){this.index=0}c=this.controls==="small";f=this.controls==="large";this.noNeedForControls=e<=s;h=this.noNeedForControls?0:u?o:t;if(!a&&!this.noNeedForControls&&(c||f&&!this.component.isMobile)){h=h-(u?0:f?56:48)}this.containerEl.style.transitionDuration=i?"0.6s":"0";this.containerEl.style.transform="translate3d(-".concat(h,"px, 0px, 0px)");l=h!==this.previousTransformValue;this.previousTransformValue=h;this.isLastSlideVisible=u;if(this.borderEl){this.borderEl.style.transitionDuration=i?"0.6s":"0";this.borderEl.style.transform="translate3d(".concat(h,"px, 0px, 0px)")}this.component.hasAnimated=true;if(!l){return[2,r(false)]}return[2,r(true)]}d.label=2;case 2:return[2]}}))}))}))}))]}))}))};return t}();t("S",p);var m=0}}}));
@@ -1 +1 @@
1
- System.register(["./p-WmWy2rJ-.system.js"],(function(n){"use strict";var t,r;return{setters:[function(n){t=n.n;r=n.U}],execute:function(){n({a:e,b:i,f:c});var u=function(){var n=t();return n&&n.locale||r};function e(){return Intl.NumberFormat(u()).format(1.1).replace(/\p{Number}/gu,"")}function i(){return Intl.NumberFormat(u()).format(11111).replace(/\p{Number}/gu,"")}function c(n,t){var r=t!==undefined?{minimumFractionDigits:t,maximumFractionDigits:t}:{};var e=Intl.NumberFormat(u(),Object.assign({},r)).format(n);if(e==="NaN"){return""}return e}var a=n("g",(function(){return"-"}))}}}));
1
+ System.register(["./p-Bas5fYcv.system.js"],(function(n){"use strict";var t,r;return{setters:[function(n){t=n.n;r=n.U}],execute:function(){n({a:e,b:i,f:c});var u=function(){var n=t();return n&&n.locale||r};function e(){return Intl.NumberFormat(u()).format(1.1).replace(/\p{Number}/gu,"")}function i(){return Intl.NumberFormat(u()).format(11111).replace(/\p{Number}/gu,"")}function c(n,t){var r=t!==undefined?{minimumFractionDigits:t,maximumFractionDigits:t}:{};var e=Intl.NumberFormat(u(),Object.assign({},r)).format(n);if(e==="NaN"){return""}return e}var a=n("g",(function(){return"-"}))}}}));
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(n,t,e,r){function i(n){return n instanceof e?n:new e((function(t){t(n)}))}return new(e||(e=Promise))((function(e,a){function o(n){try{f(r.next(n))}catch(n){a(n)}}function u(n){try{f(r["throw"](n))}catch(n){a(n)}}function f(n){n.done?e(n.value):i(n.value).then(o,u)}f((r=r.apply(n,t||[])).next())}))};var __generator=this&&this.__generator||function(n,t){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(n){return function(t){return f([n,t])}}function f(u){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(e=0)),e)try{if(r=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;i=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){e.label=u[1];break}if(u[0]===6&&e.label<a[1]){e.label=a[1];a=u;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(u);break}if(a[2])e.ops.pop();e.trys.pop();continue}u=t.call(n,e)}catch(n){u=[6,n];i=0}finally{r=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-WmWy2rJ-.system.js"],(function(n){"use strict";var t,e,r;return{setters:[function(n){t=n.a;e=n.R;r=n.S}],execute:function(){var i=this;var a='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .bal-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .bal-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])';var o=function(n,t){var e=n.querySelector(a);f(e,t!==null&&t!==void 0?t:n)};var u=function(n,t){var e=Array.from(n.querySelectorAll(a));var r=e.length>0?e[e.length-1]:null;f(r,t!==null&&t!==void 0?t:n)};var f=function(n,t){var e=n;var r=n===null||n===void 0?void 0:n.shadowRoot;if(r){e=r.querySelector(a)||n}if(e){c(e)}else{t.focus({preventScroll:true})}};var c=function(n){n.focus({preventScroll:true});if(n.classList.contains("bal-focusable")){var t=n.closest("bal-app");if(t){t.setFocus([n])}}};var d=0;var l="backdrop";var s=n("p",(function(n){if(t.hasDocument){h(document)}var e=d++;n.overlayIndex=e;if(!n.el.hasAttribute("id")){n.el.id="bal-overlay-".concat(e)}}));var v=n("g",(function(n,t){if(t===undefined){t="bal-modal,bal-snackbar,bal-toast"}return Array.from(n.querySelectorAll(t)).filter((function(n){return n.overlayIndex>0}))}));var b=n("a",(function(n,t,e){var r=v(n,t);return e===undefined?r[r.length-1]:r.find((function(n){return n.id===e}))}));var h=function(n){if(d===0){d=1;n.addEventListener("focus",(function(t){m(t,n)}),true);n.addEventListener("keyup",(function(t){if(t.key==="Escape"){var e=b(n);if(e){e.dismiss(undefined,l)}}}))}};var y=function(n,t,e){var r=p(n,t);return r[r.length-1]};var p=function(n,t){return v(n,t).filter((function(n){return!w(n)}))};var w=function(n){return n.classList.contains("is-hidden")};var m=function(n,t){var e=y(t,"bal-modal");var r=n.target;if(!e||!r){return}var i=function(){if(e===r){e.lastFocus=undefined}else{var n=e;var i=n.querySelector(".bal-modal__container");if(!i){return}if(i.contains(r)||r===n.querySelector("bal-modal__background")){e.lastFocus=r}else{var a=e.lastFocus;o(i,e);if(a===t.activeElement){u(i,e)}e.lastFocus=t.activeElement}}};var a=function(){if(e.contains(r)){e.lastFocus=r}else if(r.tagName==="BAL-TOAST"){S(e.lastFocus,e)}else{var n=e.lastFocus;o(e);if(n===t.activeElement){u(e)}e.lastFocus=t.activeElement}};if(e.shadowRoot){a()}else{i()}};var x=n("d",(function(n,t,e,r){return __awaiter(i,void 0,void 0,(function(){var i;return __generator(this,(function(a){switch(a.label){case 0:if(!n.presented){return[2,false]}a.label=1;case 1:a.trys.push([1,3,,4]);n.el.style.setProperty("pointer-events","none");n.willDismiss.emit({data:t,role:e});return[4,r()];case 2:a.sent();n.presented=false;n.didDismiss.emit({data:t,role:e});return[3,4];case 3:i=a.sent();n.presented=false;console.error(i);return[3,4];case 4:n.el.remove();return[2,true]}}))}))}));var _=n("e",(function(n,t){var e;var r=new Promise((function(n){return e=n}));k(n,t,(function(n){e(n.detail)}));return r}));var k=function(n,t,i){var a=function(e){r(n,t,a);i(e)};e(n,t,a)};var S=function(n,t){var e=n;var r=n===null||n===void 0?void 0:n.shadowRoot;if(r){e=r.querySelector(a)||n}if(e){c(e)}else{t.focus()}};var g=n("F","bal-disable-focus-trap")}}}));
1
+ var __awaiter=this&&this.__awaiter||function(n,t,e,r){function i(n){return n instanceof e?n:new e((function(t){t(n)}))}return new(e||(e=Promise))((function(e,a){function o(n){try{f(r.next(n))}catch(n){a(n)}}function u(n){try{f(r["throw"](n))}catch(n){a(n)}}function f(n){n.done?e(n.value):i(n.value).then(o,u)}f((r=r.apply(n,t||[])).next())}))};var __generator=this&&this.__generator||function(n,t){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(n){return function(t){return f([n,t])}}function f(u){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(e=0)),e)try{if(r=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;i=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){e.label=u[1];break}if(u[0]===6&&e.label<a[1]){e.label=a[1];a=u;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(u);break}if(a[2])e.ops.pop();e.trys.pop();continue}u=t.call(n,e)}catch(n){u=[6,n];i=0}finally{r=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-Bas5fYcv.system.js"],(function(n){"use strict";var t,e,r;return{setters:[function(n){t=n.a;e=n.R;r=n.S}],execute:function(){var i=this;var a='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .bal-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .bal-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])';var o=function(n,t){var e=n.querySelector(a);f(e,t!==null&&t!==void 0?t:n)};var u=function(n,t){var e=Array.from(n.querySelectorAll(a));var r=e.length>0?e[e.length-1]:null;f(r,t!==null&&t!==void 0?t:n)};var f=function(n,t){var e=n;var r=n===null||n===void 0?void 0:n.shadowRoot;if(r){e=r.querySelector(a)||n}if(e){c(e)}else{t.focus({preventScroll:true})}};var c=function(n){n.focus({preventScroll:true});if(n.classList.contains("bal-focusable")){var t=n.closest("bal-app");if(t){t.setFocus([n])}}};var d=0;var l="backdrop";var s=n("p",(function(n){if(t.hasDocument){h(document)}var e=d++;n.overlayIndex=e;if(!n.el.hasAttribute("id")){n.el.id="bal-overlay-".concat(e)}}));var v=n("g",(function(n,t){if(t===undefined){t="bal-modal,bal-snackbar,bal-toast"}return Array.from(n.querySelectorAll(t)).filter((function(n){return n.overlayIndex>0}))}));var b=n("a",(function(n,t,e){var r=v(n,t);return e===undefined?r[r.length-1]:r.find((function(n){return n.id===e}))}));var h=function(n){if(d===0){d=1;n.addEventListener("focus",(function(t){x(t,n)}),true);n.addEventListener("keyup",(function(t){if(t.key==="Escape"){var e=b(n);if(e){e.dismiss(undefined,l)}}}))}};var y=function(n,t,e){var r=p(n,t);return r[r.length-1]};var p=function(n,t){return v(n,t).filter((function(n){return!w(n)}))};var w=function(n){return n.classList.contains("is-hidden")};var x=function(n,t){var e=y(t,"bal-modal");var r=n.target;if(!e||!r){return}var i=function(){if(e===r){e.lastFocus=undefined}else{var n=e;var i=n.querySelector(".bal-modal__container");if(!i){return}if(i.contains(r)||r===n.querySelector("bal-modal__background")){e.lastFocus=r}else{var a=e.lastFocus;o(i,e);if(a===t.activeElement){u(i,e)}e.lastFocus=t.activeElement}}};var a=function(){if(e.contains(r)){e.lastFocus=r}else if(r.tagName==="BAL-TOAST"){S(e.lastFocus,e)}else{var n=e.lastFocus;o(e);if(n===t.activeElement){u(e)}e.lastFocus=t.activeElement}};if(e.shadowRoot){a()}else{i()}};var _=n("d",(function(n,t,e,r){return __awaiter(i,void 0,void 0,(function(){var i;return __generator(this,(function(a){switch(a.label){case 0:if(!n.presented){return[2,false]}a.label=1;case 1:a.trys.push([1,3,,4]);n.el.style.setProperty("pointer-events","none");n.willDismiss.emit({data:t,role:e});return[4,r()];case 2:a.sent();n.presented=false;n.didDismiss.emit({data:t,role:e});return[3,4];case 3:i=a.sent();n.presented=false;console.error(i);return[3,4];case 4:n.el.remove();return[2,true]}}))}))}));var m=n("e",(function(n,t){var e;var r=new Promise((function(n){return e=n}));k(n,t,(function(n){e(n.detail)}));return r}));var k=function(n,t,i){var a=function(e){r(n,t,a);i(e)};e(n,t,a)};var S=function(n,t){var e=n;var r=n===null||n===void 0?void 0:n.shadowRoot;if(r){e=r.querySelector(a)||n}if(e){c(e)}else{t.focus()}};var g=n("F","bal-disable-focus-trap")}}}));
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(n,t,r,i){function e(n){return n instanceof r?n:new r((function(t){t(n)}))}return new(r||(r=Promise))((function(r,u){function o(n){try{a(i.next(n))}catch(n){u(n)}}function f(n){try{a(i["throw"](n))}catch(n){u(n)}}function a(n){n.done?r(n.value):e(n.value).then(o,f)}a((i=i.apply(n,t||[])).next())}))};var __generator=this&&this.__generator||function(n,t){var r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},i,e,u,o;return o={next:f(0),throw:f(1),return:f(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function f(n){return function(t){return a([n,t])}}function a(f){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,f[0]&&(r=0)),r)try{if(i=1,e&&(u=f[0]&2?e["return"]:f[0]?e["throw"]||((u=e["return"])&&u.call(e),0):e.next)&&!(u=u.call(e,f[1])).done)return u;if(e=0,u)f=[f[0]&2,u.value];switch(f[0]){case 0:case 1:u=f;break;case 4:r.label++;return{value:f[1],done:false};case 5:r.label++;e=f[1];f=[0];continue;case 7:f=r.ops.pop();r.trys.pop();continue;default:if(!(u=r.trys,u=u.length>0&&u[u.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!u||f[1]>u[0]&&f[1]<u[3])){r.label=f[1];break}if(f[0]===6&&r.label<u[1]){r.label=u[1];u=f;break}if(u&&r.label<u[2]){r.label=u[2];r.ops.push(f);break}if(u[2])r.ops.pop();r.trys.pop();continue}f=t.call(n,r)}catch(n){f=[6,n];e=0}finally{i=u=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:true}}};System.register(["./p-WmWy2rJ-.system.js"],(function(n){"use strict";var t;return{setters:[function(n){t=n.y}],execute:function(){var r=this;var i=n("s",(function(n){if(n){n.preventDefault();n.stopPropagation()}}));var e=n("g",(function(n){return n.target}));var u=n("k",(function(n,t){var r,i;var e=((r=n.nativeInput)===null||r===void 0?void 0:r.value)||"";var u=(i=t.target)===null||i===void 0?void 0:i.selectionStart;return e.slice(0,u)+t.key+e.slice(u+Math.abs(0))}));var o=n("d",(function(n){if(n.nativeInput){n.nativeInput.blur()}}));var f=n("h",(function(n,t){if((n.disabled||n.readonly)&&t.target&&t.target===n.el){i(t)}}));var a=n("c",(function(n){return __awaiter(r,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:return[4,t()];case 1:i.sent();(r=n===null||n===void 0?void 0:n.nativeInput)===null||r===void 0?void 0:r.focus();return[2]}}))}))}));var c=n("i",(function(n,t){if(n.disabled||n.readonly){i(t)}}));var v=n("f",(function(n,t){if(!n.disabled&&!n.readonly&&n.balClick){n.balClick.emit(t)}}));var s=n("a",(function(n,t){n.focused=true;n.inputValue=n.value;if(!n.disabled&&n.balFocus){n.balFocus.emit(t)}}));var l=n("j",(function(n,t,r){if(t===void 0){t=undefined}n.value=t;n.inputValue=n.value;clearTimeout(r);r=setTimeout((function(){if(n.nativeInput){n.nativeInput.value=n.value}}))}));var d=n("b",(function(n,t){n.focused=false;if(!n.disabled&&n.balBlur){n.balBlur.emit(t)}}));var h=n("e",(function(n){if(n.value!==n.inputValue){n.value=n.inputValue;n.balChange.emit(n.value)}}));var y=function(n){return n===""||n===undefined||n===null||Array.isArray(n)&&!n.length||typeof n==="number"&&isNaN(n)};var w=function(n){return y(n)?undefined:n};var b=n("l",(function(n,t){return w(n)!==w(t)}))}}}));
1
+ var __awaiter=this&&this.__awaiter||function(n,t,r,i){function e(n){return n instanceof r?n:new r((function(t){t(n)}))}return new(r||(r=Promise))((function(r,u){function o(n){try{a(i.next(n))}catch(n){u(n)}}function f(n){try{a(i["throw"](n))}catch(n){u(n)}}function a(n){n.done?r(n.value):e(n.value).then(o,f)}a((i=i.apply(n,t||[])).next())}))};var __generator=this&&this.__generator||function(n,t){var r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},i,e,u,o;return o={next:f(0),throw:f(1),return:f(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function f(n){return function(t){return a([n,t])}}function a(f){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,f[0]&&(r=0)),r)try{if(i=1,e&&(u=f[0]&2?e["return"]:f[0]?e["throw"]||((u=e["return"])&&u.call(e),0):e.next)&&!(u=u.call(e,f[1])).done)return u;if(e=0,u)f=[f[0]&2,u.value];switch(f[0]){case 0:case 1:u=f;break;case 4:r.label++;return{value:f[1],done:false};case 5:r.label++;e=f[1];f=[0];continue;case 7:f=r.ops.pop();r.trys.pop();continue;default:if(!(u=r.trys,u=u.length>0&&u[u.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!u||f[1]>u[0]&&f[1]<u[3])){r.label=f[1];break}if(f[0]===6&&r.label<u[1]){r.label=u[1];u=f;break}if(u&&r.label<u[2]){r.label=u[2];r.ops.push(f);break}if(u[2])r.ops.pop();r.trys.pop();continue}f=t.call(n,r)}catch(n){f=[6,n];e=0}finally{i=u=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:true}}};System.register(["./p-Bas5fYcv.system.js"],(function(n){"use strict";var t;return{setters:[function(n){t=n.y}],execute:function(){var r=this;var i=n("s",(function(n){if(n){n.preventDefault();n.stopPropagation()}}));var e=n("g",(function(n){return n.target}));var u=n("k",(function(n,t){var r,i;var e=((r=n.nativeInput)===null||r===void 0?void 0:r.value)||"";var u=(i=t.target)===null||i===void 0?void 0:i.selectionStart;return e.slice(0,u)+t.key+e.slice(u+Math.abs(0))}));var o=n("d",(function(n){if(n.nativeInput){n.nativeInput.blur()}}));var f=n("h",(function(n,t){if((n.disabled||n.readonly)&&t.target&&t.target===n.el){i(t)}}));var a=n("c",(function(n){return __awaiter(r,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:return[4,t()];case 1:i.sent();(r=n===null||n===void 0?void 0:n.nativeInput)===null||r===void 0?void 0:r.focus();return[2]}}))}))}));var c=n("i",(function(n,t){if(n.disabled||n.readonly){i(t)}}));var v=n("f",(function(n,t){if(!n.disabled&&!n.readonly&&n.balClick){n.balClick.emit(t)}}));var s=n("a",(function(n,t){n.focused=true;n.inputValue=n.value;if(!n.disabled&&n.balFocus){n.balFocus.emit(t)}}));var l=n("j",(function(n,t,r){if(t===void 0){t=undefined}n.value=t;n.inputValue=n.value;clearTimeout(r);r=setTimeout((function(){if(n.nativeInput){n.nativeInput.value=n.value}}))}));var d=n("b",(function(n,t){n.focused=false;if(!n.disabled&&n.balBlur){n.balBlur.emit(t)}}));var h=n("e",(function(n){if(n.value!==n.inputValue){n.value=n.inputValue;n.balChange.emit(n.value)}}));var y=function(n){return n===""||n===undefined||n===null||Array.isArray(n)&&!n.length||typeof n==="number"&&isNaN(n)};var w=function(n){return y(n)?undefined:n};var b=n("l",(function(n,t){return w(n)!==w(t)}))}}}));
@@ -1 +1 @@
1
- import{M as t,t as i,I as s,R as e,S as n,Q as h}from"./p-pkPHUz5e.js";import{B as r}from"./p-ByiN-QjD.js";import{s as o}from"./p-C8S5XlJl.js";import{j as a}from"./p-D1VPLQ5z.js";const l=t=>"string"==typeof t?t.replace(/([a-z])([0-9])/g,"$1-$2").replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase():"",c=t=>parseInt(t.slice(0,-2),10),d=(t,i=16)=>{if("undefined"==typeof window||void 0===t)return{top:i,right:i,bottom:i,left:i};const s=window.getComputedStyle(t);return{top:c(s.getPropertyValue("padding-top")),right:c(s.getPropertyValue("padding-right")),bottom:c(s.getPropertyValue("padding-bottom")),left:c(s.getPropertyValue("padding-left"))}},u=t=>{if("undefined"==typeof window)return t.clientWidth;const i=window.getComputedStyle(t),s=i.getPropertyValue("box-sizing"),e=c(i.getPropertyValue("width"));if("border-box"===s)return e;const n=c(i.getPropertyValue("padding-right"));return c(i.getPropertyValue("padding-left"))+e+n},b=t=>{const i=Array.from(t.children);let s=0;for(const t of i)s=Math.max(s,t.offsetLeft+t.offsetWidth);return s},f=({value:i,items:s,containerId:e,onControlChange:n})=>{const h=r.block("swiper").element("controls");return t("div",{class:Object.assign(Object.assign({},h.class()),h.modifier("dots").class())},t("bal-pagination",{"aria-controls":e,interface:"small",value:i+1,totalPages:s.length,onBalChange:t=>{let i=t.detail-1;i<0&&(i=0),i>=s.length&&(i=s.length-1),n(s[i])}}))},g=({isFirst:i,isLast:s,inverted:e,areControlsHidden:n,onNextClick:h,onPreviousClick:o,containerId:a,leftControlTitle:l,rightControlTitle:c})=>{const d=r.block("swiper").element("controls"),u=d.element("button");return t("div",{"data-mutation":"false",class:Object.assign(Object.assign({},d.class()),d.modifier("large").class())},t("bal-button",{class:Object.assign(Object.assign(Object.assign({},u.class()),u.modifier("left").class()),u.modifier("hidden").class(i&&n)),"aria-controls":a,square:!0,icon:"nav-go-left",rounded:!0,inverted:e,onClick:()=>o(),tabindex:-1,disabled:i,"aria-hidden":i&&n?"true":null,"data-testid":"bal-carousel-control-left",title:l}),t("bal-button",{class:Object.assign(Object.assign(Object.assign({},u.class()),u.modifier("right").class()),u.modifier("hidden").class(s&&n)),"aria-controls":a,square:!0,icon:"nav-go-right",rounded:!0,inverted:e,onClick:()=>h(),tabindex:-1,disabled:s,"aria-hidden":s&&n?"true":null,"data-testid":"bal-carousel-control-right",title:c}))},w=({isFirst:i,isLast:s,inverted:e,leftControlTitle:n,rightControlTitle:h,containerId:o,onNextClick:a,onPreviousClick:l})=>{const c=r.block("swiper").element("controls"),d=c.element("button");return t("div",{class:Object.assign(Object.assign({},c.class()),c.modifier("small").class())},t("bal-button",{class:Object.assign(Object.assign(Object.assign({},d.class()),d.modifier("left").class()),d.modifier("hidden").class(i)),"aria-controls":o,square:!0,size:"small",icon:"nav-go-left",rounded:!0,inverted:e,onClick:()=>l(),disabled:i,tabindex:"-1","data-testid":"bal-carousel-control-left",title:n}),t("bal-button",{class:Object.assign(Object.assign(Object.assign({},d.class()),d.modifier("right").class()),d.modifier("hidden").class(s)),"aria-controls":o,square:!0,size:"small",icon:"nav-go-right",rounded:!0,inverted:e,onClick:()=>a(),disabled:s,tabindex:"-1","data-testid":"bal-carousel-control-right",title:h}))},p={de:{left:"vorherige",right:"nächste"},en:{left:"previous",right:"next"},fr:{left:"précédent",right:"suivant"},it:{left:"precedente",right:"successivo"},nl:{left:"vorige",right:"volgende"},es:{left:"anterior",right:"siguiente"},pl:{left:"poprzedni",right:"następny"},pt:{left:"anterior",right:"próximo"},sv:{left:"föregående",right:"nästa"},fi:{left:"edellinen",right:"seuraava"}};class v{constructor(){this.previousTransformValue=0,this.active=!0,this.id="bal-swiper-"+m++,this.containerId=`${this.id}-container`,this.index=0,this.steps=1,this.noNeedForControls=!0,this.isLastSlideVisible=!1,this.itemsPerView=1,this.controls="none",this.gapSpace="none",this.keyboardMode=!1,this.shiftMode=!1,this.isInsideContainer=!1,this.focusByKey=!1,this.pointerDown=()=>{this.keyboardMode=!1,this.shiftMode=!1,this.focusByKey=!1,this.isInsideContainer=!1},this.listenToKeyDown=t=>{this.keyboardMode=a(t),this.shiftMode=t.shiftKey,this.focusByKey=!1,this.isInsideContainer=i(this.containerEl,t.target),this.active&&"dots"!==this.controls&&"tabs"!==this.controls&&this.isInsideContainer&&this.keyboardMode&&(this.shiftMode&&this.index>0?(this.focusByKey=!0,this.focusPreviousItem(t)):!this.shiftMode&&this.index<this.lastIndex()&&(this.focusByKey=!0,this.focusNextItem(t)))},this.updateFocus=()=>{this.active&&"dots"!==this.controls&&"tabs"!==this.controls&&this.focusByKey&&!this.isInsideContainer&&this.focusItem(this.shiftMode?this.lastIndex():0)},this.cssBlock=r.block("swiper"),this.cssSwiper=()=>Object.assign({},this.cssBlock.class(this.active)),this.cssInnerSwiper=()=>Object.assign(Object.assign(Object.assign(Object.assign({},this.cssBlock.element("inner").class(this.active)),this.cssBlock.element("inner").modifier(`items-per-view-${this.itemsPerView}`).class(this.active)),this.cssBlock.element("inner").modifier("shadow-left").class(this.hasShadowLeft())),this.cssBlock.element("inner").modifier("shadow-right").class(this.hasShadowRight())),this.cssSwiperContainer=()=>Object.assign(Object.assign({},this.cssBlock.element("container").class(this.active)),this.cssBlock.element("container").modifier(`gap-${this.gapSpace}`).class(this.active)),this.notifyChange=s((()=>this.notifyChangeInternal()),100),this.onControlChange=t=>{t!==this.index&&(t>this.index?this.next(t-this.index):this.previous(this.index-t))},this.onPreviousButtonClick=()=>this.previous(),this.onNextButtonClick=()=>this.next()}connectedCallback(t){this.component=t,e(window,"keydown",this.listenToKeyDown),e(this.component.el,"focusin",this.updateFocus),e(window,"touchstart",this.pointerDown),e(window,"mousedown",this.pointerDown)}disconnectedCallback(){n(window,"keydown",this.listenToKeyDown),n(this.component.el,"focusin",this.updateFocus),n(window,"touchstart",this.pointerDown),n(window,"mousedown",this.pointerDown)}isActive(){return this.active}async activate(){this.active=!0}async disable(){this.active=!1}async focusItem(t){const i=await this.goTo(t);i&&i.el&&await this.setFocusToEl(i.el)}async focusNextItem(t){const i=await this.next(1);i&&i.el&&(o(t),await this.setFocusToEl(i.el))}async focusPreviousItem(t){const i=await this.previous(1);i&&i.el&&(o(t),await this.setFocusToEl(i.el))}async setFocusToEl(t){t.setFocus&&await t.setFocus()}isFirst(){return 0===this.index}hasShadowLeft(){return this.hasShadow()&&0!==this.index&&this.active}hasShadowRight(){return this.hasShadow()&&!this.isLastSlideVisible&&this.active}isLast(){return this.isLastSlideVisible}async previous(t=this.steps){let i=this.index-t;return i<0&&(i=0),this.goTo(i)}async next(t=this.steps){const i=this.component.swiperGetAllChildrenElements().length;let s=this.index+t;return s>=i&&(s=i-1),this.goTo(s)}async updateIndex(t=this.index){this.index!==t&&(this.goTo(t),this.index=t,this.component.swiperOnChange(this.index))}async goTo(t=this.index){if(this.active){const i=await this.buildSlide(t);return i&&(await this.animate(i.transformActive,!0)||this.index!==t)&&(this.index=t,this.component.swiperOnChange(this.index)),i}}renderControls(){if(!this.active||this.noNeedForControls||!this.component.hasAnimated)return"";const i=p[this.component.language].left,s=p[this.component.language].right;switch(this.controls){case"small":return t(w,{isFirst:this.isFirst(),isLast:this.isLast(),inverted:this.component.inverted,leftControlTitle:i,rightControlTitle:s,containerId:this.containerId,onNextClick:()=>this.onNextButtonClick(),onPreviousClick:()=>this.onPreviousButtonClick()});case"large":return t(g,{isFirst:this.isFirst(),isLast:this.isLast(),inverted:this.component.inverted,areControlsHidden:!this.component.isMobile,leftControlTitle:i,rightControlTitle:s,containerId:this.containerId,onNextClick:()=>this.onNextButtonClick(),onPreviousClick:()=>this.onPreviousButtonClick()});case"dots":return t(f,{value:this.index,items:this.getAllControlItems(),containerId:this.containerId,onControlChange:t=>this.onControlChange(t.value)});default:return""}}getAllControlItems(){return this.component.swiperGetAllChildrenElements().map(((t,i)=>({value:i,label:t.label})))}lastIndex(){return this.component.swiperGetAllChildrenElements().length-1}hasShadow(){return!this.component.inverted&&("auto"===this.itemsPerView||this.itemsPerView>1)}async notifyChangeInternal(){const t=await this.buildSlide(this.index);t&&this.animate(t.transformActive,!1)}async buildSlide(t){const i=this.component.swiperGetAllChildrenElements(),s=void 0===t?this.lastIndex():t;if(i.length>s&&s>=0){const t={none:0,normal:16,medium:24}[this.gapSpace],e=i.filter(((t,i)=>i<s+1)).reduce(((i,s)=>i+u(s)+t),0),n=i.filter(((t,i)=>i<s)).reduce(((i,s)=>i+u(s)+t),0);return{el:i[s],transformNext:e,transformActive:n,isFirst:0===s,isLast:s===this.lastIndex(),total:this.lastIndex()+1,index:s}}}async animate(t=0,i=!0){return new Promise((s=>{void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.currentRaf=h((async()=>{if(this.containerEl&&this.innerEl){const e=await this.buildSlide();if(e){const n=e.transformNext||0,h=this.innerEl.clientWidth||0;if(0===n||0===h)return s(!1);let r=n-h;3===this.itemsPerView&&(r=n-h-1);const o=r<=t,a=0===t||r<=2;a&&(this.index=0);const l="small"===this.controls,c="large"===this.controls;this.noNeedForControls=n<=h;let d=this.noNeedForControls?0:o?r:t;a||this.noNeedForControls||!(l||c&&!this.component.isMobile)||(d-=o?0:c?56:48),this.containerEl.style.transitionDuration=i?"0.6s":"0",this.containerEl.style.transform=`translate3d(-${d}px, 0px, 0px)`;const u=d!==this.previousTransformValue;return this.previousTransformValue=d,this.isLastSlideVisible=o,this.borderEl&&(this.borderEl.style.transitionDuration=i?"0.6s":"0",this.borderEl.style.transform=`translate3d(${d}px, 0px, 0px)`),this.component.hasAnimated=!0,s(!!u)}}}))}))}}let m=0;export{v as S,b as a,d as g,l as t}
1
+ import{M as t,t as i,I as s,R as e,S as n,Q as h}from"./p-BtpJmRB8.js";import{B as r}from"./p-ByiN-QjD.js";import{s as o}from"./p-WC2U8mYh.js";import{j as a}from"./p-D1VPLQ5z.js";const l=t=>"string"==typeof t?t.replace(/([a-z])([0-9])/g,"$1-$2").replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase():"",c=t=>parseInt(t.slice(0,-2),10),d=(t,i=16)=>{if("undefined"==typeof window||void 0===t)return{top:i,right:i,bottom:i,left:i};const s=window.getComputedStyle(t);return{top:c(s.getPropertyValue("padding-top")),right:c(s.getPropertyValue("padding-right")),bottom:c(s.getPropertyValue("padding-bottom")),left:c(s.getPropertyValue("padding-left"))}},u=t=>{if("undefined"==typeof window)return t.clientWidth;const i=window.getComputedStyle(t),s=i.getPropertyValue("box-sizing"),e=c(i.getPropertyValue("width"));if("border-box"===s)return e;const n=c(i.getPropertyValue("padding-right"));return c(i.getPropertyValue("padding-left"))+e+n},b=t=>{const i=Array.from(t.children);let s=0;for(const t of i)s=Math.max(s,t.offsetLeft+t.offsetWidth);return s},f=({value:i,items:s,containerId:e,onControlChange:n})=>{const h=r.block("swiper").element("controls");return t("div",{class:Object.assign(Object.assign({},h.class()),h.modifier("dots").class())},t("bal-pagination",{"aria-controls":e,interface:"small",value:i+1,totalPages:s.length,onBalChange:t=>{let i=t.detail-1;i<0&&(i=0),i>=s.length&&(i=s.length-1),n(s[i])}}))},g=({isFirst:i,isLast:s,inverted:e,areControlsHidden:n,onNextClick:h,onPreviousClick:o,containerId:a,leftControlTitle:l,rightControlTitle:c})=>{const d=r.block("swiper").element("controls"),u=d.element("button");return t("div",{"data-mutation":"false",class:Object.assign(Object.assign({},d.class()),d.modifier("large").class())},t("bal-button",{class:Object.assign(Object.assign(Object.assign({},u.class()),u.modifier("left").class()),u.modifier("hidden").class(i&&n)),"aria-controls":a,square:!0,icon:"nav-go-left",rounded:!0,inverted:e,onClick:()=>o(),tabindex:-1,disabled:i,"aria-hidden":i&&n?"true":null,"data-testid":"bal-carousel-control-left",title:l}),t("bal-button",{class:Object.assign(Object.assign(Object.assign({},u.class()),u.modifier("right").class()),u.modifier("hidden").class(s&&n)),"aria-controls":a,square:!0,icon:"nav-go-right",rounded:!0,inverted:e,onClick:()=>h(),tabindex:-1,disabled:s,"aria-hidden":s&&n?"true":null,"data-testid":"bal-carousel-control-right",title:c}))},w=({isFirst:i,isLast:s,inverted:e,leftControlTitle:n,rightControlTitle:h,containerId:o,onNextClick:a,onPreviousClick:l})=>{const c=r.block("swiper").element("controls"),d=c.element("button");return t("div",{class:Object.assign(Object.assign({},c.class()),c.modifier("small").class())},t("bal-button",{class:Object.assign(Object.assign(Object.assign({},d.class()),d.modifier("left").class()),d.modifier("hidden").class(i)),"aria-controls":o,square:!0,size:"small",icon:"nav-go-left",rounded:!0,inverted:e,onClick:()=>l(),disabled:i,tabindex:"-1","data-testid":"bal-carousel-control-left",title:n}),t("bal-button",{class:Object.assign(Object.assign(Object.assign({},d.class()),d.modifier("right").class()),d.modifier("hidden").class(s)),"aria-controls":o,square:!0,size:"small",icon:"nav-go-right",rounded:!0,inverted:e,onClick:()=>a(),disabled:s,tabindex:"-1","data-testid":"bal-carousel-control-right",title:h}))},p={de:{left:"vorherige",right:"nächste"},en:{left:"previous",right:"next"},fr:{left:"précédent",right:"suivant"},it:{left:"precedente",right:"successivo"},nl:{left:"vorige",right:"volgende"},es:{left:"anterior",right:"siguiente"},pl:{left:"poprzedni",right:"następny"},pt:{left:"anterior",right:"próximo"},sv:{left:"föregående",right:"nästa"},fi:{left:"edellinen",right:"seuraava"}};class v{constructor(){this.previousTransformValue=0,this.active=!0,this.id="bal-swiper-"+m++,this.containerId=`${this.id}-container`,this.index=0,this.steps=1,this.noNeedForControls=!0,this.isLastSlideVisible=!1,this.itemsPerView=1,this.controls="none",this.gapSpace="none",this.keyboardMode=!1,this.shiftMode=!1,this.isInsideContainer=!1,this.focusByKey=!1,this.pointerDown=()=>{this.keyboardMode=!1,this.shiftMode=!1,this.focusByKey=!1,this.isInsideContainer=!1},this.listenToKeyDown=t=>{this.keyboardMode=a(t),this.shiftMode=t.shiftKey,this.focusByKey=!1,this.isInsideContainer=i(this.containerEl,t.target),this.active&&"dots"!==this.controls&&"tabs"!==this.controls&&this.isInsideContainer&&this.keyboardMode&&(this.shiftMode&&this.index>0?(this.focusByKey=!0,this.focusPreviousItem(t)):!this.shiftMode&&this.index<this.lastIndex()&&(this.focusByKey=!0,this.focusNextItem(t)))},this.updateFocus=()=>{this.active&&"dots"!==this.controls&&"tabs"!==this.controls&&this.focusByKey&&!this.isInsideContainer&&this.focusItem(this.shiftMode?this.lastIndex():0)},this.cssBlock=r.block("swiper"),this.cssSwiper=()=>Object.assign({},this.cssBlock.class(this.active)),this.cssInnerSwiper=()=>Object.assign(Object.assign(Object.assign(Object.assign({},this.cssBlock.element("inner").class(this.active)),this.cssBlock.element("inner").modifier(`items-per-view-${this.itemsPerView}`).class(this.active)),this.cssBlock.element("inner").modifier("shadow-left").class(this.hasShadowLeft())),this.cssBlock.element("inner").modifier("shadow-right").class(this.hasShadowRight())),this.cssSwiperContainer=()=>Object.assign(Object.assign({},this.cssBlock.element("container").class(this.active)),this.cssBlock.element("container").modifier(`gap-${this.gapSpace}`).class(this.active)),this.notifyChange=s((()=>this.notifyChangeInternal()),100),this.onControlChange=t=>{t!==this.index&&(t>this.index?this.next(t-this.index):this.previous(this.index-t))},this.onPreviousButtonClick=()=>this.previous(),this.onNextButtonClick=()=>this.next()}connectedCallback(t){this.component=t,e(window,"keydown",this.listenToKeyDown),e(this.component.el,"focusin",this.updateFocus),e(window,"touchstart",this.pointerDown),e(window,"mousedown",this.pointerDown)}disconnectedCallback(){n(window,"keydown",this.listenToKeyDown),n(this.component.el,"focusin",this.updateFocus),n(window,"touchstart",this.pointerDown),n(window,"mousedown",this.pointerDown)}isActive(){return this.active}async activate(){this.active=!0}async disable(){this.active=!1}async focusItem(t){const i=await this.goTo(t);i&&i.el&&await this.setFocusToEl(i.el)}async focusNextItem(t){const i=await this.next(1);i&&i.el&&(o(t),await this.setFocusToEl(i.el))}async focusPreviousItem(t){const i=await this.previous(1);i&&i.el&&(o(t),await this.setFocusToEl(i.el))}async setFocusToEl(t){t.setFocus&&await t.setFocus()}isFirst(){return 0===this.index}hasShadowLeft(){return this.hasShadow()&&0!==this.index&&this.active}hasShadowRight(){return this.hasShadow()&&!this.isLastSlideVisible&&this.active}isLast(){return this.isLastSlideVisible}async previous(t=this.steps){let i=this.index-t;return i<0&&(i=0),this.goTo(i)}async next(t=this.steps){const i=this.component.swiperGetAllChildrenElements().length;let s=this.index+t;return s>=i&&(s=i-1),this.goTo(s)}async updateIndex(t=this.index){this.index!==t&&(this.goTo(t),this.index=t,this.component.swiperOnChange(this.index))}async goTo(t=this.index){if(this.active){const i=await this.buildSlide(t);return i&&(await this.animate(i.transformActive,!0)||this.index!==t)&&(this.index=t,this.component.swiperOnChange(this.index)),i}}renderControls(){if(!this.active||this.noNeedForControls||!this.component.hasAnimated)return"";const i=p[this.component.language].left,s=p[this.component.language].right;switch(this.controls){case"small":return t(w,{isFirst:this.isFirst(),isLast:this.isLast(),inverted:this.component.inverted,leftControlTitle:i,rightControlTitle:s,containerId:this.containerId,onNextClick:()=>this.onNextButtonClick(),onPreviousClick:()=>this.onPreviousButtonClick()});case"large":return t(g,{isFirst:this.isFirst(),isLast:this.isLast(),inverted:this.component.inverted,areControlsHidden:!this.component.isMobile,leftControlTitle:i,rightControlTitle:s,containerId:this.containerId,onNextClick:()=>this.onNextButtonClick(),onPreviousClick:()=>this.onPreviousButtonClick()});case"dots":return t(f,{value:this.index,items:this.getAllControlItems(),containerId:this.containerId,onControlChange:t=>this.onControlChange(t.value)});default:return""}}getAllControlItems(){return this.component.swiperGetAllChildrenElements().map(((t,i)=>({value:i,label:t.label})))}lastIndex(){return this.component.swiperGetAllChildrenElements().length-1}hasShadow(){return!this.component.inverted&&("auto"===this.itemsPerView||this.itemsPerView>1)}async notifyChangeInternal(){const t=await this.buildSlide(this.index);t&&this.animate(t.transformActive,!1)}async buildSlide(t){const i=this.component.swiperGetAllChildrenElements(),s=void 0===t?this.lastIndex():t;if(i.length>s&&s>=0){const t={none:0,normal:16,medium:24}[this.gapSpace],e=i.filter(((t,i)=>i<s+1)).reduce(((i,s)=>i+u(s)+t),0),n=i.filter(((t,i)=>i<s)).reduce(((i,s)=>i+u(s)+t),0);return{el:i[s],transformNext:e,transformActive:n,isFirst:0===s,isLast:s===this.lastIndex(),total:this.lastIndex()+1,index:s}}}async animate(t=0,i=!0){return new Promise((s=>{void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.currentRaf=h((async()=>{if(this.containerEl&&this.innerEl){const e=await this.buildSlide();if(e){const n=e.transformNext||0,h=this.innerEl.clientWidth||0;if(0===n||0===h)return s(!1);let r=n-h;3===this.itemsPerView&&(r=n-h-1);const o=r<=t,a=0===t||r<=2;a&&(this.index=0);const l="small"===this.controls,c="large"===this.controls;this.noNeedForControls=n<=h;let d=this.noNeedForControls?0:o?r:t;a||this.noNeedForControls||!(l||c&&!this.component.isMobile)||(d-=o?0:c?56:48),this.containerEl.style.transitionDuration=i?"0.6s":"0",this.containerEl.style.transform=`translate3d(-${d}px, 0px, 0px)`;const u=d!==this.previousTransformValue;return this.previousTransformValue=d,this.isLastSlideVisible=o,this.borderEl&&(this.borderEl.style.transitionDuration=i?"0.6s":"0",this.borderEl.style.transform=`translate3d(${d}px, 0px, 0px)`),this.component.hasAnimated=!0,s(!!u)}}}))}))}}let m=0;export{v as S,b as a,d as g,l as t}