modoboa 2.6.3__py3-none-any.whl → 2.6.5__py3-none-any.whl
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.
- modoboa/autoreply/models.py +4 -4
- modoboa/calendars/backends/caldav_.py +3 -1
- modoboa/core/checks.py +5 -0
- modoboa/core/tests/test_checks.py +27 -0
- modoboa/frontend_dist/assets/{AccountAliasForm-OvFAP6Ru.js → AccountAliasForm-B-hTKSFr.js} +1 -1
- modoboa/frontend_dist/assets/AccountEditView-LkP_qhf_.js +1 -0
- modoboa/frontend_dist/assets/AccountLayout-APeC9bsN.js +1 -0
- modoboa/frontend_dist/assets/{AccountPasswordSubForm-XZN7PcjO.js → AccountPasswordSubForm-D4vB2yQK.js} +1 -1
- modoboa/frontend_dist/assets/AccountView-CloBP1BY.js +1 -0
- modoboa/frontend_dist/assets/{AddressBook-xlb9-9-o.js → AddressBook-C03MXg3y.js} +1 -1
- modoboa/frontend_dist/assets/{AdminLayout-BQfhhYgv.js → AdminLayout-DFmyKOo6.js} +1 -1
- modoboa/frontend_dist/assets/AlarmsView-CFhH0I5d.js +1 -0
- modoboa/frontend_dist/assets/AliasEditView-BVjNJekt.js +1 -0
- modoboa/frontend_dist/assets/{AliasRecipientForm-_pUaKKG_.js → AliasRecipientForm-CZ_SvjtG.js} +1 -1
- modoboa/frontend_dist/assets/{AliasView-Da4mvH53.js → AliasView-DvvI6cV9.js} +1 -1
- modoboa/frontend_dist/assets/{AuditTrailView-BfLVvAwj.js → AuditTrailView-Cyq25Jle.js} +1 -1
- modoboa/frontend_dist/assets/CalendarView-C_dSXRp9.js +1 -0
- modoboa/frontend_dist/assets/{ChoiceField-BpSW5-Ay.js → ChoiceField-BPhUvoyr.js} +1 -1
- modoboa/frontend_dist/assets/ComposeEmailForm-D3yUbBJX.css +1 -0
- modoboa/frontend_dist/assets/ComposeEmailForm-Ns5SYs4J.js +1 -0
- modoboa/frontend_dist/assets/ComposeEmailView-DgUfiWEH.js +1 -0
- modoboa/frontend_dist/assets/{ConfirmDialog-BemItW2F.js → ConfirmDialog-BMIg94-U.js} +1 -1
- modoboa/frontend_dist/assets/ConnectedLayout-C6HNXWkp.css +1 -0
- modoboa/frontend_dist/assets/ConnectedLayout-CSXdVJtV.js +1 -0
- modoboa/frontend_dist/assets/{CreationForm-B00QE2E0.js → CreationForm-CaAZYATm.js} +1 -1
- modoboa/frontend_dist/assets/{CreationForm-HaiQhqwK.css → CreationForm-NOzzyspA.css} +1 -1
- modoboa/frontend_dist/assets/{DashboardView-CZyZayos.js → DashboardView-DErmyUoy.js} +1 -1
- modoboa/frontend_dist/assets/DomainAdminList-BO8_4Cwt.js +1 -0
- modoboa/frontend_dist/assets/{DomainEditView-CMsF-ytQ.js → DomainEditView-BXylM4aB.js} +1 -1
- modoboa/frontend_dist/assets/{DomainTransportForm-BUDOfXiX.js → DomainTransportForm-Ccw5BXyM.js} +1 -1
- modoboa/frontend_dist/assets/DomainView-Bd5XQI-1.js +4 -0
- modoboa/frontend_dist/assets/DomainsView-CC1EwRId.js +1 -0
- modoboa/frontend_dist/assets/{EmailField-BXU27oIO.js → EmailField-BFgga4zp.js} +1 -1
- modoboa/frontend_dist/assets/{EmailView-WHGLT3Ne.js → EmailView-DPWTch_6.js} +1 -1
- modoboa/frontend_dist/assets/EmptyLayout-DAw7fAab.js +1 -0
- modoboa/frontend_dist/assets/FiltersView-Cg9lkLw0.js +1 -0
- modoboa/frontend_dist/assets/ForwardEmailView-Dd1sxgaP.js +1 -0
- modoboa/frontend_dist/assets/HtmlEditor-DNn3CY-w.js +140 -0
- modoboa/frontend_dist/assets/{IdentitiesView-Cl2lbfkM.css → IdentitiesView-C93He_db.css} +1 -1
- modoboa/frontend_dist/assets/IdentitiesView-CiHIQ9Qt.js +1 -0
- modoboa/frontend_dist/assets/{InformationView-DF80M5Z2.js → InformationView-Cc0aBA5j.js} +1 -1
- modoboa/frontend_dist/assets/{LoadingData-Dcu-PCpp.js → LoadingData-CnQ_aVqa.js} +1 -1
- modoboa/frontend_dist/assets/{LoginCallbackView-D4hN9u_5.js → LoginCallbackView-Nh_gmh8e.js} +1 -1
- modoboa/frontend_dist/assets/{LoginView-1M33LHpJ.js → LoginView-BtC9BHuJ.js} +1 -1
- modoboa/frontend_dist/assets/MailboxView-DIVABvk5.css +1 -0
- modoboa/frontend_dist/assets/MailboxView-DplC0IXR.js +5 -0
- modoboa/frontend_dist/assets/{MenuItems-CpOwNJeC.js → MenuItems-efx2rqwT.js} +1 -1
- modoboa/frontend_dist/assets/{MessageView-DODItZwB.js → MessageView-C1Goz-hY.js} +1 -1
- modoboa/frontend_dist/assets/{MessagesView-CCYdnuSv.js → MessagesView-CesYYZ9f.js} +1 -1
- modoboa/frontend_dist/assets/MigrationsView-DSBk8T0y.js +1 -0
- modoboa/frontend_dist/assets/{ParametersForm-CWxNQ8rG.js → ParametersForm-BegEnkQM.js} +1 -1
- modoboa/frontend_dist/assets/ParametersView-B8W_PAiz.js +1 -0
- modoboa/frontend_dist/assets/ParametersView-Dsx2M_g9.js +1 -0
- modoboa/frontend_dist/assets/ProviderEditView-PEAr7MA1.js +1 -0
- modoboa/frontend_dist/assets/ProviderGeneralForm-BAELnXh6.js +1 -0
- modoboa/frontend_dist/assets/ProvidersView-CHvQf3Vv.js +1 -0
- modoboa/frontend_dist/assets/QuarantineLayout-BWEaBK48.js +1 -0
- modoboa/frontend_dist/assets/{QuarantineView-CZewBT4b.js → QuarantineView-BzjeDhTm.js} +1 -1
- modoboa/frontend_dist/assets/ReplyEmailView-CwQ9jsce.js +1 -0
- modoboa/frontend_dist/assets/{ResourcesForm-CD3wObzE.js → ResourcesForm-noC3AXd9.js} +1 -1
- modoboa/frontend_dist/assets/SelfServiceLayout-DQgRMu0L.js +1 -0
- modoboa/frontend_dist/assets/{SettingsView-DIvKGRBY.css → SettingsView-DJTdIeRK.css} +1 -1
- modoboa/frontend_dist/assets/SettingsView-Dgwpfd8O.js +6 -0
- modoboa/frontend_dist/assets/{StatisticsView-BxSjiD65.js → StatisticsView-BZkVSh5o.js} +1 -1
- modoboa/frontend_dist/assets/TimeSerieChart-BXJwhTMO.js +1 -0
- modoboa/frontend_dist/assets/TimeSerieChart-C3XHmlRd.css +1 -0
- modoboa/frontend_dist/assets/UserLayout-CWK9ICfE.js +1 -0
- modoboa/frontend_dist/assets/{VAlert-iGJ3gOzk.css → VAlert-Bkuw9MFB.css} +1 -1
- modoboa/frontend_dist/assets/VAlert-Buv8Z5G4.js +1 -0
- modoboa/frontend_dist/assets/VApp-C9NK-Gu6.css +1 -0
- modoboa/frontend_dist/assets/VApp-CiIBWB_Q.js +1 -0
- modoboa/frontend_dist/assets/VAutocomplete-DcNqTIie.js +1 -0
- modoboa/frontend_dist/assets/VAutocomplete-hzGuLlUI.css +1 -0
- modoboa/frontend_dist/assets/VAvatar-BPhnln71.css +1 -0
- modoboa/frontend_dist/assets/VAvatar-BsHplcRP.js +1 -0
- modoboa/frontend_dist/assets/{VBadge-BQrRJ9S0.css → VBadge-Bqx6XeRo.css} +1 -1
- modoboa/frontend_dist/assets/VBadge-CavP_E2g.js +1 -0
- modoboa/frontend_dist/assets/{VCard-BNvk7mV7.css → VCard-BdSLQNRY.css} +1 -1
- modoboa/frontend_dist/assets/VCard-D7AwBs4w.js +1 -0
- modoboa/frontend_dist/assets/VCheckbox-CKW9lz5i.js +1 -0
- modoboa/frontend_dist/assets/{VCheckboxBtn-p4bo2BTE.js → VCheckboxBtn-B5evxN9K.js} +1 -1
- modoboa/frontend_dist/assets/VColorPicker-B_lVDaYR.css +1 -0
- modoboa/frontend_dist/assets/VColorPicker-Bsrz8yif.js +1 -0
- modoboa/frontend_dist/assets/{VContainer-CmyIOuWp.js → VContainer-DY9021j4.js} +1 -1
- modoboa/frontend_dist/assets/VDataTable-CLcLRj9B.css +1 -0
- modoboa/frontend_dist/assets/VDataTable-ocZo8ju0.js +1 -0
- modoboa/frontend_dist/assets/VDataTableServer-CJfpYXQW.js +1 -0
- modoboa/frontend_dist/assets/VDataTableVirtual-Cr8yw49k.js +1 -0
- modoboa/frontend_dist/assets/VDialog-CUMh3paI.js +1 -0
- modoboa/frontend_dist/assets/{VExpansionPanels-CBqUBAh-.js → VExpansionPanels-CkwHiKsA.js} +1 -1
- modoboa/frontend_dist/assets/VExpansionPanels-Dyw0hWW-.css +1 -0
- modoboa/frontend_dist/assets/VFileInput-D5qlksIG.js +1 -0
- modoboa/frontend_dist/assets/{VFileInput-VtUg4zpy.css → VFileInput-Dwzvf-gD.css} +1 -1
- modoboa/frontend_dist/assets/{VForm-CxFPdkZa.js → VForm-ClJU5x_v.js} +1 -1
- modoboa/frontend_dist/assets/VGrid-GYROgRMo.css +1 -0
- modoboa/frontend_dist/assets/VInput-DhzSMFXh.js +1 -0
- modoboa/frontend_dist/assets/VMenu-B53a3gm6.js +1 -0
- modoboa/frontend_dist/assets/VMenu-BEipA1lw.css +1 -0
- modoboa/frontend_dist/assets/VPicker-B928ZVJQ.js +1 -0
- modoboa/frontend_dist/assets/VPicker-ClSXs6kv.css +1 -0
- modoboa/frontend_dist/assets/VProgressCircular-C6u34DRJ.css +1 -0
- modoboa/frontend_dist/assets/VProgressCircular-viI3jDXe.js +1 -0
- modoboa/frontend_dist/assets/VRadioGroup-C0bqFrYg.js +1 -0
- modoboa/frontend_dist/assets/{VRow-CVWfiMs5.js → VRow-DyK_Mj7R.js} +1 -1
- modoboa/frontend_dist/assets/VSelect-DQzySRN1.css +1 -0
- modoboa/frontend_dist/assets/VSelect-y0E5_vPn.js +1 -0
- modoboa/frontend_dist/assets/VSelectionControl-Dkms9_P5.js +1 -0
- modoboa/frontend_dist/assets/VSheet-DQkh_hsX.js +1 -0
- modoboa/frontend_dist/assets/VSpacer-CBqB9uSt.js +1 -0
- modoboa/frontend_dist/assets/{VSwitch-Mm7Rd7At.css → VSwitch-C6REVr_Y.css} +1 -1
- modoboa/frontend_dist/assets/VSwitch-D4xdR9jz.js +1 -0
- modoboa/frontend_dist/assets/VTable-BsI6FsWH.css +1 -0
- modoboa/frontend_dist/assets/VTable-D8ZwwC_B.js +1 -0
- modoboa/frontend_dist/assets/VTabs-D2c0KeF2.js +1 -0
- modoboa/frontend_dist/assets/VTabs-NzpINroH.css +1 -0
- modoboa/frontend_dist/assets/VTextField-Cow3HZvI.css +1 -0
- modoboa/frontend_dist/assets/VTextField-DvvH1ciR.js +1 -0
- modoboa/frontend_dist/assets/VTextarea-DHtXtzqP.js +1 -0
- modoboa/frontend_dist/assets/VTextarea-DyGjqrlm.css +1 -0
- modoboa/frontend_dist/assets/VToolbar-CB2GrZpA.css +1 -0
- modoboa/frontend_dist/assets/VToolbar-pvLQtmbU.js +1 -0
- modoboa/frontend_dist/assets/VWindowItem-DErNPSH8.js +1 -0
- modoboa/frontend_dist/assets/VWindowItem-DqNaT6b1.css +1 -0
- modoboa/frontend_dist/assets/WebmailLayout-BzW0LWYp.css +1 -0
- modoboa/frontend_dist/assets/WebmailLayout-D7J-QJ-0.js +1 -0
- modoboa/frontend_dist/assets/{accounts-CaYgxMST.js → accounts-BZBqbAmd.js} +1 -1
- modoboa/frontend_dist/assets/{admin-BZpOSErf.js → admin-uCrKjpln.js} +1 -1
- modoboa/frontend_dist/assets/{aliases-CbIEbmJ9.js → aliases-CFwFkX45.js} +1 -1
- modoboa/frontend_dist/assets/{amavis-BUExu2Ci.js → amavis-B4ScfQsG.js} +1 -1
- modoboa/frontend_dist/assets/{amavis-DrKC7POz.js → amavis-DCy0U0TD.js} +1 -1
- modoboa/frontend_dist/assets/{contacts-BszP28I9.js → contacts-DKmh2q-4.js} +1 -1
- modoboa/frontend_dist/assets/{domains-DGdr9Equ.js → domains-CDE4_LDF.js} +1 -1
- modoboa/frontend_dist/assets/domains.store-a9Y5UlDV.js +1 -0
- modoboa/frontend_dist/assets/filter-BVvMTmPG.js +1 -0
- modoboa/frontend_dist/assets/{global.store-xmZ6sXxZ.js → global.store-Bha4Z76j.js} +1 -1
- modoboa/frontend_dist/assets/{importExport-DMPLMrzl.js → importExport-EgijWlC1.js} +1 -1
- modoboa/frontend_dist/assets/{index-B1bJH8Ti.css → index-B9q1vO3K.css} +1 -1
- modoboa/frontend_dist/assets/index-BjibLozh.js +995 -0
- modoboa/frontend_dist/assets/index-Dwg6jPTX.js +1 -0
- modoboa/frontend_dist/assets/{language.store-DuvIgs5v.js → language.store-DGuI8jG0.js} +1 -1
- modoboa/frontend_dist/assets/languages-Cge6pECg.js +1 -0
- modoboa/frontend_dist/assets/layout-5PvsmkGR.js +1 -0
- modoboa/frontend_dist/assets/{layout.store-oWyirLgk.js → layout.store-DJVcXtxk.js} +1 -1
- modoboa/frontend_dist/assets/{logos-DYp82smF.js → logos-CMmd0hOG.js} +1 -1
- modoboa/frontend_dist/assets/{logs-B8GaGVAK.js → logs-D2GOydPZ.js} +1 -1
- modoboa/frontend_dist/assets/{parameters-CxHnQU2I.js → parameters-DJdlq9sh.js} +1 -1
- modoboa/frontend_dist/assets/{parameters.store-VA_AUeEJ.js → parameters.store-DH3pPlaT.js} +1 -1
- modoboa/frontend_dist/assets/{permissions-TImOfY3I.js → permissions-CgFJFhCp.js} +1 -1
- modoboa/frontend_dist/assets/{ssrBoot-B5vxBC28.js → ssrBoot-ChTB-PYP.js} +1 -1
- modoboa/frontend_dist/assets/{tag-D-paBiFC.js → tag-CvrHE14f.js} +1 -1
- modoboa/frontend_dist/assets/{theme-Tvpj701M.js → theme-DFzlhSh5.js} +1 -1
- modoboa/frontend_dist/assets/transports-BUSYxSF4.js +1 -0
- modoboa/frontend_dist/assets/webmail-HVg3ZHC0.js +1 -0
- modoboa/frontend_dist/assets/webmail.store-D-d88s4w.js +1 -0
- modoboa/frontend_dist/index.html +2 -2
- modoboa/imap_migration/api/v2/serializers.py +13 -0
- modoboa/imap_migration/tests.py +7 -0
- modoboa/locale/br/LC_MESSAGES/django.po +487 -79
- modoboa/locale/cs/LC_MESSAGES/django.po +420 -75
- modoboa/locale/cs_CZ/LC_MESSAGES/django.po +534 -139
- modoboa/locale/de/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/de/LC_MESSAGES/django.po +853 -220
- modoboa/locale/de_DE/LC_MESSAGES/django.po +476 -77
- modoboa/locale/el_GR/LC_MESSAGES/django.po +558 -154
- modoboa/locale/en/LC_MESSAGES/django.po +418 -75
- modoboa/locale/es/LC_MESSAGES/django.po +543 -151
- modoboa/locale/es_MX/LC_MESSAGES/django.po +418 -75
- modoboa/locale/fi/LC_MESSAGES/django.po +491 -79
- modoboa/locale/fr/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/fr/LC_MESSAGES/django.po +420 -76
- modoboa/locale/hu/LC_MESSAGES/django.po +418 -75
- modoboa/locale/it/LC_MESSAGES/django.po +540 -141
- modoboa/locale/ja_JP/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/ja_JP/LC_MESSAGES/django.po +735 -180
- modoboa/locale/ka/LC_MESSAGES/django.po +418 -75
- modoboa/locale/nl_NL/LC_MESSAGES/django.po +544 -152
- modoboa/locale/no/LC_MESSAGES/django.po +418 -75
- modoboa/locale/pl_PL/LC_MESSAGES/django.po +564 -162
- modoboa/locale/pt_BR/LC_MESSAGES/django.po +567 -157
- modoboa/locale/pt_PT/LC_MESSAGES/django.po +521 -132
- modoboa/locale/ro_RO/LC_MESSAGES/django.po +498 -79
- modoboa/locale/ru/LC_MESSAGES/django.po +530 -137
- modoboa/locale/si/LC_MESSAGES/django.po +418 -75
- modoboa/locale/sk/LC_MESSAGES/django.po +420 -75
- modoboa/locale/sk_SK/LC_MESSAGES/django.po +420 -75
- modoboa/locale/sl_SI/LC_MESSAGES/django.po +441 -80
- modoboa/locale/sv/LC_MESSAGES/django.po +556 -152
- modoboa/locale/tr/LC_MESSAGES/django.po +470 -77
- modoboa/locale/tr_TR/LC_MESSAGES/django.po +454 -75
- modoboa/locale/uk/LC_MESSAGES/django.po +420 -75
- modoboa/locale/zh/LC_MESSAGES/django.po +417 -75
- modoboa/locale/zh_CN/LC_MESSAGES/django.po +417 -75
- modoboa/locale/zh_TW/LC_MESSAGES/django.po +486 -77
- modoboa/sievefilters/api/v2/tests.py +6 -0
- modoboa/sievefilters/api/v2/viewsets.py +10 -0
- modoboa/webmail/serializers.py +2 -1
- modoboa/webmail/tests/test_viewsets.py +16 -4
- modoboa/webmail/viewsets.py +17 -3
- {modoboa-2.6.3.dist-info → modoboa-2.6.5.dist-info}/METADATA +2 -2
- {modoboa-2.6.3.dist-info → modoboa-2.6.5.dist-info}/RECORD +205 -204
- modoboa/frontend_dist/assets/AccountEditView-N9Rsx1Lu.js +0 -1
- modoboa/frontend_dist/assets/AccountLayout-y-oYLez4.js +0 -1
- modoboa/frontend_dist/assets/AccountView-CGjtYjdN.js +0 -1
- modoboa/frontend_dist/assets/AlarmsView-CWISEf0x.js +0 -1
- modoboa/frontend_dist/assets/AliasEditView-BojxR0y0.js +0 -1
- modoboa/frontend_dist/assets/CalendarView-BiD8oiJQ.js +0 -1
- modoboa/frontend_dist/assets/ComposeEmailForm-DHFthaP6.css +0 -1
- modoboa/frontend_dist/assets/ComposeEmailForm-THBK5DPz.js +0 -1
- modoboa/frontend_dist/assets/ComposeEmailView-Byb6o1lF.js +0 -1
- modoboa/frontend_dist/assets/ConnectedLayout-Bxh21hcH.css +0 -1
- modoboa/frontend_dist/assets/ConnectedLayout-CuyGO8mE.js +0 -1
- modoboa/frontend_dist/assets/DomainAdminList-BW50F_7s.js +0 -1
- modoboa/frontend_dist/assets/DomainView-HFg7eBrA.js +0 -5
- modoboa/frontend_dist/assets/DomainsView-DSIdADod.js +0 -1
- modoboa/frontend_dist/assets/EmptyLayout-9_hUsyI4.js +0 -1
- modoboa/frontend_dist/assets/FiltersView-DxwCWP6V.js +0 -1
- modoboa/frontend_dist/assets/ForwardEmailView-R2VNw89Y.js +0 -1
- modoboa/frontend_dist/assets/HtmlEditor-9PKspQnj.js +0 -93
- modoboa/frontend_dist/assets/IdentitiesView-BiBhYfLG.js +0 -1
- modoboa/frontend_dist/assets/MailboxView-7GDx4hP8.js +0 -1
- modoboa/frontend_dist/assets/MailboxView-CfStlWhk.css +0 -1
- modoboa/frontend_dist/assets/MigrationsView-D8zvt5Gg.js +0 -1
- modoboa/frontend_dist/assets/ParametersView-B4LtgRrm.js +0 -1
- modoboa/frontend_dist/assets/ParametersView-BEM87Op8.js +0 -1
- modoboa/frontend_dist/assets/ProviderEditView-DxGMMxi1.js +0 -1
- modoboa/frontend_dist/assets/ProviderGeneralForm-DqVUshAw.js +0 -1
- modoboa/frontend_dist/assets/ProvidersView-YAYrezMm.js +0 -1
- modoboa/frontend_dist/assets/QuarantineLayout-Bj2STsUo.js +0 -1
- modoboa/frontend_dist/assets/ReplyEmailView-C-L78-Uh.js +0 -1
- modoboa/frontend_dist/assets/SelfServiceLayout-CFzaGLsg.js +0 -1
- modoboa/frontend_dist/assets/SettingsView-C7_cp9nZ.js +0 -6
- modoboa/frontend_dist/assets/TimeSerieChart-BY4l0TOt.js +0 -1
- modoboa/frontend_dist/assets/TimeSerieChart-Dn6Wznn8.css +0 -1
- modoboa/frontend_dist/assets/UserLayout-ByBCLOr-.js +0 -1
- modoboa/frontend_dist/assets/VAlert-Ck0PurTo.js +0 -1
- modoboa/frontend_dist/assets/VApp-CSICh40V.js +0 -1
- modoboa/frontend_dist/assets/VApp-DwhR0sAF.css +0 -1
- modoboa/frontend_dist/assets/VAutocomplete-BdsSHywe.js +0 -1
- modoboa/frontend_dist/assets/VAutocomplete-CPd3yAvV.css +0 -1
- modoboa/frontend_dist/assets/VAvatar-BKSHKr1K.js +0 -1
- modoboa/frontend_dist/assets/VAvatar-DXG1YGB5.css +0 -1
- modoboa/frontend_dist/assets/VBadge-DvuthTvS.js +0 -1
- modoboa/frontend_dist/assets/VCard-B7MvPr5E.js +0 -1
- modoboa/frontend_dist/assets/VCheckbox-er0bxYP_.js +0 -1
- modoboa/frontend_dist/assets/VColorPicker-C5_3l312.css +0 -1
- modoboa/frontend_dist/assets/VColorPicker-Dnoyj5rl.js +0 -1
- modoboa/frontend_dist/assets/VDataTable-CJyX7uj5.css +0 -1
- modoboa/frontend_dist/assets/VDataTable-uO4iY3PI.js +0 -1
- modoboa/frontend_dist/assets/VDataTableServer-LfLFgxCE.js +0 -1
- modoboa/frontend_dist/assets/VDataTableVirtual-C_aJRTho.js +0 -1
- modoboa/frontend_dist/assets/VDialog-ByBq-y2_.js +0 -1
- modoboa/frontend_dist/assets/VExpansionPanels-RsCANmDP.css +0 -1
- modoboa/frontend_dist/assets/VFileInput-CYUvB_Lr.js +0 -1
- modoboa/frontend_dist/assets/VGrid-Cb7FdSrp.css +0 -1
- modoboa/frontend_dist/assets/VInput-quQSdtEy.js +0 -1
- modoboa/frontend_dist/assets/VMenu--sryJ9Uc.js +0 -1
- modoboa/frontend_dist/assets/VMenu-5VuRw-HA.css +0 -1
- modoboa/frontend_dist/assets/VPicker-C6hgT7tI.js +0 -1
- modoboa/frontend_dist/assets/VPicker-CfsXFhHv.css +0 -1
- modoboa/frontend_dist/assets/VProgressCircular-BPJdTVu4.css +0 -1
- modoboa/frontend_dist/assets/VProgressCircular-DN4UW8ON.js +0 -1
- modoboa/frontend_dist/assets/VRadioGroup-G5s53Jnf.js +0 -1
- modoboa/frontend_dist/assets/VSelect-Dvkl50dw.css +0 -1
- modoboa/frontend_dist/assets/VSelect-Okzuwz-S.js +0 -1
- modoboa/frontend_dist/assets/VSelectionControl-DMlq6-TE.js +0 -1
- modoboa/frontend_dist/assets/VSheet-iS_sxEl7.js +0 -1
- modoboa/frontend_dist/assets/VSpacer-yH183XvN.js +0 -1
- modoboa/frontend_dist/assets/VSwitch-BYsITk7O.js +0 -1
- modoboa/frontend_dist/assets/VTable-C1FqhNBY.js +0 -1
- modoboa/frontend_dist/assets/VTable-CHRVGI94.css +0 -1
- modoboa/frontend_dist/assets/VTabs-Bv8FUb0o.css +0 -1
- modoboa/frontend_dist/assets/VTabs-DMJmfYTo.js +0 -1
- modoboa/frontend_dist/assets/VTextField-BzBVKKob.css +0 -1
- modoboa/frontend_dist/assets/VTextField-fWt9fUJr.js +0 -1
- modoboa/frontend_dist/assets/VTextarea-BTR7f0gW.css +0 -1
- modoboa/frontend_dist/assets/VTextarea-CVJNAf81.js +0 -1
- modoboa/frontend_dist/assets/VToolbar-BxjAEfSk.css +0 -1
- modoboa/frontend_dist/assets/VToolbar-DYf0Nubr.js +0 -1
- modoboa/frontend_dist/assets/VWindowItem-CWBhiE_Y.css +0 -1
- modoboa/frontend_dist/assets/VWindowItem-mmufRveK.js +0 -1
- modoboa/frontend_dist/assets/WebmailLayout-BmMZ58iv.js +0 -1
- modoboa/frontend_dist/assets/WebmailLayout-UlftFiiT.css +0 -1
- modoboa/frontend_dist/assets/domains.store-W5AiCN3q.js +0 -1
- modoboa/frontend_dist/assets/filter-BH0Tmqu3.js +0 -1
- modoboa/frontend_dist/assets/index-DuzUMVLM.js +0 -1
- modoboa/frontend_dist/assets/index-WQ41F5VK.js +0 -982
- modoboa/frontend_dist/assets/languages-CE73-P-v.js +0 -1
- modoboa/frontend_dist/assets/layout-eXe9ZQ1u.js +0 -1
- modoboa/frontend_dist/assets/transports-DmREsCgU.js +0 -1
- modoboa/frontend_dist/assets/webmail-BsviLQXI.js +0 -1
- {modoboa-2.6.3.data → modoboa-2.6.5.data}/scripts/modoboa-admin.py +0 -0
- {modoboa-2.6.3.dist-info → modoboa-2.6.5.dist-info}/WHEEL +0 -0
- {modoboa-2.6.3.dist-info → modoboa-2.6.5.dist-info}/entry_points.txt +0 -0
- {modoboa-2.6.3.dist-info → modoboa-2.6.5.dist-info}/licenses/LICENSE +0 -0
- {modoboa-2.6.3.dist-info → modoboa-2.6.5.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,995 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/EmptyLayout-DAw7fAab.js","assets/VApp-CiIBWB_Q.js","assets/tag-CvrHE14f.js","assets/layout-5PvsmkGR.js","assets/ssrBoot-ChTB-PYP.js","assets/VApp-C9NK-Gu6.css","assets/LoginView-BtC9BHuJ.js","assets/VRow-DyK_Mj7R.js","assets/VGrid-GYROgRMo.css","assets/VProgressCircular-viI3jDXe.js","assets/VProgressCircular-C6u34DRJ.css","assets/VContainer-DY9021j4.js","assets/LoginCallbackView-Nh_gmh8e.js","assets/theme-DFzlhSh5.js","assets/AdminLayout-DFmyKOo6.js","assets/parameters-DJdlq9sh.js","assets/ConnectedLayout-CSXdVJtV.js","assets/logos-CMmd0hOG.js","assets/layout.store-DJVcXtxk.js","assets/VAvatar-BsHplcRP.js","assets/VAvatar-BPhnln71.css","assets/VMenu-B53a3gm6.js","assets/VMenu-BEipA1lw.css","assets/global.store-Bha4Z76j.js","assets/VBadge-CavP_E2g.js","assets/VBadge-Bqx6XeRo.css","assets/VCard-D7AwBs4w.js","assets/VCard-BdSLQNRY.css","assets/VSheet-DQkh_hsX.js","assets/VSheet-B07QgQE8.css","assets/ConnectedLayout-C6HNXWkp.css","assets/parameters.store-DH3pPlaT.js","assets/DashboardView-DErmyUoy.js","assets/admin-uCrKjpln.js","assets/VTable-D8ZwwC_B.js","assets/VTable-BsI6FsWH.css","assets/VDataTable-ocZo8ju0.js","assets/VSelect-y0E5_vPn.js","assets/VTextField-DvvH1ciR.js","assets/VInput-DhzSMFXh.js","assets/VInput-CcxkaOXT.css","assets/VTextField-Cow3HZvI.css","assets/VCheckboxBtn-B5evxN9K.js","assets/VSelectionControl-Dkms9_P5.js","assets/VSelectionControl-CIeJsqfW.css","assets/VSelect-DQzySRN1.css","assets/filter-BVvMTmPG.js","assets/VDataTable-CLcLRj9B.css","assets/VToolbar-pvLQtmbU.js","assets/VToolbar-CB2GrZpA.css","assets/DashboardView-gwwVAPvt.css","assets/DomainsView-CC1EwRId.js","assets/domains-CDE4_LDF.js","assets/permissions-CgFJFhCp.js","assets/index-Dwg6jPTX.js","assets/VForm-ClJU5x_v.js","assets/VAutocomplete-DcNqTIie.js","assets/VAutocomplete-hzGuLlUI.css","assets/VSwitch-D4xdR9jz.js","assets/VSwitch-C6REVr_Y.css","assets/VSpacer-CBqB9uSt.js","assets/CreationForm-CaAZYATm.js","assets/ConfirmDialog-BMIg94-U.js","assets/VDialog-CUMh3paI.js","assets/VDialog-DwTSAOeg.css","assets/VWindowItem-DErNPSH8.js","assets/VWindowItem-DqNaT6b1.css","assets/CreationForm-NOzzyspA.css","assets/DomainTransportForm-Ccw5BXyM.js","assets/ChoiceField-BPhUvoyr.js","assets/ChoiceField-D2BiBorq.css","assets/transports-BUSYxSF4.js","assets/VCheckbox-CKW9lz5i.js","assets/VCheckbox-CvH8ekHL.css","assets/AccountPasswordSubForm-D4vB2yQK.js","assets/accounts-BZBqbAmd.js","assets/VAlert-Buv8Z5G4.js","assets/VAlert-Bkuw9MFB.css","assets/DomainAdminList-BO8_4Cwt.js","assets/VDataTableVirtual-Cr8yw49k.js","assets/MenuItems-efx2rqwT.js","assets/VDataTableServer-CJfpYXQW.js","assets/importExport-EgijWlC1.js","assets/VFileInput-D5qlksIG.js","assets/VFileInput-Dwzvf-gD.css","assets/DomainsView-WlF6IHNs.css","assets/DomainView-Bd5XQI-1.js","assets/colors-DoZdCu1D.js","assets/VExpansionPanels-CkwHiKsA.js","assets/VExpansionPanels-Dyw0hWW-.css","assets/VRadioGroup-C0bqFrYg.js","assets/VRadioGroup-Cp9mZ7cb.css","assets/amavis-B4ScfQsG.js","assets/LoadingData-CnQ_aVqa.js","assets/ResourcesForm-noC3AXd9.js","assets/TimeSerieChart-BXJwhTMO.js","assets/VPicker-B928ZVJQ.js","assets/VPicker-ClSXs6kv.css","assets/TimeSerieChart-C3XHmlRd.css","assets/VTabs-D2c0KeF2.js","assets/VTabs-NzpINroH.css","assets/DomainView-CCLYXPHx.css","assets/DomainEditView-BXylM4aB.js","assets/domains.store-a9Y5UlDV.js","assets/DomainEditView-CA90-K2a.css","assets/MigrationsView-DSBk8T0y.js","assets/MigrationsView--E1YzUUh.css","assets/ProvidersView-CHvQf3Vv.js","assets/ProviderGeneralForm-BAELnXh6.js","assets/ProviderGeneralForm-DU1OrxZe.css","assets/ProvidersView-DE17nfOl.css","assets/ProviderEditView-PEAr7MA1.js","assets/IdentitiesView-CiHIQ9Qt.js","assets/aliases-CFwFkX45.js","assets/AliasRecipientForm-CZ_SvjtG.js","assets/EmailField-BFgga4zp.js","assets/EmailField-DdJb059h.css","assets/VTextarea-DHtXtzqP.js","assets/VTextarea-DyGjqrlm.css","assets/AccountAliasForm-B-hTKSFr.js","assets/AccountAliasForm-DChJEu0C.css","assets/IdentitiesView-C93He_db.css","assets/AccountView-CloBP1BY.js","assets/language.store-DGuI8jG0.js","assets/languages-Cge6pECg.js","assets/AccountView-BJzPTPbV.css","assets/AccountEditView-LkP_qhf_.js","assets/AccountEditView-DLE8e_xz.css","assets/AliasView-DvvI6cV9.js","assets/AliasView-DD9e67NS.css","assets/AliasEditView-BVjNJekt.js","assets/AliasEditView-CYDSiX8l.css","assets/ParametersView-B8W_PAiz.js","assets/ParametersForm-BegEnkQM.js","assets/HtmlEditor-DNn3CY-w.js","assets/HtmlEditor-girA1Pzv.css","assets/VColorPicker-Bsrz8yif.js","assets/VColorPicker-B_lVDaYR.css","assets/ParametersForm-t6-3GMDS.css","assets/ParametersView-BcyDgfqX.css","assets/AlarmsView-CFhH0I5d.js","assets/AlarmsView-Dal0VD8U.css","assets/StatisticsView-BZkVSh5o.js","assets/StatisticsView-DtNkgGdm.css","assets/AuditTrailView-Cyq25Jle.js","assets/logs-D2GOydPZ.js","assets/AuditTrailView-epmsGz6G.css","assets/MessagesView-CesYYZ9f.js","assets/MessagesView-Bg8UAJJG.css","assets/InformationView-Cc0aBA5j.js","assets/InformationView-C9vvvQhJ.css","assets/AccountLayout-APeC9bsN.js","assets/FiltersView-Cg9lkLw0.js","assets/ParametersView-Dsx2M_g9.js","assets/ParametersView-Bwo4l7jC.css","assets/SettingsView-Dgwpfd8O.js","assets/SettingsView-DJTdIeRK.css","assets/UserLayout-CWK9ICfE.js","assets/AddressBook-C03MXg3y.js","assets/contacts-DKmh2q-4.js","assets/CalendarView-C_dSXRp9.js","assets/WebmailLayout-D7J-QJ-0.js","assets/webmail-HVg3ZHC0.js","assets/webmail.store-D-d88s4w.js","assets/WebmailLayout-BzW0LWYp.css","assets/MailboxView-DplC0IXR.js","assets/MailboxView-DIVABvk5.css","assets/EmailView-DPWTch_6.js","assets/EmailView-DCAPX4Dw.css","assets/ComposeEmailView-DgUfiWEH.js","assets/ComposeEmailForm-Ns5SYs4J.js","assets/ComposeEmailForm-D3yUbBJX.css","assets/ReplyEmailView-CwQ9jsce.js","assets/ForwardEmailView-Dd1sxgaP.js","assets/QuarantineLayout-BWEaBK48.js","assets/QuarantineView-BzjeDhTm.js","assets/amavis-DCy0U0TD.js","assets/QuarantineView-D4gOE4EQ.css","assets/MessageView-C1Goz-hY.js","assets/SelfServiceLayout-DQgRMu0L.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))a(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const n of r.addedNodes)n.tagName==="LINK"&&n.rel==="modulepreload"&&a(n)}).observe(document,{childList:!0,subtree:!0});function t(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerPolicy&&(r.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?r.credentials="include":s.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function a(s){if(s.ep)return;s.ep=!0;const r=t(s);fetch(s.href,r)}})();const Hx={badge:"Odznak",open:"Otevřít",close:"Zavřít",dismiss:"Zavřít",confirmEdit:{ok:"OK",cancel:"Zrušit"},dataIterator:{noResultsText:"Nenalezeny žádné záznamy",loadingText:"Načítám položky..."},dataTable:{itemsPerPageText:"Řádků na stránku:",ariaLabel:{sortDescending:"Řazeno sestupně.",sortAscending:"Řazeno vzestupně.",sortNone:"Neseřazeno.",activateNone:"Aktivováním vypnete řazení.",activateDescending:"Aktivováním se bude řadit sestupně.",activateAscending:"Aktivováním se bude řadit vzestupně."},sortBy:"Řadit dle"},dataFooter:{itemsPerPageText:"Položek na stránku:",itemsPerPageAll:"Vše",nextPage:"Další strana",prevPage:"Předchozí strana",firstPage:"První strana",lastPage:"Poslední strana",pageText:"{0}-{1} z {2}"},dateRangeInput:{divider:"do"},datePicker:{itemsSelected:"{0} vybráno",range:{title:"Vyberte datumy",header:"Zadejte datumy"},title:"Vyberte datum",header:"Zadejte datum",input:{placeholder:"Zadejte datum"},ariaLabel:{previousMonth:"Předchozí měsíc",nextMonth:"Další měsíc",selectYear:"Vyberte rok",selectDate:"{0}",currentDate:"Dnes, {0}"}},noDataText:"Nejsou dostupná žádná data",carousel:{prev:"Předchozí obrázek",next:"Další obrázek",ariaLabel:{delimiter:"Obrázek {0} z {1}"}},calendar:{moreEvents:"{0} dalších",today:"Dnes"},input:{clear:"Vymazat {0}",prependAction:"{0} předřazená akce",appendAction:"{0} připojená akce",otp:"Vložte OTP znak {0}"},fileInput:{counter:"{0} souborů",counterSize:"{0} souborů ({1} celkem)"},fileUpload:{title:"Přetáhněte soubory sem",divider:"nebo",browse:"Procházet soubory"},timePicker:{am:"Dopoledne",pm:"Odpoledne",title:"Vyberte čas"},pagination:{ariaLabel:{root:"Navigace po stránkách",next:"Další strana",previous:"Předchozí strana",page:"Přejít na stránku {0}",currentPage:"Aktuální stránka, stránka {0}",first:"První stránka",last:"Poslední stránka"}},stepper:{next:"Další",prev:"Předchozí"},rating:{ariaLabel:{item:"Hodnocení {0} z {1}"}},loading:"Načítám...",infiniteScroll:{loadMore:"Načíst více",empty:"Žádné další"},rules:{required:"Toto pole je povinné",email:"Zadejte platný e-mail",number:"Toto pole může obsahovat pouze čísla",integer:"Toto pole může obsahovat pouze celá čísla",capital:"Toto pole může obsahovat pouze velká písmena",maxLength:"Musíte zadat maximálně {0} znaků",minLength:"Musíte zadat minimálně {0} znaků",strictLength:"Délka zadaného pole je neplatná",exclude:"Znak {0} není povolen",notEmpty:"Vyberte alespoň jednu hodnotu",pattern:"Neplatný formát"},hotkey:{then:"poté",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"Šipka nahoru",downArrow:"Šipka dolů",leftArrow:"Šipka vlevo",rightArrow:"Šipka vpravo",backspace:"Backspace",space:"Mezerník",plus:"plus",shortcut:"Klávesová zkratka: {0}"},video:{play:"Přehrát",pause:"Pozastavit",seek:"Vyhledat",volume:"Hlasitost",showVolume:"Zobrazit ovládání hlasitosti",mute:"Ztlumit",unmute:"Zrušit ztlumení",enterFullscreen:"Celá obrazovka",exitFullscreen:"Ukončit celou obrazovku"},colorPicker:{ariaLabel:{eyedropper:"Vybrat barvu z obrazovky",hueSlider:"Odstín",alphaSlider:"Alfa",redInput:"Červená",greenInput:"Zelená",blueInput:"Modrá",alphaInput:"Alfa",hueInput:"Odstín",saturationInput:"Sytost",lightnessInput:"Světlost",hexInput:"HEX hodnota",hexaInput:"HEX s alfa hodnotou",changeFormat:"Změnit formát barvy"}}},Wx={badge:"Abzeichen",open:"Öffnen",close:"Schließen",dismiss:"Verwerfen",confirmEdit:{ok:"OK",cancel:"Abbrechen"},dataIterator:{noResultsText:"Keine Elemente gefunden",loadingText:"Lade Elemente..."},dataTable:{itemsPerPageText:"Zeilen pro Seite:",ariaLabel:{sortDescending:"Absteigend sortiert.",sortAscending:"Aufsteigend sortiert.",sortNone:"Nicht sortiert.",activateNone:"Aktivieren um Sortierung zu entfernen.",activateDescending:"Aktivieren um absteigend zu sortieren.",activateAscending:"Aktivieren um aufsteigend zu sortieren."},sortBy:"Sortiere nach"},dataFooter:{itemsPerPageText:"Elemente pro Seite:",itemsPerPageAll:"Alle",nextPage:"Nächste Seite",prevPage:"Vorherige Seite",firstPage:"Erste Seite",lastPage:"Letzte Seite",pageText:"{0}-{1} von {2}"},dateRangeInput:{divider:"bis"},datePicker:{itemsSelected:"{0} ausgewählt",range:{title:"Daten auswählen",header:"Daten eingeben"},title:"Datum auswählen",header:"Datum eingeben",input:{placeholder:"Datum eingeben"},ariaLabel:{previousMonth:"Vorheriger Monat",nextMonth:"Nächster Monat",selectYear:"Jahr auswählen",selectDate:"{0}",currentDate:"Heute, {0}"}},noDataText:"Keine Daten vorhanden",carousel:{prev:"Vorheriges Bild",next:"Nächstes Bild",ariaLabel:{delimiter:"Element {0} von {1}"}},calendar:{moreEvents:"{0} mehr",today:"Heute"},input:{clear:"{0} leeren",prependAction:"{0} vorangestellte Aktion",appendAction:"{0} angehängte Aktion",otp:"Bitte OTP-Zeichen {0} eingeben"},fileInput:{counter:"{0} Dateien",counterSize:"{0} Dateien ({1} gesamt)"},fileUpload:{title:"Datei hier ablegen",divider:"oder",browse:"Dateien durchsuchen"},timePicker:{am:"AM",pm:"PM",title:"Uhrzeit auswählen"},pagination:{ariaLabel:{root:"Seitennavigation",next:"Nächste Seite",previous:"Vorherige Seite",page:"Gehe zu Seite {0}",currentPage:"Aktuelle Seite, Seite {0}",first:"Erste Seite",last:"Letzte Seite"}},stepper:{next:"Weiter",prev:"Zurück"},rating:{ariaLabel:{item:"Bewertung {0} von {1}"}},loading:"Laden...",infiniteScroll:{loadMore:"Mehr laden",empty:"Nichts weiteres"},rules:{required:"Dieses Feld ist erforderlich",email:"Bitte geben Sie eine gültige E-Mail-Adresse ein",number:"Dieses Feld darf nur Zahlen enthalten",integer:"Dieses Feld darf nur Ganzzahlen enthalten",capital:"Dieses Feld darf nur Großbuchstaben enthalten",maxLength:"Sie dürfen maximal {0} Zeichen eingeben",minLength:"Sie müssen mindestens {0} Zeichen eingeben",strictLength:"Die Länge des eingegebenen Feldes ist ungültig",exclude:"Das Zeichen {0} ist nicht erlaubt",notEmpty:"Bitte wählen Sie mindestens einen Wert aus",pattern:"Ungültiges Format"},hotkey:{then:"dann",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Eingabe",escape:"Escape",upArrow:"Pfeil nach oben",downArrow:"Pfeil nach unten",leftArrow:"Pfeil nach links",rightArrow:"Pfeil nach rechts",backspace:"Rücktaste",space:"Leertaste",plus:"plus",shortcut:"Tastenkürzel: {0}"},video:{play:"Abspielen",pause:"Pause",seek:"Suchen",volume:"Lautstärke",showVolume:"Lautstärkeregler anzeigen",mute:"Stummschalten",unmute:"Stummschaltung aufheben",enterFullscreen:"Vollbild",exitFullscreen:"Vollbild beenden"},colorPicker:{ariaLabel:{eyedropper:"Farbe vom Bildschirm auswählen",hueSlider:"Farbton",alphaSlider:"Transparenz",redInput:"Rot",greenInput:"Grün",blueInput:"Blau",alphaInput:"Transparenz",hueInput:"Farbton",saturationInput:"Sättigung",lightnessInput:"Helligkeit",hexInput:"HEX-Wert",hexaInput:"HEX-Wert mit Transparenz",changeFormat:"Farbformat ändern"}}},jx={badge:"Σήμα",open:"Άνοιγμα",close:"Κλείσιμο",dismiss:"Απόρριψη",confirmEdit:{ok:"OK",cancel:"Ακύρωση"},dataIterator:{noResultsText:"Δε βρέθηκαν αποτελέσματα",loadingText:"Φόρτωση αντικειμένου..."},dataTable:{itemsPerPageText:"Γραμμές ανά σελίδα:",ariaLabel:{sortDescending:"Ταξινομημένο φθίνουσα.",sortAscending:"Ταξινομημένο αύξουσα.",sortNone:"Χωρίς ταξινόμηση.",activateNone:"Ενεργοποιήστε για να καταργήσετε την ταξινόμηση.",activateDescending:"Ενεργοποιήστε για φθίνουσα ταξινόμηση.",activateAscending:"Ενεργοποιήστε για αύξουσα ταξινόμηση."},sortBy:"Ταξινόμηση κατά"},dataFooter:{itemsPerPageText:"Αντικείμενα ανά σελίδα:",itemsPerPageAll:"Όλα",nextPage:"Επόμενη σελίδα",prevPage:"Προηγούμενη σελίδα",firstPage:"Πρώτη σελίδα",lastPage:"Τελευταία σελίδα",pageText:"{0}-{1} από {2}"},dateRangeInput:{divider:"έως"},datePicker:{itemsSelected:"{0} επιλεγμένα",range:{title:"Επιλέξτε ημερομηνίες",header:"Εισαγάγετε ημερομηνίες"},title:"Επιλέξτε ημερομηνία",header:"Εισαγάγετε ημερομηνία",input:{placeholder:"Εισαγάγετε ημερομηνία"},ariaLabel:{previousMonth:"Προηγούμενος μήνας",nextMonth:"Επόμενος μήνας",selectYear:"Επιλέξτε έτος",selectDate:"{0}",currentDate:"Σήμερα, {0}"}},noDataText:"Χωρίς δεδομένα",carousel:{prev:"הקודם חזותי",next:"הבא חזותי",ariaLabel:{delimiter:"Διαφάνεια καρουζέλ {0} από {1}"}},calendar:{moreEvents:"{0} ακόμη",today:"Σήμερα"},input:{clear:"Καθαρισμός {0}",prependAction:"{0} προσαρτημένη ενέργεια",appendAction:"{0} επισυναπτόμενη ενέργεια",otp:"Παρακαλώ εισαγάγετε χαρακτήρα OTP {0}"},fileInput:{counter:"{0} αρχεία",counterSize:"{0} αρχεία ({1} συνολικά)"},fileUpload:{title:"Σύρετε και αποθέστε αρχεία εδώ",divider:"ή",browse:"Αναζήτηση αρχείων"},timePicker:{am:"ΠΜ",pm:"ΜΜ",title:"Επιλέξτε ώρα"},pagination:{ariaLabel:{root:"Πλοήγηση με προορισμούς",next:"Επόμενη σελίδα",previous:"Προηγούμενη σελίδα",page:"Πήγαινε στην σελίδα {0}",currentPage:"Τρέχουσα σελίδα, σελίδα {0}",first:"Πρώτη σελίδα",last:"Τελευταία σελίδα"}},stepper:{next:"Επόμενο",prev:"Προηγούμενο"},rating:{ariaLabel:{item:"Βαθμολογία {0} από {1}"}},loading:"Φόρτωση...",infiniteScroll:{loadMore:"Φόρτωση περισσότερων",empty:"Δεν υπάρχουν άλλα"},rules:{required:"Αυτό το πεδίο είναι υποχρεωτικό",email:"Παρακαλώ εισάγετε μια έγκυρη διεύθυνση email",number:"Αυτό το πεδίο μπορεί να περιέχει μόνο αριθμούς",integer:"Αυτό το πεδίο μπορεί να περιέχει μόνο ακέραιους αριθμούς",capital:"Αυτό το πεδίο μπορεί να περιέχει μόνο κεφαλαία γράμματα",maxLength:"Πρέπει να εισάγετε το πολύ {0} χαρακτήρες",minLength:"Πρέπει να εισάγετε τουλάχιστον {0} χαρακτήρες",strictLength:"Το μήκος του πεδίου που εισήχθη δεν είναι έγκυρο",exclude:"Ο χαρακτήρας {0} δεν επιτρέπεται",notEmpty:"Παρακαλώ επιλέξτε τουλάχιστον μία τιμή",pattern:"Μη έγκυρη μορφή"},hotkey:{then:"στη συνέχεια",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"Πάνω βέλος",downArrow:"Κάτω βέλος",leftArrow:"Αριστερό βέλος",rightArrow:"Δεξί βέλος",backspace:"Backspace",space:"Διάστημα",plus:"συν",shortcut:"Συντόμευση πληκτρολογίου: {0}"},video:{play:"Αναπαραγωγή",pause:"Παύση",seek:"Αναζήτηση",volume:"Ένταση",showVolume:"Εμφάνιση ελέγχου έντασης",mute:"Σίγαση",unmute:"Κατάργηση σίγασης",enterFullscreen:"Πλήρης οθόνη",exitFullscreen:"Έξοδος από πλήρη οθόνη"},colorPicker:{ariaLabel:{eyedropper:"Επιλογή χρώματος από την οθόνη",hueSlider:"Απόχρωση",alphaSlider:"Άλφα",redInput:"Κόκκινο",greenInput:"Πράσινο",blueInput:"Μπλε",alphaInput:"Άλφα",hueInput:"Απόχρωση",saturationInput:"Κορεσμός",lightnessInput:"Φωτεινότητα",hexInput:"Δεκαεξαδική τιμή",hexaInput:"Δεκαεξαδική τιμή με άλφα",changeFormat:"Αλλαγή μορφής χρώματος"}}},jg={badge:"Badge",open:"Open",close:"Close",dismiss:"Dismiss",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"},ariaLabel:{previousMonth:"Previous month",nextMonth:"Next month",selectYear:"Select year",selectDate:"{0}",currentDate:"Today, {0}"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},fileUpload:{title:"Drag and drop files here",divider:"or",browse:"Browse Files"},timePicker:{am:"AM",pm:"PM",title:"Select Time"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"},rules:{required:"This field is required",email:"Please enter a valid email",number:"This field can only contain numbers",integer:"This field can only contain integer values",capital:"This field can only contain uppercase letters",maxLength:"You must enter a maximum of {0} characters",minLength:"You must enter a minimum of {0} characters",strictLength:"The length of the entered field is invalid",exclude:"The {0} character is not allowed",notEmpty:"Please choose at least one value",pattern:"Invalid format"},hotkey:{then:"then",ctrl:"Ctrl",command:"Command",space:"Space",shift:"Shift",alt:"Alt",enter:"Enter",escape:"Escape",upArrow:"Up Arrow",downArrow:"Down Arrow",leftArrow:"Left Arrow",rightArrow:"Right Arrow",backspace:"Backspace",option:"Option",plus:"plus",shortcut:"Keyboard shortcut: {0}"},video:{play:"Play",pause:"Pause",seek:"Seek",volume:"Volume",showVolume:"Show volume control",mute:"Mute",unmute:"Unmute",enterFullscreen:"Full screen",exitFullscreen:"Exit full screen"},colorPicker:{ariaLabel:{eyedropper:"Select color with eyedropper",hueSlider:"Hue",alphaSlider:"Alpha",redInput:"Red value",greenInput:"Green value",blueInput:"Blue value",alphaInput:"Alpha value",hueInput:"Hue value",saturationInput:"Saturation value",lightnessInput:"Lightness value",hexInput:"HEX value",hexaInput:"HEX with alpha value",changeFormat:"Change color format"}}},Vx={badge:"Placa",open:"Abrir",close:"Cerrar",dismiss:"Descartar",confirmEdit:{ok:"OK",cancel:"Cancelar"},dataIterator:{noResultsText:"Ningún elemento coincide con la búsqueda",loadingText:"Cargando..."},dataTable:{itemsPerPageText:"Filas por página:",ariaLabel:{sortDescending:"Orden descendente.",sortAscending:"Orden ascendente.",sortNone:"Sin ordenar.",activateNone:"Pulse para quitar orden.",activateDescending:"Pulse para ordenar de forma descendente.",activateAscending:"Pulse para ordenar de forma ascendente."},sortBy:"Ordenado por"},dataFooter:{itemsPerPageText:"Elementos por página:",itemsPerPageAll:"Todos",nextPage:"Página siguiente",prevPage:"Página anterior",firstPage:"Primera página",lastPage:"Última página",pageText:"{0}-{1} de {2}"},dateRangeInput:{divider:"a"},datePicker:{itemsSelected:"{0} seleccionados",range:{title:"Seleccionar fechas",header:"Introducir fechas"},title:"Seleccionar fecha",header:"Introducir fecha",input:{placeholder:"Introducir fecha"},ariaLabel:{previousMonth:"Mes anterior",nextMonth:"Mes siguiente",selectYear:"Seleccionar año",selectDate:"{0}",currentDate:"Hoy, {0}"}},noDataText:"No hay datos disponibles",carousel:{prev:"Visual anterior",next:"Visual siguiente",ariaLabel:{delimiter:"Visual {0} de {1}"}},calendar:{moreEvents:"{0} más",today:"Hoy"},input:{clear:"Borrar {0}",prependAction:"{0} acción adelantada",appendAction:"{0} acción añadida",otp:"Por favor, introduzca el carácter OTP {0}"},fileInput:{counter:"{0} archivos",counterSize:"{0} archivos ({1} en total)"},fileUpload:{title:"Arrastra y suelta archivos aquí",divider:"o",browse:"Explorar archivos"},timePicker:{am:"AM",pm:"PM",title:"Seleccionar hora"},pagination:{ariaLabel:{root:"Navegación de paginación",next:"Página siguiente",previous:"Página anterior",page:"Ir a la página {0}",currentPage:"Página actual, página {0}",first:"Primera página",last:"Última página"}},stepper:{next:"Siguiente",prev:"Anterior"},rating:{ariaLabel:{item:"Puntuación {0} de {1}"}},loading:"Cargando...",infiniteScroll:{loadMore:"Cargar más",empty:"No hay más"},rules:{required:"Este campo es obligatorio",email:"Por favor, introduce un correo electrónico válido",number:"Este campo solo puede contener números",integer:"Este campo solo puede contener valores enteros",capital:"Este campo solo puede contener letras mayúsculas",maxLength:"Debes introducir un máximo de {0} caracteres",minLength:"Debes introducir un mínimo de {0} caracteres",strictLength:"La longitud del campo introducido no es válida",exclude:"El carácter {0} no está permitido",notEmpty:"Por favor, elige al menos un valor",pattern:"Formato inválido"},hotkey:{then:"luego",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Intro",escape:"Escape",upArrow:"Flecha arriba",downArrow:"Flecha abajo",leftArrow:"Flecha izquierda",rightArrow:"Flecha derecha",backspace:"Retroceso",space:"Espacio",plus:"más",shortcut:"Atajo de teclado: {0}"},video:{play:"Reproducir",pause:"Pausa",seek:"Buscar",volume:"Volumen",showVolume:"Mostrar control de volumen",mute:"Silenciar",unmute:"Activar sonido",enterFullscreen:"Pantalla completa",exitFullscreen:"Salir de pantalla completa"},colorPicker:{ariaLabel:{eyedropper:"Seleccionar color de la pantalla",hueSlider:"Tono",alphaSlider:"Alfa",redInput:"Rojo",greenInput:"Verde",blueInput:"Azul",alphaInput:"Alfa",hueInput:"Tono",saturationInput:"Saturación",lightnessInput:"Luminosidad",hexInput:"Valor HEX",hexaInput:"Valor HEX con alfa",changeFormat:"Cambiar formato de color"}}},Yx={badge:"Infopiste",open:"Avaa",close:"Sulje",dismiss:"Hylkää",confirmEdit:{ok:"OK",cancel:"Peruuta"},dataIterator:{noResultsText:"Ei osumia",loadingText:"Ladataan kohteita..."},dataTable:{itemsPerPageText:"Rivejä sivulla:",ariaLabel:{sortDescending:": Järjestetty laskevasti. Poista järjestäminen aktivoimalla.",sortAscending:": Järjestetty nousevasti. Järjestä laskevasti aktivoimalla.",sortNone:": Ei järjestetty. Järjestä nousevasti aktivoimalla.",activateNone:"Aktivoi lajittelun poistamiseksi.",activateDescending:"Aktivoi laskevien laskevien lajittelemiseksi.",activateAscending:"Aktivoi lajitella nouseva."},sortBy:"Järjestä"},dataFooter:{itemsPerPageText:"Kohteita sivulla:",itemsPerPageAll:"Kaikki",nextPage:"Seuraava sivu",prevPage:"Edellinen sivu",firstPage:"Ensimmäinen sivu",lastPage:"Viimeinen sivu",pageText:"{0}-{1} ({2})"},dateRangeInput:{divider:"–"},datePicker:{itemsSelected:"{0} valittu",range:{title:"Valitse päivämäärät",header:"Syötä päivämäärät"},title:"Valitse päivämäärä",header:"Syötä päivämäärä",input:{placeholder:"Syötä päivämäärä"},ariaLabel:{previousMonth:"Edellinen kuukausi",nextMonth:"Seuraava kuukausi",selectYear:"Valitse vuosi",selectDate:"{0}",currentDate:"Tänään, {0}"}},noDataText:"Ei dataa",carousel:{prev:"Edellinen kuva",next:"Seuraava kuva",ariaLabel:{delimiter:"Karusellin kuva {0}/{1}"}},calendar:{moreEvents:"{0} lisää",today:"Tänään"},input:{clear:"Tyhjennä {0}",prependAction:"{0} edeltävä toiminto",appendAction:"{0} lisätty toiminto",otp:"Syötä OTP-merkki {0}"},fileInput:{counter:"{0} tiedostoa",counterSize:"{0} tiedostoa ({1} yhteensä)"},fileUpload:{title:"Vedä ja pudota tiedostot tähän",divider:"tai",browse:"Selaa tiedostoja"},timePicker:{am:"ap.",pm:"ip.",title:"Valitse aika"},pagination:{ariaLabel:{root:"Sivutuksen navigointi",next:"Seuraava sivu",previous:"Edellinen sivu",page:"Mene sivulle {0}",currentPage:"Nykyinen sivu, Sivu {0}",first:"Ensimmäinen sivu",last:"Viimeinen sivu"}},stepper:{next:"Seuraava",prev:"Edellinen"},rating:{ariaLabel:{item:"Luokitus {0}/{1}"}},loading:"Ladataan...",infiniteScroll:{loadMore:"Lataa lisää",empty:"Ei enempää"},rules:{required:"Tämä kenttä on pakollinen",email:"Anna kelvollinen sähköpostiosoite",number:"Tämä kenttä voi sisältää vain numeroita",integer:"Tämä kenttä voi sisältää vain kokonaislukuja",capital:"Tämä kenttä voi sisältää vain isoja kirjaimia",maxLength:"Sinun tulee syöttää enintään {0} merkkiä",minLength:"Sinun tulee syöttää vähintään {0} merkkiä",strictLength:"Syötetyn kentän pituus on virheellinen",exclude:"Merkki {0} ei ole sallittu",notEmpty:"Valitse ainakin yksi arvo",pattern:"Virheellinen muoto"},hotkey:{then:"sitten",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"Nuoli ylös",downArrow:"Nuoli alas",leftArrow:"Nuoli vasemmalle",rightArrow:"Nuoli oikealle",backspace:"Askelpalautin",space:"Välilyönti",plus:"plus",shortcut:"Näppäinyhdistelmä: {0}"},video:{play:"Toista",pause:"Tauko",seek:"Hae",volume:"Äänenvoimakkuus",showVolume:"Näytä äänenvoimakkuuden säädin",mute:"Mykistä",unmute:"Poista mykistys",enterFullscreen:"Koko näyttö",exitFullscreen:"Poistu koko näytöstä"},colorPicker:{ariaLabel:{eyedropper:"Valitse väri näytöltä",hueSlider:"Sävy",alphaSlider:"Alfa",redInput:"Punainen",greenInput:"Vihreä",blueInput:"Sininen",alphaInput:"Alfa",hueInput:"Sävy",saturationInput:"Kylläisyys",lightnessInput:"Vaaleus",hexInput:"HEX-arvo",hexaInput:"HEX alfa-arvolla",changeFormat:"Vaihda värimuotoa"}}},Ux={badge:"Badge",open:"Ouvrir",close:"Fermer",dismiss:"Ignorer",confirmEdit:{ok:"OK",cancel:"Annuler"},dataIterator:{noResultsText:"Aucun enregistrement correspondant trouvé",loadingText:"Chargement de l'élément..."},dataTable:{itemsPerPageText:"Lignes par page :",ariaLabel:{sortDescending:"Tri décroissant.",sortAscending:"Tri croissant.",sortNone:"Non trié.",activateNone:"Activer pour supprimer le tri.",activateDescending:"Activer pour trier par ordre décroissant.",activateAscending:"Activer pour trier par ordre croissant."},sortBy:"Trier par"},dataFooter:{itemsPerPageText:"Éléments par page :",itemsPerPageAll:"Tous",nextPage:"Page suivante",prevPage:"Page précédente",firstPage:"Première page",lastPage:"Dernière page",pageText:"{0}-{1} de {2}"},dateRangeInput:{divider:"à"},datePicker:{itemsSelected:"{0} sélectionné(s)",range:{title:"Sélectionner des dates",header:"Entrer des dates"},title:"Sélectionner une date",header:"Entrer une date",input:{placeholder:"Entrer une date"},ariaLabel:{previousMonth:"Mois précédent",nextMonth:"Mois suivant",selectYear:"Sélectionner une année",selectDate:"{0}",currentDate:"Aujourd'hui, {0}"}},noDataText:"Aucune donnée disponible",carousel:{prev:"Visuel précédent",next:"Visuel suivant",ariaLabel:{delimiter:"Diapositive {0} de {1}"}},calendar:{moreEvents:"{0} de plus",today:"Aujourd'hui"},input:{clear:"Vider {0}",prependAction:"{0} action avant",appendAction:"{0} action après",otp:"Caractère {0} du mot de passe à usage unique"},fileInput:{counter:"{0} fichier(s)",counterSize:"{0} fichier(s) ({1} au total)"},fileUpload:{title:"Glissez-déposez des fichiers ici",divider:"ou",browse:"Parcourir les fichiers"},timePicker:{am:"AM",pm:"PM",title:"Sélectionner une heure"},pagination:{ariaLabel:{root:"Navigation de pagination",next:"Page suivante",previous:"Page précédente",page:"Aller à la page {0}",currentPage:"Page actuelle, Page {0}",first:"Première page",last:"Dernière page"}},stepper:{next:"Suivant",prev:"Précédent"},rating:{ariaLabel:{item:"Note de {0} sur {1}"}},loading:"Chargement...",infiniteScroll:{loadMore:"Charger plus",empty:"Aucune donnée supplémentaire"},rules:{required:"Ce champ est requis",email:"Veuillez entrer une adresse email valide",number:"Ce champ ne peut contenir que des chiffres",integer:"Ce champ ne peut contenir que des valeurs entières",capital:"Ce champ ne peut contenir que des lettres majuscules",maxLength:"Vous devez entrer un maximum de {0} caractères",minLength:"Vous devez entrer un minimum de {0} caractères",strictLength:"La longueur du champ entré est invalide",exclude:"Le caractère {0} n’est pas autorisé",notEmpty:"Veuillez choisir au moins une valeur",pattern:"Format invalide"},hotkey:{then:"puis",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Entrée",escape:"Échap",upArrow:"Flèche haut",downArrow:"Flèche bas",leftArrow:"Flèche gauche",rightArrow:"Flèche droite",backspace:"Retour",space:"Espace",plus:"plus",shortcut:"Raccourci clavier : {0}"},video:{play:"Lire",pause:"Pause",seek:"Chercher",volume:"Volume",showVolume:"Afficher le contrôle du volume",mute:"Muet",unmute:"Activer le son",enterFullscreen:"Plein écran",exitFullscreen:"Quitter le plein écran"},colorPicker:{ariaLabel:{eyedropper:"Sélectionner une couleur à l'écran",hueSlider:"Teinte",alphaSlider:"Opacité",redInput:"Rouge",greenInput:"Vert",blueInput:"Bleu",alphaInput:"Opacité",hueInput:"Teinte",saturationInput:"Saturation",lightnessInput:"Luminosité",hexInput:"Valeur HEX",hexaInput:"Valeur HEX avec opacité",changeFormat:"Changer le format de couleur"}}},Xx={badge:"Distintivo",open:"Apri",close:"Chiudi",dismiss:"Ignora",confirmEdit:{ok:"OK",cancel:"Annulla"},dataIterator:{noResultsText:"Nessun risultato trovato",loadingText:"Caricamento in corso..."},dataTable:{itemsPerPageText:"Righe per pagina:",ariaLabel:{sortDescending:"Ordinati in ordine decrescente.",sortAscending:"Ordinati in ordine crescente.",sortNone:"Non ordinato.",activateNone:"Attiva per rimuovere l'ordinamento.",activateDescending:"Attiva per ordinare in ordine decrescente.",activateAscending:"Attiva per ordinare in ordine crescente."},sortBy:"Ordina per"},dataFooter:{itemsPerPageText:"Elementi per pagina:",itemsPerPageAll:"Tutti",nextPage:"Pagina seguente",prevPage:"Pagina precedente",firstPage:"Prima pagina",lastPage:"Ultima pagina",pageText:"{0}-{1} di {2}"},dateRangeInput:{divider:"a"},datePicker:{itemsSelected:"{0} selezionato/i",range:{title:"Seleziona date",header:"Inserisci date"},title:"Seleziona data",header:"Inserisci data",input:{placeholder:"Inserisci data"},ariaLabel:{previousMonth:"Mese precedente",nextMonth:"Mese successivo",selectYear:"Seleziona anno",selectDate:"{0}",currentDate:"Oggi, {0}"}},noDataText:"Nessun elemento disponibile",carousel:{prev:"Vista precedente",next:"Prossima vista",ariaLabel:{delimiter:"Slide carosello {0} di {1}"}},calendar:{moreEvents:"{0} di più",today:"Oggi"},input:{clear:"Cancella {0}",prependAction:"Azione precedente {0}",appendAction:"Azione successiva {0}",otp:"Inserisci il codice OTP {0}"},fileInput:{counter:"{0} file",counterSize:"{0} file ({1} in totale)"},fileUpload:{title:"Trascina e rilascia i file qui",divider:"o",browse:"Sfoglia i file"},timePicker:{am:"AM",pm:"PM",title:"Seleziona l'ora"},pagination:{ariaLabel:{root:"Navigazione impaginazione",next:"Pagina seguente",previous:"Pagina precedente",page:"Vai alla pagina {0}",currentPage:"Pagina corrente, pagina {0}",first:"Prima pagina",last:"Ultima pagina"}},stepper:{next:"Successivo",prev:"Precedente"},rating:{ariaLabel:{item:"Valutazione {0} di {1}"}},loading:"Caricamento...",infiniteScroll:{loadMore:"Carica altro",empty:"Nessun elemento"},rules:{required:"Questo campo è obbligatorio",email:"Inserisci un indirizzo email valido",number:"Questo campo può contenere solo numeri",integer:"Questo campo può contenere solo valori interi",capital:"Questo campo può contenere solo lettere maiuscole",maxLength:"Devi inserire un massimo di {0} caratteri",minLength:"Devi inserire un minimo di {0} caratteri",strictLength:"La lunghezza del campo inserito non è valida",exclude:"Il carattere {0} non è consentito",notEmpty:"Seleziona almeno un valore",pattern:"Formato non valido"},hotkey:{then:"poi",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Invio",escape:"Escape",upArrow:"Freccia su",downArrow:"Freccia giù",leftArrow:"Freccia sinistra",rightArrow:"Freccia destra",backspace:"Canc",space:"Spazio",plus:"più",shortcut:"Scorciatoia da tastiera: {0}"},video:{play:"Riproduci",pause:"Metti in pausa",seek:"Cerca",volume:"Volume",showVolume:"Mostra controllo volume",mute:"Muto",unmute:"Riattiva audio",enterFullscreen:"Schermo intero",exitFullscreen:"Esci da schermo intero"},colorPicker:{ariaLabel:{eyedropper:"Seleziona il colore dallo schermo",hueSlider:"Tonalità",alphaSlider:"Trasparenza",redInput:"Rosso",greenInput:"Verde",blueInput:"Blu",alphaInput:"Trasparenza",hueInput:"Tonalità",saturationInput:"Saturazione",lightnessInput:"Luminosità",hexInput:"Valore esadecimale",hexaInput:"Valore esadecimale con trasparenza",changeFormat:"Cambia formato colore"}}},qx={badge:"バッジ",open:"開く",close:"閉じる",dismiss:"閉じる",confirmEdit:{ok:"OK",cancel:"キャンセル"},dataIterator:{noResultsText:"検索結果が見つかりません。",loadingText:"項目をロード中です..."},dataTable:{itemsPerPageText:"1ページあたりの行数:",ariaLabel:{sortDescending:"降順の並び替え。",sortAscending:"昇順の並び替え。",sortNone:"ソートされていません。",activateNone:"ソートを削除するには有効にしてください。",activateDescending:"降順の並び替えのためには有効にしてください。",activateAscending:"昇順のソートのためには有効にしてください。"},sortBy:"ソート方式"},dataFooter:{itemsPerPageText:"1ページあたりの件数:",itemsPerPageAll:"すべて",nextPage:"次のページ",prevPage:"前のページ",firstPage:"最初のページ",lastPage:"最後のページ",pageText:"{0}-{1} 件目 / {2}件"},dateRangeInput:{divider:"から"},datePicker:{itemsSelected:"{0} 選択済",range:{title:"日付を選択",header:"日付を入力"},title:"日付を選択",header:"日付を入力",input:{placeholder:"日付を入力"},ariaLabel:{previousMonth:"前の月",nextMonth:"次の月",selectYear:"年を選択",selectDate:"{0}",currentDate:"今日、{0}"}},noDataText:"データはありません。",carousel:{prev:"前のビジュアル",next:"次のビジュアル",ariaLabel:{delimiter:"カルーセルのスライド {0}件目 / {1}件"}},calendar:{moreEvents:"さらに{0}",today:"今日"},input:{clear:"クリア {0}",prependAction:"{0} の前に追加されたアクション",appendAction:"{0} の後に追加されたアクション",otp:"{0}番目のワンタイムパスワードを入力してください"},fileInput:{counter:"{0} ファイル",counterSize:"{0} ファイル (合計 {1})"},fileUpload:{title:"ここにファイルをドラッグ&ドロップ",divider:"または",browse:"ファイルを選択"},timePicker:{am:"午前",pm:"午後",title:"時間を選択"},pagination:{ariaLabel:{root:"ページネーションナビゲーション",next:"次のページ",previous:"前のページ",page:"{0}ページ目に移動",currentPage:"現在のページ、ページ {0}",first:"最初のページ",last:"最後のページ"}},stepper:{next:"次へ",prev:"前へ"},rating:{ariaLabel:{item:"評価 {1} のうち {0}"}},loading:"ロード中...",infiniteScroll:{loadMore:"さらに読み込む",empty:"データがありません"},rules:{required:"このフィールドは必須です",email:"有効なメールアドレスを入力してください",number:"このフィールドには数字のみ入力できます",integer:"このフィールドには整数のみ入力できます",capital:"このフィールドには大文字のみ入力できます",maxLength:"最大{0}文字まで入力してください",minLength:"最低{0}文字以上入力してください",strictLength:"入力されたフィールドの長さが無効です",exclude:"{0}という文字は使用できません",notEmpty:"少なくとも1つの値を選んでください",pattern:"無効な形式です"},hotkey:{then:"次に",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"上矢印",downArrow:"下矢印",leftArrow:"左矢印",rightArrow:"右矢印",backspace:"バックスペース",space:"スペース",plus:"プラス",shortcut:"キーボードショートカット: {0}"},video:{play:"再生",pause:"一時停止",seek:"シーク",volume:"音量",showVolume:"音量コントロールを表示",mute:"ミュート",unmute:"ミュート解除",enterFullscreen:"全画面表示",exitFullscreen:"全画面表示を終了"},colorPicker:{ariaLabel:{eyedropper:"画面から色を選択",hueSlider:"色相",alphaSlider:"アルファ",redInput:"赤",greenInput:"緑",blueInput:"青",alphaInput:"アルファ",hueInput:"色相",saturationInput:"彩度",lightnessInput:"明度",hexInput:"HEX値",hexaInput:"アルファ付きHEX値",changeFormat:"カラーフォーマットを変更"}}},Gx={badge:"Insigne",open:"Openen",close:"Sluiten",dismiss:"Negeren",confirmEdit:{ok:"OK",cancel:"Annuleren"},dataIterator:{noResultsText:"Geen overeenkomende resultaten gevonden",loadingText:"Bezig met laden..."},dataTable:{itemsPerPageText:"Rijen per pagina:",ariaLabel:{sortDescending:"Aflopend gesorteerd.",sortAscending:"Oplopend gesorteerd.",sortNone:"Niet gesorteerd.",activateNone:"Activeer om de sortering te verwijderen.",activateDescending:"Activeer om aflopend te sorteren.",activateAscending:"Activeer om oplopend te sorteren."},sortBy:"Sorteer op"},dataFooter:{itemsPerPageText:"Aantal per pagina:",itemsPerPageAll:"Alles",nextPage:"Volgende pagina",prevPage:"Vorige pagina",firstPage:"Eerste pagina",lastPage:"Laatste pagina",pageText:"{0}-{1} van {2}"},dateRangeInput:{divider:"tot"},datePicker:{itemsSelected:"{0} geselecteerd",range:{title:"Selecteer datums",header:"Voer datums in"},title:"Selecteer datum",header:"Voer datum in",input:{placeholder:"Voer datum in"},ariaLabel:{previousMonth:"Vorige maand",nextMonth:"Volgende maand",selectYear:"Selecteer jaar",selectDate:"{0}",currentDate:"Vandaag, {0}"}},noDataText:"Geen gegevens beschikbaar",carousel:{prev:"Vorige weergave",next:"Volgende weergave",ariaLabel:{delimiter:"Carrousel afbeelding {0} van {1}"}},calendar:{moreEvents:"{0} meer",today:"Vandaag"},input:{clear:"Maak {0} leeg",prependAction:"{0} voorafgaande actie",appendAction:"{0} bijgevoegde actie",otp:"Voer OTP-teken {0} in"},fileInput:{counter:"{0} bestanden",counterSize:"{0} bestanden ({1} in totaal)"},fileUpload:{title:"Sleep en zet bestanden hier neer",divider:"of",browse:"Blader door bestanden"},timePicker:{am:"AM",pm:"PM",title:"Selecteer tijd"},pagination:{ariaLabel:{root:"Pagina navigatie",next:"Volgende pagina",previous:"Vorige pagina",page:"Ga naar pagina {0}",currentPage:"Huidige pagina, pagina {0}",first:"Eerste pagina",last:"Laatste pagina"}},stepper:{next:"Volgende",prev:"Vorige"},rating:{ariaLabel:{item:"Beoordeling {0} van {1}"}},loading:"Bezig met laden...",infiniteScroll:{loadMore:"Meer laden",empty:"Geen meer items"},rules:{required:"Dit veld is verplicht",email:"Voer een geldig e-mailadres in",number:"Dit veld mag alleen nummers bevatten",integer:"Dit veld mag alleen gehele getallen bevatten",capital:"Dit veld mag alleen hoofdletters bevatten",maxLength:"Je mag maximaal {0} tekens invoeren",minLength:"Je moet minimaal {0} tekens invoeren",strictLength:"De lengte van het ingevoerde veld is ongeldig",exclude:"Het teken {0} is niet toegestaan",notEmpty:"Kies ten minste één waarde",pattern:"Ongeldig formaat"},hotkey:{then:"dan",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"Pijl omhoog",downArrow:"Pijl omlaag",leftArrow:"Pijl naar links",rightArrow:"Pijl naar rechts",backspace:"Backspace",space:"Spatie",plus:"plus",shortcut:"Toetsenbordsnelkoppeling: {0}"},video:{play:"Afspelen",pause:"Pauzeren",seek:"Zoeken",volume:"Volume",showVolume:"Volumeregeling weergeven",mute:"Dempen",unmute:"Dempen opheffen",enterFullscreen:"Volledig scherm",exitFullscreen:"Volledig scherm verlaten"},colorPicker:{ariaLabel:{eyedropper:"Kies een kleur van het scherm",hueSlider:"Tint",alphaSlider:"Alpha",redInput:"Rood",greenInput:"Groen",blueInput:"Blauw",alphaInput:"Alpha",hueInput:"Tint",saturationInput:"Verzadiging",lightnessInput:"Helderheid",hexInput:"HEX-waarde",hexaInput:"HEX met alpha-waarde",changeFormat:"Wijzig kleurformaat"}}},$x={badge:"Odznaka",open:"Otwórz",close:"Zamknij",dismiss:"Odrzuć",confirmEdit:{ok:"OK",cancel:"Anuluj"},dataIterator:{noResultsText:"Nie znaleziono danych odpowiadających wyszukiwaniu",loadingText:"Wczytywanie danych..."},dataTable:{itemsPerPageText:"Wierszy na stronie:",ariaLabel:{sortDescending:"Sortowanie malejąco. Kliknij aby zmienić.",sortAscending:"Sortowanie rosnąco. Kliknij aby zmienić.",sortNone:"Bez sortowania. Kliknij aby posortować rosnąco.",activateNone:"Kliknij aby usunąć sortowanie.",activateDescending:"Kliknij aby posortować malejąco.",activateAscending:"Kliknij aby posortować rosnąco."},sortBy:"Sortuj według"},dataFooter:{itemsPerPageText:"Pozycji na stronie:",itemsPerPageAll:"Wszystkie",nextPage:"Następna strona",prevPage:"Poprzednia strona",firstPage:"Pierwsza strona",lastPage:"Ostatnia strona",pageText:"{0}-{1} z {2}"},dateRangeInput:{divider:"do"},datePicker:{itemsSelected:"{0} wybrano",range:{title:"Wybór zakresu dat",header:"Wprowadź zakres dat"},title:"Wybór daty",header:"Wprowadź datę",input:{placeholder:"Wprowadź datę"},ariaLabel:{previousMonth:"Poprzedni miesiąc",nextMonth:"Następny miesiąc",selectYear:"Wybierz rok",selectDate:"{0}",currentDate:"Dzisiaj, {0}"}},noDataText:"Brak danych",carousel:{prev:"Poprzedni obraz",next:"Następny obraz",ariaLabel:{delimiter:"Obraz {0} z {1}"}},calendar:{moreEvents:"{0} więcej",today:"Dzisiaj"},input:{clear:"Wyczyść {0}",prependAction:"{0} dodatkowa akcja",appendAction:"{0} dodatkowa akcja",otp:"Proszę wprowadzić znak nr {0}"},fileInput:{counter:"Liczba plików: {0}",counterSize:"Liczba plików: {0} (łącznie {1})"},fileUpload:{title:"Przeciągnij i upuść pliki tutaj",divider:"lub",browse:"Przeglądaj pliki"},timePicker:{am:"AM",pm:"PM",title:"Wybierz godzinę"},pagination:{ariaLabel:{root:"Nawigacja paginacyjna",next:"Następna strona",previous:"Poprzednia strona",page:"Idź do strony {0}",currentPage:"Bieżąca strona, strona {0}",first:"Pierwsza strona",last:"Ostatnia strona"}},stepper:{next:"Następny",prev:"Poprzedni"},rating:{ariaLabel:{item:"Ocena {0} na {1}"}},loading:"Wczytywanie danych...",infiniteScroll:{loadMore:"Wczytaj więcej",empty:"Brak kolejnych danych"},rules:{required:"To pole jest wymagane",email:"Proszę podać prawidłowy adres e-mail",number:"To pole może zawierać tylko cyfry",integer:"To pole może zawierać tylko liczby całkowite",capital:"To pole może zawierać tylko wielkie litery",maxLength:"Musisz wprowadzić maksymalnie {0} znaków",minLength:"Musisz wprowadzić co najmniej {0} znaków",strictLength:"Długość wprowadzonego pola jest nieprawidłowa",exclude:"Znak {0} nie jest dozwolony",notEmpty:"Proszę wybrać co najmniej jedną wartość",pattern:"Nieprawidłowy format"},hotkey:{then:"następnie",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"Strzałka w górę",downArrow:"Strzałka w dół",leftArrow:"Strzałka w lewo",rightArrow:"Strzałka w prawo",backspace:"Backspace",space:"Spacja",plus:"plus",shortcut:"Skrót klawiszowy: {0}"},video:{play:"Odtwórz",pause:"Wstrzymaj",seek:"Przewiń",volume:"Głośność",showVolume:"Pokaż regulację głośności",mute:"Wycisz",unmute:"Wyłącz wyciszenie",enterFullscreen:"Pełny ekran",exitFullscreen:"Opuść pełny ekran"},colorPicker:{ariaLabel:{eyedropper:"Pobierz kolor z ekranu",hueSlider:"Odcień",alphaSlider:"Przezroczystość",redInput:"Czerwony",greenInput:"Zielony",blueInput:"Niebieski",alphaInput:"Przezroczystość",hueInput:"Odcień",saturationInput:"Nasycenie",lightnessInput:"Jasność",hexInput:"Wartość szesnastkowa",hexaInput:"Wartość szesnastkowa z kanałem alfa",changeFormat:"Zmień format koloru"}}},Kx={badge:"Distintivo",open:"Abrir",close:"Fechar",dismiss:"Dispensar",confirmEdit:{ok:"OK",cancel:"Cancelar"},dataIterator:{noResultsText:"Nenhum dado encontrado",loadingText:"Carregando itens..."},dataTable:{itemsPerPageText:"Linhas por página:",ariaLabel:{sortDescending:"Ordenado decrescente.",sortAscending:"Ordenado crescente.",sortNone:"Não ordenado.",activateNone:"Ative para remover a ordenação.",activateDescending:"Ative para ordenar decrescente.",activateAscending:"Ative para ordenar crescente."},sortBy:"Ordenar por"},dataFooter:{itemsPerPageText:"Itens por página:",itemsPerPageAll:"Todos",nextPage:"Próxima página",prevPage:"Página anterior",firstPage:"Primeira página",lastPage:"Última página",pageText:"{0}-{1} de {2}"},dateRangeInput:{divider:"até"},datePicker:{itemsSelected:"{0} selecionados",range:{title:"Selecione as datas",header:"Digite as datas"},title:"Selecione a data",header:"Digite a data",input:{placeholder:"Insira a data"},ariaLabel:{previousMonth:"Mês anterior",nextMonth:"Próximo mês",selectYear:"Selecionar ano",selectDate:"{0}",currentDate:"Hoje, {0}"}},noDataText:"Não há dados disponíveis",carousel:{prev:"Visão anterior",next:"Próxima visão",ariaLabel:{delimiter:"Slide {0} de {1} do carrossel"}},calendar:{moreEvents:"Mais {0}",today:"Hoje"},input:{clear:"Limpar {0}",prependAction:"{0} ação antes",appendAction:"{0} ação depois",otp:"Por favor, insira o caractere OTP {0}"},fileInput:{counter:"{0} arquivo(s)",counterSize:"{0} arquivo(s) ({1} no total)"},fileUpload:{title:"Arraste e solte os arquivos aqui",divider:"ou",browse:"Procurar arquivos"},timePicker:{am:"AM",pm:"PM",title:"Selecione o horário"},pagination:{ariaLabel:{root:"Navegação de paginação",next:"Próxima página",previous:"Página anterior",page:"Ir à página {0}",currentPage:"Página atual, página {0}",first:"Primeira página",last:"Última página"}},stepper:{next:"Próximo",prev:"Anterior"},rating:{ariaLabel:{item:"Avaliação {0} de {1}"}},loading:"Carregando...",infiniteScroll:{loadMore:"Carregar mais",empty:"Não há mais dados"},rules:{required:"Este campo é obrigatório",email:"Por favor, insira um e-mail válido",number:"Este campo só pode conter números",integer:"Este campo só pode conter valores inteiros",capital:"Este campo só pode conter letras maiúsculas",maxLength:"Você deve inserir no máximo {0} caracteres",minLength:"Você deve inserir no mínimo {0} caracteres",strictLength:"O comprimento do campo inserido é inválido",exclude:"O caractere {0} não é permitido",notEmpty:"Por favor, escolha pelo menos um valor",pattern:"Formato inválido"},hotkey:{then:"então",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"Seta para cima",downArrow:"Seta para baixo",leftArrow:"Seta para a esquerda",rightArrow:"Seta para a direita",backspace:"Backspace",space:"Espaço",plus:"mais",shortcut:"Atalho de teclado: {0}"},video:{play:"Reproduzir",pause:"Pausar",seek:"Buscar",volume:"Volume",showVolume:"Mostrar controle de volume",mute:"Silenciar",unmute:"Ativar som",enterFullscreen:"Tela cheia",exitFullscreen:"Sair da tela cheia"},colorPicker:{ariaLabel:{eyedropper:"Selecionar cor da tela",hueSlider:"Matiz",alphaSlider:"Alfa",redInput:"Vermelho",greenInput:"Verde",blueInput:"Azul",alphaInput:"Alfa",hueInput:"Matiz",saturationInput:"Saturação",lightnessInput:"Luminosidade",hexInput:"Valor HEX",hexaInput:"HEX com valor alfa",changeFormat:"Alterar formato da cor"}}},Zx={badge:"Знак",open:"Открыть",close:"Закрыть",dismiss:"Отклонить",confirmEdit:{ok:"ОК",cancel:"Отмена"},dataIterator:{noResultsText:"Не найдено подходящих записей",loadingText:"Запись загружается..."},dataTable:{itemsPerPageText:"Строк на странице:",ariaLabel:{sortDescending:"Упорядочено по убыванию.",sortAscending:"Упорядочено по возрастанию.",sortNone:"Не упорядочено.",activateNone:"Активируйте, чтобы убрать сортировку.",activateDescending:"Активируйте для упорядочивания убыванию.",activateAscending:"Активируйте для упорядочивания по возрастанию."},sortBy:"Сортировать по"},dataFooter:{itemsPerPageText:"Записей на странице:",itemsPerPageAll:"Все",nextPage:"Следующая страница",prevPage:"Предыдущая страница",firstPage:"Первая страница",lastPage:"Последняя страница",pageText:"{0}-{1} из {2}"},dateRangeInput:{divider:"до"},datePicker:{itemsSelected:"{0} выбрано",range:{title:"Выбранные даты",header:"Ввод дат"},title:"Выбор даты",header:"Ввод даты",input:{placeholder:"Введите дату"},ariaLabel:{previousMonth:"Предыдущий месяц",nextMonth:"Следующий месяц",selectYear:"Выбрать год",selectDate:"{0}",currentDate:"Сегодня, {0}"}},noDataText:"Отсутствуют данные",carousel:{prev:"Предыдущий слайд",next:"Следующий слайд",ariaLabel:{delimiter:"Слайд {0} из {1}"}},calendar:{moreEvents:"Еще {0}",today:"Сегодня"},input:{clear:"Очистить {0}",prependAction:"{0} предварительных действий",appendAction:"{0} добавочных действий",otp:"Пожалуйста введите символы OTP {0}"},fileInput:{counter:"Файлов: {0}",counterSize:"Файлов: {0} (всего {1})"},fileUpload:{title:"Перетащите файлы сюда",divider:"или",browse:"Просмотр файлов"},timePicker:{am:"AM",pm:"PM",title:"Выберите время"},pagination:{ariaLabel:{root:"Навигация по страницам",next:"Следующая страница",previous:"Предыдущая страница",page:"Перейти на страницу {0}",currentPage:"Текущая страница, Страница {0}",first:"Первая страница",last:"Последняя страница"}},stepper:{next:"Следующий",prev:"Предыдущий"},rating:{ariaLabel:{item:"Рейтинг {0} из {1}"}},loading:"Загрузка...",infiniteScroll:{loadMore:"Загрузить ещё",empty:"Больше нечего загружать"},rules:{required:"Это поле обязательно",email:"Пожалуйста, введите действительный email",number:"Это поле может содержать только цифры",integer:"Это поле может содержать только целые числа",capital:"Это поле может содержать только заглавные буквы",maxLength:"Вы должны ввести не более {0} символов",minLength:"Вы должны ввести не менее {0} символов",strictLength:"Длина введенного поля недействительна",exclude:"Символ {0} не разрешен",notEmpty:"Пожалуйста, выберите хотя бы одно значение",pattern:"Недопустимый формат"},hotkey:{then:"затем",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"Стрелка вверх",downArrow:"Стрелка вниз",leftArrow:"Стрелка влево",rightArrow:"Стрелка вправо",backspace:"Backspace",space:"Пробел",plus:"плюс",shortcut:"Сочетание клавиш: {0}"},video:{play:"Воспроизвести",pause:"Пауза",seek:"Перемотка",volume:"Громкость",showVolume:"Показать регулятор громкости",mute:"Отключить звук",unmute:"Включить звук",enterFullscreen:"Полноэкранный режим",exitFullscreen:"Выйти из полноэкранного режима"},colorPicker:{ariaLabel:{eyedropper:"Выбрать цвет с экрана",hueSlider:"Оттенок",alphaSlider:"Прозрачность",redInput:"Красный",greenInput:"Зеленый",blueInput:"Синий",alphaInput:"Прозрачность",hueInput:"Оттенок",saturationInput:"Насыщенность",lightnessInput:"Яркость",hexInput:"Значение HEX",hexaInput:"Значение HEX с прозрачностью",changeFormat:"Изменить формат цвета"}}},Jx={badge:"Bricka",open:"Öppna",close:"Stäng",dismiss:"Avvisa",confirmEdit:{ok:"OK",cancel:"Avbryt"},dataIterator:{noResultsText:"Hittade inga poster",loadingText:"Laddar data..."},dataTable:{itemsPerPageText:"Rader per sida:",ariaLabel:{sortDescending:"Fallande sortering.",sortAscending:"Stigande sortering.",sortNone:"Osorterat.",activateNone:"Aktivera för att ta bort sortering.",activateDescending:"Aktivera för att sortera fallande.",activateAscending:"Aktivera för att sortera stigande."},sortBy:"Sortera efter"},dataFooter:{itemsPerPageText:"Objekt per sida:",itemsPerPageAll:"Alla",nextPage:"Nästa sida",prevPage:"Föregående sida",firstPage:"Första sidan",lastPage:"Sista sidan",pageText:"{0}-{1} av {2}"},dateRangeInput:{divider:"till"},datePicker:{itemsSelected:"{0} valda",range:{title:"Välj datum",header:"Välj datum"},title:"Välj datum",header:"Välj datum",input:{placeholder:"Välj datum"},ariaLabel:{previousMonth:"Föregående månad",nextMonth:"Nästa månad",selectYear:"Välj år",selectDate:"{0}",currentDate:"Idag, {0}"}},noDataText:"Ingen data tillgänglig",carousel:{prev:"Föregående vy",next:"Nästa vy",ariaLabel:{delimiter:"Karusellvy {0} av {1}"}},calendar:{moreEvents:"{0} fler",today:"Idag"},input:{clear:"Rensa {0}",prependAction:"{0} föregående åtgärd",appendAction:"{0} efterföljande åtgärd",otp:"Vänligen ange OTP-tecken {0}"},fileInput:{counter:"{0} filer",counterSize:"{0} filer ({1})"},fileUpload:{title:"Dra och släpp filer här",divider:"eller",browse:"Bläddra bland filer"},timePicker:{am:"FM",pm:"EM",title:"Välj tid"},pagination:{ariaLabel:{root:"Paginering",next:"Nästa sida",previous:"Föregående sida",page:"Gå till sida {0}",currentPage:"Aktuell sida, sida {0}",first:"Första sidan",last:"Sista sidan"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Betyg {0} av {1}"}},loading:"Laddar...",infiniteScroll:{loadMore:"Ladda fler",empty:"Inga fler"},rules:{required:"Detta fält är obligatoriskt",email:"Ange en giltig e-postadress",number:"Detta fält kan bara innehålla siffror",integer:"Detta fält kan bara innehålla heltal",capital:"Detta fält kan bara innehålla stora bokstäver",maxLength:"Du måste ange högst {0} tecken",minLength:"Du måste ange minst {0} tecken",strictLength:"Längden på det angivna fältet är ogiltig",exclude:"Tecknet {0} är inte tillåtet",notEmpty:"Välj minst ett värde",pattern:"Ogiltigt format"},hotkey:{then:"sedan",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"Pil upp",downArrow:"Pil ner",leftArrow:"Pil vänster",rightArrow:"Pil höger",backspace:"Backsteg",space:"Mellanslag",plus:"plus",shortcut:"Tangentbordsgenväg: {0}"},video:{play:"Spela upp",pause:"Pausa",seek:"Sök",volume:"Volym",showVolume:"Visa volymkontroll",mute:"Stäng av ljud",unmute:"Slå på ljud",enterFullscreen:"Helskärm",exitFullscreen:"Avsluta helskärm"},colorPicker:{ariaLabel:{eyedropper:"Välj färg från skärmen",hueSlider:"Nyans",alphaSlider:"Alfa",redInput:"Röd",greenInput:"Grön",blueInput:"Blå",alphaInput:"Alfa",hueInput:"Nyans",saturationInput:"Mättnad",lightnessInput:"Ljushet",hexInput:"HEX-värde",hexaInput:"HEX med alfavärde",changeFormat:"Ändra färgformat"}}},Qx={badge:"Rozet",open:"Aç",close:"Kapat",dismiss:"Kapat",confirmEdit:{ok:"Tamam",cancel:"İptal"},dataIterator:{noResultsText:"Eşleşen veri bulunamadı",loadingText:"Yükleniyor... Lütfen bekleyin."},dataTable:{itemsPerPageText:"Sayfa başına satır:",ariaLabel:{sortDescending:"Z den A ya sıralı.",sortAscending:"A dan Z ye sıralı.",sortNone:"Sıralı değil. ",activateNone:"Sıralamayı kaldırmak için etkinleştir.",activateDescending:"Z den A ya sıralamak için etkinleştir.",activateAscending:"A dan Z ye sıralamak için etkinleştir."},sortBy:"Sırala"},dataFooter:{itemsPerPageText:"Sayfa başına satır:",itemsPerPageAll:"Hepsi",nextPage:"Sonraki sayfa",prevPage:"Önceki sayfa",firstPage:"İlk sayfa",lastPage:"Son sayfa",pageText:"{0} - {1} arası, Toplam: {2} kayıt"},dateRangeInput:{divider:"ile"},datePicker:{itemsSelected:"{0} seçildi",range:{title:"Tarihleri seçin",header:"Tarihleri girin"},title:"Tarih seçin",header:"Tarih girin",input:{placeholder:"Tarih girin"},ariaLabel:{previousMonth:"Önceki ay",nextMonth:"Sonraki ay",selectYear:"Yıl seçin",selectDate:"{0}",currentDate:"Bugün, {0}"}},noDataText:"Bu görünümde veri yok.",carousel:{prev:"Önceki görsel",next:"Sonraki görsel",ariaLabel:{delimiter:"Galeri sayfa {0} / {1}"}},calendar:{moreEvents:"{0} tane daha",today:"Bugün"},input:{clear:"{0} temizle",prependAction:"{0} ön işlem",appendAction:"{0} ek işlem",otp:"Lütfen OTP karakterini girin {0}"},fileInput:{counter:"{0} dosya",counterSize:"{0} dosya (toplamda {1})"},fileUpload:{title:"Dosyaları buraya sürükleyip bırakın",divider:"veya",browse:"Dosyalara göz at"},timePicker:{am:"ÖÖ",pm:"ÖS",title:"Saat seçin"},pagination:{ariaLabel:{root:"Sayfalandırma Navigasyonu",next:"Sonraki sayfa",previous:"Önceki sayfa",page:"Sayfaya git {0}",currentPage:"Geçerli Sayfa, Sayfa {0}",first:"İlk sayfa",last:"Son sayfa"}},stepper:{next:"İleri",prev:"Geri"},rating:{ariaLabel:{item:"{1} üzerinden {0} puan"}},loading:"Yükleniyor...",infiniteScroll:{loadMore:"Daha fazla yükle",empty:"Daha fazla içerik yok"},rules:{required:"Bu alan zorunludur",email:"Lütfen geçerli bir e-posta adresi girin",number:"Bu alan sadece sayılar içerebilir",integer:"Bu alan sadece tam sayılar içerebilir",capital:"Bu alan sadece büyük harfler içerebilir",maxLength:"En fazla {0} karakter girmelisiniz",minLength:"En az {0} karakter girmelisiniz",strictLength:"Girilen alanın uzunluğu geçersiz",exclude:"{0} karakteri izin verilmez",notEmpty:"Lütfen en az bir değer seçin",pattern:"Geçersiz biçim"},hotkey:{then:"sonra",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"Yukarı Ok",downArrow:"Aşağı Ok",leftArrow:"Sol Ok",rightArrow:"Sağ Ok",backspace:"Geri Al",space:"Boşluk",plus:"artı",shortcut:"Klavye kısayolu: {0}"},video:{play:"Oynat",pause:"Duraklat",seek:"Ara",volume:"Ses",showVolume:"Ses kontrolünü göster",mute:"Sesi kapat",unmute:"Sesi aç",enterFullscreen:"Tam ekran",exitFullscreen:"Tam ekrandan çık"},colorPicker:{ariaLabel:{eyedropper:"Ekranda renk seç",hueSlider:"Ton",alphaSlider:"Alfa",redInput:"Kırmızı",greenInput:"Yeşil",blueInput:"Mavi",alphaInput:"Alfa",hueInput:"Ton",saturationInput:"Doygunluk",lightnessInput:"Parlaklık",hexInput:"HEX değeri",hexaInput:"Alfa değerli HEX",changeFormat:"Renk biçimini değiştir"}}},ey={badge:"徽章",open:"打开",close:"关闭",dismiss:"取消",confirmEdit:{ok:"确定",cancel:"取消"},dataIterator:{noResultsText:"没有符合条件的结果",loadingText:"加载中……"},dataTable:{itemsPerPageText:"每页数目:",ariaLabel:{sortDescending:":降序排列。",sortAscending:":升序排列。",sortNone:":未排序。",activateNone:"点击以移除排序。",activateDescending:"点击以降序排列。",activateAscending:"点击以升序排列。"},sortBy:"排序方式"},dataFooter:{itemsPerPageText:"每页数目:",itemsPerPageAll:"全部",nextPage:"下一页",prevPage:"上一页",firstPage:"首页",lastPage:"尾页",pageText:"{0}-{1} 共 {2}"},dateRangeInput:{divider:"至"},datePicker:{itemsSelected:"已选择 {0} 项",range:{title:"选择日期",header:"输入日期"},title:"选择日期",header:"输入日期",input:{placeholder:"输入日期"},ariaLabel:{previousMonth:"上个月",nextMonth:"下个月",selectYear:"选择年份",selectDate:"{0}",currentDate:"今天,{0}"}},noDataText:"没有数据",carousel:{prev:"上一张",next:"下一张",ariaLabel:{delimiter:"幻灯片 {0} / {1}"}},calendar:{moreEvents:"还有 {0} 项",today:"今天"},input:{clear:"清除 {0}",prependAction:"{0} 前置操作",appendAction:"{0} 后置操作",otp:"请输入第 {0} 位 OTP"},fileInput:{counter:"{0} 个文件",counterSize:"{0} 个文件(共 {1})"},fileUpload:{title:"拖放文件到此处",divider:"或",browse:"浏览文件"},timePicker:{am:"上午",pm:"下午",title:"选择时间"},pagination:{ariaLabel:{root:"分页导航",next:"下一页",previous:"上一页",page:"转到页面 {0}",currentPage:"当前页 {0}",first:"第一页",last:"最后一页"}},stepper:{next:"下一步",prev:"上一步"},rating:{ariaLabel:{item:"评分 {0} / {1}"}},loading:"加载中...",infiniteScroll:{loadMore:"加载更多",empty:"没有更多内容"},rules:{required:"此字段为必填项",email:"请输入有效的电子邮件地址",number:"此字段只能包含数字",integer:"此字段只能包含整数",capital:"此字段只能包含大写字母",maxLength:"您最多可以输入{0}个字符",minLength:"您必须至少输入{0}个字符",strictLength:"输入字段的长度无效",exclude:"字符{0}是不允许的",notEmpty:"请至少选择一个值",pattern:"格式无效"},hotkey:{then:"然后",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"上箭头",downArrow:"下箭头",leftArrow:"左箭头",rightArrow:"右箭头",backspace:"退格",space:"空格",plus:"加",shortcut:"键盘快捷键:{0}"},video:{play:"播放",pause:"暂停",seek:"跳转",volume:"音量",showVolume:"显示音量控制",mute:"静音",unmute:"取消静音",enterFullscreen:"全屏",exitFullscreen:"退出全屏"},colorPicker:{ariaLabel:{eyedropper:"从屏幕拾取颜色",hueSlider:"色相",alphaSlider:"不透明度",redInput:"红色",greenInput:"绿色",blueInput:"蓝色",alphaInput:"不透明度",hueInput:"色相",saturationInput:"饱和度",lightnessInput:"亮度",hexInput:"HEX 值",hexaInput:"带不透明度 HEX 值",changeFormat:"更改颜色格式"}}};/**
|
|
3
|
+
* @vue/shared v3.5.24
|
|
4
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
5
|
+
* @license MIT
|
|
6
|
+
**/function yu(i){const e=Object.create(null);for(const t of i.split(","))e[t]=1;return t=>t in e}const Fe={},bs=[],Ii=()=>{},Vg=()=>!1,ko=i=>i.charCodeAt(0)===111&&i.charCodeAt(1)===110&&(i.charCodeAt(2)>122||i.charCodeAt(2)<97),wu=i=>i.startsWith("onUpdate:"),ut=Object.assign,ku=(i,e)=>{const t=i.indexOf(e);t>-1&&i.splice(t,1)},ty=Object.prototype.hasOwnProperty,He=(i,e)=>ty.call(i,e),de=Array.isArray,vs=i=>Ao(i)==="[object Map]",Yg=i=>Ao(i)==="[object Set]",ve=i=>typeof i=="function",Ze=i=>typeof i=="string",qi=i=>typeof i=="symbol",qe=i=>i!==null&&typeof i=="object",Au=i=>(qe(i)||ve(i))&&ve(i.then)&&ve(i.catch),Ug=Object.prototype.toString,Ao=i=>Ug.call(i),iy=i=>Ao(i).slice(8,-1),Xg=i=>Ao(i)==="[object Object]",Su=i=>Ze(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,or=yu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),So=i=>{const e=Object.create(null);return(t=>e[t]||(e[t]=i(t)))},ay=/-\w/g,Ut=So(i=>i.replace(ay,e=>e.slice(1).toUpperCase())),sy=/\B([A-Z])/g,Gi=So(i=>i.replace(sy,"-$1").toLowerCase()),Br=So(i=>i.charAt(0).toUpperCase()+i.slice(1)),il=So(i=>i?`on${Br(i)}`:""),Ht=(i,e)=>!Object.is(i,e),Pn=(i,...e)=>{for(let t=0;t<i.length;t++)i[t](...e)},qg=(i,e,t,a=!1)=>{Object.defineProperty(i,e,{configurable:!0,enumerable:!1,writable:a,value:t})},Cu=i=>{const e=parseFloat(i);return isNaN(e)?i:e},Gg=i=>{const e=Ze(i)?Number(i):NaN;return isNaN(e)?i:e};let Dd;const Co=()=>Dd||(Dd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Eo(i){if(de(i)){const e={};for(let t=0;t<i.length;t++){const a=i[t],s=Ze(a)?ly(a):Eo(a);if(s)for(const r in s)e[r]=s[r]}return e}else if(Ze(i)||qe(i))return i}const ry=/;(?![^(]*\))/g,ny=/:([^]+)/,oy=/\/\*[^]*?\*\//g;function ly(i){const e={};return i.replace(oy,"").split(ry).forEach(t=>{if(t){const a=t.split(ny);a.length>1&&(e[a[0].trim()]=a[1].trim())}}),e}function Hr(i){let e="";if(Ze(i))e=i;else if(de(i))for(let t=0;t<i.length;t++){const a=Hr(i[t]);a&&(e+=a+" ")}else if(qe(i))for(const t in i)i[t]&&(e+=t+" ");return e.trim()}function CI(i){if(!i)return null;let{class:e,style:t}=i;return e&&!Ze(e)&&(i.class=Hr(e)),t&&(i.style=Eo(t)),i}const cy="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",uy=yu(cy);function $g(i){return!!i||i===""}const Kg=i=>!!(i&&i.__v_isRef===!0),dy=i=>Ze(i)?i:i==null?"":de(i)||qe(i)&&(i.toString===Ug||!ve(i.toString))?Kg(i)?dy(i.value):JSON.stringify(i,Zg,2):String(i),Zg=(i,e)=>Kg(e)?Zg(i,e.value):vs(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[a,s],r)=>(t[al(a,r)+" =>"]=s,t),{})}:Yg(e)?{[`Set(${e.size})`]:[...e.values()].map(t=>al(t))}:qi(e)?al(e):qe(e)&&!de(e)&&!Xg(e)?String(e):e,al=(i,e="")=>{var t;return qi(i)?`Symbol(${(t=i.description)!=null?t:e})`:i};/**
|
|
7
|
+
* @vue/reactivity v3.5.24
|
|
8
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
9
|
+
* @license MIT
|
|
10
|
+
**/let xt;class Jg{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=xt,!e&&xt&&(this.index=(xt.scopes||(xt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){const t=xt;try{return xt=this,e()}finally{xt=t}}}on(){++this._on===1&&(this.prevScope=xt,xt=this)}off(){this._on>0&&--this._on===0&&(xt=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let t,a;for(t=0,a=this.effects.length;t<a;t++)this.effects[t].stop();for(this.effects.length=0,t=0,a=this.cleanups.length;t<a;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,a=this.scopes.length;t<a;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function xr(i){return new Jg(i)}function Eu(){return xt}function Mo(i,e=!1){xt&&xt.cleanups.push(i)}let $e;const sl=new WeakSet;class Qg{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,xt&&xt.active&&xt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,sl.has(this)&&(sl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||tp(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ld(this),ip(this);const e=$e,t=fi;$e=this,fi=!0;try{return this.fn()}finally{ap(this),$e=e,fi=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)_u(e);this.deps=this.depsTail=void 0,Ld(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?sl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){sc(this)&&this.run()}get dirty(){return sc(this)}}let ep=0,lr,cr;function tp(i,e=!1){if(i.flags|=8,e){i.next=cr,cr=i;return}i.next=lr,lr=i}function Mu(){ep++}function Pu(){if(--ep>0)return;if(cr){let e=cr;for(cr=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let i;for(;lr;){let e=lr;for(lr=void 0;e;){const t=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(a){i||(i=a)}e=t}}if(i)throw i}function ip(i){for(let e=i.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function ap(i){let e,t=i.depsTail,a=t;for(;a;){const s=a.prevDep;a.version===-1?(a===t&&(t=s),_u(a),hy(a)):e=a,a.dep.activeLink=a.prevActiveLink,a.prevActiveLink=void 0,a=s}i.deps=e,i.depsTail=t}function sc(i){for(let e=i.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(sp(e.dep.computed)||e.dep.version!==e.version))return!0;return!!i._dirty}function sp(i){if(i.flags&4&&!(i.flags&16)||(i.flags&=-17,i.globalVersion===yr)||(i.globalVersion=yr,!i.isSSR&&i.flags&128&&(!i.deps&&!i._dirty||!sc(i))))return;i.flags|=2;const e=i.dep,t=$e,a=fi;$e=i,fi=!0;try{ip(i);const s=i.fn(i._value);(e.version===0||Ht(s,i._value))&&(i.flags|=128,i._value=s,e.version++)}catch(s){throw e.version++,s}finally{$e=t,fi=a,ap(i),i.flags&=-3}}function _u(i,e=!1){const{dep:t,prevSub:a,nextSub:s}=i;if(a&&(a.nextSub=s,i.prevSub=void 0),s&&(s.prevSub=a,i.nextSub=void 0),t.subs===i&&(t.subs=a,!a&&t.computed)){t.computed.flags&=-5;for(let r=t.computed.deps;r;r=r.nextDep)_u(r,!0)}!e&&!--t.sc&&t.map&&t.map.delete(t.key)}function hy(i){const{prevDep:e,nextDep:t}=i;e&&(e.nextDep=t,i.prevDep=void 0),t&&(t.prevDep=e,i.nextDep=void 0)}let fi=!0;const rp=[];function Vi(){rp.push(fi),fi=!1}function Yi(){const i=rp.pop();fi=i===void 0?!0:i}function Ld(i){const{cleanup:e}=i;if(i.cleanup=void 0,e){const t=$e;$e=void 0;try{e()}finally{$e=t}}}let yr=0;class fy{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Po{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!$e||!fi||$e===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==$e)t=this.activeLink=new fy($e,this),$e.deps?(t.prevDep=$e.depsTail,$e.depsTail.nextDep=t,$e.depsTail=t):$e.deps=$e.depsTail=t,np(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){const a=t.nextDep;a.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=a),t.prevDep=$e.depsTail,t.nextDep=void 0,$e.depsTail.nextDep=t,$e.depsTail=t,$e.deps===t&&($e.deps=a)}return t}trigger(e){this.version++,yr++,this.notify(e)}notify(e){Mu();try{for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{Pu()}}}function np(i){if(i.dep.sc++,i.sub.flags&4){const e=i.dep.computed;if(e&&!i.dep.subs){e.flags|=20;for(let a=e.deps;a;a=a.nextDep)np(a)}const t=i.dep.subs;t!==i&&(i.prevSub=t,t&&(t.nextSub=i)),i.dep.subs=i}}const Yn=new WeakMap,Oa=Symbol(""),rc=Symbol(""),wr=Symbol("");function wt(i,e,t){if(fi&&$e){let a=Yn.get(i);a||Yn.set(i,a=new Map);let s=a.get(t);s||(a.set(t,s=new Po),s.map=a,s.key=t),s.track()}}function Bi(i,e,t,a,s,r){const n=Yn.get(i);if(!n){yr++;return}const o=l=>{l&&l.trigger()};if(Mu(),e==="clear")n.forEach(o);else{const l=de(i),c=l&&Su(t);if(l&&t==="length"){const u=Number(a);n.forEach((d,h)=>{(h==="length"||h===wr||!qi(h)&&h>=u)&&o(d)})}else switch((t!==void 0||n.has(void 0))&&o(n.get(t)),c&&o(n.get(wr)),e){case"add":l?c&&o(n.get("length")):(o(n.get(Oa)),vs(i)&&o(n.get(rc)));break;case"delete":l||(o(n.get(Oa)),vs(i)&&o(n.get(rc)));break;case"set":vs(i)&&o(n.get(Oa));break}}Pu()}function gy(i,e){const t=Yn.get(i);return t&&t.get(e)}function es(i){const e=Pe(i);return e===i?e:(wt(e,"iterate",wr),si(i)?e:e.map(gt))}function _o(i){return wt(i=Pe(i),"iterate",wr),i}const py={__proto__:null,[Symbol.iterator](){return rl(this,Symbol.iterator,gt)},concat(...i){return es(this).concat(...i.map(e=>de(e)?es(e):e))},entries(){return rl(this,"entries",i=>(i[1]=gt(i[1]),i))},every(i,e){return Li(this,"every",i,e,void 0,arguments)},filter(i,e){return Li(this,"filter",i,e,t=>t.map(gt),arguments)},find(i,e){return Li(this,"find",i,e,gt,arguments)},findIndex(i,e){return Li(this,"findIndex",i,e,void 0,arguments)},findLast(i,e){return Li(this,"findLast",i,e,gt,arguments)},findLastIndex(i,e){return Li(this,"findLastIndex",i,e,void 0,arguments)},forEach(i,e){return Li(this,"forEach",i,e,void 0,arguments)},includes(...i){return nl(this,"includes",i)},indexOf(...i){return nl(this,"indexOf",i)},join(i){return es(this).join(i)},lastIndexOf(...i){return nl(this,"lastIndexOf",i)},map(i,e){return Li(this,"map",i,e,void 0,arguments)},pop(){return Gs(this,"pop")},push(...i){return Gs(this,"push",i)},reduce(i,...e){return Rd(this,"reduce",i,e)},reduceRight(i,...e){return Rd(this,"reduceRight",i,e)},shift(){return Gs(this,"shift")},some(i,e){return Li(this,"some",i,e,void 0,arguments)},splice(...i){return Gs(this,"splice",i)},toReversed(){return es(this).toReversed()},toSorted(i){return es(this).toSorted(i)},toSpliced(...i){return es(this).toSpliced(...i)},unshift(...i){return Gs(this,"unshift",i)},values(){return rl(this,"values",gt)}};function rl(i,e,t){const a=_o(i),s=a[e]();return a!==i&&!si(i)&&(s._next=s.next,s.next=()=>{const r=s._next();return r.done||(r.value=t(r.value)),r}),s}const my=Array.prototype;function Li(i,e,t,a,s,r){const n=_o(i),o=n!==i&&!si(i),l=n[e];if(l!==my[e]){const d=l.apply(i,r);return o?gt(d):d}let c=t;n!==i&&(o?c=function(d,h){return t.call(this,gt(d),h,i)}:t.length>2&&(c=function(d,h){return t.call(this,d,h,i)}));const u=l.call(n,c,a);return o&&s?s(u):u}function Rd(i,e,t,a){const s=_o(i);let r=t;return s!==i&&(si(i)?t.length>3&&(r=function(n,o,l){return t.call(this,n,o,l,i)}):r=function(n,o,l){return t.call(this,n,gt(o),l,i)}),s[e](r,...a)}function nl(i,e,t){const a=Pe(i);wt(a,"iterate",wr);const s=a[e](...t);return(s===-1||s===!1)&&Du(t[0])?(t[0]=Pe(t[0]),a[e](...t)):s}function Gs(i,e,t=[]){Vi(),Mu();const a=Pe(i)[e].apply(i,t);return Pu(),Yi(),a}const by=yu("__proto__,__v_isRef,__isVue"),op=new Set(Object.getOwnPropertyNames(Symbol).filter(i=>i!=="arguments"&&i!=="caller").map(i=>Symbol[i]).filter(qi));function vy(i){qi(i)||(i=String(i));const e=Pe(this);return wt(e,"has",i),e.hasOwnProperty(i)}class lp{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,a){if(t==="__v_skip")return e.__v_skip;const s=this._isReadonly,r=this._isShallow;if(t==="__v_isReactive")return!s;if(t==="__v_isReadonly")return s;if(t==="__v_isShallow")return r;if(t==="__v_raw")return a===(s?r?Py:hp:r?dp:up).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(a)?e:void 0;const n=de(e);if(!s){let l;if(n&&(l=py[t]))return l;if(t==="hasOwnProperty")return vy}const o=Reflect.get(e,t,st(e)?e:a);if((qi(t)?op.has(t):by(t))||(s||wt(e,"get",t),r))return o;if(st(o)){const l=n&&Su(t)?o:o.value;return s&&qe(l)?oc(l):l}return qe(o)?s?oc(o):Di(o):o}}class cp extends lp{constructor(e=!1){super(!1,e)}set(e,t,a,s){let r=e[t];if(!this._isShallow){const l=ga(r);if(!si(a)&&!ga(a)&&(r=Pe(r),a=Pe(a)),!de(e)&&st(r)&&!st(a))return l||(r.value=a),!0}const n=de(e)&&Su(t)?Number(t)<e.length:He(e,t),o=Reflect.set(e,t,a,st(e)?e:s);return e===Pe(s)&&(n?Ht(a,r)&&Bi(e,"set",t,a):Bi(e,"add",t,a)),o}deleteProperty(e,t){const a=He(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&a&&Bi(e,"delete",t,void 0),s}has(e,t){const a=Reflect.has(e,t);return(!qi(t)||!op.has(t))&&wt(e,"has",t),a}ownKeys(e){return wt(e,"iterate",de(e)?"length":Oa),Reflect.ownKeys(e)}}class xy extends lp{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const yy=new cp,wy=new xy,ky=new cp(!0);const nc=i=>i,ln=i=>Reflect.getPrototypeOf(i);function Ay(i,e,t){return function(...a){const s=this.__v_raw,r=Pe(s),n=vs(r),o=i==="entries"||i===Symbol.iterator&&n,l=i==="keys"&&n,c=s[i](...a),u=t?nc:e?Un:gt;return!e&&wt(r,"iterate",l?rc:Oa),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:o?[u(d[0]),u(d[1])]:u(d),done:h}},[Symbol.iterator](){return this}}}}function cn(i){return function(...e){return i==="delete"?!1:i==="clear"?void 0:this}}function Sy(i,e){const t={get(s){const r=this.__v_raw,n=Pe(r),o=Pe(s);i||(Ht(s,o)&&wt(n,"get",s),wt(n,"get",o));const{has:l}=ln(n),c=e?nc:i?Un:gt;if(l.call(n,s))return c(r.get(s));if(l.call(n,o))return c(r.get(o));r!==n&&r.get(s)},get size(){const s=this.__v_raw;return!i&&wt(Pe(s),"iterate",Oa),s.size},has(s){const r=this.__v_raw,n=Pe(r),o=Pe(s);return i||(Ht(s,o)&&wt(n,"has",s),wt(n,"has",o)),s===o?r.has(s):r.has(s)||r.has(o)},forEach(s,r){const n=this,o=n.__v_raw,l=Pe(o),c=e?nc:i?Un:gt;return!i&&wt(l,"iterate",Oa),o.forEach((u,d)=>s.call(r,c(u),c(d),n))}};return ut(t,i?{add:cn("add"),set:cn("set"),delete:cn("delete"),clear:cn("clear")}:{add(s){!e&&!si(s)&&!ga(s)&&(s=Pe(s));const r=Pe(this);return ln(r).has.call(r,s)||(r.add(s),Bi(r,"add",s,s)),this},set(s,r){!e&&!si(r)&&!ga(r)&&(r=Pe(r));const n=Pe(this),{has:o,get:l}=ln(n);let c=o.call(n,s);c||(s=Pe(s),c=o.call(n,s));const u=l.call(n,s);return n.set(s,r),c?Ht(r,u)&&Bi(n,"set",s,r):Bi(n,"add",s,r),this},delete(s){const r=Pe(this),{has:n,get:o}=ln(r);let l=n.call(r,s);l||(s=Pe(s),l=n.call(r,s)),o&&o.call(r,s);const c=r.delete(s);return l&&Bi(r,"delete",s,void 0),c},clear(){const s=Pe(this),r=s.size!==0,n=s.clear();return r&&Bi(s,"clear",void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach(s=>{t[s]=Ay(s,i,e)}),t}function Iu(i,e){const t=Sy(i,e);return(a,s,r)=>s==="__v_isReactive"?!i:s==="__v_isReadonly"?i:s==="__v_raw"?a:Reflect.get(He(t,s)&&s in a?t:a,s,r)}const Cy={get:Iu(!1,!1)},Ey={get:Iu(!1,!0)},My={get:Iu(!0,!1)};const up=new WeakMap,dp=new WeakMap,hp=new WeakMap,Py=new WeakMap;function _y(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Iy(i){return i.__v_skip||!Object.isExtensible(i)?0:_y(iy(i))}function Di(i){return ga(i)?i:Tu(i,!1,yy,Cy,up)}function fp(i){return Tu(i,!1,ky,Ey,dp)}function oc(i){return Tu(i,!0,wy,My,hp)}function Tu(i,e,t,a,s){if(!qe(i)||i.__v_raw&&!(e&&i.__v_isReactive))return i;const r=Iy(i);if(r===0)return i;const n=s.get(i);if(n)return n;const o=new Proxy(i,r===2?a:t);return s.set(i,o),o}function da(i){return ga(i)?da(i.__v_raw):!!(i&&i.__v_isReactive)}function ga(i){return!!(i&&i.__v_isReadonly)}function si(i){return!!(i&&i.__v_isShallow)}function Du(i){return i?!!i.__v_raw:!1}function Pe(i){const e=i&&i.__v_raw;return e?Pe(e):i}function Lu(i){return!He(i,"__v_skip")&&Object.isExtensible(i)&&qg(i,"__v_skip",!0),i}const gt=i=>qe(i)?Di(i):i,Un=i=>qe(i)?oc(i):i;function st(i){return i?i.__v_isRef===!0:!1}function nt(i){return gp(i,!1)}function Ti(i){return gp(i,!0)}function gp(i,e){return st(i)?i:new Ty(i,e)}class Ty{constructor(e,t){this.dep=new Po,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:Pe(e),this._value=t?e:gt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,a=this.__v_isShallow||si(e)||ga(e);e=a?e:Pe(e),Ht(e,t)&&(this._rawValue=e,this._value=a?e:gt(e),this.dep.trigger())}}function ei(i){return st(i)?i.value:i}function Dy(i){return ve(i)?i():ei(i)}const Ly={get:(i,e,t)=>e==="__v_raw"?i:ei(Reflect.get(i,e,t)),set:(i,e,t,a)=>{const s=i[e];return st(s)&&!st(t)?(s.value=t,!0):Reflect.set(i,e,t,a)}};function pp(i){return da(i)?i:new Proxy(i,Ly)}class Ry{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new Po,{get:a,set:s}=e(t.track.bind(t),t.trigger.bind(t));this._get=a,this._set=s}get value(){return this._value=this._get()}set value(e){this._set(e)}}function Ny(i){return new Ry(i)}function Ru(i){const e=de(i)?new Array(i.length):{};for(const t in i)e[t]=mp(i,t);return e}class Oy{constructor(e,t,a){this._object=e,this._key=t,this._defaultValue=a,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return gy(Pe(this._object),this._key)}}class Fy{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Wt(i,e,t){return st(i)?i:ve(i)?new Fy(i):qe(i)&&arguments.length>1?mp(i,e,t):nt(i)}function mp(i,e,t){const a=i[e];return st(a)?a:new Oy(i,e,t)}class zy{constructor(e,t,a){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Po(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=yr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=a}notify(){if(this.flags|=16,!(this.flags&8)&&$e!==this)return tp(this,!0),!0}get value(){const e=this.dep.track();return sp(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function By(i,e,t=!1){let a,s;return ve(i)?a=i:(a=i.get,s=i.set),new zy(a,s,t)}const un={},Xn=new WeakMap;let Ea;function Hy(i,e=!1,t=Ea){if(t){let a=Xn.get(t);a||Xn.set(t,a=[]),a.push(i)}}function Wy(i,e,t=Fe){const{immediate:a,deep:s,once:r,scheduler:n,augmentJob:o,call:l}=t,c=k=>s?k:si(k)||s===!1||s===0?Hi(k,1):Hi(k);let u,d,h,f,g=!1,p=!1;if(st(i)?(d=()=>i.value,g=si(i)):da(i)?(d=()=>c(i),g=!0):de(i)?(p=!0,g=i.some(k=>da(k)||si(k)),d=()=>i.map(k=>{if(st(k))return k.value;if(da(k))return c(k);if(ve(k))return l?l(k,2):k()})):ve(i)?e?d=l?()=>l(i,2):i:d=()=>{if(h){Vi();try{h()}finally{Yi()}}const k=Ea;Ea=u;try{return l?l(i,3,[f]):i(f)}finally{Ea=k}}:d=Ii,e&&s){const k=d,y=s===!0?1/0:s;d=()=>Hi(k(),y)}const m=Eu(),b=()=>{u.stop(),m&&m.active&&ku(m.effects,u)};if(r&&e){const k=e;e=(...y)=>{k(...y),b()}}let v=p?new Array(i.length).fill(un):un;const x=k=>{if(!(!(u.flags&1)||!u.dirty&&!k))if(e){const y=u.run();if(s||g||(p?y.some((A,w)=>Ht(A,v[w])):Ht(y,v))){h&&h();const A=Ea;Ea=u;try{const w=[y,v===un?void 0:p&&v[0]===un?[]:v,f];v=y,l?l(e,3,w):e(...w)}finally{Ea=A}}}else u.run()};return o&&o(x),u=new Qg(d),u.scheduler=n?()=>n(x,!1):x,f=k=>Hy(k,!1,u),h=u.onStop=()=>{const k=Xn.get(u);if(k){if(l)l(k,4);else for(const y of k)y();Xn.delete(u)}},e?a?x(!0):v=u.run():n?n(x.bind(null,!0),!0):u.run(),b.pause=u.pause.bind(u),b.resume=u.resume.bind(u),b.stop=b,b}function Hi(i,e=1/0,t){if(e<=0||!qe(i)||i.__v_skip||(t=t||new Map,(t.get(i)||0)>=e))return i;if(t.set(i,e),e--,st(i))Hi(i.value,e,t);else if(de(i))for(let a=0;a<i.length;a++)Hi(i[a],e,t);else if(Yg(i)||vs(i))i.forEach(a=>{Hi(a,e,t)});else if(Xg(i)){for(const a in i)Hi(i[a],e,t);for(const a of Object.getOwnPropertySymbols(i))Object.prototype.propertyIsEnumerable.call(i,a)&&Hi(i[a],e,t)}return i}/**
|
|
11
|
+
* @vue/runtime-core v3.5.24
|
|
12
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
13
|
+
* @license MIT
|
|
14
|
+
**/function Wr(i,e,t,a){try{return a?i(...a):i()}catch(s){jr(s,e,t)}}function pi(i,e,t,a){if(ve(i)){const s=Wr(i,e,t,a);return s&&Au(s)&&s.catch(r=>{jr(r,e,t)}),s}if(de(i)){const s=[];for(let r=0;r<i.length;r++)s.push(pi(i[r],e,t,a));return s}}function jr(i,e,t,a=!0){const s=e?e.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:n}=e&&e.appContext.config||Fe;if(e){let o=e.parent;const l=e.proxy,c=`https://vuejs.org/error-reference/#runtime-${t}`;for(;o;){const u=o.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](i,l,c)===!1)return}o=o.parent}if(r){Vi(),Wr(r,null,10,[i,l,c]),Yi();return}}jy(i,t,s,a,n)}function jy(i,e,t,a=!0,s=!1){if(s)throw i;console.error(i)}const Dt=[];let Ei=-1;const xs=[];let aa=null,ds=0;const bp=Promise.resolve();let qn=null;function Vr(i){const e=qn||bp;return i?e.then(this?i.bind(this):i):e}function Vy(i){let e=Ei+1,t=Dt.length;for(;e<t;){const a=e+t>>>1,s=Dt[a],r=kr(s);r<i||r===i&&s.flags&2?e=a+1:t=a}return e}function Nu(i){if(!(i.flags&1)){const e=kr(i),t=Dt[Dt.length-1];!t||!(i.flags&2)&&e>=kr(t)?Dt.push(i):Dt.splice(Vy(e),0,i),i.flags|=1,vp()}}function vp(){qn||(qn=bp.then(yp))}function lc(i){de(i)?xs.push(...i):aa&&i.id===-1?aa.splice(ds+1,0,i):i.flags&1||(xs.push(i),i.flags|=1),vp()}function Nd(i,e,t=Ei+1){for(;t<Dt.length;t++){const a=Dt[t];if(a&&a.flags&2){if(i&&a.id!==i.uid)continue;Dt.splice(t,1),t--,a.flags&4&&(a.flags&=-2),a(),a.flags&4||(a.flags&=-2)}}}function xp(i){if(xs.length){const e=[...new Set(xs)].sort((t,a)=>kr(t)-kr(a));if(xs.length=0,aa){aa.push(...e);return}for(aa=e,ds=0;ds<aa.length;ds++){const t=aa[ds];t.flags&4&&(t.flags&=-2),t.flags&8||t(),t.flags&=-2}aa=null,ds=0}}const kr=i=>i.id==null?i.flags&2?-1:1/0:i.id;function yp(i){try{for(Ei=0;Ei<Dt.length;Ei++){const e=Dt[Ei];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),Wr(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Ei<Dt.length;Ei++){const e=Dt[Ei];e&&(e.flags&=-2)}Ei=-1,Dt.length=0,xp(),qn=null,(Dt.length||xs.length)&&yp()}}let mt=null,wp=null;function Gn(i){const e=mt;return mt=i,wp=i&&i.type.__scopeId||null,e}function kp(i,e=mt,t){if(!e||i._n)return i;const a=(...s)=>{a._d&&Jn(-1);const r=Gn(e);let n;try{n=i(...s)}finally{Gn(r),a._d&&Jn(1)}return n};return a._n=!0,a._c=!0,a._d=!0,a}function EI(i,e){if(mt===null)return i;const t=Fo(mt),a=i.dirs||(i.dirs=[]);for(let s=0;s<e.length;s++){let[r,n,o,l=Fe]=e[s];r&&(ve(r)&&(r={mounted:r,updated:r}),r.deep&&Hi(n),a.push({dir:r,instance:t,value:n,oldValue:void 0,arg:o,modifiers:l}))}return i}function xa(i,e,t,a){const s=i.dirs,r=e&&e.dirs;for(let n=0;n<s.length;n++){const o=s[n];r&&(o.oldValue=r[n].value);let l=o.dir[a];l&&(Vi(),pi(l,t,8,[i.el,o,i,e]),Yi())}}const Ap=Symbol("_vte"),Sp=i=>i.__isTeleport,ur=i=>i&&(i.disabled||i.disabled===""),Od=i=>i&&(i.defer||i.defer===""),Fd=i=>typeof SVGElement<"u"&&i instanceof SVGElement,zd=i=>typeof MathMLElement=="function"&&i instanceof MathMLElement,cc=(i,e)=>{const t=i&&i.to;return Ze(t)?e?e(t):null:t},Cp={name:"Teleport",__isTeleport:!0,process(i,e,t,a,s,r,n,o,l,c){const{mc:u,pc:d,pbc:h,o:{insert:f,querySelector:g,createText:p,createComment:m}}=c,b=ur(e.props);let{shapeFlag:v,children:x,dynamicChildren:k}=e;if(i==null){const y=e.el=p(""),A=e.anchor=p("");f(y,t,a),f(A,t,a);const w=(C,E)=>{v&16&&u(x,C,E,s,r,n,o,l)},S=()=>{const C=e.target=cc(e.props,g),E=Ep(C,e,p,f);C&&(n!=="svg"&&Fd(C)?n="svg":n!=="mathml"&&zd(C)&&(n="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(C),b||(w(C,E),_n(e,!1)))};b&&(w(t,A),_n(e,!0)),Od(e.props)?(e.el.__isMounted=!1,_t(()=>{S(),delete e.el.__isMounted},r)):S()}else{if(Od(e.props)&&i.el.__isMounted===!1){_t(()=>{Cp.process(i,e,t,a,s,r,n,o,l,c)},r);return}e.el=i.el,e.targetStart=i.targetStart;const y=e.anchor=i.anchor,A=e.target=i.target,w=e.targetAnchor=i.targetAnchor,S=ur(i.props),C=S?t:A,E=S?y:w;if(n==="svg"||Fd(A)?n="svg":(n==="mathml"||zd(A))&&(n="mathml"),k?(h(i.dynamicChildren,k,C,s,r,n,o),Wu(i,e,!0)):l||d(i,e,C,E,s,r,n,o,!1),b)S?e.props&&i.props&&e.props.to!==i.props.to&&(e.props.to=i.props.to):dn(e,t,y,c,1);else if((e.props&&e.props.to)!==(i.props&&i.props.to)){const M=e.target=cc(e.props,g);M&&dn(e,M,null,c,0)}else S&&dn(e,A,w,c,1);_n(e,b)}},remove(i,e,t,{um:a,o:{remove:s}},r){const{shapeFlag:n,children:o,anchor:l,targetStart:c,targetAnchor:u,target:d,props:h}=i;if(d&&(s(c),s(u)),r&&s(l),n&16){const f=r||!ur(h);for(let g=0;g<o.length;g++){const p=o[g];a(p,e,t,f,!!p.dynamicChildren)}}},move:dn,hydrate:Yy};function dn(i,e,t,{o:{insert:a},m:s},r=2){r===0&&a(i.targetAnchor,e,t);const{el:n,anchor:o,shapeFlag:l,children:c,props:u}=i,d=r===2;if(d&&a(n,e,t),(!d||ur(u))&&l&16)for(let h=0;h<c.length;h++)s(c[h],e,t,2);d&&a(o,e,t)}function Yy(i,e,t,a,s,r,{o:{nextSibling:n,parentNode:o,querySelector:l,insert:c,createText:u}},d){function h(p,m,b,v){m.anchor=d(n(p),m,o(p),t,a,s,r),m.targetStart=b,m.targetAnchor=v}const f=e.target=cc(e.props,l),g=ur(e.props);if(f){const p=f._lpa||f.firstChild;if(e.shapeFlag&16)if(g)h(i,e,p,p&&n(p));else{e.anchor=n(i);let m=p;for(;m;){if(m&&m.nodeType===8){if(m.data==="teleport start anchor")e.targetStart=m;else if(m.data==="teleport anchor"){e.targetAnchor=m,f._lpa=e.targetAnchor&&n(e.targetAnchor);break}}m=n(m)}e.targetAnchor||Ep(f,e,u,c),d(p&&n(p),e,f,t,a,s,r)}_n(e,g)}else g&&e.shapeFlag&16&&h(i,e,i,n(i));return e.anchor&&n(e.anchor)}const MI=Cp;function _n(i,e){const t=i.ctx;if(t&&t.ut){let a,s;for(e?(a=i.el,s=i.anchor):(a=i.targetStart,s=i.targetAnchor);a&&a!==s;)a.nodeType===1&&a.setAttribute("data-v-owner",t.uid),a=a.nextSibling;t.ut()}}function Ep(i,e,t,a){const s=e.targetStart=t(""),r=e.targetAnchor=t("");return s[Ap]=r,i&&(a(s,i),a(r,i)),r}const zi=Symbol("_leaveCb"),hn=Symbol("_enterCb");function Mp(){const i={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Fu(()=>{i.isMounted=!0}),zu(()=>{i.isUnmounting=!0}),i}const Kt=[Function,Array],Pp={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Kt,onEnter:Kt,onAfterEnter:Kt,onEnterCancelled:Kt,onBeforeLeave:Kt,onLeave:Kt,onAfterLeave:Kt,onLeaveCancelled:Kt,onBeforeAppear:Kt,onAppear:Kt,onAfterAppear:Kt,onAppearCancelled:Kt},_p=i=>{const e=i.subTree;return e.component?_p(e.component):e},Uy={name:"BaseTransition",props:Pp,setup(i,{slots:e}){const t=Ki(),a=Mp();return()=>{const s=e.default&&Ou(e.default(),!0);if(!s||!s.length)return;const r=Ip(s),n=Pe(i),{mode:o}=n;if(a.isLeaving)return ol(r);const l=Bd(r);if(!l)return ol(r);let c=Ar(l,n,a,t,d=>c=d);l.type!==ht&&Ya(l,c);let u=t.subTree&&Bd(t.subTree);if(u&&u.type!==ht&&!_i(u,l)&&_p(t).type!==ht){let d=Ar(u,n,a,t);if(Ya(u,d),o==="out-in"&&l.type!==ht)return a.isLeaving=!0,d.afterLeave=()=>{a.isLeaving=!1,t.job.flags&8||t.update(),delete d.afterLeave,u=void 0},ol(r);o==="in-out"&&l.type!==ht?d.delayLeave=(h,f,g)=>{const p=Tp(a,u);p[String(u.key)]=u,h[zi]=()=>{f(),h[zi]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{g(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function Ip(i){let e=i[0];if(i.length>1){for(const t of i)if(t.type!==ht){e=t;break}}return e}const Xy=Uy;function Tp(i,e){const{leavingVNodes:t}=i;let a=t.get(e.type);return a||(a=Object.create(null),t.set(e.type,a)),a}function Ar(i,e,t,a,s){const{appear:r,mode:n,persisted:o=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:h,onLeave:f,onAfterLeave:g,onLeaveCancelled:p,onBeforeAppear:m,onAppear:b,onAfterAppear:v,onAppearCancelled:x}=e,k=String(i.key),y=Tp(t,i),A=(C,E)=>{C&&pi(C,a,9,E)},w=(C,E)=>{const M=E[1];A(C,E),de(C)?C.every(P=>P.length<=1)&&M():C.length<=1&&M()},S={mode:n,persisted:o,beforeEnter(C){let E=l;if(!t.isMounted)if(r)E=m||l;else return;C[zi]&&C[zi](!0);const M=y[k];M&&_i(i,M)&&M.el[zi]&&M.el[zi](),A(E,[C])},enter(C){let E=c,M=u,P=d;if(!t.isMounted)if(r)E=b||c,M=v||u,P=x||d;else return;let D=!1;const L=C[hn]=B=>{D||(D=!0,B?A(P,[C]):A(M,[C]),S.delayedLeave&&S.delayedLeave(),C[hn]=void 0)};E?w(E,[C,L]):L()},leave(C,E){const M=String(i.key);if(C[hn]&&C[hn](!0),t.isUnmounting)return E();A(h,[C]);let P=!1;const D=C[zi]=L=>{P||(P=!0,E(),L?A(p,[C]):A(g,[C]),C[zi]=void 0,y[M]===i&&delete y[M])};y[M]=i,f?w(f,[C,D]):D()},clone(C){const E=Ar(C,e,t,a,s);return s&&s(E),E}};return S}function ol(i){if(To(i))return i=pa(i),i.children=null,i}function Bd(i){if(!To(i))return Sp(i.type)&&i.children?Ip(i.children):i;if(i.component)return i.component.subTree;const{shapeFlag:e,children:t}=i;if(t){if(e&16)return t[0];if(e&32&&ve(t.default))return t.default()}}function Ya(i,e){i.shapeFlag&6&&i.component?(i.transition=e,Ya(i.component.subTree,e)):i.shapeFlag&128?(i.ssContent.transition=e.clone(i.ssContent),i.ssFallback.transition=e.clone(i.ssFallback)):i.transition=e}function Ou(i,e=!1,t){let a=[],s=0;for(let r=0;r<i.length;r++){let n=i[r];const o=t==null?n.key:String(t)+String(n.key!=null?n.key:r);n.type===kt?(n.patchFlag&128&&s++,a=a.concat(Ou(n.children,e,o))):(e||n.type!==ht)&&a.push(o!=null?pa(n,{key:o}):n)}if(s>1)for(let r=0;r<a.length;r++)a[r].patchFlag=-2;return a}function Io(i,e){return ve(i)?ut({name:i.name},e,{setup:i}):i}function PI(){const i=Ki();return i?(i.appContext.config.idPrefix||"v")+"-"+i.ids[0]+i.ids[1]++:""}function Dp(i){i.ids=[i.ids[0]+i.ids[2]+++"-",0,0]}const $n=new WeakMap;function dr(i,e,t,a,s=!1){if(de(i)){i.forEach((g,p)=>dr(g,e&&(de(e)?e[p]:e),t,a,s));return}if(ys(a)&&!s){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&dr(i,e,t,a.component.subTree);return}const r=a.shapeFlag&4?Fo(a.component):a.el,n=s?null:r,{i:o,r:l}=i,c=e&&e.r,u=o.refs===Fe?o.refs={}:o.refs,d=o.setupState,h=Pe(d),f=d===Fe?Vg:g=>He(h,g);if(c!=null&&c!==l){if(Hd(e),Ze(c))u[c]=null,f(c)&&(d[c]=null);else if(st(c)){c.value=null;const g=e;g.k&&(u[g.k]=null)}}if(ve(l))Wr(l,o,12,[n,u]);else{const g=Ze(l),p=st(l);if(g||p){const m=()=>{if(i.f){const b=g?f(l)?d[l]:u[l]:l.value;if(s)de(b)&&ku(b,r);else if(de(b))b.includes(r)||b.push(r);else if(g)u[l]=[r],f(l)&&(d[l]=u[l]);else{const v=[r];l.value=v,i.k&&(u[i.k]=v)}}else g?(u[l]=n,f(l)&&(d[l]=n)):p&&(l.value=n,i.k&&(u[i.k]=n))};if(n){const b=()=>{m(),$n.delete(i)};b.id=-1,$n.set(i,b),_t(b,t)}else Hd(i),m()}}}function Hd(i){const e=$n.get(i);e&&(e.flags|=8,$n.delete(i))}Co().requestIdleCallback;Co().cancelIdleCallback;const ys=i=>!!i.type.__asyncLoader,To=i=>i.type.__isKeepAlive;function qy(i,e){Lp(i,"a",e)}function Gy(i,e){Lp(i,"da",e)}function Lp(i,e,t=St){const a=i.__wdc||(i.__wdc=()=>{let s=t;for(;s;){if(s.isDeactivated)return;s=s.parent}return i()});if(Do(e,a,t),t){let s=t.parent;for(;s&&s.parent;)To(s.parent.vnode)&&$y(a,e,t,s),s=s.parent}}function $y(i,e,t,a){const s=Do(e,i,a,!0);Op(()=>{ku(a[e],s)},t)}function Do(i,e,t=St,a=!1){if(t){const s=t[i]||(t[i]=[]),r=e.__weh||(e.__weh=(...n)=>{Vi();const o=Xa(t),l=pi(e,t,i,n);return o(),Yi(),l});return a?s.unshift(r):s.push(r),r}}const $i=i=>(e,t=St)=>{(!Er||i==="sp")&&Do(i,(...a)=>e(...a),t)},Rp=$i("bm"),Fu=$i("m"),Ky=$i("bu"),Np=$i("u"),zu=$i("bum"),Op=$i("um"),Zy=$i("sp"),Jy=$i("rtg"),Qy=$i("rtc");function ew(i,e=St){Do("ec",i,e)}const Fp="components";function tw(i,e){return Bp(Fp,i,!0,e)||i}const zp=Symbol.for("v-ndc");function _I(i){return Ze(i)?Bp(Fp,i,!1)||i:i||zp}function Bp(i,e,t=!0,a=!1){const s=mt||St;if(s){const r=s.type;{const o=Gw(r,!1);if(o&&(o===e||o===Ut(e)||o===Br(Ut(e))))return r}const n=Wd(s[i]||r[i],e)||Wd(s.appContext[i],e);return!n&&a?r:n}}function Wd(i,e){return i&&(i[e]||i[Ut(e)]||i[Br(Ut(e))])}function II(i,e,t,a){let s;const r=t,n=de(i);if(n||Ze(i)){const o=n&&da(i);let l=!1,c=!1;o&&(l=!si(i),c=ga(i),i=_o(i)),s=new Array(i.length);for(let u=0,d=i.length;u<d;u++)s[u]=e(l?c?Un(gt(i[u])):gt(i[u]):i[u],u,void 0,r)}else if(typeof i=="number"){s=new Array(i);for(let o=0;o<i;o++)s[o]=e(o+1,o,void 0,r)}else if(qe(i))if(i[Symbol.iterator])s=Array.from(i,(o,l)=>e(o,l,void 0,r));else{const o=Object.keys(i);s=new Array(o.length);for(let l=0,c=o.length;l<c;l++){const u=o[l];s[l]=e(i[u],u,l,r)}}else s=[];return s}function TI(i,e){for(let t=0;t<e.length;t++){const a=e[t];if(de(a))for(let s=0;s<a.length;s++)i[a[s].name]=a[s].fn;else a&&(i[a.name]=a.key?(...s)=>{const r=a.fn(...s);return r&&(r.key=a.key),r}:a.fn)}return i}function DI(i,e,t={},a,s){if(mt.ce||mt.parent&&ys(mt.parent)&&mt.parent.ce){const c=Object.keys(t).length>0;return e!=="default"&&(t.name=e),Cr(),Qn(kt,null,[it("slot",t,a&&a())],c?-2:64)}let r=i[e];r&&r._c&&(r._d=!1),Cr();const n=r&&Hp(r(t)),o=t.key||n&&n.key,l=Qn(kt,{key:(o&&!qi(o)?o:`_${e}`)+(!n&&a?"_fb":"")},n||(a?a():[]),n&&i._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function Hp(i){return i.some(e=>Ua(e)?!(e.type===ht||e.type===kt&&!Hp(e.children)):!0)?i:null}const uc=i=>i?cm(i)?Fo(i):uc(i.parent):null,hr=ut(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>uc(i.parent),$root:i=>uc(i.root),$host:i=>i.ce,$emit:i=>i.emit,$options:i=>jp(i),$forceUpdate:i=>i.f||(i.f=()=>{Nu(i.update)}),$nextTick:i=>i.n||(i.n=Vr.bind(i.proxy)),$watch:i=>Aw.bind(i)}),ll=(i,e)=>i!==Fe&&!i.__isScriptSetup&&He(i,e),iw={get({_:i},e){if(e==="__v_skip")return!0;const{ctx:t,setupState:a,data:s,props:r,accessCache:n,type:o,appContext:l}=i;let c;if(e[0]!=="$"){const f=n[e];if(f!==void 0)switch(f){case 1:return a[e];case 2:return s[e];case 4:return t[e];case 3:return r[e]}else{if(ll(a,e))return n[e]=1,a[e];if(s!==Fe&&He(s,e))return n[e]=2,s[e];if((c=i.propsOptions[0])&&He(c,e))return n[e]=3,r[e];if(t!==Fe&&He(t,e))return n[e]=4,t[e];dc&&(n[e]=0)}}const u=hr[e];let d,h;if(u)return e==="$attrs"&&wt(i.attrs,"get",""),u(i);if((d=o.__cssModules)&&(d=d[e]))return d;if(t!==Fe&&He(t,e))return n[e]=4,t[e];if(h=l.config.globalProperties,He(h,e))return h[e]},set({_:i},e,t){const{data:a,setupState:s,ctx:r}=i;return ll(s,e)?(s[e]=t,!0):a!==Fe&&He(a,e)?(a[e]=t,!0):He(i.props,e)||e[0]==="$"&&e.slice(1)in i?!1:(r[e]=t,!0)},has({_:{data:i,setupState:e,accessCache:t,ctx:a,appContext:s,propsOptions:r,type:n}},o){let l,c;return!!(t[o]||i!==Fe&&o[0]!=="$"&&He(i,o)||ll(e,o)||(l=r[0])&&He(l,o)||He(a,o)||He(hr,o)||He(s.config.globalProperties,o)||(c=n.__cssModules)&&c[o])},defineProperty(i,e,t){return t.get!=null?i._.accessCache[e]=0:He(t,"value")&&this.set(i,e,t.value,null),Reflect.defineProperty(i,e,t)}};function Kn(i){return de(i)?i.reduce((e,t)=>(e[t]=null,e),{}):i}function LI(i,e){return!i||!e?i||e:de(i)&&de(e)?i.concat(e):ut({},Kn(i),Kn(e))}function RI(i){const e=Ki();let t=i();return mc(),Au(t)&&(t=t.catch(a=>{throw Xa(e),a})),[t,()=>Xa(e)]}let dc=!0;function aw(i){const e=jp(i),t=i.proxy,a=i.ctx;dc=!1,e.beforeCreate&&jd(e.beforeCreate,i,"bc");const{data:s,computed:r,methods:n,watch:o,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:f,updated:g,activated:p,deactivated:m,beforeDestroy:b,beforeUnmount:v,destroyed:x,unmounted:k,render:y,renderTracked:A,renderTriggered:w,errorCaptured:S,serverPrefetch:C,expose:E,inheritAttrs:M,components:P,directives:D,filters:L}=e;if(c&&sw(c,a,null),n)for(const F in n){const H=n[F];ve(H)&&(a[F]=H.bind(t))}if(s){const F=s.call(t,t);qe(F)&&(i.data=Di(F))}if(dc=!0,r)for(const F in r){const H=r[F],ie=ve(H)?H.bind(t,t):ve(H.get)?H.get.bind(t,t):Ii,re=!ve(H)&&ve(H.set)?H.set.bind(t):Ii,ae=Xe({get:ie,set:re});Object.defineProperty(a,F,{enumerable:!0,configurable:!0,get:()=>ae.value,set:le=>ae.value=le})}if(o)for(const F in o)Wp(o[F],a,t,F);if(l){const F=ve(l)?l.call(t):l;Reflect.ownKeys(F).forEach(H=>{za(H,F[H])})}u&&jd(u,i,"c");function N(F,H){de(H)?H.forEach(ie=>F(ie.bind(t))):H&&F(H.bind(t))}if(N(Rp,d),N(Fu,h),N(Ky,f),N(Np,g),N(qy,p),N(Gy,m),N(ew,S),N(Qy,A),N(Jy,w),N(zu,v),N(Op,k),N(Zy,C),de(E))if(E.length){const F=i.exposed||(i.exposed={});E.forEach(H=>{Object.defineProperty(F,H,{get:()=>t[H],set:ie=>t[H]=ie,enumerable:!0})})}else i.exposed||(i.exposed={});y&&i.render===Ii&&(i.render=y),M!=null&&(i.inheritAttrs=M),P&&(i.components=P),D&&(i.directives=D),C&&Dp(i)}function sw(i,e,t=Ii){de(i)&&(i=hc(i));for(const a in i){const s=i[a];let r;qe(s)?"default"in s?r=Je(s.from||a,s.default,!0):r=Je(s.from||a):r=Je(s),st(r)?Object.defineProperty(e,a,{enumerable:!0,configurable:!0,get:()=>r.value,set:n=>r.value=n}):e[a]=r}}function jd(i,e,t){pi(de(i)?i.map(a=>a.bind(e.proxy)):i.bind(e.proxy),e,t)}function Wp(i,e,t,a){let s=a.includes(".")?em(t,a):()=>t[a];if(Ze(i)){const r=e[i];ve(r)&&At(s,r)}else if(ve(i))At(s,i.bind(t));else if(qe(i))if(de(i))i.forEach(r=>Wp(r,e,t,a));else{const r=ve(i.handler)?i.handler.bind(t):e[i.handler];ve(r)&&At(s,r,i)}}function jp(i){const e=i.type,{mixins:t,extends:a}=e,{mixins:s,optionsCache:r,config:{optionMergeStrategies:n}}=i.appContext,o=r.get(e);let l;return o?l=o:!s.length&&!t&&!a?l=e:(l={},s.length&&s.forEach(c=>Zn(l,c,n,!0)),Zn(l,e,n)),qe(e)&&r.set(e,l),l}function Zn(i,e,t,a=!1){const{mixins:s,extends:r}=e;r&&Zn(i,r,t,!0),s&&s.forEach(n=>Zn(i,n,t,!0));for(const n in e)if(!(a&&n==="expose")){const o=rw[n]||t&&t[n];i[n]=o?o(i[n],e[n]):e[n]}return i}const rw={data:Vd,props:Yd,emits:Yd,methods:tr,computed:tr,beforeCreate:Pt,created:Pt,beforeMount:Pt,mounted:Pt,beforeUpdate:Pt,updated:Pt,beforeDestroy:Pt,beforeUnmount:Pt,destroyed:Pt,unmounted:Pt,activated:Pt,deactivated:Pt,errorCaptured:Pt,serverPrefetch:Pt,components:tr,directives:tr,watch:ow,provide:Vd,inject:nw};function Vd(i,e){return e?i?function(){return ut(ve(i)?i.call(this,this):i,ve(e)?e.call(this,this):e)}:e:i}function nw(i,e){return tr(hc(i),hc(e))}function hc(i){if(de(i)){const e={};for(let t=0;t<i.length;t++)e[i[t]]=i[t];return e}return i}function Pt(i,e){return i?[...new Set([].concat(i,e))]:e}function tr(i,e){return i?ut(Object.create(null),i,e):e}function Yd(i,e){return i?de(i)&&de(e)?[...new Set([...i,...e])]:ut(Object.create(null),Kn(i),Kn(e??{})):e}function ow(i,e){if(!i)return e;if(!e)return i;const t=ut(Object.create(null),i);for(const a in e)t[a]=Pt(i[a],e[a]);return t}function Vp(){return{app:null,config:{isNativeTag:Vg,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let lw=0;function cw(i,e){return function(a,s=null){ve(a)||(a=ut({},a)),s!=null&&!qe(s)&&(s=null);const r=Vp(),n=new WeakSet,o=[];let l=!1;const c=r.app={_uid:lw++,_component:a,_props:s,_container:null,_context:r,_instance:null,version:Kw,get config(){return r.config},set config(u){},use(u,...d){return n.has(u)||(u&&ve(u.install)?(n.add(u),u.install(c,...d)):ve(u)&&(n.add(u),u(c,...d))),c},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),c},component(u,d){return d?(r.components[u]=d,c):r.components[u]},directive(u,d){return d?(r.directives[u]=d,c):r.directives[u]},mount(u,d,h){if(!l){const f=c._ceVNode||it(a,s);return f.appContext=r,h===!0?h="svg":h===!1&&(h=void 0),i(f,u,h),l=!0,c._container=u,u.__vue_app__=c,Fo(f.component)}},onUnmount(u){o.push(u)},unmount(){l&&(pi(o,c._instance,16),i(null,c._container),delete c._container.__vue_app__)},provide(u,d){return r.provides[u]=d,c},runWithContext(u){const d=Fa;Fa=c;try{return u()}finally{Fa=d}}};return c}}let Fa=null;function za(i,e){if(St){let t=St.provides;const a=St.parent&&St.parent.provides;a===t&&(t=St.provides=Object.create(a)),t[i]=e}}function Je(i,e,t=!1){const a=Ki();if(a||Fa){let s=Fa?Fa._context.provides:a?a.parent==null||a.ce?a.vnode.appContext&&a.vnode.appContext.provides:a.parent.provides:void 0;if(s&&i in s)return s[i];if(arguments.length>1)return t&&ve(e)?e.call(a&&a.proxy):e}}function Yp(){return!!(Ki()||Fa)}const Up={},Xp=()=>Object.create(Up),qp=i=>Object.getPrototypeOf(i)===Up;function uw(i,e,t,a=!1){const s={},r=Xp();i.propsDefaults=Object.create(null),Gp(i,e,s,r);for(const n in i.propsOptions[0])n in s||(s[n]=void 0);t?i.props=a?s:fp(s):i.type.props?i.props=s:i.props=r,i.attrs=r}function dw(i,e,t,a){const{props:s,attrs:r,vnode:{patchFlag:n}}=i,o=Pe(s),[l]=i.propsOptions;let c=!1;if((a||n>0)&&!(n&16)){if(n&8){const u=i.vnode.dynamicProps;for(let d=0;d<u.length;d++){let h=u[d];if(No(i.emitsOptions,h))continue;const f=e[h];if(l)if(He(r,h))f!==r[h]&&(r[h]=f,c=!0);else{const g=Ut(h);s[g]=fc(l,o,g,f,i,!1)}else f!==r[h]&&(r[h]=f,c=!0)}}}else{Gp(i,e,s,r)&&(c=!0);let u;for(const d in o)(!e||!He(e,d)&&((u=Gi(d))===d||!He(e,u)))&&(l?t&&(t[d]!==void 0||t[u]!==void 0)&&(s[d]=fc(l,o,d,void 0,i,!0)):delete s[d]);if(r!==o)for(const d in r)(!e||!He(e,d))&&(delete r[d],c=!0)}c&&Bi(i.attrs,"set","")}function Gp(i,e,t,a){const[s,r]=i.propsOptions;let n=!1,o;if(e)for(let l in e){if(or(l))continue;const c=e[l];let u;s&&He(s,u=Ut(l))?!r||!r.includes(u)?t[u]=c:(o||(o={}))[u]=c:No(i.emitsOptions,l)||(!(l in a)||c!==a[l])&&(a[l]=c,n=!0)}if(r){const l=Pe(t),c=o||Fe;for(let u=0;u<r.length;u++){const d=r[u];t[d]=fc(s,l,d,c[d],i,!He(c,d))}}return n}function fc(i,e,t,a,s,r){const n=i[t];if(n!=null){const o=He(n,"default");if(o&&a===void 0){const l=n.default;if(n.type!==Function&&!n.skipFactory&&ve(l)){const{propsDefaults:c}=s;if(t in c)a=c[t];else{const u=Xa(s);a=c[t]=l.call(null,e),u()}}else a=l;s.ce&&s.ce._setProp(t,a)}n[0]&&(r&&!o?a=!1:n[1]&&(a===""||a===Gi(t))&&(a=!0))}return a}const hw=new WeakMap;function $p(i,e,t=!1){const a=t?hw:e.propsCache,s=a.get(i);if(s)return s;const r=i.props,n={},o=[];let l=!1;if(!ve(i)){const u=d=>{l=!0;const[h,f]=$p(d,e,!0);ut(n,h),f&&o.push(...f)};!t&&e.mixins.length&&e.mixins.forEach(u),i.extends&&u(i.extends),i.mixins&&i.mixins.forEach(u)}if(!r&&!l)return qe(i)&&a.set(i,bs),bs;if(de(r))for(let u=0;u<r.length;u++){const d=Ut(r[u]);Ud(d)&&(n[d]=Fe)}else if(r)for(const u in r){const d=Ut(u);if(Ud(d)){const h=r[u],f=n[d]=de(h)||ve(h)?{type:h}:ut({},h),g=f.type;let p=!1,m=!0;if(de(g))for(let b=0;b<g.length;++b){const v=g[b],x=ve(v)&&v.name;if(x==="Boolean"){p=!0;break}else x==="String"&&(m=!1)}else p=ve(g)&&g.name==="Boolean";f[0]=p,f[1]=m,(p||He(f,"default"))&&o.push(d)}}const c=[n,o];return qe(i)&&a.set(i,c),c}function Ud(i){return i[0]!=="$"&&!or(i)}const Bu=i=>i==="_"||i==="_ctx"||i==="$stable",Hu=i=>de(i)?i.map(ci):[ci(i)],fw=(i,e,t)=>{if(e._n)return e;const a=kp((...s)=>Hu(e(...s)),t);return a._c=!1,a},Kp=(i,e,t)=>{const a=i._ctx;for(const s in i){if(Bu(s))continue;const r=i[s];if(ve(r))e[s]=fw(s,r,a);else if(r!=null){const n=Hu(r);e[s]=()=>n}}},Zp=(i,e)=>{const t=Hu(e);i.slots.default=()=>t},Jp=(i,e,t)=>{for(const a in e)(t||!Bu(a))&&(i[a]=e[a])},gw=(i,e,t)=>{const a=i.slots=Xp();if(i.vnode.shapeFlag&32){const s=e._;s?(Jp(a,e,t),t&&qg(a,"_",s,!0)):Kp(e,a)}else e&&Zp(i,e)},pw=(i,e,t)=>{const{vnode:a,slots:s}=i;let r=!0,n=Fe;if(a.shapeFlag&32){const o=e._;o?t&&o===1?r=!1:Jp(s,e,t):(r=!e.$stable,Kp(e,s)),n=e}else e&&(Zp(i,e),n={default:1});if(r)for(const o in s)!Bu(o)&&n[o]==null&&delete s[o]},_t=Ow;function mw(i){return bw(i)}function bw(i,e){const t=Co();t.__VUE__=!0;const{insert:a,remove:s,patchProp:r,createElement:n,createText:o,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:f=Ii,insertStaticContent:g}=i,p=(_,I,R,W=null,U=null,V=null,se=void 0,Z=null,K=!!I.dynamicChildren)=>{if(_===I)return;_&&!_i(_,I)&&(W=O(_),le(_,U,V,!0),_=null),I.patchFlag===-2&&(K=!1,I.dynamicChildren=null);const{type:q,ref:me,shapeFlag:ne}=I;switch(q){case Oo:m(_,I,R,W);break;case ht:b(_,I,R,W);break;case ul:_==null&&v(I,R,W,se);break;case kt:P(_,I,R,W,U,V,se,Z,K);break;default:ne&1?y(_,I,R,W,U,V,se,Z,K):ne&6?D(_,I,R,W,U,V,se,Z,K):(ne&64||ne&128)&&q.process(_,I,R,W,U,V,se,Z,K,J)}me!=null&&U?dr(me,_&&_.ref,V,I||_,!I):me==null&&_&&_.ref!=null&&dr(_.ref,null,V,_,!0)},m=(_,I,R,W)=>{if(_==null)a(I.el=o(I.children),R,W);else{const U=I.el=_.el;I.children!==_.children&&c(U,I.children)}},b=(_,I,R,W)=>{_==null?a(I.el=l(I.children||""),R,W):I.el=_.el},v=(_,I,R,W)=>{[_.el,_.anchor]=g(_.children,I,R,W,_.el,_.anchor)},x=({el:_,anchor:I},R,W)=>{let U;for(;_&&_!==I;)U=h(_),a(_,R,W),_=U;a(I,R,W)},k=({el:_,anchor:I})=>{let R;for(;_&&_!==I;)R=h(_),s(_),_=R;s(I)},y=(_,I,R,W,U,V,se,Z,K)=>{if(I.type==="svg"?se="svg":I.type==="math"&&(se="mathml"),_==null)A(I,R,W,U,V,se,Z,K);else{const q=_.el&&_.el._isVueCE?_.el:null;try{q&&q._beginPatch(),C(_,I,U,V,se,Z,K)}finally{q&&q._endPatch()}}},A=(_,I,R,W,U,V,se,Z)=>{let K,q;const{props:me,shapeFlag:ne,transition:he,dirs:ke}=_;if(K=_.el=n(_.type,V,me&&me.is,me),ne&8?u(K,_.children):ne&16&&S(_.children,K,null,W,U,cl(_,V),se,Z),ke&&xa(_,null,W,"created"),w(K,_,_.scopeId,se,W),me){for(const Ge in me)Ge!=="value"&&!or(Ge)&&r(K,Ge,null,me[Ge],V,W);"value"in me&&r(K,"value",null,me.value,V),(q=me.onVnodeBeforeMount)&&ki(q,W,_)}ke&&xa(_,null,W,"beforeMount");const Ie=vw(U,he);Ie&&he.beforeEnter(K),a(K,I,R),((q=me&&me.onVnodeMounted)||Ie||ke)&&_t(()=>{q&&ki(q,W,_),Ie&&he.enter(K),ke&&xa(_,null,W,"mounted")},U)},w=(_,I,R,W,U)=>{if(R&&f(_,R),W)for(let V=0;V<W.length;V++)f(_,W[V]);if(U){let V=U.subTree;if(I===V||am(V.type)&&(V.ssContent===I||V.ssFallback===I)){const se=U.vnode;w(_,se,se.scopeId,se.slotScopeIds,U.parent)}}},S=(_,I,R,W,U,V,se,Z,K=0)=>{for(let q=K;q<_.length;q++){const me=_[q]=Z?sa(_[q]):ci(_[q]);p(null,me,I,R,W,U,V,se,Z)}},C=(_,I,R,W,U,V,se)=>{const Z=I.el=_.el;let{patchFlag:K,dynamicChildren:q,dirs:me}=I;K|=_.patchFlag&16;const ne=_.props||Fe,he=I.props||Fe;let ke;if(R&&ya(R,!1),(ke=he.onVnodeBeforeUpdate)&&ki(ke,R,I,_),me&&xa(I,_,R,"beforeUpdate"),R&&ya(R,!0),(ne.innerHTML&&he.innerHTML==null||ne.textContent&&he.textContent==null)&&u(Z,""),q?E(_.dynamicChildren,q,Z,R,W,cl(I,U),V):se||H(_,I,Z,null,R,W,cl(I,U),V,!1),K>0){if(K&16)M(Z,ne,he,R,U);else if(K&2&&ne.class!==he.class&&r(Z,"class",null,he.class,U),K&4&&r(Z,"style",ne.style,he.style,U),K&8){const Ie=I.dynamicProps;for(let Ge=0;Ge<Ie.length;Ge++){const je=Ie[Ge],Ft=ne[je],zt=he[je];(zt!==Ft||je==="value")&&r(Z,je,Ft,zt,U,R)}}K&1&&_.children!==I.children&&u(Z,I.children)}else!se&&q==null&&M(Z,ne,he,R,U);((ke=he.onVnodeUpdated)||me)&&_t(()=>{ke&&ki(ke,R,I,_),me&&xa(I,_,R,"updated")},W)},E=(_,I,R,W,U,V,se)=>{for(let Z=0;Z<I.length;Z++){const K=_[Z],q=I[Z],me=K.el&&(K.type===kt||!_i(K,q)||K.shapeFlag&198)?d(K.el):R;p(K,q,me,null,W,U,V,se,!0)}},M=(_,I,R,W,U)=>{if(I!==R){if(I!==Fe)for(const V in I)!or(V)&&!(V in R)&&r(_,V,I[V],null,U,W);for(const V in R){if(or(V))continue;const se=R[V],Z=I[V];se!==Z&&V!=="value"&&r(_,V,Z,se,U,W)}"value"in R&&r(_,"value",I.value,R.value,U)}},P=(_,I,R,W,U,V,se,Z,K)=>{const q=I.el=_?_.el:o(""),me=I.anchor=_?_.anchor:o("");let{patchFlag:ne,dynamicChildren:he,slotScopeIds:ke}=I;ke&&(Z=Z?Z.concat(ke):ke),_==null?(a(q,R,W),a(me,R,W),S(I.children||[],R,me,U,V,se,Z,K)):ne>0&&ne&64&&he&&_.dynamicChildren?(E(_.dynamicChildren,he,R,U,V,se,Z),(I.key!=null||U&&I===U.subTree)&&Wu(_,I,!0)):H(_,I,R,me,U,V,se,Z,K)},D=(_,I,R,W,U,V,se,Z,K)=>{I.slotScopeIds=Z,_==null?I.shapeFlag&512?U.ctx.activate(I,R,W,se,K):L(I,R,W,U,V,se,K):B(_,I,K)},L=(_,I,R,W,U,V,se)=>{const Z=_.component=Vw(_,W,U);if(To(_)&&(Z.ctx.renderer=J),Yw(Z,!1,se),Z.asyncDep){if(U&&U.registerDep(Z,N,se),!_.el){const K=Z.subTree=it(ht);b(null,K,I,R),_.placeholder=K.el}}else N(Z,_,I,R,U,V,se)},B=(_,I,R)=>{const W=I.component=_.component;if(_w(_,I,R))if(W.asyncDep&&!W.asyncResolved){F(W,I,R);return}else W.next=I,W.update();else I.el=_.el,W.vnode=I},N=(_,I,R,W,U,V,se)=>{const Z=()=>{if(_.isMounted){let{next:ne,bu:he,u:ke,parent:Ie,vnode:Ge}=_;{const yi=Qp(_);if(yi){ne&&(ne.el=Ge.el,F(_,ne,se)),yi.asyncDep.then(()=>{_.isUnmounted||Z()});return}}let je=ne,Ft;ya(_,!1),ne?(ne.el=Ge.el,F(_,ne,se)):ne=Ge,he&&Pn(he),(Ft=ne.props&&ne.props.onVnodeBeforeUpdate)&&ki(Ft,Ie,ne,Ge),ya(_,!0);const zt=qd(_),xi=_.subTree;_.subTree=zt,p(xi,zt,d(xi.el),O(xi),_,U,V),ne.el=zt.el,je===null&&ju(_,zt.el),ke&&_t(ke,U),(Ft=ne.props&&ne.props.onVnodeUpdated)&&_t(()=>ki(Ft,Ie,ne,Ge),U)}else{let ne;const{el:he,props:ke}=I,{bm:Ie,m:Ge,parent:je,root:Ft,type:zt}=_,xi=ys(I);ya(_,!1),Ie&&Pn(Ie),!xi&&(ne=ke&&ke.onVnodeBeforeMount)&&ki(ne,je,I),ya(_,!0);{Ft.ce&&Ft.ce._def.shadowRoot!==!1&&Ft.ce._injectChildStyle(zt);const yi=_.subTree=qd(_);p(null,yi,R,W,_,U,V),I.el=yi.el}if(Ge&&_t(Ge,U),!xi&&(ne=ke&&ke.onVnodeMounted)){const yi=I;_t(()=>ki(ne,je,yi),U)}(I.shapeFlag&256||je&&ys(je.vnode)&&je.vnode.shapeFlag&256)&&_.a&&_t(_.a,U),_.isMounted=!0,I=R=W=null}};_.scope.on();const K=_.effect=new Qg(Z);_.scope.off();const q=_.update=K.run.bind(K),me=_.job=K.runIfDirty.bind(K);me.i=_,me.id=_.uid,K.scheduler=()=>Nu(me),ya(_,!0),q()},F=(_,I,R)=>{I.component=_;const W=_.vnode.props;_.vnode=I,_.next=null,dw(_,I.props,W,R),pw(_,I.children,R),Vi(),Nd(_),Yi()},H=(_,I,R,W,U,V,se,Z,K=!1)=>{const q=_&&_.children,me=_?_.shapeFlag:0,ne=I.children,{patchFlag:he,shapeFlag:ke}=I;if(he>0){if(he&128){re(q,ne,R,W,U,V,se,Z,K);return}else if(he&256){ie(q,ne,R,W,U,V,se,Z,K);return}}ke&8?(me&16&&be(q,U,V),ne!==q&&u(R,ne)):me&16?ke&16?re(q,ne,R,W,U,V,se,Z,K):be(q,U,V,!0):(me&8&&u(R,""),ke&16&&S(ne,R,W,U,V,se,Z,K))},ie=(_,I,R,W,U,V,se,Z,K)=>{_=_||bs,I=I||bs;const q=_.length,me=I.length,ne=Math.min(q,me);let he;for(he=0;he<ne;he++){const ke=I[he]=K?sa(I[he]):ci(I[he]);p(_[he],ke,R,null,U,V,se,Z,K)}q>me?be(_,U,V,!0,!1,ne):S(I,R,W,U,V,se,Z,K,ne)},re=(_,I,R,W,U,V,se,Z,K)=>{let q=0;const me=I.length;let ne=_.length-1,he=me-1;for(;q<=ne&&q<=he;){const ke=_[q],Ie=I[q]=K?sa(I[q]):ci(I[q]);if(_i(ke,Ie))p(ke,Ie,R,null,U,V,se,Z,K);else break;q++}for(;q<=ne&&q<=he;){const ke=_[ne],Ie=I[he]=K?sa(I[he]):ci(I[he]);if(_i(ke,Ie))p(ke,Ie,R,null,U,V,se,Z,K);else break;ne--,he--}if(q>ne){if(q<=he){const ke=he+1,Ie=ke<me?I[ke].el:W;for(;q<=he;)p(null,I[q]=K?sa(I[q]):ci(I[q]),R,Ie,U,V,se,Z,K),q++}}else if(q>he)for(;q<=ne;)le(_[q],U,V,!0),q++;else{const ke=q,Ie=q,Ge=new Map;for(q=Ie;q<=he;q++){const Xt=I[q]=K?sa(I[q]):ci(I[q]);Xt.key!=null&&Ge.set(Xt.key,q)}let je,Ft=0;const zt=he-Ie+1;let xi=!1,yi=0;const qs=new Array(zt);for(q=0;q<zt;q++)qs[q]=0;for(q=ke;q<=ne;q++){const Xt=_[q];if(Ft>=zt){le(Xt,U,V,!0);continue}let wi;if(Xt.key!=null)wi=Ge.get(Xt.key);else for(je=Ie;je<=he;je++)if(qs[je-Ie]===0&&_i(Xt,I[je])){wi=je;break}wi===void 0?le(Xt,U,V,!0):(qs[wi-Ie]=q+1,wi>=yi?yi=wi:xi=!0,p(Xt,I[wi],R,null,U,V,se,Z,K),Ft++)}const _d=xi?xw(qs):bs;for(je=_d.length-1,q=zt-1;q>=0;q--){const Xt=Ie+q,wi=I[Xt],Id=I[Xt+1],Td=Xt+1<me?Id.el||Id.placeholder:W;qs[q]===0?p(null,wi,R,Td,U,V,se,Z,K):xi&&(je<0||q!==_d[je]?ae(wi,R,Td,2):je--)}}},ae=(_,I,R,W,U=null)=>{const{el:V,type:se,transition:Z,children:K,shapeFlag:q}=_;if(q&6){ae(_.component.subTree,I,R,W);return}if(q&128){_.suspense.move(I,R,W);return}if(q&64){se.move(_,I,R,J);return}if(se===kt){a(V,I,R);for(let ne=0;ne<K.length;ne++)ae(K[ne],I,R,W);a(_.anchor,I,R);return}if(se===ul){x(_,I,R);return}if(W!==2&&q&1&&Z)if(W===0)Z.beforeEnter(V),a(V,I,R),_t(()=>Z.enter(V),U);else{const{leave:ne,delayLeave:he,afterLeave:ke}=Z,Ie=()=>{_.ctx.isUnmounted?s(V):a(V,I,R)},Ge=()=>{V._isLeaving&&V[zi](!0),ne(V,()=>{Ie(),ke&&ke()})};he?he(V,Ie,Ge):Ge()}else a(V,I,R)},le=(_,I,R,W=!1,U=!1)=>{const{type:V,props:se,ref:Z,children:K,dynamicChildren:q,shapeFlag:me,patchFlag:ne,dirs:he,cacheIndex:ke}=_;if(ne===-2&&(U=!1),Z!=null&&(Vi(),dr(Z,null,R,_,!0),Yi()),ke!=null&&(I.renderCache[ke]=void 0),me&256){I.ctx.deactivate(_);return}const Ie=me&1&&he,Ge=!ys(_);let je;if(Ge&&(je=se&&se.onVnodeBeforeUnmount)&&ki(je,I,_),me&6)Re(_.component,R,W);else{if(me&128){_.suspense.unmount(R,W);return}Ie&&xa(_,null,I,"beforeUnmount"),me&64?_.type.remove(_,I,R,J,W):q&&!q.hasOnce&&(V!==kt||ne>0&&ne&64)?be(q,I,R,!1,!0):(V===kt&&ne&384||!U&&me&16)&&be(K,I,R),W&&Ee(_)}(Ge&&(je=se&&se.onVnodeUnmounted)||Ie)&&_t(()=>{je&&ki(je,I,_),Ie&&xa(_,null,I,"unmounted")},R)},Ee=_=>{const{type:I,el:R,anchor:W,transition:U}=_;if(I===kt){pe(R,W);return}if(I===ul){k(_);return}const V=()=>{s(R),U&&!U.persisted&&U.afterLeave&&U.afterLeave()};if(_.shapeFlag&1&&U&&!U.persisted){const{leave:se,delayLeave:Z}=U,K=()=>se(R,V);Z?Z(_.el,V,K):K()}else V()},pe=(_,I)=>{let R;for(;_!==I;)R=h(_),s(_),_=R;s(I)},Re=(_,I,R)=>{const{bum:W,scope:U,job:V,subTree:se,um:Z,m:K,a:q}=_;Xd(K),Xd(q),W&&Pn(W),U.stop(),V&&(V.flags|=8,le(se,_,I,R)),Z&&_t(Z,I),_t(()=>{_.isUnmounted=!0},I)},be=(_,I,R,W=!1,U=!1,V=0)=>{for(let se=V;se<_.length;se++)le(_[se],I,R,W,U)},O=_=>{if(_.shapeFlag&6)return O(_.component.subTree);if(_.shapeFlag&128)return _.suspense.next();const I=h(_.anchor||_.el),R=I&&I[Ap];return R?h(R):I};let X=!1;const G=(_,I,R)=>{_==null?I._vnode&&le(I._vnode,null,null,!0):p(I._vnode||null,_,I,null,null,null,R),I._vnode=_,X||(X=!0,Nd(),xp(),X=!1)},J={p,um:le,m:ae,r:Ee,mt:L,mc:S,pc:H,pbc:E,n:O,o:i};return{render:G,hydrate:void 0,createApp:cw(G)}}function cl({type:i,props:e},t){return t==="svg"&&i==="foreignObject"||t==="mathml"&&i==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:t}function ya({effect:i,job:e},t){t?(i.flags|=32,e.flags|=4):(i.flags&=-33,e.flags&=-5)}function vw(i,e){return(!i||i&&!i.pendingBranch)&&e&&!e.persisted}function Wu(i,e,t=!1){const a=i.children,s=e.children;if(de(a)&&de(s))for(let r=0;r<a.length;r++){const n=a[r];let o=s[r];o.shapeFlag&1&&!o.dynamicChildren&&((o.patchFlag<=0||o.patchFlag===32)&&(o=s[r]=sa(s[r]),o.el=n.el),!t&&o.patchFlag!==-2&&Wu(n,o)),o.type===Oo&&o.patchFlag!==-1&&(o.el=n.el),o.type===ht&&!o.el&&(o.el=n.el)}}function xw(i){const e=i.slice(),t=[0];let a,s,r,n,o;const l=i.length;for(a=0;a<l;a++){const c=i[a];if(c!==0){if(s=t[t.length-1],i[s]<c){e[a]=s,t.push(a);continue}for(r=0,n=t.length-1;r<n;)o=r+n>>1,i[t[o]]<c?r=o+1:n=o;c<i[t[r]]&&(r>0&&(e[a]=t[r-1]),t[r]=a)}}for(r=t.length,n=t[r-1];r-- >0;)t[r]=n,n=e[n];return t}function Qp(i){const e=i.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Qp(e)}function Xd(i){if(i)for(let e=0;e<i.length;e++)i[e].flags|=8}const yw=Symbol.for("v-scx"),ww=()=>Je(yw);function Lo(i,e){return Ro(i,null,e)}function kw(i,e){return Ro(i,null,{flush:"sync"})}function At(i,e,t){return Ro(i,e,t)}function Ro(i,e,t=Fe){const{immediate:a,deep:s,flush:r,once:n}=t,o=ut({},t),l=e&&a||!e&&r!=="post";let c;if(Er){if(r==="sync"){const f=ww();c=f.__watcherHandles||(f.__watcherHandles=[])}else if(!l){const f=()=>{};return f.stop=Ii,f.resume=Ii,f.pause=Ii,f}}const u=St;o.call=(f,g,p)=>pi(f,u,g,p);let d=!1;r==="post"?o.scheduler=f=>{_t(f,u&&u.suspense)}:r!=="sync"&&(d=!0,o.scheduler=(f,g)=>{g?f():Nu(f)}),o.augmentJob=f=>{e&&(f.flags|=4),d&&(f.flags|=2,u&&(f.id=u.uid,f.i=u))};const h=Wy(i,e,o);return Er&&(c?c.push(h):l&&h()),h}function Aw(i,e,t){const a=this.proxy,s=Ze(i)?i.includes(".")?em(a,i):()=>a[i]:i.bind(a,a);let r;ve(e)?r=e:(r=e.handler,t=e);const n=Xa(this),o=Ro(s,r.bind(a),t);return n(),o}function em(i,e){const t=e.split(".");return()=>{let a=i;for(let s=0;s<t.length&&a;s++)a=a[t[s]];return a}}function NI(i,e,t=Fe){const a=Ki(),s=Ut(e),r=Gi(e),n=tm(i,s),o=Ny((l,c)=>{let u,d=Fe,h;return kw(()=>{const f=i[s];Ht(u,f)&&(u=f,c())}),{get(){return l(),t.get?t.get(u):u},set(f){const g=t.set?t.set(f):f;if(!Ht(g,u)&&!(d!==Fe&&Ht(f,d)))return;const p=a.vnode.props;p&&(e in p||s in p||r in p)&&(`onUpdate:${e}`in p||`onUpdate:${s}`in p||`onUpdate:${r}`in p)||(u=f,c()),a.emit(`update:${e}`,g),Ht(f,g)&&Ht(f,d)&&!Ht(g,h)&&c(),d=f,h=g}}});return o[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?n||Fe:o,done:!1}:{done:!0}}}},o}const tm=(i,e)=>e==="modelValue"||e==="model-value"?i.modelModifiers:i[`${e}Modifiers`]||i[`${Ut(e)}Modifiers`]||i[`${Gi(e)}Modifiers`];function Sw(i,e,...t){if(i.isUnmounted)return;const a=i.vnode.props||Fe;let s=t;const r=e.startsWith("update:"),n=r&&tm(a,e.slice(7));n&&(n.trim&&(s=t.map(u=>Ze(u)?u.trim():u)),n.number&&(s=t.map(Cu)));let o,l=a[o=il(e)]||a[o=il(Ut(e))];!l&&r&&(l=a[o=il(Gi(e))]),l&&pi(l,i,6,s);const c=a[o+"Once"];if(c){if(!i.emitted)i.emitted={};else if(i.emitted[o])return;i.emitted[o]=!0,pi(c,i,6,s)}}const Cw=new WeakMap;function im(i,e,t=!1){const a=t?Cw:e.emitsCache,s=a.get(i);if(s!==void 0)return s;const r=i.emits;let n={},o=!1;if(!ve(i)){const l=c=>{const u=im(c,e,!0);u&&(o=!0,ut(n,u))};!t&&e.mixins.length&&e.mixins.forEach(l),i.extends&&l(i.extends),i.mixins&&i.mixins.forEach(l)}return!r&&!o?(qe(i)&&a.set(i,null),null):(de(r)?r.forEach(l=>n[l]=null):ut(n,r),qe(i)&&a.set(i,n),n)}function No(i,e){return!i||!ko(e)?!1:(e=e.slice(2).replace(/Once$/,""),He(i,e[0].toLowerCase()+e.slice(1))||He(i,Gi(e))||He(i,e))}function qd(i){const{type:e,vnode:t,proxy:a,withProxy:s,propsOptions:[r],slots:n,attrs:o,emit:l,render:c,renderCache:u,props:d,data:h,setupState:f,ctx:g,inheritAttrs:p}=i,m=Gn(i);let b,v;try{if(t.shapeFlag&4){const k=s||a,y=k;b=ci(c.call(y,k,u,d,f,h,g)),v=o}else{const k=e;b=ci(k.length>1?k(d,{attrs:o,slots:n,emit:l}):k(d,null)),v=e.props?o:Mw(o)}}catch(k){fr.length=0,jr(k,i,1),b=it(ht)}let x=b;if(v&&p!==!1){const k=Object.keys(v),{shapeFlag:y}=x;k.length&&y&7&&(r&&k.some(wu)&&(v=Pw(v,r)),x=pa(x,v,!1,!0))}return t.dirs&&(x=pa(x,null,!1,!0),x.dirs=x.dirs?x.dirs.concat(t.dirs):t.dirs),t.transition&&Ya(x,t.transition),b=x,Gn(m),b}function Ew(i,e=!0){let t;for(let a=0;a<i.length;a++){const s=i[a];if(Ua(s)){if(s.type!==ht||s.children==="v-if"){if(t)return;t=s}}else return}return t}const Mw=i=>{let e;for(const t in i)(t==="class"||t==="style"||ko(t))&&((e||(e={}))[t]=i[t]);return e},Pw=(i,e)=>{const t={};for(const a in i)(!wu(a)||!(a.slice(9)in e))&&(t[a]=i[a]);return t};function _w(i,e,t){const{props:a,children:s,component:r}=i,{props:n,children:o,patchFlag:l}=e,c=r.emitsOptions;if(e.dirs||e.transition)return!0;if(t&&l>=0){if(l&1024)return!0;if(l&16)return a?Gd(a,n,c):!!n;if(l&8){const u=e.dynamicProps;for(let d=0;d<u.length;d++){const h=u[d];if(n[h]!==a[h]&&!No(c,h))return!0}}}else return(s||o)&&(!o||!o.$stable)?!0:a===n?!1:a?n?Gd(a,n,c):!0:!!n;return!1}function Gd(i,e,t){const a=Object.keys(e);if(a.length!==Object.keys(i).length)return!0;for(let s=0;s<a.length;s++){const r=a[s];if(e[r]!==i[r]&&!No(t,r))return!0}return!1}function ju({vnode:i,parent:e},t){for(;e;){const a=e.subTree;if(a.suspense&&a.suspense.activeBranch===i&&(a.el=i.el),a===i)(i=e.vnode).el=t,e=e.parent;else break}}const am=i=>i.__isSuspense;let gc=0;const Iw={name:"Suspense",__isSuspense:!0,process(i,e,t,a,s,r,n,o,l,c){if(i==null)Dw(e,t,a,s,r,n,o,l,c);else{if(r&&r.deps>0&&!i.suspense.isInFallback){e.suspense=i.suspense,e.suspense.vnode=e,e.el=i.el;return}Lw(i,e,t,a,s,n,o,l,c)}},hydrate:Rw,normalize:Nw},Tw=Iw;function Sr(i,e){const t=i.props&&i.props[e];ve(t)&&t()}function Dw(i,e,t,a,s,r,n,o,l){const{p:c,o:{createElement:u}}=l,d=u("div"),h=i.suspense=sm(i,s,a,e,d,t,r,n,o,l);c(null,h.pendingBranch=i.ssContent,d,null,a,h,r,n),h.deps>0?(Sr(i,"onPending"),Sr(i,"onFallback"),c(null,i.ssFallback,e,t,a,null,r,n),ws(h,i.ssFallback)):h.resolve(!1,!0)}function Lw(i,e,t,a,s,r,n,o,{p:l,um:c,o:{createElement:u}}){const d=e.suspense=i.suspense;d.vnode=e,e.el=i.el;const h=e.ssContent,f=e.ssFallback,{activeBranch:g,pendingBranch:p,isInFallback:m,isHydrating:b}=d;if(p)d.pendingBranch=h,_i(p,h)?(l(p,h,d.hiddenContainer,null,s,d,r,n,o),d.deps<=0?d.resolve():m&&(b||(l(g,f,t,a,s,null,r,n,o),ws(d,f)))):(d.pendingId=gc++,b?(d.isHydrating=!1,d.activeBranch=p):c(p,s,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),m?(l(null,h,d.hiddenContainer,null,s,d,r,n,o),d.deps<=0?d.resolve():(l(g,f,t,a,s,null,r,n,o),ws(d,f))):g&&_i(g,h)?(l(g,h,t,a,s,d,r,n,o),d.resolve(!0)):(l(null,h,d.hiddenContainer,null,s,d,r,n,o),d.deps<=0&&d.resolve()));else if(g&&_i(g,h))l(g,h,t,a,s,d,r,n,o),ws(d,h);else if(Sr(e,"onPending"),d.pendingBranch=h,h.shapeFlag&512?d.pendingId=h.component.suspenseId:d.pendingId=gc++,l(null,h,d.hiddenContainer,null,s,d,r,n,o),d.deps<=0)d.resolve();else{const{timeout:v,pendingId:x}=d;v>0?setTimeout(()=>{d.pendingId===x&&d.fallback(f)},v):v===0&&d.fallback(f)}}function sm(i,e,t,a,s,r,n,o,l,c,u=!1){const{p:d,m:h,um:f,n:g,o:{parentNode:p,remove:m}}=c;let b;const v=Fw(i);v&&e&&e.pendingBranch&&(b=e.pendingId,e.deps++);const x=i.props?Gg(i.props.timeout):void 0,k=r,y={vnode:i,parent:e,parentComponent:t,namespace:n,container:a,hiddenContainer:s,deps:0,pendingId:gc++,timeout:typeof x=="number"?x:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(A=!1,w=!1){const{vnode:S,activeBranch:C,pendingBranch:E,pendingId:M,effects:P,parentComponent:D,container:L,isInFallback:B}=y;let N=!1;y.isHydrating?y.isHydrating=!1:A||(N=C&&E.transition&&E.transition.mode==="out-in",N&&(C.transition.afterLeave=()=>{M===y.pendingId&&(h(E,L,r===k?g(C):r,0),lc(P),B&&S.ssFallback&&(S.ssFallback.el=null))}),C&&(p(C.el)===L&&(r=g(C)),f(C,D,y,!0),!N&&B&&S.ssFallback&&(S.ssFallback.el=null)),N||h(E,L,r,0)),ws(y,E),y.pendingBranch=null,y.isInFallback=!1;let F=y.parent,H=!1;for(;F;){if(F.pendingBranch){F.effects.push(...P),H=!0;break}F=F.parent}!H&&!N&&lc(P),y.effects=[],v&&e&&e.pendingBranch&&b===e.pendingId&&(e.deps--,e.deps===0&&!w&&e.resolve()),Sr(S,"onResolve")},fallback(A){if(!y.pendingBranch)return;const{vnode:w,activeBranch:S,parentComponent:C,container:E,namespace:M}=y;Sr(w,"onFallback");const P=g(S),D=()=>{y.isInFallback&&(d(null,A,E,P,C,null,M,o,l),ws(y,A))},L=A.transition&&A.transition.mode==="out-in";L&&(S.transition.afterLeave=D),y.isInFallback=!0,f(S,C,null,!0),L||D()},move(A,w,S){y.activeBranch&&h(y.activeBranch,A,w,S),y.container=A},next(){return y.activeBranch&&g(y.activeBranch)},registerDep(A,w,S){const C=!!y.pendingBranch;C&&y.deps++;const E=A.vnode.el;A.asyncDep.catch(M=>{jr(M,A,0)}).then(M=>{if(A.isUnmounted||y.isUnmounted||y.pendingId!==A.suspenseId)return;A.asyncResolved=!0;const{vnode:P}=A;bc(A,M),E&&(P.el=E);const D=!E&&A.subTree.el;w(A,P,p(E||A.subTree.el),E?null:g(A.subTree),y,n,S),D&&(P.placeholder=null,m(D)),ju(A,P.el),C&&--y.deps===0&&y.resolve()})},unmount(A,w){y.isUnmounted=!0,y.activeBranch&&f(y.activeBranch,t,A,w),y.pendingBranch&&f(y.pendingBranch,t,A,w)}};return y}function Rw(i,e,t,a,s,r,n,o,l){const c=e.suspense=sm(e,a,t,i.parentNode,document.createElement("div"),null,s,r,n,o,!0),u=l(i,c.pendingBranch=e.ssContent,t,c,r,n);return c.deps===0&&c.resolve(!1,!0),u}function Nw(i){const{shapeFlag:e,children:t}=i,a=e&32;i.ssContent=$d(a?t.default:t),i.ssFallback=a?$d(t.fallback):it(ht)}function $d(i){let e;if(ve(i)){const t=Cs&&i._c;t&&(i._d=!1,Cr()),i=i(),t&&(i._d=!0,e=jt,rm())}return de(i)&&(i=Ew(i)),i=ci(i),e&&!i.dynamicChildren&&(i.dynamicChildren=e.filter(t=>t!==i)),i}function Ow(i,e){e&&e.pendingBranch?de(i)?e.effects.push(...i):e.effects.push(i):lc(i)}function ws(i,e){i.activeBranch=e;const{vnode:t,parentComponent:a}=i;let s=e.el;for(;!s&&e.component;)e=e.component.subTree,s=e.el;t.el=s,a&&a.subTree===t&&(a.vnode.el=s,ju(a,s))}function Fw(i){const e=i.props&&i.props.suspensible;return e!=null&&e!==!1}const kt=Symbol.for("v-fgt"),Oo=Symbol.for("v-txt"),ht=Symbol.for("v-cmt"),ul=Symbol.for("v-stc"),fr=[];let jt=null;function Cr(i=!1){fr.push(jt=i?null:[])}function rm(){fr.pop(),jt=fr[fr.length-1]||null}let Cs=1;function Jn(i,e=!1){Cs+=i,i<0&&jt&&e&&(jt.hasOnce=!0)}function nm(i){return i.dynamicChildren=Cs>0?jt||bs:null,rm(),Cs>0&&jt&&jt.push(i),i}function OI(i,e,t,a,s,r){return nm(gs(i,e,t,a,s,r,!0))}function Qn(i,e,t,a,s){return nm(it(i,e,t,a,s,!0))}function Ua(i){return i?i.__v_isVNode===!0:!1}function _i(i,e){return i.type===e.type&&i.key===e.key}const om=({key:i})=>i??null,In=({ref:i,ref_key:e,ref_for:t})=>(typeof i=="number"&&(i=""+i),i!=null?Ze(i)||st(i)||ve(i)?{i:mt,r:i,k:e,f:!!t}:i:null);function gs(i,e=null,t=null,a=0,s=null,r=i===kt?0:1,n=!1,o=!1){const l={__v_isVNode:!0,__v_skip:!0,type:i,props:e,key:e&&om(e),ref:e&&In(e),scopeId:wp,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:a,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:mt};return o?(Vu(l,t),r&128&&i.normalize(l)):t&&(l.shapeFlag|=Ze(t)?8:16),Cs>0&&!n&&jt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&jt.push(l),l}const it=zw;function zw(i,e=null,t=null,a=0,s=null,r=!1){if((!i||i===zp)&&(i=ht),Ua(i)){const o=pa(i,e,!0);return t&&Vu(o,t),Cs>0&&!r&&jt&&(o.shapeFlag&6?jt[jt.indexOf(i)]=o:jt.push(o)),o.patchFlag=-2,o}if($w(i)&&(i=i.__vccOpts),e){e=Bw(e);let{class:o,style:l}=e;o&&!Ze(o)&&(e.class=Hr(o)),qe(l)&&(Du(l)&&!de(l)&&(l=ut({},l)),e.style=Eo(l))}const n=Ze(i)?1:am(i)?128:Sp(i)?64:qe(i)?4:ve(i)?2:0;return gs(i,e,t,a,s,n,r,!0)}function Bw(i){return i?Du(i)||qp(i)?ut({},i):i:null}function pa(i,e,t=!1,a=!1){const{props:s,ref:r,patchFlag:n,children:o,transition:l}=i,c=e?lm(s||{},e):s,u={__v_isVNode:!0,__v_skip:!0,type:i.type,props:c,key:c&&om(c),ref:e&&e.ref?t&&r?de(r)?r.concat(In(e)):[r,In(e)]:In(e):r,scopeId:i.scopeId,slotScopeIds:i.slotScopeIds,children:o,target:i.target,targetStart:i.targetStart,targetAnchor:i.targetAnchor,staticCount:i.staticCount,shapeFlag:i.shapeFlag,patchFlag:e&&i.type!==kt?n===-1?16:n|16:n,dynamicProps:i.dynamicProps,dynamicChildren:i.dynamicChildren,appContext:i.appContext,dirs:i.dirs,transition:l,component:i.component,suspense:i.suspense,ssContent:i.ssContent&&pa(i.ssContent),ssFallback:i.ssFallback&&pa(i.ssFallback),placeholder:i.placeholder,el:i.el,anchor:i.anchor,ctx:i.ctx,ce:i.ce};return l&&a&&Ya(u,l.clone(u)),u}function Hw(i=" ",e=0){return it(Oo,null,i,e)}function FI(i="",e=!1){return e?(Cr(),Qn(ht,null,i)):it(ht,null,i)}function ci(i){return i==null||typeof i=="boolean"?it(ht):de(i)?it(kt,null,i.slice()):Ua(i)?sa(i):it(Oo,null,String(i))}function sa(i){return i.el===null&&i.patchFlag!==-1||i.memo?i:pa(i)}function Vu(i,e){let t=0;const{shapeFlag:a}=i;if(e==null)e=null;else if(de(e))t=16;else if(typeof e=="object")if(a&65){const s=e.default;s&&(s._c&&(s._d=!1),Vu(i,s()),s._c&&(s._d=!0));return}else{t=32;const s=e._;!s&&!qp(e)?e._ctx=mt:s===3&&mt&&(mt.slots._===1?e._=1:(e._=2,i.patchFlag|=1024))}else ve(e)?(e={default:e,_ctx:mt},t=32):(e=String(e),a&64?(t=16,e=[Hw(e)]):t=8);i.children=e,i.shapeFlag|=t}function lm(...i){const e={};for(let t=0;t<i.length;t++){const a=i[t];for(const s in a)if(s==="class")e.class!==a.class&&(e.class=Hr([e.class,a.class]));else if(s==="style")e.style=Eo([e.style,a.style]);else if(ko(s)){const r=e[s],n=a[s];n&&r!==n&&!(de(r)&&r.includes(n))&&(e[s]=r?[].concat(r,n):n)}else s!==""&&(e[s]=a[s])}return e}function ki(i,e,t,a=null){pi(i,e,7,[t,a])}const Ww=Vp();let jw=0;function Vw(i,e,t){const a=i.type,s=(e?e.appContext:i.appContext)||Ww,r={uid:jw++,vnode:i,type:a,parent:e,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Jg(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(s.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:$p(a,s),emitsOptions:im(a,s),emit:null,emitted:null,propsDefaults:Fe,inheritAttrs:a.inheritAttrs,ctx:Fe,data:Fe,props:Fe,attrs:Fe,slots:Fe,refs:Fe,setupState:Fe,setupContext:null,suspense:t,suspenseId:t?t.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=e?e.root:r,r.emit=Sw.bind(null,r),i.ce&&i.ce(r),r}let St=null;const Ki=()=>St||mt;let eo,pc;{const i=Co(),e=(t,a)=>{let s;return(s=i[t])||(s=i[t]=[]),s.push(a),r=>{s.length>1?s.forEach(n=>n(r)):s[0](r)}};eo=e("__VUE_INSTANCE_SETTERS__",t=>St=t),pc=e("__VUE_SSR_SETTERS__",t=>Er=t)}const Xa=i=>{const e=St;return eo(i),i.scope.on(),()=>{i.scope.off(),eo(e)}},mc=()=>{St&&St.scope.off(),eo(null)};function cm(i){return i.vnode.shapeFlag&4}let Er=!1;function Yw(i,e=!1,t=!1){e&&pc(e);const{props:a,children:s}=i.vnode,r=cm(i);uw(i,a,r,e),gw(i,s,t||e);const n=r?Uw(i,e):void 0;return e&&pc(!1),n}function Uw(i,e){const t=i.type;i.accessCache=Object.create(null),i.proxy=new Proxy(i.ctx,iw);const{setup:a}=t;if(a){Vi();const s=i.setupContext=a.length>1?qw(i):null,r=Xa(i),n=Wr(a,i,0,[i.props,s]),o=Au(n);if(Yi(),r(),(o||i.sp)&&!ys(i)&&Dp(i),o){if(n.then(mc,mc),e)return n.then(l=>{bc(i,l)}).catch(l=>{jr(l,i,0)});i.asyncDep=n}else bc(i,n)}else um(i)}function bc(i,e,t){ve(e)?i.type.__ssrInlineRender?i.ssrRender=e:i.render=e:qe(e)&&(i.setupState=pp(e)),um(i)}function um(i,e,t){const a=i.type;i.render||(i.render=a.render||Ii);{const s=Xa(i);Vi();try{aw(i)}finally{Yi(),s()}}}const Xw={get(i,e){return wt(i,"get",""),i[e]}};function qw(i){const e=t=>{i.exposed=t||{}};return{attrs:new Proxy(i.attrs,Xw),slots:i.slots,emit:i.emit,expose:e}}function Fo(i){return i.exposed?i.exposeProxy||(i.exposeProxy=new Proxy(pp(Lu(i.exposed)),{get(e,t){if(t in e)return e[t];if(t in hr)return hr[t](i)},has(e,t){return t in e||t in hr}})):i.proxy}function Gw(i,e=!0){return ve(i)?i.displayName||i.name:i.name||e&&i.__name}function $w(i){return ve(i)&&"__vccOpts"in i}const Xe=(i,e)=>By(i,e,Er);function Yr(i,e,t){try{Jn(-1);const a=arguments.length;return a===2?qe(e)&&!de(e)?Ua(e)?it(i,null,[e]):it(i,e):it(i,null,e):(a>3?t=Array.prototype.slice.call(arguments,2):a===3&&Ua(t)&&(t=[t]),it(i,e,t))}finally{Jn(1)}}const Kw="3.5.24";/**
|
|
15
|
+
* @vue/runtime-dom v3.5.24
|
|
16
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
17
|
+
* @license MIT
|
|
18
|
+
**/let vc;const Kd=typeof window<"u"&&window.trustedTypes;if(Kd)try{vc=Kd.createPolicy("vue",{createHTML:i=>i})}catch{}const dm=vc?i=>vc.createHTML(i):i=>i,Zw="http://www.w3.org/2000/svg",Jw="http://www.w3.org/1998/Math/MathML",Fi=typeof document<"u"?document:null,Zd=Fi&&Fi.createElement("template"),Qw={insert:(i,e,t)=>{e.insertBefore(i,t||null)},remove:i=>{const e=i.parentNode;e&&e.removeChild(i)},createElement:(i,e,t,a)=>{const s=e==="svg"?Fi.createElementNS(Zw,i):e==="mathml"?Fi.createElementNS(Jw,i):t?Fi.createElement(i,{is:t}):Fi.createElement(i);return i==="select"&&a&&a.multiple!=null&&s.setAttribute("multiple",a.multiple),s},createText:i=>Fi.createTextNode(i),createComment:i=>Fi.createComment(i),setText:(i,e)=>{i.nodeValue=e},setElementText:(i,e)=>{i.textContent=e},parentNode:i=>i.parentNode,nextSibling:i=>i.nextSibling,querySelector:i=>Fi.querySelector(i),setScopeId(i,e){i.setAttribute(e,"")},insertStaticContent(i,e,t,a,s,r){const n=t?t.previousSibling:e.lastChild;if(s&&(s===r||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),t),!(s===r||!(s=s.nextSibling)););else{Zd.innerHTML=dm(a==="svg"?`<svg>${i}</svg>`:a==="mathml"?`<math>${i}</math>`:i);const o=Zd.content;if(a==="svg"||a==="mathml"){const l=o.firstChild;for(;l.firstChild;)o.appendChild(l.firstChild);o.removeChild(l)}e.insertBefore(o,t)}return[n?n.nextSibling:e.firstChild,t?t.previousSibling:e.lastChild]}},Ji="transition",$s="animation",Es=Symbol("_vtc"),hm={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},fm=ut({},Pp,hm),e0=i=>(i.displayName="Transition",i.props=fm,i),zI=e0((i,{slots:e})=>Yr(Xy,gm(i),e)),wa=(i,e=[])=>{de(i)?i.forEach(t=>t(...e)):i&&i(...e)},Jd=i=>i?de(i)?i.some(e=>e.length>1):i.length>1:!1;function gm(i){const e={};for(const P in i)P in hm||(e[P]=i[P]);if(i.css===!1)return e;const{name:t="v",type:a,duration:s,enterFromClass:r=`${t}-enter-from`,enterActiveClass:n=`${t}-enter-active`,enterToClass:o=`${t}-enter-to`,appearFromClass:l=r,appearActiveClass:c=n,appearToClass:u=o,leaveFromClass:d=`${t}-leave-from`,leaveActiveClass:h=`${t}-leave-active`,leaveToClass:f=`${t}-leave-to`}=i,g=t0(s),p=g&&g[0],m=g&&g[1],{onBeforeEnter:b,onEnter:v,onEnterCancelled:x,onLeave:k,onLeaveCancelled:y,onBeforeAppear:A=b,onAppear:w=v,onAppearCancelled:S=x}=e,C=(P,D,L,B)=>{P._enterCancelled=B,ta(P,D?u:o),ta(P,D?c:n),L&&L()},E=(P,D)=>{P._isLeaving=!1,ta(P,d),ta(P,f),ta(P,h),D&&D()},M=P=>(D,L)=>{const B=P?w:v,N=()=>C(D,P,L);wa(B,[D,N]),Qd(()=>{ta(D,P?l:r),Si(D,P?u:o),Jd(B)||eh(D,a,p,N)})};return ut(e,{onBeforeEnter(P){wa(b,[P]),Si(P,r),Si(P,n)},onBeforeAppear(P){wa(A,[P]),Si(P,l),Si(P,c)},onEnter:M(!1),onAppear:M(!0),onLeave(P,D){P._isLeaving=!0;const L=()=>E(P,D);Si(P,d),P._enterCancelled?(Si(P,h),xc(P)):(xc(P),Si(P,h)),Qd(()=>{P._isLeaving&&(ta(P,d),Si(P,f),Jd(k)||eh(P,a,m,L))}),wa(k,[P,L])},onEnterCancelled(P){C(P,!1,void 0,!0),wa(x,[P])},onAppearCancelled(P){C(P,!0,void 0,!0),wa(S,[P])},onLeaveCancelled(P){E(P),wa(y,[P])}})}function t0(i){if(i==null)return null;if(qe(i))return[dl(i.enter),dl(i.leave)];{const e=dl(i);return[e,e]}}function dl(i){return Gg(i)}function Si(i,e){e.split(/\s+/).forEach(t=>t&&i.classList.add(t)),(i[Es]||(i[Es]=new Set)).add(e)}function ta(i,e){e.split(/\s+/).forEach(a=>a&&i.classList.remove(a));const t=i[Es];t&&(t.delete(e),t.size||(i[Es]=void 0))}function Qd(i){requestAnimationFrame(()=>{requestAnimationFrame(i)})}let i0=0;function eh(i,e,t,a){const s=i._endId=++i0,r=()=>{s===i._endId&&a()};if(t!=null)return setTimeout(r,t);const{type:n,timeout:o,propCount:l}=pm(i,e);if(!n)return a();const c=n+"end";let u=0;const d=()=>{i.removeEventListener(c,h),r()},h=f=>{f.target===i&&++u>=l&&d()};setTimeout(()=>{u<l&&d()},o+1),i.addEventListener(c,h)}function pm(i,e){const t=window.getComputedStyle(i),a=g=>(t[g]||"").split(", "),s=a(`${Ji}Delay`),r=a(`${Ji}Duration`),n=th(s,r),o=a(`${$s}Delay`),l=a(`${$s}Duration`),c=th(o,l);let u=null,d=0,h=0;e===Ji?n>0&&(u=Ji,d=n,h=r.length):e===$s?c>0&&(u=$s,d=c,h=l.length):(d=Math.max(n,c),u=d>0?n>c?Ji:$s:null,h=u?u===Ji?r.length:l.length:0);const f=u===Ji&&/\b(?:transform|all)(?:,|$)/.test(a(`${Ji}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:f}}function th(i,e){for(;i.length<e.length;)i=i.concat(i);return Math.max(...e.map((t,a)=>ih(t)+ih(i[a])))}function ih(i){return i==="auto"?0:Number(i.slice(0,-1).replace(",","."))*1e3}function xc(i){return(i?i.ownerDocument:document).body.offsetHeight}function a0(i,e,t){const a=i[Es];a&&(e=(e?[e,...a]:[...a]).join(" ")),e==null?i.removeAttribute("class"):t?i.setAttribute("class",e):i.className=e}const to=Symbol("_vod"),mm=Symbol("_vsh"),BI={name:"show",beforeMount(i,{value:e},{transition:t}){i[to]=i.style.display==="none"?"":i.style.display,t&&e?t.beforeEnter(i):Ks(i,e)},mounted(i,{value:e},{transition:t}){t&&e&&t.enter(i)},updated(i,{value:e,oldValue:t},{transition:a}){!e!=!t&&(a?e?(a.beforeEnter(i),Ks(i,!0),a.enter(i)):a.leave(i,()=>{Ks(i,!1)}):Ks(i,e))},beforeUnmount(i,{value:e}){Ks(i,e)}};function Ks(i,e){i.style.display=e?i[to]:"none",i[mm]=!e}const s0=Symbol(""),r0=/(?:^|;)\s*display\s*:/;function n0(i,e,t){const a=i.style,s=Ze(t);let r=!1;if(t&&!s){if(e)if(Ze(e))for(const n of e.split(";")){const o=n.slice(0,n.indexOf(":")).trim();t[o]==null&&Tn(a,o,"")}else for(const n in e)t[n]==null&&Tn(a,n,"");for(const n in t)n==="display"&&(r=!0),Tn(a,n,t[n])}else if(s){if(e!==t){const n=a[s0];n&&(t+=";"+n),a.cssText=t,r=r0.test(t)}}else e&&i.removeAttribute("style");to in i&&(i[to]=r?a.display:"",i[mm]&&(a.display="none"))}const ah=/\s*!important$/;function Tn(i,e,t){if(de(t))t.forEach(a=>Tn(i,e,a));else if(t==null&&(t=""),e.startsWith("--"))i.setProperty(e,t);else{const a=o0(i,e);ah.test(t)?i.setProperty(Gi(a),t.replace(ah,""),"important"):i[a]=t}}const sh=["Webkit","Moz","ms"],hl={};function o0(i,e){const t=hl[e];if(t)return t;let a=Ut(e);if(a!=="filter"&&a in i)return hl[e]=a;a=Br(a);for(let s=0;s<sh.length;s++){const r=sh[s]+a;if(r in i)return hl[e]=r}return e}const rh="http://www.w3.org/1999/xlink";function nh(i,e,t,a,s,r=uy(e)){a&&e.startsWith("xlink:")?t==null?i.removeAttributeNS(rh,e.slice(6,e.length)):i.setAttributeNS(rh,e,t):t==null||r&&!$g(t)?i.removeAttribute(e):i.setAttribute(e,r?"":qi(t)?String(t):t)}function oh(i,e,t,a,s){if(e==="innerHTML"||e==="textContent"){t!=null&&(i[e]=e==="innerHTML"?dm(t):t);return}const r=i.tagName;if(e==="value"&&r!=="PROGRESS"&&!r.includes("-")){const o=r==="OPTION"?i.getAttribute("value")||"":i.value,l=t==null?i.type==="checkbox"?"on":"":String(t);(o!==l||!("_value"in i))&&(i.value=l),t==null&&i.removeAttribute(e),i._value=t;return}let n=!1;if(t===""||t==null){const o=typeof i[e];o==="boolean"?t=$g(t):t==null&&o==="string"?(t="",n=!0):o==="number"&&(t=0,n=!0)}try{i[e]=t}catch{}n&&i.removeAttribute(s||e)}function hs(i,e,t,a){i.addEventListener(e,t,a)}function l0(i,e,t,a){i.removeEventListener(e,t,a)}const lh=Symbol("_vei");function c0(i,e,t,a,s=null){const r=i[lh]||(i[lh]={}),n=r[e];if(a&&n)n.value=a;else{const[o,l]=u0(e);if(a){const c=r[e]=f0(a,s);hs(i,o,c,l)}else n&&(l0(i,o,n,l),r[e]=void 0)}}const ch=/(?:Once|Passive|Capture)$/;function u0(i){let e;if(ch.test(i)){e={};let a;for(;a=i.match(ch);)i=i.slice(0,i.length-a[0].length),e[a[0].toLowerCase()]=!0}return[i[2]===":"?i.slice(3):Gi(i.slice(2)),e]}let fl=0;const d0=Promise.resolve(),h0=()=>fl||(d0.then(()=>fl=0),fl=Date.now());function f0(i,e){const t=a=>{if(!a._vts)a._vts=Date.now();else if(a._vts<=t.attached)return;pi(g0(a,t.value),e,5,[a])};return t.value=i,t.attached=h0(),t}function g0(i,e){if(de(e)){const t=i.stopImmediatePropagation;return i.stopImmediatePropagation=()=>{t.call(i),i._stopped=!0},e.map(a=>s=>!s._stopped&&a&&a(s))}else return e}const uh=i=>i.charCodeAt(0)===111&&i.charCodeAt(1)===110&&i.charCodeAt(2)>96&&i.charCodeAt(2)<123,p0=(i,e,t,a,s,r)=>{const n=s==="svg";e==="class"?a0(i,a,n):e==="style"?n0(i,t,a):ko(e)?wu(e)||c0(i,e,t,a,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):m0(i,e,a,n))?(oh(i,e,a),!i.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&nh(i,e,a,n,r,e!=="value")):i._isVueCE&&(/[A-Z]/.test(e)||!Ze(a))?oh(i,Ut(e),a,r,e):(e==="true-value"?i._trueValue=a:e==="false-value"&&(i._falseValue=a),nh(i,e,a,n))};function m0(i,e,t,a){if(a)return!!(e==="innerHTML"||e==="textContent"||e in i&&uh(e)&&ve(t));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&i.tagName==="IFRAME"||e==="form"||e==="list"&&i.tagName==="INPUT"||e==="type"&&i.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const s=i.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return uh(e)&&Ze(t)?!1:e in i}const bm=new WeakMap,vm=new WeakMap,io=Symbol("_moveCb"),dh=Symbol("_enterCb"),b0=i=>(delete i.props.mode,i),v0=b0({name:"TransitionGroup",props:ut({},fm,{tag:String,moveClass:String}),setup(i,{slots:e}){const t=Ki(),a=Mp();let s,r;return Np(()=>{if(!s.length)return;const n=i.moveClass||`${i.name||"v"}-move`;if(!k0(s[0].el,t.vnode.el,n)){s=[];return}s.forEach(x0),s.forEach(y0);const o=s.filter(w0);xc(t.vnode.el),o.forEach(l=>{const c=l.el,u=c.style;Si(c,n),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[io]=h=>{h&&h.target!==c||(!h||h.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",d),c[io]=null,ta(c,n))};c.addEventListener("transitionend",d)}),s=[]}),()=>{const n=Pe(i),o=gm(n);let l=n.tag||kt;if(s=[],r)for(let c=0;c<r.length;c++){const u=r[c];u.el&&u.el instanceof Element&&(s.push(u),Ya(u,Ar(u,o,a,t)),bm.set(u,{left:u.el.offsetLeft,top:u.el.offsetTop}))}r=e.default?Ou(e.default()):[];for(let c=0;c<r.length;c++){const u=r[c];u.key!=null&&Ya(u,Ar(u,o,a,t))}return it(l,null,r)}}}),HI=v0;function x0(i){const e=i.el;e[io]&&e[io](),e[dh]&&e[dh]()}function y0(i){vm.set(i,{left:i.el.offsetLeft,top:i.el.offsetTop})}function w0(i){const e=bm.get(i),t=vm.get(i),a=e.left-t.left,s=e.top-t.top;if(a||s){const r=i.el.style;return r.transform=r.webkitTransform=`translate(${a}px,${s}px)`,r.transitionDuration="0s",i}}function k0(i,e,t){const a=i.cloneNode(),s=i[Es];s&&s.forEach(o=>{o.split(/\s+/).forEach(l=>l&&a.classList.remove(l))}),t.split(/\s+/).forEach(o=>o&&a.classList.add(o)),a.style.display="none";const r=e.nodeType===1?e:e.parentNode;r.appendChild(a);const{hasTransform:n}=pm(a);return r.removeChild(a),n}const hh=i=>{const e=i.props["onUpdate:modelValue"]||!1;return de(e)?t=>Pn(e,t):e};function A0(i){i.target.composing=!0}function fh(i){const e=i.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const gl=Symbol("_assign");function gh(i,e,t){return e&&(i=i.trim()),t&&(i=Cu(i)),i}const WI={created(i,{modifiers:{lazy:e,trim:t,number:a}},s){i[gl]=hh(s);const r=a||s.props&&s.props.type==="number";hs(i,e?"change":"input",n=>{n.target.composing||i[gl](gh(i.value,t,r))}),(t||r)&&hs(i,"change",()=>{i.value=gh(i.value,t,r)}),e||(hs(i,"compositionstart",A0),hs(i,"compositionend",fh),hs(i,"change",fh))},mounted(i,{value:e}){i.value=e??""},beforeUpdate(i,{value:e,oldValue:t,modifiers:{lazy:a,trim:s,number:r}},n){if(i[gl]=hh(n),i.composing)return;const o=(r||i.type==="number")&&!/^0\d/.test(i.value)?Cu(i.value):i.value,l=e??"";o!==l&&(document.activeElement===i&&i.type!=="range"&&(a&&e===t||s&&i.value.trim()===l)||(i.value=l))}},S0=["ctrl","shift","alt","meta"],C0={stop:i=>i.stopPropagation(),prevent:i=>i.preventDefault(),self:i=>i.target!==i.currentTarget,ctrl:i=>!i.ctrlKey,shift:i=>!i.shiftKey,alt:i=>!i.altKey,meta:i=>!i.metaKey,left:i=>"button"in i&&i.button!==0,middle:i=>"button"in i&&i.button!==1,right:i=>"button"in i&&i.button!==2,exact:(i,e)=>S0.some(t=>i[`${t}Key`]&&!e.includes(t))},jI=(i,e)=>{const t=i._withMods||(i._withMods={}),a=e.join(".");return t[a]||(t[a]=((s,...r)=>{for(let n=0;n<e.length;n++){const o=C0[e[n]];if(o&&o(s,e))return}return i(s,...r)}))},E0={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},VI=(i,e)=>{const t=i._withKeys||(i._withKeys={}),a=e.join(".");return t[a]||(t[a]=(s=>{if(!("key"in s))return;const r=Gi(s.key);if(e.some(n=>n===r||E0[n]===r))return i(s)}))},M0=ut({patchProp:p0},Qw);let ph;function P0(){return ph||(ph=mw(M0))}const _0=((...i)=>{const e=P0().createApp(...i),{mount:t}=e;return e.mount=a=>{const s=T0(a);if(!s)return;const r=e._component;!ve(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const n=t(s,!1,I0(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),n},e});function I0(i){if(i instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&i instanceof MathMLElement)return"mathml"}function T0(i){return Ze(i)?document.querySelector(i):i}function D0(i,e){let t;function a(){t=xr(),t.run(()=>e.length?e(()=>{t==null||t.stop(),a()}):e())}At(i,s=>{s&&!t?a():s||(t==null||t.stop(),t=void 0)},{immediate:!0}),Mo(()=>{t==null||t.stop()})}function YI(i){}function L0(i,e){e=Array.isArray(e)?e.slice(0,-1).map(t=>`'${t}'`).join(", ")+` or '${e.at(-1)}'`:`'${e}'`}const Nt=typeof window<"u",UI=Nt&&"IntersectionObserver"in window,R0=Nt&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),XI=Nt&&"EyeDropper"in window,xm=Nt&&"matchMedia"in window&&typeof window.matchMedia=="function",N0=()=>xm&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function mh(i,e,t){O0(i,e),e.set(i,t)}function O0(i,e){if(e.has(i))throw new TypeError("Cannot initialize the same private elements twice on an object")}function bh(i,e,t){return i.set(ym(i,e),t),t}function Ri(i,e){return i.get(ym(i,e))}function ym(i,e,t){if(typeof i=="function"?i===e:i.has(e))return arguments.length<3?e:t;throw new TypeError("Private element is not present on this object")}function wm(i,e,t){const a=e.length-1;if(a<0)return i===void 0?t:i;for(let s=0;s<a;s++){if(i==null)return t;i=i[e[s]]}return i==null||i[e[a]]===void 0?t:i[e[a]]}function yc(i,e,t){return i==null||!e||typeof e!="string"?t:i[e]!==void 0?i[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),wm(i,e.split("."),t))}function qI(i,e,t){if(e===!0)return i===void 0?t:i;if(e==null||typeof e=="boolean")return t;if(i!==Object(i)){if(typeof e!="function")return t;const s=e(i,t);return typeof s>"u"?t:s}if(typeof e=="string")return yc(i,e,t);if(Array.isArray(e))return wm(i,e,t);if(typeof e!="function")return t;const a=e(i,t);return typeof a>"u"?t:a}function km(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:i},(t,a)=>e+a)}function GI(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(i==null||i==="")return;const t=Number(i);return isNaN(t)?String(i):isFinite(t)?`${t}${e}`:void 0}function $I(i){return i!==null&&typeof i=="object"&&!Array.isArray(i)}function vh(i){let e;return i!==null&&typeof i=="object"&&((e=Object.getPrototypeOf(i))===Object.prototype||e===null)}function Am(i){if(i&&"$el"in i){const e=i.$el;return(e==null?void 0:e.nodeType)===Node.TEXT_NODE?e.nextElementSibling:e}return i}const KI=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function ZI(i){return Object.keys(i)}function pl(i,e){return e.every(t=>i.hasOwnProperty(t))}function F0(i,e){const t={};for(const a of e)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a]);return t}function xh(i,e,t){const a=Object.create(null),s=Object.create(null);for(const r in i)e.some(n=>n instanceof RegExp?n.test(r):n===r)?a[r]=i[r]:s[r]=i[r];return[a,s]}function z0(i,e){const t={...i};return e.forEach(a=>delete t[a]),t}const Sm=/^on[^a-z]/,JI=i=>Sm.test(i),B0=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"],H0=["ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Enter","Escape","Tab"," "];function QI(i){return i.isComposing&&H0.includes(i.key)}function eT(i){const[e,t]=xh(i,[Sm]),a=z0(e,B0),[s,r]=xh(t,["class","style","id",/^data-/]);return Object.assign(s,e),Object.assign(r,a),[s,r]}function tT(i){return i==null?[]:Array.isArray(i)?i:[i]}function iT(i,e){let t=0;const a=function(){for(var s=arguments.length,r=new Array(s),n=0;n<s;n++)r[n]=arguments[n];clearTimeout(t),t=setTimeout(()=>i(...r),ei(e))};return a.clear=()=>{clearTimeout(t)},a.immediate=i,a}function Yu(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(e,Math.min(t,i))}function aT(i){const e=i.toString().trim();return e.includes(".")?e.length-e.indexOf(".")-1:0}function yh(i,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return i+t.repeat(Math.max(0,e-i.length))}function wh(i,e){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,e-i.length))+i}function W0(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const t=[];let a=0;for(;a<i.length;)t.push(i.substr(a,e)),a+=e;return t}function sT(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e3;if(i<e)return`${i} B`;const t=e===1024?["Ki","Mi","Gi"]:["k","M","G"];let a=-1;for(;Math.abs(i)>=e&&a<t.length-1;)i/=e,++a;return`${i.toFixed(1)} ${t[a]}B`}function Mt(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;const a={};for(const s in i)a[s]=i[s];for(const s in e){const r=i[s],n=e[s];if(vh(r)&&vh(n)){a[s]=Mt(r,n,t);continue}if(t&&Array.isArray(r)&&Array.isArray(n)){a[s]=t(r,n);continue}a[s]=n}return a}function j0(i){return i.map(e=>e.type===kt?j0(e.children):e).flat()}function Ba(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Ba.cache.has(i))return Ba.cache.get(i);const e=i.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Ba.cache.set(i,e),e}Ba.cache=new Map;function fn(i,e){if(!e||typeof e!="object")return[];if(Array.isArray(e))return e.map(t=>fn(i,t)).flat(1);if(e.suspense)return fn(i,e.ssContent);if(Array.isArray(e.children))return e.children.map(t=>fn(i,t)).flat(1);if(e.component){if(Object.getOwnPropertySymbols(e.component.provides).includes(i))return[e.component];if(e.component.subTree)return fn(i,e.component.subTree).flat(1)}return[]}var ts=new WeakMap,ka=new WeakMap;class rT{constructor(e){mh(this,ts,[]),mh(this,ka,0),this.size=e}get isFull(){return Ri(ts,this).length===this.size}push(e){Ri(ts,this)[Ri(ka,this)]=e,bh(ka,this,(Ri(ka,this)+1)%this.size)}values(){return Ri(ts,this).slice(Ri(ka,this)).concat(Ri(ts,this).slice(0,Ri(ka,this)))}clear(){Ri(ts,this).length=0,bh(ka,this,0)}}function nT(i){return"touches"in i?{clientX:i.touches[0].clientX,clientY:i.touches[0].clientY}:{clientX:i.clientX,clientY:i.clientY}}function oT(i){const e=Di({});Lo(()=>{const a=i();for(const s in a)e[s]=a[s]},{flush:"sync"});const t={};for(const a in e)t[a]=Wt(()=>e[a]);return t}function lT(i,e){return i.includes(e)}function cT(i){return i[2].toLowerCase()+i.slice(3)}const uT=()=>[Function,Array];function dT(i,e){return e="on"+Br(e),!!(i[e]||i[`${e}Once`]||i[`${e}Capture`]||i[`${e}OnceCapture`]||i[`${e}CaptureOnce`])}function hT(i){for(var e=arguments.length,t=new Array(e>1?e-1:0),a=1;a<e;a++)t[a-1]=arguments[a];if(Array.isArray(i))for(const s of i)s(...t);else typeof i=="function"&&i(...t)}function V0(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const t=["button","[href]",'input:not([type="hidden"])',"select","textarea","details:not(:has(> summary))","details > summary","[tabindex]",'[contenteditable]:not([contenteditable="false"])',"audio[controls]","video[controls]"].map(s=>`${s}${e?':not([tabindex="-1"])':""}:not([disabled], [inert])`).join(", ");let a;try{a=[...i.querySelectorAll(t)]}catch{return[]}return a.filter(s=>!s.closest("[inert]")).filter(s=>!!s.offsetParent||s.getClientRects().length>0).filter(s=>{var r,n;return!((r=s.parentElement)!=null&&r.closest("details:not([open])"))||s.tagName==="SUMMARY"&&((n=s.parentElement)==null?void 0:n.tagName)==="DETAILS"})}function Y0(i,e,t){let a,s=i.indexOf(document.activeElement);const r=e==="next"?1:-1;do s+=r,a=i[s];while((!a||a.offsetParent==null||!((t==null?void 0:t(a))??!0))&&s<i.length&&s>=0);return a}function U0(i,e){var a,s,r,n;const t=V0(i);if(e==null)(i===document.activeElement||!i.contains(document.activeElement))&&((a=t[0])==null||a.focus());else if(e==="first")(s=t[0])==null||s.focus();else if(e==="last")(r=t.at(-1))==null||r.focus();else if(typeof e=="number")(n=t[e])==null||n.focus();else{const o=Y0(t,e);o?o.focus():U0(i,e==="next"?"first":"last")}}function fT(i){return i==null||typeof i=="string"&&i.trim()===""}function gT(){}function pT(i,e){if(!(Nt&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${e})`)))return null;try{return!!i&&i.matches(e)}catch{return null}}function X0(i){return i.some(e=>Ua(e)?e.type===ht?!1:e.type!==kt||X0(e.children):!0)?i:null}function mT(i,e){if(!Nt||i===0)return e(),()=>{};const t=window.setTimeout(e,i);return()=>window.clearTimeout(t)}function bT(i,e){const t=i.clientX,a=i.clientY,s=e.getBoundingClientRect(),r=s.left,n=s.top,o=s.right,l=s.bottom;return t>=r&&t<=o&&a>=n&&a<=l}function vT(){const i=Ti(),e=t=>{i.value=t};return Object.defineProperty(e,"value",{enumerable:!0,get:()=>i.value,set:t=>i.value=t}),Object.defineProperty(e,"el",{enumerable:!0,get:()=>Am(i.value)}),e}function xT(i){const e=i.key.length===1,t=!i.ctrlKey&&!i.metaKey&&!i.altKey;return e&&t}function yT(i){return typeof i=="string"||typeof i=="number"||typeof i=="boolean"||typeof i=="bigint"}function wT(i){return"\\^$*+?.()|{}[]".includes(i)?`\\${i}`:i}function kT(i){const e={};for(const t in i)e[Ut(t)]=i[t];return e}function AT(i){const e=["checked","disabled"];return Object.fromEntries(Object.entries(i).filter(t=>{let[a,s]=t;return e.includes(a)?!!s:s!==void 0}))}const is=2.4,kh=.2126729,Ah=.7151522,Sh=.072175,q0=.55,G0=.58,$0=.57,K0=.62,gn=.03,Ch=1.45,Z0=5e-4,J0=1.25,Q0=1.25,Eh=.078,Mh=12.82051282051282,pn=.06,Ph=.001;function _h(i,e){const t=(i.r/255)**is,a=(i.g/255)**is,s=(i.b/255)**is,r=(e.r/255)**is,n=(e.g/255)**is,o=(e.b/255)**is;let l=t*kh+a*Ah+s*Sh,c=r*kh+n*Ah+o*Sh;if(l<=gn&&(l+=(gn-l)**Ch),c<=gn&&(c+=(gn-c)**Ch),Math.abs(c-l)<Z0)return 0;let u;if(c>l){const d=(c**q0-l**G0)*J0;u=d<Ph?0:d<Eh?d-d*Mh*pn:d-pn}else{const d=(c**K0-l**$0)*Q0;u=d>-Ph?0:d>-Eh?d-d*Mh*pn:d+pn}return u*100}const ao=.20689655172413793,ek=i=>i>ao**3?Math.cbrt(i):i/(3*ao**2)+4/29,tk=i=>i>ao?i**3:3*ao**2*(i-4/29);function Cm(i){const e=ek,t=e(i[1]);return[116*t-16,500*(e(i[0]/.95047)-t),200*(t-e(i[2]/1.08883))]}function Em(i){const e=tk,t=(i[0]+16)/116;return[e(t+i[1]/500)*.95047,e(t),e(t-i[2]/200)*1.08883]}const ik=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],ak=i=>i<=.0031308?i*12.92:1.055*i**(1/2.4)-.055,sk=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],rk=i=>i<=.04045?i/12.92:((i+.055)/1.055)**2.4;function Mm(i){const e=Array(3),t=ak,a=ik;for(let s=0;s<3;++s)e[s]=Math.round(Yu(t(a[s][0]*i[0]+a[s][1]*i[1]+a[s][2]*i[2]))*255);return{r:e[0],g:e[1],b:e[2]}}function Uu(i){let{r:e,g:t,b:a}=i;const s=[0,0,0],r=rk,n=sk;e=r(e/255),t=r(t/255),a=r(a/255);for(let o=0;o<3;++o)s[o]=n[o][0]*e+n[o][1]*t+n[o][2]*a;return s}function nk(i){return!!i&&/^(#|var\(--|(rgb|hsl)a?\()/.test(i)}function ST(i){return nk(i)&&!/^((rgb|hsl)a?\()?var\(--/.test(i)}const Ih=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,ok={rgb:(i,e,t,a)=>({r:i,g:e,b:t,a}),rgba:(i,e,t,a)=>({r:i,g:e,b:t,a}),hsl:(i,e,t,a)=>Th({h:i,s:e,l:t,a}),hsla:(i,e,t,a)=>Th({h:i,s:e,l:t,a}),hsv:(i,e,t,a)=>qa({h:i,s:e,v:t,a}),hsva:(i,e,t,a)=>qa({h:i,s:e,v:t,a})};function Wi(i){if(typeof i=="number")return{r:(i&16711680)>>16,g:(i&65280)>>8,b:i&255};if(typeof i=="string"&&Ih.test(i)){const{groups:e}=i.match(Ih),{fn:t,values:a}=e,s=a.split(/,\s*|\s*\/\s*|\s+/).map((r,n)=>r.endsWith("%")||n>0&&n<3&&["hsl","hsla","hsv","hsva"].includes(t)?parseFloat(r)/100:parseFloat(r));return ok[t](...s)}else if(typeof i=="string"){let e=i.startsWith("#")?i.slice(1):i;return[3,4].includes(e.length)?e=e.split("").map(t=>t+t).join(""):[6,8].includes(e.length),Im(e)}else if(typeof i=="object"){if(pl(i,["r","g","b"]))return i;if(pl(i,["h","s","l"]))return qa(Pm(i));if(pl(i,["h","s","v"]))return qa(i)}throw new TypeError(`Invalid color: ${i==null?i:String(i)||i.constructor.name}
|
|
19
|
+
Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function qa(i){const{h:e,s:t,v:a,a:s}=i,r=o=>{const l=(o+e/60)%6;return a-a*t*Math.max(Math.min(l,4-l,1),0)},n=[r(5),r(3),r(1)].map(o=>Math.round(o*255));return{r:n[0],g:n[1],b:n[2],a:s}}function Th(i){return qa(Pm(i))}function lk(i){if(!i)return{h:0,s:1,v:1,a:1};const e=i.r/255,t=i.g/255,a=i.b/255,s=Math.max(e,t,a),r=Math.min(e,t,a);let n=0;s!==r&&(s===e?n=60*(0+(t-a)/(s-r)):s===t?n=60*(2+(a-e)/(s-r)):s===a&&(n=60*(4+(e-t)/(s-r)))),n<0&&(n=n+360);const o=s===0?0:(s-r)/s,l=[n,o,s];return{h:l[0],s:l[1],v:l[2],a:i.a}}function CT(i){const{h:e,s:t,v:a,a:s}=i,r=a-a*t/2,n=r===1||r===0?0:(a-r)/Math.min(r,1-r);return{h:e,s:n,l:r,a:s}}function Pm(i){const{h:e,s:t,l:a,a:s}=i,r=a+t*Math.min(a,1-a),n=r===0?0:2-2*a/r;return{h:e,s:n,v:r,a:s}}function ck(i){let{r:e,g:t,b:a,a:s}=i;return s===void 0?`rgb(${e}, ${t}, ${a})`:`rgba(${e}, ${t}, ${a}, ${s})`}function ET(i){return ck(qa(i))}function mn(i){const e=Math.round(i).toString(16);return("00".substr(0,2-e.length)+e).toUpperCase()}function _m(i){let{r:e,g:t,b:a,a:s}=i;return`#${[mn(e),mn(t),mn(a),s!==void 0?mn(Math.round(s*255)):""].join("")}`}function Im(i){i=uk(i);let[e,t,a,s]=W0(i,2).map(r=>parseInt(r,16));return s=s===void 0?s:s/255,{r:e,g:t,b:a,a:s}}function MT(i){const e=Im(i);return lk(e)}function PT(i){return _m(qa(i))}function uk(i){return i.startsWith("#")&&(i=i.slice(1)),i=i.replace(/([^0-9a-f])/gi,"F"),(i.length===3||i.length===4)&&(i=i.split("").map(e=>e+e).join("")),i.length!==6&&(i=yh(yh(i,6),8,"F")),i}function dk(i,e){const t=Cm(Uu(i));return t[0]=t[0]+e*10,Mm(Em(t))}function hk(i,e){const t=Cm(Uu(i));return t[0]=t[0]-e*10,Mm(Em(t))}function wc(i){const e=Wi(i);return Uu(e)[1]}function _T(i,e){const t=wc(i),a=wc(e),s=Math.max(t,a),r=Math.min(t,a);return(s+.05)/(r+.05)}function fk(i){const e=Math.abs(_h(Wi(0),Wi(i)));return Math.abs(_h(Wi(16777215),Wi(i)))>Math.min(e,50)?"#fff":"#000"}function zo(i,e){return t=>Object.keys(i).reduce((a,s)=>{const n=typeof i[s]=="object"&&i[s]!=null&&!Array.isArray(i[s])?i[s]:{type:i[s]};return t&&s in t?a[s]={...n,default:t[s]}:a[s]=n,e&&!a[s].source&&(a[s].source=e),a},{})}function Ns(i,e){const t=Ki();if(!t)throw new Error(`[Vuetify] ${i} must be called from inside a setup function`);return t}function gk(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const e=Ns(i).type;return Ba((e==null?void 0:e.aliasName)||(e==null?void 0:e.name))}function pk(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ns("injectSelf");const{provides:t}=e;if(t&&i in t)return t[i]}const Ms=Symbol.for("vuetify:defaults");function mk(i){return nt(i)}function Xu(){const i=Je(Ms);if(!i)throw new Error("[Vuetify] Could not find defaults instance");return i}function IT(i,e){const t=Xu(),a=nt(i),s=Xe(()=>{if(ei(e==null?void 0:e.disabled))return t.value;const n=ei(e==null?void 0:e.scoped),o=ei(e==null?void 0:e.reset),l=ei(e==null?void 0:e.root);if(a.value==null&&!(n||o||l))return t.value;let c=Mt(a.value,{prev:t.value});if(n)return c;if(o||l){const u=Number(o||1/0);for(let d=0;d<=u&&!(!c||!("prev"in c));d++)c=c.prev;return c&&typeof l=="string"&&l in c&&(c=Mt(Mt(c,{prev:c}),c[l])),c}return c.prev?Mt(c.prev,c):c});return za(Ms,s),s}function bk(i,e){return i.props&&(typeof i.props[e]<"u"||typeof i.props[Ba(e)]<"u")}function vk(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Xu();const a=Ns("useDefaults");if(e=e??a.type.name??a.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const s=Xe(()=>{var l;return(l=t.value)==null?void 0:l[i._as??e]}),r=new Proxy(i,{get(l,c){var f,g,p,m;const u=Reflect.get(l,c);if(c==="class"||c==="style")return[(f=s.value)==null?void 0:f[c],u].filter(b=>b!=null);if(bk(a.vnode,c))return u;const d=(g=s.value)==null?void 0:g[c];if(d!==void 0)return d;const h=(m=(p=t.value)==null?void 0:p.global)==null?void 0:m[c];return h!==void 0?h:u}}),n=Ti();Lo(()=>{if(s.value){const l=Object.entries(s.value).filter(c=>{let[u]=c;return u.startsWith(u[0].toUpperCase())});n.value=l.length?Object.fromEntries(l):void 0}else n.value=void 0});function o(){const l=pk(Ms,a);za(Ms,Xe(()=>n.value?Mt((l==null?void 0:l.value)??{},n.value):l==null?void 0:l.value))}return{props:r,provideSubDefaults:o}}function Ur(i){if(i._setup=i._setup??i.setup,!i.name)return i;if(i._setup){i.props=zo(i.props??{},i.name)();const e=Object.keys(i.props).filter(t=>t!=="class"&&t!=="style");i.filterProps=function(a){return F0(a,e)},i.props._as=String,i.setup=function(a,s){const r=Xu();if(!r.value)return i._setup(a,s);const{props:n,provideSubDefaults:o}=vk(a,a._as??i.name,r),l=i._setup(n,s);return o(),l}}return i}function xk(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return e=>(i?Ur:Io)(e)}function TT(i,e){return e.props=i,e}const DT="cubic-bezier(0.4, 0, 0.2, 1)",LT="cubic-bezier(0.0, 0, 0.2, 1)",RT="cubic-bezier(0.4, 0, 1, 1)",yk={linear:i=>i,easeInQuad:i=>i**2,easeOutQuad:i=>i*(2-i),easeInOutQuad:i=>i<.5?2*i**2:-1+(4-2*i)*i,easeInCubic:i=>i**3,easeOutCubic:i=>--i**3+1,easeInOutCubic:i=>i<.5?4*i**3:(i-1)*(2*i-2)*(2*i-2)+1,easeInQuart:i=>i**4,easeOutQuart:i=>1- --i**4,easeInOutQuart:i=>i<.5?8*i**4:1-8*--i**4,easeInQuint:i=>i**5,easeOutQuint:i=>1+--i**5,easeInOutQuint:i=>i<.5?16*i**5:1+16*--i**5,instant:i=>1};function wk(i,e,t){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:d=>d,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:d=>d;const r=Ns("useProxiedModel"),n=nt(i[e]!==void 0?i[e]:t),o=Ba(e),c=Xe(o!==e?()=>{var d,h,f,g;return i[e],!!(((d=r.vnode.props)!=null&&d.hasOwnProperty(e)||(h=r.vnode.props)!=null&&h.hasOwnProperty(o))&&((f=r.vnode.props)!=null&&f.hasOwnProperty(`onUpdate:${e}`)||(g=r.vnode.props)!=null&&g.hasOwnProperty(`onUpdate:${o}`)))}:()=>{var d,h;return i[e],!!((d=r.vnode.props)!=null&&d.hasOwnProperty(e)&&((h=r.vnode.props)!=null&&h.hasOwnProperty(`onUpdate:${e}`)))});D0(()=>!c.value,()=>{At(()=>i[e],d=>{n.value=d})});const u=Xe({get(){const d=i[e];return a(c.value?d:n.value)},set(d){const h=s(d),f=Pe(c.value?i[e]:n.value);f===h||a(f)===d||(n.value=h,r==null||r.emit(`update:${e}`,h))}});return Object.defineProperty(u,"externalValue",{get:()=>c.value?i[e]:n.value}),u}const Dh="$vuetify.",Lh=(i,e)=>i.replace(/\{(\d+)\}/g,(t,a)=>String(e[Number(a)])),Tm=(i,e,t)=>function(a){for(var s=arguments.length,r=new Array(s>1?s-1:0),n=1;n<s;n++)r[n-1]=arguments[n];if(!a.startsWith(Dh))return Lh(a,r);const o=a.replace(Dh,""),l=i.value&&t.value[i.value],c=e.value&&t.value[e.value];let u=yc(l,o,null);return u||(`${a}${i.value}`,u=yc(c,o,null)),u||(u=a),typeof u!="string"&&(u=a),Lh(u,r)};function qu(i,e){return(t,a)=>new Intl.NumberFormat([i.value,e.value],a).format(t)}function Dm(i,e){return qu(i,e)(.1).includes(",")?",":"."}function ml(i,e,t){const a=wk(i,e,i[e]??t.value);return a.value=i[e]??t.value,At(t,s=>{i[e]==null&&(a.value=t.value)}),a}function Lm(i){return e=>{const t=ml(e,"locale",i.current),a=ml(e,"fallback",i.fallback),s=ml(e,"messages",i.messages);return{name:"vuetify",current:t,fallback:a,messages:s,decimalSeparator:Wt(()=>Dm(t,a)),t:Tm(t,a,s),n:qu(t,a),provide:Lm({current:t,fallback:a,messages:s})}}}function kk(i){const e=Ti((i==null?void 0:i.locale)??"en"),t=Ti((i==null?void 0:i.fallback)??"en"),a=nt({en:jg,...i==null?void 0:i.messages});return{name:"vuetify",current:e,fallback:t,messages:a,decimalSeparator:Wt(()=>(i==null?void 0:i.decimalSeparator)??Dm(e,t)),t:Tm(e,t,a),n:qu(e,t),provide:Lm({current:e,fallback:t,messages:a})}}const so=Symbol.for("vuetify:locale");function Ak(i){return i.name!=null}function Sk(i){const e=i!=null&&i.adapter&&Ak(i==null?void 0:i.adapter)?i==null?void 0:i.adapter:kk(i),t=Ek(e,i);return{...e,...t}}function Rm(){const i=Je(so);if(!i)throw new Error("[Vuetify] Could not find injected locale instance");return i}function Ck(){return{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}}function Ek(i,e){const t=nt((e==null?void 0:e.rtl)??Ck()),a=Xe(()=>t.value[i.current.value]??!1);return{isRtl:a,rtl:t,rtlClasses:Wt(()=>`v-locale--is-${a.value?"rtl":"ltr"}`)}}function Mk(){const i=Je(so);if(!i)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:i.isRtl,rtlClasses:i.rtlClasses}}function Xr(i){const e=i.slice(-2).toUpperCase();switch(!0){case i==="GB-alt-variant":return{firstDay:0,firstWeekSize:4};case i==="001":return{firstDay:1,firstWeekSize:1};case`AG AS BD BR BS BT BW BZ CA CO DM DO ET GT GU HK HN ID IL IN JM JP KE
|
|
20
|
+
KH KR LA MH MM MO MT MX MZ NI NP PA PE PH PK PR PY SA SG SV TH TT TW UM US
|
|
21
|
+
VE VI WS YE ZA ZW`.includes(e):return{firstDay:0,firstWeekSize:1};case`AI AL AM AR AU AZ BA BM BN BY CL CM CN CR CY EC GE HR KG KZ LB LK LV
|
|
22
|
+
MD ME MK MN MY NZ RO RS SI TJ TM TR UA UY UZ VN XK`.includes(e):return{firstDay:1,firstWeekSize:1};case`AD AN AT AX BE BG CH CZ DE DK EE ES FI FJ FO FR GB GF GP GR HU IE IS
|
|
23
|
+
IT LI LT LU MC MQ NL NO PL RE RU SE SK SM VA`.includes(e):return{firstDay:1,firstWeekSize:4};case"AE AF BH DJ DZ EG IQ IR JO KW LY OM QA SD SY".includes(e):return{firstDay:6,firstWeekSize:1};case e==="MV":return{firstDay:5,firstWeekSize:1};case e==="PT":return{firstDay:0,firstWeekSize:4};default:return null}}function Pk(i,e,t){var u;const a=[];let s=[];const r=Nm(i),n=Om(i),o=t??((u=Xr(e))==null?void 0:u.firstDay)??0,l=(r.getDay()-o+7)%7,c=(n.getDay()-o+7)%7;for(let d=0;d<l;d++){const h=new Date(r);h.setDate(h.getDate()-(l-d)),s.push(h)}for(let d=1;d<=n.getDate();d++){const h=new Date(i.getFullYear(),i.getMonth(),d);s.push(h),s.length===7&&(a.push(s),s=[])}for(let d=1;d<7-c;d++){const h=new Date(n);h.setDate(h.getDate()+d),s.push(h)}return s.length>0&&a.push(s),a}function ro(i,e,t){var r;let a=(t??((r=Xr(e))==null?void 0:r.firstDay)??0)%7;[0,1,2,3,4,5,6].includes(a)||(a=0);const s=new Date(i);for(;s.getDay()!==a;)s.setDate(s.getDate()-1);return s}function _k(i,e){var s;const t=new Date(i),a=((((s=Xr(e))==null?void 0:s.firstDay)??0)+6)%7;for(;t.getDay()!==a;)t.setDate(t.getDate()+1);return t}function Nm(i){return new Date(i.getFullYear(),i.getMonth(),1)}function Om(i){return new Date(i.getFullYear(),i.getMonth()+1,0)}function Ik(i){const e=i.split("-").map(Number);return new Date(e[0],e[1]-1,e[2])}const Tk=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function Fm(i){if(i==null)return new Date;if(i instanceof Date)return i;if(typeof i=="string"){let e;if(Tk.test(i))return Ik(i);if(e=Date.parse(i),!isNaN(e))return new Date(e)}return null}const Rh=new Date(2e3,0,2);function Dk(i,e,t){var s;const a=e??((s=Xr(i))==null?void 0:s.firstDay)??0;return km(7).map(r=>{const n=new Date(Rh);return n.setDate(Rh.getDate()+a+r),new Intl.DateTimeFormat(i,{weekday:t??"narrow"}).format(n)})}function Lk(i,e,t,a){const s=Fm(i)??new Date,r=a==null?void 0:a[e];if(typeof r=="function")return r(s,e,t);let n={};switch(e){case"fullDate":n={year:"numeric",month:"short",day:"numeric"};break;case"fullDateWithWeekday":n={weekday:"long",year:"numeric",month:"long",day:"numeric"};break;case"normalDate":const o=s.getDate(),l=new Intl.DateTimeFormat(t,{month:"long"}).format(s);return`${o} ${l}`;case"normalDateWithWeekday":n={weekday:"short",day:"numeric",month:"short"};break;case"shortDate":n={month:"short",day:"numeric"};break;case"year":n={year:"numeric"};break;case"month":n={month:"long"};break;case"monthShort":n={month:"short"};break;case"monthAndYear":n={month:"long",year:"numeric"};break;case"monthAndDate":n={month:"long",day:"numeric"};break;case"weekday":n={weekday:"long"};break;case"weekdayShort":n={weekday:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(t).format(s.getDate());case"hours12h":n={hour:"numeric",hour12:!0};break;case"hours24h":n={hour:"numeric",hour12:!1};break;case"minutes":n={minute:"numeric"};break;case"seconds":n={second:"numeric"};break;case"fullTime":n={hour:"numeric",minute:"numeric"};break;case"fullTime12h":n={hour:"numeric",minute:"numeric",hour12:!0};break;case"fullTime24h":n={hour:"numeric",minute:"numeric",hour12:!1};break;case"fullDateTime":n={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"};break;case"fullDateTime12h":n={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!0};break;case"fullDateTime24h":n={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!1};break;case"keyboardDate":n={year:"numeric",month:"2-digit",day:"2-digit"};break;case"keyboardDateTime":return n={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric"},new Intl.DateTimeFormat(t,n).format(s).replace(/, /g," ");case"keyboardDateTime12h":return n={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!0},new Intl.DateTimeFormat(t,n).format(s).replace(/, /g," ");case"keyboardDateTime24h":return n={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!1},new Intl.DateTimeFormat(t,n).format(s).replace(/, /g," ");default:n=r??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(t,n).format(s)}function Rk(i,e){const t=i.toJsDate(e),a=t.getFullYear(),s=wh(String(t.getMonth()+1),2,"0"),r=wh(String(t.getDate()),2,"0");return`${a}-${s}-${r}`}function Nk(i){const[e,t,a]=i.split("-").map(Number);return new Date(e,t-1,a)}function Ok(i,e){const t=new Date(i);return t.setMinutes(t.getMinutes()+e),t}function Fk(i,e){const t=new Date(i);return t.setHours(t.getHours()+e),t}function Ha(i,e){const t=new Date(i);return t.setDate(t.getDate()+e),t}function zk(i,e){const t=new Date(i);return t.setDate(t.getDate()+e*7),t}function Bk(i,e){const t=new Date(i);return t.setDate(1),t.setMonth(t.getMonth()+e),t}function Mr(i){return i.getFullYear()}function Hk(i){return i.getMonth()}function Wk(i,e,t,a){const s=Xr(e),r=t??(s==null?void 0:s.firstDay)??0,n=(s==null?void 0:s.firstWeekSize)??1;return a!==void 0?jk(i,e,r,a):Vk(i,e,r,n)}function jk(i,e,t,a){const s=(7+a-t)%7,r=ro(i,e,t),n=Ha(r,6);function o(h){return(7+new Date(h,0,1).getDay()-t)%7}let l=Mr(i);l<Mr(n)&&o(l+1)<=s&&l++;const c=new Date(l,0,1),u=o(l),d=u<=s?Ha(c,-u):Ha(c,7-u);return 1+oo(Gu(i),Pr(d),"weeks")}function Vk(i,e,t,a){const s=Ha(ro(i,e,t),6);function r(u){const d=new Date(u,0,1);return 7-oo(d,ro(d,e,t),"days")}let n=Mr(i);n<Mr(s)&&r(n+1)>=a&&n++;const o=new Date(n,0,1),l=r(n),c=l>=a?Ha(o,l-7):Ha(o,l);return 1+oo(Gu(i),Pr(c),"weeks")}function Yk(i){return i.getDate()}function Uk(i){return new Date(i.getFullYear(),i.getMonth()+1,1)}function Xk(i){return new Date(i.getFullYear(),i.getMonth()-1,1)}function qk(i){return i.getHours()}function Gk(i){return i.getMinutes()}function $k(i){return new Date(i.getFullYear(),0,1)}function Kk(i){return new Date(i.getFullYear(),11,31)}function Zk(i,e){return no(i,e[0])&&eA(i,e[1])}function Jk(i){const e=new Date(i);return e instanceof Date&&!isNaN(e.getTime())}function no(i,e){return i.getTime()>e.getTime()}function Qk(i,e){return no(Pr(i),Pr(e))}function eA(i,e){return i.getTime()<e.getTime()}function Nh(i,e){return i.getTime()===e.getTime()}function tA(i,e){return i.getDate()===e.getDate()&&i.getMonth()===e.getMonth()&&i.getFullYear()===e.getFullYear()}function iA(i,e){return i.getMonth()===e.getMonth()&&i.getFullYear()===e.getFullYear()}function aA(i,e){return i.getFullYear()===e.getFullYear()}function oo(i,e,t){const a=new Date(i),s=new Date(e);switch(t){case"years":return a.getFullYear()-s.getFullYear();case"quarters":return Math.floor((a.getMonth()-s.getMonth()+(a.getFullYear()-s.getFullYear())*12)/4);case"months":return a.getMonth()-s.getMonth()+(a.getFullYear()-s.getFullYear())*12;case"weeks":return Math.floor((a.getTime()-s.getTime())/(1e3*60*60*24*7));case"days":return Math.floor((a.getTime()-s.getTime())/(1e3*60*60*24));case"hours":return Math.floor((a.getTime()-s.getTime())/(1e3*60*60));case"minutes":return Math.floor((a.getTime()-s.getTime())/(1e3*60));case"seconds":return Math.floor((a.getTime()-s.getTime())/1e3);default:return a.getTime()-s.getTime()}}function sA(i,e){const t=new Date(i);return t.setHours(e),t}function rA(i,e){const t=new Date(i);return t.setMinutes(e),t}function nA(i,e){const t=new Date(i);return t.setMonth(e),t}function oA(i,e){const t=new Date(i);return t.setDate(e),t}function lA(i,e){const t=new Date(i);return t.setFullYear(e),t}function Pr(i){return new Date(i.getFullYear(),i.getMonth(),i.getDate(),0,0,0,0)}function Gu(i){return new Date(i.getFullYear(),i.getMonth(),i.getDate(),23,59,59,999)}class cA{constructor(e){this.locale=e.locale,this.formats=e.formats}date(e){return Fm(e)}toJsDate(e){return e}toISO(e){return Rk(this,e)}parseISO(e){return Nk(e)}addMinutes(e,t){return Ok(e,t)}addHours(e,t){return Fk(e,t)}addDays(e,t){return Ha(e,t)}addWeeks(e,t){return zk(e,t)}addMonths(e,t){return Bk(e,t)}getWeekArray(e,t){const a=t!==void 0?Number(t):void 0;return Pk(e,this.locale,a)}startOfWeek(e,t){const a=t!==void 0?Number(t):void 0;return ro(e,this.locale,a)}endOfWeek(e){return _k(e,this.locale)}startOfMonth(e){return Nm(e)}endOfMonth(e){return Om(e)}format(e,t){return Lk(e,t,this.locale,this.formats)}isEqual(e,t){return Nh(e,t)}isValid(e){return Jk(e)}isWithinRange(e,t){return Zk(e,t)}isAfter(e,t){return no(e,t)}isAfterDay(e,t){return Qk(e,t)}isBefore(e,t){return!no(e,t)&&!Nh(e,t)}isSameDay(e,t){return tA(e,t)}isSameMonth(e,t){return iA(e,t)}isSameYear(e,t){return aA(e,t)}setMinutes(e,t){return rA(e,t)}setHours(e,t){return sA(e,t)}setMonth(e,t){return nA(e,t)}setDate(e,t){return oA(e,t)}setYear(e,t){return lA(e,t)}getDiff(e,t,a){return oo(e,t,a)}getWeekdays(e,t){const a=e!==void 0?Number(e):void 0;return Dk(this.locale,a,t)}getYear(e){return Mr(e)}getMonth(e){return Hk(e)}getWeek(e,t,a){const s=t!==void 0?Number(t):void 0,r=a!==void 0?Number(a):void 0;return Wk(e,this.locale,s,r)}getDate(e){return Yk(e)}getNextMonth(e){return Uk(e)}getPreviousMonth(e){return Xk(e)}getHours(e){return qk(e)}getMinutes(e){return Gk(e)}startOfDay(e){return Pr(e)}endOfDay(e){return Gu(e)}startOfYear(e){return $k(e)}endOfYear(e){return Kk(e)}}const zm=Symbol.for("vuetify:date-options"),Oh=Symbol.for("vuetify:date-adapter");function uA(i,e){const t=Mt({adapter:cA,locale:{af:"af-ZA",bg:"bg-BG",ca:"ca-ES",ckb:"",cs:"cs-CZ",de:"de-DE",el:"el-GR",en:"en-US",et:"et-EE",fa:"fa-IR",fi:"fi-FI",hr:"hr-HR",hu:"hu-HU",he:"he-IL",id:"id-ID",it:"it-IT",ja:"ja-JP",ko:"ko-KR",lv:"lv-LV",lt:"lt-LT",nl:"nl-NL",no:"no-NO",pl:"pl-PL",pt:"pt-PT",ro:"ro-RO",ru:"ru-RU",sk:"sk-SK",sl:"sl-SI",srCyrl:"sr-SP",srLatn:"sr-SP",sv:"sv-SE",th:"th-TH",tr:"tr-TR",az:"az-AZ",uk:"uk-UA",vi:"vi-VN",zhHans:"zh-CN",zhHant:"zh-TW"}},i);return{options:t,instance:Bm(t,e)}}function NT(i,e,t){const a=dA(i,e,t),s=[e];for(let r=1;r<a;r++){const n=i.addDays(e,r);s.push(n)}return t&&s.push(i.endOfDay(t)),s}function dA(i,e,t){const a=[`${i.toISO(t??e).split("T")[0]}T00:00:00Z`,`${i.toISO(e).split("T")[0]}T00:00:00Z`];return typeof i.date()=="string"?i.getDiff(a[0],a[1],"days"):i.getDiff(i.date(a[0]),i.date(a[1]),"days")}function Bm(i,e){const t=Di(typeof i.adapter=="function"?new i.adapter({locale:i.locale[e.current.value]??e.current.value,formats:i.formats}):i.adapter);return At(e.current,a=>{t.locale=i.locale[a]??a??t.locale}),t}function OT(){const i=Je(zm);if(!i)throw new Error("[Vuetify] Could not find injected date options");const e=Rm();return Bm(i,e)}const FT=["sm","md","lg","xl","xxl"],kc=Symbol.for("vuetify:display"),Fh={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},hA=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Fh;return Mt(Fh,i)};function zh(i){return Nt&&!i?window.innerWidth:typeof i=="object"&&i.clientWidth||0}function Bh(i){return Nt&&!i?window.innerHeight:typeof i=="object"&&i.clientHeight||0}function Hh(i){const e=Nt&&!i?window.navigator.userAgent:"ssr";function t(g){return!!e.match(g)}const a=t(/android/i),s=t(/iphone|ipad|ipod/i),r=t(/cordova/i),n=t(/electron/i),o=t(/chrome/i),l=t(/edge/i),c=t(/firefox/i),u=t(/opera/i),d=t(/win/i),h=t(/mac/i),f=t(/linux/i);return{android:a,ios:s,cordova:r,electron:n,chrome:o,edge:l,firefox:c,opera:u,win:d,mac:h,linux:f,touch:R0,ssr:e==="ssr"}}function fA(i,e){const{thresholds:t,mobileBreakpoint:a}=hA(i),s=Ti(Bh(e)),r=Ti(Hh(e)),n=Di({}),o=Ti(zh(e));function l(){s.value=Bh(),o.value=zh()}function c(){l(),r.value=Hh()}return Lo(()=>{const u=o.value<t.sm,d=o.value<t.md&&!u,h=o.value<t.lg&&!(d||u),f=o.value<t.xl&&!(h||d||u),g=o.value<t.xxl&&!(f||h||d||u),p=o.value>=t.xxl,m=u?"xs":d?"sm":h?"md":f?"lg":g?"xl":"xxl",b=typeof a=="number"?a:t[a],v=o.value<b;n.xs=u,n.sm=d,n.md=h,n.lg=f,n.xl=g,n.xxl=p,n.smAndUp=!u,n.mdAndUp=!(u||d),n.lgAndUp=!(u||d||h),n.xlAndUp=!(u||d||h||f),n.smAndDown=!(h||f||g||p),n.mdAndDown=!(f||g||p),n.lgAndDown=!(g||p),n.xlAndDown=!p,n.name=m,n.height=s.value,n.width=o.value,n.mobile=v,n.mobileBreakpoint=a,n.platform=r.value,n.thresholds=t}),Nt&&(window.addEventListener("resize",l,{passive:!0}),Mo(()=>{window.removeEventListener("resize",l)},!0)),{...Ru(n),update:c,ssr:!!e}}const zT=zo({mobile:{type:Boolean,default:!1},mobileBreakpoint:[Number,String]},"display");function BT(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{mobile:null},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gk();const t=Je(kc);if(!t)throw new Error("Could not find Vuetify display injection");const a=Xe(()=>i.mobile?!0:typeof i.mobileBreakpoint=="number"?t.width.value<i.mobileBreakpoint:i.mobileBreakpoint?t.width.value<t.thresholds.value[i.mobileBreakpoint]:i.mobile===null?t.mobile.value:!1),s=Wt(()=>e?{[`${e}--mobile`]:a.value}:{});return{...t,displayClasses:s,mobile:a}}const Hm=Symbol.for("vuetify:goto");function Wm(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:yk}}function gA(i){return $u(i)??(document.scrollingElement||document.body)}function $u(i){return typeof i=="string"?document.querySelector(i):Am(i)}function bl(i,e,t){if(typeof i=="number")return e&&t?-i:i;let a=$u(i),s=0;for(;a;)s+=e?a.offsetLeft:a.offsetTop,a=a.offsetParent;return s}function pA(i,e){return{rtl:e.isRtl,options:Mt(Wm(),i)}}async function Wh(i,e,t,a){const s=t?"scrollLeft":"scrollTop",r=Mt((a==null?void 0:a.options)??Wm(),e),n=a==null?void 0:a.rtl.value,o=(typeof i=="number"?i:$u(i))??0,l=r.container==="parent"&&o instanceof HTMLElement?o.parentElement:gA(r.container),c=N0()?r.patterns.instant:typeof r.easing=="function"?r.easing:r.patterns[r.easing];if(!c)throw new TypeError(`Easing function "${r.easing}" not found.`);let u;if(typeof o=="number")u=bl(o,t,n);else if(u=bl(o,t,n)-bl(l,t,n),r.layout){const g=window.getComputedStyle(o).getPropertyValue("--v-layout-top");g&&(u-=parseInt(g,10))}u+=r.offset,u=mA(l,u,!!n,!!t);const d=l[s]??0;if(u===d)return Promise.resolve(u);const h=performance.now();return new Promise(f=>requestAnimationFrame(function g(p){const b=(p-h)/r.duration,v=Math.floor(d+(u-d)*c(Yu(b,0,1)));if(l[s]=v,b>=1&&Math.abs(v-l[s])<10)return f(u);if(b>2)return f(l[s]);requestAnimationFrame(g)}))}function HT(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e=Je(Hm),{isRtl:t}=Mk();if(!e)throw new Error("[Vuetify] Could not find injected goto instance");const a={...e,rtl:Wt(()=>e.rtl.value||t.value)};async function s(r,n){return Wh(r,Mt(i,n),!1,a)}return s.horizontal=async(r,n)=>Wh(r,Mt(i,n),!0,a),s}function mA(i,e,t,a){const{scrollWidth:s,scrollHeight:r}=i,[n,o]=i===document.scrollingElement?[window.innerWidth,window.innerHeight]:[i.offsetWidth,i.offsetHeight];let l,c;return a?t?(l=-(s-n),c=0):(l=0,c=s-n):(l=0,c=r+-o),Yu(e,l,c)}const bA={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",treeviewCollapse:"mdi-menu-down",treeviewExpand:"mdi-menu-right",tableGroupCollapse:"mdi-chevron-down",tableGroupExpand:"mdi-chevron-right",eyeDropper:"mdi-eyedropper",upload:"mdi-cloud-upload",color:"mdi-palette",command:"mdi-apple-keyboard-command",ctrl:"mdi-apple-keyboard-control",space:"mdi-keyboard-space",shift:"mdi-apple-keyboard-shift",alt:"mdi-apple-keyboard-option",enter:"mdi-keyboard-return",arrowup:"mdi-arrow-up",arrowdown:"mdi-arrow-down",arrowleft:"mdi-arrow-left",arrowright:"mdi-arrow-right",backspace:"mdi-backspace",play:"mdi-play",pause:"mdi-pause",fullscreen:"mdi-fullscreen",fullscreenExit:"mdi-fullscreen-exit",volumeHigh:"mdi-volume-high",volumeMedium:"mdi-volume-medium",volumeLow:"mdi-volume-low",volumeOff:"mdi-volume-variant-off"},vA={component:i=>Yr(Vm,{...i,class:"mdi"})},xA=[String,Function,Object,Array],Ac=Symbol.for("vuetify:icons"),Bo=zo({icon:{type:xA},tag:{type:[String,Object,Function],required:!0}},"icon"),jh=xk()({name:"VComponentIcon",props:Bo(),setup(i,e){let{slots:t}=e;return()=>{const a=i.icon;return it(i.tag,null,{default:()=>{var s;return[i.icon?it(a,null,null):(s=t.default)==null?void 0:s.call(t)]}})}}}),jm=Ur({name:"VSvgIcon",inheritAttrs:!1,props:Bo(),setup(i,e){let{attrs:t}=e;return()=>it(i.tag,lm(t,{style:null}),{default:()=>[gs("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(i.icon)?i.icon.map(a=>Array.isArray(a)?gs("path",{d:a[0],"fill-opacity":a[1]},null):gs("path",{d:a},null)):gs("path",{d:i.icon},null)])]})}});Ur({name:"VLigatureIcon",props:Bo(),setup(i){return()=>it(i.tag,null,{default:()=>[i.icon]})}});const Vm=Ur({name:"VClassIcon",props:Bo(),setup(i){return()=>it(i.tag,{class:Hr(i.icon)},null)}});function yA(){return{svg:{component:jm},class:{component:Vm}}}function wA(i){const e=yA(),t=(i==null?void 0:i.defaultSet)??"mdi";return t==="mdi"&&!e.mdi&&(e.mdi=vA),Mt({defaultSet:t,sets:e,aliases:{...bA,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z","vuetify-play":["m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z",["M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z",.6]]}},i)}const WT=i=>{const e=Je(Ac);if(!e)throw new Error("Missing Vuetify Icons provide!");return{iconData:Xe(()=>{var l;const a=Dy(i);if(!a)return{component:jh};let s=a;if(typeof s=="string"&&(s=s.trim(),s.startsWith("$")&&(s=(l=e.aliases)==null?void 0:l[s.slice(1)])),Array.isArray(s))return{component:jm,icon:s};if(typeof s!="string")return{component:jh,icon:s};const r=Object.keys(e.sets).find(c=>typeof s=="string"&&s.startsWith(`${c}:`)),n=r?s.slice(r.length+1):s;return{component:e.sets[r??e.defaultSet].component,icon:n}})}},_r=Symbol.for("vuetify:theme"),jT=zo({theme:String},"theme");function Vh(){return{defaultTheme:"light",prefix:"v-",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#EEEEEE","theme-on-kbd":"#000000","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#c8c8c8","on-surface-variant":"#000000",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#424242","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}},stylesheetId:"vuetify-theme-stylesheet",scoped:!1,unimportant:!1,utilities:!0}}function kA(){var a,s;let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Vh();const e=Vh();if(!i)return{...e,isDisabled:!0};const t={};for(const[r,n]of Object.entries(i.themes??{})){const o=n.dark||r==="dark"?(a=e.themes)==null?void 0:a.dark:(s=e.themes)==null?void 0:s.light;t[r]=Mt(o,n)}return Mt(e,{...i,themes:t})}function Aa(i,e,t,a){i.push(`${EA(e,a)} {
|
|
24
|
+
`,...t.map(s=>` ${s};
|
|
25
|
+
`),`}
|
|
26
|
+
`)}function Yh(i,e){const t=i.dark?2:1,a=i.dark?1:2,s=[];for(const[r,n]of Object.entries(i.colors)){const o=Wi(n);s.push(`--${e}theme-${r}: ${o.r},${o.g},${o.b}`),r.startsWith("on-")||s.push(`--${e}theme-${r}-overlay-multiplier: ${wc(n)>.18?t:a}`)}for(const[r,n]of Object.entries(i.variables)){const o=typeof n=="string"&&n.startsWith("#")?Wi(n):void 0,l=o?`${o.r}, ${o.g}, ${o.b}`:void 0;s.push(`--${e}${r}: ${l??n}`)}return s}function AA(i,e,t){const a={};if(t)for(const s of["lighten","darken"]){const r=s==="lighten"?dk:hk;for(const n of km(t[s],1))a[`${i}-${s}-${n}`]=_m(r(Wi(e),n))}return a}function SA(i,e){if(!e)return{};let t={};for(const a of e.colors){const s=i[a];s&&(t={...t,...AA(a,s,e)})}return t}function CA(i){const e={};for(const t of Object.keys(i)){if(t.startsWith("on-")||i[`on-${t}`])continue;const a=`on-${t}`,s=Wi(i[t]);e[a]=fk(s)}return e}function EA(i,e){if(!e)return i;const t=`:where(${e})`;return i===":root"?t:`${t} ${i}`}function MA(i,e,t){const a=PA(i,e);a&&(a.innerHTML=t)}function PA(i,e){if(!Nt)return null;let t=document.getElementById(i);return t||(t=document.createElement("style"),t.id=i,t.type="text/css",e&&t.setAttribute("nonce",e),document.head.appendChild(t)),t}function _A(i){const e=kA(i),t=Ti(e.defaultTheme),a=nt(e.themes),s=Ti("light"),r=Xe({get(){return t.value==="system"?s.value:t.value},set(b){t.value=b}}),n=Xe(()=>{const b={};for(const[v,x]of Object.entries(a.value)){const k={...x.colors,...SA(x.colors,e.variations)};b[v]={...x,colors:{...k,...CA(k)}}}return b}),o=Wt(()=>n.value[r.value]),l=Wt(()=>t.value==="system"),c=Xe(()=>{var k;const b=[],v=e.unimportant?"":" !important",x=e.scoped?e.prefix:"";(k=o.value)!=null&&k.dark&&Aa(b,":root",["color-scheme: dark"],e.scope),Aa(b,":root",Yh(o.value,e.prefix),e.scope);for(const[y,A]of Object.entries(n.value))Aa(b,`.${e.prefix}theme--${y}`,[`color-scheme: ${A.dark?"dark":"normal"}`,...Yh(A,e.prefix)],e.scope);if(e.utilities){const y=[],A=[],w=new Set(Object.values(n.value).flatMap(S=>Object.keys(S.colors)));for(const S of w)S.startsWith("on-")?Aa(A,`.${S}`,[`color: rgb(var(--${e.prefix}theme-${S}))${v}`],e.scope):(Aa(y,`.${x}bg-${S}`,[`--${e.prefix}theme-overlay-multiplier: var(--${e.prefix}theme-${S}-overlay-multiplier)`,`background-color: rgb(var(--${e.prefix}theme-${S}))${v}`,`color: rgb(var(--${e.prefix}theme-on-${S}))${v}`],e.scope),Aa(A,`.${x}text-${S}`,[`color: rgb(var(--${e.prefix}theme-${S}))${v}`],e.scope),Aa(A,`.${x}border-${S}`,[`--${e.prefix}border-color: var(--${e.prefix}theme-${S})`],e.scope));b.push(...y,...A)}return b.map((y,A)=>A===0?y:` ${y}`).join("")}),u=Wt(()=>e.isDisabled?void 0:`${e.prefix}theme--${r.value}`),d=Wt(()=>Object.keys(n.value));if(xm){let v=function(){s.value=b.matches?"dark":"light"};const b=window.matchMedia("(prefers-color-scheme: dark)");v(),b.addEventListener("change",v,{passive:!0}),Eu()&&Mo(()=>{b.removeEventListener("change",v)})}function h(b){if(e.isDisabled)return;const v=b._context.provides.usehead;if(v){let x=function(){return{style:[{textContent:c.value,id:e.stylesheetId,nonce:e.cspNonce||!1}]}};if(v.push){const k=v.push(x);Nt&&At(c,()=>{k.patch(x)})}else Nt?(v.addHeadObjs(Wt(x)),Lo(()=>v.updateDOM())):v.addHeadObjs(x())}else{let x=function(){MA(e.stylesheetId,e.cspNonce,c.value)};Nt?At(c,x,{immediate:!0}):x()}}function f(b){b!=="system"&&!d.value.includes(b)||(r.value=b)}function g(){let b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d.value;const v=b.indexOf(r.value),x=v===-1?0:(v+1)%b.length;f(b[x])}function p(){let b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["light","dark"];g(b)}const m=new Proxy(r,{get(b,v){return Reflect.get(b,v)},set(b,v,x){return v==="value"&&L0(`theme.global.name.value = ${x}`,`theme.change('${x}')`),Reflect.set(b,v,x)}});return{install:h,change:f,cycle:g,toggle:p,isDisabled:e.isDisabled,isSystem:l,name:r,themes:a,current:o,computedThemes:n,prefix:e.prefix,themeClasses:u,styles:c,global:{name:m,current:o}}}function VT(i){Ns("provideTheme");const e=Je(_r,null);if(!e)throw new Error("Could not find Vuetify theme injection");const t=Wt(()=>i.theme??e.name.value),a=Wt(()=>e.themes.value[t.value]),s=Wt(()=>e.isDisabled?void 0:`${e.prefix}theme--${t.value}`),r={...e,name:t,current:a,themeClasses:s};return za(_r,r),r}function YT(){Ns("useTheme");const i=Je(_r,null);if(!i)throw new Error("Could not find Vuetify theme injection");return i}function Ym(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:e,...t}=i,a=Mt(e,t),{aliases:s={},components:r={},directives:n={}}=a,o=xr();return o.run(()=>{const l=mk(a.defaults),c=fA(a.display,a.ssr),u=_A(a.theme),d=wA(a.icons),h=Sk(a.locale),f=uA(a.date,h),g=pA(a.goTo,h);function p(b){for(const x in n)b.directive(x,n[x]);for(const x in r)b.component(x,r[x]);for(const x in s)b.component(x,Ur({...s[x],name:x,aliasName:s[x].name}));const v=xr();if(v.run(()=>{u.install(b)}),b.onUnmount(()=>v.stop()),b.provide(Ms,l),b.provide(kc,c),b.provide(_r,u),b.provide(Ac,d),b.provide(so,h),b.provide(zm,f.options),b.provide(Oh,f.instance),b.provide(Hm,g),Nt&&a.ssr)if(b.$nuxt)b.$nuxt.hook("app:suspense:resolve",()=>{c.update()});else{const{mount:x}=b;b.mount=function(){const k=x(...arguments);return Vr(()=>c.update()),b.mount=x,k}}b.mixin({computed:{$vuetify(){return Di({defaults:as.call(this,Ms),display:as.call(this,kc),theme:as.call(this,_r),icons:as.call(this,Ac),locale:as.call(this,so),date:as.call(this,Oh)})}}})}function m(){o.stop()}return{install:p,unmount:m,defaults:l,display:c,theme:u,icons:d,locale:h,date:f,goTo:g}})}const IA="3.10.11";Ym.version=IA;function as(i){var a,s;const e=this.$,t=((a=e.parent)==null?void 0:a.provides)??((s=e.vnode.appContext)==null?void 0:s.provides);if(t&&i in t)return t[i]}const TA=Ym({theme:{themes:{light:{colors:{primary:"#046BF8","primary-lighten-1":"#3688F9","primary-darken-1":"#0350BA",secondary:"#F18429",label:"#616161"}}}},locale:{locale:"en",fallback:"en",messages:{cs:Hx,de:Wx,el:jx,en:jg,es:Vx,fi:Yx,fr:Ux,it:Xx,ja:qx,nl:Gx,pl:$x,pt:Kx,ru:Zx,sv:Jx,tr:Qx,zhHans:ey}},styles:{configFile:"src/styles/settings.scss"},defaults:{VCard:{class:"pa-2",VCardTitle:{class:"d-flex",style:"align-items: center;"}}}}),DA="modulepreload",LA=function(i){return"/"+i},Uh={},we=function(e,t,a){let s=Promise.resolve();if(t&&t.length>0){let n=function(c){return Promise.all(c.map(u=>Promise.resolve(u).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));s=n(t.map(c=>{if(c=LA(c),c in Uh)return;Uh[c]=!0;const u=c.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${d}`))return;const h=document.createElement("link");if(h.rel=u?"stylesheet":DA,u||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),u)return new Promise((f,g)=>{h.addEventListener("load",f),h.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${c}`)))})}))}function r(n){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=n,window.dispatchEvent(o),!o.defaultPrevented)throw n}return s.then(n=>{for(const o of n||[])o.status==="rejected"&&r(o.reason);return e().catch(r)})};/*!
|
|
27
|
+
* vue-router v4.6.3
|
|
28
|
+
* (c) 2025 Eduardo San Martin Morote
|
|
29
|
+
* @license MIT
|
|
30
|
+
*/const fs=typeof document<"u";function Um(i){return typeof i=="object"||"displayName"in i||"props"in i||"__vccOpts"in i}function RA(i){return i.__esModule||i[Symbol.toStringTag]==="Module"||i.default&&Um(i.default)}const Be=Object.assign;function vl(i,e){const t={};for(const a in e){const s=e[a];t[a]=mi(s)?s.map(i):i(s)}return t}const gr=()=>{},mi=Array.isArray;function Xh(i,e){const t={};for(const a in i)t[a]=a in e?e[a]:i[a];return t}const Xm=/#/g,NA=/&/g,OA=/\//g,FA=/=/g,zA=/\?/g,qm=/\+/g,BA=/%5B/g,HA=/%5D/g,Gm=/%5E/g,WA=/%60/g,$m=/%7B/g,jA=/%7C/g,Km=/%7D/g,VA=/%20/g;function Ku(i){return i==null?"":encodeURI(""+i).replace(jA,"|").replace(BA,"[").replace(HA,"]")}function YA(i){return Ku(i).replace($m,"{").replace(Km,"}").replace(Gm,"^")}function Sc(i){return Ku(i).replace(qm,"%2B").replace(VA,"+").replace(Xm,"%23").replace(NA,"%26").replace(WA,"`").replace($m,"{").replace(Km,"}").replace(Gm,"^")}function UA(i){return Sc(i).replace(FA,"%3D")}function XA(i){return Ku(i).replace(Xm,"%23").replace(zA,"%3F")}function qA(i){return XA(i).replace(OA,"%2F")}function Ir(i){if(i==null)return null;try{return decodeURIComponent(""+i)}catch{}return""+i}const GA=/\/$/,$A=i=>i.replace(GA,"");function xl(i,e,t="/"){let a,s={},r="",n="";const o=e.indexOf("#");let l=e.indexOf("?");return l=o>=0&&l>o?-1:l,l>=0&&(a=e.slice(0,l),r=e.slice(l,o>0?o:e.length),s=i(r.slice(1))),o>=0&&(a=a||e.slice(0,o),n=e.slice(o,e.length)),a=QA(a??e,t),{fullPath:a+r+n,path:a,query:s,hash:Ir(n)}}function KA(i,e){const t=e.query?i(e.query):"";return e.path+(t&&"?")+t+(e.hash||"")}function qh(i,e){return!e||!i.toLowerCase().startsWith(e.toLowerCase())?i:i.slice(e.length)||"/"}function ZA(i,e,t){const a=e.matched.length-1,s=t.matched.length-1;return a>-1&&a===s&&Ps(e.matched[a],t.matched[s])&&Zm(e.params,t.params)&&i(e.query)===i(t.query)&&e.hash===t.hash}function Ps(i,e){return(i.aliasOf||i)===(e.aliasOf||e)}function Zm(i,e){if(Object.keys(i).length!==Object.keys(e).length)return!1;for(const t in i)if(!JA(i[t],e[t]))return!1;return!0}function JA(i,e){return mi(i)?Gh(i,e):mi(e)?Gh(e,i):i===e}function Gh(i,e){return mi(e)?i.length===e.length&&i.every((t,a)=>t===e[a]):i.length===1&&i[0]===e}function QA(i,e){if(i.startsWith("/"))return i;if(!i)return e;const t=e.split("/"),a=i.split("/"),s=a[a.length-1];(s===".."||s===".")&&a.push("");let r=t.length-1,n,o;for(n=0;n<a.length;n++)if(o=a[n],o!==".")if(o==="..")r>1&&r--;else break;return t.slice(0,r).join("/")+"/"+a.slice(n).join("/")}const Qi={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Cc=(function(i){return i.pop="pop",i.push="push",i})({}),yl=(function(i){return i.back="back",i.forward="forward",i.unknown="",i})({});function eS(i){if(!i)if(fs){const e=document.querySelector("base");i=e&&e.getAttribute("href")||"/",i=i.replace(/^\w+:\/\/[^\/]+/,"")}else i="/";return i[0]!=="/"&&i[0]!=="#"&&(i="/"+i),$A(i)}const tS=/^[^#]+#/;function iS(i,e){return i.replace(tS,"#")+e}function aS(i,e){const t=document.documentElement.getBoundingClientRect(),a=i.getBoundingClientRect();return{behavior:e.behavior,left:a.left-t.left-(e.left||0),top:a.top-t.top-(e.top||0)}}const Ho=()=>({left:window.scrollX,top:window.scrollY});function sS(i){let e;if("el"in i){const t=i.el,a=typeof t=="string"&&t.startsWith("#"),s=typeof t=="string"?a?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!s)return;e=aS(s,i)}else e=i;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function $h(i,e){return(history.state?history.state.position-e:-1)+i}const Ec=new Map;function rS(i,e){Ec.set(i,e)}function nS(i){const e=Ec.get(i);return Ec.delete(i),e}function oS(i){return typeof i=="string"||i&&typeof i=="object"}function Jm(i){return typeof i=="string"||typeof i=="symbol"}let et=(function(i){return i[i.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",i[i.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",i[i.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",i[i.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",i[i.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",i})({});const Qm=Symbol("");et.MATCHER_NOT_FOUND+"",et.NAVIGATION_GUARD_REDIRECT+"",et.NAVIGATION_ABORTED+"",et.NAVIGATION_CANCELLED+"",et.NAVIGATION_DUPLICATED+"";function _s(i,e){return Be(new Error,{type:i,[Qm]:!0},e)}function Ni(i,e){return i instanceof Error&&Qm in i&&(e==null||!!(i.type&e))}const lS=["params","query","hash"];function cS(i){if(typeof i=="string")return i;if(i.path!=null)return i.path;const e={};for(const t of lS)t in i&&(e[t]=i[t]);return JSON.stringify(e,null,2)}function uS(i){const e={};if(i===""||i==="?")return e;const t=(i[0]==="?"?i.slice(1):i).split("&");for(let a=0;a<t.length;++a){const s=t[a].replace(qm," "),r=s.indexOf("="),n=Ir(r<0?s:s.slice(0,r)),o=r<0?null:Ir(s.slice(r+1));if(n in e){let l=e[n];mi(l)||(l=e[n]=[l]),l.push(o)}else e[n]=o}return e}function Kh(i){let e="";for(let t in i){const a=i[t];if(t=UA(t),a==null){a!==void 0&&(e+=(e.length?"&":"")+t);continue}(mi(a)?a.map(s=>s&&Sc(s)):[a&&Sc(a)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+t,s!=null&&(e+="="+s))})}return e}function dS(i){const e={};for(const t in i){const a=i[t];a!==void 0&&(e[t]=mi(a)?a.map(s=>s==null?null:""+s):a==null?a:""+a)}return e}const hS=Symbol(""),Zh=Symbol(""),Wo=Symbol(""),Zu=Symbol(""),Mc=Symbol("");function Zs(){let i=[];function e(a){return i.push(a),()=>{const s=i.indexOf(a);s>-1&&i.splice(s,1)}}function t(){i=[]}return{add:e,list:()=>i.slice(),reset:t}}function ra(i,e,t,a,s,r=n=>n()){const n=a&&(a.enterCallbacks[s]=a.enterCallbacks[s]||[]);return()=>new Promise((o,l)=>{const c=h=>{h===!1?l(_s(et.NAVIGATION_ABORTED,{from:t,to:e})):h instanceof Error?l(h):oS(h)?l(_s(et.NAVIGATION_GUARD_REDIRECT,{from:e,to:h})):(n&&a.enterCallbacks[s]===n&&typeof h=="function"&&n.push(h),o())},u=r(()=>i.call(a&&a.instances[s],e,t,c));let d=Promise.resolve(u);i.length<3&&(d=d.then(c)),d.catch(h=>l(h))})}function wl(i,e,t,a,s=r=>r()){const r=[];for(const n of i)for(const o in n.components){let l=n.components[o];if(!(e!=="beforeRouteEnter"&&!n.instances[o]))if(Um(l)){const c=(l.__vccOpts||l)[e];c&&r.push(ra(c,t,a,n,o,s))}else{let c=l();r.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${o}" at "${n.path}"`);const d=RA(u)?u.default:u;n.mods[o]=u,n.components[o]=d;const h=(d.__vccOpts||d)[e];return h&&ra(h,t,a,n,o,s)()}))}}return r}function fS(i,e){const t=[],a=[],s=[],r=Math.max(e.matched.length,i.matched.length);for(let n=0;n<r;n++){const o=e.matched[n];o&&(i.matched.find(c=>Ps(c,o))?a.push(o):t.push(o));const l=i.matched[n];l&&(e.matched.find(c=>Ps(c,l))||s.push(l))}return[t,a,s]}/*!
|
|
31
|
+
* vue-router v4.6.3
|
|
32
|
+
* (c) 2025 Eduardo San Martin Morote
|
|
33
|
+
* @license MIT
|
|
34
|
+
*/let gS=()=>location.protocol+"//"+location.host;function eb(i,e){const{pathname:t,search:a,hash:s}=e,r=i.indexOf("#");if(r>-1){let n=s.includes(i.slice(r))?i.slice(r).length:1,o=s.slice(n);return o[0]!=="/"&&(o="/"+o),qh(o,"")}return qh(t,i)+a+s}function pS(i,e,t,a){let s=[],r=[],n=null;const o=({state:h})=>{const f=eb(i,location),g=t.value,p=e.value;let m=0;if(h){if(t.value=f,e.value=h,n&&n===g){n=null;return}m=p?h.position-p.position:0}else a(f);s.forEach(b=>{b(t.value,g,{delta:m,type:Cc.pop,direction:m?m>0?yl.forward:yl.back:yl.unknown})})};function l(){n=t.value}function c(h){s.push(h);const f=()=>{const g=s.indexOf(h);g>-1&&s.splice(g,1)};return r.push(f),f}function u(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(Be({},h.state,{scroll:Ho()}),"")}}function d(){for(const h of r)h();r=[],window.removeEventListener("popstate",o),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",o),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:l,listen:c,destroy:d}}function Jh(i,e,t,a=!1,s=!1){return{back:i,current:e,forward:t,replaced:a,position:window.history.length,scroll:s?Ho():null}}function mS(i){const{history:e,location:t}=window,a={value:eb(i,t)},s={value:e.state};s.value||r(a.value,{back:null,current:a.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(l,c,u){const d=i.indexOf("#"),h=d>-1?(t.host&&document.querySelector("base")?i:i.slice(d))+l:gS()+i+l;try{e[u?"replaceState":"pushState"](c,"",h),s.value=c}catch(f){console.error(f),t[u?"replace":"assign"](h)}}function n(l,c){r(l,Be({},e.state,Jh(s.value.back,l,s.value.forward,!0),c,{position:s.value.position}),!0),a.value=l}function o(l,c){const u=Be({},s.value,e.state,{forward:l,scroll:Ho()});r(u.current,u,!0),r(l,Be({},Jh(a.value,l,null),{position:u.position+1},c),!1),a.value=l}return{location:a,state:s,push:o,replace:n}}function bS(i){i=eS(i);const e=mS(i),t=pS(i,e.state,e.location,e.replace);function a(r,n=!0){n||t.pauseListeners(),history.go(r)}const s=Be({location:"",base:i,go:a,createHref:iS.bind(null,i)},e,t);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>e.state.value}),s}let Ia=(function(i){return i[i.Static=0]="Static",i[i.Param=1]="Param",i[i.Group=2]="Group",i})({});var dt=(function(i){return i[i.Static=0]="Static",i[i.Param=1]="Param",i[i.ParamRegExp=2]="ParamRegExp",i[i.ParamRegExpEnd=3]="ParamRegExpEnd",i[i.EscapeNext=4]="EscapeNext",i})(dt||{});const vS={type:Ia.Static,value:""},xS=/[a-zA-Z0-9_]/;function yS(i){if(!i)return[[]];if(i==="/")return[[vS]];if(!i.startsWith("/"))throw new Error(`Invalid path "${i}"`);function e(f){throw new Error(`ERR (${t})/"${c}": ${f}`)}let t=dt.Static,a=t;const s=[];let r;function n(){r&&s.push(r),r=[]}let o=0,l,c="",u="";function d(){c&&(t===dt.Static?r.push({type:Ia.Static,value:c}):t===dt.Param||t===dt.ParamRegExp||t===dt.ParamRegExpEnd?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:Ia.Param,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;o<i.length;){if(l=i[o++],l==="\\"&&t!==dt.ParamRegExp){a=t,t=dt.EscapeNext;continue}switch(t){case dt.Static:l==="/"?(c&&d(),n()):l===":"?(d(),t=dt.Param):h();break;case dt.EscapeNext:h(),t=a;break;case dt.Param:l==="("?t=dt.ParamRegExp:xS.test(l)?h():(d(),t=dt.Static,l!=="*"&&l!=="?"&&l!=="+"&&o--);break;case dt.ParamRegExp:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:t=dt.ParamRegExpEnd:u+=l;break;case dt.ParamRegExpEnd:d(),t=dt.Static,l!=="*"&&l!=="?"&&l!=="+"&&o--,u="";break;default:e("Unknown state");break}}return t===dt.ParamRegExp&&e(`Unfinished custom RegExp for param "${c}"`),d(),n(),s}const Qh="[^/]+?",wS={sensitive:!1,strict:!1,start:!0,end:!0};var It=(function(i){return i[i._multiplier=10]="_multiplier",i[i.Root=90]="Root",i[i.Segment=40]="Segment",i[i.SubSegment=30]="SubSegment",i[i.Static=40]="Static",i[i.Dynamic=20]="Dynamic",i[i.BonusCustomRegExp=10]="BonusCustomRegExp",i[i.BonusWildcard=-50]="BonusWildcard",i[i.BonusRepeatable=-20]="BonusRepeatable",i[i.BonusOptional=-8]="BonusOptional",i[i.BonusStrict=.7000000000000001]="BonusStrict",i[i.BonusCaseSensitive=.25]="BonusCaseSensitive",i})(It||{});const kS=/[.+*?^${}()[\]/\\]/g;function AS(i,e){const t=Be({},wS,e),a=[];let s=t.start?"^":"";const r=[];for(const c of i){const u=c.length?[]:[It.Root];t.strict&&!c.length&&(s+="/");for(let d=0;d<c.length;d++){const h=c[d];let f=It.Segment+(t.sensitive?It.BonusCaseSensitive:0);if(h.type===Ia.Static)d||(s+="/"),s+=h.value.replace(kS,"\\$&"),f+=It.Static;else if(h.type===Ia.Param){const{value:g,repeatable:p,optional:m,regexp:b}=h;r.push({name:g,repeatable:p,optional:m});const v=b||Qh;if(v!==Qh){f+=It.BonusCustomRegExp;try{`${v}`}catch(k){throw new Error(`Invalid custom RegExp for param "${g}" (${v}): `+k.message)}}let x=p?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;d||(x=m&&c.length<2?`(?:/${x})`:"/"+x),m&&(x+="?"),s+=x,f+=It.Dynamic,m&&(f+=It.BonusOptional),p&&(f+=It.BonusRepeatable),v===".*"&&(f+=It.BonusWildcard)}u.push(f)}a.push(u)}if(t.strict&&t.end){const c=a.length-1;a[c][a[c].length-1]+=It.BonusStrict}t.strict||(s+="/?"),t.end?s+="$":t.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const n=new RegExp(s,t.sensitive?"":"i");function o(c){const u=c.match(n),d={};if(!u)return null;for(let h=1;h<u.length;h++){const f=u[h]||"",g=r[h-1];d[g.name]=f&&g.repeatable?f.split("/"):f}return d}function l(c){let u="",d=!1;for(const h of i){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const f of h)if(f.type===Ia.Static)u+=f.value;else if(f.type===Ia.Param){const{value:g,repeatable:p,optional:m}=f,b=g in c?c[g]:"";if(mi(b)&&!p)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const v=mi(b)?b.join("/"):b;if(!v)if(m)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${g}"`);u+=v}}return u||"/"}return{re:n,score:a,keys:r,parse:o,stringify:l}}function SS(i,e){let t=0;for(;t<i.length&&t<e.length;){const a=e[t]-i[t];if(a)return a;t++}return i.length<e.length?i.length===1&&i[0]===It.Static+It.Segment?-1:1:i.length>e.length?e.length===1&&e[0]===It.Static+It.Segment?1:-1:0}function tb(i,e){let t=0;const a=i.score,s=e.score;for(;t<a.length&&t<s.length;){const r=SS(a[t],s[t]);if(r)return r;t++}if(Math.abs(s.length-a.length)===1){if(ef(a))return 1;if(ef(s))return-1}return s.length-a.length}function ef(i){const e=i[i.length-1];return i.length>0&&e[e.length-1]<0}const CS={strict:!1,end:!0,sensitive:!1};function ES(i,e,t){const a=AS(yS(i.path),t),s=Be(a,{record:i,parent:e,children:[],alias:[]});return e&&!s.record.aliasOf==!e.record.aliasOf&&e.children.push(s),s}function MS(i,e){const t=[],a=new Map;e=Xh(CS,e);function s(d){return a.get(d)}function r(d,h,f){const g=!f,p=af(d);p.aliasOf=f&&f.record;const m=Xh(e,d),b=[p];if("alias"in d){const k=typeof d.alias=="string"?[d.alias]:d.alias;for(const y of k)b.push(af(Be({},p,{components:f?f.record.components:p.components,path:y,aliasOf:f?f.record:p})))}let v,x;for(const k of b){const{path:y}=k;if(h&&y[0]!=="/"){const A=h.record.path,w=A[A.length-1]==="/"?"":"/";k.path=h.record.path+(y&&w+y)}if(v=ES(k,h,m),f?f.alias.push(v):(x=x||v,x!==v&&x.alias.push(v),g&&d.name&&!sf(v)&&n(d.name)),ib(v)&&l(v),p.children){const A=p.children;for(let w=0;w<A.length;w++)r(A[w],v,f&&f.children[w])}f=f||v}return x?()=>{n(x)}:gr}function n(d){if(Jm(d)){const h=a.get(d);h&&(a.delete(d),t.splice(t.indexOf(h),1),h.children.forEach(n),h.alias.forEach(n))}else{const h=t.indexOf(d);h>-1&&(t.splice(h,1),d.record.name&&a.delete(d.record.name),d.children.forEach(n),d.alias.forEach(n))}}function o(){return t}function l(d){const h=IS(d,t);t.splice(h,0,d),d.record.name&&!sf(d)&&a.set(d.record.name,d)}function c(d,h){let f,g={},p,m;if("name"in d&&d.name){if(f=a.get(d.name),!f)throw _s(et.MATCHER_NOT_FOUND,{location:d});m=f.record.name,g=Be(tf(h.params,f.keys.filter(x=>!x.optional).concat(f.parent?f.parent.keys.filter(x=>x.optional):[]).map(x=>x.name)),d.params&&tf(d.params,f.keys.map(x=>x.name))),p=f.stringify(g)}else if(d.path!=null)p=d.path,f=t.find(x=>x.re.test(p)),f&&(g=f.parse(p),m=f.record.name);else{if(f=h.name?a.get(h.name):t.find(x=>x.re.test(h.path)),!f)throw _s(et.MATCHER_NOT_FOUND,{location:d,currentLocation:h});m=f.record.name,g=Be({},h.params,d.params),p=f.stringify(g)}const b=[];let v=f;for(;v;)b.unshift(v.record),v=v.parent;return{name:m,path:p,params:g,matched:b,meta:_S(b)}}i.forEach(d=>r(d));function u(){t.length=0,a.clear()}return{addRoute:r,resolve:c,removeRoute:n,clearRoutes:u,getRoutes:o,getRecordMatcher:s}}function tf(i,e){const t={};for(const a of e)a in i&&(t[a]=i[a]);return t}function af(i){const e={path:i.path,redirect:i.redirect,name:i.name,meta:i.meta||{},aliasOf:i.aliasOf,beforeEnter:i.beforeEnter,props:PS(i),children:i.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in i?i.components||null:i.component&&{default:i.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function PS(i){const e={},t=i.props||!1;if("component"in i)e.default=t;else for(const a in i.components)e[a]=typeof t=="object"?t[a]:t;return e}function sf(i){for(;i;){if(i.record.aliasOf)return!0;i=i.parent}return!1}function _S(i){return i.reduce((e,t)=>Be(e,t.meta),{})}function IS(i,e){let t=0,a=e.length;for(;t!==a;){const r=t+a>>1;tb(i,e[r])<0?a=r:t=r+1}const s=TS(i);return s&&(a=e.lastIndexOf(s,a-1)),a}function TS(i){let e=i;for(;e=e.parent;)if(ib(e)&&tb(i,e)===0)return e}function ib({record:i}){return!!(i.name||i.components&&Object.keys(i.components).length||i.redirect)}function rf(i){const e=Je(Wo),t=Je(Zu),a=Xe(()=>{const l=ei(i.to);return e.resolve(l)}),s=Xe(()=>{const{matched:l}=a.value,{length:c}=l,u=l[c-1],d=t.matched;if(!u||!d.length)return-1;const h=d.findIndex(Ps.bind(null,u));if(h>-1)return h;const f=nf(l[c-2]);return c>1&&nf(u)===f&&d[d.length-1].path!==f?d.findIndex(Ps.bind(null,l[c-2])):h}),r=Xe(()=>s.value>-1&&OS(t.params,a.value.params)),n=Xe(()=>s.value>-1&&s.value===t.matched.length-1&&Zm(t.params,a.value.params));function o(l={}){if(NS(l)){const c=e[ei(i.replace)?"replace":"push"](ei(i.to)).catch(gr);return i.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:a,href:Xe(()=>a.value.href),isActive:r,isExactActive:n,navigate:o}}function DS(i){return i.length===1?i[0]:i}const LS=Io({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:rf,setup(i,{slots:e}){const t=Di(rf(i)),{options:a}=Je(Wo),s=Xe(()=>({[of(i.activeClass,a.linkActiveClass,"router-link-active")]:t.isActive,[of(i.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const r=e.default&&DS(e.default(t));return i.custom?r:Yr("a",{"aria-current":t.isExactActive?i.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:s.value},r)}}}),RS=LS;function NS(i){if(!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)&&!i.defaultPrevented&&!(i.button!==void 0&&i.button!==0)){if(i.currentTarget&&i.currentTarget.getAttribute){const e=i.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return i.preventDefault&&i.preventDefault(),!0}}function OS(i,e){for(const t in e){const a=e[t],s=i[t];if(typeof a=="string"){if(a!==s)return!1}else if(!mi(s)||s.length!==a.length||a.some((r,n)=>r!==s[n]))return!1}return!0}function nf(i){return i?i.aliasOf?i.aliasOf.path:i.path:""}const of=(i,e,t)=>i??e??t,FS=Io({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(i,{attrs:e,slots:t}){const a=Je(Mc),s=Xe(()=>i.route||a.value),r=Je(Zh,0),n=Xe(()=>{let c=ei(r);const{matched:u}=s.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),o=Xe(()=>s.value.matched[n.value]);za(Zh,Xe(()=>n.value+1)),za(hS,o),za(Mc,s);const l=nt();return At(()=>[l.value,o.value,i.name],([c,u,d],[h,f,g])=>{u&&(u.instances[d]=c,f&&f!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=f.leaveGuards),u.updateGuards.size||(u.updateGuards=f.updateGuards))),c&&u&&(!f||!Ps(u,f)||!h)&&(u.enterCallbacks[d]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=s.value,u=i.name,d=o.value,h=d&&d.components[u];if(!h)return lf(t.default,{Component:h,route:c});const f=d.props[u],g=f?f===!0?c.params:typeof f=="function"?f(c):f:null,m=Yr(h,Be({},g,e,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return lf(t.default,{Component:m,route:c})||m}}});function lf(i,e){if(!i)return null;const t=i(e);return t.length===1?t[0]:t}const zS=FS;function BS(i){const e=MS(i.routes,i),t=i.parseQuery||uS,a=i.stringifyQuery||Kh,s=i.history,r=Zs(),n=Zs(),o=Zs(),l=Ti(Qi);let c=Qi;fs&&i.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=vl.bind(null,O=>""+O),d=vl.bind(null,qA),h=vl.bind(null,Ir);function f(O,X){let G,J;return Jm(O)?(G=e.getRecordMatcher(O),J=X):J=O,e.addRoute(J,G)}function g(O){const X=e.getRecordMatcher(O);X&&e.removeRoute(X)}function p(){return e.getRoutes().map(O=>O.record)}function m(O){return!!e.getRecordMatcher(O)}function b(O,X){if(X=Be({},X||l.value),typeof O=="string"){const R=xl(t,O,X.path),W=e.resolve({path:R.path},X),U=s.createHref(R.fullPath);return Be(R,W,{params:h(W.params),hash:Ir(R.hash),redirectedFrom:void 0,href:U})}let G;if(O.path!=null)G=Be({},O,{path:xl(t,O.path,X.path).path});else{const R=Be({},O.params);for(const W in R)R[W]==null&&delete R[W];G=Be({},O,{params:d(R)}),X.params=d(X.params)}const J=e.resolve(G,X),ge=O.hash||"";J.params=u(h(J.params));const _=KA(a,Be({},O,{hash:YA(ge),path:J.path})),I=s.createHref(_);return Be({fullPath:_,hash:ge,query:a===Kh?dS(O.query):O.query||{}},J,{redirectedFrom:void 0,href:I})}function v(O){return typeof O=="string"?xl(t,O,l.value.path):Be({},O)}function x(O,X){if(c!==O)return _s(et.NAVIGATION_CANCELLED,{from:X,to:O})}function k(O){return w(O)}function y(O){return k(Be(v(O),{replace:!0}))}function A(O,X){const G=O.matched[O.matched.length-1];if(G&&G.redirect){const{redirect:J}=G;let ge=typeof J=="function"?J(O,X):J;return typeof ge=="string"&&(ge=ge.includes("?")||ge.includes("#")?ge=v(ge):{path:ge},ge.params={}),Be({query:O.query,hash:O.hash,params:ge.path!=null?{}:O.params},ge)}}function w(O,X){const G=c=b(O),J=l.value,ge=O.state,_=O.force,I=O.replace===!0,R=A(G,J);if(R)return w(Be(v(R),{state:typeof R=="object"?Be({},ge,R.state):ge,force:_,replace:I}),X||G);const W=G;W.redirectedFrom=X;let U;return!_&&ZA(a,J,G)&&(U=_s(et.NAVIGATION_DUPLICATED,{to:W,from:J}),ae(J,J,!0,!1)),(U?Promise.resolve(U):E(W,J)).catch(V=>Ni(V)?Ni(V,et.NAVIGATION_GUARD_REDIRECT)?V:re(V):H(V,W,J)).then(V=>{if(V){if(Ni(V,et.NAVIGATION_GUARD_REDIRECT))return w(Be({replace:I},v(V.to),{state:typeof V.to=="object"?Be({},ge,V.to.state):ge,force:_}),X||W)}else V=P(W,J,!0,I,ge);return M(W,J,V),V})}function S(O,X){const G=x(O,X);return G?Promise.reject(G):Promise.resolve()}function C(O){const X=pe.values().next().value;return X&&typeof X.runWithContext=="function"?X.runWithContext(O):O()}function E(O,X){let G;const[J,ge,_]=fS(O,X);G=wl(J.reverse(),"beforeRouteLeave",O,X);for(const R of J)R.leaveGuards.forEach(W=>{G.push(ra(W,O,X))});const I=S.bind(null,O,X);return G.push(I),be(G).then(()=>{G=[];for(const R of r.list())G.push(ra(R,O,X));return G.push(I),be(G)}).then(()=>{G=wl(ge,"beforeRouteUpdate",O,X);for(const R of ge)R.updateGuards.forEach(W=>{G.push(ra(W,O,X))});return G.push(I),be(G)}).then(()=>{G=[];for(const R of _)if(R.beforeEnter)if(mi(R.beforeEnter))for(const W of R.beforeEnter)G.push(ra(W,O,X));else G.push(ra(R.beforeEnter,O,X));return G.push(I),be(G)}).then(()=>(O.matched.forEach(R=>R.enterCallbacks={}),G=wl(_,"beforeRouteEnter",O,X,C),G.push(I),be(G))).then(()=>{G=[];for(const R of n.list())G.push(ra(R,O,X));return G.push(I),be(G)}).catch(R=>Ni(R,et.NAVIGATION_CANCELLED)?R:Promise.reject(R))}function M(O,X,G){o.list().forEach(J=>C(()=>J(O,X,G)))}function P(O,X,G,J,ge){const _=x(O,X);if(_)return _;const I=X===Qi,R=fs?history.state:{};G&&(J||I?s.replace(O.fullPath,Be({scroll:I&&R&&R.scroll},ge)):s.push(O.fullPath,ge)),l.value=O,ae(O,X,G,I),re()}let D;function L(){D||(D=s.listen((O,X,G)=>{if(!Re.listening)return;const J=b(O),ge=A(J,Re.currentRoute.value);if(ge){w(Be(ge,{replace:!0,force:!0}),J).catch(gr);return}c=J;const _=l.value;fs&&rS($h(_.fullPath,G.delta),Ho()),E(J,_).catch(I=>Ni(I,et.NAVIGATION_ABORTED|et.NAVIGATION_CANCELLED)?I:Ni(I,et.NAVIGATION_GUARD_REDIRECT)?(w(Be(v(I.to),{force:!0}),J).then(R=>{Ni(R,et.NAVIGATION_ABORTED|et.NAVIGATION_DUPLICATED)&&!G.delta&&G.type===Cc.pop&&s.go(-1,!1)}).catch(gr),Promise.reject()):(G.delta&&s.go(-G.delta,!1),H(I,J,_))).then(I=>{I=I||P(J,_,!1),I&&(G.delta&&!Ni(I,et.NAVIGATION_CANCELLED)?s.go(-G.delta,!1):G.type===Cc.pop&&Ni(I,et.NAVIGATION_ABORTED|et.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),M(J,_,I)}).catch(gr)}))}let B=Zs(),N=Zs(),F;function H(O,X,G){re(O);const J=N.list();return J.length?J.forEach(ge=>ge(O,X,G)):console.error(O),Promise.reject(O)}function ie(){return F&&l.value!==Qi?Promise.resolve():new Promise((O,X)=>{B.add([O,X])})}function re(O){return F||(F=!O,L(),B.list().forEach(([X,G])=>O?G(O):X()),B.reset()),O}function ae(O,X,G,J){const{scrollBehavior:ge}=i;if(!fs||!ge)return Promise.resolve();const _=!G&&nS($h(O.fullPath,0))||(J||!G)&&history.state&&history.state.scroll||null;return Vr().then(()=>ge(O,X,_)).then(I=>I&&sS(I)).catch(I=>H(I,O,X))}const le=O=>s.go(O);let Ee;const pe=new Set,Re={currentRoute:l,listening:!0,addRoute:f,removeRoute:g,clearRoutes:e.clearRoutes,hasRoute:m,getRoutes:p,resolve:b,options:i,push:k,replace:y,go:le,back:()=>le(-1),forward:()=>le(1),beforeEach:r.add,beforeResolve:n.add,afterEach:o.add,onError:N.add,isReady:ie,install(O){O.component("RouterLink",RS),O.component("RouterView",zS),O.config.globalProperties.$router=Re,Object.defineProperty(O.config.globalProperties,"$route",{enumerable:!0,get:()=>ei(l)}),fs&&!Ee&&l.value===Qi&&(Ee=!0,k(s.location).catch(J=>{}));const X={};for(const J in Qi)Object.defineProperty(X,J,{get:()=>l.value[J],enumerable:!0});O.provide(Wo,Re),O.provide(Zu,fp(X)),O.provide(Mc,l);const G=O.unmount;pe.add(O),O.unmount=function(){pe.delete(O),pe.size<1&&(c=Qi,D&&D(),D=null,l.value=Qi,Ee=!1,F=!1),G()}}};function be(O){return O.reduce((X,G)=>X.then(()=>C(G)),Promise.resolve())}return Re}function UT(){return Je(Wo)}function XT(i){return Je(Zu)}/*!
|
|
35
|
+
* pinia v3.0.4
|
|
36
|
+
* (c) 2025 Eduardo San Martin Morote
|
|
37
|
+
* @license MIT
|
|
38
|
+
*/let Ju;const jo=i=>Ju=i,qT=()=>Yp()&&Je(Qu)||Ju,Qu=Symbol();function Pc(i){return i&&typeof i=="object"&&Object.prototype.toString.call(i)==="[object Object]"&&typeof i.toJSON!="function"}var pr;(function(i){i.direct="direct",i.patchObject="patch object",i.patchFunction="patch function"})(pr||(pr={}));function HS(){const i=xr(!0),e=i.run(()=>nt({}));let t=[],a=[];const s=Lu({install(r){jo(s),s._a=r,r.provide(Qu,s),r.config.globalProperties.$pinia=s,a.forEach(n=>t.push(n)),a=[]},use(r){return this._a?t.push(r):a.push(r),this},_p:t,_a:null,_e:i,_s:new Map,state:e});return s}const ab=()=>{};function cf(i,e,t,a=ab){i.add(e);const s=()=>{i.delete(e)&&a()};return!t&&Eu()&&Mo(s),s}function ss(i,...e){i.forEach(t=>{t(...e)})}const WS=i=>i(),uf=Symbol(),kl=Symbol();function _c(i,e){i instanceof Map&&e instanceof Map?e.forEach((t,a)=>i.set(a,t)):i instanceof Set&&e instanceof Set&&e.forEach(i.add,i);for(const t in e){if(!e.hasOwnProperty(t))continue;const a=e[t],s=i[t];Pc(s)&&Pc(a)&&i.hasOwnProperty(t)&&!st(a)&&!da(a)?i[t]=_c(s,a):i[t]=a}return i}const jS=Symbol();function VS(i){return!Pc(i)||!Object.prototype.hasOwnProperty.call(i,jS)}const{assign:ia}=Object;function YS(i){return!!(st(i)&&i.effect)}function US(i,e,t,a){const{state:s,actions:r,getters:n}=e,o=t.state.value[i];let l;function c(){o||(t.state.value[i]=s?s():{});const u=Ru(t.state.value[i]);return ia(u,r,Object.keys(n||{}).reduce((d,h)=>(d[h]=Lu(Xe(()=>{jo(t);const f=t._s.get(i);return n[h].call(f,f)})),d),{}))}return l=sb(i,c,e,t,a,!0),l}function sb(i,e,t={},a,s,r){let n;const o=ia({actions:{}},t),l={deep:!0};let c,u,d=new Set,h=new Set,f;const g=a.state.value[i];!r&&!g&&(a.state.value[i]={}),nt({});let p;function m(S){let C;c=u=!1,typeof S=="function"?(S(a.state.value[i]),C={type:pr.patchFunction,storeId:i,events:f}):(_c(a.state.value[i],S),C={type:pr.patchObject,payload:S,storeId:i,events:f});const E=p=Symbol();Vr().then(()=>{p===E&&(c=!0)}),u=!0,ss(d,C,a.state.value[i])}const b=r?function(){const{state:C}=t,E=C?C():{};this.$patch(M=>{ia(M,E)})}:ab;function v(){n.stop(),d.clear(),h.clear(),a._s.delete(i)}const x=(S,C="")=>{if(uf in S)return S[kl]=C,S;const E=function(){jo(a);const M=Array.from(arguments),P=new Set,D=new Set;function L(F){P.add(F)}function B(F){D.add(F)}ss(h,{args:M,name:E[kl],store:y,after:L,onError:B});let N;try{N=S.apply(this&&this.$id===i?this:y,M)}catch(F){throw ss(D,F),F}return N instanceof Promise?N.then(F=>(ss(P,F),F)).catch(F=>(ss(D,F),Promise.reject(F))):(ss(P,N),N)};return E[uf]=!0,E[kl]=C,E},k={_p:a,$id:i,$onAction:cf.bind(null,h),$patch:m,$reset:b,$subscribe(S,C={}){const E=cf(d,S,C.detached,()=>M()),M=n.run(()=>At(()=>a.state.value[i],P=>{(C.flush==="sync"?u:c)&&S({storeId:i,type:pr.direct,events:f},P)},ia({},l,C)));return E},$dispose:v},y=Di(k);a._s.set(i,y);const w=(a._a&&a._a.runWithContext||WS)(()=>a._e.run(()=>(n=xr()).run(()=>e({action:x}))));for(const S in w){const C=w[S];if(st(C)&&!YS(C)||da(C))r||(g&&VS(C)&&(st(C)?C.value=g[S]:_c(C,g[S])),a.state.value[i][S]=C);else if(typeof C=="function"){const E=x(C,S);w[S]=E,o.actions[S]=C}}return ia(y,w),ia(Pe(y),w),Object.defineProperty(y,"$state",{get:()=>a.state.value[i],set:S=>{m(C=>{ia(C,S)})}}),a._p.forEach(S=>{ia(y,n.run(()=>S({store:y,app:a._a,pinia:a,options:o})))}),g&&r&&t.hydrate&&t.hydrate(y.$state,g),c=!0,u=!0,y}/*! #__NO_SIDE_EFFECTS__ */function rb(i,e,t){let a;const s=typeof e=="function";a=s?t:e;function r(n,o){const l=Yp();return n=n||(l?Je(Qu,null):null),n&&jo(n),n=Ju,n._s.has(i)||(s?sb(i,e,a,n):US(i,a,n)),n._s.get(i)}return r.$id=i,r}function nb(i,e){return function(){return i.apply(e,arguments)}}const{toString:XS}=Object.prototype,{getPrototypeOf:ed}=Object,{iterator:Vo,toStringTag:ob}=Symbol,Yo=(i=>e=>{const t=XS.call(e);return i[t]||(i[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),vi=i=>(i=i.toLowerCase(),e=>Yo(e)===i),Uo=i=>e=>typeof e===i,{isArray:Os}=Array,Is=Uo("undefined");function qr(i){return i!==null&&!Is(i)&&i.constructor!==null&&!Is(i.constructor)&&Vt(i.constructor.isBuffer)&&i.constructor.isBuffer(i)}const lb=vi("ArrayBuffer");function qS(i){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(i):e=i&&i.buffer&&lb(i.buffer),e}const GS=Uo("string"),Vt=Uo("function"),cb=Uo("number"),Gr=i=>i!==null&&typeof i=="object",$S=i=>i===!0||i===!1,Dn=i=>{if(Yo(i)!=="object")return!1;const e=ed(i);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(ob in i)&&!(Vo in i)},KS=i=>{if(!Gr(i)||qr(i))return!1;try{return Object.keys(i).length===0&&Object.getPrototypeOf(i)===Object.prototype}catch{return!1}},ZS=vi("Date"),JS=vi("File"),QS=vi("Blob"),eC=vi("FileList"),tC=i=>Gr(i)&&Vt(i.pipe),iC=i=>{let e;return i&&(typeof FormData=="function"&&i instanceof FormData||Vt(i.append)&&((e=Yo(i))==="formdata"||e==="object"&&Vt(i.toString)&&i.toString()==="[object FormData]"))},aC=vi("URLSearchParams"),[sC,rC,nC,oC]=["ReadableStream","Request","Response","Headers"].map(vi),lC=i=>i.trim?i.trim():i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function $r(i,e,{allOwnKeys:t=!1}={}){if(i===null||typeof i>"u")return;let a,s;if(typeof i!="object"&&(i=[i]),Os(i))for(a=0,s=i.length;a<s;a++)e.call(null,i[a],a,i);else{if(qr(i))return;const r=t?Object.getOwnPropertyNames(i):Object.keys(i),n=r.length;let o;for(a=0;a<n;a++)o=r[a],e.call(null,i[o],o,i)}}function ub(i,e){if(qr(i))return null;e=e.toLowerCase();const t=Object.keys(i);let a=t.length,s;for(;a-- >0;)if(s=t[a],e===s.toLowerCase())return s;return null}const Ta=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,db=i=>!Is(i)&&i!==Ta;function Ic(){const{caseless:i,skipUndefined:e}=db(this)&&this||{},t={},a=(s,r)=>{const n=i&&ub(t,r)||r;Dn(t[n])&&Dn(s)?t[n]=Ic(t[n],s):Dn(s)?t[n]=Ic({},s):Os(s)?t[n]=s.slice():(!e||!Is(s))&&(t[n]=s)};for(let s=0,r=arguments.length;s<r;s++)arguments[s]&&$r(arguments[s],a);return t}const cC=(i,e,t,{allOwnKeys:a}={})=>($r(e,(s,r)=>{t&&Vt(s)?i[r]=nb(s,t):i[r]=s},{allOwnKeys:a}),i),uC=i=>(i.charCodeAt(0)===65279&&(i=i.slice(1)),i),dC=(i,e,t,a)=>{i.prototype=Object.create(e.prototype,a),i.prototype.constructor=i,Object.defineProperty(i,"super",{value:e.prototype}),t&&Object.assign(i.prototype,t)},hC=(i,e,t,a)=>{let s,r,n;const o={};if(e=e||{},i==null)return e;do{for(s=Object.getOwnPropertyNames(i),r=s.length;r-- >0;)n=s[r],(!a||a(n,i,e))&&!o[n]&&(e[n]=i[n],o[n]=!0);i=t!==!1&&ed(i)}while(i&&(!t||t(i,e))&&i!==Object.prototype);return e},fC=(i,e,t)=>{i=String(i),(t===void 0||t>i.length)&&(t=i.length),t-=e.length;const a=i.indexOf(e,t);return a!==-1&&a===t},gC=i=>{if(!i)return null;if(Os(i))return i;let e=i.length;if(!cb(e))return null;const t=new Array(e);for(;e-- >0;)t[e]=i[e];return t},pC=(i=>e=>i&&e instanceof i)(typeof Uint8Array<"u"&&ed(Uint8Array)),mC=(i,e)=>{const a=(i&&i[Vo]).call(i);let s;for(;(s=a.next())&&!s.done;){const r=s.value;e.call(i,r[0],r[1])}},bC=(i,e)=>{let t;const a=[];for(;(t=i.exec(e))!==null;)a.push(t);return a},vC=vi("HTMLFormElement"),xC=i=>i.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,a,s){return a.toUpperCase()+s}),df=(({hasOwnProperty:i})=>(e,t)=>i.call(e,t))(Object.prototype),yC=vi("RegExp"),hb=(i,e)=>{const t=Object.getOwnPropertyDescriptors(i),a={};$r(t,(s,r)=>{let n;(n=e(s,r,i))!==!1&&(a[r]=n||s)}),Object.defineProperties(i,a)},wC=i=>{hb(i,(e,t)=>{if(Vt(i)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const a=i[t];if(Vt(a)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},kC=(i,e)=>{const t={},a=s=>{s.forEach(r=>{t[r]=!0})};return Os(i)?a(i):a(String(i).split(e)),t},AC=()=>{},SC=(i,e)=>i!=null&&Number.isFinite(i=+i)?i:e;function CC(i){return!!(i&&Vt(i.append)&&i[ob]==="FormData"&&i[Vo])}const EC=i=>{const e=new Array(10),t=(a,s)=>{if(Gr(a)){if(e.indexOf(a)>=0)return;if(qr(a))return a;if(!("toJSON"in a)){e[s]=a;const r=Os(a)?[]:{};return $r(a,(n,o)=>{const l=t(n,s+1);!Is(l)&&(r[o]=l)}),e[s]=void 0,r}}return a};return t(i,0)},MC=vi("AsyncFunction"),PC=i=>i&&(Gr(i)||Vt(i))&&Vt(i.then)&&Vt(i.catch),fb=((i,e)=>i?setImmediate:e?((t,a)=>(Ta.addEventListener("message",({source:s,data:r})=>{s===Ta&&r===t&&a.length&&a.shift()()},!1),s=>{a.push(s),Ta.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",Vt(Ta.postMessage)),_C=typeof queueMicrotask<"u"?queueMicrotask.bind(Ta):typeof process<"u"&&process.nextTick||fb,IC=i=>i!=null&&Vt(i[Vo]),z={isArray:Os,isArrayBuffer:lb,isBuffer:qr,isFormData:iC,isArrayBufferView:qS,isString:GS,isNumber:cb,isBoolean:$S,isObject:Gr,isPlainObject:Dn,isEmptyObject:KS,isReadableStream:sC,isRequest:rC,isResponse:nC,isHeaders:oC,isUndefined:Is,isDate:ZS,isFile:JS,isBlob:QS,isRegExp:yC,isFunction:Vt,isStream:tC,isURLSearchParams:aC,isTypedArray:pC,isFileList:eC,forEach:$r,merge:Ic,extend:cC,trim:lC,stripBOM:uC,inherits:dC,toFlatObject:hC,kindOf:Yo,kindOfTest:vi,endsWith:fC,toArray:gC,forEachEntry:mC,matchAll:bC,isHTMLForm:vC,hasOwnProperty:df,hasOwnProp:df,reduceDescriptors:hb,freezeMethods:wC,toObjectSet:kC,toCamelCase:xC,noop:AC,toFiniteNumber:SC,findKey:ub,global:Ta,isContextDefined:db,isSpecCompliantForm:CC,toJSONObject:EC,isAsyncFn:MC,isThenable:PC,setImmediate:fb,asap:_C,isIterable:IC};function Se(i,e,t,a,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=i,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),a&&(this.request=a),s&&(this.response=s,this.status=s.status?s.status:null)}z.inherits(Se,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:z.toJSONObject(this.config),code:this.code,status:this.status}}});const gb=Se.prototype,pb={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(i=>{pb[i]={value:i}});Object.defineProperties(Se,pb);Object.defineProperty(gb,"isAxiosError",{value:!0});Se.from=(i,e,t,a,s,r)=>{const n=Object.create(gb);z.toFlatObject(i,n,function(u){return u!==Error.prototype},c=>c!=="isAxiosError");const o=i&&i.message?i.message:"Error",l=e==null&&i?i.code:e;return Se.call(n,o,l,t,a,s),i&&n.cause==null&&Object.defineProperty(n,"cause",{value:i,configurable:!0}),n.name=i&&i.name||"Error",r&&Object.assign(n,r),n};const TC=null;function Tc(i){return z.isPlainObject(i)||z.isArray(i)}function mb(i){return z.endsWith(i,"[]")?i.slice(0,-2):i}function hf(i,e,t){return i?i.concat(e).map(function(s,r){return s=mb(s),!t&&r?"["+s+"]":s}).join(t?".":""):e}function DC(i){return z.isArray(i)&&!i.some(Tc)}const LC=z.toFlatObject(z,{},null,function(e){return/^is[A-Z]/.test(e)});function Xo(i,e,t){if(!z.isObject(i))throw new TypeError("target must be an object");e=e||new FormData,t=z.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,m){return!z.isUndefined(m[p])});const a=t.metaTokens,s=t.visitor||u,r=t.dots,n=t.indexes,l=(t.Blob||typeof Blob<"u"&&Blob)&&z.isSpecCompliantForm(e);if(!z.isFunction(s))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(z.isDate(g))return g.toISOString();if(z.isBoolean(g))return g.toString();if(!l&&z.isBlob(g))throw new Se("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(g)||z.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,p,m){let b=g;if(g&&!m&&typeof g=="object"){if(z.endsWith(p,"{}"))p=a?p:p.slice(0,-2),g=JSON.stringify(g);else if(z.isArray(g)&&DC(g)||(z.isFileList(g)||z.endsWith(p,"[]"))&&(b=z.toArray(g)))return p=mb(p),b.forEach(function(x,k){!(z.isUndefined(x)||x===null)&&e.append(n===!0?hf([p],k,r):n===null?p:p+"[]",c(x))}),!1}return Tc(g)?!0:(e.append(hf(m,p,r),c(g)),!1)}const d=[],h=Object.assign(LC,{defaultVisitor:u,convertValue:c,isVisitable:Tc});function f(g,p){if(!z.isUndefined(g)){if(d.indexOf(g)!==-1)throw Error("Circular reference detected in "+p.join("."));d.push(g),z.forEach(g,function(b,v){(!(z.isUndefined(b)||b===null)&&s.call(e,b,z.isString(v)?v.trim():v,p,h))===!0&&f(b,p?p.concat(v):[v])}),d.pop()}}if(!z.isObject(i))throw new TypeError("data must be an object");return f(i),e}function ff(i){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(i).replace(/[!'()~]|%20|%00/g,function(a){return e[a]})}function td(i,e){this._pairs=[],i&&Xo(i,this,e)}const bb=td.prototype;bb.append=function(e,t){this._pairs.push([e,t])};bb.toString=function(e){const t=e?function(a){return e.call(this,a,ff)}:ff;return this._pairs.map(function(s){return t(s[0])+"="+t(s[1])},"").join("&")};function RC(i){return encodeURIComponent(i).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function vb(i,e,t){if(!e)return i;const a=t&&t.encode||RC;z.isFunction(t)&&(t={serialize:t});const s=t&&t.serialize;let r;if(s?r=s(e,t):r=z.isURLSearchParams(e)?e.toString():new td(e,t).toString(a),r){const n=i.indexOf("#");n!==-1&&(i=i.slice(0,n)),i+=(i.indexOf("?")===-1?"?":"&")+r}return i}class gf{constructor(){this.handlers=[]}use(e,t,a){return this.handlers.push({fulfilled:e,rejected:t,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){z.forEach(this.handlers,function(a){a!==null&&e(a)})}}const xb={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},NC=typeof URLSearchParams<"u"?URLSearchParams:td,OC=typeof FormData<"u"?FormData:null,FC=typeof Blob<"u"?Blob:null,zC={isBrowser:!0,classes:{URLSearchParams:NC,FormData:OC,Blob:FC},protocols:["http","https","file","blob","url","data"]},id=typeof window<"u"&&typeof document<"u",Dc=typeof navigator=="object"&&navigator||void 0,BC=id&&(!Dc||["ReactNative","NativeScript","NS"].indexOf(Dc.product)<0),HC=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",WC=id&&window.location.href||"http://localhost",jC=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:id,hasStandardBrowserEnv:BC,hasStandardBrowserWebWorkerEnv:HC,navigator:Dc,origin:WC},Symbol.toStringTag,{value:"Module"})),Ct={...jC,...zC};function VC(i,e){return Xo(i,new Ct.classes.URLSearchParams,{visitor:function(t,a,s,r){return Ct.isNode&&z.isBuffer(t)?(this.append(a,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...e})}function YC(i){return z.matchAll(/\w+|\[(\w*)]/g,i).map(e=>e[0]==="[]"?"":e[1]||e[0])}function UC(i){const e={},t=Object.keys(i);let a;const s=t.length;let r;for(a=0;a<s;a++)r=t[a],e[r]=i[r];return e}function yb(i){function e(t,a,s,r){let n=t[r++];if(n==="__proto__")return!0;const o=Number.isFinite(+n),l=r>=t.length;return n=!n&&z.isArray(s)?s.length:n,l?(z.hasOwnProp(s,n)?s[n]=[s[n],a]:s[n]=a,!o):((!s[n]||!z.isObject(s[n]))&&(s[n]=[]),e(t,a,s[n],r)&&z.isArray(s[n])&&(s[n]=UC(s[n])),!o)}if(z.isFormData(i)&&z.isFunction(i.entries)){const t={};return z.forEachEntry(i,(a,s)=>{e(YC(a),s,t,0)}),t}return null}function XC(i,e,t){if(z.isString(i))try{return(e||JSON.parse)(i),z.trim(i)}catch(a){if(a.name!=="SyntaxError")throw a}return(t||JSON.stringify)(i)}const Kr={transitional:xb,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const a=t.getContentType()||"",s=a.indexOf("application/json")>-1,r=z.isObject(e);if(r&&z.isHTMLForm(e)&&(e=new FormData(e)),z.isFormData(e))return s?JSON.stringify(yb(e)):e;if(z.isArrayBuffer(e)||z.isBuffer(e)||z.isStream(e)||z.isFile(e)||z.isBlob(e)||z.isReadableStream(e))return e;if(z.isArrayBufferView(e))return e.buffer;if(z.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(r){if(a.indexOf("application/x-www-form-urlencoded")>-1)return VC(e,this.formSerializer).toString();if((o=z.isFileList(e))||a.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Xo(o?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||s?(t.setContentType("application/json",!1),XC(e)):e}],transformResponse:[function(e){const t=this.transitional||Kr.transitional,a=t&&t.forcedJSONParsing,s=this.responseType==="json";if(z.isResponse(e)||z.isReadableStream(e))return e;if(e&&z.isString(e)&&(a&&!this.responseType||s)){const n=!(t&&t.silentJSONParsing)&&s;try{return JSON.parse(e,this.parseReviver)}catch(o){if(n)throw o.name==="SyntaxError"?Se.from(o,Se.ERR_BAD_RESPONSE,this,null,this.response):o}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ct.classes.FormData,Blob:Ct.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch"],i=>{Kr.headers[i]={}});const qC=z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),GC=i=>{const e={};let t,a,s;return i&&i.split(`
|
|
39
|
+
`).forEach(function(n){s=n.indexOf(":"),t=n.substring(0,s).trim().toLowerCase(),a=n.substring(s+1).trim(),!(!t||e[t]&&qC[t])&&(t==="set-cookie"?e[t]?e[t].push(a):e[t]=[a]:e[t]=e[t]?e[t]+", "+a:a)}),e},pf=Symbol("internals");function Js(i){return i&&String(i).trim().toLowerCase()}function Ln(i){return i===!1||i==null?i:z.isArray(i)?i.map(Ln):String(i)}function $C(i){const e=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let a;for(;a=t.exec(i);)e[a[1]]=a[2];return e}const KC=i=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(i.trim());function Al(i,e,t,a,s){if(z.isFunction(a))return a.call(this,e,t);if(s&&(e=t),!!z.isString(e)){if(z.isString(a))return e.indexOf(a)!==-1;if(z.isRegExp(a))return a.test(e)}}function ZC(i){return i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,a)=>t.toUpperCase()+a)}function JC(i,e){const t=z.toCamelCase(" "+e);["get","set","has"].forEach(a=>{Object.defineProperty(i,a+t,{value:function(s,r,n){return this[a].call(this,e,s,r,n)},configurable:!0})})}let Yt=class{constructor(e){e&&this.set(e)}set(e,t,a){const s=this;function r(o,l,c){const u=Js(l);if(!u)throw new Error("header name must be a non-empty string");const d=z.findKey(s,u);(!d||s[d]===void 0||c===!0||c===void 0&&s[d]!==!1)&&(s[d||l]=Ln(o))}const n=(o,l)=>z.forEach(o,(c,u)=>r(c,u,l));if(z.isPlainObject(e)||e instanceof this.constructor)n(e,t);else if(z.isString(e)&&(e=e.trim())&&!KC(e))n(GC(e),t);else if(z.isObject(e)&&z.isIterable(e)){let o={},l,c;for(const u of e){if(!z.isArray(u))throw TypeError("Object iterator must return a key-value pair");o[c=u[0]]=(l=o[c])?z.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}n(o,t)}else e!=null&&r(t,e,a);return this}get(e,t){if(e=Js(e),e){const a=z.findKey(this,e);if(a){const s=this[a];if(!t)return s;if(t===!0)return $C(s);if(z.isFunction(t))return t.call(this,s,a);if(z.isRegExp(t))return t.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Js(e),e){const a=z.findKey(this,e);return!!(a&&this[a]!==void 0&&(!t||Al(this,this[a],a,t)))}return!1}delete(e,t){const a=this;let s=!1;function r(n){if(n=Js(n),n){const o=z.findKey(a,n);o&&(!t||Al(a,a[o],o,t))&&(delete a[o],s=!0)}}return z.isArray(e)?e.forEach(r):r(e),s}clear(e){const t=Object.keys(this);let a=t.length,s=!1;for(;a--;){const r=t[a];(!e||Al(this,this[r],r,e,!0))&&(delete this[r],s=!0)}return s}normalize(e){const t=this,a={};return z.forEach(this,(s,r)=>{const n=z.findKey(a,r);if(n){t[n]=Ln(s),delete t[r];return}const o=e?ZC(r):String(r).trim();o!==r&&delete t[r],t[o]=Ln(s),a[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return z.forEach(this,(a,s)=>{a!=null&&a!==!1&&(t[s]=e&&z.isArray(a)?a.join(", "):a)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(`
|
|
40
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const a=new this(e);return t.forEach(s=>a.set(s)),a}static accessor(e){const a=(this[pf]=this[pf]={accessors:{}}).accessors,s=this.prototype;function r(n){const o=Js(n);a[o]||(JC(s,n),a[o]=!0)}return z.isArray(e)?e.forEach(r):r(e),this}};Yt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);z.reduceDescriptors(Yt.prototype,({value:i},e)=>{let t=e[0].toUpperCase()+e.slice(1);return{get:()=>i,set(a){this[t]=a}}});z.freezeMethods(Yt);function Sl(i,e){const t=this||Kr,a=e||t,s=Yt.from(a.headers);let r=a.data;return z.forEach(i,function(o){r=o.call(t,r,s.normalize(),e?e.status:void 0)}),s.normalize(),r}function wb(i){return!!(i&&i.__CANCEL__)}function Fs(i,e,t){Se.call(this,i??"canceled",Se.ERR_CANCELED,e,t),this.name="CanceledError"}z.inherits(Fs,Se,{__CANCEL__:!0});function kb(i,e,t){const a=t.config.validateStatus;!t.status||!a||a(t.status)?i(t):e(new Se("Request failed with status code "+t.status,[Se.ERR_BAD_REQUEST,Se.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}function QC(i){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(i);return e&&e[1]||""}function e1(i,e){i=i||10;const t=new Array(i),a=new Array(i);let s=0,r=0,n;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),u=a[r];n||(n=c),t[s]=l,a[s]=c;let d=r,h=0;for(;d!==s;)h+=t[d++],d=d%i;if(s=(s+1)%i,s===r&&(r=(r+1)%i),c-n<e)return;const f=u&&c-u;return f?Math.round(h*1e3/f):void 0}}function t1(i,e){let t=0,a=1e3/e,s,r;const n=(c,u=Date.now())=>{t=u,s=null,r&&(clearTimeout(r),r=null),i(...c)};return[(...c)=>{const u=Date.now(),d=u-t;d>=a?n(c,u):(s=c,r||(r=setTimeout(()=>{r=null,n(s)},a-d)))},()=>s&&n(s)]}const lo=(i,e,t=3)=>{let a=0;const s=e1(50,250);return t1(r=>{const n=r.loaded,o=r.lengthComputable?r.total:void 0,l=n-a,c=s(l),u=n<=o;a=n;const d={loaded:n,total:o,progress:o?n/o:void 0,bytes:l,rate:c||void 0,estimated:c&&o&&u?(o-n)/c:void 0,event:r,lengthComputable:o!=null,[e?"download":"upload"]:!0};i(d)},t)},mf=(i,e)=>{const t=i!=null;return[a=>e[0]({lengthComputable:t,total:i,loaded:a}),e[1]]},bf=i=>(...e)=>z.asap(()=>i(...e)),i1=Ct.hasStandardBrowserEnv?((i,e)=>t=>(t=new URL(t,Ct.origin),i.protocol===t.protocol&&i.host===t.host&&(e||i.port===t.port)))(new URL(Ct.origin),Ct.navigator&&/(msie|trident)/i.test(Ct.navigator.userAgent)):()=>!0,a1=Ct.hasStandardBrowserEnv?{write(i,e,t,a,s,r,n){if(typeof document>"u")return;const o=[`${i}=${encodeURIComponent(e)}`];z.isNumber(t)&&o.push(`expires=${new Date(t).toUTCString()}`),z.isString(a)&&o.push(`path=${a}`),z.isString(s)&&o.push(`domain=${s}`),r===!0&&o.push("secure"),z.isString(n)&&o.push(`SameSite=${n}`),document.cookie=o.join("; ")},read(i){if(typeof document>"u")return null;const e=document.cookie.match(new RegExp("(?:^|; )"+i+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(i){this.write(i,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function s1(i){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)}function r1(i,e){return e?i.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):i}function Ab(i,e,t){let a=!s1(e);return i&&(a||t==!1)?r1(i,e):e}const vf=i=>i instanceof Yt?{...i}:i;function Ga(i,e){e=e||{};const t={};function a(c,u,d,h){return z.isPlainObject(c)&&z.isPlainObject(u)?z.merge.call({caseless:h},c,u):z.isPlainObject(u)?z.merge({},u):z.isArray(u)?u.slice():u}function s(c,u,d,h){if(z.isUndefined(u)){if(!z.isUndefined(c))return a(void 0,c,d,h)}else return a(c,u,d,h)}function r(c,u){if(!z.isUndefined(u))return a(void 0,u)}function n(c,u){if(z.isUndefined(u)){if(!z.isUndefined(c))return a(void 0,c)}else return a(void 0,u)}function o(c,u,d){if(d in e)return a(c,u);if(d in i)return a(void 0,c)}const l={url:r,method:r,data:r,baseURL:n,transformRequest:n,transformResponse:n,paramsSerializer:n,timeout:n,timeoutMessage:n,withCredentials:n,withXSRFToken:n,adapter:n,responseType:n,xsrfCookieName:n,xsrfHeaderName:n,onUploadProgress:n,onDownloadProgress:n,decompress:n,maxContentLength:n,maxBodyLength:n,beforeRedirect:n,transport:n,httpAgent:n,httpsAgent:n,cancelToken:n,socketPath:n,responseEncoding:n,validateStatus:o,headers:(c,u,d)=>s(vf(c),vf(u),d,!0)};return z.forEach(Object.keys({...i,...e}),function(u){const d=l[u]||s,h=d(i[u],e[u],u);z.isUndefined(h)&&d!==o||(t[u]=h)}),t}const Sb=i=>{const e=Ga({},i);let{data:t,withXSRFToken:a,xsrfHeaderName:s,xsrfCookieName:r,headers:n,auth:o}=e;if(e.headers=n=Yt.from(n),e.url=vb(Ab(e.baseURL,e.url,e.allowAbsoluteUrls),i.params,i.paramsSerializer),o&&n.set("Authorization","Basic "+btoa((o.username||"")+":"+(o.password?unescape(encodeURIComponent(o.password)):""))),z.isFormData(t)){if(Ct.hasStandardBrowserEnv||Ct.hasStandardBrowserWebWorkerEnv)n.setContentType(void 0);else if(z.isFunction(t.getHeaders)){const l=t.getHeaders(),c=["content-type","content-length"];Object.entries(l).forEach(([u,d])=>{c.includes(u.toLowerCase())&&n.set(u,d)})}}if(Ct.hasStandardBrowserEnv&&(a&&z.isFunction(a)&&(a=a(e)),a||a!==!1&&i1(e.url))){const l=s&&r&&a1.read(r);l&&n.set(s,l)}return e},n1=typeof XMLHttpRequest<"u",o1=n1&&function(i){return new Promise(function(t,a){const s=Sb(i);let r=s.data;const n=Yt.from(s.headers).normalize();let{responseType:o,onUploadProgress:l,onDownloadProgress:c}=s,u,d,h,f,g;function p(){f&&f(),g&&g(),s.cancelToken&&s.cancelToken.unsubscribe(u),s.signal&&s.signal.removeEventListener("abort",u)}let m=new XMLHttpRequest;m.open(s.method.toUpperCase(),s.url,!0),m.timeout=s.timeout;function b(){if(!m)return;const x=Yt.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),y={data:!o||o==="text"||o==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:x,config:i,request:m};kb(function(w){t(w),p()},function(w){a(w),p()},y),m=null}"onloadend"in m?m.onloadend=b:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(b)},m.onabort=function(){m&&(a(new Se("Request aborted",Se.ECONNABORTED,i,m)),m=null)},m.onerror=function(k){const y=k&&k.message?k.message:"Network Error",A=new Se(y,Se.ERR_NETWORK,i,m);A.event=k||null,a(A),m=null},m.ontimeout=function(){let k=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const y=s.transitional||xb;s.timeoutErrorMessage&&(k=s.timeoutErrorMessage),a(new Se(k,y.clarifyTimeoutError?Se.ETIMEDOUT:Se.ECONNABORTED,i,m)),m=null},r===void 0&&n.setContentType(null),"setRequestHeader"in m&&z.forEach(n.toJSON(),function(k,y){m.setRequestHeader(y,k)}),z.isUndefined(s.withCredentials)||(m.withCredentials=!!s.withCredentials),o&&o!=="json"&&(m.responseType=s.responseType),c&&([h,g]=lo(c,!0),m.addEventListener("progress",h)),l&&m.upload&&([d,f]=lo(l),m.upload.addEventListener("progress",d),m.upload.addEventListener("loadend",f)),(s.cancelToken||s.signal)&&(u=x=>{m&&(a(!x||x.type?new Fs(null,i,m):x),m.abort(),m=null)},s.cancelToken&&s.cancelToken.subscribe(u),s.signal&&(s.signal.aborted?u():s.signal.addEventListener("abort",u)));const v=QC(s.url);if(v&&Ct.protocols.indexOf(v)===-1){a(new Se("Unsupported protocol "+v+":",Se.ERR_BAD_REQUEST,i));return}m.send(r||null)})},l1=(i,e)=>{const{length:t}=i=i?i.filter(Boolean):[];if(e||t){let a=new AbortController,s;const r=function(c){if(!s){s=!0,o();const u=c instanceof Error?c:this.reason;a.abort(u instanceof Se?u:new Fs(u instanceof Error?u.message:u))}};let n=e&&setTimeout(()=>{n=null,r(new Se(`timeout ${e} of ms exceeded`,Se.ETIMEDOUT))},e);const o=()=>{i&&(n&&clearTimeout(n),n=null,i.forEach(c=>{c.unsubscribe?c.unsubscribe(r):c.removeEventListener("abort",r)}),i=null)};i.forEach(c=>c.addEventListener("abort",r));const{signal:l}=a;return l.unsubscribe=()=>z.asap(o),l}},c1=function*(i,e){let t=i.byteLength;if(t<e){yield i;return}let a=0,s;for(;a<t;)s=a+e,yield i.slice(a,s),a=s},u1=async function*(i,e){for await(const t of d1(i))yield*c1(t,e)},d1=async function*(i){if(i[Symbol.asyncIterator]){yield*i;return}const e=i.getReader();try{for(;;){const{done:t,value:a}=await e.read();if(t)break;yield a}}finally{await e.cancel()}},xf=(i,e,t,a)=>{const s=u1(i,e);let r=0,n,o=l=>{n||(n=!0,a&&a(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await s.next();if(c){o(),l.close();return}let d=u.byteLength;if(t){let h=r+=d;t(h)}l.enqueue(new Uint8Array(u))}catch(c){throw o(c),c}},cancel(l){return o(l),s.return()}},{highWaterMark:2})},yf=64*1024,{isFunction:bn}=z,h1=(({Request:i,Response:e})=>({Request:i,Response:e}))(z.global),{ReadableStream:wf,TextEncoder:kf}=z.global,Af=(i,...e)=>{try{return!!i(...e)}catch{return!1}},f1=i=>{i=z.merge.call({skipUndefined:!0},h1,i);const{fetch:e,Request:t,Response:a}=i,s=e?bn(e):typeof fetch=="function",r=bn(t),n=bn(a);if(!s)return!1;const o=s&&bn(wf),l=s&&(typeof kf=="function"?(g=>p=>g.encode(p))(new kf):async g=>new Uint8Array(await new t(g).arrayBuffer())),c=r&&o&&Af(()=>{let g=!1;const p=new t(Ct.origin,{body:new wf,method:"POST",get duplex(){return g=!0,"half"}}).headers.has("Content-Type");return g&&!p}),u=n&&o&&Af(()=>z.isReadableStream(new a("").body)),d={stream:u&&(g=>g.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(g=>{!d[g]&&(d[g]=(p,m)=>{let b=p&&p[g];if(b)return b.call(p);throw new Se(`Response type '${g}' is not supported`,Se.ERR_NOT_SUPPORT,m)})});const h=async g=>{if(g==null)return 0;if(z.isBlob(g))return g.size;if(z.isSpecCompliantForm(g))return(await new t(Ct.origin,{method:"POST",body:g}).arrayBuffer()).byteLength;if(z.isArrayBufferView(g)||z.isArrayBuffer(g))return g.byteLength;if(z.isURLSearchParams(g)&&(g=g+""),z.isString(g))return(await l(g)).byteLength},f=async(g,p)=>{const m=z.toFiniteNumber(g.getContentLength());return m??h(p)};return async g=>{let{url:p,method:m,data:b,signal:v,cancelToken:x,timeout:k,onDownloadProgress:y,onUploadProgress:A,responseType:w,headers:S,withCredentials:C="same-origin",fetchOptions:E}=Sb(g),M=e||fetch;w=w?(w+"").toLowerCase():"text";let P=l1([v,x&&x.toAbortSignal()],k),D=null;const L=P&&P.unsubscribe&&(()=>{P.unsubscribe()});let B;try{if(A&&c&&m!=="get"&&m!=="head"&&(B=await f(S,b))!==0){let ae=new t(p,{method:"POST",body:b,duplex:"half"}),le;if(z.isFormData(b)&&(le=ae.headers.get("content-type"))&&S.setContentType(le),ae.body){const[Ee,pe]=mf(B,lo(bf(A)));b=xf(ae.body,yf,Ee,pe)}}z.isString(C)||(C=C?"include":"omit");const N=r&&"credentials"in t.prototype,F={...E,signal:P,method:m.toUpperCase(),headers:S.normalize().toJSON(),body:b,duplex:"half",credentials:N?C:void 0};D=r&&new t(p,F);let H=await(r?M(D,E):M(p,F));const ie=u&&(w==="stream"||w==="response");if(u&&(y||ie&&L)){const ae={};["status","statusText","headers"].forEach(Re=>{ae[Re]=H[Re]});const le=z.toFiniteNumber(H.headers.get("content-length")),[Ee,pe]=y&&mf(le,lo(bf(y),!0))||[];H=new a(xf(H.body,yf,Ee,()=>{pe&&pe(),L&&L()}),ae)}w=w||"text";let re=await d[z.findKey(d,w)||"text"](H,g);return!ie&&L&&L(),await new Promise((ae,le)=>{kb(ae,le,{data:re,headers:Yt.from(H.headers),status:H.status,statusText:H.statusText,config:g,request:D})})}catch(N){throw L&&L(),N&&N.name==="TypeError"&&/Load failed|fetch/i.test(N.message)?Object.assign(new Se("Network Error",Se.ERR_NETWORK,g,D),{cause:N.cause||N}):Se.from(N,N&&N.code,g,D)}}},g1=new Map,Cb=i=>{let e=i&&i.env||{};const{fetch:t,Request:a,Response:s}=e,r=[a,s,t];let n=r.length,o=n,l,c,u=g1;for(;o--;)l=r[o],c=u.get(l),c===void 0&&u.set(l,c=o?new Map:f1(e)),u=c;return c};Cb();const ad={http:TC,xhr:o1,fetch:{get:Cb}};z.forEach(ad,(i,e)=>{if(i){try{Object.defineProperty(i,"name",{value:e})}catch{}Object.defineProperty(i,"adapterName",{value:e})}});const Sf=i=>`- ${i}`,p1=i=>z.isFunction(i)||i===null||i===!1;function m1(i,e){i=z.isArray(i)?i:[i];const{length:t}=i;let a,s;const r={};for(let n=0;n<t;n++){a=i[n];let o;if(s=a,!p1(a)&&(s=ad[(o=String(a)).toLowerCase()],s===void 0))throw new Se(`Unknown adapter '${o}'`);if(s&&(z.isFunction(s)||(s=s.get(e))))break;r[o||"#"+n]=s}if(!s){const n=Object.entries(r).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let o=t?n.length>1?`since :
|
|
41
|
+
`+n.map(Sf).join(`
|
|
42
|
+
`):" "+Sf(n[0]):"as no adapter specified";throw new Se("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return s}const Eb={getAdapter:m1,adapters:ad};function Cl(i){if(i.cancelToken&&i.cancelToken.throwIfRequested(),i.signal&&i.signal.aborted)throw new Fs(null,i)}function Cf(i){return Cl(i),i.headers=Yt.from(i.headers),i.data=Sl.call(i,i.transformRequest),["post","put","patch"].indexOf(i.method)!==-1&&i.headers.setContentType("application/x-www-form-urlencoded",!1),Eb.getAdapter(i.adapter||Kr.adapter,i)(i).then(function(a){return Cl(i),a.data=Sl.call(i,i.transformResponse,a),a.headers=Yt.from(a.headers),a},function(a){return wb(a)||(Cl(i),a&&a.response&&(a.response.data=Sl.call(i,i.transformResponse,a.response),a.response.headers=Yt.from(a.response.headers))),Promise.reject(a)})}const Mb="1.13.2",qo={};["object","boolean","number","function","string","symbol"].forEach((i,e)=>{qo[i]=function(a){return typeof a===i||"a"+(e<1?"n ":" ")+i}});const Ef={};qo.transitional=function(e,t,a){function s(r,n){return"[Axios v"+Mb+"] Transitional option '"+r+"'"+n+(a?". "+a:"")}return(r,n,o)=>{if(e===!1)throw new Se(s(n," has been removed"+(t?" in "+t:"")),Se.ERR_DEPRECATED);return t&&!Ef[n]&&(Ef[n]=!0,console.warn(s(n," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(r,n,o):!0}};qo.spelling=function(e){return(t,a)=>(console.warn(`${a} is likely a misspelling of ${e}`),!0)};function b1(i,e,t){if(typeof i!="object")throw new Se("options must be an object",Se.ERR_BAD_OPTION_VALUE);const a=Object.keys(i);let s=a.length;for(;s-- >0;){const r=a[s],n=e[r];if(n){const o=i[r],l=o===void 0||n(o,r,i);if(l!==!0)throw new Se("option "+r+" must be "+l,Se.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new Se("Unknown option "+r,Se.ERR_BAD_OPTION)}}const Rn={assertOptions:b1,validators:qo},Ai=Rn.validators;let Wa=class{constructor(e){this.defaults=e||{},this.interceptors={request:new gf,response:new gf}}async request(e,t){try{return await this._request(e,t)}catch(a){if(a instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const r=s.stack?s.stack.replace(/^.+\n/,""):"";try{a.stack?r&&!String(a.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(a.stack+=`
|
|
43
|
+
`+r):a.stack=r}catch{}}throw a}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=Ga(this.defaults,t);const{transitional:a,paramsSerializer:s,headers:r}=t;a!==void 0&&Rn.assertOptions(a,{silentJSONParsing:Ai.transitional(Ai.boolean),forcedJSONParsing:Ai.transitional(Ai.boolean),clarifyTimeoutError:Ai.transitional(Ai.boolean)},!1),s!=null&&(z.isFunction(s)?t.paramsSerializer={serialize:s}:Rn.assertOptions(s,{encode:Ai.function,serialize:Ai.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Rn.assertOptions(t,{baseUrl:Ai.spelling("baseURL"),withXsrfToken:Ai.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let n=r&&z.merge(r.common,r[t.method]);r&&z.forEach(["delete","get","head","post","put","patch","common"],g=>{delete r[g]}),t.headers=Yt.concat(n,r);const o=[];let l=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(t)===!1||(l=l&&p.synchronous,o.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,d=0,h;if(!l){const g=[Cf.bind(this),void 0];for(g.unshift(...o),g.push(...c),h=g.length,u=Promise.resolve(t);d<h;)u=u.then(g[d++],g[d++]);return u}h=o.length;let f=t;for(;d<h;){const g=o[d++],p=o[d++];try{f=g(f)}catch(m){p.call(this,m);break}}try{u=Cf.call(this,f)}catch(g){return Promise.reject(g)}for(d=0,h=c.length;d<h;)u=u.then(c[d++],c[d++]);return u}getUri(e){e=Ga(this.defaults,e);const t=Ab(e.baseURL,e.url,e.allowAbsoluteUrls);return vb(t,e.params,e.paramsSerializer)}};z.forEach(["delete","get","head","options"],function(e){Wa.prototype[e]=function(t,a){return this.request(Ga(a||{},{method:e,url:t,data:(a||{}).data}))}});z.forEach(["post","put","patch"],function(e){function t(a){return function(r,n,o){return this.request(Ga(o||{},{method:e,headers:a?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}Wa.prototype[e]=t(),Wa.prototype[e+"Form"]=t(!0)});let v1=class Pb{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(r){t=r});const a=this;this.promise.then(s=>{if(!a._listeners)return;let r=a._listeners.length;for(;r-- >0;)a._listeners[r](s);a._listeners=null}),this.promise.then=s=>{let r;const n=new Promise(o=>{a.subscribe(o),r=o}).then(s);return n.cancel=function(){a.unsubscribe(r)},n},e(function(r,n,o){a.reason||(a.reason=new Fs(r,n,o),t(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=a=>{e.abort(a)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new Pb(function(s){e=s}),cancel:e}}};function x1(i){return function(t){return i.apply(null,t)}}function y1(i){return z.isObject(i)&&i.isAxiosError===!0}const Lc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Lc).forEach(([i,e])=>{Lc[e]=i});function _b(i){const e=new Wa(i),t=nb(Wa.prototype.request,e);return z.extend(t,Wa.prototype,e,{allOwnKeys:!0}),z.extend(t,e,null,{allOwnKeys:!0}),t.create=function(s){return _b(Ga(i,s))},t}const ot=_b(Kr);ot.Axios=Wa;ot.CanceledError=Fs;ot.CancelToken=v1;ot.isCancel=wb;ot.VERSION=Mb;ot.toFormData=Xo;ot.AxiosError=Se;ot.Cancel=ot.CanceledError;ot.all=function(e){return Promise.all(e)};ot.spread=x1;ot.isAxiosError=y1;ot.mergeConfig=Ga;ot.AxiosHeaders=Yt;ot.formToJSON=i=>yb(z.isHTMLForm(i)?new FormData(i):i);ot.getAdapter=Eb.getAdapter;ot.HttpStatusCode=Lc;ot.default=ot;const{Axios:KT,AxiosError:ZT,CanceledError:JT,isCancel:QT,CancelToken:eD,VERSION:tD,all:iD,Cancel:aD,isAxiosError:sD,spread:rD,toFormData:nD,AxiosHeaders:oD,HttpStatusCode:lD,formToJSON:cD,getAdapter:uD,mergeConfig:dD}=ot;/*! js-cookie v3.0.5 | MIT */function vn(i){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var a in t)i[a]=t[a]}return i}var w1={read:function(i){return i[0]==='"'&&(i=i.slice(1,-1)),i.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(i){return encodeURIComponent(i).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Rc(i,e){function t(s,r,n){if(!(typeof document>"u")){n=vn({},e,n),typeof n.expires=="number"&&(n.expires=new Date(Date.now()+n.expires*864e5)),n.expires&&(n.expires=n.expires.toUTCString()),s=encodeURIComponent(s).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var l in n)n[l]&&(o+="; "+l,n[l]!==!0&&(o+="="+n[l].split(";")[0]));return document.cookie=s+"="+i.write(r,s)+o}}function a(s){if(!(typeof document>"u"||arguments.length&&!s)){for(var r=document.cookie?document.cookie.split("; "):[],n={},o=0;o<r.length;o++){var l=r[o].split("="),c=l.slice(1).join("=");try{var u=decodeURIComponent(l[0]);if(n[u]=i.read(c,u),s===u)break}catch{}}return s?n[s]:n}}return Object.create({set:t,get:a,remove:function(s,r){t(s,"",vn({},r,{expires:-1}))},withAttributes:function(s){return Rc(this.converter,vn({},this.attributes,s))},withConverter:function(s){return Rc(vn({},this.converter,s),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(i)}})}var Nc=Rc(w1,{path:"/"});const ue=ot.create();ue.interceptors.request.use(async function(i){const e=Go();if(e.isAuthenticated){const t=await e.getAccessToken();i.headers["Accept-Language"]=e.authUser.language,i.headers.Authorization=`Bearer ${t}`}return i},function(i){return Promise.reject(i)});ue.interceptors.response.use(function(i){return i},function(i){var a;if(i.response.status===418)return ua.push({name:"TwoFA"}),Promise.reject(i);if(i.response.status===429)return Promise.reject(i);if(i.response.status!==401||ua.currentRoute.name==="Login"){if(i.response.status!==518&&i.config&&!i.config.ignoreErrors){const s=DE(),r=((a=i.response.data)==null?void 0:a.error)||i.response.data;s.displayNotification({msg:r,type:"error"})}return Promise.reject(i)}const e=Nc.get("refreshToken"),t=Go();return i.config.url.endsWith("/token/refresh/")||!e?(t.$reset(),ua.currentRoute.name!=="Login"&&ua.push({name:"Login"}),Promise.reject(i)):ue.post("/token/refresh/",{refresh:e}).then(s=>{Nc.set("token",s.data.access,{sameSite:"strict"}),ue.defaults.headers.common.Authorization=`Bearer ${s.data.access}`;const r=i.config;return r.headers.Authorization=`Bearer ${s.data.access}`,new Promise((n,o)=>{ue.request(r).then(l=>{n(l)}).catch(l=>{o(l)})})}).catch(s=>{Promise.reject(s)})});function hD(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}function k1(i){if(Object.prototype.hasOwnProperty.call(i,"__esModule"))return i;var e=i.default;if(typeof e=="function"){var t=function a(){return this instanceof a?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(i).forEach(function(a){var s=Object.getOwnPropertyDescriptor(i,a);Object.defineProperty(t,a,s.get?s:{enumerable:!0,get:function(){return i[a]}})}),t}const A1={},S1=Object.freeze(Object.defineProperty({__proto__:null,default:A1},Symbol.toStringTag,{value:"Module"})),Mf=k1(S1);var El,Pf;function C1(){if(Pf)return El;Pf=1;function i(t){return t.replace(/^\s+|\s+$/g,"")}var e=function(){this.comments=[],this.extractedComments=[],this.headers={},this.headerOrder=[],this.items=[]};return e.prototype.save=function(t,a){Mf.writeFile(t,this.toString(),a)},e.prototype.toString=function(){var t=[];this.comments&&this.comments.forEach(function(n){t.push(("# "+n).trim())}),this.extractedComments&&this.extractedComments.forEach(function(n){t.push(("#. "+n).trim())}),t.push('msgid ""'),t.push('msgstr ""');var a=this,s=[];this.headerOrder.forEach(function(n){n in a.headers&&s.push(n)});var r=Object.keys(this.headers);return r.forEach(function(n){s.indexOf(n)===-1&&s.push(n)}),s.forEach(function(n){t.push('"'+n+": "+a.headers[n]+'\\n"')}),t.push(""),this.items.forEach(function(n){t.push(n.toString()),t.push("")}),t.join(`
|
|
44
|
+
`)},e.load=function(t,a){Mf.readFile(t,"utf-8",function(s,r){if(s)return a(s);var n=e.parse(r);a(null,n)})},e.parse=function(t){t=t.replace(/\r\n/g,`
|
|
45
|
+
`);for(var a=new e,s=t.split(/\n\n/),r=[];s[0]&&(r.length===0||r[r.length-1].indexOf('msgid ""')<0);)s[0].match(/msgid\s+"[^"]/)?r.push('msgid ""'):r.push(s.shift());r=r.join(`
|
|
46
|
+
`);var n=s.join(`
|
|
47
|
+
`).split(/\n/);a.headers={"Project-Id-Version":"","Report-Msgid-Bugs-To":"","POT-Creation-Date":"","PO-Revision-Date":"","Last-Translator":"",Language:"","Language-Team":"","Content-Type":"","Content-Transfer-Encoding":"","Plural-Forms":""},a.headerOrder=[],r.split(/\n/).reduce(function(y,A){return y.merge&&(A=y.pop().slice(0,-1)+A.slice(1),delete y.merge),/^".*"$/.test(A)&&!/^".*\\n"$/.test(A)&&(y.merge=!0),y.push(A),y},[]).forEach(function(y){if(y.match(/^#\./))a.extractedComments.push(y.replace(/^#\.\s*/,""));else if(y.match(/^#/))a.comments.push(y.replace(/^#\s*/,""));else if(y.match(/^"/)){y=y.trim().replace(/^"/,"").replace(/\\n"$/,"");var A=y.split(/:/),w=A.shift().trim(),S=A.join(":").trim();a.headers[w]=S,a.headerOrder.push(w)}});var o=e.parsePluralForms(a.headers["Plural-Forms"]),l=o.nplurals,c=new e.Item({nplurals:l}),u=null,d=0,h=0,f=0;function g(){c.msgid.length>0&&(h>=f&&(c.obsolete=!0),h=0,f=0,a.items.push(c),c=new e.Item({nplurals:l}))}function p(y){return y=i(y),y=y.replace(/^[^"]*"|"$/g,""),y=y.replace(/\\([abtnvfr'"\\?]|([0-7]{3})|x([0-9a-fA-F]{2}))/g,function(A,w,S,C){if(S)return String.fromCharCode(parseInt(S,8));if(C)return String.fromCharCode(parseInt(C,16));switch(w){case"a":return"\x07";case"b":return"\b";case"t":return" ";case"n":return`
|
|
48
|
+
`;case"v":return"\v";case"f":return"\f";case"r":return"\r";default:return w}}),y}for(;n.length>0;){var m=i(n.shift()),b=!1;if(m.match(/^#\~/)&&(m=i(m.substring(2)),b=!0),m.match(/^#:/))g(),c.references.push(i(m.replace(/^#:/,"")));else if(m.match(/^#,/)){g();for(var v=i(m.replace(/^#,/,"")).split(","),x=0;x<v.length;x++)c.flags[v[x]]=!0}else if(m.match(/^#($|\s+)/))g(),c.comments.push(i(m.replace(/^#($|\s+)/,"")));else if(m.match(/^#\./))g(),c.extractedComments.push(i(m.replace(/^#\./,"")));else if(m.match(/^msgid_plural/))c.msgid_plural=p(m),u="msgid_plural",f++;else if(m.match(/^msgid/))g(),c.msgid=p(m),u="msgid",f++;else if(m.match(/^msgstr/)){var k=m.match(/^msgstr\[(\d+)\]/);d=k&&k[1]?parseInt(k[1]):0,c.msgstr[d]=p(m),u="msgstr",f++}else m.match(/^msgctxt/)?(g(),c.msgctxt=p(m),u="msgctxt",f++):m.length>0&&(f++,u==="msgstr"?c.msgstr[d]+=p(m):u==="msgid"?c.msgid+=p(m):u==="msgid_plural"?c.msgid_plural+=p(m):u==="msgctxt"&&(c.msgctxt+=p(m)));b&&h++}return g(),a},e.parsePluralForms=function(t){var a=(t||"").split(";").reduce(function(s,r){var n=r.trim(),o=n.indexOf("="),l=n.substring(0,o).trim(),c=n.substring(o+1).trim();return s[l]=c,s},{});return{nplurals:a.nplurals,plural:a.plural}},e.Item=function(t){var a=t&&t.nplurals;this.msgid="",this.msgctxt=null,this.references=[],this.msgid_plural=null,this.msgstr=[],this.comments=[],this.extractedComments=[],this.flags={},this.obsolete=!1;var s=Number(a);this.nplurals=isNaN(s)?2:s},e.Item.prototype.toString=function(){var t=[],a=this,s=function(c){return c=c.replace(/[\x07\b\t\v\f\r"\\]/g,function(u){switch(u){case"\x07":return"\\a";case"\b":return"\\b";case" ":return"\\t";case"\v":return"\\v";case"\f":return"\\f";case"\r":return"\\r";default:return"\\"+u}}),c},r=function(c,u,d){var h=[],f=u.split(/\n/),g=typeof d<"u"?"["+d+"]":"";return f.length>1?(h.push(c+g+' ""'),f.forEach(function(p){h.push('"'+s(p)+'"')})):h.push(c+g+' "'+s(u)+'"'),h},n=function(c,u,d){for(var h=r(c,u,d),f=1;f<h.length-1;f++)h[f]=h[f].slice(0,-1)+'\\n"';return h};this.comments.forEach(function(c){t.push("# "+c)}),this.extractedComments.forEach(function(c){t.push("#. "+c)}),this.references.forEach(function(c){t.push("#: "+c)});var o=Object.keys(this.flags).filter(function(c){return!!this.flags[c]},this);o.length>0&&t.push("#, "+o.join(","));var l=this.obsolete?"#~ ":"";return["msgctxt","msgid","msgid_plural","msgstr"].forEach(function(c){var u=a[c];if(u!=null){var d=!1;if(Array.isArray(u)&&(d=u.some(function(p){return p})),Array.isArray(u)&&u.length>1)u.forEach(function(p,m){var b=n(c,p,m);t=t.concat(l+b.join(`
|
|
49
|
+
`+l))});else if(a.msgid_plural&&c==="msgstr"&&!d)for(var h=0;h<a.nplurals;h++)t=t.concat(l+r(c,"",h));else{var f=a.msgid_plural&&Array.isArray(u)?0:void 0;u=Array.isArray(u)?u.join():u;var g=n(c,u,f);t=t.concat(l+g.join(`
|
|
50
|
+
`+l))}}}),t.join(`
|
|
51
|
+
`)},El=e,El}C1();var E1=/[[\].]{1,2}/g,Ib=/%\{((?:.|\n)+?)\}/g,M1=/\{\{((?:.|\n)+?)\}\}/g,sd=i=>(e,t={},a)=>(!i.silent&&M1.test(e)&&console.warn(`Mustache syntax cannot be used with vue-gettext. Please use "%{}" instead of "{{}}" in: ${e}`),e.replace(Ib,(n,o)=>{const l=o.trim();let c;function u(h,f){const g=f.split(E1).filter(p=>p);for(;g.length;)h=h[g.shift()];return h}function d(h,f,g){try{c=u(h,f)}catch{}if(c==null){if(g)return d(g.ctx,f,g.parent);console.warn(`Cannot evaluate expression: ${f}`),c=f}return c.toString()}return d(t,l,a)}));sd.INTERPOLATION_RE=Ib;sd.INTERPOLATION_PREFIX="%{";var P1=sd,_f={getTranslationIndex:function(i,e){switch(e=Number(e),e=typeof e=="number"&&isNaN(e)?1:e,i.length>2&&i!=="pt_BR"&&(i=i.split("_")[0]),i){case"ay":case"bo":case"cgg":case"dz":case"fa":case"id":case"ja":case"jbo":case"ka":case"kk":case"km":case"ko":case"ky":case"lo":case"ms":case"my":case"sah":case"su":case"th":case"tt":case"ug":case"vi":case"wo":case"zh":return 0;case"is":return e%10!==1||e%100===11?1:0;case"jv":return e!==0?1:0;case"mk":return e===1||e%10===1?0:1;case"ach":case"ak":case"am":case"arn":case"br":case"fil":case"fr":case"gun":case"ln":case"mfe":case"mg":case"mi":case"oc":case"pt_BR":case"tg":case"ti":case"tr":case"uz":case"wa":return e>1?1:0;case"lv":return e%10===1&&e%100!==11?0:e!==0?1:2;case"lt":return e%10===1&&e%100!==11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2;case"be":case"bs":case"hr":case"ru":case"sr":case"uk":return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2;case"mnk":return e===0?0:e===1?1:2;case"ro":return e===1?0:e===0||e%100>0&&e%100<20?1:2;case"pl":return e===1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2;case"cs":case"sk":return e===1?0:e>=2&&e<=4?1:2;case"csb":return e===1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2;case"sl":return e%100===1?0:e%100===2?1:e%100===3||e%100===4?2:3;case"mt":return e===1?0:e===0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3;case"gd":return e===1||e===11?0:e===2||e===12?1:e>2&&e<20?2:3;case"cy":return e===1?0:e===2?1:e!==8&&e!==11?2:3;case"kw":return e===1?0:e===2?1:e===3?2:3;case"ga":return e===1?0:e===2?1:e>2&&e<7?2:e>6&&e<11?3:4;case"ar":return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5;default:return e!==1?1:0}}},Oc=Symbol("GETTEXT");function Fc(i){return i.replaceAll(/\r?\n/g,`
|
|
52
|
+
`)}function If(i){const e={};return Object.keys(i).forEach(t=>{const a=i[t],s={};Object.keys(a).forEach(r=>{s[Fc(r)]=a[r]}),e[t]=s}),e}var fD=()=>{const i=Je(Oc,null);if(!i)throw new Error("Failed to inject gettext. Make sure vue3-gettext is set up properly.");return i},_1=i=>({getTranslation:function(e,t=1,a=null,s=null,r,n){r===void 0&&(r=i.current);const o=(b,v)=>v?i.interpolate(b,v):b;if(e=Fc(e),s=s?Fc(s):null,!e)return"";const l=r?i.silent||i.muted.indexOf(r)!==-1:!1;let c="en";i.sourceCodeLanguage&&(c=i.sourceCodeLanguage);const u=s&&_f.getTranslationIndex(c,t)>0?s:e,d=i.translations,h=d[r]||d[r.split("_")[0]];if(!h)return l||console.warn(`No translations found for ${r}`),o(u,n);const f=b=>{let v=_f.getTranslationIndex(r,t);b.length===1&&t===1&&(v=0);const x=b[v];if(!x){if(x==="")return o(u,n);throw new Error(e+" "+v+" "+i.current+" "+t)}return o(x,n)},g=()=>{if(!l){let b=`Untranslated ${r} key found: ${e}`;a&&(b+=` (with context: ${a})`),console.warn(b)}return o(u,n)},p=(b,v=null)=>{if(b instanceof Object){if(Array.isArray(b))return f(b);const k=b[v??""];return p(k)}return v||!b?g():o(b,n)},m=h[e];return p(m,a)},gettext:function(e,t){return this.getTranslation(e,void 0,void 0,void 0,void 0,t)},pgettext:function(e,t,a){return this.getTranslation(t,1,e,void 0,void 0,a)},ngettext:function(e,t,a,s){return this.getTranslation(e,a,null,t,void 0,s)},npgettext:function(e,t,a,s,r){return this.getTranslation(t,s,e,a,void 0,r)}}),I1=_1,Tf={availableLanguages:{en:"English"},defaultLanguage:"en",sourceCodeLanguage:void 0,mutedLanguages:[],silent:!1,translations:{},setGlobalProperties:!0,globalProperties:{language:["$language"],gettext:["$gettext"],pgettext:["$pgettext"],ngettext:["$ngettext"],npgettext:["$npgettext"],interpolate:["$gettextInterpolate"]}};function T1(i={}){Object.keys(i).forEach(n=>{if(Object.keys(Tf).indexOf(n)===-1)throw new Error(`${n} is an invalid option for the translate plugin.`)});const e={...Tf,...i},t=nt(If(e.translations)),a=Di({available:e.availableLanguages,muted:e.mutedLanguages,silent:e.silent,translations:Xe({get:()=>t.value,set:n=>{t.value=If(n)}}),current:e.defaultLanguage,sourceCodeLanguage:e.sourceCodeLanguage,install(n){if(n[Oc]=a,n.provide(Oc,a),e.setGlobalProperties){const o=n.config.globalProperties;let l=e.globalProperties.gettext||["$gettext"];l.forEach(c=>{o[c]=a.$gettext}),l=e.globalProperties.pgettext||["$pgettext"],l.forEach(c=>{o[c]=a.$pgettext}),l=e.globalProperties.ngettext||["$ngettext"],l.forEach(c=>{o[c]=a.$ngettext}),l=e.globalProperties.npgettext||["$npgettext"],l.forEach(c=>{o[c]=a.$npgettext}),l=e.globalProperties.language||["$language"],l.forEach(c=>{o[c]=a})}}}),s=I1(a),r=P1(a);return a.$gettext=s.gettext.bind(s),a.$pgettext=s.pgettext.bind(s),a.$ngettext=s.ngettext.bind(s),a.$npgettext=s.npgettext.bind(s),a.interpolate=r.bind(r),a}const D1={},L1={Enabled:"Enaouet",Password:"Ger-tremen",Name:"Anv",Actions:"Oberioù",Save:"Enrollañ",Update:"Hizivaat","Recipient(s)":"Resever(ien)","Keep local copies":"Mirout eiladennoù lec'hel","Forward messages and store copies into your local mailbox":"Treuzkas kemennadennoù ha stokiñ eiladennoù e-barzh ar voest-posteloù lec'hel","Forward updated":"Treuzkas hizivaet","Last name":"Anv familh","Phone number":"Niverenn pellgomz","Secondary email":"Eil chomlec'h postel","Profile updated":"Profil hizivaet",Close:"Serriñ",Search:"Klask",Closed:"Serriñ",Status:"Statud",Domain:"Domani",Mailbox:"Boest-posteloù",Message:"Implij","Unknown sources / Threats":"Mammennoù dizanv/Gourdrouzioù","Partially aligned":"Linennet dre an hanter",Failed:"C'hwitet",Total:"Hollad",Authentication:"O vezañ anavezet","DKIM key":"Alc'hwez DKIM","Show key":"Diskouez an alc'hwez","Not generated":"Neket ganet",Address:"Chomlec'h",Updated:"Hizivaet",Disabled:"Lazhet",Unknown:"Dizanv",Administrators:"Merourien",Username:"Anv implier",Add:"Ouzhpennañ","New domain":"Domani nevez",General:"Hollek",DNS:"DNS",Options:"Dibarzhioù",Transport:"Treuzdougen",Type:"Doare","Enable DNS checks":"Enaouiñ ar gwiriañ DNS","Enable DKIM signing":"Enaouiñ ar sinadur DKIM",Quota:"Kota","Default mailbox quota":"Kota boest-posteloù dre-ziouer","Create a domain administrator":"Krouit ur merour domani","Random password":"Ger-tremen dre-zegouezh","Create aliases":"Krouiñ aliasoù","Domain created":"Domani krouet","Bind/named format. Click to copy":"Stumm Ereet/anvet",Resources:"Mammennoù",Aliases:"Aliasoù","DNS status":"Statud DNS",Apply:"Arloañ","Creation date":"Deiziad krouidigezh","Last modification date":"Deiziad aozañ diwezhañ",Mailboxes:"Boest-posteloù","Quota shared between mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":`Kota rannet kenetre ar boestoù-postel. Gellout a ra bezañ ezpleget e Ko, Mo (diouer) pe Go c'hoazh. Un dalvoudegezh "0" a dalvez kota ebet.`,"Default quota applied to mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":`Kota arloet d'ar boestoù-postel. Gellout a ra bezañ ezpleget e Ko, Mo (diouer) pe Go c'hoazh. Un dalvoudegezh "0" a dalvez kota ebet.`,"With a mailbox":"Gant ur voest-posteloù","Create a mailbox for the administrator.":"Krouiñ ur voest-posteloù evit ar merour.","New account":"Kont nevez",Role:"Rol",Email:"Postel",Account:"Kont",Profile:"Profil",Alias:"Alias","Sender addresses":"Chomlec'hioù ar c'haser","Full name":"Anv klok","New alias":"Alias nevez","Random address":"Chomlec'h dre-zegouezh","Expire at":"Diamzeriet da",Description:"Deskrivadur",Recipients:"Reseverien",Modified:"Aozet","Administered domains":"Domanioù meret","Quota for this mailbox, can be expressed in KB, MB (default) or GB. Define a custom value or use domain's default one. Leave empty to define an unlimited value (not allowed for domain administrators).":"Kota evit ar voest-posteloù-mañ. Gellout a ra bezañ ezpleget e Ko, Mo (diouer) pe Go c'hoazh. Termeniñ un dalvoudegezh ispisial pe implijit talvoudegezh an domani. Laoskit goullo evit termeniñ un dalvoudegezh divevenn (berzet evit ar verourien zomani).","Use domain default value":"Implijout un dalvoudegezh domani dre-ziouer",unlimited:"divevennet",Confirmation:"Kadarnadur","Simple user":"Implijer diazez","Domain administrator":"Merour an domani",Reseller:"Eilgwerzher","Super administrator":"Dreist-merour","Email address":"Chomlec'h postel",Level:"Live",Logger:"Enroller","The credentials are the same than the ones you use to access Modoboa.":"An titouroù anaout a vez ar memes re hag ar re a implijit da dizhout Modoboa.","Address book information":"Chomlec'h titouroù al levr","To access this address book from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Evit tizhoù al levr chomlec'hioù-mañ adalek an diavaez (evel da skouer Mozilla Thunderbird war ho poellgomzer), implijit an URL da-heul:",Categories:"Rummadoù",Company:"Embregerezh",City:"Kêr",Country:"Bro","State/Province":"Stad/Proviñs",Note:"Notenn",More:"Muioc'h",Phone:"Pellgomz",Logout:"Digevreañ",Summary:"Berradenn",Next:"Da-heul",Separator:"Skejer","Continue on error":"Kenderc'hel war ar fazi",Import:"Emporzhiañ","Resources usage":"Implij mammennoù",Settings:"Arventennoù",Dashboard:"Taolenn-stur",Domains:"Domanioù",Identities:"Identelezhioù",Information:"Titouroù","Passwords mismatch":"Disklotadurioù gerioù-tremen",Forward:"Treuzkas","API access":"API moned","Import domains":"Emporzhiañ domanioù","Import identities":"Emporzhiañ identelezhioù","Crypt passwords":"Kriptañ ar gerioù-tremen","Check this option if passwords contained in your file are not crypted":"Kochit an dibarzh ma ne vez ket kriptet ar gerioù-tremen endalc'het en ho restr","One or more updates are available":"Hegerz ez eus un hizivadenn pe muioc'h","Installed version":"Stumm staliet",Contacts:"Darempredoù","Welcome to Modoboa":"Degemer mat e-barzh Modoboa"},R1={Enabled:"Activado",Password:"Contraseña",Name:"Nombre",Actions:"Acciones",Save:"Guardar",Update:"Actualizar","Recipient(s)":"Destinatario(s)","Keep local copies":"Mantener copias locales","Forward messages and store copies into your local mailbox":"Reenvía mensajes y guarda copias en su mailbox local","Forward updated":"Reenvío actualizado","Last name":"Apellidos","Phone number":"Número de teléfono","Secondary email":"Email secundario","Profile updated":"Perfil actualizado",Close:"Cerrar",Search:"Buscar",Status:"Estatus",Domain:"Dominio",Mailbox:"Mailboxes",Message:"Uso",Authentication:"Autenticación","Not generated":"Sin definir",Address:"Dirección",Updated:"Actualizado",Disabled:"Deshabilitado",Unknown:"Desconocido",Administrators:"Administradores",Username:"Nombre de usuario",Add:"Agregar","New domain":"Nuevo dominio",General:"General",Options:"Opciones",Type:"Tipo","Enable DNS checks":"Activar comprobación de DNS","Default mailbox quota":"Cuota de mailbox por defecto","Create a domain administrator":"Crear un administrador del dominio","Random password":"Dirección aleatoria","Create aliases":"Crear alias","Domain created":"Dominio creado","Bind/named format. Click to copy":"Formato inválido",Resources:"Recursos",Aliases:"Alias","DNS status":"Estado de DNS",Apply:"Aplicar","Creation date":"Fecha de creación","Last modification date":"Última fecha de modificación",Mailboxes:"Mailboxes","Quota shared between mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Cuota de mailbox predeterminda en MB. Un valor de 0 significa ningún limite.","Default quota applied to mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Cuota de mailbox predeterminda en MB. Un valor de 0 significa ningún limite.","With a mailbox":"Con una mailbox","Create a mailbox for the administrator.":"Crear mailbox para el administrador.","New account":"Nueva cuenta",Role:"Rol",Email:"Correo-e",Account:"Cuenta",Alias:"Alias","Sender addresses":"Direcciónes de remitente","Full name":"Nombre completo","New alias":"Nuevo alias","Random address":"Dirección aleatoria","Expire at":"Caduca en",Description:"Descripción",Recipients:"Destinatarios",Modified:"Modificado","Administered domains":"Dominios administrados","Quota for this mailbox, can be expressed in KB, MB (default) or GB. Define a custom value or use domain's default one. Leave empty to define an unlimited value (not allowed for domain administrators).":"Cuota en MB para este mailbox. Defina un valor por defecto o use el del dominio por defecto. Déjelo vacío para definir un valor ilimitado (no permitido para los administradores del dominio)","Use domain default value":"Usar el valor por defecto del dominio",unlimited:"ilimitado",Confirmation:"Confirmación","Simple user":"Usuario normal","Domain administrator":"Administrador del dominio",Reseller:"Revendedor","Super administrator":"Super administrador","Email address":"Dirección de email",Level:"Nivel",Logger:"Logger","The credentials are the same than the ones you use to access Modoboa.":"Las credenciales para acceder a este libro de direcciones son las mismas que usa para acceder a Modoboa.","Address book information":"Información del libro de direcciones","To access this address book from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Para acceder remotamente a este libro de direcciones (como con Mozilla Thunderbird o desde su smartphone), use la siguiente URL:",Categories:"Categorías",Company:"Compañía",City:"Ciudad",Country:"País","State/Province":"CC.AA./Provincia",Note:"Nota",More:"Más",Phone:"Teléfono",Logout:"Salir",Summary:"Sumario",Next:"Siguiente",Separator:"Separador","Continue on error":"Continúe en error.",Import:"Importar","Resources usage":"Uso de recursos",Day:"Día",Week:"Semana",Month:"Mes",Year:"Año",Settings:"Configuración",Dashboard:"Panel de Control",Domains:"Dominios",Identities:"Identidades",Information:"Información","Passwords mismatch":"Las contraseñas no coinciden",Forward:"Siguiente","API access":"Acceso API","Import domains":"Importar dominios","Import identities":"Importar identidades","Crypt passwords":"Contraseñas cifradas","Check this option if passwords contained in your file are not crypted":"Marque esta opción si las contraseñas que contiene su fichero no están cifradas","One or more updates are available":"Una o más actualizaciones están disponibles","Installed version":"Versión instalada",Contacts:"Contactos","Welcome to Modoboa":"Bienvenido a Modoboa"},N1=JSON.parse(`{"Your API token has not been generated yet.":"API-pääsytunnistetta ei ole vielä luotu.","Generate":"Luo","Your API token is:":"API-pääsytunnisteesi on:","Copy token to clipboard":"Kopioi turvatunnus leikepöydälle","Delete token":"Poista avain","A documentation of the API is available":"API:n dokumentaatio on saatavilla","API token copied to your clipboard":"API-tunniste kopioitu leikepöydälle","API token created":"API-tunniste luotu","Warning":"Varoitus","You are about to delete your API access token":"Olet poistamassa API-pääsytunnistetta","Cancel":"Peruuta","Proceed":"Jatka","API token deleted":"API-tunniste poistettu","Enabled":"Käytössä","From":"Lähde","Password":"Salasana","Name":"Nimi","Actions":"Toiminnot","No":"Ei","Yes":"Kyllä","Save":"Tallenna","Update":"Päivitä","Recipient(s)":"Vastaanottaja(t)","Indicate one or more recipients separated by a comma (,)":"Ilmoita yksi tai useampi vastaanottaja pilkulla (,) erotettuna","Keep local copies":"Säilytä paikallisia kopioita","Forward messages and store copies into your local mailbox":"Välitä viestit ja tallenna kopiot paikalliseen postilaatikkoon","Forward updated":"Välitystieto päivitetty","General settings":"Yleiset asetukset","First name":"Etunimi","Last name":"Sukunimi","Language":"Kieli","Phone number":"Puhelinnumero","Secondary email":"Toissijainen sähköpostiosoite","Update settings":"Päivitä asetukset","Update Password":"Vaihda salasana","Profile updated":"Profiili päivitetty","Password updated":"Salasana päivitetty","New recovery codes":"Uudet palautuskoodit","Close":"Sulje","Pin code":"Pin-koodi","Register":"Rekisteröidy","Disable 2FA":"Poista kaksivaiheinen tunnistautuminen (2FA) käytöstä","Search":"Hae","Status":"Tila","Domain":"Verkkotunnus","Mailbox":"Postilaatikko","Message":"Viesti","Delete":"Poista","DNS configuration help":"DNS-määritysapu","Pending":"Odottaa","Auto configuration":"Automaattinen asetusten määrittäminen","autoconfig record (Mozilla): %{ value }":"autoconfig-tietue (Mozilla): %{ value }","autoconfig record (Mozilla) not found":"autoconfig-tallennetta (Mozilla) ei löydy","autodiscover record (Microsoft): %{ value }":"autodiscover-tietue (Microsoft): %{ value }","autodiscover record (Microsoft) not found":"autodiscover-tietuetta (Microsoft) ei löydy","Authentication":"Tunnistautuminen","SPF record found":"SPF-tietue löydetty","SPF record not found":"SPF-tietuetta ei löydy","DKIM record found":"DKIM-tietue löydetty","DKIM record not found":"DKIM-tietuetta ei löydy","DMARC record found":"DMARC-tietue löydetty","DMARC record not found":"DMARC-tietuetta ei löydy","DKIM key":"DKIM-avain","Show key":"Näytä avain","Generate a new DKIM key":"Luo uusi DKIM-avain","Not generated":"Ei luotu","Address":"Osoite","Updated":"Päivitetty","A new key will be generated soon. Refresh the page in a moment to see it.":"Uusi avain luodaan pian. Päivitä sivu hetken kuluttua nähdäksesi sen.","DKIM keys already exist for this domain. Do you want to overwrite them?":"DKIM-avaimet ovat jo olemassa tälle verkkotunnukselle. Haluatko korvata ne?","Disabled":"Pois käytöstä","Problem":"Ongelma","Valid":"Kelvollinen","Unknown":"Tuntematon","Administrators":"Ylläpitäjät","Select an account":"Valitse tili","Remove this administrator":"Poista tämä ylläpitäjä","Add administrator":"Lisää järjestelmänvalvoja","Username":"Käyttäjätunnus","Administrator added":"Järjestelmänvalvoja lisäsi","Administrator removed":"Järjestelmänvalvoja poistettu","Choose a domain":"Valitse verkkotunnus","Add":"Lisää","Edit domain alias":"Muokkaa verkkotunnusta","Add a new domain alias":"Lisää uusi verkkotunnuksen alias","Domain alias deleted":"Verkkotunnuksen alias poistettu","Domain alias created":"Verkkotunnuksen alias luotu","Domain alias updated":"Verkkotunnuksen alias päivitetty","New domain":"Uusi verkkotunnus","Copy to clipboard":"Kopioi leikepöydälle","General":"Yleiset","DNS":"DNS","Limitations":"Rajoitukset","Options":"Vaihtoehdot","Transport":"Siirto","Type":"Tyyppi","Enable DNS checks":"Ota DNS-tarkistukset käyttöön","Enable DKIM signing":"Ota DKIM-allekirjoitus käyttöön","Quota":"Verkkotunnuksen oletuskiintiö","Default mailbox quota":"Oletuspostilaatikkokiintiö","Message sending limit":"Viestien lähetysraja","DKIM key selector":"DKIM-avaimen valitsin-tietue","DKIM key length":"DKIM-avaimen pituus","Service":"Palvelu","Create a domain administrator":"Luo verkkotunnuksen ylläpitäjä","Administrator name":"Järjestelmänvalvojan nimi","Random password":"Satunnainen salasana","With mailbox":"Postilaatikolla","Create aliases":"Luo aliaksia","Password copied to clipboard":"Salasana kopioitu leikepöydälle","Domain created":"Verkkotunnus luotu","DKIM public key for":"DKIM julkinen avain tietueelle","Raw format. Click to copy":"Raakamuoto. Kopioi napsauttamalla","Bind/named format. Click to copy":"Bind/nimetty muoto. Kopioi klikkaamalla","Here is an example of DNS configuration (bind format). Replace values between [ ] by the appropriate ones.":"Tässä on esimerkki DNS-määrityksistä (bind-muodossa). Korvaa [ ]:n välissä olevat arvot sopivilla arvoilla.","IP address of your Modoboa server":"Modoboa-palvelimen IP-osoite","hostname of your automx server":"automx-palvelimen nimi","DNS checks":"DNS-tarkistukset","DKIM signing":"DKIM-allekirjoitus","No sending limit":"Ei lähetysrajaa","Resources":"Resurssit","Relay":"Välitysrele","Do not delete domain folder":"Älä poista verkkotunnuksen kansiota","Aliases":"Aliakset","DNS status":"DNS-tila","Sending limit":"Lähetysraja","Edit":"Muokkaa","Alarms":"Hälytykset","Apply":"Käytä","General information":"Yleiset tiedot","Creation date":"Luontipäivä","Last modification date":"Viimeisin muutospäivä","Daily sending limit":"Päivittäinen lähetysraja","messages":"viestit","Mailboxes":"Postilaatikot","Domain name (ex: domain.tld)":"Verkkotunnus (esim. domain.tld)","Control if this domain will be allowed to send and receive messages":"Määritä, saako tämä verkkotunnus lähettää ja vastaanottaa viestejä","Quota shared between mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Postilaatikoiden kesken jaettu kiintiö. Voidaan ilmaista kilotavuina (KB), megatavuina (MB) (oletus) tai gigatavuina (GB). Arvo 0 tarkoittaa, ettei kiintiötä ole.","Default quota applied to mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Postilaatikoihin sovellettava oletuskiintiö. Voidaan ilmaista kilotavuina, megatavuina (oletus) tai gigatavuina. Arvo 0 tarkoittaa, ettei kiintiötä ole.","Number of messages this domain can send per day. Leave empty for no limit.":"Viestien määrä, jonka tämä verkkotunnus voi lähettää päivässä. Jätä tyhjäksi, jos et halua rajoitusta.","Name of the administrator":"Ylläpitäjän nimi","With a mailbox":"Postilaatikolla","Create a mailbox for the administrator.":"Luo ylläpitäjän postilaatikko.","Create standard aliases for the domain.":"Luo verkkotunnuksen tavanomaiset aliakset.","New account":"Uusi tili","Role":"Rooli","Identification":"Tunniste","Email":"Sähköposti","Domain default value":"Verkkotunnuksen oletusarvo","Account":"Tili","Username:":"Käyttäjätunnus:","Profile":"Profiili","domain's default value":"verkkotunnuksen oletusarvo","Alias":"Alias","Sender addresses":"Lähettäjän osoitteet","No sender address defined for this account":"Tälle tilille ei ole määritelty lähettäjän osoitetta","Specify an email address":"Määritä sähköpostiosoite","Remove this address":"Poista tämä osoite","Add sender address":"Lisää lähettäjän osoite","Sender address added":"Lähettäjän osoite lisätty","Sender address deleted":"Lähettäjän osoite poistettu","Last login date":"Viimeisin kirjautumispäivä","Never logged-in":"Ei koskaan kirjautunut sisään","Full name":"Koko nimi","New alias":"Uusi alias","Random address":"Satunnainen osoite","Expire at":"Vanhenee","Description":"Kuvaus","Recipients":"Vastaanottajat","Modified":"Muokattu","Administered domains":"Hallinnoidut verkkotunnukset","Start typing a name here...":"Aloita nimen kirjoittaminen tästä...","Alias(es) of this mailbox. To create a catchall alias, just enter the domain name (@domain.tld).":"Tämän postilaatikon alias-nimet. Jos haluat luoda catchall-aliaksen, kirjoita vain verkkotunnus (@domain.tld).","Enter an email address":"Syötä oikean muotoinen sähköpostiosoite","Enter a simple username or an email address":"Anna yksinkertainen käyttäjätunnus tai sähköpostiosoite","Ex: 10MB. Leave empty for no limit":"Esim: 10 MB. Jätä tyhjäksi, jos et halua rajoitusta","Quota for this mailbox, can be expressed in KB, MB (default) or GB. Define a custom value or use domain's default one. Leave empty to define an unlimited value (not allowed for domain administrators).":"Tämän postilaatikon kiintiö, joka voidaan ilmaista kilotavuina, megatavuina (oletus) tai gigatavuina. Määritä oma arvo tai käytä toimialueen oletusarvoa. Jätä tyhjäksi, jos haluat määrittää rajoittamattoman arvon (ei sallittu toimialueen ylläpitäjille).","Daily message sending limit":"Päivittäinen viestien lähetysraja","Leave empty for no limit":"Jätä tyhjäksi, jos rajaa ei ole","Number of messages this mailbox can send per day. Leave empty for no limit.":"Viestien määrä, jonka tämä postilaatikko voi lähettää päivässä. Jätä tyhjäksi, jos et halua rajoitusta.","Use domain default value":"Käytä verkkotunnuksen oletusarvoa","unlimited":"rajoittamaton","Current password":"Nykyinen salasana","Confirmation":"Vahvistus","Choose a role":"Valitse käyttäjätyyppisi","Simple user":"Yksinkertainen käyttäjä","A user with no privileges but with a mailbox. He will be allowed to use all end-user features: webmail, calendar, contacts, filters.":"Käyttäjä, jolla ei ole oikeuksia mutta jolla on postilaatikko. Hän saa käyttää kaikkia loppukäyttäjän ominaisuuksia: webmail, kalenteri, yhteystiedot, suodattimet.","Domain administrator":"Luo verkkotunnuksen ylläpitäjä","A user with privileges on one or more domain. He will be allowed to administer mailboxes and he can also have a mailbox.":"Käyttäjä, jolla on oikeuksia yhdessä tai useammassa verkkotunnuksessa. Hänellä on oikeus hallinnoida postilaatikoita ja hänellä voi myös olla postilaatikko.","Reseller":"Jälleenmyyjä","Super administrator":"Pääylläpitäjä","A user with all privileges, can do anything. By default, such a user does not have a mailbox so he can't access end-user features.":"Käyttäjä, jolla on kaikki oikeudet, voi tehdä mitä tahansa. Oletusarvoisesti tällaisella käyttäjällä ei ole postilaatikkoa, joten hän ei voi käyttää loppukäyttäjän ominaisuuksia.","Email address":"Sähköpostiosoite","Do not delete account folder":"Älä poista tilikansiota","Date":"Päivämäärä","Level":"Taso","Logger":"Lokikirja","Queue ID":"Jonon ID","To":"Vastaanottaja","Logout":"Kirjaudu ulos","OK":"OK","Summary":"Yhteenveto","Back":"Takaisin","Next":"Seuraava","Confirm and create":"Vahvista ja luo","If you close this form now, your modifications won't be saved. Do you confirm?":"Jos suljet tämän lomakkeen nyt, muutokset eivät tallennu. Vahvistatko?","Modify":"Muokkaa","Empty":"Tyhjä","Provide a CSV file where lines respect one of the following formats:":"Toimita CSV-tiedosto, jonka rivit ovat jossakin seuraavista muodoista:","The first element of each line is mandatory and must be equal to one of the previous values.":"Kunkin rivin ensimmäinen elementti on pakollinen, ja sen on oltava yhtä suuri kuin jokin edellisistä arvoista.","You can use a different character as separator.":"Voit käyttää erottimena eri merkkiä.","Select file":"Valitse tiedosto","Separator":"Erotin","Continue on error":"Jatka virheestä","Don't treat duplicated objects as errors":"Älä käsittele päällekkäisiä objekteja virheinä","Import":"Tuonti","Parameters updated":"Parametrit päivitetty","Resources usage":"Resurssien käyttö","Period":"Jakso","Absolute time range":"Määrämittainen aikaraja","Relative time ranges":"Suhteelliset aikavälialueet","Day":"Päivä","Week":"Viikko","Month":"Kuukausi","Year":"Vuosi","yes":"kyllä","no":"ei","Settings":"Asetukset","Dashboard":"Työpöytä","Domains":"Sinulla ei ole oikeutta tuoda verkkotunnuksia","Identities":"Identiteetit","Audit trail":"Tarkastusketju","Messages":"Viestit","Passwords mismatch":"Salasanat eivät täsmää","New":"Uusi","Settings: ":"Asetukset: ","Forward":"Välitä","API access":"API-pääsy","Opened alarms":"Avatut hälytykset","Edit domain":"Muokkaa verkkotunnusta","Import domains and aliases from CSV file":"Tuo verkkotunnukset ja aliakset CSV-tiedostosta","Export domains and aliases to CSV":"Vie verkkotunnukset ja aliakset CSV-tiedostoon","Import domains":"Tuo verkkotunnuksia","Edit account":"Muokkaa tiliä","Edit alias":"Muokkaa aliasta","Import accounts and aliases from CSV file":"Tuo tilejä ja aliaksia CSV-tiedostosta","Export accounts and aliases to CSV":"Vie tilit ja aliakset CSV-tiedostoon","Import identities":"Tuo identiteetit","Crypt passwords":"Salakirjoita salasanat","Check this option if passwords contained in your file are not crypted":"Valitse tämä vaihtoehto, jos tiedostosi sisältämiä salasanoja ei ole salakirjoitettu","One or more updates are available":"Yksi tai useampi päivitys on saatavilla","Installed version":"Asennettu versio","Message history":"Viestien historia","Welcome to Modoboa":"Tervetuloa Modoboaan"}`),O1=JSON.parse(`{"Your API token has not been generated yet.":"Ihr API Token wurde noch nicht generiert.","Generate":"Generieren","Your API token is:":"Ihr API-Token lautet:","Copy token to clipboard":"Token in Zwischenablage kopieren","Delete token":"Token löschen","A documentation of the API is available":"Eine Dokumentation der API ist verfügbar","here":"hier","API token copied to your clipboard":"API-Token in Zwischenablage kopiert","API token created":"API-Token erstellt","Warning":"Warnung","You are about to delete your API access token":"Sie sind dabei, Ihren API Zugriffstoken zu löschen","Cancel":"Abbrechen","Proceed":"Fortfahren","API token deleted":"API-Token gelöscht","Enabled":"Aktiviert","Subject":"Betreff","Content":"Inhalt","The content of your answer. You can use the following variables, which will be automatically replaced by the appropriate value: %(name)s, %(fromdate)s, %(untildate)s":"Der Inhalt Ihrer Antwort. Sie können folgende Variablen verwenden, die automatisch durch den entsprechenden Wert ersetzt werden: %(name)s, %(fromdate)s, %(untildate)s","From":"Von","Activate your auto reply from this date":"Aktivieren Sie Ihre automatische Antwort ab diesem Datum","Until":"Bis","Activate your auto reply until this date":"Aktivieren Sie Ihre automatische Antwort bis zu diesem Datum","Update auto-reply":"AutoAntwort aktualisieren","Auto-reply message updated":"AutoAntwort Nachricht aktualisiert","Backup codes":"Backupcodes","You already have generated backup codes for this account. If you don't remember them or have used them all, you can generate new ones.":"Sie haben bereits Backupcodes für dieses Konto generiert. Wenn Sie diese vergessen haben oder alle aufgebraucht haben, können Sie neue generieren.","Password":"Passwort","Reset recovery codes":"Setze Wiederherstellungscodes zurück","No two-factor authentificator is yet set for your account.":"Für Ihr Konto ist noch keine 2 Faktor Authentifizierung eingerichtet.","WebAuthn":"WebAuthn","You don't have any WebAuthN device registered as a second authentication method.":"Sie haben kein WebAuthN Gerät als zweite Authentifiziermethode registriert.","Registered Webauthn devices":"Registrierte Webauthn Geräte","Never":"Nie","Enter a name to register a new webauthn device.":"Namen eingeben, um ein neues Webauthn Gerät zu registrieren.","New device name":"Neuer Gerätename","Setup device":"Gerät einrichten","Your browser does not seem compatible with WebAuthN":"Ihr Browser scheint nicht mit WebAuthN kompatibel zu sein","name":"Name","Name":"Name","Added On":"Hinzugefügt am","Last Used":"Zuletzt verwendet","Use count":"Anzahl benutzt","Actions":"Aktionen","Failed to register the webAuthN device":"Registrierung des webAuthN Geräts ist fehlgeschlagen","Do you really want to delete this WebAuthn device?":"Wollen Sie dieses WebAuthn Gerät wirklich löschen?","No":"Nein","Yes":"Ja","Edition":"Edition","Edit your device":"Eigenes Gerät bearbeiten","Save":"Speichern","Conditions":"Bedingungen","All of the following":"Alle der folgenden","Any of the following":"Eine der folgenden","All messages":"Alle Nachrichten","Choose a header":"Überschrift wählen","Choose an operator":"Betreiber wählen","Value":"Wert","Add condition":"Bedingung hinzufügen","Remove condition":"Bedingung entfernen","Choose an action":"Aktion wählen","Add action":"Aktion hinzufügen","Remove action":"Aktion entfernen","Edit filter":"Filter bearbeiten","New filter":"Neuer Filter","Update":"Aktualisieren","Create":"Erstellen","Filter added":"Filter hinzugefügt","Filter updated":"Filter aktualisiert","Create a new filter set":"Neuen Filtersatz erstellen","Active":"Aktiv","Filter set created":"Filtersatz erstellt","Recipient(s)":"Empfänger","Indicate one or more recipients separated by a comma (,)":"Geben Sie einen oder mehrere Empfänger durch Komma (,) getrennt ein.","Keep local copies":"Lokale Kopien behalten","Forward messages and store copies into your local mailbox":"Nachricht weiterleiten und Kopie in Mailbox ablegen","Forward updated":"Weiterleitung aktualisiert","General settings":"Allgemeine Einstellungen","First name":"Vorname","Last name":"Nachname","Language":"Sprache","Feel free to improve the translations":"Fühlen Sie sich frei, die Übersetzungen zu verbessern","or suggest a new language":"oder eine neue Sprache vorschlagen","there":"dort","Phone number":"Telefonnummer","Secondary email":"Zweite E-Mail Adresse","Update settings":"Einstellungen aktualisieren","Update Password":"Passwort aktualisieren","Profile updated":"Profil aktualisiert","Language does no exist":"Die Sprache existiert nicht","Password updated":"Passwort aktualisiert","New recovery codes":"Neue Wiederherstellungscodes","The following recovery codes can be used one time each to let you regain access to your account, in case you lose your phone for example. Make sure to save them in a safe place, otherwise you won't be able to access your account anymore.":"Die folgenden Wiederherstellcodes können jeweils einmal verwendet werden, um Ihnen den Zugriff auf Ihr Konto wiederherzustellen, falls Sie z.B. Ihr Telefon verlieren. Bewahren Sie die Codes an einem sicheren Ort auf, da Sie sonst nicht mehr auf Ihr Konto zugreifen können.","Close":"Schließen","One-time passwords":"Einmalpasswörter","Click here to copy the key":"Hier klicken, zum Schlüssel kopieren","Install a soft token authenticator like FreeOTP or Google Authenticator from your application repository and use that app to scan this QR code.":"Installiere ein soft-token Authenticator, wie FreeOTP oder Google Authenticator vom Appstore und scannen Sie den QR-Code.","Pin code":"Pincode","Register":"Registrieren","Congratulations! Two-factor authentication using one-time passwords is now enabled for your account.":"Gratulation! Die 2 Faktor Authentifizierung mit Einmalpasswörtern ist jetzt für Ihr Konto aktiviert.","Two-factor authentication using one-time passwords is enabled for your account.":"Für Ihr Konto ist die 2 Faktor Authentifizierung mit Einmalpassnwörtern aktiviert.","Disable 2FA":"Deaktiviere 2-Faktor-Authentifizierung","Two-factor authentication (2FA) using one-time passwords is not yet activated for your account.":"Die 2 Faktor Authentifizierung (2FA) mittels Einmalpasswörter ist für Ihr Konto noch nicht aktiviert.","Register authenticator":"Authentifikator registrieren","Search":"Suchen","Opened":"Geöffnet","Closed":"Schließen","Triggered":"Ausgelöst","Status":"Status","Domain":"Domain","Mailbox":"Postfächer","Message":"Verwendung","Delete":"Löschen","Reload":"Neu laden","Close alarm":"Alarm schließen","Reopen alarm":"Alarm erneut öffnen","Alarm deleted":"Alarm entfernt","Alarms deleted":"Alarme gelöscht","Alarm closed":"Alarm geschlossen","Alarm re-opened":"Alarm wieder eröffnet","Statistics":"Statistiken","Domain count":"Domainanzahl","Domain alias count":"Domainaliase Anzahl","Account count":"Kontoanzahl","Alias count":"Aliasanzahl","Latest news":"Neueste Nachrichten","Visit the official weblog for more information":"Weitere Infos finden Sie im offiziellen Webprotokoll","Alignment":"Ausrichtung","Detail":"Detail","Trusted sources":"Vertrauenswürdige Quellen","Partially trusted sources / Forwarders":"Teilweise vertrauenswürdige Quellen/Weiterleitungen","Forwarders with ARC":"Mit ARC weitergeleitet","Unknown sources / Threats":"Unbekannte Quellen / Bedrohungen","DMARC support does not seem to be enabled for this domain.":"DMARC-Unterstützung scheint für diese Domain nicht aktiviert zu sein.","If you configured it recently, please wait for the first report to be received and processed.":"Wenn Sie es vor Kurzem konfiguriert haben, warten Sie, bis der erste Bericht empfangen und verarbeitet wurde.","Fully aligned":"Vollständig ausgerichtet","Partially aligned":"Teilweise zugeordnet","Forwarded":"Weitergeleitet","Failed":"Fehlgeschlagen","Total":"Total","DNSBL summary for ":"DNSBL Zusammenfassung für","IP address %{ address } is currently listed by the following DNSBL providers:":"Die IP Adresse %{ address } wird derzeit von den folgenden DNSBL-Anbietern gelistet:","DNS configuration help":"Hilfe zur DNS-Konfiguration","Pending":"Ausstehend","Auto configuration":"Automatische Konfiguration","autoconfig record (Mozilla): %{ value }":"AutoKonfig Datensatz (Mozilla)\\\\: %{ value }","autoconfig record (Mozilla) not found":"Autoconfig-Eintrag (Mozilla) nicht gefunden","autodiscover record (Microsoft): %{ value }":"AutoDiscover Eintrag (Mozilla)\\\\: %{ value }","autodiscover record (Microsoft) not found":"Autodiscover-Eintrag (Microsoft) nicht gefunden","Authentication":"Authentifizierung","SPF record found":"SPF Eintrag gefunden","SPF record not found":"SPF Eintrag nicht gefunden","DKIM record found":"DKIM-Eintrag gefunden","DKIM record not found":"DKIM-Eintrag nicht gefunden","DMARC record found":"DMARC-Eintrag gefunden","DMARC record not found":"DMARC-Eintrag nicht gefunden","DKIM key":"DKIM Schlüssel","Show key":"Zeige Schlüssel","Copy key to clipboard":"Schlüssel in Zwischenablage kopieren","Generate a new DKIM key":"Neuen DKIM Schlüssel generieren","Not generated":"Nicht generiert","Address":"Adresse","Updated":"Aktualisieren","DKIM key copied to clipboard":"DKIM-Schlüssel in Zwischenablage kopiert","A new key will be generated soon. Refresh the page in a moment to see it.":"Ein neuer Schlüssel wird in Kürze generiert. Aktualisieren Sie die Seite um ihn anzuzeigen.","warning":"Warnung","DKIM key does not seem to be generated yet or has failed. Do you want to requeue the job?":"DKIM Schlüssel scheint noch nicht generiert worden zu sein oder ist fehlgeschlagen. Wollen Sie den Auftrag erneut in die Warteschlange stellen?","DKIM keys already exist for this domain. Do you want to overwrite them?":"Für diese Domain sind bereits DKIM-Schlüssel vorhanden. Möchten Sie sie überschreiben?","Disabled":"Deaktiviert","Problem":"Problem","Valid":"Gültig","Unknown":"Unbekannt","Administrators of":"Administratoren von","Administrators":"Administratoren","Select an account":"Konto wählen","Remove this administrator":"Diesen Admin entfernen","Add administrator":"Administrator hinzufügen","Username":"Benutzername","Administrator added":"Administrator hinzugefügt","Administrator removed":"Administrator entfernt","Choose a domain":"Eine Domäne wählen","Add":"Hinzufügen","Edit domain alias":"Domain-Alias bearbeiten","Add a new domain alias":"Neuen Domain-Alias hinzufügen","Domain alias deleted":"Domainaliase gelöscht","Domain alias created":"Domainaliase erstellt","Domain alias updated":"Domainaliase aktualisiert","New domain":"Neue Domain","Copy to clipboard":"In Zwischenablage kopieren","General":"Allgemein","DNS":"DNS","Limitations":"Einschränkungen","Options":"Optionen","Transport":"Transport","Type":"Typ","Enable DNS checks":"Aktiviere DNS Prüfungen","Enable DKIM signing":"Aktiviere DKIM Signierung","Quota":"Quote","Default mailbox quota":"Standard Postfach Kontingent","Message sending limit":"Nachrichtensendelimit","DKIM key selector":"DKIM-Selektor","DKIM key length":"DKIM-Schlüssellänge","Service":"Service","Create a domain administrator":"Domain-Administrator erstellen","Administrator name":"Administratorname","Random password":"Zufälliges Passwort","With mailbox":"Mit Postfach","Create aliases":"Aliase erstellen","Password copied to clipboard":"Passwort in Zwischenablage kopiert","Domain created":"Domain erstellt.","DKIM public key for":"Öffentlicher DKIM-Schlüssel für","Raw format. Click to copy":"Rohformat. Zum Kopieren klicken","Bind/named format. Click to copy":"Gebundenes Format","DNS configuration for ":"DNS Konfiguration für","Here is an example of DNS configuration (bind format). Replace values between [ ] by the appropriate ones.":"Hier ist ein Beispiel für eine DNS Konfiguration (Bind Format). Ersetzen Sie die Werte zwischen [ ] durch die entsprechenden.","Name: ":"Name:","Type: ":"Typ:","DNS checks":"DNS-Prüfungen","DKIM signing":"DKIM Signierung","Quota: ":"Quote:","Sending limit: ":"Sendelimit:","No sending limit":"Kein Sendelimit","Service: ":"Service:","Resources":"Ressourcen","Relay":"Relais","Unlimited":"Unbegrenzt","Do not delete domain folder":"Domänenordner nicht löschen","Aliases":"Aliase","DNS status":"DNS Status","Sending limit":"Sendelimit","Do you really want to delete the domain %{ domain }?":"Wollen Sie die Domain %{ domain } wirklich löschen?","Domain deleted":"Domain gelöscht","Edit":"Bearbeiten","Alarms":"Alarme","Apply":"Antworten","General information":"Allgemeine Infos","Creation date":"Erstellungsdatum","Last modification date":"Datum der letzten Änderung","MB":"MB","Daily sending limit":"Tägliches Sendelimit","Sending forbidden":"Senden verboten","messages":"Nachrichten","Mailboxes":"Mailboxen","Domain name (ex: domain.tld)":"Domainname (z.B. domain.tld)","Control if this domain will be allowed to send and receive messages":"Steuern, ob diese Domain, Nachrichten senden und empfangen darf","Relay domain":"Relais Domain","Quota shared between mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Von Postfächern gemeinsam genutzte Quota/Speicherplatz. Kann in KB, MB (Voreinstellung) oder GB angegeben werden. 0 eingeben, um keine Quota zu verwenden.","Default quota applied to mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Auf Postfächer angewendete Quota. Kann in KB, MB (Voreinstellung) oder GB angegeben werden. 0 eingeben, um keine Quota zu verwenden.","Number of messages this domain can send per day. Leave empty for no limit.":"Anzahl der Nachrichten, die diese Domains pro Tag senden kann. Leer lassen für kein Limit.","Name of the administrator":"Adminname","With a mailbox":"Mit einem Postfach","Create a mailbox for the administrator.":"Erzeuge Postfach für den Administrator.","Create standard aliases for the domain.":"Standardaliase für diese Domäne erstellen.","New account":"Neues Konto","Role":"Rolle","Identification":"Identifikation","Email":"E-Mail","Domain default value":"Domain Standardwert","Send only account":"Nur Konto senden","Account":"Konto","Username:":"Benutzername:","Profile":"Profil","domain's default value":"Domains Standardwert","Send only":"Nur senden","Alias":"Alias","Number of associated alias:":"Anzahl der zugehörigen Aliase","Number of allowed mailboxes:":"Anzahl der erlaubten Postfächer:","Number of allowed mailbox aliases:":"Anzahl der zulässigen Postfachaliase:","Sender addresses":"Absenderadressen ","No sender address defined for this account":"Für dieses Konto ist keine Absendeadresse definiert","Specify an email address":"E-Mailadresse eingeben","Remove this address":"Diese Adresse entfernen","Add sender address":"Absenderadresse hinzufügen","Sender address added":"Absendeadresse hinzugefügt","Sender address deleted":"Absendeadresse gelöscht","Last login date":"Letztes Anmeldedatum","Never logged-in":"Nie eingeloggt","Full name":"Vollständiger Name","New alias":"Neuer Alias","Random address":"Zufällige Adresse","Expire at":"Läuft ab am","Description":"Beschreibung","Recipients":"Empfänger","Alias already exists, redirecting to edit page":"Alias existiert bereits, leite zur Bearbeitungsseite weiter","Modified":"Verändert","Administered domains":"Administrierte Domains","No domain managed":"Keine Domain verwaltet","Add/Remove from the domain page":"Hinzufügen/Entfernen von Domänenseite","Start typing a name here...":"Beginne mit der Eingabe eines Namens ...","Alias(es) of this mailbox. To create a catchall alias, just enter the domain name (@domain.tld).":"Alias(e) dieses Postfachs. Um einen Catchall-Alias zu erstellen, geben Sie einfach den Domänennamen (@domain.tld) ein.","Alias already added":"Alias bereits hinzugefügt","You can update your password from the Account section":"Sie können Ihr Passwort im Bereich, Konto aktualisieren","Enter an email address":"E-Mailadresse eingeben","Enter a simple username or an email address":"Einen einfachen Benutzernamen oder E-Mailadresse eingeben","Ex: 10MB. Leave empty for no limit":"z.B.: 10 MB. Leer lassen für kein Limit","Quota for this mailbox, can be expressed in KB, MB (default) or GB. Define a custom value or use domain's default one. Leave empty to define an unlimited value (not allowed for domain administrators).":"Quota dieses Postfachs. Kann in KB, MB (Voreinstellung) oder GB angegeben werden. Eigenen Wert eingeben oder Voreinstellung der Domain verwenden lassen. Frei lassen, um Quota auf unlimitiert zu setzen (nur Super-Administratoren).","Daily message sending limit":"Tägliches Sendelimit für Nachrichten","Leave empty for no limit":"Für kein Limit, leer lassen","Number of messages this mailbox can send per day. Leave empty for no limit.":"Nachrichtenanzahl , die dieses Postfach pro Tag senden kann. Leer lassen für keine Limit.","Use domain default value":"Standardwert der Domain verwenden","unlimited":"unbegrenzt","Current password":"Aktuelles Passwort","Confirmation":"Bestätigung","Password mismatch":"Passwort falsch","Choose a role":"Wähle eine Rolle","Simple user":"Normaler Benutzer","A user with no privileges but with a mailbox. He will be allowed to use all end-user features: webmail, calendar, contacts, filters.":"Ein Benutzer ohne Privilegien, aber mit einem Postfach. Er darf alle Endbenutzerfunktionen nutzen: Webmail, Kalender, Kontakte, Filter.","Domain administrator":"Domain Administrator","A user with privileges on one or more domain. He will be allowed to administer mailboxes and he can also have a mailbox.":"Ein Benutzer mit Berechtigungen für eine oder mehrere Domänen. Er darf Postfächer verwalten und kann auch ein Postfach besitzen.","Reseller":"Reseller","An intermediate user who has the same privileges than a Domain administrator, plus the possibility to create domains and to assign resources.":"Ein Zwischenbenutzer, der über dieselben Rechte wie ein Domainadmin verfügt und außerdem die Möglichkeit hat, Domains zu erstellen und Ressourcen zuzuweisen.","Super administrator":"Super-Administrator","A user with all privileges, can do anything. By default, such a user does not have a mailbox so he can't access end-user features.":"Ein Benutzer mit allen Berechtigungen kann alles tun. Standardmäßig hat ein solcher Benutzer kein Postfach und kann daher nicht auf Endbenutzerfunktionen zugreifen.","Email address":"E-Mail Adresse","Generated address":"Generierte Adresse","Please add at least one recipient.":"Mindestens einen Empfänger hinzufügen.","Customize displayed columns":"Angezeigte Spalten anpassen","Accounts":"Konten","No mailbox":"Kein Postfach","Do not delete account folder":"Kontoordner nicht löschen","Last modification":"Letzte Änderung","Last Name":"Nachname","Message limit":"Nachrichtenlimit","TFA enabled":"TFA aktiviert","TOTP enabled":"TOTP aktiviert","WebAutn enabled":"WebAutn aktiviert","Last login":"Letzte Anmeldung","Are you sure you want to delete this identity ?":"Wollen Sie diese Identität wirklich löschen?","Account deleted":"Konto gelöscht","Are you sure you want to delete this alias?":"Wollen Sie diesen Alias wirklich löschen?","Alias deleted":"Alias gelöscht","Name of the domain to migrate":"Name der zu migrierenden Domäne","Local domain (optional)":"Lokale Domain (optional)","You need to bind at least one domain to the provider.":"Sie müssen mindestens eine Domain an den Anbieter binden.","Provider name":"Providername","Address (hostname or IP)":"Adresse (Hostname oder IP)","IMAP Port":"IMAP Port","Secured":"Gesichert","Is the IMAP connection secured using SSL/TLS or StartTLS":"Ist die IMAP Verbindung mit SSL/TLS oder StartTLS gesichert?","Check connection:":"Verbindung überprüfen:","Provider":"Provider","Old account":"Altes Konto","Migration deleted":"Migration gelöscht","New provider":"Neuer Provider","(the domain will be created locally)":"(die Domain wird lokal erstellt)","Associated domain":"Zugehörige Domain","Port":"Port","Associated domains":"Verknüpfte Domänen","Provider created":"Provider erstellt","Name:":"Name:","Number of associated domains:":"Anzahl der zugehörigen Domains:","No associated domains":"Keine zugehörigen Domains","Provider updated":"Provider aktualisiert","Date":"Datum","Level":"Stufe","Logger":"Logger","Queue ID":"Warteschlangen ID","To":"Bis","Calendar sharing":"Kalender teilen","Full address":"Ganze Adresse","Read":"Lesen","Write":"Schreiben","Calendar information":"Kalenderinformation","To access this calendar from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Um auf diesem Kalender von außen (wie z.B. Mozilla Thunderbird oder ihrem Smartphone) zuzugreifen, verwenden Sie bitte die folgende URL:","The credentials are the same than the ones you use to access Modoboa.":"Die Zugangsdaten sind dieselben, die Sie auch für Modoboa verwenden.","You can also share a read-only version of this calendar using the following URL: ":"Sie können auch eine schreibgeschützte Version dieses Kalenders über folgende URL freigeben:","Edit calendar":"Kalender bearbeiten","New calendar":"Neuer Kalender","Color":"Farbe","Calendar updated":"Kalender aktualisiert","Calendar created":"Kalender erstellt","Title":"Titel","Calendar":"Kalender","Attendees":"Teilnehmer","Edit event":"Ereignis bearbeiten","New event":"Neues Ereignis","Event added":"Termin hinzugefügt","Event updated":"Ereignis aktualisiert","Event deleted":"Ereignis gelöscht","Import events":"Ereignisse importieren","Select an ICS file to import and click on the Send button":"Wähle eine .ics-Datei für den Import aus und drücke dann auf den Senden-Button","Select an ICS file":"ICS Datei wählen","Send":"Senden","%{ n } event imported":["%{ n } Ereignis importiert","%{ n } Ereignisse importiert"],"Address book information":"Adressbuchinformation","To access this address book from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Um auf dieses Adressbuch von außen (wie z.B. Mozilla Thunderbird oder Ihrem Smartphone) zuzugreifen, verwenden Sie bitte die folgende URL:","Edit category":"Kategorie bearbeiten","Add category":"Kategorie hinzufügen","Category deleted":"Kalender gelöscht","Categories":"Kategorien","Display name":"Anzeigename","Company":"Firma","Position":"Position","Birth date":"Geburtsdatum","Zip code":"Postleitzahl","City":"Ort","Country":"Land","State/Province":"Bundesland","Note":"Notiz","More":"Mehr","Less":"Weniger","Edit contact":"Kontakt bearbeiten","New contact":"Neuer Kontakt","Display address book information":"Adressbuchinfos anzeigen","Synchronize contacts with address book":"Kontakte mit dem Adressbuch synchronisieren","E-mail":"E-Mail","Phone":"Telefon","Synchronization started":"Synchronisierung wurde gestartet","Search in messages":"In Nachrichten suchen","Logout":"Logout","Choose columns to display":"Anzuzeigende Spalten wählen","OK":"OK","Summary":"Zusammenfassung","Back":"Zurück","Next":"Weiter","Confirm and create":"Bestätigen und erstellen","If you close this form now, your modifications won't be saved. Do you confirm?":"Wenn Sie dieses Formular jetzt schließen, werden Ihre Änderungen nicht gespeichert. Bestätigen Sie?","Modify":"Modifizieren","Empty":"Leer","Provide a CSV file where lines respect one of the following formats:":"Stellen Sie eine CSV Datei bereit, in der die Zeilen einem der folgenden Formate entsprechen:","The first element of each line is mandatory and must be equal to one of the previous values.":"Das erste Element jeder Zeile ist obligatorisch und muss einem der vorherigen Werte entsprechen.","You can use a different character as separator.":"Sie können als Trennzeichen ein anderes Zeichen verwenden.","Select file":"Wählen Sie eine Datei aus","Separator":"Separator","Continue on error":"Bei Fehler fortfahren","Don't treat duplicated objects as errors":"Doppelte Objekte nicht als Fehler behandeln","Import":"Import","Parameters updated":"Parameter aktualisiert","Could not save parameters":"Parameter konnten nicht gespeichert werden","Resources usage":"Ressourcen-Verbrauch","No quota":"Keine Quote","Creation denied":"Erstellung verweigert","Period":"Zeitraum","Absolute time range":"Absoluter Zeitbereich","Relative time ranges":"Relative Zeiträume","Day":"Tag","Week":"Woche","Month":"Monat","Year":"Jahr","yes":"ja","no":"nein","Attachments":"Anhänge","Attach":"Anhängen","Provide one or more addresses":"Eine oder mehrere Adressen eingeben","Cc":"Cc","Bcc":"Bcc","Email sent":"E-Mail gesendet","Add to contacts":"Zu Kontakten hinzufügen","Update contact":"Kontakt aktualisieren","Contact added to address book":"Kontakt zum Adressbuch hinzugefügt","Mark as read":"Als gelesen markieren","Mark as unread":"Als ungelesen markieren","Mark as followed":"Als gefolgt markieren","Mark as unfollowed":"Als nicht gefolgt markieren","Empty mailbox":"Postfach leeren","on":"an","No message yet in this mailbox":"Noch keine Nachricht in diesem Postfach","Message(s) deleted":"Nachricht(en) gelöscht","Message(s) marked as junk":"Als Junk markierte Nachricht(en)","Message(s) marked as not junk":"Nicht als Junk markierte Nachricht(en)","Message(s) flagged":"Nachricht(en) markiert","Parent mailbox":"Übergeordnetes Postfach","Create new mailbox":"Neues Postfach erstellen","Edit mailbox":"Postfach bearbeiten","Mailbox renamed":"Postfach umbenannt","Mailbox created":"Postfach erstellt","Settings":"Einstellungen","Filters":"Filter","Dashboard":"Dashboard","Domains":"Domains","Identities":"Identitäten","Monitoring":"Überwachung","Audit trail":"Prüfpfad","Messages":"Nachrichten","IMAP Migration":"IMAP Migration","Email providers":"E-Mail Anbieter","Migrations":"Migrationen","Information":"Information","Compose":"Komponieren","Create a new mailbox":"Neues Postfach erstellen","Edit this mailbox":"Dieses Postfach bearbeiten","Delete this mailbox":"Dieses Postfach löschen","Compress this mailbox":"Dieses Postfach komprimieren","Mailbox compressed":"Postfach komprimiert","Delete this mailbox?":"Dieses Postfach löschen?","Mailbox deleted":"Postfach gelöscht","No data to export":"Keine Daten zum Exportieren","CSV seems to be badly formatted":"CSV scheint schlecht formatiert zu sein","Not a valid email":"Keine gültige E-Mail","Field is required":"Feld ist erforderlich","Minimum length is %{ length }":"Mindestlänge beträgt %{ length }","Must be a numeric value or empty":"Muss ein numerischer Wert oder leer sein","Passwords mismatch":"Passwörter stimmen nicht überein","Invalid port number":"Ungültige Portnummer","Provider deleted":"Provider gelöscht","Message filters":"Nachrichtenfilter","Select a filter set":"Filterset wählen","Add filter set":"Filtersatz hinzufügen","Raw mode":"Rohmodus","Add new filter":"Neuen Filter hinzufügen","New":{"":"Neu","male":"Neu"},"Failed to display template. Using raw mode":"Vorlage konnte nicht gezeigt werden. Es wird der Raw Modus verwendet.","Filter enabled":"Filter aktiviert","Filter disabled":"Filter deaktiviert","Filter removed":"Filter entfernt","Filter set activated":"Filtersatz aktiviert","Filter set removed":"Filtersatz entfernt","Filter set updated":"Filtersatz aktualisiert","Disable":"Deaktivieren","Enable":"aktivieren","Move down":"Runter schieben","Move up":"Rauf schieben","Download filter set":"Filterset herunterladen","Delete filter set":"Filterset löschen","Activate filter set":"Filtersatz aktivieren","Account settings":"Kontoeinstellungen","Two-factor auth":"2 Faktor Authentifizierung","Forward":"Weiterleiten","Auto-reply message":"AutoAntwort Nachricht","API access":"API Zugriff","Opened alarms":"Geöffnete Alarme","Edit domain":"Domäne bearbeiten","Import domains and aliases from CSV file":"Domains und Aliase aus einer CSV Datei importieren","Export domains and aliases to CSV":"Domains in CSV exportieren","Import domains":"Domains importieren","DMARC":"DMARC","Edit account":"Konto bearbeiten","Edit alias":"Alias bearbeiten","Import accounts and aliases from CSV file":"Konten und Aliase aus einer CSV Datei importieren","Export accounts and aliases to CSV":"Konten und Aliase in CSV exportieren","Import identities":"Identitäten importieren","Crypt passwords":"Passwörter verschlüsseln","Check this option if passwords contained in your file are not crypted":"Auswählen, wenn Kennwörter in Datei nicht verschlüsselt sind","Edit provider":"Anbieter bearbeiten","Providers":"Provider","Important messages":"Wichtige Nachrichten","The password scheme you are using has been deprecated and will be removed in the next minor version. The procedure to upgrade to a stronger scheme is as follows:":"Das von Ihnen verwendete Passwortschema ist veraltet und wird in der nächsten Nebenversion entfernt. So aktualisieren Sie auf ein sichereres Schema:","Go to <strong>Settings > General</strong> section":"Gehen Sie zum Abschnitt <strong>Einstellungen > Allgemein</strong>","Change the value of <strong>Default password scheme</strong>":"Ändern Sie den Wert des <strong>Standard Passwortschemas</strong>","Make sure <strong>Update password scheme at login</strong> option is enabled":"Stellen Sie sicher, dass die Option <strong>Passwortschema bei der Anmeldung aktualisieren</strong> aktiviert ist","Save your changes":"Änderungen speichern","Logout / Login with your current account so its password gets updated":"Mit Ihrem aktuellen Konto Abmelden/Anmelden, damit dessen Passwort aktualisiert wird","Inform <strong>ALL</strong> your users that they must login to Modoboa to complete the operation":"<strong>ALLE</strong> Benutzer informieren, dass sie sich bei Modoboa anmelden müssen, um den Vorgang abzuschließen","You must apply this procedure <strong>BEFORE</strong> you install a newest version of Modoboa, otherwise <strong>you will be unable to connect to the web interface anymore</strong>.":"Sie müssen dieses Verfahren anwenden, <strong>BEVOR</strong> Sie eine neue Version von Modoboa installieren, da Sie sonst <strong>keine Verbindung mehr zur Weboberfläche herstellen können</strong>.","Please note that you will see this message until <strong>ALL</strong> user passwords have been converted using the new scheme.":"Beachten Sie, dass diese Meldung angezeigt wird, bis <strong>ALLE</strong> Benutzerpasswörter mit dem neuen Schema konvertiert wurden.","Installed components":"Installierte Komponenten","One or more updates are available":"Eine oder mehrere Aktualisierungen sind verfügbar","Check out the following list to find related components":"In der folgenden Liste finden Sie die entsprechenden Komponenten.","Installed version":"Installierte Version","Latest version":"Lezte Version","Message history":"Nachrichtenverlauf","My calendars":"Meine Kalender","Access rules":"Zugriffsregeln","Do you really want to delete this calendar?":"Wollen Sie den Kalender wirklich löschen?","Calendar deleted":"Kalender gelöscht","Contacts":"Kontakte","Add a category":"Kategorie hinzufügen","Welcome to Modoboa":"Willkommen zu Modoboa","Attempting to log you in.":"Es wird versucht, Sie anzumelden.","Message deleted":"Nachricht gelöscht","Reply":"Antworten","Reply all":"Allen antworten","Enable links":"Links aktivieren","Disable links":"Links deaktivieren","Display source":"Quelle anzeigen","Message marked as junk":"Als Junk markierte Nachricht","Message marked as not junk":"Nachricht als, kein Junk markiert","Webmail":"Webmail"}`),F1={},z1={},B1={Enabled:"Abilitato",Password:"Password",Name:"Nome",Actions:"Azioni",Save:"Salva",Update:"Aggiorna","Recipient(s)":"Destinatario(i)","Keep local copies":"Mantieni copie locali","Forward messages and store copies into your local mailbox":"Inoltra i messaggi e memorizza le copie nella tua casella di posta locale","Forward updated":"Inoltro aggiornato","Last name":"Cognome","Phone number":"Numero di telefono","Secondary email":"Email secondaria","Profile updated":"Profilo aggiornato",Close:"Chiudi",Search:"Cerca",Closed:"Chiudi",Status:"Stato",Domain:"Dominio",Mailbox:"Caselle di posta",Message:"Utilizzo","Unknown sources / Threats":"Fonti sconosciute / Minaccie","Partially aligned":"Parzialmente allineato",Failed:"Fallito",Total:"Totale",Authentication:"Autenticazione","DKIM key":"Chiave DKIM","Show key":"Visualizza chiave","Not generated":"Non generata",Address:"Indirizzi",Updated:"Aggiornato",Disabled:"Disabilitato",Unknown:"Sconosciuto",Administrators:"Amministratori",Username:"Nome utente",Add:"Aggiungi","New domain":"Nuovo dominio",General:"Generale",DNS:"DNS",Options:"Opzioni",Transport:"Trasporto",Type:"Tipo","Enable DNS checks":"Abilita i controlli DNS","Enable DKIM signing":"Abilita la firma DKIM",Quota:"Dimensione massima","Default mailbox quota":"Dimensione massima predefinita per le mailbox","Create a domain administrator":"Crea un amministratore di dominio","Random password":"Password casuale","Create aliases":"Crea alias","Domain created":"Dominio creato","Bind/named format. Click to copy":"Formato bind/named",Resources:"Risorse",Aliases:"Alias","DNS status":"Stato del DNS",Apply:"Applica","Creation date":"Data di creazione","Last modification date":"Data dell'ultima modifica",Mailboxes:"Caselle di posta","Quota shared between mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Spazio massimo confiviso tra le mailbox. Può essere espresso in KB, MB (predefinito) o GB. Il valore 0 indica nessun limite.","Default quota applied to mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Valore predefinito per lo spazio massimo confiviso tra le mailbox. Può essere espresso in KB, MB (predefinito) o GB. Il valore 0 indica nessun limite.","With a mailbox":"Con una casella di posta","Create a mailbox for the administrator.":"Crea una casella di posta per l'amministratore.","New account":"Nuovo account",Role:"Ruolo",Email:"Email",Account:"Account",Profile:"Profilo",Alias:"Alias","Sender addresses":"Indirizzi mittenti","Full name":"Nome completo","New alias":"Nuovo alias","Random address":"Indirizzo casuale","Expire at":"Scade il",Description:"Descrizione",Recipients:"Destinatari",Modified:"Modificato","Administered domains":"Domini amministrati","Quota for this mailbox, can be expressed in KB, MB (default) or GB. Define a custom value or use domain's default one. Leave empty to define an unlimited value (not allowed for domain administrators).":"Dimensione massima per questa mailbox, può essere espressa in KB, MB (predefinito) o GB. Definire un valore personalizzato o utilizzare quello predefinito per il dominio. Lasciare vuoto per specificare un valore non limitato (non permesso per amministratori di dominio).","Use domain default value":"Usa il valore predefinito",unlimited:"senza limiti",Confirmation:"Conferma","Simple user":"Utente semplice","Domain administrator":"Amministratore di dominio",Reseller:"Rivenditore","Super administrator":"Super amministratore","Email address":"Indirizzo email",Level:"Livello",Logger:"Logger","The credentials are the same than the ones you use to access Modoboa.":"Le credenziali sono le stesse con cui accedi a Modoboa.","Address book information":"Informazioni di rubrica","To access this address book from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Per accedere a questa rubrica da applicazioni esterne (es. Mozilla Thunderbird o il tuo smartphone), usa la seguente URL:",Categories:"Categorie",Company:"Azienda",City:"Città",Country:"Paese","State/Province":"Provincia",Note:"Note",More:"Più informazioni",Phone:"Telefono",Logout:"Esci",Summary:"Sommario",Next:"Successivo",Separator:"Separatore","Continue on error":"Continuare in caso di errore",Import:"Importa","Resources usage":"Utilizzo risorse",Day:"Giorno",Week:"Settimana",Month:"Mese",Year:"Anno",Settings:"Impostazioni",Domains:"Domini",Identities:"Identità",Information:"Informazioni","Passwords mismatch":"Le password non corrispondono",Forward:"Inoltra","API access":"Accesso API","Import domains":"Importa domini","Import identities":"Identità di importazione","Crypt passwords":"Cripta le password","Check this option if passwords contained in your file are not crypted":"Seleziona questa opzione se le password contenute nel file non sono criptate","One or more updates are available":"Sono disponibili nuovi aggiornamenti","Installed version":"Versione installata",Contacts:"Contatti","Welcome to Modoboa":"Benvenuti in Modoboa"},H1=JSON.parse(`{"Your API token has not been generated yet.":"Votre jeton API n'a pas encore été généré.","Generate":"Générer","Your API token is:":"Votre jeton API est :","Copy token to clipboard":"Copier le jeton dans la presse-papiers","Delete token":"Supprimer le jeton","A documentation of the API is available":"Une documentation de l'API est disponible","here":"ici","API token copied to your clipboard":"Jeton API copié dans votre presse-papier","API token created":"Jeton API créé","Warning":"Avertissement","You are about to delete your API access token":"Vous êtes sur le point de supprimer votre jeton d'accès à l'API","Cancel":"Annuler","Proceed":"Procéder","API token deleted":"Jeton API supprimé","Enabled":"Activé","Subject":"Sujet","Content":"Contenu","The content of your answer. You can use the following variables, which will be automatically replaced by the appropriate value: %(name)s, %(fromdate)s, %(untildate)s":"Le contenu de votre réponse. Vous pouvez utiliser les variables suivantes, qui seront automatiquement remplacées par les valeurs appropriées : %(name)s, %(fromdate)s, %(untildate)s","From":"De","Activate your auto reply from this date":"Activez votre réponse automatique à partir de cette date","Until":"Jusqu'au","Activate your auto reply until this date":"Activez votre réponse automatique jusqu'à cette date","Update auto-reply":"Mettre à jour la réponse automatique","Auto-reply message updated":"Message de réponse automatique mis à jour","Backup codes":"Codes de récupération","You already have generated backup codes for this account. If you don't remember them or have used them all, you can generate new ones.":"Vous avez déjà généré des codes de récupération pour ce compte. Si vous ne vous en souvenez plus ou que vous les avez tous utilisés, vous pouvez en générer de nouveaux.","Password":"Mot de passe","Reset recovery codes":"Rénitialiser les codes de récupération","No two-factor authentificator is yet set for your account.":"Aucune authentification à deux facteurs n'est encore active pour votre compte.","WebAuthn":"WebAuthn","You don't have any WebAuthN device registered as a second authentication method.":"Vous n'avez aucun périphérique WebAuthn enregistré en tant que seconde méthode d'authentification.","Registered Webauthn devices":"Péréphériques Webauthn enregistrés","Never":"Jamais","Enter a name to register a new webauthn device.":"Renseignez un nom pour enregistrer un nouveau périphérique webauthn.","New device name":"Nom du nouveau périphérique","Setup device":"Configurer le périphérique","Your browser does not seem compatible with WebAuthN":"Votre navigateur ne semble pas compatible avec WebAuthN","name":"nom","Name":"Nom","Added On":"Ajouté le","Last Used":"Dernière utilisation","Use count":"Nombre d'utilisations","Actions":"Actions","Failed to register the webAuthN device":"Impossible d'enregistrer le périphérique webAuthN","Do you really want to delete this WebAuthn device?":"Voulez vous vraiment supprimer ce périphérique Webauthn ?","No":"Non","Yes":"Oui","Edition":"Modification","Edit your device":"Modifier votre périphérique","Save":"Enregistrer","Conditions":"Conditions","All of the following":"Tous les éléments suivants","Any of the following":"Un des éléments suivants","All messages":"Tous les messages","Choose a header":"Choisissez un entếte","Choose an operator":"Choisissez un opérateur","Value":"Valeur","Add condition":"Ajouter une condition","Remove condition":"Supprimer la condition","Choose an action":"Choisissez une action","Add action":"Ajouter une action","Remove action":"Supprimer l'action","Edit filter":"Modifier le filtre","New filter":"Nouveau filtre","Update":"Mettre à jour","Create":"Créer","Filter added":"Filtre ajouté","Filter updated":"Filtre mis à jour","Create a new filter set":"Créer un nouveau jeu de filtre","Active":"Actif","Filter set created":"Jeu de filtre créé","Recipient(s)":"Destinataire(s)","Indicate one or more recipients separated by a comma (,)":"Indiquer un ou plusieurs destinataires séparés par une virgule (,) ","Keep local copies":"Conserver des copies locales","Forward messages and store copies into your local mailbox":"Transférer les messages et stocker des copies dans votre boîte aux lettres locale","Forward updated":"Transfert mise à jour","General settings":"Paramètres généraux ","First name":"Prénom","Last name":"Nom de famille","Language":"Langage","Feel free to improve the translations":"N'hésitez pas à améliorer les traductions","or suggest a new language":"ou suggérer une nouvelle langue","there":"ici","Phone number":"Numéro de téléphone","Secondary email":"E-mail secondaire","Update settings":"Mise à jour des paramètres","Update Password":"Mise à jour du mot de passe","Profile updated":"Profil mis à jour","Language does no exist":"Cette langue n'existe pas","Password updated":"Mot de passe mis à jour","New recovery codes":"Nouveaux codes de récupération","The following recovery codes can be used one time each to let you regain access to your account, in case you lose your phone for example. Make sure to save them in a safe place, otherwise you won't be able to access your account anymore.":"Les codes de récupération suivants peuvent être utilisés une fois chacun pour vous permettre de récupérer un accès à votre compte, au cas où vous perdriez votre téléphone par exemple. Assurez-vous de les conserver dans un lieu sûr, autrement vous ne serez définitivement plus en mesure d'accéder à votre compte.","Close":"Fermer","One-time passwords":"Mots de passe jetables","Click here to copy the key":"Cliquer ici pour copier la clé","Install a soft token authenticator like FreeOTP or Google Authenticator from your application repository and use that app to scan this QR code.":"Installez un logiciel d'authentification de jeton comme FreeOTP ou google\\n Authentification depuis votre magasin d'applications et utilisez\\n cette application pour scanner ce QR code.","Pin code":"Code Pin","Register":"Enregistrer","Congratulations! Two-factor authentication using one-time passwords is now enabled for your account.":"Félicitations ! L'authentification à deux facteurs utilisant des mots de passe jetable est désormais active pour votre compte.","Two-factor authentication using one-time passwords is enabled for your account.":"L'authentification à deux facteurs utilisant des mots de passe jetables est active pour votre compte.","Disable 2FA":"Désactiver l'authentification à double facteur","Two-factor authentication (2FA) using one-time passwords is not yet activated for your account.":"L'authentification à deux facteurs (2FA) utilisant des mots de passe jetables n'est pas encore activée pour votre compte.","Register authenticator":"Enregistrer l'authentificateur","Search":"Chercher","Opened":"Ouvert","Closed":"Fermé","Triggered":"Déclenché","Status":"Statut","Domain":"Domaine","Mailbox":"Boîte aux lettres","Message":"Message","Delete":"Supprimer","Reload":"Recharger","Close alarm":"Fermer l'alarme","Reopen alarm":"Ré-ouvrir l'alarme","Alarm deleted":"Alarme supprimée","Alarms deleted":"Alarmes supprimées","Alarm closed":"Alarme fermée","Alarm re-opened":"Alarme ré-ouverte","Statistics":"Statistiques","Domain count":"Nombre de domaines","Domain alias count":"Nombre d'alias de domaine","Account count":"Nombre de comptes","Alias count":"Nombre d'alias","Latest news":"Dernières nouvelles","Visit the official weblog for more information":"Visitez le weblog officiel pour plus d'information","Alignment":"Alignement","Detail":"Détail","Trusted sources":"Sources de confiance","Partially trusted sources / Forwarders":"Sources partiellement fiables / Transitaires","Forwarders with ARC":"Transporteur avec ARC","Unknown sources / Threats":"Sources inconnues / Menaces","DMARC support does not seem to be enabled for this domain.":"La support DMARC ne semble pas actif pour ce domaine.","If you configured it recently, please wait for the first report to be received and processed.":"Si vous l'avez récemment configuré, veuillez attendre que le premier rapport soit reçu et traité. ","Fully aligned":"Entièrement aligné","Partially aligned":"Partiellement aligné","Forwarded":"Transféré","Failed":"Échoué","Total":"Total","DNSBL summary for ":"Synthèse DNSBL pour","IP address %{ address } is currently listed by the following DNSBL providers:":"L'adresse IP %{ address } est actuellement listée par les fournisseurs de DNSBL suivants :","DNS configuration help":"Aide à la configuration du DNS","Pending":"En attente","Auto configuration":"Configuration automatique","autoconfig record (Mozilla): %{ value }":"Enregistrement autoconfig (Mozilla) : %{ value }","autoconfig record (Mozilla) not found":"Enregistrement autoconfig (Mozilla) introuvable","autodiscover record (Microsoft): %{ value }":"Enregistrement autodiscover (Microsoft): %{ value }","autodiscover record (Microsoft) not found":"Enregistrement autodiscover (Microsoft) non trouvé","Authentication":"Authentification","SPF record found":"Enregistrement SPF trouvé","SPF record not found":"Enregistrement SPF introuvable","DKIM record found":"Enregistrement DKIM trouvé","DKIM record not found":"Enregistrement DKIM introuvable","DMARC record found":"Enregistrement DMARC trouvé","DMARC record not found":"Enregistrement DMARC introuvable","DKIM key":"Clé DKIM","Show key":"Afficher la clé","Copy key to clipboard":"Copier la clé dans la presse-papiers","Generate a new DKIM key":"Générer une nouvelle clé DKIM","Not generated":"Non générée","Address":"Adresse","Updated":"Mis à jour","DKIM key copied to clipboard":"Clé DKIM copiée dans le presse-papier","A new key will be generated soon. Refresh the page in a moment to see it.":"Une nouvelle clé sera générée bientôt. Actualisez dans un moment la page pour la voir.","warning":"Avertissement","DKIM key does not seem to be generated yet or has failed. Do you want to requeue the job?":"La génération de la clé DKIM ne semble pas avoir eu lieu ou a échoué. Voulez vous replanifier cette action ?","DKIM keys already exist for this domain. Do you want to overwrite them?":"Des clés DKIM existent déjà pour ce domaine. Voulez-vous les écraser?","Disabled":"Désactivés","Problem":"Problème","Valid":"Valide","Unknown":"Inconnu","Administrators of":"Administrateurs de","Administrators":"Administrateurs","Select an account":"Sélectionner un compte","Remove this administrator":"Supprimer cet administrateur","Add administrator":"Ajouter un administrateur","Username":"Nom d'utilisateur","Administrator added":"L'administrateur a ajouté","Administrator removed":"Administrateur supprimé","Choose a domain":"Choisissez un domaine","Add":"Ajouter","Edit domain alias":"Modifier l'alias de domaine","Add a new domain alias":"Ajouter un nouvel alias de domaine","Domain alias deleted":"Alias de domaine supprimé","Domain alias created":"Alias de domaine créé","Domain alias updated":"Alias de domaine mise à jour","New domain":"Nouveau domaine","Copy to clipboard":"Copier dans le presse-papiers","General":"Général","DNS":"DNS","Limitations":"Limites","Options":"Options","Transport":"Transport","Type":"Type","Enable DNS checks":"Activer les tests DNS","Enable DKIM signing":"Activer la signature DKIM","Quota":"Quota","Default mailbox quota":"Quota par défaut pour une boîte aux lettres","Message sending limit":"Limite d'envoi des messages","DKIM key selector":"Sélecteur de clé DKIM","DKIM key length":"Longeur de clé DKIM","Service":"Service","Create a domain administrator":"Créer un administrateur de domaine","Administrator name":"Nom de l'administrateur","Random password":"Mot de passe aléatoire","With mailbox":"Avec boîte aux lettres","Create aliases":"Créer des alias","Password copied to clipboard":"Mot de passe copié dans la presse-papier","Domain created":"Domaine créé","DKIM public key for":"Clé publique DKIM pour ","Raw format. Click to copy":"Format brut. Cliquer pour copier","Bind/named format. Click to copy":"Format bind/named. Cliquez pour copier","DNS configuration for ":"Configuration DNS pour","Here is an example of DNS configuration (bind format). Replace values between [ ] by the appropriate ones.":"Voici un exemplaire de configuration DNS (format bind). Remplacer les valeurs entre [ ] par les valeurs appropriées.","IP address of your Modoboa server":"Adresse IP de votre serveur Modoboa","hostname of your automx server":"Nom d'hôte de votre serveur automx","Name: ":"Nom :","Type: ":"Type :","DNS checks":"Vérifications DNS","DKIM signing":"Signature DKIM","Quota: ":"Quota :","Sending limit: ":"Limite d'envoi :","No sending limit":"Pas de limite d'envoi","Service: ":"Service :","Resources":"Ressources","Relay":"Relais","Unlimited":"illimité","Do not delete domain folder":"Ne pas supprimer le dossier des domaines","Aliases":"Alias","DNS status":"Statut DNS","Sending limit":"Limite d'envoi","Do you really want to delete the domain %{ domain }?":"Voulez-vous réellement supprimer le domaine %{ domaine } ?","Domain deleted":"Supprimer le domaine","Edit":"Modifier","Alarms":"Alarmes","Content filter":"Filtre de contenu","Edit content filter settings":"Modifier les paramètres du filtre de contenu","Spam filters":"Filtres spam","Default value":"Valeur par défaut","Virus filters":"Filtres virus","Banned filters":"Filtres banned","Spam classification threshold":"Seuil de classification en spam","Rejection threshold":"Seuil de rejet","Spam marker":"Marqueur de spam","Content filter settings":"Paramètres du filtre de contenu","Disable virus checks":"Désactiver les filtres virus","Disable spam checks":"Désactiver les filtres spam","Disable banned checks":"Désactiver les filtres banned","default":"défaut","Thresholds":"Seuils","or more is spam":"ou plus est du spam","or more throw spam message away":"ou plus rejette le spam","Apply":"Appliquer","General information":"Information générale","Creation date":"Date de création","Last modification date":"Date de dernière modification","MB":"Mo","Daily sending limit":"Limite d'envoi quotidienne","Sending forbidden":"Envoi interdit","messages":"messages","Mailboxes":"Boîtes aux lettres","Domain name (ex: domain.tld)":"Nom de domaine (ex: domaine.tld)","Control if this domain will be allowed to send and receive messages":"Contrôler si ce domaine sera autorisé à envoyer et recevoir des messages.","Relay domain":"Domaine relais","Quota shared between mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Quota partagé entre les boîtes aux lettres. Peut être exprimé en Ko, Mo (défaut) ou Go. Une valeur à 0 signifie pas de quota.","Default quota applied to mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Quota par défaut appliqué aux boîtes aux lettres. Peut être exprimé en Ko, Mo (défaut) ou Go. Une valeur à 0 signifie pas de quota.","Number of messages this domain can send per day. Leave empty for no limit.":"Nombre de messages que ce domaine peut envoyer par jour. Laisser vide pour aucune limite.","Name of the administrator":"Nom de l'administrateur","With a mailbox":"Avec une boite aux lettres","Create a mailbox for the administrator.":"Créer une boite aux lettres pour l'administrateur","Create standard aliases for the domain.":"Créer des aliases standard pour le domaine","New account":"Nouveau compte","Role":"Rôle","Identification":"Identification","Email":"E-mail","Domain default value":"Valeur du domaine par défaut","Send only account":"Compte limité à l'envoi","Account created":"Compte créé","Account":"Compte","Username:":"Nom d'utilisateur :","Profile":"Profil","Language:":"Langue :","domain's default value":"La valeur par défaut du domaine","Send only":"Envoi uniquement","Alias":"Alias","Number of associated alias:":"Nombre d'alias associés :","Number of allowed mailboxes:":"Nombre de boites aux lettres autorisé :","Number of allowed mailbox aliases:":"Nombre d'alias autorisé :","Account updated":"Compte mis à jour","Sender addresses":"Adresses d'expédition","No sender address defined for this account":"Aucune adresse d'expéditeur définie pour ce compte","Specify an email address":"Spécifier une adresse e-mail","Remove this address":"Supprimer cette adresse","Add sender address":"Ajouter l'adresse de l'expéditeur","Sender address added":"Adresse d'expédition ajoutée","Sender address deleted":"Adresse d'expédition supprimée","Last login date":"Date de dernière connexion","Never logged-in":"Jamais connecté","Full name":"Nom complet","New alias":"Nouvel alias","Random address":"Adresse aléatoire","Expire at":"Expire le","Description":"Description","Recipients":"Destinataires","Alias already exists, redirecting to edit page":"L'alias existe déjà, redirection vers la page de modification","Alias created":"Alias créé","Alias updated":"Alias mis à jour","Modified":"Modifié","Administered domains":"Domaines administrés","No domain managed":"Aucun domaine géré","Add/Remove from the domain page":"Ajouter/Supprimer depuis la page du domaine","Start typing a name here...":"Commencer à saisir un nom ici...","Alias(es) of this mailbox. To create a catchall alias, just enter the domain name (@domain.tld).":"Alias(s) de cette boîte aux lettres. Pour créer un alias fourre-tout, entrer uniquement le nom du domaine (@domain.tld).","Alias already added":"Alias déjà ajouté","You can update your password from the Account section":"Vous pouvez mettre à jour votre mot de passer depuis la section Mon compte","Enter an email address":"Entrer une adresse e-mail","Enter a simple username or an email address":"Entrer un nom d'utilisateur simple ou une adresse e-mail","Ex: 10MB. Leave empty for no limit":"Ex: 10MB. Laisser vide pour aucune limite","Quota for this mailbox, can be expressed in KB, MB (default) or GB. Define a custom value or use domain's default one. Leave empty to define an unlimited value (not allowed for domain administrators).":"Quota pour cette boite. Peut être exprimé en Ko, Mo (défaut) ou Go. Définir une valeur spécifique ou utiliser la valeur par défaut du domaine. Laisser vide pour définir une valeur illimitée (interdit pour les admins. de domaine).","Daily message sending limit":"Limite quotidienne d'envoi de messages","Leave empty for no limit":"Laisser vide pour aucune limite","Number of messages this mailbox can send per day. Leave empty for no limit.":"Nombre de messages que cette boîte aux lettres peut envoyer par jour. Laisser vide pour aucune limite.","Use domain default value":"Utiliser la valeur par défaut du domaine","unlimited":"illimité","Current password":"Mot de passe actuel","Confirmation":"Confirmation","Password mismatch":"Le mot de passe est différent","Choose a role":"Choisissez un rôle","Simple user":"Utilisateur simple","A user with no privileges but with a mailbox. He will be allowed to use all end-user features: webmail, calendar, contacts, filters.":"Un utilisateur sans privilèges mais ayant une boîte mail. Il sera autorisé à utiliser toutes les fonctionnalités de l'utilisateur final : webmail, calendrier, contacts, filtres.","Domain administrator":"Administrateur de domaine","A user with privileges on one or more domain. He will be allowed to administer mailboxes and he can also have a mailbox.":"Un utilisateur avec des privilèges sur un ou plusieurs domaines. Il sera autorisé à administrer les boîtes mail et il peut avoir aussi une boîte aux lettres.","Reseller":"Revendeur","An intermediate user who has the same privileges than a Domain administrator, plus the possibility to create domains and to assign resources.":"Un utilisateur intermédiaire qui a les mêmes privilèges qu'un administrateur de domaine, et la possibilité de créer des domaines et d'affecter des ressources.","Super administrator":"Super administrateur","A user with all privileges, can do anything. By default, such a user does not have a mailbox so he can't access end-user features.":"Un utilisateur ayant tous les privilège, peut tout faire. Par défaut, il n'a pas de boîte mail et ne peut donc pas accéder aux fonctionnalités d'un utilisateur final.","Email address":"Adresse email","Generated address":"Adresse générée","Please add at least one recipient.":"Veuillez ajouter au moins un destinataire","Customize displayed columns":"Personnaliser les colonnes affichées","Accounts":"Comptes","No mailbox":"Pas de boite aux lettres","Do not delete account folder":"Ne pas supprimer le dossier du compte","Last modification":"Dernière modification","Last Name":"Nom","Message limit":"Limite de messages","TFA enabled":"TFA activée","TOTP enabled":"TOTP activé","WebAutn enabled":"WebAuthn activé","Last login":"Dernière connexion","Are you sure you want to delete this identity ?":"Voulez-vous réellement supprimer cette identité ?","Account deleted":"Compte supprimé","Are you sure you want to delete this alias?":"Voulez-vous réellement supprimer cet alias ?","Alias deleted":"Alias supprimé","Name of the domain to migrate":"Nom du domaine à migrer","Local domain (optional)":"Domaine local (optionnel)","You need to bind at least one domain to the provider.":"Vous devez associer au moins un domaine à ce fournisseur.","Provider name":"Nom du fournisseur","Address (hostname or IP)":"Adresse (nom d'hôte ou IP)","IMAP Port":"Port IMAP","Secured":"Sécurisé","Is the IMAP connection secured using SSL/TLS or StartTLS":"La connexion IMAP est-elle sécurisée via l'utilisation de SSL/TLS ou StartTLS","Check connection:":"Vérifier la connexion :","Provider":"Fournisseur","Old account":"Ancien compte","Migration deleted":"Migration supprimée","New provider":"Nouveau fournisseur","(the domain will be created locally)":"(Le domaine sera créé automatiquement)","Associated domain":"Domaine associé","Port":"Port","Associated domains":"Domaines associés","Provider created":"Fournisseur créé","Name:":"Nom :","Number of associated domains:":"Nombre de domaines associés :","No associated domains":"Aucun domaine associé","Provider updated":"Fournisseur mis à jour","%{count} associated domain":["%{count} domaine associé","%{count} domaines associés","%{count} domaines associés"],"No associated domain":"Aucun domaine associé","Date":"Date","Level":"Niveau","Logger":"Logger","Queue ID":"ID de file","To":"A","Calendar sharing":"Partage de calendrier","Full address":"Adresse complète","Read":"Lecture","Write":"Ecriture","Calendar information":"Information du calendrier","To access this calendar from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Pour accéder à ce calendrier depuis l'extérieur (comme Mozilla Thunderbird ou votre smartphone), utilisez l'URL suivante :","The credentials are the same than the ones you use to access Modoboa.":"Les identifiants sont les mêmes que ceux utilisés pour accéder à Modoboa.","You can also share a read-only version of this calendar using the following URL: ":"Vous pouvez aussi partager une version en lecture seule de ce calendrier en utilisant l'URL suivante :","Edit calendar":"Modifier le calendrier","New calendar":"Nouveau calendrier","Color":"Couleur","Calendar updated":"Calendrier mis à jour","Calendar created":"Calendrier créé","Title":"Titre","Calendar":"Calendrier","Attendees":"Participants","Edit event":"Modifier l'évènement","New event":"Nouvel évènement","Event added":"Evènement ajouté","Event updated":"Evènement mis à jour","Event deleted":"Evènement supprimé","Import events":"Importer des évènements","Select an ICS file to import and click on the Send button":"Sélectionner un fichier ICS à importer et cliquer sur le bouton Envoyer","Select an ICS file":"Sélectionner un fichier ICS","Send":"Envoyer","%{ n } event imported":["%{n} évènement importé","%{ n} évènements importés","%{n} évènements importés"],"Address book information":"Information du carnet d'adresse","To access this address book from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Pour accéder à ce carnet d'adresse depuis l'extérieur (comme Mozilla Thunderbird ou votre smartphone), utilisez l'URL suivante :","Edit category":"Modifier la catégorie","Add category":"Ajouter une catégorie","Category deleted":"Catégorie supprimée","Categories":"Catégories","Display name":"Nom affiché","Company":"Société","Position":"Rôle","Birth date":"Date de naissance","Zip code":"Code postal","City":"Ville","Country":"Pays","State/Province":"Etat/Région","Note":"Note","More":"Plus","Less":"Moins","Edit contact":"Modifier le contact","New contact":"Nouveau contact","Display address book information":"Afficher les informations du carnet d'adresse","Synchronize contacts with address book":"Synchroniser les contacts avec le carnet d'adresse","E-mail":"Courriel","Phone":"Téléphone","Synchronization started":"Synchronisation démarée","Search in messages":"Chercher dans les messages","From address":"Emetteur","both":"tout","Release selection":"Libérer la sélection","Delete selection":"Supprimer la sélection","Mark as spam":"Marquer comme spam","Mark as not spam":"Marquer comme non spam","Display":"Afficher","Score":"Score","Message released":"Message libéré","Message marked as spam":"Message marqué comme spam","Message marked as non-spam":"Message marqué comme non-spam","Selection deleted":"Sélection supprimée","Release request sent":"Requête de libération envoyée","Selection released":"Sélection libérée","Learning database":"Base d'apprentissage","Which database should be used for this learning:":"Quelle base doit être utilisée pour cet apprentissage :","Selection is being processed...":"La sélection est en cours de traitement...","Notifications":"Notifications","Logout":"Déconnexion","Choose columns to display":"Choisir les colonnes à afficher","OK":"OK","Summary":"Résumé","Back":"Retour","Next":"Suivant","Confirm and create":"Confirmer et créer","If you close this form now, your modifications won't be saved. Do you confirm?":"Si vous fermez ce formulaire maintenant, vos modifications ne seront pas sauvegardées. Confirmez-vous ?","Modify":"Modifier","Empty":"Vide","Provide a CSV file where lines respect one of the following formats:":"Fournir un fichier CSV dont les lignes respectent l'un des formats suivants:","The first element of each line is mandatory and must be equal to one of the previous values.":"Le premier élément de chaque ligne est obligatoire et doit être égal à l'une des valeurs précédentes.","You can use a different character as separator.":"Vous pouvez utiliser autre caractère comme séparateur","Select file":"Sélectionner un fichier","Separator":"Séparateur","Continue on error":"Continuer en cas d'erreur","Don't treat duplicated objects as errors":"Ne pas traiter les objets dupliqués comme des erreurs","Import":"Importer","Parameters updated":"Paramètres mis à jour","Could not save parameters":"Impossible de sauvegarder les paramètres","Resources usage":"Utilisation des ressources","No quota":"Pas de quota","Creation denied":"Création interdite","Period":"Période","Absolute time range":"Plage de temps absolue","Relative time ranges":"Intervalles des temps relatifs","Day":"Jour","Week":"Semaine","Month":"Mois","Year":"Année","yes":"oui","no":"non","Attachments":"Pièce jointes","Attach":"Joindre","Provide one or more addresses":"Fournir une ou plusieurs adresses","Cc":"Cc","Bcc":"Cci","Email sent":"Message envoyé","Add to contacts":"Ajouter aux contacts","Update contact":"Mettre à jour le contact","Contact added to address book":"Contact ajouté au carnet d'adresse","Mark as read":"Marqué comme lu","Mark as unread":"Marquer comme non lu","Mark as followed":"Marquer comme suivi","Mark as unfollowed":"Marqué comme non suivi","Empty mailbox":"Vider la boite aux lettres","on":"le","No message yet in this mailbox":"Aucun message dans cette boite aux lettres","Message(s) deleted":"Message(s) supprimé(s)","Message(s) marked as junk":"Message(s) marqués comme pourriel","Message(s) marked as not junk":"Message(s) marqué(s) comme légitime(s)","Message(s) flagged":"Message(s) marqué(s)","%{count} message":["%{count} message","%{count} messages","%{count} messages"],"Parent mailbox":"Boite aux lettres parent","Create new mailbox":"Créer une nouvelle boîte aux lettres","Edit mailbox":"Modifier la boite aux lettres","Mailbox renamed":"Boite aux lettres renommée","Mailbox created":"Boite aux lettres créée","Moving selection...":"Déplacement de la sélection...","Global database":"Base globale","Domain's database":"Base du domaine","User's database":"Base de l'utilisateur","Settings":"Paramètres","Filters":"Filtres","Dashboard":"Tableau de bord","Domains":"Domaines","Identities":"Identités","Monitoring":"Supervision","Audit trail":"Journal des modifications","Messages":"Messages","IMAP Migration":"Migration IMAP","Email providers":"Fournisseurs de messagerie","Migrations":"Migrations","Information":"Information","Compose":"Ecrire","Create a new mailbox":"Créer une nouvelle boîte aux lettres","Edit this mailbox":"Modifier cette boite aux lettres","Delete this mailbox":"Supprimer cette boite aux lettres","Compress this mailbox":"Compresser cette boîte aux lettres","Mailbox compressed":"Boite aux lettres compressées","Delete this mailbox?":"Supprimer cette boite aux lettres ?","Mailbox deleted":"Boite aux lettres supprimée","No data to export":"Aucune donnée à exporter","CSV seems to be badly formatted":"Le fichier CSV semble être mal formaté","Not a valid email":"Ce n'est pas un email correct","Field is required":"Ce champ est requis","Minimum length is %{ length }":"La taille minimale est %{ length }","Must be a numeric value or empty":"Valeur numérique requise, ou pas de valeur","Passwords mismatch":"Les mots de passe diffèrent","Invalid port number":"Numéro de port incorrect","Provider deleted":"Fournisseur supprimé","Message filters":"Filtres de messages","Select a filter set":"Sélectionner un jeu de filtre","Add filter set":"Ajouter un jeu de filtre","Raw mode":"Mode brut","Add new filter":"Ajouter un nouveau filtre","New":{"":"Nouvelle","male":"Nouveau"},"Failed to display template. Using raw mode":"Impossible d'afficher le modèle. Utilisation du mode brut","Filter enabled":"Filtre activé","Filter disabled":"Filtre desactivé","Filter removed":"Filtre supprimé","Filter set activated":"Jeu de filtre activé","Active filter set deactivated":"Jeu de filtres actif desactivé","Filter set removed":"Jeu de filtre supprimé","Filter set updated":"Jeu de filtre mis à jour","Disable":"Desactiver","Enable":"Activer","Move down":"Déplacer vers le bas","Move up":"Déplacer vers le haut","Download filter set":"Télécharger le jeu de filtre","Delete filter set":"Supprimer le jeu de filtre","Activate filter set":"Activer le jeu de filtre","Deactivate filter set":"Désactiver le jeu de filtre","Settings: ":"Paramètres :","Account settings":"Paramètres du compte","Two-factor auth":"Authentification à deux facteurs","Forward":"Transfert","Auto-reply message":"Message de réponse automatique","API access":"Accès API","Opened alarms":"Alarmes ouvertes","Edit domain":"Modifier le domaine","Import domains and aliases from CSV file":"Importation de domaines et alias à partir d'un fichier CSV","Export domains and aliases to CSV":"Exporter les domaines et les alias au format CSV","Import domains":"Importer des domaines","DMARC":"DMARC","Edit account":"Modifier le compte","Edit alias":"Modifier l'alias","Import accounts and aliases from CSV file":"Importation de comptes et alias à partir d'un fichier CSV","Export accounts and aliases to CSV":"Exporter les comptes et les alias au format CSV","Import identities":"Importer des identités","Crypt passwords":"Chiffrer les mots de passe","Check this option if passwords contained in your file are not crypted":"Cochez cette option si les mots de passe contenus dans votre fichier ne sont pas chiffrés","Edit provider":"Modifier le fournisseur","Providers":"Fournisseurs","Important messages":"Messages importants","The password scheme you are using has been deprecated and will be removed in the next minor version. The procedure to upgrade to a stronger scheme is as follows:":"La méthode de chiffrement de mot de passe que vous utilisez a été rendue obsolète et sera retirée dans la prochaine version mineure. La procédure de mise à jour vers une méthode plus sûre est la suivante :","Go to <strong>Settings > General</strong> section":"Allez dans la section <strong>Paramètres > Général</strong>","Change the value of <strong>Default password scheme</strong>":"Changez la valeur de <strong>Méthode de chiffrement par défaut</strong>","Make sure <strong>Update password scheme at login</strong> option is enabled":"Assurez vous que l'option <strong>Mettre à jour la méthode de chiffrement du mot de passe à la connexion</strong> est activée","Save your changes":"Sauvegardez vos changements","Logout / Login with your current account so its password gets updated":"Re-connectez vous avec votre compte courant pour que son mot de passe soit mis à jour","Inform <strong>ALL</strong> your users that they must login to Modoboa to complete the operation":"Informez <strong>TOUS</strong> vos utilisateurs qu'ils doivent se connecter à Modoboa pour compléter cette opération","You must apply this procedure <strong>BEFORE</strong> you install a newest version of Modoboa, otherwise <strong>you will be unable to connect to the web interface anymore</strong>.":"Vous devez appliquer cette procédure <strong>AVANT</strong> d'installer une nouvelle version de Modoboa, autrement <strong>vous ne pourrez plus vous connecter à l'interface web</strong>.","Please note that you will see this message until <strong>ALL</strong> user passwords have been converted using the new scheme.":"Veuillez noter que vous verrez ce message jusqu'à ce que <strong>TOUS</strong> les mots de passe de vos utilisateurs aient été convertis en utilisant la nouvelle méthode.","Installed components":"Composants installés","One or more updates are available":"Une ou plusieurs mise à jour sont disponibles","Check out the following list to find related components":"Consulter la liste suivante pour trouver des composants associés","Installed version":"Version installée","Latest version":"Dernière version","Message history":"Historique des messages","My calendars":"Mes calendriers","Access rules":"Règles d'accès","Do you really want to delete this calendar?":"Voulez-vous vraiment supprimer ce calendrier ?","Calendar deleted":"Calendrier supprimé","Contacts":"Contacts","Add a category":"Ajouter une catégorie","Welcome to Modoboa":"Bienvenue dans Modoboa","Attempting to log you in.":"Tentative de connexion.","Quarantined message":"Message en quarantaine","Release message":"Libérer le message","Delete message":"Supprimer le message","Mark as non-spam":"Marquer comme non-spam","View full headers":"Voir l'intégralité des entêtes","Hide full headers":"Cacher l'intégralité des entêtes","Message deleted":"Marquer comme supprimé","Quarantine":"Quarantaine","release requests":"requêtes de libération","Reply":"Répondre","Reply all":"Répondre à tous","Enable links":"Activer les liens","Disable links":"Desactiver les liens","Display source":"Afficher la source","Message source":"Source du message","Message marked as junk":"Message marqué comme pourriel","Message marked as not junk":"Message marqué comme légitime","Webmail":"Webmail"}`),W1={},j1={},V1=JSON.parse(`{"Your API token has not been generated yet.":"Ваш API токен еще не сгенерирован.","Generate":"Сгенерировать","Your API token is:":"Ваш API токен:","Copy token to clipboard":"Скопировать токен в буфер обмена","Delete token":"Удалить токен","A documentation of the API is available":"Документация API доступна.","here":"здесь","API token copied to your clipboard":"Токен API скопирован в буфер обмена","API token created":"Токен API создан","Warning":"Внимание","You are about to delete your API access token":"Вы собираетесь удалить свой токен доступа к API","Cancel":"Отмена","Proceed":"Продолжить","API token deleted":"Токен API удалён","Enabled":"Включено","Subject":"Тема","Content":"Содержимое","The content of your answer. You can use the following variables, which will be automatically replaced by the appropriate value: %(name)s, %(fromdate)s, %(untildate)s":"Содержимое вашего ответа. Вы можете использовать следующие переменные, которые будут автоматически заменены соответствующим значением: %(name)s, %(fromdate)s,%(untildate)s","From":"От","Activate your auto reply from this date":"Включить автоответ с этой даты","Until":"По","Activate your auto reply until this date":"Включить автоответ по эту дату","Update auto-reply":"Сохранить автоответ","Auto-reply message updated":"Автоответ обновлён","Backup codes":"Резервные коды","You already have generated backup codes for this account. If you don't remember them or have used them all, you can generate new ones.":"У вас уже есть резервные коды. Если вы их потеряли или использовали все — можно создать новые.","Password":"Пароль","Reset recovery codes":"Сбросить коды восстановления","No two-factor authentificator is yet set for your account.":"Для вашей учётной записи ещё не настроена двухфакторная аутентификация","WebAuthn":"WebAuthn","You don't have any WebAuthN device registered as a second authentication method.":"У вас пока нет зарегистрированных устройств WebAuthn для второго фактора","Registered Webauthn devices":"Зарегистрированные устройства WebAuthn","Never":"Никогда","Enter a name to register a new webauthn device.":"Введите имя для регистрации нового устройства webauthn.","New device name":"Название нового устройства","Setup device":"Настроить устройство","Your browser does not seem compatible with WebAuthN":"Ваш браузер не поддерживает WebAuthn","name":"название","Name":"Имя","Added On":"Дата создания","Last Used":"Последнее использование","Use count":"Количество использований","Actions":"Действия","Failed to register the webAuthN device":"Не удалось зарегистрировать устройство WebAuthn","Do you really want to delete this WebAuthn device?":"Вы действительно хотите удалить это устройство WebAuthn?","No":"Нет","Yes":"Да","Edition":"Редактирование","Edit your device":"Изменить устройство","Save":"Сохранить","Conditions":"Условия","All of the following":"Все условия ниже","Any of the following":"Любое из условий ниже","All messages":"Все письма","Choose a header":"Выберите заголовок","Choose an operator":"Выберите оператор","Value":"Значение","Add condition":"Добавить условие","Remove condition":"Удалить условие","Choose an action":"Выберите действие","Add action":"Добавить действие","Remove action":"Удалить действие","Edit filter":"Изменить фильтр","New filter":"Новый фильтр","Update":"Обновить","Create":"Создать","Filter added":"Фильтр добавлен","Filter updated":"Фильтр обновлён","Create a new filter set":"Создать новый набор фильтров","Active":"Активно","Filter set created":"Набор фильтров создан","Recipient(s)":"Получатель(и)","Indicate one or more recipients separated by a comma (,)":"Укажите одного или нескольких получателей через запятую (,)","Keep local copies":"Сохранить локальную копию","Forward messages and store copies into your local mailbox":"Пересылать письма и сохранять копии в своём ящике","Forward updated":"Пересылка обновлена","General settings":"Основные настройки","First name":"Имя","Last name":"Фамилия","Language":"Язык","Feel free to improve the translations":"Помогите улучшить переводы","or suggest a new language":"или предложите новый язык","there":"там","Phone number":"Номер телефона","Secondary email":"Дополнительная электронная почта","Update settings":"Сохранить настройки","Update Password":"Изменить пароль","Profile updated":"Профиль обновлен","Language does no exist":"Такого языка нет","Password updated":"Пароль изменён","New recovery codes":"Новые коды восстановления","The following recovery codes can be used one time each to let you regain access to your account, in case you lose your phone for example. Make sure to save them in a safe place, otherwise you won't be able to access your account anymore.":"Эти коды восстановления можно использовать по одному разу, если вы потеряете телефон или ключ. Сохраните их в надёжном месте — иначе доступ к учётной записи будет утерян навсегда.","Close":"Закрыть","One-time passwords":"Одноразовые пароли","Click here to copy the key":"Кликните, чтобы скопировать ключ","Install a soft token authenticator like FreeOTP or Google Authenticator from your application repository and use that app to scan this QR code.":"Установите приложение-аутентификатор, такой как FreeOTP или Google Authenticator, из вашего репозитория приложений и используйте это приложение для сканирования этого QR-кода.","Pin code":"Пин-код","Register":"Зарегистрировать","Congratulations! Two-factor authentication using one-time passwords is now enabled for your account.":"Поздравляем! Двухфакторная аутентификация с одноразовыми паролями включена","Two-factor authentication using one-time passwords is enabled for your account.":"Для вашей учётной записи включена двухфакторная аутентификация с одноразовыми паролями.","Disable 2FA":"Отключить двухфакторную аутентификацию 2FA","Two-factor authentication (2FA) using one-time passwords is not yet activated for your account.":"Для вашей учётной записи ещё не включена двухфакторная аутентификация (2FA) с одноразовыми паролями.","Register authenticator":"Зарегистрировать устройство-аутентификатор","Search":"Поиск","Opened":"Открыто","Closed":"Закрыто","Triggered":"Сработало","Status":"Состояние","Domain":"Домен","Mailbox":"Почтовые ящики","Message":"Письмо","Delete":"Удалить","Reload":"Обновить","Close alarm":"Закрыть напоминание","Reopen alarm":"Возобновить напоминание","Alarm deleted":"Напоминание удалено","Alarms deleted":"Напоминания удалены","Alarm closed":"Напоминание закрыто","Alarm re-opened":"Напоминание снова открыто","Statistics":"Статистика","Domain count":"Количество доменов","Domain alias count":"Количество псевдонимов домена","Account count":"Количество учётных записей","Alias count":"Количество псевдонимов","Latest news":"Последние новости","Visit the official weblog for more information":"Подробности — в официальном блоге","Alignment":"Выравнивание","Detail":"Подробности","Trusted sources":"Доверенные источники","Partially trusted sources / Forwarders":"Частично доверенные источники / пересылки","Forwarders with ARC":"Пересылки с поддержкой ARC","Unknown sources / Threats":"Неизвестные источники / Угрозы","DMARC support does not seem to be enabled for this domain.":"Похоже, для этого домена поддержка DMARC не включена","If you configured it recently, please wait for the first report to be received and processed.":"Если вы недавно включили отчёты — дождитесь получения и обработки первого отчёта.","Fully aligned":"Полное выравнивание","Partially aligned":"Частичное выравнивание","Forwarded":"Пересылается","Failed":"Ошибка","Total":"Всего","DNSBL summary for ":"Результаты проверки по DNSBL для","IP address %{ address } is currently listed by the following DNSBL providers:":"IP-адрес %{ address } сейчас находится в следующих DNSBL:","DNS configuration help":"Помощь по настройке DNS","Pending":"В ожидании","Auto configuration":"Автоматическая настройка","autoconfig record (Mozilla): %{ value }":"Запись автонастройки (Mozilla): %{ value }","autoconfig record (Mozilla) not found":"Запись автонастройки (Mozilla) не найдена","autodiscover record (Microsoft): %{ value }":"запись автообнаружения (Microsoft): %{ value }","autodiscover record (Microsoft) not found":"запись автообнаружения (Microsoft) не найдена","Authentication":"Аутентификация","SPF record found":"SPF-запись найдена","SPF record not found":"SPF-запись не найдена","DKIM record found":"DKIM-запись найдена","DKIM record not found":"DKIM-запись не найдена","DMARC record found":"DMARC-запись найдена","DMARC record not found":"DMARC-запись не найдена","DKIM key":"Ключ DKIM","Show key":"Показать ключ","Copy key to clipboard":"Скопировать ключ в буфер обмена","Generate a new DKIM key":"Создать новый ключ DKIM","Not generated":"Не создан","Address":"Адрес","Updated":"Обновлено","DKIM key copied to clipboard":"Ключ DKIM скопирован в буфер обмена","A new key will be generated soon. Refresh the page in a moment to see it.":"Новый ключ будет сгенерирован в ближайшее время. Обновите страницу через минуту, чтобы увидеть это.","warning":"предупреждение","DKIM key does not seem to be generated yet or has failed. Do you want to requeue the job?":"Ключ DKIM ещё не создан или создание завершилось ошибкой. Поставить задачу на повторное создание?","DKIM keys already exist for this domain. Do you want to overwrite them?":"Для этого домена уже существуют ключи DKIM. Перезаписать их?","Disabled":"Отключено","Problem":"Проблема","Valid":"Действует","Unknown":"Неизвестно","Administrators of":"Администраторы","Administrators":"Администраторы","Select an account":"Выберите учётную запись","Remove this administrator":"Удалить этого администратора","Add administrator":"Добавить администратора","Username":"Логин","Administrator added":"Администратор добавлен","Administrator removed":"Администратор удален","Choose a domain":"Выберите домен","Add":"Добавить","Edit domain alias":"Изменить псевдоним домена","Add a new domain alias":"Добавить новый псевдоним домена","Domain alias deleted":"Псевдоним домена удалён","Domain alias created":"Псевдоним домена создан","Domain alias updated":"Псевдоним домена обновлён","New domain":"Новый домен","Copy to clipboard":"Скопировать в буфер обмена","General":"Общие","DNS":"DNS","Limitations":"Ограничения","Options":"Параметры","Transport":"Транспорт","Type":"Тип","Enable DNS checks":"Включить проверку DNS","Enable DKIM signing":"Включить подпись DKIM","Quota":"Квота","Default mailbox quota":"Квота почтового ящика по умолчанию","Message sending limit":"Лимит отправляемых писем","DKIM key selector":"Селектор ключа DKIM","DKIM key length":"Длина ключа DKIM","Service":"Сервис","Create a domain administrator":"Создать администратора домена","Administrator name":"Имя администратора","Random password":"Случайный пароль","With mailbox":"С ящиком","Create aliases":"Создать псевдонимы","Password copied to clipboard":"Пароль скопирован в буфер обмена","Domain created":"Домен создан","DKIM public key for":"Публичный ключ DKIM для","Raw format. Click to copy":"Исходный формат. Кликните для копирования","Bind/named format. Click to copy":"Формат BIND/named. Кликните для копирования","DNS configuration for ":"DNS-конфигурация для","Here is an example of DNS configuration (bind format). Replace values between [ ] by the appropriate ones.":"Пример DNS-конфигурации (формат BIND). Замените значения в [ ] на свои","Name: ":"Имя:","Type: ":"Тип:","DNS checks":"Проверка DNS","DKIM signing":"Подпись DKIM","Quota: ":"Квота:","Sending limit: ":"Лимит отправки:","No sending limit":"Без лимита отправки","Service: ":"Сервис:","Resources":"Ресурсы","Relay":"Ретрансляция","Unlimited":"Не ограничено","Do not delete domain folder":"Не удалять папку домена","Aliases":"Псевдонимы","DNS status":"Состояние DNS","Sending limit":"Лимит отправки","Do you really want to delete the domain %{ domain }?":"Вы действительно хотите удалить домен %{ domain }?","Domain deleted":"Домен удалён","Edit":"Редактировать","Alarms":"Напоминания","Content filter":"Фильтр содержимого","Edit content filter settings":"Изменить настройки фильтра содержимого","Spam filters":"Спам-фильтры","Default value":"Значение по умолчанию","Virus filters":"Антивирусные фильтры","Banned filters":"Фильтры запрещённых вложений","Spam classification threshold":"Порог определения спама","Rejection threshold":"Порог отклонения","Spam marker":"Метка спама","Content filter settings":"Настройки фильтра содержимого","Disable virus checks":"Отключить антивирусную проверку","Disable spam checks":"Отключить проверку на спам","Disable banned checks":"Отключить проверку запрещённых вложений","default":"по умолчанию","Thresholds":"Пороги","or more is spam":"и выше — считается спамом","or more throw spam message away":"и выше — письмо отбрасывается","Apply":"Применить","General information":"Общая информация","Creation date":"Дата создания","Last modification date":"Дата последнего изменения","MB":"МБ","Daily sending limit":"Лимит отправки в сутки","Sending forbidden":"Отправка запрещена","messages":"письма","Mailboxes":"Почтовые ящики","Domain name (ex: domain.tld)":"Имя домена (например, domain.tld)","Control if this domain will be allowed to send and receive messages":"Разрешить домену отправлять и принимать письма","Relay domain":"Ретранслируемый домен","Quota shared between mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Квота распределяется между почтовыми ящиками. Может быть выражена в КБ, МБ (по умолчанию) или ГБ. Значение 0 означает отсутствие квоты.","Default quota applied to mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Квота по умолчанию, применяемая к почтовым ящикам. Может быть выражена в КБ, МБ (по умолчанию) или ГБ. Значение 0 означает отсутствие квоты.","Number of messages this domain can send per day. Leave empty for no limit.":"Лимит писем в сутки для домена. Оставьте пустым — без ограничений.","Name of the administrator":"Имя администратора","With a mailbox":"С почтовым ящиком","Create a mailbox for the administrator.":"Создать почтовый ящик для администратора","Create standard aliases for the domain.":"Создать стандартные псевдонимы для домена","New account":"Новая учётная запись","Role":"Роль","Identification":"Идентификация","Email":"Email","Domain default value":"Значение по умолчанию для домена","Send only account":"Отправить только учётную запись","Account created":"Учётная запись создана","Account":"Учётная запись","Username:":"Логин:","Profile":"Профиль","Language:":"Язык:","domain's default value":"значение по умолчанию домена","Send only":"Только отправка","Alias":"Псевдоним","Number of associated alias:":"Количество псевдонимов:","Number of allowed mailboxes:":"Разрешено почтовых ящиков:","Number of allowed mailbox aliases:":"Разрешено псевдонимов ящика:","Account updated":"Учётная запись обновлена","Sender addresses":"Адреса отправителей","No sender address defined for this account":"Не указан адрес отправителя для этой учётной записи","Specify an email address":"Укажите адрес электронной почты","Remove this address":"Удалить этот адрес","Add sender address":"Добавить адрес отправителя","Sender address added":"Адрес отправителя добавлен","Sender address deleted":"Адрес отправителя удалён","Last login date":"Дата последнего входа","Never logged-in":"Ещё ни разу не входил","Full name":"Имя файла","New alias":"Новый псевдоним","Random address":"Случайный адрес","Expire at":"Истекает","Description":"Описание","Recipients":"Получатели","Alias already exists, redirecting to edit page":"Псевдоним уже существует — переходим к редактированию","Alias created":"Псевдоним создан","Modified":"Изменено","Administered domains":"Управляемые домены","No domain managed":"Нет управляемых доменов","Add/Remove from the domain page":"Добавить/удалить на странице домена","Start typing a name here...":"Начните вводить имя…","Alias(es) of this mailbox. To create a catchall alias, just enter the domain name (@domain.tld).":"Псевдоним(ы) этого почтового ящика. Чтобы создать универсальный псевдоним, просто введите имя домена (пример @domain.tld).","Alias already added":"Псевдоним уже добавлен","You can update your password from the Account section":"Вы можете изменить пароль в разделе «Учётная запись»","Enter an email address":"Введите адрес электронной почты","Enter a simple username or an email address":"Введите логин или полный адрес электронной почты","Ex: 10MB. Leave empty for no limit":"Пример: 10MB. Оставьте пустым — без ограничений","Quota for this mailbox, can be expressed in KB, MB (default) or GB. Define a custom value or use domain's default one. Leave empty to define an unlimited value (not allowed for domain administrators).":"Квота для этого почтового ящика может быть выражена в КБ, МБ (по умолчанию) или ГБ. Задайте собственное значение или используйте значение по умолчанию для домена. Оставьте поле пустым, чтобы задать неограниченное значение (недоступно для администраторов домена).","Daily message sending limit":"Лимит отправки писем в сутки","Leave empty for no limit":"Оставьте пустым — без ограничений","Number of messages this mailbox can send per day. Leave empty for no limit.":"Лимит писем в сутки для ящика. Оставьте пустым — без ограничений.","Use domain default value":"Используются значения домена по умолчанию ","unlimited":"не ограничено","Current password":"Текущий пароль","Confirmation":"Подтверждение","Password mismatch":"Пароль не совпадает","Choose a role":"Выберите роль","Simple user":"Обычный пользователь","A user with no privileges but with a mailbox. He will be allowed to use all end-user features: webmail, calendar, contacts, filters.":"Пользователь без привилегий, но с почтовым ящиком. Ему будет разрешено использовать все функции конечного пользователя: веб-почту, календарь, контакты, фильтры.","Domain administrator":"Администратор домена","A user with privileges on one or more domain. He will be allowed to administer mailboxes and he can also have a mailbox.":"Пользователь с привилегиями в одном или нескольких доменах. Ему будет разрешено администрировать почтовые ящики, а также он может иметь почтовый ящик.","Reseller":"Реселлер","An intermediate user who has the same privileges than a Domain administrator, plus the possibility to create domains and to assign resources.":"Промежуточный пользователь, имеющий те же привилегии, что и администратор домена, а также возможность создавать домены и назначать ресурсы.","Super administrator":"Суперадминистратор","A user with all privileges, can do anything. By default, such a user does not have a mailbox so he can't access end-user features.":"Пользователь со всеми привилегиями может делать что угодно. По умолчанию у такого пользователя нет почтового ящика, поэтому он не может получить доступ к функциям конечного пользователя.","Email address":"Адрес электронной почты","Generated address":"Сгенерированный адрес","Please add at least one recipient.":"Укажите хотя бы одного получателя","Customize displayed columns":"Настроить отображаемые столбцы","Accounts":"Учётные записи","No mailbox":"Нет почтового ящика","Do not delete account folder":"Не удалять папку учётной записи","Last modification":"Последнее изменение","Last Name":"Фамилия","Message limit":"Лимит писем","TFA enabled":"Двухфакторная аутентификация включена","TOTP enabled":"TOTP включены","WebAutn enabled":"WebAuthn включён","Last login":"Последний вход","Are you sure you want to delete this identity ?":"Вы уверены, что хотите удалить эту личность?","Account deleted":"Учётная запись удалена","Are you sure you want to delete this alias?":"Удалить этот псевдоним?","Alias deleted":"Псевдоним удалён","Name of the domain to migrate":"Имя домена для миграции","Local domain (optional)":"Локальный домен (необязательно)","You need to bind at least one domain to the provider.":"Нужно привязать к провайдеру хотя бы один домен.","Provider name":"Название провайдера","Address (hostname or IP)":"Адрес (имя хоста или IP)","IMAP Port":"IMAP Порт","Secured":"Защищено","Is the IMAP connection secured using SSL/TLS or StartTLS":"IMAP-соединение защищено через SSL/TLS или STARTTLS","Check connection:":"Проверка соединения:","Provider":"Провайдер","Old account":"Старая учётная запись","Migration deleted":"Миграция удалена","New provider":"Новый провайдер","(the domain will be created locally)":"(домен будет создан локально)","Associated domain":"Связанный домен","Port":"Порт","Associated domains":"Связанные домены","Provider created":"Провайдер создан","Name:":"Название:","Number of associated domains:":"Количество связанных доменов:","No associated domains":"Нет связанных доменов","Provider updated":"Провайдер обновлён","Date":"Дата","Level":"Уровень","Logger":"Журнал событий","Queue ID":"ID очереди","To":"Кому","Calendar sharing":"Общий доступ к календарю","Full address":"Полный адрес","Read":"Читать","Write":"Запись","Calendar information":"Информация о календаре","To access this calendar from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Чтобы получить доступ к этому календарю извне (например, из Mozilla Thunderbird или со смартфона), используйте следующий URL-адрес:","The credentials are the same than the ones you use to access Modoboa.":"Используйте тот же логин и пароль, что и для входа в Modoboa","You can also share a read-only version of this calendar using the following URL: ":"Вы также можете поделиться версией этого календаря, доступной только для чтения, используя следующий URL-адрес:","Edit calendar":"Изменить календарь","New calendar":"Новый календарь","Color":"Цвет","Calendar updated":"Календарь обновлен","Calendar created":"Календарь создан","Title":"Название","Calendar":"Календарь","Attendees":"Участники","Edit event":"Изменить событие","New event":"Новое событие","Event added":"Событие добавлено","Event updated":"Событие обновлено","Event deleted":"Событие удалено","Import events":"Импортировать события","Select an ICS file to import and click on the Send button":"Выберите файл .ics для импорта и нажмите «Импортировать»","Select an ICS file":"Выберите файл .ics","Send":"Отправить","%{ n } event imported":["%{ n } событие импортировано","%{ n } событий импортировано","%{ n } событий импортировано","Импортировано событий: %{ n }"],"Address book information":"О адресной книге","To access this address book from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Для доступа к этой адресной книге извне (например из Mozilla Thunderbird или со смартфона) используйте следующий URL:","Edit category":"Изменить категорию","Add category":"Добавить категорию","Category deleted":"Категория удалена","Categories":"Категории","Display name":"Отображаемое имя","Company":"Организация","Position":"Должность","Birth date":"Дата рождения","Zip code":"Почтовый индекс","City":"Город","Country":"Страна","State/Province":"Регион","Note":"Заметка","More":"Еще","Less":"Меньше","Edit contact":"Изменить контакт","New contact":"Новый контакт","Display address book information":"Показать информацию об адресной книге","Synchronize contacts with address book":"Синхронизировать контакты с адресной книгой","E-mail":"Электронная почта","Phone":"Телефон","Synchronization started":"Синхронизация запущена","Search in messages":"Поиск по письмам","From address":"Адрес отправителя","both":"оба","Release selection":"Выпустить выбранные","Delete selection":"Удалить выбранное","Mark as spam":"Пометить как спам","Mark as not spam":"Пометить как НЕ спам","Display":"Отображение","Score":"Баллы","Message released":"Письмо выпущено","Message marked as spam":"Письмо помечено как спам","Message marked as non-spam":"Письмо помечено как НЕ спам","Selection deleted":"Выбранное удалено","Release request sent":"Запрос на выпуск отправлен","Selection released":"Выбранные письма выпущены","Learning database":"База обучения SpamAssassin","Which database should be used for this learning:":"В какую базу сохранять результаты обучения:","Selection is being processed...":"Идёт обработка выбранного…","Notifications":"Уведомления","Logout":"Выйти","Choose columns to display":"Выберите отображаемые столбцы","OK":"ОК","Summary":"Обзор","Back":"Назад","Next":"Далее","Confirm and create":"Подтвердить и создать","If you close this form now, your modifications won't be saved. Do you confirm?":"Если закрыть форму сейчас — все изменения будут потеряны. Продолжить?","Modify":"Изменить","Empty":"Пусто","Provide a CSV file where lines respect one of the following formats:":"Загрузите CSV-файл, в котором строки имеют один из следующих форматов:","The first element of each line is mandatory and must be equal to one of the previous values.":"Первый элемент каждой строки обязателен и должен быть одним из указанных выше типов","You can use a different character as separator.":"Можно использовать любой другой символ в качестве разделителя.","Select file":"Выбрать файл","Separator":"Разделитель","Continue on error":"Продолжать при ошибке","Don't treat duplicated objects as errors":"Не считать дубликаты ошибками","Import":"Импорт","Parameters updated":"Настройки сохранены","Could not save parameters":"Не удалось сохранить настройки","Resources usage":"Использование ресурсов","No quota":"Без квоты","Creation denied":"Создание запрещено","Period":"Период","Absolute time range":"Абсолютный временной диапазон","Relative time ranges":"Относительный период","Day":"День","Week":"Неделя","Month":"Месяц","Year":"Год","yes":"да","no":"нет","Attachments":"Вложения","Attach":"Прикрепить","Provide one or more addresses":"Укажите один или несколько адресов","Cc":"Копия","Bcc":"Скрытая копия","Email sent":"Письмо отправлено","Add to contacts":"Добавить в контакты","Update contact":"Сохранить контакт","Contact added to address book":"Контакт добавлен в адресную книгу","Mark as read":"Пометить как прочитанное","Mark as unread":"Пометить как непрочитанное","Mark as followed":"Пометить как важное","Mark as unfollowed":"Снять пометку «Важное»","Empty mailbox":"Очистить ящик","on":"включено","No message yet in this mailbox":"В этом ящике пока нет писем","Message(s) deleted":"Письмо(а) удалены","Message(s) marked as junk":"Письмо(а) помечено как спам","Message(s) marked as not junk":"Письмо(а) помечено как НЕ спам","Message(s) flagged":"Письмо(а) помечено как важные","Parent mailbox":"Родительский ящик","Create new mailbox":"Создать новый почтовый ящик","Edit mailbox":"Изменить почтовый ящик","Mailbox renamed":"Почтовый ящик переименован","Mailbox created":"Почтовый ящик создан","Global database":"Общая база данных","Domain's database":"База данных домена","User's database":"База данных пользователя","Settings":"Настройки","Filters":"Фильтры","Dashboard":"Приборная панель","Domains":"Домены","Identities":"Личности","Monitoring":"Мониторинг","Audit trail":"Журнал действий","Messages":"Письма","IMAP Migration":"IMAP Миграция","Email providers":"Почтовые провайдеры","Migrations":"Миграции","Information":"Информация","Compose":"Написать","Create a new mailbox":"Создать новый почтовый ящик","Edit this mailbox":"Изменить этот ящик","Delete this mailbox":"Удалить этот ящик","Compress this mailbox":"Сжать этот ящик","Mailbox compressed":"Почтовый ящик сжат","Delete this mailbox?":"Удалить этот почтовый ящик?","Mailbox deleted":"Почтовый ящик удалён","No data to export":"Нет данных для экспорта","CSV seems to be badly formatted":"CSV-файл имеет неверный формат","Not a valid email":"Неверный адрес электронной почты","Field is required":"Поле обязательно для заполнения","Minimum length is %{ length }":"Минимальная длина %{ length }","Must be a numeric value or empty":"Должно быть числом или пустым","Passwords mismatch":"Пароли не совпадают","Invalid port number":"Неверный номер порта","Provider deleted":"Провайдер удалён","Message filters":"Фильтры писем","Select a filter set":"Выберите набор фильтров","Add filter set":"Добавить набор фильтров","Raw mode":"Исходный режим","Add new filter":"Добавить фильтр","Failed to display template. Using raw mode":"Не удалось отобразить шаблон. Используется исходный режим","Filter enabled":"Фильтр включён","Filter disabled":"Фильтр отключён","Filter removed":"Фильтр удалён","Filter set activated":"Набор фильтров включён","Filter set removed":"Набор фильтров удалён","Filter set updated":"Набор фильтров обновлён","Disable":"Отключить","Enable":"Включить","Move down":"Переместить вниз","Move up":"Переместить вверх","Download filter set":"Скачать набор фильтров","Delete filter set":"Удалить набор фильтров","Activate filter set":"Включить набор фильтров","Account settings":"Настройки учётной записи","Two-factor auth":"Двухфакторная аутентификация","Forward":"Переслать","Auto-reply message":"Текст автоответа","API access":"Доступ к API","Opened alarms":"Активные напоминания","Edit domain":"Изменить домен","New":{"male":"Новый"},"Import domains and aliases from CSV file":"Импорт доменов и псевдонимов из CSV-файла","Export domains and aliases to CSV":"Экспорт доменов и псевдонимов в CSV","Import domains":"Импорт доменов","DMARC":"DMARC","Edit account":"Изменить учётную запись","Edit alias":"Изменить псевдоним","Import accounts and aliases from CSV file":"Импорт учётных записей и псевдонимов из CSV-файла","Export accounts and aliases to CSV":"Экспорт учётных записей и псевдонимов в CSV","Import identities":"Импорт информации о пользователях","Crypt passwords":"Шифровать пароль","Check this option if passwords contained in your file are not crypted":"Выберите эту опцию если пароль в вашем файле не зашифрован ","Edit provider":"Изменить провайдера","Providers":"Провайдеры","Important messages":"Важные письма","The password scheme you are using has been deprecated and will be removed in the next minor version. The procedure to upgrade to a stronger scheme is as follows:":"Используемая схема шифрования паролей устарела и будет удалена в следующей версии. Порядок перехода на более надёжную схему:","Go to <strong>Settings > General</strong> section":"Перейдите в <strong>Настройки > Общие</strong>","Change the value of <strong>Default password scheme</strong>":"Изменить схему <strong>шифрования паролей по умолчанию</strong>","Make sure <strong>Update password scheme at login</strong> option is enabled":"Убедитесь, что включена опция <strong>Обновлять схему пароля при входе</strong>","Save your changes":"Сохранить изменения","Logout / Login with your current account so its password gets updated":"Выйдите и зайдите снова, чтобы обновился пароль","Inform <strong>ALL</strong> your users that they must login to Modoboa to complete the operation":"Сообщите <strong>ВСЕМ</strong> пользователям, что они должны зайти в Modoboa для завершения операции","You must apply this procedure <strong>BEFORE</strong> you install a newest version of Modoboa, otherwise <strong>you will be unable to connect to the web interface anymore</strong>.":"Эту процедуру необходимо выполнить <strong>ДО</strong> обновления Modoboa, иначе <strong>вы больше не сможете войти в веб-интерфейс</strong>.","Please note that you will see this message until <strong>ALL</strong> user passwords have been converted using the new scheme.":"Это сообщение будет показываться, пока <strong>ВСЕ </strong>пароли пользователей не будут переведены на новую схему","Installed components":"Установленные компоненты","One or more updates are available":"Доступны одно или более обновлений.","Check out the following list to find related components":"Посмотрите список связанных компонентов ниже","Installed version":"Установленная версия","Latest version":"Последняя версия","Message history":"История письма","My calendars":"Мои календари","Access rules":"Правила доступа","Do you really want to delete this calendar?":"Вы действительно хотите удалить этот календарь?","Calendar deleted":"Календарь удален","Contacts":"Контакты","Add a category":"Добавить категорию","Welcome to Modoboa":"Добро пожаловать в Modoboa!","Attempting to log you in.":"Выполняется вход","Quarantined message":"Письмо в карантине","Release message":"Выпустить письмо","Delete message":"Удалить письмо","Mark as non-spam":"Пометить как НЕ спам","View full headers":"Показать все заголовки","Hide full headers":"Скрыть все заголовки","Message deleted":"Письмо удалено","Quarantine":"Карантин","release requests":"запросы на выпуск","Reply":"Ответить","Reply all":"Ответить всем","Enable links":"Включить ссылки","Disable links":"Отключить ссылки","Display source":"Показать источник","Message marked as junk":"Письмо помечено как спам","Message marked as not junk":"Письмо помечено как НЕ спам","Webmail":"Веб-почта"}`),Y1=JSON.parse(`{"Your API token has not been generated yet.":"Ditt API token har ännu ej genererats.","Generate":"Generera","Your API token is:":"Ditt API token är:","Copy token to clipboard":"Kopiera token till urklipp","Delete token":"Radera token","A documentation of the API is available":"En dokumentation av API:et finns tillgänglig","here":"här","API token copied to your clipboard":"API token kopierat till urklipp","API token created":"API token skapat","Warning":"Varning","You are about to delete your API access token":"Du håller på att radera din API-åtkomsttoken","Cancel":"Avbryt","Proceed":"Fortsätt","API token deleted":"API token raderat","Enabled":"Aktiverad","Subject":"Ämne","Content":"Innehåll","The content of your answer. You can use the following variables, which will be automatically replaced by the appropriate value: %(name)s, %(fromdate)s, %(untildate)s":"Innehållet i ditt svar. Du kan använda följande variabler, som automatiskt ersätts med lämpligt värde: %(name)s, %(fromdate)s, %(untildate)s","From":"Från","Activate your auto reply from this date":"Aktivera ditt autosvar från detta datum","Until":"Tills","Activate your auto reply until this date":"Aktivera ditt autosvar fram till detta datum","Update auto-reply":"Uppdatera autosvar","Auto-reply message updated":"Automatiskt svarsmeddelande uppdaterat","Backup codes":"Säkerhetskopieringskoder","You already have generated backup codes for this account. If you don't remember them or have used them all, you can generate new ones.":"Du har redan genererat reservkoder för det här kontot. Om du inte kommer ihåg dem eller har använt dem alla kan du skapa nya.","Password":"Lösenord","Reset recovery codes":"Återställ återställningskoder","No two-factor authentificator is yet set for your account.":"Ingen tvåfaktorsautentisering är ännu inställd för ditt konto.","WebAuthn":"WebAuthn","You don't have any WebAuthN device registered as a second authentication method.":"Du har ingen WebAuthN-enhet registrerad som en andra autentiseringsmetod.","Registered Webauthn devices":"Registrerade Webauthn-enheter","Never":"Aldrig","Enter a name to register a new webauthn device.":"Ange ett namn för att registrera en ny webauthn-enhet.","New device name":"Nytt enhetsnamn","Setup device":"Konfigurera enhet","Your browser does not seem compatible with WebAuthN":"Din webbläsare verkar inte vara kompatibel med WebAuthN","name":"namn","Name":"Namn","Added On":"Tillagd på","Last Used":"Senast använd","Use count":"Använd antal","Actions":"Åtgärder","Do you really want to delete this WebAuthn device?":"Vill du verkligen ta bort den här WebAuthn-enheten?","No":"Nej","Yes":"Ja","Edition":"Utgåva","Edit your device":"Redigera din enhet","Save":"Spara","Conditions":"Villkor","All of the following":"Alla följande","Any of the following":"Något av följande","All messages":"Alla meddelanden","Choose a header":"Välj en rubrik","Choose an operator":"Välj en operatör","Value":"Värde","Add condition":"Lägg till villkor","Remove condition":"Ta bort tillstånd","Choose an action":"Välj en åtgärd","Add action":"Lägg till åtgärd","Remove action":"Ta bort åtgärd","Edit filter":"Redigera filter","New filter":"Nytt filter","Update":"Uppdatera","Create":"Skapa","Filter added":"Filter har lagts till","Filter updated":"Filter uppdaterat","Create a new filter set":"Skapa ny filteruppsättning","Active":"Aktiv","Filter set created":"Filteruppsättning skapad","Recipient(s)":"Mottagare","Indicate one or more recipients separated by a comma (,)":"Ange en eller flera mottagare separerade med kommatecken (,)","Keep local copies":"Behåll lokala kopior","Forward messages and store copies into your local mailbox":"Vidarebefordra meddelanden och lagra kopior i din lokala brevlåda","Forward updated":"Vidarebefordring uppdaterad","General settings":"Allmänna inställningar","First name":"Förnamn","Last name":"Efternamn","Language":"Språk","Feel free to improve the translations":"Förbättra gärna översättningarna","or suggest a new language":"eller föreslå ett nytt språk","there":"där","Phone number":"Telefonnummer","Secondary email":"Sekundär e-post","Update settings":"Uppdatera inställningar","Update Password":"Uppdatera lösenord","Profile updated":"Profil uppdaterad","Language does no exist":"Språket existerar inte","Password updated":"Lösenord uppdaterat","New recovery codes":"Nya återställningskoder","The following recovery codes can be used one time each to let you regain access to your account, in case you lose your phone for example. Make sure to save them in a safe place, otherwise you won't be able to access your account anymore.":"Följande återställningskoder kan användas en gång var för att låta dig återfå åtkomst till ditt konto, om du till exempel skulle tappa din telefon. Se till att spara dem på ett säkert ställe, annars kommer du inte att kunna komma åt ditt konto längre.","Close":"Stäng","One-time passwords":"Engångslösenord","Click here to copy the key":"Klicka här för att kopiera nyckeln","Install a soft token authenticator like FreeOTP or Google Authenticator from your application repository and use that app to scan this QR code.":"Installera en mjuk token-autentisering som FreeOTP eller Google Authenticator från ditt programförråd och använd den appen för att skanna den här QR-koden.","Pin code":"Pinkod","Register":"Register","Congratulations! Two-factor authentication using one-time passwords is now enabled for your account.":"Grattis! Tvåfaktorsautentisering med engångslösenord är nu aktiverad för ditt konto.","Two-factor authentication using one-time passwords is enabled for your account.":"Tvåfaktorsautentisering med engångslösenord är aktiverad för ditt konto.","Disable 2FA":"Inaktivear 2FA","Two-factor authentication (2FA) using one-time passwords is not yet activated for your account.":"Tvåfaktorsautentisering (2FA) med engångslösenord är ännu inte aktiverad för ditt konto.","Register authenticator":"Registrera autentiseringsverktyg","Search":"Sök","Opened":"Öppnad","Closed":"Stängd","Triggered":"Triggad","Status":"Status","Domain":"Domän","Mailbox":"Brevlåda","Message":"Meddelande","Delete":"Radera","Reload":"Ladda om","Close alarm":"Stäng alarm","Reopen alarm":"Återöppna larmet","Alarm deleted":"Larm raderat","Alarms deleted":"Larm raderade","Alarm closed":"Larm stängt","Alarm re-opened":"Larm öppnat på nytt","Statistics":"Statistik","Alignment":"Placering","Detail":"Detalj","Trusted sources":"Pålitliga källor","Partially trusted sources / Forwarders":"Delvis pålitliga källor / speditörer","Forwarders with ARC":"Vidarebefordrare med ARC","Unknown sources / Threats":"Okända källor / hot","DMARC support does not seem to be enabled for this domain.":"DMARC-stöd verkar inte vara aktiverat för den här domänen.","If you configured it recently, please wait for the first report to be received and processed.":"Om du konfigurerade det nyligen, vänta tills den första rapporten tas emot och behandlas.","Fully aligned":"Helt inriktad","Partially aligned":"Delvis justerad","Forwarded":"Vidarebefordrad","Failed":"Misslyckades","Total":"Totalt","DNS configuration help":"DNS konfigurering hjälp","Pending":"Väntande","Auto configuration":"Automatisk konfiguration","autoconfig record (Mozilla): %{ value }":"\\"autoconfig-post (Mozilla): %{ value }\\"","autoconfig record (Mozilla) not found":"autoconfig-posten (Mozilla) hittades inte","autodiscover record (Microsoft): %{ value }":"autodiscover-post (Microsoft): %{ value }","autodiscover record (Microsoft) not found":"autodiscover-post (Microsoft) hittades inte","Authentication":"Autentisering","SPF record found":"SPF post hittad","SPF record not found":"SPF post saknas","DKIM record found":"DKIM-post hittades","DKIM record not found":"DKIM-posten hittades inte","DMARC record found":"DMARC post hittad","DMARC record not found":"DMARC post ej hittad","DKIM key":"DKIM nyckel","Show key":"Visa nyckel","Copy key to clipboard":"Kopiera nyckel till urklipp","Generate a new DKIM key":"Generera en ny DKIM nyckel","Not generated":"Ej genererad","Address":"Adress","Updated":"Uppdaterad","DKIM key copied to clipboard":"DKIM-nyckel kopierad till urklipp","A new key will be generated soon. Refresh the page in a moment to see it.":"En ny nyckel kommer snart att skapas. Ladda om sidan om en stund för att se den.","warning":"varning","DKIM key does not seem to be generated yet or has failed. Do you want to requeue the job?":"DKIM-nyckeln verkar inte ha genererats ännu eller har misslyckats. Vill du köa jobbet?","DKIM keys already exist for this domain. Do you want to overwrite them?":"DKIM-nycklar finns redan för den här domänen. Vill du skriva över dem?","Disabled":"Inaktiverad","Problem":"Problem","Valid":"Giltig","Unknown":"Okänd","Administrators of":"Administratörer för","Administrators":"Administratörer","Select an account":"Välj ett konto","Remove this administrator":"Radera denna administratör","Add administrator":"Lägg till administratör","Username":"Användarnamn","Administrator added":"Administratör tillagd","Administrator removed":"Administratör raderad","Choose a domain":"Välj en domän","Add":"Lägg till","Edit domain alias":"Redigera domänalias","Add a new domain alias":"Lägg till nytt domän alias","Domain alias deleted":"Domänalias raderat","Domain alias created":"Domän alias skapat","Domain alias updated":"Domänalias uppdaterat","New domain":"Ny domän","Copy to clipboard":"Kopiera till urklipp","General":"Allmän","DNS":"DNS","Limitations":"Gränser","Options":"Alternativ","Transport":"Transport","Type":"Typ","Enable DNS checks":"Aktivera DNS kontroller","Enable DKIM signing":"Aktivera DKIM signering","Quota":"Kvota","Default mailbox quota":"Standard brevlådekvota","Message sending limit":"Begränsning för meddelandesändning","DKIM key selector":"DKIM nyckel väljare","DKIM key length":"DKIM nyckellängd","Service":"Tjänst","Create a domain administrator":"Skapa en domänadministratör","Administrator name":"Administratörs namn","Random password":"Slumpmässigt lösenord","With mailbox":"Med brevlåda","Create aliases":"Skapa alias","Password copied to clipboard":"Lösenord kopierat till urklipp","Domain created":"Domän skapad","DKIM public key for":"DKIM publik nyckel för","Raw format. Click to copy":"Råformat. Klicka för att kopiera","Bind/named format. Click to copy":"Bind/named formatterat. Klicka för att kopiera","DNS configuration for ":"DNS-konfiguration för","Here is an example of DNS configuration (bind format). Replace values between [ ] by the appropriate ones.":"Här är ett exempel på DNS-konfiguration (bind-format). Ersätt värdena mellan [ ] med de lämpliga värdena.","Name: ":"Namn:","Type: ":"Typ: ","DNS checks":"DNS kontroller","DKIM signing":"DKIM signering","Quota: ":"Kvota:","Sending limit: ":"Sändningsgräns:","No sending limit":"Ingen sändningsbegränsning","Service: ":"Service:","Resources":"Resurser","Relay":"Relä","Unlimited":"Obegränsat","Do not delete domain folder":"Ta inte bort domänmappen","Aliases":"Alias","DNS status":"DNS status","Sending limit":"Sändningsgräns","Do you really want to delete the domain %{ domain }?":"Vill du verkligen ta bort domänen %{ domain }?","Domain deleted":"Domän raderad","Edit":"Redigera","Alarms":"Larm","Apply":"Tillämpa","General information":"Allmänn information","Creation date":"Datum skapad","Last modification date":"Senaste ändrad datum","MB":"MB","Daily sending limit":"Daglig sändningsgräns","messages":"meddelanden","Mailboxes":"Brevlådor","Domain name (ex: domain.tld)":"Domännamn (ex: domain.tld)","Control if this domain will be allowed to send and receive messages":"Kontrollera om den här domänen ska tillåtas skicka och ta emot meddelanden","Quota shared between mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Kvot delad mellan brevlådor. Kan anges i KB, MB (standard) eller GB. Ett värde av 0 innebär ingen kvot.","Default quota applied to mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Standardkvot tillämpas på postlådor. Kan uttryckas i KB, MB (standard) eller GB. Ett värde på 0 betyder ingen kvot.","Number of messages this domain can send per day. Leave empty for no limit.":"Antal meddelanden som denna domän kan skicka per dag. Lämna tomt för ingen begränsning.","Name of the administrator":"Namn på administratören","With a mailbox":"Med en brevlåda","Create a mailbox for the administrator.":"Skapa en brevlåda för administratören.","Create standard aliases for the domain.":"Skapa standardalias för domänen.","New account":"Nytt konto","Role":"Roll","Identification":"Identifikation","Email":"E-post","Domain default value":"Domän standardvärde","Send only account":"Skicka endast konto","Account":"Konto","Username:":"Användarnamn:","Profile":"Profil","domain's default value":"domänens standardvärde","Send only":"Skicka endast","Alias":"Alias","Number of associated alias:":"Antal associerade alias:","Number of allowed mailboxes:":"Antal tillåtna brevlådor:","Number of allowed mailbox aliases:":"Antal tillåtna postlådealias:","Sender addresses":"Avsändaradresser","No sender address defined for this account":"Inge avsändaradress agedd för detta konto","Specify an email address":"Ange en e-postadress","Remove this address":"Radera denna adress","Add sender address":"Lägg till avsändaradress","Sender address added":"Avsändaradress tillagd","Sender address deleted":"Avsändaradress raderad","Last login date":"Senaste inloggning","Never logged-in":"Aldrig inloggad","Full name":"Komplett namn","New alias":"Nytt alias","Random address":"Slumpmässig adress","Expire at":"Utgår kl","Description":"Beskrivning","Recipients":"Mottagare","Alias already exists, redirecting to edit page":"Aliaset finns redan, omdirigerar till redigeringssidan","Modified":"Ändrad","Administered domains":"Administrerade domäner","No domain managed":"Ingen domän hanterad","Add/Remove from the domain page":"Lägg till/ta bort från domänsidan","Start typing a name here...":"Börja skriva ett namn här...","Alias(es) of this mailbox. To create a catchall alias, just enter the domain name (@domain.tld).":"Alias för denna brevlåda. För att skapa ett catchall-alias anger du bara domännamnet (@domain.tld).","Alias already added":"Alias har redan lagts till","Enter an email address":"Ange en e-postadress","Enter a simple username or an email address":"Ange ett enkelt användarnamn eller en e-postadress","Ex: 10MB. Leave empty for no limit":"Ex: 10MB. Lämna tomt för ingen gräns","Quota for this mailbox, can be expressed in KB, MB (default) or GB. Define a custom value or use domain's default one. Leave empty to define an unlimited value (not allowed for domain administrators).":"Kvot för denna brevlåda, kan anges i KB, MB (standard) eller GB. Ange ett anpassat värde eller använd domänens standardvärde. Lämna tomt för att ange ett obegränsat värde (inte tillåtet för domänadministratörer).","Daily message sending limit":"Daglig sändningsgräns för meddelanden","Leave empty for no limit":"Lämna tomt för ingen gräns","Number of messages this mailbox can send per day. Leave empty for no limit.":"Antal meddelanden som denna brevlåda kan skicka per dag. Lämna tomt för ingen begränsning.","Use domain default value":"Använd domänens standardvärde","unlimited":"obegränsat","Current password":"Nuvarande lösenord","Confirmation":"Bekräftelse","Password mismatch":"Lösenordet matchar inte","Choose a role":"Välj en roll","Simple user":"Enkel användare","A user with no privileges but with a mailbox. He will be allowed to use all end-user features: webmail, calendar, contacts, filters.":"Användare utan privilegier men som har en en brevlåda. Den kommer att kunna använda alla slutanvändarfunktioner: webbmail, kalender, kontakter, filter.","Domain administrator":"Domänadministratör","A user with privileges on one or more domain. He will be allowed to administer mailboxes and he can also have a mailbox.":"Användare med rättigheter på en eller flera domäner. Den kan administrera brevlådor och han kan även ha en brevlåda.","Reseller":"Återförsäljare","Super administrator":"Superadministratör","A user with all privileges, can do anything. By default, such a user does not have a mailbox so he can't access end-user features.":"Användare med alla rättigheter som kan göra allt. Som standard har en sån här användare ingen brevlåda så den kan inte komma åt slutanvändarfunktioner.","Email address":"E-postadress","Generated address":"Genererad adress","Please add at least one recipient.":"Lägg till minst en mottagare.","Do not delete account folder":"Ta inte bort kontomappen","Are you sure you want to delete this identity ?":"Är du säker på att du vill ta bort den här identiteten?","Are you sure you want to delete this alias?":"Är du säker på att du vill ta bort detta alias?","Name of the domain to migrate":"Namn på domänen att migrera","Local domain (optional)":"Lokal domän (valfritt)§","You need to bind at least one domain to the provider.":"Du måste binda minst en domän till leverantören.","Provider name":"Leverantörsnamn","Address (hostname or IP)":"Adress (värdnamn eller IP)","IMAP Port":"IMAP port","Secured":"Säkrad","Is the IMAP connection secured using SSL/TLS or StartTLS":"Är IMAP-anslutningen säker med SSL/TLS eller StartTLS","Check connection:":"Kontrollera anslutning:","Provider":"Leverantör","Old account":"Gammalt konto","Migration deleted":"Migrering raderad","New provider":"Ny leverantör","(the domain will be created locally)":"(domänen kommer att skapas lokalt)","Associated domain":"Associerad domän","Port":"Port","Associated domains":"Associerade domäner","Provider created":"Leverantör skapad","Name:":"Namn:","Number of associated domains:":"Antal associerade domäner:","No associated domains":"Inga associerade domäner","Provider updated":"Leverantör uppdaterad","Date":"Datum","Level":"Nivå","Logger":"Logger","Queue ID":"Kö ID","To":"Till","Calendar sharing":"Kalenderdelning","Full address":"Fullständig adress","Read":"Läs","Write":"Skriv","Calendar information":"Kalenderinformation","To access this calendar from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"För att komma åt den här kalendern från utsidan (som Mozilla Thunderbird eller din smartphone), använd följande URL:","The credentials are the same than the ones you use to access Modoboa.":"Inloggningsuppgifterna är desamma som de du använder för att komma åt Modoboa.","You can also share a read-only version of this calendar using the following URL: ":"Du kan också dela en skrivskyddad version av den här kalendern med följande URL:","Edit calendar":"Redigera kalender","New calendar":"Ny kalender","Color":"Färg","Calendar updated":"Kalender uppdaterad","Calendar created":"Kalender skapad","Title":"Titel","Calendar":"Kalender","Attendees":"Deltagare","Edit event":"Redigera händelse","New event":"Ny händelse","Event added":"Event added","Event updated":"Händelse uppdaterad","Import events":"Importera händelser","Select an ICS file to import and click on the Send button":"Välj en ICS-fil att importera och klicka på knappen Skicka","Select an ICS file":"Välj en ICS-fil","Send":"Skicka","%{ n } event imported":["%{ n } händelse importerad","%{ n } händelser importerade"],"Address book information":"Adressboksinformation","To access this address book from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"För att komma åt den här adressboken från utsidan (som Mozilla Thunderbird eller din smartphone), använd följande URL:","Edit category":"Redigera kategori","Add category":"Lägg till kategori","Category deleted":"Kategori raderad","Categories":"Kategorier","Display name":"Display name","Company":"Företag","Position":"Plats","Birth date":"Födelsedatum","Zip code":"Postnummer","City":"Stad","Country":"Land","State/Province":"Stat/Provins","Note":"Anteckning","More":"Mer","Less":"Mindre","Edit contact":"Redigera kontakt","New contact":"Ny kontakt","Display address book information":"Visa adressboksinformation","Synchronize contacts with address book":"Synkronisera kontakter med adressboken","E-mail":"E-post","Phone":"Telefon","Synchronization started":"Synkronisering startade","Search in messages":"Sök i meddelanden","Logout":"Logga ut","OK":"OK","Summary":"Sammanfattning","Back":"Tillbaka","Next":"Nästa","Confirm and create":"Bekräfta och skapa","If you close this form now, your modifications won't be saved. Do you confirm?":"Om du stänger formuläret nu kommer dina ändringar inte att sparas. Bekräftar du?","Modify":"Ändra","Empty":"Tom","Provide a CSV file where lines respect one of the following formats:":"Ange en CSV-fil där raderna respekterar ett av följande format:","The first element of each line is mandatory and must be equal to one of the previous values.":"Det första elementet i varje rad är obligatoriskt och måste vara lika med ett av de tidigare värdena.","You can use a different character as separator.":"Du kan använda ett annat tecken som avgränsare.","Select file":"Välj fil","Separator":"Avgränsare","Continue on error":"Fortsätt vid fel","Don't treat duplicated objects as errors":"Behandla inte duplicerade objekt som fel","Import":"Importera","Parameters updated":"Parametrar uppdaterade","Could not save parameters":"Kunde inte spara parametrar","Resources usage":"Resursanvändning","Period":"Period","Absolute time range":"Absolut tidsintervall","Relative time ranges":"Relativa tidsintervall","Day":"Dag","Week":"Vecka","Month":"Månad","Year":"År","yes":"ja","no":"nej","Attachments":"Bilagor","Attach":"Bifoga","Provide one or more addresses":"Ange en eller flera adresser","Cc":"Cc","Bcc":"Bcc","Email sent":"E-post skickat","Add to contacts":"Lägg till i kontakter","Update contact":"Uppdatera kontakt","Contact added to address book":"Kontakt har lagts till i adressboken","Mark as read":"Markera som läst","Mark as unread":"Markera som oläst","Mark as followed":"Markera enligt följande","Mark as unfollowed":"Markera som ej följt","Empty mailbox":"Tom brevlåda","on":"på","No message yet in this mailbox":"Inget meddelande ännu i denna brevlåda","Message(s) deleted":"Meddelande(n) raderade","Message(s) marked as junk":"Meddelande(n) markerade som skräp","Message(s) marked as not junk":"Meddelande(n) markerade som inte skräp","Message(s) flagged":"Meddelande(n) flaggade","Parent mailbox":"Förälders brevlåda","Create new mailbox":"Skapa ny brevlåda","Edit mailbox":"Redigera brevlåda","Mailbox renamed":"Brevlåda omdöpt","Mailbox created":"Brevlåda skapad","Settings":"Inställningar","Filters":"Filter","Dashboard":"Instrumentbräda","Domains":"Domäner","Identities":"Identiteter","Monitoring":"Monitoring","Audit trail":"Verifieringskedja","Messages":"Meddelanden","IMAP Migration":"IMAP migrering","Email providers":"E-postleverantörer","Migrations":"Migreringar","Information":"Information","Compose":"Författa","Create a new mailbox":"Skapa en ny brevlåda","Edit this mailbox":"Redigera den här brevlådan","Delete this mailbox":"Ta bort den här brevlådan","Compress this mailbox":"Komprimera denna brevlåda","Mailbox compressed":"Brevlåda komprimerad","Delete this mailbox?":"Ta bort den här brevlådan?","Mailbox deleted":"Brevlåda raderad","No data to export":"Ingen data att exportera","CSV seems to be badly formatted":"CSV verkar vara dåligt formaterad","Not a valid email":"Inte ett giltigt mejl","Field is required":"Fält är obligatoriskt","Minimum length is %{ length }":"Minsta längd är %{ length }","Must be a numeric value or empty":"Måste vara ett numeriskt värde eller tomt","Passwords mismatch":"Lösenord matchar ej","Invalid port number":"Ogiltigt portnummer","Provider deleted":"Leverantör raderad","Message filters":"Meddelandefilter","Select a filter set":"Välj ett filterset","Add filter set":"Lägg till filteruppsättning","Raw mode":"Råläge","Add new filter":"Lägg till nytt filter","New":"Ny","Failed to display template. Using raw mode":"Det gick inte att visa mallen. Använder råläge","Filter enabled":"Filter aktiverat","Filter disabled":"Filter inaktiverat","Filter removed":"Filter borttaget","Filter set activated":"Filterset aktiverat","Filter set removed":"Filterset har tagits bort","Filter set updated":"Filteruppsättningen uppdaterad","Disable":"Inaktivera","Enable":"Aktivera","Move down":"Flytta ner","Move up":"Flytta upp","Download filter set":"Ladda ner filteruppsättning","Delete filter set":"Ta bort filteruppsättning","Activate filter set":"Aktivera filteruppsättning","Account settings":"Kontoinställningar","Two-factor auth":"Tvåfaktorsautentisering","Forward":"Vidarebefordra","Auto-reply message":"Automatiskt svarsmeddelande","API access":"API åtkomst","Opened alarms":"Öppnade alarm","Edit domain":"Redigera domän","Import domains and aliases from CSV file":"Importera domäner och alias från CSV-fil","Export domains and aliases to CSV":"Exportera domäner och alias till CSV","Import domains":"Importera domäner","DMARC":"DMARC","Edit account":"Redigera konto","Edit alias":"Redigera alias","Import accounts and aliases from CSV file":"Importera konton och alias från CSV-fil","Export accounts and aliases to CSV":"Exportera konton och alias till CSV","Import identities":"Importera identiteter","Crypt passwords":"Kryptera lösenord","Check this option if passwords contained in your file are not crypted":"Markera det här alternativet om lösenorden i din fil inte är krypterade","Edit provider":"Redigera leverantör","Providers":"Leverantörer","Important messages":"Viktiga meddelanden","The password scheme you are using has been deprecated and will be removed in the next minor version. The procedure to upgrade to a stronger scheme is as follows:":"Lösenordsschemat du använder har föråldrats och kommer att tas bort i nästa mindre version. Proceduren för att uppgradera till ett starkare system är som följer:","Go to <strong>Settings > General</strong> section":"Gå till avsnittet <strong>Inställningar > Allmänt</strong>","Change the value of <strong>Default password scheme</strong>":"Ändra värdet på <strong>Standard lösenordsschema</strong>","Make sure <strong>Update password scheme at login</strong> option is enabled":"Se till att alternativet <strong>Uppdatera lösenordsschema vid inloggning</strong> är aktiverat","Save your changes":"Spara dina ändringar","Logout / Login with your current account so its password gets updated":"Logga ut / Logga in med ditt nuvarande konto så att lösenordet uppdateras","Inform <strong>ALL</strong> your users that they must login to Modoboa to complete the operation":"Informera <strong>ALLA</strong> dina användare att de måste logga in på Modoboa för att slutföra operationen","You must apply this procedure <strong>BEFORE</strong> you install a newest version of Modoboa, otherwise <strong>you will be unable to connect to the web interface anymore</strong>.":"Du måste tillämpa denna procedur <strong>INNAN</strong> du installerar en senaste version av Modoboa, annars <strong> kommer du inte att kunna ansluta till webbgränssnittet längre</strong>.","Please note that you will see this message until <strong>ALL</strong> user passwords have been converted using the new scheme.":"Observera att du kommer att se detta meddelande tills <strong>ALLA</strong> användarlösenord har konverterats med det nya schemat.","Installed components":"Installerade komponenter","One or more updates are available":"En eller flera uppdateringar tillgängliga","Check out the following list to find related components":"Kolla in följande lista för att hitta relaterade komponenter","Installed version":"Installerad version","Latest version":"Senaste version","Message history":"Meddelande historik","My calendars":"Mina kalendrar","Access rules":"Åtkomstregler","Do you really want to delete this calendar?":"Vill du verkligen ta bort den här kalendern?","Calendar deleted":"Kalender raderad","Contacts":"Kontakter","Add a category":"Lägg till en kategori","Welcome to Modoboa":"Välkommen till Modoboa","Attempting to log you in.":"Försöker logga in dig.","Message deleted":"Meddelandet raderat","Reply":"Svara","Reply all":"Svara alla","Enable links":"Aktivera länkar","Disable links":"Inaktivera länkar","Display source":"Visa källa","Message marked as junk":"Meddelande markerat som skräp","Message marked as not junk":"Meddelandet markerat som inte skräp","Webmail":"Webmail"}`),U1=JSON.parse(`{"Your API token has not been generated yet.":"Seu token de API ainda não foi gerado.","Generate":"Gerar","Your API token is:":"Seu token de API é:","Copy token to clipboard":"Copiar token para a área de transferência","Delete token":"Remover token","A documentation of the API is available":"Uma documentação da API está disponível","here":"aqui","API token copied to your clipboard":"Token da API copiado para sua área de transferência","API token created":"Token de API criado","Warning":"Atenção","You are about to delete your API access token":"Você está prestes a excluir seu token de acesso à API","Cancel":"Cancelar","Proceed":"Proceder","API token deleted":"Token de API removido","Enabled":"Habilitado","Subject":"Assunto","Content":"Conteúdo","The content of your answer. You can use the following variables, which will be automatically replaced by the appropriate value: %(name)s, %(fromdate)s, %(untildate)s":"O conteúdo da sua resposta. Você pode usar as seguintes variáveis, que serão substituídas automaticamente pelo valor apropriado: %(name)s, %(fromdate)s %(untildate)s","From":"De","Activate your auto reply from this date":"Ative sua resposta automática a partir desta data","Until":"Até","Activate your auto reply until this date":"Ative sua resposta automática até esta data","Update auto-reply":"Atualizar resposta automática","Auto-reply message updated":"Mensagem de resposta automática atualizada","Backup codes":"Códigos de backup","You already have generated backup codes for this account. If you don't remember them or have used them all, you can generate new ones.":"Você já gerou códigos de backup para esta conta. Se você não se lembra deles ou já usou todos eles, pode gerar novos.","Password":"Senha","Reset recovery codes":"Redefinir códigos de recuperação","No two-factor authentificator is yet set for your account.":"Ainda não existe nenhum autenticador de dois fatores definido para sua conta.","WebAuthn":"WebAuthn","You don't have any WebAuthN device registered as a second authentication method.":"Você não tem nenhum dispositivo WebAuthN registrado como um segundo método de autenticação.","Registered Webauthn devices":"Dispositivos Webauthn registrados","Never":"Nunca","Enter a name to register a new webauthn device.":"Digite um nome para registrar um novo dispositivo webauthn.","New device name":"Novo nome de dispositivo","Setup device":"Configurar dispositivo","Your browser does not seem compatible with WebAuthN":"Seu navegador não parece compatível com WebAuthN","name":"nome","Name":"Nome","Added On":"Adicionado Em","Last Used":"Último Uso","Use count":"Usar contagem","Actions":"Ações","Do you really want to delete this WebAuthn device?":"Você tem certeza que deseja remover este dispositivo WebAuthn?","No":"Não","Yes":"Sim","Edition":"Edição","Edit your device":"Editar seu dispositivo","Save":"Salvar","Conditions":"Condições","All of the following":"Todas os seguintes","Any of the following":"Uma dos seguintes","All messages":"Todas as mensagens","Choose a header":"Escolha um cabeçalho","Choose an operator":"Escolha um operador","Value":"Valor","Add condition":"Adicionar condição","Remove condition":"Remover condição","Choose an action":"Escolha uma ação","Add action":"Adicionar ação","Remove action":"Remover ação","Edit filter":"Editar filtro","New filter":"Novo filtro","Update":"Atualizar","Create":"Criar","Filter added":"Filtro adicionado","Filter updated":"Filtro atualizado","Create a new filter set":"Criar um novo conjunto de filtros","Active":"Ativo","Filter set created":"Conjunto de filtros criado","Recipient(s)":"Destinatário(s)","Indicate one or more recipients separated by a comma (,)":"Indique um ou mais destinatários separados por vírgula (,)","Keep local copies":"Manter cópias locais","Forward messages and store copies into your local mailbox":"Encaminhar mensagens e armazenar cópias em sua caixa de e-mail local","Forward updated":"Encaminhamento atualizado","General settings":"Configurações gerais","First name":"Nome","Last name":"Sobrenome","Language":"idioma ","Feel free to improve the translations":"Sinta-se livre para melhorar as traduções","or suggest a new language":"ou sugira um novo idioma","there":"ali","Phone number":"Número de telefone","Secondary email":"E-mail secundário","Update settings":"Atualizar configurações","Update Password":"Atualizar Senha","Profile updated":"Perfil atualizado","Language does no exist":"Idioma não existe","Password updated":"Senha atualizada","New recovery codes":"Novos códigos de recuperação","The following recovery codes can be used one time each to let you regain access to your account, in case you lose your phone for example. Make sure to save them in a safe place, otherwise you won't be able to access your account anymore.":"Os seguintes códigos de recuperação podem ser usados uma vez cada para permitir que você recupere o acesso à sua conta, caso perca seu telefone, por exemplo. Certifique-se de salvá-los em um local seguro, caso contrário, você não poderá mais acessar sua conta.","Close":"Fechar","One-time passwords":"Senhas de uso único","Click here to copy the key":"Clique aqui para copiar a chave","Install a soft token authenticator like FreeOTP or Google Authenticator from your application repository and use that app to scan this QR code.":"Instale um autenticador de token de software como FreeOTP ou Google Authenticator do repositório de aplicativos e use esse aplicativo para escanear esse QR code.","Pin code":"Código PIN","Register":"Registrar","Congratulations! Two-factor authentication using one-time passwords is now enabled for your account.":"Parabéns! A autenticação de dois fatores usando senhas de uso único agora está habilitada para sua conta.","Two-factor authentication using one-time passwords is enabled for your account.":"A autenticação de dois fatores usando senhas de uso único está habilitada para sua conta.","Disable 2FA":"Desabilitar 2FA","Two-factor authentication (2FA) using one-time passwords is not yet activated for your account.":"A autenticação de dois fatores (2FA) usando senhas de uso único ainda não está ativada para sua conta.","Register authenticator":"Autenticador de registro","Search":"Busca","Opened":"Aberto","Closed":"Fechado","Triggered":"Provocado","Status":"Status","Domain":"Domínio","Mailbox":"Caixa de e-mail","Message":"Mensagem","Delete":"Remover","Reload":"Recarregar","Close alarm":"Fechar alarme","Reopen alarm":"Reabrir alarme","Alarm deleted":"Alarme removido","Alarms deleted":"Alarmes removidos","Alarm closed":"Alarme fechado","Alarm re-opened":"Alarme reaberto","Statistics":"Estatísticas","Alignment":"Alinhamento","Detail":"Detalhe","Trusted sources":"Fontes confiáveis","Partially trusted sources / Forwarders":"Fontes / encaminhadores parcialmente confiáveis","Forwarders with ARC":"Forwarders com ARC","Unknown sources / Threats":"Fontes desconhecidas / Ameaças","DMARC support does not seem to be enabled for this domain.":"Aparentemente o suporte para DMARC não está habilitado para este domínio.","If you configured it recently, please wait for the first report to be received and processed.":"Se você o configurou recentemente, aguarde o primeiro relatório ser recebido e processado.","Fully aligned":"Completamente alinhado","Partially aligned":"Parcialmente alinhado","Forwarded":"Encaminhado","Failed":"Falhou","Total":"Total","DNS configuration help":"Ajuda para configuração de DNS","Pending":"Pendente","Auto configuration":"Auto configuração","autoconfig record (Mozilla): %{ value }":"registro de configuração automática (Mozilla): %{ value }","autoconfig record (Mozilla) not found":"registro de configuração automática (Mozilla) não encontrado.","autodiscover record (Microsoft): %{ value }":"registro de descoberta automática (Microsoft): %{ value }","autodiscover record (Microsoft) not found":"registro de descoberta automática (Microsoft) não encontrado.","Authentication":"Autenticação","SPF record found":"Registro SPF encontrado","SPF record not found":"Registro SPF não encontrado","DKIM record found":"Registro DKIM encontrado","DKIM record not found":"Registro DKIM não encontrado","DMARC record found":"Registro DMARC encontrado","DMARC record not found":"Registro DMARC não encontrado","DKIM key":"Chave DKIM","Show key":"Mostrar chave","Copy key to clipboard":"Copiar chave para a área de transferência","Generate a new DKIM key":"Gerar uma nova chave DKIM","Not generated":"Não gerado","Address":"Endereço","Updated":"Atualizado","DKIM key copied to clipboard":"Chave DKIM copiada para a área de transferência","A new key will be generated soon. Refresh the page in a moment to see it.":"Uma nova chave será gerada em breve. Atualize a página logo mais para vê-la.","warning":"atenção","DKIM key does not seem to be generated yet or has failed. Do you want to requeue the job?":"A chave DKIM parece não ter sido gerada ainda ou falhou. Deseja recolocar o trabalho na fila?","DKIM keys already exist for this domain. Do you want to overwrite them?":"Já existem chaves DKIM para este domínio. Deseja sobrescrevê-las?","Disabled":"Desabilitado","Problem":"Problema","Valid":"Válido","Unknown":"Desconhecido","Administrators of":"Administradores de","Administrators":"Administradores","Select an account":"Selecione uma conta","Remove this administrator":"Remover este administrador","Add administrator":"Adicionar administrador","Username":"Nome de usuário","Administrator added":"Administrador adicionado","Administrator removed":"Administrador removido","Choose a domain":"Escolha um domínio","Add":"Adicionar","Edit domain alias":"Editar apelido de domínio","Add a new domain alias":"Adicionar um novo apelido de domínio","Domain alias deleted":"Apelido de domínio removido","Domain alias created":"Apelido de domínio criado","Domain alias updated":"Apelido de domínio atualizado","New domain":"Novo domínio","Copy to clipboard":"Copiar para área de transferência","General":"Geral","DNS":"DNS","Limitations":"Limitações","Options":"Opções","Transport":"Transporte","Type":"Tipo","Enable DNS checks":"Habilitar verificações de DNS","Enable DKIM signing":"Habilitar assinatura DKIM","Quota":"Cota","Default mailbox quota":"Cota padrão da caixa de correio","Message sending limit":"Limite de envio de mensagens","DKIM key selector":"Seletor da chave DKIM","DKIM key length":"Comprimento da chave DKIM","Service":"Serviço","Create a domain administrator":"Criar um administrador de domínio","Administrator name":"Nome do administrador","Random password":"Senha randômica","With mailbox":"Com caixa de correio","Create aliases":"Criar apelidos","Password copied to clipboard":"Senha copiada para a área de transferência","Domain created":"Domínio criado","DKIM public key for":"Chave pública DKIM para","Raw format. Click to copy":"Formato bruto. Clique para copiar","Bind/named format. Click to copy":"Formato de associação/nomeado. Clique para copiar","DNS configuration for ":"Configuração de DNS para ","Here is an example of DNS configuration (bind format). Replace values between [ ] by the appropriate ones.":"Aqui está um exemplo de configuração de DNS (formato bind). Substitua os valores entre [ ] pelos apropriados.","Name: ":"Nome: ","Type: ":"Tipo: ","DNS checks":"Verificações de DNS","DKIM signing":"Assinatura DKIM","Quota: ":"Cota: ","Sending limit: ":"Limite de envio: ","No sending limit":"Sem limite de envio","Service: ":"Serviço: ","Resources":"Recursos","Relay":"Relay","Unlimited":"Ilimitado","Do not delete domain folder":"Não remover pasta do domínio","Aliases":"Apelidos","DNS status":"Status do DNS","Sending limit":"Limite de envio","Do you really want to delete the domain %{ domain }?":"Você tem certeza que deseja remover o domínio %{ domain }?","Domain deleted":"Domínio removido","Edit":"Editar","Alarms":"Alarmes","Apply":"Aplicar","General information":"Informação geral","Creation date":"Data de criação","Last modification date":"Data da última modificação","MB":"MB","Daily sending limit":"Limite diário de envio","messages":"mensagens","Mailboxes":"Caixas de e-mail","Domain name (ex: domain.tld)":"Nome do domínio (ex: domain.tld)","Control if this domain will be allowed to send and receive messages":"Controle se este domínio terá permissão para enviar e receber mensagens","Quota shared between mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Cota compartilhada entre caixas de correio. Pode ser expresso em KB, MB (padrão) ou GB. Um valor 0 significa que não há cota.","Default quota applied to mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Cota padrão aplicada para caixas de correio. Pode ser expresso em KB, MB (padrão) ou GB. Um valor 0 significa que não há cota.","Number of messages this domain can send per day. Leave empty for no limit.":"Número de mensagens que este domínio pode enviar por dia. Deixe vazio para ilimitado.","Name of the administrator":"Nome do administador","With a mailbox":"Com uma caixa de e-mail","Create a mailbox for the administrator.":"Criar uma caixa de e-mail para o administrador.","Create standard aliases for the domain.":"Criar apelidos padrão para este domínio.","New account":"Nova conta","Role":"Papel","Identification":"Identificação","Email":"E-mail","Domain default value":"Valor padrão do domínio","Send only account":"Apenas enviar conta","Account":"Conta","Username:":"Nome de usuário:","Profile":"Perfil","domain's default value":"Valor padrão do domínio ","Send only":"Apenas enviar","Alias":"Apelido","Number of associated alias:":"Número de apelidos associados:","Number of allowed mailboxes:":"Número de caixas de correio permitidas:","Number of allowed mailbox aliases:":"Número de apelidos de caixa de correio permitidos:","Sender addresses":"Endereços do remetente","No sender address defined for this account":"Nenhum endereço de remetente definido para esta conta","Specify an email address":"Especifique um endereço de e-mail","Remove this address":"Remover este endereço","Add sender address":"Adicionar endereço do remetente","Sender address added":"Endereço do remetente adicionado","Sender address deleted":"Endereço do remetente excluído","Last login date":"Data do último login","Never logged-in":"Nunca autenticado","Full name":"Nome completo","New alias":"Novo apelido","Random address":"Endereço aleatório","Expire at":"Expira em","Description":"Descrição","Recipients":"Destinatários","Alias already exists, redirecting to edit page":"Apelido já existe, redirecionando para a página de edição","Modified":"Modificado","Administered domains":"Domínios administrados","No domain managed":"Nenhum domínio gerenciado","Add/Remove from the domain page":"Adicionar/Remover da página do domínio","Start typing a name here...":"Comece a digitar um nome aqui...","Alias(es) of this mailbox. To create a catchall alias, just enter the domain name (@domain.tld).":"Apelido(s) desta caixa de correio. Para criar um apelido catchall, basta digitar o nome de domínio (@domain.tld).","Alias already added":"Apelido já adicionado","Enter an email address":"Digite seu endereço de e-mail","Enter a simple username or an email address":"Digite um simples nome de usuário ou um endereço de e-mail","Ex: 10MB. Leave empty for no limit":"Ex: 10 MB. Deixe vazio para ilimitado","Quota for this mailbox, can be expressed in KB, MB (default) or GB. Define a custom value or use domain's default one. Leave empty to define an unlimited value (not allowed for domain administrators).":"A cota para essa caixa de correio pode ser expressa em KB, MB (padrão) ou GB. Defina um valor personalizado ou use o padrão do domínio. Deixe em branco para definir um valor ilimitado (não permitido para administradores de domínio).","Daily message sending limit":"Limite diário de envio de mensagens","Leave empty for no limit":"Deixe em branco para ilimitado","Number of messages this mailbox can send per day. Leave empty for no limit.":"Número de mensagens que esta caixa de correio pode enviar por dia. Deixe vazio para ilimitado.","Use domain default value":"Usar valor padrão de domínio","unlimited":"ilimitado","Current password":"Senha atual","Confirmation":"Confirmação","Password mismatch":"Senha não confere","Choose a role":"Escolha um papel","Simple user":"Usuário simples","A user with no privileges but with a mailbox. He will be allowed to use all end-user features: webmail, calendar, contacts, filters.":"Um usuário sem privilégios, mas com uma caixa de correio. Ele terá permissão para usar todos os recursos do usuário final: webmail, calendário, contatos, filtros.","Domain administrator":"Administrador do domínio","A user with privileges on one or more domain. He will be allowed to administer mailboxes and he can also have a mailbox.":"Um usuário com privilégios em um ou mais domínios. Ele terá permissão para administrar caixas de correio e também poderá ter uma caixa de correio.","Reseller":"Revendedor","Super administrator":"Super administrador","A user with all privileges, can do anything. By default, such a user does not have a mailbox so he can't access end-user features.":"Um usuário com todos os privilégios pode fazer qualquer coisa. Por padrão, esse usuário não tem uma caixa de correio, portanto, não pode acessar os recursos do usuário final.","Email address":"Endereço de e-mail","Generated address":"Endereço gerado","Please add at least one recipient.":"Por favor, adicione pelo menos um destinatário.","Do not delete account folder":"Não remover pasta da conta","Are you sure you want to delete this identity ?":"Você tem certeza que deseja remover esta identidade ?","Are you sure you want to delete this alias?":"Você tem certeza que deseja remover este apelido?","Name of the domain to migrate":"Nome do domínio para migrar","Local domain (optional)":"Domínio local (opcional)","You need to bind at least one domain to the provider.":"Você precisa associar pelo menos um domínio ao provedor.","Provider name":"Nome do provedor","Address (hostname or IP)":"Endereço (hostname ou IP)","IMAP Port":"Porta IMAP","Secured":"Seguro","Is the IMAP connection secured using SSL/TLS or StartTLS":"A conexão IMAP é protegida usando SSL/TLS ou StartTLS","Check connection:":"Verificar conexão:","Provider":"Provedor","Old account":"Conta antiga","Migration deleted":"Migração removida","New provider":"Novo provedor","(the domain will be created locally)":"(o domínio será criado localmente)","Associated domain":"Domínio associado","Port":"Porta","Associated domains":"Domínios associados","Provider created":"Provedor criado","Name:":"Nome:","Number of associated domains:":"Número de domínios associados:","No associated domains":"Nenhum domínios associados","Provider updated":"Provedor atualizado","Date":"Data","Level":"Nível","Logger":"Registrador","Queue ID":"ID da fila","To":"Para","Calendar sharing":"Compartilhamento de calendário","Full address":"Endereço completo","Read":"Leitura","Write":"Escrita","Calendar information":"Informação do calendário","To access this calendar from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Para acessar esta calendário externamente (como do Mozilla Thunderbird ou de seu celular), use a seguinte URL:","The credentials are the same than the ones you use to access Modoboa.":"As credenciais são as mesmas que você usa para acessar o Modoboa.","You can also share a read-only version of this calendar using the following URL: ":"Você também pode compartilhar uma versão \\"Somente leitura\\" deste calendário usando a seguinte URL:","Edit calendar":"Editar calendário","New calendar":"Novo calendário","Color":"Cor","Calendar updated":"Calendário atualizado","Calendar created":"Calendário criado","Title":"Título","Calendar":"Calendário","Attendees":"Participantes","Edit event":"Editar evento","New event":"Novo evento","Event added":"Evento adicionado","Event updated":"Evento atualizado","Import events":"Importar eventos","Select an ICS file to import and click on the Send button":"Selecione um arquivo ICS para importar e clique no botão \\"Enviar\\"","Select an ICS file":"Selecione um arquivo ICS","Send":"Enviar","%{ n } event imported":["%{ n } evento importado","%{ n } eventos importados","%{ n } eventos importados"],"Address book information":"Informação do catálogo de endereços","To access this address book from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Para acessar esse catálogo de endereços externamente (como do Mozilla Thunderbird ou de seu celular), use a seguinte URL:","Edit category":"Editar categoria","Add category":"Adicionar categoria","Category deleted":"Categoria excluída","Categories":"Categorias","Display name":"Nome de exibição","Company":"Empresa","Position":"Posição","Birth date":"Data de nascimento","Zip code":"CEP","City":"Cidade","Country":"País","State/Province":"Estado/Província","Note":"Nota","More":"Mais","Less":"Menos","Edit contact":"Editar contato","New contact":"Novo contato","Display address book information":"Exibir informações do catálogo de endereços","Synchronize contacts with address book":"Sincronize seus contatos com o catálogo de endereços","E-mail":"E-mail","Phone":"Telefone","Synchronization started":"Sincronização iniciada","Logout":"Sair","OK":"OK","Summary":"Sumário","Back":"Voltar","Next":"Próximo","Confirm and create":"Confirmar e criar","If you close this form now, your modifications won't be saved. Do you confirm?":"Se você fechar este formulário agora, suas modificações não serão salvas. Você confirma?","Modify":"Modificar","Empty":"Vazio","Provide a CSV file where lines respect one of the following formats:":"Forneça um arquivo CSV em que as linhas respeitem um dos seguintes formatos:","The first element of each line is mandatory and must be equal to one of the previous values.":"O primeiro elemento de cada linha é obrigatório e deve ser igual a um dos valores anteriores.","You can use a different character as separator.":"Você pode usar um caractere diferente como separador.","Select file":"Selecionar arquivo","Separator":"Separador","Continue on error":"Continuar em caso de erro","Don't treat duplicated objects as errors":"Não tratar objetos duplicados como erro","Import":"Importar","Parameters updated":"Parâmetros atualizados","Could not save parameters":"Não é possível salvar os parâmetros","Resources usage":"Uso de recursos","Period":"Período","Absolute time range":"Intervalo de tempo absoluto","Relative time ranges":"Intervalos de tempo relativos","Day":"Dia","Week":"Semana","Month":"Mês","Year":"Ano","yes":"sim","no":"não","Settings":"Configurações","Filters":"Filtros","Dashboard":"Painel","Domains":"Domínios","Identities":"Identidades","Monitoring":"Monitoramento","Audit trail":"Trilha de auditoria","Messages":"Mensagens","IMAP Migration":"Migração IMAP","Email providers":"Provedores de e-mail","Migrations":"MIgrações","Information":"Informação","No data to export":"Nenhum dado para exportar","CSV seems to be badly formatted":"CSV parece estar mal formatado","Not a valid email":"Não é um e-mail válido","Field is required":"Campo obrigatório","Minimum length is %{ length }":"O comprimento mínimo é %{ length }","Must be a numeric value or empty":"Deve ser um valor numérico ou vazio","Passwords mismatch":"Senhas não conferem","Invalid port number":"Número de porta inválido","Provider deleted":"Provedor removido","Message filters":"Filtros de mensagem","Select a filter set":"Selecione um conjunto de filtros","Add filter set":"Adicionar conjunto de filtros","Raw mode":"Modo bruto","Add new filter":"Adicionar novo filtro","New":"Novo","Failed to display template. Using raw mode":"Falha ao exibir o modelo. Usando o modo RAW","Filter enabled":"Filtro habilitado","Filter disabled":"Filtro desabilitado","Filter removed":"Filtro removido","Filter set activated":"Conjuntos de filtros ativado","Filter set removed":"Conjunto de filtros removido","Filter set updated":"Conjunto de filtros atualizado","Disable":"Desabilitar","Enable":"Habilitar","Move down":"Mover para baixo","Move up":"Mover para cima","Download filter set":"Baixar conjunto de filtros","Delete filter set":"Remover conjunto de filtros","Activate filter set":"Ativar conjunto de filtros","Account settings":"Configurações de conta","Two-factor auth":"Autenticação de dois fatores","Forward":"Encaminhar","Auto-reply message":"Mensagem de resposta automática","API access":"Acesso à API","Opened alarms":"Alarmes abertos","Edit domain":"Editar domínio","Import domains and aliases from CSV file":"Importar domínios e apelidos do arquivo CSV","Export domains and aliases to CSV":"Exportar domínios e apelidos para CSV","Import domains":"Importar domínios","DMARC":"DMARC","Edit account":"Editar conta","Edit alias":"Editar apelido","Import accounts and aliases from CSV file":"Importar contas e apelidos do arquivo CSV","Export accounts and aliases to CSV":"Exportar contas e apelidos para CSV","Import identities":"Importar identidades","Crypt passwords":"Criptografar senhas","Check this option if passwords contained in your file are not crypted":"Marque esta opção se as senhas contidas em seu arquivo não estiverem criptografadas","Edit provider":"Editar provedor","Providers":"Provedores","Important messages":"Mensagens importantes","The password scheme you are using has been deprecated and will be removed in the next minor version. The procedure to upgrade to a stronger scheme is as follows:":"O esquema de senha que você está usando foi descontinuado e será removido na próxima atualização. O procedimento para atualizar para um esquema mais forte é o seguinte:","Go to <strong>Settings > General</strong> section":"Vá para a seção <strong>Configurações > Geral</strong>","Change the value of <strong>Default password scheme</strong>":"Alterar o valor do <strong>Esquema de senha padrão</strong>","Make sure <strong>Update password scheme at login</strong> option is enabled":"Certifique-se de que a opção <strong>Atualizar esquema de senha no login</strong> esteja habilitada","Save your changes":"Salve suas alterações","Logout / Login with your current account so its password gets updated":"Saia e entre novamente com sua conta atual para que sua senha seja atualizada","Inform <strong>ALL</strong> your users that they must login to Modoboa to complete the operation":"Informe a <strong>TODOS</strong> os seus usuários que eles devem efetuar login no Modoboa para concluir a operação","You must apply this procedure <strong>BEFORE</strong> you install a newest version of Modoboa, otherwise <strong>you will be unable to connect to the web interface anymore</strong>.":"Você deve aplicar este procedimento <strong>ANTES</strong> de instalar uma versão mais recente do Modoboa, caso contrário <strong>você não conseguirá mais se conectar à interface web</strong>.","Please note that you will see this message until <strong>ALL</strong> user passwords have been converted using the new scheme.":"Observe que você verá esta mensagem até que <strong>TODAS</strong> as senhas dos usuários tenham sido convertidas usando o novo esquema.","Installed components":"Componentes instalados","One or more updates are available":"Uma ou mais atualizações estão disponíveis","Check out the following list to find related components":"Confira a lista a seguir para encontrar componentes relacionados","Installed version":"Versão instalada","Latest version":"Última versão","Message history":"Histórico de mensagens","My calendars":"Meus calendários","Access rules":"Regras de acesso","Do you really want to delete this calendar?":"Tem certeza que deseja excluir esse calendário?","Calendar deleted":"Calendário excluído","Contacts":"Contatos","Add a category":"Adicionar uma categoria","Welcome to Modoboa":"Bem-vindo ao Modoboa","Attempting to log you in.":"Tentando fazer login."}`),X1={From:"Kimden",Password:"Parola","Reset recovery codes":"Kurtarma kodlarını sıfırla",Name:"İsim",No:"Hayır",Yes:"Evet",Save:"Kaydet",Update:"Güncelle","Phone number":"Telefon numarası","Secondary email":"İkincil e-posta","Profile updated":"Profil güncellendi","New recovery codes":"Yeni kurtarma kodları",Close:"Kapat","Pin code":"Pin kodu",Register:"Kayıt ol","Disable 2FA":"2FA'yı devre dışı bırak",Message:"İleti",Authentication:"Kimlik Doğrulama",Unknown:"Bilinmeyen",Username:"Kullanıcı adı",General:"Genel",Role:"Rol",Profile:"Profil",Description:"Tanım",Confirmation:"Onayla","Simple user":"Basit kullanıcı","Domain administrator":"Alan adı Yöneticisi",Reseller:"Bayii",Date:"Tarih",Level:"Seviye",Logger:"Kayıtçı",To:"Kime",Logout:"Çıkış Yapın",Next:"Sonraki",Settings:"Ayarlar",Dashboard:"Gösterge Paneli",Information:"Bilgi","Passwords mismatch":"Parolalar uyuşmuyor","API access":"API erişimi","One or more updates are available":"Bir veya daha fazla güncelleme mevcut","Installed version":"Kurulu sürüm","Welcome to Modoboa":"Modoboa'ya hoş geldiniz"},q1={},G1={},$1={en:D1,br:L1,es:R1,fi:N1,de:O1,el:F1,cs:z1,it:B1,fr:H1,nl:W1,ja:j1,ru:V1,sv:Y1,pt_BR:U1,tr:X1,zh:q1,pl:G1},K1={br:"Breton",cs:"Czech",de:"German",el:"Greek",en:"English",es:"Spain",fi:"Finnish",fr:"French",it:"Italian",ja:"Japanese",nl:"Dutch",pl:"Polish",pt_BR:"Portuguese (BR)",ru:"Russian",sv:"Swedish",tr:"tr",zh:"Chinese"},ja=T1({availableLanguages:K1,defaultLanguage:"en",translations:$1,silent:!0});class ir extends Error{}ir.prototype.name="InvalidTokenError";function Z1(i){return decodeURIComponent(atob(i).replace(/(.)/g,(e,t)=>{let a=t.charCodeAt(0).toString(16).toUpperCase();return a.length<2&&(a="0"+a),"%"+a}))}function J1(i){let e=i.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return Z1(e)}catch{return atob(e)}}function Q1(i,e){if(typeof i!="string")throw new ir("Invalid token specified: must be a string");e||(e={});const t=e.header===!0?0:1,a=i.split(".")[t];if(typeof a!="string")throw new ir(`Invalid token specified: missing part #${t+1}`);let s;try{s=J1(a)}catch(r){throw new ir(`Invalid token specified: invalid base64 for part #${t+1} (${r.message})`)}try{return JSON.parse(s)}catch(r){throw new ir(`Invalid token specified: invalid json for part #${t+1} (${r.message})`)}}var eE={debug:()=>{},info:()=>{},warn:()=>{},error:()=>{}},Mi,Pi,co=(i=>(i[i.NONE=0]="NONE",i[i.ERROR=1]="ERROR",i[i.WARN=2]="WARN",i[i.INFO=3]="INFO",i[i.DEBUG=4]="DEBUG",i))(co||{});(i=>{function e(){Mi=3,Pi=eE}i.reset=e;function t(s){if(!(0<=s&&s<=4))throw new Error("Invalid log level");Mi=s}i.setLevel=t;function a(s){Pi=s}i.setLogger=a})(co||(co={}));var _e=class Ci{constructor(e){this._name=e}debug(...e){Mi>=4&&Pi.debug(Ci._format(this._name,this._method),...e)}info(...e){Mi>=3&&Pi.info(Ci._format(this._name,this._method),...e)}warn(...e){Mi>=2&&Pi.warn(Ci._format(this._name,this._method),...e)}error(...e){Mi>=1&&Pi.error(Ci._format(this._name,this._method),...e)}throw(e){throw this.error(e),e}create(e){const t=Object.create(this);return t._method=e,t.debug("begin"),t}static createStatic(e,t){const a=new Ci(`${e}.${t}`);return a.debug("begin"),a}static _format(e,t){const a=`[${e}]`;return t?`${a} ${t}:`:a}static debug(e,...t){Mi>=4&&Pi.debug(Ci._format(e),...t)}static info(e,...t){Mi>=3&&Pi.info(Ci._format(e),...t)}static warn(e,...t){Mi>=2&&Pi.warn(Ci._format(e),...t)}static error(e,...t){Mi>=1&&Pi.error(Ci._format(e),...t)}};co.reset();var Tr=class{static decode(i){try{return Q1(i)}catch(e){throw _e.error("JwtUtils.decode",e),e}}static async generateSignedJwt(i,e,t){const a=ct.encodeBase64Url(new TextEncoder().encode(JSON.stringify(i))),s=ct.encodeBase64Url(new TextEncoder().encode(JSON.stringify(e))),r=`${a}.${s}`,n=await window.crypto.subtle.sign({name:"ECDSA",hash:{name:"SHA-256"}},t,new TextEncoder().encode(r)),o=ct.encodeBase64Url(new Uint8Array(n));return`${r}.${o}`}static async generateSignedJwtWithHmac(i,e,t){const a=ct.encodeBase64Url(new TextEncoder().encode(JSON.stringify(i))),s=ct.encodeBase64Url(new TextEncoder().encode(JSON.stringify(e))),r=`${a}.${s}`,n=await window.crypto.subtle.sign("HMAC",t,new TextEncoder().encode(r)),o=ct.encodeBase64Url(new Uint8Array(n));return`${r}.${o}`}},tE="10000000-1000-4000-8000-100000000000",zc=i=>btoa([...new Uint8Array(i)].map(e=>String.fromCharCode(e)).join("")),Tb=class li{static _randomWord(){const e=new Uint32Array(1);return crypto.getRandomValues(e),e[0]}static generateUUIDv4(){return tE.replace(/[018]/g,t=>(+t^li._randomWord()&15>>+t/4).toString(16)).replace(/-/g,"")}static generateCodeVerifier(){return li.generateUUIDv4()+li.generateUUIDv4()+li.generateUUIDv4()}static async generateCodeChallenge(e){if(!crypto.subtle)throw new Error("Crypto.subtle is available only in secure contexts (HTTPS).");try{const a=new TextEncoder().encode(e),s=await crypto.subtle.digest("SHA-256",a);return zc(s).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}catch(t){throw _e.error("CryptoUtils.generateCodeChallenge",t),t}}static generateBasicAuth(e,t){const s=new TextEncoder().encode([e,t].join(":"));return zc(s)}static async hash(e,t){const a=new TextEncoder().encode(t),s=await crypto.subtle.digest(e,a);return new Uint8Array(s)}static async customCalculateJwkThumbprint(e){let t;switch(e.kty){case"RSA":t={e:e.e,kty:e.kty,n:e.n};break;case"EC":t={crv:e.crv,kty:e.kty,x:e.x,y:e.y};break;case"OKP":t={crv:e.crv,kty:e.kty,x:e.x};break;case"oct":t={crv:e.k,kty:e.kty};break;default:throw new Error("Unknown jwk type")}const a=await li.hash("SHA-256",JSON.stringify(t));return li.encodeBase64Url(a)}static async generateDPoPProof({url:e,accessToken:t,httpMethod:a,keyPair:s,nonce:r}){let n,o;const l={jti:window.crypto.randomUUID(),htm:a??"GET",htu:e,iat:Math.floor(Date.now()/1e3)};t&&(n=await li.hash("SHA-256",t),o=li.encodeBase64Url(n),l.ath=o),r&&(l.nonce=r);try{const c=await crypto.subtle.exportKey("jwk",s.publicKey),u={alg:"ES256",typ:"dpop+jwt",jwk:{crv:c.crv,kty:c.kty,x:c.x,y:c.y}};return await Tr.generateSignedJwt(u,l,s.privateKey)}catch(c){throw c instanceof TypeError?new Error(`Error exporting dpop public key: ${c.message}`):c}}static async generateDPoPJkt(e){try{const t=await crypto.subtle.exportKey("jwk",e.publicKey);return await li.customCalculateJwkThumbprint(t)}catch(t){throw t instanceof TypeError?new Error(`Could not retrieve dpop keys from storage: ${t.message}`):t}}static async generateDPoPKeys(){return await window.crypto.subtle.generateKey({name:"ECDSA",namedCurve:"P-256"},!1,["sign","verify"])}static async generateClientAssertionJwt(e,t,a,s="HS256"){const r=Math.floor(Date.now()/1e3),n={alg:s,typ:"JWT"},o={iss:e,sub:e,aud:a,jti:li.generateUUIDv4(),exp:r+300,iat:r},c={HS256:"SHA-256",HS384:"SHA-384",HS512:"SHA-512"}[s];if(!c)throw new Error(`Unsupported algorithm: ${s}. Supported algorithms are: HS256, HS384, HS512`);const u=new TextEncoder,d=await crypto.subtle.importKey("raw",u.encode(t),{name:"HMAC",hash:c},!1,["sign"]);return await Tr.generateSignedJwtWithHmac(n,o,d)}};Tb.encodeBase64Url=i=>zc(i).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_");var ct=Tb,na=class{constructor(e){this._name=e,this._callbacks=[],this._logger=new _e(`Event('${this._name}')`)}addHandler(e){return this._callbacks.push(e),()=>this.removeHandler(e)}removeHandler(e){const t=this._callbacks.lastIndexOf(e);t>=0&&this._callbacks.splice(t,1)}async raise(...e){this._logger.debug("raise:",...e);for(const t of this._callbacks)await t(...e)}},Df=class{static center({...i}){var e,t,a;return i.width==null&&(i.width=(e=[800,720,600,480].find(s=>s<=window.outerWidth/1.618))!=null?e:360),(t=i.left)!=null||(i.left=Math.max(0,Math.round(window.screenX+(window.outerWidth-i.width)/2))),i.height!=null&&((a=i.top)!=null||(i.top=Math.max(0,Math.round(window.screenY+(window.outerHeight-i.height)/2)))),i}static serialize(i){return Object.entries(i).filter(([,e])=>e!=null).map(([e,t])=>`${e}=${typeof t!="boolean"?t:t?"yes":"no"}`).join(",")}},Ui=class Nn extends na{constructor(){super(...arguments),this._logger=new _e(`Timer('${this._name}')`),this._timerHandle=null,this._expiration=0,this._callback=()=>{const e=this._expiration-Nn.getEpochTime();this._logger.debug("timer completes in",e),this._expiration<=Nn.getEpochTime()&&(this.cancel(),super.raise())}}static getEpochTime(){return Math.floor(Date.now()/1e3)}init(e){const t=this._logger.create("init");e=Math.max(Math.floor(e),1);const a=Nn.getEpochTime()+e;if(this.expiration===a&&this._timerHandle){t.debug("skipping since already initialized for expiration at",this.expiration);return}this.cancel(),t.debug("using duration",e),this._expiration=a;const s=Math.min(e,5);this._timerHandle=setInterval(this._callback,s*1e3)}get expiration(){return this._expiration}cancel(){this._logger.create("cancel"),this._timerHandle&&(clearInterval(this._timerHandle),this._timerHandle=null)}},Bc=class{static readParams(i,e="query"){if(!i)throw new TypeError("Invalid URL");const a=new URL(i,"http://127.0.0.1")[e==="fragment"?"hash":"search"];return new URLSearchParams(a.slice(1))}},Ts=";",$a=class extends Error{constructor(i,e){var t,a,s;if(super(i.error_description||i.error||""),this.form=e,this.name="ErrorResponse",!i.error)throw _e.error("ErrorResponse","No error passed"),new Error("No error passed");this.error=i.error,this.error_description=(t=i.error_description)!=null?t:null,this.error_uri=(a=i.error_uri)!=null?a:null,this.state=i.userState,this.session_state=(s=i.session_state)!=null?s:null,this.url_state=i.url_state}},rd=class extends Error{constructor(i){super(i),this.name="ErrorTimeout"}},iE=class{constructor(i){this._logger=new _e("AccessTokenEvents"),this._expiringTimer=new Ui("Access token expiring"),this._expiredTimer=new Ui("Access token expired"),this._expiringNotificationTimeInSeconds=i.expiringNotificationTimeInSeconds}async load(i){const e=this._logger.create("load");if(i.access_token&&i.expires_in!==void 0){const t=i.expires_in;if(e.debug("access token present, remaining duration:",t),t>0){let s=t-this._expiringNotificationTimeInSeconds;s<=0&&(s=1),e.debug("registering expiring timer, raising in",s,"seconds"),this._expiringTimer.init(s)}else e.debug("canceling existing expiring timer because we're past expiration."),this._expiringTimer.cancel();const a=t+1;e.debug("registering expired timer, raising in",a,"seconds"),this._expiredTimer.init(a)}else this._expiringTimer.cancel(),this._expiredTimer.cancel()}async unload(){this._logger.debug("unload: canceling existing access token timers"),this._expiringTimer.cancel(),this._expiredTimer.cancel()}addAccessTokenExpiring(i){return this._expiringTimer.addHandler(i)}removeAccessTokenExpiring(i){this._expiringTimer.removeHandler(i)}addAccessTokenExpired(i){return this._expiredTimer.addHandler(i)}removeAccessTokenExpired(i){this._expiredTimer.removeHandler(i)}},aE=class{constructor(i,e,t,a,s){this._callback=i,this._client_id=e,this._intervalInSeconds=a,this._stopOnError=s,this._logger=new _e("CheckSessionIFrame"),this._timer=null,this._session_state=null,this._message=n=>{n.origin===this._frame_origin&&n.source===this._frame.contentWindow&&(n.data==="error"?(this._logger.error("error message from check session op iframe"),this._stopOnError&&this.stop()):n.data==="changed"?(this._logger.debug("changed message from check session op iframe"),this.stop(),this._callback()):this._logger.debug(n.data+" message from check session op iframe"))};const r=new URL(t);this._frame_origin=r.origin,this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="fixed",this._frame.style.left="-1000px",this._frame.style.top="0",this._frame.width="0",this._frame.height="0",this._frame.src=r.href}load(){return new Promise(i=>{this._frame.onload=()=>{i()},window.document.body.appendChild(this._frame),window.addEventListener("message",this._message,!1)})}start(i){if(this._session_state===i)return;this._logger.create("start"),this.stop(),this._session_state=i;const e=()=>{!this._frame.contentWindow||!this._session_state||this._frame.contentWindow.postMessage(this._client_id+" "+this._session_state,this._frame_origin)};e(),this._timer=setInterval(e,this._intervalInSeconds*1e3)}stop(){this._logger.create("stop"),this._session_state=null,this._timer&&(clearInterval(this._timer),this._timer=null)}},Db=class{constructor(){this._logger=new _e("InMemoryWebStorage"),this._data={}}clear(){this._logger.create("clear"),this._data={}}getItem(i){return this._logger.create(`getItem('${i}')`),this._data[i]}setItem(i,e){this._logger.create(`setItem('${i}')`),this._data[i]=e}removeItem(i){this._logger.create(`removeItem('${i}')`),delete this._data[i]}get length(){return Object.getOwnPropertyNames(this._data).length}key(i){return Object.getOwnPropertyNames(this._data)[i]}},Hc=class extends Error{constructor(i,e){super(e),this.name="ErrorDPoPNonce",this.nonce=i}},nd=class{constructor(i=[],e=null,t={}){this._jwtHandler=e,this._extraHeaders=t,this._logger=new _e("JsonService"),this._contentTypes=[],this._contentTypes.push(...i,"application/json"),e&&this._contentTypes.push("application/jwt")}async fetchWithTimeout(i,e={}){const{timeoutInSeconds:t,...a}=e;if(!t)return await fetch(i,a);const s=new AbortController,r=setTimeout(()=>s.abort(),t*1e3);try{return await fetch(i,{...e,signal:s.signal})}catch(n){throw n instanceof DOMException&&n.name==="AbortError"?new rd("Network timed out"):n}finally{clearTimeout(r)}}async getJson(i,{token:e,credentials:t,timeoutInSeconds:a}={}){const s=this._logger.create("getJson"),r={Accept:this._contentTypes.join(", ")};e&&(s.debug("token passed, setting Authorization header"),r.Authorization="Bearer "+e),this._appendExtraHeaders(r);let n;try{s.debug("url:",i),n=await this.fetchWithTimeout(i,{method:"GET",headers:r,timeoutInSeconds:a,credentials:t})}catch(c){throw s.error("Network Error"),c}s.debug("HTTP response received, status",n.status);const o=n.headers.get("Content-Type");if(o&&!this._contentTypes.find(c=>o.startsWith(c))&&s.throw(new Error(`Invalid response Content-Type: ${o??"undefined"}, from URL: ${i}`)),n.ok&&this._jwtHandler&&(o!=null&&o.startsWith("application/jwt")))return await this._jwtHandler(await n.text());let l;try{l=await n.json()}catch(c){throw s.error("Error parsing JSON response",c),n.ok?c:new Error(`${n.statusText} (${n.status})`)}if(!n.ok)throw s.error("Error from server:",l),l.error?new $a(l):new Error(`${n.statusText} (${n.status}): ${JSON.stringify(l)}`);return l}async postForm(i,{body:e,basicAuth:t,timeoutInSeconds:a,initCredentials:s,extraHeaders:r}){const n=this._logger.create("postForm"),o={Accept:this._contentTypes.join(", "),"Content-Type":"application/x-www-form-urlencoded",...r};t!==void 0&&(o.Authorization="Basic "+t),this._appendExtraHeaders(o);let l;try{n.debug("url:",i),l=await this.fetchWithTimeout(i,{method:"POST",headers:o,body:e,timeoutInSeconds:a,credentials:s})}catch(h){throw n.error("Network error"),h}n.debug("HTTP response received, status",l.status);const c=l.headers.get("Content-Type");if(c&&!this._contentTypes.find(h=>c.startsWith(h)))throw new Error(`Invalid response Content-Type: ${c??"undefined"}, from URL: ${i}`);const u=await l.text();let d={};if(u)try{d=JSON.parse(u)}catch(h){throw n.error("Error parsing JSON response",h),l.ok?h:new Error(`${l.statusText} (${l.status})`)}if(!l.ok){if(n.error("Error from server:",d),l.headers.has("dpop-nonce")){const h=l.headers.get("dpop-nonce");throw new Hc(h,`${JSON.stringify(d)}`)}throw d.error?new $a(d,e):new Error(`${l.statusText} (${l.status}): ${JSON.stringify(d)}`)}return d}_appendExtraHeaders(i){const e=this._logger.create("appendExtraHeaders"),t=Object.keys(this._extraHeaders),a=["accept","content-type"],s=["authorization"];t.length!==0&&t.forEach(r=>{if(a.includes(r.toLocaleLowerCase())){e.warn("Protected header could not be set",r,a);return}if(s.includes(r.toLocaleLowerCase())&&Object.keys(i).includes(r)){e.warn("Header could not be overridden",r,s);return}const n=typeof this._extraHeaders[r]=="function"?this._extraHeaders[r]():this._extraHeaders[r];n&&n!==""&&(i[r]=n)})}},sE=class{constructor(i){this._settings=i,this._logger=new _e("MetadataService"),this._signingKeys=null,this._metadata=null,this._metadataUrl=this._settings.metadataUrl,this._jsonService=new nd(["application/jwk-set+json"],null,this._settings.extraHeaders),this._settings.signingKeys&&(this._logger.debug("using signingKeys from settings"),this._signingKeys=this._settings.signingKeys),this._settings.metadata&&(this._logger.debug("using metadata from settings"),this._metadata=this._settings.metadata),this._settings.fetchRequestCredentials&&(this._logger.debug("using fetchRequestCredentials from settings"),this._fetchRequestCredentials=this._settings.fetchRequestCredentials)}resetSigningKeys(){this._signingKeys=null}async getMetadata(){const i=this._logger.create("getMetadata");if(this._metadata)return i.debug("using cached values"),this._metadata;if(!this._metadataUrl)throw i.throw(new Error("No authority or metadataUrl configured on settings")),null;i.debug("getting metadata from",this._metadataUrl);const e=await this._jsonService.getJson(this._metadataUrl,{credentials:this._fetchRequestCredentials,timeoutInSeconds:this._settings.requestTimeoutInSeconds});return i.debug("merging remote JSON with seed metadata"),this._metadata=Object.assign({},e,this._settings.metadataSeed),this._metadata}getIssuer(){return this._getMetadataProperty("issuer")}getAuthorizationEndpoint(){return this._getMetadataProperty("authorization_endpoint")}getUserInfoEndpoint(){return this._getMetadataProperty("userinfo_endpoint")}getTokenEndpoint(i=!0){return this._getMetadataProperty("token_endpoint",i)}getCheckSessionIframe(){return this._getMetadataProperty("check_session_iframe",!0)}getEndSessionEndpoint(){return this._getMetadataProperty("end_session_endpoint",!0)}getRevocationEndpoint(i=!0){return this._getMetadataProperty("revocation_endpoint",i)}getKeysEndpoint(i=!0){return this._getMetadataProperty("jwks_uri",i)}async _getMetadataProperty(i,e=!1){const t=this._logger.create(`_getMetadataProperty('${i}')`),a=await this.getMetadata();if(t.debug("resolved"),a[i]===void 0){if(e===!0){t.warn("Metadata does not contain optional property");return}t.throw(new Error("Metadata does not contain property "+i))}return a[i]}async getSigningKeys(){const i=this._logger.create("getSigningKeys");if(this._signingKeys)return i.debug("returning signingKeys from cache"),this._signingKeys;const e=await this.getKeysEndpoint(!1);i.debug("got jwks_uri",e);const t=await this._jsonService.getJson(e,{timeoutInSeconds:this._settings.requestTimeoutInSeconds});if(i.debug("got key set",t),!Array.isArray(t.keys))throw i.throw(new Error("Missing keys on keyset")),null;return this._signingKeys=t.keys,this._signingKeys}},Lb=class{constructor({prefix:i="oidc.",store:e=localStorage}={}){this._logger=new _e("WebStorageStateStore"),this._store=e,this._prefix=i}async set(i,e){this._logger.create(`set('${i}')`),i=this._prefix+i,await this._store.setItem(i,e)}async get(i){return this._logger.create(`get('${i}')`),i=this._prefix+i,await this._store.getItem(i)}async remove(i){this._logger.create(`remove('${i}')`),i=this._prefix+i;const e=await this._store.getItem(i);return await this._store.removeItem(i),e}async getAllKeys(){this._logger.create("getAllKeys");const i=await this._store.length,e=[];for(let t=0;t<i;t++){const a=await this._store.key(t);a&&a.indexOf(this._prefix)===0&&e.push(a.substr(this._prefix.length))}return e}},rE="code",nE="openid",oE="client_secret_post",lE=900,Wc=class{constructor({authority:i,metadataUrl:e,metadata:t,signingKeys:a,metadataSeed:s,client_id:r,client_secret:n,response_type:o=rE,scope:l=nE,redirect_uri:c,post_logout_redirect_uri:u,client_authentication:d=oE,token_endpoint_auth_signing_alg:h="HS256",prompt:f,display:g,max_age:p,ui_locales:m,acr_values:b,resource:v,response_mode:x,filterProtocolClaims:k=!0,loadUserInfo:y=!1,requestTimeoutInSeconds:A,staleStateAgeInSeconds:w=lE,mergeClaimsStrategy:S={array:"replace"},disablePKCE:C=!1,stateStore:E,revokeTokenAdditionalContentTypes:M,fetchRequestCredentials:P,refreshTokenAllowedScope:D,extraQueryParams:L={},extraTokenParams:B={},extraHeaders:N={},dpop:F,omitScopeWhenRequesting:H=!1}){var ie;if(this.authority=i,e?this.metadataUrl=e:(this.metadataUrl=i,i&&(this.metadataUrl.endsWith("/")||(this.metadataUrl+="/"),this.metadataUrl+=".well-known/openid-configuration")),this.metadata=t,this.metadataSeed=s,this.signingKeys=a,this.client_id=r,this.client_secret=n,this.response_type=o,this.scope=l,this.redirect_uri=c,this.post_logout_redirect_uri=u,this.client_authentication=d,this.token_endpoint_auth_signing_alg=h,this.prompt=f,this.display=g,this.max_age=p,this.ui_locales=m,this.acr_values=b,this.resource=v,this.response_mode=x,this.filterProtocolClaims=k??!0,this.loadUserInfo=!!y,this.staleStateAgeInSeconds=w,this.mergeClaimsStrategy=S,this.omitScopeWhenRequesting=H,this.disablePKCE=!!C,this.revokeTokenAdditionalContentTypes=M,this.fetchRequestCredentials=P||"same-origin",this.requestTimeoutInSeconds=A,E)this.stateStore=E;else{const re=typeof window<"u"?window.localStorage:new Db;this.stateStore=new Lb({store:re})}if(this.refreshTokenAllowedScope=D,this.extraQueryParams=L,this.extraTokenParams=B,this.extraHeaders=N,this.dpop=F,this.dpop&&!((ie=this.dpop)!=null&&ie.store))throw new Error("A DPoPStore is required when dpop is enabled")}},cE=class{constructor(i,e){this._settings=i,this._metadataService=e,this._logger=new _e("UserInfoService"),this._getClaimsFromJwt=async t=>{const a=this._logger.create("_getClaimsFromJwt");try{const s=Tr.decode(t);return a.debug("JWT decoding successful"),s}catch(s){throw a.error("Error parsing JWT response"),s}},this._jsonService=new nd(void 0,this._getClaimsFromJwt,this._settings.extraHeaders)}async getClaims(i){const e=this._logger.create("getClaims");i||this._logger.throw(new Error("No token passed"));const t=await this._metadataService.getUserInfoEndpoint();e.debug("got userinfo url",t);const a=await this._jsonService.getJson(t,{token:i,credentials:this._settings.fetchRequestCredentials,timeoutInSeconds:this._settings.requestTimeoutInSeconds});return e.debug("got claims",a),a}},Rb=class{constructor(i,e){this._settings=i,this._metadataService=e,this._logger=new _e("TokenClient"),this._jsonService=new nd(this._settings.revokeTokenAdditionalContentTypes,null,this._settings.extraHeaders)}async exchangeCode({grant_type:i="authorization_code",redirect_uri:e=this._settings.redirect_uri,client_id:t=this._settings.client_id,client_secret:a=this._settings.client_secret,extraHeaders:s,...r}){const n=this._logger.create("exchangeCode");t||n.throw(new Error("A client_id is required")),e||n.throw(new Error("A redirect_uri is required")),r.code||n.throw(new Error("A code is required"));const o=new URLSearchParams({grant_type:i,redirect_uri:e});for(const[d,h]of Object.entries(r))h!=null&&o.set(d,h);if((this._settings.client_authentication==="client_secret_basic"||this._settings.client_authentication==="client_secret_jwt")&&a==null)throw n.throw(new Error("A client_secret is required")),null;let l;const c=await this._metadataService.getTokenEndpoint(!1);switch(this._settings.client_authentication){case"client_secret_basic":l=ct.generateBasicAuth(t,a);break;case"client_secret_post":o.append("client_id",t),a&&o.append("client_secret",a);break;case"client_secret_jwt":{const d=await ct.generateClientAssertionJwt(t,a,c,this._settings.token_endpoint_auth_signing_alg);o.append("client_id",t),o.append("client_assertion_type","urn:ietf:params:oauth:client-assertion-type:jwt-bearer"),o.append("client_assertion",d);break}}n.debug("got token endpoint");const u=await this._jsonService.postForm(c,{body:o,basicAuth:l,timeoutInSeconds:this._settings.requestTimeoutInSeconds,initCredentials:this._settings.fetchRequestCredentials,extraHeaders:s});return n.debug("got response"),u}async exchangeCredentials({grant_type:i="password",client_id:e=this._settings.client_id,client_secret:t=this._settings.client_secret,scope:a=this._settings.scope,...s}){const r=this._logger.create("exchangeCredentials");e||r.throw(new Error("A client_id is required"));const n=new URLSearchParams({grant_type:i});this._settings.omitScopeWhenRequesting||n.set("scope",a);for(const[u,d]of Object.entries(s))d!=null&&n.set(u,d);if((this._settings.client_authentication==="client_secret_basic"||this._settings.client_authentication==="client_secret_jwt")&&t==null)throw r.throw(new Error("A client_secret is required")),null;let o;const l=await this._metadataService.getTokenEndpoint(!1);switch(this._settings.client_authentication){case"client_secret_basic":o=ct.generateBasicAuth(e,t);break;case"client_secret_post":n.append("client_id",e),t&&n.append("client_secret",t);break;case"client_secret_jwt":{const u=await ct.generateClientAssertionJwt(e,t,l,this._settings.token_endpoint_auth_signing_alg);n.append("client_id",e),n.append("client_assertion_type","urn:ietf:params:oauth:client-assertion-type:jwt-bearer"),n.append("client_assertion",u);break}}r.debug("got token endpoint");const c=await this._jsonService.postForm(l,{body:n,basicAuth:o,timeoutInSeconds:this._settings.requestTimeoutInSeconds,initCredentials:this._settings.fetchRequestCredentials});return r.debug("got response"),c}async exchangeRefreshToken({grant_type:i="refresh_token",client_id:e=this._settings.client_id,client_secret:t=this._settings.client_secret,timeoutInSeconds:a,extraHeaders:s,...r}){const n=this._logger.create("exchangeRefreshToken");e||n.throw(new Error("A client_id is required")),r.refresh_token||n.throw(new Error("A refresh_token is required"));const o=new URLSearchParams({grant_type:i});for(const[d,h]of Object.entries(r))Array.isArray(h)?h.forEach(f=>o.append(d,f)):h!=null&&o.set(d,h);if((this._settings.client_authentication==="client_secret_basic"||this._settings.client_authentication==="client_secret_jwt")&&t==null)throw n.throw(new Error("A client_secret is required")),null;let l;const c=await this._metadataService.getTokenEndpoint(!1);switch(this._settings.client_authentication){case"client_secret_basic":l=ct.generateBasicAuth(e,t);break;case"client_secret_post":o.append("client_id",e),t&&o.append("client_secret",t);break;case"client_secret_jwt":{const d=await ct.generateClientAssertionJwt(e,t,c,this._settings.token_endpoint_auth_signing_alg);o.append("client_id",e),o.append("client_assertion_type","urn:ietf:params:oauth:client-assertion-type:jwt-bearer"),o.append("client_assertion",d);break}}n.debug("got token endpoint");const u=await this._jsonService.postForm(c,{body:o,basicAuth:l,timeoutInSeconds:a,initCredentials:this._settings.fetchRequestCredentials,extraHeaders:s});return n.debug("got response"),u}async revoke(i){var e;const t=this._logger.create("revoke");i.token||t.throw(new Error("A token is required"));const a=await this._metadataService.getRevocationEndpoint(!1);t.debug(`got revocation endpoint, revoking ${(e=i.token_type_hint)!=null?e:"default token type"}`);const s=new URLSearchParams;for(const[r,n]of Object.entries(i))n!=null&&s.set(r,n);s.set("client_id",this._settings.client_id),this._settings.client_secret&&s.set("client_secret",this._settings.client_secret),await this._jsonService.postForm(a,{body:s,timeoutInSeconds:this._settings.requestTimeoutInSeconds}),t.debug("got response")}},uE=class{constructor(i,e,t){this._settings=i,this._metadataService=e,this._claimsService=t,this._logger=new _e("ResponseValidator"),this._userInfoService=new cE(this._settings,this._metadataService),this._tokenClient=new Rb(this._settings,this._metadataService)}async validateSigninResponse(i,e,t){const a=this._logger.create("validateSigninResponse");this._processSigninState(i,e),a.debug("state processed"),await this._processCode(i,e,t),a.debug("code processed"),i.isOpenId&&this._validateIdTokenAttributes(i),a.debug("tokens validated"),await this._processClaims(i,e==null?void 0:e.skipUserInfo,i.isOpenId),a.debug("claims processed")}async validateCredentialsResponse(i,e){const t=this._logger.create("validateCredentialsResponse"),a=i.isOpenId&&!!i.id_token;a&&this._validateIdTokenAttributes(i),t.debug("tokens validated"),await this._processClaims(i,e,a),t.debug("claims processed")}async validateRefreshResponse(i,e){var t,a;const s=this._logger.create("validateRefreshResponse");i.userState=e.data,(t=i.session_state)!=null||(i.session_state=e.session_state),(a=i.scope)!=null||(i.scope=e.scope),i.isOpenId&&i.id_token&&(this._validateIdTokenAttributes(i,e.id_token),s.debug("ID Token validated")),i.id_token||(i.id_token=e.id_token,i.profile=e.profile);const r=i.isOpenId&&!!i.id_token;await this._processClaims(i,!1,r),s.debug("claims processed")}validateSignoutResponse(i,e){const t=this._logger.create("validateSignoutResponse");if(e.id!==i.state&&t.throw(new Error("State does not match")),t.debug("state validated"),i.userState=e.data,i.error)throw t.warn("Response was error",i.error),new $a(i)}_processSigninState(i,e){var t;const a=this._logger.create("_processSigninState");if(e.id!==i.state&&a.throw(new Error("State does not match")),e.client_id||a.throw(new Error("No client_id on state")),e.authority||a.throw(new Error("No authority on state")),this._settings.authority!==e.authority&&a.throw(new Error("authority mismatch on settings vs. signin state")),this._settings.client_id&&this._settings.client_id!==e.client_id&&a.throw(new Error("client_id mismatch on settings vs. signin state")),a.debug("state validated"),i.userState=e.data,i.url_state=e.url_state,(t=i.scope)!=null||(i.scope=e.scope),i.error)throw a.warn("Response was error",i.error),new $a(i);e.code_verifier&&!i.code&&a.throw(new Error("Expected code in response"))}async _processClaims(i,e=!1,t=!0){const a=this._logger.create("_processClaims");if(i.profile=this._claimsService.filterProtocolClaims(i.profile),e||!this._settings.loadUserInfo||!i.access_token){a.debug("not loading user info");return}a.debug("loading user info");const s=await this._userInfoService.getClaims(i.access_token);a.debug("user info claims received from user info endpoint"),t&&s.sub!==i.profile.sub&&a.throw(new Error("subject from UserInfo response does not match subject in ID Token")),i.profile=this._claimsService.mergeClaims(i.profile,this._claimsService.filterProtocolClaims(s)),a.debug("user info claims received, updated profile:",i.profile)}async _processCode(i,e,t){const a=this._logger.create("_processCode");if(i.code){a.debug("Validating code");const s=await this._tokenClient.exchangeCode({client_id:e.client_id,client_secret:e.client_secret,code:i.code,redirect_uri:e.redirect_uri,code_verifier:e.code_verifier,extraHeaders:t,...e.extraTokenParams});Object.assign(i,s)}else a.debug("No code to process")}_validateIdTokenAttributes(i,e){var t;const a=this._logger.create("_validateIdTokenAttributes");a.debug("decoding ID Token JWT");const s=Tr.decode((t=i.id_token)!=null?t:"");if(s.sub||a.throw(new Error("ID Token is missing a subject claim")),e){const r=Tr.decode(e);s.sub!==r.sub&&a.throw(new Error("sub in id_token does not match current sub")),s.auth_time&&s.auth_time!==r.auth_time&&a.throw(new Error("auth_time in id_token does not match original auth_time")),s.azp&&s.azp!==r.azp&&a.throw(new Error("azp in id_token does not match original azp")),!s.azp&&r.azp&&a.throw(new Error("azp not in id_token, but present in original id_token"))}i.profile=s}},uo=class jc{constructor(e){this.id=e.id||ct.generateUUIDv4(),this.data=e.data,e.created&&e.created>0?this.created=e.created:this.created=Ui.getEpochTime(),this.request_type=e.request_type,this.url_state=e.url_state}toStorageString(){return new _e("State").create("toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,url_state:this.url_state})}static fromStorageString(e){return _e.createStatic("State","fromStorageString"),Promise.resolve(new jc(JSON.parse(e)))}static async clearStaleState(e,t){const a=_e.createStatic("State","clearStaleState"),s=Ui.getEpochTime()-t,r=await e.getAllKeys();a.debug("got keys",r);for(let n=0;n<r.length;n++){const o=r[n],l=await e.get(o);let c=!1;if(l)try{const u=await jc.fromStorageString(l);a.debug("got item from key:",o,u.created),u.created<=s&&(c=!0)}catch(u){a.error("Error parsing state for key:",o,u),c=!0}else a.debug("no item in storage for key:",o),c=!0;c&&(a.debug("removed item for key:",o),e.remove(o))}}},Nb=class Vc extends uo{constructor(e){super(e),this.code_verifier=e.code_verifier,this.code_challenge=e.code_challenge,this.authority=e.authority,this.client_id=e.client_id,this.redirect_uri=e.redirect_uri,this.scope=e.scope,this.client_secret=e.client_secret,this.extraTokenParams=e.extraTokenParams,this.response_mode=e.response_mode,this.skipUserInfo=e.skipUserInfo}static async create(e){const t=e.code_verifier===!0?ct.generateCodeVerifier():e.code_verifier||void 0,a=t?await ct.generateCodeChallenge(t):void 0;return new Vc({...e,code_verifier:t,code_challenge:a})}toStorageString(){return new _e("SigninState").create("toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,url_state:this.url_state,code_verifier:this.code_verifier,authority:this.authority,client_id:this.client_id,redirect_uri:this.redirect_uri,scope:this.scope,client_secret:this.client_secret,extraTokenParams:this.extraTokenParams,response_mode:this.response_mode,skipUserInfo:this.skipUserInfo})}static fromStorageString(e){_e.createStatic("SigninState","fromStorageString");const t=JSON.parse(e);return Vc.create(t)}},Ob=class Fb{constructor(e){this.url=e.url,this.state=e.state}static async create({url:e,authority:t,client_id:a,redirect_uri:s,response_type:r,scope:n,state_data:o,response_mode:l,request_type:c,client_secret:u,nonce:d,url_state:h,resource:f,skipUserInfo:g,extraQueryParams:p,extraTokenParams:m,disablePKCE:b,dpopJkt:v,omitScopeWhenRequesting:x,...k}){if(!e)throw this._logger.error("create: No url passed"),new Error("url");if(!a)throw this._logger.error("create: No client_id passed"),new Error("client_id");if(!s)throw this._logger.error("create: No redirect_uri passed"),new Error("redirect_uri");if(!r)throw this._logger.error("create: No response_type passed"),new Error("response_type");if(!n)throw this._logger.error("create: No scope passed"),new Error("scope");if(!t)throw this._logger.error("create: No authority passed"),new Error("authority");const y=await Nb.create({data:o,request_type:c,url_state:h,code_verifier:!b,client_id:a,authority:t,redirect_uri:s,response_mode:l,client_secret:u,scope:n,extraTokenParams:m,skipUserInfo:g}),A=new URL(e);A.searchParams.append("client_id",a),A.searchParams.append("redirect_uri",s),A.searchParams.append("response_type",r),x||A.searchParams.append("scope",n),d&&A.searchParams.append("nonce",d),v&&A.searchParams.append("dpop_jkt",v);let w=y.id;h&&(w=`${w}${Ts}${h}`),A.searchParams.append("state",w),y.code_challenge&&(A.searchParams.append("code_challenge",y.code_challenge),A.searchParams.append("code_challenge_method","S256")),f&&(Array.isArray(f)?f:[f]).forEach(C=>A.searchParams.append("resource",C));for(const[S,C]of Object.entries({response_mode:l,...k,...p}))C!=null&&A.searchParams.append(S,C.toString());return new Fb({url:A.href,state:y})}};Ob._logger=new _e("SigninRequest");var dE=Ob,hE="openid",Ml=class{constructor(i){if(this.access_token="",this.token_type="",this.profile={},this.state=i.get("state"),this.session_state=i.get("session_state"),this.state){const e=decodeURIComponent(this.state).split(Ts);this.state=e[0],e.length>1&&(this.url_state=e.slice(1).join(Ts))}this.error=i.get("error"),this.error_description=i.get("error_description"),this.error_uri=i.get("error_uri"),this.code=i.get("code")}get expires_in(){if(this.expires_at!==void 0)return this.expires_at-Ui.getEpochTime()}set expires_in(i){typeof i=="string"&&(i=Number(i)),i!==void 0&&i>=0&&(this.expires_at=Math.floor(i)+Ui.getEpochTime())}get isOpenId(){var i;return((i=this.scope)==null?void 0:i.split(" ").includes(hE))||!!this.id_token}},fE=class{constructor({url:i,state_data:e,id_token_hint:t,post_logout_redirect_uri:a,extraQueryParams:s,request_type:r,client_id:n,url_state:o}){if(this._logger=new _e("SignoutRequest"),!i)throw this._logger.error("ctor: No url passed"),new Error("url");const l=new URL(i);if(t&&l.searchParams.append("id_token_hint",t),n&&l.searchParams.append("client_id",n),a&&(l.searchParams.append("post_logout_redirect_uri",a),e||o)){this.state=new uo({data:e,request_type:r,url_state:o});let c=this.state.id;o&&(c=`${c}${Ts}${o}`),l.searchParams.append("state",c)}for(const[c,u]of Object.entries({...s}))u!=null&&l.searchParams.append(c,u.toString());this.url=l.href}},gE=class{constructor(i){if(this.state=i.get("state"),this.state){const e=decodeURIComponent(this.state).split(Ts);this.state=e[0],e.length>1&&(this.url_state=e.slice(1).join(Ts))}this.error=i.get("error"),this.error_description=i.get("error_description"),this.error_uri=i.get("error_uri")}},pE=["nbf","jti","auth_time","nonce","acr","amr","azp","at_hash"],mE=["sub","iss","aud","exp","iat"],bE=class{constructor(i){this._settings=i,this._logger=new _e("ClaimsService")}filterProtocolClaims(i){const e={...i};if(this._settings.filterProtocolClaims){let t;Array.isArray(this._settings.filterProtocolClaims)?t=this._settings.filterProtocolClaims:t=pE;for(const a of t)mE.includes(a)||delete e[a]}return e}mergeClaims(i,e){const t={...i};for(const[a,s]of Object.entries(e))if(t[a]!==s)if(Array.isArray(t[a])||Array.isArray(s))if(this._settings.mergeClaimsStrategy.array=="replace")t[a]=s;else{const r=Array.isArray(t[a])?t[a]:[t[a]];for(const n of Array.isArray(s)?s:[s])r.includes(n)||r.push(n);t[a]=r}else typeof t[a]=="object"&&typeof s=="object"?t[a]=this.mergeClaims(t[a],s):t[a]=s;return t}},zb=class{constructor(i,e){this.keys=i,this.nonce=e}},vE=class{constructor(i,e){this._logger=new _e("OidcClient"),this.settings=i instanceof Wc?i:new Wc(i),this.metadataService=e??new sE(this.settings),this._claimsService=new bE(this.settings),this._validator=new uE(this.settings,this.metadataService,this._claimsService),this._tokenClient=new Rb(this.settings,this.metadataService)}async createSigninRequest({state:i,request:e,request_uri:t,request_type:a,id_token_hint:s,login_hint:r,skipUserInfo:n,nonce:o,url_state:l,response_type:c=this.settings.response_type,scope:u=this.settings.scope,redirect_uri:d=this.settings.redirect_uri,prompt:h=this.settings.prompt,display:f=this.settings.display,max_age:g=this.settings.max_age,ui_locales:p=this.settings.ui_locales,acr_values:m=this.settings.acr_values,resource:b=this.settings.resource,response_mode:v=this.settings.response_mode,extraQueryParams:x=this.settings.extraQueryParams,extraTokenParams:k=this.settings.extraTokenParams,dpopJkt:y,omitScopeWhenRequesting:A=this.settings.omitScopeWhenRequesting}){const w=this._logger.create("createSigninRequest");if(c!=="code")throw new Error("Only the Authorization Code flow (with PKCE) is supported");const S=await this.metadataService.getAuthorizationEndpoint();w.debug("Received authorization endpoint",S);const C=await dE.create({url:S,authority:this.settings.authority,client_id:this.settings.client_id,redirect_uri:d,response_type:c,scope:u,state_data:i,url_state:l,prompt:h,display:f,max_age:g,ui_locales:p,id_token_hint:s,login_hint:r,acr_values:m,dpopJkt:y,resource:b,request:e,request_uri:t,extraQueryParams:x,extraTokenParams:k,request_type:a,response_mode:v,client_secret:this.settings.client_secret,skipUserInfo:n,nonce:o,disablePKCE:this.settings.disablePKCE,omitScopeWhenRequesting:A});await this.clearStaleState();const E=C.state;return await this.settings.stateStore.set(E.id,E.toStorageString()),C}async readSigninResponseState(i,e=!1){const t=this._logger.create("readSigninResponseState"),a=new Ml(Bc.readParams(i,this.settings.response_mode));if(!a.state)throw t.throw(new Error("No state in response")),null;const s=await this.settings.stateStore[e?"remove":"get"](a.state);if(!s)throw t.throw(new Error("No matching state found in storage")),null;return{state:await Nb.fromStorageString(s),response:a}}async processSigninResponse(i,e,t=!0){const a=this._logger.create("processSigninResponse"),{state:s,response:r}=await this.readSigninResponseState(i,t);if(a.debug("received state from storage; validating response"),this.settings.dpop&&this.settings.dpop.store){const n=await this.getDpopProof(this.settings.dpop.store);e={...e,DPoP:n}}try{await this._validator.validateSigninResponse(r,s,e)}catch(n){if(n instanceof Hc&&this.settings.dpop){const o=await this.getDpopProof(this.settings.dpop.store,n.nonce);e.DPoP=o,await this._validator.validateSigninResponse(r,s,e)}else throw n}return r}async getDpopProof(i,e){let t,a;return(await i.getAllKeys()).includes(this.settings.client_id)?(a=await i.get(this.settings.client_id),a.nonce!==e&&e&&(a.nonce=e,await i.set(this.settings.client_id,a))):(t=await ct.generateDPoPKeys(),a=new zb(t,e),await i.set(this.settings.client_id,a)),await ct.generateDPoPProof({url:await this.metadataService.getTokenEndpoint(!1),httpMethod:"POST",keyPair:a.keys,nonce:a.nonce})}async processResourceOwnerPasswordCredentials({username:i,password:e,skipUserInfo:t=!1,extraTokenParams:a={}}){const s=await this._tokenClient.exchangeCredentials({username:i,password:e,...a}),r=new Ml(new URLSearchParams);return Object.assign(r,s),await this._validator.validateCredentialsResponse(r,t),r}async useRefreshToken({state:i,redirect_uri:e,resource:t,timeoutInSeconds:a,extraHeaders:s,extraTokenParams:r}){var n;const o=this._logger.create("useRefreshToken");let l;if(this.settings.refreshTokenAllowedScope===void 0)l=i.scope;else{const d=this.settings.refreshTokenAllowedScope.split(" ");l=(((n=i.scope)==null?void 0:n.split(" "))||[]).filter(f=>d.includes(f)).join(" ")}if(this.settings.dpop&&this.settings.dpop.store){const d=await this.getDpopProof(this.settings.dpop.store);s={...s,DPoP:d}}let c;try{c=await this._tokenClient.exchangeRefreshToken({refresh_token:i.refresh_token,scope:l,redirect_uri:e,resource:t,timeoutInSeconds:a,extraHeaders:s,...r})}catch(d){if(d instanceof Hc&&this.settings.dpop)s.DPoP=await this.getDpopProof(this.settings.dpop.store,d.nonce),c=await this._tokenClient.exchangeRefreshToken({refresh_token:i.refresh_token,scope:l,redirect_uri:e,resource:t,timeoutInSeconds:a,extraHeaders:s,...r});else throw d}const u=new Ml(new URLSearchParams);return Object.assign(u,c),o.debug("validating response",u),await this._validator.validateRefreshResponse(u,{...i,scope:l}),u}async createSignoutRequest({state:i,id_token_hint:e,client_id:t,request_type:a,url_state:s,post_logout_redirect_uri:r=this.settings.post_logout_redirect_uri,extraQueryParams:n=this.settings.extraQueryParams}={}){const o=this._logger.create("createSignoutRequest"),l=await this.metadataService.getEndSessionEndpoint();if(!l)throw o.throw(new Error("No end session endpoint")),null;o.debug("Received end session endpoint",l),!t&&r&&!e&&(t=this.settings.client_id);const c=new fE({url:l,id_token_hint:e,client_id:t,post_logout_redirect_uri:r,state_data:i,extraQueryParams:n,request_type:a,url_state:s});await this.clearStaleState();const u=c.state;return u&&(o.debug("Signout request has state to persist"),await this.settings.stateStore.set(u.id,u.toStorageString())),c}async readSignoutResponseState(i,e=!1){const t=this._logger.create("readSignoutResponseState"),a=new gE(Bc.readParams(i,this.settings.response_mode));if(!a.state){if(t.debug("No state in response"),a.error)throw t.warn("Response was error:",a.error),new $a(a);return{state:void 0,response:a}}const s=await this.settings.stateStore[e?"remove":"get"](a.state);if(!s)throw t.throw(new Error("No matching state found in storage")),null;return{state:await uo.fromStorageString(s),response:a}}async processSignoutResponse(i){const e=this._logger.create("processSignoutResponse"),{state:t,response:a}=await this.readSignoutResponseState(i,!0);return t?(e.debug("Received state from storage; validating response"),this._validator.validateSignoutResponse(a,t)):e.debug("No state from storage; skipping response validation"),a}clearStaleState(){return this._logger.create("clearStaleState"),uo.clearStaleState(this.settings.stateStore,this.settings.staleStateAgeInSeconds)}async revokeToken(i,e){return this._logger.create("revokeToken"),await this._tokenClient.revoke({token:i,token_type_hint:e})}},xE=class{constructor(i){this._userManager=i,this._logger=new _e("SessionMonitor"),this._start=async e=>{const t=e.session_state;if(!t)return;const a=this._logger.create("_start");if(e.profile?(this._sub=e.profile.sub,a.debug("session_state",t,", sub",this._sub)):(this._sub=void 0,a.debug("session_state",t,", anonymous user")),this._checkSessionIFrame){this._checkSessionIFrame.start(t);return}try{const s=await this._userManager.metadataService.getCheckSessionIframe();if(s){a.debug("initializing check session iframe");const r=this._userManager.settings.client_id,n=this._userManager.settings.checkSessionIntervalInSeconds,o=this._userManager.settings.stopCheckSessionOnError,l=new aE(this._callback,r,s,n,o);await l.load(),this._checkSessionIFrame=l,l.start(t)}else a.warn("no check session iframe found in the metadata")}catch(s){a.error("Error from getCheckSessionIframe:",s instanceof Error?s.message:s)}},this._stop=()=>{const e=this._logger.create("_stop");if(this._sub=void 0,this._checkSessionIFrame&&this._checkSessionIFrame.stop(),this._userManager.settings.monitorAnonymousSession){const t=setInterval(async()=>{clearInterval(t);try{const a=await this._userManager.querySessionStatus();if(a){const s={session_state:a.session_state,profile:a.sub?{sub:a.sub}:null};this._start(s)}}catch(a){e.error("error from querySessionStatus",a instanceof Error?a.message:a)}},1e3)}},this._callback=async()=>{const e=this._logger.create("_callback");try{const t=await this._userManager.querySessionStatus();let a=!0;t&&this._checkSessionIFrame?t.sub===this._sub?(a=!1,this._checkSessionIFrame.start(t.session_state),e.debug("same sub still logged in at OP, session state has changed, restarting check session iframe; session_state",t.session_state),await this._userManager.events._raiseUserSessionChanged()):e.debug("different subject signed into OP",t.sub):e.debug("subject no longer signed into OP"),a?this._sub?await this._userManager.events._raiseUserSignedOut():await this._userManager.events._raiseUserSignedIn():e.debug("no change in session detected, no event to raise")}catch(t){this._sub&&(e.debug("Error calling queryCurrentSigninSession; raising signed out event",t),await this._userManager.events._raiseUserSignedOut())}},i||this._logger.throw(new Error("No user manager passed")),this._userManager.events.addUserLoaded(this._start),this._userManager.events.addUserUnloaded(this._stop),this._init().catch(e=>{this._logger.error(e)})}async _init(){this._logger.create("_init");const i=await this._userManager.getUser();if(i)this._start(i);else if(this._userManager.settings.monitorAnonymousSession){const e=await this._userManager.querySessionStatus();if(e){const t={session_state:e.session_state,profile:e.sub?{sub:e.sub}:null};this._start(t)}}}},Pl=class Bb{constructor(e){var t;this.id_token=e.id_token,this.session_state=(t=e.session_state)!=null?t:null,this.access_token=e.access_token,this.refresh_token=e.refresh_token,this.token_type=e.token_type,this.scope=e.scope,this.profile=e.profile,this.expires_at=e.expires_at,this.state=e.userState,this.url_state=e.url_state}get expires_in(){if(this.expires_at!==void 0)return this.expires_at-Ui.getEpochTime()}set expires_in(e){e!==void 0&&(this.expires_at=Math.floor(e)+Ui.getEpochTime())}get expired(){const e=this.expires_in;if(e!==void 0)return e<=0}get scopes(){var e,t;return(t=(e=this.scope)==null?void 0:e.split(" "))!=null?t:[]}toStorageString(){return new _e("User").create("toStorageString"),JSON.stringify({id_token:this.id_token,session_state:this.session_state,access_token:this.access_token,refresh_token:this.refresh_token,token_type:this.token_type,scope:this.scope,profile:this.profile,expires_at:this.expires_at})}static fromStorageString(e){return _e.createStatic("User","fromStorageString"),new Bb(JSON.parse(e))}},Lf="oidc-client",Hb=class{constructor(){this._abort=new na("Window navigation aborted"),this._disposeHandlers=new Set,this._window=null}async navigate(i){const e=this._logger.create("navigate");if(!this._window)throw new Error("Attempted to navigate on a disposed window");e.debug("setting URL in window"),this._window.location.replace(i.url);const{url:t,keepOpen:a}=await new Promise((s,r)=>{const n=l=>{var c;const u=l.data,d=(c=i.scriptOrigin)!=null?c:window.location.origin;if(!(l.origin!==d||(u==null?void 0:u.source)!==Lf)){try{const h=Bc.readParams(u.url,i.response_mode).get("state");if(h||e.warn("no state found in response url"),l.source!==this._window&&h!==i.state)return}catch{this._dispose(),r(new Error("Invalid response from window"))}s(u)}};window.addEventListener("message",n,!1),this._disposeHandlers.add(()=>window.removeEventListener("message",n,!1));const o=new BroadcastChannel(`oidc-client-popup-${i.state}`);o.addEventListener("message",n,!1),this._disposeHandlers.add(()=>o.close()),this._disposeHandlers.add(this._abort.addHandler(l=>{this._dispose(),r(l)}))});return e.debug("got response from window"),this._dispose(),a||this.close(),{url:t}}_dispose(){this._logger.create("_dispose");for(const i of this._disposeHandlers)i();this._disposeHandlers.clear()}static _notifyParent(i,e,t=!1,a=window.location.origin){const s={source:Lf,url:e,keepOpen:t},r=new _e("_notifyParent");if(i)r.debug("With parent. Using parent.postMessage."),i.postMessage(s,a);else{r.debug("No parent. Using BroadcastChannel.");const n=new URL(e).searchParams.get("state");if(!n)throw new Error("No parent and no state in URL. Can't complete notification.");const o=new BroadcastChannel(`oidc-client-popup-${n}`);o.postMessage(s),o.close()}}},Wb={location:!1,toolbar:!1,height:640,closePopupWindowAfterInSeconds:-1},jb="_blank",yE=60,wE=2,Vb=10,kE=class extends Wc{constructor(i){const{popup_redirect_uri:e=i.redirect_uri,popup_post_logout_redirect_uri:t=i.post_logout_redirect_uri,popupWindowFeatures:a=Wb,popupWindowTarget:s=jb,redirectMethod:r="assign",redirectTarget:n="self",iframeNotifyParentOrigin:o=i.iframeNotifyParentOrigin,iframeScriptOrigin:l=i.iframeScriptOrigin,requestTimeoutInSeconds:c,silent_redirect_uri:u=i.redirect_uri,silentRequestTimeoutInSeconds:d,automaticSilentRenew:h=!0,validateSubOnSilentRenew:f=!0,includeIdTokenInSilentRenew:g=!1,monitorSession:p=!1,monitorAnonymousSession:m=!1,checkSessionIntervalInSeconds:b=wE,query_status_response_type:v="code",stopCheckSessionOnError:x=!0,revokeTokenTypes:k=["access_token","refresh_token"],revokeTokensOnSignout:y=!1,includeIdTokenInSilentSignout:A=!1,accessTokenExpiringNotificationTimeInSeconds:w=yE,userStore:S}=i;if(super(i),this.popup_redirect_uri=e,this.popup_post_logout_redirect_uri=t,this.popupWindowFeatures=a,this.popupWindowTarget=s,this.redirectMethod=r,this.redirectTarget=n,this.iframeNotifyParentOrigin=o,this.iframeScriptOrigin=l,this.silent_redirect_uri=u,this.silentRequestTimeoutInSeconds=d||c||Vb,this.automaticSilentRenew=h,this.validateSubOnSilentRenew=f,this.includeIdTokenInSilentRenew=g,this.monitorSession=p,this.monitorAnonymousSession=m,this.checkSessionIntervalInSeconds=b,this.stopCheckSessionOnError=x,this.query_status_response_type=v,this.revokeTokenTypes=k,this.revokeTokensOnSignout=y,this.includeIdTokenInSilentSignout=A,this.accessTokenExpiringNotificationTimeInSeconds=w,S)this.userStore=S;else{const C=typeof window<"u"?window.sessionStorage:new Db;this.userStore=new Lb({store:C})}}},Rf=class Yb extends Hb{constructor({silentRequestTimeoutInSeconds:e=Vb}){super(),this._logger=new _e("IFrameWindow"),this._timeoutInSeconds=e,this._frame=Yb.createHiddenIframe(),this._window=this._frame.contentWindow}static createHiddenIframe(){const e=window.document.createElement("iframe");return e.style.visibility="hidden",e.style.position="fixed",e.style.left="-1000px",e.style.top="0",e.width="0",e.height="0",window.document.body.appendChild(e),e}async navigate(e){this._logger.debug("navigate: Using timeout of:",this._timeoutInSeconds);const t=setTimeout(()=>void this._abort.raise(new rd("IFrame timed out without a response")),this._timeoutInSeconds*1e3);return this._disposeHandlers.add(()=>clearTimeout(t)),await super.navigate(e)}close(){var e;this._frame&&(this._frame.parentNode&&(this._frame.addEventListener("load",t=>{var a;const s=t.target;(a=s.parentNode)==null||a.removeChild(s),this._abort.raise(new Error("IFrame removed from DOM"))},!0),(e=this._frame.contentWindow)==null||e.location.replace("about:blank")),this._frame=null),this._window=null}static notifyParent(e,t){return super._notifyParent(window.parent,e,!1,t)}},AE=class{constructor(i){this._settings=i,this._logger=new _e("IFrameNavigator")}async prepare({silentRequestTimeoutInSeconds:i=this._settings.silentRequestTimeoutInSeconds}){return new Rf({silentRequestTimeoutInSeconds:i})}async callback(i){this._logger.create("callback"),Rf.notifyParent(i,this._settings.iframeNotifyParentOrigin)}},SE=500,CE=1e3,Nf=class extends Hb{constructor({popupWindowTarget:i=jb,popupWindowFeatures:e={},popupSignal:t,popupAbortOnClose:a}){super(),this._logger=new _e("PopupWindow");const s=Df.center({...Wb,...e});this._window=window.open(void 0,i,Df.serialize(s)),this.abortOnClose=!!a,t&&t.addEventListener("abort",()=>{var r;this._abort.raise(new Error((r=t.reason)!=null?r:"Popup aborted"))}),e.closePopupWindowAfterInSeconds&&e.closePopupWindowAfterInSeconds>0&&setTimeout(()=>{if(!this._window||typeof this._window.closed!="boolean"||this._window.closed){this._abort.raise(new Error("Popup blocked by user"));return}this.close()},e.closePopupWindowAfterInSeconds*CE)}async navigate(i){var e;(e=this._window)==null||e.focus();const t=setInterval(()=>{(!this._window||this._window.closed)&&(this._logger.debug("Popup closed by user or isolated by redirect"),a(),this._disposeHandlers.delete(a),this.abortOnClose&&this._abort.raise(new Error("Popup closed by user")))},SE),a=()=>clearInterval(t);return this._disposeHandlers.add(a),await super.navigate(i)}close(){this._window&&(this._window.closed||(this._window.close(),this._abort.raise(new Error("Popup closed")))),this._window=null}static notifyOpener(i,e){super._notifyParent(window.opener,i,e),!e&&!window.opener&&window.close()}},EE=class{constructor(i){this._settings=i,this._logger=new _e("PopupNavigator")}async prepare({popupWindowFeatures:i=this._settings.popupWindowFeatures,popupWindowTarget:e=this._settings.popupWindowTarget,popupSignal:t,popupAbortOnClose:a}){return new Nf({popupWindowFeatures:i,popupWindowTarget:e,popupSignal:t,popupAbortOnClose:a})}async callback(i,{keepOpen:e=!1}){this._logger.create("callback"),Nf.notifyOpener(i,e)}},ME=class{constructor(i){this._settings=i,this._logger=new _e("RedirectNavigator")}async prepare({redirectMethod:i=this._settings.redirectMethod,redirectTarget:e=this._settings.redirectTarget}){var t;this._logger.create("prepare");let a=window.self;e==="top"&&(a=(t=window.top)!=null?t:window.self);const s=a.location[i].bind(a.location);let r;return{navigate:async n=>(this._logger.create("navigate"),await new Promise((l,c)=>{r=c,window.addEventListener("pageshow",()=>l(window.location.href)),s(n.url)})),close:()=>{this._logger.create("close"),r==null||r(new Error("Redirect aborted")),a.stop()}}}async callback(){}},PE=class extends iE{constructor(i){super({expiringNotificationTimeInSeconds:i.accessTokenExpiringNotificationTimeInSeconds}),this._logger=new _e("UserManagerEvents"),this._userLoaded=new na("User loaded"),this._userUnloaded=new na("User unloaded"),this._silentRenewError=new na("Silent renew error"),this._userSignedIn=new na("User signed in"),this._userSignedOut=new na("User signed out"),this._userSessionChanged=new na("User session changed")}async load(i,e=!0){await super.load(i),e&&await this._userLoaded.raise(i)}async unload(){await super.unload(),await this._userUnloaded.raise()}addUserLoaded(i){return this._userLoaded.addHandler(i)}removeUserLoaded(i){return this._userLoaded.removeHandler(i)}addUserUnloaded(i){return this._userUnloaded.addHandler(i)}removeUserUnloaded(i){return this._userUnloaded.removeHandler(i)}addSilentRenewError(i){return this._silentRenewError.addHandler(i)}removeSilentRenewError(i){return this._silentRenewError.removeHandler(i)}async _raiseSilentRenewError(i){await this._silentRenewError.raise(i)}addUserSignedIn(i){return this._userSignedIn.addHandler(i)}removeUserSignedIn(i){this._userSignedIn.removeHandler(i)}async _raiseUserSignedIn(){await this._userSignedIn.raise()}addUserSignedOut(i){return this._userSignedOut.addHandler(i)}removeUserSignedOut(i){this._userSignedOut.removeHandler(i)}async _raiseUserSignedOut(){await this._userSignedOut.raise()}addUserSessionChanged(i){return this._userSessionChanged.addHandler(i)}removeUserSessionChanged(i){this._userSessionChanged.removeHandler(i)}async _raiseUserSessionChanged(){await this._userSessionChanged.raise()}},_E=class{constructor(i){this._userManager=i,this._logger=new _e("SilentRenewService"),this._isStarted=!1,this._retryTimer=new Ui("Retry Silent Renew"),this._tokenExpiring=async()=>{const e=this._logger.create("_tokenExpiring");try{await this._userManager.signinSilent(),e.debug("silent token renewal successful")}catch(t){if(t instanceof rd){e.warn("ErrorTimeout from signinSilent:",t,"retry in 5s"),this._retryTimer.init(5);return}e.error("Error from signinSilent:",t),await this._userManager.events._raiseSilentRenewError(t)}}}async start(){const i=this._logger.create("start");if(!this._isStarted){this._isStarted=!0,this._userManager.events.addAccessTokenExpiring(this._tokenExpiring),this._retryTimer.addHandler(this._tokenExpiring);try{await this._userManager.getUser()}catch(e){i.error("getUser error",e)}}}stop(){this._isStarted&&(this._retryTimer.cancel(),this._retryTimer.removeHandler(this._tokenExpiring),this._userManager.events.removeAccessTokenExpiring(this._tokenExpiring),this._isStarted=!1)}},IE=class{constructor(i){this.refresh_token=i.refresh_token,this.id_token=i.id_token,this.session_state=i.session_state,this.scope=i.scope,this.profile=i.profile,this.data=i.state}},TE=class{constructor(i,e,t,a){this._logger=new _e("UserManager"),this.settings=new kE(i),this._client=new vE(i),this._redirectNavigator=e??new ME(this.settings),this._popupNavigator=t??new EE(this.settings),this._iframeNavigator=a??new AE(this.settings),this._events=new PE(this.settings),this._silentRenewService=new _E(this),this.settings.automaticSilentRenew&&this.startSilentRenew(),this._sessionMonitor=null,this.settings.monitorSession&&(this._sessionMonitor=new xE(this))}get events(){return this._events}get metadataService(){return this._client.metadataService}async getUser(i=!1){const e=this._logger.create("getUser"),t=await this._loadUser();return t?(e.info("user loaded"),await this._events.load(t,i),t):(e.info("user not found in storage"),null)}async removeUser(){const i=this._logger.create("removeUser");await this.storeUser(null),i.info("user removed from storage"),await this._events.unload()}async signinRedirect(i={}){var e;this._logger.create("signinRedirect");const{redirectMethod:t,...a}=i;let s;(e=this.settings.dpop)!=null&&e.bind_authorization_code&&(s=await this.generateDPoPJkt(this.settings.dpop));const r=await this._redirectNavigator.prepare({redirectMethod:t});await this._signinStart({request_type:"si:r",dpopJkt:s,...a},r)}async signinRedirectCallback(i=window.location.href){const e=this._logger.create("signinRedirectCallback"),t=await this._signinEnd(i);return t.profile&&t.profile.sub?e.info("success, signed in subject",t.profile.sub):e.info("no subject"),t}async signinResourceOwnerCredentials({username:i,password:e,skipUserInfo:t=!1}){const a=this._logger.create("signinResourceOwnerCredential"),s=await this._client.processResourceOwnerPasswordCredentials({username:i,password:e,skipUserInfo:t,extraTokenParams:this.settings.extraTokenParams});a.debug("got signin response");const r=await this._buildUser(s);return r.profile&&r.profile.sub?a.info("success, signed in subject",r.profile.sub):a.info("no subject"),r}async signinPopup(i={}){var e;const t=this._logger.create("signinPopup");let a;(e=this.settings.dpop)!=null&&e.bind_authorization_code&&(a=await this.generateDPoPJkt(this.settings.dpop));const{popupWindowFeatures:s,popupWindowTarget:r,popupSignal:n,popupAbortOnClose:o,...l}=i,c=this.settings.popup_redirect_uri;c||t.throw(new Error("No popup_redirect_uri configured"));const u=await this._popupNavigator.prepare({popupWindowFeatures:s,popupWindowTarget:r,popupSignal:n,popupAbortOnClose:o}),d=await this._signin({request_type:"si:p",redirect_uri:c,display:"popup",dpopJkt:a,...l},u);return d&&(d.profile&&d.profile.sub?t.info("success, signed in subject",d.profile.sub):t.info("no subject")),d}async signinPopupCallback(i=window.location.href,e=!1){const t=this._logger.create("signinPopupCallback");await this._popupNavigator.callback(i,{keepOpen:e}),t.info("success")}async signinSilent(i={}){var e,t;const a=this._logger.create("signinSilent"),{silentRequestTimeoutInSeconds:s,...r}=i;let n=await this._loadUser();if(!i.forceIframeAuth&&(n!=null&&n.refresh_token)){a.debug("using refresh token");const d=new IE(n);return await this._useRefreshToken({state:d,redirect_uri:r.redirect_uri,resource:r.resource,extraTokenParams:r.extraTokenParams,timeoutInSeconds:s})}let o;(e=this.settings.dpop)!=null&&e.bind_authorization_code&&(o=await this.generateDPoPJkt(this.settings.dpop));const l=this.settings.silent_redirect_uri;l||a.throw(new Error("No silent_redirect_uri configured"));let c;n&&this.settings.validateSubOnSilentRenew&&(a.debug("subject prior to silent renew:",n.profile.sub),c=n.profile.sub);const u=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:s});return n=await this._signin({request_type:"si:s",redirect_uri:l,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?n==null?void 0:n.id_token:void 0,dpopJkt:o,...r},u,c),n&&((t=n.profile)!=null&&t.sub?a.info("success, signed in subject",n.profile.sub):a.info("no subject")),n}async _useRefreshToken(i){const e=await this._client.useRefreshToken({timeoutInSeconds:this.settings.silentRequestTimeoutInSeconds,...i}),t=new Pl({...i.state,...e});return await this.storeUser(t),await this._events.load(t),t}async signinSilentCallback(i=window.location.href){const e=this._logger.create("signinSilentCallback");await this._iframeNavigator.callback(i),e.info("success")}async signinCallback(i=window.location.href){const{state:e}=await this._client.readSigninResponseState(i);switch(e.request_type){case"si:r":return await this.signinRedirectCallback(i);case"si:p":await this.signinPopupCallback(i);break;case"si:s":await this.signinSilentCallback(i);break;default:throw new Error("invalid response_type in state")}}async signoutCallback(i=window.location.href,e=!1){const{state:t}=await this._client.readSignoutResponseState(i);if(t)switch(t.request_type){case"so:r":return await this.signoutRedirectCallback(i);case"so:p":await this.signoutPopupCallback(i,e);break;case"so:s":await this.signoutSilentCallback(i);break;default:throw new Error("invalid response_type in state")}}async querySessionStatus(i={}){const e=this._logger.create("querySessionStatus"),{silentRequestTimeoutInSeconds:t,...a}=i,s=this.settings.silent_redirect_uri;s||e.throw(new Error("No silent_redirect_uri configured"));const r=await this._loadUser(),n=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:t}),o=await this._signinStart({request_type:"si:s",redirect_uri:s,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?r==null?void 0:r.id_token:void 0,response_type:this.settings.query_status_response_type,scope:"openid",skipUserInfo:!0,...a},n);try{const l={},c=await this._client.processSigninResponse(o.url,l);return e.debug("got signin response"),c.session_state&&c.profile.sub?(e.info("success for subject",c.profile.sub),{session_state:c.session_state,sub:c.profile.sub}):(e.info("success, user not authenticated"),null)}catch(l){if(this.settings.monitorAnonymousSession&&l instanceof $a)switch(l.error){case"login_required":case"consent_required":case"interaction_required":case"account_selection_required":return e.info("success for anonymous user"),{session_state:l.session_state}}throw l}}async _signin(i,e,t){const a=await this._signinStart(i,e);return await this._signinEnd(a.url,t)}async _signinStart(i,e){const t=this._logger.create("_signinStart");try{const a=await this._client.createSigninRequest(i);return t.debug("got signin request"),await e.navigate({url:a.url,state:a.state.id,response_mode:a.state.response_mode,scriptOrigin:this.settings.iframeScriptOrigin})}catch(a){throw t.debug("error after preparing navigator, closing navigator window"),e.close(),a}}async _signinEnd(i,e){const t=this._logger.create("_signinEnd"),a={},s=await this._client.processSigninResponse(i,a);return t.debug("got signin response"),await this._buildUser(s,e)}async _buildUser(i,e){const t=this._logger.create("_buildUser"),a=new Pl(i);if(e){if(e!==a.profile.sub)throw t.debug("current user does not match user returned from signin. sub from signin:",a.profile.sub),new $a({...i,error:"login_required"});t.debug("current user matches user returned from signin")}return await this.storeUser(a),t.debug("user stored"),await this._events.load(a),a}async signoutRedirect(i={}){const e=this._logger.create("signoutRedirect"),{redirectMethod:t,...a}=i,s=await this._redirectNavigator.prepare({redirectMethod:t});await this._signoutStart({request_type:"so:r",post_logout_redirect_uri:this.settings.post_logout_redirect_uri,...a},s),e.info("success")}async signoutRedirectCallback(i=window.location.href){const e=this._logger.create("signoutRedirectCallback"),t=await this._signoutEnd(i);return e.info("success"),t}async signoutPopup(i={}){const e=this._logger.create("signoutPopup"),{popupWindowFeatures:t,popupWindowTarget:a,popupSignal:s,...r}=i,n=this.settings.popup_post_logout_redirect_uri,o=await this._popupNavigator.prepare({popupWindowFeatures:t,popupWindowTarget:a,popupSignal:s});await this._signout({request_type:"so:p",post_logout_redirect_uri:n,state:n==null?void 0:{},...r},o),e.info("success")}async signoutPopupCallback(i=window.location.href,e=!1){const t=this._logger.create("signoutPopupCallback");await this._popupNavigator.callback(i,{keepOpen:e}),t.info("success")}async _signout(i,e){const t=await this._signoutStart(i,e);return await this._signoutEnd(t.url)}async _signoutStart(i={},e){var t;const a=this._logger.create("_signoutStart");try{const s=await this._loadUser();a.debug("loaded current user from storage"),this.settings.revokeTokensOnSignout&&await this._revokeInternal(s);const r=i.id_token_hint||s&&s.id_token;r&&(a.debug("setting id_token_hint in signout request"),i.id_token_hint=r),await this.removeUser(),a.debug("user removed, creating signout request");const n=await this._client.createSignoutRequest(i);return a.debug("got signout request"),await e.navigate({url:n.url,state:(t=n.state)==null?void 0:t.id,scriptOrigin:this.settings.iframeScriptOrigin})}catch(s){throw a.debug("error after preparing navigator, closing navigator window"),e.close(),s}}async _signoutEnd(i){const e=this._logger.create("_signoutEnd"),t=await this._client.processSignoutResponse(i);return e.debug("got signout response"),t}async signoutSilent(i={}){var e;const t=this._logger.create("signoutSilent"),{silentRequestTimeoutInSeconds:a,...s}=i,r=this.settings.includeIdTokenInSilentSignout?(e=await this._loadUser())==null?void 0:e.id_token:void 0,n=this.settings.popup_post_logout_redirect_uri,o=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:a});await this._signout({request_type:"so:s",post_logout_redirect_uri:n,id_token_hint:r,...s},o),t.info("success")}async signoutSilentCallback(i=window.location.href){const e=this._logger.create("signoutSilentCallback");await this._iframeNavigator.callback(i),e.info("success")}async revokeTokens(i){const e=await this._loadUser();await this._revokeInternal(e,i)}async _revokeInternal(i,e=this.settings.revokeTokenTypes){const t=this._logger.create("_revokeInternal");if(!i)return;const a=e.filter(s=>typeof i[s]=="string");if(!a.length){t.debug("no need to revoke due to no token(s)");return}for(const s of a)await this._client.revokeToken(i[s],s),t.info(`${s} revoked successfully`),s!=="access_token"&&(i[s]=null);await this.storeUser(i),t.debug("user stored"),await this._events.load(i)}startSilentRenew(){this._logger.create("startSilentRenew"),this._silentRenewService.start()}stopSilentRenew(){this._silentRenewService.stop()}get _userStoreKey(){return`user:${this.settings.authority}:${this.settings.client_id}`}async _loadUser(){const i=this._logger.create("_loadUser"),e=await this.settings.userStore.get(this._userStoreKey);return e?(i.debug("user storageString loaded"),Pl.fromStorageString(e)):(i.debug("no user storageString"),null)}async storeUser(i){const e=this._logger.create("storeUser");if(i){e.debug("storing user");const t=i.toStorageString();await this.settings.userStore.set(this._userStoreKey,t)}else this._logger.debug("removing user"),await this.settings.userStore.remove(this._userStoreKey),this.settings.dpop&&await this.settings.dpop.store.remove(this.settings.client_id)}async clearStaleState(){await this._client.clearStaleState()}async dpopProof(i,e,t,a){var s,r;const n=await((r=(s=this.settings.dpop)==null?void 0:s.store)==null?void 0:r.get(this.settings.client_id));if(n)return await ct.generateDPoPProof({url:i,accessToken:e==null?void 0:e.access_token,httpMethod:t,keyPair:n.keys,nonce:a})}async generateDPoPJkt(i){let e=await i.store.get(this.settings.client_id);if(!e){const t=await ct.generateDPoPKeys();e=new zb(t),await i.store.set(this.settings.client_id,e)}return await ct.generateDPoPJkt(e.keys)}};const Me="account",xn={getMe(){return ue.get(`/${Me}/me/`)},updateMe(i){return ue.put(`/${Me}/me/`,i)},checkPassword(i){return ue.post(`/${Me}/me/password/`,{password:i})},setPassword(i){return ue.post(`/${Me}/me/password/change/`,i,{ignoreErrors:!0})},verifyTFACode(i){const e={code:i};return ue.post(`${Me}/tfa/verify/`,e)},startTFASetup(){return ue.post(`${Me}/tfa/setup/`)},getKeyForTFASetup(){return ue.get(`${Me}/tfa/setup/key/`)},finalizeTFASetup(i){const e={pin_code:i};return ue.post(`${Me}/tfa/setup/check/`,e)},disableTFA(i){return ue.post(`${Me}/tfa/disable/`,i)},resetRecoveryCodes(i){return ue.post(`${Me}/tfa/reset_codes/`,i)},getForward(){return ue.get(`${Me}/forward/`)},setForward(i){return ue.post(`${Me}/forward/`,i)},getAPIToken(){return ue.get(`${Me}/api_token/`)},createAPIToken(){return ue.post(`${Me}/api_token/`)},deleteAPIToken(){return ue.delete(`${Me}/api_token/`)},getARMessage(){return ue.get(`${Me}/armessage/`)},setARMessage(i){return ue.put(`${Me}/armessage/`,i)},getFilterSets(){return ue.get(`${Me}/filtersets/`)},downloadFilterSet(i){return ue.get(`${Me}/filtersets/${i}/download/`)},createFilterSet(i){return ue.post(`${Me}/filtersets/`,i)},activateFilterSet(i){return ue.post(`${Me}/filtersets/${i}/activate/`)},deactivateActiveFilterSet(){return ue.post(`${Me}/filtersets/deactivate_active/`)},deleteFilterSet(i){return ue.delete(`${Me}/filtersets/${i}/`)},saveFilterSet(i,e){return ue.put(`${Me}/filtersets/${i}/`,e)},getFilterConditionTemplates(){return ue.get(`${Me}/filtersets/condition_templates/`)},getFilterActionTemplates(){return ue.get(`${Me}/filtersets/action_templates/`)},getFilters(i){return ue.get(`${Me}/filtersets/${i}/filters/`)},createFilter(i,e){return ue.post(`${Me}/filtersets/${i}/filters/`,e)},updateFilter(i,e,t){return ue.put(`${Me}/filtersets/${i}/filters/${e}/`,t)},disableFilter(i,e){return ue.post(`${Me}/filtersets/${i}/filters/${e}/disable/`)},moveFilterDown(i,e){return ue.post(`${Me}/filtersets/${i}/filters/${e}/move_down/`)},moveFilterUp(i,e){return ue.post(`${Me}/filtersets/${i}/filters/${e}/move_up/`)},enableFilter(i,e){return ue.post(`${Me}/filtersets/${i}/filters/${e}/enable/`)},deleteFilter(i,e){return ue.delete(`${Me}/filtersets/${i}/filters/${e}/`)},getAvailableApplications(){return ue.get(`${Me}/available_applications/`)}},yn={requestToken(i){return ue.post("/token/",i)},recoverPassword(i){return ue.post("/password_reset/",i)},checkSmsTotp(i){return ue.post("/sms_totp/",i)},changePassword(i){return ue.post("/reset_confirm/",i)},beginFidoRegistration(){return ue.post("/fido/registration/begin/")},endFidoRegistration(i){return ue.post("/fido/registration/end/",i)},getAllFidoRegistred(){return ue.get("/fido/")},deleteFido(i){return ue.delete(`/fido/${i}/`)},editFido(i,e){return ue.put(`/fido/${i}/`,e)}};function Of(i){return i.startsWith("http")?i:`${location.protocol}//${location.host}${i}`}const Go=rb("auth",()=>{const i=Bx(),e=nt(null),t=nt(!1);let a=Of(i.OAUTH_REDIRECT_URI),s=Of(i.OAUTH_POST_REDIRECT_URI);const{current:r}=Rm(),n=new TE({authority:i.OAUTH_AUTHORITY_URL,client_id:i.OAUTH_CLIENT_ID,redirect_uri:a,post_logout_redirect_uri:s,response_type:"code",scope:"openid read write",automaticSilentRenew:!0,accessTokenExpiringNotificationTime:60,monitorSession:!0,filterProtocolClaims:!0,loadUserInfo:!0}),o=nt([]),l=Xe(()=>e.value.mailbox!==null),c=Xe(()=>{if(e.value.language.indexOf("-")!==-1){const w=e.value.language.split("-");return`${w[0]}_${w[1].toUpperCase()}`}return e.value.language});async function u(){const w=await xn.getMe();e.value=w.data,ja.current=c.value,r.value=c.value,t.value=!0}async function d(){return yn.getAllFidoRegistred().then(w=>(o.value=w.data,o.value.length>0&&(e.value.tfa_enabled=!0,e.value.webauthn_enabled=!0),w))}async function h(w){return yn.endFidoRegistration(w).then(S=>(d(),S))}async function f(w){return yn.deleteFido(w).then(S=>{o.value=o.value.filter(C=>C.id!==w),e.value.tfa_enabled=S.data.tfa_enabled,S.data.tfa_enabled||(e.value.webauthn_enabled=!1)})}async function g(w,S){return yn.editFido(w,S).then(C=>{for(let E=0;E<o.value.length;E++)if(o.value[E].id===w){o.value[E]=C.data;break}return C})}function p(){return n.getUser().then(w=>w?w.access_token:null)}async function m(){const w=await n.getUser();return!w||w.expired?!1:(ue.defaults.headers.common.Authorization=`Bearer ${w.access_token}`,ue.defaults.headers.post["Content-Type"]="application/json",t.value||await u(),!0)}async function b(){try{await n.signinRedirect()}catch(w){console.error("Error logging in:",w)}}async function v(w){try{const S=await n.signinCallback();t.value=!0;const C=sessionStorage.getItem("previousPage");return C?window.location.href=C:ua.push(w),S}catch(S){return console.error("Error completing login:",S),ua.push({name:"Dashboard"}),null}}async function x(){delete ue.defaults.headers.common.Authorization,e.value={},t.value=!1,n.signoutRedirect()}async function k(w){return xn.updateMe(w).then(S=>{const C={...e.value,...S.data};delete C.password,e.value={...C},c.value in ja.available&&(ja.current=c.value,r.value=c.value)})}async function y(w){return xn.setPassword(w)}function A(w){return xn.finalizeTFASetup(w).then(S=>{const C=Nc.withAttributes({sameSite:"strict"});return C.set("token",S.data.access),C.set("refreshToken",S.data.refresh),u(),S})}return{authUser:e,accountLanguage:c,completeLogin:v,isAuthenticated:t,userHasMailbox:l,fidoCreds:o,validateAccess:m,fetchUser:u,getAccessToken:p,getFidoCreds:d,addFidoCred:h,deleteFidoCreds:f,editFidoCred:g,login:b,$reset:x,updateAccount:k,updatePassword:y,finalizeTFASetup:A}}),DE=rb("bus",()=>{const i=nt(""),e=nt(""),t=nt(2e3),a=nt(1),s=nt(1);async function r(){i.value="",e.value="",t.value=2e3,a.value=1,s.value=1}function n(c){i.value=c.msg,e.value=c.type?c.type:"success",c.timeout!==void 0&&(t.value=c.timeout)}function o(){i.value=""}function l(){s.value++}return{notification:i,notificationColor:e,displayNotification:n,hideNotification:o,reloadMailboxCounters:l,dataKey:a,mbCounterKey:s,$reset:r}}),LE=HS(),RE=1,NE=2,OE="SuperAdmins",FE="Resellers",zE="DomainAdmins",BE="SimpleUsers",ce={ALARM_OPENED:RE,ALARM_CLOSED:NE,SUPER_ADMIN:OE,RESELLER:FE,DOMAIN_ADMIN:zE,USER:BE},HE=[{path:"/login",component:()=>we(()=>import("./EmptyLayout-DAw7fAab.js"),__vite__mapDeps([0,1,2,3,4,5])),children:[{path:"",name:"Login",component:()=>we(()=>import("./LoginView-BtC9BHuJ.js"),__vite__mapDeps([6,7,2,8,9,10,11]))},{path:"logged",name:"LoginCallback",component:()=>we(()=>import("./LoginCallbackView-Nh_gmh8e.js"),__vite__mapDeps([12,13,11,2,8,7,9,10])),props:{redirectUrl:"/admin"}}]},{path:"/admin",component:()=>we(()=>import("./AdminLayout-DFmyKOo6.js"),__vite__mapDeps([14,15,16,13,11,2,8,1,3,4,5,17,18,19,9,10,20,21,22,23,24,25,26,27,7,28,29,30,31])),meta:{allowedRoles:[ce.DOMAIN_ADMIN,ce.RESELLER,ce.SUPER_ADMIN]},children:[{path:"",name:"Dashboard",component:()=>we(()=>import("./DashboardView-DErmyUoy.js"),__vite__mapDeps([32,33,26,2,19,9,10,20,27,34,35,36,37,38,39,40,21,4,22,41,42,43,44,45,46,47,15,48,49,7,8,50])),meta:{requiresAuth:!0}},{path:"domains",component:()=>we(()=>import("./EmptyLayout-DAw7fAab.js"),__vite__mapDeps([0,1,2,3,4,5])),meta:{requiresAuth:!0,allowedRoles:[ce.DOMAIN_ADMIN,ce.RESELLER,ce.SUPER_ADMIN]},children:[{path:"",name:"DomainList",component:()=>we(()=>import("./DomainsView-CC1EwRId.js"),__vite__mapDeps([51,52,53,54,55,2,39,19,9,10,20,40,21,4,22,26,27,38,41,56,37,42,43,44,45,46,57,58,59,60,8,15,61,62,48,49,63,64,7,17,65,66,11,28,29,67,68,69,70,71,72,73,74,75,76,77,78,79,36,34,35,47,80,24,25,81,82,83,84,85])),meta:{requiresAuth:!0,allowedRoles:[ce.DOMAIN_ADMIN,ce.RESELLER,ce.SUPER_ADMIN]}},{path:":id",name:"DomainDetail",meta:{requiresAuth:!0,allowedRoles:[ce.DOMAIN_ADMIN,ce.RESELLER,ce.SUPER_ADMIN]},component:()=>we(()=>import("./DomainView-Bd5XQI-1.js"),__vite__mapDeps([86,78,19,2,9,10,20,75,52,26,27,79,36,37,38,39,40,21,4,22,41,42,43,44,45,34,35,46,47,56,57,7,8,87,48,49,60,28,29,88,89,76,77,62,63,64,71,90,91,92,72,73,93,11,94,55,95,96,97,98,99,65,66,100,23,101]))},{path:":id/edit",name:"DomainEdit",meta:{requiresAuth:!0,allowedRoles:[ce.DOMAIN_ADMIN,ce.RESELLER,ce.SUPER_ADMIN]},component:()=>we(()=>import("./DomainEditView-BXylM4aB.js"),__vite__mapDeps([102,68,69,19,2,9,10,20,70,55,39,40,21,4,22,38,41,58,43,44,59,71,56,37,42,45,46,57,72,73,93,7,8,11,15,94,52,88,89,103,48,49,104]))}]},{path:"imap_migration",component:()=>we(()=>import("./EmptyLayout-DAw7fAab.js"),__vite__mapDeps([0,1,2,3,4,5])),meta:{requiresAuth:!0,allowedRoles:[ce.DOMAIN_ADMIN,ce.RESELLER,ce.SUPER_ADMIN]},children:[{path:"migrations",name:"MigrationsList",component:()=>we(()=>import("./MigrationsView-DSBk8T0y.js"),__vite__mapDeps([105,80,21,19,2,9,10,20,4,22,36,37,38,39,40,41,42,43,44,45,34,35,46,47,48,49,60,8,26,27,106])),meta:{requiresAuth:!0,allowedRoles:[ce.RESELLER,ce.SUPER_ADMIN]}},{path:"providers",component:()=>we(()=>import("./EmptyLayout-DAw7fAab.js"),__vite__mapDeps([0,1,2,3,4,5])),meta:{requiresAuth:!0,allowedRoles:[ce.RESELLER,ce.SUPER_ADMIN]},children:[{path:"",name:"ProvidersList",component:()=>we(()=>import("./ProvidersView-CHvQf3Vv.js"),__vite__mapDeps([107,61,62,48,2,19,9,10,20,49,26,27,60,8,63,21,4,22,64,7,17,65,66,11,28,29,67,108,38,39,40,41,56,37,42,43,44,45,46,57,55,103,52,58,59,109,80,36,34,35,47,110])),meta:{requiresAuth:!0,allowedRoles:[ce.RESELLER,ce.SUPER_ADMIN]}},{path:"providers/:id/edit",name:"ProviderEdit",component:()=>we(()=>import("./ProviderEditView-PEAr7MA1.js"),__vite__mapDeps([111,108,38,19,2,9,10,20,39,40,21,4,22,41,56,37,42,43,44,45,46,57,55,60,8,103,52,58,59,109,88,89,7])),meta:{requiresAuth:!0,allowedRoles:[ce.RESELLER,ce.SUPER_ADMIN]}}]}]},{path:"identities",component:()=>we(()=>import("./EmptyLayout-DAw7fAab.js"),__vite__mapDeps([0,1,2,3,4,5])),meta:{requiresAuth:!0,allowedRoles:[ce.DOMAIN_ADMIN,ce.RESELLER,ce.SUPER_ADMIN]},children:[{path:"",name:"Identities",component:()=>we(()=>import("./IdentitiesView-CiHIQ9Qt.js"),__vite__mapDeps([112,80,21,19,2,9,10,20,4,22,62,48,49,26,27,60,8,63,64,72,42,43,39,40,44,73,75,113,54,37,38,41,45,90,91,81,36,34,35,46,47,114,115,103,52,116,55,58,59,117,118,61,7,17,65,66,11,28,29,67,119,69,70,76,77,74,120,53,82,83,84,121])),meta:{requiresAuth:!0,allowedRoles:[ce.DOMAIN_ADMIN,ce.RESELLER,ce.SUPER_ADMIN]}},{path:"accounts/:id",name:"AccountDetail",component:()=>we(()=>import("./AccountView-CloBP1BY.js"),__vite__mapDeps([122,53,75,15,26,2,19,9,10,20,27,37,38,39,40,21,4,22,41,42,43,44,45,36,34,35,46,47,123,124,7,8,48,49,125])),meta:{requiresAuth:!0,allowedRoles:[ce.DOMAIN_ADMIN,ce.RESELLER,ce.SUPER_ADMIN]}},{path:"accounts/:id/edit",name:"AccountEdit",component:()=>we(()=>import("./AccountEditView-LkP_qhf_.js"),__vite__mapDeps([126,119,69,19,2,9,10,20,70,7,8,76,77,55,39,40,21,4,22,74,75,38,41,58,43,44,59,115,103,52,116,37,42,45,120,56,46,57,123,124,94,93,11,15,53,88,89,48,49,127])),meta:{requiresAuth:!0,allowedRoles:[ce.DOMAIN_ADMIN,ce.RESELLER,ce.SUPER_ADMIN]}},{path:"aliases/:id",name:"AliasDetail",component:()=>we(()=>import("./AliasView-DvvI6cV9.js"),__vite__mapDeps([128,26,2,19,9,10,20,27,7,8,113,48,49,129])),meta:{requiresAuth:!0,allowedRoles:[ce.DOMAIN_ADMIN,ce.RESELLER,ce.SUPER_ADMIN]}},{path:"aliases/:id/edit",name:"AliasEdit",component:()=>we(()=>import("./AliasEditView-BVjNJekt.js"),__vite__mapDeps([130,114,113,115,38,19,2,9,10,20,39,40,21,4,22,41,103,52,116,55,58,43,44,59,37,42,45,117,118,93,7,8,11,88,89,48,49,131])),meta:{requiresAuth:!0,allowedRoles:[ce.DOMAIN_ADMIN,ce.RESELLER,ce.SUPER_ADMIN]}}]},{path:"parameters/:app",name:"ParametersEdit",component:()=>we(()=>import("./ParametersView-B8W_PAiz.js"),__vite__mapDeps([132,15,133,134,19,2,9,10,20,21,4,22,135,99,65,66,37,38,39,40,41,42,43,44,45,100,11,8,26,27,58,59,117,118,136,87,96,28,29,97,137,138,48,49,23,31,139])),meta:{requiresAuth:!0,allowedRoles:[ce.SUPER_ADMIN]}},{path:"alarms",name:"Alarms",component:()=>we(()=>import("./AlarmsView-CFhH0I5d.js"),__vite__mapDeps([140,54,80,21,19,2,9,10,20,4,22,37,38,39,40,41,42,43,44,45,48,49,81,36,34,35,46,47,26,27,141])),meta:{requiresAuth:!0}},{path:"monitoring/statistics",name:"Statistics",component:()=>we(()=>import("./StatisticsView-BZkVSh5o.js"),__vite__mapDeps([142,95,19,2,9,10,20,60,8,96,28,29,97,38,39,40,21,4,22,41,48,49,11,7,26,27,98,3,143])),meta:{requiresAuth:!0,allowedRoles:[ce.SUPER_ADMIN]}},{path:"monitoring/audit_trail",name:"AuditTrail",component:()=>we(()=>import("./AuditTrailView-Cyq25Jle.js"),__vite__mapDeps([144,145,54,81,36,19,2,9,10,20,37,38,39,40,21,4,22,41,42,43,44,45,34,35,46,47,48,49,26,27,146])),meta:{requiresAuth:!0,allowedRoles:[ce.SUPER_ADMIN]}},{path:"monitoring/messages",name:"MessageLog",component:()=>we(()=>import("./MessagesView-CesYYZ9f.js"),__vite__mapDeps([147,145,54,48,2,19,9,10,20,49,38,39,40,21,4,22,41,81,36,37,42,43,44,45,34,35,46,47,26,27,148])),meta:{requiresAuth:!0,allowedRoles:[ce.DOMAIN_ADMIN,ce.RESELLER,ce.SUPER_ADMIN]}},{path:"information",name:"Information",component:()=>we(()=>import("./InformationView-Cc0aBA5j.js"),__vite__mapDeps([149,33,48,2,19,9,10,20,49,26,27,76,77,79,36,37,38,39,40,21,4,22,41,42,43,44,45,34,35,46,47,23,150])),meta:{requiresAuth:!0,allowedRoles:[ce.SUPER_ADMIN]}}]},{path:"/account",component:()=>we(()=>import("./AccountLayout-APeC9bsN.js"),__vite__mapDeps([151,16,13,11,2,8,1,3,4,5,17,18,19,9,10,20,21,22,23,24,25,26,27,7,28,29,30,15])),meta:{requiresAuth:!0},children:[{path:"filters/:filterset?",name:"AccountFilters",component:()=>we(()=>import("./FiltersView-Cg9lkLw0.js"),__vite__mapDeps([152,55,2,39,19,9,10,20,40,21,4,22,26,27,38,41,58,43,44,59,60,8,90,91,37,42,45,72,73,80,48,49,36,34,35,46,47,63,64,56,57,117,118])),meta:{requiresAuth:!0,requiresMailbox:!0}},{path:"parameters/:app",name:"AccountParametersEdit",component:()=>we(()=>import("./ParametersView-Dsx2M_g9.js"),__vite__mapDeps([153,133,134,19,2,9,10,20,21,4,22,135,99,65,66,37,38,39,40,41,42,43,44,45,100,11,8,26,27,58,59,117,118,136,87,96,28,29,97,137,138,15,48,49,154])),meta:{requiresAuth:!0}},{path:":tab?",name:"AccountSettings",component:()=>we(()=>import("./SettingsView-Dgwpfd8O.js"),__vite__mapDeps([155,124,74,75,55,2,39,19,9,10,20,40,21,4,22,38,41,7,8,58,43,44,59,76,77,88,89,56,37,42,45,46,57,26,27,34,35,60,63,64,117,118,72,73,62,48,49,79,36,47,99,65,66,100,156])),meta:{requiresAuth:!0}}]},{path:"/user",meta:{requiresAuth:!0},children:[{path:"",name:"UserDashboard",component:()=>we(()=>import("./DashboardView-DErmyUoy.js"),__vite__mapDeps([32,33,26,2,19,9,10,20,27,34,35,36,37,38,39,40,21,4,22,41,42,43,44,45,46,47,15,48,49,7,8,50])),meta:{requiresAuth:!0}},{path:"contacts",component:()=>we(()=>import("./UserLayout-CWK9ICfE.js"),__vite__mapDeps([157,16,13,11,2,8,1,3,4,5,17,18,19,9,10,20,21,22,23,24,25,26,27,7,28,29,30])),meta:{requiresAuth:!0,requiresMailbox:!0},children:[{path:":category?",name:"ContactList",component:()=>we(()=>import("./AddressBook-C03MXg3y.js"),__vite__mapDeps([158,159,15,26,2,19,9,10,20,27,76,77,60,8,55,39,40,21,4,22,38,41,7,37,42,43,44,45,117,118,72,73,80,36,34,35,46,47,48,49,63,64,18])),meta:{requiresAuth:!0}}]},{path:"calendars",component:()=>we(()=>import("./UserLayout-CWK9ICfE.js"),__vite__mapDeps([157,16,13,11,2,8,1,3,4,5,17,18,19,9,10,20,21,22,23,24,25,26,27,7,28,29,30])),meta:{requiresAuth:!0,requiresMailbox:!0},children:[{path:"",name:"CalendarView",component:()=>we(()=>import("./CalendarView-C_dSXRp9.js"),__vite__mapDeps([160,26,2,19,9,10,20,27,55,39,40,21,4,22,37,38,41,42,43,44,45,72,73,60,8,34,35,7,136,87,96,28,29,97,137,76,77,62,48,49,63,64,117,118,83,84,18])),meta:{requiresAuth:!0,requiresMailbox:!0}}]},{path:"webmail",component:()=>we(()=>import("./WebmailLayout-D7J-QJ-0.js"),__vite__mapDeps([161,17,62,48,2,19,9,10,20,49,26,27,60,8,63,21,4,22,64,16,13,11,1,3,5,18,23,24,25,7,28,29,30,162,163,55,39,40,38,41,164])),meta:{requiresAuth:!0,requiresMailbox:!0},children:[{path:"",name:"MailboxView",component:()=>we(()=>import("./MailboxView-DplC0IXR.js"),__vite__mapDeps([165,162,48,2,19,9,10,20,49,72,42,43,39,40,44,21,4,22,73,38,41,60,8,26,27,76,77,163,166])),meta:{requiresAuth:!0,requiresMailbox:!0}},{path:"view",name:"EmailView",component:()=>we(()=>import("./EmailView-DPWTch_6.js"),__vite__mapDeps([167,162,159,21,19,2,9,10,20,4,22,26,27,48,49,60,8,63,64,168])),meta:{requiresAuth:!0,requiresMailbox:!0}},{path:"compose",name:"ComposeEmailView",component:()=>we(()=>import("./ComposeEmailView-DgUfiWEH.js"),__vite__mapDeps([169,170,54,162,55,2,39,19,9,10,20,40,21,4,22,26,27,83,38,41,37,42,43,44,45,84,34,35,60,8,134,135,117,118,159,48,49,7,46,63,64,171])),meta:{requiresAuth:!0,requiresMailbox:!0}},{path:"reply",name:"ReplyEmailView",component:()=>we(()=>import("./ReplyEmailView-CwQ9jsce.js"),__vite__mapDeps([172,170,54,162,55,2,39,19,9,10,20,40,21,4,22,26,27,83,38,41,37,42,43,44,45,84,34,35,60,8,134,135,117,118,159,48,49,7,46,63,64,171])),meta:{requiresAuth:!0,requiresMailbox:!0}},{path:"forward",name:"ForwardEmailView",component:()=>we(()=>import("./ForwardEmailView-Dd1sxgaP.js"),__vite__mapDeps([173,170,54,162,55,2,39,19,9,10,20,40,21,4,22,26,27,83,38,41,37,42,43,44,45,84,34,35,60,8,134,135,117,118,159,48,49,7,46,63,64,171])),meta:{requiresAuth:!0,requiresMailbox:!0}}]},{path:"quarantine",component:()=>we(()=>import("./QuarantineLayout-BWEaBK48.js"),__vite__mapDeps([174,16,13,11,2,8,1,3,4,5,17,18,19,9,10,20,21,22,23,24,25,26,27,7,28,29,30])),meta:{requiresAuth:!0},children:[{path:"",name:"QuarantineView",component:()=>we(()=>import("./QuarantineView-BzjeDhTm.js"),__vite__mapDeps([175,54,176,53,15,62,48,2,19,9,10,20,49,26,27,60,8,63,21,4,22,64,92,37,38,39,40,41,42,43,44,45,90,91,81,36,34,35,46,47,177])),meta:{requiresAuth:!0}},{path:":mailid/:rcpt",name:"QuarantineMessageView",component:()=>we(()=>import("./MessageView-C1Goz-hY.js"),__vite__mapDeps([178,176,53,15,62,48,2,19,9,10,20,49,26,27,60,8,63,21,4,22,64,92,76,77,7,90,43,39,40,44,91])),meta:{requiresAuth:!0}}]},{path:"selfquarantine",component:()=>we(()=>import("./SelfServiceLayout-DQgRMu0L.js"),__vite__mapDeps([179,16,13,11,2,8,1,3,4,5,17,18,19,9,10,20,21,22,23,24,25,26,27,7,28,29,30])),props:{loadTheme:!1},meta:{requiresAuth:!1},children:[{path:":mailid/:rcpt",name:"SelfQuarantineMessageView",component:()=>we(()=>import("./MessageView-C1Goz-hY.js"),__vite__mapDeps([178,176,53,15,62,48,2,19,9,10,20,49,26,27,60,8,63,21,4,22,64,92,76,77,7,90,43,39,40,44,91]))}]}]},{path:"/:pathMatch(.*)*",name:"NotFound",redirect:{name:"Dashboard",params:{}}}],ua=BS({history:bS("/"),routes:HE});ua.beforeEach(async(i,e,t)=>{var s;const a=Bx();if(document.title=a.HTML_PAGE_TITLE?a.HTML_PAGE_TITLE:"Welcome to Modoboa",((s=i.meta)==null?void 0:s.requiresAuth)===!0){const r=window.location.href;sessionStorage.setItem("previousPage",r);const n=Go();if(await n.validateAccess()){if(i.meta.allowedRoles!==void 0&&i.meta.allowedRoles.indexOf(n.authUser.role)===-1){t({name:"AccountSettings"});return}if(i.meta.requiresMailbox&&!n.authUser.mailbox){t({name:"Dashboard"});return}}else{t({name:"Login"});return}}t()});class Ja extends Error{}class WE extends Ja{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class jE extends Ja{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class VE extends Ja{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class ps extends Ja{}class Ub extends Ja{constructor(e){super(`Invalid unit ${e}`)}}class yt extends Ja{}class ea extends Ja{constructor(){super("Zone is an abstract class")}}const Q="numeric",bi="short",qt="long",ho={year:Q,month:Q,day:Q},Xb={year:Q,month:bi,day:Q},YE={year:Q,month:bi,day:Q,weekday:bi},qb={year:Q,month:qt,day:Q},Gb={year:Q,month:qt,day:Q,weekday:qt},$b={hour:Q,minute:Q},Kb={hour:Q,minute:Q,second:Q},Zb={hour:Q,minute:Q,second:Q,timeZoneName:bi},Jb={hour:Q,minute:Q,second:Q,timeZoneName:qt},Qb={hour:Q,minute:Q,hourCycle:"h23"},ev={hour:Q,minute:Q,second:Q,hourCycle:"h23"},tv={hour:Q,minute:Q,second:Q,hourCycle:"h23",timeZoneName:bi},iv={hour:Q,minute:Q,second:Q,hourCycle:"h23",timeZoneName:qt},av={year:Q,month:Q,day:Q,hour:Q,minute:Q},sv={year:Q,month:Q,day:Q,hour:Q,minute:Q,second:Q},rv={year:Q,month:bi,day:Q,hour:Q,minute:Q},nv={year:Q,month:bi,day:Q,hour:Q,minute:Q,second:Q},UE={year:Q,month:bi,day:Q,weekday:bi,hour:Q,minute:Q},ov={year:Q,month:qt,day:Q,hour:Q,minute:Q,timeZoneName:bi},lv={year:Q,month:qt,day:Q,hour:Q,minute:Q,second:Q,timeZoneName:bi},cv={year:Q,month:qt,day:Q,weekday:qt,hour:Q,minute:Q,timeZoneName:qt},uv={year:Q,month:qt,day:Q,weekday:qt,hour:Q,minute:Q,second:Q,timeZoneName:qt};class Zr{get type(){throw new ea}get name(){throw new ea}get ianaName(){return this.name}get isUniversal(){throw new ea}offsetName(e,t){throw new ea}formatOffset(e,t){throw new ea}offset(e){throw new ea}equals(e){throw new ea}get isValid(){throw new ea}}let _l=null;class $o extends Zr{static get instance(){return _l===null&&(_l=new $o),_l}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:a}){return wv(e,t,a)}formatOffset(e,t){return mr(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}const Yc=new Map;function XE(i){let e=Yc.get(i);return e===void 0&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:i,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Yc.set(i,e)),e}const qE={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function GE(i,e){const t=i.format(e).replace(/\u200E/g,""),a=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(t),[,s,r,n,o,l,c,u]=a;return[n,s,r,o,l,c,u]}function $E(i,e){const t=i.formatToParts(e),a=[];for(let s=0;s<t.length;s++){const{type:r,value:n}=t[s],o=qE[r];r==="era"?a[o]=n:ye(o)||(a[o]=parseInt(n,10))}return a}const Il=new Map;class Xi extends Zr{static create(e){let t=Il.get(e);return t===void 0&&Il.set(e,t=new Xi(e)),t}static resetCache(){Il.clear(),Yc.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=Xi.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:a}){return wv(e,t,a,this.name)}formatOffset(e,t){return mr(this.offset(e),t)}offset(e){if(!this.valid)return NaN;const t=new Date(e);if(isNaN(t))return NaN;const a=XE(this.name);let[s,r,n,o,l,c,u]=a.formatToParts?$E(a,t):GE(a,t);o==="BC"&&(s=-Math.abs(s)+1);const h=Zo({year:s,month:r,day:n,hour:l===24?0:l,minute:c,second:u,millisecond:0});let f=+t;const g=f%1e3;return f-=g>=0?g:1e3+g,(h-f)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let Ff={};function KE(i,e={}){const t=JSON.stringify([i,e]);let a=Ff[t];return a||(a=new Intl.ListFormat(i,e),Ff[t]=a),a}const Uc=new Map;function Xc(i,e={}){const t=JSON.stringify([i,e]);let a=Uc.get(t);return a===void 0&&(a=new Intl.DateTimeFormat(i,e),Uc.set(t,a)),a}const qc=new Map;function ZE(i,e={}){const t=JSON.stringify([i,e]);let a=qc.get(t);return a===void 0&&(a=new Intl.NumberFormat(i,e),qc.set(t,a)),a}const Gc=new Map;function JE(i,e={}){const{base:t,...a}=e,s=JSON.stringify([i,a]);let r=Gc.get(s);return r===void 0&&(r=new Intl.RelativeTimeFormat(i,e),Gc.set(s,r)),r}let ar=null;function QE(){return ar||(ar=new Intl.DateTimeFormat().resolvedOptions().locale,ar)}const $c=new Map;function dv(i){let e=$c.get(i);return e===void 0&&(e=new Intl.DateTimeFormat(i).resolvedOptions(),$c.set(i,e)),e}const Kc=new Map;function eM(i){let e=Kc.get(i);if(!e){const t=new Intl.Locale(i);e="getWeekInfo"in t?t.getWeekInfo():t.weekInfo,"minimalDays"in e||(e={...hv,...e}),Kc.set(i,e)}return e}function tM(i){const e=i.indexOf("-x-");e!==-1&&(i=i.substring(0,e));const t=i.indexOf("-u-");if(t===-1)return[i];{let a,s;try{a=Xc(i).resolvedOptions(),s=i}catch{const l=i.substring(0,t);a=Xc(l).resolvedOptions(),s=l}const{numberingSystem:r,calendar:n}=a;return[s,r,n]}}function iM(i,e,t){return(t||e)&&(i.includes("-u-")||(i+="-u"),t&&(i+=`-ca-${t}`),e&&(i+=`-nu-${e}`)),i}function aM(i){const e=[];for(let t=1;t<=12;t++){const a=xe.utc(2009,t,1);e.push(i(a))}return e}function sM(i){const e=[];for(let t=1;t<=7;t++){const a=xe.utc(2016,11,13+t);e.push(i(a))}return e}function wn(i,e,t,a){const s=i.listingMode();return s==="error"?null:s==="en"?t(e):a(e)}function rM(i){return i.numberingSystem&&i.numberingSystem!=="latn"?!1:i.numberingSystem==="latn"||!i.locale||i.locale.startsWith("en")||dv(i.locale).numberingSystem==="latn"}class nM{constructor(e,t,a){this.padTo=a.padTo||0,this.floor=a.floor||!1;const{padTo:s,floor:r,...n}=a;if(!t||Object.keys(n).length>0){const o={useGrouping:!1,...a};a.padTo>0&&(o.minimumIntegerDigits=a.padTo),this.inf=ZE(e,o)}}format(e){if(this.inf){const t=this.floor?Math.floor(e):e;return this.inf.format(t)}else{const t=this.floor?Math.floor(e):dd(e,3);return lt(t,this.padTo)}}}class oM{constructor(e,t,a){this.opts=a,this.originalZone=void 0;let s;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){const n=-1*(e.offset/60),o=n>=0?`Etc/GMT+${n}`:`Etc/GMT${n}`;e.offset!==0&&Xi.create(o).valid?(s=o,this.dt=e):(s="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const r={...this.opts};r.timeZone=r.timeZone||s,this.dtf=Xc(t,r)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(t=>{if(t.type==="timeZoneName"){const a=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:a}}else return t}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class lM{constructor(e,t,a){this.opts={style:"long",...a},!t&&xv()&&(this.rtf=JE(e,a))}format(e,t){return this.rtf?this.rtf.format(e,t):IM(t,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}const hv={firstDay:1,minimalDays:4,weekend:[6,7]};class We{static fromOpts(e){return We.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,a,s,r=!1){const n=e||tt.defaultLocale,o=n||(r?"en-US":QE()),l=t||tt.defaultNumberingSystem,c=a||tt.defaultOutputCalendar,u=Jc(s)||tt.defaultWeekSettings;return new We(o,l,c,u,n)}static resetCache(){ar=null,Uc.clear(),qc.clear(),Gc.clear(),$c.clear(),Kc.clear()}static fromObject({locale:e,numberingSystem:t,outputCalendar:a,weekSettings:s}={}){return We.create(e,t,a,s)}constructor(e,t,a,s,r){const[n,o,l]=tM(e);this.locale=n,this.numberingSystem=t||o||null,this.outputCalendar=a||l||null,this.weekSettings=s,this.intl=iM(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=rM(this)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),t=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&t?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:We.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,Jc(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1){return wn(this,e,Sv,()=>{const a=this.intl==="ja"||this.intl.startsWith("ja-");t&=!a;const s=t?{month:e,day:"numeric"}:{month:e},r=t?"format":"standalone";if(!this.monthsCache[r][e]){const n=a?o=>this.dtFormatter(o,s).format():o=>this.extract(o,s,"month");this.monthsCache[r][e]=aM(n)}return this.monthsCache[r][e]})}weekdays(e,t=!1){return wn(this,e,Mv,()=>{const a=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},s=t?"format":"standalone";return this.weekdaysCache[s][e]||(this.weekdaysCache[s][e]=sM(r=>this.extract(r,a,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return wn(this,void 0,()=>Pv,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[xe.utc(2016,11,13,9),xe.utc(2016,11,13,19)].map(t=>this.extract(t,e,"dayperiod"))}return this.meridiemCache})}eras(e){return wn(this,e,_v,()=>{const t={era:e};return this.eraCache[e]||(this.eraCache[e]=[xe.utc(-40,1,1),xe.utc(2017,1,1)].map(a=>this.extract(a,t,"era"))),this.eraCache[e]})}extract(e,t,a){const s=this.dtFormatter(e,t),r=s.formatToParts(),n=r.find(o=>o.type.toLowerCase()===a);return n?n.value:null}numberFormatter(e={}){return new nM(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new oM(e,this.intl,t)}relFormatter(e={}){return new lM(this.intl,this.isEnglish(),e)}listFormatter(e={}){return KE(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||dv(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:yv()?eM(this.locale):hv}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Tl=null;class Rt extends Zr{static get utcInstance(){return Tl===null&&(Tl=new Rt(0)),Tl}static instance(e){return e===0?Rt.utcInstance:new Rt(e)}static parseSpecifier(e){if(e){const t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new Rt(Jo(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${mr(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${mr(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return mr(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}class cM extends Zr{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function la(i,e){if(ye(i)||i===null)return e;if(i instanceof Zr)return i;if(pM(i)){const t=i.toLowerCase();return t==="default"?e:t==="local"||t==="system"?$o.instance:t==="utc"||t==="gmt"?Rt.utcInstance:Rt.parseSpecifier(t)||Xi.create(i)}else return ha(i)?Rt.instance(i):typeof i=="object"&&"offset"in i&&typeof i.offset=="function"?i:new cM(i)}const od={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},zf={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},uM=od.hanidec.replace(/[\[|\]]/g,"").split("");function dM(i){let e=parseInt(i,10);if(isNaN(e)){e="";for(let t=0;t<i.length;t++){const a=i.charCodeAt(t);if(i[t].search(od.hanidec)!==-1)e+=uM.indexOf(i[t]);else for(const s in zf){const[r,n]=zf[s];a>=r&&a<=n&&(e+=a-r)}}return parseInt(e,10)}else return e}const Zc=new Map;function hM(){Zc.clear()}function ni({numberingSystem:i},e=""){const t=i||"latn";let a=Zc.get(t);a===void 0&&(a=new Map,Zc.set(t,a));let s=a.get(e);return s===void 0&&(s=new RegExp(`${od[t]}${e}`),a.set(e,s)),s}let Bf=()=>Date.now(),Hf="system",Wf=null,jf=null,Vf=null,Yf=60,Uf,Xf=null;class tt{static get now(){return Bf}static set now(e){Bf=e}static set defaultZone(e){Hf=e}static get defaultZone(){return la(Hf,$o.instance)}static get defaultLocale(){return Wf}static set defaultLocale(e){Wf=e}static get defaultNumberingSystem(){return jf}static set defaultNumberingSystem(e){jf=e}static get defaultOutputCalendar(){return Vf}static set defaultOutputCalendar(e){Vf=e}static get defaultWeekSettings(){return Xf}static set defaultWeekSettings(e){Xf=Jc(e)}static get twoDigitCutoffYear(){return Yf}static set twoDigitCutoffYear(e){Yf=e%100}static get throwOnInvalid(){return Uf}static set throwOnInvalid(e){Uf=e}static resetCaches(){We.resetCache(),Xi.resetCache(),xe.resetCache(),hM()}}class ui{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const fv=[0,31,59,90,120,151,181,212,243,273,304,334],gv=[0,31,60,91,121,152,182,213,244,274,305,335];function ti(i,e){return new ui("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${i}, which is invalid`)}function ld(i,e,t){const a=new Date(Date.UTC(i,e-1,t));i<100&&i>=0&&a.setUTCFullYear(a.getUTCFullYear()-1900);const s=a.getUTCDay();return s===0?7:s}function pv(i,e,t){return t+(Jr(i)?gv:fv)[e-1]}function mv(i,e){const t=Jr(i)?gv:fv,a=t.findIndex(r=>r<e),s=e-t[a];return{month:a+1,day:s}}function cd(i,e){return(i-e+7)%7+1}function fo(i,e=4,t=1){const{year:a,month:s,day:r}=i,n=pv(a,s,r),o=cd(ld(a,s,r),t);let l=Math.floor((n-o+14-e)/7),c;return l<1?(c=a-1,l=Dr(c,e,t)):l>Dr(a,e,t)?(c=a+1,l=1):c=a,{weekYear:c,weekNumber:l,weekday:o,...Qo(i)}}function qf(i,e=4,t=1){const{weekYear:a,weekNumber:s,weekday:r}=i,n=cd(ld(a,1,e),t),o=ks(a);let l=s*7+r-n-7+e,c;l<1?(c=a-1,l+=ks(c)):l>o?(c=a+1,l-=ks(a)):c=a;const{month:u,day:d}=mv(c,l);return{year:c,month:u,day:d,...Qo(i)}}function Dl(i){const{year:e,month:t,day:a}=i,s=pv(e,t,a);return{year:e,ordinal:s,...Qo(i)}}function Gf(i){const{year:e,ordinal:t}=i,{month:a,day:s}=mv(e,t);return{year:e,month:a,day:s,...Qo(i)}}function $f(i,e){if(!ye(i.localWeekday)||!ye(i.localWeekNumber)||!ye(i.localWeekYear)){if(!ye(i.weekday)||!ye(i.weekNumber)||!ye(i.weekYear))throw new ps("Cannot mix locale-based week fields with ISO-based week fields");return ye(i.localWeekday)||(i.weekday=i.localWeekday),ye(i.localWeekNumber)||(i.weekNumber=i.localWeekNumber),ye(i.localWeekYear)||(i.weekYear=i.localWeekYear),delete i.localWeekday,delete i.localWeekNumber,delete i.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function fM(i,e=4,t=1){const a=Ko(i.weekYear),s=ii(i.weekNumber,1,Dr(i.weekYear,e,t)),r=ii(i.weekday,1,7);return a?s?r?!1:ti("weekday",i.weekday):ti("week",i.weekNumber):ti("weekYear",i.weekYear)}function gM(i){const e=Ko(i.year),t=ii(i.ordinal,1,ks(i.year));return e?t?!1:ti("ordinal",i.ordinal):ti("year",i.year)}function bv(i){const e=Ko(i.year),t=ii(i.month,1,12),a=ii(i.day,1,go(i.year,i.month));return e?t?a?!1:ti("day",i.day):ti("month",i.month):ti("year",i.year)}function vv(i){const{hour:e,minute:t,second:a,millisecond:s}=i,r=ii(e,0,23)||e===24&&t===0&&a===0&&s===0,n=ii(t,0,59),o=ii(a,0,59),l=ii(s,0,999);return r?n?o?l?!1:ti("millisecond",s):ti("second",a):ti("minute",t):ti("hour",e)}function ye(i){return typeof i>"u"}function ha(i){return typeof i=="number"}function Ko(i){return typeof i=="number"&&i%1===0}function pM(i){return typeof i=="string"}function mM(i){return Object.prototype.toString.call(i)==="[object Date]"}function xv(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function yv(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function bM(i){return Array.isArray(i)?i:[i]}function Kf(i,e,t){if(i.length!==0)return i.reduce((a,s)=>{const r=[e(s),s];return a&&t(a[0],r[0])===a[0]?a:r},null)[1]}function vM(i,e){return e.reduce((t,a)=>(t[a]=i[a],t),{})}function Ds(i,e){return Object.prototype.hasOwnProperty.call(i,e)}function Jc(i){if(i==null)return null;if(typeof i!="object")throw new yt("Week settings must be an object");if(!ii(i.firstDay,1,7)||!ii(i.minimalDays,1,7)||!Array.isArray(i.weekend)||i.weekend.some(e=>!ii(e,1,7)))throw new yt("Invalid week settings");return{firstDay:i.firstDay,minimalDays:i.minimalDays,weekend:Array.from(i.weekend)}}function ii(i,e,t){return Ko(i)&&i>=e&&i<=t}function xM(i,e){return i-e*Math.floor(i/e)}function lt(i,e=2){const t=i<0;let a;return t?a="-"+(""+-i).padStart(e,"0"):a=(""+i).padStart(e,"0"),a}function oa(i){if(!(ye(i)||i===null||i===""))return parseInt(i,10)}function Sa(i){if(!(ye(i)||i===null||i===""))return parseFloat(i)}function ud(i){if(!(ye(i)||i===null||i==="")){const e=parseFloat("0."+i)*1e3;return Math.floor(e)}}function dd(i,e,t="round"){const a=10**e;switch(t){case"expand":return i>0?Math.ceil(i*a)/a:Math.floor(i*a)/a;case"trunc":return Math.trunc(i*a)/a;case"round":return Math.round(i*a)/a;case"floor":return Math.floor(i*a)/a;case"ceil":return Math.ceil(i*a)/a;default:throw new RangeError(`Value rounding ${t} is out of range`)}}function Jr(i){return i%4===0&&(i%100!==0||i%400===0)}function ks(i){return Jr(i)?366:365}function go(i,e){const t=xM(e-1,12)+1,a=i+(e-t)/12;return t===2?Jr(a)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][t-1]}function Zo(i){let e=Date.UTC(i.year,i.month-1,i.day,i.hour,i.minute,i.second,i.millisecond);return i.year<100&&i.year>=0&&(e=new Date(e),e.setUTCFullYear(i.year,i.month-1,i.day)),+e}function Zf(i,e,t){return-cd(ld(i,1,e),t)+e-1}function Dr(i,e=4,t=1){const a=Zf(i,e,t),s=Zf(i+1,e,t);return(ks(i)-a+s)/7}function Qc(i){return i>99?i:i>tt.twoDigitCutoffYear?1900+i:2e3+i}function wv(i,e,t,a=null){const s=new Date(i),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};a&&(r.timeZone=a);const n={timeZoneName:e,...r},o=new Intl.DateTimeFormat(t,n).formatToParts(s).find(l=>l.type.toLowerCase()==="timezonename");return o?o.value:null}function Jo(i,e){let t=parseInt(i,10);Number.isNaN(t)&&(t=0);const a=parseInt(e,10)||0,s=t<0||Object.is(t,-0)?-a:a;return t*60+s}function kv(i){const e=Number(i);if(typeof i=="boolean"||i===""||!Number.isFinite(e))throw new yt(`Invalid unit value ${i}`);return e}function po(i,e){const t={};for(const a in i)if(Ds(i,a)){const s=i[a];if(s==null)continue;t[e(a)]=kv(s)}return t}function mr(i,e){const t=Math.trunc(Math.abs(i/60)),a=Math.trunc(Math.abs(i%60)),s=i>=0?"+":"-";switch(e){case"short":return`${s}${lt(t,2)}:${lt(a,2)}`;case"narrow":return`${s}${t}${a>0?`:${a}`:""}`;case"techie":return`${s}${lt(t,2)}${lt(a,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Qo(i){return vM(i,["hour","minute","second","millisecond"])}const yM=["January","February","March","April","May","June","July","August","September","October","November","December"],Av=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wM=["J","F","M","A","M","J","J","A","S","O","N","D"];function Sv(i){switch(i){case"narrow":return[...wM];case"short":return[...Av];case"long":return[...yM];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Cv=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Ev=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],kM=["M","T","W","T","F","S","S"];function Mv(i){switch(i){case"narrow":return[...kM];case"short":return[...Ev];case"long":return[...Cv];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Pv=["AM","PM"],AM=["Before Christ","Anno Domini"],SM=["BC","AD"],CM=["B","A"];function _v(i){switch(i){case"narrow":return[...CM];case"short":return[...SM];case"long":return[...AM];default:return null}}function EM(i){return Pv[i.hour<12?0:1]}function MM(i,e){return Mv(e)[i.weekday-1]}function PM(i,e){return Sv(e)[i.month-1]}function _M(i,e){return _v(e)[i.year<0?0:1]}function IM(i,e,t="always",a=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=["hours","minutes","seconds"].indexOf(i)===-1;if(t==="auto"&&r){const d=i==="days";switch(e){case 1:return d?"tomorrow":`next ${s[i][0]}`;case-1:return d?"yesterday":`last ${s[i][0]}`;case 0:return d?"today":`this ${s[i][0]}`}}const n=Object.is(e,-0)||e<0,o=Math.abs(e),l=o===1,c=s[i],u=a?l?c[1]:c[2]||c[1]:l?s[i][0]:i;return n?`${o} ${u} ago`:`in ${o} ${u}`}function Jf(i,e){let t="";for(const a of i)a.literal?t+=a.val:t+=e(a.val);return t}const TM={D:ho,DD:Xb,DDD:qb,DDDD:Gb,t:$b,tt:Kb,ttt:Zb,tttt:Jb,T:Qb,TT:ev,TTT:tv,TTTT:iv,f:av,ff:rv,fff:ov,ffff:cv,F:sv,FF:nv,FFF:lv,FFFF:uv};class Et{static create(e,t={}){return new Et(e,t)}static parseFormat(e){let t=null,a="",s=!1;const r=[];for(let n=0;n<e.length;n++){const o=e.charAt(n);o==="'"?((a.length>0||s)&&r.push({literal:s||/^\s+$/.test(a),val:a===""?"'":a}),t=null,a="",s=!s):s||o===t?a+=o:(a.length>0&&r.push({literal:/^\s+$/.test(a),val:a}),a=o,t=o)}return a.length>0&&r.push({literal:s||/^\s+$/.test(a),val:a}),r}static macroTokenToFormatOpts(e){return TM[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0,a=void 0){if(this.opts.forceSimple)return lt(e,t);const s={...this.opts};return t>0&&(s.padTo=t),a&&(s.signDisplay=a),this.loc.numberFormatter(s).format(e)}formatDateTimeFromString(e,t){const a=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",r=(f,g)=>this.loc.extract(e,f,g),n=f=>e.isOffsetFixed&&e.offset===0&&f.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,f.format):"",o=()=>a?EM(e):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(f,g)=>a?PM(e,f):r(g?{month:f}:{month:f,day:"numeric"},"month"),c=(f,g)=>a?MM(e,f):r(g?{weekday:f}:{weekday:f,month:"long",day:"numeric"},"weekday"),u=f=>{const g=Et.macroTokenToFormatOpts(f);return g?this.formatWithSystemDefault(e,g):f},d=f=>a?_M(e,f):r({era:f},"era"),h=f=>{switch(f){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return n({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return n({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return n({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return o();case"d":return s?r({day:"numeric"},"day"):this.num(e.day);case"dd":return s?r({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?r({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?r({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return s?r({month:"numeric"},"month"):this.num(e.month);case"MM":return s?r({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return s?r({year:"numeric"},"year"):this.num(e.year);case"yy":return s?r({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?r({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?r({year:"numeric"},"year"):this.num(e.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return u(f)}};return Jf(Et.parseFormat(t),h)}formatDurationFromString(e,t){const a=this.opts.signMode==="negativeLargestOnly"?-1:1,s=u=>{switch(u[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},r=(u,d)=>h=>{const f=s(h);if(f){const g=d.isNegativeDuration&&f!==d.largestUnit?a:1;let p;return this.opts.signMode==="negativeLargestOnly"&&f!==d.largestUnit?p="never":this.opts.signMode==="all"?p="always":p="auto",this.num(u.get(f)*g,h.length,p)}else return h},n=Et.parseFormat(t),o=n.reduce((u,{literal:d,val:h})=>d?u:u.concat(h),[]),l=e.shiftTo(...o.map(s).filter(u=>u)),c={isNegativeDuration:l<0,largestUnit:Object.keys(l.values)[0]};return Jf(n,r(l,c))}}const Iv=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function zs(...i){const e=i.reduce((t,a)=>t+a.source,"");return RegExp(`^${e}$`)}function Bs(...i){return e=>i.reduce(([t,a,s],r)=>{const[n,o,l]=r(e,s);return[{...t,...n},o||a,l]},[{},null,1]).slice(0,2)}function Hs(i,...e){if(i==null)return[null,null];for(const[t,a]of e){const s=t.exec(i);if(s)return a(s)}return[null,null]}function Tv(...i){return(e,t)=>{const a={};let s;for(s=0;s<i.length;s++)a[i[s]]=oa(e[t+s]);return[a,null,t+s]}}const Dv=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,DM=`(?:${Dv.source}?(?:\\[(${Iv.source})\\])?)?`,hd=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Lv=RegExp(`${hd.source}${DM}`),fd=RegExp(`(?:[Tt]${Lv.source})?`),LM=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,RM=/(\d{4})-?W(\d\d)(?:-?(\d))?/,NM=/(\d{4})-?(\d{3})/,OM=Tv("weekYear","weekNumber","weekDay"),FM=Tv("year","ordinal"),zM=/(\d{4})-(\d\d)-(\d\d)/,Rv=RegExp(`${hd.source} ?(?:${Dv.source}|(${Iv.source}))?`),BM=RegExp(`(?: ${Rv.source})?`);function As(i,e,t){const a=i[e];return ye(a)?t:oa(a)}function HM(i,e){return[{year:As(i,e),month:As(i,e+1,1),day:As(i,e+2,1)},null,e+3]}function Ws(i,e){return[{hours:As(i,e,0),minutes:As(i,e+1,0),seconds:As(i,e+2,0),milliseconds:ud(i[e+3])},null,e+4]}function Qr(i,e){const t=!i[e]&&!i[e+1],a=Jo(i[e+1],i[e+2]),s=t?null:Rt.instance(a);return[{},s,e+3]}function en(i,e){const t=i[e]?Xi.create(i[e]):null;return[{},t,e+1]}const WM=RegExp(`^T?${hd.source}$`),jM=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function VM(i){const[e,t,a,s,r,n,o,l,c]=i,u=e[0]==="-",d=l&&l[0]==="-",h=(f,g=!1)=>f!==void 0&&(g||f&&u)?-f:f;return[{years:h(Sa(t)),months:h(Sa(a)),weeks:h(Sa(s)),days:h(Sa(r)),hours:h(Sa(n)),minutes:h(Sa(o)),seconds:h(Sa(l),l==="-0"),milliseconds:h(ud(c),d)}]}const YM={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function gd(i,e,t,a,s,r,n){const o={year:e.length===2?Qc(oa(e)):oa(e),month:Av.indexOf(t)+1,day:oa(a),hour:oa(s),minute:oa(r)};return n&&(o.second=oa(n)),i&&(o.weekday=i.length>3?Cv.indexOf(i)+1:Ev.indexOf(i)+1),o}const UM=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function XM(i){const[,e,t,a,s,r,n,o,l,c,u,d]=i,h=gd(e,s,a,t,r,n,o);let f;return l?f=YM[l]:c?f=0:f=Jo(u,d),[h,new Rt(f)]}function qM(i){return i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const GM=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,$M=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,KM=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Qf(i){const[,e,t,a,s,r,n,o]=i;return[gd(e,s,a,t,r,n,o),Rt.utcInstance]}function ZM(i){const[,e,t,a,s,r,n,o]=i;return[gd(e,o,t,a,s,r,n),Rt.utcInstance]}const JM=zs(LM,fd),QM=zs(RM,fd),eP=zs(NM,fd),tP=zs(Lv),Nv=Bs(HM,Ws,Qr,en),iP=Bs(OM,Ws,Qr,en),aP=Bs(FM,Ws,Qr,en),sP=Bs(Ws,Qr,en);function rP(i){return Hs(i,[JM,Nv],[QM,iP],[eP,aP],[tP,sP])}function nP(i){return Hs(qM(i),[UM,XM])}function oP(i){return Hs(i,[GM,Qf],[$M,Qf],[KM,ZM])}function lP(i){return Hs(i,[jM,VM])}const cP=Bs(Ws);function uP(i){return Hs(i,[WM,cP])}const dP=zs(zM,BM),hP=zs(Rv),fP=Bs(Ws,Qr,en);function gP(i){return Hs(i,[dP,Nv],[hP,fP])}const eg="Invalid Duration",Ov={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},pP={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...Ov},Zt=146097/400,rs=146097/4800,mP={years:{quarters:4,months:12,weeks:Zt/7,days:Zt,hours:Zt*24,minutes:Zt*24*60,seconds:Zt*24*60*60,milliseconds:Zt*24*60*60*1e3},quarters:{months:3,weeks:Zt/28,days:Zt/4,hours:Zt*24/4,minutes:Zt*24*60/4,seconds:Zt*24*60*60/4,milliseconds:Zt*24*60*60*1e3/4},months:{weeks:rs/7,days:rs,hours:rs*24,minutes:rs*24*60,seconds:rs*24*60*60,milliseconds:rs*24*60*60*1e3},...Ov},Da=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],bP=Da.slice(0).reverse();function Oi(i,e,t=!1){const a={values:t?e.values:{...i.values,...e.values||{}},loc:i.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||i.conversionAccuracy,matrix:e.matrix||i.matrix};return new Le(a)}function Fv(i,e){let t=e.milliseconds??0;for(const a of bP.slice(1))e[a]&&(t+=e[a]*i[a].milliseconds);return t}function tg(i,e){const t=Fv(i,e)<0?-1:1;Da.reduceRight((a,s)=>{if(ye(e[s]))return a;if(a){const r=e[a]*t,n=i[s][a],o=Math.floor(r/n);e[s]+=o*t,e[a]-=o*n*t}return s},null),Da.reduce((a,s)=>{if(ye(e[s]))return a;if(a){const r=e[a]%1;e[a]-=r,e[s]+=r*i[a][s]}return s},null)}function ig(i){const e={};for(const[t,a]of Object.entries(i))a!==0&&(e[t]=a);return e}class Le{constructor(e){const t=e.conversionAccuracy==="longterm"||!1;let a=t?mP:pP;e.matrix&&(a=e.matrix),this.values=e.values,this.loc=e.loc||We.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=a,this.isLuxonDuration=!0}static fromMillis(e,t){return Le.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(e==null||typeof e!="object")throw new yt(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new Le({values:po(e,Le.normalizeUnit),loc:We.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(ha(e))return Le.fromMillis(e);if(Le.isDuration(e))return e;if(typeof e=="object")return Le.fromObject(e);throw new yt(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){const[a]=lP(e);return a?Le.fromObject(a,t):Le.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){const[a]=uP(e);return a?Le.fromObject(a,t):Le.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new yt("need to specify a reason the Duration is invalid");const a=e instanceof ui?e:new ui(e,t);if(tt.throwOnInvalid)throw new VE(a);return new Le({invalid:a})}static normalizeUnit(e){const t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!t)throw new Ub(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){const a={...t,floor:t.round!==!1&&t.floor!==!1};return this.isValid?Et.create(this.loc,a).formatDurationFromString(this,e):eg}toHuman(e={}){if(!this.isValid)return eg;const t=e.showZeros!==!1,a=Da.map(s=>{const r=this.values[s];return ye(r)||r===0&&!t?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:s.slice(0,-1)}).format(r)}).filter(s=>s);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(a)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=dd(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const t=this.toMillis();return t<0||t>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},xe.fromMillis(t,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Fv(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=Le.fromDurationLike(e),a={};for(const s of Da)(Ds(t.values,s)||Ds(this.values,s))&&(a[s]=t.get(s)+this.get(s));return Oi(this,{values:a},!0)}minus(e){if(!this.isValid)return this;const t=Le.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;const t={};for(const a of Object.keys(this.values))t[a]=kv(e(this.values[a],a));return Oi(this,{values:t},!0)}get(e){return this[Le.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const t={...this.values,...po(e,Le.normalizeUnit)};return Oi(this,{values:t})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:a,matrix:s}={}){const n={loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:s,conversionAccuracy:a};return Oi(this,n)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return tg(this.matrix,e),Oi(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=ig(this.normalize().shiftToAll().toObject());return Oi(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(n=>Le.normalizeUnit(n));const t={},a={},s=this.toObject();let r;for(const n of Da)if(e.indexOf(n)>=0){r=n;let o=0;for(const c in a)o+=this.matrix[c][n]*a[c],a[c]=0;ha(s[n])&&(o+=s[n]);const l=Math.trunc(o);t[n]=l,a[n]=(o*1e3-l*1e3)/1e3}else ha(s[n])&&(a[n]=s[n]);for(const n in a)a[n]!==0&&(t[r]+=n===r?a[n]:a[n]/this.matrix[r][n]);return tg(this.matrix,t),Oi(this,{values:t},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const t of Object.keys(this.values))e[t]=this.values[t]===0?0:-this.values[t];return Oi(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;const e=ig(this.values);return Oi(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function t(a,s){return a===void 0||a===0?s===void 0||s===0:a===s}for(const a of Da)if(!t(this.values[a],e.values[a]))return!1;return!0}}const ns="Invalid Interval";function vP(i,e){return!i||!i.isValid?Qe.invalid("missing or invalid start"):!e||!e.isValid?Qe.invalid("missing or invalid end"):e<i?Qe.invalid("end before start",`The end of an interval must be after its start, but you had start=${i.toISO()} and end=${e.toISO()}`):null}class Qe{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,t=null){if(!e)throw new yt("need to specify a reason the Interval is invalid");const a=e instanceof ui?e:new ui(e,t);if(tt.throwOnInvalid)throw new jE(a);return new Qe({invalid:a})}static fromDateTimes(e,t){const a=Qs(e),s=Qs(t),r=vP(a,s);return r??new Qe({start:a,end:s})}static after(e,t){const a=Le.fromDurationLike(t),s=Qs(e);return Qe.fromDateTimes(s,s.plus(a))}static before(e,t){const a=Le.fromDurationLike(t),s=Qs(e);return Qe.fromDateTimes(s.minus(a),s)}static fromISO(e,t){const[a,s]=(e||"").split("/",2);if(a&&s){let r,n;try{r=xe.fromISO(a,t),n=r.isValid}catch{n=!1}let o,l;try{o=xe.fromISO(s,t),l=o.isValid}catch{l=!1}if(n&&l)return Qe.fromDateTimes(r,o);if(n){const c=Le.fromISO(s,t);if(c.isValid)return Qe.after(r,c)}else if(l){const c=Le.fromISO(a,t);if(c.isValid)return Qe.before(o,c)}}return Qe.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",t){if(!this.isValid)return NaN;const a=this.start.startOf(e,t);let s;return t!=null&&t.useLocaleWeeks?s=this.end.reconfigure({locale:a.locale}):s=this.end,s=s.startOf(e,t),Math.floor(s.diff(a,e).get(e))+(s.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:t}={}){return this.isValid?Qe.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];const t=e.map(Qs).filter(n=>this.contains(n)).sort((n,o)=>n.toMillis()-o.toMillis()),a=[];let{s}=this,r=0;for(;s<this.e;){const n=t[r]||this.e,o=+n>+this.e?this.e:n;a.push(Qe.fromDateTimes(s,o)),s=o,r+=1}return a}splitBy(e){const t=Le.fromDurationLike(e);if(!this.isValid||!t.isValid||t.as("milliseconds")===0)return[];let{s:a}=this,s=1,r;const n=[];for(;a<this.e;){const o=this.start.plus(t.mapUnits(l=>l*s));r=+o>+this.e?this.e:o,n.push(Qe.fromDateTimes(a,r)),a=r,s+=1}return n}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const t=this.s>e.s?this.s:e.s,a=this.e<e.e?this.e:e.e;return t>=a?null:Qe.fromDateTimes(t,a)}union(e){if(!this.isValid)return this;const t=this.s<e.s?this.s:e.s,a=this.e>e.e?this.e:e.e;return Qe.fromDateTimes(t,a)}static merge(e){const[t,a]=e.sort((s,r)=>s.s-r.s).reduce(([s,r],n)=>r?r.overlaps(n)||r.abutsStart(n)?[s,r.union(n)]:[s.concat([r]),n]:[s,n],[[],null]);return a&&t.push(a),t}static xor(e){let t=null,a=0;const s=[],r=e.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),n=Array.prototype.concat(...r),o=n.sort((l,c)=>l.time-c.time);for(const l of o)a+=l.type==="s"?1:-1,a===1?t=l.time:(t&&+t!=+l.time&&s.push(Qe.fromDateTimes(t,l.time)),t=null);return Qe.merge(s)}difference(...e){return Qe.xor([this].concat(e)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:ns}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=ho,t={}){return this.isValid?Et.create(this.s.loc.clone(t),e).formatInterval(this):ns}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:ns}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:ns}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:ns}toFormat(e,{separator:t=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:ns}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):Le.invalid(this.invalidReason)}mapEndpoints(e){return Qe.fromDateTimes(e(this.s),e(this.e))}}class kn{static hasDST(e=tt.defaultZone){const t=xe.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return Xi.isValidZone(e)}static normalizeZone(e){return la(e,tt.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||We.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||We.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||We.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:a=null,locObj:s=null,outputCalendar:r="gregory"}={}){return(s||We.create(t,a,r)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:a=null,locObj:s=null,outputCalendar:r="gregory"}={}){return(s||We.create(t,a,r)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:a=null,locObj:s=null}={}){return(s||We.create(t,a,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:a=null,locObj:s=null}={}){return(s||We.create(t,a,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return We.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return We.create(t,null,"gregory").eras(e)}static features(){return{relative:xv(),localeWeek:yv()}}}function ag(i,e){const t=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),a=t(e)-t(i);return Math.floor(Le.fromMillis(a).as("days"))}function xP(i,e,t){const a=[["years",(l,c)=>c.year-l.year],["quarters",(l,c)=>c.quarter-l.quarter+(c.year-l.year)*4],["months",(l,c)=>c.month-l.month+(c.year-l.year)*12],["weeks",(l,c)=>{const u=ag(l,c);return(u-u%7)/7}],["days",ag]],s={},r=i;let n,o;for(const[l,c]of a)t.indexOf(l)>=0&&(n=l,s[l]=c(i,e),o=r.plus(s),o>e?(s[l]--,i=r.plus(s),i>e&&(o=i,s[l]--,i=r.plus(s))):i=o);return[i,s,o,n]}function yP(i,e,t,a){let[s,r,n,o]=xP(i,e,t);const l=e-s,c=t.filter(d=>["hours","minutes","seconds","milliseconds"].indexOf(d)>=0);c.length===0&&(n<e&&(n=s.plus({[o]:1})),n!==s&&(r[o]=(r[o]||0)+l/(n-s)));const u=Le.fromObject(r,a);return c.length>0?Le.fromMillis(l,a).shiftTo(...c).plus(u):u}const wP="missing Intl.DateTimeFormat.formatToParts support";function Ne(i,e=t=>t){return{regex:i,deser:([t])=>e(dM(t))}}const kP=" ",zv=`[ ${kP}]`,Bv=new RegExp(zv,"g");function AP(i){return i.replace(/\./g,"\\.?").replace(Bv,zv)}function sg(i){return i.replace(/\./g,"").replace(Bv," ").toLowerCase()}function oi(i,e){return i===null?null:{regex:RegExp(i.map(AP).join("|")),deser:([t])=>i.findIndex(a=>sg(t)===sg(a))+e}}function rg(i,e){return{regex:i,deser:([,t,a])=>Jo(t,a),groups:e}}function An(i){return{regex:i,deser:([e])=>e}}function SP(i){return i.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function CP(i,e){const t=ni(e),a=ni(e,"{2}"),s=ni(e,"{3}"),r=ni(e,"{4}"),n=ni(e,"{6}"),o=ni(e,"{1,2}"),l=ni(e,"{1,3}"),c=ni(e,"{1,6}"),u=ni(e,"{1,9}"),d=ni(e,"{2,4}"),h=ni(e,"{4,6}"),f=m=>({regex:RegExp(SP(m.val)),deser:([b])=>b,literal:!0}),p=(m=>{if(i.literal)return f(m);switch(m.val){case"G":return oi(e.eras("short"),0);case"GG":return oi(e.eras("long"),0);case"y":return Ne(c);case"yy":return Ne(d,Qc);case"yyyy":return Ne(r);case"yyyyy":return Ne(h);case"yyyyyy":return Ne(n);case"M":return Ne(o);case"MM":return Ne(a);case"MMM":return oi(e.months("short",!0),1);case"MMMM":return oi(e.months("long",!0),1);case"L":return Ne(o);case"LL":return Ne(a);case"LLL":return oi(e.months("short",!1),1);case"LLLL":return oi(e.months("long",!1),1);case"d":return Ne(o);case"dd":return Ne(a);case"o":return Ne(l);case"ooo":return Ne(s);case"HH":return Ne(a);case"H":return Ne(o);case"hh":return Ne(a);case"h":return Ne(o);case"mm":return Ne(a);case"m":return Ne(o);case"q":return Ne(o);case"qq":return Ne(a);case"s":return Ne(o);case"ss":return Ne(a);case"S":return Ne(l);case"SSS":return Ne(s);case"u":return An(u);case"uu":return An(o);case"uuu":return Ne(t);case"a":return oi(e.meridiems(),0);case"kkkk":return Ne(r);case"kk":return Ne(d,Qc);case"W":return Ne(o);case"WW":return Ne(a);case"E":case"c":return Ne(t);case"EEE":return oi(e.weekdays("short",!1),1);case"EEEE":return oi(e.weekdays("long",!1),1);case"ccc":return oi(e.weekdays("short",!0),1);case"cccc":return oi(e.weekdays("long",!0),1);case"Z":case"ZZ":return rg(new RegExp(`([+-]${o.source})(?::(${a.source}))?`),2);case"ZZZ":return rg(new RegExp(`([+-]${o.source})(${a.source})?`),2);case"z":return An(/[a-z_+-/]{1,256}?/i);case" ":return An(/[^\S\n\r]/);default:return f(m)}})(i)||{invalidReason:wP};return p.token=i,p}const EP={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function MP(i,e,t){const{type:a,value:s}=i;if(a==="literal"){const l=/^\s+$/.test(s);return{literal:!l,val:l?" ":s}}const r=e[a];let n=a;a==="hour"&&(e.hour12!=null?n=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?n="hour12":n="hour24":n=t.hour12?"hour12":"hour24");let o=EP[n];if(typeof o=="object"&&(o=o[r]),o)return{literal:!1,val:o}}function PP(i){return[`^${i.map(t=>t.regex).reduce((t,a)=>`${t}(${a.source})`,"")}$`,i]}function _P(i,e,t){const a=i.match(e);if(a){const s={};let r=1;for(const n in t)if(Ds(t,n)){const o=t[n],l=o.groups?o.groups+1:1;!o.literal&&o.token&&(s[o.token.val[0]]=o.deser(a.slice(r,r+l))),r+=l}return[a,s]}else return[a,{}]}function IP(i){const e=r=>{switch(r){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let t=null,a;return ye(i.z)||(t=Xi.create(i.z)),ye(i.Z)||(t||(t=new Rt(i.Z)),a=i.Z),ye(i.q)||(i.M=(i.q-1)*3+1),ye(i.h)||(i.h<12&&i.a===1?i.h+=12:i.h===12&&i.a===0&&(i.h=0)),i.G===0&&i.y&&(i.y=-i.y),ye(i.u)||(i.S=ud(i.u)),[Object.keys(i).reduce((r,n)=>{const o=e(n);return o&&(r[o]=i[n]),r},{}),t,a]}let Ll=null;function TP(){return Ll||(Ll=xe.fromMillis(1555555555555)),Ll}function DP(i,e){if(i.literal)return i;const t=Et.macroTokenToFormatOpts(i.val),a=Vv(t,e);return a==null||a.includes(void 0)?i:a}function Hv(i,e){return Array.prototype.concat(...i.map(t=>DP(t,e)))}class Wv{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=Hv(Et.parseFormat(t),e),this.units=this.tokens.map(a=>CP(a,e)),this.disqualifyingUnit=this.units.find(a=>a.invalidReason),!this.disqualifyingUnit){const[a,s]=PP(this.units);this.regex=RegExp(a,"i"),this.handlers=s}}explainFromTokens(e){if(this.isValid){const[t,a]=_P(e,this.regex,this.handlers),[s,r,n]=a?IP(a):[null,null,void 0];if(Ds(a,"a")&&Ds(a,"H"))throw new ps("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:t,matches:a,result:s,zone:r,specificOffset:n}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function jv(i,e,t){return new Wv(i,t).explainFromTokens(e)}function LP(i,e,t){const{result:a,zone:s,specificOffset:r,invalidReason:n}=jv(i,e,t);return[a,s,r,n]}function Vv(i,e){if(!i)return null;const a=Et.create(e,i).dtFormatter(TP()),s=a.formatToParts(),r=a.resolvedOptions();return s.map(n=>MP(n,i,r))}const Rl="Invalid DateTime",ng=864e13;function sr(i){return new ui("unsupported zone",`the zone "${i.name}" is not supported`)}function Nl(i){return i.weekData===null&&(i.weekData=fo(i.c)),i.weekData}function Ol(i){return i.localWeekData===null&&(i.localWeekData=fo(i.c,i.loc.getMinDaysInFirstWeek(),i.loc.getStartOfWeek())),i.localWeekData}function Ca(i,e){const t={ts:i.ts,zone:i.zone,c:i.c,o:i.o,loc:i.loc,invalid:i.invalid};return new xe({...t,...e,old:t})}function Yv(i,e,t){let a=i-e*60*1e3;const s=t.offset(a);if(e===s)return[a,e];a-=(s-e)*60*1e3;const r=t.offset(a);return s===r?[a,s]:[i-Math.min(s,r)*60*1e3,Math.max(s,r)]}function Sn(i,e){i+=e*60*1e3;const t=new Date(i);return{year:t.getUTCFullYear(),month:t.getUTCMonth()+1,day:t.getUTCDate(),hour:t.getUTCHours(),minute:t.getUTCMinutes(),second:t.getUTCSeconds(),millisecond:t.getUTCMilliseconds()}}function On(i,e,t){return Yv(Zo(i),e,t)}function og(i,e){const t=i.o,a=i.c.year+Math.trunc(e.years),s=i.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,r={...i.c,year:a,month:s,day:Math.min(i.c.day,go(a,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},n=Le.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),o=Zo(r);let[l,c]=Yv(o,t,i.zone);return n!==0&&(l+=n,c=i.zone.offset(l)),{ts:l,o:c}}function os(i,e,t,a,s,r){const{setZone:n,zone:o}=t;if(i&&Object.keys(i).length!==0||e){const l=e||o,c=xe.fromObject(i,{...t,zone:l,specificOffset:r});return n?c:c.setZone(o)}else return xe.invalid(new ui("unparsable",`the input "${s}" can't be parsed as ${a}`))}function Cn(i,e,t=!0){return i.isValid?Et.create(We.create("en-US"),{allowZ:t,forceSimple:!0}).formatDateTimeFromString(i,e):null}function Fl(i,e,t){const a=i.c.year>9999||i.c.year<0;let s="";if(a&&i.c.year>=0&&(s+="+"),s+=lt(i.c.year,a?6:4),t==="year")return s;if(e){if(s+="-",s+=lt(i.c.month),t==="month")return s;s+="-"}else if(s+=lt(i.c.month),t==="month")return s;return s+=lt(i.c.day),s}function lg(i,e,t,a,s,r,n){let o=!t||i.c.millisecond!==0||i.c.second!==0,l="";switch(n){case"day":case"month":case"year":break;default:if(l+=lt(i.c.hour),n==="hour")break;if(e){if(l+=":",l+=lt(i.c.minute),n==="minute")break;o&&(l+=":",l+=lt(i.c.second))}else{if(l+=lt(i.c.minute),n==="minute")break;o&&(l+=lt(i.c.second))}if(n==="second")break;o&&(!a||i.c.millisecond!==0)&&(l+=".",l+=lt(i.c.millisecond,3))}return s&&(i.isOffsetFixed&&i.offset===0&&!r?l+="Z":i.o<0?(l+="-",l+=lt(Math.trunc(-i.o/60)),l+=":",l+=lt(Math.trunc(-i.o%60))):(l+="+",l+=lt(Math.trunc(i.o/60)),l+=":",l+=lt(Math.trunc(i.o%60)))),r&&(l+="["+i.zone.ianaName+"]"),l}const Uv={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},RP={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},NP={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Fn=["year","month","day","hour","minute","second","millisecond"],OP=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],FP=["year","ordinal","hour","minute","second","millisecond"];function zn(i){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[i.toLowerCase()];if(!e)throw new Ub(i);return e}function cg(i){switch(i.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return zn(i)}}function zP(i){if(rr===void 0&&(rr=tt.now()),i.type!=="iana")return i.offset(rr);const e=i.name;let t=eu.get(e);return t===void 0&&(t=i.offset(rr),eu.set(e,t)),t}function ug(i,e){const t=la(e.zone,tt.defaultZone);if(!t.isValid)return xe.invalid(sr(t));const a=We.fromObject(e);let s,r;if(ye(i.year))s=tt.now();else{for(const l of Fn)ye(i[l])&&(i[l]=Uv[l]);const n=bv(i)||vv(i);if(n)return xe.invalid(n);const o=zP(t);[s,r]=On(i,o,t)}return new xe({ts:s,zone:t,loc:a,o:r})}function dg(i,e,t){const a=ye(t.round)?!0:t.round,s=ye(t.rounding)?"trunc":t.rounding,r=(o,l)=>(o=dd(o,a||t.calendary?0:2,t.calendary?"round":s),e.loc.clone(t).relFormatter(t).format(o,l)),n=o=>t.calendary?e.hasSame(i,o)?0:e.startOf(o).diff(i.startOf(o),o).get(o):e.diff(i,o).get(o);if(t.unit)return r(n(t.unit),t.unit);for(const o of t.units){const l=n(o);if(Math.abs(l)>=1)return r(l,o)}return r(i>e?-0:0,t.units[t.units.length-1])}function hg(i){let e={},t;return i.length>0&&typeof i[i.length-1]=="object"?(e=i[i.length-1],t=Array.from(i).slice(0,i.length-1)):t=Array.from(i),[e,t]}let rr;const eu=new Map;class xe{constructor(e){const t=e.zone||tt.defaultZone;let a=e.invalid||(Number.isNaN(e.ts)?new ui("invalid input"):null)||(t.isValid?null:sr(t));this.ts=ye(e.ts)?tt.now():e.ts;let s=null,r=null;if(!a)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[s,r]=[e.old.c,e.old.o];else{const o=ha(e.o)&&!e.old?e.o:t.offset(this.ts);s=Sn(this.ts,o),a=Number.isNaN(s.year)?new ui("invalid input"):null,s=a?null:s,r=a?null:o}this._zone=t,this.loc=e.loc||We.create(),this.invalid=a,this.weekData=null,this.localWeekData=null,this.c=s,this.o=r,this.isLuxonDateTime=!0}static now(){return new xe({})}static local(){const[e,t]=hg(arguments),[a,s,r,n,o,l,c]=t;return ug({year:a,month:s,day:r,hour:n,minute:o,second:l,millisecond:c},e)}static utc(){const[e,t]=hg(arguments),[a,s,r,n,o,l,c]=t;return e.zone=Rt.utcInstance,ug({year:a,month:s,day:r,hour:n,minute:o,second:l,millisecond:c},e)}static fromJSDate(e,t={}){const a=mM(e)?e.valueOf():NaN;if(Number.isNaN(a))return xe.invalid("invalid input");const s=la(t.zone,tt.defaultZone);return s.isValid?new xe({ts:a,zone:s,loc:We.fromObject(t)}):xe.invalid(sr(s))}static fromMillis(e,t={}){if(ha(e))return e<-ng||e>ng?xe.invalid("Timestamp out of range"):new xe({ts:e,zone:la(t.zone,tt.defaultZone),loc:We.fromObject(t)});throw new yt(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(ha(e))return new xe({ts:e*1e3,zone:la(t.zone,tt.defaultZone),loc:We.fromObject(t)});throw new yt("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};const a=la(t.zone,tt.defaultZone);if(!a.isValid)return xe.invalid(sr(a));const s=We.fromObject(t),r=po(e,cg),{minDaysInFirstWeek:n,startOfWeek:o}=$f(r,s),l=tt.now(),c=ye(t.specificOffset)?a.offset(l):t.specificOffset,u=!ye(r.ordinal),d=!ye(r.year),h=!ye(r.month)||!ye(r.day),f=d||h,g=r.weekYear||r.weekNumber;if((f||u)&&g)throw new ps("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ps("Can't mix ordinal dates with month/day");const p=g||r.weekday&&!f;let m,b,v=Sn(l,c);p?(m=OP,b=RP,v=fo(v,n,o)):u?(m=FP,b=NP,v=Dl(v)):(m=Fn,b=Uv);let x=!1;for(const E of m){const M=r[E];ye(M)?x?r[E]=b[E]:r[E]=v[E]:x=!0}const k=p?fM(r,n,o):u?gM(r):bv(r),y=k||vv(r);if(y)return xe.invalid(y);const A=p?qf(r,n,o):u?Gf(r):r,[w,S]=On(A,c,a),C=new xe({ts:w,zone:a,o:S,loc:s});return r.weekday&&f&&e.weekday!==C.weekday?xe.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${C.toISO()}`):C.isValid?C:xe.invalid(C.invalid)}static fromISO(e,t={}){const[a,s]=rP(e);return os(a,s,t,"ISO 8601",e)}static fromRFC2822(e,t={}){const[a,s]=nP(e);return os(a,s,t,"RFC 2822",e)}static fromHTTP(e,t={}){const[a,s]=oP(e);return os(a,s,t,"HTTP",t)}static fromFormat(e,t,a={}){if(ye(e)||ye(t))throw new yt("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:r=null}=a,n=We.fromOpts({locale:s,numberingSystem:r,defaultToEN:!0}),[o,l,c,u]=LP(n,e,t);return u?xe.invalid(u):os(o,l,a,`format ${t}`,e,c)}static fromString(e,t,a={}){return xe.fromFormat(e,t,a)}static fromSQL(e,t={}){const[a,s]=gP(e);return os(a,s,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new yt("need to specify a reason the DateTime is invalid");const a=e instanceof ui?e:new ui(e,t);if(tt.throwOnInvalid)throw new WE(a);return new xe({invalid:a})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){const a=Vv(e,We.fromObject(t));return a?a.map(s=>s?s.val:null).join(""):null}static expandFormat(e,t={}){return Hv(Et.parseFormat(e),We.fromObject(t)).map(s=>s.val).join("")}static resetCache(){rr=void 0,eu.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Nl(this).weekYear:NaN}get weekNumber(){return this.isValid?Nl(this).weekNumber:NaN}get weekday(){return this.isValid?Nl(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Ol(this).weekday:NaN}get localWeekNumber(){return this.isValid?Ol(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Ol(this).weekYear:NaN}get ordinal(){return this.isValid?Dl(this.c).ordinal:NaN}get monthShort(){return this.isValid?kn.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?kn.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?kn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?kn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,t=6e4,a=Zo(this.c),s=this.zone.offset(a-e),r=this.zone.offset(a+e),n=this.zone.offset(a-s*t),o=this.zone.offset(a-r*t);if(n===o)return[this];const l=a-n*t,c=a-o*t,u=Sn(l,n),d=Sn(c,o);return u.hour===d.hour&&u.minute===d.minute&&u.second===d.second&&u.millisecond===d.millisecond?[Ca(this,{ts:l}),Ca(this,{ts:c})]:[this]}get isInLeapYear(){return Jr(this.year)}get daysInMonth(){return go(this.year,this.month)}get daysInYear(){return this.isValid?ks(this.year):NaN}get weeksInWeekYear(){return this.isValid?Dr(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Dr(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:t,numberingSystem:a,calendar:s}=Et.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:a,outputCalendar:s}}toUTC(e=0,t={}){return this.setZone(Rt.instance(e),t)}toLocal(){return this.setZone(tt.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:a=!1}={}){if(e=la(e,tt.defaultZone),e.equals(this.zone))return this;if(e.isValid){let s=this.ts;if(t||a){const r=e.offset(this.ts),n=this.toObject();[s]=On(n,r,e)}return Ca(this,{ts:s,zone:e})}else return xe.invalid(sr(e))}reconfigure({locale:e,numberingSystem:t,outputCalendar:a}={}){const s=this.loc.clone({locale:e,numberingSystem:t,outputCalendar:a});return Ca(this,{loc:s})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const t=po(e,cg),{minDaysInFirstWeek:a,startOfWeek:s}=$f(t,this.loc),r=!ye(t.weekYear)||!ye(t.weekNumber)||!ye(t.weekday),n=!ye(t.ordinal),o=!ye(t.year),l=!ye(t.month)||!ye(t.day),c=o||l,u=t.weekYear||t.weekNumber;if((c||n)&&u)throw new ps("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&n)throw new ps("Can't mix ordinal dates with month/day");let d;r?d=qf({...fo(this.c,a,s),...t},a,s):ye(t.ordinal)?(d={...this.toObject(),...t},ye(t.day)&&(d.day=Math.min(go(d.year,d.month),d.day))):d=Gf({...Dl(this.c),...t});const[h,f]=On(d,this.o,this.zone);return Ca(this,{ts:h,o:f})}plus(e){if(!this.isValid)return this;const t=Le.fromDurationLike(e);return Ca(this,og(this,t))}minus(e){if(!this.isValid)return this;const t=Le.fromDurationLike(e).negate();return Ca(this,og(this,t))}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;const a={},s=Le.normalizeUnit(e);switch(s){case"years":a.month=1;case"quarters":case"months":a.day=1;case"weeks":case"days":a.hour=0;case"hours":a.minute=0;case"minutes":a.second=0;case"seconds":a.millisecond=0;break}if(s==="weeks")if(t){const r=this.loc.getStartOfWeek(),{weekday:n}=this;n<r&&(a.weekNumber=this.weekNumber-1),a.weekday=r}else a.weekday=1;if(s==="quarters"){const r=Math.ceil(this.month/3);a.month=(r-1)*3+1}return this.set(a)}endOf(e,t){return this.isValid?this.plus({[e]:1}).startOf(e,t).minus(1):this}toFormat(e,t={}){return this.isValid?Et.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):Rl}toLocaleString(e=ho,t={}){return this.isValid?Et.create(this.loc.clone(t),e).formatDateTime(this):Rl}toLocaleParts(e={}){return this.isValid?Et.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:t=!1,suppressMilliseconds:a=!1,includeOffset:s=!0,extendedZone:r=!1,precision:n="milliseconds"}={}){if(!this.isValid)return null;n=zn(n);const o=e==="extended";let l=Fl(this,o,n);return Fn.indexOf(n)>=3&&(l+="T"),l+=lg(this,o,t,a,s,r,n),l}toISODate({format:e="extended",precision:t="day"}={}){return this.isValid?Fl(this,e==="extended",zn(t)):null}toISOWeekDate(){return Cn(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:a=!0,includePrefix:s=!1,extendedZone:r=!1,format:n="extended",precision:o="milliseconds"}={}){return this.isValid?(o=zn(o),(s&&Fn.indexOf(o)>=3?"T":"")+lg(this,n==="extended",t,e,a,r,o)):null}toRFC2822(){return Cn(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Cn(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Fl(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:a=!0}={}){let s="HH:mm:ss.SSS";return(t||e)&&(a&&(s+=" "),t?s+="z":e&&(s+="ZZ")),Cn(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():Rl}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t="milliseconds",a={}){if(!this.isValid||!e.isValid)return Le.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...a},r=bM(t).map(Le.normalizeUnit),n=e.valueOf()>this.valueOf(),o=n?this:e,l=n?e:this,c=yP(o,l,r,s);return n?c.negate():c}diffNow(e="milliseconds",t={}){return this.diff(xe.now(),e,t)}until(e){return this.isValid?Qe.fromDateTimes(this,e):this}hasSame(e,t,a){if(!this.isValid)return!1;const s=e.valueOf(),r=this.setZone(e.zone,{keepLocalTime:!0});return r.startOf(t,a)<=s&&s<=r.endOf(t,a)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const t=e.base||xe.fromObject({},{zone:this.zone}),a=e.padding?this<t?-e.padding:e.padding:0;let s=["years","months","days","hours","minutes","seconds"],r=e.unit;return Array.isArray(e.unit)&&(s=e.unit,r=void 0),dg(t,this.plus(a),{...e,numeric:"always",units:s,unit:r})}toRelativeCalendar(e={}){return this.isValid?dg(e.base||xe.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(xe.isDateTime))throw new yt("min requires all arguments be DateTimes");return Kf(e,t=>t.valueOf(),Math.min)}static max(...e){if(!e.every(xe.isDateTime))throw new yt("max requires all arguments be DateTimes");return Kf(e,t=>t.valueOf(),Math.max)}static fromFormatExplain(e,t,a={}){const{locale:s=null,numberingSystem:r=null}=a,n=We.fromOpts({locale:s,numberingSystem:r,defaultToEN:!0});return jv(n,e,t)}static fromStringExplain(e,t,a={}){return xe.fromFormatExplain(e,t,a)}static buildFormatParser(e,t={}){const{locale:a=null,numberingSystem:s=null}=t,r=We.fromOpts({locale:a,numberingSystem:s,defaultToEN:!0});return new Wv(r,e)}static fromFormatParser(e,t,a={}){if(ye(e)||ye(t))throw new yt("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:r=null}=a,n=We.fromOpts({locale:s,numberingSystem:r,defaultToEN:!0});if(!n.equals(t.locale))throw new yt(`fromFormatParser called with a locale of ${n}, but the format parser was created for ${t.locale}`);const{result:o,zone:l,specificOffset:c,invalidReason:u}=t.explainFromTokens(e);return u?xe.invalid(u):os(o,l,a,`format ${t.format}`,e,c)}static get DATE_SHORT(){return ho}static get DATE_MED(){return Xb}static get DATE_MED_WITH_WEEKDAY(){return YE}static get DATE_FULL(){return qb}static get DATE_HUGE(){return Gb}static get TIME_SIMPLE(){return $b}static get TIME_WITH_SECONDS(){return Kb}static get TIME_WITH_SHORT_OFFSET(){return Zb}static get TIME_WITH_LONG_OFFSET(){return Jb}static get TIME_24_SIMPLE(){return Qb}static get TIME_24_WITH_SECONDS(){return ev}static get TIME_24_WITH_SHORT_OFFSET(){return tv}static get TIME_24_WITH_LONG_OFFSET(){return iv}static get DATETIME_SHORT(){return av}static get DATETIME_SHORT_WITH_SECONDS(){return sv}static get DATETIME_MED(){return rv}static get DATETIME_MED_WITH_SECONDS(){return nv}static get DATETIME_MED_WITH_WEEKDAY(){return UE}static get DATETIME_FULL(){return ov}static get DATETIME_FULL_WITH_SECONDS(){return lv}static get DATETIME_HUGE(){return cv}static get DATETIME_HUGE_WITH_SECONDS(){return uv}}function Qs(i){if(xe.isDateTime(i))return i;if(i&&i.valueOf&&ha(i.valueOf()))return xe.fromJSDate(i);if(i&&typeof i=="object")return xe.fromObject(i);throw new yt(`Unknown datetime argument: ${i}, of type ${typeof i}`)}/**
|
|
53
|
+
* filesize
|
|
54
|
+
*
|
|
55
|
+
* @copyright 2024 Jason Mulligan <jason.mulligan@avoidwork.com>
|
|
56
|
+
* @license BSD-3-Clause
|
|
57
|
+
* @version 10.1.6
|
|
58
|
+
*/const BP="array",HP="bit",fg="bits",WP="byte",gg="bytes",ls="",jP="exponent",VP="function",pg="iec",YP="Invalid number",UP="Invalid rounding method",zl="jedec",XP="object",mg=".",qP="round",GP="s",$P="si",KP="kbit",ZP="kB",JP=" ",QP="string",e_="0",Bl={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};function t_(i,{bits:e=!1,pad:t=!1,base:a=-1,round:s=2,locale:r=ls,localeOptions:n={},separator:o=ls,spacer:l=JP,symbols:c={},standard:u=ls,output:d=QP,fullform:h=!1,fullforms:f=[],exponent:g=-1,roundingMethod:p=qP,precision:m=0}={}){let b=g,v=Number(i),x=[],k=0,y=ls;u===$P?(a=10,u=zl):u===pg||u===zl?a=2:a===2?u=pg:(a=10,u=zl);const A=a===10?1e3:1024,w=h===!0,S=v<0,C=Math[p];if(typeof i!="bigint"&&isNaN(i))throw new TypeError(YP);if(typeof C!==VP)throw new TypeError(UP);if(S&&(v=-v),(b===-1||isNaN(b))&&(b=Math.floor(Math.log(v)/Math.log(A)),b<0&&(b=0)),b>8&&(m>0&&(m+=8-b),b=8),d===jP)return b;if(v===0)x[0]=0,y=x[1]=Bl.symbol[u][e?fg:gg][b];else{k=v/(a===2?Math.pow(2,b*10):Math.pow(1e3,b)),e&&(k=k*8,k>=A&&b<8&&(k=k/A,b++));const E=Math.pow(10,b>0?s:0);x[0]=C(k*E)/E,x[0]===A&&b<8&&g===-1&&(x[0]=1,b++),y=x[1]=a===10&&b===1?e?KP:ZP:Bl.symbol[u][e?fg:gg][b]}if(S&&(x[0]=-x[0]),m>0&&(x[0]=x[0].toPrecision(m)),x[1]=c[x[1]]||x[1],r===!0?x[0]=x[0].toLocaleString():r.length>0?x[0]=x[0].toLocaleString(r,n):o.length>0&&(x[0]=x[0].toString().replace(mg,o)),t&&s>0){const E=x[0].toString(),M=o||(E.match(/(\D)/g)||[]).pop()||mg,P=E.toString().split(M),D=P[1]||ls,L=D.length,B=s-L;x[0]=`${P[0]}${M}${D.padEnd(L+B,e_)}`}return w&&(x[1]=f[b]?f[b]:Bl.fullform[u][b]+(e?HP:WP)+(x[0]===1?ls:GP)),d===BP?x:d===XP?{value:x[0],symbol:x[1],exponent:b,unit:y}:x.join(l)}const{$gettext:bg}=ja,i_={install:i=>{i.config.globalProperties.$yesno=e=>bg(e?"yes":"no"),i.config.globalProperties.$date=e=>xe.fromISO(e).setLocale(ja.current).toLocaleString(xe.DATETIME_MED),i.config.globalProperties.$truncate=(e,t,a)=>(a=a||"...",e.length>t?e.slice(0,t)+a:e),i.config.globalProperties.$filesize=e=>t_(e,{locale:ja.current})}},a_={install:i=>{const e=Go();i.directive("can",(t,a)=>{const s=a.value;e.authUser&&authUser.authUser.role!==ce.SUPER_ADMIN&&e.authUser.permissions.indexOf(s)===-1&&(t.style.display="none")}),i.config.globalProperties.$can=function(t){return e.authUser?e.authUser.role===ce.SUPER_ADMIN||e.authUser.permissions.indexOf(t)!==-1:!1}}};/*!
|
|
59
|
+
* ApexCharts v5.3.6
|
|
60
|
+
* (c) 2018-2025 ApexCharts
|
|
61
|
+
*/function tu(i,e){(e==null||e>i.length)&&(e=i.length);for(var t=0,a=Array(e);t<e;t++)a[t]=i[t];return a}function Xv(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function ee(i,e){if(!(i instanceof e))throw new TypeError("Cannot call a class as a function")}function vg(i,e){for(var t=0;t<e.length;t++){var a=e[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(i,$v(a.key),a)}}function te(i,e,t){return e&&vg(i.prototype,e),t&&vg(i,t),Object.defineProperty(i,"prototype",{writable:!1}),i}function nr(i,e){var t=typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(!t){if(Array.isArray(i)||(t=pd(i))||e){t&&(i=t);var a=0,s=function(){};return{s,n:function(){return a>=i.length?{done:!0}:{done:!1,value:i[a++]}},e:function(l){throw l},f:s}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
62
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var r,n=!0,o=!1;return{s:function(){t=t.call(i)},n:function(){var l=t.next();return n=l.done,l},e:function(l){o=!0,r=l},f:function(){try{n||t.return==null||t.return()}finally{if(o)throw r}}}}function tn(i){var e=qv();return function(){var t,a=bo(i);if(e){var s=bo(this).constructor;t=Reflect.construct(a,arguments,s)}else t=a.apply(this,arguments);return(function(r,n){if(n&&(typeof n=="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Xv(r)})(this,t)}}function mo(i,e,t){return(e=$v(e))in i?Object.defineProperty(i,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[e]=t,i}function bo(i){return bo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bo(i)}function an(i,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(e&&e.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),e&&iu(i,e)}function qv(){try{var i=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(qv=function(){return!!i})()}function xg(i,e){var t=Object.keys(i);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(i);e&&(a=a.filter((function(s){return Object.getOwnPropertyDescriptor(i,s).enumerable}))),t.push.apply(t,a)}return t}function $(i){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?xg(Object(t),!0).forEach((function(a){mo(i,a,t[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(t)):xg(Object(t)).forEach((function(a){Object.defineProperty(i,a,Object.getOwnPropertyDescriptor(t,a))}))}return i}function iu(i,e){return iu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,a){return t.__proto__=a,t},iu(i,e)}function Gv(i,e){return(function(t){if(Array.isArray(t))return t})(i)||(function(t,a){var s=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(s!=null){var r,n,o,l,c=[],u=!0,d=!1;try{if(o=(s=s.call(t)).next,a===0){if(Object(s)!==s)return;u=!1}else for(;!(u=(r=o.call(s)).done)&&(c.push(r.value),c.length!==a);u=!0);}catch(h){d=!0,n=h}finally{try{if(!u&&s.return!=null&&(l=s.return(),Object(l)!==l))return}finally{if(d)throw n}}return c}})(i,e)||pd(i,e)||(function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
63
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function ft(i){return(function(e){if(Array.isArray(e))return tu(e)})(i)||(function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)})(i)||pd(i)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
64
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function $v(i){var e=(function(t,a){if(typeof t!="object"||!t)return t;var s=t[Symbol.toPrimitive];if(s!==void 0){var r=s.call(t,a);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(t)})(i,"string");return typeof e=="symbol"?e:e+""}function Tt(i){return Tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tt(i)}function pd(i,e){if(i){if(typeof i=="string")return tu(i,e);var t={}.toString.call(i).slice(8,-1);return t==="Object"&&i.constructor&&(t=i.constructor.name),t==="Map"||t==="Set"?Array.from(i):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?tu(i,e):void 0}}var T=(function(){function i(){ee(this,i)}return te(i,[{key:"shadeRGBColor",value:function(e,t){var a=t.split(","),s=e<0?0:255,r=e<0?-1*e:e,n=parseInt(a[0].slice(4),10),o=parseInt(a[1],10),l=parseInt(a[2],10);return"rgb("+(Math.round((s-n)*r)+n)+","+(Math.round((s-o)*r)+o)+","+(Math.round((s-l)*r)+l)+")"}},{key:"shadeHexColor",value:function(e,t){var a=parseInt(t.slice(1),16),s=e<0?0:255,r=e<0?-1*e:e,n=a>>16,o=a>>8&255,l=255&a;return"#"+(16777216+65536*(Math.round((s-n)*r)+n)+256*(Math.round((s-o)*r)+o)+(Math.round((s-l)*r)+l)).toString(16).slice(1)}},{key:"shadeColor",value:function(e,t){return i.isColorHex(t)?this.shadeHexColor(e,t):this.shadeRGBColor(e,t)}}],[{key:"bind",value:function(e,t){return function(){return e.apply(t,arguments)}}},{key:"isObject",value:function(e){return e&&Tt(e)==="object"&&!Array.isArray(e)&&e!=null}},{key:"is",value:function(e,t){return Object.prototype.toString.call(t)==="[object "+e+"]"}},{key:"isSafari",value:function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}},{key:"listToArray",value:function(e){var t,a=[];for(t=0;t<e.length;t++)a[t]=e[t];return a}},{key:"extend",value:function(e,t){var a=this;typeof Object.assign!="function"&&(Object.assign=function(r){if(r==null)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(r),o=1;o<arguments.length;o++){var l=arguments[o];if(l!=null)for(var c in l)l.hasOwnProperty(c)&&(n[c]=l[c])}return n});var s=Object.assign({},e);return this.isObject(e)&&this.isObject(t)&&Object.keys(t).forEach((function(r){a.isObject(t[r])&&r in e?s[r]=a.extend(e[r],t[r]):Object.assign(s,mo({},r,t[r]))})),s}},{key:"extendArray",value:function(e,t){var a=[];return e.map((function(s){a.push(i.extend(t,s))})),e=a}},{key:"monthMod",value:function(e){return e%12}},{key:"clone",value:function(e){var t,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new WeakMap;if(e===null||Tt(e)!=="object")return e;if(a.has(e))return a.get(e);if(Array.isArray(e)){t=[],a.set(e,t);for(var s=0;s<e.length;s++)t[s]=this.clone(e[s],a)}else if(e instanceof Date)t=new Date(e.getTime());else for(var r in t={},a.set(e,t),e)e.hasOwnProperty(r)&&(t[r]=this.clone(e[r],a));return t}},{key:"log10",value:function(e){return Math.log(e)/Math.LN10}},{key:"roundToBase10",value:function(e){return Math.pow(10,Math.floor(Math.log10(e)))}},{key:"roundToBase",value:function(e,t){return Math.pow(t,Math.floor(Math.log(e)/Math.log(t)))}},{key:"parseNumber",value:function(e){return typeof e=="number"||e===null?e:parseFloat(e)}},{key:"stripNumber",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Number.isInteger(e)?e:parseFloat(e.toPrecision(t))}},{key:"randomId",value:function(){return(Math.random()+1).toString(36).substring(4)}},{key:"noExponents",value:function(e){return e.toString().includes("e")?Math.round(e):e}},{key:"elementExists",value:function(e){return!(!e||!e.isConnected)}},{key:"isInShadowDOM",value:function(e){if(!e||!e.getRootNode)return!1;var t=e.getRootNode();return t&&t!==document&&i.is("ShadowRoot",t)}},{key:"getShadowRootHost",value:function(e){return i.isInShadowDOM(e)&&e.getRootNode().host||null}},{key:"getDimensions",value:function(e){if(!e)return[0,0];var t,a=e.getRootNode&&e.getRootNode();if(a&&a!==document&&a.host){var s=a.host.getBoundingClientRect();return[s.width,s.height]}try{t=getComputedStyle(e,null)}catch{return[e.clientWidth||0,e.clientHeight||0]}var r=e.clientHeight,n=e.clientWidth;return r-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),[n-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),r]}},{key:"getBoundingClientRect",value:function(e){if(!e)return{top:0,right:0,bottom:0,left:0,width:0,height:0,x:0,y:0};var t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:e.clientWidth,height:e.clientHeight,x:t.left,y:t.top}}},{key:"getLargestStringFromArr",value:function(e){return e.reduce((function(t,a){return Array.isArray(a)&&(a=a.reduce((function(s,r){return s.length>r.length?s:r}))),t.length>a.length?t:a}),0)}},{key:"hexToRgba",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"#999999",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.6;e.substring(0,1)!=="#"&&(e="#999999");var a=e.replace("#","");a=a.match(new RegExp("(.{"+a.length/3+"})","g"));for(var s=0;s<a.length;s++)a[s]=parseInt(a[s].length===1?a[s]+a[s]:a[s],16);return t!==void 0&&a.push(t),"rgba("+a.join(",")+")"}},{key:"getOpacityFromRGBA",value:function(e){return parseFloat(e.replace(/^.*,(.+)\)/,"$1"))}},{key:"rgb2hex",value:function(e){return(e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&e.length===4?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):""}},{key:"isColorHex",value:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)|(^#[0-9A-F]{8}$)/i.test(e)}},{key:"getPolygonPos",value:function(e,t){for(var a=[],s=2*Math.PI/t,r=0;r<t;r++){var n={};n.x=e*Math.sin(r*s),n.y=-e*Math.cos(r*s),a.push(n)}return a}},{key:"polarToCartesian",value:function(e,t,a,s){var r=(s-90)*Math.PI/180;return{x:e+a*Math.cos(r),y:t+a*Math.sin(r)}}},{key:"escapeString",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x",a=e.toString().slice();return a=a.replace(/[` ~!@#$%^&*()|+\=?;:'",.<>{}[\]\\/]/gi,t)}},{key:"negToZero",value:function(e){return e<0?0:e}},{key:"moveIndexInArray",value:function(e,t,a){if(a>=e.length)for(var s=a-e.length+1;s--;)e.push(void 0);return e.splice(a,0,e.splice(t,1)[0]),e}},{key:"extractNumber",value:function(e){return parseFloat(e.replace(/[^\d.]*/g,""))}},{key:"findAncestor",value:function(e,t){for(;(e=e.parentElement)&&!e.classList.contains(t););return e}},{key:"setELstyles",value:function(e,t){for(var a in t)t.hasOwnProperty(a)&&(e.style.key=t[a])}},{key:"preciseAddition",value:function(e,t){var a=(String(e).split(".")[1]||"").length,s=(String(t).split(".")[1]||"").length,r=Math.pow(10,Math.max(a,s));return(Math.round(e*r)+Math.round(t*r))/r}},{key:"isNumber",value:function(e){return!isNaN(e)&&parseFloat(Number(e))===e&&!isNaN(parseInt(e,10))}},{key:"isFloat",value:function(e){return Number(e)===e&&e%1!=0}},{key:"isMsEdge",value:function(){var e=window.navigator.userAgent,t=e.indexOf("Edge/");return t>0&&parseInt(e.substring(t+5,e.indexOf(".",t)),10)}},{key:"getGCD",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:7,s=Math.pow(10,a-Math.floor(Math.log10(Math.max(e,t))));for(s>1?(e=Math.round(Math.abs(e)*s),t=Math.round(Math.abs(t)*s)):s=1;t;){var r=t;t=e%t,e=r}return e/s}},{key:"getPrimeFactors",value:function(e){for(var t=[],a=2;e>=2;)e%a==0?(t.push(a),e/=a):a++;return t}},{key:"mod",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:7,s=Math.pow(10,a-Math.floor(Math.log10(Math.max(e,t))));return(e=Math.round(Math.abs(e)*s))%(t=Math.round(Math.abs(t)*s))/s}}]),i})(),js=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"animateLine",value:function(e,t,a,s){e.attr(t).animate(s).attr(a)}},{key:"animateMarker",value:function(e,t,a,s){e.attr({opacity:0}).animate(t).attr({opacity:1}).after((function(){s()}))}},{key:"animateRect",value:function(e,t,a,s,r){e.attr(t).animate(s).attr(a).after((function(){return r()}))}},{key:"animatePathsGradually",value:function(e){var t=e.el,a=e.realIndex,s=e.j,r=e.fill,n=e.pathFrom,o=e.pathTo,l=e.speed,c=e.delay,u=this.w,d=0;u.config.chart.animations.animateGradually.enabled&&(d=u.config.chart.animations.animateGradually.delay),u.config.chart.animations.dynamicAnimation.enabled&&u.globals.dataChanged&&u.config.chart.type!=="bar"&&(d=0),this.morphSVG(t,a,s,u.config.chart.type!=="line"||u.globals.comboCharts?r:"stroke",n,o,l,c*d)}},{key:"showDelayedElements",value:function(){this.w.globals.delayedElements.forEach((function(e){var t=e.el;t.classList.remove("apexcharts-element-hidden"),t.classList.add("apexcharts-hidden-element-shown")}))}},{key:"animationCompleted",value:function(e){var t=this.w;t.globals.animationEnded||(t.globals.animationEnded=!0,this.showDelayedElements(),typeof t.config.chart.events.animationEnd=="function"&&t.config.chart.events.animationEnd(this.ctx,{el:e,w:t}))}},{key:"morphSVG",value:function(e,t,a,s,r,n,o,l){var c=this,u=this.w;r||(r=e.attr("pathFrom")),n||(n=e.attr("pathTo"));var d=function(h){return u.config.chart.type==="radar"&&(o=1),"M 0 ".concat(u.globals.gridHeight)};(!r||r.indexOf("undefined")>-1||r.indexOf("NaN")>-1)&&(r=d()),(!n.trim()||n.indexOf("undefined")>-1||n.indexOf("NaN")>-1)&&(n=d()),u.globals.shouldAnimate||(o=1),e.plot(r).animate(1,l).plot(r).animate(o,l).plot(n).after((function(){T.isNumber(a)?a===u.globals.series[u.globals.maxValsInArrayIndex].length-2&&u.globals.shouldAnimate&&c.animationCompleted(e):s!=="none"&&u.globals.shouldAnimate&&(!u.globals.comboCharts&&t===u.globals.series.length-1||u.globals.comboCharts)&&c.animationCompleted(e),c.showDelayedElements()}))}}]),i})();const au={},Kv=[];function Ce(i,e){if(Array.isArray(i))for(const t of i)Ce(t,e);else if(typeof i!="object")Zv(Object.getOwnPropertyNames(e)),au[i]=Object.assign(au[i]||{},e);else for(const t in i)Ce(t,i[t])}function Bt(i){return au[i]||{}}function Zv(i){Kv.push(...i)}function md(i,e){let t;const a=i.length,s=[];for(t=0;t<a;t++)s.push(e(i[t]));return s}function Hl(i){return i%360*Math.PI/180}function Vs(i){return i.charAt(0).toUpperCase()+i.slice(1)}function Ys(i,e,t,a){return e!=null&&t!=null||(a=a||i.bbox(),e==null?e=a.width/a.height*t:t==null&&(t=a.height/a.width*e)),{width:e,height:t}}function su(i,e){const t=i.origin;let a=i.ox!=null?i.ox:i.originX!=null?i.originX:"center",s=i.oy!=null?i.oy:i.originY!=null?i.originY:"center";t!=null&&([a,s]=Array.isArray(t)?t:typeof t=="object"?[t.x,t.y]:[t,t]);const r=typeof a=="string",n=typeof s=="string";if(r||n){const{height:o,width:l,x:c,y:u}=e.bbox();r&&(a=a.includes("left")?c:a.includes("right")?c+l:c+l/2),n&&(s=s.includes("top")?u:s.includes("bottom")?u+o:u+o/2)}return[a,s]}const s_=new Set(["desc","metadata","title"]),ru=i=>s_.has(i.nodeName),Jv=(i,e,t={})=>{const a={...e};for(const s in a)a[s].valueOf()===t[s]&&delete a[s];Object.keys(a).length?i.node.setAttribute("data-svgjs",JSON.stringify(a)):(i.node.removeAttribute("data-svgjs"),i.node.removeAttribute("svgjs:data"))},bd="http://www.w3.org/2000/svg",Wl="http://www.w3.org/2000/xmlns/",Us="http://www.w3.org/1999/xlink",Te={window:typeof window>"u"?null:window,document:typeof document>"u"?null:document};function sn(){return Te.window}let vd=class{};const Va={},xd="___SYMBOL___ROOT___";function Lr(i,e=bd){return Te.document.createElementNS(e,i)}function Lt(i,e=!1){if(i instanceof vd)return i;if(typeof i=="object")return jl(i);if(i==null)return new Va[xd];if(typeof i=="string"&&i.charAt(0)!=="<")return jl(Te.document.querySelector(i));const t=e?Te.document.createElement("div"):Lr("svg");return t.innerHTML=i,i=jl(t.firstChild),t.removeChild(t.firstChild),i}function Ue(i,e){return e&&(e instanceof Te.window.Node||e.ownerDocument&&e instanceof e.ownerDocument.defaultView.Node)?e:Lr(i)}function Qt(i){if(!i)return null;if(i.instance instanceof vd)return i.instance;if(i.nodeName==="#document-fragment")return new Va.Fragment(i);let e=Vs(i.nodeName||"Dom");return e==="LinearGradient"||e==="RadialGradient"?e="Gradient":Va[e]||(e="Dom"),new Va[e](i)}let jl=Qt;function De(i,e=i.name,t=!1){return Va[e]=i,t&&(Va[xd]=i),Zv(Object.getOwnPropertyNames(i.prototype)),i}let r_=1e3;function Qv(i){return"Svgjs"+Vs(i)+r_++}function ex(i){for(let e=i.children.length-1;e>=0;e--)ex(i.children[e]);return i.id&&(i.id=Qv(i.nodeName)),i}function fe(i,e){let t,a;for(a=(i=Array.isArray(i)?i:[i]).length-1;a>=0;a--)for(t in e)i[a].prototype[t]=e[t]}function Ye(i){return function(...e){const t=e[e.length-1];return!t||t.constructor!==Object||t instanceof Array?i.apply(this,e):i.apply(this,e.slice(0,-1)).attr(t)}}Ce("Dom",{siblings:function(){return this.parent().children()},position:function(){return this.parent().index(this)},next:function(){return this.siblings()[this.position()+1]},prev:function(){return this.siblings()[this.position()-1]},forward:function(){const i=this.position();return this.parent().add(this.remove(),i+1),this},backward:function(){const i=this.position();return this.parent().add(this.remove(),i?i-1:0),this},front:function(){return this.parent().add(this.remove()),this},back:function(){return this.parent().add(this.remove(),0),this},before:function(i){(i=Lt(i)).remove();const e=this.position();return this.parent().add(i,e),this},after:function(i){(i=Lt(i)).remove();const e=this.position();return this.parent().add(i,e+1),this},insertBefore:function(i){return(i=Lt(i)).before(this),this},insertAfter:function(i){return(i=Lt(i)).after(this),this}});const tx=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,n_=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,o_=/rgb\((\d+),(\d+),(\d+)\)/,l_=/(#[a-z_][a-z0-9\-_]*)/i,c_=/\)\s*,?\s*/,u_=/\s/g,yg=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i,wg=/^rgb\(/,kg=/^(\s+)?$/,Ag=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,d_=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,Zi=/[\s,]+/,yd=/[MLHVCSQTAZ]/i;function h_(i){const e=Math.round(i),t=Math.max(0,Math.min(255,e)).toString(16);return t.length===1?"0"+t:t}function cs(i,e){for(let t=e.length;t--;)if(i[e[t]]==null)return!1;return!0}function Vl(i,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?i+6*(e-i)*t:t<.5?e:t<2/3?i+(e-i)*(2/3-t)*6:i}Ce("Dom",{classes:function(){const i=this.attr("class");return i==null?[]:i.trim().split(Zi)},hasClass:function(i){return this.classes().indexOf(i)!==-1},addClass:function(i){if(!this.hasClass(i)){const e=this.classes();e.push(i),this.attr("class",e.join(" "))}return this},removeClass:function(i){return this.hasClass(i)&&this.attr("class",this.classes().filter((function(e){return e!==i})).join(" ")),this},toggleClass:function(i){return this.hasClass(i)?this.removeClass(i):this.addClass(i)}}),Ce("Dom",{css:function(i,e){const t={};if(arguments.length===0)return this.node.style.cssText.split(/\s*;\s*/).filter((function(a){return!!a.length})).forEach((function(a){const s=a.split(/\s*:\s*/);t[s[0]]=s[1]})),t;if(arguments.length<2){if(Array.isArray(i)){for(const a of i){const s=a;t[a]=this.node.style.getPropertyValue(s)}return t}if(typeof i=="string")return this.node.style.getPropertyValue(i);if(typeof i=="object")for(const a in i)this.node.style.setProperty(a,i[a]==null||kg.test(i[a])?"":i[a])}return arguments.length===2&&this.node.style.setProperty(i,e==null||kg.test(e)?"":e),this},show:function(){return this.css("display","")},hide:function(){return this.css("display","none")},visible:function(){return this.css("display")!=="none"}}),Ce("Dom",{data:function(i,e,t){if(i==null)return this.data(md((function(a,s){let r;const n=a.length,o=[];for(r=0;r<n;r++)s(a[r])&&o.push(a[r]);return o})(this.node.attributes,(a=>a.nodeName.indexOf("data-")===0)),(a=>a.nodeName.slice(5))));if(i instanceof Array){const a={};for(const s of i)a[s]=this.data(s);return a}if(typeof i=="object")for(e in i)this.data(e,i[e]);else if(arguments.length<2)try{return JSON.parse(this.attr("data-"+i))}catch{return this.attr("data-"+i)}else this.attr("data-"+i,e===null?null:t===!0||typeof e=="string"||typeof e=="number"?e:JSON.stringify(e));return this}}),Ce("Dom",{remember:function(i,e){if(typeof arguments[0]=="object")for(const t in i)this.remember(t,i[t]);else{if(arguments.length===1)return this.memory()[i];this.memory()[i]=e}return this},forget:function(){if(arguments.length===0)this._memory={};else for(let i=arguments.length-1;i>=0;i--)delete this.memory()[arguments[i]];return this},memory:function(){return this._memory=this._memory||{}}});class Ve{constructor(...e){this.init(...e)}static isColor(e){return e&&(e instanceof Ve||this.isRgb(e)||this.test(e))}static isRgb(e){return e&&typeof e.r=="number"&&typeof e.g=="number"&&typeof e.b=="number"}static random(e="vibrant",t){const{random:a,round:s,sin:r,PI:n}=Math;if(e==="vibrant"){const o=24*a()+57,l=38*a()+45,c=360*a();return new Ve(o,l,c,"lch")}if(e==="sine"){const o=s(80*r(2*n*(t=t??a())/.5+.01)+150),l=s(50*r(2*n*t/.5+4.6)+200),c=s(100*r(2*n*t/.5+2.3)+150);return new Ve(o,l,c)}if(e==="pastel"){const o=8*a()+86,l=17*a()+9,c=360*a();return new Ve(o,l,c,"lch")}if(e==="dark"){const o=10+10*a(),l=50*a()+86,c=360*a();return new Ve(o,l,c,"lch")}if(e==="rgb"){const o=255*a(),l=255*a(),c=255*a();return new Ve(o,l,c)}if(e==="lab"){const o=100*a(),l=256*a()-128,c=256*a()-128;return new Ve(o,l,c,"lab")}if(e==="grey"){const o=255*a();return new Ve(o,o,o)}throw new Error("Unsupported random color mode")}static test(e){return typeof e=="string"&&(yg.test(e)||wg.test(e))}cmyk(){const{_a:e,_b:t,_c:a}=this.rgb(),[s,r,n]=[e,t,a].map((l=>l/255)),o=Math.min(1-s,1-r,1-n);return o===1?new Ve(0,0,0,1,"cmyk"):new Ve((1-s-o)/(1-o),(1-r-o)/(1-o),(1-n-o)/(1-o),o,"cmyk")}hsl(){const{_a:e,_b:t,_c:a}=this.rgb(),[s,r,n]=[e,t,a].map((h=>h/255)),o=Math.max(s,r,n),l=Math.min(s,r,n),c=(o+l)/2,u=o===l,d=o-l;return new Ve(360*(u?0:o===s?((r-n)/d+(r<n?6:0))/6:o===r?((n-s)/d+2)/6:o===n?((s-r)/d+4)/6:0),100*(u?0:c>.5?d/(2-o-l):d/(o+l)),100*c,"hsl")}init(e=0,t=0,a=0,s=0,r="rgb"){if(e=e||0,this.space)for(const d in this.space)delete this[this.space[d]];if(typeof e=="number")r=typeof s=="string"?s:r,s=typeof s=="string"?0:s,Object.assign(this,{_a:e,_b:t,_c:a,_d:s,space:r});else if(e instanceof Array)this.space=t||(typeof e[3]=="string"?e[3]:e[4])||"rgb",Object.assign(this,{_a:e[0],_b:e[1],_c:e[2],_d:e[3]||0});else if(e instanceof Object){const d=(function(h,f){const g=cs(h,"rgb")?{_a:h.r,_b:h.g,_c:h.b,_d:0,space:"rgb"}:cs(h,"xyz")?{_a:h.x,_b:h.y,_c:h.z,_d:0,space:"xyz"}:cs(h,"hsl")?{_a:h.h,_b:h.s,_c:h.l,_d:0,space:"hsl"}:cs(h,"lab")?{_a:h.l,_b:h.a,_c:h.b,_d:0,space:"lab"}:cs(h,"lch")?{_a:h.l,_b:h.c,_c:h.h,_d:0,space:"lch"}:cs(h,"cmyk")?{_a:h.c,_b:h.m,_c:h.y,_d:h.k,space:"cmyk"}:{_a:0,_b:0,_c:0,space:"rgb"};return g.space=f||g.space,g})(e,t);Object.assign(this,d)}else if(typeof e=="string")if(wg.test(e)){const d=e.replace(u_,""),[h,f,g]=o_.exec(d).slice(1,4).map((p=>parseInt(p)));Object.assign(this,{_a:h,_b:f,_c:g,_d:0,space:"rgb"})}else{if(!yg.test(e))throw Error("Unsupported string format, can't construct Color");{const d=p=>parseInt(p,16),[,h,f,g]=n_.exec((function(p){return p.length===4?["#",p.substring(1,2),p.substring(1,2),p.substring(2,3),p.substring(2,3),p.substring(3,4),p.substring(3,4)].join(""):p})(e)).map(d);Object.assign(this,{_a:h,_b:f,_c:g,_d:0,space:"rgb"})}}const{_a:n,_b:o,_c:l,_d:c}=this,u=this.space==="rgb"?{r:n,g:o,b:l}:this.space==="xyz"?{x:n,y:o,z:l}:this.space==="hsl"?{h:n,s:o,l}:this.space==="lab"?{l:n,a:o,b:l}:this.space==="lch"?{l:n,c:o,h:l}:this.space==="cmyk"?{c:n,m:o,y:l,k:c}:{};Object.assign(this,u)}lab(){const{x:e,y:t,z:a}=this.xyz();return new Ve(116*t-16,500*(e-t),200*(t-a),"lab")}lch(){const{l:e,a:t,b:a}=this.lab(),s=Math.sqrt(t**2+a**2);let r=180*Math.atan2(a,t)/Math.PI;return r<0&&(r*=-1,r=360-r),new Ve(e,s,r,"lch")}rgb(){if(this.space==="rgb")return this;if((e=this.space)==="lab"||e==="xyz"||e==="lch"){let{x:t,y:a,z:s}=this;if(this.space==="lab"||this.space==="lch"){let{l:f,a:g,b:p}=this;if(this.space==="lch"){const{c:A,h:w}=this,S=Math.PI/180;g=A*Math.cos(S*w),p=A*Math.sin(S*w)}const m=(f+16)/116,b=g/500+m,v=m-p/200,x=16/116,k=.008856,y=7.787;t=.95047*(b**3>k?b**3:(b-x)/y),a=1*(m**3>k?m**3:(m-x)/y),s=1.08883*(v**3>k?v**3:(v-x)/y)}const r=3.2406*t+-1.5372*a+-.4986*s,n=-.9689*t+1.8758*a+.0415*s,o=.0557*t+-.204*a+1.057*s,l=Math.pow,c=.0031308,u=r>c?1.055*l(r,1/2.4)-.055:12.92*r,d=n>c?1.055*l(n,1/2.4)-.055:12.92*n,h=o>c?1.055*l(o,1/2.4)-.055:12.92*o;return new Ve(255*u,255*d,255*h)}if(this.space==="hsl"){let{h:t,s:a,l:s}=this;if(t/=360,a/=100,s/=100,a===0)return s*=255,new Ve(s,s,s);const r=s<.5?s*(1+a):s+a-s*a,n=2*s-r,o=255*Vl(n,r,t+1/3),l=255*Vl(n,r,t),c=255*Vl(n,r,t-1/3);return new Ve(o,l,c)}if(this.space==="cmyk"){const{c:t,m:a,y:s,k:r}=this,n=255*(1-Math.min(1,t*(1-r)+r)),o=255*(1-Math.min(1,a*(1-r)+r)),l=255*(1-Math.min(1,s*(1-r)+r));return new Ve(n,o,l)}return this;var e}toArray(){const{_a:e,_b:t,_c:a,_d:s,space:r}=this;return[e,t,a,s,r]}toHex(){const[e,t,a]=this._clamped().map(h_);return`#${e}${t}${a}`}toRgb(){const[e,t,a]=this._clamped();return`rgb(${e},${t},${a})`}toString(){return this.toHex()}xyz(){const{_a:e,_b:t,_c:a}=this.rgb(),[s,r,n]=[e,t,a].map((m=>m/255)),o=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92,l=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,c=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,u=(.4124*o+.3576*l+.1805*c)/.95047,d=(.2126*o+.7152*l+.0722*c)/1,h=(.0193*o+.1192*l+.9505*c)/1.08883,f=u>.008856?Math.pow(u,1/3):7.787*u+16/116,g=d>.008856?Math.pow(d,1/3):7.787*d+16/116,p=h>.008856?Math.pow(h,1/3):7.787*h+16/116;return new Ve(f,g,p,"xyz")}_clamped(){const{_a:e,_b:t,_c:a}=this.rgb(),{max:s,min:r,round:n}=Math;return[e,t,a].map((o=>s(0,r(n(o),255))))}}class Oe{constructor(...e){this.init(...e)}clone(){return new Oe(this)}init(e,t){const r=Array.isArray(e)?{x:e[0],y:e[1]}:typeof e=="object"?{x:e.x,y:e.y}:{x:e,y:t};return this.x=r.x==null?0:r.x,this.y=r.y==null?0:r.y,this}toArray(){return[this.x,this.y]}transform(e){return this.clone().transformO(e)}transformO(e){oe.isMatrixLike(e)||(e=new oe(e));const{x:t,y:a}=this;return this.x=e.a*t+e.c*a+e.e,this.y=e.b*t+e.d*a+e.f,this}}function us(i,e,t){return Math.abs(e-i)<1e-6}class oe{constructor(...e){this.init(...e)}static formatTransforms(e){const t=e.flip==="both"||e.flip===!0,a=e.flip&&(t||e.flip==="x")?-1:1,s=e.flip&&(t||e.flip==="y")?-1:1,r=e.skew&&e.skew.length?e.skew[0]:isFinite(e.skew)?e.skew:isFinite(e.skewX)?e.skewX:0,n=e.skew&&e.skew.length?e.skew[1]:isFinite(e.skew)?e.skew:isFinite(e.skewY)?e.skewY:0,o=e.scale&&e.scale.length?e.scale[0]*a:isFinite(e.scale)?e.scale*a:isFinite(e.scaleX)?e.scaleX*a:a,l=e.scale&&e.scale.length?e.scale[1]*s:isFinite(e.scale)?e.scale*s:isFinite(e.scaleY)?e.scaleY*s:s,c=e.shear||0,u=e.rotate||e.theta||0,d=new Oe(e.origin||e.around||e.ox||e.originX,e.oy||e.originY),h=d.x,f=d.y,g=new Oe(e.position||e.px||e.positionX||NaN,e.py||e.positionY||NaN),p=g.x,m=g.y,b=new Oe(e.translate||e.tx||e.translateX,e.ty||e.translateY),v=b.x,x=b.y,k=new Oe(e.relative||e.rx||e.relativeX,e.ry||e.relativeY);return{scaleX:o,scaleY:l,skewX:r,skewY:n,shear:c,theta:u,rx:k.x,ry:k.y,tx:v,ty:x,ox:h,oy:f,px:p,py:m}}static fromArray(e){return{a:e[0],b:e[1],c:e[2],d:e[3],e:e[4],f:e[5]}}static isMatrixLike(e){return e.a!=null||e.b!=null||e.c!=null||e.d!=null||e.e!=null||e.f!=null}static matrixMultiply(e,t,a){const s=e.a*t.a+e.c*t.b,r=e.b*t.a+e.d*t.b,n=e.a*t.c+e.c*t.d,o=e.b*t.c+e.d*t.d,l=e.e+e.a*t.e+e.c*t.f,c=e.f+e.b*t.e+e.d*t.f;return a.a=s,a.b=r,a.c=n,a.d=o,a.e=l,a.f=c,a}around(e,t,a){return this.clone().aroundO(e,t,a)}aroundO(e,t,a){const s=e||0,r=t||0;return this.translateO(-s,-r).lmultiplyO(a).translateO(s,r)}clone(){return new oe(this)}decompose(e=0,t=0){const a=this.a,s=this.b,r=this.c,n=this.d,o=this.e,l=this.f,c=a*n-s*r,u=c>0?1:-1,d=u*Math.sqrt(a*a+s*s),h=Math.atan2(u*s,u*a),f=180/Math.PI*h,g=Math.cos(h),p=Math.sin(h),m=(a*r+s*n)/c,b=r*d/(m*a-s)||n*d/(m*s+a);return{scaleX:d,scaleY:b,shear:m,rotate:f,translateX:o-e+e*g*d+t*(m*g*d-p*b),translateY:l-t+e*p*d+t*(m*p*d+g*b),originX:e,originY:t,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}equals(e){if(e===this)return!0;const t=new oe(e);return us(this.a,t.a)&&us(this.b,t.b)&&us(this.c,t.c)&&us(this.d,t.d)&&us(this.e,t.e)&&us(this.f,t.f)}flip(e,t){return this.clone().flipO(e,t)}flipO(e,t){return e==="x"?this.scaleO(-1,1,t,0):e==="y"?this.scaleO(1,-1,0,t):this.scaleO(-1,-1,e,t||e)}init(e){const t=oe.fromArray([1,0,0,1,0,0]);return e=e instanceof vt?e.matrixify():typeof e=="string"?oe.fromArray(e.split(Zi).map(parseFloat)):Array.isArray(e)?oe.fromArray(e):typeof e=="object"&&oe.isMatrixLike(e)?e:typeof e=="object"?new oe().transform(e):arguments.length===6?oe.fromArray([].slice.call(arguments)):t,this.a=e.a!=null?e.a:t.a,this.b=e.b!=null?e.b:t.b,this.c=e.c!=null?e.c:t.c,this.d=e.d!=null?e.d:t.d,this.e=e.e!=null?e.e:t.e,this.f=e.f!=null?e.f:t.f,this}inverse(){return this.clone().inverseO()}inverseO(){const e=this.a,t=this.b,a=this.c,s=this.d,r=this.e,n=this.f,o=e*s-t*a;if(!o)throw new Error("Cannot invert "+this);const l=s/o,c=-t/o,u=-a/o,d=e/o,h=-(l*r+u*n),f=-(c*r+d*n);return this.a=l,this.b=c,this.c=u,this.d=d,this.e=h,this.f=f,this}lmultiply(e){return this.clone().lmultiplyO(e)}lmultiplyO(e){const t=e instanceof oe?e:new oe(e);return oe.matrixMultiply(t,this,this)}multiply(e){return this.clone().multiplyO(e)}multiplyO(e){const t=e instanceof oe?e:new oe(e);return oe.matrixMultiply(this,t,this)}rotate(e,t,a){return this.clone().rotateO(e,t,a)}rotateO(e,t=0,a=0){e=Hl(e);const s=Math.cos(e),r=Math.sin(e),{a:n,b:o,c:l,d:c,e:u,f:d}=this;return this.a=n*s-o*r,this.b=o*s+n*r,this.c=l*s-c*r,this.d=c*s+l*r,this.e=u*s-d*r+a*r-t*s+t,this.f=d*s+u*r-t*r-a*s+a,this}scale(){return this.clone().scaleO(...arguments)}scaleO(e,t=e,a=0,s=0){arguments.length===3&&(s=a,a=t,t=e);const{a:r,b:n,c:o,d:l,e:c,f:u}=this;return this.a=r*e,this.b=n*t,this.c=o*e,this.d=l*t,this.e=c*e-a*e+a,this.f=u*t-s*t+s,this}shear(e,t,a){return this.clone().shearO(e,t,a)}shearO(e,t=0,a=0){const{a:s,b:r,c:n,d:o,e:l,f:c}=this;return this.a=s+r*e,this.c=n+o*e,this.e=l+c*e-a*e,this}skew(){return this.clone().skewO(...arguments)}skewO(e,t=e,a=0,s=0){arguments.length===3&&(s=a,a=t,t=e),e=Hl(e),t=Hl(t);const r=Math.tan(e),n=Math.tan(t),{a:o,b:l,c,d:u,e:d,f:h}=this;return this.a=o+l*r,this.b=l+o*n,this.c=c+u*r,this.d=u+c*n,this.e=d+h*r-s*r,this.f=h+d*n-a*n,this}skewX(e,t,a){return this.skew(e,0,t,a)}skewY(e,t,a){return this.skew(0,e,t,a)}toArray(){return[this.a,this.b,this.c,this.d,this.e,this.f]}toString(){return"matrix("+this.a+","+this.b+","+this.c+","+this.d+","+this.e+","+this.f+")"}transform(e){if(oe.isMatrixLike(e))return new oe(e).multiplyO(this);const t=oe.formatTransforms(e),{x:a,y:s}=new Oe(t.ox,t.oy).transform(this),r=new oe().translateO(t.rx,t.ry).lmultiplyO(this).translateO(-a,-s).scaleO(t.scaleX,t.scaleY).skewO(t.skewX,t.skewY).shearO(t.shear).rotateO(t.theta).translateO(a,s);if(isFinite(t.px)||isFinite(t.py)){const n=new Oe(a,s).transform(r),o=isFinite(t.px)?t.px-n.x:0,l=isFinite(t.py)?t.py-n.y:0;r.translateO(o,l)}return r.translateO(t.tx,t.ty),r}translate(e,t){return this.clone().translateO(e,t)}translateO(e,t){return this.e+=e||0,this.f+=t||0,this}valueOf(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}}function ca(){if(!ca.nodes){const i=Lt().size(2,0);i.node.style.cssText=["opacity: 0","position: absolute","left: -100%","top: -100%","overflow: hidden"].join(";"),i.attr("focusable","false"),i.attr("aria-hidden","true");const e=i.path().node;ca.nodes={svg:i,path:e}}if(!ca.nodes.svg.node.parentNode){const i=Te.document.body||Te.document.documentElement;ca.nodes.svg.addTo(i)}return ca.nodes}function ix(i){return!(i.width||i.height||i.x||i.y)}De(oe,"Matrix");class at{constructor(...e){this.init(...e)}addOffset(){return this.x+=Te.window.pageXOffset,this.y+=Te.window.pageYOffset,new at(this)}init(e){return e=typeof e=="string"?e.split(Zi).map(parseFloat):Array.isArray(e)?e:typeof e=="object"?[e.left!=null?e.left:e.x,e.top!=null?e.top:e.y,e.width,e.height]:arguments.length===4?[].slice.call(arguments):[0,0,0,0],this.x=e[0]||0,this.y=e[1]||0,this.width=this.w=e[2]||0,this.height=this.h=e[3]||0,this.x2=this.x+this.w,this.y2=this.y+this.h,this.cx=this.x+this.w/2,this.cy=this.y+this.h/2,this}isNulled(){return ix(this)}merge(e){const t=Math.min(this.x,e.x),a=Math.min(this.y,e.y),s=Math.max(this.x+this.width,e.x+e.width)-t,r=Math.max(this.y+this.height,e.y+e.height)-a;return new at(t,a,s,r)}toArray(){return[this.x,this.y,this.width,this.height]}toString(){return this.x+" "+this.y+" "+this.width+" "+this.height}transform(e){e instanceof oe||(e=new oe(e));let t=1/0,a=-1/0,s=1/0,r=-1/0;return[new Oe(this.x,this.y),new Oe(this.x2,this.y),new Oe(this.x,this.y2),new Oe(this.x2,this.y2)].forEach((function(n){n=n.transform(e),t=Math.min(t,n.x),a=Math.max(a,n.x),s=Math.min(s,n.y),r=Math.max(r,n.y)})),new at(t,s,a-t,r-s)}}function Sg(i,e,t){let a;try{if(a=e(i.node),ix(a)&&(s=i.node)!==Te.document&&!(Te.document.documentElement.contains||function(r){for(;r.parentNode;)r=r.parentNode;return r===Te.document}).call(Te.document.documentElement,s))throw new Error("Element not in the dom")}catch{a=t(i)}var s;return a}Ce({viewbox:{viewbox(i,e,t,a){return i==null?new at(this.attr("viewBox")):this.attr("viewBox",new at(i,e,t,a))},zoom(i,e){let{width:t,height:a}=this.attr(["width","height"]);if((t||a)&&typeof t!="string"&&typeof a!="string"||(t=this.node.clientWidth,a=this.node.clientHeight),!t||!a)throw new Error("Impossible to get absolute width and height. Please provide an absolute width and height attribute on the zooming element");const s=this.viewbox(),r=t/s.width,n=a/s.height,o=Math.min(r,n);if(i==null)return o;let l=o/i;l===1/0&&(l=Number.MAX_SAFE_INTEGER/100),e=e||new Oe(t/2/r+s.x,a/2/n+s.y);const c=new at(s).transform(new oe({scale:l,origin:e}));return this.viewbox(c)}}}),De(at,"Box");class Ka extends Array{constructor(e=[],...t){if(super(e,...t),typeof e=="number")return this;this.length=0,this.push(...e)}}fe([Ka],{each(i,...e){return typeof i=="function"?this.map(((t,a,s)=>i.call(t,t,a,s))):this.map((t=>t[i](...e)))},toArray(){return Array.prototype.concat.apply([],this)}});const f_=["toArray","constructor","each"];function Qa(i,e){return new Ka(md((e||Te.document).querySelectorAll(i),(function(t){return Qt(t)})))}Ka.extend=function(i){i=i.reduce(((e,t)=>(f_.includes(t)||t[0]==="_"||(t in Array.prototype&&(e["$"+t]=Array.prototype[t]),e[t]=function(...a){return this.each(t,...a)}),e)),{}),fe([Ka],i)};let g_=0;const ax={};function sx(i){let e=i.getEventHolder();return e===Te.window&&(e=ax),e.events||(e.events={}),e.events}function wd(i){return i.getEventTarget()}function ji(i,e,t,a,s){const r=t.bind(a||i),n=Lt(i),o=sx(n),l=wd(n);e=Array.isArray(e)?e:e.split(Zi),t._svgjsListenerId||(t._svgjsListenerId=++g_),e.forEach((function(c){const u=c.split(".")[0],d=c.split(".")[1]||"*";o[u]=o[u]||{},o[u][d]=o[u][d]||{},o[u][d][t._svgjsListenerId]=r,l.addEventListener(u,r,s||!1)}))}function ai(i,e,t,a){const s=Lt(i),r=sx(s),n=wd(s);(typeof t!="function"||(t=t._svgjsListenerId))&&(e=Array.isArray(e)?e:(e||"").split(Zi)).forEach((function(o){const l=o&&o.split(".")[0],c=o&&o.split(".")[1];let u,d;if(t)r[l]&&r[l][c||"*"]&&(n.removeEventListener(l,r[l][c||"*"][t],a||!1),delete r[l][c||"*"][t]);else if(l&&c){if(r[l]&&r[l][c]){for(d in r[l][c])ai(n,[l,c].join("."),d);delete r[l][c]}}else if(c)for(o in r)for(u in r[o])c===u&&ai(n,[o,c].join("."));else if(l){if(r[l]){for(u in r[l])ai(n,[l,u].join("."));delete r[l]}}else{for(o in r)ai(n,o);(function(h){let f=h.getEventHolder();f===Te.window&&(f=ax),f.events&&(f.events={})})(s)}}))}class rn extends vd{addEventListener(){}dispatch(e,t,a){return(function(s,r,n,o){const l=wd(s);return r instanceof Te.window.Event||(r=new Te.window.CustomEvent(r,{detail:n,cancelable:!0,...o})),l.dispatchEvent(r),r})(this,e,t,a)}dispatchEvent(e){const t=this.getEventHolder().events;if(!t)return!0;const a=t[e.type];for(const s in a)for(const r in a[s])a[s][r](e);return!e.defaultPrevented}fire(e,t,a){return this.dispatch(e,t,a),this}getEventHolder(){return this}getEventTarget(){return this}off(e,t,a){return ai(this,e,t,a),this}on(e,t,a,s){return ji(this,e,t,a,s),this}removeEventListener(){}}function Cg(){}De(rn,"EventTarget");const Yl=400,p_=">",m_=0,b_={"fill-opacity":1,"stroke-opacity":1,"stroke-width":0,"stroke-linejoin":"miter","stroke-linecap":"butt",fill:"#000000",stroke:"#000000",opacity:1,x:0,y:0,cx:0,cy:0,width:0,height:0,r:0,rx:0,ry:0,offset:0,"stop-opacity":1,"stop-color":"#000000","text-anchor":"start"};class Za extends Array{constructor(...e){super(...e),this.init(...e)}clone(){return new this.constructor(this)}init(e){return typeof e=="number"||(this.length=0,this.push(...this.parse(e))),this}parse(e=[]){return e instanceof Array?e:e.trim().split(Zi).map(parseFloat)}toArray(){return Array.prototype.concat.apply([],this)}toSet(){return new Set(this)}toString(){return this.join(" ")}valueOf(){const e=[];return e.push(...this),e}}class Ae{constructor(...e){this.init(...e)}convert(e){return new Ae(this.value,e)}divide(e){return e=new Ae(e),new Ae(this/e,this.unit||e.unit)}init(e,t){return t=Array.isArray(e)?e[1]:t,e=Array.isArray(e)?e[0]:e,this.value=0,this.unit=t||"",typeof e=="number"?this.value=isNaN(e)?0:isFinite(e)?e:e<0?-34e37:34e37:typeof e=="string"?(t=e.match(tx))&&(this.value=parseFloat(t[1]),t[5]==="%"?this.value/=100:t[5]==="s"&&(this.value*=1e3),this.unit=t[5]):e instanceof Ae&&(this.value=e.valueOf(),this.unit=e.unit),this}minus(e){return e=new Ae(e),new Ae(this-e,this.unit||e.unit)}plus(e){return e=new Ae(e),new Ae(this+e,this.unit||e.unit)}times(e){return e=new Ae(e),new Ae(this*e,this.unit||e.unit)}toArray(){return[this.value,this.unit]}toJSON(){return this.toString()}toString(){return(this.unit==="%"?~~(1e8*this.value)/1e6:this.unit==="s"?this.value/1e3:this.value)+this.unit}valueOf(){return this.value}}const v_=new Set(["fill","stroke","color","bgcolor","stop-color","flood-color","lighting-color"]),rx=[];class ma extends rn{constructor(e,t){super(),this.node=e,this.type=e.nodeName,t&&e!==t&&this.attr(t)}add(e,t){return(e=Lt(e)).removeNamespace&&this.node instanceof Te.window.SVGElement&&e.removeNamespace(),t==null?this.node.appendChild(e.node):e.node!==this.node.childNodes[t]&&this.node.insertBefore(e.node,this.node.childNodes[t]),this}addTo(e,t){return Lt(e).put(this,t)}children(){return new Ka(md(this.node.children,(function(e){return Qt(e)})))}clear(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return this}clone(e=!0,t=!0){this.writeDataToDom();let a=this.node.cloneNode(e);return t&&(a=ex(a)),new this.constructor(a)}each(e,t){const a=this.children();let s,r;for(s=0,r=a.length;s<r;s++)e.apply(a[s],[s,a]),t&&a[s].each(e,t);return this}element(e,t){return this.put(new ma(Lr(e),t))}first(){return Qt(this.node.firstChild)}get(e){return Qt(this.node.childNodes[e])}getEventHolder(){return this.node}getEventTarget(){return this.node}has(e){return this.index(e)>=0}html(e,t){return this.xml(e,t,"http://www.w3.org/1999/xhtml")}id(e){return e!==void 0||this.node.id||(this.node.id=Qv(this.type)),this.attr("id",e)}index(e){return[].slice.call(this.node.childNodes).indexOf(e.node)}last(){return Qt(this.node.lastChild)}matches(e){const t=this.node,a=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.oMatchesSelector||null;return a&&a.call(t,e)}parent(e){let t=this;if(!t.node.parentNode)return null;if(t=Qt(t.node.parentNode),!e)return t;do if(typeof e=="string"?t.matches(e):t instanceof e)return t;while(t=Qt(t.node.parentNode));return t}put(e,t){return e=Lt(e),this.add(e,t),e}putIn(e,t){return Lt(e).add(this,t)}remove(){return this.parent()&&this.parent().removeElement(this),this}removeElement(e){return this.node.removeChild(e.node),this}replace(e){return e=Lt(e),this.node.parentNode&&this.node.parentNode.replaceChild(e.node,this.node),e}round(e=2,t=null){const a=10**e,s=this.attr(t);for(const r in s)typeof s[r]=="number"&&(s[r]=Math.round(s[r]*a)/a);return this.attr(s),this}svg(e,t){return this.xml(e,t,bd)}toString(){return this.id()}words(e){return this.node.textContent=e,this}wrap(e){const t=this.parent();if(!t)return this.addTo(e);const a=t.index(this);return t.put(e,a).put(this)}writeDataToDom(){return this.each((function(){this.writeDataToDom()})),this}xml(e,t,a){if(typeof e=="boolean"&&(a=t,t=e,e=null),e==null||typeof e=="function"){t=t==null||t,this.writeDataToDom();let o=this;if(e!=null){if(o=Qt(o.node.cloneNode(!0)),t){const l=e(o);if(o=l||o,l===!1)return""}o.each((function(){const l=e(this),c=l||this;l===!1?this.remove():l&&this!==c&&this.replace(c)}),!0)}return t?o.node.outerHTML:o.node.innerHTML}t=t!=null&&t;const s=Lr("wrapper",a),r=Te.document.createDocumentFragment();s.innerHTML=e;for(let o=s.children.length;o--;)r.appendChild(s.firstElementChild);const n=this.parent();return t?this.replace(r)&&n:this.add(r)}}fe(ma,{attr:function(i,e,t){if(i==null){i={},e=this.node.attributes;for(const a of e)i[a.nodeName]=Ag.test(a.nodeValue)?parseFloat(a.nodeValue):a.nodeValue;return i}if(i instanceof Array)return i.reduce(((a,s)=>(a[s]=this.attr(s),a)),{});if(typeof i=="object"&&i.constructor===Object)for(e in i)this.attr(e,i[e]);else if(e===null)this.node.removeAttribute(i);else{if(e==null)return(e=this.node.getAttribute(i))==null?b_[i]:Ag.test(e)?parseFloat(e):e;typeof(e=rx.reduce(((a,s)=>s(i,a,this)),e))=="number"?e=new Ae(e):v_.has(i)&&Ve.isColor(e)?e=new Ve(e):e.constructor===Array&&(e=new Za(e)),i==="leading"?this.leading&&this.leading(e):typeof t=="string"?this.node.setAttributeNS(t,i,e.toString()):this.node.setAttribute(i,e.toString()),!this.rebuild||i!=="font-size"&&i!=="x"||this.rebuild()}return this},find:function(i){return Qa(i,this.node)},findOne:function(i){return Qt(this.node.querySelector(i))}}),De(ma,"Dom");let vt=class extends ma{constructor(i,e){super(i,e),this.dom={},this.node.instance=this,(i.hasAttribute("data-svgjs")||i.hasAttribute("svgjs:data"))&&this.setData(JSON.parse(i.getAttribute("data-svgjs"))??JSON.parse(i.getAttribute("svgjs:data"))??{})}center(i,e){return this.cx(i).cy(e)}cx(i){return i==null?this.x()+this.width()/2:this.x(i-this.width()/2)}cy(i){return i==null?this.y()+this.height()/2:this.y(i-this.height()/2)}defs(){const i=this.root();return i&&i.defs()}dmove(i,e){return this.dx(i).dy(e)}dx(i=0){return this.x(new Ae(i).plus(this.x()))}dy(i=0){return this.y(new Ae(i).plus(this.y()))}getEventHolder(){return this}height(i){return this.attr("height",i)}move(i,e){return this.x(i).y(e)}parents(i=this.root()){const e=typeof i=="string";e||(i=Lt(i));const t=new Ka;let a=this;for(;(a=a.parent())&&a.node!==Te.document&&a.nodeName!=="#document-fragment"&&(t.push(a),e||a.node!==i.node)&&(!e||!a.matches(i));)if(a.node===this.root().node)return null;return t}reference(i){if(!(i=this.attr(i)))return null;const e=(i+"").match(l_);return e?Lt(e[1]):null}root(){const i=this.parent((function(e){return Va[e]})(xd));return i&&i.root()}setData(i){return this.dom=i,this}size(i,e){const t=Ys(this,i,e);return this.width(new Ae(t.width)).height(new Ae(t.height))}width(i){return this.attr("width",i)}writeDataToDom(){return Jv(this,this.dom),super.writeDataToDom()}x(i){return this.attr("x",i)}y(i){return this.attr("y",i)}};fe(vt,{bbox:function(){const i=Sg(this,(e=>e.getBBox()),(e=>{try{const t=e.clone().addTo(ca().svg).show(),a=t.node.getBBox();return t.remove(),a}catch(t){throw new Error(`Getting bbox of element "${e.node.nodeName}" is not possible: ${t.toString()}`)}}));return new at(i)},rbox:function(i){const e=Sg(this,(a=>a.getBoundingClientRect()),(a=>{throw new Error(`Getting rbox of element "${a.node.nodeName}" is not possible`)})),t=new at(e);return i?t.transform(i.screenCTM().inverseO()):t.addOffset()},inside:function(i,e){const t=this.bbox();return i>t.x&&e>t.y&&i<t.x+t.width&&e<t.y+t.height},point:function(i,e){return new Oe(i,e).transformO(this.screenCTM().inverseO())},ctm:function(){return new oe(this.node.getCTM())},screenCTM:function(){try{if(typeof this.isRoot=="function"&&!this.isRoot()){const i=this.rect(1,1),e=i.node.getScreenCTM();return i.remove(),new oe(e)}return new oe(this.node.getScreenCTM())}catch{return console.warn(`Cannot get CTM from SVG node ${this.node.nodeName}. Is the element rendered?`),new oe}}}),De(vt,"Element");const er={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(i,e){return e==="color"?i:i+"-"+e}};["fill","stroke"].forEach((function(i){const e={};let t;e[i]=function(a){if(a===void 0)return this.attr(i);if(typeof a=="string"||a instanceof Ve||Ve.isRgb(a)||a instanceof vt)this.attr(i,a);else for(t=er[i].length-1;t>=0;t--)a[er[i][t]]!=null&&this.attr(er.prefix(i,er[i][t]),a[er[i][t]]);return this},Ce(["Element","Runner"],e)})),Ce(["Element","Runner"],{matrix:function(i,e,t,a,s,r){return i==null?new oe(this):this.attr("transform",new oe(i,e,t,a,s,r))},rotate:function(i,e,t){return this.transform({rotate:i,ox:e,oy:t},!0)},skew:function(i,e,t,a){return arguments.length===1||arguments.length===3?this.transform({skew:i,ox:e,oy:t},!0):this.transform({skew:[i,e],ox:t,oy:a},!0)},shear:function(i,e,t){return this.transform({shear:i,ox:e,oy:t},!0)},scale:function(i,e,t,a){return arguments.length===1||arguments.length===3?this.transform({scale:i,ox:e,oy:t},!0):this.transform({scale:[i,e],ox:t,oy:a},!0)},translate:function(i,e){return this.transform({translate:[i,e]},!0)},relative:function(i,e){return this.transform({relative:[i,e]},!0)},flip:function(i="both",e="center"){return"xybothtrue".indexOf(i)===-1&&(e=i,i="both"),this.transform({flip:i,origin:e},!0)},opacity:function(i){return this.attr("opacity",i)}}),Ce("radius",{radius:function(i,e=i){return(this._element||this).type==="radialGradient"?this.attr("r",new Ae(i)):this.rx(i).ry(e)}}),Ce("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(i){return new Oe(this.node.getPointAtLength(i))}}),Ce(["Element","Runner"],{font:function(i,e){if(typeof i=="object"){for(e in i)this.font(e,i[e]);return this}return i==="leading"?this.leading(e):i==="anchor"?this.attr("text-anchor",e):i==="size"||i==="family"||i==="weight"||i==="stretch"||i==="variant"||i==="style"?this.attr("font-"+i,e):this.attr(i,e)}});Ce("Element",["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel","contextmenu","wheel","pointerdown","pointermove","pointerup","pointerleave","pointercancel"].reduce((function(i,e){return i[e]=function(t){return t===null?this.off(e):this.on(e,t),this},i}),{})),Ce("Element",{untransform:function(){return this.attr("transform",null)},matrixify:function(){return(this.attr("transform")||"").split(c_).slice(0,-1).map((function(e){const t=e.trim().split("(");return[t[0],t[1].split(Zi).map((function(a){return parseFloat(a)}))]})).reverse().reduce((function(e,t){return t[0]==="matrix"?e.lmultiply(oe.fromArray(t[1])):e[t[0]].apply(e,t[1])}),new oe)},toParent:function(i,e){if(this===i)return this;if(ru(this.node))return this.addTo(i,e);const t=this.screenCTM(),a=i.screenCTM().inverse();return this.addTo(i,e).untransform().transform(a.multiply(t)),this},toRoot:function(i){return this.toParent(this.root(),i)},transform:function(i,e){if(i==null||typeof i=="string"){const a=new oe(this).decompose();return i==null?a:a[i]}oe.isMatrixLike(i)||(i={...i,origin:su(i,this)});const t=new oe(e===!0?this:e||!1).transform(i);return this.attr("transform",t)}});class Ot extends vt{flatten(){return this.each((function(){if(this instanceof Ot)return this.flatten().ungroup()})),this}ungroup(e=this.parent(),t=e.index(this)){return t=t===-1?e.children().length:t,this.each((function(a,s){return s[s.length-a-1].toParent(e,t)})),this.remove()}}De(Ot,"Container");class el extends Ot{constructor(e,t=e){super(Ue("defs",e),t)}flatten(){return this}ungroup(){return this}}De(el,"Defs");class $t extends vt{}function kd(i){return this.attr("rx",i)}function Ad(i){return this.attr("ry",i)}function nx(i){return i==null?this.cx()-this.rx():this.cx(i+this.rx())}function ox(i){return i==null?this.cy()-this.ry():this.cy(i+this.ry())}function lx(i){return this.attr("cx",i)}function cx(i){return this.attr("cy",i)}function ux(i){return i==null?2*this.rx():this.rx(new Ae(i).divide(2))}function dx(i){return i==null?2*this.ry():this.ry(new Ae(i).divide(2))}De($t,"Shape");var x_=Object.freeze({__proto__:null,cx:lx,cy:cx,height:dx,rx:kd,ry:Ad,width:ux,x:nx,y:ox});class Bn extends $t{constructor(e,t=e){super(Ue("ellipse",e),t)}size(e,t){const a=Ys(this,e,t);return this.rx(new Ae(a.width).divide(2)).ry(new Ae(a.height).divide(2))}}fe(Bn,x_),Ce("Container",{ellipse:Ye((function(i=0,e=i){return this.put(new Bn).size(i,e).move(0,0)}))}),De(Bn,"Ellipse");class hx extends ma{constructor(e=Te.document.createDocumentFragment()){super(e)}xml(e,t,a){if(typeof e=="boolean"&&(a=t,t=e,e=null),e==null||typeof e=="function"){const s=new ma(Lr("wrapper",a));return s.add(this.node.cloneNode(!0)),s.xml(!1,a)}return super.xml(e,!1,a)}}function fx(i,e){return(this._element||this).type==="radialGradient"?this.attr({fx:new Ae(i),fy:new Ae(e)}):this.attr({x1:new Ae(i),y1:new Ae(e)})}function gx(i,e){return(this._element||this).type==="radialGradient"?this.attr({cx:new Ae(i),cy:new Ae(e)}):this.attr({x2:new Ae(i),y2:new Ae(e)})}De(hx,"Fragment");var y_=Object.freeze({__proto__:null,from:fx,to:gx});class br extends Ot{constructor(e,t){super(Ue(e+"Gradient",typeof e=="string"?null:e),t)}attr(e,t,a){return e==="transform"&&(e="gradientTransform"),super.attr(e,t,a)}bbox(){return new at}targets(){return Qa("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(e){return this.clear(),typeof e=="function"&&e.call(this,this),this}url(){return"url(#"+this.id()+")"}}fe(br,y_),Ce({Container:{gradient(...i){return this.defs().gradient(...i)}},Defs:{gradient:Ye((function(i,e){return this.put(new br(i)).update(e)}))}}),De(br,"Gradient");class Rr extends Ot{constructor(e,t=e){super(Ue("pattern",e),t)}attr(e,t,a){return e==="transform"&&(e="patternTransform"),super.attr(e,t,a)}bbox(){return new at}targets(){return Qa("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(e){return this.clear(),typeof e=="function"&&e.call(this,this),this}url(){return"url(#"+this.id()+")"}}Ce({Container:{pattern(...i){return this.defs().pattern(...i)}},Defs:{pattern:Ye((function(i,e,t){return this.put(new Rr).update(t).attr({x:0,y:0,width:i,height:e,patternUnits:"userSpaceOnUse"})}))}}),De(Rr,"Pattern");let Hn=class extends $t{constructor(i,e=i){super(Ue("image",i),e)}load(i,e){if(!i)return this;const t=new Te.window.Image;return ji(t,"load",(function(a){const s=this.parent(Rr);this.width()===0&&this.height()===0&&this.size(t.width,t.height),s instanceof Rr&&s.width()===0&&s.height()===0&&s.size(this.width(),this.height()),typeof e=="function"&&e.call(this,a)}),this),ji(t,"load error",(function(){ai(t)})),this.attr("href",t.src=i,Us)}};var Eg;Eg=function(i,e,t){return i!=="fill"&&i!=="stroke"||d_.test(e)&&(e=t.root().defs().image(e)),e instanceof Hn&&(e=t.root().defs().pattern(0,0,(a=>{a.add(e)}))),e},rx.push(Eg),Ce({Container:{image:Ye((function(i,e){return this.put(new Hn).size(0,0).load(i,e)}))}}),De(Hn,"Image");class ba extends Za{bbox(){let e=-1/0,t=-1/0,a=1/0,s=1/0;return this.forEach((function(r){e=Math.max(r[0],e),t=Math.max(r[1],t),a=Math.min(r[0],a),s=Math.min(r[1],s)})),new at(a,s,e-a,t-s)}move(e,t){const a=this.bbox();if(e-=a.x,t-=a.y,!isNaN(e)&&!isNaN(t))for(let s=this.length-1;s>=0;s--)this[s]=[this[s][0]+e,this[s][1]+t];return this}parse(e=[0,0]){const t=[];(e=e instanceof Array?Array.prototype.concat.apply([],e):e.trim().split(Zi).map(parseFloat)).length%2!=0&&e.pop();for(let a=0,s=e.length;a<s;a+=2)t.push([e[a],e[a+1]]);return t}size(e,t){let a;const s=this.bbox();for(a=this.length-1;a>=0;a--)s.width&&(this[a][0]=(this[a][0]-s.x)*e/s.width+s.x),s.height&&(this[a][1]=(this[a][1]-s.y)*t/s.height+s.y);return this}toLine(){return{x1:this[0][0],y1:this[0][1],x2:this[1][0],y2:this[1][1]}}toString(){const e=[];for(let t=0,a=this.length;t<a;t++)e.push(this[t].join(","));return e.join(" ")}transform(e){return this.clone().transformO(e)}transformO(e){oe.isMatrixLike(e)||(e=new oe(e));for(let t=this.length;t--;){const[a,s]=this[t];this[t][0]=e.a*a+e.c*s+e.e,this[t][1]=e.b*a+e.d*s+e.f}return this}}const w_=ba;var Sd=Object.freeze({__proto__:null,MorphArray:w_,height:function(i){const e=this.bbox();return i==null?e.height:this.size(e.width,i)},width:function(i){const e=this.bbox();return i==null?e.width:this.size(i,e.height)},x:function(i){return i==null?this.bbox().x:this.move(i,this.bbox().y)},y:function(i){return i==null?this.bbox().y:this.move(this.bbox().x,i)}});let La=class extends $t{constructor(i,e=i){super(Ue("line",i),e)}array(){return new ba([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])}move(i,e){return this.attr(this.array().move(i,e).toLine())}plot(i,e,t,a){return i==null?this.array():(i=e!==void 0?{x1:i,y1:e,x2:t,y2:a}:new ba(i).toLine(),this.attr(i))}size(i,e){const t=Ys(this,i,e);return this.attr(this.array().size(t.width,t.height).toLine())}};fe(La,Sd),Ce({Container:{line:Ye((function(...i){return La.prototype.plot.apply(this.put(new La),i[0]!=null?i:[0,0,0,0])}))}}),De(La,"Line");let Wn=class extends Ot{constructor(i,e=i){super(Ue("marker",i),e)}height(i){return this.attr("markerHeight",i)}orient(i){return this.attr("orient",i)}ref(i,e){return this.attr("refX",i).attr("refY",e)}toString(){return"url(#"+this.id()+")"}update(i){return this.clear(),typeof i=="function"&&i.call(this,this),this}width(i){return this.attr("markerWidth",i)}};function ms(i,e){return function(t){return t==null?this[i]:(this[i]=t,e&&e.call(this),this)}}Ce({Container:{marker(...i){return this.defs().marker(...i)}},Defs:{marker:Ye((function(i,e,t){return this.put(new Wn).size(i,e).ref(i/2,e/2).viewbox(0,0,i,e).attr("orient","auto").update(t)}))},marker:{marker(i,e,t,a){let s=["marker"];return i!=="all"&&s.push(i),s=s.join("-"),i=arguments[1]instanceof Wn?arguments[1]:this.defs().marker(e,t,a),this.attr(s,i)}}}),De(Wn,"Marker");const k_={"-":function(i){return i},"<>":function(i){return-Math.cos(i*Math.PI)/2+.5},">":function(i){return Math.sin(i*Math.PI/2)},"<":function(i){return 1-Math.cos(i*Math.PI/2)},bezier:function(i,e,t,a){return function(s){return s<0?i>0?e/i*s:t>0?a/t*s:0:s>1?t<1?(1-a)/(1-t)*s+(a-t)/(1-t):i<1?(1-e)/(1-i)*s+(e-i)/(1-i):1:3*s*(1-s)**2*e+3*s**2*(1-s)*a+s**3}},steps:function(i,e="end"){e=e.split("-").reverse()[0];let t=i;return e==="none"?--t:e==="both"&&++t,(a,s=!1)=>{let r=Math.floor(a*i);const n=a*r%1==0;return e!=="start"&&e!=="both"||++r,s&&n&&--r,a>=0&&r<0&&(r=0),a<=1&&r>t&&(r=t),r/t}}};class Cd{done(){return!1}}class nu extends Cd{constructor(e=p_){super(),this.ease=k_[e]||e}step(e,t,a){return typeof e!="number"?a<1?e:t:e+(t-e)*this.ease(a)}}class vo extends Cd{constructor(e){super(),this.stepper=e}done(e){return e.done}step(e,t,a,s){return this.stepper(e,t,a,s)}}function Mg(){const i=(this._duration||500)/1e3,e=this._overshoot||0,t=Math.PI,a=Math.log(e/100+1e-10),s=-a/Math.sqrt(t*t+a*a),r=3.9/(s*i);this.d=2*s*r,this.k=r*r}fe(class extends vo{constructor(i=500,e=0){super(),this.duration(i).overshoot(e)}step(i,e,t,a){if(typeof i=="string")return i;if(a.done=t===1/0,t===1/0)return e;if(t===0)return i;t>100&&(t=16),t/=1e3;const s=a.velocity||0,r=-this.d*s-this.k*(i-e),n=i+s*t+r*t*t/2;return a.velocity=s+r*t,a.done=Math.abs(e-n)+Math.abs(s)<.002,a.done?e:n}},{duration:ms("_duration",Mg),overshoot:ms("_overshoot",Mg)});fe(class extends vo{constructor(i=.1,e=.01,t=0,a=1e3){super(),this.p(i).i(e).d(t).windup(a)}step(i,e,t,a){if(typeof i=="string")return i;if(a.done=t===1/0,t===1/0)return e;if(t===0)return i;const s=e-i;let r=(a.integral||0)+s*t;const n=(s-(a.error||0))/t,o=this._windup;return o!==!1&&(r=Math.max(-o,Math.min(r,o))),a.error=s,a.integral=r,a.done=Math.abs(s)<.001,a.done?e:i+(this.P*s+this.I*r+this.D*n)}},{windup:ms("_windup"),p:ms("P"),i:ms("I"),d:ms("D")});const A_={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0},ou={M:function(i,e,t){return e.x=t.x=i[0],e.y=t.y=i[1],["M",e.x,e.y]},L:function(i,e){return e.x=i[0],e.y=i[1],["L",i[0],i[1]]},H:function(i,e){return e.x=i[0],["H",i[0]]},V:function(i,e){return e.y=i[0],["V",i[0]]},C:function(i,e){return e.x=i[4],e.y=i[5],["C",i[0],i[1],i[2],i[3],i[4],i[5]]},S:function(i,e){return e.x=i[2],e.y=i[3],["S",i[0],i[1],i[2],i[3]]},Q:function(i,e){return e.x=i[2],e.y=i[3],["Q",i[0],i[1],i[2],i[3]]},T:function(i,e){return e.x=i[0],e.y=i[1],["T",i[0],i[1]]},Z:function(i,e,t){return e.x=t.x,e.y=t.y,["Z"]},A:function(i,e){return e.x=i[5],e.y=i[6],["A",i[0],i[1],i[2],i[3],i[4],i[5],i[6]]}},Ul="mlhvqtcsaz".split("");for(let i=0,e=Ul.length;i<e;++i)ou[Ul[i]]=(function(t){return function(a,s,r){if(t==="H")a[0]=a[0]+s.x;else if(t==="V")a[0]=a[0]+s.y;else if(t==="A")a[5]=a[5]+s.x,a[6]=a[6]+s.y;else for(let n=0,o=a.length;n<o;++n)a[n]=a[n]+(n%2?s.y:s.x);return ou[t](a,s,r)}})(Ul[i].toUpperCase());function lu(i){return i.segment.length&&i.segment.length-1===A_[i.segment[0].toUpperCase()]}function S_(i,e){i.inNumber&&Ma(i,!1);const t=yd.test(e);if(t)i.segment=[e];else{const a=i.lastCommand,s=a.toLowerCase(),r=a===s;i.segment=[s==="m"?r?"l":"L":a]}return i.inSegment=!0,i.lastCommand=i.segment[0],t}function Ma(i,e){if(!i.inNumber)throw new Error("Parser Error");i.number&&i.segment.push(parseFloat(i.number)),i.inNumber=e,i.number="",i.pointSeen=!1,i.hasExponent=!1,lu(i)&&cu(i)}function cu(i){i.inSegment=!1,i.absolute&&(i.segment=(function(e){const t=e.segment[0];return ou[t](e.segment.slice(1),e.p,e.p0)})(i)),i.segments.push(i.segment)}function C_(i){if(!i.segment.length)return!1;const e=i.segment[0].toUpperCase()==="A",t=i.segment.length;return e&&(t===4||t===5)}function E_(i){return i.lastToken.toUpperCase()==="E"}const M_=new Set([" ",","," ",`
|
|
65
|
+
`,"\r","\f"]);class di extends Za{bbox(){return ca().path.setAttribute("d",this.toString()),new at(ca.nodes.path.getBBox())}move(e,t){const a=this.bbox();if(e-=a.x,t-=a.y,!isNaN(e)&&!isNaN(t))for(let s,r=this.length-1;r>=0;r--)s=this[r][0],s==="M"||s==="L"||s==="T"?(this[r][1]+=e,this[r][2]+=t):s==="H"?this[r][1]+=e:s==="V"?this[r][1]+=t:s==="C"||s==="S"||s==="Q"?(this[r][1]+=e,this[r][2]+=t,this[r][3]+=e,this[r][4]+=t,s==="C"&&(this[r][5]+=e,this[r][6]+=t)):s==="A"&&(this[r][6]+=e,this[r][7]+=t);return this}parse(e="M0 0"){return Array.isArray(e)&&(e=Array.prototype.concat.apply([],e).toString()),(function(t,a=!0){let s=0,r="";const n={segment:[],inNumber:!1,number:"",lastToken:"",inSegment:!1,segments:[],pointSeen:!1,hasExponent:!1,absolute:a,p0:new Oe,p:new Oe};for(;n.lastToken=r,r=t.charAt(s++);)if(n.inSegment||!S_(n,r))if(r!==".")if(isNaN(parseInt(r)))if(M_.has(r))n.inNumber&&Ma(n,!1);else if(r!=="-"&&r!=="+")if(r.toUpperCase()!=="E"){if(yd.test(r)){if(n.inNumber)Ma(n,!1);else{if(!lu(n))throw new Error("parser Error");cu(n)}--s}}else n.number+=r,n.hasExponent=!0;else{if(n.inNumber&&!E_(n)){Ma(n,!1),--s;continue}n.number+=r,n.inNumber=!0}else{if(n.number==="0"||C_(n)){n.inNumber=!0,n.number=r,Ma(n,!0);continue}n.inNumber=!0,n.number+=r}else{if(n.pointSeen||n.hasExponent){Ma(n,!1),--s;continue}n.inNumber=!0,n.pointSeen=!0,n.number+=r}return n.inNumber&&Ma(n,!1),n.inSegment&&lu(n)&&cu(n),n.segments})(e)}size(e,t){const a=this.bbox();let s,r;for(a.width=a.width===0?1:a.width,a.height=a.height===0?1:a.height,s=this.length-1;s>=0;s--)r=this[s][0],r==="M"||r==="L"||r==="T"?(this[s][1]=(this[s][1]-a.x)*e/a.width+a.x,this[s][2]=(this[s][2]-a.y)*t/a.height+a.y):r==="H"?this[s][1]=(this[s][1]-a.x)*e/a.width+a.x:r==="V"?this[s][1]=(this[s][1]-a.y)*t/a.height+a.y:r==="C"||r==="S"||r==="Q"?(this[s][1]=(this[s][1]-a.x)*e/a.width+a.x,this[s][2]=(this[s][2]-a.y)*t/a.height+a.y,this[s][3]=(this[s][3]-a.x)*e/a.width+a.x,this[s][4]=(this[s][4]-a.y)*t/a.height+a.y,r==="C"&&(this[s][5]=(this[s][5]-a.x)*e/a.width+a.x,this[s][6]=(this[s][6]-a.y)*t/a.height+a.y)):r==="A"&&(this[s][1]=this[s][1]*e/a.width,this[s][2]=this[s][2]*t/a.height,this[s][6]=(this[s][6]-a.x)*e/a.width+a.x,this[s][7]=(this[s][7]-a.y)*t/a.height+a.y);return this}toString(){return(function(e){let t="";for(let a=0,s=e.length;a<s;a++)t+=e[a][0],e[a][1]!=null&&(t+=e[a][1],e[a][2]!=null&&(t+=" ",t+=e[a][2],e[a][3]!=null&&(t+=" ",t+=e[a][3],t+=" ",t+=e[a][4],e[a][5]!=null&&(t+=" ",t+=e[a][5],t+=" ",t+=e[a][6],e[a][7]!=null&&(t+=" ",t+=e[a][7])))));return t+" "})(this)}}const px=i=>{const e=typeof i;return e==="number"?Ae:e==="string"?Ve.isColor(i)?Ve:Zi.test(i)?yd.test(i)?di:Za:tx.test(i)?Ae:uu:du.indexOf(i.constructor)>-1?i.constructor:Array.isArray(i)?Za:e==="object"?Nr:uu};class Pa{constructor(e){this._stepper=e||new nu("-"),this._from=null,this._to=null,this._type=null,this._context=null,this._morphObj=null}at(e){return this._morphObj.morph(this._from,this._to,e,this._stepper,this._context)}done(){return this._context.map(this._stepper.done).reduce((function(e,t){return e&&t}),!0)}from(e){return e==null?this._from:(this._from=this._set(e),this)}stepper(e){return e==null?this._stepper:(this._stepper=e,this)}to(e){return e==null?this._to:(this._to=this._set(e),this)}type(e){return e==null?this._type:(this._type=e,this)}_set(e){this._type||this.type(px(e));let t=new this._type(e);return this._type===Ve&&(t=this._to?t[this._to[4]]():this._from?t[this._from[4]]():t),this._type===Nr&&(t=this._to?t.align(this._to):this._from?t.align(this._from):t),t=t.toConsumable(),this._morphObj=this._morphObj||new this._type,this._context=this._context||Array.apply(null,Array(t.length)).map(Object).map((function(a){return a.done=!0,a})),t}}class uu{constructor(...e){this.init(...e)}init(e){return e=Array.isArray(e)?e[0]:e,this.value=e,this}toArray(){return[this.value]}valueOf(){return this.value}}class nn{constructor(...e){this.init(...e)}init(e){return Array.isArray(e)&&(e={scaleX:e[0],scaleY:e[1],shear:e[2],rotate:e[3],translateX:e[4],translateY:e[5],originX:e[6],originY:e[7]}),Object.assign(this,nn.defaults,e),this}toArray(){const e=this;return[e.scaleX,e.scaleY,e.shear,e.rotate,e.translateX,e.translateY,e.originX,e.originY]}}nn.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0};const P_=(i,e)=>i[0]<e[0]?-1:i[0]>e[0]?1:0;class Nr{constructor(...e){this.init(...e)}align(e){const t=this.values;for(let a=0,s=t.length;a<s;++a){if(t[a+1]===e[a+1]){if(t[a+1]===Ve&&e[a+7]!==t[a+7]){const o=e[a+7],l=new Ve(this.values.splice(a+3,5))[o]().toArray();this.values.splice(a+3,0,...l)}a+=t[a+2]+2;continue}if(!e[a+1])return this;const r=new e[a+1]().toArray(),n=t[a+2]+3;t.splice(a,n,e[a],e[a+1],e[a+2],...r),a+=t[a+2]+2}return this}init(e){if(this.values=[],Array.isArray(e))return void(this.values=e.slice());e=e||{};const t=[];for(const a in e){const s=px(e[a]),r=new s(e[a]).toArray();t.push([a,s,r.length,...r])}return t.sort(P_),this.values=t.reduce(((a,s)=>a.concat(s)),[]),this}toArray(){return this.values}valueOf(){const e={},t=this.values;for(;t.length;){const a=t.shift(),s=t.shift(),r=t.shift(),n=t.splice(0,r);e[a]=new s(n)}return e}}const du=[uu,nn,Nr];class Ss extends $t{constructor(e,t=e){super(Ue("path",e),t)}array(){return this._array||(this._array=new di(this.attr("d")))}clear(){return delete this._array,this}height(e){return e==null?this.bbox().height:this.size(this.bbox().width,e)}move(e,t){return this.attr("d",this.array().move(e,t))}plot(e){return e==null?this.array():this.clear().attr("d",typeof e=="string"?e:this._array=new di(e))}size(e,t){const a=Ys(this,e,t);return this.attr("d",this.array().size(a.width,a.height))}width(e){return e==null?this.bbox().width:this.size(e,this.bbox().height)}x(e){return e==null?this.bbox().x:this.move(e,this.bbox().y)}y(e){return e==null?this.bbox().y:this.move(this.bbox().x,e)}}Ss.prototype.MorphArray=di,Ce({Container:{path:Ye((function(i){return this.put(new Ss).plot(i||new di)}))}}),De(Ss,"Path");var mx=Object.freeze({__proto__:null,array:function(){return this._array||(this._array=new ba(this.attr("points")))},clear:function(){return delete this._array,this},move:function(i,e){return this.attr("points",this.array().move(i,e))},plot:function(i){return i==null?this.array():this.clear().attr("points",typeof i=="string"?i:this._array=new ba(i))},size:function(i,e){const t=Ys(this,i,e);return this.attr("points",this.array().size(t.width,t.height))}});class Ra extends $t{constructor(e,t=e){super(Ue("polygon",e),t)}}Ce({Container:{polygon:Ye((function(i){return this.put(new Ra).plot(i||new ba)}))}}),fe(Ra,Sd),fe(Ra,mx),De(Ra,"Polygon");class Na extends $t{constructor(e,t=e){super(Ue("polyline",e),t)}}Ce({Container:{polyline:Ye((function(i){return this.put(new Na).plot(i||new ba)}))}}),fe(Na,Sd),fe(Na,mx),De(Na,"Polyline");class jn extends $t{constructor(e,t=e){super(Ue("rect",e),t)}}fe(jn,{rx:kd,ry:Ad}),Ce({Container:{rect:Ye((function(i,e){return this.put(new jn).size(i,e)}))}}),De(jn,"Rect");class Xl{constructor(){this._first=null,this._last=null}first(){return this._first&&this._first.value}last(){return this._last&&this._last.value}push(e){const t=e.next!==void 0?e:{value:e,next:null,prev:null};return this._last?(t.prev=this._last,this._last.next=t,this._last=t):(this._last=t,this._first=t),t}remove(e){e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e===this._last&&(this._last=e.prev),e===this._first&&(this._first=e.next),e.prev=null,e.next=null}shift(){const e=this._first;return e?(this._first=e.next,this._first&&(this._first.prev=null),this._last=this._first?this._last:null,e.value):null}}const ze={nextDraw:null,frames:new Xl,timeouts:new Xl,immediates:new Xl,timer:()=>Te.window.performance||Te.window.Date,transforms:[],frame(i){const e=ze.frames.push({run:i});return ze.nextDraw===null&&(ze.nextDraw=Te.window.requestAnimationFrame(ze._draw)),e},timeout(i,e){e=e||0;const t=ze.timer().now()+e,a=ze.timeouts.push({run:i,time:t});return ze.nextDraw===null&&(ze.nextDraw=Te.window.requestAnimationFrame(ze._draw)),a},immediate(i){const e=ze.immediates.push(i);return ze.nextDraw===null&&(ze.nextDraw=Te.window.requestAnimationFrame(ze._draw)),e},cancelFrame(i){i!=null&&ze.frames.remove(i)},clearTimeout(i){i!=null&&ze.timeouts.remove(i)},cancelImmediate(i){i!=null&&ze.immediates.remove(i)},_draw(i){let e=null;const t=ze.timeouts.last();for(;(e=ze.timeouts.shift())&&(i>=e.time?e.run():ze.timeouts.push(e),e!==t););let a=null;const s=ze.frames.last();for(;a!==s&&(a=ze.frames.shift());)a.run(i);let r=null;for(;r=ze.immediates.shift();)r();ze.nextDraw=ze.timeouts.first()||ze.frames.first()?Te.window.requestAnimationFrame(ze._draw):null}},__=function(i){const e=i.start,t=i.runner.duration();return{start:e,duration:t,end:e+t,runner:i.runner}},I_=function(){const i=Te.window;return(i.performance||i.Date).now()};class bx extends rn{constructor(e=I_){super(),this._timeSource=e,this.terminate()}active(){return!!this._nextFrame}finish(){return this.time(this.getEndTimeOfTimeline()+1),this.pause()}getEndTime(){const e=this.getLastRunnerInfo(),t=e?e.runner.duration():0;return(e?e.start:this._time)+t}getEndTimeOfTimeline(){const e=this._runners.map((t=>t.start+t.runner.duration()));return Math.max(0,...e)}getLastRunnerInfo(){return this.getRunnerInfoById(this._lastRunnerId)}getRunnerInfoById(e){return this._runners[this._runnerIds.indexOf(e)]||null}pause(){return this._paused=!0,this._continue()}persist(e){return e==null?this._persist:(this._persist=e,this)}play(){return this._paused=!1,this.updateTime()._continue()}reverse(e){const t=this.speed();if(e==null)return this.speed(-t);const a=Math.abs(t);return this.speed(e?-a:a)}schedule(e,t,a){if(e==null)return this._runners.map(__);let s=0;const r=this.getEndTime();if(t=t||0,a==null||a==="last"||a==="after")s=r;else if(a==="absolute"||a==="start")s=t,t=0;else if(a==="now")s=this._time;else if(a==="relative"){const l=this.getRunnerInfoById(e.id);l&&(s=l.start+t,t=0)}else{if(a!=="with-last")throw new Error('Invalid value for the "when" parameter');{const l=this.getLastRunnerInfo();s=l?l.start:this._time}}e.unschedule(),e.timeline(this);const n=e.persist(),o={persist:n===null?this._persist:n,start:s+t,runner:e};return this._lastRunnerId=e.id,this._runners.push(o),this._runners.sort(((l,c)=>l.start-c.start)),this._runnerIds=this._runners.map((l=>l.runner.id)),this.updateTime()._continue(),this}seek(e){return this.time(this._time+e)}source(e){return e==null?this._timeSource:(this._timeSource=e,this)}speed(e){return e==null?this._speed:(this._speed=e,this)}stop(){return this.time(0),this.pause()}time(e){return e==null?this._time:(this._time=e,this._continue(!0))}unschedule(e){const t=this._runnerIds.indexOf(e.id);return t<0||(this._runners.splice(t,1),this._runnerIds.splice(t,1),e.timeline(null)),this}updateTime(){return this.active()||(this._lastSourceTime=this._timeSource()),this}_continue(e=!1){return ze.cancelFrame(this._nextFrame),this._nextFrame=null,e?this._stepImmediate():(this._paused||(this._nextFrame=ze.frame(this._step)),this)}_stepFn(e=!1){const t=this._timeSource();let a=t-this._lastSourceTime;e&&(a=0);const s=this._speed*a+(this._time-this._lastStepTime);this._lastSourceTime=t,e||(this._time+=s,this._time=this._time<0?0:this._time),this._lastStepTime=this._time,this.fire("time",this._time);for(let n=this._runners.length;n--;){const o=this._runners[n],l=o.runner;this._time-o.start<=0&&l.reset()}let r=!1;for(let n=0,o=this._runners.length;n<o;n++){const l=this._runners[n],c=l.runner;let u=s;const d=this._time-l.start;if(d<=0){r=!0;continue}d<u&&(u=d),c.active()&&(c.step(u).done?l.persist!==!0&&c.duration()-c.time()+this._time+l.persist<this._time&&(c.unschedule(),--n,--o):r=!0)}return r&&!(this._speed<0&&this._time===0)||this._runnerIds.length&&this._speed<0&&this._time>0?this._continue():(this.pause(),this.fire("finished")),this}terminate(){this._startTime=0,this._speed=1,this._persist=0,this._nextFrame=null,this._paused=!0,this._runners=[],this._runnerIds=[],this._lastRunnerId=-1,this._time=0,this._lastSourceTime=0,this._lastStepTime=0,this._step=this._stepFn.bind(this,!1),this._stepImmediate=this._stepFn.bind(this,!0)}}Ce({Element:{timeline:function(i){return i==null?(this._timeline=this._timeline||new bx,this._timeline):(this._timeline=i,this)}}});class Gt extends rn{constructor(e){super(),this.id=Gt.id++,e=typeof(e=e??Yl)=="function"?new vo(e):e,this._element=null,this._timeline=null,this.done=!1,this._queue=[],this._duration=typeof e=="number"&&e,this._isDeclarative=e instanceof vo,this._stepper=this._isDeclarative?e:new nu,this._history={},this.enabled=!0,this._time=0,this._lastTime=0,this._reseted=!0,this.transforms=new oe,this.transformId=1,this._haveReversed=!1,this._reverse=!1,this._loopsDone=0,this._swing=!1,this._wait=0,this._times=1,this._frameId=null,this._persist=!!this._isDeclarative||null}static sanitise(e,t,a){let s=1,r=!1,n=0;return t=t??m_,a=a||"last",typeof(e=e??Yl)!="object"||e instanceof Cd||(t=e.delay??t,a=e.when??a,r=e.swing||r,s=e.times??s,n=e.wait??n,e=e.duration??Yl),{duration:e,delay:t,swing:r,times:s,wait:n,when:a}}active(e){return e==null?this.enabled:(this.enabled=e,this)}addTransform(e){return this.transforms.lmultiplyO(e),this}after(e){return this.on("finished",e)}animate(e,t,a){const s=Gt.sanitise(e,t,a),r=new Gt(s.duration);return this._timeline&&r.timeline(this._timeline),this._element&&r.element(this._element),r.loop(s).schedule(s.delay,s.when)}clearTransform(){return this.transforms=new oe,this}clearTransformsFromQueue(){this.done&&this._timeline&&this._timeline._runnerIds.includes(this.id)||(this._queue=this._queue.filter((e=>!e.isTransform)))}delay(e){return this.animate(0,e)}duration(){return this._times*(this._wait+this._duration)-this._wait}during(e){return this.queue(null,e)}ease(e){return this._stepper=new nu(e),this}element(e){return e==null?this._element:(this._element=e,e._prepareRunner(),this)}finish(){return this.step(1/0)}loop(e,t,a){return typeof e=="object"&&(t=e.swing,a=e.wait,e=e.times),this._times=e||1/0,this._swing=t||!1,this._wait=a||0,this._times===!0&&(this._times=1/0),this}loops(e){const t=this._duration+this._wait;if(e==null){const r=Math.floor(this._time/t),n=(this._time-r*t)/this._duration;return Math.min(r+n,this._times)}const a=e%1,s=t*Math.floor(e)+this._duration*a;return this.time(s)}persist(e){return e==null?this._persist:(this._persist=e,this)}position(e){const t=this._time,a=this._duration,s=this._wait,r=this._times,n=this._swing,o=this._reverse;let l;if(e==null){const d=function(f){const g=n*Math.floor(f%(2*(s+a))/(s+a)),p=g&&!o||!g&&o,m=Math.pow(-1,p)*(f%(s+a))/a+p;return Math.max(Math.min(m,1),0)},h=r*(s+a)-s;return l=t<=0?Math.round(d(1e-5)):t<h?d(t):Math.round(d(h-1e-5)),l}const c=Math.floor(this.loops()),u=n&&c%2==0;return l=c+(u&&!o||o&&u?e:1-e),this.loops(l)}progress(e){return e==null?Math.min(1,this._time/this.duration()):this.time(e*this.duration())}queue(e,t,a,s){return this._queue.push({initialiser:e||Cg,runner:t||Cg,retarget:a,isTransform:s,initialised:!1,finished:!1}),this.timeline()&&this.timeline()._continue(),this}reset(){return this._reseted||(this.time(0),this._reseted=!0),this}reverse(e){return this._reverse=e??!this._reverse,this}schedule(e,t,a){if(e instanceof bx||(a=t,t=e,e=this.timeline()),!e)throw Error("Runner cannot be scheduled without timeline");return e.schedule(this,t,a),this}step(e){if(!this.enabled)return this;e=e??16,this._time+=e;const t=this.position(),a=this._lastPosition!==t&&this._time>=0;this._lastPosition=t;const s=this.duration(),r=this._lastTime<=0&&this._time>0,n=this._lastTime<s&&this._time>=s;this._lastTime=this._time,r&&this.fire("start",this);const o=this._isDeclarative;this.done=!o&&!n&&this._time>=s,this._reseted=!1;let l=!1;return(a||o)&&(this._initialise(a),this.transforms=new oe,l=this._run(o?e:t),this.fire("step",this)),this.done=this.done||l&&o,n&&this.fire("finished",this),this}time(e){if(e==null)return this._time;const t=e-this._time;return this.step(t),this}timeline(e){return e===void 0?this._timeline:(this._timeline=e,this)}unschedule(){const e=this.timeline();return e&&e.unschedule(this),this}_initialise(e){if(e||this._isDeclarative)for(let t=0,a=this._queue.length;t<a;++t){const s=this._queue[t],r=this._isDeclarative||!s.initialised&&e;e=!s.finished,r&&e&&(s.initialiser.call(this),s.initialised=!0)}}_rememberMorpher(e,t){if(this._history[e]={morpher:t,caller:this._queue[this._queue.length-1]},this._isDeclarative){const a=this.timeline();a&&a.play()}}_run(e){let t=!0;for(let a=0,s=this._queue.length;a<s;++a){const r=this._queue[a],n=r.runner.call(this,e);r.finished=r.finished||n===!0,t=t&&r.finished}return t}_tryRetarget(e,t,a){if(this._history[e]){if(!this._history[e].caller.initialised){const r=this._queue.indexOf(this._history[e].caller);return this._queue.splice(r,1),!1}this._history[e].caller.retarget?this._history[e].caller.retarget.call(this,t,a):this._history[e].morpher.to(t),this._history[e].caller.finished=!1;const s=this.timeline();return s&&s.play(),!0}return!1}}Gt.id=0;class xo{constructor(e=new oe,t=-1,a=!0){this.transforms=e,this.id=t,this.done=a}clearTransformsFromQueue(){}}fe([Gt,xo],{mergeWith(i){return new xo(i.transforms.lmultiply(this.transforms),i.id)}});const vx=(i,e)=>i.lmultiplyO(e),xx=i=>i.transforms;function T_(){const i=this._transformationRunners.runners.map(xx).reduce(vx,new oe);this.transform(i),this._transformationRunners.merge(),this._transformationRunners.length()===1&&(this._frameId=null)}class D_{constructor(){this.runners=[],this.ids=[]}add(e){if(this.runners.includes(e))return;const t=e.id+1;return this.runners.push(e),this.ids.push(t),this}clearBefore(e){const t=this.ids.indexOf(e+1)||1;return this.ids.splice(0,t,0),this.runners.splice(0,t,new xo).forEach((a=>a.clearTransformsFromQueue())),this}edit(e,t){const a=this.ids.indexOf(e+1);return this.ids.splice(a,1,e+1),this.runners.splice(a,1,t),this}getByID(e){return this.runners[this.ids.indexOf(e+1)]}length(){return this.ids.length}merge(){let e=null;for(let t=0;t<this.runners.length;++t){const a=this.runners[t];if(e&&a.done&&e.done&&(!a._timeline||!a._timeline._runnerIds.includes(a.id))&&(!e._timeline||!e._timeline._runnerIds.includes(e.id))){this.remove(a.id);const s=a.mergeWith(e);this.edit(e.id,s),e=s,--t}else e=a}return this}remove(e){const t=this.ids.indexOf(e+1);return this.ids.splice(t,1),this.runners.splice(t,1),this}}Ce({Element:{animate(i,e,t){const a=Gt.sanitise(i,e,t),s=this.timeline();return new Gt(a.duration).loop(a).element(this).timeline(s.play()).schedule(a.delay,a.when)},delay(i,e){return this.animate(0,i,e)},_clearTransformRunnersBefore(i){this._transformationRunners.clearBefore(i.id)},_currentTransform(i){return this._transformationRunners.runners.filter((e=>e.id<=i.id)).map(xx).reduce(vx,new oe)},_addRunner(i){this._transformationRunners.add(i),ze.cancelImmediate(this._frameId),this._frameId=ze.immediate(T_.bind(this))},_prepareRunner(){this._frameId==null&&(this._transformationRunners=new D_().add(new xo(new oe(this))))}}});fe(Gt,{attr(i,e){return this.styleAttr("attr",i,e)},css(i,e){return this.styleAttr("css",i,e)},styleAttr(i,e,t){if(typeof e=="string")return this.styleAttr(i,{[e]:t});let a=e;if(this._tryRetarget(i,a))return this;let s=new Pa(this._stepper).to(a),r=Object.keys(a);return this.queue((function(){s=s.from(this.element()[i](r))}),(function(n){return this.element()[i](s.at(n).valueOf()),s.done()}),(function(n){const o=Object.keys(n),l=(c=r,o.filter((d=>!c.includes(d))));var c;if(l.length){const d=this.element()[i](l),h=new Nr(s.from()).valueOf();Object.assign(h,d),s.from(h)}const u=new Nr(s.to()).valueOf();Object.assign(u,n),s.to(u),r=o,a=n})),this._rememberMorpher(i,s),this},zoom(i,e){if(this._tryRetarget("zoom",i,e))return this;let t=new Pa(this._stepper).to(new Ae(i));return this.queue((function(){t=t.from(this.element().zoom())}),(function(a){return this.element().zoom(t.at(a),e),t.done()}),(function(a,s){e=s,t.to(a)})),this._rememberMorpher("zoom",t),this},transform(i,e,t){if(e=i.relative||e,this._isDeclarative&&!e&&this._tryRetarget("transform",i))return this;const a=oe.isMatrixLike(i);t=i.affine!=null?i.affine:t??!a;const s=new Pa(this._stepper).type(t?nn:oe);let r,n,o,l,c;return this.queue((function(){n=n||this.element(),r=r||su(i,n),c=new oe(e?void 0:n),n._addRunner(this),e||n._clearTransformRunnersBefore(this)}),(function(u){e||this.clearTransform();const{x:d,y:h}=new Oe(r).transform(n._currentTransform(this));let f=new oe({...i,origin:[d,h]}),g=this._isDeclarative&&o?o:c;if(t){f=f.decompose(d,h),g=g.decompose(d,h);const m=f.rotate,b=g.rotate,v=[m-360,m,m+360],x=v.map((A=>Math.abs(A-b))),k=Math.min(...x),y=x.indexOf(k);f.rotate=v[y]}e&&(a||(f.rotate=i.rotate||0),this._isDeclarative&&l&&(g.rotate=l)),s.from(g),s.to(f);const p=s.at(u);return l=p.rotate,o=new oe(p),this.addTransform(o),n._addRunner(this),s.done()}),(function(u){(u.origin||"center").toString()!==(i.origin||"center").toString()&&(r=su(u,n)),i={...u,origin:r}}),!0),this._isDeclarative&&this._rememberMorpher("transform",s),this},x(i){return this._queueNumber("x",i)},y(i){return this._queueNumber("y",i)},ax(i){return this._queueNumber("ax",i)},ay(i){return this._queueNumber("ay",i)},dx(i=0){return this._queueNumberDelta("x",i)},dy(i=0){return this._queueNumberDelta("y",i)},dmove(i,e){return this.dx(i).dy(e)},_queueNumberDelta(i,e){if(e=new Ae(e),this._tryRetarget(i,e))return this;const t=new Pa(this._stepper).to(e);let a=null;return this.queue((function(){a=this.element()[i](),t.from(a),t.to(a+e)}),(function(s){return this.element()[i](t.at(s)),t.done()}),(function(s){t.to(a+new Ae(s))})),this._rememberMorpher(i,t),this},_queueObject(i,e){if(this._tryRetarget(i,e))return this;const t=new Pa(this._stepper).to(e);return this.queue((function(){t.from(this.element()[i]())}),(function(a){return this.element()[i](t.at(a)),t.done()})),this._rememberMorpher(i,t),this},_queueNumber(i,e){return this._queueObject(i,new Ae(e))},cx(i){return this._queueNumber("cx",i)},cy(i){return this._queueNumber("cy",i)},move(i,e){return this.x(i).y(e)},amove(i,e){return this.ax(i).ay(e)},center(i,e){return this.cx(i).cy(e)},size(i,e){let t;return i&&e||(t=this._element.bbox()),i||(i=t.width/t.height*e),e||(e=t.height/t.width*i),this.width(i).height(e)},width(i){return this._queueNumber("width",i)},height(i){return this._queueNumber("height",i)},plot(i,e,t,a){if(arguments.length===4)return this.plot([i,e,t,a]);if(this._tryRetarget("plot",i))return this;const s=new Pa(this._stepper).type(this._element.MorphArray).to(i);return this.queue((function(){s.from(this._element.array())}),(function(r){return this._element.plot(s.at(r)),s.done()})),this._rememberMorpher("plot",s),this},leading(i){return this._queueNumber("leading",i)},viewbox(i,e,t,a){return this._queueObject("viewbox",new at(i,e,t,a))},update(i){return typeof i!="object"?this.update({offset:arguments[0],color:arguments[1],opacity:arguments[2]}):(i.opacity!=null&&this.attr("stop-opacity",i.opacity),i.color!=null&&this.attr("stop-color",i.color),i.offset!=null&&this.attr("offset",i.offset),this)}}),fe(Gt,{rx:kd,ry:Ad,from:fx,to:gx}),De(Gt,"Runner");class hu extends Ot{constructor(e,t=e){super(Ue("svg",e),t),this.namespace()}defs(){return this.isRoot()?Qt(this.node.querySelector("defs"))||this.put(new el):this.root().defs()}isRoot(){return!this.node.parentNode||!(this.node.parentNode instanceof Te.window.SVGElement)&&this.node.parentNode.nodeName!=="#document-fragment"}namespace(){return this.isRoot()?this.attr({xmlns:bd,version:"1.1"}).attr("xmlns:xlink",Us,Wl):this.root().namespace()}removeNamespace(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,Wl).attr("xmlns:svgjs",null,Wl)}root(){return this.isRoot()?this:super.root()}}Ce({Container:{nested:Ye((function(){return this.put(new hu)}))}}),De(hu,"Svg",!0);let fu=class extends Ot{constructor(i,e=i){super(Ue("symbol",i),e)}};Ce({Container:{symbol:Ye((function(){return this.put(new fu)}))}}),De(fu,"Symbol");var yx=Object.freeze({__proto__:null,amove:function(i,e){return this.ax(i).ay(e)},ax:function(i){return this.attr("x",i)},ay:function(i){return this.attr("y",i)},build:function(i){return this._build=!!i,this},center:function(i,e,t=this.bbox()){return this.cx(i,t).cy(e,t)},cx:function(i,e=this.bbox()){return i==null?e.cx:this.attr("x",this.attr("x")+i-e.cx)},cy:function(i,e=this.bbox()){return i==null?e.cy:this.attr("y",this.attr("y")+i-e.cy)},length:function(){return this.node.getComputedTextLength()},move:function(i,e,t=this.bbox()){return this.x(i,t).y(e,t)},plain:function(i){return this._build===!1&&this.clear(),this.node.appendChild(Te.document.createTextNode(i)),this},x:function(i,e=this.bbox()){return i==null?e.x:this.attr("x",this.attr("x")+i-e.x)},y:function(i,e=this.bbox()){return i==null?e.y:this.attr("y",this.attr("y")+i-e.y)}});class hi extends $t{constructor(e,t=e){super(Ue("text",e),t),this.dom.leading=this.dom.leading??new Ae(1.3),this._rebuild=!0,this._build=!1}leading(e){return e==null?this.dom.leading:(this.dom.leading=new Ae(e),this.rebuild())}rebuild(e){if(typeof e=="boolean"&&(this._rebuild=e),this._rebuild){const t=this;let a=0;const s=this.dom.leading;this.each((function(r){if(ru(this.node))return;const n=Te.window.getComputedStyle(this.node).getPropertyValue("font-size"),o=s*new Ae(n);this.dom.newLined&&(this.attr("x",t.attr("x")),this.text()===`
|
|
66
|
+
`?a+=o:(this.attr("dy",r?o+a:0),a=0))})),this.fire("rebuild")}return this}setData(e){return this.dom=e,this.dom.leading=new Ae(e.leading||1.3),this}writeDataToDom(){return Jv(this,this.dom,{leading:1.3}),this}text(e){if(e===void 0){const t=this.node.childNodes;let a=0;e="";for(let s=0,r=t.length;s<r;++s)t[s].nodeName==="textPath"||ru(t[s])?s===0&&(a=s+1):(s!==a&&t[s].nodeType!==3&&Qt(t[s]).dom.newLined===!0&&(e+=`
|
|
67
|
+
`),e+=t[s].textContent);return e}if(this.clear().build(!0),typeof e=="function")e.call(this,this);else for(let t=0,a=(e=(e+"").split(`
|
|
68
|
+
`)).length;t<a;t++)this.newLine(e[t]);return this.build(!1).rebuild()}}fe(hi,yx),Ce({Container:{text:Ye((function(i=""){return this.put(new hi).text(i)})),plain:Ye((function(i=""){return this.put(new hi).plain(i)}))}}),De(hi,"Text");class Vn extends $t{constructor(e,t=e){super(Ue("tspan",e),t),this._build=!1}dx(e){return this.attr("dx",e)}dy(e){return this.attr("dy",e)}newLine(){this.dom.newLined=!0;const e=this.parent();if(!(e instanceof hi))return this;const t=e.index(this),a=Te.window.getComputedStyle(this.node).getPropertyValue("font-size"),s=e.dom.leading*new Ae(a);return this.dy(t?s:0).attr("x",e.x())}text(e){return e==null?this.node.textContent+(this.dom.newLined?`
|
|
69
|
+
`:""):(typeof e=="function"?(this.clear().build(!0),e.call(this,this),this.build(!1)):this.plain(e),this)}}fe(Vn,yx),Ce({Tspan:{tspan:Ye((function(i=""){const e=new Vn;return this._build||this.clear(),this.put(e).text(i)}))},Text:{newLine:function(i=""){return this.tspan(i).newLine()}}}),De(Vn,"Tspan");class ql extends $t{constructor(e,t=e){super(Ue("circle",e),t)}radius(e){return this.attr("r",e)}rx(e){return this.attr("r",e)}ry(e){return this.rx(e)}size(e){return this.radius(new Ae(e).divide(2))}}fe(ql,{x:nx,y:ox,cx:lx,cy:cx,width:ux,height:dx}),Ce({Container:{circle:Ye((function(i=0){return this.put(new ql).size(i).move(0,0)}))}}),De(ql,"Circle");class Gl extends Ot{constructor(e,t=e){super(Ue("clipPath",e),t)}remove(){return this.targets().forEach((function(e){e.unclip()})),super.remove()}targets(){return Qa("svg [clip-path*="+this.id()+"]")}}Ce({Container:{clip:Ye((function(){return this.defs().put(new Gl)}))},Element:{clipper(){return this.reference("clip-path")},clipWith(i){const e=i instanceof Gl?i:this.parent().clip().add(i);return this.attr("clip-path","url(#"+e.id()+")")},unclip(){return this.attr("clip-path",null)}}}),De(Gl,"ClipPath");class Pg extends vt{constructor(e,t=e){super(Ue("foreignObject",e),t)}}Ce({Container:{foreignObject:Ye((function(i,e){return this.put(new Pg).size(i,e)}))}}),De(Pg,"ForeignObject");var wx=Object.freeze({__proto__:null,dmove:function(i,e){return this.children().forEach((t=>{let a;try{a=t.node instanceof sn().SVGSVGElement?new at(t.attr(["x","y","width","height"])):t.bbox()}catch{return}const s=new oe(t),r=s.translate(i,e).transform(s.inverse()),n=new Oe(a.x,a.y).transform(r);t.move(n.x,n.y)})),this},dx:function(i){return this.dmove(i,0)},dy:function(i){return this.dmove(0,i)},height:function(i,e=this.bbox()){return i==null?e.height:this.size(e.width,i,e)},move:function(i=0,e=0,t=this.bbox()){const a=i-t.x,s=e-t.y;return this.dmove(a,s)},size:function(i,e,t=this.bbox()){const a=Ys(this,i,e,t),s=a.width/t.width,r=a.height/t.height;return this.children().forEach((n=>{const o=new Oe(t).transform(new oe(n).inverse());n.scale(s,r,o.x,o.y)})),this},width:function(i,e=this.bbox()){return i==null?e.width:this.size(i,e.height,e)},x:function(i,e=this.bbox()){return i==null?e.x:this.move(i,e.y,e)},y:function(i,e=this.bbox()){return i==null?e.y:this.move(e.x,i,e)}});class fa extends Ot{constructor(e,t=e){super(Ue("g",e),t)}}fe(fa,wx),Ce({Container:{group:Ye((function(){return this.put(new fa)}))}}),De(fa,"G");class En extends Ot{constructor(e,t=e){super(Ue("a",e),t)}target(e){return this.attr("target",e)}to(e){return this.attr("href",e,Us)}}fe(En,wx),Ce({Container:{link:Ye((function(i){return this.put(new En).to(i)}))},Element:{unlink(){const i=this.linker();if(!i)return this;const e=i.parent();if(!e)return this.remove();const t=e.index(i);return e.add(this,t),i.remove(),this},linkTo(i){let e=this.linker();return e||(e=new En,this.wrap(e)),typeof i=="function"?i.call(e,e):e.to(i),this},linker(){const i=this.parent();return i&&i.node.nodeName.toLowerCase()==="a"?i:null}}}),De(En,"A");class $l extends Ot{constructor(e,t=e){super(Ue("mask",e),t)}remove(){return this.targets().forEach((function(e){e.unmask()})),super.remove()}targets(){return Qa("svg [mask*="+this.id()+"]")}}Ce({Container:{mask:Ye((function(){return this.defs().put(new $l)}))},Element:{masker(){return this.reference("mask")},maskWith(i){const e=i instanceof $l?i:this.parent().mask().add(i);return this.attr("mask","url(#"+e.id()+")")},unmask(){return this.attr("mask",null)}}}),De($l,"Mask");class _g extends vt{constructor(e,t=e){super(Ue("stop",e),t)}update(e){return(typeof e=="number"||e instanceof Ae)&&(e={offset:arguments[0],color:arguments[1],opacity:arguments[2]}),e.opacity!=null&&this.attr("stop-opacity",e.opacity),e.color!=null&&this.attr("stop-color",e.color),e.offset!=null&&this.attr("offset",new Ae(e.offset)),this}}Ce({Gradient:{stop:function(i,e,t){return this.put(new _g).update(i,e,t)}}}),De(_g,"Stop");class Kl extends vt{constructor(e,t=e){super(Ue("style",e),t)}addText(e=""){return this.node.textContent+=e,this}font(e,t,a={}){return this.rule("@font-face",{fontFamily:e,src:t,...a})}rule(e,t){return this.addText((function(a,s){if(!a)return"";if(!s)return a;let r=a+"{";for(const n in s)r+=n.replace(/([A-Z])/g,(function(o,l){return"-"+l.toLowerCase()}))+":"+s[n]+";";return r+="}",r})(e,t))}}Ce("Dom",{style(i,e){return this.put(new Kl).rule(i,e)},fontface(i,e,t){return this.put(new Kl).font(i,e,t)}}),De(Kl,"Style");class Zl extends hi{constructor(e,t=e){super(Ue("textPath",e),t)}array(){const e=this.track();return e?e.array():null}plot(e){const t=this.track();let a=null;return t&&(a=t.plot(e)),e==null?a:this}track(){return this.reference("href")}}Ce({Container:{textPath:Ye((function(i,e){return i instanceof hi||(i=this.text(i)),i.path(e)}))},Text:{path:Ye((function(i,e=!0){const t=new Zl;let a;if(i instanceof Ss||(i=this.defs().path(i)),t.attr("href","#"+i,Us),e)for(;a=this.node.firstChild;)t.node.appendChild(a);return this.put(t)})),textPath(){return this.findOne("textPath")}},Path:{text:Ye((function(i){return i instanceof hi||(i=new hi().addTo(this.parent()).text(i)),i.path(this)})),targets(){return Qa("svg textPath").filter((i=>(i.attr("href")||"").includes(this.id())))}}}),Zl.prototype.MorphArray=di,De(Zl,"TextPath");class Ig extends $t{constructor(e,t=e){super(Ue("use",e),t)}use(e,t){return this.attr("href",(t||"")+"#"+e,Us)}}Ce({Container:{use:Ye((function(i,e){return this.put(new Ig).use(i,e)}))}}),De(Ig,"Use");const L_=Lt;fe([hu,fu,Hn,Rr,Wn],Bt("viewbox")),fe([La,Na,Ra,Ss],Bt("marker")),fe(hi,Bt("Text")),fe(Ss,Bt("Path")),fe(el,Bt("Defs")),fe([hi,Vn],Bt("Tspan")),fe([jn,Bn,br,Gt],Bt("radius")),fe(rn,Bt("EventTarget")),fe(ma,Bt("Dom")),fe(vt,Bt("Element")),fe($t,Bt("Shape")),fe([Ot,hx],Bt("Container")),fe(br,Bt("Gradient")),fe(Gt,Bt("Runner")),Ka.extend([...new Set(Kv)]),(function(i=[]){du.push(...[].concat(i))})([Ae,Ve,at,oe,Za,ba,di,Oe]),fe(du,{to(i){return new Pa().type(this.constructor).from(this.toArray()).to(i)},fromArray(i){return this.init(i),this},toConsumable(){return this.toArray()},morph(i,e,t,a,s){return this.fromArray(i.map((function(r,n){return a.step(r,e[n],t,s[n],s)})))}});class Ke extends vt{constructor(e){super(Ue("filter",e),e),this.$source="SourceGraphic",this.$sourceAlpha="SourceAlpha",this.$background="BackgroundImage",this.$backgroundAlpha="BackgroundAlpha",this.$fill="FillPaint",this.$stroke="StrokePaint",this.$autoSetIn=!0}put(e,t){return!(e=super.put(e,t)).attr("in")&&this.$autoSetIn&&e.attr("in",this.$source),e.attr("result")||e.attr("result",e.id()),e}remove(){return this.targets().each("unfilter"),super.remove()}targets(){return Qa('svg [filter*="'+this.id()+'"]')}toString(){return"url(#"+this.id()+")"}}class Ed extends vt{constructor(e,t){super(e,t),this.result(this.id())}in(e){if(e==null){const t=this.attr("in");return this.parent()&&this.parent().find(`[result="${t}"]`)[0]||t}return this.attr("in",e)}result(e){return this.attr("result",e)}toString(){return this.result()}}const Jt=i=>function(...e){for(let t=i.length;t--;)e[t]!=null&&this.attr(i[t],e[t])},R_={blend:Jt(["in","in2","mode"]),colorMatrix:Jt(["type","values"]),composite:Jt(["in","in2","operator"]),convolveMatrix:function(i){i=new Za(i).toString(),this.attr({order:Math.sqrt(i.split(" ").length),kernelMatrix:i})},diffuseLighting:Jt(["surfaceScale","lightingColor","diffuseConstant","kernelUnitLength"]),displacementMap:Jt(["in","in2","scale","xChannelSelector","yChannelSelector"]),dropShadow:Jt(["in","dx","dy","stdDeviation"]),flood:Jt(["flood-color","flood-opacity"]),gaussianBlur:function(i=0,e=i){this.attr("stdDeviation",i+" "+e)},image:function(i){this.attr("href",i,Us)},morphology:Jt(["operator","radius"]),offset:Jt(["dx","dy"]),specularLighting:Jt(["surfaceScale","lightingColor","diffuseConstant","specularExponent","kernelUnitLength"]),tile:Jt([]),turbulence:Jt(["baseFrequency","numOctaves","seed","stitchTiles","type"])};["blend","colorMatrix","componentTransfer","composite","convolveMatrix","diffuseLighting","displacementMap","dropShadow","flood","gaussianBlur","image","merge","morphology","offset","specularLighting","tile","turbulence"].forEach((i=>{const e=Vs(i),t=R_[i];Ke[e+"Effect"]=class extends Ed{constructor(a){super(Ue("fe"+e,a),a)}update(a){return t.apply(this,a),this}},Ke.prototype[i]=Ye((function(a,...s){const r=new Ke[e+"Effect"];return a==null?this.put(r):(typeof a=="function"?a.call(r,r):s.unshift(a),this.put(r).update(s))}))})),fe(Ke,{merge(i){const e=this.put(new Ke.MergeEffect);return typeof i=="function"?(i.call(e,e),e):((i instanceof Array?i:[...arguments]).forEach((t=>{t instanceof Ke.MergeNode?e.put(t):e.mergeNode(t)})),e)},componentTransfer(i={}){const e=this.put(new Ke.ComponentTransferEffect);if(typeof i=="function")return i.call(e,e),e;i.r||i.g||i.b||i.a||(i={r:i,g:i,b:i,a:i});for(const t in i)e.add(new Ke["Func"+t.toUpperCase()](i[t]));return e}});["distantLight","pointLight","spotLight","mergeNode","FuncR","FuncG","FuncB","FuncA"].forEach((i=>{const e=Vs(i);Ke[e]=class extends Ed{constructor(t){super(Ue("fe"+e,t),t)}}}));["funcR","funcG","funcB","funcA"].forEach((function(i){const e=Ke[Vs(i)],t=Ye((function(){return this.put(new e)}));Ke.ComponentTransferEffect.prototype[i]=t}));["distantLight","pointLight","spotLight"].forEach((i=>{const e=Ke[Vs(i)],t=Ye((function(){return this.put(new e)}));Ke.DiffuseLightingEffect.prototype[i]=t,Ke.SpecularLightingEffect.prototype[i]=t})),fe(Ke.MergeEffect,{mergeNode(i){return this.put(new Ke.MergeNode).attr("in",i)}}),fe(el,{filter:function(i){const e=this.put(new Ke);return typeof i=="function"&&i.call(e,e),e}}),fe(Ot,{filter:function(i){return this.defs().filter(i)}}),fe(vt,{filterWith:function(i){const e=i instanceof Ke?i:this.defs().filter(i);return this.attr("filter",e)},unfilter:function(i){return this.attr("filter",null)},filterer(){return this.reference("filter")}});const N_={blend:function(i,e){return this.parent()&&this.parent().blend(this,i,e)},colorMatrix:function(i,e){return this.parent()&&this.parent().colorMatrix(i,e).in(this)},componentTransfer:function(i){return this.parent()&&this.parent().componentTransfer(i).in(this)},composite:function(i,e){return this.parent()&&this.parent().composite(this,i,e)},convolveMatrix:function(i){return this.parent()&&this.parent().convolveMatrix(i).in(this)},diffuseLighting:function(i,e,t,a){return this.parent()&&this.parent().diffuseLighting(i,t,a).in(this)},displacementMap:function(i,e,t,a){return this.parent()&&this.parent().displacementMap(this,i,e,t,a)},dropShadow:function(i,e,t){return this.parent()&&this.parent().dropShadow(this,i,e,t).in(this)},flood:function(i,e){return this.parent()&&this.parent().flood(i,e)},gaussianBlur:function(i,e){return this.parent()&&this.parent().gaussianBlur(i,e).in(this)},image:function(i){return this.parent()&&this.parent().image(i)},merge:function(i){return i=i instanceof Array?i:[...i],this.parent()&&this.parent().merge(this,...i)},morphology:function(i,e){return this.parent()&&this.parent().morphology(i,e).in(this)},offset:function(i,e){return this.parent()&&this.parent().offset(i,e).in(this)},specularLighting:function(i,e,t,a,s){return this.parent()&&this.parent().specularLighting(i,t,a,s).in(this)},tile:function(){return this.parent()&&this.parent().tile().in(this)},turbulence:function(i,e,t,a,s){return this.parent()&&this.parent().turbulence(i,e,t,a,s).in(this)}};fe(Ed,N_),fe(Ke.MergeEffect,{in:function(i){return i instanceof Ke.MergeNode?this.add(i,0):this.add(new Ke.MergeNode().in(i),0),this}}),fe([Ke.CompositeEffect,Ke.BlendEffect,Ke.DisplacementMapEffect],{in2:function(i){if(i==null){const e=this.attr("in2");return this.parent()&&this.parent().find(`[result="${e}"]`)[0]||e}return this.attr("in2",i)}}),Ke.filter={sepiatone:[.343,.669,.119,0,0,.249,.626,.13,0,0,.172,.334,.111,0,0,0,0,0,1,0]};var bt=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"getDefaultFilter",value:function(e,t){var a=this.w;e.unfilter(!0),new Ke().size("120%","180%","-5%","-40%"),a.config.chart.dropShadow.enabled&&this.dropShadow(e,a.config.chart.dropShadow,t)}},{key:"applyFilter",value:function(e,t,a){var s,r=this,n=this.w;if(e.unfilter(!0),a!=="none"){var o,l,c=n.config.chart.dropShadow,u=a==="lighten"?2:.3;e.filterWith((function(d){d.colorMatrix({type:"matrix",values:`
|
|
70
|
+
`.concat(u,` 0 0 0 0
|
|
71
|
+
0 `).concat(u,` 0 0 0
|
|
72
|
+
0 0 `).concat(u,` 0 0
|
|
73
|
+
0 0 0 1 0
|
|
74
|
+
`),in:"SourceGraphic",result:"brightness"}),c.enabled&&r.addShadow(d,t,c,"brightness")})),!c.noUserSpaceOnUse&&((o=e.filterer())===null||o===void 0||(l=o.node)===null||l===void 0||l.setAttribute("filterUnits","userSpaceOnUse")),this._scaleFilterSize((s=e.filterer())===null||s===void 0?void 0:s.node)}else this.getDefaultFilter(e,t)}},{key:"addShadow",value:function(e,t,a,s){var r,n=this.w,o=a.blur,l=a.top,c=a.left,u=a.color,d=a.opacity;if(u=Array.isArray(u)?u[t]:u,((r=n.config.chart.dropShadow.enabledOnSeries)===null||r===void 0?void 0:r.length)>0&&n.config.chart.dropShadow.enabledOnSeries.indexOf(t)===-1)return e;e.offset({in:s,dx:c,dy:l,result:"offset"}),e.gaussianBlur({in:"offset",stdDeviation:o,result:"blur"}),e.flood({"flood-color":u,"flood-opacity":d,result:"flood"}),e.composite({in:"flood",in2:"blur",operator:"in",result:"shadow"}),e.merge(["shadow",s])}},{key:"dropShadow",value:function(e,t){var a,s,r,n,o,l=this,c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,u=this.w;return e.unfilter(!0),T.isMsEdge()&&u.config.chart.type==="radialBar"||((a=u.config.chart.dropShadow.enabledOnSeries)===null||a===void 0?void 0:a.length)>0&&((r=u.config.chart.dropShadow.enabledOnSeries)===null||r===void 0?void 0:r.indexOf(c))===-1?e:(e.filterWith((function(d){l.addShadow(d,c,t,"SourceGraphic")})),t.noUserSpaceOnUse||(n=e.filterer())===null||n===void 0||(o=n.node)===null||o===void 0||o.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize((s=e.filterer())===null||s===void 0?void 0:s.node),e)}},{key:"setSelectionFilter",value:function(e,t,a){var s=this.w;if(s.globals.selectedDataPoints[t]!==void 0&&s.globals.selectedDataPoints[t].indexOf(a)>-1){e.node.setAttribute("selected",!0);var r=s.config.states.active.filter;r!=="none"&&this.applyFilter(e,t,r.type)}}},{key:"_scaleFilterSize",value:function(e){e&&(function(t){for(var a in t)t.hasOwnProperty(a)&&e.setAttribute(a,t[a])})({width:"200%",height:"200%",x:"-50%",y:"-50%"})}}]),i})(),Y=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"roundPathCorners",value:function(e,t){function a(S,C,E){var M=C.x-S.x,P=C.y-S.y,D=Math.sqrt(M*M+P*P);return s(S,C,Math.min(1,E/D))}function s(S,C,E){return{x:S.x+(C.x-S.x)*E,y:S.y+(C.y-S.y)*E}}function r(S,C){S.length>2&&(S[S.length-2]=C.x,S[S.length-1]=C.y)}function n(S){return{x:parseFloat(S[S.length-2]),y:parseFloat(S[S.length-1])}}e.indexOf("NaN")>-1&&(e="");var o=e.split(/[,\s]/).reduce((function(S,C){var E=C.match(/^([a-zA-Z])(.+)/);return E?(S.push(E[1]),S.push(E[2])):S.push(C),S}),[]).reduce((function(S,C){return parseFloat(C)==C&&S.length?S[S.length-1].push(C):S.push([C]),S}),[]),l=[];if(o.length>1){var c=n(o[0]),u=null;o[o.length-1][0]=="Z"&&o[0].length>2&&(u=["L",c.x,c.y],o[o.length-1]=u),l.push(o[0]);for(var d=1;d<o.length;d++){var h=l[l.length-1],f=o[d],g=f==u?o[1]:o[d+1];if(g&&h&&h.length>2&&f[0]=="L"&&g.length>2&&g[0]=="L"){var p,m,b=n(h),v=n(f),x=n(g);p=a(v,b,t),m=a(v,x,t),r(f,p),f.origPoint=v,l.push(f);var k=s(p,v,.5),y=s(v,m,.5),A=["C",k.x,k.y,y.x,y.y,m.x,m.y];A.origPoint=v,l.push(A)}else l.push(f)}if(u){var w=n(l[l.length-1]);l.push(["Z"]),r(l[0],w)}}else l=o;return l.reduce((function(S,C){return S+C.join(" ")+" "}),"")}},{key:"drawLine",value:function(e,t,a,s){var r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"#a8a8a8",n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,l=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"butt";return this.w.globals.dom.Paper.line().attr({x1:e,y1:t,x2:a,y2:s,stroke:r,"stroke-dasharray":n,"stroke-width":o,"stroke-linecap":l})}},{key:"drawRect",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"#fefefe",o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:1,l=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,c=arguments.length>8&&arguments[8]!==void 0?arguments[8]:null,u=arguments.length>9&&arguments[9]!==void 0?arguments[9]:0,d=this.w.globals.dom.Paper.rect();return d.attr({x:e,y:t,width:a>0?a:0,height:s>0?s:0,rx:r,ry:r,opacity:o,"stroke-width":l!==null?l:0,stroke:c!==null?c:"none","stroke-dasharray":u}),d.node.setAttribute("fill",n),d}},{key:"drawPolygon",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"#e1e1e1",a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"none";return this.w.globals.dom.Paper.polygon(e).attr({fill:s,stroke:t,"stroke-width":a})}},{key:"drawCircle",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;e<0&&(e=0);var a=this.w.globals.dom.Paper.circle(2*e);return t!==null&&a.attr(t),a}},{key:"drawPath",value:function(e){var t=e.d,a=t===void 0?"":t,s=e.stroke,r=s===void 0?"#a8a8a8":s,n=e.strokeWidth,o=n===void 0?1:n,l=e.fill,c=e.fillOpacity,u=c===void 0?1:c,d=e.strokeOpacity,h=d===void 0?1:d,f=e.classes,g=e.strokeLinecap,p=g===void 0?null:g,m=e.strokeDashArray,b=m===void 0?0:m,v=this.w;return p===null&&(p=v.config.stroke.lineCap),(a.indexOf("undefined")>-1||a.indexOf("NaN")>-1)&&(a="M 0 ".concat(v.globals.gridHeight)),v.globals.dom.Paper.path(a).attr({fill:l,"fill-opacity":u,stroke:r,"stroke-opacity":h,"stroke-linecap":p,"stroke-width":o,"stroke-dasharray":b,class:f})}},{key:"group",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,t=this.w.globals.dom.Paper.group();return e!==null&&t.attr(e),t}},{key:"move",value:function(e,t){var a=["M",e,t].join(" ");return a}},{key:"line",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,s=null;return a===null?s=[" L",e,t].join(" "):a==="H"?s=[" H",e].join(" "):a==="V"&&(s=[" V",t].join(" ")),s}},{key:"curve",value:function(e,t,a,s,r,n){var o=["C",e,t,a,s,r,n].join(" ");return o}},{key:"quadraticCurve",value:function(e,t,a,s){return["Q",e,t,a,s].join(" ")}},{key:"arc",value:function(e,t,a,s,r,n,o){var l="A";arguments.length>7&&arguments[7]!==void 0&&arguments[7]&&(l="a");var c=[l,e,t,a,s,r,n,o].join(" ");return c}},{key:"renderPaths",value:function(e){var t,a=e.j,s=e.realIndex,r=e.pathFrom,n=e.pathTo,o=e.stroke,l=e.strokeWidth,c=e.strokeLinecap,u=e.fill,d=e.animationDelay,h=e.initialSpeed,f=e.dataChangeSpeed,g=e.className,p=e.chartType,m=e.shouldClipToGrid,b=m===void 0||m,v=e.bindEventsOnPaths,x=v===void 0||v,k=e.drawShadow,y=k===void 0||k,A=this.w,w=new bt(this.ctx),S=new js(this.ctx),C=this.w.config.chart.animations.enabled,E=C&&this.w.config.chart.animations.dynamicAnimation.enabled;if(r&&r.startsWith("M 0 0")&&n){var M=n.match(/^M\s+[\d.-]+\s+[\d.-]+/);M&&(r=r.replace(/^M\s+0\s+0/,M[0]))}var P=!!(C&&!A.globals.resized||E&&A.globals.dataChanged&&A.globals.shouldAnimate);P?t=r:(t=n,A.globals.animationEnded=!0);var D=A.config.stroke.dashArray,L=0;L=Array.isArray(D)?D[s]:A.config.stroke.dashArray;var B=this.drawPath({d:t,stroke:o,strokeWidth:l,fill:u,fillOpacity:1,classes:g,strokeLinecap:c,strokeDashArray:L});B.attr("index",s),b&&(p==="bar"&&!A.globals.isHorizontal||A.globals.comboCharts?B.attr({"clip-path":"url(#gridRectBarMask".concat(A.globals.cuid,")")}):B.attr({"clip-path":"url(#gridRectMask".concat(A.globals.cuid,")")})),A.config.chart.dropShadow.enabled&&y&&w.dropShadow(B,A.config.chart.dropShadow,s),x&&(B.node.addEventListener("mouseenter",this.pathMouseEnter.bind(this,B)),B.node.addEventListener("mouseleave",this.pathMouseLeave.bind(this,B)),B.node.addEventListener("mousedown",this.pathMouseDown.bind(this,B))),B.attr({pathTo:n,pathFrom:r});var N={el:B,j:a,realIndex:s,pathFrom:r,pathTo:n,fill:u,strokeWidth:l,delay:d};return!C||A.globals.resized||A.globals.dataChanged?!A.globals.resized&&A.globals.dataChanged||S.showDelayedElements():S.animatePathsGradually($($({},N),{},{speed:h})),A.globals.dataChanged&&E&&P&&S.animatePathsGradually($($({},N),{},{speed:f})),B}},{key:"drawPattern",value:function(e,t,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#a8a8a8",r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;return this.w.globals.dom.Paper.pattern(t,a,(function(n){e==="horizontalLines"?n.line(0,0,a,0).stroke({color:s,width:r+1}):e==="verticalLines"?n.line(0,0,0,t).stroke({color:s,width:r+1}):e==="slantedLines"?n.line(0,0,t,a).stroke({color:s,width:r}):e==="squares"?n.rect(t,a).fill("none").stroke({color:s,width:r}):e==="circles"&&n.circle(t).fill("none").stroke({color:s,width:r})}))}},{key:"drawGradient",value:function(e,t,a,s,r){var n,o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,c=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],u=arguments.length>8&&arguments[8]!==void 0?arguments[8]:0,d=this.w;t.length<9&&t.indexOf("#")===0&&(t=T.hexToRgba(t,s)),a.length<9&&a.indexOf("#")===0&&(a=T.hexToRgba(a,r));var h=0,f=1,g=1,p=null;l!==null&&(h=l[0]!==void 0?l[0]/100:0,f=l[1]!==void 0?l[1]/100:1,g=l[2]!==void 0?l[2]/100:1,p=l[3]!==void 0?l[3]/100:null);var m=!(d.config.chart.type!=="donut"&&d.config.chart.type!=="pie"&&d.config.chart.type!=="polarArea"&&d.config.chart.type!=="bubble");if(n=c&&c.length!==0?d.globals.dom.Paper.gradient(m?"radial":"linear",(function(x){(Array.isArray(c[u])?c[u]:c).forEach((function(k){x.stop(k.offset/100,k.color,k.opacity)}))})):d.globals.dom.Paper.gradient(m?"radial":"linear",(function(x){x.stop(h,t,s),x.stop(f,a,r),x.stop(g,a,r),p!==null&&x.stop(p,t,s)})),m){var b=d.globals.gridWidth/2,v=d.globals.gridHeight/2;d.config.chart.type!=="bubble"?n.attr({gradientUnits:"userSpaceOnUse",cx:b,cy:v,r:o}):n.attr({cx:.5,cy:.5,r:.8,fx:.2,fy:.2})}else e==="vertical"?n.from(0,0).to(0,1):e==="diagonal"?n.from(0,0).to(1,1):e==="horizontal"?n.from(0,1).to(1,1):e==="diagonal2"&&n.from(1,0).to(0,1);return n}},{key:"getTextBasedOnMaxWidth",value:function(e){var t=e.text,a=e.maxWidth,s=e.fontSize,r=e.fontFamily,n=this.getTextRects(t,s,r),o=n.width/t.length,l=Math.floor(a/o);return a<n.width?t.slice(0,l-3)+"...":t}},{key:"drawText",value:function(e){var t=this,a=e.x,s=e.y,r=e.text,n=e.textAnchor,o=e.fontSize,l=e.fontFamily,c=e.fontWeight,u=e.foreColor,d=e.opacity,h=e.maxWidth,f=e.cssClass,g=f===void 0?"":f,p=e.isPlainText,m=p===void 0||p,b=e.dominantBaseline,v=b===void 0?"auto":b,x=this.w;r===void 0&&(r="");var k=r;n||(n="start"),u&&u.length||(u=x.config.chart.foreColor),l=l||x.config.chart.fontFamily,c=c||"regular";var y,A={maxWidth:h,fontSize:o=o||"11px",fontFamily:l};return Array.isArray(r)?y=x.globals.dom.Paper.text((function(w){for(var S=0;S<r.length;S++)k=r[S],h&&(k=t.getTextBasedOnMaxWidth($({text:r[S]},A))),S===0?w.tspan(k):w.tspan(k).newLine()})):(h&&(k=this.getTextBasedOnMaxWidth($({text:r},A))),y=m?x.globals.dom.Paper.plain(r):x.globals.dom.Paper.text((function(w){return w.tspan(k)}))),y.attr({x:a,y:s,"text-anchor":n,"dominant-baseline":v,"font-size":o,"font-family":l,"font-weight":c,fill:u,class:"apexcharts-text "+g}),y.node.style.fontFamily=l,y.node.style.opacity=d,y}},{key:"getMarkerPath",value:function(e,t,a,s){var r="";switch(a){case"cross":r="M ".concat(e-(s/=1.4)," ").concat(t-s," L ").concat(e+s," ").concat(t+s," M ").concat(e-s," ").concat(t+s," L ").concat(e+s," ").concat(t-s);break;case"plus":r="M ".concat(e-(s/=1.12)," ").concat(t," L ").concat(e+s," ").concat(t," M ").concat(e," ").concat(t-s," L ").concat(e," ").concat(t+s);break;case"star":case"sparkle":var n=5;s*=1.15,a==="sparkle"&&(s/=1.1,n=4);for(var o=Math.PI/n,l=0;l<=2*n;l++){var c=l*o,u=l%2==0?s:s/2;r+=(l===0?"M":"L")+(e+u*Math.sin(c))+","+(t-u*Math.cos(c))}r+="Z";break;case"triangle":r="M ".concat(e," ").concat(t-s,`
|
|
75
|
+
L `).concat(e+s," ").concat(t+s,`
|
|
76
|
+
L `).concat(e-s," ").concat(t+s,`
|
|
77
|
+
Z`);break;case"square":case"rect":r="M ".concat(e-(s/=1.125)," ").concat(t-s,`
|
|
78
|
+
L `).concat(e+s," ").concat(t-s,`
|
|
79
|
+
L `).concat(e+s," ").concat(t+s,`
|
|
80
|
+
L `).concat(e-s," ").concat(t+s,`
|
|
81
|
+
Z`);break;case"diamond":s*=1.05,r="M ".concat(e," ").concat(t-s,`
|
|
82
|
+
L `).concat(e+s," ").concat(t,`
|
|
83
|
+
L `).concat(e," ").concat(t+s,`
|
|
84
|
+
L `).concat(e-s," ").concat(t,`
|
|
85
|
+
Z`);break;case"line":r="M ".concat(e-(s/=1.1)," ").concat(t,`
|
|
86
|
+
L `).concat(e+s," ").concat(t);break;default:s*=2,r="M ".concat(e,", ").concat(t,`
|
|
87
|
+
m -`).concat(s/2,`, 0
|
|
88
|
+
a `).concat(s/2,",").concat(s/2," 0 1,0 ").concat(s,`,0
|
|
89
|
+
a `).concat(s/2,",").concat(s/2," 0 1,0 -").concat(s,",0")}return r}},{key:"drawMarkerShape",value:function(e,t,a,s,r){var n=this.drawPath({d:this.getMarkerPath(e,t,a,s,r),stroke:r.pointStrokeColor,strokeDashArray:r.pointStrokeDashArray,strokeWidth:r.pointStrokeWidth,fill:r.pointFillColor,fillOpacity:r.pointFillOpacity,strokeOpacity:r.pointStrokeOpacity});return n.attr({cx:e,cy:t,shape:r.shape,class:r.class?r.class:""}),n}},{key:"drawMarker",value:function(e,t,a){e=e||0;var s=a.pSize||0;return T.isNumber(t)||(s=0,t=0),this.drawMarkerShape(e,t,a==null?void 0:a.shape,s,$($({},a),a.shape==="line"||a.shape==="plus"||a.shape==="cross"?{pointStrokeColor:a.pointFillColor,pointStrokeOpacity:a.pointFillOpacity}:{}))}},{key:"pathMouseEnter",value:function(e,t){var a=this.w,s=new bt(this.ctx),r=parseInt(e.node.getAttribute("index"),10),n=parseInt(e.node.getAttribute("j"),10);if(typeof a.config.chart.events.dataPointMouseEnter=="function"&&a.config.chart.events.dataPointMouseEnter(t,this.ctx,{seriesIndex:r,dataPointIndex:n,w:a}),this.ctx.events.fireEvent("dataPointMouseEnter",[t,this.ctx,{seriesIndex:r,dataPointIndex:n,w:a}]),(a.config.states.active.filter.type==="none"||e.node.getAttribute("selected")!=="true")&&a.config.states.hover.filter.type!=="none"&&!a.globals.isTouchDevice){var o=a.config.states.hover.filter;s.applyFilter(e,r,o.type)}}},{key:"pathMouseLeave",value:function(e,t){var a=this.w,s=new bt(this.ctx),r=parseInt(e.node.getAttribute("index"),10),n=parseInt(e.node.getAttribute("j"),10);typeof a.config.chart.events.dataPointMouseLeave=="function"&&a.config.chart.events.dataPointMouseLeave(t,this.ctx,{seriesIndex:r,dataPointIndex:n,w:a}),this.ctx.events.fireEvent("dataPointMouseLeave",[t,this.ctx,{seriesIndex:r,dataPointIndex:n,w:a}]),a.config.states.active.filter.type!=="none"&&e.node.getAttribute("selected")==="true"||a.config.states.hover.filter.type!=="none"&&s.getDefaultFilter(e,r)}},{key:"pathMouseDown",value:function(e,t){var a=this.w,s=new bt(this.ctx),r=parseInt(e.node.getAttribute("index"),10),n=parseInt(e.node.getAttribute("j"),10),o="false";if(e.node.getAttribute("selected")==="true"){if(e.node.setAttribute("selected","false"),a.globals.selectedDataPoints[r].indexOf(n)>-1){var l=a.globals.selectedDataPoints[r].indexOf(n);a.globals.selectedDataPoints[r].splice(l,1)}}else{if(!a.config.states.active.allowMultipleDataPointsSelection&&a.globals.selectedDataPoints.length>0){a.globals.selectedDataPoints=[];var c=a.globals.dom.Paper.find(".apexcharts-series path:not(.apexcharts-decoration-element)"),u=a.globals.dom.Paper.find(".apexcharts-series circle:not(.apexcharts-decoration-element), .apexcharts-series rect:not(.apexcharts-decoration-element)"),d=function(g){Array.prototype.forEach.call(g,(function(p){p.node.setAttribute("selected","false"),s.getDefaultFilter(p,r)}))};d(c),d(u)}e.node.setAttribute("selected","true"),o="true",a.globals.selectedDataPoints[r]===void 0&&(a.globals.selectedDataPoints[r]=[]),a.globals.selectedDataPoints[r].push(n)}if(o==="true"){var h=a.config.states.active.filter;if(h!=="none")s.applyFilter(e,r,h.type);else if(a.config.states.hover.filter!=="none"&&!a.globals.isTouchDevice){var f=a.config.states.hover.filter;s.applyFilter(e,r,f.type)}}else a.config.states.active.filter.type!=="none"&&(a.config.states.hover.filter.type==="none"||a.globals.isTouchDevice?s.getDefaultFilter(e,r):(f=a.config.states.hover.filter,s.applyFilter(e,r,f.type)));typeof a.config.chart.events.dataPointSelection=="function"&&a.config.chart.events.dataPointSelection(t,this.ctx,{selectedDataPoints:a.globals.selectedDataPoints,seriesIndex:r,dataPointIndex:n,w:a}),t&&this.ctx.events.fireEvent("dataPointSelection",[t,this.ctx,{selectedDataPoints:a.globals.selectedDataPoints,seriesIndex:r,dataPointIndex:n,w:a}])}},{key:"rotateAroundCenter",value:function(e){var t={};return e&&typeof e.getBBox=="function"&&(t=e.getBBox()),{x:t.x+t.width/2,y:t.y+t.height/2}}},{key:"getTextRects",value:function(e,t,a,s){var r=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],n=this.w,o=this.drawText({x:-200,y:-200,text:e,textAnchor:"start",fontSize:t,fontFamily:a,foreColor:"#fff",opacity:0});s&&o.attr("transform",s),n.globals.dom.Paper.add(o);var l=o.bbox();return r||(l=o.node.getBoundingClientRect()),o.remove(),{width:l.width,height:l.height}}},{key:"placeTextWithEllipsis",value:function(e,t,a){if(typeof e.getComputedTextLength=="function"&&(e.textContent=t,t.length>0&&e.getComputedTextLength()>=a/1.1)){for(var s=t.length-3;s>0;s-=3)if(e.getSubStringLength(0,s)<=a/1.1)return void(e.textContent=t.substring(0,s)+"...");e.textContent="."}}}],[{key:"setAttrs",value:function(e,t){for(var a in t)t.hasOwnProperty(a)&&e.setAttribute(a,t[a])}}]),i})(),rt=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"getStackedSeriesTotals",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=this.w,a=[];if(t.globals.series.length===0)return a;for(var s=0;s<t.globals.series[t.globals.maxValsInArrayIndex].length;s++){for(var r=0,n=0;n<t.globals.series.length;n++)t.globals.series[n][s]!==void 0&&e.indexOf(n)===-1&&(r+=t.globals.series[n][s]);a.push(r)}return a}},{key:"getSeriesTotalByIndex",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return e===null?this.w.config.series.reduce((function(t,a){return t+a}),0):this.w.globals.series[e].reduce((function(t,a){return t+a}),0)}},{key:"getStackedSeriesTotalsByGroups",value:function(){var e=this,t=this.w,a=[];return t.globals.seriesGroups.forEach((function(s){var r=[];t.config.series.forEach((function(o,l){s.indexOf(t.globals.seriesNames[l])>-1&&r.push(l)}));var n=t.globals.series.map((function(o,l){return r.indexOf(l)===-1?l:-1})).filter((function(o){return o!==-1}));a.push(e.getStackedSeriesTotals(n))})),a}},{key:"setSeriesYAxisMappings",value:function(){var e=this.w.globals,t=this.w.config,a=[],s=[],r=[],n=e.series.length>t.yaxis.length||t.yaxis.some((function(d){return Array.isArray(d.seriesName)}));t.series.forEach((function(d,h){r.push(h),s.push(null)})),t.yaxis.forEach((function(d,h){a[h]=[]}));var o=[];t.yaxis.forEach((function(d,h){var f=!1;if(d.seriesName){var g=[];Array.isArray(d.seriesName)?g=d.seriesName:g.push(d.seriesName),g.forEach((function(p){t.series.forEach((function(m,b){if(m.name===p){var v=b;h===b||n?!n||r.indexOf(b)>-1?a[h].push([h,b]):console.warn("Series '"+m.name+"' referenced more than once in what looks like the new style. That is, when using either seriesName: [], or when there are more series than yaxes."):(a[b].push([b,h]),v=h),f=!0,(v=r.indexOf(v))!==-1&&r.splice(v,1)}}))}))}f||o.push(h)})),a=a.map((function(d,h){var f=[];return d.forEach((function(g){s[g[1]]=g[0],f.push(g[1])})),f}));for(var l=t.yaxis.length-1,c=0;c<o.length&&(l=o[c],a[l]=[],r);c++){var u=r[0];r.shift(),a[l].push(u),s[u]=l}r.forEach((function(d){a[l].push(d),s[d]=l})),e.seriesYAxisMap=a.map((function(d){return d})),e.seriesYAxisReverseMap=s.map((function(d){return d})),e.seriesYAxisMap.forEach((function(d,h){d.forEach((function(f){t.series[f]&&t.series[f].group===void 0&&(t.series[f].group="apexcharts-axis-".concat(h.toString()))}))}))}},{key:"isSeriesNull",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return(e===null?this.w.config.series.filter((function(t){return t!==null})):this.w.config.series[e].data.filter((function(t){return t!==null}))).length===0}},{key:"seriesHaveSameValues",value:function(e){return this.w.globals.series[e].every((function(t,a,s){return t===s[0]}))}},{key:"getCategoryLabels",value:function(e){var t=this.w,a=e.slice();return t.config.xaxis.convertedCatToNumeric&&(a=e.map((function(s,r){return t.config.xaxis.labels.formatter(s-t.globals.minX+1)}))),a}},{key:"getLargestSeries",value:function(){var e=this.w;e.globals.maxValsInArrayIndex=e.globals.series.map((function(t){return t.length})).indexOf(Math.max.apply(Math,e.globals.series.map((function(t){return t.length}))))}},{key:"getLargestMarkerSize",value:function(){var e=this.w,t=0;return e.globals.markers.size.forEach((function(a){t=Math.max(t,a)})),e.config.markers.discrete&&e.config.markers.discrete.length&&e.config.markers.discrete.forEach((function(a){t=Math.max(t,a.size)})),t>0&&(e.config.markers.hover.size>0?t=e.config.markers.hover.size:t+=e.config.markers.hover.sizeOffset),e.globals.markers.largestSize=t,t}},{key:"getSeriesTotals",value:function(){var e=this.w;e.globals.seriesTotals=e.globals.series.map((function(t,a){var s=0;if(Array.isArray(t))for(var r=0;r<t.length;r++)s+=t[r];else s+=t;return s}))}},{key:"getSeriesTotalsXRange",value:function(e,t){var a=this.w;return a.globals.series.map((function(s,r){for(var n=0,o=0;o<s.length;o++)a.globals.seriesX[r][o]>e&&a.globals.seriesX[r][o]<t&&(n+=s[o]);return n}))}},{key:"getPercentSeries",value:function(){var e=this.w;e.globals.seriesPercent=e.globals.series.map((function(t,a){var s=[];if(Array.isArray(t))for(var r=0;r<t.length;r++){var n=e.globals.stackedSeriesTotals[r],o=0;n&&(o=100*t[r]/n),s.push(o)}else{var l=100*t/e.globals.seriesTotals.reduce((function(c,u){return c+u}),0);s.push(l)}return s}))}},{key:"getCalculatedRatios",value:function(){var e,t,a,s=this,r=this.w,n=r.globals,o=[],l=0,c=[],u=.1,d=0;if(n.yRange=[],n.isMultipleYAxis)for(var h=0;h<n.minYArr.length;h++)n.yRange.push(Math.abs(n.minYArr[h]-n.maxYArr[h])),c.push(0);else n.yRange.push(Math.abs(n.minY-n.maxY));n.xRange=Math.abs(n.maxX-n.minX),n.zRange=Math.abs(n.maxZ-n.minZ);for(var f=0;f<n.yRange.length;f++)o.push(n.yRange[f]/n.gridHeight);if(t=n.xRange/n.gridWidth,e=n.yRange/n.gridWidth,a=n.xRange/n.gridHeight,(l=n.zRange/n.gridHeight*16)||(l=1),n.minY!==Number.MIN_VALUE&&Math.abs(n.minY)!==0&&(n.hasNegs=!0),r.globals.seriesYAxisReverseMap.length>0){var g=function(m,b){var v=r.config.yaxis[r.globals.seriesYAxisReverseMap[b]],x=m<0?-1:1;return m=Math.abs(m),v.logarithmic&&(m=s.getBaseLog(v.logBase,m)),-x*m/o[b]};if(n.isMultipleYAxis){c=[];for(var p=0;p<o.length;p++)c.push(g(n.minYArr[p],p))}else(c=[]).push(g(n.minY,0)),n.minY!==Number.MIN_VALUE&&Math.abs(n.minY)!==0&&(u=-n.minY/e,d=n.minX/t)}else(c=[]).push(0),u=0,d=0;return{yRatio:o,invertedYRatio:e,zRatio:l,xRatio:t,invertedXRatio:a,baseLineInvertedY:u,baseLineY:c,baseLineX:d}}},{key:"getLogSeries",value:function(e){var t=this,a=this.w;return a.globals.seriesLog=e.map((function(s,r){var n=a.globals.seriesYAxisReverseMap[r];return a.config.yaxis[n]&&a.config.yaxis[n].logarithmic?s.map((function(o){return o===null?null:t.getLogVal(a.config.yaxis[n].logBase,o,r)})):s})),a.globals.invalidLogScale?e:a.globals.seriesLog}},{key:"getLogValAtSeriesIndex",value:function(e,t){if(e===null)return null;var a=this.w,s=a.globals.seriesYAxisReverseMap[t];return a.config.yaxis[s]&&a.config.yaxis[s].logarithmic?this.getLogVal(a.config.yaxis[s].logBase,e,t):e}},{key:"getBaseLog",value:function(e,t){return Math.log(t)/Math.log(e)}},{key:"getLogVal",value:function(e,t,a){if(t<=0)return 0;var s=this.w,r=s.globals.minYArr[a]===0?-1:this.getBaseLog(e,s.globals.minYArr[a]),n=(s.globals.maxYArr[a]===0?0:this.getBaseLog(e,s.globals.maxYArr[a]))-r;return t<1?t/n:(this.getBaseLog(e,t)-r)/n}},{key:"getLogYRatios",value:function(e){var t=this,a=this.w,s=this.w.globals;return s.yLogRatio=e.slice(),s.logYRange=s.yRange.map((function(r,n){var o=a.globals.seriesYAxisReverseMap[n];if(a.config.yaxis[o]&&t.w.config.yaxis[o].logarithmic){var l,c=-Number.MAX_VALUE,u=Number.MIN_VALUE;return s.seriesLog.forEach((function(d,h){d.forEach((function(f){a.config.yaxis[h]&&a.config.yaxis[h].logarithmic&&(c=Math.max(f,c),u=Math.min(f,u))}))})),l=Math.pow(s.yRange[n],Math.abs(u-c)/s.yRange[n]),s.yLogRatio[n]=l/s.gridHeight,l}})),s.invalidLogScale?e.slice():s.yLogRatio}},{key:"drawSeriesByGroup",value:function(e,t,a,s){var r=this.w,n=[];return e.series.length>0&&t.forEach((function(o){var l=[],c=[];e.i.forEach((function(u,d){r.config.series[u].group===o&&(l.push(e.series[d]),c.push(u))})),l.length>0&&n.push(s.draw(l,a,c))})),n}}],[{key:"checkComboSeries",value:function(e,t){var a=!1,s=0,r=0;return t===void 0&&(t="line"),e.length&&e[0].type!==void 0&&e.forEach((function(n){n.type!=="bar"&&n.type!=="column"&&n.type!=="candlestick"&&n.type!=="boxPlot"||s++,n.type!==void 0&&n.type!==t&&r++})),r>0&&(a=!0),{comboBarCount:s,comboCharts:a}}},{key:"extendArrayProps",value:function(e,t,a){var s,r,n,o,l,c;return(s=t)!==null&&s!==void 0&&s.yaxis&&(t=e.extendYAxis(t,a)),(r=t)!==null&&r!==void 0&&r.annotations&&(t.annotations.yaxis&&(t=e.extendYAxisAnnotations(t)),(n=t)!==null&&n!==void 0&&(o=n.annotations)!==null&&o!==void 0&&o.xaxis&&(t=e.extendXAxisAnnotations(t)),(l=t)!==null&&l!==void 0&&(c=l.annotations)!==null&&c!==void 0&&c.points&&(t=e.extendPointAnnotations(t))),t}}]),i})(),tl=(function(){function i(e){ee(this,i),this.w=e.w,this.annoCtx=e}return te(i,[{key:"setOrientations",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=this.w;if(e.label.orientation==="vertical"){var s=t!==null?t:0,r=a.globals.dom.baseEl.querySelector(".apexcharts-xaxis-annotations .apexcharts-xaxis-annotation-label[rel='".concat(s,"']"));if(r!==null){var n=r.getBoundingClientRect();r.setAttribute("x",parseFloat(r.getAttribute("x"))-n.height+4);var o=e.label.position==="top"?n.width:-n.width;r.setAttribute("y",parseFloat(r.getAttribute("y"))+o);var l=this.annoCtx.graphics.rotateAroundCenter(r),c=l.x,u=l.y;r.setAttribute("transform","rotate(-90 ".concat(c," ").concat(u,")"))}}}},{key:"addBackgroundToAnno",value:function(e,t){var a=this.w;if(!e||!t.label.text||!String(t.label.text).trim())return null;var s=a.globals.dom.baseEl.querySelector(".apexcharts-grid").getBoundingClientRect(),r=e.getBoundingClientRect(),n=t.label.style.padding,o=n.left,l=n.right,c=n.top,u=n.bottom;if(t.label.orientation==="vertical"){var d=[o,l,c,u];c=d[0],u=d[1],o=d[2],l=d[3]}var h=r.left-s.left-o,f=r.top-s.top-c,g=this.annoCtx.graphics.drawRect(h-a.globals.barPadForNumericAxis,f,r.width+o+l,r.height+c+u,t.label.borderRadius,t.label.style.background,1,t.label.borderWidth,t.label.borderColor,0);return t.id&&g.node.classList.add(t.id),g}},{key:"annotationsBackground",value:function(){var e=this,t=this.w,a=function(s,r,n){var o=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(n,"-annotations .apexcharts-").concat(n,"-annotation-label[rel='").concat(r,"']"));if(o){var l=o.parentNode,c=e.addBackgroundToAnno(o,s);c&&(l.insertBefore(c.node,o),s.label.mouseEnter&&c.node.addEventListener("mouseenter",s.label.mouseEnter.bind(e,s)),s.label.mouseLeave&&c.node.addEventListener("mouseleave",s.label.mouseLeave.bind(e,s)),s.label.click&&c.node.addEventListener("click",s.label.click.bind(e,s)))}};t.config.annotations.xaxis.forEach((function(s,r){return a(s,r,"xaxis")})),t.config.annotations.yaxis.forEach((function(s,r){return a(s,r,"yaxis")})),t.config.annotations.points.forEach((function(s,r){return a(s,r,"point")}))}},{key:"getY1Y2",value:function(e,t){var a,s=this.w,r=e==="y1"?t.y:t.y2,n=!1;if(this.annoCtx.invertAxis){var o=s.config.xaxis.convertedCatToNumeric?s.globals.categoryLabels:s.globals.labels,l=o.indexOf(r),c=s.globals.dom.baseEl.querySelector(".apexcharts-yaxis-texts-g text:nth-child(".concat(l+1,")"));a=c?parseFloat(c.getAttribute("y")):(s.globals.gridHeight/o.length-1)*(l+1)-s.globals.barHeight,t.seriesIndex!==void 0&&s.globals.barHeight&&(a-=s.globals.barHeight/2*(s.globals.series.length-1)-s.globals.barHeight*t.seriesIndex)}else{var u,d=s.globals.seriesYAxisMap[t.yAxisIndex][0],h=s.config.yaxis[t.yAxisIndex].logarithmic?new rt(this.annoCtx.ctx).getLogVal(s.config.yaxis[t.yAxisIndex].logBase,r,d)/s.globals.yLogRatio[d]:(r-s.globals.minYArr[d])/(s.globals.yRange[d]/s.globals.gridHeight);a=s.globals.gridHeight-Math.min(Math.max(h,0),s.globals.gridHeight),n=h>s.globals.gridHeight||h<0,!t.marker||t.y!==void 0&&t.y!==null||(a=0),(u=s.config.yaxis[t.yAxisIndex])!==null&&u!==void 0&&u.reversed&&(a=h)}return typeof r=="string"&&r.includes("px")&&(a=parseFloat(r)),{yP:a,clipped:n}}},{key:"getX1X2",value:function(e,t){var a=this.w,s=e==="x1"?t.x:t.x2,r=this.annoCtx.invertAxis?a.globals.minY:a.globals.minX,n=this.annoCtx.invertAxis?a.globals.maxY:a.globals.maxX,o=this.annoCtx.invertAxis?a.globals.yRange[0]:a.globals.xRange,l=!1,c=this.annoCtx.inversedReversedAxis?(n-s)/(o/a.globals.gridWidth):(s-r)/(o/a.globals.gridWidth);return a.config.xaxis.type!=="category"&&!a.config.xaxis.convertedCatToNumeric||this.annoCtx.invertAxis||a.globals.dataFormatXNumeric||a.config.chart.sparkline.enabled||(c=this.getStringX(s)),typeof s=="string"&&s.includes("px")&&(c=parseFloat(s)),s==null&&t.marker&&(c=a.globals.gridWidth),t.seriesIndex!==void 0&&a.globals.barWidth&&!this.annoCtx.invertAxis&&(c-=a.globals.barWidth/2*(a.globals.series.length-1)-a.globals.barWidth*t.seriesIndex),typeof c!="number"&&(c=0,l=!0),parseFloat(c.toFixed(10))>parseFloat(a.globals.gridWidth.toFixed(10))?(c=a.globals.gridWidth,l=!0):c<0&&(c=0,l=!0),{x:c,clipped:l}}},{key:"getStringX",value:function(e){var t=this.w,a=e;t.config.xaxis.convertedCatToNumeric&&t.globals.categoryLabels.length&&(e=t.globals.categoryLabels.indexOf(e)+1);var s=t.globals.labels.map((function(n){return Array.isArray(n)?n.join(" "):n})).indexOf(e),r=t.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g text:nth-child(".concat(s+1,")"));return r&&(a=parseFloat(r.getAttribute("x"))),a}}]),i})(),O_=(function(){function i(e){ee(this,i),this.w=e.w,this.annoCtx=e,this.invertAxis=this.annoCtx.invertAxis,this.helpers=new tl(this.annoCtx)}return te(i,[{key:"addXaxisAnnotation",value:function(e,t,a){var s,r=this.w,n=this.helpers.getX1X2("x1",e),o=n.x,l=n.clipped,c=!0,u=e.label.text,d=e.strokeDashArray;if(T.isNumber(o)){if(e.x2===null||e.x2===void 0){if(!l){var h=this.annoCtx.graphics.drawLine(o+e.offsetX,0+e.offsetY,o+e.offsetX,r.globals.gridHeight+e.offsetY,e.borderColor,d,e.borderWidth);t.appendChild(h.node),e.id&&h.node.classList.add(e.id)}}else{var f=this.helpers.getX1X2("x2",e);if(s=f.x,c=f.clipped,s<o){var g=o;o=s,s=g}var p=this.annoCtx.graphics.drawRect(o+e.offsetX,0+e.offsetY,s-o,r.globals.gridHeight+e.offsetY,0,e.fillColor,e.opacity,1,e.borderColor,d);p.node.classList.add("apexcharts-annotation-rect"),p.attr("clip-path","url(#gridRectMask".concat(r.globals.cuid,")")),t.appendChild(p.node),e.id&&p.node.classList.add(e.id)}if(!l||!c){var m=this.annoCtx.graphics.getTextRects(u,parseFloat(e.label.style.fontSize)),b=e.label.position==="top"?4:e.label.position==="center"?r.globals.gridHeight/2+(e.label.orientation==="vertical"?m.width/2:0):r.globals.gridHeight,v=this.annoCtx.graphics.drawText({x:o+e.label.offsetX,y:b+e.label.offsetY-(e.label.orientation==="vertical"?e.label.position==="top"?m.width/2-12:-m.width/2:0),text:u,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-xaxis-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});v.attr({rel:a}),t.appendChild(v.node),this.annoCtx.helpers.setOrientations(e,a)}}}},{key:"drawXAxisAnnotations",value:function(){var e=this,t=this.w,a=this.annoCtx.graphics.group({class:"apexcharts-xaxis-annotations"});return t.config.annotations.xaxis.map((function(s,r){e.addXaxisAnnotation(s,a.node,r)})),a}}]),i})(),pt=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.months31=[1,3,5,7,8,10,12],this.months30=[2,4,6,9,11],this.daysCntOfYear=[0,31,59,90,120,151,181,212,243,273,304,334]}return te(i,[{key:"isValidDate",value:function(e){return typeof e!="number"&&!isNaN(this.parseDate(e))}},{key:"getTimeStamp",value:function(e){return Date.parse(e)?this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toISOString().substr(0,25)).getTime():new Date(e).getTime():e}},{key:"getDate",value:function(e){return this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toUTCString()):new Date(e)}},{key:"parseDate",value:function(e){var t=Date.parse(e);if(!isNaN(t))return this.getTimeStamp(e);var a=Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "));return a=this.getTimeStamp(a)}},{key:"parseDateWithTimezone",value:function(e){return Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "))}},{key:"formatDate",value:function(e,t){var a=this.w.globals.locale,s=this.w.config.xaxis.labels.datetimeUTC,r=["\0"].concat(ft(a.months)),n=[""].concat(ft(a.shortMonths)),o=[""].concat(ft(a.days)),l=[""].concat(ft(a.shortDays));function c(S,C){var E=S+"";for(C=C||2;E.length<C;)E="0"+E;return E}var u=s?e.getUTCFullYear():e.getFullYear();t=(t=(t=t.replace(/(^|[^\\])yyyy+/g,"$1"+u)).replace(/(^|[^\\])yy/g,"$1"+u.toString().substr(2,2))).replace(/(^|[^\\])y/g,"$1"+u);var d=(s?e.getUTCMonth():e.getMonth())+1;t=(t=(t=(t=t.replace(/(^|[^\\])MMMM+/g,"$1"+r[0])).replace(/(^|[^\\])MMM/g,"$1"+n[0])).replace(/(^|[^\\])MM/g,"$1"+c(d))).replace(/(^|[^\\])M/g,"$1"+d);var h=s?e.getUTCDate():e.getDate();t=(t=(t=(t=t.replace(/(^|[^\\])dddd+/g,"$1"+o[0])).replace(/(^|[^\\])ddd/g,"$1"+l[0])).replace(/(^|[^\\])dd/g,"$1"+c(h))).replace(/(^|[^\\])d/g,"$1"+h);var f=s?e.getUTCHours():e.getHours(),g=f>12?f-12:f===0?12:f;t=(t=(t=(t=t.replace(/(^|[^\\])HH+/g,"$1"+c(f))).replace(/(^|[^\\])H/g,"$1"+f)).replace(/(^|[^\\])hh+/g,"$1"+c(g))).replace(/(^|[^\\])h/g,"$1"+g);var p=s?e.getUTCMinutes():e.getMinutes();t=(t=t.replace(/(^|[^\\])mm+/g,"$1"+c(p))).replace(/(^|[^\\])m/g,"$1"+p);var m=s?e.getUTCSeconds():e.getSeconds();t=(t=t.replace(/(^|[^\\])ss+/g,"$1"+c(m))).replace(/(^|[^\\])s/g,"$1"+m);var b=s?e.getUTCMilliseconds():e.getMilliseconds();t=t.replace(/(^|[^\\])fff+/g,"$1"+c(b,3)),b=Math.round(b/10),t=t.replace(/(^|[^\\])ff/g,"$1"+c(b)),b=Math.round(b/10);var v=f<12?"AM":"PM";t=(t=(t=t.replace(/(^|[^\\])f/g,"$1"+b)).replace(/(^|[^\\])TT+/g,"$1"+v)).replace(/(^|[^\\])T/g,"$1"+v.charAt(0));var x=v.toLowerCase();t=(t=t.replace(/(^|[^\\])tt+/g,"$1"+x)).replace(/(^|[^\\])t/g,"$1"+x.charAt(0));var k=-e.getTimezoneOffset(),y=s||!k?"Z":k>0?"+":"-";if(!s){var A=(k=Math.abs(k))%60;y+=c(Math.floor(k/60))+":"+c(A)}t=t.replace(/(^|[^\\])K/g,"$1"+y);var w=(s?e.getUTCDay():e.getDay())+1;return t=(t=(t=(t=(t=t.replace(new RegExp(o[0],"g"),o[w])).replace(new RegExp(l[0],"g"),l[w])).replace(new RegExp(r[0],"g"),r[d])).replace(new RegExp(n[0],"g"),n[d])).replace(/\\(.)/g,"$1")}},{key:"getTimeUnitsfromTimestamp",value:function(e,t,a){var s=this.w;s.config.xaxis.min!==void 0&&(e=s.config.xaxis.min),s.config.xaxis.max!==void 0&&(t=s.config.xaxis.max);var r=this.getDate(e),n=this.getDate(t),o=this.formatDate(r,"yyyy MM dd HH mm ss fff").split(" "),l=this.formatDate(n,"yyyy MM dd HH mm ss fff").split(" ");return{minMillisecond:parseInt(o[6],10),maxMillisecond:parseInt(l[6],10),minSecond:parseInt(o[5],10),maxSecond:parseInt(l[5],10),minMinute:parseInt(o[4],10),maxMinute:parseInt(l[4],10),minHour:parseInt(o[3],10),maxHour:parseInt(l[3],10),minDate:parseInt(o[2],10),maxDate:parseInt(l[2],10),minMonth:parseInt(o[1],10)-1,maxMonth:parseInt(l[1],10)-1,minYear:parseInt(o[0],10),maxYear:parseInt(l[0],10)}}},{key:"isLeapYear",value:function(e){return e%4==0&&e%100!=0||e%400==0}},{key:"calculcateLastDaysOfMonth",value:function(e,t,a){return this.determineDaysOfMonths(e,t)-a}},{key:"determineDaysOfYear",value:function(e){var t=365;return this.isLeapYear(e)&&(t=366),t}},{key:"determineRemainingDaysOfYear",value:function(e,t,a){var s=this.daysCntOfYear[t]+a;return t>1&&this.isLeapYear()&&s++,s}},{key:"determineDaysOfMonths",value:function(e,t){var a=30;switch(e=T.monthMod(e),!0){case this.months30.indexOf(e)>-1:e===2&&(a=this.isLeapYear(t)?29:28);break;case this.months31.indexOf(e)>-1:default:a=31}return a}}]),i})(),on=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.tooltipKeyFormat="dd MMM"}return te(i,[{key:"xLabelFormat",value:function(e,t,a,s){var r=this.w;if(r.config.xaxis.type==="datetime"&&r.config.xaxis.labels.formatter===void 0&&r.config.tooltip.x.formatter===void 0){var n=new pt(this.ctx);return n.formatDate(n.getDate(t),r.config.tooltip.x.format)}return e(t,a,s)}},{key:"defaultGeneralFormatter",value:function(e){return Array.isArray(e)?e.map((function(t){return t})):e}},{key:"defaultYFormatter",value:function(e,t,a){var s=this.w;if(T.isNumber(e))if(s.globals.yValueDecimal!==0)e=e.toFixed(t.decimalsInFloat!==void 0?t.decimalsInFloat:s.globals.yValueDecimal);else{var r=e.toFixed(0);e=e==r?r:e.toFixed(1)}return e}},{key:"setLabelFormatters",value:function(){var e=this,t=this.w;return t.globals.xaxisTooltipFormatter=function(a){return e.defaultGeneralFormatter(a)},t.globals.ttKeyFormatter=function(a){return e.defaultGeneralFormatter(a)},t.globals.ttZFormatter=function(a){return a},t.globals.legendFormatter=function(a){return e.defaultGeneralFormatter(a)},t.config.xaxis.labels.formatter!==void 0?t.globals.xLabelFormatter=t.config.xaxis.labels.formatter:t.globals.xLabelFormatter=function(a){if(T.isNumber(a)){if(!t.config.xaxis.convertedCatToNumeric&&t.config.xaxis.type==="numeric"){if(T.isNumber(t.config.xaxis.decimalsInFloat))return a.toFixed(t.config.xaxis.decimalsInFloat);var s=t.globals.maxX-t.globals.minX;return s>0&&s<100?a.toFixed(1):a.toFixed(0)}return t.globals.isBarHorizontal&&t.globals.maxY-t.globals.minYArr<4?a.toFixed(1):a.toFixed(0)}return a},typeof t.config.tooltip.x.formatter=="function"?t.globals.ttKeyFormatter=t.config.tooltip.x.formatter:t.globals.ttKeyFormatter=t.globals.xLabelFormatter,typeof t.config.xaxis.tooltip.formatter=="function"&&(t.globals.xaxisTooltipFormatter=t.config.xaxis.tooltip.formatter),(Array.isArray(t.config.tooltip.y)||t.config.tooltip.y.formatter!==void 0)&&(t.globals.ttVal=t.config.tooltip.y),t.config.tooltip.z.formatter!==void 0&&(t.globals.ttZFormatter=t.config.tooltip.z.formatter),t.config.legend.formatter!==void 0&&(t.globals.legendFormatter=t.config.legend.formatter),t.config.yaxis.forEach((function(a,s){a.labels.formatter!==void 0?t.globals.yLabelFormatters[s]=a.labels.formatter:t.globals.yLabelFormatters[s]=function(r){return t.globals.xyCharts?Array.isArray(r)?r.map((function(n){return e.defaultYFormatter(n,a,s)})):e.defaultYFormatter(r,a,s):r}})),t.globals}},{key:"heatmapLabelFormatters",value:function(){var e=this.w;if(e.config.chart.type==="heatmap"){e.globals.yAxisScale[0].result=e.globals.seriesNames.slice();var t=e.globals.seriesNames.reduce((function(a,s){return a.length>s.length?a:s}),0);e.globals.yAxisScale[0].niceMax=t,e.globals.yAxisScale[0].niceMin=t}}}]),i})(),va=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"getLabel",value:function(e,t,a,s){var r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"12px",o=!(arguments.length>6&&arguments[6]!==void 0)||arguments[6],l=this.w,c=e[s]===void 0?"":e[s],u=c,d=l.globals.xLabelFormatter,h=l.config.xaxis.labels.formatter,f=!1,g=new on(this.ctx),p=c;o&&(u=g.xLabelFormat(d,c,p,{i:s,dateFormatter:new pt(this.ctx).formatDate,w:l}),h!==void 0&&(u=h(c,e[s],{i:s,dateFormatter:new pt(this.ctx).formatDate,w:l})));var m,b;t.length>0?(m=t[s].unit,b=null,t.forEach((function(y){y.unit==="month"?b="year":y.unit==="day"?b="month":y.unit==="hour"?b="day":y.unit==="minute"&&(b="hour")})),f=b===m,a=t[s].position,u=t[s].value):l.config.xaxis.type==="datetime"&&h===void 0&&(u=""),u===void 0&&(u=""),u=Array.isArray(u)?u:u.toString();var v=new Y(this.ctx),x={};x=l.globals.rotateXLabels&&o?v.getTextRects(u,parseInt(n,10),null,"rotate(".concat(l.config.xaxis.labels.rotate," 0 0)"),!1):v.getTextRects(u,parseInt(n,10));var k=!l.config.xaxis.labels.showDuplicates&&this.ctx.timeScale;return!Array.isArray(u)&&(String(u)==="NaN"||r.indexOf(u)>=0&&k)&&(u=""),{x:a,text:u,textRect:x,isBold:f}}},{key:"checkLabelBasedOnTickamount",value:function(e,t,a){var s=this.w,r=s.config.xaxis.tickAmount;return r==="dataPoints"&&(r=Math.round(s.globals.gridWidth/120)),r>a||e%Math.round(a/(r+1))==0||(t.text=""),t}},{key:"checkForOverflowingLabels",value:function(e,t,a,s,r){var n=this.w;if(e===0&&n.globals.skipFirstTimelinelabel&&(t.text=""),e===a-1&&n.globals.skipLastTimelinelabel&&(t.text=""),n.config.xaxis.labels.hideOverlappingLabels&&s.length>0){var o=r[r.length-1];if(n.config.xaxis.labels.trim&&n.config.xaxis.type!=="datetime")return t;t.x<o.textRect.width/(n.globals.rotateXLabels?Math.abs(n.config.xaxis.labels.rotate)/12:1.01)+o.x&&(t.text="")}return t}},{key:"checkForReversedLabels",value:function(e,t){var a=this.w;return a.config.yaxis[e]&&a.config.yaxis[e].reversed&&t.reverse(),t}},{key:"yAxisAllSeriesCollapsed",value:function(e){var t=this.w.globals;return!t.seriesYAxisMap[e].some((function(a){return t.collapsedSeriesIndices.indexOf(a)===-1}))}},{key:"translateYAxisIndex",value:function(e){var t=this.w,a=t.globals,s=t.config.yaxis;return a.series.length>s.length||s.some((function(r){return Array.isArray(r.seriesName)}))?e:a.seriesYAxisReverseMap[e]}},{key:"isYAxisHidden",value:function(e){var t=this.w,a=t.config.yaxis[e];if(!a.show||this.yAxisAllSeriesCollapsed(e))return!0;if(!a.showForNullSeries){var s=t.globals.seriesYAxisMap[e],r=new rt(this.ctx);return s.every((function(n){return r.isSeriesNull(n)}))}return!1}},{key:"getYAxisForeColor",value:function(e,t){var a=this.w;return Array.isArray(e)&&a.globals.yAxisScale[t]&&this.ctx.theme.pushExtraColors(e,a.globals.yAxisScale[t].result.length,!1),e}},{key:"drawYAxisTicks",value:function(e,t,a,s,r,n,o){var l=this.w,c=new Y(this.ctx),u=l.globals.translateY+l.config.yaxis[r].labels.offsetY;if(l.globals.isBarHorizontal?u=0:l.config.chart.type==="heatmap"&&(u+=n/2),s.show&&t>0){l.config.yaxis[r].opposite===!0&&(e+=s.width);for(var d=t;d>=0;d--){var h=c.drawLine(e+a.offsetX-s.width+s.offsetX,u+s.offsetY,e+a.offsetX+s.offsetX,u+s.offsetY,s.color);o.add(h),u+=n}}}}]),i})(),F_=(function(){function i(e){ee(this,i),this.w=e.w,this.annoCtx=e,this.helpers=new tl(this.annoCtx),this.axesUtils=new va(this.annoCtx)}return te(i,[{key:"addYaxisAnnotation",value:function(e,t,a){var s,r=this.w,n=e.strokeDashArray,o=this.helpers.getY1Y2("y1",e),l=o.yP,c=o.clipped,u=!0,d=!1,h=e.label.text;if(e.y2===null||e.y2===void 0){if(!c){d=!0;var f=this.annoCtx.graphics.drawLine(0+e.offsetX,l+e.offsetY,this._getYAxisAnnotationWidth(e),l+e.offsetY,e.borderColor,n,e.borderWidth);t.appendChild(f.node),e.id&&f.node.classList.add(e.id)}}else{if(s=(o=this.helpers.getY1Y2("y2",e)).yP,u=o.clipped,s>l){var g=l;l=s,s=g}if(!c||!u){d=!0;var p=this.annoCtx.graphics.drawRect(0+e.offsetX,s+e.offsetY,this._getYAxisAnnotationWidth(e),l-s,0,e.fillColor,e.opacity,1,e.borderColor,n);p.node.classList.add("apexcharts-annotation-rect"),p.attr("clip-path","url(#gridRectMask".concat(r.globals.cuid,")")),t.appendChild(p.node),e.id&&p.node.classList.add(e.id)}}if(d){var m=e.label.position==="right"?r.globals.gridWidth:e.label.position==="center"?r.globals.gridWidth/2:0,b=this.annoCtx.graphics.drawText({x:m+e.label.offsetX,y:(s??l)+e.label.offsetY-3,text:h,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-yaxis-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});b.attr({rel:a}),t.appendChild(b.node)}}},{key:"_getYAxisAnnotationWidth",value:function(e){var t=this.w;return t.globals.gridWidth,(e.width.indexOf("%")>-1?t.globals.gridWidth*parseInt(e.width,10)/100:parseInt(e.width,10))+e.offsetX}},{key:"drawYAxisAnnotations",value:function(){var e=this,t=this.w,a=this.annoCtx.graphics.group({class:"apexcharts-yaxis-annotations"});return t.config.annotations.yaxis.forEach((function(s,r){s.yAxisIndex=e.axesUtils.translateYAxisIndex(s.yAxisIndex),e.axesUtils.isYAxisHidden(s.yAxisIndex)&&e.axesUtils.yAxisAllSeriesCollapsed(s.yAxisIndex)||e.addYaxisAnnotation(s,a.node,r)})),a}}]),i})(),z_=(function(){function i(e){ee(this,i),this.w=e.w,this.annoCtx=e,this.helpers=new tl(this.annoCtx)}return te(i,[{key:"addPointAnnotation",value:function(e,t,a){if(!(this.w.globals.collapsedSeriesIndices.indexOf(e.seriesIndex)>-1)){var s=this.helpers.getX1X2("x1",e),r=s.x,n=s.clipped,o=(s=this.helpers.getY1Y2("y1",e)).yP,l=s.clipped;if(T.isNumber(r)&&!l&&!n){var c={pSize:e.marker.size,pointStrokeWidth:e.marker.strokeWidth,pointFillColor:e.marker.fillColor,pointStrokeColor:e.marker.strokeColor,shape:e.marker.shape,pRadius:e.marker.radius,class:"apexcharts-point-annotation-marker ".concat(e.marker.cssClass," ").concat(e.id?e.id:"")},u=this.annoCtx.graphics.drawMarker(r+e.marker.offsetX,o+e.marker.offsetY,c);t.appendChild(u.node);var d=e.label.text?e.label.text:"",h=this.annoCtx.graphics.drawText({x:r+e.label.offsetX,y:o+e.label.offsetY-e.marker.size-parseFloat(e.label.style.fontSize)/1.6,text:d,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-point-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});if(h.attr({rel:a}),t.appendChild(h.node),e.customSVG.SVG){var f=this.annoCtx.graphics.group({class:"apexcharts-point-annotations-custom-svg "+e.customSVG.cssClass});f.attr({transform:"translate(".concat(r+e.customSVG.offsetX,", ").concat(o+e.customSVG.offsetY,")")}),f.node.innerHTML=e.customSVG.SVG,t.appendChild(f.node)}if(e.image.path){var g=e.image.width?e.image.width:20,p=e.image.height?e.image.height:20;u=this.annoCtx.addImage({x:r+e.image.offsetX-g/2,y:o+e.image.offsetY-p/2,width:g,height:p,path:e.image.path,appendTo:".apexcharts-point-annotations"})}e.mouseEnter&&u.node.addEventListener("mouseenter",e.mouseEnter.bind(this,e)),e.mouseLeave&&u.node.addEventListener("mouseleave",e.mouseLeave.bind(this,e)),e.click&&u.node.addEventListener("click",e.click.bind(this,e))}}}},{key:"drawPointAnnotations",value:function(){var e=this,t=this.w,a=this.annoCtx.graphics.group({class:"apexcharts-point-annotations"});return t.config.annotations.points.map((function(s,r){e.addPointAnnotation(s,a.node,r)})),a}}]),i})(),kx={name:"en",options:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],toolbar:{exportToSVG:"Download SVG",exportToPNG:"Download PNG",exportToCSV:"Download CSV",menu:"Menu",selection:"Selection",selectionZoom:"Selection Zoom",zoomIn:"Zoom In",zoomOut:"Zoom Out",pan:"Panning",reset:"Reset Zoom"}}},_a=(function(){function i(){ee(this,i),this.yAxis={show:!0,showAlways:!1,showForNullSeries:!0,seriesName:void 0,opposite:!1,reversed:!1,logarithmic:!1,logBase:10,tickAmount:void 0,stepSize:void 0,forceNiceScale:!1,max:void 0,min:void 0,floating:!1,decimalsInFloat:void 0,labels:{show:!0,showDuplicates:!1,minWidth:0,maxWidth:160,offsetX:0,offsetY:0,align:void 0,rotate:0,padding:20,style:{colors:[],fontSize:"11px",fontWeight:400,fontFamily:void 0,cssClass:""},formatter:void 0},axisBorder:{show:!1,color:"#e0e0e0",width:1,offsetX:0,offsetY:0},axisTicks:{show:!1,color:"#e0e0e0",width:6,offsetX:0,offsetY:0},title:{text:void 0,rotate:-90,offsetY:0,offsetX:0,style:{color:void 0,fontSize:"11px",fontWeight:900,fontFamily:void 0,cssClass:""}},tooltip:{enabled:!1,offsetX:0},crosshairs:{show:!0,position:"front",stroke:{color:"#b6b6b6",width:1,dashArray:0}}},this.pointAnnotation={id:void 0,x:0,y:null,yAxisIndex:0,seriesIndex:void 0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,marker:{size:4,fillColor:"#fff",strokeWidth:2,strokeColor:"#333",shape:"circle",offsetX:0,offsetY:0,cssClass:""},label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}},customSVG:{SVG:void 0,cssClass:void 0,offsetX:0,offsetY:0},image:{path:void 0,width:20,height:20,offsetX:0,offsetY:0}},this.yAxisAnnotation={id:void 0,y:0,y2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,width:"100%",yAxisIndex:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"end",position:"right",offsetX:0,offsetY:-3,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.xAxisAnnotation={id:void 0,x:0,x2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",orientation:"vertical",position:"top",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.text={x:0,y:0,text:"",textAnchor:"start",foreColor:void 0,fontSize:"13px",fontFamily:void 0,fontWeight:400,appendTo:".apexcharts-annotations",backgroundColor:"transparent",borderColor:"#c2c2c2",borderRadius:0,borderWidth:0,paddingLeft:4,paddingRight:4,paddingTop:2,paddingBottom:2}}return te(i,[{key:"init",value:function(){return{annotations:{yaxis:[this.yAxisAnnotation],xaxis:[this.xAxisAnnotation],points:[this.pointAnnotation],texts:[],images:[],shapes:[]},chart:{animations:{enabled:!0,speed:800,animateGradually:{delay:150,enabled:!0},dynamicAnimation:{enabled:!0,speed:350}},background:"",locales:[kx],defaultLocale:"en",dropShadow:{enabled:!1,enabledOnSeries:void 0,top:2,left:2,blur:4,color:"#000",opacity:.7},events:{animationEnd:void 0,beforeMount:void 0,mounted:void 0,updated:void 0,click:void 0,mouseMove:void 0,mouseLeave:void 0,xAxisLabelClick:void 0,legendClick:void 0,markerClick:void 0,selection:void 0,dataPointSelection:void 0,dataPointMouseEnter:void 0,dataPointMouseLeave:void 0,beforeZoom:void 0,beforeResetZoom:void 0,zoomed:void 0,scrolled:void 0,brushScrolled:void 0},foreColor:"#373d3f",fontFamily:"Helvetica, Arial, sans-serif",height:"auto",parentHeightOffset:15,redrawOnParentResize:!0,redrawOnWindowResize:!0,id:void 0,group:void 0,nonce:void 0,offsetX:0,offsetY:0,injectStyleSheet:!0,selection:{enabled:!1,type:"x",fill:{color:"#24292e",opacity:.1},stroke:{width:1,color:"#24292e",opacity:.4,dashArray:3},xaxis:{min:void 0,max:void 0},yaxis:{min:void 0,max:void 0}},sparkline:{enabled:!1},brush:{enabled:!1,autoScaleYaxis:!0,target:void 0,targets:void 0},stacked:!1,stackOnlyBar:!0,stackType:"normal",toolbar:{show:!0,offsetX:0,offsetY:0,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0,customIcons:[]},export:{csv:{filename:void 0,columnDelimiter:",",headerCategory:"category",headerValue:"value",categoryFormatter:void 0,valueFormatter:void 0},png:{filename:void 0},svg:{filename:void 0},scale:void 0,width:void 0},autoSelected:"zoom"},type:"line",width:"100%",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,allowMouseWheelZoom:!0,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},parsing:{x:void 0,y:void 0},plotOptions:{line:{isSlopeChart:!1,colors:{threshold:0,colorAboveThreshold:void 0,colorBelowThreshold:void 0}},area:{fillTo:"origin"},bar:{horizontal:!1,columnWidth:"70%",barHeight:"70%",distributed:!1,borderRadius:0,borderRadiusApplication:"around",borderRadiusWhenStacked:"last",rangeBarOverlap:!0,rangeBarGroupRows:!1,hideZeroBarsWhenGrouped:!1,isDumbbell:!1,dumbbellColors:void 0,isFunnel:!1,isFunnel3d:!0,colors:{ranges:[],backgroundBarColors:[],backgroundBarOpacity:1,backgroundBarRadius:0},dataLabels:{position:"top",maxItems:100,hideOverflowingLabels:!0,orientation:"horizontal",total:{enabled:!1,formatter:void 0,offsetX:0,offsetY:0,style:{color:"#373d3f",fontSize:"12px",fontFamily:void 0,fontWeight:600}}}},bubble:{zScaling:!0,minBubbleRadius:void 0,maxBubbleRadius:void 0},candlestick:{colors:{upward:"#00B746",downward:"#EF403C"},wick:{useFillColor:!0}},boxPlot:{colors:{upper:"#00E396",lower:"#008FFB"}},heatmap:{radius:2,enableShades:!0,shadeIntensity:.5,reverseNegativeShade:!1,distributed:!1,useFillColorAsStroke:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},treemap:{enableShades:!0,shadeIntensity:.5,distributed:!1,reverseNegativeShade:!1,useFillColorAsStroke:!1,borderRadius:4,dataLabels:{format:"scale"},colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0},seriesTitle:{show:!0,offsetY:1,offsetX:1,borderColor:"#000",borderWidth:1,borderRadius:2,style:{background:"rgba(0, 0, 0, 0.6)",color:"#fff",fontSize:"12px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:6,right:6,top:2,bottom:2}}}},radialBar:{inverseOrder:!1,startAngle:0,endAngle:360,offsetX:0,offsetY:0,hollow:{margin:5,size:"50%",background:"transparent",image:void 0,imageWidth:150,imageHeight:150,imageOffsetX:0,imageOffsetY:0,imageClipped:!0,position:"front",dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},track:{show:!0,startAngle:void 0,endAngle:void 0,background:"#f2f2f2",strokeWidth:"97%",opacity:1,margin:5,dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},dataLabels:{show:!0,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:0,formatter:function(e){return e}},value:{show:!0,fontSize:"14px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:16,formatter:function(e){return e+"%"}},total:{show:!1,label:"Total",fontSize:"16px",fontWeight:600,fontFamily:void 0,color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce((function(t,a){return t+a}),0)/e.globals.series.length+"%"}}},barLabels:{enabled:!1,offsetX:0,offsetY:0,useSeriesColors:!0,fontFamily:void 0,fontWeight:600,fontSize:"16px",formatter:function(e){return e},onClick:void 0}},pie:{customScale:1,offsetX:0,offsetY:0,startAngle:0,endAngle:360,expandOnClick:!0,dataLabels:{offset:0,minAngleToShowLabel:10},donut:{size:"65%",background:"transparent",labels:{show:!1,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:-10,formatter:function(e){return e}},value:{show:!0,fontSize:"20px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:10,formatter:function(e){return e}},total:{show:!1,showAlways:!1,label:"Total",fontSize:"16px",fontWeight:400,fontFamily:void 0,color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce((function(t,a){return t+a}),0)}}}}},polarArea:{rings:{strokeWidth:1,strokeColor:"#e8e8e8"},spokes:{strokeWidth:1,connectorColors:"#e8e8e8"}},radar:{size:void 0,offsetX:0,offsetY:0,polygons:{strokeWidth:1,strokeColors:"#e8e8e8",connectorColors:"#e8e8e8",fill:{colors:void 0}}}},colors:void 0,dataLabels:{enabled:!0,enabledOnSeries:void 0,formatter:function(e){return e!==null?e:""},textAnchor:"middle",distributed:!1,offsetX:0,offsetY:0,style:{fontSize:"12px",fontFamily:void 0,fontWeight:600,colors:void 0},background:{enabled:!0,foreColor:"#fff",backgroundColor:void 0,borderRadius:2,padding:4,opacity:.9,borderWidth:1,borderColor:"#fff",dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.8}},dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.8}},fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]},image:{src:[],width:void 0,height:void 0},pattern:{style:"squares",width:6,height:6,strokeWidth:2}},forecastDataPoints:{count:0,fillOpacity:.5,strokeWidth:void 0,dashArray:4},grid:{show:!0,borderColor:"#e0e0e0",strokeDashArray:0,position:"back",xaxis:{lines:{show:!1}},yaxis:{lines:{show:!0}},row:{colors:void 0,opacity:.5},column:{colors:void 0,opacity:.5},padding:{top:0,right:10,bottom:0,left:12}},labels:[],legend:{show:!0,showForSingleSeries:!1,showForNullSeries:!0,showForZeroSeries:!0,floating:!1,position:"bottom",horizontalAlign:"center",inverseOrder:!1,fontSize:"12px",fontFamily:void 0,fontWeight:400,width:void 0,height:void 0,formatter:void 0,tooltipHoverFormatter:void 0,offsetX:-20,offsetY:4,customLegendItems:[],clusterGroupedSeries:!0,clusterGroupedSeriesOrientation:"vertical",labels:{colors:void 0,useSeriesColors:!1},markers:{size:7,fillColors:void 0,strokeWidth:1,shape:void 0,offsetX:0,offsetY:0,customHTML:void 0,onClick:void 0},itemMargin:{horizontal:5,vertical:4},onItemClick:{toggleDataSeries:!0},onItemHover:{highlightDataSeries:!0}},markers:{discrete:[],size:0,colors:void 0,strokeColors:"#fff",strokeWidth:2,strokeOpacity:.9,strokeDashArray:0,fillOpacity:1,shape:"circle",offsetX:0,offsetY:0,showNullDataPoints:!0,onClick:void 0,onDblClick:void 0,hover:{size:void 0,sizeOffset:3}},noData:{text:void 0,align:"center",verticalAlign:"middle",offsetX:0,offsetY:0,style:{color:void 0,fontSize:"14px",fontFamily:void 0}},responsive:[],series:void 0,states:{hover:{filter:{type:"lighten"}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"darken"}}},title:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:0,floating:!1,style:{fontSize:"14px",fontWeight:900,fontFamily:void 0,color:void 0}},subtitle:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:30,floating:!1,style:{fontSize:"12px",fontWeight:400,fontFamily:void 0,color:void 0}},stroke:{show:!0,curve:"smooth",lineCap:"butt",width:2,colors:void 0,dashArray:0,fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]}}},tooltip:{enabled:!0,enabledOnSeries:void 0,shared:!0,hideEmptySeries:!1,followCursor:!1,intersect:!1,inverseOrder:!1,custom:void 0,fillSeriesColor:!1,theme:"light",cssClass:"",style:{fontSize:"12px",fontFamily:void 0},onDatasetHover:{highlightDataSeries:!1},x:{show:!0,format:"dd MMM",formatter:void 0},y:{formatter:void 0,title:{formatter:function(e){return e?e+": ":""}}},z:{formatter:void 0,title:"Size: "},marker:{show:!0,fillColors:void 0},items:{display:"flex"},fixed:{enabled:!1,position:"topRight",offsetX:0,offsetY:0}},xaxis:{type:"category",categories:[],convertedCatToNumeric:!1,offsetX:0,offsetY:0,overwriteCategories:void 0,labels:{show:!0,rotate:-45,rotateAlways:!1,hideOverlappingLabels:!0,trim:!1,minHeight:void 0,maxHeight:120,showDuplicates:!0,style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""},offsetX:0,offsetY:0,format:void 0,formatter:void 0,datetimeUTC:!0,datetimeFormatter:{year:"yyyy",month:"MMM 'yy",day:"dd MMM",hour:"HH:mm",minute:"HH:mm:ss",second:"HH:mm:ss"}},group:{groups:[],style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""}},axisBorder:{show:!0,color:"#e0e0e0",width:"100%",height:1,offsetX:0,offsetY:0},axisTicks:{show:!0,color:"#e0e0e0",height:6,offsetX:0,offsetY:0},stepSize:void 0,tickAmount:void 0,tickPlacement:"on",min:void 0,max:void 0,range:void 0,floating:!1,decimalsInFloat:void 0,position:"bottom",title:{text:void 0,offsetX:0,offsetY:0,style:{color:void 0,fontSize:"12px",fontWeight:900,fontFamily:void 0,cssClass:""}},crosshairs:{show:!0,width:1,position:"back",opacity:.9,stroke:{color:"#b6b6b6",width:1,dashArray:3},fill:{type:"solid",color:"#B1B9C4",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}},dropShadow:{enabled:!1,left:0,top:0,blur:1,opacity:.8}},tooltip:{enabled:!0,offsetY:0,formatter:void 0,style:{fontSize:"12px",fontFamily:void 0}}},yaxis:this.yAxis,theme:{mode:"",palette:"palette1",monochrome:{enabled:!1,color:"#008FFB",shadeTo:"light",shadeIntensity:.65}}}}}]),i})(),B_=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.graphics=new Y(this.ctx),this.w.globals.isBarHorizontal&&(this.invertAxis=!0),this.helpers=new tl(this),this.xAxisAnnotations=new O_(this),this.yAxisAnnotations=new F_(this),this.pointsAnnotations=new z_(this),this.w.globals.isBarHorizontal&&this.w.config.yaxis[0].reversed&&(this.inversedReversedAxis=!0),this.xDivision=this.w.globals.gridWidth/this.w.globals.dataPoints}return te(i,[{key:"drawAxesAnnotations",value:function(){var e=this.w;if(e.globals.axisCharts&&e.globals.dataPoints){for(var t=this.yAxisAnnotations.drawYAxisAnnotations(),a=this.xAxisAnnotations.drawXAxisAnnotations(),s=this.pointsAnnotations.drawPointAnnotations(),r=e.config.chart.animations.enabled,n=[t,a,s],o=[a.node,t.node,s.node],l=0;l<3;l++)e.globals.dom.elGraphical.add(n[l]),!r||e.globals.resized||e.globals.dataChanged||e.config.chart.type!=="scatter"&&e.config.chart.type!=="bubble"&&e.globals.dataPoints>1&&o[l].classList.add("apexcharts-element-hidden"),e.globals.delayedElements.push({el:o[l],index:0});this.helpers.annotationsBackground()}}},{key:"drawImageAnnos",value:function(){var e=this;this.w.config.annotations.images.map((function(t,a){e.addImage(t,a)}))}},{key:"drawTextAnnos",value:function(){var e=this;this.w.config.annotations.texts.map((function(t,a){e.addText(t,a)}))}},{key:"addXaxisAnnotation",value:function(e,t,a){this.xAxisAnnotations.addXaxisAnnotation(e,t,a)}},{key:"addYaxisAnnotation",value:function(e,t,a){this.yAxisAnnotations.addYaxisAnnotation(e,t,a)}},{key:"addPointAnnotation",value:function(e,t,a){this.pointsAnnotations.addPointAnnotation(e,t,a)}},{key:"addText",value:function(e,t){var a=e.x,s=e.y,r=e.text,n=e.textAnchor,o=e.foreColor,l=e.fontSize,c=e.fontFamily,u=e.fontWeight,d=e.cssClass,h=e.backgroundColor,f=e.borderWidth,g=e.strokeDashArray,p=e.borderRadius,m=e.borderColor,b=e.appendTo,v=b===void 0?".apexcharts-svg":b,x=e.paddingLeft,k=x===void 0?4:x,y=e.paddingRight,A=y===void 0?4:y,w=e.paddingBottom,S=w===void 0?2:w,C=e.paddingTop,E=C===void 0?2:C,M=this.w,P=this.graphics.drawText({x:a,y:s,text:r,textAnchor:n||"start",fontSize:l||"12px",fontWeight:u||"regular",fontFamily:c||M.config.chart.fontFamily,foreColor:o||M.config.chart.foreColor,cssClass:d}),D=M.globals.dom.baseEl.querySelector(v);D&&D.appendChild(P.node);var L=P.bbox();if(r){var B=this.graphics.drawRect(L.x-k,L.y-E,L.width+k+A,L.height+S+E,p,h||"transparent",1,f,m,g);D.insertBefore(B.node,P.node)}}},{key:"addImage",value:function(e,t){var a=this.w,s=e.path,r=e.x,n=r===void 0?0:r,o=e.y,l=o===void 0?0:o,c=e.width,u=c===void 0?20:c,d=e.height,h=d===void 0?20:d,f=e.appendTo,g=f===void 0?".apexcharts-svg":f,p=a.globals.dom.Paper.image(s);p.size(u,h).move(n,l);var m=a.globals.dom.baseEl.querySelector(g);return m&&m.appendChild(p.node),p}},{key:"addXaxisAnnotationExternal",value:function(e,t,a){return this.addAnnotationExternal({params:e,pushToMemory:t,context:a,type:"xaxis",contextMethod:a.addXaxisAnnotation}),a}},{key:"addYaxisAnnotationExternal",value:function(e,t,a){return this.addAnnotationExternal({params:e,pushToMemory:t,context:a,type:"yaxis",contextMethod:a.addYaxisAnnotation}),a}},{key:"addPointAnnotationExternal",value:function(e,t,a){return this.invertAxis===void 0&&(this.invertAxis=a.w.globals.isBarHorizontal),this.addAnnotationExternal({params:e,pushToMemory:t,context:a,type:"point",contextMethod:a.addPointAnnotation}),a}},{key:"addAnnotationExternal",value:function(e){var t=e.params,a=e.pushToMemory,s=e.context,r=e.type,n=e.contextMethod,o=s,l=o.w,c=l.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-annotations")),u=c.childNodes.length+1,d=new _a,h=Object.assign({},r==="xaxis"?d.xAxisAnnotation:r==="yaxis"?d.yAxisAnnotation:d.pointAnnotation),f=T.extend(h,t);switch(r){case"xaxis":this.addXaxisAnnotation(f,c,u);break;case"yaxis":this.addYaxisAnnotation(f,c,u);break;case"point":this.addPointAnnotation(f,c,u)}var g=l.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-annotations .apexcharts-").concat(r,"-annotation-label[rel='").concat(u,"']")),p=this.helpers.addBackgroundToAnno(g,f);return p&&c.insertBefore(p.node,g),a&&l.globals.memory.methodsToExec.push({context:o,id:f.id?f.id:T.randomId(),method:n,label:"addAnnotation",params:t}),s}},{key:"clearAnnotations",value:function(e){for(var t=e.w,a=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-annotations, .apexcharts-xaxis-annotations, .apexcharts-point-annotations"),s=t.globals.memory.methodsToExec.length-1;s>=0;s--)t.globals.memory.methodsToExec[s].label!=="addText"&&t.globals.memory.methodsToExec[s].label!=="addAnnotation"||t.globals.memory.methodsToExec.splice(s,1);a=T.listToArray(a),Array.prototype.forEach.call(a,(function(r){for(;r.firstChild;)r.removeChild(r.firstChild)}))}},{key:"removeAnnotation",value:function(e,t){var a=e.w,s=a.globals.dom.baseEl.querySelectorAll(".".concat(t));s&&(a.globals.memory.methodsToExec.map((function(r,n){r.id===t&&a.globals.memory.methodsToExec.splice(n,1)})),Object.keys(a.config.annotations).forEach((function(r){var n=a.config.annotations[r];Array.isArray(n)&&(a.config.annotations[r]=n.filter((function(o){return o.id!==t})))})),Array.prototype.forEach.call(s,(function(r){r.parentElement.removeChild(r)})))}}]),i})(),Jl=function(i){var e,t=i.isTimeline,a=i.ctx,s=i.seriesIndex,r=i.dataPointIndex,n=i.y1,o=i.y2,l=i.w,c=l.globals.seriesRangeStart[s][r],u=l.globals.seriesRangeEnd[s][r],d=l.globals.labels[r],h=l.config.series[s].name?l.config.series[s].name:"",f=l.globals.ttKeyFormatter,g=l.config.tooltip.y.title.formatter,p={w:l,seriesIndex:s,dataPointIndex:r,start:c,end:u};typeof g=="function"&&(h=g(h,p)),(e=l.config.series[s].data[r])!==null&&e!==void 0&&e.x&&(d=l.config.series[s].data[r].x),t||l.config.xaxis.type==="datetime"&&(d=new on(a).xLabelFormat(l.globals.ttKeyFormatter,d,d,{i:void 0,dateFormatter:new pt(a).formatDate,w:l})),typeof f=="function"&&(d=f(d,p)),Number.isFinite(n)&&Number.isFinite(o)&&(c=n,u=o);var m="",b="",v=l.globals.colors[s];if(l.config.tooltip.x.formatter===void 0)if(l.config.xaxis.type==="datetime"){var x=new pt(a);m=x.formatDate(x.getDate(c),l.config.tooltip.x.format),b=x.formatDate(x.getDate(u),l.config.tooltip.x.format)}else m=c,b=u;else m=l.config.tooltip.x.formatter(c),b=l.config.tooltip.x.formatter(u);return{start:c,end:u,startVal:m,endVal:b,ylabel:d,color:v,seriesName:h}},Ql=function(i){var e=i.color,t=i.seriesName,a=i.ylabel,s=i.start,r=i.end,n=i.seriesIndex,o=i.dataPointIndex,l=i.ctx.tooltip.tooltipLabels.getFormatters(n);s=l.yLbFormatter(s),r=l.yLbFormatter(r);var c=l.yLbFormatter(i.w.globals.series[n][o]),u=`<span class="value start-value">
|
|
90
|
+
`.concat(s,`
|
|
91
|
+
</span> <span class="separator">-</span> <span class="value end-value">
|
|
92
|
+
`).concat(r,`
|
|
93
|
+
</span>`);return'<div class="apexcharts-tooltip-rangebar"><div> <span class="series-name" style="color: '+e+'">'+(t||"")+'</span></div><div> <span class="category">'+a+": </span> "+(i.w.globals.comboCharts?i.w.config.series[n].type==="rangeArea"||i.w.config.series[n].type==="rangeBar"?u:"<span>".concat(c,"</span>"):u)+" </div></div>"},Or=(function(){function i(e){ee(this,i),this.opts=e}return te(i,[{key:"hideYAxis",value:function(){this.opts.yaxis[0].show=!1,this.opts.yaxis[0].title.text="",this.opts.yaxis[0].axisBorder.show=!1,this.opts.yaxis[0].axisTicks.show=!1,this.opts.yaxis[0].floating=!0}},{key:"line",value:function(){return{dataLabels:{enabled:!1},stroke:{width:5,curve:"straight"},markers:{size:0,hover:{sizeOffset:6}},xaxis:{crosshairs:{width:1}}}}},{key:"sparkline",value:function(e){return this.hideYAxis(),T.extend(e,{grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},legend:{show:!1},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}},chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1}})}},{key:"slope",value:function(){return this.hideYAxis(),{chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!0,formatter:function(e,t){var a=t.w.config.series[t.seriesIndex].name;return e!==null?a+": "+e:""},background:{enabled:!1},offsetX:-5},grid:{xaxis:{lines:{show:!0}},yaxis:{lines:{show:!1}}},xaxis:{position:"top",labels:{style:{fontSize:14,fontWeight:900}},tooltip:{enabled:!1},crosshairs:{show:!1}},markers:{size:8,hover:{sizeOffset:1}},legend:{show:!1},tooltip:{shared:!1,intersect:!0,followCursor:!0},stroke:{width:5,curve:"straight"}}}},{key:"bar",value:function(){return{chart:{stacked:!1},plotOptions:{bar:{dataLabels:{position:"center"}}},dataLabels:{style:{colors:["#fff"]},background:{enabled:!1}},stroke:{width:0,lineCap:"square"},fill:{opacity:.85},legend:{markers:{shape:"square"}},tooltip:{shared:!1,intersect:!0},xaxis:{tooltip:{enabled:!1},tickPlacement:"between",crosshairs:{width:"barWidth",position:"back",fill:{type:"gradient"},dropShadow:{enabled:!1},stroke:{width:0}}}}}},{key:"funnel",value:function(){return this.hideYAxis(),$($({},this.bar()),{},{chart:{animations:{speed:800,animateGradually:{enabled:!1}}},plotOptions:{bar:{horizontal:!0,borderRadiusApplication:"around",borderRadius:0,dataLabels:{position:"center"}}},grid:{show:!1,padding:{left:0,right:0}},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}}})}},{key:"candlestick",value:function(){var e=this;return{stroke:{width:1},fill:{opacity:1},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(t){var a=t.seriesIndex,s=t.dataPointIndex,r=t.w;return e._getBoxTooltip(r,a,s,["Open","High","","Low","Close"],"candlestick")}},states:{active:{filter:{type:"none"}}},xaxis:{crosshairs:{width:1}}}}},{key:"boxPlot",value:function(){var e=this;return{chart:{animations:{dynamicAnimation:{enabled:!1}}},stroke:{width:1,colors:["#24292e"]},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(t){var a=t.seriesIndex,s=t.dataPointIndex,r=t.w;return e._getBoxTooltip(r,a,s,["Minimum","Q1","Median","Q3","Maximum"],"boxPlot")}},markers:{size:7,strokeWidth:1,strokeColors:"#111"},xaxis:{crosshairs:{width:1}}}}},{key:"rangeBar",value:function(){return{chart:{animations:{animateGradually:!1}},stroke:{width:0,lineCap:"square"},plotOptions:{bar:{borderRadius:0,dataLabels:{position:"center"}}},dataLabels:{enabled:!1,formatter:function(e,t){t.ctx;var a=t.seriesIndex,s=t.dataPointIndex,r=t.w,n=function(){var o=r.globals.seriesRangeStart[a][s];return r.globals.seriesRangeEnd[a][s]-o};return r.globals.comboCharts?r.config.series[a].type==="rangeBar"||r.config.series[a].type==="rangeArea"?n():e:n()},background:{enabled:!1},style:{colors:["#fff"]}},markers:{size:10},tooltip:{shared:!1,followCursor:!0,custom:function(e){return e.w.config.plotOptions&&e.w.config.plotOptions.bar&&e.w.config.plotOptions.bar.horizontal?(function(t){var a=Jl($($({},t),{},{isTimeline:!0})),s=a.color,r=a.seriesName,n=a.ylabel,o=a.startVal,l=a.endVal;return Ql($($({},t),{},{color:s,seriesName:r,ylabel:n,start:o,end:l}))})(e):(function(t){var a=Jl(t),s=a.color,r=a.seriesName,n=a.ylabel,o=a.start,l=a.end;return Ql($($({},t),{},{color:s,seriesName:r,ylabel:n,start:o,end:l}))})(e)}},xaxis:{tickPlacement:"between",tooltip:{enabled:!1},crosshairs:{stroke:{width:0}}}}}},{key:"dumbbell",value:function(e){var t,a;return(t=e.plotOptions.bar)!==null&&t!==void 0&&t.barHeight||(e.plotOptions.bar.barHeight=2),(a=e.plotOptions.bar)!==null&&a!==void 0&&a.columnWidth||(e.plotOptions.bar.columnWidth=2),e}},{key:"area",value:function(){return{stroke:{width:4,fill:{type:"solid",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}}},fill:{type:"gradient",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}},markers:{size:0,hover:{sizeOffset:6}},tooltip:{followCursor:!1}}}},{key:"rangeArea",value:function(){return{stroke:{curve:"straight",width:0},fill:{type:"solid",opacity:.6},markers:{size:0},states:{hover:{filter:{type:"none"}},active:{filter:{type:"none"}}},tooltip:{intersect:!1,shared:!0,followCursor:!0,custom:function(e){return(function(t){var a=Jl(t),s=a.color,r=a.seriesName,n=a.ylabel,o=a.start,l=a.end;return Ql($($({},t),{},{color:s,seriesName:r,ylabel:n,start:o,end:l}))})(e)}}}}},{key:"brush",value:function(e){return T.extend(e,{chart:{toolbar:{autoSelected:"selection",show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:1},tooltip:{enabled:!1},xaxis:{tooltip:{enabled:!1}}})}},{key:"stacked100",value:function(e){e.dataLabels=e.dataLabels||{},e.dataLabels.formatter=e.dataLabels.formatter||void 0;var t=e.dataLabels.formatter;return e.yaxis.forEach((function(a,s){e.yaxis[s].min=0,e.yaxis[s].max=100})),e.chart.type==="bar"&&(e.dataLabels.formatter=t||function(a){return typeof a=="number"&&a?a.toFixed(0)+"%":a}),e}},{key:"stackedBars",value:function(){var e=this.bar();return $($({},e),{},{plotOptions:$($({},e.plotOptions),{},{bar:$($({},e.plotOptions.bar),{},{borderRadiusApplication:"end",borderRadiusWhenStacked:"last"})})})}},{key:"convertCatToNumeric",value:function(e){return e.xaxis.convertedCatToNumeric=!0,e}},{key:"convertCatToNumericXaxis",value:function(e,t,a){e.xaxis.type="numeric",e.xaxis.labels=e.xaxis.labels||{},e.xaxis.labels.formatter=e.xaxis.labels.formatter||function(n){return T.isNumber(n)?Math.floor(n):n};var s=e.xaxis.labels.formatter,r=e.xaxis.categories&&e.xaxis.categories.length?e.xaxis.categories:e.labels;return a&&a.length&&(r=a.map((function(n){return Array.isArray(n)?n:String(n)}))),r&&r.length&&(e.xaxis.labels.formatter=function(n){return T.isNumber(n)?s(r[Math.floor(n)-1]):s(n)}),e.xaxis.categories=[],e.labels=[],e.xaxis.tickAmount=e.xaxis.tickAmount||"dataPoints",e}},{key:"bubble",value:function(){return{dataLabels:{style:{colors:["#fff"]}},tooltip:{shared:!1,intersect:!0},xaxis:{crosshairs:{width:0}},fill:{type:"solid",gradient:{shade:"light",inverse:!0,shadeIntensity:.55,opacityFrom:.4,opacityTo:.8}}}}},{key:"scatter",value:function(){return{dataLabels:{enabled:!1},tooltip:{shared:!1,intersect:!0},markers:{size:6,strokeWidth:1,hover:{sizeOffset:2}}}}},{key:"heatmap",value:function(){return{chart:{stacked:!1},fill:{opacity:1},dataLabels:{style:{colors:["#fff"]}},stroke:{colors:["#fff"]},tooltip:{followCursor:!0,marker:{show:!1},x:{show:!1}},legend:{position:"top",markers:{shape:"square"}},grid:{padding:{right:20}}}}},{key:"treemap",value:function(){return{chart:{zoom:{enabled:!1}},dataLabels:{style:{fontSize:14,fontWeight:600,colors:["#fff"]}},stroke:{show:!0,width:2,colors:["#fff"]},legend:{show:!1},fill:{opacity:1,gradient:{stops:[0,100]}},tooltip:{followCursor:!0,x:{show:!1}},grid:{padding:{left:0,right:0}},xaxis:{crosshairs:{show:!1},tooltip:{enabled:!1}}}}},{key:"pie",value:function(){return{chart:{toolbar:{show:!1}},plotOptions:{pie:{donut:{labels:{show:!1}}}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",stops:[0,100]}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"},grid:{padding:{left:0,right:0,top:0,bottom:0}}}}},{key:"donut",value:function(){return{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",shadeIntensity:.35,stops:[80,100],opacityFrom:1,opacityTo:1}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"},grid:{padding:{left:0,right:0,top:0,bottom:0}}}}},{key:"polarArea",value:function(){return{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},enabled:!1},stroke:{show:!0,width:2},fill:{opacity:.7},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"},grid:{padding:{left:0,right:0,top:0,bottom:0}}}}},{key:"radar",value:function(){return this.opts.yaxis[0].labels.offsetY=this.opts.yaxis[0].labels.offsetY?this.opts.yaxis[0].labels.offsetY:6,{dataLabels:{enabled:!1,style:{fontSize:"11px"}},stroke:{width:2},markers:{size:5,strokeWidth:1,strokeOpacity:1},fill:{opacity:.2},tooltip:{shared:!1,intersect:!0,followCursor:!0},grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},xaxis:{labels:{formatter:function(e){return e},style:{colors:["#a8a8a8"],fontSize:"11px"}},tooltip:{enabled:!1},crosshairs:{show:!1}}}}},{key:"radialBar",value:function(){return{chart:{animations:{dynamicAnimation:{enabled:!0,speed:800}},toolbar:{show:!1}},fill:{gradient:{shade:"dark",shadeIntensity:.4,inverseColors:!1,type:"diagonal2",opacityFrom:1,opacityTo:1,stops:[70,98,100]}},legend:{show:!1,position:"right"},tooltip:{enabled:!1,fillSeriesColor:!0},grid:{padding:{left:0,right:0,top:0,bottom:0}}}}},{key:"_getBoxTooltip",value:function(e,t,a,s,r){var n=e.globals.seriesCandleO[t][a],o=e.globals.seriesCandleH[t][a],l=e.globals.seriesCandleM[t][a],c=e.globals.seriesCandleL[t][a],u=e.globals.seriesCandleC[t][a];return e.config.series[t].type&&e.config.series[t].type!==r?`<div class="apexcharts-custom-tooltip">
|
|
94
|
+
`.concat(e.config.series[t].name?e.config.series[t].name:"series-"+(t+1),": <strong>").concat(e.globals.series[t][a],`</strong>
|
|
95
|
+
</div>`):'<div class="apexcharts-tooltip-box apexcharts-tooltip-'.concat(e.config.chart.type,'">')+"<div>".concat(s[0],': <span class="value">')+n+"</span></div>"+"<div>".concat(s[1],': <span class="value">')+o+"</span></div>"+(l?"<div>".concat(s[2],': <span class="value">')+l+"</span></div>":"")+"<div>".concat(s[3],': <span class="value">')+c+"</span></div>"+"<div>".concat(s[4],': <span class="value">')+u+"</span></div></div>"}}]),i})(),Fr=(function(){function i(e){ee(this,i),this.opts=e}return te(i,[{key:"init",value:function(e){var t=e.responsiveOverride,a=this.opts,s=new _a,r=new Or(a);this.chartType=a.chart.type,a=this.extendYAxis(a),a=this.extendAnnotations(a);var n=s.init(),o={};if(a&&Tt(a)==="object"){var l,c,u,d,h,f,g,p,m,b,v={};v=["line","area","bar","candlestick","boxPlot","rangeBar","rangeArea","bubble","scatter","heatmap","treemap","pie","polarArea","donut","radar","radialBar"].indexOf(a.chart.type)!==-1?r[a.chart.type]():r.line(),(l=a.plotOptions)!==null&&l!==void 0&&(c=l.bar)!==null&&c!==void 0&&c.isFunnel&&(v=r.funnel()),a.chart.stacked&&a.chart.type==="bar"&&(v=r.stackedBars()),(u=a.chart.brush)!==null&&u!==void 0&&u.enabled&&(v=r.brush(v)),(d=a.plotOptions)!==null&&d!==void 0&&(h=d.line)!==null&&h!==void 0&&h.isSlopeChart&&(v=r.slope()),a.chart.stacked&&a.chart.stackType==="100%"&&(a=r.stacked100(a)),(f=a.plotOptions)!==null&&f!==void 0&&(g=f.bar)!==null&&g!==void 0&&g.isDumbbell&&(a=r.dumbbell(a)),this.checkForDarkTheme(window.Apex),this.checkForDarkTheme(a),a.xaxis=a.xaxis||window.Apex.xaxis||{},t||(a.xaxis.convertedCatToNumeric=!1),((p=(a=this.checkForCatToNumericXAxis(this.chartType,v,a)).chart.sparkline)!==null&&p!==void 0&&p.enabled||(m=window.Apex.chart)!==null&&m!==void 0&&(b=m.sparkline)!==null&&b!==void 0&&b.enabled)&&(v=r.sparkline(v)),o=T.extend(n,v)}var x=T.extend(o,window.Apex);return n=T.extend(x,a),n=this.handleUserInputErrors(n)}},{key:"checkForCatToNumericXAxis",value:function(e,t,a){var s,r,n=new Or(a),o=(e==="bar"||e==="boxPlot")&&((s=a.plotOptions)===null||s===void 0||(r=s.bar)===null||r===void 0?void 0:r.horizontal),l=e==="pie"||e==="polarArea"||e==="donut"||e==="radar"||e==="radialBar"||e==="heatmap",c=a.xaxis.type!=="datetime"&&a.xaxis.type!=="numeric",u=a.xaxis.tickPlacement?a.xaxis.tickPlacement:t.xaxis&&t.xaxis.tickPlacement;return o||l||!c||u==="between"||(a=n.convertCatToNumeric(a)),a}},{key:"extendYAxis",value:function(e,t){var a=new _a;(e.yaxis===void 0||!e.yaxis||Array.isArray(e.yaxis)&&e.yaxis.length===0)&&(e.yaxis={}),e.yaxis.constructor!==Array&&window.Apex.yaxis&&window.Apex.yaxis.constructor!==Array&&(e.yaxis=T.extend(e.yaxis,window.Apex.yaxis)),e.yaxis.constructor!==Array?e.yaxis=[T.extend(a.yAxis,e.yaxis)]:e.yaxis=T.extendArray(e.yaxis,a.yAxis);var s=!1;e.yaxis.forEach((function(n){n.logarithmic&&(s=!0)}));var r=e.series;return t&&!r&&(r=t.config.series),s&&r.length!==e.yaxis.length&&r.length&&(e.yaxis=r.map((function(n,o){if(n.name||(r[o].name="series-".concat(o+1)),e.yaxis[o])return e.yaxis[o].seriesName=r[o].name,e.yaxis[o];var l=T.extend(a.yAxis,e.yaxis[0]);return l.show=!1,l}))),s&&r.length>1&&r.length!==e.yaxis.length&&console.warn("A multi-series logarithmic chart should have equal number of series and y-axes"),e}},{key:"extendAnnotations",value:function(e){return e.annotations===void 0&&(e.annotations={},e.annotations.yaxis=[],e.annotations.xaxis=[],e.annotations.points=[]),e=this.extendYAxisAnnotations(e),e=this.extendXAxisAnnotations(e),e=this.extendPointAnnotations(e)}},{key:"extendYAxisAnnotations",value:function(e){var t=new _a;return e.annotations.yaxis=T.extendArray(e.annotations.yaxis!==void 0?e.annotations.yaxis:[],t.yAxisAnnotation),e}},{key:"extendXAxisAnnotations",value:function(e){var t=new _a;return e.annotations.xaxis=T.extendArray(e.annotations.xaxis!==void 0?e.annotations.xaxis:[],t.xAxisAnnotation),e}},{key:"extendPointAnnotations",value:function(e){var t=new _a;return e.annotations.points=T.extendArray(e.annotations.points!==void 0?e.annotations.points:[],t.pointAnnotation),e}},{key:"checkForDarkTheme",value:function(e){e.theme&&e.theme.mode==="dark"&&(e.tooltip||(e.tooltip={}),e.tooltip.theme!=="light"&&(e.tooltip.theme="dark"),e.chart.foreColor||(e.chart.foreColor="#f6f7f8"),e.theme.palette||(e.theme.palette="palette4"))}},{key:"handleUserInputErrors",value:function(e){var t=e;if(t.tooltip.shared&&t.tooltip.intersect)throw new Error("tooltip.shared cannot be enabled when tooltip.intersect is true. Turn off any other option by setting it to false.");if(t.chart.type==="bar"&&t.plotOptions.bar.horizontal){if(t.yaxis.length>1)throw new Error("Multiple Y Axis for bars are not supported. Switch to column chart by setting plotOptions.bar.horizontal=false");t.yaxis[0].reversed&&(t.yaxis[0].opposite=!0),t.xaxis.tooltip.enabled=!1,t.yaxis[0].tooltip.enabled=!1,t.chart.zoom.enabled=!1}return t.chart.type!=="bar"&&t.chart.type!=="rangeBar"||t.tooltip.shared&&t.xaxis.crosshairs.width==="barWidth"&&t.series.length>1&&(t.xaxis.crosshairs.width="tickWidth"),t.chart.type!=="candlestick"&&t.chart.type!=="boxPlot"||t.yaxis[0].reversed&&(console.warn("Reversed y-axis in ".concat(t.chart.type," chart is not supported.")),t.yaxis[0].reversed=!1),t}}]),i})(),Ax=(function(){function i(){ee(this,i)}return te(i,[{key:"initGlobalVars",value:function(e){e.series=[],e.seriesCandleO=[],e.seriesCandleH=[],e.seriesCandleM=[],e.seriesCandleL=[],e.seriesCandleC=[],e.seriesRangeStart=[],e.seriesRangeEnd=[],e.seriesRange=[],e.seriesPercent=[],e.seriesGoals=[],e.seriesX=[],e.seriesZ=[],e.seriesNames=[],e.seriesTotals=[],e.seriesLog=[],e.seriesColors=[],e.stackedSeriesTotals=[],e.seriesXvalues=[],e.seriesYvalues=[],e.dataWasParsed=!1,e.originalSeries=null,e.labels=[],e.hasXaxisGroups=!1,e.groups=[],e.barGroups=[],e.lineGroups=[],e.areaGroups=[],e.hasSeriesGroups=!1,e.seriesGroups=[],e.categoryLabels=[],e.timescaleLabels=[],e.noLabelsProvided=!1,e.resizeTimer=null,e.selectionResizeTimer=null,e.lastWheelExecution=0,e.delayedElements=[],e.pointsArray=[],e.dataLabelsRects=[],e.isXNumeric=!1,e.skipLastTimelinelabel=!1,e.skipFirstTimelinelabel=!1,e.isDataXYZ=!1,e.isMultiLineX=!1,e.isMultipleYAxis=!1,e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE,e.minYArr=[],e.maxYArr=[],e.maxX=-Number.MAX_VALUE,e.minX=Number.MAX_VALUE,e.initialMaxX=-Number.MAX_VALUE,e.initialMinX=Number.MAX_VALUE,e.maxDate=0,e.minDate=Number.MAX_VALUE,e.minZ=Number.MAX_VALUE,e.maxZ=-Number.MAX_VALUE,e.minXDiff=Number.MAX_VALUE,e.yAxisScale=[],e.xAxisScale=null,e.xAxisTicksPositions=[],e.yLabelsCoords=[],e.yTitleCoords=[],e.barPadForNumericAxis=0,e.padHorizontal=0,e.xRange=0,e.yRange=[],e.zRange=0,e.dataPoints=0,e.xTickAmount=0,e.multiAxisTickAmount=0}},{key:"globalVars",value:function(e){return{chartID:null,cuid:null,events:{beforeMount:[],mounted:[],updated:[],clicked:[],selection:[],dataPointSelection:[],zoomed:[],scrolled:[]},colors:[],clientX:null,clientY:null,fill:{colors:[]},stroke:{colors:[]},dataLabels:{style:{colors:[]}},radarPolygons:{fill:{colors:[]}},markers:{colors:[],size:e.markers.size,largestSize:0},animationEnded:!1,isTouchDevice:"ontouchstart"in window||navigator.msMaxTouchPoints,isDirty:!1,isExecCalled:!1,initialConfig:null,initialSeries:[],lastXAxis:[],lastYAxis:[],columnSeries:null,labels:[],timescaleLabels:[],noLabelsProvided:!1,allSeriesCollapsed:!1,collapsedSeries:[],collapsedSeriesIndices:[],ancillaryCollapsedSeries:[],ancillaryCollapsedSeriesIndices:[],risingSeries:[],dataFormatXNumeric:!1,capturedSeriesIndex:-1,capturedDataPointIndex:-1,selectedDataPoints:[],invalidLogScale:!1,ignoreYAxisIndexes:[],maxValsInArrayIndex:0,radialSize:0,selection:void 0,zoomEnabled:e.chart.toolbar.autoSelected==="zoom"&&e.chart.toolbar.tools.zoom&&e.chart.zoom.enabled,panEnabled:e.chart.toolbar.autoSelected==="pan"&&e.chart.toolbar.tools.pan,selectionEnabled:e.chart.toolbar.autoSelected==="selection"&&e.chart.toolbar.tools.selection,yaxis:null,mousedown:!1,lastClientPosition:{},visibleXRange:void 0,yValueDecimal:0,total:0,SVGNS:"http://www.w3.org/2000/svg",svgWidth:0,svgHeight:0,noData:!1,locale:{},dom:{},memory:{methodsToExec:[]},shouldAnimate:!0,skipLastTimelinelabel:!1,skipFirstTimelinelabel:!1,delayedElements:[],axisCharts:!0,isDataXYZ:!1,isSlopeChart:e.plotOptions.line.isSlopeChart,resized:!1,resizeTimer:null,comboCharts:!1,dataChanged:!1,previousPaths:[],allSeriesHasEqualX:!0,pointsArray:[],dataLabelsRects:[],lastDrawnDataLabelsIndexes:[],hasNullValues:!1,zoomed:!1,gridWidth:0,gridHeight:0,rotateXLabels:!1,defaultLabels:!1,xLabelFormatter:void 0,yLabelFormatters:[],xaxisTooltipFormatter:void 0,ttKeyFormatter:void 0,ttVal:void 0,ttZFormatter:void 0,LINE_HEIGHT_RATIO:1.618,xAxisLabelsHeight:0,xAxisGroupLabelsHeight:0,xAxisLabelsWidth:0,yAxisLabelsWidth:0,scaleX:1,scaleY:1,translateX:0,translateY:0,translateYAxisX:[],yAxisWidths:[],translateXAxisY:0,translateXAxisX:0,tooltip:null,niceScaleAllowedMagMsd:[[1,1,2,5,5,5,10,10,10,10,10],[1,1,2,5,5,5,10,10,10,10,10]],niceScaleDefaultTicks:[1,2,4,4,6,6,6,6,6,6,6,6,6,6,6,6,6,6,12,12,12,12,12,12,12,12,12,24],seriesYAxisMap:[],seriesYAxisReverseMap:[]}}},{key:"init",value:function(e){var t=this.globalVars(e);return this.initGlobalVars(t),t.initialConfig=T.extend({},e),t.initialSeries=T.clone(e.series),t.lastXAxis=T.clone(t.initialConfig.xaxis),t.lastYAxis=T.clone(t.initialConfig.yaxis),t}}]),i})(),H_=(function(){function i(e){ee(this,i),this.opts=e}return te(i,[{key:"init",value:function(){var e=new Fr(this.opts).init({responsiveOverride:!1});return{config:e,globals:new Ax().init(e)}}}]),i})(),gi=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.opts=null,this.seriesIndex=0,this.patternIDs=[]}return te(i,[{key:"clippedImgArea",value:function(e){var t=this.w,a=t.config,s=parseInt(t.globals.gridWidth,10),r=parseInt(t.globals.gridHeight,10),n=s>r?s:r,o=e.image,l=0,c=0;e.width===void 0&&e.height===void 0?a.fill.image.width!==void 0&&a.fill.image.height!==void 0?(l=a.fill.image.width+1,c=a.fill.image.height):(l=n+1,c=n):(l=e.width,c=e.height);var u=document.createElementNS(t.globals.SVGNS,"pattern");Y.setAttrs(u,{id:e.patternID,patternUnits:e.patternUnits?e.patternUnits:"userSpaceOnUse",width:l+"px",height:c+"px"});var d=document.createElementNS(t.globals.SVGNS,"image");u.appendChild(d),d.setAttributeNS(window.SVG.xlink,"href",o),Y.setAttrs(d,{x:0,y:0,preserveAspectRatio:"none",width:l+"px",height:c+"px"}),d.style.opacity=e.opacity,t.globals.dom.elDefs.node.appendChild(u)}},{key:"getSeriesIndex",value:function(e){var t=this.w,a=t.config.chart.type;return(a==="bar"||a==="rangeBar")&&t.config.plotOptions.bar.distributed||a==="heatmap"||a==="treemap"?this.seriesIndex=e.seriesNumber:this.seriesIndex=e.seriesNumber%t.globals.series.length,this.seriesIndex}},{key:"computeColorStops",value:function(e,t){var a,s=this.w,r=null,n=null,o=nr(e);try{for(o.s();!(a=o.n()).done;){var l=a.value;l>=t.threshold?(r===null||l>r)&&(r=l):(n===null||l<n)&&(n=l)}}catch(d){o.e(d)}finally{o.f()}r===null&&(r=t.threshold),n===null&&(n=t.threshold);var c=r-t.threshold+(t.threshold-n);c===0&&(c=1);var u=100-(t.threshold-n)/c*100;return[{offset:u=Math.max(0,Math.min(u,100)),color:t.colorAboveThreshold,opacity:s.config.fill.opacity},{offset:0,color:t.colorBelowThreshold,opacity:s.config.fill.opacity}]}},{key:"fillPath",value:function(e){var t,a,s,r=this.w;this.opts=e;var n,o,l,c=this.w.config;this.seriesIndex=this.getSeriesIndex(e);var u=c.plotOptions.line.colors.colorAboveThreshold&&c.plotOptions.line.colors.colorBelowThreshold,d=this.getFillColors()[this.seriesIndex];r.globals.seriesColors[this.seriesIndex]!==void 0&&(d=r.globals.seriesColors[this.seriesIndex]),typeof d=="function"&&(d=d({seriesIndex:this.seriesIndex,dataPointIndex:e.dataPointIndex,value:e.value,w:r}));var h,f,g,p=e.fillType?e.fillType:this.getFillType(this.seriesIndex),m=Array.isArray(c.fill.opacity)?c.fill.opacity[this.seriesIndex]:c.fill.opacity,b=p==="gradient"||u;e.color&&(d=e.color),(t=r.config.series[this.seriesIndex])!==null&&t!==void 0&&(a=t.data)!==null&&a!==void 0&&(s=a[e.dataPointIndex])!==null&&s!==void 0&&s.fillColor&&(d=(h=r.config.series[this.seriesIndex])===null||h===void 0||(f=h.data)===null||f===void 0||(g=f[e.dataPointIndex])===null||g===void 0?void 0:g.fillColor),d||(d="#fff",console.warn("undefined color - ApexCharts"));var v=d;if(d.indexOf("rgb")===-1?d.indexOf("#")===-1?v=d:d.length<9&&(v=T.hexToRgba(d,m)):d.indexOf("rgba")>-1?m=T.getOpacityFromRGBA(d):v=T.hexToRgba(T.rgb2hex(d),m),e.opacity&&(m=e.opacity),p==="pattern"&&(o=this.handlePatternFill({fillConfig:e.fillConfig,patternFill:o,fillColor:d,fillOpacity:m,defaultColor:v})),b){var x=ft(c.fill.gradient.colorStops)||[],k=c.fill.gradient.type;u&&(x[this.seriesIndex]=this.computeColorStops(r.globals.series[this.seriesIndex],c.plotOptions.line.colors),k="vertical"),l=this.handleGradientFill({type:k,fillConfig:e.fillConfig,fillColor:d,fillOpacity:m,colorStops:x,i:this.seriesIndex})}if(p==="image"){var y=c.fill.image.src,A=e.patternID?e.patternID:"",w="pattern".concat(r.globals.cuid).concat(e.seriesNumber+1).concat(A);this.patternIDs.indexOf(w)===-1&&(this.clippedImgArea({opacity:m,image:Array.isArray(y)?e.seriesNumber<y.length?y[e.seriesNumber]:y[0]:y,width:e.width?e.width:void 0,height:e.height?e.height:void 0,patternUnits:e.patternUnits,patternID:w}),this.patternIDs.push(w)),n="url(#".concat(w,")")}else n=b?l:p==="pattern"?o:v;return e.solid&&(n=v),n}},{key:"getFillType",value:function(e){var t=this.w;return Array.isArray(t.config.fill.type)?t.config.fill.type[e]:t.config.fill.type}},{key:"getFillColors",value:function(){var e=this.w,t=e.config,a=this.opts,s=[];return e.globals.comboCharts?e.config.series[this.seriesIndex].type==="line"?Array.isArray(e.globals.stroke.colors)?s=e.globals.stroke.colors:s.push(e.globals.stroke.colors):Array.isArray(e.globals.fill.colors)?s=e.globals.fill.colors:s.push(e.globals.fill.colors):t.chart.type==="line"?Array.isArray(e.globals.stroke.colors)?s=e.globals.stroke.colors:s.push(e.globals.stroke.colors):Array.isArray(e.globals.fill.colors)?s=e.globals.fill.colors:s.push(e.globals.fill.colors),a.fillColors!==void 0&&(s=[],Array.isArray(a.fillColors)?s=a.fillColors.slice():s.push(a.fillColors)),s}},{key:"handlePatternFill",value:function(e){var t=e.fillConfig,a=e.patternFill,s=e.fillColor,r=e.fillOpacity,n=e.defaultColor,o=this.w.config.fill;t&&(o=t);var l=this.opts,c=new Y(this.ctx),u=Array.isArray(o.pattern.strokeWidth)?o.pattern.strokeWidth[this.seriesIndex]:o.pattern.strokeWidth,d=s;return Array.isArray(o.pattern.style)?a=o.pattern.style[l.seriesNumber]!==void 0?c.drawPattern(o.pattern.style[l.seriesNumber],o.pattern.width,o.pattern.height,d,u,r):n:a=c.drawPattern(o.pattern.style,o.pattern.width,o.pattern.height,d,u,r),a}},{key:"handleGradientFill",value:function(e){var t=e.type,a=e.fillColor,s=e.fillOpacity,r=e.fillConfig,n=e.colorStops,o=e.i,l=this.w.config.fill;r&&(l=$($({},l),r));var c=this.opts,u=new Y(this.ctx),d=new T;t=t||l.gradient.type;var h,f=a,g=l.gradient.opacityFrom===void 0?s:Array.isArray(l.gradient.opacityFrom)?l.gradient.opacityFrom[o]:l.gradient.opacityFrom;f.indexOf("rgba")>-1&&(g=T.getOpacityFromRGBA(f));var p=l.gradient.opacityTo===void 0?s:Array.isArray(l.gradient.opacityTo)?l.gradient.opacityTo[o]:l.gradient.opacityTo;if(l.gradient.gradientToColors===void 0||l.gradient.gradientToColors.length===0)h=l.gradient.shade==="dark"?d.shadeColor(-1*parseFloat(l.gradient.shadeIntensity),a.indexOf("rgb")>-1?T.rgb2hex(a):a):d.shadeColor(parseFloat(l.gradient.shadeIntensity),a.indexOf("rgb")>-1?T.rgb2hex(a):a);else if(l.gradient.gradientToColors[c.seriesNumber]){var m=l.gradient.gradientToColors[c.seriesNumber];h=m,m.indexOf("rgba")>-1&&(p=T.getOpacityFromRGBA(m))}else h=a;if(l.gradient.gradientFrom&&(f=l.gradient.gradientFrom),l.gradient.gradientTo&&(h=l.gradient.gradientTo),l.gradient.inverseColors){var b=f;f=h,h=b}return f.indexOf("rgb")>-1&&(f=T.rgb2hex(f)),h.indexOf("rgb")>-1&&(h=T.rgb2hex(h)),u.drawGradient(t,f,h,g,p,c.size,l.gradient.stops,n,o)}}]),i})(),Xs=(function(){function i(e,t){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"setGlobalMarkerSize",value:function(){var e=this.w;if(e.globals.markers.size=Array.isArray(e.config.markers.size)?e.config.markers.size:[e.config.markers.size],e.globals.markers.size.length>0){if(e.globals.markers.size.length<e.globals.series.length+1)for(var t=0;t<=e.globals.series.length;t++)e.globals.markers.size[t]===void 0&&e.globals.markers.size.push(e.globals.markers.size[0])}else e.globals.markers.size=e.config.series.map((function(a){return e.config.markers.size}))}},{key:"plotChartMarkers",value:function(e){var t=e.pointsPos,a=e.seriesIndex,s=e.j,r=e.pSize,n=e.alwaysDrawMarker,o=n!==void 0&&n,l=e.isVirtualPoint,c=l!==void 0&&l,u=this.w,d=a,h=t,f=null,g=new Y(this.ctx),p=u.config.markers.discrete&&u.config.markers.discrete.length;if(Array.isArray(h.x))for(var m=0;m<h.x.length;m++){var b=void 0,v=s,x=!T.isNumber(h.y[m]);u.globals.markers.largestSize===0&&u.globals.hasNullValues&&u.globals.series[d][s+1]!==null&&!c&&(x=!0),s===1&&m===0&&(v=0),s===1&&m===1&&(v=1);var k="apexcharts-marker";if(u.config.chart.type!=="line"&&u.config.chart.type!=="area"||u.globals.comboCharts||u.config.tooltip.intersect||(k+=" no-pointer-events"),(Array.isArray(u.config.markers.size)?u.globals.markers.size[a]>0:u.config.markers.size>0)||o||p){x||(k+=" w".concat(T.randomId()));var y=this.getMarkerConfig({cssClass:k,seriesIndex:a,dataPointIndex:v});u.config.series[d].data[v]&&(u.config.series[d].data[v].fillColor&&(y.pointFillColor=u.config.series[d].data[v].fillColor),u.config.series[d].data[v].strokeColor&&(y.pointStrokeColor=u.config.series[d].data[v].strokeColor)),r!==void 0&&(y.pSize=r),(h.x[m]<-u.globals.markers.largestSize||h.x[m]>u.globals.gridWidth+u.globals.markers.largestSize||h.y[m]<-u.globals.markers.largestSize||h.y[m]>u.globals.gridHeight+u.globals.markers.largestSize)&&(y.pSize=0),!x&&((u.globals.markers.size[a]>0||o||p)&&!f&&(f=g.group({class:o||p?"":"apexcharts-series-markers"})).attr("clip-path","url(#gridRectMarkerMask".concat(u.globals.cuid,")")),(b=g.drawMarker(h.x[m],h.y[m],y)).attr("rel",v),b.attr("j",v),b.attr("index",a),b.node.setAttribute("default-marker-size",y.pSize),new bt(this.ctx).setSelectionFilter(b,a,v),this.addEvents(b),f&&f.add(b))}else u.globals.pointsArray[a]===void 0&&(u.globals.pointsArray[a]=[]),u.globals.pointsArray[a].push([h.x[m],h.y[m]])}return f}},{key:"getMarkerConfig",value:function(e){var t=e.cssClass,a=e.seriesIndex,s=e.dataPointIndex,r=s===void 0?null:s,n=e.radius,o=n===void 0?null:n,l=e.size,c=l===void 0?null:l,u=e.strokeWidth,d=u===void 0?null:u,h=this.w,f=this.getMarkerStyle(a),g=c===null?h.globals.markers.size[a]:c,p=h.config.markers;return r!==null&&p.discrete.length&&p.discrete.map((function(m){m.seriesIndex===a&&m.dataPointIndex===r&&(f.pointStrokeColor=m.strokeColor,f.pointFillColor=m.fillColor,g=m.size,f.pointShape=m.shape)})),{pSize:o===null?g:o,pRadius:o!==null?o:p.radius,pointStrokeWidth:d!==null?d:Array.isArray(p.strokeWidth)?p.strokeWidth[a]:p.strokeWidth,pointStrokeColor:f.pointStrokeColor,pointFillColor:f.pointFillColor,shape:f.pointShape||(Array.isArray(p.shape)?p.shape[a]:p.shape),class:t,pointStrokeOpacity:Array.isArray(p.strokeOpacity)?p.strokeOpacity[a]:p.strokeOpacity,pointStrokeDashArray:Array.isArray(p.strokeDashArray)?p.strokeDashArray[a]:p.strokeDashArray,pointFillOpacity:Array.isArray(p.fillOpacity)?p.fillOpacity[a]:p.fillOpacity,seriesIndex:a}}},{key:"addEvents",value:function(e){var t=this.w,a=new Y(this.ctx);e.node.addEventListener("mouseenter",a.pathMouseEnter.bind(this.ctx,e)),e.node.addEventListener("mouseleave",a.pathMouseLeave.bind(this.ctx,e)),e.node.addEventListener("mousedown",a.pathMouseDown.bind(this.ctx,e)),e.node.addEventListener("click",t.config.markers.onClick),e.node.addEventListener("dblclick",t.config.markers.onDblClick),e.node.addEventListener("touchstart",a.pathMouseDown.bind(this.ctx,e),{passive:!0})}},{key:"getMarkerStyle",value:function(e){var t=this.w,a=t.globals.markers.colors,s=t.config.markers.strokeColor||t.config.markers.strokeColors;return{pointStrokeColor:Array.isArray(s)?s[e]:s,pointFillColor:Array.isArray(a)?a[e]:a}}}]),i})(),Sx=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.initialAnim=this.w.config.chart.animations.enabled}return te(i,[{key:"draw",value:function(e,t,a){var s=this.w,r=new Y(this.ctx),n=a.realIndex,o=a.pointsPos,l=a.zRatio,c=a.elParent,u=r.group({class:"apexcharts-series-markers apexcharts-series-".concat(s.config.chart.type)});if(u.attr("clip-path","url(#gridRectMarkerMask".concat(s.globals.cuid,")")),Array.isArray(o.x))for(var d=0;d<o.x.length;d++){var h=t+1,f=!0;t===0&&d===0&&(h=0),t===0&&d===1&&(h=1);var g=s.globals.markers.size[n];if(l!==1/0){var p=s.config.plotOptions.bubble;g=s.globals.seriesZ[n][h],p.zScaling&&(g/=l),p.minBubbleRadius&&g<p.minBubbleRadius&&(g=p.minBubbleRadius),p.maxBubbleRadius&&g>p.maxBubbleRadius&&(g=p.maxBubbleRadius)}var m=o.x[d],b=o.y[d];if(g=g||0,b!==null&&s.globals.series[n][h]!==void 0||(f=!1),f){var v=this.drawPoint(m,b,g,n,h,t);u.add(v)}c.add(u)}}},{key:"drawPoint",value:function(e,t,a,s,r,n){var o=this.w,l=s,c=new js(this.ctx),u=new bt(this.ctx),d=new gi(this.ctx),h=new Xs(this.ctx),f=new Y(this.ctx),g=h.getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:l,dataPointIndex:r,radius:o.config.chart.type==="bubble"||o.globals.comboCharts&&o.config.series[s]&&o.config.series[s].type==="bubble"?a:null}),p=d.fillPath({seriesNumber:s,dataPointIndex:r,color:g.pointFillColor,patternUnits:"objectBoundingBox",value:o.globals.series[s][n]}),m=f.drawMarker(e,t,g);if(o.config.series[l].data[r]&&o.config.series[l].data[r].fillColor&&(p=o.config.series[l].data[r].fillColor),m.attr({fill:p}),o.config.chart.dropShadow.enabled){var b=o.config.chart.dropShadow;u.dropShadow(m,b,s)}if(!this.initialAnim||o.globals.dataChanged||o.globals.resized)o.globals.animationEnded=!0;else{var v=o.config.chart.animations.speed;c.animateMarker(m,v,o.globals.easing,(function(){window.setTimeout((function(){c.animationCompleted(m)}),100)}))}return m.attr({rel:r,j:r,index:s,"default-marker-size":g.pSize}),u.setSelectionFilter(m,s,r),h.addEvents(m),m.node.classList.add("apexcharts-marker"),m}},{key:"centerTextInBubble",value:function(e){var t=this.w;return{y:e+=parseInt(t.config.dataLabels.style.fontSize,10)/4}}}]),i})(),Ls=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"dataLabelsCorrection",value:function(e,t,a,s,r,n,o){var l=this.w,c=!1,u=new Y(this.ctx).getTextRects(a,o),d=u.width,h=u.height;t<0&&(t=0),t>l.globals.gridHeight+h&&(t=l.globals.gridHeight+h/2),l.globals.dataLabelsRects[s]===void 0&&(l.globals.dataLabelsRects[s]=[]),l.globals.dataLabelsRects[s].push({x:e,y:t,width:d,height:h});var f=l.globals.dataLabelsRects[s].length-2,g=l.globals.lastDrawnDataLabelsIndexes[s]!==void 0?l.globals.lastDrawnDataLabelsIndexes[s][l.globals.lastDrawnDataLabelsIndexes[s].length-1]:0;if(l.globals.dataLabelsRects[s][f]!==void 0){var p=l.globals.dataLabelsRects[s][g];(e>p.x+p.width||t>p.y+p.height||t+h<p.y||e+d<p.x)&&(c=!0)}return(r===0||n)&&(c=!0),{x:e,y:t,textRects:u,drawnextLabel:c}}},{key:"drawDataLabel",value:function(e){var t=this,a=e.type,s=e.pos,r=e.i,n=e.j,o=e.isRangeStart,l=e.strokeWidth,c=l===void 0?2:l,u=this.w,d=new Y(this.ctx),h=u.config.dataLabels,f=0,g=0,p=n,m=null;if(u.globals.collapsedSeriesIndices.indexOf(r)!==-1||!h.enabled||!Array.isArray(s.x))return m;m=d.group({class:"apexcharts-data-labels"});for(var b=0;b<s.x.length;b++)if(f=s.x[b]+h.offsetX,g=s.y[b]+h.offsetY+c,!isNaN(f)){n===1&&b===0&&(p=0),n===1&&b===1&&(p=1);var v=u.globals.series[r][p];a==="rangeArea"&&(v=o?u.globals.seriesRangeStart[r][p]:u.globals.seriesRangeEnd[r][p]);var x="",k=function(A){return u.config.dataLabels.formatter(A,{ctx:t.ctx,seriesIndex:r,dataPointIndex:p,w:u})};u.config.chart.type==="bubble"?(x=k(v=u.globals.seriesZ[r][p]),g=s.y[b],g=new Sx(this.ctx).centerTextInBubble(g,r,p).y):v!==void 0&&(x=k(v));var y=u.config.dataLabels.textAnchor;u.globals.isSlopeChart&&(y=p===0?"end":p===u.config.series[r].data.length-1?"start":"middle"),this.plotDataLabelsText({x:f,y:g,text:x,i:r,j:p,parent:m,offsetCorrection:!0,dataLabelsConfig:u.config.dataLabels,textAnchor:y})}return m}},{key:"plotDataLabelsText",value:function(e){var t=this.w,a=new Y(this.ctx),s=e.x,r=e.y,n=e.i,o=e.j,l=e.text,c=e.textAnchor,u=e.fontSize,d=e.parent,h=e.dataLabelsConfig,f=e.color,g=e.alwaysDrawDataLabel,p=e.offsetCorrection,m=e.className,b=null;if(Array.isArray(t.config.dataLabels.enabledOnSeries)&&t.config.dataLabels.enabledOnSeries.indexOf(n)<0)return b;var v={x:s,y:r,drawnextLabel:!0,textRects:null};p&&(v=this.dataLabelsCorrection(s,r,l,n,o,g,parseInt(h.style.fontSize,10))),t.globals.zoomed||(s=v.x,r=v.y),v.textRects&&(s<-20-v.textRects.width||s>t.globals.gridWidth+v.textRects.width+30)&&(l="");var x=t.globals.dataLabels.style.colors[n];((t.config.chart.type==="bar"||t.config.chart.type==="rangeBar")&&t.config.plotOptions.bar.distributed||t.config.dataLabels.distributed)&&(x=t.globals.dataLabels.style.colors[o]),typeof x=="function"&&(x=x({series:t.globals.series,seriesIndex:n,dataPointIndex:o,w:t})),f&&(x=f);var k=h.offsetX,y=h.offsetY;if(t.config.chart.type!=="bar"&&t.config.chart.type!=="rangeBar"||(k=0,y=0),t.globals.isSlopeChart&&(o!==0&&(k=-2*h.offsetX+5),o!==0&&o!==t.config.series[n].data.length-1&&(k=0)),v.drawnextLabel){if(c==="middle"&&s===t.globals.gridWidth&&(c="end"),(b=a.drawText({width:100,height:parseInt(h.style.fontSize,10),x:s+k,y:r+y,foreColor:x,textAnchor:c||h.textAnchor,text:l,fontSize:u||h.style.fontSize,fontFamily:h.style.fontFamily,fontWeight:h.style.fontWeight||"normal"})).attr({class:m||"apexcharts-datalabel",cx:s,cy:r}),h.dropShadow.enabled){var A=h.dropShadow;new bt(this.ctx).dropShadow(b,A)}d.add(b),t.globals.lastDrawnDataLabelsIndexes[n]===void 0&&(t.globals.lastDrawnDataLabelsIndexes[n]=[]),t.globals.lastDrawnDataLabelsIndexes[n].push(o)}return b}},{key:"addBackgroundToDataLabel",value:function(e,t){var a=this.w,s=a.config.dataLabels.background,r=s.padding,n=s.padding/2,o=t.width,l=t.height,c=new Y(this.ctx).drawRect(t.x-r,t.y-n/2,o+2*r,l+n,s.borderRadius,a.config.chart.background!=="transparent"&&a.config.chart.background?a.config.chart.background:"#fff",s.opacity,s.borderWidth,s.borderColor);return s.dropShadow.enabled&&new bt(this.ctx).dropShadow(c,s.dropShadow),c}},{key:"dataLabelsBackground",value:function(){var e=this.w;if(e.config.chart.type!=="bubble")for(var t=e.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels text"),a=0;a<t.length;a++){var s=t[a],r=s.getBBox(),n=null;if(r.width&&r.height&&(n=this.addBackgroundToDataLabel(s,r)),n){s.parentNode.insertBefore(n.node,s);var o=e.config.dataLabels.background.backgroundColor||s.getAttribute("fill");e.config.chart.animations.enabled&&!e.globals.resized&&!e.globals.dataChanged?n.animate().attr({fill:o}):n.attr({fill:o}),s.setAttribute("fill",e.config.dataLabels.background.foreColor)}}}},{key:"bringForward",value:function(){for(var e=this.w,t=e.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels"),a=e.globals.dom.baseEl.querySelector(".apexcharts-plot-series:last-child"),s=0;s<t.length;s++)a&&a.insertBefore(t[s],a.nextSibling)}}]),i})(),Cx=`.apexcharts-flip-y {
|
|
96
|
+
transform: scaleY(-1) translateY(-100%);
|
|
97
|
+
transform-origin: top;
|
|
98
|
+
transform-box: fill-box;
|
|
99
|
+
}
|
|
100
|
+
.apexcharts-flip-x {
|
|
101
|
+
transform: scaleX(-1);
|
|
102
|
+
transform-origin: center;
|
|
103
|
+
transform-box: fill-box;
|
|
104
|
+
}
|
|
105
|
+
.apexcharts-legend {
|
|
106
|
+
display: flex;
|
|
107
|
+
overflow: auto;
|
|
108
|
+
padding: 0 10px;
|
|
109
|
+
}
|
|
110
|
+
.apexcharts-legend.apexcharts-legend-group-horizontal {
|
|
111
|
+
flex-direction: column;
|
|
112
|
+
}
|
|
113
|
+
.apexcharts-legend-group {
|
|
114
|
+
display: flex;
|
|
115
|
+
}
|
|
116
|
+
.apexcharts-legend-group-vertical {
|
|
117
|
+
flex-direction: column-reverse;
|
|
118
|
+
}
|
|
119
|
+
.apexcharts-legend.apx-legend-position-bottom, .apexcharts-legend.apx-legend-position-top {
|
|
120
|
+
flex-wrap: wrap
|
|
121
|
+
}
|
|
122
|
+
.apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {
|
|
123
|
+
flex-direction: column;
|
|
124
|
+
bottom: 0;
|
|
125
|
+
}
|
|
126
|
+
.apexcharts-legend.apx-legend-position-bottom.apexcharts-align-left, .apexcharts-legend.apx-legend-position-top.apexcharts-align-left, .apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {
|
|
127
|
+
justify-content: flex-start;
|
|
128
|
+
align-items: flex-start;
|
|
129
|
+
}
|
|
130
|
+
.apexcharts-legend.apx-legend-position-bottom.apexcharts-align-center, .apexcharts-legend.apx-legend-position-top.apexcharts-align-center {
|
|
131
|
+
justify-content: center;
|
|
132
|
+
align-items: center;
|
|
133
|
+
}
|
|
134
|
+
.apexcharts-legend.apx-legend-position-bottom.apexcharts-align-right, .apexcharts-legend.apx-legend-position-top.apexcharts-align-right {
|
|
135
|
+
justify-content: flex-end;
|
|
136
|
+
align-items: flex-end;
|
|
137
|
+
}
|
|
138
|
+
.apexcharts-legend-series {
|
|
139
|
+
cursor: pointer;
|
|
140
|
+
line-height: normal;
|
|
141
|
+
display: flex;
|
|
142
|
+
align-items: center;
|
|
143
|
+
}
|
|
144
|
+
.apexcharts-legend-text {
|
|
145
|
+
position: relative;
|
|
146
|
+
font-size: 14px;
|
|
147
|
+
}
|
|
148
|
+
.apexcharts-legend-text *, .apexcharts-legend-marker * {
|
|
149
|
+
pointer-events: none;
|
|
150
|
+
}
|
|
151
|
+
.apexcharts-legend-marker {
|
|
152
|
+
position: relative;
|
|
153
|
+
display: flex;
|
|
154
|
+
align-items: center;
|
|
155
|
+
justify-content: center;
|
|
156
|
+
cursor: pointer;
|
|
157
|
+
margin-right: 1px;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.apexcharts-legend-series.apexcharts-no-click {
|
|
161
|
+
cursor: auto;
|
|
162
|
+
}
|
|
163
|
+
.apexcharts-legend .apexcharts-hidden-zero-series, .apexcharts-legend .apexcharts-hidden-null-series {
|
|
164
|
+
display: none !important;
|
|
165
|
+
}
|
|
166
|
+
.apexcharts-inactive-legend {
|
|
167
|
+
opacity: 0.45;
|
|
168
|
+
} `,ri=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.legendInactiveClass="legend-mouseover-inactive"}return te(i,[{key:"getAllSeriesEls",value:function(){return this.w.globals.dom.baseEl.getElementsByClassName("apexcharts-series")}},{key:"getSeriesByName",value:function(e){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner .apexcharts-series[seriesName='".concat(T.escapeString(e),"']"))}},{key:"isSeriesHidden",value:function(e){var t=this.getSeriesByName(e),a=parseInt(t.getAttribute("data:realIndex"),10);return{isHidden:t.classList.contains("apexcharts-series-collapsed"),realIndex:a}}},{key:"addCollapsedClassToSeries",value:function(e,t){var a=this.w;function s(r){for(var n=0;n<r.length;n++)r[n].index===t&&e.node.classList.add("apexcharts-series-collapsed")}s(a.globals.collapsedSeries),s(a.globals.ancillaryCollapsedSeries)}},{key:"toggleSeries",value:function(e){var t=this.isSeriesHidden(e);return this.ctx.legend.legendHelpers.toggleDataSeries(t.realIndex,t.isHidden),t.isHidden}},{key:"showSeries",value:function(e){var t=this.isSeriesHidden(e);t.isHidden&&this.ctx.legend.legendHelpers.toggleDataSeries(t.realIndex,!0)}},{key:"hideSeries",value:function(e){var t=this.isSeriesHidden(e);t.isHidden||this.ctx.legend.legendHelpers.toggleDataSeries(t.realIndex,!1)}},{key:"resetSeries",value:function(){var e=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],s=this.w,r=T.clone(s.globals.initialSeries);s.globals.previousPaths=[],a?(s.globals.collapsedSeries=[],s.globals.ancillaryCollapsedSeries=[],s.globals.collapsedSeriesIndices=[],s.globals.ancillaryCollapsedSeriesIndices=[]):r=this.emptyCollapsedSeries(r),s.config.series=r,e&&(t&&(s.globals.zoomed=!1,this.ctx.updateHelpers.revertDefaultAxisMinMax()),this.ctx.updateHelpers._updateSeries(r,s.config.chart.animations.dynamicAnimation.enabled))}},{key:"emptyCollapsedSeries",value:function(e){for(var t=this.w,a=0;a<e.length;a++)t.globals.collapsedSeriesIndices.indexOf(a)>-1&&(e[a].data=[]);return e}},{key:"highlightSeries",value:function(e){var t=this.w,a=this.getSeriesByName(e),s=parseInt(a==null?void 0:a.getAttribute("data:realIndex"),10),r=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series, .apexcharts-datalabels, .apexcharts-yaxis"),n=null,o=null,l=null;if(t.globals.axisCharts||t.config.chart.type==="radialBar")if(t.globals.axisCharts){n=t.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(s,"']")),o=t.globals.dom.baseEl.querySelector(".apexcharts-datalabels[data\\:realIndex='".concat(s,"']"));var c=t.globals.seriesYAxisReverseMap[s];l=t.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(c,"']"))}else n=t.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(s+1,"']"));else n=t.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(s+1,"'] path"));for(var u=0;u<r.length;u++)r[u].classList.add(this.legendInactiveClass);if(n)t.globals.axisCharts||n.parentNode.classList.remove(this.legendInactiveClass),n.classList.remove(this.legendInactiveClass),o!==null&&o.classList.remove(this.legendInactiveClass),l!==null&&l.classList.remove(this.legendInactiveClass);else for(var d=0;d<r.length;d++)r[d].classList.remove(this.legendInactiveClass)}},{key:"toggleSeriesOnHover",value:function(e,t){var a=this.w;t||(t=e.target);var s=a.globals.dom.baseEl.querySelectorAll(".apexcharts-series, .apexcharts-datalabels, .apexcharts-yaxis");if(e.type==="mousemove"){var r=parseInt(t.getAttribute("rel"),10)-1;this.highlightSeries(a.globals.seriesNames[r])}else if(e.type==="mouseout")for(var n=0;n<s.length;n++)s[n].classList.remove(this.legendInactiveClass)}},{key:"highlightRangeInSeries",value:function(e,t){var a=this,s=this.w,r=s.globals.dom.baseEl.getElementsByClassName("apexcharts-heatmap-rect"),n=function(c){for(var u=0;u<r.length;u++)r[u].classList[c](a.legendInactiveClass)};if(e.type==="mousemove"){var o=parseInt(t.getAttribute("rel"),10)-1;n("add");var l=s.config.plotOptions.heatmap.colorScale.ranges;(function(c,u){for(var d=0;d<r.length;d++){var h=Number(r[d].getAttribute("val"));h>=c.from&&(h<c.to||c.to===u&&h===u)&&r[d].classList.remove(a.legendInactiveClass)}})(l[o],l.reduce((function(c,u){return Math.max(c,u.to)}),0))}else e.type==="mouseout"&&n("remove")}},{key:"getActiveConfigSeriesIndex",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"asc",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],a=this.w,s=0;if(a.config.series.length>1){for(var r=a.config.series.map((function(o,l){return o.data&&o.data.length>0&&a.globals.collapsedSeriesIndices.indexOf(l)===-1&&(!a.globals.comboCharts||t.length===0||t.length&&t.indexOf(a.config.series[l].type)>-1)?l:-1})),n=e==="asc"?0:r.length-1;e==="asc"?n<r.length:n>=0;e==="asc"?n++:n--)if(r[n]!==-1){s=r[n];break}}return s}},{key:"getBarSeriesIndices",value:function(){return this.w.globals.comboCharts?this.w.config.series.map((function(e,t){return e.type==="bar"||e.type==="column"?t:-1})).filter((function(e){return e!==-1})):this.w.config.series.map((function(e,t){return t}))}},{key:"getPreviousPaths",value:function(){var e=this.w;function t(n,o,l){for(var c=n[o].childNodes,u={type:l,paths:[],realIndex:n[o].getAttribute("data:realIndex")},d=0;d<c.length;d++)if(c[d].hasAttribute("pathTo")){var h=c[d].getAttribute("pathTo");u.paths.push({d:h})}e.globals.previousPaths.push(u)}e.globals.previousPaths=[],["line","area","bar","rangebar","rangeArea","candlestick","radar"].forEach((function(n){for(var o,l=(o=n,e.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(o,"-series .apexcharts-series"))),c=0;c<l.length;c++)t(l,c,n)}));var a=e.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(e.config.chart.type," .apexcharts-series"));if(a.length>0)for(var s=function(n){for(var o=e.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(e.config.chart.type," .apexcharts-series[data\\:realIndex='").concat(n,"'] rect")),l=[],c=function(d){var h=function(g){return o[d].getAttribute(g)},f={x:parseFloat(h("x")),y:parseFloat(h("y")),width:parseFloat(h("width")),height:parseFloat(h("height"))};l.push({rect:f,color:o[d].getAttribute("color")})},u=0;u<o.length;u++)c(u);e.globals.previousPaths.push(l)},r=0;r<a.length;r++)s(r);e.globals.axisCharts||(e.globals.previousPaths=e.globals.series)}},{key:"clearPreviousPaths",value:function(){var e=this.w;e.globals.previousPaths=[],e.globals.allSeriesCollapsed=!1}},{key:"handleNoData",value:function(){var e=this.w,t=e.config.noData,a=new Y(this.ctx),s=e.globals.svgWidth/2,r=e.globals.svgHeight/2,n="middle";if(e.globals.noData=!0,e.globals.animationEnded=!0,t.align==="left"?(s=10,n="start"):t.align==="right"&&(s=e.globals.svgWidth-10,n="end"),t.verticalAlign==="top"?r=50:t.verticalAlign==="bottom"&&(r=e.globals.svgHeight-50),s+=t.offsetX,r=r+parseInt(t.style.fontSize,10)+2+t.offsetY,t.text!==void 0&&t.text!==""){var o=a.drawText({x:s,y:r,text:t.text,textAnchor:n,fontSize:t.style.fontSize,fontFamily:t.style.fontFamily,foreColor:t.style.color,opacity:1,class:"apexcharts-text-nodata"});e.globals.dom.Paper.add(o)}}},{key:"setNullSeriesToZeroValues",value:function(e){for(var t=this.w,a=0;a<e.length;a++)if(e[a].length===0)for(var s=0;s<e[t.globals.maxValsInArrayIndex].length;s++)e[a].push(0);return e}},{key:"hasAllSeriesEqualX",value:function(){for(var e=!0,t=this.w,a=this.filteredSeriesX(),s=0;s<a.length-1;s++)if(a[s][0]!==a[s+1][0]){e=!1;break}return t.globals.allSeriesHasEqualX=e,e}},{key:"filteredSeriesX",value:function(){var e=this.w.globals.seriesX.map((function(t){return t.length>0?t:[]}));return e}}]),i})(),Md=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.twoDSeries=[],this.threeDSeries=[],this.twoDSeriesX=[],this.seriesGoals=[],this.coreUtils=new rt(this.ctx)}return te(i,[{key:"isMultiFormat",value:function(){return this.isFormatXY()||this.isFormat2DArray()}},{key:"isFormatXY",value:function(){var e=this.w.config.series.slice(),t=new ri(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),e[this.activeSeriesIndex].data!==void 0&&e[this.activeSeriesIndex].data.length>0&&e[this.activeSeriesIndex].data[0]!==null&&e[this.activeSeriesIndex].data[0].x!==void 0&&e[this.activeSeriesIndex].data[0]!==null)return!0}},{key:"isFormat2DArray",value:function(){var e=this.w.config.series.slice(),t=new ri(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),e[this.activeSeriesIndex].data!==void 0&&e[this.activeSeriesIndex].data.length>0&&e[this.activeSeriesIndex].data[0]!==void 0&&e[this.activeSeriesIndex].data[0]!==null&&e[this.activeSeriesIndex].data[0].constructor===Array)return!0}},{key:"handleFormat2DArray",value:function(e,t){for(var a=this.w.config,s=this.w.globals,r=a.chart.type==="boxPlot"||a.series[t].type==="boxPlot",n=0;n<e[t].data.length;n++)if(e[t].data[n][1]!==void 0&&(Array.isArray(e[t].data[n][1])&&e[t].data[n][1].length===4&&!r?this.twoDSeries.push(T.parseNumber(e[t].data[n][1][3])):e[t].data[n].length>=5?this.twoDSeries.push(T.parseNumber(e[t].data[n][4])):this.twoDSeries.push(T.parseNumber(e[t].data[n][1])),s.dataFormatXNumeric=!0),a.xaxis.type==="datetime"){var o=new Date(e[t].data[n][0]);o=new Date(o).getTime(),this.twoDSeriesX.push(o)}else this.twoDSeriesX.push(e[t].data[n][0]);for(var l=0;l<e[t].data.length;l++)e[t].data[l][2]!==void 0&&(this.threeDSeries.push(e[t].data[l][2]),s.isDataXYZ=!0)}},{key:"handleFormatXY",value:function(e,t){var a=this.w.config,s=this.w.globals,r=new pt(this.ctx),n=t;s.collapsedSeriesIndices.indexOf(t)>-1&&(n=this.activeSeriesIndex);for(var o=0;o<e[t].data.length;o++)e[t].data[o].y!==void 0&&(Array.isArray(e[t].data[o].y)?this.twoDSeries.push(T.parseNumber(e[t].data[o].y[e[t].data[o].y.length-1])):this.twoDSeries.push(T.parseNumber(e[t].data[o].y))),e[t].data[o].goals!==void 0&&Array.isArray(e[t].data[o].goals)?(this.seriesGoals[t]===void 0&&(this.seriesGoals[t]=[]),this.seriesGoals[t].push(e[t].data[o].goals)):(this.seriesGoals[t]===void 0&&(this.seriesGoals[t]=[]),this.seriesGoals[t].push(null));for(var l=0;l<e[n].data.length;l++){var c=typeof e[n].data[l].x=="string",u=Array.isArray(e[n].data[l].x),d=!u&&!!r.isValidDate(e[n].data[l].x);if(c||d)if(c||a.xaxis.convertedCatToNumeric){var h=s.isBarHorizontal&&s.isRangeData;a.xaxis.type!=="datetime"||h?(this.fallbackToCategory=!0,this.twoDSeriesX.push(e[n].data[l].x),isNaN(e[n].data[l].x)||this.w.config.xaxis.type==="category"||typeof e[n].data[l].x=="string"||(s.isXNumeric=!0)):this.twoDSeriesX.push(r.parseDate(e[n].data[l].x))}else a.xaxis.type==="datetime"?this.twoDSeriesX.push(r.parseDate(e[n].data[l].x.toString())):(s.dataFormatXNumeric=!0,s.isXNumeric=!0,this.twoDSeriesX.push(parseFloat(e[n].data[l].x)));else u?(this.fallbackToCategory=!0,this.twoDSeriesX.push(e[n].data[l].x)):(s.isXNumeric=!0,s.dataFormatXNumeric=!0,this.twoDSeriesX.push(e[n].data[l].x))}if(e[t].data[0]&&e[t].data[0].z!==void 0){for(var f=0;f<e[t].data.length;f++)this.threeDSeries.push(e[t].data[f].z);s.isDataXYZ=!0}}},{key:"handleRangeData",value:function(e,t){var a=this.w.globals,s={};return this.isFormat2DArray()?s=this.handleRangeDataFormat("array",e,t):this.isFormatXY()&&(s=this.handleRangeDataFormat("xy",e,t)),a.seriesRangeStart[t]=s.start===void 0?[]:s.start,a.seriesRangeEnd[t]=s.end===void 0?[]:s.end,a.seriesRange[t]=s.rangeUniques,a.seriesRange.forEach((function(r,n){r&&r.forEach((function(o,l){o.y.forEach((function(c,u){for(var d=0;d<o.y.length;d++)if(u!==d){var h=c.y1,f=c.y2,g=o.y[d].y1;h<=o.y[d].y2&&g<=f&&(o.overlaps.indexOf(c.rangeName)<0&&o.overlaps.push(c.rangeName),o.overlaps.indexOf(o.y[d].rangeName)<0&&o.overlaps.push(o.y[d].rangeName))}}))}))})),s}},{key:"handleCandleStickBoxData",value:function(e,t){var a=this.w.globals,s={};return this.isFormat2DArray()?s=this.handleCandleStickBoxDataFormat("array",e,t):this.isFormatXY()&&(s=this.handleCandleStickBoxDataFormat("xy",e,t)),a.seriesCandleO[t]=s.o,a.seriesCandleH[t]=s.h,a.seriesCandleM[t]=s.m,a.seriesCandleL[t]=s.l,a.seriesCandleC[t]=s.c,s}},{key:"handleRangeDataFormat",value:function(e,t,a){var s=[],r=[],n=t[a].data.filter((function(u,d,h){return d===h.findIndex((function(f){return f.x===u.x}))})).map((function(u,d){return{x:u.x,overlaps:[],y:[]}}));if(e==="array")for(var o=0;o<t[a].data.length;o++)Array.isArray(t[a].data[o])?(s.push(t[a].data[o][1][0]),r.push(t[a].data[o][1][1])):(s.push(t[a].data[o]),r.push(t[a].data[o]));else if(e==="xy")for(var l=function(u){var d=Array.isArray(t[a].data[u].y),h=T.randomId(),f=t[a].data[u].x,g={y1:d?t[a].data[u].y[0]:t[a].data[u].y,y2:d?t[a].data[u].y[1]:t[a].data[u].y,rangeName:h};t[a].data[u].rangeName=h;var p=n.findIndex((function(m){return m.x===f}));n[p].y.push(g),s.push(g.y1),r.push(g.y2)},c=0;c<t[a].data.length;c++)l(c);return{start:s,end:r,rangeUniques:n}}},{key:"handleCandleStickBoxDataFormat",value:function(e,t,a){var s=this.w,r=s.config.chart.type==="boxPlot"||s.config.series[a].type==="boxPlot",n=[],o=[],l=[],c=[],u=[];if(e==="array")if(r&&t[a].data[0].length===6||!r&&t[a].data[0].length===5)for(var d=0;d<t[a].data.length;d++)n.push(t[a].data[d][1]),o.push(t[a].data[d][2]),r?(l.push(t[a].data[d][3]),c.push(t[a].data[d][4]),u.push(t[a].data[d][5])):(c.push(t[a].data[d][3]),u.push(t[a].data[d][4]));else for(var h=0;h<t[a].data.length;h++)Array.isArray(t[a].data[h][1])&&(n.push(t[a].data[h][1][0]),o.push(t[a].data[h][1][1]),r?(l.push(t[a].data[h][1][2]),c.push(t[a].data[h][1][3]),u.push(t[a].data[h][1][4])):(c.push(t[a].data[h][1][2]),u.push(t[a].data[h][1][3])));else if(e==="xy")for(var f=0;f<t[a].data.length;f++)Array.isArray(t[a].data[f].y)&&(n.push(t[a].data[f].y[0]),o.push(t[a].data[f].y[1]),r?(l.push(t[a].data[f].y[2]),c.push(t[a].data[f].y[3]),u.push(t[a].data[f].y[4])):(c.push(t[a].data[f].y[2]),u.push(t[a].data[f].y[3])));return{o:n,h:o,m:l,l:c,c:u}}},{key:"parseDataAxisCharts",value:function(e){var t=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.ctx,s=this.w.config,r=this.w.globals,n=new pt(a),o=s.labels.length>0?s.labels.slice():s.xaxis.categories.slice();r.isRangeBar=s.chart.type==="rangeBar"&&r.isBarHorizontal,r.hasXaxisGroups=s.xaxis.type==="category"&&s.xaxis.group.groups.length>0,r.hasXaxisGroups&&(r.groups=s.xaxis.group.groups),e.forEach((function(f,g){f.name!==void 0?r.seriesNames.push(f.name):r.seriesNames.push("series-"+parseInt(g+1,10))})),this.coreUtils.setSeriesYAxisMappings();var l=[],c=ft(new Set(s.series.map((function(f){return f.group}))));s.series.forEach((function(f,g){var p=c.indexOf(f.group);l[p]||(l[p]=[]),l[p].push(r.seriesNames[g])})),r.seriesGroups=l;for(var u=function(){for(var f=0;f<o.length;f++)if(typeof o[f]=="string"){if(!n.isValidDate(o[f]))throw new Error("You have provided invalid Date format. Please provide a valid JavaScript Date");t.twoDSeriesX.push(n.parseDate(o[f]))}else t.twoDSeriesX.push(o[f])},d=0;d<e.length;d++){if(this.twoDSeries=[],this.twoDSeriesX=[],this.threeDSeries=[],e[d].data===void 0)return void console.error("It is a possibility that you may have not included 'data' property in series.");if(s.chart.type!=="rangeBar"&&s.chart.type!=="rangeArea"&&e[d].type!=="rangeBar"&&e[d].type!=="rangeArea"||(r.isRangeData=!0,this.handleRangeData(e,d)),this.isMultiFormat())this.isFormat2DArray()?this.handleFormat2DArray(e,d):this.isFormatXY()&&this.handleFormatXY(e,d),s.chart.type!=="candlestick"&&e[d].type!=="candlestick"&&s.chart.type!=="boxPlot"&&e[d].type!=="boxPlot"||this.handleCandleStickBoxData(e,d),r.series.push(this.twoDSeries),r.labels.push(this.twoDSeriesX),r.seriesX.push(this.twoDSeriesX),r.seriesGoals=this.seriesGoals,d!==this.activeSeriesIndex||this.fallbackToCategory||(r.isXNumeric=!0);else{s.xaxis.type==="datetime"?(r.isXNumeric=!0,u(),r.seriesX.push(this.twoDSeriesX)):s.xaxis.type==="numeric"&&(r.isXNumeric=!0,o.length>0&&(this.twoDSeriesX=o,r.seriesX.push(this.twoDSeriesX))),r.labels.push(this.twoDSeriesX);var h=e[d].data.map((function(f){return T.parseNumber(f)}));r.series.push(h)}r.seriesZ.push(this.threeDSeries),e[d].color!==void 0?r.seriesColors.push(e[d].color):r.seriesColors.push(void 0)}return this.w}},{key:"parseDataNonAxisCharts",value:function(e){var t=this.w.globals,a=this.w.config,s=Array.isArray(e)&&e.every((function(u){return typeof u=="number"}))&&a.labels.length>0,r=Array.isArray(e)&&e.some((function(u){return u&&Tt(u)==="object"&&u.data||u&&Tt(u)==="object"&&u.parsing}));if(s&&r&&console.warn("ApexCharts: Both old format (numeric series + labels) and new format (series objects with data/parsing) detected. Using old format for backward compatibility."),s){t.series=e.slice(),t.seriesNames=a.labels.slice();for(var n=0;n<t.series.length;n++)t.seriesNames[n]===void 0&&t.seriesNames.push("series-"+(n+1));return this.w}if(Array.isArray(e)&&e.every((function(u){return typeof u=="number"}))){t.series=e.slice(),t.seriesNames=[];for(var o=0;o<t.series.length;o++)t.seriesNames.push(a.labels[o]||"series-".concat(o+1));return this.w}var l=this.extractPieDataFromSeries(e);t.series=l.values,t.seriesNames=l.labels,a.chart.type==="radialBar"&&(t.series=t.series.map((function(u){var d=T.parseNumber(u);return d>100&&console.warn("ApexCharts: RadialBar value ".concat(d," > 100, consider using percentage values (0-100)")),d})));for(var c=0;c<t.series.length;c++)t.seriesNames[c]===void 0&&t.seriesNames.push("series-"+(c+1));return this.w}},{key:"resetParsingFlags",value:function(){var e=this.w;e.globals.dataWasParsed=!1,e.globals.originalSeries=null,e.config.series&&e.config.series.forEach((function(t){t.__apexParsed&&delete t.__apexParsed}))}},{key:"extractPieDataFromSeries",value:function(e){var t=[],a=[];if(!Array.isArray(e))return console.warn("ApexCharts: Expected array for series data"),{values:[],labels:[]};if(e.length===0)return console.warn("ApexCharts: Empty series array"),{values:[],labels:[]};var s=e[0];return Tt(s)==="object"&&s!==null&&s.data?(this.extractPieDataFromSeriesObjects(e,t,a),{values:t,labels:a}):(console.warn("ApexCharts: Unsupported series format for pie/donut/radialBar. Expected series objects with data property."),{values:[],labels:[]})}},{key:"extractPieDataFromSeriesObjects",value:function(e,t,a){e.forEach((function(s,r){s.data&&Array.isArray(s.data)?s.data.forEach((function(n){Tt(n)==="object"&&n!==null?n.x!==void 0&&n.y!==void 0?(a.push(String(n.x)),t.push(T.parseNumber(n.y))):console.warn("ApexCharts: Invalid data point format for pie chart. Expected {x, y} format:",n):console.warn("ApexCharts: Expected object data point, got:",Tt(n))})):console.warn("ApexCharts: Series ".concat(r," has no valid data array"))}))}},{key:"handleExternalLabelsData",value:function(e){var t=this.w.config,a=this.w.globals;t.xaxis.categories.length>0?a.labels=t.xaxis.categories:t.labels.length>0?a.labels=t.labels.slice():this.fallbackToCategory?(a.labels=a.labels[0],a.seriesRange.length&&(a.seriesRange.map((function(s){s.forEach((function(r){a.labels.indexOf(r.x)<0&&r.x&&a.labels.push(r.x)}))})),a.labels=Array.from(new Set(a.labels.map(JSON.stringify)),JSON.parse)),t.xaxis.convertedCatToNumeric&&(new Or(t).convertCatToNumericXaxis(t,this.ctx,a.seriesX[0]),this._generateExternalLabels(e))):this._generateExternalLabels(e)}},{key:"_generateExternalLabels",value:function(e){var t=this.w.globals,a=this.w.config,s=[];if(t.axisCharts){if(t.series.length>0)if(this.isFormatXY())for(var r=a.series.map((function(d,h){return d.data.filter((function(f,g,p){return p.findIndex((function(m){return m.x===f.x}))===g}))})),n=r.reduce((function(d,h,f,g){return g[d].length>h.length?d:f}),0),o=0;o<r[n].length;o++)s.push(o+1);else for(var l=0;l<t.series[t.maxValsInArrayIndex].length;l++)s.push(l+1);t.seriesX=[];for(var c=0;c<e.length;c++)t.seriesX.push(s);this.w.globals.isBarHorizontal||(t.isXNumeric=!0)}if(s.length===0){s=t.axisCharts?[]:t.series.map((function(d,h){return h+1}));for(var u=0;u<e.length;u++)t.seriesX.push(s)}t.labels=s,a.xaxis.convertedCatToNumeric&&(t.categoryLabels=s.map((function(d){return a.xaxis.labels.formatter(d)}))),t.noLabelsProvided=!0}},{key:"parseRawDataIfNeeded",value:function(e){var t=this,a=this.w.config,s=this.w.globals,r=a.parsing;if(s.dataWasParsed||!r&&!e.some((function(o){return o.parsing})))return e;var n=e.map((function(o,l){var c,u,d;if(!o.data||!Array.isArray(o.data)||o.data.length===0)return o;var h={x:((c=o.parsing)===null||c===void 0?void 0:c.x)||(r==null?void 0:r.x),y:((u=o.parsing)===null||u===void 0?void 0:u.y)||(r==null?void 0:r.y),z:((d=o.parsing)===null||d===void 0?void 0:d.z)||(r==null?void 0:r.z)};if(!h.x&&!h.y)return o;var f=o.data[0];if(Tt(f)==="object"&&f!==null&&(f.hasOwnProperty("x")||f.hasOwnProperty("y"))||Array.isArray(f))return o;if(!h.x||!h.y||Array.isArray(h.y)&&h.y.length===0)return console.warn("ApexCharts: Series ".concat(l," has parsing config but missing x or y field specification")),o;var g=o.data.map((function(p,m){if(Tt(p)!=="object"||p===null)return console.warn("ApexCharts: Series ".concat(l,", data point ").concat(m," is not an object, skipping parsing")),p;var b,v=t.getNestedValue(p,h.x),x=void 0;if(Array.isArray(h.y)){var k=h.y.map((function(w){return t.getNestedValue(p,w)}));b=t.w.config.chart.type==="bubble"&&k.length===2?k[0]:k}else b=t.getNestedValue(p,h.y);h.z&&(x=t.getNestedValue(p,h.z)),v===void 0&&console.warn("ApexCharts: Series ".concat(l,", data point ").concat(m," missing field '").concat(h.x,"'")),b===void 0&&console.warn("ApexCharts: Series ".concat(l,", data point ").concat(m," missing field '").concat(h.y,"'"));var y={x:v,y:b};if(t.w.config.chart.type==="bubble"&&Array.isArray(h.y)&&h.y.length===2){var A=t.getNestedValue(p,h.y[1]);A!==void 0&&(y.z=A)}return x!==void 0&&(y.z=x),y}));return $($({},o),{},{data:g,__apexParsed:!0})}));return s.dataWasParsed=!0,s.originalSeries||(s.originalSeries=T.clone(e)),n}},{key:"getNestedValue",value:function(e,t){if(e&&Tt(e)==="object"&&t){if(t.indexOf(".")===-1)return e[t];for(var a=t.split("."),s=e,r=0;r<a.length;r++){if(s==null||Tt(s)!=="object")return;s=s[a[r]]}return s}}},{key:"parseData",value:function(e){var t=this.w,a=t.config,s=t.globals;if(e=this.parseRawDataIfNeeded(e),a.series=e,s.initialSeries=T.clone(e),this.excludeCollapsedSeriesInYAxis(),this.fallbackToCategory=!1,this.ctx.core.resetGlobals(),this.ctx.core.isMultipleY(),s.axisCharts?(this.parseDataAxisCharts(e),this.coreUtils.getLargestSeries()):this.parseDataNonAxisCharts(e),a.chart.stacked){var r=new ri(this.ctx);s.series=r.setNullSeriesToZeroValues(s.series)}this.coreUtils.getSeriesTotals(),s.axisCharts&&(s.stackedSeriesTotals=this.coreUtils.getStackedSeriesTotals(),s.stackedSeriesTotalsByGroups=this.coreUtils.getStackedSeriesTotalsByGroups()),this.coreUtils.getPercentSeries(),s.dataFormatXNumeric||s.isXNumeric&&(a.xaxis.type!=="numeric"||a.labels.length!==0||a.xaxis.categories.length!==0)||this.handleExternalLabelsData(e);for(var n=this.coreUtils.getCategoryLabels(s.labels),o=0;o<n.length;o++)if(Array.isArray(n[o])){s.isMultiLineX=!0;break}}},{key:"excludeCollapsedSeriesInYAxis",value:function(){var e=this.w,t=[];e.globals.seriesYAxisMap.forEach((function(a,s){var r=0;a.forEach((function(n){e.globals.collapsedSeriesIndices.indexOf(n)!==-1&&r++})),r>0&&r==a.length&&t.push(s)})),e.globals.ignoreYAxisIndexes=t.map((function(a){return a}))}}]),i})(),vr=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"svgStringToNode",value:function(e){return new DOMParser().parseFromString(e,"image/svg+xml").documentElement}},{key:"scaleSvgNode",value:function(e,t){var a=parseFloat(e.getAttributeNS(null,"width")),s=parseFloat(e.getAttributeNS(null,"height"));e.setAttributeNS(null,"width",a*t),e.setAttributeNS(null,"height",s*t),e.setAttributeNS(null,"viewBox","0 0 "+a+" "+s)}},{key:"getSvgString",value:function(e){var t=this;return new Promise((function(a){var s=t.w,r=e||s.config.chart.toolbar.export.scale||s.config.chart.toolbar.export.width/s.globals.svgWidth;r||(r=1);var n=s.globals.svgWidth*r,o=s.globals.svgHeight*r,l=s.globals.dom.elWrap.cloneNode(!0);l.style.width=n+"px",l.style.height=o+"px";var c=new XMLSerializer().serializeToString(l),u=`
|
|
169
|
+
.apexcharts-tooltip, .apexcharts-toolbar, .apexcharts-xaxistooltip, .apexcharts-yaxistooltip, .apexcharts-xcrosshairs, .apexcharts-ycrosshairs, .apexcharts-zoom-rect, .apexcharts-selection-rect {
|
|
170
|
+
display: none;
|
|
171
|
+
}
|
|
172
|
+
`;s.config.legend.show&&s.globals.dom.elLegendWrap&&s.globals.dom.elLegendWrap.children.length>0&&(u+=Cx);var d=`
|
|
173
|
+
<svg xmlns="http://www.w3.org/2000/svg"
|
|
174
|
+
version="1.1"
|
|
175
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
176
|
+
class="apexcharts-svg"
|
|
177
|
+
xmlns:data="ApexChartsNS"
|
|
178
|
+
transform="translate(0, 0)"
|
|
179
|
+
width="`.concat(s.globals.svgWidth,'px" height="').concat(s.globals.svgHeight,`px">
|
|
180
|
+
<foreignObject width="100%" height="100%">
|
|
181
|
+
<div xmlns="http://www.w3.org/1999/xhtml" style="width:`).concat(n,"px; height:").concat(o,`px;">
|
|
182
|
+
<style type="text/css">
|
|
183
|
+
`).concat(u,`
|
|
184
|
+
</style>
|
|
185
|
+
`).concat(c,`
|
|
186
|
+
</div>
|
|
187
|
+
</foreignObject>
|
|
188
|
+
</svg>
|
|
189
|
+
`),h=t.svgStringToNode(d);r!==1&&t.scaleSvgNode(h,r),t.convertImagesToBase64(h).then((function(){d=new XMLSerializer().serializeToString(h),a(d.replace(/ /g," "))}))}))}},{key:"convertImagesToBase64",value:function(e){var t=this,a=e.getElementsByTagName("image"),s=Array.from(a).map((function(r){var n=r.getAttributeNS("http://www.w3.org/1999/xlink","href");return n&&!n.startsWith("data:")?t.getBase64FromUrl(n).then((function(o){r.setAttributeNS("http://www.w3.org/1999/xlink","href",o)})).catch((function(o){console.error("Error converting image to base64:",o)})):Promise.resolve()}));return Promise.all(s)}},{key:"getBase64FromUrl",value:function(e){return new Promise((function(t,a){var s=new Image;s.crossOrigin="Anonymous",s.onload=function(){var r=document.createElement("canvas");r.width=s.width,r.height=s.height,r.getContext("2d").drawImage(s,0,0),t(r.toDataURL())},s.onerror=a,s.src=e}))}},{key:"svgUrl",value:function(){var e=this;return new Promise((function(t){e.getSvgString().then((function(a){var s=new Blob([a],{type:"image/svg+xml;charset=utf-8"});t(URL.createObjectURL(s))}))}))}},{key:"dataURI",value:function(e){var t=this;return new Promise((function(a){var s=t.w,r=e?e.scale||e.width/s.globals.svgWidth:1,n=document.createElement("canvas");n.width=s.globals.svgWidth*r,n.height=parseInt(s.globals.dom.elWrap.style.height,10)*r;var o=s.config.chart.background!=="transparent"&&s.config.chart.background?s.config.chart.background:"#fff",l=n.getContext("2d");l.fillStyle=o,l.fillRect(0,0,n.width*r,n.height*r),t.getSvgString(r).then((function(c){var u="data:image/svg+xml,"+encodeURIComponent(c),d=new Image;d.crossOrigin="anonymous",d.onload=function(){if(l.drawImage(d,0,0),n.msToBlob){var h=n.msToBlob();a({blob:h})}else{var f=n.toDataURL("image/png");a({imgURI:f})}},d.src=u}))}))}},{key:"exportToSVG",value:function(){var e=this;this.svgUrl().then((function(t){e.triggerDownload(t,e.w.config.chart.toolbar.export.svg.filename,".svg")}))}},{key:"exportToPng",value:function(){var e=this,t=this.w.config.chart.toolbar.export.scale,a=this.w.config.chart.toolbar.export.width,s=t?{scale:t}:a?{width:a}:void 0;this.dataURI(s).then((function(r){var n=r.imgURI,o=r.blob;o?navigator.msSaveOrOpenBlob(o,e.w.globals.chartID+".png"):e.triggerDownload(n,e.w.config.chart.toolbar.export.png.filename,".png")}))}},{key:"exportToCSV",value:function(e){var t=this,a=e.series,s=e.fileName,r=e.columnDelimiter,n=r===void 0?",":r,o=e.lineDelimiter,l=o===void 0?`
|
|
190
|
+
`:o,c=this.w;a||(a=c.config.series);var u=[],d=[],h="",f=c.globals.series.map((function(y,A){return c.globals.collapsedSeriesIndices.indexOf(A)===-1?y:[]})),g=function(y){return typeof c.config.chart.toolbar.export.csv.categoryFormatter=="function"?c.config.chart.toolbar.export.csv.categoryFormatter(y):c.config.xaxis.type==="datetime"&&String(y).length>=10?new Date(y).toDateString():T.isNumber(y)?y:y.split(n).join("")},p=function(y){return typeof c.config.chart.toolbar.export.csv.valueFormatter=="function"?c.config.chart.toolbar.export.csv.valueFormatter(y):y},m=Math.max.apply(Math,ft(a.map((function(y){return y.data?y.data.length:0})))),b=new Md(this.ctx),v=new va(this.ctx),x=function(y){var A="";if(c.globals.axisCharts){if(c.config.xaxis.type==="category"||c.config.xaxis.convertedCatToNumeric)if(c.globals.isBarHorizontal){var w=c.globals.yLabelFormatters[0],S=new ri(t.ctx).getActiveConfigSeriesIndex();A=w(c.globals.labels[y],{seriesIndex:S,dataPointIndex:y,w:c})}else A=v.getLabel(c.globals.labels,c.globals.timescaleLabels,0,y).text;c.config.xaxis.type==="datetime"&&(c.config.xaxis.categories.length?A=c.config.xaxis.categories[y]:c.config.labels.length&&(A=c.config.labels[y]))}else A=c.config.labels[y];return A===null?"nullvalue":(Array.isArray(A)&&(A=A.join(" ")),T.isNumber(A)?A:A.split(n).join(""))},k=function(y,A){if(u.length&&A===0&&d.push(u.join(n)),y.data){y.data=y.data.length&&y.data||ft(Array(m)).map((function(){return""}));for(var w=0;w<y.data.length;w++){u=[];var S=x(w);if(S!=="nullvalue"){if(S||(b.isFormatXY()?S=a[A].data[w].x:b.isFormat2DArray()&&(S=a[A].data[w]?a[A].data[w][0]:"")),A===0){u.push(g(S));for(var C=0;C<c.globals.series.length;C++){var E,M=b.isFormatXY()?(E=a[C].data[w])===null||E===void 0?void 0:E.y:f[C][w];u.push(p(M))}}(c.config.chart.type==="candlestick"||y.type&&y.type==="candlestick")&&(u.pop(),u.push(c.globals.seriesCandleO[A][w]),u.push(c.globals.seriesCandleH[A][w]),u.push(c.globals.seriesCandleL[A][w]),u.push(c.globals.seriesCandleC[A][w])),(c.config.chart.type==="boxPlot"||y.type&&y.type==="boxPlot")&&(u.pop(),u.push(c.globals.seriesCandleO[A][w]),u.push(c.globals.seriesCandleH[A][w]),u.push(c.globals.seriesCandleM[A][w]),u.push(c.globals.seriesCandleL[A][w]),u.push(c.globals.seriesCandleC[A][w])),c.config.chart.type==="rangeBar"&&(u.pop(),u.push(c.globals.seriesRangeStart[A][w]),u.push(c.globals.seriesRangeEnd[A][w])),u.length&&d.push(u.join(n))}}}};u.push(c.config.chart.toolbar.export.csv.headerCategory),c.config.chart.type==="boxPlot"?(u.push("minimum"),u.push("q1"),u.push("median"),u.push("q3"),u.push("maximum")):c.config.chart.type==="candlestick"?(u.push("open"),u.push("high"),u.push("low"),u.push("close")):c.config.chart.type==="rangeBar"?(u.push("minimum"),u.push("maximum")):a.map((function(y,A){var w=(y.name?y.name:"series-".concat(A))+"";c.globals.axisCharts&&u.push(w.split(n).join("")?w.split(n).join(""):"series-".concat(A))})),c.globals.axisCharts||(u.push(c.config.chart.toolbar.export.csv.headerValue),d.push(u.join(n))),c.globals.allSeriesHasEqualX||!c.globals.axisCharts||c.config.xaxis.categories.length||c.config.labels.length?a.map((function(y,A){c.globals.axisCharts?k(y,A):((u=[]).push(g(c.globals.labels[A])),u.push(p(f[A])),d.push(u.join(n)))})):(function(){var y=new Set,A={};a.forEach((function(w,S){w==null||w.data.forEach((function(C){var E,M;if(b.isFormatXY())E=C.x,M=C.y;else{if(!b.isFormat2DArray())return;E=C[0],M=C[1]}A[E]||(A[E]=Array(a.length).fill("")),A[E][S]=p(M),y.add(E)}))})),u.length&&d.push(u.join(n)),Array.from(y).sort().forEach((function(w){d.push([g(w),A[w].join(n)])}))})(),h+=d.join(l),this.triggerDownload("data:text/csv; charset=utf-8,"+encodeURIComponent("\uFEFF"+h),s||c.config.chart.toolbar.export.csv.filename,".csv")}},{key:"triggerDownload",value:function(e,t,a){var s=document.createElement("a");s.href=e,s.download=(t||this.w.globals.chartID)+a,document.body.appendChild(s),s.click(),document.body.removeChild(s)}}]),i})(),zr=(function(){function i(e,t){ee(this,i),this.ctx=e,this.elgrid=t,this.w=e.w;var a=this.w;this.axesUtils=new va(e),this.xaxisLabels=a.globals.labels.slice(),a.globals.timescaleLabels.length>0&&!a.globals.isBarHorizontal&&(this.xaxisLabels=a.globals.timescaleLabels.slice()),a.config.xaxis.overwriteCategories&&(this.xaxisLabels=a.config.xaxis.overwriteCategories),this.drawnLabels=[],this.drawnLabelsRects=[],a.config.xaxis.position==="top"?this.offY=0:this.offY=a.globals.gridHeight,this.offY=this.offY+a.config.xaxis.axisBorder.offsetY,this.isCategoryBarHorizontal=a.config.chart.type==="bar"&&a.config.plotOptions.bar.horizontal,this.xaxisFontSize=a.config.xaxis.labels.style.fontSize,this.xaxisFontFamily=a.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=a.config.xaxis.labels.style.colors,this.xaxisBorderWidth=a.config.xaxis.axisBorder.width,this.isCategoryBarHorizontal&&(this.xaxisBorderWidth=a.config.yaxis[0].axisBorder.width.toString()),String(this.xaxisBorderWidth).indexOf("%")>-1?this.xaxisBorderWidth=a.globals.gridWidth*parseInt(this.xaxisBorderWidth,10)/100:this.xaxisBorderWidth=parseInt(this.xaxisBorderWidth,10),this.xaxisBorderHeight=a.config.xaxis.axisBorder.height,this.yaxis=a.config.yaxis[0]}return te(i,[{key:"drawXaxis",value:function(){var e=this.w,t=new Y(this.ctx),a=t.group({class:"apexcharts-xaxis",transform:"translate(".concat(e.config.xaxis.offsetX,", ").concat(e.config.xaxis.offsetY,")")}),s=t.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(e.globals.translateXAxisX,", ").concat(e.globals.translateXAxisY,")")});a.add(s);for(var r=[],n=0;n<this.xaxisLabels.length;n++)r.push(this.xaxisLabels[n]);if(this.drawXAxisLabelAndGroup(!0,t,s,r,e.globals.isXNumeric,(function(g,p){return p})),e.globals.hasXaxisGroups){var o=e.globals.groups;r=[];for(var l=0;l<o.length;l++)r.push(o[l].title);var c={};e.config.xaxis.group.style&&(c.xaxisFontSize=e.config.xaxis.group.style.fontSize,c.xaxisFontFamily=e.config.xaxis.group.style.fontFamily,c.xaxisForeColors=e.config.xaxis.group.style.colors,c.fontWeight=e.config.xaxis.group.style.fontWeight,c.cssClass=e.config.xaxis.group.style.cssClass),this.drawXAxisLabelAndGroup(!1,t,s,r,!1,(function(g,p){return o[g].cols*p}),c)}if(e.config.xaxis.title.text!==void 0){var u=t.group({class:"apexcharts-xaxis-title"}),d=t.drawText({x:e.globals.gridWidth/2+e.config.xaxis.title.offsetX,y:this.offY+parseFloat(this.xaxisFontSize)+(e.config.xaxis.position==="bottom"?e.globals.xAxisLabelsHeight:-e.globals.xAxisLabelsHeight-10)+e.config.xaxis.title.offsetY,text:e.config.xaxis.title.text,textAnchor:"middle",fontSize:e.config.xaxis.title.style.fontSize,fontFamily:e.config.xaxis.title.style.fontFamily,fontWeight:e.config.xaxis.title.style.fontWeight,foreColor:e.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text "+e.config.xaxis.title.style.cssClass});u.add(d),a.add(u)}if(e.config.xaxis.axisBorder.show){var h=e.globals.barPadForNumericAxis,f=t.drawLine(e.globals.padHorizontal+e.config.xaxis.axisBorder.offsetX-h,this.offY,this.xaxisBorderWidth+h,this.offY,e.config.xaxis.axisBorder.color,0,this.xaxisBorderHeight);this.elgrid&&this.elgrid.elGridBorders&&e.config.grid.show?this.elgrid.elGridBorders.add(f):a.add(f)}return a}},{key:"drawXAxisLabelAndGroup",value:function(e,t,a,s,r,n){var o,l=this,c=arguments.length>6&&arguments[6]!==void 0?arguments[6]:{},u=[],d=[],h=this.w,f=c.xaxisFontSize||this.xaxisFontSize,g=c.xaxisFontFamily||this.xaxisFontFamily,p=c.xaxisForeColors||this.xaxisForeColors,m=c.fontWeight||h.config.xaxis.labels.style.fontWeight,b=c.cssClass||h.config.xaxis.labels.style.cssClass,v=h.globals.padHorizontal,x=s.length,k=h.config.xaxis.type==="category"?h.globals.dataPoints:x;if(k===0&&x>k&&(k=x),r){var y=Math.max(Number(h.config.xaxis.tickAmount)||1,k>1?k-1:k);o=h.globals.gridWidth/Math.min(y,x-1),v=v+n(0,o)/2+h.config.xaxis.labels.offsetX}else o=h.globals.gridWidth/k,v=v+n(0,o)+h.config.xaxis.labels.offsetX;for(var A=function(S){var C=v-n(S,o)/2+h.config.xaxis.labels.offsetX;S===0&&x===1&&o/2===v&&k===1&&(C=h.globals.gridWidth/2);var E=l.axesUtils.getLabel(s,h.globals.timescaleLabels,C,S,u,f,e),M=28;if(h.globals.rotateXLabels&&e&&(M=22),h.config.xaxis.title.text&&h.config.xaxis.position==="top"&&(M+=parseFloat(h.config.xaxis.title.style.fontSize)+2),e||(M=M+parseFloat(f)+(h.globals.xAxisLabelsHeight-h.globals.xAxisGroupLabelsHeight)+(h.globals.rotateXLabels?10:0)),E=h.config.xaxis.tickAmount!==void 0&&h.config.xaxis.tickAmount!=="dataPoints"&&h.config.xaxis.type!=="datetime"?l.axesUtils.checkLabelBasedOnTickamount(S,E,x):l.axesUtils.checkForOverflowingLabels(S,E,x,u,d),h.config.xaxis.labels.show){var P=t.drawText({x:E.x,y:l.offY+h.config.xaxis.labels.offsetY+M-(h.config.xaxis.position==="top"?h.globals.xAxisHeight+h.config.xaxis.axisTicks.height-2:0),text:E.text,textAnchor:"middle",fontWeight:E.isBold?600:m,fontSize:f,fontFamily:g,foreColor:Array.isArray(p)?e&&h.config.xaxis.convertedCatToNumeric?p[h.globals.minX+S-1]:p[S]:p,isPlainText:!1,cssClass:(e?"apexcharts-xaxis-label ":"apexcharts-xaxis-group-label ")+b});if(a.add(P),P.on("click",(function(L){if(typeof h.config.chart.events.xAxisLabelClick=="function"){var B=Object.assign({},h,{labelIndex:S});h.config.chart.events.xAxisLabelClick(L,l.ctx,B)}})),e){var D=document.createElementNS(h.globals.SVGNS,"title");D.textContent=Array.isArray(E.text)?E.text.join(" "):E.text,P.node.appendChild(D),E.text!==""&&(u.push(E.text),d.push(E))}}S<x-1&&(v+=n(S+1,o))},w=0;w<=x-1;w++)A(w)}},{key:"drawXaxisInversed",value:function(e){var t,a,s=this,r=this.w,n=new Y(this.ctx),o=r.config.yaxis[0].opposite?r.globals.translateYAxisX[e]:0,l=n.group({class:"apexcharts-yaxis apexcharts-xaxis-inversed",rel:e}),c=n.group({class:"apexcharts-yaxis-texts-g apexcharts-xaxis-inversed-texts-g",transform:"translate("+o+", 0)"});l.add(c);var u=[];if(r.config.yaxis[e].show)for(var d=0;d<this.xaxisLabels.length;d++)u.push(this.xaxisLabels[d]);t=r.globals.gridHeight/u.length,a=-t/2.2;var h=r.globals.yLabelFormatters[0],f=r.config.yaxis[0].labels;if(f.show)for(var g=function(y){var A=u[y]===void 0?"":u[y];A=h(A,{seriesIndex:e,dataPointIndex:y,w:r});var w=s.axesUtils.getYAxisForeColor(f.style.colors,e),S=0;Array.isArray(A)&&(S=A.length/2*parseInt(f.style.fontSize,10));var C=f.offsetX-15,E="end";s.yaxis.opposite&&(E="start"),r.config.yaxis[0].labels.align==="left"?(C=f.offsetX,E="start"):r.config.yaxis[0].labels.align==="center"?(C=f.offsetX,E="middle"):r.config.yaxis[0].labels.align==="right"&&(E="end");var M=n.drawText({x:C,y:a+t+f.offsetY-S,text:A,textAnchor:E,foreColor:Array.isArray(w)?w[y]:w,fontSize:f.style.fontSize,fontFamily:f.style.fontFamily,fontWeight:f.style.fontWeight,isPlainText:!1,cssClass:"apexcharts-yaxis-label "+f.style.cssClass,maxWidth:f.maxWidth});c.add(M),M.on("click",(function(L){if(typeof r.config.chart.events.xAxisLabelClick=="function"){var B=Object.assign({},r,{labelIndex:y});r.config.chart.events.xAxisLabelClick(L,s.ctx,B)}}));var P=document.createElementNS(r.globals.SVGNS,"title");if(P.textContent=Array.isArray(A)?A.join(" "):A,M.node.appendChild(P),r.config.yaxis[e].labels.rotate!==0){var D=n.rotateAroundCenter(M.node);M.node.setAttribute("transform","rotate(".concat(r.config.yaxis[e].labels.rotate," 0 ").concat(D.y,")"))}a+=t},p=0;p<=u.length-1;p++)g(p);if(r.config.yaxis[0].title.text!==void 0){var m=n.group({class:"apexcharts-yaxis-title apexcharts-xaxis-title-inversed",transform:"translate("+o+", 0)"}),b=n.drawText({x:r.config.yaxis[0].title.offsetX,y:r.globals.gridHeight/2+r.config.yaxis[0].title.offsetY,text:r.config.yaxis[0].title.text,textAnchor:"middle",foreColor:r.config.yaxis[0].title.style.color,fontSize:r.config.yaxis[0].title.style.fontSize,fontWeight:r.config.yaxis[0].title.style.fontWeight,fontFamily:r.config.yaxis[0].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+r.config.yaxis[0].title.style.cssClass});m.add(b),l.add(m)}var v=0;this.isCategoryBarHorizontal&&r.config.yaxis[0].opposite&&(v=r.globals.gridWidth);var x=r.config.xaxis.axisBorder;if(x.show){var k=n.drawLine(r.globals.padHorizontal+x.offsetX+v,1+x.offsetY,r.globals.padHorizontal+x.offsetX+v,r.globals.gridHeight+x.offsetY,x.color,0);this.elgrid&&this.elgrid.elGridBorders&&r.config.grid.show?this.elgrid.elGridBorders.add(k):l.add(k)}return r.config.yaxis[0].axisTicks.show&&this.axesUtils.drawYAxisTicks(v,u.length,r.config.yaxis[0].axisBorder,r.config.yaxis[0].axisTicks,0,t,l),l}},{key:"drawXaxisTicks",value:function(e,t,a){var s=this.w,r=e;if(!(e<0||e-2>s.globals.gridWidth)){var n=this.offY+s.config.xaxis.axisTicks.offsetY;if(t=t+n+s.config.xaxis.axisTicks.height,s.config.xaxis.position==="top"&&(t=n-s.config.xaxis.axisTicks.height),s.config.xaxis.axisTicks.show){var o=new Y(this.ctx).drawLine(e+s.config.xaxis.axisTicks.offsetX,n+s.config.xaxis.offsetY,r+s.config.xaxis.axisTicks.offsetX,t+s.config.xaxis.offsetY,s.config.xaxis.axisTicks.color);a.add(o),o.node.classList.add("apexcharts-xaxis-tick")}}}},{key:"getXAxisTicksPositions",value:function(){var e=this.w,t=[],a=this.xaxisLabels.length,s=e.globals.padHorizontal;if(e.globals.timescaleLabels.length>0)for(var r=0;r<a;r++)s=this.xaxisLabels[r].position,t.push(s);else for(var n=a,o=0;o<n;o++){var l=n;e.globals.isXNumeric&&e.config.chart.type!=="bar"&&(l-=1),s+=e.globals.gridWidth/l,t.push(s)}return t}},{key:"xAxisLabelCorrections",value:function(){var e=this.w,t=new Y(this.ctx),a=e.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g"),s=e.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-texts-g text:not(.apexcharts-xaxis-group-label)"),r=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-inversed text"),n=e.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-inversed-texts-g text tspan");if(e.globals.rotateXLabels||e.config.xaxis.labels.rotateAlways)for(var o=0;o<s.length;o++){var l=t.rotateAroundCenter(s[o]);l.y=l.y-1,l.x=l.x+1,s[o].setAttribute("transform","rotate(".concat(e.config.xaxis.labels.rotate," ").concat(l.x," ").concat(l.y,")")),s[o].setAttribute("text-anchor","end"),a.setAttribute("transform","translate(0, ".concat(-10,")"));var c=s[o].childNodes;e.config.xaxis.labels.trim&&Array.prototype.forEach.call(c,(function(f){t.placeTextWithEllipsis(f,f.textContent,e.globals.xAxisLabelsHeight-(e.config.legend.position==="bottom"?20:10))}))}else(function(){for(var f=e.globals.gridWidth/(e.globals.labels.length+1),g=0;g<s.length;g++){var p=s[g].childNodes;e.config.xaxis.labels.trim&&e.config.xaxis.type!=="datetime"&&Array.prototype.forEach.call(p,(function(m){t.placeTextWithEllipsis(m,m.textContent,f)}))}})();if(r.length>0){var u=r[r.length-1].getBBox(),d=r[0].getBBox();u.x<-20&&r[r.length-1].parentNode.removeChild(r[r.length-1]),d.x+d.width>e.globals.gridWidth&&!e.globals.isBarHorizontal&&r[0].parentNode.removeChild(r[0]);for(var h=0;h<n.length;h++)t.placeTextWithEllipsis(n[h],n[h].textContent,e.config.yaxis[0].labels.maxWidth-(e.config.yaxis[0].title.text?2*parseFloat(e.config.yaxis[0].title.style.fontSize):0)-15)}}}]),i})(),Ex=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w;var t=this.w;this.xaxisLabels=t.globals.labels.slice(),this.axesUtils=new va(e),this.isRangeBar=t.globals.seriesRange.length&&t.globals.isBarHorizontal,t.globals.timescaleLabels.length>0&&(this.xaxisLabels=t.globals.timescaleLabels.slice())}return te(i,[{key:"drawGridArea",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,t=this.w,a=new Y(this.ctx);e||(e=a.group({class:"apexcharts-grid"}));var s=a.drawLine(t.globals.padHorizontal,1,t.globals.padHorizontal,t.globals.gridHeight,"transparent"),r=a.drawLine(t.globals.padHorizontal,t.globals.gridHeight,t.globals.gridWidth,t.globals.gridHeight,"transparent");return e.add(r),e.add(s),e}},{key:"drawGrid",value:function(){if(this.w.globals.axisCharts){var e=this.renderGrid();return this.drawGridArea(e.el),e}return null}},{key:"createGridMask",value:function(){var e=this.w,t=e.globals,a=new Y(this.ctx),s=Array.isArray(e.config.stroke.width)?Math.max.apply(Math,ft(e.config.stroke.width)):e.config.stroke.width,r=function(u){var d=document.createElementNS(t.SVGNS,"clipPath");return d.setAttribute("id",u),d};t.dom.elGridRectMask=r("gridRectMask".concat(t.cuid)),t.dom.elGridRectBarMask=r("gridRectBarMask".concat(t.cuid)),t.dom.elGridRectMarkerMask=r("gridRectMarkerMask".concat(t.cuid)),t.dom.elForecastMask=r("forecastMask".concat(t.cuid)),t.dom.elNonForecastMask=r("nonForecastMask".concat(t.cuid));var n=0,o=0;(["bar","rangeBar","candlestick","boxPlot"].includes(e.config.chart.type)||e.globals.comboBarCount>0)&&e.globals.isXNumeric&&!e.globals.isBarHorizontal&&(n=Math.max(e.config.grid.padding.left,t.barPadForNumericAxis),o=Math.max(e.config.grid.padding.right,t.barPadForNumericAxis)),t.dom.elGridRect=a.drawRect(-s/2-2,-s/2-2,t.gridWidth+s+4,t.gridHeight+s+4,0,"#fff"),t.dom.elGridRectBar=a.drawRect(-s/2-n-2,-s/2-2,t.gridWidth+s+o+n+4,t.gridHeight+s+4,0,"#fff");var l=e.globals.markers.largestSize;t.dom.elGridRectMarker=a.drawRect(Math.min(-s/2-n-2,-l),-l,t.gridWidth+Math.max(s+o+n+4,2*l),t.gridHeight+2*l,0,"#fff"),t.dom.elGridRectMask.appendChild(t.dom.elGridRect.node),t.dom.elGridRectBarMask.appendChild(t.dom.elGridRectBar.node),t.dom.elGridRectMarkerMask.appendChild(t.dom.elGridRectMarker.node);var c=t.dom.baseEl.querySelector("defs");c.appendChild(t.dom.elGridRectMask),c.appendChild(t.dom.elGridRectBarMask),c.appendChild(t.dom.elGridRectMarkerMask),c.appendChild(t.dom.elForecastMask),c.appendChild(t.dom.elNonForecastMask)}},{key:"_drawGridLines",value:function(e){var t=e.i,a=e.x1,s=e.y1,r=e.x2,n=e.y2,o=e.xCount,l=e.parent,c=this.w;if(!(t===0&&c.globals.skipFirstTimelinelabel||t===o-1&&c.globals.skipLastTimelinelabel&&!c.config.xaxis.labels.formatter||c.config.chart.type==="radar")){c.config.grid.xaxis.lines.show&&this._drawGridLine({i:t,x1:a,y1:s,x2:r,y2:n,xCount:o,parent:l});var u=0;if(c.globals.hasXaxisGroups&&c.config.xaxis.tickPlacement==="between"){var d=c.globals.groups;if(d){for(var h=0,f=0;h<t&&f<d.length;f++)h+=d[f].cols;h===t&&(u=.6*c.globals.xAxisLabelsHeight)}}new zr(this.ctx).drawXaxisTicks(a,u,c.globals.dom.elGraphical)}}},{key:"_drawGridLine",value:function(e){var t=e.i,a=e.x1,s=e.y1,r=e.x2,n=e.y2,o=e.xCount,l=e.parent,c=this.w,u=l.node.classList.contains("apexcharts-gridlines-horizontal"),d=c.globals.barPadForNumericAxis,h=s===0&&n===0||a===0&&r===0||s===c.globals.gridHeight&&n===c.globals.gridHeight||c.globals.isBarHorizontal&&(t===0||t===o-1),f=new Y(this).drawLine(a-(u?d:0),s,r+(u?d:0),n,c.config.grid.borderColor,c.config.grid.strokeDashArray);f.node.classList.add("apexcharts-gridline"),h&&c.config.grid.show?this.elGridBorders.add(f):l.add(f)}},{key:"_drawGridBandRect",value:function(e){var t=e.c,a=e.x1,s=e.y1,r=e.x2,n=e.y2,o=e.type,l=this.w,c=new Y(this.ctx),u=l.globals.barPadForNumericAxis,d=l.config.grid[o].colors[t],h=c.drawRect(a-(o==="row"?u:0),s,r+(o==="row"?2*u:0),n,0,d,l.config.grid[o].opacity);this.elg.add(h),h.attr("clip-path","url(#gridRectMask".concat(l.globals.cuid,")")),h.node.classList.add("apexcharts-grid-".concat(o))}},{key:"_drawXYLines",value:function(e){var t=this,a=e.xCount,s=e.tickAmount,r=this.w;if(r.config.grid.xaxis.lines.show||r.config.xaxis.axisTicks.show){var n,o=r.globals.padHorizontal,l=r.globals.gridHeight;r.globals.timescaleLabels.length?(function(g){for(var p=g.xC,m=g.x1,b=g.y1,v=g.x2,x=g.y2,k=0;k<p;k++)m=t.xaxisLabels[k].position,v=t.xaxisLabels[k].position,t._drawGridLines({i:k,x1:m,y1:b,x2:v,y2:x,xCount:a,parent:t.elgridLinesV})})({xC:a,x1:o,y1:0,x2:n,y2:l}):(r.globals.isXNumeric&&(a=r.globals.xAxisScale.result.length),(function(g){for(var p=g.xC,m=g.x1,b=g.y1,v=g.x2,x=g.y2,k=0;k<p+(r.globals.isXNumeric?0:1);k++)k===0&&p===1&&r.globals.dataPoints===1&&(v=m=r.globals.gridWidth/2),t._drawGridLines({i:k,x1:m,y1:b,x2:v,y2:x,xCount:a,parent:t.elgridLinesV}),v=m+=r.globals.gridWidth/(r.globals.isXNumeric?p-1:p)})({xC:a,x1:o,y1:0,x2:n,y2:l}))}if(r.config.grid.yaxis.lines.show){var c=0,u=0,d=r.globals.gridWidth,h=s+1;this.isRangeBar&&(h=r.globals.labels.length);for(var f=0;f<h+(this.isRangeBar?1:0);f++)this._drawGridLine({i:f,xCount:h+(this.isRangeBar?1:0),x1:0,y1:c,x2:d,y2:u,parent:this.elgridLinesH}),u=c+=r.globals.gridHeight/(this.isRangeBar?h:s)}}},{key:"_drawInvertedXYLines",value:function(e){var t=e.xCount,a=this.w;if(a.config.grid.xaxis.lines.show||a.config.xaxis.axisTicks.show)for(var s,r=a.globals.padHorizontal,n=a.globals.gridHeight,o=0;o<t+1;o++)a.config.grid.xaxis.lines.show&&this._drawGridLine({i:o,xCount:t+1,x1:r,y1:0,x2:s,y2:n,parent:this.elgridLinesV}),new zr(this.ctx).drawXaxisTicks(r,0,a.globals.dom.elGraphical),s=r+=a.globals.gridWidth/t;if(a.config.grid.yaxis.lines.show)for(var l=0,c=0,u=a.globals.gridWidth,d=0;d<a.globals.dataPoints+1;d++)this._drawGridLine({i:d,xCount:a.globals.dataPoints+1,x1:0,y1:l,x2:u,y2:c,parent:this.elgridLinesH}),c=l+=a.globals.gridHeight/a.globals.dataPoints}},{key:"renderGrid",value:function(){var e=this.w,t=e.globals,a=new Y(this.ctx);this.elg=a.group({class:"apexcharts-grid"}),this.elgridLinesH=a.group({class:"apexcharts-gridlines-horizontal"}),this.elgridLinesV=a.group({class:"apexcharts-gridlines-vertical"}),this.elGridBorders=a.group({class:"apexcharts-grid-borders"}),this.elg.add(this.elgridLinesH),this.elg.add(this.elgridLinesV),e.config.grid.show||(this.elgridLinesV.hide(),this.elgridLinesH.hide(),this.elGridBorders.hide());for(var s=0;s<t.seriesYAxisMap.length&&t.ignoreYAxisIndexes.includes(s);)s++;s===t.seriesYAxisMap.length&&(s=0);var r,n=t.yAxisScale[s].result.length-1;if(!t.isBarHorizontal||this.isRangeBar){var o,l,c;r=this.xaxisLabels.length,this.isRangeBar&&(n=t.labels.length,e.config.xaxis.tickAmount&&e.config.xaxis.labels.formatter&&(r=e.config.xaxis.tickAmount),((o=t.yAxisScale)===null||o===void 0||(l=o[s])===null||l===void 0||(c=l.result)===null||c===void 0?void 0:c.length)>0&&e.config.xaxis.type!=="datetime"&&(r=t.yAxisScale[s].result.length-1)),this._drawXYLines({xCount:r,tickAmount:n})}else r=n,n=t.xTickAmount,this._drawInvertedXYLines({xCount:r,tickAmount:n});return this.drawGridBands(r,n),{el:this.elg,elGridBorders:this.elGridBorders,xAxisTickWidth:t.gridWidth/r}}},{key:"drawGridBands",value:function(e,t){var a,s,r=this,n=this.w;if(((a=n.config.grid.row.colors)===null||a===void 0?void 0:a.length)>0&&(function(g,p,m,b,v,x){for(var k=0,y=0;k<p;k++,y++)y>=n.config.grid[g].colors.length&&(y=0),r._drawGridBandRect({c:y,x1:m,y1:b,x2:v,y2:x,type:g}),b+=n.globals.gridHeight/t})("row",t,0,0,n.globals.gridWidth,n.globals.gridHeight/t),((s=n.config.grid.column.colors)===null||s===void 0?void 0:s.length)>0){var o=n.globals.isBarHorizontal||n.config.xaxis.tickPlacement!=="on"||n.config.xaxis.type!=="category"&&!n.config.xaxis.convertedCatToNumeric?e:e-1;n.globals.isXNumeric&&(o=n.globals.xAxisScale.result.length-1);for(var l=n.globals.padHorizontal,c=n.globals.padHorizontal+n.globals.gridWidth/o,u=n.globals.gridHeight,d=0,h=0;d<e;d++,h++){var f;h>=n.config.grid.column.colors.length&&(h=0),n.config.xaxis.type==="datetime"&&(l=this.xaxisLabels[d].position,c=(((f=this.xaxisLabels[d+1])===null||f===void 0?void 0:f.position)||n.globals.gridWidth)-this.xaxisLabels[d].position),this._drawGridBandRect({c:h,x1:l,y1:0,x2:c,y2:u,type:"column"}),l+=n.globals.gridWidth/o}}}}]),i})(),Mx=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.coreUtils=new rt(this.ctx)}return te(i,[{key:"niceScale",value:function(e,t){var a,s,r,n,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,l=1e-11,c=this.w,u=c.globals;u.isBarHorizontal?(a=c.config.xaxis,s=Math.max((u.svgWidth-100)/25,2)):(a=c.config.yaxis[o],s=Math.max((u.svgHeight-100)/15,2)),T.isNumber(s)||(s=10),r=a.min!==void 0&&a.min!==null,n=a.max!==void 0&&a.min!==null;var d=a.stepSize!==void 0&&a.stepSize!==null,h=a.tickAmount!==void 0&&a.tickAmount!==null,f=h?a.tickAmount:u.niceScaleDefaultTicks[Math.min(Math.round(s/2),u.niceScaleDefaultTicks.length-1)];if(u.isMultipleYAxis&&!h&&u.multiAxisTickAmount>0&&(f=u.multiAxisTickAmount,h=!0),f=f==="dataPoints"?u.dataPoints-1:Math.abs(Math.round(f)),(e===Number.MIN_VALUE&&t===0||!T.isNumber(e)&&!T.isNumber(t)||e===Number.MIN_VALUE&&t===-Number.MAX_VALUE)&&(e=T.isNumber(a.min)?a.min:0,t=T.isNumber(a.max)?a.max:e+f,u.allSeriesCollapsed=!1),e>t){console.warn("axis.min cannot be greater than axis.max: swapping min and max");var g=t;t=e,e=g}else e===t&&(e=e===0?0:e-1,t=t===0?2:t+1);var p=[];f<1&&(f=1);var m=f,b=Math.abs(t-e);!r&&e>0&&e/b<.15&&(e=0,r=!0),!n&&t<0&&-t/b<.15&&(t=0,n=!0);var v=(b=Math.abs(t-e))/m,x=v,k=Math.floor(Math.log10(x)),y=Math.pow(10,k),A=Math.ceil(x/y);if(v=x=(A=u.niceScaleAllowedMagMsd[u.yValueDecimal===0?0:1][A])*y,u.isBarHorizontal&&a.stepSize&&a.type!=="datetime"?(v=a.stepSize,d=!0):d&&(v=a.stepSize),d&&a.forceNiceScale){var w=Math.floor(Math.log10(v));v*=Math.pow(10,k-w)}if(r&&n){var S=b/m;if(h)if(d)if(T.mod(b,v)!=0){var C=T.getGCD(v,S);v=S/C<10?C:S}else T.mod(v,S)==0?v=S:(S=v,h=!1);else v=S;else if(d)T.mod(b,v)==0?S=v:v=S;else if(T.mod(b,v)==0)S=v;else{S=b/(m=Math.ceil(b/v));var E=T.getGCD(b,v);b/E<s&&(S=E),v=S}m=Math.round(b/v)}else{if(r||n){if(n)if(h)e=t-v*m;else{var M=e;e=v*Math.floor(e/v),Math.abs(t-e)/T.getGCD(b,v)>s&&(e=t-v*f,e+=v*Math.floor((M-e)/v))}else if(r)if(h)t=e+v*m;else{var P=t;t=v*Math.ceil(t/v),Math.abs(t-e)/T.getGCD(b,v)>s&&(t=e+v*f,t+=v*Math.ceil((P-t)/v))}}else if(u.isMultipleYAxis&&h){var D=v*Math.floor(e/v),L=D+v*m;L<t&&(v*=2),L=t,t=(e=D)+v*m,b=Math.abs(t-e),e>0&&e<Math.abs(L-t)&&(e=0,t=v*m),t<0&&-t<Math.abs(D-e)&&(t=0,e=-v*m)}else e=v*Math.floor(e/v),t=v*Math.ceil(t/v);b=Math.abs(t-e),v=T.getGCD(b,v),m=Math.round(b/v)}if(h||r||n||(m=Math.ceil((b-l)/(v+l)))>16&&T.getPrimeFactors(m).length<2&&m++,!h&&a.forceNiceScale&&u.yValueDecimal===0&&m>b&&(m=b,v=Math.round(b/m)),m>s&&(!h&&!d||a.forceNiceScale)){var B=T.getPrimeFactors(m),N=B.length-1,F=m;e:for(var H=0;H<N;H++)for(var ie=0;ie<=N-H;ie++){for(var re=Math.min(ie+H,N),ae=F,le=1,Ee=ie;Ee<=re;Ee++)le*=B[Ee];if((ae/=le)<s){F=ae;break e}}v=F===m?b:b/F,m=Math.round(b/v)}u.isMultipleYAxis&&u.multiAxisTickAmount==0&&u.ignoreYAxisIndexes.indexOf(o)<0&&(u.multiAxisTickAmount=m);var pe=e-v,Re=v*l;do pe+=v,p.push(T.stripNumber(pe,7));while(t-pe>Re);return{result:p,niceMin:p[0],niceMax:p[p.length-1]}}},{key:"linearScale",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:10,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:void 0,n=Math.abs(t-e),o=[];if(e===t)return{result:o=[e],niceMin:o[0],niceMax:o[o.length-1]};(a=this._adjustTicksForSmallRange(a,s,n))==="dataPoints"&&(a=this.w.globals.dataPoints-1),r||(r=n/a),r=Math.round(100*(r+Number.EPSILON))/100,a===Number.MAX_VALUE&&(a=5,r=1);for(var l=e;a>=0;)o.push(l),l=T.preciseAddition(l,r),a-=1;return{result:o,niceMin:o[0],niceMax:o[o.length-1]}}},{key:"logarithmicScaleNice",value:function(e,t,a){t<=0&&(t=Math.max(e,a)),e<=0&&(e=Math.min(t,a));for(var s=[],r=Math.ceil(Math.log(t)/Math.log(a)+1),n=Math.floor(Math.log(e)/Math.log(a));n<r;n++)s.push(Math.pow(a,n));return{result:s,niceMin:s[0],niceMax:s[s.length-1]}}},{key:"logarithmicScale",value:function(e,t,a){t<=0&&(t=Math.max(e,a)),e<=0&&(e=Math.min(t,a));for(var s=[],r=Math.log(t)/Math.log(a),n=Math.log(e)/Math.log(a),o=r-n,l=Math.round(o),c=o/l,u=0,d=n;u<l;u++,d+=c)s.push(Math.pow(a,d));return s.push(Math.pow(a,r)),{result:s,niceMin:e,niceMax:t}}},{key:"_adjustTicksForSmallRange",value:function(e,t,a){var s=e;if(t!==void 0&&this.w.config.yaxis[t].labels.formatter&&this.w.config.yaxis[t].tickAmount===void 0){var r=Number(this.w.config.yaxis[t].labels.formatter(1));T.isNumber(r)&&this.w.globals.yValueDecimal===0&&(s=Math.ceil(a))}return s<e?s:e}},{key:"setYScaleForIndex",value:function(e,t,a){var s=this.w.globals,r=this.w.config,n=s.isBarHorizontal?r.xaxis:r.yaxis[e];s.yAxisScale[e]===void 0&&(s.yAxisScale[e]=[]);var o=Math.abs(a-t);n.logarithmic&&o<=5&&(s.invalidLogScale=!0),n.logarithmic&&o>5?(s.allSeriesCollapsed=!1,s.yAxisScale[e]=n.forceNiceScale?this.logarithmicScaleNice(t,a,n.logBase):this.logarithmicScale(t,a,n.logBase)):a!==-Number.MAX_VALUE&&T.isNumber(a)&&t!==Number.MAX_VALUE&&T.isNumber(t)?(s.allSeriesCollapsed=!1,s.yAxisScale[e]=this.niceScale(t,a,e)):s.yAxisScale[e]=this.niceScale(Number.MIN_VALUE,0,e)}},{key:"setXScale",value:function(e,t){var a=this.w,s=a.globals;if(t!==-Number.MAX_VALUE&&T.isNumber(t)){var r=s.xTickAmount;s.xAxisScale=this.linearScale(e,t,r,0,a.config.xaxis.max===void 0?a.config.xaxis.stepSize:void 0)}else s.xAxisScale=this.linearScale(0,10,10);return s.xAxisScale}},{key:"scaleMultipleYAxes",value:function(){var e=this,t=this.w.config,a=this.w.globals;this.coreUtils.setSeriesYAxisMappings();var s=a.seriesYAxisMap,r=a.minYArr,n=a.maxYArr;a.allSeriesCollapsed=!0,a.barGroups=[],s.forEach((function(o,l){var c=[];o.forEach((function(u){var d,h=(d=t.series[u])===null||d===void 0?void 0:d.group;c.indexOf(h)<0&&c.push(h)})),o.length>0?(function(){var u,d,h=Number.MAX_VALUE,f=-Number.MAX_VALUE,g=h,p=f;if(t.chart.stacked)(function(){var v=new Array(a.dataPoints).fill(0),x=[],k=[],y=[];c.forEach((function(){x.push(v.map((function(){return Number.MIN_VALUE}))),k.push(v.map((function(){return Number.MIN_VALUE}))),y.push(v.map((function(){return Number.MIN_VALUE})))}));for(var A=function(S){!u&&t.series[o[S]].type&&(u=t.series[o[S]].type);var C=o[S];d=t.series[C].group?t.series[C].group:"axis-".concat(l),!(a.collapsedSeriesIndices.indexOf(C)<0&&a.ancillaryCollapsedSeriesIndices.indexOf(C)<0)||(a.allSeriesCollapsed=!1,c.forEach((function(E,M){if(t.series[C].group===E)for(var P=0;P<a.series[C].length;P++){var D=a.series[C][P];D>=0?k[M][P]+=D:y[M][P]+=D,x[M][P]+=D,g=Math.min(g,D),p=Math.max(p,D)}}))),u!=="bar"&&u!=="column"||a.barGroups.push(d)},w=0;w<o.length;w++)A(w);u||(u=t.chart.type),u==="bar"||u==="column"?c.forEach((function(S,C){h=Math.min(h,Math.min.apply(null,y[C])),f=Math.max(f,Math.max.apply(null,k[C]))})):(c.forEach((function(S,C){g=Math.min(g,Math.min.apply(null,x[C])),p=Math.max(p,Math.max.apply(null,x[C]))})),h=g,f=p),h===Number.MIN_VALUE&&f===Number.MIN_VALUE&&(f=-Number.MAX_VALUE)})();else for(var m=0;m<o.length;m++){var b=o[m];h=Math.min(h,r[b]),f=Math.max(f,n[b]),!(a.collapsedSeriesIndices.indexOf(b)<0&&a.ancillaryCollapsedSeriesIndices.indexOf(b)<0)||(a.allSeriesCollapsed=!1)}t.yaxis[l].min!==void 0&&(h=typeof t.yaxis[l].min=="function"?t.yaxis[l].min(h):t.yaxis[l].min),t.yaxis[l].max!==void 0&&(f=typeof t.yaxis[l].max=="function"?t.yaxis[l].max(f):t.yaxis[l].max),a.barGroups=a.barGroups.filter((function(v,x,k){return k.indexOf(v)===x})),e.setYScaleForIndex(l,h,f),o.forEach((function(v){r[v]=a.yAxisScale[l].niceMin,n[v]=a.yAxisScale[l].niceMax}))})():e.setYScaleForIndex(l,0,-Number.MAX_VALUE)}))}}]),i})(),gu=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.scales=new Mx(e)}return te(i,[{key:"init",value:function(){this.setYRange(),this.setXRange(),this.setZRange()}},{key:"getMinYMaxY",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:-Number.MAX_VALUE,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,r=this.w.config,n=this.w.globals,o=-Number.MAX_VALUE,l=Number.MIN_VALUE;s===null&&(s=e+1);var c=n.series,u=c,d=c;r.chart.type==="candlestick"?(u=n.seriesCandleL,d=n.seriesCandleH):r.chart.type==="boxPlot"?(u=n.seriesCandleO,d=n.seriesCandleC):n.isRangeData&&(u=n.seriesRangeStart,d=n.seriesRangeEnd);var h=!1;if(n.seriesX.length>=s){var f,g=(f=n.brushSource)===null||f===void 0?void 0:f.w.config.chart.brush;(r.chart.zoom.enabled&&r.chart.zoom.autoScaleYaxis||g!=null&&g.enabled&&g!=null&&g.autoScaleYaxis)&&(h=!0)}for(var p=e;p<s;p++){n.dataPoints=Math.max(n.dataPoints,c[p].length);var m=r.series[p].type;n.categoryLabels.length&&(n.dataPoints=n.categoryLabels.filter((function(C){return C!==void 0})).length),n.labels.length&&r.xaxis.type!=="datetime"&&n.series.reduce((function(C,E){return C+E.length}),0)!==0&&(n.dataPoints=Math.max(n.dataPoints,n.labels.length));var b=0,v=c[p].length-1;if(h){if(r.xaxis.min)for(;b<v&&n.seriesX[p][b]<r.xaxis.min;b++);if(r.xaxis.max)for(;v>b&&n.seriesX[p][v]>r.xaxis.max;v--);}for(var x=b;x<=v&&x<n.series[p].length;x++){var k=c[p][x];if(k!==null&&T.isNumber(k)){var y,A,w,S;switch(((y=d[p])===null||y===void 0?void 0:y[x])!==void 0&&(o=Math.max(o,d[p][x]),t=Math.min(t,d[p][x])),((A=u[p])===null||A===void 0?void 0:A[x])!==void 0&&(t=Math.min(t,u[p][x]),a=Math.max(a,u[p][x])),m){case"candlestick":n.seriesCandleC[p][x]!==void 0&&(o=Math.max(o,n.seriesCandleH[p][x]),t=Math.min(t,n.seriesCandleL[p][x]));break;case"boxPlot":n.seriesCandleC[p][x]!==void 0&&(o=Math.max(o,n.seriesCandleC[p][x]),t=Math.min(t,n.seriesCandleO[p][x]))}m&&m!=="candlestick"&&m!=="boxPlot"&&m!=="rangeArea"&&m!=="rangeBar"&&(o=Math.max(o,n.series[p][x]),t=Math.min(t,n.series[p][x])),n.seriesGoals[p]&&n.seriesGoals[p][x]&&Array.isArray(n.seriesGoals[p][x])&&n.seriesGoals[p][x].forEach((function(C){o=Math.max(o,C.value),t=Math.min(t,C.value)})),a=o,k=T.noExponents(k),T.isFloat(k)&&(n.yValueDecimal=Math.max(n.yValueDecimal,k.toString().split(".")[1].length)),l>((w=u[p])===null||w===void 0?void 0:w[x])&&((S=u[p])===null||S===void 0?void 0:S[x])<0&&(l=u[p][x])}else n.hasNullValues=!0}m!=="bar"&&m!=="column"||(l<0&&o<0&&(o=0,a=Math.max(a,0)),l===Number.MIN_VALUE&&(l=0,t=Math.min(t,0)))}return r.chart.type==="rangeBar"&&n.seriesRangeStart.length&&n.isBarHorizontal&&(l=t),r.chart.type==="bar"&&(l<0&&o<0&&(o=0),l===Number.MIN_VALUE&&(l=0)),{minY:l,maxY:o,lowestY:t,highestY:a}}},{key:"setYRange",value:function(){var e=this.w.globals,t=this.w.config;e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE;var a,s=Number.MAX_VALUE;if(e.isMultipleYAxis){s=Number.MAX_VALUE;for(var r=0;r<e.series.length;r++)a=this.getMinYMaxY(r),e.minYArr[r]=a.lowestY,e.maxYArr[r]=a.highestY,s=Math.min(s,a.lowestY)}return a=this.getMinYMaxY(0,s,null,e.series.length),t.chart.type==="bar"?(e.minY=a.minY,e.maxY=a.maxY):(e.minY=a.lowestY,e.maxY=a.highestY),s=a.lowestY,t.chart.stacked&&this._setStackedMinMax(),t.chart.type==="line"||t.chart.type==="area"||t.chart.type==="scatter"||t.chart.type==="candlestick"||t.chart.type==="boxPlot"||t.chart.type==="rangeBar"&&!e.isBarHorizontal?e.minY===Number.MIN_VALUE&&s!==-Number.MAX_VALUE&&s!==e.maxY&&(e.minY=s):e.minY=e.minY!==Number.MIN_VALUE?Math.min(a.minY,e.minY):a.minY,t.yaxis.forEach((function(n,o){n.max!==void 0&&(typeof n.max=="number"?e.maxYArr[o]=n.max:typeof n.max=="function"&&(e.maxYArr[o]=n.max(e.isMultipleYAxis?e.maxYArr[o]:e.maxY)),e.maxY=e.maxYArr[o]),n.min!==void 0&&(typeof n.min=="number"?e.minYArr[o]=n.min:typeof n.min=="function"&&(e.minYArr[o]=n.min(e.isMultipleYAxis?e.minYArr[o]===Number.MIN_VALUE?0:e.minYArr[o]:e.minY)),e.minY=e.minYArr[o])})),e.isBarHorizontal&&["min","max"].forEach((function(n){t.xaxis[n]!==void 0&&typeof t.xaxis[n]=="number"&&(n==="min"?e.minY=t.xaxis[n]:e.maxY=t.xaxis[n])})),e.isMultipleYAxis?(this.scales.scaleMultipleYAxes(),e.minY=s):(this.scales.setYScaleForIndex(0,e.minY,e.maxY),e.minY=e.yAxisScale[0].niceMin,e.maxY=e.yAxisScale[0].niceMax,e.minYArr[0]=e.minY,e.maxYArr[0]=e.maxY),e.barGroups=[],e.lineGroups=[],e.areaGroups=[],t.series.forEach((function(n){switch(n.type||t.chart.type){case"bar":case"column":e.barGroups.push(n.group);break;case"line":e.lineGroups.push(n.group);break;case"area":e.areaGroups.push(n.group)}})),e.barGroups=e.barGroups.filter((function(n,o,l){return l.indexOf(n)===o})),e.lineGroups=e.lineGroups.filter((function(n,o,l){return l.indexOf(n)===o})),e.areaGroups=e.areaGroups.filter((function(n,o,l){return l.indexOf(n)===o})),{minY:e.minY,maxY:e.maxY,minYArr:e.minYArr,maxYArr:e.maxYArr,yAxisScale:e.yAxisScale}}},{key:"setXRange",value:function(){var e=this.w.globals,t=this.w.config,a=t.xaxis.type==="numeric"||t.xaxis.type==="datetime"||t.xaxis.type==="category"&&!e.noLabelsProvided||e.noLabelsProvided||e.isXNumeric;if(e.isXNumeric&&(function(){for(var l=0;l<e.series.length;l++)if(e.labels[l])for(var c=0;c<e.labels[l].length;c++)e.labels[l][c]!==null&&T.isNumber(e.labels[l][c])&&(e.maxX=Math.max(e.maxX,e.labels[l][c]),e.initialMaxX=Math.max(e.maxX,e.labels[l][c]),e.minX=Math.min(e.minX,e.labels[l][c]),e.initialMinX=Math.min(e.minX,e.labels[l][c]))})(),e.noLabelsProvided&&t.xaxis.categories.length===0&&(e.maxX=e.labels[e.labels.length-1],e.initialMaxX=e.labels[e.labels.length-1],e.minX=1,e.initialMinX=1),e.isXNumeric||e.noLabelsProvided||e.dataFormatXNumeric){var s=10;if(t.xaxis.tickAmount===void 0)s=Math.round(e.svgWidth/150),t.xaxis.type==="numeric"&&e.dataPoints<30&&(s=e.dataPoints-1),s>e.dataPoints&&e.dataPoints!==0&&(s=e.dataPoints-1);else if(t.xaxis.tickAmount==="dataPoints"){if(e.series.length>1&&(s=e.series[e.maxValsInArrayIndex].length-1),e.isXNumeric){var r=Math.round(e.maxX-e.minX);r<30&&(s=r)}}else s=t.xaxis.tickAmount;if(e.xTickAmount=s,t.xaxis.max!==void 0&&typeof t.xaxis.max=="number"&&(e.maxX=t.xaxis.max),t.xaxis.min!==void 0&&typeof t.xaxis.min=="number"&&(e.minX=t.xaxis.min),t.xaxis.range!==void 0&&(e.minX=e.maxX-t.xaxis.range),e.minX!==Number.MAX_VALUE&&e.maxX!==-Number.MAX_VALUE)if(t.xaxis.convertedCatToNumeric&&!e.dataFormatXNumeric){for(var n=[],o=e.minX-1;o<e.maxX;o++)n.push(o+1);e.xAxisScale={result:n,niceMin:n[0],niceMax:n[n.length-1]}}else e.xAxisScale=this.scales.setXScale(e.minX,e.maxX);else e.xAxisScale=this.scales.linearScale(0,s,s,0,t.xaxis.stepSize),e.noLabelsProvided&&e.labels.length>0&&(e.xAxisScale=this.scales.linearScale(1,e.labels.length,s-1,0,t.xaxis.stepSize),e.seriesX=e.labels.slice());a&&(e.labels=e.xAxisScale.result.slice())}return e.isBarHorizontal&&e.labels.length&&(e.xTickAmount=e.labels.length),this._handleSingleDataPoint(),this._getMinXDiff(),{minX:e.minX,maxX:e.maxX}}},{key:"setZRange",value:function(){var e=this.w.globals;if(e.isDataXYZ){for(var t=0;t<e.series.length;t++)if(e.seriesZ[t]!==void 0)for(var a=0;a<e.seriesZ[t].length;a++)e.seriesZ[t][a]!==null&&T.isNumber(e.seriesZ[t][a])&&(e.maxZ=Math.max(e.maxZ,e.seriesZ[t][a]),e.minZ=Math.min(e.minZ,e.seriesZ[t][a]))}}},{key:"_handleSingleDataPoint",value:function(){var e=this.w.globals,t=this.w.config;if(e.minX===e.maxX){var a=new pt(this.ctx);if(t.xaxis.type==="datetime"){var s=a.getDate(e.minX);t.xaxis.labels.datetimeUTC?s.setUTCDate(s.getUTCDate()-2):s.setDate(s.getDate()-2),e.minX=new Date(s).getTime();var r=a.getDate(e.maxX);t.xaxis.labels.datetimeUTC?r.setUTCDate(r.getUTCDate()+2):r.setDate(r.getDate()+2),e.maxX=new Date(r).getTime()}else(t.xaxis.type==="numeric"||t.xaxis.type==="category"&&!e.noLabelsProvided)&&(e.minX=e.minX-2,e.initialMinX=e.minX,e.maxX=e.maxX+2,e.initialMaxX=e.maxX)}}},{key:"_getMinXDiff",value:function(){var e=this.w.globals;e.isXNumeric&&e.seriesX.forEach((function(t,a){if(t.length){t.length===1&&t.push(e.seriesX[e.maxValsInArrayIndex][e.seriesX[e.maxValsInArrayIndex].length-1]);var s=t.slice();s.sort((function(r,n){return r-n})),s.forEach((function(r,n){if(n>0){var o=r-s[n-1];o>0&&(e.minXDiff=Math.min(o,e.minXDiff))}})),e.dataPoints!==1&&e.minXDiff!==Number.MAX_VALUE||(e.minXDiff=.5)}}))}},{key:"_setStackedMinMax",value:function(){var e=this,t=this.w.globals;if(t.series.length){var a=t.seriesGroups;a.length||(a=[this.w.globals.seriesNames.map((function(n){return n}))]);var s={},r={};a.forEach((function(n){s[n]=[],r[n]=[],e.w.config.series.map((function(o,l){return n.indexOf(t.seriesNames[l])>-1?l:null})).filter((function(o){return o!==null})).forEach((function(o){for(var l=0;l<t.series[t.maxValsInArrayIndex].length;l++){var c,u,d,h;s[n][l]===void 0&&(s[n][l]=0,r[n][l]=0),(e.w.config.chart.stacked&&!t.comboCharts||e.w.config.chart.stacked&&t.comboCharts&&(!e.w.config.chart.stackOnlyBar||((c=e.w.config.series)===null||c===void 0||(u=c[o])===null||u===void 0?void 0:u.type)==="bar"||((d=e.w.config.series)===null||d===void 0||(h=d[o])===null||h===void 0?void 0:h.type)==="column"))&&t.series[o][l]!==null&&T.isNumber(t.series[o][l])&&(t.series[o][l]>0?s[n][l]+=parseFloat(t.series[o][l])+1e-4:r[n][l]+=parseFloat(t.series[o][l]))}}))})),Object.entries(s).forEach((function(n){var o=Gv(n,1)[0];s[o].forEach((function(l,c){t.maxY=Math.max(t.maxY,s[o][c]),t.minY=Math.min(t.minY,r[o][c])}))}))}}}]),i})(),Pd=(function(){function i(e,t){ee(this,i),this.ctx=e,this.elgrid=t,this.w=e.w;var a=this.w;this.xaxisFontSize=a.config.xaxis.labels.style.fontSize,this.axisFontFamily=a.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=a.config.xaxis.labels.style.colors,this.isCategoryBarHorizontal=a.config.chart.type==="bar"&&a.config.plotOptions.bar.horizontal,this.xAxisoffX=a.config.xaxis.position==="bottom"?a.globals.gridHeight:0,this.drawnLabels=[],this.axesUtils=new va(e)}return te(i,[{key:"drawYaxis",value:function(e){var t=this.w,a=new Y(this.ctx),s=t.config.yaxis[e].labels.style,r=s.fontSize,n=s.fontFamily,o=s.fontWeight,l=a.group({class:"apexcharts-yaxis",rel:e,transform:"translate(".concat(t.globals.translateYAxisX[e],", 0)")});if(this.axesUtils.isYAxisHidden(e))return l;var c=a.group({class:"apexcharts-yaxis-texts-g"});l.add(c);var u=t.globals.yAxisScale[e].result.length-1,d=t.globals.gridHeight/u,h=t.globals.yLabelFormatters[e],f=this.axesUtils.checkForReversedLabels(e,t.globals.yAxisScale[e].result.slice());if(t.config.yaxis[e].labels.show){var g=t.globals.translateY+t.config.yaxis[e].labels.offsetY;t.globals.isBarHorizontal?g=0:t.config.chart.type==="heatmap"&&(g-=d/2),g+=parseInt(r,10)/3;for(var p=u;p>=0;p--){var m=h(f[p],p,t),b=t.config.yaxis[e].labels.padding;t.config.yaxis[e].opposite&&t.config.yaxis.length!==0&&(b*=-1);var v=this.getTextAnchor(t.config.yaxis[e].labels.align,t.config.yaxis[e].opposite),x=this.axesUtils.getYAxisForeColor(s.colors,e),k=Array.isArray(x)?x[p]:x,y=T.listToArray(t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-label tspan"))).map((function(w){return w.textContent})),A=a.drawText({x:b,y:g,text:y.includes(m)&&!t.config.yaxis[e].labels.showDuplicates?"":m,textAnchor:v,fontSize:r,fontFamily:n,fontWeight:o,maxWidth:t.config.yaxis[e].labels.maxWidth,foreColor:k,isPlainText:!1,cssClass:"apexcharts-yaxis-label ".concat(s.cssClass)});c.add(A),this.addTooltip(A,m),t.config.yaxis[e].labels.rotate!==0&&this.rotateLabel(a,A,firstLabel,t.config.yaxis[e].labels.rotate),g+=d}}return this.addYAxisTitle(a,l,e),this.addAxisBorder(a,l,e,u,d),l}},{key:"getTextAnchor",value:function(e,t){return e==="left"?"start":e==="center"?"middle":e==="right"?"end":t?"start":"end"}},{key:"addTooltip",value:function(e,t){var a=document.createElementNS(this.w.globals.SVGNS,"title");a.textContent=Array.isArray(t)?t.join(" "):t,e.node.appendChild(a)}},{key:"rotateLabel",value:function(e,t,a,s){var r=e.rotateAroundCenter(a.node),n=e.rotateAroundCenter(t.node);t.node.setAttribute("transform","rotate(".concat(s," ").concat(r.x," ").concat(n.y,")"))}},{key:"addYAxisTitle",value:function(e,t,a){var s=this.w;if(s.config.yaxis[a].title.text!==void 0){var r=e.group({class:"apexcharts-yaxis-title"}),n=s.config.yaxis[a].opposite?s.globals.translateYAxisX[a]:0,o=e.drawText({x:n,y:s.globals.gridHeight/2+s.globals.translateY+s.config.yaxis[a].title.offsetY,text:s.config.yaxis[a].title.text,textAnchor:"end",foreColor:s.config.yaxis[a].title.style.color,fontSize:s.config.yaxis[a].title.style.fontSize,fontWeight:s.config.yaxis[a].title.style.fontWeight,fontFamily:s.config.yaxis[a].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text ".concat(s.config.yaxis[a].title.style.cssClass)});r.add(o),t.add(r)}}},{key:"addAxisBorder",value:function(e,t,a,s,r){var n=this.w,o=n.config.yaxis[a].axisBorder,l=31+o.offsetX;if(n.config.yaxis[a].opposite&&(l=-31-o.offsetX),o.show){var c=e.drawLine(l,n.globals.translateY+o.offsetY-2,l,n.globals.gridHeight+n.globals.translateY+o.offsetY+2,o.color,0,o.width);t.add(c)}n.config.yaxis[a].axisTicks.show&&this.axesUtils.drawYAxisTicks(l,s,o,n.config.yaxis[a].axisTicks,a,r,t)}},{key:"drawYaxisInversed",value:function(e){var t=this.w,a=new Y(this.ctx),s=a.group({class:"apexcharts-xaxis apexcharts-yaxis-inversed"}),r=a.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(t.globals.translateXAxisX,", ").concat(t.globals.translateXAxisY,")")});s.add(r);var n=t.globals.yAxisScale[e].result.length-1,o=t.globals.gridWidth/n+.1,l=o+t.config.xaxis.labels.offsetX,c=t.globals.xLabelFormatter,u=this.axesUtils.checkForReversedLabels(e,t.globals.yAxisScale[e].result.slice()),d=t.globals.timescaleLabels;if(d.length>0&&(this.xaxisLabels=d.slice(),n=(u=d.slice()).length),t.config.xaxis.labels.show)for(var h=d.length?0:n;d.length?h<d.length:h>=0;d.length?h++:h--){var f=c(u[h],h,t),g=t.globals.gridWidth+t.globals.padHorizontal-(l-o+t.config.xaxis.labels.offsetX);if(d.length){var p=this.axesUtils.getLabel(u,d,g,h,this.drawnLabels,this.xaxisFontSize);g=p.x,f=p.text,this.drawnLabels.push(p.text),h===0&&t.globals.skipFirstTimelinelabel&&(f=""),h===u.length-1&&t.globals.skipLastTimelinelabel&&(f="")}var m=a.drawText({x:g,y:this.xAxisoffX+t.config.xaxis.labels.offsetY+30-(t.config.xaxis.position==="top"?t.globals.xAxisHeight+t.config.xaxis.axisTicks.height-2:0),text:f,textAnchor:"middle",foreColor:Array.isArray(this.xaxisForeColors)?this.xaxisForeColors[e]:this.xaxisForeColors,fontSize:this.xaxisFontSize,fontFamily:this.xaxisFontFamily,fontWeight:t.config.xaxis.labels.style.fontWeight,isPlainText:!1,cssClass:"apexcharts-xaxis-label ".concat(t.config.xaxis.labels.style.cssClass)});r.add(m),m.tspan(f),this.addTooltip(m,f),l+=o}return this.inversedYAxisTitleText(s),this.inversedYAxisBorder(s),s}},{key:"inversedYAxisBorder",value:function(e){var t=this.w,a=new Y(this.ctx),s=t.config.xaxis.axisBorder;if(s.show){var r=0;t.config.chart.type==="bar"&&t.globals.isXNumeric&&(r-=15);var n=a.drawLine(t.globals.padHorizontal+r+s.offsetX,this.xAxisoffX,t.globals.gridWidth,this.xAxisoffX,s.color,0,s.height);this.elgrid&&this.elgrid.elGridBorders&&t.config.grid.show?this.elgrid.elGridBorders.add(n):e.add(n)}}},{key:"inversedYAxisTitleText",value:function(e){var t=this.w,a=new Y(this.ctx);if(t.config.xaxis.title.text!==void 0){var s=a.group({class:"apexcharts-xaxis-title apexcharts-yaxis-title-inversed"}),r=a.drawText({x:t.globals.gridWidth/2+t.config.xaxis.title.offsetX,y:this.xAxisoffX+parseFloat(this.xaxisFontSize)+parseFloat(t.config.xaxis.title.style.fontSize)+t.config.xaxis.title.offsetY+20,text:t.config.xaxis.title.text,textAnchor:"middle",fontSize:t.config.xaxis.title.style.fontSize,fontFamily:t.config.xaxis.title.style.fontFamily,fontWeight:t.config.xaxis.title.style.fontWeight,foreColor:t.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text ".concat(t.config.xaxis.title.style.cssClass)});s.add(r),e.add(s)}}},{key:"yAxisTitleRotate",value:function(e,t){var a=this.w,s=new Y(this.ctx),r=a.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-texts-g")),n=r?r.getBoundingClientRect():{width:0,height:0},o=a.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-title text")),l=o?o.getBoundingClientRect():{width:0,height:0};if(o){var c=this.xPaddingForYAxisTitle(e,n,l,t);o.setAttribute("x",c.xPos-(t?10:0));var u=s.rotateAroundCenter(o);o.setAttribute("transform","rotate(".concat(t?-1*a.config.yaxis[e].title.rotate:a.config.yaxis[e].title.rotate," ").concat(u.x," ").concat(u.y,")"))}}},{key:"xPaddingForYAxisTitle",value:function(e,t,a,s){var r=this.w,n=0,o=10;return r.config.yaxis[e].title.text===void 0||e<0?{xPos:n,padd:0}:(s?n=t.width+r.config.yaxis[e].title.offsetX+a.width/2+o/2:(n=-1*t.width+r.config.yaxis[e].title.offsetX+o/2+a.width/2,r.globals.isBarHorizontal&&(o=25,n=-1*t.width-r.config.yaxis[e].title.offsetX-o)),{xPos:n,padd:o})}},{key:"setYAxisXPosition",value:function(e,t){var a=this.w,s=0,r=0,n=18,o=1;a.config.yaxis.length>1&&(this.multipleYs=!0),a.config.yaxis.forEach((function(l,c){var u=a.globals.ignoreYAxisIndexes.includes(c)||!l.show||l.floating||e[c].width===0,d=e[c].width+t[c].width;l.opposite?a.globals.isBarHorizontal?(r=a.globals.gridWidth+a.globals.translateX-1,a.globals.translateYAxisX[c]=r-l.labels.offsetX):(r=a.globals.gridWidth+a.globals.translateX+o,u||(o+=d+20),a.globals.translateYAxisX[c]=r-l.labels.offsetX+20):(s=a.globals.translateX-n,u||(n+=d+20),a.globals.translateYAxisX[c]=s+l.labels.offsetX)}))}},{key:"setYAxisTextAlignments",value:function(){var e=this.w;T.listToArray(e.globals.dom.baseEl.getElementsByClassName("apexcharts-yaxis")).forEach((function(t,a){var s=e.config.yaxis[a];if(s&&!s.floating&&s.labels.align!==void 0){var r=e.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(a,"'] .apexcharts-yaxis-texts-g")),n=T.listToArray(e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(a,"'] .apexcharts-yaxis-label"))),o=r.getBoundingClientRect();n.forEach((function(l){l.setAttribute("text-anchor",s.labels.align)})),s.labels.align!=="left"||s.opposite?s.labels.align==="center"?r.setAttribute("transform","translate(".concat(o.width/2*(s.opposite?1:-1),", 0)")):s.labels.align==="right"&&s.opposite&&r.setAttribute("transform","translate(".concat(o.width,", 0)")):r.setAttribute("transform","translate(-".concat(o.width,", 0)"))}}))}}]),i})(),W_=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.documentEvent=T.bind(this.documentEvent,this)}return te(i,[{key:"addEventListener",value:function(e,t){var a=this.w;a.globals.events.hasOwnProperty(e)?a.globals.events[e].push(t):a.globals.events[e]=[t]}},{key:"removeEventListener",value:function(e,t){var a=this.w;if(a.globals.events.hasOwnProperty(e)){var s=a.globals.events[e].indexOf(t);s!==-1&&a.globals.events[e].splice(s,1)}}},{key:"fireEvent",value:function(e,t){var a=this.w;if(a.globals.events.hasOwnProperty(e)){t&&t.length||(t=[]);for(var s=a.globals.events[e],r=s.length,n=0;n<r;n++)s[n].apply(null,t)}}},{key:"setupEventHandlers",value:function(){var e=this,t=this.w,a=this.ctx,s=t.globals.dom.baseEl.querySelector(t.globals.chartClass);this.ctx.eventList.forEach((function(r){s.addEventListener(r,(function(n){var o=n.target.getAttribute("i")===null&&t.globals.capturedSeriesIndex!==-1?t.globals.capturedSeriesIndex:n.target.getAttribute("i"),l=n.target.getAttribute("j")===null&&t.globals.capturedDataPointIndex!==-1?t.globals.capturedDataPointIndex:n.target.getAttribute("j"),c=Object.assign({},t,{seriesIndex:t.globals.axisCharts?o:0,dataPointIndex:l});n.type==="mousemove"||n.type==="touchmove"?typeof t.config.chart.events.mouseMove=="function"&&t.config.chart.events.mouseMove(n,a,c):n.type==="mouseleave"||n.type==="touchleave"?typeof t.config.chart.events.mouseLeave=="function"&&t.config.chart.events.mouseLeave(n,a,c):(n.type==="mouseup"&&n.which===1||n.type==="touchend")&&(typeof t.config.chart.events.click=="function"&&t.config.chart.events.click(n,a,c),a.ctx.events.fireEvent("click",[n,a,c]))}),{capture:!1,passive:!0})})),this.ctx.eventList.forEach((function(r){t.globals.dom.baseEl.addEventListener(r,e.documentEvent,{passive:!0})})),this.ctx.core.setupBrushHandler()}},{key:"documentEvent",value:function(e){var t=this.w,a=e.target.className;if(e.type==="click"){var s=t.globals.dom.baseEl.querySelector(".apexcharts-menu");s&&s.classList.contains("apexcharts-menu-open")&&a!=="apexcharts-menu-icon"&&s.classList.remove("apexcharts-menu-open")}t.globals.clientX=e.type==="touchmove"?e.touches[0].clientX:e.clientX,t.globals.clientY=e.type==="touchmove"?e.touches[0].clientY:e.clientY}}]),i})(),j_=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"setCurrentLocaleValues",value:function(e){var t=this.w.config.chart.locales;window.Apex.chart&&window.Apex.chart.locales&&window.Apex.chart.locales.length>0&&(t=this.w.config.chart.locales.concat(window.Apex.chart.locales));var a=t.filter((function(r){return r.name===e}))[0];if(!a)throw new Error("Wrong locale name provided. Please make sure you set the correct locale name in options");var s=T.extend(kx,a);this.w.globals.locale=s.options}}]),i})(),V_=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"drawAxis",value:function(e,t){var a,s,r=this,n=this.w.globals,o=this.w.config,l=new zr(this.ctx,t),c=new Pd(this.ctx,t);n.axisCharts&&e!=="radar"&&(n.isBarHorizontal?(s=c.drawYaxisInversed(0),a=l.drawXaxisInversed(0),n.dom.elGraphical.add(a),n.dom.elGraphical.add(s)):(a=l.drawXaxis(),n.dom.elGraphical.add(a),o.yaxis.map((function(u,d){if(n.ignoreYAxisIndexes.indexOf(d)===-1&&(s=c.drawYaxis(d),n.dom.Paper.add(s),r.w.config.grid.position==="back")){var h=n.dom.Paper.children()[1];h.remove(),n.dom.Paper.add(h)}}))))}}]),i})(),pu=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"drawXCrosshairs",value:function(){var e=this.w,t=new Y(this.ctx),a=new bt(this.ctx),s=e.config.xaxis.crosshairs.fill.gradient,r=e.config.xaxis.crosshairs.dropShadow,n=e.config.xaxis.crosshairs.fill.type,o=s.colorFrom,l=s.colorTo,c=s.opacityFrom,u=s.opacityTo,d=s.stops,h=r.enabled,f=r.left,g=r.top,p=r.blur,m=r.color,b=r.opacity,v=e.config.xaxis.crosshairs.fill.color;if(e.config.xaxis.crosshairs.show){n==="gradient"&&(v=t.drawGradient("vertical",o,l,c,u,null,d,null));var x=t.drawRect();e.config.xaxis.crosshairs.width===1&&(x=t.drawLine());var k=e.globals.gridHeight;(!T.isNumber(k)||k<0)&&(k=0);var y=e.config.xaxis.crosshairs.width;(!T.isNumber(y)||y<0)&&(y=0),x.attr({class:"apexcharts-xcrosshairs",x:0,y:0,y2:k,width:y,height:k,fill:v,filter:"none","fill-opacity":e.config.xaxis.crosshairs.opacity,stroke:e.config.xaxis.crosshairs.stroke.color,"stroke-width":e.config.xaxis.crosshairs.stroke.width,"stroke-dasharray":e.config.xaxis.crosshairs.stroke.dashArray}),h&&(x=a.dropShadow(x,{left:f,top:g,blur:p,color:m,opacity:b})),e.globals.dom.elGraphical.add(x)}}},{key:"drawYCrosshairs",value:function(){var e=this.w,t=new Y(this.ctx),a=e.config.yaxis[0].crosshairs,s=e.globals.barPadForNumericAxis;if(e.config.yaxis[0].crosshairs.show){var r=t.drawLine(-s,0,e.globals.gridWidth+s,0,a.stroke.color,a.stroke.dashArray,a.stroke.width);r.attr({class:"apexcharts-ycrosshairs"}),e.globals.dom.elGraphical.add(r)}var n=t.drawLine(-s,0,e.globals.gridWidth+s,0,a.stroke.color,0,0);n.attr({class:"apexcharts-ycrosshairs-hidden"}),e.globals.dom.elGraphical.add(n)}}]),i})(),Y_=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"checkResponsiveConfig",value:function(e){var t=this,a=this.w,s=a.config;if(s.responsive.length!==0){var r=s.responsive.slice();r.sort((function(c,u){return c.breakpoint>u.breakpoint?1:u.breakpoint>c.breakpoint?-1:0})).reverse();var n=new Fr({}),o=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=r[0].breakpoint,d=window.innerWidth>0?window.innerWidth:screen.width;if(d>u){var h=T.clone(a.globals.initialConfig);h.series=T.clone(a.config.series);var f=rt.extendArrayProps(n,h,a);c=T.extend(f,c),c=T.extend(a.config,c),t.overrideResponsiveOptions(c)}else for(var g=0;g<r.length;g++)d<r[g].breakpoint&&(c=rt.extendArrayProps(n,r[g].options,a),c=T.extend(a.config,c),t.overrideResponsiveOptions(c))};if(e){var l=rt.extendArrayProps(n,e,a);l=T.extend(a.config,l),o(l=T.extend(l,e))}else o({})}}},{key:"overrideResponsiveOptions",value:function(e){var t=new Fr(e).init({responsiveOverride:!0});this.w.config=t}}]),i})(),U_=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.colors=[],this.isColorFn=!1,this.isHeatmapDistributed=this.checkHeatmapDistributed(),this.isBarDistributed=this.checkBarDistributed()}return te(i,[{key:"checkHeatmapDistributed",value:function(){var e=this.w.config,t=e.chart,a=e.plotOptions;return t.type==="treemap"&&a.treemap&&a.treemap.distributed||t.type==="heatmap"&&a.heatmap&&a.heatmap.distributed}},{key:"checkBarDistributed",value:function(){var e=this.w.config,t=e.chart,a=e.plotOptions;return a.bar&&a.bar.distributed&&(t.type==="bar"||t.type==="rangeBar")}},{key:"init",value:function(){this.setDefaultColors()}},{key:"setDefaultColors",value:function(){var e=this.w,t=new T;e.globals.dom.elWrap.classList.add("apexcharts-theme-".concat(e.config.theme.mode||"light"));var a=ft(e.config.colors||e.config.fill.colors||[]);e.globals.colors=this.getColors(a),this.applySeriesColors(e.globals.seriesColors,e.globals.colors),e.config.theme.monochrome.enabled&&(e.globals.colors=this.getMonochromeColors(e.config.theme.monochrome,e.globals.series,t));var s=e.globals.colors.slice();this.pushExtraColors(e.globals.colors),this.applyColorTypes(["fill","stroke"],s),this.applyDataLabelsColors(s),this.applyRadarPolygonsColors(),this.applyMarkersColors(s)}},{key:"getColors",value:function(e){var t=this,a=this.w;return e&&e.length!==0?Array.isArray(e)&&e.length>0&&typeof e[0]=="function"?(this.isColorFn=!0,a.config.series.map((function(s,r){var n=e[r]||e[0];return typeof n=="function"?n({value:a.globals.axisCharts?a.globals.series[r][0]||0:a.globals.series[r],seriesIndex:r,dataPointIndex:r,w:t.w}):n}))):e:this.predefined()}},{key:"applySeriesColors",value:function(e,t){e.forEach((function(a,s){a&&(t[s]=a)}))}},{key:"getMonochromeColors",value:function(e,t,a){var s=e.color,r=e.shadeIntensity,n=e.shadeTo,o=this.isBarDistributed||this.isHeatmapDistributed?t[0].length*t.length:t.length,l=1/(o/r),c=0;return Array.from({length:o},(function(){var u=n==="dark"?a.shadeColor(-1*c,s):a.shadeColor(c,s);return c+=l,u}))}},{key:"applyColorTypes",value:function(e,t){var a=this,s=this.w;e.forEach((function(r){s.globals[r].colors=s.config[r].colors===void 0?a.isColorFn?s.config.colors:t:s.config[r].colors.slice(),a.pushExtraColors(s.globals[r].colors)}))}},{key:"applyDataLabelsColors",value:function(e){var t=this.w;t.globals.dataLabels.style.colors=t.config.dataLabels.style.colors===void 0?e:t.config.dataLabels.style.colors.slice(),this.pushExtraColors(t.globals.dataLabels.style.colors,50)}},{key:"applyRadarPolygonsColors",value:function(){var e=this.w;e.globals.radarPolygons.fill.colors=e.config.plotOptions.radar.polygons.fill.colors===void 0?[e.config.theme.mode==="dark"?"#343A3F":"none"]:e.config.plotOptions.radar.polygons.fill.colors.slice(),this.pushExtraColors(e.globals.radarPolygons.fill.colors,20)}},{key:"applyMarkersColors",value:function(e){var t=this.w;t.globals.markers.colors=t.config.markers.colors===void 0?e:t.config.markers.colors.slice(),this.pushExtraColors(t.globals.markers.colors)}},{key:"pushExtraColors",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,s=this.w,r=t||s.globals.series.length;if(a===null&&(a=this.isBarDistributed||this.isHeatmapDistributed||s.config.chart.type==="heatmap"&&s.config.plotOptions.heatmap&&s.config.plotOptions.heatmap.colorScale.inverse),a&&s.globals.series.length&&(r=s.globals.series[s.globals.maxValsInArrayIndex].length*s.globals.series.length),e.length<r)for(var n=r-e.length,o=0;o<n;o++)e.push(e[o])}},{key:"updateThemeOptions",value:function(e){e.chart=e.chart||{},e.tooltip=e.tooltip||{};var t=e.theme.mode,a=t==="dark"?"palette4":t==="light"?"palette1":e.theme.palette||"palette1",s=t==="dark"?"#f6f7f8":t==="light"?"#373d3f":e.chart.foreColor||"#373d3f";return e.tooltip.theme=t||"light",e.chart.foreColor=s,e.theme.palette=a,e}},{key:"predefined",value:function(){var e=this.w.config.theme.palette,t=this.ctx.constructor.getThemePalettes();return t[e]||t.palette1}}]),i})(),X_=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"draw",value:function(){this.drawTitleSubtitle("title"),this.drawTitleSubtitle("subtitle")}},{key:"drawTitleSubtitle",value:function(e){var t=this.w,a=e==="title"?t.config.title:t.config.subtitle,s=t.globals.svgWidth/2,r=a.offsetY,n="middle";if(a.align==="left"?(s=10,n="start"):a.align==="right"&&(s=t.globals.svgWidth-10,n="end"),s+=a.offsetX,r=r+parseInt(a.style.fontSize,10)+a.margin/2,a.text!==void 0){var o=new Y(this.ctx).drawText({x:s,y:r,text:a.text,textAnchor:n,fontSize:a.style.fontSize,fontFamily:a.style.fontFamily,fontWeight:a.style.fontWeight,foreColor:a.style.color,opacity:1});o.node.setAttribute("class","apexcharts-".concat(e,"-text")),t.globals.dom.Paper.add(o)}}}]),i})(),q_=(function(){function i(e){ee(this,i),this.w=e.w,this.dCtx=e}return te(i,[{key:"getTitleSubtitleCoords",value:function(e){var t=this.w,a=0,s=0,r=e==="title"?t.config.title.floating:t.config.subtitle.floating,n=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(e,"-text"));if(n!==null&&!r){var o=n.getBoundingClientRect();a=o.width,s=t.globals.axisCharts?o.height+5:o.height}return{width:a,height:s}}},{key:"getLegendsRect",value:function(){var e=this.w,t=e.globals.dom.elLegendWrap;e.config.legend.height||e.config.legend.position!=="top"&&e.config.legend.position!=="bottom"||(t.style.maxHeight=e.globals.svgHeight/2+"px");var a=Object.assign({},T.getBoundingClientRect(t));return t!==null&&!e.config.legend.floating&&e.config.legend.show?this.dCtx.lgRect={x:a.x,y:a.y,height:a.height,width:a.height===0?0:a.width}:this.dCtx.lgRect={x:0,y:0,height:0,width:0},e.config.legend.position!=="left"&&e.config.legend.position!=="right"||1.5*this.dCtx.lgRect.width>e.globals.svgWidth&&(this.dCtx.lgRect.width=e.globals.svgWidth/1.5),this.dCtx.lgRect}},{key:"getDatalabelsRect",value:function(){var e=this,t=this.w,a=[];t.config.series.forEach((function(l,c){l.data.forEach((function(u,d){var h;h=t.globals.series[c][d],s=t.config.dataLabels.formatter(h,{ctx:e.dCtx.ctx,seriesIndex:c,dataPointIndex:d,w:t}),a.push(s)}))}));var s=T.getLargestStringFromArr(a),r=new Y(this.dCtx.ctx),n=t.config.dataLabels.style,o=r.getTextRects(s,parseInt(n.fontSize),n.fontFamily);return{width:1.05*o.width,height:o.height}}},{key:"getLargestStringFromMultiArr",value:function(e,t){var a=e;if(this.w.globals.isMultiLineX){var s=t.map((function(n,o){return Array.isArray(n)?n.length:1})),r=Math.max.apply(Math,ft(s));a=t[s.indexOf(r)]}return a}}]),i})(),G_=(function(){function i(e){ee(this,i),this.w=e.w,this.dCtx=e}return te(i,[{key:"getxAxisLabelsCoords",value:function(){var e,t=this.w,a=t.globals.labels.slice();if(t.config.xaxis.convertedCatToNumeric&&a.length===0&&(a=t.globals.categoryLabels),t.globals.timescaleLabels.length>0){var s=this.getxAxisTimeScaleLabelsCoords();e={width:s.width,height:s.height},t.globals.rotateXLabels=!1}else{this.dCtx.lgWidthForSideLegends=t.config.legend.position!=="left"&&t.config.legend.position!=="right"||t.config.legend.floating?0:this.dCtx.lgRect.width;var r=t.globals.xLabelFormatter,n=T.getLargestStringFromArr(a),o=this.dCtx.dimHelpers.getLargestStringFromMultiArr(n,a);t.globals.isBarHorizontal&&(o=n=t.globals.yAxisScale[0].result.reduce((function(g,p){return g.length>p.length?g:p}),0));var l=new on(this.dCtx.ctx),c=n;n=l.xLabelFormat(r,n,c,{i:void 0,dateFormatter:new pt(this.dCtx.ctx).formatDate,w:t}),o=l.xLabelFormat(r,o,c,{i:void 0,dateFormatter:new pt(this.dCtx.ctx).formatDate,w:t}),(t.config.xaxis.convertedCatToNumeric&&n===void 0||String(n).trim()==="")&&(o=n="1");var u=new Y(this.dCtx.ctx),d=u.getTextRects(n,t.config.xaxis.labels.style.fontSize),h=d;if(n!==o&&(h=u.getTextRects(o,t.config.xaxis.labels.style.fontSize)),(e={width:d.width>=h.width?d.width:h.width,height:d.height>=h.height?d.height:h.height}).width*a.length>t.globals.svgWidth-this.dCtx.lgWidthForSideLegends-this.dCtx.yAxisWidth-this.dCtx.gridPad.left-this.dCtx.gridPad.right&&t.config.xaxis.labels.rotate!==0||t.config.xaxis.labels.rotateAlways){if(!t.globals.isBarHorizontal){t.globals.rotateXLabels=!0;var f=function(g){return u.getTextRects(g,t.config.xaxis.labels.style.fontSize,t.config.xaxis.labels.style.fontFamily,"rotate(".concat(t.config.xaxis.labels.rotate," 0 0)"),!1)};d=f(n),n!==o&&(h=f(o)),e.height=(d.height>h.height?d.height:h.height)/1.5,e.width=d.width>h.width?d.width:h.width}}else t.globals.rotateXLabels=!1}return t.config.xaxis.labels.show||(e={width:0,height:0}),{width:e.width,height:e.height}}},{key:"getxAxisGroupLabelsCoords",value:function(){var e,t=this.w;if(!t.globals.hasXaxisGroups)return{width:0,height:0};var a,s=((e=t.config.xaxis.group.style)===null||e===void 0?void 0:e.fontSize)||t.config.xaxis.labels.style.fontSize,r=t.globals.groups.map((function(d){return d.title})),n=T.getLargestStringFromArr(r),o=this.dCtx.dimHelpers.getLargestStringFromMultiArr(n,r),l=new Y(this.dCtx.ctx),c=l.getTextRects(n,s),u=c;return n!==o&&(u=l.getTextRects(o,s)),a={width:c.width>=u.width?c.width:u.width,height:c.height>=u.height?c.height:u.height},t.config.xaxis.labels.show||(a={width:0,height:0}),{width:a.width,height:a.height}}},{key:"getxAxisTitleCoords",value:function(){var e=this.w,t=0,a=0;if(e.config.xaxis.title.text!==void 0){var s=new Y(this.dCtx.ctx).getTextRects(e.config.xaxis.title.text,e.config.xaxis.title.style.fontSize);t=s.width,a=s.height}return{width:t,height:a}}},{key:"getxAxisTimeScaleLabelsCoords",value:function(){var e,t=this.w;this.dCtx.timescaleLabels=t.globals.timescaleLabels.slice();var a=this.dCtx.timescaleLabels.map((function(r){return r.value})),s=a.reduce((function(r,n){return r===void 0?(console.error("You have possibly supplied invalid Date format. Please supply a valid JavaScript Date"),0):r.length>n.length?r:n}),0);return 1.05*(e=new Y(this.dCtx.ctx).getTextRects(s,t.config.xaxis.labels.style.fontSize)).width*a.length>t.globals.gridWidth&&t.config.xaxis.labels.rotate!==0&&(t.globals.overlappingXLabels=!0),e}},{key:"additionalPaddingXLabels",value:function(e){var t=this,a=this.w,s=a.globals,r=a.config,n=r.xaxis.type,o=e.width;s.skipLastTimelinelabel=!1,s.skipFirstTimelinelabel=!1;var l=a.config.yaxis[0].opposite&&a.globals.isBarHorizontal,c=function(u,d){r.yaxis.length>1&&(function(h){return s.collapsedSeriesIndices.indexOf(h)!==-1})(d)||(function(h){if(t.dCtx.timescaleLabels&&t.dCtx.timescaleLabels.length){var f=t.dCtx.timescaleLabels[0],g=t.dCtx.timescaleLabels[t.dCtx.timescaleLabels.length-1].position+o/1.75-t.dCtx.yAxisWidthRight,p=f.position-o/1.75+t.dCtx.yAxisWidthLeft,m=a.config.legend.position==="right"&&t.dCtx.lgRect.width>0?t.dCtx.lgRect.width:0;g>s.svgWidth-s.translateX-m&&(s.skipLastTimelinelabel=!0),p<-(h.show&&!h.floating||r.chart.type!=="bar"&&r.chart.type!=="candlestick"&&r.chart.type!=="rangeBar"&&r.chart.type!=="boxPlot"?10:o/1.75)&&(s.skipFirstTimelinelabel=!0)}else n==="datetime"?t.dCtx.gridPad.right<o&&!s.rotateXLabels&&(s.skipLastTimelinelabel=!0):n!=="datetime"&&t.dCtx.gridPad.right<o/2-t.dCtx.yAxisWidthRight&&!s.rotateXLabels&&!a.config.xaxis.labels.trim&&(t.dCtx.xPadRight=o/2+1)})(u)};r.yaxis.forEach((function(u,d){l?(t.dCtx.gridPad.left<o&&(t.dCtx.xPadLeft=o/2+1),t.dCtx.xPadRight=o/2+1):c(u,d)}))}}]),i})(),$_=(function(){function i(e){ee(this,i),this.w=e.w,this.dCtx=e}return te(i,[{key:"getyAxisLabelsCoords",value:function(){var e=this,t=this.w,a=[],s=10,r=new va(this.dCtx.ctx);return t.config.yaxis.map((function(n,o){var l={seriesIndex:o,dataPointIndex:-1,w:t},c=t.globals.yAxisScale[o],u=0;if(!r.isYAxisHidden(o)&&n.labels.show&&n.labels.minWidth!==void 0&&(u=n.labels.minWidth),!r.isYAxisHidden(o)&&n.labels.show&&c.result.length){var d=t.globals.yLabelFormatters[o],h=c.niceMin===Number.MIN_VALUE?0:c.niceMin,f=c.result.reduce((function(k,y){var A,w;return((A=String(d(k,l)))===null||A===void 0?void 0:A.length)>((w=String(d(y,l)))===null||w===void 0?void 0:w.length)?k:y}),h),g=f=d(f,l);if(f!==void 0&&f.length!==0||(f=c.niceMax),t.globals.isBarHorizontal){s=0;var p=t.globals.labels.slice();f=T.getLargestStringFromArr(p),f=d(f,{seriesIndex:o,dataPointIndex:-1,w:t}),g=e.dCtx.dimHelpers.getLargestStringFromMultiArr(f,p)}var m=new Y(e.dCtx.ctx),b="rotate(".concat(n.labels.rotate," 0 0)"),v=m.getTextRects(f,n.labels.style.fontSize,n.labels.style.fontFamily,b,!1),x=v;f!==g&&(x=m.getTextRects(g,n.labels.style.fontSize,n.labels.style.fontFamily,b,!1)),a.push({width:(u>x.width||u>v.width?u:x.width>v.width?x.width:v.width)+s,height:x.height>v.height?x.height:v.height})}else a.push({width:0,height:0})})),a}},{key:"getyAxisTitleCoords",value:function(){var e=this,t=this.w,a=[];return t.config.yaxis.map((function(s,r){if(s.show&&s.title.text!==void 0){var n=new Y(e.dCtx.ctx),o="rotate(".concat(s.title.rotate," 0 0)"),l=n.getTextRects(s.title.text,s.title.style.fontSize,s.title.style.fontFamily,o,!1);a.push({width:l.width,height:l.height})}else a.push({width:0,height:0})})),a}},{key:"getTotalYAxisWidth",value:function(){var e=this.w,t=0,a=0,s=0,r=e.globals.yAxisScale.length>1?10:0,n=new va(this.dCtx.ctx),o=function(l,c){var u=e.config.yaxis[c].floating,d=0;l.width>0&&!u?(d=l.width+r,(function(h){return e.globals.ignoreYAxisIndexes.indexOf(h)>-1})(c)&&(d=d-l.width-r)):d=u||n.isYAxisHidden(c)?0:5,e.config.yaxis[c].opposite?s+=d:a+=d,t+=d};return e.globals.yLabelsCoords.map((function(l,c){o(l,c)})),e.globals.yTitleCoords.map((function(l,c){o(l,c)})),e.globals.isBarHorizontal&&!e.config.yaxis[0].floating&&(t=e.globals.yLabelsCoords[0].width+e.globals.yTitleCoords[0].width+15),this.dCtx.yAxisWidthLeft=a,this.dCtx.yAxisWidthRight=s,t}}]),i})(),K_=(function(){function i(e){ee(this,i),this.w=e.w,this.dCtx=e}return te(i,[{key:"gridPadForColumnsInNumericAxis",value:function(e){var t=this.w,a=t.config,s=t.globals;if(s.noData||s.collapsedSeries.length+s.ancillaryCollapsedSeries.length===a.series.length)return 0;var r=function(f){return["bar","rangeBar","candlestick","boxPlot"].includes(f)},n=a.chart.type,o=0,l=r(n)?a.series.length:1;s.comboBarCount>0&&(l=s.comboBarCount),s.collapsedSeries.forEach((function(f){r(f.type)&&(l-=1)})),a.chart.stacked&&(l=1);var c=r(n)||s.comboBarCount>0,u=Math.abs(s.initialMaxX-s.initialMinX);if(c&&s.isXNumeric&&!s.isBarHorizontal&&l>0&&u!==0){u<=3&&(u=s.dataPoints);var d=u/e,h=s.minXDiff&&s.minXDiff/d>0?s.minXDiff/d:0;h>e/2&&(h/=2),(o=h*parseInt(a.plotOptions.bar.columnWidth,10)/100)<1&&(o=1),s.barPadForNumericAxis=o}return o}},{key:"gridPadFortitleSubtitle",value:function(){var e=this,t=this.w,a=t.globals,s=this.dCtx.isSparkline||!a.axisCharts?0:10;["title","subtitle"].forEach((function(o){t.config[o].text!==void 0?s+=t.config[o].margin:s+=e.dCtx.isSparkline||!a.axisCharts?0:5})),!t.config.legend.show||t.config.legend.position!=="bottom"||t.config.legend.floating||a.axisCharts||(s+=10);var r=this.dCtx.dimHelpers.getTitleSubtitleCoords("title"),n=this.dCtx.dimHelpers.getTitleSubtitleCoords("subtitle");a.gridHeight-=r.height+n.height+s,a.translateY+=r.height+n.height+s}},{key:"setGridXPosForDualYAxis",value:function(e,t){var a=this.w,s=new va(this.dCtx.ctx);a.config.yaxis.forEach((function(r,n){a.globals.ignoreYAxisIndexes.indexOf(n)!==-1||r.floating||s.isYAxisHidden(n)||(r.opposite&&(a.globals.translateX-=t[n].width+e[n].width+parseInt(r.labels.style.fontSize,10)/1.2+12),a.globals.translateX<2&&(a.globals.translateX=2))}))}}]),i})(),yo=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.lgRect={},this.yAxisWidth=0,this.yAxisWidthLeft=0,this.yAxisWidthRight=0,this.xAxisHeight=0,this.isSparkline=this.w.config.chart.sparkline.enabled,this.dimHelpers=new q_(this),this.dimYAxis=new $_(this),this.dimXAxis=new G_(this),this.dimGrid=new K_(this),this.lgWidthForSideLegends=0,this.gridPad=this.w.config.grid.padding,this.xPadRight=0,this.xPadLeft=0}return te(i,[{key:"plotCoords",value:function(){var e=this,t=this.w,a=t.globals;this.lgRect=this.dimHelpers.getLegendsRect(),this.datalabelsCoords={width:0,height:0};var s=Array.isArray(t.config.stroke.width)?Math.max.apply(Math,ft(t.config.stroke.width)):t.config.stroke.width;this.isSparkline&&((t.config.markers.discrete.length>0||t.config.markers.size>0)&&Object.entries(this.gridPad).forEach((function(n){var o=Gv(n,2),l=o[0],c=o[1];e.gridPad[l]=Math.max(c,e.w.globals.markers.largestSize/1.5)})),this.gridPad.top=Math.max(s/2,this.gridPad.top),this.gridPad.bottom=Math.max(s/2,this.gridPad.bottom)),a.axisCharts?this.setDimensionsForAxisCharts():this.setDimensionsForNonAxisCharts(),this.dimGrid.gridPadFortitleSubtitle(),a.gridHeight=a.gridHeight-this.gridPad.top-this.gridPad.bottom,a.gridWidth=a.gridWidth-this.gridPad.left-this.gridPad.right-this.xPadRight-this.xPadLeft;var r=this.dimGrid.gridPadForColumnsInNumericAxis(a.gridWidth);a.gridWidth=a.gridWidth-2*r,a.translateX=a.translateX+this.gridPad.left+this.xPadLeft+(r>0?r:0),a.translateY=a.translateY+this.gridPad.top}},{key:"setDimensionsForAxisCharts",value:function(){var e=this,t=this.w,a=t.globals,s=this.dimYAxis.getyAxisLabelsCoords(),r=this.dimYAxis.getyAxisTitleCoords();a.isSlopeChart&&(this.datalabelsCoords=this.dimHelpers.getDatalabelsRect()),t.globals.yLabelsCoords=[],t.globals.yTitleCoords=[],t.config.yaxis.map((function(f,g){t.globals.yLabelsCoords.push({width:s[g].width,index:g}),t.globals.yTitleCoords.push({width:r[g].width,index:g})})),this.yAxisWidth=this.dimYAxis.getTotalYAxisWidth();var n=this.dimXAxis.getxAxisLabelsCoords(),o=this.dimXAxis.getxAxisGroupLabelsCoords(),l=this.dimXAxis.getxAxisTitleCoords();this.conditionalChecksForAxisCoords(n,l,o),a.translateXAxisY=t.globals.rotateXLabels?this.xAxisHeight/8:-4,a.translateXAxisX=t.globals.rotateXLabels&&t.globals.isXNumeric&&t.config.xaxis.labels.rotate<=-45?-this.xAxisWidth/4:0,t.globals.isBarHorizontal&&(a.rotateXLabels=!1,a.translateXAxisY=parseInt(t.config.xaxis.labels.style.fontSize,10)/1.5*-1),a.translateXAxisY=a.translateXAxisY+t.config.xaxis.labels.offsetY,a.translateXAxisX=a.translateXAxisX+t.config.xaxis.labels.offsetX;var c=this.yAxisWidth,u=this.xAxisHeight;a.xAxisLabelsHeight=this.xAxisHeight-l.height,a.xAxisGroupLabelsHeight=a.xAxisLabelsHeight-n.height,a.xAxisLabelsWidth=this.xAxisWidth,a.xAxisHeight=this.xAxisHeight;var d=10;(t.config.chart.type==="radar"||this.isSparkline)&&(c=0,u=0),this.isSparkline&&(this.lgRect={height:0,width:0}),(this.isSparkline||t.config.chart.type==="treemap")&&(c=0,u=0,d=0),this.isSparkline||t.config.chart.type==="treemap"||this.dimXAxis.additionalPaddingXLabels(n);var h=function(){a.translateX=c+e.datalabelsCoords.width,a.gridHeight=a.svgHeight-e.lgRect.height-u-(e.isSparkline||t.config.chart.type==="treemap"?0:t.globals.rotateXLabels?10:15),a.gridWidth=a.svgWidth-c-2*e.datalabelsCoords.width};switch(t.config.xaxis.position==="top"&&(d=a.xAxisHeight-t.config.xaxis.axisTicks.height-5),t.config.legend.position){case"bottom":a.translateY=d,h();break;case"top":a.translateY=this.lgRect.height+d,h();break;case"left":a.translateY=d,a.translateX=this.lgRect.width+c+this.datalabelsCoords.width,a.gridHeight=a.svgHeight-u-12,a.gridWidth=a.svgWidth-this.lgRect.width-c-2*this.datalabelsCoords.width;break;case"right":a.translateY=d,a.translateX=c+this.datalabelsCoords.width,a.gridHeight=a.svgHeight-u-12,a.gridWidth=a.svgWidth-this.lgRect.width-c-2*this.datalabelsCoords.width-5;break;default:throw new Error("Legend position not supported")}this.dimGrid.setGridXPosForDualYAxis(r,s),new Pd(this.ctx).setYAxisXPosition(s,r)}},{key:"setDimensionsForNonAxisCharts",value:function(){var e=this.w,t=e.globals,a=e.config,s=0;e.config.legend.show&&!e.config.legend.floating&&(s=20);var r=a.chart.type==="pie"||a.chart.type==="polarArea"||a.chart.type==="donut"?"pie":"radialBar",n=a.plotOptions[r].offsetY,o=a.plotOptions[r].offsetX;if(!a.legend.show||a.legend.floating){t.gridHeight=t.svgHeight;var l=t.dom.elWrap.getBoundingClientRect().width;return t.gridWidth=Math.min(l,t.gridHeight),t.translateY=n,void(t.translateX=o+(t.svgWidth-t.gridWidth)/2)}switch(a.legend.position){case"bottom":t.gridHeight=t.svgHeight-this.lgRect.height,t.gridWidth=t.svgWidth,t.translateY=n-10,t.translateX=o+(t.svgWidth-t.gridWidth)/2;break;case"top":t.gridHeight=t.svgHeight-this.lgRect.height,t.gridWidth=t.svgWidth,t.translateY=this.lgRect.height+n+10,t.translateX=o+(t.svgWidth-t.gridWidth)/2;break;case"left":t.gridWidth=t.svgWidth-this.lgRect.width-s,t.gridHeight=a.chart.height!=="auto"?t.svgHeight:t.gridWidth,t.translateY=n,t.translateX=o+this.lgRect.width+s;break;case"right":t.gridWidth=t.svgWidth-this.lgRect.width-s-5,t.gridHeight=a.chart.height!=="auto"?t.svgHeight:t.gridWidth,t.translateY=n,t.translateX=o+10;break;default:throw new Error("Legend position not supported")}}},{key:"conditionalChecksForAxisCoords",value:function(e,t,a){var s=this.w,r=s.globals.hasXaxisGroups?2:1,n=a.height+e.height+t.height,o=s.globals.isMultiLineX?1.2:s.globals.LINE_HEIGHT_RATIO,l=s.globals.rotateXLabels?22:10,c=s.globals.rotateXLabels&&s.config.legend.position==="bottom"?10:0;this.xAxisHeight=n*o+r*l+c,this.xAxisWidth=e.width,this.xAxisHeight-t.height>s.config.xaxis.labels.maxHeight&&(this.xAxisHeight=s.config.xaxis.labels.maxHeight),s.config.xaxis.labels.minHeight&&this.xAxisHeight<s.config.xaxis.labels.minHeight&&(this.xAxisHeight=s.config.xaxis.labels.minHeight),s.config.xaxis.floating&&(this.xAxisHeight=0);var u=0,d=0;s.config.yaxis.forEach((function(h){u+=h.labels.minWidth,d+=h.labels.maxWidth})),this.yAxisWidth<u&&(this.yAxisWidth=u),this.yAxisWidth>d&&(this.yAxisWidth=d)}}]),i})(),Z_=(function(){function i(e){ee(this,i),this.w=e.w,this.lgCtx=e}return te(i,[{key:"getLegendStyles",value:function(){var e,t,a,s=document.createElement("style");s.setAttribute("type","text/css");var r=((e=this.lgCtx.ctx)===null||e===void 0||(t=e.opts)===null||t===void 0||(a=t.chart)===null||a===void 0?void 0:a.nonce)||this.w.config.chart.nonce;r&&s.setAttribute("nonce",r);var n=document.createTextNode(Cx);return s.appendChild(n),s}},{key:"getLegendDimensions",value:function(){var e=this.w.globals.dom.baseEl.querySelector(".apexcharts-legend").getBoundingClientRect(),t=e.width;return{clwh:e.height,clww:t}}},{key:"appendToForeignObject",value:function(){var e=this.w.globals;this.w.config.chart.injectStyleSheet!==!1&&e.dom.elLegendForeign.appendChild(this.getLegendStyles())}},{key:"toggleDataSeries",value:function(e,t){var a=this,s=this.w;if(s.globals.axisCharts||s.config.chart.type==="radialBar"){s.globals.resized=!0;var r=null,n=null;s.globals.risingSeries=[],s.globals.axisCharts?(r=s.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(e,"']")),n=parseInt(r.getAttribute("data:realIndex"),10)):(r=s.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(e+1,"']")),n=parseInt(r.getAttribute("rel"),10)-1),t?[{cs:s.globals.collapsedSeries,csi:s.globals.collapsedSeriesIndices},{cs:s.globals.ancillaryCollapsedSeries,csi:s.globals.ancillaryCollapsedSeriesIndices}].forEach((function(u){a.riseCollapsedSeries(u.cs,u.csi,n)})):this.hideSeries({seriesEl:r,realIndex:n})}else{var o=s.globals.dom.Paper.findOne(" .apexcharts-series[rel='".concat(e+1,"'] path")),l=s.config.chart.type;if(l==="pie"||l==="polarArea"||l==="donut"){var c=s.config.plotOptions.pie.donut.labels;new Y(this.lgCtx.ctx).pathMouseDown(o,null),this.lgCtx.ctx.pie.printDataLabelsInner(o.node,c)}o.fire("click")}}},{key:"getSeriesAfterCollapsing",value:function(e){var t=e.realIndex,a=this.w,s=a.globals,r=T.clone(a.config.series);if(s.axisCharts){var n=a.config.yaxis[s.seriesYAxisReverseMap[t]],o={index:t,data:r[t].data.slice(),type:r[t].type||a.config.chart.type};if(n&&n.show&&n.showAlways)s.ancillaryCollapsedSeriesIndices.indexOf(t)<0&&(s.ancillaryCollapsedSeries.push(o),s.ancillaryCollapsedSeriesIndices.push(t));else if(s.collapsedSeriesIndices.indexOf(t)<0){s.collapsedSeries.push(o),s.collapsedSeriesIndices.push(t);var l=s.risingSeries.indexOf(t);s.risingSeries.splice(l,1)}}else s.collapsedSeries.push({index:t,data:r[t]}),s.collapsedSeriesIndices.push(t);return s.allSeriesCollapsed=s.collapsedSeries.length+s.ancillaryCollapsedSeries.length===a.config.series.length,this._getSeriesBasedOnCollapsedState(r)}},{key:"hideSeries",value:function(e){for(var t=e.seriesEl,a=e.realIndex,s=this.w,r=this.getSeriesAfterCollapsing({realIndex:a}),n=t.childNodes,o=0;o<n.length;o++)n[o].classList.contains("apexcharts-series-markers-wrap")&&(n[o].classList.contains("apexcharts-hide")?n[o].classList.remove("apexcharts-hide"):n[o].classList.add("apexcharts-hide"));this.lgCtx.ctx.updateHelpers._updateSeries(r,s.config.chart.animations.dynamicAnimation.enabled)}},{key:"riseCollapsedSeries",value:function(e,t,a){var s=this.w,r=T.clone(s.config.series);if(e.length>0){for(var n=0;n<e.length;n++)e[n].index===a&&(s.globals.axisCharts?r[a].data=e[n].data.slice():r[a]=e[n].data,typeof r[a]!="number"&&(r[a].hidden=!1),e.splice(n,1),t.splice(n,1),s.globals.risingSeries.push(a));r=this._getSeriesBasedOnCollapsedState(r),this.lgCtx.ctx.updateHelpers._updateSeries(r,s.config.chart.animations.dynamicAnimation.enabled)}}},{key:"_getSeriesBasedOnCollapsedState",value:function(e){var t=this.w,a=0;return t.globals.axisCharts?e.forEach((function(s,r){t.globals.collapsedSeriesIndices.indexOf(r)<0&&t.globals.ancillaryCollapsedSeriesIndices.indexOf(r)<0||(e[r].data=[],a++)})):e.forEach((function(s,r){!t.globals.collapsedSeriesIndices.indexOf(r)<0&&(e[r]=0,a++)})),t.globals.allSeriesCollapsed=a===e.length,e}}]),i})(),Px=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.onLegendClick=this.onLegendClick.bind(this),this.onLegendHovered=this.onLegendHovered.bind(this),this.isBarsDistributed=this.w.config.chart.type==="bar"&&this.w.config.plotOptions.bar.distributed&&this.w.config.series.length===1,this.legendHelpers=new Z_(this)}return te(i,[{key:"init",value:function(){var e=this.w,t=e.globals,a=e.config,s=a.legend.showForSingleSeries&&t.series.length===1||this.isBarsDistributed||t.series.length>1;if(this.legendHelpers.appendToForeignObject(),(s||!t.axisCharts)&&a.legend.show){for(;t.dom.elLegendWrap.firstChild;)t.dom.elLegendWrap.removeChild(t.dom.elLegendWrap.firstChild);this.drawLegends(),a.legend.position==="bottom"||a.legend.position==="top"?this.legendAlignHorizontal():a.legend.position!=="right"&&a.legend.position!=="left"||this.legendAlignVertical()}}},{key:"createLegendMarker",value:function(e){var t=e.i,a=e.fillcolor,s=this.w,r=document.createElement("span");r.classList.add("apexcharts-legend-marker");var n=s.config.legend.markers.shape||s.config.markers.shape,o=n;Array.isArray(n)&&(o=n[t]);var l=Array.isArray(s.config.legend.markers.size)?parseFloat(s.config.legend.markers.size[t]):parseFloat(s.config.legend.markers.size),c=Array.isArray(s.config.legend.markers.offsetX)?parseFloat(s.config.legend.markers.offsetX[t]):parseFloat(s.config.legend.markers.offsetX),u=Array.isArray(s.config.legend.markers.offsetY)?parseFloat(s.config.legend.markers.offsetY[t]):parseFloat(s.config.legend.markers.offsetY),d=Array.isArray(s.config.legend.markers.strokeWidth)?parseFloat(s.config.legend.markers.strokeWidth[t]):parseFloat(s.config.legend.markers.strokeWidth),h=r.style;if(h.height=2*(l+d)+"px",h.width=2*(l+d)+"px",h.left=c+"px",h.top=u+"px",s.config.legend.markers.customHTML)h.background="transparent",h.color=a[t],Array.isArray(s.config.legend.markers.customHTML)?s.config.legend.markers.customHTML[t]&&(r.innerHTML=s.config.legend.markers.customHTML[t]()):r.innerHTML=s.config.legend.markers.customHTML();else{var f=new Xs(this.ctx).getMarkerConfig({cssClass:"apexcharts-legend-marker apexcharts-marker apexcharts-marker-".concat(o),seriesIndex:t,strokeWidth:d,size:l}),g=window.SVG().addTo(r).size("100%","100%"),p=new Y(this.ctx).drawMarker(0,0,$($({},f),{},{pointFillColor:Array.isArray(a)?a[t]:f.pointFillColor,shape:o}));s.globals.dom.Paper.find(".apexcharts-legend-marker.apexcharts-marker").forEach((function(m){m.node.classList.contains("apexcharts-marker-triangle")?m.node.style.transform="translate(50%, 45%)":m.node.style.transform="translate(50%, 50%)"})),g.add(p)}return r}},{key:"drawLegends",value:function(){var e=this,t=this,a=this.w,s=a.config.legend.fontFamily,r=a.globals.seriesNames,n=a.config.legend.markers.fillColors?a.config.legend.markers.fillColors.slice():a.globals.colors.slice();if(a.config.chart.type==="heatmap"){var o=a.config.plotOptions.heatmap.colorScale.ranges;r=o.map((function(f){return f.name?f.name:f.from+" - "+f.to})),n=o.map((function(f){return f.color}))}else this.isBarsDistributed&&(r=a.globals.labels.slice());a.config.legend.customLegendItems.length&&(r=a.config.legend.customLegendItems);var l=a.globals.legendFormatter,c=a.config.legend.inverseOrder,u=[];a.globals.seriesGroups.length>1&&a.config.legend.clusterGroupedSeries&&a.globals.seriesGroups.forEach((function(f,g){u[g]=document.createElement("div"),u[g].classList.add("apexcharts-legend-group","apexcharts-legend-group-".concat(g)),a.config.legend.clusterGroupedSeriesOrientation==="horizontal"?a.globals.dom.elLegendWrap.classList.add("apexcharts-legend-group-horizontal"):u[g].classList.add("apexcharts-legend-group-vertical")}));for(var d=function(f){var g,p=l(r[f],{seriesIndex:f,w:a}),m=!1,b=!1;if(a.globals.collapsedSeries.length>0)for(var v=0;v<a.globals.collapsedSeries.length;v++)a.globals.collapsedSeries[v].index===f&&(m=!0);if(a.globals.ancillaryCollapsedSeriesIndices.length>0)for(var x=0;x<a.globals.ancillaryCollapsedSeriesIndices.length;x++)a.globals.ancillaryCollapsedSeriesIndices[x]===f&&(b=!0);var k=e.createLegendMarker({i:f,fillcolor:n});Y.setAttrs(k,{rel:f+1,"data:collapsed":m||b}),(m||b)&&k.classList.add("apexcharts-inactive-legend");var y=document.createElement("div"),A=document.createElement("span");A.classList.add("apexcharts-legend-text"),A.innerHTML=Array.isArray(p)?p.join(" "):p;var w=a.config.legend.labels.useSeriesColors?a.globals.colors[f]:Array.isArray(a.config.legend.labels.colors)?(g=a.config.legend.labels.colors)===null||g===void 0?void 0:g[f]:a.config.legend.labels.colors;w||(w=a.config.chart.foreColor),A.style.color=w,A.style.fontSize=parseFloat(a.config.legend.fontSize)+"px",A.style.fontWeight=a.config.legend.fontWeight,A.style.fontFamily=s||a.config.chart.fontFamily,Y.setAttrs(A,{rel:f+1,i:f,"data:default-text":encodeURIComponent(p),"data:collapsed":m||b}),y.appendChild(k),y.appendChild(A);var S=new rt(e.ctx);a.config.legend.showForZeroSeries||S.getSeriesTotalByIndex(f)===0&&S.seriesHaveSameValues(f)&&!S.isSeriesNull(f)&&a.globals.collapsedSeriesIndices.indexOf(f)===-1&&a.globals.ancillaryCollapsedSeriesIndices.indexOf(f)===-1&&y.classList.add("apexcharts-hidden-zero-series"),a.config.legend.showForNullSeries||S.isSeriesNull(f)&&a.globals.collapsedSeriesIndices.indexOf(f)===-1&&a.globals.ancillaryCollapsedSeriesIndices.indexOf(f)===-1&&y.classList.add("apexcharts-hidden-null-series"),u.length?a.globals.seriesGroups.forEach((function(C,E){var M;C.includes((M=a.config.series[f])===null||M===void 0?void 0:M.name)&&(a.globals.dom.elLegendWrap.appendChild(u[E]),u[E].appendChild(y))})):a.globals.dom.elLegendWrap.appendChild(y),a.globals.dom.elLegendWrap.classList.add("apexcharts-align-".concat(a.config.legend.horizontalAlign)),a.globals.dom.elLegendWrap.classList.add("apx-legend-position-"+a.config.legend.position),y.classList.add("apexcharts-legend-series"),y.style.margin="".concat(a.config.legend.itemMargin.vertical,"px ").concat(a.config.legend.itemMargin.horizontal,"px"),a.globals.dom.elLegendWrap.style.width=a.config.legend.width?a.config.legend.width+"px":"",a.globals.dom.elLegendWrap.style.height=a.config.legend.height?a.config.legend.height+"px":"",Y.setAttrs(y,{rel:f+1,seriesName:T.escapeString(r[f]),"data:collapsed":m||b}),(m||b)&&y.classList.add("apexcharts-inactive-legend"),a.config.legend.onItemClick.toggleDataSeries||y.classList.add("apexcharts-no-click")},h=c?r.length-1:0;c?h>=0:h<=r.length-1;c?h--:h++)d(h);a.globals.dom.elWrap.addEventListener("click",t.onLegendClick,!0),a.config.legend.onItemHover.highlightDataSeries&&a.config.legend.customLegendItems.length===0&&(a.globals.dom.elWrap.addEventListener("mousemove",t.onLegendHovered,!0),a.globals.dom.elWrap.addEventListener("mouseout",t.onLegendHovered,!0))}},{key:"setLegendWrapXY",value:function(e,t){var a=this.w,s=a.globals.dom.elLegendWrap,r=s.clientHeight,n=0,o=0;if(a.config.legend.position==="bottom")o=a.globals.svgHeight-Math.min(r,a.globals.svgHeight/2)-5;else if(a.config.legend.position==="top"){var l=new yo(this.ctx),c=l.dimHelpers.getTitleSubtitleCoords("title").height,u=l.dimHelpers.getTitleSubtitleCoords("subtitle").height;o=(c>0?c-10:0)+(u>0?u-10:0)}s.style.position="absolute",n=n+e+a.config.legend.offsetX,o=o+t+a.config.legend.offsetY,s.style.left=n+"px",s.style.top=o+"px",a.config.legend.position==="right"&&(s.style.left="auto",s.style.right=25+a.config.legend.offsetX+"px"),["width","height"].forEach((function(d){s.style[d]&&(s.style[d]=parseInt(a.config.legend[d],10)+"px")}))}},{key:"legendAlignHorizontal",value:function(){var e=this.w;e.globals.dom.elLegendWrap.style.right=0;var t=new yo(this.ctx),a=t.dimHelpers.getTitleSubtitleCoords("title"),s=t.dimHelpers.getTitleSubtitleCoords("subtitle"),r=0;e.config.legend.position==="top"&&(r=a.height+s.height+e.config.title.margin+e.config.subtitle.margin-10),this.setLegendWrapXY(20,r)}},{key:"legendAlignVertical",value:function(){var e=this.w,t=this.legendHelpers.getLegendDimensions(),a=0;e.config.legend.position==="left"&&(a=20),e.config.legend.position==="right"&&(a=e.globals.svgWidth-t.clww-10),this.setLegendWrapXY(a,20)}},{key:"onLegendHovered",value:function(e){var t=this.w,a=e.target.classList.contains("apexcharts-legend-series")||e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker");if(t.config.chart.type==="heatmap"||this.isBarsDistributed){if(a){var s=parseInt(e.target.getAttribute("rel"),10)-1;this.ctx.events.fireEvent("legendHover",[this.ctx,s,this.w]),new ri(this.ctx).highlightRangeInSeries(e,e.target)}}else!e.target.classList.contains("apexcharts-inactive-legend")&&a&&new ri(this.ctx).toggleSeriesOnHover(e,e.target)}},{key:"onLegendClick",value:function(e){var t=this.w;if(!t.config.legend.customLegendItems.length&&(e.target.classList.contains("apexcharts-legend-series")||e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker"))){var a=parseInt(e.target.getAttribute("rel"),10)-1,s=e.target.getAttribute("data:collapsed")==="true",r=this.w.config.chart.events.legendClick;typeof r=="function"&&r(this.ctx,a,this.w),this.ctx.events.fireEvent("legendClick",[this.ctx,a,this.w]);var n=this.w.config.legend.markers.onClick;typeof n=="function"&&e.target.classList.contains("apexcharts-legend-marker")&&(n(this.ctx,a,this.w),this.ctx.events.fireEvent("legendMarkerClick",[this.ctx,a,this.w])),t.config.chart.type!=="treemap"&&t.config.chart.type!=="heatmap"&&!this.isBarsDistributed&&t.config.legend.onItemClick.toggleDataSeries&&this.legendHelpers.toggleDataSeries(a,s)}}}]),i})(),_x=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w;var t=this.w;this.ev=this.w.config.chart.events,this.selectedClass="apexcharts-selected",this.localeValues=this.w.globals.locale.toolbar,this.minX=t.globals.minX,this.maxX=t.globals.maxX}return te(i,[{key:"createToolbar",value:function(){var e=this,t=this.w,a=function(){return document.createElement("div")},s=a();if(s.setAttribute("class","apexcharts-toolbar"),s.style.top=t.config.chart.toolbar.offsetY+"px",s.style.right=3-t.config.chart.toolbar.offsetX+"px",t.globals.dom.elWrap.appendChild(s),this.elZoom=a(),this.elZoomIn=a(),this.elZoomOut=a(),this.elPan=a(),this.elSelection=a(),this.elZoomReset=a(),this.elMenuIcon=a(),this.elMenu=a(),this.elCustomIcons=[],this.t=t.config.chart.toolbar.tools,Array.isArray(this.t.customIcons))for(var r=0;r<this.t.customIcons.length;r++)this.elCustomIcons.push(a());var n=[],o=function(d,h,f){var g=d.toLowerCase();e.t[g]&&t.config.chart.zoom.enabled&&n.push({el:h,icon:typeof e.t[g]=="string"?e.t[g]:f,title:e.localeValues[d],class:"apexcharts-".concat(g,"-icon")})};o("zoomIn",this.elZoomIn,`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
191
|
+
<path d="M0 0h24v24H0z" fill="none"/>
|
|
192
|
+
<path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>
|
|
193
|
+
</svg>
|
|
194
|
+
`),o("zoomOut",this.elZoomOut,`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
195
|
+
<path d="M0 0h24v24H0z" fill="none"/>
|
|
196
|
+
<path d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>
|
|
197
|
+
</svg>
|
|
198
|
+
`);var l=function(d){e.t[d]&&t.config.chart[d].enabled&&n.push({el:d==="zoom"?e.elZoom:e.elSelection,icon:typeof e.t[d]=="string"?e.t[d]:d==="zoom"?`<svg xmlns="http://www.w3.org/2000/svg" fill="#000000" height="24" viewBox="0 0 24 24" width="24">
|
|
199
|
+
<path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>
|
|
200
|
+
<path d="M0 0h24v24H0V0z" fill="none"/>
|
|
201
|
+
<path d="M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"/>
|
|
202
|
+
</svg>`:`<svg fill="#6E8192" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
|
203
|
+
<path d="M0 0h24v24H0z" fill="none"/>
|
|
204
|
+
<path d="M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2z"/>
|
|
205
|
+
</svg>`,title:e.localeValues[d==="zoom"?"selectionZoom":"selection"],class:"apexcharts-".concat(d,"-icon")})};l("zoom"),l("selection"),this.t.pan&&t.config.chart.zoom.enabled&&n.push({el:this.elPan,icon:typeof this.t.pan=="string"?this.t.pan:`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000" height="24" viewBox="0 0 24 24" width="24">
|
|
206
|
+
<defs>
|
|
207
|
+
<path d="M0 0h24v24H0z" id="a"/>
|
|
208
|
+
</defs>
|
|
209
|
+
<clipPath id="b">
|
|
210
|
+
<use overflow="visible" xlink:href="#a"/>
|
|
211
|
+
</clipPath>
|
|
212
|
+
<path clip-path="url(#b)" d="M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 4v7h1V1.5c0-.83.67-1.5 1.5-1.5S15 .67 15 1.5V11h1V2.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V11h1V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5z"/>
|
|
213
|
+
</svg>`,title:this.localeValues.pan,class:"apexcharts-pan-icon"}),o("reset",this.elZoomReset,`<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
|
214
|
+
<path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>
|
|
215
|
+
<path d="M0 0h24v24H0z" fill="none"/>
|
|
216
|
+
</svg>`),this.t.download&&n.push({el:this.elMenuIcon,icon:typeof this.t.download=="string"?this.t.download:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg>',title:this.localeValues.menu,class:"apexcharts-menu-icon"});for(var c=0;c<this.elCustomIcons.length;c++)n.push({el:this.elCustomIcons[c],icon:this.t.customIcons[c].icon,title:this.t.customIcons[c].title,index:this.t.customIcons[c].index,class:"apexcharts-toolbar-custom-icon "+this.t.customIcons[c].class});n.forEach((function(d,h){d.index&&T.moveIndexInArray(n,h,d.index)}));for(var u=0;u<n.length;u++)Y.setAttrs(n[u].el,{class:n[u].class,title:n[u].title}),n[u].el.innerHTML=n[u].icon,s.appendChild(n[u].el);this._createHamburgerMenu(s),t.globals.zoomEnabled?this.elZoom.classList.add(this.selectedClass):t.globals.panEnabled?this.elPan.classList.add(this.selectedClass):t.globals.selectionEnabled&&this.elSelection.classList.add(this.selectedClass),this.addToolbarEventListeners()}},{key:"_createHamburgerMenu",value:function(e){this.elMenuItems=[],e.appendChild(this.elMenu),Y.setAttrs(this.elMenu,{class:"apexcharts-menu"});for(var t=[{name:"exportSVG",title:this.localeValues.exportToSVG},{name:"exportPNG",title:this.localeValues.exportToPNG},{name:"exportCSV",title:this.localeValues.exportToCSV}],a=0;a<t.length;a++)this.elMenuItems.push(document.createElement("div")),this.elMenuItems[a].innerHTML=t[a].title,Y.setAttrs(this.elMenuItems[a],{class:"apexcharts-menu-item ".concat(t[a].name),title:t[a].title}),this.elMenu.appendChild(this.elMenuItems[a])}},{key:"addToolbarEventListeners",value:function(){var e=this;this.elZoomReset.addEventListener("click",this.handleZoomReset.bind(this)),this.elSelection.addEventListener("click",this.toggleZoomSelection.bind(this,"selection")),this.elZoom.addEventListener("click",this.toggleZoomSelection.bind(this,"zoom")),this.elZoomIn.addEventListener("click",this.handleZoomIn.bind(this)),this.elZoomOut.addEventListener("click",this.handleZoomOut.bind(this)),this.elPan.addEventListener("click",this.togglePanning.bind(this)),this.elMenuIcon.addEventListener("click",this.toggleMenu.bind(this)),this.elMenuItems.forEach((function(a){a.classList.contains("exportSVG")?a.addEventListener("click",e.handleDownload.bind(e,"svg")):a.classList.contains("exportPNG")?a.addEventListener("click",e.handleDownload.bind(e,"png")):a.classList.contains("exportCSV")&&a.addEventListener("click",e.handleDownload.bind(e,"csv"))}));for(var t=0;t<this.t.customIcons.length;t++)this.elCustomIcons[t].addEventListener("click",this.t.customIcons[t].click.bind(this,this.ctx,this.ctx.w))}},{key:"toggleZoomSelection",value:function(e){this.ctx.getSyncedCharts().forEach((function(t){t.ctx.toolbar.toggleOtherControls();var a=e==="selection"?t.ctx.toolbar.elSelection:t.ctx.toolbar.elZoom,s=e==="selection"?"selectionEnabled":"zoomEnabled";t.w.globals[s]=!t.w.globals[s],a.classList.contains(t.ctx.toolbar.selectedClass)?a.classList.remove(t.ctx.toolbar.selectedClass):a.classList.add(t.ctx.toolbar.selectedClass)}))}},{key:"getToolbarIconsReference",value:function(){var e=this.w;this.elZoom||(this.elZoom=e.globals.dom.baseEl.querySelector(".apexcharts-zoom-icon")),this.elPan||(this.elPan=e.globals.dom.baseEl.querySelector(".apexcharts-pan-icon")),this.elSelection||(this.elSelection=e.globals.dom.baseEl.querySelector(".apexcharts-selection-icon"))}},{key:"enableZoomPanFromToolbar",value:function(e){this.toggleOtherControls(),e==="pan"?this.w.globals.panEnabled=!0:this.w.globals.zoomEnabled=!0;var t=e==="pan"?this.elPan:this.elZoom,a=e==="pan"?this.elZoom:this.elPan;t&&t.classList.add(this.selectedClass),a&&a.classList.remove(this.selectedClass)}},{key:"togglePanning",value:function(){this.ctx.getSyncedCharts().forEach((function(e){e.ctx.toolbar.toggleOtherControls(),e.w.globals.panEnabled=!e.w.globals.panEnabled,e.ctx.toolbar.elPan.classList.contains(e.ctx.toolbar.selectedClass)?e.ctx.toolbar.elPan.classList.remove(e.ctx.toolbar.selectedClass):e.ctx.toolbar.elPan.classList.add(e.ctx.toolbar.selectedClass)}))}},{key:"toggleOtherControls",value:function(){var e=this,t=this.w;t.globals.panEnabled=!1,t.globals.zoomEnabled=!1,t.globals.selectionEnabled=!1,this.getToolbarIconsReference(),[this.elPan,this.elSelection,this.elZoom].forEach((function(a){a&&a.classList.remove(e.selectedClass)}))}},{key:"handleZoomIn",value:function(){var e=this.w;e.globals.isRangeBar&&(this.minX=e.globals.minY,this.maxX=e.globals.maxY);var t=(this.minX+this.maxX)/2,a=(this.minX+t)/2,s=(this.maxX+t)/2,r=this._getNewMinXMaxX(a,s);e.globals.disableZoomIn||this.zoomUpdateOptions(r.minX,r.maxX)}},{key:"handleZoomOut",value:function(){var e=this.w;if(e.globals.isRangeBar&&(this.minX=e.globals.minY,this.maxX=e.globals.maxY),!(e.config.xaxis.type==="datetime"&&new Date(this.minX).getUTCFullYear()<1e3)){var t=(this.minX+this.maxX)/2,a=this.minX-(t-this.minX),s=this.maxX-(t-this.maxX),r=this._getNewMinXMaxX(a,s);e.globals.disableZoomOut||this.zoomUpdateOptions(r.minX,r.maxX)}}},{key:"_getNewMinXMaxX",value:function(e,t){var a=this.w.config.xaxis.convertedCatToNumeric;return{minX:a?Math.floor(e):e,maxX:a?Math.floor(t):t}}},{key:"zoomUpdateOptions",value:function(e,t){var a=this.w;if(e!==void 0||t!==void 0){if(!(a.config.xaxis.convertedCatToNumeric&&(e<1&&(e=1,t=a.globals.dataPoints),t-e<2))){var s={min:e,max:t},r=this.getBeforeZoomRange(s);r&&(s=r.xaxis);var n={xaxis:s},o=T.clone(a.globals.initialConfig.yaxis);a.config.chart.group||(n.yaxis=o),this.w.globals.zoomed=!0,this.ctx.updateHelpers._updateOptions(n,!1,this.w.config.chart.animations.dynamicAnimation.enabled),this.zoomCallback(s,o)}}else this.handleZoomReset()}},{key:"zoomCallback",value:function(e,t){typeof this.ev.zoomed=="function"&&(this.ev.zoomed(this.ctx,{xaxis:e,yaxis:t}),this.ctx.events.fireEvent("zoomed",{xaxis:e,yaxis:t}))}},{key:"getBeforeZoomRange",value:function(e,t){var a=null;return typeof this.ev.beforeZoom=="function"&&(a=this.ev.beforeZoom(this,{xaxis:e,yaxis:t})),a}},{key:"toggleMenu",value:function(){var e=this;window.setTimeout((function(){e.elMenu.classList.contains("apexcharts-menu-open")?e.elMenu.classList.remove("apexcharts-menu-open"):e.elMenu.classList.add("apexcharts-menu-open")}),0)}},{key:"handleDownload",value:function(e){var t=this.w,a=new vr(this.ctx);switch(e){case"svg":a.exportToSVG(this.ctx);break;case"png":a.exportToPng(this.ctx);break;case"csv":a.exportToCSV({series:t.config.series,columnDelimiter:t.config.chart.toolbar.export.csv.columnDelimiter})}}},{key:"handleZoomReset",value:function(e){this.ctx.getSyncedCharts().forEach((function(t){var a=t.w;if(a.globals.lastXAxis.min=a.globals.initialConfig.xaxis.min,a.globals.lastXAxis.max=a.globals.initialConfig.xaxis.max,t.updateHelpers.revertDefaultAxisMinMax(),typeof a.config.chart.events.beforeResetZoom=="function"){var s=a.config.chart.events.beforeResetZoom(t,a);s&&t.updateHelpers.revertDefaultAxisMinMax(s)}typeof a.config.chart.events.zoomed=="function"&&t.ctx.toolbar.zoomCallback({min:a.config.xaxis.min,max:a.config.xaxis.max}),a.globals.zoomed=!1;var r=t.ctx.series.emptyCollapsedSeries(T.clone(a.globals.initialSeries));t.updateHelpers._updateSeries(r,a.config.chart.animations.dynamicAnimation.enabled)}))}},{key:"destroy",value:function(){this.elZoom=null,this.elZoomIn=null,this.elZoomOut=null,this.elPan=null,this.elSelection=null,this.elZoomReset=null,this.elMenuIcon=null}}]),i})(),J_=(function(i){an(t,_x);var e=tn(t);function t(a){var s;return ee(this,t),(s=e.call(this,a)).ctx=a,s.w=a.w,s.dragged=!1,s.graphics=new Y(s.ctx),s.eventList=["mousedown","mouseleave","mousemove","touchstart","touchmove","mouseup","touchend","wheel"],s.clientX=0,s.clientY=0,s.startX=0,s.endX=0,s.dragX=0,s.startY=0,s.endY=0,s.dragY=0,s.moveDirection="none",s.debounceTimer=null,s.debounceDelay=100,s.wheelDelay=400,s}return te(t,[{key:"init",value:function(a){var s=this,r=a.xyRatios,n=this.w,o=this;this.xyRatios=r,this.zoomRect=this.graphics.drawRect(0,0,0,0),this.selectionRect=this.graphics.drawRect(0,0,0,0),this.gridRect=n.globals.dom.baseEl.querySelector(".apexcharts-grid"),this.constraints=new at(0,0,n.globals.gridWidth,n.globals.gridHeight),this.zoomRect.node.classList.add("apexcharts-zoom-rect"),this.selectionRect.node.classList.add("apexcharts-selection-rect"),n.globals.dom.Paper.add(this.zoomRect),n.globals.dom.Paper.add(this.selectionRect),n.config.chart.selection.type==="x"?this.slDraggableRect=this.selectionRect.draggable({minX:0,minY:0,maxX:n.globals.gridWidth,maxY:n.globals.gridHeight}).on("dragmove.namespace",this.selectionDragging.bind(this,"dragging")):n.config.chart.selection.type==="y"?this.slDraggableRect=this.selectionRect.draggable({minX:0,maxX:n.globals.gridWidth}).on("dragmove.namespace",this.selectionDragging.bind(this,"dragging")):this.slDraggableRect=this.selectionRect.draggable().on("dragmove.namespace",this.selectionDragging.bind(this,"dragging")),this.preselectedSelection(),this.hoverArea=n.globals.dom.baseEl.querySelector("".concat(n.globals.chartClass," .apexcharts-svg")),this.hoverArea.classList.add("apexcharts-zoomable"),this.eventList.forEach((function(l){s.hoverArea.addEventListener(l,o.svgMouseEvents.bind(o,r),{capture:!1,passive:!0})})),n.config.chart.zoom.enabled&&n.config.chart.zoom.allowMouseWheelZoom&&this.hoverArea.addEventListener("wheel",o.mouseWheelEvent.bind(o),{capture:!1,passive:!1})}},{key:"destroy",value:function(){this.slDraggableRect&&(this.slDraggableRect.draggable(!1),this.slDraggableRect.off(),this.selectionRect.off()),this.selectionRect=null,this.zoomRect=null,this.gridRect=null}},{key:"svgMouseEvents",value:function(a,s){var r=this.w,n=this.ctx.toolbar,o=r.globals.zoomEnabled?r.config.chart.zoom.type:r.config.chart.selection.type,l=r.config.chart.toolbar.autoSelected;if(s.shiftKey?(this.shiftWasPressed=!0,n.enableZoomPanFromToolbar(l==="pan"?"zoom":"pan")):this.shiftWasPressed&&(n.enableZoomPanFromToolbar(l),this.shiftWasPressed=!1),s.target){var c,u=s.target.classList;if(s.target.parentNode&&s.target.parentNode!==null&&(c=s.target.parentNode.classList),!(u.contains("apexcharts-legend-marker")||u.contains("apexcharts-legend-text")||c&&c.contains("apexcharts-toolbar"))){if(this.clientX=s.type==="touchmove"||s.type==="touchstart"?s.touches[0].clientX:s.type==="touchend"?s.changedTouches[0].clientX:s.clientX,this.clientY=s.type==="touchmove"||s.type==="touchstart"?s.touches[0].clientY:s.type==="touchend"?s.changedTouches[0].clientY:s.clientY,s.type==="mousedown"&&s.which===1||s.type==="touchstart"){var d=this.gridRect.getBoundingClientRect();this.startX=this.clientX-d.left-r.globals.barPadForNumericAxis,this.startY=this.clientY-d.top,this.dragged=!1,this.w.globals.mousedown=!0}(s.type==="mousemove"&&s.which===1||s.type==="touchmove")&&(this.dragged=!0,r.globals.panEnabled?(r.globals.selection=null,this.w.globals.mousedown&&this.panDragging({context:this,zoomtype:o,xyRatios:a})):(this.w.globals.mousedown&&r.globals.zoomEnabled||this.w.globals.mousedown&&r.globals.selectionEnabled)&&(this.selection=this.selectionDrawing({context:this,zoomtype:o}))),s.type!=="mouseup"&&s.type!=="touchend"&&s.type!=="mouseleave"||this.handleMouseUp({zoomtype:o}),this.makeSelectionRectDraggable()}}}},{key:"handleMouseUp",value:function(a){var s,r=a.zoomtype,n=a.isResized,o=this.w,l=(s=this.gridRect)===null||s===void 0?void 0:s.getBoundingClientRect();l&&(this.w.globals.mousedown||n)&&(this.endX=this.clientX-l.left-o.globals.barPadForNumericAxis,this.endY=this.clientY-l.top,this.dragX=Math.abs(this.endX-this.startX),this.dragY=Math.abs(this.endY-this.startY),(o.globals.zoomEnabled||o.globals.selectionEnabled)&&this.selectionDrawn({context:this,zoomtype:r})),o.globals.zoomEnabled&&this.hideSelectionRect(this.selectionRect),this.dragged=!1,this.w.globals.mousedown=!1}},{key:"mouseWheelEvent",value:function(a){var s=this,r=this.w;a.preventDefault();var n=Date.now();n-r.globals.lastWheelExecution>this.wheelDelay&&(this.executeMouseWheelZoom(a),r.globals.lastWheelExecution=n),this.debounceTimer&&clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout((function(){n-r.globals.lastWheelExecution>s.wheelDelay&&(s.executeMouseWheelZoom(a),r.globals.lastWheelExecution=n)}),this.debounceDelay)}},{key:"executeMouseWheelZoom",value:function(a){var s,r=this.w;this.minX=r.globals.isRangeBar?r.globals.minY:r.globals.minX,this.maxX=r.globals.isRangeBar?r.globals.maxY:r.globals.maxX;var n=(s=this.gridRect)===null||s===void 0?void 0:s.getBoundingClientRect();if(n){var o,l,c,u=(a.clientX-n.left)/n.width,d=this.minX,h=this.maxX,f=h-d;if(a.deltaY<0){var g=d+u*f;l=g-(o=.5*f)/2,c=g+o/2}else l=d-(o=1.5*f)/2,c=h+o/2;if(!r.globals.isRangeBar){l=Math.max(l,r.globals.initialMinX),c=Math.min(c,r.globals.initialMaxX);var p=.01*(r.globals.initialMaxX-r.globals.initialMinX);if(c-l<p){var m=(l+c)/2;l=m-p/2,c=m+p/2}}var b=this._getNewMinXMaxX(l,c);isNaN(b.minX)||isNaN(b.maxX)||this.zoomUpdateOptions(b.minX,b.maxX)}}},{key:"makeSelectionRectDraggable",value:function(){var a=this,s=this.w;if(this.selectionRect){var r=this.selectionRect.node.getBoundingClientRect();r.width>0&&r.height>0&&(this.selectionRect.select(!1).resize(!1),this.selectionRect.select({createRot:function(){},updateRot:function(){},createHandle:function(n,o,l,c,u){return u==="l"||u==="r"?n.circle(8).css({"stroke-width":1,stroke:"#333",fill:"#fff"}):n.circle(0)},updateHandle:function(n,o){return n.center(o[0],o[1])}}).resize().on("resize",(function(){var n=s.globals.zoomEnabled?s.config.chart.zoom.type:s.config.chart.selection.type;a.handleMouseUp({zoomtype:n,isResized:!0})})))}}},{key:"preselectedSelection",value:function(){var a=this.w,s=this.xyRatios;if(!a.globals.zoomEnabled){if(a.globals.selection!==void 0&&a.globals.selection!==null)this.drawSelectionRect($($({},a.globals.selection),{},{translateX:a.globals.translateX,translateY:a.globals.translateY}));else if(a.config.chart.selection.xaxis.min!==void 0&&a.config.chart.selection.xaxis.max!==void 0){var r=(a.config.chart.selection.xaxis.min-a.globals.minX)/s.xRatio,n=a.globals.gridWidth-(a.globals.maxX-a.config.chart.selection.xaxis.max)/s.xRatio-r;a.globals.isRangeBar&&(r=(a.config.chart.selection.xaxis.min-a.globals.yAxisScale[0].niceMin)/s.invertedYRatio,n=(a.config.chart.selection.xaxis.max-a.config.chart.selection.xaxis.min)/s.invertedYRatio);var o={x:r,y:0,width:n,height:a.globals.gridHeight,translateX:a.globals.translateX,translateY:a.globals.translateY,selectionEnabled:!0};this.drawSelectionRect(o),this.makeSelectionRectDraggable(),typeof a.config.chart.events.selection=="function"&&a.config.chart.events.selection(this.ctx,{xaxis:{min:a.config.chart.selection.xaxis.min,max:a.config.chart.selection.xaxis.max},yaxis:{}})}}}},{key:"drawSelectionRect",value:function(a){var s=a.x,r=a.y,n=a.width,o=a.height,l=a.translateX,c=l===void 0?0:l,u=a.translateY,d=u===void 0?0:u,h=this.w,f=this.zoomRect,g=this.selectionRect;if(this.dragged||h.globals.selection!==null){var p={transform:"translate("+c+", "+d+")"};h.globals.zoomEnabled&&this.dragged&&(n<0&&(n=1),f.attr({x:s,y:r,width:n,height:o,fill:h.config.chart.zoom.zoomedArea.fill.color,"fill-opacity":h.config.chart.zoom.zoomedArea.fill.opacity,stroke:h.config.chart.zoom.zoomedArea.stroke.color,"stroke-width":h.config.chart.zoom.zoomedArea.stroke.width,"stroke-opacity":h.config.chart.zoom.zoomedArea.stroke.opacity}),Y.setAttrs(f.node,p)),h.globals.selectionEnabled&&(g.attr({x:s,y:r,width:n>0?n:0,height:o>0?o:0,fill:h.config.chart.selection.fill.color,"fill-opacity":h.config.chart.selection.fill.opacity,stroke:h.config.chart.selection.stroke.color,"stroke-width":h.config.chart.selection.stroke.width,"stroke-dasharray":h.config.chart.selection.stroke.dashArray,"stroke-opacity":h.config.chart.selection.stroke.opacity}),Y.setAttrs(g.node,p))}}},{key:"hideSelectionRect",value:function(a){a&&a.attr({x:0,y:0,width:0,height:0})}},{key:"selectionDrawing",value:function(a){var s=a.context,r=a.zoomtype,n=this.w,o=s,l=this.gridRect.getBoundingClientRect(),c=o.startX-1,u=o.startY,d=!1,h=!1,f=o.clientX-l.left-n.globals.barPadForNumericAxis,g=o.clientY-l.top,p=f-c,m=g-u,b={translateX:n.globals.translateX,translateY:n.globals.translateY};return Math.abs(p+c)>n.globals.gridWidth?p=n.globals.gridWidth-c:f<0&&(p=c),c>f&&(d=!0,p=Math.abs(p)),u>g&&(h=!0,m=Math.abs(m)),b=$($({},b=r==="x"?{x:d?c-p:c,y:0,width:p,height:n.globals.gridHeight}:r==="y"?{x:0,y:h?u-m:u,width:n.globals.gridWidth,height:m}:{x:d?c-p:c,y:h?u-m:u,width:p,height:m}),{},{translateX:n.globals.translateX,translateY:n.globals.translateY}),o.drawSelectionRect(b),o.selectionDragging("resizing"),b}},{key:"selectionDragging",value:function(a,s){var r=this,n=this.w;if(s){s.preventDefault();var o=s.detail,l=o.handler,c=o.box,u=c.x,d=c.y;u<this.constraints.x&&(u=this.constraints.x),d<this.constraints.y&&(d=this.constraints.y),c.x2>this.constraints.x2&&(u=this.constraints.x2-c.w),c.y2>this.constraints.y2&&(d=this.constraints.y2-c.h),l.move(u,d);var h=this.xyRatios,f=this.selectionRect,g=0;a==="resizing"&&(g=30);var p=function(b){return parseFloat(f.node.getAttribute(b))},m={x:p("x"),y:p("y"),width:p("width"),height:p("height")};n.globals.selection=m,typeof n.config.chart.events.selection=="function"&&n.globals.selectionEnabled&&(clearTimeout(this.w.globals.selectionResizeTimer),this.w.globals.selectionResizeTimer=window.setTimeout((function(){var b,v,x,k,y=r.gridRect.getBoundingClientRect(),A=f.node.getBoundingClientRect();n.globals.isRangeBar?(b=n.globals.yAxisScale[0].niceMin+(A.left-y.left)*h.invertedYRatio,v=n.globals.yAxisScale[0].niceMin+(A.right-y.left)*h.invertedYRatio,x=0,k=1):(b=n.globals.xAxisScale.niceMin+(A.left-y.left)*h.xRatio,v=n.globals.xAxisScale.niceMin+(A.right-y.left)*h.xRatio,x=n.globals.yAxisScale[0].niceMin+(y.bottom-A.bottom)*h.yRatio[0],k=n.globals.yAxisScale[0].niceMax-(A.top-y.top)*h.yRatio[0]);var w={xaxis:{min:b,max:v},yaxis:{min:x,max:k}};n.config.chart.events.selection(r.ctx,w),n.config.chart.brush.enabled&&n.config.chart.events.brushScrolled!==void 0&&n.config.chart.events.brushScrolled(r.ctx,w)}),g))}}},{key:"selectionDrawn",value:function(a){var s,r,n=a.context,o=a.zoomtype,l=this.w,c=n,u=this.xyRatios,d=this.ctx.toolbar,h=l.globals.zoomEnabled?c.zoomRect.node.getBoundingClientRect():c.selectionRect.node.getBoundingClientRect(),f=c.gridRect.getBoundingClientRect(),g=h.left-f.left-l.globals.barPadForNumericAxis,p=h.right-f.left-l.globals.barPadForNumericAxis,m=h.top-f.top,b=h.bottom-f.top;l.globals.isRangeBar?(s=l.globals.yAxisScale[0].niceMin+g*u.invertedYRatio,r=l.globals.yAxisScale[0].niceMin+p*u.invertedYRatio):(s=l.globals.xAxisScale.niceMin+g*u.xRatio,r=l.globals.xAxisScale.niceMin+p*u.xRatio);var v=[],x=[];if(l.config.yaxis.forEach((function(E,M){var P=l.globals.seriesYAxisMap[M][0],D=l.globals.yAxisScale[M].niceMax-u.yRatio[P]*m,L=l.globals.yAxisScale[M].niceMax-u.yRatio[P]*b;v.push(D),x.push(L)})),c.dragged&&(c.dragX>10||c.dragY>10)&&s!==r){if(l.globals.zoomEnabled){var k=T.clone(l.globals.initialConfig.yaxis),y=T.clone(l.globals.initialConfig.xaxis);if(l.globals.zoomed=!0,l.config.xaxis.convertedCatToNumeric&&(s=Math.floor(s),r=Math.floor(r),s<1&&(s=1,r=l.globals.dataPoints),r-s<2&&(r=s+1)),o!=="xy"&&o!=="x"||(y={min:s,max:r}),o!=="xy"&&o!=="y"||k.forEach((function(E,M){k[M].min=x[M],k[M].max=v[M]})),d){var A=d.getBeforeZoomRange(y,k);A&&(y=A.xaxis?A.xaxis:y,k=A.yaxis?A.yaxis:k)}var w={xaxis:y};l.config.chart.group||(w.yaxis=k),c.ctx.updateHelpers._updateOptions(w,!1,c.w.config.chart.animations.dynamicAnimation.enabled),typeof l.config.chart.events.zoomed=="function"&&d.zoomCallback(y,k)}else if(l.globals.selectionEnabled){var S,C=null;S={min:s,max:r},o!=="xy"&&o!=="y"||(C=T.clone(l.config.yaxis)).forEach((function(E,M){C[M].min=x[M],C[M].max=v[M]})),l.globals.selection=c.selection,typeof l.config.chart.events.selection=="function"&&l.config.chart.events.selection(c.ctx,{xaxis:S,yaxis:C})}}}},{key:"panDragging",value:function(a){var s=a.context,r=this.w,n=s;if(r.globals.lastClientPosition.x!==void 0){var o=r.globals.lastClientPosition.x-n.clientX,l=r.globals.lastClientPosition.y-n.clientY;Math.abs(o)>Math.abs(l)&&o>0?this.moveDirection="left":Math.abs(o)>Math.abs(l)&&o<0?this.moveDirection="right":Math.abs(l)>Math.abs(o)&&l>0?this.moveDirection="up":Math.abs(l)>Math.abs(o)&&l<0&&(this.moveDirection="down")}r.globals.lastClientPosition={x:n.clientX,y:n.clientY};var c=r.globals.isRangeBar?r.globals.minY:r.globals.minX,u=r.globals.isRangeBar?r.globals.maxY:r.globals.maxX;n.panScrolled(c,u)}},{key:"panScrolled",value:function(a,s){var r=this.w,n=this.xyRatios,o=T.clone(r.globals.initialConfig.yaxis),l=n.xRatio,c=r.globals.minX,u=r.globals.maxX;r.globals.isRangeBar&&(l=n.invertedYRatio,c=r.globals.minY,u=r.globals.maxY),this.moveDirection==="left"?(a=c+r.globals.gridWidth/15*l,s=u+r.globals.gridWidth/15*l):this.moveDirection==="right"&&(a=c-r.globals.gridWidth/15*l,s=u-r.globals.gridWidth/15*l),r.globals.isRangeBar||(a<r.globals.initialMinX||s>r.globals.initialMaxX)&&(a=c,s=u);var d={xaxis:{min:a,max:s}};r.config.chart.group||(d.yaxis=o),this.updateScrolledChart(d,a,s)}},{key:"updateScrolledChart",value:function(a,s,r){var n=this.w;if(this.ctx.updateHelpers._updateOptions(a,!1,!1),typeof n.config.chart.events.scrolled=="function"){var o={xaxis:{min:s,max:r}};n.config.chart.events.scrolled(this.ctx,o),this.ctx.events.fireEvent("scrolled",o)}}}]),t})(),Ix=(function(){function i(e){ee(this,i),this.w=e.w,this.ttCtx=e,this.ctx=e.ctx}return te(i,[{key:"getNearestValues",value:function(e){var t=e.hoverArea,a=e.elGrid,s=e.clientX,r=e.clientY,n=this.w,o=a.getBoundingClientRect(),l=o.width,c=o.height,u=l/(n.globals.dataPoints-1),d=c/n.globals.dataPoints,h=this.hasBars();!n.globals.comboCharts&&!h||n.config.xaxis.convertedCatToNumeric||(u=l/n.globals.dataPoints);var f=s-o.left-n.globals.barPadForNumericAxis,g=r-o.top;f<0||g<0||f>l||g>c?(t.classList.remove("hovering-zoom"),t.classList.remove("hovering-pan")):n.globals.zoomEnabled?(t.classList.remove("hovering-pan"),t.classList.add("hovering-zoom")):n.globals.panEnabled&&(t.classList.remove("hovering-zoom"),t.classList.add("hovering-pan"));var p=Math.round(f/u),m=Math.floor(g/d);h&&!n.config.xaxis.convertedCatToNumeric&&(p=Math.ceil(f/u),p-=1);var b=null,v=null,x=n.globals.seriesXvalues.map((function(S){return S.filter((function(C){return T.isNumber(C)}))})),k=n.globals.seriesYvalues.map((function(S){return S.filter((function(C){return T.isNumber(C)}))}));if(n.globals.isXNumeric){var y=this.ttCtx.getElGrid().getBoundingClientRect(),A=f*(y.width/l),w=g*(y.height/c);b=(v=this.closestInMultiArray(A,w,x,k)).index,p=v.j,b!==null&&n.globals.hasNullValues&&(x=n.globals.seriesXvalues[b],p=(v=this.closestInArray(A,x)).j)}return n.globals.capturedSeriesIndex=b===null?-1:b,(!p||p<1)&&(p=0),n.globals.isBarHorizontal?n.globals.capturedDataPointIndex=m:n.globals.capturedDataPointIndex=p,{capturedSeries:b,j:n.globals.isBarHorizontal?m:p,hoverX:f,hoverY:g}}},{key:"getFirstActiveXArray",value:function(e){for(var t=this.w,a=0,s=e.map((function(n,o){return n.length>0?o:-1})),r=0;r<s.length;r++)if(s[r]!==-1&&t.globals.collapsedSeriesIndices.indexOf(r)===-1&&t.globals.ancillaryCollapsedSeriesIndices.indexOf(r)===-1){a=s[r];break}return a}},{key:"closestInMultiArray",value:function(e,t,a,s){for(var r,n=this.w,o=1/0,l=null,c=null,u=0;u<a.length;u++)if(r=u,n.globals.collapsedSeriesIndices.indexOf(r)===-1&&n.globals.ancillaryCollapsedSeriesIndices.indexOf(r)===-1)for(var d=a[u],h=s[u],f=Math.min(d.length,h.length),g=0;g<f;g++){var p=e-d[g],m=Math.sqrt(p*p);if(!n.globals.allSeriesHasEqualX){var b=t-h[g];m=Math.sqrt(p*p+b*b)}m<o&&(o=m,l=u,c=g)}return{index:l,j:c}}},{key:"closestInArray",value:function(e,t){for(var a=t[0],s=null,r=Math.abs(e-a),n=0;n<t.length;n++){var o=Math.abs(e-t[n]);o<r&&(r=o,s=n)}return{j:s}}},{key:"isXoverlap",value:function(e){var t=[],a=this.w.globals.seriesX.filter((function(r){return r[0]!==void 0}));if(a.length>0)for(var s=0;s<a.length-1;s++)a[s][e]!==void 0&&a[s+1][e]!==void 0&&a[s][e]!==a[s+1][e]&&t.push("unEqual");return t.length===0}},{key:"isInitialSeriesSameLen",value:function(){for(var e=!0,t=this.w.globals.initialSeries,a=0;a<t.length-1;a++)if(t[a].data.length!==t[a+1].data.length){e=!1;break}return e}},{key:"getBarsHeight",value:function(e){return ft(e).reduce((function(t,a){return t+a.getBBox().height}),0)}},{key:"getElMarkers",value:function(e){return typeof e=="number"?this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-series-markers-wrap > *")):this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers-wrap > *")}},{key:"getAllMarkers",value:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0&&arguments[0],a=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers-wrap");a=ft(a),t&&(a=a.filter((function(r){var n=Number(r.getAttribute("data:realIndex"));return e.w.globals.collapsedSeriesIndices.indexOf(n)===-1}))),a.sort((function(r,n){var o=Number(r.getAttribute("data:realIndex")),l=Number(n.getAttribute("data:realIndex"));return l<o?1:l>o?-1:0}));var s=[];return a.forEach((function(r){s.push(r.querySelector(".apexcharts-marker"))})),s}},{key:"hasMarkers",value:function(e){return this.getElMarkers(e).length>0}},{key:"getPathFromPoint",value:function(e,t){var a=Number(e.getAttribute("cx")),s=Number(e.getAttribute("cy")),r=e.getAttribute("shape");return new Y(this.ctx).getMarkerPath(a,s,r,t)}},{key:"getElBars",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-bar-series, .apexcharts-candlestick-series, .apexcharts-boxPlot-series, .apexcharts-rangebar-series")}},{key:"hasBars",value:function(){return this.getElBars().length>0}},{key:"getHoverMarkerSize",value:function(e){var t=this.w,a=t.config.markers.hover.size;return a===void 0&&(a=t.globals.markers.size[e]+t.config.markers.hover.sizeOffset),a}},{key:"toggleAllTooltipSeriesGroups",value:function(e){var t=this.w,a=this.ttCtx;a.allTooltipSeriesGroups.length===0&&(a.allTooltipSeriesGroups=t.globals.dom.baseEl.querySelectorAll(".apexcharts-tooltip-series-group"));for(var s=a.allTooltipSeriesGroups,r=0;r<s.length;r++)e==="enable"?(s[r].classList.add("apexcharts-active"),s[r].style.display=t.config.tooltip.items.display):(s[r].classList.remove("apexcharts-active"),s[r].style.display="none")}}]),i})(),Q_=(function(){function i(e){ee(this,i),this.w=e.w,this.ctx=e.ctx,this.ttCtx=e,this.tooltipUtil=new Ix(e)}return te(i,[{key:"drawSeriesTexts",value:function(e){var t=e.shared,a=t===void 0||t,s=e.ttItems,r=e.i,n=r===void 0?0:r,o=e.j,l=o===void 0?null:o,c=e.y1,u=e.y2,d=e.e,h=this.w;h.config.tooltip.custom!==void 0?this.handleCustomTooltip({i:n,j:l,y1:c,y2:u,w:h}):this.toggleActiveInactiveSeries(a,n);var f=this.getValuesToPrint({i:n,j:l});this.printLabels({i:n,j:l,values:f,ttItems:s,shared:a,e:d});var g=this.ttCtx.getElTooltip();this.ttCtx.tooltipRect.ttWidth=g.getBoundingClientRect().width,this.ttCtx.tooltipRect.ttHeight=g.getBoundingClientRect().height}},{key:"printLabels",value:function(e){var t,a=this,s=e.i,r=e.j,n=e.values,o=e.ttItems,l=e.shared,c=e.e,u=this.w,d=[],h=function(y){return u.globals.seriesGoals[y]&&u.globals.seriesGoals[y][r]&&Array.isArray(u.globals.seriesGoals[y][r])},f=n.xVal,g=n.zVal,p=n.xAxisTTVal,m="",b=u.globals.colors[s];r!==null&&u.config.plotOptions.bar.distributed&&(b=u.globals.colors[r]);for(var v=function(y,A){var w=a.getFormatters(s);m=a.getSeriesName({fn:w.yLbTitleFormatter,index:s,seriesIndex:s,j:r}),u.config.chart.type==="treemap"&&(m=w.yLbTitleFormatter(String(u.config.series[s].data[r].x),{series:u.globals.series,seriesIndex:s,dataPointIndex:r,w:u}));var S=u.config.tooltip.inverseOrder?A:y;if(u.globals.axisCharts){var C=function(P){var D,L,B,N;return u.globals.isRangeData?w.yLbFormatter((D=u.globals.seriesRangeStart)===null||D===void 0||(L=D[P])===null||L===void 0?void 0:L[r],{series:u.globals.seriesRangeStart,seriesIndex:P,dataPointIndex:r,w:u})+" - "+w.yLbFormatter((B=u.globals.seriesRangeEnd)===null||B===void 0||(N=B[P])===null||N===void 0?void 0:N[r],{series:u.globals.seriesRangeEnd,seriesIndex:P,dataPointIndex:r,w:u}):w.yLbFormatter(u.globals.series[P][r],{series:u.globals.series,seriesIndex:P,dataPointIndex:r,w:u})};if(l)w=a.getFormatters(S),m=a.getSeriesName({fn:w.yLbTitleFormatter,index:S,seriesIndex:s,j:r}),b=u.globals.colors[S],t=C(S),h(S)&&(d=u.globals.seriesGoals[S][r].map((function(P){return{attrs:P,val:w.yLbFormatter(P.value,{seriesIndex:S,dataPointIndex:r,w:u})}})));else{var E,M=c==null||(E=c.target)===null||E===void 0?void 0:E.getAttribute("fill");M&&(M.indexOf("url")!==-1?M.indexOf("Pattern")!==-1&&(b=u.globals.dom.baseEl.querySelector(M.substr(4).slice(0,-1)).childNodes[0].getAttribute("stroke")):b=M),t=C(s),h(s)&&Array.isArray(u.globals.seriesGoals[s][r])&&(d=u.globals.seriesGoals[s][r].map((function(P){return{attrs:P,val:w.yLbFormatter(P.value,{seriesIndex:s,dataPointIndex:r,w:u})}})))}}r===null&&(t=w.yLbFormatter(u.globals.series[s],$($({},u),{},{seriesIndex:s,dataPointIndex:s}))),a.DOMHandling({i:s,t:S,j:r,ttItems:o,values:{val:t,goalVals:d,xVal:f,xAxisTTVal:p,zVal:g},seriesName:m,shared:l,pColor:b})},x=0,k=u.globals.series.length-1;x<u.globals.series.length;x++,k--)v(x,k)}},{key:"getFormatters",value:function(e){var t,a=this.w,s=a.globals.yLabelFormatters[e];return a.globals.ttVal!==void 0?Array.isArray(a.globals.ttVal)?(s=a.globals.ttVal[e]&&a.globals.ttVal[e].formatter,t=a.globals.ttVal[e]&&a.globals.ttVal[e].title&&a.globals.ttVal[e].title.formatter):(s=a.globals.ttVal.formatter,typeof a.globals.ttVal.title.formatter=="function"&&(t=a.globals.ttVal.title.formatter)):t=a.config.tooltip.y.title.formatter,typeof s!="function"&&(s=a.globals.yLabelFormatters[0]?a.globals.yLabelFormatters[0]:function(r){return r}),typeof t!="function"&&(t=function(r){return r?r+": ":""}),{yLbFormatter:s,yLbTitleFormatter:t}}},{key:"getSeriesName",value:function(e){var t=e.fn,a=e.index,s=e.seriesIndex,r=e.j,n=this.w;return t(String(n.globals.seriesNames[a]),{series:n.globals.series,seriesIndex:s,dataPointIndex:r,w:n})}},{key:"DOMHandling",value:function(e){e.i;var t=e.t,a=e.j,s=e.ttItems,r=e.values,n=e.seriesName,o=e.shared,l=e.pColor,c=this.w,u=this.ttCtx,d=r.val,h=r.goalVals,f=r.xVal,g=r.xAxisTTVal,p=r.zVal,m=null;m=s[t].children,c.config.tooltip.fillSeriesColor&&(s[t].style.backgroundColor=l,m[0].style.display="none"),u.showTooltipTitle&&(u.tooltipTitle===null&&(u.tooltipTitle=c.globals.dom.baseEl.querySelector(".apexcharts-tooltip-title")),u.tooltipTitle.innerHTML=f),u.isXAxisTooltipEnabled&&(u.xaxisTooltipText.innerHTML=g!==""?g:f);var b=s[t].querySelector(".apexcharts-tooltip-text-y-label");b&&(b.innerHTML=n||"");var v=s[t].querySelector(".apexcharts-tooltip-text-y-value");v&&(v.innerHTML=d!==void 0?d:""),m[0]&&m[0].classList.contains("apexcharts-tooltip-marker")&&(c.config.tooltip.marker.fillColors&&Array.isArray(c.config.tooltip.marker.fillColors)&&(l=c.config.tooltip.marker.fillColors[t]),c.config.tooltip.fillSeriesColor?m[0].style.backgroundColor=l:m[0].style.color=l),c.config.tooltip.marker.show||(m[0].style.display="none");var x=s[t].querySelector(".apexcharts-tooltip-text-goals-label"),k=s[t].querySelector(".apexcharts-tooltip-text-goals-value");if(h.length&&c.globals.seriesGoals[t]){var y=function(){var S="<div>",C="<div>";h.forEach((function(E,M){S+=' <div style="display: flex"><span class="apexcharts-tooltip-marker" style="background-color: '.concat(E.attrs.strokeColor,'; height: 3px; border-radius: 0; top: 5px;"></span> ').concat(E.attrs.name,"</div>"),C+="<div>".concat(E.val,"</div>")})),x.innerHTML=S+"</div>",k.innerHTML=C+"</div>"};o?c.globals.seriesGoals[t][a]&&Array.isArray(c.globals.seriesGoals[t][a])?y():(x.innerHTML="",k.innerHTML=""):y()}else x.innerHTML="",k.innerHTML="";if(p!==null&&(s[t].querySelector(".apexcharts-tooltip-text-z-label").innerHTML=c.config.tooltip.z.title,s[t].querySelector(".apexcharts-tooltip-text-z-value").innerHTML=p!==void 0?p:""),o&&m[0]){if(c.config.tooltip.hideEmptySeries){var A=s[t].querySelector(".apexcharts-tooltip-marker"),w=s[t].querySelector(".apexcharts-tooltip-text");parseFloat(d)==0?(A.style.display="none",w.style.display="none"):(A.style.display="block",w.style.display="block")}d==null||c.globals.ancillaryCollapsedSeriesIndices.indexOf(t)>-1||c.globals.collapsedSeriesIndices.indexOf(t)>-1||Array.isArray(u.tConfig.enabledOnSeries)&&u.tConfig.enabledOnSeries.indexOf(t)===-1?m[0].parentNode.style.display="none":m[0].parentNode.style.display=c.config.tooltip.items.display}else Array.isArray(u.tConfig.enabledOnSeries)&&u.tConfig.enabledOnSeries.indexOf(t)===-1&&(m[0].parentNode.style.display="none")}},{key:"toggleActiveInactiveSeries",value:function(e,t){var a=this.w;if(e)this.tooltipUtil.toggleAllTooltipSeriesGroups("enable");else{this.tooltipUtil.toggleAllTooltipSeriesGroups("disable");var s=a.globals.dom.baseEl.querySelector(".apexcharts-tooltip-series-group-".concat(t));s&&(s.classList.add("apexcharts-active"),s.style.display=a.config.tooltip.items.display)}}},{key:"getValuesToPrint",value:function(e){var t=e.i,a=e.j,s=this.w,r=this.ctx.series.filteredSeriesX(),n="",o="",l=null,c=null,u={series:s.globals.series,seriesIndex:t,dataPointIndex:a,w:s},d=s.globals.ttZFormatter;a===null?c=s.globals.series[t]:s.globals.isXNumeric&&s.config.chart.type!=="treemap"?(n=r[t][a],r[t].length===0&&(n=r[this.tooltipUtil.getFirstActiveXArray(r)][a])):n=new Md(this.ctx).isFormatXY()?s.config.series[t].data[a]!==void 0?s.config.series[t].data[a].x:"":s.globals.labels[a]!==void 0?s.globals.labels[a]:"";var h=n;return s.globals.isXNumeric&&s.config.xaxis.type==="datetime"?n=new on(this.ctx).xLabelFormat(s.globals.ttKeyFormatter,h,h,{i:void 0,dateFormatter:new pt(this.ctx).formatDate,w:this.w}):n=s.globals.isBarHorizontal?s.globals.yLabelFormatters[0](h,u):s.globals.xLabelFormatter(h,u),s.config.tooltip.x.formatter!==void 0&&(n=s.globals.ttKeyFormatter(h,u)),s.globals.seriesZ.length>0&&s.globals.seriesZ[t].length>0&&(l=d(s.globals.seriesZ[t][a],s)),o=typeof s.config.xaxis.tooltip.formatter=="function"?s.globals.xaxisTooltipFormatter(h,u):n,{val:Array.isArray(c)?c.join(" "):c,xVal:Array.isArray(n)?n.join(" "):n,xAxisTTVal:Array.isArray(o)?o.join(" "):o,zVal:l}}},{key:"handleCustomTooltip",value:function(e){var t=e.i,a=e.j,s=e.y1,r=e.y2,n=e.w,o=this.ttCtx.getElTooltip(),l=n.config.tooltip.custom;Array.isArray(l)&&l[t]&&(l=l[t]);var c=l({ctx:this.ctx,series:n.globals.series,seriesIndex:t,dataPointIndex:a,y1:s,y2:r,w:n});typeof c=="string"||typeof c=="number"?o.innerHTML=c:(c instanceof Element||typeof c.nodeName=="string")&&(o.innerHTML="",o.appendChild(c.cloneNode(!0)))}}]),i})(),Tx=(function(){function i(e){ee(this,i),this.ttCtx=e,this.ctx=e.ctx,this.w=e.w}return te(i,[{key:"moveXCrosshairs",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=this.ttCtx,s=this.w,r=a.getElXCrosshairs(),n=e-a.xcrosshairsWidth/2,o=s.globals.labels.slice().length;if(t!==null&&(n=s.globals.gridWidth/o*t),r===null||s.globals.isBarHorizontal||(r.setAttribute("x",n),r.setAttribute("x1",n),r.setAttribute("x2",n),r.setAttribute("y2",s.globals.gridHeight),r.classList.add("apexcharts-active")),n<0&&(n=0),n>s.globals.gridWidth&&(n=s.globals.gridWidth),a.isXAxisTooltipEnabled){var l=n;s.config.xaxis.crosshairs.width!=="tickWidth"&&s.config.xaxis.crosshairs.width!=="barWidth"||(l=n+a.xcrosshairsWidth/2),this.moveXAxisTooltip(l)}}},{key:"moveYCrosshairs",value:function(e){var t=this.ttCtx;t.ycrosshairs!==null&&Y.setAttrs(t.ycrosshairs,{y1:e,y2:e}),t.ycrosshairsHidden!==null&&Y.setAttrs(t.ycrosshairsHidden,{y1:e,y2:e})}},{key:"moveXAxisTooltip",value:function(e){var t=this.w,a=this.ttCtx;if(a.xaxisTooltip!==null&&a.xcrosshairsWidth!==0){a.xaxisTooltip.classList.add("apexcharts-active");var s=a.xaxisOffY+t.config.xaxis.tooltip.offsetY+t.globals.translateY+1+t.config.xaxis.offsetY;if(e-=a.xaxisTooltip.getBoundingClientRect().width/2,!isNaN(e)){e+=t.globals.translateX;var r;r=new Y(this.ctx).getTextRects(a.xaxisTooltipText.innerHTML),a.xaxisTooltipText.style.minWidth=r.width+"px",a.xaxisTooltip.style.left=e+"px",a.xaxisTooltip.style.top=s+"px"}}}},{key:"moveYAxisTooltip",value:function(e){var t=this.w,a=this.ttCtx;a.yaxisTTEls===null&&(a.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));var s=parseInt(a.ycrosshairsHidden.getAttribute("y1"),10),r=t.globals.translateY+s,n=a.yaxisTTEls[e].getBoundingClientRect(),o=n.height,l=t.globals.translateYAxisX[e]-2;t.config.yaxis[e].opposite&&(l-=n.width),r-=o/2,t.globals.ignoreYAxisIndexes.indexOf(e)===-1&&r>0&&r<t.globals.gridHeight?(a.yaxisTTEls[e].classList.add("apexcharts-active"),a.yaxisTTEls[e].style.top=r+"px",a.yaxisTTEls[e].style.left=l+t.config.yaxis[e].tooltip.offsetX+"px"):a.yaxisTTEls[e].classList.remove("apexcharts-active")}},{key:"moveTooltip",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,s=this.w,r=this.ttCtx,n=r.getElTooltip(),o=r.tooltipRect,l=a!==null?parseFloat(a):1,c=parseFloat(e)+l+5,u=parseFloat(t)+l/2;if(c>s.globals.gridWidth/2&&(c=c-o.ttWidth-l-10),c>s.globals.gridWidth-o.ttWidth-10&&(c=s.globals.gridWidth-o.ttWidth),c<-20&&(c=-20),s.config.tooltip.followCursor){var d=r.getElGrid().getBoundingClientRect();(c=r.e.clientX-d.left)>s.globals.gridWidth/2&&(c-=r.tooltipRect.ttWidth),(u=r.e.clientY+s.globals.translateY-d.top)>s.globals.gridHeight/2&&(u-=r.tooltipRect.ttHeight)}else s.globals.isBarHorizontal||o.ttHeight/2+u>s.globals.gridHeight&&(u=s.globals.gridHeight-o.ttHeight+s.globals.translateY);isNaN(c)||(c+=s.globals.translateX,n.style.left=c+"px",n.style.top=u+"px")}},{key:"moveMarkers",value:function(e,t){var a=this.w,s=this.ttCtx;if(a.globals.markers.size[e]>0)for(var r=a.globals.dom.baseEl.querySelectorAll(" .apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-marker")),n=0;n<r.length;n++)parseInt(r[n].getAttribute("rel"),10)===t&&(s.marker.resetPointsSize(),s.marker.enlargeCurrentPoint(t,r[n]));else s.marker.resetPointsSize(),this.moveDynamicPointOnHover(t,e)}},{key:"moveDynamicPointOnHover",value:function(e,t){var a,s,r,n,o=this.w,l=this.ttCtx,c=new Y(this.ctx),u=o.globals.pointsArray,d=l.tooltipUtil.getHoverMarkerSize(t),h=o.config.series[t].type;if(!h||h!=="column"&&h!=="candlestick"&&h!=="boxPlot"){r=(a=u[t][e])===null||a===void 0?void 0:a[0],n=((s=u[t][e])===null||s===void 0?void 0:s[1])||0;var f=o.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(t,"'] .apexcharts-series-markers path"));if(f&&n<o.globals.gridHeight&&n>0){var g=f.getAttribute("shape"),p=c.getMarkerPath(r,n,g,1.5*d);f.setAttribute("d",p)}this.moveXCrosshairs(r),l.fixedTooltip||this.moveTooltip(r,n,d)}}},{key:"moveDynamicPointsOnHover",value:function(e){var t,a=this.ttCtx,s=a.w,r=0,n=0,o=s.globals.pointsArray,l=new ri(this.ctx),c=new Y(this.ctx);t=l.getActiveConfigSeriesIndex("asc",["line","area","scatter","bubble"]);var u=a.tooltipUtil.getHoverMarkerSize(t);if(o[t]&&(r=o[t][e][0],n=o[t][e][1]),!isNaN(r)){var d=a.tooltipUtil.getAllMarkers();if(d.length)for(var h=0;h<s.globals.series.length;h++){var f=o[h];if(s.globals.comboCharts&&f===void 0&&d.splice(h,0,null),f&&f.length){var g=o[h][e][1],p=void 0;d[h].setAttribute("cx",r);var m=d[h].getAttribute("shape");if(s.config.chart.type==="rangeArea"&&!s.globals.comboCharts){var b=e+s.globals.series[h].length;p=o[h][b][1],g-=Math.abs(g-p)/2}if(g!==null&&!isNaN(g)&&g<s.globals.gridHeight+u&&g+u>0){var v=c.getMarkerPath(r,g,m,u);d[h].setAttribute("d",v)}else d[h].setAttribute("d","")}}this.moveXCrosshairs(r),a.fixedTooltip||this.moveTooltip(r,n||s.globals.gridHeight,u)}}},{key:"moveStickyTooltipOverBars",value:function(e,t){var a=this.w,s=this.ttCtx,r=a.globals.columnSeries?a.globals.columnSeries.length:a.globals.series.length;a.config.chart.stacked&&(r=a.globals.barGroups.length);var n=r>=2&&r%2==0?Math.floor(r/2):Math.floor(r/2)+1;a.globals.isBarHorizontal&&(n=new ri(this.ctx).getActiveConfigSeriesIndex("desc")+1);var o=a.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[rel='".concat(n,"'] path[j='").concat(e,"'], .apexcharts-candlestick-series .apexcharts-series[rel='").concat(n,"'] path[j='").concat(e,"'], .apexcharts-boxPlot-series .apexcharts-series[rel='").concat(n,"'] path[j='").concat(e,"'], .apexcharts-rangebar-series .apexcharts-series[rel='").concat(n,"'] path[j='").concat(e,"']"));o||typeof t!="number"||(o=a.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[data\\:realIndex='".concat(t,"'] path[j='").concat(e,`'],
|
|
217
|
+
.apexcharts-candlestick-series .apexcharts-series[data\\:realIndex='`).concat(t,"'] path[j='").concat(e,`'],
|
|
218
|
+
.apexcharts-boxPlot-series .apexcharts-series[data\\:realIndex='`).concat(t,"'] path[j='").concat(e,`'],
|
|
219
|
+
.apexcharts-rangebar-series .apexcharts-series[data\\:realIndex='`).concat(t,"'] path[j='").concat(e,"']")));var l=o?parseFloat(o.getAttribute("cx")):0,c=o?parseFloat(o.getAttribute("cy")):0,u=o?parseFloat(o.getAttribute("barWidth")):0,d=s.getElGrid().getBoundingClientRect(),h=o&&(o.classList.contains("apexcharts-candlestick-area")||o.classList.contains("apexcharts-boxPlot-area"));a.globals.isXNumeric?(o&&!h&&(l-=r%2!=0?u/2:0),o&&h&&(l-=u/2)):a.globals.isBarHorizontal||(l=s.xAxisTicksPositions[e-1]+s.dataPointsDividedWidth/2,isNaN(l)&&(l=s.xAxisTicksPositions[e]-s.dataPointsDividedWidth/2)),a.globals.isBarHorizontal?c-=s.tooltipRect.ttHeight:a.config.tooltip.followCursor?c=s.e.clientY-d.top-s.tooltipRect.ttHeight/2:c+s.tooltipRect.ttHeight+15>a.globals.gridHeight&&(c=a.globals.gridHeight),a.globals.isBarHorizontal||this.moveXCrosshairs(l),s.fixedTooltip||this.moveTooltip(l,c||a.globals.gridHeight)}}]),i})(),eI=(function(){function i(e){ee(this,i),this.w=e.w,this.ttCtx=e,this.ctx=e.ctx,this.tooltipPosition=new Tx(e)}return te(i,[{key:"drawDynamicPoints",value:function(){var e=this.w,t=new Y(this.ctx),a=new Xs(this.ctx),s=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");s=ft(s),e.config.chart.stacked&&s.sort((function(d,h){return parseFloat(d.getAttribute("data:realIndex"))-parseFloat(h.getAttribute("data:realIndex"))}));for(var r=0;r<s.length;r++){var n=s[r].querySelector(".apexcharts-series-markers-wrap");if(n!==null){var o=void 0,l="apexcharts-marker w".concat((Math.random()+1).toString(36).substring(4));e.config.chart.type!=="line"&&e.config.chart.type!=="area"||e.globals.comboCharts||e.config.tooltip.intersect||(l+=" no-pointer-events");var c=a.getMarkerConfig({cssClass:l,seriesIndex:Number(n.getAttribute("data:realIndex"))});(o=t.drawMarker(0,0,c)).node.setAttribute("default-marker-size",0);var u=document.createElementNS(e.globals.SVGNS,"g");u.classList.add("apexcharts-series-markers"),u.appendChild(o.node),n.appendChild(u)}}}},{key:"enlargeCurrentPoint",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,r=this.w;r.config.chart.type!=="bubble"&&this.newPointSize(e,t);var n=t.getAttribute("cx"),o=t.getAttribute("cy");if(a!==null&&s!==null&&(n=a,o=s),this.tooltipPosition.moveXCrosshairs(n),!this.fixedTooltip){if(r.config.chart.type==="radar"){var l=this.ttCtx.getElGrid().getBoundingClientRect();n=this.ttCtx.e.clientX-l.left}this.tooltipPosition.moveTooltip(n,o,r.config.markers.hover.size)}}},{key:"enlargePoints",value:function(e){for(var t=this.w,a=this,s=this.ttCtx,r=e,n=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),o=t.config.markers.hover.size,l=0;l<n.length;l++){var c=n[l].getAttribute("rel"),u=n[l].getAttribute("index");if(o===void 0&&(o=t.globals.markers.size[u]+t.config.markers.hover.sizeOffset),r===parseInt(c,10)){a.newPointSize(r,n[l]);var d=n[l].getAttribute("cx"),h=n[l].getAttribute("cy");a.tooltipPosition.moveXCrosshairs(d),s.fixedTooltip||a.tooltipPosition.moveTooltip(d,h,o)}else a.oldPointSize(n[l])}}},{key:"newPointSize",value:function(e,t){var a=this.w,s=a.config.markers.hover.size,r=e===0?t.parentNode.firstChild:t.parentNode.lastChild;if(r.getAttribute("default-marker-size")!=="0"){var n=parseInt(r.getAttribute("index"),10);s===void 0&&(s=a.globals.markers.size[n]+a.config.markers.hover.sizeOffset),s<0&&(s=0);var o=this.ttCtx.tooltipUtil.getPathFromPoint(t,s);t.setAttribute("d",o)}}},{key:"oldPointSize",value:function(e){var t=parseFloat(e.getAttribute("default-marker-size")),a=this.ttCtx.tooltipUtil.getPathFromPoint(e,t);e.setAttribute("d",a)}},{key:"resetPointsSize",value:function(){for(var e=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),t=0;t<e.length;t++){var a=parseFloat(e[t].getAttribute("default-marker-size"));if(T.isNumber(a)&&a>0){var s=this.ttCtx.tooltipUtil.getPathFromPoint(e[t],a);e[t].setAttribute("d",s)}else e[t].setAttribute("d","M0,0")}}}]),i})(),tI=(function(){function i(e){ee(this,i),this.w=e.w;var t=this.w;this.ttCtx=e,this.isVerticalGroupedRangeBar=!t.globals.isBarHorizontal&&t.config.chart.type==="rangeBar"&&t.config.plotOptions.bar.rangeBarGroupRows}return te(i,[{key:"getAttr",value:function(e,t){return parseFloat(e.target.getAttribute(t))}},{key:"handleHeatTreeTooltip",value:function(e){var t=e.e,a=e.opt,s=e.x,r=e.y,n=e.type,o=this.ttCtx,l=this.w;if(t.target.classList.contains("apexcharts-".concat(n,"-rect"))){var c=this.getAttr(t,"i"),u=this.getAttr(t,"j"),d=this.getAttr(t,"cx"),h=this.getAttr(t,"cy"),f=this.getAttr(t,"width"),g=this.getAttr(t,"height");if(o.tooltipLabels.drawSeriesTexts({ttItems:a.ttItems,i:c,j:u,shared:!1,e:t}),l.globals.capturedSeriesIndex=c,l.globals.capturedDataPointIndex=u,s=d+o.tooltipRect.ttWidth/2+f,r=h+o.tooltipRect.ttHeight/2-g/2,o.tooltipPosition.moveXCrosshairs(d+f/2),s>l.globals.gridWidth/2&&(s=d-o.tooltipRect.ttWidth/2+f),o.w.config.tooltip.followCursor){var p=l.globals.dom.elWrap.getBoundingClientRect();s=l.globals.clientX-p.left-(s>l.globals.gridWidth/2?o.tooltipRect.ttWidth:0),r=l.globals.clientY-p.top-(r>l.globals.gridHeight/2?o.tooltipRect.ttHeight:0)}}return{x:s,y:r}}},{key:"handleMarkerTooltip",value:function(e){var t,a,s=e.e,r=e.opt,n=e.x,o=e.y,l=this.w,c=this.ttCtx;if(s.target.classList.contains("apexcharts-marker")){var u=parseInt(r.paths.getAttribute("cx"),10),d=parseInt(r.paths.getAttribute("cy"),10),h=parseFloat(r.paths.getAttribute("val"));if(a=parseInt(r.paths.getAttribute("rel"),10),t=parseInt(r.paths.parentNode.parentNode.parentNode.getAttribute("rel"),10)-1,c.intersect){var f=T.findAncestor(r.paths,"apexcharts-series");f&&(t=parseInt(f.getAttribute("data:realIndex"),10))}if(c.tooltipLabels.drawSeriesTexts({ttItems:r.ttItems,i:t,j:a,shared:!c.showOnIntersect&&l.config.tooltip.shared,e:s}),s.type==="mouseup"&&c.markerClick(s,t,a),l.globals.capturedSeriesIndex=t,l.globals.capturedDataPointIndex=a,n=u,o=d+l.globals.translateY-1.4*c.tooltipRect.ttHeight,c.w.config.tooltip.followCursor){var g=c.getElGrid().getBoundingClientRect();o=c.e.clientY+l.globals.translateY-g.top}h<0&&(o=d),c.marker.enlargeCurrentPoint(a,r.paths,n,o)}return{x:n,y:o}}},{key:"handleBarTooltip",value:function(e){var t,a,s=e.e,r=e.opt,n=this.w,o=this.ttCtx,l=o.getElTooltip(),c=0,u=0,d=0,h=this.getBarTooltipXY({e:s,opt:r});if(h.j!==null||h.barHeight!==0||h.barWidth!==0){t=h.i;var f=h.j;if(n.globals.capturedSeriesIndex=t,n.globals.capturedDataPointIndex=f,n.globals.isBarHorizontal&&o.tooltipUtil.hasBars()||!n.config.tooltip.shared?(u=h.x,d=h.y,a=Array.isArray(n.config.stroke.width)?n.config.stroke.width[t]:n.config.stroke.width,c=u):n.globals.comboCharts||n.config.tooltip.shared||(c/=2),isNaN(d)&&(d=n.globals.svgHeight-o.tooltipRect.ttHeight),parseInt(r.paths.parentNode.getAttribute("data:realIndex"),10),u+o.tooltipRect.ttWidth>n.globals.gridWidth?u-=o.tooltipRect.ttWidth:u<0&&(u=0),o.w.config.tooltip.followCursor){var g=o.getElGrid().getBoundingClientRect();d=o.e.clientY-g.top}o.tooltip===null&&(o.tooltip=n.globals.dom.baseEl.querySelector(".apexcharts-tooltip")),n.config.tooltip.shared||(n.globals.comboBarCount>0?o.tooltipPosition.moveXCrosshairs(c+a/2):o.tooltipPosition.moveXCrosshairs(c)),!o.fixedTooltip&&(!n.config.tooltip.shared||n.globals.isBarHorizontal&&o.tooltipUtil.hasBars())&&(d=d+n.globals.translateY-o.tooltipRect.ttHeight/2,l.style.left=u+n.globals.translateX+"px",l.style.top=d+"px")}}},{key:"getBarTooltipXY",value:function(e){var t=this,a=e.e,s=e.opt,r=this.w,n=null,o=this.ttCtx,l=0,c=0,u=0,d=0,h=0,f=a.target.classList;if(f.contains("apexcharts-bar-area")||f.contains("apexcharts-candlestick-area")||f.contains("apexcharts-boxPlot-area")||f.contains("apexcharts-rangebar-area")){var g=a.target,p=g.getBoundingClientRect(),m=s.elGrid.getBoundingClientRect(),b=p.height;h=p.height;var v=p.width,x=parseInt(g.getAttribute("cx"),10),k=parseInt(g.getAttribute("cy"),10);d=parseFloat(g.getAttribute("barWidth"));var y=a.type==="touchmove"?a.touches[0].clientX:a.clientX;n=parseInt(g.getAttribute("j"),10),l=parseInt(g.parentNode.getAttribute("rel"),10)-1;var A=g.getAttribute("data-range-y1"),w=g.getAttribute("data-range-y2");r.globals.comboCharts&&(l=parseInt(g.parentNode.getAttribute("data:realIndex"),10));var S=function(E){return r.globals.isXNumeric?x-v/2:t.isVerticalGroupedRangeBar?x+v/2:x-o.dataPointsDividedWidth+v/2},C=function(){return k-o.dataPointsDividedHeight+b/2-o.tooltipRect.ttHeight/2};o.tooltipLabels.drawSeriesTexts({ttItems:s.ttItems,i:l,j:n,y1:A?parseInt(A,10):null,y2:w?parseInt(w,10):null,shared:!o.showOnIntersect&&r.config.tooltip.shared,e:a}),r.config.tooltip.followCursor?r.globals.isBarHorizontal?(c=y-m.left+15,u=C()):(c=S(),u=a.clientY-m.top-o.tooltipRect.ttHeight/2-15):r.globals.isBarHorizontal?((c=x)<o.xyRatios.baseLineInvertedY&&(c=x-o.tooltipRect.ttWidth),u=C()):(c=S(),u=k)}return{x:c,y:u,barHeight:h,barWidth:d,i:l,j:n}}}]),i})(),iI=(function(){function i(e){ee(this,i),this.w=e.w,this.ttCtx=e}return te(i,[{key:"drawXaxisTooltip",value:function(){var e=this.w,t=this.ttCtx,a=e.config.xaxis.position==="bottom";t.xaxisOffY=a?e.globals.gridHeight+1:-e.globals.xAxisHeight-e.config.xaxis.axisTicks.height+3;var s=a?"apexcharts-xaxistooltip apexcharts-xaxistooltip-bottom":"apexcharts-xaxistooltip apexcharts-xaxistooltip-top",r=e.globals.dom.elWrap;t.isXAxisTooltipEnabled&&e.globals.dom.baseEl.querySelector(".apexcharts-xaxistooltip")===null&&(t.xaxisTooltip=document.createElement("div"),t.xaxisTooltip.setAttribute("class",s+" apexcharts-theme-"+e.config.tooltip.theme),r.appendChild(t.xaxisTooltip),t.xaxisTooltipText=document.createElement("div"),t.xaxisTooltipText.classList.add("apexcharts-xaxistooltip-text"),t.xaxisTooltipText.style.fontFamily=e.config.xaxis.tooltip.style.fontFamily||e.config.chart.fontFamily,t.xaxisTooltipText.style.fontSize=e.config.xaxis.tooltip.style.fontSize,t.xaxisTooltip.appendChild(t.xaxisTooltipText))}},{key:"drawYaxisTooltip",value:function(){for(var e=this.w,t=this.ttCtx,a=0;a<e.config.yaxis.length;a++){var s=e.config.yaxis[a].opposite||e.config.yaxis[a].crosshairs.opposite;t.yaxisOffX=s?e.globals.gridWidth+1:1;var r="apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(a,s?" apexcharts-yaxistooltip-right":" apexcharts-yaxistooltip-left"),n=e.globals.dom.elWrap;e.globals.dom.baseEl.querySelector(".apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(a))===null&&(t.yaxisTooltip=document.createElement("div"),t.yaxisTooltip.setAttribute("class",r+" apexcharts-theme-"+e.config.tooltip.theme),n.appendChild(t.yaxisTooltip),a===0&&(t.yaxisTooltipText=[]),t.yaxisTooltipText[a]=document.createElement("div"),t.yaxisTooltipText[a].classList.add("apexcharts-yaxistooltip-text"),t.yaxisTooltip.appendChild(t.yaxisTooltipText[a]))}}},{key:"setXCrosshairWidth",value:function(){var e=this.w,t=this.ttCtx,a=t.getElXCrosshairs();if(t.xcrosshairsWidth=parseInt(e.config.xaxis.crosshairs.width,10),e.globals.comboCharts){var s=e.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(s!==null&&e.config.xaxis.crosshairs.width==="barWidth"){var r=parseFloat(s.getAttribute("barWidth"));t.xcrosshairsWidth=r}else if(e.config.xaxis.crosshairs.width==="tickWidth"){var n=e.globals.labels.length;t.xcrosshairsWidth=e.globals.gridWidth/n}}else if(e.config.xaxis.crosshairs.width==="tickWidth"){var o=e.globals.labels.length;t.xcrosshairsWidth=e.globals.gridWidth/o}else if(e.config.xaxis.crosshairs.width==="barWidth"){var l=e.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(l!==null){var c=parseFloat(l.getAttribute("barWidth"));t.xcrosshairsWidth=c}else t.xcrosshairsWidth=1}e.globals.isBarHorizontal&&(t.xcrosshairsWidth=0),a!==null&&t.xcrosshairsWidth>0&&a.setAttribute("width",t.xcrosshairsWidth)}},{key:"handleYCrosshair",value:function(){var e=this.w,t=this.ttCtx;t.ycrosshairs=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs"),t.ycrosshairsHidden=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs-hidden")}},{key:"drawYaxisTooltipText",value:function(e,t,a){var s=this.ttCtx,r=this.w,n=r.globals,o=n.seriesYAxisMap[e];if(s.yaxisTooltips[e]&&o.length>0){var l=n.yLabelFormatters[e],c=s.getElGrid().getBoundingClientRect(),u=o[0],d=0;a.yRatio.length>1&&(d=u);var h=(t-c.top)*a.yRatio[d],f=n.maxYArr[u]-n.minYArr[u],g=n.minYArr[u]+(f-h);r.config.yaxis[e].reversed&&(g=n.maxYArr[u]-(f-h)),s.tooltipPosition.moveYCrosshairs(t-c.top),s.yaxisTooltipText[e].innerHTML=l(g),s.tooltipPosition.moveYAxisTooltip(e)}}}]),i})(),Tg=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w;var t=this.w;this.tConfig=t.config.tooltip,this.tooltipUtil=new Ix(this),this.tooltipLabels=new Q_(this),this.tooltipPosition=new Tx(this),this.marker=new eI(this),this.intersect=new tI(this),this.axesTooltip=new iI(this),this.showOnIntersect=this.tConfig.intersect,this.showTooltipTitle=this.tConfig.x.show,this.fixedTooltip=this.tConfig.fixed.enabled,this.xaxisTooltip=null,this.yaxisTTEls=null,this.isBarShared=!t.globals.isBarHorizontal&&this.tConfig.shared,this.lastHoverTime=Date.now()}return te(i,[{key:"getElTooltip",value:function(e){return e||(e=this),e.w.globals.dom.baseEl?e.w.globals.dom.baseEl.querySelector(".apexcharts-tooltip"):null}},{key:"getElXCrosshairs",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-xcrosshairs")}},{key:"getElGrid",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-grid")}},{key:"drawTooltip",value:function(e){var t=this.w;this.xyRatios=e,this.isXAxisTooltipEnabled=t.config.xaxis.tooltip.enabled&&t.globals.axisCharts,this.yaxisTooltips=t.config.yaxis.map((function(n,o){return!!(n.show&&n.tooltip.enabled&&t.globals.axisCharts)})),this.allTooltipSeriesGroups=[],t.globals.axisCharts||(this.showTooltipTitle=!1);var a=document.createElement("div");if(a.classList.add("apexcharts-tooltip"),t.config.tooltip.cssClass&&a.classList.add(t.config.tooltip.cssClass),a.classList.add("apexcharts-theme-".concat(this.tConfig.theme||"light")),t.globals.dom.elWrap.appendChild(a),t.globals.axisCharts){this.axesTooltip.drawXaxisTooltip(),this.axesTooltip.drawYaxisTooltip(),this.axesTooltip.setXCrosshairWidth(),this.axesTooltip.handleYCrosshair();var s=new zr(this.ctx);this.xAxisTicksPositions=s.getXAxisTicksPositions()}if(!t.globals.comboCharts&&!this.tConfig.intersect&&t.config.chart.type!=="rangeBar"||this.tConfig.shared||(this.showOnIntersect=!0),t.config.markers.size!==0&&t.globals.markers.largestSize!==0||this.marker.drawDynamicPoints(this),t.globals.collapsedSeries.length!==t.globals.series.length){this.dataPointsDividedHeight=t.globals.gridHeight/t.globals.dataPoints,this.dataPointsDividedWidth=t.globals.gridWidth/t.globals.dataPoints,this.showTooltipTitle&&(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.classList.add("apexcharts-tooltip-title"),this.tooltipTitle.style.fontFamily=this.tConfig.style.fontFamily||t.config.chart.fontFamily,this.tooltipTitle.style.fontSize=this.tConfig.style.fontSize,a.appendChild(this.tooltipTitle));var r=t.globals.series.length;(t.globals.xyCharts||t.globals.comboCharts)&&this.tConfig.shared&&(r=this.showOnIntersect?1:t.globals.series.length),this.legendLabels=t.globals.dom.baseEl.querySelectorAll(".apexcharts-legend-text"),this.ttItems=this.createTTElements(r),this.addSVGEvents()}}},{key:"createTTElements",value:function(e){for(var t=this,a=this.w,s=[],r=this.getElTooltip(),n=function(l){var c=document.createElement("div");c.classList.add("apexcharts-tooltip-series-group","apexcharts-tooltip-series-group-".concat(l)),c.style.order=a.config.tooltip.inverseOrder?e-l:l+1;var u=document.createElement("span");u.classList.add("apexcharts-tooltip-marker"),a.config.tooltip.fillSeriesColor?u.style.backgroundColor=a.globals.colors[l]:u.style.color=a.globals.colors[l];var d=a.config.markers.shape,h=d;Array.isArray(d)&&(h=d[l]),u.setAttribute("shape",h),c.appendChild(u);var f=document.createElement("div");f.classList.add("apexcharts-tooltip-text"),f.style.fontFamily=t.tConfig.style.fontFamily||a.config.chart.fontFamily,f.style.fontSize=t.tConfig.style.fontSize,["y","goals","z"].forEach((function(g){var p=document.createElement("div");p.classList.add("apexcharts-tooltip-".concat(g,"-group"));var m=document.createElement("span");m.classList.add("apexcharts-tooltip-text-".concat(g,"-label")),p.appendChild(m);var b=document.createElement("span");b.classList.add("apexcharts-tooltip-text-".concat(g,"-value")),p.appendChild(b),f.appendChild(p)})),c.appendChild(f),r.appendChild(c),s.push(c)},o=0;o<e;o++)n(o);return s}},{key:"addSVGEvents",value:function(){var e=this.w,t=e.config.chart.type,a=this.getElTooltip(),s=!(t!=="bar"&&t!=="candlestick"&&t!=="boxPlot"&&t!=="rangeBar"),r=t==="area"||t==="line"||t==="scatter"||t==="bubble"||t==="radar",n=e.globals.dom.Paper.node,o=this.getElGrid();o&&(this.seriesBound=o.getBoundingClientRect());var l,c=[],u=[],d={hoverArea:n,elGrid:o,tooltipEl:a,tooltipY:c,tooltipX:u,ttItems:this.ttItems};if(e.globals.axisCharts&&(r?l=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series[data\\:longestSeries='true'] .apexcharts-marker"):s?l=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-bar-area, .apexcharts-series .apexcharts-candlestick-area, .apexcharts-series .apexcharts-boxPlot-area, .apexcharts-series .apexcharts-rangebar-area"):t!=="heatmap"&&t!=="treemap"||(l=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-heatmap, .apexcharts-series .apexcharts-treemap")),l&&l.length))for(var h=0;h<l.length;h++)c.push(l[h].getAttribute("cy")),u.push(l[h].getAttribute("cx"));if(e.globals.xyCharts&&!this.showOnIntersect||e.globals.comboCharts&&!this.showOnIntersect||s&&this.tooltipUtil.hasBars()&&this.tConfig.shared)this.addPathsEventListeners([n],d);else if(s&&!e.globals.comboCharts||r&&this.showOnIntersect)this.addDatapointEventsListeners(d);else if(!e.globals.axisCharts||t==="heatmap"||t==="treemap"){var f=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");this.addPathsEventListeners(f,d)}if(this.showOnIntersect){var g=e.globals.dom.baseEl.querySelectorAll(".apexcharts-line-series .apexcharts-marker, .apexcharts-area-series .apexcharts-marker");g.length>0&&this.addPathsEventListeners(g,d),this.tooltipUtil.hasBars()&&!this.tConfig.shared&&this.addDatapointEventsListeners(d)}}},{key:"drawFixedTooltipRect",value:function(){var e=this.w,t=this.getElTooltip(),a=t.getBoundingClientRect(),s=a.width+10,r=a.height+10,n=this.tConfig.fixed.offsetX,o=this.tConfig.fixed.offsetY,l=this.tConfig.fixed.position.toLowerCase();return l.indexOf("right")>-1&&(n=n+e.globals.svgWidth-s+10),l.indexOf("bottom")>-1&&(o=o+e.globals.svgHeight-r-10),t.style.left=n+"px",t.style.top=o+"px",{x:n,y:o,ttWidth:s,ttHeight:r}}},{key:"addDatapointEventsListeners",value:function(e){var t=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers .apexcharts-marker, .apexcharts-bar-area, .apexcharts-candlestick-area, .apexcharts-boxPlot-area, .apexcharts-rangebar-area");this.addPathsEventListeners(t,e)}},{key:"addPathsEventListeners",value:function(e,t){for(var a=this,s=function(n){var o={paths:e[n],tooltipEl:t.tooltipEl,tooltipY:t.tooltipY,tooltipX:t.tooltipX,elGrid:t.elGrid,hoverArea:t.hoverArea,ttItems:t.ttItems};["mousemove","mouseup","touchmove","mouseout","touchend"].map((function(l){return e[n].addEventListener(l,a.onSeriesHover.bind(a,o),{capture:!1,passive:!0})}))},r=0;r<e.length;r++)s(r)}},{key:"onSeriesHover",value:function(e,t){var a=this,s=Date.now()-this.lastHoverTime;s>=20?this.seriesHover(e,t):(clearTimeout(this.seriesHoverTimeout),this.seriesHoverTimeout=setTimeout((function(){a.seriesHover(e,t)}),20-s))}},{key:"seriesHover",value:function(e,t){var a=this;this.lastHoverTime=Date.now();var s=[],r=this.w;r.config.chart.group&&(s=this.ctx.getGroupedCharts()),r.globals.axisCharts&&(r.globals.minX===-1/0&&r.globals.maxX===1/0||r.globals.dataPoints===0)||(s.length?s.forEach((function(n){var o=a.getElTooltip(n),l={paths:e.paths,tooltipEl:o,tooltipY:e.tooltipY,tooltipX:e.tooltipX,elGrid:e.elGrid,hoverArea:e.hoverArea,ttItems:n.w.globals.tooltip.ttItems};n.w.globals.minX===a.w.globals.minX&&n.w.globals.maxX===a.w.globals.maxX&&n.w.globals.tooltip.seriesHoverByContext({chartCtx:n,ttCtx:n.w.globals.tooltip,opt:l,e:t})})):this.seriesHoverByContext({chartCtx:this.ctx,ttCtx:this.w.globals.tooltip,opt:e,e:t}))}},{key:"seriesHoverByContext",value:function(e){var t=e.chartCtx,a=e.ttCtx,s=e.opt,r=e.e,n=t.w,o=this.getElTooltip(t);o&&(a.tooltipRect={x:0,y:0,ttWidth:o.getBoundingClientRect().width,ttHeight:o.getBoundingClientRect().height},a.e=r,a.tooltipUtil.hasBars()&&!n.globals.comboCharts&&!a.isBarShared&&this.tConfig.onDatasetHover.highlightDataSeries&&new ri(t).toggleSeriesOnHover(r,r.target.parentNode),n.globals.axisCharts?a.axisChartsTooltips({e:r,opt:s,tooltipRect:a.tooltipRect}):a.nonAxisChartsTooltips({e:r,opt:s,tooltipRect:a.tooltipRect}),a.fixedTooltip&&a.drawFixedTooltipRect())}},{key:"axisChartsTooltips",value:function(e){var t,a,s=e.e,r=e.opt,n=this.w,o=r.elGrid.getBoundingClientRect(),l=s.type==="touchmove"?s.touches[0].clientX:s.clientX,c=s.type==="touchmove"?s.touches[0].clientY:s.clientY;if(this.clientY=c,this.clientX=l,n.globals.capturedSeriesIndex=-1,n.globals.capturedDataPointIndex=-1,c<o.top||c>o.top+o.height)this.handleMouseOut(r);else{if(Array.isArray(this.tConfig.enabledOnSeries)&&!n.config.tooltip.shared){var u=parseInt(r.paths.getAttribute("index"),10);if(this.tConfig.enabledOnSeries.indexOf(u)<0)return void this.handleMouseOut(r)}var d=this.getElTooltip(),h=this.getElXCrosshairs(),f=[];n.config.chart.group&&(f=this.ctx.getSyncedCharts());var g=n.globals.xyCharts||n.config.chart.type==="bar"&&!n.globals.isBarHorizontal&&this.tooltipUtil.hasBars()&&this.tConfig.shared||n.globals.comboCharts&&this.tooltipUtil.hasBars();if(s.type==="mousemove"||s.type==="touchmove"||s.type==="mouseup"){if(n.globals.collapsedSeries.length+n.globals.ancillaryCollapsedSeries.length===n.globals.series.length)return;h!==null&&h.classList.add("apexcharts-active");var p=this.yaxisTooltips.filter((function(v){return v===!0}));if(this.ycrosshairs!==null&&p.length&&this.ycrosshairs.classList.add("apexcharts-active"),g&&!this.showOnIntersect||f.length>1)this.handleStickyTooltip(s,l,c,r);else if(n.config.chart.type==="heatmap"||n.config.chart.type==="treemap"){var m=this.intersect.handleHeatTreeTooltip({e:s,opt:r,x:t,y:a,type:n.config.chart.type});t=m.x,a=m.y,d.style.left=t+"px",d.style.top=a+"px"}else this.tooltipUtil.hasBars()&&this.intersect.handleBarTooltip({e:s,opt:r}),this.tooltipUtil.hasMarkers()&&this.intersect.handleMarkerTooltip({e:s,opt:r,x:t,y:a});if(this.yaxisTooltips.length)for(var b=0;b<n.config.yaxis.length;b++)this.axesTooltip.drawYaxisTooltipText(b,c,this.xyRatios);n.globals.dom.baseEl.classList.add("apexcharts-tooltip-active"),r.tooltipEl.classList.add("apexcharts-active")}else s.type!=="mouseout"&&s.type!=="touchend"||this.handleMouseOut(r)}}},{key:"nonAxisChartsTooltips",value:function(e){var t=e.e,a=e.opt,s=e.tooltipRect,r=this.w,n=a.paths.getAttribute("rel"),o=this.getElTooltip(),l=r.globals.dom.elWrap.getBoundingClientRect();if(t.type==="mousemove"||t.type==="touchmove"){r.globals.dom.baseEl.classList.add("apexcharts-tooltip-active"),o.classList.add("apexcharts-active"),this.tooltipLabels.drawSeriesTexts({ttItems:a.ttItems,i:parseInt(n,10)-1,shared:!1});var c=r.globals.clientX-l.left-s.ttWidth/2,u=r.globals.clientY-l.top-s.ttHeight-10;if(o.style.left=c+"px",o.style.top=u+"px",r.config.legend.tooltipHoverFormatter){var d=n-1,h=(0,r.config.legend.tooltipHoverFormatter)(this.legendLabels[d].getAttribute("data:default-text"),{seriesIndex:d,dataPointIndex:d,w:r});this.legendLabels[d].innerHTML=h}}else t.type!=="mouseout"&&t.type!=="touchend"||(o.classList.remove("apexcharts-active"),r.globals.dom.baseEl.classList.remove("apexcharts-tooltip-active"),r.config.legend.tooltipHoverFormatter&&this.legendLabels.forEach((function(f){var g=f.getAttribute("data:default-text");f.innerHTML=decodeURIComponent(g)})))}},{key:"handleStickyTooltip",value:function(e,t,a,s){var r=this.w,n=this.tooltipUtil.getNearestValues({context:this,hoverArea:s.hoverArea,elGrid:s.elGrid,clientX:t,clientY:a}),o=n.j,l=n.capturedSeries;r.globals.collapsedSeriesIndices.includes(l)&&(l=null);var c=s.elGrid.getBoundingClientRect();if(n.hoverX<0||n.hoverX>c.width)this.handleMouseOut(s);else if(l!==null)this.handleStickyCapturedSeries(e,l,s,o);else if(this.tooltipUtil.isXoverlap(o)||r.globals.isBarHorizontal){var u=r.globals.series.findIndex((function(d,h){return!r.globals.collapsedSeriesIndices.includes(h)}));this.create(e,this,u,o,s.ttItems)}}},{key:"handleStickyCapturedSeries",value:function(e,t,a,s){var r=this.w;if(!this.tConfig.shared&&r.globals.series[t][s]===null)return void this.handleMouseOut(a);if(r.globals.series[t][s]!==void 0)this.tConfig.shared&&this.tooltipUtil.isXoverlap(s)&&this.tooltipUtil.isInitialSeriesSameLen()?this.create(e,this,t,s,a.ttItems):this.create(e,this,t,s,a.ttItems,!1);else if(this.tooltipUtil.isXoverlap(s)){var n=r.globals.series.findIndex((function(o,l){return!r.globals.collapsedSeriesIndices.includes(l)}));this.create(e,this,n,s,a.ttItems)}}},{key:"deactivateHoverFilter",value:function(){for(var e=this.w,t=new Y(this.ctx),a=e.globals.dom.Paper.find(".apexcharts-bar-area"),s=0;s<a.length;s++)t.pathMouseLeave(a[s])}},{key:"handleMouseOut",value:function(e){var t=this.w,a=this.getElXCrosshairs();if(t.globals.dom.baseEl.classList.remove("apexcharts-tooltip-active"),e.tooltipEl.classList.remove("apexcharts-active"),this.deactivateHoverFilter(),t.config.chart.type!=="bubble"&&this.marker.resetPointsSize(),a!==null&&a.classList.remove("apexcharts-active"),this.ycrosshairs!==null&&this.ycrosshairs.classList.remove("apexcharts-active"),this.isXAxisTooltipEnabled&&this.xaxisTooltip.classList.remove("apexcharts-active"),this.yaxisTooltips.length){this.yaxisTTEls===null&&(this.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));for(var s=0;s<this.yaxisTTEls.length;s++)this.yaxisTTEls[s].classList.remove("apexcharts-active")}t.config.legend.tooltipHoverFormatter&&this.legendLabels.forEach((function(r){var n=r.getAttribute("data:default-text");r.innerHTML=decodeURIComponent(n)}))}},{key:"markerClick",value:function(e,t,a){var s=this.w;typeof s.config.chart.events.markerClick=="function"&&s.config.chart.events.markerClick(e,this.ctx,{seriesIndex:t,dataPointIndex:a,w:s}),this.ctx.events.fireEvent("markerClick",[e,this.ctx,{seriesIndex:t,dataPointIndex:a,w:s}])}},{key:"create",value:function(e,t,a,s,r){var n,o,l,c,u,d,h,f,g,p,m,b,v,x,k,y,A=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,w=this.w,S=t;e.type==="mouseup"&&this.markerClick(e,a,s),A===null&&(A=this.tConfig.shared);var C=this.tooltipUtil.hasMarkers(a),E=this.tooltipUtil.getElBars(),M=function(){w.globals.markers.largestSize>0?S.marker.enlargePoints(s):S.tooltipPosition.moveDynamicPointsOnHover(s)};if(w.config.legend.tooltipHoverFormatter){var P=w.config.legend.tooltipHoverFormatter,D=Array.from(this.legendLabels);D.forEach((function(Ee){var pe=Ee.getAttribute("data:default-text");Ee.innerHTML=decodeURIComponent(pe)}));for(var L=0;L<D.length;L++){var B=D[L],N=parseInt(B.getAttribute("i"),10),F=decodeURIComponent(B.getAttribute("data:default-text")),H=P(F,{seriesIndex:A?N:a,dataPointIndex:s,w});if(A)B.innerHTML=w.globals.collapsedSeriesIndices.indexOf(N)<0?H:F;else if(B.innerHTML=N===a?H:F,a===N)break}}var ie=$($({ttItems:r,i:a,j:s},((n=w.globals.seriesRange)===null||n===void 0||(o=n[a])===null||o===void 0||(l=o[s])===null||l===void 0||(c=l.y[0])===null||c===void 0?void 0:c.y1)!==void 0&&{y1:(u=w.globals.seriesRange)===null||u===void 0||(d=u[a])===null||d===void 0||(h=d[s])===null||h===void 0||(f=h.y[0])===null||f===void 0?void 0:f.y1}),((g=w.globals.seriesRange)===null||g===void 0||(p=g[a])===null||p===void 0||(m=p[s])===null||m===void 0||(b=m.y[0])===null||b===void 0?void 0:b.y2)!==void 0&&{y2:(v=w.globals.seriesRange)===null||v===void 0||(x=v[a])===null||x===void 0||(k=x[s])===null||k===void 0||(y=k.y[0])===null||y===void 0?void 0:y.y2});if(A){if(S.tooltipLabels.drawSeriesTexts($($({},ie),{},{shared:!this.showOnIntersect&&this.tConfig.shared})),C)M();else if(this.tooltipUtil.hasBars()&&(this.barSeriesHeight=this.tooltipUtil.getBarsHeight(E),this.barSeriesHeight>0)){var re=new Y(this.ctx),ae=w.globals.dom.Paper.find(".apexcharts-bar-area[j='".concat(s,"']"));this.deactivateHoverFilter(),S.tooltipUtil.getAllMarkers(!0).length&&!this.barSeriesHeight&&M(),S.tooltipPosition.moveStickyTooltipOverBars(s,a);for(var le=0;le<ae.length;le++)re.pathMouseEnter(ae[le])}}else S.tooltipLabels.drawSeriesTexts($({shared:!1},ie)),this.tooltipUtil.hasBars()&&S.tooltipPosition.moveStickyTooltipOverBars(s,a),C&&S.tooltipPosition.moveMarkers(a,s)}}]),i})(),aI=(function(){function i(e){ee(this,i),this.w=e.w,this.barCtx=e,this.totalFormatter=this.w.config.plotOptions.bar.dataLabels.total.formatter,this.totalFormatter||(this.totalFormatter=this.w.config.dataLabels.formatter)}return te(i,[{key:"handleBarDataLabels",value:function(e){var t,a,s=e.x,r=e.y,n=e.y1,o=e.y2,l=e.i,c=e.j,u=e.realIndex,d=e.columnGroupIndex,h=e.series,f=e.barHeight,g=e.barWidth,p=e.barXPosition,m=e.barYPosition,b=e.visibleSeries,v=this.w,x=new Y(this.barCtx.ctx),k=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[u]:this.barCtx.strokeWidth;v.globals.isXNumeric&&!v.globals.isBarHorizontal?(t=s+parseFloat(g*(b+1)),a=r+parseFloat(f*(b+1))-k):(t=s+parseFloat(g*b),a=r+parseFloat(f*b));var y,A=null,w=s,S=r,C={},E=v.config.dataLabels,M=this.barCtx.barOptions.dataLabels,P=this.barCtx.barOptions.dataLabels.total;m!==void 0&&this.barCtx.isRangeBar&&(a=m,S=m),p!==void 0&&this.barCtx.isVerticalGroupedRangeBar&&(t=p,w=p);var D=E.offsetX,L=E.offsetY,B={width:0,height:0};if(v.config.dataLabels.enabled){var N=v.globals.series[l][c];B=x.getTextRects(v.config.dataLabels.formatter?v.config.dataLabels.formatter(N,$($({},v),{},{seriesIndex:l,dataPointIndex:c,w:v})):v.globals.yLabelFormatters[0](N),parseFloat(E.style.fontSize))}var F={x:s,y:r,i:l,j:c,realIndex:u,columnGroupIndex:d,bcx:t,bcy:a,barHeight:f,barWidth:g,textRects:B,strokeWidth:k,dataLabelsX:w,dataLabelsY:S,dataLabelsConfig:E,barDataLabelsConfig:M,barTotalDataLabelsConfig:P,offX:D,offY:L};return C=this.barCtx.isHorizontal?this.calculateBarsDataLabelsPosition(F):this.calculateColumnsDataLabelsPosition(F),y=this.drawCalculatedDataLabels({x:C.dataLabelsX,y:C.dataLabelsY,val:this.barCtx.isRangeBar?[n,o]:v.config.chart.stackType==="100%"?h[u][c]:v.globals.series[u][c],i:u,j:c,barWidth:g,barHeight:f,textRects:B,dataLabelsConfig:E}),v.config.chart.stacked&&P.enabled&&(A=this.drawTotalDataLabels({x:C.totalDataLabelsX,y:C.totalDataLabelsY,barWidth:g,barHeight:f,realIndex:u,textAnchor:C.totalDataLabelsAnchor,val:this.getStackedTotalDataLabel({realIndex:u,j:c}),dataLabelsConfig:E,barTotalDataLabelsConfig:P})),{dataLabelsPos:C,dataLabels:y,totalDataLabels:A}}},{key:"getStackedTotalDataLabel",value:function(e){var t=e.realIndex,a=e.j,s=this.w,r=this.barCtx.stackedSeriesTotals[a];return this.totalFormatter&&(r=this.totalFormatter(r,$($({},s),{},{seriesIndex:t,dataPointIndex:a,w:s}))),r}},{key:"calculateColumnsDataLabelsPosition",value:function(e){var t=this,a=this.w,s=e.i,r=e.j,n=e.realIndex;e.columnGroupIndex;var o,l,c=e.y,u=e.bcx,d=e.barWidth,h=e.barHeight,f=e.textRects,g=e.dataLabelsX,p=e.dataLabelsY,m=e.dataLabelsConfig,b=e.barDataLabelsConfig,v=e.barTotalDataLabelsConfig,x=e.strokeWidth,k=e.offX,y=e.offY,A=u;h=Math.abs(h);var w=a.config.plotOptions.bar.dataLabels.orientation==="vertical",S=this.barCtx.barHelpers.getZeroValueEncounters({i:s,j:r}).zeroEncounters;u-=x/2;var C=a.globals.gridWidth/a.globals.dataPoints;this.barCtx.isVerticalGroupedRangeBar?g+=d/2:(g=a.globals.isXNumeric?u-d/2+k:u-C+d/2+k,!a.config.chart.stacked&&S>0&&a.config.plotOptions.bar.hideZeroBarsWhenGrouped&&(g-=d*S)),w&&(g=g+f.height/2-x/2-2);var E=a.globals.series[s][r]<0,M=c;switch(this.barCtx.isReversed&&(M=c+(E?h:-h)),b.position){case"center":p=w?E?M-h/2+y:M+h/2-y:E?M-h/2+f.height/2+y:M+h/2+f.height/2-y;break;case"bottom":p=w?E?M-h+y:M+h-y:E?M-h+f.height+x+y:M+h-f.height/2+x-y;break;case"top":p=w?E?M+y:M-y:E?M-f.height/2-y:M+f.height+y}var P=M;if(a.globals.seriesGroups.forEach((function(B){var N;(N=t.barCtx[B.join(",")])===null||N===void 0||N.prevY.forEach((function(F){P=E?Math.max(F[r],P):Math.min(F[r],P)}))})),this.barCtx.lastActiveBarSerieIndex===n&&v.enabled){var D=new Y(this.barCtx.ctx).getTextRects(this.getStackedTotalDataLabel({realIndex:n,j:r}),m.fontSize);o=E?P-D.height/2-y-v.offsetY+18:P+D.height+y+v.offsetY-18;var L=C;l=A+(a.globals.isXNumeric?-d*a.globals.barGroups.length/2:a.globals.barGroups.length*d/2-(a.globals.barGroups.length-1)*d-L)+v.offsetX}return a.config.chart.stacked||(p<0?p=0+x:p+f.height/3>a.globals.gridHeight&&(p=a.globals.gridHeight-x)),{bcx:u,bcy:c,dataLabelsX:g,dataLabelsY:p,totalDataLabelsX:l,totalDataLabelsY:o,totalDataLabelsAnchor:"middle"}}},{key:"calculateBarsDataLabelsPosition",value:function(e){var t=this,a=this.w,s=e.x,r=e.i,n=e.j,o=e.realIndex,l=e.bcy,c=e.barHeight,u=e.barWidth,d=e.textRects,h=e.dataLabelsX,f=e.strokeWidth,g=e.dataLabelsConfig,p=e.barDataLabelsConfig,m=e.barTotalDataLabelsConfig,b=e.offX,v=e.offY,x=a.globals.gridHeight/a.globals.dataPoints,k=this.barCtx.barHelpers.getZeroValueEncounters({i:r,j:n}).zeroEncounters;u=Math.abs(u);var y,A,w=l-(this.barCtx.isRangeBar?0:x)+c/2+d.height/2+v-3;!a.config.chart.stacked&&k>0&&a.config.plotOptions.bar.hideZeroBarsWhenGrouped&&(w-=c*k);var S="start",C=a.globals.series[r][n]<0,E=s;switch(this.barCtx.isReversed&&(E=s+(C?-u:u),S=C?"start":"end"),p.position){case"center":h=C?E+u/2-b:Math.max(d.width/2,E-u/2)+b;break;case"bottom":h=C?E+u-f-b:E-u+f+b;break;case"top":h=C?E-f-b:E-f+b}var M=E;if(a.globals.seriesGroups.forEach((function(D){var L;(L=t.barCtx[D.join(",")])===null||L===void 0||L.prevX.forEach((function(B){M=C?Math.min(B[n],M):Math.max(B[n],M)}))})),this.barCtx.lastActiveBarSerieIndex===o&&m.enabled){var P=new Y(this.barCtx.ctx).getTextRects(this.getStackedTotalDataLabel({realIndex:o,j:n}),g.fontSize);C?(y=M-f-b-m.offsetX,S="end"):y=M+b+m.offsetX+(this.barCtx.isReversed?-(u+f):f),A=w-d.height/2+P.height/2+m.offsetY+f,a.globals.barGroups.length>1&&(A-=a.globals.barGroups.length/2*(c/2))}return a.config.chart.stacked||(g.textAnchor==="start"?h-d.width<0?h=C?d.width+f:f:h+d.width>a.globals.gridWidth&&(h=C?a.globals.gridWidth-f:a.globals.gridWidth-d.width-f):g.textAnchor==="middle"?h-d.width/2<0?h=d.width/2+f:h+d.width/2>a.globals.gridWidth&&(h=a.globals.gridWidth-d.width/2-f):g.textAnchor==="end"&&(h<1?h=d.width+f:h+1>a.globals.gridWidth&&(h=a.globals.gridWidth-d.width-f))),{bcx:s,bcy:l,dataLabelsX:h,dataLabelsY:w,totalDataLabelsX:y,totalDataLabelsY:A,totalDataLabelsAnchor:S}}},{key:"drawCalculatedDataLabels",value:function(e){var t=e.x,a=e.y,s=e.val,r=e.i,n=e.j,o=e.textRects,l=e.barHeight,c=e.barWidth,u=e.dataLabelsConfig,d=this.w,h="rotate(0)";d.config.plotOptions.bar.dataLabels.orientation==="vertical"&&(h="rotate(-90, ".concat(t,", ").concat(a,")"));var f=new Ls(this.barCtx.ctx),g=new Y(this.barCtx.ctx),p=u.formatter,m=null,b=d.globals.collapsedSeriesIndices.indexOf(r)>-1;if(u.enabled&&!b){m=g.group({class:"apexcharts-data-labels",transform:h});var v="";s!==void 0&&(v=p(s,$($({},d),{},{seriesIndex:r,dataPointIndex:n,w:d}))),!s&&d.config.plotOptions.bar.hideZeroBarsWhenGrouped&&(v="");var x=d.globals.series[r][n]<0,k=d.config.plotOptions.bar.dataLabels.position;d.config.plotOptions.bar.dataLabels.orientation==="vertical"&&(k==="top"&&(u.textAnchor=x?"end":"start"),k==="center"&&(u.textAnchor="middle"),k==="bottom"&&(u.textAnchor=x?"end":"start")),this.barCtx.isRangeBar&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&c<g.getTextRects(v,parseFloat(u.style.fontSize)).width&&(v=""),d.config.chart.stacked&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&(this.barCtx.isHorizontal?o.width/1.6>Math.abs(c)&&(v=""):o.height/1.6>Math.abs(l)&&(v=""));var y=$({},u);this.barCtx.isHorizontal&&s<0&&(u.textAnchor==="start"?y.textAnchor="end":u.textAnchor==="end"&&(y.textAnchor="start")),f.plotDataLabelsText({x:t,y:a,text:v,i:r,j:n,parent:m,dataLabelsConfig:y,alwaysDrawDataLabel:!0,offsetCorrection:!0})}return m}},{key:"drawTotalDataLabels",value:function(e){var t=e.x,a=e.y,s=e.val,r=e.realIndex,n=e.textAnchor,o=e.barTotalDataLabelsConfig;this.w;var l,c=new Y(this.barCtx.ctx);return o.enabled&&t!==void 0&&a!==void 0&&this.barCtx.lastActiveBarSerieIndex===r&&(l=c.drawText({x:t,y:a,foreColor:o.style.color,text:s,textAnchor:n,fontFamily:o.style.fontFamily,fontSize:o.style.fontSize,fontWeight:o.style.fontWeight})),l}}]),i})(),sI=(function(){function i(e){ee(this,i),this.w=e.w,this.barCtx=e}return te(i,[{key:"initVariables",value:function(e){var t=this.w;this.barCtx.series=e,this.barCtx.totalItems=0,this.barCtx.seriesLen=0,this.barCtx.visibleI=-1,this.barCtx.visibleItems=1;for(var a=0;a<e.length;a++)if(e[a].length>0&&(this.barCtx.seriesLen=this.barCtx.seriesLen+1,this.barCtx.totalItems+=e[a].length),t.globals.isXNumeric)for(var s=0;s<e[a].length;s++)t.globals.seriesX[a][s]>t.globals.minX&&t.globals.seriesX[a][s]<t.globals.maxX&&this.barCtx.visibleItems++;else this.barCtx.visibleItems=t.globals.dataPoints;this.arrBorderRadius=this.createBorderRadiusArr(t.globals.series),T.isSafari()&&(this.arrBorderRadius=this.arrBorderRadius.map((function(r){return r.map((function(n){return"none"}))}))),this.barCtx.seriesLen===0&&(this.barCtx.seriesLen=1),this.barCtx.zeroSerieses=[],t.globals.comboCharts||this.checkZeroSeries({series:e})}},{key:"initialPositions",value:function(e){var t,a,s,r,n,o,l,c,u=this.w,d=u.globals.dataPoints;this.barCtx.isRangeBar&&(d=u.globals.labels.length);var h=this.barCtx.seriesLen;if(u.config.plotOptions.bar.rangeBarGroupRows&&(h=1),this.barCtx.isHorizontal)n=(s=u.globals.gridHeight/d)/h,u.globals.isXNumeric&&(n=(s=u.globals.gridHeight/this.barCtx.totalItems)/this.barCtx.seriesLen),n=n*parseInt(this.barCtx.barOptions.barHeight,10)/100,String(this.barCtx.barOptions.barHeight).indexOf("%")===-1&&(n=parseInt(this.barCtx.barOptions.barHeight,10)),c=this.barCtx.baseLineInvertedY+u.globals.padHorizontal+(this.barCtx.isReversed?u.globals.gridWidth:0)-(this.barCtx.isReversed?2*this.barCtx.baseLineInvertedY:0),this.barCtx.isFunnel&&(c=u.globals.gridWidth/2),a=(s-n*this.barCtx.seriesLen)/2;else{if(r=u.globals.gridWidth/this.barCtx.visibleItems,u.config.xaxis.convertedCatToNumeric&&(r=u.globals.gridWidth/u.globals.dataPoints),o=r/h*parseInt(this.barCtx.barOptions.columnWidth,10)/100,u.globals.isXNumeric){var f=this.barCtx.xRatio;u.globals.minXDiff&&u.globals.minXDiff!==.5&&u.globals.minXDiff/f>0&&(r=u.globals.minXDiff/f),(o=r/h*parseInt(this.barCtx.barOptions.columnWidth,10)/100)<1&&(o=1)}String(this.barCtx.barOptions.columnWidth).indexOf("%")===-1&&(o=parseInt(this.barCtx.barOptions.columnWidth,10)),l=u.globals.gridHeight-this.barCtx.baseLineY[this.barCtx.translationsIndex]-(this.barCtx.isReversed?u.globals.gridHeight:0)+(this.barCtx.isReversed?2*this.barCtx.baseLineY[this.barCtx.translationsIndex]:0),u.globals.isXNumeric?t=this.barCtx.getBarXForNumericXAxis({x:t,j:0,realIndex:e,barWidth:o}).x:t=u.globals.padHorizontal+T.noExponents(r-o*this.barCtx.seriesLen)/2}return u.globals.barHeight=n,u.globals.barWidth=o,{x:t,y:a,yDivision:s,xDivision:r,barHeight:n,barWidth:o,zeroH:l,zeroW:c}}},{key:"initializeStackedPrevVars",value:function(e){e.w.globals.seriesGroups.forEach((function(t){e[t]||(e[t]={}),e[t].prevY=[],e[t].prevX=[],e[t].prevYF=[],e[t].prevXF=[],e[t].prevYVal=[],e[t].prevXVal=[]}))}},{key:"initializeStackedXYVars",value:function(e){e.w.globals.seriesGroups.forEach((function(t){e[t]||(e[t]={}),e[t].xArrj=[],e[t].xArrjF=[],e[t].xArrjVal=[],e[t].yArrj=[],e[t].yArrjF=[],e[t].yArrjVal=[]}))}},{key:"getPathFillColor",value:function(e,t,a,s){var r,n,o,l,c=this.w,u=this.barCtx.ctx.fill,d=null,h=this.barCtx.barOptions.distributed?a:t,f=!1;return this.barCtx.barOptions.colors.ranges.length>0&&this.barCtx.barOptions.colors.ranges.map((function(g){e[t][a]>=g.from&&e[t][a]<=g.to&&(d=g.color,f=!0)})),{color:u.fillPath({seriesNumber:this.barCtx.barOptions.distributed?h:s,dataPointIndex:a,color:d,value:e[t][a],fillConfig:(r=c.config.series[t].data[a])===null||r===void 0?void 0:r.fill,fillType:(n=c.config.series[t].data[a])!==null&&n!==void 0&&(o=n.fill)!==null&&o!==void 0&&o.type?(l=c.config.series[t].data[a])===null||l===void 0?void 0:l.fill.type:Array.isArray(c.config.fill.type)?c.config.fill.type[s]:c.config.fill.type}),useRangeColor:f}}},{key:"getStrokeWidth",value:function(e,t,a){var s=0,r=this.w;return this.barCtx.series[e][t]===void 0||this.barCtx.series[e][t]===null||r.config.chart.type==="bar"&&!this.barCtx.series[e][t]?this.barCtx.isNullValue=!0:this.barCtx.isNullValue=!1,r.config.stroke.show&&(this.barCtx.isNullValue||(s=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[a]:this.barCtx.strokeWidth)),s}},{key:"createBorderRadiusArr",value:function(e){var t,a=this.w,s=!this.w.config.chart.stacked||a.config.plotOptions.bar.borderRadius<=0,r=e.length,n=0|((t=e[0])===null||t===void 0?void 0:t.length),o=Array.from({length:r},(function(){return Array(n).fill(s?"top":"none")}));if(s)return o;for(var l=0;l<n;l++){for(var c=[],u=[],d=0,h=0;h<r;h++){var f=e[h][l];f>0?(c.push(h),d++):f<0&&(u.push(h),d++)}if(c.length>0&&u.length===0)if(c.length===1)o[c[0]][l]="both";else{var g,p=c[0],m=c[c.length-1],b=nr(c);try{for(b.s();!(g=b.n()).done;){var v=g.value;o[v][l]=v===p?"bottom":v===m?"top":"none"}}catch(N){b.e(N)}finally{b.f()}}else if(u.length>0&&c.length===0)if(u.length===1)o[u[0]][l]="both";else{var x,k=Math.max.apply(Math,u),y=Math.min.apply(Math,u),A=nr(u);try{for(A.s();!(x=A.n()).done;){var w=x.value;o[w][l]=w===k?"bottom":w===y?"top":"none"}}catch(N){A.e(N)}finally{A.f()}}else if(c.length>0&&u.length>0){var S,C=c[c.length-1],E=nr(c);try{for(E.s();!(S=E.n()).done;){var M=S.value;o[M][l]=M===C?"top":"none"}}catch(N){E.e(N)}finally{E.f()}var P,D=Math.max.apply(Math,u),L=nr(u);try{for(L.s();!(P=L.n()).done;){var B=P.value;o[B][l]=B===D?"bottom":"none"}}catch(N){L.e(N)}finally{L.f()}}else d===1&&(o[c[0]||u[0]][l]="both")}return o}},{key:"barBackground",value:function(e){var t=e.j,a=e.i,s=e.x1,r=e.x2,n=e.y1,o=e.y2,l=e.elSeries,c=this.w,u=new Y(this.barCtx.ctx),d=new ri(this.barCtx.ctx).getActiveConfigSeriesIndex();if(this.barCtx.barOptions.colors.backgroundBarColors.length>0&&d===a){t>=this.barCtx.barOptions.colors.backgroundBarColors.length&&(t%=this.barCtx.barOptions.colors.backgroundBarColors.length);var h=this.barCtx.barOptions.colors.backgroundBarColors[t],f=u.drawRect(s!==void 0?s:0,n!==void 0?n:0,r!==void 0?r:c.globals.gridWidth,o!==void 0?o:c.globals.gridHeight,this.barCtx.barOptions.colors.backgroundBarRadius,h,this.barCtx.barOptions.colors.backgroundBarOpacity);l.add(f),f.node.classList.add("apexcharts-backgroundBar")}}},{key:"getColumnPaths",value:function(e){var t,a=e.barWidth,s=e.barXPosition,r=e.y1,n=e.y2,o=e.strokeWidth,l=e.isReversed,c=e.series,u=e.seriesGroup,d=e.realIndex,h=e.i,f=e.j,g=e.w,p=new Y(this.barCtx.ctx);(o=Array.isArray(o)?o[d]:o)||(o=0);var m=a,b=s;(t=g.config.series[d].data[f])!==null&&t!==void 0&&t.columnWidthOffset&&(b=s-g.config.series[d].data[f].columnWidthOffset/2,m=a+g.config.series[d].data[f].columnWidthOffset);var v=o/2,x=b+v,k=b+m-v,y=(c[h][f]>=0?1:-1)*(l?-1:1);r+=.001-v*y,n+=.001+v*y;var A=p.move(x,r),w=p.move(x,r),S=p.line(k,r);if(g.globals.previousPaths.length>0&&(w=this.barCtx.getPreviousPath(d,f,!1)),A=A+p.line(x,n)+p.line(k,n)+S+(g.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[d][f]==="both"?" Z":" z"),w=w+p.line(x,r)+S+S+S+S+S+p.line(x,r)+(g.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[d][f]==="both"?" Z":" z"),this.arrBorderRadius[d][f]!=="none"&&(A=p.roundPathCorners(A,g.config.plotOptions.bar.borderRadius)),g.config.chart.stacked){var C=this.barCtx;(C=this.barCtx[u]).yArrj.push(n-v*y),C.yArrjF.push(Math.abs(r-n+o*y)),C.yArrjVal.push(this.barCtx.series[h][f])}return{pathTo:A,pathFrom:w}}},{key:"getBarpaths",value:function(e){var t,a=e.barYPosition,s=e.barHeight,r=e.x1,n=e.x2,o=e.strokeWidth,l=e.isReversed,c=e.series,u=e.seriesGroup,d=e.realIndex,h=e.i,f=e.j,g=e.w,p=new Y(this.barCtx.ctx);(o=Array.isArray(o)?o[d]:o)||(o=0);var m=a,b=s;(t=g.config.series[d].data[f])!==null&&t!==void 0&&t.barHeightOffset&&(m=a-g.config.series[d].data[f].barHeightOffset/2,b=s+g.config.series[d].data[f].barHeightOffset);var v=o/2,x=m+v,k=m+b-v,y=(c[h][f]>=0?1:-1)*(l?-1:1);r+=.001+v*y,n+=.001-v*y;var A=p.move(r,x),w=p.move(r,x);g.globals.previousPaths.length>0&&(w=this.barCtx.getPreviousPath(d,f,!1));var S=p.line(r,k);if(A=A+p.line(n,x)+p.line(n,k)+S+(g.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[d][f]==="both"?" Z":" z"),w=w+p.line(r,x)+S+S+S+S+S+p.line(r,x)+(g.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[d][f]==="both"?" Z":" z"),this.arrBorderRadius[d][f]!=="none"&&(A=p.roundPathCorners(A,g.config.plotOptions.bar.borderRadius)),g.config.chart.stacked){var C=this.barCtx;(C=this.barCtx[u]).xArrj.push(n+v*y),C.xArrjF.push(Math.abs(r-n-o*y)),C.xArrjVal.push(this.barCtx.series[h][f])}return{pathTo:A,pathFrom:w}}},{key:"checkZeroSeries",value:function(e){for(var t=e.series,a=this.w,s=0;s<t.length;s++){for(var r=0,n=0;n<t[a.globals.maxValsInArrayIndex].length;n++)r+=t[s][n];r===0&&this.barCtx.zeroSerieses.push(s)}}},{key:"getXForValue",value:function(e,t){var a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2]?t:null;return e!=null&&(a=t+e/this.barCtx.invertedYRatio-2*(this.barCtx.isReversed?e/this.barCtx.invertedYRatio:0)),a}},{key:"getYForValue",value:function(e,t,a){var s=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3]?t:null;return e!=null&&(s=t-e/this.barCtx.yRatio[a]+2*(this.barCtx.isReversed?e/this.barCtx.yRatio[a]:0)),s}},{key:"getGoalValues",value:function(e,t,a,s,r,n){var o=this,l=this.w,c=[],u=function(f,g){var p;c.push((mo(p={},e,e==="x"?o.getXForValue(f,t,!1):o.getYForValue(f,a,n,!1)),mo(p,"attrs",g),p))};if(l.globals.seriesGoals[s]&&l.globals.seriesGoals[s][r]&&Array.isArray(l.globals.seriesGoals[s][r])&&l.globals.seriesGoals[s][r].forEach((function(f){u(f.value,f)})),this.barCtx.barOptions.isDumbbell&&l.globals.seriesRange.length){var d=this.barCtx.barOptions.dumbbellColors?this.barCtx.barOptions.dumbbellColors:l.globals.colors,h={strokeHeight:e==="x"?0:l.globals.markers.size[s],strokeWidth:e==="x"?l.globals.markers.size[s]:0,strokeDashArray:0,strokeLineCap:"round",strokeColor:Array.isArray(d[s])?d[s][0]:d[s]};u(l.globals.seriesRangeStart[s][r],h),u(l.globals.seriesRangeEnd[s][r],$($({},h),{},{strokeColor:Array.isArray(d[s])?d[s][1]:d[s]}))}return c}},{key:"drawGoalLine",value:function(e){var t=e.barXPosition,a=e.barYPosition,s=e.goalX,r=e.goalY,n=e.barWidth,o=e.barHeight,l=new Y(this.barCtx.ctx),c=l.group({className:"apexcharts-bar-goals-groups"});c.node.classList.add("apexcharts-element-hidden"),this.barCtx.w.globals.delayedElements.push({el:c.node}),c.attr("clip-path","url(#gridRectMarkerMask".concat(this.barCtx.w.globals.cuid,")"));var u=null;return this.barCtx.isHorizontal?Array.isArray(s)&&s.forEach((function(d){if(d.x>=-1&&d.x<=l.w.globals.gridWidth+1){var h=d.attrs.strokeHeight!==void 0?d.attrs.strokeHeight:o/2,f=a+h+o/2;u=l.drawLine(d.x,f-2*h,d.x,f,d.attrs.strokeColor?d.attrs.strokeColor:void 0,d.attrs.strokeDashArray,d.attrs.strokeWidth?d.attrs.strokeWidth:2,d.attrs.strokeLineCap),c.add(u)}})):Array.isArray(r)&&r.forEach((function(d){if(d.y>=-1&&d.y<=l.w.globals.gridHeight+1){var h=d.attrs.strokeWidth!==void 0?d.attrs.strokeWidth:n/2,f=t+h+n/2;u=l.drawLine(f-2*h,d.y,f,d.y,d.attrs.strokeColor?d.attrs.strokeColor:void 0,d.attrs.strokeDashArray,d.attrs.strokeHeight?d.attrs.strokeHeight:2,d.attrs.strokeLineCap),c.add(u)}})),c}},{key:"drawBarShadow",value:function(e){var t=e.prevPaths,a=e.currPaths,s=e.color,r=this.w,n=t.x,o=t.x1,l=t.barYPosition,c=a.x,u=a.x1,d=a.barYPosition,h=l+a.barHeight,f=new Y(this.barCtx.ctx),g=new T,p=f.move(o,h)+f.line(n,h)+f.line(c,d)+f.line(u,d)+f.line(o,h)+(r.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[realIndex][j]==="both"?" Z":" z");return f.drawPath({d:p,fill:g.shadeColor(.5,T.rgb2hex(s)),stroke:"none",strokeWidth:0,fillOpacity:1,classes:"apexcharts-bar-shadow apexcharts-decoration-element"})}},{key:"getZeroValueEncounters",value:function(e){var t,a=e.i,s=e.j,r=this.w,n=0,o=0;return(r.config.plotOptions.bar.horizontal?r.globals.series.map((function(l,c){return c})):((t=r.globals.columnSeries)===null||t===void 0?void 0:t.i.map((function(l){return l})))||[]).forEach((function(l){var c=r.globals.seriesPercent[l][s];c&&n++,l<a&&c===0&&o++})),{nonZeroColumns:n,zeroEncounters:o}}},{key:"getGroupIndex",value:function(e){var t=this.w,a=t.globals.seriesGroups.findIndex((function(n){return n.indexOf(t.globals.seriesNames[e])>-1})),s=this.barCtx.columnGroupIndices,r=s.indexOf(a);return r<0&&(s.push(a),r=s.length-1),{groupIndex:a,columnGroupIndex:r}}}]),i})(),Rs=(function(){function i(e,t){ee(this,i),this.ctx=e,this.w=e.w;var a=this.w;this.barOptions=a.config.plotOptions.bar,this.isHorizontal=this.barOptions.horizontal,this.strokeWidth=a.config.stroke.width,this.isNullValue=!1,this.isRangeBar=a.globals.seriesRange.length&&this.isHorizontal,this.isVerticalGroupedRangeBar=!a.globals.isBarHorizontal&&a.globals.seriesRange.length&&a.config.plotOptions.bar.rangeBarGroupRows,this.isFunnel=this.barOptions.isFunnel,this.xyRatios=t,this.xyRatios!==null&&(this.xRatio=t.xRatio,this.yRatio=t.yRatio,this.invertedXRatio=t.invertedXRatio,this.invertedYRatio=t.invertedYRatio,this.baseLineY=t.baseLineY,this.baseLineInvertedY=t.baseLineInvertedY),this.yaxisIndex=0,this.translationsIndex=0,this.seriesLen=0,this.pathArr=[];var s=new ri(this.ctx);this.lastActiveBarSerieIndex=s.getActiveConfigSeriesIndex("desc",["bar","column"]),this.columnGroupIndices=[];var r=s.getBarSeriesIndices(),n=new rt(this.ctx);this.stackedSeriesTotals=n.getStackedSeriesTotals(this.w.config.series.map((function(o,l){return r.indexOf(l)===-1?l:-1})).filter((function(o){return o!==-1}))),this.barHelpers=new sI(this)}return te(i,[{key:"draw",value:function(e,t){var a=this.w,s=new Y(this.ctx),r=new rt(this.ctx,a);e=r.getLogSeries(e),this.series=e,this.yRatio=r.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e);var n=s.group({class:"apexcharts-bar-series apexcharts-plot-series"});a.config.dataLabels.enabled&&this.totalItems>this.barOptions.dataLabels.maxItems&&console.warn("WARNING: DataLabels are enabled but there are too many to display. This may cause performance issue when rendering - ApexCharts");for(var o=0,l=0;o<e.length;o++,l++){var c,u,d,h,f=void 0,g=void 0,p=[],m=[],b=a.globals.comboCharts?t[o]:o,v=this.barHelpers.getGroupIndex(b).columnGroupIndex,x=s.group({class:"apexcharts-series",rel:o+1,seriesName:T.escapeString(a.globals.seriesNames[b]),"data:realIndex":b});this.ctx.series.addCollapsedClassToSeries(x,b),e[o].length>0&&(this.visibleI=this.visibleI+1);var k=0,y=0;this.yRatio.length>1&&(this.yaxisIndex=a.globals.seriesYAxisReverseMap[b],this.translationsIndex=b);var A=this.translationsIndex;this.isReversed=a.config.yaxis[this.yaxisIndex]&&a.config.yaxis[this.yaxisIndex].reversed;var w=this.barHelpers.initialPositions(b);g=w.y,k=w.barHeight,u=w.yDivision,h=w.zeroW,f=w.x,y=w.barWidth,c=w.xDivision,d=w.zeroH,this.isHorizontal||m.push(f+y/2);var S=s.group({class:"apexcharts-datalabels","data:realIndex":b});a.globals.delayedElements.push({el:S.node}),S.node.classList.add("apexcharts-element-hidden");var C=s.group({class:"apexcharts-bar-goals-markers"}),E=s.group({class:"apexcharts-bar-shadows"});a.globals.delayedElements.push({el:E.node}),E.node.classList.add("apexcharts-element-hidden");for(var M=0;M<e[o].length;M++){var P=this.barHelpers.getStrokeWidth(o,M,b),D=null,L={indexes:{i:o,j:M,realIndex:b,translationsIndex:A,bc:l},x:f,y:g,strokeWidth:P,elSeries:x};this.isHorizontal?(D=this.drawBarPaths($($({},L),{},{barHeight:k,zeroW:h,yDivision:u})),y=this.series[o][M]/this.invertedYRatio):(D=this.drawColumnPaths($($({},L),{},{xDivision:c,barWidth:y,zeroH:d})),k=this.series[o][M]/this.yRatio[A]);var B=this.barHelpers.getPathFillColor(e,o,M,b);if(this.isFunnel&&this.barOptions.isFunnel3d&&this.pathArr.length&&M>0){var N,F=this.barHelpers.drawBarShadow({color:typeof B.color=="string"&&((N=B.color)===null||N===void 0?void 0:N.indexOf("url"))===-1?B.color:T.hexToRgba(a.globals.colors[o]),prevPaths:this.pathArr[this.pathArr.length-1],currPaths:D});E.add(F),a.config.chart.dropShadow.enabled&&new bt(this.ctx).dropShadow(F,a.config.chart.dropShadow,b)}this.pathArr.push(D);var H=this.barHelpers.drawGoalLine({barXPosition:D.barXPosition,barYPosition:D.barYPosition,goalX:D.goalX,goalY:D.goalY,barHeight:k,barWidth:y});H&&C.add(H),g=D.y,f=D.x,M>0&&m.push(f+y/2),p.push(g),this.renderSeries($($({realIndex:b,pathFill:B.color},B.useRangeColor?{lineFill:B.color}:{}),{},{j:M,i:o,columnGroupIndex:v,pathFrom:D.pathFrom,pathTo:D.pathTo,strokeWidth:P,elSeries:x,x:f,y:g,series:e,barHeight:Math.abs(D.barHeight?D.barHeight:k),barWidth:Math.abs(D.barWidth?D.barWidth:y),elDataLabelsWrap:S,elGoalsMarkers:C,elBarShadows:E,visibleSeries:this.visibleI,type:"bar"}))}a.globals.seriesXvalues[b]=m,a.globals.seriesYvalues[b]=p,n.add(x)}return n}},{key:"renderSeries",value:function(e){var t=e.realIndex,a=e.pathFill,s=e.lineFill,r=e.j,n=e.i,o=e.columnGroupIndex,l=e.pathFrom,c=e.pathTo,u=e.strokeWidth,d=e.elSeries,h=e.x,f=e.y,g=e.y1,p=e.y2,m=e.series,b=e.barHeight,v=e.barWidth,x=e.barXPosition,k=e.barYPosition,y=e.elDataLabelsWrap,A=e.elGoalsMarkers,w=e.elBarShadows,S=e.visibleSeries,C=e.type,E=e.classes,M=this.w,P=new Y(this.ctx),D=!1;if(!s){var L=typeof M.globals.stroke.colors[t]=="function"?(function(ie){var re,ae=M.config.stroke.colors;return Array.isArray(ae)&&ae.length>0&&((re=ae[ie])||(re=""),typeof re=="function")?re({value:M.globals.series[ie][r],dataPointIndex:r,w:M}):re})(t):M.globals.stroke.colors[t];s=this.barOptions.distributed?M.globals.stroke.colors[r]:L}var B=new aI(this).handleBarDataLabels({x:h,y:f,y1:g,y2:p,i:n,j:r,series:m,realIndex:t,columnGroupIndex:o,barHeight:b,barWidth:v,barXPosition:x,barYPosition:k,visibleSeries:S});M.globals.isBarHorizontal||(B.dataLabelsPos.dataLabelsX+Math.max(v,M.globals.barPadForNumericAxis)<0||B.dataLabelsPos.dataLabelsX-Math.max(v,M.globals.barPadForNumericAxis)>M.globals.gridWidth)&&(D=!0),M.config.series[n].data[r]&&M.config.series[n].data[r].strokeColor&&(s=M.config.series[n].data[r].strokeColor),this.isNullValue&&(a="none");var N=r/M.config.chart.animations.animateGradually.delay*(M.config.chart.animations.speed/M.globals.dataPoints)/2.4;if(!D){var F=P.renderPaths({i:n,j:r,realIndex:t,pathFrom:l,pathTo:c,stroke:s,strokeWidth:u,strokeLineCap:M.config.stroke.lineCap,fill:a,animationDelay:N,initialSpeed:M.config.chart.animations.speed,dataChangeSpeed:M.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(C,"-area ").concat(E),chartType:C});F.attr("clip-path","url(#gridRectBarMask".concat(M.globals.cuid,")"));var H=M.config.forecastDataPoints;H.count>0&&r>=M.globals.dataPoints-H.count&&(F.node.setAttribute("stroke-dasharray",H.dashArray),F.node.setAttribute("stroke-width",H.strokeWidth),F.node.setAttribute("fill-opacity",H.fillOpacity)),g!==void 0&&p!==void 0&&(F.attr("data-range-y1",g),F.attr("data-range-y2",p)),new bt(this.ctx).setSelectionFilter(F,t,r),d.add(F),F.attr({cy:B.dataLabelsPos.bcy,cx:B.dataLabelsPos.bcx,j:r,val:M.globals.series[n][r],barHeight:b,barWidth:v}),B.dataLabels!==null&&y.add(B.dataLabels),B.totalDataLabels&&y.add(B.totalDataLabels),d.add(y),A&&d.add(A),w&&d.add(w)}return d}},{key:"drawBarPaths",value:function(e){var t,a=e.indexes,s=e.barHeight,r=e.strokeWidth,n=e.zeroW,o=e.x,l=e.y,c=e.yDivision,u=e.elSeries,d=this.w,h=a.i,f=a.j;if(d.globals.isXNumeric)t=(l=(d.globals.seriesX[h][f]-d.globals.minX)/this.invertedXRatio-s)+s*this.visibleI;else if(d.config.plotOptions.bar.hideZeroBarsWhenGrouped){var g=this.barHelpers.getZeroValueEncounters({i:h,j:f}),p=g.nonZeroColumns,m=g.zeroEncounters;p>0&&(s=this.seriesLen*s/p),t=l+s*this.visibleI,t-=s*m}else t=l+s*this.visibleI;this.isFunnel&&(n-=(this.barHelpers.getXForValue(this.series[h][f],n)-n)/2),o=this.barHelpers.getXForValue(this.series[h][f],n);var b=this.barHelpers.getBarpaths({barYPosition:t,barHeight:s,x1:n,x2:o,strokeWidth:r,isReversed:this.isReversed,series:this.series,realIndex:a.realIndex,i:h,j:f,w:d});return d.globals.isXNumeric||(l+=c),this.barHelpers.barBackground({j:f,i:h,y1:t-s*this.visibleI,y2:s*this.seriesLen,elSeries:u}),{pathTo:b.pathTo,pathFrom:b.pathFrom,x1:n,x:o,y:l,goalX:this.barHelpers.getGoalValues("x",n,null,h,f),barYPosition:t,barHeight:s}}},{key:"drawColumnPaths",value:function(e){var t,a=e.indexes,s=e.x,r=e.y,n=e.xDivision,o=e.barWidth,l=e.zeroH,c=e.strokeWidth,u=e.elSeries,d=this.w,h=a.realIndex,f=a.translationsIndex,g=a.i,p=a.j,m=a.bc;if(d.globals.isXNumeric){var b=this.getBarXForNumericXAxis({x:s,j:p,realIndex:h,barWidth:o});s=b.x,t=b.barXPosition}else if(d.config.plotOptions.bar.hideZeroBarsWhenGrouped){var v=this.barHelpers.getZeroValueEncounters({i:g,j:p}),x=v.nonZeroColumns,k=v.zeroEncounters;x>0&&(o=this.seriesLen*o/x),t=s+o*this.visibleI,t-=o*k}else t=s+o*this.visibleI;r=this.barHelpers.getYForValue(this.series[g][p],l,f);var y=this.barHelpers.getColumnPaths({barXPosition:t,barWidth:o,y1:l,y2:r,strokeWidth:c,isReversed:this.isReversed,series:this.series,realIndex:h,i:g,j:p,w:d});return d.globals.isXNumeric||(s+=n),this.barHelpers.barBackground({bc:m,j:p,i:g,x1:t-c/2-o*this.visibleI,x2:o*this.seriesLen+c/2,elSeries:u}),{pathTo:y.pathTo,pathFrom:y.pathFrom,x:s,y:r,goalY:this.barHelpers.getGoalValues("y",null,l,g,p,f),barXPosition:t,barWidth:o}}},{key:"getBarXForNumericXAxis",value:function(e){var t=e.x,a=e.barWidth,s=e.realIndex,r=e.j,n=this.w,o=s;return n.globals.seriesX[s].length||(o=n.globals.maxValsInArrayIndex),T.isNumber(n.globals.seriesX[o][r])&&(t=(n.globals.seriesX[o][r]-n.globals.minX)/this.xRatio-a*this.seriesLen/2),{barXPosition:t+a*this.visibleI,x:t}}},{key:"getPreviousPath",value:function(e,t){for(var a=this.w,s="M 0 0",r=0;r<a.globals.previousPaths.length;r++){var n=a.globals.previousPaths[r];n.paths&&n.paths.length>0&&parseInt(n.realIndex,10)===parseInt(e,10)&&a.globals.previousPaths[r].paths[t]!==void 0&&(s=a.globals.previousPaths[r].paths[t].d)}return s}}]),i})(),Dg=(function(i){an(t,Rs);var e=tn(t);function t(){return ee(this,t),e.apply(this,arguments)}return te(t,[{key:"draw",value:function(a,s){var r=this,n=this.w;this.graphics=new Y(this.ctx),this.bar=new Rs(this.ctx,this.xyRatios);var o=new rt(this.ctx,n);a=o.getLogSeries(a),this.yRatio=o.getLogYRatios(this.yRatio),this.barHelpers.initVariables(a),n.config.chart.stackType==="100%"&&(a=n.globals.comboCharts?s.map((function(g){return n.globals.seriesPercent[g]})):n.globals.seriesPercent.slice()),this.series=a,this.barHelpers.initializeStackedPrevVars(this);for(var l=this.graphics.group({class:"apexcharts-bar-series apexcharts-plot-series"}),c=0,u=0,d=function(g,p){var m=void 0,b=void 0,v=void 0,x=void 0,k=n.globals.comboCharts?s[g]:g,y=r.barHelpers.getGroupIndex(k),A=y.groupIndex,w=y.columnGroupIndex;r.groupCtx=r[n.globals.seriesGroups[A]];var S=[],C=[],E=0;r.yRatio.length>1&&(r.yaxisIndex=n.globals.seriesYAxisReverseMap[k][0],E=k),r.isReversed=n.config.yaxis[r.yaxisIndex]&&n.config.yaxis[r.yaxisIndex].reversed;var M=r.graphics.group({class:"apexcharts-series",seriesName:T.escapeString(n.globals.seriesNames[k]),rel:g+1,"data:realIndex":k});r.ctx.series.addCollapsedClassToSeries(M,k);var P=r.graphics.group({class:"apexcharts-datalabels","data:realIndex":k}),D=r.graphics.group({class:"apexcharts-bar-goals-markers"}),L=0,B=0,N=r.initialPositions(c,u,m,b,v,x,E);u=N.y,L=N.barHeight,b=N.yDivision,x=N.zeroW,c=N.x,B=N.barWidth,m=N.xDivision,v=N.zeroH,n.globals.barHeight=L,n.globals.barWidth=B,r.barHelpers.initializeStackedXYVars(r),r.groupCtx.prevY.length===1&&r.groupCtx.prevY[0].every((function(Re){return isNaN(Re)}))&&(r.groupCtx.prevY[0]=r.groupCtx.prevY[0].map((function(){return v})),r.groupCtx.prevYF[0]=r.groupCtx.prevYF[0].map((function(){return 0})));for(var F=0;F<n.globals.dataPoints;F++){var H=r.barHelpers.getStrokeWidth(g,F,k),ie={indexes:{i:g,j:F,realIndex:k,translationsIndex:E,bc:p},strokeWidth:H,x:c,y:u,elSeries:M,columnGroupIndex:w,seriesGroup:n.globals.seriesGroups[A]},re=null;r.isHorizontal?(re=r.drawStackedBarPaths($($({},ie),{},{zeroW:x,barHeight:L,yDivision:b})),B=r.series[g][F]/r.invertedYRatio):(re=r.drawStackedColumnPaths($($({},ie),{},{xDivision:m,barWidth:B,zeroH:v})),L=r.series[g][F]/r.yRatio[E]);var ae=r.barHelpers.drawGoalLine({barXPosition:re.barXPosition,barYPosition:re.barYPosition,goalX:re.goalX,goalY:re.goalY,barHeight:L,barWidth:B});ae&&D.add(ae),u=re.y,c=re.x,S.push(c),C.push(u);var le=r.barHelpers.getPathFillColor(a,g,F,k),Ee="",pe=n.globals.isBarHorizontal?"apexcharts-flip-x":"apexcharts-flip-y";(r.barHelpers.arrBorderRadius[k][F]==="bottom"&&n.globals.series[k][F]>0||r.barHelpers.arrBorderRadius[k][F]==="top"&&n.globals.series[k][F]<0)&&(Ee=pe),M=r.renderSeries($($({realIndex:k,pathFill:le.color},le.useRangeColor?{lineFill:le.color}:{}),{},{j:F,i:g,columnGroupIndex:w,pathFrom:re.pathFrom,pathTo:re.pathTo,strokeWidth:H,elSeries:M,x:c,y:u,series:a,barHeight:L,barWidth:B,elDataLabelsWrap:P,elGoalsMarkers:D,type:"bar",visibleSeries:w,classes:Ee}))}n.globals.seriesXvalues[k]=S,n.globals.seriesYvalues[k]=C,r.groupCtx.prevY.push(r.groupCtx.yArrj),r.groupCtx.prevYF.push(r.groupCtx.yArrjF),r.groupCtx.prevYVal.push(r.groupCtx.yArrjVal),r.groupCtx.prevX.push(r.groupCtx.xArrj),r.groupCtx.prevXF.push(r.groupCtx.xArrjF),r.groupCtx.prevXVal.push(r.groupCtx.xArrjVal),l.add(M)},h=0,f=0;h<a.length;h++,f++)d(h,f);return l}},{key:"initialPositions",value:function(a,s,r,n,o,l,c){var u,d,h=this.w;if(this.isHorizontal){n=h.globals.gridHeight/h.globals.dataPoints;var f=h.config.plotOptions.bar.barHeight;u=String(f).indexOf("%")===-1?parseInt(f,10):n*parseInt(f,10)/100,l=h.globals.padHorizontal+(this.isReversed?h.globals.gridWidth-this.baseLineInvertedY:this.baseLineInvertedY),s=(n-u)/2}else{d=r=h.globals.gridWidth/h.globals.dataPoints;var g=h.config.plotOptions.bar.columnWidth;h.globals.isXNumeric&&h.globals.dataPoints>1?d=(r=h.globals.minXDiff/this.xRatio)*parseInt(this.barOptions.columnWidth,10)/100:String(g).indexOf("%")===-1?d=parseInt(g,10):d*=parseInt(g,10)/100,o=this.isReversed?this.baseLineY[c]:h.globals.gridHeight-this.baseLineY[c],a=h.globals.padHorizontal+(r-d)/2}var p=h.globals.barGroups.length||1;return{x:a,y:s,yDivision:n,xDivision:r,barHeight:u/p,barWidth:d/p,zeroH:o,zeroW:l}}},{key:"drawStackedBarPaths",value:function(a){for(var s,r=a.indexes,n=a.barHeight,o=a.strokeWidth,l=a.zeroW,c=a.x,u=a.y,d=a.columnGroupIndex,h=a.seriesGroup,f=a.yDivision,g=a.elSeries,p=this.w,m=u+d*n,b=r.i,v=r.j,x=r.realIndex,k=r.translationsIndex,y=0,A=0;A<this.groupCtx.prevXF.length;A++)y+=this.groupCtx.prevXF[A][v];var w=b;if(p.config.series[x].name&&(w=h.indexOf(p.config.series[x].name)),w>0){var S=l;this.groupCtx.prevXVal[w-1][v]<0?S=this.series[b][v]>=0?this.groupCtx.prevX[w-1][v]+y-2*(this.isReversed?y:0):this.groupCtx.prevX[w-1][v]:this.groupCtx.prevXVal[w-1][v]>=0&&(S=this.series[b][v]>=0?this.groupCtx.prevX[w-1][v]:this.groupCtx.prevX[w-1][v]-y+2*(this.isReversed?y:0)),s=S}else s=l;c=this.series[b][v]===null?s:s+this.series[b][v]/this.invertedYRatio-2*(this.isReversed?this.series[b][v]/this.invertedYRatio:0);var C=this.barHelpers.getBarpaths({barYPosition:m,barHeight:n,x1:s,x2:c,strokeWidth:o,isReversed:this.isReversed,series:this.series,realIndex:r.realIndex,seriesGroup:h,i:b,j:v,w:p});return this.barHelpers.barBackground({j:v,i:b,y1:m,y2:n,elSeries:g}),u+=f,{pathTo:C.pathTo,pathFrom:C.pathFrom,goalX:this.barHelpers.getGoalValues("x",l,null,b,v,k),barXPosition:s,barYPosition:m,x:c,y:u}}},{key:"drawStackedColumnPaths",value:function(a){var s=a.indexes,r=a.x,n=a.y,o=a.xDivision,l=a.barWidth,c=a.zeroH,u=a.columnGroupIndex,d=a.seriesGroup,h=a.elSeries,f=this.w,g=s.i,p=s.j,m=s.bc,b=s.realIndex,v=s.translationsIndex;if(f.globals.isXNumeric){var x=f.globals.seriesX[b][p];x||(x=0),r=(x-f.globals.minX)/this.xRatio-l/2*f.globals.barGroups.length}for(var k,y=r+u*l,A=0,w=0;w<this.groupCtx.prevYF.length;w++)A+=isNaN(this.groupCtx.prevYF[w][p])?0:this.groupCtx.prevYF[w][p];var S=g;if(d&&(S=d.indexOf(f.globals.seriesNames[b])),S>0&&!f.globals.isXNumeric||S>0&&f.globals.isXNumeric&&f.globals.seriesX[b-1][p]===f.globals.seriesX[b][p]){var C,E,M,P=Math.min(this.yRatio.length+1,b+1);if(this.groupCtx.prevY[S-1]!==void 0&&this.groupCtx.prevY[S-1].length)for(var D=1;D<P;D++){var L;if(!isNaN((L=this.groupCtx.prevY[S-D])===null||L===void 0?void 0:L[p])){M=this.groupCtx.prevY[S-D][p];break}}for(var B=1;B<P;B++){var N,F;if(((N=this.groupCtx.prevYVal[S-B])===null||N===void 0?void 0:N[p])<0){E=this.series[g][p]>=0?M-A+2*(this.isReversed?A:0):M;break}if(((F=this.groupCtx.prevYVal[S-B])===null||F===void 0?void 0:F[p])>=0){E=this.series[g][p]>=0?M:M+A-2*(this.isReversed?A:0);break}}E===void 0&&(E=f.globals.gridHeight),k=(C=this.groupCtx.prevYF[0])!==null&&C!==void 0&&C.every((function(ie){return ie===0}))&&this.groupCtx.prevYF.slice(1,S).every((function(ie){return ie.every((function(re){return isNaN(re)}))}))?c:E}else k=c;n=this.series[g][p]?k-this.series[g][p]/this.yRatio[v]+2*(this.isReversed?this.series[g][p]/this.yRatio[v]:0):k;var H=this.barHelpers.getColumnPaths({barXPosition:y,barWidth:l,y1:k,y2:n,yRatio:this.yRatio[v],strokeWidth:this.strokeWidth,isReversed:this.isReversed,series:this.series,seriesGroup:d,realIndex:s.realIndex,i:g,j:p,w:f});return this.barHelpers.barBackground({bc:m,j:p,i:g,x1:y,x2:l,elSeries:h}),{pathTo:H.pathTo,pathFrom:H.pathFrom,goalY:this.barHelpers.getGoalValues("y",null,c,g,p),barXPosition:y,x:f.globals.isXNumeric?r:r+o,y:n}}}]),t})(),ec=(function(i){an(t,Rs);var e=tn(t);function t(){return ee(this,t),e.apply(this,arguments)}return te(t,[{key:"draw",value:function(a,s,r){var n=this,o=this.w,l=new Y(this.ctx),c=o.globals.comboCharts?s:o.config.chart.type,u=new gi(this.ctx);this.candlestickOptions=this.w.config.plotOptions.candlestick,this.boxOptions=this.w.config.plotOptions.boxPlot,this.isHorizontal=o.config.plotOptions.bar.horizontal,this.isOHLC=this.candlestickOptions&&this.candlestickOptions.type==="ohlc";var d=new rt(this.ctx,o);a=d.getLogSeries(a),this.series=a,this.yRatio=d.getLogYRatios(this.yRatio),this.barHelpers.initVariables(a);for(var h=l.group({class:"apexcharts-".concat(c,"-series apexcharts-plot-series")}),f=function(p){n.isBoxPlot=o.config.chart.type==="boxPlot"||o.config.series[p].type==="boxPlot";var m,b,v,x,k=void 0,y=void 0,A=[],w=[],S=o.globals.comboCharts?r[p]:p,C=n.barHelpers.getGroupIndex(S).columnGroupIndex,E=l.group({class:"apexcharts-series",seriesName:T.escapeString(o.globals.seriesNames[S]),rel:p+1,"data:realIndex":S});n.ctx.series.addCollapsedClassToSeries(E,S),a[p].length>0&&(n.visibleI=n.visibleI+1);var M,P,D=0;n.yRatio.length>1&&(n.yaxisIndex=o.globals.seriesYAxisReverseMap[S][0],D=S);var L=n.barHelpers.initialPositions(S);y=L.y,M=L.barHeight,b=L.yDivision,x=L.zeroW,k=L.x,P=L.barWidth,m=L.xDivision,v=L.zeroH,w.push(k+P/2);for(var B=l.group({class:"apexcharts-datalabels","data:realIndex":S}),N=l.group({class:"apexcharts-bar-goals-markers"}),F=function(ie){var re=n.barHelpers.getStrokeWidth(p,ie,S),ae=null,le={indexes:{i:p,j:ie,realIndex:S,translationsIndex:D},x:k,y,strokeWidth:re,elSeries:E};ae=n.isHorizontal?n.drawHorizontalBoxPaths($($({},le),{},{yDivision:b,barHeight:M,zeroW:x})):n.drawVerticalBoxPaths($($({},le),{},{xDivision:m,barWidth:P,zeroH:v})),y=ae.y,k=ae.x;var Ee=n.barHelpers.drawGoalLine({barXPosition:ae.barXPosition,barYPosition:ae.barYPosition,goalX:ae.goalX,goalY:ae.goalY,barHeight:M,barWidth:P});Ee&&N.add(Ee),ie>0&&w.push(k+P/2),A.push(y),ae.pathTo.forEach((function(pe,Re){var be=!n.isBoxPlot&&n.candlestickOptions.wick.useFillColor?ae.color[Re]:o.globals.stroke.colors[p],O=u.fillPath({seriesNumber:S,dataPointIndex:ie,color:ae.color[Re],value:a[p][ie]});n.renderSeries({realIndex:S,pathFill:O,lineFill:be,j:ie,i:p,pathFrom:ae.pathFrom,pathTo:pe,strokeWidth:re,elSeries:E,x:k,y,series:a,columnGroupIndex:C,barHeight:M,barWidth:P,elDataLabelsWrap:B,elGoalsMarkers:N,visibleSeries:n.visibleI,type:o.config.chart.type})}))},H=0;H<o.globals.dataPoints;H++)F(H);o.globals.seriesXvalues[S]=w,o.globals.seriesYvalues[S]=A,h.add(E)},g=0;g<a.length;g++)f(g);return h}},{key:"drawVerticalBoxPaths",value:function(a){var s=a.indexes,r=a.x;a.y;var n=a.xDivision,o=a.barWidth,l=a.zeroH,c=a.strokeWidth,u=this.w,d=new Y(this.ctx),h=s.i,f=s.j,g=u.config.plotOptions.candlestick.colors,p=this.boxOptions.colors,m=s.realIndex,b=function(H){return Array.isArray(H)?H[m]:H},v=b(g.upward),x=b(g.downward),k=this.yRatio[s.translationsIndex],y=this.getOHLCValue(m,f),A=l,w=l,S=y.o<y.c?[v]:[x];this.isBoxPlot&&(S=[b(p.lower),b(p.upper)]);var C=Math.min(y.o,y.c),E=Math.max(y.o,y.c),M=y.m;u.globals.isXNumeric&&(r=(u.globals.seriesX[m][f]-u.globals.minX)/this.xRatio-o/2);var P=r+o*this.visibleI;this.series[h][f]===void 0||this.series[h][f]===null?(C=l,E=l):(C=l-C/k,E=l-E/k,A=l-y.h/k,w=l-y.l/k,M=l-y.m/k);var D=d.move(P,l),L=d.move(P+o/2,C);if(u.globals.previousPaths.length>0&&(L=this.getPreviousPath(m,f,!0)),this.isOHLC){var B=P+o/2,N=l-y.o/k,F=l-y.c/k;D=[d.move(B,A)+d.line(B,w)+d.move(B,N)+d.line(P,N)+d.move(B,F)+d.line(P+o,F)]}else D=this.isBoxPlot?[d.move(P,C)+d.line(P+o/2,C)+d.line(P+o/2,A)+d.line(P+o/4,A)+d.line(P+o-o/4,A)+d.line(P+o/2,A)+d.line(P+o/2,C)+d.line(P+o,C)+d.line(P+o,M)+d.line(P,M)+d.line(P,C+c/2),d.move(P,M)+d.line(P+o,M)+d.line(P+o,E)+d.line(P+o/2,E)+d.line(P+o/2,w)+d.line(P+o-o/4,w)+d.line(P+o/4,w)+d.line(P+o/2,w)+d.line(P+o/2,E)+d.line(P,E)+d.line(P,M)+"z"]:[d.move(P,E)+d.line(P+o/2,E)+d.line(P+o/2,A)+d.line(P+o/2,E)+d.line(P+o,E)+d.line(P+o,C)+d.line(P+o/2,C)+d.line(P+o/2,w)+d.line(P+o/2,C)+d.line(P,C)+d.line(P,E-c/2)];return L+=d.move(P,C),u.globals.isXNumeric||(r+=n),{pathTo:D,pathFrom:L,x:r,y:E,goalY:this.barHelpers.getGoalValues("y",null,l,h,f,s.translationsIndex),barXPosition:P,color:S}}},{key:"drawHorizontalBoxPaths",value:function(a){var s=a.indexes;a.x;var r=a.y,n=a.yDivision,o=a.barHeight,l=a.zeroW,c=a.strokeWidth,u=this.w,d=new Y(this.ctx),h=s.i,f=s.j,g=this.boxOptions.colors.lower;this.isBoxPlot&&(g=[this.boxOptions.colors.lower,this.boxOptions.colors.upper]);var p=this.invertedYRatio,m=s.realIndex,b=this.getOHLCValue(m,f),v=l,x=l,k=Math.min(b.o,b.c),y=Math.max(b.o,b.c),A=b.m;u.globals.isXNumeric&&(r=(u.globals.seriesX[m][f]-u.globals.minX)/this.invertedXRatio-o/2);var w=r+o*this.visibleI;this.series[h][f]===void 0||this.series[h][f]===null?(k=l,y=l):(k=l+k/p,y=l+y/p,v=l+b.h/p,x=l+b.l/p,A=l+b.m/p);var S=d.move(l,w),C=d.move(k,w+o/2);return u.globals.previousPaths.length>0&&(C=this.getPreviousPath(m,f,!0)),S=[d.move(k,w)+d.line(k,w+o/2)+d.line(v,w+o/2)+d.line(v,w+o/2-o/4)+d.line(v,w+o/2+o/4)+d.line(v,w+o/2)+d.line(k,w+o/2)+d.line(k,w+o)+d.line(A,w+o)+d.line(A,w)+d.line(k+c/2,w),d.move(A,w)+d.line(A,w+o)+d.line(y,w+o)+d.line(y,w+o/2)+d.line(x,w+o/2)+d.line(x,w+o-o/4)+d.line(x,w+o/4)+d.line(x,w+o/2)+d.line(y,w+o/2)+d.line(y,w)+d.line(A,w)+"z"],C+=d.move(k,w),u.globals.isXNumeric||(r+=n),{pathTo:S,pathFrom:C,x:y,y:r,goalX:this.barHelpers.getGoalValues("x",l,null,h,f),barYPosition:w,color:g}}},{key:"getOHLCValue",value:function(a,s){var r=this.w,n=new rt(this.ctx,r),o=n.getLogValAtSeriesIndex(r.globals.seriesCandleH[a][s],a),l=n.getLogValAtSeriesIndex(r.globals.seriesCandleO[a][s],a),c=n.getLogValAtSeriesIndex(r.globals.seriesCandleM[a][s],a),u=n.getLogValAtSeriesIndex(r.globals.seriesCandleC[a][s],a),d=n.getLogValAtSeriesIndex(r.globals.seriesCandleL[a][s],a);return{o:this.isBoxPlot?o:l,h:this.isBoxPlot?l:o,m:c,l:this.isBoxPlot?u:d,c:this.isBoxPlot?d:u}}}]),t})(),Dx=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"checkColorRange",value:function(){var e=this.w,t=!1,a=e.config.plotOptions[e.config.chart.type];return a.colorScale.ranges.length>0&&a.colorScale.ranges.map((function(s,r){s.from<=0&&(t=!0)})),t}},{key:"getShadeColor",value:function(e,t,a,s){var r=this.w,n=1,o=r.config.plotOptions[e].shadeIntensity,l=this.determineColor(e,t,a);r.globals.hasNegs||s?n=r.config.plotOptions[e].reverseNegativeShade?l.percent<0?l.percent/100*(1.25*o):(1-l.percent/100)*(1.25*o):l.percent<=0?1-(1+l.percent/100)*o:(1-l.percent/100)*o:(n=1-l.percent/100,e==="treemap"&&(n=(1-l.percent/100)*(1.25*o)));var c=l.color,u=new T;if(r.config.plotOptions[e].enableShades)if(this.w.config.theme.mode==="dark"){var d=u.shadeColor(-1*n,l.color);c=T.hexToRgba(T.isColorHex(d)?d:T.rgb2hex(d),r.config.fill.opacity)}else{var h=u.shadeColor(n,l.color);c=T.hexToRgba(T.isColorHex(h)?h:T.rgb2hex(h),r.config.fill.opacity)}return{color:c,colorProps:l}}},{key:"determineColor",value:function(e,t,a){var s=this.w,r=s.globals.series[t][a],n=s.config.plotOptions[e],o=n.colorScale.inverse?a:t;n.distributed&&s.config.chart.type==="treemap"&&(o=a);var l=s.globals.colors[o],c=null,u=Math.min.apply(Math,ft(s.globals.series[t])),d=Math.max.apply(Math,ft(s.globals.series[t]));n.distributed||e!=="heatmap"||(u=s.globals.minY,d=s.globals.maxY),n.colorScale.min!==void 0&&(u=n.colorScale.min<s.globals.minY?n.colorScale.min:s.globals.minY,d=n.colorScale.max>s.globals.maxY?n.colorScale.max:s.globals.maxY);var h=Math.abs(d)+Math.abs(u),f=100*r/(h===0?h-1e-6:h);return n.colorScale.ranges.length>0&&n.colorScale.ranges.map((function(g,p){if(r>=g.from&&r<=g.to){l=g.color,c=g.foreColor?g.foreColor:null,u=g.from,d=g.to;var m=Math.abs(d)+Math.abs(u);f=100*r/(m===0?m-1e-6:m)}})),{color:l,foreColor:c,percent:f}}},{key:"calculateDataLabels",value:function(e){var t=e.text,a=e.x,s=e.y,r=e.i,n=e.j,o=e.colorProps,l=e.fontSize,c=this.w.config.dataLabels,u=new Y(this.ctx),d=new Ls(this.ctx),h=null;if(c.enabled){h=u.group({class:"apexcharts-data-labels"});var f=c.offsetX,g=c.offsetY,p=a+f,m=s+parseFloat(c.style.fontSize)/3+g;d.plotDataLabelsText({x:p,y:m,text:t,i:r,j:n,color:o.foreColor,parent:h,fontSize:l,dataLabelsConfig:c})}return h}},{key:"addListeners",value:function(e){var t=new Y(this.ctx);e.node.addEventListener("mouseenter",t.pathMouseEnter.bind(this,e)),e.node.addEventListener("mouseleave",t.pathMouseLeave.bind(this,e)),e.node.addEventListener("mousedown",t.pathMouseDown.bind(this,e))}}]),i})(),rI=(function(){function i(e,t){ee(this,i),this.ctx=e,this.w=e.w,this.xRatio=t.xRatio,this.yRatio=t.yRatio,this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.helpers=new Dx(e),this.rectRadius=this.w.config.plotOptions.heatmap.radius,this.strokeWidth=this.w.config.stroke.show?this.w.config.stroke.width:0}return te(i,[{key:"draw",value:function(e){var t=this.w,a=new Y(this.ctx),s=a.group({class:"apexcharts-heatmap"});s.attr("clip-path","url(#gridRectMask".concat(t.globals.cuid,")"));var r=t.globals.gridWidth/t.globals.dataPoints,n=t.globals.gridHeight/t.globals.series.length,o=0,l=!1;this.negRange=this.helpers.checkColorRange();var c=e.slice();t.config.yaxis[0].reversed&&(l=!0,c.reverse());for(var u=l?0:c.length-1;l?u<c.length:u>=0;l?u++:u--){var d=a.group({class:"apexcharts-series apexcharts-heatmap-series",seriesName:T.escapeString(t.globals.seriesNames[u]),rel:u+1,"data:realIndex":u});if(this.ctx.series.addCollapsedClassToSeries(d,u),t.config.chart.dropShadow.enabled){var h=t.config.chart.dropShadow;new bt(this.ctx).dropShadow(d,h,u)}for(var f=0,g=t.config.plotOptions.heatmap.shadeIntensity,p=0,m=0;m<t.globals.dataPoints;m++)if(t.globals.seriesX.length&&!t.globals.allSeriesHasEqualX&&t.globals.minX+t.globals.minXDiff*m<t.globals.seriesX[u][p])f+=r;else{if(p>=c[u].length)break;var b=this.helpers.getShadeColor(t.config.chart.type,u,p,this.negRange),v=b.color,x=b.colorProps;t.config.fill.type==="image"&&(v=new gi(this.ctx).fillPath({seriesNumber:u,dataPointIndex:p,opacity:t.globals.hasNegs?x.percent<0?1-(1+x.percent/100):g+x.percent/100:x.percent/100,patternID:T.randomId(),width:t.config.fill.image.width?t.config.fill.image.width:r,height:t.config.fill.image.height?t.config.fill.image.height:n}));var k=this.rectRadius,y=a.drawRect(f,o,r,n,k);if(y.attr({cx:f,cy:o}),y.node.classList.add("apexcharts-heatmap-rect"),d.add(y),y.attr({fill:v,i:u,index:u,j:p,val:e[u][p],"stroke-width":this.strokeWidth,stroke:t.config.plotOptions.heatmap.useFillColorAsStroke?v:t.globals.stroke.colors[0],color:v}),this.helpers.addListeners(y),t.config.chart.animations.enabled&&!t.globals.dataChanged){var A=1;t.globals.resized||(A=t.config.chart.animations.speed),this.animateHeatMap(y,f,o,r,n,A)}if(t.globals.dataChanged){var w=1;if(this.dynamicAnim.enabled&&t.globals.shouldAnimate){w=this.dynamicAnim.speed;var S=t.globals.previousPaths[u]&&t.globals.previousPaths[u][p]&&t.globals.previousPaths[u][p].color;S||(S="rgba(255, 255, 255, 0)"),this.animateHeatColor(y,T.isColorHex(S)?S:T.rgb2hex(S),T.isColorHex(v)?v:T.rgb2hex(v),w)}}var C=(0,t.config.dataLabels.formatter)(t.globals.series[u][p],{value:t.globals.series[u][p],seriesIndex:u,dataPointIndex:p,w:t}),E=this.helpers.calculateDataLabels({text:C,x:f+r/2,y:o+n/2,i:u,j:p,colorProps:x,series:c});E!==null&&d.add(E),f+=r,p++}o+=n,s.add(d)}var M=t.globals.yAxisScale[0].result.slice();return t.config.yaxis[0].reversed?M.unshift(""):M.push(""),t.globals.yAxisScale[0].result=M,s}},{key:"animateHeatMap",value:function(e,t,a,s,r,n){var o=new js(this.ctx);o.animateRect(e,{x:t+s/2,y:a+r/2,width:0,height:0},{x:t,y:a,width:s,height:r},n,(function(){o.animationCompleted(e)}))}},{key:"animateHeatColor",value:function(e,t,a,s){e.attr({fill:t}).animate(s).attr({fill:a})}}]),i})(),Lx=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"drawYAxisTexts",value:function(e,t,a,s){var r=this.w,n=r.config.yaxis[0],o=r.globals.yLabelFormatters[0];return new Y(this.ctx).drawText({x:e+n.labels.offsetX,y:t+n.labels.offsetY,text:o(s,a),textAnchor:"middle",fontSize:n.labels.style.fontSize,fontFamily:n.labels.style.fontFamily,foreColor:Array.isArray(n.labels.style.colors)?n.labels.style.colors[a]:n.labels.style.colors})}}]),i})(),Rx=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w;var t=this.w;this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animBeginArr=[0],this.animDur=0,this.donutDataLabels=this.w.config.plotOptions.pie.donut.labels,this.lineColorArr=t.globals.stroke.colors!==void 0?t.globals.stroke.colors:t.globals.colors,this.defaultSize=Math.min(t.globals.gridWidth,t.globals.gridHeight),this.centerY=this.defaultSize/2,this.centerX=t.globals.gridWidth/2,t.config.chart.type==="radialBar"?this.fullAngle=360:this.fullAngle=Math.abs(t.config.plotOptions.pie.endAngle-t.config.plotOptions.pie.startAngle),this.initialAngle=t.config.plotOptions.pie.startAngle%this.fullAngle,t.globals.radialSize=this.defaultSize/2.05-t.config.stroke.width-(t.config.chart.sparkline.enabled?0:t.config.chart.dropShadow.blur),this.donutSize=t.globals.radialSize*parseInt(t.config.plotOptions.pie.donut.size,10)/100;var a=t.config.plotOptions.pie.customScale,s=t.globals.gridWidth/2,r=t.globals.gridHeight/2;this.translateX=s-s*a,this.translateY=r-r*a,this.dataLabelsGroup=new Y(this.ctx).group({class:"apexcharts-datalabels-group",transform:"translate(".concat(this.translateX,", ").concat(this.translateY,") scale(").concat(a,")")}),this.maxY=0,this.sliceLabels=[],this.sliceSizes=[],this.prevSectorAngleArr=[]}return te(i,[{key:"draw",value:function(e){var t=this,a=this.w,s=new Y(this.ctx),r=s.group({class:"apexcharts-pie"});if(a.globals.noData)return r;for(var n=0,o=0;o<e.length;o++)n+=T.negToZero(e[o]);var l=[],c=s.group();n===0&&(n=1e-5),e.forEach((function(x){t.maxY=Math.max(t.maxY,x)})),a.config.yaxis[0].max&&(this.maxY=a.config.yaxis[0].max),a.config.grid.position==="back"&&this.chartType==="polarArea"&&this.drawPolarElements(r);for(var u=0;u<e.length;u++){var d=this.fullAngle*T.negToZero(e[u])/n;l.push(d),this.chartType==="polarArea"?(l[u]=this.fullAngle/e.length,this.sliceSizes.push(a.globals.radialSize*e[u]/this.maxY)):this.sliceSizes.push(a.globals.radialSize)}if(a.globals.dataChanged){for(var h,f=0,g=0;g<a.globals.previousPaths.length;g++)f+=T.negToZero(a.globals.previousPaths[g]);for(var p=0;p<a.globals.previousPaths.length;p++)h=this.fullAngle*T.negToZero(a.globals.previousPaths[p])/f,this.prevSectorAngleArr.push(h)}if(this.donutSize<0&&(this.donutSize=0),this.chartType==="donut"){var m=s.drawCircle(this.donutSize);m.attr({cx:this.centerX,cy:this.centerY,fill:a.config.plotOptions.pie.donut.background?a.config.plotOptions.pie.donut.background:"transparent"}),c.add(m)}var b=this.drawArcs(l,e);if(this.sliceLabels.forEach((function(x){b.add(x)})),c.attr({transform:"translate(".concat(this.translateX,", ").concat(this.translateY,") scale(").concat(a.config.plotOptions.pie.customScale,")")}),c.add(b),r.add(c),this.donutDataLabels.show){var v=this.renderInnerDataLabels(this.dataLabelsGroup,this.donutDataLabels,{hollowSize:this.donutSize,centerX:this.centerX,centerY:this.centerY,opacity:this.donutDataLabels.show});r.add(v)}return a.config.grid.position==="front"&&this.chartType==="polarArea"&&this.drawPolarElements(r),r}},{key:"drawArcs",value:function(e,t){var a=this.w,s=new bt(this.ctx),r=new Y(this.ctx),n=new gi(this.ctx),o=r.group({class:"apexcharts-slices"}),l=this.initialAngle,c=this.initialAngle,u=this.initialAngle,d=this.initialAngle;this.strokeWidth=a.config.stroke.show?a.config.stroke.width:0;for(var h=0;h<e.length;h++){var f=r.group({class:"apexcharts-series apexcharts-pie-series",seriesName:T.escapeString(a.globals.seriesNames[h]),rel:h+1,"data:realIndex":h});o.add(f),c=d,u=(l=u)+e[h],d=c+this.prevSectorAngleArr[h];var g=u<l?this.fullAngle+u-l:u-l,p=n.fillPath({seriesNumber:h,size:this.sliceSizes[h],value:t[h]}),m=this.getChangedPath(c,d),b=r.drawPath({d:m,stroke:Array.isArray(this.lineColorArr)?this.lineColorArr[h]:this.lineColorArr,strokeWidth:0,fill:p,fillOpacity:a.config.fill.opacity,classes:"apexcharts-pie-area apexcharts-".concat(this.chartType.toLowerCase(),"-slice-").concat(h)});if(b.attr({index:0,j:h}),s.setSelectionFilter(b,0,h),a.config.chart.dropShadow.enabled){var v=a.config.chart.dropShadow;s.dropShadow(b,v,h)}this.addListeners(b,this.donutDataLabels),Y.setAttrs(b.node,{"data:angle":g,"data:startAngle":l,"data:strokeWidth":this.strokeWidth,"data:value":t[h]});var x={x:0,y:0};this.chartType==="pie"||this.chartType==="polarArea"?x=T.polarToCartesian(this.centerX,this.centerY,a.globals.radialSize/1.25+a.config.plotOptions.pie.dataLabels.offset,(l+g/2)%this.fullAngle):this.chartType==="donut"&&(x=T.polarToCartesian(this.centerX,this.centerY,(a.globals.radialSize+this.donutSize)/2+a.config.plotOptions.pie.dataLabels.offset,(l+g/2)%this.fullAngle)),f.add(b);var k=0;if(!this.initialAnim||a.globals.resized||a.globals.dataChanged?this.animBeginArr.push(0):((k=g/this.fullAngle*a.config.chart.animations.speed)===0&&(k=1),this.animDur=k+this.animDur,this.animBeginArr.push(this.animDur)),this.dynamicAnim&&a.globals.dataChanged?this.animatePaths(b,{size:this.sliceSizes[h],endAngle:u,startAngle:l,prevStartAngle:c,prevEndAngle:d,animateStartingPos:!0,i:h,animBeginArr:this.animBeginArr,shouldSetPrevPaths:!0,dur:a.config.chart.animations.dynamicAnimation.speed}):this.animatePaths(b,{size:this.sliceSizes[h],endAngle:u,startAngle:l,i:h,totalItems:e.length-1,animBeginArr:this.animBeginArr,dur:k}),a.config.plotOptions.pie.expandOnClick&&this.chartType!=="polarArea"&&b.node.addEventListener("mouseup",this.pieClicked.bind(this,h)),a.globals.selectedDataPoints[0]!==void 0&&a.globals.selectedDataPoints[0].indexOf(h)>-1&&this.pieClicked(h),a.config.dataLabels.enabled){var y=x.x,A=x.y,w=100*g/this.fullAngle+"%";if(g!==0&&a.config.plotOptions.pie.dataLabels.minAngleToShowLabel<e[h]){var S=a.config.dataLabels.formatter;S!==void 0&&(w=S(a.globals.seriesPercent[h][0],{seriesIndex:h,w:a}));var C=a.globals.dataLabels.style.colors[h],E=r.group({class:"apexcharts-datalabels"}),M=r.drawText({x:y,y:A,text:w,textAnchor:"middle",fontSize:a.config.dataLabels.style.fontSize,fontFamily:a.config.dataLabels.style.fontFamily,fontWeight:a.config.dataLabels.style.fontWeight,foreColor:C});if(E.add(M),a.config.dataLabels.dropShadow.enabled){var P=a.config.dataLabels.dropShadow;s.dropShadow(M,P)}M.node.classList.add("apexcharts-pie-label"),a.config.chart.animations.animate&&a.globals.resized===!1&&(M.node.classList.add("apexcharts-pie-label-delay"),M.node.style.animationDelay=a.config.chart.animations.speed/940+"s"),this.sliceLabels.push(E)}}}return o}},{key:"addListeners",value:function(e,t){var a=new Y(this.ctx);e.node.addEventListener("mouseenter",a.pathMouseEnter.bind(this,e)),e.node.addEventListener("mouseleave",a.pathMouseLeave.bind(this,e)),e.node.addEventListener("mouseleave",this.revertDataLabelsInner.bind(this,e.node,t)),e.node.addEventListener("mousedown",a.pathMouseDown.bind(this,e)),this.donutDataLabels.total.showAlways||(e.node.addEventListener("mouseenter",this.printDataLabelsInner.bind(this,e.node,t)),e.node.addEventListener("mousedown",this.printDataLabelsInner.bind(this,e.node,t)))}},{key:"animatePaths",value:function(e,t){var a=this.w,s=t.endAngle<t.startAngle?this.fullAngle+t.endAngle-t.startAngle:t.endAngle-t.startAngle,r=s,n=t.startAngle,o=t.startAngle;t.prevStartAngle!==void 0&&t.prevEndAngle!==void 0&&(n=t.prevEndAngle,r=t.prevEndAngle<t.prevStartAngle?this.fullAngle+t.prevEndAngle-t.prevStartAngle:t.prevEndAngle-t.prevStartAngle),t.i===a.config.series.length-1&&(s+o>this.fullAngle?t.endAngle=t.endAngle-(s+o):s+o<this.fullAngle&&(t.endAngle=t.endAngle+(this.fullAngle-(s+o)))),s===this.fullAngle&&(s=this.fullAngle-.01),this.animateArc(e,n,o,s,r,t)}},{key:"animateArc",value:function(e,t,a,s,r,n){var o,l=this,c=this.w,u=new js(this.ctx),d=n.size;(isNaN(t)||isNaN(r))&&(t=a,r=s,n.dur=0);var h=s,f=a,g=t<a?this.fullAngle+t-a:t-a;c.globals.dataChanged&&n.shouldSetPrevPaths&&n.prevEndAngle&&(o=l.getPiePath({me:l,startAngle:n.prevStartAngle,angle:n.prevEndAngle<n.prevStartAngle?this.fullAngle+n.prevEndAngle-n.prevStartAngle:n.prevEndAngle-n.prevStartAngle,size:d}),e.attr({d:o})),n.dur!==0?e.animate(n.dur,n.animBeginArr[n.i]).after((function(){l.chartType!=="pie"&&l.chartType!=="donut"&&l.chartType!=="polarArea"||this.animate(c.config.chart.animations.dynamicAnimation.speed).attr({"stroke-width":l.strokeWidth}),n.i===c.config.series.length-1&&u.animationCompleted(e)})).during((function(p){h=g+(s-g)*p,n.animateStartingPos&&(h=r+(s-r)*p,f=t-r+(a-(t-r))*p),o=l.getPiePath({me:l,startAngle:f,angle:h,size:d}),e.node.setAttribute("data:pathOrig",o),e.attr({d:o})})):(o=l.getPiePath({me:l,startAngle:f,angle:s,size:d}),n.isTrack||(c.globals.animationEnded=!0),e.node.setAttribute("data:pathOrig",o),e.attr({d:o,"stroke-width":l.strokeWidth}))}},{key:"pieClicked",value:function(e){var t,a=this.w,s=this,r=s.sliceSizes[e]+(a.config.plotOptions.pie.expandOnClick?4:0),n=a.globals.dom.Paper.findOne(".apexcharts-".concat(s.chartType.toLowerCase(),"-slice-").concat(e));if(n.attr("data:pieClicked")!=="true"){var o=a.globals.dom.baseEl.getElementsByClassName("apexcharts-pie-area");Array.prototype.forEach.call(o,(function(d){d.setAttribute("data:pieClicked","false");var h=d.getAttribute("data:pathOrig");h&&d.setAttribute("d",h)})),a.globals.capturedDataPointIndex=e,n.attr("data:pieClicked","true");var l=parseInt(n.attr("data:startAngle"),10),c=parseInt(n.attr("data:angle"),10);t=s.getPiePath({me:s,startAngle:l,angle:c,size:r}),c!==360&&n.plot(t)}else{n.attr({"data:pieClicked":"false"}),this.revertDataLabelsInner(n.node,this.donutDataLabels);var u=n.attr("data:pathOrig");n.attr({d:u})}}},{key:"getChangedPath",value:function(e,t){var a="";return this.dynamicAnim&&this.w.globals.dataChanged&&(a=this.getPiePath({me:this,startAngle:e,angle:t-e,size:this.size})),a}},{key:"getPiePath",value:function(e){var t,a=e.me,s=e.startAngle,r=e.angle,n=e.size,o=new Y(this.ctx),l=s,c=Math.PI*(l-90)/180,u=r+s;Math.ceil(u)>=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle&&(u=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle-.01),Math.ceil(u)>this.fullAngle&&(u-=this.fullAngle);var d=Math.PI*(u-90)/180,h=a.centerX+n*Math.cos(c),f=a.centerY+n*Math.sin(c),g=a.centerX+n*Math.cos(d),p=a.centerY+n*Math.sin(d),m=T.polarToCartesian(a.centerX,a.centerY,a.donutSize,u),b=T.polarToCartesian(a.centerX,a.centerY,a.donutSize,l),v=r>180?1:0,x=["M",h,f,"A",n,n,0,v,1,g,p];return t=a.chartType==="donut"?[].concat(x,["L",m.x,m.y,"A",a.donutSize,a.donutSize,0,v,0,b.x,b.y,"L",h,f,"z"]).join(" "):a.chartType==="pie"||a.chartType==="polarArea"?[].concat(x,["L",a.centerX,a.centerY,"L",h,f]).join(" "):[].concat(x).join(" "),o.roundPathCorners(t,2*this.strokeWidth)}},{key:"drawPolarElements",value:function(e){var t=this.w,a=new Mx(this.ctx),s=new Y(this.ctx),r=new Lx(this.ctx),n=s.group(),o=s.group(),l=a.niceScale(0,Math.ceil(this.maxY),0),c=l.result.reverse(),u=l.result.length;this.maxY=l.niceMax;for(var d=t.globals.radialSize,h=d/(u-1),f=0;f<u-1;f++){var g=s.drawCircle(d);if(g.attr({cx:this.centerX,cy:this.centerY,fill:"none","stroke-width":t.config.plotOptions.polarArea.rings.strokeWidth,stroke:t.config.plotOptions.polarArea.rings.strokeColor}),t.config.yaxis[0].show){var p=r.drawYAxisTexts(this.centerX,this.centerY-d+parseInt(t.config.yaxis[0].labels.style.fontSize,10)/2,f,c[f]);o.add(p)}n.add(g),d-=h}this.drawSpokes(e),e.add(n),e.add(o)}},{key:"renderInnerDataLabels",value:function(e,t,a){var s=this.w,r=new Y(this.ctx),n=t.total.show;e.node.innerHTML="",e.node.style.opacity=a.opacity;var o,l,c=a.centerX,u=this.donutDataLabels.total.label?a.centerY:a.centerY-a.centerY/6;o=t.name.color===void 0?s.globals.colors[0]:t.name.color;var d=t.name.fontSize,h=t.name.fontFamily,f=t.name.fontWeight;l=t.value.color===void 0?s.config.chart.foreColor:t.value.color;var g=t.value.formatter,p="",m="";if(n?(o=t.total.color,d=t.total.fontSize,h=t.total.fontFamily,f=t.total.fontWeight,m=this.donutDataLabels.total.label?t.total.label:"",p=t.total.formatter(s)):s.globals.series.length===1&&(p=g(s.globals.series[0],s),m=s.globals.seriesNames[0]),m&&(m=t.name.formatter(m,t.total.show,s)),t.name.show){var b=r.drawText({x:c,y:u+parseFloat(t.name.offsetY),text:m,textAnchor:"middle",foreColor:o,fontSize:d,fontWeight:f,fontFamily:h});b.node.classList.add("apexcharts-datalabel-label"),e.add(b)}if(t.value.show){var v=t.name.show?parseFloat(t.value.offsetY)+16:t.value.offsetY,x=r.drawText({x:c,y:u+v,text:p,textAnchor:"middle",foreColor:l,fontWeight:t.value.fontWeight,fontSize:t.value.fontSize,fontFamily:t.value.fontFamily});x.node.classList.add("apexcharts-datalabel-value"),e.add(x)}return e}},{key:"printInnerLabels",value:function(e,t,a,s){var r,n=this.w;s?r=e.name.color===void 0?n.globals.colors[parseInt(s.parentNode.getAttribute("rel"),10)-1]:e.name.color:n.globals.series.length>1&&e.total.show&&(r=e.total.color);var o=n.globals.dom.baseEl.querySelector(".apexcharts-datalabel-label"),l=n.globals.dom.baseEl.querySelector(".apexcharts-datalabel-value");a=(0,e.value.formatter)(a,n),s||typeof e.total.formatter!="function"||(a=e.total.formatter(n));var c=t===e.total.label;t=this.donutDataLabels.total.label?e.name.formatter(t,c,n):"",o!==null&&(o.textContent=t),l!==null&&(l.textContent=a),o!==null&&(o.style.fill=r)}},{key:"printDataLabelsInner",value:function(e,t){var a=this.w,s=e.getAttribute("data:value"),r=a.globals.seriesNames[parseInt(e.parentNode.getAttribute("rel"),10)-1];a.globals.series.length>1&&this.printInnerLabels(t,r,s,e);var n=a.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group");n!==null&&(n.style.opacity=1)}},{key:"drawSpokes",value:function(e){var t=this,a=this.w,s=new Y(this.ctx),r=a.config.plotOptions.polarArea.spokes;if(r.strokeWidth!==0){for(var n=[],o=360/a.globals.series.length,l=0;l<a.globals.series.length;l++)n.push(T.polarToCartesian(this.centerX,this.centerY,a.globals.radialSize,a.config.plotOptions.pie.startAngle+o*l));n.forEach((function(c,u){var d=s.drawLine(c.x,c.y,t.centerX,t.centerY,Array.isArray(r.connectorColors)?r.connectorColors[u]:r.connectorColors);e.add(d)}))}}},{key:"revertDataLabelsInner",value:function(){var e=this.w;if(this.donutDataLabels.show){var t=e.globals.dom.Paper.findOne(".apexcharts-datalabels-group"),a=this.renderInnerDataLabels(t,this.donutDataLabels,{hollowSize:this.donutSize,centerX:this.centerX,centerY:this.centerY,opacity:this.donutDataLabels.show});e.globals.dom.Paper.findOne(".apexcharts-radialbar, .apexcharts-pie").add(a)}}}]),i})(),nI=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animDur=0;var t=this.w;this.graphics=new Y(this.ctx),this.lineColorArr=t.globals.stroke.colors!==void 0?t.globals.stroke.colors:t.globals.colors,this.defaultSize=t.globals.svgHeight<t.globals.svgWidth?t.globals.gridHeight:t.globals.gridWidth,this.isLog=t.config.yaxis[0].logarithmic,this.logBase=t.config.yaxis[0].logBase,this.coreUtils=new rt(this.ctx),this.maxValue=this.isLog?this.coreUtils.getLogVal(this.logBase,t.globals.maxY,0):t.globals.maxY,this.minValue=this.isLog?this.coreUtils.getLogVal(this.logBase,this.w.globals.minY,0):t.globals.minY,this.polygons=t.config.plotOptions.radar.polygons,this.strokeWidth=t.config.stroke.show?t.config.stroke.width:0,this.size=this.defaultSize/2.1-this.strokeWidth-t.config.chart.dropShadow.blur,t.config.xaxis.labels.show&&(this.size=this.size-t.globals.xAxisLabelsWidth/1.75),t.config.plotOptions.radar.size!==void 0&&(this.size=t.config.plotOptions.radar.size),this.dataRadiusOfPercent=[],this.dataRadius=[],this.angleArr=[],this.yaxisLabelsTextsPos=[]}return te(i,[{key:"draw",value:function(e){var t=this,a=this.w,s=new gi(this.ctx),r=[],n=new Ls(this.ctx);e.length&&(this.dataPointsLen=e[a.globals.maxValsInArrayIndex].length),this.disAngle=2*Math.PI/this.dataPointsLen;var o=a.globals.gridWidth/2,l=a.globals.gridHeight/2,c=o+a.config.plotOptions.radar.offsetX,u=l+a.config.plotOptions.radar.offsetY,d=this.graphics.group({class:"apexcharts-radar-series apexcharts-plot-series",transform:"translate(".concat(c||0,", ").concat(u||0,")")}),h=[],f=null,g=null;if(this.yaxisLabels=this.graphics.group({class:"apexcharts-yaxis"}),e.forEach((function(m,b){var v=m.length===a.globals.dataPoints,x=t.graphics.group().attr({class:"apexcharts-series","data:longestSeries":v,seriesName:T.escapeString(a.globals.seriesNames[b]),rel:b+1,"data:realIndex":b});t.dataRadiusOfPercent[b]=[],t.dataRadius[b]=[],t.angleArr[b]=[],m.forEach((function(D,L){var B=Math.abs(t.maxValue-t.minValue);D-=t.minValue,t.isLog&&(D=t.coreUtils.getLogVal(t.logBase,D,0)),t.dataRadiusOfPercent[b][L]=D/B,t.dataRadius[b][L]=t.dataRadiusOfPercent[b][L]*t.size,t.angleArr[b][L]=L*t.disAngle})),h=t.getDataPointsPos(t.dataRadius[b],t.angleArr[b]);var k=t.createPaths(h,{x:0,y:0});f=t.graphics.group({class:"apexcharts-series-markers-wrap apexcharts-element-hidden"}),g=t.graphics.group({class:"apexcharts-datalabels","data:realIndex":b}),a.globals.delayedElements.push({el:f.node,index:b});var y={i:b,realIndex:b,animationDelay:b,initialSpeed:a.config.chart.animations.speed,dataChangeSpeed:a.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-radar",shouldClipToGrid:!1,bindEventsOnPaths:!1,stroke:a.globals.stroke.colors[b],strokeLineCap:a.config.stroke.lineCap},A=null;a.globals.previousPaths.length>0&&(A=t.getPreviousPath(b));for(var w=0;w<k.linePathsTo.length;w++){var S=t.graphics.renderPaths($($({},y),{},{pathFrom:A===null?k.linePathsFrom[w]:A,pathTo:k.linePathsTo[w],strokeWidth:Array.isArray(t.strokeWidth)?t.strokeWidth[b]:t.strokeWidth,fill:"none",drawShadow:!1}));x.add(S);var C=s.fillPath({seriesNumber:b}),E=t.graphics.renderPaths($($({},y),{},{pathFrom:A===null?k.areaPathsFrom[w]:A,pathTo:k.areaPathsTo[w],strokeWidth:0,fill:C,drawShadow:!1}));if(a.config.chart.dropShadow.enabled){var M=new bt(t.ctx),P=a.config.chart.dropShadow;M.dropShadow(E,Object.assign({},P,{noUserSpaceOnUse:!0}),b)}x.add(E)}m.forEach((function(D,L){var B=new Xs(t.ctx).getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:b,dataPointIndex:L}),N=t.graphics.drawMarker(h[L].x,h[L].y,B);N.attr("rel",L),N.attr("j",L),N.attr("index",b),N.node.setAttribute("default-marker-size",B.pSize);var F=t.graphics.group({class:"apexcharts-series-markers"});F&&F.add(N),f.add(F),x.add(f);var H=a.config.dataLabels;if(H.enabled){var ie=H.formatter(a.globals.series[b][L],{seriesIndex:b,dataPointIndex:L,w:a});n.plotDataLabelsText({x:h[L].x,y:h[L].y,text:ie,textAnchor:"middle",i:b,j:b,parent:g,offsetCorrection:!1,dataLabelsConfig:$({},H)})}x.add(g)})),r.push(x)})),this.drawPolygons({parent:d}),a.config.xaxis.labels.show){var p=this.drawXAxisTexts();d.add(p)}return r.forEach((function(m){d.add(m)})),d.add(this.yaxisLabels),d}},{key:"drawPolygons",value:function(e){for(var t=this,a=this.w,s=e.parent,r=new Lx(this.ctx),n=a.globals.yAxisScale[0].result.reverse(),o=n.length,l=[],c=this.size/(o-1),u=0;u<o;u++)l[u]=c*u;l.reverse();var d=[],h=[];l.forEach((function(f,g){var p=T.getPolygonPos(f,t.dataPointsLen),m="";p.forEach((function(b,v){if(g===0){var x=t.graphics.drawLine(b.x,b.y,0,0,Array.isArray(t.polygons.connectorColors)?t.polygons.connectorColors[v]:t.polygons.connectorColors);h.push(x)}v===0&&t.yaxisLabelsTextsPos.push({x:b.x,y:b.y}),m+=b.x+","+b.y+" "})),d.push(m)})),d.forEach((function(f,g){var p=t.polygons.strokeColors,m=t.polygons.strokeWidth,b=t.graphics.drawPolygon(f,Array.isArray(p)?p[g]:p,Array.isArray(m)?m[g]:m,a.globals.radarPolygons.fill.colors[g]);s.add(b)})),h.forEach((function(f){s.add(f)})),a.config.yaxis[0].show&&this.yaxisLabelsTextsPos.forEach((function(f,g){var p=r.drawYAxisTexts(f.x,f.y,g,n[g]);t.yaxisLabels.add(p)}))}},{key:"drawXAxisTexts",value:function(){var e=this,t=this.w,a=t.config.xaxis.labels,s=this.graphics.group({class:"apexcharts-xaxis"}),r=T.getPolygonPos(this.size,this.dataPointsLen);return t.globals.labels.forEach((function(n,o){var l=t.config.xaxis.labels.formatter,c=new Ls(e.ctx);if(r[o]){var u=e.getTextPos(r[o],e.size),d=l(n,{seriesIndex:-1,dataPointIndex:o,w:t});c.plotDataLabelsText({x:u.newX,y:u.newY,text:d,textAnchor:u.textAnchor,i:o,j:o,parent:s,className:"apexcharts-xaxis-label",color:Array.isArray(a.style.colors)&&a.style.colors[o]?a.style.colors[o]:"#a8a8a8",dataLabelsConfig:$({textAnchor:u.textAnchor,dropShadow:{enabled:!1}},a),offsetCorrection:!1}).on("click",(function(h){if(typeof t.config.chart.events.xAxisLabelClick=="function"){var f=Object.assign({},t,{labelIndex:o});t.config.chart.events.xAxisLabelClick(h,e.ctx,f)}}))}})),s}},{key:"createPaths",value:function(e,t){var a=this,s=[],r=[],n=[],o=[];if(e.length){r=[this.graphics.move(t.x,t.y)],o=[this.graphics.move(t.x,t.y)];var l=this.graphics.move(e[0].x,e[0].y),c=this.graphics.move(e[0].x,e[0].y);e.forEach((function(u,d){l+=a.graphics.line(u.x,u.y),c+=a.graphics.line(u.x,u.y),d===e.length-1&&(l+="Z",c+="Z")})),s.push(l),n.push(c)}return{linePathsFrom:r,linePathsTo:s,areaPathsFrom:o,areaPathsTo:n}}},{key:"getTextPos",value:function(e,t){var a="middle",s=e.x,r=e.y;return Math.abs(e.x)>=10?e.x>0?(a="start",s+=10):e.x<0&&(a="end",s-=10):a="middle",Math.abs(e.y)>=t-10&&(e.y<0?r-=10:e.y>0&&(r+=10)),{textAnchor:a,newX:s,newY:r}}},{key:"getPreviousPath",value:function(e){for(var t=this.w,a=null,s=0;s<t.globals.previousPaths.length;s++){var r=t.globals.previousPaths[s];r.paths.length>0&&parseInt(r.realIndex,10)===parseInt(e,10)&&t.globals.previousPaths[s].paths[0]!==void 0&&(a=t.globals.previousPaths[s].paths[0].d)}return a}},{key:"getDataPointsPos",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.dataPointsLen;e=e||[],t=t||[];for(var s=[],r=0;r<a;r++){var n={};n.x=e[r]*Math.sin(t[r]),n.y=-e[r]*Math.cos(t[r]),s.push(n)}return s}}]),i})(),oI=(function(i){an(t,Rx);var e=tn(t);function t(a){var s;ee(this,t),(s=e.call(this,a)).ctx=a,s.w=a.w,s.animBeginArr=[0],s.animDur=0;var r=s.w;return s.startAngle=r.config.plotOptions.radialBar.startAngle,s.endAngle=r.config.plotOptions.radialBar.endAngle,s.totalAngle=Math.abs(r.config.plotOptions.radialBar.endAngle-r.config.plotOptions.radialBar.startAngle),s.trackStartAngle=r.config.plotOptions.radialBar.track.startAngle,s.trackEndAngle=r.config.plotOptions.radialBar.track.endAngle,s.barLabels=s.w.config.plotOptions.radialBar.barLabels,s.donutDataLabels=s.w.config.plotOptions.radialBar.dataLabels,s.radialDataLabels=s.donutDataLabels,s.trackStartAngle||(s.trackStartAngle=s.startAngle),s.trackEndAngle||(s.trackEndAngle=s.endAngle),s.endAngle===360&&(s.endAngle=359.99),s.margin=parseInt(r.config.plotOptions.radialBar.track.margin,10),s.onBarLabelClick=s.onBarLabelClick.bind(Xv(s)),s}return te(t,[{key:"draw",value:function(a){var s=this.w,r=new Y(this.ctx),n=r.group({class:"apexcharts-radialbar"});if(s.globals.noData)return n;var o=r.group(),l=this.defaultSize/2,c=s.globals.gridWidth/2,u=this.defaultSize/2.05;s.config.chart.sparkline.enabled||(u=u-s.config.stroke.width-s.config.chart.dropShadow.blur);var d=s.globals.fill.colors;if(s.config.plotOptions.radialBar.track.show){var h=this.drawTracks({size:u,centerX:c,centerY:l,colorArr:d,series:a});o.add(h)}var f=this.drawArcs({size:u,centerX:c,centerY:l,colorArr:d,series:a}),g=360;s.config.plotOptions.radialBar.startAngle<0&&(g=this.totalAngle);var p=(360-g)/360;if(s.globals.radialSize=u-u*p,this.radialDataLabels.value.show){var m=Math.max(this.radialDataLabels.value.offsetY,this.radialDataLabels.name.offsetY);s.globals.radialSize+=m*p}return o.add(f.g),s.config.plotOptions.radialBar.hollow.position==="front"&&(f.g.add(f.elHollow),f.dataLabels&&f.g.add(f.dataLabels)),n.add(o),n}},{key:"drawTracks",value:function(a){var s=this.w,r=new Y(this.ctx),n=r.group({class:"apexcharts-tracks"}),o=new bt(this.ctx),l=new gi(this.ctx),c=this.getStrokeWidth(a);a.size=a.size-c/2;for(var u=0;u<a.series.length;u++){var d=r.group({class:"apexcharts-radialbar-track apexcharts-track"});n.add(d),d.attr({rel:u+1}),a.size=a.size-c-this.margin;var h=s.config.plotOptions.radialBar.track,f=l.fillPath({seriesNumber:0,size:a.size,fillColors:Array.isArray(h.background)?h.background[u]:h.background,solid:!0}),g=this.trackStartAngle,p=this.trackEndAngle;Math.abs(p)+Math.abs(g)>=360&&(p=360-Math.abs(this.startAngle)-.1);var m=r.drawPath({d:"",stroke:f,strokeWidth:c*parseInt(h.strokeWidth,10)/100,fill:"none",strokeOpacity:h.opacity,classes:"apexcharts-radialbar-area"});if(h.dropShadow.enabled){var b=h.dropShadow;o.dropShadow(m,b)}d.add(m),m.attr("id","apexcharts-radialbarTrack-"+u),this.animatePaths(m,{centerX:a.centerX,centerY:a.centerY,endAngle:p,startAngle:g,size:a.size,i:u,totalItems:2,animBeginArr:0,dur:0,isTrack:!0})}return n}},{key:"drawArcs",value:function(a){var s=this.w,r=new Y(this.ctx),n=new gi(this.ctx),o=new bt(this.ctx),l=r.group(),c=this.getStrokeWidth(a);a.size=a.size-c/2;var u=s.config.plotOptions.radialBar.hollow.background,d=a.size-c*a.series.length-this.margin*a.series.length-c*parseInt(s.config.plotOptions.radialBar.track.strokeWidth,10)/100/2,h=d-s.config.plotOptions.radialBar.hollow.margin;s.config.plotOptions.radialBar.hollow.image!==void 0&&(u=this.drawHollowImage(a,l,d,u));var f=this.drawHollow({size:h,centerX:a.centerX,centerY:a.centerY,fill:u||"transparent"});if(s.config.plotOptions.radialBar.hollow.dropShadow.enabled){var g=s.config.plotOptions.radialBar.hollow.dropShadow;o.dropShadow(f,g)}var p=1;!this.radialDataLabels.total.show&&s.globals.series.length>1&&(p=0);var m=null;if(this.radialDataLabels.show){var b=s.globals.dom.Paper.findOne(".apexcharts-datalabels-group");m=this.renderInnerDataLabels(b,this.radialDataLabels,{hollowSize:d,centerX:a.centerX,centerY:a.centerY,opacity:p})}s.config.plotOptions.radialBar.hollow.position==="back"&&(l.add(f),m&&l.add(m));var v=!1;s.config.plotOptions.radialBar.inverseOrder&&(v=!0);for(var x=v?a.series.length-1:0;v?x>=0:x<a.series.length;v?x--:x++){var k=r.group({class:"apexcharts-series apexcharts-radial-series",seriesName:T.escapeString(s.globals.seriesNames[x])});l.add(k),k.attr({rel:x+1,"data:realIndex":x}),this.ctx.series.addCollapsedClassToSeries(k,x),a.size=a.size-c-this.margin;var y=n.fillPath({seriesNumber:x,size:a.size,value:a.series[x]}),A=this.startAngle,w=void 0,S=T.negToZero(a.series[x]>100?100:a.series[x])/100,C=Math.round(this.totalAngle*S)+this.startAngle,E=void 0;s.globals.dataChanged&&(w=this.startAngle,E=Math.round(this.totalAngle*T.negToZero(s.globals.previousPaths[x])/100)+w),Math.abs(C)+Math.abs(A)>360&&(C-=.01),Math.abs(E)+Math.abs(w)>360&&(E-=.01);var M=C-A,P=Array.isArray(s.config.stroke.dashArray)?s.config.stroke.dashArray[x]:s.config.stroke.dashArray,D=r.drawPath({d:"",stroke:y,strokeWidth:c,fill:"none",fillOpacity:s.config.fill.opacity,classes:"apexcharts-radialbar-area apexcharts-radialbar-slice-"+x,strokeDashArray:P});if(Y.setAttrs(D.node,{"data:angle":M,"data:value":a.series[x]}),s.config.chart.dropShadow.enabled){var L=s.config.chart.dropShadow;o.dropShadow(D,L,x)}if(o.setSelectionFilter(D,0,x),this.addListeners(D,this.radialDataLabels),k.add(D),D.attr({index:0,j:x}),this.barLabels.enabled){var B=T.polarToCartesian(a.centerX,a.centerY,a.size,A),N=this.barLabels.formatter(s.globals.seriesNames[x],{seriesIndex:x,w:s}),F=["apexcharts-radialbar-label"];this.barLabels.onClick||F.push("apexcharts-no-click");var H=this.barLabels.useSeriesColors?s.globals.colors[x]:s.config.chart.foreColor;H||(H=s.config.chart.foreColor);var ie=B.x+this.barLabels.offsetX,re=B.y+this.barLabels.offsetY,ae=r.drawText({x:ie,y:re,text:N,textAnchor:"end",dominantBaseline:"middle",fontFamily:this.barLabels.fontFamily,fontWeight:this.barLabels.fontWeight,fontSize:this.barLabels.fontSize,foreColor:H,cssClass:F.join(" ")});ae.on("click",this.onBarLabelClick),ae.attr({rel:x+1}),A!==0&&ae.attr({"transform-origin":"".concat(ie," ").concat(re),transform:"rotate(".concat(A," 0 0)")}),k.add(ae)}var le=0;!this.initialAnim||s.globals.resized||s.globals.dataChanged||(le=s.config.chart.animations.speed),s.globals.dataChanged&&(le=s.config.chart.animations.dynamicAnimation.speed),this.animDur=le/(1.2*a.series.length)+this.animDur,this.animBeginArr.push(this.animDur),this.animatePaths(D,{centerX:a.centerX,centerY:a.centerY,endAngle:C,startAngle:A,prevEndAngle:E,prevStartAngle:w,size:a.size,i:x,totalItems:2,animBeginArr:this.animBeginArr,dur:le,shouldSetPrevPaths:!0})}return{g:l,elHollow:f,dataLabels:m}}},{key:"drawHollow",value:function(a){var s=new Y(this.ctx).drawCircle(2*a.size);return s.attr({class:"apexcharts-radialbar-hollow",cx:a.centerX,cy:a.centerY,r:a.size,fill:a.fill}),s}},{key:"drawHollowImage",value:function(a,s,r,n){var o=this.w,l=new gi(this.ctx),c=T.randomId(),u=o.config.plotOptions.radialBar.hollow.image;if(o.config.plotOptions.radialBar.hollow.imageClipped)l.clippedImgArea({width:r,height:r,image:u,patternID:"pattern".concat(o.globals.cuid).concat(c)}),n="url(#pattern".concat(o.globals.cuid).concat(c,")");else{var d=o.config.plotOptions.radialBar.hollow.imageWidth,h=o.config.plotOptions.radialBar.hollow.imageHeight;if(d===void 0&&h===void 0){var f=o.globals.dom.Paper.image(u,(function(p){this.move(a.centerX-p.width/2+o.config.plotOptions.radialBar.hollow.imageOffsetX,a.centerY-p.height/2+o.config.plotOptions.radialBar.hollow.imageOffsetY)}));s.add(f)}else{var g=o.globals.dom.Paper.image(u,(function(p){this.move(a.centerX-d/2+o.config.plotOptions.radialBar.hollow.imageOffsetX,a.centerY-h/2+o.config.plotOptions.radialBar.hollow.imageOffsetY),this.size(d,h)}));s.add(g)}}return n}},{key:"getStrokeWidth",value:function(a){var s=this.w;return a.size*(100-parseInt(s.config.plotOptions.radialBar.hollow.size,10))/100/(a.series.length+1)-this.margin}},{key:"onBarLabelClick",value:function(a){var s=parseInt(a.target.getAttribute("rel"),10)-1,r=this.barLabels.onClick,n=this.w;r&&r(n.globals.seriesNames[s],{w:n,seriesIndex:s})}}]),t})(),lI=(function(i){an(t,Rs);var e=tn(t);function t(){return ee(this,t),e.apply(this,arguments)}return te(t,[{key:"draw",value:function(a,s){var r=this.w,n=new Y(this.ctx);this.rangeBarOptions=this.w.config.plotOptions.rangeBar,this.series=a,this.seriesRangeStart=r.globals.seriesRangeStart,this.seriesRangeEnd=r.globals.seriesRangeEnd,this.barHelpers.initVariables(a);for(var o=n.group({class:"apexcharts-rangebar-series apexcharts-plot-series"}),l=0;l<a.length;l++){var c,u,d,h,f=void 0,g=void 0,p=r.globals.comboCharts?s[l]:l,m=this.barHelpers.getGroupIndex(p).columnGroupIndex,b=n.group({class:"apexcharts-series",seriesName:T.escapeString(r.globals.seriesNames[p]),rel:l+1,"data:realIndex":p});this.ctx.series.addCollapsedClassToSeries(b,p),a[l].length>0&&(this.visibleI=this.visibleI+1);var v=0,x=0,k=0;this.yRatio.length>1&&(this.yaxisIndex=r.globals.seriesYAxisReverseMap[p][0],k=p);var y=this.barHelpers.initialPositions(p);g=y.y,h=y.zeroW,f=y.x,x=y.barWidth,v=y.barHeight,c=y.xDivision,u=y.yDivision,d=y.zeroH;for(var A=n.group({class:"apexcharts-datalabels","data:realIndex":p}),w=n.group({class:"apexcharts-rangebar-goals-markers"}),S=0;S<r.globals.dataPoints;S++){var C=this.barHelpers.getStrokeWidth(l,S,p),E=this.seriesRangeStart[l][S],M=this.seriesRangeEnd[l][S],P=null,D=null,L=null,B={x:f,y:g,strokeWidth:C,elSeries:b},N=this.seriesLen;if(r.config.plotOptions.bar.rangeBarGroupRows&&(N=1),r.config.series[l].data[S]===void 0)break;if(this.isHorizontal){L=g+v*this.visibleI;var F=(u-v*N)/2;if(r.config.series[l].data[S].x){var H=this.detectOverlappingBars({i:l,j:S,barYPosition:L,srty:F,barHeight:v,yDivision:u,initPositions:y});v=H.barHeight,L=H.barYPosition}x=(P=this.drawRangeBarPaths($({indexes:{i:l,j:S,realIndex:p},barHeight:v,barYPosition:L,zeroW:h,yDivision:u,y1:E,y2:M},B))).barWidth}else{r.globals.isXNumeric&&(f=(r.globals.seriesX[l][S]-r.globals.minX)/this.xRatio-x/2),D=f+x*this.visibleI;var ie=(c-x*N)/2;if(r.config.series[l].data[S].x){var re=this.detectOverlappingBars({i:l,j:S,barXPosition:D,srtx:ie,barWidth:x,xDivision:c,initPositions:y});x=re.barWidth,D=re.barXPosition}v=(P=this.drawRangeColumnPaths($({indexes:{i:l,j:S,realIndex:p,translationsIndex:k},barWidth:x,barXPosition:D,zeroH:d,xDivision:c},B))).barHeight}var ae=this.barHelpers.drawGoalLine({barXPosition:P.barXPosition,barYPosition:L,goalX:P.goalX,goalY:P.goalY,barHeight:v,barWidth:x});ae&&w.add(ae),g=P.y,f=P.x;var le=this.barHelpers.getPathFillColor(a,l,S,p);this.renderSeries({realIndex:p,pathFill:le.color,lineFill:le.useRangeColor?le.color:r.globals.stroke.colors[p],j:S,i:l,x:f,y:g,y1:E,y2:M,pathFrom:P.pathFrom,pathTo:P.pathTo,strokeWidth:C,elSeries:b,series:a,barHeight:v,barWidth:x,barXPosition:D,barYPosition:L,columnGroupIndex:m,elDataLabelsWrap:A,elGoalsMarkers:w,visibleSeries:this.visibleI,type:"rangebar"})}o.add(b)}return o}},{key:"detectOverlappingBars",value:function(a){var s=a.i,r=a.j,n=a.barYPosition,o=a.barXPosition,l=a.srty,c=a.srtx,u=a.barHeight,d=a.barWidth,h=a.yDivision,f=a.xDivision,g=a.initPositions,p=this.w,m=[],b=p.config.series[s].data[r].rangeName,v=p.config.series[s].data[r].x,x=Array.isArray(v)?v.join(" "):v,k=p.globals.labels.map((function(A){return Array.isArray(A)?A.join(" "):A})).indexOf(x),y=p.globals.seriesRange[s].findIndex((function(A){return A.x===x&&A.overlaps.length>0}));return this.isHorizontal?(n=p.config.plotOptions.bar.rangeBarGroupRows?l+h*k:l+u*this.visibleI+h*k,y>-1&&!p.config.plotOptions.bar.rangeBarOverlap&&(m=p.globals.seriesRange[s][y].overlaps).indexOf(b)>-1&&(n=(u=g.barHeight/m.length)*this.visibleI+h*(100-parseInt(this.barOptions.barHeight,10))/100/2+u*(this.visibleI+m.indexOf(b))+h*k)):(k>-1&&!p.globals.timescaleLabels.length&&(o=p.config.plotOptions.bar.rangeBarGroupRows?c+f*k:c+d*this.visibleI+f*k),y>-1&&!p.config.plotOptions.bar.rangeBarOverlap&&(m=p.globals.seriesRange[s][y].overlaps).indexOf(b)>-1&&(o=(d=g.barWidth/m.length)*this.visibleI+f*(100-parseInt(this.barOptions.barWidth,10))/100/2+d*(this.visibleI+m.indexOf(b))+f*k)),{barYPosition:n,barXPosition:o,barHeight:u,barWidth:d}}},{key:"drawRangeColumnPaths",value:function(a){var s=a.indexes,r=a.x,n=a.xDivision,o=a.barWidth,l=a.barXPosition,c=a.zeroH,u=this.w,d=s.i,h=s.j,f=s.realIndex,g=s.translationsIndex,p=this.yRatio[g],m=this.getRangeValue(f,h),b=Math.min(m.start,m.end),v=Math.max(m.start,m.end);this.series[d][h]===void 0||this.series[d][h]===null?b=c:(b=c-b/p,v=c-v/p);var x=Math.abs(v-b),k=this.barHelpers.getColumnPaths({barXPosition:l,barWidth:o,y1:b,y2:v,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,realIndex:f,i:f,j:h,w:u});if(u.globals.isXNumeric){var y=this.getBarXForNumericXAxis({x:r,j:h,realIndex:f,barWidth:o});r=y.x,l=y.barXPosition}else r+=n;return{pathTo:k.pathTo,pathFrom:k.pathFrom,barHeight:x,x:r,y:m.start<0&&m.end<0?b:v,goalY:this.barHelpers.getGoalValues("y",null,c,d,h,g),barXPosition:l}}},{key:"preventBarOverflow",value:function(a){var s=this.w;return a<0&&(a=0),a>s.globals.gridWidth&&(a=s.globals.gridWidth),a}},{key:"drawRangeBarPaths",value:function(a){var s=a.indexes,r=a.y,n=a.y1,o=a.y2,l=a.yDivision,c=a.barHeight,u=a.barYPosition,d=a.zeroW,h=this.w,f=s.realIndex,g=s.j,p=this.preventBarOverflow(d+n/this.invertedYRatio),m=this.preventBarOverflow(d+o/this.invertedYRatio),b=this.getRangeValue(f,g),v=Math.abs(m-p),x=this.barHelpers.getBarpaths({barYPosition:u,barHeight:c,x1:p,x2:m,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,i:f,realIndex:f,j:g,w:h});return h.globals.isXNumeric||(r+=l),{pathTo:x.pathTo,pathFrom:x.pathFrom,barWidth:v,x:b.start<0&&b.end<0?p:m,goalX:this.barHelpers.getGoalValues("x",d,null,f,g),y:r}}},{key:"getRangeValue",value:function(a,s){var r=this.w;return{start:r.globals.seriesRangeStart[a][s],end:r.globals.seriesRangeEnd[a][s]}}}]),t})(),cI=(function(){function i(e){ee(this,i),this.w=e.w,this.lineCtx=e}return te(i,[{key:"sameValueSeriesFix",value:function(e,t){var a=this.w;if((a.config.fill.type==="gradient"||a.config.fill.type[e]==="gradient")&&new rt(this.lineCtx.ctx,a).seriesHaveSameValues(e)){var s=t[e].slice();s[s.length-1]=s[s.length-1]+1e-6,t[e]=s}return t}},{key:"calculatePoints",value:function(e){var t=e.series,a=e.realIndex,s=e.x,r=e.y,n=e.i,o=e.j,l=e.prevY,c=this.w,u=[],d=[],h=this.lineCtx.categoryAxisCorrection+c.config.markers.offsetX;return c.globals.isXNumeric&&(h=(c.globals.seriesX[a][0]-c.globals.minX)/this.lineCtx.xRatio+c.config.markers.offsetX),o===0&&(u.push(h),d.push(T.isNumber(t[n][0])?l+c.config.markers.offsetY:null)),u.push(s+c.config.markers.offsetX),d.push(T.isNumber(t[n][o+1])?r+c.config.markers.offsetY:null),{x:u,y:d}}},{key:"checkPreviousPaths",value:function(e){for(var t=e.pathFromLine,a=e.pathFromArea,s=e.realIndex,r=this.w,n=0;n<r.globals.previousPaths.length;n++){var o=r.globals.previousPaths[n];(o.type==="line"||o.type==="area")&&o.paths.length>0&&parseInt(o.realIndex,10)===parseInt(s,10)&&(o.type==="line"?(this.lineCtx.appendPathFrom=!1,t=r.globals.previousPaths[n].paths[0].d):o.type==="area"&&(this.lineCtx.appendPathFrom=!1,a=r.globals.previousPaths[n].paths[0].d,r.config.stroke.show&&r.globals.previousPaths[n].paths[1]&&(t=r.globals.previousPaths[n].paths[1].d)))}return{pathFromLine:t,pathFromArea:a}}},{key:"determineFirstPrevY",value:function(e){var t,a,s,r=e.i,n=e.realIndex,o=e.series,l=e.prevY,c=e.lineYPosition,u=e.translationsIndex,d=this.w,h=d.config.chart.stacked&&!d.globals.comboCharts||d.config.chart.stacked&&d.globals.comboCharts&&(!this.w.config.chart.stackOnlyBar||((t=this.w.config.series[n])===null||t===void 0?void 0:t.type)==="bar"||((a=this.w.config.series[n])===null||a===void 0?void 0:a.type)==="column");if(((s=o[r])===null||s===void 0?void 0:s[0])!==void 0)l=(c=h&&r>0?this.lineCtx.prevSeriesY[r-1][0]:this.lineCtx.zeroY)-o[r][0]/this.lineCtx.yRatio[u]+2*(this.lineCtx.isReversed?o[r][0]/this.lineCtx.yRatio[u]:0);else if(h&&r>0&&o[r][0]===void 0){for(var f=r-1;f>=0;f--)if(o[f][0]!==null&&o[f][0]!==void 0){l=c=this.lineCtx.prevSeriesY[f][0];break}}return{prevY:l,lineYPosition:c}}}]),i})(),uI=function(i){for(var e,t,a,s,r=(function(u){for(var d=[],h=u[0],f=u[1],g=d[0]=tc(h,f),p=1,m=u.length-1;p<m;p++)h=f,f=u[p+1],d[p]=.5*(g+(g=tc(h,f)));return d[p]=g,d})(i),n=i.length-1,o=[],l=0;l<n;l++)a=tc(i[l],i[l+1]),Math.abs(a)<1e-6?r[l]=r[l+1]=0:(s=(e=r[l]/a)*e+(t=r[l+1]/a)*t)>9&&(s=3*a/Math.sqrt(s),r[l]=s*e,r[l+1]=s*t);for(var c=0;c<=n;c++)s=(i[Math.min(n,c+1)][0]-i[Math.max(0,c-1)][0])/(6*(1+r[c]*r[c])),o.push([s||0,r[c]*s||0]);return o},dI=function(i){var e=uI(i),t=i[1],a=i[0],s=[],r=e[1],n=e[0];s.push(a,[a[0]+n[0],a[1]+n[1],t[0]-r[0],t[1]-r[1],t[0],t[1]]);for(var o=2,l=e.length;o<l;o++){var c=i[o],u=e[o];s.push([c[0]-u[0],c[1]-u[1],c[0],c[1]])}return s},hI=function(i,e,t){var a=i.slice(e,t);if(e){if(t-e>1&&a[1].length<6){var s=a[0].length;a[1]=[2*a[0][s-2]-a[0][s-4],2*a[0][s-1]-a[0][s-3]].concat(a[1])}a[0]=a[0].slice(-2)}return a};function tc(i,e){return(e[1]-i[1])/(e[0]-i[0])}var ic=(function(){function i(e,t,a){ee(this,i),this.ctx=e,this.w=e.w,this.xyRatios=t,this.pointsChart=!(this.w.config.chart.type!=="bubble"&&this.w.config.chart.type!=="scatter")||a,this.scatter=new Sx(this.ctx),this.noNegatives=this.w.globals.minX===Number.MAX_VALUE,this.lineHelpers=new cI(this),this.markers=new Xs(this.ctx),this.prevSeriesY=[],this.categoryAxisCorrection=0,this.yaxisIndex=0}return te(i,[{key:"draw",value:function(e,t,a,s){var r,n=this.w,o=new Y(this.ctx),l=n.globals.comboCharts?t:n.config.chart.type,c=o.group({class:"apexcharts-".concat(l,"-series apexcharts-plot-series")}),u=new rt(this.ctx,n);this.yRatio=this.xyRatios.yRatio,this.zRatio=this.xyRatios.zRatio,this.xRatio=this.xyRatios.xRatio,this.baseLineY=this.xyRatios.baseLineY,e=u.getLogSeries(e),this.yRatio=u.getLogYRatios(this.yRatio),this.prevSeriesY=[];for(var d=[],h=0;h<e.length;h++){e=this.lineHelpers.sameValueSeriesFix(h,e);var f=n.globals.comboCharts?a[h]:h,g=this.yRatio.length>1?f:0;this._initSerieVariables(e,h,f);var p=[],m=[],b=[],v=n.globals.padHorizontal+this.categoryAxisCorrection;this.ctx.series.addCollapsedClassToSeries(this.elSeries,f),n.globals.isXNumeric&&n.globals.seriesX.length>0&&(v=(n.globals.seriesX[f][0]-n.globals.minX)/this.xRatio),b.push(v);var x,k=v,y=void 0,A=k,w=this.zeroY,S=this.zeroY;w=this.lineHelpers.determineFirstPrevY({i:h,realIndex:f,series:e,prevY:w,lineYPosition:0,translationsIndex:g}).prevY,n.config.stroke.curve==="monotoneCubic"&&e[h][0]===null?p.push(null):p.push(w),x=w,l==="rangeArea"&&(y=S=this.lineHelpers.determineFirstPrevY({i:h,realIndex:f,series:s,prevY:S,lineYPosition:0,translationsIndex:g}).prevY,m.push(p[0]!==null?S:null));var C=this._calculatePathsFrom({type:l,series:e,i:h,realIndex:f,translationsIndex:g,prevX:A,prevY:w,prevY2:S}),E=[p[0]],M=[m[0]],P={type:l,series:e,realIndex:f,translationsIndex:g,i:h,x:v,y:1,pX:k,pY:x,pathsFrom:C,linePaths:[],areaPaths:[],seriesIndex:a,lineYPosition:0,xArrj:b,yArrj:p,y2Arrj:m,seriesRangeEnd:s},D=this._iterateOverDataPoints($($({},P),{},{iterations:l==="rangeArea"?e[h].length-1:void 0,isRangeStart:!0}));if(l==="rangeArea"){for(var L=this._calculatePathsFrom({series:s,i:h,realIndex:f,prevX:A,prevY:S}),B=this._iterateOverDataPoints($($({},P),{},{series:s,xArrj:[v],yArrj:E,y2Arrj:M,pY:y,areaPaths:D.areaPaths,pathsFrom:L,iterations:s[h].length-1,isRangeStart:!1})),N=D.linePaths.length/2,F=0;F<N;F++)D.linePaths[F]=B.linePaths[F+N]+D.linePaths[F];D.linePaths.splice(N),D.pathFromLine=B.pathFromLine+D.pathFromLine}else D.pathFromArea+="z";this._handlePaths({type:l,realIndex:f,i:h,paths:D}),this.elSeries.add(this.elPointsMain),this.elSeries.add(this.elDataLabelsWrap),d.push(this.elSeries)}if(((r=n.config.series[0])===null||r===void 0?void 0:r.zIndex)!==void 0&&d.sort((function(re,ae){return Number(re.node.getAttribute("zIndex"))-Number(ae.node.getAttribute("zIndex"))})),n.config.chart.stacked)for(var H=d.length-1;H>=0;H--)c.add(d[H]);else for(var ie=0;ie<d.length;ie++)c.add(d[ie]);return c}},{key:"_initSerieVariables",value:function(e,t,a){var s=this.w,r=new Y(this.ctx);this.xDivision=s.globals.gridWidth/(s.globals.dataPoints-(s.config.xaxis.tickPlacement==="on"?1:0)),this.strokeWidth=Array.isArray(s.config.stroke.width)?s.config.stroke.width[a]:s.config.stroke.width;var n=0;if(this.yRatio.length>1&&(this.yaxisIndex=s.globals.seriesYAxisReverseMap[a],n=a),this.isReversed=s.config.yaxis[this.yaxisIndex]&&s.config.yaxis[this.yaxisIndex].reversed,this.zeroY=s.globals.gridHeight-this.baseLineY[n]-(this.isReversed?s.globals.gridHeight:0)+(this.isReversed?2*this.baseLineY[n]:0),this.areaBottomY=this.zeroY,(this.zeroY>s.globals.gridHeight||s.config.plotOptions.area.fillTo==="end")&&(this.areaBottomY=s.globals.gridHeight),this.categoryAxisCorrection=this.xDivision/2,this.elSeries=r.group({class:"apexcharts-series",zIndex:s.config.series[a].zIndex!==void 0?s.config.series[a].zIndex:a,seriesName:T.escapeString(s.globals.seriesNames[a])}),this.elPointsMain=r.group({class:"apexcharts-series-markers-wrap","data:realIndex":a}),s.globals.hasNullValues){var o=this.markers.plotChartMarkers({pointsPos:{x:[0],y:[s.globals.gridHeight+s.globals.markers.largestSize]},seriesIndex:t,j:0,pSize:.1,alwaysDrawMarker:!0,isVirtualPoint:!0});o!==null&&this.elPointsMain.add(o)}this.elDataLabelsWrap=r.group({class:"apexcharts-datalabels","data:realIndex":a});var l=e[t].length===s.globals.dataPoints;this.elSeries.attr({"data:longestSeries":l,rel:t+1,"data:realIndex":a}),this.appendPathFrom=!0}},{key:"_calculatePathsFrom",value:function(e){var t,a,s,r,n=e.type,o=e.series,l=e.i,c=e.realIndex,u=e.translationsIndex,d=e.prevX,h=e.prevY,f=e.prevY2,g=this.w,p=new Y(this.ctx);if(o[l][0]===null){for(var m=0;m<o[l].length;m++)if(o[l][m]!==null){d=this.xDivision*m,h=this.zeroY-o[l][m]/this.yRatio[u],t=p.move(d,h),a=p.move(d,this.areaBottomY);break}}else t=p.move(d,h),n==="rangeArea"&&(t=p.move(d,f)+p.line(d,h)),a=p.move(d,this.areaBottomY)+p.line(d,h);if(s=p.move(0,this.areaBottomY)+p.line(0,this.areaBottomY),r=p.move(0,this.areaBottomY)+p.line(0,this.areaBottomY),g.globals.previousPaths.length>0){var b=this.lineHelpers.checkPreviousPaths({pathFromLine:s,pathFromArea:r,realIndex:c});s=b.pathFromLine,r=b.pathFromArea}return{prevX:d,prevY:h,linePath:t,areaPath:a,pathFromLine:s,pathFromArea:r}}},{key:"_handlePaths",value:function(e){var t=e.type,a=e.realIndex,s=e.i,r=e.paths,n=this.w,o=new Y(this.ctx),l=new gi(this.ctx);this.prevSeriesY.push(r.yArrj),n.globals.seriesXvalues[a]=r.xArrj,n.globals.seriesYvalues[a]=r.yArrj;var c=n.config.forecastDataPoints;if(c.count>0&&t!=="rangeArea"){var u=n.globals.seriesXvalues[a][n.globals.seriesXvalues[a].length-c.count-1],d=o.drawRect(u,0,n.globals.gridWidth,n.globals.gridHeight,0);n.globals.dom.elForecastMask.appendChild(d.node);var h=o.drawRect(0,0,u,n.globals.gridHeight,0);n.globals.dom.elNonForecastMask.appendChild(h.node)}this.pointsChart||n.globals.delayedElements.push({el:this.elPointsMain.node,index:a});var f={i:s,realIndex:a,animationDelay:s,initialSpeed:n.config.chart.animations.speed,dataChangeSpeed:n.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(t)};if(t==="area")for(var g=l.fillPath({seriesNumber:a}),p=0;p<r.areaPaths.length;p++){var m=o.renderPaths($($({},f),{},{pathFrom:r.pathFromArea,pathTo:r.areaPaths[p],stroke:"none",strokeWidth:0,strokeLineCap:null,fill:g}));this.elSeries.add(m)}if(n.config.stroke.show&&!this.pointsChart){var b=null;if(t==="line")b=l.fillPath({seriesNumber:a,i:s});else if(n.config.stroke.fill.type==="solid")b=n.globals.stroke.colors[a];else{var v=n.config.fill;n.config.fill=n.config.stroke.fill,b=l.fillPath({seriesNumber:a,i:s}),n.config.fill=v}for(var x=0;x<r.linePaths.length;x++){var k=b;t==="rangeArea"&&(k=l.fillPath({seriesNumber:a}));var y=$($({},f),{},{pathFrom:r.pathFromLine,pathTo:r.linePaths[x],stroke:b,strokeWidth:this.strokeWidth,strokeLineCap:n.config.stroke.lineCap,fill:t==="rangeArea"?k:"none"}),A=o.renderPaths(y);if(this.elSeries.add(A),A.attr("fill-rule","evenodd"),c.count>0&&t!=="rangeArea"){var w=o.renderPaths(y);w.node.setAttribute("stroke-dasharray",c.dashArray),c.strokeWidth&&w.node.setAttribute("stroke-width",c.strokeWidth),this.elSeries.add(w),w.attr("clip-path","url(#forecastMask".concat(n.globals.cuid,")")),A.attr("clip-path","url(#nonForecastMask".concat(n.globals.cuid,")"))}}}}},{key:"_iterateOverDataPoints",value:function(e){var t,a,s=this,r=e.type,n=e.series,o=e.iterations,l=e.realIndex,c=e.translationsIndex,u=e.i,d=e.x,h=e.y,f=e.pX,g=e.pY,p=e.pathsFrom,m=e.linePaths,b=e.areaPaths,v=e.seriesIndex,x=e.lineYPosition,k=e.xArrj,y=e.yArrj,A=e.y2Arrj,w=e.isRangeStart,S=e.seriesRangeEnd,C=this.w,E=new Y(this.ctx),M=this.yRatio,P=p.prevY,D=p.linePath,L=p.areaPath,B=p.pathFromLine,N=p.pathFromArea,F=T.isNumber(C.globals.minYArr[l])?C.globals.minYArr[l]:C.globals.minY;o||(o=C.globals.dataPoints>1?C.globals.dataPoints-1:C.globals.dataPoints);var H=function(G,J){return J-G/M[c]+2*(s.isReversed?G/M[c]:0)},ie=h,re=C.config.chart.stacked&&!C.globals.comboCharts||C.config.chart.stacked&&C.globals.comboCharts&&(!this.w.config.chart.stackOnlyBar||((t=this.w.config.series[l])===null||t===void 0?void 0:t.type)==="bar"||((a=this.w.config.series[l])===null||a===void 0?void 0:a.type)==="column"),ae=C.config.stroke.curve;Array.isArray(ae)&&(ae=Array.isArray(v)?ae[v[u]]:ae[u]);for(var le,Ee=0,pe=0;pe<o&&n[u].length!==0;pe++){var Re=n[u][pe+1]===void 0||n[u][pe+1]===null;if(C.globals.isXNumeric){var be=C.globals.seriesX[l][pe+1];C.globals.seriesX[l][pe+1]===void 0&&(be=C.globals.seriesX[l][o-1]),d=(be-C.globals.minX)/this.xRatio}else d+=this.xDivision;re?u>0&&C.globals.collapsedSeries.length<C.config.series.length-1?x=this.prevSeriesY[(function(G){for(var J=G;J>0;J--){if(!(C.globals.collapsedSeriesIndices.indexOf((v==null?void 0:v[J])||J)>-1))return J;J--}return 0})(u-1)][pe+1]:x=this.zeroY:x=this.zeroY,Re?h=H(F,x):(h=H(n[u][pe+1],x),r==="rangeArea"&&(ie=H(S[u][pe+1],x))),k.push(n[u][pe+1]===null?null:d),!Re||C.config.stroke.curve!=="smooth"&&C.config.stroke.curve!=="monotoneCubic"?(y.push(h),A.push(ie)):(y.push(null),A.push(null));var O=this.lineHelpers.calculatePoints({series:n,x:d,y:h,realIndex:l,i:u,j:pe,prevY:P}),X=this._createPaths({type:r,series:n,i:u,realIndex:l,j:pe,x:d,y:h,y2:ie,xArrj:k,yArrj:y,y2Arrj:A,pX:f,pY:g,pathState:Ee,segmentStartX:le,linePath:D,areaPath:L,linePaths:m,areaPaths:b,curve:ae,isRangeStart:w});b=X.areaPaths,m=X.linePaths,f=X.pX,g=X.pY,Ee=X.pathState,le=X.segmentStartX,L=X.areaPath,D=X.linePath,!this.appendPathFrom||C.globals.hasNullValues||ae==="monotoneCubic"&&r==="rangeArea"||(B+=E.line(d,this.areaBottomY),N+=E.line(d,this.areaBottomY)),this.handleNullDataPoints(n,O,u,pe,l),this._handleMarkersAndLabels({type:r,pointsPos:O,i:u,j:pe,realIndex:l,isRangeStart:w})}return{yArrj:y,xArrj:k,pathFromArea:N,areaPaths:b,pathFromLine:B,linePaths:m,linePath:D,areaPath:L}}},{key:"_handleMarkersAndLabels",value:function(e){var t=e.type,a=e.pointsPos,s=e.isRangeStart,r=e.i,n=e.j,o=e.realIndex,l=this.w,c=new Ls(this.ctx);if(this.pointsChart)this.scatter.draw(this.elSeries,n,{realIndex:o,pointsPos:a,zRatio:this.zRatio,elParent:this.elPointsMain});else{l.globals.series[r].length>1&&this.elPointsMain.node.classList.add("apexcharts-element-hidden");var u=this.markers.plotChartMarkers({pointsPos:a,seriesIndex:o,j:n+1});u!==null&&this.elPointsMain.add(u)}var d=c.drawDataLabel({type:t,isRangeStart:s,pos:a,i:o,j:n+1});d!==null&&this.elDataLabelsWrap.add(d)}},{key:"_createPaths",value:function(e){var t=e.type,a=e.series,s=e.i;e.realIndex;var r,n=e.j,o=e.x,l=e.y,c=e.xArrj,u=e.yArrj,d=e.y2,h=e.y2Arrj,f=e.pX,g=e.pY,p=e.pathState,m=e.segmentStartX,b=e.linePath,v=e.areaPath,x=e.linePaths,k=e.areaPaths,y=e.curve,A=e.isRangeStart,w=new Y(this.ctx),S=this.areaBottomY,C=t==="rangeArea",E=t==="rangeArea"&&A;switch(y){case"monotoneCubic":var M=A?u:h;switch(p){case 0:if(M[n+1]===null)break;p=1;case 1:if(!(C?c.length===a[s].length:n===a[s].length-2))break;case 2:var P=A?c:c.slice().reverse(),D=A?M:M.slice().reverse(),L=(r=D,P.map((function(be,O){return[be,r[O]]})).filter((function(be){return be[1]!==null}))),B=L.length>1?dI(L):L,N=[];C&&(E?k=L:N=k.reverse());var F=0,H=0;if((function(be,O){for(var X=(function(_){var I=[],R=0;return _.forEach((function(W){W!==null?R++:R>0&&(I.push(R),R=0)})),R>0&&I.push(R),I})(be),G=[],J=0,ge=0;J<X.length;ge+=X[J++])G[J]=hI(O,ge,ge+X[J]);return G})(D,B).forEach((function(be){F++;var O=(function(J){for(var ge="",_=0;_<J.length;_++){var I=J[_],R=I.length;R>4?(ge+="C".concat(I[0],", ").concat(I[1]),ge+=", ".concat(I[2],", ").concat(I[3]),ge+=", ".concat(I[4],", ").concat(I[5])):R>2&&(ge+="S".concat(I[0],", ").concat(I[1]),ge+=", ".concat(I[2],", ").concat(I[3]))}return ge})(be),X=H,G=(H+=be.length)-1;E?b=w.move(L[X][0],L[X][1])+O:C?b=w.move(N[X][0],N[X][1])+w.line(L[X][0],L[X][1])+O+w.line(N[G][0],N[G][1]):(b=w.move(L[X][0],L[X][1])+O,v=b+w.line(L[G][0],S)+w.line(L[X][0],S)+"z",k.push(v)),x.push(b)})),C&&F>1&&!E){var ie=x.slice(F).reverse();x.splice(F),ie.forEach((function(be){return x.push(be)}))}p=0}break;case"smooth":var re=.35*(o-f);if(a[s][n]===null)p=0;else switch(p){case 0:if(m=f,b=E?w.move(f,h[n])+w.line(f,g):w.move(f,g),v=w.move(f,g),a[s][n+1]===null||a[s][n+1]===void 0){x.push(b),k.push(v);break}if(p=1,n<a[s].length-2){var ae=w.curve(f+re,g,o-re,l,o,l);b+=ae,v+=ae;break}case 1:if(a[s][n+1]===null)b+=E?w.line(f,d):w.move(f,g),v+=w.line(f,S)+w.line(m,S)+"z",x.push(b),k.push(v),p=-1;else{var le=w.curve(f+re,g,o-re,l,o,l);b+=le,v+=le,n>=a[s].length-2&&(E&&(b+=w.curve(o,l,o,l,o,d)+w.move(o,d)),v+=w.curve(o,l,o,l,o,S)+w.line(m,S)+"z",x.push(b),k.push(v),p=-1)}}f=o,g=l;break;default:var Ee=function(be,O,X){var G=[];switch(be){case"stepline":G=w.line(O,null,"H")+w.line(null,X,"V");break;case"linestep":G=w.line(null,X,"V")+w.line(O,null,"H");break;case"straight":G=w.line(O,X)}return G};if(a[s][n]===null)p=0;else switch(p){case 0:if(m=f,b=E?w.move(f,h[n])+w.line(f,g):w.move(f,g),v=w.move(f,g),a[s][n+1]===null||a[s][n+1]===void 0){x.push(b),k.push(v);break}if(p=1,n<a[s].length-2){var pe=Ee(y,o,l);b+=pe,v+=pe;break}case 1:if(a[s][n+1]===null)b+=E?w.line(f,d):w.move(f,g),v+=w.line(f,S)+w.line(m,S)+"z",x.push(b),k.push(v),p=-1;else{var Re=Ee(y,o,l);b+=Re,v+=Re,n>=a[s].length-2&&(E&&(b+=w.line(o,d)),v+=w.line(o,S)+w.line(m,S)+"z",x.push(b),k.push(v),p=-1)}}f=o,g=l}return{linePaths:x,areaPaths:k,pX:f,pY:g,pathState:p,segmentStartX:m,linePath:b,areaPath:v}}},{key:"handleNullDataPoints",value:function(e,t,a,s,r){var n=this.w;if(e[a][s]===null&&n.config.markers.showNullDataPoints||e[a].length===1){var o=this.strokeWidth-n.config.markers.strokeWidth/2;o>0||(o=0);var l=this.markers.plotChartMarkers({pointsPos:t,seriesIndex:r,j:s+1,pSize:o,alwaysDrawMarker:!0});l!==null&&this.elPointsMain.add(l)}}}]),i})();window.TreemapSquared={},window.TreemapSquared.generate=(function(){function i(o,l,c,u){this.xoffset=o,this.yoffset=l,this.height=u,this.width=c,this.shortestEdge=function(){return Math.min(this.height,this.width)},this.getCoordinates=function(d){var h,f=[],g=this.xoffset,p=this.yoffset,m=r(d)/this.height,b=r(d)/this.width;if(this.width>=this.height)for(h=0;h<d.length;h++)f.push([g,p,g+m,p+d[h]/m]),p+=d[h]/m;else for(h=0;h<d.length;h++)f.push([g,p,g+d[h]/b,p+b]),g+=d[h]/b;return f},this.cutArea=function(d){var h;if(this.width>=this.height){var f=d/this.height,g=this.width-f;h=new i(this.xoffset+f,this.yoffset,g,this.height)}else{var p=d/this.width,m=this.height-p;h=new i(this.xoffset,this.yoffset+p,this.width,m)}return h}}function e(o,l,c,u,d){u=u===void 0?0:u,d=d===void 0?0:d;var h=t((function(f,g){var p,m=[],b=g/r(f);for(p=0;p<f.length;p++)m[p]=f[p]*b;return m})(o,l*c),[],new i(u,d,l,c),[]);return(function(f){var g,p,m=[];for(g=0;g<f.length;g++)for(p=0;p<f[g].length;p++)m.push(f[g][p]);return m})(h)}function t(o,l,c,u){var d,h,f;if(o.length!==0)return d=c.shortestEdge(),(function(g,p,m){var b;if(g.length===0)return!0;(b=g.slice()).push(p);var v=a(g,m),x=a(b,m);return v>=x})(l,h=o[0],d)?(l.push(h),t(o.slice(1),l,c,u)):(f=c.cutArea(r(l),u),u.push(c.getCoordinates(l)),t(o,[],f,u)),u;u.push(c.getCoordinates(l))}function a(o,l){var c=Math.min.apply(Math,o),u=Math.max.apply(Math,o),d=r(o);return Math.max(Math.pow(l,2)*u/Math.pow(d,2),Math.pow(d,2)/(Math.pow(l,2)*c))}function s(o){return o&&o.constructor===Array}function r(o){var l,c=0;for(l=0;l<o.length;l++)c+=o[l];return c}function n(o){var l,c=0;if(s(o[0]))for(l=0;l<o.length;l++)c+=n(o[l]);else c=r(o);return c}return function o(l,c,u,d,h){d=d===void 0?0:d,h=h===void 0?0:h;var f,g,p=[],m=[];if(s(l[0])){for(g=0;g<l.length;g++)p[g]=n(l[g]);for(f=e(p,c,u,d,h),g=0;g<l.length;g++)m.push(o(l[g],f[g][2]-f[g][0],f[g][3]-f[g][1],f[g][0],f[g][1]))}else m=e(l,c,u,d,h);return m}})();var fI=(function(){function i(e,t){ee(this,i),this.ctx=e,this.w=e.w,this.strokeWidth=this.w.config.stroke.width,this.helpers=new Dx(e),this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.labels=[]}return te(i,[{key:"draw",value:function(e){var t=this,a=this.w,s=new Y(this.ctx),r=new gi(this.ctx),n=s.group({class:"apexcharts-treemap"});if(a.globals.noData)return n;var o=[];return e.forEach((function(l){var c=l.map((function(u){return Math.abs(u)}));o.push(c)})),this.negRange=this.helpers.checkColorRange(),a.config.series.forEach((function(l,c){l.data.forEach((function(u){Array.isArray(t.labels[c])||(t.labels[c]=[]),t.labels[c].push(u.x)}))})),window.TreemapSquared.generate(o,a.globals.gridWidth,a.globals.gridHeight).forEach((function(l,c){var u=s.group({class:"apexcharts-series apexcharts-treemap-series",seriesName:T.escapeString(a.globals.seriesNames[c]),rel:c+1,"data:realIndex":c});if(a.config.chart.dropShadow.enabled){var d=a.config.chart.dropShadow;new bt(t.ctx).dropShadow(n,d,c)}var h=s.group({class:"apexcharts-data-labels"}),f={xMin:1/0,yMin:1/0,xMax:-1/0,yMax:-1/0};l.forEach((function(B,N){var F=B[0],H=B[1],ie=B[2],re=B[3];f.xMin=Math.min(f.xMin,F),f.yMin=Math.min(f.yMin,H),f.xMax=Math.max(f.xMax,ie),f.yMax=Math.max(f.yMax,re);var ae=t.helpers.getShadeColor(a.config.chart.type,c,N,t.negRange),le=ae.color,Ee=r.fillPath({color:le,seriesNumber:c,dataPointIndex:N}),pe=s.drawRect(F,H,ie-F,re-H,a.config.plotOptions.treemap.borderRadius,"#fff",1,t.strokeWidth,a.config.plotOptions.treemap.useFillColorAsStroke?le:a.globals.stroke.colors[c]);pe.attr({cx:F,cy:H,index:c,i:c,j:N,width:ie-F,height:re-H,fill:Ee}),pe.node.classList.add("apexcharts-treemap-rect"),t.helpers.addListeners(pe);var Re={x:F+(ie-F)/2,y:H+(re-H)/2,width:0,height:0},be={x:F,y:H,width:ie-F,height:re-H};if(a.config.chart.animations.enabled&&!a.globals.dataChanged){var O=1;a.globals.resized||(O=a.config.chart.animations.speed),t.animateTreemap(pe,Re,be,O)}if(a.globals.dataChanged){var X=1;t.dynamicAnim.enabled&&a.globals.shouldAnimate&&(X=t.dynamicAnim.speed,a.globals.previousPaths[c]&&a.globals.previousPaths[c][N]&&a.globals.previousPaths[c][N].rect&&(Re=a.globals.previousPaths[c][N].rect),t.animateTreemap(pe,Re,be,X))}var G=t.getFontSize(B),J=a.config.dataLabels.formatter(t.labels[c][N],{value:a.globals.series[c][N],seriesIndex:c,dataPointIndex:N,w:a});a.config.plotOptions.treemap.dataLabels.format==="truncate"&&(G=parseInt(a.config.dataLabels.style.fontSize,10),J=t.truncateLabels(J,G,F,H,ie,re));var ge=null;a.globals.series[c][N]&&(ge=t.helpers.calculateDataLabels({text:J,x:(F+ie)/2,y:(H+re)/2+t.strokeWidth/2+G/3,i:c,j:N,colorProps:ae,fontSize:G,series:e})),a.config.dataLabels.enabled&&ge&&t.rotateToFitLabel(ge,G,J,F,H,ie,re),u.add(pe),ge!==null&&u.add(ge)}));var g=a.config.plotOptions.treemap.seriesTitle;if(a.config.series.length>1&&g&&g.show){var p=a.config.series[c].name||"";if(p&&f.xMin<1/0&&f.yMin<1/0){var m=g.offsetX,b=g.offsetY,v=g.borderColor,x=g.borderWidth,k=g.borderRadius,y=g.style,A=y.color||a.config.chart.foreColor,w={left:y.padding.left,right:y.padding.right,top:y.padding.top,bottom:y.padding.bottom},S=s.getTextRects(p,y.fontSize,y.fontFamily),C=S.width+w.left+w.right,E=S.height+w.top+w.bottom,M=f.xMin+(m||0),P=f.yMin+(b||0),D=s.drawRect(M,P,C,E,k,y.background,1,x,v),L=s.drawText({x:M+w.left,y:P+w.top+.75*S.height,text:p,fontSize:y.fontSize,fontFamily:y.fontFamily,fontWeight:y.fontWeight,foreColor:A,cssClass:y.cssClass||""});u.add(D),u.add(L)}}u.add(h),n.add(u)})),n}},{key:"getFontSize",value:function(e){var t=this.w,a=(function s(r){var n,o=0;if(Array.isArray(r[0]))for(n=0;n<r.length;n++)o+=s(r[n]);else for(n=0;n<r.length;n++)o+=r[n].length;return o})(this.labels)/(function s(r){var n,o=0;if(Array.isArray(r[0]))for(n=0;n<r.length;n++)o+=s(r[n]);else for(n=0;n<r.length;n++)o+=1;return o})(this.labels);return(function(s,r){var n=s*r,o=Math.pow(n,.5);return Math.min(o/a,parseInt(t.config.dataLabels.style.fontSize,10))})(e[2]-e[0],e[3]-e[1])}},{key:"rotateToFitLabel",value:function(e,t,a,s,r,n,o){var l=new Y(this.ctx),c=l.getTextRects(a,t);if(c.width+this.w.config.stroke.width+5>n-s&&c.width<=o-r){var u=l.rotateAroundCenter(e.node);e.node.setAttribute("transform","rotate(-90 ".concat(u.x," ").concat(u.y,") translate(").concat(c.height/3,")"))}}},{key:"truncateLabels",value:function(e,t,a,s,r,n){var o=new Y(this.ctx),l=o.getTextRects(e,t).width+this.w.config.stroke.width+5>r-a&&n-s>r-a?n-s:r-a,c=o.getTextBasedOnMaxWidth({text:e,maxWidth:l,fontSize:t});return e.length!==c.length&&l/t<5?"":c}},{key:"animateTreemap",value:function(e,t,a,s){var r=new js(this.ctx);r.animateRect(e,t,a,s,(function(){r.animationCompleted(e)}))}}]),i})(),Nx=86400,gI=10/Nx,pI=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.timeScaleArray=[],this.utc=this.w.config.xaxis.labels.datetimeUTC}return te(i,[{key:"calculateTimeScaleTicks",value:function(e,t){var a=this,s=this.w;if(s.globals.allSeriesCollapsed)return s.globals.labels=[],s.globals.timescaleLabels=[],[];var r=new pt(this.ctx),n=(t-e)/864e5;this.determineInterval(n),s.globals.disableZoomIn=!1,s.globals.disableZoomOut=!1,n<gI?s.globals.disableZoomIn=!0:n>5e4&&(s.globals.disableZoomOut=!0);var o=r.getTimeUnitsfromTimestamp(e,t,this.utc),l=s.globals.gridWidth/n,c=l/24,u=c/60,d=u/60,h=Math.floor(24*n),f=Math.floor(1440*n),g=Math.floor(n*Nx),p=Math.floor(n),m=Math.floor(n/30),b=Math.floor(n/365),v={minMillisecond:o.minMillisecond,minSecond:o.minSecond,minMinute:o.minMinute,minHour:o.minHour,minDate:o.minDate,minMonth:o.minMonth,minYear:o.minYear},x={firstVal:v,currentMillisecond:v.minMillisecond,currentSecond:v.minSecond,currentMinute:v.minMinute,currentHour:v.minHour,currentMonthDate:v.minDate,currentDate:v.minDate,currentMonth:v.minMonth,currentYear:v.minYear,daysWidthOnXAxis:l,hoursWidthOnXAxis:c,minutesWidthOnXAxis:u,secondsWidthOnXAxis:d,numberOfSeconds:g,numberOfMinutes:f,numberOfHours:h,numberOfDays:p,numberOfMonths:m,numberOfYears:b};switch(this.tickInterval){case"years":this.generateYearScale(x);break;case"months":case"half_year":this.generateMonthScale(x);break;case"months_days":case"months_fortnight":case"days":case"week_days":this.generateDayScale(x);break;case"hours":this.generateHourScale(x);break;case"minutes_fives":case"minutes":this.generateMinuteScale(x);break;case"seconds_tens":case"seconds_fives":case"seconds":this.generateSecondScale(x)}var k=this.timeScaleArray.map((function(y){var A={position:y.position,unit:y.unit,year:y.year,day:y.day?y.day:1,hour:y.hour?y.hour:0,month:y.month+1};return y.unit==="month"?$($({},A),{},{day:1,value:y.value+1}):y.unit==="day"||y.unit==="hour"?$($({},A),{},{value:y.value}):y.unit==="minute"?$($({},A),{},{value:y.value,minute:y.value}):y.unit==="second"?$($({},A),{},{value:y.value,minute:y.minute,second:y.second}):y}));return k.filter((function(y){var A=1,w=Math.ceil(s.globals.gridWidth/120),S=y.value;s.config.xaxis.tickAmount!==void 0&&(w=s.config.xaxis.tickAmount),k.length>w&&(A=Math.floor(k.length/w));var C=!1,E=!1;switch(a.tickInterval){case"years":y.unit==="year"&&(C=!0);break;case"half_year":A=7,y.unit==="year"&&(C=!0);break;case"months":A=1,y.unit==="year"&&(C=!0);break;case"months_fortnight":A=15,y.unit!=="year"&&y.unit!=="month"||(C=!0),S===30&&(E=!0);break;case"months_days":A=10,y.unit==="month"&&(C=!0),S===30&&(E=!0);break;case"week_days":A=8,y.unit==="month"&&(C=!0);break;case"days":A=1,y.unit==="month"&&(C=!0);break;case"hours":y.unit==="day"&&(C=!0);break;case"minutes_fives":case"seconds_fives":S%5!=0&&(E=!0);break;case"seconds_tens":S%10!=0&&(E=!0)}if(a.tickInterval==="hours"||a.tickInterval==="minutes_fives"||a.tickInterval==="seconds_tens"||a.tickInterval==="seconds_fives"){if(!E)return!0}else if((S%A==0||C)&&!E)return!0}))}},{key:"recalcDimensionsBasedOnFormat",value:function(e,t){var a=this.w,s=this.formatDates(e),r=this.removeOverlappingTS(s);a.globals.timescaleLabels=r.slice(),new yo(this.ctx).plotCoords()}},{key:"determineInterval",value:function(e){var t=24*e,a=60*t;switch(!0){case e/365>5:this.tickInterval="years";break;case e>800:this.tickInterval="half_year";break;case e>180:this.tickInterval="months";break;case e>90:this.tickInterval="months_fortnight";break;case e>60:this.tickInterval="months_days";break;case e>30:this.tickInterval="week_days";break;case e>2:this.tickInterval="days";break;case t>2.4:this.tickInterval="hours";break;case a>15:this.tickInterval="minutes_fives";break;case a>5:this.tickInterval="minutes";break;case a>1:this.tickInterval="seconds_tens";break;case 60*a>20:this.tickInterval="seconds_fives";break;default:this.tickInterval="seconds"}}},{key:"generateYearScale",value:function(e){var t=e.firstVal,a=e.currentMonth,s=e.currentYear,r=e.daysWidthOnXAxis,n=e.numberOfYears,o=t.minYear,l=0,c=new pt(this.ctx),u="year";if(t.minDate>1||t.minMonth>0){var d=c.determineRemainingDaysOfYear(t.minYear,t.minMonth,t.minDate);l=(c.determineDaysOfYear(t.minYear)-d+1)*r,o=t.minYear+1,this.timeScaleArray.push({position:l,value:o,unit:u,year:o,month:T.monthMod(a+1)})}else t.minDate===1&&t.minMonth===0&&this.timeScaleArray.push({position:l,value:o,unit:u,year:s,month:T.monthMod(a+1)});for(var h=o,f=l,g=0;g<n;g++)h++,f=c.determineDaysOfYear(h-1)*r+f,this.timeScaleArray.push({position:f,value:h,unit:u,year:h,month:1})}},{key:"generateMonthScale",value:function(e){var t=e.firstVal,a=e.currentMonthDate,s=e.currentMonth,r=e.currentYear,n=e.daysWidthOnXAxis,o=e.numberOfMonths,l=s,c=0,u=new pt(this.ctx),d="month",h=0;if(t.minDate>1){c=(u.determineDaysOfMonths(s+1,t.minYear)-a+1)*n,l=T.monthMod(s+1);var f=r+h,g=T.monthMod(l),p=l;l===0&&(d="year",p=f,g=1,f+=h+=1),this.timeScaleArray.push({position:c,value:p,unit:d,year:f,month:g})}else this.timeScaleArray.push({position:c,value:l,unit:d,year:r,month:T.monthMod(s)});for(var m=l+1,b=c,v=0,x=1;v<o;v++,x++){(m=T.monthMod(m))===0?(d="year",h+=1):d="month";var k=this._getYear(r,m,h);b=u.determineDaysOfMonths(m,k)*n+b;var y=m===0?k:m;this.timeScaleArray.push({position:b,value:y,unit:d,year:k,month:m===0?1:m}),m++}}},{key:"generateDayScale",value:function(e){var t=e.firstVal,a=e.currentMonth,s=e.currentYear,r=e.hoursWidthOnXAxis,n=e.numberOfDays,o=new pt(this.ctx),l="day",c=t.minDate+1,u=c,d=function(x,k,y){return x>o.determineDaysOfMonths(k+1,y)&&(u=1,l="month",f=k+=1),k},h=(24-t.minHour)*r,f=c,g=d(u,a,s);t.minHour===0&&t.minDate===1?(h=0,f=T.monthMod(t.minMonth),l="month",u=t.minDate):t.minDate!==1&&t.minHour===0&&t.minMinute===0&&(h=0,c=t.minDate,f=c,g=d(u=c,a,s),f!==1&&(l="day")),this.timeScaleArray.push({position:h,value:f,unit:l,year:this._getYear(s,g,0),month:T.monthMod(g),day:u});for(var p=h,m=0;m<n;m++){l="day",g=d(u+=1,g,this._getYear(s,g,0));var b=this._getYear(s,g,0);p=24*r+p;var v=u===1?T.monthMod(g):u;this.timeScaleArray.push({position:p,value:v,unit:l,year:b,month:T.monthMod(g),day:v})}}},{key:"generateHourScale",value:function(e){var t=e.firstVal,a=e.currentDate,s=e.currentMonth,r=e.currentYear,n=e.minutesWidthOnXAxis,o=e.numberOfHours,l=new pt(this.ctx),c="hour",u=function(A,w){return A>l.determineDaysOfMonths(w+1,r)&&(m=1,w+=1),{month:w,date:m}},d=function(A,w){return A>l.determineDaysOfMonths(w+1,r)?w+=1:w},h=60-(t.minMinute+t.minSecond/60),f=h*n,g=t.minHour+1,p=g;h===60&&(f=0,p=g=t.minHour);var m=a;p>=24&&(p=0,c="day",g=m+=1);var b=u(m,s).month;b=d(m,b),g>31&&(g=m=1),this.timeScaleArray.push({position:f,value:g,unit:c,day:m,hour:p,year:r,month:T.monthMod(b)}),p++;for(var v=f,x=0;x<o;x++){c="hour",p>=24&&(p=0,c="day",b=u(m+=1,b).month,b=d(m,b));var k=this._getYear(r,b,0);v=60*n+v;var y=p===0?m:p;this.timeScaleArray.push({position:v,value:y,unit:c,hour:p,day:m,year:k,month:T.monthMod(b)}),p++}}},{key:"generateMinuteScale",value:function(e){for(var t=e.currentMillisecond,a=e.currentSecond,s=e.currentMinute,r=e.currentHour,n=e.currentDate,o=e.currentMonth,l=e.currentYear,c=e.minutesWidthOnXAxis,u=e.secondsWidthOnXAxis,d=e.numberOfMinutes,h=s+1,f=n,g=o,p=l,m=r,b=(60-a-t/1e3)*u,v=0;v<d;v++)h>=60&&(h=0,(m+=1)===24&&(m=0)),this.timeScaleArray.push({position:b,value:h,unit:"minute",hour:m,minute:h,day:f,year:this._getYear(p,g,0),month:T.monthMod(g)}),b+=c,h++}},{key:"generateSecondScale",value:function(e){for(var t=e.currentMillisecond,a=e.currentSecond,s=e.currentMinute,r=e.currentHour,n=e.currentDate,o=e.currentMonth,l=e.currentYear,c=e.secondsWidthOnXAxis,u=e.numberOfSeconds,d=a+1,h=s,f=n,g=o,p=l,m=r,b=(1e3-t)/1e3*c,v=0;v<u;v++)d>=60&&(d=0,++h>=60&&(h=0,++m===24&&(m=0))),this.timeScaleArray.push({position:b,value:d,unit:"second",hour:m,minute:h,second:d,day:f,year:this._getYear(p,g,0),month:T.monthMod(g)}),b+=c,d++}},{key:"createRawDateString",value:function(e,t){var a=e.year;return e.month===0&&(e.month=1),a+="-"+("0"+e.month.toString()).slice(-2),e.unit==="day"?a+=e.unit==="day"?"-"+("0"+t).slice(-2):"-01":a+="-"+("0"+(e.day?e.day:"1")).slice(-2),e.unit==="hour"?a+=e.unit==="hour"?"T"+("0"+t).slice(-2):"T00":a+="T"+("0"+(e.hour?e.hour:"0")).slice(-2),e.unit==="minute"?a+=":"+("0"+t).slice(-2):a+=":"+(e.minute?("0"+e.minute).slice(-2):"00"),e.unit==="second"?a+=":"+("0"+t).slice(-2):a+=":00",this.utc&&(a+=".000Z"),a}},{key:"formatDates",value:function(e){var t=this,a=this.w;return e.map((function(s){var r=s.value.toString(),n=new pt(t.ctx),o=t.createRawDateString(s,r),l=n.getDate(n.parseDate(o));if(t.utc||(l=n.getDate(n.parseDateWithTimezone(o))),a.config.xaxis.labels.format===void 0){var c="dd MMM",u=a.config.xaxis.labels.datetimeFormatter;s.unit==="year"&&(c=u.year),s.unit==="month"&&(c=u.month),s.unit==="day"&&(c=u.day),s.unit==="hour"&&(c=u.hour),s.unit==="minute"&&(c=u.minute),s.unit==="second"&&(c=u.second),r=n.formatDate(l,c)}else r=n.formatDate(l,a.config.xaxis.labels.format);return{dateString:o,position:s.position,value:r,unit:s.unit,year:s.year,month:s.month}}))}},{key:"removeOverlappingTS",value:function(e){var t,a=this,s=new Y(this.ctx),r=!1;e.length>0&&e[0].value&&e.every((function(l){return l.value.length===e[0].value.length}))&&(r=!0,t=s.getTextRects(e[0].value).width);var n=0,o=e.map((function(l,c){if(c>0&&a.w.config.xaxis.labels.hideOverlappingLabels){var u=r?t:s.getTextRects(e[n].value).width,d=e[n].position;return l.position>d+u+10?(n=c,l):null}return l}));return o=o.filter((function(l){return l!==null}))}},{key:"_getYear",value:function(e,t,a){return e+Math.floor(t/12)+a}}]),i})(),mI=(function(){function i(e,t){ee(this,i),this.ctx=t,this.w=t.w,this.el=e}return te(i,[{key:"setupElements",value:function(){var e=this.w,t=e.globals,a=e.config,s=a.chart.type;t.axisCharts=["line","area","bar","rangeBar","rangeArea","candlestick","boxPlot","scatter","bubble","radar","heatmap","treemap"].includes(s),t.xyCharts=["line","area","bar","rangeBar","rangeArea","candlestick","boxPlot","scatter","bubble"].includes(s),t.isBarHorizontal=["bar","rangeBar","boxPlot"].includes(s)&&a.plotOptions.bar.horizontal,t.chartClass=".apexcharts".concat(t.chartID),t.dom.baseEl=this.el,t.dom.elWrap=document.createElement("div"),Y.setAttrs(t.dom.elWrap,{id:t.chartClass.substring(1),class:"apexcharts-canvas ".concat(t.chartClass.substring(1))}),this.el.appendChild(t.dom.elWrap),t.dom.Paper=window.SVG().addTo(t.dom.elWrap),t.dom.Paper.attr({class:"apexcharts-svg","xmlns:data":"ApexChartsNS",transform:"translate(".concat(a.chart.offsetX,", ").concat(a.chart.offsetY,")")}),t.dom.Paper.node.style.background=a.theme.mode!=="dark"||a.chart.background?a.theme.mode!=="light"||a.chart.background?a.chart.background:"#fff":"#343A3F",this.setSVGDimensions(),t.dom.elLegendForeign=document.createElementNS(t.SVGNS,"foreignObject"),Y.setAttrs(t.dom.elLegendForeign,{x:0,y:0,width:t.svgWidth,height:t.svgHeight}),t.dom.elLegendWrap=document.createElement("div"),t.dom.elLegendWrap.classList.add("apexcharts-legend"),t.dom.elWrap.appendChild(t.dom.elLegendWrap),t.dom.Paper.node.appendChild(t.dom.elLegendForeign),t.dom.elGraphical=t.dom.Paper.group().attr({class:"apexcharts-inner apexcharts-graphical"}),t.dom.elDefs=t.dom.Paper.defs(),t.dom.Paper.add(t.dom.elGraphical),t.dom.elGraphical.add(t.dom.elDefs)}},{key:"plotChartType",value:function(e,t){var a=this.w,s=this.ctx,r=a.config,n=a.globals,o={line:{series:[],i:[]},area:{series:[],i:[]},scatter:{series:[],i:[]},bubble:{series:[],i:[]},bar:{series:[],i:[]},candlestick:{series:[],i:[]},boxPlot:{series:[],i:[]},rangeBar:{series:[],i:[]},rangeArea:{series:[],seriesRangeEnd:[],i:[]}},l=r.chart.type||"line",c=null,u=0;n.series.forEach((function(A,w){var S,C,E=((S=e[w])===null||S===void 0?void 0:S.type)==="column"?"bar":((C=e[w])===null||C===void 0?void 0:C.type)||(l==="column"?"bar":l);o[E]?(E==="rangeArea"?(o[E].series.push(n.seriesRangeStart[w]),o[E].seriesRangeEnd.push(n.seriesRangeEnd[w])):o[E].series.push(A),o[E].i.push(w),E==="bar"&&(a.globals.columnSeries=o.bar)):["heatmap","treemap","pie","donut","polarArea","radialBar","radar"].includes(E)?c=E:console.warn("You have specified an unrecognized series type (".concat(E,").")),l!==E&&E!=="scatter"&&u++})),u>0&&(c&&console.warn("Chart or series type ".concat(c," cannot appear with other chart or series types.")),o.bar.series.length>0&&r.plotOptions.bar.horizontal&&(u-=o.bar.series.length,o.bar={series:[],i:[]},a.globals.columnSeries={series:[],i:[]},console.warn("Horizontal bars are not supported in a mixed/combo chart. Please turn off `plotOptions.bar.horizontal`"))),n.comboCharts||(n.comboCharts=u>0);var d=new ic(s,t),h=new ec(s,t);s.pie=new Rx(s);var f=new oI(s);s.rangeBar=new lI(s,t);var g=new nI(s),p=[];if(n.comboCharts){var m,b,v=new rt(s);if(o.area.series.length>0&&(m=p).push.apply(m,ft(v.drawSeriesByGroup(o.area,n.areaGroups,"area",d))),o.bar.series.length>0)if(r.chart.stacked){var x=new Dg(s,t);p.push(x.draw(o.bar.series,o.bar.i))}else s.bar=new Rs(s,t),p.push(s.bar.draw(o.bar.series,o.bar.i));if(o.rangeArea.series.length>0&&p.push(d.draw(o.rangeArea.series,"rangeArea",o.rangeArea.i,o.rangeArea.seriesRangeEnd)),o.line.series.length>0&&(b=p).push.apply(b,ft(v.drawSeriesByGroup(o.line,n.lineGroups,"line",d))),o.candlestick.series.length>0&&p.push(h.draw(o.candlestick.series,"candlestick",o.candlestick.i)),o.boxPlot.series.length>0&&p.push(h.draw(o.boxPlot.series,"boxPlot",o.boxPlot.i)),o.rangeBar.series.length>0&&p.push(s.rangeBar.draw(o.rangeBar.series,o.rangeBar.i)),o.scatter.series.length>0){var k=new ic(s,t,!0);p.push(k.draw(o.scatter.series,"scatter",o.scatter.i))}if(o.bubble.series.length>0){var y=new ic(s,t,!0);p.push(y.draw(o.bubble.series,"bubble",o.bubble.i))}}else switch(r.chart.type){case"line":p=d.draw(n.series,"line");break;case"area":p=d.draw(n.series,"area");break;case"bar":r.chart.stacked?p=new Dg(s,t).draw(n.series):(s.bar=new Rs(s,t),p=s.bar.draw(n.series));break;case"candlestick":p=new ec(s,t).draw(n.series,"candlestick");break;case"boxPlot":p=new ec(s,t).draw(n.series,r.chart.type);break;case"rangeBar":p=s.rangeBar.draw(n.series);break;case"rangeArea":p=d.draw(n.seriesRangeStart,"rangeArea",void 0,n.seriesRangeEnd);break;case"heatmap":p=new rI(s,t).draw(n.series);break;case"treemap":p=new fI(s,t).draw(n.series);break;case"pie":case"donut":case"polarArea":p=s.pie.draw(n.series);break;case"radialBar":p=f.draw(n.series);break;case"radar":p=g.draw(n.series);break;default:p=d.draw(n.series)}return p}},{key:"setSVGDimensions",value:function(){var e=this.w,t=e.globals,a=e.config;a.chart.width=a.chart.width||"100%",a.chart.height=a.chart.height||"auto",t.svgWidth=a.chart.width,t.svgHeight=a.chart.height;var s=T.getDimensions(this.el),r=a.chart.width.toString().split(/[0-9]+/g).pop();r==="%"?T.isNumber(s[0])&&(s[0].width===0&&(s=T.getDimensions(this.el.parentNode)),t.svgWidth=s[0]*parseInt(a.chart.width,10)/100):r!=="px"&&r!==""||(t.svgWidth=parseInt(a.chart.width,10));var n=String(a.chart.height).toString().split(/[0-9]+/g).pop();if(t.svgHeight!=="auto"&&t.svgHeight!=="")if(n==="%"){var o=T.getDimensions(this.el.parentNode);t.svgHeight=o[1]*parseInt(a.chart.height,10)/100}else t.svgHeight=parseInt(a.chart.height,10);else t.svgHeight=t.axisCharts?t.svgWidth/1.61:t.svgWidth/1.2;if(t.svgWidth=Math.max(t.svgWidth,0),t.svgHeight=Math.max(t.svgHeight,0),Y.setAttrs(t.dom.Paper.node,{width:t.svgWidth,height:t.svgHeight}),n!=="%"){var l=a.chart.sparkline.enabled?0:t.axisCharts?a.chart.parentHeightOffset:0;t.dom.Paper.node.parentNode.parentNode.style.minHeight="".concat(t.svgHeight+l,"px")}t.dom.elWrap.style.width="".concat(t.svgWidth,"px"),t.dom.elWrap.style.height="".concat(t.svgHeight,"px")}},{key:"shiftGraphPosition",value:function(){var e=this.w.globals,t=e.translateY,a=e.translateX;Y.setAttrs(e.dom.elGraphical.node,{transform:"translate(".concat(a,", ").concat(t,")")})}},{key:"resizeNonAxisCharts",value:function(){var e=this.w,t=e.globals,a=0,s=e.config.chart.sparkline.enabled?1:15;s+=e.config.grid.padding.bottom,["top","bottom"].includes(e.config.legend.position)&&e.config.legend.show&&!e.config.legend.floating&&(a=new Px(this.ctx).legendHelpers.getLegendDimensions().clwh+7);var r=e.globals.dom.baseEl.querySelector(".apexcharts-radialbar, .apexcharts-pie"),n=2.05*e.globals.radialSize;if(r&&!e.config.chart.sparkline.enabled&&e.config.plotOptions.radialBar.startAngle!==0){var o=T.getBoundingClientRect(r);n=o.bottom;var l=o.bottom-o.top;n=Math.max(2.05*e.globals.radialSize,l)}var c=Math.ceil(n+t.translateY+a+s);t.dom.elLegendForeign&&t.dom.elLegendForeign.setAttribute("height",c),e.config.chart.height&&String(e.config.chart.height).includes("%")||(t.dom.elWrap.style.height="".concat(c,"px"),Y.setAttrs(t.dom.Paper.node,{height:c}),t.dom.Paper.node.parentNode.parentNode.style.minHeight="".concat(c,"px"))}},{key:"coreCalculations",value:function(){new gu(this.ctx).init()}},{key:"resetGlobals",value:function(){var e=this,t=function(){return e.w.config.series.map((function(){return[]}))},a=new Ax,s=this.w.globals,r={dataWasParsed:s.dataWasParsed,originalSeries:s.originalSeries};a.initGlobalVars(s),s.seriesXvalues=t(),s.seriesYvalues=t(),r.dataWasParsed&&(s.dataWasParsed=r.dataWasParsed,s.originalSeries=r.originalSeries)}},{key:"isMultipleY",value:function(){return!!(Array.isArray(this.w.config.yaxis)&&this.w.config.yaxis.length>1)&&(this.w.globals.isMultipleYAxis=!0,!0)}},{key:"xySettings",value:function(){var e=this.w,t=null;if(e.globals.axisCharts){if(e.config.xaxis.crosshairs.position==="back"&&new pu(this.ctx).drawXCrosshairs(),e.config.yaxis[0].crosshairs.position==="back"&&new pu(this.ctx).drawYCrosshairs(),e.config.xaxis.type==="datetime"&&e.config.xaxis.labels.formatter===void 0){this.ctx.timeScale=new pI(this.ctx);var a=[];isFinite(e.globals.minX)&&isFinite(e.globals.maxX)&&!e.globals.isBarHorizontal?a=this.ctx.timeScale.calculateTimeScaleTicks(e.globals.minX,e.globals.maxX):e.globals.isBarHorizontal&&(a=this.ctx.timeScale.calculateTimeScaleTicks(e.globals.minY,e.globals.maxY)),this.ctx.timeScale.recalcDimensionsBasedOnFormat(a)}t=new rt(this.ctx).getCalculatedRatios()}return t}},{key:"updateSourceChart",value:function(e){this.ctx.w.globals.selection=void 0,this.ctx.updateHelpers._updateOptions({chart:{selection:{xaxis:{min:e.w.globals.minX,max:e.w.globals.maxX}}}},!1,!1)}},{key:"setupBrushHandler",value:function(){var e=this,t=this.ctx,a=this.w;if(a.config.chart.brush.enabled&&typeof a.config.chart.events.selection!="function"){var s=Array.isArray(a.config.chart.brush.targets)?a.config.chart.brush.targets:[a.config.chart.brush.target];s.forEach((function(r){var n=t.constructor.getChartByID(r);n.w.globals.brushSource=e.ctx,typeof n.w.config.chart.events.zoomed!="function"&&(n.w.config.chart.events.zoomed=function(){return e.updateSourceChart(n)}),typeof n.w.config.chart.events.scrolled!="function"&&(n.w.config.chart.events.scrolled=function(){return e.updateSourceChart(n)})})),a.config.chart.events.selection=function(r,n){s.forEach((function(o){t.constructor.getChartByID(o).ctx.updateHelpers._updateOptions({xaxis:{min:n.xaxis.min,max:n.xaxis.max}},!1,!1,!1,!1)}))}}}}]),i})(),bI=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"_updateOptions",value:function(e){var t=this,a=arguments.length>1&&arguments[1]!==void 0&&arguments[1],s=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],r=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],n=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return new Promise((function(o){var l=[t.ctx];r&&(l=t.ctx.getSyncedCharts()),t.ctx.w.globals.isExecCalled&&(l=[t.ctx],t.ctx.w.globals.isExecCalled=!1),l.forEach((function(c,u){var d=c.w;if(d.globals.shouldAnimate=s,a||(d.globals.resized=!0,d.globals.dataChanged=!0,s&&c.series.getPreviousPaths()),e&&Tt(e)==="object"&&(c.config=new Fr(e),e=rt.extendArrayProps(c.config,e,d),c.w.globals.chartID!==t.ctx.w.globals.chartID&&delete e.series,d.config=T.extend(d.config,e),n&&(d.globals.lastXAxis=e.xaxis?T.clone(e.xaxis):[],d.globals.lastYAxis=e.yaxis?T.clone(e.yaxis):[],d.globals.initialConfig=T.extend({},d.config),d.globals.initialSeries=T.clone(d.config.series),e.series))){for(var h=0;h<d.globals.collapsedSeriesIndices.length;h++){var f=d.config.series[d.globals.collapsedSeriesIndices[h]];d.globals.collapsedSeries[h].data=d.globals.axisCharts?f.data.slice():f}for(var g=0;g<d.globals.ancillaryCollapsedSeriesIndices.length;g++){var p=d.config.series[d.globals.ancillaryCollapsedSeriesIndices[g]];d.globals.ancillaryCollapsedSeries[g].data=d.globals.axisCharts?p.data.slice():p}c.series.emptyCollapsedSeries(d.config.series)}return c.update(e).then((function(){u===l.length-1&&o(c)}))}))}))}},{key:"_updateSeries",value:function(e,t){var a=this,s=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return new Promise((function(r){var n=a.w;return n.globals.shouldAnimate=t,n.globals.dataChanged=!0,t&&a.ctx.series.getPreviousPaths(),a.ctx.data.resetParsingFlags(),a.ctx.data.parseData(e),s&&(n.globals.initialConfig.series=T.clone(n.config.series),n.globals.initialSeries=T.clone(n.config.series)),a.ctx.update().then((function(){r(a.ctx)}))}))}},{key:"_extendSeries",value:function(e,t){var a=this.w,s=a.config.series[t];return $($({},a.config.series[t]),{},{name:e.name?e.name:s==null?void 0:s.name,color:e.color?e.color:s==null?void 0:s.color,type:e.type?e.type:s==null?void 0:s.type,group:e.group?e.group:s==null?void 0:s.group,hidden:e.hidden!==void 0?e.hidden:s==null?void 0:s.hidden,data:e.data?e.data:s==null?void 0:s.data,zIndex:e.zIndex!==void 0?e.zIndex:t})}},{key:"toggleDataPointSelection",value:function(e,t){var a=this.w,s=null,r=".apexcharts-series[data\\:realIndex='".concat(e,"']");return a.globals.axisCharts?s=a.globals.dom.Paper.findOne("".concat(r," path[j='").concat(t,"'], ").concat(r," circle[j='").concat(t,"'], ").concat(r," rect[j='").concat(t,"']")):t===void 0&&(s=a.globals.dom.Paper.findOne("".concat(r," path[j='").concat(e,"']")),a.config.chart.type!=="pie"&&a.config.chart.type!=="polarArea"&&a.config.chart.type!=="donut"||this.ctx.pie.pieClicked(e)),s?(new Y(this.ctx).pathMouseDown(s,null),s.node?s.node:null):(console.warn("toggleDataPointSelection: Element not found"),null)}},{key:"forceXAxisUpdate",value:function(e){var t=this.w;if(["min","max"].forEach((function(s){e.xaxis[s]!==void 0&&(t.config.xaxis[s]=e.xaxis[s],t.globals.lastXAxis[s]=e.xaxis[s])})),e.xaxis.categories&&e.xaxis.categories.length&&(t.config.xaxis.categories=e.xaxis.categories),t.config.xaxis.convertedCatToNumeric){var a=new Or(e);e=a.convertCatToNumericXaxis(e,this.ctx)}return e}},{key:"forceYAxisUpdate",value:function(e){return e.chart&&e.chart.stacked&&e.chart.stackType==="100%"&&(Array.isArray(e.yaxis)?e.yaxis.forEach((function(t,a){e.yaxis[a].min=0,e.yaxis[a].max=100})):(e.yaxis.min=0,e.yaxis.max=100)),e}},{key:"revertDefaultAxisMinMax",value:function(e){var t=this,a=this.w,s=a.globals.lastXAxis,r=a.globals.lastYAxis;e&&e.xaxis&&(s=e.xaxis),e&&e.yaxis&&(r=e.yaxis),a.config.xaxis.min=s.min,a.config.xaxis.max=s.max;var n=function(o){r[o]!==void 0&&(a.config.yaxis[o].min=r[o].min,a.config.yaxis[o].max=r[o].max)};a.config.yaxis.map((function(o,l){a.globals.zoomed||r[l]!==void 0?n(l):t.ctx.opts.yaxis[l]!==void 0&&(o.min=t.ctx.opts.yaxis[l].min,o.max=t.ctx.opts.yaxis[l].max)}))}}]),i})();(function(){function i(){for(var r=arguments.length>0&&arguments[0]!==d?arguments[0]:[],n=arguments.length>1?arguments[1]:d,o=arguments.length>2?arguments[2]:d,l=arguments.length>3?arguments[3]:d,c=arguments.length>4?arguments[4]:d,u=arguments.length>5?arguments[5]:d,d=arguments.length>6?arguments[6]:d,h=r.slice(n,o||d),f=l.slice(c,u||d),g=0,p={pos:[0,0],start:[0,0]},m={pos:[0,0],start:[0,0]};h[g]=e.call(p,h[g]),f[g]=e.call(m,f[g]),h[g][0]!=f[g][0]||h[g][0]=="M"||h[g][0]=="A"&&(h[g][4]!=f[g][4]||h[g][5]!=f[g][5])?(Array.prototype.splice.apply(h,[g,1].concat(a.call(p,h[g]))),Array.prototype.splice.apply(f,[g,1].concat(a.call(m,f[g])))):(h[g]=t.call(p,h[g]),f[g]=t.call(m,f[g])),!(++g==h.length&&g==f.length);)g==h.length&&h.push(["C",p.pos[0],p.pos[1],p.pos[0],p.pos[1],p.pos[0],p.pos[1]]),g==f.length&&f.push(["C",m.pos[0],m.pos[1],m.pos[0],m.pos[1],m.pos[0],m.pos[1]]);return{start:h,dest:f}}function e(r){switch(r[0]){case"z":case"Z":r[0]="L",r[1]=this.start[0],r[2]=this.start[1];break;case"H":r[0]="L",r[2]=this.pos[1];break;case"V":r[0]="L",r[2]=r[1],r[1]=this.pos[0];break;case"T":r[0]="Q",r[3]=r[1],r[4]=r[2],r[1]=this.reflection[1],r[2]=this.reflection[0];break;case"S":r[0]="C",r[6]=r[4],r[5]=r[3],r[4]=r[2],r[3]=r[1],r[2]=this.reflection[1],r[1]=this.reflection[0]}return r}function t(r){var n=r.length;return this.pos=[r[n-2],r[n-1]],"SCQT".indexOf(r[0])!=-1&&(this.reflection=[2*this.pos[0]-r[n-4],2*this.pos[1]-r[n-3]]),r}function a(r){var n=[r];switch(r[0]){case"M":return this.pos=this.start=[r[1],r[2]],n;case"L":r[5]=r[3]=r[1],r[6]=r[4]=r[2],r[1]=this.pos[0],r[2]=this.pos[1];break;case"Q":r[6]=r[4],r[5]=r[3],r[4]=1*r[4]/3+2*r[2]/3,r[3]=1*r[3]/3+2*r[1]/3,r[2]=1*this.pos[1]/3+2*r[2]/3,r[1]=1*this.pos[0]/3+2*r[1]/3;break;case"A":n=(function(o,l){var c,u,d,h,f,g,p,m,b,v,x,k,y,A,w,S,C,E,M,P,D,L,B,N,F,H,ie=Math.abs(l[1]),re=Math.abs(l[2]),ae=l[3]%360,le=l[4],Ee=l[5],pe=l[6],Re=l[7],be=new Oe(o),O=new Oe(pe,Re),X=[];if(ie===0||re===0||be.x===O.x&&be.y===O.y)return[["C",be.x,be.y,O.x,O.y,O.x,O.y]];for(c=new Oe((be.x-O.x)/2,(be.y-O.y)/2).transform(new oe().rotate(ae)),u=c.x*c.x/(ie*ie)+c.y*c.y/(re*re),u>1&&(ie*=u=Math.sqrt(u),re*=u),d=new oe().rotate(ae).scale(1/ie,1/re).rotate(-ae),be=be.transform(d),O=O.transform(d),h=[O.x-be.x,O.y-be.y],g=h[0]*h[0]+h[1]*h[1],f=Math.sqrt(g),h[0]/=f,h[1]/=f,p=g<4?Math.sqrt(1-g/4):0,le===Ee&&(p*=-1),m=new Oe((O.x+be.x)/2+p*-h[1],(O.y+be.y)/2+p*h[0]),b=new Oe(be.x-m.x,be.y-m.y),v=new Oe(O.x-m.x,O.y-m.y),x=Math.acos(b.x/Math.sqrt(b.x*b.x+b.y*b.y)),b.y<0&&(x*=-1),k=Math.acos(v.x/Math.sqrt(v.x*v.x+v.y*v.y)),v.y<0&&(k*=-1),Ee&&x>k&&(k+=2*Math.PI),!Ee&&x<k&&(k-=2*Math.PI),A=Math.ceil(2*Math.abs(x-k)/Math.PI),S=[],C=x,y=(k-x)/A,w=4*Math.tan(y/4)/3,D=0;D<=A;D++)M=Math.cos(C),E=Math.sin(C),P=new Oe(m.x+M,m.y+E),S[D]=[new Oe(P.x+w*E,P.y-w*M),P,new Oe(P.x-w*E,P.y+w*M)],C+=y;for(S[0][0]=S[0][1].clone(),S[S.length-1][2]=S[S.length-1][1].clone(),d=new oe().rotate(ae).scale(ie,re).rotate(-ae),D=0,L=S.length;D<L;D++)S[D][0]=S[D][0].transform(d),S[D][1]=S[D][1].transform(d),S[D][2]=S[D][2].transform(d);for(D=1,L=S.length;D<L;D++)B=(P=S[D-1][2]).x,N=P.y,F=(P=S[D][0]).x,H=P.y,pe=(P=S[D][1]).x,Re=P.y,X.push(["C",B,N,F,H,pe,Re]);return X})(this.pos,r),r=n[0]}return r[0]="C",this.pos=[r[5],r[6]],this.reflection=[2*r[5]-r[3],2*r[6]-r[4]],n}function s(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;if(n===!1)return!1;for(var o=n,l=r.length;o<l;++o)if(r[o][0]=="M")return o;return!1}fe(di,{morph:function(r,n,o,l,c){for(var u=this.parse(r),d=this.parse(n),h=0,f=0,g=!1,p=!1;h!==!1||f!==!1;){var m;g=s(u,h!==!1&&h+1),p=s(d,f!==!1&&f+1),h===!1&&(h=(m=new di(b.start).bbox()).height==0||m.width==0?u.push(u[0])-1:u.push(["M",m.x+m.width/2,m.y+m.height/2])-1),f===!1&&(f=(m=new di(b.dest).bbox()).height==0||m.width==0?d.push(d[0])-1:d.push(["M",m.x+m.width/2,m.y+m.height/2])-1);var b=i(u,h,g,d,f,p);u=u.slice(0,h).concat(b.start,g===!1?[]:u.slice(g)),d=d.slice(0,f).concat(b.dest,p===!1?[]:d.slice(p)),h=g!==!1&&h+b.start.length,f=p!==!1&&f+b.dest.length}this._array=u,this.destination=new di,this.destination._array=d;var v=this.fromArray(u.map((function(x,k){var y=d[k].map((function(A,w){return w===0?A:l.step(x[w],d[k][w],o,c[k],c)}));return y})));return v}})})();const Lg=i=>(i.changedTouches&&(i=i.changedTouches[0]),{x:i.clientX,y:i.clientY});class vI{constructor(e){e.remember("_draggable",this),this.el=e,this.drag=this.drag.bind(this),this.startDrag=this.startDrag.bind(this),this.endDrag=this.endDrag.bind(this)}init(e){e?(this.el.on("mousedown.drag",this.startDrag),this.el.on("touchstart.drag",this.startDrag,{passive:!1})):(this.el.off("mousedown.drag"),this.el.off("touchstart.drag"))}startDrag(e){const t=!e.type.indexOf("mouse");if(t&&e.which!==1&&e.buttons!==0||this.el.dispatch("beforedrag",{event:e,handler:this}).defaultPrevented)return;e.preventDefault(),e.stopPropagation(),this.init(!1),this.box=this.el.bbox(),this.lastClick=this.el.point(Lg(e));const a=(t?"mouseup":"touchend")+".drag";ji(window,(t?"mousemove":"touchmove")+".drag",this.drag,this,{passive:!1}),ji(window,a,this.endDrag,this,{passive:!1}),this.el.fire("dragstart",{event:e,handler:this,box:this.box})}drag(e){const{box:t,lastClick:a}=this,s=this.el.point(Lg(e)),r=s.x-a.x,n=s.y-a.y;if(!r&&!n)return t;const o=t.x+r,l=t.y+n;this.box=new at(o,l,t.w,t.h),this.lastClick=s,this.el.dispatch("dragmove",{event:e,handler:this,box:this.box}).defaultPrevented||this.move(o,l)}move(e,t){this.el.type==="svg"?fa.prototype.move.call(this.el,e,t):this.el.move(e,t)}endDrag(e){this.drag(e),this.el.fire("dragend",{event:e,handler:this,box:this.box}),ai(window,"mousemove.drag"),ai(window,"touchmove.drag"),ai(window,"mouseup.drag"),ai(window,"touchend.drag"),this.init(!0)}}/*!
|
|
220
|
+
* @svgdotjs/svg.select.js - An extension of svg.js which allows to select elements with mouse
|
|
221
|
+
* @version 4.0.1
|
|
222
|
+
* https://github.com/svgdotjs/svg.select.js
|
|
223
|
+
*
|
|
224
|
+
* @copyright Ulrich-Matthias Schäfer
|
|
225
|
+
* @license MIT
|
|
226
|
+
*
|
|
227
|
+
* BUILT: Mon Jul 01 2024 15:04:42 GMT+0200 (Central European Summer Time)
|
|
228
|
+
*/function mu(i,e,t,a=null){return function(s){s.preventDefault(),s.stopPropagation();var r=s.pageX||s.touches[0].pageX,n=s.pageY||s.touches[0].pageY;e.fire(i,{x:r,y:n,event:s,index:a,points:t})}}function bu([i,e],{a:t,b:a,c:s,d:r,e:n,f:o}){return[i*t+e*s+n,i*a+e*r+o]}fe(vt,{draggable(i=!0){return(this.remember("_draggable")||new vI(this)).init(i),this}});let Ox=class{constructor(i){this.el=i,i.remember("_selectHandler",this),this.selection=new fa,this.order=["lt","t","rt","r","rb","b","lb","l","rot"],this.mutationHandler=this.mutationHandler.bind(this);const e=sn();this.observer=new e.MutationObserver(this.mutationHandler)}init(i){this.createHandle=i.createHandle||this.createHandleFn,this.createRot=i.createRot||this.createRotFn,this.updateHandle=i.updateHandle||this.updateHandleFn,this.updateRot=i.updateRot||this.updateRotFn,this.el.root().put(this.selection),this.updatePoints(),this.createSelection(),this.createResizeHandles(),this.updateResizeHandles(),this.createRotationHandle(),this.updateRotationHandle(),this.observer.observe(this.el.node,{attributes:!0})}active(i,e){if(!i)return this.selection.clear().remove(),void this.observer.disconnect();this.init(e)}createSelection(){this.selection.polygon(this.handlePoints).addClass("svg_select_shape")}updateSelection(){this.selection.get(0).plot(this.handlePoints)}createResizeHandles(){this.handlePoints.forEach(((i,e,t)=>{const a=this.order[e];this.createHandle.call(this,this.selection,i,e,t,a),this.selection.get(e+1).addClass("svg_select_handle svg_select_handle_"+a).on("mousedown.selection touchstart.selection",mu(a,this.el,this.handlePoints,e))}))}createHandleFn(i){i.polyline()}updateHandleFn(i,e,t,a){const s=a.at(t-1),r=a[(t+1)%a.length],n=e,o=[n[0]-s[0],n[1]-s[1]],l=[n[0]-r[0],n[1]-r[1]],c=Math.sqrt(o[0]*o[0]+o[1]*o[1]),u=Math.sqrt(l[0]*l[0]+l[1]*l[1]),d=[o[0]/c,o[1]/c],h=[l[0]/u,l[1]/u],f=[n[0]-10*d[0],n[1]-10*d[1]],g=[n[0]-10*h[0],n[1]-10*h[1]];i.plot([f,n,g])}updateResizeHandles(){this.handlePoints.forEach(((i,e,t)=>{const a=this.order[e];this.updateHandle.call(this,this.selection.get(e+1),i,e,t,a)}))}createRotFn(i){i.line(),i.circle(5)}getPoint(i){return this.handlePoints[this.order.indexOf(i)]}getPointHandle(i){return this.selection.get(this.order.indexOf(i)+1)}updateRotFn(i,e){const t=this.getPoint("t");i.get(0).plot(t[0],t[1],e[0],e[1]),i.get(1).center(e[0],e[1])}createRotationHandle(){const i=this.selection.group().addClass("svg_select_handle_rot").on("mousedown.selection touchstart.selection",mu("rot",this.el,this.handlePoints));this.createRot.call(this,i)}updateRotationHandle(){const i=this.selection.findOne("g.svg_select_handle_rot");this.updateRot(i,this.rotationPoint,this.handlePoints)}updatePoints(){const i=this.el.bbox(),e=this.el.parent().screenCTM().inverseO().multiplyO(this.el.screenCTM());this.handlePoints=this.getHandlePoints(i).map((t=>bu(t,e))),this.rotationPoint=bu(this.getRotationPoint(i),e)}getHandlePoints({x:i,x2:e,y:t,y2:a,cx:s,cy:r}=this.el.bbox()){return[[i,t],[s,t],[e,t],[e,r],[e,a],[s,a],[i,a],[i,r]]}getRotationPoint({y:i,cx:e}=this.el.bbox()){return[e,i-20]}mutationHandler(){this.updatePoints(),this.updateSelection(),this.updateResizeHandles(),this.updateRotationHandle()}};const Rg=i=>function(e=!0,t={}){typeof e=="object"&&(t=e,e=!0);let a=this.remember("_"+i.name);return a||(e.prototype instanceof Ox?(a=new e(this),e=!0):a=new i(this),this.remember("_"+i.name,a)),a.active(e,t),this};/*!
|
|
229
|
+
* @svgdotjs/svg.resize.js - An extension for svg.js which allows to resize elements which are selected
|
|
230
|
+
* @version 2.0.4
|
|
231
|
+
* https://github.com/svgdotjs/svg.resize.js
|
|
232
|
+
*
|
|
233
|
+
* @copyright [object Object]
|
|
234
|
+
* @license MIT
|
|
235
|
+
*
|
|
236
|
+
* BUILT: Fri Sep 13 2024 12:43:14 GMT+0200 (Central European Summer Time)
|
|
237
|
+
*//*!
|
|
238
|
+
* @svgdotjs/svg.select.js - An extension of svg.js which allows to select elements with mouse
|
|
239
|
+
* @version 4.0.1
|
|
240
|
+
* https://github.com/svgdotjs/svg.select.js
|
|
241
|
+
*
|
|
242
|
+
* @copyright Ulrich-Matthias Schäfer
|
|
243
|
+
* @license MIT
|
|
244
|
+
*
|
|
245
|
+
* BUILT: Mon Jul 01 2024 15:04:42 GMT+0200 (Central European Summer Time)
|
|
246
|
+
*/function vu(i,e,t,a=null){return function(s){s.preventDefault(),s.stopPropagation();var r=s.pageX||s.touches[0].pageX,n=s.pageY||s.touches[0].pageY;e.fire(i,{x:r,y:n,event:s,index:a,points:t})}}function xu([i,e],{a:t,b:a,c:s,d:r,e:n,f:o}){return[i*t+e*s+n,i*a+e*r+o]}fe(vt,{select:Rg(Ox)}),fe([Ra,Na,La],{pointSelect:Rg(class{constructor(i){this.el=i,i.remember("_pointSelectHandler",this),this.selection=new fa,this.order=["lt","t","rt","r","rb","b","lb","l","rot"],this.mutationHandler=this.mutationHandler.bind(this);const e=sn();this.observer=new e.MutationObserver(this.mutationHandler)}init(i){this.createHandle=i.createHandle||this.createHandleFn,this.updateHandle=i.updateHandle||this.updateHandleFn,this.el.root().put(this.selection),this.updatePoints(),this.createSelection(),this.createPointHandles(),this.updatePointHandles(),this.observer.observe(this.el.node,{attributes:!0})}active(i,e){if(!i)return this.selection.clear().remove(),void this.observer.disconnect();this.init(e)}createSelection(){this.selection.polygon(this.points).addClass("svg_select_shape_pointSelect")}updateSelection(){this.selection.get(0).plot(this.points)}createPointHandles(){this.points.forEach(((i,e,t)=>{this.createHandle.call(this,this.selection,i,e,t),this.selection.get(e+1).addClass("svg_select_handle_point").on("mousedown.selection touchstart.selection",mu("point",this.el,this.points,e))}))}createHandleFn(i){i.circle(5)}updateHandleFn(i,e){i.center(e[0],e[1])}updatePointHandles(){this.points.forEach(((i,e,t)=>{this.updateHandle.call(this,this.selection.get(e+1),i,e,t)}))}updatePoints(){const i=this.el.parent().screenCTM().inverseO().multiplyO(this.el.screenCTM());this.points=this.el.array().map((e=>bu(e,i)))}mutationHandler(){this.updatePoints(),this.updateSelection(),this.updatePointHandles()}})});class Fx{constructor(e){this.el=e,e.remember("_selectHandler",this),this.selection=new fa,this.order=["lt","t","rt","r","rb","b","lb","l","rot"],this.mutationHandler=this.mutationHandler.bind(this);const t=sn();this.observer=new t.MutationObserver(this.mutationHandler)}init(e){this.createHandle=e.createHandle||this.createHandleFn,this.createRot=e.createRot||this.createRotFn,this.updateHandle=e.updateHandle||this.updateHandleFn,this.updateRot=e.updateRot||this.updateRotFn,this.el.root().put(this.selection),this.updatePoints(),this.createSelection(),this.createResizeHandles(),this.updateResizeHandles(),this.createRotationHandle(),this.updateRotationHandle(),this.observer.observe(this.el.node,{attributes:!0})}active(e,t){if(!e)return this.selection.clear().remove(),void this.observer.disconnect();this.init(t)}createSelection(){this.selection.polygon(this.handlePoints).addClass("svg_select_shape")}updateSelection(){this.selection.get(0).plot(this.handlePoints)}createResizeHandles(){this.handlePoints.forEach(((e,t,a)=>{const s=this.order[t];this.createHandle.call(this,this.selection,e,t,a,s),this.selection.get(t+1).addClass("svg_select_handle svg_select_handle_"+s).on("mousedown.selection touchstart.selection",vu(s,this.el,this.handlePoints,t))}))}createHandleFn(e){e.polyline()}updateHandleFn(e,t,a,s){const r=s.at(a-1),n=s[(a+1)%s.length],o=t,l=[o[0]-r[0],o[1]-r[1]],c=[o[0]-n[0],o[1]-n[1]],u=Math.sqrt(l[0]*l[0]+l[1]*l[1]),d=Math.sqrt(c[0]*c[0]+c[1]*c[1]),h=[l[0]/u,l[1]/u],f=[c[0]/d,c[1]/d],g=[o[0]-10*h[0],o[1]-10*h[1]],p=[o[0]-10*f[0],o[1]-10*f[1]];e.plot([g,o,p])}updateResizeHandles(){this.handlePoints.forEach(((e,t,a)=>{const s=this.order[t];this.updateHandle.call(this,this.selection.get(t+1),e,t,a,s)}))}createRotFn(e){e.line(),e.circle(5)}getPoint(e){return this.handlePoints[this.order.indexOf(e)]}getPointHandle(e){return this.selection.get(this.order.indexOf(e)+1)}updateRotFn(e,t){const a=this.getPoint("t");e.get(0).plot(a[0],a[1],t[0],t[1]),e.get(1).center(t[0],t[1])}createRotationHandle(){const e=this.selection.group().addClass("svg_select_handle_rot").on("mousedown.selection touchstart.selection",vu("rot",this.el,this.handlePoints));this.createRot.call(this,e)}updateRotationHandle(){const e=this.selection.findOne("g.svg_select_handle_rot");this.updateRot(e,this.rotationPoint,this.handlePoints)}updatePoints(){const e=this.el.bbox(),t=this.el.parent().screenCTM().inverseO().multiplyO(this.el.screenCTM());this.handlePoints=this.getHandlePoints(e).map((a=>xu(a,t))),this.rotationPoint=xu(this.getRotationPoint(e),t)}getHandlePoints({x:e,x2:t,y:a,y2:s,cx:r,cy:n}=this.el.bbox()){return[[e,a],[r,a],[t,a],[t,n],[t,s],[r,s],[e,s],[e,n]]}getRotationPoint({y:e,cx:t}=this.el.bbox()){return[t,e-20]}mutationHandler(){this.updatePoints(),this.updateSelection(),this.updateResizeHandles(),this.updateRotationHandle()}}const Ng=i=>function(e=!0,t={}){typeof e=="object"&&(t=e,e=!0);let a=this.remember("_"+i.name);return a||(e.prototype instanceof Fx?(a=new e(this),e=!0):a=new i(this),this.remember("_"+i.name,a)),a.active(e,t),this};fe(vt,{select:Ng(Fx)}),fe([Ra,Na,La],{pointSelect:Ng(class{constructor(i){this.el=i,i.remember("_pointSelectHandler",this),this.selection=new fa,this.order=["lt","t","rt","r","rb","b","lb","l","rot"],this.mutationHandler=this.mutationHandler.bind(this);const e=sn();this.observer=new e.MutationObserver(this.mutationHandler)}init(i){this.createHandle=i.createHandle||this.createHandleFn,this.updateHandle=i.updateHandle||this.updateHandleFn,this.el.root().put(this.selection),this.updatePoints(),this.createSelection(),this.createPointHandles(),this.updatePointHandles(),this.observer.observe(this.el.node,{attributes:!0})}active(i,e){if(!i)return this.selection.clear().remove(),void this.observer.disconnect();this.init(e)}createSelection(){this.selection.polygon(this.points).addClass("svg_select_shape_pointSelect")}updateSelection(){this.selection.get(0).plot(this.points)}createPointHandles(){this.points.forEach(((i,e,t)=>{this.createHandle.call(this,this.selection,i,e,t),this.selection.get(e+1).addClass("svg_select_handle_point").on("mousedown.selection touchstart.selection",vu("point",this.el,this.points,e))}))}createHandleFn(i){i.circle(5)}updateHandleFn(i,e){i.center(e[0],e[1])}updatePointHandles(){this.points.forEach(((i,e,t)=>{this.updateHandle.call(this,this.selection.get(e+1),i,e,t)}))}updatePoints(){const i=this.el.parent().screenCTM().inverseO().multiplyO(this.el.screenCTM());this.points=this.el.array().map((e=>xu(e,i)))}mutationHandler(){this.updatePoints(),this.updateSelection(),this.updatePointHandles()}})});const Mn=i=>(i.changedTouches&&(i=i.changedTouches[0]),{x:i.clientX,y:i.clientY}),Og=i=>{let e=1/0,t=1/0,a=-1/0,s=-1/0;for(let r=0;r<i.length;r++){const n=i[r];e=Math.min(e,n[0]),t=Math.min(t,n[1]),a=Math.max(a,n[0]),s=Math.max(s,n[1])}return new at(e,t,a-e,s-t)};class Fg{constructor(e){this.el=e,e.remember("_ResizeHandler",this),this.lastCoordinates=null,this.eventType="",this.lastEvent=null,this.handleResize=this.handleResize.bind(this),this.resize=this.resize.bind(this),this.endResize=this.endResize.bind(this),this.rotate=this.rotate.bind(this),this.movePoint=this.movePoint.bind(this)}active(e,t){this.preserveAspectRatio=t.preserveAspectRatio??!1,this.aroundCenter=t.aroundCenter??!1,this.grid=t.grid??0,this.degree=t.degree??0,this.el.off(".resize"),e&&(this.el.on(["lt.resize","rt.resize","rb.resize","lb.resize","t.resize","r.resize","b.resize","l.resize","rot.resize","point.resize"],this.handleResize),this.lastEvent&&(this.eventType==="rot"?this.rotate(this.lastEvent):this.eventType==="point"?this.movePoint(this.lastEvent):this.resize(this.lastEvent)))}handleResize(e){this.eventType=e.type;const{event:t,index:a,points:s}=e.detail,r=!t.type.indexOf("mouse");if(r&&(t.which||t.buttons)!==1||this.el.dispatch("beforeresize",{event:e,handler:this}).defaultPrevented)return;this.box=this.el.bbox(),this.startPoint=this.el.point(Mn(t)),this.index=a,this.points=s.slice();const n=(r?"mousemove":"touchmove")+".resize",o=(r?"mouseup":"touchcancel.resize touchend")+".resize";e.type==="point"?ji(window,n,this.movePoint):e.type==="rot"?ji(window,n,this.rotate):ji(window,n,this.resize),ji(window,o,this.endResize)}resize(e){this.lastEvent=e;const t=this.snapToGrid(this.el.point(Mn(e)));let a=t.x-this.startPoint.x,s=t.y-this.startPoint.y;this.preserveAspectRatio&&this.aroundCenter&&(a*=2,s*=2);const r=this.box.x+a,n=this.box.y+s,o=this.box.x2+a,l=this.box.y2+s;let c=new at(this.box);if(this.eventType.includes("l")&&(c.x=Math.min(r,this.box.x2),c.x2=Math.max(r,this.box.x2)),this.eventType.includes("r")&&(c.x=Math.min(o,this.box.x),c.x2=Math.max(o,this.box.x)),this.eventType.includes("t")&&(c.y=Math.min(n,this.box.y2),c.y2=Math.max(n,this.box.y2)),this.eventType.includes("b")&&(c.y=Math.min(l,this.box.y),c.y2=Math.max(l,this.box.y)),c.width=c.x2-c.x,c.height=c.y2-c.y,this.preserveAspectRatio){const u=c.width/this.box.width,d=c.height/this.box.height,h=["lt","t","rt","r","rb","b","lb","l"],f=(h.indexOf(this.eventType)+4)%h.length,g=this.aroundCenter?[this.box.cx,this.box.cy]:this.points[f];let p=this.eventType.includes("t")||this.eventType.includes("b")?d:u;p=this.eventType.length===2?Math.max(u,d):p,c=(function(m,b,v){const x=[[m.x,m.y],[m.x+m.width,m.y],[m.x+m.width,m.y+m.height],[m.x,m.y+m.height]].map((([k,y])=>{const A=k-b[0],w=(y-b[1])*v;return[A*v+b[0],w+b[1]]}));return Og(x)})(this.box,g,p)}this.el.dispatch("resize",{box:new at(c),angle:0,eventType:this.eventType,event:e,handler:this}).defaultPrevented||this.el.size(c.width,c.height).move(c.x,c.y)}movePoint(e){this.lastEvent=e;const{x:t,y:a}=this.snapToGrid(this.el.point(Mn(e))),s=this.el.array().slice();s[this.index]=[t,a],this.el.dispatch("resize",{box:Og(s),angle:0,eventType:this.eventType,event:e,handler:this}).defaultPrevented||this.el.plot(s)}rotate(e){this.lastEvent=e;const t=this.startPoint,a=this.el.point(Mn(e)),{cx:s,cy:r}=this.box,n=t.x-s,o=t.y-r,l=a.x-s,c=a.y-r,u=Math.sqrt(n*n+o*o)*Math.sqrt(l*l+c*c);if(u===0)return;let d=Math.acos((n*l+o*c)/u)/Math.PI*180;if(!d)return;a.x<t.x&&(d=-d);const h=new oe(this.el),{x:f,y:g}=new Oe(s,r).transformO(h),{rotate:p}=h.decompose(),m=this.snapToAngle(p+d)-p;this.el.dispatch("resize",{box:this.box,angle:m,eventType:this.eventType,event:e,handler:this}).defaultPrevented||this.el.transform(h.rotateO(m,f,g))}endResize(e){this.eventType!=="rot"&&this.eventType!=="point"&&this.resize(e),this.lastEvent=null,this.eventType="",ai(window,"mousemove.resize touchmove.resize"),ai(window,"mouseup.resize touchend.resize")}snapToGrid(e){return this.grid&&(e.x=Math.round(e.x/this.grid)*this.grid,e.y=Math.round(e.y/this.grid)*this.grid),e}snapToAngle(e){return this.degree&&(e=Math.round(e/this.degree)*this.degree),e}}fe(vt,{resize:function(i=!0,e={}){typeof i=="object"&&(e=i,i=!0);let t=this.remember("_ResizeHandler");return t||(i.prototype instanceof Fg?(t=new i(this),i=!0):t=new Fg(this),this.remember("_resizeHandler",t)),t.active(i,e),this}}),window.SVG===void 0&&(window.SVG=L_),window.Apex===void 0&&(window.Apex={});var zg=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"initModules",value:function(){this.ctx.publicMethods=["updateOptions","updateSeries","appendData","appendSeries","isSeriesHidden","highlightSeries","toggleSeries","showSeries","hideSeries","setLocale","resetSeries","zoomX","toggleDataPointSelection","dataURI","exportToCSV","addXaxisAnnotation","addYaxisAnnotation","addPointAnnotation","clearAnnotations","removeAnnotation","paper","destroy"],this.ctx.eventList=["click","mousedown","mousemove","mouseleave","touchstart","touchmove","touchleave","mouseup","touchend"],this.ctx.animations=new js(this.ctx),this.ctx.axes=new V_(this.ctx),this.ctx.core=new mI(this.ctx.el,this.ctx),this.ctx.config=new Fr({}),this.ctx.data=new Md(this.ctx),this.ctx.grid=new Ex(this.ctx),this.ctx.graphics=new Y(this.ctx),this.ctx.coreUtils=new rt(this.ctx),this.ctx.crosshairs=new pu(this.ctx),this.ctx.events=new W_(this.ctx),this.ctx.exports=new vr(this.ctx),this.ctx.fill=new gi(this.ctx),this.ctx.localization=new j_(this.ctx),this.ctx.options=new _a,this.ctx.responsive=new Y_(this.ctx),this.ctx.series=new ri(this.ctx),this.ctx.theme=new U_(this.ctx),this.ctx.formatters=new on(this.ctx),this.ctx.titleSubtitle=new X_(this.ctx),this.ctx.legend=new Px(this.ctx),this.ctx.toolbar=new _x(this.ctx),this.ctx.tooltip=new Tg(this.ctx),this.ctx.dimensions=new yo(this.ctx),this.ctx.updateHelpers=new bI(this.ctx),this.ctx.zoomPanSelection=new J_(this.ctx),this.ctx.w.globals.tooltip=new Tg(this.ctx)}}]),i})(),Bg=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"clear",value:function(e){var t=e.isUpdating;this.ctx.zoomPanSelection&&this.ctx.zoomPanSelection.destroy(),this.ctx.toolbar&&this.ctx.toolbar.destroy(),this.ctx.animations=null,this.ctx.axes=null,this.ctx.annotations=null,this.ctx.core=null,this.ctx.data=null,this.ctx.grid=null,this.ctx.series=null,this.ctx.responsive=null,this.ctx.theme=null,this.ctx.formatters=null,this.ctx.titleSubtitle=null,this.ctx.legend=null,this.ctx.dimensions=null,this.ctx.options=null,this.ctx.crosshairs=null,this.ctx.zoomPanSelection=null,this.ctx.updateHelpers=null,this.ctx.toolbar=null,this.ctx.localization=null,this.ctx.w.globals.tooltip=null,this.clearDomElements({isUpdating:t})}},{key:"killSVG",value:function(e){e.each((function(){this.removeClass("*"),this.off()}),!0),e.clear()}},{key:"clearDomElements",value:function(e){var t=this,a=e.isUpdating,s=this.w.globals.dom.Paper.node;s.parentNode&&s.parentNode.parentNode&&!a&&(s.parentNode.parentNode.style.minHeight="unset");var r=this.w.globals.dom.baseEl;r&&this.ctx.eventList.forEach((function(o){r.removeEventListener(o,t.ctx.events.documentEvent)}));var n=this.w.globals.dom;if(this.ctx.el!==null)for(;this.ctx.el.firstChild;)this.ctx.el.removeChild(this.ctx.el.firstChild);this.killSVG(n.Paper),n.Paper.remove(),n.elWrap=null,n.elGraphical=null,n.elLegendWrap=null,n.elLegendForeign=null,n.baseEl=null,n.elGridRect=null,n.elGridRectMask=null,n.elGridRectBarMask=null,n.elGridRectMarkerMask=null,n.elForecastMask=null,n.elNonForecastMask=null,n.elDefs=null}}]),i})(),ac=new WeakMap,Hg=(function(){function i(e,t){ee(this,i),this.opts=t,this.ctx=this,this.w=new H_(t).init(),this.el=e,this.w.globals.cuid=T.randomId(),this.w.globals.chartID=this.w.config.chart.id?T.escapeString(this.w.config.chart.id):this.w.globals.cuid,new zg(this).initModules(),this.lastUpdateOptions=null,this.create=T.bind(this.create,this),this.windowResizeHandler=this._windowResizeHandler.bind(this),this.parentResizeHandler=this._parentResizeCallback.bind(this)}return te(i,[{key:"render",value:function(){var e=this;return new Promise((function(t,a){if(T.elementExists(e.el)){Apex._chartInstances===void 0&&(Apex._chartInstances=[]),e.w.config.chart.id&&Apex._chartInstances.push({id:e.w.globals.chartID,group:e.w.config.chart.group,chart:e}),e.setLocale(e.w.config.chart.defaultLocale);var s=e.w.config.chart.events.beforeMount;typeof s=="function"&&s(e,e.w),e.events.fireEvent("beforeMount",[e,e.w]),window.addEventListener("resize",e.windowResizeHandler),(function(h,f){var g=!1;if(h.nodeType!==Node.DOCUMENT_FRAGMENT_NODE){var p=h.getBoundingClientRect();h.style.display!=="none"&&p.width!==0||(g=!0)}var m=new ResizeObserver((function(b){g&&f.call(h,b),g=!0}));h.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Array.from(h.children).forEach((function(b){return m.observe(b)})):m.observe(h),ac.set(f,m)})(e.el.parentNode,e.parentResizeHandler);var r=e.el.getRootNode&&e.el.getRootNode(),n=T.is("ShadowRoot",r),o=e.el.ownerDocument,l=n?r.getElementById("apexcharts-css"):o.getElementById("apexcharts-css");if(!l){var c;(l=document.createElement("style")).id="apexcharts-css",l.textContent=`@keyframes opaque {
|
|
247
|
+
0% {
|
|
248
|
+
opacity: 0
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
to {
|
|
252
|
+
opacity: 1
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
@keyframes resizeanim {
|
|
257
|
+
|
|
258
|
+
0%,
|
|
259
|
+
to {
|
|
260
|
+
opacity: 0
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.apexcharts-canvas {
|
|
265
|
+
position: relative;
|
|
266
|
+
direction: ltr !important;
|
|
267
|
+
user-select: none
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.apexcharts-canvas ::-webkit-scrollbar {
|
|
271
|
+
-webkit-appearance: none;
|
|
272
|
+
width: 6px
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.apexcharts-canvas ::-webkit-scrollbar-thumb {
|
|
276
|
+
border-radius: 4px;
|
|
277
|
+
background-color: rgba(0, 0, 0, .5);
|
|
278
|
+
box-shadow: 0 0 1px rgba(255, 255, 255, .5);
|
|
279
|
+
-webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5)
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.apexcharts-inner {
|
|
283
|
+
position: relative
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.apexcharts-text tspan {
|
|
287
|
+
font-family: inherit
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
rect.legend-mouseover-inactive,
|
|
291
|
+
.legend-mouseover-inactive rect,
|
|
292
|
+
.legend-mouseover-inactive path,
|
|
293
|
+
.legend-mouseover-inactive circle,
|
|
294
|
+
.legend-mouseover-inactive line,
|
|
295
|
+
.legend-mouseover-inactive text.apexcharts-yaxis-title-text,
|
|
296
|
+
.legend-mouseover-inactive text.apexcharts-yaxis-label {
|
|
297
|
+
transition: .15s ease all;
|
|
298
|
+
opacity: .2
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.apexcharts-legend-text {
|
|
302
|
+
padding-left: 15px;
|
|
303
|
+
margin-left: -15px;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.apexcharts-series-collapsed {
|
|
307
|
+
opacity: 0
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.apexcharts-tooltip {
|
|
311
|
+
border-radius: 5px;
|
|
312
|
+
box-shadow: 2px 2px 6px -4px #999;
|
|
313
|
+
cursor: default;
|
|
314
|
+
font-size: 14px;
|
|
315
|
+
left: 62px;
|
|
316
|
+
opacity: 0;
|
|
317
|
+
pointer-events: none;
|
|
318
|
+
position: absolute;
|
|
319
|
+
top: 20px;
|
|
320
|
+
display: flex;
|
|
321
|
+
flex-direction: column;
|
|
322
|
+
overflow: hidden;
|
|
323
|
+
white-space: nowrap;
|
|
324
|
+
z-index: 12;
|
|
325
|
+
transition: .15s ease all
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.apexcharts-tooltip.apexcharts-active {
|
|
329
|
+
opacity: 1;
|
|
330
|
+
transition: .15s ease all
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.apexcharts-tooltip.apexcharts-theme-light {
|
|
334
|
+
border: 1px solid #e3e3e3;
|
|
335
|
+
background: rgba(255, 255, 255, .96)
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.apexcharts-tooltip.apexcharts-theme-dark {
|
|
339
|
+
color: #fff;
|
|
340
|
+
background: rgba(30, 30, 30, .8)
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.apexcharts-tooltip * {
|
|
344
|
+
font-family: inherit
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.apexcharts-tooltip-title {
|
|
348
|
+
padding: 6px;
|
|
349
|
+
font-size: 15px;
|
|
350
|
+
margin-bottom: 4px
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {
|
|
354
|
+
background: #eceff1;
|
|
355
|
+
border-bottom: 1px solid #ddd
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title {
|
|
359
|
+
background: rgba(0, 0, 0, .7);
|
|
360
|
+
border-bottom: 1px solid #333
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.apexcharts-tooltip-text-goals-value,
|
|
364
|
+
.apexcharts-tooltip-text-y-value,
|
|
365
|
+
.apexcharts-tooltip-text-z-value {
|
|
366
|
+
display: inline-block;
|
|
367
|
+
margin-left: 5px;
|
|
368
|
+
font-weight: 600
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.apexcharts-tooltip-text-goals-label:empty,
|
|
372
|
+
.apexcharts-tooltip-text-goals-value:empty,
|
|
373
|
+
.apexcharts-tooltip-text-y-label:empty,
|
|
374
|
+
.apexcharts-tooltip-text-y-value:empty,
|
|
375
|
+
.apexcharts-tooltip-text-z-value:empty,
|
|
376
|
+
.apexcharts-tooltip-title:empty {
|
|
377
|
+
display: none
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.apexcharts-tooltip-text-goals-label,
|
|
381
|
+
.apexcharts-tooltip-text-goals-value {
|
|
382
|
+
padding: 6px 0 5px
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.apexcharts-tooltip-goals-group,
|
|
386
|
+
.apexcharts-tooltip-text-goals-label,
|
|
387
|
+
.apexcharts-tooltip-text-goals-value {
|
|
388
|
+
display: flex
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.apexcharts-tooltip-text-goals-label:not(:empty),
|
|
392
|
+
.apexcharts-tooltip-text-goals-value:not(:empty) {
|
|
393
|
+
margin-top: -6px
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.apexcharts-tooltip-marker {
|
|
397
|
+
display: inline-block;
|
|
398
|
+
position: relative;
|
|
399
|
+
width: 16px;
|
|
400
|
+
height: 16px;
|
|
401
|
+
font-size: 16px;
|
|
402
|
+
line-height: 16px;
|
|
403
|
+
margin-right: 4px;
|
|
404
|
+
text-align: center;
|
|
405
|
+
vertical-align: middle;
|
|
406
|
+
color: inherit;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.apexcharts-tooltip-marker::before {
|
|
410
|
+
content: "";
|
|
411
|
+
display: inline-block;
|
|
412
|
+
width: 100%;
|
|
413
|
+
text-align: center;
|
|
414
|
+
color: currentcolor;
|
|
415
|
+
text-rendering: optimizeLegibility;
|
|
416
|
+
-webkit-font-smoothing: antialiased;
|
|
417
|
+
font-size: 26px;
|
|
418
|
+
font-family: Arial, Helvetica, sans-serif;
|
|
419
|
+
line-height: 14px;
|
|
420
|
+
font-weight: 900;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.apexcharts-tooltip-marker[shape="circle"]::before {
|
|
424
|
+
content: "\\25CF";
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.apexcharts-tooltip-marker[shape="square"]::before,
|
|
428
|
+
.apexcharts-tooltip-marker[shape="rect"]::before {
|
|
429
|
+
content: "\\25A0";
|
|
430
|
+
transform: translate(-1px, -2px);
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.apexcharts-tooltip-marker[shape="line"]::before {
|
|
434
|
+
content: "\\2500";
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.apexcharts-tooltip-marker[shape="diamond"]::before {
|
|
438
|
+
content: "\\25C6";
|
|
439
|
+
font-size: 28px;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.apexcharts-tooltip-marker[shape="triangle"]::before {
|
|
443
|
+
content: "\\25B2";
|
|
444
|
+
font-size: 22px;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
.apexcharts-tooltip-marker[shape="cross"]::before {
|
|
448
|
+
content: "\\2715";
|
|
449
|
+
font-size: 18px;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.apexcharts-tooltip-marker[shape="plus"]::before {
|
|
453
|
+
content: "\\2715";
|
|
454
|
+
transform: rotate(45deg) translate(-1px, -1px);
|
|
455
|
+
font-size: 18px;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.apexcharts-tooltip-marker[shape="star"]::before {
|
|
459
|
+
content: "\\2605";
|
|
460
|
+
font-size: 18px;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.apexcharts-tooltip-marker[shape="sparkle"]::before {
|
|
464
|
+
content: "\\2726";
|
|
465
|
+
font-size: 20px;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.apexcharts-tooltip-series-group {
|
|
469
|
+
padding: 0 10px;
|
|
470
|
+
display: none;
|
|
471
|
+
text-align: left;
|
|
472
|
+
justify-content: left;
|
|
473
|
+
align-items: center
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
.apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker {
|
|
477
|
+
opacity: 1
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
.apexcharts-tooltip-series-group.apexcharts-active,
|
|
481
|
+
.apexcharts-tooltip-series-group:last-child {
|
|
482
|
+
padding-bottom: 4px
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.apexcharts-tooltip-y-group {
|
|
486
|
+
padding: 6px 0 5px
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.apexcharts-custom-tooltip,
|
|
490
|
+
.apexcharts-tooltip-box {
|
|
491
|
+
padding: 4px 8px
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.apexcharts-tooltip-boxPlot {
|
|
495
|
+
display: flex;
|
|
496
|
+
flex-direction: column-reverse
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.apexcharts-tooltip-box>div {
|
|
500
|
+
margin: 4px 0
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.apexcharts-tooltip-box span.value {
|
|
504
|
+
font-weight: 700
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.apexcharts-tooltip-rangebar {
|
|
508
|
+
padding: 5px 8px
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.apexcharts-tooltip-rangebar .category {
|
|
512
|
+
font-weight: 600;
|
|
513
|
+
color: #777
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.apexcharts-tooltip-rangebar .series-name {
|
|
517
|
+
font-weight: 700;
|
|
518
|
+
display: block;
|
|
519
|
+
margin-bottom: 5px
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.apexcharts-xaxistooltip,
|
|
523
|
+
.apexcharts-yaxistooltip {
|
|
524
|
+
opacity: 0;
|
|
525
|
+
pointer-events: none;
|
|
526
|
+
color: #373d3f;
|
|
527
|
+
font-size: 13px;
|
|
528
|
+
text-align: center;
|
|
529
|
+
border-radius: 2px;
|
|
530
|
+
position: absolute;
|
|
531
|
+
z-index: 10;
|
|
532
|
+
background: #eceff1;
|
|
533
|
+
border: 1px solid #90a4ae
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.apexcharts-xaxistooltip {
|
|
537
|
+
padding: 9px 10px;
|
|
538
|
+
transition: .15s ease all
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.apexcharts-xaxistooltip.apexcharts-theme-dark {
|
|
542
|
+
background: rgba(0, 0, 0, .7);
|
|
543
|
+
border: 1px solid rgba(0, 0, 0, .5);
|
|
544
|
+
color: #fff
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.apexcharts-xaxistooltip:after,
|
|
548
|
+
.apexcharts-xaxistooltip:before {
|
|
549
|
+
left: 50%;
|
|
550
|
+
border: solid transparent;
|
|
551
|
+
content: " ";
|
|
552
|
+
height: 0;
|
|
553
|
+
width: 0;
|
|
554
|
+
position: absolute;
|
|
555
|
+
pointer-events: none
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
.apexcharts-xaxistooltip:after {
|
|
559
|
+
border-color: transparent;
|
|
560
|
+
border-width: 6px;
|
|
561
|
+
margin-left: -6px
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.apexcharts-xaxistooltip:before {
|
|
565
|
+
border-color: transparent;
|
|
566
|
+
border-width: 7px;
|
|
567
|
+
margin-left: -7px
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
.apexcharts-xaxistooltip-bottom:after,
|
|
571
|
+
.apexcharts-xaxistooltip-bottom:before {
|
|
572
|
+
bottom: 100%
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.apexcharts-xaxistooltip-top:after,
|
|
576
|
+
.apexcharts-xaxistooltip-top:before {
|
|
577
|
+
top: 100%
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.apexcharts-xaxistooltip-bottom:after {
|
|
581
|
+
border-bottom-color: #eceff1
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.apexcharts-xaxistooltip-bottom:before {
|
|
585
|
+
border-bottom-color: #90a4ae
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:after,
|
|
589
|
+
.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:before {
|
|
590
|
+
border-bottom-color: rgba(0, 0, 0, .5)
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
.apexcharts-xaxistooltip-top:after {
|
|
594
|
+
border-top-color: #eceff1
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
.apexcharts-xaxistooltip-top:before {
|
|
598
|
+
border-top-color: #90a4ae
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
.apexcharts-xaxistooltip-top.apexcharts-theme-dark:after,
|
|
602
|
+
.apexcharts-xaxistooltip-top.apexcharts-theme-dark:before {
|
|
603
|
+
border-top-color: rgba(0, 0, 0, .5)
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
.apexcharts-xaxistooltip.apexcharts-active {
|
|
607
|
+
opacity: 1;
|
|
608
|
+
transition: .15s ease all
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
.apexcharts-yaxistooltip {
|
|
612
|
+
padding: 4px 10px
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
.apexcharts-yaxistooltip.apexcharts-theme-dark {
|
|
616
|
+
background: rgba(0, 0, 0, .7);
|
|
617
|
+
border: 1px solid rgba(0, 0, 0, .5);
|
|
618
|
+
color: #fff
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
.apexcharts-yaxistooltip:after,
|
|
622
|
+
.apexcharts-yaxistooltip:before {
|
|
623
|
+
top: 50%;
|
|
624
|
+
border: solid transparent;
|
|
625
|
+
content: " ";
|
|
626
|
+
height: 0;
|
|
627
|
+
width: 0;
|
|
628
|
+
position: absolute;
|
|
629
|
+
pointer-events: none
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
.apexcharts-yaxistooltip:after {
|
|
633
|
+
border-color: transparent;
|
|
634
|
+
border-width: 6px;
|
|
635
|
+
margin-top: -6px
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
.apexcharts-yaxistooltip:before {
|
|
639
|
+
border-color: transparent;
|
|
640
|
+
border-width: 7px;
|
|
641
|
+
margin-top: -7px
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
.apexcharts-yaxistooltip-left:after,
|
|
645
|
+
.apexcharts-yaxistooltip-left:before {
|
|
646
|
+
left: 100%
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
.apexcharts-yaxistooltip-right:after,
|
|
650
|
+
.apexcharts-yaxistooltip-right:before {
|
|
651
|
+
right: 100%
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.apexcharts-yaxistooltip-left:after {
|
|
655
|
+
border-left-color: #eceff1
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.apexcharts-yaxistooltip-left:before {
|
|
659
|
+
border-left-color: #90a4ae
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
.apexcharts-yaxistooltip-left.apexcharts-theme-dark:after,
|
|
663
|
+
.apexcharts-yaxistooltip-left.apexcharts-theme-dark:before {
|
|
664
|
+
border-left-color: rgba(0, 0, 0, .5)
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.apexcharts-yaxistooltip-right:after {
|
|
668
|
+
border-right-color: #eceff1
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.apexcharts-yaxistooltip-right:before {
|
|
672
|
+
border-right-color: #90a4ae
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
.apexcharts-yaxistooltip-right.apexcharts-theme-dark:after,
|
|
676
|
+
.apexcharts-yaxistooltip-right.apexcharts-theme-dark:before {
|
|
677
|
+
border-right-color: rgba(0, 0, 0, .5)
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
.apexcharts-yaxistooltip.apexcharts-active {
|
|
681
|
+
opacity: 1
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
.apexcharts-yaxistooltip-hidden {
|
|
685
|
+
display: none
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
.apexcharts-xcrosshairs,
|
|
689
|
+
.apexcharts-ycrosshairs {
|
|
690
|
+
pointer-events: none;
|
|
691
|
+
opacity: 0;
|
|
692
|
+
transition: .15s ease all
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
.apexcharts-xcrosshairs.apexcharts-active,
|
|
696
|
+
.apexcharts-ycrosshairs.apexcharts-active {
|
|
697
|
+
opacity: 1;
|
|
698
|
+
transition: .15s ease all
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
.apexcharts-ycrosshairs-hidden {
|
|
702
|
+
opacity: 0
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
.apexcharts-selection-rect {
|
|
706
|
+
cursor: move
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
.svg_select_shape {
|
|
710
|
+
stroke-width: 1;
|
|
711
|
+
stroke-dasharray: 10 10;
|
|
712
|
+
stroke: black;
|
|
713
|
+
stroke-opacity: 0.1;
|
|
714
|
+
pointer-events: none;
|
|
715
|
+
fill: none;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
.svg_select_handle {
|
|
719
|
+
stroke-width: 3;
|
|
720
|
+
stroke: black;
|
|
721
|
+
fill: none;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
.svg_select_handle_r {
|
|
725
|
+
cursor: e-resize;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
.svg_select_handle_l {
|
|
729
|
+
cursor: w-resize;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
.apexcharts-svg.apexcharts-zoomable.hovering-zoom {
|
|
733
|
+
cursor: crosshair
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
.apexcharts-svg.apexcharts-zoomable.hovering-pan {
|
|
737
|
+
cursor: move
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
.apexcharts-menu-icon,
|
|
741
|
+
.apexcharts-pan-icon,
|
|
742
|
+
.apexcharts-reset-icon,
|
|
743
|
+
.apexcharts-selection-icon,
|
|
744
|
+
.apexcharts-toolbar-custom-icon,
|
|
745
|
+
.apexcharts-zoom-icon,
|
|
746
|
+
.apexcharts-zoomin-icon,
|
|
747
|
+
.apexcharts-zoomout-icon {
|
|
748
|
+
cursor: pointer;
|
|
749
|
+
width: 20px;
|
|
750
|
+
height: 20px;
|
|
751
|
+
line-height: 24px;
|
|
752
|
+
color: #6e8192;
|
|
753
|
+
text-align: center
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
.apexcharts-menu-icon svg,
|
|
757
|
+
.apexcharts-reset-icon svg,
|
|
758
|
+
.apexcharts-zoom-icon svg,
|
|
759
|
+
.apexcharts-zoomin-icon svg,
|
|
760
|
+
.apexcharts-zoomout-icon svg {
|
|
761
|
+
fill: #6e8192
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
.apexcharts-selection-icon svg {
|
|
765
|
+
fill: #444;
|
|
766
|
+
transform: scale(.76)
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
.apexcharts-theme-dark .apexcharts-menu-icon svg,
|
|
770
|
+
.apexcharts-theme-dark .apexcharts-pan-icon svg,
|
|
771
|
+
.apexcharts-theme-dark .apexcharts-reset-icon svg,
|
|
772
|
+
.apexcharts-theme-dark .apexcharts-selection-icon svg,
|
|
773
|
+
.apexcharts-theme-dark .apexcharts-toolbar-custom-icon svg,
|
|
774
|
+
.apexcharts-theme-dark .apexcharts-zoom-icon svg,
|
|
775
|
+
.apexcharts-theme-dark .apexcharts-zoomin-icon svg,
|
|
776
|
+
.apexcharts-theme-dark .apexcharts-zoomout-icon svg {
|
|
777
|
+
fill: #f3f4f5
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
.apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg,
|
|
781
|
+
.apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg,
|
|
782
|
+
.apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg {
|
|
783
|
+
fill: #008ffb
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
.apexcharts-theme-light .apexcharts-menu-icon:hover svg,
|
|
787
|
+
.apexcharts-theme-light .apexcharts-reset-icon:hover svg,
|
|
788
|
+
.apexcharts-theme-light .apexcharts-selection-icon:not(.apexcharts-selected):hover svg,
|
|
789
|
+
.apexcharts-theme-light .apexcharts-zoom-icon:not(.apexcharts-selected):hover svg,
|
|
790
|
+
.apexcharts-theme-light .apexcharts-zoomin-icon:hover svg,
|
|
791
|
+
.apexcharts-theme-light .apexcharts-zoomout-icon:hover svg {
|
|
792
|
+
fill: #333
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
.apexcharts-menu-icon,
|
|
796
|
+
.apexcharts-selection-icon {
|
|
797
|
+
position: relative
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
.apexcharts-reset-icon {
|
|
801
|
+
margin-left: 5px
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
.apexcharts-menu-icon,
|
|
805
|
+
.apexcharts-reset-icon,
|
|
806
|
+
.apexcharts-zoom-icon {
|
|
807
|
+
transform: scale(.85)
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
.apexcharts-zoomin-icon,
|
|
811
|
+
.apexcharts-zoomout-icon {
|
|
812
|
+
transform: scale(.7)
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
.apexcharts-zoomout-icon {
|
|
816
|
+
margin-right: 3px
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
.apexcharts-pan-icon {
|
|
820
|
+
transform: scale(.62);
|
|
821
|
+
position: relative;
|
|
822
|
+
left: 1px;
|
|
823
|
+
top: 0
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
.apexcharts-pan-icon svg {
|
|
827
|
+
fill: #fff;
|
|
828
|
+
stroke: #6e8192;
|
|
829
|
+
stroke-width: 2
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
.apexcharts-pan-icon.apexcharts-selected svg {
|
|
833
|
+
stroke: #008ffb
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
.apexcharts-pan-icon:not(.apexcharts-selected):hover svg {
|
|
837
|
+
stroke: #333
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
.apexcharts-toolbar {
|
|
841
|
+
position: absolute;
|
|
842
|
+
z-index: 11;
|
|
843
|
+
max-width: 176px;
|
|
844
|
+
text-align: right;
|
|
845
|
+
border-radius: 3px;
|
|
846
|
+
padding: 0 6px 2px;
|
|
847
|
+
display: flex;
|
|
848
|
+
justify-content: space-between;
|
|
849
|
+
align-items: center
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
.apexcharts-menu {
|
|
853
|
+
background: #fff;
|
|
854
|
+
position: absolute;
|
|
855
|
+
top: 100%;
|
|
856
|
+
border: 1px solid #ddd;
|
|
857
|
+
border-radius: 3px;
|
|
858
|
+
padding: 3px;
|
|
859
|
+
right: 10px;
|
|
860
|
+
opacity: 0;
|
|
861
|
+
min-width: 110px;
|
|
862
|
+
transition: .15s ease all;
|
|
863
|
+
pointer-events: none
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
.apexcharts-menu.apexcharts-menu-open {
|
|
867
|
+
opacity: 1;
|
|
868
|
+
pointer-events: all;
|
|
869
|
+
transition: .15s ease all
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
.apexcharts-menu-item {
|
|
873
|
+
padding: 6px 7px;
|
|
874
|
+
font-size: 12px;
|
|
875
|
+
cursor: pointer
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
.apexcharts-theme-light .apexcharts-menu-item:hover {
|
|
879
|
+
background: #eee
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
.apexcharts-theme-dark .apexcharts-menu {
|
|
883
|
+
background: rgba(0, 0, 0, .7);
|
|
884
|
+
color: #fff
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
@media screen and (min-width:768px) {
|
|
888
|
+
.apexcharts-canvas:hover .apexcharts-toolbar {
|
|
889
|
+
opacity: 1
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
.apexcharts-canvas .apexcharts-element-hidden,
|
|
894
|
+
.apexcharts-datalabel.apexcharts-element-hidden,
|
|
895
|
+
.apexcharts-hide .apexcharts-series-points {
|
|
896
|
+
opacity: 0;
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
.apexcharts-hidden-element-shown {
|
|
900
|
+
opacity: 1;
|
|
901
|
+
transition: 0.25s ease all;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
.apexcharts-datalabel,
|
|
905
|
+
.apexcharts-datalabel-label,
|
|
906
|
+
.apexcharts-datalabel-value,
|
|
907
|
+
.apexcharts-datalabels,
|
|
908
|
+
.apexcharts-pie-label {
|
|
909
|
+
cursor: default;
|
|
910
|
+
pointer-events: none
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
.apexcharts-pie-label-delay {
|
|
914
|
+
opacity: 0;
|
|
915
|
+
animation-name: opaque;
|
|
916
|
+
animation-duration: .3s;
|
|
917
|
+
animation-fill-mode: forwards;
|
|
918
|
+
animation-timing-function: ease
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
.apexcharts-radialbar-label {
|
|
922
|
+
cursor: pointer;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
.apexcharts-annotation-rect,
|
|
926
|
+
.apexcharts-area-series .apexcharts-area,
|
|
927
|
+
.apexcharts-gridline,
|
|
928
|
+
.apexcharts-line,
|
|
929
|
+
.apexcharts-point-annotation-label,
|
|
930
|
+
.apexcharts-radar-series path:not(.apexcharts-marker),
|
|
931
|
+
.apexcharts-radar-series polygon,
|
|
932
|
+
.apexcharts-toolbar svg,
|
|
933
|
+
.apexcharts-tooltip .apexcharts-marker,
|
|
934
|
+
.apexcharts-xaxis-annotation-label,
|
|
935
|
+
.apexcharts-yaxis-annotation-label,
|
|
936
|
+
.apexcharts-zoom-rect,
|
|
937
|
+
.no-pointer-events {
|
|
938
|
+
pointer-events: none
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
.apexcharts-tooltip-active .apexcharts-marker {
|
|
942
|
+
transition: .15s ease all
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
.apexcharts-radar-series .apexcharts-yaxis {
|
|
946
|
+
pointer-events: none;
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
.resize-triggers {
|
|
950
|
+
animation: 1ms resizeanim;
|
|
951
|
+
visibility: hidden;
|
|
952
|
+
opacity: 0;
|
|
953
|
+
height: 100%;
|
|
954
|
+
width: 100%;
|
|
955
|
+
overflow: hidden
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
.contract-trigger:before,
|
|
959
|
+
.resize-triggers,
|
|
960
|
+
.resize-triggers>div {
|
|
961
|
+
content: " ";
|
|
962
|
+
display: block;
|
|
963
|
+
position: absolute;
|
|
964
|
+
top: 0;
|
|
965
|
+
left: 0
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
.resize-triggers>div {
|
|
969
|
+
height: 100%;
|
|
970
|
+
width: 100%;
|
|
971
|
+
background: #eee;
|
|
972
|
+
overflow: auto
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
.contract-trigger:before {
|
|
976
|
+
overflow: hidden;
|
|
977
|
+
width: 200%;
|
|
978
|
+
height: 200%
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
.apexcharts-bar-goals-markers {
|
|
982
|
+
pointer-events: none
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
.apexcharts-bar-shadows {
|
|
986
|
+
pointer-events: none
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
.apexcharts-rangebar-goals-markers {
|
|
990
|
+
pointer-events: none
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
.apexcharts-disable-transitions * {
|
|
994
|
+
transition: none !important;
|
|
995
|
+
}`;var u=((c=e.opts.chart)===null||c===void 0?void 0:c.nonce)||e.w.config.chart.nonce;u&&l.setAttribute("nonce",u),n?r.prepend(l):e.w.config.chart.injectStyleSheet!==!1&&o.head.appendChild(l)}var d=e.create(e.w.config.series,{});if(!d)return t(e);e.mount(d).then((function(){typeof e.w.config.chart.events.mounted=="function"&&e.w.config.chart.events.mounted(e,e.w),e.events.fireEvent("mounted",[e,e.w]),t(d)})).catch((function(h){a(h)}))}else a(new Error("Element not found"))}))}},{key:"create",value:function(e,t){var a=this,s=this.w;new zg(this).initModules();var r=this.w.globals;if(r.noData=!1,r.animationEnded=!1,!T.elementExists(this.el)||(this.responsive.checkResponsiveConfig(t),s.config.xaxis.convertedCatToNumeric&&new Or(s.config).convertCatToNumericXaxis(s.config,this.ctx),this.core.setupElements(),s.config.chart.type==="treemap"&&(s.config.grid.show=!1,s.config.yaxis[0].show=!1),r.svgWidth===0))return r.animationEnded=!0,null;var n=e;e.forEach((function(h,f){h.hidden&&(n=a.legend.legendHelpers.getSeriesAfterCollapsing({realIndex:f}))}));var o=rt.checkComboSeries(n,s.config.chart.type);r.comboCharts=o.comboCharts,r.comboBarCount=o.comboBarCount;var l=n.every((function(h){return h.data&&h.data.length===0}));(n.length===0||l&&r.collapsedSeries.length<1)&&this.series.handleNoData(),this.events.setupEventHandlers(),this.data.parseData(n),this.theme.init(),new Xs(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),r.noData&&r.collapsedSeries.length!==r.series.length&&!s.config.legend.showForSingleSeries||this.legend.init(),this.series.hasAllSeriesEqualX(),r.axisCharts&&(this.core.coreCalculations(),s.config.xaxis.type!=="category"&&this.formatters.setLabelFormatters(),this.ctx.toolbar.minX=s.globals.minX,this.ctx.toolbar.maxX=s.globals.maxX),this.formatters.heatmapLabelFormatters(),new rt(this).getLargestMarkerSize(),this.dimensions.plotCoords();var c=this.core.xySettings();this.grid.createGridMask();var u=this.core.plotChartType(n,c),d=new Ls(this);return d.bringForward(),s.config.dataLabels.background.enabled&&d.dataLabelsBackground(),this.core.shiftGraphPosition(),s.globals.dataPoints>50&&s.globals.dom.elWrap.classList.add("apexcharts-disable-transitions"),{elGraph:u,xyRatios:c,dimensions:{plot:{left:s.globals.translateX,top:s.globals.translateY,width:s.globals.gridWidth,height:s.globals.gridHeight}}}}},{key:"mount",value:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this,s=a.w;return new Promise((function(r,n){if(a.el===null)return n(new Error("Not enough data to display or target element not found"));(t===null||s.globals.allSeriesCollapsed)&&a.series.handleNoData(),a.grid=new Ex(a);var o,l,c=a.grid.drawGrid();if(a.annotations=new B_(a),a.annotations.drawImageAnnos(),a.annotations.drawTextAnnos(),s.config.grid.position==="back"&&(c&&s.globals.dom.elGraphical.add(c.el),c!=null&&(o=c.elGridBorders)!==null&&o!==void 0&&o.node&&s.globals.dom.elGraphical.add(c.elGridBorders)),Array.isArray(t.elGraph))for(var u=0;u<t.elGraph.length;u++)s.globals.dom.elGraphical.add(t.elGraph[u]);else s.globals.dom.elGraphical.add(t.elGraph);s.config.grid.position==="front"&&(c&&s.globals.dom.elGraphical.add(c.el),c!=null&&(l=c.elGridBorders)!==null&&l!==void 0&&l.node&&s.globals.dom.elGraphical.add(c.elGridBorders)),s.config.xaxis.crosshairs.position==="front"&&a.crosshairs.drawXCrosshairs(),s.config.yaxis[0].crosshairs.position==="front"&&a.crosshairs.drawYCrosshairs(),s.config.chart.type!=="treemap"&&a.axes.drawAxis(s.config.chart.type,c);var d=new zr(e.ctx,c),h=new Pd(e.ctx,c);if(c!==null&&(d.xAxisLabelCorrections(c.xAxisTickWidth),h.setYAxisTextAlignments(),s.config.yaxis.map((function(g,p){s.globals.ignoreYAxisIndexes.indexOf(p)===-1&&h.yAxisTitleRotate(p,g.opposite)}))),a.annotations.drawAxesAnnotations(),!s.globals.noData){if(s.config.tooltip.enabled&&!s.globals.noData&&a.w.globals.tooltip.drawTooltip(t.xyRatios),s.globals.axisCharts&&(s.globals.isXNumeric||s.config.xaxis.convertedCatToNumeric||s.globals.isRangeBar))(s.config.chart.zoom.enabled||s.config.chart.selection&&s.config.chart.selection.enabled||s.config.chart.pan&&s.config.chart.pan.enabled)&&a.zoomPanSelection.init({xyRatios:t.xyRatios});else{var f=s.config.chart.toolbar.tools;["zoom","zoomin","zoomout","selection","pan","reset"].forEach((function(g){f[g]=!1}))}s.config.chart.toolbar.show&&!s.globals.allSeriesCollapsed&&a.toolbar.createToolbar()}s.globals.memory.methodsToExec.length>0&&s.globals.memory.methodsToExec.forEach((function(g){g.method(g.params,!1,g.context)})),s.globals.axisCharts||s.globals.noData||a.core.resizeNonAxisCharts(),r(a)}))}},{key:"destroy",value:function(){window.removeEventListener("resize",this.windowResizeHandler),(function(t,a){var s=ac.get(a);s&&(s.disconnect(),ac.delete(a))})(this.el.parentNode,this.parentResizeHandler);var e=this.w.config.chart.id;e&&Apex._chartInstances.forEach((function(t,a){t.id===T.escapeString(e)&&Apex._chartInstances.splice(a,1)})),new Bg(this.ctx).clear({isUpdating:!1})}},{key:"updateOptions",value:function(e){var t=this,a=arguments.length>1&&arguments[1]!==void 0&&arguments[1],s=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],r=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],n=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],o=this.w;return o.globals.selection=void 0,this.lastUpdateOptions&&JSON.stringify(this.lastUpdateOptions)===JSON.stringify(e)?this:(e.series&&(this.data.resetParsingFlags(),this.series.resetSeries(!1,!0,!1),e.series.length&&e.series[0].data&&(e.series=e.series.map((function(l,c){return t.updateHelpers._extendSeries(l,c)}))),this.updateHelpers.revertDefaultAxisMinMax()),e.xaxis&&(e=this.updateHelpers.forceXAxisUpdate(e)),e.yaxis&&(e=this.updateHelpers.forceYAxisUpdate(e)),o.globals.collapsedSeriesIndices.length>0&&this.series.clearPreviousPaths(),e.theme&&(e=this.theme.updateThemeOptions(e)),this.updateHelpers._updateOptions(e,a,s,r,n))}},{key:"updateSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];return this.data.resetParsingFlags(),this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(e,t,a)}},{key:"appendSeries",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];this.data.resetParsingFlags();var s=this.w.config.series.slice();return s.push(e),this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(s,t,a)}},{key:"appendData",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=this;a.data.resetParsingFlags(),a.w.globals.dataChanged=!0,a.series.getPreviousPaths();for(var s=a.w.config.series.slice(),r=0;r<s.length;r++)if(e[r]!==null&&e[r]!==void 0)for(var n=0;n<e[r].data.length;n++)s[r].data.push(e[r].data[n]);return a.w.config.series=s,t&&(a.w.globals.initialSeries=T.clone(a.w.config.series)),this.update()}},{key:"update",value:function(e){var t=this;return new Promise((function(a,s){if(t.lastUpdateOptions&&JSON.stringify(t.lastUpdateOptions)===JSON.stringify(e))return a(t);t.lastUpdateOptions=T.clone(e),new Bg(t.ctx).clear({isUpdating:!0});var r=t.create(t.w.config.series,e);if(!r)return a(t);t.mount(r).then((function(){typeof t.w.config.chart.events.updated=="function"&&t.w.config.chart.events.updated(t,t.w),t.events.fireEvent("updated",[t,t.w]),t.w.globals.isDirty=!0,a(t)})).catch((function(n){s(n)}))}))}},{key:"getSyncedCharts",value:function(){var e=this.getGroupedCharts(),t=[this];return e.length&&(t=[],e.forEach((function(a){t.push(a)}))),t}},{key:"getGroupedCharts",value:function(){var e=this;return Apex._chartInstances.filter((function(t){if(t.group)return!0})).map((function(t){return e.w.config.chart.group===t.group?t.chart:e}))}},{key:"toggleSeries",value:function(e){return this.series.toggleSeries(e)}},{key:"highlightSeriesOnLegendHover",value:function(e,t){return this.series.toggleSeriesOnHover(e,t)}},{key:"showSeries",value:function(e){this.series.showSeries(e)}},{key:"hideSeries",value:function(e){this.series.hideSeries(e)}},{key:"highlightSeries",value:function(e){this.series.highlightSeries(e)}},{key:"isSeriesHidden",value:function(e){this.series.isSeriesHidden(e)}},{key:"resetSeries",value:function(){var e=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];this.series.resetSeries(e,t)}},{key:"addEventListener",value:function(e,t){this.events.addEventListener(e,t)}},{key:"removeEventListener",value:function(e,t){this.events.removeEventListener(e,t)}},{key:"addXaxisAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,s=this;a&&(s=a),s.annotations.addXaxisAnnotationExternal(e,t,s)}},{key:"addYaxisAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,s=this;a&&(s=a),s.annotations.addYaxisAnnotationExternal(e,t,s)}},{key:"addPointAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,s=this;a&&(s=a),s.annotations.addPointAnnotationExternal(e,t,s)}},{key:"clearAnnotations",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,t=this;e&&(t=e),t.annotations.clearAnnotations(t)}},{key:"removeAnnotation",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,a=this;t&&(a=t),a.annotations.removeAnnotation(a,e)}},{key:"getChartArea",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner")}},{key:"getSeriesTotalXRange",value:function(e,t){return this.coreUtils.getSeriesTotalsXRange(e,t)}},{key:"getHighestValueInSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new gu(this.ctx).getMinYMaxY(e).highestY}},{key:"getLowestValueInSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new gu(this.ctx).getMinYMaxY(e).lowestY}},{key:"getSeriesTotal",value:function(){return this.w.globals.seriesTotals}},{key:"toggleDataPointSelection",value:function(e,t){return this.updateHelpers.toggleDataPointSelection(e,t)}},{key:"zoomX",value:function(e,t){this.ctx.toolbar.zoomUpdateOptions(e,t)}},{key:"setLocale",value:function(e){this.localization.setCurrentLocaleValues(e)}},{key:"dataURI",value:function(e){return new vr(this.ctx).dataURI(e)}},{key:"getSvgString",value:function(e){return new vr(this.ctx).getSvgString(e)}},{key:"exportToCSV",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new vr(this.ctx).exportToCSV(e)}},{key:"paper",value:function(){return this.w.globals.dom.Paper}},{key:"_parentResizeCallback",value:function(){this.w.globals.animationEnded&&this.w.config.chart.redrawOnParentResize&&this._windowResize()}},{key:"_windowResize",value:function(){var e=this;clearTimeout(this.w.globals.resizeTimer),this.w.globals.resizeTimer=window.setTimeout((function(){e.w.globals.resized=!0,e.w.globals.dataChanged=!1,e.ctx.update()}),150)}},{key:"_windowResizeHandler",value:function(){var e=this.w.config.chart.redrawOnWindowResize;typeof e=="function"&&(e=e()),e&&this._windowResize()}}],[{key:"getChartByID",value:function(e){var t=T.escapeString(e);if(Apex._chartInstances){var a=Apex._chartInstances.filter((function(s){return s.id===t}))[0];return a&&a.chart}}},{key:"initOnLoad",value:function(){for(var e=document.querySelectorAll("[data-apexcharts]"),t=0;t<e.length;t++)new i(e[t],JSON.parse(e[t].getAttribute("data-options"))).render()}},{key:"exec",value:function(e,t){var a=this.getChartByID(e);if(a){a.w.globals.isExecCalled=!0;var s=null;if(a.publicMethods.indexOf(t)!==-1){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];s=a[t].apply(a,n)}return s}}},{key:"merge",value:function(e,t){return T.extend(e,t)}},{key:"getThemePalettes",value:function(){return{palette1:["#008FFB","#00E396","#FEB019","#FF4560","#775DD0"],palette2:["#3F51B5","#03A9F4","#4CAF50","#F9CE1D","#FF9800"],palette3:["#33B2DF","#546E7A","#D4526E","#13D8AA","#A5978B"],palette4:["#4ECDC4","#C7F464","#81D4FA","#FD6A6A","#546E7A"],palette5:["#2B908F","#F9A3A4","#90EE7E","#FA4443","#69D2E7"],palette6:["#449DD1","#F86624","#EA3546","#662E9B","#C5D86D"],palette7:["#D7263D","#1B998B","#2E294E","#F46036","#E2C044"],palette8:["#662E9B","#F86624","#F9C80E","#EA3546","#43BCCD"],palette9:["#5C4742","#A5978B","#8D5B4C","#5A2A27","#C4BBAF"],palette10:["#A300D6","#7D02EB","#5653FE","#2983FF","#00B1F2"]}}}]),i})();const Wg=["animationEnd","beforeMount","mounted","updated","click","mouseMove","mouseLeave","legendClick","markerClick","selection","dataPointSelection","dataPointMouseEnter","dataPointMouseLeave","beforeZoom","beforeResetZoom","zoomed","scrolled","brushScrolled"],wo=Io({name:"apexchart",props:{options:{type:Object},type:{type:String},series:{type:Array,required:!0},width:{default:"100%"},height:{default:"auto"}},emits:Wg,setup(i,{emit:e}){const t=nt(null),a=nt(null),s=M=>M&&typeof M=="object"&&!Array.isArray(M)&&M!=null,r=(M,P)=>{typeof Object.assign!="function"&&(function(){Object.assign=function(L){if(L==null)throw new TypeError("Cannot convert undefined or null to object");let B=Object(L);for(let N=1;N<arguments.length;N++){let F=arguments[N];if(F!=null)for(let H in F)F.hasOwnProperty(H)&&(B[H]=F[H])}return B}})();let D=Object.assign({},M);return s(M)&&s(P)&&Object.keys(P).forEach(L=>{s(P[L])?L in M?D[L]=r(M[L],P[L]):Object.assign(D,{[L]:P[L]}):Object.assign(D,{[L]:P[L]})}),D},n=async()=>{if(await Vr(),a.value)return;const M={chart:{type:i.type||i.options.chart.type||"line",height:i.height,width:i.width,events:{}},series:i.series},P=i.options.chart?i.options.chart.events:null;Wg.forEach(L=>{let B=(...N)=>e(L,...N);M.chart.events[L]=(...N)=>{B(...N),P&&P.hasOwnProperty(L)&&P[L](...N)}});const D=r(i.options,M);return a.value=new Hg(t.value,D),a.value.render()},o=()=>(l(),n()),l=()=>{a.value.destroy(),a.value=null},c=(M,P)=>a.value.updateSeries(M,P),u=(M,P,D,L)=>a.value.updateOptions(M,P,D,L),d=M=>a.value.toggleSeries(M),h=M=>{a.value.showSeries(M)},f=M=>{a.value.hideSeries(M)},g=(M,P)=>a.value.appendSeries(M,P),p=()=>{a.value.resetSeries()},m=(M,P)=>{a.value.toggleDataPointSelection(M,P)},b=M=>a.value.appendData(M),v=(M,P)=>a.value.zoomX(M,P),x=M=>a.value.dataURI(M),k=M=>a.value.setLocale(M),y=(M,P)=>{a.value.addXaxisAnnotation(M,P)},A=(M,P)=>{a.value.addYaxisAnnotation(M,P)},w=(M,P)=>{a.value.addPointAnnotation(M,P)},S=(M,P)=>{a.value.removeAnnotation(M,P)},C=()=>{a.value.clearAnnotations()};Rp(()=>{window.ApexCharts=Hg}),Fu(()=>{t.value=Ki().proxy.$el,n()}),zu(()=>{a.value&&l()});const E=Ru(i);return At(E.options,()=>{!a.value&&i.options?n():a.value.updateOptions(i.options)}),At(E.series,()=>{!a.value&&i.series?n():a.value.updateSeries(i.series)},{deep:!0}),At(E.type,()=>{o()}),At(E.width,()=>{o()}),At(E.height,()=>{o()}),{chart:a,init:n,refresh:o,destroy:l,updateOptions:u,updateSeries:c,toggleSeries:d,showSeries:h,hideSeries:f,resetSeries:p,zoomX:v,toggleDataPointSelection:m,appendData:b,appendSeries:g,addXaxisAnnotation:y,addYaxisAnnotation:A,addPointAnnotation:w,removeAnnotation:S,clearAnnotations:C,setLocale:k,dataURI:x}},render(){return Yr("div",{class:"vue-apexcharts"})}}),xI=i=>{i.component(wo.name,wo)};wo.install=xI;function yI(i){i.use(ja).use(TA).use(LE).use(ua).use(i_).use(a_).use(wo)}const wI=(i,e)=>{const t=i.__vccOpts||i;for(const[a,s]of e)t[a]=s;return t},kI={};function AI(i,e){const t=tw("router-view");return Cr(),Qn(Tw,null,{default:kp(()=>[it(t)]),_:1})}const SI=wI(kI,[["render",AI]]);let zx;fetch("/config.json").then(i=>{i.json().then(e=>{if(!e.API_BASE_URL)throw Error("API_BASE_URL is not defined in config.json");zx=e,ue.defaults.baseURL=e.API_BASE_URL;const t=_0(SI);yI(t),t.mount("#app"),t.provide("$config",e)})});const Bx=()=>zx;export{Np as $,NI as A,XT as B,ue as C,xe as D,rb as E,kt as F,ja as G,LI as H,xk as I,zo as J,Rm as K,EI as L,xA as M,Je as N,wk as O,z0 as P,BT as Q,Ru as R,qI as S,IT as T,F0 as U,zT as V,TI as W,CI as X,Bw as Y,Op as Z,wI as _,it as a,fn as a$,Vr as a0,Eo as a1,GI as a2,uT as a3,OT as a4,tT as a5,Ti as a6,Wt as a7,NT as a8,km as a9,PI as aA,zu as aB,MI as aC,Ur as aD,Yu as aE,nT as aF,MT as aG,PT as aH,Pm as aI,CT as aJ,lk as aK,qa as aL,pl as aM,aT as aN,KI as aO,XI as aP,ET as aQ,Wi as aR,ck as aS,_T as aT,Rp as aU,VI as aV,Ns as aW,oc as aX,Di as aY,Gy as aZ,qy as a_,Lo as aa,vT as ab,Mk as ac,dA as ad,xn as ae,Io as af,Yr as ag,D0 as ah,xr as ai,eT as aj,U0 as ak,yn as al,BI as am,za as an,VT as ao,jT as ap,Nt as aq,xT as ar,pT as as,gT as at,X0 as au,DT as av,$I as aw,ZI as ax,N0 as ay,xm as az,fD as b,FT as b0,Br as b1,oT as b2,Dy as b3,nk as b4,ST as b5,fk as b6,UI as b7,Mo as b8,gk as b9,bT as bA,xh as bB,hT as bC,Ky as bD,TT as bE,YI as bF,yc as bG,fT as bH,HT as bI,iT as bJ,kT as bK,pa as bL,Lu as bM,hD as bN,sT as bO,WI as bP,Ny as bQ,Ki as bR,wT as bS,QI as bT,lT as ba,YT as bb,zI as bc,_I as bd,rT as be,qT as bf,Am as bg,Ut as bh,yT as bi,st as bj,WT as bk,j0 as bl,Oo as bm,dT as bn,HI as bo,AT as bp,Bx as bq,JI as br,cT as bs,RT as bt,LT as bu,Pe as bv,L0 as bw,mT as bx,V0 as by,Y0 as bz,Qn as c,Fu as d,gs as e,ei as f,RI as g,nt as h,Xe as i,ce as j,Hw as k,OI as l,FI as m,DE as n,Cr as o,jI as p,UT as q,tw as r,II as s,dy as t,Go as u,lm as v,kp as w,DI as x,Hr as y,At as z};
|