@baloise/ds-core 19.5.0 → 19.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. package/components/bal-accordion.js +1 -1
  2. package/components/bal-carousel-item.js +1 -1
  3. package/components/bal-data-value.js +4 -2
  4. package/components/bal-date-calendar2.js +1 -1
  5. package/components/bal-date.js +1 -1
  6. package/components/bal-dropdown.js +1 -1
  7. package/components/bal-field-hint.js +25 -2
  8. package/components/bal-field-message.js +7 -2
  9. package/components/bal-field.js +1 -1
  10. package/components/bal-file-upload.js +3 -3
  11. package/components/bal-form.js +1 -1
  12. package/components/bal-icon2.js +1 -1
  13. package/components/bal-modal.js +1 -1
  14. package/components/bal-nav-meta-bar2.js +1 -1
  15. package/components/bal-nav.js +2 -2
  16. package/components/bal-navbar-brand.js +1 -1
  17. package/components/bal-number-input.js +30 -13
  18. package/components/bal-option-list.js +1 -1
  19. package/components/bal-pagination.js +1 -1
  20. package/components/bal-popup2.js +8 -2
  21. package/components/bal-segment.js +2 -1
  22. package/components/bal-select2.js +1 -1
  23. package/components/bal-tabs2.js +2 -2
  24. package/components/bal-toast.controller.js +127 -0
  25. package/components/focus.decorator.js +1 -1
  26. package/components/form-input.js +1 -1
  27. package/components/helpers.js +1 -1
  28. package/components/index.js +6 -127
  29. package/components/mutation.decorator.js +1 -1
  30. package/components/tokens.esm.js +1 -1
  31. package/components/visibility.decorator.js +1 -1
  32. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  33. package/dist/baloise-design-system/index.esm.js +1 -1
  34. package/dist/baloise-design-system/{p-b3c4bb46d3.entry.js → p-0a4ac49e02.entry.js} +1 -1
  35. package/dist/baloise-design-system/p-0cf4c25729.system.entry.js +1 -0
  36. package/dist/baloise-design-system/{p-53d4b7058b.entry.js → p-0ea9ab068b.entry.js} +1 -1
  37. package/dist/baloise-design-system/p-0f6bb8caa3.system.entry.js +1 -0
  38. package/dist/baloise-design-system/{p-05171f8822.system.entry.js → p-10c062442e.system.entry.js} +1 -1
  39. package/dist/baloise-design-system/p-18454aabec.entry.js +1 -0
  40. package/dist/baloise-design-system/{p-64ef8c714d.entry.js → p-1857577c70.entry.js} +1 -1
  41. package/dist/baloise-design-system/p-1e9c5546fc.system.entry.js +1 -0
  42. package/dist/baloise-design-system/p-255dd40d49.entry.js +1 -0
  43. package/dist/baloise-design-system/{p-1e16b6160b.entry.js → p-327c84b06b.entry.js} +1 -1
  44. package/dist/baloise-design-system/{p-32f4c6a2a2.entry.js → p-3641978d62.entry.js} +1 -1
  45. package/dist/baloise-design-system/{p-3595a9493d.entry.js → p-5465e8ac55.entry.js} +1 -1
  46. package/dist/baloise-design-system/{p-b8b00da091.entry.js → p-5567a745f4.entry.js} +1 -1
  47. package/dist/baloise-design-system/{p-8b02d1f691.system.entry.js → p-59390868c1.system.entry.js} +1 -1
  48. package/dist/baloise-design-system/p-60c78f3752.entry.js +1 -0
  49. package/dist/baloise-design-system/p-6242e41d53.system.entry.js +1 -0
  50. package/dist/baloise-design-system/{p-e45196d720.system.entry.js → p-7405a37a9a.system.entry.js} +1 -1
  51. package/dist/baloise-design-system/{p-2f840ebc0e.system.entry.js → p-804bbad7f2.system.entry.js} +1 -1
  52. package/dist/baloise-design-system/p-8a0dbc8717.system.entry.js +1 -0
  53. package/dist/baloise-design-system/p-8ae0044332.entry.js +1 -0
  54. package/dist/baloise-design-system/{p-8f16b577ed.system.entry.js → p-8bc0af1a02.system.entry.js} +1 -1
  55. package/dist/baloise-design-system/p-8c9f806358.system.entry.js +1 -0
  56. package/dist/baloise-design-system/{p-063fe43bad.entry.js → p-93a741aa6b.entry.js} +1 -1
  57. package/dist/baloise-design-system/p-94610ff5fd.system.entry.js +1 -0
  58. package/dist/baloise-design-system/{p-7eebcf67e2.entry.js → p-9a16bde9ad.entry.js} +1 -1
  59. package/dist/baloise-design-system/p-9d4ddca8b1.entry.js +1 -0
  60. package/dist/baloise-design-system/{p-450ed0e3a8.system.entry.js → p-9fe93f520f.system.entry.js} +1 -1
  61. package/dist/baloise-design-system/{p-D-wn3VCz.system.js → p-B6AwgiDg.system.js} +1 -1
  62. package/dist/baloise-design-system/{p-D7joM2A_.js → p-BXW6ULlI.js} +1 -1
  63. package/dist/baloise-design-system/p-BZQXDr-g.js +1 -0
  64. package/dist/baloise-design-system/p-Bas5fYcv.system.js +1 -1
  65. package/dist/baloise-design-system/p-BtpJmRB8.js +1 -1
  66. package/dist/baloise-design-system/{p-C2O6xJy8.js → p-Bwanpq90.js} +1 -1
  67. package/dist/baloise-design-system/p-CLs4UZCO.js +1 -0
  68. package/dist/baloise-design-system/p-CMlYDQJS.system.js +1 -0
  69. package/dist/baloise-design-system/{p-nmPiAskM.js → p-CTBN6DaX.js} +1 -1
  70. package/dist/baloise-design-system/p-ChlfBLwb.system.js +1 -0
  71. package/dist/baloise-design-system/p-CpKZoBAF.js +1 -0
  72. package/dist/baloise-design-system/{p-DACM2A18.system.js → p-DGPZrO0x.system.js} +1 -1
  73. package/dist/baloise-design-system/p-DJQ7cTKs.system.js +1 -0
  74. package/dist/baloise-design-system/p-Dd2hz_QL.system.js +1 -1
  75. package/dist/baloise-design-system/{p-BQFHQM2n.system.js → p-K4LP7N6U.system.js} +1 -1
  76. package/dist/baloise-design-system/p-ZO510gkN.system.js +1 -0
  77. package/dist/baloise-design-system/p-a9b6129706.entry.js +1 -0
  78. package/dist/baloise-design-system/p-b2af8a3657.system.entry.js +1 -0
  79. package/dist/baloise-design-system/{p-11e1bb87d5.system.entry.js → p-b2cd8c8099.system.entry.js} +1 -1
  80. package/dist/baloise-design-system/p-c63fbd713d.entry.js +1 -0
  81. package/dist/baloise-design-system/{p-589719130f.system.entry.js → p-cd61656b64.system.entry.js} +1 -1
  82. package/dist/baloise-design-system/{p-fa57c17fd2.system.entry.js → p-cf2493f296.system.entry.js} +1 -1
  83. package/dist/baloise-design-system/{p-bcbfc5cf1a.entry.js → p-d1eb2cfb34.entry.js} +1 -1
  84. package/dist/baloise-design-system/{p-154031cfcd.entry.js → p-dba1172156.entry.js} +1 -1
  85. package/dist/baloise-design-system/{p-b20a5928a7.system.entry.js → p-df817b1f49.system.entry.js} +1 -1
  86. package/dist/baloise-design-system/p-e071742801.entry.js +1 -0
  87. package/dist/baloise-design-system/p-e105c174ba.entry.js +1 -0
  88. package/dist/baloise-design-system/p-e9bcbaa911.system.entry.js +1 -0
  89. package/dist/baloise-design-system/p-f0299bfaa0.system.entry.js +1 -0
  90. package/dist/cjs/bal-carousel_2.cjs.entry.js +4 -4
  91. package/dist/cjs/bal-data_4.cjs.entry.js +4 -2
  92. package/dist/cjs/bal-date-calendar_2.cjs.entry.js +5 -4
  93. package/dist/cjs/bal-date.cjs.entry.js +3 -2
  94. package/dist/cjs/bal-date.i18n-DJlY99as.js +66 -0
  95. package/dist/cjs/bal-field_5.cjs.entry.js +28 -3
  96. package/dist/cjs/bal-file-upload.cjs.entry.js +3 -3
  97. package/dist/cjs/bal-hint_5.cjs.entry.js +3 -3
  98. package/dist/cjs/bal-icon.cjs.entry.js +1 -1
  99. package/dist/cjs/bal-list_8.cjs.entry.js +4 -4
  100. package/dist/cjs/bal-logo.cjs.entry.js +3 -3
  101. package/dist/cjs/bal-nav_8.cjs.entry.js +6 -6
  102. package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
  103. package/dist/cjs/bal-number-input.cjs.entry.js +28 -12
  104. package/dist/cjs/bal-pagination.cjs.entry.js +4 -4
  105. package/dist/cjs/bal-popup.cjs.entry.js +8 -2
  106. package/dist/cjs/bal-progress-bar.cjs.entry.js +5 -5
  107. package/dist/cjs/bal-segment_2.cjs.entry.js +7 -6
  108. package/dist/cjs/bal-shape.cjs.entry.js +1 -1
  109. package/dist/cjs/bal-steps.cjs.entry.js +3 -3
  110. package/dist/cjs/bal-tab-item_2.cjs.entry.js +5 -5
  111. package/dist/cjs/baloise-design-system.cjs.js +1 -1
  112. package/dist/cjs/{breakpoints.decorator-BSEpzMB7.js → breakpoints.decorator-Cz7bHPb8.js} +1 -1
  113. package/dist/cjs/{breakpoints.subject-DsbiTElZ.js → breakpoints.subject-BvbPa-gl.js} +1 -1
  114. package/dist/cjs/{date-DffviXAX.js → date-z_vUhJKX.js} +0 -64
  115. package/dist/cjs/index-wO-C-tKN.js +1 -1
  116. package/dist/cjs/index.cjs.js +7 -6
  117. package/dist/cjs/loader.cjs.js +1 -1
  118. package/dist/cjs/{tokens.esm-DDxoq3-N.js → tokens.esm-G_2YKM-0.js} +1 -1
  119. package/dist/cjs/{window-resize.decorator-lVS3Mcus.js → window-resize.decorator-KhRfwqd-.js} +1 -1
  120. package/dist/cjs/{window-resize.subject-BT9wsOzd.js → window-resize.subject-avwpF9vX.js} +1 -1
  121. package/dist/collection/components/bal-data/bal-data-value/bal-data-value.js +4 -2
  122. package/dist/collection/components/bal-field/bal-field-hint/bal-field-hint.js +43 -1
  123. package/dist/collection/components/bal-field/bal-field-message/bal-field-message.js +26 -2
  124. package/dist/collection/components/bal-file-upload/components/file-list.js +1 -2
  125. package/dist/collection/components/bal-icon/bal-icon.js +1 -1
  126. package/dist/collection/components/bal-input/bal-input.js +1 -1
  127. package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.css +1 -1
  128. package/dist/collection/components/bal-nav/bal-nav.css +1 -1
  129. package/dist/collection/components/bal-number-input/bal-number-input.js +40 -11
  130. package/dist/collection/components/bal-number-input/bal-number-input.utils.js +11 -4
  131. package/dist/collection/components/bal-pagination/bal-pagination.js +1 -1
  132. package/dist/collection/components/bal-popup/bal-popup.css +1 -1
  133. package/dist/collection/components/bal-popup/bal-popup.js +1 -1
  134. package/dist/collection/components/bal-popup/variants/fullscreen-variant.renderer.js +6 -0
  135. package/dist/collection/components/bal-segment/bal-segment.js +2 -1
  136. package/dist/collection/components/bal-tabs/bal-tabs.css +1 -1
  137. package/dist/collection/utils/constants/version.constant.js +1 -1
  138. package/dist/esm/bal-carousel_2.entry.js +4 -4
  139. package/dist/esm/bal-data_4.entry.js +4 -2
  140. package/dist/esm/bal-date-calendar_2.entry.js +2 -1
  141. package/dist/esm/bal-date.entry.js +2 -1
  142. package/dist/esm/bal-date.i18n-CLs4UZCO.js +64 -0
  143. package/dist/esm/bal-field_5.entry.js +28 -3
  144. package/dist/esm/bal-file-upload.entry.js +3 -3
  145. package/dist/esm/bal-hint_5.entry.js +3 -3
  146. package/dist/esm/bal-icon.entry.js +1 -1
  147. package/dist/esm/bal-list_8.entry.js +4 -4
  148. package/dist/esm/bal-logo.entry.js +3 -3
  149. package/dist/esm/bal-nav_8.entry.js +6 -6
  150. package/dist/esm/bal-navbar_5.entry.js +3 -3
  151. package/dist/esm/bal-number-input.entry.js +28 -12
  152. package/dist/esm/bal-pagination.entry.js +4 -4
  153. package/dist/esm/bal-popup.entry.js +8 -2
  154. package/dist/esm/bal-progress-bar.entry.js +5 -5
  155. package/dist/esm/bal-segment_2.entry.js +7 -6
  156. package/dist/esm/bal-shape.entry.js +1 -1
  157. package/dist/esm/bal-steps.entry.js +3 -3
  158. package/dist/esm/bal-tab-item_2.entry.js +5 -5
  159. package/dist/esm/baloise-design-system.js +1 -1
  160. package/dist/esm/{breakpoints.decorator-DcuiF9pJ.js → breakpoints.decorator-B5g2J7uh.js} +1 -1
  161. package/dist/esm/{breakpoints.subject-DtMFg17t.js → breakpoints.subject-BUhfnNwa.js} +1 -1
  162. package/dist/esm/{date-DPdjnaiY.js → date-B_izjCbq.js} +1 -64
  163. package/dist/esm/index-BtpJmRB8.js +1 -1
  164. package/dist/esm/index.js +6 -5
  165. package/dist/esm/loader.js +1 -1
  166. package/dist/esm/{tokens.esm-ChltR09F.js → tokens.esm-Dal-cGiQ.js} +1 -1
  167. package/dist/esm/{window-resize.decorator-WtdUPOFx.js → window-resize.decorator-DpazCyu9.js} +1 -1
  168. package/dist/esm/{window-resize.subject-B5jZTc22.js → window-resize.subject-nsxIxT5E.js} +1 -1
  169. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  170. package/dist/esm-es5/bal-data_4.entry.js +1 -1
  171. package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
  172. package/dist/esm-es5/bal-date.entry.js +1 -1
  173. package/dist/esm-es5/bal-date.i18n-CLs4UZCO.js +1 -0
  174. package/dist/esm-es5/bal-field_5.entry.js +1 -1
  175. package/dist/esm-es5/bal-file-upload.entry.js +1 -1
  176. package/dist/esm-es5/bal-hint_5.entry.js +1 -1
  177. package/dist/esm-es5/bal-icon.entry.js +1 -1
  178. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  179. package/dist/esm-es5/bal-logo.entry.js +1 -1
  180. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  181. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  182. package/dist/esm-es5/bal-number-input.entry.js +1 -1
  183. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  184. package/dist/esm-es5/bal-popup.entry.js +1 -1
  185. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  186. package/dist/esm-es5/bal-segment_2.entry.js +1 -1
  187. package/dist/esm-es5/bal-shape.entry.js +1 -1
  188. package/dist/esm-es5/bal-steps.entry.js +1 -1
  189. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  190. package/dist/esm-es5/baloise-design-system.js +1 -1
  191. package/dist/esm-es5/{breakpoints.decorator-DcuiF9pJ.js → breakpoints.decorator-B5g2J7uh.js} +1 -1
  192. package/dist/esm-es5/{breakpoints.subject-DtMFg17t.js → breakpoints.subject-BUhfnNwa.js} +1 -1
  193. package/dist/esm-es5/date-B_izjCbq.js +1 -0
  194. package/dist/esm-es5/index-BtpJmRB8.js +1 -1
  195. package/dist/esm-es5/index.js +1 -1
  196. package/dist/esm-es5/loader.js +1 -1
  197. package/dist/esm-es5/{window-resize.decorator-WtdUPOFx.js → window-resize.decorator-DpazCyu9.js} +1 -1
  198. package/dist/esm-es5/{window-resize.subject-B5jZTc22.js → window-resize.subject-nsxIxT5E.js} +1 -1
  199. package/dist/html.html-data.json +12 -9
  200. package/dist/types/components/bal-field/bal-field-hint/bal-field-hint.d.ts +7 -0
  201. package/dist/types/components/bal-field/bal-field-message/bal-field-message.d.ts +4 -0
  202. package/dist/types/components/bal-input/bal-input.interfaces.d.ts +1 -1
  203. package/dist/types/components/bal-number-input/bal-number-input.d.ts +5 -1
  204. package/dist/types/components/bal-number-input/bal-number-input.utils.d.ts +2 -1
  205. package/dist/types/components/bal-popup/bal-popup.d.ts +1 -0
  206. package/dist/types/components/bal-popup/variants/fullscreen-variant.renderer.d.ts +1 -1
  207. package/dist/types/components/bal-popup/variants/variant.interfaces.d.ts +1 -0
  208. package/dist/types/components.d.ts +30 -0
  209. package/package.json +6 -6
  210. package/dist/baloise-design-system/p-0afcf25d8f.entry.js +0 -1
  211. package/dist/baloise-design-system/p-0f612d8105.system.entry.js +0 -1
  212. package/dist/baloise-design-system/p-2f3ad8c189.entry.js +0 -1
  213. package/dist/baloise-design-system/p-4807818445.entry.js +0 -1
  214. package/dist/baloise-design-system/p-4bfdc5247d.entry.js +0 -1
  215. package/dist/baloise-design-system/p-4d426915e6.entry.js +0 -1
  216. package/dist/baloise-design-system/p-7cb62ca6a6.system.entry.js +0 -1
  217. package/dist/baloise-design-system/p-83ac26dc7f.entry.js +0 -1
  218. package/dist/baloise-design-system/p-86306babc7.system.entry.js +0 -1
  219. package/dist/baloise-design-system/p-88f0b18133.system.entry.js +0 -1
  220. package/dist/baloise-design-system/p-8f77305828.system.entry.js +0 -1
  221. package/dist/baloise-design-system/p-B7YifDeX.js +0 -1
  222. package/dist/baloise-design-system/p-BvXsXhJM.system.js +0 -1
  223. package/dist/baloise-design-system/p-Ch2Qwzxg.system.js +0 -1
  224. package/dist/baloise-design-system/p-Ds9xIIWo.js +0 -1
  225. package/dist/baloise-design-system/p-af26087fec.entry.js +0 -1
  226. package/dist/baloise-design-system/p-b2e5bd0a60.entry.js +0 -1
  227. package/dist/baloise-design-system/p-c72cb42e12.system.entry.js +0 -1
  228. package/dist/baloise-design-system/p-d4733ba7cd.system.entry.js +0 -1
  229. package/dist/baloise-design-system/p-d8462e585c.system.entry.js +0 -1
  230. package/dist/baloise-design-system/p-df3a2e3c86.entry.js +0 -1
  231. package/dist/baloise-design-system/p-dsS1PhhG.system.js +0 -1
  232. package/dist/baloise-design-system/p-e2c4571fb2.system.entry.js +0 -1
  233. package/dist/baloise-design-system/p-e6f77338c1.system.entry.js +0 -1
  234. package/dist/esm-es5/date-DPdjnaiY.js +0 -1
  235. /package/dist/baloise-design-system/{p-ChltR09F.js → p-Dal-cGiQ.js} +0 -0
  236. /package/dist/baloise-design-system/{p-CwtPviPa.system.js → p-meHsyXfE.system.js} +0 -0
  237. /package/dist/esm-es5/{tokens.esm-ChltR09F.js → tokens.esm-Dal-cGiQ.js} +0 -0
@@ -0,0 +1 @@
1
+ import{__assign,__extends,__rest,__spreadArray}from"tslib";import{n as useBalConfig}from"./index-BtpJmRB8.js";var LuxonError=function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}return n}(Error);var InvalidDateTimeError=function(e){__extends(n,e);function n(n){return e.call(this,"Invalid DateTime: ".concat(n.toMessage()))||this}return n}(LuxonError);var InvalidIntervalError=function(e){__extends(n,e);function n(n){return e.call(this,"Invalid Interval: ".concat(n.toMessage()))||this}return n}(LuxonError);var InvalidDurationError=function(e){__extends(n,e);function n(n){return e.call(this,"Invalid Duration: ".concat(n.toMessage()))||this}return n}(LuxonError);var ConflictingSpecificationError=function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}return n}(LuxonError);var InvalidUnitError=function(e){__extends(n,e);function n(n){return e.call(this,"Invalid unit ".concat(n))||this}return n}(LuxonError);var InvalidArgumentError=function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}return n}(LuxonError);var ZoneIsAbstractError=function(e){__extends(n,e);function n(){return e.call(this,"Zone is an abstract class")||this}return n}(LuxonError);var n="numeric",s="short",l="long";var DATE_SHORT={year:n,month:n,day:n};var DATE_MED={year:n,month:s,day:n};var DATE_MED_WITH_WEEKDAY={year:n,month:s,day:n,weekday:s};var DATE_FULL={year:n,month:l,day:n};var DATE_HUGE={year:n,month:l,day:n,weekday:l};var TIME_SIMPLE={hour:n,minute:n};var TIME_WITH_SECONDS={hour:n,minute:n,second:n};var TIME_WITH_SHORT_OFFSET={hour:n,minute:n,second:n,timeZoneName:s};var TIME_WITH_LONG_OFFSET={hour:n,minute:n,second:n,timeZoneName:l};var TIME_24_SIMPLE={hour:n,minute:n,hourCycle:"h23"};var TIME_24_WITH_SECONDS={hour:n,minute:n,second:n,hourCycle:"h23"};var TIME_24_WITH_SHORT_OFFSET={hour:n,minute:n,second:n,hourCycle:"h23",timeZoneName:s};var TIME_24_WITH_LONG_OFFSET={hour:n,minute:n,second:n,hourCycle:"h23",timeZoneName:l};var DATETIME_SHORT={year:n,month:n,day:n,hour:n,minute:n};var DATETIME_SHORT_WITH_SECONDS={year:n,month:n,day:n,hour:n,minute:n,second:n};var DATETIME_MED={year:n,month:s,day:n,hour:n,minute:n};var DATETIME_MED_WITH_SECONDS={year:n,month:s,day:n,hour:n,minute:n,second:n};var DATETIME_MED_WITH_WEEKDAY={year:n,month:s,day:n,weekday:s,hour:n,minute:n};var DATETIME_FULL={year:n,month:l,day:n,hour:n,minute:n,timeZoneName:s};var DATETIME_FULL_WITH_SECONDS={year:n,month:l,day:n,hour:n,minute:n,second:n,timeZoneName:s};var DATETIME_HUGE={year:n,month:l,day:n,weekday:l,hour:n,minute:n,timeZoneName:l};var DATETIME_HUGE_WITH_SECONDS={year:n,month:l,day:n,weekday:l,hour:n,minute:n,second:n,timeZoneName:l};var Zone=function(){function e(){}Object.defineProperty(e.prototype,"type",{get:function(){throw new ZoneIsAbstractError},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"name",{get:function(){throw new ZoneIsAbstractError},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"ianaName",{get:function(){return this.name},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isUniversal",{get:function(){throw new ZoneIsAbstractError},enumerable:false,configurable:true});e.prototype.offsetName=function(e,n){throw new ZoneIsAbstractError};e.prototype.formatOffset=function(e,n){throw new ZoneIsAbstractError};e.prototype.offset=function(e){throw new ZoneIsAbstractError};e.prototype.equals=function(e){throw new ZoneIsAbstractError};Object.defineProperty(e.prototype,"isValid",{get:function(){throw new ZoneIsAbstractError},enumerable:false,configurable:true});return e}();var singleton$1=null;var SystemZone=function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}Object.defineProperty(n,"instance",{get:function(){if(singleton$1===null){singleton$1=new n}return singleton$1},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"type",{get:function(){return"system"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{get:function(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"isUniversal",{get:function(){return false},enumerable:false,configurable:true});n.prototype.offsetName=function(e,n){var t=n.format,r=n.locale;return parseZoneInfo(e,t,r)};n.prototype.formatOffset=function(e,n){return formatOffset(this.offset(e),n)};n.prototype.offset=function(e){return-new Date(e).getTimezoneOffset()};n.prototype.equals=function(e){return e.type==="system"};Object.defineProperty(n.prototype,"isValid",{get:function(){return true},enumerable:false,configurable:true});return n}(Zone);var dtfCache={};function makeDTF(e){if(!dtfCache[e]){dtfCache[e]=new Intl.DateTimeFormat("en-US",{hour12:false,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})}return dtfCache[e]}var typeToPos={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function hackyOffset(e,n){var t=e.format(n).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(t),i=r[1],a=r[2],u=r[3],s=r[4],o=r[5],f=r[6],l=r[7];return[u,i,a,s,o,f,l]}function partsOffset(e,n){var t=e.formatToParts(n);var r=[];for(var i=0;i<t.length;i++){var a=t[i],u=a.type,s=a.value;var o=typeToPos[u];if(u==="era"){r[o]=s}else if(!isUndefined(o)){r[o]=parseInt(s,10)}}return r}var ianaZoneCache={};var IANAZone=function(e){__extends(n,e);function n(t){var r=e.call(this)||this;r.zoneName=t;r.valid=n.isValidZone(t);return r}n.create=function(e){if(!ianaZoneCache[e]){ianaZoneCache[e]=new n(e)}return ianaZoneCache[e]};n.resetCache=function(){ianaZoneCache={};dtfCache={}};n.isValidSpecifier=function(e){return this.isValidZone(e)};n.isValidZone=function(e){if(!e){return false}try{new Intl.DateTimeFormat("en-US",{timeZone:e}).format();return true}catch(e){return false}};Object.defineProperty(n.prototype,"type",{get:function(){return"iana"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{get:function(){return this.zoneName},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"isUniversal",{get:function(){return false},enumerable:false,configurable:true});n.prototype.offsetName=function(e,n){var t=n.format,r=n.locale;return parseZoneInfo(e,t,r,this.name)};n.prototype.formatOffset=function(e,n){return formatOffset(this.offset(e),n)};n.prototype.offset=function(e){var n=new Date(e);if(isNaN(n))return NaN;var t=makeDTF(this.name);var r=t.formatToParts?partsOffset(t,n):hackyOffset(t,n),i=r[0],a=r[1],u=r[2],s=r[3],o=r[4],f=r[5],l=r[6];if(s==="BC"){i=-Math.abs(i)+1}var c=o===24?0:o;var d=objToLocalTS({year:i,month:a,day:u,hour:c,minute:f,second:l,millisecond:0});var h=+n;var m=h%1e3;h-=m>=0?m:1e3+m;return(d-h)/(60*1e3)};n.prototype.equals=function(e){return e.type==="iana"&&e.name===this.name};Object.defineProperty(n.prototype,"isValid",{get:function(){return this.valid},enumerable:false,configurable:true});return n}(Zone);var intlLFCache={};function getCachedLF(e,n){if(n===void 0){n={}}var t=JSON.stringify([e,n]);var r=intlLFCache[t];if(!r){r=new Intl.ListFormat(e,n);intlLFCache[t]=r}return r}var intlDTCache={};function getCachedDTF(e,n){if(n===void 0){n={}}var t=JSON.stringify([e,n]);var r=intlDTCache[t];if(!r){r=new Intl.DateTimeFormat(e,n);intlDTCache[t]=r}return r}var intlNumCache={};function getCachedINF(e,n){if(n===void 0){n={}}var t=JSON.stringify([e,n]);var r=intlNumCache[t];if(!r){r=new Intl.NumberFormat(e,n);intlNumCache[t]=r}return r}var intlRelCache={};function getCachedRTF(e,n){if(n===void 0){n={}}var t=n.base,r=__rest(n,["base"]);var i=JSON.stringify([e,r]);var a=intlRelCache[i];if(!a){a=new Intl.RelativeTimeFormat(e,n);intlRelCache[i]=a}return a}var sysLocaleCache=null;function systemLocale(){if(sysLocaleCache){return sysLocaleCache}else{sysLocaleCache=(new Intl.DateTimeFormat).resolvedOptions().locale;return sysLocaleCache}}var weekInfoCache={};function getCachedWeekInfo(e){var n=weekInfoCache[e];if(!n){var t=new Intl.Locale(e);n="getWeekInfo"in t?t.getWeekInfo():t.weekInfo;weekInfoCache[e]=n}return n}function parseLocaleString(e){var n=e.indexOf("-x-");if(n!==-1){e=e.substring(0,n)}var t=e.indexOf("-u-");if(t===-1){return[e]}else{var r=void 0;var i=void 0;try{r=getCachedDTF(e).resolvedOptions();i=e}catch(n){var a=e.substring(0,t);r=getCachedDTF(a).resolvedOptions();i=a}var u=r.numberingSystem,s=r.calendar;return[i,u,s]}}function intlConfigString(e,n,t){if(t||n){if(!e.includes("-u-")){e+="-u"}if(t){e+="-ca-".concat(t)}if(n){e+="-nu-".concat(n)}return e}else{return e}}function mapMonths(e){var n=[];for(var t=1;t<=12;t++){var r=DateTime.utc(2009,t,1);n.push(e(r))}return n}function mapWeekdays(e){var n=[];for(var t=1;t<=7;t++){var r=DateTime.utc(2016,11,13+t);n.push(e(r))}return n}function listStuff(e,n,t,r){var i=e.listingMode();if(i==="error"){return null}else if(i==="en"){return t(n)}else{return r(n)}}function supportsFastNumbers(e){if(e.numberingSystem&&e.numberingSystem!=="latn"){return false}else{return e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem==="latn"}}var PolyNumberFormatter=function(){function e(e,n,t){this.padTo=t.padTo||0;this.floor=t.floor||false;var r=t.padTo,i=t.floor,a=__rest(t,["padTo","floor"]);if(!n||Object.keys(a).length>0){var u=__assign({useGrouping:false},t);if(t.padTo>0)u.minimumIntegerDigits=t.padTo;this.inf=getCachedINF(e,u)}}e.prototype.format=function(e){if(this.inf){var n=this.floor?Math.floor(e):e;return this.inf.format(n)}else{var n=this.floor?Math.floor(e):roundTo(e,3);return padStart(n,this.padTo)}};return e}();var PolyDateFormatter=function(){function e(e,n,t){this.opts=t;this.originalZone=undefined;var r=undefined;if(this.opts.timeZone){this.dt=e}else if(e.zone.type==="fixed"){var i=-1*(e.offset/60);var a=i>=0?"Etc/GMT+".concat(i):"Etc/GMT".concat(i);if(e.offset!==0&&IANAZone.create(a).valid){r=a;this.dt=e}else{r="UTC";this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset});this.originalZone=e.zone}}else if(e.zone.type==="system"){this.dt=e}else if(e.zone.type==="iana"){this.dt=e;r=e.zone.name}else{r="UTC";this.dt=e.setZone("UTC").plus({minutes:e.offset});this.originalZone=e.zone}var u=__assign({},this.opts);u.timeZone=u.timeZone||r;this.dtf=getCachedDTF(n,u)}e.prototype.format=function(){if(this.originalZone){return this.formatToParts().map((function(e){var n=e.value;return n})).join("")}return this.dtf.format(this.dt.toJSDate())};e.prototype.formatToParts=function(){var e=this;var n=this.dtf.formatToParts(this.dt.toJSDate());if(this.originalZone){return n.map((function(n){if(n.type==="timeZoneName"){var t=e.originalZone.offsetName(e.dt.ts,{locale:e.dt.locale,format:e.opts.timeZoneName});return __assign(__assign({},n),{value:t})}else{return n}}))}return n};e.prototype.resolvedOptions=function(){return this.dtf.resolvedOptions()};return e}();var PolyRelFormatter=function(){function e(e,n,t){this.opts=__assign({style:"long"},t);if(!n&&hasRelative()){this.rtf=getCachedRTF(e,t)}}e.prototype.format=function(e,n){if(this.rtf){return this.rtf.format(e,n)}else{return formatRelativeTime(n,e,this.opts.numeric,this.opts.style!=="long")}};e.prototype.formatToParts=function(e,n){if(this.rtf){return this.rtf.formatToParts(e,n)}else{return[]}};return e}();var fallbackWeekSettings={firstDay:1,minimalDays:4,weekend:[6,7]};var Locale=function(){function e(e,n,t,r,i){var a=parseLocaleString(e),u=a[0],s=a[1],o=a[2];this.locale=u;this.numberingSystem=n||s||null;this.outputCalendar=t||o||null;this.weekSettings=r;this.intl=intlConfigString(this.locale,this.numberingSystem,this.outputCalendar);this.weekdaysCache={format:{},standalone:{}};this.monthsCache={format:{},standalone:{}};this.meridiemCache=null;this.eraCache={};this.specifiedLocale=i;this.fastNumbersCached=null}e.fromOpts=function(n){return e.create(n.locale,n.numberingSystem,n.outputCalendar,n.weekSettings,n.defaultToEN)};e.create=function(n,t,r,i,a){if(a===void 0){a=false}var u=n||Settings.defaultLocale;var s=u||(a?"en-US":systemLocale());var o=t||Settings.defaultNumberingSystem;var f=r||Settings.defaultOutputCalendar;var l=validateWeekSettings(i)||Settings.defaultWeekSettings;return new e(s,o,f,l,u)};e.resetCache=function(){sysLocaleCache=null;intlDTCache={};intlNumCache={};intlRelCache={}};e.fromObject=function(n){var t=n===void 0?{}:n,r=t.locale,i=t.numberingSystem,a=t.outputCalendar,u=t.weekSettings;return e.create(r,i,a,u)};Object.defineProperty(e.prototype,"fastNumbers",{get:function(){if(this.fastNumbersCached==null){this.fastNumbersCached=supportsFastNumbers(this)}return this.fastNumbersCached},enumerable:false,configurable:true});e.prototype.listingMode=function(){var e=this.isEnglish();var n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&n?"en":"intl"};e.prototype.clone=function(n){if(!n||Object.getOwnPropertyNames(n).length===0){return this}else{return e.create(n.locale||this.specifiedLocale,n.numberingSystem||this.numberingSystem,n.outputCalendar||this.outputCalendar,validateWeekSettings(n.weekSettings)||this.weekSettings,n.defaultToEN||false)}};e.prototype.redefaultToEN=function(e){if(e===void 0){e={}}return this.clone(__assign(__assign({},e),{defaultToEN:true}))};e.prototype.redefaultToSystem=function(e){if(e===void 0){e={}}return this.clone(__assign(__assign({},e),{defaultToEN:false}))};e.prototype.months=function(e,n){var t=this;if(n===void 0){n=false}return listStuff(this,e,months,(function(){var r=n?{month:e,day:"numeric"}:{month:e},i=n?"format":"standalone";if(!t.monthsCache[i][e]){t.monthsCache[i][e]=mapMonths((function(e){return t.extract(e,r,"month")}))}return t.monthsCache[i][e]}))};e.prototype.weekdays=function(e,n){var t=this;if(n===void 0){n=false}return listStuff(this,e,weekdays,(function(){var r=n?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=n?"format":"standalone";if(!t.weekdaysCache[i][e]){t.weekdaysCache[i][e]=mapWeekdays((function(e){return t.extract(e,r,"weekday")}))}return t.weekdaysCache[i][e]}))};e.prototype.meridiems=function(){var e=this;return listStuff(this,undefined,(function(){return meridiems}),(function(){if(!e.meridiemCache){var n={hour:"numeric",hourCycle:"h12"};e.meridiemCache=[DateTime.utc(2016,11,13,9),DateTime.utc(2016,11,13,19)].map((function(t){return e.extract(t,n,"dayperiod")}))}return e.meridiemCache}))};e.prototype.eras=function(e){var n=this;return listStuff(this,e,eras,(function(){var t={era:e};if(!n.eraCache[e]){n.eraCache[e]=[DateTime.utc(-40,1,1),DateTime.utc(2017,1,1)].map((function(e){return n.extract(e,t,"era")}))}return n.eraCache[e]}))};e.prototype.extract=function(e,n,t){var r=this.dtFormatter(e,n),i=r.formatToParts(),a=i.find((function(e){return e.type.toLowerCase()===t}));return a?a.value:null};e.prototype.numberFormatter=function(e){if(e===void 0){e={}}return new PolyNumberFormatter(this.intl,e.forceSimple||this.fastNumbers,e)};e.prototype.dtFormatter=function(e,n){if(n===void 0){n={}}return new PolyDateFormatter(e,this.intl,n)};e.prototype.relFormatter=function(e){if(e===void 0){e={}}return new PolyRelFormatter(this.intl,this.isEnglish(),e)};e.prototype.listFormatter=function(e){if(e===void 0){e={}}return getCachedLF(this.intl,e)};e.prototype.isEnglish=function(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")};e.prototype.getWeekSettings=function(){if(this.weekSettings){return this.weekSettings}else if(!hasLocaleWeekInfo()){return fallbackWeekSettings}else{return getCachedWeekInfo(this.locale)}};e.prototype.getStartOfWeek=function(){return this.getWeekSettings().firstDay};e.prototype.getMinDaysInFirstWeek=function(){return this.getWeekSettings().minimalDays};e.prototype.getWeekendDays=function(){return this.getWeekSettings().weekend};e.prototype.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar};return e}();var singleton=null;var FixedOffsetZone=function(e){__extends(n,e);function n(n){var t=e.call(this)||this;t.fixed=n;return t}Object.defineProperty(n,"utcInstance",{get:function(){if(singleton===null){singleton=new n(0)}return singleton},enumerable:false,configurable:true});n.instance=function(e){return e===0?n.utcInstance:new n(e)};n.parseSpecifier=function(e){if(e){var t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t){return new n(signedOffset(t[1],t[2]))}}return null};Object.defineProperty(n.prototype,"type",{get:function(){return"fixed"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{get:function(){return this.fixed===0?"UTC":"UTC".concat(formatOffset(this.fixed,"narrow"))},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"ianaName",{get:function(){if(this.fixed===0){return"Etc/UTC"}else{return"Etc/GMT".concat(formatOffset(-this.fixed,"narrow"))}},enumerable:false,configurable:true});n.prototype.offsetName=function(){return this.name};n.prototype.formatOffset=function(e,n){return formatOffset(this.fixed,n)};Object.defineProperty(n.prototype,"isUniversal",{get:function(){return true},enumerable:false,configurable:true});n.prototype.offset=function(){return this.fixed};n.prototype.equals=function(e){return e.type==="fixed"&&e.fixed===this.fixed};Object.defineProperty(n.prototype,"isValid",{get:function(){return true},enumerable:false,configurable:true});return n}(Zone);var InvalidZone=function(e){__extends(n,e);function n(n){var t=e.call(this)||this;t.zoneName=n;return t}Object.defineProperty(n.prototype,"type",{get:function(){return"invalid"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{get:function(){return this.zoneName},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"isUniversal",{get:function(){return false},enumerable:false,configurable:true});n.prototype.offsetName=function(){return null};n.prototype.formatOffset=function(){return""};n.prototype.offset=function(){return NaN};n.prototype.equals=function(){return false};Object.defineProperty(n.prototype,"isValid",{get:function(){return false},enumerable:false,configurable:true});return n}(Zone);function normalizeZone(e,n){if(isUndefined(e)||e===null){return n}else if(e instanceof Zone){return e}else if(isString(e)){var t=e.toLowerCase();if(t==="default")return n;else if(t==="local"||t==="system")return SystemZone.instance;else if(t==="utc"||t==="gmt")return FixedOffsetZone.utcInstance;else return FixedOffsetZone.parseSpecifier(t)||IANAZone.create(e)}else if(isNumber(e)){return FixedOffsetZone.instance(e)}else if(typeof e==="object"&&"offset"in e&&typeof e.offset==="function"){return e}else{return new InvalidZone(e)}}var now=function(){return Date.now()},defaultZone="system",defaultLocale=null,defaultNumberingSystem=null,defaultOutputCalendar=null,twoDigitCutoffYear=60,throwOnInvalid,defaultWeekSettings=null;var Settings=function(){function e(){}Object.defineProperty(e,"now",{get:function(){return now},set:function(e){now=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultZone",{get:function(){return normalizeZone(defaultZone,SystemZone.instance)},set:function(e){defaultZone=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultLocale",{get:function(){return defaultLocale},set:function(e){defaultLocale=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultNumberingSystem",{get:function(){return defaultNumberingSystem},set:function(e){defaultNumberingSystem=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultOutputCalendar",{get:function(){return defaultOutputCalendar},set:function(e){defaultOutputCalendar=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultWeekSettings",{get:function(){return defaultWeekSettings},set:function(e){defaultWeekSettings=validateWeekSettings(e)},enumerable:false,configurable:true});Object.defineProperty(e,"twoDigitCutoffYear",{get:function(){return twoDigitCutoffYear},set:function(e){twoDigitCutoffYear=e%100},enumerable:false,configurable:true});Object.defineProperty(e,"throwOnInvalid",{get:function(){return throwOnInvalid},set:function(e){throwOnInvalid=e},enumerable:false,configurable:true});e.resetCaches=function(){Locale.resetCache();IANAZone.resetCache()};return e}();var Invalid=function(){function e(e,n){this.reason=e;this.explanation=n}e.prototype.toMessage=function(){if(this.explanation){return"".concat(this.reason,": ").concat(this.explanation)}else{return this.reason}};return e}();var nonLeapLadder=[0,31,59,90,120,151,181,212,243,273,304,334],leapLadder=[0,31,60,91,121,152,182,213,244,274,305,335];function unitOutOfRange(e,n){return new Invalid("unit out of range","you specified ".concat(n," (of type ").concat(typeof n,") as a ").concat(e,", which is invalid"))}function dayOfWeek(e,n,t){var r=new Date(Date.UTC(e,n-1,t));if(e<100&&e>=0){r.setUTCFullYear(r.getUTCFullYear()-1900)}var i=r.getUTCDay();return i===0?7:i}function computeOrdinal(e,n,t){return t+(isLeapYear(e)?leapLadder:nonLeapLadder)[n-1]}function uncomputeOrdinal(e,n){var t=isLeapYear(e)?leapLadder:nonLeapLadder,r=t.findIndex((function(e){return e<n})),i=n-t[r];return{month:r+1,day:i}}function isoWeekdayToLocal(e,n){return(e-n+7)%7+1}function gregorianToWeek(e,n,t){if(n===void 0){n=4}if(t===void 0){t=1}var r=e.year,i=e.month,a=e.day,u=computeOrdinal(r,i,a),s=isoWeekdayToLocal(dayOfWeek(r,i,a),t);var o=Math.floor((u-s+14-n)/7),f;if(o<1){f=r-1;o=weeksInWeekYear(f,n,t)}else if(o>weeksInWeekYear(r,n,t)){f=r+1;o=1}else{f=r}return __assign({weekYear:f,weekNumber:o,weekday:s},timeObject(e))}function weekToGregorian(e,n,t){if(n===void 0){n=4}if(t===void 0){t=1}var r=e.weekYear,i=e.weekNumber,a=e.weekday,u=isoWeekdayToLocal(dayOfWeek(r,1,n),t),s=daysInYear(r);var o=i*7+a-u-7+n,f;if(o<1){f=r-1;o+=daysInYear(f)}else if(o>s){f=r+1;o-=daysInYear(r)}else{f=r}var l=uncomputeOrdinal(f,o),c=l.month,d=l.day;return __assign({year:f,month:c,day:d},timeObject(e))}function gregorianToOrdinal(e){var n=e.year,t=e.month,r=e.day;var i=computeOrdinal(n,t,r);return __assign({year:n,ordinal:i},timeObject(e))}function ordinalToGregorian(e){var n=e.year,t=e.ordinal;var r=uncomputeOrdinal(n,t),i=r.month,a=r.day;return __assign({year:n,month:i,day:a},timeObject(e))}function usesLocalWeekValues(e,n){var t=!isUndefined(e.localWeekday)||!isUndefined(e.localWeekNumber)||!isUndefined(e.localWeekYear);if(t){var r=!isUndefined(e.weekday)||!isUndefined(e.weekNumber)||!isUndefined(e.weekYear);if(r){throw new ConflictingSpecificationError("Cannot mix locale-based week fields with ISO-based week fields")}if(!isUndefined(e.localWeekday))e.weekday=e.localWeekday;if(!isUndefined(e.localWeekNumber))e.weekNumber=e.localWeekNumber;if(!isUndefined(e.localWeekYear))e.weekYear=e.localWeekYear;delete e.localWeekday;delete e.localWeekNumber;delete e.localWeekYear;return{minDaysInFirstWeek:n.getMinDaysInFirstWeek(),startOfWeek:n.getStartOfWeek()}}else{return{minDaysInFirstWeek:4,startOfWeek:1}}}function hasInvalidWeekData(e,n,t){if(n===void 0){n=4}if(t===void 0){t=1}var r=isInteger(e.weekYear),i=integerBetween(e.weekNumber,1,weeksInWeekYear(e.weekYear,n,t)),a=integerBetween(e.weekday,1,7);if(!r){return unitOutOfRange("weekYear",e.weekYear)}else if(!i){return unitOutOfRange("week",e.weekNumber)}else if(!a){return unitOutOfRange("weekday",e.weekday)}else return false}function hasInvalidOrdinalData(e){var n=isInteger(e.year),t=integerBetween(e.ordinal,1,daysInYear(e.year));if(!n){return unitOutOfRange("year",e.year)}else if(!t){return unitOutOfRange("ordinal",e.ordinal)}else return false}function hasInvalidGregorianData(e){var n=isInteger(e.year),t=integerBetween(e.month,1,12),r=integerBetween(e.day,1,daysInMonth(e.year,e.month));if(!n){return unitOutOfRange("year",e.year)}else if(!t){return unitOutOfRange("month",e.month)}else if(!r){return unitOutOfRange("day",e.day)}else return false}function hasInvalidTimeData(e){var n=e.hour,t=e.minute,r=e.second,i=e.millisecond;var a=integerBetween(n,0,23)||n===24&&t===0&&r===0&&i===0,u=integerBetween(t,0,59),s=integerBetween(r,0,59),o=integerBetween(i,0,999);if(!a){return unitOutOfRange("hour",n)}else if(!u){return unitOutOfRange("minute",t)}else if(!s){return unitOutOfRange("second",r)}else if(!o){return unitOutOfRange("millisecond",i)}else return false}function isUndefined(e){return typeof e==="undefined"}function isNumber(e){return typeof e==="number"}function isInteger(e){return typeof e==="number"&&e%1===0}function isString(e){return typeof e==="string"}function isDate(e){return Object.prototype.toString.call(e)==="[object Date]"}function hasRelative(){try{return typeof Intl!=="undefined"&&!!Intl.RelativeTimeFormat}catch(e){return false}}function hasLocaleWeekInfo(){try{return typeof Intl!=="undefined"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return false}}function maybeArray(e){return Array.isArray(e)?e:[e]}function bestBy(e,n,t){if(e.length===0){return undefined}return e.reduce((function(e,r){var i=[n(r),r];if(!e){return i}else if(t(e[0],i[0])===e[0]){return e}else{return i}}),null)[1]}function pick(e,n){return n.reduce((function(n,t){n[t]=e[t];return n}),{})}function hasOwnProperty(e,n){return Object.prototype.hasOwnProperty.call(e,n)}function validateWeekSettings(e){if(e==null){return null}else if(typeof e!=="object"){throw new InvalidArgumentError("Week settings must be an object")}else{if(!integerBetween(e.firstDay,1,7)||!integerBetween(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some((function(e){return!integerBetween(e,1,7)}))){throw new InvalidArgumentError("Invalid week settings")}return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}}function integerBetween(e,n,t){return isInteger(e)&&e>=n&&e<=t}function floorMod(e,n){return e-n*Math.floor(e/n)}function padStart(e,n){if(n===void 0){n=2}var t=e<0;var r;if(t){r="-"+(""+-e).padStart(n,"0")}else{r=(""+e).padStart(n,"0")}return r}function parseInteger(e){if(isUndefined(e)||e===null||e===""){return undefined}else{return parseInt(e,10)}}function parseFloating(e){if(isUndefined(e)||e===null||e===""){return undefined}else{return parseFloat(e)}}function parseMillis(e){if(isUndefined(e)||e===null||e===""){return undefined}else{var n=parseFloat("0."+e)*1e3;return Math.floor(n)}}function roundTo(e,n,t){if(t===void 0){t=false}var r=Math.pow(10,n),i=t?Math.trunc:Math.round;return i(e*r)/r}function isLeapYear(e){return e%4===0&&(e%100!==0||e%400===0)}function daysInYear(e){return isLeapYear(e)?366:365}function daysInMonth(e,n){var t=floorMod(n-1,12)+1,r=e+(n-t)/12;if(t===2){return isLeapYear(r)?29:28}else{return[31,null,31,30,31,30,31,31,30,31,30,31][t-1]}}function objToLocalTS(e){var n=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);if(e.year<100&&e.year>=0){n=new Date(n);n.setUTCFullYear(e.year,e.month-1,e.day)}return+n}function firstWeekOffset(e,n,t){var r=isoWeekdayToLocal(dayOfWeek(e,1,n),t);return-r+n-1}function weeksInWeekYear(e,n,t){if(n===void 0){n=4}if(t===void 0){t=1}var r=firstWeekOffset(e,n,t);var i=firstWeekOffset(e+1,n,t);return(daysInYear(e)-r+i)/7}function untruncateYear(e){if(e>99){return e}else return e>Settings.twoDigitCutoffYear?1900+e:2e3+e}function parseZoneInfo(e,n,t,r){if(r===void 0){r=null}var i=new Date(e),a={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};if(r){a.timeZone=r}var u=__assign({timeZoneName:n},a);var s=new Intl.DateTimeFormat(t,u).formatToParts(i).find((function(e){return e.type.toLowerCase()==="timezonename"}));return s?s.value:null}function signedOffset(e,n){var t=parseInt(e,10);if(Number.isNaN(t)){t=0}var r=parseInt(n,10)||0,i=t<0||Object.is(t,-0)?-r:r;return t*60+i}function asNumber(e){var n=Number(e);if(typeof e==="boolean"||e===""||Number.isNaN(n))throw new InvalidArgumentError("Invalid unit value ".concat(e));return n}function normalizeObject(e,n){var t={};for(var r in e){if(hasOwnProperty(e,r)){var i=e[r];if(i===undefined||i===null)continue;t[n(r)]=asNumber(i)}}return t}function formatOffset(e,n){var t=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(n){case"short":return"".concat(i).concat(padStart(t,2),":").concat(padStart(r,2));case"narrow":return"".concat(i).concat(t).concat(r>0?":".concat(r):"");case"techie":return"".concat(i).concat(padStart(t,2)).concat(padStart(r,2));default:throw new RangeError("Value format ".concat(n," is out of range for property format"))}}function timeObject(e){return pick(e,["hour","minute","second","millisecond"])}var monthsLong=["January","February","March","April","May","June","July","August","September","October","November","December"];var monthsShort=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var monthsNarrow=["J","F","M","A","M","J","J","A","S","O","N","D"];function months(e){switch(e){case"narrow":return __spreadArray([],monthsNarrow,true);case"short":return __spreadArray([],monthsShort,true);case"long":return __spreadArray([],monthsLong,true);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}}var weekdaysLong=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"];var weekdaysShort=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];var weekdaysNarrow=["M","T","W","T","F","S","S"];function weekdays(e){switch(e){case"narrow":return __spreadArray([],weekdaysNarrow,true);case"short":return __spreadArray([],weekdaysShort,true);case"long":return __spreadArray([],weekdaysLong,true);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var meridiems=["AM","PM"];var erasLong=["Before Christ","Anno Domini"];var erasShort=["BC","AD"];var erasNarrow=["B","A"];function eras(e){switch(e){case"narrow":return __spreadArray([],erasNarrow,true);case"short":return __spreadArray([],erasShort,true);case"long":return __spreadArray([],erasLong,true);default:return null}}function meridiemForDateTime(e){return meridiems[e.hour<12?0:1]}function weekdayForDateTime(e,n){return weekdays(n)[e.weekday-1]}function monthForDateTime(e,n){return months(n)[e.month-1]}function eraForDateTime(e,n){return eras(n)[e.year<0?0:1]}function formatRelativeTime(e,n,t,r){if(t===void 0){t="always"}if(r===void 0){r=false}var i={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."]};var a=["hours","minutes","seconds"].indexOf(e)===-1;if(t==="auto"&&a){var u=e==="days";switch(n){case 1:return u?"tomorrow":"next ".concat(i[e][0]);case-1:return u?"yesterday":"last ".concat(i[e][0]);case 0:return u?"today":"this ".concat(i[e][0])}}var s=Object.is(n,-0)||n<0,o=Math.abs(n),f=o===1,l=i[e],c=r?f?l[1]:l[2]||l[1]:f?i[e][0]:e;return s?"".concat(o," ").concat(c," ago"):"in ".concat(o," ").concat(c)}function stringifyTokens(e,n){var t="";for(var r=0,i=e;r<i.length;r++){var a=i[r];if(a.literal){t+=a.val}else{t+=n(a.val)}}return t}var macroTokenToFormatOpts={D:DATE_SHORT,DD:DATE_MED,DDD:DATE_FULL,DDDD:DATE_HUGE,t:TIME_SIMPLE,tt:TIME_WITH_SECONDS,ttt:TIME_WITH_SHORT_OFFSET,tttt:TIME_WITH_LONG_OFFSET,T:TIME_24_SIMPLE,TT:TIME_24_WITH_SECONDS,TTT:TIME_24_WITH_SHORT_OFFSET,TTTT:TIME_24_WITH_LONG_OFFSET,f:DATETIME_SHORT,ff:DATETIME_MED,fff:DATETIME_FULL,ffff:DATETIME_HUGE,F:DATETIME_SHORT_WITH_SECONDS,FF:DATETIME_MED_WITH_SECONDS,FFF:DATETIME_FULL_WITH_SECONDS,FFFF:DATETIME_HUGE_WITH_SECONDS};var Formatter=function(){function e(e,n){this.opts=n;this.loc=e;this.systemLoc=null}e.create=function(n,t){if(t===void 0){t={}}return new e(n,t)};e.parseFormat=function(e){var n=null,t="",r=false;var i=[];for(var a=0;a<e.length;a++){var u=e.charAt(a);if(u==="'"){if(t.length>0){i.push({literal:r||/^\s+$/.test(t),val:t})}n=null;t="";r=!r}else if(r){t+=u}else if(u===n){t+=u}else{if(t.length>0){i.push({literal:/^\s+$/.test(t),val:t})}t=u;n=u}}if(t.length>0){i.push({literal:r||/^\s+$/.test(t),val:t})}return i};e.macroTokenToFormatOpts=function(e){return macroTokenToFormatOpts[e]};e.prototype.formatWithSystemDefault=function(e,n){if(this.systemLoc===null){this.systemLoc=this.loc.redefaultToSystem()}var t=this.systemLoc.dtFormatter(e,__assign(__assign({},this.opts),n));return t.format()};e.prototype.dtFormatter=function(e,n){if(n===void 0){n={}}return this.loc.dtFormatter(e,__assign(__assign({},this.opts),n))};e.prototype.formatDateTime=function(e,n){return this.dtFormatter(e,n).format()};e.prototype.formatDateTimeParts=function(e,n){return this.dtFormatter(e,n).formatToParts()};e.prototype.formatInterval=function(e,n){var t=this.dtFormatter(e.start,n);return t.dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())};e.prototype.resolvedOptions=function(e,n){return this.dtFormatter(e,n).resolvedOptions()};e.prototype.num=function(e,n){if(n===void 0){n=0}if(this.opts.forceSimple){return padStart(e,n)}var t=__assign({},this.opts);if(n>0){t.padTo=n}return this.loc.numberFormatter(t).format(e)};e.prototype.formatDateTimeFromString=function(n,t){var r=this;var i=this.loc.listingMode()==="en",a=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",u=function(e,t){return r.loc.extract(n,e,t)},s=function(e){if(n.isOffsetFixed&&n.offset===0&&e.allowZ){return"Z"}return n.isValid?n.zone.formatOffset(n.ts,e.format):""},o=function(){return i?meridiemForDateTime(n):u({hour:"numeric",hourCycle:"h12"},"dayperiod")},f=function(e,t){return i?monthForDateTime(n,e):u(t?{month:e}:{month:e,day:"numeric"},"month")},l=function(e,t){return i?weekdayForDateTime(n,e):u(t?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday")},c=function(t){var i=e.macroTokenToFormatOpts(t);if(i){return r.formatWithSystemDefault(n,i)}else{return t}},d=function(e){return i?eraForDateTime(n,e):u({era:e},"era")},h=function(e){switch(e){case"S":return r.num(n.millisecond);case"u":case"SSS":return r.num(n.millisecond,3);case"s":return r.num(n.second);case"ss":return r.num(n.second,2);case"uu":return r.num(Math.floor(n.millisecond/10),2);case"uuu":return r.num(Math.floor(n.millisecond/100));case"m":return r.num(n.minute);case"mm":return r.num(n.minute,2);case"h":return r.num(n.hour%12===0?12:n.hour%12);case"hh":return r.num(n.hour%12===0?12:n.hour%12,2);case"H":return r.num(n.hour);case"HH":return r.num(n.hour,2);case"Z":return s({format:"narrow",allowZ:r.opts.allowZ});case"ZZ":return s({format:"short",allowZ:r.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:r.opts.allowZ});case"ZZZZ":return n.zone.offsetName(n.ts,{format:"short",locale:r.loc.locale});case"ZZZZZ":return n.zone.offsetName(n.ts,{format:"long",locale:r.loc.locale});case"z":return n.zoneName;case"a":return o();case"d":return a?u({day:"numeric"},"day"):r.num(n.day);case"dd":return a?u({day:"2-digit"},"day"):r.num(n.day,2);case"c":return r.num(n.weekday);case"ccc":return l("short",true);case"cccc":return l("long",true);case"ccccc":return l("narrow",true);case"E":return r.num(n.weekday);case"EEE":return l("short",false);case"EEEE":return l("long",false);case"EEEEE":return l("narrow",false);case"L":return a?u({month:"numeric",day:"numeric"},"month"):r.num(n.month);case"LL":return a?u({month:"2-digit",day:"numeric"},"month"):r.num(n.month,2);case"LLL":return f("short",true);case"LLLL":return f("long",true);case"LLLLL":return f("narrow",true);case"M":return a?u({month:"numeric"},"month"):r.num(n.month);case"MM":return a?u({month:"2-digit"},"month"):r.num(n.month,2);case"MMM":return f("short",false);case"MMMM":return f("long",false);case"MMMMM":return f("narrow",false);case"y":return a?u({year:"numeric"},"year"):r.num(n.year);case"yy":return a?u({year:"2-digit"},"year"):r.num(n.year.toString().slice(-2),2);case"yyyy":return a?u({year:"numeric"},"year"):r.num(n.year,4);case"yyyyyy":return a?u({year:"numeric"},"year"):r.num(n.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return r.num(n.weekYear.toString().slice(-2),2);case"kkkk":return r.num(n.weekYear,4);case"W":return r.num(n.weekNumber);case"WW":return r.num(n.weekNumber,2);case"n":return r.num(n.localWeekNumber);case"nn":return r.num(n.localWeekNumber,2);case"ii":return r.num(n.localWeekYear.toString().slice(-2),2);case"iiii":return r.num(n.localWeekYear,4);case"o":return r.num(n.ordinal);case"ooo":return r.num(n.ordinal,3);case"q":return r.num(n.quarter);case"qq":return r.num(n.quarter,2);case"X":return r.num(Math.floor(n.ts/1e3));case"x":return r.num(n.ts);default:return c(e)}};return stringifyTokens(e.parseFormat(t),h)};e.prototype.formatDurationFromString=function(n,t){var r=this;var i=function(e){switch(e[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}},a=function(e){return function(n){var t=i(n);if(t){return r.num(e.get(t),n.length)}else{return n}}},u=e.parseFormat(t),s=u.reduce((function(e,n){var t=n.literal,r=n.val;return t?e:e.concat(r)}),[]),o=n.shiftTo.apply(n,s.map(i).filter((function(e){return e})));return stringifyTokens(u,a(o))};return e}();var ianaRegex=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function combineRegexes(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}var t=e.reduce((function(e,n){return e+n.source}),"");return RegExp("^".concat(t,"$"))}function combineExtractors(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}return function(n){return e.reduce((function(e,t){var r=e[0],i=e[1],a=e[2];var u=t(n,a),s=u[0],o=u[1],f=u[2];return[__assign(__assign({},r),s),o||i,f]}),[{},null,1]).slice(0,2)}}function parse(e){var n=[];for(var t=1;t<arguments.length;t++){n[t-1]=arguments[t]}if(e==null){return[null,null]}for(var r=0,i=n;r<i.length;r++){var a=i[r],u=a[0],s=a[1];var o=u.exec(e);if(o){return s(o)}}return[null,null]}function simpleParse(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}return function(n,t){var r={};var i;for(i=0;i<e.length;i++){r[e[i]]=parseInteger(n[t+i])}return[r,null,t+i]}}var offsetRegex=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/;var isoExtendedZone="(?:".concat(offsetRegex.source,"?(?:\\[(").concat(ianaRegex.source,")\\])?)?");var isoTimeBaseRegex=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/;var isoTimeRegex=RegExp("".concat(isoTimeBaseRegex.source).concat(isoExtendedZone));var isoTimeExtensionRegex=RegExp("(?:T".concat(isoTimeRegex.source,")?"));var isoYmdRegex=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/;var isoWeekRegex=/(\d{4})-?W(\d\d)(?:-?(\d))?/;var isoOrdinalRegex=/(\d{4})-?(\d{3})/;var extractISOWeekData=simpleParse("weekYear","weekNumber","weekDay");var extractISOOrdinalData=simpleParse("year","ordinal");var sqlYmdRegex=/(\d{4})-(\d\d)-(\d\d)/;var sqlTimeRegex=RegExp("".concat(isoTimeBaseRegex.source," ?(?:").concat(offsetRegex.source,"|(").concat(ianaRegex.source,"))?"));var sqlTimeExtensionRegex=RegExp("(?: ".concat(sqlTimeRegex.source,")?"));function int(e,n,t){var r=e[n];return isUndefined(r)?t:parseInteger(r)}function extractISOYmd(e,n){var t={year:int(e,n),month:int(e,n+1,1),day:int(e,n+2,1)};return[t,null,n+3]}function extractISOTime(e,n){var t={hours:int(e,n,0),minutes:int(e,n+1,0),seconds:int(e,n+2,0),milliseconds:parseMillis(e[n+3])};return[t,null,n+4]}function extractISOOffset(e,n){var t=!e[n]&&!e[n+1],r=signedOffset(e[n+1],e[n+2]),i=t?null:FixedOffsetZone.instance(r);return[{},i,n+3]}function extractIANAZone(e,n){var t=e[n]?IANAZone.create(e[n]):null;return[{},t,n+1]}var isoTimeOnly=RegExp("^T?".concat(isoTimeBaseRegex.source,"$"));var isoDuration=/^-?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 extractISODuration(e){var n=e[0],t=e[1],r=e[2],i=e[3],a=e[4],u=e[5],s=e[6],o=e[7],f=e[8];var l=n[0]==="-";var c=o&&o[0]==="-";var d=function(e,n){if(n===void 0){n=false}return e!==undefined&&(n||e&&l)?-e:e};return[{years:d(parseFloating(t)),months:d(parseFloating(r)),weeks:d(parseFloating(i)),days:d(parseFloating(a)),hours:d(parseFloating(u)),minutes:d(parseFloating(s)),seconds:d(parseFloating(o),o==="-0"),milliseconds:d(parseMillis(f),c)}]}var obsOffsets={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function fromStrings(e,n,t,r,i,a,u){var s={year:n.length===2?untruncateYear(parseInteger(n)):parseInteger(n),month:monthsShort.indexOf(t)+1,day:parseInteger(r),hour:parseInteger(i),minute:parseInteger(a)};if(u)s.second=parseInteger(u);if(e){s.weekday=e.length>3?weekdaysLong.indexOf(e)+1:weekdaysShort.indexOf(e)+1}return s}var rfc2822=/^(?:(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 extractRFC2822(e){var n=e[1],t=e[2],r=e[3],i=e[4],a=e[5],u=e[6],s=e[7],o=e[8],f=e[9],l=e[10],c=e[11],d=fromStrings(n,i,r,t,a,u,s);var h;if(o){h=obsOffsets[o]}else if(f){h=0}else{h=signedOffset(l,c)}return[d,new FixedOffsetZone(h)]}function preprocessRFC2822(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var rfc1123=/^(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$/,rfc850=/^(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$/,ascii=/^(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 extractRFC1123Or850(e){var n=e[1],t=e[2],r=e[3],i=e[4],a=e[5],u=e[6],s=e[7],o=fromStrings(n,i,r,t,a,u,s);return[o,FixedOffsetZone.utcInstance]}function extractASCII(e){var n=e[1],t=e[2],r=e[3],i=e[4],a=e[5],u=e[6],s=e[7],o=fromStrings(n,s,t,r,i,a,u);return[o,FixedOffsetZone.utcInstance]}var isoYmdWithTimeExtensionRegex=combineRegexes(isoYmdRegex,isoTimeExtensionRegex);var isoWeekWithTimeExtensionRegex=combineRegexes(isoWeekRegex,isoTimeExtensionRegex);var isoOrdinalWithTimeExtensionRegex=combineRegexes(isoOrdinalRegex,isoTimeExtensionRegex);var isoTimeCombinedRegex=combineRegexes(isoTimeRegex);var extractISOYmdTimeAndOffset=combineExtractors(extractISOYmd,extractISOTime,extractISOOffset,extractIANAZone);var extractISOWeekTimeAndOffset=combineExtractors(extractISOWeekData,extractISOTime,extractISOOffset,extractIANAZone);var extractISOOrdinalDateAndTime=combineExtractors(extractISOOrdinalData,extractISOTime,extractISOOffset,extractIANAZone);var extractISOTimeAndOffset=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseISODate(e){return parse(e,[isoYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[isoWeekWithTimeExtensionRegex,extractISOWeekTimeAndOffset],[isoOrdinalWithTimeExtensionRegex,extractISOOrdinalDateAndTime],[isoTimeCombinedRegex,extractISOTimeAndOffset])}function parseRFC2822Date(e){return parse(preprocessRFC2822(e),[rfc2822,extractRFC2822])}function parseHTTPDate(e){return parse(e,[rfc1123,extractRFC1123Or850],[rfc850,extractRFC1123Or850],[ascii,extractASCII])}function parseISODuration(e){return parse(e,[isoDuration,extractISODuration])}var extractISOTimeOnly=combineExtractors(extractISOTime);function parseISOTimeOnly(e){return parse(e,[isoTimeOnly,extractISOTimeOnly])}var sqlYmdWithTimeExtensionRegex=combineRegexes(sqlYmdRegex,sqlTimeExtensionRegex);var sqlTimeCombinedRegex=combineRegexes(sqlTimeRegex);var extractISOTimeOffsetAndIANAZone=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseSQL(e){return parse(e,[sqlYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[sqlTimeCombinedRegex,extractISOTimeOffsetAndIANAZone])}var INVALID$2="Invalid Duration";var lowOrderMatrix={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},casualMatrix=__assign({years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3}},lowOrderMatrix),daysInYearAccurate=146097/400,daysInMonthAccurate=146097/4800,accurateMatrix=__assign({years:{quarters:4,months:12,weeks:daysInYearAccurate/7,days:daysInYearAccurate,hours:daysInYearAccurate*24,minutes:daysInYearAccurate*24*60,seconds:daysInYearAccurate*24*60*60,milliseconds:daysInYearAccurate*24*60*60*1e3},quarters:{months:3,weeks:daysInYearAccurate/28,days:daysInYearAccurate/4,hours:daysInYearAccurate*24/4,minutes:daysInYearAccurate*24*60/4,seconds:daysInYearAccurate*24*60*60/4,milliseconds:daysInYearAccurate*24*60*60*1e3/4},months:{weeks:daysInMonthAccurate/7,days:daysInMonthAccurate,hours:daysInMonthAccurate*24,minutes:daysInMonthAccurate*24*60,seconds:daysInMonthAccurate*24*60*60,milliseconds:daysInMonthAccurate*24*60*60*1e3}},lowOrderMatrix);var orderedUnits$1=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"];var reverseUnits=orderedUnits$1.slice(0).reverse();function clone$1(e,n,t){if(t===void 0){t=false}var r={values:t?n.values:__assign(__assign({},e.values),n.values||{}),loc:e.loc.clone(n.loc),conversionAccuracy:n.conversionAccuracy||e.conversionAccuracy,matrix:n.matrix||e.matrix};return new Duration(r)}function durationToMillis(e,n){var t;var r=(t=n.milliseconds)!==null&&t!==void 0?t:0;for(var i=0,a=reverseUnits.slice(1);i<a.length;i++){var u=a[i];if(n[u]){r+=n[u]*e[u]["milliseconds"]}}return r}function normalizeValues(e,n){var t=durationToMillis(e,n)<0?-1:1;orderedUnits$1.reduceRight((function(r,i){if(!isUndefined(n[i])){if(r){var a=n[r]*t;var u=e[i][r];var s=Math.floor(a/u);n[i]+=s*t;n[r]-=s*u*t}return i}else{return r}}),null);orderedUnits$1.reduce((function(t,r){if(!isUndefined(n[r])){if(t){var i=n[t]%1;n[t]-=i;n[r]+=i*e[t][r]}return r}else{return t}}),null)}function removeZeroes(e){var n={};for(var t=0,r=Object.entries(e);t<r.length;t++){var i=r[t],a=i[0],u=i[1];if(u!==0){n[a]=u}}return n}var Duration=function(){function e(e){var n=e.conversionAccuracy==="longterm"||false;var t=n?accurateMatrix:casualMatrix;if(e.matrix){t=e.matrix}this.values=e.values;this.loc=e.loc||Locale.create();this.conversionAccuracy=n?"longterm":"casual";this.invalid=e.invalid||null;this.matrix=t;this.isLuxonDuration=true}e.fromMillis=function(n,t){return e.fromObject({milliseconds:n},t)};e.fromObject=function(n,t){if(t===void 0){t={}}if(n==null||typeof n!=="object"){throw new InvalidArgumentError("Duration.fromObject: argument expected to be an object, got ".concat(n===null?"null":typeof n))}return new e({values:normalizeObject(n,e.normalizeUnit),loc:Locale.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})};e.fromDurationLike=function(n){if(isNumber(n)){return e.fromMillis(n)}else if(e.isDuration(n)){return n}else if(typeof n==="object"){return e.fromObject(n)}else{throw new InvalidArgumentError("Unknown duration argument ".concat(n," of type ").concat(typeof n))}};e.fromISO=function(n,t){var r=parseISODuration(n)[0];if(r){return e.fromObject(r,t)}else{return e.invalid("unparsable",'the input "'.concat(n,"\" can't be parsed as ISO 8601"))}};e.fromISOTime=function(n,t){var r=parseISOTimeOnly(n)[0];if(r){return e.fromObject(r,t)}else{return e.invalid("unparsable",'the input "'.concat(n,"\" can't be parsed as ISO 8601"))}};e.invalid=function(n,t){if(t===void 0){t=null}if(!n){throw new InvalidArgumentError("need to specify a reason the Duration is invalid")}var r=n instanceof Invalid?n:new Invalid(n,t);if(Settings.throwOnInvalid){throw new InvalidDurationError(r)}else{return new e({invalid:r})}};e.normalizeUnit=function(e){var n={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"}[e?e.toLowerCase():e];if(!n)throw new InvalidUnitError(e);return n};e.isDuration=function(e){return e&&e.isLuxonDuration||false};Object.defineProperty(e.prototype,"locale",{get:function(){return this.isValid?this.loc.locale:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"numberingSystem",{get:function(){return this.isValid?this.loc.numberingSystem:null},enumerable:false,configurable:true});e.prototype.toFormat=function(e,n){if(n===void 0){n={}}var t=__assign(__assign({},n),{floor:n.round!==false&&n.floor!==false});return this.isValid?Formatter.create(this.loc,t).formatDurationFromString(this,e):INVALID$2};e.prototype.toHuman=function(e){var n=this;if(e===void 0){e={}}if(!this.isValid)return INVALID$2;var t=orderedUnits$1.map((function(t){var r=n.values[t];if(isUndefined(r)){return null}return n.loc.numberFormatter(__assign(__assign({style:"unit",unitDisplay:"long"},e),{unit:t.slice(0,-1)})).format(r)})).filter((function(e){return e}));return this.loc.listFormatter(__assign({type:"conjunction",style:e.listStyle||"narrow"},e)).format(t)};e.prototype.toObject=function(){if(!this.isValid)return{};return __assign({},this.values)};e.prototype.toISO=function(){if(!this.isValid)return null;var e="P";if(this.years!==0)e+=this.years+"Y";if(this.months!==0||this.quarters!==0)e+=this.months+this.quarters*3+"M";if(this.weeks!==0)e+=this.weeks+"W";if(this.days!==0)e+=this.days+"D";if(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)e+="T";if(this.hours!==0)e+=this.hours+"H";if(this.minutes!==0)e+=this.minutes+"M";if(this.seconds!==0||this.milliseconds!==0)e+=roundTo(this.seconds+this.milliseconds/1e3,3)+"S";if(e==="P")e+="T0S";return e};e.prototype.toISOTime=function(e){if(e===void 0){e={}}if(!this.isValid)return null;var n=this.toMillis();if(n<0||n>=864e5)return null;e=__assign(__assign({suppressMilliseconds:false,suppressSeconds:false,includePrefix:false,format:"extended"},e),{includeOffset:false});var t=DateTime.fromMillis(n,{zone:"UTC"});return t.toISOTime(e)};e.prototype.toJSON=function(){return this.toISO()};e.prototype.toString=function(){return this.toISO()};e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){if(this.isValid){return"Duration { values: ".concat(JSON.stringify(this.values)," }")}else{return"Duration { Invalid, reason: ".concat(this.invalidReason," }")}};e.prototype.toMillis=function(){if(!this.isValid)return NaN;return durationToMillis(this.matrix,this.values)};e.prototype.valueOf=function(){return this.toMillis()};e.prototype.plus=function(n){if(!this.isValid)return this;var t=e.fromDurationLike(n),r={};for(var i=0,a=orderedUnits$1;i<a.length;i++){var u=a[i];if(hasOwnProperty(t.values,u)||hasOwnProperty(this.values,u)){r[u]=t.get(u)+this.get(u)}}return clone$1(this,{values:r},true)};e.prototype.minus=function(n){if(!this.isValid)return this;var t=e.fromDurationLike(n);return this.plus(t.negate())};e.prototype.mapUnits=function(e){if(!this.isValid)return this;var n={};for(var t=0,r=Object.keys(this.values);t<r.length;t++){var i=r[t];n[i]=asNumber(e(this.values[i],i))}return clone$1(this,{values:n},true)};e.prototype.get=function(n){return this[e.normalizeUnit(n)]};e.prototype.set=function(n){if(!this.isValid)return this;var t=__assign(__assign({},this.values),normalizeObject(n,e.normalizeUnit));return clone$1(this,{values:t})};e.prototype.reconfigure=function(e){var n=e===void 0?{}:e,t=n.locale,r=n.numberingSystem,i=n.conversionAccuracy,a=n.matrix;var u=this.loc.clone({locale:t,numberingSystem:r});var s={loc:u,matrix:a,conversionAccuracy:i};return clone$1(this,s)};e.prototype.as=function(e){return this.isValid?this.shiftTo(e).get(e):NaN};e.prototype.normalize=function(){if(!this.isValid)return this;var e=this.toObject();normalizeValues(this.matrix,e);return clone$1(this,{values:e},true)};e.prototype.rescale=function(){if(!this.isValid)return this;var e=removeZeroes(this.normalize().shiftToAll().toObject());return clone$1(this,{values:e},true)};e.prototype.shiftTo=function(){var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}if(!this.isValid)return this;if(n.length===0){return this}n=n.map((function(n){return e.normalizeUnit(n)}));var r={},i={},a=this.toObject();var u;for(var s=0,o=orderedUnits$1;s<o.length;s++){var f=o[s];if(n.indexOf(f)>=0){u=f;var l=0;for(var c in i){l+=this.matrix[c][f]*i[c];i[c]=0}if(isNumber(a[f])){l+=a[f]}var d=Math.trunc(l);r[f]=d;i[f]=(l*1e3-d*1e3)/1e3}else if(isNumber(a[f])){i[f]=a[f]}}for(var h in i){if(i[h]!==0){r[u]+=h===u?i[h]:i[h]/this.matrix[u][h]}}normalizeValues(this.matrix,r);return clone$1(this,{values:r},true)};e.prototype.shiftToAll=function(){if(!this.isValid)return this;return this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds")};e.prototype.negate=function(){if(!this.isValid)return this;var e={};for(var n=0,t=Object.keys(this.values);n<t.length;n++){var r=t[n];e[r]=this.values[r]===0?0:-this.values[r]}return clone$1(this,{values:e},true)};Object.defineProperty(e.prototype,"years",{get:function(){return this.isValid?this.values.years||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"quarters",{get:function(){return this.isValid?this.values.quarters||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"months",{get:function(){return this.isValid?this.values.months||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weeks",{get:function(){return this.isValid?this.values.weeks||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"days",{get:function(){return this.isValid?this.values.days||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hours",{get:function(){return this.isValid?this.values.hours||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"minutes",{get:function(){return this.isValid?this.values.minutes||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"seconds",{get:function(){return this.isValid?this.values.seconds||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"milliseconds",{get:function(){return this.isValid?this.values.milliseconds||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isValid",{get:function(){return this.invalid===null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{get:function(){return this.invalid?this.invalid.reason:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidExplanation",{get:function(){return this.invalid?this.invalid.explanation:null},enumerable:false,configurable:true});e.prototype.equals=function(e){if(!this.isValid||!e.isValid){return false}if(!this.loc.equals(e.loc)){return false}function n(e,n){if(e===undefined||e===0)return n===undefined||n===0;return e===n}for(var t=0,r=orderedUnits$1;t<r.length;t++){var i=r[t];if(!n(this.values[i],e.values[i])){return false}}return true};return e}();var INVALID$1="Invalid Interval";function validateStartEnd(e,n){if(!e||!e.isValid){return Interval.invalid("missing or invalid start")}else if(!n||!n.isValid){return Interval.invalid("missing or invalid end")}else if(n<e){return Interval.invalid("end before start","The end of an interval must be after its start, but you had start=".concat(e.toISO()," and end=").concat(n.toISO()))}else{return null}}var Interval=function(){function e(e){this.s=e.start;this.e=e.end;this.invalid=e.invalid||null;this.isLuxonInterval=true}e.invalid=function(n,t){if(t===void 0){t=null}if(!n){throw new InvalidArgumentError("need to specify a reason the Interval is invalid")}var r=n instanceof Invalid?n:new Invalid(n,t);if(Settings.throwOnInvalid){throw new InvalidIntervalError(r)}else{return new e({invalid:r})}};e.fromDateTimes=function(n,t){var r=friendlyDateTime(n),i=friendlyDateTime(t);var a=validateStartEnd(r,i);if(a==null){return new e({start:r,end:i})}else{return a}};e.after=function(n,t){var r=Duration.fromDurationLike(t),i=friendlyDateTime(n);return e.fromDateTimes(i,i.plus(r))};e.before=function(n,t){var r=Duration.fromDurationLike(t),i=friendlyDateTime(n);return e.fromDateTimes(i.minus(r),i)};e.fromISO=function(n,t){var r=(n||"").split("/",2),i=r[0],a=r[1];if(i&&a){var u=void 0,s=void 0;try{u=DateTime.fromISO(i,t);s=u.isValid}catch(a){s=false}var o=void 0,f=void 0;try{o=DateTime.fromISO(a,t);f=o.isValid}catch(a){f=false}if(s&&f){return e.fromDateTimes(u,o)}if(s){var l=Duration.fromISO(a,t);if(l.isValid){return e.after(u,l)}}else if(f){var l=Duration.fromISO(i,t);if(l.isValid){return e.before(o,l)}}}return e.invalid("unparsable",'the input "'.concat(n,"\" can't be parsed as ISO 8601"))};e.isInterval=function(e){return e&&e.isLuxonInterval||false};Object.defineProperty(e.prototype,"start",{get:function(){return this.isValid?this.s:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"end",{get:function(){return this.isValid?this.e:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isValid",{get:function(){return this.invalidReason===null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{get:function(){return this.invalid?this.invalid.reason:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidExplanation",{get:function(){return this.invalid?this.invalid.explanation:null},enumerable:false,configurable:true});e.prototype.length=function(e){if(e===void 0){e="milliseconds"}return this.isValid?this.toDuration.apply(this,[e]).get(e):NaN};e.prototype.count=function(e,n){if(e===void 0){e="milliseconds"}if(!this.isValid)return NaN;var t=this.start.startOf(e,n);var r;if(n===null||n===void 0?void 0:n.useLocaleWeeks){r=this.end.reconfigure({locale:t.locale})}else{r=this.end}r=r.startOf(e,n);return Math.floor(r.diff(t,e).get(e))+(r.valueOf()!==this.end.valueOf())};e.prototype.hasSame=function(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):false};e.prototype.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()};e.prototype.isAfter=function(e){if(!this.isValid)return false;return this.s>e};e.prototype.isBefore=function(e){if(!this.isValid)return false;return this.e<=e};e.prototype.contains=function(e){if(!this.isValid)return false;return this.s<=e&&this.e>e};e.prototype.set=function(n){var t=n===void 0?{}:n,r=t.start,i=t.end;if(!this.isValid)return this;return e.fromDateTimes(r||this.s,i||this.e)};e.prototype.splitAt=function(){var n=this;var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}if(!this.isValid)return[];var i=t.map(friendlyDateTime).filter((function(e){return n.contains(e)})).sort((function(e,n){return e.toMillis()-n.toMillis()})),a=[];var u=this.s,s=0;while(u<this.e){var o=i[s]||this.e,f=+o>+this.e?this.e:o;a.push(e.fromDateTimes(u,f));u=f;s+=1}return a};e.prototype.splitBy=function(n){var t=Duration.fromDurationLike(n);if(!this.isValid||!t.isValid||t.as("milliseconds")===0){return[]}var r=this.s,i=1,a;var u=[];while(r<this.e){var s=this.start.plus(t.mapUnits((function(e){return e*i})));a=+s>+this.e?this.e:s;u.push(e.fromDateTimes(r,a));r=a;i+=1}return u};e.prototype.divideEqually=function(e){if(!this.isValid)return[];return this.splitBy(this.length()/e).slice(0,e)};e.prototype.overlaps=function(e){return this.e>e.s&&this.s<e.e};e.prototype.abutsStart=function(e){if(!this.isValid)return false;return+this.e===+e.s};e.prototype.abutsEnd=function(e){if(!this.isValid)return false;return+e.e===+this.s};e.prototype.engulfs=function(e){if(!this.isValid)return false;return this.s<=e.s&&this.e>=e.e};e.prototype.equals=function(e){if(!this.isValid||!e.isValid){return false}return this.s.equals(e.s)&&this.e.equals(e.e)};e.prototype.intersection=function(n){if(!this.isValid)return this;var t=this.s>n.s?this.s:n.s,r=this.e<n.e?this.e:n.e;if(t>=r){return null}else{return e.fromDateTimes(t,r)}};e.prototype.union=function(n){if(!this.isValid)return this;var t=this.s<n.s?this.s:n.s,r=this.e>n.e?this.e:n.e;return e.fromDateTimes(t,r)};e.merge=function(e){var n=e.sort((function(e,n){return e.s-n.s})).reduce((function(e,n){var t=e[0],r=e[1];if(!r){return[t,n]}else if(r.overlaps(n)||r.abutsStart(n)){return[t,r.union(n)]}else{return[t.concat([r]),n]}}),[[],null]),t=n[0],r=n[1];if(r){t.push(r)}return t};e.xor=function(n){var t;var r=null,i=0;var a=[],u=n.map((function(e){return[{time:e.s,type:"s"},{time:e.e,type:"e"}]})),s=(t=Array.prototype).concat.apply(t,u),o=s.sort((function(e,n){return e.time-n.time}));for(var f=0,l=o;f<l.length;f++){var c=l[f];i+=c.type==="s"?1:-1;if(i===1){r=c.time}else{if(r&&+r!==+c.time){a.push(e.fromDateTimes(r,c.time))}r=null}}return e.merge(a)};e.prototype.difference=function(){var n=this;var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}return e.xor([this].concat(t)).map((function(e){return n.intersection(e)})).filter((function(e){return e&&!e.isEmpty()}))};e.prototype.toString=function(){if(!this.isValid)return INVALID$1;return"[".concat(this.s.toISO()," – ").concat(this.e.toISO(),")")};e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){if(this.isValid){return"Interval { start: ".concat(this.s.toISO(),", end: ").concat(this.e.toISO()," }")}else{return"Interval { Invalid, reason: ".concat(this.invalidReason," }")}};e.prototype.toLocaleString=function(e,n){if(e===void 0){e=DATE_SHORT}if(n===void 0){n={}}return this.isValid?Formatter.create(this.s.loc.clone(n),e).formatInterval(this):INVALID$1};e.prototype.toISO=function(e){if(!this.isValid)return INVALID$1;return"".concat(this.s.toISO(e),"/").concat(this.e.toISO(e))};e.prototype.toISODate=function(){if(!this.isValid)return INVALID$1;return"".concat(this.s.toISODate(),"/").concat(this.e.toISODate())};e.prototype.toISOTime=function(e){if(!this.isValid)return INVALID$1;return"".concat(this.s.toISOTime(e),"/").concat(this.e.toISOTime(e))};e.prototype.toFormat=function(e,n){var t=n===void 0?{}:n,r=t.separator,i=r===void 0?" – ":r;if(!this.isValid)return INVALID$1;return"".concat(this.s.toFormat(e)).concat(i).concat(this.e.toFormat(e))};e.prototype.toDuration=function(e,n){if(!this.isValid){return Duration.invalid(this.invalidReason)}return this.e.diff(this.s,e,n)};e.prototype.mapEndpoints=function(n){return e.fromDateTimes(n(this.s),n(this.e))};return e}();var Info=function(){function e(){}e.hasDST=function(e){if(e===void 0){e=Settings.defaultZone}var n=DateTime.now().setZone(e).set({month:12});return!e.isUniversal&&n.offset!==n.set({month:6}).offset};e.isValidIANAZone=function(e){return IANAZone.isValidZone(e)};e.normalizeZone=function(e){return normalizeZone(e,Settings.defaultZone)};e.getStartOfWeek=function(e){var n=e===void 0?{}:e,t=n.locale,r=t===void 0?null:t,i=n.locObj,a=i===void 0?null:i;return(a||Locale.create(r)).getStartOfWeek()};e.getMinimumDaysInFirstWeek=function(e){var n=e===void 0?{}:e,t=n.locale,r=t===void 0?null:t,i=n.locObj,a=i===void 0?null:i;return(a||Locale.create(r)).getMinDaysInFirstWeek()};e.getWeekendWeekdays=function(e){var n=e===void 0?{}:e,t=n.locale,r=t===void 0?null:t,i=n.locObj,a=i===void 0?null:i;return(a||Locale.create(r)).getWeekendDays().slice()};e.months=function(e,n){if(e===void 0){e="long"}var t=n===void 0?{}:n,r=t.locale,i=r===void 0?null:r,a=t.numberingSystem,u=a===void 0?null:a,s=t.locObj,o=s===void 0?null:s,f=t.outputCalendar,l=f===void 0?"gregory":f;return(o||Locale.create(i,u,l)).months(e)};e.monthsFormat=function(e,n){if(e===void 0){e="long"}var t=n===void 0?{}:n,r=t.locale,i=r===void 0?null:r,a=t.numberingSystem,u=a===void 0?null:a,s=t.locObj,o=s===void 0?null:s,f=t.outputCalendar,l=f===void 0?"gregory":f;return(o||Locale.create(i,u,l)).months(e,true)};e.weekdays=function(e,n){if(e===void 0){e="long"}var t=n===void 0?{}:n,r=t.locale,i=r===void 0?null:r,a=t.numberingSystem,u=a===void 0?null:a,s=t.locObj,o=s===void 0?null:s;return(o||Locale.create(i,u,null)).weekdays(e)};e.weekdaysFormat=function(e,n){if(e===void 0){e="long"}var t=n===void 0?{}:n,r=t.locale,i=r===void 0?null:r,a=t.numberingSystem,u=a===void 0?null:a,s=t.locObj,o=s===void 0?null:s;return(o||Locale.create(i,u,null)).weekdays(e,true)};e.meridiems=function(e){var n=e===void 0?{}:e,t=n.locale,r=t===void 0?null:t;return Locale.create(r).meridiems()};e.eras=function(e,n){if(e===void 0){e="short"}var t=n===void 0?{}:n,r=t.locale,i=r===void 0?null:r;return Locale.create(i,null,"gregory").eras(e)};e.features=function(){return{relative:hasRelative(),localeWeek:hasLocaleWeekInfo()}};return e}();function dayDiff(e,n){var t=function(e){return e.toUTC(0,{keepLocalTime:true}).startOf("day").valueOf()},r=t(n)-t(e);return Math.floor(Duration.fromMillis(r).as("days"))}function highOrderDiffs(e,n,t){var r=[["years",function(e,n){return n.year-e.year}],["quarters",function(e,n){return n.quarter-e.quarter+(n.year-e.year)*4}],["months",function(e,n){return n.month-e.month+(n.year-e.year)*12}],["weeks",function(e,n){var t=dayDiff(e,n);return(t-t%7)/7}],["days",dayDiff]];var i={};var a=e;var u,s;for(var o=0,f=r;o<f.length;o++){var l=f[o],c=l[0],d=l[1];if(t.indexOf(c)>=0){u=c;i[c]=d(e,n);s=a.plus(i);if(s>n){i[c]--;e=a.plus(i);if(e>n){s=e;i[c]--;e=a.plus(i)}}else{e=s}}}return[e,i,s,u]}function diff(e,n,t,r){var i,a;var u=highOrderDiffs(e,n,t),s=u[0],o=u[1],f=u[2],l=u[3];var c=n-s;var d=t.filter((function(e){return["hours","minutes","seconds","milliseconds"].indexOf(e)>=0}));if(d.length===0){if(f<n){f=s.plus((i={},i[l]=1,i))}if(f!==s){o[l]=(o[l]||0)+c/(f-s)}}var h=Duration.fromObject(o,r);if(d.length>0){return(a=Duration.fromMillis(c,r)).shiftTo.apply(a,d).plus(h)}else{return h}}var numberingSystems={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"};var numberingSystemsUTF16={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]};var hanidecChars=numberingSystems.hanidec.replace(/[\[|\]]/g,"").split("");function parseDigits(e){var n=parseInt(e,10);if(isNaN(n)){n="";for(var t=0;t<e.length;t++){var r=e.charCodeAt(t);if(e[t].search(numberingSystems.hanidec)!==-1){n+=hanidecChars.indexOf(e[t])}else{for(var i in numberingSystemsUTF16){var a=numberingSystemsUTF16[i],u=a[0],s=a[1];if(r>=u&&r<=s){n+=r-u}}}}return parseInt(n,10)}else{return n}}function digitRegex(e,n){var t=e.numberingSystem;if(n===void 0){n=""}return new RegExp("".concat(numberingSystems[t||"latn"]).concat(n))}var MISSING_FTP="missing Intl.DateTimeFormat.formatToParts support";function intUnit(e,n){if(n===void 0){n=function(e){return e}}return{regex:e,deser:function(e){var t=e[0];return n(parseDigits(t))}}}var NBSP=String.fromCharCode(160);var spaceOrNBSP="[ ".concat(NBSP,"]");var spaceOrNBSPRegExp=new RegExp(spaceOrNBSP,"g");function fixListRegex(e){return e.replace(/\./g,"\\.?").replace(spaceOrNBSPRegExp,spaceOrNBSP)}function stripInsensitivities(e){return e.replace(/\./g,"").replace(spaceOrNBSPRegExp," ").toLowerCase()}function oneOf(e,n){if(e===null){return null}else{return{regex:RegExp(e.map(fixListRegex).join("|")),deser:function(t){var r=t[0];return e.findIndex((function(e){return stripInsensitivities(r)===stripInsensitivities(e)}))+n}}}}function offset(e,n){return{regex:e,deser:function(e){var n=e[1],t=e[2];return signedOffset(n,t)},groups:n}}function simple(e){return{regex:e,deser:function(e){var n=e[0];return n}}}function escapeToken(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function unitForToken(e,n){var t=digitRegex(n),r=digitRegex(n,"{2}"),i=digitRegex(n,"{3}"),a=digitRegex(n,"{4}"),u=digitRegex(n,"{6}"),s=digitRegex(n,"{1,2}"),o=digitRegex(n,"{1,3}"),f=digitRegex(n,"{1,6}"),l=digitRegex(n,"{1,9}"),c=digitRegex(n,"{2,4}"),d=digitRegex(n,"{4,6}"),h=function(e){return{regex:RegExp(escapeToken(e.val)),deser:function(e){var n=e[0];return n},literal:true}},m=function(m){if(e.literal){return h(m)}switch(m.val){case"G":return oneOf(n.eras("short"),0);case"GG":return oneOf(n.eras("long"),0);case"y":return intUnit(f);case"yy":return intUnit(c,untruncateYear);case"yyyy":return intUnit(a);case"yyyyy":return intUnit(d);case"yyyyyy":return intUnit(u);case"M":return intUnit(s);case"MM":return intUnit(r);case"MMM":return oneOf(n.months("short",true),1);case"MMMM":return oneOf(n.months("long",true),1);case"L":return intUnit(s);case"LL":return intUnit(r);case"LLL":return oneOf(n.months("short",false),1);case"LLLL":return oneOf(n.months("long",false),1);case"d":return intUnit(s);case"dd":return intUnit(r);case"o":return intUnit(o);case"ooo":return intUnit(i);case"HH":return intUnit(r);case"H":return intUnit(s);case"hh":return intUnit(r);case"h":return intUnit(s);case"mm":return intUnit(r);case"m":return intUnit(s);case"q":return intUnit(s);case"qq":return intUnit(r);case"s":return intUnit(s);case"ss":return intUnit(r);case"S":return intUnit(o);case"SSS":return intUnit(i);case"u":return simple(l);case"uu":return simple(s);case"uuu":return intUnit(t);case"a":return oneOf(n.meridiems(),0);case"kkkk":return intUnit(a);case"kk":return intUnit(c,untruncateYear);case"W":return intUnit(s);case"WW":return intUnit(r);case"E":case"c":return intUnit(t);case"EEE":return oneOf(n.weekdays("short",false),1);case"EEEE":return oneOf(n.weekdays("long",false),1);case"ccc":return oneOf(n.weekdays("short",true),1);case"cccc":return oneOf(n.weekdays("long",true),1);case"Z":case"ZZ":return offset(new RegExp("([+-]".concat(s.source,")(?::(").concat(r.source,"))?")),2);case"ZZZ":return offset(new RegExp("([+-]".concat(s.source,")(").concat(r.source,")?")),2);case"z":return simple(/[a-z_+-/]{1,256}?/i);case" ":return simple(/[^\S\n\r]/);default:return h(m)}};var v=m(e)||{invalidReason:MISSING_FTP};v.token=e;return v}var partTypeStyleToTokenVal={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"}};function tokenForPart(e,n,t){var r=e.type,i=e.value;if(r==="literal"){var a=/^\s+$/.test(i);return{literal:!a,val:a?" ":i}}var u=n[r];var s=r;if(r==="hour"){if(n.hour12!=null){s=n.hour12?"hour12":"hour24"}else if(n.hourCycle!=null){if(n.hourCycle==="h11"||n.hourCycle==="h12"){s="hour12"}else{s="hour24"}}else{s=t.hour12?"hour12":"hour24"}}var o=partTypeStyleToTokenVal[s];if(typeof o==="object"){o=o[u]}if(o){return{literal:false,val:o}}return undefined}function buildRegex(e){var n=e.map((function(e){return e.regex})).reduce((function(e,n){return"".concat(e,"(").concat(n.source,")")}),"");return["^".concat(n,"$"),e]}function match(e,n,t){var r=e.match(n);if(r){var i={};var a=1;for(var u in t){if(hasOwnProperty(t,u)){var s=t[u],o=s.groups?s.groups+1:1;if(!s.literal&&s.token){i[s.token.val[0]]=s.deser(r.slice(a,a+o))}a+=o}}return[r,i]}else{return[r,{}]}}function dateTimeFromMatches(e){var n=function(e){switch(e){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}};var t=null;var r;if(!isUndefined(e.z)){t=IANAZone.create(e.z)}if(!isUndefined(e.Z)){if(!t){t=new FixedOffsetZone(e.Z)}r=e.Z}if(!isUndefined(e.q)){e.M=(e.q-1)*3+1}if(!isUndefined(e.h)){if(e.h<12&&e.a===1){e.h+=12}else if(e.h===12&&e.a===0){e.h=0}}if(e.G===0&&e.y){e.y=-e.y}if(!isUndefined(e.u)){e.S=parseMillis(e.u)}var i=Object.keys(e).reduce((function(t,r){var i=n(r);if(i){t[i]=e[r]}return t}),{});return[i,t,r]}var dummyDateTimeCache=null;function getDummyDateTime(){if(!dummyDateTimeCache){dummyDateTimeCache=DateTime.fromMillis(1555555555555)}return dummyDateTimeCache}function maybeExpandMacroToken(e,n){if(e.literal){return e}var t=Formatter.macroTokenToFormatOpts(e.val);var r=formatOptsToTokens(t,n);if(r==null||r.includes(undefined)){return e}return r}function expandMacroTokens(e,n){var t;return(t=Array.prototype).concat.apply(t,e.map((function(e){return maybeExpandMacroToken(e,n)})))}function explainFromTokens(e,n,t){var r=expandMacroTokens(Formatter.parseFormat(t),e),i=r.map((function(n){return unitForToken(n,e)})),a=i.find((function(e){return e.invalidReason}));if(a){return{input:n,tokens:r,invalidReason:a.invalidReason}}else{var u=buildRegex(i),s=u[0],o=u[1],f=RegExp(s,"i"),l=match(n,f,o),c=l[0],d=l[1],h=d?dateTimeFromMatches(d):[null,null,undefined],m=h[0],v=h[1],g=h[2];if(hasOwnProperty(d,"a")&&hasOwnProperty(d,"H")){throw new ConflictingSpecificationError("Can't include meridiem when specifying 24-hour format")}return{input:n,tokens:r,regex:f,rawMatches:c,matches:d,result:m,zone:v,specificOffset:g}}}function parseFromTokens(e,n,t){var r=explainFromTokens(e,n,t),i=r.result,a=r.zone,u=r.specificOffset,s=r.invalidReason;return[i,a,u,s]}function formatOptsToTokens(e,n){if(!e){return null}var t=Formatter.create(n,e);var r=t.dtFormatter(getDummyDateTime());var i=r.formatToParts();var a=r.resolvedOptions();return i.map((function(n){return tokenForPart(n,e,a)}))}var INVALID="Invalid DateTime";var MAX_DATE=864e13;function unsupportedZone(e){return new Invalid("unsupported zone",'the zone "'.concat(e.name,'" is not supported'))}function possiblyCachedWeekData(e){if(e.weekData===null){e.weekData=gregorianToWeek(e.c)}return e.weekData}function possiblyCachedLocalWeekData(e){if(e.localWeekData===null){e.localWeekData=gregorianToWeek(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())}return e.localWeekData}function clone(e,n){var t={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new DateTime(__assign(__assign(__assign({},t),n),{old:t}))}function fixOffset(e,n,t){var r=e-n*60*1e3;var i=t.offset(r);if(n===i){return[r,n]}r-=(i-n)*60*1e3;var a=t.offset(r);if(i===a){return[r,i]}return[e-Math.min(i,a)*60*1e3,Math.max(i,a)]}function tsToObj(e,n){e+=n*60*1e3;var t=new Date(e);return{year:t.getUTCFullYear(),month:t.getUTCMonth()+1,day:t.getUTCDate(),hour:t.getUTCHours(),minute:t.getUTCMinutes(),second:t.getUTCSeconds(),millisecond:t.getUTCMilliseconds()}}function objToTS(e,n,t){return fixOffset(objToLocalTS(e),n,t)}function adjustTime(e,n){var t=e.o,r=e.c.year+Math.trunc(n.years),i=e.c.month+Math.trunc(n.months)+Math.trunc(n.quarters)*3,a=__assign(__assign({},e.c),{year:r,month:i,day:Math.min(e.c.day,daysInMonth(r,i))+Math.trunc(n.days)+Math.trunc(n.weeks)*7}),u=Duration.fromObject({years:n.years-Math.trunc(n.years),quarters:n.quarters-Math.trunc(n.quarters),months:n.months-Math.trunc(n.months),weeks:n.weeks-Math.trunc(n.weeks),days:n.days-Math.trunc(n.days),hours:n.hours,minutes:n.minutes,seconds:n.seconds,milliseconds:n.milliseconds}).as("milliseconds"),s=objToLocalTS(a);var o=fixOffset(s,t,e.zone),f=o[0],l=o[1];if(u!==0){f+=u;l=e.zone.offset(f)}return{ts:f,o:l}}function parseDataToDateTime(e,n,t,r,i,a){var u=t.setZone,s=t.zone;if(e&&Object.keys(e).length!==0||n){var o=n||s,f=DateTime.fromObject(e,__assign(__assign({},t),{zone:o,specificOffset:a}));return u?f:f.setZone(s)}else{return DateTime.invalid(new Invalid("unparsable",'the input "'.concat(i,"\" can't be parsed as ").concat(r)))}}function toTechFormat(e,n,t){if(t===void 0){t=true}return e.isValid?Formatter.create(Locale.create("en-US"),{allowZ:t,forceSimple:true}).formatDateTimeFromString(e,n):null}function toISODate(e,n){var t=e.c.year>9999||e.c.year<0;var r="";if(t&&e.c.year>=0)r+="+";r+=padStart(e.c.year,t?6:4);if(n){r+="-";r+=padStart(e.c.month);r+="-";r+=padStart(e.c.day)}else{r+=padStart(e.c.month);r+=padStart(e.c.day)}return r}function toISOTime(e,n,t,r,i,a){var u=padStart(e.c.hour);if(n){u+=":";u+=padStart(e.c.minute);if(e.c.millisecond!==0||e.c.second!==0||!t){u+=":"}}else{u+=padStart(e.c.minute)}if(e.c.millisecond!==0||e.c.second!==0||!t){u+=padStart(e.c.second);if(e.c.millisecond!==0||!r){u+=".";u+=padStart(e.c.millisecond,3)}}if(i){if(e.isOffsetFixed&&e.offset===0&&!a){u+="Z"}else if(e.o<0){u+="-";u+=padStart(Math.trunc(-e.o/60));u+=":";u+=padStart(Math.trunc(-e.o%60))}else{u+="+";u+=padStart(Math.trunc(e.o/60));u+=":";u+=padStart(Math.trunc(e.o%60))}}if(a){u+="["+e.zone.ianaName+"]"}return u}var defaultUnitValues={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},defaultWeekUnitValues={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},defaultOrdinalUnitValues={ordinal:1,hour:0,minute:0,second:0,millisecond:0};var orderedUnits=["year","month","day","hour","minute","second","millisecond"],orderedWeekUnits=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],orderedOrdinalUnits=["year","ordinal","hour","minute","second","millisecond"];function normalizeUnit(e){var n={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"}[e.toLowerCase()];if(!n)throw new InvalidUnitError(e);return n}function normalizeUnitWithLocalWeeks(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return normalizeUnit(e)}}function quickDT(e,n){var t;var r=normalizeZone(n.zone,Settings.defaultZone),i=Locale.fromObject(n),a=Settings.now();var u,s;if(!isUndefined(e.year)){for(var o=0,f=orderedUnits;o<f.length;o++){var l=f[o];if(isUndefined(e[l])){e[l]=defaultUnitValues[l]}}var c=hasInvalidGregorianData(e)||hasInvalidTimeData(e);if(c){return DateTime.invalid(c)}var d=r.offset(a);t=objToTS(e,d,r),u=t[0],s=t[1]}else{u=a}return new DateTime({ts:u,zone:r,loc:i,o:s})}function diffRelative(e,n,t){var r=isUndefined(t.round)?true:t.round,i=function(e,i){e=roundTo(e,r||t.calendary?0:2,true);var a=n.loc.clone(t).relFormatter(t);return a.format(e,i)},a=function(r){if(t.calendary){if(!n.hasSame(e,r)){return n.startOf(r).diff(e.startOf(r),r).get(r)}else return 0}else{return n.diff(e,r).get(r)}};if(t.unit){return i(a(t.unit),t.unit)}for(var u=0,s=t.units;u<s.length;u++){var o=s[u];var f=a(o);if(Math.abs(f)>=1){return i(f,o)}}return i(e>n?-0:0,t.units[t.units.length-1])}function lastOpts(e){var n={},t;if(e.length>0&&typeof e[e.length-1]==="object"){n=e[e.length-1];t=Array.from(e).slice(0,e.length-1)}else{t=Array.from(e)}return[n,t]}var DateTime=function(){function e(e){var n;var t=e.zone||Settings.defaultZone;var r=e.invalid||(Number.isNaN(e.ts)?new Invalid("invalid input"):null)||(!t.isValid?unsupportedZone(t):null);this.ts=isUndefined(e.ts)?Settings.now():e.ts;var i=null,a=null;if(!r){var u=e.old&&e.old.ts===this.ts&&e.old.zone.equals(t);if(u){n=[e.old.c,e.old.o],i=n[0],a=n[1]}else{var s=t.offset(this.ts);i=tsToObj(this.ts,s);r=Number.isNaN(i.year)?new Invalid("invalid input"):null;i=r?null:i;a=r?null:s}}this._zone=t;this.loc=e.loc||Locale.create();this.invalid=r;this.weekData=null;this.localWeekData=null;this.c=i;this.o=a;this.isLuxonDateTime=true}e.now=function(){return new e({})};e.local=function(){var e=lastOpts(arguments),n=e[0],t=e[1],r=t[0],i=t[1],a=t[2],u=t[3],s=t[4],o=t[5],f=t[6];return quickDT({year:r,month:i,day:a,hour:u,minute:s,second:o,millisecond:f},n)};e.utc=function(){var e=lastOpts(arguments),n=e[0],t=e[1],r=t[0],i=t[1],a=t[2],u=t[3],s=t[4],o=t[5],f=t[6];n.zone=FixedOffsetZone.utcInstance;return quickDT({year:r,month:i,day:a,hour:u,minute:s,second:o,millisecond:f},n)};e.fromJSDate=function(n,t){if(t===void 0){t={}}var r=isDate(n)?n.valueOf():NaN;if(Number.isNaN(r)){return e.invalid("invalid input")}var i=normalizeZone(t.zone,Settings.defaultZone);if(!i.isValid){return e.invalid(unsupportedZone(i))}return new e({ts:r,zone:i,loc:Locale.fromObject(t)})};e.fromMillis=function(n,t){if(t===void 0){t={}}if(!isNumber(n)){throw new InvalidArgumentError("fromMillis requires a numerical input, but received a ".concat(typeof n," with value ").concat(n))}else if(n<-864e13||n>MAX_DATE){return e.invalid("Timestamp out of range")}else{return new e({ts:n,zone:normalizeZone(t.zone,Settings.defaultZone),loc:Locale.fromObject(t)})}};e.fromSeconds=function(n,t){if(t===void 0){t={}}if(!isNumber(n)){throw new InvalidArgumentError("fromSeconds requires a numerical input")}else{return new e({ts:n*1e3,zone:normalizeZone(t.zone,Settings.defaultZone),loc:Locale.fromObject(t)})}};e.fromObject=function(n,t){if(t===void 0){t={}}n=n||{};var r=normalizeZone(t.zone,Settings.defaultZone);if(!r.isValid){return e.invalid(unsupportedZone(r))}var i=Locale.fromObject(t);var a=normalizeObject(n,normalizeUnitWithLocalWeeks);var u=usesLocalWeekValues(a,i),s=u.minDaysInFirstWeek,o=u.startOfWeek;var f=Settings.now(),l=!isUndefined(t.specificOffset)?t.specificOffset:r.offset(f),c=!isUndefined(a.ordinal),d=!isUndefined(a.year),h=!isUndefined(a.month)||!isUndefined(a.day),m=d||h,v=a.weekYear||a.weekNumber;if((m||c)&&v){throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals")}if(h&&c){throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day")}var g=v||a.weekday&&!m;var b,y,T=tsToObj(f,l);if(g){b=orderedWeekUnits;y=defaultWeekUnitValues;T=gregorianToWeek(T,s,o)}else if(c){b=orderedOrdinalUnits;y=defaultOrdinalUnitValues;T=gregorianToOrdinal(T)}else{b=orderedUnits;y=defaultUnitValues}var O=false;for(var I=0,E=b;I<E.length;I++){var _=E[I];var S=a[_];if(!isUndefined(S)){O=true}else if(O){a[_]=y[_]}else{a[_]=T[_]}}var D=g?hasInvalidWeekData(a,s,o):c?hasInvalidOrdinalData(a):hasInvalidGregorianData(a),w=D||hasInvalidTimeData(a);if(w){return e.invalid(w)}var p=g?weekToGregorian(a,s,o):c?ordinalToGregorian(a):a,k=objToTS(p,l,r),M=k[0],x=k[1],N=new e({ts:M,zone:r,o:x,loc:i});if(a.weekday&&m&&n.weekday!==N.weekday){return e.invalid("mismatched weekday","you can't specify both a weekday of ".concat(a.weekday," and a date of ").concat(N.toISO()))}return N};e.fromISO=function(e,n){if(n===void 0){n={}}var t=parseISODate(e),r=t[0],i=t[1];return parseDataToDateTime(r,i,n,"ISO 8601",e)};e.fromRFC2822=function(e,n){if(n===void 0){n={}}var t=parseRFC2822Date(e),r=t[0],i=t[1];return parseDataToDateTime(r,i,n,"RFC 2822",e)};e.fromHTTP=function(e,n){if(n===void 0){n={}}var t=parseHTTPDate(e),r=t[0],i=t[1];return parseDataToDateTime(r,i,n,"HTTP",n)};e.fromFormat=function(n,t,r){if(r===void 0){r={}}if(isUndefined(n)||isUndefined(t)){throw new InvalidArgumentError("fromFormat requires an input string and a format")}var i=r.locale,a=i===void 0?null:i,u=r.numberingSystem,s=u===void 0?null:u,o=Locale.fromOpts({locale:a,numberingSystem:s,defaultToEN:true}),f=parseFromTokens(o,n,t),l=f[0],c=f[1],d=f[2],h=f[3];if(h){return e.invalid(h)}else{return parseDataToDateTime(l,c,r,"format ".concat(t),n,d)}};e.fromString=function(n,t,r){if(r===void 0){r={}}return e.fromFormat(n,t,r)};e.fromSQL=function(e,n){if(n===void 0){n={}}var t=parseSQL(e),r=t[0],i=t[1];return parseDataToDateTime(r,i,n,"SQL",e)};e.invalid=function(n,t){if(t===void 0){t=null}if(!n){throw new InvalidArgumentError("need to specify a reason the DateTime is invalid")}var r=n instanceof Invalid?n:new Invalid(n,t);if(Settings.throwOnInvalid){throw new InvalidDateTimeError(r)}else{return new e({invalid:r})}};e.isDateTime=function(e){return e&&e.isLuxonDateTime||false};e.parseFormatForOpts=function(e,n){if(n===void 0){n={}}var t=formatOptsToTokens(e,Locale.fromObject(n));return!t?null:t.map((function(e){return e?e.val:null})).join("")};e.expandFormat=function(e,n){if(n===void 0){n={}}var t=expandMacroTokens(Formatter.parseFormat(e),Locale.fromObject(n));return t.map((function(e){return e.val})).join("")};e.prototype.get=function(e){return this[e]};Object.defineProperty(e.prototype,"isValid",{get:function(){return this.invalid===null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{get:function(){return this.invalid?this.invalid.reason:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidExplanation",{get:function(){return this.invalid?this.invalid.explanation:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"locale",{get:function(){return this.isValid?this.loc.locale:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"numberingSystem",{get:function(){return this.isValid?this.loc.numberingSystem:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"outputCalendar",{get:function(){return this.isValid?this.loc.outputCalendar:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"zone",{get:function(){return this._zone},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"zoneName",{get:function(){return this.isValid?this.zone.name:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"year",{get:function(){return this.isValid?this.c.year:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"quarter",{get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"month",{get:function(){return this.isValid?this.c.month:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"day",{get:function(){return this.isValid?this.c.day:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hour",{get:function(){return this.isValid?this.c.hour:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"minute",{get:function(){return this.isValid?this.c.minute:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"second",{get:function(){return this.isValid?this.c.second:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"millisecond",{get:function(){return this.isValid?this.c.millisecond:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekYear",{get:function(){return this.isValid?possiblyCachedWeekData(this).weekYear:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekNumber",{get:function(){return this.isValid?possiblyCachedWeekData(this).weekNumber:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekday",{get:function(){return this.isValid?possiblyCachedWeekData(this).weekday:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isWeekend",{get:function(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"localWeekday",{get:function(){return this.isValid?possiblyCachedLocalWeekData(this).weekday:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"localWeekNumber",{get:function(){return this.isValid?possiblyCachedLocalWeekData(this).weekNumber:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"localWeekYear",{get:function(){return this.isValid?possiblyCachedLocalWeekData(this).weekYear:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"ordinal",{get:function(){return this.isValid?gregorianToOrdinal(this.c).ordinal:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"monthShort",{get:function(){return this.isValid?Info.months("short",{locObj:this.loc})[this.month-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"monthLong",{get:function(){return this.isValid?Info.months("long",{locObj:this.loc})[this.month-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekdayShort",{get:function(){return this.isValid?Info.weekdays("short",{locObj:this.loc})[this.weekday-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekdayLong",{get:function(){return this.isValid?Info.weekdays("long",{locObj:this.loc})[this.weekday-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"offset",{get:function(){return this.isValid?+this.o:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"offsetNameShort",{get:function(){if(this.isValid){return this.zone.offsetName(this.ts,{format:"short",locale:this.locale})}else{return null}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"offsetNameLong",{get:function(){if(this.isValid){return this.zone.offsetName(this.ts,{format:"long",locale:this.locale})}else{return null}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isOffsetFixed",{get:function(){return this.isValid?this.zone.isUniversal:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isInDST",{get:function(){if(this.isOffsetFixed){return false}else{return this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}},enumerable:false,configurable:true});e.prototype.getPossibleOffsets=function(){if(!this.isValid||this.isOffsetFixed){return[this]}var e=864e5;var n=6e4;var t=objToLocalTS(this.c);var r=this.zone.offset(t-e);var i=this.zone.offset(t+e);var a=this.zone.offset(t-r*n);var u=this.zone.offset(t-i*n);if(a===u){return[this]}var s=t-a*n;var o=t-u*n;var f=tsToObj(s,a);var l=tsToObj(o,u);if(f.hour===l.hour&&f.minute===l.minute&&f.second===l.second&&f.millisecond===l.millisecond){return[clone(this,{ts:s}),clone(this,{ts:o})]}return[this]};Object.defineProperty(e.prototype,"isInLeapYear",{get:function(){return isLeapYear(this.year)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"daysInMonth",{get:function(){return daysInMonth(this.year,this.month)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"daysInYear",{get:function(){return this.isValid?daysInYear(this.year):NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weeksInWeekYear",{get:function(){return this.isValid?weeksInWeekYear(this.weekYear):NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weeksInLocalWeekYear",{get:function(){return this.isValid?weeksInWeekYear(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN},enumerable:false,configurable:true});e.prototype.resolvedLocaleOptions=function(e){if(e===void 0){e={}}var n=Formatter.create(this.loc.clone(e),e).resolvedOptions(this),t=n.locale,r=n.numberingSystem,i=n.calendar;return{locale:t,numberingSystem:r,outputCalendar:i}};e.prototype.toUTC=function(e,n){if(e===void 0){e=0}if(n===void 0){n={}}return this.setZone(FixedOffsetZone.instance(e),n)};e.prototype.toLocal=function(){return this.setZone(Settings.defaultZone)};e.prototype.setZone=function(n,t){var r=t===void 0?{}:t,i=r.keepLocalTime,a=i===void 0?false:i,u=r.keepCalendarTime,s=u===void 0?false:u;n=normalizeZone(n,Settings.defaultZone);if(n.equals(this.zone)){return this}else if(!n.isValid){return e.invalid(unsupportedZone(n))}else{var o=this.ts;if(a||s){var f=n.offset(this.ts);var l=this.toObject();o=objToTS(l,f,n)[0]}return clone(this,{ts:o,zone:n})}};e.prototype.reconfigure=function(e){var n=e===void 0?{}:e,t=n.locale,r=n.numberingSystem,i=n.outputCalendar;var a=this.loc.clone({locale:t,numberingSystem:r,outputCalendar:i});return clone(this,{loc:a})};e.prototype.setLocale=function(e){return this.reconfigure({locale:e})};e.prototype.set=function(e){if(!this.isValid)return this;var n=normalizeObject(e,normalizeUnitWithLocalWeeks);var t=usesLocalWeekValues(n,this.loc),r=t.minDaysInFirstWeek,i=t.startOfWeek;var a=!isUndefined(n.weekYear)||!isUndefined(n.weekNumber)||!isUndefined(n.weekday),u=!isUndefined(n.ordinal),s=!isUndefined(n.year),o=!isUndefined(n.month)||!isUndefined(n.day),f=s||o,l=n.weekYear||n.weekNumber;if((f||u)&&l){throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals")}if(o&&u){throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day")}var c;if(a){c=weekToGregorian(__assign(__assign({},gregorianToWeek(this.c,r,i)),n),r,i)}else if(!isUndefined(n.ordinal)){c=ordinalToGregorian(__assign(__assign({},gregorianToOrdinal(this.c)),n))}else{c=__assign(__assign({},this.toObject()),n);if(isUndefined(n.day)){c.day=Math.min(daysInMonth(c.year,c.month),c.day)}}var d=objToTS(c,this.o,this.zone),h=d[0],m=d[1];return clone(this,{ts:h,o:m})};e.prototype.plus=function(e){if(!this.isValid)return this;var n=Duration.fromDurationLike(e);return clone(this,adjustTime(this,n))};e.prototype.minus=function(e){if(!this.isValid)return this;var n=Duration.fromDurationLike(e).negate();return clone(this,adjustTime(this,n))};e.prototype.startOf=function(e,n){var t=n===void 0?{}:n,r=t.useLocaleWeeks,i=r===void 0?false:r;if(!this.isValid)return this;var a={},u=Duration.normalizeUnit(e);switch(u){case"years":a.month=1;case"quarters":case"months":a.day=1;case"weeks":case"days":a.hour=0;case"hours":a.minute=0;case"minutes":a.second=0;case"seconds":a.millisecond=0;break}if(u==="weeks"){if(i){var s=this.loc.getStartOfWeek();var o=this.weekday;if(o<s){a.weekNumber=this.weekNumber-1}a.weekday=s}else{a.weekday=1}}if(u==="quarters"){var f=Math.ceil(this.month/3);a.month=(f-1)*3+1}return this.set(a)};e.prototype.endOf=function(e,n){var t;return this.isValid?this.plus((t={},t[e]=1,t)).startOf(e,n).minus(1):this};e.prototype.toFormat=function(e,n){if(n===void 0){n={}}return this.isValid?Formatter.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,e):INVALID};e.prototype.toLocaleString=function(e,n){if(e===void 0){e=DATE_SHORT}if(n===void 0){n={}}return this.isValid?Formatter.create(this.loc.clone(n),e).formatDateTime(this):INVALID};e.prototype.toLocaleParts=function(e){if(e===void 0){e={}}return this.isValid?Formatter.create(this.loc.clone(e),e).formatDateTimeParts(this):[]};e.prototype.toISO=function(e){var n=e===void 0?{}:e,t=n.format,r=t===void 0?"extended":t,i=n.suppressSeconds,a=i===void 0?false:i,u=n.suppressMilliseconds,s=u===void 0?false:u,o=n.includeOffset,f=o===void 0?true:o,l=n.extendedZone,c=l===void 0?false:l;if(!this.isValid){return null}var d=r==="extended";var h=toISODate(this,d);h+="T";h+=toISOTime(this,d,a,s,f,c);return h};e.prototype.toISODate=function(e){var n=e===void 0?{}:e,t=n.format,r=t===void 0?"extended":t;if(!this.isValid){return null}return toISODate(this,r==="extended")};e.prototype.toISOWeekDate=function(){return toTechFormat(this,"kkkk-'W'WW-c")};e.prototype.toISOTime=function(e){var n=e===void 0?{}:e,t=n.suppressMilliseconds,r=t===void 0?false:t,i=n.suppressSeconds,a=i===void 0?false:i,u=n.includeOffset,s=u===void 0?true:u,o=n.includePrefix,f=o===void 0?false:o,l=n.extendedZone,c=l===void 0?false:l,d=n.format,h=d===void 0?"extended":d;if(!this.isValid){return null}var m=f?"T":"";return m+toISOTime(this,h==="extended",a,r,s,c)};e.prototype.toRFC2822=function(){return toTechFormat(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",false)};e.prototype.toHTTP=function(){return toTechFormat(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")};e.prototype.toSQLDate=function(){if(!this.isValid){return null}return toISODate(this,true)};e.prototype.toSQLTime=function(e){var n=e===void 0?{}:e,t=n.includeOffset,r=t===void 0?true:t,i=n.includeZone,a=i===void 0?false:i,u=n.includeOffsetSpace,s=u===void 0?true:u;var o="HH:mm:ss.SSS";if(a||r){if(s){o+=" "}if(a){o+="z"}else if(r){o+="ZZ"}}return toTechFormat(this,o,true)};e.prototype.toSQL=function(e){if(e===void 0){e={}}if(!this.isValid){return null}return"".concat(this.toSQLDate()," ").concat(this.toSQLTime(e))};e.prototype.toString=function(){return this.isValid?this.toISO():INVALID};e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){if(this.isValid){return"DateTime { ts: ".concat(this.toISO(),", zone: ").concat(this.zone.name,", locale: ").concat(this.locale," }")}else{return"DateTime { Invalid, reason: ".concat(this.invalidReason," }")}};e.prototype.valueOf=function(){return this.toMillis()};e.prototype.toMillis=function(){return this.isValid?this.ts:NaN};e.prototype.toSeconds=function(){return this.isValid?this.ts/1e3:NaN};e.prototype.toUnixInteger=function(){return this.isValid?Math.floor(this.ts/1e3):NaN};e.prototype.toJSON=function(){return this.toISO()};e.prototype.toBSON=function(){return this.toJSDate()};e.prototype.toObject=function(e){if(e===void 0){e={}}if(!this.isValid)return{};var n=__assign({},this.c);if(e.includeConfig){n.outputCalendar=this.outputCalendar;n.numberingSystem=this.loc.numberingSystem;n.locale=this.loc.locale}return n};e.prototype.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)};e.prototype.diff=function(e,n,t){if(n===void 0){n="milliseconds"}if(t===void 0){t={}}if(!this.isValid||!e.isValid){return Duration.invalid("created by diffing an invalid DateTime")}var r=__assign({locale:this.locale,numberingSystem:this.numberingSystem},t);var i=maybeArray(n).map(Duration.normalizeUnit),a=e.valueOf()>this.valueOf(),u=a?this:e,s=a?e:this,o=diff(u,s,i,r);return a?o.negate():o};e.prototype.diffNow=function(n,t){if(n===void 0){n="milliseconds"}if(t===void 0){t={}}return this.diff(e.now(),n,t)};e.prototype.until=function(e){return this.isValid?Interval.fromDateTimes(this,e):this};e.prototype.hasSame=function(e,n,t){if(!this.isValid)return false;var r=e.valueOf();var i=this.setZone(e.zone,{keepLocalTime:true});return i.startOf(n,t)<=r&&r<=i.endOf(n,t)};e.prototype.equals=function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)};e.prototype.toRelative=function(n){if(n===void 0){n={}}if(!this.isValid)return null;var t=n.base||e.fromObject({},{zone:this.zone}),r=n.padding?this<t?-n.padding:n.padding:0;var i=["years","months","days","hours","minutes","seconds"];var a=n.unit;if(Array.isArray(n.unit)){i=n.unit;a=undefined}return diffRelative(t,this.plus(r),__assign(__assign({},n),{numeric:"always",units:i,unit:a}))};e.prototype.toRelativeCalendar=function(n){if(n===void 0){n={}}if(!this.isValid)return null;return diffRelative(n.base||e.fromObject({},{zone:this.zone}),this,__assign(__assign({},n),{numeric:"auto",units:["years","months","days"],calendary:true}))};e.min=function(){var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}if(!n.every(e.isDateTime)){throw new InvalidArgumentError("min requires all arguments be DateTimes")}return bestBy(n,(function(e){return e.valueOf()}),Math.min)};e.max=function(){var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}if(!n.every(e.isDateTime)){throw new InvalidArgumentError("max requires all arguments be DateTimes")}return bestBy(n,(function(e){return e.valueOf()}),Math.max)};e.fromFormatExplain=function(e,n,t){if(t===void 0){t={}}var r=t.locale,i=r===void 0?null:r,a=t.numberingSystem,u=a===void 0?null:a,s=Locale.fromOpts({locale:i,numberingSystem:u,defaultToEN:true});return explainFromTokens(s,e,n)};e.fromStringExplain=function(n,t,r){if(r===void 0){r={}}return e.fromFormatExplain(n,t,r)};Object.defineProperty(e,"DATE_SHORT",{get:function(){return DATE_SHORT},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_MED",{get:function(){return DATE_MED},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_MED_WITH_WEEKDAY",{get:function(){return DATE_MED_WITH_WEEKDAY},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_FULL",{get:function(){return DATE_FULL},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_HUGE",{get:function(){return DATE_HUGE},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_SIMPLE",{get:function(){return TIME_SIMPLE},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_WITH_SECONDS",{get:function(){return TIME_WITH_SECONDS},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_WITH_SHORT_OFFSET",{get:function(){return TIME_WITH_SHORT_OFFSET},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_WITH_LONG_OFFSET",{get:function(){return TIME_WITH_LONG_OFFSET},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_SIMPLE",{get:function(){return TIME_24_SIMPLE},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_WITH_SECONDS",{get:function(){return TIME_24_WITH_SECONDS},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_WITH_SHORT_OFFSET",{get:function(){return TIME_24_WITH_SHORT_OFFSET},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_WITH_LONG_OFFSET",{get:function(){return TIME_24_WITH_LONG_OFFSET},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_SHORT",{get:function(){return DATETIME_SHORT},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_SHORT_WITH_SECONDS",{get:function(){return DATETIME_SHORT_WITH_SECONDS},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_MED",{get:function(){return DATETIME_MED},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_MED_WITH_SECONDS",{get:function(){return DATETIME_MED_WITH_SECONDS},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_MED_WITH_WEEKDAY",{get:function(){return DATETIME_MED_WITH_WEEKDAY},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_FULL",{get:function(){return DATETIME_FULL},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_FULL_WITH_SECONDS",{get:function(){return DATETIME_FULL_WITH_SECONDS},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_HUGE",{get:function(){return DATETIME_HUGE},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_HUGE_WITH_SECONDS",{get:function(){return DATETIME_HUGE_WITH_SECONDS},enumerable:false,configurable:true});return e}();function friendlyDateTime(e){if(DateTime.isDateTime(e)){return e}else if(e&&e.valueOf&&isNumber(e.valueOf())){return DateTime.fromJSDate(e)}else if(e&&typeof e==="object"){return DateTime.fromObject(e)}else{throw new InvalidArgumentError("Unknown datetime argument: ".concat(e,", of type ").concat(typeof e))}}function dateSeparator(e){if(e===void 0){e="de-CH"}return new Intl.DateTimeFormat(dateLocale(e)).format(new Date).replace(/\p{Number}/gu,"").charAt(0)}function dateLocale(e){if(e===void 0){e="de-CH"}var n=e.split("-"),t=n[1];if(t==="CH"){return"fr-CH"}if(t==="BE"){return"fr-BE"}if(t==="LU"){return"fr-LU"}return e}var BalDate=function(){function e(e){this.dt=e}e.setTwoDigitCutoffYear=function(e){if(e===void 0){e=10}Settings.twoDigitCutoffYear=(new Date).getFullYear()%100+e};e.fromAnyFormat=function(n){var t=n.replace(/[0-9]/g,"").charAt(0);var r=useBalConfig();var i=(r===null||r===void 0?void 0:r.locale)||"de-CH";var a=n.split(t);var u=a.length;if(u===2){var s=(new Date).getFullYear();return new e(DateTime.fromFormat("".concat(a[0]).concat(t).concat(a[1]).concat(t).concat(s),"d".concat(t,"M").concat(t,"yy"),{locale:i}))}if(u===3){if(a[2].length===1){return new e(DateTime.fromFormat("".concat(a[0]).concat(t).concat(a[1]).concat(t).concat(2e3+parseInt(a[2],10)),"d".concat(t,"M").concat(t,"yy"),{locale:i}))}else if(a[2]===""){var s=(new Date).getFullYear();return new e(DateTime.fromFormat("".concat(a[0]).concat(t).concat(a[1]).concat(t).concat(s),"d".concat(t,"M").concat(t,"yy"),{locale:i}))}}return new e(DateTime.fromFormat(n,"d".concat(t,"M").concat(t,"yy"),{locale:i}))};e.fromISO=function(n){return new e(DateTime.fromISO(n||""))};e.infoMonths=function(e){var n=e===void 0?{}:e,t=n.format,r=n.locale;var i=useBalConfig();return Info.months(t||"long",{locale:r||(i===null||i===void 0?void 0:i.locale)||"de-CH"})};e.infoWeekdays=function(e){var n=e===void 0?{}:e,t=n.format,r=n.locale;var i=useBalConfig();var a=Info.weekdays(t,{locale:r||(i===null||i===void 0?void 0:i.locale)||"de-CH"});return a};Object.defineProperty(e.prototype,"isValid",{get:function(){return this.dt.isValid},enumerable:false,configurable:true});e.prototype.toISO=function(){if(this.isValid){return this.dt.toISO()}return""};e.prototype.toISODate=function(){if(this.isValid){return this.dt.toISODate()}return""};e.prototype.toFormat=function(){if(this.isValid){var e=useBalConfig();var n=(e===null||e===void 0?void 0:e.locale)||"de-CH";var t=dateSeparator(n);return this.dt.toFormat("dd".concat(t,"MM").concat(t,"yyyy"))}return""};e.prototype.isBefore=function(e){var n=DateTime.fromISO(e||"");if(n.isValid){return this.dt<n}return false};e.prototype.isBeforeOrEqual=function(e){var n=DateTime.fromISO(e||"");if(n.isValid){return this.dt<=n}return false};e.prototype.isAfter=function(e){var n=DateTime.fromISO(e||"");if(n.isValid){return this.dt>n}return false};e.prototype.isAfterOrEqual=function(e){var n=DateTime.fromISO(e||"");if(n.isValid){return this.dt>=n}return false};Object.defineProperty(e.prototype,"month",{get:function(){if(this.isValid){return this.dt.month}return undefined},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"year",{get:function(){if(this.isValid){return this.dt.year}return undefined},enumerable:false,configurable:true});return e}();BalDate.setTwoDigitCutoffYear();export{BalDate as B,dateSeparator as d};
@@ -1,2 +1,2 @@
1
- import{__assign,__awaiter,__extends,__generator,__spreadArray}from"tslib";var NAMESPACE="baloise-design-system";var BUILD={hydratedSelectorName:"hydrated",lazyLoad:true,slotRelocation:true,updatable:true};var tags=["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"];var BrowserWindow=function(){function e(){}Object.defineProperty(e.prototype,"width",{get:function(){if(balBrowser.hasWindow){return window.innerWidth}return 0},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"height",{get:function(){if(balBrowser.hasWindow){return window.innerHeight}return 0},enumerable:false,configurable:true});return e}();var Browser=function(){function e(){this.window=new BrowserWindow}Object.defineProperty(e.prototype,"isSafari",{get:function(){return/^((?!chrome|android).)*safari/i.test(this.userAgent)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hasWindow",{get:function(){return typeof window!=="undefined"},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hasNavigator",{get:function(){return typeof navigator!=="undefined"},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hasDocument",{get:function(){return typeof document!=="undefined"},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"userAgent",{get:function(){var e;if(this.hasWindow&&this.hasNavigator){return(e=navigator.userAgent)!==null&&e!==void 0?e:""}return""},enumerable:false,configurable:true});return e}();var balBrowser=new Browser;var BALOISE_ANIMATION_KEY="baloise-animated";var defaultLoggerConfig={components:[],event:false,lifecycle:false,render:false,custom:false};var getConfig=function(){var e=defaultLoggerConfig;if(balBrowser.hasWindow&&window.BaloiseDesignSystem&&window.BaloiseDesignSystem.config&&window.BaloiseDesignSystem.config.logger){e=window.BaloiseDesignSystem.config.logger}return e};var buildLogger=function(e){var t=function(t,n){var r=[];for(var a=2;a<arguments.length;a++){r[a-2]=arguments[a]}var i=getConfig();if(i.components.includes(e)&&i[t]){console.log.apply(console,__spreadArray([n],r,false))}};return{custom:function(n){var r=[];for(var a=1;a<arguments.length;a++){r[a-1]=arguments[a]}return t.apply(void 0,__spreadArray(["custom"," ➡️ [".concat(e,"] - ").concat(n)],r,false))},lifecycle:function(n){var r=[];for(var a=1;a<arguments.length;a++){r[a-1]=arguments[a]}return t.apply(void 0,__spreadArray(["lifecycle","".concat(n==="connectedCallback"?"🟢":n==="disconnectedCallback"?"🔴":n==="componentDidLoad"?"🏁":" ➡️"," [").concat(e,"] - (").concat(n,")")],r,false))},event:function(n){var r=[];for(var a=1;a<arguments.length;a++){r[a-1]=arguments[a]}return t.apply(void 0,__spreadArray(["event","🔥 [".concat(e,"] - (").concat(n,")")],r,false))},render:function(){var n=[];for(var r=0;r<arguments.length;r++){n[r]=arguments[r]}return t.apply(void 0,__spreadArray(["render","🖌️ [".concat(e,"] - (render)")],n,false))}}};function Logger(e){if(e===void 0){e="unknown"}return function(t,n,r){var a=t.connectedCallback,i=t.disconnectedCallback,o=t.render,l=t.componentDidLoad,s=t.createLogger;var u=buildLogger(e);t.connectedCallback=function(){var e=this;u.lifecycle("connectedCallback",this);var t=Object.keys(this).filter((function(e){return e.startsWith("bal")})).filter((function(t){return typeof e[t]==="object"}));var n=function(n){var a=t[n];var i=r[a];r[a]={emit:function(){var t;var n=[];for(var r=0;r<arguments.length;r++){n[r]=arguments[r]}u.event.apply(u,__spreadArray([a,e],n,false));return(t=i.emit).call.apply(t,__spreadArray([e],n,false))}}};var r=this;for(var i=0;i<t.length;i++){n(i)}s.call(this,u.custom);return a&&a.call(this)};t.disconnectedCallback=function(){u.lifecycle("disconnectedCallback",this);return i&&i.call(this)};t.componentDidLoad=function(){u.lifecycle("componentDidLoad",this);return l&&l.call(this)};t.render=function(){u.render(this);return o.call(this)}}}var 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>';var 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>';var 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>';var 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>';var balIconUpload='<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>';var 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>';var balIconTrash='<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>';var balIconPlus='<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>';var balIconNavGoUp='<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>';var balIconNavGoRight='<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>';var balIconNavGoLeft='<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>';var balIconNavGoDown='<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>';var balIconMinus='<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>';var balIconMenuBars='<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>';var 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>';var 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>';var balIconInfoCircle='<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>';var 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>';var balIconEdit='<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>';var balIconDocument='<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>';var balIconDate='<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>';var balIconClose='<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>';var balIconCheck='<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>';var balIconCaretUp='<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>';var balIconCaretRight='<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>';var balIconCaretLeft='<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>';var balIconCaretDown='<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>';var defaultIcons={balIconClose:balIconClose,balIconInfoCircle:balIconInfoCircle,balIconPlus:balIconPlus,balIconMinus:balIconMinus,balIconEdit:balIconEdit,balIconTrash:balIconTrash,balIconNavGoLeft:balIconNavGoLeft,balIconNavGoRight:balIconNavGoRight,balIconNavGoDown:balIconNavGoDown,balIconNavGoUp:balIconNavGoUp,balIconCheck:balIconCheck,balIconDate:balIconDate,balIconDocument:balIconDocument,balIconUpload:balIconUpload,balIconMenuBars:balIconMenuBars,balIconFacebook:balIconFacebook,balIconInstagram:balIconInstagram,balIconLinkedin:balIconLinkedin,balIconTwitter:balIconTwitter,balIconX:balIconX,balIconXing:balIconXing,balIconYoutube:balIconYoutube,balIconWeb:balIconWeb,balIconCaretDown:balIconCaretDown,balIconCaretLeft:balIconCaretLeft,balIconCaretRight:balIconCaretRight,balIconCaretUp:balIconCaretUp};var defaultConfig={region:"CH",language:"de",allowedLanguages:["de","fr","it","en"],icons:defaultIcons,fallbackLanguage:"de",logger:defaultLoggerConfig,animated:true,httpFormSubmit:true,_generateHydrateForCustomElementsOutput:false};var defaultLocale="".concat(defaultConfig.language,"-").concat(defaultConfig.region);var Config=function(){function e(){this._componentObservers=[];this._observers=[];this._config=defaultConfig}Object.defineProperty(e.prototype,"locale",{get:function(){return"".concat(this._config.language,"-").concat(this._config.region)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"region",{get:function(){return this._config.region},set:function(e){if(e!==this._config.region){this._config.region=e;this._notify()}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"language",{get:function(){return this._config.language},set:function(e){if(e!==this._config.language){if(this._config.allowedLanguages.includes(e)){this._config.language=e}else{this._config.language=this._config.fallbackLanguage}this._notify()}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"allowedLanguages",{get:function(){return this._config.allowedLanguages},set:function(e){if(e!==this._config.allowedLanguages){this._config.allowedLanguages=e;this._notify()}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"icons",{get:function(){return this._config.icons},set:function(e){this._config.icons=Object.assign(Object.assign({},this._config.icons),e);this._notify()},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"logger",{get:function(){return this._config.logger},set:function(e){this._config.logger=Object.assign({},e);this._notify()},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"animated",{get:function(){return this._config.animated},set:function(e){this._config.animated=e;this._notify()},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"httpFormSubmit",{get:function(){return this._config.httpFormSubmit},set:function(e){this._config.httpFormSubmit=e;this._notify()},enumerable:false,configurable:true});e.prototype.attach=function(e){var t=this._observers.includes(e);if(t){return console.log("Subject: Observer has been attached already.")}this._observers.push(e);e.configChanged(this._config)};e.prototype.detach=function(e){var t=this._observers.indexOf(e);if(t===-1){return console.log("Subject: Nonexistent observer.")}this._observers.splice(t,1)};e.prototype.attachComponent=function(e){var t=this._componentObservers.includes(e);if(t){return console.log("Subject: Observer has been attached already.")}this._componentObservers.push(e);e.configChanged(this._config)};e.prototype.detachComponent=function(e){var t=this._componentObservers.indexOf(e);if(t===-1){return console.log("Subject: Nonexistent observer.")}this._componentObservers.splice(t,1)};e.prototype.toString=function(){return JSON.stringify(this._config)};e.prototype.reset=function(e){this._config=Object.assign(Object.assign(Object.assign({},this._config),e),{icons:Object.assign(Object.assign({},this._config.icons),e.icons)});this._notify(false)};e.prototype._notify=function(e){if(e===void 0){e=true}for(var t=0,n=this._componentObservers;t<n.length;t++){var r=n[t];r.configChanged(this._config)}if(e){for(var a=0,i=this._observers;a<i.length;a++){var r=i[a];r.configChanged(this._config)}}};return e}();var config=new Config;var configFromLocalStorage=function(e){try{var t=JSON.parse(e.localStorage.getItem(BALOISE_ANIMATION_KEY));if(t!==null){return{animated:t}}return{}}catch(e){return{}}};var setupConfig=function(e,t){if(e===void 0){e={}}if(t===void 0){t={}}if(Object.keys(t).length===0&&balBrowser.hasWindow){t=window}t.BaloiseDesignSystem=t.BaloiseDesignSystem||{};config.reset(Object.assign(Object.assign(Object.assign({},configFromLocalStorage(t)),e),{icons:Object.assign({},e.icons)}));t.BaloiseDesignSystem.config=config};var onBalConfigChange=function(e){attachToConfig({configChanged:function(t){e(t)}})};var useBalConfig=function(){if(!balBrowser.hasWindow){return}var e=window;return e&&e.BaloiseDesignSystem&&e.BaloiseDesignSystem.config};var attachToConfig=function(e){var t=useBalConfig();if(t){t.attach(e)}};var detachFromConfig=function(e){var t=useBalConfig();if(t){t.detach(e)}};var attachComponentToConfig=function(e){var t=useBalConfig();if(t){t.attachComponent(e)}};var detachComponentFromConfig=function(e){var t=useBalConfig();if(t){t.detachComponent(e)}};var updateBalLanguage=function(e){var t=useBalConfig();if(t){t.language=e}};var updateBalRegion=function(e){var t=useBalConfig();if(t){t.region=e}};var updateBalAllowedLanguages=function(e){var t=useBalConfig();if(t){t.allowedLanguages=e}};var updateBalIcons=function(e){var t=useBalConfig();if(t){t.icons=Object.assign(Object.assign({},t.icons),e)}};var updateBalAnimated=function(e){var t=useBalConfig();if(t){t.animated=e}};var rLCP=function(e,t){if(t===void 0){t=3e3}var n=false;if(!balBrowser.isSafari&&balBrowser.hasWindow&&"PerformanceObserver"in window){var r=new PerformanceObserver((function(t){var a=t.getEntries();var i=a[a.length-1];if(i){r.disconnect();n=true;rIC((function(){return e()}))}}));r.observe({type:"largest-contentful-paint",buffered:true});setTimeout((function(){if(!n){r.disconnect();e()}}),t)}else{return setTimeout(e,32)}};var rOnLoad=function(e,t){if(t===void 0){t=32}var n=false;var r=function(){if(!n){n=true;e()}};if(balBrowser.hasWindow){var a=setTimeout(r,t);window.addEventListener("load",(function(){clearTimeout(a);r()}))}else{setTimeout(r,32)}};var rIC=function(e,t){if(t===void 0){t=5e3}if(balBrowser.hasWindow&&"requestIdleCallback"in window){window.requestIdleCallback(e,{timeout:t})}else{setTimeout(e,32)}};var wait=function(e){if(e===void 0){e=0}return new Promise((function(t){setTimeout((function(){return t()}),e)}))};var debounceEvent=function(e,t){var n=e._original||e;return{_original:e,emit:debounce(n.emit.bind(n),t)}};var debounce=function(e,t){if(t===void 0){t=0}var n;return function(){var r=[];for(var a=0;a<arguments.length;a++){r[a]=arguments[a]}clearTimeout(n);n=setTimeout.apply(void 0,__spreadArray([e,t],r,false))}};var hasTagName=function(e,t){return e&&e.tagName&&e.tagName===t.toUpperCase()};var isDescendant=function(e,t){var n=t.parentNode;while(n!=null){if(n==e){return true}n=n.parentNode}return false};var hasParent=function(e,t){var n=t.parentNode;while(n!=null){if(n.tagName===e.toUpperCase()){return true}n=n.parentNode}return false};var getAppRoot=function(e){return e.querySelector("bal-app")||e.body};var componentOnReady=function(e,t){if(e.componentOnReady!==null&&e.componentOnReady!==undefined){e.componentOnReady().then((function(e){return t(e)}))}else{raf((function(){return t(e)}))}};var raf=function(e){if(typeof __zone_symbol__requestAnimationFrame==="function"){return __zone_symbol__requestAnimationFrame(e)}if(typeof requestAnimationFrame==="function"){return requestAnimationFrame(e)}return setTimeout(e)};var transitionEndAsync=function(e,t){if(t===void 0){t=0}return new Promise((function(n){transitionEnd(e,t,n)}))};var transitionEnd=function(e,t,n){if(t===void 0){t=0}var r;var a;var i={passive:true};var o=500;var l=function(){if(r){r()}};var s=function(t){if(t===undefined||e===t.target){l();n(t)}};if(e){e.addEventListener("webkitTransitionEnd",s,i);e.addEventListener("transitionend",s,i);a=setTimeout(s,t+o);r=function(){if(a){clearTimeout(a);a=undefined}e.removeEventListener("webkitTransitionEnd",s,i);e.removeEventListener("transitionend",s,i)}}return l};var addEventListener=function(e,t,n,r){if(balBrowser.hasWindow){var a=useBalConfig();if(a){var i=a._ael;if(i){return i(e,t,n,r)}else if(a._ael){return a._ael(e,t,n,r)}}}return e.addEventListener(t,n,r)};var removeEventListener=function(e,t,n,r){if(balBrowser.hasWindow){var a=useBalConfig();if(a){var i=a._rel;if(i){return i(e,t,n,r)}else if(a._rel){return a._rel(e,t,n,r)}}}return e.removeEventListener(t,n,r)};var shallowReady=function(e){if(e){return new Promise((function(t){return componentOnReady(e,t)}))}return Promise.resolve()};var deepReady=function(e){var t=[];for(var n=1;n<arguments.length;n++){t[n-1]=arguments[n]}return __awaiter(void 0,__spreadArray([e],t,true),void 0,(function(e,t){var n,r;if(t===void 0){t=false}return __generator(this,(function(a){switch(a.label){case 0:n=e;if(!n)return[3,4];if(!(n.componentOnReady!==null&&n.componentOnReady!==undefined))return[3,2];return[4,n.componentOnReady()];case 1:r=a.sent();if(!t&&r!==null&&r!==undefined){return[2]}a.label=2;case 2:return[4,Promise.all(Array.from(n.children).map((function(e){return deepReady(e,t)})))];case 3:a.sent();a.label=4;case 4:return[2]}}))}))};var waitForComponent=function(e){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,deepReady(e,true)];case 1:t.sent();return[4,waitAfterFramePaint()];case 2:t.sent();return[4,waitAfterIdleCallback()];case 3:t.sent();return[2]}}))}))};var isChildOfEventTarget=function(e,t,n){return __awaiter(void 0,void 0,void 0,(function(){var r,a;return __generator(this,(function(i){if(e&&e.target&&t&&t!==e.target){r=e.target;a=e.target.nodeName==="BAL-NAVBAR-BRAND";if(a){r=r.closest("bal-navbar")}if(r&&isDescendant(r,t)){n(r)}}return[2]}))}))};var waitForDesignSystem=function(e,t){return __awaiter(void 0,void 0,void 0,(function(){var n,r,a;return __generator(this,(function(i){switch(i.label){case 0:n=Object.assign({animated:false,icons:{balIconClose:balIconClose,balIconInfoCircle:balIconInfoCircle,balIconPlus:balIconPlus,balIconMinus:balIconMinus,balIconEdit:balIconEdit,balIconTrash:balIconTrash,balIconNavGoLeft:balIconNavGoLeft,balIconNavGoRight:balIconNavGoRight,balIconNavGoDown:balIconNavGoDown,balIconNavGoUp:balIconNavGoUp,balIconCaretUp:balIconCaretUp,balIconCaretDown:balIconCaretDown,balIconCaretLeft:balIconCaretLeft,balIconCaretRight:balIconCaretRight,balIconCheck:balIconCheck,balIconDate:balIconDate,balIconDocument:balIconDocument,balIconUpload:balIconUpload,balIconMenuBars:balIconMenuBars}},t);r=e;if(!(r!==null&&r!==undefined))return[3,3];return[4,deepReady(r,true)];case 1:i.sent();a=Array.prototype.slice.call(r.querySelectorAll("*")).filter((function(e){return e.tagName.match(/^bal/i)}));return[4,Promise.all(a.map((function(e){if(e.configChanged!==null&&e.configChanged!==undefined){return e.configChanged(n)}})))];case 2:i.sent();i.label=3;case 3:return[4,Promise.all([waitAfterFramePaint(),waitAfterLargestContentfulPaintCallback(),waitAfterIdleCallback()])];case 4:i.sent();return[2]}}))}))};var waitAfterFramePaint=function(){return new Promise((function(e){return raf((function(){return runHighPrioritizedTask(e)}))}))};var waitAfterIdleCallback=function(){return new Promise((function(e){return rIC((function(){return runHighPrioritizedTask(e)}))}))};var waitAfterLargestContentfulPaintCallback=function(){return new Promise((function(e){return rLCP((function(){return runHighPrioritizedTask(e)}))}))};var waitOnLoadEventCallback=function(){return new Promise((function(e){return rOnLoad((function(){return runHighPrioritizedTask(e)}))}))};var runHighPrioritizedTask=function(e){if(balBrowser.hasWindow&&"MessageChannel"in window){var t=new window.MessageChannel;t.port1.onmessage=e;t.port2.postMessage(undefined)}else{setTimeout(e,32)}};var BalNoticeController=function(){function e(e){this.options=e;this.container=null;this.queue=[];this.preQueue=[];this.queueLimit=5}e.prototype.create=function(e){var t=this;if(balBrowser.hasDocument){this.setupContainer(e);var n=this.findClone(e);if(n===undefined){var r=document.createElement(this.options.tag);Object.assign(r,e);r.addEventListener("balClose",(function(e){t.removeFromQueue(e.detail)}));this.preQueue.push(r);this.updateQueue();return r}return n}};e.prototype.setQueue=function(e){this.queueLimit=e};e.prototype.dismissAll=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n,r,a;return __generator(this,(function(i){switch(i.label){case 0:t=(e=this.container)===null||e===void 0?void 0:e.querySelectorAll(this.options.tag);if(!t)return[3,2];n=[];for(r=0;r<t.length;r++){a=t[r];if(a.close){n.push(a.close())}}return[4,Promise.all(n)];case 1:i.sent();i.label=2;case 2:return[2]}}))}))};e.prototype.clearAll=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){console.warn("[DEPRECATED] - use dismissAll() instead");return[2,this.dismissAll()]}))}))};e.prototype.findClone=function(e){for(var t=0;t<this.queue.length;t++){var n=this.queue[t];if(n.message===e.message&&n.color===e.color){return n}}return undefined};e.prototype.setupContainer=function(e){if(balBrowser.hasDocument){var t="".concat(this.options.tag,"-container");this.container=document.getElementById(t);if(this.container)return;if(!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");if(e.container!==undefined){this.container.setAttribute("container",e.container===true?"":e.container)}this.container.id=t}document.body.appendChild(this.container)}};e.prototype.updateQueue=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n;return __generator(this,(function(r){switch(r.label){case 0:if(!(this.queue.length<this.queueLimit))return[3,2];t=this.preQueue.shift();if(!(t&&this.container))return[3,2];return[4,waitForComponent(this.container)];case 1:r.sent();n=this.container.querySelector(".bal-notices__inner");if(n){this.queue.push(t);n.insertAdjacentElement("beforeend",t)}r.label=2;case 2:if(this.queue.length===0){(e=this.container)===null||e===void 0?void 0:e.remove()}return[2]}}))}))};e.prototype.removeFromQueue=function(e){var t=this;this.queue=this.queue.filter((function(t){return t.id!==e}));setTimeout((function(){return t.updateQueue()}),0)};return e}();var BalSnackbarController=function(e){__extends(t,e);function t(){return e.call(this,{tag:"bal-snackbar"})||this}t.prototype.create=function(t){return e.prototype.create.call(this,t)};return t}(BalNoticeController);var balSnackbarController=new BalSnackbarController;var BalToastController=function(e){__extends(t,e);function t(){return e.call(this,{tag:"bal-toast"})||this}t.prototype.create=function(t){return e.prototype.create.call(this,t)};return t}(BalNoticeController);var balToastController=new BalToastController;var VERSION="19.5.0";var initializeBaloiseDesignSystem=function(e,t,n){if(e===void 0){e={}}if(t===void 0){t=undefined}if(n===void 0){n={}}if(Object.keys(n).length===0&&balBrowser.hasWindow){n=window}n.BaloiseDesignSystem=n.BaloiseDesignSystem||{};if(t){setPlatformHelpers(t)}setupConfig(Object.assign(Object.assign({},e),t),n);n.BaloiseDesignSystem.toastController=balToastController;n.BaloiseDesignSystem.snackbarController=balSnackbarController;n.BaloiseDesignSystem.initialize=function(){return setupConfig(n.BaloiseDesignSystem.config,n)};n.BaloiseDesignSystem.version=VERSION;if(e._generateHydrateForCustomElementsOutput){generateHydrateForCustomElementsOutput(tags)}};var generateHydrateForCustomElementsOutput=function(e){if(e===void 0){e=[]}var t="slot-fb{display:contents}slot-fb[hidden]{display:none}";var n="{visibility:hidden}.hydrated{visibility:inherit}";var r=typeof window!=="undefined"?window:{};if(!r.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var a=r.document.head;var i=a.querySelector("meta[charset]");var o=r.document.createElement("style");if(e.length>0){o.textContent+=t;o.textContent+=e.sort()+n;if(o.innerHTML.length){o.setAttribute("data-styles","");a.insertBefore(o,i?i.nextSibling:a.firstChild)}}};function appGlobalScript(){initializeBaloiseDesignSystem()}var globalScripts=appGlobalScript;var globalStyles="";var __defProp=Object.defineProperty;var __export=function(e,t){for(var n in t)__defProp(e,n,{get:t[n],enumerable:true})};var SVG_NS="http://www.w3.org/2000/svg";var HTML_NS="http://www.w3.org/1999/xhtml";var getHostRef=function(e){if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var registerInstance=function(e,t){e.__stencil__getHostRef=function(){return t};t.t=e};var registerHost=function(e,t){var n={i:0,$hostElement$:e,o:t,l:new Map};{n.u=new Promise((function(e){return n.v=e}))}{n.C=new Promise((function(e){return n.p=e}));e["s-p"]=[];e["s-rc"]=[]}var r=n;e.__stencil__getHostRef=function(){return r};return r};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,n){var r=e.h.replace(/-/g,"_");var a=e.m;if(!a){return void 0}var i=cmpModules.get(a);if(i){return i[r]}
1
+ import{__assign,__awaiter,__extends,__generator,__spreadArray}from"tslib";var NAMESPACE="baloise-design-system";var BUILD={hydratedSelectorName:"hydrated",lazyLoad:true,slotRelocation:true,updatable:true};var tags=["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"];var BrowserWindow=function(){function e(){}Object.defineProperty(e.prototype,"width",{get:function(){if(balBrowser.hasWindow){return window.innerWidth}return 0},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"height",{get:function(){if(balBrowser.hasWindow){return window.innerHeight}return 0},enumerable:false,configurable:true});return e}();var Browser=function(){function e(){this.window=new BrowserWindow}Object.defineProperty(e.prototype,"isSafari",{get:function(){return/^((?!chrome|android).)*safari/i.test(this.userAgent)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hasWindow",{get:function(){return typeof window!=="undefined"},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hasNavigator",{get:function(){return typeof navigator!=="undefined"},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hasDocument",{get:function(){return typeof document!=="undefined"},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"userAgent",{get:function(){var e;if(this.hasWindow&&this.hasNavigator){return(e=navigator.userAgent)!==null&&e!==void 0?e:""}return""},enumerable:false,configurable:true});return e}();var balBrowser=new Browser;var BALOISE_ANIMATION_KEY="baloise-animated";var defaultLoggerConfig={components:[],event:false,lifecycle:false,render:false,custom:false};var getConfig=function(){var e=defaultLoggerConfig;if(balBrowser.hasWindow&&window.BaloiseDesignSystem&&window.BaloiseDesignSystem.config&&window.BaloiseDesignSystem.config.logger){e=window.BaloiseDesignSystem.config.logger}return e};var buildLogger=function(e){var t=function(t,n){var r=[];for(var a=2;a<arguments.length;a++){r[a-2]=arguments[a]}var i=getConfig();if(i.components.includes(e)&&i[t]){console.log.apply(console,__spreadArray([n],r,false))}};return{custom:function(n){var r=[];for(var a=1;a<arguments.length;a++){r[a-1]=arguments[a]}return t.apply(void 0,__spreadArray(["custom"," ➡️ [".concat(e,"] - ").concat(n)],r,false))},lifecycle:function(n){var r=[];for(var a=1;a<arguments.length;a++){r[a-1]=arguments[a]}return t.apply(void 0,__spreadArray(["lifecycle","".concat(n==="connectedCallback"?"🟢":n==="disconnectedCallback"?"🔴":n==="componentDidLoad"?"🏁":" ➡️"," [").concat(e,"] - (").concat(n,")")],r,false))},event:function(n){var r=[];for(var a=1;a<arguments.length;a++){r[a-1]=arguments[a]}return t.apply(void 0,__spreadArray(["event","🔥 [".concat(e,"] - (").concat(n,")")],r,false))},render:function(){var n=[];for(var r=0;r<arguments.length;r++){n[r]=arguments[r]}return t.apply(void 0,__spreadArray(["render","🖌️ [".concat(e,"] - (render)")],n,false))}}};function Logger(e){if(e===void 0){e="unknown"}return function(t,n,r){var a=t.connectedCallback,i=t.disconnectedCallback,o=t.render,l=t.componentDidLoad,s=t.createLogger;var u=buildLogger(e);t.connectedCallback=function(){var e=this;u.lifecycle("connectedCallback",this);var t=Object.keys(this).filter((function(e){return e.startsWith("bal")})).filter((function(t){return typeof e[t]==="object"}));var n=function(n){var a=t[n];var i=r[a];r[a]={emit:function(){var t;var n=[];for(var r=0;r<arguments.length;r++){n[r]=arguments[r]}u.event.apply(u,__spreadArray([a,e],n,false));return(t=i.emit).call.apply(t,__spreadArray([e],n,false))}}};var r=this;for(var i=0;i<t.length;i++){n(i)}s.call(this,u.custom);return a&&a.call(this)};t.disconnectedCallback=function(){u.lifecycle("disconnectedCallback",this);return i&&i.call(this)};t.componentDidLoad=function(){u.lifecycle("componentDidLoad",this);return l&&l.call(this)};t.render=function(){u.render(this);return o.call(this)}}}var 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>';var 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>';var 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>';var 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>';var balIconUpload='<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>';var 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>';var balIconTrash='<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>';var balIconPlus='<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>';var balIconNavGoUp='<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>';var balIconNavGoRight='<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>';var balIconNavGoLeft='<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>';var balIconNavGoDown='<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>';var balIconMinus='<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>';var balIconMenuBars='<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>';var 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>';var 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>';var balIconInfoCircle='<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>';var 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>';var balIconEdit='<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>';var balIconDocument='<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>';var balIconDate='<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>';var balIconClose='<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>';var balIconCheck='<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>';var balIconCaretUp='<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>';var balIconCaretRight='<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>';var balIconCaretLeft='<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>';var balIconCaretDown='<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>';var defaultIcons={balIconClose:balIconClose,balIconInfoCircle:balIconInfoCircle,balIconPlus:balIconPlus,balIconMinus:balIconMinus,balIconEdit:balIconEdit,balIconTrash:balIconTrash,balIconNavGoLeft:balIconNavGoLeft,balIconNavGoRight:balIconNavGoRight,balIconNavGoDown:balIconNavGoDown,balIconNavGoUp:balIconNavGoUp,balIconCheck:balIconCheck,balIconDate:balIconDate,balIconDocument:balIconDocument,balIconUpload:balIconUpload,balIconMenuBars:balIconMenuBars,balIconFacebook:balIconFacebook,balIconInstagram:balIconInstagram,balIconLinkedin:balIconLinkedin,balIconTwitter:balIconTwitter,balIconX:balIconX,balIconXing:balIconXing,balIconYoutube:balIconYoutube,balIconWeb:balIconWeb,balIconCaretDown:balIconCaretDown,balIconCaretLeft:balIconCaretLeft,balIconCaretRight:balIconCaretRight,balIconCaretUp:balIconCaretUp};var defaultConfig={region:"CH",language:"de",allowedLanguages:["de","fr","it","en"],icons:defaultIcons,fallbackLanguage:"de",logger:defaultLoggerConfig,animated:true,httpFormSubmit:true,_generateHydrateForCustomElementsOutput:false};var defaultLocale="".concat(defaultConfig.language,"-").concat(defaultConfig.region);var Config=function(){function e(){this._componentObservers=[];this._observers=[];this._config=defaultConfig}Object.defineProperty(e.prototype,"locale",{get:function(){return"".concat(this._config.language,"-").concat(this._config.region)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"region",{get:function(){return this._config.region},set:function(e){if(e!==this._config.region){this._config.region=e;this._notify()}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"language",{get:function(){return this._config.language},set:function(e){if(e!==this._config.language){if(this._config.allowedLanguages.includes(e)){this._config.language=e}else{this._config.language=this._config.fallbackLanguage}this._notify()}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"allowedLanguages",{get:function(){return this._config.allowedLanguages},set:function(e){if(e!==this._config.allowedLanguages){this._config.allowedLanguages=e;this._notify()}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"icons",{get:function(){return this._config.icons},set:function(e){this._config.icons=Object.assign(Object.assign({},this._config.icons),e);this._notify()},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"logger",{get:function(){return this._config.logger},set:function(e){this._config.logger=Object.assign({},e);this._notify()},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"animated",{get:function(){return this._config.animated},set:function(e){this._config.animated=e;this._notify()},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"httpFormSubmit",{get:function(){return this._config.httpFormSubmit},set:function(e){this._config.httpFormSubmit=e;this._notify()},enumerable:false,configurable:true});e.prototype.attach=function(e){var t=this._observers.includes(e);if(t){return console.log("Subject: Observer has been attached already.")}this._observers.push(e);e.configChanged(this._config)};e.prototype.detach=function(e){var t=this._observers.indexOf(e);if(t===-1){return console.log("Subject: Nonexistent observer.")}this._observers.splice(t,1)};e.prototype.attachComponent=function(e){var t=this._componentObservers.includes(e);if(t){return console.log("Subject: Observer has been attached already.")}this._componentObservers.push(e);e.configChanged(this._config)};e.prototype.detachComponent=function(e){var t=this._componentObservers.indexOf(e);if(t===-1){return console.log("Subject: Nonexistent observer.")}this._componentObservers.splice(t,1)};e.prototype.toString=function(){return JSON.stringify(this._config)};e.prototype.reset=function(e){this._config=Object.assign(Object.assign(Object.assign({},this._config),e),{icons:Object.assign(Object.assign({},this._config.icons),e.icons)});this._notify(false)};e.prototype._notify=function(e){if(e===void 0){e=true}for(var t=0,n=this._componentObservers;t<n.length;t++){var r=n[t];r.configChanged(this._config)}if(e){for(var a=0,i=this._observers;a<i.length;a++){var r=i[a];r.configChanged(this._config)}}};return e}();var config=new Config;var configFromLocalStorage=function(e){try{var t=JSON.parse(e.localStorage.getItem(BALOISE_ANIMATION_KEY));if(t!==null){return{animated:t}}return{}}catch(e){return{}}};var setupConfig=function(e,t){if(e===void 0){e={}}if(t===void 0){t={}}if(Object.keys(t).length===0&&balBrowser.hasWindow){t=window}t.BaloiseDesignSystem=t.BaloiseDesignSystem||{};config.reset(Object.assign(Object.assign(Object.assign({},configFromLocalStorage(t)),e),{icons:Object.assign({},e.icons)}));t.BaloiseDesignSystem.config=config};var onBalConfigChange=function(e){attachToConfig({configChanged:function(t){e(t)}})};var useBalConfig=function(){if(!balBrowser.hasWindow){return}var e=window;return e&&e.BaloiseDesignSystem&&e.BaloiseDesignSystem.config};var attachToConfig=function(e){var t=useBalConfig();if(t){t.attach(e)}};var detachFromConfig=function(e){var t=useBalConfig();if(t){t.detach(e)}};var attachComponentToConfig=function(e){var t=useBalConfig();if(t){t.attachComponent(e)}};var detachComponentFromConfig=function(e){var t=useBalConfig();if(t){t.detachComponent(e)}};var updateBalLanguage=function(e){var t=useBalConfig();if(t){t.language=e}};var updateBalRegion=function(e){var t=useBalConfig();if(t){t.region=e}};var updateBalAllowedLanguages=function(e){var t=useBalConfig();if(t){t.allowedLanguages=e}};var updateBalIcons=function(e){var t=useBalConfig();if(t){t.icons=Object.assign(Object.assign({},t.icons),e)}};var updateBalAnimated=function(e){var t=useBalConfig();if(t){t.animated=e}};var rLCP=function(e,t){if(t===void 0){t=3e3}var n=false;if(!balBrowser.isSafari&&balBrowser.hasWindow&&"PerformanceObserver"in window){var r=new PerformanceObserver((function(t){var a=t.getEntries();var i=a[a.length-1];if(i){r.disconnect();n=true;rIC((function(){return e()}))}}));r.observe({type:"largest-contentful-paint",buffered:true});setTimeout((function(){if(!n){r.disconnect();e()}}),t)}else{return setTimeout(e,32)}};var rOnLoad=function(e,t){if(t===void 0){t=32}var n=false;var r=function(){if(!n){n=true;e()}};if(balBrowser.hasWindow){var a=setTimeout(r,t);window.addEventListener("load",(function(){clearTimeout(a);r()}))}else{setTimeout(r,32)}};var rIC=function(e,t){if(t===void 0){t=5e3}if(balBrowser.hasWindow&&"requestIdleCallback"in window){window.requestIdleCallback(e,{timeout:t})}else{setTimeout(e,32)}};var wait=function(e){if(e===void 0){e=0}return new Promise((function(t){setTimeout((function(){return t()}),e)}))};var debounceEvent=function(e,t){var n=e._original||e;return{_original:e,emit:debounce(n.emit.bind(n),t)}};var debounce=function(e,t){if(t===void 0){t=0}var n;return function(){var r=[];for(var a=0;a<arguments.length;a++){r[a]=arguments[a]}clearTimeout(n);n=setTimeout.apply(void 0,__spreadArray([e,t],r,false))}};var hasTagName=function(e,t){return e&&e.tagName&&e.tagName===t.toUpperCase()};var isDescendant=function(e,t){var n=t.parentNode;while(n!=null){if(n==e){return true}n=n.parentNode}return false};var hasParent=function(e,t){var n=t.parentNode;while(n!=null){if(n.tagName===e.toUpperCase()){return true}n=n.parentNode}return false};var getAppRoot=function(e){return e.querySelector("bal-app")||e.body};var componentOnReady=function(e,t){if(e.componentOnReady!==null&&e.componentOnReady!==undefined){e.componentOnReady().then((function(e){return t(e)}))}else{raf((function(){return t(e)}))}};var raf=function(e){if(typeof __zone_symbol__requestAnimationFrame==="function"){return __zone_symbol__requestAnimationFrame(e)}if(typeof requestAnimationFrame==="function"){return requestAnimationFrame(e)}return setTimeout(e)};var transitionEndAsync=function(e,t){if(t===void 0){t=0}return new Promise((function(n){transitionEnd(e,t,n)}))};var transitionEnd=function(e,t,n){if(t===void 0){t=0}var r;var a;var i={passive:true};var o=500;var l=function(){if(r){r()}};var s=function(t){if(t===undefined||e===t.target){l();n(t)}};if(e){e.addEventListener("webkitTransitionEnd",s,i);e.addEventListener("transitionend",s,i);a=setTimeout(s,t+o);r=function(){if(a){clearTimeout(a);a=undefined}e.removeEventListener("webkitTransitionEnd",s,i);e.removeEventListener("transitionend",s,i)}}return l};var addEventListener=function(e,t,n,r){if(balBrowser.hasWindow){var a=useBalConfig();if(a){var i=a._ael;if(i){return i(e,t,n,r)}else if(a._ael){return a._ael(e,t,n,r)}}}return e.addEventListener(t,n,r)};var removeEventListener=function(e,t,n,r){if(balBrowser.hasWindow){var a=useBalConfig();if(a){var i=a._rel;if(i){return i(e,t,n,r)}else if(a._rel){return a._rel(e,t,n,r)}}}return e.removeEventListener(t,n,r)};var shallowReady=function(e){if(e){return new Promise((function(t){return componentOnReady(e,t)}))}return Promise.resolve()};var deepReady=function(e){var t=[];for(var n=1;n<arguments.length;n++){t[n-1]=arguments[n]}return __awaiter(void 0,__spreadArray([e],t,true),void 0,(function(e,t){var n,r;if(t===void 0){t=false}return __generator(this,(function(a){switch(a.label){case 0:n=e;if(!n)return[3,4];if(!(n.componentOnReady!==null&&n.componentOnReady!==undefined))return[3,2];return[4,n.componentOnReady()];case 1:r=a.sent();if(!t&&r!==null&&r!==undefined){return[2]}a.label=2;case 2:return[4,Promise.all(Array.from(n.children).map((function(e){return deepReady(e,t)})))];case 3:a.sent();a.label=4;case 4:return[2]}}))}))};var waitForComponent=function(e){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,deepReady(e,true)];case 1:t.sent();return[4,waitAfterFramePaint()];case 2:t.sent();return[4,waitAfterIdleCallback()];case 3:t.sent();return[2]}}))}))};var isChildOfEventTarget=function(e,t,n){return __awaiter(void 0,void 0,void 0,(function(){var r,a;return __generator(this,(function(i){if(e&&e.target&&t&&t!==e.target){r=e.target;a=e.target.nodeName==="BAL-NAVBAR-BRAND";if(a){r=r.closest("bal-navbar")}if(r&&isDescendant(r,t)){n(r)}}return[2]}))}))};var waitForDesignSystem=function(e,t){return __awaiter(void 0,void 0,void 0,(function(){var n,r,a;return __generator(this,(function(i){switch(i.label){case 0:n=Object.assign({animated:false,icons:{balIconClose:balIconClose,balIconInfoCircle:balIconInfoCircle,balIconPlus:balIconPlus,balIconMinus:balIconMinus,balIconEdit:balIconEdit,balIconTrash:balIconTrash,balIconNavGoLeft:balIconNavGoLeft,balIconNavGoRight:balIconNavGoRight,balIconNavGoDown:balIconNavGoDown,balIconNavGoUp:balIconNavGoUp,balIconCaretUp:balIconCaretUp,balIconCaretDown:balIconCaretDown,balIconCaretLeft:balIconCaretLeft,balIconCaretRight:balIconCaretRight,balIconCheck:balIconCheck,balIconDate:balIconDate,balIconDocument:balIconDocument,balIconUpload:balIconUpload,balIconMenuBars:balIconMenuBars}},t);r=e;if(!(r!==null&&r!==undefined))return[3,3];return[4,deepReady(r,true)];case 1:i.sent();a=Array.prototype.slice.call(r.querySelectorAll("*")).filter((function(e){return e.tagName.match(/^bal/i)}));return[4,Promise.all(a.map((function(e){if(e.configChanged!==null&&e.configChanged!==undefined){return e.configChanged(n)}})))];case 2:i.sent();i.label=3;case 3:return[4,Promise.all([waitAfterFramePaint(),waitAfterLargestContentfulPaintCallback(),waitAfterIdleCallback()])];case 4:i.sent();return[2]}}))}))};var waitAfterFramePaint=function(){return new Promise((function(e){return raf((function(){return runHighPrioritizedTask(e)}))}))};var waitAfterIdleCallback=function(){return new Promise((function(e){return rIC((function(){return runHighPrioritizedTask(e)}))}))};var waitAfterLargestContentfulPaintCallback=function(){return new Promise((function(e){return rLCP((function(){return runHighPrioritizedTask(e)}))}))};var waitOnLoadEventCallback=function(){return new Promise((function(e){return rOnLoad((function(){return runHighPrioritizedTask(e)}))}))};var runHighPrioritizedTask=function(e){if(balBrowser.hasWindow&&"MessageChannel"in window){var t=new window.MessageChannel;t.port1.onmessage=e;t.port2.postMessage(undefined)}else{setTimeout(e,32)}};var BalNoticeController=function(){function e(e){this.options=e;this.container=null;this.queue=[];this.preQueue=[];this.queueLimit=5}e.prototype.create=function(e){var t=this;if(balBrowser.hasDocument){this.setupContainer(e);var n=this.findClone(e);if(n===undefined){var r=document.createElement(this.options.tag);Object.assign(r,e);r.addEventListener("balClose",(function(e){t.removeFromQueue(e.detail)}));this.preQueue.push(r);this.updateQueue();return r}return n}};e.prototype.setQueue=function(e){this.queueLimit=e};e.prototype.dismissAll=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n,r,a;return __generator(this,(function(i){switch(i.label){case 0:t=(e=this.container)===null||e===void 0?void 0:e.querySelectorAll(this.options.tag);if(!t)return[3,2];n=[];for(r=0;r<t.length;r++){a=t[r];if(a.close){n.push(a.close())}}return[4,Promise.all(n)];case 1:i.sent();i.label=2;case 2:return[2]}}))}))};e.prototype.clearAll=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){console.warn("[DEPRECATED] - use dismissAll() instead");return[2,this.dismissAll()]}))}))};e.prototype.findClone=function(e){for(var t=0;t<this.queue.length;t++){var n=this.queue[t];if(n.message===e.message&&n.color===e.color){return n}}return undefined};e.prototype.setupContainer=function(e){if(balBrowser.hasDocument){var t="".concat(this.options.tag,"-container");this.container=document.getElementById(t);if(this.container)return;if(!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");if(e.container!==undefined){this.container.setAttribute("container",e.container===true?"":e.container)}this.container.id=t}document.body.appendChild(this.container)}};e.prototype.updateQueue=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n;return __generator(this,(function(r){switch(r.label){case 0:if(!(this.queue.length<this.queueLimit))return[3,2];t=this.preQueue.shift();if(!(t&&this.container))return[3,2];return[4,waitForComponent(this.container)];case 1:r.sent();n=this.container.querySelector(".bal-notices__inner");if(n){this.queue.push(t);n.insertAdjacentElement("beforeend",t)}r.label=2;case 2:if(this.queue.length===0){(e=this.container)===null||e===void 0?void 0:e.remove()}return[2]}}))}))};e.prototype.removeFromQueue=function(e){var t=this;this.queue=this.queue.filter((function(t){return t.id!==e}));setTimeout((function(){return t.updateQueue()}),0)};return e}();var BalSnackbarController=function(e){__extends(t,e);function t(){return e.call(this,{tag:"bal-snackbar"})||this}t.prototype.create=function(t){return e.prototype.create.call(this,t)};return t}(BalNoticeController);var balSnackbarController=new BalSnackbarController;var BalToastController=function(e){__extends(t,e);function t(){return e.call(this,{tag:"bal-toast"})||this}t.prototype.create=function(t){return e.prototype.create.call(this,t)};return t}(BalNoticeController);var balToastController=new BalToastController;var VERSION="19.6.0";var initializeBaloiseDesignSystem=function(e,t,n){if(e===void 0){e={}}if(t===void 0){t=undefined}if(n===void 0){n={}}if(Object.keys(n).length===0&&balBrowser.hasWindow){n=window}n.BaloiseDesignSystem=n.BaloiseDesignSystem||{};if(t){setPlatformHelpers(t)}setupConfig(Object.assign(Object.assign({},e),t),n);n.BaloiseDesignSystem.toastController=balToastController;n.BaloiseDesignSystem.snackbarController=balSnackbarController;n.BaloiseDesignSystem.initialize=function(){return setupConfig(n.BaloiseDesignSystem.config,n)};n.BaloiseDesignSystem.version=VERSION;if(e._generateHydrateForCustomElementsOutput){generateHydrateForCustomElementsOutput(tags)}};var generateHydrateForCustomElementsOutput=function(e){if(e===void 0){e=[]}var t="slot-fb{display:contents}slot-fb[hidden]{display:none}";var n="{visibility:hidden}.hydrated{visibility:inherit}";var r=typeof window!=="undefined"?window:{};if(!r.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var a=r.document.head;var i=a.querySelector("meta[charset]");var o=r.document.createElement("style");if(e.length>0){o.textContent+=t;o.textContent+=e.sort()+n;if(o.innerHTML.length){o.setAttribute("data-styles","");a.insertBefore(o,i?i.nextSibling:a.firstChild)}}};function appGlobalScript(){initializeBaloiseDesignSystem()}var globalScripts=appGlobalScript;var globalStyles="";var __defProp=Object.defineProperty;var __export=function(e,t){for(var n in t)__defProp(e,n,{get:t[n],enumerable:true})};var SVG_NS="http://www.w3.org/2000/svg";var HTML_NS="http://www.w3.org/1999/xhtml";var getHostRef=function(e){if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var registerInstance=function(e,t){e.__stencil__getHostRef=function(){return t};t.t=e};var registerHost=function(e,t){var n={i:0,$hostElement$:e,o:t,l:new Map};{n.u=new Promise((function(e){return n.v=e}))}{n.C=new Promise((function(e){return n.p=e}));e["s-p"]=[];e["s-rc"]=[]}var r=n;e.__stencil__getHostRef=function(){return r};return r};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,n){var r=e.h.replace(/-/g,"_");var a=e.m;if(!a){return void 0}var i=cmpModules.get(a);if(i){return i[r]}
2
2
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[r]}),(function(e){consoleError(e,t.$hostElement$)}))};var styles=new Map;var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var XLINK_NS="http://www.w3.org/1999/xlink";var win=typeof window!=="undefined"?window:{};var plt={i:0,S:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}};var setPlatformHelpers=function(e){Object.assign(plt,e)};var supportsListenerOptions=function(){var e;var t=false;try{(e=win.document)==null?void 0:e.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){t=true}}))}catch(e){}return t}();var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queuePending=false;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(n){e.push(n);if(!queuePending){queuePending=true;if(t&&plt.i&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);var isDef=function(e){return e!=null&&e!==void 0};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var t,n,r;return(r=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?r:void 0}var escapeRegExpSpecialCharacters=function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")};var result_exports={};__export(result_exports,{err:function(){return err},map:function(){return map},ok:function(){return ok},unwrap:function(){return unwrap},unwrapErr:function(){return unwrapErr}});var ok=function(e){return{isOk:true,isErr:false,value:e}};var err=function(e){return{isOk:false,isErr:true,value:e}};function map(e,t){if(e.isOk){var n=t(e.value);if(n instanceof Promise){return n.then((function(e){return ok(e)}))}else{return ok(n)}}if(e.isErr){var r=e.value;return err(r)}throw"should never get here"}var unwrap=function(e){if(e.isOk){return e.value}else{throw e.value}};var unwrapErr=function(e){if(e.isErr){return e.value}else{throw e.value}};function createShadowRoot(e){var t=this.attachShadow({mode:"open"});if(supportsConstructableStylesheets){var n=new CSSStyleSheet;n.replaceSync(globalStyles);t.adoptedStyleSheets.push(n)}}var updateFallbackSlotVisibility=function(e){var t=internalCall(e,"childNodes");if(e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"){getHostSlotNodes(t,e.tagName).forEach((function(e){if(e.nodeType===1&&e.tagName==="SLOT-FB"){if(getSlotChildSiblings(e,getSlotName(e),false).length){e.hidden=true}else{e.hidden=false}}}))}var n=0;for(n=0;n<t.length;n++){var r=t[n];if(r.nodeType===1&&internalCall(r,"childNodes").length){updateFallbackSlotVisibility(r)}}};var getSlottedChildNodes=function(e){var t=[];for(var n=0;n<e.length;n++){var r=e[n]["s-nr"]||void 0;if(r&&r.isConnected){t.push(r)}}return t};function getHostSlotNodes(e,t,n){var r=0;var a=[];var i;for(;r<e.length;r++){i=e[r];if(i["s-sr"]&&(!t||i["s-hn"]===t)&&n===void 0){a.push(i)}a=__spreadArray(__spreadArray([],a,true),getHostSlotNodes(i.childNodes,t,n),true)}return a}var getSlotChildSiblings=function(e,t,n){if(n===void 0){n=true}var r=[];if(n&&e["s-sr"]||!e["s-sr"])r.push(e);var a=e;while(a=a.nextSibling){if(getSlotName(a)===t&&(n||!a["s-sr"]))r.push(a)}return r};var isNodeLocatedInSlot=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var getSlotName=function(e){return typeof e["s-sn"]==="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0};function patchSlotNode(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;var t=function(t){return function(e){var n=[];var r=this["s-sn"];if(e==null?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 ")}var a=this["s-cr"].parentElement;var i=a.__childNodes?a.childNodes:getSlottedChildNodes(a.childNodes);i.forEach((function(e){if(r===getSlotName(e)){n.push(e)}}));if(t){return n.filter((function(e){return e.nodeType===1}))}return n}.bind(e)};e.assignedElements=t(true);e.assignedNodes=t(false)}function internalCall(e,t){if("__"+t in e){var n=e["__"+t];if(typeof n!=="function")return n;return n.bind(e)}else{if(typeof e[t]!=="function")return e[t];return e[t].bind(e)}}var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var h=function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var a=null;var i=null;var o=null;var l=false;var s=false;var u=[];var f=function(t){for(var n=0;n<t.length;n++){a=t[n];if(Array.isArray(a)){f(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(l&&s){u[u.length-1].L+=a}else{u.push(l?newVNode(null,a):a)}s=l}}};f(n);if(t){if(t.key){i=t.key}if(t.name){o=t.name}{var c=t.className||t.class;if(c){t.class=typeof c!=="object"?c:Object.keys(c).filter((function(e){return c[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,u,vdomFnUtils)}var v=newVNode(e,null);v.I=t;if(u.length>0){v._=u}{v.k=i}{v.N=o}return v};var newVNode=function(e,t){var n={i:0,B:e,L:t,A:null,_:null};{n.I=null}{n.k=null}{n.N=null}return n};var Host={};var isHost=function(e){return e&&e.B===Host};var vdomFnUtils={forEach:function(e,t){return e.map(convertToPublic).forEach(t)},map:function(e,t){return e.map(convertToPublic).map(t).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.I,vchildren:e._,vkey:e.k,vname:e.N,vtag:e.B,vtext:e.L}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var t=__assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var n=newVNode(e.vtag,e.vtext);n.I=e.vattrs;n._=e.vchildren;n.k=e.vkey;n.N=e.vname;return n};var createSupportsRuleRe=function(e){var t=escapeRegExpSpecialCharacters(e);return new RegExp("(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?".concat(t,"))(").concat(t,"\\b)"),"g")};createSupportsRuleRe("::slotted");createSupportsRuleRe(":host");createSupportsRuleRe(":host-context");var parsePropertyValue=function(e,t,n){if(e!=null&&!isComplexType(e)){if(t&4){{return e==="false"?false:e===""||!!e}}if(t&2){return typeof e==="string"?parseFloat(e):typeof e==="number"?e:NaN}if(t&1){return String(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,t,n){var r=getElement(e);return{emit:function(e){return emitEvent(r,t,{bubbles:true,composed:true,cancelable:true,detail:e})}}};var emitEvent=function(e,t,n){var r=plt.ce(t,n);e.dispatchEvent(r);return r};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,n){var r=styles.get(e);if(supportsConstructableStylesheets&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}styles.set(e,r)};var addStyle=function(e,t,n){var r;var a=getScopeId(t);var i=styles.get(a);if(!win.document){return a}e=e.nodeType===11?e:win.document;if(i){if(typeof i==="string"){e=e.head||e;var o=rootAppliedStyles.get(e);var l=void 0;if(!o){rootAppliedStyles.set(e,o=new Set)}if(!o.has(a)){{l=win.document.createElement("style");l.innerHTML=i;var s=(r=plt.T)!=null?r:queryNonceMetaTagContent(win.document);if(s!=null){l.setAttribute("nonce",s)}if(!(t.i&1)){if(e.nodeName==="HEAD"){var u=e.querySelectorAll("link[rel=preconnect]");var f=u.length>0?u[u.length-1].nextSibling:e.querySelector("style");e.insertBefore(l,(f==null?void 0:f.parentNode)===e?f:null)}else if("host"in e){if(supportsConstructableStylesheets){var c=new CSSStyleSheet;c.replaceSync(i);e.adoptedStyleSheets=__spreadArray([c],e.adoptedStyleSheets,true)}else{var v=e.querySelector("style");if(v){v.innerHTML=i+v.innerHTML}else{e.prepend(l)}}}else{e.append(l)}}if(t.i&1){e.insertBefore(l,null)}}if(t.i&4){l.innerHTML+=SLOT_FB_CSS}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var attachStyles=function(e){var t=e.o;var n=e.$hostElement$;var r=t.i;var a=createTime("attachStyles",t.h);var i=addStyle(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=i;n.classList.add(i+"-h")}a()};var getScopeId=function(e,t){return"sc-"+e.h};var setAccessor=function(e,t,n,r,a,i,o){if(n===r){return}var l=isMemberInElement(e,t);var s=t.toLowerCase();if(t==="class"){var u=e.classList;var f=parseClassList(n);var c=parseClassList(r);{u.remove.apply(u,f.filter((function(e){return e&&!c.includes(e)})));u.add.apply(u,c.filter((function(e){return e&&!f.includes(e)})))}}else if(t==="style"){{for(var v in n){if(!r||r[v]==null){if(v.includes("-")){e.style.removeProperty(v)}else{e.style[v]=""}}}}for(var v in r){if(!n||r[v]!==n[v]){if(v.includes("-")){e.style.setProperty(v,r[v])}else{e.style[v]=r[v]}}}}else if(t==="key");else if(t==="ref"){if(r){r(e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,s)){t=s.slice(2)}else{t=s[2]+t.slice(3)}if(n||r){var d=t.endsWith(CAPTURE_EVENT_SUFFIX);t=t.replace(CAPTURE_EVENT_REGEX,"");if(n){plt.rel(e,t,n,d)}if(r){plt.ael(e,t,r,d)}}}else{var b=isComplexType(r);if((l||b&&r!==null)&&!a){try{if(!e.tagName.includes("-")){var C=r==null?"":r;if(t==="list"){l=false}else if(n==null||e[t]!=C){if(typeof e.__lookupSetter__(t)==="function"){e[t]=C}else{e.setAttribute(t,C)}}}else if(e[t]!==r){e[t]=r}}catch(e){}}var p=false;{if(s!==(s=s.replace(/^xlink\:?/,""))){t=s;p=true}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){if(p){e.removeAttributeNS(XLINK_NS,t)}else{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!b&&e.nodeType===1){r=r===true?"":r;if(p){e.setAttributeNS(XLINK_NS,t,r)}else{e.setAttribute(t,r)}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(parseClassListRegex)};var CAPTURE_EVENT_SUFFIX="Capture";var CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$");var updateElement=function(e,t,n,r){var a=t.A.nodeType===11&&t.A.host?t.A.host:t.A;var i=e&&e.I||{};var o=t.I||{};{for(var l=0,s=sortedAttrNames(Object.keys(i));l<s.length;l++){var u=s[l];if(!(u in o)){setAccessor(a,u,i[u],void 0,n,t.i)}}}for(var f=0,c=sortedAttrNames(Object.keys(o));f<c.length;f++){var u=c[f];setAccessor(a,u,i[u],o[u],n,t.i)}};function sortedAttrNames(e){return e.includes("ref")?__spreadArray(__spreadArray([],e.filter((function(e){return e!=="ref"})),true),["ref"],false):e}var scopeId;var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var createElm=function(e,t,n){var r;var a=t._[n];var i=0;var o;var l;var s;if(!useNativeShadowDom){checkSlotRelocate=true;if(a.B==="slot"){a.i|=a._?2:1}}if(a.L!==null){o=a.A=win.document.createTextNode(a.L)}else if(a.i&1){o=a.A=win.document.createTextNode("");{updateElement(null,a,isSvgMode)}}else{if(!isSvgMode){isSvgMode=a.B==="svg"}if(!win.document){throw new 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.")}o=a.A=win.document.createElementNS(isSvgMode?SVG_NS:HTML_NS,!useNativeShadowDom&&BUILD.slotRelocation&&a.i&2?"slot-fb":a.B);if(isSvgMode&&a.B==="foreignObject"){isSvgMode=false}{updateElement(null,a,isSvgMode)}if(isDef(scopeId)&&o["s-si"]!==scopeId){o.classList.add(o["s-si"]=scopeId)}if(a._){for(i=0;i<a._.length;++i){l=createElm(e,a,i);if(l){o.appendChild(l)}}}{if(a.B==="svg"){isSvgMode=false}else if(o.tagName==="foreignObject"){isSvgMode=true}}}o["s-hn"]=hostTagName;{if(a.i&(2|1)){o["s-sr"]=true;o["s-cr"]=contentRef;o["s-sn"]=a.N||"";o["s-rf"]=(r=a.I)==null?void 0:r.ref;patchSlotNode(o);s=e&&e._&&e._[n];if(s&&s.B===a.B&&e.A){{putBackInOriginalLocation(e.A,false)}}{addRemoveSlotScopedClass(contentRef,o,t.A,e==null?void 0:e.A)}}}return o};var putBackInOriginalLocation=function(e,t){plt.i|=1;var n=Array.from(e.__childNodes||e.childNodes);for(var r=n.length-1;r>=0;r--){var a=n[r];if(a["s-hn"]!==hostTagName&&a["s-ol"]){insertBefore(referenceNode(a).parentNode,a,referenceNode(a));a["s-ol"].remove();a["s-ol"]=void 0;a["s-sh"]=void 0;checkSlotRelocate=true}if(t){putBackInOriginalLocation(a,t)}}plt.i&=-2};var addVnodes=function(e,t,n,r,a,i){var o=e["s-cr"]&&e["s-cr"].parentNode||e;var l;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}for(;a<=i;++a){if(r[a]){l=createElm(null,n,a);if(l){r[a].A=l;insertBefore(o,l,referenceNode(t))}}}};var removeVnodes=function(e,t,n){for(var r=t;r<=n;++r){var a=e[r];if(a){var i=a.A;nullifyVNodeRefs(a);if(i){{checkSlotFallbackVisibility=true;if(i["s-ol"]){i["s-ol"].remove()}else{putBackInOriginalLocation(i,true)}}i.remove()}}}};var updateChildren=function(e,t,n,r,a){if(a===void 0){a=false}var i=0;var o=0;var l=0;var s=0;var u=t.length-1;var f=t[0];var c=t[u];var v=r.length-1;var d=r[0];var b=r[v];var C;var p;while(i<=u&&o<=v){if(f==null){f=t[++i]}else if(c==null){c=t[--u]}else if(d==null){d=r[++o]}else if(b==null){b=r[--v]}else if(isSameVnode(f,d,a)){patch(f,d,a);f=t[++i];d=r[++o]}else if(isSameVnode(c,b,a)){patch(c,b,a);c=t[--u];b=r[--v]}else if(isSameVnode(f,b,a)){if(f.B==="slot"||b.B==="slot"){putBackInOriginalLocation(f.A.parentNode,false)}patch(f,b,a);insertBefore(e,f.A,c.A.nextSibling);f=t[++i];b=r[--v]}else if(isSameVnode(c,d,a)){if(f.B==="slot"||b.B==="slot"){putBackInOriginalLocation(c.A.parentNode,false)}patch(c,d,a);insertBefore(e,c.A,f.A);c=t[--u];d=r[++o]}else{l=-1;{for(s=i;s<=u;++s){if(t[s]&&t[s].k!==null&&t[s].k===d.k){l=s;break}}}if(l>=0){p=t[l];if(p.B!==d.B){C=createElm(t&&t[o],n,l)}else{patch(p,d,a);t[l]=void 0;C=p.A}d=r[++o]}else{C=createElm(t&&t[o],n,o);d=r[++o]}if(C){{insertBefore(referenceNode(f.A).parentNode,C,referenceNode(f.A))}}}}if(i>u){addVnodes(e,r[v+1]==null?null:r[v+1].A,n,r,o,v)}else if(o>v){removeVnodes(t,i,u)}};var isSameVnode=function(e,t,n){if(n===void 0){n=false}if(e.B===t.B){if(e.B==="slot"){return e.N===t.N}if(!n){return e.k===t.k}if(n&&!e.k&&t.k){e.k=t.k}return true}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var patch=function(e,t,n){if(n===void 0){n=false}var r=t.A=e.A;var a=e._;var i=t._;var o=t.B;var l=t.L;var s;if(l===null){{isSvgMode=o==="svg"?true:o==="foreignObject"?false:isSvgMode}{updateElement(e,t,isSvgMode)}if(a!==null&&i!==null){updateChildren(r,a,t,i,n)}else if(i!==null){if(e.L!==null){r.textContent=""}addVnodes(r,null,t,i,0,i.length-1)}else if(!n&&BUILD.updatable&&a!==null){removeVnodes(a,0,a.length-1)}if(isSvgMode&&o==="svg"){isSvgMode=false}}else if(s=r["s-cr"]){s.parentNode.textContent=l}else if(e.L!==l){r.data=l}};var relocateNodes=[];var markSlotContentForRelocation=function(e){var t;var n;var r;var a=e.__childNodes||e.childNodes;for(var i=0,o=a;i<o.length;i++){var l=o[i];if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;var s=l["s-sn"];var u=function(){t=n[r];if(!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==l["s-hn"]&&true){if(isNodeLocatedInSlot(t,s)){var e=relocateNodes.find((function(e){return e.H===t}));checkSlotFallbackVisibility=true;t["s-sn"]=t["s-sn"]||s;if(e){e.H["s-sh"]=l["s-hn"];e.M=l}else{t["s-sh"]=l["s-hn"];relocateNodes.push({M:l,H:t})}if(t["s-sr"]){relocateNodes.map((function(n){if(isNodeLocatedInSlot(n.H,t["s-sn"])){e=relocateNodes.find((function(e){return e.H===t}));if(e&&!n.M){n.M=e.M}}}))}}else if(!relocateNodes.some((function(e){return e.H===t}))){relocateNodes.push({H:t})}}};for(r=n.length-1;r>=0;r--){u()}}if(l.nodeType===1){markSlotContentForRelocation(l)}}};var nullifyVNodeRefs=function(e){{e.I&&e.I.ref&&e.I.ref(null);e._&&e._.map(nullifyVNodeRefs)}};var insertBefore=function(e,t,n){if(typeof t["s-sn"]==="string"&&!!t["s-sr"]&&!!t["s-cr"]){addRemoveSlotScopedClass(t["s-cr"],t,e,t.parentElement)}{return e==null?void 0:e.insertBefore(t,n)}};function addRemoveSlotScopedClass(e,t,n,r){var a,i;var o;if(e&&typeof t["s-sn"]==="string"&&!!t["s-sr"]&&e.parentNode&&e.parentNode["s-sc"]&&(o=t["s-si"]||e.parentNode["s-sc"])){var l=t["s-sn"];var s=t["s-hn"];(a=n.classList)==null?void 0:a.add(o+"-s");if(r&&((i=r.classList)==null?void 0:i.contains(o+"-s"))){var u=(r.__childNodes||r.childNodes)[0];var f=false;while(u){if(u["s-sn"]!==l&&u["s-hn"]===s&&!!u["s-sr"]){f=true;break}u=u.nextSibling}if(!f)r.classList.remove(o+"-s")}}}var renderVdom=function(e,t,n){if(n===void 0){n=false}var r,a,i,o;var l=e.$hostElement$;var s=e.o;var u=e.R||newVNode(null,null);var f=isHost(t);var c=f?t:h(null,null,t);hostTagName=l.tagName;if(s.O){c.I=c.I||{};s.O.map((function(e){var t=e[0],n=e[1];return c.I[n]=l[t]}))}if(n&&c.I){for(var v=0,d=Object.keys(c.I);v<d.length;v++){var b=d[v];if(l.hasAttribute(b)&&!["key","ref","style","class"].includes(b)){c.I[b]=l[b]}}}c.B=null;c.i|=4;e.R=c;c.A=u.A=l.shadowRoot||l;{scopeId=l["s-sc"]}useNativeShadowDom=!!(s.i&1)&&!(s.i&128);{contentRef=l["s-cr"];checkSlotFallbackVisibility=false}patch(u,c,n);{plt.i|=1;if(checkSlotRelocate){markSlotContentForRelocation(c.A);for(var C=0,p=relocateNodes;C<p.length;C++){var g=p[C];var w=g.H;if(!w["s-ol"]&&win.document){var m=win.document.createTextNode("");m["s-nr"]=w;insertBefore(w.parentNode,w["s-ol"]=m,w)}}for(var y=0,S=relocateNodes;y<S.length;y++){var g=S[y];var w=g.H;var L=g.M;if(L){var I=L.parentNode;var _=L.nextSibling;{var m=(r=w["s-ol"])==null?void 0:r.previousSibling;while(m){var k=(a=m["s-nr"])!=null?a:null;if(k&&k["s-sn"]===w["s-sn"]&&I===(k.__parentNode||k.parentNode)){k=k.nextSibling;while(k===w||(k==null?void 0:k["s-sr"])){k=k==null?void 0:k.nextSibling}if(!k||!k["s-nr"]){_=k;break}}m=m.previousSibling}}var N=w.__parentNode||w.parentNode;var B=w.__nextSibling||w.nextSibling;if(!_&&I!==N||B!==_){if(w!==_){if(!w["s-hn"]&&w["s-ol"]){w["s-hn"]=w["s-ol"].parentNode.nodeName}insertBefore(I,w,_);if(w.nodeType===1&&w.tagName!=="SLOT-FB"){w.hidden=(i=w["s-ih"])!=null?i:false}}}w&&typeof L["s-rf"]==="function"&&L["s-rf"](L)}else{if(w.nodeType===1){if(n){w["s-ih"]=(o=w.hidden)!=null?o:false}w.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(c.A)}plt.i&=-2;relocateNodes.length=0}contentRef=void 0};var attachToAncestor=function(e,t){if(t&&!e.V&&t["s-p"]){var n=t["s-p"].push(new Promise((function(r){return e.V=function(){t["s-p"].splice(n-1,1);r()}})))}};var scheduleUpdate=function(e,t){{e.i|=16}if(e.i&4){e.i|=512;return}attachToAncestor(e,e.j);var n=function(){return dispatchHooks(e,t)};return writeTask(n)};var dispatchHooks=function(e,t){var n=e.$hostElement$;var r=createTime("scheduleUpdate",e.o.h);var a=e.t;if(!a){throw new Error("Can't render component <".concat(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"))}var i;if(t){{e.i|=256;if(e.P){e.P.map((function(e){var t=e[0],r=e[1];return safeCall(a,t,r,n)}));e.P=void 0}}i=safeCall(a,"componentWillLoad",void 0,n)}else{i=safeCall(a,"componentWillUpdate",void 0,n)}i=enqueue(i,(function(){return safeCall(a,"componentWillRender",void 0,n)}));r();return enqueue(i,(function(){return updateComponent(e,a,t)}))};var enqueue=function(e,t){return isPromisey(e)?e.then(t).catch((function(e){console.error(e);t()})):t()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,t,n){return __awaiter(void 0,void 0,void 0,(function(){var r,a,i,o,l,s,u;return __generator(this,(function(f){a=e.$hostElement$;i=createTime("update",e.o.h);o=a["s-rc"];if(n){attachStyles(e)}l=createTime("render",e.o.h);{callRender(e,t,a,n)}if(o){o.map((function(e){return e()}));a["s-rc"]=void 0}l();i();{s=(r=a["s-p"])!=null?r:[];u=function(){return postUpdateComponent(e)};if(s.length===0){u()}else{Promise.all(s).then(u);e.i|=4;s.length=0}}return[2]}))}))};var callRender=function(e,t,n,r){try{t=t.render();{e.i&=-17}{e.i|=2}{{{renderVdom(e,t,r)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.o.h;var n=e.$hostElement$;var r=createTime("postUpdate",t);var a=e.t;var i=e.j;safeCall(a,"componentDidRender",void 0,n);if(!(e.i&64)){e.i|=64;{addHydratedFlag(n)}safeCall(a,"componentDidLoad",void 0,n);r();{e.p(n);if(!i){appDidLoad()}}}else{safeCall(a,"componentDidUpdate",void 0,n);r()}{e.v(n)}{if(e.V){e.V();e.V=void 0}if(e.i&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.i&=-517}};var appDidLoad=function(e){nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,n,r){if(e&&e[t]){try{return e[t](n)}catch(e){consoleError(e,r)}}return void 0};var addHydratedFlag=function(e){var t;return e.classList.add((t=BUILD.hydratedSelectorName)!=null?t:"hydrated")};var getValue=function(e,t){return getHostRef(e).l.get(t)};var setValue=function(e,t,n,r){var a=getHostRef(e);if(!a){throw new Error("Couldn't find host element for \"".concat(r.h,'" 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).'))}var i=a.$hostElement$;var o=a.l.get(t);var l=a.i;var s=a.t;n=parsePropertyValue(n,r.D[t][0]);var u=Number.isNaN(o)&&Number.isNaN(n);var f=n!==o&&!u;if((!(l&8)||o===void 0)&&f){a.l.set(t,n);if(s){if(r.F&&l&128){var c=r.F[t];if(c){c.map((function(e){try{s[e](n,o,t)}catch(e){consoleError(e,i)}}))}}if((l&(2|16))===2){if(s.componentShouldUpdate){if(s.componentShouldUpdate(n,o,t)===false){return}}scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,n){var r,a;var i=e.prototype;if(t.D||(t.F||e.watchers)){if(e.watchers&&!t.F){t.F=e.watchers}var o=Object.entries((r=t.D)!=null?r:{});o.map((function(e){var r=e[0],a=e[1][0];if(a&31||n&2&&a&32){var o=Object.getOwnPropertyDescriptor(i,r)||{},l=o.get,s=o.set;if(l)t.D[r][0]|=2048;if(s)t.D[r][0]|=4096;if(n&1||!l){Object.defineProperty(i,r,{get:function(){{if((t.D[r][0]&2048)===0){return getValue(this,r)}var e=getHostRef(this);var n=e?e.t:i;if(!n)return;return n[r]}},configurable:true,enumerable:true})}Object.defineProperty(i,r,{set:function(e){var i=this;var o=getHostRef(this);if(s){var l=a&32?this[r]:o.$hostElement$[r];if(typeof l==="undefined"&&o.l.get(r)){e=o.l.get(r)}else if(!o.l.get(r)&&l){o.l.set(r,l)}s.apply(this,[parsePropertyValue(e,a)]);e=a&32?this[r]:o.$hostElement$[r];setValue(this,r,e,t);return}{if((n&1)===0||(t.D[r][0]&4096)===0){setValue(this,r,e,t);if(n&1&&!o.t){o.C.then((function(){if(t.D[r][0]&4096&&o.t[r]!==o.l.get(r)){o.t[r]=e}}))}return}var u=function(){var n=o.t[r];if(!o.l.get(r)&&n){o.l.set(r,n)}o.t[r]=parsePropertyValue(e,a);setValue(i,r,o.t[r],t)};if(o.t){u()}else{o.C.then((function(){return u()}))}}}})}else if(n&1&&a&64){Object.defineProperty(i,r,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var n;var a=getHostRef(this);return(n=a==null?void 0:a.u)==null?void 0:n.then((function(){var t;return(t=a.t)==null?void 0:t[r].apply(t,e)}))}})}}));if(n&1){var l=new Map;i.attributeChangedCallback=function(e,n,r){var a=this;plt.jmp((function(){var o;var s=l.get(e);if(a.hasOwnProperty(s)&&BUILD.lazyLoad){r=a[s];delete a[s]}else if(i.hasOwnProperty(s)&&typeof a[s]==="number"&&a[s]==r){return}else if(s==null){var u=getHostRef(a);var f=u==null?void 0:u.i;if(f&&!(f&8)&&f&128&&r!==n){var c=u.t;var v=(o=t.F)==null?void 0:o[e];v==null?void 0:v.forEach((function(t){if(c[t]!=null){c[t].call(c,r,n,e)}}))}return}var d=Object.getOwnPropertyDescriptor(i,s);r=r===null&&typeof a[s]==="boolean"?false:r;if(r!==a[s]&&(!d.get||!!d.set)){a[s]=r}}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((a=t.F)!=null?a:{}),true),o.filter((function(e){var t=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],r=e[1];var a;var i=r[1]||n;l.set(i,n);if(r[0]&512){(a=t.O)==null?void 0:a.push([n,i])}return i})),true)))}}return e};var initializeComponent=function(e,t,n,r){return __awaiter(void 0,void 0,void 0,(function(){var r,a,i,o,l,s,u,f,c,v,d;return __generator(this,(function(b){switch(b.label){case 0:if(!((t.i&32)===0))return[3,6];t.i|=32;a=n.m;if(!a)return[3,4];i=loadModule(n,t);if(!(i&&"then"in i))return[3,2];o=uniqueTime();return[4,i];case 1:r=b.sent();o();return[3,3];case 2:r=i;b.label=3;case 3:if(!r){throw new Error('Constructor for "'.concat(n.h,"#").concat(t.Z,'" was not found'))}if(!r.isProxied){{n.F=r.watchers}proxyComponent(r,n,2);r.isProxied=true}l=createTime("createInstance",n.h);{t.i|=8}try{new r(t)}catch(t){consoleError(t,e)}{t.i&=-9}{t.i|=128}l();fireConnectedCallback(t.t,e);return[3,5];case 4:r=e.constructor;s=e.localName;customElements.whenDefined(s).then((function(){return t.i|=128}));b.label=5;case 5:if(r&&r.style){u=void 0;if(typeof r.style==="string"){u=r.style}f=getScopeId(n);if(!styles.has(f)){c=createTime("registerStyles",n.h);registerStyle(f,u,!!(n.i&1));c()}}b.label=6;case 6:v=t.j;d=function(){return scheduleUpdate(t,true)};if(v&&v["s-rc"]){v["s-rc"].push(d)}else{d()}return[2]}}))}))};var fireConnectedCallback=function(e,t){{safeCall(e,"connectedCallback",void 0,t)}};var connectedCallback=function(e){if((plt.i&1)===0){var t=getHostRef(e);var n=t.o;var r=createTime("connectedCallback",n.h);if(!(t.i&1)){t.i|=1;{if(n.i&(4|8)){setContentReference(e)}}{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(t,t.j=a);break}}}if(n.D){Object.entries(n.D).map((function(t){var n=t[0],r=t[1][0];if(r&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{nextTick((function(){return initializeComponent(e,t,n)}))}}else{addHostEventListeners(e,t,n.U);if(t==null?void 0:t.t){fireConnectedCallback(t.t,e)}else if(t==null?void 0:t.C){t.C.then((function(){return fireConnectedCallback(t.t,e)}))}}r()}};var setContentReference=function(e){if(!win.document){return}var t=e["s-cr"]=win.document.createComment("");t["s-cn"]=true;insertBefore(e,t,e.firstChild)};var disconnectInstance=function(e,t){{safeCall(e,"disconnectedCallback",void 0,t||e)}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var t;return __generator(this,(function(n){if((plt.i&1)===0){t=getHostRef(e);{if(t.$){t.$.map((function(e){return e()}));t.$=void 0}}if(t==null?void 0:t.t){disconnectInstance(t.t,e)}else if(t==null?void 0:t.C){t.C.then((function(){return disconnectInstance(t.t,e)}))}}if(rootAppliedStyles.has(e)){rootAppliedStyles.delete(e)}if(e.shadowRoot&&rootAppliedStyles.has(e.shadowRoot)){rootAppliedStyles.delete(e.shadowRoot)}return[2]}))}))};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var n;if(!win.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var r=createTime();var a=[];var i=t.exclude||[];var o=win.customElements;var l=win.document.head;var s=l.querySelector("meta[charset]");var u=win.document.createElement("style");var f=[];var c;var v=true;Object.assign(plt,t);plt.S=new URL(t.resourcesUrl||"./",win.document.baseURI).href;var d=false;e.map((function(e){e[1].map((function(t){var n;var r={i:t[0],h:t[1],D:t[2],U:t[3]};if(r.i&4){d=true}{r.D=t[2]}{r.U=t[3]}{r.O=[]}{r.F=(n=t[4])!=null?n:{}}var l=r.h;var s=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;n.hasRegisteredEventListeners=false;t=n;registerHost(t,r);if(r.i&1){{if(!t.shadowRoot){createShadowRoot.call(t,r)}else{if(t.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(r.h,"! Mode is set to ").concat(t.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return n}t.prototype.connectedCallback=function(){var e=this;var t=getHostRef(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;addHostEventListeners(this,t,r.U)}if(c){clearTimeout(c);c=null}if(v){f.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}));plt.raf((function(){var t;var n=getHostRef(e);var r=f.findIndex((function(t){return t===e}));if(r>-1){f.splice(r,1)}if(((t=n==null?void 0:n.R)==null?void 0:t.A)instanceof Node&&!n.R.A.isConnected){delete n.R.A}}))};t.prototype.componentOnReady=function(){return getHostRef(this).C};return t}(HTMLElement);r.m=e[0];if(!i.includes(l)&&!o.get(l)){a.push(l);o.define(l,proxyComponent(s,r,1))}}))}));if(a.length>0){if(d){u.textContent+=SLOT_FB_CSS}{u.textContent+=a.sort()+HYDRATED_CSS}if(u.innerHTML.length){u.setAttribute("data-styles","");var b=(n=plt.T)!=null?n:queryNonceMetaTagContent(win.document);if(b!=null){u.setAttribute("nonce",b)}l.insertBefore(u,s?s.nextSibling:l.firstChild)}}v=false;if(f.length){f.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}r()};var addHostEventListeners=function(e,t,n,r){if(n&&win.document){n.map((function(n){var r=n[0],a=n[1],i=n[2];var o=getHostListenerTarget(win.document,e,r);var l=hostListenerProxy(t,i);var s=hostListenerOpts(r);plt.ael(o,a,l,s);(t.$=t.$||[]).push((function(){return plt.rel(o,a,l,s)}))}))}};var hostListenerProxy=function(e,t){return function(n){var r;try{{if(e.i&256){(r=e.t)==null?void 0:r[t](n)}else{(e.P=e.P||[]).push([t,n])}}}catch(t){consoleError(t,e.$hostElement$)}}};var getHostListenerTarget=function(e,t,n){if(n&4){return e}if(n&8){return win}return t};var hostListenerOpts=function(e){return supportsListenerOptions?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0};var setNonce=function(e){return plt.T=e};export{detachComponentFromConfig as $,waitForComponent as A,waitForDesignSystem as B,waitOnLoadEventCallback as C,BalSnackbarController as D,balSnackbarController as E,BalToastController as F,balToastController as G,registerInstance as H,debounce as I,rIC as J,rOnLoad as K,Logger as L,h as M,Host as N,getElement as O,createEvent as P,raf as Q,addEventListener as R,removeEventListener as S,debounceEvent as T,defaultLocale as U,writeTask as V,transitionEndAsync as W,hasParent as X,isChildOfEventTarget as Y,hasTagName as Z,attachComponentToConfig as _,balBrowser as a,bootstrapLazy as b,getAppRoot as c,componentOnReady as d,attachToConfig as e,defaultConfig as f,globalScripts as g,detachFromConfig as h,setupConfig as i,updateBalAnimated as j,updateBalIcons as k,updateBalLanguage as l,updateBalRegion as m,useBalConfig as n,onBalConfigChange as o,promiseResolve as p,initializeBaloiseDesignSystem as q,deepReady as r,setNonce as s,isDescendant as t,updateBalAllowedLanguages as u,shallowReady as v,wait as w,waitAfterFramePaint as x,waitAfterIdleCallback as y,waitAfterLargestContentfulPaintCallback as z};