@baloise/ds-core 16.4.0 → 16.5.0-nightly.20240919
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.
- package/components/all.d.ts +6 -0
- package/components/all.js +9 -0
- package/components/bal-app.js +1 -85
- package/components/bal-app2.js +87 -0
- package/components/bal-checkbox-group.js +8 -2
- package/components/bal-checkbox2.js +10 -3
- package/components/bal-content.js +1 -69
- package/{dist/esm/bal-content.entry.js → components/bal-content2.js} +31 -12
- package/components/bal-doc-app.d.ts +11 -0
- package/components/bal-doc-app.js +260 -0
- package/components/bal-icon2.js +1 -1
- package/components/bal-label2.js +3 -2
- package/components/bal-progress-bar.js +23 -10
- package/components/bal-radio2.js +1 -1
- package/components/bal-segment-item.d.ts +11 -0
- package/components/bal-segment-item.js +203 -0
- package/components/bal-segment.d.ts +11 -0
- package/components/bal-segment.js +337 -0
- package/components/bal-stack2.js +1 -1
- package/components/breakpoints.subject.js +3 -3
- package/components/index.esm.js +25 -1
- package/components/index.js +5 -289
- package/components/initialize.js +288 -0
- package/components/tokens.esm.js +1 -1
- package/components/window-resize.decorator.js +46 -0
- package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
- package/dist/baloise-design-system/baloise-design-system.js +1 -1
- package/dist/baloise-design-system/index.esm.js +1 -1
- package/dist/baloise-design-system/{p-e60c936359.system.entry.js → p-0530e008e9.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-b487614e8b.entry.js → p-0675991a06.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e9c3c1c4cc.entry.js → p-06ad835da6.entry.js} +1 -1
- package/dist/baloise-design-system/p-1509eaa7.system.js +1 -1
- package/dist/baloise-design-system/{p-544a0af68d.system.entry.js → p-166c735b9a.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-f7091a61.js → p-209c2224.js} +1 -1
- package/dist/baloise-design-system/p-265f9d51c9.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-51c0348938.entry.js → p-2905abdfb8.entry.js} +1 -1
- package/dist/baloise-design-system/p-29ba4f9afe.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-f6599f64b7.entry.js → p-2db4ff4c5b.entry.js} +1 -1
- package/dist/baloise-design-system/{p-39bc49bc3d.entry.js → p-33028eda8b.entry.js} +1 -1
- package/dist/baloise-design-system/p-360068a4.system.js +1 -0
- package/dist/baloise-design-system/{p-d66c8f0da9.system.entry.js → p-3655ee48f5.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-330b875d9d.system.entry.js → p-3818fa189f.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-3d46f2c896.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-83ff83d0.system.js → p-3ea697ad.system.js} +1 -1
- package/dist/baloise-design-system/{p-4afba8511a.system.entry.js → p-47a8ad4d7a.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-976ed5bcf1.entry.js → p-488c4a8ce1.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e18ec1401d.system.entry.js → p-4bfaa56768.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-4ff656dd48.entry.js +1 -0
- package/dist/baloise-design-system/p-53e98a0f71.entry.js +1 -0
- package/dist/baloise-design-system/{p-cef24f8c62.entry.js → p-547aae9610.entry.js} +1 -1
- package/dist/baloise-design-system/p-54f81c32.js +1 -1
- package/dist/baloise-design-system/{p-b069b55a8d.entry.js → p-573edefcbc.entry.js} +1 -1
- package/dist/baloise-design-system/{p-b397abec9a.system.entry.js → p-5943decf45.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-86b8ffa1ab.system.entry.js → p-5d9adce532.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-6f4a362824.system.entry.js → p-5db0544e97.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-685405e0.system.js → p-62581022.system.js} +1 -1
- package/dist/baloise-design-system/{p-c0f4b35c8c.system.entry.js → p-63a97301a8.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-22b041a511.entry.js → p-6c2bf02eb3.entry.js} +1 -1
- package/dist/baloise-design-system/p-6cc135ba.js +1 -0
- package/dist/baloise-design-system/p-6d1b6215.js +1 -0
- package/dist/baloise-design-system/{p-a7c3119418.system.entry.js → p-6e3a79cce0.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-71588db3.system.js +1 -0
- package/dist/baloise-design-system/p-7291766c.system.js +1 -0
- package/dist/baloise-design-system/{p-b779742f50.entry.js → p-77350b27fc.entry.js} +1 -1
- package/dist/baloise-design-system/p-7996ad57da.entry.js +1 -0
- package/dist/baloise-design-system/p-7cc52e4a3b.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-3e8b5dec38.system.entry.js → p-7fc16dafca.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ba14aa7026.system.entry.js → p-8080a1192c.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-167594de04.entry.js → p-80bc172221.entry.js} +1 -1
- package/dist/baloise-design-system/p-85a9c11c.system.js +1 -0
- package/dist/baloise-design-system/{p-95c6192efb.system.entry.js → p-8dc9596b62.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-8de1a12660.entry.js +1 -0
- package/dist/baloise-design-system/{p-8870e1f3e0.system.entry.js → p-8e17b76e7c.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-19542d9bfc.system.entry.js → p-9a8e73f244.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-b97d9336a7.system.entry.js → p-9bb8778cdc.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8b6aca042a.system.entry.js → p-9ea54277b7.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-a507ff25cb.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-ad00d94e7f.entry.js → p-a5ee486a2b.entry.js} +1 -1
- package/dist/baloise-design-system/p-a60024aacb.entry.js +1 -0
- package/dist/baloise-design-system/p-a78d1ca569.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-8754258843.entry.js → p-a811094678.entry.js} +1 -1
- package/dist/baloise-design-system/p-b2470c06.js +1 -0
- package/dist/baloise-design-system/{p-982fa892e8.system.entry.js → p-b8251b8f68.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-b87c29c80b.entry.js +1 -0
- package/dist/baloise-design-system/{p-098f268743.entry.js → p-bee13e834e.entry.js} +1 -1
- package/dist/baloise-design-system/{p-3f1c49d0.js → p-caec1f9e.js} +1 -1
- package/dist/baloise-design-system/{p-45e0c0783b.entry.js → p-cafe624e35.entry.js} +1 -1
- package/dist/baloise-design-system/{p-2f4c6257f4.entry.js → p-cda868a6a5.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a52564d27f.system.entry.js → p-d059465399.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-d1bee6d3.system.js +1 -0
- package/dist/baloise-design-system/{p-0295f5df96.entry.js → p-d311d2eaaa.entry.js} +1 -1
- package/dist/baloise-design-system/{p-44d845a857.system.entry.js → p-d3fabdb142.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-67e6932c19.entry.js → p-d8e1c4c7ee.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c92eb37957.system.entry.js → p-d8eac90839.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-ddc98aad42.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-b0f4388e4c.system.entry.js → p-e137e273b7.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-55faac1d.system.js → p-e187b9de.system.js} +1 -1
- package/dist/baloise-design-system/{p-e066dc532d.entry.js → p-e673998e40.entry.js} +1 -1
- package/dist/baloise-design-system/{p-6d9afce4c2.entry.js → p-e6cd156efb.entry.js} +1 -1
- package/dist/baloise-design-system/p-e8ffddeb.js +1 -0
- package/dist/baloise-design-system/{p-9e167705ca.entry.js → p-ecab0d67d5.entry.js} +1 -1
- package/dist/baloise-design-system/{p-b33c021c08.entry.js → p-eecfa0b797.entry.js} +1 -1
- package/dist/baloise-design-system/p-ef15db7997.entry.js +1 -0
- package/dist/baloise-design-system/p-ef916aafa5.entry.js +1 -0
- package/dist/baloise-design-system/{p-68eead378f.entry.js → p-f024af4bce.entry.js} +1 -1
- package/dist/baloise-design-system/{p-aee4ebe860.system.entry.js → p-f4f9e12207.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-94efe2aa.js → p-f5940253.js} +1 -1
- package/dist/baloise-design-system/{p-013b4c72.system.js → p-f959646a.system.js} +1 -1
- package/dist/cjs/app-globals-5fd73c0c.js +7 -0
- package/dist/cjs/bal-accordion_4.cjs.entry.js +1 -1
- package/dist/cjs/bal-carousel_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-checkbox_2.cjs.entry.js +4 -3
- package/dist/cjs/{bal-label.cjs.entry.js → bal-content_2.cjs.entry.js} +48 -2
- package/dist/cjs/bal-date-calendar_2.cjs.entry.js +2 -2
- package/dist/cjs/bal-date.cjs.entry.js +2 -2
- package/dist/cjs/bal-datepicker.cjs.entry.js +4 -4
- package/dist/cjs/bal-doc-app.cjs.entry.js +231 -0
- package/dist/cjs/bal-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/bal-file-upload.cjs.entry.js +1 -1
- package/dist/cjs/bal-footer.cjs.entry.js +1 -1
- package/dist/cjs/bal-hint_3.cjs.entry.js +3 -3
- package/dist/cjs/bal-icon.cjs.entry.js +1 -1
- package/dist/cjs/bal-input-stepper.cjs.entry.js +1 -1
- package/dist/cjs/bal-list_8.cjs.entry.js +4 -4
- package/dist/cjs/bal-logo.cjs.entry.js +3 -3
- package/dist/cjs/bal-nav_8.cjs.entry.js +3 -3
- package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
- package/dist/cjs/bal-number-input.cjs.entry.js +1 -1
- package/dist/cjs/bal-pagination.cjs.entry.js +3 -3
- package/dist/cjs/bal-popover_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-popup.cjs.entry.js +1 -1
- package/dist/cjs/bal-progress-bar.cjs.entry.js +27 -15
- package/dist/cjs/bal-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/bal-segment-item.cjs.entry.js +156 -0
- package/dist/cjs/bal-segment.cjs.entry.js +319 -0
- package/dist/cjs/bal-select_2.cjs.entry.js +1 -1
- package/dist/cjs/bal-shape.cjs.entry.js +1 -1
- package/dist/cjs/bal-stack.cjs.entry.js +1 -1
- package/dist/cjs/bal-steps.cjs.entry.js +4 -4
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +4 -4
- package/dist/cjs/baloise-design-system.cjs.js +3 -2
- package/dist/cjs/{breakpoints.decorator-e278a735.js → breakpoints.decorator-86f2ffd4.js} +1 -1
- package/dist/cjs/{breakpoints.subject-0802767f.js → breakpoints.subject-65849b6b.js} +4 -4
- package/dist/cjs/{date-3e33b208.js → date-20be7524.js} +1 -1
- package/dist/cjs/{app-globals-ae3a8623.js → global-2562a984.js} +2 -4
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{index.esm-4587dbf0.js → index.esm-54a3d84e.js} +28 -0
- package/dist/cjs/initialize-2a19d091.js +1 -1
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/cjs/{tokens.esm-be397f27.js → tokens.esm-72e90837.js} +1 -1
- package/dist/cjs/window-resize.decorator-a512d47b.js +48 -0
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/bal-checkbox/bal-checkbox.js +2 -1
- package/dist/collection/components/bal-checkbox/radio-checkbox.css +1 -1
- package/dist/collection/components/bal-content/bal-content.css +1 -1
- package/dist/collection/components/bal-content/bal-content.js +1 -1
- package/dist/collection/components/bal-icon/bal-icon.css +1 -1
- package/dist/collection/components/bal-label/bal-label.js +20 -2
- package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +23 -10
- package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.css +1 -0
- package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +332 -0
- package/dist/collection/components/bal-segment/bal-segment.css +1 -0
- package/dist/collection/components/bal-segment/bal-segment.interfaces.js +4 -0
- package/dist/collection/components/bal-segment/bal-segment.js +537 -0
- package/dist/collection/components/bal-segment/bal-segment.types.js +1 -0
- package/dist/collection/components/bal-stack/bal-stack.css +1 -1
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +1 -0
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +229 -0
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/collection/utils/resize/index.js +4 -1
- package/dist/collection/utils/resize/window-resize.decorator.js +20 -0
- package/dist/collection/utils/resize/window-resize.interfaces.js +1 -0
- package/dist/collection/utils/resize/window-resize.listener.js +3 -3
- package/dist/collection/utils/resize/window-resize.subject.js +23 -0
- package/dist/esm/app-globals-970bab17.js +5 -0
- package/dist/esm/bal-accordion_4.entry.js +1 -1
- package/dist/esm/bal-carousel_2.entry.js +3 -3
- package/dist/esm/bal-checkbox_2.entry.js +4 -3
- package/dist/esm/{bal-label.entry.js → bal-content_2.entry.js} +48 -3
- package/dist/esm/bal-date-calendar_2.entry.js +2 -2
- package/dist/esm/bal-date.entry.js +2 -2
- package/dist/esm/bal-datepicker.entry.js +4 -4
- package/dist/esm/bal-doc-app.entry.js +227 -0
- package/dist/esm/bal-dropdown.entry.js +1 -1
- package/dist/esm/bal-file-upload.entry.js +1 -1
- package/dist/esm/bal-footer.entry.js +1 -1
- package/dist/esm/bal-hint_3.entry.js +3 -3
- package/dist/esm/bal-icon.entry.js +1 -1
- package/dist/esm/bal-input-stepper.entry.js +1 -1
- package/dist/esm/bal-list_8.entry.js +4 -4
- package/dist/esm/bal-logo.entry.js +3 -3
- package/dist/esm/bal-nav_8.entry.js +3 -3
- package/dist/esm/bal-navbar_5.entry.js +3 -3
- package/dist/esm/bal-number-input.entry.js +1 -1
- package/dist/esm/bal-pagination.entry.js +3 -3
- package/dist/esm/bal-popover_2.entry.js +3 -3
- package/dist/esm/bal-popup.entry.js +1 -1
- package/dist/esm/bal-progress-bar.entry.js +27 -15
- package/dist/esm/bal-radio_2.entry.js +2 -2
- package/dist/esm/bal-segment-item.entry.js +152 -0
- package/dist/esm/bal-segment.entry.js +315 -0
- package/dist/esm/bal-select_2.entry.js +1 -1
- package/dist/esm/bal-shape.entry.js +1 -1
- package/dist/esm/bal-stack.entry.js +1 -1
- package/dist/esm/bal-steps.entry.js +4 -4
- package/dist/esm/bal-tab-item_2.entry.js +4 -4
- package/dist/esm/baloise-design-system.js +3 -2
- package/dist/esm/{breakpoints.decorator-d0f1affe.js → breakpoints.decorator-a23692af.js} +1 -1
- package/dist/esm/{breakpoints.subject-f57eda2c.js → breakpoints.subject-a9dc38b8.js} +4 -4
- package/dist/esm/{date-38a0b208.js → date-aba2d404.js} +1 -1
- package/dist/esm/{app-globals-b0dd0fc4.js → global-63f4bcec.js} +2 -4
- package/dist/esm/{index.esm-83b1f9c4.js → index.esm-76abd8e3.js} +25 -1
- package/dist/esm/index.js +5 -5
- package/dist/esm/initialize-e216cfe4.js +1 -1
- package/dist/esm/loader.js +3 -2
- package/dist/esm/{tokens.esm-70c16b84.js → tokens.esm-541a5032.js} +1 -1
- package/dist/esm/window-resize.decorator-3ac6f50b.js +46 -0
- package/dist/esm-es5/app-globals-970bab17.js +1 -0
- package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
- package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
- package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
- package/dist/esm-es5/bal-content_2.entry.js +1 -0
- package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
- package/dist/esm-es5/bal-date.entry.js +1 -1
- package/dist/esm-es5/bal-datepicker.entry.js +1 -1
- package/dist/esm-es5/bal-doc-app.entry.js +1 -0
- package/dist/esm-es5/bal-dropdown.entry.js +1 -1
- package/dist/esm-es5/bal-file-upload.entry.js +1 -1
- package/dist/esm-es5/bal-footer.entry.js +1 -1
- package/dist/esm-es5/bal-hint_3.entry.js +1 -1
- package/dist/esm-es5/bal-icon.entry.js +1 -1
- package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
- package/dist/esm-es5/bal-list_8.entry.js +1 -1
- package/dist/esm-es5/bal-logo.entry.js +1 -1
- package/dist/esm-es5/bal-nav_8.entry.js +1 -1
- package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
- package/dist/esm-es5/bal-number-input.entry.js +1 -1
- package/dist/esm-es5/bal-pagination.entry.js +1 -1
- package/dist/esm-es5/bal-popover_2.entry.js +1 -1
- package/dist/esm-es5/bal-popup.entry.js +1 -1
- package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
- package/dist/esm-es5/bal-radio_2.entry.js +1 -1
- package/dist/esm-es5/bal-segment-item.entry.js +1 -0
- package/dist/esm-es5/bal-segment.entry.js +1 -0
- package/dist/esm-es5/bal-select_2.entry.js +1 -1
- package/dist/esm-es5/bal-shape.entry.js +1 -1
- package/dist/esm-es5/bal-stack.entry.js +1 -1
- package/dist/esm-es5/bal-steps.entry.js +1 -1
- package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
- package/dist/esm-es5/baloise-design-system.js +1 -1
- package/dist/esm-es5/breakpoints.decorator-a23692af.js +1 -0
- package/dist/esm-es5/breakpoints.subject-a9dc38b8.js +1 -0
- package/dist/esm-es5/{date-38a0b208.js → date-aba2d404.js} +1 -1
- package/dist/esm-es5/global-63f4bcec.js +1 -0
- package/dist/esm-es5/{index.esm-83b1f9c4.js → index.esm-76abd8e3.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/initialize-e216cfe4.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/window-resize.decorator-3ac6f50b.js +1 -0
- package/dist/html.html-data.json +80 -0
- package/dist/types/components/bal-content/bal-content.interfaces.d.ts +1 -1
- package/dist/types/components/bal-icon/bal-icon.interfaces.d.ts +1 -1
- package/dist/types/components/bal-label/bal-label.d.ts +4 -1
- package/dist/types/components/bal-progress-bar/bal-progress-bar.d.ts +3 -1
- package/dist/types/components/bal-segment/bal-segment-item/bal-segment-item.d.ts +62 -0
- package/dist/types/components/bal-segment/bal-segment.d.ts +111 -0
- package/dist/types/components/bal-segment/bal-segment.interfaces.d.ts +20 -0
- package/dist/types/components/bal-segment/bal-segment.types.d.ts +1 -0
- package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +21 -0
- package/dist/types/components.d.ts +201 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +81 -0
- package/dist/types/interfaces.d.ts +1 -0
- package/dist/types/utils/resize/index.d.ts +4 -1
- package/dist/types/utils/resize/window-resize.decorator.d.ts +3 -0
- package/dist/types/utils/resize/window-resize.interfaces.d.ts +5 -0
- package/dist/types/utils/resize/window-resize.listener.d.ts +1 -1
- package/dist/types/utils/resize/window-resize.subject.d.ts +9 -0
- package/package.json +8 -8
- package/dist/baloise-design-system/p-0d69371467.entry.js +0 -1
- package/dist/baloise-design-system/p-126c79c9e9.system.entry.js +0 -1
- package/dist/baloise-design-system/p-2d8bd11634.entry.js +0 -1
- package/dist/baloise-design-system/p-77ccb1f4.system.js +0 -1
- package/dist/baloise-design-system/p-88493e9537.system.entry.js +0 -1
- package/dist/baloise-design-system/p-886bedebf9.entry.js +0 -1
- package/dist/baloise-design-system/p-8a87b9a8.system.js +0 -1
- package/dist/baloise-design-system/p-bcca1ed3.system.js +0 -1
- package/dist/baloise-design-system/p-c69783ee18.entry.js +0 -1
- package/dist/baloise-design-system/p-d585a3ad56.system.entry.js +0 -1
- package/dist/baloise-design-system/p-e71a27141c.entry.js +0 -1
- package/dist/baloise-design-system/p-e78a6409.js +0 -1
- package/dist/baloise-design-system/p-e851f284.js +0 -1
- package/dist/baloise-design-system/p-e93d9571f5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ecd39e3bec.entry.js +0 -1
- package/dist/baloise-design-system/p-f076d1ed4f.system.entry.js +0 -1
- package/dist/cjs/bal-content.cjs.entry.js +0 -56
- package/dist/esm-es5/app-globals-b0dd0fc4.js +0 -1
- package/dist/esm-es5/bal-content.entry.js +0 -1
- package/dist/esm-es5/bal-label.entry.js +0 -1
- package/dist/esm-es5/breakpoints.decorator-d0f1affe.js +0 -1
- package/dist/esm-es5/breakpoints.subject-f57eda2c.js +0 -1
- /package/dist/baloise-design-system/{p-83486137.system.js → p-08aebcfa.system.js} +0 -0
- /package/dist/baloise-design-system/{p-ec4875a2.js → p-7847862b.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-70c16b84.js → tokens.esm-541a5032.js} +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SingleSubject } from '../types/signal';
|
|
2
|
+
import { BalWindowResizeObserver } from './window-resize.interfaces';
|
|
3
|
+
export declare class BalWindowResizeSubject extends SingleSubject<BalWindowResizeObserver> {
|
|
4
|
+
private listener;
|
|
5
|
+
constructor();
|
|
6
|
+
attach(observer: BalWindowResizeObserver): void;
|
|
7
|
+
detach(): void;
|
|
8
|
+
}
|
|
9
|
+
export declare const balWindowResizeSubject: BalWindowResizeSubject;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baloise/ds-core",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.5.0-nightly.20240919",
|
|
4
4
|
"description": "The Baloise Design-System is an open source project for styling awesome web applications that follow the Baloise corporate styling guidelines.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"test:ui": "vitest --ui"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@baloise/ds-styles": "16.
|
|
32
|
-
"@baloise/ds-icons": "16.
|
|
33
|
-
"@baloise/web-app-utils": "3.
|
|
31
|
+
"@baloise/ds-styles": "16.5.0-nightly.20240919",
|
|
32
|
+
"@baloise/ds-icons": "16.5.0-nightly.20240919",
|
|
33
|
+
"@baloise/web-app-utils": "3.15.0",
|
|
34
34
|
"@floating-ui/dom": "~1.6.3",
|
|
35
35
|
"@popperjs/core": "~2.11.4",
|
|
36
36
|
"@stencil/core": "4.11.0",
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
"@baloise/output-target-react": "0.0.0",
|
|
55
55
|
"@baloise/output-target-vue": "0.0.0",
|
|
56
56
|
"@baloise/output-target-web": "0.0.0",
|
|
57
|
-
"@baloise/ds-css": "16.
|
|
58
|
-
"@baloise/ds-maps": "16.
|
|
59
|
-
"@baloise/ds-brand-icons": "16.
|
|
60
|
-
"@baloise/ds-favicons": "16.
|
|
57
|
+
"@baloise/ds-css": "16.5.0-nightly.20240919",
|
|
58
|
+
"@baloise/ds-maps": "16.5.0-nightly.20240919",
|
|
59
|
+
"@baloise/ds-brand-icons": "16.5.0-nightly.20240919",
|
|
60
|
+
"@baloise/ds-favicons": "16.5.0-nightly.20240919"
|
|
61
61
|
},
|
|
62
62
|
"sideEffects": false
|
|
63
63
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,c as o,h as e,H as b,g as c}from"./p-d7c752c6.js";import{_ as l,a as r}from"./p-43c9f5e9.js";import{s as i,c as d,d as h}from"./p-ad9a7657.js";import{i as t,p as k}from"./p-88f18fbc.js";import{i as x}from"./p-dd5e13d1.js";import{B as s}from"./p-ae86d0a0.js";import{e as n,o as _}from"./p-94efe2aa.js";import{L as v}from"./p-b77e3348.js";import{F as u}from"./p-ca119357.js";import{d as g}from"./p-f385e205.js";import{a as f}from"./p-d9b38501.js";import{L as w}from"./p-49fe011f.js";import{L as p}from"./p-3231863d.js";import"./p-a65354df.js";import"./p-2229e98e.js";import"./p-aafb6696.js";import"./p-9a3d9e17.js";import"./p-4573c419.js";import"./p-acf222fd.js";const m=class{constructor(e){a(this,e),this.balFocus=o(this,"balFocus",7),this.balBlur=o(this,"balBlur",7),this.balChange=o(this,"balChange",7),this.inputId="bal-cb-"+y++,this.inheritedAttributes={},this.keyboardMode=!0,this.initialValue=!1,this.onKeypress=a=>{if(n(a)){const o=a.target;if(o.href)return;"INPUT"!==o.nodeName||this.disabled||this.readonly?i(a):(this.toggleChecked(),a.preventDefault())}},this.onClick=a=>{var o;const e=a.target;e.href||(this.wasFocused&&(this.focused=!0),"INPUT"===e.nodeName||this.disabled||this.readonly?i(a):(this.toggleChecked(),null===(o=this.nativeInput)||void 0===o||o.focus(),a.preventDefault()))},this.onFocus=a=>{if(this.disabled||this.readonly)return this.focused=!1,i(a);this.balFocus.emit(a),this.keyboardMode&&(this.focused=!0,this.wasFocused=!0)},this.onBlur=a=>{if(this.disabled||this.readonly)return i(a);this.balBlur.emit(a),this.focused=!1},this.onPointerDown=()=>this.keyboardMode=!1,this.onKeydown=a=>{n(a)||(this.wasFocused=!1),this.keyboardMode=u.includes(a.key)},this.hasLabel=!0,this.focused=!1,this.buttonTabindex=void 0,this.ariaForm=g,this.wasFocused=!1,this.name=this.inputId,this.label="",this.invisible=!1,this.labelHidden=!1,this.flat=!1,this.inline=!1,this.interface="checkbox",this.value="on",this.checked=!1,this.disabled=!1,this.readonly=!1,this.required=!1,this.autoInvalidOff=!1,this.nonSubmit=!1,this.invalid=!1,this.hovered=!1,this.pressed=!1}createLogger(a){this.log=a}connectedCallback(){const a=this.group;(this.checkboxButton||a)&&this.updateState(),a&&a.addEventListener("balChange",(()=>this.updateState())),this.initialValue=this.checked,this.el.addEventListener("keydown",this.onKeydown),this.el.addEventListener("touchstart",this.onPointerDown),this.el.addEventListener("mousedown",this.onPointerDown)}componentWillLoad(){this.inheritedAttributes=x(this.el,["aria-label","tabindex","title"])}disconnectedCallback(){this.group&&this.group.removeEventListener("balChange",(()=>this.updateState())),this.el.removeEventListener("keydown",this.onKeydown),this.el.removeEventListener("touchstart",this.onPointerDown),this.el.removeEventListener("mousedown",this.onPointerDown)}listenOnClick(a){(this.disabled||this.readonly)&&a.target&&(a.target===this.el||t(this.el,a.target))&&i(a)}resetHandler(a){const o=a.target;(null==o?void 0:o.contains(this.el))&&(this.checked=this.initialValue)}async setFocus(){d(this)}async setBlur(){h(this)}getInputElement(){return Promise.resolve(this.nativeInput)}async getOption(){return this.option}async setButtonTabindex(a){this.buttonTabindex=this.checkboxButton?-1:a}async updateState(){if(this.group&&this.group.control&&Array.isArray(this.group.value)){const a=this.group.value.includes(this.value);a!==this.checked&&(this.checked=a)}this.checkboxButton&&(this.buttonTabindex=-1,this.checkboxButton.setChecked&&this.checkboxButton.setChecked(this.checked))}async setAriaForm(a){this.ariaForm=Object.assign({},a)}get option(){return{name:this.name,value:this.value,checked:this.checked,label:this.label,labelHidden:this.labelHidden,flat:this.flat,interface:this.interface,disabled:this.disabled,readonly:this.readonly,required:this.required,nonSubmit:this.nonSubmit,invisible:this.invisible,invalid:this.invalid}}get group(){return this.el.closest("bal-checkbox-group")}get checkboxButton(){return this.el.closest("bal-checkbox-button")}toggleChecked(){this.checked=!this.checked,this.balChange.emit(this.checked)}render(){const a=s.block("radio-checkbox"),o=a.element("input"),c=a.element("label"),l=c.element("text"),r=this.focused&&-1!==this.buttonTabindex,i=this.inheritedAttributes;void 0!==this.buttonTabindex&&(i.tabIndex=this.buttonTabindex);const d=this.ariaForm.controlId||this.inputId;let h=this.ariaForm.labelId||null;const t=this.labelHidden?"span":"label",k={};return this.labelHidden||(h=`${h||""} ${d}-lbl`.trim(),k.id=`${d}-lbl`,k.htmlFor=d),e(b,{"aria-checked":`${this.checked}`,"aria-disabled":f(this.disabled),"aria-hidden":f(this.disabled||this.nonSubmit),"aria-focused":r?"true":null,class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({"bal-focused":r},a.class()),a.modifier("checkbox").class()),a.modifier("select-button").class("select-button"===this.interface)),a.modifier("switch").class("switch"===this.interface)),a.modifier("focused").class(this.focused)),a.modifier("invalid").class(this.invalid)),a.modifier("checked").class(this.checked)),a.modifier("invisible").class(this.invisible)),a.modifier("flat").class(this.flat)),a.modifier("disabled").class(this.disabled||this.readonly)),a.modifier("hovered").class(this.hovered)),a.modifier("pressed").class(this.pressed)),a.modifier("inline").class(this.inline)),onKeypress:this.onKeypress,onClick:this.onClick},e("input",Object.assign({class:Object.assign(Object.assign({},o.class()),o.modifier("select-button").class("select-button"===this.interface)),"data-testid":"bal-checkbox-input",type:"checkbox",id:d,"aria-labelledby":h,"aria-describedby":this.ariaForm.messageId,"aria-invalid":!0===this.invalid?"true":"false","aria-disabled":f(this.disabled),"aria-checked":`${this.checked}`,"aria-hidden":f(this.nonSubmit),name:this.name,value:this.value,checked:this.checked,disabled:this.disabled||this.nonSubmit,readonly:this.readonly,required:this.required,onFocus:this.onFocus,onBlur:this.onBlur,ref:a=>this.nativeInput=a},i)),this.invisible?"":e(t,Object.assign({class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},c.class()),c.modifier("checkbox").class()),c.modifier("checked").class(this.checked)),c.modifier("hidden").class(this.labelHidden)),c.modifier("flat").class(this.flat)),c.modifier("switch").class("switch"===this.interface))},k,{"data-testid":"bal-checkbox-label"}),e("span",{class:Object.assign(Object.assign(Object.assign({},l.class()),l.modifier("hidden").class(this.labelHidden)),l.modifier("flat").class(this.flat)),"data-testid":"bal-checkbox-text"},this.label,e("slot",null))))}get el(){return c(this)}};l([v("bal-checkbox"),r("design:type",Function),r("design:paramtypes",[Function]),r("design:returntype",void 0)],m.prototype,"createLogger",null);let y=0;m.style='@media (hover: hover)and (pointer: fine){.bal-radio-checkbox.bal-focused .bal-radio-checkbox__input:not(.bal-radio-checkbox__input--select-button)+.bal-radio-checkbox__label::before,.bal-radio-checkbox.bal-focused.bal-radio-checkbox--select-button{-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}:root{--bal-radio-checkbox-symbol-size:1.5rem;--bal-radio-checkbox-symbol-width:calc(0.5rem - 1px);--bal-radio-checkbox-symbol-height:calc(0.875rem - 1px);--bal-radio-checkbox-symbol-left:calc(0.5rem + 1px);--bal-radio-checkbox-symbol-margin-top:0.25rem;--bal-radio-checkbox-label-min-height:1.5rem;--bal-radio-checkbox-select-button-background-hover:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-active:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-checked:var(--bal-color-primary);--bal-radio-checkbox-select-button-background-checked-hover:var(--bal-color-light-blue-5);--bal-radio-checkbox-select-button-background-checked-active:var(--bal-color-primary-6);--bal-radio-checkbox-select-button-background-invalid:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-hover:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-active:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-checked:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-background-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-background-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-background-disabled-hover-active:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-before:var(--bal-color-primary-1);--bal-radio-checkbox-switch-label-background-after:var(--bal-color-primary);--bal-radio-checkbox-switch-label-background-hover-after:var(--bal-color-light-blue-5);--bal-radio-checkbox-switch-label-background-active-after:var(--bal-color-primary-6);--bal-radio-checkbox-switch-label-background-checked-before:var(--bal-color-success-4);--bal-radio-checkbox-switch-label-background-checked-after:var(--bal-color-white);--bal-radio-checkbox-switch-label-background-checked-hover-before:var(--bal-color-success-5);--bal-radio-checkbox-switch-label-background-checked-active-before:var(--bal-color-success-6);--bal-radio-checkbox-switch-label-background-invalid-before:var(--bal-color-danger-1);--bal-radio-checkbox-switch-label-background-invalid-after:var(--bal-color-border-danger);--bal-radio-checkbox-switch-label-background-invalid-hover-after:var(--bal-color-danger-6);--bal-radio-checkbox-switch-label-background-invalid-active-after:var(--bal-color-border-danger);--bal-radio-checkbox-switch-label-background-invalid-checked-before:var(--bal-color-danger-4);--bal-radio-checkbox-switch-label-background-invalid-checked-after:var(--bal-color-white);--bal-radio-checkbox-switch-label-background-invalid-checked-hover-before:var(--bal-color-danger-5);--bal-radio-checkbox-switch-label-background-invalid-checked-active-before:var(--bal-color-danger-6);--bal-radio-checkbox-switch-label-background-disabled-hover-active-before:var(--bal-color-grey-3);--bal-radio-checkbox-switch-label-background-disabled-hover-active-after:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-before:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-after:var(--bal-color-white);--bal-radio-checkbox-button-background:transparent;--bal-radio-checkbox-button-background-checked-green:var(--bal-color-green-1);--bal-radio-checkbox-button-background-checked-purple:var(--bal-color-purple-1);--bal-radio-checkbox-button-background-checked-red:var(--bal-color-red-1);--bal-radio-checkbox-button-background-checked-yellow:var(--bal-color-yellow-1);--bal-radio-checkbox-button-background-disabled:var(--bal-color-grey-1);--bal-radio-checkbox-button-background-hover:var(--bal-color-grey-1);--bal-radio-checkbox-select-button-border-color:var(--bal-color-primary);--bal-radio-checkbox-select-button-border-color-hover:var(--bal-color-light-blue-5);--bal-radio-checkbox-select-button-border-color-active:var(--bal-color-primary-6);--bal-radio-checkbox-select-button-border-color-invalid:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-border-color-invalid-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-border-color-invalid-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-border-color-invalid-checked:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-border-color-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-border-color-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-border-color-disabled-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-select-button-border-color-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-button-border-color-hover:var(--bal-color-border-primary-hovered);--bal-radio-checkbox-button-border-color-active:var(--bal-color-border-primary-pressed);--bal-radio-checkbox-button-border-color-invalid-hover:var(--bal-color-border-danger-hovered);--bal-radio-checkbox-button-border-color-invalid-active:var(--bal-color-border-danger-pressed);--bal-radio-checkbox-button-border-color:var(--bal-color-border);--bal-radio-checkbox-button-border-color-checked:var(--bal-color-border-primary);--bal-radio-checkbox-button-border-color-disabled:var(--bal-color-border-grey-dark);--bal-radio-checkbox-button-border-color-invalid:var(--bal-color-border-danger)}bal-radio .bal-radio-checkbox__label::before,bal-radio .bal-radio-checkbox__label::after{margin-top:0px !important}.bal-radio-checkbox-group{display:inline-block;position:relative;width:100%}.bal-radio-checkbox-group__inner{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:stretch;align-items:stretch;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--bal-space-normal)}.bal-radio-checkbox-group__inner--select-button{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex:1;flex:1;gap:var(--bal-space-x-small)}@media screen and (min-width: 769px),print{.bal-radio-checkbox-group__inner--select-button{-ms-flex-direction:row;flex-direction:row}}.bal-radio-checkbox-group__inner--expanded{-ms-flex-align:stretch;align-items:stretch}.bal-radio-checkbox-group__inner--expanded .bal-radio-checkbox{-ms-flex:1;flex:1}@media screen and (max-width: 768px){.bal-radio-checkbox-group__inner--expanded .bal-radio-checkbox{width:100%}}.bal-radio-checkbox-group__inner--select-button.bal-radio-checkbox-group__inner--vertical{gap:var(--bal-space-x-small)}.bal-radio-checkbox-group__inner--vertical{-ms-flex-direction:column;flex-direction:column;border-radius:var(--bal-radius-normal);gap:0}@media screen and (min-width: 769px),print{.bal-radio-checkbox-group__inner--vertical{-ms-flex-align:start;align-items:flex-start}}@media screen and (max-width: 768px){.bal-radio-checkbox-group__inner--vertical-mobile{-ms-flex-direction:column;flex-direction:column;border-radius:var(--bal-radius-normal);gap:0}}.bal-radio-checkbox{position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;outline:none;min-width:1.5rem;min-height:3rem}.bal-radio-checkbox--flat:not(.bal-radio-checkbox--select-button){min-height:1.5rem}.bal-radio-checkbox__input{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden}.bal-radio-checkbox--invisible{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden}.bal-radio-checkbox:not(.bal-radio-checkbox--disabled),.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input,.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input+label,.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input+label>span{cursor:pointer}.bal-radio-checkbox__label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:0;line-height:1.5rem;contain:layout style;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:left;min-height:var(--bal-radio-checkbox-label-min-height);font-family:var(--bal-font-family-text)}.bal-radio-checkbox__label__text{padding-left:2rem;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;padding-top:.25rem;padding-bottom:.25rem}.bal-radio-checkbox__label__text--hidden{padding-left:0;display:none}.bal-radio-checkbox__label__text--flat{padding-top:0;padding-bottom:0}.bal-radio-checkbox__label--flat:not(.bal-radio-checkbox--select-button)::before,.bal-radio-checkbox__label--flat:not(.bal-radio-checkbox--select-button)::after{top:0px !important}.bal-radio-checkbox__label--hidden::before,.bal-radio-checkbox__label--hidden::after{top:0px !important}.bal-radio-checkbox__label::before,.bal-radio-checkbox__label::after{display:inline-block;position:absolute;left:0;top:.25rem;height:var(--bal-radio-checkbox-symbol-size);width:var(--bal-radio-checkbox-symbol-size);background-color:rgba(0,0,0,0);background-position:center;background-repeat:no-repeat;background-size:var(--bal-radio-checkbox-symbol-size) var(--bal-radio-checkbox-symbol-size)}.bal-radio-checkbox__label::before{content:"";border-style:var(--bal-form-field-control-border-style);border-width:2px}.bal-radio-checkbox__label::after{content:none}.bal-radio-checkbox__label--checked::after{content:""}.bal-radio-checkbox__label--radio::before,.bal-radio-checkbox__label--radio::after{border-radius:50%}.bal-radio-checkbox__label--radio::after{left:0;-webkit-transform:scale(0.25);transform:scale(0.25)}.bal-radio-checkbox__label--checkbox::before{border-radius:var(--bal-form-field-control-radius)}.bal-radio-checkbox__label--checkbox::after{border-top:0;border-right-style:var(--bal-form-field-control-border-style);border-right-width:2px;border-bottom-style:var(--bal-form-field-control-border-style);border-bottom-width:2px;border-left:0;border-radius:1px;width:var(--bal-radio-checkbox-symbol-width);height:var(--bal-radio-checkbox-symbol-height);left:var(--bal-radio-checkbox-symbol-left);margin-top:var(--bal-radio-checkbox-symbol-margin-top);-webkit-transform:rotate(45deg);transform:rotate(45deg)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-primary);background:var(--bal-color-transparent)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-light-blue-5);background:var(--bal-color-grey-2)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-blue-6);background:var(--bal-color-grey-2)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-border-danger);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-danger-5);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-danger-6);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-border-grey-dark);background:var(--bal-color-grey-2)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-primary)}.bal-radio-checkbox:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-light-blue-5)}.bal-radio-checkbox:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-blue-6)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-danger-6)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-text-grey)}.bal-radio-checkbox--inline{display:inline}.bal-radio-checkbox--select-button{padding-left:.75rem;padding-right:.75rem;min-width:3rem;border-width:2px;border-style:var(--bal-form-field-control-border-style);border-radius:var(--bal-form-field-control-radius);border-color:var(--bal-radio-checkbox-select-button-border-color)}.bal-radio-checkbox--select-button:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-hover);background:var(--bal-radio-checkbox-select-button-background-hover)}.bal-radio-checkbox--select-button:active{border-color:var(--bal-radio-checkbox-select-button-border-color-active);background:var(--bal-radio-checkbox-select-button-background-active)}.bal-radio-checkbox--select-button label::before{top:unset}.bal-radio-checkbox--select-button label::after{top:unset;margin-top:-3px}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat::before{top:unset !important}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat::after{margin-top:-3px;top:unset !important}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat .bal-radio-checkbox__label__text--flat{padding-top:.25rem;padding-bottom:.25rem}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked{background:var(--bal-radio-checkbox-select-button-background-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-radio-checkbox-select-button-link-text-color-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover{background:var(--bal-radio-checkbox-select-button-background-checked-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active{background:var(--bal-radio-checkbox-select-button-background-checked-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid);background:var(--bal-radio-checkbox-select-button-background-invalid)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-form-field-label-danger-color)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-hover);background:var(--bal-radio-checkbox-select-button-background-invalid-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid:active{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-active);background:var(--bal-radio-checkbox-select-button-background-invalid-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked);background:var(--bal-radio-checkbox-select-button-background-invalid-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked-hover);background:var(--bal-radio-checkbox-select-button-background-invalid-checked-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked-active);background:var(--bal-radio-checkbox-select-button-background-invalid-checked-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:hover,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:active{border-color:var(--bal-radio-checkbox-select-button-border-color-disabled-hover-active);background:var(--bal-radio-checkbox-select-button-background-disabled-hover-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-form-field-label-disabled-color)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active{border-color:var(--bal-radio-checkbox-select-button-border-color-disabled-checked-hover-active);background:var(--bal-radio-checkbox-select-button-background-disabled-checked-hover-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--switch{min-width:2.5rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label{padding-left:1rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label::before{border-radius:1.5rem;position:absolute;display:block;top:0;left:0;width:2.5rem;height:1.5rem;border:1.6px solid rgba(0,0,0,0);content:"";-webkit-transition:left .25s ease-out,background .25s ease-out;transition:left .25s ease-out,background .25s ease-out;margin-top:.25rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label::after{border:none;margin:0;border-radius:50%;display:block;position:absolute;top:.25rem !important;left:.25rem;width:1rem;height:1rem;margin-top:.25rem;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:left .25s ease-out,background .25s ease-out;transition:left .25s ease-out,background .25s ease-out;content:""}.bal-radio-checkbox--switch .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-before)}.bal-radio-checkbox--switch .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-after)}.bal-radio-checkbox--switch:hover .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-hover-after)}.bal-radio-checkbox--switch:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked .bal-radio-checkbox__label::after{left:1.25rem;background:var(--bal-radio-checkbox-switch-label-background-checked-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-hover-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-hover-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-hover-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-disabled-hover-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-disabled-hover-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-after)}';const j=class{constructor(e){a(this,e),this.balChange=o(this,"balChange",7),this.balFocus=o(this,"balFocus",7),this.balBlur=o(this,"balBlur",7),this.inputId="bal-cg-"+O++,this.inheritedAttributes={},this.hasFocus=!1,this.mutationObserverActive=!0,this.onClick=a=>{if(!this.control)return;if(a.target.href)return;a.preventDefault();const o=a.target&&a.target.closest("bal-checkbox");if(o&&(o.disabled||o.readonly))return a.stopPropagation();const e=[];this.getCheckboxes().forEach((a=>{a.checked&&e.push(a.value)})),_(this.value,e)||(this.value=[...e],this.balChange.emit(this.value))},this.onOptionChange=async()=>{this.sync()},this.ariaForm=g,this.options=void 0,this.interface=void 0,this.control=!1,this.name=this.inputId,this.vertical=!1,this.verticalOnMobile=!1,this.expanded=!1,this.invalid=void 0,this.disabled=void 0,this.readonly=void 0,this.value=[],this.columns=1,this.columnsTablet=1,this.columnsMobile=1,this.autoInvalidOff=!1}createLogger(a){this.log=a}async optionChanged(){this.control&&(this.onOptionChange(),this.mutationObserverActive=void 0===this.options)}invalidChanged(a){this.control&&void 0!==a&&(this.getCheckboxes().forEach((o=>{o.invalid=a})),this.getCheckboxButtons().forEach((o=>{o.invalid=a})))}disabledChanged(a){this.control&&void 0!==a&&(this.getCheckboxes().forEach((o=>{o.disabled=a})),this.getCheckboxButtons().forEach((o=>{o.disabled=a})))}readonlyChanged(a){this.control&&void 0!==a&&(this.getCheckboxes().forEach((o=>{o.readonly=a})),this.getCheckboxButtons().forEach((o=>{o.readonly=a})))}valueChanged(a,o){this.control&&_(this.value,o)||this.onOptionChange()}columnsChanged(a){this.getCheckboxButtons().forEach((o=>o.colSize=a))}columnsTabletChanged(a){this.getCheckboxButtons().forEach((o=>o.colSizeTablet=a))}columnsMobileChanged(a){this.getCheckboxButtons().forEach((o=>o.colSizeMobile=a))}connectedCallback(){this.control&&(this.mutationObserverActive=void 0===this.options)}componentWillLoad(){this.control&&(this.inheritedAttributes=x(this.el,["aria-label","tabindex","title"]),this.disabledChanged(this.disabled),this.readonlyChanged(this.readonly)),this.columnsChanged(this.columns),this.columnsTabletChanged(this.columnsTablet),this.columnsMobileChanged(this.columnsMobile),this.onOptionChange()}focusInListener(a){this.balFocus.emit(a)}focusOutListener(a){this.balBlur.emit(a)}mutationListener(){this.control&&(this.disabledChanged(this.disabled),this.readonlyChanged(this.readonly)),this.columnsChanged(this.columns),this.columnsTabletChanged(this.columnsTablet),this.columnsMobileChanged(this.columnsMobile),this.onOptionChange()}listenOnClick(a){this.control&&t(this.el,a.target)&&i(a)}resetHandler(a){const o=a.target;(null==o?void 0:o.contains(this.el))&&(this.control&&(this.value=[]),this.onOptionChange())}checkboxFocusListener(a){const{target:o}=a;o&&t(this.el,o)&&k(o,"bal-checkbox")&&i(a)}checkboxBlurListener(a){const{target:o}=a;o&&t(this.el,o)&&k(o,"bal-checkbox")&&i(a)}async setValue(a){this.control&&(this.value=a)}async getOptionByValue(a){const o=this.options;if(o)return o.find((o=>o.value===a))}async setAriaForm(a){this.ariaForm=Object.assign({},a)}sync(){if(this.control){const a=a=>{for(let o=0;o<this.value.length;o++){const e=this.value[o];if(void 0!==e&&e.toString()===a.value.toString())return!0}return!1};this.getCheckboxes().forEach((o=>{o.checked=a(o)}))}this.getCheckboxes().forEach((a=>{this.interface&&(a.interface=this.interface)}))}getCheckboxes(){return Array.from(this.el.querySelectorAll("bal-checkbox"))}getCheckboxButtons(){return Array.from(this.el.querySelectorAll("bal-checkbox-button"))}render(){const a=s.block("radio-checkbox-group"),o=a.element("inner"),c=(this.options||[]).map((a=>"function"==typeof a.html?Object.assign(Object.assign({},a),{html:a.html()}):a));return e(b,Object.assign({class:Object.assign({},a.class()),role:"group","aria-disabled":this.disabled?"true":null,"aria-labelledby":this.ariaForm.labelId,"aria-describedby":this.ariaForm.messageId,onClick:this.onClick},this.inheritedAttributes),e("div",{class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},o.class()),o.modifier("vertical-mobile").class(this.verticalOnMobile)),o.modifier("vertical").class(this.vertical)),o.modifier("expanded").class(this.expanded)),o.modifier("select-button").class("select-button"===this.interface))},e("slot",null),c.map((a=>e("bal-checkbox",{key:a.value,name:a.name,value:a.value,labelHidden:a.labelHidden,flat:a.flat,interface:a.interface,disabled:a.disabled,readonly:a.readonly,required:a.required,nonSubmit:!!a.nonSubmit,invalid:a.invalid,innerHTML:a.html})))))}get el(){return c(this)}static get watchers(){return{options:["optionChanged"],invalid:["invalidChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"],value:["valueChanged"],columns:["columnsChanged"],columnsTablet:["columnsTabletChanged"],columnsMobile:["columnsMobileChanged"]}}};l([v("bal-checkbox-group"),r("design:type",Function),r("design:paramtypes",[Function]),r("design:returntype",void 0)],j.prototype,"createLogger",null),l([w(),r("design:type",Function),r("design:paramtypes",[FocusEvent]),r("design:returntype",void 0)],j.prototype,"focusInListener",null),l([w(),r("design:type",Function),r("design:paramtypes",[FocusEvent]),r("design:returntype",void 0)],j.prototype,"focusOutListener",null),l([p({tags:["bal-checkbox-group","bal-checkbox"],attributes:!1,characterData:!1}),r("design:type",Function),r("design:paramtypes",[]),r("design:returntype",void 0)],j.prototype,"mutationListener",null);let O=0;export{m as bal_checkbox,j as bal_checkbox_group}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(i,r,n,e){function a(i){return i instanceof n?i:new n((function(r){r(i)}))}return new(n||(n=Promise))((function(n,t){function o(i){try{l(e.next(i))}catch(i){t(i)}}function c(i){try{l(e["throw"](i))}catch(i){t(i)}}function l(i){i.done?n(i.value):a(i.value).then(o,c)}l((e=e.apply(i,r||[])).next())}))};var __generator=this&&this.__generator||function(i,r){var n={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},e,a,t,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(i){return function(r){return l([i,r])}}function l(c){if(e)throw new TypeError("Generator is already executing.");while(o&&(o=0,c[0]&&(n=0)),n)try{if(e=1,a&&(t=c[0]&2?a["return"]:c[0]?a["throw"]||((t=a["return"])&&t.call(a),0):a.next)&&!(t=t.call(a,c[1])).done)return t;if(a=0,t)c=[c[0]&2,t.value];switch(c[0]){case 0:case 1:t=c;break;case 4:n.label++;return{value:c[1],done:false};case 5:n.label++;a=c[1];c=[0];continue;case 7:c=n.ops.pop();n.trys.pop();continue;default:if(!(t=n.trys,t=t.length>0&&t[t.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!t||c[1]>t[0]&&c[1]<t[3])){n.label=c[1];break}if(c[0]===6&&n.label<t[1]){n.label=t[1];t=c;break}if(t&&n.label<t[2]){n.label=t[2];n.ops.push(c);break}if(t[2])n.ops.pop();n.trys.pop();continue}c=r.call(i,n)}catch(i){c=[6,i];a=0}finally{e=t=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};System.register(["./p-456fc561.system.js","./p-6dbef894.system.js","./p-2880433e.system.js","./p-db0895e2.system.js","./p-bb6304d0.system.js","./p-0177e3a0.system.js","./p-23bdd8dc.system.js","./p-a1f6e944.system.js","./p-b3f2c626.system.js","./p-145d5c4e.system.js"],(function(i){"use strict";var r,n,e,a,t,o,c,l,s;return{setters:[function(i){r=i.r;n=i.h;e=i.H},function(i){a=i._;t=i.a},function(i){o=i.c},function(i){c=i.B},function(i){l=i.d},function(i){s=i.L},function(){},function(){},function(){},function(){}],execute:function(){var u=1/0;var f="[object Symbol]";var b="\\ud800-\\udfff",d="\\u0300-\\u036f\\ufe20-\\ufe23",g="\\u20d0-\\u20f0",h="\\ufe0e\\ufe0f";var v="["+b+"]",m="["+d+g+"]",p="\\ud83c[\\udffb-\\udfff]",x="(?:"+m+"|"+p+")",y="[^"+b+"]",w="(?:\\ud83c[\\udde6-\\uddff]){2}",k="[\\ud800-\\udbff][\\udc00-\\udfff]",j="\\u200d";var O=x+"?",_="["+h+"]?",E="(?:"+j+"(?:"+[y,w,k].join("|")+")"+_+O+")*",A=_+O+E,U="(?:"+[y+m+"?",m,w,k,v].join("|")+")";var I=RegExp(p+"(?="+p+")|"+U+A,"g");var R=RegExp("["+j+b+d+g+h+"]");var S=typeof o=="object"&&o&&o.Object===Object&&o;var z=typeof self=="object"&&self&&self.Object===Object&&self;var Z=S||z||Function("return this")();function C(i){return i.split("")}function L(i){return R.test(i)}function T(i){return L(i)?G(i):C(i)}function G(i){return i.match(I)||[]}var N=Object.prototype;var D=N.toString;var F=Z.Symbol;var H=F?F.prototype:undefined,Y=H?H.toString:undefined;function J(i,r,n){var e=-1,a=i.length;if(r<0){r=-r>a?0:a+r}n=n>a?a:n;if(n<0){n+=a}a=r>n?0:n-r>>>0;r>>>=0;var t=Array(a);while(++e<a){t[e]=i[e+r]}return t}function M(i){if(typeof i=="string"){return i}if(V(i)){return Y?Y.call(i):""}var r=i+"";return r=="0"&&1/i==-u?"-0":r}function P(i,r,n){var e=i.length;n=n===undefined?e:n;return!r&&n>=e?i:J(i,r,n)}function $(i){return function(r){r=W(r);var n=L(r)?T(r):undefined;var e=n?n[0]:r.charAt(0);var a=n?P(n,1).join(""):r.slice(1);return e[i]()+a}}function K(i){return!!i&&typeof i=="object"}function V(i){return typeof i=="symbol"||K(i)&&D.call(i)==f}function W(i){return i==null?"":M(i)}var q=$("toUpperCase");var B=q;var Q=1/0;var X="[object Symbol]";var ii=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var ri=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;var ni="\\ud800-\\udfff",ei="\\u0300-\\u036f\\ufe20-\\ufe23",ai="\\u20d0-\\u20f0",ti="\\u2700-\\u27bf",oi="a-z\\xdf-\\xf6\\xf8-\\xff",ci="\\xac\\xb1\\xd7\\xf7",li="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",si="\\u2000-\\u206f",ui=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",fi="A-Z\\xc0-\\xd6\\xd8-\\xde",bi="\\ufe0e\\ufe0f",di=ci+li+si+ui;var gi="['’]",hi="["+ni+"]",vi="["+di+"]",mi="["+ei+ai+"]",pi="\\d+",xi="["+ti+"]",yi="["+oi+"]",wi="[^"+ni+di+pi+ti+oi+fi+"]",ki="\\ud83c[\\udffb-\\udfff]",ji="(?:"+mi+"|"+ki+")",Oi="[^"+ni+"]",_i="(?:\\ud83c[\\udde6-\\uddff]){2}",Ei="[\\ud800-\\udbff][\\udc00-\\udfff]",Ai="["+fi+"]",Ui="\\u200d";var Ii="(?:"+yi+"|"+wi+")",Ri="(?:"+Ai+"|"+wi+")",Si="(?:"+gi+"(?:d|ll|m|re|s|t|ve))?",zi="(?:"+gi+"(?:D|LL|M|RE|S|T|VE))?",Zi=ji+"?",Ci="["+bi+"]?",Li="(?:"+Ui+"(?:"+[Oi,_i,Ei].join("|")+")"+Ci+Zi+")*",Ti=Ci+Zi+Li,Gi="(?:"+[xi,_i,Ei].join("|")+")"+Ti,Ni="(?:"+[Oi+mi+"?",mi,_i,Ei,hi].join("|")+")";var Di=RegExp(gi,"g");var Fi=RegExp(mi,"g");var Hi=RegExp(ki+"(?="+ki+")|"+Ni+Ti,"g");var Yi=RegExp([Ai+"?"+yi+"+"+Si+"(?="+[vi,Ai,"$"].join("|")+")",Ri+"+"+zi+"(?="+[vi,Ai+Ii,"$"].join("|")+")",Ai+"?"+Ii+"+"+Si,Ai+"+"+zi,pi,Gi].join("|"),"g");var Ji=RegExp("["+Ui+ni+ei+ai+bi+"]");var Mi=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Pi={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"ss"};var $i=typeof o=="object"&&o&&o.Object===Object&&o;var Ki=typeof self=="object"&&self&&self.Object===Object&&self;var Vi=$i||Ki||Function("return this")();function Wi(i,r,n,e){var a=-1,t=i?i.length:0;if(e&&t){n=i[++a]}while(++a<t){n=r(n,i[a],a,i)}return n}function qi(i){return i.split("")}function Bi(i){return i.match(ii)||[]}function Qi(i){return function(r){return i==null?undefined:i[r]}}var Xi=Qi(Pi);function ir(i){return Ji.test(i)}function rr(i){return Mi.test(i)}function nr(i){return ir(i)?er(i):qi(i)}function er(i){return i.match(Hi)||[]}function ar(i){return i.match(Yi)||[]}var tr=Object.prototype;var or=tr.toString;var cr=Vi.Symbol;var lr=cr?cr.prototype:undefined,sr=lr?lr.toString:undefined;function ur(i,r,n){var e=-1,a=i.length;if(r<0){r=-r>a?0:a+r}n=n>a?a:n;if(n<0){n+=a}a=r>n?0:n-r>>>0;r>>>=0;var t=Array(a);while(++e<a){t[e]=i[e+r]}return t}function fr(i){if(typeof i=="string"){return i}if(vr(i)){return sr?sr.call(i):""}var r=i+"";return r=="0"&&1/i==-Q?"-0":r}function br(i,r,n){var e=i.length;n=n===undefined?e:n;return!r&&n>=e?i:ur(i,r,n)}function dr(i){return function(r){r=mr(r);var n=ir(r)?nr(r):undefined;var e=n?n[0]:r.charAt(0);var a=n?br(n,1).join(""):r.slice(1);return e[i]()+a}}function gr(i){return function(r){return Wi(kr(yr(r).replace(Di,"")),i,"")}}function hr(i){return!!i&&typeof i=="object"}function vr(i){return typeof i=="symbol"||hr(i)&&or.call(i)==X}function mr(i){return i==null?"":fr(i)}var pr=gr((function(i,r,n){r=r.toLowerCase();return i+(n?xr(r):r)}));function xr(i){return wr(mr(i).toLowerCase())}function yr(i){i=mr(i);return i&&i.replace(ri,Xi).replace(Fi,"")}var wr=dr("toUpperCase");function kr(i,r,n){i=mr(i);r=n?undefined:r;if(r===undefined){return rr(i)?ar(i):Bi(i)}return i.match(r)||[]}var jr=pr;var Or=":root,:host{--bal-icon-color-grey:var(--bal-color-grey-5);--bal-icon-color-grey-light:var(--bal-color-border-grey-dark);--bal-icon-color-success:var(--bal-color-success);--bal-icon-color-success-dark:var(--bal-color-success-5);--bal-icon-color-success-darker:var(--bal-color-success-6);--bal-icon-color-warning:var(--bal-color-warning);--bal-icon-color-warning-dark:var(--bal-color-warning-5);--bal-icon-color-warning-darker:var(--bal-color-warning-6);--bal-icon-color-danger:var(--bal-color-danger);--bal-icon-color-danger-dark:var(--bal-color-danger-5);--bal-icon-color-danger-darker:var(--bal-color-danger-6);--bal-icon-color-primary:var(--bal-color-primary);--bal-icon-color-primary-dark:var(--bal-color-primary-6);--bal-icon-color-blue:var(--bal-color-primary);--bal-icon-color-light-blue:var(--bal-color-light-blue-5);--bal-icon-color-primary-light:var(--bal-color-primary-3);--bal-icon-color-white:var(--bal-color-white)}.bal-icon{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:static;pointer-events:visible;width:1.125rem;max-height:1.125rem}.bal-icon--shadow svg{-webkit-filter:drop-shadow(0px 0px 5rem rgba(0, 0, 0, 0.5));filter:drop-shadow(0px 0px 5rem rgba(0, 0, 0, 0.5))}.bal-icon--is-inline{display:-ms-inline-flexbox;display:inline-flex}.bal-icon__inner{display:block;position:static;-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out, -webkit-transform .2s ease-in-out;padding:.063rem;width:1.125rem;max-height:1.125rem}.bal-icon__inner--turn-plus{-webkit-transform:rotate(225deg);transform:rotate(225deg)}.bal-icon__inner--turn-caret-down,.bal-icon__inner--turn-caret-up{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.bal-icon__inner--turn-nav-go-down{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.bal-icon__inner>svg{vertical-align:top}.bal-icon--is-xsmall{width:.75rem;max-height:.75rem}.bal-icon--is-x-small{width:.75rem;max-height:.75rem}.bal-icon--is-small{width:.875rem;max-height:.875rem}.bal-icon--is-medium{width:1.625rem;max-height:1.625rem}.bal-icon--is-large{width:2.5rem;max-height:2.5rem;padding:0}.bal-icon--is-x-large{width:5rem;max-height:5rem;padding:0}.bal-icon--is-xx-large{width:11rem;max-height:11rem;padding:0}.bal-icon--is-grey svg,.bal-icon--is-grey g,.bal-icon--is-grey path,.bal-icon--is-grey circle{fill:var(--bal-icon-color-grey)}.bal-icon--is-grey-light svg,.bal-icon--is-grey-light g,.bal-icon--is-grey-light path,.bal-icon--is-grey-light circle{fill:var(--bal-icon-color-grey-light)}.bal-icon--is-success svg,.bal-icon--is-success g,.bal-icon--is-success path,.bal-icon--is-success circle{fill:var(--bal-icon-color-success)}.bal-icon--is-success-dark svg,.bal-icon--is-success-dark g,.bal-icon--is-success-dark path,.bal-icon--is-success-dark circle{fill:var(--bal-icon-color-success-dark)}.bal-icon--is-success-darker svg,.bal-icon--is-success-darker g,.bal-icon--is-success-darker path,.bal-icon--is-success-darker circle{fill:var(--bal-icon-color-success-darker)}.bal-icon--is-warning svg,.bal-icon--is-warning g,.bal-icon--is-warning path,.bal-icon--is-warning circle{fill:var(--bal-icon-color-warning)}.bal-icon--is-warning-dark svg,.bal-icon--is-warning-dark g,.bal-icon--is-warning-dark path,.bal-icon--is-warning-dark circle{fill:var(--bal-icon-color-warning-dark)}.bal-icon--is-warning-darker svg,.bal-icon--is-warning-darker g,.bal-icon--is-warning-darker path,.bal-icon--is-warning-darker circle{fill:var(--bal-icon-color-warning-darker)}.bal-icon--is-danger svg,.bal-icon--is-danger g,.bal-icon--is-danger path,.bal-icon--is-danger circle{fill:var(--bal-icon-color-danger)}.bal-icon--is-danger-dark svg,.bal-icon--is-danger-dark g,.bal-icon--is-danger-dark path,.bal-icon--is-danger-dark circle{fill:var(--bal-icon-color-danger-dark)}.bal-icon--is-danger-darker svg,.bal-icon--is-danger-darker g,.bal-icon--is-danger-darker path,.bal-icon--is-danger-darker circle{fill:var(--bal-icon-color-danger-darker)}.bal-icon--is-primary svg,.bal-icon--is-primary g,.bal-icon--is-primary path,.bal-icon--is-primary circle{fill:var(--bal-icon-color-primary)}.bal-icon--is-primary-dark svg,.bal-icon--is-primary-dark g,.bal-icon--is-primary-dark path,.bal-icon--is-primary-dark circle{fill:var(--bal-icon-color-primary-dark)}.bal-icon--is-blue svg,.bal-icon--is-blue g,.bal-icon--is-blue path,.bal-icon--is-blue circle{fill:var(--bal-icon-color-blue)}.bal-icon--is-light-blue svg,.bal-icon--is-light-blue g,.bal-icon--is-light-blue path,.bal-icon--is-light-blue circle{fill:var(--bal-icon-color-light-blue)}.bal-icon--is-primary-light svg,.bal-icon--is-primary-light g,.bal-icon--is-primary-light path,.bal-icon--is-primary-light circle{fill:var(--bal-icon-color-primary-light)}.bal-icon--is-white svg,.bal-icon--is-white g,.bal-icon--is-white path,.bal-icon--is-white circle,.bal-icon--is-inverted svg,.bal-icon--is-inverted g,.bal-icon--is-inverted path,.bal-icon--is-inverted circle{fill:var(--bal-icon-color-white)}.icon-text{-ms-flex-align:center;align-items:center;color:inherit;display:-ms-inline-flexbox;display:inline-flex;vertical-align:top;-ms-flex-wrap:nowrap;flex-wrap:nowrap;word-break:break-word;line-height:1.5rem}.icon-text.is-small{line-height:1.75rem}.icon-text.is-medium{line-height:1.5rem}.icon-text.is-large{line-height:3rem}.icon-text.is-x-large{line-height:4rem}.icon-text.is-xlarge{line-height:4rem}.icon-text .icon{-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0}.icon-text .icon:not(:last-child){margin-right:.5rem}.icon-text .icon:not(:first-child){margin-right:.5rem}div.icon-text{display:-ms-flexbox;display:flex}";var _r=Or;var Er=i("bal_icon",function(){function i(i){var n=this;r(this,i);this.svgContent=function(i){var r=Object.keys(n.icons).length>0;if(r&&i&&i.length>0){if(i.startsWith("alert")){i="alert-triangle"}if(i.startsWith("info")){i="info-circle"}var e=n.icons["balIcon".concat(B(jr(i)))];if(e){return e}}return n.svg||""};this.icons=l.icons;this.name="";this.svg="";this.size="";this.color="";this.inline=false;this.inverted=false;this.turn=false;this.shadow=false;this.disabled=undefined;this.invalid=undefined;this.hovered=false;this.pressed=false}i.prototype.configChanged=function(i){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){this.icons=i.icons;return[2]}))}))};i.prototype.parseColor=function(){if(!!this.disabled){return"grey"}if(!!this.invalid){if(this.pressed){return"danger-darker"}else if(this.hovered){return"danger-dark"}else{return"danger"}}if(this.color!=="auto"){if(this.pressed){return"primary-dark"}else if(this.hovered){return"light-blue"}}return["auto","white","blue","grey","grey-light","danger","danger-dark","danger-darker","warning","warning-dark","warning-darker","success","success-dark","success-darker","primary","primary-light","light-blue"].includes(this.color)?this.color:"primary"};i.prototype.render=function(){var i=this.parseColor();var r=c.block("icon");var a=this.svgContent(this.name);return n(e,{"aria-hidden":"true",class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},r.class()),r.modifier("is-inverted").class(this.inverted)),r.modifier("is-inline").class(this.inline)),r.modifier("shadow").class(this.shadow)),r.modifier("is-".concat(this.size)).class(!!this.size)),r.modifier("is-".concat(i)).class())},n("div",{class:Object.assign(Object.assign(Object.assign({},r.element("inner").class()),r.element("inner").modifier("turn-".concat(this.name)).class(this.turn)),r.modifier("is-".concat(this.size)).class(!!this.size)),innerHTML:a}))};return i}());a([s(),t("design:type",Function),t("design:paramtypes",[Object]),t("design:returntype",Promise)],Er.prototype,"configChanged",null);Er.style=_r}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as a,H as l,g as t}from"./p-d7c752c6.js";import{_ as i,a as r}from"./p-43c9f5e9.js";import{B as n}from"./p-ae86d0a0.js";import{L as s}from"./p-b77e3348.js";import{i as b}from"./p-09ab29d6.js";import{d as o}from"./p-f385e205.js";import{d as h}from"./p-a19d1e1d.js";import{L as g}from"./p-69e7c8d6.js";import"./p-a65354df.js";import"./p-2229e98e.js";import"./p-aafb6696.js";const v=class{constructor(a){e(this,a),this.inputId="bal-lbl-"+d++,this.language=h.language,this.region=h.region,this.ariaForm=o,this.htmlFor=void 0,this.required=!0,this.noWrap=!1,this.multiline=!1,this.valid=void 0,this.invalid=void 0,this.disabled=void 0,this.readonly=void 0,this.size="",this.weight="bold",this.hovered=!1,this.pressed=!1}createLogger(e){this.log=e}async configChanged(e){this.language=e.language,this.region=e.region}async setAriaForm(e){this.ariaForm=Object.assign({},e)}render(){const e=n.block("label"),t=!1===this.required&&b[this.language].optional||"",i=!!this.disabled||!!this.readonly,r=!!this.invalid,s=!!this.valid,o="regular"===this.weight,h="small"===this.size,g="large"===this.size,v="x-large"===this.size,d="xx-large"===this.size,x="xxx-large"===this.size,m=this.ariaForm.labelId||this.inputId,f=this.htmlFor||this.ariaForm.controlId;return a(l,{class:Object.assign({},e.class())},a("label",{id:m,htmlFor:f,class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e.element("native").class()),e.element("native").modifier("multiline").class(this.multiline)),e.element("native").modifier("no-wrap").class(this.noWrap)),e.element("native").modifier("disabled").class(i)),e.element("native").modifier("danger").class(r)),e.element("native").modifier("success").class(s)),e.element("native").modifier("regular").class(o)),e.element("native").modifier("small").class(h)),e.element("native").modifier("large").class(g)),e.element("native").modifier("x-large").class(v)),e.element("native").modifier("xx-large").class(d)),e.element("native").modifier("xxx-large").class(x)),e.element("native").modifier("hovered").class(this.hovered)),e.element("native").modifier("pressed").class(this.pressed))},a("slot",null),t))}get el(){return t(this)}};i([s("bal-label"),r("design:type",Function),r("design:paramtypes",[Function]),r("design:returntype",void 0)],v.prototype,"createLogger",null),i([g(),r("design:type",Function),r("design:paramtypes",[Object]),r("design:returntype",Promise)],v.prototype,"configChanged",null);let d=0;v.style=".bal-label{display:inline;-webkit-box-sizing:content-box;box-sizing:content-box;position:static;word-break:break-word}.bal-label__native{display:inline;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;white-space:pre;min-width:0;font-family:var(--bal-form-field-label-font-family);font-weight:var(--bal-form-field-label-font-weight);font-size:var(--bal-text-size-normal);line-height:var(--bal-line-height-normal)}.bal-label__native--multiline{white-space:normal}.bal-label__native--no-wrap{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.bal-label__native--small{font-family:var(--bal-font-family-text);font-size:var(--bal-text-size-small);line-height:var(--bal-line-height-small)}@media screen and (min-width: 769px),print{.bal-label__native--small{font-size:var(--bal-text-size-small-tablet);line-height:var(--bal-line-height-tablet-small)}}@media screen and (min-width: 1024px){.bal-label__native--small{font-size:var(--bal-text-size-small-desktop);line-height:var(--bal-line-height-desktop-small)}}.bal-label__native--large{font-family:var(--bal-font-family-title);font-size:var(--bal-text-size-large);line-height:var(--bal-line-height-large)}@media screen and (min-width: 769px),print{.bal-label__native--large{font-size:var(--bal-text-size-large-tablet);line-height:var(--bal-line-height-tablet-large)}}@media screen and (min-width: 1024px){.bal-label__native--large{font-size:var(--bal-text-size-large-desktop);line-height:var(--bal-line-height-desktop-large)}}.bal-label__native--x-large{font-family:var(--bal-font-family-title);font-size:var(--bal-text-size-x-large);line-height:var(--bal-line-height-x-large)}@media screen and (min-width: 769px),print{.bal-label__native--x-large{font-size:var(--bal-text-size-x-large-tablet);line-height:var(--bal-line-height-tablet-x-large)}}@media screen and (min-width: 1024px){.bal-label__native--x-large{font-size:var(--bal-text-size-x-large-desktop);line-height:var(--bal-line-height-desktop-x-large)}}.bal-label__native--xx-large{font-family:var(--bal-font-family-title);font-size:var(--bal-text-size-xx-large);line-height:var(--bal-line-height-xx-large)}@media screen and (min-width: 769px),print{.bal-label__native--xx-large{font-size:var(--bal-text-size-xx-large-tablet);line-height:var(--bal-line-height-tablet-xx-large)}}@media screen and (min-width: 1024px){.bal-label__native--xx-large{font-size:var(--bal-text-size-xx-large-desktop);line-height:var(--bal-line-height-desktop-xx-large)}}.bal-label__native--xxx-large{font-family:var(--bal-font-family-title);font-size:var(--bal-text-size-xxx-large);line-height:var(--bal-line-height-xxx-large)}@media screen and (min-width: 769px),print{.bal-label__native--xxx-large{font-size:var(--bal-text-size-xxx-large-tablet);line-height:var(--bal-line-height-tablet-xxx-large)}}@media screen and (min-width: 1024px){.bal-label__native--xxx-large{font-size:var(--bal-text-size-xxx-large-desktop);line-height:var(--bal-line-height-desktop-xxx-large)}}.bal-label__native--success{color:var(--bal-form-field-label-success-color)}.bal-label__native--danger{color:var(--bal-form-field-label-danger-color)}.bal-label__native--disabled{color:var(--bal-form-field-label-disabled-color) !important}.bal-label__native--regular{font-weight:var(--bal-font-weight-regular)}.bal-label__native--hovered{color:var(--bal-form-field-label-color-hover)}.bal-label__native--pressed{color:var(--bal-form-field-label-color-active)}.bal-label__native--danger.bal-label__native--hovered{color:var(--bal-form-field-label-danger-color-hover)}.bal-label__native--danger.bal-label__native--pressed{color:var(--bal-form-field-label-danger-color-active)}";export{v as bal_label}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var t=function(e,n){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]};return t(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function i(){this.constructor=e}e.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}}();var __awaiter=this&&this.__awaiter||function(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,u){function s(t){try{f(i.next(t))}catch(t){u(t)}}function o(t){try{f(i["throw"](t))}catch(t){u(t)}}function f(t){t.done?n(t.value):r(t.value).then(s,o)}f((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},i,r,u,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(t){return function(e){return f([t,e])}}function f(o){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(n=0)),n)try{if(i=1,r&&(u=o[0]&2?r["return"]:o[0]?r["throw"]||((u=r["return"])&&u.call(r),0):r.next)&&!(u=u.call(r,o[1])).done)return u;if(r=0,u)o=[o[0]&2,u.value];switch(o[0]){case 0:case 1:u=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;r=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(u=n.trys,u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){n.label=o[1];break}if(o[0]===6&&n.label<u[1]){n.label=u[1];u=o;break}if(u&&n.label<u[2]){n.label=u[2];n.ops.push(o);break}if(u[2])n.ops.pop();n.trys.pop();continue}o=e.call(t,n)}catch(t){o=[6,t];r=0}finally{i=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-8954495d.system.js","./p-a1f6e944.system.js","./p-ec9a7cf5.system.js","./p-eecefb0a.system.js","./p-83486137.system.js"],(function(t){"use strict";var e,n,i,r,u,s,o,f,c,a,h,l;return{setters:[function(t){e=t.h;n=t.j;i=t.r},function(t){r=t.b},function(t){u=t.b},function(t){s=t.L;o=t.S},function(t){f=t.b;c=t.a;a=t.c;h=t.d;l=t.e}],execute:function(){var b=function(){function t(t){if(t===void 0){t={}}this.previousWidth=r.window.width;this.previousHeight=r.window.height;this.previousIsLandscape=this.isLandscape;this.options={onlyListenToWidthChanges:false};this.options=Object.assign(Object.assign({},this.options),t)}t.prototype.hasResized=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(u.hasTouchScreen){if(!this.sameWidth||this.previousIsLandscape!==this.isLandscape){this.resetPreviousValues();return[2,true]}}else{if(this.options.onlyListenToWidthChanges){if(!this.sameWidth){this.resetPreviousValues();return[2,true]}}else{if(!this.sameWidth||!this.sameHeight){this.resetPreviousValues();return[2,true]}}}return[2,false]}))}))};Object.defineProperty(t.prototype,"isLandscape",{get:function(){return r.window.width>r.window.height},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"sameWidth",{get:function(){return this.previousWidth===r.window.width},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"sameHeight",{get:function(){return this.previousHeight===r.window.height},enumerable:false,configurable:true});t.prototype.resetPreviousValues=function(){this.previousWidth=r.window.width;this.previousHeight=r.window.height;this.previousIsLandscape=this.isLandscape};return t}();var v=function(t){__extends(r,t);function r(){var n=t.apply(this,arguments)||this;n.resizeHandler=new b({onlyListenToWidthChanges:true});n.debouncedNotify=e((function(){return n.notify()}),10);n.notify=function(){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,this.resizeHandler.hasResized()];case 1:if(e.sent()){t.prototype.notify.call(this,undefined)}return[2]}}))}))};return n}r.prototype.connect=function(){t.prototype.connect.call(this);if(this.el){n(this.el,"resize",this.debouncedNotify,{passive:true})}};r.prototype.disconnect=function(){t.prototype.disconnect.call(this);if(this.el){i(this.el,"resize",this.debouncedNotify)}};return r}(s);t("B",v);var d=function(t){return parseInt(t.slice(0,-2),10)};var g=d(l);var w=d(f);var m=d(c);var _=d(a);var j=d(h);var y=function(t){var e=t.innerWidth;return e<g};var p=function(t){var e=t.innerWidth;return e>=g&&e<w};var O=function(t){return y(t)||p(t)};var k=function(t){return!O(t)};var D=function(t){var e=t.innerWidth;return e>=m&&e<_};var x=function(t){var e=t.innerWidth;return e>=_&&e<j};var S=function(t){var e=t.innerWidth;return e>=j};var T={mobile:y,tablet:p,touch:O,desktop:k,highDefinition:D,widescreen:x,fullhd:S};var W=function(){function t(){this.breakpoints=[];if(r.hasWindow){this.win=window;this.win.BaloiseDesignSystem=this.win.BaloiseDesignSystem||{};this.detect()}}Object.defineProperty(t.prototype,"isMobile",{get:function(){return this.includes("mobile")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isTablet",{get:function(){return this.includes("tablet")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isTouch",{get:function(){return this.includes("touch")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isDesktop",{get:function(){return this.includes("desktop")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isHighDefinition",{get:function(){return this.includes("highDefinition")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isWidescreen",{get:function(){return this.includes("widescreen")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isFullHD",{get:function(){return this.includes("fullhd")},enumerable:false,configurable:true});t.prototype.includes=function(t){var e;this.detect();return!!((e=this.breakpoints)===null||e===void 0?void 0:e.includes(t))};t.prototype.detect=function(){var t=this;if(this.win){this.breakpoints=Object.keys(T).filter((function(e){return T[e](t.win)}));this.win.BaloiseDesignSystem.breakpoints=this.breakpoints;this.win.BaloiseDesignSystem.platforms=this.breakpoints}return this.breakpoints};t.prototype.toObject=function(){return{mobile:this.breakpoints.includes("mobile"),tablet:this.breakpoints.includes("tablet"),touch:this.breakpoints.includes("touch"),desktop:this.breakpoints.includes("desktop"),highDefinition:this.breakpoints.includes("highDefinition"),widescreen:this.breakpoints.includes("widescreen"),fullhd:this.breakpoints.includes("fullhd")}};return t}();t("d",W);var C=t("b",new W);var H={mobile:false,tablet:false,touch:false,desktop:false,highDefinition:false,widescreen:false,fullhd:false};var L=function(t){__extends(n,t);function n(){var n=t.call(this,(function(t){return t.breakpointListener(n.state)}))||this;n.state=H;n.listener=new v;n.debouncedNotify=e((function(){return n.notify()}),50);n.listener.connect();n.listener.add((function(){C.detect();var t=C.toObject();if(!n.isEqual(t)){n.state=t;n.debouncedNotify()}}));return n}n.prototype.attach=function(e){t.prototype.attach.call(this,e);C.detect();var n=C.toObject();if(!this.isEqual(n)){this.state=n;this.debouncedNotify()}};n.prototype.isEqual=function(t){return JSON.stringify(this.state)===JSON.stringify(t)};return n}(o);t("c",L);var z=t("a",new L)}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(r,e,a,o){function n(r){return r instanceof a?r:new a((function(e){e(r)}))}return new(a||(a=Promise))((function(a,s){function t(r){try{l(o.next(r))}catch(r){s(r)}}function i(r){try{l(o["throw"](r))}catch(r){s(r)}}function l(r){r.done?a(r.value):n(r.value).then(t,i)}l((o=o.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var a={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},o,n,s,t;return t={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(t[Symbol.iterator]=function(){return this}),t;function i(r){return function(e){return l([r,e])}}function l(i){if(o)throw new TypeError("Generator is already executing.");while(t&&(t=0,i[0]&&(a=0)),a)try{if(o=1,n&&(s=i[0]&2?n["return"]:i[0]?n["throw"]||((s=n["return"])&&s.call(n),0):n.next)&&!(s=s.call(n,i[1])).done)return s;if(n=0,s)i=[i[0]&2,s.value];switch(i[0]){case 0:case 1:s=i;break;case 4:a.label++;return{value:i[1],done:false};case 5:a.label++;n=i[1];i=[0];continue;case 7:i=a.ops.pop();a.trys.pop();continue;default:if(!(s=a.trys,s=s.length>0&&s[s.length-1])&&(i[0]===6||i[0]===2)){a=0;continue}if(i[0]===3&&(!s||i[1]>s[0]&&i[1]<s[3])){a.label=i[1];break}if(i[0]===6&&a.label<s[1]){a.label=s[1];s=i;break}if(s&&a.label<s[2]){a.label=s[2];a.ops.push(i);break}if(s[2])a.ops.pop();a.trys.pop();continue}i=e.call(r,a)}catch(r){i=[6,r];n=0}finally{o=s=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};System.register(["./p-456fc561.system.js","./p-6dbef894.system.js","./p-db0895e2.system.js","./p-77ccb1f4.system.js","./p-685405e0.system.js","./p-8954495d.system.js","./p-a1f6e944.system.js","./p-b3f2c626.system.js","./p-145d5c4e.system.js","./p-ec9a7cf5.system.js","./p-eecefb0a.system.js","./p-83486137.system.js"],(function(r){"use strict";var e,a,o,n,s,t,i,l,b;return{setters:[function(r){e=r.r;a=r.h;o=r.H;n=r.g},function(r){s=r._;t=r.a},function(r){i=r.B},function(r){l=r.b},function(r){b=r.L},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var c=":root{--bal-progress-bar-background-white:var(--bal-color-white);--bal-progress-bar-background-grey:var(--bal-color-grey-3);--bal-progress-bar-background-purple:var(--bal-color-purple-2);--bal-progress-bar-background-yellow:var(--bal-color-yellow-2);--bal-progress-bar-background-red:var(--bal-color-red-2);--bal-progress-bar-background-green:var(--bal-color-green-2);--bal-progress-bar-line-color-primary:var(--bal-color-primary);--bal-progress-bar-line-color-purple:var(--bal-color-purple-6);--bal-progress-bar-line-color-yellow:var(--bal-color-yellow-6);--bal-progress-bar-line-color-red:var(--bal-color-red-6);--bal-progress-bar-line-color-green:var(--bal-color-green-6);--bal-progress-bar-line-radius:var(--bal-radius-rounded)}.bal-progress-bar{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;width:100%;min-width:0;height:.25rem}.bal-progress-bar--background-white-of-primary,.bal-progress-bar--background-white-of-purple,.bal-progress-bar--background-white-of-red,.bal-progress-bar--background-white-of-green,.bal-progress-bar--background-white-of-yellow{background:var(--bal-progress-bar-background-white)}.bal-progress-bar--background-grey-of-primary{background:var(--bal-progress-bar-background-grey)}.bal-progress-bar--background-grey-of-purple{background:var(--bal-progress-bar-background-purple)}.bal-progress-bar--background-grey-of-red{background:var(--bal-progress-bar-background-red)}.bal-progress-bar--background-grey-of-green{background:var(--bal-progress-bar-background-green)}.bal-progress-bar--background-grey-of-yellow{background:var(--bal-progress-bar-background-yellow)}.bal-progress-bar__line{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;height:.25rem;width:0;background:var(--bal-progress-bar-line-color-primary);border-top-right-radius:var(--bal-progress-bar-line-radius);border-bottom-right-radius:var(--bal-progress-bar-line-radius)}.bal-progress-bar__line--animated{will-change:width;-webkit-transition:all var(--bal-animation-transition-duration) var(--bal-animation-transition-easing);transition:all var(--bal-animation-transition-duration) var(--bal-animation-transition-easing)}.bal-progress-bar__line--full{border-top-right-radius:0;border-bottom-right-radius:0}.bal-progress-bar__line--color-purple{background:var(--bal-progress-bar-line-color-purple)}.bal-progress-bar__line--color-yellow{background:var(--bal-progress-bar-line-color-yellow)}.bal-progress-bar__line--color-red{background:var(--bal-progress-bar-line-color-red)}.bal-progress-bar__line--color-green{background:var(--bal-progress-bar-line-color-green)}";var u=c;var g=r("bal_progress_bar",function(){function r(r){e(this,r);this.animated=true;this.isTouch=l.isTouch;this.value=0;this.background="white";this.color="primary"}r.prototype.componentDidRender=function(){this.updateProgress()};r.prototype.breakpointListener=function(r){this.updateProgress()};r.prototype.configChanged=function(r){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.animated=r.animated;return[2]}))}))};r.prototype.updateProgress=function(){if(this.lineEl){var r=this.el.clientWidth;var e=Math.max(0,Math.min(100,this.value));var a=r/100*e;this.lineEl.style.width="".concat(a,"px");if(e===100){this.lineEl.classList.add("bal-progress-bar__line--full")}else{this.lineEl.classList.remove("bal-progress-bar__line--full")}}};r.prototype.render=function(){var r=this;var e=i.block("progress-bar");var n=e.element("line");return a(o,{"aria-hidden":"true",class:Object.assign(Object.assign({},e.class()),e.modifier("background-".concat(this.background,"-of-").concat(this.color)).class())},a("div",{class:Object.assign(Object.assign(Object.assign({},n.class()),n.modifier("color-".concat(this.color)).class()),n.modifier("animated").class(this.animated)),ref:function(e){return r.lineEl=e}}))};Object.defineProperty(r.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return r}());s([b(),t("design:type",Function),t("design:paramtypes",[Object]),t("design:returntype",void 0)],g.prototype,"breakpointListener",null);g.style=u}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,H as s,g as e}from"./p-d7c752c6.js";import{_ as C,a}from"./p-43c9f5e9.js";import{B as o}from"./p-ae86d0a0.js";import{L as l}from"./p-b77e3348.js";import{k as n}from"./p-88f18fbc.js";import{L as h}from"./p-f7091a61.js";import{b as r}from"./p-e851f284.js";import{L as p}from"./p-69e7c8d6.js";import"./p-a65354df.js";import"./p-2229e98e.js";import"./p-aafb6696.js";import"./p-96216bd1.js";import"./p-acf222fd.js";import"./p-ec4875a2.js";const g=class{constructor(i){t(this,i),this.isTouch=r.isTouch,this.doesConfigAllowAnimation=!0,this.color="blue",this.size="",this.animated=!1}createLogger(t){this.log=t}animatedWatcher(){this.isAnimated||this.destroyAnimation()}connectedCallback(){this.animatedWatcher()}componentDidUpdate(){this.resetAnimation()}componentDidLoad(){this.resetAnimation()}disconnectedCallback(){this.el&&!this.el.isConnected&&this.destroyAnimation()}breakpointListener(t){this.isTouch=t.touch}configChanged(t){this.doesConfigAllowAnimation=t.animated}get isAnimated(){return this.doesConfigAllowAnimation&&this.animated}async resetAnimation(){this.destroyAnimation(),this.animated&&(await this.loadAnimation(),this.animationFunction&&(this.destroyAnimation(),this.animationItem=this.animationFunction(this.animatedLogoElement,this.color)))}async loadAnimation(){return new Promise(((t,i)=>{if(this.animationFunction)return t();n((async()=>{import("./p-ce4f5a6a.js").then((i=>{this.animationFunction=i.animate,t()})).catch(i)}))}))}destroyAnimation(){this.animated&&this.animationItem&&this.animationItem.destroy&&this.animationItem.destroy()}render(){const t=o.block("logo"),e=this.isAnimated?()=>i("div",{style:{width:this.isTouch?"100px":"158px",height:this.isTouch?"22px":"32px"},ref:t=>this.animatedLogoElement=t}):this.isTouch&&""===this.size||"small"===this.size?()=>i("svg",{focusable:"false","aria-hidden":"true",width:"100",height:"22",viewBox:"0 0 100 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M71.2886 3.08227C71.2886 1.78086 72.3924 0.84771 73.679 0.84771C74.9656 0.84771 75.9688 1.78086 75.9688 3.08227C75.9688 4.38368 74.9656 5.29533 73.679 5.29533C72.3924 5.29533 71.2886 4.38403 71.2886 3.08227ZM71.8472 6.83532H75.4888V18.2682H71.8472V6.83532ZM52.405 2.40989H56.0469V18.2678H52.405V2.40989ZM30.6826 18.5505C34.0192 18.5505 36.3961 15.9903 36.3961 12.5629C36.3961 9.13507 34.0847 6.57525 30.7687 6.5756C29.5268 6.5756 28.48 6.94421 27.6514 7.63843V2.41025H24.0095V18.2682H27.368V17.292C28.1966 18.0948 29.3089 18.5505 30.6826 18.5505ZM30.1594 9.74366C31.6858 9.74366 32.7978 10.9358 32.7978 12.5629C32.7978 14.1899 31.6858 15.3613 30.1594 15.3613C28.5675 15.3613 27.4768 14.2114 27.4768 12.5629C27.4768 10.8932 28.5455 9.74366 30.1594 9.74366ZM50.0036 18.2682V6.83532H46.6451V8.02854C45.8382 7.22613 44.7475 6.79197 43.3305 6.79197C39.994 6.79197 37.5951 9.13543 37.5951 12.5629C37.5951 15.9903 39.994 18.5505 43.3305 18.5505C44.7478 18.5505 45.8382 18.0726 46.6451 17.2269V18.2682H50.0036ZM43.8541 9.74367C45.446 9.74367 46.5147 10.8921 46.5147 12.5629C46.5147 14.2117 45.4457 15.3613 43.8541 15.3613C42.3061 15.3613 41.2154 14.1888 41.2154 12.5629C41.2154 10.9369 42.3277 9.74367 43.8541 9.74367ZM63.9216 6.57524C60.2581 6.57524 57.641 9.13507 57.641 12.5628C57.641 15.9688 60.2591 18.5505 63.9216 18.5505C67.6071 18.5505 70.2238 15.9688 70.2238 12.5628C70.2238 9.13507 67.6057 6.57524 63.9216 6.57524ZM63.9432 9.78595C65.5351 9.78595 66.5603 10.914 66.5603 12.541C66.5603 14.1899 65.5135 15.3394 63.9432 15.3398C62.3513 15.3398 61.3045 14.168 61.3045 12.5628C61.3045 10.9136 62.3513 9.78595 63.9432 9.78595ZM79.9809 14.3418L76.9717 15.4916C77.6475 17.489 79.5013 18.5505 82.095 18.5484C85.1262 18.5484 87.045 17.1166 87.045 14.7516C87.045 12.1567 84.765 11.5576 83.0168 11.0983C81.9297 10.8126 81.0482 10.581 81.0482 9.95722C81.0482 9.48007 81.4187 9.19815 82.1601 9.19815C82.9235 9.19815 83.4687 9.56676 83.7305 10.2828L86.7415 9.11111C86.2834 7.50664 84.5824 6.57384 82.2271 6.57384C79.327 6.57384 77.4949 7.92035 77.4949 10.1331C77.4949 12.4741 79.6268 13.1109 81.3484 13.6252C82.5143 13.9735 83.4921 14.2655 83.4921 14.9926C83.4921 15.5131 83.056 15.8384 82.2271 15.8384C81.0496 15.8384 80.2862 15.2964 79.9809 14.3418ZM99.9999 12.3243C99.9999 9.50508 97.7756 6.5534 94.0246 6.5534C90.7101 6.5534 88.0494 9.26686 88.0494 12.5628C88.0494 15.9688 90.4483 18.5505 94.2429 18.5505C96.7469 18.5505 98.2259 17.5905 99.1125 16.496L97.0183 14.4084C96.3644 15.2132 95.6385 15.5998 94.3516 15.5998C92.9779 15.5998 91.9531 14.9056 91.5822 13.6264H99.9128C99.9728 13.195 100.002 12.7598 99.9999 12.3243ZM91.5383 11.3696C91.8436 9.98118 92.7813 9.2651 94.1114 9.2651C95.4416 9.2651 96.3141 10.0679 96.6194 11.3696H91.5383ZM10.6109 1.49718L19.7559 10.5947C19.8357 10.6742 19.899 10.7686 19.9422 10.8725C19.9854 10.9764 20.0076 11.0878 20.0075 11.2002C20.0074 11.3126 19.985 11.4239 19.9416 11.5277C19.8983 11.6315 19.8348 11.7258 19.7548 11.8052L17.2751 14.272L10.003 7.03759L5.81949 11.1994L10.003 15.3613L12.5967 12.7806L15.6857 15.8532L10.6127 20.9017C10.5328 20.9811 10.438 21.0442 10.3337 21.0872C10.2294 21.1302 10.1175 21.1523 10.0046 21.1523C9.89169 21.1523 9.77986 21.1302 9.67553 21.0872C9.5712 21.0442 9.47641 20.9811 9.39657 20.9017L0.251611 11.8041C0.0904986 11.6437 0 11.4262 0 11.1994C0 10.9726 0.0904986 10.7551 0.251611 10.5947L9.3948 1.49718C9.47464 1.41772 9.56943 1.35469 9.67376 1.31169C9.77809 1.26868 9.88992 1.24655 10.0028 1.24655C10.1158 1.24655 10.2276 1.26868 10.3319 1.31169C10.4363 1.35469 10.5311 1.41772 10.6109 1.49718Z",fill:"#000D6E"})):()=>i("svg",{focusable:"false","aria-hidden":"true",width:"158",height:"32",viewBox:"0 0 158 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M112.351 3.52166C112.351 1.47065 114.09 0 116.118 0C118.146 0 119.727 1.47065 119.727 3.52166C119.727 5.57268 118.146 7.00945 116.118 7.00945C114.09 7.00945 112.351 5.57324 112.351 3.52166ZM113.231 9.43647H118.97V27.4547H113.231V9.43647ZM82.5903 2.46199H88.33V27.4541H82.5903V2.46199ZM48.3558 27.8995C53.6142 27.8995 57.3602 23.8647 57.3602 18.4631C57.3602 13.0609 53.7175 9.0266 48.4915 9.02715C46.5342 9.02715 44.8845 9.60807 43.5786 10.7022V2.46255H37.839V27.4547H43.132V25.9163C44.4378 27.1814 46.1908 27.8995 48.3558 27.8995ZM47.5312 14.02C49.9368 14.02 51.6893 15.8989 51.6893 18.4631C51.6893 21.0272 49.9368 22.8733 47.5312 22.8733C45.0224 22.8733 43.3034 21.0611 43.3034 18.4631C43.3034 15.8317 44.9877 14.02 47.5312 14.02ZM78.8057 27.4547V9.43647H73.5127V11.317C72.2409 10.0524 70.522 9.36815 68.2889 9.36815C63.0305 9.36815 59.2498 13.0614 59.2498 18.4631C59.2498 23.8647 63.0305 27.8995 68.2889 27.8995C70.5226 27.8995 72.2409 27.1464 73.5127 25.8135V27.4547H78.8057ZM69.114 14.02C71.6229 14.02 73.3072 15.83 73.3072 18.4631C73.3072 21.0617 71.6224 22.8733 69.114 22.8733C66.6744 22.8733 64.9554 21.0256 64.9554 18.4631C64.9554 15.9005 66.7084 14.02 69.114 14.02ZM100.74 9.02659C94.9667 9.02659 90.8422 13.0609 90.8422 18.463C90.8422 23.8308 94.9684 27.8995 100.74 27.8995C106.549 27.8995 110.673 23.8308 110.673 18.463C110.673 13.0609 106.546 9.02659 100.74 9.02659ZM100.774 14.0867C103.283 14.0867 104.899 15.8644 104.899 18.4286C104.899 21.0272 103.249 22.8389 100.774 22.8394C98.2656 22.8394 96.6159 20.9928 96.6159 18.463C96.6159 15.8639 98.2656 14.0867 100.774 14.0867ZM126.05 21.2666L121.307 23.0788C122.373 26.2267 125.294 27.8995 129.382 27.8962C134.159 27.8962 137.183 25.6397 137.183 21.9125C137.183 17.823 133.59 16.8788 130.834 16.1549C129.121 15.7047 127.732 15.3397 127.732 14.3566C127.732 13.6046 128.316 13.1603 129.484 13.1603C130.687 13.1603 131.547 13.7412 131.959 14.8697L136.705 13.0231C135.983 10.4945 133.302 9.02437 129.59 9.02437C125.019 9.02437 122.132 11.1465 122.132 14.6337C122.132 18.3232 125.492 19.3268 128.205 20.1373C130.043 20.6862 131.584 21.1465 131.584 22.2924C131.584 23.1127 130.896 23.6253 129.59 23.6253C127.734 23.6253 126.531 22.7711 126.05 21.2666ZM157.6 18.0871C157.6 13.644 154.094 8.99216 148.183 8.99216C142.959 8.99216 138.766 13.2686 138.766 18.463C138.766 23.8308 142.546 27.8995 148.527 27.8995C152.473 27.8995 154.804 26.3867 156.201 24.6616L152.901 21.3716C151.87 22.6401 150.726 23.2493 148.698 23.2493C146.533 23.2493 144.918 22.1552 144.334 20.1392H157.462C157.557 19.4593 157.603 18.7735 157.6 18.0871ZM144.264 16.5825C144.746 14.3943 146.223 13.2658 148.32 13.2658C150.416 13.2658 151.791 14.531 152.272 16.5825H144.264ZM16.7228 1.02356L31.1352 15.3613C31.2611 15.4866 31.3609 15.6354 31.4289 15.7991C31.497 15.9628 31.5319 16.1383 31.5318 16.3155C31.5316 16.4926 31.4964 16.668 31.428 16.8316C31.3597 16.9953 31.2596 17.1439 31.1335 17.269L27.2256 21.1566L15.7648 9.75525L9.17152 16.3143L15.7648 22.8733L19.8525 18.8063L24.7206 23.6486L16.7256 31.605C16.5997 31.7302 16.4503 31.8296 16.2859 31.8973C16.1215 31.9651 15.9453 32 15.7673 32C15.5893 32 15.4131 31.9651 15.2486 31.8973C15.0842 31.8296 14.9348 31.7302 14.809 31.605L0.396538 17.2673C0.142626 17.0145 0 16.6717 0 16.3143C0 15.9569 0.142626 15.6141 0.396538 15.3613L14.8062 1.02356C14.932 0.898338 15.0814 0.799001 15.2458 0.731227C15.4103 0.663454 15.5865 0.628572 15.7645 0.628572C15.9425 0.628572 16.1187 0.663454 16.2831 0.731227C16.4475 0.799001 16.5969 0.898338 16.7228 1.02356Z",fill:"#000D6E"}));return i(s,{class:Object.assign(Object.assign(Object.assign(Object.assign({},t.class()),t.modifier(this.color).class()),t.modifier(`size-${this.size}`).class(""!==this.size)),t.modifier("animated").class(this.animated))},i(e,null))}get el(){return e(this)}static get watchers(){return{animated:["animatedWatcher"]}}};C([l("bal-logo"),a("design:type",Function),a("design:paramtypes",[Function]),a("design:returntype",void 0)],g.prototype,"createLogger",null),C([h(),a("design:type",Function),a("design:paramtypes",[Object]),a("design:returntype",void 0)],g.prototype,"breakpointListener",null),C([p(),a("design:type",Function),a("design:paramtypes",[Object]),a("design:returntype",void 0)],g.prototype,"configChanged",null),g.style=".bal-logo{position:static;display:block;height:22px}.bal-logo svg{-webkit-transform:unset !important;transform:unset !important}.bal-logo svg svg,.bal-logo svg g,.bal-logo svg path,.bal-logo svg circle{fill:#000d6e}.bal-logo>div{height:22px}@media screen and (min-width: 1024px){.bal-logo--animated{margin-left:-7px}}.bal-logo--white svg svg,.bal-logo--white svg g,.bal-logo--white svg path,.bal-logo--white svg circle{fill:#fff}@media screen and (min-width: 1024px){.bal-logo{height:32px}.bal-logo>div{height:32px}}.bal-logo--size-small{height:22px}.bal-logo--size-small>div{height:22px}";export{g as bal_logo}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __spreadArray=this&&this.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var e=0,a=t.length,i;e<a;e++){if(i||!(e in t)){if(!i)i=Array.prototype.slice.call(t,0,e);i[e]=t[e]}}return r.concat(i||Array.prototype.slice.call(t))};System.register(["./p-6913b916.system.js","./p-2880433e.system.js"],(function(r){"use strict";var t,n;return{setters:[function(r){t=r.l},function(r){n=r.c}],execute:function(){r({b:u,c:Xe,d:Ge,e:Ke,f:Be,g:s,h:Je,i:He,j:Or,k:Pr,m:Sr,n:Ce,o:Ie,p:_e,q:ta,r:o,s:na,t:f,u:Ve,v:ia,w:ea,x:aa,y:ra});var e={exports:{}};(function(r,t){var e=200;var a="__lodash_hash_undefined__";var i=1,u=2;var o=9007199254740991;var f="[object Arguments]",c="[object Array]",v="[object AsyncFunction]",s="[object Boolean]",d="[object Date]",l="[object Error]",h="[object Function]",w="[object GeneratorFunction]",y="[object Map]",m="[object Number]",b="[object Null]",p="[object Object]",g="[object Promise]",k="[object Proxy]",x="[object RegExp]",j="[object Set]",D="[object String]",T="[object Symbol]",M="[object Undefined]",A="[object WeakMap]";var N="[object ArrayBuffer]",E="[object DataView]",S="[object Float32Array]",P="[object Float64Array]",O="[object Int8Array]",R="[object Int16Array]",I="[object Int32Array]",q="[object Uint8Array]",Y="[object Uint8ClampedArray]",L="[object Uint16Array]",Q="[object Uint32Array]";var W=/[\\^$.*+?()[\]{}|]/g;var C=/^\[object .+?Constructor\]$/;var B=/^(?:0|[1-9]\d*)$/;var H={};H[S]=H[P]=H[O]=H[R]=H[I]=H[q]=H[Y]=H[L]=H[Q]=true;H[f]=H[c]=H[N]=H[s]=H[E]=H[d]=H[l]=H[h]=H[y]=H[m]=H[p]=H[x]=H[j]=H[D]=H[A]=false;var X=typeof n=="object"&&n&&n.Object===Object&&n;var _=typeof self=="object"&&self&&self.Object===Object&&self;var G=X||_||Function("return this")();var F=t&&!t.nodeType&&t;var $=F&&"object"=="object"&&r&&!r.nodeType&&r;var U=$&&$.exports===F;var Z=U&&X.process;var z=function(){try{return Z&&Z.binding&&Z.binding("util")}catch(r){}}();var J=z&&z.isTypedArray;function K(r,t){var n=-1,e=r==null?0:r.length,a=0,i=[];while(++n<e){var u=r[n];if(t(u,n,r)){i[a++]=u}}return i}function V(r,t){var n=-1,e=t.length,a=r.length;while(++n<e){r[a+n]=t[n]}return r}function rr(r,t){var n=-1,e=r==null?0:r.length;while(++n<e){if(t(r[n],n,r)){return true}}return false}function tr(r,t){var n=-1,e=Array(r);while(++n<r){e[n]=t(n)}return e}function nr(r){return function(t){return r(t)}}function er(r,t){return r.has(t)}function ar(r,t){return r==null?undefined:r[t]}function ir(r){var t=-1,n=Array(r.size);r.forEach((function(r,e){n[++t]=[e,r]}));return n}function ur(r,t){return function(n){return r(t(n))}}function or(r){var t=-1,n=Array(r.size);r.forEach((function(r){n[++t]=r}));return n}var fr=Array.prototype,cr=Function.prototype,vr=Object.prototype;var sr=G["__core-js_shared__"];var dr=cr.toString;var lr=vr.hasOwnProperty;var hr=function(){var r=/[^.]+$/.exec(sr&&sr.keys&&sr.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();var wr=vr.toString;var yr=RegExp("^"+dr.call(lr).replace(W,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var mr=U?G.Buffer:undefined,br=G.Symbol,pr=G.Uint8Array,gr=vr.propertyIsEnumerable,kr=fr.splice,xr=br?br.toStringTag:undefined;var jr=Object.getOwnPropertySymbols,Dr=mr?mr.isBuffer:undefined,Tr=ur(Object.keys,Object);var Mr=At(G,"DataView"),Ar=At(G,"Map"),Nr=At(G,"Promise"),Er=At(G,"Set"),Sr=At(G,"WeakMap"),Pr=At(Object,"create");var Or=Yt(Mr),Rr=Yt(Ar),Ir=Yt(Nr),qr=Yt(Er),Yr=Yt(Sr);var Lr=br?br.prototype:undefined,Qr=Lr?Lr.valueOf:undefined;function Wr(r){var t=-1,n=r==null?0:r.length;this.clear();while(++t<n){var e=r[t];this.set(e[0],e[1])}}function Cr(){this.__data__=Pr?Pr(null):{};this.size=0}function Br(r){var t=this.has(r)&&delete this.__data__[r];this.size-=t?1:0;return t}function Hr(r){var t=this.__data__;if(Pr){var n=t[r];return n===a?undefined:n}return lr.call(t,r)?t[r]:undefined}function Xr(r){var t=this.__data__;return Pr?t[r]!==undefined:lr.call(t,r)}function _r(r,t){var n=this.__data__;this.size+=this.has(r)?0:1;n[r]=Pr&&t===undefined?a:t;return this}Wr.prototype.clear=Cr;Wr.prototype["delete"]=Br;Wr.prototype.get=Hr;Wr.prototype.has=Xr;Wr.prototype.set=_r;function Gr(r){var t=-1,n=r==null?0:r.length;this.clear();while(++t<n){var e=r[t];this.set(e[0],e[1])}}function Fr(){this.__data__=[];this.size=0}function $r(r){var t=this.__data__,n=lt(t,r);if(n<0){return false}var e=t.length-1;if(n==e){t.pop()}else{kr.call(t,n,1)}--this.size;return true}function Ur(r){var t=this.__data__,n=lt(t,r);return n<0?undefined:t[n][1]}function Zr(r){return lt(this.__data__,r)>-1}function zr(r,t){var n=this.__data__,e=lt(n,r);if(e<0){++this.size;n.push([r,t])}else{n[e][1]=t}return this}Gr.prototype.clear=Fr;Gr.prototype["delete"]=$r;Gr.prototype.get=Ur;Gr.prototype.has=Zr;Gr.prototype.set=zr;function Jr(r){var t=-1,n=r==null?0:r.length;this.clear();while(++t<n){var e=r[t];this.set(e[0],e[1])}}function Kr(){this.size=0;this.__data__={hash:new Wr,map:new(Ar||Gr),string:new Wr}}function Vr(r){var t=Mt(this,r)["delete"](r);this.size-=t?1:0;return t}function rt(r){return Mt(this,r).get(r)}function tt(r){return Mt(this,r).has(r)}function nt(r,t){var n=Mt(this,r),e=n.size;n.set(r,t);this.size+=n.size==e?0:1;return this}Jr.prototype.clear=Kr;Jr.prototype["delete"]=Vr;Jr.prototype.get=rt;Jr.prototype.has=tt;Jr.prototype.set=nt;function et(r){var t=-1,n=r==null?0:r.length;this.__data__=new Jr;while(++t<n){this.add(r[t])}}function at(r){this.__data__.set(r,a);return this}function it(r){return this.__data__.has(r)}et.prototype.add=et.prototype.push=at;et.prototype.has=it;function ut(r){var t=this.__data__=new Gr(r);this.size=t.size}function ot(){this.__data__=new Gr;this.size=0}function ft(r){var t=this.__data__,n=t["delete"](r);this.size=t.size;return n}function ct(r){return this.__data__.get(r)}function vt(r){return this.__data__.has(r)}function st(r,t){var n=this.__data__;if(n instanceof Gr){var a=n.__data__;if(!Ar||a.length<e-1){a.push([r,t]);this.size=++n.size;return this}n=this.__data__=new Jr(a)}n.set(r,t);this.size=n.size;return this}ut.prototype.clear=ot;ut.prototype["delete"]=ft;ut.prototype.get=ct;ut.prototype.has=vt;ut.prototype.set=st;function dt(r,t){var n=Wt(r),e=!n&&Qt(r),a=!n&&!e&&Bt(r),i=!n&&!e&&!a&&$t(r),u=n||e||a||i,o=u?tr(r.length,String):[],f=o.length;for(var c in r){if((t||lr.call(r,c))&&!(u&&(c=="length"||a&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Pt(c,f)))){o.push(c)}}return o}function lt(r,t){var n=r.length;while(n--){if(Lt(r[n][0],t)){return n}}return-1}function ht(r,t,n){var e=t(r);return Wt(r)?e:V(e,n(r))}function wt(r){if(r==null){return r===undefined?M:b}return xr&&xr in Object(r)?Nt(r):qt(r)}function yt(r){return Ft(r)&&wt(r)==f}function mt(r,t,n,e,a){if(r===t){return true}if(r==null||t==null||!Ft(r)&&!Ft(t)){return r!==r&&t!==t}return bt(r,t,n,e,mt,a)}function bt(r,t,n,e,a,u){var o=Wt(r),v=Wt(t),s=o?c:St(r),d=v?c:St(t);s=s==f?p:s;d=d==f?p:d;var l=s==p,h=d==p,w=s==d;if(w&&Bt(r)){if(!Bt(t)){return false}o=true;l=false}if(w&&!l){u||(u=new ut);return o||$t(r)?xt(r,t,n,e,a,u):jt(r,t,s,n,e,a,u)}if(!(n&i)){var y=l&&lr.call(r,"__wrapped__"),m=h&&lr.call(t,"__wrapped__");if(y||m){var b=y?r.value():r,g=m?t.value():t;u||(u=new ut);return a(b,g,n,e,u)}}if(!w){return false}u||(u=new ut);return Dt(r,t,n,e,a,u)}function pt(r){if(!Gt(r)||Rt(r)){return false}var t=Xt(r)?yr:C;return t.test(Yt(r))}function gt(r){return Ft(r)&&_t(r.length)&&!!H[wt(r)]}function kt(r){if(!It(r)){return Tr(r)}var t=[];for(var n in Object(r)){if(lr.call(r,n)&&n!="constructor"){t.push(n)}}return t}function xt(r,t,n,e,a,o){var f=n&i,c=r.length,v=t.length;if(c!=v&&!(f&&v>c)){return false}var s=o.get(r);if(s&&o.get(t)){return s==t}var d=-1,l=true,h=n&u?new et:undefined;o.set(r,t);o.set(t,r);while(++d<c){var w=r[d],y=t[d];if(e){var m=f?e(y,w,d,t,r,o):e(w,y,d,r,t,o)}if(m!==undefined){if(m){continue}l=false;break}if(h){if(!rr(t,(function(r,t){if(!er(h,t)&&(w===r||a(w,r,n,e,o))){return h.push(t)}}))){l=false;break}}else if(!(w===y||a(w,y,n,e,o))){l=false;break}}o["delete"](r);o["delete"](t);return l}function jt(r,t,n,e,a,o,f){switch(n){case E:if(r.byteLength!=t.byteLength||r.byteOffset!=t.byteOffset){return false}r=r.buffer;t=t.buffer;case N:if(r.byteLength!=t.byteLength||!o(new pr(r),new pr(t))){return false}return true;case s:case d:case m:return Lt(+r,+t);case l:return r.name==t.name&&r.message==t.message;case x:case D:return r==t+"";case y:var c=ir;case j:var v=e&i;c||(c=or);if(r.size!=t.size&&!v){return false}var h=f.get(r);if(h){return h==t}e|=u;f.set(r,t);var w=xt(c(r),c(t),e,a,o,f);f["delete"](r);return w;case T:if(Qr){return Qr.call(r)==Qr.call(t)}}return false}function Dt(r,t,n,e,a,u){var o=n&i,f=Tt(r),c=f.length,v=Tt(t),s=v.length;if(c!=s&&!o){return false}var d=c;while(d--){var l=f[d];if(!(o?l in t:lr.call(t,l))){return false}}var h=u.get(r);if(h&&u.get(t)){return h==t}var w=true;u.set(r,t);u.set(t,r);var y=o;while(++d<c){l=f[d];var m=r[l],b=t[l];if(e){var p=o?e(b,m,l,t,r,u):e(m,b,l,r,t,u)}if(!(p===undefined?m===b||a(m,b,n,e,u):p)){w=false;break}y||(y=l=="constructor")}if(w&&!y){var g=r.constructor,k=t.constructor;if(g!=k&&("constructor"in r&&"constructor"in t)&&!(typeof g=="function"&&g instanceof g&&typeof k=="function"&&k instanceof k)){w=false}}u["delete"](r);u["delete"](t);return w}function Tt(r){return ht(r,Ut,Et)}function Mt(r,t){var n=r.__data__;return Ot(t)?n[typeof t=="string"?"string":"hash"]:n.map}function At(r,t){var n=ar(r,t);return pt(n)?n:undefined}function Nt(r){var t=lr.call(r,xr),n=r[xr];try{r[xr]=undefined;var e=true}catch(r){}var a=wr.call(r);if(e){if(t){r[xr]=n}else{delete r[xr]}}return a}var Et=!jr?Zt:function(r){if(r==null){return[]}r=Object(r);return K(jr(r),(function(t){return gr.call(r,t)}))};var St=wt;if(Mr&&St(new Mr(new ArrayBuffer(1)))!=E||Ar&&St(new Ar)!=y||Nr&&St(Nr.resolve())!=g||Er&&St(new Er)!=j||Sr&&St(new Sr)!=A){St=function(r){var t=wt(r),n=t==p?r.constructor:undefined,e=n?Yt(n):"";if(e){switch(e){case Or:return E;case Rr:return y;case Ir:return g;case qr:return j;case Yr:return A}}return t}}function Pt(r,t){t=t==null?o:t;return!!t&&(typeof r=="number"||B.test(r))&&(r>-1&&r%1==0&&r<t)}function Ot(r){var t=typeof r;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?r!=="__proto__":r===null}function Rt(r){return!!hr&&hr in r}function It(r){var t=r&&r.constructor,n=typeof t=="function"&&t.prototype||vr;return r===n}function qt(r){return wr.call(r)}function Yt(r){if(r!=null){try{return dr.call(r)}catch(r){}try{return r+""}catch(r){}}return""}function Lt(r,t){return r===t||r!==r&&t!==t}var Qt=yt(function(){return arguments}())?yt:function(r){return Ft(r)&&lr.call(r,"callee")&&!gr.call(r,"callee")};var Wt=Array.isArray;function Ct(r){return r!=null&&_t(r.length)&&!Xt(r)}var Bt=Dr||zt;function Ht(r,t){return mt(r,t)}function Xt(r){if(!Gt(r)){return false}var t=wt(r);return t==h||t==w||t==v||t==k}function _t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=o}function Gt(r){var t=typeof r;return r!=null&&(t=="object"||t=="function")}function Ft(r){return r!=null&&typeof r=="object"}var $t=J?nr(J):gt;function Ut(r){return Ct(r)?dt(r):kt(r)}function Zt(){return[]}function zt(){return false}r.exports=Ht})(e,e.exports);var a=e.exports;function i(r){"@babel/helpers - typeof";return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},i(r)}function u(r){if(r===null||r===true||r===false){return NaN}var t=Number(r);if(isNaN(t)){return t}return t<0?Math.ceil(t):Math.floor(t)}function o(r,t){if(t.length<r){throw new TypeError(r+" argument"+(r>1?"s":"")+" required, but only "+t.length+" present")}}function f(r){o(1,arguments);var t=Object.prototype.toString.call(r);if(r instanceof Date||i(r)==="object"&&t==="[object Date]"){return new Date(r.getTime())}else if(typeof r==="number"||t==="[object Number]"){return new Date(r)}else{if((typeof r==="string"||t==="[object String]")&&typeof console!=="undefined"){console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments");console.warn((new Error).stack)}return new Date(NaN)}}function c(r,t){o(2,arguments);var n=f(r).getTime();var e=u(t);return new Date(n+e)}var v={};function s(){return v}function d(r){var t=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));t.setUTCFullYear(r.getFullYear());return r.getTime()-t.getTime()}var l=6e4;var h=36e5;var w=1e3;function y(r){o(1,arguments);return r instanceof Date||i(r)==="object"&&Object.prototype.toString.call(r)==="[object Date]"}function m(r){o(1,arguments);if(!y(r)&&typeof r!=="number"){return false}var t=f(r);return!isNaN(Number(t))}function b(r,t){o(2,arguments);var n=u(t);return c(r,-n)}function p(r){o(1,arguments);var t=1;var n=f(r);var e=n.getUTCDay();var a=(e<t?7:0)+e-t;n.setUTCDate(n.getUTCDate()-a);n.setUTCHours(0,0,0,0);return n}function g(r){o(1,arguments);var t=f(r);var n=t.getUTCFullYear();var e=new Date(0);e.setUTCFullYear(n+1,0,4);e.setUTCHours(0,0,0,0);var a=p(e);var i=new Date(0);i.setUTCFullYear(n,0,4);i.setUTCHours(0,0,0,0);var u=p(i);if(t.getTime()>=a.getTime()){return n+1}else if(t.getTime()>=u.getTime()){return n}else{return n-1}}function k(r){o(1,arguments);var t=g(r);var n=new Date(0);n.setUTCFullYear(t,0,4);n.setUTCHours(0,0,0,0);var e=p(n);return e}var x=6048e5;function j(r){o(1,arguments);var t=f(r);var n=p(t).getTime()-k(t).getTime();return Math.round(n/x)+1}function D(r,t){var n,e,a,i,c,v,d,l;o(1,arguments);var h=s();var w=u((n=(e=(a=(i=t===null||t===void 0?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t===null||t===void 0?void 0:(c=t.locale)===null||c===void 0?void 0:(v=c.options)===null||v===void 0?void 0:v.weekStartsOn)!==null&&a!==void 0?a:h.weekStartsOn)!==null&&e!==void 0?e:(d=h.locale)===null||d===void 0?void 0:(l=d.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:0);if(!(w>=0&&w<=6)){throw new RangeError("weekStartsOn must be between 0 and 6 inclusively")}var y=f(r);var m=y.getUTCDay();var b=(m<w?7:0)+m-w;y.setUTCDate(y.getUTCDate()-b);y.setUTCHours(0,0,0,0);return y}function T(r,t){var n,e,a,i,c,v,d,l;o(1,arguments);var h=f(r);var w=h.getUTCFullYear();var y=s();var m=u((n=(e=(a=(i=t===null||t===void 0?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t===null||t===void 0?void 0:(c=t.locale)===null||c===void 0?void 0:(v=c.options)===null||v===void 0?void 0:v.firstWeekContainsDate)!==null&&a!==void 0?a:y.firstWeekContainsDate)!==null&&e!==void 0?e:(d=y.locale)===null||d===void 0?void 0:(l=d.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(m>=1&&m<=7)){throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively")}var b=new Date(0);b.setUTCFullYear(w+1,0,m);b.setUTCHours(0,0,0,0);var p=D(b,t);var g=new Date(0);g.setUTCFullYear(w,0,m);g.setUTCHours(0,0,0,0);var k=D(g,t);if(h.getTime()>=p.getTime()){return w+1}else if(h.getTime()>=k.getTime()){return w}else{return w-1}}function M(r,t){var n,e,a,i,f,c,v,d;o(1,arguments);var l=s();var h=u((n=(e=(a=(i=t===null||t===void 0?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t===null||t===void 0?void 0:(f=t.locale)===null||f===void 0?void 0:(c=f.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&a!==void 0?a:l.firstWeekContainsDate)!==null&&e!==void 0?e:(v=l.locale)===null||v===void 0?void 0:(d=v.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&n!==void 0?n:1);var w=T(r,t);var y=new Date(0);y.setUTCFullYear(w,0,h);y.setUTCHours(0,0,0,0);var m=D(y,t);return m}var A=6048e5;function N(r,t){o(1,arguments);var n=f(r);var e=D(n,t).getTime()-M(n,t).getTime();return Math.round(e/A)+1}function E(r,t){var n=r<0?"-":"";var e=Math.abs(r).toString();while(e.length<t){e="0"+e}return n+e}var S=function r(t,n){switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}};var P=function r(t,n){switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}};var O=function r(t,n){var e=t.match(/(P+)(p+)?/)||[];var a=e[1];var i=e[2];if(!i){return S(t,n)}var u;switch(a){case"P":u=n.dateTime({width:"short"});break;case"PP":u=n.dateTime({width:"medium"});break;case"PPP":u=n.dateTime({width:"long"});break;case"PPPP":default:u=n.dateTime({width:"full"});break}return u.replace("{{date}}",S(a,n)).replace("{{time}}",P(i,n))};var R={p:P,P:O};var I=R;var q=["D","DD"];var Y=["YY","YYYY"];function L(r){return q.indexOf(r)!==-1}function Q(r){return Y.indexOf(r)!==-1}function W(r,t,n){if(r==="YYYY"){throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}else if(r==="YY"){throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}else if(r==="D"){throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}else if(r==="DD"){throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}}var C={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};var B=function r(t,n,e){var a;var i=C[t];if(typeof i==="string"){a=i}else if(n===1){a=i.one}else{a=i.other.replace("{{count}}",n.toString())}if(e!==null&&e!==void 0&&e.addSuffix){if(e.comparison&&e.comparison>0){return"in "+a}else{return a+" ago"}}return a};var H=B;function X(r){return function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var n=t.width?String(t.width):r.defaultWidth;var e=r.formats[n]||r.formats[r.defaultWidth];return e}}var _={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"};var G={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"};var F={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"};var $={date:X({formats:_,defaultWidth:"full"}),time:X({formats:G,defaultWidth:"full"}),dateTime:X({formats:F,defaultWidth:"full"})};var U=$;var Z={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};var z=function r(t,n,e,a){return Z[t]};var J=z;function K(r){return function(t,n){var e=n!==null&&n!==void 0&&n.context?String(n.context):"standalone";var a;if(e==="formatting"&&r.formattingValues){var i=r.defaultFormattingWidth||r.defaultWidth;var u=n!==null&&n!==void 0&&n.width?String(n.width):i;a=r.formattingValues[u]||r.formattingValues[i]}else{var o=r.defaultWidth;var f=n!==null&&n!==void 0&&n.width?String(n.width):r.defaultWidth;a=r.values[f]||r.values[o]}var c=r.argumentCallback?r.argumentCallback(t):t;return a[c]}}var V={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]};var rr={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]};var tr={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]};var nr={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]};var er={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}};var ar={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}};var ir=function r(t,n){var e=Number(t);var a=e%100;if(a>20||a<10){switch(a%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}}return e+"th"};var ur={ordinalNumber:ir,era:K({values:V,defaultWidth:"wide"}),quarter:K({values:rr,defaultWidth:"wide",argumentCallback:function r(t){return t-1}}),month:K({values:tr,defaultWidth:"wide"}),day:K({values:nr,defaultWidth:"wide"}),dayPeriod:K({values:er,defaultWidth:"wide",formattingValues:ar,defaultFormattingWidth:"wide"})};var or=ur;function fr(r){return function(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var e=n.width;var a=e&&r.matchPatterns[e]||r.matchPatterns[r.defaultMatchWidth];var i=t.match(a);if(!i){return null}var u=i[0];var o=e&&r.parsePatterns[e]||r.parsePatterns[r.defaultParseWidth];var f=Array.isArray(o)?vr(o,(function(r){return r.test(u)})):cr(o,(function(r){return r.test(u)}));var c;c=r.valueCallback?r.valueCallback(f):f;c=n.valueCallback?n.valueCallback(c):c;var v=t.slice(u.length);return{value:c,rest:v}}}function cr(r,t){for(var n in r){if(r.hasOwnProperty(n)&&t(r[n])){return n}}return undefined}function vr(r,t){for(var n=0;n<r.length;n++){if(t(r[n])){return n}}return undefined}function sr(r){return function(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var e=t.match(r.matchPattern);if(!e)return null;var a=e[0];var i=t.match(r.parsePattern);if(!i)return null;var u=r.valueCallback?r.valueCallback(i[0]):i[0];u=n.valueCallback?n.valueCallback(u):u;var o=t.slice(a.length);return{value:u,rest:o}}}var dr=/^(\d+)(th|st|nd|rd)?/i;var lr=/\d+/i;var hr={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i};var wr={any:[/^b/i,/^(a|c)/i]};var yr={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i};var mr={any:[/1/i,/2/i,/3/i,/4/i]};var br={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i};var pr={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]};var gr={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i};var kr={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]};var xr={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i};var jr={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}};var Dr={ordinalNumber:sr({matchPattern:dr,parsePattern:lr,valueCallback:function r(t){return parseInt(t,10)}}),era:fr({matchPatterns:hr,defaultMatchWidth:"wide",parsePatterns:wr,defaultParseWidth:"any"}),quarter:fr({matchPatterns:yr,defaultMatchWidth:"wide",parsePatterns:mr,defaultParseWidth:"any",valueCallback:function r(t){return t+1}}),month:fr({matchPatterns:br,defaultMatchWidth:"wide",parsePatterns:pr,defaultParseWidth:"any"}),day:fr({matchPatterns:gr,defaultMatchWidth:"wide",parsePatterns:kr,defaultParseWidth:"any"}),dayPeriod:fr({matchPatterns:xr,defaultMatchWidth:"any",parsePatterns:jr,defaultParseWidth:"any"})};var Tr=Dr;var Mr={code:"en-US",formatDistance:H,formatLong:U,formatRelative:J,localize:or,match:Tr,options:{weekStartsOn:0,firstWeekContainsDate:1}};var Ar=Mr;function Nr(r,t){if(r==null){throw new TypeError("assign requires that input parameter not be null or undefined")}for(var n in t){if(Object.prototype.hasOwnProperty.call(t,n)){r[n]=t[n]}}return r}function Er(r,t){var n,e;o(1,arguments);var a=f(r);if(isNaN(a.getTime())){throw new RangeError("Invalid time value")}var i=String((n=t===null||t===void 0?void 0:t.format)!==null&&n!==void 0?n:"extended");var u=String((e=t===null||t===void 0?void 0:t.representation)!==null&&e!==void 0?e:"complete");if(i!=="extended"&&i!=="basic"){throw new RangeError("format must be 'extended' or 'basic'")}if(u!=="date"&&u!=="time"&&u!=="complete"){throw new RangeError("representation must be 'date', 'time', or 'complete'")}var c="";var v="";var s=i==="extended"?"-":"";var d=i==="extended"?":":"";if(u!=="time"){var l=E(a.getDate(),2);var h=E(a.getMonth()+1,2);var w=E(a.getFullYear(),4);c="".concat(w).concat(s).concat(h).concat(s).concat(l)}if(u!=="date"){var y=a.getTimezoneOffset();if(y!==0){var m=Math.abs(y);var b=E(Math.floor(m/60),2);var p=E(m%60,2);var g=y<0?"+":"-";v="".concat(g).concat(b,":").concat(p)}else{v="Z"}var k=E(a.getHours(),2);var x=E(a.getMinutes(),2);var j=E(a.getSeconds(),2);var D=c===""?"":"T";var T=[k,x,j].join(d);c="".concat(c).concat(D).concat(T).concat(v)}return c}function Sr(r){o(1,arguments);var t=f(r);var n=t.getDate();return n}function Pr(r){o(1,arguments);var t=f(r);var n=t.getMonth();return n}function Or(r){o(1,arguments);return f(r).getFullYear()}function Rr(r,t){if(t==null||t>r.length)t=r.length;for(var n=0,e=new Array(t);n<t;n++)e[n]=r[n];return e}function Ir(r,t){if(!r)return;if(typeof r==="string")return Rr(r,t);var n=Object.prototype.toString.call(r).slice(8,-1);if(n==="Object"&&r.constructor)n=r.constructor.name;if(n==="Map"||n==="Set")return Array.from(r);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Rr(r,t)}function qr(r,t){var n=typeof Symbol!=="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(!n){if(Array.isArray(r)||(n=Ir(r))||t&&r&&typeof r.length==="number"){if(n)r=n;var e=0;var a=function r(){};return{s:a,n:function t(){if(e>=r.length)return{done:true};return{done:false,value:r[e++]}},e:function r(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i=true,u=false,o;return{s:function t(){n=n.call(r)},n:function r(){var t=n.next();i=t.done;return t},e:function r(t){u=true;o=t},f:function r(){try{if(!i&&n["return"]!=null)n["return"]()}finally{if(u)throw o}}}}function Yr(r){if(r===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r}function Lr(r,t){Lr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function r(t,n){t.__proto__=n;return t};return Lr(r,t)}function Qr(r,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function")}r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:true,configurable:true}});Object.defineProperty(r,"prototype",{writable:false});if(t)Lr(r,t)}function Wr(r){Wr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function r(t){return t.__proto__||Object.getPrototypeOf(t)};return Wr(r)}function Cr(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(r){}return(Cr=function t(){return!!r})()}function Br(r,t){if(t&&(i(t)==="object"||typeof t==="function")){return t}else if(t!==void 0){throw new TypeError("Derived constructors may only return object or undefined")}return Yr(r)}function Hr(r){var t=Cr();return function n(){var e=Wr(r),a;if(t){var i=Wr(this).constructor;a=Reflect.construct(e,arguments,i)}else{a=e.apply(this,arguments)}return Br(this,a)}}function Xr(r,t){if(!(r instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _r(r,t){if("object"!=i(r)||!r)return r;var n=r[Symbol.toPrimitive];if(void 0!==n){var e=n.call(r,t||"default");if("object"!=i(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(r)}function Gr(r){var t=_r(r,"string");return"symbol"==i(t)?t:String(t)}function Fr(r,t){for(var n=0;n<t.length;n++){var e=t[n];e.enumerable=e.enumerable||false;e.configurable=true;if("value"in e)e.writable=true;Object.defineProperty(r,Gr(e.key),e)}}function $r(r,t,n){if(t)Fr(r.prototype,t);if(n)Fr(r,n);Object.defineProperty(r,"prototype",{writable:false});return r}function Ur(r,t,n){t=Gr(t);if(t in r){Object.defineProperty(r,t,{value:n,enumerable:true,configurable:true,writable:true})}else{r[t]=n}return r}var Zr=10;var zr=function(){function r(){Xr(this,r);Ur(this,"priority",void 0);Ur(this,"subPriority",0)}$r(r,[{key:"validate",value:function r(t,n){return true}}]);return r}();var Jr=function(r){Qr(n,r);var t=Hr(n);function n(r,e,a,i,u){var o;Xr(this,n);o=t.call(this);o.value=r;o.validateValue=e;o.setValue=a;o.priority=i;if(u){o.subPriority=u}return o}$r(n,[{key:"validate",value:function r(t,n){return this.validateValue(t,this.value,n)}},{key:"set",value:function r(t,n,e){return this.setValue(t,n,this.value,e)}}]);return n}(zr);var Kr=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",Zr);Ur(Yr(r),"subPriority",-1);return r}$r(n,[{key:"set",value:function r(t,n){if(n.timestampIsSet){return t}var e=new Date(0);e.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate());e.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds());return e}}]);return n}(zr);var Vr=function(){function r(){Xr(this,r);Ur(this,"incompatibleTokens",void 0);Ur(this,"priority",void 0);Ur(this,"subPriority",void 0)}$r(r,[{key:"run",value:function r(t,n,e,a){var i=this.parse(t,n,e,a);if(!i){return null}return{setter:new Jr(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}}},{key:"validate",value:function r(t,n,e){return true}}]);return r}();var rt=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",140);Ur(Yr(r),"incompatibleTokens",["R","u","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e){switch(n){case"G":case"GG":case"GGG":return e.era(t,{width:"abbreviated"})||e.era(t,{width:"narrow"});case"GGGGG":return e.era(t,{width:"narrow"});case"GGGG":default:return e.era(t,{width:"wide"})||e.era(t,{width:"abbreviated"})||e.era(t,{width:"narrow"})}}},{key:"set",value:function r(t,n,e){n.era=e;t.setUTCFullYear(e,0,1);t.setUTCHours(0,0,0,0);return t}}]);return n}(Vr);var tt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/};var nt={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function et(r,t){if(!r){return r}return{value:t(r.value),rest:r.rest}}function at(r,t){var n=t.match(r);if(!n){return null}return{value:parseInt(n[0],10),rest:t.slice(n[0].length)}}function it(r,t){var n=t.match(r);if(!n){return null}if(n[0]==="Z"){return{value:0,rest:t.slice(1)}}var e=n[1]==="+"?1:-1;var a=n[2]?parseInt(n[2],10):0;var i=n[3]?parseInt(n[3],10):0;var u=n[5]?parseInt(n[5],10):0;return{value:e*(a*h+i*l+u*w),rest:t.slice(n[0].length)}}function ut(r){return at(tt.anyDigitsSigned,r)}function ot(r,t){switch(r){case 1:return at(tt.singleDigit,t);case 2:return at(tt.twoDigits,t);case 3:return at(tt.threeDigits,t);case 4:return at(tt.fourDigits,t);default:return at(new RegExp("^\\d{1,"+r+"}"),t)}}function ft(r,t){switch(r){case 1:return at(tt.singleDigitSigned,t);case 2:return at(tt.twoDigitsSigned,t);case 3:return at(tt.threeDigitsSigned,t);case 4:return at(tt.fourDigitsSigned,t);default:return at(new RegExp("^-?\\d{1,"+r+"}"),t)}}function ct(r){switch(r){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function vt(r,t){var n=t>0;var e=n?t:1-t;var a;if(e<=50){a=r||100}else{var i=e+50;var u=Math.floor(i/100)*100;var o=r>=i%100;a=r+u-(o?100:0)}return n?a:1-a}function st(r){return r%400===0||r%4===0&&r%100!==0}var dt=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",130);Ur(Yr(r),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e){var a=function r(t){return{year:t,isTwoDigitYear:n==="yy"}};switch(n){case"y":return et(ot(4,t),a);case"yo":return et(e.ordinalNumber(t,{unit:"year"}),a);default:return et(ot(n.length,t),a)}}},{key:"validate",value:function r(t,n){return n.isTwoDigitYear||n.year>0}},{key:"set",value:function r(t,n,e){var a=t.getUTCFullYear();if(e.isTwoDigitYear){var i=vt(e.year,a);t.setUTCFullYear(i,0,1);t.setUTCHours(0,0,0,0);return t}var u=!("era"in n)||n.era===1?e.year:1-e.year;t.setUTCFullYear(u,0,1);t.setUTCHours(0,0,0,0);return t}}]);return n}(Vr);var lt=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",130);Ur(Yr(r),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e){var a=function r(t){return{year:t,isTwoDigitYear:n==="YY"}};switch(n){case"Y":return et(ot(4,t),a);case"Yo":return et(e.ordinalNumber(t,{unit:"year"}),a);default:return et(ot(n.length,t),a)}}},{key:"validate",value:function r(t,n){return n.isTwoDigitYear||n.year>0}},{key:"set",value:function r(t,n,e,a){var i=T(t,a);if(e.isTwoDigitYear){var u=vt(e.year,i);t.setUTCFullYear(u,0,a.firstWeekContainsDate);t.setUTCHours(0,0,0,0);return D(t,a)}var o=!("era"in n)||n.era===1?e.year:1-e.year;t.setUTCFullYear(o,0,a.firstWeekContainsDate);t.setUTCHours(0,0,0,0);return D(t,a)}}]);return n}(Vr);var ht=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",130);Ur(Yr(r),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n){if(n==="R"){return ft(4,t)}return ft(n.length,t)}},{key:"set",value:function r(t,n,e){var a=new Date(0);a.setUTCFullYear(e,0,4);a.setUTCHours(0,0,0,0);return p(a)}}]);return n}(Vr);var wt=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",130);Ur(Yr(r),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n){if(n==="u"){return ft(4,t)}return ft(n.length,t)}},{key:"set",value:function r(t,n,e){t.setUTCFullYear(e,0,1);t.setUTCHours(0,0,0,0);return t}}]);return n}(Vr);var yt=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",120);Ur(Yr(r),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e){switch(n){case"Q":case"QQ":return ot(n.length,t);case"Qo":return e.ordinalNumber(t,{unit:"quarter"});case"QQQ":return e.quarter(t,{width:"abbreviated",context:"formatting"})||e.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return e.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return e.quarter(t,{width:"wide",context:"formatting"})||e.quarter(t,{width:"abbreviated",context:"formatting"})||e.quarter(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function r(t,n){return n>=1&&n<=4}},{key:"set",value:function r(t,n,e){t.setUTCMonth((e-1)*3,1);t.setUTCHours(0,0,0,0);return t}}]);return n}(Vr);var mt=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",120);Ur(Yr(r),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e){switch(n){case"q":case"qq":return ot(n.length,t);case"qo":return e.ordinalNumber(t,{unit:"quarter"});case"qqq":return e.quarter(t,{width:"abbreviated",context:"standalone"})||e.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return e.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return e.quarter(t,{width:"wide",context:"standalone"})||e.quarter(t,{width:"abbreviated",context:"standalone"})||e.quarter(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function r(t,n){return n>=1&&n<=4}},{key:"set",value:function r(t,n,e){t.setUTCMonth((e-1)*3,1);t.setUTCHours(0,0,0,0);return t}}]);return n}(Vr);var bt=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);Ur(Yr(r),"priority",110);return r}$r(n,[{key:"parse",value:function r(t,n,e){var a=function r(t){return t-1};switch(n){case"M":return et(at(tt.month,t),a);case"MM":return et(ot(2,t),a);case"Mo":return et(e.ordinalNumber(t,{unit:"month"}),a);case"MMM":return e.month(t,{width:"abbreviated",context:"formatting"})||e.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return e.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return e.month(t,{width:"wide",context:"formatting"})||e.month(t,{width:"abbreviated",context:"formatting"})||e.month(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function r(t,n){return n>=0&&n<=11}},{key:"set",value:function r(t,n,e){t.setUTCMonth(e,1);t.setUTCHours(0,0,0,0);return t}}]);return n}(Vr);var pt=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",110);Ur(Yr(r),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e){var a=function r(t){return t-1};switch(n){case"L":return et(at(tt.month,t),a);case"LL":return et(ot(2,t),a);case"Lo":return et(e.ordinalNumber(t,{unit:"month"}),a);case"LLL":return e.month(t,{width:"abbreviated",context:"standalone"})||e.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return e.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return e.month(t,{width:"wide",context:"standalone"})||e.month(t,{width:"abbreviated",context:"standalone"})||e.month(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function r(t,n){return n>=0&&n<=11}},{key:"set",value:function r(t,n,e){t.setUTCMonth(e,1);t.setUTCHours(0,0,0,0);return t}}]);return n}(Vr);function gt(r,t,n){o(2,arguments);var e=f(r);var a=u(t);var i=N(e,n)-a;e.setUTCDate(e.getUTCDate()-i*7);return e}var kt=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",100);Ur(Yr(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e){switch(n){case"w":return at(tt.week,t);case"wo":return e.ordinalNumber(t,{unit:"week"});default:return ot(n.length,t)}}},{key:"validate",value:function r(t,n){return n>=1&&n<=53}},{key:"set",value:function r(t,n,e,a){return D(gt(t,e,a),a)}}]);return n}(Vr);function xt(r,t){o(2,arguments);var n=f(r);var e=u(t);var a=j(n)-e;n.setUTCDate(n.getUTCDate()-a*7);return n}var jt=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",100);Ur(Yr(r),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e){switch(n){case"I":return at(tt.week,t);case"Io":return e.ordinalNumber(t,{unit:"week"});default:return ot(n.length,t)}}},{key:"validate",value:function r(t,n){return n>=1&&n<=53}},{key:"set",value:function r(t,n,e){return p(xt(t,e))}}]);return n}(Vr);var Dt=[31,28,31,30,31,30,31,31,30,31,30,31];var Tt=[31,29,31,30,31,30,31,31,30,31,30,31];var Mt=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",90);Ur(Yr(r),"subPriority",1);Ur(Yr(r),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e){switch(n){case"d":return at(tt.date,t);case"do":return e.ordinalNumber(t,{unit:"date"});default:return ot(n.length,t)}}},{key:"validate",value:function r(t,n){var e=t.getUTCFullYear();var a=st(e);var i=t.getUTCMonth();if(a){return n>=1&&n<=Tt[i]}else{return n>=1&&n<=Dt[i]}}},{key:"set",value:function r(t,n,e){t.setUTCDate(e);t.setUTCHours(0,0,0,0);return t}}]);return n}(Vr);var At=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",90);Ur(Yr(r),"subpriority",1);Ur(Yr(r),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e){switch(n){case"D":case"DD":return at(tt.dayOfYear,t);case"Do":return e.ordinalNumber(t,{unit:"date"});default:return ot(n.length,t)}}},{key:"validate",value:function r(t,n){var e=t.getUTCFullYear();var a=st(e);if(a){return n>=1&&n<=366}else{return n>=1&&n<=365}}},{key:"set",value:function r(t,n,e){t.setUTCMonth(0,e);t.setUTCHours(0,0,0,0);return t}}]);return n}(Vr);function Nt(r,t,n){var e,a,i,c,v,d,l,h;o(2,arguments);var w=s();var y=u((e=(a=(i=(c=n===null||n===void 0?void 0:n.weekStartsOn)!==null&&c!==void 0?c:n===null||n===void 0?void 0:(v=n.locale)===null||v===void 0?void 0:(d=v.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&i!==void 0?i:w.weekStartsOn)!==null&&a!==void 0?a:(l=w.locale)===null||l===void 0?void 0:(h=l.options)===null||h===void 0?void 0:h.weekStartsOn)!==null&&e!==void 0?e:0);if(!(y>=0&&y<=6)){throw new RangeError("weekStartsOn must be between 0 and 6 inclusively")}var m=f(r);var b=u(t);var p=m.getUTCDay();var g=b%7;var k=(g+7)%7;var x=(k<y?7:0)+b-p;m.setUTCDate(m.getUTCDate()+x);return m}var Et=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",90);Ur(Yr(r),"incompatibleTokens",["D","i","e","c","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e){switch(n){case"E":case"EE":case"EEE":return e.day(t,{width:"abbreviated",context:"formatting"})||e.day(t,{width:"short",context:"formatting"})||e.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return e.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(t,{width:"short",context:"formatting"})||e.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return e.day(t,{width:"wide",context:"formatting"})||e.day(t,{width:"abbreviated",context:"formatting"})||e.day(t,{width:"short",context:"formatting"})||e.day(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function r(t,n){return n>=0&&n<=6}},{key:"set",value:function r(t,n,e,a){t=Nt(t,e,a);t.setUTCHours(0,0,0,0);return t}}]);return n}(Vr);var St=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",90);Ur(Yr(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e,a){var i=function r(t){var n=Math.floor((t-1)/7)*7;return(t+a.weekStartsOn+6)%7+n};switch(n){case"e":case"ee":return et(ot(n.length,t),i);case"eo":return et(e.ordinalNumber(t,{unit:"day"}),i);case"eee":return e.day(t,{width:"abbreviated",context:"formatting"})||e.day(t,{width:"short",context:"formatting"})||e.day(t,{width:"narrow",context:"formatting"});case"eeeee":return e.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return e.day(t,{width:"short",context:"formatting"})||e.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return e.day(t,{width:"wide",context:"formatting"})||e.day(t,{width:"abbreviated",context:"formatting"})||e.day(t,{width:"short",context:"formatting"})||e.day(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function r(t,n){return n>=0&&n<=6}},{key:"set",value:function r(t,n,e,a){t=Nt(t,e,a);t.setUTCHours(0,0,0,0);return t}}]);return n}(Vr);var Pt=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",90);Ur(Yr(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e,a){var i=function r(t){var n=Math.floor((t-1)/7)*7;return(t+a.weekStartsOn+6)%7+n};switch(n){case"c":case"cc":return et(ot(n.length,t),i);case"co":return et(e.ordinalNumber(t,{unit:"day"}),i);case"ccc":return e.day(t,{width:"abbreviated",context:"standalone"})||e.day(t,{width:"short",context:"standalone"})||e.day(t,{width:"narrow",context:"standalone"});case"ccccc":return e.day(t,{width:"narrow",context:"standalone"});case"cccccc":return e.day(t,{width:"short",context:"standalone"})||e.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return e.day(t,{width:"wide",context:"standalone"})||e.day(t,{width:"abbreviated",context:"standalone"})||e.day(t,{width:"short",context:"standalone"})||e.day(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function r(t,n){return n>=0&&n<=6}},{key:"set",value:function r(t,n,e,a){t=Nt(t,e,a);t.setUTCHours(0,0,0,0);return t}}]);return n}(Vr);function Ot(r,t){o(2,arguments);var n=u(t);if(n%7===0){n=n-7}var e=1;var a=f(r);var i=a.getUTCDay();var c=n%7;var v=(c+7)%7;var s=(v<e?7:0)+n-i;a.setUTCDate(a.getUTCDate()+s);return a}var Rt=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",90);Ur(Yr(r),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e){var a=function r(t){if(t===0){return 7}return t};switch(n){case"i":case"ii":return ot(n.length,t);case"io":return e.ordinalNumber(t,{unit:"day"});case"iii":return et(e.day(t,{width:"abbreviated",context:"formatting"})||e.day(t,{width:"short",context:"formatting"})||e.day(t,{width:"narrow",context:"formatting"}),a);case"iiiii":return et(e.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return et(e.day(t,{width:"short",context:"formatting"})||e.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return et(e.day(t,{width:"wide",context:"formatting"})||e.day(t,{width:"abbreviated",context:"formatting"})||e.day(t,{width:"short",context:"formatting"})||e.day(t,{width:"narrow",context:"formatting"}),a)}}},{key:"validate",value:function r(t,n){return n>=1&&n<=7}},{key:"set",value:function r(t,n,e){t=Ot(t,e);t.setUTCHours(0,0,0,0);return t}}]);return n}(Vr);var It=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",80);Ur(Yr(r),"incompatibleTokens",["b","B","H","k","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e){switch(n){case"a":case"aa":case"aaa":return e.dayPeriod(t,{width:"abbreviated",context:"formatting"})||e.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return e.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return e.dayPeriod(t,{width:"wide",context:"formatting"})||e.dayPeriod(t,{width:"abbreviated",context:"formatting"})||e.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function r(t,n,e){t.setUTCHours(ct(e),0,0,0);return t}}]);return n}(Vr);var qt=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",80);Ur(Yr(r),"incompatibleTokens",["a","B","H","k","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e){switch(n){case"b":case"bb":case"bbb":return e.dayPeriod(t,{width:"abbreviated",context:"formatting"})||e.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return e.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return e.dayPeriod(t,{width:"wide",context:"formatting"})||e.dayPeriod(t,{width:"abbreviated",context:"formatting"})||e.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function r(t,n,e){t.setUTCHours(ct(e),0,0,0);return t}}]);return n}(Vr);var Yt=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",80);Ur(Yr(r),"incompatibleTokens",["a","b","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e){switch(n){case"B":case"BB":case"BBB":return e.dayPeriod(t,{width:"abbreviated",context:"formatting"})||e.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return e.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return e.dayPeriod(t,{width:"wide",context:"formatting"})||e.dayPeriod(t,{width:"abbreviated",context:"formatting"})||e.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function r(t,n,e){t.setUTCHours(ct(e),0,0,0);return t}}]);return n}(Vr);var Lt=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",70);Ur(Yr(r),"incompatibleTokens",["H","K","k","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e){switch(n){case"h":return at(tt.hour12h,t);case"ho":return e.ordinalNumber(t,{unit:"hour"});default:return ot(n.length,t)}}},{key:"validate",value:function r(t,n){return n>=1&&n<=12}},{key:"set",value:function r(t,n,e){var a=t.getUTCHours()>=12;if(a&&e<12){t.setUTCHours(e+12,0,0,0)}else if(!a&&e===12){t.setUTCHours(0,0,0,0)}else{t.setUTCHours(e,0,0,0)}return t}}]);return n}(Vr);var Qt=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",70);Ur(Yr(r),"incompatibleTokens",["a","b","h","K","k","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e){switch(n){case"H":return at(tt.hour23h,t);case"Ho":return e.ordinalNumber(t,{unit:"hour"});default:return ot(n.length,t)}}},{key:"validate",value:function r(t,n){return n>=0&&n<=23}},{key:"set",value:function r(t,n,e){t.setUTCHours(e,0,0,0);return t}}]);return n}(Vr);var Wt=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",70);Ur(Yr(r),"incompatibleTokens",["h","H","k","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e){switch(n){case"K":return at(tt.hour11h,t);case"Ko":return e.ordinalNumber(t,{unit:"hour"});default:return ot(n.length,t)}}},{key:"validate",value:function r(t,n){return n>=0&&n<=11}},{key:"set",value:function r(t,n,e){var a=t.getUTCHours()>=12;if(a&&e<12){t.setUTCHours(e+12,0,0,0)}else{t.setUTCHours(e,0,0,0)}return t}}]);return n}(Vr);var Ct=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",70);Ur(Yr(r),"incompatibleTokens",["a","b","h","H","K","t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e){switch(n){case"k":return at(tt.hour24h,t);case"ko":return e.ordinalNumber(t,{unit:"hour"});default:return ot(n.length,t)}}},{key:"validate",value:function r(t,n){return n>=1&&n<=24}},{key:"set",value:function r(t,n,e){var a=e<=24?e%24:e;t.setUTCHours(a,0,0,0);return t}}]);return n}(Vr);var Bt=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",60);Ur(Yr(r),"incompatibleTokens",["t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e){switch(n){case"m":return at(tt.minute,t);case"mo":return e.ordinalNumber(t,{unit:"minute"});default:return ot(n.length,t)}}},{key:"validate",value:function r(t,n){return n>=0&&n<=59}},{key:"set",value:function r(t,n,e){t.setUTCMinutes(e,0,0);return t}}]);return n}(Vr);var Ht=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",50);Ur(Yr(r),"incompatibleTokens",["t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n,e){switch(n){case"s":return at(tt.second,t);case"so":return e.ordinalNumber(t,{unit:"second"});default:return ot(n.length,t)}}},{key:"validate",value:function r(t,n){return n>=0&&n<=59}},{key:"set",value:function r(t,n,e){t.setUTCSeconds(e,0);return t}}]);return n}(Vr);var Xt=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",30);Ur(Yr(r),"incompatibleTokens",["t","T"]);return r}$r(n,[{key:"parse",value:function r(t,n){var e=function r(t){return Math.floor(t*Math.pow(10,-n.length+3))};return et(ot(n.length,t),e)}},{key:"set",value:function r(t,n,e){t.setUTCMilliseconds(e);return t}}]);return n}(Vr);var _t=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",10);Ur(Yr(r),"incompatibleTokens",["t","T","x"]);return r}$r(n,[{key:"parse",value:function r(t,n){switch(n){case"X":return it(nt.basicOptionalMinutes,t);case"XX":return it(nt.basic,t);case"XXXX":return it(nt.basicOptionalSeconds,t);case"XXXXX":return it(nt.extendedOptionalSeconds,t);case"XXX":default:return it(nt.extended,t)}}},{key:"set",value:function r(t,n,e){if(n.timestampIsSet){return t}return new Date(t.getTime()-e)}}]);return n}(Vr);var Gt=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",10);Ur(Yr(r),"incompatibleTokens",["t","T","X"]);return r}$r(n,[{key:"parse",value:function r(t,n){switch(n){case"x":return it(nt.basicOptionalMinutes,t);case"xx":return it(nt.basic,t);case"xxxx":return it(nt.basicOptionalSeconds,t);case"xxxxx":return it(nt.extendedOptionalSeconds,t);case"xxx":default:return it(nt.extended,t)}}},{key:"set",value:function r(t,n,e){if(n.timestampIsSet){return t}return new Date(t.getTime()-e)}}]);return n}(Vr);var Ft=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",40);Ur(Yr(r),"incompatibleTokens","*");return r}$r(n,[{key:"parse",value:function r(t){return ut(t)}},{key:"set",value:function r(t,n,e){return[new Date(e*1e3),{timestampIsSet:true}]}}]);return n}(Vr);var $t=function(r){Qr(n,r);var t=Hr(n);function n(){var r;Xr(this,n);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++){a[i]=arguments[i]}r=t.call.apply(t,[this].concat(a));Ur(Yr(r),"priority",20);Ur(Yr(r),"incompatibleTokens","*");return r}$r(n,[{key:"parse",value:function r(t){return ut(t)}},{key:"set",value:function r(t,n,e){return[new Date(e),{timestampIsSet:true}]}}]);return n}(Vr);var Ut={G:new rt,y:new dt,Y:new lt,R:new ht,u:new wt,Q:new yt,q:new mt,M:new bt,L:new pt,w:new kt,I:new jt,d:new Mt,D:new At,E:new Et,e:new St,c:new Pt,i:new Rt,a:new It,b:new qt,B:new Yt,h:new Lt,H:new Qt,K:new Wt,k:new Ct,m:new Bt,s:new Ht,S:new Xt,X:new _t,x:new Gt,t:new Ft,T:new $t};var Zt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g;var zt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;var Jt=/^'([^]*?)'?$/;var Kt=/''/g;var Vt=/\S/;var rn=/[a-zA-Z]/;function tn(r,t,n,e){var a,c,v,l,h,w,y,m,p,g,k,x,j,D,T,M,A,N;o(3,arguments);var E=String(r);var S=String(t);var P=s();var O=(a=(c=e===null||e===void 0?void 0:e.locale)!==null&&c!==void 0?c:P.locale)!==null&&a!==void 0?a:Ar;if(!O.match){throw new RangeError("locale must contain match property")}var R=u((v=(l=(h=(w=e===null||e===void 0?void 0:e.firstWeekContainsDate)!==null&&w!==void 0?w:e===null||e===void 0?void 0:(y=e.locale)===null||y===void 0?void 0:(m=y.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&h!==void 0?h:P.firstWeekContainsDate)!==null&&l!==void 0?l:(p=P.locale)===null||p===void 0?void 0:(g=p.options)===null||g===void 0?void 0:g.firstWeekContainsDate)!==null&&v!==void 0?v:1);if(!(R>=1&&R<=7)){throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively")}var q=u((k=(x=(j=(D=e===null||e===void 0?void 0:e.weekStartsOn)!==null&&D!==void 0?D:e===null||e===void 0?void 0:(T=e.locale)===null||T===void 0?void 0:(M=T.options)===null||M===void 0?void 0:M.weekStartsOn)!==null&&j!==void 0?j:P.weekStartsOn)!==null&&x!==void 0?x:(A=P.locale)===null||A===void 0?void 0:(N=A.options)===null||N===void 0?void 0:N.weekStartsOn)!==null&&k!==void 0?k:0);if(!(q>=0&&q<=6)){throw new RangeError("weekStartsOn must be between 0 and 6 inclusively")}if(S===""){if(E===""){return f(n)}else{return new Date(NaN)}}var Y={firstWeekContainsDate:R,weekStartsOn:q,locale:O};var C=[new Kr];var B=S.match(zt).map((function(r){var t=r[0];if(t in I){var n=I[t];return n(r,O.formatLong)}return r})).join("").match(Zt);var H=[];var X=qr(B),_;try{var G=function t(){var n=_.value;if(!(e!==null&&e!==void 0&&e.useAdditionalWeekYearTokens)&&Q(n)){W(n,S,r)}if(!(e!==null&&e!==void 0&&e.useAdditionalDayOfYearTokens)&&L(n)){W(n,S,r)}var a=n[0];var i=Ut[a];if(i){var u=i.incompatibleTokens;if(Array.isArray(u)){var o=H.find((function(r){return u.includes(r.token)||r.token===a}));if(o){throw new RangeError("The format string mustn't contain `".concat(o.fullToken,"` and `").concat(n,"` at the same time"))}}else if(i.incompatibleTokens==="*"&&H.length>0){throw new RangeError("The format string mustn't contain `".concat(n,"` and any other token at the same time"))}H.push({token:a,fullToken:n});var f=i.run(E,n,O.match,Y);if(!f){return{v:new Date(NaN)}}C.push(f.setter);E=f.rest}else{if(a.match(rn)){throw new RangeError("Format string contains an unescaped latin alphabet character `"+a+"`")}if(n==="''"){n="'"}else if(a==="'"){n=nn(n)}if(E.indexOf(n)===0){E=E.slice(n.length)}else{return{v:new Date(NaN)}}}};for(X.s();!(_=X.n()).done;){var F=G();if(i(F)==="object")return F.v}}catch(r){X.e(r)}finally{X.f()}if(E.length>0&&Vt.test(E)){return new Date(NaN)}var $=C.map((function(r){return r.priority})).sort((function(r,t){return t-r})).filter((function(r,t,n){return n.indexOf(r)===t})).map((function(r){return C.filter((function(t){return t.priority===r})).sort((function(r,t){return t.subPriority-r.subPriority}))})).map((function(r){return r[0]}));var U=f(n);if(isNaN(U.getTime())){return new Date(NaN)}var Z=b(U,d(U));var z={};var J=qr($),K;try{for(J.s();!(K=J.n()).done;){var V=K.value;if(!V.validate(Z,Y)){return new Date(NaN)}var rr=V.set(Z,z,Y);if(Array.isArray(rr)){Z=rr[0];Nr(z,rr[1])}else{Z=rr}}}catch(r){J.e(r)}finally{J.f()}return Z}function nn(r){return r.match(Jt)[1].replace(Kt,"'")}function en(r,t,n){o(2,arguments);return m(tn(r,t,new Date,n))}function an(r,t){var n;o(1,arguments);var e=u((n=t===null||t===void 0?void 0:t.additionalDigits)!==null&&n!==void 0?n:2);if(e!==2&&e!==1&&e!==0){throw new RangeError("additionalDigits must be 0, 1 or 2")}if(!(typeof r==="string"||Object.prototype.toString.call(r)==="[object String]")){return new Date(NaN)}var a=vn(r);var i;if(a.date){var f=sn(a.date,e);i=dn(f.restDateString,f.year)}if(!i||isNaN(i.getTime())){return new Date(NaN)}var c=i.getTime();var v=0;var s;if(a.time){v=hn(a.time);if(isNaN(v)){return new Date(NaN)}}if(a.timezone){s=yn(a.timezone);if(isNaN(s)){return new Date(NaN)}}else{var d=new Date(c+v);var l=new Date(0);l.setFullYear(d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate());l.setHours(d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds(),d.getUTCMilliseconds());return l}return new Date(c+v+s)}var un={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/};var on=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/;var fn=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/;var cn=/^([+-])(\d{2})(?::?(\d{2}))?$/;function vn(r){var t={};var n=r.split(un.dateTimeDelimiter);var e;if(n.length>2){return t}if(/:/.test(n[0])){e=n[0]}else{t.date=n[0];e=n[1];if(un.timeZoneDelimiter.test(t.date)){t.date=r.split(un.timeZoneDelimiter)[0];e=r.substr(t.date.length,r.length)}}if(e){var a=un.timezone.exec(e);if(a){t.time=e.replace(a[1],"");t.timezone=a[1]}else{t.time=e}}return t}function sn(r,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)");var e=r.match(n);if(!e)return{year:NaN,restDateString:""};var a=e[1]?parseInt(e[1]):null;var i=e[2]?parseInt(e[2]):null;return{year:i===null?a:i*100,restDateString:r.slice((e[1]||e[2]).length)}}function dn(r,t){if(t===null)return new Date(NaN);var n=r.match(on);if(!n)return new Date(NaN);var e=!!n[4];var a=ln(n[1]);var i=ln(n[2])-1;var u=ln(n[3]);var o=ln(n[4]);var f=ln(n[5])-1;if(e){if(!xn(t,o,f)){return new Date(NaN)}return mn(t,o,f)}else{var c=new Date(0);if(!gn(t,i,u)||!kn(t,a)){return new Date(NaN)}c.setUTCFullYear(t,i,Math.max(a,u));return c}}function ln(r){return r?parseInt(r):1}function hn(r){var t=r.match(fn);if(!t)return NaN;var n=wn(t[1]);var e=wn(t[2]);var a=wn(t[3]);if(!jn(n,e,a)){return NaN}return n*h+e*l+a*1e3}function wn(r){return r&&parseFloat(r.replace(",","."))||0}function yn(r){if(r==="Z")return 0;var t=r.match(cn);if(!t)return 0;var n=t[1]==="+"?-1:1;var e=parseInt(t[2]);var a=t[3]&&parseInt(t[3])||0;if(!Dn(e,a)){return NaN}return n*(e*h+a*l)}function mn(r,t,n){var e=new Date(0);e.setUTCFullYear(r,0,4);var a=e.getUTCDay()||7;var i=(t-1)*7+n+1-a;e.setUTCDate(e.getUTCDate()+i);return e}var bn=[31,null,31,30,31,30,31,31,30,31,30,31];function pn(r){return r%400===0||r%4===0&&r%100!==0}function gn(r,t,n){return t>=0&&t<=11&&n>=1&&n<=(bn[t]||(pn(r)?29:28))}function kn(r,t){return t>=1&&t<=(pn(r)?366:365)}function xn(r,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function jn(r,t,n){if(r===24){return t===0&&n===0}return n>=0&&n<60&&t>=0&&t<60&&r>=0&&r<25}function Dn(r,t){return t>=0&&t<=59}function Tn(r,t){o(2,arguments);var n=f(r);var e=u(t);if(isNaN(n.getTime())){return new Date(NaN)}n.setFullYear(e);return n}var Mn=1/0,An=9007199254740991,Nn=17976931348623157e292,En=0/0;var Sn="[object Symbol]";var Pn=/^\s+|\s+$/g;var On=/^[-+]0x[0-9a-f]+$/i;var Rn=/^0b[01]+$/i;var In=/^0o[0-7]+$/i;var qn="\\ud800-\\udfff",Yn="\\u0300-\\u036f\\ufe20-\\ufe23",Ln="\\u20d0-\\u20f0",Qn="\\ufe0e\\ufe0f";var Wn="["+qn+"]",Cn="["+Yn+Ln+"]",Bn="\\ud83c[\\udffb-\\udfff]",Hn="(?:"+Cn+"|"+Bn+")",Xn="[^"+qn+"]",_n="(?:\\ud83c[\\udde6-\\uddff]){2}",Gn="[\\ud800-\\udbff][\\udc00-\\udfff]",Fn="\\u200d";var $n=Hn+"?",Un="["+Qn+"]?",Zn="(?:"+Fn+"(?:"+[Xn,_n,Gn].join("|")+")"+Un+$n+")*",zn=Un+$n+Zn,Jn="(?:"+[Xn+Cn+"?",Cn,_n,Gn,Wn].join("|")+")";var Kn=RegExp(Bn+"(?="+Bn+")|"+Jn+zn,"g");var Vn=RegExp("["+Fn+qn+Yn+Ln+Qn+"]");var re=parseInt;var te=typeof n=="object"&&n&&n.Object===Object&&n;var ne=typeof self=="object"&&self&&self.Object===Object&&self;var ee=te||ne||Function("return this")();var ae=ue("length");function ie(r){return r.split("")}function ue(r){return function(t){return t==null?undefined:t[r]}}function oe(r){return Vn.test(r)}function fe(r){return oe(r)?ve(r):ae(r)}function ce(r){return oe(r)?se(r):ie(r)}function ve(r){var t=Kn.lastIndex=0;while(Kn.test(r)){t++}return t}function se(r){return r.match(Kn)||[]}var de=Object.prototype;var le=de.toString;var he=ee.Symbol;var we=Math.ceil,ye=Math.floor;var me=he?he.prototype:undefined,be=me?me.toString:undefined;function pe(r,t){var n="";if(!r||t<1||t>An){return n}do{if(t%2){n+=r}t=ye(t/2);if(t){r+=r}}while(t);return n}function ge(r,t,n){var e=-1,a=r.length;if(t<0){t=-t>a?0:a+t}n=n>a?a:n;if(n<0){n+=a}a=t>n?0:n-t>>>0;t>>>=0;var i=Array(a);while(++e<a){i[e]=r[e+t]}return i}function ke(r){if(typeof r=="string"){return r}if(Me(r)){return be?be.call(r):""}var t=r+"";return t=="0"&&1/r==-Mn?"-0":t}function xe(r,t,n){var e=r.length;n=n===undefined?e:n;return!t&&n>=e?r:ge(r,t,n)}function je(r,t){t=t===undefined?" ":ke(t);var n=t.length;if(n<2){return n?pe(t,r):t}var e=pe(t,we(r/fe(t)));return oe(t)?xe(ce(e),0,r).join(""):e.slice(0,r)}function De(r){var t=typeof r;return!!r&&(t=="object"||t=="function")}function Te(r){return!!r&&typeof r=="object"}function Me(r){return typeof r=="symbol"||Te(r)&&le.call(r)==Sn}function Ae(r){if(!r){return r===0?r:0}r=Ee(r);if(r===Mn||r===-Mn){var t=r<0?-1:1;return t*Nn}return r===r?r:0}function Ne(r){var t=Ae(r),n=t%1;return t===t?n?t-n:t:0}function Ee(r){if(typeof r=="number"){return r}if(Me(r)){return En}if(De(r)){var t=typeof r.valueOf=="function"?r.valueOf():r;r=De(t)?t+"":t}if(typeof r!="string"){return r===0?r:+r}r=r.replace(Pn,"");var n=Rn.test(r);return n||In.test(r)?re(r.slice(2),n?2:8):On.test(r)?En:+r}function Se(r){return r==null?"":ke(r)}function Pe(r,t,n){r=Se(r);t=Ne(t);var e=t?fe(r):0;return t&&e<t?je(t-e,n)+r:r}var Oe=r("z",Pe);var Re={exports:{}};(function(r,t){var e="[object Date]";var a=typeof n=="object"&&n&&n.Object===Object&&n;var i=t&&!t.nodeType&&t;var u=i&&"object"=="object"&&r&&!r.nodeType&&r;var o=u&&u.exports===i;var f=o&&a.process;var c=function(){try{return f&&f.binding("util")}catch(r){}}();var v=c&&c.isDate;function s(r){return function(t){return r(t)}}var d=Object.prototype;var l=d.toString;function h(r){return y(r)&&l.call(r)==e}var w=v?s(v):h;function y(r){return!!r&&typeof r=="object"}r.exports=w})(Re,Re.exports);function Ie(r,n){if(t(r)||t(n)){return false}var e=__spreadArray([],r,true).sort();var i=__spreadArray([],n,true).sort();return a(e,i)}function qe(r){if(r===void 0){r="de-CH"}var t=r.split("-"),n=t[1];if(n==="CH"){return"de-CH"}if(n==="BE"){return"fr-BE"}if(n==="LU"){return"fr-LU"}return r}function Ye(r){if(r===void 0){r="de-CH"}var t=r.split("-"),n=t[1];if(n==="CH"){return"fr-CH"}if(n==="BE"){return"fr-BE"}if(n==="LU"){return"fr-LU"}return r}var Le="yyyy-MM-dd";var Qe="dd-MM-yyyy";var We="T00:00:00.000Z";function Ce(){return new Date}function Be(r){return r&&m(r)?Er(r,{representation:"date"}):""}function He(r){return!!r?en(r,Le):false}function Xe(r,t){if(r===void 0){r="de-CH"}return m(t)?$e(Ye(r),t):""}function _e(r,t){if(t===void 0){t="de-CH"}if(en(r,Le)){var n=an(r+We);if(n&&m(n)){return Ze(n)}var e="".concat(r).split("-").map((function(r){return parseInt(r,10)})),a=e[0],i=e[1],u=e[2];return ze([a,i,u])}if(en(r,Fe(t))){var n=tn(r,Fe(t),Ce());return ze([Or(n),Pr(n)+1,Sr(n)])}return undefined}function Ge(r){if(r===void 0){r="de-CH"}return new Intl.DateTimeFormat(Ye(r)).format(Ce()).replace(/\p{Number}/gu,"").charAt(0)}function Fe(r){if(r===void 0){r="de-CH"}return Qe.split("-").join(Ge(r))}function $e(r,t){if(r===void 0){r="de-CH"}var n=new Intl.DateTimeFormat(Ye(r));return n.format(t)}function Ue(r){return Oe("".concat(r),2,"0")}function Ze(r){if(r&&m(r)){if(Or(r)<1e3){return Tn(r,Or(r)+2e3)}return r}return undefined}function ze(r){var t=r[0],n=r[1],e=r[2];if(t>0&&n>0&&e>0){return an("".concat(t<1e3?t+2e3:t,"-").concat(Ue(n),"-").concat(Ue(e))+We)}return undefined}function Je(r){return r.key==="Enter"}function Ke(r){return r.key===" "}function Ve(r){return r.key==="Escape"}function ra(r){return r.key==="Backspace"}function ta(r){return r.key==="ArrowDown"||r.key==="Down"}function na(r){return r.key==="ArrowUp"||r.key==="Up"}function ea(r){if(r===void 0){r="de-CH"}return Intl.NumberFormat(qe(r)).format(1.1).replace(/\p{Number}/gu,"")}function aa(r){if(r===void 0){r="de-CH"}return Intl.NumberFormat(qe(r)).format(11111).replace(/\p{Number}/gu,"")}function ia(r,t,n){if(r===void 0){r="de-CH"}var e=n!==undefined?{minimumFractionDigits:n,maximumFractionDigits:n}:{};var a=Intl.NumberFormat(qe(r),Object.assign({},e)).format(t);if(a==="NaN"){return""}return a}var ua;(function(r){r[r["INIT"]=0]="INIT";r[r["RUNNING"]=1]="RUNNING";r[r["SUCCESS"]=2]="SUCCESS";r[r["ERROR"]=3]="ERROR"})(ua||(ua={}));var oa=function(){function r(r){this.key=r}return r}();r("L",oa);new oa("de");new oa("fr");new oa("it");new oa("en");new oa("nl");new oa("lb");var fa="https://www.baloise.ch";var ca="/app-integration";var va=function(){var r=da();if(r&&r.indexOf("www.baloise.ch")>=0){return"https://".concat(r)}return fa};var sa=function(r,t,n,e){if(t===void 0){t="CH"}if(n===void 0){n=la.FOOTER}if(e===void 0){e="v2"}var a=r.key;if(n===la.ONETRUST){a="all"}else{if(t==="DE"){a="de"}}return"".concat(va()).concat(ca,"/").concat(e,"/").concat(t.toLowerCase(),"/").concat(n,"/").concat(a,".json")};var da=function(){var r;return((r=window===null||window===void 0?void 0:window.location)===null||r===void 0?void 0:r.host)||undefined};var la;(function(r){r["FOOTER"]="footer";r["SOCIAL_MEDIA"]="socialmediachannels";r["ONETRUST"]="onetrust"})(la||(la={}));var ha=r("l",(function(r,t){if(t===void 0){t="CH"}var n=sa(r,t,la.FOOTER);return fetch(n).then((function(r){return r.json()})).then((function(r){return r}))}));var wa=r("a",(function(r,t){if(t===void 0){t="CH"}var n=sa(r,t,la.SOCIAL_MEDIA,"v1");return fetch(n).then((function(r){return r.json()})).then((function(r){return r}))}))}}}));
|