@baloise/ds-core 19.4.0 → 19.5.0-nightly.20250818

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 (601) hide show
  1. package/components/all.d.ts +2 -0
  2. package/components/all.js +3 -0
  3. package/components/animation.decorator.js +1 -1
  4. package/components/bal-accordion.js +1 -1
  5. package/components/bal-app.js +1 -98
  6. package/components/bal-app2.js +100 -0
  7. package/components/bal-button2.js +1 -1
  8. package/components/bal-carousel-item.js +3 -3
  9. package/components/bal-checkbox-group.js +1 -1
  10. package/components/bal-date-calendar2.js +1 -1
  11. package/components/bal-date.js +1 -1
  12. package/components/bal-doc-app.d.ts +11 -0
  13. package/components/bal-doc-app.js +262 -0
  14. package/components/bal-dropdown.js +1 -1
  15. package/components/bal-field.js +1 -1
  16. package/components/bal-footer.js +1 -1
  17. package/components/bal-form.js +1 -1
  18. package/components/bal-hint2.js +11 -9
  19. package/components/bal-icon2.js +6 -3
  20. package/components/bal-input-stepper.js +1 -1
  21. package/components/bal-input.js +4 -1
  22. package/components/bal-list-item-accordion-body2.js +1 -1
  23. package/components/bal-list-item2.js +1 -1
  24. package/components/bal-logo2.js +1 -1
  25. package/components/bal-modal.js +1 -1
  26. package/components/bal-nav.js +16 -6
  27. package/components/bal-navbar-brand.js +1 -1
  28. package/components/bal-option-list.js +1 -1
  29. package/components/bal-pagination.js +19 -24
  30. package/components/bal-popover-content2.js +1 -1
  31. package/components/bal-popup2.js +3 -3
  32. package/components/bal-progress-bar.js +1 -1
  33. package/components/bal-radio-group.js +1 -1
  34. package/components/bal-radio-icon2.js +1 -1
  35. package/components/bal-radio2.js +2 -2
  36. package/components/bal-segment-item.js +2 -2
  37. package/components/bal-segment.js +1 -1
  38. package/components/bal-select-option2.js +1 -1
  39. package/components/bal-select2.js +1 -1
  40. package/components/bal-shape2.js +4 -4
  41. package/components/bal-sheet.js +1 -1
  42. package/components/bal-snackbar.js +1 -1
  43. package/components/bal-spinner2.js +2 -2
  44. package/components/bal-stack2.js +1 -1
  45. package/components/bal-stage-back-link.js +2 -2
  46. package/components/bal-stage-body.js +1 -1
  47. package/components/bal-stage-foot.js +1 -1
  48. package/components/bal-stage-head.js +1 -1
  49. package/components/bal-stage-image.js +2 -2
  50. package/components/bal-stage.js +1 -1
  51. package/components/bal-step-item.js +2 -2
  52. package/components/bal-tab-item.js +2 -2
  53. package/components/bal-table.js +1 -1
  54. package/components/bal-tabs2.js +3 -3
  55. package/components/bal-tag-group.js +1 -1
  56. package/components/bal-tag2.js +1 -1
  57. package/components/bal-text.js +2 -2
  58. package/components/bal-textarea.js +1 -1
  59. package/components/bal-time-input.js +1 -1
  60. package/components/bal-toast.js +1 -1
  61. package/components/bal-tooltip.js +1 -1
  62. package/components/breakpoints.subject.js +1 -1
  63. package/components/element-states.decorator.js +1 -1
  64. package/components/floating-ui.js +1 -1
  65. package/components/focus.decorator.js +1 -1
  66. package/components/form-input.js +1 -1
  67. package/components/helpers.js +1 -1
  68. package/components/index.js +6 -462
  69. package/components/initialize.js +441 -0
  70. package/components/mutation.decorator.js +1 -1
  71. package/components/overlays.js +1 -1
  72. package/components/resize.decorator.js +1 -1
  73. package/{dist/cjs/purify.es-CJTp6uKN.js → components/svg.js} +8 -3
  74. package/components/swipe.subject.js +1 -1
  75. package/components/swiper.util.js +1 -1
  76. package/components/tokens.esm.js +1 -1
  77. package/components/visibility.decorator.js +1 -1
  78. package/components/window-resize.listener.js +1 -1
  79. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  80. package/dist/baloise-design-system/baloise-design-system.js +1 -1
  81. package/dist/baloise-design-system/index.esm.js +1 -1
  82. package/dist/baloise-design-system/{p-909bc3558a.system.entry.js → p-00a26bdf41.system.entry.js} +1 -1
  83. package/dist/baloise-design-system/p-00c7ac0c09.entry.js +1 -0
  84. package/dist/baloise-design-system/p-017d5498d5.entry.js +1 -0
  85. package/dist/baloise-design-system/{p-9417181fc3.entry.js → p-0222ba5422.entry.js} +1 -1
  86. package/dist/baloise-design-system/p-024bcb5566.entry.js +1 -0
  87. package/dist/baloise-design-system/{p-c2a5d480b6.entry.js → p-027a72ced3.entry.js} +1 -1
  88. package/dist/baloise-design-system/{p-b0d0cb1167.system.entry.js → p-0a3bd4b7ac.system.entry.js} +1 -1
  89. package/dist/baloise-design-system/{p-5ea15c8fda.entry.js → p-0d273759f2.entry.js} +1 -1
  90. package/dist/baloise-design-system/{p-7cb21d670b.system.entry.js → p-0d75b2911a.system.entry.js} +1 -1
  91. package/dist/baloise-design-system/{p-6e463dc74b.system.entry.js → p-11abe394dd.system.entry.js} +1 -1
  92. package/dist/baloise-design-system/{p-5391a66037.entry.js → p-1af0af18cb.entry.js} +1 -1
  93. package/dist/baloise-design-system/{p-6d5bbdc67a.entry.js → p-1b0b95d3f6.entry.js} +1 -1
  94. package/dist/baloise-design-system/p-1bc929d1d8.entry.js +1 -0
  95. package/dist/baloise-design-system/p-1c1a672dc4.entry.js +1 -0
  96. package/dist/baloise-design-system/{p-eb68793baa.system.entry.js → p-21827077bb.system.entry.js} +1 -1
  97. package/dist/baloise-design-system/{p-f0957640f5.entry.js → p-21e244ad48.entry.js} +1 -1
  98. package/dist/baloise-design-system/{p-46092a4585.entry.js → p-25715efc4f.entry.js} +1 -1
  99. package/dist/baloise-design-system/{p-469d7c593e.system.entry.js → p-26ff58eaac.system.entry.js} +1 -1
  100. package/dist/baloise-design-system/{p-9f221cd147.system.entry.js → p-2851fc3442.system.entry.js} +1 -1
  101. package/dist/baloise-design-system/{p-8c5aac149f.entry.js → p-2a6c955b31.entry.js} +1 -1
  102. package/dist/baloise-design-system/{p-c4239a6ebb.entry.js → p-2dbac8ec2f.entry.js} +1 -1
  103. package/dist/baloise-design-system/{p-a5802e97d8.system.entry.js → p-2f753db81d.system.entry.js} +1 -1
  104. package/dist/baloise-design-system/{p-e016efc91a.entry.js → p-30ccd3181b.entry.js} +1 -1
  105. package/dist/baloise-design-system/{p-1a101b475e.system.entry.js → p-31563c5f9e.system.entry.js} +1 -1
  106. package/dist/baloise-design-system/{p-29cae69b8c.entry.js → p-360373e489.entry.js} +1 -1
  107. package/dist/baloise-design-system/{p-5ea5a9b3fa.entry.js → p-3a2109ec0a.entry.js} +1 -1
  108. package/dist/baloise-design-system/{p-aac9ec6687.system.entry.js → p-3b093bc859.system.entry.js} +1 -1
  109. package/dist/baloise-design-system/{p-e92ad3fae1.system.entry.js → p-3ba9f99555.system.entry.js} +1 -1
  110. package/dist/baloise-design-system/{p-ab6db026de.entry.js → p-3c4a334013.entry.js} +1 -1
  111. package/dist/baloise-design-system/{p-ee604e4bcc.system.entry.js → p-3c517f7540.system.entry.js} +1 -1
  112. package/dist/baloise-design-system/{p-653f4e4238.entry.js → p-3f4317ce6d.entry.js} +1 -1
  113. package/dist/baloise-design-system/{p-7b1dff4795.entry.js → p-3f5c881f89.entry.js} +1 -1
  114. package/dist/baloise-design-system/{p-1c13d69ca1.system.entry.js → p-3f67b4e6f8.system.entry.js} +1 -1
  115. package/dist/baloise-design-system/{p-6eeb094b9d.system.entry.js → p-3fa2adfda8.system.entry.js} +1 -1
  116. package/dist/baloise-design-system/{p-1f7d71e0f6.system.entry.js → p-4004d79255.system.entry.js} +1 -1
  117. package/dist/baloise-design-system/{p-52fa3d7015.system.entry.js → p-40d98b4bca.system.entry.js} +1 -1
  118. package/dist/baloise-design-system/{p-fa3aa15442.entry.js → p-40f4b8e212.entry.js} +1 -1
  119. package/dist/baloise-design-system/{p-be07e385c5.entry.js → p-42115ed080.entry.js} +1 -1
  120. package/dist/baloise-design-system/p-4253b34130.system.entry.js +1 -0
  121. package/dist/baloise-design-system/{p-6d716224a8.entry.js → p-42d4052453.entry.js} +1 -1
  122. package/dist/baloise-design-system/{p-017e7f7adf.entry.js → p-43f13a7986.entry.js} +1 -1
  123. package/dist/baloise-design-system/{p-605048a7e8.system.entry.js → p-44a30beeef.system.entry.js} +1 -1
  124. package/dist/baloise-design-system/{p-7e5c62d014.entry.js → p-4779777f54.entry.js} +1 -1
  125. package/dist/baloise-design-system/{p-3b5c4a42c4.system.entry.js → p-48c0d7a7d0.system.entry.js} +1 -1
  126. package/dist/baloise-design-system/{p-61d215dcc5.entry.js → p-49253bd2b1.entry.js} +1 -1
  127. package/dist/baloise-design-system/{p-Bp0dpjer.js → p-4BaUANyL.js} +1 -1
  128. package/dist/baloise-design-system/{p-84f3cdac9b.entry.js → p-4eba6fd114.entry.js} +1 -1
  129. package/dist/baloise-design-system/{p-6f40242a5d.entry.js → p-525ff46f7f.entry.js} +1 -1
  130. package/dist/baloise-design-system/{p-558adf45a6.system.entry.js → p-5bba51bd38.system.entry.js} +1 -1
  131. package/dist/baloise-design-system/{p-6542d12863.entry.js → p-5c47ba754f.entry.js} +1 -1
  132. package/dist/baloise-design-system/{p-fd73720dcb.entry.js → p-5ca55b990e.entry.js} +1 -1
  133. package/dist/baloise-design-system/{p-925b31dca9.entry.js → p-6176eb218c.entry.js} +1 -1
  134. package/dist/baloise-design-system/{p-4360835610.entry.js → p-6318bac3dd.entry.js} +1 -1
  135. package/dist/baloise-design-system/{p-aa9f1d22cd.system.entry.js → p-6952c1ea1b.system.entry.js} +1 -1
  136. package/dist/baloise-design-system/{p-d575fb9113.system.entry.js → p-69fbe987c3.system.entry.js} +1 -1
  137. package/dist/baloise-design-system/{p-c92ac7c2e0.system.entry.js → p-6a59799426.system.entry.js} +1 -1
  138. package/dist/baloise-design-system/p-6b8a1acb9d.entry.js +1 -0
  139. package/dist/baloise-design-system/{p-ee43ce93b7.system.entry.js → p-6d68095928.system.entry.js} +1 -1
  140. package/dist/baloise-design-system/{p-bf46f70999.entry.js → p-6e137d9e1c.entry.js} +1 -1
  141. package/dist/baloise-design-system/{p-dbcb876d25.entry.js → p-6f9e2fbce9.entry.js} +1 -1
  142. package/dist/baloise-design-system/p-72b7e64b98.system.entry.js +1 -0
  143. package/dist/baloise-design-system/{p-166fa22c35.entry.js → p-75079fc8ce.entry.js} +1 -1
  144. package/dist/baloise-design-system/{p-6d511d8e8e.system.entry.js → p-752867ca22.system.entry.js} +1 -1
  145. package/dist/baloise-design-system/{p-5bc0576341.entry.js → p-79b6fc0fb0.entry.js} +1 -1
  146. package/dist/baloise-design-system/{p-571b32fead.system.entry.js → p-7ace0f9338.system.entry.js} +1 -1
  147. package/dist/baloise-design-system/{p-9276e4e5ca.system.entry.js → p-7c2c7f13f2.system.entry.js} +1 -1
  148. package/dist/baloise-design-system/{p-417b6e0a0b.system.entry.js → p-7d9ba703cc.system.entry.js} +1 -1
  149. package/dist/baloise-design-system/{p-e57bc8a630.system.entry.js → p-80408d8f6e.system.entry.js} +1 -1
  150. package/dist/baloise-design-system/{p-d4c44cc24e.entry.js → p-8249b94d33.entry.js} +1 -1
  151. package/dist/baloise-design-system/{p-e15a90b22c.system.entry.js → p-84f8b1fb09.system.entry.js} +1 -1
  152. package/dist/baloise-design-system/{p-619670d086.system.entry.js → p-863ddca191.system.entry.js} +1 -1
  153. package/dist/baloise-design-system/{p-7778560b6f.entry.js → p-87085d692a.entry.js} +1 -1
  154. package/dist/baloise-design-system/{p-247b0b800a.system.entry.js → p-88c3de5532.system.entry.js} +1 -1
  155. package/dist/baloise-design-system/{p-22026f3f57.system.entry.js → p-89a89b44d2.system.entry.js} +1 -1
  156. package/dist/baloise-design-system/{p-d78505b4e8.entry.js → p-8bb80f6d7f.entry.js} +1 -1
  157. package/dist/baloise-design-system/{p-1799d59644.entry.js → p-904e97bf06.entry.js} +1 -1
  158. package/dist/baloise-design-system/{p-0da4fe3026.entry.js → p-90ef751c58.entry.js} +1 -1
  159. package/dist/baloise-design-system/p-923ef91525.system.entry.js +1 -0
  160. package/dist/baloise-design-system/p-96e1038a74.entry.js +1 -0
  161. package/dist/baloise-design-system/p-97de8db9b7.entry.js +1 -0
  162. package/dist/baloise-design-system/{p-4856c78a64.entry.js → p-98c44cc60b.entry.js} +1 -1
  163. package/dist/baloise-design-system/{p-d5b648b0fc.system.entry.js → p-9b9cf005a2.system.entry.js} +1 -1
  164. package/dist/baloise-design-system/{p-680fe70c1a.entry.js → p-9fbff1f523.entry.js} +1 -1
  165. package/dist/baloise-design-system/{p-2f62e8007d.entry.js → p-9fd2aad326.entry.js} +1 -1
  166. package/dist/baloise-design-system/{p-2690f97b41.system.entry.js → p-9ffbaf82e2.system.entry.js} +1 -1
  167. package/dist/baloise-design-system/{p-DV-El3D9.js → p-B2aiNZlz.js} +1 -1
  168. package/dist/baloise-design-system/{p-Cwb5cm_s.js → p-B3WswEUb.js} +1 -1
  169. package/dist/baloise-design-system/p-B7IF8OK5.js +1 -0
  170. package/dist/baloise-design-system/{p-DPBQ5EN8.system.js → p-BHHoLDCs.system.js} +1 -1
  171. package/dist/baloise-design-system/p-BOXHdtO7.system.js +1 -0
  172. package/dist/baloise-design-system/{p-CwvovJM0.system.js → p-BS3tl84b.system.js} +1 -1
  173. package/dist/baloise-design-system/p-BWKryhei.js +1 -0
  174. package/dist/baloise-design-system/p-BdI7HPx0.system.js +1 -0
  175. package/dist/baloise-design-system/{p-B23n0-TV.js → p-BrtoU1RX.js} +1 -1
  176. package/dist/baloise-design-system/{p-CoTulE_f.js → p-Bs209HuP.js} +1 -1
  177. package/dist/baloise-design-system/p-Btdiqd5K.js +2 -0
  178. package/dist/baloise-design-system/{p-DY72UdN1.system.js → p-Bvh0SVeg.system.js} +1 -1
  179. package/dist/baloise-design-system/{p-Ck3aT69N.js → p-C1CLUihP.js} +1 -1
  180. package/dist/baloise-design-system/{p-DhSS4q-R.system.js → p-CFTq_NEW.system.js} +1 -1
  181. package/dist/baloise-design-system/{p-B1TzZiNl.js → p-CL-ZUEN0.js} +1 -1
  182. package/dist/baloise-design-system/p-CUzS4D-E.system.js +2 -0
  183. package/dist/baloise-design-system/{p-DTDY1hlV.js → p-C_Vplsfl.js} +1 -1
  184. package/dist/baloise-design-system/{p-DfEhX0m_.system.js → p-CbwahN12.system.js} +1 -1
  185. package/dist/baloise-design-system/{p-BQvgbY93.system.js → p-CikVveBY.system.js} +1 -1
  186. package/dist/baloise-design-system/{p-BHYxMhaq.js → p-Ctcs3QMJ.js} +1 -1
  187. package/dist/baloise-design-system/{p-Bnn4iNSc.system.js → p-D2akt_K7.system.js} +1 -1
  188. package/dist/baloise-design-system/{p-BANVEd3P.js → p-DHr11IXE.js} +1 -1
  189. package/dist/baloise-design-system/{p-C4hsvc4v.system.js → p-DLQUdT1W.system.js} +1 -1
  190. package/dist/baloise-design-system/{p-Cm94K4OH.system.js → p-DN9YBr8j.system.js} +1 -1
  191. package/dist/baloise-design-system/{p-gnUWqxps.js → p-DTO43kOu.js} +1 -1
  192. package/dist/baloise-design-system/{p-WkcLp-K_.system.js → p-DTvcOpM2.system.js} +1 -1
  193. package/dist/baloise-design-system/p-DUNB4kTY.js +2 -0
  194. package/dist/baloise-design-system/{p-BLUHPuPg.js → p-DWy39WDI.js} +1 -1
  195. package/dist/baloise-design-system/{p-Clmofeob.js → p-DchM0tlL.js} +1 -1
  196. package/dist/baloise-design-system/{p-D0Jo39A5.system.js → p-De53s1OS.system.js} +1 -1
  197. package/dist/baloise-design-system/{p-DndeZqk_.system.js → p-Dh9ae0ui.system.js} +1 -1
  198. package/dist/baloise-design-system/{p-ft8ZtF1G.system.js → p-DnvQeTJ-.system.js} +1 -1
  199. package/dist/baloise-design-system/{p-CKLuFkEh.js → p-DpksqhZN.js} +1 -1
  200. package/dist/baloise-design-system/{p-BsGkq7do.js → p-K-5m-8bx.js} +1 -1
  201. package/dist/baloise-design-system/p-KQFPXzKK.system.js +1 -0
  202. package/dist/baloise-design-system/{p-cfEgJ3Y7.system.js → p-PY423-eu.system.js} +1 -1
  203. package/dist/baloise-design-system/{p-C2YKdNW7.system.js → p-QE6JUMxj.system.js} +1 -1
  204. package/dist/baloise-design-system/{p-drmuT566.system.js → p-XFbKxieD.system.js} +1 -1
  205. package/dist/baloise-design-system/p-a0f681079d.system.entry.js +1 -0
  206. package/dist/baloise-design-system/{p-adcdd7eb63.entry.js → p-a18348d084.entry.js} +1 -1
  207. package/dist/baloise-design-system/{p-5792932f82.system.entry.js → p-a92de83d71.system.entry.js} +1 -1
  208. package/dist/baloise-design-system/{p-56951b4bb7.system.entry.js → p-acf37e093b.system.entry.js} +1 -1
  209. package/dist/baloise-design-system/{p-1ecb79b6b5.system.entry.js → p-ae19c83684.system.entry.js} +1 -1
  210. package/dist/baloise-design-system/{p-B7wsjSwt.system.js → p-aqJO97M6.system.js} +1 -1
  211. package/dist/baloise-design-system/{p-3125929936.entry.js → p-b06b7b032a.entry.js} +1 -1
  212. package/dist/baloise-design-system/{p-6efb9d0430.system.entry.js → p-b0fc8d2e47.system.entry.js} +1 -1
  213. package/dist/baloise-design-system/{p-8f8bef4656.system.entry.js → p-b39457d8ec.system.entry.js} +1 -1
  214. package/dist/baloise-design-system/p-b65e85202e.system.entry.js +1 -0
  215. package/dist/baloise-design-system/p-c02c90f438.entry.js +1 -0
  216. package/dist/baloise-design-system/{p-19eda34a35.system.entry.js → p-c0d915b652.system.entry.js} +1 -1
  217. package/dist/baloise-design-system/{p-040a6174c7.system.entry.js → p-c1615be346.system.entry.js} +1 -1
  218. package/dist/baloise-design-system/{p-7e88d10258.system.entry.js → p-c24d34a3cf.system.entry.js} +1 -1
  219. package/dist/baloise-design-system/{p-dc3a6cd2e6.system.entry.js → p-c75a2e36cf.system.entry.js} +1 -1
  220. package/dist/baloise-design-system/{p-e0c4414dd8.system.entry.js → p-c8cd652aad.system.entry.js} +1 -1
  221. package/dist/baloise-design-system/{p-a34dc82fd9.system.entry.js → p-cc48b1bafe.system.entry.js} +1 -1
  222. package/dist/baloise-design-system/p-cdf68ae2df.system.entry.js +1 -0
  223. package/dist/baloise-design-system/{p-605b22e87a.system.entry.js → p-ce03095f3c.system.entry.js} +1 -1
  224. package/dist/baloise-design-system/{p-DJopuiVl.system.js → p-csILiRTH.system.js} +1 -1
  225. package/dist/baloise-design-system/{p-1112428fc6.entry.js → p-d00ecafeaa.entry.js} +1 -1
  226. package/dist/baloise-design-system/{p-0b9e84e4dd.system.entry.js → p-d0e3ec7f9f.system.entry.js} +1 -1
  227. package/dist/baloise-design-system/{p-503b4ce7d0.entry.js → p-d3d6f7de93.entry.js} +1 -1
  228. package/dist/baloise-design-system/{p-426a8d1128.entry.js → p-d460d30d01.entry.js} +1 -1
  229. package/dist/baloise-design-system/{p-4b3fd230c6.system.entry.js → p-d71d8a4c69.system.entry.js} +1 -1
  230. package/dist/baloise-design-system/{p-152e669d59.system.entry.js → p-d9dafb59c6.system.entry.js} +1 -1
  231. package/dist/baloise-design-system/{p-c819c5feef.system.entry.js → p-e162cbacbf.system.entry.js} +1 -1
  232. package/dist/baloise-design-system/{p-05e8130a9a.system.entry.js → p-e2f1e63d17.system.entry.js} +1 -1
  233. package/dist/baloise-design-system/{p-96fbe5e737.entry.js → p-e45f9cb020.entry.js} +1 -1
  234. package/dist/baloise-design-system/{p-b050e8a82d.entry.js → p-e56390e7d8.entry.js} +1 -1
  235. package/dist/baloise-design-system/{p-0f679514b0.entry.js → p-e6660278cc.entry.js} +1 -1
  236. package/dist/baloise-design-system/{p-448a8ba385.entry.js → p-f1df6ed63f.entry.js} +1 -1
  237. package/dist/baloise-design-system/{p-99d1051abd.system.entry.js → p-f3dd6d6900.system.entry.js} +1 -1
  238. package/dist/baloise-design-system/{p-b0d2fd44ef.system.entry.js → p-f6bfb9aab4.system.entry.js} +1 -1
  239. package/dist/baloise-design-system/{p-2384eefce1.entry.js → p-f73cbfd7a4.entry.js} +1 -1
  240. package/dist/baloise-design-system/{p-b5712e673a.entry.js → p-fbe577e837.entry.js} +1 -1
  241. package/dist/baloise-design-system/{p-B71F7E77.js → p-fc6qPEIA.js} +1 -1
  242. package/dist/baloise-design-system/{p-c6a6f41844.entry.js → p-fe8b88ca64.entry.js} +1 -1
  243. package/dist/baloise-design-system/{p-08bc0ab24d.system.entry.js → p-ff0de24115.system.entry.js} +1 -1
  244. package/dist/baloise-design-system/{p-B4Kne3kP.system.js → p-h9B38Vh4.system.js} +1 -1
  245. package/dist/baloise-design-system/p-jKk811CD.js +1 -0
  246. package/dist/baloise-design-system/{p-XiJ1YYc9.js → p-jX5I_cAG.js} +1 -1
  247. package/dist/baloise-design-system/{p-CiWErrXI.system.js → p-mYIcRBeE.system.js} +1 -1
  248. package/dist/baloise-design-system/{p-CyfydXgM.system.js → p-or-DCBzr.system.js} +1 -1
  249. package/dist/baloise-design-system/p-qNgCzczZ.js +1 -0
  250. package/dist/baloise-design-system/{p-BJQK_KjT.js → p-yYpgl50A.js} +1 -1
  251. package/dist/baloise-design-system/{p-DMUz15_s.system.js → p-zYGi2MKO.system.js} +1 -1
  252. package/dist/cjs/{animation.decorator-BeUy1FNI.js → animation.decorator-HFgxrCCh.js} +2 -2
  253. package/dist/cjs/bal-accordion_4.cjs.entry.js +3 -3
  254. package/dist/cjs/bal-app.cjs.entry.js +2 -2
  255. package/dist/cjs/bal-badge.cjs.entry.js +1 -1
  256. package/dist/cjs/bal-button_2.cjs.entry.js +1 -1
  257. package/dist/cjs/bal-card_6.cjs.entry.js +1 -1
  258. package/dist/cjs/bal-carousel_2.cjs.entry.js +17 -17
  259. package/dist/cjs/bal-check.cjs.entry.js +1 -1
  260. package/dist/cjs/bal-checkbox_2.cjs.entry.js +6 -6
  261. package/dist/cjs/bal-close.cjs.entry.js +2 -2
  262. package/dist/cjs/bal-content.cjs.entry.js +1 -1
  263. package/dist/cjs/bal-data_4.cjs.entry.js +1 -1
  264. package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +2 -2
  265. package/dist/cjs/bal-date-calendar_2.cjs.entry.js +8 -8
  266. package/dist/cjs/bal-date.cjs.entry.js +5 -5
  267. package/dist/cjs/bal-divider.cjs.entry.js +1 -1
  268. package/dist/cjs/bal-doc-app.cjs.entry.js +224 -0
  269. package/dist/cjs/bal-dropdown.cjs.entry.js +4 -4
  270. package/dist/cjs/bal-field_5.cjs.entry.js +3 -3
  271. package/dist/cjs/bal-file-upload.cjs.entry.js +2 -2
  272. package/dist/cjs/bal-footer.cjs.entry.js +2 -2
  273. package/dist/cjs/bal-form-col_2.cjs.entry.js +1 -1
  274. package/dist/cjs/bal-form.cjs.entry.js +1 -1
  275. package/dist/cjs/bal-heading_2.cjs.entry.js +3 -3
  276. package/dist/cjs/bal-hint_5.cjs.entry.js +18 -16
  277. package/dist/cjs/bal-icon.cjs.entry.js +8 -5
  278. package/dist/cjs/bal-input-group.cjs.entry.js +1 -1
  279. package/dist/cjs/bal-input-slider.cjs.entry.js +2 -2
  280. package/dist/cjs/bal-input-stepper.cjs.entry.js +4 -4
  281. package/dist/cjs/bal-input.cjs.entry.js +6 -3
  282. package/dist/cjs/bal-label.cjs.entry.js +2 -2
  283. package/dist/cjs/bal-list_8.cjs.entry.js +10 -10
  284. package/dist/cjs/bal-logo.cjs.entry.js +7 -7
  285. package/dist/cjs/bal-modal_3.cjs.entry.js +3 -3
  286. package/dist/cjs/bal-nav_8.cjs.entry.js +27 -17
  287. package/dist/cjs/bal-navbar_5.cjs.entry.js +8 -8
  288. package/dist/cjs/bal-notices_3.cjs.entry.js +3 -3
  289. package/dist/cjs/bal-notification.cjs.entry.js +1 -1
  290. package/dist/cjs/bal-number-input.cjs.entry.js +4 -4
  291. package/dist/cjs/bal-option_2.cjs.entry.js +4 -4
  292. package/dist/cjs/bal-pagination.cjs.entry.js +24 -17
  293. package/dist/cjs/bal-popup.cjs.entry.js +5 -5
  294. package/dist/cjs/bal-progress-bar.cjs.entry.js +9 -9
  295. package/dist/cjs/bal-radio-icon.cjs.entry.js +2 -2
  296. package/dist/cjs/bal-radio_2.cjs.entry.js +8 -8
  297. package/dist/cjs/bal-segment_2.cjs.entry.js +14 -14
  298. package/dist/cjs/bal-select_2.cjs.entry.js +3 -3
  299. package/dist/cjs/bal-shape.cjs.entry.js +6 -6
  300. package/dist/cjs/bal-sheet.cjs.entry.js +2 -2
  301. package/dist/cjs/bal-spinner.cjs.entry.js +3 -3
  302. package/dist/cjs/bal-stack.cjs.entry.js +2 -2
  303. package/dist/cjs/bal-stage_6.cjs.entry.js +8 -8
  304. package/dist/cjs/bal-step-item.cjs.entry.js +3 -3
  305. package/dist/cjs/bal-steps.cjs.entry.js +8 -8
  306. package/dist/cjs/bal-switch.cjs.entry.js +1 -1
  307. package/dist/cjs/bal-tab-item_2.cjs.entry.js +20 -20
  308. package/dist/cjs/bal-table.cjs.entry.js +2 -2
  309. package/dist/cjs/bal-tag_2.cjs.entry.js +3 -3
  310. package/dist/cjs/bal-textarea.cjs.entry.js +3 -3
  311. package/dist/cjs/bal-time-input.cjs.entry.js +4 -4
  312. package/dist/cjs/bal-tooltip.cjs.entry.js +4 -4
  313. package/dist/cjs/baloise-design-system.cjs.js +2 -2
  314. package/dist/cjs/{breakpoints.decorator-DLXGwQpP.js → breakpoints.decorator-n8NgA2J3.js} +1 -1
  315. package/dist/cjs/{breakpoints.subject-CidQD5zH.js → breakpoints.subject-Bsv4nra5.js} +4 -4
  316. package/dist/cjs/{config.decorator-CDkNZ1Fo.js → config.decorator-DXNDP7MY.js} +1 -1
  317. package/dist/cjs/{date-C9_0qSTi.js → date-B6jOntpB.js} +1 -1
  318. package/dist/cjs/{device-CoI0V6AY.js → device-CB_IzhFQ.js} +1 -1
  319. package/dist/cjs/{element-states.decorator-DGQNhvD6.js → element-states.decorator-gsoW-NjY.js} +2 -2
  320. package/dist/cjs/{floating-ui-BEMfzblh.js → floating-ui-CVK_LGUY.js} +1 -1
  321. package/dist/cjs/{focus.decorator-DFy3pFaT.js → focus.decorator-CvMEa3Zr.js} +2 -2
  322. package/dist/cjs/{form-input-BUGd2Bkz.js → form-input-Cl5ibDQu.js} +1 -1
  323. package/dist/cjs/{index-COfbtsc7.js → index-CUrN4zEK.js} +5 -25
  324. package/dist/cjs/index.cjs.js +10 -10
  325. package/dist/cjs/{listener-t3ifJtK5.js → listener-3M4dddMj.js} +1 -1
  326. package/dist/cjs/loader.cjs.js +2 -2
  327. package/dist/cjs/{mutation.decorator-DyFafPfX.js → mutation.decorator-DNlVKeTA.js} +2 -2
  328. package/dist/cjs/{number-CYeUjdPM.js → number-Dq9LBEHA.js} +1 -1
  329. package/dist/cjs/{overlays-CZHV6VH9.js → overlays-BgHJrPhC.js} +1 -1
  330. package/dist/cjs/{resize.decorator-B_NiBCMZ.js → resize.decorator-E-sSou3X.js} +2 -2
  331. package/dist/cjs/{scroll-DY4kxt0j.js → scroll-C1zy5s5O.js} +1 -1
  332. package/dist/{esm/purify.es-B3Q-Lii3.js → cjs/svg-Bw61tXih.js} +10 -1
  333. package/dist/cjs/{swipe.decorator-CNDcaR9i.js → swipe.decorator-9SuGUyz7.js} +1 -1
  334. package/dist/cjs/{swipe.subject-DtAxEK8t.js → swipe.subject-B3_yAJ3k.js} +3 -3
  335. package/dist/cjs/{swiper.util-nyFqwHcs.js → swiper.util-C3nPW6Se.js} +2 -2
  336. package/dist/cjs/{tokens.esm-DU04pfsc.js → tokens.esm-Du2dwH3H.js} +1 -1
  337. package/dist/cjs/{visibility.decorator-C7uDX3Z3.js → visibility.decorator-DzouYF-6.js} +2 -2
  338. package/dist/cjs/{window-resize.decorator-4PWq713L.js → window-resize.decorator-Bf8WgUjx.js} +1 -1
  339. package/dist/cjs/{window-resize.subject-GSXXkOcC.js → window-resize.subject-BEPH9Qrx.js} +3 -3
  340. package/dist/collection/collection-manifest.json +2 -1
  341. package/dist/collection/components/bal-carousel/bal-carousel-item/bal-carousel-item.js +2 -2
  342. package/dist/collection/components/bal-hint/bal-hint.js +13 -11
  343. package/dist/collection/components/bal-icon/bal-icon.js +6 -3
  344. package/dist/collection/components/bal-input/bal-input.js +4 -1
  345. package/dist/collection/components/bal-nav/bal-nav.js +15 -5
  346. package/dist/collection/components/bal-pagination/bal-pagination.css +1 -1
  347. package/dist/collection/components/bal-pagination/bal-pagination.js +16 -9
  348. package/dist/collection/components/bal-popover/bal-popover-content/bal-popover-content.js +1 -1
  349. package/dist/collection/components/bal-popup/bal-popup.css +1 -1
  350. package/dist/collection/components/bal-popup/bal-popup.js +1 -1
  351. package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +1 -1
  352. package/dist/collection/components/bal-radio/bal-radio-icon/bal-radio-icon.js +1 -1
  353. package/dist/collection/components/bal-radio/bal-radio.js +2 -2
  354. package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +1 -1
  355. package/dist/collection/components/bal-segment/bal-segment.js +1 -1
  356. package/dist/collection/components/bal-select/bal-select-option/bal-select-option.js +1 -1
  357. package/dist/collection/components/bal-shape/bal-shape.js +4 -4
  358. package/dist/collection/components/bal-sheet/bal-sheet.js +1 -1
  359. package/dist/collection/components/bal-snackbar/bal-snackbar.js +1 -1
  360. package/dist/collection/components/bal-spinner/bal-spinner.js +1 -1
  361. package/dist/collection/components/bal-stack/bal-stack.js +1 -1
  362. package/dist/collection/components/bal-stage/bal-stage-back-link/bal-stage-back-link.js +2 -2
  363. package/dist/collection/components/bal-stage/bal-stage-body/bal-stage-body.js +1 -1
  364. package/dist/collection/components/bal-stage/bal-stage-foot/bal-stage-foot.js +1 -1
  365. package/dist/collection/components/bal-stage/bal-stage-head/bal-stage-head.js +1 -1
  366. package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +1 -1
  367. package/dist/collection/components/bal-stage/bal-stage.js +1 -1
  368. package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +2 -2
  369. package/dist/collection/components/bal-table/bal-table.js +1 -1
  370. package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +2 -2
  371. package/dist/collection/components/bal-tabs/bal-tabs.js +2 -2
  372. package/dist/collection/components/bal-tag/bal-tag-group/bal-tag-group.js +1 -1
  373. package/dist/collection/components/bal-tag/bal-tag.js +1 -1
  374. package/dist/collection/components/bal-text/bal-text.js +2 -2
  375. package/dist/collection/components/bal-textarea/bal-textarea.js +1 -1
  376. package/dist/collection/components/bal-time-input/bal-time-input.js +1 -1
  377. package/dist/collection/components/bal-toast/bal-toast.js +1 -1
  378. package/dist/collection/components/bal-tooltip/bal-tooltip.js +1 -1
  379. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +1 -0
  380. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +248 -0
  381. package/dist/collection/utils/config/config.const.js +0 -1
  382. package/dist/collection/utils/config/config.js +1 -22
  383. package/dist/collection/utils/config/initialize.js +2 -2
  384. package/dist/collection/utils/constants/version.constant.js +1 -1
  385. package/dist/collection/utils/svg.js +7 -0
  386. package/dist/esm/{animation.decorator-DtxbEYY8.js → animation.decorator-DWZDMeHk.js} +2 -2
  387. package/dist/esm/bal-accordion_4.entry.js +3 -3
  388. package/dist/esm/bal-app.entry.js +2 -2
  389. package/dist/esm/bal-badge.entry.js +1 -1
  390. package/dist/esm/bal-button_2.entry.js +1 -1
  391. package/dist/esm/bal-card_6.entry.js +1 -1
  392. package/dist/esm/bal-carousel_2.entry.js +17 -17
  393. package/dist/esm/bal-check.entry.js +1 -1
  394. package/dist/esm/bal-checkbox_2.entry.js +6 -6
  395. package/dist/esm/bal-close.entry.js +2 -2
  396. package/dist/esm/bal-content.entry.js +1 -1
  397. package/dist/esm/bal-data_4.entry.js +1 -1
  398. package/dist/esm/bal-date-calendar-cell.entry.js +2 -2
  399. package/dist/esm/bal-date-calendar_2.entry.js +8 -8
  400. package/dist/esm/bal-date.entry.js +5 -5
  401. package/dist/esm/bal-divider.entry.js +1 -1
  402. package/dist/esm/bal-doc-app.entry.js +222 -0
  403. package/dist/esm/bal-dropdown.entry.js +4 -4
  404. package/dist/esm/bal-field_5.entry.js +3 -3
  405. package/dist/esm/bal-file-upload.entry.js +2 -2
  406. package/dist/esm/bal-footer.entry.js +2 -2
  407. package/dist/esm/bal-form-col_2.entry.js +1 -1
  408. package/dist/esm/bal-form.entry.js +1 -1
  409. package/dist/esm/bal-heading_2.entry.js +3 -3
  410. package/dist/esm/bal-hint_5.entry.js +18 -16
  411. package/dist/esm/bal-icon.entry.js +8 -5
  412. package/dist/esm/bal-input-group.entry.js +1 -1
  413. package/dist/esm/bal-input-slider.entry.js +2 -2
  414. package/dist/esm/bal-input-stepper.entry.js +4 -4
  415. package/dist/esm/bal-input.entry.js +6 -3
  416. package/dist/esm/bal-label.entry.js +2 -2
  417. package/dist/esm/bal-list_8.entry.js +10 -10
  418. package/dist/esm/bal-logo.entry.js +7 -7
  419. package/dist/esm/bal-modal_3.entry.js +3 -3
  420. package/dist/esm/bal-nav_8.entry.js +27 -17
  421. package/dist/esm/bal-navbar_5.entry.js +8 -8
  422. package/dist/esm/bal-notices_3.entry.js +3 -3
  423. package/dist/esm/bal-notification.entry.js +1 -1
  424. package/dist/esm/bal-number-input.entry.js +4 -4
  425. package/dist/esm/bal-option_2.entry.js +4 -4
  426. package/dist/esm/bal-pagination.entry.js +24 -17
  427. package/dist/esm/bal-popup.entry.js +5 -5
  428. package/dist/esm/bal-progress-bar.entry.js +9 -9
  429. package/dist/esm/bal-radio-icon.entry.js +2 -2
  430. package/dist/esm/bal-radio_2.entry.js +8 -8
  431. package/dist/esm/bal-segment_2.entry.js +14 -14
  432. package/dist/esm/bal-select_2.entry.js +3 -3
  433. package/dist/esm/bal-shape.entry.js +6 -6
  434. package/dist/esm/bal-sheet.entry.js +2 -2
  435. package/dist/esm/bal-spinner.entry.js +3 -3
  436. package/dist/esm/bal-stack.entry.js +2 -2
  437. package/dist/esm/bal-stage_6.entry.js +8 -8
  438. package/dist/esm/bal-step-item.entry.js +3 -3
  439. package/dist/esm/bal-steps.entry.js +8 -8
  440. package/dist/esm/bal-switch.entry.js +1 -1
  441. package/dist/esm/bal-tab-item_2.entry.js +20 -20
  442. package/dist/esm/bal-table.entry.js +2 -2
  443. package/dist/esm/bal-tag_2.entry.js +3 -3
  444. package/dist/esm/bal-textarea.entry.js +3 -3
  445. package/dist/esm/bal-time-input.entry.js +4 -4
  446. package/dist/esm/bal-tooltip.entry.js +4 -4
  447. package/dist/esm/baloise-design-system.js +3 -3
  448. package/dist/esm/{breakpoints.decorator-SHkWCW_Y.js → breakpoints.decorator-Daxo0vJ8.js} +1 -1
  449. package/dist/esm/{breakpoints.subject-C7fjILif.js → breakpoints.subject-CSQbXQkJ.js} +4 -4
  450. package/dist/esm/{config.decorator-T4wBa62Z.js → config.decorator-Bb0H_cFf.js} +1 -1
  451. package/dist/esm/{date-B9gcRx4E.js → date-CSgXxrCL.js} +1 -1
  452. package/dist/esm/{device-ClkcmLoi.js → device-C8QTKcCb.js} +1 -1
  453. package/dist/esm/{element-states.decorator-DH5waKVu.js → element-states.decorator-DlbMEYwH.js} +2 -2
  454. package/dist/esm/{floating-ui-CTp1F0dK.js → floating-ui-DXLYZUW_.js} +1 -1
  455. package/dist/esm/{focus.decorator-DQpbKYaT.js → focus.decorator-DJvn8oM4.js} +2 -2
  456. package/dist/esm/{form-input-CGW38ndP.js → form-input-BrNtLtd3.js} +1 -1
  457. package/dist/esm/{index-pkPHUz5e.js → index-Btdiqd5K.js} +5 -26
  458. package/dist/esm/index.js +13 -13
  459. package/dist/esm/{listener-tzACU3qe.js → listener-DvNO7R93.js} +1 -1
  460. package/dist/esm/loader.js +3 -3
  461. package/dist/esm/{mutation.decorator-x6OeVGO1.js → mutation.decorator-CZedrFGC.js} +2 -2
  462. package/dist/esm/{number-DZNVPmrJ.js → number-DMuD7HPz.js} +1 -1
  463. package/dist/esm/{overlays-HStjSmzT.js → overlays-Dz7ipvtb.js} +1 -1
  464. package/dist/esm/{resize.decorator-D8jUH-n3.js → resize.decorator-qU51gl_T.js} +2 -2
  465. package/dist/esm/{scroll-CGUsHi6i.js → scroll-Ba7YUwvz.js} +1 -1
  466. package/{components/purify.es.js → dist/esm/svg-DUNB4kTY.js} +8 -1
  467. package/dist/esm/{swipe.decorator-CLIW6A6V.js → swipe.decorator-DvFljs7N.js} +1 -1
  468. package/dist/esm/{swipe.subject-CgHMG_X7.js → swipe.subject-Noqy4TH1.js} +3 -3
  469. package/dist/esm/{swiper.util-lTWgy2NS.js → swiper.util-sHIw7UsO.js} +2 -2
  470. package/dist/esm/{tokens.esm-BvmIi0Pf.js → tokens.esm-CNPdOf-T.js} +1 -1
  471. package/dist/esm/{visibility.decorator-DOE3Mnqt.js → visibility.decorator-DBDPGnQQ.js} +2 -2
  472. package/dist/esm/{window-resize.decorator-C4aZFmLU.js → window-resize.decorator-D5RKWyPE.js} +1 -1
  473. package/dist/esm/{window-resize.subject-DTS_9rk_.js → window-resize.subject-0IssleLO.js} +3 -3
  474. package/dist/esm-es5/{animation.decorator-DtxbEYY8.js → animation.decorator-DWZDMeHk.js} +1 -1
  475. package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
  476. package/dist/esm-es5/bal-app.entry.js +1 -1
  477. package/dist/esm-es5/bal-badge.entry.js +1 -1
  478. package/dist/esm-es5/bal-button_2.entry.js +1 -1
  479. package/dist/esm-es5/bal-card_6.entry.js +1 -1
  480. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  481. package/dist/esm-es5/bal-check.entry.js +1 -1
  482. package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
  483. package/dist/esm-es5/bal-close.entry.js +1 -1
  484. package/dist/esm-es5/bal-content.entry.js +1 -1
  485. package/dist/esm-es5/bal-data_4.entry.js +1 -1
  486. package/dist/esm-es5/bal-date-calendar-cell.entry.js +1 -1
  487. package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
  488. package/dist/esm-es5/bal-date.entry.js +1 -1
  489. package/dist/esm-es5/bal-divider.entry.js +1 -1
  490. package/dist/esm-es5/bal-doc-app.entry.js +1 -0
  491. package/dist/esm-es5/bal-dropdown.entry.js +1 -1
  492. package/dist/esm-es5/bal-field_5.entry.js +1 -1
  493. package/dist/esm-es5/bal-file-upload.entry.js +1 -1
  494. package/dist/esm-es5/bal-footer.entry.js +1 -1
  495. package/dist/esm-es5/bal-form-col_2.entry.js +1 -1
  496. package/dist/esm-es5/bal-form.entry.js +1 -1
  497. package/dist/esm-es5/bal-heading_2.entry.js +1 -1
  498. package/dist/esm-es5/bal-hint_5.entry.js +1 -1
  499. package/dist/esm-es5/bal-icon.entry.js +1 -1
  500. package/dist/esm-es5/bal-input-group.entry.js +1 -1
  501. package/dist/esm-es5/bal-input-slider.entry.js +1 -1
  502. package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
  503. package/dist/esm-es5/bal-input.entry.js +1 -1
  504. package/dist/esm-es5/bal-label.entry.js +1 -1
  505. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  506. package/dist/esm-es5/bal-logo.entry.js +1 -1
  507. package/dist/esm-es5/bal-modal_3.entry.js +1 -1
  508. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  509. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  510. package/dist/esm-es5/bal-notices_3.entry.js +1 -1
  511. package/dist/esm-es5/bal-notification.entry.js +1 -1
  512. package/dist/esm-es5/bal-number-input.entry.js +1 -1
  513. package/dist/esm-es5/bal-option_2.entry.js +1 -1
  514. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  515. package/dist/esm-es5/bal-popup.entry.js +1 -1
  516. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  517. package/dist/esm-es5/bal-radio-icon.entry.js +1 -1
  518. package/dist/esm-es5/bal-radio_2.entry.js +1 -1
  519. package/dist/esm-es5/bal-segment_2.entry.js +1 -1
  520. package/dist/esm-es5/bal-select_2.entry.js +1 -1
  521. package/dist/esm-es5/bal-shape.entry.js +1 -1
  522. package/dist/esm-es5/bal-sheet.entry.js +1 -1
  523. package/dist/esm-es5/bal-spinner.entry.js +1 -1
  524. package/dist/esm-es5/bal-stack.entry.js +1 -1
  525. package/dist/esm-es5/bal-stage_6.entry.js +1 -1
  526. package/dist/esm-es5/bal-step-item.entry.js +1 -1
  527. package/dist/esm-es5/bal-steps.entry.js +1 -1
  528. package/dist/esm-es5/bal-switch.entry.js +1 -1
  529. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  530. package/dist/esm-es5/bal-table.entry.js +1 -1
  531. package/dist/esm-es5/bal-tag_2.entry.js +1 -1
  532. package/dist/esm-es5/bal-textarea.entry.js +1 -1
  533. package/dist/esm-es5/bal-time-input.entry.js +1 -1
  534. package/dist/esm-es5/bal-tooltip.entry.js +1 -1
  535. package/dist/esm-es5/baloise-design-system.js +1 -1
  536. package/dist/esm-es5/{breakpoints.decorator-SHkWCW_Y.js → breakpoints.decorator-Daxo0vJ8.js} +1 -1
  537. package/dist/esm-es5/{breakpoints.subject-C7fjILif.js → breakpoints.subject-CSQbXQkJ.js} +1 -1
  538. package/dist/esm-es5/{config.decorator-T4wBa62Z.js → config.decorator-Bb0H_cFf.js} +1 -1
  539. package/dist/esm-es5/{date-B9gcRx4E.js → date-CSgXxrCL.js} +1 -1
  540. package/dist/esm-es5/{device-ClkcmLoi.js → device-C8QTKcCb.js} +1 -1
  541. package/dist/esm-es5/{element-states.decorator-DH5waKVu.js → element-states.decorator-DlbMEYwH.js} +1 -1
  542. package/dist/esm-es5/floating-ui-DXLYZUW_.js +1 -0
  543. package/dist/esm-es5/{focus.decorator-DQpbKYaT.js → focus.decorator-DJvn8oM4.js} +1 -1
  544. package/dist/esm-es5/{form-input-CGW38ndP.js → form-input-BrNtLtd3.js} +1 -1
  545. package/dist/esm-es5/index-Btdiqd5K.js +2 -0
  546. package/dist/esm-es5/index.js +1 -1
  547. package/dist/esm-es5/{listener-tzACU3qe.js → listener-DvNO7R93.js} +1 -1
  548. package/dist/esm-es5/loader.js +1 -1
  549. package/dist/esm-es5/mutation.decorator-CZedrFGC.js +1 -0
  550. package/dist/esm-es5/{number-DZNVPmrJ.js → number-DMuD7HPz.js} +1 -1
  551. package/dist/esm-es5/{overlays-HStjSmzT.js → overlays-Dz7ipvtb.js} +1 -1
  552. package/dist/esm-es5/resize.decorator-qU51gl_T.js +1 -0
  553. package/dist/esm-es5/{scroll-CGUsHi6i.js → scroll-Ba7YUwvz.js} +1 -1
  554. package/dist/esm-es5/{purify.es-B3Q-Lii3.js → svg-DUNB4kTY.js} +1 -1
  555. package/dist/esm-es5/{swipe.decorator-CLIW6A6V.js → swipe.decorator-DvFljs7N.js} +1 -1
  556. package/dist/esm-es5/swipe.subject-Noqy4TH1.js +1 -0
  557. package/dist/esm-es5/{swiper.util-lTWgy2NS.js → swiper.util-sHIw7UsO.js} +1 -1
  558. package/dist/esm-es5/{visibility.decorator-DOE3Mnqt.js → visibility.decorator-DBDPGnQQ.js} +1 -1
  559. package/dist/esm-es5/{window-resize.decorator-C4aZFmLU.js → window-resize.decorator-D5RKWyPE.js} +1 -1
  560. package/dist/esm-es5/window-resize.subject-0IssleLO.js +1 -0
  561. package/dist/types/components/bal-hint/bal-hint.d.ts +1 -1
  562. package/dist/types/components/bal-nav/bal-nav.interfaces.d.ts +2 -0
  563. package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +21 -0
  564. package/dist/types/components.d.ts +75 -0
  565. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +82 -0
  566. package/dist/types/utils/config/config.const.d.ts +0 -1
  567. package/dist/types/utils/config/config.d.ts +0 -2
  568. package/dist/types/utils/svg.d.ts +1 -0
  569. package/package.json +6 -6
  570. package/dist/baloise-design-system/p-5aa8ca5691.entry.js +0 -1
  571. package/dist/baloise-design-system/p-5da1420f1a.system.entry.js +0 -1
  572. package/dist/baloise-design-system/p-68162ab75a.entry.js +0 -1
  573. package/dist/baloise-design-system/p-74dd1a8023.entry.js +0 -1
  574. package/dist/baloise-design-system/p-750daedf10.system.entry.js +0 -1
  575. package/dist/baloise-design-system/p-833e1e02aa.entry.js +0 -1
  576. package/dist/baloise-design-system/p-83a6310bc0.entry.js +0 -1
  577. package/dist/baloise-design-system/p-9bed353090.system.entry.js +0 -1
  578. package/dist/baloise-design-system/p-B3Q-Lii3.js +0 -2
  579. package/dist/baloise-design-system/p-BzYBOtnf.js +0 -1
  580. package/dist/baloise-design-system/p-C8S5XlJl.js +0 -1
  581. package/dist/baloise-design-system/p-Ch5Ar_Aw.system.js +0 -1
  582. package/dist/baloise-design-system/p-DA4RmE59.system.js +0 -1
  583. package/dist/baloise-design-system/p-DWQYzEm7.system.js +0 -1
  584. package/dist/baloise-design-system/p-Do4k83YR.js +0 -1
  585. package/dist/baloise-design-system/p-MVgFPFA5.js +0 -1
  586. package/dist/baloise-design-system/p-WmWy2rJ-.system.js +0 -2
  587. package/dist/baloise-design-system/p-a913a946ea.entry.js +0 -1
  588. package/dist/baloise-design-system/p-cca697bd26.system.entry.js +0 -1
  589. package/dist/baloise-design-system/p-d7a09b758f.entry.js +0 -1
  590. package/dist/baloise-design-system/p-dd5aae489e.entry.js +0 -1
  591. package/dist/baloise-design-system/p-ee5156fb85.system.entry.js +0 -1
  592. package/dist/baloise-design-system/p-pkPHUz5e.js +0 -2
  593. package/dist/esm-es5/floating-ui-CTp1F0dK.js +0 -1
  594. package/dist/esm-es5/index-pkPHUz5e.js +0 -2
  595. package/dist/esm-es5/mutation.decorator-x6OeVGO1.js +0 -1
  596. package/dist/esm-es5/resize.decorator-D8jUH-n3.js +0 -1
  597. package/dist/esm-es5/swipe.subject-CgHMG_X7.js +0 -1
  598. package/dist/esm-es5/window-resize.subject-DTS_9rk_.js +0 -1
  599. /package/dist/baloise-design-system/{p-BvmIi0Pf.js → p-CNPdOf-T.js} +0 -0
  600. /package/dist/baloise-design-system/{p-CFSqydrN.system.js → p-gZAM5aFT.system.js} +0 -0
  601. /package/dist/esm-es5/{tokens.esm-BvmIi0Pf.js → tokens.esm-CNPdOf-T.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-Btdiqd5K.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={},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 _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=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 _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 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}${_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$/,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[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 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+=_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]=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:_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=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(_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=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?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=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(_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]=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}
@@ -0,0 +1,2 @@
1
+ const e=["bal-accordion","bal-accordion-details","bal-accordion-summary","bal-accordion-trigger","bal-app","bal-badge","bal-button","bal-button-group","bal-card","bal-card-actions","bal-card-button","bal-card-content","bal-card-subtitle","bal-card-title","bal-carousel","bal-carousel-item","bal-check","bal-checkbox","bal-checkbox-group","bal-close","bal-content","bal-data","bal-data-item","bal-data-label","bal-data-value","bal-date","bal-date-calendar","bal-date-calendar-cell","bal-divider","bal-dropdown","bal-field","bal-field-control","bal-field-hint","bal-field-label","bal-field-message","bal-file-upload","bal-footer","bal-form","bal-form-col","bal-form-grid","bal-heading","bal-hint","bal-hint-text","bal-hint-title","bal-icon","bal-input","bal-input-date","bal-input-group","bal-input-slider","bal-input-stepper","bal-label","bal-list","bal-list-item","bal-list-item-accordion-body","bal-list-item-accordion-head","bal-list-item-content","bal-list-item-icon","bal-list-item-subtitle","bal-list-item-title","bal-logo","bal-modal","bal-modal-body","bal-modal-header","bal-nav","bal-nav-link","bal-nav-link-grid","bal-nav-link-grid-col","bal-nav-link-group","bal-nav-menu-bar","bal-nav-menu-flyout","bal-nav-meta-bar","bal-navbar","bal-navbar-brand","bal-navbar-menu","bal-navbar-menu-end","bal-navbar-menu-start","bal-notices","bal-notification","bal-number-input","bal-option","bal-option-list","bal-pagination","bal-popover","bal-popover-content","bal-popup","bal-progress-bar","bal-radio","bal-radio-group","bal-radio-icon","bal-segment","bal-segment-item","bal-select","bal-select-option","bal-shape","bal-sheet","bal-snackbar","bal-spinner","bal-stack","bal-stage","bal-stage-back-link","bal-stage-body","bal-stage-foot","bal-stage-head","bal-stage-image","bal-step-item","bal-steps","bal-switch","bal-tab-item","bal-table","bal-tabs","bal-tag","bal-tag-group","bal-text","bal-textarea","bal-time-input","bal-toast","bal-tooltip"];class t{get width(){return n.hasWindow?window.innerWidth:0}get height(){return n.hasWindow?window.innerHeight:0}}const n=new class{constructor(){this.window=new t}get isSafari(){return/^((?!chrome|android).)*safari/i.test(this.userAgent)}get hasWindow(){return"undefined"!=typeof window}get hasNavigator(){return"undefined"!=typeof navigator}get hasDocument(){return"undefined"!=typeof document}get userAgent(){var e;return this.hasWindow&&this.hasNavigator&&null!==(e=navigator.userAgent)&&void 0!==e?e:""}},o={components:[],event:!1,lifecycle:!1,render:!1,custom:!1};function s(e="unknown"){return function(t){const{connectedCallback:s,disconnectedCallback:l,render:i,componentDidLoad:a,createLogger:r}=t,c=(e=>{const t=(t,s,...l)=>{const i=(()=>{let e=o;return n.hasWindow&&window.BaloiseDesignSystem&&window.BaloiseDesignSystem.config&&window.BaloiseDesignSystem.config.logger&&(e=window.BaloiseDesignSystem.config.logger),e})();i.components.includes(e)&&i[t]&&console.log(s,...l)};return{custom:(n,...o)=>t("custom",` ➡️ [${e}] - ${n}`,...o),lifecycle:(n,...o)=>t("lifecycle",`${"connectedCallback"===n?"🟢":"disconnectedCallback"===n?"🔴":"componentDidLoad"===n?"🏁":" ➡️"} [${e}] - (${n})`,...o),event:(n,...o)=>t("event",`🔥 [${e}] - (${n})`,...o),render:(...n)=>t("render",`🖌️ [${e}] - (render)`,...n)}})(e);t.connectedCallback=function(){c.lifecycle("connectedCallback",this);const e=Object.keys(this).filter((e=>e.startsWith("bal"))).filter((e=>"object"==typeof this[e]));for(let t=0;t<e.length;t++){const n=e[t],o=this[n];this[n]={emit:(...e)=>(c.event(n,this,...e),o.emit.call(this,...e))}}return r.call(this,c.custom),s&&s.call(this)},t.disconnectedCallback=function(){return c.lifecycle("disconnectedCallback",this),l&&l.call(this)},t.componentDidLoad=function(){return c.lifecycle("componentDidLoad",this),a&&a.call(this)},t.render=function(){return c.render(this),i.call(this)}}}const l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M8.99999 4C9.2883 4 9.55108 3.83474 9.67597 3.57489C9.80086 3.31504 9.76575 3.00661 9.58564 2.78148L7.58564 0.281479C7.44331 0.103567 7.22783 0 6.99999 0C6.77215 0 6.55667 0.103567 6.41434 0.281479L4.41434 2.78148C4.23424 3.00661 4.19912 3.31504 4.32401 3.57489C4.4489 3.83474 4.71169 4 4.99999 4H6L6 9.5C6 10.0523 6.44772 10.5 7 10.5C7.55228 10.5 8 10.0523 8 9.5L8 4H8.99999ZM3 12V5.99998C3.55228 5.99998 4 5.55227 4 4.99998C4 4.4477 3.55228 3.99998 3 3.99998H2.5C2.10217 3.99998 1.72064 4.15802 1.43934 4.43932C1.15804 4.72062 1 5.10216 1 5.49998V12.5C1 12.8979 1.15804 13.2794 1.43934 13.5607C1.72065 13.842 2.10218 14 2.5 14L11.5 14.0001C11.8978 14.0001 12.2794 13.842 12.5607 13.5607C12.842 13.2794 13 12.8979 13 12.5001V5.5C13 5.10218 12.842 4.72065 12.5607 4.43934C12.2794 4.15804 11.8978 4 11.5 4H11C10.4477 4 10 4.44772 10 5C10 5.55228 10.4477 6 11 6V12.0001L3 12Z" clip-rule="evenodd"/></svg>',i='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M5.76256 2.01256C6.09075 1.68437 6.53587 1.5 7 1.5C7.46413 1.5 7.90925 1.68437 8.23744 2.01256C8.4448 2.21993 8.59475 2.47397 8.67705 2.75H5.32295C5.40525 2.47397 5.5552 2.21993 5.76256 2.01256ZM3.78868 2.75C3.89405 2.07321 4.21153 1.44227 4.7019 0.951903C5.3114 0.34241 6.13805 0 7 0C7.86195 0 8.6886 0.34241 9.2981 0.951903C9.78847 1.44227 10.106 2.07321 10.2113 2.75H13C13.4142 2.75 13.75 3.08579 13.75 3.5C13.75 3.91422 13.4142 4.25 13 4.25H12V12.5C12 12.8978 11.842 13.2794 11.5607 13.5607C11.2794 13.842 10.8978 14 10.5 14H3.5C3.10217 14 2.72064 13.842 2.43934 13.5607C2.15804 13.2794 2 12.8978 2 12.5V4.25H1C0.585786 4.25 0.25 3.91422 0.25 3.5C0.25 3.08579 0.585786 2.75 1 2.75H3.78868ZM5 5.87646C5.34518 5.87646 5.625 6.15629 5.625 6.50146V10.503C5.625 10.8481 5.34518 11.128 5 11.128C4.65482 11.128 4.375 10.8481 4.375 10.503V6.50146C4.375 6.15629 4.65482 5.87646 5 5.87646ZM9.625 6.50146C9.625 6.15629 9.34518 5.87646 9 5.87646C8.65482 5.87646 8.375 6.15629 8.375 6.50146V10.503C8.375 10.8481 8.65482 11.128 9 11.128C9.34518 11.128 9.625 10.8481 9.625 10.503V6.50146Z" clip-rule="evenodd"/></svg>',a='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M8 1C8 0.447715 7.55228 0 7 0C6.44772 0 6 0.447715 6 1V6H1C0.447715 6 0 6.44772 0 7C0 7.55228 0.447715 8 1 8H6V13C6 13.5523 6.44772 14 7 14C7.55228 14 8 13.5523 8 13V8H13C13.5523 8 14 7.55228 14 7C14 6.44772 13.5523 6 13 6H8V1Z" clip-rule="evenodd"/></svg>',r='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M9.794,6.607,5.884,2.49A1.255,1.255,0,0,0,4.1,2.5l-3.9,4.1A.75.75,0,1,0,1.294,7.641L4.819,3.928a.249.249,0,0,1,.362,0L8.706,7.641A.75.75,0,1,0,9.794,6.607Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>',c='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.5,4.1l-4.1-3.9A.75.75,0,1,0,2.36,1.294L6.072,4.819a.249.249,0,0,1,0,.362L2.36,8.706A.75.75,0,0,0,3.393,9.794L7.51,5.884A1.256,1.256,0,0,0,7.5,4.1Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>',u='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.124,10a.749.749,0,0,1-.517-.206L2.5,5.9A1.257,1.257,0,0,1,2.49,4.116L6.607.206A.75.75,0,1,1,7.64,1.294L3.928,4.819a.249.249,0,0,0,0,.362L7.64,8.706A.75.75,0,0,1,7.124,10Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>',d='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M5,7.874a1.238,1.238,0,0,1-.879-.364L.206,3.393A.75.75,0,1,1,1.294,2.36L4.819,6.072a.249.249,0,0,0,.362,0L8.706,2.36A.75.75,0,1,1,9.794,3.393L5.9,7.5A1.269,1.269,0,0,1,5,7.874Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>',f='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 7C0 6.44772 0.447715 6 1 6H13C13.5523 6 14 6.44772 14 7C14 7.55228 13.5523 8 13 8H1C0.447715 8 0 7.55228 0 7Z" clip-rule="evenodd"/></svg>',h='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 2a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1zm0 5a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1zm1 4a1 1 0 1 0 0 2h12a1 1 0 1 0 0-2H1z" clip-rule="evenodd"/></svg>',b='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M7 14C10.866 14 14 10.866 14 7C14 3.13401 10.866 0 7 0C3.13401 0 0 3.13401 0 7C0 10.866 3.13401 14 7 14ZM5.5 9.375C5.15482 9.375 4.875 9.65482 4.875 10C4.875 10.3452 5.15482 10.625 5.5 10.625H7H8.5C8.84518 10.625 9.125 10.3452 9.125 10C9.125 9.65482 8.84518 9.375 8.5 9.375H7.625V6.5C7.625 6.15482 7.34518 5.875 7 5.875H6C5.65482 5.875 5.375 6.15482 5.375 6.5C5.375 6.84518 5.65482 7.125 6 7.125H6.375V9.375H5.5ZM8 4C8 4.55228 7.55228 5 7 5C6.44772 5 6 4.55228 6 4C6 3.44772 6.44772 3 7 3C7.55228 3 8 3.44772 8 4Z" clip-rule="evenodd"/></svg>',C='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M10.715 -0.000976562C10.5152 -0.000976562 10.3174 0.0389464 10.1332 0.116448C9.95019 0.193468 9.78428 0.306058 9.64512 0.447676L1.40732 8.64549C1.34616 8.70635 1.30179 8.782 1.27853 8.86508L0.0185299 13.3651C-0.0301752 13.539 0.0187291 13.7257 0.146458 13.8535C0.274188 13.9812 0.46088 14.0301 0.634827 13.9814L5.13483 12.7214C5.21791 12.6981 5.29356 12.6537 5.35442 12.5926L13.5521 4.3549L13.5535 4.35355C13.6934 4.21438 13.8045 4.04896 13.8804 3.86676C13.9566 3.68398 13.9958 3.48792 13.9958 3.2899C13.9958 3.09188 13.9566 2.89582 13.8804 2.71303C13.8045 2.53083 13.6934 2.3654 13.5535 2.22624L13.5521 2.2249L11.7859 0.448721C11.6466 0.306611 11.4803 0.193657 11.2968 0.116448C11.1126 0.0389464 10.9148 -0.000976562 10.715 -0.000976562Z"/></svg>',v='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M1.43934 0.43934C1.72064 0.158035 2.10218 0 2.5 0H7.5C7.63261 0 7.75979 0.0526784 7.85355 0.146447L12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V12.5C13 12.8978 12.842 13.2794 12.5607 13.5607C12.2794 13.842 11.8978 14 11.5 14H2.5C2.10217 14 1.72064 13.842 1.43934 13.5607C1.15804 13.2794 1 12.8978 1 12.5V1.5C1 1.10218 1.15804 0.720644 1.43934 0.43934ZM4.5 3.875C4.15482 3.875 3.875 4.15482 3.875 4.5C3.875 4.84518 4.15482 5.125 4.5 5.125H6.5C6.84518 5.125 7.125 4.84518 7.125 4.5C7.125 4.15482 6.84518 3.875 6.5 3.875H4.5ZM3.875 7.5C3.875 7.15482 4.15482 6.875 4.5 6.875H9.5C9.84518 6.875 10.125 7.15482 10.125 7.5C10.125 7.84518 9.84518 8.125 9.5 8.125H4.5C4.15482 8.125 3.875 7.84518 3.875 7.5ZM4.5 9.875C4.15482 9.875 3.875 10.1548 3.875 10.5C3.875 10.8452 4.15482 11.125 4.5 11.125H9.5C9.84518 11.125 10.125 10.8452 10.125 10.5C10.125 10.1548 9.84518 9.875 9.5 9.875H4.5Z" clip-rule="evenodd"/></svg>',w='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M10 0a.75.75 0 0 1 .75.75v.75h1.5c.966 0 1.75.784 1.75 1.75v9A1.75 1.75 0 0 1 12.25 14H1.75A1.75 1.75 0 0 1 0 12.25v-9C0 2.284.784 1.5 1.75 1.5h1.5V.75a.75.75 0 0 1 1.5 0v.75h4.5V.75A.75.75 0 0 1 10 0zM3.25 3v.75a.75.75 0 0 0 1.5 0V3h4.5v.75a.75.75 0 0 0 1.5 0V3h1.5a.25.25 0 0 1 .25.25v2.282a1.002 1.002 0 0 0-.25-.032H1.75c-.086 0-.17.01-.25.032V3.25A.25.25 0 0 1 1.75 3h1.5z" clip-rule="evenodd"/></svg>',p='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L5.58579 7L0.292893 12.2929C-0.0976311 12.6834 -0.0976311 13.3166 0.292893 13.7071C0.683417 14.0976 1.31658 14.0976 1.70711 13.7071L7 8.41421L12.2929 13.7071C12.6834 14.0976 13.3166 14.0976 13.7071 13.7071C14.0976 13.3166 14.0976 12.6834 13.7071 12.2929L8.41421 7L13.7071 1.70711C14.0976 1.31658 14.0976 0.683417 13.7071 0.292893C13.3166 -0.0976311 12.6834 -0.0976311 12.2929 0.292893L7 5.58579L1.70711 0.292893Z" clip-rule="evenodd"/></svg>',g='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M13.637 1.19792C14.0627 1.54974 14.1227 2.18006 13.7708 2.60579L5.73084 12.335L5.72842 12.3379C5.54554 12.5575 5.31602 12.7336 5.05655 12.8534C4.79707 12.9731 4.51417 13.0336 4.22842 13.0302L4.22752 13.0302C3.93709 13.0266 3.65125 12.9573 3.39146 12.8274C3.13254 12.6979 2.9062 12.5117 2.72931 12.2826C2.72871 12.2818 2.72812 12.281 2.72752 12.2802L0.210633 9.04426C-0.128437 8.60831 -0.0499029 7.98003 0.386044 7.64096C0.821992 7.30189 1.45027 7.38043 1.78934 7.81638L4.25291 10.9838L12.2291 1.33176C12.5809 0.906034 13.2113 0.846112 13.637 1.19792Z" clip-rule="evenodd"/></svg>',m='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M9.794,6.607,5.884,2.49A1.255,1.255,0,0,0,4.1,2.5l-3.9,4.1A.75.75,0,1,0,1.294,7.641L4.819,3.928a.249.249,0,0,1,.362,0L8.706,7.641A.75.75,0,1,0,9.794,6.607Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>',y='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.5,4.1l-4.1-3.9A.75.75,0,1,0,2.36,1.294L6.072,4.819a.249.249,0,0,1,0,.362L2.36,8.706A.75.75,0,0,0,3.393,9.794L7.51,5.884A1.256,1.256,0,0,0,7.5,4.1Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>',L='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.124,10a.749.749,0,0,1-.517-.206L2.5,5.9A1.257,1.257,0,0,1,2.49,4.116L6.607.206A.75.75,0,1,1,7.64,1.294L3.928,4.819a.249.249,0,0,0,0,.362L7.64,8.706A.75.75,0,0,1,7.124,10Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>',k='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M5,7.874a1.238,1.238,0,0,1-.879-.364L.206,3.393A.75.75,0,1,1,1.294,2.36L4.819,6.072a.249.249,0,0,0,.362,0L8.706,2.36A.75.75,0,1,1,9.794,3.393L5.9,7.5A1.269,1.269,0,0,1,5,7.874Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>',x={region:"CH",language:"de",allowedLanguages:["de","fr","it","en"],icons:{balIconClose:p,balIconInfoCircle:b,balIconPlus:a,balIconMinus:f,balIconEdit:C,balIconTrash:i,balIconNavGoLeft:u,balIconNavGoRight:c,balIconNavGoDown:d,balIconNavGoUp:r,balIconCheck:g,balIconDate:w,balIconDocument:v,balIconUpload:l,balIconMenuBars:h,balIconFacebook:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M8.06356 3.75515C8.06356 2.67675 8.60345 2.67675 9.14334 2.67675H9.79121C9.89938 2.6782 10.0067 2.65799 10.107 2.61732C10.2072 2.57664 10.2982 2.51633 10.3747 2.43993C10.4512 2.36353 10.5116 2.2726 10.5523 2.17251C10.5931 2.07242 10.6133 1.96519 10.6118 1.85716V0.84346C10.6119 0.734917 10.5903 0.627453 10.5484 0.527307C10.5064 0.42716 10.445 0.336327 10.3677 0.260078C10.2903 0.18383 10.1986 0.123686 10.0978 0.0831375C9.99696 0.0425893 9.88909 0.0224446 9.78041 0.0238728L8.24712 0.00230466C7.80066 -0.0149417 7.35577 0.0647696 6.94316 0.235937C6.53054 0.407104 6.16003 0.665651 5.8572 0.993733C5.55436 1.32181 5.32641 1.71162 5.18908 2.13624C5.05175 2.56086 5.00831 3.01018 5.06176 3.4532V5.01689H4.20873C3.99108 5.01689 3.78235 5.10324 3.62845 5.25694C3.47455 5.41064 3.38809 5.61911 3.38809 5.83648V6.85018C3.38809 7.06754 3.47455 7.27601 3.62845 7.42971C3.78235 7.58341 3.99108 7.66976 4.20873 7.66976H5.06176V13.4608C5.06176 13.6038 5.11864 13.741 5.21989 13.8421C5.32114 13.9432 5.45846 14 5.60165 14H7.55606C7.69356 13.9917 7.8227 13.9313 7.91705 13.8311C8.01139 13.7308 8.0638 13.5984 8.06356 13.4608V7.66976H9.01377C9.23141 7.66976 9.44014 7.58341 9.59404 7.42971C9.74794 7.27601 9.8344 7.06754 9.8344 6.85018V5.83648C9.8344 5.61911 9.74794 5.41064 9.59404 5.25694C9.44014 5.10324 9.23141 5.01689 9.01377 5.01689H8.06356V3.75515Z"/></svg>',balIconInstagram:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0.786499 3.39046C0.786499 1.95243 1.95225 0.786682 3.39027 0.786682H10.3337C11.7717 0.786682 12.9374 1.95243 12.9374 3.39046V10.3339C12.9374 11.7719 11.7717 12.9376 10.3337 12.9376H3.39027C1.95225 12.9376 0.786499 11.7719 0.786499 10.3339V3.39046ZM6.8621 4.78204C5.71332 4.78204 4.78204 5.71332 4.78204 6.8621C4.78204 8.01088 5.71332 8.94216 6.8621 8.94216C8.01088 8.94216 8.94216 8.01088 8.94216 6.8621C8.94216 5.71332 8.01088 4.78204 6.8621 4.78204ZM3.78204 6.8621C3.78204 5.16103 5.16103 3.78204 6.8621 3.78204C8.56317 3.78204 9.94216 5.16103 9.94216 6.8621C9.94216 8.56317 8.56317 9.94216 6.8621 9.94216C5.16103 9.94216 3.78204 8.56317 3.78204 6.8621ZM10.3349 3.98516C10.6842 3.98516 10.9673 3.70199 10.9673 3.35269C10.9673 3.00338 10.6842 2.72021 10.3349 2.72021C9.98556 2.72021 9.70239 3.00338 9.70239 3.35269C9.70239 3.70199 9.98556 3.98516 10.3349 3.98516Z" clip-rule="evenodd"/></svg>',balIconLinkedin:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M3.31334 1.36381C3.31624 1.73602 3.17257 2.09441 2.9134 2.36157C2.65422 2.62872 2.30034 2.78317 1.92822 2.79156C1.55687 2.77793 1.20495 2.62217 0.945182 2.35645C0.685414 2.09073 0.537655 1.73538 0.53244 1.36381C0.548583 1.0018 0.701774 0.659474 0.96096 0.406224C1.22015 0.152974 1.56593 0.00775305 1.92822 0C2.28945 0.00789779 2.63402 0.153479 2.89148 0.40698C3.14894 0.66048 3.29985 1.00275 3.31334 1.36381ZM0.681607 5.3274C0.681607 4.50698 1.20369 4.63484 1.92822 4.63484C2.65275 4.63484 3.16418 4.50698 3.16418 5.3274V13.3185C3.16418 14.1496 2.64209 13.9791 1.92822 13.9791C1.21435 13.9791 0.681607 14.1496 0.681607 13.3185V5.3274Z"/><path d="M5.31647 5.32741C5.31647 4.86926 5.48694 4.69878 5.75331 4.64551C6.01968 4.59223 6.936 4.64551 7.25564 4.64551C7.57528 4.64551 7.70314 5.16759 7.69249 5.56182C7.96591 5.19486 8.32892 4.9042 8.7468 4.71765C9.16467 4.5311 9.62342 4.4549 10.0792 4.49634C10.5267 4.46898 10.975 4.53608 11.3949 4.69327C11.8148 4.85046 12.1969 5.09424 12.5165 5.40876C12.836 5.72328 13.0858 6.1015 13.2496 6.51887C13.4135 6.93623 13.4877 7.38339 13.4674 7.83129V13.2865C13.4674 14.1176 12.956 13.9471 12.2314 13.9471C11.5069 13.9471 10.9955 14.1176 10.9955 13.2865V9.02463C11.0142 8.80528 10.9855 8.58447 10.9114 8.3772C10.8372 8.16992 10.7193 7.98103 10.5657 7.82335C10.412 7.66568 10.2263 7.54291 10.021 7.46339C9.8157 7.38387 9.59571 7.34945 9.37595 7.36248C9.1572 7.35692 8.93978 7.3979 8.73806 7.48268C8.53635 7.56747 8.35494 7.69414 8.20586 7.85431C8.05677 8.01447 7.94341 8.20447 7.87328 8.41174C7.80314 8.61901 7.77784 8.83881 7.79904 9.05659V13.3185C7.79904 14.1496 7.27695 13.9791 6.55242 13.9791C5.8279 13.9791 5.31647 14.1496 5.31647 13.3185V5.32741Z"/></svg>',balIconTwitter:'<svg viewBox="0 0 14 15" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.3608 1.15369C13.4169 1.2059 13.4622 1.26865 13.494 1.33837C13.5259 1.40808 13.5436 1.48339 13.5464 1.55999C13.5491 1.63659 13.5367 1.71297 13.5098 1.78477C13.483 1.85656 13.4423 1.92236 13.39 1.97841L8.64428 7.06727L13.8824 14.0198C13.9477 14.1064 13.9876 14.2095 13.9975 14.3176C14.0075 14.4256 13.9871 14.5343 13.9386 14.6313C13.8902 14.7284 13.8156 14.81 13.7233 14.8671C13.631 14.9241 13.5246 14.9542 13.4161 14.9541H10.2207C10.1303 14.9542 10.0412 14.9333 9.96026 14.893C9.87935 14.8528 9.8089 14.7943 9.75447 14.7222L6.06784 9.8299L1.46336 14.7684C1.41113 14.8245 1.34837 14.8696 1.27867 14.9014C1.20897 14.9332 1.13369 14.9509 1.05714 14.9536C0.980585 14.9563 0.904251 14.9439 0.832496 14.9171C0.760741 14.8903 0.69497 14.8496 0.63894 14.7973C0.582909 14.7451 0.537715 14.6823 0.505938 14.6126C0.474162 14.5429 0.456425 14.4677 0.45374 14.3911C0.451056 14.3146 0.463476 14.2382 0.490292 14.1665C0.517108 14.0947 0.557794 14.029 0.610028 13.9729L5.35572 8.88407L0.117626 1.93154C0.0523114 1.84497 0.0124314 1.74191 0.00246702 1.63393C-0.00749732 1.52595 0.0128489 1.41733 0.0612194 1.32027C0.10959 1.22322 0.184068 1.14157 0.276285 1.08451C0.368503 1.02746 0.474805 0.997244 0.583248 0.997273H3.7793C3.86956 0.997249 3.9586 1.01818 4.0394 1.05842C4.1202 1.09866 4.19055 1.15711 4.24492 1.22917L7.93155 6.12144L12.5354 1.18291C12.5876 1.12679 12.6504 1.08151 12.7201 1.04966C12.7898 1.01782 12.8651 1.00003 12.9417 0.997314C13.0183 0.9946 13.0947 1.00702 13.1665 1.03385C13.2383 1.06068 13.3047 1.10141 13.3608 1.15369ZM7.44036 7.40872C7.42386 7.38964 7.40861 7.36951 7.39471 7.34846L3.48836 2.16343H1.75308L10.511 13.7885H12.2463L7.43975 7.40933L7.44036 7.40872Z"/></svg>',balIconX:'<svg viewBox="0 0 14 15" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.3608 1.15369C13.4169 1.2059 13.4622 1.26865 13.494 1.33837C13.5259 1.40808 13.5436 1.48339 13.5464 1.55999C13.5491 1.63659 13.5367 1.71297 13.5098 1.78477C13.483 1.85656 13.4423 1.92236 13.39 1.97841L8.64428 7.06727L13.8824 14.0198C13.9477 14.1064 13.9876 14.2095 13.9975 14.3176C14.0075 14.4256 13.9871 14.5343 13.9386 14.6313C13.8902 14.7284 13.8156 14.81 13.7233 14.8671C13.631 14.9241 13.5246 14.9542 13.4161 14.9541H10.2207C10.1303 14.9542 10.0412 14.9333 9.96026 14.893C9.87935 14.8528 9.8089 14.7943 9.75447 14.7222L6.06784 9.8299L1.46336 14.7684C1.41113 14.8245 1.34837 14.8696 1.27867 14.9014C1.20897 14.9332 1.13369 14.9509 1.05714 14.9536C0.980585 14.9563 0.904251 14.9439 0.832496 14.9171C0.760741 14.8903 0.69497 14.8496 0.63894 14.7973C0.582909 14.7451 0.537715 14.6823 0.505938 14.6126C0.474162 14.5429 0.456425 14.4677 0.45374 14.3911C0.451056 14.3146 0.463476 14.2382 0.490292 14.1665C0.517108 14.0947 0.557794 14.029 0.610028 13.9729L5.35572 8.88407L0.117626 1.93154C0.0523114 1.84497 0.0124314 1.74191 0.00246702 1.63393C-0.00749732 1.52595 0.0128489 1.41733 0.0612194 1.32027C0.10959 1.22322 0.184068 1.14157 0.276285 1.08451C0.368503 1.02746 0.474805 0.997244 0.583248 0.997273H3.7793C3.86956 0.997249 3.9586 1.01818 4.0394 1.05842C4.1202 1.09866 4.19055 1.15711 4.24492 1.22917L7.93155 6.12144L12.5354 1.18291C12.5876 1.12679 12.6504 1.08151 12.7201 1.04966C12.7898 1.01782 12.8651 1.00003 12.9417 0.997314C13.0183 0.9946 13.0947 1.00702 13.1665 1.03385C13.2383 1.06068 13.3047 1.10141 13.3608 1.15369ZM7.44036 7.40872C7.42386 7.38964 7.40861 7.36951 7.39471 7.34846L3.48836 2.16343H1.75308L10.511 13.7885H12.2463L7.43975 7.40933L7.44036 7.40872Z"/></svg>',balIconXing:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M13.0056 0C13.385 0 13.6262 0.406033 13.4447 0.739215L9.3722 8.21397C9.28942 8.3659 9.29108 8.54984 9.37658 8.70026L11.9644 13.2529C12.1539 13.5862 11.9131 14 11.5297 14H8.88832C8.70848 14 8.5425 13.9034 8.45363 13.7471L5.58749 8.70478C5.50059 8.55191 5.50038 8.36464 5.58694 8.21157L10.0872 0.253872C10.1759 0.0969935 10.3422 0 10.5224 0H13.0056ZM5.60519 5.58358C5.68784 5.73855 5.68312 5.92552 5.59276 6.07613L3.43406 9.67396C3.3437 9.82456 3.18095 9.91671 3.00532 9.91671H0.500779C0.111209 9.91671 -0.128712 9.49091 0.0730986 9.15769L1.97318 6.02035C2.06519 5.86842 2.0697 5.67908 1.98502 5.52295L0.655558 3.07176C0.474862 2.7386 0.716068 2.33337 1.09507 2.33337H3.57175C3.7564 2.33337 3.92603 2.43515 4.01292 2.59808L5.60519 5.58358Z"/></svg>',balIconYoutube:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 4C0 2.61929 1.11929 1.5 2.5 1.5H11.5C12.8807 1.5 14 2.61929 14 4V10C14 11.3807 12.8807 12.5 11.5 12.5H2.5C1.11929 12.5 0 11.3807 0 10V4ZM5.30998 5.11998V9.31998C5.30935 9.3905 5.32737 9.45993 5.36222 9.52124C5.39707 9.58255 5.4475 9.63356 5.50842 9.66909C5.56933 9.70462 5.63856 9.72342 5.70908 9.72358C5.7796 9.72374 5.84891 9.70524 5.90998 9.66998L9.50998 7.56998C9.57013 7.53469 9.62001 7.48428 9.65467 7.42377C9.68933 7.36325 9.70756 7.29472 9.70756 7.22498C9.70756 7.15524 9.68933 7.08671 9.65467 7.0262C9.62001 6.96568 9.57013 6.91527 9.50998 6.87998L5.90998 4.77998C5.85023 4.74175 5.78117 4.72055 5.71026 4.71865C5.63935 4.71675 5.56926 4.73422 5.50754 4.7692C5.44582 4.80417 5.39481 4.85532 5.36 4.91713C5.32519 4.97894 5.3079 5.04907 5.30998 5.11998Z" clip-rule="evenodd"/></svg>',balIconWeb:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M5.04883 0.275541C2.32493 1.06453 0.285118 3.46373 0.0275269 6.375H3.22773C3.41606 4.22626 4.03911 2.14922 5.04883 0.275541ZM3.22773 7.625H0.0275269C0.285118 10.5363 2.32493 12.9355 5.04883 13.7245C4.0391 11.8508 3.41606 9.77374 3.22773 7.625ZM6.6522 13.9915C5.44618 12.0855 4.69968 9.90183 4.48294 7.625H9.51704C9.30031 9.90183 8.5538 12.0855 7.34777 13.9915C7.23256 13.9971 7.11661 14 7.00001 14C6.88338 14 6.76743 13.9971 6.6522 13.9915ZM8.95115 13.7245C11.6751 12.9355 13.7149 10.5363 13.9725 7.625H10.7722C10.5839 9.77375 9.96087 11.8508 8.95115 13.7245ZM10.7722 6.375H13.9725C13.7149 3.46372 11.6751 1.06451 8.95114 0.275533C9.96087 2.14921 10.5839 4.22625 10.7722 6.375ZM6.65221 0.00848953C6.76743 0.00285182 6.88339 0 7.00001 0C7.11661 0 7.23256 0.0028513 7.34777 0.008488C8.5538 1.91446 9.3003 4.09817 9.51704 6.375H4.48294C4.69968 4.09817 5.44618 1.91446 6.65221 0.00848953Z" clip-rule="evenodd"/></svg>',balIconCaretDown:k,balIconCaretLeft:L,balIconCaretRight:y,balIconCaretUp:m},fallbackLanguage:"de",logger:o,animated:!0,httpFormSubmit:!0,_generateHydrateForCustomElementsOutput:!1},H=`${x.language}-${x.region}`;class M{constructor(){this._componentObservers=[],this._observers=[],this._config=x}get locale(){return`${this._config.language}-${this._config.region}`}get region(){return this._config.region}set region(e){e!==this._config.region&&(this._config.region=e,this._notify())}get language(){return this._config.language}set language(e){e!==this._config.language&&(this._config.language=this._config.allowedLanguages.includes(e)?e:this._config.fallbackLanguage,this._notify())}get allowedLanguages(){return this._config.allowedLanguages}set allowedLanguages(e){e!==this._config.allowedLanguages&&(this._config.allowedLanguages=e,this._notify())}get icons(){return this._config.icons}set icons(e){this._config.icons=Object.assign(Object.assign({},this._config.icons),e),this._notify()}get logger(){return this._config.logger}set logger(e){this._config.logger=Object.assign({},e),this._notify()}get animated(){return this._config.animated}set animated(e){this._config.animated=e,this._notify()}get httpFormSubmit(){return this._config.httpFormSubmit}set httpFormSubmit(e){this._config.httpFormSubmit=e,this._notify()}attach(e){if(this._observers.includes(e))return console.log("Subject: Observer has been attached already.");this._observers.push(e),e.configChanged(this._config)}detach(e){const t=this._observers.indexOf(e);if(-1===t)return console.log("Subject: Nonexistent observer.");this._observers.splice(t,1)}attachComponent(e){if(this._componentObservers.includes(e))return console.log("Subject: Observer has been attached already.");this._componentObservers.push(e),e.configChanged(this._config)}detachComponent(e){const t=this._componentObservers.indexOf(e);if(-1===t)return console.log("Subject: Nonexistent observer.");this._componentObservers.splice(t,1)}toString(){return JSON.stringify(this._config)}reset(e){this._config=Object.assign(Object.assign(Object.assign({},this._config),e),{icons:Object.assign(Object.assign({},this._config.icons),e.icons)}),this._notify(!1)}_notify(e=!0){for(const e of this._componentObservers)e.configChanged(this._config);if(e)for(const e of this._observers)e.configChanged(this._config)}}const $=new M,j=(e={},t={})=>{0===Object.keys(t).length&&n.hasWindow&&(t=window),t.BaloiseDesignSystem=t.BaloiseDesignSystem||{},$.reset(Object.assign(Object.assign(Object.assign({},(e=>{try{const t=JSON.parse(e.localStorage.getItem("baloise-animated"));return null!==t?{animated:t}:{}}catch(e){return{}}})(t)),e),{icons:Object.assign({},e.icons)})),t.BaloiseDesignSystem.config=$},O=e=>{S({configChanged(t){e(t)}})},I=()=>{if(!n.hasWindow)return;const e=window;return e&&e.BaloiseDesignSystem&&e.BaloiseDesignSystem.config},S=e=>{const t=I();t&&t.attach(e)},A=e=>{const t=I();t&&t.detach(e)},Z=e=>{const t=I();t&&t.attachComponent(e)},V=e=>{const t=I();t&&t.detachComponent(e)},B=e=>{const t=I();t&&(t.language=e)},T=e=>{const t=I();t&&(t.region=e)},N=e=>{const t=I();t&&(t.allowedLanguages=e)},E=e=>{const t=I();t&&(t.icons=Object.assign(Object.assign({},t.icons),e))},P=e=>{const t=I();t&&(t.animated=e)},D=(e,t=32)=>{let o=!1;const s=()=>{o||(o=!0,e())};if(n.hasWindow){const e=setTimeout(s,t);window.addEventListener("load",(()=>{clearTimeout(e),s()}))}else setTimeout(s,32)},_=(e,t=5e3)=>{n.hasWindow&&"requestIdleCallback"in window?window.requestIdleCallback(e,{timeout:t}):setTimeout(e,32)},R=(e=0)=>new Promise((t=>{setTimeout((()=>t()),e)})),F=(e,t)=>{const n=e._original||e;return{_original:e,emit:U(n.emit.bind(n),t)}},U=(e,t=0)=>{let n;return(...o)=>{clearTimeout(n),n=setTimeout(e,t,...o)}},z=(e,t)=>e&&e.tagName&&e.tagName===t.toUpperCase(),G=(e,t)=>{let n=t.parentNode;for(;null!=n;){if(n==e)return!0;n=n.parentNode}return!1},W=(e,t)=>{let n=t.parentNode;for(;null!=n;){if(n.tagName===e.toUpperCase())return!0;n=n.parentNode}return!1},q=e=>e.querySelector("bal-app")||e.body,Q=(e,t)=>{null!=e.componentOnReady?e.componentOnReady().then((e=>t(e))):Y((()=>t(e)))},Y=e=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e),J=(e,t=0)=>new Promise((n=>{X(e,t,n)})),X=(e,t=0,n)=>{let o,s;const l={passive:!0},i=()=>{o&&o()},a=t=>{void 0!==t&&e!==t.target||(i(),n(t))};return e&&(e.addEventListener("webkitTransitionEnd",a,l),e.addEventListener("transitionend",a,l),s=setTimeout(a,t+500),o=()=>{s&&(clearTimeout(s),s=void 0),e.removeEventListener("webkitTransitionEnd",a,l),e.removeEventListener("transitionend",a,l)}),i},K=(e,t,o,s)=>{if(n.hasWindow){const n=I();if(n){const l=n._ael;if(l)return l(e,t,o,s);if(n._ael)return n._ael(e,t,o,s)}}return e.addEventListener(t,o,s)},ee=(e,t,o,s)=>{if(n.hasWindow){const n=I();if(n){const l=n._rel;if(l)return l(e,t,o,s);if(n._rel)return n._rel(e,t,o,s)}}return e.removeEventListener(t,o,s)},te=e=>e?new Promise((t=>Q(e,t))):Promise.resolve(),ne=async(e,t=!1)=>{const n=e;if(n){if(null!=n.componentOnReady){const e=await n.componentOnReady();if(!t&&null!=e)return}await Promise.all(Array.from(n.children).map((e=>ne(e,t))))}},oe=async e=>{await ne(e,!0),await ie(),await ae()},se=async(e,t,n)=>{if(e&&e.target&&t&&t!==e.target){let o=e.target;"BAL-NAVBAR-BRAND"===e.target.nodeName&&(o=o.closest("bal-navbar")),o&&G(o,t)&&n(o)}},le=async(e,t)=>{const n=Object.assign({animated:!1,icons:{balIconClose:p,balIconInfoCircle:b,balIconPlus:a,balIconMinus:f,balIconEdit:C,balIconTrash:i,balIconNavGoLeft:u,balIconNavGoRight:c,balIconNavGoDown:d,balIconNavGoUp:r,balIconCaretUp:m,balIconCaretDown:k,balIconCaretLeft:L,balIconCaretRight:y,balIconCheck:g,balIconDate:w,balIconDocument:v,balIconUpload:l,balIconMenuBars:h}},t),o=e;if(null!=o){await ne(o,!0);const e=Array.prototype.slice.call(o.querySelectorAll("*")).filter((e=>e.tagName.match(/^bal/i)));await Promise.all(e.map((e=>{if(null!=e.configChanged)return e.configChanged(n)})))}await Promise.all([ie(),re(),ae()])},ie=()=>new Promise((e=>Y((()=>ue(e))))),ae=()=>new Promise((e=>_((()=>ue(e))))),re=()=>new Promise((e=>((e,t=3e3)=>{let o=!1;if(n.isSafari||!n.hasWindow||!("PerformanceObserver"in window))return setTimeout(e,32);{const n=new PerformanceObserver((t=>{const s=t.getEntries();s[s.length-1]&&(n.disconnect(),o=!0,_((()=>e())))}));n.observe({type:"largest-contentful-paint",buffered:!0}),setTimeout((()=>{o||(n.disconnect(),e())}),t)}})((()=>ue(e))))),ce=()=>new Promise((e=>D((()=>ue(e))))),ue=e=>{if(n.hasWindow&&"MessageChannel"in window){const t=new window.MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}else setTimeout(e,32)};class de{constructor(e){this.options=e,this.container=null,this.queue=[],this.preQueue=[],this.queueLimit=5}create(e){if(n.hasDocument){this.setupContainer(e);const t=this.findClone(e);if(void 0===t){const t=document.createElement(this.options.tag);return Object.assign(t,e),t.addEventListener("balClose",(e=>{this.removeFromQueue(e.detail)})),this.preQueue.push(t),this.updateQueue(),t}return t}}setQueue(e){this.queueLimit=e}async dismissAll(){var e;const t=null===(e=this.container)||void 0===e?void 0:e.querySelectorAll(this.options.tag);if(t){const e=[];for(let n=0;n<t.length;n++){const o=t[n];o.close&&e.push(o.close())}await Promise.all(e)}}async clearAll(){return console.warn("[DEPRECATED] - use dismissAll() instead"),this.dismissAll()}findClone(e){for(let t=0;t<this.queue.length;t++){const n=this.queue[t];if(n.message===e.message&&n.color===e.color)return n}}setupContainer(e){if(n.hasDocument){const t=this.options.tag+"-container";if(this.container=document.getElementById(t),this.container)return;this.container||(this.container=document.createElement("bal-notices"),this.container.setAttribute("interface",this.options.tag.replace("bal-","")),this.container.setAttribute("animated",e.animated?"true":"false"),void 0!==e.container&&this.container.setAttribute("container",!0===e.container?"":e.container),this.container.id=t),document.body.appendChild(this.container)}}async updateQueue(){var e;if(this.queue.length<this.queueLimit){const e=this.preQueue.shift();if(e&&this.container){await oe(this.container);const t=this.container.querySelector(".bal-notices__inner");t&&(this.queue.push(e),t.insertAdjacentElement("beforeend",e))}}0===this.queue.length&&(null===(e=this.container)||void 0===e||e.remove())}removeFromQueue(e){this.queue=this.queue.filter((t=>t.id!==e)),setTimeout((()=>this.updateQueue()),0)}}class fe extends de{constructor(){super({tag:"bal-snackbar"})}create(e){return super.create(e)}}const he=new fe;class be extends de{constructor(){super({tag:"bal-toast"})}create(e){return super.create(e)}}const Ce=new be,ve=(t={},o,s={})=>{0===Object.keys(s).length&&n.hasWindow&&(s=window),s.BaloiseDesignSystem=s.BaloiseDesignSystem||{},o&&Se(o),j(Object.assign(Object.assign({},t),o),s),s.BaloiseDesignSystem.toastController=Ce,s.BaloiseDesignSystem.snackbarController=he,s.BaloiseDesignSystem.initialize=()=>j(s.BaloiseDesignSystem.config,s),s.BaloiseDesignSystem.version="19.5.0-nightly.20250818",t._generateHydrateForCustomElementsOutput&&we(e)},we=(e=[])=>{const t="undefined"!=typeof window?window:{};if(!t.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const n=t.document.head,o=n.querySelector("meta[charset]"),s=t.document.createElement("style");e.length>0&&(s.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}",s.textContent+=e.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",s.innerHTML.length&&(s.setAttribute("data-styles",""),n.insertBefore(s,o?o.nextSibling:n.firstChild)))};function pe(){ve()}const ge=pe;var me=Object.defineProperty,ye=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},Le=(e,t)=>{e.__stencil__getHostRef=()=>t,t.t=e},ke=(e,t)=>t in e,xe=(e,t)=>(0,console.error)(e,t),He=new Map,Me=new Map,$e="slot-fb{display:contents}slot-fb[hidden]{display:none}",je="http://www.w3.org/1999/xlink",Oe="undefined"!=typeof window?window:{},Ie={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},Se=e=>{Object.assign(Ie,e)},Ae=e=>Promise.resolve(e),Ze=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),Ve=!1,Be=[],Te=[],Ne=(e,t)=>n=>{e.push(n),Ve||(Ve=!0,t&&4&Ie.o?De(Pe):Ie.raf(Pe))},Ee=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){xe(e)}e.length=0},Pe=()=>{Ee(Be),Ee(Te),(Ve=Be.length>0)&&Ie.raf(Pe)},De=e=>Ae().then(e),_e=Ne(Te,!0),Re=e=>"object"==(e=typeof e)||"function"===e;function Fe(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,t)=>{for(var n in t)me(e,n,{get:t[n],enumerable:!0})})({},{err:()=>ze,map:()=>Ge,ok:()=>Ue,unwrap:()=>We,unwrapErr:()=>qe});var Ue=e=>({isOk:!0,isErr:!1,value:e}),ze=e=>({isOk:!1,isErr:!0,value:e});function Ge(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>Ue(e))):Ue(n)}if(e.isErr)return ze(e.value);throw"should never get here"}var We=e=>{if(e.isOk)return e.value;throw e.value},qe=e=>{if(e.isErr)return e.value;throw e.value};function Qe(){const e=this.attachShadow({mode:"open"});if(Ze){const t=new CSSStyleSheet;t.replaceSync(""),e.adoptedStyleSheets.push(t)}}var Ye=e=>{const t=tt(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&"SLOT-FB"!==e.tagName&&Je(t,e.tagName).forEach((e=>{1===e.nodeType&&"SLOT-FB"===e.tagName&&(e.hidden=!!Xe(e,et(e),!1).length)}));let n=0;for(n=0;n<t.length;n++){const e=t[n];1===e.nodeType&&tt(e,"childNodes").length&&Ye(e)}};function Je(e,t,n){let o,s=0,l=[];for(;s<e.length;s++)o=e[s],!o["s-sr"]||t&&o["s-hn"]!==t||void 0!==n||l.push(o),l=[...l,...Je(o.childNodes,t,n)];return l}var Xe=(e,t,n=!0)=>{const o=[];(n&&e["s-sr"]||!e["s-sr"])&&o.push(e);let s=e;for(;s=s.nextSibling;)et(s)!==t||!n&&s["s-sr"]||o.push(s);return o},Ke=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,et=e=>"string"==typeof e["s-sn"]?e["s-sn"]:1===e.nodeType&&e.getAttribute("slot")||void 0;function tt(e,t){if("__"+t in e){const n=e["__"+t];return"function"!=typeof n?n:n.bind(e)}return"function"!=typeof e[t]?e[t]:e[t].bind(e)}var nt=(e,t,...n)=>{let o=null,s=null,l=null,i=!1,a=!1;const r=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof e&&!Re(o))&&(o+=""),i&&a?r[r.length-1].i+=o:r.push(i?ot(null,o):o),a=i)};if(c(n),t){t.key&&(s=t.key),t.name&&(l=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,r,lt);const u=ot(e,null);return u.u=t,r.length>0&&(u.h=r),u.C=s,u.v=l,u},ot=(e,t)=>({o:0,p:e,i:t,m:null,h:null,u:null,C:null,v:null}),st={},lt={forEach:(e,t)=>e.map(it).forEach(t),map:(e,t)=>e.map(it).map(t).map(at)},it=e=>({vattrs:e.u,vchildren:e.h,vkey:e.C,vname:e.v,vtag:e.p,vtext:e.i}),at=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),nt(e.vtag,t,...e.vchildren||[])}const t=ot(e.vtag,e.vtext);return t.u=e.vattrs,t.h=e.vchildren,t.C=e.vkey,t.v=e.vname,t},rt=e=>{const t=(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(e);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")};rt("::slotted"),rt(":host"),rt(":host-context");var ct,ut,dt,ft=(e,t)=>null==e||Re(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?"string"==typeof e?parseFloat(e):"number"==typeof e?e:NaN:1&t?e+"":e,ht=e=>ye(e).$hostElement$,bt=(e,t)=>{const n=ht(e);return{emit:e=>Ct(n,t,{bubbles:!0,composed:!0,cancelable:!0,detail:e})}},Ct=(e,t,n)=>{const o=Ie.ce(t,n);return e.dispatchEvent(o),o},vt=new WeakMap,wt=e=>"sc-"+e.L,pt=(e,t,n,o,s,l)=>{if(n===o)return;let i=ke(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,s=mt(n);let l=mt(o);t.remove(...s.filter((e=>e&&!l.includes(e)))),t.add(...l.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)o&&null!=o[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)n&&o[t]===n[t]||(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"===t);else if("ref"===t)o&&o(e);else if(i||"o"!==t[0]||"n"!==t[1]){const r=Re(o);if((i||r&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const s=null==o?"":o;"list"===t?i=!1:null!=n&&e[t]==s||("function"==typeof e.__lookupSetter__(t)?e[t]=s:e.setAttribute(t,s))}}catch(e){}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,c=!0),null==o||!1===o?!1===o&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(je,t):e.removeAttribute(t)):(!i||4&l||s)&&!r&&1===e.nodeType&&(o=!0===o?"":o,c?e.setAttributeNS(je,t,o):e.setAttribute(t,o))}else if(t="-"===t[2]?t.slice(3):ke(Oe,a)?a.slice(2):a[2]+t.slice(3),n||o){const s=t.endsWith(yt);t=t.replace(Lt,""),n&&Ie.rel(e,t,n,s),o&&Ie.ael(e,t,o,s)}},gt=/\s/,mt=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(gt):[]),yt="Capture",Lt=RegExp(yt+"$"),kt=(e,t,n)=>{const o=11===t.m.nodeType&&t.m.host?t.m.host:t.m,s=e&&e.u||{},l=t.u||{};for(const e of xt(Object.keys(s)))e in l||pt(o,e,s[e],void 0,n,t.o);for(const e of xt(Object.keys(l)))pt(o,e,s[e],l[e],n,t.o)};function xt(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var Ht=!1,Mt=!1,$t=!1,jt=!1,Ot=(e,t,n)=>{var o;const s=t.h[n];let l,i,a,r=0;if(Ht||($t=!0,"slot"===s.p&&(s.o|=s.h?2:1)),null!==s.i)l=s.m=Oe.document.createTextNode(s.i);else if(1&s.o)l=s.m=Oe.document.createTextNode(""),kt(null,s,jt);else{if(jt||(jt="svg"===s.p),!Oe.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(l=s.m=Oe.document.createElementNS(jt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Ht&&2&s.o?"slot-fb":s.p),jt&&"foreignObject"===s.p&&(jt=!1),kt(null,s,jt),null!=ct&&void 0!==ct&&l["s-si"]!==ct&&l.classList.add(l["s-si"]=ct),s.h)for(r=0;r<s.h.length;++r)i=Ot(e,s,r),i&&l.appendChild(i);"svg"===s.p?jt=!1:"foreignObject"===l.tagName&&(jt=!0)}return l["s-hn"]=dt,3&s.o&&(l["s-sr"]=!0,l["s-cr"]=ut,l["s-sn"]=s.v||"",l["s-rf"]=null==(o=s.u)?void 0:o.ref,function(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const n=[],o=this["s-sn"];(null==e?void 0:e.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:(e=>{const t=[];for(let n=0;n<e.length;n++){const o=e[n]["s-nr"]||void 0;o&&o.isConnected&&t.push(o)}return t})(s.childNodes)).forEach((e=>{o===et(e)&&n.push(e)})),t?n.filter((e=>1===e.nodeType)):n}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}(l),a=e&&e.h&&e.h[n],a&&a.p===s.p&&e.m&&It(e.m,!1),Dt(ut,l,t.m,null==e?void 0:e.m)),l},It=(e,t)=>{Ie.o|=1;const n=Array.from(e.__childNodes||e.childNodes);for(let e=n.length-1;e>=0;e--){const o=n[e];o["s-hn"]!==dt&&o["s-ol"]&&(Pt(Vt(o).parentNode,o,Vt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,$t=!0),t&&It(o,t)}Ie.o&=-2},St=(e,t,n,o,s,l)=>{let i,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===dt&&(a=a.shadowRoot);s<=l;++s)o[s]&&(i=Ot(null,n,s),i&&(o[s].m=i,Pt(a,i,Vt(t))))},At=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.m;Et(t),e&&(Mt=!0,e["s-ol"]?e["s-ol"].remove():It(e,!0),e.remove())}}},Zt=(e,t,n=!1)=>e.p===t.p&&("slot"===e.p?e.v===t.v:n?(n&&!e.C&&t.C&&(e.C=t.C),!0):e.C===t.C),Vt=e=>e&&e["s-ol"]||e,Bt=(e,t,n=!1)=>{const o=t.m=e.m,s=e.h,l=t.h,i=t.p,a=t.i;let r;null===a?(kt(e,t,jt="svg"===i||"foreignObject"!==i&&jt),null!==s&&null!==l?((e,t,n,o,s=!1)=>{let l,i,a=0,r=0,c=0,u=0,d=t.length-1,f=t[0],h=t[d],b=o.length-1,C=o[0],v=o[b];for(;a<=d&&r<=b;)if(null==f)f=t[++a];else if(null==h)h=t[--d];else if(null==C)C=o[++r];else if(null==v)v=o[--b];else if(Zt(f,C,s))Bt(f,C,s),f=t[++a],C=o[++r];else if(Zt(h,v,s))Bt(h,v,s),h=t[--d],v=o[--b];else if(Zt(f,v,s))"slot"!==f.p&&"slot"!==v.p||It(f.m.parentNode,!1),Bt(f,v,s),Pt(e,f.m,h.m.nextSibling),f=t[++a],v=o[--b];else if(Zt(h,C,s))"slot"!==f.p&&"slot"!==v.p||It(h.m.parentNode,!1),Bt(h,C,s),Pt(e,h.m,f.m),h=t[--d],C=o[++r];else{for(c=-1,u=a;u<=d;++u)if(t[u]&&null!==t[u].C&&t[u].C===C.C){c=u;break}c>=0?(i=t[c],i.p!==C.p?l=Ot(t&&t[r],n,c):(Bt(i,C,s),t[c]=void 0,l=i.m),C=o[++r]):(l=Ot(t&&t[r],n,r),C=o[++r]),l&&Pt(Vt(f.m).parentNode,l,Vt(f.m))}a>d?St(e,null==o[b+1]?null:o[b+1].m,n,o,r,b):r>b&&At(t,a,d)})(o,s,t,l,n):null!==l?(null!==e.i&&(o.textContent=""),St(o,null,t,l,0,l.length-1)):!n&&null!==s&&At(s,0,s.length-1),jt&&"svg"===i&&(jt=!1)):(r=o["s-cr"])?r.parentNode.textContent=a:e.i!==a&&(o.data=a)},Tt=[],Nt=e=>{let t,n,o;const s=e.__childNodes||e.childNodes;for(const e of s){if(e["s-sr"]&&(t=e["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const s=e["s-sn"];for(o=n.length-1;o>=0;o--)if(t=n[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==e["s-hn"])if(Ke(t,s)){let n=Tt.find((e=>e.k===t));Mt=!0,t["s-sn"]=t["s-sn"]||s,n?(n.k["s-sh"]=e["s-hn"],n.H=e):(t["s-sh"]=e["s-hn"],Tt.push({H:e,k:t})),t["s-sr"]&&Tt.map((e=>{Ke(e.k,t["s-sn"])&&(n=Tt.find((e=>e.k===t)),n&&!e.H&&(e.H=n.H))}))}else Tt.some((e=>e.k===t))||Tt.push({k:t})}1===e.nodeType&&Nt(e)}},Et=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(Et)},Pt=(e,t,n)=>("string"==typeof t["s-sn"]&&t["s-sr"]&&t["s-cr"]&&Dt(t["s-cr"],t,e,t.parentElement),null==e?void 0:e.insertBefore(t,n));function Dt(e,t,n,o){var s,l;let i;if(e&&"string"==typeof t["s-sn"]&&t["s-sr"]&&e.parentNode&&e.parentNode["s-sc"]&&(i=t["s-si"]||e.parentNode["s-sc"])){const e=t["s-sn"],a=t["s-hn"];if(null==(s=n.classList)||s.add(i+"-s"),o&&(null==(l=o.classList)?void 0:l.contains(i+"-s"))){let t=(o.__childNodes||o.childNodes)[0],n=!1;for(;t;){if(t["s-sn"]!==e&&t["s-hn"]===a&&t["s-sr"]){n=!0;break}t=t.nextSibling}n||o.classList.remove(i+"-s")}}}var _t=(e,t)=>{if(t&&!e.M&&t["s-p"]){const n=t["s-p"].push(new Promise((o=>e.M=()=>{t["s-p"].splice(n-1,1),o()})))}},Rt=(e,t)=>{if(e.o|=16,!(4&e.o))return _t(e,e.$),_e((()=>Ft(e,t)));e.o|=512},Ft=(e,t)=>{const n=e.$hostElement$,o=e.t;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return t?(e.o|=256,e.j&&(e.j.map((([e,t])=>Yt(o,e,t,n))),e.j=void 0),s=Yt(o,"componentWillLoad",void 0,n)):s=Yt(o,"componentWillUpdate",void 0,n),s=Ut(s,(()=>Yt(o,"componentWillRender",void 0,n))),Ut(s,(()=>Gt(e,o,t)))},Ut=(e,t)=>zt(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),zt=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Gt=async(e,t,n)=>{var o;const s=e.$hostElement$,l=s["s-rc"];n&&(e=>{const t=e.O,n=e.$hostElement$,o=t.o,s=((e,t)=>{var n;const o=wt(t),s=Me.get(o);if(!Oe.document)return o;if(e=11===e.nodeType?e:Oe.document,s)if("string"==typeof s){let l,i=vt.get(e=e.head||e);if(i||vt.set(e,i=new Set),!i.has(o)){{l=Oe.document.createElement("style"),l.innerHTML=s;const o=null!=(n=Ie.I)?n:Fe(Oe.document);if(null!=o&&l.setAttribute("nonce",o),!(1&t.o))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(l,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(Ze){const t=new CSSStyleSheet;t.replaceSync(s),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=s+t.innerHTML:e.prepend(l)}else e.append(l);1&t.o&&e.insertBefore(l,null)}4&t.o&&(l.innerHTML+=$e),i&&i.add(o)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);Wt(e,t,s,n),l&&(l.map((e=>e())),s["s-rc"]=void 0);{const t=null!=(o=s["s-p"])?o:[],n=()=>qt(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},Wt=(e,t,n,o)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{var o,s,l,i;const a=e.$hostElement$,r=e.O,c=e.S||ot(null,null),u=(e=>e&&e.p===st)(t)?t:nt(null,null,t);if(dt=a.tagName,r.A&&(u.u=u.u||{},r.A.map((([e,t])=>u.u[t]=a[e]))),n&&u.u)for(const e of Object.keys(u.u))a.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(u.u[e]=a[e]);if(u.p=null,u.o|=4,e.S=u,u.m=c.m=a.shadowRoot||a,ct=a["s-sc"],Ht=!(!(1&r.o)||128&r.o),ut=a["s-cr"],Mt=!1,Bt(c,u,n),Ie.o|=1,$t){Nt(u.m);for(const e of Tt){const t=e.k;if(!t["s-ol"]&&Oe.document){const e=Oe.document.createTextNode("");e["s-nr"]=t,Pt(t.parentNode,t["s-ol"]=e,t)}}for(const e of Tt){const t=e.k,a=e.H;if(a){const e=a.parentNode;let n=a.nextSibling;{let l=null==(o=t["s-ol"])?void 0:o.previousSibling;for(;l;){let o=null!=(s=l["s-nr"])?s:null;if(o&&o["s-sn"]===t["s-sn"]&&e===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===t||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}l=l.previousSibling}}(!n&&e!==(t.__parentNode||t.parentNode)||(t.__nextSibling||t.nextSibling)!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),Pt(e,t,n),1===t.nodeType&&"SLOT-FB"!==t.tagName&&(t.hidden=null!=(l=t["s-ih"])&&l)),t&&"function"==typeof a["s-rf"]&&a["s-rf"](a)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(i=t.hidden)&&i),t.hidden=!0)}}Mt&&Ye(u.m),Ie.o&=-2,Tt.length=0,ut=void 0})(e,t,o)}catch(t){xe(t,e.$hostElement$)}return null},qt=e=>{const t=e.$hostElement$,n=e.t,o=e.$;Yt(n,"componentDidRender",void 0,t),64&e.o?Yt(n,"componentDidUpdate",void 0,t):(e.o|=64,Jt(t),Yt(n,"componentDidLoad",void 0,t),e.Z(t),o||Qt()),e.V(t),e.M&&(e.M(),e.M=void 0),512&e.o&&De((()=>Rt(e,!1))),e.o&=-517},Qt=()=>{De((()=>Ct(Oe,"appload",{detail:{namespace:"baloise-design-system"}})))},Yt=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){xe(e,o)}},Jt=e=>e.classList.add("hydrated"),Xt=(e,t,n,o)=>{const s=ye(e);if(!s)throw Error(`Couldn't find host element for "${o.L}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const l=s.$hostElement$,i=s.B.get(t),a=s.o,r=s.t;if(n=ft(n,o.T[t][0]),(!(8&a)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.B.set(t,n),r)){if(o.N&&128&a){const e=o.N[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(e){xe(e,l)}}))}if(2==(18&a)){if(r.componentShouldUpdate&&!1===r.componentShouldUpdate(n,i,t))return;Rt(s,!1)}}},Kt=(e,t,n)=>{var o,s;const l=e.prototype;if(t.T||t.N||e.watchers){e.watchers&&!t.N&&(t.N=e.watchers);const i=Object.entries(null!=(o=t.T)?o:{});if(i.map((([e,[o]])=>{if(31&o||2&n&&32&o){const{get:s,set:i}=Object.getOwnPropertyDescriptor(l,e)||{};s&&(t.T[e][0]|=2048),i&&(t.T[e][0]|=4096),(1&n||!s)&&Object.defineProperty(l,e,{get(){{if(!(2048&t.T[e][0]))return((e,t)=>ye(this).B.get(t))(0,e);const n=ye(this),o=n?n.t:l;if(!o)return;return o[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(l,e,{set(s){const l=ye(this);if(i){const n=32&o?this[e]:l.$hostElement$[e];return void 0===n&&l.B.get(e)?s=l.B.get(e):!l.B.get(e)&&n&&l.B.set(e,n),i.call(this,ft(s,o)),void Xt(this,e,s=32&o?this[e]:l.$hostElement$[e],t)}{if(!(1&n&&4096&t.T[e][0]))return Xt(this,e,s,t),void(1&n&&!l.t&&l.P.then((()=>{4096&t.T[e][0]&&l.t[e]!==l.B.get(e)&&(l.t[e]=s)})));const i=()=>{const n=l.t[e];!l.B.get(e)&&n&&l.B.set(e,n),l.t[e]=ft(s,o),Xt(this,e,l.t[e],t)};l.t?i():l.P.then((()=>i()))}}})}else 1&n&&64&o&&Object.defineProperty(l,e,{value(...t){var n;const o=ye(this);return null==(n=null==o?void 0:o.D)?void 0:n.then((()=>{var n;return null==(n=o.t)?void 0:n[e](...t)}))}})})),1&n){const n=new Map;l.attributeChangedCallback=function(e,o,s){Ie.jmp((()=>{var i;const a=n.get(e);if(this.hasOwnProperty(a))s=this[a],delete this[a];else{if(l.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==s)return;if(null==a){const n=ye(this),l=null==n?void 0:n.o;if(l&&!(8&l)&&128&l&&s!==o){const l=n.t,a=null==(i=t.N)?void 0:i[e];null==a||a.forEach((t=>{null!=l[t]&&l[t].call(l,s,o,e)}))}return}}const r=Object.getOwnPropertyDescriptor(l,a);(s=(null!==s||"boolean"!=typeof this[a])&&s)===this[a]||r.get&&!r.set||(this[a]=s)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.N)?s:{}),...i.filter((([e,t])=>15&t[0])).map((([e,o])=>{var s;const l=o[1]||e;return n.set(l,e),512&o[0]&&(null==(s=t.A)||s.push([e,l])),l}))]))}}return e},en=(e,t)=>{Yt(e,"connectedCallback",void 0,t)},tn=(e,t)=>{Yt(e,"disconnectedCallback",void 0,t||e)},nn=(e,t={})=>{var n;if(!Oe.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=[],s=t.exclude||[],l=Oe.customElements,i=Oe.document.head,a=i.querySelector("meta[charset]"),r=Oe.document.createElement("style"),c=[];let u,d=!0;Object.assign(Ie,t),Ie.l=new URL(t.resourcesUrl||"./",Oe.document.baseURI).href;let f=!1;if(e.map((e=>{e[1].map((t=>{var n;const i={o:t[0],L:t[1],T:t[2],_:t[3]};4&i.o&&(f=!0),i.T=t[2],i._=t[3],i.A=[],i.N=null!=(n=t[4])?n:{};const a=i.L,r=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,t)=>{const n={o:0,$hostElement$:e,O:t,B:new Map};n.D=new Promise((e=>n.V=e)),n.P=new Promise((e=>n.Z=e)),e["s-p"]=[],e["s-rc"]=[];const o=n;e.__stencil__getHostRef=()=>o})(e=this,i),1&i.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${i.L}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Qe.call(e,i)}connectedCallback(){const e=ye(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,on(this,e,i._)),u&&(clearTimeout(u),u=null),d?c.push(this):Ie.jmp((()=>(e=>{if(!(1&Ie.o)){const t=ye(e),n=t.O,o=()=>{};if(1&t.o)on(e,t,n._),(null==t?void 0:t.t)?en(t.t,e):(null==t?void 0:t.P)&&t.P.then((()=>en(t.t,e)));else{t.o|=1,12&n.o&&(e=>{if(!Oe.document)return;const t=e["s-cr"]=Oe.document.createComment("");t["s-cn"]=!0,Pt(e,t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){_t(t,t.$=n);break}}n.T&&Object.entries(n.T).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),De((()=>(async(e,t,n)=>{let o;if(!(32&t.o)){if(t.o|=32,n.R){const s=((e,t)=>{const n=e.L.replace(/-/g,"_"),o=e.R;if(!o)return;const s=He.get(o);return s?s[n]:import(`./${o}.entry.js`).then((e=>(He.set(o,e),e[n])),(e=>{xe(e,t.$hostElement$)}))
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,t);if(s&&"then"in s){const e=()=>{};o=await s,e()}else o=s;if(!o)throw Error(`Constructor for "${n.L}#${t.F}" was not found`);o.isProxied||(n.N=o.watchers,Kt(o,n,2),o.isProxied=!0);const l=()=>{};t.o|=8;try{new o(t)}catch(t){xe(t,e)}t.o&=-9,t.o|=128,l(),en(t.t,e)}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=wt(n);if(!Me.has(t)){const o=()=>{};((e,t,n)=>{let o=Me.get(e);Ze&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,Me.set(e,o)})(t,e,!!(1&n.o)),o()}}}const s=t.$,l=()=>Rt(t,!0);s&&s["s-rc"]?s["s-rc"].push(l):l()})(e,t,n)))}o()}})(this)))}disconnectedCallback(){Ie.jmp((()=>(async e=>{if(!(1&Ie.o)){const t=ye(e);t.U&&(t.U.map((e=>e())),t.U=void 0),(null==t?void 0:t.t)?tn(t.t,e):(null==t?void 0:t.P)&&t.P.then((()=>tn(t.t,e)))}vt.has(e)&&vt.delete(e),e.shadowRoot&&vt.has(e.shadowRoot)&&vt.delete(e.shadowRoot)})(this))),Ie.raf((()=>{var e;const t=ye(this),n=c.findIndex((e=>e===this));n>-1&&c.splice(n,1),(null==(e=null==t?void 0:t.S)?void 0:e.m)instanceof Node&&!t.S.m.isConnected&&delete t.S.m}))}componentOnReady(){return ye(this).P}};i.R=e[0],s.includes(a)||l.get(a)||(o.push(a),l.define(a,Kt(r,i,1)))}))})),o.length>0&&(f&&(r.textContent+=$e),r.textContent+=o.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",r.innerHTML.length)){r.setAttribute("data-styles","");const e=null!=(n=Ie.I)?n:Fe(Oe.document);null!=e&&r.setAttribute("nonce",e),i.insertBefore(r,a?a.nextSibling:i.firstChild)}d=!1,c.length?c.map((e=>e.connectedCallback())):Ie.jmp((()=>u=setTimeout(Qt,30)))},on=(e,t,n)=>{n&&Oe.document&&n.map((([n,o,s])=>{const l=ln(Oe.document,e,n),i=sn(t,s),a=an(n);Ie.ael(l,o,i,a),(t.U=t.U||[]).push((()=>Ie.rel(l,o,i,a)))}))},sn=(e,t)=>n=>{var o;try{256&e.o?null==(o=e.t)||o[t](n):(e.j=e.j||[]).push([t,n])}catch(t){xe(t,e.$hostElement$)}},ln=(e,t,n)=>4&n?e:8&n?Oe:t,an=e=>({passive:!!(1&e),capture:!!(2&e)}),rn=e=>Ie.I=e;export{V as $,oe as A,le as B,ce as C,fe as D,he as E,be as F,Ce as G,Le as H,U as I,_ as J,D as K,s as L,nt as M,st as N,ht as O,bt as P,Y as Q,K as R,ee as S,F as T,H as U,_e as V,J as W,W as X,se as Y,z as Z,Z as _,n as a,pe as a0,nn as b,q as c,Q as d,S as e,x as f,ge as g,A as h,j as i,P as j,E as k,B as l,T as m,I as n,O as o,Ae as p,ve as q,ne as r,rn as s,G as t,N as u,te as v,R as w,ie as x,ae as y,re as z}
@@ -1 +1 @@
1
- var __extends=this&&this.__extends||function(){var t=function(n,i){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i))t[i]=n[i]};return t(n,i)};return function(n,i){if(typeof i!=="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");t(n,i);function e(){this.constructor=n}n.prototype=i===null?Object.create(i):(e.prototype=i.prototype,new e)}}();System.register(["./p-drmuT566.system.js","./p-WmWy2rJ-.system.js"],(function(t){"use strict";var n,i,e,s,r;return{setters:[function(t){n=t.L;i=t.a},function(t){e=t.R;s=t.a;r=t.S}],execute:function(){t("L",h);var u=function(t){__extends(n,t);function n(){var i=t.apply(this,arguments)||this;i.state=n.DefaultState;i.onMouseEnter=function(){i.updateState({hovered:true})};i.onMouseLeave=function(){i.updateState({hovered:false})};i.onPointerDown=function(){i.updateState({pressed:true})};i.onPointerUp=function(){i.updateState({pressed:false})};return i}n.prototype.connect=function(i){t.prototype.connect.call(this,i);e(this.el,"mouseenter",this.onMouseEnter,n.EventListenerOptions);e(this.el,"mouseleave",this.onMouseLeave,n.EventListenerOptions);e(this.el,"pointerdown",this.onPointerDown,n.EventListenerOptions);if(s.hasDocument){e(document,"pointerup",this.onPointerUp,n.EventListenerOptions)}};n.prototype.disconnect=function(){t.prototype.disconnect.call(this);if(this.el){r(this.el,"mouseenter",this.onMouseEnter);r(this.el,"mouseleave",this.onMouseLeave);r(this.el,"pointerdown",this.onPointerDown);if(s.hasDocument){r(document,"pointerup",this.onPointerUp)}}};n.prototype.updateState=function(t){this.state=Object.assign(Object.assign({},this.state),t);this.notify(this.state)};return n}(n);t("B",u);u.EventListenerOptions={passive:true};u.DefaultState={hovered:false,pressed:false};var o=function(t){__extends(n,t);function n(){var n=t.call(this,(function(t,n){if(n){t.elementStateListener(n)}}))||this;n.listener=new u;return n}n.prototype.attach=function(n){var i=this;t.prototype.attach.call(this,n);this.listener.connect(n.el);this.listener.add((function(n){return t.prototype.notify.call(i,n)}))};n.prototype.detach=function(){t.prototype.detach.call(this);this.listener.disconnect()};return n}(i);function h(){return function(t,n,i){var e=t.connectedCallback,s=t.disconnectedCallback;t.connectedCallback=function(){if(!this._balElementStateSubject){this._balElementStateSubject=new o;this._balElementStateSubject.attach(this)}return e&&e.call(this)};t.disconnectedCallback=function(){if(this._balElementStateSubject){this._balElementStateSubject.detach();this._balElementStateSubject=undefined}return s&&s.call(this)}}}}}}));
1
+ var __extends=this&&this.__extends||function(){var t=function(n,i){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i))t[i]=n[i]};return t(n,i)};return function(n,i){if(typeof i!=="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");t(n,i);function e(){this.constructor=n}n.prototype=i===null?Object.create(i):(e.prototype=i.prototype,new e)}}();System.register(["./p-XFbKxieD.system.js","./p-CUzS4D-E.system.js"],(function(t){"use strict";var n,i,e,s,r;return{setters:[function(t){n=t.L;i=t.a},function(t){e=t.R;s=t.a;r=t.S}],execute:function(){t("L",h);var u=function(t){__extends(n,t);function n(){var i=t.apply(this,arguments)||this;i.state=n.DefaultState;i.onMouseEnter=function(){i.updateState({hovered:true})};i.onMouseLeave=function(){i.updateState({hovered:false})};i.onPointerDown=function(){i.updateState({pressed:true})};i.onPointerUp=function(){i.updateState({pressed:false})};return i}n.prototype.connect=function(i){t.prototype.connect.call(this,i);e(this.el,"mouseenter",this.onMouseEnter,n.EventListenerOptions);e(this.el,"mouseleave",this.onMouseLeave,n.EventListenerOptions);e(this.el,"pointerdown",this.onPointerDown,n.EventListenerOptions);if(s.hasDocument){e(document,"pointerup",this.onPointerUp,n.EventListenerOptions)}};n.prototype.disconnect=function(){t.prototype.disconnect.call(this);if(this.el){r(this.el,"mouseenter",this.onMouseEnter);r(this.el,"mouseleave",this.onMouseLeave);r(this.el,"pointerdown",this.onPointerDown);if(s.hasDocument){r(document,"pointerup",this.onPointerUp)}}};n.prototype.updateState=function(t){this.state=Object.assign(Object.assign({},this.state),t);this.notify(this.state)};return n}(n);t("B",u);u.EventListenerOptions={passive:true};u.DefaultState={hovered:false,pressed:false};var o=function(t){__extends(n,t);function n(){var n=t.call(this,(function(t,n){if(n){t.elementStateListener(n)}}))||this;n.listener=new u;return n}n.prototype.attach=function(n){var i=this;t.prototype.attach.call(this,n);this.listener.connect(n.el);this.listener.add((function(n){return t.prototype.notify.call(i,n)}))};n.prototype.detach=function(){t.prototype.detach.call(this);this.listener.disconnect()};return n}(i);function h(){return function(t,n,i){var e=t.connectedCallback,s=t.disconnectedCallback;t.connectedCallback=function(){if(!this._balElementStateSubject){this._balElementStateSubject=new o;this._balElementStateSubject.attach(this)}return e&&e.call(this)};t.disconnectedCallback=function(){if(this._balElementStateSubject){this._balElementStateSubject.detach();this._balElementStateSubject=undefined}return s&&s.call(this)}}}}}}));
@@ -1 +1 @@
1
- import{a as t}from"./p-pkPHUz5e.js";class i{get isPortrait(){return!(!t.hasWindow||!window.matchMedia)&&window.matchMedia("(orientation: portrait)").matches}get isLandscape(){return!t.hasWindow||!window.matchMedia||window.matchMedia("(orientation: landscape)").matches}toObject(){return{landscape:this.isLandscape,portrait:this.isPortrait}}}class r{constructor(){this.orientation=new i}get isMobile(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|OperaMini/i.test(t.userAgent)}get hasTouchScreen(){return!(!t.hasWindow||!t.hasNavigator||!("ontouchstart"in window)&&!navigator.msMaxTouchPoints)}}const n=new r;export{r as B,n as b}
1
+ import{a as t}from"./p-Btdiqd5K.js";class i{get isPortrait(){return!(!t.hasWindow||!window.matchMedia)&&window.matchMedia("(orientation: portrait)").matches}get isLandscape(){return!t.hasWindow||!window.matchMedia||window.matchMedia("(orientation: landscape)").matches}toObject(){return{landscape:this.isLandscape,portrait:this.isPortrait}}}class r{constructor(){this.orientation=new i}get isMobile(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|OperaMini/i.test(t.userAgent)}get hasTouchScreen(){return!(!t.hasWindow||!t.hasNavigator||!("ontouchstart"in window)&&!navigator.msMaxTouchPoints)}}const n=new r;export{r as B,n as b}
@@ -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-CUzS4D-E.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{L as s,a as t}from"./p-BHYxMhaq.js";import{y as i,a as c,t as n,R as h,S as o}from"./p-pkPHUz5e.js";class u extends s{constructor(){super(...arguments),this.onFocusin=s=>{this.notify({ev:s,isFocusIn:!0,isFocusOut:!1})},this.onFocusout=async s=>{if(await i(),c.hasDocument&&this.el){const t=document.activeElement;t&&!n(this.el,t)&&this.notify({ev:s,isFocusIn:!1,isFocusOut:!0})}}}connect(s){super.connect(s),this.el&&(h(this.el,"focusin",this.onFocusin),h(this.el,"focusout",this.onFocusout))}disconnect(){super.disconnect(),this.el&&(o(this.el,"focusin",this.onFocusin),o(this.el,"focusout",this.onFocusout))}}class e extends t{constructor(){super(((s,t)=>{t&&(t.isFocusIn&&(!1===s.hasFocus&&s.focusInListener(t.ev),s.hasFocus=!0),t.isFocusOut&&(s.focusOutListener(t.ev),s.hasFocus=!1))})),this.listener=new u}attach(s){super.attach(s),this.listener.connect(s.el),this.listener.add((s=>super.notify(s)))}detach(){super.detach(),this.listener.disconnect()}}function a(){return function(s){const{connectedCallback:t,disconnectedCallback:i}=s;s.connectedCallback=function(){return this._balFocusSubject||(this._balFocusSubject=new e,this._balFocusSubject.attach(this)),t&&t.call(this)},s.disconnectedCallback=function(){return this._balFocusSubject&&(this._balFocusSubject.detach(),this._balFocusSubject=void 0),i&&i.call(this)}}}export{a as L}
1
+ import{L as s,a as t}from"./p-Ctcs3QMJ.js";import{y as i,a as c,t as n,R as h,S as o}from"./p-Btdiqd5K.js";class u extends s{constructor(){super(...arguments),this.onFocusin=s=>{this.notify({ev:s,isFocusIn:!0,isFocusOut:!1})},this.onFocusout=async s=>{if(await i(),c.hasDocument&&this.el){const t=document.activeElement;t&&!n(this.el,t)&&this.notify({ev:s,isFocusIn:!1,isFocusOut:!0})}}}connect(s){super.connect(s),this.el&&(h(this.el,"focusin",this.onFocusin),h(this.el,"focusout",this.onFocusout))}disconnect(){super.disconnect(),this.el&&(o(this.el,"focusin",this.onFocusin),o(this.el,"focusout",this.onFocusout))}}class e extends t{constructor(){super(((s,t)=>{t&&(t.isFocusIn&&(!1===s.hasFocus&&s.focusInListener(t.ev),s.hasFocus=!0),t.isFocusOut&&(s.focusOutListener(t.ev),s.hasFocus=!1))})),this.listener=new u}attach(s){super.attach(s),this.listener.connect(s.el),this.listener.add((s=>super.notify(s)))}detach(){super.detach(),this.listener.disconnect()}}function a(){return function(s){const{connectedCallback:t,disconnectedCallback:i}=s;s.connectedCallback=function(){return this._balFocusSubject||(this._balFocusSubject=new e,this._balFocusSubject.attach(this)),t&&t.call(this)},s.disconnectedCallback=function(){return this._balFocusSubject&&(this._balFocusSubject.detach(),this._balFocusSubject=void 0),i&&i.call(this)}}}export{a as L}