From dbb3086a42634c121796d4c213f14c6081c0e9c8 Mon Sep 17 00:00:00 2001 From: Chengxun Lee <24319042+bclswl0827@users.noreply.github.com> Date: Tue, 5 Mar 2024 13:53:06 +0800 Subject: [PATCH] Optimization for frontend performance --- CHANGELOG.md | 7 + VERSION | 2 +- app/v1/mseed/list.go | 2 +- app/v1/mseed/types.go | 2 +- app/v1/trace/scea-b.go | 4 +- docs/docs.go | 2 +- docs/swagger.json | 2 +- docs/swagger.yaml | 2 +- feature/seedlink/buffer.go | 2 +- frontend/dist/asset-manifest.json | 94 +- frontend/dist/i18n/ja-JP.json | 256 - frontend/dist/i18n/ko-KR.json | 256 - frontend/dist/i18n/zh-CN.json | 285 - frontend/dist/i18n/zh-TW.json | 285 - frontend/dist/index.html | 2 +- frontend/dist/manifest.json | 4 +- .../dist/static/css/290.525e2941.chunk.css | 1 - .../dist/static/css/398.d6bfd15f.chunk.css | 1 + frontend/dist/static/css/main.40ace055.css | 3 - frontend/dist/static/css/main.87b912ec.css | 3 + frontend/dist/static/js/144.5b8fabfd.chunk.js | 1 - frontend/dist/static/js/165.41b9296d.chunk.js | 1 - frontend/dist/static/js/252.5327abb2.chunk.js | 1 - frontend/dist/static/js/253.480b4667.chunk.js | 1 - frontend/dist/static/js/263.1e5bdafe.chunk.js | 1 + frontend/dist/static/js/290.4f498365.chunk.js | 1 - frontend/dist/static/js/332.60fa82e5.chunk.js | 1 - frontend/dist/static/js/366.14cf3b89.chunk.js | 1 - frontend/dist/static/js/377.f0e1c66a.chunk.js | 2 - .../js/377.f0e1c66a.chunk.js.LICENSE.txt | 1 - frontend/dist/static/js/39.19e82dc5.chunk.js | 1 + frontend/dist/static/js/398.c8228dff.chunk.js | 1 + frontend/dist/static/js/4.d126994b.chunk.js | 1 + frontend/dist/static/js/45.6253252a.chunk.js | 1 + frontend/dist/static/js/548.a7a825fc.chunk.js | 1 + frontend/dist/static/js/59.a77c052b.chunk.js | 1 - frontend/dist/static/js/596.0088f6dd.chunk.js | 1 - frontend/dist/static/js/600.4361e201.chunk.js | 1 + frontend/dist/static/js/654.ff569d5a.chunk.js | 2 + .../js/654.ff569d5a.chunk.js.LICENSE.txt | 9 + frontend/dist/static/js/669.c0f124af.chunk.js | 1 - frontend/dist/static/js/699.bfe1a060.chunk.js | 1 + frontend/dist/static/js/717.bc51ac50.chunk.js | 2 + ....txt => 717.bc51ac50.chunk.js.LICENSE.txt} | 0 frontend/dist/static/js/73.e52fa58f.chunk.js | 1 + frontend/dist/static/js/735.26a45829.chunk.js | 1 - frontend/dist/static/js/822.ae40dac1.chunk.js | 2 - frontend/dist/static/js/84.5e2e5e1b.chunk.js | 1 + frontend/dist/static/js/912.b577a56b.chunk.js | 1 - frontend/dist/static/js/925.33fda54f.chunk.js | 2 + .../js/925.33fda54f.chunk.js.LICENSE.txt | 9 + frontend/dist/static/js/974.8dde0f3d.chunk.js | 1 + frontend/dist/static/js/979.14e4e415.chunk.js | 1 - frontend/dist/static/js/main.71322421.js | 2 - frontend/dist/static/js/main.8a2feefb.js | 2 + ...CENSE.txt => main.8a2feefb.js.LICENSE.txt} | 6 +- ...solid.e3aced2a80c2b888104322b1ae60b47f.svg | 1 + .../media/getFetch.40f37ddea2378391108f.cjs | 1 - ...ithub.7ef913a817353b753f86393c71e91790.svg | 1 + ...solid.71f9ca7d042dcd0fd05a55e608a63a64.svg | 1 - ...solid.33c889ee6afa3ed57684011608af6238.svg | 1 + frontend/src/.env | 4 +- frontend/src/.env.development | 2 + frontend/src/craco.config.js | 1 + frontend/src/package-lock.json | 36292 ++++++++-------- frontend/src/package.json | 132 +- frontend/src/public/i18n/en-US.json | 285 - frontend/src/public/i18n/ja-JP.json | 256 - frontend/src/public/i18n/ko-KR.json | 256 - frontend/src/public/index.html | 45 +- frontend/src/public/manifest.json | 4 +- frontend/src/src/App.tsx | 193 +- .../src/src/assets/icons/ellipsis-solid.svg | 1 + frontend/src/src/assets/icons/github.svg | 1 + frontend/src/src/assets/icons/xmark-solid.svg | 1 + frontend/src/src/components/Area.tsx | 89 - frontend/src/src/components/Banner.tsx | 116 +- frontend/src/src/components/Button.tsx | 45 +- frontend/src/src/components/Card.tsx | 44 - frontend/src/src/components/Chart.tsx | 187 +- frontend/src/src/components/Container.tsx | 38 +- frontend/src/src/components/Content.tsx | 20 - frontend/src/src/components/Footer.tsx | 53 +- frontend/src/src/components/Form.tsx | 105 + frontend/src/src/components/FormDialog.tsx | 99 - frontend/src/src/components/Header.tsx | 89 +- frontend/src/src/components/Holder.tsx | 98 + frontend/src/src/components/Input.tsx | 67 + frontend/src/src/components/Label.tsx | 82 +- frontend/src/src/components/MapBox.tsx | 108 +- frontend/src/src/components/ModalDialog.tsx | 98 - frontend/src/src/components/Navbar.tsx | 81 +- frontend/src/src/components/NotFound.tsx | 18 - frontend/src/src/components/PageLoader.tsx | 18 - frontend/src/src/components/Panel.tsx | 35 + frontend/src/src/components/Polling.tsx | 36 - frontend/src/src/components/Progress.tsx | 60 +- frontend/src/src/components/RouterView.tsx | 29 + frontend/src/src/components/RouterWrapper.tsx | 19 + frontend/src/src/components/Scroller.tsx | 69 +- frontend/src/src/components/Select.tsx | 72 + frontend/src/src/components/SelectDialog.tsx | 43 - frontend/src/src/components/Sidebar.tsx | 161 +- frontend/src/src/components/Skeleton.tsx | 26 + frontend/src/src/components/Table.tsx | 242 +- frontend/src/src/components/Text.tsx | 13 - frontend/src/src/components/TimePicker.tsx | 116 +- frontend/src/src/components/View.tsx | 27 - frontend/src/src/config/adc.tsx | 4 - frontend/src/src/config/api.tsx | 186 +- frontend/src/src/config/geophone.tsx | 6 - frontend/src/src/config/global.tsx | 90 +- frontend/src/src/config/i18n.tsx | 57 +- frontend/src/src/config/menu.tsx | 89 +- frontend/src/src/config/router.tsx | 127 +- frontend/src/src/config/station.tsx | 5 - frontend/src/src/config/store.tsx | 49 +- frontend/src/src/custom.d.ts | 1 - frontend/src/src/helpers/app/getApiUrl.tsx | 11 - frontend/src/src/helpers/app/getAsciiArt.tsx | 4 +- frontend/src/src/helpers/app/getBackend.tsx | 10 - frontend/src/src/helpers/app/getProtocol.tsx | 12 + frontend/src/src/helpers/app/getRelease.tsx | 4 +- frontend/src/src/helpers/app/getVersion.tsx | 4 +- .../src/src/helpers/array/getQueueArray.tsx | 19 - .../src/src/helpers/array/getSortedArray.tsx | 37 - frontend/src/src/helpers/hook/useInterval.tsx | 29 + frontend/src/src/helpers/hook/useSocket.tsx | 40 + frontend/src/src/helpers/i18n/createI18n.tsx | 20 +- .../src/src/helpers/i18n/getCurrentLocale.tsx | 4 + frontend/src/src/helpers/i18n/getLanguage.tsx | 22 - .../src/src/helpers/i18n/setUserLocale.tsx | 4 + frontend/src/src/helpers/i18n/toggleI18n.tsx | 15 - .../src/helpers/interact/sendPromiseAlert.tsx | 25 + .../src/helpers/interact/sendUserAlert.tsx | 13 + .../src/helpers/interact/sendUserConfirm.tsx | 66 + .../src/src/helpers/request/connectSocket.tsx | 42 + .../src/helpers/request/requestRestApi.tsx | 99 + .../src/helpers/request/restfulApiByTag.tsx | 121 - .../src/helpers/request/websocketByTag.tsx | 45 - .../src/src/helpers/router/getRouterParam.tsx | 26 - .../src/src/helpers/router/getRouterTitle.tsx | 15 - .../src/src/helpers/router/getRouterUri.tsx | 15 - .../src/src/helpers/router/withRouter.tsx | 19 - ...cceleration.tsx => getAccelerationArr.tsx} | 9 +- .../src/helpers/seismic/getFilteredCounts.tsx | 48 + .../{getVelocity.tsx => getVelocityArr.tsx} | 7 +- .../{getVoltage.tsx => getVoltageArr.tsx} | 4 +- .../src/helpers/seismic/intensityStandard.tsx | 108 +- .../src/helpers/storage/getLocalStorage.tsx | 22 - .../src/helpers/storage/setLocalStorage.tsx | 5 - .../src/src/helpers/utils/getDayOfYear.tsx | 4 +- .../src/src/helpers/utils/getTimeString.tsx | 15 +- .../src/src/helpers/utils/mapStateToProps.tsx | 7 - .../src/helpers/utils/setClipboardText.tsx | 19 + .../src/src/helpers/utils/setObjectByPath.tsx | 37 - .../src/src/helpers/utils/userDebounce.tsx | 15 - .../src/src/helpers/utils/userThrottle.tsx | 21 +- frontend/src/src/index.css | 2 +- frontend/src/src/index.tsx | 20 +- .../{dist/i18n => src/src/locales}/en-US.json | 228 +- .../{public/i18n => src/locales}/zh-CN.json | 234 +- .../{public/i18n => src/locales}/zh-TW.json | 236 +- .../src/src/models/request/history/0.json | 6 + frontend/src/src/models/request/mseed/0.json | 3 + frontend/src/src/models/request/mseed/1.json | 4 + .../src/models/request/socket/0.json} | 0 .../models/request/station/0.json} | 0 frontend/src/src/models/request/trace/0.json | 3 + .../src/models/response/common/history/0.json | 21 + .../src/models/response/common/mseed/0.json | 15 + .../src/models/response/common/socket/0.json | 12 + .../src/models/response/common/station/0.json | 62 + .../src/models/response/common/trace/0.json | 13 + .../src/models/response/common/trace/1.json | 24 + .../src/models/response/error/history.json | 8 + .../src/src/models/response/error/mseed.json | 8 + .../src/models/response/error/station.json | 8 + .../src/src/models/response/error/trace.json | 8 + frontend/src/src/store/adc.tsx | 26 - frontend/src/src/store/duration.tsx | 29 - frontend/src/src/store/retention.tsx | 29 - frontend/src/src/store/scale.tsx | 26 - frontend/src/src/stores/adc.tsx | 23 + frontend/src/src/stores/duration.tsx | 23 + .../src/src/{store => stores}/geophone.tsx | 24 +- frontend/src/src/stores/retention.tsx | 23 + frontend/src/src/stores/scale.tsx | 18 + .../src/src/{store => stores}/station.tsx | 18 +- .../src/views/Export/getExportsUpdates.tsx | 19 + .../src/src/views/Export/handleSetTable.tsx | 26 + frontend/src/src/views/Export/index.tsx | 306 +- .../src/src/views/History/getSACFileName.tsx | 28 + .../src/src/views/History/handleSetCharts.tsx | 99 + .../src/src/views/History/handleSetLabels.tsx | 67 + frontend/src/src/views/History/index.tsx | 1280 +- frontend/src/src/views/History/setADC.tsx | 9 - frontend/src/src/views/History/setAreas.tsx | 37 - .../src/src/views/History/setGeophone.tsx | 9 - frontend/src/src/views/History/setLabels.tsx | 127 - frontend/src/src/views/History/setStation.tsx | 9 - .../src/src/views/Home/getStationUpdates.tsx | 18 + .../src/src/views/Home/handleSetBanner.tsx | 34 + .../src/src/views/Home/handleSetCharts.tsx | 66 + .../src/src/views/Home/handleSetLabels.tsx | 23 + frontend/src/src/views/Home/handleSetMap.tsx | 37 + frontend/src/src/views/Home/index.tsx | 445 +- frontend/src/src/views/Home/setAreas.tsx | 31 - frontend/src/src/views/Home/setBanner.tsx | 33 - frontend/src/src/views/Home/setLabels.tsx | 14 - frontend/src/src/views/Home/setMap.tsx | 28 - frontend/src/src/views/NotFound.tsx | 17 + .../src/views/Realtime/getSocketUpdates.tsx | 9 + .../src/views/Realtime/handleSetBanner.tsx | 41 + .../src/views/Realtime/handleSetCharts.tsx | 145 + frontend/src/src/views/Realtime/index.tsx | 552 +- frontend/src/src/views/Realtime/setADC.tsx | 9 - frontend/src/src/views/Realtime/setAreas.tsx | 83 - frontend/src/src/views/Realtime/setBanner.tsx | 42 - .../src/src/views/Realtime/setGeophone.tsx | 9 - .../src/src/views/Realtime/setStation.tsx | 9 - frontend/src/src/views/Setting/index.tsx | 496 +- frontend/src/tailwind.config.js | 2 +- frontend/src/tsconfig.json | 42 +- server/daemon.go | 4 +- server/router.go | 6 +- 226 files changed, 24300 insertions(+), 23880 deletions(-) delete mode 100644 frontend/dist/i18n/ja-JP.json delete mode 100644 frontend/dist/i18n/ko-KR.json delete mode 100644 frontend/dist/i18n/zh-CN.json delete mode 100644 frontend/dist/i18n/zh-TW.json delete mode 100644 frontend/dist/static/css/290.525e2941.chunk.css create mode 100644 frontend/dist/static/css/398.d6bfd15f.chunk.css delete mode 100644 frontend/dist/static/css/main.40ace055.css create mode 100644 frontend/dist/static/css/main.87b912ec.css delete mode 100644 frontend/dist/static/js/144.5b8fabfd.chunk.js delete mode 100644 frontend/dist/static/js/165.41b9296d.chunk.js delete mode 100644 frontend/dist/static/js/252.5327abb2.chunk.js delete mode 100644 frontend/dist/static/js/253.480b4667.chunk.js create mode 100644 frontend/dist/static/js/263.1e5bdafe.chunk.js delete mode 100644 frontend/dist/static/js/290.4f498365.chunk.js delete mode 100644 frontend/dist/static/js/332.60fa82e5.chunk.js delete mode 100644 frontend/dist/static/js/366.14cf3b89.chunk.js delete mode 100644 frontend/dist/static/js/377.f0e1c66a.chunk.js delete mode 100644 frontend/dist/static/js/377.f0e1c66a.chunk.js.LICENSE.txt create mode 100644 frontend/dist/static/js/39.19e82dc5.chunk.js create mode 100644 frontend/dist/static/js/398.c8228dff.chunk.js create mode 100644 frontend/dist/static/js/4.d126994b.chunk.js create mode 100644 frontend/dist/static/js/45.6253252a.chunk.js create mode 100644 frontend/dist/static/js/548.a7a825fc.chunk.js delete mode 100644 frontend/dist/static/js/59.a77c052b.chunk.js delete mode 100644 frontend/dist/static/js/596.0088f6dd.chunk.js create mode 100644 frontend/dist/static/js/600.4361e201.chunk.js create mode 100644 frontend/dist/static/js/654.ff569d5a.chunk.js create mode 100644 frontend/dist/static/js/654.ff569d5a.chunk.js.LICENSE.txt delete mode 100644 frontend/dist/static/js/669.c0f124af.chunk.js create mode 100644 frontend/dist/static/js/699.bfe1a060.chunk.js create mode 100644 frontend/dist/static/js/717.bc51ac50.chunk.js rename frontend/dist/static/js/{822.ae40dac1.chunk.js.LICENSE.txt => 717.bc51ac50.chunk.js.LICENSE.txt} (100%) create mode 100644 frontend/dist/static/js/73.e52fa58f.chunk.js delete mode 100644 frontend/dist/static/js/735.26a45829.chunk.js delete mode 100644 frontend/dist/static/js/822.ae40dac1.chunk.js create mode 100644 frontend/dist/static/js/84.5e2e5e1b.chunk.js delete mode 100644 frontend/dist/static/js/912.b577a56b.chunk.js create mode 100644 frontend/dist/static/js/925.33fda54f.chunk.js create mode 100644 frontend/dist/static/js/925.33fda54f.chunk.js.LICENSE.txt create mode 100644 frontend/dist/static/js/974.8dde0f3d.chunk.js delete mode 100644 frontend/dist/static/js/979.14e4e415.chunk.js delete mode 100644 frontend/dist/static/js/main.71322421.js create mode 100644 frontend/dist/static/js/main.8a2feefb.js rename frontend/dist/static/js/{main.71322421.js.LICENSE.txt => main.8a2feefb.js.LICENSE.txt} (96%) create mode 100644 frontend/dist/static/media/ellipsis-solid.e3aced2a80c2b888104322b1ae60b47f.svg delete mode 100644 frontend/dist/static/media/getFetch.40f37ddea2378391108f.cjs create mode 100644 frontend/dist/static/media/github.7ef913a817353b753f86393c71e91790.svg delete mode 100644 frontend/dist/static/media/spinner-solid.71f9ca7d042dcd0fd05a55e608a63a64.svg create mode 100644 frontend/dist/static/media/xmark-solid.33c889ee6afa3ed57684011608af6238.svg create mode 100644 frontend/src/.env.development create mode 100644 frontend/src/craco.config.js delete mode 100644 frontend/src/public/i18n/en-US.json delete mode 100644 frontend/src/public/i18n/ja-JP.json delete mode 100644 frontend/src/public/i18n/ko-KR.json create mode 100644 frontend/src/src/assets/icons/ellipsis-solid.svg create mode 100644 frontend/src/src/assets/icons/github.svg create mode 100644 frontend/src/src/assets/icons/xmark-solid.svg delete mode 100644 frontend/src/src/components/Area.tsx delete mode 100644 frontend/src/src/components/Card.tsx delete mode 100644 frontend/src/src/components/Content.tsx create mode 100644 frontend/src/src/components/Form.tsx delete mode 100644 frontend/src/src/components/FormDialog.tsx create mode 100644 frontend/src/src/components/Holder.tsx create mode 100644 frontend/src/src/components/Input.tsx delete mode 100644 frontend/src/src/components/ModalDialog.tsx delete mode 100644 frontend/src/src/components/NotFound.tsx delete mode 100644 frontend/src/src/components/PageLoader.tsx create mode 100644 frontend/src/src/components/Panel.tsx delete mode 100644 frontend/src/src/components/Polling.tsx create mode 100644 frontend/src/src/components/RouterView.tsx create mode 100644 frontend/src/src/components/RouterWrapper.tsx create mode 100644 frontend/src/src/components/Select.tsx delete mode 100644 frontend/src/src/components/SelectDialog.tsx create mode 100644 frontend/src/src/components/Skeleton.tsx delete mode 100644 frontend/src/src/components/Text.tsx delete mode 100644 frontend/src/src/components/View.tsx delete mode 100644 frontend/src/src/config/adc.tsx delete mode 100644 frontend/src/src/config/geophone.tsx delete mode 100644 frontend/src/src/config/station.tsx delete mode 100644 frontend/src/src/helpers/app/getApiUrl.tsx delete mode 100644 frontend/src/src/helpers/app/getBackend.tsx create mode 100644 frontend/src/src/helpers/app/getProtocol.tsx delete mode 100644 frontend/src/src/helpers/array/getQueueArray.tsx delete mode 100644 frontend/src/src/helpers/array/getSortedArray.tsx create mode 100644 frontend/src/src/helpers/hook/useInterval.tsx create mode 100644 frontend/src/src/helpers/hook/useSocket.tsx create mode 100644 frontend/src/src/helpers/i18n/getCurrentLocale.tsx delete mode 100644 frontend/src/src/helpers/i18n/getLanguage.tsx create mode 100644 frontend/src/src/helpers/i18n/setUserLocale.tsx delete mode 100644 frontend/src/src/helpers/i18n/toggleI18n.tsx create mode 100644 frontend/src/src/helpers/interact/sendPromiseAlert.tsx create mode 100644 frontend/src/src/helpers/interact/sendUserAlert.tsx create mode 100644 frontend/src/src/helpers/interact/sendUserConfirm.tsx create mode 100644 frontend/src/src/helpers/request/connectSocket.tsx create mode 100644 frontend/src/src/helpers/request/requestRestApi.tsx delete mode 100644 frontend/src/src/helpers/request/restfulApiByTag.tsx delete mode 100644 frontend/src/src/helpers/request/websocketByTag.tsx delete mode 100644 frontend/src/src/helpers/router/getRouterParam.tsx delete mode 100644 frontend/src/src/helpers/router/getRouterTitle.tsx delete mode 100644 frontend/src/src/helpers/router/getRouterUri.tsx delete mode 100644 frontend/src/src/helpers/router/withRouter.tsx rename frontend/src/src/helpers/seismic/{getAcceleration.tsx => getAccelerationArr.tsx} (53%) create mode 100644 frontend/src/src/helpers/seismic/getFilteredCounts.tsx rename frontend/src/src/helpers/seismic/{getVelocity.tsx => getVelocityArr.tsx} (54%) rename frontend/src/src/helpers/seismic/{getVoltage.tsx => getVoltageArr.tsx} (84%) delete mode 100644 frontend/src/src/helpers/storage/getLocalStorage.tsx delete mode 100644 frontend/src/src/helpers/storage/setLocalStorage.tsx delete mode 100644 frontend/src/src/helpers/utils/mapStateToProps.tsx create mode 100644 frontend/src/src/helpers/utils/setClipboardText.tsx delete mode 100644 frontend/src/src/helpers/utils/setObjectByPath.tsx delete mode 100644 frontend/src/src/helpers/utils/userDebounce.tsx rename frontend/{dist/i18n => src/src/locales}/en-US.json (54%) rename frontend/src/{public/i18n => src/locales}/zh-CN.json (52%) rename frontend/src/{public/i18n => src/locales}/zh-TW.json (51%) create mode 100644 frontend/src/src/models/request/history/0.json create mode 100644 frontend/src/src/models/request/mseed/0.json create mode 100644 frontend/src/src/models/request/mseed/1.json rename frontend/{dist/i18n/zh.json => src/src/models/request/socket/0.json} (100%) rename frontend/src/{public/i18n/zh.json => src/models/request/station/0.json} (100%) create mode 100644 frontend/src/src/models/request/trace/0.json create mode 100644 frontend/src/src/models/response/common/history/0.json create mode 100644 frontend/src/src/models/response/common/mseed/0.json create mode 100644 frontend/src/src/models/response/common/socket/0.json create mode 100644 frontend/src/src/models/response/common/station/0.json create mode 100644 frontend/src/src/models/response/common/trace/0.json create mode 100644 frontend/src/src/models/response/common/trace/1.json create mode 100644 frontend/src/src/models/response/error/history.json create mode 100644 frontend/src/src/models/response/error/mseed.json create mode 100644 frontend/src/src/models/response/error/station.json create mode 100644 frontend/src/src/models/response/error/trace.json delete mode 100644 frontend/src/src/store/adc.tsx delete mode 100644 frontend/src/src/store/duration.tsx delete mode 100644 frontend/src/src/store/retention.tsx delete mode 100644 frontend/src/src/store/scale.tsx create mode 100644 frontend/src/src/stores/adc.tsx create mode 100644 frontend/src/src/stores/duration.tsx rename frontend/src/src/{store => stores}/geophone.tsx (51%) create mode 100644 frontend/src/src/stores/retention.tsx create mode 100644 frontend/src/src/stores/scale.tsx rename frontend/src/src/{store => stores}/station.tsx (58%) create mode 100644 frontend/src/src/views/Export/getExportsUpdates.tsx create mode 100644 frontend/src/src/views/Export/handleSetTable.tsx create mode 100644 frontend/src/src/views/History/getSACFileName.tsx create mode 100644 frontend/src/src/views/History/handleSetCharts.tsx create mode 100644 frontend/src/src/views/History/handleSetLabels.tsx delete mode 100644 frontend/src/src/views/History/setADC.tsx delete mode 100644 frontend/src/src/views/History/setAreas.tsx delete mode 100644 frontend/src/src/views/History/setGeophone.tsx delete mode 100644 frontend/src/src/views/History/setLabels.tsx delete mode 100644 frontend/src/src/views/History/setStation.tsx create mode 100644 frontend/src/src/views/Home/getStationUpdates.tsx create mode 100644 frontend/src/src/views/Home/handleSetBanner.tsx create mode 100644 frontend/src/src/views/Home/handleSetCharts.tsx create mode 100644 frontend/src/src/views/Home/handleSetLabels.tsx create mode 100644 frontend/src/src/views/Home/handleSetMap.tsx delete mode 100644 frontend/src/src/views/Home/setAreas.tsx delete mode 100644 frontend/src/src/views/Home/setBanner.tsx delete mode 100644 frontend/src/src/views/Home/setLabels.tsx delete mode 100644 frontend/src/src/views/Home/setMap.tsx create mode 100644 frontend/src/src/views/NotFound.tsx create mode 100644 frontend/src/src/views/Realtime/getSocketUpdates.tsx create mode 100644 frontend/src/src/views/Realtime/handleSetBanner.tsx create mode 100644 frontend/src/src/views/Realtime/handleSetCharts.tsx delete mode 100644 frontend/src/src/views/Realtime/setADC.tsx delete mode 100644 frontend/src/src/views/Realtime/setAreas.tsx delete mode 100644 frontend/src/src/views/Realtime/setBanner.tsx delete mode 100644 frontend/src/src/views/Realtime/setGeophone.tsx delete mode 100644 frontend/src/src/views/Realtime/setStation.tsx diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f5bb1a0..4a95b497 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ Starting from v2.2.5, all notable changes to this project will be documented in this file. +## v2.9.0 + + - Frontend refactoring: use functional components and hooks + - Support Butterworth bandpass filter in frontend waveform data processing + - API /api/v1/mseed: use unix timestamp as file modification time response + - Check for remote server error before parsing earthquake event data from SCEA API + ## v2.8.1 - Show disk usage of current working directory diff --git a/VERSION b/VERSION index 30505b0b..f367ae33 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v2.8.1 +v2.9.0 diff --git a/app/v1/mseed/list.go b/app/v1/mseed/list.go index 8cc19d41..a1cfcfcf 100644 --- a/app/v1/mseed/list.go +++ b/app/v1/mseed/list.go @@ -39,7 +39,7 @@ func getMiniSEEDList(conf *config.Conf) ([]MiniSEEDFile, error) { files = append(files, MiniSEEDFile{ TTL: fileTTL, Name: info.Name(), - Time: modTime.Format(time.RFC3339), + Time: modTime.UnixMilli(), Size: fmt.Sprintf("%d MB", info.Size()/1024/1024), }) } diff --git a/app/v1/mseed/types.go b/app/v1/mseed/types.go index a4a53689..255de9db 100644 --- a/app/v1/mseed/types.go +++ b/app/v1/mseed/types.go @@ -9,7 +9,7 @@ type Binding struct { type MiniSEEDFile struct { TTL int `json:"ttl"` - Time string `json:"time"` + Time int64 `json:"time"` Size string `json:"size"` Name string `json:"name"` } diff --git a/app/v1/trace/scea-b.go b/app/v1/trace/scea-b.go index d23d0181..5bc99bab 100644 --- a/app/v1/trace/scea-b.go +++ b/app/v1/trace/scea-b.go @@ -41,9 +41,11 @@ func (s *SCEA_B) Parse(data []byte) (map[string]any, error) { var result map[string]any err := json.Unmarshal(data, &result) if err != nil { - fmt.Println(result) return nil, err } + if result["code"].(float64) != 0 { + return nil, fmt.Errorf("server error: %s", result["msg"]) + } return result, nil } diff --git a/docs/docs.go b/docs/docs.go index 1b3ed506..a10a2d5d 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -264,7 +264,7 @@ const docTemplate = `{ "type": "string" }, "time": { - "type": "string" + "type": "integer" }, "ttl": { "type": "integer" diff --git a/docs/swagger.json b/docs/swagger.json index 06e47179..f202f318 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -256,7 +256,7 @@ "type": "string" }, "time": { - "type": "string" + "type": "integer" }, "ttl": { "type": "integer" diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 0592bc77..104ca367 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -7,7 +7,7 @@ definitions: size: type: string time: - type: string + type: integer ttl: type: integer type: object diff --git a/feature/seedlink/buffer.go b/feature/seedlink/buffer.go index b9accf77..0323355f 100644 --- a/feature/seedlink/buffer.go +++ b/feature/seedlink/buffer.go @@ -18,7 +18,7 @@ func (s *SeedLink) handleBuffer(gp *publisher.Geophone, buffer *seedlink.SeedLin // Write buffer to file every 10 minutes if time.Now().UTC().Minute()%10 == 0 { - file, err := os.OpenFile(buffer.File, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0644) + file, err := os.OpenFile(buffer.File, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0600) if err != nil { return err } diff --git a/frontend/dist/asset-manifest.json b/frontend/dist/asset-manifest.json index 3926fe33..0a7dbd9f 100644 --- a/frontend/dist/asset-manifest.json +++ b/frontend/dist/asset-manifest.json @@ -1,53 +1,53 @@ { "files": { - "main.css": "/static/css/main.40ace055.css", - "main.js": "/static/js/main.71322421.js", - "static/css/290.525e2941.chunk.css": "/static/css/290.525e2941.chunk.css", - "static/js/290.4f498365.chunk.js": "/static/js/290.4f498365.chunk.js", - "static/js/735.26a45829.chunk.js": "/static/js/735.26a45829.chunk.js", - "static/js/252.5327abb2.chunk.js": "/static/js/252.5327abb2.chunk.js", - "static/js/253.480b4667.chunk.js": "/static/js/253.480b4667.chunk.js", - "static/js/332.60fa82e5.chunk.js": "/static/js/332.60fa82e5.chunk.js", - "static/js/377.f0e1c66a.chunk.js": "/static/js/377.f0e1c66a.chunk.js", - "static/js/144.5b8fabfd.chunk.js": "/static/js/144.5b8fabfd.chunk.js", - "static/js/59.a77c052b.chunk.js": "/static/js/59.a77c052b.chunk.js", - "static/js/596.0088f6dd.chunk.js": "/static/js/596.0088f6dd.chunk.js", - "static/js/366.14cf3b89.chunk.js": "/static/js/366.14cf3b89.chunk.js", - "static/js/165.41b9296d.chunk.js": "/static/js/165.41b9296d.chunk.js", - "static/js/979.14e4e415.chunk.js": "/static/js/979.14e4e415.chunk.js", - "static/js/822.ae40dac1.chunk.js": "/static/js/822.ae40dac1.chunk.js", - "static/js/912.b577a56b.chunk.js": "/static/js/912.b577a56b.chunk.js", - "static/js/669.c0f124af.chunk.js": "/static/js/669.c0f124af.chunk.js", - "static/media/gear-solid.svg": "/static/media/gear-solid.bf34f9d52ff44a67baec8a0d4220d3a3.svg", - "static/media/bug-solid.svg": "/static/media/bug-solid.7f781f9ddd35c29f11111e36602dcc87.svg", - "static/media/earth-americas-solid.svg": "/static/media/earth-americas-solid.4105ee3951f1c7ac60331fccafc17c1f.svg", - "static/media/link-solid.svg": "/static/media/link-solid.49819f951200a220d9839699fbccd8de.svg", - "static/media/link-slash-solid.svg": "/static/media/link-slash-solid.7893b9a51ad07ceedeb88c9649c58439.svg", - "static/media/maximize-solid.svg": "/static/media/maximize-solid.daad92d8ce4bd4922c4d8d2bc5ee889f.svg", - "static/media/hourglass-half-solid.svg": "/static/media/hourglass-half-solid.1e8dc3284939ca52c0fd542da1fbf89b.svg", - "static/media/house-solid.svg": "/static/media/house-solid.716027ddb007f9cd5ea3128e4b7e45fd.svg", - "static/media/cloud-arrow-down-solid.svg": "/static/media/cloud-arrow-down-solid.44bdf9a1a61d1e1230b601cca127925f.svg", - "static/media/download-solid.svg": "/static/media/download-solid.c03efc3b28bb5b5b2ceee2ebbb9b4f55.svg", - "static/media/folder-open-regular.svg": "/static/media/folder-open-regular.db4ef4ac307b2a72056b659ae4f7dac9.svg", - "static/media/file-waveform-solid.svg": "/static/media/file-waveform-solid.c48c7f768376cd38d8254b34614dfd9a.svg", - "static/media/server-solid.svg": "/static/media/server-solid.4f75c3131b23af426eabd5c91035829b.svg", - "static/media/paper-plane-solid.svg": "/static/media/paper-plane-solid.e1f40db20eab51657c5490a69c103292.svg", - "static/media/spinner-solid.svg": "/static/media/spinner-solid.71f9ca7d042dcd0fd05a55e608a63a64.svg", - "static/media/rss-solid.svg": "/static/media/rss-solid.167813b1d681372ed1d98e45b6b6c0f7.svg", - "static/media/square-caret-up-solid.svg": "/static/media/square-caret-up-solid.0573794ec033f5ce25c1076e3ac596e3.svg", - "static/media/circle-xmark-solid.svg": "/static/media/circle-xmark-solid.ea0857c87457d25b161c3a37ad4e3845.svg", - "static/media/wave-square-solid.svg": "/static/media/wave-square-solid.9a0bef3f9e813a5716a30eed4fa8020e.svg", - "static/media/arrow-up-solid.svg": "/static/media/arrow-up-solid.25f1775e7ee2dd4c2bc2f2c3c07116bf.svg", - "static/media/circle-check-solid.svg": "/static/media/circle-check-solid.3fb46b8931cbbf9f966175f42b55a087.svg", - "static/media/circle-exclamation-solid.svg": "/static/media/circle-exclamation-solid.d6230f4a460d784515ba71d97d1caddf.svg", - "static/media/clock-solid.svg": "/static/media/clock-solid.23025348eaec720a2439930b37d677ee.svg", - "static/media/angle-right-solid.svg": "/static/media/angle-right-solid.cda594ece7082478d17a05a0a0e148f5.svg", - "static/media/location-dot-solid.svg": "/static/media/location-dot-solid.763794361437464c10451de38cd290f7.svg", - "index.html": "/index.html", - "static/media/getFetch.cjs": "/static/media/getFetch.40f37ddea2378391108f.cjs" + "main.css": "./static/css/main.87b912ec.css", + "main.js": "./static/js/main.8a2feefb.js", + "static/css/398.d6bfd15f.chunk.css": "./static/css/398.d6bfd15f.chunk.css", + "static/js/398.c8228dff.chunk.js": "./static/js/398.c8228dff.chunk.js", + "static/js/73.e52fa58f.chunk.js": "./static/js/73.e52fa58f.chunk.js", + "static/js/263.1e5bdafe.chunk.js": "./static/js/263.1e5bdafe.chunk.js", + "static/js/600.4361e201.chunk.js": "./static/js/600.4361e201.chunk.js", + "static/js/45.6253252a.chunk.js": "./static/js/45.6253252a.chunk.js", + "static/js/699.bfe1a060.chunk.js": "./static/js/699.bfe1a060.chunk.js", + "static/js/654.ff569d5a.chunk.js": "./static/js/654.ff569d5a.chunk.js", + "static/js/548.a7a825fc.chunk.js": "./static/js/548.a7a825fc.chunk.js", + "static/js/925.33fda54f.chunk.js": "./static/js/925.33fda54f.chunk.js", + "static/js/974.8dde0f3d.chunk.js": "./static/js/974.8dde0f3d.chunk.js", + "static/js/4.d126994b.chunk.js": "./static/js/4.d126994b.chunk.js", + "static/js/84.5e2e5e1b.chunk.js": "./static/js/84.5e2e5e1b.chunk.js", + "static/js/39.19e82dc5.chunk.js": "./static/js/39.19e82dc5.chunk.js", + "static/js/717.bc51ac50.chunk.js": "./static/js/717.bc51ac50.chunk.js", + "static/media/github.svg": "./static/media/github.7ef913a817353b753f86393c71e91790.svg", + "index.html": "./index.html", + "static/media/gear-solid.svg": "./static/media/gear-solid.bf34f9d52ff44a67baec8a0d4220d3a3.svg", + "static/media/bug-solid.svg": "./static/media/bug-solid.7f781f9ddd35c29f11111e36602dcc87.svg", + "static/media/earth-americas-solid.svg": "./static/media/earth-americas-solid.4105ee3951f1c7ac60331fccafc17c1f.svg", + "static/media/link-solid.svg": "./static/media/link-solid.49819f951200a220d9839699fbccd8de.svg", + "static/media/link-slash-solid.svg": "./static/media/link-slash-solid.7893b9a51ad07ceedeb88c9649c58439.svg", + "static/media/maximize-solid.svg": "./static/media/maximize-solid.daad92d8ce4bd4922c4d8d2bc5ee889f.svg", + "static/media/hourglass-half-solid.svg": "./static/media/hourglass-half-solid.1e8dc3284939ca52c0fd542da1fbf89b.svg", + "static/media/house-solid.svg": "./static/media/house-solid.716027ddb007f9cd5ea3128e4b7e45fd.svg", + "static/media/cloud-arrow-down-solid.svg": "./static/media/cloud-arrow-down-solid.44bdf9a1a61d1e1230b601cca127925f.svg", + "static/media/download-solid.svg": "./static/media/download-solid.c03efc3b28bb5b5b2ceee2ebbb9b4f55.svg", + "static/media/folder-open-regular.svg": "./static/media/folder-open-regular.db4ef4ac307b2a72056b659ae4f7dac9.svg", + "static/media/file-waveform-solid.svg": "./static/media/file-waveform-solid.c48c7f768376cd38d8254b34614dfd9a.svg", + "static/media/server-solid.svg": "./static/media/server-solid.4f75c3131b23af426eabd5c91035829b.svg", + "static/media/paper-plane-solid.svg": "./static/media/paper-plane-solid.e1f40db20eab51657c5490a69c103292.svg", + "static/media/rss-solid.svg": "./static/media/rss-solid.167813b1d681372ed1d98e45b6b6c0f7.svg", + "static/media/square-caret-up-solid.svg": "./static/media/square-caret-up-solid.0573794ec033f5ce25c1076e3ac596e3.svg", + "static/media/circle-xmark-solid.svg": "./static/media/circle-xmark-solid.ea0857c87457d25b161c3a37ad4e3845.svg", + "static/media/wave-square-solid.svg": "./static/media/wave-square-solid.9a0bef3f9e813a5716a30eed4fa8020e.svg", + "static/media/xmark-solid.svg": "./static/media/xmark-solid.33c889ee6afa3ed57684011608af6238.svg", + "static/media/arrow-up-solid.svg": "./static/media/arrow-up-solid.25f1775e7ee2dd4c2bc2f2c3c07116bf.svg", + "static/media/circle-check-solid.svg": "./static/media/circle-check-solid.3fb46b8931cbbf9f966175f42b55a087.svg", + "static/media/circle-exclamation-solid.svg": "./static/media/circle-exclamation-solid.d6230f4a460d784515ba71d97d1caddf.svg", + "static/media/clock-solid.svg": "./static/media/clock-solid.23025348eaec720a2439930b37d677ee.svg", + "static/media/angle-right-solid.svg": "./static/media/angle-right-solid.cda594ece7082478d17a05a0a0e148f5.svg", + "static/media/location-dot-solid.svg": "./static/media/location-dot-solid.763794361437464c10451de38cd290f7.svg", + "static/media/ellipsis-solid.svg": "./static/media/ellipsis-solid.e3aced2a80c2b888104322b1ae60b47f.svg" }, "entrypoints": [ - "static/css/main.40ace055.css", - "static/js/main.71322421.js" + "static/css/main.87b912ec.css", + "static/js/main.8a2feefb.js" ] } \ No newline at end of file diff --git a/frontend/dist/i18n/ja-JP.json b/frontend/dist/i18n/ja-JP.json deleted file mode 100644 index 0bf3c08b..00000000 --- a/frontend/dist/i18n/ja-JP.json +++ /dev/null @@ -1,256 +0,0 @@ -{ - "config": { - "global": { - "name": "Observer", - "author": "AnyShake", - "title": "Observer Panel", - "description": "リアルタイムの地震ネットワークを構築するという野心に満ちています" - }, - "menu": { - "title": "パネルメニュー", - "list": { - "index": "ステーションステータス", - "realtime": "リアルタイム波形", - "history": "履歴波形", - "export": "波形エクスポート", - "setting": "パネル設定" - } - }, - "router": { - "error": "エラーが発生しました", - "index": "ステーションステータス", - "realtime": "リアルタイム波形", - "history": "履歴波形", - "export": "波形エクスポート", - "setting": "パネル設定" - } - }, - "component": { - "chart": { - "zoom": "ズームリセット", - "resetZoom": "ズームリセット" - } - }, - "views": { - "home": { - "banner": { - "warning": { - "label": "サーバーにつなげる", - "text": "お待ちください..." - }, - "success": { - "label": "{{ station }} が接続されました", - "text": "サーバー稼働時間 {{ uptime }} 秒です\nサーバーアーキテクチャ {{ arch }}/{{ os }}\nUUID:{{ uuid }}" - }, - "error": { - "label": "接続に失敗しました", - "text": "サーバーに接続できません。 ページを更新するか、ネットワークを変更してみてください。" - } - }, - "areas": { - "cpu": { - "label": "CPU 使用率", - "text": "現在の使用状況:{{ usage }}%" - }, - "memory": { - "label": "メモリ使用量", - "text": "現在の使用状況:{{ usage }}%" - } - }, - "map": { - "area": { - "label": "位置", - "text": "経度:{{ longitude }} °\n緯度:{{ latitude }} °\n海抜:{{ elevation }} m" - } - }, - "labels": { - "messages": { - "label": "デコードされたメッセージ", - "unit": "条" - }, - "errors": { - "label": "フレームエラー", - "unit": "条" - }, - "pushed": { - "label": "プッシュされたメッセージ", - "unit": "条" - }, - "failures": { - "label": "プッシュ失敗", - "unit": "条" - }, - "queued": { - "label": "キューに入れられたメッセージ", - "unit": "条" - }, - "offset": { - "label": "システム時間オフセット", - "unit": "秒" - } - } - }, - "realtime": { - "banner": { - "warning": { - "label": "サーバーに接続中です", - "text": "少々お待ち願います..." - }, - "success": { - "label": "現在のサンプリングレートです {{ sampleRate }} Sps", - "text": "現在の震度基準です {{ scale }}\nデータを更新しました {{ time }}" - }, - "error": { - "label": "接続失敗です", - "text": "再接続を試みています。サーバーに長時間接続できない場合は、ページの更新またはネットワークの変更をお願いします。" - } - }, - "areas": { - "ehz": { - "label": "EHZ チャンネル波形カウントです", - "text": "PGA:{{ pga }} gal\nPGV:{{ pgv }} kine\n震度です:{{ intensity }}" - }, - "ehe": { - "label": "EHE チャンネル波形カウントです", - "text": "PGA:{{ pga }} gal\nPGV:{{ pgv }} kine\n震度です:{{ intensity }}" - }, - "ehn": { - "label": "EHN チャンネル波形カウントです", - "text": "PGA:{{ pga }} gal\nPGV:{{ pgv }} kine\n震度です:{{ intensity }}" - } - }, - "toasts": { - "websocket_connected": "Websocket コネクションは確立されました", - "fetch_metadata_error": "ステーション情報取得時にエラーが発生し、機能が使用不能になりました。" - } - }, - "history": { - "modals": { - "choose_event": { - "title": "地震の出来事を一つ選びます" - } - }, - "selects": { - "choose_channel": { - "title": "導き出される通路を選びます" - }, - "choose_source": { - "title": "地震のデータ源を選びます" - } - }, - "areas": { - "ehz": { - "label": "EHZ チャンネル波形カウントです" - }, - "ehe": { - "label": "EHE チャンネル波形カウントです" - }, - "ehn": { - "label": "EHN チャンネル波形カウントです" - } - }, - "cards": { - "query_history": "履歴照会です", - "analyse_history": "データ分析です" - }, - "buttons": { - "query_waveform": "波形を見ます", - "query_sac_file": "データのダウンロードです", - "query_source": "事件の逆捜査です", - "get_share_link": "リンクを共有します" - }, - "labels": { - "ehz_pga": { - "label": "EHZ ピーク加速度です", - "unit": "gal" - }, - "ehz_intensity": { - "label": "EHZ ピーク震度です", - "unit": "" - }, - "ehe_pga": { - "label": "EHE ピーク加速度です", - "unit": "gal" - }, - "ehe_intensity": { - "label": "EHE ピーク震度です", - "unit": "" - }, - "ehn_pga": { - "label": "EHN ピーク加速度です", - "unit": "gal" - }, - "ehn_intensity": { - "label": "EHN ピーク震度です", - "unit": "" - } - }, - "time_pickers": { - "start_time": "開始時間を選択します", - "end_time": "終了時間を選びます" - }, - "toasts": { - "time_error": "正確な時間帯をお願いします", - "metadata_error": "ステーション情報取得時にエラーが発生し、機能が使用不能になりました。", - "is_exporting_sac": "SAC フォーマットの波形を導出しています,少々お待ちください...", - "export_sac_success": "SAC フォーマット波形データの導出に成功しました", - "export_sac_error": "SAC フォーマット波形データの導出に失敗します", - "is_fetching_source": "イベントソースを取得中です,少々お待ちください...", - "fetch_source_success": "イベントソース取得に成功しました", - "fetch_source_error": "イベントソース取得に失敗しました", - "is_fetching_events": "地震のデータを調べています,少々お待ちください...", - "fetch_events_success": "地震事件の照会に成功しました", - "fetch_events_error": "地震の問い合わせ失敗です", - "is_fetching_waveform": "履歴波形データを照会中です,少々お待ちください...", - "fetch_waveform_success": "履歴波形データクエリーに成功しました", - "fetch_waveform_error": "履歴波形データのクエリ失敗です", - "copy_link_success": "シェアリンクはクリップボードにコピーしました", - "copy_link_error": "共有リンクのコピー失敗です" - } - }, - "export": { - "cards": { - "file_list": "ファイルリストです" - }, - "table": { - "columns": { - "name": "ファイル名です", - "size": "ファイルサイズです", - "time": "期日を修正します(UTC)", - "ttl": "有効期間(日)です" - }, - "actions": { - "export": "導出します" - }, - "placeholder": "少々お待ち願います..." - }, - "toasts": { - "is_exporting_mseed": "MiniSEED ファイルをエクスポートしています。時間がかかるかもしれません。", - "export_mseed_success": "MiniSEED ファイルのエクスポートに成功しました", - "export_mseed_error": "MiniSEED ファイルのエクスポートに失敗しました", - "is_fetching_mseed": "MiniSEED 形式のファイルリストを取得しています。少々お待ちください...", - "fetch_mseed_success": "MiniSEED 形式ファイルリスト取得に成功しました", - "fetch_mseed_error": "リストが空か取得に失敗します" - } - }, - "setting": { - "buttons": { - "select_scale": "震度の基準を選びます", - "purge_cache": "アプリケーションキャッシュを消去します" - }, - "cards": { - "select_scale": "震度の目安です", - "purge_cache": "リセットアプリケーションです" - }, - "selects": { - "choose_scale": { - "title": "震度の基準を選びます" - } - }, - "toasts": { - "cache_purged": "アプリケーションのキャッシュが消去され,ページが更新されます", - "scale_changed": "震度の基準は変更されました {{ scale }}" - } - } - } -} \ No newline at end of file diff --git a/frontend/dist/i18n/ko-KR.json b/frontend/dist/i18n/ko-KR.json deleted file mode 100644 index 2c29c871..00000000 --- a/frontend/dist/i18n/ko-KR.json +++ /dev/null @@ -1,256 +0,0 @@ -{ - "config": { - "global": { - "name": "Observer", - "author": "AnyShake", - "title": "Observer 스테이션 패널", - "description": "실시간 지진 네트워크 구축에 야심 차다" - }, - "menu": { - "title": "판넬 메뉴", - "list": { - "index": "스테이션 상태", - "realtime": "리얼타임 파형", - "history": "과거 데이터", - "export": "파형 내보내기", - "setting": "판넬 설정" - } - }, - "router": { - "error": "发生错误", - "index": "스테이션 상태", - "realtime": "리얼타임 파형", - "history": "과거 데이터", - "export": "파형 내보내기", - "setting": "판넬 설정" - } - }, - "components": { - "chart": { - "reset_zoom": "보기 초기화", - "reset_zoom_title": "초기 보기로 초기화합니다" - } - }, - "views": { - "home": { - "banner": { - "warning": { - "label": "서버 연결 중", - "text": "잠시만요..." - }, - "success": { - "label": "{{ station }} 연결되었음", - "text": "서버가 온라인 상에 있는 시간 {{ uptime }} 초\n서버 채택 구조 {{ arch }}/{{ os }}\nUUID:{{ uuid }}" - }, - "error": { - "label": "연결 실패", - "text": "서버에 연결할 수 없습니다. 페이지를 새로 고치거나 네트워크를 변경하십시오" - } - }, - "areas": { - "cpu": { - "label": "CPU 사용률", - "text": "현재 점유율:{{ usage }}%" - }, - "memory": { - "label": "메모리 사용량", - "text": "현재 점유율:{{ usage }}%" - } - }, - "map": { - "area": { - "label": "측정소의 위치", - "text": "경도:{{ longitude }} °\n위도:{{ latitude }} °\n해발:{{ elevation }} m" - } - }, - "labels": { - "messages": { - "label": "해독된 정보의 양", - "unit": "조" - }, - "errors": { - "label": "프레임 오류 메시지량", - "unit": "조" - }, - "pushed": { - "label": "푸시된 메시지 갯수입니다", - "unit": "조" - }, - "failures": { - "label": "푸시 실패 메시지 수입니다", - "unit": "조" - }, - "queued": { - "label": "푸시 메시지 양을 기다립니다", - "unit": "조" - }, - "offset": { - "label": "시스템 시간 오프셋", - "unit": "초" - } - } - }, - "realtime": { - "banner": { - "warning": { - "label": "서버 연결 중", - "text": "잠시만요...." - }, - "success": { - "label": "현재 샘플링 레이트 {{ sampleRate }} Sps", - "text": "현재 진도 기준 {{ scale }}\n다음에 업데이트 {{ time }}" - }, - "error": { - "label": "연결 실패", - "text": "재연결을 시도하는 중입니다. 서버에 오랫동안 접속할 수 없다면 페이지를 새로 고치거나 네트워크를 변경하십시오" - } - }, - "areas": { - "ehz": { - "label": "EHZ 채널 파형 계수", - "text": "PGA:{{ pga }} gal\nPGV:{{ pgv }} kine\n진도:{{ intensity }}" - }, - "ehe": { - "label": "EHE 채널 파형 계수", - "text": "PGA:{{ pga }} gal\nPGV:{{ pgv }} kine\n진도:{{ intensity }}" - }, - "ehn": { - "label": "EHN 채널 파형 계수", - "text": "PGA:{{ pga }} gal\nPGV:{{ pgv }} kine\n진도:{{ intensity }}" - } - }, - "toasts": { - "websocket_connected": "Websocket 연결이 설정되었습니다", - "fetch_metadata_error": "스테이션 정보를 얻는 중 오류가 발생하여 기능을 사용할 수 없습니다" - } - }, - "history": { - "modals": { - "choose_event": { - "title": "지진 이벤트를 선택합니다" - } - }, - "selects": { - "choose_channel": { - "title": "내보낼 채널을 선택하십시오" - }, - "choose_source": { - "title": "지진 데이터 출처를 선택하다" - } - }, - "areas": { - "ehz": { - "label": "EHZ 채널 파형 계수" - }, - "ehe": { - "label": "EHE 채널 파형 계수" - }, - "ehn": { - "label": "EHN 채널 파형 계수" - } - }, - "cards": { - "query_history": "과거 기록 검색", - "analyse_history": "데이터 분석" - }, - "buttons": { - "query_waveform": "파형을 읽어보다", - "query_sac_file": "데이터 다운로드", - "query_source": "사건 역조사", - "get_share_link": "링크 공유" - }, - "labels": { - "ehz_pga": { - "label": "EHZ 최대 가속도", - "unit": "gal" - }, - "ehz_intensity": { - "label": "EHZ 프로그램진도", - "unit": "" - }, - "ehe_pga": { - "label": "EHE 최대 가속도", - "unit": "gal" - }, - "ehe_intensity": { - "label": "EHE 프로그램진도", - "unit": "" - }, - "ehn_pga": { - "label": "EHN 최대 가속도", - "unit": "gal" - }, - "ehn_intensity": { - "label": "EHN 프로그램진도", - "unit": "" - } - }, - "time_pickers": { - "start_time": "시작 시간을 선택하십시오", - "end_time": "종료 시간 선택" - }, - "toasts": { - "time_error": "정확한 시간 범위를 선택하십시오", - "metadata_error": "사이트 정보를 가져오는 중 오류가 발생하여 기능을 사용할 수 없습니다.", - "is_exporting_sac": "내보내 sac 서식 파형 잠시만요....", - "export_sac_success": "sac 형식 파형 데이터 내보내기 성공", - "export_sac_error": "sac 형식 파형 데이터 내보내기 실패", - "is_fetching_source": "가져오 사건, 잠시만요....", - "fetch_source_success": "이벤트 데이터 소스가 성공적으로 획득되었습니다", - "fetch_source_error": "이벤트 데이터 원본 가져오기 실패", - "is_fetching_events": "지진 데이터 사건 조회 중이 잠시만요....", - "fetch_events_success": "지진 검색 성공", - "fetch_events_error": "지진 검색 실패", - "is_fetching_waveform": "조회 중이 역사 파형 데이터, 잠시만요....", - "fetch_waveform_success": "성공적인 역사적 파형 검색", - "fetch_waveform_error": "과거 기록 파형 검색 실패", - "copy_link_success": "클립보드에 공유 링크 복사됨", - "copy_link_error": "공유 링크 복사 실패" - } - }, - "export": { - "cards": { - "file_list": "파일 목록" - }, - "table": { - "columns": { - "name": "파일 이름", - "size": "파일 크기", - "time": "수정한 날짜(UTC)", - "ttl": "유효기간 (일)" - }, - "actions": { - "export": "내보내기" - }, - "placeholder": "잠시만요...." - }, - "toasts": { - "is_exporting_mseed": "미니 iseed 형식 내보내기, 시간이 걸릴 수 있습니다", - "export_mseed_success": "MiniSEED 포맷 내보내기 성공", - "export_mseed_error": "MiniSEED 파일 내보내기 실패", - "is_fetching_mseed": "가져오 MiniSEED 파일 목록, 잠시만요....", - "fetch_mseed_success": "MiniSEED 최소 형식 목록을 성공적으로 가져왔습니다", - "fetch_mseed_error": "목록이 비어 있거나 가져오는 데 실패했습니다" - } - }, - "setting": { - "buttons": { - "select_scale": "진 선택도 기준", - "purge_cache": "애플리케이션 캐시 지우기" - }, - "cards": { - "select_scale": "진도표준", - "purge_cache": "응용 프로그램 초기화" - }, - "selects": { - "choose_scale": { - "title": "진 선택도 기준" - } - }, - "toasts": { - "cache_purged": "앱 캐시가 지워졌고 페이지가 새로 고쳐집니다", - "scale_changed": "진도 기준 {{scale}}으로 변경 되었습니다" - } - } - } -} diff --git a/frontend/dist/i18n/zh-CN.json b/frontend/dist/i18n/zh-CN.json deleted file mode 100644 index d8ad725e..00000000 --- a/frontend/dist/i18n/zh-CN.json +++ /dev/null @@ -1,285 +0,0 @@ -{ - "config": { - "global": { - "name": "Observer", - "author": "AnyShake", - "title": "Observer 测站面板", - "description": "雄心勃勃,致力于构建实时地震网络" - }, - "menu": { - "title": "面板菜单", - "list": { - "index": "测站状态", - "realtime": "实时波形", - "history": "历史数据", - "export": "波形导出", - "setting": "面板设置" - } - }, - "router": { - "error": "发生错误", - "index": "测站状态", - "realtime": "实时波形", - "history": "历史数据", - "export": "波形导出", - "setting": "面板设置" - } - }, - "components": { - "chart": { - "reset_zoom": "重置视图", - "reset_zoom_title": "重置为初始视图" - } - }, - "views": { - "home": { - "banner": { - "warning": { - "label": "正在连接服务器", - "text": "请稍等..." - }, - "success": { - "label": "{{ station }} 已连接", - "text": "服务器在线时长 {{ uptime }} 秒\n服务器采用架构 {{ arch }}/{{ os }}\nUUID {{ uuid }}" - }, - "error": { - "label": "连接失败", - "text": "无法连接到服务器,请尝试刷新页面或更换网络" - } - }, - "areas": { - "cpu": { - "label": "CPU 使用率", - "text": "当前占用率 {{ usage }}%" - }, - "memory": { - "label": "内存使用率", - "text": "当前占用率 {{ usage }}%" - } - }, - "map": { - "area": { - "label": "测站所在位置", - "text": "经度 {{ longitude }} °\n纬度 {{ latitude }} °\n海拔 {{ elevation }} 米" - } - }, - "labels": { - "messages": { - "label": "已解码讯息量", - "unit": "条" - }, - "errors": { - "label": "帧错误讯息量", - "unit": "条" - }, - "pushed": { - "label": "已推送讯息量", - "unit": "条" - }, - "failures": { - "label": "推送失败讯息量", - "unit": "条" - }, - "queued": { - "label": "等待推送讯息量", - "unit": "条" - }, - "offset": { - "label": "系统时间偏移量", - "unit": "秒" - } - } - }, - "realtime": { - "banner": { - "warning": { - "label": "正在连接服务器", - "text": "请稍等..." - }, - "success": { - "label": "当前采样率 {{ sampleRate }} Sps", - "text": "当前烈度标准 {{ scale }}\n数据更新于 {{ time }}" - }, - "error": { - "label": "连接失败", - "text": "正在尝试重新连线,若长时间无法连接到服务器,请刷新页面或更换网络" - } - }, - "areas": { - "ehz": { - "label": "EHZ 通道波形计数", - "text": "PGA {{ pga }} gal\nPGV {{ pgv }} kine\n烈度 {{ intensity }}" - }, - "ehe": { - "label": "EHE 通道波形计数", - "text": "PGA {{ pga }} gal\nPGV {{ pgv }} kine\n烈度 {{ intensity }}" - }, - "ehn": { - "label": "EHN 通道波形计数", - "text": "PGA {{ pga }} gal\nPGV {{ pgv }} kine\n烈度 {{ intensity }}" - } - }, - "toasts": { - "websocket_connected": "Websocket 连线已经建立", - "fetch_metadata_error": "取得测站资讯时发生错误,功能无法使用" - } - }, - "history": { - "modals": { - "choose_event": { - "title": "选择一个地震事件", - "template": "[M{{ magnitude }}] {{ event }}\n震发时间 {{ time }}\n震源深度 {{ depth }} 公里\n震央距离 {{ distance }} 公里\nP 波到站 {{ p_wave }} 秒\nS 波到站 {{ s_wave }} 秒" - } - }, - "selects": { - "choose_channel": { - "title": "选择要导出的通道" - }, - "choose_source": { - "title": "选择地震数据来源" - } - }, - "areas": { - "ehz": { - "label": "EHZ 通道波形计数" - }, - "ehe": { - "label": "EHE 通道波形计数" - }, - "ehn": { - "label": "EHN 通道波形计数" - } - }, - "cards": { - "query_history": "历史查询", - "analyse_history": "数据分析" - }, - "buttons": { - "query_waveform": "调阅波形", - "query_sac_file": "数据下载", - "query_source": "事件反查", - "get_share_link": "分享链接" - }, - "labels": { - "ehz_pga": { - "label": "EHZ 峰值加速度", - "unit": "gal" - }, - "ehz_intensity": { - "label": "EHZ 峰值烈度", - "unit": "" - }, - "ehe_pga": { - "label": "EHE 峰值加速度", - "unit": "gal" - }, - "ehe_intensity": { - "label": "EHE 峰值烈度", - "unit": "" - }, - "ehn_pga": { - "label": "EHN 峰值加速度", - "unit": "gal" - }, - "ehn_intensity": { - "label": "EHN 峰值烈度", - "unit": "" - } - }, - "time_pickers": { - "start_time": "选择起始时间", - "end_time": "选择结束时间" - }, - "toasts": { - "duration_error": "请选择正确的时间范围", - "metadata_error": "取得测站资讯时发生错误,功能无法使用", - "is_exporting_sac": "正在导出 SAC 格式波形,请稍等...", - "export_sac_success": "SAC 格式波形数据导出成功", - "export_sac_error": "SAC 格式波形数据导出失败", - "is_fetching_source": "正在获取事件数据源,请稍等...", - "fetch_source_success": "事件数据源获取成功", - "fetch_source_error": "事件数据源获取失败", - "is_fetching_events": "正在查询地震事件数据,请稍等...", - "fetch_events_success": "地震事件查询成功", - "fetch_events_error": "地震事件查询失败", - "is_fetching_waveform": "正在查询历史波形数据,请稍等...", - "fetch_waveform_success": "历史波形数据查询成功", - "fetch_waveform_error": "历史波形数据查询失败", - "copy_link_success": "分享链接已复制到剪贴板", - "copy_link_error": "分享链接复制失败", - "duration_excceed": "事件时间跨度超出限制,请根据 P/S 波到达测站时间点手动进行查询,或更换地震事件", - "event_select_success": "事件选择成功\nP 波约在 {{ p_wave }} 到站\nS 波约在 {{ s_wave }} 到站" - } - }, - "export": { - "cards": { - "file_list": "文件列表" - }, - "table": { - "columns": { - "name": "文件名称", - "size": "文件大小", - "time": "修改日期(UTC)", - "ttl": "有效期(天)" - }, - "actions": { - "export": "导出" - }, - "placeholder": "请稍等..." - }, - "toasts": { - "is_exporting_mseed": "正在导出 MiniSEED 格式文件,这可能需要一些时间", - "export_mseed_success": "MiniSEED 格式文件导出成功", - "export_mseed_error": "MiniSEED 格式文件导出失败", - "is_fetching_mseed": "正在获取 MiniSEED 格式文件列表,请稍等...", - "fetch_mseed_success": "MiniSEED 格式文件列表获取成功", - "fetch_mseed_error": "列表为空或获取失败" - } - }, - "setting": { - "buttons": { - "select_scale": "选择烈度标准", - "purge_cache": "清除应用缓存", - "waveform_retention": "设定波形保留时间", - "query_duration": "设定查询范围" - }, - "cards": { - "select_scale": "烈度标准", - "purge_cache": "重置应用", - "waveform_retention": "波形设定", - "query_duration": "查询设定" - }, - "selects": { - "choose_scale": { - "title": "选择烈度标准" - } - }, - "inputs": { - "waveform_retention": { - "title": "实时波形保留时间", - "placeholder": "请输入保留时间", - "content": "请以秒为单位,输入一个大于 0 且小于 1000 的整数", - "submit": "提交" - }, - "query_duration": { - "title": "历史查询默认范围", - "placeholder": "请输入默认查询范围", - "content": "请以秒为单位,输入一个大于 0 且小于 3600 的整数", - "submit": "提交" - } - }, - "toasts": { - "cache_purged": "应用缓存已清除,页面即将刷新", - "scale_changed": "烈度标准已更改为 {{ scale }},页面即将刷新", - "retention_set": "实时波形保留时间已更改为 {{ retention }} s,页面即将刷新", - "duration_set": "历史波形默认查询范围已更改为 {{ duration }} s,页面即将刷新" - }, - "contents": { - "select_scale": "当前烈度标准 {{ scale }}\n烈度标准是用来衡量地震烈度的标准,不同的标准会导致不同的烈度值。", - "purge_cache": "应用出现问题时,可尝试重置应用偏好。\n执行重置后,浏览器中的偏好将被清理,不会对后端服务器产生影响。", - "waveform_retention": "此项设定实时波形页面的波形会保留的时间,当前 {{ retention }} s。\n以秒为单位,需要大于 0 且小于 1000,否则将会被重置为默认值 180 秒。", - "query_duration": "此项设定历史查询页面自动填写的时间范围,当前 {{ duration }} s。\n以秒为单位,需要大于 0 且小于 3600,否则将会被重置为默认值 300 秒。" - } - } - } -} \ No newline at end of file diff --git a/frontend/dist/i18n/zh-TW.json b/frontend/dist/i18n/zh-TW.json deleted file mode 100644 index e6daff32..00000000 --- a/frontend/dist/i18n/zh-TW.json +++ /dev/null @@ -1,285 +0,0 @@ -{ - "config": { - "global": { - "name": "Observer", - "author": "AnyShake", - "title": "Observer 測站面板", - "description": "雄心勃勃,致力於建置即時地震網路" - }, - "menu": { - "title": "面板選單", - "list": { - "index": "當前站況", - "realtime": "即時波形", - "history": "歷史資料", - "export": "波形匯出", - "setting": "面板設定" - } - }, - "router": { - "error": "發生錯誤", - "index": "當前站況", - "realtime": "即時波形", - "history": "歷史資料", - "export": "波形匯出", - "setting": "面板設定" - } - }, - "components": { - "chart": { - "reset_zoom": "重置視圖", - "reset_zoom_title": "重置為初始視圖" - } - }, - "views": { - "home": { - "banner": { - "warning": { - "label": "正在連線伺服器", - "text": "請稍等..." - }, - "success": { - "label": "{{ station }} 已連線", - "text": "伺服器在線時長 {{ uptime }} 秒\n伺服器採用架構 {{ arch }}/{{ os }}\nUUID {{ uuid }}" - }, - "error": { - "label": "連線失敗", - "text": "無法連線到伺服器,請嘗試重新整理頁面或更換網路" - } - }, - "areas": { - "cpu": { - "label": "CPU 使用率", - "text": "目前佔用率 {{ usage }}%" - }, - "memory": { - "label": "記憶體使用率", - "text": "目前佔用率 {{ usage }}%" - } - }, - "map": { - "area": { - "label": "站點所在位置", - "text": "經度 {{ longitude }} °\n緯度 {{ latitude }} °\n海拔 {{ elevation }} 公尺" - } - }, - "labels": { - "messages": { - "label": "已解碼訊息量", - "unit": "筆" - }, - "errors": { - "label": "幀錯誤訊息量", - "unit": "筆" - }, - "pushed": { - "label": "已推送訊息量", - "unit": "筆" - }, - "failures": { - "label": "推送失敗訊息量", - "unit": "筆" - }, - "queued": { - "label": "等待推送訊息量", - "unit": "筆" - }, - "offset": { - "label": "系統時間偏移量", - "unit": "秒" - } - } - }, - "realtime": { - "banner": { - "warning": { - "label": "正在連線伺服器", - "text": "請稍等..." - }, - "success": { - "label": "目前取樣率 {{ sampleRate }} Sps", - "text": "目前烈度標準 {{ scale }}\n資料更新於 {{ time }}" - }, - "error": { - "label": "連線失敗", - "text": "正在嘗試重新連線,若長時間無法連線到伺服器,請嘗試重新整理頁面或更換網路" - } - }, - "areas": { - "ehz": { - "label": "EHZ 通道波形計數", - "text": "PGA {{ pga }} gal\nPGV {{ pgv }} kine\n烈度 {{ intensity }}" - }, - "ehe": { - "label": "EHE 通道波形計數", - "text": "PGA {{ pga }} gal\nPGV {{ pgv }} kine\n烈度 {{ intensity }}" - }, - "ehn": { - "label": "EHN 通道波形計數", - "text": "PGA {{ pga }} gal\nPGV {{ pgv }} kine\n烈度 {{ intensity }}" - } - }, - "toasts": { - "websocket_connected": "WebSocket 連線已經建立", - "fetch_metadata_error": "取得測站資訊時發生錯誤,功能無法使用" - } - }, - "history": { - "modals": { - "choose_event": { - "title": "選擇一個地震事件", - "template": "[M{{ magnitude }}] {{ event }}\n震發時間 {{ time }}\n震央深度 {{ depth }} 公里\n震央距离 {{ distance }} 公里\nP 波到站 {{ p_wave }} 秒\nS 波到站 {{ s_wave }} 秒" - } - }, - "selects": { - "choose_channel": { - "title": "選擇要匯出的通道" - }, - "choose_source": { - "title": "選擇地震資料來源" - } - }, - "areas": { - "ehz": { - "label": "EHZ 通道波形計數" - }, - "ehe": { - "label": "EHE 通道波形計數" - }, - "ehn": { - "label": "EHN 通道波形計數" - } - }, - "cards": { - "query_history": "歷史查詢", - "analyse_history": "資料分析" - }, - "buttons": { - "query_waveform": "調閱波形", - "query_sac_file": "資料下載", - "query_source": "事件反查", - "get_share_link": "分享連結" - }, - "labels": { - "ehz_pga": { - "label": "EHZ 峰值加速度", - "unit": "gal" - }, - "ehz_intensity": { - "label": "EHZ 峰值烈度", - "unit": "" - }, - "ehe_pga": { - "label": "EHE 峰值加速度", - "unit": "gal" - }, - "ehe_intensity": { - "label": "EHE 峰值烈度", - "unit": "" - }, - "ehn_pga": { - "label": "EHN 峰值加速度", - "unit": "gal" - }, - "ehn_intensity": { - "label": "EHN 峰值烈度", - "unit": "" - } - }, - "time_pickers": { - "start_time": "選擇起始時間", - "end_time": "選擇結束時間" - }, - "toasts": { - "duration_error": "請選擇正確的時間範圍", - "metadata_error": "取得測站資訊時發生錯誤,功能無法使用", - "is_exporting_sac": "正在匯出 SAC 格式波形,請稍候...", - "export_sac_success": "SAC 格式波形資料匯出成功", - "export_sac_error": "SAC 格式波形資料匯出失敗", - "is_fetching_source": "正在取得事件資料源,請稍候...", - "fetch_source_success": "事件資料源取得成功", - "fetch_source_error": "事件資料源取得失敗", - "is_fetching_events": "正在查詢地震事件資料,請稍候...", - "fetch_events_success": "地震事件查詢成功", - "fetch_events_error": "地震事件查詢失敗", - "is_fetching_waveform": "正在查詢歷史波形資料,請稍候...", - "fetch_waveform_success": "歷史波形資料查詢成功", - "fetch_waveform_error": "歷史波形資料查詢失敗", - "copy_link_success": "分享連結已複製到剪貼簿", - "copy_link_error": "分享連結複製失敗", - "duration_excceed": "事件時間跨度超出限制,請根據 P/S 波到達測站時間點手動進行查詢,或更換地震事件", - "event_select_success": "事件選擇成功\nP 波約在 {{ p_wave }} 到站\nS 波約在 {{ s_wave }} 到站" - } - }, - "export": { - "cards": { - "file_list": "檔案清單" - }, - "table": { - "columns": { - "name": "檔案名稱", - "size": "檔案大小", - "time": "修改日期(UTC)", - "ttl": "有效期(天)" - }, - "actions": { - "export": "匯出" - }, - "placeholder": "請稍等..." - }, - "toasts": { - "is_exporting_mseed": "正在匯出 MiniSEED 格式檔案,這可能需要一些時間", - "export_mseed_success": "MiniSEED 格式檔案匯出成功", - "export_mseed_error": "MiniSEED 格式檔案匯出失敗", - "is_fetching_mseed": "正在取得 MiniSEED 格式檔案清單,請稍等...", - "fetch_mseed_success": "MiniSEED 格式檔案清單取得成功", - "fetch_mseed_error": "清單為空或取得失敗" - } - }, - "setting": { - "buttons": { - "select_scale": "選擇烈度標準", - "purge_cache": "清除應用快取", - "waveform_retention": "設定波形保留時間", - "query_duration": "設定查詢範圍" - }, - "cards": { - "select_scale": "烈度標準", - "purge_cache": "重置應用", - "waveform_retention": "波形設定", - "query_duration": "查詢設定" - }, - "selects": { - "choose_scale": { - "title": "選擇烈度標準" - } - }, - "inputs": { - "waveform_retention": { - "title": "實時波形保留時間", - "placeholder": "請輸入保留時間", - "content": "請以秒為單位,輸入一個大於 0 且小於 1000 的整數", - "submit": "提交" - }, - "query_duration": { - "title": "歷史查詢預設範圍", - "placeholder": "請輸入預設查詢範圍", - "content": "請以秒為單位,輸入一個大於 0 且小於 3600 的整數", - "submit": "提交" - } - }, - "toasts": { - "cache_purged": "應用快取已清除,頁面即將刷新", - "scale_changed": "烈度標準已更改為 {{ scale }},頁面即將刷新", - "retention_set": "實時波形保留時間已更改為 {{ retention }} 秒,頁面即將刷新", - "duration_set": "歷史波形預設查詢範圍已更改為 {{ duration }} 秒,頁面即將刷新" - }, - "contents": { - "select_scale": "目前烈度標準 {{ scale }}\n烈度標準是用來衡量地震烈度的標準,不同的標準會導致不同的烈度值。", - "purge_cache": "應用出現問題時,可嘗試重置應用偏好。\n執行重置後,瀏覽器中的偏好將被清理,不會對後端伺服器產生影響。", - "waveform_retention": "此項設定實時波形頁面的波形會保留的時間,目前 {{ retention }} 秒。\n以秒為單位,需要大於 0 且小於 1000,否則將會被重置為預設值 180 秒。", - "query_duration": "此項設定歷史查詢頁面自動填寫的時間範圍,目前 {{ duration }} 秒。\n以秒為單位,需要大於 0 且小於 3600,否則將會被重置為預設值 300 秒。" - } - } - } -} \ No newline at end of file diff --git a/frontend/dist/index.html b/frontend/dist/index.html index 6cb65d8d..940fec4c 100644 --- a/frontend/dist/index.html +++ b/frontend/dist/index.html @@ -1 +1 @@ -
\ No newline at end of file +
Loading...
\ No newline at end of file diff --git a/frontend/dist/manifest.json b/frontend/dist/manifest.json index f7086b2c..bb9e87b6 100644 --- a/frontend/dist/manifest.json +++ b/frontend/dist/manifest.json @@ -1,6 +1,6 @@ { - "short_name": "G-Observer", - "name": "G-Observer 测站面板", + "short_name": "AnyShake Observer", + "name": "AnyShake: An open-source & low-cost solution to 3-component seismograph.", "icons": [ { "src": "favicon.ico", diff --git a/frontend/dist/static/css/290.525e2941.chunk.css b/frontend/dist/static/css/290.525e2941.chunk.css deleted file mode 100644 index 63dd7bdb..00000000 --- a/frontend/dist/static/css/290.525e2941.chunk.css +++ /dev/null @@ -1 +0,0 @@ -.leaflet-image-layer,.leaflet-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane,.leaflet-pane>canvas,.leaflet-pane>svg,.leaflet-tile,.leaflet-tile-container,.leaflet-zoom-box{left:0;position:absolute;top:0}.leaflet-container{overflow:hidden}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile{-webkit-user-drag:none;-webkit-user-select:none;user-select:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{height:1600px;-webkit-transform-origin:0 0;width:1600px}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-height:none!important;max-width:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer{max-height:none!important;max-width:none!important;padding:0;width:auto}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{-webkit-filter:inherit;filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{box-sizing:border-box;height:0;width:0;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{height:1px;width:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{pointer-events:visiblePainted;pointer-events:auto;position:relative;z-index:800}.leaflet-bottom,.leaflet-top{pointer-events:none;position:absolute;z-index:1000}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{clear:both;float:left}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1),-webkit-transform .25s cubic-bezier(0,0,.25,1)}.leaflet-pan-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-control,.leaflet-popup-pane{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}.leaflet-image-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-image-layer.leaflet-interactive,.leaflet-marker-icon.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{background:hsla(0,0%,100%,.5);border:2px dotted #38f}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px rgba(0,0,0,.65)}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;color:#000;display:block;height:26px;line-height:26px;text-align:center;text-decoration:none;width:26px}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:focus,.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom:none;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.leaflet-bar a.leaflet-disabled{background-color:#f4f4f4;color:#bbb;cursor:default}.leaflet-touch .leaflet-bar a{height:30px;line-height:30px;width:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{background:#fff;border-radius:5px;box-shadow:0 1px 5px rgba(0,0,0,.4)}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);height:36px;width:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{height:44px;width:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{background:#fff;color:#333;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{overflow-x:hidden;overflow-y:scroll;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:hsla(0,0%,100%,.8);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;line-height:1.4;padding:0 5px}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:focus,.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;height:.6669em;vertical-align:initial!important;width:1em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{background:hsla(0,0%,100%,.8);border:2px solid #777;border-top:none;box-sizing:border-box;line-height:1.1;padding:2px 5px 1px;text-shadow:1px 1px #fff;white-space:nowrap}.leaflet-control-scale-line:not(:first-child){border-bottom:none;border-top:2px solid #777;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers{box-shadow:none}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-layers{background-clip:padding-box;border:2px solid rgba(0,0,0,.2)}.leaflet-popup{margin-bottom:20px;position:absolute;text-align:center}.leaflet-popup-content-wrapper{border-radius:12px;padding:1px;text-align:left}.leaflet-popup-content{font-size:13px;font-size:1.08333em;line-height:1.3;margin:13px 24px 13px 20px;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{height:20px;left:50%;margin-left:-20px;margin-top:-1px;overflow:hidden;pointer-events:none;position:absolute;width:40px}.leaflet-popup-tip{height:17px;margin:-10px auto 0;padding:1px;pointer-events:auto;-webkit-transform:rotate(45deg);transform:rotate(45deg);width:17px}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;box-shadow:0 3px 14px rgba(0,0,0,.4);color:#333}.leaflet-container a.leaflet-popup-close-button{background:transparent;border:none;color:#757575;font:16px/24px Tahoma,Verdana,sans-serif;height:24px;position:absolute;right:0;text-align:center;text-decoration:none;top:0;width:24px}.leaflet-container a.leaflet-popup-close-button:focus,.leaflet-container a.leaflet-popup-close-button:hover{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678);margin:0 auto;width:24px}.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.4);color:#222;padding:6px;pointer-events:none;position:absolute;-webkit-user-select:none;user-select:none;white-space:nowrap}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before,.leaflet-tooltip-top:before{background:transparent;border:6px solid transparent;content:"";pointer-events:none;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{border-top-color:#fff;bottom:0;margin-bottom:-12px}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-left:-6px;margin-top:-12px;top:0}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{margin-top:-6px;top:50%}.leaflet-tooltip-left:before{border-left-color:#fff;margin-right:-12px;right:0}.leaflet-tooltip-right:before{border-right-color:#fff;left:0;margin-left:-12px}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}} \ No newline at end of file diff --git a/frontend/dist/static/css/398.d6bfd15f.chunk.css b/frontend/dist/static/css/398.d6bfd15f.chunk.css new file mode 100644 index 00000000..737eabaf --- /dev/null +++ b/frontend/dist/static/css/398.d6bfd15f.chunk.css @@ -0,0 +1 @@ +.leaflet-image-layer,.leaflet-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane,.leaflet-pane>canvas,.leaflet-pane>svg,.leaflet-tile,.leaflet-tile-container,.leaflet-zoom-box{left:0;position:absolute;top:0}.leaflet-container{overflow:hidden}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile{-webkit-user-drag:none;-webkit-user-select:none;user-select:none}.leaflet-tile::selection{background:#0000}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{height:1600px;-webkit-transform-origin:0 0;width:1600px}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-height:none!important;max-width:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer{max-height:none!important;max-width:none!important;padding:0;width:auto}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{box-sizing:border-box;height:0;width:0;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{height:1px;width:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{pointer-events:visiblePainted;pointer-events:auto;position:relative;z-index:800}.leaflet-bottom,.leaflet-top{pointer-events:none;position:absolute;z-index:1000}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{clear:both;float:left}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-pan-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-control,.leaflet-popup-pane{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}.leaflet-image-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-image-layer.leaflet-interactive,.leaflet-marker-icon.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{background:#ffffff80;border:2px dotted #38f}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px #000000a6}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;color:#000;display:block;height:26px;line-height:26px;text-align:center;text-decoration:none;width:26px}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:focus,.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom:none;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.leaflet-bar a.leaflet-disabled{background-color:#f4f4f4;color:#bbb;cursor:default}.leaflet-touch .leaflet-bar a{height:30px;line-height:30px;width:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{background:#fff;border-radius:5px;box-shadow:0 1px 5px #0006}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);height:36px;width:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{height:44px;width:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{background:#fff;color:#333;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{overflow-x:hidden;overflow-y:scroll;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;line-height:1.4;padding:0 5px}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:focus,.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;height:.6669em;vertical-align:initial!important;width:1em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{background:#fffc;border:2px solid #777;border-top:none;box-sizing:border-box;line-height:1.1;padding:2px 5px 1px;text-shadow:1px 1px #fff;white-space:nowrap}.leaflet-control-scale-line:not(:first-child){border-bottom:none;border-top:2px solid #777;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers{box-shadow:none}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-layers{background-clip:padding-box;border:2px solid #0003}.leaflet-popup{margin-bottom:20px;position:absolute;text-align:center}.leaflet-popup-content-wrapper{border-radius:12px;padding:1px;text-align:left}.leaflet-popup-content{font-size:13px;font-size:1.08333em;line-height:1.3;margin:13px 24px 13px 20px;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{height:20px;left:50%;margin-left:-20px;margin-top:-1px;overflow:hidden;pointer-events:none;position:absolute;width:40px}.leaflet-popup-tip{height:17px;margin:-10px auto 0;padding:1px;pointer-events:auto;transform:rotate(45deg);width:17px}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;box-shadow:0 3px 14px #0006;color:#333}.leaflet-container a.leaflet-popup-close-button{background:#0000;border:none;color:#757575;font:16px/24px Tahoma,Verdana,sans-serif;height:24px;position:absolute;right:0;text-align:center;text-decoration:none;top:0;width:24px}.leaflet-container a.leaflet-popup-close-button:focus,.leaflet-container a.leaflet-popup-close-button:hover{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678);margin:0 auto;width:24px}.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 1px 3px #0006;color:#222;padding:6px;pointer-events:none;position:absolute;-webkit-user-select:none;user-select:none;white-space:nowrap}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before,.leaflet-tooltip-top:before{background:#0000;border:6px solid #0000;content:"";pointer-events:none;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{border-top-color:#fff;bottom:0;margin-bottom:-12px}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-left:-6px;margin-top:-12px;top:0}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{margin-top:-6px;top:50%}.leaflet-tooltip-left:before{border-left-color:#fff;margin-right:-12px;right:0}.leaflet-tooltip-right:before{border-right-color:#fff;left:0;margin-left:-12px}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}} \ No newline at end of file diff --git a/frontend/dist/static/css/main.40ace055.css b/frontend/dist/static/css/main.40ace055.css deleted file mode 100644 index 3bd287d7..00000000 --- a/frontend/dist/static/css/main.40ace055.css +++ /dev/null @@ -1,3 +0,0 @@ -/* -! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com -*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{-webkit-font-feature-settings:inherit;font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.-right-6{right:-1.5rem}.bottom-16{bottom:4rem}.right-3{right:.75rem}.top-2{top:.5rem}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.-m-1{margin:-.25rem}.-m-1\.5{margin:-.375rem}.m-2{margin:.5rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-4{margin-left:1rem;margin-right:1rem}.my-2{margin-bottom:.5rem;margin-top:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-10{margin-left:2.5rem}.ml-14{margin-left:3.5rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.ml-8{margin-left:2rem}.mr-16{margin-right:4rem}.mr-2{margin-right:.5rem}.mt-20{margin-top:5rem}.mt-5{margin-top:1.25rem}.mt-8{margin-top:2rem}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-10{height:2.5rem}.h-16{height:4rem}.h-20{height:5rem}.h-4{height:1rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-\[360px\]{height:360px}.h-\[400px\]{height:400px}.h-full{height:100%}.min-h-\[40vh\]{min-height:40vh}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-20{width:5rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-\[235px\]{width:235px}.w-full{width:100%}.min-w-full{min-width:100%}.flex-grow{flex-grow:1}.-translate-x-48{--tw-translate-x:-12rem}.-translate-x-48,.translate-x-0{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x:0px}.translate-x-24{--tw-translate-x:6rem}.rotate-180,.translate-x-24{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.scale-x-0{--tw-scale-x:0;-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@-webkit-keyframes bounce{0%,to{-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1);-webkit-transform:translateY(-25%);transform:translateY(-25%)}50%{-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1);-webkit-transform:none;transform:none}}@keyframes bounce{0%,to{-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1);-webkit-transform:translateY(-25%);transform:translateY(-25%)}50%{-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1);-webkit-transform:none;transform:none}}.animate-bounce{-webkit-animation:bounce 1s infinite;animation:bounce 1s infinite}@-webkit-keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.animate-spin{-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-y-2{row-gap:.5rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.25rem*var(--tw-space-x-reverse))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.75rem*var(--tw-space-y-reverse));margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(229 231 235/var(--tw-divide-opacity))}.self-center{align-self:center}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-x-auto{overflow-x:auto}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border-4{border-width:4px}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-cyan-700{--tw-bg-opacity:1;background-color:rgb(14 116 144/var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.bg-indigo-700{--tw-bg-opacity:1;background-color:rgb(67 56 202/var(--tw-bg-opacity))}.bg-lime-700{--tw-bg-opacity:1;background-color:rgb(77 124 15/var(--tw-bg-opacity))}.bg-pink-700{--tw-bg-opacity:1;background-color:rgb(190 24 93/var(--tw-bg-opacity))}.bg-purple-500{--tw-bg-opacity:1;background-color:rgb(168 85 247/var(--tw-bg-opacity))}.bg-sky-700{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.bg-slate-50{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity))}.bg-teal-700{--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity))}.bg-transparent{background-color:initial}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-yellow-700{--tw-bg-opacity:1;background-color:rgb(161 98 7/var(--tw-bg-opacity))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-green-400{--tw-gradient-from:#4ade80 var(--tw-gradient-from-position);--tw-gradient-to:rgba(74,222,128,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-indigo-500{--tw-gradient-from:#6366f1 var(--tw-gradient-from-position);--tw-gradient-to:rgba(99,102,241,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-orange-400{--tw-gradient-from:#fb923c var(--tw-gradient-from-position);--tw-gradient-to:rgba(251,146,60,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-red-400{--tw-gradient-from:#f87171 var(--tw-gradient-from-position);--tw-gradient-to:hsla(0,91%,71%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.via-purple-500{--tw-gradient-to:rgba(168,85,247,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),#a855f7 var(--tw-gradient-via-position),var(--tw-gradient-to)}.to-blue-500{--tw-gradient-to:#3b82f6 var(--tw-gradient-to-position)}.to-orange-600{--tw-gradient-to:#ea580c var(--tw-gradient-to-position)}.to-pink-500{--tw-gradient-to:#ec4899 var(--tw-gradient-to-position)}.to-purple-500{--tw-gradient-to:#a855f7 var(--tw-gradient-to-position)}.to-red-600{--tw-gradient-to:#dc2626 var(--tw-gradient-to-position)}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-20{padding:5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.pl-16{padding-left:4rem}.pl-3{padding-left:.75rem}.pl-8{padding-left:2rem}.pr-6{padding-right:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.text-gray-100{--tw-text-opacity:1;color:rgb(243 244 246/var(--tw-text-opacity))}.text-gray-50{--tw-text-opacity:1;color:rgb(249 250 251/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-lg,.shadow-xl{box-shadow:0 0 #0000,0 0 #0000,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color)}.filter{-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-700{transition-duration:.7s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.\[tag\:ehe-intensity\]{tag:ehe-intensity}.\[tag\:ehe-pga\]{tag:ehe-pga}.\[tag\:ehn-intensity\]{tag:ehn-intensity}.\[tag\:ehn-pga\]{tag:ehn-pga}.\[tag\:ehz-intensity\]{tag:ehz-intensity}.\[tag\:ehz-pga\]{tag:ehz-pga}.hover\:ml-2:hover{margin-left:.5rem}.hover\:rotate-45:hover{--tw-rotate:45deg}.hover\:rotate-45:hover,.hover\:scale-125:hover{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-125:hover{--tw-scale-x:1.25;--tw-scale-y:1.25}.hover\:bg-cyan-800:hover{--tw-bg-opacity:1;background-color:rgb(21 94 117/var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity))}.hover\:bg-indigo-800:hover{--tw-bg-opacity:1;background-color:rgb(55 48 163/var(--tw-bg-opacity))}.hover\:bg-lime-800:hover{--tw-bg-opacity:1;background-color:rgb(63 98 18/var(--tw-bg-opacity))}.hover\:bg-pink-800:hover{--tw-bg-opacity:1;background-color:rgb(157 23 77/var(--tw-bg-opacity))}.hover\:bg-purple-500:hover{--tw-bg-opacity:1;background-color:rgb(168 85 247/var(--tw-bg-opacity))}.hover\:bg-purple-600:hover{--tw-bg-opacity:1;background-color:rgb(147 51 234/var(--tw-bg-opacity))}.hover\:bg-sky-800:hover{--tw-bg-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity))}.hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity))}.hover\:bg-teal-800:hover{--tw-bg-opacity:1;background-color:rgb(17 94 89/var(--tw-bg-opacity))}.hover\:bg-yellow-800:hover{--tw-bg-opacity:1;background-color:rgb(133 77 14/var(--tw-bg-opacity))}.hover\:font-bold:hover{font-weight:700}.hover\:text-gray-900:hover{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}@media (min-width:640px){.sm\:flex-row{flex-direction:row}}@media (min-width:768px){.md\:ml-12{margin-left:3rem}.md\:h-12{height:3rem}.md\:w-1\/2{width:50%}.md\:w-12{width:3rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1024px){.lg\:w-1\/3{width:33.333333%}} \ No newline at end of file diff --git a/frontend/dist/static/css/main.87b912ec.css b/frontend/dist/static/css/main.87b912ec.css new file mode 100644 index 00000000..e6ba34a2 --- /dev/null +++ b/frontend/dist/static/css/main.87b912ec.css @@ -0,0 +1,3 @@ +/* +! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com +*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.visible{visibility:visible}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.-right-6{right:-1.5rem}.bottom-16{bottom:4rem}.right-3{right:.75rem}.top-2{top:.5rem}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.m-2{margin:.5rem}.m-auto{margin:auto}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-4{margin-left:1rem;margin-right:1rem}.my-2{margin-bottom:.5rem;margin-top:.5rem}.my-6{margin-bottom:1.5rem;margin-top:1.5rem}.mb-4{margin-bottom:1rem}.ml-10{margin-left:2.5rem}.ml-14{margin-left:3.5rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.mr-16{margin-right:4rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-5{margin-top:1.25rem}.mt-8{margin-top:2rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.size-10{height:2.5rem;width:2.5rem}.size-4{height:1rem;width:1rem}.size-5{height:1.25rem;width:1.25rem}.size-6{height:1.5rem;width:1.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-20{height:5rem}.h-4{height:1rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-\[400px\]{height:400px}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-20{width:5rem}.w-32{width:8rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-8{width:2rem}.w-\[235px\]{width:235px}.w-\[calc\(90\%\)\]{width:90%}.w-full{width:100%}.min-w-16{min-width:4rem}.min-w-full{min-width:100%}.max-w-96{max-width:24rem}.max-w-\[4\.9rem\]{max-width:4.9rem}.max-w-md{max-width:28rem}.flex-1{flex:1 1}.shrink{flex-shrink:1}.flex-grow{flex-grow:1}.-translate-x-48{--tw-translate-x:-12rem}.-translate-x-48,.translate-x-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x:0px}.translate-x-24{--tw-translate-x:6rem}.rotate-180,.translate-x-24{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.scale-x-0{--tw-scale-x:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}.animate-bounce{animation:bounce 1s infinite}@keyframes fade{0%{opacity:0}to{opacity:1}}.animate-fade{animation:fade 1s both}@keyframes fade-left{0%{opacity:0;transform:translateX(2rem)}to{opacity:1;transform:translateX(0)}}.animate-fade-left{animation:fade-left 1s both}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-pointer{cursor:pointer}.cursor-progress{cursor:progress}.cursor-wait{cursor:wait}.select-none{-webkit-user-select:none;user-select:none}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.25rem*var(--tw-space-x-reverse))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.75rem*var(--tw-space-y-reverse));margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(229 231 235/var(--tw-divide-opacity))}.self-center{align-self:center}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-x-auto{overflow-x:auto}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-4{border-width:4px}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-cyan-700{--tw-bg-opacity:1;background-color:rgb(14 116 144/var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(79 70 229/var(--tw-bg-opacity))}.bg-indigo-700{--tw-bg-opacity:1;background-color:rgb(67 56 202/var(--tw-bg-opacity))}.bg-lime-700{--tw-bg-opacity:1;background-color:rgb(77 124 15/var(--tw-bg-opacity))}.bg-pink-700{--tw-bg-opacity:1;background-color:rgb(190 24 93/var(--tw-bg-opacity))}.bg-purple-500{--tw-bg-opacity:1;background-color:rgb(168 85 247/var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity))}.bg-sky-700{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.bg-teal-700{--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity))}.bg-transparent{background-color:initial}.bg-violet-500{--tw-bg-opacity:1;background-color:rgb(139 92 246/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-yellow-700{--tw-bg-opacity:1;background-color:rgb(161 98 7/var(--tw-bg-opacity))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-green-400{--tw-gradient-from:#4ade80 var(--tw-gradient-from-position);--tw-gradient-to:#4ade8000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-indigo-500{--tw-gradient-from:#6366f1 var(--tw-gradient-from-position);--tw-gradient-to:#6366f100 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-orange-400{--tw-gradient-from:#fb923c var(--tw-gradient-from-position);--tw-gradient-to:#fb923c00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-red-400{--tw-gradient-from:#f87171 var(--tw-gradient-from-position);--tw-gradient-to:#f8717100 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.via-purple-500{--tw-gradient-to:#a855f700 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),#a855f7 var(--tw-gradient-via-position),var(--tw-gradient-to)}.to-blue-500{--tw-gradient-to:#3b82f6 var(--tw-gradient-to-position)}.to-orange-600{--tw-gradient-to:#ea580c var(--tw-gradient-to-position)}.to-pink-500{--tw-gradient-to:#ec4899 var(--tw-gradient-to-position)}.to-purple-500{--tw-gradient-to:#a855f7 var(--tw-gradient-to-position)}.to-red-600{--tw-gradient-to:#dc2626 var(--tw-gradient-to-position)}.p-2{padding:.5rem}.p-20{padding:5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-top:1rem}.pb-4,.py-4{padding-bottom:1rem}.pl-16{padding-left:4rem}.pl-3{padding-left:.75rem}.pl-8{padding-left:2rem}.pr-6{padding-right:1.5rem}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.text-gray-100{--tw-text-opacity:1;color:rgb(243 244 246/var(--tw-text-opacity))}.text-gray-50{--tw-text-opacity:1;color:rgb(249 250 251/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-lg,.shadow-xl{box-shadow:0 0 #0000,0 0 #0000,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-700{transition-duration:.7s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.animate-duration-300{animation-duration:.3s}.animate-duration-700{animation-duration:.7s}.hover\:ml-2:hover{margin-left:.5rem}.hover\:rotate-45:hover{--tw-rotate:45deg}.hover\:rotate-45:hover,.hover\:scale-125:hover{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-125:hover{--tw-scale-x:1.25;--tw-scale-y:1.25}.hover\:bg-cyan-800:hover{--tw-bg-opacity:1;background-color:rgb(21 94 117/var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.hover\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity))}.hover\:bg-indigo-700:hover{--tw-bg-opacity:1;background-color:rgb(67 56 202/var(--tw-bg-opacity))}.hover\:bg-indigo-800:hover{--tw-bg-opacity:1;background-color:rgb(55 48 163/var(--tw-bg-opacity))}.hover\:bg-lime-800:hover{--tw-bg-opacity:1;background-color:rgb(63 98 18/var(--tw-bg-opacity))}.hover\:bg-pink-800:hover{--tw-bg-opacity:1;background-color:rgb(157 23 77/var(--tw-bg-opacity))}.hover\:bg-purple-500:hover{--tw-bg-opacity:1;background-color:rgb(168 85 247/var(--tw-bg-opacity))}.hover\:bg-purple-600:hover{--tw-bg-opacity:1;background-color:rgb(147 51 234/var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.hover\:bg-sky-800:hover{--tw-bg-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity))}.hover\:bg-teal-800:hover{--tw-bg-opacity:1;background-color:rgb(17 94 89/var(--tw-bg-opacity))}.hover\:bg-yellow-800:hover{--tw-bg-opacity:1;background-color:rgb(133 77 14/var(--tw-bg-opacity))}.hover\:font-bold:hover{font-weight:700}.hover\:text-gray-700:hover{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.focus\:outline-none:focus{outline:2px solid #0000;outline-offset:2px}@media (min-width:640px){.sm\:flex-row{flex-direction:row}}@media (min-width:768px){.md\:ml-12{margin-left:3rem}.md\:size-6{height:1.5rem;width:1.5rem}.md\:h-12{height:3rem}.md\:w-1\/2{width:50%}.md\:w-12{width:3rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:1024px){.lg\:size-8{height:2rem;width:2rem}.lg\:w-1\/3{width:33.333333%}.lg\:text-2xl{font-size:1.5rem;line-height:2rem}} \ No newline at end of file diff --git a/frontend/dist/static/js/144.5b8fabfd.chunk.js b/frontend/dist/static/js/144.5b8fabfd.chunk.js deleted file mode 100644 index 085886ba..00000000 --- a/frontend/dist/static/js/144.5b8fabfd.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkobserver=self.webpackChunkobserver||[]).push([[144],{8925:function(e,t,n){var r,o,i;o=[],void 0===(i="function"===typeof(r=function(){"use strict";function t(e,t){return"undefined"==typeof t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}function r(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){u(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function o(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(r){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n.g&&n.g.global===n.g?n.g:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),u=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(e,t,n){var s=a.URL||a.webkitURL,u=document.createElement("a");t=t||e.name||"download",u.download=t,u.rel="noopener","string"==typeof e?(u.href=e,u.origin===location.origin?i(u):o(u.href)?r(e,t,n):i(u,u.target="_blank")):(u.href=s.createObjectURL(e),setTimeout((function(){s.revokeObjectURL(u.href)}),4e4),setTimeout((function(){i(u)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,n,a){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(t(e,a),n);else if(o(e))r(e,n,a);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout((function(){i(s)}))}}:function(e,t,n,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return r(e,t,n);var i="application/octet-stream"===e.type,u=/constructor/i.test(a.HTMLElement)||a.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||i&&u||s)&&"undefined"!=typeof FileReader){var f=new FileReader;f.onloadend=function(){var e=f.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},f.readAsDataURL(e)}else{var l=a.URL||a.webkitURL,d=l.createObjectURL(e);o?o.location=d:location.href=d,o=null,setTimeout((function(){l.revokeObjectURL(d)}),4e4)}});a.saveAs=u.saveAs=u,e.exports=u})?r.apply(t,o):r)||(e.exports=i)},2968:function(e,t,n){"use strict";n.d(t,{Mw:function(){return o}});var r=n(6573),o=(r.Z.Axios,r.Z.AxiosError,r.Z.CanceledError,r.Z.isCancel);r.Z.CancelToken,r.Z.VERSION,r.Z.all,r.Z.Cancel,r.Z.isAxiosError,r.Z.spread,r.Z.toFormData,r.Z.AxiosHeaders,r.Z.HttpStatusCode,r.Z.formToJSON,r.Z.getAdapter,r.Z.mergeConfig},6573:function(e,t,n){"use strict";function r(e,t){return function(){return e.apply(t,arguments)}}n.d(t,{Z:function(){return Ze}});var o,i=Object.prototype.toString,a=Object.getPrototypeOf,s=(o=Object.create(null),function(e){var t=i.call(e);return o[t]||(o[t]=t.slice(8,-1).toLowerCase())}),u=function(e){return e=e.toLowerCase(),function(t){return s(t)===e}},c=function(e){return function(t){return typeof t===e}},f=Array.isArray,l=c("undefined");var d=u("ArrayBuffer");var p=c("string"),h=c("function"),m=c("number"),v=function(e){return null!==e&&"object"===typeof e},y=function(e){if("object"!==s(e))return!1;var t=a(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},g=u("Date"),b=u("File"),w=u("Blob"),E=u("FileList"),O=u("URLSearchParams");function S(e,t){var n,r,o=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).allOwnKeys,i=void 0!==o&&o;if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),f(e))for(n=0,r=e.length;n0;)if(t===(n=r[o]).toLowerCase())return n;return null}var A="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,T=function(e){return!l(e)&&e!==A};var j,C=(j="undefined"!==typeof Uint8Array&&a(Uint8Array),function(e){return j&&e instanceof j}),x=u("HTMLFormElement"),N=function(e){var t=Object.prototype.hasOwnProperty;return function(e,n){return t.call(e,n)}}(),k=u("RegExp"),P=function(e,t){var n=Object.getOwnPropertyDescriptors(e),r={};S(n,(function(n,o){var i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},U="abcdefghijklmnopqrstuvwxyz",L="0123456789",_={DIGIT:L,ALPHA:U,ALPHA_DIGIT:U+U.toUpperCase()+L};var B=u("AsyncFunction"),F={isArray:f,isArrayBuffer:d,isBuffer:function(e){return null!==e&&!l(e)&&null!==e.constructor&&!l(e.constructor)&&h(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:function(e){var t;return e&&("function"===typeof FormData&&e instanceof FormData||h(e.append)&&("formdata"===(t=s(e))||"object"===t&&h(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&d(e.buffer)},isString:p,isNumber:m,isBoolean:function(e){return!0===e||!1===e},isObject:v,isPlainObject:y,isUndefined:l,isDate:g,isFile:b,isBlob:w,isRegExp:k,isFunction:h,isStream:function(e){return v(e)&&h(e.pipe)},isURLSearchParams:O,isTypedArray:C,isFileList:E,forEach:S,merge:function e(){for(var t=(T(this)&&this||{}).caseless,n={},r=function(r,o){var i=t&&R(n,o)||o;y(n[i])&&y(r)?n[i]=e(n[i],r):y(r)?n[i]=e({},r):f(r)?n[i]=r.slice():n[i]=r},o=0,i=arguments.length;o3&&void 0!==arguments[3]?arguments[3]:{}).allOwnKeys}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n,r){var o,i,s,u={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)s=o[i],r&&!r(s,e,t)||u[s]||(t[s]=e[s],u[s]=!0);e=!1!==n&&a(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:s,kindOfTest:u,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;if(f(e))return e;var t=e.length;if(!m(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},forEachEntry:function(e,t){for(var n,r=(e&&e[Symbol.iterator]).call(e);(n=r.next())&&!n.done;){var o=n.value;t.call(e,o[0],o[1])}},matchAll:function(e,t){for(var n,r=[];null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:x,hasOwnProperty:N,hasOwnProp:N,reduceDescriptors:P,freezeMethods:function(e){P(e,(function(t,n){if(h(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;var r=e[n];h(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:function(e,t){var n={},r=function(e){e.forEach((function(e){n[e]=!0}))};return f(e)?r(e):r(String(e).split(t)),n},toCamelCase:function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))},noop:function(){},toFiniteNumber:function(e,t){return e=+e,Number.isFinite(e)?e:t},findKey:R,global:A,isContextDefined:T,ALPHABET:_,generateString:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_.ALPHA_DIGIT,n="",r=t.length;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&h(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:function(e){var t=new Array(10);return function e(n,r){if(v(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[r]=n;var o=f(n)?[]:{};return S(n,(function(t,n){var i=e(t,r+1);!l(i)&&(o[n]=i)})),t[r]=void 0,o}}return n}(e,0)},isAsyncFn:B,isThenable:function(e){return e&&(v(e)||h(e))&&h(e.then)&&h(e.catch)}},D=n(5671),M=n(3144);function q(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}F.inherits(q,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:F.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var I=q.prototype,H={};["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((function(e){H[e]={value:e}})),Object.defineProperties(q,H),Object.defineProperty(I,"isAxiosError",{value:!0}),q.from=function(e,t,n,r,o,i){var a=Object.create(I);return F.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(function(e){return"isAxiosError"!==e})),q.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var Z=q;function z(e){return F.isPlainObject(e)||F.isArray(e)}function J(e){return F.endsWith(e,"[]")?e.slice(0,-2):e}function W(e,t,n){return e?e.concat(t).map((function(e,t){return e=J(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}var K=F.toFlatObject(F,{},null,(function(e){return/^is[A-Z]/.test(e)}));var V=function(e,t,n){if(!F.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;var r=(n=F.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!F.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!==typeof Blob&&Blob)&&F.isSpecCompliantForm(t);if(!F.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(F.isDate(e))return e.toISOString();if(!s&&F.isBlob(e))throw new Z("Blob is not supported. Use a Buffer instead.");return F.isArrayBuffer(e)||F.isTypedArray(e)?s&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){var s=e;if(e&&!o&&"object"===typeof e)if(F.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(F.isArray(e)&&function(e){return F.isArray(e)&&!e.some(z)}(e)||(F.isFileList(e)||F.endsWith(n,"[]"))&&(s=F.toArray(e)))return n=J(n),s.forEach((function(e,r){!F.isUndefined(e)&&null!==e&&t.append(!0===a?W([n],r,i):null===a?n:n+"[]",u(e))})),!1;return!!z(e)||(t.append(W(o,n,i),u(e)),!1)}var f=[],l=Object.assign(K,{defaultVisitor:c,convertValue:u,isVisitable:z});if(!F.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!F.isUndefined(n)){if(-1!==f.indexOf(n))throw Error("Circular reference detected in "+r.join("."));f.push(n),F.forEach(n,(function(n,i){!0===(!(F.isUndefined(n)||null===n)&&o.call(t,n,F.isString(i)?i.trim():i,r,l))&&e(n,r?r.concat(i):[i])})),f.pop()}}(e),t};function G(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function X(e,t){this._pairs=[],e&&V(e,this,t)}var $=X.prototype;$.append=function(e,t){this._pairs.push([e,t])},$.toString=function(e){var t=e?function(t){return e.call(this,t,G)}:G;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var Q=X;function Y(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ee(e,t,n){if(!t)return e;var r,o=n&&n.encode||Y,i=n&&n.serialize;if(r=i?i(t,n):F.isURLSearchParams(t)?t.toString():new Q(t,n).toString(o)){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}var te=function(){function e(){(0,D.Z)(this,e),this.handlers=[]}return(0,M.Z)(e,[{key:"use",value:function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){F.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}]),e}(),ne={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},re={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:Q,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},isStandardBrowserEnv:function(){var e;return("undefined"===typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&("undefined"!==typeof window&&"undefined"!==typeof document)}(),isStandardBrowserWebWorkerEnv:"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,protocols:["http","https","file","blob","url","data"]};var oe=function(e){function t(e,n,r,o){var i=e[o++],a=Number.isFinite(+i),s=o>=e.length;return i=!i&&F.isArray(r)?r.length:i,s?(F.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a):(r[i]&&F.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&F.isArray(r[i])&&(r[i]=function(e){var t,n,r={},o=Object.keys(e),i=o.length;for(t=0;t-1,i=F.isObject(e);if(i&&F.isHTMLForm(e)&&(e=new FormData(e)),F.isFormData(e))return o&&o?JSON.stringify(oe(e)):e;if(F.isArrayBuffer(e)||F.isBuffer(e)||F.isStream(e)||F.isFile(e)||F.isBlob(e))return e;if(F.isArrayBufferView(e))return e.buffer;if(F.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return V(e,new re.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return re.isNode&&F.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((n=F.isFileList(e))||r.indexOf("multipart/form-data")>-1){var a=this.env&&this.env.FormData;return V(n?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||o?(t.setContentType("application/json",!1),function(e,t,n){if(F.isString(e))try{return(t||JSON.parse)(e),F.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||ie.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&F.isString(e)&&(n&&!this.responseType||r)){var o=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(i){if(o){if("SyntaxError"===i.name)throw Z.from(i,Z.ERR_BAD_RESPONSE,this,null,this.response);throw i}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:re.classes.FormData,Blob:re.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};F.forEach(["delete","get","head","post","put","patch"],(function(e){ie.headers[e]={}}));var ae=ie,se=n(9439),ue=F.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"]),ce=Symbol("internals");function fe(e){return e&&String(e).trim().toLowerCase()}function le(e){return!1===e||null==e?e:F.isArray(e)?e.map(le):String(e)}function de(e,t,n,r,o){return F.isFunction(r)?r.call(this,t,n):(o&&(t=n),F.isString(t)?F.isString(r)?-1!==t.indexOf(r):F.isRegExp(r)?r.test(t):void 0:void 0)}var pe=function(e,t){function n(e){(0,D.Z)(this,n),e&&this.set(e)}return(0,M.Z)(n,[{key:"set",value:function(e,t,n){var r=this;function o(e,t,n){var o=fe(t);if(!o)throw new Error("header name must be a non-empty string");var i=F.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=le(e))}var i=function(e,t){return F.forEach(e,(function(e,n){return o(e,n,t)}))};return F.isPlainObject(e)||e instanceof this.constructor?i(e,t):F.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?i(function(e){var t,n,r,o={};return e&&e.split("\n").forEach((function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||o[t]&&ue[t]||("set-cookie"===t?o[t]?o[t].push(n):o[t]=[n]:o[t]=o[t]?o[t]+", "+n:n)})),o}(e),t):null!=e&&o(t,e,n),this}},{key:"get",value:function(e,t){if(e=fe(e)){var n=F.findKey(this,e);if(n){var r=this[n];if(!t)return r;if(!0===t)return function(e){for(var t,n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;t=r.exec(e);)n[t[1]]=t[2];return n}(r);if(F.isFunction(t))return t.call(this,r,n);if(F.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=fe(e)){var n=F.findKey(this,e);return!(!n||void 0===this[n]||t&&!de(0,this[n],n,t))}return!1}},{key:"delete",value:function(e,t){var n=this,r=!1;function o(e){if(e=fe(e)){var o=F.findKey(n,e);!o||t&&!de(0,n[o],o,t)||(delete n[o],r=!0)}}return F.isArray(e)?e.forEach(o):o(e),r}},{key:"clear",value:function(e){for(var t=Object.keys(this),n=t.length,r=!1;n--;){var o=t[n];e&&!de(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}},{key:"normalize",value:function(e){var t=this,n={};return F.forEach(this,(function(r,o){var i=F.findKey(n,o);if(i)return t[i]=le(r),void delete t[o];var a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))}(o):String(o).trim();a!==o&&delete t[o],t[a]=le(r),n[a]=!0})),this}},{key:"concat",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r1?n-1:0),o=1;o1?"since :\n"+s.map(Ae).join("\n"):" "+Ae(s[0]):"as no adapter specified";throw new Z("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return n};function Ce(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ge(null,e)}function xe(e){return Ce(e),e.headers=he.from(e.headers),e.data=me.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),je(e.adapter||ae.adapter)(e).then((function(t){return Ce(e),t.data=me.call(e,e.transformResponse,t),t.headers=he.from(t.headers),t}),(function(t){return ve(t)||(Ce(e),t&&t.response&&(t.response.data=me.call(e,e.transformResponse,t.response),t.response.headers=he.from(t.response.headers))),Promise.reject(t)}))}var Ne=function(e){return e instanceof he?e.toJSON():e};function ke(e,t){t=t||{};var n={};function r(e,t,n){return F.isPlainObject(e)&&F.isPlainObject(t)?F.merge.call({caseless:n},e,t):F.isPlainObject(t)?F.merge({},t):F.isArray(t)?t.slice():t}function o(e,t,n){return F.isUndefined(t)?F.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!F.isUndefined(t))return r(void 0,t)}function a(e,t){return F.isUndefined(t)?F.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}var u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:function(e,t){return o(Ne(e),Ne(t),!0)}};return F.forEach(Object.keys(Object.assign({},e,t)),(function(r){var i=u[r]||o,a=i(e[r],t[r],r);F.isUndefined(a)&&i!==s||(n[r]=a)})),n}var Pe="1.5.1",Ue={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){Ue[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var Le={};Ue.transitional=function(e,t,n){function r(e,t){return"[Axios v1.5.1] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,i){if(!1===e)throw new Z(r(o," has been removed"+(t?" in "+t:"")),Z.ERR_DEPRECATED);return t&&!Le[o]&&(Le[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var _e={assertOptions:function(e,t,n){if("object"!==typeof e)throw new Z("options must be an object",Z.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var s=e[i],u=void 0===s||a(s,i,e);if(!0!==u)throw new Z("option "+i+" must be "+u,Z.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Z("Unknown option "+i,Z.ERR_BAD_OPTION)}},validators:Ue},Be=_e.validators,Fe=function(){function e(t){(0,D.Z)(this,e),this.defaults=t,this.interceptors={request:new te,response:new te}}return(0,M.Z)(e,[{key:"request",value:function(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{};var n=t=ke(this.defaults,t),r=n.transitional,o=n.paramsSerializer,i=n.headers;void 0!==r&&_e.assertOptions(r,{silentJSONParsing:Be.transitional(Be.boolean),forcedJSONParsing:Be.transitional(Be.boolean),clarifyTimeoutError:Be.transitional(Be.boolean)},!1),null!=o&&(F.isFunction(o)?t.paramsSerializer={serialize:o}:_e.assertOptions(o,{encode:Be.function,serialize:Be.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();var a=i&&F.merge(i.common,i[t.method]);i&&F.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete i[e]})),t.headers=he.concat(a,i);var s=[],u=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(u=u&&e.synchronous,s.unshift(e.fulfilled,e.rejected))}));var c,f=[];this.interceptors.response.forEach((function(e){f.push(e.fulfilled,e.rejected)}));var l,d=0;if(!u){var p=[xe.bind(this),void 0];for(p.unshift.apply(p,s),p.push.apply(p,f),l=p.length,c=Promise.resolve(t);d0;)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},t((function(e,t,o){r.reason||(r.reason=new ge(e,t,o),n(r.reason))}))}return(0,M.Z)(e,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}}],[{key:"source",value:function(){var t;return{token:new e((function(e){t=e})),cancel:t}}}]),e}();var qe={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};Object.entries(qe).forEach((function(e){var t=(0,se.Z)(e,2),n=t[0],r=t[1];qe[r]=n}));var Ie=qe;var He=function e(t){var n=new De(t),o=r(De.prototype.request,n);return F.extend(o,De.prototype,n,{allOwnKeys:!0}),F.extend(o,n,null,{allOwnKeys:!0}),o.create=function(n){return e(ke(t,n))},o}(ae);He.Axios=De,He.CanceledError=ge,He.CancelToken=Me,He.isCancel=ve,He.VERSION=Pe,He.toFormData=V,He.AxiosError=Z,He.Cancel=He.CanceledError,He.all=function(e){return Promise.all(e)},He.spread=function(e){return function(t){return e.apply(null,t)}},He.isAxiosError=function(e){return F.isObject(e)&&!0===e.isAxiosError},He.mergeConfig=ke,He.AxiosHeaders=he,He.formToJSON=function(e){return oe(F.isHTMLForm(e)?new FormData(e):e)},He.getAdapter=je,He.HttpStatusCode=Ie,He.default=He;var Ze=He}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/165.41b9296d.chunk.js b/frontend/dist/static/js/165.41b9296d.chunk.js deleted file mode 100644 index 977e4c76..00000000 --- a/frontend/dist/static/js/165.41b9296d.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkobserver=self.webpackChunkobserver||[]).push([[165],{2071:function(e,t,n){n.d(t,{i:function(){return c}});var o=n(7313),r=n(1577),i=n(2504),a=n(6417),l=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function s(e){var t=[],n=[];return Array.from(e.querySelectorAll(l)).forEach((function(e,o){var r=function(e){var t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==r&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;var t=function(t){return e.ownerDocument.querySelector('input[type="radio"]'.concat(t))},n=t('[name="'.concat(e.name,'"]:checked'));return n||(n=t('[name="'.concat(e.name,'"]'))),n!==e}(e))}(e)&&(0===r?t.push(e):n.push({documentOrder:o,tabIndex:r,node:e}))})),n.sort((function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex})).map((function(e){return e.node})).concat(t)}function u(){return!0}function c(e){var t=e.children,n=e.disableAutoFocus,l=void 0!==n&&n,c=e.disableEnforceFocus,d=void 0!==c&&c,p=e.disableRestoreFocus,f=void 0!==p&&p,v=e.getTabbable,m=void 0===v?s:v,h=e.isEnabled,b=void 0===h?u:h,g=e.open,Z=o.useRef(!1),y=o.useRef(null),x=o.useRef(null),S=o.useRef(null),w=o.useRef(null),C=o.useRef(!1),R=o.useRef(null),E=(0,r.Z)(t.ref,R),P=o.useRef(null);o.useEffect((function(){g&&R.current&&(C.current=!l)}),[l,g]),o.useEffect((function(){if(g&&R.current){var e=(0,i.Z)(R.current);return R.current.contains(e.activeElement)||(R.current.hasAttribute("tabIndex")||R.current.setAttribute("tabIndex","-1"),C.current&&R.current.focus()),function(){f||(S.current&&S.current.focus&&(Z.current=!0,S.current.focus()),S.current=null)}}}),[g]),o.useEffect((function(){if(g&&R.current){var e=(0,i.Z)(R.current),t=function(t){P.current=t,!d&&b()&&"Tab"===t.key&&e.activeElement===R.current&&t.shiftKey&&(Z.current=!0,x.current&&x.current.focus())},n=function(){var t=R.current;if(null!==t)if(e.hasFocus()&&b()&&!Z.current){if(!t.contains(e.activeElement)&&(!d||e.activeElement===y.current||e.activeElement===x.current)){if(e.activeElement!==w.current)w.current=null;else if(null!==w.current)return;if(C.current){var n=[];if(e.activeElement!==y.current&&e.activeElement!==x.current||(n=m(R.current)),n.length>0){var o,r,i=Boolean((null==(o=P.current)?void 0:o.shiftKey)&&"Tab"===(null==(r=P.current)?void 0:r.key)),a=n[0],l=n[n.length-1];"string"!==typeof a&&"string"!==typeof l&&(i?l.focus():a.focus())}else t.focus()}}}else Z.current=!1};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);var o=setInterval((function(){e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return function(){clearInterval(o),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}}),[l,d,f,b,g,m]);var k=function(e){null===S.current&&(S.current=e.relatedTarget),C.current=!0};return(0,a.jsxs)(o.Fragment,{children:[(0,a.jsx)("div",{tabIndex:g?0:-1,onFocus:k,ref:y,"data-testid":"sentinelStart"}),o.cloneElement(t,{ref:E,onFocus:function(e){null===S.current&&(S.current=e.relatedTarget),C.current=!0,w.current=e.target;var n=t.props.onFocus;n&&n(e)}}),(0,a.jsx)("div",{tabIndex:g?0:-1,onFocus:k,ref:x,"data-testid":"sentinelEnd"})]})}},2871:function(e,t,n){n.d(t,{h:function(){return c}});var o=n(9439),r=n(7313),i=n(1168),a=n(1577),l=n(5094),s=n(9265),u=n(6417);var c=r.forwardRef((function(e,t){var n=e.children,c=e.container,d=e.disablePortal,p=void 0!==d&&d,f=r.useState(null),v=(0,o.Z)(f,2),m=v[0],h=v[1],b=(0,a.Z)(r.isValidElement(n)?n.ref:null,t);if((0,l.Z)((function(){p||h(function(e){return"function"===typeof e?e():e}(c)||document.body)}),[c,p]),(0,l.Z)((function(){if(m&&!p)return(0,s.Z)(t,m),function(){(0,s.Z)(t,null)}}),[t,m,p]),p){if(r.isValidElement(n)){var g={ref:b};return r.cloneElement(n,g)}return(0,u.jsx)(r.Fragment,{children:n})}return(0,u.jsx)(r.Fragment,{children:m?i.createPortal(n,m):m})}))},4816:function(e,t,n){function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===e)return{};var n={};return Object.keys(e).filter((function(n){return n.match(/^on[A-Z]/)&&"function"===typeof e[n]&&!t.includes(n)})).forEach((function(t){n[t]=e[t]})),n}n.d(t,{_:function(){return o}})},3066:function(e,t,n){function o(e){return"string"===typeof e}n.d(t,{X:function(){return o}})},3107:function(e,t,n){function o(e,t,n){return"function"===typeof e?e(t,n):e}n.d(t,{x:function(){return o}})},7392:function(e,t,n){n.d(t,{y:function(){return p}});var o=n(7462),r=n(3366),i=n(1577),a=n(3066);var l=n(4146),s=n(4816);function u(e){if(void 0===e)return{};var t={};return Object.keys(e).filter((function(t){return!(t.match(/^on[A-Z]/)&&"function"===typeof e[t])})).forEach((function(n){t[n]=e[n]})),t}var c=n(3107),d=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function p(e){var t,n=e.elementType,p=e.externalSlotProps,f=e.ownerState,v=e.skipResolvingSlotProps,m=void 0!==v&&v,h=(0,r.Z)(e,d),b=m?{}:(0,c.x)(p,f),g=function(e){var t=e.getSlotProps,n=e.additionalProps,r=e.externalSlotProps,i=e.externalForwardedProps,a=e.className;if(!t){var c=(0,l.Z)(null==i?void 0:i.className,null==r?void 0:r.className,a,null==n?void 0:n.className),d=(0,o.Z)({},null==n?void 0:n.style,null==i?void 0:i.style,null==r?void 0:r.style),p=(0,o.Z)({},n,i,r);return c.length>0&&(p.className=c),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:void 0}}var f=(0,s._)((0,o.Z)({},i,r)),v=u(r),m=u(i),h=t(f),b=(0,l.Z)(null==h?void 0:h.className,null==n?void 0:n.className,a,null==i?void 0:i.className,null==r?void 0:r.className),g=(0,o.Z)({},null==h?void 0:h.style,null==n?void 0:n.style,null==i?void 0:i.style,null==r?void 0:r.style),Z=(0,o.Z)({},h,n,m,v);return b.length>0&&(Z.className=b),Object.keys(g).length>0&&(Z.style=g),{props:Z,internalRef:h.ref}}((0,o.Z)({},h,{externalSlotProps:b})),Z=g.props,y=g.internalRef,x=(0,i.Z)(y,null==b?void 0:b.ref,null==(t=e.additionalProps)?void 0:t.ref),S=function(e,t,n){return void 0===e||(0,a.X)(e)?t:(0,o.Z)({},t,{ownerState:(0,o.Z)({},t.ownerState,n)})}(n,(0,o.Z)({},Z,{ref:x}),f);return S}},1554:function(e,t,n){n.d(t,{Z:function(){return b}});var o=n(3366),r=n(7462),i=n(7313),a=n(4146),l=n(1921),s=n(8564),u=n(5469),c=n(2530),d=n(7430),p=n(2298);function f(e){return(0,p.Z)("MuiBackdrop",e)}(0,d.Z)("MuiBackdrop",["root","invisible"]);var v=n(6417),m=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],h=(0,s.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.invisible&&t.invisible]}})((function(e){var t=e.ownerState;return(0,r.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},t.invisible&&{backgroundColor:"transparent"})})),b=i.forwardRef((function(e,t){var n,i,s,d=(0,u.Z)({props:e,name:"MuiBackdrop"}),p=d.children,b=d.className,g=d.component,Z=void 0===g?"div":g,y=d.components,x=void 0===y?{}:y,S=d.componentsProps,w=void 0===S?{}:S,C=d.invisible,R=void 0!==C&&C,E=d.open,P=d.slotProps,k=void 0===P?{}:P,M=d.slots,I=void 0===M?{}:M,T=d.TransitionComponent,N=void 0===T?c.Z:T,F=d.transitionDuration,O=(0,o.Z)(d,m),z=(0,r.Z)({},d,{component:Z,invisible:R}),L=function(e){var t=e.classes,n={root:["root",e.invisible&&"invisible"]};return(0,l.Z)(n,f,t)}(z),A=null!=(n=k.root)?n:w.root;return(0,v.jsx)(N,(0,r.Z)({in:E,timeout:F},O,{children:(0,v.jsx)(h,(0,r.Z)({"aria-hidden":!0},A,{as:null!=(i=null!=(s=I.root)?s:x.Root)?i:Z,className:(0,a.Z)(L.root,b,null==A?void 0:A.className),ownerState:(0,r.Z)({},z,null==A?void 0:A.ownerState),classes:L,ref:t,children:p}))}))}))},1095:function(e,t,n){n.d(t,{Z:function(){return P}});var o=n(4942),r=n(3366),i=n(7462),a=n(7313),l=n(4146),s=n(9023),u=n(1921),c=n(7551),d=n(8564),p=n(5469),f=n(7261),v=n(1615),m=n(7430),h=n(2298);function b(e){return(0,h.Z)("MuiButton",e)}var g=(0,m.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var Z=a.createContext({});var y=a.createContext(void 0),x=n(6417),S=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],w=function(e){return(0,i.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}})},C=(0,d.ZP)(f.Z,{shouldForwardProp:function(e){return(0,d.FO)(e)||"classes"===e},name:"MuiButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["".concat(n.variant).concat((0,v.Z)(n.color))],t["size".concat((0,v.Z)(n.size))],t["".concat(n.variant,"Size").concat((0,v.Z)(n.size))],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((function(e){var t,n,r,a=e.theme,l=e.ownerState,s="light"===a.palette.mode?a.palette.grey[300]:a.palette.grey[800],u="light"===a.palette.mode?a.palette.grey.A100:a.palette.grey[700];return(0,i.Z)({},a.typography.button,(t={minWidth:64,padding:"6px 16px",borderRadius:(a.vars||a).shape.borderRadius,transition:a.transitions.create(["background-color","box-shadow","border-color","color"],{duration:a.transitions.duration.short}),"&:hover":(0,i.Z)({textDecoration:"none",backgroundColor:a.vars?"rgba(".concat(a.vars.palette.text.primaryChannel," / ").concat(a.vars.palette.action.hoverOpacity,")"):(0,c.Fq)(a.palette.text.primary,a.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===l.variant&&"inherit"!==l.color&&{backgroundColor:a.vars?"rgba(".concat(a.vars.palette[l.color].mainChannel," / ").concat(a.vars.palette.action.hoverOpacity,")"):(0,c.Fq)(a.palette[l.color].main,a.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===l.variant&&"inherit"!==l.color&&{border:"1px solid ".concat((a.vars||a).palette[l.color].main),backgroundColor:a.vars?"rgba(".concat(a.vars.palette[l.color].mainChannel," / ").concat(a.vars.palette.action.hoverOpacity,")"):(0,c.Fq)(a.palette[l.color].main,a.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===l.variant&&{backgroundColor:a.vars?a.vars.palette.Button.inheritContainedHoverBg:u,boxShadow:(a.vars||a).shadows[4],"@media (hover: none)":{boxShadow:(a.vars||a).shadows[2],backgroundColor:(a.vars||a).palette.grey[300]}},"contained"===l.variant&&"inherit"!==l.color&&{backgroundColor:(a.vars||a).palette[l.color].dark,"@media (hover: none)":{backgroundColor:(a.vars||a).palette[l.color].main}}),"&:active":(0,i.Z)({},"contained"===l.variant&&{boxShadow:(a.vars||a).shadows[8]})},(0,o.Z)(t,"&.".concat(g.focusVisible),(0,i.Z)({},"contained"===l.variant&&{boxShadow:(a.vars||a).shadows[6]})),(0,o.Z)(t,"&.".concat(g.disabled),(0,i.Z)({color:(a.vars||a).palette.action.disabled},"outlined"===l.variant&&{border:"1px solid ".concat((a.vars||a).palette.action.disabledBackground)},"contained"===l.variant&&{color:(a.vars||a).palette.action.disabled,boxShadow:(a.vars||a).shadows[0],backgroundColor:(a.vars||a).palette.action.disabledBackground})),t),"text"===l.variant&&{padding:"6px 8px"},"text"===l.variant&&"inherit"!==l.color&&{color:(a.vars||a).palette[l.color].main},"outlined"===l.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===l.variant&&"inherit"!==l.color&&{color:(a.vars||a).palette[l.color].main,border:a.vars?"1px solid rgba(".concat(a.vars.palette[l.color].mainChannel," / 0.5)"):"1px solid ".concat((0,c.Fq)(a.palette[l.color].main,.5))},"contained"===l.variant&&{color:a.vars?a.vars.palette.text.primary:null==(n=(r=a.palette).getContrastText)?void 0:n.call(r,a.palette.grey[300]),backgroundColor:a.vars?a.vars.palette.Button.inheritContainedBg:s,boxShadow:(a.vars||a).shadows[2]},"contained"===l.variant&&"inherit"!==l.color&&{color:(a.vars||a).palette[l.color].contrastText,backgroundColor:(a.vars||a).palette[l.color].main},"inherit"===l.color&&{color:"inherit",borderColor:"currentColor"},"small"===l.size&&"text"===l.variant&&{padding:"4px 5px",fontSize:a.typography.pxToRem(13)},"large"===l.size&&"text"===l.variant&&{padding:"8px 11px",fontSize:a.typography.pxToRem(15)},"small"===l.size&&"outlined"===l.variant&&{padding:"3px 9px",fontSize:a.typography.pxToRem(13)},"large"===l.size&&"outlined"===l.variant&&{padding:"7px 21px",fontSize:a.typography.pxToRem(15)},"small"===l.size&&"contained"===l.variant&&{padding:"4px 10px",fontSize:a.typography.pxToRem(13)},"large"===l.size&&"contained"===l.variant&&{padding:"8px 22px",fontSize:a.typography.pxToRem(15)},l.fullWidth&&{width:"100%"})}),(function(e){var t;return e.ownerState.disableElevation&&(t={boxShadow:"none","&:hover":{boxShadow:"none"}},(0,o.Z)(t,"&.".concat(g.focusVisible),{boxShadow:"none"}),(0,o.Z)(t,"&:active",{boxShadow:"none"}),(0,o.Z)(t,"&.".concat(g.disabled),{boxShadow:"none"}),t)})),R=(0,d.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.startIcon,t["iconSize".concat((0,v.Z)(n.size))]]}})((function(e){var t=e.ownerState;return(0,i.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},w(t))})),E=(0,d.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.endIcon,t["iconSize".concat((0,v.Z)(n.size))]]}})((function(e){var t=e.ownerState;return(0,i.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},w(t))})),P=a.forwardRef((function(e,t){var n=a.useContext(Z),o=a.useContext(y),c=(0,s.Z)(n,e),d=(0,p.Z)({props:c,name:"MuiButton"}),f=d.children,m=d.color,h=void 0===m?"primary":m,g=d.component,w=void 0===g?"button":g,P=d.className,k=d.disabled,M=void 0!==k&&k,I=d.disableElevation,T=void 0!==I&&I,N=d.disableFocusRipple,F=void 0!==N&&N,O=d.endIcon,z=d.focusVisibleClassName,L=d.fullWidth,A=void 0!==L&&L,B=d.size,W=void 0===B?"medium":B,j=d.startIcon,D=d.type,V=d.variant,q=void 0===V?"text":V,H=(0,r.Z)(d,S),K=(0,i.Z)({},d,{color:h,component:w,disabled:M,disableElevation:T,disableFocusRipple:F,fullWidth:A,size:W,type:D,variant:q}),U=function(e){var t=e.color,n=e.disableElevation,o=e.fullWidth,r=e.size,a=e.variant,l=e.classes,s={root:["root",a,"".concat(a).concat((0,v.Z)(t)),"size".concat((0,v.Z)(r)),"".concat(a,"Size").concat((0,v.Z)(r)),"inherit"===t&&"colorInherit",n&&"disableElevation",o&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize".concat((0,v.Z)(r))],endIcon:["endIcon","iconSize".concat((0,v.Z)(r))]},c=(0,u.Z)(s,b,l);return(0,i.Z)({},l,c)}(K),X=j&&(0,x.jsx)(R,{className:U.startIcon,ownerState:K,children:j}),G=O&&(0,x.jsx)(E,{className:U.endIcon,ownerState:K,children:O}),Y=o||"";return(0,x.jsxs)(C,(0,i.Z)({ownerState:K,className:(0,l.Z)(n.className,U.root,P,Y),component:w,disabled:M,focusRipple:!F,focusVisibleClassName:(0,l.Z)(U.focusVisible,z),ref:t,type:D},H,{classes:U,children:[X,f,G]}))}))},7261:function(e,t,n){n.d(t,{Z:function(){return ee}});var o,r=n(9439),i=n(4942),a=n(7462),l=n(3366),s=n(7313),u=n(4146),c=n(1921),d=n(8564),p=n(5469),f=n(6983),v=n(3236),m=!0,h=!1,b={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function g(e){e.metaKey||e.altKey||e.ctrlKey||(m=!0)}function Z(){m=!1}function y(){"hidden"===this.visibilityState&&h&&(m=!0)}function x(e){var t=e.target;try{return t.matches(":focus-visible")}catch(n){}return m||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!b[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}var S=function(){var e=s.useCallback((function(e){var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",g,!0),t.addEventListener("mousedown",Z,!0),t.addEventListener("pointerdown",Z,!0),t.addEventListener("touchstart",Z,!0),t.addEventListener("visibilitychange",y,!0))}),[]),t=s.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!x(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(h=!0,window.clearTimeout(o),o=window.setTimeout((function(){h=!1}),100),t.current=!1,!0)},ref:e}},w=n(3433),C=n(168),R=n(1078),E=n(686),P=n(6417);var k=function(e){var t=e.className,n=e.classes,o=e.pulsate,i=void 0!==o&&o,a=e.rippleX,l=e.rippleY,c=e.rippleSize,d=e.in,p=e.onExited,f=e.timeout,v=s.useState(!1),m=(0,r.Z)(v,2),h=m[0],b=m[1],g=(0,u.Z)(t,n.ripple,n.rippleVisible,i&&n.ripplePulsate),Z={width:c,height:c,top:-c/2+l,left:-c/2+a},y=(0,u.Z)(n.child,h&&n.childLeaving,i&&n.childPulsate);return d||h||b(!0),s.useEffect((function(){if(!d&&null!=p){var e=setTimeout(p,f);return function(){clearTimeout(e)}}}),[p,d,f]),(0,P.jsx)("span",{className:g,style:Z,children:(0,P.jsx)("span",{className:y})})},M=n(7430);var I,T,N,F,O,z,L,A,B=(0,M.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),W=["center","classes","className"],j=(0,E.F4)(O||(O=I||(I=(0,C.Z)(["\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n"])))),D=(0,E.F4)(z||(z=T||(T=(0,C.Z)(["\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n"])))),V=(0,E.F4)(L||(L=N||(N=(0,C.Z)(["\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n"])))),q=(0,d.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),H=(0,d.ZP)(k,{name:"MuiTouchRipple",slot:"Ripple"})(A||(A=F||(F=(0,C.Z)(["\n opacity: 0;\n position: absolute;\n\n &."," {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n &."," {\n animation-duration: ","ms;\n }\n\n & ."," {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & ."," {\n opacity: 0;\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n & ."," {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ",";\n animation-duration: 2500ms;\n animation-timing-function: ",";\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n"]))),B.rippleVisible,j,550,(function(e){return e.theme.transitions.easing.easeInOut}),B.ripplePulsate,(function(e){return e.theme.transitions.duration.shorter}),B.child,B.childLeaving,D,550,(function(e){return e.theme.transitions.easing.easeInOut}),B.childPulsate,V,(function(e){return e.theme.transitions.easing.easeInOut})),K=s.forwardRef((function(e,t){var n=(0,p.Z)({props:e,name:"MuiTouchRipple"}),o=n.center,i=void 0!==o&&o,c=n.classes,d=void 0===c?{}:c,f=n.className,v=(0,l.Z)(n,W),m=s.useState([]),h=(0,r.Z)(m,2),b=h[0],g=h[1],Z=s.useRef(0),y=s.useRef(null);s.useEffect((function(){y.current&&(y.current(),y.current=null)}),[b]);var x=s.useRef(!1),S=s.useRef(0),C=s.useRef(null),E=s.useRef(null);s.useEffect((function(){return function(){S.current&&clearTimeout(S.current)}}),[]);var k=s.useCallback((function(e){var t=e.pulsate,n=e.rippleX,o=e.rippleY,r=e.rippleSize,i=e.cb;g((function(e){return[].concat((0,w.Z)(e),[(0,P.jsx)(H,{classes:{ripple:(0,u.Z)(d.ripple,B.ripple),rippleVisible:(0,u.Z)(d.rippleVisible,B.rippleVisible),ripplePulsate:(0,u.Z)(d.ripplePulsate,B.ripplePulsate),child:(0,u.Z)(d.child,B.child),childLeaving:(0,u.Z)(d.childLeaving,B.childLeaving),childPulsate:(0,u.Z)(d.childPulsate,B.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:o,rippleSize:r},Z.current)])})),Z.current+=1,y.current=i}),[d]),M=s.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},o=t.pulsate,r=void 0!==o&&o,a=t.center,l=void 0===a?i||t.pulsate:a,s=t.fakeElement,u=void 0!==s&&s;if("mousedown"===(null==e?void 0:e.type)&&x.current)x.current=!1;else{"touchstart"===(null==e?void 0:e.type)&&(x.current=!0);var c,d,p,f=u?null:E.current,v=f?f.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(l||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(v.width/2),d=Math.round(v.height/2);else{var m=e.touches&&e.touches.length>0?e.touches[0]:e,h=m.clientX,b=m.clientY;c=Math.round(h-v.left),d=Math.round(b-v.top)}if(l)(p=Math.sqrt((2*Math.pow(v.width,2)+Math.pow(v.height,2))/3))%2===0&&(p+=1);else{var g=2*Math.max(Math.abs((f?f.clientWidth:0)-c),c)+2,Z=2*Math.max(Math.abs((f?f.clientHeight:0)-d),d)+2;p=Math.sqrt(Math.pow(g,2)+Math.pow(Z,2))}null!=e&&e.touches?null===C.current&&(C.current=function(){k({pulsate:r,rippleX:c,rippleY:d,rippleSize:p,cb:n})},S.current=setTimeout((function(){C.current&&(C.current(),C.current=null)}),80)):k({pulsate:r,rippleX:c,rippleY:d,rippleSize:p,cb:n})}}),[i,k]),I=s.useCallback((function(){M({},{pulsate:!0})}),[M]),T=s.useCallback((function(e,t){if(clearTimeout(S.current),"touchend"===(null==e?void 0:e.type)&&C.current)return C.current(),C.current=null,void(S.current=setTimeout((function(){T(e,t)})));C.current=null,g((function(e){return e.length>0?e.slice(1):e})),y.current=t}),[]);return s.useImperativeHandle(t,(function(){return{pulsate:I,start:M,stop:T}}),[I,M,T]),(0,P.jsx)(q,(0,a.Z)({className:(0,u.Z)(B.root,d.root,f),ref:E},v,{children:(0,P.jsx)(R.Z,{component:null,exit:!0,children:b})}))})),U=K,X=n(2298);function G(e){return(0,X.Z)("MuiButtonBase",e)}var Y,_=(0,M.Z)("MuiButtonBase",["root","disabled","focusVisible"]),Q=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],J=(0,d.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:function(e,t){return t.root}})((Y={display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"}},(0,i.Z)(Y,"&.".concat(_.disabled),{pointerEvents:"none",cursor:"default"}),(0,i.Z)(Y,"@media print",{colorAdjust:"exact"}),Y)),$=s.forwardRef((function(e,t){var n=(0,p.Z)({props:e,name:"MuiButtonBase"}),o=n.action,i=n.centerRipple,d=void 0!==i&&i,m=n.children,h=n.className,b=n.component,g=void 0===b?"button":b,Z=n.disabled,y=void 0!==Z&&Z,x=n.disableRipple,w=void 0!==x&&x,C=n.disableTouchRipple,R=void 0!==C&&C,E=n.focusRipple,k=void 0!==E&&E,M=n.LinkComponent,I=void 0===M?"a":M,T=n.onBlur,N=n.onClick,F=n.onContextMenu,O=n.onDragLeave,z=n.onFocus,L=n.onFocusVisible,A=n.onKeyDown,B=n.onKeyUp,W=n.onMouseDown,j=n.onMouseLeave,D=n.onMouseUp,V=n.onTouchEnd,q=n.onTouchMove,H=n.onTouchStart,K=n.tabIndex,X=void 0===K?0:K,Y=n.TouchRippleProps,_=n.touchRippleRef,$=n.type,ee=(0,l.Z)(n,Q),te=s.useRef(null),ne=s.useRef(null),oe=(0,f.Z)(ne,_),re=S(),ie=re.isFocusVisibleRef,ae=re.onFocus,le=re.onBlur,se=re.ref,ue=s.useState(!1),ce=(0,r.Z)(ue,2),de=ce[0],pe=ce[1];y&&de&&pe(!1),s.useImperativeHandle(o,(function(){return{focusVisible:function(){pe(!0),te.current.focus()}}}),[]);var fe=s.useState(!1),ve=(0,r.Z)(fe,2),me=ve[0],he=ve[1];s.useEffect((function(){he(!0)}),[]);var be=me&&!w&&!y;function ge(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R;return(0,v.Z)((function(o){return t&&t(o),!n&&ne.current&&ne.current[e](o),!0}))}s.useEffect((function(){de&&k&&!w&&me&&ne.current.pulsate()}),[w,k,de,me]);var Ze=ge("start",W),ye=ge("stop",F),xe=ge("stop",O),Se=ge("stop",D),we=ge("stop",(function(e){de&&e.preventDefault(),j&&j(e)})),Ce=ge("start",H),Re=ge("stop",V),Ee=ge("stop",q),Pe=ge("stop",(function(e){le(e),!1===ie.current&&pe(!1),T&&T(e)}),!1),ke=(0,v.Z)((function(e){te.current||(te.current=e.currentTarget),ae(e),!0===ie.current&&(pe(!0),L&&L(e)),z&&z(e)})),Me=function(){var e=te.current;return g&&"button"!==g&&!("A"===e.tagName&&e.href)},Ie=s.useRef(!1),Te=(0,v.Z)((function(e){k&&!Ie.current&&de&&ne.current&&" "===e.key&&(Ie.current=!0,ne.current.stop(e,(function(){ne.current.start(e)}))),e.target===e.currentTarget&&Me()&&" "===e.key&&e.preventDefault(),A&&A(e),e.target===e.currentTarget&&Me()&&"Enter"===e.key&&!y&&(e.preventDefault(),N&&N(e))})),Ne=(0,v.Z)((function(e){k&&" "===e.key&&ne.current&&de&&!e.defaultPrevented&&(Ie.current=!1,ne.current.stop(e,(function(){ne.current.pulsate(e)}))),B&&B(e),N&&e.target===e.currentTarget&&Me()&&" "===e.key&&!e.defaultPrevented&&N(e)})),Fe=g;"button"===Fe&&(ee.href||ee.to)&&(Fe=I);var Oe={};"button"===Fe?(Oe.type=void 0===$?"button":$,Oe.disabled=y):(ee.href||ee.to||(Oe.role="button"),y&&(Oe["aria-disabled"]=y));var ze=(0,f.Z)(t,se,te);var Le=(0,a.Z)({},n,{centerRipple:d,component:g,disabled:y,disableRipple:w,disableTouchRipple:R,focusRipple:k,tabIndex:X,focusVisible:de}),Ae=function(e){var t=e.disabled,n=e.focusVisible,o=e.focusVisibleClassName,r=e.classes,i={root:["root",t&&"disabled",n&&"focusVisible"]},a=(0,c.Z)(i,G,r);return n&&o&&(a.root+=" ".concat(o)),a}(Le);return(0,P.jsxs)(J,(0,a.Z)({as:Fe,className:(0,u.Z)(Ae.root,h),ownerState:Le,onBlur:Pe,onClick:N,onContextMenu:ye,onFocus:ke,onKeyDown:Te,onKeyUp:Ne,onMouseDown:Ze,onMouseLeave:we,onMouseUp:Se,onDragLeave:xe,onTouchEnd:Re,onTouchMove:Ee,onTouchStart:Ce,ref:ze,tabIndex:y?-1:X,type:$},Oe,ee,{children:[m,be?(0,P.jsx)(U,(0,a.Z)({ref:oe,center:d},Y)):null]}))})),ee=$},4469:function(e,t,n){var o=n(4942),r=n(3366),i=n(7462),a=n(7313),l=n(4146),s=n(1921),u=n(8334),c=n(1615),d=n(7565),p=n(2530),f=n(5111),v=n(5469),m=n(8564),h=n(5560),b=n(3909),g=n(1554),Z=n(9860),y=n(6417),x=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],S=(0,m.ZP)(g.Z,{name:"MuiDialog",slot:"Backdrop",overrides:function(e,t){return t.backdrop}})({zIndex:-1}),w=(0,m.ZP)(d.Z,{name:"MuiDialog",slot:"Root",overridesResolver:function(e,t){return t.root}})({"@media print":{position:"absolute !important"}}),C=(0,m.ZP)("div",{name:"MuiDialog",slot:"Container",overridesResolver:function(e,t){var n=e.ownerState;return[t.container,t["scroll".concat((0,c.Z)(n.scroll))]]}})((function(e){var t=e.ownerState;return(0,i.Z)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===t.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===t.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})})),R=(0,m.ZP)(f.Z,{name:"MuiDialog",slot:"Paper",overridesResolver:function(e,t){var n=e.ownerState;return[t.paper,t["scrollPaper".concat((0,c.Z)(n.scroll))],t["paperWidth".concat((0,c.Z)(String(n.maxWidth)))],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})((function(e){var t=e.theme,n=e.ownerState;return(0,i.Z)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===n.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===n.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!n.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===n.maxWidth&&(0,o.Z)({maxWidth:"px"===t.breakpoints.unit?Math.max(t.breakpoints.values.xs,444):"max(".concat(t.breakpoints.values.xs).concat(t.breakpoints.unit,", 444px)")},"&.".concat(h.Z.paperScrollBody),(0,o.Z)({},t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})),n.maxWidth&&"xs"!==n.maxWidth&&(0,o.Z)({maxWidth:"".concat(t.breakpoints.values[n.maxWidth]).concat(t.breakpoints.unit)},"&.".concat(h.Z.paperScrollBody),(0,o.Z)({},t.breakpoints.down(t.breakpoints.values[n.maxWidth]+64),{maxWidth:"calc(100% - 64px)"})),n.fullWidth&&{width:"calc(100% - 64px)"},n.fullScreen&&(0,o.Z)({margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0},"&.".concat(h.Z.paperScrollBody),{margin:0,maxWidth:"100%"}))})),E=a.forwardRef((function(e,t){var n=(0,v.Z)({props:e,name:"MuiDialog"}),o=(0,Z.Z)(),d={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},m=n["aria-describedby"],g=n["aria-labelledby"],E=n.BackdropComponent,P=n.BackdropProps,k=n.children,M=n.className,I=n.disableEscapeKeyDown,T=void 0!==I&&I,N=n.fullScreen,F=void 0!==N&&N,O=n.fullWidth,z=void 0!==O&&O,L=n.maxWidth,A=void 0===L?"sm":L,B=n.onBackdropClick,W=n.onClose,j=n.open,D=n.PaperComponent,V=void 0===D?f.Z:D,q=n.PaperProps,H=void 0===q?{}:q,K=n.scroll,U=void 0===K?"paper":K,X=n.TransitionComponent,G=void 0===X?p.Z:X,Y=n.transitionDuration,_=void 0===Y?d:Y,Q=n.TransitionProps,J=(0,r.Z)(n,x),$=(0,i.Z)({},n,{disableEscapeKeyDown:T,fullScreen:F,fullWidth:z,maxWidth:A,scroll:U}),ee=function(e){var t=e.classes,n=e.scroll,o=e.maxWidth,r=e.fullWidth,i=e.fullScreen,a={root:["root"],container:["container","scroll".concat((0,c.Z)(n))],paper:["paper","paperScroll".concat((0,c.Z)(n)),"paperWidth".concat((0,c.Z)(String(o))),r&&"paperFullWidth",i&&"paperFullScreen"]};return(0,s.Z)(a,h.D,t)}($),te=a.useRef(),ne=(0,u.Z)(g),oe=a.useMemo((function(){return{titleId:ne}}),[ne]);return(0,y.jsx)(w,(0,i.Z)({className:(0,l.Z)(ee.root,M),closeAfterTransition:!0,components:{Backdrop:S},componentsProps:{backdrop:(0,i.Z)({transitionDuration:_,as:E},P)},disableEscapeKeyDown:T,onClose:W,open:j,ref:t,onClick:function(e){te.current&&(te.current=null,B&&B(e),W&&W(e,"backdropClick"))},ownerState:$},J,{children:(0,y.jsx)(G,(0,i.Z)({appear:!0,in:j,timeout:_,role:"presentation"},Q,{children:(0,y.jsx)(C,{className:(0,l.Z)(ee.container),onMouseDown:function(e){te.current=e.target===e.currentTarget},ownerState:$,children:(0,y.jsx)(R,(0,i.Z)({as:V,elevation:24,role:"dialog","aria-describedby":m,"aria-labelledby":ne},H,{className:(0,l.Z)(ee.paper,H.className),ownerState:$,children:(0,y.jsx)(b.Z.Provider,{value:oe,children:k})}))})}))}))}));t.Z=E},3909:function(e,t,n){var o=n(7313).createContext({});t.Z=o},5560:function(e,t,n){n.d(t,{D:function(){return i}});var o=n(7430),r=n(2298);function i(e){return(0,r.Z)("MuiDialog",e)}var a=(0,o.Z)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);t.Z=a},4117:function(e,t,n){n.d(t,{Z:function(){return h}});var o=n(3366),r=n(7462),i=n(7313),a=n(4146),l=n(1921),s=n(8564),u=n(5469),c=n(7430),d=n(2298);function p(e){return(0,d.Z)("MuiDialogActions",e)}(0,c.Z)("MuiDialogActions",["root","spacing"]);var f=n(6417),v=["className","disableSpacing"],m=(0,s.ZP)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disableSpacing&&t.spacing]}})((function(e){var t=e.ownerState;return(0,r.Z)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!t.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})})),h=i.forwardRef((function(e,t){var n=(0,u.Z)({props:e,name:"MuiDialogActions"}),i=n.className,s=n.disableSpacing,c=void 0!==s&&s,d=(0,o.Z)(n,v),h=(0,r.Z)({},n,{disableSpacing:c}),b=function(e){var t=e.classes,n={root:["root",!e.disableSpacing&&"spacing"]};return(0,l.Z)(n,p,t)}(h);return(0,f.jsx)(m,(0,r.Z)({className:(0,a.Z)(b.root,i),ownerState:h,ref:t},d))}))},6467:function(e,t,n){n.d(t,{Z:function(){return g}});var o=n(4942),r=n(3366),i=n(7462),a=n(7313),l=n(4146),s=n(1921),u=n(8564),c=n(5469),d=n(7430),p=n(2298);function f(e){return(0,p.Z)("MuiDialogContent",e)}(0,d.Z)("MuiDialogContent",["root","dividers"]);var v=n(3174),m=n(6417),h=["className","dividers"],b=(0,u.ZP)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dividers&&t.dividers]}})((function(e){var t=e.theme,n=e.ownerState;return(0,i.Z)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},n.dividers?{padding:"16px 24px",borderTop:"1px solid ".concat((t.vars||t).palette.divider),borderBottom:"1px solid ".concat((t.vars||t).palette.divider)}:(0,o.Z)({},".".concat(v.Z.root," + &"),{paddingTop:0}))})),g=a.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiDialogContent"}),o=n.className,a=n.dividers,u=void 0!==a&&a,d=(0,r.Z)(n,h),p=(0,i.Z)({},n,{dividers:u}),v=function(e){var t=e.classes,n={root:["root",e.dividers&&"dividers"]};return(0,s.Z)(n,f,t)}(p);return(0,m.jsx)(b,(0,i.Z)({className:(0,l.Z)(v.root,o),ownerState:p,ref:t},d))}))},3604:function(e,t,n){var o=n(7462),r=n(3366),i=n(7313),a=n(4146),l=n(1921),s=n(1113),u=n(8564),c=n(5469),d=n(3174),p=n(3909),f=n(6417),v=["className","id"],m=(0,u.ZP)(s.Z,{name:"MuiDialogTitle",slot:"Root",overridesResolver:function(e,t){return t.root}})({padding:"16px 24px",flex:"0 0 auto"}),h=i.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiDialogTitle"}),s=n.className,u=n.id,h=(0,r.Z)(n,v),b=n,g=function(e){var t=e.classes;return(0,l.Z)({root:["root"]},d.a,t)}(b),Z=i.useContext(p.Z).titleId,y=void 0===Z?u:Z;return(0,f.jsx)(m,(0,o.Z)({component:"h2",className:(0,a.Z)(g.root,s),ownerState:b,ref:t,variant:"h6",id:null!=u?u:y},h))}));t.Z=h},3174:function(e,t,n){n.d(t,{a:function(){return i}});var o=n(7430),r=n(2298);function i(e){return(0,r.Z)("MuiDialogTitle",e)}var a=(0,o.Z)("MuiDialogTitle",["root"]);t.Z=a},2530:function(e,t,n){var o=n(7462),r=n(3366),i=n(7313),a=n(2242),l=n(9860),s=n(265),u=n(6983),c=n(6417),d=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],p={entering:{opacity:1},entered:{opacity:1}},f=i.forwardRef((function(e,t){var n=(0,l.Z)(),f={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},v=e.addEndListener,m=e.appear,h=void 0===m||m,b=e.children,g=e.easing,Z=e.in,y=e.onEnter,x=e.onEntered,S=e.onEntering,w=e.onExit,C=e.onExited,R=e.onExiting,E=e.style,P=e.timeout,k=void 0===P?f:P,M=e.TransitionComponent,I=void 0===M?a.ZP:M,T=(0,r.Z)(e,d),N=i.useRef(null),F=(0,u.Z)(N,b.ref,t),O=function(e){return function(t){if(e){var n=N.current;void 0===t?e(n):e(n,t)}}},z=O(S),L=O((function(e,t){(0,s.n)(e);var o=(0,s.C)({style:E,timeout:k,easing:g},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",o),e.style.transition=n.transitions.create("opacity",o),y&&y(e,t)})),A=O(x),B=O(R),W=O((function(e){var t=(0,s.C)({style:E,timeout:k,easing:g},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),w&&w(e)})),j=O(C);return(0,c.jsx)(I,(0,o.Z)({appear:h,in:Z,nodeRef:N,onEnter:L,onEntered:A,onEntering:z,onExit:W,onExited:j,onExiting:B,addEndListener:function(e){v&&v(N.current,e)},timeout:k},T,{children:function(e,t){return i.cloneElement(b,(0,o.Z)({style:(0,o.Z)({opacity:0,visibility:"exited"!==e||Z?void 0:"hidden"},p[e],E,b.props.style),ref:F},t))}}))}));t.Z=f},1397:function(e,t,n){var o=n(7313).createContext(void 0);t.Z=o},9008:function(e,t,n){n.d(t,{Z:function(){return i}});var o=n(7313),r=n(1397);function i(){return o.useContext(r.Z)}},3365:function(e,t,n){var o=n(7462),r=n(3366),i=n(7313),a=n(2242),l=n(9860),s=n(265),u=n(6983),c=n(6417),d=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function p(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var f={entering:{opacity:1,transform:p(1)},entered:{opacity:1,transform:"none"}},v="undefined"!==typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),m=i.forwardRef((function(e,t){var n=e.addEndListener,m=e.appear,h=void 0===m||m,b=e.children,g=e.easing,Z=e.in,y=e.onEnter,x=e.onEntered,S=e.onEntering,w=e.onExit,C=e.onExited,R=e.onExiting,E=e.style,P=e.timeout,k=void 0===P?"auto":P,M=e.TransitionComponent,I=void 0===M?a.ZP:M,T=(0,r.Z)(e,d),N=i.useRef(),F=i.useRef(),O=(0,l.Z)(),z=i.useRef(null),L=(0,u.Z)(z,b.ref,t),A=function(e){return function(t){if(e){var n=z.current;void 0===t?e(n):e(n,t)}}},B=A(S),W=A((function(e,t){(0,s.n)(e);var n,o=(0,s.C)({style:E,timeout:k,easing:g},{mode:"enter"}),r=o.duration,i=o.delay,a=o.easing;"auto"===k?(n=O.transitions.getAutoHeightDuration(e.clientHeight),F.current=n):n=r,e.style.transition=[O.transitions.create("opacity",{duration:n,delay:i}),O.transitions.create("transform",{duration:v?n:.666*n,delay:i,easing:a})].join(","),y&&y(e,t)})),j=A(x),D=A(R),V=A((function(e){var t,n=(0,s.C)({style:E,timeout:k,easing:g},{mode:"exit"}),o=n.duration,r=n.delay,i=n.easing;"auto"===k?(t=O.transitions.getAutoHeightDuration(e.clientHeight),F.current=t):t=o,e.style.transition=[O.transitions.create("opacity",{duration:t,delay:r}),O.transitions.create("transform",{duration:v?t:.666*t,delay:v?r:r||.333*t,easing:i})].join(","),e.style.opacity=0,e.style.transform=p(.75),w&&w(e)})),q=A(C);return i.useEffect((function(){return function(){clearTimeout(N.current)}}),[]),(0,c.jsx)(I,(0,o.Z)({appear:h,in:Z,nodeRef:z,onEnter:W,onEntered:j,onEntering:B,onExit:V,onExited:q,onExiting:D,addEndListener:function(e){"auto"===k&&(N.current=setTimeout(e,F.current||0)),n&&n(z.current,e)},timeout:"auto"===k?null:k},T,{children:function(e,t){return i.cloneElement(b,(0,o.Z)({style:(0,o.Z)({opacity:0,transform:p(.75),visibility:"exited"!==e||Z?void 0:"hidden"},f[e],E,b.props.style),ref:L},t))}}))}));m.muiSupportAuto=!0,t.Z=m},8310:function(e,t,n){n.d(t,{Z:function(){return b}});var o=n(3366),r=n(7462),i=n(7313),a=n(4146),l=n(1921),s=n(8564),u=n(5469),c=n(1195),d=n(7430),p=n(2298);function f(e){return(0,p.Z)("MuiList",e)}(0,d.Z)("MuiList",["root","padding","dense","subheader"]);var v=n(6417),m=["children","className","component","dense","disablePadding","subheader"],h=(0,s.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((function(e){var t=e.ownerState;return(0,r.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})})),b=i.forwardRef((function(e,t){var n=(0,u.Z)({props:e,name:"MuiList"}),s=n.children,d=n.className,p=n.component,b=void 0===p?"ul":p,g=n.dense,Z=void 0!==g&&g,y=n.disablePadding,x=void 0!==y&&y,S=n.subheader,w=(0,o.Z)(n,m),C=i.useMemo((function(){return{dense:Z}}),[Z]),R=(0,r.Z)({},n,{component:b,dense:Z,disablePadding:x}),E=function(e){var t=e.classes,n={root:["root",!e.disablePadding&&"padding",e.dense&&"dense",e.subheader&&"subheader"]};return(0,l.Z)(n,f,t)}(R);return(0,v.jsx)(c.Z.Provider,{value:C,children:(0,v.jsxs)(h,(0,r.Z)({as:b,className:(0,a.Z)(E.root,d),ref:t,ownerState:R},w,{children:[S,s]}))})}))},1195:function(e,t,n){var o=n(7313).createContext({});t.Z=o},7216:function(e,t,n){n.d(t,{ZP:function(){return F}});var o=n(4942),r=n(3366),i=n(7462),a=n(7313),l=n(4146),s=n(1921),u=n(3066),c=n(7551),d=n(8564),p=n(5469),f=n(7261),v=n(7816),m=n(3118),h=n(6983),b=n(1195),g=n(7430),Z=n(2298);function y(e){return(0,Z.Z)("MuiListItem",e)}var x=(0,g.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),S=n(5618);function w(e){return(0,Z.Z)("MuiListItemSecondaryAction",e)}(0,g.Z)("MuiListItemSecondaryAction",["root","disableGutters"]);var C=n(6417),R=["className"],E=(0,d.ZP)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.disableGutters&&t.disableGutters]}})((function(e){var t=e.ownerState;return(0,i.Z)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},t.disableGutters&&{right:0})})),P=a.forwardRef((function(e,t){var n=(0,p.Z)({props:e,name:"MuiListItemSecondaryAction"}),o=n.className,u=(0,r.Z)(n,R),c=a.useContext(b.Z),d=(0,i.Z)({},n,{disableGutters:c.disableGutters}),f=function(e){var t=e.disableGutters,n=e.classes,o={root:["root",t&&"disableGutters"]};return(0,s.Z)(o,w,n)}(d);return(0,C.jsx)(E,(0,i.Z)({className:(0,l.Z)(f.root,o),ownerState:d,ref:t},u))}));P.muiName="ListItemSecondaryAction";var k=P,M=["className"],I=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],T=(0,d.ZP)("div",{name:"MuiListItem",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,i.Z)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!r.disablePadding&&(0,i.Z)({paddingTop:8,paddingBottom:8},r.dense&&{paddingTop:4,paddingBottom:4},!r.disableGutters&&{paddingLeft:16,paddingRight:16},!!r.secondaryAction&&{paddingRight:48}),!!r.secondaryAction&&(0,o.Z)({},"& > .".concat(S.Z.root),{paddingRight:48}),(t={},(0,o.Z)(t,"&.".concat(x.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,o.Z)(t,"&.".concat(x.selected),(0,o.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,c.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(x.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,c.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,o.Z)(t,"&.".concat(x.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),t),"flex-start"===r.alignItems&&{alignItems:"flex-start"},r.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},r.button&&(0,o.Z)({transition:n.transitions.create("background-color",{duration:n.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(x.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,c.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,c.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),r.hasSecondaryAction&&{paddingRight:48})})),N=(0,d.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:function(e,t){return t.container}})({position:"relative"}),F=a.forwardRef((function(e,t){var n=(0,p.Z)({props:e,name:"MuiListItem"}),o=n.alignItems,c=void 0===o?"center":o,d=n.autoFocus,g=void 0!==d&&d,Z=n.button,S=void 0!==Z&&Z,w=n.children,R=n.className,E=n.component,P=n.components,F=void 0===P?{}:P,O=n.componentsProps,z=void 0===O?{}:O,L=n.ContainerComponent,A=void 0===L?"li":L,B=n.ContainerProps,W=(void 0===B?{}:B).className,j=n.dense,D=void 0!==j&&j,V=n.disabled,q=void 0!==V&&V,H=n.disableGutters,K=void 0!==H&&H,U=n.disablePadding,X=void 0!==U&&U,G=n.divider,Y=void 0!==G&&G,_=n.focusVisibleClassName,Q=n.secondaryAction,J=n.selected,$=void 0!==J&&J,ee=n.slotProps,te=void 0===ee?{}:ee,ne=n.slots,oe=void 0===ne?{}:ne,re=(0,r.Z)(n.ContainerProps,M),ie=(0,r.Z)(n,I),ae=a.useContext(b.Z),le=a.useMemo((function(){return{dense:D||ae.dense||!1,alignItems:c,disableGutters:K}}),[c,ae.dense,D,K]),se=a.useRef(null);(0,m.Z)((function(){g&&se.current&&se.current.focus()}),[g]);var ue=a.Children.toArray(w),ce=ue.length&&(0,v.Z)(ue[ue.length-1],["ListItemSecondaryAction"]),de=(0,i.Z)({},n,{alignItems:c,autoFocus:g,button:S,dense:le.dense,disabled:q,disableGutters:K,disablePadding:X,divider:Y,hasSecondaryAction:ce,selected:$}),pe=function(e){var t=e.alignItems,n=e.button,o=e.classes,r=e.dense,i=e.disabled,a={root:["root",r&&"dense",!e.disableGutters&&"gutters",!e.disablePadding&&"padding",e.divider&&"divider",i&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",e.hasSecondaryAction&&"secondaryAction",e.selected&&"selected"],container:["container"]};return(0,s.Z)(a,y,o)}(de),fe=(0,h.Z)(se,t),ve=oe.root||F.Root||T,me=te.root||z.root||{},he=(0,i.Z)({className:(0,l.Z)(pe.root,me.className,R),disabled:q},ie),be=E||"li";return S&&(he.component=E||"div",he.focusVisibleClassName=(0,l.Z)(x.focusVisible,_),be=f.Z),ce?(be=he.component||E?be:"div","li"===A&&("li"===be?be="div":"li"===he.component&&(he.component="div")),(0,C.jsx)(b.Z.Provider,{value:le,children:(0,C.jsxs)(N,(0,i.Z)({as:A,className:(0,l.Z)(pe.container,W),ref:fe,ownerState:de},re,{children:[(0,C.jsx)(ve,(0,i.Z)({},me,!(0,u.X)(ve)&&{as:be,ownerState:(0,i.Z)({},de,me.ownerState)},he,{children:ue})),ue.pop()]}))})):(0,C.jsx)(b.Z.Provider,{value:le,children:(0,C.jsxs)(ve,(0,i.Z)({},me,{as:be,ref:fe},!(0,u.X)(ve)&&{ownerState:(0,i.Z)({},de,me.ownerState)},he,{children:[ue,Q&&(0,C.jsx)(k,{children:Q})]}))})}))},9840:function(e,t,n){var o=n(4942),r=n(3366),i=n(7462),a=n(7313),l=n(4146),s=n(1921),u=n(7551),c=n(8564),d=n(5469),p=n(7261),f=n(3118),v=n(6983),m=n(1195),h=n(5618),b=n(6417),g=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],Z=(0,c.ZP)(p.Z,{shouldForwardProp:function(e){return(0,c.FO)(e)||"classes"===e},name:"MuiListItemButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,i.Z)((t={display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:n.transitions.create("background-color",{duration:n.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},(0,o.Z)(t,"&.".concat(h.Z.selected),(0,o.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,u.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(h.Z.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,u.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,o.Z)(t,"&.".concat(h.Z.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,u.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,u.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),(0,o.Z)(t,"&.".concat(h.Z.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,o.Z)(t,"&.".concat(h.Z.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),t),r.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},"flex-start"===r.alignItems&&{alignItems:"flex-start"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.dense&&{paddingTop:4,paddingBottom:4})})),y=a.forwardRef((function(e,t){var n=(0,d.Z)({props:e,name:"MuiListItemButton"}),o=n.alignItems,u=void 0===o?"center":o,c=n.autoFocus,p=void 0!==c&&c,y=n.component,x=void 0===y?"div":y,S=n.children,w=n.dense,C=void 0!==w&&w,R=n.disableGutters,E=void 0!==R&&R,P=n.divider,k=void 0!==P&&P,M=n.focusVisibleClassName,I=n.selected,T=void 0!==I&&I,N=n.className,F=(0,r.Z)(n,g),O=a.useContext(m.Z),z=a.useMemo((function(){return{dense:C||O.dense||!1,alignItems:u,disableGutters:E}}),[u,O.dense,C,E]),L=a.useRef(null);(0,f.Z)((function(){p&&L.current&&L.current.focus()}),[p]);var A=(0,i.Z)({},n,{alignItems:u,dense:z.dense,disableGutters:E,divider:k,selected:T}),B=function(e){var t=e.alignItems,n=e.classes,o=e.dense,r=e.disabled,a={root:["root",o&&"dense",!e.disableGutters&&"gutters",e.divider&&"divider",r&&"disabled","flex-start"===t&&"alignItemsFlexStart",e.selected&&"selected"]},l=(0,s.Z)(a,h.t,n);return(0,i.Z)({},n,l)}(A),W=(0,v.Z)(L,t);return(0,b.jsx)(m.Z.Provider,{value:z,children:(0,b.jsx)(Z,(0,i.Z)({ref:W,href:F.href||F.to,component:(F.href||F.to)&&"div"===x?"button":x,focusVisibleClassName:(0,l.Z)(B.focusVisible,M),ownerState:A,className:(0,l.Z)(B.root,N)},F,{classes:B,children:S}))})}));t.Z=y},5618:function(e,t,n){n.d(t,{t:function(){return i}});var o=n(7430),r=n(2298);function i(e){return(0,r.Z)("MuiListItemButton",e)}var a=(0,o.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);t.Z=a},3213:function(e,t,n){var o=n(4942),r=n(3366),i=n(7462),a=n(7313),l=n(4146),s=n(1921),u=n(1113),c=n(1195),d=n(5469),p=n(8564),f=n(1081),v=n(6417),m=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],h=(0,p.ZP)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,o.Z)({},"& .".concat(f.Z.primary),t.primary),(0,o.Z)({},"& .".concat(f.Z.secondary),t.secondary),t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})((function(e){var t=e.ownerState;return(0,i.Z)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},t.primary&&t.secondary&&{marginTop:6,marginBottom:6},t.inset&&{paddingLeft:56})})),b=a.forwardRef((function(e,t){var n=(0,d.Z)({props:e,name:"MuiListItemText"}),o=n.children,p=n.className,b=n.disableTypography,g=void 0!==b&&b,Z=n.inset,y=void 0!==Z&&Z,x=n.primary,S=n.primaryTypographyProps,w=n.secondary,C=n.secondaryTypographyProps,R=(0,r.Z)(n,m),E=a.useContext(c.Z).dense,P=null!=x?x:o,k=w,M=(0,i.Z)({},n,{disableTypography:g,inset:y,primary:!!P,secondary:!!k,dense:E}),I=function(e){var t=e.classes,n=e.inset,o=e.primary,r=e.secondary,i={root:["root",n&&"inset",e.dense&&"dense",o&&r&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,s.Z)(i,f.L,t)}(M);return null==P||P.type===u.Z||g||(P=(0,v.jsx)(u.Z,(0,i.Z)({variant:E?"body2":"body1",className:I.primary,component:null!=S&&S.variant?void 0:"span",display:"block"},S,{children:P}))),null==k||k.type===u.Z||g||(k=(0,v.jsx)(u.Z,(0,i.Z)({variant:"body2",className:I.secondary,color:"text.secondary",display:"block"},C,{children:k}))),(0,v.jsxs)(h,(0,i.Z)({className:(0,l.Z)(I.root,p),ownerState:M,ref:t},R,{children:[P,k]}))}));t.Z=b},1081:function(e,t,n){n.d(t,{L:function(){return i}});var o=n(7430),r=n(2298);function i(e){return(0,r.Z)("MuiListItemText",e)}var a=(0,o.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);t.Z=a},4560:function(e,t,n){n.d(t,{Z:function(){return b}});var o=n(7462),r=n(3366),i=n(7313),a=(n(6214),n(6106)),l=n(8310),s=n(1194).Z,u=n(6983),c=n(3118),d=n(6417),p=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function f(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function v(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function m(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function h(e,t,n,o,r,i){for(var a=!1,l=r(e,t,!!t&&n);l;){if(l===e.firstChild){if(a)return!1;a=!0}var s=!o&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&m(l,i)&&!s)return l.focus(),!0;l=r(e,l,n)}return!1}var b=i.forwardRef((function(e,t){var n=e.actions,b=e.autoFocus,g=void 0!==b&&b,Z=e.autoFocusItem,y=void 0!==Z&&Z,x=e.children,S=e.className,w=e.disabledItemsFocusable,C=void 0!==w&&w,R=e.disableListWrap,E=void 0!==R&&R,P=e.onKeyDown,k=e.variant,M=void 0===k?"selectedMenu":k,I=(0,r.Z)(e,p),T=i.useRef(null),N=i.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,c.Z)((function(){g&&T.current.focus()}),[g]),i.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!T.current.style.width;if(e.clientHeight=x.length&&(O=-1)):O===t&&(O+=1)>=x.length&&(O=-1)}));var z=i.Children.map(x,(function(e,t){if(t===O){var n={};return y&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===M&&(n.tabIndex=0),i.cloneElement(e,n)}return e}));return(0,d.jsx)(l.Z,(0,o.Z)({role:"menu",ref:F,className:S,onKeyDown:function(e){var t=T.current,n=e.key,o=(0,a.Z)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),h(t,o,E,C,f);else if("ArrowUp"===n)e.preventDefault(),h(t,o,E,C,v);else if("Home"===n)e.preventDefault(),h(t,null,E,C,f);else if("End"===n)e.preventDefault(),h(t,null,E,C,v);else if(1===n.length){var r=N.current,i=n.toLowerCase(),l=performance.now();r.keys.length>0&&(l-r.lastTime>500?(r.keys=[],r.repeating=!0,r.previousKeyMatched=!0):r.repeating&&i!==r.keys[0]&&(r.repeating=!1)),r.lastTime=l,r.keys.push(i);var s=o&&!r.repeating&&m(o,r);r.previousKeyMatched&&(s||h(t,o,!1,C,f,r))?e.preventDefault():r.previousKeyMatched=!1}P&&P(e)},tabIndex:g?0:-1},I,{children:z}))}))},7565:function(e,t,n){n.d(t,{Z:function(){return j}});var o=n(3366),r=n(7462),i=n(7313),a=n(4146),l=n(7392),s=n(9439),u=n(1577),c=n(2504),d=n(6182);function p(){for(var e=arguments.length,t=new Array(e),n=0;nt.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(o)){var r=(0,g.Z)((0,c.Z)(o));n.push({value:o.style.paddingRight,property:"padding-right",el:o}),o.style.paddingRight="".concat(y(o)+r,"px");var i=(0,c.Z)(o).querySelectorAll(".mui-fixed");[].forEach.call(i,(function(e){n.push({value:e.style.paddingRight,property:"padding-right",el:e}),e.style.paddingRight="".concat(y(e)+r,"px")}))}var a;if(o.parentNode instanceof DocumentFragment)a=(0,c.Z)(o).body;else{var l=o.parentElement,s=(0,b.Z)(o);a="HTML"===(null==l?void 0:l.nodeName)&&"scroll"===s.getComputedStyle(l).overflowY?l:o}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return function(){n.forEach((function(e){var t=e.value,n=e.el,o=e.property;t?n.style.setProperty(o,t):n.style.removeProperty(o)}))}}var C=function(){function e(){(0,v.Z)(this,e),this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}return(0,m.Z)(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Z(e.modalRef,!1);var o=function(e){var t=[];return[].forEach.call(e.children,(function(e){"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);x(t,e.mount,e.modalRef,o,!0);var r=S(this.containers,(function(e){return e.container===t}));return-1!==r?(this.containers[r].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:o}),n)}},{key:"mount",value:function(e,t){var n=S(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),o=this.containers[n];o.restore||(o.restore=w(o,t))}},{key:"remove",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.modals.indexOf(e);if(-1===n)return n;var o=S(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[o];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(n,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&Z(e.modalRef,t),x(r.container,e.mount,e.modalRef,r.hiddenSiblings,!1),this.containers.splice(o,1);else{var i=r.modals[r.modals.length-1];i.modalRef&&Z(i.modalRef,!1)}return n}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();var R=new C;function E(e){var t=e.container,n=e.disableEscapeKeyDown,o=void 0!==n&&n,a=e.disableScrollLock,l=void 0!==a&&a,v=e.manager,m=void 0===v?R:v,h=e.closeAfterTransition,b=void 0!==h&&h,g=e.onTransitionEnter,y=e.onTransitionExited,x=e.children,S=e.onClose,w=e.open,C=e.rootRef,E=i.useRef({}),P=i.useRef(null),k=i.useRef(null),M=(0,u.Z)(k,C),I=i.useState(!w),T=(0,s.Z)(I,2),N=T[0],F=T[1],O=function(e){return!!e&&e.props.hasOwnProperty("in")}(x),z=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(z=!1);var L=function(){return E.current.modalRef=k.current,E.current.mount=P.current,E.current},A=function(){m.mount(L(),{disableScrollLock:l}),k.current&&(k.current.scrollTop=0)},B=(0,d.Z)((function(){var e=function(e){return"function"===typeof e?e():e}(t)||(0,c.Z)(P.current).body;m.add(L(),e),k.current&&A()})),W=i.useCallback((function(){return m.isTopModal(L())}),[m]),j=(0,d.Z)((function(e){P.current=e,e&&(w&&W()?A():k.current&&Z(k.current,z))})),D=i.useCallback((function(){m.remove(L(),z)}),[z,m]);i.useEffect((function(){return function(){D()}}),[D]),i.useEffect((function(){w?B():O&&b||D()}),[w,D,O,b,B]);var V=function(e){return function(t){var n;null==(n=e.onKeyDown)||n.call(e,t),"Escape"===t.key&&W()&&(o||(t.stopPropagation(),S&&S(t,"escapeKeyDown")))}},q=function(e){return function(t){var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&S&&S(t,"backdropClick")}};return{getRootProps:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,f._)(e);delete n.onTransitionEnter,delete n.onTransitionExited;var o=(0,r.Z)({},n,t);return(0,r.Z)({role:"presentation"},o,{onKeyDown:V(o),ref:M})},getBackdropProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.Z)({"aria-hidden":!0},e,{onClick:q(e),open:w})},getTransitionProps:function(){return{onEnter:p((function(){F(!1),g&&g()}),null==x?void 0:x.props.onEnter),onExited:p((function(){F(!0),y&&y(),b&&D()}),null==x?void 0:x.props.onExited)}},rootRef:M,portalRef:j,isTopModal:W,exited:N,hasTransition:O}}var P=n(1921),k=n(2071),M=n(2871),I=n(8564),T=n(5469),N=n(1554),F=n(7430),O=n(2298);function z(e){return(0,O.Z)("MuiModal",e)}(0,F.Z)("MuiModal",["root","hidden","backdrop"]);var L=n(6417),A=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],B=(0,I.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.open&&n.exited&&t.hidden]}})((function(e){var t=e.theme,n=e.ownerState;return(0,r.Z)({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!n.open&&n.exited&&{visibility:"hidden"})})),W=(0,I.ZP)(N.Z,{name:"MuiModal",slot:"Backdrop",overridesResolver:function(e,t){return t.backdrop}})({zIndex:-1}),j=i.forwardRef((function(e,t){var n,s,u,c,d,p,f=(0,T.Z)({name:"MuiModal",props:e}),v=f.BackdropComponent,m=void 0===v?W:v,h=f.BackdropProps,b=f.className,g=f.closeAfterTransition,Z=void 0!==g&&g,y=f.children,x=f.container,S=f.component,w=f.components,C=void 0===w?{}:w,R=f.componentsProps,I=void 0===R?{}:R,N=f.disableAutoFocus,F=void 0!==N&&N,O=f.disableEnforceFocus,j=void 0!==O&&O,D=f.disableEscapeKeyDown,V=void 0!==D&&D,q=f.disablePortal,H=void 0!==q&&q,K=f.disableRestoreFocus,U=void 0!==K&&K,X=f.disableScrollLock,G=void 0!==X&&X,Y=f.hideBackdrop,_=void 0!==Y&&Y,Q=f.keepMounted,J=void 0!==Q&&Q,$=f.onBackdropClick,ee=f.open,te=f.slotProps,ne=f.slots,oe=(0,o.Z)(f,A),re=(0,r.Z)({},f,{closeAfterTransition:Z,disableAutoFocus:F,disableEnforceFocus:j,disableEscapeKeyDown:V,disablePortal:H,disableRestoreFocus:U,disableScrollLock:G,hideBackdrop:_,keepMounted:J}),ie=E((0,r.Z)({},re,{rootRef:t})),ae=ie.getRootProps,le=ie.getBackdropProps,se=ie.getTransitionProps,ue=ie.portalRef,ce=ie.isTopModal,de=ie.exited,pe=ie.hasTransition,fe=(0,r.Z)({},re,{exited:de}),ve=function(e){var t=e.open,n=e.exited,o=e.classes,r={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,P.Z)(r,z,o)}(fe),me={};if(void 0===y.props.tabIndex&&(me.tabIndex="-1"),pe){var he=se(),be=he.onEnter,ge=he.onExited;me.onEnter=be,me.onExited=ge}var Ze=null!=(n=null!=(s=null==ne?void 0:ne.root)?s:C.Root)?n:B,ye=null!=(u=null!=(c=null==ne?void 0:ne.backdrop)?c:C.Backdrop)?u:m,xe=null!=(d=null==te?void 0:te.root)?d:I.root,Se=null!=(p=null==te?void 0:te.backdrop)?p:I.backdrop,we=(0,l.y)({elementType:Ze,externalSlotProps:xe,externalForwardedProps:oe,getSlotProps:ae,additionalProps:{ref:t,as:S},ownerState:fe,className:(0,a.Z)(b,null==xe?void 0:xe.className,null==ve?void 0:ve.root,!fe.open&&fe.exited&&(null==ve?void 0:ve.hidden))}),Ce=(0,l.y)({elementType:ye,externalSlotProps:Se,additionalProps:h,getSlotProps:function(e){return le((0,r.Z)({},e,{onClick:function(t){$&&$(t),null!=e&&e.onClick&&e.onClick(t)}}))},className:(0,a.Z)(null==Se?void 0:Se.className,null==h?void 0:h.className,null==ve?void 0:ve.backdrop),ownerState:fe});return J||ee||pe&&!de?(0,L.jsx)(M.h,{ref:ue,container:x,disablePortal:H,children:(0,L.jsxs)(Ze,(0,r.Z)({},we,{children:[!_&&m?(0,L.jsx)(ye,(0,r.Z)({},Ce)):null,(0,L.jsx)(k.i,{disableEnforceFocus:j,disableAutoFocus:F,disableRestoreFocus:U,isEnabled:ce,open:ee,children:i.cloneElement(y,me)})]}))}):null}))},5111:function(e,t,n){n.d(t,{Z:function(){return g}});var o=n(3366),r=n(7462),i=n(7313),a=n(4146),l=n(1921),s=n(7551),u=n(8564),c=function(e){return((e<1?5.11916*Math.pow(e,2):4.5*Math.log(e+1)+2)/100).toFixed(2)},d=n(5469),p=n(7430),f=n(2298);function v(e){return(0,f.Z)("MuiPaper",e)}(0,p.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var m=n(6417),h=["className","component","elevation","square","variant"],b=(0,u.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t["elevation".concat(n.elevation)]]}})((function(e){var t,n=e.theme,o=e.ownerState;return(0,r.Z)({backgroundColor:(n.vars||n).palette.background.paper,color:(n.vars||n).palette.text.primary,transition:n.transitions.create("box-shadow")},!o.square&&{borderRadius:n.shape.borderRadius},"outlined"===o.variant&&{border:"1px solid ".concat((n.vars||n).palette.divider)},"elevation"===o.variant&&(0,r.Z)({boxShadow:(n.vars||n).shadows[o.elevation]},!n.vars&&"dark"===n.palette.mode&&{backgroundImage:"linear-gradient(".concat((0,s.Fq)("#fff",c(o.elevation)),", ").concat((0,s.Fq)("#fff",c(o.elevation)),")")},n.vars&&{backgroundImage:null==(t=n.vars.overlays)?void 0:t[o.elevation]}))})),g=i.forwardRef((function(e,t){var n=(0,d.Z)({props:e,name:"MuiPaper"}),i=n.className,s=n.component,u=void 0===s?"div":s,c=n.elevation,p=void 0===c?1:c,f=n.square,g=void 0!==f&&f,Z=n.variant,y=void 0===Z?"elevation":Z,x=(0,o.Z)(n,h),S=(0,r.Z)({},n,{component:u,elevation:p,square:g,variant:y}),w=function(e){var t=e.square,n=e.elevation,o=e.variant,r=e.classes,i={root:["root",o,!t&&"rounded","elevation"===o&&"elevation".concat(n)]};return(0,l.Z)(i,v,r)}(S);return(0,m.jsx)(b,(0,r.Z)({as:u,ownerState:S,className:(0,a.Z)(w.root,i),ref:t},x))}))},4505:function(e,t,n){n.d(t,{Z:function(){return tn}});var o=n(7462),r=n(3366),i=n(7313),a=n(4146),l=n(1921),s=n(8334),u=n(8564),c=n(5469),d=n(4942),p=n(3433),f=n(3019),v=n(9439),m=n(7219),h=n(1168),b=n(1577),g=n(8929),Z=n(5094),y=n(1636),x=n(6417),S=["onChange","maxRows","minRows","style","value"];function w(e){return parseInt(e,10)||0}var C={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function R(e){return void 0===e||null===e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}var E=i.forwardRef((function(e,t){var n=e.onChange,a=e.maxRows,l=e.minRows,s=void 0===l?1:l,u=e.style,c=e.value,d=(0,r.Z)(e,S),p=i.useRef(null!=c).current,f=i.useRef(null),m=(0,b.Z)(t,f),E=i.useRef(null),P=i.useRef(0),k=i.useState({outerHeightStyle:0}),M=(0,v.Z)(k,2),I=M[0],T=M[1],N=i.useCallback((function(){var t=f.current,n=(0,g.Z)(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0};var o=E.current;o.style.width=n.width,o.value=t.value||e.placeholder||"x","\n"===o.value.slice(-1)&&(o.value+=" ");var r=n.boxSizing,i=w(n.paddingBottom)+w(n.paddingTop),l=w(n.borderBottomWidth)+w(n.borderTopWidth),u=o.scrollHeight;o.value="x";var c=o.scrollHeight,d=u;return s&&(d=Math.max(Number(s)*c,d)),a&&(d=Math.min(Number(a)*c,d)),{outerHeightStyle:(d=Math.max(d,c))+("border-box"===r?i+l:0),overflow:Math.abs(d-u)<=1}}),[a,s,e.placeholder]),F=function(e,t){var n=t.outerHeightStyle,o=t.overflow;return P.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==o)?(P.current+=1,{overflow:o,outerHeightStyle:n}):e},O=i.useCallback((function(){var e=N();R(e)||T((function(t){return F(t,e)}))}),[N]);(0,Z.Z)((function(){var e,t,n=function(){P.current=0,function(){var e=N();R(e)||h.flushSync((function(){T((function(t){return F(t,e)}))}))}()},o=(0,y.Z)(n),r=f.current,i=(0,g.Z)(r);return i.addEventListener("resize",o),"undefined"!==typeof ResizeObserver&&(t=new ResizeObserver(n)).observe(r),function(){o.clear(),cancelAnimationFrame(e),i.removeEventListener("resize",o),t&&t.disconnect()}}),[N]),(0,Z.Z)((function(){O()})),i.useEffect((function(){P.current=0}),[c]);return(0,x.jsxs)(i.Fragment,{children:[(0,x.jsx)("textarea",(0,o.Z)({value:c,onChange:function(e){P.current=0,p||O(),n&&n(e)},ref:m,rows:s,style:(0,o.Z)({height:I.outerHeightStyle,overflow:I.overflow?"hidden":void 0},u)},d)),(0,x.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:E,tabIndex:-1,style:(0,o.Z)({},C,u,{paddingTop:0,paddingBottom:0})})]})})),P=n(3066);function k(e){var t=e.props,n=e.states,o=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],o&&"undefined"===typeof t[n]&&(e[n]=o[n]),e}),{})}var M=n(1397),I=n(9008),T=n(1615),N=n(6983),F=n(3118),O=n(686);function z(e){var t=e.styles,n=e.defaultTheme,o=void 0===n?{}:n,r="function"===typeof t?function(e){return t(void 0===(n=e)||null===n||0===Object.keys(n).length?o:e);var n}:t;return(0,x.jsx)(O.xB,{styles:r})}var L=n(6728);var A=function(e){var t=e.styles,n=e.themeId,o=e.defaultTheme,r=void 0===o?{}:o,i=(0,L.Z)(r),a="function"===typeof t?t(n&&i[n]||i):t;return(0,x.jsx)(z,{styles:a})},B=n(2248),W=n(2951);var j=function(e){return(0,x.jsx)(A,(0,o.Z)({},e,{defaultTheme:B.Z,themeId:W.Z}))};function D(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function V(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(D(e.value)&&""!==e.value||t&&D(e.defaultValue)&&""!==e.defaultValue)}var q=n(7430),H=n(2298);function K(e){return(0,H.Z)("MuiInputBase",e)}var U=(0,q.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),X=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],G=function(e,t){var n=e.ownerState;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t["color".concat((0,T.Z)(n.color))],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Y=function(e,t){var n=e.ownerState;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},_=(0,u.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:G})((function(e){var t=e.theme,n=e.ownerState;return(0,o.Z)({},t.typography.body1,(0,d.Z)({color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center"},"&.".concat(U.disabled),{color:(t.vars||t).palette.text.disabled,cursor:"default"}),n.multiline&&(0,o.Z)({padding:"4px 0 5px"},"small"===n.size&&{paddingTop:1}),n.fullWidth&&{width:"100%"})})),Q=(0,u.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Y})((function(e){var t,n=e.theme,r=e.ownerState,i="light"===n.palette.mode,a=(0,o.Z)({color:"currentColor"},n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:i?.42:.5},{transition:n.transitions.create("opacity",{duration:n.transitions.duration.shorter})}),l={opacity:"0 !important"},s=n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:i?.42:.5};return(0,o.Z)((t={font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":a,"&::-moz-placeholder":a,"&:-ms-input-placeholder":a,"&::-ms-input-placeholder":a,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"}},(0,d.Z)(t,"label[data-shrink=false] + .".concat(U.formControl," &"),{"&::-webkit-input-placeholder":l,"&::-moz-placeholder":l,"&:-ms-input-placeholder":l,"&::-ms-input-placeholder":l,"&:focus::-webkit-input-placeholder":s,"&:focus::-moz-placeholder":s,"&:focus:-ms-input-placeholder":s,"&:focus::-ms-input-placeholder":s}),(0,d.Z)(t,"&.".concat(U.disabled),{opacity:1,WebkitTextFillColor:(n.vars||n).palette.text.disabled}),(0,d.Z)(t,"&:-webkit-autofill",{animationDuration:"5000s",animationName:"mui-auto-fill"}),t),"small"===r.size&&{paddingTop:1},r.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===r.type&&{MozAppearance:"textfield"})})),J=(0,x.jsx)(j,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),$=i.forwardRef((function(e,t){var n,s=(0,c.Z)({props:e,name:"MuiInputBase"}),u=s["aria-describedby"],d=s.autoComplete,p=s.autoFocus,f=s.className,h=s.components,b=void 0===h?{}:h,g=s.componentsProps,Z=void 0===g?{}:g,y=s.defaultValue,S=s.disabled,w=s.disableInjectingGlobalStyles,C=s.endAdornment,R=s.fullWidth,O=void 0!==R&&R,z=s.id,L=s.inputComponent,A=void 0===L?"input":L,B=s.inputProps,W=void 0===B?{}:B,j=s.inputRef,D=s.maxRows,q=s.minRows,H=s.multiline,U=void 0!==H&&H,G=s.name,Y=s.onBlur,$=s.onChange,ee=s.onClick,te=s.onFocus,ne=s.onKeyDown,oe=s.onKeyUp,re=s.placeholder,ie=s.readOnly,ae=s.renderSuffix,le=s.rows,se=s.slotProps,ue=void 0===se?{}:se,ce=s.slots,de=void 0===ce?{}:ce,pe=s.startAdornment,fe=s.type,ve=void 0===fe?"text":fe,me=s.value,he=(0,r.Z)(s,X),be=null!=W.value?W.value:me,ge=i.useRef(null!=be).current,Ze=i.useRef(),ye=i.useCallback((function(e){0}),[]),xe=(0,N.Z)(Ze,j,W.ref,ye),Se=i.useState(!1),we=(0,v.Z)(Se,2),Ce=we[0],Re=we[1],Ee=(0,I.Z)();var Pe=k({props:s,muiFormControl:Ee,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Pe.focused=Ee?Ee.focused:Ce,i.useEffect((function(){!Ee&&S&&Ce&&(Re(!1),Y&&Y())}),[Ee,S,Ce,Y]);var ke=Ee&&Ee.onFilled,Me=Ee&&Ee.onEmpty,Ie=i.useCallback((function(e){V(e)?ke&&ke():Me&&Me()}),[ke,Me]);(0,F.Z)((function(){ge&&Ie({value:be})}),[be,Ie,ge]);i.useEffect((function(){Ie(Ze.current)}),[]);var Te=A,Ne=W;U&&"input"===Te&&(Ne=le?(0,o.Z)({type:void 0,minRows:le,maxRows:le},Ne):(0,o.Z)({type:void 0,maxRows:D,minRows:q},Ne),Te=E);i.useEffect((function(){Ee&&Ee.setAdornedStart(Boolean(pe))}),[Ee,pe]);var Fe=(0,o.Z)({},s,{color:Pe.color||"primary",disabled:Pe.disabled,endAdornment:C,error:Pe.error,focused:Pe.focused,formControl:Ee,fullWidth:O,hiddenLabel:Pe.hiddenLabel,multiline:U,size:Pe.size,startAdornment:pe,type:ve}),Oe=function(e){var t=e.classes,n=e.color,o=e.disabled,r=e.error,i=e.endAdornment,a=e.focused,s=e.formControl,u=e.fullWidth,c=e.hiddenLabel,d=e.multiline,p=e.readOnly,f=e.size,v=e.startAdornment,m=e.type,h={root:["root","color".concat((0,T.Z)(n)),o&&"disabled",r&&"error",u&&"fullWidth",a&&"focused",s&&"formControl",f&&"medium"!==f&&"size".concat((0,T.Z)(f)),d&&"multiline",v&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",p&&"readOnly"],input:["input",o&&"disabled","search"===m&&"inputTypeSearch",d&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",v&&"inputAdornedStart",i&&"inputAdornedEnd",p&&"readOnly"]};return(0,l.Z)(h,K,t)}(Fe),ze=de.root||b.Root||_,Le=ue.root||Z.root||{},Ae=de.input||b.Input||Q;return Ne=(0,o.Z)({},Ne,null!=(n=ue.input)?n:Z.input),(0,x.jsxs)(i.Fragment,{children:[!w&&J,(0,x.jsxs)(ze,(0,o.Z)({},Le,!(0,P.X)(ze)&&{ownerState:(0,o.Z)({},Fe,Le.ownerState)},{ref:t,onClick:function(e){Ze.current&&e.currentTarget===e.target&&Ze.current.focus(),ee&&ee(e)}},he,{className:(0,a.Z)(Oe.root,Le.className,f,ie&&"MuiInputBase-readOnly"),children:[pe,(0,x.jsx)(M.Z.Provider,{value:null,children:(0,x.jsx)(Ae,(0,o.Z)({ownerState:Fe,"aria-invalid":Pe.error,"aria-describedby":u,autoComplete:d,autoFocus:p,defaultValue:y,disabled:Pe.disabled,id:z,onAnimationStart:function(e){Ie("mui-auto-fill-cancel"===e.animationName?Ze.current:{value:"x"})},name:G,placeholder:re,readOnly:ie,required:Pe.required,rows:le,value:be,onKeyDown:ne,onKeyUp:oe,type:ve},Ne,!(0,P.X)(Ae)&&{as:Te,ownerState:(0,o.Z)({},Fe,Ne.ownerState)},{ref:xe,className:(0,a.Z)(Oe.input,Ne.className,ie&&"MuiInputBase-readOnly"),onBlur:function(e){Y&&Y(e),W.onBlur&&W.onBlur(e),Ee&&Ee.onBlur?Ee.onBlur(e):Re(!1)},onChange:function(e){if(!ge){var t=e.target||Ze.current;if(null==t)throw new Error((0,m.Z)(1));Ie({value:t.value})}for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},t.notched&&{maxWidth:"100%",transition:n.transitions.create("max-width",{duration:100,easing:n.transitions.easing.easeOut,delay:50})}))}));function Ze(e){return(0,H.Z)("MuiOutlinedInput",e)}var ye=(0,o.Z)({},U,(0,q.Z)("MuiOutlinedInput",["root","notchedOutline","input"])),xe=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Se=(0,u.ZP)(_,{shouldForwardProp:function(e){return(0,u.FO)(e)||"classes"===e},name:"MuiOutlinedInput",slot:"Root",overridesResolver:G})((function(e){var t,n=e.theme,r=e.ownerState,i="light"===n.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,o.Z)((t={position:"relative",borderRadius:(n.vars||n).shape.borderRadius},(0,d.Z)(t,"&:hover .".concat(ye.notchedOutline),{borderColor:(n.vars||n).palette.text.primary}),(0,d.Z)(t,"@media (hover: none)",(0,d.Z)({},"&:hover .".concat(ye.notchedOutline),{borderColor:n.vars?"rgba(".concat(n.vars.palette.common.onBackgroundChannel," / 0.23)"):i})),(0,d.Z)(t,"&.".concat(ye.focused," .").concat(ye.notchedOutline),{borderColor:(n.vars||n).palette[r.color].main,borderWidth:2}),(0,d.Z)(t,"&.".concat(ye.error," .").concat(ye.notchedOutline),{borderColor:(n.vars||n).palette.error.main}),(0,d.Z)(t,"&.".concat(ye.disabled," .").concat(ye.notchedOutline),{borderColor:(n.vars||n).palette.action.disabled}),t),r.startAdornment&&{paddingLeft:14},r.endAdornment&&{paddingRight:14},r.multiline&&(0,o.Z)({padding:"16.5px 14px"},"small"===r.size&&{padding:"8.5px 14px"}))})),we=(0,u.ZP)((function(e){var t=e.className,n=e.label,i=e.notched,a=(0,r.Z)(e,he),l=null!=n&&""!==n,s=(0,o.Z)({},e,{notched:i,withLabel:l});return(0,x.jsx)(be,(0,o.Z)({"aria-hidden":!0,className:t,ownerState:s},a,{children:(0,x.jsx)(ge,{ownerState:s,children:l?(0,x.jsx)("span",{children:n}):ve||(ve=(0,x.jsx)("span",{className:"notranslate",children:"\u200b"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:function(e,t){return t.notchedOutline}})((function(e){var t=e.theme,n="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?"rgba(".concat(t.vars.palette.common.onBackgroundChannel," / 0.23)"):n}})),Ce=(0,u.ZP)(Q,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Y})((function(e){var t=e.theme,n=e.ownerState;return(0,o.Z)({padding:"16.5px 14px"},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderRadius:"inherit"}},t.vars&&(0,d.Z)({"&:-webkit-autofill":{borderRadius:"inherit"}},t.getColorSchemeSelector("dark"),{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}),"small"===n.size&&{padding:"8.5px 14px"},n.multiline&&{padding:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0})})),Re=i.forwardRef((function(e,t){var n,a,s,u,d,p=(0,c.Z)({props:e,name:"MuiOutlinedInput"}),f=p.components,v=void 0===f?{}:f,m=p.fullWidth,h=void 0!==m&&m,b=p.inputComponent,g=void 0===b?"input":b,Z=p.label,y=p.multiline,S=void 0!==y&&y,w=p.notched,C=p.slots,R=void 0===C?{}:C,E=p.type,P=void 0===E?"text":E,M=(0,r.Z)(p,xe),T=function(e){var t=e.classes,n=(0,l.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Ze,t);return(0,o.Z)({},t,n)}(p),N=(0,I.Z)(),F=k({props:p,muiFormControl:N,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),O=(0,o.Z)({},p,{color:F.color||"primary",disabled:F.disabled,error:F.error,focused:F.focused,formControl:N,fullWidth:h,hiddenLabel:F.hiddenLabel,multiline:S,size:F.size,type:P}),z=null!=(n=null!=(a=R.root)?a:v.Root)?n:Se,L=null!=(s=null!=(u=R.input)?u:v.Input)?s:Ce;return(0,x.jsx)(ee,(0,o.Z)({slots:{root:z,input:L},renderSuffix:function(e){return(0,x.jsx)(we,{ownerState:O,className:T.notchedOutline,label:null!=Z&&""!==Z&&F.required?d||(d=(0,x.jsxs)(i.Fragment,{children:[Z,"\u2009","*"]})):Z,notched:"undefined"!==typeof w?w:Boolean(e.startAdornment||e.filled||e.focused)})},fullWidth:h,inputComponent:g,multiline:S,ref:t,type:P},M,{classes:(0,o.Z)({},T,{notchedOutline:null})}))}));Re.muiName="Input";var Ee=Re;function Pe(e){return(0,H.Z)("MuiFormLabel",e)}var ke=(0,q.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Me=["children","className","color","component","disabled","error","filled","focused","required"],Ie=(0,u.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return(0,o.Z)({},t.root,"secondary"===n.color&&t.colorSecondary,n.filled&&t.filled)}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,o.Z)({color:(n.vars||n).palette.text.secondary},n.typography.body1,(t={lineHeight:"1.4375em",padding:0,position:"relative"},(0,d.Z)(t,"&.".concat(ke.focused),{color:(n.vars||n).palette[r.color].main}),(0,d.Z)(t,"&.".concat(ke.disabled),{color:(n.vars||n).palette.text.disabled}),(0,d.Z)(t,"&.".concat(ke.error),{color:(n.vars||n).palette.error.main}),t))})),Te=(0,u.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:function(e,t){return t.asterisk}})((function(e){var t=e.theme;return(0,d.Z)({},"&.".concat(ke.error),{color:(t.vars||t).palette.error.main})})),Ne=i.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiFormLabel"}),i=n.children,s=n.className,u=n.component,d=void 0===u?"label":u,p=(0,r.Z)(n,Me),f=k({props:n,muiFormControl:(0,I.Z)(),states:["color","required","focused","disabled","error","filled"]}),v=(0,o.Z)({},n,{color:f.color||"primary",component:d,disabled:f.disabled,error:f.error,filled:f.filled,focused:f.focused,required:f.required}),m=function(e){var t=e.classes,n=e.color,o=e.focused,r=e.disabled,i=e.error,a=e.filled,s=e.required,u={root:["root","color".concat((0,T.Z)(n)),r&&"disabled",i&&"error",a&&"filled",o&&"focused",s&&"required"],asterisk:["asterisk",i&&"error"]};return(0,l.Z)(u,Pe,t)}(v);return(0,x.jsxs)(Ie,(0,o.Z)({as:d,ownerState:v,className:(0,a.Z)(m.root,s),ref:t},p,{children:[i,f.required&&(0,x.jsxs)(Te,{ownerState:v,"aria-hidden":!0,className:m.asterisk,children:["\u2009","*"]})]}))}));function Fe(e){return(0,H.Z)("MuiInputLabel",e)}(0,q.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var Oe=["disableAnimation","margin","shrink","variant","className"],ze=(0,u.ZP)(Ne,{shouldForwardProp:function(e){return(0,u.FO)(e)||"classes"===e},name:"MuiInputLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,d.Z)({},"& .".concat(ke.asterisk),t.asterisk),t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,o.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},n.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===n.size&&{transform:"translate(0, 17px) scale(1)"},n.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!n.disableAnimation&&{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},"filled"===n.variant&&(0,o.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(12px, 13px) scale(1)"},n.shrink&&(0,o.Z)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===n.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===n.variant&&(0,o.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(14px, 9px) scale(1)"},n.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))})),Le=i.forwardRef((function(e,t){var n=(0,c.Z)({name:"MuiInputLabel",props:e}),i=n.disableAnimation,s=void 0!==i&&i,u=n.shrink,d=n.className,p=(0,r.Z)(n,Oe),f=(0,I.Z)(),v=u;"undefined"===typeof v&&f&&(v=f.filled||f.focused||f.adornedStart);var m=k({props:n,muiFormControl:f,states:["size","variant","required"]}),h=(0,o.Z)({},n,{disableAnimation:s,formControl:f,shrink:v,size:m.size,variant:m.variant,required:m.required}),b=function(e){var t=e.classes,n=e.formControl,r=e.size,i=e.shrink,a=e.disableAnimation,s=e.variant,u=e.required,c={root:["root",n&&"formControl",!a&&"animated",i&&"shrink",r&&"normal"!==r&&"size".concat((0,T.Z)(r)),s],asterisk:[u&&"asterisk"]},d=(0,l.Z)(c,Fe,t);return(0,o.Z)({},t,d)}(h);return(0,x.jsx)(ze,(0,o.Z)({"data-shrink":v,ownerState:h,ref:t,className:(0,a.Z)(b.root,d)},p,{classes:b}))})),Ae=n(7816);function Be(e){return(0,H.Z)("MuiFormControl",e)}(0,q.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var We=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],je=(0,u.ZP)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return(0,o.Z)({},t.root,t["margin".concat((0,T.Z)(n.margin))],n.fullWidth&&t.fullWidth)}})((function(e){var t=e.ownerState;return(0,o.Z)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===t.margin&&{marginTop:16,marginBottom:8},"dense"===t.margin&&{marginTop:8,marginBottom:4},t.fullWidth&&{width:"100%"})})),De=i.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiFormControl"}),s=n.children,u=n.className,d=n.color,p=void 0===d?"primary":d,f=n.component,m=void 0===f?"div":f,h=n.disabled,b=void 0!==h&&h,g=n.error,Z=void 0!==g&&g,y=n.focused,S=n.fullWidth,w=void 0!==S&&S,C=n.hiddenLabel,R=void 0!==C&&C,E=n.margin,P=void 0===E?"none":E,k=n.required,I=void 0!==k&&k,N=n.size,F=void 0===N?"medium":N,O=n.variant,z=void 0===O?"outlined":O,L=(0,r.Z)(n,We),A=(0,o.Z)({},n,{color:p,component:m,disabled:b,error:Z,fullWidth:w,hiddenLabel:R,margin:P,required:I,size:F,variant:z}),B=function(e){var t=e.classes,n=e.margin,o=e.fullWidth,r={root:["root","none"!==n&&"margin".concat((0,T.Z)(n)),o&&"fullWidth"]};return(0,l.Z)(r,Be,t)}(A),W=i.useState((function(){var e=!1;return s&&i.Children.forEach(s,(function(t){if((0,Ae.Z)(t,["Input","Select"])){var n=(0,Ae.Z)(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)}})),e})),j=(0,v.Z)(W,2),D=j[0],q=j[1],H=i.useState((function(){var e=!1;return s&&i.Children.forEach(s,(function(t){(0,Ae.Z)(t,["Input","Select"])&&(V(t.props,!0)||V(t.props.inputProps,!0))&&(e=!0)})),e})),K=(0,v.Z)(H,2),U=K[0],X=K[1],G=i.useState(!1),Y=(0,v.Z)(G,2),_=Y[0],Q=Y[1];b&&_&&Q(!1);var J,$=void 0===y||b?_:y,ee=i.useMemo((function(){return{adornedStart:D,setAdornedStart:q,color:p,disabled:b,error:Z,filled:U,focused:$,fullWidth:w,hiddenLabel:R,size:F,onBlur:function(){Q(!1)},onEmpty:function(){X(!1)},onFilled:function(){X(!0)},onFocus:function(){Q(!0)},registerEffect:J,required:I,variant:z}}),[D,p,b,Z,U,$,w,R,J,I,F,z]);return(0,x.jsx)(M.Z.Provider,{value:ee,children:(0,x.jsx)(je,(0,o.Z)({as:m,ownerState:A,className:(0,a.Z)(B.root,u),ref:t},L,{children:s}))})}));function Ve(e){return(0,H.Z)("MuiFormHelperText",e)}var qe,He=(0,q.Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),Ke=["children","className","component","disabled","error","filled","focused","margin","required","variant"],Ue=(0,u.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.size&&t["size".concat((0,T.Z)(n.size))],n.contained&&t.contained,n.filled&&t.filled]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,o.Z)({color:(n.vars||n).palette.text.secondary},n.typography.caption,(t={textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0},(0,d.Z)(t,"&.".concat(He.disabled),{color:(n.vars||n).palette.text.disabled}),(0,d.Z)(t,"&.".concat(He.error),{color:(n.vars||n).palette.error.main}),t),"small"===r.size&&{marginTop:4},r.contained&&{marginLeft:14,marginRight:14})})),Xe=i.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiFormHelperText"}),i=n.children,s=n.className,u=n.component,d=void 0===u?"p":u,p=(0,r.Z)(n,Ke),f=k({props:n,muiFormControl:(0,I.Z)(),states:["variant","size","disabled","error","filled","focused","required"]}),v=(0,o.Z)({},n,{component:d,contained:"filled"===f.variant||"outlined"===f.variant,variant:f.variant,size:f.size,disabled:f.disabled,error:f.error,filled:f.filled,focused:f.focused,required:f.required}),m=function(e){var t=e.classes,n=e.contained,o=e.size,r=e.disabled,i=e.error,a=e.filled,s=e.focused,u=e.required,c={root:["root",r&&"disabled",i&&"error",o&&"size".concat((0,T.Z)(o)),n&&"contained",s&&"focused",a&&"filled",u&&"required"]};return(0,l.Z)(c,Ve,t)}(v);return(0,x.jsx)(Ue,(0,o.Z)({as:d,ownerState:v,className:(0,a.Z)(m.root,s),ref:t},p,{children:" "===i?qe||(qe=(0,x.jsx)("span",{className:"notranslate",children:"\u200b"})):i}))})),Ge=(n(6214),n(6106)),Ye=n(7392),_e=n(4560),Qe=n(8706),Je=n(3533),$e=n(3365),et=n(7565),tt=n(5111);function nt(e){return(0,H.Z)("MuiPopover",e)}(0,q.Z)("MuiPopover",["root","paper"]);var ot=["onEntering"],rt=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],it=["slotProps"];function at(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function lt(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function st(e){return[e.horizontal,e.vertical].map((function(e){return"number"===typeof e?"".concat(e,"px"):e})).join(" ")}function ut(e){return"function"===typeof e?e():e}var ct=(0,u.ZP)(et.Z,{name:"MuiPopover",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),dt=(0,u.ZP)(tt.Z,{name:"MuiPopover",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),pt=i.forwardRef((function(e,t){var n,s,u,d=(0,c.Z)({props:e,name:"MuiPopover"}),p=d.action,f=d.anchorEl,m=d.anchorOrigin,h=void 0===m?{vertical:"top",horizontal:"left"}:m,b=d.anchorPosition,g=d.anchorReference,Z=void 0===g?"anchorEl":g,y=d.children,S=d.className,w=d.container,C=d.elevation,R=void 0===C?8:C,E=d.marginThreshold,k=void 0===E?16:E,M=d.open,I=d.PaperProps,T=void 0===I?{}:I,F=d.slots,O=d.slotProps,z=d.transformOrigin,L=void 0===z?{vertical:"top",horizontal:"left"}:z,A=d.TransitionComponent,B=void 0===A?$e.Z:A,W=d.transitionDuration,j=void 0===W?"auto":W,D=d.TransitionProps,V=(void 0===D?{}:D).onEntering,q=d.disableScrollLock,H=void 0!==q&&q,K=(0,r.Z)(d.TransitionProps,ot),U=(0,r.Z)(d,rt),X=null!=(n=null==O?void 0:O.paper)?n:T,G=i.useRef(),Y=(0,N.Z)(G,X.ref),_=(0,o.Z)({},d,{anchorOrigin:h,anchorReference:Z,elevation:R,marginThreshold:k,externalPaperSlotProps:X,transformOrigin:L,TransitionComponent:B,transitionDuration:j,TransitionProps:K}),Q=function(e){var t=e.classes;return(0,l.Z)({root:["root"],paper:["paper"]},nt,t)}(_),J=i.useCallback((function(){if("anchorPosition"===Z)return b;var e=ut(f),t=(e&&1===e.nodeType?e:(0,Ge.Z)(G.current).body).getBoundingClientRect();return{top:t.top+at(t,h.vertical),left:t.left+lt(t,h.horizontal)}}),[f,h.horizontal,h.vertical,b,Z]),$=i.useCallback((function(e){return{vertical:at(e,L.vertical),horizontal:lt(e,L.horizontal)}}),[L.horizontal,L.vertical]),ee=i.useCallback((function(e){var t={width:e.offsetWidth,height:e.offsetHeight},n=$(t);if("none"===Z)return{top:null,left:null,transformOrigin:st(n)};var o=J(),r=o.top-n.vertical,i=o.left-n.horizontal,a=r+t.height,l=i+t.width,s=(0,Je.Z)(ut(f)),u=s.innerHeight-k,c=s.innerWidth-k;if(null!==k&&ru){var p=a-u;r-=p,n.vertical+=p}if(null!==k&&ic){var m=l-c;i-=m,n.horizontal+=m}return{top:"".concat(Math.round(r),"px"),left:"".concat(Math.round(i),"px"),transformOrigin:st(n)}}),[f,Z,J,$,k]),te=i.useState(M),ne=(0,v.Z)(te,2),oe=ne[0],re=ne[1],ie=i.useCallback((function(){var e=G.current;if(e){var t=ee(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,re(!0)}}),[ee]);i.useEffect((function(){return H&&window.addEventListener("scroll",ie),function(){return window.removeEventListener("scroll",ie)}}),[f,H,ie]);i.useEffect((function(){M&&ie()})),i.useImperativeHandle(p,(function(){return M?{updatePosition:function(){ie()}}:null}),[M,ie]),i.useEffect((function(){if(M){var e=(0,Qe.Z)((function(){ie()})),t=(0,Je.Z)(f);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}}),[f,M,ie]);var ae=j;"auto"!==j||B.muiSupportAuto||(ae=void 0);var le=w||(f?(0,Ge.Z)(ut(f)).body:void 0),se=null!=(s=null==F?void 0:F.root)?s:ct,ue=null!=(u=null==F?void 0:F.paper)?u:dt,ce=(0,Ye.y)({elementType:ue,externalSlotProps:(0,o.Z)({},X,{style:oe?X.style:(0,o.Z)({},X.style,{opacity:0})}),additionalProps:{elevation:R,ref:Y},ownerState:_,className:(0,a.Z)(Q.paper,null==X?void 0:X.className)}),de=(0,Ye.y)({elementType:se,externalSlotProps:(null==O?void 0:O.root)||{},externalForwardedProps:U,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:le,open:M},ownerState:_,className:(0,a.Z)(Q.root,S)}),pe=de.slotProps,fe=(0,r.Z)(de,it);return(0,x.jsx)(se,(0,o.Z)({},fe,!(0,P.X)(se)&&{slotProps:pe,disableScrollLock:H},{children:(0,x.jsx)(B,(0,o.Z)({appear:!0,in:M,onEntering:function(e,t){V&&V(e,t),ie()},onExited:function(){re(!1)},timeout:ae},K,{children:(0,x.jsx)(ue,(0,o.Z)({},ce,{children:y}))}))}))})),ft=n(9860);function vt(e){return(0,H.Z)("MuiMenu",e)}(0,q.Z)("MuiMenu",["root","paper","list"]);var mt=["onEntering"],ht=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],bt={vertical:"top",horizontal:"right"},gt={vertical:"top",horizontal:"left"},Zt=(0,u.ZP)(pt,{shouldForwardProp:function(e){return(0,u.FO)(e)||"classes"===e},name:"MuiMenu",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),yt=(0,u.ZP)(dt,{name:"MuiMenu",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),xt=(0,u.ZP)(_e.Z,{name:"MuiMenu",slot:"List",overridesResolver:function(e,t){return t.list}})({outline:0}),St=i.forwardRef((function(e,t){var n,s,u=(0,c.Z)({props:e,name:"MuiMenu"}),d=u.autoFocus,p=void 0===d||d,f=u.children,v=u.className,m=u.disableAutoFocusItem,h=void 0!==m&&m,b=u.MenuListProps,g=void 0===b?{}:b,Z=u.onClose,y=u.open,S=u.PaperProps,w=void 0===S?{}:S,C=u.PopoverClasses,R=u.transitionDuration,E=void 0===R?"auto":R,P=u.TransitionProps,k=(void 0===P?{}:P).onEntering,M=u.variant,I=void 0===M?"selectedMenu":M,T=u.slots,N=void 0===T?{}:T,F=u.slotProps,O=void 0===F?{}:F,z=(0,r.Z)(u.TransitionProps,mt),L=(0,r.Z)(u,ht),A=(0,ft.Z)(),B="rtl"===A.direction,W=(0,o.Z)({},u,{autoFocus:p,disableAutoFocusItem:h,MenuListProps:g,onEntering:k,PaperProps:w,transitionDuration:E,TransitionProps:z,variant:I}),j=function(e){var t=e.classes;return(0,l.Z)({root:["root"],paper:["paper"],list:["list"]},vt,t)}(W),D=p&&!h&&y,V=i.useRef(null),q=-1;i.Children.map(f,(function(e,t){i.isValidElement(e)&&(e.props.disabled||("selectedMenu"===I&&e.props.selected||-1===q)&&(q=t))}));var H=null!=(n=N.paper)?n:yt,K=null!=(s=O.paper)?s:w,U=(0,Ye.y)({elementType:N.root,externalSlotProps:O.root,ownerState:W,className:[j.root,v]}),X=(0,Ye.y)({elementType:H,externalSlotProps:K,ownerState:W,className:j.paper});return(0,x.jsx)(Zt,(0,o.Z)({onClose:Z,anchorOrigin:{vertical:"bottom",horizontal:B?"right":"left"},transformOrigin:B?bt:gt,slots:{paper:H,root:N.root},slotProps:{root:U,paper:X},open:y,ref:t,transitionDuration:E,TransitionProps:(0,o.Z)({onEntering:function(e,t){V.current&&V.current.adjustStyleForScrollbar(e,A),k&&k(e,t)}},z),ownerState:W},L,{classes:C,children:(0,x.jsx)(xt,(0,o.Z)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),Z&&Z(e,"tabKeyDown"))},actions:V,autoFocus:p&&(-1===q||h),autoFocusItem:D,variant:I},g,{className:(0,a.Z)(j.list,g.className),children:f}))}))}));function wt(e){return(0,H.Z)("MuiNativeSelect",e)}var Ct=(0,q.Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Rt=["className","disabled","error","IconComponent","inputRef","variant"],Et=function(e){var t,n=e.ownerState,r=e.theme;return(0,o.Z)((t={MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,o.Z)({},r.vars?{backgroundColor:"rgba(".concat(r.vars.palette.common.onBackgroundChannel," / 0.05)")}:{backgroundColor:"light"===r.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"}},(0,d.Z)(t,"&.".concat(Ct.disabled),{cursor:"default"}),(0,d.Z)(t,"&[multiple]",{height:"auto"}),(0,d.Z)(t,"&:not([multiple]) option, &:not([multiple]) optgroup",{backgroundColor:(r.vars||r).palette.background.paper}),(0,d.Z)(t,"&&&",{paddingRight:24,minWidth:16}),t),"filled"===n.variant&&{"&&&":{paddingRight:32}},"outlined"===n.variant&&{borderRadius:(r.vars||r).shape.borderRadius,"&:focus":{borderRadius:(r.vars||r).shape.borderRadius},"&&&":{paddingRight:32}})},Pt=(0,u.ZP)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:u.FO,overridesResolver:function(e,t){var n=e.ownerState;return[t.select,t[n.variant],n.error&&t.error,(0,d.Z)({},"&.".concat(Ct.multiple),t.multiple)]}})(Et),kt=function(e){var t=e.ownerState,n=e.theme;return(0,o.Z)((0,d.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(n.vars||n).palette.action.active},"&.".concat(Ct.disabled),{color:(n.vars||n).palette.action.disabled}),t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7})},Mt=(0,u.ZP)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,T.Z)(n.variant))],n.open&&t.iconOpen]}})(kt),It=i.forwardRef((function(e,t){var n=e.className,s=e.disabled,u=e.error,c=e.IconComponent,d=e.inputRef,p=e.variant,f=void 0===p?"standard":p,v=(0,r.Z)(e,Rt),m=(0,o.Z)({},e,{disabled:s,variant:f,error:u}),h=function(e){var t=e.classes,n=e.variant,o=e.disabled,r=e.multiple,i=e.open,a={select:["select",n,o&&"disabled",r&&"multiple",e.error&&"error"],icon:["icon","icon".concat((0,T.Z)(n)),i&&"iconOpen",o&&"disabled"]};return(0,l.Z)(a,wt,t)}(m);return(0,x.jsxs)(i.Fragment,{children:[(0,x.jsx)(Pt,(0,o.Z)({ownerState:m,className:(0,a.Z)(h.select,n),disabled:s,ref:d||t},v)),e.multiple?null:(0,x.jsx)(Mt,{as:c,ownerState:m,className:h.icon})]})})),Tt=n(5422).Z;function Nt(e){return(0,H.Z)("MuiSelect",e)}var Ft,Ot=(0,q.Z)("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),zt=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],Lt=(0,u.ZP)("div",{name:"MuiSelect",slot:"Select",overridesResolver:function(e,t){var n=e.ownerState;return[(0,d.Z)({},"&.".concat(Ot.select),t.select),(0,d.Z)({},"&.".concat(Ot.select),t[n.variant]),(0,d.Z)({},"&.".concat(Ot.error),t.error),(0,d.Z)({},"&.".concat(Ot.multiple),t.multiple)]}})(Et,(0,d.Z)({},"&.".concat(Ot.select),{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"})),At=(0,u.ZP)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,T.Z)(n.variant))],n.open&&t.iconOpen]}})(kt),Bt=(0,u.ZP)("input",{shouldForwardProp:function(e){return(0,u.Dz)(e)&&"classes"!==e},name:"MuiSelect",slot:"NativeInput",overridesResolver:function(e,t){return t.nativeInput}})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Wt(e,t){return"object"===typeof t&&null!==t?e===t:String(e)===String(t)}function jt(e){return null==e||"string"===typeof e&&!e.trim()}var Dt=i.forwardRef((function(e,t){var n,s=e["aria-describedby"],u=e["aria-label"],c=e.autoFocus,d=e.autoWidth,p=e.children,f=e.className,h=e.defaultOpen,b=e.defaultValue,g=e.disabled,Z=e.displayEmpty,y=e.error,S=void 0!==y&&y,w=e.IconComponent,C=e.inputRef,R=e.labelId,E=e.MenuProps,P=void 0===E?{}:E,k=e.multiple,M=e.name,I=e.onBlur,F=e.onChange,O=e.onClose,z=e.onFocus,L=e.onOpen,A=e.open,B=e.readOnly,W=e.renderValue,j=e.SelectDisplayProps,D=void 0===j?{}:j,q=e.tabIndex,H=e.value,K=e.variant,U=void 0===K?"standard":K,X=(0,r.Z)(e,zt),G=Tt({controlled:H,default:b,name:"Select"}),Y=(0,v.Z)(G,2),_=Y[0],Q=Y[1],J=Tt({controlled:A,default:h,name:"Select"}),$=(0,v.Z)(J,2),ee=$[0],te=$[1],ne=i.useRef(null),oe=i.useRef(null),re=i.useState(null),ie=(0,v.Z)(re,2),ae=ie[0],le=ie[1],se=i.useRef(null!=A).current,ue=i.useState(),ce=(0,v.Z)(ue,2),de=ce[0],pe=ce[1],fe=(0,N.Z)(t,C),ve=i.useCallback((function(e){oe.current=e,e&&le(e)}),[]),me=null==ae?void 0:ae.parentNode;i.useImperativeHandle(fe,(function(){return{focus:function(){oe.current.focus()},node:ne.current,value:_}}),[_]),i.useEffect((function(){h&&ee&&ae&&!se&&(pe(d?null:me.clientWidth),oe.current.focus())}),[ae,d]),i.useEffect((function(){c&&oe.current.focus()}),[c]),i.useEffect((function(){if(R){var e=(0,Ge.Z)(oe.current).getElementById(R);if(e){var t=function(){getSelection().isCollapsed&&oe.current.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}}),[R]);var he,be,ge=function(e,t){e?L&&L(t):O&&O(t),se||(pe(d?null:me.clientWidth),te(e))},Ze=i.Children.toArray(p),ye=function(e){return function(t){var n;if(t.currentTarget.hasAttribute("tabindex")){if(k){n=Array.isArray(_)?_.slice():[];var o=_.indexOf(e.props.value);-1===o?n.push(e.props.value):n.splice(o,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),_!==n&&(Q(n),F)){var r=t.nativeEvent||t,i=new r.constructor(r.type,r);Object.defineProperty(i,"target",{writable:!0,value:{value:n,name:M}}),F(i,e)}k||ge(!1,t)}}},xe=null!==ae&ⅇdelete X["aria-invalid"];var Se=[],we=!1;(V({value:_})||Z)&&(W?he=W(_):we=!0);var Ce=Ze.map((function(e){if(!i.isValidElement(e))return null;var t;if(k){if(!Array.isArray(_))throw new Error((0,m.Z)(2));(t=_.some((function(t){return Wt(t,e.props.value)})))&&we&&Se.push(e.props.children)}else(t=Wt(_,e.props.value))&&we&&(be=e.props.children);return t&&!0,i.cloneElement(e,{"aria-selected":t?"true":"false",onClick:ye(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));we&&(he=k?0===Se.length?null:Se.reduce((function(e,t,n){return e.push(t),n1&&void 0!==arguments[1]?arguments[1]:166;function o(){for(var o=this,r=arguments.length,i=new Array(r),a=0;a0){var l=e[c];e[c]=e[c+1],e[c+1]=l}return e}},2468:function(e,t,r){var n=r(4165),a=r(5861),s=r(6573),o=r(2968),i=r(1677),c=r(1061),l=r(281),u=r(5827),h=r(8925),d=function(){var e=(0,a.Z)((0,n.Z)().mark((function e(t){var r,a,d,p,f,v,m,Z,y,g,x,b,w,k,_,j,S,C,E,P,N,T,M,L,D,A,H;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.tag,d=t.header,p=t.body,f=t.blob,v=t.filename,m=t.onUpload,Z=t.onDownload,y=t.cancelToken,g=t.timeout,x=void 0===g?u.Z.app_settings.timeout:g,(b=s.Z.create({timeout:1e3*x})).interceptors.request.use((function(e){return f||(e.headers.Accept="application/json"),e})),b.interceptors.response.use((function(e){return e}),(function(e){return Promise.reject(e)})),w=(0,l.Z)(a),k=null===(r=i.Z.find((function(e){return e.tag===a})))||void 0===r?void 0:r.method,e.prev=6,"ws"!==(null===(_=i.Z.find((function(e){return e.tag===a})))||void 0===_?void 0:_.type)){e.next=10;break}throw new Error("websocket protocol is not supported");case 10:return j="".concat(window.location.protocol).concat((0,c.Z)()),e.next=13,b.request({data:p,method:k,headers:d,url:"".concat(j).concat(w),onUploadProgress:m,onDownloadProgress:Z,cancelToken:null===y||void 0===y?void 0:y.token,responseType:f?"blob":"json"});case 13:if(S=e.sent,C=S.data,E=S.headers,!f){e.next=22;break}return(N=E["content-disposition"])&&(v=null===(T=N.split(";").find((function(e){return e.includes("filename=")})))||void 0===T?void 0:T.split("=")[1]),(0,h.saveAs)(C,null!==(P=v)&&void 0!==P?P:"stream"),M=(new Date).toISOString(),e.abrupt("return",{time:M,path:w,data:null,error:!1,status:200,message:"Returned data is a blob"});case 22:return e.abrupt("return",C);case 25:return e.prev=25,e.t0=e.catch(6),L=(new Date).toISOString(),D=e.t0,A=D.message,H=D.status,e.abrupt("return",{time:L,message:A,path:w,data:null,error:!(0,o.Mw)(e.t0),status:H||500});case 30:case"end":return e.stop()}}),e,null,[[6,25]])})));return function(t){return e.apply(this,arguments)}}();t.Z=d},5664:function(e,t){t.Z=function(e,t){for(var r=[],n=0;n"),i=function(){var t=o[c];try{if(t.includes("[")||t.includes("]")){var r,a,i=(null===(r=t.match(/^(.*?)\[/))||void 0===r?void 0:r[1])||"",l=(null===(a=t.match(/\[(.*?)\]/))||void 0===a?void 0:a[1])||":";if(!l.length)throw new Error("invalid path given");var u=l.split(":"),h=(0,n.Z)(u,2),d=h[0],p=h[1];s=i.length?s[i].find((function(e){return e[d]===p})):s.find((function(e){return e[d]===p}))}else s=s[t]}catch(f){return{v:e}}},c=0;c1&&void 0!==arguments[1]?arguments[1]:500;return function(){for(var n=this,a=arguments.length,s=new Array(a),o=0;ovalue",P.toFixed(2)),(0,ve.Z)(e,"[tag:ehz-intensity]>value","".concat(a.value," ").concat(null===M||void 0===M?void 0:M.intensity(S,P))),(0,ve.Z)(e,"[tag:ehe-pga]>value",N.toFixed(2)),(0,ve.Z)(e,"[tag:ehe-intensity]>value","".concat(a.value," ").concat(null===M||void 0===M?void 0:M.intensity(C,N))),(0,ve.Z)(e,"[tag:ehn-pga]>value",T.toFixed(2)),(0,ve.Z)(e,"[tag:ehn-intensity]>value","".concat(a.value," ").concat(null===M||void 0===M?void 0:M.intensity(E,T))),e},ye=r(7703),ge=r(8146),xe=r(6801),be=r(6135),we=r(8780),ke=r(7486),_e=function(e,t){var r,n=(0,de.Z)(t,"ts","number","asc"),a=(0,ue.Z)(e);try{for(a.s();!(r=a.n()).done;){var s,o=r.value,i=0,c=[],l=(0,ue.Z)(n);try{for(l.s();!(s=l.n()).done;){for(var u=s.value,h=u[o.tag],d=h.length,p=(0!==i?i-u.ts:1e3)/d,f=0;fchart>series>data"),c)}}catch(v){a.e(v)}finally{a.f()}return e},je=r(9439),Se=function(){var e=window.location,t=e.hash,r=e.search,n="hash"===me.Z.app_settings.router?t.split("?")[1]:r.split("?")[1];if(n){var a,s=n.split("&"),o={},i=(0,ue.Z)(s);try{for(i.s();!(a=i.n()).done;){var c=a.value.split("="),l=(0,je.Z)(c,2),u=l[0],h=l[1];o[u]=h}}catch(d){i.e(d)}finally{i.f()}return o}return{}},Ce=r(3250),Ee=r(6573),Pe=r(3152),Ne=function(e){var t,r=(null===(t=e.data)||void 0===t?void 0:t.station)||{};return{station:r.station,network:r.network,location:r.location}},Te=function(e){var t=new Date(e.getUTCFullYear(),0,0),r=e.getTime()-t.getTime();return Math.floor(r/864e5)},Me=function(e){(0,c.Z)(r,e);var t=(0,l.Z)(r);function r(e){var i;return(0,o.Z)(this,r),(i=t.call(this,e)).promisedSetState=function(e){return new Promise((function(t){return i.setState(e,t)}))},i.handleTimeChange=function(e,t){switch(e){case"start":i.setState((function(e){return{history:(0,s.Z)((0,s.Z)({},e.history),{},{start:t})}}));break;case"end":i.setState((function(e){return{history:(0,s.Z)((0,s.Z)({},e.history),{},{end:t})}}))}},i.handleQueryHistory=(0,a.Z)((0,n.Z)().mark((function e(){var t,r,a,s,o,c,l,u,h,d,p,f,v,m,Z,y,g,x,b,w,k;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=i.state.history,r=t.start,a=t.end,s=t.format,o=t.channel,!(a-r<=0||a-r>36e5)&&r&&a){e.next=7;break}return c=i.props.t,l=c("views.history.toasts.duration_error"),R.ZP.error(l),e.abrupt("return",Promise.reject(l));case 7:return u=i.state.tokens,h=Ee.Z.CancelToken.source,d=h(),u.push(d),p=new Date(r),f=i.props.station.station,v=f.station,m=f.network,Z=f.location,y="".concat(p.getUTCFullYear(),".").concat(Te(p).toString().padStart(3,"0"),".").concat(p.getUTCHours().toString().padStart(2,"0"),".").concat(p.getUTCMinutes().toString().padStart(2,"0"),".").concat(p.getUTCSeconds().toString().padStart(2,"0"),".").concat(p.getUTCMilliseconds().toString().padStart(4,"0"),".").concat(m.slice(0,2),".").concat(v.slice(0,5),".").concat(Z.slice(0,2),".").concat(o,".D.sac"),e.next=17,(0,V.Z)({filename:y,cancelToken:d,body:t,tag:"history",blob:"sac"===s});case 17:if(g=e.sent,x=g.error,b=g.data,!x){e.next=25;break}return w=i.props.t,k=w("sac"===s?"views.history.toasts.export_sac_error":"views.history.toasts.fetch_waveform_error"),"sac"===s&&R.ZP.error(k),e.abrupt("return",Promise.reject(k));case 25:return e.abrupt("return",b);case 26:case"end":return e.stop()}}),e)}))),i.handleQueryEvents=(0,a.Z)((0,n.Z)().mark((function e(){var t,r,a,o,c,l,u,h;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.state,r=t.tokens,a=t.trace,o=Ee.Z.CancelToken.source,c=o(),r.push(c),e.next=6,(0,V.Z)({cancelToken:c,body:a,tag:"trace"});case 6:if(l=e.sent,u=l.error,h=l.data,!u){e.next=11;break}return e.abrupt("return",Promise.reject(u));case 11:i.setState((function(e){return{modal:(0,s.Z)((0,s.Z)({},e.modal),{},{open:!0,values:h.map((function(e){var t=e.distance,r=e.magnitude,n=e.region,a=e.event,s=e.timestamp,o=e.depth,c=e.estimation,l=(0,i.props.t)("views.history.modals.choose_event.template",{event:a,time:(0,ie.Z)(s),magnitude:r.toFixed(1),distance:t.toFixed(1),p_wave:c.p.toFixed(1),s_wave:c.s.toFixed(1),depth:-1!==o?o.toFixed(1):"-"});return[n,[s+1e3*c.p,s+1e3*c.s],l]}))})}}));case 12:case"end":return e.stop()}}),e)}))),i.handleChooseEvent=function(){var e=(0,a.Z)((0,n.Z)().mark((function e(t){var r,a,o,c,l,u,h,d;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=new Date(Array.isArray(t)?t[0]:t).getTime(),a=new Date(Array.isArray(t)?t[1]:t).getTime(),o=i.props.duration.duration,c=r-(o*=500),l=a+o,u=i.props.t,!((l-c)/1e3>3600)){e.next=13;break}return h=u("views.history.toasts.duration_excceed"),R.ZP.error(h),e.abrupt("return",Promise.reject(h));case 13:d=u("views.history.toasts.event_select_success",{p_wave:(0,ie.Z)(r),s_wave:(0,ie.Z)(a)}),R.ZP.success(d,{duration:6e4});case 15:return e.next=17,i.promisedSetState({history:{start:c,end:l,format:"json"},modal:(0,s.Z)((0,s.Z)({},i.state.modal),{},{open:!1})});case 17:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),i.handleSelect=(0,Pe.Z)(function(){var e=(0,a.Z)((0,n.Z)().mark((function e(t,r){var a,o;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=i.props.t,o={from:"history",dialog:(0,s.Z)((0,s.Z)({},i.state.select.dialog),{},{open:!1})},e.t0=t,e.next="history"===e.t0?5:"trace"===e.t0?10:15;break;case 5:return e.next=7,i.promisedSetState({select:o,history:(0,s.Z)((0,s.Z)({},i.state.history),{},{channel:r,format:"sac"})});case 7:return e.next=9,R.ZP.promise(i.handleQueryHistory(),{loading:a("views.history.toasts.is_exporting_sac"),success:a("views.history.toasts.export_sac_success"),error:a("views.history.toasts.export_sac_error")});case 9:case 14:return e.abrupt("break",15);case 10:return e.next=12,i.promisedSetState({select:o,trace:(0,s.Z)((0,s.Z)({},i.state.trace),{},{source:r})});case 12:return e.next=14,R.ZP.promise(i.handleQueryEvents(),{loading:a("views.history.toasts.is_fetching_events"),success:a("views.history.toasts.fetch_events_success"),error:a("views.history.toasts.fetch_events_error")});case 15:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),200),i.handleQueryWaveform=(0,Pe.Z)((0,a.Z)((0,n.Z)().mark((function e(){var t,r,a,o,c,l,u,h;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.promisedSetState({history:(0,s.Z)((0,s.Z)({},i.state.history),{},{format:"json"})});case 2:return t=i.props.t,e.next=5,R.ZP.promise(i.handleQueryHistory(),{loading:t("views.history.toasts.is_fetching_waveform"),success:t("views.history.toasts.fetch_waveform_success"),error:t("views.history.toasts.fetch_waveform_error")});case 5:(r=e.sent)&&(a=i.state,o=a.adc,c=a.geophone,l=a.scale,u=Ze(i.state.labels,r,o,c,l),h=_e(i.state.areas,r),i.setState({areas:h,labels:u}));case 7:case"end":return e.stop()}}),e)})))),i.handleQuerySACFile=(0,a.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i.setState((function(e){return{select:(0,s.Z)((0,s.Z)({},e.select),{},{from:"history",dialog:{open:!0,values:[["Vertical","EHZ"],["East-West","EHE"],["North-South","EHN"]],title:{id:"views.history.selects.choose_channel.title"}}})}}));case 1:case"end":return e.stop()}}),e)}))),i.handleQuerySource=(0,Pe.Z)((0,a.Z)((0,n.Z)().mark((function e(){var t,r,a,o,c,l,u,h,d,p;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.props.t,r={source:"show"},a=i.state.tokens,o=Ee.Z.CancelToken.source,c=o(),a.push(c),l=R.ZP.loading(t("views.history.toasts.is_fetching_source")),e.next=9,(0,V.Z)({cancelToken:c,body:r,tag:"trace"});case 9:if(u=e.sent,h=u.data,d=u.error,R.ZP.remove(l),!d&&h){e.next=19;break}return p=t("views.history.toasts.fetch_source_error"),R.ZP.error(p),e.abrupt("return",Promise.reject(p));case 19:R.ZP.success(t("views.history.toasts.fetch_source_success"));case 20:i.setState((function(e){return{select:{from:"trace",dialog:(0,s.Z)((0,s.Z)({},e.select.dialog),{},{open:!0,values:h.map((function(e){return[e.name,e.value]})),title:{id:"views.history.selects.choose_source.title"}})}}}));case 21:case"end":return e.stop()}}),e)})))),i.handleGetShareLink=(0,a.Z)((0,n.Z)().mark((function e(){var t,r,a,s,o,c,l,u,h,d,p;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=(0,Ce.Z)(),r=i.props.t,a=window.location,s=a.hash,o=a.origin,c=i.state.history,l=c.start,u=c.end,h="".concat(o).concat(s.length&&"/#").concat(t),d="".concat(h,"?start=").concat(l,"&end=").concat(u),!(p=navigator.clipboard||{writeText:function(e){var t=document.createElement("input");t.value=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)}})){e.next=13;break}return e.next=10,p.writeText(d);case 10:R.ZP.success(r("views.history.toasts.copy_link_success")),e.next=14;break;case 13:R.ZP.error(r("views.history.toasts.copy_link_error"));case 14:case"end":return e.stop()}}),e)}))),i.state={tokens:[],trace:{source:"show"},history:{start:0,end:0,format:"json",channel:"EHZ"},areas:[{tag:"ehz",area:{label:{id:"views.history.areas.ehz.label"}},chart:{backgroundColor:"#d97706",lineWidth:1,height:300,series:{name:"EHZ",type:"line",color:"#f1f5f9",data:[]}}},{tag:"ehe",area:{label:{id:"views.history.areas.ehe.label"}},chart:{backgroundColor:"#10b981",lineWidth:1,height:300,series:{name:"EHE",type:"line",color:"#f1f5f9",data:[]}}},{tag:"ehn",area:{label:{id:"views.history.areas.ehn.label"}},chart:{backgroundColor:"#0ea5e9",lineWidth:1,height:300,series:{name:"EHN",type:"line",color:"#f1f5f9",data:[]}}}],select:{from:"history",dialog:{open:!1,title:{id:"views.history.selects.choose_channel.title"},values:[["Vertical","EHZ"],["East-West","EHE"],["North-South","EHN"]]}},modal:{open:!1,values:[],title:{id:"views.history.modals.choose_event.title"}},labels:[{tag:"ehz-pga",label:{id:"views.history.labels.ehz_pga.label"},unit:{id:"views.history.labels.ehz_pga.unit"},value:"0"},{tag:"ehz-intensity",label:{id:"views.history.labels.ehz_intensity.label"},unit:{id:"views.history.labels.ehz_intensity.unit"},value:"-"},{tag:"ehe-pga",label:{id:"views.history.labels.ehe_pga.label"},unit:{id:"views.history.labels.ehe_pga.unit"},value:"0"},{tag:"ehe-intensity",label:{id:"views.history.labels.ehe_intensity.label"},unit:{id:"views.history.labels.ehe_intensity.unit"},value:"-"},{tag:"ehn-pga",label:{id:"views.history.labels.ehn_pga.label"},unit:{id:"views.history.labels.ehn_pga.unit"},value:"0"},{tag:"ehn-intensity",label:{id:"views.history.labels.ehn_intensity.label"},unit:{id:"views.history.labels.ehn_intensity.unit"},value:"-"}],adc:{fullscale:1,resolution:1},geophone:{ehz:1,ehe:1,ehn:1},scale:me.m.property()},i}return(0,i.Z)(r,[{key:"componentDidMount",value:function(){var e=(0,a.Z)((0,n.Z)().mark((function e(){var t,r,a,o,i,c,l,u,h,d,p,f,v,m,Z,y,g,x,b,w,k,_;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.props.adc.adc,a=r.resolution,o=this.props.geophone.geophone,c=(i=o).ehz,l=i.ehe,u=i.ehn,h=this.props.scale.scale,d=this.props.station.station,-1!==a&&c*l*u!==0){e.next=23;break}return e.next=9,(0,V.Z)({tag:"station"});case 9:if(!(p=e.sent).data){e.next=20;break}o=B(p),d=Ne(p),r=G(p),f=this.props,v=f.updateADC,(m=f.updateGeophone)&&m(o),xe.V&&(0,xe.V)(d),v&&v(r),e.next=23;break;case 20:return Z=this.props.t,R.ZP.error(Z("views.history.toasts.metadata_error")),e.abrupt("return");case 23:y=this.props.duration.duration,g=Se(),x=g.start,b=g.end,w=(0,s.Z)((0,s.Z)({},this.state.history),{},{start:x?Number(x):Date.now()-1e3*y,end:b?Number(b):Date.now()}),k=me.Z.app_settings.scales,_=(null===(t=k.find((function(e){return e.property().value===h})))||void 0===t?void 0:t.property())||me.m.property(),this.setState({history:w,adc:r,geophone:o,scale:_});case 29:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"componentWillUnmount",value:function(){this.state.tokens.forEach((function(e){return e.cancel()}))}},{key:"render",value:function(){var e=this,t=this.state,r=t.areas,n=t.select,a=t.modal,o=t.history,i=t.labels,c=n.from,l=n.dialog,u=o.start,y=o.end;return(0,H.jsxs)(v.Z,{children:[(0,H.jsx)(h.Z,{}),(0,H.jsx)(d.Z,{}),(0,H.jsxs)(f.Z,{children:[(0,H.jsx)(p.Z,{}),(0,H.jsxs)(U.Z,{className:"mb-6",layout:"grid",children:[(0,H.jsxs)(I.Z,{className:"h-[360px]",label:{id:"views.history.cards.query_history"},children:[(0,H.jsx)(F,{value:u,label:{id:"views.history.time_pickers.start_time"},onChange:function(t){return e.handleTimeChange("start",t)}}),(0,H.jsx)(F,{value:y,label:{id:"views.history.time_pickers.end_time"},onChange:function(t){return e.handleTimeChange("end",t)}}),(0,H.jsx)(W.Z,{className:"bg-indigo-700 hover:bg-indigo-800",onClick:this.handleQueryWaveform,label:{id:"views.history.buttons.query_waveform"}}),(0,H.jsx)(W.Z,{className:"bg-green-700 hover:bg-green-800",onClick:this.handleQuerySACFile,label:{id:"views.history.buttons.query_sac_file"}}),(0,H.jsx)(W.Z,{className:"bg-yellow-700 hover:bg-yellow-800",onClick:this.handleQuerySource,label:{id:"views.history.buttons.query_source"}}),(0,H.jsx)(W.Z,{className:"bg-cyan-700 hover:bg-cyan-800",onClick:this.handleGetShareLink,label:{id:"views.history.buttons.get_share_link"}})]}),(0,H.jsx)(I.Z,{label:{id:"views.history.cards.analyse_history"},children:(0,H.jsx)(U.Z,{layout:"grid",children:i.map((function(e,t){return(0,H.jsx)(ce.Z,(0,s.Z)({},e),t)}))})})]}),r.map((function(e,t){var r=e.area,n=e.chart;return(0,H.jsx)(ke.Z,(0,s.Z)((0,s.Z)({},r),{},{children:(0,H.jsx)(Q.Z,(0,s.Z)((0,s.Z)({},n),{},{sort:!0,tooltip:!0,zooming:!0,animation:!0,tickPrecision:1,tickInterval:10}))}),t)}))]}),(0,H.jsx)(m.Z,{}),(0,H.jsx)(Z.Z,{}),(0,H.jsx)(q.Z,(0,s.Z)((0,s.Z)({},l),{},{onSelect:function(t){return e.handleSelect(c,t)}})),(0,H.jsx)(oe,(0,s.Z)((0,s.Z)({},a),{},{onSelect:this.handleChooseEvent,onClose:function(){return e.setState({modal:(0,s.Z)((0,s.Z)({},a),{},{open:!1})})}})),(0,H.jsx)(R.x7,{position:"top-center"})]})}}]),r}(u.Component),Le=(0,be.$j)(we.Z,{updateGeophone:ge.V,updateADC:ye.V,updateStation:xe.V})((0,A.Zh)()(Me))}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/253.480b4667.chunk.js b/frontend/dist/static/js/253.480b4667.chunk.js deleted file mode 100644 index 228548d7..00000000 --- a/frontend/dist/static/js/253.480b4667.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkobserver=self.webpackChunkobserver||[]).push([[253],{3387:function(e,t,r){var n=r(5671),a=r(3144),o=r(136),i=r(9388),s=r(7313),c=r(5590),l=r(6417),u=function(e){(0,o.Z)(r,e);var t=(0,i.Z)(r);function r(){return(0,n.Z)(this,r),t.apply(this,arguments)}return(0,a.Z)(r,[{key:"render",value:function(){var e=this.props,t=e.t,r=e.className,n=e.label,a=e.sublabel,o=e.children,i=Array.isArray(o)?o:[o];return(0,l.jsx)("div",{className:"w-full h-full text-gray-800",children:(0,l.jsxs)("div",{className:"flex flex-col shadow-lg rounded-lg",children:[(0,l.jsxs)("div",{className:"px-4 py-3 font-bold",children:[a&&(0,l.jsx)("h6",{className:"text-gray-500 text-xs",children:t(a.id,a.format)}),(0,l.jsx)("h2",{className:"text-xl",children:t(n.id,n.format)})]}),(0,l.jsx)("div",{className:"p-4 m-2 flex flex-col justify-center gap-4 ".concat(null!==r&&void 0!==r?r:""),children:i.map((function(e,t){return(0,l.jsx)("div",{children:e},t)}))})]})})}}]),r}(s.Component);t.Z=(0,c.Zh)()(u)},1677:function(e,t){t.Z=[{tag:"station",type:"http",method:"get",uri:"/station"},{tag:"history",type:"http",method:"post",uri:"/history"},{tag:"trace",type:"http",method:"post",uri:"/trace"},{tag:"mseed",type:"http",method:"post",uri:"/mseed"},{tag:"socket",type:"ws",uri:"/socket"}]},281:function(e,t,r){var n=r(1677),a=r(5827);t.Z=function(e){var t,r=a.Z.api_settings,o=r.version,i=r.prefix,s=null===(t=n.Z.find((function(t){return t.tag===e})))||void 0===t?void 0:t.uri;return"".concat(i,"/").concat(o).concat(s)}},7598:function(e,t){t.Z=function(e,t,r,n){if(!e.length)return[];for(var a,o,i=e.length,s=0;s0){var l=e[c];e[c]=e[c+1],e[c+1]=l}return e}},2468:function(e,t,r){var n=r(4165),a=r(5861),o=r(6573),i=r(2968),s=r(1677),c=r(1061),l=r(281),u=r(5827),d=r(8925),f=function(){var e=(0,a.Z)((0,n.Z)().mark((function e(t){var r,a,f,m,p,v,h,b,x,Z,g,y,w,k,j,N,C,S,P,I,T,D,M,_,B,q,L;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.tag,f=t.header,m=t.body,p=t.blob,v=t.filename,h=t.onUpload,b=t.onDownload,x=t.cancelToken,Z=t.timeout,g=void 0===Z?u.Z.app_settings.timeout:Z,(y=o.Z.create({timeout:1e3*g})).interceptors.request.use((function(e){return p||(e.headers.Accept="application/json"),e})),y.interceptors.response.use((function(e){return e}),(function(e){return Promise.reject(e)})),w=(0,l.Z)(a),k=null===(r=s.Z.find((function(e){return e.tag===a})))||void 0===r?void 0:r.method,e.prev=6,"ws"!==(null===(j=s.Z.find((function(e){return e.tag===a})))||void 0===j?void 0:j.type)){e.next=10;break}throw new Error("websocket protocol is not supported");case 10:return N="".concat(window.location.protocol).concat((0,c.Z)()),e.next=13,y.request({data:m,method:k,headers:f,url:"".concat(N).concat(w),onUploadProgress:h,onDownloadProgress:b,cancelToken:null===x||void 0===x?void 0:x.token,responseType:p?"blob":"json"});case 13:if(C=e.sent,S=C.data,P=C.headers,!p){e.next=22;break}return(T=P["content-disposition"])&&(v=null===(D=T.split(";").find((function(e){return e.includes("filename=")})))||void 0===D?void 0:D.split("=")[1]),(0,d.saveAs)(S,null!==(I=v)&&void 0!==I?I:"stream"),M=(new Date).toISOString(),e.abrupt("return",{time:M,path:w,data:null,error:!1,status:200,message:"Returned data is a blob"});case 22:return e.abrupt("return",S);case 25:return e.prev=25,e.t0=e.catch(6),_=(new Date).toISOString(),B=e.t0,q=B.message,L=B.status,e.abrupt("return",{time:_,message:q,path:w,data:null,error:!(0,i.Mw)(e.t0),status:L||500});case 30:case"end":return e.stop()}}),e,null,[[6,25]])})));return function(t){return e.apply(this,arguments)}}();t.Z=f},3152:function(e,t){t.Z=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;return function(){for(var n=this,a=arguments.length,o=new Array(a),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},t=e.themeId,r=e.defaultTheme,n=e.defaultClassName,a=void 0===n?"MuiBox-root":n,o=e.generateClassName,i=(0,D.ZP)("div",{shouldForwardProp:function(e){return"theme"!==e&&"sx"!==e&&"as"!==e}})(M.Z);return u.forwardRef((function(e,n){var s=(0,B.Z)(r),c=(0,_.Z)(e),l=c.className,u=c.component,d=void 0===u?"div":u,f=(0,I.Z)(c,q);return(0,k.jsx)(i,(0,P.Z)({as:d,ref:n,className:(0,T.Z)(l,o?o(a):a),theme:t&&s[t]||s},f))}))}({themeId:z.Z,defaultTheme:A,defaultClassName:"MuiBox-root",generateClassName:L.Z.generate}),F=E,O=r(168),U=r(1921),W=r(686),X=r(7551),$=r(1615),G=r(9860),H=r(8564),J=r(5469),K=r(7430),Q=r(2298);function V(e){return(0,Q.Z)("MuiLinearProgress",e)}(0,K.Z)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);var Y,ee,te,re,ne,ae,oe,ie,se,ce,le,ue,de=["className","color","value","valueBuffer","variant"],fe=(0,W.F4)(oe||(oe=Y||(Y=(0,O.Z)(["\n 0% {\n left: -35%;\n right: 100%;\n }\n\n 60% {\n left: 100%;\n right: -90%;\n }\n\n 100% {\n left: 100%;\n right: -90%;\n }\n"])))),me=(0,W.F4)(ie||(ie=ee||(ee=(0,O.Z)(["\n 0% {\n left: -200%;\n right: 100%;\n }\n\n 60% {\n left: 107%;\n right: -8%;\n }\n\n 100% {\n left: 107%;\n right: -8%;\n }\n"])))),pe=(0,W.F4)(se||(se=te||(te=(0,O.Z)(["\n 0% {\n opacity: 1;\n background-position: 0 -23px;\n }\n\n 60% {\n opacity: 0;\n background-position: 0 -23px;\n }\n\n 100% {\n opacity: 1;\n background-position: -200px -23px;\n }\n"])))),ve=function(e,t){return"inherit"===t?"currentColor":e.vars?e.vars.palette.LinearProgress["".concat(t,"Bg")]:"light"===e.palette.mode?(0,X.$n)(e.palette[t].main,.62):(0,X._j)(e.palette[t].main,.5)},he=(0,H.ZP)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:function(e,t){var r=e.ownerState;return[t.root,t["color".concat((0,$.Z)(r.color))],t[r.variant]]}})((function(e){var t=e.ownerState,r=e.theme;return(0,P.Z)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:ve(r,t.color)},"inherit"===t.color&&"buffer"!==t.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===t.variant&&{backgroundColor:"transparent"},"query"===t.variant&&{transform:"rotate(180deg)"})})),be=(0,H.ZP)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:function(e,t){var r=e.ownerState;return[t.dashed,t["dashedColor".concat((0,$.Z)(r.color))]]}})((function(e){var t=e.ownerState,r=e.theme,n=ve(r,t.color);return(0,P.Z)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===t.color&&{opacity:.3},{backgroundImage:"radial-gradient(".concat(n," 0%, ").concat(n," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})}),(0,W.iv)(ce||(ce=re||(re=(0,O.Z)(["\n animation: "," 3s infinite linear;\n "]))),pe)),xe=(0,H.ZP)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:function(e,t){var r=e.ownerState;return[t.bar,t["barColor".concat((0,$.Z)(r.color))],("indeterminate"===r.variant||"query"===r.variant)&&t.bar1Indeterminate,"determinate"===r.variant&&t.bar1Determinate,"buffer"===r.variant&&t.bar1Buffer]}})((function(e){var t=e.ownerState,r=e.theme;return(0,P.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===t.color?"currentColor":(r.vars||r).palette[t.color].main},"determinate"===t.variant&&{transition:"transform .".concat(4,"s linear")},"buffer"===t.variant&&{zIndex:1,transition:"transform .".concat(4,"s linear")})}),(function(e){var t=e.ownerState;return("indeterminate"===t.variant||"query"===t.variant)&&(0,W.iv)(le||(le=ne||(ne=(0,O.Z)(["\n width: auto;\n animation: "," 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n "]))),fe)})),Ze=(0,H.ZP)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:function(e,t){var r=e.ownerState;return[t.bar,t["barColor".concat((0,$.Z)(r.color))],("indeterminate"===r.variant||"query"===r.variant)&&t.bar2Indeterminate,"buffer"===r.variant&&t.bar2Buffer]}})((function(e){var t=e.ownerState,r=e.theme;return(0,P.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==t.variant&&{backgroundColor:"inherit"===t.color?"currentColor":(r.vars||r).palette[t.color].main},"inherit"===t.color&&{opacity:.3},"buffer"===t.variant&&{backgroundColor:ve(r,t.color),transition:"transform .".concat(4,"s linear")})}),(function(e){var t=e.ownerState;return("indeterminate"===t.variant||"query"===t.variant)&&(0,W.iv)(ue||(ue=ae||(ae=(0,O.Z)(["\n width: auto;\n animation: "," 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;\n "]))),me)})),ge=u.forwardRef((function(e,t){var r=(0,J.Z)({props:e,name:"MuiLinearProgress"}),n=r.className,a=r.color,o=void 0===a?"primary":a,i=r.value,s=r.valueBuffer,c=r.variant,l=void 0===c?"indeterminate":c,u=(0,I.Z)(r,de),d=(0,P.Z)({},r,{color:o,variant:l}),f=function(e){var t=e.classes,r=e.variant,n=e.color,a={root:["root","color".concat((0,$.Z)(n)),r],dashed:["dashed","dashedColor".concat((0,$.Z)(n))],bar1:["bar","barColor".concat((0,$.Z)(n)),("indeterminate"===r||"query"===r)&&"bar1Indeterminate","determinate"===r&&"bar1Determinate","buffer"===r&&"bar1Buffer"],bar2:["bar","buffer"!==r&&"barColor".concat((0,$.Z)(n)),"buffer"===r&&"color".concat((0,$.Z)(n)),("indeterminate"===r||"query"===r)&&"bar2Indeterminate","buffer"===r&&"bar2Buffer"]};return(0,U.Z)(a,V,t)}(d),m=(0,G.Z)(),p={},v={bar1:{},bar2:{}};if("determinate"===l||"buffer"===l)if(void 0!==i){p["aria-valuenow"]=Math.round(i),p["aria-valuemin"]=0,p["aria-valuemax"]=100;var h=i-100;"rtl"===m.direction&&(h=-h),v.bar1.transform="translateX(".concat(h,"%)")}else 0;if("buffer"===l)if(void 0!==s){var b=(s||0)-100;"rtl"===m.direction&&(b=-b),v.bar2.transform="translateX(".concat(b,"%)")}else 0;return(0,k.jsxs)(he,(0,P.Z)({className:(0,T.Z)(f.root,n),ownerState:d,role:"progressbar"},p,{ref:t},u,{children:["buffer"===l?(0,k.jsx)(be,{className:f.dashed,ownerState:d}):null,(0,k.jsx)(xe,{className:f.bar1,ownerState:d,style:v.bar1}),"determinate"===l?null:(0,k.jsx)(Ze,{className:f.bar2,ownerState:d,style:v.bar2})]}))})),ye=r(1113),we=function(e){(0,c.Z)(r,e);var t=(0,l.Z)(r);function r(){return(0,i.Z)(this,r),t.apply(this,arguments)}return(0,s.Z)(r,[{key:"render",value:function(){var e=this.props,t=e.value,r=e.label,n=e.precision;return(0,k.jsxs)(F,{sx:{display:"flex",alignItems:"center"},children:[(0,k.jsx)(F,{sx:{width:"100%",my:1,mx:2},children:(0,k.jsx)(ge,{className:"rounded-lg",variant:"determinate",color:"secondary",value:t})}),(0,k.jsx)(F,{sx:{minWidth:100},children:(0,k.jsx)(ye.Z,{className:"overflow-scroll",color:"text.secondary",variant:"body2",children:"[".concat(t.toFixed(n||2),"%] ").concat(r)})})]})}}]),r}(u.Component),ke=r(7598),je=r(6573),Ne=r(3152),Ce=function(e){(0,c.Z)(r,e);var t=(0,l.Z)(r);function r(e){var n;return(0,i.Z)(this,r),(n=t.call(this,e)).updateTaskProgress=function(e,t){var r=n.state.tasks,a=r.findIndex((function(t){return t.label===e}));-1===a?r.push({label:e,value:t}):100===t?setTimeout((function(){r.splice(a,1),n.setState({tasks:r})}),1e3):(r[a].value=t,n.setState({tasks:r}))},n.exportMiniSEED=(0,Ne.Z)(function(){var e=(0,o.Z)((0,a.Z)().mark((function e(t){var r,o,i,s,c,l;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.name,o=n.state.tasks,-1===o.findIndex((function(e){return e.label===r}))){e.next=5;break}return e.abrupt("return");case 5:return i=n.state.tokens,s=je.Z.CancelToken.source,c=s(),i.push(c),l=n.props.t,e.next=12,x.ZP.promise((0,S.Z)({cancelToken:c,blob:!0,tag:"mseed",timeout:3600,filename:r,body:{action:"export",name:r},onDownload:function(e){var t=e.progress;return n.updateTaskProgress(r,100*(t||0))}}),{loading:l("views.export.toasts.is_exporting_mseed"),success:l("views.export.toasts.export_mseed_success"),error:l("views.export.toasts.export_mseed_error")});case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),n.state={tokens:[],tasks:[],table:{data:[],actions:[],columns:[{key:"name",label:{id:"views.export.table.columns.name"}},{key:"size",label:{id:"views.export.table.columns.size"}},{key:"time",label:{id:"views.export.table.columns.time"}},{key:"ttl",label:{id:"views.export.table.columns.ttl"}}],placeholder:{id:"views.export.table.placeholder"}}},n}return(0,s.Z)(r,[{key:"componentDidMount",value:function(){var e=(0,o.Z)((0,a.Z)().mark((function e(){var t,r,o,i,s,c;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props.t,r=this.state.table,e.next=4,(0,S.Z)({tag:"mseed",body:{action:"show"}});case 4:o=e.sent,(i=o.data)&&i.length?(x.ZP.success(t("views.export.toasts.fetch_mseed_success")),(0,ke.Z)(i,"time","datetime","desc"),c=[{icon:C,onClick:this.exportMiniSEED,label:{id:"views.export.table.actions.export"}}],this.setState({table:(0,n.Z)((0,n.Z)({},r),{},{data:i,actions:c})})):(s="views.export.toasts.fetch_mseed_error",x.ZP.error(t(s)),this.setState({table:(0,n.Z)((0,n.Z)({},r),{},{placeholder:{id:s}})}));case 7:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"componentWillUnmount",value:function(){this.state.tokens.forEach((function(e){return(0,e.cancel)()}))}},{key:"render",value:function(){var e=this.state,t=e.table,r=e.tasks;return(0,k.jsxs)(v.Z,{children:[(0,k.jsx)(f.Z,{}),(0,k.jsx)(p.Z,{}),(0,k.jsxs)(d.Z,{children:[(0,k.jsx)(m.Z,{}),(0,k.jsx)(g.Z,{layout:"none",children:(0,k.jsxs)(Z.Z,{label:{id:"views.export.cards.file_list"},children:[r.map((function(e,t){return!!e.value&&(0,k.jsx)(we,(0,n.Z)({},e),t)})),(0,k.jsx)(N,(0,n.Z)({},t))]})})]}),(0,k.jsx)(h.Z,{}),(0,k.jsx)(b.Z,{}),(0,k.jsx)(x.x7,{position:"top-center"})]})}}]),r}(u.Component),Se=(0,w.Zh)()(Ce)}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/263.1e5bdafe.chunk.js b/frontend/dist/static/js/263.1e5bdafe.chunk.js new file mode 100644 index 00000000..0d84d072 --- /dev/null +++ b/frontend/dist/static/js/263.1e5bdafe.chunk.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksrc=self.webpackChunksrc||[]).push([[263],{1385:(e,t,s)=>{s.d(t,{A:()=>a});s(9950);const a=s.p+"static/media/xmark-solid.33c889ee6afa3ed57684011608af6238.svg"},5242:(e,t,s)=>{s.d(t,{$:()=>o});var a=s(4414);const o=e=>{const{className:t,label:s,onClick:o}=e;return(0,a.jsx)("button",{className:"w-full text-white font-medium text-sm shadow-lg rounded-lg py-2 ".concat(null!==t&&void 0!==t?t:""),onClick:o,children:s})}},88:(e,t,s)=>{s.d(t,{t:()=>h});var a=s(9950),o=s(3461),l=s.n(o),r=s(1274),n=s(9027),i=s.n(n),c=s(7818),d=s(4414);const h=(0,a.forwardRef)(((e,t)=>{const s=.65*window.devicePixelRatio,{boost:o,title:n,series:h,height:u,legend:m,tooltip:v,zooming:f,animation:p,lineWidth:b,tickInterval:x,tickPrecision:g,lineColor:y,backgroundColor:w}=e,[_,S]=(0,a.useState)(!1);(0,a.useEffect)((()=>{S((()=>{if(window.WebGLRenderingContext){const e=document.createElement("canvas");return["webgl","experimental-webgl","webgl2","moz-webgl","webkit-3d"].some((t=>{try{return!!e.getContext(t)}catch(s){return!1}}))}return!1})())}),[]);const[C,j]=(0,a.useState)({chart:{zooming:f?{type:"x"}:{},marginTop:20,height:u,animation:p,backgroundColor:w},xAxis:{labels:{style:{color:"#fff"},format:"{value:%H:%M:%S}"},type:"datetime",tickColor:"#fff",lineColor:y},yAxis:{labels:{style:{color:"#fff"},format:g?"{value:".concat(g,"f}"):"{value:0.2f}"},title:{text:""},opposite:!0,lineColor:y,tickInterval:x},tooltip:{enabled:v,followPointer:!0,followTouchMove:!0,xDateFormat:"%Y-%m-%d %H:%M:%S",padding:12},legend:{enabled:m,itemStyle:{color:"#fff"}},plotOptions:{series:{lineWidth:b,turboThreshold:o?10:0,boostThreshold:o?1:0,states:{hover:{enabled:!1}}}},title:{text:n,style:{color:"#fff",fontSize:"10px",fontWeight:"normal"}},boost:{enabled:_,pixelRatio:s},accessibility:{enabled:!1},credits:{enabled:!1},time:{useUTC:!1},series:[h]}),{t:A}=(0,c.Bd)();return(0,a.useEffect)((()=>{i()(l())}),[]),(0,a.useEffect)((()=>{l().setOptions({lang:{resetZoom:A("components.chart.reset_zoom"),resetZoomTitle:A("components.chart.reset_zoom_title")}})}),[A]),(0,a.useEffect)((()=>{j((e=>({...e,chart:{...e.chart,height:u},title:{...e.title,text:n},boost:{...e.boost,enabled:_}})))}),[u,n,_]),(0,d.jsx)(r.HighchartsReact,{ref:t,options:C,highcharts:l()})}))},5660:(e,t,s)=>{s.d(t,{l:()=>p});var a=s(6583),o=s(33),l=s(8170),r=s(8874),n=s(9925),i=s(5979),c=s(3788),d=s(5383),h=s(4322),u=s(9739),m=s(226),v=s(9950),f=s(4414);const p=e=>{const{open:t,title:s,content:p,cancelText:b,submitText:x,placeholder:g,defaultValue:y,inputType:w,onSubmit:_,onClose:S,selectOptions:C}=e,j=(0,v.useRef)(null),[A,N]=(0,v.useState)("");return(0,v.useEffect)((()=>{var e;N(null!==(e=null===C||void 0===C?void 0:C[0].value)&&void 0!==e?e:"")}),[C]),(0,f.jsxs)(a.A,{onClose:S,open:t,children:[(0,f.jsx)(o.A,{children:s}),(0,f.jsxs)(l.A,{children:[p&&(0,f.jsx)(r.A,{children:p}),"select"!==w?(0,f.jsx)(n.A,{autoFocus:!0,fullWidth:!0,ref:j,className:"mt-8",type:w,label:g,defaultValue:y}):(0,f.jsxs)(i.A,{sx:{my:2},fullWidth:!0,children:[(0,f.jsx)(c.A,{id:"select",children:g}),(0,f.jsx)(d.A,{labelId:"select",label:g,defaultValue:null===C||void 0===C?void 0:C[0].value,onChange:e=>{let{target:t}=e;return N(null===t||void 0===t?void 0:t.value)},children:null===C||void 0===C?void 0:C.map((e=>{let{value:t,label:s}=e;return(0,f.jsx)(h.A,{value:t,children:s},t)}))})]})]}),(0,f.jsxs)(u.A,{children:[b&&(0,f.jsx)(m.A,{onClick:S,children:b}),(0,f.jsx)(m.A,{onClick:()=>{var e,t;_&&_("select"===w?A:null!==(e=null===(t=j.current)||void 0===t?void 0:t.value)&&void 0!==e?e:"")},children:x})]})]})}},3768:(e,t,s)=>{s.d(t,{h:()=>i,R:()=>c});var a=s(9950);const o=s.p+"static/media/square-caret-up-solid.0573794ec033f5ce25c1076e3ac596e3.svg";const l=s.p+"static/media/ellipsis-solid.e3aced2a80c2b888104322b1ae60b47f.svg";var r=s(1385),n=s(4414);let i=function(e){return e[e.COLLAPSE_DISABLE=0]="COLLAPSE_DISABLE",e[e.COLLAPSE_SHOW=1]="COLLAPSE_SHOW",e[e.COLLAPSE_HIDE=2]="COLLAPSE_HIDE",e}({});const c=e=>{const{label:t,text:s,children:c,collapse:d,advanced:h}=e,[u,m]=(0,a.useState)(!1),[v,f]=(0,a.useState)(!1);(0,a.useEffect)((()=>{const e=d||i.COLLAPSE_DISABLE;m(e===i.COLLAPSE_HIDE)}),[d]);const p=(d||i.COLLAPSE_DISABLE)!==i.COLLAPSE_DISABLE;return(0,n.jsxs)("div",{className:"mb-4 flex flex-col rounded-xl text-gray-700 shadow-lg",children:[(0,n.jsx)("div",{className:"mx-4 rounded-lg overflow-hidden shadow-lg",children:c}),(0,n.jsxs)("div",{className:"p-4",children:[(0,n.jsxs)("h6",{className:"text-md font-bold text-gray-800 flex ".concat(p?"cursor-pointer select-none":""),onClick:()=>p&&m(!u),children:[p&&(0,n.jsx)("img",{className:"mx-1 ".concat(u?"rotate-180":""),src:o,alt:""}),t]}),s&&!u&&(0,n.jsx)("div",{className:"text-md pt-2",children:s.split("\n").map((e=>(0,n.jsx)("div",{children:e},e)))}),h&&(0,n.jsxs)("div",{className:"mt-2 space-y-2 ".concat(u?"hidden":"block"),children:[(0,n.jsxs)("div",{className:"mx-1 cursor-pointer",onClick:()=>f(!v),children:[(0,n.jsx)("img",{className:"size-4 ".concat(v?"hidden":"block"),src:l,alt:""}),(0,n.jsx)("img",{className:"size-4 ".concat(v?"block":"hidden"),src:r.A,alt:""})]}),(0,n.jsx)("div",{className:v?"block":"hidden",children:h})]})]})]})}},7780:(e,t,s)=>{s.d(t,{p:()=>r});var a=s(9925),o=s(4628),l=s(4414);const r=e=>{const{label:t,disabled:s,className:r,defaultValue:n,numberLimit:i,type:c,onValueChange:d}=e,h=(0,o.M)((e=>{let{target:t}=e;if(!d)return;const{value:s}=t;if("number"===c){const e=Number(s);if(isNaN(e))return t.value=n.toString(),void d(n);if(i){const{max:s,min:a}=i;if(e>s||e{s.d(t,{J:()=>o});var a=s(4414);const o=e=>{const{className:t,icon:s,label:o,value:l,unit:r,color:n}=e;return(0,a.jsx)("div",{className:"w-full p-2 ".concat(null!==t&&void 0!==t?t:""),children:(0,a.jsxs)("div",{className:"flex flex-row bg-gradient-to-r rounded-md p-4 shadow-xl ".concat(n?"from-indigo-500 via-purple-500 to-pink-500":"bg-gray-50 hover:bg-gray-100 transition-all"),children:[s&&(0,a.jsx)("img",{className:"bg-white p-2 rounded-md w-8 h-8 md:w-12 md:h-12 self-center",src:s,alt:""}),(0,a.jsxs)("div",{className:"flex flex-col flex-grow ".concat(s?"ml-5":""),children:[(0,a.jsx)("div",{className:"text-sm whitespace-nowrap ".concat(n?"text-gray-50":"text-gray-600"),children:o}),(0,a.jsx)("div",{className:"text-md font-medium flex-nowrap ".concat(n?"text-gray-100":"text-gray-800"),children:"".concat(l," ").concat(null!==r&&void 0!==r?r:"")})]})]})})}},898:(e,t,s)=>{s.d(t,{Z:()=>o});var a=s(4414);const o=e=>{const{embedded:t,className:s,label:o,sublabel:l,children:r}=e;return(0,a.jsx)("div",{className:"w-full text-gray-800",children:(0,a.jsxs)("div",{className:"flex flex-col shadow-lg rounded-lg",children:[(0,a.jsxs)("div",{className:"px-4 py-3 font-bold",children:[l&&(0,a.jsx)("h6",{className:"text-gray-500 text-xs",children:l}),(0,a.jsx)("h2",{className:t?"text-md":"text-lg",children:o})]}),(0,a.jsx)("div",{className:"p-4 m-2 flex flex-col justify-center gap-4 ".concat(null!==s&&void 0!==s?s:""),children:r})]})})}},9693:(e,t,s)=>{s.d(t,{l:()=>v});var a=s(6583),o=s(8060),l=s(3239),r=s(2053),n=s(226),i=s(249),c=s(2610),d=s(7357),h=s(3563),u=s(4745),m=s(4414);const v=e=>{const{title:t,open:s,options:v,onClose:f,onSelect:p}=e;return(0,m.jsxs)(a.A,{fullWidth:!0,onClose:f,open:s,children:[(0,m.jsx)(o.A,{className:"bg-violet-500",sx:{position:"relative"},children:(0,m.jsxs)(l.A,{children:[(0,m.jsx)(r.A,{sx:{mt:1,ml:1,flex:1},variant:"h6",children:t}),(0,m.jsx)(n.A,{autoFocus:!0,color:"inherit",onClick:f,children:"X"})]})}),(0,m.jsx)(i.A,{children:!(null===v||void 0===v||!v.length)&&v.map((e=>e.length>1&&(0,m.jsxs)("div",{children:[(0,m.jsx)(c.Ay,{children:(0,m.jsx)(d.A,{onClick:()=>p&&p(e[1]),children:(0,m.jsx)(h.A,{primary:e[0],secondary:e[3===e.length?2:1].split("\n").map((e=>(0,m.jsxs)("span",{children:[e,(0,m.jsx)("br",{})]},e)))})})}),(0,m.jsx)(u.A,{})]},e[1])))})]})}},3740:(e,t,s)=>{s.d(t,{w:()=>o});var a=s(5887);const o=function(e){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2e3;arguments.length>1&&void 0!==arguments[1]&&arguments[1]?a.Ay.error(e,{duration:t}):a.Ay.success(e,{duration:t})}},8418:(e,t,s)=>{s.d(t,{U:()=>a});const a=(e,t)=>{const s=[];for(let a=0;a{s.d(t,{W:()=>l,z:()=>o});var a=s(6004);let o=function(e){return e[e.LOW_PASS=0]="LOW_PASS",e[e.HIGH_PASS=1]="HIGH_PASS",e[e.BAND_PASS=2]="BAND_PASS",e}({});const l=(e,t)=>{const{passbandType:s,poles:l,sampleRate:r,lowFreqCorner:n,highFreqCorner:i}=t;let c;c=s===o.LOW_PASS?a.com.oregondsp.signalProcessing.filter.iir.PassbandType.LOWPASS:s===o.HIGH_PASS?a.com.oregondsp.signalProcessing.filter.iir.PassbandType.HIGHPASS:a.com.oregondsp.signalProcessing.filter.iir.PassbandType.BANDPASS;const d=new a.com.oregondsp.signalProcessing.filter.iir.Butterworth(l,c,n,i,1/r),h=new Float32Array(e);return d.filterInPlace(h),Array.from(h)}},6969:(e,t,s)=>{s.d(t,{N:()=>a});const a=(e,t)=>{const s=[];for(let a of e)s.push(a/t);return s}},7156:(e,t,s)=>{s.d(t,{i:()=>a});const a=(e,t,s)=>{const a=2**(t-1),o=[];for(let l of e)o.push(s/a*l);return o}},2105:(e,t,s)=>{s.d(t,{D:()=>o});var a=s(3974);const o=e=>{const t=new Date(e);return(0,a.A)(t,"yyyy-MM-dd HH:mm:ss")}},4628:(e,t,s)=>{s.d(t,{M:()=>a});const a=(e,t)=>{let s=null;return function(){for(var a=arguments.length,o=new Array(a),l=0;l(s=null,e(...o))),t))}}},2263:(e,t,s)=>{s.r(t),s.d(t,{default:()=>G});var a=s(7818),o=s(5297),l=s(898),r=s(1831),n=s(7403),i=s(3396),c=s(31),d=s(7775),h=s(5869),u=s(875),m=s(7315),v=s(4779),f=s(3543),p=s(9299),b=s(922),x=s(3215),g=s(1721),y=s(9178),w=s(639),_=s(4414);const S={"zh-CN":{theme:u.g,adapterLocale:b.A},"zh-TW":{theme:m.a,adapterLocale:x.A},"en-US":{theme:v.c,adapterLocale:g.A},"ja-JP":{theme:f.q,adapterLocale:y.A},"ko-KR":{theme:p.U,adapterLocale:w.A}},C=e=>{const{label:t,onChange:s,value:a,defaultValue:o,currentLocale:l}=e,u=Intl.DateTimeFormat().resolvedOptions().timeZone,m=(0,d.A)({},S[l].theme);return(0,_.jsx)(h.A,{theme:m,children:(0,_.jsx)(r.$,{dateAdapter:c.h,adapterLocale:S[l].adapterLocale,children:(0,_.jsx)(n.K,{format:"yyyy-MM-dd HH:mm:ss",className:"w-full",timezone:"system",views:["year","month","day","hours","minutes","seconds"],viewRenderers:{hours:i.Zo,minutes:i.Zo,seconds:i.Zo},onChange:e=>{var t;let a=null!==(t=null===e||void 0===e?void 0:e.valueOf())&&void 0!==t?t:0;isNaN(a)&&(a=0),s(a)},slotProps:{field:{clearable:!0}},label:"".concat(t," - ").concat(u),defaultValue:o,value:null!==a&&void 0!==a?a:0,ampm:!1})})})};var j=s(5242),A=s(3768),N=s(88),k=s(1682),L=s(9950),E=s(1237),P=s(9693),T=s(2569),H=s(7780),O=s(2074);var D=s(3740),F=s(8526),z=s(1577),R=s(5887);const q=async function(e,t,s,a){if(!(!(arguments.length>4&&void 0!==arguments[4])||arguments[4]))return await R.Ay.promise(e,{loading:t,success:s,error:a});try{return await R.Ay.promise(e,{loading:t,success:s,error:a})}catch{}};var I=s(7678);var W=s(7254),M=s(7156),B=s(6969),Z=s(8418);var U=s(5660);const V=(e,t,s)=>{let{network:a,station:o,location:l}=s;const r=new Date(e);return"".concat(r.getUTCFullYear(),".").concat((e=>{const t=new Date(e.getUTCFullYear(),0,0),s=e.getTime()-t.getTime();return Math.floor(s/864e5)})(r).toString().padStart(3,"0"),".").concat(r.getUTCHours().toString().padStart(2,"0"),".").concat(r.getUTCMinutes().toString().padStart(2,"0"),".").concat(r.getUTCSeconds().toString().padStart(2,"0"),".").concat(r.getUTCMilliseconds().toString().padStart(4,"0"),".").concat(a.slice(0,2),".").concat(o.slice(0,5),".").concat(l.slice(0,2),".").concat(t,".D.sac")};var $=s(2105);const G=e=>{var t,s,r,n,i,c;const{t:d}=(0,a.Bd)(),{station:h}=(0,T.d4)((e=>{let{station:t}=e;return t})),{retention:u}=(0,T.d4)((e=>{let{retention:t}=e;return t})),[m,v]=(0,L.useState)(!h.initialized);(0,L.useEffect)((()=>{v(!h.initialized)}),[h.initialized]);const f=Date.now(),[p,b]=(0,O.ok)(),[x,g]=(0,L.useState)({start:p.has("start")?Number(p.get("start")):f-1e3*u,end:p.has("end")?Number(p.get("end")):f}),y=(e,t)=>g((s=>t?{...s,end:e}:{...s,start:e})),[w,S]=(0,L.useState)({open:!1,inputType:"select"}),[R,G]=(0,L.useState)({open:!1}),J=()=>G({...R,open:!1}),[Y,K]=(0,L.useState)({ehz:{label:"views.history.labels.ehz_detail.label",value:"-"},ehe:{label:"views.history.labels.ehe_detail.label",value:"-"},ehn:{label:"views.history.labels.ehn_detail.label",value:"-"}}),[X,Q]=(0,L.useState)({ehz:{holder:{collapse:A.h.COLLAPSE_HIDE,label:"views.history.charts.ehz.label",text:"views.history.charts.ehz.text"},chart:{buffer:[],backgroundColor:"#d97706",filter:{enabled:!1},ref:(0,L.useRef)(null),series:{name:"EHZ",type:"line",color:"#f1f5f9"}}},ehe:{holder:{collapse:A.h.COLLAPSE_SHOW,label:"views.history.charts.ehe.label",text:"views.history.charts.ehe.text"},chart:{buffer:[],backgroundColor:"#10b981",filter:{enabled:!1},ref:(0,L.useRef)(null),series:{name:"EHE",type:"line",color:"#f1f5f9"}}},ehn:{holder:{collapse:A.h.COLLAPSE_SHOW,label:"views.history.charts.ehn.label",text:"views.history.charts.ehn.text"},chart:{buffer:[],backgroundColor:"#0ea5e9",filter:{enabled:!1},ref:(0,L.useRef)(null),series:{name:"EHN",type:"line",color:"#f1f5f9"}}}}),ee=(e,t,s)=>Q((a=>({...a,[e]:{...a[e],chart:{...a[e].chart,filter:{...a[e].chart.filter,[t?"lowCorner":"highCorner"]:s}}}}))),te=async()=>{const{start:e,end:t}=x;if(e>=t||t-e<0||t-e>1e3*u)return void(0,D.w)(d("views.history.toasts.duration_error"),!0);const{backend:s}=z.DR,a={start:e,end:t,channel:"",format:"json"},o=await q((0,F.c)({backend:s,payload:a,timeout:120,throwError:!0,endpoint:z.DR.endpoints.history}),d("views.history.toasts.is_fetching_waveform"),d("views.history.toasts.fetch_waveform_success"),d("views.history.toasts.fetch_waveform_error"));((e,t)=>{if(null===e||void 0===e||!e.data)return;const{adc:s}=W.A.getState().adc,{geophone:a}=W.A.getState().geophone;t((t=>(Object.keys(t).forEach((o=>{if(!e.data.every((e=>o in e)))return;const l=e.data.map((e=>e[o])).map((e=>(0,M.i)(e,s.resolution,s.fullscale))).map((e=>{const t=a[o];return(0,B.N)(e,t)})),r=l.map((e=>{const t=1e3/e.length;return(0,Z.U)(e,t)})),n=l.flat().reduce(((e,t)=>Math.max(Math.abs(e),Math.abs(t))),0),i=r.flat().reduce(((e,t)=>Math.max(Math.abs(e),Math.abs(t))),0);t[o]={...t[o],values:{pgv:n.toFixed(5),pga:i.toFixed(5)},value:"views.history.labels.".concat(o,"_detail.value")}})),t)))})(o,K),((e,t)=>{null!==e&&void 0!==e&&e.data&&t((t=>(Object.keys(t).forEach((s=>{if(!e.data.every((e=>s in e)))return;const a=e.data.map((e=>{let{ts:t,...a}=e;return{data:a[s],ts:t}}));t[s].chart.buffer=a;const{enabled:o,lowCorner:l,highCorner:r}=t[s].chart.filter,{lowFreqCorner:n,highFreqCorner:i}={lowFreqCorner:null!==l&&void 0!==l?l:.1,highFreqCorner:null!==r&&void 0!==r?r:10};t[s].chart={...t[s].chart,title:o?"Band pass [".concat(n,"-").concat(i," Hz]"):""};const c=a.map((e=>{let{ts:t,data:s}=e;const a=o?(0,I.W)(s,{poles:4,lowFreqCorner:n,highFreqCorner:i,sampleRate:s.length,passbandType:I.z.BAND_PASS}):s,l=1e3/a.length;return a.map(((e,s)=>[t-l*(a.length-s),e]))})).reduce(((e,t)=>e.concat(t)),[]),{current:d}=t[s].chart.ref;if(d){const{series:e}=d.chart;e[0].setData(c,!0,!1,!1)}})),t)))})(o,Q)},{locale:se}=e,{fallback:ae}=E.X;return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)(o.m,{className:"my-6 gap-4 grid md:grid-cols-2 ".concat(m?"cursor-progress":""),children:[(0,_.jsxs)(l.Z,{label:d("views.history.panels.query_history"),children:[(0,_.jsx)(C,{value:x.start,currentLocale:null!==se&&void 0!==se?se:ae,label:d("views.history.time_pickers.start_time"),onChange:e=>y(e,!1)}),(0,_.jsx)(C,{value:x.end,currentLocale:null!==se&&void 0!==se?se:ae,label:d("views.history.time_pickers.end_time"),onChange:e=>y(e,!0)}),(0,_.jsx)(j.$,{className:"bg-indigo-700 hover:bg-indigo-800 ".concat(m?"cursor-wait":""),onClick:async()=>{m||(v(!0),await te(),v(!1))},label:d("views.history.buttons.query_waveform")}),(0,_.jsx)(j.$,{className:"bg-green-700 hover:bg-green-800",onClick:()=>{const{start:e,end:t}=x;if(e>=t||t-e<0||t-e>1e3*u)return void(0,D.w)(d("views.history.toasts.duration_error"),!0);const s=async s=>{S((e=>({...e,open:!1})));const{backend:a}=z.DR,o={start:e,end:t,channel:s,format:"sac"},l=V(e,s,h);await q((0,F.c)({backend:a,payload:o,timeout:120,throwError:!0,endpoint:z.DR.endpoints.history,blobOptions:{filename:l}}),d("views.history.toasts.is_exporting_sac"),d("views.history.toasts.export_sac_success"),d("views.history.toasts.export_sac_error"))};S((e=>({...e,open:!0,selectOptions:[{label:"EHZ",value:"EHZ"},{label:"EHE",value:"EHE"},{label:"EHN",value:"EHN"}],onSubmit:s,title:"views.history.forms.choose_channel.title",cancelText:"views.history.forms.choose_channel.cancel",submitText:"views.history.forms.choose_channel.submit",placeholder:"views.history.forms.choose_channel.placeholder"})))},label:d("views.history.buttons.query_sac_file")}),(0,_.jsx)(j.$,{className:"bg-yellow-700 hover:bg-yellow-800 ".concat(m?"cursor-wait":""),onClick:async()=>{m||(v(!0),await(async()=>{const{backend:e}=z.DR,t=await q((0,F.c)({backend:e,payload:{source:"show"},timeout:30,throwError:!0,endpoint:z.DR.endpoints.trace}),d("views.history.toasts.is_fetching_source"),d("views.history.toasts.fetch_source_success"),d("views.history.toasts.fetch_source_error"));if(null===t||void 0===t||!t.data)return;const s=async t=>{S((e=>({...e,open:!1})));const s=await q((0,F.c)({backend:e,timeout:60,throwError:!0,payload:{source:t},endpoint:z.DR.endpoints.trace}),d("views.history.toasts.is_fetching_events"),d("views.history.toasts.fetch_events_success"),d("views.history.toasts.fetch_events_error"));if(null===s||void 0===s||!s.data)return;const a=e=>{G((e=>({...e,open:!1})));const[t,s]=e.split("|").map(Number);(s-t)/1e3>3600?(0,D.w)(d("views.history.toasts.duration_excceed"),!0):(g({start:t,end:s}),(0,D.w)(d("views.history.toasts.event_select_success")))},o=s.data.map((e=>{let{distance:t,magnitude:s,region:a,event:o,timestamp:l,depth:r,estimation:n}=e;return[a,"".concat(l+1e3*n.p,"|").concat(l+1e3*n.s),d("views.history.selects.choose_event.template",{event:o,time:(0,$.D)(l),magnitude:s.toFixed(1),distance:t.toFixed(1),p_wave:n.p.toFixed(1),s_wave:n.s.toFixed(1),depth:-1!==r?r.toFixed(1):"-"})]}));G((e=>({...e,open:!0,options:o,onClose:J,onSelect:a,title:"views.history.selects.choose_event.title"})))};S((e=>({...e,open:!0,selectOptions:t.data.map((e=>"name"in e&&"value"in e?{label:e.name,value:e.value}:{label:"",value:""})),onSubmit:s,title:"views.history.forms.choose_source.title",cancelText:"views.history.forms.choose_source.cancel",submitText:"views.history.forms.choose_source.submit",placeholder:"views.history.forms.choose_source.placeholder"})))})(),v(!1))},label:d("views.history.buttons.query_source")}),(0,_.jsx)(j.$,{className:"bg-cyan-700 hover:bg-cyan-800",onClick:async()=>{const{start:e,end:t}=x,s=new URLSearchParams;s.set("start",String(e)),s.set("end",String(t)),b(s);const a=window.location.href,o=await(async e=>{var t;const s=null!==(t=navigator.clipboard)&&void 0!==t?t:{writeText:e=>{const t=document.createElement("input");t.value=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)}};return!!s&&(s.writeText(e),!0)})(a);(0,D.w)(d(o?"views.history.toasts.copy_link_success":"views.history.toasts.copy_link_error"),!o)},label:d("views.history.buttons.get_share_link")})]}),(0,_.jsx)(l.Z,{className:"",label:d("views.history.panels.analyze_history"),children:Object.values(Y).map((e=>{let{label:t,value:s,values:a,...o}=e;return(0,L.createElement)(k.J,{...o,key:t,label:d(t),value:d(s,a)})}))}),(0,_.jsx)(U.l,{...w,onClose:()=>S({...w,open:!1}),title:d(null!==(t=w.title)&&void 0!==t?t:""),cancelText:d(null!==(s=w.cancelText)&&void 0!==s?s:""),submitText:d(null!==(r=w.submitText)&&void 0!==r?r:""),placeholder:d(null!==(n=w.placeholder)&&void 0!==n?n:""),content:d(null!==(i=w.content)&&void 0!==i?i:"",{...w.values})}),(0,_.jsx)(P.l,{...R,onClose:J,title:d(null!==(c=R.title)&&void 0!==c?c:"")})]}),Object.keys(X).map((e=>{var t,s;return(0,_.jsx)(A.R,{text:d(null!==(t=X[e].holder.text)&&void 0!==t?t:""),label:d(null!==(s=X[e].holder.label)&&void 0!==s?s:""),advanced:(0,_.jsx)(o.m,{className:"max-w-96",children:(0,_.jsxs)(l.Z,{label:d("views.history.charts.".concat(e,".advanced.panels.butterworth_filter.title")),embedded:!0,children:[(0,_.jsxs)(o.m,{className:"flex flex-col md:flex-row gap-4",children:[(0,_.jsx)(H.p,{onValueChange:t=>ee(e,!0,Number(t)),defaultValue:.1,type:"number",disabled:X[e].chart.filter.enabled,numberLimit:{max:100,min:.1},label:d("views.history.charts.".concat(e,".advanced.panels.butterworth_filter.low_corner_freq"))}),(0,_.jsx)(H.p,{onValueChange:t=>ee(e,!1,Number(t)),defaultValue:10,type:"number",disabled:X[e].chart.filter.enabled,numberLimit:{max:100,min:.1},label:d("views.history.charts.".concat(e,".advanced.panels.butterworth_filter.high_corner_freq"))})]}),(0,_.jsx)(j.$,{label:d("views.history.charts.".concat(e,".advanced.panels.butterworth_filter.").concat(X[e].chart.filter.enabled?"disable_filter":"enable_filter")),className:"bg-indigo-600 hover:bg-indigo-700",onClick:()=>{return t=e,void Q((e=>{const s=!e[t].chart.filter.enabled,{lowCorner:a,highCorner:o}=e[t].chart.filter,{lowFreqCorner:l,highFreqCorner:r}={lowFreqCorner:null!==a&&void 0!==a?a:.1,highFreqCorner:null!==o&&void 0!==o?o:10},n=e[t].chart.buffer.map((e=>{let{ts:t,data:a}=e;const o=s?(0,I.W)(a,{poles:4,lowFreqCorner:l,highFreqCorner:r,sampleRate:a.length,passbandType:I.z.BAND_PASS}):a,n=1e3/o.length;return o.map(((e,s)=>[t-n*(o.length-s),e]))})).reduce(((e,t)=>e.concat(t)),[]),{current:i}=e[t].chart.ref;if(i){const{series:e}=i.chart;e[0].setData(n,!0,!1,!1)}const c={...e[t],chart:{...e[t].chart,filter:{...e[t].chart.filter,enabled:s},title:s?"Band pass [".concat(l,"-").concat(r," Hz]"):""}};return{...e,[t]:c}}));var t}})]})}),children:(0,_.jsx)(N.t,{...X[e].chart,height:300,boost:!0,lineWidth:1,tooltip:!0,zooming:!0,animation:!0,tickPrecision:1,tickInterval:100})},X[e].holder.label)}))]})}}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/290.4f498365.chunk.js b/frontend/dist/static/js/290.4f498365.chunk.js deleted file mode 100644 index 8ca289f4..00000000 --- a/frontend/dist/static/js/290.4f498365.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkobserver=self.webpackChunkobserver||[]).push([[290],{1653:function(e,a,t){var r=t(5671),n=t(3144),o=t(136),i=t(9388),s=t(7313),l=t(5590),c=t(6417),u=function(e){(0,o.Z)(t,e);var a=(0,i.Z)(t);function t(){return(0,r.Z)(this,t),a.apply(this,arguments)}return(0,n.Z)(t,[{key:"render",value:function(){var e=this.props,a=e.t,t=e.className,r=e.icon,n=e.label,o=e.value,i=e.unit,s=e.color;return(0,c.jsx)("div",{className:"w-full p-2 ".concat(null!==t&&void 0!==t?t:""),children:(0,c.jsxs)("div",{className:"flex flex-row bg-gradient-to-r rounded-md p-4 shadow-xl ".concat(s?"from-indigo-500 via-purple-500 to-pink-500":"bg-slate-50 hover:bg-slate-100"),children:[r&&(0,c.jsx)("img",{className:"bg-white p-2 rounded-md w-8 h-8 md:w-12 md:h-12 self-center",src:r,alt:""}),(0,c.jsxs)("div",{className:"flex flex-col flex-grow ".concat(r?"ml-5":""),children:[(0,c.jsx)("div",{className:"text-sm whitespace-nowrap ".concat(s?"text-gray-50":"text-gray-600"),children:a(n.id,n.format)}),(0,c.jsx)("div",{className:"text-md font-medium flex-nowrap ".concat(s?"text-gray-100":"text-gray-800"),children:"".concat(o," ").concat(a(i.id,i.format))})]})]})})}}]),t}(s.Component);a.Z=(0,l.Zh)()(u)},1179:function(e,a,t){t.r(a),t.d(a,{default:function(){return ee}});var r=t(1413),n=t(4165),o=t(5861),i=t(5671),s=t(3144),l=t(136),c=t(9388),u=t(7313),d=t(3670),m=t(8669),h=t(5097),v=t(501),f=t(318),p=t(1653),b=t(4656),x=t(7486),Z=t(3676),g=t(1109),w=t(19),y=t(4580),j=t(8153),k=t(9062);var C=t.p+"static/media/location-dot-solid.763794361437464c10451de38cd290f7.svg",N=(t(3331),t(7248)),z=t.n(N),F=t(6417),D=function(e){(0,l.Z)(t,e);var a=(0,c.Z)(t);function t(e){var r;return(0,i.Z)(this,t),(r=a.call(this,e)).state={map:(0,u.createRef)()},r}return(0,s.Z)(t,[{key:"componentDidUpdate",value:function(){var e,a=this.props,t=a.center,r=a.flyTo,n=a.zoom,o=null===(e=this.state.map)||void 0===e?void 0:e.current;o&&r&&(null===o||void 0===o||o.flyTo(t,n))}},{key:"render",value:function(){var e=this.props,a=e.className,t=e.minZoom,r=e.maxZoom,n=e.center,o=e.zoom,i=e.tile,s=e.marker,l=e.dragging,c=e.zoomControl,u=e.scrollWheelZoom,d=this.state.map,m=new(z().Icon)({iconUrl:C,iconAnchor:[9,24],iconSize:[18,25]});return(0,F.jsxs)(y.h,{ref:d,className:"z-0 w-full ".concat(a||""),scrollWheelZoom:u,zoomControl:c,attributionControl:!1,doubleClickZoom:!1,dragging:l,maxZoom:r,minZoom:t,center:n,zoom:o,style:{cursor:"default"},children:[(0,F.jsx)(j.I,{url:i}),s&&(0,F.jsx)(k.J,{position:s,icon:m})]})}}]),t}(u.Component),S=t(284);var A=t.p+"static/media/circle-check-solid.3fb46b8931cbbf9f966175f42b55a087.svg";var E=t.p+"static/media/bug-solid.7f781f9ddd35c29f11111e36602dcc87.svg";var W=t.p+"static/media/paper-plane-solid.e1f40db20eab51657c5490a69c103292.svg";var q=t.p+"static/media/circle-xmark-solid.ea0857c87457d25b161c3a37ad4e3845.svg";var T=t.p+"static/media/hourglass-half-solid.1e8dc3284939ca52c0fd542da1fbf89b.svg";var U=t.p+"static/media/clock-solid.23025348eaec720a2439930b37d677ee.svg",V=t(2468),G=t(4477),I=function(e){(0,l.Z)(t,e);var a=(0,c.Z)(t);function t(){return(0,i.Z)(this,t),a.apply(this,arguments)}return(0,s.Z)(t,[{key:"render",value:function(){var e=this.props,a=e.tag,t=e.timer,r=e.onData,n=e.onError,o=e.onFetch,i=e.children,s=e.retry,l=Array.isArray(i)?i:[i];return(0,F.jsx)(G.Z,{url:a,interval:t,promise:o,retryCount:s,onFailure:n,render:function(){return l},onSuccess:function(e){return r&&r(e),!0}})}}]),t}(u.Component),J=function(e){var a=(e||{}).error,t=(null===e||void 0===e?void 0:e.data)||{},n=t.station,o=t.uptime,i=t.os,s=n||"Unknown",l=s.uuid,c=s.name,u={id:"views.home.banner.error.label"},d={id:"views.home.banner.error.text"};return a||(u={id:"views.home.banner.success.label",format:{station:c}},d={id:"views.home.banner.success.text",format:(0,r.Z)((0,r.Z)({},i),{},{uptime:o,uuid:l})}),{type:a?"error":"success",label:u,text:d}},R=t(7762),$=t(7912),B=function(e,a){var t,r=(0,R.Z)(e);try{for(r.s();!(t=r.n()).done;){var n=t.value,o=a.data.status;(0,$.Z)(e,"[tag:".concat(n.tag,"]>value"),o[n.tag||""])}}catch(i){r.e(i)}finally{r.f()}return e},H=function(e,a){var t=a.data.position,n=t.longitude,o=t.latitude,i=t.elevation;return(0,r.Z)((0,r.Z)({},e),{},{area:(0,r.Z)((0,r.Z)({},e.area),{},{text:{id:"views.home.map.area.text",format:{elevation:i.toFixed(2),latitude:o.toFixed(2),longitude:n.toFixed(2)}}}),instance:(0,r.Z)((0,r.Z)({},e.instance),{},{center:[o,n],marker:[o,n]})})},K=t(3651),L=function(e,a,t){var r,n=a.data.timestamp,o=(0,R.Z)(e);try{var i=function(){var o,i,s=r.value,l=a.data[s.tag].percent,c=[null!==n&&void 0!==n?n:Date.now(),l],u=null===(o=e.find((function(e){return e.tag===s.tag})))||void 0===o||null===(i=o.chart.series)||void 0===i?void 0:i.data,d=(0,K.Z)(u,c,t);(0,$.Z)(e,"[tag:".concat(s.tag,"]>area>text"),{id:"views.home.areas.".concat(s.tag,".text"),format:{usage:l.toFixed(2)}}),(0,$.Z)(e,"[tag:".concat(s.tag,"]>chart>series>data"),d)};for(o.s();!(r=o.n()).done;)i()}catch(s){o.e(s)}finally{o.f()}return e},M=t(6135),O=t(7703),P=t(8146),Q=t(6801),X=t(8780),Y=t(5590),_=function(e){(0,l.Z)(t,e);var a=(0,c.Z)(t);function t(e){var r;return(0,i.Z)(this,t),(r=a.call(this,e)).handleFetch=function(){var e=(0,o.Z)((0,n.Z)().mark((function e(a){var t;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,V.Z)({tag:a});case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}(),r.handleError=function(){var e=J();r.setState({banner:e})},r.handleData=function(e){var a=e.error,t=J(e);if(!a){var n=e.data,o=n.adc,i=n.geophone,s=n.station,l=r.props,c=l.updateADC,u=l.updateGeophone,d=l.updateStation,m=H(r.state.map,e),h=B(r.state.labels,e),v=L(r.state.areas,e,120);r.setState({labels:h,areas:v,map:m}),u&&u(i),d&&d(s),c&&c(o)}r.setState({banner:t})},r.state={banner:{type:"warning",label:{id:"views.home.banner.warning.label"},text:{id:"views.home.banner.warning.text"}},labels:[{tag:"messages",label:{id:"views.home.labels.messages.label"},unit:{id:"views.home.labels.messages.unit"},value:"0",icon:A,color:!0},{tag:"errors",label:{id:"views.home.labels.errors.label"},unit:{id:"views.home.labels.errors.unit"},value:"0",icon:E,color:!0},{tag:"pushed",label:{id:"views.home.labels.pushed.label"},unit:{id:"views.home.labels.pushed.unit"},value:"0",icon:W,color:!0},{tag:"failures",label:{id:"views.home.labels.failures.label"},unit:{id:"views.home.labels.failures.unit"},value:"0",icon:q,color:!0},{tag:"queued",label:{id:"views.home.labels.queued.label"},unit:{id:"views.home.labels.queued.unit"},value:"0",icon:T,color:!0},{tag:"offset",label:{id:"views.home.labels.offset.label"},unit:{id:"views.home.labels.offset.unit"},value:"0",icon:U,color:!0}],areas:[{tag:"cpu",area:{label:{id:"views.home.areas.cpu.label"},text:{id:"views.home.areas.cpu.text",format:{usage:"0.00"}}},chart:{backgroundColor:"#22c55e",lineWidth:5,height:250,series:{type:"line",color:"#fff",data:[]}}},{tag:"memory",area:{label:{id:"views.home.areas.memory.label"},text:{id:"views.home.areas.memory.text",format:{usage:"0.00"}}},chart:{backgroundColor:"#06b6d4",lineWidth:5,height:250,series:{type:"line",color:"#fff",data:[]}}}],map:{area:{label:{id:"views.home.map.area.label"},text:{id:"views.home.map.area.text",format:{elevation:"0.00",latitude:"0.00",longitude:"0.00"}}},instance:{zoom:6,minZoom:3,maxZoom:7,flyTo:!0,center:[0,0],tile:"/tiles/{z}/{x}/{y}/tile.webp"}}},r}return(0,s.Z)(t,[{key:"render",value:function(){var e=this.state,a=e.banner,t=e.labels,n=e.areas,o=this.state.map,i=o.area,s=o.instance;return(0,F.jsxs)(b.Z,{children:[(0,F.jsx)(d.Z,{}),(0,F.jsx)(m.Z,{}),(0,F.jsxs)(v.Z,{children:[(0,F.jsx)(h.Z,{}),(0,F.jsxs)(I,{timer:1e3,tag:"station",onData:this.handleData,onFetch:this.handleFetch,onError:this.handleError,children:[(0,F.jsx)(f.Z,(0,r.Z)({},a)),(0,F.jsx)(g.Z,{layout:"flex",children:t.map((function(e,a){return(0,F.jsx)(p.Z,(0,r.Z)((0,r.Z)({},e),{},{className:"md:w-1/2 lg:w-1/3"}),a)}))}),(0,F.jsx)(g.Z,{layout:"grid",children:n.map((function(e,a){var t=e.area,n=e.chart;return(0,F.jsx)(x.Z,(0,r.Z)((0,r.Z)({},t),{},{children:(0,F.jsx)(Z.Z,(0,r.Z)({},n))}),a)}))}),(0,F.jsx)(g.Z,{layout:"none",children:(0,F.jsx)(x.Z,{label:i.label,text:i.text,children:(0,F.jsx)(D,(0,r.Z)({className:"h-[400px]"},s))})})]})]}),(0,F.jsx)(S.Z,{}),(0,F.jsx)(w.Z,{})]})}}]),t}(u.Component),ee=(0,M.$j)(X.Z,{updateGeophone:P.V,updateADC:O.V,updateStation:Q.V})((0,Y.Zh)()(_))}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/332.60fa82e5.chunk.js b/frontend/dist/static/js/332.60fa82e5.chunk.js deleted file mode 100644 index dad956f7..00000000 --- a/frontend/dist/static/js/332.60fa82e5.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkobserver=self.webpackChunkobserver||[]).push([[332],{4595:function(t,e,n){var i=n(5671),s=n(3144),r=n(136),o=n(9388),a=n(7313),l=n(5590),u=n(6417),c=function(t){(0,r.Z)(n,t);var e=(0,o.Z)(n);function n(t){var s;return(0,i.Z)(this,n),(s=e.call(this,t)).state={isBusy:!1},s}return(0,s.Z)(n,[{key:"render",value:function(){var t=this.props,e=t.t,n=t.className,i=t.label,s=t.onClick;return(0,u.jsx)("button",{className:"w-full text-white font-medium text-sm shadow-lg rounded-lg py-2 ".concat(null!==n&&void 0!==n?n:""),onClick:s,children:e(i.id,i.format)})}}]),n}(a.Component);e.Z=(0,l.Zh)()(c)},3387:function(t,e,n){var i=n(5671),s=n(3144),r=n(136),o=n(9388),a=n(7313),l=n(5590),u=n(6417),c=function(t){(0,r.Z)(n,t);var e=(0,o.Z)(n);function n(){return(0,i.Z)(this,n),e.apply(this,arguments)}return(0,s.Z)(n,[{key:"render",value:function(){var t=this.props,e=t.t,n=t.className,i=t.label,s=t.sublabel,r=t.children,o=Array.isArray(r)?r:[r];return(0,u.jsx)("div",{className:"w-full h-full text-gray-800",children:(0,u.jsxs)("div",{className:"flex flex-col shadow-lg rounded-lg",children:[(0,u.jsxs)("div",{className:"px-4 py-3 font-bold",children:[s&&(0,u.jsx)("h6",{className:"text-gray-500 text-xs",children:e(s.id,s.format)}),(0,u.jsx)("h2",{className:"text-xl",children:e(i.id,i.format)})]}),(0,u.jsx)("div",{className:"p-4 m-2 flex flex-col justify-center gap-4 ".concat(null!==n&&void 0!==n?n:""),children:o.map((function(t,e){return(0,u.jsx)("div",{children:t},e)}))})]})})}}]),n}(a.Component);e.Z=(0,l.Zh)()(c)},2848:function(t,e,n){var i=n(5671),s=n(3144),r=n(136),o=n(9388),a=n(4469),l=n(3604),u=n(7216),c=n(9840),d=n(3213),p=n(7313),h=n(5590),v=n(6417),f=function(t){(0,r.Z)(n,t);var e=(0,o.Z)(n);function n(){return(0,i.Z)(this,n),e.apply(this,arguments)}return(0,s.Z)(n,[{key:"render",value:function(){var t=this.props,e=t.t,n=t.title,i=t.open,s=t.values,r=t.onClose,o=t.onSelect;return(0,v.jsxs)(a.Z,{onClose:r,open:i,children:[(0,v.jsx)(l.Z,{children:e(n.id,n.format)}),s.map((function(t,e){return(0,v.jsx)(u.ZP,{disableGutters:!0,children:(0,v.jsx)(c.Z,{onClick:function(){return o&&o(t[1])},children:(0,v.jsx)(d.Z,{primary:t[0],secondary:t[3]?t[3]:t[1]})})},e)}))]})}}]),n}(p.Component);e.Z=(0,h.Zh)()(f)},6332:function(t,e,n){n.r(e),n.d(e,{default:function(){return X}});var i=n(1413),s=n(5671),r=n(3144),o=n(136),a=n(9388),l=n(7313),u=n(6059),c=n(501),d=n(19),p=n(3670),h=n(5097),v=n(284),f=n(8669),m=n(4656),Z=n(1109),g=n(3387),x=n(6417),b=function(t){(0,o.Z)(n,t);var e=(0,a.Z)(n);function n(){return(0,s.Z)(this,n),e.apply(this,arguments)}return(0,r.Z)(n,[{key:"render",value:function(){var t=this.props,e=t.className,n=t.children;return(0,x.jsx)("div",{className:e,children:n})}}]),n}(l.Component),w=n(4595),j=n(2848),y=n(5827),C=n(8780),S=n(1236),k=n(5467),_=n(5549),N=n(6135),T=n(5590),P=n(4469),R=n(3604),D=n(6467),q=n(3366),V=n(7462),M=n(4146),F=n(1921),A=n(8564),I=n(5469),B=n(1113),G=n(7430),O=n(2298);function W(t){return(0,O.Z)("MuiDialogContentText",t)}(0,G.Z)("MuiDialogContentText",["root"]);var $=["children","className"],z=(0,A.ZP)(B.Z,{shouldForwardProp:function(t){return(0,A.FO)(t)||"classes"===t},name:"MuiDialogContentText",slot:"Root",overridesResolver:function(t,e){return e.root}})({}),E=l.forwardRef((function(t,e){var n=(0,I.Z)({props:t,name:"MuiDialogContentText"}),i=n.className,s=(0,q.Z)(n,$),r=function(t){var e=t.classes,n=(0,F.Z)({root:["root"]},W,e);return(0,V.Z)({},e,n)}(s);return(0,x.jsx)(z,(0,V.Z)({component:"p",variant:"body1",color:"text.secondary",ref:e,ownerState:s,className:(0,M.Z)(r.root,i)},n,{classes:r}))})),H=n(4505),J=n(4117),K=n(1095),L=function(t){(0,o.Z)(n,t);var e=(0,a.Z)(n);function n(t){var i;return(0,s.Z)(this,n),(i=e.call(this,t)).state={input:(0,l.createRef)()},i}return(0,r.Z)(n,[{key:"render",value:function(){var t,e=this.props,n=e.t,i=e.open,s=e.title,r=e.content,o=e.cancelText,a=e.submitText,l=e.placeholder,u=e.defaultValue,c=e.inputType,d=e.onSubmit,p=e.onClose,h=this.state.input;return(0,x.jsxs)(P.Z,{open:i,children:[(0,x.jsx)(R.Z,{children:n(s.id,s.format)}),(0,x.jsxs)(D.Z,{children:[r&&(0,x.jsx)(E,{children:n(r.id,r.format)}),(0,x.jsx)(H.Z,{autoFocus:!0,fullWidth:!0,inputRef:h,className:"mt-8",type:c,defaultValue:u,label:n(null!==(t=null===l||void 0===l?void 0:l.id)&&void 0!==t?t:"",null===l||void 0===l?void 0:l.format)})]}),(0,x.jsxs)(J.Z,{children:[o&&(0,x.jsx)(K.Z,{onClick:p,children:n(o.id,o.format)}),(0,x.jsx)(K.Z,{onClick:function(){var t,e;return d&&d(null!==(t=null===(e=h.current)||void 0===e?void 0:e.value)&&void 0!==t?t:"")},children:a?n(a.id,a.format):"Submit"})]})]})}}]),n}(l.Component),Q=(0,T.Zh)()(L),U=function(t){(0,o.Z)(n,t);var e=(0,a.Z)(n);function n(t){var r;return(0,s.Z)(this,n),(r=e.call(this,t)).handleInputSubmit=function(t){var e=r.props.t,n=r.state.input.tag,s=r.props,o=s.updateRetention,a=s.updateDuration,l=Math.round(Number(t));switch(n){case"retention":o&&o(l),u.ZP.success(e("views.setting.toasts.retention_set",{retention:l.toString()}));break;case"duration":a&&a(l),u.ZP.success(e("views.setting.toasts.duration_set",{duration:l.toString()}));break;default:return}r.setState((function(t){return{input:(0,i.Z)((0,i.Z)({},t.input),{},{open:!1})}})),setTimeout((function(){return window.location.reload()}),1e3)},r.handleRetentionChange=function(){r.setState((function(t){return{input:(0,i.Z)((0,i.Z)({},t.input),{},{open:!0,tag:"retention",title:{id:"views.setting.inputs.waveform_retention.title"},content:{id:"views.setting.inputs.waveform_retention.content"},placeholder:{id:"views.setting.inputs.waveform_retention.placeholder"},submitText:{id:"views.setting.inputs.waveform_retention.submit"},defaultValue:r.props.retention.retention.toString()})}}))},r.handleDurationChange=function(){r.setState((function(t){return{input:(0,i.Z)((0,i.Z)({},t.input),{},{open:!0,tag:"duration",title:{id:"views.setting.inputs.query_duration.title"},content:{id:"views.setting.inputs.query_duration.content"},placeholder:{id:"views.setting.inputs.query_duration.placeholder"},submitText:{id:"views.setting.inputs.query_duration.submit"},defaultValue:r.props.duration.duration.toString()})}}))},r.handleSelectScale=function(){r.setState((function(t){return{select:(0,i.Z)((0,i.Z)({},t.select),{},{open:!0})}}))},r.handleScaleChange=function(t){var e,n=null===(e=y.Z.app_settings.scales.find((function(e){return e.property().value===t})))||void 0===e?void 0:e.property();r.setState({select:(0,i.Z)((0,i.Z)({},r.state.select),{},{open:!1})});var s=r.props,o=s.t,a=s.updateScale;a&&a((null===n||void 0===n?void 0:n.value)||y.m.property().value),u.ZP.success(o("views.setting.toasts.scale_changed",{scale:t})),setTimeout((function(){return window.location.reload()}),1e3)},r.handlePurgeCache=function(){var t=r.props.t;localStorage.clear(),u.ZP.success(t("views.setting.toasts.cache_purged")),setTimeout((function(){return window.location.reload()}),1e3)},r.state={cards:[{label:{id:"views.setting.cards.waveform_retention"},content:{id:"views.setting.contents.waveform_retention",format:{retention:r.props.retention.retention.toString()}},button:{id:"views.setting.buttons.waveform_retention"},className:"bg-teal-700 hover:bg-teal-800",onClick:r.handleRetentionChange},{label:{id:"views.setting.cards.query_duration"},content:{id:"views.setting.contents.query_duration",format:{duration:r.props.duration.duration.toString()}},button:{id:"views.setting.buttons.query_duration"},className:"bg-lime-700 hover:bg-lime-800",onClick:r.handleDurationChange},{label:{id:"views.setting.cards.select_scale"},button:{id:"views.setting.buttons.select_scale"},className:"bg-sky-700 hover:bg-sky-800",content:{id:"views.setting.contents.select_scale",format:{scale:t.scale.scale}},onClick:r.handleSelectScale},{label:{id:"views.setting.cards.purge_cache"},content:{id:"views.setting.contents.purge_cache"},button:{id:"views.setting.buttons.purge_cache"},className:"bg-pink-700 hover:bg-pink-800",onClick:r.handlePurgeCache}],select:{open:!1,title:{id:"views.setting.selects.choose_scale.title"},values:y.Z.app_settings.scales.map((function(t){return[t.property().name,t.property().value]}))},input:{open:!1,title:{id:""},inputType:"number",submitText:{id:""},onSubmit:r.handleInputSubmit}},r}return(0,r.Z)(n,[{key:"render",value:function(){var t=this.props.t,e=this.state,n=e.select,s=e.cards,r=e.input;return(0,x.jsxs)(m.Z,{children:[(0,x.jsx)(p.Z,{}),(0,x.jsx)(f.Z,{}),(0,x.jsxs)(c.Z,{children:[(0,x.jsx)(h.Z,{}),(0,x.jsx)(Z.Z,{layout:"grid",children:s.map((function(e,n){var i=e.label,s=e.content,r=e.onClick,o=e.button,a=e.className;return(0,x.jsxs)(g.Z,{className:"min-h-[40vh]",label:i,children:[t(s.id,s.format).split("\n").map((function(t,e){return(0,x.jsx)(b,{className:"mb-3",children:t},e)})),(0,x.jsx)(w.Z,{className:a,onClick:r,label:o})]},n)}))})]}),(0,x.jsx)(v.Z,{}),(0,x.jsx)(d.Z,{}),(0,x.jsx)(j.Z,(0,i.Z)((0,i.Z)({},n),{},{onSelect:this.handleScaleChange})),(0,x.jsx)(Q,(0,i.Z)({},r)),(0,x.jsx)(u.x7,{position:"top-center"})]})}}]),n}(l.Component),X=(0,N.$j)(C.Z,{updateScale:S.V,updateRetention:k.V,updateDuration:_.V})((0,T.Zh)()(U))}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/366.14cf3b89.chunk.js b/frontend/dist/static/js/366.14cf3b89.chunk.js deleted file mode 100644 index 30199c78..00000000 --- a/frontend/dist/static/js/366.14cf3b89.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkobserver=self.webpackChunkobserver||[]).push([[366],{686:function(e,t,r){r.d(t,{F4:function(){return s},iv:function(){return l},xB:function(){return c}});var n=r(3346),o=r(7313),i=r(4911),a=r(5696),u=r(1086),c=(r(5296),r(7861),(0,n.w)((function(e,t){var r=e.styles,c=(0,u.O)([r],void 0,o.useContext(n.T));if(!n.i){for(var l,s=c.name,f=c.styles,d=c.next;void 0!==d;)s+=" "+d.name,f+=d.styles,d=d.next;var p=!0===t.compat,m=t.insert("",{name:s,styles:f},t.sheet,p);return p?null:o.createElement("style",((l={})["data-emotion"]=t.key+"-global "+s,l.dangerouslySetInnerHTML={__html:m},l.nonce=t.sheet.nonce,l))}var h=o.useRef();return(0,a.j)((function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),n=!1,o=document.querySelector('style[data-emotion="'+e+" "+c.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==o&&(n=!0,o.setAttribute("data-emotion",e),r.hydrate([o])),h.current=[r,n],function(){r.flush()}}),[t]),(0,a.j)((function(){var e=h.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==c.next&&(0,i.My)(t,c.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}t.insert("",c,r,!1)}}),[t,c.name]),null})));function l(){for(var e=arguments.length,t=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y[200],light:y[50],dark:y[400]}:{main:y[700],light:y[400],dark:y[800]}}(r),O=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:h[200],light:h[50],dark:h[400]}:{main:h[500],light:h[300],dark:h[700]}}(r),S=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[500],light:g[300],dark:g[700]}:{main:g[700],light:g[400],dark:g[800]}}(r),T=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:b[400],light:b[300],dark:b[700]}:{main:b[700],light:b[500],dark:b[900]}}(r),_=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:Z[400],light:Z[300],dark:Z[700]}:{main:Z[800],light:Z[500],dark:Z[900]}}(r),C=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v[400],light:v[300],dark:v[700]}:{main:"#ed6c02",light:v[500],dark:v[900]}}(r);function R(e){return(0,d.mi)(e,w.text.primary)>=c?w.text.primary:k.text.primary}var I=function(e){var t=e.color,r=e.name,o=e.mainShade,a=void 0===o?500:o,u=e.lightShade,c=void 0===u?300:u,l=e.darkShade,f=void 0===l?700:l;if(!(t=(0,n.Z)({},t)).main&&t[a]&&(t.main=t[a]),!t.hasOwnProperty("main"))throw new Error((0,i.Z)(11,r?" (".concat(r,")"):"",a));if("string"!==typeof t.main)throw new Error((0,i.Z)(12,r?" (".concat(r,")"):"",JSON.stringify(t.main)));return A(t,"light",c,s),A(t,"dark",f,s),t.contrastText||(t.contrastText=R(t.main)),t},M={dark:w,light:k};return(0,a.Z)((0,n.Z)({common:(0,n.Z)({},p),mode:r,primary:I({color:P,name:"primary"}),secondary:I({color:O,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:I({color:S,name:"error"}),warning:I({color:C,name:"warning"}),info:I({color:T,name:"info"}),success:I({color:_,name:"success"}),grey:m,contrastThreshold:c,getContrastText:R,augmentColor:I,tonalOffset:s},M[r]),f)}var O=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var S={textTransform:"uppercase"},T='"Roboto", "Helvetica", "Arial", sans-serif';function _(e,t){var r="function"===typeof t?t(e):t,i=r.fontFamily,u=void 0===i?T:i,c=r.fontSize,l=void 0===c?14:c,s=r.fontWeightLight,f=void 0===s?300:s,d=r.fontWeightRegular,p=void 0===d?400:d,m=r.fontWeightMedium,h=void 0===m?500:m,g=r.fontWeightBold,v=void 0===g?700:g,y=r.htmlFontSize,b=void 0===y?16:y,Z=r.allVariants,x=r.pxToRem,k=(0,o.Z)(r,O);var w=l/14,A=x||function(e){return"".concat(e/b*w,"rem")},P=function(e,t,r,o,i){return(0,n.Z)({fontFamily:u,fontWeight:e,fontSize:A(t),lineHeight:r},u===T?{letterSpacing:"".concat((a=o/t,Math.round(1e5*a)/1e5),"em")}:{},i,Z);var a},_={h1:P(f,96,1.167,-1.5),h2:P(f,60,1.2,-.5),h3:P(p,48,1.167,0),h4:P(p,34,1.235,.25),h5:P(p,24,1.334,0),h6:P(h,20,1.6,.15),subtitle1:P(p,16,1.75,.15),subtitle2:P(h,14,1.57,.1),body1:P(p,16,1.5,.15),body2:P(p,14,1.43,.15),button:P(h,14,1.75,.4,S),caption:P(p,12,1.66,.4),overline:P(p,12,2.66,1,S),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.Z)((0,n.Z)({htmlFontSize:b,pxToRem:A,fontFamily:u,fontSize:l,fontWeightLight:f,fontWeightRegular:p,fontWeightMedium:h,fontWeightBold:v},_),k,{clone:!1})}function C(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var R=["none",C(0,2,1,-1,0,1,1,0,0,1,3,0),C(0,3,1,-2,0,2,2,0,0,1,5,0),C(0,3,3,-2,0,3,4,0,0,1,8,0),C(0,2,4,-1,0,4,5,0,0,1,10,0),C(0,3,5,-1,0,5,8,0,0,1,14,0),C(0,3,5,-1,0,6,10,0,0,1,18,0),C(0,4,5,-2,0,7,10,1,0,2,16,1),C(0,5,5,-3,0,8,10,1,0,3,14,2),C(0,5,6,-3,0,9,12,1,0,3,16,2),C(0,6,6,-3,0,10,14,1,0,4,18,3),C(0,6,7,-4,0,11,15,1,0,4,20,3),C(0,7,8,-4,0,12,17,2,0,5,22,4),C(0,7,8,-4,0,13,19,2,0,5,24,4),C(0,7,9,-4,0,14,21,2,0,5,26,4),C(0,8,9,-5,0,15,22,2,0,6,28,5),C(0,8,10,-5,0,16,24,2,0,6,30,5),C(0,8,11,-5,0,17,26,2,0,6,32,5),C(0,9,11,-5,0,18,28,2,0,7,34,6),C(0,9,12,-6,0,19,29,2,0,7,36,6),C(0,10,13,-6,0,20,31,3,0,8,38,7),C(0,10,13,-6,0,21,33,3,0,8,40,7),C(0,10,14,-6,0,22,35,3,0,8,42,7),C(0,11,14,-7,0,23,36,3,0,9,44,8),C(0,11,15,-7,0,24,38,3,0,9,46,8)],I=["duration","easing","delay"],M={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},j={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function B(e){return"".concat(Math.round(e),"ms")}function E(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}function W(e){var t=(0,n.Z)({},M,e.easing),r=(0,n.Z)({},j,e.duration);return(0,n.Z)({getAutoHeightDuration:E,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.duration,a=void 0===i?r.standard:i,u=n.easing,c=void 0===u?t.easeInOut:u,l=n.delay,s=void 0===l?0:l;(0,o.Z)(n,I);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof a?a:B(a)," ").concat(c," ").concat("string"===typeof s?s:B(s))})).join(",")}},e,{easing:t,duration:r})}var K={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},z=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function L(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mixins,r=void 0===t?{}:t,s=e.palette,d=void 0===s?{}:s,p=e.transitions,m=void 0===p?{}:p,h=e.typography,g=void 0===h?{}:h,v=(0,o.Z)(e,z);if(e.vars)throw new Error((0,i.Z)(18));var y=P(d),b=(0,u.Z)(e),Z=(0,a.Z)(b,{mixins:f(b.breakpoints,r),palette:y,shadows:R.slice(),typography:_(y,g),transitions:W(m),zIndex:(0,n.Z)({},K)});Z=(0,a.Z)(Z,v);for(var x=arguments.length,k=new Array(x>1?x-1:0),w=1;w0&&void 0!==arguments[0]?arguments[0]:{},t=e.themeId,r=e.defaultTheme,c=void 0===r?g:r,l=e.rootShouldForwardProp,s=void 0===l?h:l,f=e.slotShouldForwardProp,y=void 0===f?h:f,b=function(e){return(0,p.Z)((0,a.Z)({},e,{theme:v((0,a.Z)({},e,{defaultTheme:c,themeId:t}))}))};return b.__mui_systemSx=!0,function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,u.Co)(e,(function(e){return e.filter((function(e){return!(null!=e&&e.__mui_systemSx)}))}));var l,f,p=r.name,g=r.slot,Z=r.skipVariantsResolver,x=r.skipSx,k=r.overridesResolver,w=void 0===k?(l=(f=g)?f.charAt(0).toLowerCase()+f.slice(1):f)?function(e,t){return t[l]}:null:k,A=(0,i.Z)(r,m),P=void 0!==Z?Z:g&&"Root"!==g&&"root"!==g||!1,O=x||!1;var S=h;"Root"===g||"root"===g?S=s:g?S=y:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(S=void 0);var T=(0,u.ZP)(e,(0,a.Z)({shouldForwardProp:S,label:undefined},A)),_=function(r){for(var i=arguments.length,u=new Array(i>1?i-1:0),l=1;l0){var h=new Array(m).fill("");(f=[].concat((0,n.Z)(r),(0,n.Z)(h))).raw=[].concat((0,n.Z)(r.raw),(0,n.Z)(h))}else"function"===typeof r&&r.__emotion_real!==r&&(f=function(e){return r((0,a.Z)({},e,{theme:v((0,a.Z)({},e,{defaultTheme:c,themeId:t}))}))});var g=T.apply(void 0,[f].concat((0,n.Z)(s)));return e.muiName&&(g.muiName=e.muiName),g};return T.withConfig&&(_.withConfig=T.withConfig),_}}({themeId:b.Z,defaultTheme:y.Z,rootShouldForwardProp:Z}),w=k},9860:function(e,t,r){r.d(t,{Z:function(){return a}});r(7313);var n=r(6728),o=r(2248),i=r(2951);function a(){var e=(0,n.Z)(o.Z);return e[i.Z]||e}},5469:function(e,t,r){r.d(t,{Z:function(){return u}});var n=r(4290),o=r(6728);var i=r(2248),a=r(2951);function u(e){return function(e){var t=e.props,r=e.name,i=e.defaultTheme,a=e.themeId,u=(0,o.Z)(i);return a&&(u=u[a]||u),(0,n.Z)({theme:u,name:r,props:t})}({props:e.props,name:e.name,defaultTheme:i.Z,themeId:a.Z})}},1615:function(e,t,r){var n=r(8831);t.Z=n.Z},4472:function(e,t,r){r.d(t,{ZP:function(){return y},Co:function(){return b}});var n=r(7462),o=r(7313),i=r(1816),a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,u=(0,i.Z)((function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),c=r(3346),l=r(4911),s=r(1086),f=r(5696),d=u,p=function(e){return"theme"!==e},m=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?d:p},h=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!==typeof n&&r&&(n=e.__emotion_forwardProp),n},g=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,l.hC)(t,r,n),(0,f.L)((function(){return(0,l.My)(t,r,n)})),null},v=function e(t,r){var i,a,u=t.__emotion_real===t,f=u&&t.__emotion_base||t;void 0!==r&&(i=r.label,a=r.target);var d=h(t,r,u),p=d||m(f),v=!p("as");return function(){var y=arguments,b=u&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{0,b.push(y[0][0]);for(var Z=y.length,x=1;x0&&void 0!==arguments[0]?arguments[0]:{};return(null==(e=t.keys)?void 0:e.reduce((function(e,r){return e[t.up(r)]={},e}),{}))||{}}function u(e,t){return e.reduce((function(e,t){var r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}},7551:function(e,t,r){r.d(t,{$n:function(){return f},Fq:function(){return l},_j:function(){return s},mi:function(){return c}});var n=r(7219);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),r)}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.slice(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map((function(e){return e+e}))),r?"rgb".concat(4===r.length?"a":"","(").concat(r.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,n.Z)(9,e));var o,a=e.substring(t+1,e.length-1);if("color"===r){if(o=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error((0,n.Z)(10,o))}else a=a.split(",");return{type:r,values:a=a.map((function(e){return parseFloat(e)})),colorSpace:o}}function a(e){var t=e.type,r=e.colorSpace,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),n=-1!==t.indexOf("color")?"".concat(r," ").concat(n.join(" ")):"".concat(n.join(", ")),"".concat(t,"(").concat(n,")")}function u(e){var t="hsl"===(e=i(e)).type||"hsla"===e.type?i(function(e){var t=(e=i(e)).values,r=t[0],n=t[1]/100,o=t[2]/100,u=n*Math.min(o,1-o),c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+r/30)%12;return o-u*Math.max(Math.min(t-3,9-t,1),-1)},l="rgb",s=[Math.round(255*c(0)),Math.round(255*c(8)),Math.round(255*c(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),a({type:l,values:s})}(e)).values:e.values;return t=t.map((function(t){return"color"!==e.type&&(t/=255),t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e,t){var r=u(e),n=u(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function l(e,t){return e=i(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,a(e)}function s(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(var r=0;r<3;r+=1)e.values[r]*=1-t;return a(e)}function f(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(var n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return a(e)}},5318:function(e,t,r){r.d(t,{Z:function(){return m}});var n=r(7462),o=r(3366),i=r(3019),a=r(4942),u=["values","unit","step"],c=function(e){var t=Object.keys(e).map((function(t){return{key:t,val:e[t]}}))||[];return t.sort((function(e,t){return e.val-t.val})),t.reduce((function(e,t){return(0,n.Z)({},e,(0,a.Z)({},t.key,t.val))}),{})};var l={borderRadius:4},s=r(6886);var f=r(3649),d=r(3232),p=["breakpoints","palette","spacing","shape"];var m=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,r=void 0===t?{}:t,a=e.palette,m=void 0===a?{}:a,h=e.spacing,g=e.shape,v=void 0===g?{}:g,y=(0,o.Z)(e,p),b=function(e){var t=e.values,r=void 0===t?{xs:0,sm:600,md:900,lg:1200,xl:1536}:t,i=e.unit,a=void 0===i?"px":i,l=e.step,s=void 0===l?5:l,f=(0,o.Z)(e,u),d=c(r),p=Object.keys(d);function m(e){var t="number"===typeof r[e]?r[e]:e;return"@media (min-width:".concat(t).concat(a,")")}function h(e){var t="number"===typeof r[e]?r[e]:e;return"@media (max-width:".concat(t-s/100).concat(a,")")}function g(e,t){var n=p.indexOf(t);return"@media (min-width:".concat("number"===typeof r[e]?r[e]:e).concat(a,") and ")+"(max-width:".concat((-1!==n&&"number"===typeof r[p[n]]?r[p[n]]:t)-s/100).concat(a,")")}return(0,n.Z)({keys:p,values:d,up:m,down:h,between:g,only:function(e){return p.indexOf(e)+10&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=(0,s.hB)({spacing:e}),r=function(){for(var e=arguments.length,r=new Array(e),n=0;n1?k-1:0),A=1;A2){if(!l[e])return[e];e=l[e]}var t=e.split(""),r=(0,n.Z)(t,2),o=r[0],i=r[1],a=u[o],s=c[i]||"";return Array.isArray(s)?s.map((function(e){return a+e})):[a+s]})),f=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[].concat(f,d);function m(e,t,r,n){var o,a=null!=(o=(0,i.DW)(e,t,!1))?o:r;return"number"===typeof a?function(e){return"string"===typeof e?e:a*e}:Array.isArray(a)?function(e){return"string"===typeof e?e:a[e]}:"function"===typeof a?a:function(){}}function h(e){return m(e,"spacing",8)}function g(e,t){if("string"===typeof t||null==t)return t;var r=e(Math.abs(t));return t>=0?r:"number"===typeof r?-r:"-".concat(r)}function v(e,t,r,n){if(-1===t.indexOf(r))return null;var i=function(e,t){return function(r){return e.reduce((function(e,n){return e[n]=g(t,r),e}),{})}}(s(r),n),a=e[r];return(0,o.k9)(e,a,i)}function y(e,t){var r=h(e.theme);return Object.keys(e).map((function(n){return v(e,t,n,r)})).reduce(a.Z,{})}function b(e){return y(e,f)}function Z(e){return y(e,d)}function x(e){return y(e,p)}b.propTypes={},b.filterProps=f,Z.propTypes={},Z.filterProps=d,x.propTypes={},x.filterProps=p},6428:function(e,t,r){r.d(t,{DW:function(){return a},Jq:function(){return u}});var n=r(4942),o=r(8831),i=r(4929);function a(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&r){var n="vars.".concat(t).split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e);if(null!=n)return n}return t.split(".").reduce((function(e,t){return e&&null!=e[t]?e[t]:null}),e)}function u(e,t,r){var n,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r;return n="function"===typeof e?e(r):Array.isArray(e)?e[r]||o:a(e,r)||o,t&&(n=t(n,o,e)),n}t.ZP=function(e){var t=e.prop,r=e.cssProperty,c=void 0===r?e.prop:r,l=e.themeKey,s=e.transform,f=function(e){if(null==e[t])return null;var r=e[t],f=a(e.theme,l)||{};return(0,i.k9)(e,r,(function(e){var r=u(f,s,e);return e===r&&"string"===typeof e&&(r=u(f,s,"".concat(t).concat("default"===e?"":(0,o.Z)(e)),e)),!1===c?r:(0,n.Z)({},c,r)}))};return f.propTypes={},f.filterProps=[t],f}},3232:function(e,t,r){r.d(t,{Z:function(){return R}});var n=r(6886),o=r(6428),i=r(7330);var a=function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:i;return(0,o.Z)(e)}},4290:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(9023);function o(e){var t=e.theme,r=e.name,o=e.props;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,n.Z)(t.components[r].defaultProps,o):o}},4976:function(e,t,r){var n=r(7313),o=r(3346);t.Z=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=n.useContext(o.T);return r&&(e=r,0!==Object.keys(e).length)?r:t}},1271:function(e,t){var r=function(e){return e},n=function(){var e=r;return{configure:function(t){e=t},generate:function(t){return e(t)},reset:function(){e=r}}}();t.Z=n},8831:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(7219);function o(e){if("string"!==typeof e)throw new Error((0,n.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},1921:function(e,t,r){function n(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n={};return Object.keys(e).forEach((function(o){n[o]=e[o].reduce((function(e,n){if(n){var o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e}),[]).join(" ")})),n}r.d(t,{Z:function(){return n}})},3019:function(e,t,r){r.d(t,{P:function(){return o},Z:function(){return a}});var n=r(7462);function o(e){return null!==e&&"object"===typeof e&&e.constructor===Object}function i(e){if(!o(e))return e;var t={};return Object.keys(e).forEach((function(r){t[r]=i(e[r])})),t}function a(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},u=r.clone?(0,n.Z)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((function(n){"__proto__"!==n&&(o(t[n])&&n in e&&o(e[n])?u[n]=a(e[n],t[n],r):r.clone?u[n]=o(t[n])?i(t[n]):t[n]:u[n]=t[n])})),u}},7219:function(e,t,r){function n(e){for(var t="https://mui.com/production-error/?code="+e,r=1;r2&&void 0!==arguments[2]?arguments[2]:"Mui",i=o[t];return i?"".concat(r,"-").concat(i):"".concat(n.Z.generate(e),"-").concat(t)}},7430:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(2298);function o(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",o={};return t.forEach((function(t){o[t]=(0,n.Z)(e,t,r)})),o}},9023:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(7462);function o(e,t){var r=(0,n.Z)({},t);return Object.keys(e).forEach((function(i){if(i.toString().match(/^(components|slots)$/))r[i]=(0,n.Z)({},e[i],r[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){var a=e[i]||{},u=t[i];r[i]={},u&&Object.keys(u)?a&&Object.keys(a)?(r[i]=(0,n.Z)({},u),Object.keys(a).forEach((function(e){r[i][e]=o(a[e],u[e])}))):r[i]=u:r[i]=a}else void 0===r[i]&&(r[i]=e[i])})),r}},4146:function(e,t,r){function n(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},4165:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var o=n(1002);function r(){r=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function p(e,t,n,o){var r=t&&t.prototype instanceof b?t:b,i=Object.create(r.prototype),s=new Z(o||[]);return a(i,"_invoke",{value:C(e,n,s)}),i}function g(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var d="suspendedStart",h="suspendedYield",v="executing",y="completed",m={};function b(){}function k(){}function w(){}var x={};f(x,u,(function(){return this}));var S=Object.getPrototypeOf,L=S&&S(S(I([])));L&&L!==n&&i.call(L,u)&&(x=L);var O=w.prototype=b.prototype=Object.create(x);function N(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function R(e,t){function n(r,a,s,u){var c=g(e[r],e,a);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==(0,o.Z)(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,s,u)}),(function(e){n("throw",e,s,u)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return n("throw",e,s,u)}))}u(c.arg)}var r;a(this,"_invoke",{value:function(e,o){function i(){return new t((function(t,r){n(e,o,t,r)}))}return r=r?r.then(i,i):i()}})}function C(t,n,o){var r=d;return function(i,a){if(r===v)throw new Error("Generator is already running");if(r===y){if("throw"===i)throw a;return{value:e,done:!0}}for(o.method=i,o.arg=a;;){var s=o.delegate;if(s){var u=P(s,o);if(u){if(u===m)continue;return u}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if(r===d)throw r=y,o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);r=v;var c=g(t,n,o);if("normal"===c.type){if(r=o.done?y:h,c.arg===m)continue;return{value:c.arg,done:o.done}}"throw"===c.type&&(r=y,o.method="throw",o.arg=c.arg)}}}function P(t,n){var o=n.method,r=t.iterator[o];if(r===e)return n.delegate=null,"throw"===o&&t.iterator.return&&(n.method="return",n.arg=e,P(t,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+o+"' method")),m;var i=g(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Z(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function I(t){if(t||""===t){var n=t[u];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,a=function n(){for(;++r=0;--r){var a=this.tryEntries[r],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;E(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,o){return this.delegate={iterator:I(t),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=e),m}},t}},3396:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var o=n(5671),r=n(3144),i=[],a=i.forEach,s=i.slice;var u=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,c=function(e,t,n,o){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};n&&(r.expires=new Date,r.expires.setTime(r.expires.getTime()+60*n*1e3)),o&&(r.domain=o),document.cookie=function(e,t,n){var o=n||{};o.path=o.path||"/";var r=encodeURIComponent(t),i="".concat(e,"=").concat(r);if(o.maxAge>0){var a=o.maxAge-0;if(Number.isNaN(a))throw new Error("maxAge should be a Number");i+="; Max-Age=".concat(Math.floor(a))}if(o.domain){if(!u.test(o.domain))throw new TypeError("option domain is invalid");i+="; Domain=".concat(o.domain)}if(o.path){if(!u.test(o.path))throw new TypeError("option path is invalid");i+="; Path=".concat(o.path)}if(o.expires){if("function"!==typeof o.expires.toUTCString)throw new TypeError("option expires is invalid");i+="; Expires=".concat(o.expires.toUTCString())}if(o.httpOnly&&(i+="; HttpOnly"),o.secure&&(i+="; Secure"),o.sameSite)switch("string"===typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return i}(e,encodeURIComponent(t),r)},l=function(e){for(var t="".concat(e,"="),n=document.cookie.split(";"),o=0;o-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));for(var o=n.substring(1).split("&"),r=0;r0)o[r].substring(0,i)===e.lookupQuerystring&&(t=o[r].substring(i+1))}}return t}},g=null,d=function(){if(null!==g)return g;try{g="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(t){g=!1}return g},h={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&d()){var n=window.localStorage.getItem(e.lookupLocalStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&d()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},v=null,y=function(){if(null!==v)return v;try{v="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(t){v=!1}return v},m={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&y()){var n=window.sessionStorage.getItem(e.lookupSessionStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&y()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},b={name:"navigator",lookup:function(e){var t=[];if("undefined"!==typeof navigator){if(navigator.languages)for(var n=0;n0?t:void 0}},k={name:"htmlTag",lookup:function(e){var t,n=e.htmlTag||("undefined"!==typeof document?document.documentElement:null);return n&&"function"===typeof n.getAttribute&&(t=n.getAttribute("lang")),t}},w={name:"path",lookup:function(e){var t;if("undefined"!==typeof window){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if("number"===typeof e.lookupFromPathIndex){if("string"!==typeof n[e.lookupFromPathIndex])return;t=n[e.lookupFromPathIndex].replace("/","")}else t=n[0].replace("/","")}return t}},x={name:"subdomain",lookup:function(e){var t="number"===typeof e.lookupFromSubdomainIndex?e.lookupFromSubdomainIndex+1:1,n="undefined"!==typeof window&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(n)return n[t]}};var S=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.Z)(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return(0,r.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e||{languageUtils:{}},this.options=function(e){return a.call(s.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}(t,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(e){return e}}),"string"===typeof this.options.convertDetectedLanguage&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(e){return e.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(f),this.addDetector(p),this.addDetector(h),this.addDetector(m),this.addDetector(b),this.addDetector(k),this.addDetector(w),this.addDetector(x)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var n=[];return e.forEach((function(e){if(t.detectors[e]){var o=t.detectors[e].lookup(t.options);o&&"string"===typeof o&&(o=[o]),o&&(n=n.concat(o))}})),n=n.map((function(e){return t.options.convertDetectedLanguage(e)})),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var n=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach((function(t){n.detectors[t]&&n.detectors[t].cacheUserLanguage(e,n.options)})))}}]),e}();S.type="languageDetector"},8514:function(e,t,n){"use strict";function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}n.d(t,{Z:function(){return L}});var r=[],i=r.forEach,a=r.slice;function s(e){return i.call(a.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}function u(){return"function"===typeof XMLHttpRequest||"object"===("undefined"===typeof XMLHttpRequest?"undefined":o(XMLHttpRequest))}var c,l,f,p=n.p+"static/media/getFetch.40f37ddea2378391108f.cjs",g=n.t(p);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}"function"===typeof fetch&&(c="undefined"!==typeof global&&global.fetch?global.fetch:"undefined"!==typeof window&&window.fetch?window.fetch:fetch),u()&&("undefined"!==typeof global&&global.XMLHttpRequest?l=global.XMLHttpRequest:"undefined"!==typeof window&&window.XMLHttpRequest&&(l=window.XMLHttpRequest)),"function"===typeof ActiveXObject&&("undefined"!==typeof global&&global.ActiveXObject?f=global.ActiveXObject:"undefined"!==typeof window&&window.ActiveXObject&&(f=window.ActiveXObject)),c||!g||l||f||(c=p||g),"function"!==typeof c&&(c=void 0);var h=function(e,t){if(t&&"object"===d(t)){var n="";for(var o in t)n+="&"+encodeURIComponent(o)+"="+encodeURIComponent(t[o]);if(!n)return e;e=e+(-1!==e.indexOf("?")?"&":"?")+n.slice(1)}return e},v=function(e,t,n){var o=function(e){if(!e.ok)return n(e.statusText||"Error",{status:e.status});e.text().then((function(t){n(null,{status:e.status,data:t})})).catch(n)};"function"===typeof fetch?fetch(e,t).then(o).catch(n):c(e,t).then(o).catch(n)},y=!1,m=function(e,t,n,o){return"function"===typeof n&&(o=n,n=void 0),o=o||function(){},c&&0!==t.indexOf("file:")?function(e,t,n,o){e.queryStringParams&&(t=h(t,e.queryStringParams));var r=s({},"function"===typeof e.customHeaders?e.customHeaders():e.customHeaders);n&&(r["Content-Type"]="application/json");var i="function"===typeof e.requestOptions?e.requestOptions(n):e.requestOptions,a=s({method:n?"POST":"GET",body:n?e.stringify(n):void 0,headers:r},y?{}:i);try{v(t,a,o)}catch(u){if(!i||0===Object.keys(i).length||!u.message||u.message.indexOf("not implemented")<0)return o(u);try{Object.keys(i).forEach((function(e){delete a[e]})),v(t,a,o),y=!0}catch(c){o(c)}}}(e,t,n,o):u()||"function"===typeof ActiveXObject?function(e,t,n,o){n&&"object"===d(n)&&(n=h("",n).slice(1)),e.queryStringParams&&(t=h(t,e.queryStringParams));try{var r;(r=l?new l:new f("MSXML2.XMLHTTP.3.0")).open(n?"POST":"GET",t,1),e.crossDomain||r.setRequestHeader("X-Requested-With","XMLHttpRequest"),r.withCredentials=!!e.withCredentials,n&&r.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),r.overrideMimeType&&r.overrideMimeType("application/json");var i=e.customHeaders;if(i="function"===typeof i?i():i)for(var a in i)r.setRequestHeader(a,i[a]);r.onreadystatechange=function(){r.readyState>3&&o(r.status>=400?r.statusText:null,{status:r.status,data:r.responseText})},r.send(n)}catch(s){console&&console.log(s)}}(e,t,n,o):void o(new Error("No fetch and no xhr implementation found!"))};function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function k(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.services=t,this.options=n,this.allOptions=o,this.type="backend",this.init(t,n,o)}var t,n,o;return t=e,n=[{key:"init",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=s(n,this.options||{},x()),this.allOptions=o,this.services&&this.options.reloadInterval&&setInterval((function(){return t.reload()}),this.options.reloadInterval)}},{key:"readMulti",value:function(e,t,n){this._readAny(e,e,t,t,n)}},{key:"read",value:function(e,t,n){this._readAny([e],e,[t],t,n)}},{key:"_readAny",value:function(e,t,n,o,r){var i,a=this,s=this.options.loadPath;"function"===typeof this.options.loadPath&&(s=this.options.loadPath(e,n)),(s=function(e){return!!e&&"function"===typeof e.then}(i=s)?i:Promise.resolve(i)).then((function(i){if(!i)return r(null,{});var s=a.services.interpolator.interpolate(i,{lng:e.join("+"),ns:n.join("+")});a.loadUrl(s,r,t,o)}))}},{key:"loadUrl",value:function(e,t,n,o){var r=this,i="string"===typeof n?[n]:n,a="string"===typeof o?[o]:o,s=this.options.parseLoadPayload(i,a);this.options.request(this.options,e,s,(function(i,a){if(a&&(a.status>=500&&a.status<600||!a.status))return t("failed loading "+e+"; status code: "+a.status,!0);if(a&&a.status>=400&&a.status<500)return t("failed loading "+e+"; status code: "+a.status,!1);if(!a&&i&&i.message&&i.message.indexOf("Failed to fetch")>-1)return t("failed loading "+e+": "+i.message,!0);if(i)return t(i,!1);var s,u;try{s="string"===typeof a.data?r.options.parse(a.data,n,o):a.data}catch(c){u="failed parsing "+e+" to json"}if(u)return t(u,!1);t(null,s)}))}},{key:"create",value:function(e,t,n,o,r){var i=this;if(this.options.addPath){"string"===typeof e&&(e=[e]);var a=this.options.parsePayload(t,n,o),s=0,u=[],c=[];e.forEach((function(n){var o=i.options.addPath;"function"===typeof i.options.addPath&&(o=i.options.addPath(n,t));var l=i.services.interpolator.interpolate(o,{lng:n,ns:t});i.options.request(i.options,l,a,(function(t,n){s+=1,u.push(t),c.push(n),s===e.length&&"function"===typeof r&&r(u,c)}))}))}}},{key:"reload",value:function(){var e=this,t=this.services,n=t.backendConnector,o=t.languageUtils,r=t.logger,i=n.language;if(!i||"cimode"!==i.toLowerCase()){var a=[],s=function(e){o.toResolveHierarchy(e).forEach((function(e){a.indexOf(e)<0&&a.push(e)}))};s(i),this.allOptions.preload&&this.allOptions.preload.forEach((function(e){return s(e)})),a.forEach((function(t){e.allOptions.ns.forEach((function(e){n.read(t,e,"read",null,null,(function(o,i){o&&r.warn("loading namespace ".concat(e," for language ").concat(t," failed"),o),!o&&i&&r.log("loaded namespace ".concat(e," for language ").concat(t),i),n.loaded("".concat(t,"|").concat(e),o,i)}))}))}))}}}],n&&k(t.prototype,n),o&&k(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();S.type="backend";var L=S},3885:function(e,t,n){"use strict";n.d(t,{ZP:function(){return X}});var o=n(2963),r=n(4506),i=n(7326),a=n(136),s=n(9388),u=n(1413),c=n(5671),l=n(3144),f={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},p=function(){function e(t){(0,c.Z)(this,e);var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(t,n)}return(0,l.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||f,this.options=t,this.debug=t.debug}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),o=1;o-1?e.replace(/###/g,"."):e}function r(){return!e||"string"===typeof e}for(var i="string"!==typeof t?[].concat(t):t.split(".");i.length>1;){if(r())return{};var a=o(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return r()?{}:{obj:e,k:o(i.shift())}}function m(e,t,n){var o=y(e,t,Object);o.obj[o.k]=n}function b(e,t){var n=y(e,t),o=n.obj,r=n.k;if(o)return o[r]}function k(e,t,n){for(var o in t)"__proto__"!==o&&"constructor"!==o&&(o in e?"string"===typeof e[o]||e[o]instanceof String||"string"===typeof t[o]||t[o]instanceof String?n&&(e[o]=t[o]):k(e[o],t[o],n):e[o]=t[o]);return e}function w(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var x={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function S(e){return"string"===typeof e?e.replace(/[&<>"'\/]/g,(function(e){return x[e]})):e}var L=[" ",",","?","!",";"];function O(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var o=t.split(n),r=e,i=0;ii+a;)a++,u=r[s=o.slice(i,i+a).join(n)];if(void 0===u)return;if(null===u)return null;if(t.endsWith(s)){if("string"===typeof u)return u;if(s&&"string"===typeof u[s])return u[s]}var c=o.slice(i+a).join(n);return c?O(u,c,n):void 0}r=r[o[i]]}return r}}function N(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}var R=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e){var o;(0,c.Z)(this,n);var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return(o=t.call(this)).data=e||{},o.options=r,void 0===o.options.keySeparator&&(o.options.keySeparator="."),void 0===o.options.ignoreJSONStructure&&(o.options.ignoreJSONStructure=!0),o}return(0,l.Z)(n,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,i=void 0!==o.ignoreJSONStructure?o.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!==typeof n&&(a=a.concat(n)),n&&"string"===typeof n&&(a=a.concat(r?n.split(r):n)),e.indexOf(".")>-1&&(a=e.split("."));var s=b(this.data,a);return s||!i||"string"!==typeof n?s:O(this.data&&this.data[e]&&this.data[e][t],n,r)}},{key:"addResource",value:function(e,t,n,o){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(o=t,t=(a=e.split("."))[1]),this.addNamespaces(t),m(this.data,a,o),r.silent||this.emit("added",e,t,n,o)}},{key:"addResources",value:function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var r in n)"string"!==typeof n[r]&&"[object Array]"!==Object.prototype.toString.apply(n[r])||this.addResource(e,t,r,n[r],{silent:!0});o.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(o=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var s=b(this.data,a)||{};o?k(s,n,r):s=(0,u.Z)((0,u.Z)({},s),n),m(this.data,a,s),i.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?(0,u.Z)((0,u.Z)({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),n}(d),C={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,o,r){var i=this;return e.forEach((function(e){i.processors[e]&&(t=i.processors[e].process(t,n,o,r))})),t}},P={},j=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e){var o;(0,c.Z)(this,n);var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o=t.call(this),function(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,(0,i.Z)(o)),o.options=r,void 0===o.options.keySeparator&&(o.options.keySeparator="."),o.logger=g.create("translator"),o}return(0,l.Z)(n,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(void 0===e||null===e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var o=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,r=t.ns||this.options.defaultNS||[],i=n&&e.indexOf(n)>-1,a=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!function(e,t,n){t=t||"",n=n||"";var o=L.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===o.length)return!0;var r=new RegExp("(".concat(o.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),i=!r.test(e);if(!i){var a=e.indexOf(n);a>0&&!r.test(e.substring(0,a))&&(i=!0)}return i}(e,n,o);if(i&&!a){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:r};var u=e.split(n);(n!==o||n===o&&this.options.ns.indexOf(u[0])>-1)&&(r=u.shift()),e=u.join(o)}return"string"===typeof r&&(r=[r]),{key:e,namespaces:r}}},{key:"translate",value:function(e,t,o){var r=this;if("object"!==typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"===typeof t&&(t=(0,u.Z)({},t)),t||(t={}),void 0===e||null===e)return"";Array.isArray(e)||(e=[String(e)]);var i=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,a=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,s=this.extractFromKey(e[e.length-1],t),c=s.key,l=s.namespaces,f=l[l.length-1],p=t.lng||this.language,g=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(p&&"cimode"===p.toLowerCase()){if(g){var d=t.nsSeparator||this.options.nsSeparator;return i?{res:"".concat(f).concat(d).concat(c),usedKey:c,exactUsedKey:c,usedLng:p,usedNS:f}:"".concat(f).concat(d).concat(c)}return i?{res:c,usedKey:c,exactUsedKey:c,usedLng:p,usedNS:f}:c}var h=this.resolve(e,t),v=h&&h.res,y=h&&h.usedKey||c,m=h&&h.exactUsedKey||c,b=Object.prototype.toString.apply(v),k=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject;if(w&&v&&("string"!==typeof v&&"boolean"!==typeof v&&"number"!==typeof v)&&["[object Number]","[object Function]","[object RegExp]"].indexOf(b)<0&&("string"!==typeof k||"[object Array]"!==b)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var x=this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,v,(0,u.Z)((0,u.Z)({},t),{},{ns:l})):"key '".concat(c," (").concat(this.language,")' returned an object instead of string.");return i?(h.res=x,h):x}if(a){var S="[object Array]"===b,L=S?[]:{},O=S?m:y;for(var N in v)if(Object.prototype.hasOwnProperty.call(v,N)){var R="".concat(O).concat(a).concat(N);L[N]=this.translate(R,(0,u.Z)((0,u.Z)({},t),{joinArrays:!1,ns:l})),L[N]===R&&(L[N]=v[N])}v=L}}else if(w&&"string"===typeof k&&"[object Array]"===b)(v=v.join(k))&&(v=this.extendTranslation(v,e,t,o));else{var C=!1,P=!1,j=void 0!==t.count&&"string"!==typeof t.count,E=n.hasDefaultValue(t),Z=j?this.pluralResolver.getSuffix(p,t.count,t):"",I=t.ordinal&&j?this.pluralResolver.getSuffix(p,t.count,{ordinal:!1}):"",T=t["defaultValue".concat(Z)]||t["defaultValue".concat(I)]||t.defaultValue;!this.isValidLookup(v)&&E&&(C=!0,v=T),this.isValidLookup(v)||(P=!0,v=c);var F=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&P?void 0:v,A=E&&T!==v&&this.options.updateMissing;if(P||C||A){if(this.logger.log(A?"updateKey":"missingKey",p,f,c,A?T:v),a){var D=this.resolve(c,(0,u.Z)((0,u.Z)({},t),{},{keySeparator:!1}));D&&D.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var U=[],V=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&V&&V[0])for(var H=0;H1&&void 0!==arguments[1]?arguments[1]:{};return"string"===typeof e&&(e=[e]),e.forEach((function(e){if(!a.isValidLookup(t)){var u=a.extractFromKey(e,s),c=u.key;n=c;var l=u.namespaces;a.options.fallbackNS&&(l=l.concat(a.options.fallbackNS));var f=void 0!==s.count&&"string"!==typeof s.count,p=f&&!s.ordinal&&0===s.count&&a.pluralResolver.shouldUseIntlApi(),g=void 0!==s.context&&("string"===typeof s.context||"number"===typeof s.context)&&""!==s.context,d=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);l.forEach((function(e){a.isValidLookup(t)||(i=e,!P["".concat(d[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(P["".concat(d[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(d.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),d.forEach((function(n){if(!a.isValidLookup(t)){r=n;var i,u=[c];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(u,c,n,e,s);else{var l;f&&(l=a.pluralResolver.getSuffix(n,s.count,s));var d="".concat(a.options.pluralSeparator,"zero"),h="".concat(a.options.pluralSeparator,"ordinal").concat(a.options.pluralSeparator);if(f&&(u.push(c+l),s.ordinal&&0===l.indexOf(h)&&u.push(c+l.replace(h,a.options.pluralSeparator)),p&&u.push(c+d)),g){var v="".concat(c).concat(a.options.contextSeparator).concat(s.context);u.push(v),f&&(u.push(v+l),s.ordinal&&0===l.indexOf(h)&&u.push(v+l.replace(h,a.options.pluralSeparator)),p&&u.push(v+d))}}for(;i=u.pop();)a.isValidLookup(t)||(o=i,t=a.getResource(n,e,i,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:o,usedLng:r,usedNS:i}}},{key:"isValidLookup",value:function(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,o):this.resourceStore.getResource(e,t,n,o)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,12)&&void 0!==e[n])return!0;return!1}}]),n}(d);function E(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Z=function(){function e(t){(0,c.Z)(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=g.create("languageUtils")}return(0,l.Z)(e,[{key:"getScriptPartFromCode",value:function(e){if(!(e=N(e))||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!(e=N(e))||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"===typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=E(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=E(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=E(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var o=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(o)||(t=o)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var o=n.getLanguagePartFromCode(e);if(n.isSupportedCode(o))return t=o;t=n.options.supportedLngs.find((function(e){return e===o?e:e.indexOf("-")<0&&o.indexOf("-")<0?void 0:0===e.indexOf(o)?e:void 0}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"===typeof e&&(e=e(t)),"string"===typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,o=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],i=function(e){e&&(n.isSupportedCode(e)?r.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"===typeof e&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"===typeof e&&i(this.formatLanguageCode(e)),o.forEach((function(e){r.indexOf(e)<0&&i(n.formatLanguageCode(e))})),r}}]),e}(),I=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],T={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},F=["v1","v2","v3"],A=["v4"],D={zero:0,one:1,two:2,few:3,many:4,other:5};var U=function(){function e(t){(0,c.Z)(this,e);var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=g.create("pluralResolver"),this.options.compatibilityJSON&&!A.includes(this.options.compatibilityJSON)||"undefined"!==typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function(){var e={};return I.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:T[t.fc]}}))})),e}()}return(0,l.Z)(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(N(e),{type:t.ordinal?"ordinal":"cardinal"})}catch(n){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=this.getRule(e,n);return o?this.shouldUseIntlApi()?o.resolvedOptions().pluralCategories.sort((function(e,t){return D[e]-D[t]})).map((function(e){return"".concat(t.options.prepend).concat(n.ordinal?"ordinal".concat(t.options.prepend):"").concat(e)})):o.numbers.map((function(o){return t.getSuffix(e,o,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=this.getRule(e,n);return o?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(n.ordinal?"ordinal".concat(this.options.prepend):"").concat(o.select(t)):this.getSuffixRetroCompatible(o,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,o=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),r=e.numbers[o];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===r?r="plural":1===r&&(r=""));var i=function(){return n.options.prepend&&r.toString()?n.options.prepend+r.toString():r.toString()};return"v1"===this.options.compatibilityJSON?1===r?"":"number"===typeof r?"_plural_".concat(r.toString()):i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}},{key:"shouldUseIntlApi",value:function(){return!F.includes(this.options.compatibilityJSON)}}]),e}();function V(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=function(e,t,n){var o=b(e,n);return void 0!==o?o:b(t,n)}(e,t,n);return!i&&r&&"string"===typeof n&&void 0===(i=O(e,n,o))&&(i=O(t,n,o)),i}var H=function(){function e(){(0,c.Z)(this,e);var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=g.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return(0,l.Z)(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:S,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?w(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?w(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?w(t.nestingPrefix):t.nestingPrefixEscaped||w("$t("),this.nestingSuffix=t.nestingSuffix?w(t.nestingSuffix):t.nestingSuffixEscaped||w(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,o){var r,i,a,s=this,c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function l(e){return e.replace(/\$/g,"$$$$")}var f=function(e){if(e.indexOf(s.formatSeparator)<0){var r=V(t,c,e,s.options.keySeparator,s.options.ignoreJSONStructure);return s.alwaysFormat?s.format(r,void 0,n,(0,u.Z)((0,u.Z)((0,u.Z)({},o),t),{},{interpolationkey:e})):r}var i=e.split(s.formatSeparator),a=i.shift().trim(),l=i.join(s.formatSeparator).trim();return s.format(V(t,c,a,s.options.keySeparator,s.options.ignoreJSONStructure),l,n,(0,u.Z)((0,u.Z)((0,u.Z)({},o),t),{},{interpolationkey:a}))};this.resetRegExp();var p=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,g=o&&o.interpolation&&void 0!==o.interpolation.skipOnVariables?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return l(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?l(s.escape(e)):l(e)}}].forEach((function(t){for(a=0;r=t.regex.exec(e);){var n=r[1].trim();if(void 0===(i=f(n)))if("function"===typeof p){var u=p(e,r,o);i="string"===typeof u?u:""}else if(o&&Object.prototype.hasOwnProperty.call(o,n))i="";else{if(g){i=r[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),i=""}else"string"===typeof i||s.useRawValueToEscape||(i=v(i));var c=t.safeValue(i);if(e=e.replace(r[0],c),g?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=r[0].length):t.regex.lastIndex=0,++a>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,o,r,i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var o=e.split(new RegExp("".concat(n,"[ ]*{"))),i="{".concat(o[1]);e=o[0];var a=(i=this.interpolate(i,r)).match(/'/g),s=i.match(/"/g);(a&&a.length%2===0&&!s||s.length%2!==0)&&(i=i.replace(/'/g,'"'));try{r=JSON.parse(i),t&&(r=(0,u.Z)((0,u.Z)({},t),r))}catch(c){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),c),"".concat(e).concat(n).concat(i)}return delete r.defaultValue,e}for(;n=this.nestingRegexp.exec(e);){var c=[];(r=(r=(0,u.Z)({},a)).replace&&"string"!==typeof r.replace?r.replace:r).applyPostProcessor=!1,delete r.defaultValue;var l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var f=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=f.shift(),c=f,l=!0}if((o=t(s.call(this,n[1].trim(),r),r))&&n[0]===e&&"string"!==typeof o)return o;"string"!==typeof o&&(o=v(o)),o||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),o=""),l&&(o=c.reduce((function(e,t){return i.format(e,t,a.lng,(0,u.Z)((0,u.Z)({},a),{},{interpolationkey:n[1].trim()}))}),o.trim())),e=e.replace(n[0],o),this.regexp.lastIndex=0}return e}}]),e}();function M(e){var t={};return function(n,o,r){var i=o+JSON.stringify(r),a=t[i];return a||(a=e(N(o),r),t[i]=a),a(n)}}var q=function(){function e(){(0,c.Z)(this,e);var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=g.create("formatter"),this.options=t,this.formats={number:M((function(e,t){var n=new Intl.NumberFormat(e,(0,u.Z)({},t));return function(e){return n.format(e)}})),currency:M((function(e,t){var n=new Intl.NumberFormat(e,(0,u.Z)((0,u.Z)({},t),{},{style:"currency"}));return function(e){return n.format(e)}})),datetime:M((function(e,t){var n=new Intl.DateTimeFormat(e,(0,u.Z)({},t));return function(e){return n.format(e)}})),relativetime:M((function(e,t){var n=new Intl.RelativeTimeFormat(e,(0,u.Z)({},t));return function(e){return n.format(e,t.range||"day")}})),list:M((function(e,t){var n=new Intl.ListFormat(e,(0,u.Z)({},t));return function(e){return n.format(e)}}))},this.init(t)}return(0,l.Z)(e,[{key:"init",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"addCached",value:function(e,t){this.formats[e.toLowerCase().trim()]=M(t)}},{key:"format",value:function(e,t,n){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t.split(this.formatSeparator).reduce((function(e,t){var a=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var o=e.split("(");t=o[0].toLowerCase().trim();var i=o[1].substring(0,o[1].length-1);"currency"===t&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):"relativetime"===t&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach((function(e){if(e){var t=e.split(":"),o=(0,r.Z)(t),i=o[0],a=o.slice(1).join(":").trim().replace(/^'+|'+$/g,"");n[i.trim()]||(n[i.trim()]=a),"false"===a&&(n[i.trim()]=!1),"true"===a&&(n[i.trim()]=!0),isNaN(a)||(n[i.trim()]=parseInt(a,10))}}))}return{formatName:t,formatOptions:n}}(t),s=a.formatName,c=a.formatOptions;if(o.formats[s]){var l=e;try{var f=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},p=f.locale||f.lng||i.locale||i.lng||n;l=o.formats[s](e,p,(0,u.Z)((0,u.Z)((0,u.Z)({},c),i),f))}catch(g){o.logger.warn(g)}return l}return o.logger.warn("there was no format function for ".concat(s)),e}),e)}}]),e}();var K=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e,o,r){var i;(0,c.Z)(this,n);var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(i=t.call(this)).backend=e,i.store=o,i.services=r,i.languageUtils=r.languageUtils,i.options=a,i.logger=g.create("backendConnector"),i.waitingReads=[],i.maxParallelReads=a.maxParallelReads||10,i.readingCalls=0,i.maxRetries=a.maxRetries>=0?a.maxRetries:5,i.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(r,a.backend,a),i}return(0,l.Z)(n,[{key:"queueLoad",value:function(e,t,n,o){var r=this,i={},a={},s={},u={};return e.forEach((function(e){var o=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&r.store.hasResourceBundle(e,t)?r.state[s]=2:r.state[s]<0||(1===r.state[s]?void 0===a[s]&&(a[s]=!0):(r.state[s]=1,o=!1,void 0===a[s]&&(a[s]=!0),void 0===i[s]&&(i[s]=!0),void 0===u[t]&&(u[t]=!0)))})),o||(s[e]=!0)})),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(u)}}},{key:"loaded",value:function(e,t,n){var o=e.split("|"),r=o[0],i=o[1];t&&this.emit("failedLoading",r,i,t),n&&this.store.addResourceBundle(r,i,n),this.state[e]=t?-1:2;var a={};this.queue.forEach((function(n){!function(e,t,n,o){var r=y(e,t,Object),i=r.obj,a=r.k;i[a]=i[a]||[],o&&(i[a]=i[a].concat(n)),o||i[a].push(n)}(n.loaded,[r],i),function(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((function(e){a[e]||(a[e]={});var t=n.loaded[e];t.length&&t.forEach((function(t){void 0===a[e][t]&&(a[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var o=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads)this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});else{this.readingCalls++;var s=function(s,u){if(o.readingCalls--,o.waitingReads.length>0){var c=o.waitingReads.shift();o.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}s&&u&&r2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();"string"===typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"===typeof t&&(t=[t]);var i=this.queueLoad(e,t,o,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e.split("|"),r=o[0],i=o[1];this.read(r,i,"read",void 0,void 0,(function(o,a){o&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(r," failed"),o),!o&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(r),a),t.loaded(e,o,a)}))}},{key:"saveMissing",value:function(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(void 0!==n&&null!==n&&""!==n){if(this.backend&&this.backend.create){var s=(0,u.Z)((0,u.Z)({},i),{},{isUpdate:r}),c=this.backend.create.bind(this.backend);if(c.length<6)try{var l;(l=5===c.length?c(e,t,n,o,s):c(e,t,n,o))&&"function"===typeof l.then?l.then((function(e){return a(null,e)})).catch(a):a(null,l)}catch(f){a(f)}else c(e,t,n,o,a,s)}e&&e[0]&&this.store.addResource(e[0],t,n,o)}}}]),n}(d);function _(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===typeof e[1]&&(t=e[1]),"string"===typeof e[1]&&(t.defaultValue=e[1]),"string"===typeof e[2]&&(t.tDescription=e[2]),"object"===typeof e[2]||"object"===typeof e[3]){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,o){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function z(e){return"string"===typeof e.ns&&(e.ns=[e.ns]),"string"===typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"===typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function B(){}var J=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(){var e;(0,c.Z)(this,n);var r,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;if((e=t.call(this)).options=z(a),e.services={},e.logger=g,e.modules={external:[]},r=(0,i.Z)(e),Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach((function(e){"function"===typeof r[e]&&(r[e]=r[e].bind(r))})),s&&!e.isInitialized&&!a.isClone){if(!e.options.initImmediate)return e.init(a,s),(0,o.Z)(e,(0,i.Z)(e));setTimeout((function(){e.init(a,s)}),0)}return e}return(0,l.Z)(n,[{key:"init",value:function(){var e=this,t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;"function"===typeof n&&(o=n,n={}),!n.defaultNS&&!1!==n.defaultNS&&n.ns&&("string"===typeof n.ns?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));var r=_();function i(e){return e?"function"===typeof e?new e:e:null}if(this.options=(0,u.Z)((0,u.Z)((0,u.Z)({},r),this.options),z(n)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=(0,u.Z)((0,u.Z)({},r.interpolation),this.options.interpolation)),void 0!==n.keySeparator&&(this.options.userDefinedKeySeparator=n.keySeparator),void 0!==n.nsSeparator&&(this.options.userDefinedNsSeparator=n.nsSeparator),!this.options.isClone){var a;this.modules.logger?g.init(i(this.modules.logger),this.options):g.init(null,this.options),this.modules.formatter?a=this.modules.formatter:"undefined"!==typeof Intl&&(a=q);var s=new Z(this.options);this.store=new R(this.options.resources,this.options);var c=this.services;c.logger=g,c.resourceStore=this.store,c.languageUtils=s,c.pluralResolver=new U(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!a||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(c.formatter=i(a),c.formatter.init(c,this.options),this.options.interpolation.format=c.formatter.format.bind(c.formatter)),c.interpolator=new H(this.options),c.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},c.backendConnector=new K(i(this.modules.backend),c.resourceStore,c,this.options),c.backendConnector.on("*",(function(e){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r1?n-1:0),r=1;r0&&"dev"!==l[0]&&(this.options.lng=l[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((function(n){e[n]=function(){var e;return(e=t.store)[n].apply(e,arguments)}}));["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((function(n){e[n]=function(){var e;return(e=t.store)[n].apply(e,arguments),t}}));var f=h(),p=function(){var t=function(t,n){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),f.resolve(n),o(t,n)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?p():setTimeout(p,0),f}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:B,o="string"===typeof e?e:this.language;if("function"===typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(o&&"cimode"===o.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return n();var r=[],i=function(e){e&&("cimode"!==e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){"cimode"!==e&&r.indexOf(e)<0&&r.push(e)})))};if(o)i(o);else this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(e){return i(e)}));this.options.preload&&this.options.preload.forEach((function(e){return i(e)})),this.services.backendConnector.load(r,this.options.ns,(function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),n(e)}))}else n(null)}},{key:"reloadResources",value:function(e,t,n){var o=h();return e||(e=this.languages),t||(t=this.options.ns),n||(n=B),this.services.backendConnector.reload(e,t,(function(e){o.resolve(),n(e)})),o}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&C.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this,o=this;this.isLanguageChangingTo=e;var r=h();this.emit("languageChanging",e);var i=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},a=function(a){e||a||!n.services.languageDetector||(a=[]);var s="string"===typeof a?a:n.services.languageUtils.getBestMatchFromCodes(a);s&&(n.language||i(s),n.translator.language||n.translator.changeLanguage(s),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage&&n.services.languageDetector.cacheUserLanguage(s)),n.loadResources(s,(function(e){!function(e,a){a?(i(a),n.translator.changeLanguage(a),n.isLanguageChangingTo=void 0,n.emit("languageChanged",a),n.logger.log("languageChanged",a)):n.isLanguageChangingTo=void 0,r.resolve((function(){return o.t.apply(o,arguments)})),t&&t(e,(function(){return o.t.apply(o,arguments)}))}(e,s)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var o=this,r=function e(t,r){var i;if("object"!==typeof r){for(var a=arguments.length,s=new Array(a>2?a-2:0),c=2;c1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var o=n.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===o.toLowerCase())return!0;var a=function(e,n){var o=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===o||2===o};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return!!this.hasResourceBundle(o,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!a(o,e)||r&&!a(i,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,o=h();return this.options.ns?("string"===typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){o.resolve(),t&&t(e)})),o):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=h();"string"===typeof e&&(e=[e]);var o=this.options.preload||[],r=e.filter((function(e){return o.indexOf(e)<0}));return r.length?(this.options.preload=o.concat(r),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";var t=this.services&&this.services.languageUtils||new Z(_());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:B,r=t.forkResourceStore;r&&delete t.forkResourceStore;var i=(0,u.Z)((0,u.Z)((0,u.Z)({},this.options),t),{isClone:!0}),a=new n(i);void 0===t.debug&&void 0===t.prefix||(a.logger=a.logger.clone(t));return["store","services","language"].forEach((function(t){a[t]=e[t]})),a.services=(0,u.Z)({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r&&(a.store=new R(this.store.data,i),a.services.resourceStore=a.store),a.translator=new j(a.services,i),a.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}}]),n}(d),X=J.createInstance();X.createInstance=J.createInstance;X.createInstance,X.dir,X.init,X.loadResources,X.reloadResources,X.use,X.changeLanguage,X.getFixedT,X.t,X.exists,X.setDefaultNamespace,X.hasLoadedNamespace,X.loadNamespaces,X.loadLanguages},5590:function(e,t,n){"use strict";n.d(t,{Db:function(){return m},Zh:function(){return N}});var o=n(7313);n(6637);Object.create(null);function r(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),o=0;o",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"\xa9","©":"\xa9","®":"\xae","®":"\xae","…":"\u2026","…":"\u2026","/":"/","/":"/"},g=function(e){return p[e]},d={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:function(e){return e.replace(f,g)}};var h,v=n(5671),y=n(3144);var m={type:"3rdParty",init:function(e){!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};d=(0,l.Z)((0,l.Z)({},d),e)}(e.options.react),function(e){h=e}(e)}},b=(0,o.createContext)(),k=function(){function e(){(0,v.Z)(this,e),this.usedNamespaces={}}return(0,y.Z)(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();var w=n(9439),x=function(e,t){var n=(0,o.useRef)();return(0,o.useEffect)((function(){n.current=t?n.current:e}),[e,t]),n.current};function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.i18n,r=(0,o.useContext)(b)||{},i=r.i18n,s=r.defaultNS,f=n||i||h;if(f&&!f.reportNamespaces&&(f.reportNamespaces=new k),!f){a("You will need to pass in an i18next instance by using initReactI18next");var p=function(e,t){return"string"===typeof t?t:t&&"object"===typeof t&&"string"===typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e},g=[p,{},!1];return g.t=p,g.i18n={},g.ready=!1,g}f.options.react&&void 0!==f.options.react.wait&&a("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var v=(0,l.Z)((0,l.Z)((0,l.Z)({},d),f.options.react),t),y=v.useSuspense,m=v.keyPrefix,S=e||s||f.options&&f.options.defaultNS;S="string"===typeof S?[S]:S||["translation"],f.reportNamespaces.addUsedNamespaces&&f.reportNamespaces.addUsedNamespaces(S);var L=(f.isInitialized||f.initializedStoreOnce)&&S.every((function(e){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{lng:n.lng,precheck:function(t,o){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!o(t.isLanguageChangingTo,e))return!1}}):function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.languages[0],r=!!t.options&&t.options.fallbackLng,i=t.languages[t.languages.length-1];if("cimode"===o.toLowerCase())return!0;var a=function(e,n){var o=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===o||2===o};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e))&&(!!t.hasResourceBundle(o,e)||!(t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages))||!(!a(o,e)||r&&!a(i,e)))}(e,t,n):(a("i18n.languages were undefined or empty",t.languages),!0)}(e,f,v)}));function O(){return f.getFixedT(t.lng||null,"fallback"===v.nsMode?S:S[0],m)}var N=(0,o.useState)(O),R=(0,w.Z)(N,2),C=R[0],P=R[1],j=S.join();t.lng&&(j="".concat(t.lng).concat(j));var E=x(j),Z=(0,o.useRef)(!0);(0,o.useEffect)((function(){var e=v.bindI18n,n=v.bindI18nStore;function o(){Z.current&&P(O)}return Z.current=!0,L||y||(t.lng?c(f,t.lng,S,(function(){Z.current&&P(O)})):u(f,S,(function(){Z.current&&P(O)}))),L&&E&&E!==j&&Z.current&&P(O),e&&f&&f.on(e,o),n&&f&&f.store.on(n,o),function(){Z.current=!1,e&&f&&e.split(" ").forEach((function(e){return f.off(e,o)})),n&&f&&n.split(" ").forEach((function(e){return f.store.off(e,o)}))}}),[f,j]);var I=(0,o.useRef)(!0);(0,o.useEffect)((function(){Z.current&&!I.current&&P(O),I.current=!1}),[f,m]);var T=[C,f,L];if(T.t=C,T.i18n=f,T.ready=L,L)return T;if(!L&&!y)return T;throw new Promise((function(e){t.lng?c(f,t.lng,S,(function(){return e()})):u(f,S,(function(){return e()}))}))}var L=n(5987),O=["forwardedRef"];function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){function r(r){var i=r.forwardedRef,a=(0,L.Z)(r,O),s=S(e,(0,l.Z)((0,l.Z)({},a),{},{keyPrefix:t.keyPrefix})),u=(0,w.Z)(s,3),c=u[0],f=u[1],p=u[2],g=(0,l.Z)((0,l.Z)({},a),{},{t:c,i18n:f,tReady:p});return t.withRef&&i?g.ref=i:!t.withRef&&i&&(g.forwardedRef=i),(0,o.createElement)(n,g)}var i;r.displayName="withI18nextTranslation(".concat((i=n).displayName||i.name||("string"===typeof i&&i.length>0?i:"Unknown"),")"),r.WrappedComponent=n;return t.withRef?(0,o.forwardRef)((function(e,t){return(0,o.createElement)(r,Object.assign({},e,{forwardedRef:t}))})):r}}}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/377.f0e1c66a.chunk.js.LICENSE.txt b/frontend/dist/static/js/377.f0e1c66a.chunk.js.LICENSE.txt deleted file mode 100644 index ae386fb7..00000000 --- a/frontend/dist/static/js/377.f0e1c66a.chunk.js.LICENSE.txt +++ /dev/null @@ -1 +0,0 @@ -/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ diff --git a/frontend/dist/static/js/39.19e82dc5.chunk.js b/frontend/dist/static/js/39.19e82dc5.chunk.js new file mode 100644 index 00000000..93ae2e6f --- /dev/null +++ b/frontend/dist/static/js/39.19e82dc5.chunk.js @@ -0,0 +1 @@ +(self.webpackChunksrc=self.webpackChunksrc||[]).push([[39],{5333:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var o=n(8587),a=n(8168),r=n(9950),i=n(2004),s=n(4061),l=n(9269),c=n(9254),u=n(9859),d=n(5511),m=n(1676),p=n(3244),h=n(8483);function f(e){return(0,h.Ay)("MuiIconButton",e)}const v=(0,p.A)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);var g=n(4414);const b=["edge","children","className","color","disabled","disableFocusRipple","size"],y=(0,c.Ay)(d.A,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t["color".concat((0,m.A)(n.color))],n.edge&&t["edge".concat((0,m.A)(n.edge))],t["size".concat((0,m.A)(n.size))]]}})((e=>{let{theme:t,ownerState:n}=e;return(0,a.A)({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,l.X4)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===n.edge&&{marginLeft:"small"===n.size?-3:-12},"end"===n.edge&&{marginRight:"small"===n.size?-3:-12})}),(e=>{let{theme:t,ownerState:n}=e;var o;const r=null==(o=(t.vars||t).palette)?void 0:o[n.color];return(0,a.A)({},"inherit"===n.color&&{color:"inherit"},"inherit"!==n.color&&"default"!==n.color&&(0,a.A)({color:null==r?void 0:r.main},!n.disableRipple&&{"&:hover":(0,a.A)({},r&&{backgroundColor:t.vars?"rgba(".concat(r.mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,l.X4)(r.main,t.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===n.size&&{padding:5,fontSize:t.typography.pxToRem(18)},"large"===n.size&&{padding:12,fontSize:t.typography.pxToRem(28)},{["&.".concat(v.disabled)]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}})})),w=r.forwardRef((function(e,t){const n=(0,u.A)({props:e,name:"MuiIconButton"}),{edge:r=!1,children:l,className:c,color:d="default",disabled:p=!1,disableFocusRipple:h=!1,size:v="medium"}=n,w=(0,o.A)(n,b),A=(0,a.A)({},n,{edge:r,color:d,disabled:p,disableFocusRipple:h,size:v}),x=(e=>{const{classes:t,disabled:n,color:o,edge:a,size:r}=e,i={root:["root",n&&"disabled","default"!==o&&"color".concat((0,m.A)(o)),a&&"edge".concat((0,m.A)(a)),"size".concat((0,m.A)(r))]};return(0,s.A)(i,f,t)})(A);return(0,g.jsx)(y,(0,a.A)({className:(0,i.A)(x.root,c),centerRipple:!0,focusRipple:!h,disabled:p,ref:t},w,{ownerState:A,children:l}))}))},5869:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var o=n(8168),a=n(8587),r=n(9950);const i=r.createContext(null);function s(){return r.useContext(i)}const l="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var c=n(4414);const u=function(e){const{children:t,theme:n}=e,a=s(),u=r.useMemo((()=>{const e=null===a?n:function(e,t){if("function"===typeof t)return t(e);return(0,o.A)({},e,t)}(a,n);return null!=e&&(e[l]=null!==a),e}),[n,a]);return(0,c.jsx)(i.Provider,{value:u,children:t})};var d=n(4658),m=n(357);const p={};function h(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return r.useMemo((()=>{const r=e&&t[e]||t;if("function"===typeof n){const i=n(r),s=e?(0,o.A)({},t,{[e]:i}):i;return a?()=>s:s}return e?(0,o.A)({},t,{[e]:n}):(0,o.A)({},t,n)}),[e,t,n,a])}const f=function(e){const{children:t,theme:n,themeId:o}=e,a=(0,m.A)(p),r=s()||p,i=h(o,a,n),l=h(o,r,n,!0);return(0,c.jsx)(u,{theme:l,children:(0,c.jsx)(d.T.Provider,{value:i,children:t})})};var v=n(7550);const g=["theme"];function b(e){let{theme:t}=e,n=(0,a.A)(e,g);const r=t[v.A];return(0,c.jsx)(f,(0,o.A)({},n,{themeId:r?v.A:void 0,theme:r||t}))}},7497:(e,t,n)=>{"use strict";n.d(t,{X4:()=>l});var o=n(3999),a=n(8935);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return(0,a.A)(e,t,n)}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.slice(1);const t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", "),")"):""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,o.A)(9,e));let a,r=e.substring(t+1,e.length-1);if("color"===n){if(r=r.split(" "),a=r.shift(),4===r.length&&"/"===r[3].charAt(0)&&(r[3]=r[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(a))throw new Error((0,o.A)(10,a))}else r=r.split(",");return r=r.map((e=>parseFloat(e))),{type:n,values:r,colorSpace:a}}function s(e){const{type:t,colorSpace:n}=e;let{values:o}=e;return-1!==t.indexOf("rgb")?o=o.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(o[1]="".concat(o[1],"%"),o[2]="".concat(o[2],"%")),o=-1!==t.indexOf("color")?"".concat(n," ").concat(o.join(" ")):"".concat(o.join(", ")),"".concat(t,"(").concat(o,")")}function l(e,t){return e=i(e),t=r(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,s(e)}},5329:(e,t,n)=>{"use strict";t.A=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=a?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(o,i,s):o[i]=e[i]}return o.default=e,n&&n.set(e,o),o}(n(9950)),a=n(2199);function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}t.A=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=o.useContext(a.ThemeContext);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}},31:(e,t,n)=>{"use strict";n.d(t,{h:()=>Gt});var o=n(6922),a=n(8889),r=n(8397);function i(e,t){(0,r.A)(2,arguments);var n=(0,a.A)(e),i=(0,o.A)(t);return isNaN(i)?new Date(NaN):i?(n.setDate(n.getDate()+i),n):n}var s=n(3793);function l(e,t){(0,r.A)(2,arguments);var n=(0,a.A)(e),i=(0,o.A)(t);if(isNaN(i))return new Date(NaN);if(!i)return n;var s=n.getDate(),l=new Date(n.getTime());return l.setMonth(n.getMonth()+i+1,0),s>=l.getDate()?l:(n.setFullYear(l.getFullYear(),l.getMonth(),s),n)}function c(e,t){return(0,r.A)(2,arguments),l(e,12*(0,o.A)(t))}function u(e,t){(0,r.A)(2,arguments);var n=(0,a.A)(e),o=(0,a.A)(t),i=n.getTime()-o.getTime();return i<0?-1:i>0?1:i}function d(e,t){(0,r.A)(2,arguments);var n=(0,a.A)(e),o=(0,a.A)(t),i=u(n,o),s=Math.abs(function(e,t){(0,r.A)(2,arguments);var n=(0,a.A)(e),o=(0,a.A)(t);return n.getFullYear()-o.getFullYear()}(n,o));n.setFullYear(1584),o.setFullYear(1584);var l=u(n,o)===-i,c=i*(s-Number(l));return 0===c?0:c}function m(e){(0,r.A)(1,arguments);var t=(0,a.A)(e);return t.setHours(23,59,59,999),t}function p(e){(0,r.A)(1,arguments);var t=(0,a.A)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function h(e,t){(0,r.A)(2,arguments);var n,o=(0,a.A)(e),i=(0,a.A)(t),s=u(o,i),l=Math.abs(function(e,t){(0,r.A)(2,arguments);var n=(0,a.A)(e),o=(0,a.A)(t);return 12*(n.getFullYear()-o.getFullYear())+(n.getMonth()-o.getMonth())}(o,i));if(l<1)n=0;else{1===o.getMonth()&&o.getDate()>27&&o.setDate(30),o.setMonth(o.getMonth()-s*l);var c=u(o,i)===-s;(function(e){(0,r.A)(1,arguments);var t=(0,a.A)(e);return m(t).getTime()===p(t).getTime()})((0,a.A)(e))&&1===l&&1===u(e,i)&&(c=!1),n=s*(l-Number(c))}return 0===n?0:n}var f={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}},v="trunc";function g(e){return e?f[e]:f[v]}var b=n(2434);function y(e){(0,r.A)(1,arguments);var t=(0,a.A)(e);return t.setHours(0,0,0,0),t}var w=864e5;function A(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function x(e,t){(0,r.A)(2,arguments);var n=(0,a.A)(e),o=(0,a.A)(t),i=A(n,o),s=Math.abs(function(e,t){(0,r.A)(2,arguments);var n=y(e),o=y(t),a=n.getTime()-(0,b.A)(n),i=o.getTime()-(0,b.A)(o);return Math.round((a-i)/w)}(n,o));n.setDate(n.getDate()-i*s);var l=i*(s-Number(A(n,o)===-i));return 0===l?0:l}Math.pow(10,8);var T=6e4,C=36e5;function D(e,t){return(0,r.A)(2,arguments),(0,a.A)(e).getTime()-(0,a.A)(t).getTime()}var k=n(3840);function M(e,t){var n,i,s,l,c,u,d,m;(0,r.A)(1,arguments);var p=(0,k.q)(),h=(0,o.A)(null!==(n=null!==(i=null!==(s=null!==(l=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==l?l:null===t||void 0===t||null===(c=t.locale)||void 0===c||null===(u=c.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==s?s:p.weekStartsOn)&&void 0!==i?i:null===(d=p.locale)||void 0===d||null===(m=d.options)||void 0===m?void 0:m.weekStartsOn)&&void 0!==n?n:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=(0,a.A)(e),v=f.getDay(),g=6+(v=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=(0,a.A)(e),v=f.getDay(),g=(v=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setFullYear(h+1,0,v),g.setHours(0,0,0,0);var b=N(g,t),y=new Date(0);y.setFullYear(h,0,v),y.setHours(0,0,0,0);var w=N(y,t);return p.getTime()>=b.getTime()?h+1:p.getTime()>=w.getTime()?h:h-1}(e,t),v=new Date(0);return v.setFullYear(f,0,h),v.setHours(0,0,0,0),N(v,t)}function R(e,t){(0,r.A)(2,arguments);var n=(0,a.A)(e),o=(0,a.A)(t);return n.getTime()>o.getTime()}function O(e,t){(0,r.A)(2,arguments);var n=(0,a.A)(e),o=(0,a.A)(t);return n.getTime()e.length)&&(t=e.length);for(var n=0,o=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,r=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw r}}}}var B=n(6792),z=n(4568);function H(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var Y=n(74),U=n(6215),q=n(9417),X=n(3662);function Q(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,X.A)(e,t)}function K(e){return K=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},K(e)}function G(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(G=function(){return!!e})()}function _(e){var t=G();return function(){var n,o=K(e);if(t){var a=K(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===(0,L.A)(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,q.A)(e)}(this,n)}}var Z=n(3029),$=n(2901),J=n(4467),ee=function(){function e(){(0,Z.A)(this,e),(0,J.A)(this,"priority",void 0),(0,J.A)(this,"subPriority",0)}return(0,$.A)(e,[{key:"validate",value:function(e,t){return!0}}]),e}(),te=function(e){Q(n,e);var t=_(n);function n(e,o,a,r,i){var s;return(0,Z.A)(this,n),(s=t.call(this)).value=e,s.validateValue=o,s.setValue=a,s.priority=r,i&&(s.subPriority=i),s}return(0,$.A)(n,[{key:"validate",value:function(e,t){return this.validateValue(e,this.value,t)}},{key:"set",value:function(e,t,n){return this.setValue(e,t,this.value,n)}}]),n}(ee),ne=function(e){Q(n,e);var t=_(n);function n(){var e;(0,Z.A)(this,n);for(var o=arguments.length,a=new Array(o),r=0;r0,a=o?t:1-t;if(a<=50)n=e||100;else{var r=a+50;n=e+100*Math.floor(r/100)-(e>=r%100?100:0)}return o?n:1-n}function Le(e){return e%400===0||e%4===0&&e%100!==0}var We=function(e){Q(n,e);var t=_(n);function n(){var e;(0,Z.A)(this,n);for(var o=arguments.length,a=new Array(o),r=0;r0}},{key:"set",value:function(e,t,n){var o=e.getUTCFullYear();if(n.isTwoDigitYear){var a=Fe(n.year,o);return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e}var r="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(oe),je=n(5294),Be=n(5164),ze=function(e){Q(n,e);var t=_(n);function n(){var e;(0,Z.A)(this,n);for(var o=arguments.length,a=new Array(o),r=0;r0}},{key:"set",value:function(e,t,n,o){var a=(0,je.A)(e,o);if(n.isTwoDigitYear){var r=Fe(n.year,a);return e.setUTCFullYear(r,0,o.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,Be.A)(e,o)}var i="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(i,0,o.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,Be.A)(e,o)}}]),n}(oe),He=n(1485),Ye=function(e){Q(n,e);var t=_(n);function n(){var e;(0,Z.A)(this,n);for(var o=arguments.length,a=new Array(o),r=0;r=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(oe),Xe=function(e){Q(n,e);var t=_(n);function n(){var e;(0,Z.A)(this,n);for(var o=arguments.length,a=new Array(o),r=0;r=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(oe),Qe=function(e){Q(n,e);var t=_(n);function n(){var e;(0,Z.A)(this,n);for(var o=arguments.length,a=new Array(o),r=0;r=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(oe),Ke=function(e){Q(n,e);var t=_(n);function n(){var e;(0,Z.A)(this,n);for(var o=arguments.length,a=new Array(o),r=0;r=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(oe),Ge=n(768);var _e=function(e){Q(n,e);var t=_(n);function n(){var e;(0,Z.A)(this,n);for(var o=arguments.length,a=new Array(o),r=0;r=1&&t<=53}},{key:"set",value:function(e,t,n,i){return(0,Be.A)(function(e,t,n){(0,r.A)(2,arguments);var i=(0,a.A)(e),s=(0,o.A)(t),l=(0,Ge.A)(i,n)-s;return i.setUTCDate(i.getUTCDate()-7*l),i}(e,n,i),i)}}]),n}(oe),Ze=n(734);var $e=function(e){Q(n,e);var t=_(n);function n(){var e;(0,Z.A)(this,n);for(var o=arguments.length,a=new Array(o),r=0;r=1&&t<=53}},{key:"set",value:function(e,t,n){return(0,He.A)(function(e,t){(0,r.A)(2,arguments);var n=(0,a.A)(e),i=(0,o.A)(t),s=(0,Ze.A)(n)-i;return n.setUTCDate(n.getUTCDate()-7*s),n}(e,n))}}]),n}(oe),Je=[31,28,31,30,31,30,31,31,30,31,30,31],et=[31,29,31,30,31,30,31,31,30,31,30,31],tt=function(e){Q(n,e);var t=_(n);function n(){var e;(0,Z.A)(this,n);for(var o=arguments.length,a=new Array(o),r=0;r=1&&t<=et[o]:t>=1&&t<=Je[o]}},{key:"set",value:function(e,t,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}]),n}(oe),nt=function(e){Q(n,e);var t=_(n);function n(){var e;(0,Z.A)(this,n);for(var o=arguments.length,a=new Array(o),r=0;r=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,n){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e}}]),n}(oe);function ot(e,t,n){var i,s,l,c,u,d,m,p;(0,r.A)(2,arguments);var h=(0,k.q)(),f=(0,o.A)(null!==(i=null!==(s=null!==(l=null!==(c=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==c?c:null===n||void 0===n||null===(u=n.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:h.weekStartsOn)&&void 0!==s?s:null===(m=h.locale)||void 0===m||null===(p=m.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==i?i:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,a.A)(e),g=(0,o.A)(t),b=((g%7+7)%7=0&&t<=6}},{key:"set",value:function(e,t,n,o){return(e=ot(e,n,o)).setUTCHours(0,0,0,0),e}}]),n}(oe),rt=function(e){Q(n,e);var t=_(n);function n(){var e;(0,Z.A)(this,n);for(var o=arguments.length,a=new Array(o),r=0;r=0&&t<=6}},{key:"set",value:function(e,t,n,o){return(e=ot(e,n,o)).setUTCHours(0,0,0,0),e}}]),n}(oe),it=function(e){Q(n,e);var t=_(n);function n(){var e;(0,Z.A)(this,n);for(var o=arguments.length,a=new Array(o),r=0;r=0&&t<=6}},{key:"set",value:function(e,t,n,o){return(e=ot(e,n,o)).setUTCHours(0,0,0,0),e}}]),n}(oe);var st=function(e){Q(n,e);var t=_(n);function n(){var e;(0,Z.A)(this,n);for(var o=arguments.length,a=new Array(o),r=0;r=1&&t<=7}},{key:"set",value:function(e,t,n){return e=function(e,t){(0,r.A)(2,arguments);var n=(0,o.A)(t);n%7===0&&(n-=7);var i=(0,a.A)(e),s=((n%7+7)%7<1?7:0)+n-i.getUTCDay();return i.setUTCDate(i.getUTCDate()+s),i}(e,n),e.setUTCHours(0,0,0,0),e}}]),n}(oe),lt=function(e){Q(n,e);var t=_(n);function n(){var e;(0,Z.A)(this,n);for(var o=arguments.length,a=new Array(o),r=0;r=1&&t<=12}},{key:"set",value:function(e,t,n){var o=e.getUTCHours()>=12;return o&&n<12?e.setUTCHours(n+12,0,0,0):o||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e}}]),n}(oe),mt=function(e){Q(n,e);var t=_(n);function n(){var e;(0,Z.A)(this,n);for(var o=arguments.length,a=new Array(o),r=0;r=0&&t<=23}},{key:"set",value:function(e,t,n){return e.setUTCHours(n,0,0,0),e}}]),n}(oe),pt=function(e){Q(n,e);var t=_(n);function n(){var e;(0,Z.A)(this,n);for(var o=arguments.length,a=new Array(o),r=0;r=0&&t<=11}},{key:"set",value:function(e,t,n){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e}}]),n}(oe),ht=function(e){Q(n,e);var t=_(n);function n(){var e;(0,Z.A)(this,n);for(var o=arguments.length,a=new Array(o),r=0;r=1&&t<=24}},{key:"set",value:function(e,t,n){var o=n<=24?n%24:n;return e.setUTCHours(o,0,0,0),e}}]),n}(oe),ft=function(e){Q(n,e);var t=_(n);function n(){var e;(0,Z.A)(this,n);for(var o=arguments.length,a=new Array(o),r=0;r=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCMinutes(n,0,0),e}}]),n}(oe),vt=function(e){Q(n,e);var t=_(n);function n(){var e;(0,Z.A)(this,n);for(var o=arguments.length,a=new Array(o),r=0;r=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCSeconds(n,0),e}}]),n}(oe),gt=function(e){Q(n,e);var t=_(n);function n(){var e;(0,Z.A)(this,n);for(var o=arguments.length,a=new Array(o),r=0;r=1&&N<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var I=(0,o.A)(null!==(g=null!==(y=null!==(w=null!==(A=null===i||void 0===i?void 0:i.weekStartsOn)&&void 0!==A?A:null===i||void 0===i||null===(x=i.locale)||void 0===x||null===(T=x.options)||void 0===T?void 0:T.weekStartsOn)&&void 0!==w?w:S.weekStartsOn)&&void 0!==y?y:null===(C=S.locale)||void 0===C||null===(D=C.options)||void 0===D?void 0:D.weekStartsOn)&&void 0!==g?g:0);if(!(I>=0&&I<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===P)return""===M?(0,a.A)(n):new Date(NaN);var R,O={firstWeekContainsDate:N,weekStartsOn:I,locale:V},E=[new ne],F=P.match(Ct).map((function(e){var t=e[0];return t in Y.A?(0,Y.A[t])(e,V.formatLong):e})).join("").match(Tt),W=[],q=j(F);try{var X=function(){var t=R.value;null!==i&&void 0!==i&&i.useAdditionalWeekYearTokens||!(0,U.xM)(t)||(0,U.lJ)(t,P,e),null!==i&&void 0!==i&&i.useAdditionalDayOfYearTokens||!(0,U.ef)(t)||(0,U.lJ)(t,P,e);var n=t[0],o=xt[n];if(o){var a=o.incompatibleTokens;if(Array.isArray(a)){var r=W.find((function(e){return a.includes(e.token)||e.token===n}));if(r)throw new RangeError("The format string mustn't contain `".concat(r.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===o.incompatibleTokens&&W.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));W.push({token:n,fullToken:t});var s=o.run(M,t,V.match,O);if(!s)return{v:new Date(NaN)};E.push(s.setter),M=s.rest}else{if(n.match(Pt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===t?t="'":"'"===n&&(t=t.match(Dt)[1].replace(kt,"'")),0!==M.indexOf(t))return{v:new Date(NaN)};M=M.slice(t.length)}};for(q.s();!(R=q.n()).done;){var Q=X();if("object"===(0,L.A)(Q))return Q.v}}catch(oe){q.e(oe)}finally{q.f()}if(M.length>0&&Mt.test(M))return new Date(NaN);var K=E.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return E.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),G=(0,a.A)(n);if(isNaN(G.getTime()))return new Date(NaN);var _,Z=(0,z.A)(G,(0,b.A)(G)),$={},J=j(K);try{for(J.s();!(_=J.n()).done;){var ee=_.value;if(!ee.validate(Z,O))return new Date(NaN);var te=ee.set(Z,$,O);Array.isArray(te)?(Z=te[0],H($,te[1])):Z=te}}catch(oe){J.e(oe)}finally{J.f()}return Z}function Vt(e){(0,r.A)(1,arguments);var t=(0,a.A)(e);return t.setDate(1),t.setHours(0,0,0,0),t}function Nt(e){(0,r.A)(1,arguments);var t=(0,a.A)(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function It(e,t){var n;(0,r.A)(1,arguments);var a=(0,o.A)(null!==(n=null===t||void 0===t?void 0:t.additionalDigits)&&void 0!==n?n:2);if(2!==a&&1!==a&&0!==a)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!==typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var i,s=function(e){var t,n={},o=e.split(Rt.dateTimeDelimiter);if(o.length>2)return n;/:/.test(o[0])?t=o[0]:(n.date=o[0],t=o[1],Rt.timeZoneDelimiter.test(n.date)&&(n.date=e.split(Rt.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length)));if(t){var a=Rt.timezone.exec(t);a?(n.time=t.replace(a[1],""),n.timezone=a[1]):n.time=t}return n}(e);if(s.date){var l=function(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),o=e.match(n);if(!o)return{year:NaN,restDateString:""};var a=o[1]?parseInt(o[1]):null,r=o[2]?parseInt(o[2]):null;return{year:null===r?a:100*r,restDateString:e.slice((o[1]||o[2]).length)}}(s.date,a);i=function(e,t){if(null===t)return new Date(NaN);var n=e.match(Ot);if(!n)return new Date(NaN);var o=!!n[4],a=Lt(n[1]),r=Lt(n[2])-1,i=Lt(n[3]),s=Lt(n[4]),l=Lt(n[5])-1;if(o)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,s,l)?function(e,t,n){var o=new Date(0);o.setUTCFullYear(e,0,4);var a=o.getUTCDay()||7,r=7*(t-1)+n+1-a;return o.setUTCDate(o.getUTCDate()+r),o}(t,s,l):new Date(NaN);var c=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(jt[t]||(Bt(e)?29:28))}(t,r,i)&&function(e,t){return t>=1&&t<=(Bt(e)?366:365)}(t,a)?(c.setUTCFullYear(t,r,Math.max(a,i)),c):new Date(NaN)}(l.restDateString,l.year)}if(!i||isNaN(i.getTime()))return new Date(NaN);var c,u=i.getTime(),d=0;if(s.time&&(d=function(e){var t=e.match(Et);if(!t)return NaN;var n=Wt(t[1]),o=Wt(t[2]),a=Wt(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,o,a))return NaN;return n*C+o*T+1e3*a}(s.time),isNaN(d)))return new Date(NaN);if(!s.timezone){var m=new Date(u+d),p=new Date(0);return p.setFullYear(m.getUTCFullYear(),m.getUTCMonth(),m.getUTCDate()),p.setHours(m.getUTCHours(),m.getUTCMinutes(),m.getUTCSeconds(),m.getUTCMilliseconds()),p}return c=function(e){if("Z"===e)return 0;var t=e.match(Ft);if(!t)return 0;var n="+"===t[1]?-1:1,o=parseInt(t[2]),a=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,a))return NaN;return n*(o*C+a*T)}(s.timezone),isNaN(c)?new Date(NaN):new Date(u+d+c)}var Rt={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Ot=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Et=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Ft=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Lt(e){return e?parseInt(e):1}function Wt(e){return e&&parseFloat(e.replace(",","."))||0}var jt=[31,null,31,30,31,30,31,31,30,31,30,31];function Bt(e){return e%400===0||e%4===0&&e%100!==0}var zt=n(1205);var Ht=n(1721),Yt=n(4894),Ut=n.n(Yt),qt=n(8168);const Xt={y:{sectionType:"year",contentType:"digit",maxLength:4},yy:"year",yyy:{sectionType:"year",contentType:"digit",maxLength:4},yyyy:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMMM:{sectionType:"month",contentType:"letter"},MMM:{sectionType:"month",contentType:"letter"},L:{sectionType:"month",contentType:"digit",maxLength:2},LL:"month",LLL:{sectionType:"month",contentType:"letter"},LLLL:{sectionType:"month",contentType:"letter"},d:{sectionType:"day",contentType:"digit",maxLength:2},dd:"day",do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"letter"},EE:{sectionType:"weekDay",contentType:"letter"},EEE:{sectionType:"weekDay",contentType:"letter"},EEEE:{sectionType:"weekDay",contentType:"letter"},EEEEE:{sectionType:"weekDay",contentType:"letter"},i:{sectionType:"weekDay",contentType:"digit",maxLength:1},ii:"weekDay",iii:{sectionType:"weekDay",contentType:"letter"},iiii:{sectionType:"weekDay",contentType:"letter"},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},ee:"weekDay",eee:{sectionType:"weekDay",contentType:"letter"},eeee:{sectionType:"weekDay",contentType:"letter"},eeeee:{sectionType:"weekDay",contentType:"letter"},eeeeee:{sectionType:"weekDay",contentType:"letter"},c:{sectionType:"weekDay",contentType:"digit",maxLength:1},cc:"weekDay",ccc:{sectionType:"weekDay",contentType:"letter"},cccc:{sectionType:"weekDay",contentType:"letter"},ccccc:{sectionType:"weekDay",contentType:"letter"},cccccc:{sectionType:"weekDay",contentType:"letter"},a:"meridiem",aa:"meridiem",aaa:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},Qt={year:"yyyy",month:"LLLL",monthShort:"MMM",dayOfMonth:"d",weekday:"EEEE",weekdayShort:"EEEEEE",hours24h:"HH",hours12h:"hh",meridiem:"aa",minutes:"mm",seconds:"ss",fullDate:"PP",fullDateWithWeekday:"PPPP",keyboardDate:"P",shortDate:"MMM d",normalDate:"d MMMM",normalDateWithWeekday:"EEE, MMM d",monthAndYear:"LLLL yyyy",monthAndDate:"MMMM d",fullTime:"p",fullTime12h:"hh:mm aa",fullTime24h:"HH:mm",fullDateTime:"PP p",fullDateTime12h:"PP hh:mm aa",fullDateTime24h:"PP HH:mm",keyboardDateTime:"P p",keyboardDateTime12h:"P hh:mm aa",keyboardDateTime24h:"P HH:mm"};class Kt{constructor(e){this.isMUIAdapter=!0,this.isTimezoneCompatible=!1,this.lib="date-fns",this.locale=void 0,this.formats=void 0,this.formatTokenMap=Xt,this.escapedCharacters={start:"'",end:"'"},this.longFormatters=void 0,this.date=e=>"undefined"===typeof e?new Date:null===e?null:new Date(e),this.dateWithTimezone=e=>this.date(e),this.getTimezone=()=>"default",this.setTimezone=e=>e,this.toJsDate=e=>e,this.getCurrentLocaleCode=()=>{var e;return(null==(e=this.locale)?void 0:e.code)||"en-US"},this.is12HourCycleInCurrentLocale=()=>!this.locale||/a/.test(this.locale.formatLong.time({width:"short"})),this.expandFormat=e=>e.match(/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,this.longFormatters[t])(e,this.locale.formatLong)}return e})).join(""),this.getFormatHelperText=e=>this.expandFormat(e).replace(/(aaa|aa|a)/g,"(a|p)m").toLocaleLowerCase(),this.isNull=e=>null===e,this.formatNumber=e=>e,this.getMeridiemText=e=>"am"===e?"AM":"PM";const{locale:t,formats:n,longFormatters:o}=e;this.locale=t,this.formats=(0,qt.A)({},Qt,n),this.longFormatters=o}}class Gt extends Kt{constructor(){let{locale:e,formats:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super({locale:null!=e?e:Ht.A,formats:t,longFormatters:Ut()}),this.parseISO=e=>It(e),this.toISO=e=>function(e,t){var n,o;(0,r.A)(1,arguments);var i=(0,a.A)(e);if(isNaN(i.getTime()))throw new RangeError("Invalid time value");var s=String(null!==(n=null===t||void 0===t?void 0:t.format)&&void 0!==n?n:"extended"),l=String(null!==(o=null===t||void 0===t?void 0:t.representation)&&void 0!==o?o:"complete");if("extended"!==s&&"basic"!==s)throw new RangeError("format must be 'extended' or 'basic'");if("date"!==l&&"time"!==l&&"complete"!==l)throw new RangeError("representation must be 'date', 'time', or 'complete'");var c="",u="",d="extended"===s?"-":"",m="extended"===s?":":"";if("time"!==l){var p=(0,zt.A)(i.getDate(),2),h=(0,zt.A)(i.getMonth()+1,2),f=(0,zt.A)(i.getFullYear(),4);c="".concat(f).concat(d).concat(h).concat(d).concat(p)}if("date"!==l){var v=i.getTimezoneOffset();if(0!==v){var g=Math.abs(v),b=(0,zt.A)(Math.floor(g/60),2),y=(0,zt.A)(g%60,2);u="".concat(v<0?"+":"-").concat(b,":").concat(y)}else u="Z";var w=""===c?"":"T",A=[(0,zt.A)(i.getHours(),2),(0,zt.A)(i.getMinutes(),2),(0,zt.A)(i.getSeconds(),2)].join(m);c="".concat(c).concat(w).concat(A).concat(u)}return c}(e,{format:"extended"}),this.parse=(e,t)=>""===e?null:St(e,t,new Date,{locale:this.locale}),this.isValid=e=>(0,F.A)(this.date(e)),this.format=(e,t)=>this.formatByString(e,this.formats[t]),this.formatByString=(e,t)=>(0,S.A)(e,t,{locale:this.locale}),this.getDiff=(e,t,n)=>{switch(n){case"years":return d(e,this.date(t));case"quarters":return function(e,t,n){(0,r.A)(2,arguments);var o=h(e,t)/3;return g(null===n||void 0===n?void 0:n.roundingMethod)(o)}(e,this.date(t));case"months":return h(e,this.date(t));case"weeks":return function(e,t,n){(0,r.A)(2,arguments);var o=x(e,t)/7;return g(null===n||void 0===n?void 0:n.roundingMethod)(o)}(e,this.date(t));case"days":return x(e,this.date(t));case"hours":return function(e,t,n){(0,r.A)(2,arguments);var o=D(e,t)/C;return g(null===n||void 0===n?void 0:n.roundingMethod)(o)}(e,this.date(t));case"minutes":return function(e,t,n){(0,r.A)(2,arguments);var o=D(e,t)/T;return g(null===n||void 0===n?void 0:n.roundingMethod)(o)}(e,this.date(t));case"seconds":return function(e,t,n){(0,r.A)(2,arguments);var o=D(e,t)/1e3;return g(null===n||void 0===n?void 0:n.roundingMethod)(o)}(e,this.date(t));default:return D(e,this.date(t))}},this.isEqual=(e,t)=>null===e&&null===t||function(e,t){(0,r.A)(2,arguments);var n=(0,a.A)(e),o=(0,a.A)(t);return n.getTime()===o.getTime()}(e,t),this.isSameYear=(e,t)=>function(e,t){(0,r.A)(2,arguments);var n=(0,a.A)(e),o=(0,a.A)(t);return n.getFullYear()===o.getFullYear()}(e,t),this.isSameMonth=(e,t)=>function(e,t){(0,r.A)(2,arguments);var n=(0,a.A)(e),o=(0,a.A)(t);return n.getFullYear()===o.getFullYear()&&n.getMonth()===o.getMonth()}(e,t),this.isSameDay=(e,t)=>function(e,t){(0,r.A)(2,arguments);var n=y(e),o=y(t);return n.getTime()===o.getTime()}(e,t),this.isSameHour=(e,t)=>function(e,t){(0,r.A)(2,arguments);var n=E(e),o=E(t);return n.getTime()===o.getTime()}(e,t),this.isAfter=(e,t)=>R(e,t),this.isAfterYear=(e,t)=>R(e,P(t)),this.isAfterDay=(e,t)=>R(e,m(t)),this.isBefore=(e,t)=>O(e,t),this.isBeforeYear=(e,t)=>O(e,Nt(t)),this.isBeforeDay=(e,t)=>O(e,y(t)),this.isWithinRange=(e,t)=>{let[n,o]=t;return function(e,t){(0,r.A)(2,arguments);var n=(0,a.A)(e).getTime(),o=(0,a.A)(t.start).getTime(),i=(0,a.A)(t.end).getTime();if(!(o<=i))throw new RangeError("Invalid interval");return n>=o&&n<=i}(e,{start:n,end:o})},this.startOfYear=e=>Nt(e),this.startOfMonth=e=>Vt(e),this.startOfWeek=e=>N(e,{locale:this.locale}),this.startOfDay=e=>y(e),this.endOfYear=e=>P(e),this.endOfMonth=e=>p(e),this.endOfWeek=e=>M(e,{locale:this.locale}),this.endOfDay=e=>m(e),this.addYears=(e,t)=>c(e,t),this.addMonths=(e,t)=>l(e,t),this.addWeeks=(e,t)=>function(e,t){return(0,r.A)(2,arguments),i(e,7*(0,o.A)(t))}(e,t),this.addDays=(e,t)=>i(e,t),this.addHours=(e,t)=>function(e,t){(0,r.A)(2,arguments);var n=(0,o.A)(t);return(0,s.A)(e,36e5*n)}(e,t),this.addMinutes=(e,t)=>function(e,t){(0,r.A)(2,arguments);var n=(0,o.A)(t);return(0,s.A)(e,6e4*n)}(e,t),this.addSeconds=(e,t)=>function(e,t){(0,r.A)(2,arguments);var n=(0,o.A)(t);return(0,s.A)(e,1e3*n)}(e,t),this.getYear=e=>function(e){return(0,r.A)(1,arguments),(0,a.A)(e).getFullYear()}(e),this.getMonth=e=>function(e){return(0,r.A)(1,arguments),(0,a.A)(e).getMonth()}(e),this.getDate=e=>function(e){return(0,r.A)(1,arguments),(0,a.A)(e).getDate()}(e),this.getHours=e=>function(e){return(0,r.A)(1,arguments),(0,a.A)(e).getHours()}(e),this.getMinutes=e=>function(e){return(0,r.A)(1,arguments),(0,a.A)(e).getMinutes()}(e),this.getSeconds=e=>function(e){return(0,r.A)(1,arguments),(0,a.A)(e).getSeconds()}(e),this.getMilliseconds=e=>function(e){return(0,r.A)(1,arguments),(0,a.A)(e).getMilliseconds()}(e),this.setYear=(e,t)=>function(e,t){(0,r.A)(2,arguments);var n=(0,a.A)(e),i=(0,o.A)(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(i),n)}(e,t),this.setMonth=(e,t)=>function(e,t){(0,r.A)(2,arguments);var n=(0,a.A)(e),i=(0,o.A)(t),s=n.getFullYear(),l=n.getDate(),c=new Date(0);c.setFullYear(s,i,15),c.setHours(0,0,0,0);var u=V(c);return n.setMonth(i,Math.min(l,u)),n}(e,t),this.setDate=(e,t)=>function(e,t){(0,r.A)(2,arguments);var n=(0,a.A)(e),i=(0,o.A)(t);return n.setDate(i),n}(e,t),this.setHours=(e,t)=>function(e,t){(0,r.A)(2,arguments);var n=(0,a.A)(e),i=(0,o.A)(t);return n.setHours(i),n}(e,t),this.setMinutes=(e,t)=>function(e,t){(0,r.A)(2,arguments);var n=(0,a.A)(e),i=(0,o.A)(t);return n.setMinutes(i),n}(e,t),this.setSeconds=(e,t)=>function(e,t){(0,r.A)(2,arguments);var n=(0,a.A)(e),i=(0,o.A)(t);return n.setSeconds(i),n}(e,t),this.setMilliseconds=(e,t)=>function(e,t){(0,r.A)(2,arguments);var n=(0,a.A)(e),i=(0,o.A)(t);return n.setMilliseconds(i),n}(e,t),this.getDaysInMonth=e=>V(e),this.getNextMonth=e=>l(e,1),this.getPreviousMonth=e=>l(e,-1),this.getMonthArray=e=>{const t=[Nt(e)];for(;t.length<12;){const e=t[t.length-1];t.push(this.getNextMonth(e))}return t},this.mergeDateAndTime=(e,t)=>this.setSeconds(this.setMinutes(this.setHours(e,this.getHours(t)),this.getMinutes(t)),this.getSeconds(t)),this.getWeekdays=()=>{const e=new Date;return function(e,t){var n;(0,r.A)(1,arguments);var o=e||{},i=(0,a.A)(o.start),s=(0,a.A)(o.end).getTime();if(!(i.getTime()<=s))throw new RangeError("Invalid interval");var l=[],c=i;c.setHours(0,0,0,0);var u=Number(null!==(n=null===t||void 0===t?void 0:t.step)&&void 0!==n?n:1);if(u<1||isNaN(u))throw new RangeError("`options.step` must be a number greater than 1");for(;c.getTime()<=s;)l.push((0,a.A)(c)),c.setDate(c.getDate()+u),c.setHours(0,0,0,0);return l}({start:N(e,{locale:this.locale}),end:M(e,{locale:this.locale})}).map((e=>this.formatByString(e,"EEEEEE")))},this.getWeekArray=e=>{const t=N(Vt(e),{locale:this.locale}),n=M(p(e),{locale:this.locale});let o=0,a=t;const r=[];for(;O(a,n);){const e=Math.floor(o/7);r[e]=r[e]||[],r[e].push(a),a=i(a,1),o+=1}return r},this.getWeekNumber=e=>function(e,t){(0,r.A)(1,arguments);var n=(0,a.A)(e),o=N(n,t).getTime()-I(n,t).getTime();return Math.round(o/6048e5)+1}(e,{locale:this.locale}),this.getYearRange=(e,t)=>{const n=Nt(e),o=P(t),a=[];let r=n;for(;O(r,o);)a.push(r),r=c(r,1);return a}}}},7403:(e,t,n)=>{"use strict";n.d(t,{K:()=>si});var o=n(8168),a=n(8587),r=n(9950),i=n.t(r,2),s=n(4131),l=n(1522),c=n(357);function u(e,t,n,o,a){const[i,l]=r.useState((()=>a&&n?n(e).matches:o?o(e).matches:t));return(0,s.A)((()=>{let t=!0;if(!n)return;const o=n(e),a=()=>{t&&l(o.matches)};return a(),o.addListener(a),()=>{t=!1,o.removeListener(a)}}),[e,n]),i}const d=i.useSyncExternalStore;function m(e,t,n,o,a){const i=r.useCallback((()=>t),[t]),s=r.useMemo((()=>{if(a&&n)return()=>n(e).matches;if(null!==o){const{matches:t}=o(e);return()=>t}return i}),[i,e,o,a,n]),[l,c]=r.useMemo((()=>{if(null===n)return[i,()=>()=>{}];const t=n(e);return[()=>t.matches,e=>(t.addListener(e),()=>{t.removeListener(e)})]}),[i,n,e]);return d(c,l,s)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(0,c.A)(),o="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,{defaultMatches:a=!1,matchMedia:r=(o?window.matchMedia:null),ssrMatchMedia:i=null,noSsr:s=!1}=(0,l.A)({name:"MuiUseMediaQuery",props:t,theme:n});let p="function"===typeof e?e(n):e;p=p.replace(/^@media( ?)/m,"");return(void 0!==d?m:u)(p,a,r,i,s)}var h=n(9859),f=n(1942),v=n.n(f),g=n(1163);const b=v().oneOfType([v().func,v().object]);var y=n(4104),w=n(9925),A=n(525),x=n(2877),T=n(4093),C=n(4857),D=n(634);function k(e,t,n,o){const{value:a,onError:i}=e,s=(0,D.u)(),l=r.useRef(o),c=t({adapter:s,value:a,props:e});return r.useEffect((()=>{i&&!n(c,l.current)&&i(c,a),l.current=c}),[n,i,l,c,a]),c}var M=n(9204),P=n(9543),S=n(5969),V=n(5035);const N=e=>null!=e.saveQuery,I=e=>{let{sections:t,updateSectionValue:n,sectionsValueBoundaries:a,setTempAndroidValueStr:i,timezone:s}=e;const l=(0,D.hc)(),[c,u]=r.useState(null),d=(0,x.A)((()=>u(null)));r.useEffect((()=>{var e;null!=c&&(null==(e=t[c.sectionIndex])?void 0:e.type)!==c.sectionType&&d()}),[t,c,d]),r.useEffect((()=>{if(null!=c){const e=setTimeout((()=>d()),5e3);return()=>{window.clearTimeout(e)}}return()=>{}}),[c,d]);const m=(e,n,o)=>{let{keyPressed:a,sectionIndex:r}=e;const i=a.toLowerCase(),s=t[r];if(null!=c&&(!o||o(c.value))&&c.sectionIndex===r){const e="".concat(c.value).concat(i),t=n(e,s);if(!N(t))return u({sectionIndex:r,value:e,sectionType:s.type}),t}const l=n(i,s);return N(l)&&!l.saveQuery?(d(),null):(u({sectionIndex:r,value:i,sectionType:s.type}),N(l)?null:l)};return{applyCharacterEditing:(0,x.A)((e=>{const r=t[e.sectionIndex],c=!Number.isNaN(Number(e.keyPressed))?(e=>{const t=(e,t)=>{const n=Number("".concat(e)),o=a[t.type]({currentDate:null,format:t.format,contentType:t.contentType});if(n>o.maximum)return{saveQuery:!1};if(no.maximum||e.length===o.maximum.toString().length;return{sectionValue:(0,M.bQ)(l,s,n,o,t),shouldGoToNextSection:r}};return m(e,((e,n)=>{if("digit"===n.contentType||"digit-with-letter"===n.contentType)return t(e,n);if("month"===n.type){const a=(0,M.Xw)(l,s,"digit","month","MM"),r=t(e,{type:n.type,format:"MM",hasLeadingZerosInFormat:a,hasLeadingZerosInInput:!0,contentType:"digit",maxLength:2});if(N(r))return r;const i=(0,M.C7)(l,r.sectionValue,"MM",n.format);return(0,o.A)({},r,{sectionValue:i})}if("weekDay"===n.type){const a=t(e,n);if(N(a))return a;const r=(0,M.s8)(l,s,n.format)[Number(a.sectionValue)-1];return(0,o.A)({},a,{sectionValue:r})}return{saveQuery:!1}}),(e=>!Number.isNaN(Number(e))))})(e):(e=>{const t=(e,t,n)=>{const o=t.filter((e=>e.toLowerCase().startsWith(n)));return 0===o.length?{saveQuery:!1}:{sectionValue:o[0],shouldGoToNextSection:1===o.length}},n=(e,n,a,r)=>{const i=e=>(0,M.hk)(l,s,n.type,e);if("letter"===n.contentType)return t(n.format,i(n.format),e);if(a&&null!=r&&"letter"===(0,M.wp)(l,a).contentType){const n=i(a),s=t(0,n,e);return N(s)?{saveQuery:!1}:(0,o.A)({},s,{sectionValue:r(s.sectionValue,n)})}return{saveQuery:!1}};return m(e,((e,t)=>{switch(t.type){case"month":{const o=e=>(0,M.C7)(l,e,l.formats.month,t.format);return n(e,t,l.formats.month,o)}case"weekDay":{const o=(e,t)=>t.indexOf(e).toString();return n(e,t,l.formats.weekday,o)}case"meridiem":return n(e,t);default:return{saveQuery:!1}}}))})(e);null==c?i(null):n({activeSection:r,newSectionValue:c.sectionValue,shouldGoToNextSection:c.shouldGoToNextSection})})),resetCharacterQuery:d}};const R=function(){const e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:document).activeElement;return e?e.shadowRoot?R(e.shadowRoot):e:null},O="@media (pointer: fine)",E=["onClick","onKeyDown","onFocus","onBlur","onMouseUp","onPaste","error","clearable","onClear","disabled"],F=e=>{const t=(0,D.hc)(),{state:n,selectedSectionIndexes:i,setSelectedSections:l,clearValue:c,clearActiveSection:u,updateSectionValue:d,updateValueFromValueStr:m,setTempAndroidValueStr:p,sectionsValueBoundaries:h,placeholder:f,timezone:v}=(e=>{const t=(0,D.hc)(),n=(0,D.Nq)(),a=(0,D.u)(),i="rtl"===(0,C.A)().direction,{valueManager:s,fieldValueManager:l,valueType:c,validator:u,internalProps:d,internalProps:{value:m,defaultValue:p,referenceDate:h,onChange:f,format:v,formatDensity:g="dense",selectedSections:b,onSelectedSectionsChange:y,shouldRespectLeadingZeros:w=!1,timezone:A}}=e,{timezone:x,value:T,handleValueChange:k}=(0,S.M)({timezone:A,value:m,defaultValue:p,onChange:f,valueManager:s}),N=r.useMemo((()=>(0,M.Lz)(t,x)),[t,x]),I=r.useCallback((function(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return l.getSectionsFromValue(t,e,o,i,(e=>(0,M.MQ)(t,x,n,v,e,g,w,i)))}),[l,v,n,i,w,t,g,x]),R=r.useMemo((()=>l.getValueStrFromSections(I(s.emptyValue),i)),[l,I,s.emptyValue,i]),[O,E]=r.useState((()=>{const e=I(T);(0,M.xL)(e,c);const n={sections:e,value:T,referenceValue:s.emptyValue,tempValueStrAndroid:null},a=(0,V.kI)(e),r=s.getInitialReferenceValue({referenceDate:h,value:T,utils:t,props:d,granularity:a,timezone:x});return(0,o.A)({},n,{referenceValue:r})})),[F,L]=(0,P.A)({controlled:b,default:null,name:"useField",state:"selectedSectionIndexes"}),W=e=>{L(e),null==y||y(e),E((e=>(0,o.A)({},e,{selectedSectionQuery:null})))},j=r.useMemo((()=>{if(null==F)return null;if("all"===F)return{startIndex:0,endIndex:O.sections.length-1,shouldSelectBoundarySelectors:!0};if("number"===typeof F)return{startIndex:F,endIndex:F};if("string"===typeof F){const e=O.sections.findIndex((e=>e.type===F));return{startIndex:e,endIndex:e}}return F}),[F,O.sections]),B=e=>{let{value:n,referenceValue:r,sections:i}=e;if(E((e=>(0,o.A)({},e,{sections:i,value:n,referenceValue:r,tempValueStrAndroid:null}))),s.areValuesEqual(t,O.value,n))return;const l={validationError:u({adapter:a,value:n,props:(0,o.A)({},d,{value:n,timezone:x})})};k(n,l)},z=(e,t)=>{const n=[...O.sections];return n[e]=(0,o.A)({},n[e],{value:t,modified:!0}),(0,M.H6)(n,i)};return r.useEffect((()=>{const e=I(O.value);(0,M.xL)(e,c),E((t=>(0,o.A)({},t,{sections:e})))}),[v,t.locale]),r.useEffect((()=>{let e=!1;e=!s.areValuesEqual(t,O.value,T)||s.getTimezone(t,O.value)!==s.getTimezone(t,T),e&&E((e=>(0,o.A)({},e,{value:T,referenceValue:l.updateReferenceValue(t,T,e.referenceValue),sections:I(T)})))}),[T]),{state:O,selectedSectionIndexes:j,setSelectedSections:W,clearValue:()=>{B({value:s.emptyValue,referenceValue:O.referenceValue,sections:I(s.emptyValue)})},clearActiveSection:()=>{if(null==j)return;const e=O.sections[j.startIndex],n=l.getActiveDateManager(t,O,e),a=n.getSections(O.sections).filter((e=>""!==e.value)).length===(""===e.value?0:1),r=z(j.startIndex,""),i=a?null:t.date(new Date("")),s=n.getNewValuesFromNewActiveDate(i);(null!=i&&!t.isValid(i))!==(null!=n.date&&!t.isValid(n.date))?B((0,o.A)({},s,{sections:r})):E((e=>(0,o.A)({},e,s,{sections:r,tempValueStrAndroid:null})))},updateSectionValue:e=>{let{activeSection:n,newSectionValue:a,shouldGoToNextSection:r}=e;r&&j&&j.startIndex(0,o.A)({},e,d,{sections:s,tempValueStrAndroid:null})))},updateValueFromValueStr:e=>{const o=l.parseValueStr(e,O.referenceValue,((e,o)=>{const a=t.parse(e,v);if(null==a||!t.isValid(a))return null;const r=(0,M.MQ)(t,x,n,v,a,g,w,i);return(0,M.Sp)(t,x,a,r,o,!1)})),a=l.updateReferenceValue(t,o,O.referenceValue);B({value:o,referenceValue:a,sections:I(o,O.sections)})},setTempAndroidValueStr:e=>E((t=>(0,o.A)({},t,{tempValueStrAndroid:e}))),sectionsValueBoundaries:N,placeholder:R,timezone:x}})(e),{inputRef:g,internalProps:b,internalProps:{readOnly:y=!1,unstableFieldRef:w,minutesStep:A},forwardedProps:{onClick:N,onKeyDown:O,onFocus:F,onBlur:L,onMouseUp:W,onPaste:j,error:B,clearable:z,onClear:H,disabled:Y},fieldValueManager:U,valueManager:q,validator:X}=e,Q=(0,a.A)(e.forwardedProps,E),{applyCharacterEditing:K,resetCharacterQuery:G}=I({sections:n.sections,updateSectionValue:d,sectionsValueBoundaries:h,setTempAndroidValueStr:p,timezone:v}),_=r.useRef(null),Z=(0,T.A)(g,_),$=r.useRef(void 0),J="rtl"===(0,C.A)().direction,ee=r.useMemo((()=>(0,M.gS)(n.sections,J)),[n.sections,J]),te=()=>{var e;if(y)return void l(null);const t=null!=(e=_.current.selectionStart)?e:0;let o;o=t<=n.sections[0].startInInput||t>=n.sections[n.sections.length-1].endInInput?1:n.sections.findIndex((e=>e.startInInput-e.startSeparator.length>t));const a=-1===o?n.sections.length-1:o-1;l(a)},ne=(0,x.A)((function(e){if(!e.isDefaultPrevented()){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o{null==W||W(e),e.preventDefault()})),ae=(0,x.A)((function(){null==F||F(...arguments);const e=_.current;window.clearTimeout($.current),$.current=setTimeout((()=>{e&&e===_.current&&(null!=i||y||(e.value.length&&Number(e.selectionEnd)-Number(e.selectionStart)===e.value.length?l("all"):te()))}))})),re=(0,x.A)((function(){null==L||L(...arguments),l(null)})),ie=(0,x.A)((e=>{if(null==j||j(e),y)return void e.preventDefault();const t=e.clipboardData.getData("text");if(i&&i.startIndex===i.endIndex){const o=n.sections[i.startIndex],a=/^[a-zA-Z]+$/.test(t),r=/^[0-9]+$/.test(t),s=/^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(t);if("letter"===o.contentType&&a||"digit"===o.contentType&&r||"digit-with-letter"===o.contentType&&s)return G(),d({activeSection:o,newSectionValue:t,shouldGoToNextSection:!0}),void e.preventDefault();if(a||r)return void e.preventDefault()}e.preventDefault(),G(),m(t)})),se=(0,x.A)((e=>{if(y)return;const t=e.target.value;if(""===t)return G(),void c();const o=e.nativeEvent.data,a=o&&o.length>1,r=a?o:t,s=(0,M.HI)(r);if(null==i||a)return void m(a?o:s);let l;if(0===i.startIndex&&i.endIndex===n.sections.length-1&&1===s.length)l=s;else{const e=(0,M.HI)(U.getValueStrFromSections(n.sections,J));let t=-1,o=-1;for(let n=0;na.end)return;const r=s.length-e.length+a.end-(0,M.HI)(a.endSeparator||"").length;l=s.slice(a.start+(0,M.HI)(a.startSeparator||"").length,r)}0!==l.length?K({keyPressed:l,sectionIndex:i.startIndex}):(0,M.m0)()?p(r):(G(),u())})),le=(0,x.A)((e=>{switch(null==O||O(e),!0){case"a"===e.key&&(e.ctrlKey||e.metaKey):e.preventDefault(),l("all");break;case"ArrowRight"===e.key:if(e.preventDefault(),null==i)l(ee.startIndex);else if(i.startIndex!==i.endIndex)l(i.endIndex);else{const e=ee.neighbors[i.startIndex].rightIndex;null!==e&&l(e)}break;case"ArrowLeft"===e.key:if(e.preventDefault(),null==i)l(ee.endIndex);else if(i.startIndex!==i.endIndex)l(i.startIndex);else{const e=ee.neighbors[i.startIndex].leftIndex;null!==e&&l(e)}break;case"Delete"===e.key:if(e.preventDefault(),y)break;null==i||0===i.startIndex&&i.endIndex===n.sections.length-1?c():u(),G();break;case["ArrowUp","ArrowDown","Home","End","PageUp","PageDown"].includes(e.key):{if(e.preventDefault(),y||null==i)break;const o=n.sections[i.startIndex],a=U.getActiveDateManager(t,n,o),r=(0,M.UY)(t,v,o,e.key,h,a.date,{minutesStep:A});d({activeSection:o,newSectionValue:r,shouldGoToNextSection:!1});break}}}));(0,s.A)((()=>{if(!_.current)return;if(null==i)return void(_.current.scrollLeft&&(_.current.scrollLeft=0));const e=n.sections[i.startIndex],t=n.sections[i.endIndex];let o=e.startInInput,a=t.endInInput;if(i.shouldSelectBoundarySelectors&&(o-=e.startSeparator.length,a+=t.endSeparator.length),o!==_.current.selectionStart||a!==_.current.selectionEnd){const e=_.current.scrollTop;_.current===R(document)&&_.current.setSelectionRange(o,a),_.current.scrollTop=e}}));const ce=k((0,o.A)({},b,{value:n.value,timezone:v}),X,q.isSameError,q.defaultErrorState),ue=r.useMemo((()=>void 0!==B?B:q.hasError(ce)),[q,ce,B]);r.useEffect((()=>{ue||i||G()}),[n.referenceValue,i,ue]),r.useEffect((()=>(_.current&&_.current===document.activeElement&&l("all"),()=>window.clearTimeout($.current))),[]),r.useEffect((()=>{null!=n.tempValueStrAndroid&&null!=i&&(G(),u())}),[n.tempValueStrAndroid]);const de=r.useMemo((()=>{var e;return null!=(e=n.tempValueStrAndroid)?e:U.getValueStrFromSections(n.sections,J)}),[n.sections,U,n.tempValueStrAndroid,J]),me=r.useMemo((()=>null==i||"letter"===n.sections[i.startIndex].contentType?"text":"numeric"),[i,n.sections]),pe=_.current&&_.current===R(document),he=q.areValuesEqual(t,n.value,q.emptyValue),fe=!pe&&he;r.useImperativeHandle(w,(()=>({getSections:()=>n.sections,getActiveSectionIndex:()=>{var e,t;const o=null!=(e=_.current.selectionStart)?e:0,a=null!=(t=_.current.selectionEnd)?t:0;if(0===o&&0===a)return null;const r=o<=n.sections[0].startInInput?1:n.sections.findIndex((e=>e.startInInput-e.startSeparator.length>o));return-1===r?n.sections.length-1:r-1},setSelectedSections:e=>l(e)})));const ve=(0,x.A)((function(e){var t;e.preventDefault();for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a{let{props:t,value:n,adapter:o}=e;if(null===n)return null;const{shouldDisableDate:a,shouldDisableMonth:r,shouldDisableYear:i,disablePast:s,disableFuture:l,timezone:c}=t,u=o.utils.dateWithTimezone(void 0,c),d=(0,L.IP)(o.utils,t.minDate,o.defaultDates.minDate),m=(0,L.IP)(o.utils,t.maxDate,o.defaultDates.maxDate);switch(!0){case!o.utils.isValid(n):return"invalidDate";case Boolean(a&&a(n)):return"shouldDisableDate";case Boolean(r&&r(n)):return"shouldDisableMonth";case Boolean(i&&i(n)):return"shouldDisableYear";case Boolean(l&&o.utils.isAfterDay(n,u)):return"disableFuture";case Boolean(s&&o.utils.isBeforeDay(n,u)):return"disablePast";case Boolean(d&&o.utils.isBeforeDay(n,d)):return"minDate";case Boolean(m&&o.utils.isAfterDay(n,m)):return"maxDate";default:return null}};var j=n(2412);const B=e=>{let{props:t,value:n,adapter:o}=e;const a=W({adapter:o,value:n,props:t});return null!==a?a:(e=>{let{adapter:t,value:n,props:o}=e;if(null===n)return null;const{minTime:a,maxTime:r,minutesStep:i,shouldDisableClock:s,shouldDisableTime:l,disableIgnoringDatePartForTimeValidation:c=!1,disablePast:u,disableFuture:d,timezone:m}=o,p=t.utils.dateWithTimezone(void 0,m),h=(0,j.iF)(c,t.utils);switch(!0){case!t.utils.isValid(n):return"invalidDate";case Boolean(a&&h(a,n)):return"minTime";case Boolean(r&&h(n,r)):return"maxTime";case Boolean(d&&t.utils.isAfter(n,p)):return"disableFuture";case Boolean(u&&t.utils.isBefore(n,p)):return"disablePast";case Boolean(l&&l(n,"hours")):return"shouldDisableTime-hours";case Boolean(l&&l(n,"minutes")):return"shouldDisableTime-minutes";case Boolean(l&&l(n,"seconds")):return"shouldDisableTime-seconds";case Boolean(s&&s(t.utils.getHours(n),"hours")):return"shouldDisableClock-hours";case Boolean(s&&s(t.utils.getMinutes(n),"minutes")):return"shouldDisableClock-minutes";case Boolean(s&&s(t.utils.getSeconds(n),"seconds")):return"shouldDisableClock-seconds";case Boolean(i&&t.utils.getMinutes(n)%i!==0):return"minutesStep";default:return null}})({adapter:o,value:n,props:t})},z=["disablePast","disableFuture","minDate","maxDate","shouldDisableDate","shouldDisableMonth","shouldDisableYear"],H=["disablePast","disableFuture","minTime","maxTime","shouldDisableClock","shouldDisableTime","minutesStep","ampm","disableIgnoringDatePartForTimeValidation"],Y=["minDateTime","maxDateTime"],U=[...z,...H,...Y],q=e=>U.reduce(((t,n)=>(e.hasOwnProperty(n)&&(t[n]=e[n]),t)),{}),X=["value","defaultValue","referenceDate","format","formatDensity","onChange","timezone","readOnly","onError","shouldRespectLeadingZeros","selectedSections","onSelectedSectionsChange","unstableFieldRef"],Q=e=>{let{props:t,inputRef:n}=e;const a=(e=>{var t,n,a,r,i,s,l,c;const u=(0,D.hc)(),d=(0,D.Yg)(),m=(null!=(t=e.ampm)?t:u.is12HourCycleInCurrentLocale())?u.formats.keyboardDateTime12h:u.formats.keyboardDateTime24h;return(0,o.A)({},e,{disablePast:null!=(n=e.disablePast)&&n,disableFuture:null!=(a=e.disableFuture)&&a,format:null!=(r=e.format)?r:m,disableIgnoringDatePartForTimeValidation:Boolean(e.minDateTime||e.maxDateTime),minDate:(0,L.IP)(u,null!=(i=e.minDateTime)?i:e.minDate,d.minDate),maxDate:(0,L.IP)(u,null!=(s=e.maxDateTime)?s:e.maxDate,d.maxDate),minTime:null!=(l=e.minDateTime)?l:e.minTime,maxTime:null!=(c=e.maxDateTime)?c:e.maxTime})})(t),{forwardedProps:r,internalProps:i}=((e,t)=>{const n=(0,o.A)({},e),a={},r=e=>{n.hasOwnProperty(e)&&(a[e]=n[e],delete n[e])};return X.forEach(r),"date"===t?z.forEach(r):"time"===t?H.forEach(r):"date-time"===t&&(z.forEach(r),H.forEach(r),Y.forEach(r)),{forwardedProps:n,internalProps:a}})(a,"date-time");return F({inputRef:n,forwardedProps:r,internalProps:i,valueManager:y.W,fieldValueManager:y.o,validator:B,valueType:"date-time"})};var K=n(5333),G=n(2004),_=n(4061),Z=n(1676),$=n(2053),J=n(5866),ee=n(9766),te=n(9254),ne=n(3244),oe=n(8483);function ae(e){return(0,oe.Ay)("MuiInputAdornment",e)}const re=(0,ne.A)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var ie,se=n(4414);const le=["children","className","component","disablePointerEvents","disableTypography","position","variant"],ce=(0,te.Ay)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t["position".concat((0,Z.A)(n.position))],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((e=>{let{theme:t,ownerState:n}=e;return(0,o.A)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},"filled"===n.variant&&{["&.".concat(re.positionStart,"&:not(.").concat(re.hiddenLabel,")")]:{marginTop:16}},"start"===n.position&&{marginRight:8},"end"===n.position&&{marginLeft:8},!0===n.disablePointerEvents&&{pointerEvents:"none"})})),ue=r.forwardRef((function(e,t){const n=(0,h.A)({props:e,name:"MuiInputAdornment"}),{children:i,className:s,component:l="div",disablePointerEvents:c=!1,disableTypography:u=!1,position:d,variant:m}=n,p=(0,a.A)(n,le),f=(0,ee.A)()||{};let v=m;m&&f.variant,f&&!v&&(v=f.variant);const g=(0,o.A)({},n,{hiddenLabel:f.hiddenLabel,size:f.size,disablePointerEvents:c,position:d,variant:v}),b=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:o,position:a,size:r,variant:i}=e,s={root:["root",n&&"disablePointerEvents",a&&"position".concat((0,Z.A)(a)),i,o&&"hiddenLabel",r&&"size".concat((0,Z.A)(r))]};return(0,_.A)(s,ae,t)})(g);return(0,se.jsx)(J.A.Provider,{value:null,children:(0,se.jsx)(ce,(0,o.A)({as:l,ownerState:g,className:(0,G.A)(b.root,s),ref:t},p,{children:"string"!==typeof i||u?(0,se.jsxs)(r.Fragment,{children:["start"===d?ie||(ie=(0,se.jsx)("span",{className:"notranslate",children:"\u200b"})):null,i]}):(0,se.jsx)($.A,{color:"text.secondary",children:i})}))})}));var de=n(9743);const me=["ownerState"],pe=["components","componentsProps","slots","slotProps","InputProps","inputProps"],he=["inputRef"],fe=["ref","onPaste","onKeyDown","inputMode","readOnly","clearable","onClear"],ve=r.forwardRef((function(e,t){var n,i,s;const l=(0,h.A)({props:e,name:"MuiDateTimeField"}),{components:c,componentsProps:u,slots:d,slotProps:m,InputProps:p,inputProps:f}=l,v=(0,a.A)(l,pe),g=l,b=null!=(n=null!=(i=null==d?void 0:d.textField)?i:null==c?void 0:c.TextField)?n:w.A,y=(0,A.Q)({elementType:b,externalSlotProps:null!=(s=null==m?void 0:m.textField)?s:null==u?void 0:u.textField,externalForwardedProps:v,ownerState:g}),{inputRef:x}=y,T=(0,a.A)(y,he);T.inputProps=(0,o.A)({},f,T.inputProps),T.InputProps=(0,o.A)({},p,T.InputProps);const C=Q({props:T,inputRef:x}),{ref:k,onPaste:M,onKeyDown:P,inputMode:S,readOnly:V,clearable:N,onClear:I}=C,R=(0,a.A)(C,fe),{InputProps:O,fieldProps:E}=(e=>{let{clearable:t,fieldProps:n,InputProps:i,onClear:s,slots:l,slotProps:c,components:u,componentsProps:d}=e;var m,p,h,f,v,g;const b=(0,D.Nq)(),y=null!=(m=null!=(p=null==l?void 0:l.clearButton)?p:null==u?void 0:u.ClearButton)?m:K.A,w=(0,A.Q)({elementType:y,externalSlotProps:null!=(h=null==c?void 0:c.clearButton)?h:null==d?void 0:d.clearButton,ownerState:{},className:"clearButton",additionalProps:{title:b.fieldClearLabel}}),x=(0,a.A)(w,me),T=null!=(f=null!=(v=null==l?void 0:l.clearIcon)?v:null==u?void 0:u.ClearIcon)?f:de.vu,C=(0,A.Q)({elementType:T,externalSlotProps:null!=(g=null==c?void 0:c.clearIcon)?g:null==d?void 0:d.clearIcon,ownerState:{}});return{InputProps:(0,o.A)({},i,{endAdornment:(0,se.jsxs)(r.Fragment,{children:[t&&(0,se.jsx)(ue,{position:"end",sx:{marginRight:null!=i&&i.endAdornment?-1:-1.5},children:(0,se.jsx)(y,(0,o.A)({},x,{onClick:s,children:(0,se.jsx)(T,(0,o.A)({fontSize:"small"},C))}))}),null==i?void 0:i.endAdornment]})}),fieldProps:(0,o.A)({},n,{sx:[{"& .clearButton":{opacity:1},"@media (pointer: fine)":{"& .clearButton":{opacity:0},"&:hover, &:focus-within":{".clearButton":{opacity:1}}}},...Array.isArray(n.sx)?n.sx:[n.sx]]})}})({onClear:I,clearable:N,fieldProps:R,InputProps:R.InputProps,slots:d,slotProps:m,components:c,componentsProps:u});return(0,se.jsx)(b,(0,o.A)({ref:t},E,{InputProps:(0,o.A)({},O,{readOnly:V}),inputProps:(0,o.A)({},R.inputProps,{inputMode:S,onPaste:M,onKeyDown:P,ref:k})}))}));var ge=n(5511);function be(e){return(0,oe.Ay)("MuiTab",e)}const ye=(0,ne.A)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),we=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],Ae=(0,te.Ay)(ge.A,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t["textColor".concat((0,Z.A)(n.textColor))],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})((e=>{let{theme:t,ownerState:n}=e;return(0,o.A)({},t.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},n.label&&{flexDirection:"top"===n.iconPosition||"bottom"===n.iconPosition?"column":"row"},{lineHeight:1.25},n.icon&&n.label&&{minHeight:72,paddingTop:9,paddingBottom:9,["& > .".concat(ye.iconWrapper)]:(0,o.A)({},"top"===n.iconPosition&&{marginBottom:6},"bottom"===n.iconPosition&&{marginTop:6},"start"===n.iconPosition&&{marginRight:t.spacing(1)},"end"===n.iconPosition&&{marginLeft:t.spacing(1)})},"inherit"===n.textColor&&{color:"inherit",opacity:.6,["&.".concat(ye.selected)]:{opacity:1},["&.".concat(ye.disabled)]:{opacity:(t.vars||t).palette.action.disabledOpacity}},"primary"===n.textColor&&{color:(t.vars||t).palette.text.secondary,["&.".concat(ye.selected)]:{color:(t.vars||t).palette.primary.main},["&.".concat(ye.disabled)]:{color:(t.vars||t).palette.text.disabled}},"secondary"===n.textColor&&{color:(t.vars||t).palette.text.secondary,["&.".concat(ye.selected)]:{color:(t.vars||t).palette.secondary.main},["&.".concat(ye.disabled)]:{color:(t.vars||t).palette.text.disabled}},n.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},n.wrapped&&{fontSize:t.typography.pxToRem(12)})})),xe=r.forwardRef((function(e,t){const n=(0,h.A)({props:e,name:"MuiTab"}),{className:i,disabled:s=!1,disableFocusRipple:l=!1,fullWidth:c,icon:u,iconPosition:d="top",indicator:m,label:p,onChange:f,onClick:v,onFocus:g,selected:b,selectionFollowsFocus:y,textColor:w="inherit",value:A,wrapped:x=!1}=n,T=(0,a.A)(n,we),C=(0,o.A)({},n,{disabled:s,disableFocusRipple:l,selected:b,icon:!!u,iconPosition:d,label:!!p,fullWidth:c,textColor:w,wrapped:x}),D=(e=>{const{classes:t,textColor:n,fullWidth:o,wrapped:a,icon:r,label:i,selected:s,disabled:l}=e,c={root:["root",r&&i&&"labelIcon","textColor".concat((0,Z.A)(n)),o&&"fullWidth",a&&"wrapped",s&&"selected",l&&"disabled"],iconWrapper:["iconWrapper"]};return(0,_.A)(c,be,t)})(C),k=u&&p&&r.isValidElement(u)?r.cloneElement(u,{className:(0,G.A)(D.iconWrapper,u.props.className)}):u;return(0,se.jsxs)(Ae,(0,o.A)({focusRipple:!l,className:(0,G.A)(D.root,i),ref:t,role:"tab","aria-selected":b,disabled:s,onClick:e=>{!b&&f&&f(e,A),v&&v(e)},onFocus:e=>{y&&!b&&f&&f(e,A),g&&g(e)},ownerState:C,tabIndex:b?0:-1},T,{children:["top"===d||"start"===d?(0,se.jsxs)(r.Fragment,{children:[k,p]}):(0,se.jsxs)(r.Fragment,{children:[p,k]}),m]}))}));n(5772);var Te=n(1209);let Ce;function De(){if(Ce)return Ce;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Ce="reverse",e.scrollLeft>0?Ce="default":(e.scrollLeft=1,0===e.scrollLeft&&(Ce="negative")),document.body.removeChild(e),Ce}function ke(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(De()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function Me(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var Pe=n(9044),Se=n(827);const Ve=["onChange"],Ne={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var Ie=n(3235);const Re=(0,Ie.A)((0,se.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),Oe=(0,Ie.A)((0,se.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function Ee(e){return(0,oe.Ay)("MuiTabScrollButton",e)}const Fe=(0,ne.A)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),Le=["className","slots","slotProps","direction","orientation","disabled"],We=(0,te.Ay)(ge.A,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})((e=>{let{ownerState:t}=e;return(0,o.A)({width:40,flexShrink:0,opacity:.8,["&.".concat(Fe.disabled)]:{opacity:0}},"vertical"===t.orientation&&{width:"100%",height:40,"& svg":{transform:"rotate(".concat(t.isRtl?-90:90,"deg)")}})})),je=r.forwardRef((function(e,t){var n,r;const i=(0,h.A)({props:e,name:"MuiTabScrollButton"}),{className:s,slots:l={},slotProps:c={},direction:u}=i,d=(0,a.A)(i,Le),m="rtl"===(0,C.A)().direction,p=(0,o.A)({isRtl:m},i),f=(e=>{const{classes:t,orientation:n,disabled:o}=e,a={root:["root",n,o&&"disabled"]};return(0,_.A)(a,Ee,t)})(p),v=null!=(n=l.StartScrollButtonIcon)?n:Re,g=null!=(r=l.EndScrollButtonIcon)?r:Oe,b=(0,A.Q)({elementType:v,externalSlotProps:c.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:p}),y=(0,A.Q)({elementType:g,externalSlotProps:c.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:p});return(0,se.jsx)(We,(0,o.A)({component:"div",className:(0,G.A)(f.root,s),ref:t,role:null,ownerState:p,tabIndex:null},d,{children:"left"===u?(0,se.jsx)(v,(0,o.A)({},b)):(0,se.jsx)(g,(0,o.A)({},y))}))}));var Be=n(1976);function ze(e){return(0,oe.Ay)("MuiTabs",e)}const He=(0,ne.A)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]);var Ye=n(7402);const Ue=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],qe=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,Xe=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,Qe=(e,t,n)=>{let o=!1,a=n(e,t);for(;a;){if(a===e.firstChild){if(o)return;o=!0}const t=a.disabled||"true"===a.getAttribute("aria-disabled");if(a.hasAttribute("tabindex")&&!t)return void a.focus();a=n(e,a)}},Ke=(0,te.Ay)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{["& .".concat(He.scrollButtons)]:t.scrollButtons},{["& .".concat(He.scrollButtons)]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})((e=>{let{ownerState:t,theme:n}=e;return(0,o.A)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&{["& .".concat(He.scrollButtons)]:{[n.breakpoints.down("sm")]:{display:"none"}}})})),Ge=(0,te.Ay)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})((e=>{let{ownerState:t}=e;return(0,o.A)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},t.fixed&&{overflowX:"hidden",width:"100%"},t.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},t.scrollableX&&{overflowX:"auto",overflowY:"hidden"},t.scrollableY&&{overflowY:"auto",overflowX:"hidden"})})),_e=(0,te.Ay)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})((e=>{let{ownerState:t}=e;return(0,o.A)({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"})})),Ze=(0,te.Ay)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((e=>{let{ownerState:t,theme:n}=e;return(0,o.A)({position:"absolute",height:2,bottom:0,width:"100%",transition:n.transitions.create()},"primary"===t.indicatorColor&&{backgroundColor:(n.vars||n).palette.primary.main},"secondary"===t.indicatorColor&&{backgroundColor:(n.vars||n).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0})})),$e=(0,te.Ay)((function(e){const{onChange:t}=e,n=(0,a.A)(e,Ve),i=r.useRef(),s=r.useRef(null),l=()=>{i.current=s.current.offsetHeight-s.current.clientHeight};return(0,Pe.A)((()=>{const e=(0,Te.A)((()=>{const e=i.current;l(),e!==i.current&&t(i.current)})),n=(0,Se.A)(s.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}}),[t]),r.useEffect((()=>{l(),t(i.current)}),[t]),(0,se.jsx)("div",(0,o.A)({style:Ne,ref:s},n))}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Je={};const et=r.forwardRef((function(e,t){const n=(0,h.A)({props:e,name:"MuiTabs"}),i=(0,C.A)(),s="rtl"===i.direction,{"aria-label":l,"aria-labelledby":c,action:u,centered:d=!1,children:m,className:p,component:f="div",allowScrollButtonsMobile:v=!1,indicatorColor:g="primary",onChange:b,orientation:y="horizontal",ScrollButtonComponent:w=je,scrollButtons:x="auto",selectionFollowsFocus:T,slots:D={},slotProps:k={},TabIndicatorProps:M={},TabScrollButtonProps:P={},textColor:S="primary",value:V,variant:N="standard",visibleScrollbar:I=!1}=n,R=(0,a.A)(n,Ue),O="scrollable"===N,E="vertical"===y,F=E?"scrollTop":"scrollLeft",L=E?"top":"left",W=E?"bottom":"right",j=E?"clientHeight":"clientWidth",B=E?"height":"width",z=(0,o.A)({},n,{component:f,allowScrollButtonsMobile:v,indicatorColor:g,orientation:y,vertical:E,scrollButtons:x,textColor:S,variant:N,visibleScrollbar:I,fixed:!O,hideScrollbar:O&&!I,scrollableX:O&&!E,scrollableY:O&&E,centered:d&&!O,scrollButtonsHideMobile:!v}),H=(e=>{const{vertical:t,fixed:n,hideScrollbar:o,scrollableX:a,scrollableY:r,centered:i,scrollButtonsHideMobile:s,classes:l}=e,c={root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",o&&"hideScrollbar",a&&"scrollableX",r&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",i&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[a&&"scrollableX"],hideScrollbar:[o&&"hideScrollbar"]};return(0,_.A)(c,ze,l)})(z),Y=(0,A.Q)({elementType:D.StartScrollButtonIcon,externalSlotProps:k.startScrollButtonIcon,ownerState:z}),U=(0,A.Q)({elementType:D.EndScrollButtonIcon,externalSlotProps:k.endScrollButtonIcon,ownerState:z});const[q,X]=r.useState(!1),[Q,K]=r.useState(Je),[Z,$]=r.useState(!1),[J,ee]=r.useState(!1),[te,ne]=r.useState(!1),[oe,ae]=r.useState({overflow:"hidden",scrollbarWidth:0}),re=new Map,ie=r.useRef(null),le=r.useRef(null),ce=()=>{const e=ie.current;let t,n;if(e){const n=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:ke(e,i.direction),scrollWidth:e.scrollWidth,top:n.top,bottom:n.bottom,left:n.left,right:n.right}}if(e&&!1!==V){const e=le.current.children;if(e.length>0){const t=e[re.get(V)];0,n=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:n}},ue=(0,Be.A)((()=>{const{tabsMeta:e,tabMeta:t}=ce();let n,o=0;if(E)n="top",t&&e&&(o=t.top-e.top+e.scrollTop);else if(n=s?"right":"left",t&&e){const a=s?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;o=(s?-1:1)*(t[n]-e[n]+a)}const a={[n]:o,[B]:t?t[B]:0};if(isNaN(Q[n])||isNaN(Q[B]))K(a);else{const e=Math.abs(Q[n]-a[n]),t=Math.abs(Q[B]-a[B]);(e>=1||t>=1)&&K(a)}})),de=function(e){let{animation:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t?function(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:()=>{};const{ease:r=Me,duration:i=300}=o;let s=null;const l=t[e];let c=!1;const u=()=>{c=!0},d=o=>{if(c)return void a(new Error("Animation cancelled"));null===s&&(s=o);const u=Math.min(1,(o-s)/i);t[e]=r(u)*(n-l)+l,u>=1?requestAnimationFrame((()=>{a(null)})):requestAnimationFrame(d)};l===n?a(new Error("Element already at target position")):requestAnimationFrame(d)}(F,ie.current,e,{duration:i.transitions.duration.standard}):ie.current[F]=e},me=e=>{let t=ie.current[F];E?t+=e:(t+=e*(s?-1:1),t*=s&&"reverse"===De()?-1:1),de(t)},pe=()=>{const e=ie.current[j];let t=0;const n=Array.from(le.current.children);for(let o=0;oe){0===o&&(t=e);break}t+=a[j]}return t},he=()=>{me(-1*pe())},fe=()=>{me(pe())},ve=r.useCallback((e=>{ae({overflow:null,scrollbarWidth:e})}),[]),ge=(0,Be.A)((e=>{const{tabsMeta:t,tabMeta:n}=ce();if(n&&t)if(n[L]t[W]){const o=t[F]+(n[W]-t[W]);de(o,{animation:e})}})),be=(0,Be.A)((()=>{O&&!1!==x&&ne(!te)}));r.useEffect((()=>{const e=(0,Te.A)((()=>{ie.current&&ue()}));let t;const n=n=>{n.forEach((e=>{e.removedNodes.forEach((e=>{var n;null==(n=t)||n.unobserve(e)})),e.addedNodes.forEach((e=>{var n;null==(n=t)||n.observe(e)}))})),e(),be()},o=(0,Se.A)(ie.current);let a;return o.addEventListener("resize",e),"undefined"!==typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(le.current.children).forEach((e=>{t.observe(e)}))),"undefined"!==typeof MutationObserver&&(a=new MutationObserver(n),a.observe(le.current,{childList:!0})),()=>{var n,r;e.clear(),o.removeEventListener("resize",e),null==(n=a)||n.disconnect(),null==(r=t)||r.disconnect()}}),[ue,be]),r.useEffect((()=>{const e=Array.from(le.current.children),t=e.length;if("undefined"!==typeof IntersectionObserver&&t>0&&O&&!1!==x){const n=e[0],o=e[t-1],a={root:ie.current,threshold:.99},r=new IntersectionObserver((e=>{$(!e[0].isIntersecting)}),a);r.observe(n);const i=new IntersectionObserver((e=>{ee(!e[0].isIntersecting)}),a);return i.observe(o),()=>{r.disconnect(),i.disconnect()}}}),[O,x,te,null==m?void 0:m.length]),r.useEffect((()=>{X(!0)}),[]),r.useEffect((()=>{ue()})),r.useEffect((()=>{ge(Je!==Q)}),[ge,Q]),r.useImperativeHandle(u,(()=>({updateIndicator:ue,updateScrollButtons:be})),[ue,be]);const ye=(0,se.jsx)(Ze,(0,o.A)({},M,{className:(0,G.A)(H.indicator,M.className),ownerState:z,style:(0,o.A)({},Q,M.style)}));let we=0;const Ae=r.Children.map(m,(e=>{if(!r.isValidElement(e))return null;const t=void 0===e.props.value?we:e.props.value;re.set(t,we);const n=t===V;return we+=1,r.cloneElement(e,(0,o.A)({fullWidth:"fullWidth"===N,indicator:n&&!q&&ye,selected:n,selectionFollowsFocus:T,onChange:b,textColor:S,value:t},1!==we||!1!==V||e.props.tabIndex?{}:{tabIndex:0}))})),xe=(()=>{const e={};e.scrollbarSizeListener=O?(0,se.jsx)($e,{onChange:ve,className:(0,G.A)(H.scrollableX,H.hideScrollbar)}):null;const t=O&&("auto"===x&&(Z||J)||!0===x);return e.scrollButtonStart=t?(0,se.jsx)(w,(0,o.A)({slots:{StartScrollButtonIcon:D.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:Y},orientation:y,direction:s?"right":"left",onClick:he,disabled:!Z},P,{className:(0,G.A)(H.scrollButtons,P.className)})):null,e.scrollButtonEnd=t?(0,se.jsx)(w,(0,o.A)({slots:{EndScrollButtonIcon:D.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:U},orientation:y,direction:s?"left":"right",onClick:fe,disabled:!J},P,{className:(0,G.A)(H.scrollButtons,P.className)})):null,e})();return(0,se.jsxs)(Ke,(0,o.A)({className:(0,G.A)(H.root,p),ownerState:z,ref:t,as:f},R,{children:[xe.scrollButtonStart,xe.scrollbarSizeListener,(0,se.jsxs)(Ge,{className:H.scroller,ownerState:z,style:{overflow:oe.overflow,[E?"margin".concat(s?"Left":"Right"):"marginBottom"]:I?void 0:-oe.scrollbarWidth},ref:ie,children:[(0,se.jsx)(_e,{"aria-label":l,"aria-labelledby":c,"aria-orientation":"vertical"===y?"vertical":null,className:H.flexContainer,ownerState:z,onKeyDown:e=>{const t=le.current,n=(0,Ye.A)(t).activeElement;if("tab"!==n.getAttribute("role"))return;let o="horizontal"===y?"ArrowLeft":"ArrowUp",a="horizontal"===y?"ArrowRight":"ArrowDown";switch("horizontal"===y&&s&&(o="ArrowRight",a="ArrowLeft"),e.key){case o:e.preventDefault(),Qe(t,n,Xe);break;case a:e.preventDefault(),Qe(t,n,qe);break;case"Home":e.preventDefault(),Qe(t,null,qe);break;case"End":e.preventDefault(),Qe(t,null,Xe)}},ref:le,role:"tablist",children:Ae}),q&&ye]}),xe.scrollButtonEnd]}))})),tt=et;function nt(e){return(0,oe.Ay)("MuiDateTimePickerTabs",e)}(0,ne.A)("MuiDateTimePickerTabs",["root"]);const ot=e=>(0,L.sC)(e)?"date":"time",at=(0,te.Ay)(tt,{name:"MuiDateTimePickerTabs",slot:"Root",overridesResolver:(e,t)=>t.root})((e=>{let{theme:t}=e;return{boxShadow:"0 -1px 0 0 inset ".concat((t.vars||t).palette.divider),"&:last-child":{boxShadow:"0 1px 0 0 inset ".concat((t.vars||t).palette.divider),["& .".concat(He.indicator)]:{bottom:"auto",top:0}}}})),rt=function(e){const t=(0,h.A)({props:e,name:"MuiDateTimePickerTabs"}),{dateIcon:n=(0,se.jsx)(de.Z5,{}),onViewChange:o,timeIcon:a=(0,se.jsx)(de.b1,{}),view:i,hidden:s="undefined"===typeof window||window.innerHeight<667,className:l,sx:c}=t,u=(0,D.Nq)(),d=(e=>{const{classes:t}=e;return(0,_.A)({root:["root"]},nt,t)})(t);return s?null:(0,se.jsxs)(at,{ownerState:t,variant:"fullWidth",value:ot(i),onChange:(e,t)=>{o("date"===t?"day":"hours")},className:(0,G.A)(l,d.root),sx:c,children:[(0,se.jsx)(xe,{value:"date","aria-label":u.dateTableLabel,icon:(0,se.jsx)(r.Fragment,{children:n})}),(0,se.jsx)(xe,{value:"time","aria-label":u.timeTableLabel,icon:(0,se.jsx)(r.Fragment,{children:a})})]})};function it(e){return(0,oe.Ay)("MuiPickersToolbarText",e)}const st=(0,ne.A)("MuiPickersToolbarText",["root","selected"]),lt=["className","selected","value"],ct=(0,te.Ay)($.A,{name:"MuiPickersToolbarText",slot:"Root",overridesResolver:(e,t)=>[t.root,{["&.".concat(st.selected)]:t.selected}]})((e=>{let{theme:t}=e;return{transition:t.transitions.create("color"),color:(t.vars||t).palette.text.secondary,["&.".concat(st.selected)]:{color:(t.vars||t).palette.text.primary}}})),ut=r.forwardRef((function(e,t){const n=(0,h.A)({props:e,name:"MuiPickersToolbarText"}),{className:r,value:i}=n,s=(0,a.A)(n,lt),l=(e=>{const{classes:t,selected:n}=e,o={root:["root",n&&"selected"]};return(0,_.A)(o,it,t)})(n);return(0,se.jsx)(ct,(0,o.A)({ref:t,className:(0,G.A)(r,l.root),component:"span"},s,{children:i}))}));function dt(e){return(0,oe.Ay)("MuiPickersToolbar",e)}(0,ne.A)("MuiPickersToolbar",["root","content"]);const mt=(0,te.Ay)("div",{name:"MuiPickersToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})((e=>{let{theme:t,ownerState:n}=e;return(0,o.A)({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between",padding:t.spacing(2,3)},n.isLandscape&&{height:"auto",maxWidth:160,padding:16,justifyContent:"flex-start",flexWrap:"wrap"})})),pt=(0,te.Ay)("div",{name:"MuiPickersToolbar",slot:"Content",overridesResolver:(e,t)=>t.content})((e=>{let{ownerState:t}=e;var n;return{display:"flex",flexWrap:"wrap",width:"100%",justifyContent:t.isLandscape?"flex-start":"space-between",flexDirection:t.isLandscape?null!=(n=t.landscapeDirection)?n:"column":"row",flex:1,alignItems:t.isLandscape?"flex-start":"center"}})),ht=r.forwardRef((function(e,t){const n=(0,h.A)({props:e,name:"MuiPickersToolbar"}),{children:o,className:a,toolbarTitle:r,hidden:i,titleId:s}=n,l=n,c=(e=>{const{classes:t,isLandscape:n}=e,o={root:["root"],content:["content"],penIconButton:["penIconButton",n&&"penIconButtonLandscape"]};return(0,_.A)(o,dt,t)})(l);return i?null:(0,se.jsxs)(mt,{ref:t,className:(0,G.A)(c.root,a),ownerState:l,children:[(0,se.jsx)($.A,{color:"text.secondary",variant:"overline",id:s,children:r}),(0,se.jsx)(pt,{className:c.content,ownerState:l,children:o})]})}));var ft=n(226);const vt=["align","className","selected","typographyClassName","value","variant","width"],gt=(0,te.Ay)(ft.A,{name:"MuiPickersToolbarButton",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:0,minWidth:16,textTransform:"none"}),bt=r.forwardRef((function(e,t){const n=(0,h.A)({props:e,name:"MuiPickersToolbarButton"}),{align:r,className:i,selected:s,typographyClassName:l,value:c,variant:u,width:d}=n,m=(0,a.A)(n,vt),p=(e=>{const{classes:t}=e;return(0,_.A)({root:["root"]},dt,t)})(n);return(0,se.jsx)(gt,(0,o.A)({variant:"text",ref:t,className:(0,G.A)(i,p.root)},d?{sx:{width:d}}:{},m,{children:(0,se.jsx)(ut,{align:r,className:l,variant:u,value:c,selected:s})}))}));function yt(e){return(0,oe.Ay)("MuiDateTimePickerToolbar",e)}const wt=(0,ne.A)("MuiDateTimePickerToolbar",["root","dateContainer","timeContainer","timeDigitsContainer","separator","timeLabelReverse","ampmSelection","ampmLandscape","ampmLabel"]);var At=n(731),xt=n(4936);const Tt=["ampm","ampmInClock","value","onChange","view","isLandscape","onViewChange","toolbarFormat","toolbarPlaceholder","views","disabled","readOnly","toolbarVariant"],Ct=e=>{const{classes:t,theme:n,isLandscape:o}=e,a={root:["root"],dateContainer:["dateContainer"],timeContainer:["timeContainer","rtl"===n.direction&&"timeLabelReverse"],timeDigitsContainer:["timeDigitsContainer","rtl"===n.direction&&"timeLabelReverse"],separator:["separator"],ampmSelection:["ampmSelection",o&&"ampmLandscape"],ampmLabel:["ampmLabel"]};return(0,_.A)(a,yt,t)},Dt=(0,te.Ay)(ht,{name:"MuiDateTimePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})((e=>{let{theme:t,ownerState:n}=e;return{paddingLeft:"desktop"!==n.toolbarVariant||n.isLandscape?16:24,paddingRight:"desktop"!==n.toolbarVariant||n.isLandscape?16:0,borderBottom:"desktop"===n.toolbarVariant?"1px solid ".concat((t.vars||t).palette.divider):void 0,borderRight:"desktop"===n.toolbarVariant&&n.isLandscape?"1px solid ".concat((t.vars||t).palette.divider):void 0,justifyContent:"space-around",position:"relative"}}));Dt.propTypes={as:v().elementType,classes:v().object,className:v().string,isLandscape:v().bool.isRequired,isMobileKeyboardViewOpen:v().bool,landscapeDirection:v().oneOf(["column","row"]),ownerState:v().object.isRequired,sx:v().oneOfType([v().arrayOf(v().oneOfType([v().func,v().object,v().bool])),v().func,v().object]),toggleMobileKeyboardView:v().func,toolbarTitle:v().node,viewType:v().oneOf(["date","time"])};const kt=(0,te.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"DateContainer",overridesResolver:(e,t)=>t.dateContainer})({display:"flex",flexDirection:"column",alignItems:"flex-start"}),Mt=(0,te.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"TimeContainer",overridesResolver:(e,t)=>t.timeContainer})((e=>{let{theme:t,ownerState:n}=e;const a=n.isLandscape&&"desktop"!==n.toolbarVariant?"column":"row";return(0,o.A)({display:"flex",flexDirection:a},"desktop"===n.toolbarVariant&&(0,o.A)({},!n.isLandscape&&{gap:9,marginRight:4,alignSelf:"flex-end"}),"rtl"===t.direction&&{flexDirection:"".concat(a,"-reverse")})})),Pt=(0,te.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"TimeDigitsContainer",overridesResolver:(e,t)=>t.timeDigitsContainer})((e=>{let{theme:t,ownerState:n}=e;return(0,o.A)({display:"flex"},"desktop"===n.toolbarVariant&&{gap:1.5},"rtl"===t.direction&&{flexDirection:"row-reverse"})}));Mt.propTypes={as:v().elementType,ownerState:v().object.isRequired,sx:v().oneOfType([v().arrayOf(v().oneOfType([v().func,v().object,v().bool])),v().func,v().object])};const St=(0,te.Ay)(ut,{name:"MuiDateTimePickerToolbar",slot:"Separator",overridesResolver:(e,t)=>t.separator})((e=>{let{ownerState:t}=e;return{margin:"desktop"===t.toolbarVariant?0:"0 4px 0 2px",cursor:"default"}})),Vt=(0,te.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"AmPmSelection",overridesResolver:(e,t)=>[{[".".concat(wt.ampmLabel)]:t.ampmLabel},{["&.".concat(wt.ampmLandscape)]:t.ampmLandscape},t.ampmSelection]})((e=>{let{ownerState:t}=e;return(0,o.A)({display:"flex",flexDirection:"column",marginRight:"auto",marginLeft:12},t.isLandscape&&{margin:"4px 0 auto",flexDirection:"row",justifyContent:"space-around",width:"100%"},{["& .".concat(wt.ampmLabel)]:{fontSize:17}})}));function Nt(e){const t=(0,h.A)({props:e,name:"MuiDateTimePickerToolbar"}),{ampm:n,ampmInClock:i,value:s,onChange:l,view:c,isLandscape:u,onViewChange:d,toolbarFormat:m,toolbarPlaceholder:p="\u2013\u2013",views:f,disabled:v,readOnly:g,toolbarVariant:b="mobile"}=t,y=(0,a.A)(t,Tt),w=t,A=(0,D.hc)(),{meridiemMode:x,handleMeridiemChange:T}=(0,At.r7)(s,n,l),k=Boolean(n&&!i),M="desktop"===b,P=(0,D.Nq)(),S=(0,C.A)(),V=Ct((0,o.A)({},w,{theme:S})),N=r.useMemo((()=>s?m?A.formatByString(s,m):A.format(s,"shortDate"):p),[s,m,p,A]);return(0,se.jsxs)(Dt,(0,o.A)({toolbarTitle:P.dateTimePickerToolbarTitle,isLandscape:u,className:V.root},y,{ownerState:w,children:[(0,se.jsxs)(kt,{className:V.dateContainer,ownerState:w,children:[f.includes("year")&&(0,se.jsx)(bt,{tabIndex:-1,variant:"subtitle1",onClick:()=>d("year"),selected:"year"===c,value:s?A.format(s,"year"):"\u2013"}),f.includes("day")&&(0,se.jsx)(bt,{tabIndex:-1,variant:M?"h5":"h4",onClick:()=>d("day"),selected:"day"===c,value:N})]}),(0,se.jsxs)(Mt,{className:V.timeContainer,ownerState:w,children:[(0,se.jsxs)(Pt,{className:V.timeDigitsContainer,ownerState:w,children:[f.includes("hours")&&(0,se.jsx)(bt,{variant:M?"h5":"h3",width:M&&!u?xt.aG:void 0,onClick:()=>d("hours"),selected:"hours"===c,value:s?(I=s,n?A.format(I,"hours12h"):A.format(I,"hours24h")):"--"}),f.includes("minutes")&&(0,se.jsxs)(r.Fragment,{children:[(0,se.jsx)(St,{variant:M?"h5":"h3",value:":",className:V.separator,ownerState:w}),(0,se.jsx)(bt,{variant:M?"h5":"h3",width:M&&!u?xt.aG:void 0,onClick:()=>d("minutes"),selected:"minutes"===c,value:s?A.format(s,"minutes"):"--"})]}),f.includes("seconds")&&(0,se.jsxs)(r.Fragment,{children:[(0,se.jsx)(St,{variant:M?"h5":"h3",value:":",className:V.separator,ownerState:w}),(0,se.jsx)(bt,{variant:M?"h5":"h3",width:M&&!u?xt.aG:void 0,onClick:()=>d("seconds"),selected:"seconds"===c,value:s?A.format(s,"seconds"):"--"})]})]}),k&&!M&&(0,se.jsxs)(Vt,{className:V.ampmSelection,ownerState:w,children:[(0,se.jsx)(bt,{variant:"subtitle2",selected:"am"===x,typographyClassName:V.ampmLabel,value:(0,L._S)(A,"am"),onClick:g?void 0:()=>T("am"),disabled:v}),(0,se.jsx)(bt,{variant:"subtitle2",selected:"pm"===x,typographyClassName:V.ampmLabel,value:(0,L._S)(A,"pm"),onClick:g?void 0:()=>T("pm"),disabled:v})]}),n&&M&&(0,se.jsx)(bt,{variant:"h5",onClick:()=>d("meridiem"),selected:"meridiem"===c,value:s&&x?(0,L._S)(A,x):"--",width:xt.aG})]})]}));var I}var It=n(6951),Rt=n(1457);function Ot(e,t){var n,a,i,s,l,c,u,d,m,p,f;const v=(0,D.hc)(),g=(0,D.Yg)(),b=(0,h.A)({props:e,name:t}),y=null!=(n=b.ampm)?n:v.is12HourCycleInCurrentLocale(),w=r.useMemo((()=>{var e;return null==(null==(e=b.localeText)?void 0:e.toolbarTitle)?b.localeText:(0,o.A)({},b.localeText,{dateTimePickerToolbarTitle:b.localeText.toolbarTitle})}),[b.localeText]),A=null!=(a=b.slots)?a:(0,Rt.p)(b.components),x=null!=(i=b.slotProps)?i:b.componentsProps;return(0,o.A)({},b,(0,It.R)({views:b.views,openTo:b.openTo,defaultViews:["year","day","hours","minutes"],defaultOpenTo:"day"}),{ampm:y,localeText:w,orientation:null!=(s=b.orientation)?s:"portrait",disableIgnoringDatePartForTimeValidation:null!=(l=b.disableIgnoringDatePartForTimeValidation)?l:Boolean(b.minDateTime||b.maxDateTime||b.disablePast||b.disableFuture),disableFuture:null!=(c=b.disableFuture)&&c,disablePast:null!=(u=b.disablePast)&&u,minDate:(0,L.IP)(v,null!=(d=b.minDateTime)?d:b.minDate,g.minDate),maxDate:(0,L.IP)(v,null!=(m=b.maxDateTime)?m:b.maxDate,g.maxDate),minTime:null!=(p=b.minDateTime)?p:b.minTime,maxTime:null!=(f=b.maxDateTime)?f:b.maxTime,slots:(0,o.A)({toolbar:Nt,tabs:rt},A),slotProps:(0,o.A)({},x,{toolbar:(0,o.A)({ampm:y},null==x?void 0:x.toolbar)})})}var Et=n(8767);const Ft=e=>{let{shouldDisableDate:t,shouldDisableMonth:n,shouldDisableYear:o,minDate:a,maxDate:i,disableFuture:s,disablePast:l,timezone:c}=e;const u=(0,D.u)();return r.useCallback((e=>null!==W({adapter:u,value:e,props:{shouldDisableDate:t,shouldDisableMonth:n,shouldDisableYear:o,minDate:a,maxDate:i,disableFuture:s,disablePast:l,timezone:c}})),[u,t,n,o,a,i,s,l,c])},Lt=e=>{const{value:t,referenceDate:n,defaultCalendarMonth:a,disableFuture:i,disablePast:s,disableSwitchToMonthOnDayFocus:l=!1,maxDate:c,minDate:u,onMonthChange:d,reduceAnimations:m,shouldDisableDate:p,timezone:h}=e,f=(0,D.hc)(),v=r.useRef(((e,t,n)=>(a,r)=>{switch(r.type){case"changeMonth":return(0,o.A)({},a,{slideDirection:r.direction,currentMonth:r.newMonth,isMonthSwitchingAnimating:!e});case"finishMonthSwitchingAnimation":return(0,o.A)({},a,{isMonthSwitchingAnimating:!1});case"changeFocusedDay":{if(null!=a.focusedDay&&null!=r.focusedDay&&n.isSameDay(r.focusedDay,a.focusedDay))return a;const i=null!=r.focusedDay&&!t&&!n.isSameMonth(a.currentMonth,r.focusedDay);return(0,o.A)({},a,{focusedDay:r.focusedDay,isMonthSwitchingAnimating:i&&!e&&!r.withoutMonthSwitchingAnimation,currentMonth:i?n.startOfMonth(r.focusedDay):a.currentMonth,slideDirection:null!=r.focusedDay&&n.isAfterDay(r.focusedDay,a.currentMonth)?"left":"right"})}default:throw new Error("missing support")}})(Boolean(m),l,f)).current,g=r.useMemo((()=>{let o=null;return n?o=n:a&&(o=f.startOfMonth(a)),y.W.getInitialReferenceValue({value:t,utils:f,timezone:h,props:e,referenceDate:o,granularity:V.yX.day})}),[]),[b,w]=r.useReducer(v,{isMonthSwitchingAnimating:!1,focusedDay:g,currentMonth:f.startOfMonth(g),slideDirection:"left"}),A=r.useCallback((e=>{w((0,o.A)({type:"changeMonth"},e)),d&&d(e.newMonth)}),[d]),T=r.useCallback((e=>{const t=e;f.isSameMonth(t,b.currentMonth)||A({newMonth:f.startOfMonth(t),direction:f.isAfterDay(t,b.currentMonth)?"left":"right"})}),[b.currentMonth,A,f]),C=Ft({shouldDisableDate:p,minDate:u,maxDate:c,disableFuture:i,disablePast:s,timezone:h}),k=r.useCallback((()=>{w({type:"finishMonthSwitchingAnimation"})}),[]),M=(0,x.A)(((e,t)=>{C(e)||w({type:"changeFocusedDay",focusedDay:e,withoutMonthSwitchingAnimation:t})}));return{referenceDate:g,calendarState:b,changeMonth:T,changeFocusedDay:M,isDateDisabled:C,onMonthSwitchingAnimationEnd:k,handleChangeMonth:A}};var Wt=n(8166),jt=n(7191);const Bt=e=>(0,oe.Ay)("MuiPickersFadeTransitionGroup",e),zt=((0,ne.A)("MuiPickersFadeTransitionGroup",["root"]),(0,te.Ay)(Wt.A,{name:"MuiPickersFadeTransitionGroup",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"block",position:"relative"}));function Ht(e){const t=(0,h.A)({props:e,name:"MuiPickersFadeTransitionGroup"}),{children:n,className:o,reduceAnimations:a,transKey:r}=t,i=(e=>{const{classes:t}=e;return(0,_.A)({root:["root"]},Bt,t)})(t),s=(0,C.A)();return a?n:(0,se.jsx)(zt,{className:(0,G.A)(i.root,o),children:(0,se.jsx)(jt.A,{appear:!1,mountOnEnter:!0,unmountOnExit:!0,timeout:{appear:s.transitions.duration.enteringScreen,enter:s.transitions.duration.enteringScreen,exit:0},children:n},r)})}var Yt=n(7497);function Ut(e){return(0,oe.Ay)("MuiPickersDay",e)}const qt=(0,ne.A)("MuiPickersDay",["root","dayWithMargin","dayOutsideMonth","hiddenDaySpacingFiller","today","selected","disabled"]),Xt=["autoFocus","className","day","disabled","disableHighlightToday","disableMargin","hidden","isAnimating","onClick","onDaySelect","onFocus","onBlur","onKeyDown","onMouseDown","onMouseEnter","outsideCurrentMonth","selected","showDaysOutsideCurrentMonth","children","today","isFirstVisibleCell","isLastVisibleCell"],Qt=e=>{let{theme:t,ownerState:n}=e;return(0,o.A)({},t.typography.caption,{width:xt.B3,height:xt.B3,borderRadius:"50%",padding:0,backgroundColor:"transparent",transition:t.transitions.create("background-color",{duration:t.transitions.duration.short}),color:(t.vars||t).palette.text.primary,"@media (pointer: fine)":{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,Yt.X4)(t.palette.primary.main,t.palette.action.hoverOpacity)}},"&:focus":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.focusOpacity,")"):(0,Yt.X4)(t.palette.primary.main,t.palette.action.focusOpacity),["&.".concat(qt.selected)]:{willChange:"background-color",backgroundColor:(t.vars||t).palette.primary.dark}},["&.".concat(qt.selected)]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.main,fontWeight:t.typography.fontWeightMedium,"&:hover":{willChange:"background-color",backgroundColor:(t.vars||t).palette.primary.dark}},["&.".concat(qt.disabled,":not(.").concat(qt.selected,")")]:{color:(t.vars||t).palette.text.disabled},["&.".concat(qt.disabled,"&.").concat(qt.selected)]:{opacity:.6}},!n.disableMargin&&{margin:"0 ".concat(xt.y0,"px")},n.outsideCurrentMonth&&n.showDaysOutsideCurrentMonth&&{color:(t.vars||t).palette.text.secondary},!n.disableHighlightToday&&n.today&&{["&:not(.".concat(qt.selected,")")]:{border:"1px solid ".concat((t.vars||t).palette.text.secondary)}})},Kt=(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableMargin&&t.dayWithMargin,!n.disableHighlightToday&&n.today&&t.today,!n.outsideCurrentMonth&&n.showDaysOutsideCurrentMonth&&t.dayOutsideMonth,n.outsideCurrentMonth&&!n.showDaysOutsideCurrentMonth&&t.hiddenDaySpacingFiller]},Gt=(0,te.Ay)(ge.A,{name:"MuiPickersDay",slot:"Root",overridesResolver:Kt})(Qt),_t=(0,te.Ay)("div",{name:"MuiPickersDay",slot:"Root",overridesResolver:Kt})((e=>{let{theme:t,ownerState:n}=e;return(0,o.A)({},Qt({theme:t,ownerState:n}),{opacity:0,pointerEvents:"none"})})),Zt=()=>{},$t=r.forwardRef((function(e,t){const n=(0,h.A)({props:e,name:"MuiPickersDay"}),{autoFocus:i=!1,className:l,day:c,disabled:u=!1,disableHighlightToday:d=!1,disableMargin:m=!1,isAnimating:p,onClick:f,onDaySelect:v,onFocus:g=Zt,onBlur:b=Zt,onKeyDown:y=Zt,onMouseDown:w=Zt,onMouseEnter:A=Zt,outsideCurrentMonth:x,selected:C=!1,showDaysOutsideCurrentMonth:k=!1,children:M,today:P=!1}=n,S=(0,a.A)(n,Xt),V=(0,o.A)({},n,{autoFocus:i,disabled:u,disableHighlightToday:d,disableMargin:m,selected:C,showDaysOutsideCurrentMonth:k,today:P}),N=(e=>{const{selected:t,disableMargin:n,disableHighlightToday:o,today:a,disabled:r,outsideCurrentMonth:i,showDaysOutsideCurrentMonth:s,classes:l}=e,c=i&&!s,u={root:["root",t&&!c&&"selected",r&&"disabled",!n&&"dayWithMargin",!o&&a&&"today",i&&s&&"dayOutsideMonth",c&&"hiddenDaySpacingFiller"],hiddenDaySpacingFiller:["hiddenDaySpacingFiller"]};return(0,_.A)(u,Ut,l)})(V),I=(0,D.hc)(),R=r.useRef(null),O=(0,T.A)(R,t);(0,s.A)((()=>{!i||u||p||x||R.current.focus()}),[i,u,p,x]);return x&&!k?(0,se.jsx)(_t,{className:(0,G.A)(N.root,N.hiddenDaySpacingFiller,l),ownerState:V,role:S.role}):(0,se.jsx)(Gt,(0,o.A)({className:(0,G.A)(N.root,l),ref:O,centerRipple:!0,disabled:u,tabIndex:C?0:-1,onKeyDown:e=>y(e,c),onFocus:e=>g(e,c),onBlur:e=>b(e,c),onMouseEnter:e=>A(e,c),onClick:e=>{u||v(c),x&&e.currentTarget.focus(),f&&f(e)},onMouseDown:e=>{w(e),x&&e.preventDefault()}},S,{ownerState:V,children:M||I.format(c,"dayOfMonth")}))})),Jt=r.memo($t);var en=n(7387);function tn(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var nn=n(7279),on=n(385),an=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return o=t,void((n=e).classList?n.classList.remove(o):"string"===typeof n.className?n.className=tn(n.className,o):n.setAttribute("class",tn(n.className&&n.className.baseVal||"",o)));var n,o}))},rn=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),a=0;a(0,oe.Ay)("MuiPickersSlideTransition",e),cn=(0,ne.A)("MuiPickersSlideTransition",["root","slideEnter-left","slideEnter-right","slideEnterActive","slideExit","slideExitActiveLeft-left","slideExitActiveLeft-right"]),un=["children","className","reduceAnimations","slideDirection","transKey","classes"],dn=(0,te.Ay)(Wt.A,{name:"MuiPickersSlideTransition",slot:"Root",overridesResolver:(e,t)=>[t.root,{[".".concat(cn["slideEnter-left"])]:t["slideEnter-left"]},{[".".concat(cn["slideEnter-right"])]:t["slideEnter-right"]},{[".".concat(cn.slideEnterActive)]:t.slideEnterActive},{[".".concat(cn.slideExit)]:t.slideExit},{[".".concat(cn["slideExitActiveLeft-left"])]:t["slideExitActiveLeft-left"]},{[".".concat(cn["slideExitActiveLeft-right"])]:t["slideExitActiveLeft-right"]}]})((e=>{let{theme:t}=e;const n=t.transitions.create("transform",{duration:t.transitions.duration.complex,easing:"cubic-bezier(0.35, 0.8, 0.4, 1)"});return{display:"block",position:"relative",overflowX:"hidden","& > *":{position:"absolute",top:0,right:0,left:0},["& .".concat(cn["slideEnter-left"])]:{willChange:"transform",transform:"translate(100%)",zIndex:1},["& .".concat(cn["slideEnter-right"])]:{willChange:"transform",transform:"translate(-100%)",zIndex:1},["& .".concat(cn.slideEnterActive)]:{transform:"translate(0%)",transition:n},["& .".concat(cn.slideExit)]:{transform:"translate(0%)"},["& .".concat(cn["slideExitActiveLeft-left"])]:{willChange:"transform",transform:"translate(-100%)",transition:n,zIndex:0},["& .".concat(cn["slideExitActiveLeft-right"])]:{willChange:"transform",transform:"translate(100%)",transition:n,zIndex:0}}}));const mn=e=>(0,oe.Ay)("MuiDayCalendar",e),pn=((0,ne.A)("MuiDayCalendar",["root","header","weekDayLabel","loadingContainer","slideTransition","monthContainer","weekContainer","weekNumberLabel","weekNumber"]),["parentProps","day","focusableDay","selectedDays","isDateDisabled","currentMonthNumber","isViewFocused"]),hn=["ownerState"],fn=6*(xt.B3+2*xt.y0),vn=(0,te.Ay)("div",{name:"MuiDayCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),gn=(0,te.Ay)("div",{name:"MuiDayCalendar",slot:"Header",overridesResolver:(e,t)=>t.header})({display:"flex",justifyContent:"center",alignItems:"center"}),bn=(0,te.Ay)($.A,{name:"MuiDayCalendar",slot:"WeekDayLabel",overridesResolver:(e,t)=>t.weekDayLabel})((e=>{let{theme:t}=e;return{width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:(t.vars||t).palette.text.secondary}})),yn=(0,te.Ay)($.A,{name:"MuiDayCalendar",slot:"WeekNumberLabel",overridesResolver:(e,t)=>t.weekNumberLabel})((e=>{let{theme:t}=e;return{width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:t.palette.text.disabled}})),wn=(0,te.Ay)($.A,{name:"MuiDayCalendar",slot:"WeekNumber",overridesResolver:(e,t)=>t.weekNumber})((e=>{let{theme:t}=e;return(0,o.A)({},t.typography.caption,{width:xt.B3,height:xt.B3,padding:0,margin:"0 ".concat(xt.y0,"px"),color:t.palette.text.disabled,fontSize:"0.75rem",alignItems:"center",justifyContent:"center",display:"inline-flex"})})),An=(0,te.Ay)("div",{name:"MuiDayCalendar",slot:"LoadingContainer",overridesResolver:(e,t)=>t.loadingContainer})({display:"flex",justifyContent:"center",alignItems:"center",minHeight:fn}),xn=(0,te.Ay)((function(e){const t=(0,h.A)({props:e,name:"MuiPickersSlideTransition"}),{children:n,className:i,reduceAnimations:s,transKey:l}=t,c=(0,a.A)(t,un),u=(e=>{const{classes:t,slideDirection:n}=e,o={root:["root"],exit:["slideExit"],enterActive:["slideEnterActive"],enter:["slideEnter-".concat(n)],exitActive:["slideExitActiveLeft-".concat(n)]};return(0,_.A)(o,ln,t)})(t),d=(0,C.A)();if(s)return(0,se.jsx)("div",{className:(0,G.A)(u.root,i),children:n});const m={exit:u.exit,enterActive:u.enterActive,enter:u.enter,exitActive:u.exitActive};return(0,se.jsx)(dn,{className:(0,G.A)(u.root,i),childFactory:e=>r.cloneElement(e,{classNames:m}),role:"presentation",children:(0,se.jsx)(sn,(0,o.A)({mountOnEnter:!0,unmountOnExit:!0,timeout:d.transitions.duration.complex,classNames:m},c,{children:n}),l)})}),{name:"MuiDayCalendar",slot:"SlideTransition",overridesResolver:(e,t)=>t.slideTransition})({minHeight:fn}),Tn=(0,te.Ay)("div",{name:"MuiDayCalendar",slot:"MonthContainer",overridesResolver:(e,t)=>t.monthContainer})({overflow:"hidden"}),Cn=(0,te.Ay)("div",{name:"MuiDayCalendar",slot:"WeekContainer",overridesResolver:(e,t)=>t.weekContainer})({margin:"".concat(xt.y0,"px 0"),display:"flex",justifyContent:"center"});function Dn(e){var t,n,i;let{parentProps:s,day:l,focusableDay:c,selectedDays:u,isDateDisabled:d,currentMonthNumber:m,isViewFocused:p}=e,h=(0,a.A)(e,pn);const{disabled:f,disableHighlightToday:v,isMonthSwitchingAnimating:g,showDaysOutsideCurrentMonth:b,components:y,componentsProps:w,slots:x,slotProps:T,timezone:C}=s,k=(0,D.hc)(),M=(0,D.cB)(C),P=null!==c&&k.isSameDay(l,c),S=u.some((e=>k.isSameDay(e,l))),V=k.isSameDay(l,M),N=null!=(t=null!=(n=null==x?void 0:x.day)?n:null==y?void 0:y.Day)?t:Jt,I=(0,A.Q)({elementType:N,externalSlotProps:null!=(i=null==T?void 0:T.day)?i:null==w?void 0:w.day,additionalProps:(0,o.A)({disableHighlightToday:v,showDaysOutsideCurrentMonth:b,role:"gridcell",isAnimating:g,"data-timestamp":k.toJsDate(l).valueOf()},h),ownerState:(0,o.A)({},s,{day:l,selected:S})}),R=(0,a.A)(I,hn),O=r.useMemo((()=>f||d(l)),[f,d,l]),E=r.useMemo((()=>k.getMonth(l)!==m),[k,l,m]),F=r.useMemo((()=>{const e=k.startOfMonth(k.setMonth(l,m));return b?k.isSameDay(l,k.startOfWeek(e)):k.isSameDay(l,e)}),[m,l,b,k]),L=r.useMemo((()=>{const e=k.endOfMonth(k.setMonth(l,m));return b?k.isSameDay(l,k.endOfWeek(e)):k.isSameDay(l,e)}),[m,l,b,k]);return(0,se.jsx)(N,(0,o.A)({},R,{day:l,disabled:O,autoFocus:p&&P,today:V,outsideCurrentMonth:E,isFirstVisibleCell:F,isLastVisibleCell:L,selected:S,tabIndex:P?0:-1,"aria-selected":S,"aria-current":V?"date":void 0}))}function kn(e){const t=(0,h.A)({props:e,name:"MuiDayCalendar"}),{onFocusedDayChange:n,className:a,currentMonth:i,selectedDays:s,focusedDay:l,loading:c,onSelectedDaysChange:u,onMonthSwitchingAnimationEnd:d,readOnly:m,reduceAnimations:p,renderLoading:f=(()=>(0,se.jsx)("span",{children:"..."})),slideDirection:v,TransitionProps:g,disablePast:b,disableFuture:y,minDate:w,maxDate:A,shouldDisableDate:T,shouldDisableMonth:k,shouldDisableYear:M,dayOfWeekFormatter:S,hasFocus:V,onFocusedViewChange:N,gridLabelId:I,displayWeekNumber:R,fixedWeekNumber:O,autoFocus:E,timezone:F}=t,W=(0,D.cB)(F),j=(0,D.hc)(),B=(e=>{const{classes:t}=e;return(0,_.A)({root:["root"],header:["header"],weekDayLabel:["weekDayLabel"],loadingContainer:["loadingContainer"],slideTransition:["slideTransition"],monthContainer:["monthContainer"],weekContainer:["weekContainer"],weekNumberLabel:["weekNumberLabel"],weekNumber:["weekNumber"]},mn,t)})(t),z="rtl"===(0,C.A)().direction,H=S||((e,t)=>j.format(t,"weekdayShort").charAt(0).toUpperCase()),Y=Ft({shouldDisableDate:T,shouldDisableMonth:k,shouldDisableYear:M,minDate:w,maxDate:A,disablePast:b,disableFuture:y,timezone:F}),U=(0,D.Nq)(),[q,X]=(0,P.A)({name:"DayCalendar",state:"hasFocus",controlled:V,default:null!=E&&E}),[Q,K]=r.useState((()=>l||W)),Z=(0,x.A)((e=>{m||u(e)})),$=e=>{Y(e)||(n(e),K(e),null==N||N(!0),X(!0))},J=(0,x.A)(((e,t)=>{switch(e.key){case"ArrowUp":$(j.addDays(t,-7)),e.preventDefault();break;case"ArrowDown":$(j.addDays(t,7)),e.preventDefault();break;case"ArrowLeft":{const n=j.addDays(t,z?1:-1),o=j.addMonths(t,z?1:-1),a=(0,L.il)({utils:j,date:n,minDate:z?n:j.startOfMonth(o),maxDate:z?j.endOfMonth(o):n,isDateDisabled:Y,timezone:F});$(a||n),e.preventDefault();break}case"ArrowRight":{const n=j.addDays(t,z?-1:1),o=j.addMonths(t,z?-1:1),a=(0,L.il)({utils:j,date:n,minDate:z?j.startOfMonth(o):n,maxDate:z?n:j.endOfMonth(o),isDateDisabled:Y,timezone:F});$(a||n),e.preventDefault();break}case"Home":$(j.startOfWeek(t)),e.preventDefault();break;case"End":$(j.endOfWeek(t)),e.preventDefault();break;case"PageUp":$(j.addMonths(t,1)),e.preventDefault();break;case"PageDown":$(j.addMonths(t,-1)),e.preventDefault()}})),ee=(0,x.A)(((e,t)=>$(t))),te=(0,x.A)(((e,t)=>{q&&j.isSameDay(Q,t)&&(null==N||N(!1))})),ne=j.getMonth(i),oe=r.useMemo((()=>s.filter((e=>!!e)).map((e=>j.startOfDay(e)))),[j,s]),ae=ne,re=r.useMemo((()=>r.createRef()),[ae]),ie=j.startOfWeek(W),le=r.useMemo((()=>{const e=j.startOfMonth(i),t=j.endOfMonth(i);return Y(Q)||j.isAfterDay(Q,t)||j.isBeforeDay(Q,e)?(0,L.il)({utils:j,date:Q,minDate:e,maxDate:t,disablePast:b,disableFuture:y,isDateDisabled:Y,timezone:F}):Q}),[i,y,b,Q,Y,j,F]),ce=r.useMemo((()=>{const e=j.setTimezone(i,F),t=j.getWeekArray(e);let n=j.addMonths(e,1);for(;O&&t.length{t.length{var n;const o=j.format(e,"weekdayShort");return(0,se.jsx)(bn,{variant:"caption",role:"columnheader","aria-label":j.format(j.addDays(ie,t),"weekday"),className:B.weekDayLabel,children:null!=(n=null==H?void 0:H(o,e))?n:o},o+t.toString())}))]}),c?(0,se.jsx)(An,{className:B.loadingContainer,children:f()}):(0,se.jsx)(xn,(0,o.A)({transKey:ae,onExited:d,reduceAnimations:p,slideDirection:v,className:(0,G.A)(a,B.slideTransition)},g,{nodeRef:re,children:(0,se.jsx)(Tn,{ref:re,role:"rowgroup",className:B.monthContainer,children:ce.map(((e,n)=>(0,se.jsxs)(Cn,{role:"row",className:B.weekContainer,"aria-rowindex":n+1,children:[R&&(0,se.jsx)(wn,{className:B.weekNumber,role:"rowheader","aria-label":U.calendarWeekNumberAriaLabelText(j.getWeekNumber(e[0])),children:U.calendarWeekNumberText(j.getWeekNumber(e[0]))}),e.map(((e,n)=>(0,se.jsx)(Dn,{parentProps:t,day:e,selectedDays:oe,focusableDay:le,onKeyDown:J,onFocus:ee,onBlur:te,onDaySelect:Z,isDateDisabled:Y,currentMonthNumber:ne,isViewFocused:q,"aria-colindex":n+1},e.toString())))]},"week-".concat(e[0]))))})}))]})}var Mn=n(7148);function Pn(e){return(0,oe.Ay)("MuiPickersMonth",e)}const Sn=(0,ne.A)("MuiPickersMonth",["root","monthButton","disabled","selected"]),Vn=["autoFocus","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","aria-label","monthsPerRow"],Nn=(0,te.Ay)("div",{name:"MuiPickersMonth",slot:"Root",overridesResolver:(e,t)=>[t.root]})((e=>{let{ownerState:t}=e;return{flexBasis:3===t.monthsPerRow?"33.3%":"25%",display:"flex",alignItems:"center",justifyContent:"center"}})),In=(0,te.Ay)("button",{name:"MuiPickersMonth",slot:"MonthButton",overridesResolver:(e,t)=>[t.monthButton,{["&.".concat(Sn.disabled)]:t.disabled},{["&.".concat(Sn.selected)]:t.selected}]})((e=>{let{theme:t}=e;return(0,o.A)({color:"unset",backgroundColor:"transparent",border:0,outline:0},t.typography.subtitle1,{margin:"8px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,Yt.X4)(t.palette.action.active,t.palette.action.hoverOpacity)},"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,Yt.X4)(t.palette.action.active,t.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},["&.".concat(Sn.disabled)]:{color:(t.vars||t).palette.text.secondary},["&.".concat(Sn.selected)]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.main,"&:focus, &:hover":{backgroundColor:(t.vars||t).palette.primary.dark}}})})),Rn=r.memo((function(e){const t=(0,h.A)({props:e,name:"MuiPickersMonth"}),{autoFocus:n,children:i,disabled:l,selected:c,value:u,tabIndex:d,onClick:m,onKeyDown:p,onFocus:f,onBlur:v,"aria-current":g,"aria-label":b}=t,y=(0,a.A)(t,Vn),w=r.useRef(null),A=(e=>{const{disabled:t,selected:n,classes:o}=e,a={root:["root"],monthButton:["monthButton",t&&"disabled",n&&"selected"]};return(0,_.A)(a,Pn,o)})(t);return(0,s.A)((()=>{var e;n&&(null==(e=w.current)||e.focus())}),[n]),(0,se.jsx)(Nn,(0,o.A)({className:A.root,ownerState:t},y,{children:(0,se.jsx)(In,{ref:w,disabled:l,type:"button",role:"radio",tabIndex:l?-1:d,"aria-current":g,"aria-checked":c,"aria-label":b,onClick:e=>m(e,u),onKeyDown:e=>p(e,u),onFocus:e=>f(e,u),onBlur:e=>v(e,u),className:A.monthButton,ownerState:t,children:i})}))}));function On(e){return(0,oe.Ay)("MuiMonthCalendar",e)}(0,ne.A)("MuiMonthCalendar",["root"]);const En=["className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","shouldDisableMonth","readOnly","disableHighlightToday","autoFocus","onMonthFocus","hasFocus","onFocusedViewChange","monthsPerRow","timezone","gridLabelId"];const Fn=(0,te.Ay)("div",{name:"MuiMonthCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexWrap:"wrap",alignContent:"stretch",padding:"0 4px",width:xt.eX,boxSizing:"border-box"}),Ln=r.forwardRef((function(e,t){const n=function(e,t){const n=(0,D.hc)(),a=(0,D.Yg)(),r=(0,h.A)({props:e,name:t});return(0,o.A)({disableFuture:!1,disablePast:!1},r,{minDate:(0,L.IP)(n,r.minDate,a.minDate),maxDate:(0,L.IP)(n,r.maxDate,a.maxDate)})}(e,"MuiMonthCalendar"),{className:i,value:s,defaultValue:l,referenceDate:c,disabled:u,disableFuture:d,disablePast:m,maxDate:p,minDate:f,onChange:v,shouldDisableMonth:g,readOnly:b,disableHighlightToday:w,autoFocus:A=!1,onMonthFocus:T,hasFocus:C,onFocusedViewChange:k,monthsPerRow:M=3,timezone:N,gridLabelId:I}=n,R=(0,a.A)(n,En),{value:O,handleValueChange:E,timezone:F}=(0,S.Y)({name:"MonthCalendar",timezone:N,value:s,defaultValue:l,onChange:v,valueManager:y.W}),W=(0,D.cB)(F),j=(0,Mn.A)(),B=(0,D.hc)(),z=r.useMemo((()=>y.W.getInitialReferenceValue({value:O,utils:B,props:n,timezone:F,referenceDate:c,granularity:V.yX.month})),[]),H=n,Y=(e=>{const{classes:t}=e;return(0,_.A)({root:["root"]},On,t)})(H),U=r.useMemo((()=>B.getMonth(W)),[B,W]),q=r.useMemo((()=>null!=O?B.getMonth(O):w?null:B.getMonth(z)),[O,B,w,z]),[X,Q]=r.useState((()=>q||U)),[K,Z]=(0,P.A)({name:"MonthCalendar",state:"hasFocus",controlled:C,default:null!=A&&A}),$=(0,x.A)((e=>{Z(e),k&&k(e)})),J=r.useCallback((e=>{const t=B.startOfMonth(m&&B.isAfter(W,f)?W:f),n=B.startOfMonth(d&&B.isBefore(W,p)?W:p),o=B.startOfMonth(e);return!!B.isBefore(o,t)||(!!B.isAfter(o,n)||!!g&&g(o))}),[d,m,p,f,W,g,B]),ee=(0,x.A)(((e,t)=>{if(b)return;const n=B.setMonth(null!=O?O:z,t);E(n)})),te=(0,x.A)((e=>{J(B.setMonth(null!=O?O:z,e))||(Q(e),$(!0),T&&T(e))}));r.useEffect((()=>{Q((e=>null!==q&&e!==q?q:e))}),[q]);const ne=(0,x.A)(((e,t)=>{const n=12;switch(e.key){case"ArrowUp":te((n+t-3)%n),e.preventDefault();break;case"ArrowDown":te((n+t+3)%n),e.preventDefault();break;case"ArrowLeft":te((n+t+("ltr"===j.direction?-1:1))%n),e.preventDefault();break;case"ArrowRight":te((n+t+("ltr"===j.direction?1:-1))%n),e.preventDefault()}})),oe=(0,x.A)(((e,t)=>{te(t)})),ae=(0,x.A)(((e,t)=>{X===t&&$(!1)}));return(0,se.jsx)(Fn,(0,o.A)({ref:t,className:(0,G.A)(Y.root,i),ownerState:H,role:"radiogroup","aria-labelledby":I},R,{children:(0,L.YQ)(B,null!=O?O:z).map((e=>{const t=B.getMonth(e),n=B.format(e,"monthShort"),o=B.format(e,"month"),a=t===q,r=u||J(e);return(0,se.jsx)(Rn,{selected:a,value:t,onClick:ee,onKeyDown:ne,autoFocus:K&&t===X,disabled:r,tabIndex:t===X?0:-1,onFocus:oe,onBlur:ae,"aria-current":U===t?"date":void 0,"aria-label":o,monthsPerRow:M,children:n},n)}))}))}));function Wn(e){return(0,oe.Ay)("MuiPickersYear",e)}const jn=(0,ne.A)("MuiPickersYear",["root","yearButton","selected","disabled"]),Bn=["autoFocus","className","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","yearsPerRow"],zn=(0,te.Ay)("div",{name:"MuiPickersYear",slot:"Root",overridesResolver:(e,t)=>[t.root]})((e=>{let{ownerState:t}=e;return{flexBasis:3===t.yearsPerRow?"33.3%":"25%",display:"flex",alignItems:"center",justifyContent:"center"}})),Hn=(0,te.Ay)("button",{name:"MuiPickersYear",slot:"YearButton",overridesResolver:(e,t)=>[t.yearButton,{["&.".concat(jn.disabled)]:t.disabled},{["&.".concat(jn.selected)]:t.selected}]})((e=>{let{theme:t}=e;return(0,o.A)({color:"unset",backgroundColor:"transparent",border:0,outline:0},t.typography.subtitle1,{margin:"6px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.focusOpacity,")"):(0,Yt.X4)(t.palette.action.active,t.palette.action.focusOpacity)},"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,Yt.X4)(t.palette.action.active,t.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},["&.".concat(jn.disabled)]:{color:(t.vars||t).palette.text.secondary},["&.".concat(jn.selected)]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.main,"&:focus, &:hover":{backgroundColor:(t.vars||t).palette.primary.dark}}})})),Yn=r.memo((function(e){const t=(0,h.A)({props:e,name:"MuiPickersYear"}),{autoFocus:n,className:i,children:s,disabled:l,selected:c,value:u,tabIndex:d,onClick:m,onKeyDown:p,onFocus:f,onBlur:v,"aria-current":g}=t,b=(0,a.A)(t,Bn),y=r.useRef(null),w=(e=>{const{disabled:t,selected:n,classes:o}=e,a={root:["root"],yearButton:["yearButton",t&&"disabled",n&&"selected"]};return(0,_.A)(a,Wn,o)})(t);return r.useEffect((()=>{n&&y.current.focus()}),[n]),(0,se.jsx)(zn,(0,o.A)({className:(0,G.A)(w.root,i),ownerState:t},b,{children:(0,se.jsx)(Hn,{ref:y,disabled:l,type:"button",role:"radio",tabIndex:l?-1:d,"aria-current":g,"aria-checked":c,onClick:e=>m(e,u),onKeyDown:e=>p(e,u),onFocus:e=>f(e,u),onBlur:e=>v(e,u),className:w.yearButton,ownerState:t,children:s})}))}));function Un(e){return(0,oe.Ay)("MuiYearCalendar",e)}(0,ne.A)("MuiYearCalendar",["root"]);const qn=["autoFocus","className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","readOnly","shouldDisableYear","disableHighlightToday","onYearFocus","hasFocus","onFocusedViewChange","yearsPerRow","timezone","gridLabelId"];const Xn=(0,te.Ay)("div",{name:"MuiYearCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"row",flexWrap:"wrap",overflowY:"auto",height:"100%",padding:"0 4px",width:xt.eX,maxHeight:xt.Yq,boxSizing:"border-box",position:"relative"}),Qn=r.forwardRef((function(e,t){const n=function(e,t){var n;const a=(0,D.hc)(),r=(0,D.Yg)(),i=(0,h.A)({props:e,name:t});return(0,o.A)({disablePast:!1,disableFuture:!1},i,{yearsPerRow:null!=(n=i.yearsPerRow)?n:3,minDate:(0,L.IP)(a,i.minDate,r.minDate),maxDate:(0,L.IP)(a,i.maxDate,r.maxDate)})}(e,"MuiYearCalendar"),{autoFocus:i,className:s,value:l,defaultValue:c,referenceDate:u,disabled:d,disableFuture:m,disablePast:p,maxDate:f,minDate:v,onChange:g,readOnly:b,shouldDisableYear:w,disableHighlightToday:A,onYearFocus:C,hasFocus:k,onFocusedViewChange:M,yearsPerRow:N,timezone:I,gridLabelId:R}=n,O=(0,a.A)(n,qn),{value:E,handleValueChange:F,timezone:W}=(0,S.Y)({name:"YearCalendar",timezone:I,value:l,defaultValue:c,onChange:g,valueManager:y.W}),j=(0,D.cB)(W),B=(0,Mn.A)(),z=(0,D.hc)(),H=r.useMemo((()=>y.W.getInitialReferenceValue({value:E,utils:z,props:n,timezone:W,referenceDate:u,granularity:V.yX.year})),[]),Y=n,U=(e=>{const{classes:t}=e;return(0,_.A)({root:["root"]},Un,t)})(Y),q=r.useMemo((()=>z.getYear(j)),[z,j]),X=r.useMemo((()=>null!=E?z.getYear(E):A?null:z.getYear(H)),[E,z,A,H]),[Q,K]=r.useState((()=>X||q)),[Z,$]=(0,P.A)({name:"YearCalendar",state:"hasFocus",controlled:k,default:null!=i&&i}),J=(0,x.A)((e=>{$(e),M&&M(e)})),ee=r.useCallback((e=>{if(p&&z.isBeforeYear(e,j))return!0;if(m&&z.isAfterYear(e,j))return!0;if(v&&z.isBeforeYear(e,v))return!0;if(f&&z.isAfterYear(e,f))return!0;if(!w)return!1;const t=z.startOfYear(e);return w(t)}),[m,p,f,v,j,w,z]),te=(0,x.A)(((e,t)=>{if(b)return;const n=z.setYear(null!=E?E:H,t);F(n)})),ne=(0,x.A)((e=>{ee(z.setYear(null!=E?E:H,e))||(K(e),J(!0),null==C||C(e))}));r.useEffect((()=>{K((e=>null!==X&&e!==X?X:e))}),[X]);const oe=(0,x.A)(((e,t)=>{switch(e.key){case"ArrowUp":ne(t-N),e.preventDefault();break;case"ArrowDown":ne(t+N),e.preventDefault();break;case"ArrowLeft":ne(t+("ltr"===B.direction?-1:1)),e.preventDefault();break;case"ArrowRight":ne(t+("ltr"===B.direction?1:-1)),e.preventDefault()}})),ae=(0,x.A)(((e,t)=>{ne(t)})),re=(0,x.A)(((e,t)=>{Q===t&&J(!1)})),ie=r.useRef(null),le=(0,T.A)(t,ie);return r.useEffect((()=>{if(i||null===ie.current)return;const e=ie.current.querySelector('[tabindex="0"]');if(!e)return;const t=e.offsetHeight,n=e.offsetTop,o=ie.current.clientHeight,a=ie.current.scrollTop,r=n+t;t>o||n{const t=z.getYear(e),n=t===X,o=d||ee(e);return(0,se.jsx)(Yn,{selected:n,value:t,onClick:te,onKeyDown:oe,autoFocus:Z&&t===Q,disabled:o,tabIndex:t===Q?0:-1,onFocus:ae,onBlur:re,"aria-current":q===t?"date":void 0,yearsPerRow:N,children:z.format(e,"year")},z.format(e,"year"))}))}))}));var Kn=n(8477),Gn=n(7969);const _n=e=>(0,oe.Ay)("MuiPickersCalendarHeader",e),Zn=(0,ne.A)("MuiPickersCalendarHeader",["root","labelContainer","label","switchViewButton","switchViewIcon"]),$n=["slots","slotProps","components","componentsProps","currentMonth","disabled","disableFuture","disablePast","maxDate","minDate","onMonthChange","onViewChange","view","reduceAnimations","views","labelId","className","timezone"],Jn=["ownerState"],eo=(0,te.Ay)("div",{name:"MuiPickersCalendarHeader",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",alignItems:"center",marginTop:16,marginBottom:8,paddingLeft:24,paddingRight:12,maxHeight:30,minHeight:30}),to=(0,te.Ay)("div",{name:"MuiPickersCalendarHeader",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})((e=>{let{theme:t}=e;return(0,o.A)({display:"flex",overflow:"hidden",alignItems:"center",cursor:"pointer",marginRight:"auto"},t.typography.body1,{fontWeight:t.typography.fontWeightMedium})})),no=(0,te.Ay)("div",{name:"MuiPickersCalendarHeader",slot:"Label",overridesResolver:(e,t)=>t.label})({marginRight:6}),oo=(0,te.Ay)(K.A,{name:"MuiPickersCalendarHeader",slot:"SwitchViewButton",overridesResolver:(e,t)=>t.switchViewButton})((e=>{let{ownerState:t}=e;return(0,o.A)({marginRight:"auto"},"year"===t.view&&{[".".concat(Zn.switchViewIcon)]:{transform:"rotate(180deg)"}})})),ao=(0,te.Ay)(de.iV,{name:"MuiPickersCalendarHeader",slot:"SwitchViewIcon",overridesResolver:(e,t)=>t.switchViewIcon})((e=>{let{theme:t}=e;return{willChange:"transform",transition:t.transitions.create("transform"),transform:"rotate(0deg)"}})),ro=r.forwardRef((function(e,t){var n,r,i,s;const l=(0,D.Nq)(),c=(0,D.hc)(),u=(0,h.A)({props:e,name:"MuiPickersCalendarHeader"}),{slots:d,slotProps:m,components:p,currentMonth:f,disabled:v,disableFuture:g,disablePast:b,maxDate:y,minDate:w,onMonthChange:x,onViewChange:T,view:C,reduceAnimations:k,views:M,labelId:P,className:S,timezone:V}=u,N=(0,a.A)(u,$n),I=u,R=(e=>{const{classes:t}=e;return(0,_.A)({root:["root"],labelContainer:["labelContainer"],label:["label"],switchViewButton:["switchViewButton"],switchViewIcon:["switchViewIcon"]},_n,t)})(u),O=null!=(n=null!=(r=null==d?void 0:d.switchViewButton)?r:null==p?void 0:p.SwitchViewButton)?n:oo,E=(0,A.Q)({elementType:O,externalSlotProps:null==m?void 0:m.switchViewButton,additionalProps:{size:"small","aria-label":l.calendarViewSwitchingButtonAriaLabel(C)},ownerState:I,className:R.switchViewButton}),F=null!=(i=null!=(s=null==d?void 0:d.switchViewIcon)?s:null==p?void 0:p.SwitchViewIcon)?i:ao,L=(0,A.Q)({elementType:F,externalSlotProps:null==m?void 0:m.switchViewIcon,ownerState:void 0,className:R.switchViewIcon}),W=(0,a.A)(L,Jn),j=(0,At.bH)(f,{disableFuture:g,maxDate:y,timezone:V}),B=(0,At.p_)(f,{disablePast:b,minDate:w,timezone:V});return 1===M.length&&"year"===M[0]?null:(0,se.jsxs)(eo,(0,o.A)({},N,{ownerState:I,className:(0,G.A)(S,R.root),ref:t,children:[(0,se.jsxs)(to,{role:"presentation",onClick:()=>{if(1!==M.length&&T&&!v)if(2===M.length)T(M.find((e=>e!==C))||M[0]);else{const e=0!==M.indexOf(C)?0:1;T(M[e])}},ownerState:I,"aria-live":"polite",className:R.labelContainer,children:[(0,se.jsx)(Ht,{reduceAnimations:k,transKey:c.format(f,"monthAndYear"),children:(0,se.jsx)(no,{id:P,ownerState:I,className:R.label,children:c.format(f,"monthAndYear")})}),M.length>1&&!v&&(0,se.jsx)(O,(0,o.A)({},E,{children:(0,se.jsx)(F,(0,o.A)({},W))}))]}),(0,se.jsx)(jt.A,{in:"day"===C,children:(0,se.jsx)(Gn.Y,{slots:d,slotProps:m,onGoToPrevious:()=>x(c.addMonths(f,-1),"right"),isPreviousDisabled:B,previousLabel:l.previousMonth,onGoToNext:()=>x(c.addMonths(f,1),"left"),isNextDisabled:j,nextLabel:l.nextMonth})})]}))}));var io=n(9355);const so="undefined"!==typeof navigator&&navigator.userAgent.match(/android\s(\d+)|OS\s(\d+)/i),lo=so&&so[1]?parseInt(so[1],10):null,co=so&&so[2]?parseInt(so[2],10):null,uo=lo&&lo<10||co&&co<13||!1,mo=()=>p("@media (prefers-reduced-motion: reduce)",{defaultMatches:!1})||uo,po=e=>(0,oe.Ay)("MuiDateCalendar",e),ho=((0,ne.A)("MuiDateCalendar",["root","viewTransitionContainer"]),["autoFocus","onViewChange","value","defaultValue","referenceDate","disableFuture","disablePast","defaultCalendarMonth","onChange","onYearChange","onMonthChange","reduceAnimations","shouldDisableDate","shouldDisableMonth","shouldDisableYear","view","views","openTo","className","disabled","readOnly","minDate","maxDate","disableHighlightToday","focusedView","onFocusedViewChange","showDaysOutsideCurrentMonth","fixedWeekNumber","dayOfWeekFormatter","components","componentsProps","slots","slotProps","loading","renderLoading","displayWeekNumber","yearsPerRow","monthsPerRow","timezone"]);const fo=(0,te.Ay)(io.I,{name:"MuiDateCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"column",height:xt.Y2}),vo=(0,te.Ay)(Ht,{name:"MuiDateCalendar",slot:"ViewTransitionContainer",overridesResolver:(e,t)=>t.viewTransitionContainer})({}),go=r.forwardRef((function(e,t){var n,i,s;const l=(0,D.hc)(),c=(0,Et.A)(),u=function(e,t){var n,a,r,i,s,l,c;const u=(0,D.hc)(),d=(0,D.Yg)(),m=mo(),p=(0,h.A)({props:e,name:t});return(0,o.A)({},p,{loading:null!=(n=p.loading)&&n,disablePast:null!=(a=p.disablePast)&&a,disableFuture:null!=(r=p.disableFuture)&&r,openTo:null!=(i=p.openTo)?i:"day",views:null!=(s=p.views)?s:["year","day"],reduceAnimations:null!=(l=p.reduceAnimations)?l:m,renderLoading:null!=(c=p.renderLoading)?c:()=>(0,se.jsx)("span",{children:"..."}),minDate:(0,L.IP)(u,p.minDate,d.minDate),maxDate:(0,L.IP)(u,p.maxDate,d.maxDate)})}(e,"MuiDateCalendar"),{autoFocus:d,onViewChange:m,value:p,defaultValue:f,referenceDate:v,disableFuture:g,disablePast:b,defaultCalendarMonth:w,onChange:T,onYearChange:C,onMonthChange:k,reduceAnimations:M,shouldDisableDate:P,shouldDisableMonth:V,shouldDisableYear:N,view:I,views:R,openTo:O,className:E,disabled:F,readOnly:W,minDate:j,maxDate:B,disableHighlightToday:z,focusedView:H,onFocusedViewChange:Y,showDaysOutsideCurrentMonth:U,fixedWeekNumber:q,dayOfWeekFormatter:X,components:Q,componentsProps:K,slots:Z,slotProps:$,loading:J,renderLoading:ee,displayWeekNumber:te,yearsPerRow:ne,monthsPerRow:oe,timezone:ae}=u,re=(0,a.A)(u,ho),{value:ie,handleValueChange:le,timezone:ce}=(0,S.Y)({name:"DateCalendar",timezone:ae,value:p,defaultValue:f,onChange:T,valueManager:y.W}),{view:ue,setView:de,focusedView:me,setFocusedView:pe,goToNextView:he,setValueAndGoToNextView:fe}=(0,Kn.o)({view:I,views:R,openTo:O,onChange:le,onViewChange:m,autoFocus:d,focusedView:H,onFocusedViewChange:Y}),{referenceDate:ve,calendarState:ge,changeFocusedDay:be,changeMonth:ye,handleChangeMonth:we,isDateDisabled:Ae,onMonthSwitchingAnimationEnd:xe}=Lt({value:ie,defaultCalendarMonth:w,referenceDate:v,reduceAnimations:M,onMonthChange:k,minDate:j,maxDate:B,shouldDisableDate:P,disablePast:b,disableFuture:g,timezone:ce}),Te=F&&ie||j,Ce=F&&ie||B,De="".concat(c,"-grid-label"),ke=null!==me,Me=null!=(n=null!=(i=null==Z?void 0:Z.calendarHeader)?i:null==Q?void 0:Q.CalendarHeader)?n:ro,Pe=(0,A.Q)({elementType:Me,externalSlotProps:null!=(s=null==$?void 0:$.calendarHeader)?s:null==K?void 0:K.calendarHeader,additionalProps:{views:R,view:ue,currentMonth:ge.currentMonth,onViewChange:de,onMonthChange:(e,t)=>we({newMonth:e,direction:t}),minDate:Te,maxDate:Ce,disabled:F,disablePast:b,disableFuture:g,reduceAnimations:M,timezone:ce,labelId:De,slots:Z,slotProps:$},ownerState:u}),Se=(0,x.A)((e=>{const t=l.startOfMonth(e),n=l.endOfMonth(e),o=Ae(e)?(0,L.il)({utils:l,date:e,minDate:l.isBefore(j,t)?t:j,maxDate:l.isAfter(B,n)?n:B,disablePast:b,disableFuture:g,isDateDisabled:Ae,timezone:ce}):e;o?(fe(o,"finish"),null==k||k(t)):(he(),ye(t)),be(o,!0)})),Ve=(0,x.A)((e=>{const t=l.startOfYear(e),n=l.endOfYear(e),o=Ae(e)?(0,L.il)({utils:l,date:e,minDate:l.isBefore(j,t)?t:j,maxDate:l.isAfter(B,n)?n:B,disablePast:b,disableFuture:g,isDateDisabled:Ae,timezone:ce}):e;o?(fe(o,"finish"),null==C||C(o)):(he(),ye(t)),be(o,!0)})),Ne=(0,x.A)((e=>le(e?(0,L.jH)(l,e,null!=ie?ie:ve):e,"finish",ue)));r.useEffect((()=>{null!=ie&&l.isValid(ie)&&ye(ie)}),[ie]);const Ie=u,Re=(e=>{const{classes:t}=e;return(0,_.A)({root:["root"],viewTransitionContainer:["viewTransitionContainer"]},po,t)})(Ie),Oe={disablePast:b,disableFuture:g,maxDate:B,minDate:j},Ee={disableHighlightToday:z,readOnly:W,disabled:F,timezone:ce,gridLabelId:De},Fe=r.useRef(ue);r.useEffect((()=>{Fe.current!==ue&&(me===Fe.current&&pe(ue,!0),Fe.current=ue)}),[me,pe,ue]);const Le=r.useMemo((()=>[ie]),[ie]);return(0,se.jsxs)(fo,(0,o.A)({ref:t,className:(0,G.A)(Re.root,E),ownerState:Ie},re,{children:[(0,se.jsx)(Me,(0,o.A)({},Pe)),(0,se.jsx)(vo,{reduceAnimations:M,className:Re.viewTransitionContainer,transKey:ue,ownerState:Ie,children:(0,se.jsxs)("div",{children:["year"===ue&&(0,se.jsx)(Qn,(0,o.A)({},Oe,Ee,{value:ie,onChange:Ve,shouldDisableYear:N,hasFocus:ke,onFocusedViewChange:e=>pe("year",e),yearsPerRow:ne,referenceDate:ve})),"month"===ue&&(0,se.jsx)(Ln,(0,o.A)({},Oe,Ee,{hasFocus:ke,className:E,value:ie,onChange:Se,shouldDisableMonth:V,onFocusedViewChange:e=>pe("month",e),monthsPerRow:oe,referenceDate:ve})),"day"===ue&&(0,se.jsx)(kn,(0,o.A)({},ge,Oe,Ee,{onMonthSwitchingAnimationEnd:xe,onFocusedDayChange:be,reduceAnimations:M,selectedDays:Le,onSelectedDaysChange:Ne,shouldDisableDate:P,shouldDisableMonth:V,shouldDisableYear:N,hasFocus:ke,onFocusedViewChange:e=>pe("day",e),showDaysOutsideCurrentMonth:U,fixedWeekNumber:q,dayOfWeekFormatter:X,displayWeekNumber:te,components:Q,componentsProps:K,slots:Z,slotProps:$,loading:J,renderLoading:ee}))]})})]}))})),bo=e=>{let{view:t,onViewChange:n,views:o,focusedView:a,onFocusedViewChange:r,value:i,defaultValue:s,referenceDate:l,onChange:c,className:u,classes:d,disableFuture:m,disablePast:p,minDate:h,maxDate:f,shouldDisableDate:v,shouldDisableMonth:g,shouldDisableYear:b,reduceAnimations:y,onMonthChange:w,monthsPerRow:A,onYearChange:x,yearsPerRow:T,defaultCalendarMonth:C,components:D,componentsProps:k,slots:M,slotProps:P,loading:S,renderLoading:V,disableHighlightToday:N,readOnly:I,disabled:R,showDaysOutsideCurrentMonth:O,dayOfWeekFormatter:E,sx:F,autoFocus:W,fixedWeekNumber:j,displayWeekNumber:B,timezone:z}=e;return(0,se.jsx)(go,{view:t,onViewChange:n,views:o.filter(L.sC),focusedView:a&&(0,L.sC)(a)?a:null,onFocusedViewChange:r,value:i,defaultValue:s,referenceDate:l,onChange:c,className:u,classes:d,disableFuture:m,disablePast:p,minDate:h,maxDate:f,shouldDisableDate:v,shouldDisableMonth:g,shouldDisableYear:b,reduceAnimations:y,onMonthChange:w,monthsPerRow:A,onYearChange:x,yearsPerRow:T,defaultCalendarMonth:C,components:D,componentsProps:k,slots:M,slotProps:P,loading:S,renderLoading:V,disableHighlightToday:N,readOnly:I,disabled:R,showDaysOutsideCurrentMonth:O,dayOfWeekFormatter:E,sx:F,autoFocus:W,fixedWeekNumber:j,displayWeekNumber:B,timezone:z})};var yo=n(4745),wo=n(8070);const Ao=(0,te.Ay)("div")({display:"flex",margin:"0 auto"});var xo=n(3396),To=n(3863);const Co=e=>{let{view:t,onViewChange:n,views:a,focusedView:i,onFocusedViewChange:s,value:l,defaultValue:c,referenceDate:u,onChange:d,className:m,classes:p,disableFuture:h,disablePast:f,minDate:v,minTime:b,maxDate:y,maxTime:w,shouldDisableDate:A,shouldDisableMonth:x,shouldDisableYear:T,shouldDisableTime:C,shouldDisableClock:D,reduceAnimations:k,minutesStep:M,ampm:P,onMonthChange:S,monthsPerRow:V,onYearChange:N,yearsPerRow:I,defaultCalendarMonth:R,components:O,componentsProps:E,slots:F,slotProps:W,loading:B,renderLoading:z,disableHighlightToday:H,readOnly:Y,disabled:U,showDaysOutsideCurrentMonth:q,dayOfWeekFormatter:X,sx:Q,autoFocus:K,fixedWeekNumber:G,displayWeekNumber:_,timezone:Z,disableIgnoringDatePartForTimeValidation:$,timeSteps:J,skipDisabled:ee,timeViewsCount:te,shouldRenderTimeInASingleColumn:ne}=e;var oe,ae;const re=!(null==(oe=(0,g.Y)(null!=(ae=null==W?void 0:W.actionBar)?ae:null==E?void 0:E.actionBar,{}))||null==(oe=oe.actions)||!oe.length),ie={view:(0,j.Sq)(t)?t:"hours",onViewChange:n,focusedView:i&&(0,j.Sq)(i)?i:null,onFocusedViewChange:s,views:a.filter(j.Sq),value:l,defaultValue:c,referenceDate:u,onChange:d,className:m,classes:p,disableFuture:h,disablePast:f,minTime:b,maxTime:w,shouldDisableTime:C,shouldDisableClock:D,minutesStep:M,ampm:P,components:O,componentsProps:E,slots:F,slotProps:W,readOnly:Y,disabled:U,autoFocus:K,disableIgnoringDatePartForTimeValidation:$,timeSteps:J,skipDisabled:ee,timezone:Z};return(0,se.jsxs)(r.Fragment,{children:[(0,se.jsxs)(Ao,{children:[(0,se.jsx)(go,{view:(0,L.sC)(t)?t:"day",onViewChange:n,views:a.filter(L.sC),focusedView:i&&(0,L.sC)(i)?i:null,onFocusedViewChange:s,value:l,defaultValue:c,referenceDate:u,onChange:d,className:m,classes:p,disableFuture:h,disablePast:f,minDate:v,maxDate:y,shouldDisableDate:A,shouldDisableMonth:x,shouldDisableYear:T,reduceAnimations:k,onMonthChange:S,monthsPerRow:V,onYearChange:N,yearsPerRow:I,defaultCalendarMonth:R,components:O,componentsProps:E,slots:F,slotProps:W,loading:B,renderLoading:z,disableHighlightToday:H,readOnly:Y,disabled:U,showDaysOutsideCurrentMonth:q,dayOfWeekFormatter:X,sx:Q,autoFocus:K,fixedWeekNumber:G,displayWeekNumber:_,timezone:Z}),te>0&&(0,se.jsxs)(r.Fragment,{children:[(0,se.jsx)(yo.A,{orientation:"vertical"}),ne?(0,xo.$W)((0,o.A)({},ie,{view:"hours",views:["hours"],focusedView:i&&(0,j.Sq)(i)?"hours":null,sx:(0,o.A)({width:"auto",["&.".concat(To.X.root)]:{maxHeight:xt.Y2}},Array.isArray(Q)?Q:[Q])})):(0,xo.$8)((0,o.A)({},ie,{view:(0,j.Sq)(t)?t:"hours",views:a.filter(j.Sq),focusedView:i&&(0,j.Sq)(i)?i:null,sx:(0,o.A)({borderBottom:0,width:"auto",[".".concat(wo.w.root)]:{maxHeight:"100%"}},Array.isArray(Q)?Q:[Q])}))]})]}),re&&(0,se.jsx)(yo.A,{})]})};var Do=n(165),ko=n(2235),Mo=n(3511);function Po(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function So(e){return e instanceof Po(e).Element||e instanceof Element}function Vo(e){return e instanceof Po(e).HTMLElement||e instanceof HTMLElement}function No(e){return"undefined"!==typeof ShadowRoot&&(e instanceof Po(e).ShadowRoot||e instanceof ShadowRoot)}var Io=Math.max,Ro=Math.min,Oo=Math.round;function Eo(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Fo(){return!/^((?!chrome|android).)*safari/i.test(Eo())}function Lo(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var o=e.getBoundingClientRect(),a=1,r=1;t&&Vo(e)&&(a=e.offsetWidth>0&&Oo(o.width)/e.offsetWidth||1,r=e.offsetHeight>0&&Oo(o.height)/e.offsetHeight||1);var i=(So(e)?Po(e):window).visualViewport,s=!Fo()&&n,l=(o.left+(s&&i?i.offsetLeft:0))/a,c=(o.top+(s&&i?i.offsetTop:0))/r,u=o.width/a,d=o.height/r;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function Wo(e){var t=Po(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function jo(e){return e?(e.nodeName||"").toLowerCase():null}function Bo(e){return((So(e)?e.ownerDocument:e.document)||window.document).documentElement}function zo(e){return Lo(Bo(e)).left+Wo(e).scrollLeft}function Ho(e){return Po(e).getComputedStyle(e)}function Yo(e){var t=Ho(e),n=t.overflow,o=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+o)}function Uo(e,t,n){void 0===n&&(n=!1);var o=Vo(t),a=Vo(t)&&function(e){var t=e.getBoundingClientRect(),n=Oo(t.width)/e.offsetWidth||1,o=Oo(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),r=Bo(t),i=Lo(e,a,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!n)&&(("body"!==jo(t)||Yo(r))&&(s=function(e){return e!==Po(e)&&Vo(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:Wo(e);var t}(t)),Vo(t)?((l=Lo(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):r&&(l.x=zo(r))),{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function qo(e){var t=Lo(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function Xo(e){return"html"===jo(e)?e:e.assignedSlot||e.parentNode||(No(e)?e.host:null)||Bo(e)}function Qo(e){return["html","body","#document"].indexOf(jo(e))>=0?e.ownerDocument.body:Vo(e)&&Yo(e)?e:Qo(Xo(e))}function Ko(e,t){var n;void 0===t&&(t=[]);var o=Qo(e),a=o===(null==(n=e.ownerDocument)?void 0:n.body),r=Po(o),i=a?[r].concat(r.visualViewport||[],Yo(o)?o:[]):o,s=t.concat(i);return a?s:s.concat(Ko(Xo(i)))}function Go(e){return["table","td","th"].indexOf(jo(e))>=0}function _o(e){return Vo(e)&&"fixed"!==Ho(e).position?e.offsetParent:null}function Zo(e){for(var t=Po(e),n=_o(e);n&&Go(n)&&"static"===Ho(n).position;)n=_o(n);return n&&("html"===jo(n)||"body"===jo(n)&&"static"===Ho(n).position)?t:n||function(e){var t=/firefox/i.test(Eo());if(/Trident/i.test(Eo())&&Vo(e)&&"fixed"===Ho(e).position)return null;var n=Xo(e);for(No(n)&&(n=n.host);Vo(n)&&["html","body"].indexOf(jo(n))<0;){var o=Ho(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}var $o="top",Jo="bottom",ea="right",ta="left",na="auto",oa=[$o,Jo,ea,ta],aa="start",ra="end",ia="clippingParents",sa="viewport",la="popper",ca="reference",ua=oa.reduce((function(e,t){return e.concat([t+"-"+aa,t+"-"+ra])}),[]),da=[].concat(oa,[na]).reduce((function(e,t){return e.concat([t,t+"-"+aa,t+"-"+ra])}),[]),ma=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function pa(e){var t=new Map,n=new Set,o=[];function a(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&a(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||a(e)})),o}function ha(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var fa={placement:"bottom",modifiers:[],strategy:"absolute"};function va(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function xa(e){var t,n=e.reference,o=e.element,a=e.placement,r=a?ya(a):null,i=a?wa(a):null,s=n.x+n.width/2-o.width/2,l=n.y+n.height/2-o.height/2;switch(r){case $o:t={x:s,y:n.y-o.height};break;case Jo:t={x:s,y:n.y+n.height};break;case ea:t={x:n.x+n.width,y:l};break;case ta:t={x:n.x-o.width,y:l};break;default:t={x:n.x,y:n.y}}var c=r?Aa(r):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case aa:t[c]=t[c]-(n[u]/2-o[u]/2);break;case ra:t[c]=t[c]+(n[u]/2-o[u]/2)}}return t}var Ta={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ca(e){var t,n=e.popper,o=e.popperRect,a=e.placement,r=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,m=i.x,p=void 0===m?0:m,h=i.y,f=void 0===h?0:h,v="function"===typeof u?u({x:p,y:f}):{x:p,y:f};p=v.x,f=v.y;var g=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),y=ta,w=$o,A=window;if(c){var x=Zo(n),T="clientHeight",C="clientWidth";if(x===Po(n)&&"static"!==Ho(x=Bo(n)).position&&"absolute"===s&&(T="scrollHeight",C="scrollWidth"),a===$o||(a===ta||a===ea)&&r===ra)w=Jo,f-=(d&&x===A&&A.visualViewport?A.visualViewport.height:x[T])-o.height,f*=l?1:-1;if(a===ta||(a===$o||a===Jo)&&r===ra)y=ea,p-=(d&&x===A&&A.visualViewport?A.visualViewport.width:x[C])-o.width,p*=l?1:-1}var D,k=Object.assign({position:s},c&&Ta),M=!0===u?function(e,t){var n=e.x,o=e.y,a=t.devicePixelRatio||1;return{x:Oo(n*a)/a||0,y:Oo(o*a)/a||0}}({x:p,y:f},Po(n)):{x:p,y:f};return p=M.x,f=M.y,l?Object.assign({},k,((D={})[w]=b?"0":"",D[y]=g?"0":"",D.transform=(A.devicePixelRatio||1)<=1?"translate("+p+"px, "+f+"px)":"translate3d("+p+"px, "+f+"px, 0)",D)):Object.assign({},k,((t={})[w]=b?f+"px":"",t[y]=g?p+"px":"",t.transform="",t))}const Da={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,a=n.offset,r=void 0===a?[0,0]:a,i=da.reduce((function(e,n){return e[n]=function(e,t,n){var o=ya(e),a=[ta,$o].indexOf(o)>=0?-1:1,r="function"===typeof n?n(Object.assign({},t,{placement:e})):n,i=r[0],s=r[1];return i=i||0,s=(s||0)*a,[ta,ea].indexOf(o)>=0?{x:s,y:i}:{x:i,y:s}}(n,t.rects,r),e}),{}),s=i[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=i}};var ka={left:"right",right:"left",bottom:"top",top:"bottom"};function Ma(e){return e.replace(/left|right|bottom|top/g,(function(e){return ka[e]}))}var Pa={start:"end",end:"start"};function Sa(e){return e.replace(/start|end/g,(function(e){return Pa[e]}))}function Va(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&No(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Na(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ia(e,t,n){return t===sa?Na(function(e,t){var n=Po(e),o=Bo(e),a=n.visualViewport,r=o.clientWidth,i=o.clientHeight,s=0,l=0;if(a){r=a.width,i=a.height;var c=Fo();(c||!c&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}return{width:r,height:i,x:s+zo(e),y:l}}(e,n)):So(t)?function(e,t){var n=Lo(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Na(function(e){var t,n=Bo(e),o=Wo(e),a=null==(t=e.ownerDocument)?void 0:t.body,r=Io(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Io(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-o.scrollLeft+zo(e),l=-o.scrollTop;return"rtl"===Ho(a||n).direction&&(s+=Io(n.clientWidth,a?a.clientWidth:0)-r),{width:r,height:i,x:s,y:l}}(Bo(e)))}function Ra(e,t,n,o){var a="clippingParents"===t?function(e){var t=Ko(Xo(e)),n=["absolute","fixed"].indexOf(Ho(e).position)>=0&&Vo(e)?Zo(e):e;return So(n)?t.filter((function(e){return So(e)&&Va(e,n)&&"body"!==jo(e)})):[]}(e):[].concat(t),r=[].concat(a,[n]),i=r[0],s=r.reduce((function(t,n){var a=Ia(e,n,o);return t.top=Io(a.top,t.top),t.right=Ro(a.right,t.right),t.bottom=Ro(a.bottom,t.bottom),t.left=Io(a.left,t.left),t}),Ia(e,i,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Oa(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Ea(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Fa(e,t){void 0===t&&(t={});var n=t,o=n.placement,a=void 0===o?e.placement:o,r=n.strategy,i=void 0===r?e.strategy:r,s=n.boundary,l=void 0===s?ia:s,c=n.rootBoundary,u=void 0===c?sa:c,d=n.elementContext,m=void 0===d?la:d,p=n.altBoundary,h=void 0!==p&&p,f=n.padding,v=void 0===f?0:f,g=Oa("number"!==typeof v?v:Ea(v,oa)),b=m===la?ca:la,y=e.rects.popper,w=e.elements[h?b:m],A=Ra(So(w)?w:w.contextElement||Bo(e.elements.popper),l,u,i),x=Lo(e.elements.reference),T=xa({reference:x,element:y,strategy:"absolute",placement:a}),C=Na(Object.assign({},y,T)),D=m===la?C:x,k={top:A.top-D.top+g.top,bottom:D.bottom-A.bottom+g.bottom,left:A.left-D.left+g.left,right:D.right-A.right+g.right},M=e.modifiersData.offset;if(m===la&&M){var P=M[a];Object.keys(k).forEach((function(e){var t=[ea,Jo].indexOf(e)>=0?1:-1,n=[$o,Jo].indexOf(e)>=0?"y":"x";k[e]+=P[n]*t}))}return k}function La(e,t,n){return Io(e,Ro(t,n))}const Wa={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name,a=n.mainAxis,r=void 0===a||a,i=n.altAxis,s=void 0!==i&&i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,m=n.tether,p=void 0===m||m,h=n.tetherOffset,f=void 0===h?0:h,v=Fa(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),g=ya(t.placement),b=wa(t.placement),y=!b,w=Aa(g),A="x"===w?"y":"x",x=t.modifiersData.popperOffsets,T=t.rects.reference,C=t.rects.popper,D="function"===typeof f?f(Object.assign({},t.rects,{placement:t.placement})):f,k="number"===typeof D?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(x){if(r){var S,V="y"===w?$o:ta,N="y"===w?Jo:ea,I="y"===w?"height":"width",R=x[w],O=R+v[V],E=R-v[N],F=p?-C[I]/2:0,L=b===aa?T[I]:C[I],W=b===aa?-C[I]:-T[I],j=t.elements.arrow,B=p&&j?qo(j):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},H=z[V],Y=z[N],U=La(0,T[I],B[I]),q=y?T[I]/2-F-U-H-k.mainAxis:L-U-H-k.mainAxis,X=y?-T[I]/2+F+U+Y+k.mainAxis:W+U+Y+k.mainAxis,Q=t.elements.arrow&&Zo(t.elements.arrow),K=Q?"y"===w?Q.clientTop||0:Q.clientLeft||0:0,G=null!=(S=null==M?void 0:M[w])?S:0,_=R+X-G,Z=La(p?Ro(O,R+q-G-K):O,R,p?Io(E,_):E);x[w]=Z,P[w]=Z-R}if(s){var $,J="x"===w?$o:ta,ee="x"===w?Jo:ea,te=x[A],ne="y"===A?"height":"width",oe=te+v[J],ae=te-v[ee],re=-1!==[$o,ta].indexOf(g),ie=null!=($=null==M?void 0:M[A])?$:0,se=re?oe:te-T[ne]-C[ne]-ie+k.altAxis,le=re?te+T[ne]+C[ne]-ie-k.altAxis:ae,ce=p&&re?function(e,t,n){var o=La(e,t,n);return o>n?n:o}(se,te,le):La(p?se:oe,te,p?le:ae);x[A]=ce,P[A]=ce-te}t.modifiersData[o]=P}},requiresIfExists:["offset"]};const ja={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,a=e.options,r=n.elements.arrow,i=n.modifiersData.popperOffsets,s=ya(n.placement),l=Aa(s),c=[ta,ea].indexOf(s)>=0?"height":"width";if(r&&i){var u=function(e,t){return Oa("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ea(e,oa))}(a.padding,n),d=qo(r),m="y"===l?$o:ta,p="y"===l?Jo:ea,h=n.rects.reference[c]+n.rects.reference[l]-i[l]-n.rects.popper[c],f=i[l]-n.rects.reference[l],v=Zo(r),g=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,b=h/2-f/2,y=u[m],w=g-d[c]-u[p],A=g/2-d[c]/2+b,x=La(y,A,w),T=l;n.modifiersData[o]=((t={})[T]=x,t.centerOffset=x-A,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!==typeof o||(o=t.elements.popper.querySelector(o)))&&Va(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ba(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function za(e){return[$o,ea,Jo,ta].some((function(t){return e[t]>=0}))}var Ha=ga({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,a=o.scroll,r=void 0===a||a,i=o.resize,s=void 0===i||i,l=Po(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&c.forEach((function(e){e.addEventListener("scroll",n.update,ba)})),s&&l.addEventListener("resize",n.update,ba),function(){r&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ba)})),s&&l.removeEventListener("resize",n.update,ba)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=xa({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,a=void 0===o||o,r=n.adaptive,i=void 0===r||r,s=n.roundOffsets,l=void 0===s||s,c={placement:ya(t.placement),variation:wa(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ca(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ca(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},a=t.elements[e];Vo(a)&&jo(a)&&(Object.assign(a.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],a=t.attributes[e]||{},r=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Vo(o)&&jo(o)&&(Object.assign(o.style,r),Object.keys(a).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]},Da,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var a=n.mainAxis,r=void 0===a||a,i=n.altAxis,s=void 0===i||i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,m=n.altBoundary,p=n.flipVariations,h=void 0===p||p,f=n.allowedAutoPlacements,v=t.options.placement,g=ya(v),b=l||(g===v||!h?[Ma(v)]:function(e){if(ya(e)===na)return[];var t=Ma(e);return[Sa(e),t,Sa(t)]}(v)),y=[v].concat(b).reduce((function(e,n){return e.concat(ya(n)===na?function(e,t){void 0===t&&(t={});var n=t,o=n.placement,a=n.boundary,r=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?da:l,u=wa(o),d=u?s?ua:ua.filter((function(e){return wa(e)===u})):oa,m=d.filter((function(e){return c.indexOf(e)>=0}));0===m.length&&(m=d);var p=m.reduce((function(t,n){return t[n]=Fa(e,{placement:n,boundary:a,rootBoundary:r,padding:i})[ya(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:f}):n)}),[]),w=t.rects.reference,A=t.rects.popper,x=new Map,T=!0,C=y[0],D=0;D=0,V=S?"width":"height",N=Fa(t,{placement:k,boundary:u,rootBoundary:d,altBoundary:m,padding:c}),I=S?P?ea:ta:P?Jo:$o;w[V]>A[V]&&(I=Ma(I));var R=Ma(I),O=[];if(r&&O.push(N[M]<=0),s&&O.push(N[I]<=0,N[R]<=0),O.every((function(e){return e}))){C=k,T=!1;break}x.set(k,O)}if(T)for(var E=function(e){var t=y.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},F=h?3:1;F>0;F--){if("break"===E(F))break}t.placement!==C&&(t.modifiersData[o]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},Wa,ja,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,a=t.rects.popper,r=t.modifiersData.preventOverflow,i=Fa(t,{elementContext:"reference"}),s=Fa(t,{altBoundary:!0}),l=Ba(i,o),c=Ba(s,a,r),u=za(l),d=za(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),Ya=n(5187);const Ua="base";function qa(e,t){const n=oe.li[t];return n?(o=n,"".concat(Ua,"--").concat(o)):function(e,t){return"".concat(Ua,"-").concat(e,"-").concat(t)}(e,t);var o}const Xa="Popper";function Qa(e){return qa(Xa,e)}!function(e,t){const n={};t.forEach((t=>{n[t]=qa(e,t)}))}(Xa,["root"]);const Ka={disableDefaultClasses:!1},Ga=r.createContext(Ka);const _a=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Za=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function $a(e){return"function"===typeof e?e():e}function Ja(e){return void 0!==e.nodeType}const er=()=>(0,_.A)({root:["root"]},function(e){const{disableDefaultClasses:t}=r.useContext(Ga);return n=>t?"":e(n)}(Qa)),tr={},nr=r.forwardRef((function(e,t){var n;const{anchorEl:i,children:l,direction:c,disablePortal:u,modifiers:d,open:m,placement:p,popperOptions:h,popperRef:f,slotProps:v={},slots:g={},TransitionProps:b}=e,y=(0,a.A)(e,_a),w=r.useRef(null),x=(0,T.A)(w,t),C=r.useRef(null),D=(0,T.A)(C,f),k=r.useRef(D);(0,s.A)((()=>{k.current=D}),[D]),r.useImperativeHandle(f,(()=>C.current),[]);const M=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(p,c),[P,S]=r.useState(M),[V,N]=r.useState($a(i));r.useEffect((()=>{C.current&&C.current.forceUpdate()})),r.useEffect((()=>{i&&N($a(i))}),[i]),(0,s.A)((()=>{if(!V||!m)return;let e=[{name:"preventOverflow",options:{altBoundary:u}},{name:"flip",options:{altBoundary:u}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:e=>{let{state:t}=e;S(t.placement)}}];null!=d&&(e=e.concat(d)),h&&null!=h.modifiers&&(e=e.concat(h.modifiers));const t=Ha(V,w.current,(0,o.A)({placement:M},h,{modifiers:e}));return k.current(t),()=>{t.destroy(),k.current(null)}}),[V,u,d,m,h,M]);const I={placement:P};null!==b&&(I.TransitionProps=b);const R=er(),O=null!=(n=g.root)?n:"div",E=(0,A.Q)({elementType:O,externalSlotProps:v.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:x},ownerState:e,className:R.root});return(0,se.jsx)(O,(0,o.A)({},E,{children:"function"===typeof l?l(I):l}))})),or=r.forwardRef((function(e,t){const{anchorEl:n,children:i,container:s,direction:l="ltr",disablePortal:c=!1,keepMounted:u=!1,modifiers:d,open:m,placement:p="bottom",popperOptions:h=tr,popperRef:f,style:v,transition:g=!1,slotProps:b={},slots:y={}}=e,w=(0,a.A)(e,Za),[A,x]=r.useState(!0);if(!u&&!m&&(!g||A))return null;let T;if(s)T=s;else if(n){const e=$a(n);T=e&&Ja(e)?(0,Mo.A)(e).body:(0,Mo.A)(null).body}const C=m||!u||g&&!A?void 0:"none",D=g?{in:m,onEnter:()=>{x(!1)},onExited:()=>{x(!0)}}:void 0;return(0,se.jsx)(Ya.Z,{disablePortal:c,container:T,children:(0,se.jsx)(nr,(0,o.A)({anchorEl:n,direction:l,disablePortal:c,modifiers:d,ref:t,open:g?!A:m,placement:p,popperOptions:h,popperRef:f,slotProps:b,slots:y},w,{style:(0,o.A)({position:"fixed",top:0,left:0,display:C},v),TransitionProps:D,children:i}))})}));var ar=n(5329);const rr=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],ir=(0,te.Ay)(or,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),sr=r.forwardRef((function(e,t){var n;const r=(0,ar.A)(),i=(0,h.A)({props:e,name:"MuiPopper"}),{anchorEl:s,component:l,components:c,componentsProps:u,container:d,disablePortal:m,keepMounted:p,modifiers:f,open:v,placement:g,popperOptions:b,popperRef:y,transition:w,slots:A,slotProps:x}=i,T=(0,a.A)(i,rr),C=null!=(n=null==A?void 0:A.root)?n:null==c?void 0:c.Root,D=(0,o.A)({anchorEl:s,container:d,disablePortal:m,keepMounted:p,modifiers:f,open:v,placement:g,popperOptions:b,popperRef:y,transition:w},T);return(0,se.jsx)(ir,(0,o.A)({as:l,direction:null==r?void 0:r.direction,slots:{root:C},slotProps:null!=x?x:u},D,{ref:t}))}));var lr=n(6493);function cr(e){return(0,oe.Ay)("MuiPickersPopper",e)}(0,ne.A)("MuiPickersPopper",["root","paper"]);const ur=["PaperComponent","popperPlacement","ownerState","children","paperSlotProps","paperClasses","onPaperClick","onPaperTouchStart"],dr=(0,te.Ay)(sr,{name:"MuiPickersPopper",slot:"Root",overridesResolver:(e,t)=>t.root})((e=>{let{theme:t}=e;return{zIndex:t.zIndex.modal}})),mr=(0,te.Ay)(ko.A,{name:"MuiPickersPopper",slot:"Paper",overridesResolver:(e,t)=>t.paper})((e=>{let{ownerState:t}=e;return(0,o.A)({outline:0,transformOrigin:"top center"},t.placement.includes("top")&&{transformOrigin:"bottom center"})}));const pr=r.forwardRef(((e,t)=>{const{PaperComponent:n,popperPlacement:r,ownerState:i,children:s,paperSlotProps:l,paperClasses:c,onPaperClick:u,onPaperTouchStart:d}=e,m=(0,a.A)(e,ur),p=(0,o.A)({},i,{placement:r}),h=(0,A.Q)({elementType:n,externalSlotProps:l,additionalProps:{tabIndex:-1,elevation:8,ref:t},className:c,ownerState:p});return(0,se.jsx)(n,(0,o.A)({},m,h,{onClick:e=>{var t;u(e),null==(t=h.onClick)||t.call(h,e)},onTouchStart:e=>{var t;d(e),null==(t=h.onTouchStart)||t.call(h,e)},ownerState:p,children:s}))}));function hr(e){var t,n,a,i;const s=(0,h.A)({props:e,name:"MuiPickersPopper"}),{anchorEl:l,children:c,containerRef:u=null,shouldRestoreFocus:d,onBlur:m,onDismiss:p,open:f,role:v,placement:g,slots:b,slotProps:y,reduceAnimations:w}=s;r.useEffect((()=>{function e(e){!f||"Escape"!==e.key&&"Esc"!==e.key||p()}return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[p,f]);const C=r.useRef(null);r.useEffect((()=>{"tooltip"===v||d&&!d()||(f?C.current=R(document):C.current&&C.current instanceof HTMLElement&&setTimeout((()=>{C.current instanceof HTMLElement&&C.current.focus()})))}),[f,v,d]);const[D,k,M]=function(e,t){const n=r.useRef(!1),o=r.useRef(!1),a=r.useRef(null),i=r.useRef(!1);r.useEffect((()=>{if(e)return document.addEventListener("mousedown",t,!0),document.addEventListener("touchstart",t,!0),()=>{document.removeEventListener("mousedown",t,!0),document.removeEventListener("touchstart",t,!0),i.current=!1};function t(){i.current=!0}}),[e]);const s=(0,x.A)((e=>{if(!i.current)return;const r=o.current;o.current=!1;const s=(0,Mo.A)(a.current);if(!a.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth-1:!s.documentElement.contains(e.target)||a.current.contains(e.target),l||r||t(e)})),l=()=>{o.current=!0};return r.useEffect((()=>{if(e){const e=(0,Mo.A)(a.current),t=()=>{n.current=!0};return e.addEventListener("touchstart",s),e.addEventListener("touchmove",t),()=>{e.removeEventListener("touchstart",s),e.removeEventListener("touchmove",t)}}}),[e,s]),r.useEffect((()=>{if(e){const e=(0,Mo.A)(a.current);return e.addEventListener("click",s),()=>{e.removeEventListener("click",s),o.current=!1}}}),[e,s]),[a,l,l]}(f,null!=m?m:p),P=r.useRef(null),S=(0,T.A)(P,u),V=(0,T.A)(S,D),N=s,I=(e=>{const{classes:t}=e;return(0,_.A)({root:["root"],paper:["paper"]},cr,t)})(N),O=mo(),E=null!=w?w:O,F=(null!=(t=null==b?void 0:b.desktopTransition)?t:E)?jt.A:Do.A,L=null!=(n=null==b?void 0:b.desktopTrapFocus)?n:lr.s,W=null!=(a=null==b?void 0:b.desktopPaper)?a:mr,j=null!=(i=null==b?void 0:b.popper)?i:dr,B=(0,A.Q)({elementType:j,externalSlotProps:null==y?void 0:y.popper,additionalProps:{transition:!0,role:v,open:f,anchorEl:l,placement:g,onKeyDown:e=>{"Escape"===e.key&&(e.stopPropagation(),p())}},className:I.root,ownerState:s});return(0,se.jsx)(j,(0,o.A)({},B,{children:e=>{let{TransitionProps:t,placement:n}=e;return(0,se.jsx)(L,(0,o.A)({open:f,disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:"tooltip"===v,isEnabled:()=>!0},null==y?void 0:y.desktopTrapFocus,{children:(0,se.jsx)(F,(0,o.A)({},t,null==y?void 0:y.desktopTransition,{children:(0,se.jsx)(pr,{PaperComponent:W,ownerState:N,popperPlacement:n,ref:V,onPaperClick:k,onPaperTouchStart:M,paperClasses:I.paper,paperSlotProps:null==y?void 0:y.desktopPaper,children:c})}))}))}}))}const fr=e=>{let{props:t,valueManager:n,valueType:a,wrapperVariant:i,validator:s}=e;const{onAccept:l,onChange:c,value:u,defaultValue:d,closeOnSelect:m="desktop"===i,selectedSections:p,onSelectedSectionsChange:h,timezone:f}=t,{current:v}=r.useRef(d),{current:g}=r.useRef(void 0!==u);const b=(0,D.hc)(),y=(0,D.u)(),[w,A]=(0,P.A)({controlled:p,default:null,name:"usePickerValue",state:"selectedSections"}),{isOpen:T,setIsOpen:C}=(e=>{let{open:t,onOpen:n,onClose:o}=e;const a=r.useRef("boolean"===typeof t).current,[i,s]=r.useState(!1);return r.useEffect((()=>{if(a){if("boolean"!==typeof t)throw new Error("You must not mix controlling and uncontrolled mode for `open` prop");s(t)}}),[a,t]),{isOpen:i,setIsOpen:r.useCallback((e=>{a||s(e),e&&n&&n(),!e&&o&&o()}),[a,n,o])}})(t),[M,V]=r.useState((()=>{let e;return e=void 0!==u?u:void 0!==v?v:n.emptyValue,{draft:e,lastPublishedValue:e,lastCommittedValue:e,lastControlledValue:u,hasBeenModifiedSinceMount:!1}})),{timezone:N,handleValueChange:I}=(0,S.M)({timezone:f,value:u,defaultValue:v,onChange:c,valueManager:n});k((0,o.A)({},t,{value:M.draft,timezone:N}),s,n.isSameError,n.defaultErrorState);const R=(0,x.A)((e=>{const a={action:e,dateState:M,hasChanged:t=>!n.areValuesEqual(b,e.value,t),isControlled:g,closeOnSelect:m},r=(e=>{const{action:t,hasChanged:n,dateState:o,isControlled:a}=e,r=!a&&!o.hasBeenModifiedSinceMount;return"setValueFromField"===t.name||("setValueFromAction"===t.name?!(!r||!["accept","today","clear"].includes(t.pickerAction))||n(o.lastPublishedValue):("setValueFromView"===t.name&&"shallow"!==t.selectionState||"setValueFromShortcut"===t.name)&&(!!r||n(o.lastPublishedValue)))})(a),i=(e=>{const{action:t,hasChanged:n,dateState:o,isControlled:a,closeOnSelect:r}=e,i=!a&&!o.hasBeenModifiedSinceMount;return"setValueFromAction"===t.name?!(!i||!["accept","today","clear"].includes(t.pickerAction))||n(o.lastCommittedValue):"setValueFromView"===t.name&&"finish"===t.selectionState&&r?!!i||n(o.lastCommittedValue):"setValueFromShortcut"===t.name&&"accept"===t.changeImportance&&n(o.lastCommittedValue)})(a),c=(e=>{const{action:t,closeOnSelect:n}=e;return"setValueFromAction"===t.name||("setValueFromView"===t.name?"finish"===t.selectionState&&n:"setValueFromShortcut"===t.name&&"accept"===t.changeImportance)})(a);if(V((t=>(0,o.A)({},t,{draft:e.value,lastPublishedValue:r?e.value:t.lastPublishedValue,lastCommittedValue:i?e.value:t.lastCommittedValue,hasBeenModifiedSinceMount:!0}))),r){const n={validationError:"setValueFromField"===e.name?e.context.validationError:s({adapter:y,value:e.value,props:(0,o.A)({},t,{value:e.value,timezone:N})})};"setValueFromShortcut"===e.name&&null!=e.shortcut&&(n.shortcut=e.shortcut),I(e.value,n)}i&&l&&l(e.value),c&&C(!1)}));if(void 0!==u&&(void 0===M.lastControlledValue||!n.areValuesEqual(b,M.lastControlledValue,u))){const e=n.areValuesEqual(b,M.draft,u);V((t=>(0,o.A)({},t,{lastControlledValue:u},e?{}:{lastCommittedValue:u,lastPublishedValue:u,draft:u,hasBeenModifiedSinceMount:!0})))}const O=(0,x.A)((()=>{R({value:n.emptyValue,name:"setValueFromAction",pickerAction:"clear"})})),E=(0,x.A)((()=>{R({value:M.lastPublishedValue,name:"setValueFromAction",pickerAction:"accept"})})),F=(0,x.A)((()=>{R({value:M.lastPublishedValue,name:"setValueFromAction",pickerAction:"dismiss"})})),L=(0,x.A)((()=>{R({value:M.lastCommittedValue,name:"setValueFromAction",pickerAction:"cancel"})})),W=(0,x.A)((()=>{R({value:n.getTodayValue(b,N,a),name:"setValueFromAction",pickerAction:"today"})})),j=(0,x.A)((()=>C(!0))),B=(0,x.A)((()=>C(!1))),z=(0,x.A)((function(e){return R({name:"setValueFromView",value:e,selectionState:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"partial"})})),H=(0,x.A)(((e,t,n)=>R({name:"setValueFromShortcut",value:e,changeImportance:null!=t?t:"accept",shortcut:n}))),Y=(0,x.A)(((e,t)=>R({name:"setValueFromField",value:e,context:t}))),U=(0,x.A)((e=>{A(e),null==h||h(e)})),q={onClear:O,onAccept:E,onDismiss:F,onCancel:L,onSetToday:W,onOpen:j,onClose:B},X={value:M.draft,onChange:Y,selectedSections:w,onSelectedSectionsChange:U},Q=r.useMemo((()=>n.cleanValue(b,M.draft)),[b,n,M.draft]);return{open:T,fieldProps:X,viewProps:{value:Q,onChange:z,onClose:B,open:T,onSelectedSectionsChange:U},layoutProps:(0,o.A)({},q,{value:Q,onChange:z,onSelectShortcut:H,isValid:e=>{const a=s({adapter:y,value:e,props:(0,o.A)({},t,{value:e,timezone:N})});return!n.hasError(a)}}),actions:q}},vr=["className","sx"];function gr(){return"undefined"===typeof window?"portrait":window.screen&&window.screen.orientation&&window.screen.orientation.angle?90===Math.abs(window.screen.orientation.angle)?"landscape":"portrait":window.orientation&&90===Math.abs(Number(window.orientation))?"landscape":"portrait"}const br=(e,t)=>{const[n,o]=r.useState(gr);if((0,s.A)((()=>{const e=()=>{o(gr())};return window.addEventListener("orientationchange",e),()=>{window.removeEventListener("orientationchange",e)}}),[]),a=e,i=["hours","minutes","seconds"],Array.isArray(i)?i.every((e=>-1!==a.indexOf(e))):-1!==a.indexOf(i))return!1;var a,i;return"landscape"===(t||n)},yr=(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"warning",n=!1;const o=Array.isArray(e)?e.join("\n"):e}(["The `renderInput` prop has been removed in version 6.0 of the Date and Time Pickers.","You can replace it with the `textField` component slot in most cases.","For more information, please have a look at the migration guide (https://mui.com/x/migration/migration-pickers-v5/#input-renderer-required-in-v5)."]),e=>{let{props:t,valueManager:n,valueType:i,wrapperVariant:l,inputRef:c,additionalViewProps:u,validator:d,autoFocusView:m}=e;const p=fr({props:t,valueManager:n,valueType:i,wrapperVariant:l,validator:d}),h=(e=>{let{props:t,propsFromPickerValue:n,additionalViewProps:i,inputRef:l,autoFocusView:c}=e;const{onChange:u,open:d,onSelectedSectionsChange:m,onClose:p}=n,{views:h,openTo:f,onViewChange:v,disableOpenPicker:g,viewRenderers:b,timezone:y}=t,w=(0,a.A)(t,vr),{view:A,setView:T,defaultView:C,focusedView:D,setFocusedView:k,setValueAndGoToNextView:M}=(0,Kn.o)({view:void 0,views:h,openTo:f,onChange:u,onViewChange:v,autoFocus:c}),{hasUIView:P,viewModeLookup:S}=r.useMemo((()=>h.reduce(((e,t)=>{let n;return n=g?"field":null!=b[t]?"UI":"field",e.viewModeLookup[t]=n,"UI"===n&&(e.hasUIView=!0),e}),{hasUIView:!1,viewModeLookup:{}})),[g,b,h]),V=r.useMemo((()=>h.reduce(((e,t)=>null!=b[t]&&(0,j.hW)(t)?e+1:e),0)),[b,h]),N=S[A],I=(0,x.A)((()=>"UI"===N)),[R,O]=r.useState("UI"===N?A:null);return R!==A&&"UI"===S[A]&&O(A),(0,s.A)((()=>{"field"===N&&d&&(p(),setTimeout((()=>{null==l||l.current.focus(),m(A)})))}),[A]),(0,s.A)((()=>{if(!d)return;let e=A;"field"===N&&null!=R&&(e=R),e!==C&&"UI"===S[e]&&"UI"===S[C]&&(e=C),e!==A&&T(e),k(e,!0)}),[d]),{hasUIView:P,shouldRestoreFocus:I,layoutProps:{views:h,view:R,onViewChange:T},renderCurrentView:()=>{if(null==R)return null;const e=b[R];return null==e?null:e((0,o.A)({},w,i,n,{views:h,timezone:y,onChange:M,view:R,onViewChange:T,focusedView:D,onFocusedViewChange:k,showViewSwitcher:V>1,timeViewsCount:V}))}}})({props:t,inputRef:c,additionalViewProps:u,autoFocusView:m,propsFromPickerValue:p.viewProps}),f=(e=>{let{props:t,propsFromPickerValue:n,propsFromPickerViews:a,wrapperVariant:r}=e;const{orientation:i}=t,s=br(a.views,i);return{layoutProps:(0,o.A)({},a,n,{isLandscape:s,wrapperVariant:r,disabled:t.disabled,readOnly:t.readOnly})}})({props:t,wrapperVariant:l,propsFromPickerValue:p.layoutProps,propsFromPickerViews:h.layoutProps});return{open:p.open,actions:p.actions,fieldProps:p.fieldProps,renderCurrentView:h.renderCurrentView,hasUIView:h.hasUIView,shouldRestoreFocus:h.shouldRestoreFocus,layoutProps:f.layoutProps}});var wr=n(1831);function Ar(e){return(0,oe.Ay)("MuiPickersLayout",e)}const xr=(0,ne.A)("MuiPickersLayout",["root","landscape","contentWrapper","toolbar","actionBar","tabs","shortcuts"]);var Tr=n(9739);const Cr=["onAccept","onClear","onCancel","onSetToday","actions"];function Dr(e){const{onAccept:t,onClear:n,onCancel:r,onSetToday:i,actions:s}=e,l=(0,a.A)(e,Cr),c=(0,D.Nq)();if(null==s||0===s.length)return null;const u=null==s?void 0:s.map((e=>{switch(e){case"clear":return(0,se.jsx)(ft.A,{onClick:n,children:c.clearButtonLabel},e);case"cancel":return(0,se.jsx)(ft.A,{onClick:r,children:c.cancelButtonLabel},e);case"accept":return(0,se.jsx)(ft.A,{onClick:t,children:c.okButtonLabel},e);case"today":return(0,se.jsx)(ft.A,{onClick:i,children:c.todayButtonLabel},e);default:return null}}));return(0,se.jsx)(Tr.A,(0,o.A)({},l,{children:u}))}var kr=n(249),Mr=n(2610),Pr=n(9269);const Sr=(0,Ie.A)((0,se.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");var Vr=n(1506);function Nr(e){return(0,oe.Ay)("MuiChip",e)}const Ir=(0,ne.A)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),Rr=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],Or=(0,te.Ay)("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:o,iconColor:a,clickable:r,onDelete:i,size:s,variant:l}=n;return[{["& .".concat(Ir.avatar)]:t.avatar},{["& .".concat(Ir.avatar)]:t["avatar".concat((0,Z.A)(s))]},{["& .".concat(Ir.avatar)]:t["avatarColor".concat((0,Z.A)(o))]},{["& .".concat(Ir.icon)]:t.icon},{["& .".concat(Ir.icon)]:t["icon".concat((0,Z.A)(s))]},{["& .".concat(Ir.icon)]:t["iconColor".concat((0,Z.A)(a))]},{["& .".concat(Ir.deleteIcon)]:t.deleteIcon},{["& .".concat(Ir.deleteIcon)]:t["deleteIcon".concat((0,Z.A)(s))]},{["& .".concat(Ir.deleteIcon)]:t["deleteIconColor".concat((0,Z.A)(o))]},{["& .".concat(Ir.deleteIcon)]:t["deleteIcon".concat((0,Z.A)(l),"Color").concat((0,Z.A)(o))]},t.root,t["size".concat((0,Z.A)(s))],t["color".concat((0,Z.A)(o))],r&&t.clickable,r&&"default"!==o&&t["clickableColor".concat((0,Z.A)(o),")")],i&&t.deletable,i&&"default"!==o&&t["deletableColor".concat((0,Z.A)(o))],t[l],t["".concat(l).concat((0,Z.A)(o))]]}})((e=>{let{theme:t,ownerState:n}=e;const a="light"===t.palette.mode?t.palette.grey[700]:t.palette.grey[300];return(0,o.A)({maxWidth:"100%",fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(t.vars||t).palette.text.primary,backgroundColor:(t.vars||t).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",["&.".concat(Ir.disabled)]:{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},["& .".concat(Ir.avatar)]:{marginLeft:5,marginRight:-6,width:24,height:24,color:t.vars?t.vars.palette.Chip.defaultAvatarColor:a,fontSize:t.typography.pxToRem(12)},["& .".concat(Ir.avatarColorPrimary)]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.dark},["& .".concat(Ir.avatarColorSecondary)]:{color:(t.vars||t).palette.secondary.contrastText,backgroundColor:(t.vars||t).palette.secondary.dark},["& .".concat(Ir.avatarSmall)]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)},["& .".concat(Ir.icon)]:(0,o.A)({marginLeft:5,marginRight:-6},"small"===n.size&&{fontSize:18,marginLeft:4,marginRight:-4},n.iconColor===n.color&&(0,o.A)({color:t.vars?t.vars.palette.Chip.defaultIconColor:a},"default"!==n.color&&{color:"inherit"})),["& .".concat(Ir.deleteIcon)]:(0,o.A)({WebkitTapHighlightColor:"transparent",color:t.vars?"rgba(".concat(t.vars.palette.text.primaryChannel," / 0.26)"):(0,Pr.X4)(t.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:t.vars?"rgba(".concat(t.vars.palette.text.primaryChannel," / 0.4)"):(0,Pr.X4)(t.palette.text.primary,.4)}},"small"===n.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==n.color&&{color:t.vars?"rgba(".concat(t.vars.palette[n.color].contrastTextChannel," / 0.7)"):(0,Pr.X4)(t.palette[n.color].contrastText,.7),"&:hover, &:active":{color:(t.vars||t).palette[n.color].contrastText}})},"small"===n.size&&{height:24},"default"!==n.color&&{backgroundColor:(t.vars||t).palette[n.color].main,color:(t.vars||t).palette[n.color].contrastText},n.onDelete&&{["&.".concat(Ir.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.selectedChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,Pr.X4)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},n.onDelete&&"default"!==n.color&&{["&.".concat(Ir.focusVisible)]:{backgroundColor:(t.vars||t).palette[n.color].dark}})}),(e=>{let{theme:t,ownerState:n}=e;return(0,o.A)({},n.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.selectedChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.hoverOpacity,"))"):(0,Pr.X4)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)},["&.".concat(Ir.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.selectedChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,Pr.X4)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)},"&:active":{boxShadow:(t.vars||t).shadows[1]}},n.clickable&&"default"!==n.color&&{["&:hover, &.".concat(Ir.focusVisible)]:{backgroundColor:(t.vars||t).palette[n.color].dark}})}),(e=>{let{theme:t,ownerState:n}=e;return(0,o.A)({},"outlined"===n.variant&&{backgroundColor:"transparent",border:t.vars?"1px solid ".concat(t.vars.palette.Chip.defaultBorder):"1px solid ".concat("light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[700]),["&.".concat(Ir.clickable,":hover")]:{backgroundColor:(t.vars||t).palette.action.hover},["&.".concat(Ir.focusVisible)]:{backgroundColor:(t.vars||t).palette.action.focus},["& .".concat(Ir.avatar)]:{marginLeft:4},["& .".concat(Ir.avatarSmall)]:{marginLeft:2},["& .".concat(Ir.icon)]:{marginLeft:4},["& .".concat(Ir.iconSmall)]:{marginLeft:2},["& .".concat(Ir.deleteIcon)]:{marginRight:5},["& .".concat(Ir.deleteIconSmall)]:{marginRight:3}},"outlined"===n.variant&&"default"!==n.color&&{color:(t.vars||t).palette[n.color].main,border:"1px solid ".concat(t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / 0.7)"):(0,Pr.X4)(t.palette[n.color].main,.7)),["&.".concat(Ir.clickable,":hover")]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,Pr.X4)(t.palette[n.color].main,t.palette.action.hoverOpacity)},["&.".concat(Ir.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / ").concat(t.vars.palette.action.focusOpacity,")"):(0,Pr.X4)(t.palette[n.color].main,t.palette.action.focusOpacity)},["& .".concat(Ir.deleteIcon)]:{color:t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / 0.7)"):(0,Pr.X4)(t.palette[n.color].main,.7),"&:hover, &:active":{color:(t.vars||t).palette[n.color].main}}})})),Er=(0,te.Ay)("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:o}=n;return[t.label,t["label".concat((0,Z.A)(o))]]}})((e=>{let{ownerState:t}=e;return(0,o.A)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"outlined"===t.variant&&{paddingLeft:11,paddingRight:11},"small"===t.size&&{paddingLeft:8,paddingRight:8},"small"===t.size&&"outlined"===t.variant&&{paddingLeft:7,paddingRight:7})}));function Fr(e){return"Backspace"===e.key||"Delete"===e.key}const Lr=r.forwardRef((function(e,t){const n=(0,h.A)({props:e,name:"MuiChip"}),{avatar:i,className:s,clickable:l,color:c="default",component:u,deleteIcon:d,disabled:m=!1,icon:p,label:f,onClick:v,onDelete:g,onKeyDown:b,onKeyUp:y,size:w="medium",variant:A="filled",tabIndex:x,skipFocusWhenDisabled:T=!1}=n,C=(0,a.A)(n,Rr),D=r.useRef(null),k=(0,Vr.A)(D,t),M=e=>{e.stopPropagation(),g&&g(e)},P=!(!1===l||!v)||l,S=P||g?ge.A:u||"div",V=(0,o.A)({},n,{component:S,disabled:m,size:w,color:c,iconColor:r.isValidElement(p)&&p.props.color||c,onDelete:!!g,clickable:P,variant:A}),N=(e=>{const{classes:t,disabled:n,size:o,color:a,iconColor:r,onDelete:i,clickable:s,variant:l}=e,c={root:["root",l,n&&"disabled","size".concat((0,Z.A)(o)),"color".concat((0,Z.A)(a)),s&&"clickable",s&&"clickableColor".concat((0,Z.A)(a)),i&&"deletable",i&&"deletableColor".concat((0,Z.A)(a)),"".concat(l).concat((0,Z.A)(a))],label:["label","label".concat((0,Z.A)(o))],avatar:["avatar","avatar".concat((0,Z.A)(o)),"avatarColor".concat((0,Z.A)(a))],icon:["icon","icon".concat((0,Z.A)(o)),"iconColor".concat((0,Z.A)(r))],deleteIcon:["deleteIcon","deleteIcon".concat((0,Z.A)(o)),"deleteIconColor".concat((0,Z.A)(a)),"deleteIcon".concat((0,Z.A)(l),"Color").concat((0,Z.A)(a))]};return(0,_.A)(c,Nr,t)})(V),I=S===ge.A?(0,o.A)({component:u||"div",focusVisibleClassName:N.focusVisible},g&&{disableRipple:!0}):{};let R=null;g&&(R=d&&r.isValidElement(d)?r.cloneElement(d,{className:(0,G.A)(d.props.className,N.deleteIcon),onClick:M}):(0,se.jsx)(Sr,{className:(0,G.A)(N.deleteIcon),onClick:M}));let O=null;i&&r.isValidElement(i)&&(O=r.cloneElement(i,{className:(0,G.A)(N.avatar,i.props.className)}));let E=null;return p&&r.isValidElement(p)&&(E=r.cloneElement(p,{className:(0,G.A)(N.icon,p.props.className)})),(0,se.jsxs)(Or,(0,o.A)({as:S,className:(0,G.A)(N.root,s),disabled:!(!P||!m)||void 0,onClick:v,onKeyDown:e=>{e.currentTarget===e.target&&Fr(e)&&e.preventDefault(),b&&b(e)},onKeyUp:e=>{e.currentTarget===e.target&&(g&&Fr(e)?g(e):"Escape"===e.key&&D.current&&D.current.blur()),y&&y(e)},ref:k,tabIndex:T&&m?-1:x,ownerState:V},I,C,{children:[O||E,(0,se.jsx)(Er,{className:(0,G.A)(N.label),ownerState:V,children:f}),R]}))})),Wr=["items","changeImportance","isLandscape","onChange","isValid"],jr=["getValue"];function Br(e){const{items:t,changeImportance:n,onChange:r,isValid:i}=e,s=(0,a.A)(e,Wr);if(null==t||0===t.length)return null;const l=t.map((e=>{let{getValue:t}=e,o=(0,a.A)(e,jr);const s=t({isValid:i});return{label:o.label,onClick:()=>{r(s,n,o)},disabled:!i(s)}}));return(0,se.jsx)(kr.A,(0,o.A)({dense:!0,sx:[{maxHeight:xt.Y2,maxWidth:200,overflow:"auto"},...Array.isArray(s.sx)?s.sx:[s.sx]]},s,{children:l.map((e=>(0,se.jsx)(Mr.Ay,{children:(0,se.jsx)(Lr,(0,o.A)({},e))},e.label)))}))}const zr=e=>{var t,n;const{wrapperVariant:a,onAccept:r,onClear:i,onCancel:s,onSetToday:l,view:c,views:u,onViewChange:d,value:m,onChange:p,onSelectShortcut:h,isValid:f,isLandscape:v,disabled:g,readOnly:b,children:y,components:w,componentsProps:x,slots:T,slotProps:C}=e,D=null!=T?T:(0,Rt.p)(w),k=null!=C?C:x,M=(e=>{const{classes:t,isLandscape:n}=e,o={root:["root",n&&"landscape"],contentWrapper:["contentWrapper"],toolbar:["toolbar"],actionBar:["actionBar"],tabs:["tabs"],landscape:["landscape"],shortcuts:["shortcuts"]};return(0,_.A)(o,Ar,t)})(e),P=null!=(t=null==D?void 0:D.actionBar)?t:Dr,S=(0,A.Q)({elementType:P,externalSlotProps:null==k?void 0:k.actionBar,additionalProps:{onAccept:r,onClear:i,onCancel:s,onSetToday:l,actions:"desktop"===a?[]:["cancel","accept"],className:M.actionBar},ownerState:(0,o.A)({},e,{wrapperVariant:a})}),V=(0,se.jsx)(P,(0,o.A)({},S)),N=null==D?void 0:D.toolbar,I=(0,A.Q)({elementType:N,externalSlotProps:null==k?void 0:k.toolbar,additionalProps:{isLandscape:v,onChange:p,value:m,view:c,onViewChange:d,views:u,disabled:g,readOnly:b,className:M.toolbar},ownerState:(0,o.A)({},e,{wrapperVariant:a})}),R=function(e){return null!==e.view}(I)&&N?(0,se.jsx)(N,(0,o.A)({},I)):null,O=y,E=null==D?void 0:D.tabs,F=c&&E?(0,se.jsx)(E,(0,o.A)({view:c,onViewChange:d,className:M.tabs},null==k?void 0:k.tabs)):null,L=null!=(n=null==D?void 0:D.shortcuts)?n:Br,W=(0,A.Q)({elementType:L,externalSlotProps:null==k?void 0:k.shortcuts,additionalProps:{isValid:f,isLandscape:v,onChange:h,className:M.shortcuts},ownerState:{isValid:f,isLandscape:v,onChange:h,className:M.shortcuts,wrapperVariant:a}});return{toolbar:R,content:O,tabs:F,actionBar:V,shortcuts:c&&L?(0,se.jsx)(L,(0,o.A)({},W)):null}},Hr=(0,te.Ay)("div",{name:"MuiPickersLayout",slot:"Root",overridesResolver:(e,t)=>t.root})((e=>{let{theme:t,ownerState:n}=e;return{display:"grid",gridAutoColumns:"max-content auto max-content",gridAutoRows:"max-content auto max-content",["& .".concat(xr.toolbar)]:n.isLandscape?{gridColumn:"rtl"===t.direction?3:1,gridRow:"2 / 3"}:{gridColumn:"2 / 4",gridRow:1},[".".concat(xr.shortcuts)]:n.isLandscape?{gridColumn:"2 / 4",gridRow:1}:{gridColumn:"rtl"===t.direction?3:1,gridRow:"2 / 3"},["& .".concat(xr.actionBar)]:{gridColumn:"1 / 4",gridRow:3}}}));Hr.propTypes={as:v().elementType,ownerState:v().shape({isLandscape:v().bool.isRequired}).isRequired,sx:v().oneOfType([v().arrayOf(v().oneOfType([v().func,v().object,v().bool])),v().func,v().object])};const Yr=(0,te.Ay)("div",{name:"MuiPickersLayout",slot:"ContentWrapper",overridesResolver:(e,t)=>t.contentWrapper})({gridColumn:2,gridRow:2,display:"flex",flexDirection:"column"}),Ur=function(e){const t=(0,h.A)({props:e,name:"MuiPickersLayout"}),{toolbar:n,content:o,tabs:a,actionBar:i,shortcuts:s}=zr(t),{sx:l,className:c,isLandscape:u,ref:d,wrapperVariant:m}=t,p=t,f=(e=>{const{isLandscape:t,classes:n}=e,o={root:["root",t&&"landscape"],contentWrapper:["contentWrapper"]};return(0,_.A)(o,Ar,n)})(p);return(0,se.jsxs)(Hr,{ref:d,sx:l,className:(0,G.A)(c,f.root),ownerState:p,children:[u?s:n,u?n:s,(0,se.jsx)(Yr,{className:f.contentWrapper,children:"desktop"===m?(0,se.jsxs)(r.Fragment,{children:[o,a]}):(0,se.jsxs)(r.Fragment,{children:[a,o]})}),i]})},qr=["props","getOpenDialogAriaText"],Xr=["ownerState"],Qr=["ownerState"],Kr=["views","format"],Gr=(e,t)=>{let{views:n,format:r}=t,i=(0,a.A)(t,Kr);if(r)return r;const s=[],l=[];if(n.forEach((e=>{(0,j.hW)(e)?l.push(e):s.push(e)})),0===l.length)return(0,L.Wq)(e,(0,o.A)({views:s},i),!1);if(0===s.length)return(0,j.b$)(e,(0,o.A)({views:l},i));const c=(0,j.b$)(e,(0,o.A)({views:l},i)),u=(0,L.Wq)(e,(0,o.A)({views:s},i),!1);return"".concat(u," ").concat(c)},_r=(e,t,n)=>n?t.filter((e=>!(0,j.Sq)(e)||"hours"===e)):e?[...t,"meridiem"]:t;const Zr=r.forwardRef((function(e,t){var n,i,s,l,c,u,d;const m=(0,D.Nq)(),p=(0,D.hc)(),h=Ot(e,"MuiDesktopDateTimePicker"),{shouldRenderTimeInASingleColumn:f,thresholdToRenderTimeInASingleColumn:v,views:b,timeSteps:w}=function(e){let{thresholdToRenderTimeInASingleColumn:t,ampm:n,timeSteps:a,views:r}=e;const i=null!=t?t:24,s=(0,o.A)({hours:1,minutes:5,seconds:5},a),l=((e,t)=>{var n,o;return 1440/((null!=(n=e.hours)?n:1)*(null!=(o=e.minutes)?o:5))<=t})(s,i);return{thresholdToRenderTimeInASingleColumn:i,timeSteps:s,shouldRenderTimeInASingleColumn:l,views:_r(n,r,l)}}(h),x=!h.viewRenderers||0===Object.keys(h.viewRenderers).length,C=x?{day:Co,month:Co,year:Co,hours:Co,minutes:Co,seconds:Co,meridiem:Co}:(0,o.A)({day:bo,month:bo,year:bo,hours:null,minutes:null,seconds:null,meridiem:null},h.viewRenderers),k=null==(n=h.ampmInClock)||n,M=x?["accept"]:[],P=(0,o.A)({},h,{viewRenderers:C,format:Gr(p,h),views:b,yearsPerRow:null!=(i=h.yearsPerRow)?i:4,ampmInClock:k,timeSteps:w,thresholdToRenderTimeInASingleColumn:v,shouldRenderTimeInASingleColumn:f,slots:(0,o.A)({field:ve,openPickerIcon:de.CT},h.slots),slotProps:(0,o.A)({},h.slotProps,{field:e=>{var n;return(0,o.A)({},(0,g.Y)(null==(n=h.slotProps)?void 0:n.field,e),q(h),{ref:t})},toolbar:(0,o.A)({hidden:!0,ampmInClock:k,toolbarVariant:x?"desktop":"mobile"},null==(s=h.slotProps)?void 0:s.toolbar),tabs:(0,o.A)({hidden:!0},null==(l=h.slotProps)?void 0:l.tabs),actionBar:(0,o.A)({actions:M},null==(c=h.slotProps)?void 0:c.actionBar)})}),{renderPicker:S}=(e=>{var t,n,i,s,l;let{props:c,getOpenDialogAriaText:u}=e,d=(0,a.A)(e,qr);const{slots:m,slotProps:p,className:h,sx:f,format:v,formatDensity:g,timezone:b,name:y,label:w,inputRef:x,readOnly:C,disabled:k,autoFocus:M,localeText:P,reduceAnimations:S}=c,V=(0,D.hc)(),N=r.useRef(null),I=r.useRef(null),R=(0,Et.A)(),O=null!=(t=null==p||null==(n=p.toolbar)?void 0:n.hidden)&&t,{open:E,actions:F,hasUIView:L,layoutProps:W,renderCurrentView:j,shouldRestoreFocus:B,fieldProps:z}=yr((0,o.A)({},d,{props:c,inputRef:N,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"desktop"})),H=null!=(i=m.inputAdornment)?i:ue,Y=(0,A.Q)({elementType:H,externalSlotProps:null==p?void 0:p.inputAdornment,additionalProps:{position:"end"},ownerState:c}),U=(0,a.A)(Y,Xr),q=null!=(s=m.openPickerButton)?s:K.A,X=(0,A.Q)({elementType:q,externalSlotProps:null==p?void 0:p.openPickerButton,additionalProps:{disabled:k||C,onClick:E?F.onClose:F.onOpen,"aria-label":u(z.value,V),edge:U.position},ownerState:c}),Q=(0,a.A)(X,Qr),G=m.openPickerIcon,_=m.field,Z=(0,A.Q)({elementType:_,externalSlotProps:null==p?void 0:p.field,additionalProps:(0,o.A)({},z,O&&{id:R},{readOnly:C,disabled:k,className:h,sx:f,format:v,formatDensity:g,timezone:b,label:w,name:y,autoFocus:M&&!c.open,focused:!!E||void 0}),ownerState:c});L&&(Z.InputProps=(0,o.A)({},Z.InputProps,{ref:I,["".concat(U.position,"Adornment")]:(0,se.jsx)(H,(0,o.A)({},U,{children:(0,se.jsx)(q,(0,o.A)({},Q,{children:(0,se.jsx)(G,(0,o.A)({},null==p?void 0:p.openPickerIcon))}))}))}));const $=(0,o.A)({textField:m.textField,clearIcon:m.clearIcon,clearButton:m.clearButton},Z.slots),J=null!=(l=m.layout)?l:Ur,ee=(0,T.A)(N,Z.inputRef,x);let te=R;O&&(te=w?"".concat(R,"-label"):void 0);const ne=(0,o.A)({},p,{toolbar:(0,o.A)({},null==p?void 0:p.toolbar,{titleId:R}),popper:(0,o.A)({"aria-labelledby":te},null==p?void 0:p.popper)});return{renderPicker:()=>(0,se.jsxs)(wr.$,{localeText:P,children:[(0,se.jsx)(_,(0,o.A)({},Z,{slots:$,slotProps:ne,inputRef:ee})),(0,se.jsx)(hr,(0,o.A)({role:"dialog",placement:"bottom-start",anchorEl:I.current},F,{open:E,slots:m,slotProps:ne,shouldRestoreFocus:B,reduceAnimations:S,children:(0,se.jsx)(J,(0,o.A)({},W,null==ne?void 0:ne.layout,{slots:m,slotProps:ne,children:j()}))}))]})}})({props:P,valueManager:y.W,valueType:"date-time",getOpenDialogAriaText:null!=(u=null==(d=P.localeText)?void 0:d.openDatePickerDialogue)?u:m.openDatePickerDialogue,validator:B});return S()}));Zr.propTypes={ampm:v().bool,ampmInClock:v().bool,autoFocus:v().bool,className:v().string,closeOnSelect:v().bool,components:v().object,componentsProps:v().object,dayOfWeekFormatter:v().func,defaultCalendarMonth:v().any,defaultValue:v().any,disabled:v().bool,disableFuture:v().bool,disableHighlightToday:v().bool,disableIgnoringDatePartForTimeValidation:v().bool,disableOpenPicker:v().bool,disablePast:v().bool,displayWeekNumber:v().bool,fixedWeekNumber:v().number,format:v().string,formatDensity:v().oneOf(["dense","spacious"]),inputRef:b,label:v().node,loading:v().bool,localeText:v().object,maxDate:v().any,maxDateTime:v().any,maxTime:v().any,minDate:v().any,minDateTime:v().any,minTime:v().any,minutesStep:v().number,monthsPerRow:v().oneOf([3,4]),name:v().string,onAccept:v().func,onChange:v().func,onClose:v().func,onError:v().func,onMonthChange:v().func,onOpen:v().func,onSelectedSectionsChange:v().func,onViewChange:v().func,onYearChange:v().func,open:v().bool,openTo:v().oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),orientation:v().oneOf(["landscape","portrait"]),readOnly:v().bool,reduceAnimations:v().bool,referenceDate:v().any,renderLoading:v().func,selectedSections:v().oneOfType([v().oneOf(["all","day","hours","meridiem","minutes","month","seconds","weekDay","year"]),v().number,v().shape({endIndex:v().number.isRequired,startIndex:v().number.isRequired})]),shouldDisableClock:v().func,shouldDisableDate:v().func,shouldDisableMonth:v().func,shouldDisableTime:v().func,shouldDisableYear:v().func,showDaysOutsideCurrentMonth:v().bool,skipDisabled:v().bool,slotProps:v().object,slots:v().object,sx:v().oneOfType([v().arrayOf(v().oneOfType([v().func,v().object,v().bool])),v().func,v().object]),thresholdToRenderTimeInASingleColumn:v().number,timeSteps:v().shape({hours:v().number,minutes:v().number,seconds:v().number}),timezone:v().string,value:v().any,view:v().oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),viewRenderers:v().shape({day:v().func,hours:v().func,meridiem:v().func,minutes:v().func,month:v().func,seconds:v().func,year:v().func}),views:v().arrayOf(v().oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsPerRow:v().oneOf([3,4])};var $r=n(8170),Jr=n(6583),ei=n(1427);const ti=(0,te.Ay)(Jr.A)({["& .".concat(ei.A.container)]:{outline:0},["& .".concat(ei.A.paper)]:{outline:0,minWidth:xt.eX}}),ni=(0,te.Ay)($r.A)({"&:first-of-type":{padding:0}});function oi(e){var t,n;const{children:a,onDismiss:r,open:i,slots:s,slotProps:l}=e,c=null!=(t=null==s?void 0:s.dialog)?t:ti,u=null!=(n=null==s?void 0:s.mobileTransition)?n:jt.A;return(0,se.jsx)(c,(0,o.A)({open:i,onClose:r},null==l?void 0:l.dialog,{TransitionComponent:u,TransitionProps:null==l?void 0:l.mobileTransition,PaperComponent:null==s?void 0:s.mobilePaper,PaperProps:null==l?void 0:l.mobilePaper,children:(0,se.jsx)(ni,{children:a})}))}const ai=["props","getOpenDialogAriaText"],ri=r.forwardRef((function(e,t){var n,i,s,l,c;const u=(0,D.Nq)(),d=(0,D.hc)(),m=Ot(e,"MuiMobileDateTimePicker"),p=(0,o.A)({day:bo,month:bo,year:bo,hours:xo.Zo,minutes:xo.Zo,seconds:xo.Zo},m.viewRenderers),h=null!=(n=m.ampmInClock)&&n,f=(0,o.A)({},m,{viewRenderers:p,format:Gr(d,m),ampmInClock:h,slots:(0,o.A)({field:ve},m.slots),slotProps:(0,o.A)({},m.slotProps,{field:e=>{var n;return(0,o.A)({},(0,g.Y)(null==(n=m.slotProps)?void 0:n.field,e),q(m),{ref:t})},toolbar:(0,o.A)({hidden:!1,ampmInClock:h},null==(i=m.slotProps)?void 0:i.toolbar),tabs:(0,o.A)({hidden:!1},null==(s=m.slotProps)?void 0:s.tabs)})}),{renderPicker:v}=(e=>{var t,n,i;let{props:s,getOpenDialogAriaText:l}=e,c=(0,a.A)(e,ai);const{slots:u,slotProps:d,className:m,sx:p,format:h,formatDensity:f,timezone:v,name:g,label:b,inputRef:y,readOnly:w,disabled:x,localeText:C}=s,k=(0,D.hc)(),M=r.useRef(null),P=(0,Et.A)(),S=null!=(t=null==d||null==(n=d.toolbar)?void 0:n.hidden)&&t,{open:V,actions:N,layoutProps:I,renderCurrentView:R,fieldProps:O}=yr((0,o.A)({},c,{props:s,inputRef:M,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"mobile"})),E=u.field,F=(0,A.Q)({elementType:E,externalSlotProps:null==d?void 0:d.field,additionalProps:(0,o.A)({},O,S&&{id:P},!(x||w)&&{onClick:N.onOpen,onKeyDown:(L=N.onOpen,e=>{"Enter"!==e.key&&" "!==e.key||(L(e),e.preventDefault(),e.stopPropagation()),W&&W(e)})},{readOnly:null==w||w,disabled:x,className:m,sx:p,format:h,formatDensity:f,timezone:v,label:b,name:g}),ownerState:s});var L,W;F.inputProps=(0,o.A)({},F.inputProps,{"aria-label":l(O.value,k)});const j=(0,o.A)({textField:u.textField},F.slots),B=null!=(i=u.layout)?i:Ur,z=(0,T.A)(M,F.inputRef,y);let H=P;S&&(H=b?"".concat(P,"-label"):void 0);const Y=(0,o.A)({},d,{toolbar:(0,o.A)({},null==d?void 0:d.toolbar,{titleId:P}),mobilePaper:(0,o.A)({"aria-labelledby":H},null==d?void 0:d.mobilePaper)});return{renderPicker:()=>(0,se.jsxs)(wr.$,{localeText:C,children:[(0,se.jsx)(E,(0,o.A)({},F,{slots:j,slotProps:Y,inputRef:z})),(0,se.jsx)(oi,(0,o.A)({},N,{open:V,slots:u,slotProps:Y,children:(0,se.jsx)(B,(0,o.A)({},I,null==Y?void 0:Y.layout,{slots:u,slotProps:Y,children:R()}))}))]})}})({props:f,valueManager:y.W,valueType:"date-time",getOpenDialogAriaText:null!=(l=null==(c=f.localeText)?void 0:c.openDatePickerDialogue)?l:u.openDatePickerDialogue,validator:B});return v()}));ri.propTypes={ampm:v().bool,ampmInClock:v().bool,autoFocus:v().bool,className:v().string,closeOnSelect:v().bool,components:v().object,componentsProps:v().object,dayOfWeekFormatter:v().func,defaultCalendarMonth:v().any,defaultValue:v().any,disabled:v().bool,disableFuture:v().bool,disableHighlightToday:v().bool,disableIgnoringDatePartForTimeValidation:v().bool,disableOpenPicker:v().bool,disablePast:v().bool,displayWeekNumber:v().bool,fixedWeekNumber:v().number,format:v().string,formatDensity:v().oneOf(["dense","spacious"]),inputRef:b,label:v().node,loading:v().bool,localeText:v().object,maxDate:v().any,maxDateTime:v().any,maxTime:v().any,minDate:v().any,minDateTime:v().any,minTime:v().any,minutesStep:v().number,monthsPerRow:v().oneOf([3,4]),name:v().string,onAccept:v().func,onChange:v().func,onClose:v().func,onError:v().func,onMonthChange:v().func,onOpen:v().func,onSelectedSectionsChange:v().func,onViewChange:v().func,onYearChange:v().func,open:v().bool,openTo:v().oneOf(["day","hours","minutes","month","seconds","year"]),orientation:v().oneOf(["landscape","portrait"]),readOnly:v().bool,reduceAnimations:v().bool,referenceDate:v().any,renderLoading:v().func,selectedSections:v().oneOfType([v().oneOf(["all","day","hours","meridiem","minutes","month","seconds","weekDay","year"]),v().number,v().shape({endIndex:v().number.isRequired,startIndex:v().number.isRequired})]),shouldDisableClock:v().func,shouldDisableDate:v().func,shouldDisableMonth:v().func,shouldDisableTime:v().func,shouldDisableYear:v().func,showDaysOutsideCurrentMonth:v().bool,slotProps:v().object,slots:v().object,sx:v().oneOfType([v().arrayOf(v().oneOfType([v().func,v().object,v().bool])),v().func,v().object]),timezone:v().string,value:v().any,view:v().oneOf(["day","hours","minutes","month","seconds","year"]),viewRenderers:v().shape({day:v().func,hours:v().func,minutes:v().func,month:v().func,seconds:v().func,year:v().func}),views:v().arrayOf(v().oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsPerRow:v().oneOf([3,4])};const ii=["desktopModeMediaQuery"],si=r.forwardRef((function(e,t){const n=(0,h.A)({props:e,name:"MuiDateTimePicker"}),{desktopModeMediaQuery:r=O}=n,i=(0,a.A)(n,ii);return p(r,{defaultMatches:!0})?(0,se.jsx)(Zr,(0,o.A)({ref:t},i)):(0,se.jsx)(ri,(0,o.A)({ref:t},i))}))},3863:(e,t,n)=>{"use strict";n.d(t,{L:()=>a,X:()=>r});var o=n(8483);function a(e){return(0,o.Ay)("MuiDigitalClock",e)}const r=(0,n(3244).A)("MuiDigitalClock",["root","list","item"])},1831:(e,t,n)=>{"use strict";n.d(t,{$:()=>u,F:()=>c});var o=n(8168),a=n(8587),r=n(9950),i=n(9859),s=n(4414);const l=["localeText"],c=r.createContext(null);const u=function(e){var t;const{localeText:n}=e,u=(0,a.A)(e,l),{utils:d,localeText:m}=null!=(t=r.useContext(c))?t:{utils:void 0,localeText:void 0},p=(0,i.A)({props:u,name:"MuiLocalizationProvider"}),{children:h,dateAdapter:f,dateFormats:v,dateLibInstance:g,adapterLocale:b,localeText:y}=p,w=r.useMemo((()=>(0,o.A)({},y,m,n)),[y,m,n]),A=r.useMemo((()=>{if(!f)return d||null;const e=new f({locale:b,formats:v,instance:g});if(!e.isMUIAdapter)throw new Error(["MUI: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`","For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`","More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation"].join("\n"));return e}),[f,b,v,g,d]),x=r.useMemo((()=>A?{minDate:A.date("1900-01-01T00:00:00.000"),maxDate:A.date("2099-12-31T00:00:00.000")}:null),[A]),T=r.useMemo((()=>({utils:A,defaultDates:x,localeText:w})),[x,A,w]);return(0,s.jsx)(c.Provider,{value:T,children:h})}},8070:(e,t,n)=>{"use strict";n.d(t,{K:()=>a,w:()=>r});var o=n(8483);function a(e){return(0,o.Ay)("MuiMultiSectionDigitalClockSection",e)}const r=(0,n(3244).A)("MuiMultiSectionDigitalClockSection",["root","item"])},9743:(e,t,n)=>{"use strict";n.d(t,{A6:()=>s,CT:()=>c,Z5:()=>u,b1:()=>d,fl:()=>l,iV:()=>i,vu:()=>m});var o=n(3235),a=n(9950),r=n(4414);const i=(0,o.A)((0,r.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),s=(0,o.A)((0,r.jsx)("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"ArrowLeft"),l=(0,o.A)((0,r.jsx)("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"ArrowRight"),c=(0,o.A)((0,r.jsx)("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}),"Calendar"),u=((0,o.A)((0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,r.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Clock"),(0,o.A)((0,r.jsx)("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),"DateRange")),d=(0,o.A)((0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,r.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Time"),m=(0,o.A)((0,r.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear")},9355:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});var o=n(9254),a=n(4936);const r=(0,o.Ay)("div")({overflow:"hidden",width:a.eX,maxHeight:a.Y2,display:"flex",flexDirection:"column",margin:"0 auto"})},7969:(e,t,n)=>{"use strict";n.d(t,{Y:()=>C});var o=n(8587),a=n(8168),r=n(9950),i=n(2004),s=n(2053),l=n(9254),c=n(4857),u=n(9859),d=n(4061),m=n(525),p=n(5333),h=n(9743),f=n(8483);function v(e){return(0,f.Ay)("MuiPickersArrowSwitcher",e)}(0,n(3244).A)("MuiPickersArrowSwitcher",["root","spacer","button"]);var g=n(4414);const b=["children","className","slots","slotProps","isNextDisabled","isNextHidden","onGoToNext","nextLabel","isPreviousDisabled","isPreviousHidden","onGoToPrevious","previousLabel"],y=["ownerState"],w=["ownerState"],A=(0,l.Ay)("div",{name:"MuiPickersArrowSwitcher",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex"}),x=(0,l.Ay)("div",{name:"MuiPickersArrowSwitcher",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})((e=>{let{theme:t}=e;return{width:t.spacing(3)}})),T=(0,l.Ay)(p.A,{name:"MuiPickersArrowSwitcher",slot:"Button",overridesResolver:(e,t)=>t.button})((e=>{let{ownerState:t}=e;return(0,a.A)({},t.hidden&&{visibility:"hidden"})})),C=r.forwardRef((function(e,t){var n,r,l,p;const f="rtl"===(0,c.A)().direction,C=(0,u.A)({props:e,name:"MuiPickersArrowSwitcher"}),{children:D,className:k,slots:M,slotProps:P,isNextDisabled:S,isNextHidden:V,onGoToNext:N,nextLabel:I,isPreviousDisabled:R,isPreviousHidden:O,onGoToPrevious:E,previousLabel:F}=C,L=(0,o.A)(C,b),W=C,j=(e=>{const{classes:t}=e;return(0,d.A)({root:["root"],spacer:["spacer"],button:["button"]},v,t)})(W),B={isDisabled:S,isHidden:V,goTo:N,label:I},z={isDisabled:R,isHidden:O,goTo:E,label:F},H=null!=(n=null==M?void 0:M.previousIconButton)?n:T,Y=(0,m.Q)({elementType:H,externalSlotProps:null==P?void 0:P.previousIconButton,additionalProps:{size:"medium",title:z.label,"aria-label":z.label,disabled:z.isDisabled,edge:"end",onClick:z.goTo},ownerState:(0,a.A)({},W,{hidden:z.isHidden}),className:j.button}),U=null!=(r=null==M?void 0:M.nextIconButton)?r:T,q=(0,m.Q)({elementType:U,externalSlotProps:null==P?void 0:P.nextIconButton,additionalProps:{size:"medium",title:B.label,"aria-label":B.label,disabled:B.isDisabled,edge:"start",onClick:B.goTo},ownerState:(0,a.A)({},W,{hidden:B.isHidden}),className:j.button}),X=null!=(l=null==M?void 0:M.leftArrowIcon)?l:h.A6,Q=(0,m.Q)({elementType:X,externalSlotProps:null==P?void 0:P.leftArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:void 0}),K=(0,o.A)(Q,y),G=null!=(p=null==M?void 0:M.rightArrowIcon)?p:h.fl,_=(0,m.Q)({elementType:G,externalSlotProps:null==P?void 0:P.rightArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:void 0}),Z=(0,o.A)(_,w);return(0,g.jsxs)(A,(0,a.A)({ref:t,className:(0,i.A)(j.root,k),ownerState:W},L,{children:[(0,g.jsx)(H,(0,a.A)({},Y,{children:f?(0,g.jsx)(G,(0,a.A)({},Z)):(0,g.jsx)(X,(0,a.A)({},K))})),D?(0,g.jsx)(s.A,{variant:"subtitle1",component:"span",children:D}):(0,g.jsx)(x,{className:j.spacer,ownerState:W}),(0,g.jsx)(U,(0,a.A)({},q,{children:f?(0,g.jsx)(X,(0,a.A)({},K)):(0,g.jsx)(G,(0,a.A)({},Z))}))]}))}))},4936:(e,t,n)=>{"use strict";n.d(t,{B3:()=>o,Y2:()=>s,Yq:()=>i,aG:()=>c,eX:()=>r,kP:()=>l,y0:()=>a});const o=36,a=2,r=320,i=280,s=334,l=232,c=48},731:(e,t,n)=>{"use strict";n.d(t,{bH:()=>i,p_:()=>s,r7:()=>l});var o=n(9950),a=n(634),r=n(2412);function i(e,t){let{disableFuture:n,maxDate:r,timezone:i}=t;const s=(0,a.hc)();return o.useMemo((()=>{const t=s.dateWithTimezone(void 0,i),o=s.startOfMonth(n&&s.isBefore(t,r)?t:r);return!s.isAfter(o,e)}),[n,r,e,s,i])}function s(e,t){let{disablePast:n,minDate:r,timezone:i}=t;const s=(0,a.hc)();return o.useMemo((()=>{const t=s.dateWithTimezone(void 0,i),o=s.startOfMonth(n&&s.isAfter(t,r)?t:r);return!s.isBefore(o,e)}),[n,r,e,s,i])}function l(e,t,n,i){const s=(0,a.hc)();return{meridiemMode:(0,r.fX)(e,s),handleMeridiemChange:o.useCallback((o=>{const a=null==e?null:(0,r.tB)(e,o,Boolean(t),s);n(a,null!=i?i:"partial")}),[t,e,n,i,s])}}},9204:(e,t,n)=>{"use strict";n.d(t,{$i:()=>y,C7:()=>f,H6:()=>p,HI:()=>m,Lz:()=>A,MQ:()=>b,Sp:()=>C,UY:()=>u,Xw:()=>g,bQ:()=>c,bl:()=>w,gS:()=>k,hk:()=>s,m0:()=>D,s8:()=>i,wp:()=>r,xL:()=>x});var o=n(8168),a=n(853);const r=(e,t)=>{const n=e.formatTokenMap[t];if(null==n)throw new Error(['MUI: The token "'.concat(t,'" is not supported by the Date and Time Pickers.'),"Please try using another token or open an issue on https://github.com/mui/mui-x/issues/new/choose if you think it should be supported."].join("\n"));return"string"===typeof n?{type:n,contentType:"meridiem"===n?"letter":"digit",maxLength:void 0}:{type:n.sectionType,contentType:n.contentType,maxLength:n.maxLength}},i=(e,t,n)=>{const o=[],a=e.dateWithTimezone(void 0,t),r=e.startOfWeek(a),i=e.endOfWeek(a);let s=r;for(;e.isBefore(s,i);)o.push(s),s=e.addDays(s,1);return o.map((t=>e.formatByString(t,n)))},s=(e,t,n,o)=>{switch(n){case"month":return(0,a.YQ)(e,e.dateWithTimezone(void 0,t)).map((t=>e.formatByString(t,o)));case"weekDay":return i(e,t,o);case"meridiem":{const n=e.dateWithTimezone(void 0,t);return[e.startOfDay(n),e.endOfDay(n)].map((t=>e.formatByString(t,o)))}default:return[]}},l=(e,t,n)=>{let o=t;for(o=Number(o).toString();o.length{if("day"===a.type&&"digit-with-letter"===a.contentType){const t=e.setDate(o.longestMonth,n);return e.formatByString(t,a.format)}const r=n.toString();return a.hasLeadingZerosInInput?l(0,r,a.maxLength):r},u=(e,t,n,o,a,r,i)=>{const l=(e=>{switch(e){case"ArrowUp":return 1;case"ArrowDown":return-1;case"PageUp":return 5;case"PageDown":return-5;default:return 0}})(o),u="Home"===o,d="End"===o,m=""===n.value||u||d;return"digit"===n.contentType||"digit-with-letter"===n.contentType?(()=>{const o=a[n.type]({currentDate:r,format:n.format,contentType:n.contentType}),s=a=>c(e,t,a,o,n),p="minutes"===n.type&&null!=i&&i.minutesStep?i.minutesStep:1;let h=parseInt(n.value,10)+l*p;if(m){if("year"===n.type&&!d&&!u)return e.formatByString(e.dateWithTimezone(void 0,t),n.format);h=l>0||u?o.minimum:o.maximum}return h%p!==0&&((l<0||u)&&(h+=p-(p+h)%p),(l>0||d)&&(h-=h%p)),h>o.maximum?s(o.minimum+(h-o.maximum-1)%(o.maximum-o.minimum+1)):h{const o=s(e,t,n.type,n.format);if(0===o.length)return n.value;if(m)return l>0||u?o[0]:o[o.length-1];const a=o.indexOf(n.value);return o[(a+o.length+l)%o.length]})()},d=(e,t)=>{let n=e.value||e.placeholder;const o="non-input"===t?e.hasLeadingZerosInFormat:e.hasLeadingZerosInInput;"non-input"===t&&e.hasLeadingZerosInInput&&!e.hasLeadingZerosInFormat&&(n=Number(n).toString());return["input-rtl","input-ltr"].includes(t)&&"digit"===e.contentType&&!o&&1===n.length&&(n="".concat(n,"\u200e")),"input-rtl"===t&&(n="\u2068".concat(n,"\u2069")),n},m=e=>e.replace(/[\u2066\u2067\u2068\u2069]/g,""),p=(e,t)=>{let n=0,a=t?1:0;const r=[];for(let i=0;i{switch(o.type){case"year":return n.fieldYearPlaceholder({digitAmount:e.formatByString(e.dateWithTimezone(void 0,t),a).length,format:a});case"month":return n.fieldMonthPlaceholder({contentType:o.contentType,format:a});case"day":return n.fieldDayPlaceholder({format:a});case"weekDay":return n.fieldWeekDayPlaceholder({contentType:o.contentType,format:a});case"hours":return n.fieldHoursPlaceholder({format:a});case"minutes":return n.fieldMinutesPlaceholder({format:a});case"seconds":return n.fieldSecondsPlaceholder({format:a});case"meridiem":return n.fieldMeridiemPlaceholder({format:a});default:return a}},f=(e,t,n,o)=>e.formatByString(e.parse(t,n),o),v=(e,t,n)=>4===e.formatByString(e.dateWithTimezone(void 0,t),n).length,g=(e,t,n,o,a)=>{if("digit"!==n)return!1;const r=e.dateWithTimezone(void 0,t);switch(o){case"year":if(v(e,t,a)){return"0001"===e.formatByString(e.setYear(r,1),a)}return"01"===e.formatByString(e.setYear(r,2001),a);case"month":return e.formatByString(e.startOfYear(r),a).length>1;case"day":return e.formatByString(e.startOfMonth(r),a).length>1;case"weekDay":return e.formatByString(e.startOfWeek(r),a).length>1;case"hours":return e.formatByString(e.setHours(r,1),a).length>1;case"minutes":return e.formatByString(e.setMinutes(r,1),a).length>1;case"seconds":return e.formatByString(e.setSeconds(r,1),a).length>1;default:throw new Error("Invalid section type")}},b=(e,t,n,a,i,s,c,u)=>{let d="";const m=[],p=e.date(),f=a=>{if(""===a)return null;const s=r(e,a),u=g(e,t,s.contentType,s.type,a),f=c?u:"digit"===s.contentType,v=null!=i&&e.isValid(i);let b=v?e.formatByString(i,a):"",y=null;if(f)if(u)y=""===b?e.formatByString(p,a).length:b.length;else{if(null==s.maxLength)throw new Error("MUI: The token ".concat(a," should have a 'maxDigitNumber' property on it's adapter"));y=s.maxLength,v&&(b=l(0,b,y))}return m.push((0,o.A)({},s,{format:a,maxLength:y,value:b,placeholder:h(e,t,n,s,a),hasLeadingZeros:u,hasLeadingZerosInFormat:u,hasLeadingZerosInInput:f,startSeparator:0===m.length?d:"",endSeparator:"",modified:!1})),null};let v=10,b=a,y=e.expandFormat(a);for(;y!==b;)if(b=y,y=e.expandFormat(b),v-=1,v<0)throw new Error("MUI: The format expansion seems to be enter in an infinite loop. Please open an issue with the format passed to the picker component");const w=y,A=((e,t)=>{const n=[],{start:o,end:a}=e.escapedCharacters,r=new RegExp("(\\".concat(o,"[^\\").concat(a,"]*\\").concat(a,")+"),"g");let i=null;for(;i=r.exec(t);)n.push({start:i.index,end:r.lastIndex-1});return n})(e,w),x=new RegExp("^(".concat(Object.keys(e.formatTokenMap).sort(((e,t)=>t.length-e.length)).join("|"),")"),"g");let T="";for(let o=0;oe.start<=o&&e.end>=o)),t=w[o],n=null!=e,a="".concat(T).concat(w.slice(o)),r=x.test(a);if(!n&&t.match(/([A-Za-z]+)/)&&r)T=a.slice(0,x.lastIndex),o+=x.lastIndex-1;else{n&&(null==e?void 0:e.start)===o||(null==e?void 0:e.end)===o||(f(T),T="",0===m.length?d+=t:m[m.length-1].endSeparator+=t)}}return f(T),m.map((e=>{const t=e=>{let t=e;return u&&null!==t&&t.includes(" ")&&(t="\u2069".concat(t,"\u2066")),"spacious"===s&&["/",".","-"].includes(t)&&(t=" ".concat(t," ")),t};return e.startSeparator=t(e.startSeparator),e.endSeparator=t(e.endSeparator),e}))},y=(e,t)=>{const n=t.some((e=>"day"===e.type)),o=[],a=[];for(let s=0;s{const n=e.map((e=>{const n=d(e,t?"input-rtl":"input-ltr");return"".concat(e.startSeparator).concat(n).concat(e.endSeparator)})).join("");return t?"\u2066".concat(n,"\u2069"):n},A=(e,t)=>{const n=e.dateWithTimezone(void 0,t),o=e.endOfYear(n),r=e.endOfDay(n),{maxDaysInMonth:s,longestMonth:l}=(0,a.YQ)(e,n).reduce(((t,n)=>{const o=e.getDaysInMonth(n);return o>t.maxDaysInMonth?{maxDaysInMonth:o,longestMonth:n}:t}),{maxDaysInMonth:0,longestMonth:null});return{year:n=>{let{format:o}=n;return{minimum:0,maximum:v(e,t,o)?9999:99}},month:()=>({minimum:1,maximum:e.getMonth(o)+1}),day:t=>{let{currentDate:n}=t;return{minimum:1,maximum:null!=n&&e.isValid(n)?e.getDaysInMonth(n):s,longestMonth:l}},weekDay:n=>{let{format:o,contentType:a}=n;if("digit"===a){const n=i(e,t,o).map(Number);return{minimum:Math.min(...n),maximum:Math.max(...n)}}return{minimum:1,maximum:7}},hours:t=>{let{format:o}=t;const a=e.getHours(r);return e.formatByString(e.endOfDay(n),o)!==a.toString()?{minimum:1,maximum:Number(e.formatByString(e.startOfDay(n),o))}:{minimum:0,maximum:a}},minutes:()=>({minimum:0,maximum:e.getMinutes(r)}),seconds:()=>({minimum:0,maximum:e.getSeconds(r)}),meridiem:()=>({minimum:0,maximum:0})}};const x=(e,t)=>{0},T={year:1,month:2,day:3,weekDay:4,hours:5,minutes:6,seconds:7,meridiem:8},C=(e,t,n,o,a,r)=>[...o].sort(((e,t)=>T[e.type]-T[t.type])).reduce(((o,a)=>!r||a.modified?((e,t,n,o,a)=>{switch(n.type){case"year":return e.setYear(a,e.getYear(o));case"month":return e.setMonth(a,e.getMonth(o));case"weekDay":{const a=i(e,t,n.format),r=e.formatByString(o,n.format),s=a.indexOf(r),l=a.indexOf(n.value)-s;return e.addDays(o,l)}case"day":return e.setDate(a,e.getDate(o));case"meridiem":{const t=e.getHours(o)<12,n=e.getHours(a);return t&&n>=12?e.addHours(a,-12):!t&&n<12?e.addHours(a,12):a}case"hours":return e.setHours(a,e.getHours(o));case"minutes":return e.setMinutes(a,e.getMinutes(o));case"seconds":return e.setSeconds(a,e.getSeconds(o));default:return a}})(e,t,a,n,o):o),a),D=()=>navigator.userAgent.toLowerCase().indexOf("android")>-1,k=(e,t)=>{const n={};if(!t)return e.forEach(((t,o)=>{const a=0===o?null:o-1,r=o===e.length-1?null:o+1;n[o]={leftIndex:a,rightIndex:r}})),{neighbors:n,startIndex:0,endIndex:e.length-1};const o={},a={};let r=0,i=0,s=e.length-1;for(;s>=0;){i=e.findIndex(((e,t)=>{var n;return t>=r&&(null==(n=e.endSeparator)?void 0:n.includes(" "))&&" / "!==e.endSeparator})),-1===i&&(i=e.length-1);for(let e=i;e>=r;e-=1)a[e]=s,o[s]=e,s-=1;r=i+1}return e.forEach(((t,r)=>{const i=a[r],s=0===i?null:o[i-1],l=i===e.length-1?null:o[i+1];n[r]={leftIndex:s,rightIndex:l}})),{neighbors:n,startIndex:o[0],endIndex:o[e.length-1]}}},634:(e,t,n)=>{"use strict";n.d(t,{Nq:()=>u,Yg:()=>c,cB:()=>d,hc:()=>l,u:()=>s});var o=n(8168),a=n(9950),r=n(1831),i=n(4779);const s=()=>{const e=a.useContext(r.F);if(null===e)throw new Error(["MUI: Can not find the date and time pickers localization context.","It looks like you forgot to wrap your component in LocalizationProvider.","This can also happen if you are bundling multiple versions of the `@mui/x-date-pickers` package"].join("\n"));if(null===e.utils)throw new Error(["MUI: Can not find the date and time pickers adapter from its localization context.","It looks like you forgot to pass a `dateAdapter` to your LocalizationProvider."].join("\n"));const t=a.useMemo((()=>(0,o.A)({},i.X,e.localeText)),[e.localeText]);return a.useMemo((()=>(0,o.A)({},e,{localeText:t})),[e,t])},l=()=>s().utils,c=()=>s().defaultDates,u=()=>s().localeText,d=e=>{const t=l(),n=a.useRef();return void 0===n.current&&(n.current=t.dateWithTimezone(void 0,e)),n.current}},5969:(e,t,n)=>{"use strict";n.d(t,{M:()=>s,Y:()=>l});var o=n(9950),a=n(2877),r=n(9543),i=n(634);const s=e=>{let{timezone:t,value:n,defaultValue:r,onChange:s,valueManager:l}=e;var c,u;const d=(0,i.hc)(),m=o.useRef(r),p=null!=(c=null!=n?n:m.current)?c:l.emptyValue,h=o.useMemo((()=>l.getTimezone(d,p)),[d,l,p]),f=(0,a.A)((e=>null==h?e:l.setTimezone(d,h,e))),v=null!=(u=null!=t?t:h)?u:"default";return{value:o.useMemo((()=>l.setTimezone(d,v,p)),[l,d,v,p]),handleValueChange:(0,a.A)((function(e){const t=f(e);for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a{let{name:t,timezone:n,value:o,defaultValue:i,onChange:l,valueManager:c}=e;const[u,d]=(0,r.A)({name:t,state:"value",controlled:o,default:null!=i?i:c.emptyValue}),m=(0,a.A)((function(e){d(e);for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o{"use strict";n.d(t,{o:()=>i});var o=n(9950),a=n(2877),r=n(9543);function i(e){let{onChange:t,onViewChange:n,openTo:i,view:s,views:l,autoFocus:c,focusedView:u,onFocusedViewChange:d}=e;var m,p;const h=o.useRef(i),f=o.useRef(l),v=o.useRef(l.includes(i)?i:l[0]),[g,b]=(0,r.A)({name:"useViews",state:"view",controlled:s,default:v.current}),y=o.useRef(c?g:null),[w,A]=(0,r.A)({name:"useViews",state:"focusedView",controlled:u,default:y.current});o.useEffect((()=>{(h.current&&h.current!==i||f.current&&f.current.some((e=>!l.includes(e))))&&(b(l.includes(i)?i:l[0]),f.current=l,h.current=i)}),[i,b,g,l]);const x=l.indexOf(g),T=null!=(m=l[x-1])?m:null,C=null!=(p=l[x+1])?p:null,D=(0,a.A)(((e,t)=>{A(t?e:t=>e===t?null:t),null==d||d(e,t)})),k=(0,a.A)((e=>{D(e,!0),e!==g&&(b(e),n&&n(e))})),M=(0,a.A)((()=>{C&&k(C)})),P=(0,a.A)(((e,n,o)=>{const a="finish"===n,r=o?l.indexOf(o){"use strict";n.d(t,{IP:()=>i,Q6:()=>r,Wq:()=>h,YQ:()=>l,_S:()=>d,ak:()=>u,cH:()=>f,iH:()=>s,il:()=>a,jH:()=>c,sC:()=>p});var o=n(6951);const a=e=>{let{date:t,disableFuture:n,disablePast:o,maxDate:a,minDate:r,isDateDisabled:i,utils:s,timezone:l}=e;const c=s.startOfDay(s.dateWithTimezone(void 0,l));o&&s.isBefore(r,c)&&(r=c),n&&s.isAfter(a,c)&&(a=c);let u=t,d=t;for(s.isBefore(t,r)&&(u=r,d=null),s.isAfter(t,a)&&(d&&(d=a),u=null);u||d;){if(u&&s.isAfter(u,a)&&(u=null),d&&s.isBefore(d,r)&&(d=null),u){if(!i(u))return u;u=s.addDays(u,1)}if(d){if(!i(d))return d;d=s.addDays(d,-1)}}return null},r=(e,t)=>null!=t&&e.isValid(t)?t:null,i=(e,t,n)=>null!=t&&e.isValid(t)?t:n,s=(e,t,n)=>!e.isValid(t)&&null!=t&&!e.isValid(n)&&null!=n||e.isEqual(t,n),l=(e,t)=>{const n=[e.startOfYear(t)];for(;n.length<12;){const t=n[n.length-1];n.push(e.addMonths(t,1))}return n},c=(e,t,n)=>{let o=t;return o=e.setHours(o,e.getHours(n)),o=e.setMinutes(o,e.getMinutes(n)),o=e.setSeconds(o,e.getSeconds(n)),o},u=(e,t,n)=>"date"===n?e.startOfDay(e.dateWithTimezone(void 0,t)):e.dateWithTimezone(void 0,t),d=(e,t)=>{const n=e.setHours(e.date(),"am"===t?2:14);return e.format(n,"meridiem")},m=["year","month","day"],p=e=>m.includes(e),h=(e,t,n)=>{let{format:a,views:r}=t;if(null!=a)return a;const i=e.formats;return(0,o.f)(r,["year"])?i.year:(0,o.f)(r,["month"])?i.month:(0,o.f)(r,["day"])?i.dayOfMonth:(0,o.f)(r,["month","year"])?"".concat(i.month," ").concat(i.year):(0,o.f)(r,["day","month"])?"".concat(i.month," ").concat(i.dayOfMonth):n?/en/.test(e.getCurrentLocaleCode())?i.normalDateWithWeekday:i.normalDate:i.keyboardDate},f=(e,t)=>{const n=e.startOfWeek(t);return[0,1,2,3,4,5,6].map((t=>e.addDays(n,t)))}},5035:(e,t,n)=>{"use strict";n.d(t,{$9:()=>l,kI:()=>i,yX:()=>r});var o=n(2412),a=n(853);const r={year:1,month:2,day:3,hours:4,minutes:5,seconds:6,milliseconds:7},i=e=>Math.max(...e.map((e=>{var t;return null!=(t=r[e.type])?t:1}))),s=(e,t,n)=>{if(t===r.year)return e.startOfYear(n);if(t===r.month)return e.startOfMonth(n);if(t===r.day)return e.startOfDay(n);let o=n;return t{let{props:t,utils:n,granularity:r,timezone:i,getTodayDate:l}=e;var c;let u=l?l():s(n,r,(0,a.ak)(n,i));null!=t.minDate&&n.isAfterDay(t.minDate,u)&&(u=s(n,r,t.minDate)),null!=t.maxDate&&n.isBeforeDay(t.maxDate,u)&&(u=s(n,r,t.maxDate));const d=(0,o.iF)(null!=(c=t.disableIgnoringDatePartForTimeValidation)&&c,n);return null!=t.minTime&&d(t.minTime,u)&&(u=s(n,r,t.disableIgnoringDatePartForTimeValidation?t.minTime:(0,a.jH)(n,u,t.minTime))),null!=t.maxTime&&d(u,t.maxTime)&&(u=s(n,r,t.disableIgnoringDatePartForTimeValidation?t.maxTime:(0,a.jH)(n,u,t.maxTime))),u}},1457:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var o=n(8168);const a=e=>{if(void 0!==e)return Object.keys(e).reduce(((t,n)=>(0,o.A)({},t,{["".concat(n.slice(0,1).toLowerCase()).concat(n.slice(1))]:e[n]})),{})}},2412:(e,t,n)=>{"use strict";n.d(t,{Sq:()=>i,b$:()=>m,fX:()=>s,gY:()=>l,hW:()=>r,iF:()=>d,tB:()=>c});var o=n(6951);const a=["hours","minutes","seconds"],r=e=>a.includes(e),i=e=>a.includes(e)||"meridiem"===e,s=(e,t)=>e?t.getHours(e)>=12?"pm":"am":null,l=(e,t,n)=>{if(n){if((e>=12?"pm":"am")!==t)return"am"===t?e-12:e+12}return e},c=(e,t,n,o)=>{const a=l(o.getHours(e),t,n);return o.setHours(e,a)},u=(e,t)=>3600*t.getHours(e)+60*t.getMinutes(e)+t.getSeconds(e),d=(e,t)=>(n,o)=>e?t.isAfter(n,o):u(n,t)>u(o,t),m=(e,t)=>{let{format:n,views:a,ampm:r}=t;if(null!=n)return n;const i=e.formats;return(0,o.f)(a,["hours"])?r?"".concat(i.hours12h," ").concat(i.meridiem):i.hours24h:(0,o.f)(a,["minutes"])?i.minutes:(0,o.f)(a,["seconds"])?i.seconds:(0,o.f)(a,["minutes","seconds"])?"".concat(i.minutes,":").concat(i.seconds):(0,o.f)(a,["hours","minutes","seconds"])?r?"".concat(i.hours12h,":").concat(i.minutes,":").concat(i.seconds," ").concat(i.meridiem):"".concat(i.hours24h,":").concat(i.minutes,":").concat(i.seconds):r?"".concat(i.hours12h,":").concat(i.minutes," ").concat(i.meridiem):"".concat(i.hours24h,":").concat(i.minutes)}},4104:(e,t,n)=>{"use strict";n.d(t,{W:()=>l,o:()=>c});var o=n(8587),a=n(853),r=n(5035),i=n(9204);const s=["value","referenceDate"],l={emptyValue:null,getTodayValue:a.ak,getInitialReferenceValue:e=>{let{value:t,referenceDate:n}=e,a=(0,o.A)(e,s);return null!=t&&a.utils.isValid(t)?t:null!=n?n:(0,r.$9)(a)},cleanValue:a.Q6,areValuesEqual:a.iH,isSameError:(e,t)=>e===t,hasError:e=>null!=e,defaultErrorState:null,getTimezone:(e,t)=>null!=t&&e.isValid(t)?e.getTimezone(t):null,setTimezone:(e,t,n)=>null==n?null:e.setTimezone(n,t)},c={updateReferenceValue:(e,t,n)=>null!=t&&e.isValid(t)?t:n,getSectionsFromValue:(e,t,n,o,a)=>!e.isValid(t)&&!!n?n:(0,i.H6)(a(t),o),getValueStrFromSections:i.bl,getActiveDateManager:(e,t)=>({date:t.value,referenceDate:t.referenceValue,getSections:e=>e,getNewValuesFromNewActiveDate:n=>({value:n,referenceValue:null!=n&&e.isValid(n)?n:t.referenceValue})}),parseValueStr:(e,t,n)=>n(e.trim(),t)}},6951:(e,t,n)=>{"use strict";n.d(t,{R:()=>a,f:()=>o});const o=(e,t)=>e.length===t.length&&t.every((t=>e.includes(t))),a=e=>{let{openTo:t,defaultOpenTo:n,views:o,defaultViews:a}=e;const r=null!=o?o:a;let i;if(null!=t)i=t;else if(r.includes(n))i=n;else{if(!(r.length>0))throw new Error("MUI: The `views` prop must contain at least one view");i=r[0]}return{views:r,openTo:i}}},4779:(e,t,n)=>{"use strict";n.d(t,{X:()=>r,c:()=>i});var o=n(6620);const a={previousMonth:"Previous month",nextMonth:"Next month",openPreviousView:"open previous view",openNextView:"open next view",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"year view is open, switch to calendar view":"calendar view is open, switch to year view",start:"Start",end:"End",cancelButtonLabel:"Cancel",clearButtonLabel:"Clear",okButtonLabel:"OK",todayButtonLabel:"Today",datePickerToolbarTitle:"Select date",dateTimePickerToolbarTitle:"Select date & time",timePickerToolbarTitle:"Select time",dateRangePickerToolbarTitle:"Select date range",clockLabelText:(e,t,n)=>"Select ".concat(e,". ").concat(null===t?"No time selected":"Selected time is ".concat(n.format(t,"fullTime"))),hoursClockNumberText:e=>"".concat(e," hours"),minutesClockNumberText:e=>"".concat(e," minutes"),secondsClockNumberText:e=>"".concat(e," seconds"),selectViewText:e=>"Select ".concat(e),calendarWeekNumberHeaderLabel:"Week number",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>"Week ".concat(e),calendarWeekNumberText:e=>"".concat(e),openDatePickerDialogue:(e,t)=>null!==e&&t.isValid(e)?"Choose date, selected date is ".concat(t.format(e,"fullDate")):"Choose date",openTimePickerDialogue:(e,t)=>null!==e&&t.isValid(e)?"Choose time, selected time is ".concat(t.format(e,"fullTime")):"Choose time",fieldClearLabel:"Clear value",timeTableLabel:"pick time",dateTableLabel:"pick date",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa"},r=a,i=(0,o.r)(a)},3543:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});var o=n(6620);const a={hours:"\u6642\u9593",minutes:"\u5206",seconds:"\u79d2",meridiem:"\u30e1\u30ea\u30c7\u30a3\u30e0"},r={previousMonth:"\u5148\u6708",nextMonth:"\u6765\u6708",openPreviousView:"\u524d\u306e\u8868\u793a\u3092\u958b\u304f",openNextView:"\u6b21\u306e\u8868\u793a\u3092\u958b\u304f",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"\u5e74\u9078\u629e\u8868\u793a\u304b\u3089\u30ab\u30ec\u30f3\u30c0\u30fc\u8868\u793a\u306b\u5207\u308a\u66ff\u3048\u308b":"\u30ab\u30ec\u30f3\u30c0\u30fc\u8868\u793a\u304b\u3089\u5e74\u9078\u629e\u8868\u793a\u306b\u5207\u308a\u66ff\u3048\u308b",start:"\u958b\u59cb",end:"\u7d42\u4e86",cancelButtonLabel:"\u30ad\u30e3\u30f3\u30bb\u30eb",clearButtonLabel:"\u30af\u30ea\u30a2",okButtonLabel:"\u78ba\u5b9a",todayButtonLabel:"\u4eca\u65e5",datePickerToolbarTitle:"\u65e5\u4ed8\u3092\u9078\u629e",dateTimePickerToolbarTitle:"\u65e5\u6642\u3092\u9078\u629e",timePickerToolbarTitle:"\u6642\u9593\u3092\u9078\u629e",dateRangePickerToolbarTitle:"\u65e5\u4ed8\u306e\u7bc4\u56f2\u3092\u9078\u629e",clockLabelText:(e,t,n)=>{var o;return"".concat(null!=(o=a[e])?o:e,"\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044 ").concat(null===t?"\u6642\u9593\u304c\u9078\u629e\u3055\u308c\u3066\u3044\u307e\u305b\u3093":"\u9078\u629e\u3057\u305f\u6642\u9593\u306f ".concat(n.format(t,"fullTime")," \u3067\u3059"))},hoursClockNumberText:e=>"".concat(e," ").concat(a.hours),minutesClockNumberText:e=>"".concat(e," ").concat(a.minutes),secondsClockNumberText:e=>"".concat(e," ").concat(a.seconds),selectViewText:e=>"\u3092\u9078\u629e ".concat(a[e]),calendarWeekNumberHeaderLabel:"\u9031\u756a\u53f7",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>"".concat(e,"\u9031\u76ee"),calendarWeekNumberText:e=>"".concat(e),openDatePickerDialogue:(e,t)=>null!==e&&t.isValid(e)?"\u65e5\u4ed8\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u9078\u629e\u3057\u305f\u65e5\u4ed8\u306f ".concat(t.format(e,"fullDate")," \u3067\u3059"):"\u65e5\u4ed8\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044",openTimePickerDialogue:(e,t)=>null!==e&&t.isValid(e)?"\u6642\u9593\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u9078\u629e\u3057\u305f\u6642\u9593\u306f ".concat(t.format(e,"fullTime")," \u3067\u3059"):"\u6642\u9593\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044",timeTableLabel:"\u6642\u9593\u3092\u9078\u629e",dateTableLabel:"\u65e5\u4ed8\u3092\u9078\u629e",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa"},i=(0,o.r)(r)},9299:(e,t,n)=>{"use strict";n.d(t,{U:()=>i});var o=n(6620);const a={hours:"\uc2dc\uac04\uc744",minutes:"\ubd84\uc744",seconds:"\ucd08\ub97c",meridiem:"\uba54\ub9ac\ub514\uc5e0"},r={previousMonth:"\uc774\uc804 \ub2ec",nextMonth:"\ub2e4\uc74c \ub2ec",openPreviousView:"\uc774\uc804 \ud654\uba74 \ubcf4\uae30",openNextView:"\ub2e4\uc74c \ud654\uba74 \ubcf4\uae30",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"\uc5f0\ub3c4 \uc120\ud0dd \ud654\uba74\uc5d0\uc11c \ub2ec\ub825 \ud654\uba74\uc73c\ub85c \uc804\ud658\ud558\uae30":"\ub2ec\ub825 \ud654\uba74\uc5d0\uc11c \uc5f0\ub3c4 \uc120\ud0dd \ud654\uba74\uc73c\ub85c \uc804\ud658\ud558\uae30",start:"\uc2dc\uc791",end:"\uc885\ub8cc",cancelButtonLabel:"\ucde8\uc18c",clearButtonLabel:"\ucd08\uae30\ud654",okButtonLabel:"\ud655\uc778",todayButtonLabel:"\uc624\ub298",datePickerToolbarTitle:"\ub0a0\uc9dc \uc120\ud0dd\ud558\uae30",dateTimePickerToolbarTitle:"\ub0a0\uc9dc & \uc2dc\uac04 \uc120\ud0dd\ud558\uae30",timePickerToolbarTitle:"\uc2dc\uac04 \uc120\ud0dd\ud558\uae30",dateRangePickerToolbarTitle:"\ub0a0\uc9dc \ubc94\uc704 \uc120\ud0dd\ud558\uae30",clockLabelText:(e,t,n)=>"".concat(a[e]," \uc120\ud0dd\ud558\uc138\uc694. ").concat(null===t?"\uc2dc\uac04\uc744 \uc120\ud0dd\ud558\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4.":"\ud604\uc7ac \uc120\ud0dd\ub41c \uc2dc\uac04\uc740 ".concat(n.format(t,"fullTime"),"\uc785\ub2c8\ub2e4.")),hoursClockNumberText:e=>"".concat(e,"\uc2dc\uac04"),minutesClockNumberText:e=>"".concat(e,"\ubd84"),secondsClockNumberText:e=>"".concat(e,"\ucd08"),selectViewText:e=>"".concat(a[e]," \uc120\ud0dd\ud558\uae30"),calendarWeekNumberHeaderLabel:"\uc8fc \ubc88\ud638",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>"".concat(e,"\ubc88\uc9f8 \uc8fc"),calendarWeekNumberText:e=>"".concat(e),openDatePickerDialogue:(e,t)=>null!==e&&t.isValid(e)?"\ub0a0\uc9dc\ub97c \uc120\ud0dd\ud558\uc138\uc694. \ud604\uc7ac \uc120\ud0dd\ub41c \ub0a0\uc9dc\ub294 ".concat(t.format(e,"fullDate"),"\uc785\ub2c8\ub2e4."):"\ub0a0\uc9dc\ub97c \uc120\ud0dd\ud558\uc138\uc694",openTimePickerDialogue:(e,t)=>null!==e&&t.isValid(e)?"\uc2dc\uac04\uc744 \uc120\ud0dd\ud558\uc138\uc694. \ud604\uc7ac \uc120\ud0dd\ub41c \uc2dc\uac04\uc740 ".concat(t.format(e,"fullTime"),"\uc785\ub2c8\ub2e4."):"\uc2dc\uac04\uc744 \uc120\ud0dd\ud558\uc138\uc694",timeTableLabel:"\uc120\ud0dd\ud55c \uc2dc\uac04",dateTableLabel:"\uc120\ud0dd\ud55c \ub0a0\uc9dc",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa"},i=(0,o.r)(r)},6620:(e,t,n)=>{"use strict";n.d(t,{r:()=>a});var o=n(8168);const a=e=>({components:{MuiLocalizationProvider:{defaultProps:{localeText:(0,o.A)({},e)}}}})},875:(e,t,n)=>{"use strict";n.d(t,{g:()=>i});var o=n(6620);const a={hours:"\u5c0f\u65f6",minutes:"\u5206\u949f",seconds:"\u79d2",meridiem:"\u5b50\u5348\u7ebf"},r={previousMonth:"\u4e0a\u4e2a\u6708",nextMonth:"\u4e0b\u4e2a\u6708",openPreviousView:"\u524d\u4e00\u4e2a\u89c6\u56fe",openNextView:"\u4e0b\u4e00\u4e2a\u89c6\u56fe",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"\u5e74\u89c6\u56fe\u5df2\u6253\u5f00\uff0c\u5207\u6362\u4e3a\u65e5\u5386\u89c6\u56fe":"\u65e5\u5386\u89c6\u56fe\u5df2\u6253\u5f00\uff0c\u5207\u6362\u4e3a\u5e74\u89c6\u56fe",start:"\u5f00\u59cb",end:"\u7ed3\u675f",cancelButtonLabel:"\u53d6\u6d88",clearButtonLabel:"\u6e05\u9664",okButtonLabel:"\u786e\u8ba4",todayButtonLabel:"\u4eca\u5929",datePickerToolbarTitle:"\u9009\u62e9\u65e5\u671f",dateTimePickerToolbarTitle:"\u9009\u62e9\u65e5\u671f\u548c\u65f6\u95f4",timePickerToolbarTitle:"\u9009\u62e9\u65f6\u95f4",dateRangePickerToolbarTitle:"\u9009\u62e9\u65f6\u95f4\u8303\u56f4",clockLabelText:(e,t,n)=>"\u9009\u62e9 ".concat(a[e],". ").concat(null===t?"\u672a\u9009\u62e9\u65f6\u95f4":"\u5df2\u9009\u62e9".concat(n.format(t,"fullTime"))),hoursClockNumberText:e=>"".concat(e,"\u5c0f\u65f6"),minutesClockNumberText:e=>"".concat(e,"\u5206\u949f"),secondsClockNumberText:e=>"".concat(e,"\u79d2"),selectViewText:e=>"\u9009\u62e9 ".concat(a[e]),calendarWeekNumberHeaderLabel:"\u5468\u6570",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>"\u7b2c".concat(e,"\u5468"),calendarWeekNumberText:e=>"".concat(e),openDatePickerDialogue:(e,t)=>null!==e&&t.isValid(e)?"\u9009\u62e9\u65e5\u671f\uff0c\u5df2\u9009\u62e9".concat(t.format(e,"fullDate")):"\u9009\u62e9\u65e5\u671f",openTimePickerDialogue:(e,t)=>null!==e&&t.isValid(e)?"\u9009\u62e9\u65f6\u95f4\uff0c\u5df2\u9009\u62e9".concat(t.format(e,"fullTime")):"\u9009\u62e9\u65f6\u95f4",timeTableLabel:"\u9009\u62e9\u65f6\u95f4",dateTableLabel:"\u9009\u62e9\u65e5\u671f",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa"},i=(0,o.r)(r)},7315:(e,t,n)=>{"use strict";n.d(t,{a:()=>i});var o=n(6620);const a={hours:"\u5c0f\u6642",minutes:"\u5206\u9418",seconds:"\u79d2",meridiem:"\u5b50\u5348\u7dda"},r={previousMonth:"\u4e0a\u500b\u6708",nextMonth:"\u4e0b\u500b\u6708",openPreviousView:"\u524d\u4e00\u500b\u6aa2\u8996\u8868",openNextView:"\u4e0b\u4e00\u500b\u6aa2\u8996\u8868",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"\u5e74\u4efd\u6aa2\u8996\u8868\u5df2\u6253\u958b\uff0c\u5207\u63db\u4ee5\u6aa2\u8996\u65e5\u66c6":"\u65e5\u66c6\u6aa2\u8996\u8868\u5df2\u6253\u958b\uff0c\u5207\u63db\u4ee5\u6aa2\u8996\u5e74\u4efd",start:"\u958b\u59cb",end:"\u7d50\u675f",cancelButtonLabel:"\u53d6\u6d88",clearButtonLabel:"\u6e05\u9664",okButtonLabel:"\u78ba\u8a8d",todayButtonLabel:"\u4eca\u65e5",datePickerToolbarTitle:"\u9078\u64c7\u65e5\u671f",dateTimePickerToolbarTitle:"\u9078\u64c7\u65e5\u671f\u548c\u6642\u9593",timePickerToolbarTitle:"\u9078\u64c7\u6642\u9593",dateRangePickerToolbarTitle:"\u9078\u64c7\u6642\u9593\u7bc4\u570d",clockLabelText:(e,t,n)=>"\u9078\u64c7 ".concat(a[e],". ").concat(null===t?"\u672a\u9078\u64c7\u6642\u9593":"\u5df2\u9078\u64c7".concat(n.format(t,"fullTime"))),hoursClockNumberText:e=>"".concat(e,"\u5c0f\u6642"),minutesClockNumberText:e=>"".concat(e,"\u5206\u9418"),secondsClockNumberText:e=>"".concat(e,"\u79d2"),selectViewText:e=>"\u9078\u64c7 ".concat(a[e]),calendarWeekNumberHeaderLabel:"\u9031\u6578",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>"\u7b2c".concat(e,"\u9031"),calendarWeekNumberText:e=>"".concat(e),openDatePickerDialogue:(e,t)=>null!==e&&t.isValid(e)?"\u9078\u64c7\u65e5\u671f\uff0c\u5df2\u9078\u64c7".concat(t.format(e,"fullDate")):"\u9078\u64c7\u65e5\u671f",openTimePickerDialogue:(e,t)=>null!==e&&t.isValid(e)?"\u9078\u64c7\u6642\u9593\uff0c\u5df2\u9078\u64c7".concat(t.format(e,"fullTime")):"\u9078\u64c7\u6642\u9593",timeTableLabel:"\u9078\u64c7\u6642\u9593",dateTableLabel:"\u9078\u64c7\u65e5\u671f",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa"},i=(0,o.r)(r)},3396:(e,t,n)=>{"use strict";n.d(t,{$W:()=>Ee,$8:()=>Fe,Zo:()=>Oe});var o=n(9950),a=n(8168),r=n(8587),i=n(2004),s=n(9254),l=n(9859),c=n(4061),u=n(8767),d=n(634),m=n(7969),p=n(2412),h=n(8477),f=n(731),v=n(9355),g=n(8483),b=n(3244);function y(e){return(0,g.Ay)("MuiTimeClock",e)}(0,b.A)("MuiTimeClock",["root","arrowSwitcher"]);var w=n(5333),A=n(2053),x=n(4131);const T=220,C=36,D={x:T/2,y:T/2},k=D.x-D.x,M=0-D.y,P=(e,t,n)=>{const o=t-D.x,a=n-D.y,r=Math.atan2(k,M)-Math.atan2(o,a);let i=r*(180/Math.PI);i=Math.round(i/e)*e,i%=360;const s=o**2+a**2;return{value:Math.floor(i/e)||0,distance:Math.sqrt(s)}};function S(e){return(0,g.Ay)("MuiClockPointer",e)}(0,b.A)("MuiClockPointer",["root","thumb"]);var V=n(4414);const N=["className","hasSelected","isInner","type","viewValue"],I=e=>{const{classes:t}=e;return(0,c.A)({root:["root"],thumb:["thumb"]},S,t)},R=(0,s.Ay)("div",{name:"MuiClockPointer",slot:"Root",overridesResolver:(e,t)=>t.root})((e=>{let{theme:t,ownerState:n}=e;return(0,a.A)({width:2,backgroundColor:(t.vars||t).palette.primary.main,position:"absolute",left:"calc(50% - 1px)",bottom:"50%",transformOrigin:"center bottom 0px"},n.shouldAnimate&&{transition:t.transitions.create(["transform","height"])})})),O=(0,s.Ay)("div",{name:"MuiClockPointer",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((e=>{let{theme:t,ownerState:n}=e;return(0,a.A)({width:4,height:4,backgroundColor:(t.vars||t).palette.primary.contrastText,borderRadius:"50%",position:"absolute",top:-21,left:"calc(50% - ".concat(18,"px)"),border:"".concat(16,"px solid ").concat((t.vars||t).palette.primary.main),boxSizing:"content-box"},n.hasSelected&&{backgroundColor:(t.vars||t).palette.primary.main})}));function E(e){const t=(0,l.A)({props:e,name:"MuiClockPointer"}),{className:n,isInner:s,type:c,viewValue:u}=t,d=(0,r.A)(t,N),m=o.useRef(c);o.useEffect((()=>{m.current=c}),[c]);const p=(0,a.A)({},t,{shouldAnimate:m.current!==c}),h=I(p);return(0,V.jsx)(R,(0,a.A)({style:(()=>{let e=360/("hours"===c?12:60)*u;return"hours"===c&&u>12&&(e-=360),{height:Math.round((s?.26:.4)*T),transform:"rotateZ(".concat(e,"deg)")}})(),className:(0,i.A)(n,h.root),ownerState:p},d,{children:(0,V.jsx)(O,{ownerState:p,className:h.thumb})}))}function F(e){return(0,g.Ay)("MuiClock",e)}(0,b.A)("MuiClock",["root","clock","wrapper","squareMask","pin","amButton","pmButton","meridiemText"]);var L=n(853);const W=(0,s.Ay)("div",{name:"MuiClock",slot:"Root",overridesResolver:(e,t)=>t.root})((e=>{let{theme:t}=e;return{display:"flex",justifyContent:"center",alignItems:"center",margin:t.spacing(2)}})),j=(0,s.Ay)("div",{name:"MuiClock",slot:"Clock",overridesResolver:(e,t)=>t.clock})({backgroundColor:"rgba(0,0,0,.07)",borderRadius:"50%",height:220,width:220,flexShrink:0,position:"relative",pointerEvents:"none"}),B=(0,s.Ay)("div",{name:"MuiClock",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({"&:focus":{outline:"none"}}),z=(0,s.Ay)("div",{name:"MuiClock",slot:"SquareMask",overridesResolver:(e,t)=>t.squareMask})((e=>{let{ownerState:t}=e;return(0,a.A)({width:"100%",height:"100%",position:"absolute",pointerEvents:"auto",outline:0,touchAction:"none",userSelect:"none"},t.disabled?{}:{"@media (pointer: fine)":{cursor:"pointer",borderRadius:"50%"},"&:active":{cursor:"move"}})})),H=(0,s.Ay)("div",{name:"MuiClock",slot:"Pin",overridesResolver:(e,t)=>t.pin})((e=>{let{theme:t}=e;return{width:6,height:6,borderRadius:"50%",backgroundColor:(t.vars||t).palette.primary.main,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}})),Y=(0,s.Ay)(w.A,{name:"MuiClock",slot:"AmButton",overridesResolver:(e,t)=>t.amButton})((e=>{let{theme:t,ownerState:n}=e;return(0,a.A)({zIndex:1,position:"absolute",bottom:8,left:8,paddingLeft:4,paddingRight:4,width:C},"am"===n.meridiemMode&&{backgroundColor:(t.vars||t).palette.primary.main,color:(t.vars||t).palette.primary.contrastText,"&:hover":{backgroundColor:(t.vars||t).palette.primary.light}})})),U=(0,s.Ay)(w.A,{name:"MuiClock",slot:"PmButton",overridesResolver:(e,t)=>t.pmButton})((e=>{let{theme:t,ownerState:n}=e;return(0,a.A)({zIndex:1,position:"absolute",bottom:8,right:8,paddingLeft:4,paddingRight:4,width:C},"pm"===n.meridiemMode&&{backgroundColor:(t.vars||t).palette.primary.main,color:(t.vars||t).palette.primary.contrastText,"&:hover":{backgroundColor:(t.vars||t).palette.primary.light}})})),q=(0,s.Ay)(A.A,{name:"MuiClock",slot:"meridiemText",overridesResolver:(e,t)=>t.meridiemText})({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});function X(e){const t=(0,l.A)({props:e,name:"MuiClock"}),{ampm:n,ampmInClock:a,autoFocus:r,children:s,value:u,handleMeridiemChange:m,isTimeDisabled:p,meridiemMode:h,minutesStep:f=1,onChange:v,selectedId:g,type:b,viewValue:y,disabled:w,readOnly:A,className:D}=t,k=t,M=(0,d.hc)(),S=(0,d.Nq)(),N=o.useRef(!1),I=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"],clock:["clock"],wrapper:["wrapper"],squareMask:["squareMask"],pin:["pin"],amButton:["amButton"],pmButton:["pmButton"],meridiemText:["meridiemText"]},F,t)})(k),R=p(y,b),O=!n&&"hours"===b&&(y<1||y>12),X=(e,t)=>{w||A||p(e,b)||v(e,t)},Q=(e,t)=>{let{offsetX:o,offsetY:a}=e;if(void 0===o){const t=e.target.getBoundingClientRect();o=e.changedTouches[0].clientX-t.left,a=e.changedTouches[0].clientY-t.top}const r="seconds"===b||"minutes"===b?function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;const o=6*n;let{value:a}=P(o,e,t);return a=a*n%60,a}(o,a,f):((e,t,n)=>{const{value:o,distance:a}=P(30,e,t);let r=o||12;return n?r%=12:a"hours"===b||y%5===0),[b,y]),G="minutes"===b?f:1,_=o.useRef(null);(0,x.A)((()=>{r&&_.current.focus()}),[r]);return(0,V.jsxs)(W,{className:(0,i.A)(D,I.root),children:[(0,V.jsxs)(j,{className:I.clock,children:[(0,V.jsx)(z,{onTouchMove:e=>{N.current=!0,Q(e,"shallow")},onTouchEnd:e=>{N.current&&(Q(e,"finish"),N.current=!1)},onMouseUp:e=>{N.current&&(N.current=!1),Q(e.nativeEvent,"finish")},onMouseMove:e=>{e.buttons>0&&Q(e.nativeEvent,"shallow")},ownerState:{disabled:w},className:I.squareMask}),!R&&(0,V.jsxs)(o.Fragment,{children:[(0,V.jsx)(H,{className:I.pin}),null!=u&&(0,V.jsx)(E,{type:b,viewValue:y,isInner:O,hasSelected:K})]}),(0,V.jsx)(B,{"aria-activedescendant":g,"aria-label":S.clockLabelText(b,u,M),ref:_,role:"listbox",onKeyDown:e=>{if(!N.current)switch(e.key){case"Home":X(0,"partial"),e.preventDefault();break;case"End":X("minutes"===b?59:23,"partial"),e.preventDefault();break;case"ArrowUp":X(y+G,"partial"),e.preventDefault();break;case"ArrowDown":X(y-G,"partial"),e.preventDefault()}},tabIndex:0,className:I.wrapper,children:s})]}),n&&a&&(0,V.jsxs)(o.Fragment,{children:[(0,V.jsx)(Y,{onClick:A?void 0:()=>m("am"),disabled:w||null===h,ownerState:k,className:I.amButton,title:(0,L._S)(M,"am"),children:(0,V.jsx)(q,{variant:"caption",className:I.meridiemText,children:(0,L._S)(M,"am")})}),(0,V.jsx)(U,{disabled:w||null===h,onClick:A?void 0:()=>m("pm"),ownerState:k,className:I.pmButton,title:(0,L._S)(M,"pm"),children:(0,V.jsx)(q,{variant:"caption",className:I.meridiemText,children:(0,L._S)(M,"pm")})})]})]})}function Q(e){return(0,g.Ay)("MuiClockNumber",e)}const K=(0,b.A)("MuiClockNumber",["root","selected","disabled"]),G=["className","disabled","index","inner","label","selected"],_=(0,s.Ay)("span",{name:"MuiClockNumber",slot:"Root",overridesResolver:(e,t)=>[t.root,{["&.".concat(K.disabled)]:t.disabled},{["&.".concat(K.selected)]:t.selected}]})((e=>{let{theme:t,ownerState:n}=e;return(0,a.A)({height:C,width:C,position:"absolute",left:"calc((100% - ".concat(C,"px) / 2)"),display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",color:(t.vars||t).palette.text.primary,fontFamily:t.typography.fontFamily,"&:focused":{backgroundColor:(t.vars||t).palette.background.paper},["&.".concat(K.selected)]:{color:(t.vars||t).palette.primary.contrastText},["&.".concat(K.disabled)]:{pointerEvents:"none",color:(t.vars||t).palette.text.disabled}},n.inner&&(0,a.A)({},t.typography.body2,{color:(t.vars||t).palette.text.secondary}))}));function Z(e){const t=(0,l.A)({props:e,name:"MuiClockNumber"}),{className:n,disabled:o,index:s,inner:u,label:d,selected:m}=t,p=(0,r.A)(t,G),h=t,f=(e=>{const{classes:t,selected:n,disabled:o}=e,a={root:["root",n&&"selected",o&&"disabled"]};return(0,c.A)(a,Q,t)})(h),v=s%12/12*Math.PI*2-Math.PI/2,g=(T-C-2)/2*(u?.65:1),b=Math.round(Math.cos(v)*g),y=Math.round(Math.sin(v)*g);return(0,V.jsx)(_,(0,a.A)({className:(0,i.A)(n,f.root),"aria-disabled":!!o||void 0,"aria-selected":!!m||void 0,role:"option",style:{transform:"translate(".concat(b,"px, ").concat(y+(T-C)/2,"px")},ownerState:h},p,{children:d}))}const $=e=>{let{ampm:t,value:n,getClockNumberText:o,isDisabled:a,selectedId:r,utils:i}=e;const s=n?i.getHours(n):null,l=[],c=t?12:23,u=e=>null!==s&&(t?12===e?12===s||0===s:s===e||s-12===e:s===e);for(let d=t?1:0;d<=c;d+=1){let e=d.toString();0===d&&(e="00");const n=!t&&(0===d||d>12);e=i.formatNumber(e);const s=u(d);l.push((0,V.jsx)(Z,{id:s?r:void 0,index:d,inner:n,selected:s,disabled:a(d),label:e,"aria-label":o(e)},d))}return l},J=e=>{let{utils:t,value:n,isDisabled:o,getClockNumberText:a,selectedId:r}=e;const i=t.formatNumber;return[[5,i("05")],[10,i("10")],[15,i("15")],[20,i("20")],[25,i("25")],[30,i("30")],[35,i("35")],[40,i("40")],[45,i("45")],[50,i("50")],[55,i("55")],[0,i("00")]].map(((e,t)=>{let[i,s]=e;const l=i===n;return(0,V.jsx)(Z,{label:s,id:l?r:void 0,index:t+1,inner:!1,disabled:o(i),selected:l,"aria-label":a(s)},i)}))};var ee=n(5969),te=n(4104),ne=n(1457),oe=n(5035);const ae=e=>{let{value:t,referenceDate:n,utils:a,props:r,timezone:i}=e;const s=o.useMemo((()=>te.W.getInitialReferenceValue({value:t,utils:a,props:r,referenceDate:n,granularity:oe.yX.day,timezone:i,getTodayDate:()=>(0,L.ak)(a,i,"date")})),[]);return null!=t?t:s},re=["ampm","ampmInClock","autoFocus","components","componentsProps","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableClock","shouldDisableTime","showViewSwitcher","onChange","view","views","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","timezone"],ie=(0,s.Ay)(v.I,{name:"MuiTimeClock",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"column",position:"relative"}),se=(0,s.Ay)(m.Y,{name:"MuiTimeClock",slot:"ArrowSwitcher",overridesResolver:(e,t)=>t.arrowSwitcher})({position:"absolute",right:12,top:15}),le=["hours","minutes"],ce=o.forwardRef((function(e,t){const n=(0,d.hc)(),s=(0,l.A)({props:e,name:"MuiTimeClock"}),{ampm:m=n.is12HourCycleInCurrentLocale(),ampmInClock:v=!1,autoFocus:g,components:b,componentsProps:w,slots:A,slotProps:x,value:T,defaultValue:C,referenceDate:D,disableIgnoringDatePartForTimeValidation:k=!1,maxTime:M,minTime:P,disableFuture:S,disablePast:N,minutesStep:I=1,shouldDisableClock:R,shouldDisableTime:O,showViewSwitcher:E,onChange:F,view:L,views:W=le,openTo:j,onViewChange:B,focusedView:z,onFocusedViewChange:H,className:Y,disabled:U,readOnly:q,timezone:Q}=s,K=(0,r.A)(s,re),G=null!=A?A:(0,ne.p)(b),_=null!=x?x:w,{value:Z,handleValueChange:oe,timezone:ce}=(0,ee.Y)({name:"TimeClock",timezone:Q,value:T,defaultValue:C,onChange:F,valueManager:te.W}),ue=ae({value:Z,referenceDate:D,utils:n,props:s,timezone:ce}),de=(0,d.Nq)(),me=(0,d.cB)(ce),{view:pe,setView:he,previousView:fe,nextView:ve,setValueAndGoToNextView:ge}=(0,h.o)({view:L,views:W,openTo:j,onViewChange:B,onChange:oe,focusedView:z,onFocusedViewChange:H}),{meridiemMode:be,handleMeridiemChange:ye}=(0,f.r7)(ue,m,ge),we=o.useCallback(((e,t)=>{const o=(0,p.iF)(k,n),a="hours"===t||"minutes"===t&&W.includes("seconds"),r=e=>{let{start:t,end:n}=e;return(!P||!o(P,n))&&((!M||!o(t,M))&&((!S||!o(t,me))&&(!N||!o(me,a?n:t))))},i=function(e){if(e%(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1)!==0)return!1;if(null!=R&&R(e,t))return!1;if(O)switch(t){case"hours":return!O(n.setHours(ue,e),"hours");case"minutes":return!O(n.setMinutes(ue,e),"minutes");case"seconds":return!O(n.setSeconds(ue,e),"seconds");default:return!1}return!0};switch(t){case"hours":{const t=(0,p.gY)(e,be,m),o=n.setHours(ue,t);return!r({start:n.setSeconds(n.setMinutes(o,0),0),end:n.setSeconds(n.setMinutes(o,59),59)})||!i(t)}case"minutes":{const t=n.setMinutes(ue,e);return!r({start:n.setSeconds(t,0),end:n.setSeconds(t,59)})||!i(e,I)}case"seconds":{const t=n.setSeconds(ue,e);return!r({start:t,end:t})||!i(e)}default:throw new Error("not supported")}}),[m,ue,k,M,be,P,I,R,O,n,S,N,me,W]),Ae=(0,u.A)(),xe=o.useMemo((()=>{switch(pe){case"hours":{const e=(e,t)=>{const o=(0,p.gY)(e,be,m);ge(n.setHours(ue,o),t)};return{onChange:e,viewValue:n.getHours(ue),children:$({value:Z,utils:n,ampm:m,onChange:e,getClockNumberText:de.hoursClockNumberText,isDisabled:e=>U||we(e,"hours"),selectedId:Ae})}}case"minutes":{const e=n.getMinutes(ue),t=(e,t)=>{ge(n.setMinutes(ue,e),t)};return{viewValue:e,onChange:t,children:J({utils:n,value:e,onChange:t,getClockNumberText:de.minutesClockNumberText,isDisabled:e=>U||we(e,"minutes"),selectedId:Ae})}}case"seconds":{const e=n.getSeconds(ue),t=(e,t)=>{ge(n.setSeconds(ue,e),t)};return{viewValue:e,onChange:t,children:J({utils:n,value:e,onChange:t,getClockNumberText:de.secondsClockNumberText,isDisabled:e=>U||we(e,"seconds"),selectedId:Ae})}}default:throw new Error("You must provide the type for ClockView")}}),[pe,n,Z,m,de.hoursClockNumberText,de.minutesClockNumberText,de.secondsClockNumberText,be,ge,ue,we,Ae,U]),Te=s,Ce=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"],arrowSwitcher:["arrowSwitcher"]},y,t)})(Te);return(0,V.jsxs)(ie,(0,a.A)({ref:t,className:(0,i.A)(Ce.root,Y),ownerState:Te},K,{children:[(0,V.jsx)(X,(0,a.A)({autoFocus:null!=g?g:!!z,ampmInClock:v&&W.includes("hours"),value:Z,type:pe,ampm:m,minutesStep:I,isTimeDisabled:we,meridiemMode:be,handleMeridiemChange:ye,selectedId:Ae,disabled:U,readOnly:q},xe)),E&&(0,V.jsx)(se,{className:Ce.arrowSwitcher,slots:G,slotProps:_,onGoToPrevious:()=>he(fe),isPreviousDisabled:!fe,previousLabel:de.openPreviousView,onGoToNext:()=>he(ve),isNextDisabled:!ve,nextLabel:de.openNextView,ownerState:Te})]}))}));var ue=n(525),de=n(7497),me=n(2877),pe=n(4322),he=n(9380),fe=n(4093),ve=n(3863),ge=n(4936);const be=["ampm","timeStep","autoFocus","components","componentsProps","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableClock","shouldDisableTime","onChange","view","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","views","skipDisabled","timezone"],ye=(0,s.Ay)(v.I,{name:"MuiDigitalClock",slot:"Root",overridesResolver:(e,t)=>t.root})((e=>{let{ownerState:t}=e;return{overflowY:"auto",width:"100%","@media (prefers-reduced-motion: no-preference)":{scrollBehavior:t.alreadyRendered?"smooth":"auto"},maxHeight:ge.kP}})),we=(0,s.Ay)(he.A,{name:"MuiDigitalClock",slot:"List",overridesResolver:(e,t)=>t.list})({padding:0}),Ae=(0,s.Ay)(pe.A,{name:"MuiDigitalClock",slot:"Item",overridesResolver:(e,t)=>t.item})((e=>{let{theme:t}=e;return{padding:"8px 16px",margin:"2px 4px","&:first-of-type":{marginTop:4},"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,de.X4)(t.palette.primary.main,t.palette.action.hoverOpacity)},"&.Mui-selected":{backgroundColor:(t.vars||t).palette.primary.main,color:(t.vars||t).palette.primary.contrastText,"&:focus-visible, &:hover":{backgroundColor:(t.vars||t).palette.primary.dark}},"&.Mui-focusVisible":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.focusOpacity,")"):(0,de.X4)(t.palette.primary.main,t.palette.action.focusOpacity)}}})),xe=o.forwardRef((function(e,t){var n,s,u;const m=(0,d.hc)(),f=o.useRef(null),v=(0,fe.A)(t,f),g=(0,l.A)({props:e,name:"MuiDigitalClock"}),{ampm:b=m.is12HourCycleInCurrentLocale(),timeStep:y=30,autoFocus:w,components:A,componentsProps:x,slots:T,slotProps:C,value:D,defaultValue:k,referenceDate:M,disableIgnoringDatePartForTimeValidation:P=!1,maxTime:S,minTime:N,disableFuture:I,disablePast:R,minutesStep:O=1,shouldDisableClock:E,shouldDisableTime:F,onChange:L,view:W,openTo:j,onViewChange:B,focusedView:z,onFocusedViewChange:H,className:Y,disabled:U,readOnly:q,views:X=["hours"],skipDisabled:Q=!1,timezone:K}=g,G=(0,r.A)(g,be),{value:_,handleValueChange:Z,timezone:$}=(0,ee.Y)({name:"DigitalClock",timezone:K,value:D,defaultValue:k,onChange:L,valueManager:te.W}),J=(0,d.Nq)(),ne=(0,d.cB)($),oe=o.useMemo((()=>(0,a.A)({},g,{alreadyRendered:!!f.current})),[g]),re=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"],list:["list"],item:["item"]},ve.L,t)})(oe),ie=null!=(n=null!=(s=null==T?void 0:T.digitalClockItem)?s:null==A?void 0:A.DigitalClockItem)?n:Ae,se=(0,ue.Q)({elementType:ie,externalSlotProps:null!=(u=null==C?void 0:C.digitalClockItem)?u:null==x?void 0:x.digitalClockItem,ownerState:{},className:re.item}),le=ae({value:_,referenceDate:M,utils:m,props:g,timezone:$}),ce=(0,me.A)((e=>Z(e,"finish","hours"))),{setValueAndGoToNextView:de}=(0,h.o)({view:W,views:X,openTo:j,onViewChange:B,onChange:ce,focusedView:z,onFocusedViewChange:H}),pe=(0,me.A)((e=>{de(e,"finish")}));o.useEffect((()=>{if(null===f.current)return;const e=f.current.querySelector('[role="listbox"] [role="option"][aria-selected="true"]');if(!e)return;const t=e.offsetTop;f.current.scrollTop=t-4}));const he=o.useCallback((e=>{const t=(0,p.iF)(P,m);return!((!N||!t(N,e))&&(!S||!t(e,S))&&(!I||!t(e,ne))&&(!R||!t(ne,e)))||!(m.getMinutes(e)%O===0&&(null==E||!E(m.toJsDate(e).getTime(),"hours"))&&(!F||!F(e,"hours")))}),[P,m,N,S,I,ne,R,O,E,F]),ge=o.useMemo((()=>{const e=m.startOfDay(le);return[e,...Array.from({length:Math.ceil(1440/y)-1},((t,n)=>m.addMinutes(e,y*(n+1))))]}),[le,y,m]);return(0,V.jsx)(ye,(0,a.A)({ref:v,className:(0,i.A)(re.root,Y),ownerState:oe},G,{children:(0,V.jsx)(we,{autoFocusItem:w||!!z,role:"listbox","aria-label":J.timePickerToolbarTitle,className:re.list,children:ge.map((e=>{if(Q&&he(e))return null;const t=m.isEqual(e,_);return(0,V.jsx)(ie,(0,a.A)({onClick:()=>!q&&pe(e),selected:t,disabled:U||he(e),disableRipple:q,role:"option","aria-disabled":q,"aria-selected":t},se,{children:m.format(e,b?"fullTime12h":"fullTime24h")}),m.toISO(e))}))})}))}));function Te(e){return(0,g.Ay)("MuiMultiSectionDigitalClock",e)}(0,b.A)("MuiMultiSectionDigitalClock",["root"]);var Ce=n(8070);const De=["autoFocus","onChange","className","disabled","readOnly","items","active","slots","slotProps","skipDisabled"],ke=(0,s.Ay)(he.A,{name:"MuiMultiSectionDigitalClockSection",slot:"Root",overridesResolver:(e,t)=>t.root})((e=>{let{theme:t,ownerState:n}=e;return{maxHeight:ge.kP,width:56,padding:0,overflow:"hidden","@media (prefers-reduced-motion: no-preference)":{scrollBehavior:n.alreadyRendered?"smooth":"auto"},"@media (pointer: fine)":{"&:hover":{overflowY:"auto"}},"@media (pointer: none), (pointer: coarse)":{overflowY:"auto"},"&:not(:first-of-type)":{borderLeft:"1px solid ".concat((t.vars||t).palette.divider)},"&:after":{display:"block",content:'""',height:"calc(100% - 40px - 6px)"}}})),Me=(0,s.Ay)(pe.A,{name:"MuiMultiSectionDigitalClockSection",slot:"Item",overridesResolver:(e,t)=>t.item})((e=>{let{theme:t}=e;return{padding:8,margin:"2px 4px",width:ge.aG,justifyContent:"center","&:first-of-type":{marginTop:4},"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,de.X4)(t.palette.primary.main,t.palette.action.hoverOpacity)},"&.Mui-selected":{backgroundColor:(t.vars||t).palette.primary.main,color:(t.vars||t).palette.primary.contrastText,"&:focus-visible, &:hover":{backgroundColor:(t.vars||t).palette.primary.dark}},"&.Mui-focusVisible":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.focusOpacity,")"):(0,de.X4)(t.palette.primary.main,t.palette.action.focusOpacity)}}})),Pe=o.forwardRef((function(e,t){var n;const s=o.useRef(null),u=(0,fe.A)(t,s),d=o.useRef(null),m=(0,l.A)({props:e,name:"MuiMultiSectionDigitalClockSection"}),{autoFocus:p,onChange:h,className:f,disabled:v,readOnly:g,items:b,active:y,slots:w,slotProps:A,skipDisabled:x}=m,T=(0,r.A)(m,De),C=o.useMemo((()=>(0,a.A)({},m,{alreadyRendered:!!s.current})),[m]),D=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"],item:["item"]},Ce.K,t)})(C),k=null!=(n=null==w?void 0:w.digitalClockSectionItem)?n:Me;return o.useEffect((()=>{if(null===s.current)return;const e=s.current.querySelector('[role="option"][aria-selected="true"]');if(y&&p&&e&&e.focus(),!e||d.current===e)return;d.current=e;const t=e.offsetTop;s.current.scrollTop=t-4})),(0,V.jsx)(ke,(0,a.A)({ref:u,className:(0,i.A)(D.root,f),ownerState:C,autoFocusItem:p&&y,role:"listbox"},T,{children:b.map((e=>{var t,n;if(x&&null!=(t=e.isDisabled)&&t.call(e,e.value))return null;const o=e.isSelected(e.value);return(0,V.jsx)(k,(0,a.A)({onClick:()=>!g&&h(e.value),selected:o,disabled:v||(null==(n=e.isDisabled)?void 0:n.call(e,e.value)),disableRipple:g,role:"option","aria-disabled":g,"aria-label":e.ariaLabel,"aria-selected":o,className:D.item},null==A?void 0:A.digitalClockSectionItem,{children:e.label}),e.label)}))}))})),Se=e=>{let{now:t,value:n,utils:o,ampm:a,isDisabled:r,resolveAriaLabel:i,timeStep:s}=e;const l=n?o.getHours(n):null,c=[],u=e=>null!==l&&(a?12===e?12===l||0===l:l===e||l-12===e:l===e),d=a?11:23;for(let m=0;m<=d;m+=s){let e=o.format(o.setHours(t,m),a?"hours12h":"hours24h");const n=i(parseInt(e,10).toString());e=o.formatNumber(e),c.push({value:m,label:e,isSelected:u,isDisabled:r,ariaLabel:n})}return c},Ve=e=>{let{value:t,utils:n,isDisabled:o,timeStep:a,resolveLabel:r,resolveAriaLabel:i,hasValue:s=!0}=e;const l=e=>null!==t&&(s&&t===e);return[...Array.from({length:Math.ceil(60/a)},((e,t)=>{const s=a*t;return{value:s,label:n.formatNumber(r(s)),isDisabled:o,isSelected:l,ariaLabel:i(s.toString())}}))]},Ne=["ampm","timeSteps","autoFocus","components","componentsProps","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableClock","shouldDisableTime","onChange","view","views","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","skipDisabled","timezone"],Ie=(0,s.Ay)(v.I,{name:"MuiMultiSectionDigitalClock",slot:"Root",overridesResolver:(e,t)=>t.root})((e=>{let{theme:t}=e;return{display:"flex",flexDirection:"row",width:"100%",borderBottom:"1px solid ".concat((t.vars||t).palette.divider)}})),Re=o.forwardRef((function(e,t){const n=(0,d.hc)(),s=(0,l.A)({props:e,name:"MuiMultiSectionDigitalClock"}),{ampm:u=n.is12HourCycleInCurrentLocale(),timeSteps:m,autoFocus:v,components:g,componentsProps:b,slots:y,slotProps:w,value:A,defaultValue:x,referenceDate:T,disableIgnoringDatePartForTimeValidation:C=!1,maxTime:D,minTime:k,disableFuture:M,disablePast:P,minutesStep:S=1,shouldDisableClock:N,shouldDisableTime:I,onChange:R,view:O,views:E=["hours","minutes"],openTo:F,onViewChange:W,focusedView:j,onFocusedViewChange:B,className:z,disabled:H,readOnly:Y,skipDisabled:U=!1,timezone:q}=s,X=(0,r.A)(s,Ne),{value:Q,handleValueChange:K,timezone:G}=(0,ee.Y)({name:"MultiSectionDigitalClock",timezone:q,value:A,defaultValue:x,onChange:R,valueManager:te.W}),_=(0,d.Nq)(),Z=(0,d.cB)(G),$=o.useMemo((()=>(0,a.A)({hours:1,minutes:5,seconds:5},m)),[m]),J=ae({value:Q,referenceDate:T,utils:n,props:s,timezone:G}),ne=(0,me.A)(((e,t,n)=>K(e,t,n))),oe=o.useMemo((()=>u&&E.includes("hours")?E.includes("meridiem")?E:[...E,"meridiem"]:E),[u,E]),{view:re,setValueAndGoToNextView:ie,focusedView:se}=(0,h.o)({view:O,views:oe,openTo:F,onViewChange:W,onChange:ne,focusedView:j,onFocusedViewChange:B}),le=(0,me.A)((e=>{ie(e,"finish","meridiem")})),{meridiemMode:ce,handleMeridiemChange:ue}=(0,f.r7)(J,u,le,"finish"),de=o.useCallback(((e,t)=>{const o=(0,p.iF)(C,n),a="hours"===t||"minutes"===t&&oe.includes("seconds"),r=e=>{let{start:t,end:n}=e;return(!k||!o(k,n))&&((!D||!o(t,D))&&((!M||!o(t,Z))&&(!P||!o(Z,a?n:t))))},i=function(e){if(e%(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1)!==0)return!1;if(null!=N&&N(e,t))return!1;if(I)switch(t){case"hours":return!I(n.setHours(J,e),"hours");case"minutes":return!I(n.setMinutes(J,e),"minutes");case"seconds":return!I(n.setSeconds(J,e),"seconds");default:return!1}return!0};switch(t){case"hours":{const t=(0,p.gY)(e,ce,u),o=n.setHours(J,t);return!r({start:n.setSeconds(n.setMinutes(o,0),0),end:n.setSeconds(n.setMinutes(o,59),59)})||!i(t)}case"minutes":{const t=n.setMinutes(J,e);return!r({start:n.setSeconds(t,0),end:n.setSeconds(t,59)})||!i(e,S)}case"seconds":{const t=n.setSeconds(J,e);return!r({start:t,end:t})||!i(e)}default:throw new Error("not supported")}}),[u,J,C,D,ce,k,S,N,I,n,M,P,Z,oe]),pe=o.useCallback((e=>{switch(e){case"hours":return{onChange:e=>{const t=(0,p.gY)(e,ce,u);ie(n.setHours(J,t),"finish","hours")},items:Se({now:Z,value:Q,ampm:u,utils:n,isDisabled:e=>H||de(e,"hours"),timeStep:$.hours,resolveAriaLabel:_.hoursClockNumberText})};case"minutes":return{onChange:e=>{ie(n.setMinutes(J,e),"finish","minutes")},items:Ve({value:n.getMinutes(J),utils:n,isDisabled:e=>H||de(e,"minutes"),resolveLabel:e=>n.format(n.setMinutes(Z,e),"minutes"),timeStep:$.minutes,hasValue:!!Q,resolveAriaLabel:_.minutesClockNumberText})};case"seconds":return{onChange:e=>{ie(n.setSeconds(J,e),"finish","seconds")},items:Ve({value:n.getSeconds(J),utils:n,isDisabled:e=>H||de(e,"seconds"),resolveLabel:e=>n.format(n.setSeconds(Z,e),"seconds"),timeStep:$.seconds,hasValue:!!Q,resolveAriaLabel:_.secondsClockNumberText})};case"meridiem":{const e=(0,L._S)(n,"am"),t=(0,L._S)(n,"pm");return{onChange:ue,items:[{value:"am",label:e,isSelected:()=>!!Q&&"am"===ce,ariaLabel:e},{value:"pm",label:t,isSelected:()=>!!Q&&"pm"===ce,ariaLabel:t}]}}default:throw new Error("Unknown view: ".concat(e," found."))}}),[Z,Q,u,n,$.hours,$.minutes,$.seconds,_.hoursClockNumberText,_.minutesClockNumberText,_.secondsClockNumberText,ce,ie,J,H,de,ue]),he=o.useMemo((()=>oe.reduce(((e,t)=>(0,a.A)({},e,{[t]:pe(t)})),{})),[oe,pe]),fe=s,ve=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"]},Te,t)})(fe);return(0,V.jsx)(Ie,(0,a.A)({ref:t,className:(0,i.A)(ve.root,z),ownerState:fe,role:"group"},X,{children:Object.entries(he).map((e=>{let[t,n]=e;return(0,V.jsx)(Pe,{items:n.items,onChange:n.onChange,active:re===t,autoFocus:null!=v?v:se===t,disabled:H,readOnly:Y,slots:null!=y?y:g,slotProps:null!=w?w:b,skipDisabled:U,"aria-label":_.selectViewText(t)},t)}))}))})),Oe=e=>{let{view:t,onViewChange:n,focusedView:o,onFocusedViewChange:a,views:r,value:i,defaultValue:s,referenceDate:l,onChange:c,className:u,classes:d,disableFuture:m,disablePast:h,minTime:f,maxTime:v,shouldDisableTime:g,shouldDisableClock:b,minutesStep:y,ampm:w,ampmInClock:A,components:x,componentsProps:T,slots:C,slotProps:D,readOnly:k,disabled:M,sx:P,autoFocus:S,showViewSwitcher:N,disableIgnoringDatePartForTimeValidation:I,timezone:R}=e;return(0,V.jsx)(ce,{view:t,onViewChange:n,focusedView:o&&(0,p.hW)(o)?o:null,onFocusedViewChange:a,views:r.filter(p.hW),value:i,defaultValue:s,referenceDate:l,onChange:c,className:u,classes:d,disableFuture:m,disablePast:h,minTime:f,maxTime:v,shouldDisableTime:g,shouldDisableClock:b,minutesStep:y,ampm:w,ampmInClock:A,components:x,componentsProps:T,slots:C,slotProps:D,readOnly:k,disabled:M,sx:P,autoFocus:S,showViewSwitcher:N,disableIgnoringDatePartForTimeValidation:I,timezone:R})},Ee=e=>{let{view:t,onViewChange:n,focusedView:o,onFocusedViewChange:a,views:r,value:i,defaultValue:s,referenceDate:l,onChange:c,className:u,classes:d,disableFuture:m,disablePast:h,minTime:f,maxTime:v,shouldDisableTime:g,shouldDisableClock:b,minutesStep:y,ampm:w,components:A,componentsProps:x,slots:T,slotProps:C,readOnly:D,disabled:k,sx:M,autoFocus:P,disableIgnoringDatePartForTimeValidation:S,timeSteps:N,skipDisabled:I,timezone:R}=e;return(0,V.jsx)(xe,{view:t,onViewChange:n,focusedView:o,onFocusedViewChange:a,views:r.filter(p.hW),value:i,defaultValue:s,referenceDate:l,onChange:c,className:u,classes:d,disableFuture:m,disablePast:h,minTime:f,maxTime:v,shouldDisableTime:g,shouldDisableClock:b,minutesStep:y,ampm:w,components:A,componentsProps:x,slots:T,slotProps:C,readOnly:D,disabled:k,sx:M,autoFocus:P,disableIgnoringDatePartForTimeValidation:S,timeStep:null==N?void 0:N.minutes,skipDisabled:I,timezone:R})},Fe=e=>{let{view:t,onViewChange:n,focusedView:o,onFocusedViewChange:a,views:r,value:i,defaultValue:s,referenceDate:l,onChange:c,className:u,classes:d,disableFuture:m,disablePast:h,minTime:f,maxTime:v,shouldDisableTime:g,shouldDisableClock:b,minutesStep:y,ampm:w,components:A,componentsProps:x,slots:T,slotProps:C,readOnly:D,disabled:k,sx:M,autoFocus:P,disableIgnoringDatePartForTimeValidation:S,timeSteps:N,skipDisabled:I,timezone:R}=e;return(0,V.jsx)(Re,{view:t,onViewChange:n,focusedView:o,onFocusedViewChange:a,views:r.filter(p.hW),value:i,defaultValue:s,referenceDate:l,onChange:c,className:u,classes:d,disableFuture:m,disablePast:h,minTime:f,maxTime:v,shouldDisableTime:g,shouldDisableClock:b,minutesStep:y,ampm:w,components:A,componentsProps:x,slots:T,slotProps:C,readOnly:D,disabled:k,sx:M,autoFocus:P,disableIgnoringDatePartForTimeValidation:S,timeSteps:N,skipDisabled:I,timezone:R})}},4894:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},o=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},a={p:o,P:function(e,t){var a,r=e.match(/(P+)(p+)?/)||[],i=r[1],s=r[2];if(!s)return n(e,t);switch(i){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;default:a=t.dateTime({width:"full"})}return a.replace("{{date}}",n(i,t)).replace("{{time}}",o(s,t))}};t.default=a,e.exports=t.default},9178:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var o={lessThanXSeconds:{one:"1\u79d2\u672a\u6e80",other:"{{count}}\u79d2\u672a\u6e80",oneWithSuffix:"\u7d041\u79d2",otherWithSuffix:"\u7d04{{count}}\u79d2"},xSeconds:{one:"1\u79d2",other:"{{count}}\u79d2"},halfAMinute:"30\u79d2",lessThanXMinutes:{one:"1\u5206\u672a\u6e80",other:"{{count}}\u5206\u672a\u6e80",oneWithSuffix:"\u7d041\u5206",otherWithSuffix:"\u7d04{{count}}\u5206"},xMinutes:{one:"1\u5206",other:"{{count}}\u5206"},aboutXHours:{one:"\u7d041\u6642\u9593",other:"\u7d04{{count}}\u6642\u9593"},xHours:{one:"1\u6642\u9593",other:"{{count}}\u6642\u9593"},xDays:{one:"1\u65e5",other:"{{count}}\u65e5"},aboutXWeeks:{one:"\u7d041\u9031\u9593",other:"\u7d04{{count}}\u9031\u9593"},xWeeks:{one:"1\u9031\u9593",other:"{{count}}\u9031\u9593"},aboutXMonths:{one:"\u7d041\u304b\u6708",other:"\u7d04{{count}}\u304b\u6708"},xMonths:{one:"1\u304b\u6708",other:"{{count}}\u304b\u6708"},aboutXYears:{one:"\u7d041\u5e74",other:"\u7d04{{count}}\u5e74"},xYears:{one:"1\u5e74",other:"{{count}}\u5e74"},overXYears:{one:"1\u5e74\u4ee5\u4e0a",other:"{{count}}\u5e74\u4ee5\u4e0a"},almostXYears:{one:"1\u5e74\u8fd1\u304f",other:"{{count}}\u5e74\u8fd1\u304f"}};const a=function(e,t,n){var a;n=n||{};var r=o[e];return a="string"===typeof r?r:1===t?n.addSuffix&&r.oneWithSuffix?r.oneWithSuffix:r.one:n.addSuffix&&r.otherWithSuffix?r.otherWithSuffix.replace("{{count}}",String(t)):r.other.replace("{{count}}",String(t)),n.addSuffix?n.comparison&&n.comparison>0?a+"\u5f8c":a+"\u524d":a};var r=n(7489);const i={date:(0,r.A)({formats:{full:"y\u5e74M\u6708d\u65e5EEEE",long:"y\u5e74M\u6708d\u65e5",medium:"y/MM/dd",short:"y/MM/dd"},defaultWidth:"full"}),time:(0,r.A)({formats:{full:"H\u6642mm\u5206ss\u79d2 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,r.A)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})};var s={lastWeek:"\u5148\u9031\u306eeeee\u306ep",yesterday:"\u6628\u65e5\u306ep",today:"\u4eca\u65e5\u306ep",tomorrow:"\u660e\u65e5\u306ep",nextWeek:"\u7fcc\u9031\u306eeeee\u306ep",other:"P"};const l=function(e,t,n,o){return s[e]};var c=n(9731);const u={ordinalNumber:function(e,t){var n=Number(e);switch(String(null===t||void 0===t?void 0:t.unit)){case"year":return"".concat(n,"\u5e74");case"quarter":return"\u7b2c".concat(n,"\u56db\u534a\u671f");case"month":return"".concat(n,"\u6708");case"week":return"\u7b2c".concat(n,"\u9031");case"date":return"".concat(n,"\u65e5");case"hour":return"".concat(n,"\u6642");case"minute":return"".concat(n,"\u5206");case"second":return"".concat(n,"\u79d2");default:return"".concat(n)}},era:(0,c.A)({values:{narrow:["BC","AC"],abbreviated:["\u7d00\u5143\u524d","\u897f\u66a6"],wide:["\u7d00\u5143\u524d","\u897f\u66a6"]},defaultWidth:"wide"}),quarter:(0,c.A)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["\u7b2c1\u56db\u534a\u671f","\u7b2c2\u56db\u534a\u671f","\u7b2c3\u56db\u534a\u671f","\u7b2c4\u56db\u534a\u671f"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,c.A)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],wide:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"]},defaultWidth:"wide"}),day:(0,c.A)({values:{narrow:["\u65e5","\u6708","\u706b","\u6c34","\u6728","\u91d1","\u571f"],short:["\u65e5","\u6708","\u706b","\u6c34","\u6728","\u91d1","\u571f"],abbreviated:["\u65e5","\u6708","\u706b","\u6c34","\u6728","\u91d1","\u571f"],wide:["\u65e5\u66dc\u65e5","\u6708\u66dc\u65e5","\u706b\u66dc\u65e5","\u6c34\u66dc\u65e5","\u6728\u66dc\u65e5","\u91d1\u66dc\u65e5","\u571f\u66dc\u65e5"]},defaultWidth:"wide"}),dayPeriod:(0,c.A)({values:{narrow:{am:"\u5348\u524d",pm:"\u5348\u5f8c",midnight:"\u6df1\u591c",noon:"\u6b63\u5348",morning:"\u671d",afternoon:"\u5348\u5f8c",evening:"\u591c",night:"\u6df1\u591c"},abbreviated:{am:"\u5348\u524d",pm:"\u5348\u5f8c",midnight:"\u6df1\u591c",noon:"\u6b63\u5348",morning:"\u671d",afternoon:"\u5348\u5f8c",evening:"\u591c",night:"\u6df1\u591c"},wide:{am:"\u5348\u524d",pm:"\u5348\u5f8c",midnight:"\u6df1\u591c",noon:"\u6b63\u5348",morning:"\u671d",afternoon:"\u5348\u5f8c",evening:"\u591c",night:"\u6df1\u591c"}},defaultWidth:"wide",formattingValues:{narrow:{am:"\u5348\u524d",pm:"\u5348\u5f8c",midnight:"\u6df1\u591c",noon:"\u6b63\u5348",morning:"\u671d",afternoon:"\u5348\u5f8c",evening:"\u591c",night:"\u6df1\u591c"},abbreviated:{am:"\u5348\u524d",pm:"\u5348\u5f8c",midnight:"\u6df1\u591c",noon:"\u6b63\u5348",morning:"\u671d",afternoon:"\u5348\u5f8c",evening:"\u591c",night:"\u6df1\u591c"},wide:{am:"\u5348\u524d",pm:"\u5348\u5f8c",midnight:"\u6df1\u591c",noon:"\u6b63\u5348",morning:"\u671d",afternoon:"\u5348\u5f8c",evening:"\u591c",night:"\u6df1\u591c"}},defaultFormattingWidth:"wide"})};var d=n(7841),m=n(2941);const p={code:"ja",formatDistance:a,formatLong:i,formatRelative:l,localize:u,match:{ordinalNumber:(0,d.A)({matchPattern:/^\u7b2c?\d+(\u5e74|\u56db\u534a\u671f|\u6708|\u9031|\u65e5|\u6642|\u5206|\u79d2)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,m.A)({matchPatterns:{narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(\u7d00\u5143[\u524d\u5f8c]|\u897f\u66a6)/i,wide:/^(\u7d00\u5143[\u524d\u5f8c]|\u897f\u66a6)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^B/i,/^A/i],any:[/^(\u7d00\u5143\u524d)/i,/^(\u897f\u66a6|\u7d00\u5143\u5f8c)/i]},defaultParseWidth:"any"}),quarter:(0,m.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^\u7b2c[1234\u4e00\u4e8c\u4e09\u56db\uff11\uff12\uff13\uff14]\u56db\u534a\u671f/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|\u4e00|\uff11)/i,/(2|\u4e8c|\uff12)/i,/(3|\u4e09|\uff13)/i,/(4|\u56db|\uff14)/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,m.A)({matchPatterns:{narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])\u6708/i,wide:/^([123456789]|1[012])\u6708/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:(0,m.A)({matchPatterns:{narrow:/^[\u65e5\u6708\u706b\u6c34\u6728\u91d1\u571f]/,short:/^[\u65e5\u6708\u706b\u6c34\u6728\u91d1\u571f]/,abbreviated:/^[\u65e5\u6708\u706b\u6c34\u6728\u91d1\u571f]/,wide:/^[\u65e5\u6708\u706b\u6c34\u6728\u91d1\u571f]\u66dc\u65e5/},defaultMatchWidth:"wide",parsePatterns:{any:[/^\u65e5/,/^\u6708/,/^\u706b/,/^\u6c34/,/^\u6728/,/^\u91d1/,/^\u571f/]},defaultParseWidth:"any"}),dayPeriod:(0,m.A)({matchPatterns:{any:/^(AM|PM|\u5348\u524d|\u5348\u5f8c|\u6b63\u5348|\u6df1\u591c|\u771f\u591c\u4e2d|\u591c|\u671d)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(A|\u5348\u524d)/i,pm:/^(P|\u5348\u5f8c)/i,midnight:/^\u6df1\u591c|\u771f\u591c\u4e2d/i,noon:/^\u6b63\u5348/i,morning:/^\u671d/i,afternoon:/^\u5348\u5f8c/i,evening:/^\u591c/i,night:/^\u6df1\u591c/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},639:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var o={lessThanXSeconds:{one:"1\ucd08 \ubbf8\ub9cc",other:"{{count}}\ucd08 \ubbf8\ub9cc"},xSeconds:{one:"1\ucd08",other:"{{count}}\ucd08"},halfAMinute:"30\ucd08",lessThanXMinutes:{one:"1\ubd84 \ubbf8\ub9cc",other:"{{count}}\ubd84 \ubbf8\ub9cc"},xMinutes:{one:"1\ubd84",other:"{{count}}\ubd84"},aboutXHours:{one:"\uc57d 1\uc2dc\uac04",other:"\uc57d {{count}}\uc2dc\uac04"},xHours:{one:"1\uc2dc\uac04",other:"{{count}}\uc2dc\uac04"},xDays:{one:"1\uc77c",other:"{{count}}\uc77c"},aboutXWeeks:{one:"\uc57d 1\uc8fc",other:"\uc57d {{count}}\uc8fc"},xWeeks:{one:"1\uc8fc",other:"{{count}}\uc8fc"},aboutXMonths:{one:"\uc57d 1\uac1c\uc6d4",other:"\uc57d {{count}}\uac1c\uc6d4"},xMonths:{one:"1\uac1c\uc6d4",other:"{{count}}\uac1c\uc6d4"},aboutXYears:{one:"\uc57d 1\ub144",other:"\uc57d {{count}}\ub144"},xYears:{one:"1\ub144",other:"{{count}}\ub144"},overXYears:{one:"1\ub144 \uc774\uc0c1",other:"{{count}}\ub144 \uc774\uc0c1"},almostXYears:{one:"\uac70\uc758 1\ub144",other:"\uac70\uc758 {{count}}\ub144"}};const a=function(e,t,n){var a,r=o[e];return a="string"===typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?a+" \ud6c4":a+" \uc804":a};var r=n(7489);const i={date:(0,r.A)({formats:{full:"y\ub144 M\uc6d4 d\uc77c EEEE",long:"y\ub144 M\uc6d4 d\uc77c",medium:"y.MM.dd",short:"y.MM.dd"},defaultWidth:"full"}),time:(0,r.A)({formats:{full:"a H\uc2dc mm\ubd84 ss\ucd08 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,r.A)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})};var s={lastWeek:"'\uc9c0\ub09c' eeee p",yesterday:"'\uc5b4\uc81c' p",today:"'\uc624\ub298' p",tomorrow:"'\ub0b4\uc77c' p",nextWeek:"'\ub2e4\uc74c' eeee p",other:"P"};const l=function(e,t,n,o){return s[e]};var c=n(9731);const u={ordinalNumber:function(e,t){var n=Number(e);switch(String(null===t||void 0===t?void 0:t.unit)){case"minute":case"second":return String(n);case"date":return n+"\uc77c";default:return n+"\ubc88\uc9f8"}},era:(0,c.A)({values:{narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["\uae30\uc6d0\uc804","\uc11c\uae30"]},defaultWidth:"wide"}),quarter:(0,c.A)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1\ubd84\uae30","2\ubd84\uae30","3\ubd84\uae30","4\ubd84\uae30"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,c.A)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1\uc6d4","2\uc6d4","3\uc6d4","4\uc6d4","5\uc6d4","6\uc6d4","7\uc6d4","8\uc6d4","9\uc6d4","10\uc6d4","11\uc6d4","12\uc6d4"],wide:["1\uc6d4","2\uc6d4","3\uc6d4","4\uc6d4","5\uc6d4","6\uc6d4","7\uc6d4","8\uc6d4","9\uc6d4","10\uc6d4","11\uc6d4","12\uc6d4"]},defaultWidth:"wide"}),day:(0,c.A)({values:{narrow:["\uc77c","\uc6d4","\ud654","\uc218","\ubaa9","\uae08","\ud1a0"],short:["\uc77c","\uc6d4","\ud654","\uc218","\ubaa9","\uae08","\ud1a0"],abbreviated:["\uc77c","\uc6d4","\ud654","\uc218","\ubaa9","\uae08","\ud1a0"],wide:["\uc77c\uc694\uc77c","\uc6d4\uc694\uc77c","\ud654\uc694\uc77c","\uc218\uc694\uc77c","\ubaa9\uc694\uc77c","\uae08\uc694\uc77c","\ud1a0\uc694\uc77c"]},defaultWidth:"wide"}),dayPeriod:(0,c.A)({values:{narrow:{am:"\uc624\uc804",pm:"\uc624\ud6c4",midnight:"\uc790\uc815",noon:"\uc815\uc624",morning:"\uc544\uce68",afternoon:"\uc624\ud6c4",evening:"\uc800\ub141",night:"\ubc24"},abbreviated:{am:"\uc624\uc804",pm:"\uc624\ud6c4",midnight:"\uc790\uc815",noon:"\uc815\uc624",morning:"\uc544\uce68",afternoon:"\uc624\ud6c4",evening:"\uc800\ub141",night:"\ubc24"},wide:{am:"\uc624\uc804",pm:"\uc624\ud6c4",midnight:"\uc790\uc815",noon:"\uc815\uc624",morning:"\uc544\uce68",afternoon:"\uc624\ud6c4",evening:"\uc800\ub141",night:"\ubc24"}},defaultWidth:"wide",formattingValues:{narrow:{am:"\uc624\uc804",pm:"\uc624\ud6c4",midnight:"\uc790\uc815",noon:"\uc815\uc624",morning:"\uc544\uce68",afternoon:"\uc624\ud6c4",evening:"\uc800\ub141",night:"\ubc24"},abbreviated:{am:"\uc624\uc804",pm:"\uc624\ud6c4",midnight:"\uc790\uc815",noon:"\uc815\uc624",morning:"\uc544\uce68",afternoon:"\uc624\ud6c4",evening:"\uc800\ub141",night:"\ubc24"},wide:{am:"\uc624\uc804",pm:"\uc624\ud6c4",midnight:"\uc790\uc815",noon:"\uc815\uc624",morning:"\uc544\uce68",afternoon:"\uc624\ud6c4",evening:"\uc800\ub141",night:"\ubc24"}},defaultFormattingWidth:"wide"})};var d=n(2941);const m={code:"ko",formatDistance:a,formatLong:i,formatRelative:l,localize:u,match:{ordinalNumber:(0,n(7841).A)({matchPattern:/^(\d+)(\uc77c|\ubc88\uc9f8)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,d.A)({matchPatterns:{narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(\uae30\uc6d0\uc804|\uc11c\uae30)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(bc|\uae30\uc6d0\uc804)/i,/^(ad|\uc11c\uae30)/i]},defaultParseWidth:"any"}),quarter:(0,d.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]\uc0ac?\ubd84\uae30/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,d.A)({matchPatterns:{narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])\uc6d4/i,wide:/^(1[012]|[123456789])\uc6d4/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1\uc6d4?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:(0,d.A)({matchPatterns:{narrow:/^[\uc77c\uc6d4\ud654\uc218\ubaa9\uae08\ud1a0]/,short:/^[\uc77c\uc6d4\ud654\uc218\ubaa9\uae08\ud1a0]/,abbreviated:/^[\uc77c\uc6d4\ud654\uc218\ubaa9\uae08\ud1a0]/,wide:/^[\uc77c\uc6d4\ud654\uc218\ubaa9\uae08\ud1a0]\uc694\uc77c/},defaultMatchWidth:"wide",parsePatterns:{any:[/^\uc77c/,/^\uc6d4/,/^\ud654/,/^\uc218/,/^\ubaa9/,/^\uae08/,/^\ud1a0/]},defaultParseWidth:"any"}),dayPeriod:(0,d.A)({matchPatterns:{any:/^(am|pm|\uc624\uc804|\uc624\ud6c4|\uc790\uc815|\uc815\uc624|\uc544\uce68|\uc800\ub141|\ubc24)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(am|\uc624\uc804)/i,pm:/^(pm|\uc624\ud6c4)/i,midnight:/^\uc790\uc815/i,noon:/^\uc815\uc624/i,morning:/^\uc544\uce68/i,afternoon:/^\uc624\ud6c4/i,evening:/^\uc800\ub141/i,night:/^\ubc24/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},922:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var o={lessThanXSeconds:{one:"\u4e0d\u5230 1 \u79d2",other:"\u4e0d\u5230 {{count}} \u79d2"},xSeconds:{one:"1 \u79d2",other:"{{count}} \u79d2"},halfAMinute:"\u534a\u5206\u949f",lessThanXMinutes:{one:"\u4e0d\u5230 1 \u5206\u949f",other:"\u4e0d\u5230 {{count}} \u5206\u949f"},xMinutes:{one:"1 \u5206\u949f",other:"{{count}} \u5206\u949f"},xHours:{one:"1 \u5c0f\u65f6",other:"{{count}} \u5c0f\u65f6"},aboutXHours:{one:"\u5927\u7ea6 1 \u5c0f\u65f6",other:"\u5927\u7ea6 {{count}} \u5c0f\u65f6"},xDays:{one:"1 \u5929",other:"{{count}} \u5929"},aboutXWeeks:{one:"\u5927\u7ea6 1 \u4e2a\u661f\u671f",other:"\u5927\u7ea6 {{count}} \u4e2a\u661f\u671f"},xWeeks:{one:"1 \u4e2a\u661f\u671f",other:"{{count}} \u4e2a\u661f\u671f"},aboutXMonths:{one:"\u5927\u7ea6 1 \u4e2a\u6708",other:"\u5927\u7ea6 {{count}} \u4e2a\u6708"},xMonths:{one:"1 \u4e2a\u6708",other:"{{count}} \u4e2a\u6708"},aboutXYears:{one:"\u5927\u7ea6 1 \u5e74",other:"\u5927\u7ea6 {{count}} \u5e74"},xYears:{one:"1 \u5e74",other:"{{count}} \u5e74"},overXYears:{one:"\u8d85\u8fc7 1 \u5e74",other:"\u8d85\u8fc7 {{count}} \u5e74"},almostXYears:{one:"\u5c06\u8fd1 1 \u5e74",other:"\u5c06\u8fd1 {{count}} \u5e74"}};const a=function(e,t,n){var a,r=o[e];return a="string"===typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?a+"\u5185":a+"\u524d":a};var r=n(7489);const i={date:(0,r.A)({formats:{full:"y'\u5e74'M'\u6708'd'\u65e5' EEEE",long:"y'\u5e74'M'\u6708'd'\u65e5'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:(0,r.A)({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:(0,r.A)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})};var s=n(8397),l=n(5164);function c(e,t,n){var o="eeee p";return function(e,t,n){(0,s.A)(2,arguments);var o=(0,l.A)(e,n),a=(0,l.A)(t,n);return o.getTime()===a.getTime()}(e,t,n)?o:e.getTime()>t.getTime()?"'\u4e0b\u4e2a'"+o:"'\u4e0a\u4e2a'"+o}var u={lastWeek:c,yesterday:"'\u6628\u5929' p",today:"'\u4eca\u5929' p",tomorrow:"'\u660e\u5929' p",nextWeek:c,other:"PP p"};const d=function(e,t,n,o){var a=u[e];return"function"===typeof a?a(t,n,o):a};var m=n(9731);const p={ordinalNumber:function(e,t){var n=Number(e);switch(null===t||void 0===t?void 0:t.unit){case"date":return n.toString()+"\u65e5";case"hour":return n.toString()+"\u65f6";case"minute":return n.toString()+"\u5206";case"second":return n.toString()+"\u79d2";default:return"\u7b2c "+n.toString()}},era:(0,m.A)({values:{narrow:["\u524d","\u516c\u5143"],abbreviated:["\u524d","\u516c\u5143"],wide:["\u516c\u5143\u524d","\u516c\u5143"]},defaultWidth:"wide"}),quarter:(0,m.A)({values:{narrow:["1","2","3","4"],abbreviated:["\u7b2c\u4e00\u5b63","\u7b2c\u4e8c\u5b63","\u7b2c\u4e09\u5b63","\u7b2c\u56db\u5b63"],wide:["\u7b2c\u4e00\u5b63\u5ea6","\u7b2c\u4e8c\u5b63\u5ea6","\u7b2c\u4e09\u5b63\u5ea6","\u7b2c\u56db\u5b63\u5ea6"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,m.A)({values:{narrow:["\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d","\u5341","\u5341\u4e00","\u5341\u4e8c"],abbreviated:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],wide:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"]},defaultWidth:"wide"}),day:(0,m.A)({values:{narrow:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],short:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],abbreviated:["\u5468\u65e5","\u5468\u4e00","\u5468\u4e8c","\u5468\u4e09","\u5468\u56db","\u5468\u4e94","\u5468\u516d"],wide:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"]},defaultWidth:"wide"}),dayPeriod:(0,m.A)({values:{narrow:{am:"\u4e0a",pm:"\u4e0b",midnight:"\u51cc\u6668",noon:"\u5348",morning:"\u65e9",afternoon:"\u4e0b\u5348",evening:"\u665a",night:"\u591c"},abbreviated:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348",midnight:"\u51cc\u6668",noon:"\u4e2d\u5348",morning:"\u65e9\u6668",afternoon:"\u4e2d\u5348",evening:"\u665a\u4e0a",night:"\u591c\u95f4"},wide:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348",midnight:"\u51cc\u6668",noon:"\u4e2d\u5348",morning:"\u65e9\u6668",afternoon:"\u4e2d\u5348",evening:"\u665a\u4e0a",night:"\u591c\u95f4"}},defaultWidth:"wide",formattingValues:{narrow:{am:"\u4e0a",pm:"\u4e0b",midnight:"\u51cc\u6668",noon:"\u5348",morning:"\u65e9",afternoon:"\u4e0b\u5348",evening:"\u665a",night:"\u591c"},abbreviated:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348",midnight:"\u51cc\u6668",noon:"\u4e2d\u5348",morning:"\u65e9\u6668",afternoon:"\u4e2d\u5348",evening:"\u665a\u4e0a",night:"\u591c\u95f4"},wide:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348",midnight:"\u51cc\u6668",noon:"\u4e2d\u5348",morning:"\u65e9\u6668",afternoon:"\u4e2d\u5348",evening:"\u665a\u4e0a",night:"\u591c\u95f4"}},defaultFormattingWidth:"wide"})};var h=n(2941);const f={code:"zh-CN",formatDistance:a,formatLong:i,formatRelative:d,localize:p,match:{ordinalNumber:(0,n(7841).A)({matchPattern:/^(\u7b2c\s*)?\d+(\u65e5|\u65f6|\u5206|\u79d2)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,h.A)({matchPatterns:{narrow:/^(\u524d)/i,abbreviated:/^(\u524d)/i,wide:/^(\u516c\u5143\u524d|\u516c\u5143)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(\u524d)/i,/^(\u516c\u5143)/i]},defaultParseWidth:"any"}),quarter:(0,h.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^\u7b2c[\u4e00\u4e8c\u4e09\u56db]\u523b/i,wide:/^\u7b2c[\u4e00\u4e8c\u4e09\u56db]\u523b\u949f/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|\u4e00)/i,/(2|\u4e8c)/i,/(3|\u4e09)/i,/(4|\u56db)/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,h.A)({matchPatterns:{narrow:/^(\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d|\u5341[\u4e8c\u4e00])/i,abbreviated:/^(\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d|\u5341[\u4e8c\u4e00]|\d|1[12])\u6708/i,wide:/^(\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d|\u5341[\u4e8c\u4e00])\u6708/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^\u4e00/i,/^\u4e8c/i,/^\u4e09/i,/^\u56db/i,/^\u4e94/i,/^\u516d/i,/^\u4e03/i,/^\u516b/i,/^\u4e5d/i,/^\u5341(?!(\u4e00|\u4e8c))/i,/^\u5341\u4e00/i,/^\u5341\u4e8c/i],any:[/^\u4e00|1/i,/^\u4e8c|2/i,/^\u4e09|3/i,/^\u56db|4/i,/^\u4e94|5/i,/^\u516d|6/i,/^\u4e03|7/i,/^\u516b|8/i,/^\u4e5d|9/i,/^\u5341(?!(\u4e00|\u4e8c))|10/i,/^\u5341\u4e00|11/i,/^\u5341\u4e8c|12/i]},defaultParseWidth:"any"}),day:(0,h.A)({matchPatterns:{narrow:/^[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u65e5]/i,short:/^[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u65e5]/i,abbreviated:/^\u5468[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u65e5]/i,wide:/^\u661f\u671f[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u65e5]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/\u65e5/i,/\u4e00/i,/\u4e8c/i,/\u4e09/i,/\u56db/i,/\u4e94/i,/\u516d/i]},defaultParseWidth:"any"}),dayPeriod:(0,h.A)({matchPatterns:{any:/^(\u4e0a\u5348?|\u4e0b\u5348?|\u5348\u591c|[\u4e2d\u6b63]\u5348|\u65e9\u4e0a?|\u4e0b\u5348|\u665a\u4e0a?|\u51cc\u6668|)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^\u4e0a\u5348?/i,pm:/^\u4e0b\u5348?/i,midnight:/^\u5348\u591c/i,noon:/^[\u4e2d\u6b63]\u5348/i,morning:/^\u65e9\u4e0a/i,afternoon:/^\u4e0b\u5348/i,evening:/^\u665a\u4e0a?/i,night:/^\u51cc\u6668/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},3215:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var o={lessThanXSeconds:{one:"\u5c11\u65bc 1 \u79d2",other:"\u5c11\u65bc {{count}} \u79d2"},xSeconds:{one:"1 \u79d2",other:"{{count}} \u79d2"},halfAMinute:"\u534a\u5206\u9418",lessThanXMinutes:{one:"\u5c11\u65bc 1 \u5206\u9418",other:"\u5c11\u65bc {{count}} \u5206\u9418"},xMinutes:{one:"1 \u5206\u9418",other:"{{count}} \u5206\u9418"},xHours:{one:"1 \u5c0f\u6642",other:"{{count}} \u5c0f\u6642"},aboutXHours:{one:"\u5927\u7d04 1 \u5c0f\u6642",other:"\u5927\u7d04 {{count}} \u5c0f\u6642"},xDays:{one:"1 \u5929",other:"{{count}} \u5929"},aboutXWeeks:{one:"\u5927\u7d04 1 \u500b\u661f\u671f",other:"\u5927\u7d04 {{count}} \u500b\u661f\u671f"},xWeeks:{one:"1 \u500b\u661f\u671f",other:"{{count}} \u500b\u661f\u671f"},aboutXMonths:{one:"\u5927\u7d04 1 \u500b\u6708",other:"\u5927\u7d04 {{count}} \u500b\u6708"},xMonths:{one:"1 \u500b\u6708",other:"{{count}} \u500b\u6708"},aboutXYears:{one:"\u5927\u7d04 1 \u5e74",other:"\u5927\u7d04 {{count}} \u5e74"},xYears:{one:"1 \u5e74",other:"{{count}} \u5e74"},overXYears:{one:"\u8d85\u904e 1 \u5e74",other:"\u8d85\u904e {{count}} \u5e74"},almostXYears:{one:"\u5c07\u8fd1 1 \u5e74",other:"\u5c07\u8fd1 {{count}} \u5e74"}};const a=function(e,t,n){var a,r=o[e];return a="string"===typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?a+"\u5167":a+"\u524d":a};var r=n(7489);const i={date:(0,r.A)({formats:{full:"y'\u5e74'M'\u6708'd'\u65e5' EEEE",long:"y'\u5e74'M'\u6708'd'\u65e5'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:(0,r.A)({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:(0,r.A)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})};var s={lastWeek:"'\u4e0a\u500b'eeee p",yesterday:"'\u6628\u5929' p",today:"'\u4eca\u5929' p",tomorrow:"'\u660e\u5929' p",nextWeek:"'\u4e0b\u500b'eeee p",other:"P"};const l=function(e,t,n,o){return s[e]};var c=n(9731);const u={ordinalNumber:function(e,t){var n=Number(e);switch(null===t||void 0===t?void 0:t.unit){case"date":return n+"\u65e5";case"hour":return n+"\u6642";case"minute":return n+"\u5206";case"second":return n+"\u79d2";default:return"\u7b2c "+n}},era:(0,c.A)({values:{narrow:["\u524d","\u516c\u5143"],abbreviated:["\u524d","\u516c\u5143"],wide:["\u516c\u5143\u524d","\u516c\u5143"]},defaultWidth:"wide"}),quarter:(0,c.A)({values:{narrow:["1","2","3","4"],abbreviated:["\u7b2c\u4e00\u523b","\u7b2c\u4e8c\u523b","\u7b2c\u4e09\u523b","\u7b2c\u56db\u523b"],wide:["\u7b2c\u4e00\u523b\u9418","\u7b2c\u4e8c\u523b\u9418","\u7b2c\u4e09\u523b\u9418","\u7b2c\u56db\u523b\u9418"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,c.A)({values:{narrow:["\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d","\u5341","\u5341\u4e00","\u5341\u4e8c"],abbreviated:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],wide:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"]},defaultWidth:"wide"}),day:(0,c.A)({values:{narrow:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],short:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],abbreviated:["\u9031\u65e5","\u9031\u4e00","\u9031\u4e8c","\u9031\u4e09","\u9031\u56db","\u9031\u4e94","\u9031\u516d"],wide:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"]},defaultWidth:"wide"}),dayPeriod:(0,c.A)({values:{narrow:{am:"\u4e0a",pm:"\u4e0b",midnight:"\u51cc\u6668",noon:"\u5348",morning:"\u65e9",afternoon:"\u4e0b\u5348",evening:"\u665a",night:"\u591c"},abbreviated:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348",midnight:"\u51cc\u6668",noon:"\u4e2d\u5348",morning:"\u65e9\u6668",afternoon:"\u4e2d\u5348",evening:"\u665a\u4e0a",night:"\u591c\u9593"},wide:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348",midnight:"\u51cc\u6668",noon:"\u4e2d\u5348",morning:"\u65e9\u6668",afternoon:"\u4e2d\u5348",evening:"\u665a\u4e0a",night:"\u591c\u9593"}},defaultWidth:"wide",formattingValues:{narrow:{am:"\u4e0a",pm:"\u4e0b",midnight:"\u51cc\u6668",noon:"\u5348",morning:"\u65e9",afternoon:"\u4e0b\u5348",evening:"\u665a",night:"\u591c"},abbreviated:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348",midnight:"\u51cc\u6668",noon:"\u4e2d\u5348",morning:"\u65e9\u6668",afternoon:"\u4e2d\u5348",evening:"\u665a\u4e0a",night:"\u591c\u9593"},wide:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348",midnight:"\u51cc\u6668",noon:"\u4e2d\u5348",morning:"\u65e9\u6668",afternoon:"\u4e2d\u5348",evening:"\u665a\u4e0a",night:"\u591c\u9593"}},defaultFormattingWidth:"wide"})};var d=n(2941);const m={code:"zh-TW",formatDistance:a,formatLong:i,formatRelative:l,localize:u,match:{ordinalNumber:(0,n(7841).A)({matchPattern:/^(\u7b2c\s*)?\d+(\u65e5|\u6642|\u5206|\u79d2)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,d.A)({matchPatterns:{narrow:/^(\u524d)/i,abbreviated:/^(\u524d)/i,wide:/^(\u516c\u5143\u524d|\u516c\u5143)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(\u524d)/i,/^(\u516c\u5143)/i]},defaultParseWidth:"any"}),quarter:(0,d.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^\u7b2c[\u4e00\u4e8c\u4e09\u56db]\u523b/i,wide:/^\u7b2c[\u4e00\u4e8c\u4e09\u56db]\u523b\u9418/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|\u4e00)/i,/(2|\u4e8c)/i,/(3|\u4e09)/i,/(4|\u56db)/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,d.A)({matchPatterns:{narrow:/^(\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d|\u5341[\u4e8c\u4e00])/i,abbreviated:/^(\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d|\u5341[\u4e8c\u4e00]|\d|1[12])\u6708/i,wide:/^(\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d|\u5341[\u4e8c\u4e00])\u6708/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^\u4e00/i,/^\u4e8c/i,/^\u4e09/i,/^\u56db/i,/^\u4e94/i,/^\u516d/i,/^\u4e03/i,/^\u516b/i,/^\u4e5d/i,/^\u5341(?!(\u4e00|\u4e8c))/i,/^\u5341\u4e00/i,/^\u5341\u4e8c/i],any:[/^\u4e00|1/i,/^\u4e8c|2/i,/^\u4e09|3/i,/^\u56db|4/i,/^\u4e94|5/i,/^\u516d|6/i,/^\u4e03|7/i,/^\u516b|8/i,/^\u4e5d|9/i,/^\u5341(?!(\u4e00|\u4e8c))|10/i,/^\u5341\u4e00|11/i,/^\u5341\u4e8c|12/i]},defaultParseWidth:"any"}),day:(0,d.A)({matchPatterns:{narrow:/^[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u65e5]/i,short:/^[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u65e5]/i,abbreviated:/^\u9031[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u65e5]/i,wide:/^\u661f\u671f[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u65e5]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/\u65e5/i,/\u4e00/i,/\u4e8c/i,/\u4e09/i,/\u56db/i,/\u4e94/i,/\u516d/i]},defaultParseWidth:"any"}),dayPeriod:(0,d.A)({matchPatterns:{any:/^(\u4e0a\u5348?|\u4e0b\u5348?|\u5348\u591c|[\u4e2d\u6b63]\u5348|\u65e9\u4e0a?|\u4e0b\u5348|\u665a\u4e0a?|\u51cc\u6668)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^\u4e0a\u5348?/i,pm:/^\u4e0b\u5348?/i,midnight:/^\u5348\u591c/i,noon:/^[\u4e2d\u6b63]\u5348/i,morning:/^\u65e9\u4e0a/i,afternoon:/^\u4e0b\u5348/i,evening:/^\u665a\u4e0a?/i,night:/^\u51cc\u6668/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},3488:(e,t,n)=>{"use strict";var o=n(3959);function a(){}function r(){}r.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,r,i){if(i!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:a};return n.PropTypes=n,n}},1942:(e,t,n)=>{e.exports=n(3488)()},3959:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/398.c8228dff.chunk.js b/frontend/dist/static/js/398.c8228dff.chunk.js new file mode 100644 index 00000000..69ee92c4 --- /dev/null +++ b/frontend/dist/static/js/398.c8228dff.chunk.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksrc=self.webpackChunksrc||[]).push([[398],{1385:(e,t,s)=>{s.d(t,{A:()=>l});s(9950);const l=s.p+"static/media/xmark-solid.33c889ee6afa3ed57684011608af6238.svg"},3202:(e,t,s)=>{s.d(t,{l:()=>c});s(9950);const l=s.p+"static/media/rss-solid.167813b1d681372ed1d98e45b6b6c0f7.svg";const a=s.p+"static/media/link-solid.49819f951200a220d9839699fbccd8de.svg";const o=s.p+"static/media/link-slash-solid.7893b9a51ad07ceedeb88c9649c58439.svg";var n=s(4414);const c=e=>{const{content:t,title:s,type:c,className:i}=e;let r="";switch(c){case"success":r="from-green-400 to-blue-500";break;case"warning":r="from-orange-400 to-orange-600";break;case"error":r="from-red-400 to-red-600"}return(0,n.jsx)("div",{className:"my-2 shadow-xl p-6 text-sm text-white rounded-lg bg-gradient-to-r ".concat(r," ").concat(null!==i&&void 0!==i?i:""),children:(0,n.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,n.jsxs)("div",{className:"flex gap-2 font-bold text-lg",children:[(0,n.jsx)("img",{className:"success"===c?"size-6":"hidden",src:l,alt:""}),(0,n.jsx)("img",{className:"warning"===c?"size-6":"hidden",src:a,alt:""}),(0,n.jsx)("img",{className:"error"===c?"size-6":"hidden",src:o,alt:""}),(0,n.jsx)("span",{children:s})]}),(0,n.jsx)("span",{className:"pl-3 text-md font-medium",children:t.split("\n").map((e=>(0,n.jsxs)("p",{children:[e,(0,n.jsx)("br",{})]},e)))})]})})}},88:(e,t,s)=>{s.d(t,{t:()=>m});var l=s(9950),a=s(3461),o=s.n(a),n=s(1274),c=s(9027),i=s.n(c),r=s(7818),d=s(4414);const m=(0,l.forwardRef)(((e,t)=>{const s=.65*window.devicePixelRatio,{boost:a,title:c,series:m,height:u,legend:h,tooltip:f,zooming:b,animation:v,lineWidth:x,tickInterval:g,tickPrecision:p,lineColor:w,backgroundColor:j}=e,[y,k]=(0,l.useState)(!1);(0,l.useEffect)((()=>{k((()=>{if(window.WebGLRenderingContext){const e=document.createElement("canvas");return["webgl","experimental-webgl","webgl2","moz-webgl","webkit-3d"].some((t=>{try{return!!e.getContext(t)}catch(s){return!1}}))}return!1})())}),[]);const[E,N]=(0,l.useState)({chart:{zooming:b?{type:"x"}:{},marginTop:20,height:u,animation:v,backgroundColor:j},xAxis:{labels:{style:{color:"#fff"},format:"{value:%H:%M:%S}"},type:"datetime",tickColor:"#fff",lineColor:w},yAxis:{labels:{style:{color:"#fff"},format:p?"{value:".concat(p,"f}"):"{value:0.2f}"},title:{text:""},opposite:!0,lineColor:w,tickInterval:g},tooltip:{enabled:f,followPointer:!0,followTouchMove:!0,xDateFormat:"%Y-%m-%d %H:%M:%S",padding:12},legend:{enabled:h,itemStyle:{color:"#fff"}},plotOptions:{series:{lineWidth:x,turboThreshold:a?10:0,boostThreshold:a?1:0,states:{hover:{enabled:!1}}}},title:{text:c,style:{color:"#fff",fontSize:"10px",fontWeight:"normal"}},boost:{enabled:y,pixelRatio:s},accessibility:{enabled:!1},credits:{enabled:!1},time:{useUTC:!1},series:[m]}),{t:S}=(0,r.Bd)();return(0,l.useEffect)((()=>{i()(o())}),[]),(0,l.useEffect)((()=>{o().setOptions({lang:{resetZoom:S("components.chart.reset_zoom"),resetZoomTitle:S("components.chart.reset_zoom_title")}})}),[S]),(0,l.useEffect)((()=>{N((e=>({...e,chart:{...e.chart,height:u},title:{...e.title,text:c},boost:{...e.boost,enabled:y}})))}),[u,c,y]),(0,d.jsx)(n.HighchartsReact,{ref:t,options:E,highcharts:o()})}))},3768:(e,t,s)=>{s.d(t,{h:()=>i,R:()=>r});var l=s(9950);const a=s.p+"static/media/square-caret-up-solid.0573794ec033f5ce25c1076e3ac596e3.svg";const o=s.p+"static/media/ellipsis-solid.e3aced2a80c2b888104322b1ae60b47f.svg";var n=s(1385),c=s(4414);let i=function(e){return e[e.COLLAPSE_DISABLE=0]="COLLAPSE_DISABLE",e[e.COLLAPSE_SHOW=1]="COLLAPSE_SHOW",e[e.COLLAPSE_HIDE=2]="COLLAPSE_HIDE",e}({});const r=e=>{const{label:t,text:s,children:r,collapse:d,advanced:m}=e,[u,h]=(0,l.useState)(!1),[f,b]=(0,l.useState)(!1);(0,l.useEffect)((()=>{const e=d||i.COLLAPSE_DISABLE;h(e===i.COLLAPSE_HIDE)}),[d]);const v=(d||i.COLLAPSE_DISABLE)!==i.COLLAPSE_DISABLE;return(0,c.jsxs)("div",{className:"mb-4 flex flex-col rounded-xl text-gray-700 shadow-lg",children:[(0,c.jsx)("div",{className:"mx-4 rounded-lg overflow-hidden shadow-lg",children:r}),(0,c.jsxs)("div",{className:"p-4",children:[(0,c.jsxs)("h6",{className:"text-md font-bold text-gray-800 flex ".concat(v?"cursor-pointer select-none":""),onClick:()=>v&&h(!u),children:[v&&(0,c.jsx)("img",{className:"mx-1 ".concat(u?"rotate-180":""),src:a,alt:""}),t]}),s&&!u&&(0,c.jsx)("div",{className:"text-md pt-2",children:s.split("\n").map((e=>(0,c.jsx)("div",{children:e},e)))}),m&&(0,c.jsxs)("div",{className:"mt-2 space-y-2 ".concat(u?"hidden":"block"),children:[(0,c.jsxs)("div",{className:"mx-1 cursor-pointer",onClick:()=>b(!f),children:[(0,c.jsx)("img",{className:"size-4 ".concat(f?"hidden":"block"),src:o,alt:""}),(0,c.jsx)("img",{className:"size-4 ".concat(f?"block":"hidden"),src:n.A,alt:""})]}),(0,c.jsx)("div",{className:f?"block":"hidden",children:m})]})]})]})}},1682:(e,t,s)=>{s.d(t,{J:()=>a});var l=s(4414);const a=e=>{const{className:t,icon:s,label:a,value:o,unit:n,color:c}=e;return(0,l.jsx)("div",{className:"w-full p-2 ".concat(null!==t&&void 0!==t?t:""),children:(0,l.jsxs)("div",{className:"flex flex-row bg-gradient-to-r rounded-md p-4 shadow-xl ".concat(c?"from-indigo-500 via-purple-500 to-pink-500":"bg-gray-50 hover:bg-gray-100 transition-all"),children:[s&&(0,l.jsx)("img",{className:"bg-white p-2 rounded-md w-8 h-8 md:w-12 md:h-12 self-center",src:s,alt:""}),(0,l.jsxs)("div",{className:"flex flex-col flex-grow ".concat(s?"ml-5":""),children:[(0,l.jsx)("div",{className:"text-sm whitespace-nowrap ".concat(c?"text-gray-50":"text-gray-600"),children:a}),(0,l.jsx)("div",{className:"text-md font-medium flex-nowrap ".concat(c?"text-gray-100":"text-gray-800"),children:"".concat(o," ").concat(null!==n&&void 0!==n?n:"")})]})]})})}},6021:(e,t,s)=>{s.d(t,{$:()=>a});var l=s(9950);const a=(e,t,s)=>{const a=(0,l.useRef)((()=>{}));(0,l.useEffect)((()=>{a.current=e})),(0,l.useEffect)((()=>{s&&null!==t&&!1!==t&&a.current()}),[s,t]),(0,l.useEffect)((()=>{if(null===t||!1===t)return;const e=setInterval((()=>a.current()),t);return()=>clearInterval(e)}),[t])}},425:(e,t,s)=>{s.r(t),s.d(t,{default:()=>C});var l=s(7818),a=s(3202),o=s(5297),n=s(3768),c=s(1682),i=s(9950),r=s(88),d=s(9810),m=s(9029),u=s(7113);const h=s.p+"static/media/location-dot-solid.763794361437464c10451de38cd290f7.svg";s(5392);var f=s(2527),b=s.n(f),v=s(4414);const x=e=>{const{className:t,minZoom:s,flyTo:l,maxZoom:a,zoom:o,tile:n,center:c,marker:r,scrollWheelZoom:f,zoomControl:x,dragging:g}=e,p=new(b().Icon)({iconUrl:h,iconAnchor:[9,24],iconSize:[18,25]}),w=(0,i.useRef)(null);return(0,i.useEffect)((()=>{const e=w.current;e&&e.flyTo(c,o)}),[c,o,l]),(0,v.jsxs)(d.W,{ref:w,className:"z-0 w-full ".concat(null!==t&&void 0!==t?t:""),scrollWheelZoom:f,zoomControl:x,attributionControl:!1,doubleClickZoom:!1,dragging:g,maxZoom:a,minZoom:s,center:c,zoom:o,style:{cursor:"default"},children:[(0,v.jsx)(m.e,{url:n}),r&&(0,v.jsx)(u.p,{position:r,icon:p})]})};const g=s.p+"static/media/circle-check-solid.3fb46b8931cbbf9f966175f42b55a087.svg";const p=s.p+"static/media/bug-solid.7f781f9ddd35c29f11111e36602dcc87.svg";const w=s.p+"static/media/paper-plane-solid.e1f40db20eab51657c5490a69c103292.svg";const j=s.p+"static/media/circle-xmark-solid.ea0857c87457d25b161c3a37ad4e3845.svg";const y=s.p+"static/media/hourglass-half-solid.1e8dc3284939ca52c0fd542da1fbf89b.svg";const k=s.p+"static/media/clock-solid.23025348eaec720a2439930b37d677ee.svg";var E=s(1577),N=s(8526);var S=s(6021);const C=()=>{var e;const[t,s]=(0,i.useState)({type:"warning",title:"views.home.banner.warning.title",content:"views.home.banner.warning.content"}),[d,m]=(0,i.useState)({messages:{color:!0,value:"0",icon:g,unit:"views.home.labels.messages.unit",label:"views.home.labels.messages.label"},errors:{color:!0,value:"0",icon:p,unit:"views.home.labels.errors.unit",label:"views.home.labels.errors.label"},pushed:{color:!0,value:"0",icon:w,unit:"views.home.labels.pushed.unit",label:"views.home.labels.pushed.label"},failures:{color:!0,value:"0",icon:j,unit:"views.home.labels.failures.unit",label:"views.home.labels.failures.label"},queued:{color:!0,value:"0",icon:y,unit:"views.home.labels.queued.unit",label:"views.home.labels.queued.label"},offset:{color:!0,value:"0",icon:k,unit:"views.home.labels.offset.unit",label:"views.home.labels.offset.label"}}),[u,h]=(0,i.useState)({cpu:{chart:{height:250,lineWidth:5,backgroundColor:"#22c55e",ref:(0,i.useRef)(null),series:{type:"line",color:"#fff"}},holder:{label:"views.home.charts.cpu.label",text:"views.home.charts.cpu.text",values:{usage:"0.00"}}},memory:{chart:{height:250,lineWidth:5,backgroundColor:"#06b6d4",ref:(0,i.useRef)(null),series:{type:"line",color:"#fff"}},holder:{label:"views.home.charts.memory.label",text:"views.home.charts.memory.text",values:{usage:"0.00"}}}}),[f,b]=(0,i.useState)({mapbox:{zoom:6,minZoom:3,maxZoom:7,flyTo:!0,center:[0,0],dragging:!1,tile:"/tiles/{z}/{x}/{y}/tile.webp"},holder:{label:"views.home.map.label",text:"views.home.map.text",values:{longitude:"0.00",latitude:"0.00",elevation:"0.00"}}});(0,S.$)((()=>async function(){const{endpoints:e,backend:t}=E.DR,s=await(0,N.c)({backend:t,timeout:30,endpoint:e.station});for(var l=arguments.length,a=new Array(l),o=0;oe(s)))}((e=>((e,t)=>{if(null===e||void 0===e||!e.data)return void t({type:"error",title:"views.home.banner.error.title",content:"views.home.banner.error.content"});const{station:s,uptime:l,os:a}=e.data,{uuid:o,name:n}=s,{arch:c,distro:i}=a;t({title:"views.home.banner.success.title",content:"views.home.banner.success.content",type:"success",values:{uptime:String(l),station:n,os:i,uuid:o,arch:c}})})(e,s)),(e=>((e,t)=>{if(null===e||void 0===e||!e.data)return;const{status:s}=e.data;t((e=>(Object.keys(s).forEach((t=>{if(t in e){const l=s[t];e[t]={...e[t],value:String(l)}}})),e)))})(e,m)),(e=>((e,t)=>{null!==e&&void 0!==e&&e.data&&t((t=>{const{data:s}=e,{timestamp:l}=s;return Object.keys(t).forEach((e=>{if(e in s&&s[e].hasOwnProperty("percent")){const{percent:a}=s[e],{current:o}=t[e].chart.ref;if(o){const e=o.chart.series[0].data.length?o.chart.series[0].data[0].x:l;o.chart.series[0].addPoint([l,a],!0,l-e>=3e5)}t[e]={...t[e],holder:{...t[e].holder,values:{usage:a.toFixed(2)}}}}})),t}))})(e,h)),(e=>((e,t)=>{if(null===e||void 0===e||!e.data)return;const{position:s}=e.data,{longitude:l,latitude:a,elevation:o}=s;t((e=>({...e,mapbox:{...e.mapbox,center:[a,l],marker:[a,l]},holder:{...e.holder,values:{...e.holder.values,elevation:o.toFixed(2),latitude:a.toFixed(2),longitude:l.toFixed(2)}}})))})(e,b)))),2e3,!0);const{t:C}=(0,l.Bd)();return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(a.l,{type:t.type,title:C(t.title,{...t.values}),content:C(t.content,{...t.values})}),(0,v.jsx)(o.m,{className:"mt-5 flex flex-wrap",children:Object.values(d).map((e=>{let{label:t,unit:s,...l}=e;return(0,i.createElement)(c.J,{...l,key:t,label:C(t),unit:C(null!==s&&void 0!==s?s:""),className:"md:w-1/2 lg:w-1/3"})}))}),(0,v.jsx)(o.m,{className:"mt-5 gap-4 grid grid-cols-1 md:grid-cols-2",children:Object.values(u).map((e=>{var t;let{holder:s,chart:l}=e;return(0,v.jsx)(n.R,{label:C(s.label),text:C(null!==(t=s.text)&&void 0!==t?t:"",{...s.values}),children:(0,v.jsx)(r.t,{...l})},s.label)}))}),(0,v.jsx)(o.m,{children:(0,v.jsx)(n.R,{label:C(f.holder.label),text:C(null!==(e=f.holder.text)&&void 0!==e?e:"",{...f.holder.values}),children:(0,v.jsx)(x,{className:"h-[400px]",...f.mapbox})})})]})}}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/4.d126994b.chunk.js b/frontend/dist/static/js/4.d126994b.chunk.js new file mode 100644 index 00000000..72e36945 --- /dev/null +++ b/frontend/dist/static/js/4.d126994b.chunk.js @@ -0,0 +1 @@ +(self.webpackChunksrc=self.webpackChunksrc||[]).push([[4],{5427:function(t,e){var r,n,i,o,_;"undefined"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView=function(t){return null!=t&&null!=t.__proto__&&t.__proto__.__proto__===Int8Array.prototype.__proto__}),"undefined"===typeof Math.clz32&&(Math.clz32=(o=Math.log,_=Math.LN2,function(t){var e=t>>>0;return 0===e?32:31-(o(e)/_|0)|0})),"object"!==typeof globalThis&&(Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__),"undefined"===typeof Math.imul&&(Math.imul=function(t,e){return(4294901760&t)*(65535&e)+(65535&t)*(0|e)|0}),n=[e],void 0===(i="function"===typeof(r=function(t){"use strict";var e,r,n,i,o,_,s,a,u,h,p,c,f,l,y,$,d,k,g,m,v,w,b,x,j,I,E,C,S,A,q,N,X,T,z,P,O,M,R,L,B,F,U,D,V,Y,Z,W,G,H,K,Q,J,tt,et,rt,nt,it,ot,_t,st,at,ut=Math.imul,ht=Math.clz32,pt=ArrayBuffer.isView;function ct(t){return t===qe()?this:t.fold_6dbyow_k$(this,Ce)}function ft(t,e){if(null==e){var r=0,n=t.length-1|0;if(r<=n)do{var i=r;if(r=r+1|0,null==t[i])return i}while(r<=n)}else{var o=0,_=t.length-1|0;if(o<=_)do{var s=o;if(o=o+1|0,wu(e,t[s]))return s}while(o<=_)}return-1}function lt(t,e){if(null==e){var r=t.length-1|0;if(0<=r)do{var n=r;if(r=r+-1|0,null==t[n])return n}while(0<=r)}else{var i=t.length-1|0;if(0<=i)do{var o=i;if(i=i+-1|0,wu(e,t[o]))return o}while(0<=i)}return-1}function yt(t,e,r,n,i,o,_){return dt(t,Ks(),e,r,n,i,o,_).toString()}function $t(t,e,r,n,i,o,_,s,a){return 0!==(1&s)&&(e=", "),0!==(2&s)&&(r=""),0!==(4&s)&&(n=""),0!==(8&s)&&(i=-1),0!==(16&s)&&(o="..."),0!==(32&s)&&(_=null),yt(t,e,r,n,i,o,_)}function dt(t,e,r,n,i,o,_,s){e.append_oz4qxs_k$(n);var a=0,u=t,h=0,p=u.length;t:for(;h1&&e.append_oz4qxs_k$(r),!(o<0||a<=o))break t;Jr(e,c,s)}return o>=0&&a>o&&e.append_oz4qxs_k$(_),e.append_oz4qxs_k$(i),e}function kt(t,e){return gt(t,e)>=0}function gt(t,e){var r=0,n=t.length-1|0;if(r<=n)do{var i=r;if(r=r+1|0,e===t[i])return i}while(r<=n);return-1}function mt(t,e){return vt(t,e)>=0}function vt(t,e){var r=0,n=t.length-1|0;if(r<=n)do{var i=r;if(r=r+1|0,e===t[i])return i}while(r<=n);return-1}function wt(t,e){return bt(t,e)>=0}function bt(t,e){var r=0,n=t.length-1|0;if(r<=n)do{var i=r;if(r=r+1|0,e===t[i])return i}while(r<=n);return-1}function xt(t,e){return jt(t,e)>=0}function jt(t,e){var r=0,n=t.length-1|0;if(r<=n)do{var i=r;if(r=r+1|0,e.equals(t[i]))return i}while(r<=n);return-1}function It(t,e,r,n,i,o,_){return Ct(t,Ks(),e,r,n,i,o,_).toString()}function Et(t,e,r,n,i,o,_,s,a){return 0!==(1&s)&&(e=", "),0!==(2&s)&&(r=""),0!==(4&s)&&(n=""),0!==(8&s)&&(i=-1),0!==(16&s)&&(o="..."),0!==(32&s)&&(_=null),It(t,e,r,n,i,o,_)}function Ct(t,e,r,n,i,o,_,s){e.append_oz4qxs_k$(n);var a=0,u=t.iterator_jk1svi_k$();t:for(;u.hasNext_bitz1p_k$();){var h=u.next_20eer_k$();if((a=a+1|0)>1&&e.append_oz4qxs_k$(r),!(o<0||a<=o))break t;Jr(e,h,s)}return o>=0&&a>o&&e.append_oz4qxs_k$(_),e.append_oz4qxs_k$(i),e}function St(){bu(this,St)}function At(){}function qt(){return e}function Nt(t){this.markerClass_1=t}function Xt(){}function Tt(){}function zt(){}function Pt(t,e){Oa.call(this,t,e)}function Ot(t,e){this.message_1=t,this.level_1=e}function Mt(t){this.markerClass_1=t}function Rt(t){return function(e){return e===t?"(this Collection)":Ma(e)}}function Lt(){}function Bt(t,e,r){Yt.call(this),this.list_1=t,this.fromIndex_1=e,this._size_1=0,Vt().checkRangeIndexes_5hjybp_k$(this.fromIndex_1,r,this.list_1.get_size_woubt6_k$()),this._size_1=r-this.fromIndex_1|0}function Ft(t){this.$this_1=t,this.index_1=0}function Ut(t,e){this.$this_2=t,Ft.call(this,t),Vt().checkPositionIndex_kxpgsw_k$(e,this.$this_2.get_size_woubt6_k$()),this.index_1=e}function Dt(){r=this}function Vt(){return null==r&&new Dt,r}function Yt(){Vt(),Lt.call(this)}function Zt(t){return t.get_size_woubt6_k$()-1|0}function Wt(){return Ht()}function Gt(){n=this,this.serialVersionUID_1=new Ou(-1478467534,-1720727600)}function Ht(){return null==n&&new Gt,n}function Kt(){i=this}function Qt(){return null==i&&new Kt,i}function Jt(t,e){return ee(t,e,!0)}function te(t,e){return re(t,e,!0)}function ee(t,e,r){if(!jh(t,N_))return re(jh(t,Ca)?t:Au(),e,r);var n=0,i=0,o=Zt(t);if(i<=o)do{var _=i;i=i+1|0;var s=t.get_fkrdnv_k$(_);e(s)!==r&&(n!==_&&t.set_meu351_k$(n,s),n=n+1|0)}while(_!==o);if(n0)n=t>=e?e:e-tr(e,t,r)|0;else{if(!(r<0))throw hp("Step is zero.");n=t<=e?e:e+tr(t,e,0|-r)|0}return n}function Je(t,e,r){var n;if(r.compareTo_n4fqi2_k$(new Ou(0,0))>0)n=t.compareTo_n4fqi2_k$(e)>=0?e:e.minus_llf5ei_k$(er(e,t,r));else{if(!(r.compareTo_n4fqi2_k$(new Ou(0,0))<0))throw hp("Step is zero.");n=t.compareTo_n4fqi2_k$(e)<=0?e:e.plus_u6jwas_k$(er(t,e,r.unaryMinus_6uz0qp_k$()))}return n}function tr(t,e,r){return rr(rr(t,r)-rr(e,r)|0,r)}function er(t,e,r){return nr(nr(t,r).minus_llf5ei_k$(nr(e,r)),r)}function rr(t,e){var r=t%e|0;return r>=0?r:r+e|0}function nr(t,e){var r=t.rem_9rbcjo_k$(e);return r.compareTo_n4fqi2_k$(new Ou(0,0))>=0?r:r.plus_u6jwas_k$(e)}function ir(){this.serialVersionUID_1=new Ou(0,0)}function or(){h=this,sr.call(this),this.defaultRandom_1=Q_()}function _r(){return null==h&&new or,h}function sr(){_r()}function ar(t,e){var r;if(!(e>t))throw hp(gu(cr(t,e)));return r}function ur(t){return 31-ht(t)|0}function hr(t,e){var r;if(!(e.compareTo_n4fqi2_k$(t)>0))throw hp(gu(cr(t,e)));return r}function pr(t,e){var r;if(!(e>t))throw hp(gu(cr(t,e)));return r}function cr(t,e){return"Random range is empty: ["+gu(t)+", "+gu(e)+")."}function fr(t){return $r(t,t>>31)}function lr(t,e){return(t>>>(32-e|0)|0)&(0|-e)>>31}function yr(t,e,r){return gr.call(r,t,e,0,0,~t,t<<10^(e>>>4|0)),r}function $r(t,e){return yr(t,e,Object.create(gr.prototype))}function dr(){p=this,this.serialVersionUID_1=new Ou(0,0)}function kr(){return null==p&&new dr,p}function gr(t,e,r,n,i,o){if(kr(),sr.call(this),this.x_1=t,this.y_1=e,this.z_1=r,this.w_1=n,this.v_1=i,this.addend_1=o,0===(this.x_1|this.y_1|this.z_1|this.w_1|this.v_1))throw hp(gu("Initial state must have at least one non-zero element."));var _=0;if(_<64)do{_=_+1|0,this.nextInt_ujorgc_k$()}while(_<64)}function mr(){c=this,this.EMPTY_1=new wr(1,0)}function vr(){return null==c&&new mr,c}function wr(t,e){vr(),Tr.call(this,t,e,1)}function br(){f=this,this.EMPTY_1=new jr(ha(1),ha(0))}function xr(){return null==f&&new br,f}function jr(t,e){xr(),Or.call(this,t,e,1)}function Ir(){l=this,this.EMPTY_1=new Cr(new Ou(1,0),new Ou(0,0))}function Er(){return null==l&&new Ir,l}function Cr(t,e){Er(),Lr.call(this,t,e,new Ou(1,0))}function Sr(t,e,r){ne.call(this),this.step_1=r,this.finalElement_1=e,this.hasNext_1=this.step_1>0?t<=e:t>=e,this.next_1=this.hasNext_1?t:this.finalElement_1}function Ar(t,e,r){se.call(this),this.step_1=r;var n,i=this;n=$a(e),i.finalElement_1=n,this.hasNext_1=this.step_1>0?fa(t,e)<=0:fa(t,e)>=0;var o,_=this;o=this.hasNext_1?$a(t):this.finalElement_1,_.next_1=o}function qr(t,e,r){ae.call(this),this.step_1=r,this.finalElement_1=e,this.hasNext_1=this.step_1.compareTo_n4fqi2_k$(new Ou(0,0))>0?t.compareTo_n4fqi2_k$(e)<=0:t.compareTo_n4fqi2_k$(e)>=0,this.next_1=this.hasNext_1?t:this.finalElement_1}function Nr(){y=this}function Xr(){return null==y&&new Nr,y}function Tr(t,e,r){if(Xr(),0===r)throw hp("Step must be non-zero.");if(r===n_().MIN_VALUE_1)throw hp("Step must be greater than Int.MIN_VALUE to avoid overflow on negation.");this.first_1=t,this.last_1=Qe(t,e,r),this.step_1=r}function zr(){$=this}function Pr(){return null==$&&new zr,$}function Or(t,e,r){if(Pr(),0===r)throw hp("Step must be non-zero.");if(r===n_().MIN_VALUE_1)throw hp("Step must be greater than Int.MIN_VALUE to avoid overflow on negation.");this.first_1=t;var n,i=this,o=$a(t);n=$a(e),i.last_1=gh(Qe(o,n,r)),this.step_1=r}function Mr(){d=this}function Rr(){return null==d&&new Mr,d}function Lr(t,e,r){if(Rr(),r.equals(new Ou(0,0)))throw hp("Step must be non-zero.");if(Pu(),r.equals(new Ou(0,-2147483648)))throw hp("Step must be greater than Long.MIN_VALUE to avoid overflow on negation.");this.first_1=t,this.last_1=Je(t,e,r),this.step_1=r}function Br(){}function Fr(){}function Ur(){}function Dr(){}function Vr(){k=this,this.star_1=new Zr(null,null)}function Yr(){return null==k&&new Vr,k}function Zr(t,e){if(Yr(),this.variance_1=t,this.type_1=e,null==this.variance_1!==(null==this.type_1))throw hp(gu(null==this.variance_1?"Star projection must have no type specified.":"The projection variance "+this.variance_1+" requires type to be specified."))}function Wr(){if(w)return Zo();w=!0,g=new Gr("INVARIANT",0),m=new Gr("IN",1),v=new Gr("OUT",2)}function Gr(t,e){Oa.call(this,t,e)}function Hr(){return Wr(),g}function Kr(){return Wr(),m}function Qr(){return Wr(),v}function Jr(t,e,r){null!=r?t.append_oz4qxs_k$(r(e)):null==e||Oh(e)?t.append_oz4qxs_k$(e):e instanceof wa?t.append_t8oh9e_k$(e.value_1):t.append_oz4qxs_k$(Ma(e))}function tn(t){return uu(t)-1|0}function en(t){return t}function rn(t){return t}function nn(t){return rn(t)instanceof un}function on(t){return rn(t)instanceof un?rn(t).exception_1:null}function _n(t){return rn(t)instanceof un?gu(rn(t)):"Success("+Ma(rn(t))+")"}function sn(){b=this}function an(){return null==b&&new sn,b}function un(t){this.exception_1=t}function hn(t){return null==t?0:mu(t)}function pn(t,e){return e instanceof cn&&!!wu(t,e instanceof cn?e.value_1:Au())}function cn(t){an(),this.value_1=t}function fn(t){return new un(t)}function ln(t){if(rn(t)instanceof un)throw rn(t).exception_1}function yn(t,e,r,n){return 0!==(1&e)&&(t="An operation is not implemented."),dn.call(n,t),n}function $n(t,e,r){var n=yn(t,e,r,Object.create(dn.prototype));return bu(n,$n),n}function dn(t){sp(t,this),bu(this,dn)}function kn(t){return t}function gn(t){return t}function mn(){x=this,this.MIN_VALUE_1=kn(0),this.MAX_VALUE_1=kn(-1),this.SIZE_BYTES_1=1,this.SIZE_BITS_1=8}function vn(){return null==x&&new mn,x}function wn(t,e){return fu(255&gn(t),255&gn(e))}function bn(t,e){return wn(t.data_1,e instanceof En?e.data_1:Au())}function xn(t){return(255&gn(t)).toString()}function jn(t){return t}function In(t,e){return e instanceof En&&t===(e instanceof En?e.data_1:Au())}function En(t){vn(),this.data_1=t}function Cn(t){return t}function Sn(t){return Cn(t).length}function An(t){return new qn(Cn(t))}function qn(t){this.array_1=t,this.index_1=0}function Nn(t,e){return(zh(new En(e))?new En(e):Au())instanceof En&&kt(Cn(t),gn(e))}function Xn(t,e){return e instanceof En&&Nn(t.storage_1,e instanceof En?e.data_1:Au())}function Tn(t,e){var r;t:{var n=jh(e,ja)?e:Au();if(jh(n,ja)&&n.isEmpty_y1axqb_k$())r=!0;else{for(var i=n.iterator_jk1svi_k$();i.hasNext_bitz1p_k$();){var o=i.next_20eer_k$();if(!(o instanceof En&&kt(Cn(t),gn(o.data_1)))){r=!1;break t}}r=!0}}return r}function zn(t,e){return Tn(t.storage_1,e)}function Pn(t){return 0===Cn(t).length}function On(t){return"UByteArray(storage="+gu(t)+")"}function Mn(t){return mu(t)}function Rn(t,e){return e instanceof Ln&&!!wu(t,e instanceof Ln?e.storage_1:Au())}function Ln(t){this.storage_1=t}function Bn(t){return t}function Fn(t){return t}function Un(){j=this,this.MIN_VALUE_1=Bn(0),this.MAX_VALUE_1=Bn(-1),this.SIZE_BYTES_1=4,this.SIZE_BITS_1=32}function Dn(){return null==j&&new Un,j}function Vn(t,e){return vo(Fn(t),Fn(e))}function Yn(t,e){return Vn(t.data_1,e instanceof Hn?e.data_1:Au())}function Zn(t){return mh(Fn(t)).and_jhajnj_k$(new Ou(-1,0)).toString()}function Wn(t){return t}function Gn(t,e){return e instanceof Hn&&t===(e instanceof Hn?e.data_1:Au())}function Hn(t){Dn(),this.data_1=t}function Kn(t){return t}function Qn(t){return Kn(t).length}function Jn(t){return new ti(Kn(t))}function ti(t){this.array_1=t,this.index_1=0}function ei(t,e){return(zh(new Hn(e))?new Hn(e):Au())instanceof Hn&&wt(Kn(t),Fn(e))}function ri(t,e){return e instanceof Hn&&ei(t.storage_1,e instanceof Hn?e.data_1:Au())}function ni(t,e){var r;t:{var n=jh(e,ja)?e:Au();if(jh(n,ja)&&n.isEmpty_y1axqb_k$())r=!0;else{for(var i=n.iterator_jk1svi_k$();i.hasNext_bitz1p_k$();){var o=i.next_20eer_k$();if(!(o instanceof Hn&&wt(Kn(t),Fn(o.data_1)))){r=!1;break t}}r=!0}}return r}function ii(t,e){return ni(t.storage_1,e)}function oi(t){return 0===Kn(t).length}function _i(t){return"UIntArray(storage="+gu(t)+")"}function si(t){return mu(t)}function ai(t,e){return e instanceof ui&&!!wu(t,e instanceof ui?e.storage_1:Au())}function ui(t){this.storage_1=t}function hi(){I=this;var t=this;Dn();var e=Bn(-1);Dn(),t.EMPTY_1=new ci(e,Bn(0))}function pi(){return null==I&&new hi,I}function ci(t,e){pi(),yi.call(this,t,e,1)}function fi(){E=this}function li(){return null==E&&new fi,E}function yi(t,e,r){if(li(),0===r)throw hp("Step must be non-zero.");if(r===n_().MIN_VALUE_1)throw hp("Step must be greater than Int.MIN_VALUE to avoid overflow on negation.");this.first_1=t,this.last_1=Zi(t,e,r),this.step_1=r}function $i(t,e,r){this.finalElement_1=e;var n,i=this;n=r>0?vo(Fn(t),Fn(e))<=0:vo(Fn(t),Fn(e))>=0,i.hasNext_1=n;var o,_=this;o=Bn(r),_.step_1=o,this.next_1=this.hasNext_1?t:this.finalElement_1}function di(t){return t}function ki(t){return t}function gi(){C=this,this.MIN_VALUE_1=di(new Ou(0,0)),this.MAX_VALUE_1=di(new Ou(-1,-1)),this.SIZE_BYTES_1=8,this.SIZE_BITS_1=64}function mi(){return null==C&&new gi,C}function vi(t,e){return bo(ki(t),ki(e))}function wi(t,e){return vi(t.data_1,e instanceof Ii?e.data_1:Au())}function bi(t){return jo(ki(t))}function xi(t){return t.hashCode()}function ji(t,e){if(!(e instanceof Ii))return!1;var r=e instanceof Ii?e.data_1:Au();return!!t.equals(r)}function Ii(t){mi(),this.data_1=t}function Ei(t){return t}function Ci(t){return Ei(t).length}function Si(t){return new Ai(Ei(t))}function Ai(t){this.array_1=t,this.index_1=0}function qi(t,e){return(zh(new Ii(e))?new Ii(e):Au())instanceof Ii&&xt(Ei(t),ki(e))}function Ni(t,e){return e instanceof Ii&&qi(t.storage_1,e instanceof Ii?e.data_1:Au())}function Xi(t,e){var r;t:{var n=jh(e,ja)?e:Au();if(jh(n,ja)&&n.isEmpty_y1axqb_k$())r=!0;else{for(var i=n.iterator_jk1svi_k$();i.hasNext_bitz1p_k$();){var o=i.next_20eer_k$();if(!(o instanceof Ii&&xt(Ei(t),ki(o.data_1)))){r=!1;break t}}r=!0}}return r}function Ti(t,e){return Xi(t.storage_1,e)}function zi(t){return 0===Ei(t).length}function Pi(t){return"ULongArray(storage="+gu(t)+")"}function Oi(t){return mu(t)}function Mi(t,e){return e instanceof Ri&&!!wu(t,e instanceof Ri?e.storage_1:Au())}function Ri(t){this.storage_1=t}function Li(){S=this;var t=this;mi();var e=di(new Ou(-1,-1));mi(),t.EMPTY_1=new Fi(e,di(new Ou(0,0)))}function Bi(){return null==S&&new Li,S}function Fi(t,e){Bi(),Vi.call(this,t,e,new Ou(1,0))}function Ui(){A=this}function Di(){return null==A&&new Ui,A}function Vi(t,e,r){if(Di(),r.equals(new Ou(0,0)))throw hp("Step must be non-zero.");if(Pu(),r.equals(new Ou(0,-2147483648)))throw hp("Step must be greater than Long.MIN_VALUE to avoid overflow on negation.");this.first_1=t,this.last_1=Wi(t,e,r),this.step_1=r}function Yi(t,e,r){this.finalElement_1=e;var n,i=this;n=r.compareTo_n4fqi2_k$(new Ou(0,0))>0?bo(ki(t),ki(e))<=0:bo(ki(t),ki(e))>=0,i.hasNext_1=n;var o,_=this;o=di(r),_.step_1=o,this.next_1=this.hasNext_1?t:this.finalElement_1}function Zi(t,e,r){var n;if(r>0){var i;if(vo(Fn(t),Fn(e))>=0)i=e;else{var o=Gi(e,t,Bn(r));i=Bn(Fn(e)-Fn(o)|0)}n=i}else{if(!(r<0))throw hp("Step is zero.");var _;if(vo(Fn(t),Fn(e))<=0)_=e;else{var s=Gi(t,e,Bn(0|-r));_=Bn(Fn(e)+Fn(s)|0)}n=_}return n}function Wi(t,e,r){var n;if(r.compareTo_n4fqi2_k$(new Ou(0,0))>0){var i;if(bo(ki(t),ki(e))>=0)i=e;else{var o=Hi(e,t,di(r));i=di(ki(e).minus_llf5ei_k$(ki(o)))}n=i}else{if(!(r.compareTo_n4fqi2_k$(new Ou(0,0))<0))throw hp("Step is zero.");var _;if(bo(ki(t),ki(e))<=0)_=e;else{var s=Hi(t,e,di(r.unaryMinus_6uz0qp_k$()));_=di(ki(e).plus_u6jwas_k$(ki(s)))}n=_}return n}function Gi(t,e,r){var n,i,o=wo(t,r),_=wo(e,r);return vo(Fn(o),Fn(_))>=0?n=Bn(Fn(o)-Fn(_)|0):(i=Bn(Fn(o)-Fn(_)|0),n=Bn(Fn(i)+Fn(r)|0)),n}function Hi(t,e,r){var n,i,o=xo(t,r),_=xo(e,r);return bo(ki(o),ki(_))>=0?n=di(ki(o).minus_llf5ei_k$(ki(_))):(i=di(ki(o).minus_llf5ei_k$(ki(_))),n=di(ki(i).plus_u6jwas_k$(ki(r)))),n}function Ki(t){return t}function Qi(t){return t}function Ji(){q=this,this.MIN_VALUE_1=Ki(0),this.MAX_VALUE_1=Ki(-1),this.SIZE_BYTES_1=2,this.SIZE_BITS_1=16}function to(){return null==q&&new Ji,q}function eo(t,e){return fu(65535&Qi(t),65535&Qi(e))}function ro(t,e){return eo(t.data_1,e instanceof _o?e.data_1:Au())}function no(t){return(65535&Qi(t)).toString()}function io(t){return t}function oo(t,e){return e instanceof _o&&t===(e instanceof _o?e.data_1:Au())}function _o(t){to(),this.data_1=t}function so(t){return t}function ao(t){return so(t).length}function uo(t){return new ho(so(t))}function ho(t){this.array_1=t,this.index_1=0}function po(t,e){return(zh(new _o(e))?new _o(e):Au())instanceof _o&&mt(so(t),Qi(e))}function co(t,e){return e instanceof _o&&po(t.storage_1,e instanceof _o?e.data_1:Au())}function fo(t,e){var r;t:{var n=jh(e,ja)?e:Au();if(jh(n,ja)&&n.isEmpty_y1axqb_k$())r=!0;else{for(var i=n.iterator_jk1svi_k$();i.hasNext_bitz1p_k$();){var o=i.next_20eer_k$();if(!(o instanceof _o&&mt(so(t),Qi(o.data_1)))){r=!1;break t}}r=!0}}return r}function lo(t,e){return fo(t.storage_1,e)}function yo(t){return 0===so(t).length}function $o(t){return"UShortArray(storage="+gu(t)+")"}function ko(t){return mu(t)}function go(t,e){return e instanceof mo&&!!wu(t,e instanceof mo?e.storage_1:Au())}function mo(t){this.storage_1=t}function vo(t,e){return fu(t^n_().MIN_VALUE_1,e^n_().MIN_VALUE_1)}function wo(t,e){var r,n=mh(Fn(t)).and_jhajnj_k$(new Ou(-1,0));return r=mh(Fn(e)).and_jhajnj_k$(new Ou(-1,0)),Bn(n.rem_9rbcjo_k$(r).toInt_1tsl84_k$())}function bo(t,e){Pu();var r=t.xor_jjua9n_k$(new Ou(0,-2147483648));return Pu(),r.compareTo_n4fqi2_k$(e.xor_jjua9n_k$(new Ou(0,-2147483648)))}function xo(t,e){var r=ki(t),n=ki(e);if(n.compareTo_n4fqi2_k$(new Ou(0,0))<0)return bo(ki(t),ki(e))<0?t:di(ki(t).minus_llf5ei_k$(ki(e)));if(r.compareTo_n4fqi2_k$(new Ou(0,0))>=0)return di(r.rem_9rbcjo_k$(n));var i,o=r.ushr_rr8rvr_k$(1).div_9s1fi3_k$(n).shl_po5ip6_k$(1),_=r.minus_llf5ei_k$(o.times_2zfqpc_k$(n)),s=di(_),a=di(n);return i=bo(ki(s),ki(a))>=0?n:new Ou(0,0),di(_.minus_llf5ei_k$(i))}function jo(t){return Io(t,10)}function Io(t,e){if(t.compareTo_n4fqi2_k$(new Ou(0,0))>=0)return Hp(t,e);var r,n=t.ushr_rr8rvr_k$(1).div_9s1fi3_k$(mh(e)).shl_po5ip6_k$(1);r=n.times_2zfqpc_k$(mh(e));var i=t.minus_llf5ei_k$(r);return i.compareTo_n4fqi2_k$(mh(e))>=0&&(i=i.minus_llf5ei_k$(mh(e)),n=n.plus_u6jwas_k$(new Ou(1,0))),Hp(n,e)+Hp(i,e)}function Eo(){}function Co(){}function So(){}function Ao(){}function qo(){}function No(){}function Xo(){}function To(){}function zo(){}function Po(t){this.version_1=t}function Oo(t){this.names_1=t}function Mo(){}function Ro(t){this.name_1=t}function Lo(t,e,r){this.message_1=t,this.replaceWith_1=e,this.level_1=r}function Bo(t,e){this.expression_1=t,this.imports_1=e}function Fo(t,e,r){this.warningSince_1=t,this.errorSince_1=e,this.hiddenSince_1=r}function Uo(t,e){Oa.call(this,t,e)}function Do(){}function Vo(){}function Yo(){N=this}function Zo(){return null==N&&new Yo,N}function Wo(t){this.allowedTargets_1=t}function Go(t,e){Oa.call(this,t,e)}function Ho(){}function Ko(t){this.value_1=t}function Qo(t,e){Oa.call(this,t,e)}function Jo(){}function t_(){this.MIN_VALUE_1=-128,this.MAX_VALUE_1=127,this.SIZE_BYTES_1=1,this.SIZE_BITS_1=8}function e_(){this.MIN_VALUE_1=-32768,this.MAX_VALUE_1=32767,this.SIZE_BYTES_1=2,this.SIZE_BITS_1=16}function r_(){X=this,this.MIN_VALUE_1=-2147483648,this.MAX_VALUE_1=2147483647,this.SIZE_BYTES_1=4,this.SIZE_BITS_1=32}function n_(){return null==X&&new r_,X}function i_(){this.MIN_VALUE_1=14e-46,this.MAX_VALUE_1=34028235e31,this.POSITIVE_INFINITY_1=1/0,this.NEGATIVE_INFINITY_1=-1/0,this.NaN_1=NaN,this.SIZE_BYTES_1=4,this.SIZE_BITS_1=32}function o_(){T=this,this.MIN_VALUE_1=5e-324,this.MAX_VALUE_1=17976931348623157e292,this.POSITIVE_INFINITY_1=1/0,this.NEGATIVE_INFINITY_1=-1/0,this.NaN_1=NaN,this.SIZE_BYTES_1=8,this.SIZE_BITS_1=64}function __(){return null==T&&new o_,T}function s_(){}function a_(){}function u_(){}function h_(t){this.value_1=t}function p_(t){this.name_1=t}function c_(){}function f_(){}function l_(t){return void 0!==t.toArray?t.toArray():y_(t)}function y_(t){for(var e=[],r=t.iterator_jk1svi_k$();r.hasNext_bitz1p_k$();)e.push(r.next_20eer_k$());return e}function $_(t,e,r,n,i){Vt().checkRangeIndexes_5hjybp_k$(n,i,t.length);var o=i-n|0;if(Vt().checkRangeIndexes_5hjybp_k$(r,r+o|0,e.length),pt(e)&&pt(t)){var _=t.subarray(n,i);e.set(_,r)}else if(t!==e||r<=n){var s=0;if(sn_().MAX_VALUE_1?n_().MAX_VALUE_1:t0?-1:1;e=ru(Gp(t).plus_u6jwas_k$(mh(n)))}return e}function Y_(t){return!(t===t)}function Z_(t){var e;return __(),t===1/0?e=!0:(__(),e=t===-1/0),e}function W_(t){return!Z_(t)&&!Y_(t)}function G_(){return J_(),O}function H_(){return J_(),M}function K_(t,e){return J_(),t*G_()+e*H_()}function Q_(){return J_(),fr(Math.random()*Math.pow(2,32)|0)}function J_(){var t,e;R||(R=!0,t=Math.pow(2,-26),O=t,e=Math.pow(2,-53),M=e)}function ts(t){return(t instanceof ns?t:Au()).get_jClass_en9agn_k$()}function es(){}function rs(){}function ns(t){this.jClass_1=t}function is(t,e,r){ns.call(this,t),this.givenSimpleName_1=e,this.isInstanceFunction_1=r}function os(){L=this,ns.call(this,Object),this.simpleName_1="Nothing"}function _s(){return null==L&&new os,L}function ss(){}function as(t){ns.call(this,t);var e,r=this,n=t.$metadata$;e=null==n?null:n.simpleName,r.simpleName_1=e}function us(){}function hs(){}function ps(){}function cs(){}function fs(){}function ls(){}function ys(){}function $s(){}function ds(){}function ks(){}function gs(t,e,r){this.classifier_1=t,this.arguments_1=e,this.isMarkedNullable_1=r}function ms(){this.classifier_1=null,this.arguments_1=Wt(),this.isMarkedNullable_1=!1}function vs(t,e,r,n){this.name_1=t,this.upperBounds_1=e,this.variance_1=r,this.isReified_1=n}function ws(){return Vs(),B}function bs(t){return zh(t)}function xs(t){return Ph(t)}function js(t){return null!=t&&"boolean"===typeof t}function Is(t){return null!=t&&"number"===typeof t}function Es(t){return null!=t&&"number"===typeof t}function Cs(t){return null!=t&&"number"===typeof t}function Ss(t){return null!=t&&"number"===typeof t}function As(t){return null!=t&&"number"===typeof t}function qs(t){return null!=t&&Th(t)}function Ns(t){return null!=t&&"string"===typeof t}function Xs(t){return t instanceof Error}function Ts(t){return null!=t&&Mh(t)}function zs(t){return null!=t&&Bh(t)}function Ps(t){return null!=t&&Rh(t)}function Os(t){return null!=t&&Lh(t)}function Ms(t){return null!=t&&Fh(t)}function Rs(t){return null!=t&&Dh(t)}function Ls(t){return null!=t&&Uh(t)}function Bs(t){return null!=t&&Vh(t)}function Fs(t){return function(e){return"function"===typeof e&&e.length===t}}function Us(){F=this;var t=Object;this.anyClass_1=new is(t,"Any",bs);var e=Number;this.numberClass_1=new is(e,"Number",xs),this.nothingClass_1=_s();var r=Boolean;this.booleanClass_1=new is(r,"Boolean",js);var n=Number;this.byteClass_1=new is(n,"Byte",Is);var i=Number;this.shortClass_1=new is(i,"Short",Es);var o=Number;this.intClass_1=new is(o,"Int",Cs);var _=Number;this.floatClass_1=new is(_,"Float",Ss);var s=Number;this.doubleClass_1=new is(s,"Double",As);var a=Array;this.arrayClass_1=new is(a,"Array",qs);var u=String;this.stringClass_1=new is(u,"String",Ns);var h=Error;this.throwableClass_1=new is(h,"Throwable",Xs);var p=Array;this.booleanArrayClass_1=new is(p,"BooleanArray",Ts);var c=Uint16Array;this.charArrayClass_1=new is(c,"CharArray",zs);var f=Int8Array;this.byteArrayClass_1=new is(f,"ByteArray",Ps);var l=Int16Array;this.shortArrayClass_1=new is(l,"ShortArray",Os);var y=Int32Array;this.intArrayClass_1=new is(y,"IntArray",Ms);var $=Array;this.longArrayClass_1=new is($,"LongArray",Rs);var d=Float32Array;this.floatArrayClass_1=new is(d,"FloatArray",Ls);var k=Float64Array;this.doubleArrayClass_1=new is(k,"DoubleArray",Bs)}function Ds(){return null==F&&new Us,F}function Vs(){var t;U||(U=!0,t=Ba(Array(0),null),B=t)}function Ys(t){return Array.isArray(t)?Zs(t):Ws(t)}function Zs(t){var e;switch(t.length){case 1:e=Ws(t[0]);break;case 0:e=_s();break;default:e=new ss}return e}function Ws(t){if(t===String)return Ds().stringClass_1;var e,r=t.$metadata$;if(null!=r){var n;if(null==r.$kClass$){var i=new as(t);r.$kClass$=i,n=i}else n=r.$kClass$;e=n}else e=new as(t);return e}function Gs(){}function Hs(t){return Js.call(t,""),t}function Ks(){return Hs(Object.create(Js.prototype))}function Qs(t,e,r,n){if(e<0||e>n)throw Np("startIndex: "+e+", length: "+n);if(e>r)throw hp("startIndex("+e+") > endIndex("+r+")")}function Js(t){this.string_1=void 0!==t?t:""}function ta(t){var e=ga(t).toUpperCase();return e.length>1?t:su(e,0)}function ea(t){va();var e=ha(56320);return va(),t<=ha(57343)&&e<=t}function ra(t){va();var e=ha(55296);return va(),t<=ha(56319)&&e<=t}function na(t){if(!(2<=t&&t<=36))throw hp("radix "+t+" was not in valid range 2..36");return t}function ia(t,e,r){if(ua(),r){var n=t.length,i=e.length,o=Math.min(n,i);if(0===o)return n-i|0;var _=0;if(_$a(ha(65535))),n)throw hp("Invalid Char code: "+i);r=gh(i)}else r=t.get_a7b70_k$(e);return r}function au(t){return"string"===typeof t}function uu(t){return au(t)?t.length:t.get_length_g42xv3_k$()}function hu(t){return $t(t,", ","[","]",0,null,cu,24,null)}function pu(t,e){var r=t,n=e;if(r===n)return!0;if(null==r||null==n||!bh(n)||r.length!=n.length)return!1;var i=0,o=r.length;if(ie)r=1;else if(t===e){var n;if(0!==t)n=0;else{var i=1/t;n=i===1/e?0:i<0?-1:1}r=n}else r=t!==t?e!==e?0:1:-1;return r}function yu(t,e){return te?1:0}function $u(t,e){return t.compareTo_6thzaj_k$(e)}function du(t){return ku(t)}function ku(t){if(!Yp("kotlinHashCodeValue$",t)){var e=Zp(4294967296*Math.random(),0),r=new Object;r.value=e,r.enumerable=!1,Object.defineProperty(t,"kotlinHashCodeValue$",r)}return t.kotlinHashCodeValue$}function gu(t){return null==t?"null":bh(t)?"[...]":t.toString()}function mu(t){if(null==t)return 0;var e;switch(typeof t){case"object":e="function"===typeof t.hashCode?t.hashCode():ku(t);break;case"function":e=ku(t);break;case"number":e=iu(t);break;case"boolean":e=t?1:0;break;default:e=vu(String(t))}return e}function vu(t){var e=0,r=0,n=t.length-1|0;if(r<=n)do{var i=r;r=r+1|0;var o=t.charCodeAt(i);e=ut(e,31)+o|0}while(i!==n);return e}function wu(t,e){if(null==t)return null==e;if(null==e)return!1;if("object"===typeof t&&"function"===typeof t.equals)return t.equals(e);if(t!==t)return e!==e;if("number"===typeof t&&"number"===typeof e){var r;if(t===e)r=0!==t||1/t===1/e;else r=!1;return r}return t===e}function bu(t,e){null!=Error.captureStackTrace?Error.captureStackTrace(t,e):t.stack=(new Error).stack}function xu(t,e,r){Error.call(t),ju(t,e,r)}function ju(t,e,r){if(!Iu(t,"message")){var n;if(null==e){var i;if(null!==e){var o=null==r?null:r.toString();i=null==o?void 0:o}else i=void 0;n=i}else n=e;t.message=n}Iu(t,"cause")||(t.cause=r),t.name=Object.getPrototypeOf(t).constructor.name}function Iu(t,e){return Object.getPrototypeOf(t).hasOwnProperty(e)}function Eu(t){var e;return null==t?Cu():e=t,e}function Cu(){throw zp()}function Su(){throw Mp()}function Au(){throw Bp()}function qu(t){throw Dp("lateinit property "+t+" has not been initialized")}function Nu(){throw fp()}function Xu(){}function Tu(t){this.code_1=t}function zu(){J=this,this.MIN_VALUE_1=new Ou(0,-2147483648),this.MAX_VALUE_1=new Ou(-1,2147483647),this.SIZE_BYTES_1=8,this.SIZE_BITS_1=64}function Pu(){return null==J&&new zu,J}function Ou(t,e){Pu(),zo.call(this),this.low_1=t,this.high_1=e}function Mu(){return fh(),tt}function Ru(){return fh(),et}function Lu(){return fh(),rt}function Bu(){return fh(),nt}function Fu(){return fh(),it}function Uu(){return fh(),ot}function Du(t,e){if(fh(),th(t,e))return 0;var r=ih(t),n=ih(e);return r&&!n?-1:!r&&n?1:ih(Yu(t,e))?-1:1}function Vu(t,e){fh();var r=t.high_1>>>16|0,n=65535&t.high_1,i=t.low_1>>>16|0,o=65535&t.low_1,_=e.high_1>>>16|0,s=65535&e.high_1,a=e.low_1>>>16|0,u=0,h=0,p=0,c=0;return u=(u=u+((h=(h=h+((p=(p=p+((c=c+(o+(65535&e.low_1)|0)|0)>>>16|0)|0)+(i+a|0)|0)>>>16|0)|0)+(n+s|0)|0)>>>16|0)|0)+(r+_|0)|0,new Ou((p&=65535)<<16|(c&=65535),(u&=65535)<<16|(h&=65535))}function Yu(t,e){return fh(),Vu(t,e.unaryMinus_6uz0qp_k$())}function Zu(t,e){if(fh(),oh(t))return Mu();if(oh(e))return Mu();if(th(t,Fu()))return _h(e)?Fu():Mu();if(th(e,Fu()))return _h(t)?Fu():Mu();if(ih(t))return ih(e)?Zu(sh(t),sh(e)):sh(Zu(sh(t),e));if(ih(e))return sh(Zu(t,sh(e)));if(ah(t,Uu())&&ah(e,Uu()))return uh(Ju(t)*Ju(e));var r=t.high_1>>>16|0,n=65535&t.high_1,i=t.low_1>>>16|0,o=65535&t.low_1,_=e.high_1>>>16|0,s=65535&e.high_1,a=e.low_1>>>16|0,u=65535&e.low_1,h=0,p=0,c=0,f=0;return c=c+((f=f+ut(o,u)|0)>>>16|0)|0,f&=65535,p=(p=p+((c=c+ut(i,u)|0)>>>16|0)|0)+((c=(c&=65535)+ut(o,a)|0)>>>16|0)|0,c&=65535,h=(h=(h=h+((p=p+ut(n,u)|0)>>>16|0)|0)+((p=(p&=65535)+ut(i,a)|0)>>>16|0)|0)+((p=(p&=65535)+ut(o,s)|0)>>>16|0)|0,p&=65535,h=h+(((ut(r,u)+ut(n,a)|0)+ut(i,s)|0)+ut(o,_)|0)|0,new Ou(c<<16|f,(h&=65535)<<16|p)}function Wu(t,e){if(fh(),oh(e))throw op("division by zero");if(oh(t))return Mu();if(th(t,Fu())){if(th(e,Ru())||th(e,Lu()))return Fu();if(th(e,Fu()))return Ru();var r=Hu(Ku(t,1).div_9s1fi3_k$(e),1);return th(r,Mu())?ih(e)?Ru():Lu():Vu(r,Yu(t,Zu(e,r)).div_9s1fi3_k$(e))}if(th(e,Fu()))return Mu();if(ih(t))return ih(e)?sh(t).div_9s1fi3_k$(sh(e)):sh(sh(t).div_9s1fi3_k$(e));if(ih(e))return sh(t.div_9s1fi3_k$(sh(e)));for(var n=Mu(),i=t;ph(i,e);){for(var o=Ju(i)/Ju(e),_=Math.max(1,Math.floor(o)),s=Math.ceil(Math.log(_)/Math.LN2),a=s<=48?1:Math.pow(2,s-48),u=uh(_),h=Zu(u,e);ih(h)||hh(h,i);)h=Zu(u=uh(_-=a),e);oh(u)&&(u=Ru()),n=Vu(n,u),i=Yu(i,h)}return n}function Gu(t,e){return fh(),Yu(t,Zu(t.div_9s1fi3_k$(e),e))}function Hu(t,e){fh();var r=63&e;return 0===r?t:r<32?new Ou(t.low_1<>>(32-r|0)|0):new Ou(0,t.low_1<<(r-32|0))}function Ku(t,e){fh();var r=63&e;return 0===r?t:r<32?new Ou(t.low_1>>>r|0|t.high_1<<(32-r|0),t.high_1>>r):new Ou(t.high_1>>(r-32|0),t.high_1>=0?0:-1)}function Qu(t,e){fh();var r=63&e;return 0===r?t:r<32?new Ou(t.low_1>>>r|0|t.high_1<<(32-r|0),t.high_1>>>r|0):new Ou(32===r?t.high_1:t.high_1>>>(r-32|0)|0,0)}function Ju(t){return fh(),4294967296*t.high_1+ch(t)}function th(t,e){return fh(),t.high_1===e.high_1&&t.low_1===e.low_1}function eh(t){return fh(),t.low_1^t.high_1}function rh(t,e){if(fh(),e<2||36=0x8000000000000000)return Bu();if(t<0)return sh(uh(-t));var e=4294967296;return new Ou(Zp(t%e,0),Zp(t/e,0))}function hh(t,e){return fh(),Du(t,e)>0}function ph(t,e){return fh(),Du(t,e)>=0}function ch(t){return fh(),t.low_1>=0?t.low_1:4294967296+t.low_1}function fh(){_t||(_t=!0,tt=nh(0),et=nh(1),rt=nh(-1),nt=new Ou(-1,2147483647),it=new Ou(0,-2147483648),ot=nh(16777216))}function lh(t){return t<<24>>24}function yh(t){return t instanceof Ou?t.toInt_1tsl84_k$():$h(t)}function $h(t){return t>2147483647?2147483647:t<-2147483648?-2147483648:Zp(t,0)}function dh(t){return t<<16>>16}function kh(t){return t instanceof Ou?t:uh(t)}function gh(t){return ca(Ki(dh(yh(t))))}function mh(t){return nh(t)}function vh(t,e,r,n,i,o){return wh("class",t,e,r,n,i,o)}function wh(t,e,r,n,i,o,_){return{kind:t,simpleName:e,interfaceId:"interface"===t?-1:void 0,interfaces:r||[],associatedObjectKey:n,associatedObjects:i,suspendArity:o,fastPrototype:_,$kClass$:void 0,interfacesCache:{isComplete:void 0===_&&(void 0===r||0===r.length),implementInterfaceMemo:{}}}}function bh(t){return!!xh(t)||pt(t)}function xh(t){return Array.isArray(t)}function jh(t,e){var r=t.constructor;return null!=r&&Ih(r,e)}function Ih(t,e){if(t===e)return!0;var r=t.$metadata$;null!=r&&null==r.interfacesCache&&(r.interfacesCache=Eh());var n,i=null==r?null:r.interfacesCache;if(null!=i){i.isComplete||Ch(t);var o=e.$metadata$,_=null==o?null:o.interfaceId;if(null==_)return!1;var s=_;n=!!i.implementInterfaceMemo[s]}else{var a=Sh(t),u=null==a?null:a.constructor;if(null==u)return!1;n=Ih(u,e)}return n}function Eh(){return{isComplete:!1,implementInterfaceMemo:{}}}function Ch(t){var e=t.$metadata$;null!=e&&null==e.interfacesCache&&(e.interfacesCache=Eh());var r=null==e?null:e.interfacesCache;if(null!=r){if(!0===r.isComplete)return r;for(var n=e.interfaces,i=0,o=n.length;i0},Ut.prototype.nextIndex_jshxun_k$=function(){return this.index_1},Ut.prototype.previous_l2dfd5_k$=function(){if(!this.hasPrevious_qh0629_k$())throw kp();var t=this;return t.index_1=t.index_1-1|0,this.$this_2.get_fkrdnv_k$(t.index_1)},Ut.prototype.previousIndex_4qtyw5_k$=function(){return this.index_1-1|0},Ut.$metadata$=vh("ListIteratorImpl",[To],void 0,void 0,void 0,Ft.prototype),Dt.prototype.checkElementIndex_ux0wz1_k$=function(t,e){if(t<0||t>=e)throw Np("index: "+t+", size: "+e)},Dt.prototype.checkPositionIndex_kxpgsw_k$=function(t,e){if(t<0||t>e)throw Np("index: "+t+", size: "+e)},Dt.prototype.checkRangeIndexes_5hjybp_k$=function(t,e,r){if(t<0||e>r)throw Np("fromIndex: "+t+", toIndex: "+e+", size: "+r);if(t>e)throw hp("fromIndex: "+t+" > toIndex: "+e)},Dt.prototype.checkBoundsIndexes_7787d9_k$=function(t,e,r){if(t<0||e>r)throw Np("startIndex: "+t+", endIndex: "+e+", size: "+r);if(t>e)throw hp("startIndex: "+t+" > endIndex: "+e)},Dt.prototype.orderedHashCode_2n0xp_k$=function(t){for(var e=1,r=t.iterator_jk1svi_k$();r.hasNext_bitz1p_k$();){var n=r.next_20eer_k$(),i=ut(31,e),o=null==n?null:mu(n);e=i+(null==o?0:o)|0}return e},Dt.prototype.orderedEquals_40uhas_k$=function(t,e){if(t.get_size_woubt6_k$()!==e.get_size_woubt6_k$())return!1;for(var r=e.iterator_jk1svi_k$(),n=t.iterator_jk1svi_k$();n.hasNext_bitz1p_k$();)if(!wu(n.next_20eer_k$(),r.next_20eer_k$()))return!1;return!0},Dt.$metadata$=Zh("Companion"),Yt.prototype.iterator_jk1svi_k$=function(){return new Ft(this)},Yt.prototype.indexOf_dcv8dt_k$=function(t){var e;t:{for(var r=0,n=this.iterator_jk1svi_k$();n.hasNext_bitz1p_k$();){if(wu(n.next_20eer_k$(),t)){e=r;break t}r=r+1|0}e=-1}return e},Yt.prototype.lastIndexOf_rzx8t5_k$=function(t){var e;t:{for(var r=this.listIterator_5hanv9_k$(this.get_size_woubt6_k$());r.hasPrevious_qh0629_k$();)if(wu(r.previous_l2dfd5_k$(),t)){e=r.nextIndex_jshxun_k$();break t}e=-1}return e},Yt.prototype.listIterator_xjshxw_k$=function(){return new Ut(this,0)},Yt.prototype.listIterator_5hanv9_k$=function(t){return new Ut(this,t)},Yt.prototype.subList_d153ha_k$=function(t,e){return new Bt(this,t,e)},Yt.prototype.equals=function(t){return t===this||!(null==t||!jh(t,Ia))&&Vt().orderedEquals_40uhas_k$(this,t)},Yt.prototype.hashCode=function(){return Vt().orderedHashCode_2n0xp_k$(this)},Yt.$metadata$=vh("AbstractList",[Ia],void 0,void 0,void 0,Lt.prototype),Gt.prototype.equals=function(t){return!(null==t||!jh(t,Ia))&&t.isEmpty_y1axqb_k$()},Gt.prototype.hashCode=function(){return 1},Gt.prototype.toString=function(){return"[]"},Gt.prototype.get_size_woubt6_k$=function(){return 0},Gt.prototype.isEmpty_y1axqb_k$=function(){return!0},Gt.prototype.contains_a7ux40_k$=function(t){return!1},Gt.prototype.contains_2ehdt1_k$=function(t){return!1},Gt.prototype.containsAll_4bfz49_k$=function(t){return t.isEmpty_y1axqb_k$()},Gt.prototype.containsAll_jr3fla_k$=function(t){return this.containsAll_4bfz49_k$(t)},Gt.prototype.get_fkrdnv_k$=function(t){throw Np("Empty list doesn't contain element at index "+t+".")},Gt.prototype.indexOf_31ms1i_k$=function(t){return-1},Gt.prototype.indexOf_dcv8dt_k$=function(t){return-1},Gt.prototype.lastIndexOf_5pkqqc_k$=function(t){return-1},Gt.prototype.lastIndexOf_rzx8t5_k$=function(t){return-1},Gt.prototype.iterator_jk1svi_k$=function(){return Qt()},Gt.prototype.listIterator_xjshxw_k$=function(){return Qt()},Gt.prototype.listIterator_5hanv9_k$=function(t){if(0!==t)throw Np("Index: "+t);return Qt()},Gt.prototype.subList_d153ha_k$=function(t,e){if(0===t&&0===e)return this;throw Np("fromIndex: "+t+", toIndex: "+e)},Gt.$metadata$=Zh("EmptyList",[Ia,F_,N_]),Kt.prototype.hasNext_bitz1p_k$=function(){return!1},Kt.prototype.hasPrevious_qh0629_k$=function(){return!1},Kt.prototype.nextIndex_jshxun_k$=function(){return 0},Kt.prototype.previousIndex_4qtyw5_k$=function(){return-1},Kt.prototype.next_20eer_k$=function(){throw kp()},Kt.prototype.previous_l2dfd5_k$=function(){throw kp()},Kt.$metadata$=Zh("EmptyIterator",[To]),ne.prototype.next_20eer_k$=function(){return this.nextInt_ujorgc_k$()},ne.$metadata$=vh("IntIterator",[qo]),ie.prototype.next_20eer_k$=function(){return this.nextByte_njqopn_k$()},ie.$metadata$=vh("ByteIterator",[qo]),oe.prototype.next_20eer_k$=function(){return this.nextDouble_s2xvfg_k$()},oe.$metadata$=vh("DoubleIterator",[qo]),_e.prototype.next_20eer_k$=function(){return this.nextFloat_jqti5l_k$()},_e.$metadata$=vh("FloatIterator",[qo]),se.prototype.next_31h2mk_k$=function(){return this.nextChar_yv3rl6_k$()},se.prototype.next_20eer_k$=function(){return new wa(this.next_31h2mk_k$())},se.$metadata$=vh("CharIterator",[qo]),ae.prototype.next_20eer_k$=function(){return this.nextLong_njwv0v_k$()},ae.$metadata$=vh("LongIterator",[qo]),ue.prototype.next_20eer_k$=function(){return this.nextShort_jxwabt_k$()},ue.$metadata$=vh("ShortIterator",[qo]),he.prototype.next_20eer_k$=function(){return this.nextBoolean_nfdk1h_k$()},he.$metadata$=vh("BooleanIterator",[qo]),pe.$metadata$=Yh("Sequence"),ce.$metadata$=Yh("ContractBuilder"),fe.$metadata$=vh("InvocationKind",void 0,void 0,void 0,void 0,Oa.prototype),le.prototype.equals=function(t){return t instanceof le&&(t instanceof le||Au(),!0)},le.prototype.hashCode=function(){return 0},le.prototype.toString=function(){return"@kotlin.contracts.ExperimentalContracts()"},le.$metadata$=vh("ExperimentalContracts",[Co]),ye.$metadata$=Yh("CallsInPlace",[ke]),$e.$metadata$=Yh("Returns",[ge]),de.$metadata$=Yh("ReturnsNotNull",[ge]),ke.$metadata$=Yh("Effect"),ge.$metadata$=Yh("SimpleEffect",[ke]),me.$metadata$=Yh("ConditionalEffect",[ke]),ve.$metadata$=Yh("Continuation"),we.prototype.get_context_h02k06_k$=function(){return this.$context_1},we.prototype.resumeWith_s3a3yh_k$=function(t){return this.$resumeWith_1(new cn(t))},we.$metadata$=vh(void 0,[ve]),be.$metadata$=Zh("Key",[Ie]),je.$metadata$=Yh("ContinuationInterceptor",[Ee]),Ie.$metadata$=Yh("Key"),Ee.$metadata$=Yh("Element",[Se]),Se.$metadata$=Yh("CoroutineContext"),Ae.prototype.get_1pi7hg_k$=function(t){return null},Ae.prototype.fold_6dbyow_k$=function(t,e){return t},Ae.prototype.plus_rgw9wi_k$=function(t){return t},Ae.prototype.minusKey_y21q55_k$=function(t){return this},Ae.prototype.hashCode=function(){return 0},Ae.prototype.toString=function(){return"EmptyCoroutineContext"},Ae.$metadata$=Zh("EmptyCoroutineContext",[Se,F_]),Ne.$metadata$=Zh("Companion"),Oe.prototype.get_elements_vxwh8g_k$=function(){return this.elements_1},Oe.$metadata$=vh("Serialized",[F_]),Re.prototype.get_1pi7hg_k$=function(t){for(var e=this;;){var r=e.element_1.get_1pi7hg_k$(t);if(null!=r)return r;var n=e.left_1;if(!(n instanceof Re))return n.get_1pi7hg_k$(t);e=n}},Re.prototype.fold_6dbyow_k$=function(t,e){return e(this.left_1.fold_6dbyow_k$(t,e),this.element_1)},Re.prototype.minusKey_y21q55_k$=function(t){if(null!=this.element_1.get_1pi7hg_k$(t))return this.left_1;var e=this.left_1.minusKey_y21q55_k$(t);return e===this.left_1?this:e===qe()?this.element_1:new Re(e,this.element_1)},Re.prototype.equals=function(t){return this===t||!!(t instanceof Re&&Te(t)===Te(this))&&Pe(t,this)},Re.prototype.hashCode=function(){return mu(this.left_1)+mu(this.element_1)|0},Re.prototype.toString=function(){return"["+this.fold_6dbyow_k$("",Me)+"]"},Re.$metadata$=vh("CombinedContext",[Se,F_]),Le.prototype.tryCast_hqzvw1_k$=function(t){return this.safeCast_1(t)},Le.prototype.isSubKey_5an70z_k$=function(t){return t===this||this.topmostKey_1===t},Le.$metadata$=vh("AbstractCoroutineContextKey",[Ie]),Ue.$metadata$=vh("CoroutineSingletons",void 0,void 0,void 0,void 0,Oa.prototype),Ve.prototype.equals=function(t){return t instanceof Ve&&(t instanceof Ve||Au(),!0)},Ve.prototype.hashCode=function(){return 0},Ve.prototype.toString=function(){return"@kotlin.experimental.ExperimentalTypeInference()"},Ve.$metadata$=vh("ExperimentalTypeInference",[Co]),Ye.prototype.equals=function(t){return t instanceof Ye&&(t instanceof Ye||Au(),!0)},Ye.prototype.hashCode=function(){return 0},Ye.prototype.toString=function(){return"@kotlin.internal.InlineOnly()"},Ye.$metadata$=vh("InlineOnly",[Co]),Ze.prototype.equals=function(t){return t instanceof Ze&&(t instanceof Ze||Au(),!0)},Ze.prototype.hashCode=function(){return 0},Ze.prototype.toString=function(){return"@kotlin.internal.LowPriorityInOverloadResolution()"},Ze.$metadata$=vh("LowPriorityInOverloadResolution",[Co]),We.prototype.equals=function(t){return t instanceof We&&(t instanceof We||Au(),!0)},We.prototype.hashCode=function(){return 0},We.prototype.toString=function(){return"@kotlin.internal.NoInfer()"},We.$metadata$=vh("NoInfer",[Co]),Ge.prototype.equals=function(t){return t instanceof Ge&&(t instanceof Ge||Au(),!0)},Ge.prototype.hashCode=function(){return 0},Ge.prototype.toString=function(){return"@kotlin.internal.DynamicExtension()"},Ge.$metadata$=vh("DynamicExtension",[Co]),He.prototype.equals=function(t){return t instanceof He&&(t instanceof He||Au(),!0)},He.prototype.hashCode=function(){return 0},He.prototype.toString=function(){return"@kotlin.internal.ContractsDsl()"},He.$metadata$=vh("ContractsDsl",[Co]),Ke.prototype.equals=function(t){return t instanceof Ke&&(t instanceof Ke||Au(),!0)},Ke.prototype.hashCode=function(){return 0},Ke.prototype.toString=function(){return"@kotlin.internal.OnlyInputTypes()"},Ke.$metadata$=vh("OnlyInputTypes",[Co]),ir.$metadata$=Zh("Serialized",[F_]),or.prototype.nextBits_30zi6g_k$=function(t){return this.defaultRandom_1.nextBits_30zi6g_k$(t)},or.prototype.nextInt_ujorgc_k$=function(){return this.defaultRandom_1.nextInt_ujorgc_k$()},or.prototype.nextInt_8t3gcb_k$=function(t){return this.defaultRandom_1.nextInt_8t3gcb_k$(t)},or.prototype.nextInt_6ppfmk_k$=function(t,e){return this.defaultRandom_1.nextInt_6ppfmk_k$(t,e)},or.prototype.nextLong_njwv0v_k$=function(){return this.defaultRandom_1.nextLong_njwv0v_k$()},or.prototype.nextLong_gpvfev_k$=function(t){return this.defaultRandom_1.nextLong_gpvfev_k$(t)},or.prototype.nextLong_8yy44j_k$=function(t,e){return this.defaultRandom_1.nextLong_8yy44j_k$(t,e)},or.prototype.nextBoolean_nfdk1h_k$=function(){return this.defaultRandom_1.nextBoolean_nfdk1h_k$()},or.prototype.nextDouble_s2xvfg_k$=function(){return this.defaultRandom_1.nextDouble_s2xvfg_k$()},or.prototype.nextDouble_b5661v_k$=function(t){return this.defaultRandom_1.nextDouble_b5661v_k$(t)},or.prototype.nextDouble_2cs2ou_k$=function(t,e){return this.defaultRandom_1.nextDouble_2cs2ou_k$(t,e)},or.prototype.nextFloat_jqti5l_k$=function(){return this.defaultRandom_1.nextFloat_jqti5l_k$()},or.prototype.nextBytes_7yvat1_k$=function(t){return this.defaultRandom_1.nextBytes_7yvat1_k$(t)},or.prototype.nextBytes_oxmcdz_k$=function(t){return this.defaultRandom_1.nextBytes_oxmcdz_k$(t)},or.prototype.nextBytes_zhahm3_k$=function(t,e,r){return this.defaultRandom_1.nextBytes_zhahm3_k$(t,e,r)},or.$metadata$=Zh("Default",[F_],void 0,void 0,void 0,sr.prototype),sr.prototype.nextInt_ujorgc_k$=function(){return this.nextBits_30zi6g_k$(32)},sr.prototype.nextInt_8t3gcb_k$=function(t){return this.nextInt_6ppfmk_k$(0,t)},sr.prototype.nextInt_6ppfmk_k$=function(t,e){ar(t,e);var r=e-t|0;if(r>0||r===n_().MIN_VALUE_1){var n;if((r&(0|-r))===r){var i=ur(r);n=this.nextBits_30zi6g_k$(i)}else{var o;do{var _=this.nextInt_ujorgc_k$()>>>1|0;o=_%r|0}while(((_-o|0)+(r-1|0)|0)<0);n=o}return t+n|0}for(;;){var s=this.nextInt_ujorgc_k$();if(t<=s&&s0){var n;if(r.and_jhajnj_k$(r.unaryMinus_6uz0qp_k$()).equals(r)){var i,o=r.toInt_1tsl84_k$(),_=r.ushr_rr8rvr_k$(32).toInt_1tsl84_k$();if(0!==o){var s=ur(o);i=mh(this.nextBits_30zi6g_k$(s)).and_jhajnj_k$(new Ou(-1,0))}else if(1===_)i=mh(this.nextInt_ujorgc_k$()).and_jhajnj_k$(new Ou(-1,0));else{var a=ur(_);i=mh(this.nextBits_30zi6g_k$(a)).shl_po5ip6_k$(32).plus_u6jwas_k$(mh(this.nextInt_ujorgc_k$()).and_jhajnj_k$(new Ou(-1,0)))}n=i}else{var u;do{var h=this.nextLong_njwv0v_k$().ushr_rr8rvr_k$(1);u=h.rem_9rbcjo_k$(r);var p,c=h.minus_llf5ei_k$(u);p=r.minus_llf5ei_k$(new Ou(1,0))}while(c.plus_u6jwas_k$(p).compareTo_n4fqi2_k$(new Ou(0,0))<0);n=u}return t.plus_u6jwas_k$(n)}for(;;){var f=this.nextLong_njwv0v_k$();if(t.compareTo_n4fqi2_k$(f)<=0&&f.compareTo_n4fqi2_k$(e)<0)return f}},sr.prototype.nextBoolean_nfdk1h_k$=function(){return!(0===this.nextBits_30zi6g_k$(1))},sr.prototype.nextDouble_s2xvfg_k$=function(){return K_(this.nextBits_30zi6g_k$(26),this.nextBits_30zi6g_k$(27))},sr.prototype.nextDouble_b5661v_k$=function(t){return this.nextDouble_2cs2ou_k$(0,t)},sr.prototype.nextDouble_2cs2ou_k$=function(t,e){pr(t,e);var r,n=e-t;if(Z_(n)&&W_(t)&&W_(e)){var i=this.nextDouble_s2xvfg_k$()*(e/2-t/2);r=t+i+i}else r=t+this.nextDouble_s2xvfg_k$()*n;var o=r;return o>=e?V_(e):o},sr.prototype.nextFloat_jqti5l_k$=function(){return this.nextBits_30zi6g_k$(24)/16777216},sr.prototype.nextBytes_zhahm3_k$=function(t,e,r){if(!(0<=e&&e<=t.length&&0<=r&&r<=t.length))throw hp(gu("fromIndex ("+e+") or toIndex ("+r+") are out of range: 0.."+t.length+"."));if(!(e<=r))throw hp(gu("fromIndex ("+e+") must be not greater than toIndex ("+r+")."));var n=(r-e|0)/4|0,i=e,o=0;if(o>>8|0),t[i+2|0]=lh(_>>>16|0),t[i+3|0]=lh(_>>>24|0),i=i+4|0}while(o>>ut(h,8)|0)}while(u>>2|0,this.x_1=this.y_1,this.y_1=this.z_1,this.z_1=this.w_1;var e=this.v_1;this.w_1=e,t=t^t<<1^e^e<<4,this.v_1=t;var r=this;return r.addend_1=r.addend_1+362437|0,t+this.addend_1|0},gr.prototype.nextBits_30zi6g_k$=function(t){return lr(this.nextInt_ujorgc_k$(),t)},gr.$metadata$=vh("XorWowRandom",[F_],void 0,void 0,void 0,sr.prototype),mr.prototype.get_EMPTY_i8q41w_k$=function(){return this.EMPTY_1},mr.$metadata$=Zh("Companion"),wr.prototype.get_start_iypx6h_k$=function(){return this.first_1},wr.prototype.get_endInclusive_r07xpi_k$=function(){return this.last_1},wr.prototype.get_endExclusive_pmwm6k_k$=function(){if(this.last_1===n_().MAX_VALUE_1)throw yp("Cannot return the exclusive upper bound of a range that includes MAX_VALUE.");return this.last_1+1|0},wr.prototype.contains_1pg60y_k$=function(t){return this.first_1<=t&&t<=this.last_1},wr.prototype.contains_2ehdtg_k$=function(t){return this.contains_1pg60y_k$("number"===typeof t?t:Au())},wr.prototype.isEmpty_y1axqb_k$=function(){return this.first_1>this.last_1},wr.prototype.equals=function(t){return t instanceof wr&&(!(!this.isEmpty_y1axqb_k$()||!t.isEmpty_y1axqb_k$())||this.first_1===t.first_1&&this.last_1===t.last_1)},wr.prototype.hashCode=function(){return this.isEmpty_y1axqb_k$()?-1:ut(31,this.first_1)+this.last_1|0},wr.prototype.toString=function(){return this.first_1+".."+this.last_1},wr.$metadata$=vh("IntRange",[Br,Fr],void 0,void 0,void 0,Tr.prototype),br.prototype.get_EMPTY_i8q41w_k$=function(){return this.EMPTY_1},br.$metadata$=Zh("Companion"),jr.prototype.get_start_qj1pkq_k$=function(){return this.first_1},jr.prototype.get_start_iypx6h_k$=function(){return new wa(this.get_start_qj1pkq_k$())},jr.prototype.get_endInclusive_oogq1x_k$=function(){return this.last_1},jr.prototype.get_endInclusive_r07xpi_k$=function(){return new wa(this.get_endInclusive_oogq1x_k$())},jr.prototype.get_endExclusive_umcki5_k$=function(){var t=new wa(this.last_1);if(va(),wu(t,new wa(ha(65535))))throw yp("Cannot return the exclusive upper bound of a range that includes MAX_VALUE.");return ya(this.last_1,1)},jr.prototype.get_endExclusive_pmwm6k_k$=function(){return new wa(this.get_endExclusive_umcki5_k$())},jr.prototype.contains_i4atwd_k$=function(t){return fa(this.first_1,t)<=0&&fa(t,this.last_1)<=0},jr.prototype.contains_2ehdtg_k$=function(t){return this.contains_i4atwd_k$(t instanceof wa?t.value_1:Au())},jr.prototype.isEmpty_y1axqb_k$=function(){return fa(this.first_1,this.last_1)>0},jr.prototype.equals=function(t){return t instanceof jr&&(!(!this.isEmpty_y1axqb_k$()||!t.isEmpty_y1axqb_k$())||!!wu(new wa(this.first_1),new wa(t.first_1))&&wu(new wa(this.last_1),new wa(t.last_1)))},jr.prototype.hashCode=function(){var t,e;return this.isEmpty_y1axqb_k$()?t=-1:(e=$a(this.first_1),t=ut(31,e)+$a(this.last_1)|0),t},jr.prototype.toString=function(){return new wa(this.first_1)+".."+new wa(this.last_1)},jr.$metadata$=vh("CharRange",[Br,Fr],void 0,void 0,void 0,Or.prototype),Ir.prototype.get_EMPTY_i8q41w_k$=function(){return this.EMPTY_1},Ir.$metadata$=Zh("Companion"),Cr.prototype.get_start_iypx6h_k$=function(){return this.first_1},Cr.prototype.get_endInclusive_r07xpi_k$=function(){return this.last_1},Cr.prototype.get_endExclusive_pmwm6k_k$=function(){if(Pu(),this.last_1.equals(new Ou(-1,2147483647)))throw yp("Cannot return the exclusive upper bound of a range that includes MAX_VALUE.");return this.last_1.plus_u6jwas_k$(new Ou(1,0))},Cr.prototype.contains_i44xiv_k$=function(t){return this.first_1.compareTo_n4fqi2_k$(t)<=0&&t.compareTo_n4fqi2_k$(this.last_1)<=0},Cr.prototype.contains_2ehdtg_k$=function(t){return this.contains_i44xiv_k$(t instanceof Ou?t:Au())},Cr.prototype.isEmpty_y1axqb_k$=function(){return this.first_1.compareTo_n4fqi2_k$(this.last_1)>0},Cr.prototype.equals=function(t){return t instanceof Cr&&(!(!this.isEmpty_y1axqb_k$()||!t.isEmpty_y1axqb_k$())||!!this.first_1.equals(t.first_1)&&this.last_1.equals(t.last_1))},Cr.prototype.hashCode=function(){return this.isEmpty_y1axqb_k$()?-1:kh(31).times_2zfqpc_k$(this.first_1.xor_jjua9n_k$(this.first_1.ushr_rr8rvr_k$(32))).plus_u6jwas_k$(this.last_1.xor_jjua9n_k$(this.last_1.ushr_rr8rvr_k$(32))).toInt_1tsl84_k$()},Cr.prototype.toString=function(){return gu(this.first_1)+".."+gu(this.last_1)},Cr.$metadata$=vh("LongRange",[Br,Fr],void 0,void 0,void 0,Lr.prototype),Sr.prototype.get_step_woujh1_k$=function(){return this.step_1},Sr.prototype.hasNext_bitz1p_k$=function(){return this.hasNext_1},Sr.prototype.nextInt_ujorgc_k$=function(){var t=this.next_1;if(t===this.finalElement_1){if(!this.hasNext_1)throw kp();this.hasNext_1=!1}else{var e=this;e.next_1=e.next_1+this.step_1|0}return t},Sr.$metadata$=vh("IntProgressionIterator",void 0,void 0,void 0,void 0,ne.prototype),Ar.prototype.get_step_woujh1_k$=function(){return this.step_1},Ar.prototype.hasNext_bitz1p_k$=function(){return this.hasNext_1},Ar.prototype.nextChar_yv3rl6_k$=function(){var t=this.next_1;if(t===this.finalElement_1){if(!this.hasNext_1)throw kp();this.hasNext_1=!1}else{var e=this;e.next_1=e.next_1+this.step_1|0}return gh(t)},Ar.$metadata$=vh("CharProgressionIterator",void 0,void 0,void 0,void 0,se.prototype),qr.prototype.get_step_woujh1_k$=function(){return this.step_1},qr.prototype.hasNext_bitz1p_k$=function(){return this.hasNext_1},qr.prototype.nextLong_njwv0v_k$=function(){var t=this.next_1;if(t.equals(this.finalElement_1)){if(!this.hasNext_1)throw kp();this.hasNext_1=!1}else{var e=this;e.next_1=e.next_1.plus_u6jwas_k$(this.step_1)}return t},qr.$metadata$=vh("LongProgressionIterator",void 0,void 0,void 0,void 0,ae.prototype),Nr.prototype.fromClosedRange_vhxzyy_k$=function(t,e,r){return new Tr(t,e,r)},Nr.$metadata$=Zh("Companion"),Tr.prototype.get_first_irdx8n_k$=function(){return this.first_1},Tr.prototype.get_last_wopotb_k$=function(){return this.last_1},Tr.prototype.get_step_woujh1_k$=function(){return this.step_1},Tr.prototype.iterator_jk1svi_k$=function(){return new Sr(this.first_1,this.last_1,this.step_1)},Tr.prototype.isEmpty_y1axqb_k$=function(){return this.step_1>0?this.first_1>this.last_1:this.first_10?this.first_1+".."+this.last_1+" step "+this.step_1:this.first_1+" downTo "+this.last_1+" step "+(0|-this.step_1)},Tr.$metadata$=vh("IntProgression",[ba]),zr.prototype.fromClosedRange_kxji4u_k$=function(t,e,r){return new Or(t,e,r)},zr.$metadata$=Zh("Companion"),Or.prototype.get_first_en5qmg_k$=function(){return this.first_1},Or.prototype.get_last_rp1s9s_k$=function(){return this.last_1},Or.prototype.get_step_woujh1_k$=function(){return this.step_1},Or.prototype.iterator_jk1svi_k$=function(){return new Ar(this.first_1,this.last_1,this.step_1)},Or.prototype.isEmpty_y1axqb_k$=function(){return this.step_1>0?fa(this.first_1,this.last_1)>0:fa(this.first_1,this.last_1)<0},Or.prototype.equals=function(t){return t instanceof Or&&(!(!this.isEmpty_y1axqb_k$()||!t.isEmpty_y1axqb_k$())||!(!wu(new wa(this.first_1),new wa(t.first_1))||!wu(new wa(this.last_1),new wa(t.last_1)))&&this.step_1===t.step_1)},Or.prototype.hashCode=function(){var t;if(this.isEmpty_y1axqb_k$())t=-1;else{var e;e=$a(this.first_1);var r,n=ut(31,e);r=$a(this.last_1),t=ut(31,n+r|0)+this.step_1|0}return t},Or.prototype.toString=function(){return this.step_1>0?new wa(this.first_1)+".."+new wa(this.last_1)+" step "+this.step_1:new wa(this.first_1)+" downTo "+new wa(this.last_1)+" step "+(0|-this.step_1)},Or.$metadata$=vh("CharProgression",[ba]),Mr.prototype.fromClosedRange_5n0x23_k$=function(t,e,r){return new Lr(t,e,r)},Mr.$metadata$=Zh("Companion"),Lr.prototype.get_first_irdx8n_k$=function(){return this.first_1},Lr.prototype.get_last_wopotb_k$=function(){return this.last_1},Lr.prototype.get_step_woujh1_k$=function(){return this.step_1},Lr.prototype.iterator_jk1svi_k$=function(){return new qr(this.first_1,this.last_1,this.step_1)},Lr.prototype.isEmpty_y1axqb_k$=function(){return this.step_1.compareTo_n4fqi2_k$(new Ou(0,0))>0?this.first_1.compareTo_n4fqi2_k$(this.last_1)>0:this.first_1.compareTo_n4fqi2_k$(this.last_1)<0},Lr.prototype.equals=function(t){return t instanceof Lr&&(!(!this.isEmpty_y1axqb_k$()||!t.isEmpty_y1axqb_k$())||!(!this.first_1.equals(t.first_1)||!this.last_1.equals(t.last_1))&&this.step_1.equals(t.step_1))},Lr.prototype.hashCode=function(){return this.isEmpty_y1axqb_k$()?-1:kh(31).times_2zfqpc_k$(kh(31).times_2zfqpc_k$(this.first_1.xor_jjua9n_k$(this.first_1.ushr_rr8rvr_k$(32))).plus_u6jwas_k$(this.last_1.xor_jjua9n_k$(this.last_1.ushr_rr8rvr_k$(32)))).plus_u6jwas_k$(this.step_1.xor_jjua9n_k$(this.step_1.ushr_rr8rvr_k$(32))).toInt_1tsl84_k$()},Lr.prototype.toString=function(){return this.step_1.compareTo_n4fqi2_k$(new Ou(0,0))>0?gu(this.first_1)+".."+gu(this.last_1)+" step "+gu(this.step_1):gu(this.first_1)+" downTo "+gu(this.last_1)+" step "+gu(this.step_1.unaryMinus_6uz0qp_k$())},Lr.$metadata$=vh("LongProgression",[ba]),Br.$metadata$=Yh("ClosedRange"),Fr.$metadata$=Yh("OpenEndRange"),Ur.$metadata$=Yh("KClassifier"),Dr.$metadata$=Yh("KTypeParameter",[Ur]),Vr.prototype.get_star_woujdn_k$=function(){return this.star_1},Vr.prototype.get_STAR_wo9fa3_k$=function(){return this.star_1},Vr.prototype.invariant_d1std2_k$=function(t){return new Zr(Hr(),t)},Vr.prototype.contravariant_lnygde_k$=function(t){return new Zr(Kr(),t)},Vr.prototype.covariant_ne14kt_k$=function(t){return new Zr(Qr(),t)},Vr.$metadata$=Zh("Companion"),Zr.prototype.get_variance_ik7ku2_k$=function(){return this.variance_1},Zr.prototype.get_type_wovaf7_k$=function(){return this.type_1},Zr.prototype.toString=function(){var t,e=this.variance_1;switch(null==e?-1:e.ordinal_1){case-1:t="*";break;case 0:t=Ma(this.type_1);break;case 1:t="in "+this.type_1;break;case 2:t="out "+this.type_1;break;default:Su()}return t},Zr.prototype.component1_7eebsc_k$=function(){return this.variance_1},Zr.prototype.component2_7eebsb_k$=function(){return this.type_1},Zr.prototype.copy_luz5xs_k$=function(t,e){return new Zr(t,e)},Zr.prototype.copy$default_yujqmj_k$=function(t,e,r,n){return 0!==(1&r)&&(t=this.variance_1),0!==(2&r)&&(e=this.type_1),this.copy_luz5xs_k$(t,e)},Zr.prototype.hashCode=function(){var t=null==this.variance_1?0:this.variance_1.hashCode();return t=ut(t,31)+(null==this.type_1?0:mu(this.type_1))|0},Zr.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Zr))return!1;var e=t instanceof Zr?t:Au();return!!wu(this.variance_1,e.variance_1)&&!!wu(this.type_1,e.type_1)},Zr.$metadata$=vh("KTypeProjection"),Gr.$metadata$=vh("KVariance",void 0,void 0,void 0,void 0,Oa.prototype),sn.prototype.success_5n1c7s_k$=function(t){return en(t)},sn.prototype.failure_tk7s8q_k$=function(t){return en(fn(t))},sn.$metadata$=Zh("Companion"),un.prototype.get_exception_x0n6w6_k$=function(){return this.exception_1},un.prototype.equals=function(t){return t instanceof un&&wu(this.exception_1,t.exception_1)},un.prototype.hashCode=function(){return mu(this.exception_1)},un.prototype.toString=function(){return"Failure("+this.exception_1+")"},un.$metadata$=vh("Failure",[F_]),cn.prototype.toString=function(){return _n(this.value_1)},cn.prototype.hashCode=function(){return hn(this.value_1)},cn.prototype.equals=function(t){return pn(this.value_1,t)},cn.$metadata$=vh("Result",[F_]),dn.$metadata$=vh("NotImplementedError",void 0,void 0,void 0,void 0,ap.prototype),mn.prototype.get_MIN_VALUE_p0dmjb_k$=function(){return this.MIN_VALUE_1},mn.prototype.get_MAX_VALUE_4mpz45_k$=function(){return this.MAX_VALUE_1},mn.prototype.get_SIZE_BYTES_qphg4q_k$=function(){return this.SIZE_BYTES_1},mn.prototype.get_SIZE_BITS_7qhjj9_k$=function(){return this.SIZE_BITS_1},mn.$metadata$=Zh("Companion"),En.prototype.compareTo_6mkx9r_k$=function(t){return wn(this.data_1,t)},En.prototype.compareTo_6thzaj_k$=function(t){return bn(this,t)},En.prototype.toString=function(){return xn(this.data_1)},En.prototype.hashCode=function(){return jn(this.data_1)},En.prototype.equals=function(t){return In(this.data_1,t)},En.$metadata$=vh("UByte",[Ao]),qn.prototype.hasNext_bitz1p_k$=function(){return this.index_10},ci.prototype.equals=function(t){return t instanceof ci&&(!(!this.isEmpty_y1axqb_k$()||!t.isEmpty_y1axqb_k$())||this.first_1===t.first_1&&this.last_1===t.last_1)},ci.prototype.hashCode=function(){var t,e;return this.isEmpty_y1axqb_k$()?t=-1:(e=Fn(this.first_1),t=ut(31,e)+Fn(this.last_1)|0),t},ci.prototype.toString=function(){return new Hn(this.first_1)+".."+new Hn(this.last_1)},ci.$metadata$=vh("UIntRange",[Br,Fr],void 0,void 0,void 0,yi.prototype),fi.prototype.fromClosedRange_nl90ve_k$=function(t,e,r){return new yi(t,e,r)},fi.$metadata$=Zh("Companion"),yi.prototype.get_first_englpo_k$=function(){return this.first_1},yi.prototype.get_last_rpcnd0_k$=function(){return this.last_1},yi.prototype.get_step_woujh1_k$=function(){return this.step_1},yi.prototype.iterator_jk1svi_k$=function(){return new $i(this.first_1,this.last_1,this.step_1)},yi.prototype.isEmpty_y1axqb_k$=function(){var t;if(this.step_1>0){var e=this.first_1,r=this.last_1;t=vo(Fn(e),Fn(r))>0}else{var n=this.first_1,i=this.last_1;t=vo(Fn(n),Fn(i))<0}return t},yi.prototype.equals=function(t){return t instanceof yi&&(!(!this.isEmpty_y1axqb_k$()||!t.isEmpty_y1axqb_k$())||this.first_1===t.first_1&&this.last_1===t.last_1&&this.step_1===t.step_1)},yi.prototype.hashCode=function(){var t;if(this.isEmpty_y1axqb_k$())t=-1;else{var e;e=Fn(this.first_1);var r,n=ut(31,e);r=Fn(this.last_1),t=ut(31,n+r|0)+this.step_1|0}return t},yi.prototype.toString=function(){return this.step_1>0?new Hn(this.first_1)+".."+new Hn(this.last_1)+" step "+this.step_1:new Hn(this.first_1)+" downTo "+new Hn(this.last_1)+" step "+(0|-this.step_1)},yi.$metadata$=vh("UIntProgression",[ba]),$i.prototype.hasNext_bitz1p_k$=function(){return this.hasNext_1},$i.prototype.next_3167jc_k$=function(){var t=this.next_1;if(t===this.finalElement_1){if(!this.hasNext_1)throw kp();this.hasNext_1=!1}else{var e,r=this,n=r,i=r.next_1,o=this.step_1;e=Bn(Fn(i)+Fn(o)|0),n.next_1=e}return t},$i.prototype.next_20eer_k$=function(){return new Hn(this.next_3167jc_k$())},$i.$metadata$=vh("UIntProgressionIterator",[qo]),gi.prototype.get_MIN_VALUE_p0jsuj_k$=function(){return this.MIN_VALUE_1},gi.prototype.get_MAX_VALUE_4mw5fd_k$=function(){return this.MAX_VALUE_1},gi.prototype.get_SIZE_BYTES_qphg4q_k$=function(){return this.SIZE_BYTES_1},gi.prototype.get_SIZE_BITS_7qhjj9_k$=function(){return this.SIZE_BITS_1},gi.$metadata$=Zh("Companion"),Ii.prototype.compareTo_6mr3kz_k$=function(t){return vi(this.data_1,t)},Ii.prototype.compareTo_6thzaj_k$=function(t){return wi(this,t)},Ii.prototype.toString=function(){return bi(this.data_1)},Ii.prototype.hashCode=function(){return xi(this.data_1)},Ii.prototype.equals=function(t){return ji(this.data_1,t)},Ii.$metadata$=vh("ULong",[Ao]),Ai.prototype.hasNext_bitz1p_k$=function(){return this.index_10},Fi.prototype.equals=function(t){return t instanceof Fi&&(!(!this.isEmpty_y1axqb_k$()||!t.isEmpty_y1axqb_k$())||!!wu(this.first_1,t.first_1)&&wu(this.last_1,t.last_1))},Fi.prototype.hashCode=function(){var t;if(this.isEmpty_y1axqb_k$())t=-1;else{var e,r,n=this.first_1,i=di(ki(this.first_1).ushr_rr8rvr_k$(32));r=di(ki(n).xor_jjua9n_k$(ki(i))),e=ki(r).toInt_1tsl84_k$();var o,_=ut(31,e),s=this.last_1,a=di(ki(this.last_1).ushr_rr8rvr_k$(32));o=di(ki(s).xor_jjua9n_k$(ki(a))),t=_+ki(o).toInt_1tsl84_k$()|0}return t},Fi.prototype.toString=function(){return new Ii(this.first_1)+".."+new Ii(this.last_1)},Fi.$metadata$=vh("ULongRange",[Br,Fr],void 0,void 0,void 0,Vi.prototype),Ui.prototype.fromClosedRange_wj18r3_k$=function(t,e,r){return new Vi(t,e,r)},Ui.$metadata$=Zh("Companion"),Vi.prototype.get_first_s0oavz_k$=function(){return this.first_1},Vi.prototype.get_last_6gle4n_k$=function(){return this.last_1},Vi.prototype.get_step_woujh1_k$=function(){return this.step_1},Vi.prototype.iterator_jk1svi_k$=function(){return new Yi(this.first_1,this.last_1,this.step_1)},Vi.prototype.isEmpty_y1axqb_k$=function(){var t;if(this.step_1.compareTo_n4fqi2_k$(new Ou(0,0))>0){var e=this.first_1,r=this.last_1;t=bo(ki(e),ki(r))>0}else{var n=this.first_1,i=this.last_1;t=bo(ki(n),ki(i))<0}return t},Vi.prototype.equals=function(t){return t instanceof Vi&&(!(!this.isEmpty_y1axqb_k$()||!t.isEmpty_y1axqb_k$())||!(!wu(this.first_1,t.first_1)||!wu(this.last_1,t.last_1))&&this.step_1.equals(t.step_1))},Vi.prototype.hashCode=function(){var t;if(this.isEmpty_y1axqb_k$())t=-1;else{var e,r,n=this.first_1,i=di(ki(this.first_1).ushr_rr8rvr_k$(32));r=di(ki(n).xor_jjua9n_k$(ki(i))),e=ki(r).toInt_1tsl84_k$();var o,_,s=ut(31,e),a=this.last_1,u=di(ki(this.last_1).ushr_rr8rvr_k$(32));_=di(ki(a).xor_jjua9n_k$(ki(u))),o=ki(_).toInt_1tsl84_k$(),t=ut(31,s+o|0)+this.step_1.xor_jjua9n_k$(this.step_1.ushr_rr8rvr_k$(32)).toInt_1tsl84_k$()|0}return t},Vi.prototype.toString=function(){return this.step_1.compareTo_n4fqi2_k$(new Ou(0,0))>0?new Ii(this.first_1)+".."+new Ii(this.last_1)+" step "+gu(this.step_1):new Ii(this.first_1)+" downTo "+new Ii(this.last_1)+" step "+gu(this.step_1.unaryMinus_6uz0qp_k$())},Vi.$metadata$=vh("ULongProgression",[ba]),Yi.prototype.hasNext_bitz1p_k$=function(){return this.hasNext_1},Yi.prototype.next_mz6i19_k$=function(){var t=this.next_1;if(wu(t,this.finalElement_1)){if(!this.hasNext_1)throw kp();this.hasNext_1=!1}else{var e,r=this,n=r,i=r.next_1,o=this.step_1;e=di(ki(i).plus_u6jwas_k$(ki(o))),n.next_1=e}return t},Yi.prototype.next_20eer_k$=function(){return new Ii(this.next_mz6i19_k$())},Yi.$metadata$=vh("ULongProgressionIterator",[qo]),Ji.prototype.get_MIN_VALUE_5rgn3n_k$=function(){return this.MIN_VALUE_1},Ji.prototype.get_MAX_VALUE_1r6om7_k$=function(){return this.MAX_VALUE_1},Ji.prototype.get_SIZE_BYTES_qphg4q_k$=function(){return this.SIZE_BYTES_1},Ji.prototype.get_SIZE_BITS_7qhjj9_k$=function(){return this.SIZE_BITS_1},Ji.$metadata$=Zh("Companion"),_o.prototype.compareTo_7e9yiz_k$=function(t){return eo(this.data_1,t)},_o.prototype.compareTo_6thzaj_k$=function(t){return ro(this,t)},_o.prototype.toString=function(){return no(this.data_1)},_o.prototype.hashCode=function(){return io(this.data_1)},_o.prototype.equals=function(t){return oo(this.data_1,t)},_o.$metadata$=vh("UShort",[Ao]),ho.prototype.hasNext_bitz1p_k$=function(){return this.index_10},w_.prototype.nextIndex_jshxun_k$=function(){return this.index_1},w_.prototype.previous_l2dfd5_k$=function(){if(!this.hasPrevious_qh0629_k$())throw kp();var t=this,e=this;return e.index_1=e.index_1-1|0,t.last_1=e.index_1,this.$this_2.get_fkrdnv_k$(this.last_1)},w_.prototype.previousIndex_4qtyw5_k$=function(){return this.index_1-1|0},w_.prototype.add_8zjh9m_k$=function(t){this.$this_2.add_ydlf05_k$(this.index_1,t);var e=this,r=e.index_1;e.index_1=r+1|0,this.last_1=-1},w_.prototype.add_sf7wgr_k$=function(t){return this.add_8zjh9m_k$(null==t||zh(t)?t:Au())},w_.prototype.set_y85lex_k$=function(t){if(-1===this.last_1)throw yp(gu("Call next() or previous() before updating element value with the iterator."));this.$this_2.set_meu351_k$(this.last_1,t)},w_.prototype.set_hda1d2_k$=function(t){return this.set_y85lex_k$(null==t||zh(t)?t:Au())},w_.$metadata$=vh("ListIteratorImpl",[Xo],void 0,void 0,void 0,v_.prototype),b_.prototype.add_ydlf05_k$=function(t,e){Vt().checkPositionIndex_kxpgsw_k$(t,this._size_1),this.list_1.add_ydlf05_k$(this.fromIndex_1+t|0,e);var r=this,n=r._size_1;r._size_1=n+1|0},b_.prototype.get_fkrdnv_k$=function(t){return Vt().checkElementIndex_ux0wz1_k$(t,this._size_1),this.list_1.get_fkrdnv_k$(this.fromIndex_1+t|0)},b_.prototype.removeAt_qvpkxi_k$=function(t){Vt().checkElementIndex_ux0wz1_k$(t,this._size_1);var e=this.list_1.removeAt_qvpkxi_k$(this.fromIndex_1+t|0),r=this,n=r._size_1;return r._size_1=n-1|0,e},b_.prototype.set_meu351_k$=function(t,e){return Vt().checkElementIndex_ux0wz1_k$(t,this._size_1),this.list_1.set_meu351_k$(this.fromIndex_1+t|0,e)},b_.prototype.get_size_woubt6_k$=function(){return this._size_1},b_.prototype.checkIsMutable_h4zzmr_k$=function(){return this.list_1.checkIsMutable_h4zzmr_k$()},b_.$metadata$=vh("SubList",[N_],void 0,void 0,void 0,I_.prototype),I_.prototype.set_modCount_ro74zq_k$=function(t){this.modCount_1=t},I_.prototype.get_modCount_sgzjli_k$=function(){return this.modCount_1},I_.prototype.add_1j60pz_k$=function(t){return this.checkIsMutable_h4zzmr_k$(),this.add_ydlf05_k$(this.get_size_woubt6_k$(),t),!0},I_.prototype.addAll_ikuqlt_k$=function(t,e){Vt().checkPositionIndex_kxpgsw_k$(t,this.get_size_woubt6_k$()),this.checkIsMutable_h4zzmr_k$();for(var r=t,n=!1,i=e.iterator_jk1svi_k$();i.hasNext_bitz1p_k$();){var o=i.next_20eer_k$(),_=r;r=_+1|0,this.add_ydlf05_k$(_,o),n=!0}return n},I_.prototype.clear_j9y8zo_k$=function(){this.checkIsMutable_h4zzmr_k$(),this.removeRange_rbwdy0_k$(0,this.get_size_woubt6_k$())},I_.prototype.removeAll_99to5v_k$=function(t){return this.checkIsMutable_h4zzmr_k$(),Jt(this,x_(t))},I_.prototype.retainAll_j44sd0_k$=function(t){return this.checkIsMutable_h4zzmr_k$(),Jt(this,j_(t))},I_.prototype.iterator_jk1svi_k$=function(){return new v_(this)},I_.prototype.contains_2ehdt1_k$=function(t){return this.indexOf_dcv8dt_k$(t)>=0},I_.prototype.indexOf_dcv8dt_k$=function(t){var e=0,r=Zt(this);if(e<=r)do{var n=e;if(e=e+1|0,wu(this.get_fkrdnv_k$(n),t))return n}while(n!==r);return-1},I_.prototype.lastIndexOf_rzx8t5_k$=function(t){var e=Zt(this);if(0<=e)do{var r=e;if(e=e+-1|0,wu(this.get_fkrdnv_k$(r),t))return r}while(0<=e);return-1},I_.prototype.listIterator_xjshxw_k$=function(){return this.listIterator_5hanv9_k$(0)},I_.prototype.listIterator_5hanv9_k$=function(t){return new w_(this,t)},I_.prototype.subList_d153ha_k$=function(t,e){return new b_(this,t,e)},I_.prototype.removeRange_rbwdy0_k$=function(t,e){var r=this.listIterator_5hanv9_k$(t),n=e-t|0,i=0;if(ithis.get_size_woubt6_k$()&&(t[this.get_size_woubt6_k$()]=null),t},q_.prototype.toArray_jjyjqa_k$=function(){return[].slice.call(this.array_1)},q_.prototype.toArray=function(){return this.toArray_jjyjqa_k$()},q_.prototype.checkIsMutable_h4zzmr_k$=function(){if(this.isReadOnly_1)throw Ep()},q_.$metadata$=vh("ArrayList",[xa,N_],void 0,void 0,void 0,I_.prototype),N_.$metadata$=Yh("RandomAccess"),T_.prototype.println_uuzh5q_k$=function(){this.print_o29p2b_k$("\n")},T_.prototype.println_gh3jfj_k$=function(t){this.print_o29p2b_k$(t),this.println_uuzh5q_k$()},T_.prototype.flush_sgqoqb_k$=function(){},T_.$metadata$=vh("BaseOutput"),z_.prototype.get_outputStream_2dy5nu_k$=function(){return this.outputStream_1},z_.prototype.print_o29p2b_k$=function(t){var e=String(t);this.outputStream_1.write(e)},z_.$metadata$=vh("NodeJsOutput",void 0,void 0,void 0,void 0,T_.prototype),P_.prototype.print_o29p2b_k$=function(t){var e=String(t),r=e.lastIndexOf("\n",0);if(r>=0){var n,i=this,o=i,_=i.buffer_1;n=e.substring(0,r),o.buffer_1=_+n,this.flush_sgqoqb_k$();var s=r+1|0;e=e.substring(s)}var a=this;a.buffer_1=a.buffer_1+e},P_.prototype.flush_sgqoqb_k$=function(){console.log(this.buffer_1),this.buffer_1=""},P_.$metadata$=vh("BufferedOutputToConsoleLog",void 0,void 0,void 0,void 0,O_.prototype),O_.prototype.set_buffer_j8vbf9_k$=function(t){this.buffer_1=t},O_.prototype.get_buffer_bmaafd_k$=function(){return this.buffer_1},O_.prototype.print_o29p2b_k$=function(t){var e,r=this,n=r,i=r.buffer_1;e=String(t),n.buffer_1=i+e},O_.prototype.flush_sgqoqb_k$=function(){this.buffer_1=""},O_.$metadata$=vh("BufferedOutput",void 0,void 0,void 0,void 0,T_.prototype),L_.prototype.get_context_h02k06_k$=function(){return this.$tmp0_Continuation_1},L_.prototype.resumeWith_7onugl_k$=function(t){ln(t);var e=rn(t);return null==e||zh(e)||Au(),Zo()},L_.prototype.resumeWith_s3a3yh_k$=function(t){return this.resumeWith_7onugl_k$(t)},L_.$metadata$=vh(void 0,[ve]),B_.prototype.get_implementation_9txf7p_k$=function(){return this.implementation_1},B_.prototype.equals=function(t){if(!(t instanceof B_))return!1;var e=t instanceof B_?t:Au();return this.implementation_1===e.implementation_1},B_.prototype.hashCode=function(){return ut(vu("implementation"),127)^vu(this.implementation_1)},B_.prototype.toString=function(){return"@kotlin.js.JsPolyfill(implementation="+this.implementation_1+")"},B_.$metadata$=vh("JsPolyfill",[Co]),F_.$metadata$=Yh("Serializable"),es.$metadata$=Yh("KCallable"),rs.$metadata$=Yh("KClass",[Ur]),ns.prototype.get_jClass_en9agn_k$=function(){return this.jClass_1},ns.prototype.get_qualifiedName_aokcf6_k$=function(){throw $n(null,1,null)},ns.prototype.equals=function(t){return t instanceof ns&&wu(this.get_jClass_en9agn_k$(),t.get_jClass_en9agn_k$())},ns.prototype.hashCode=function(){var t=this.get_simpleName_r6f8py_k$(),e=null==t?null:vu(t);return null==e?0:e},ns.prototype.toString=function(){return"class "+this.get_simpleName_r6f8py_k$()},ns.$metadata$=vh("KClassImpl",[rs]),is.prototype.equals=function(t){return t instanceof is&&!!ns.prototype.equals.call(this,t)&&this.givenSimpleName_1===t.givenSimpleName_1},is.prototype.get_simpleName_r6f8py_k$=function(){return this.givenSimpleName_1},is.prototype.isInstance_6tn68w_k$=function(t){return this.isInstanceFunction_1(t)},is.$metadata$=vh("PrimitiveKClassImpl",void 0,void 0,void 0,void 0,ns.prototype),os.prototype.get_simpleName_r6f8py_k$=function(){return this.simpleName_1},os.prototype.isInstance_6tn68w_k$=function(t){return!1},os.prototype.get_jClass_en9agn_k$=function(){throw Sp("There's no native JS class for Nothing type")},os.prototype.equals=function(t){return t===this},os.prototype.hashCode=function(){return 0},os.$metadata$=Zh("NothingKClassImpl",void 0,void 0,void 0,void 0,ns.prototype),ss.prototype.get_simpleName_r6f8py_k$=function(){throw yp("Unknown simpleName for ErrorKClass")},ss.prototype.get_qualifiedName_aokcf6_k$=function(){throw yp("Unknown qualifiedName for ErrorKClass")},ss.prototype.isInstance_6tn68w_k$=function(t){throw yp("Can's check isInstance on ErrorKClass")},ss.prototype.equals=function(t){return t===this},ss.prototype.hashCode=function(){return 0},ss.$metadata$=vh("ErrorKClass",[rs]),as.prototype.get_simpleName_r6f8py_k$=function(){return this.simpleName_1},as.prototype.isInstance_6tn68w_k$=function(t){return Wh(t,this.get_jClass_en9agn_k$())},as.$metadata$=vh("SimpleKClassImpl",void 0,void 0,void 0,void 0,ns.prototype),us.$metadata$=Yh("KFunction",[es]),hs.$metadata$=Yh("KProperty",[es]),ps.$metadata$=Yh("KProperty0",[hs]),cs.$metadata$=Yh("KProperty1",[hs]),fs.$metadata$=Yh("KProperty2",[hs]),ls.$metadata$=Yh("KMutableProperty0",[ps,ys]),ys.$metadata$=Yh("KMutableProperty",[hs]),$s.$metadata$=Yh("KMutableProperty1",[cs,ys]),ds.$metadata$=Yh("KMutableProperty2",[fs,ys]),ks.$metadata$=Yh("KType"),gs.prototype.get_classifier_ottyl2_k$=function(){return this.classifier_1},gs.prototype.get_arguments_p5ddub_k$=function(){return this.arguments_1},gs.prototype.get_isMarkedNullable_4el8ow_k$=function(){return this.isMarkedNullable_1},gs.prototype.equals=function(t){return!!(t instanceof gs&&wu(this.classifier_1,t.classifier_1)&&wu(this.arguments_1,t.arguments_1))&&this.isMarkedNullable_1===t.isMarkedNullable_1},gs.prototype.hashCode=function(){return ut(ut(mu(this.classifier_1),31)+mu(this.arguments_1)|0,31)+(0|this.isMarkedNullable_1)|0},gs.prototype.toString=function(){var t=this.classifier_1,e=jh(t,rs)?t:null,r=null==e?gu(this.classifier_1):null!=e.get_simpleName_r6f8py_k$()?e.get_simpleName_r6f8py_k$():"(non-denotable type)",n=this.arguments_1.isEmpty_y1axqb_k$()?"":Et(this.arguments_1,", ","<",">",0,null,null,56,null),i=this.isMarkedNullable_1?"?":"";return Ra(r,n)+i},gs.$metadata$=vh("KTypeImpl",[ks]),ms.prototype.get_classifier_ottyl2_k$=function(){return this.classifier_1},ms.prototype.get_arguments_p5ddub_k$=function(){return this.arguments_1},ms.prototype.get_isMarkedNullable_4el8ow_k$=function(){return this.isMarkedNullable_1},ms.prototype.toString=function(){return"dynamic"},ms.$metadata$=Zh("DynamicKType",[ks]),vs.prototype.get_name_woqyms_k$=function(){return this.name_1},vs.prototype.get_upperBounds_k5qia_k$=function(){return this.upperBounds_1},vs.prototype.get_variance_ik7ku2_k$=function(){return this.variance_1},vs.prototype.get_isReified_gx0s91_k$=function(){return this.isReified_1},vs.prototype.toString=function(){return this.name_1},vs.prototype.component1_7eebsc_k$=function(){return this.name_1},vs.prototype.component2_7eebsb_k$=function(){return this.upperBounds_1},vs.prototype.component3_7eebsa_k$=function(){return this.variance_1},vs.prototype.component4_7eebs9_k$=function(){return this.isReified_1},vs.prototype.copy_21tpu9_k$=function(t,e,r,n){return new vs(t,e,r,n)},vs.prototype.copy$default_6ckzz_k$=function(t,e,r,n,i,o){return 0!==(1&i)&&(t=this.name_1),0!==(2&i)&&(e=this.upperBounds_1),0!==(4&i)&&(r=this.variance_1),0!==(8&i)&&(n=this.isReified_1),this.copy_21tpu9_k$(t,e,r,n)},vs.prototype.hashCode=function(){var t=vu(this.name_1);return t=ut(t,31)+mu(this.upperBounds_1)|0,t=ut(t,31)+this.variance_1.hashCode()|0,t=ut(t,31)+(0|this.isReified_1)|0},vs.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof vs))return!1;var e=t instanceof vs?t:Au();return this.name_1===e.name_1&&!!wu(this.upperBounds_1,e.upperBounds_1)&&!!this.variance_1.equals(e.variance_1)&&this.isReified_1===e.isReified_1},vs.$metadata$=vh("KTypeParameterImpl",[Dr]),Us.prototype.get_anyClass_x0jl4l_k$=function(){return this.anyClass_1},Us.prototype.get_numberClass_pnym9y_k$=function(){return this.numberClass_1},Us.prototype.get_nothingClass_7ivpcc_k$=function(){return this.nothingClass_1},Us.prototype.get_booleanClass_d285fr_k$=function(){return this.booleanClass_1},Us.prototype.get_byteClass_pu7s61_k$=function(){return this.byteClass_1},Us.prototype.get_shortClass_5ajsv9_k$=function(){return this.shortClass_1},Us.prototype.get_intClass_mw4y9a_k$=function(){return this.intClass_1},Us.prototype.get_floatClass_xlwq2t_k$=function(){return this.floatClass_1},Us.prototype.get_doubleClass_dahzcy_k$=function(){return this.doubleClass_1},Us.prototype.get_arrayClass_udg0fc_k$=function(){return this.arrayClass_1},Us.prototype.get_stringClass_bik2gy_k$=function(){return this.stringClass_1},Us.prototype.get_throwableClass_ee1a8x_k$=function(){return this.throwableClass_1},Us.prototype.get_booleanArrayClass_lnbwea_k$=function(){return this.booleanArrayClass_1},Us.prototype.get_charArrayClass_7lhfoe_k$=function(){return this.charArrayClass_1},Us.prototype.get_byteArrayClass_57my8g_k$=function(){return this.byteArrayClass_1},Us.prototype.get_shortArrayClass_c1p7wy_k$=function(){return this.shortArrayClass_1},Us.prototype.get_intArrayClass_h44pbv_k$=function(){return this.intArrayClass_1},Us.prototype.get_longArrayClass_v379a4_k$=function(){return this.longArrayClass_1},Us.prototype.get_floatArrayClass_qngmha_k$=function(){return this.floatArrayClass_1},Us.prototype.get_doubleArrayClass_84hee1_k$=function(){return this.doubleArrayClass_1},Us.prototype.functionClass=function(t){var e,r=ws()[t];if(null==r){var n=new is(Function,"Function"+t,Fs(t));ws()[t]=n,e=n}else e=r;return e},Us.$metadata$=Zh("PrimitiveClasses"),Object.defineProperty(Us.prototype,"anyClass",{configurable:!0,get:Us.prototype.get_anyClass_x0jl4l_k$}),Object.defineProperty(Us.prototype,"numberClass",{configurable:!0,get:Us.prototype.get_numberClass_pnym9y_k$}),Object.defineProperty(Us.prototype,"nothingClass",{configurable:!0,get:Us.prototype.get_nothingClass_7ivpcc_k$}),Object.defineProperty(Us.prototype,"booleanClass",{configurable:!0,get:Us.prototype.get_booleanClass_d285fr_k$}),Object.defineProperty(Us.prototype,"byteClass",{configurable:!0,get:Us.prototype.get_byteClass_pu7s61_k$}),Object.defineProperty(Us.prototype,"shortClass",{configurable:!0,get:Us.prototype.get_shortClass_5ajsv9_k$}),Object.defineProperty(Us.prototype,"intClass",{configurable:!0,get:Us.prototype.get_intClass_mw4y9a_k$}),Object.defineProperty(Us.prototype,"floatClass",{configurable:!0,get:Us.prototype.get_floatClass_xlwq2t_k$}),Object.defineProperty(Us.prototype,"doubleClass",{configurable:!0,get:Us.prototype.get_doubleClass_dahzcy_k$}),Object.defineProperty(Us.prototype,"arrayClass",{configurable:!0,get:Us.prototype.get_arrayClass_udg0fc_k$}),Object.defineProperty(Us.prototype,"stringClass",{configurable:!0,get:Us.prototype.get_stringClass_bik2gy_k$}),Object.defineProperty(Us.prototype,"throwableClass",{configurable:!0,get:Us.prototype.get_throwableClass_ee1a8x_k$}),Object.defineProperty(Us.prototype,"booleanArrayClass",{configurable:!0,get:Us.prototype.get_booleanArrayClass_lnbwea_k$}),Object.defineProperty(Us.prototype,"charArrayClass",{configurable:!0,get:Us.prototype.get_charArrayClass_7lhfoe_k$}),Object.defineProperty(Us.prototype,"byteArrayClass",{configurable:!0,get:Us.prototype.get_byteArrayClass_57my8g_k$}),Object.defineProperty(Us.prototype,"shortArrayClass",{configurable:!0,get:Us.prototype.get_shortArrayClass_c1p7wy_k$}),Object.defineProperty(Us.prototype,"intArrayClass",{configurable:!0,get:Us.prototype.get_intArrayClass_h44pbv_k$}),Object.defineProperty(Us.prototype,"longArrayClass",{configurable:!0,get:Us.prototype.get_longArrayClass_v379a4_k$}),Object.defineProperty(Us.prototype,"floatArrayClass",{configurable:!0,get:Us.prototype.get_floatArrayClass_qngmha_k$}),Object.defineProperty(Us.prototype,"doubleArrayClass",{configurable:!0,get:Us.prototype.get_doubleArrayClass_84hee1_k$}),Gs.$metadata$=Yh("Appendable"),Js.prototype.get_length_g42xv3_k$=function(){return this.string_1.length},Js.prototype.get_a7b70_k$=function(t){var e=this.string_1;if(!(t>=0&&t<=tn(e)))throw Np("index: "+t+", length: "+this.get_length_g42xv3_k$()+"}");return su(e,t)},Js.prototype.subSequence_5fh70h_k$=function(t,e){return this.string_1.substring(t,e)},Js.prototype.append_t8oh9e_k$=function(t){var e=this;return e.string_1=e.string_1+new wa(t),this},Js.prototype.append_oz4qxs_k$=function(t){var e=this;return e.string_1=e.string_1+Ma(t),this},Js.prototype.append_tbojcw_k$=function(t,e,r){var n=t;return this.appendRange_mncs5k_k$(null==n?"null":n,e,r)},Js.prototype.reverse_i6tiw2_k$=function(){for(var t="",e=this.string_1.length-1|0;e>=0;){var r=e;e=r-1|0;var n=su(this.string_1,r);if(ea(n)&&e>=0){var i=e;e=i-1|0;var o=su(this.string_1,i);t=ra(o)?t+new wa(o)+new wa(n):t+new wa(n)+new wa(o)}else t+=new wa(n)}return this.string_1=t,this},Js.prototype.append_t8pm91_k$=function(t){var e=this;return e.string_1=e.string_1+Ma(t),this},Js.prototype.append_a1id5s_k$=function(t){var e=this;return e.string_1=e.string_1+t,this},Js.prototype.append_18hb2z_k$=function(t){var e=this;return e.string_1=e.string_1+oa(t),this},Js.prototype.append_zar6u1_k$=function(t){return this.append_ssq29y_k$(t)},Js.prototype.append_ssq29y_k$=function(t){var e=this,r=e,n=e.string_1,i=t;return r.string_1=n+(null==i?"null":i),this},Js.prototype.capacity_14dpom_k$=function(){return this.get_length_g42xv3_k$()},Js.prototype.ensureCapacity_ignus8_k$=function(t){},Js.prototype.indexOf_kdecvs_k$=function(t){return this.string_1.indexOf(t)},Js.prototype.indexOf_sxnkg7_k$=function(t,e){return this.string_1.indexOf(t,e)},Js.prototype.lastIndexOf_my1yge_k$=function(t){return this.string_1.lastIndexOf(t)},Js.prototype.lastIndexOf_4awwhb_k$=function(t,e){return 0===uu(t)&&e<0?-1:this.string_1.lastIndexOf(t,e)},Js.prototype.insert_ho1wgi_k$=function(t,e){Vt().checkPositionIndex_kxpgsw_k$(t,this.get_length_g42xv3_k$());var r,n=this,i=this.string_1.substring(0,t)+e;return r=this.string_1.substring(t),n.string_1=i+r,this},Js.prototype.insert_5hk2j8_k$=function(t,e){Vt().checkPositionIndex_kxpgsw_k$(t,this.get_length_g42xv3_k$());var r,n=this,i=this.string_1.substring(0,t)+new wa(e);return r=this.string_1.substring(t),n.string_1=i+r,this},Js.prototype.insert_5yqhyr_k$=function(t,e){Vt().checkPositionIndex_kxpgsw_k$(t,this.get_length_g42xv3_k$());var r,n=this,i=this.string_1.substring(0,t)+oa(e);return r=this.string_1.substring(t),n.string_1=i+r,this},Js.prototype.insert_xsudoy_k$=function(t,e){Vt().checkPositionIndex_kxpgsw_k$(t,this.get_length_g42xv3_k$());var r,n=this,i=this.string_1.substring(0,t)+Ma(e);return r=this.string_1.substring(t),n.string_1=i+r,this},Js.prototype.insert_5hl7iv_k$=function(t,e){Vt().checkPositionIndex_kxpgsw_k$(t,this.get_length_g42xv3_k$());var r,n=this,i=this.string_1.substring(0,t)+Ma(e);return r=this.string_1.substring(t),n.string_1=i+r,this},Js.prototype.insert_9mtcpl_k$=function(t,e){return this.insert_eitq2w_k$(t,e)},Js.prototype.insert_eitq2w_k$=function(t,e){Vt().checkPositionIndex_kxpgsw_k$(t,this.get_length_g42xv3_k$());var r,n=null==e?"null":e,i=this,o=this.string_1.substring(0,t)+n;return r=this.string_1.substring(t),i.string_1=o+r,this},Js.prototype.setLength_kzn4fs_k$=function(t){if(t<0)throw hp("Negative new length: "+t+".");if(t<=this.get_length_g42xv3_k$()){var e,r=this;e=this.string_1.substring(0,t),r.string_1=e}else{var n=this.get_length_g42xv3_k$();if(n= 8");if(e.arraysUnlinked_1=!0,e.log2N_1=t,e.N_1=1<=5))throw w("unknown log2N size, must be >=3 but was: "+t);e.dft_1=ft(t,tt(e),et(e),rt(e),nt(e))}return e}function ot(t){return it(t,Object.create(pt.prototype))}function _t(t,e,r,n,i,o){return it(i,o),o.yr_1=r,o.yi_1=n,o.dft_1.link(t,e,r,n),o.arraysUnlinked_1=!1,o}function st(t,e,r,n,i){return _t(t,e,r,n,i,Object.create(pt.prototype))}function at(t){var e=t.N_1/8|0;t.c_1=new Float32Array(e),t.c3__1=new Float32Array(e),t.s_1=new Float32Array(e),t.s3__1=new Float32Array(e);var r=0,n=e-1|0;if(r<=n)do{var i=r;r=r+1|0;var o,_=tt(t),s=2*k()*i/t.N_1;o=Math.cos(s),_[i]=o;var a,u=et(t),h=2*k()*3*i/t.N_1;a=Math.cos(h),u[i]=a;var p,c=rt(t),f=2*k()*i/t.N_1;p=Math.sin(f),c[i]=-p;var l,y=nt(t),$=2*k()*3*i/t.N_1;l=Math.sin($),y[i]=-l}while(i!==n)}function ut(){n=this}function ht(){return null==n&&new ut,n}function pt(){ht(),this.arraysUnlinked_1=!1}function ct(t,e,r,n,i,o){return gt.call(o),o.m_1=t,o.N_1=1<6?(o.dft1__1=$t(o,0,2,0,t-1|0),o.dft2__1=$t(o,1,4,o.N_1/2|0,t-2|0),o.dft3__1=$t(o,3,4,d(3,o.N_1)/4|0,t-2|0)):6===t?(o.dft1__1=$t(o,0,2,0,5),o.dft2__1=new wt(1,4,o.N_1/2|0),o.dft3__1=new wt(3,4,d(3,o.N_1)/4|0)):5===t&&(o.dft1__1=new wt(0,2,0),o.dft2__1=new jt(1,4,o.N_1/2|0),o.dft3__1=new jt(3,4,d(3,o.N_1)/4|0)),o}function ft(t,e,r,n,i){return ct(t,e,r,n,i,Object.create(gt.prototype))}function lt(t){return gt.call(t),t.dft1__1=null,t.dft2__1=null,t.dft3__1=null,t}function yt(t,e,r,n,i,o){return gt.call(o),o.c_1=t.c_1,o.c3__1=t.c3__1,o.s_1=t.s_1,o.s3__1=t.s3__1,o.m_1=i,o.N_1=1<6?(o.dft1__1=$t(o,e,d(r,2),n,i-1|0),o.dft2__1=$t(o,e+r|0,d(r,4),n+(o.N_1/2|0)|0,i-2|0),o.dft3__1=$t(o,e+d(3,r)|0,d(r,4),n+(d(3,o.N_1)/4|0)|0,i-2|0)):6===i?(o.dft1__1=$t(o,e,d(r,2),n,5),o.dft2__1=new wt(e+r|0,d(r,4),n+(o.N_1/2|0)|0),o.dft3__1=new wt(e+d(3,r)|0,d(r,4),n+(d(3,o.N_1)/4|0)|0)):5===i&&(o.dft1__1=new wt(e,d(r,2),n),o.dft2__1=new jt(e+r|0,d(r,4),n+(o.N_1/2|0)|0),o.dft3__1=new jt(e+d(3,r)|0,d(r,4),n+(d(3,o.N_1)/4|0)|0)),o}function $t(t,e,r,n,i){return yt(t,e,r,n,i,Object.create(gt.prototype))}function dt(){i=this;var t,e=this;t=Math.sqrt(2),e.SQRT2BY2__1=t/2}function kt(){return null==i&&new dt,i}function gt(){kt(),this.xoffset_1=0,this.xstride_1=0,this.outXoffset_1=0,this.m_1=0,this.N_1=0,this.Ndiv8__1=0,this.Ndiv4__1=0,this.dft1__1=null,this.dft2__1=null,this.dft3__1=null,this.c_1=null,this.c3__1=null,this.s_1=null,this.s3__1=null,this.f_1=0,this.reflect_1=0}function mt(){o=this;var t,e=this,r=2*k()/16;t=Math.cos(r),e.C_1_16__1=t;var n,i=this,_=2*k()*3/16;n=Math.cos(_),i.C_3_16__1=n;var s,a=this;s=Math.sqrt(2),a.SQRT2BY2__1=s/2}function vt(){return null==o&&new mt,o}function wt(t,e,r){vt(),lt(this),this.m_1=4,this.N_1=16,this.xoffset_1=t,this.xstride_1=e,this.outXoffset_1=r,this.n0__1=this.xoffset_1,this.n1__1=this.n0__1+this.xstride_1|0,this.n2__1=this.n1__1+this.xstride_1|0,this.n3__1=this.n2__1+this.xstride_1|0,this.n4__1=this.n3__1+this.xstride_1|0,this.n5__1=this.n4__1+this.xstride_1|0,this.n6__1=this.n5__1+this.xstride_1|0,this.n7__1=this.n6__1+this.xstride_1|0,this.n8__1=this.n7__1+this.xstride_1|0,this.n9__1=this.n8__1+this.xstride_1|0,this.n10__1=this.n9__1+this.xstride_1|0,this.n11__1=this.n10__1+this.xstride_1|0,this.n12__1=this.n11__1+this.xstride_1|0,this.n13__1=this.n12__1+this.xstride_1|0,this.n14__1=this.n13__1+this.xstride_1|0,this.n15__1=this.n14__1+this.xstride_1|0,this.m0__1=this.outXoffset_1,this.m1__1=this.m0__1+1|0,this.m2__1=this.m1__1+1|0,this.m3__1=this.m2__1+1|0,this.m4__1=this.m3__1+1|0,this.m5__1=this.m4__1+1|0,this.m6__1=this.m5__1+1|0,this.m7__1=this.m6__1+1|0,this.m8__1=this.m7__1+1|0,this.m9__1=this.m8__1+1|0,this.m10__1=this.m9__1+1|0,this.m11__1=this.m10__1+1|0,this.m12__1=this.m11__1+1|0,this.m13__1=this.m12__1+1|0,this.m14__1=this.m13__1+1|0,this.m15__1=this.m14__1+1|0}function bt(){_=this;var t,e=this;t=Math.sqrt(2),e.SQRT2BY2__1=t/2}function xt(){return null==_&&new bt,_}function jt(t,e,r){xt(),lt(this),this.n0__1=t,this.m0__1=r,this.m_1=3,this.N_1=8,this.xoffset_1=this.n0__1,this.xstride_1=e,this.outXoffset_1=this.m0__1,this.n1__1=this.n0__1+e|0,this.n2__1=this.n1__1+e|0,this.n3__1=this.n2__1+e|0,this.n4__1=this.n3__1+e|0,this.n5__1=this.n4__1+e|0,this.n6__1=this.n5__1+e|0,this.n7__1=this.n6__1+e|0,this.m1__1=this.m0__1+1|0,this.m2__1=this.m1__1+1|0,this.m3__1=this.m2__1+1|0,this.m4__1=this.m3__1+1|0,this.m5__1=this.m4__1+1|0,this.m6__1=this.m5__1+1|0,this.m7__1=this.m6__1+1|0}function It(){s=this}function Et(){return null==s&&new It,s}function Ct(t){if(Et(),t<4)throw w("DFT size must be >= 16");this.N_1=1<=1)throw w("OmegaP: "+e+" out of bounds (0.0 < OmegaP < 1.0)");this.bands_1[0][0]=0,this.bands_1[0][1]=e,this.generateCoefficients()}function $e(t,e,r,n,i){if(ke.call(this,2,t),this.Ws_1=r,this.Wp_1=i,e>=n)throw w("OmegaS >= OmegaP ");if(e<=0||e>=1)throw w("OmegaS: "+e+" out of bounds (0.0 < OmegaS < 1.0)");if(n<=0||n>=1)throw w("OmegaP: "+n+" out of bounds (0.0 < OmegaP < 1.0)");this.bands_1[0][0]=0,this.bands_1[0][1]=e,this.bands_1[1][0]=n,this.bands_1[1][1]=1,this.generateCoefficients()}function de(t,e,r,n,i){if(ke.call(this,2,t),this.Wp_1=r,this.Ws_1=i,e>=n)throw w("OmegaP >= OmegaS ");if(e<=0||e>=1)throw w("OmegaP: "+e+" out of bounds (0.0 < OmegaP < 1.0)");if(n<=0||n>=1)throw w("OmegaS: "+n+" out of bounds (0.0 < OmegaS < 1.0)");this.bands_1[0][0]=0,this.bands_1[0][1]=e,this.bands_1[1][0]=n,this.bands_1[1][1]=1,this.generateCoefficients()}function ke(t,e){fe.call(this,t,e+1|0,d(2,e)+1|0)}function ge(t,e){fe.call(this,t,e,d(2,e))}function me(t,e){fe.call(this,t,e,d(2,e)+1|0)}function ve(t,e){fe.call(this,t,e,d(2,e))}function we(t,e){ve.call(this,1,t),this.delta_1=e,this.bands_1[0][0]=1/d(2,t),this.bands_1[0][1]=1,this.generateCoefficients()}function be(t,e){if(ve.call(this,1,t),!(0=0){var h=(-a+Math.sqrt(u))/2,p=h*r/2,c=p*p-n,f=Me(p).plusComplex(Le().sqrt(Me(c)));i=Xt(new Float64Array([f.conjugate().timesComplex(f).real(),-2*f.real(),1])),c=(p=(h=(-a-Math.sqrt(u))/2)*r/2)*p-n,f=Me(p).plusComplex(Le().sqrt(Me(c))),o=Xt(new Float64Array([f.conjugate().timesComplex(f).real(),-2*f.real(),1]))}else{var l=-u,y=new Be(-a/2,Math.sqrt(l)/2).timesReal(r/2),$=y.timesComplex(y).minusReal(n),d=y.plusComplex(Le().sqrt($));i=Xt(new Float64Array([d.conjugate().timesComplex(d).real(),-2*d.real(),1])),d=y.minusComplex(Le().sqrt($)),o=Xt(new Float64Array([d.conjugate().timesComplex(d).real(),-2*d.real(),1]))}return[zt(i),zt(o)]}function Xe(){this._T_1=null,this.sections_1=A()}function Te(t,e,r,n,i){Ue.call(this,new Se(t),e,r,n,i)}function ze(t,e,r,n,i,o){Ue.call(this,new Ae(t,e),r,n,i,o)}function Pe(t,e,r,n,i,o){Ue.call(this,new qe(t,e),r,n,i,o)}function Oe(t,e){return Be.call(e,t,0),e}function Me(t){return Oe(t,Object.create(Be.prototype))}function Re(){c=this}function Le(){return null==c&&new Re,c}function Be(t,e){Le(),this.real_1=t,this.imag_1=e}function Fe(t,e,r){var n=k()*e*r;return Math.tan(n)}function Ue(t,e,r,n,i){var o;switch(this.delta_1=i,this.f1__1=r,this.f2__1=n,e.ordinal_1){case 0:o=t.lptolp(Fe(this,n,i));break;case 1:o=t.lptobp(Fe(this,r,i),Fe(this,n,i));break;case 2:o=t.lptohp(Fe(this,r,i));break;default:throw x("Undefined passband type")}var _=new Float64Array(2),s=new Float64Array(2);_[0]=1,_[1]=-1,s[0]=1,s[1]=1;var a=Ft(_,s);this.T_1=Wt(1),this.sections_1=A();var u=0,h=o.nSections()-1|0;if(u<=h)do{var p=u;u=u+1|0;var c=o.getSection(p).mapRational(a);this.T_1.timesEqualsRational(c);var f=c.numerator().coefficients(),l=c.denominator().coefficients(),y=1;0!==l[0]&&(y=l[0]);var $=f[0]/y,d=0;f.length>=2&&(d=f[1]/y);var k=0;f.length>=3&&(k=f[2]/y);var g=0;l.length>=2&&(g=l[1]/y);var m=0;l.length>=3&&(m=l[2]/y),this.sections_1.add_1j60pz_k$(new Ke($,d,k,g,m))}while(p!==h)}function De(){return[We(),Ge(),He()]}function Ve(t){switch(t){case"LOWPASS":return We();case"BANDPASS":return Ge();case"HIGHPASS":return He();default:Ye(),M()}}function Ye(){if($)return g();$=!0,f=new Ze("LOWPASS",0),l=new Ze("BANDPASS",1),y=new Ze("HIGHPASS",2)}function Ze(t,e){R.call(this,t,e)}function We(){return Ye(),f}function Ge(){return Ye(),l}function He(){return Ye(),y}function Ke(t,e,r,n,i){this.b0__1=t,this.b1__1=e,this.b2__1=r,this.a1__1=n,this.a2__1=i,this.s1__1=0,this.s2__1=0,this.initialize_oabr29_k$()}function Qe(t,e){var r=1;if(e>1){var n=2;if(n<=e)do{var i=n;n=n+1|0,r=d(r,i)}while(i!==e)}return r}function Je(t,e){Ce.call(this,t);var r=new Float64Array(t+1|0);r[0]=1;var n=1;if(n<=t)do{var i=n;n=n+1|0;var o,_=1,s=0;if(s<=t)do{var a=s;s=s+1|0,_*=(e-t+a)/(e-t+i+a)}while(a!==t);var u=i;o=Math.pow(-1,u),r[i]=o*(Qe(this,t)/d(Qe(this,t-i|0),Qe(this,i))|0)*_}while(i!==t);var h=Xt(r);this.k_1=h.reflectionCoefficients(),this.constructRationalRepresentation()}function tr(t){var e,r,n,i,o,_,s,a;(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).HammingWindow=L,(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).HanningWindow=B,(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).Sequence=W,_.Sequence.Sequence_fromArray=U,_.Sequence.Sequence_ofSize=V,Object.defineProperty(_.Sequence,"Companion",{configurable:!0,get:Z}),(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).Window=K,_.Window.Window_fromArray=H,(e=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).fft||(_.fft={})).CDFT=pt,e.CDFT.CDFT_ofLogSize=ot,e.CDFT.CDFT_ofArrays=st,Object.defineProperty(e.CDFT,"Companion",{configurable:!0,get:ht}),(e=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).fft||(_.fft={})).RDFT=Ct,Object.defineProperty(e.RDFT,"Companion",{configurable:!0,get:Et}),(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).LagrangePolynomial=qt,Object.defineProperty(s.LagrangePolynomial,"Companion",{configurable:!0,get:At}),(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).Polynomial=Lt,s.Polynomial.Polynomial_ofArray=Xt,s.Polynomial.Polynomial_ofPolynomial=zt,s.Polynomial.Polynomial_ofDegree=Ot,s.Polynomial.Polynomial_ofConstant=Rt,(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).Rational=Gt,s.Rational.Rational_ofArrays=Ft,s.Rational.Rational_ofPolynomials=Dt,s.Rational.Rational_ofRational=Yt,s.Rational.Rational_ofConstant=Wt,(r=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).fir||(s.fir={})).ComplexAnalyticSignal=Ht,(r=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).fir||(s.fir={})).Interpolator=Kt,(r=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).fir||(s.fir={})).OverlapAdd=re,r.OverlapAdd.OverlapAdd_ofArray=Jt,r.OverlapAdd.OverlapAdd_ofArrayOverlapAdd=ee,(n=(r=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).fir||(s.fir={})).equiripple||(r.equiripple={})).CenteredDifferentiator=ne,(n=(r=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).fir||(s.fir={})).equiripple||(r.equiripple={})).CenteredHilbertTransform=ie,(n=(r=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).fir||(s.fir={})).equiripple||(r.equiripple={})).EquirippleBandpass=ae,(n=(r=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).fir||(s.fir={})).equiripple||(r.equiripple={})).EquirippleFIRFilter=fe,Object.defineProperty(n.EquirippleFIRFilter,"Companion",{configurable:!0,get:ce}),(n=(r=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).fir||(s.fir={})).equiripple||(r.equiripple={})).EquirippleHalfBand=le,(n=(r=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).fir||(s.fir={})).equiripple||(r.equiripple={})).EquirippleHighpass=$e,(n=(r=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).fir||(s.fir={})).equiripple||(r.equiripple={})).EquirippleLowpass=de,(n=(r=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).fir||(s.fir={})).equiripple||(r.equiripple={})).FIRTypeI=ke,(n=(r=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).fir||(s.fir={})).equiripple||(r.equiripple={})).FIRTypeII=ge,(n=(r=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).fir||(s.fir={})).equiripple||(r.equiripple={})).FIRTypeIII=me,(n=(r=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).fir||(s.fir={})).equiripple||(r.equiripple={})).FIRTypeIV=ve,(n=(r=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).fir||(s.fir={})).equiripple||(r.equiripple={})).StaggeredDifferentiator=we,(n=(r=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).fir||(s.fir={})).equiripple||(r.equiripple={})).StaggeredHilbertTranform=be,(a=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).iir||(s.iir={})).Allpass=Ce,a.Allpass.Allpass_ofPolynomial=je,a.Allpass.Allpass_ofArray=Ee,(a=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).iir||(s.iir={})).AnalogPrototype=Xe,(a=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).iir||(s.iir={})).Butterworth=Te,(a=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).iir||(s.iir={})).ChebyshevI=ze,(a=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).iir||(s.iir={})).ChebyshevII=Pe,(a=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).iir||(s.iir={})).Complex=Be,a.Complex.Complex_fromReal=Me,Object.defineProperty(a.Complex,"Companion",{configurable:!0,get:Le}),(a=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).iir||(s.iir={})).IIRFilter=Ue,(a=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).iir||(s.iir={})).PassbandType=Ze,a.PassbandType.values=De,a.PassbandType.valueOf=Ve,Object.defineProperty(a.PassbandType,"LOWPASS",{configurable:!0,get:We}),Object.defineProperty(a.PassbandType,"BANDPASS",{configurable:!0,get:Ge}),Object.defineProperty(a.PassbandType,"HIGHPASS",{configurable:!0,get:He}),(a=(s=(_=(o=(i=t.com||(t.com={})).oregondsp||(i.oregondsp={})).signalProcessing||(o.signalProcessing={})).filter||(_.filter={})).iir||(s.iir={})).ThiranAllpass=Je}return L.prototype=Object.create(K.prototype),L.prototype.constructor=L,B.prototype=Object.create(K.prototype),B.prototype.constructor=B,wt.prototype=Object.create(gt.prototype),wt.prototype.constructor=wt,jt.prototype=Object.create(gt.prototype),jt.prototype.constructor=jt,me.prototype=Object.create(fe.prototype),me.prototype.constructor=me,ne.prototype=Object.create(me.prototype),ne.prototype.constructor=ne,ie.prototype=Object.create(me.prototype),ie.prototype.constructor=ie,ke.prototype=Object.create(fe.prototype),ke.prototype.constructor=ke,ae.prototype=Object.create(ke.prototype),ae.prototype.constructor=ae,ge.prototype=Object.create(fe.prototype),ge.prototype.constructor=ge,ye.prototype=Object.create(ge.prototype),ye.prototype.constructor=ye,$e.prototype=Object.create(ke.prototype),$e.prototype.constructor=$e,de.prototype=Object.create(ke.prototype),de.prototype.constructor=de,ve.prototype=Object.create(fe.prototype),ve.prototype.constructor=ve,we.prototype=Object.create(ve.prototype),we.prototype.constructor=we,be.prototype=Object.create(ve.prototype),be.prototype.constructor=be,Se.prototype=Object.create(Xe.prototype),Se.prototype.constructor=Se,Ae.prototype=Object.create(Xe.prototype),Ae.prototype.constructor=Ae,qe.prototype=Object.create(Xe.prototype),qe.prototype.constructor=qe,Te.prototype=Object.create(Ue.prototype),Te.prototype.constructor=Te,ze.prototype=Object.create(Ue.prototype),ze.prototype.constructor=ze,Pe.prototype=Object.create(Ue.prototype),Pe.prototype.constructor=Pe,Ze.prototype=Object.create(R.prototype),Ze.prototype.constructor=Ze,Je.prototype=Object.create(Ce.prototype),Je.prototype.constructor=Je,L.$metadata$=m("HammingWindow",void 0,void 0,void 0,void 0,K.prototype),B.$metadata$=m("HanningWindow",void 0,void 0,void 0,void 0,K.prototype),Y.prototype.aliasArray=function(t,e){var r=t.length,n=e.length,i=0;if(i<=n)do{var o=i;i=i+1|0,e[o]=0}while(o!==n);var _=0,s=r-1|0;if(_<=s)do{var a=_;_=_+1|0;var u=e,h=a%n|0;u[h]=u[h]+t[a]}while(a!==s)},Y.prototype.reverseArray=function(t){for(var e=0,r=t.length-1|0;e0&&(r-n|0)0){var o=0,_=n-1|0;if(o<=_)do{var s=o;o=o+1|0,i[s]=t[(r-n|0)+s|0]}while(s!==_);var a=(r-1|0)-n|0;if(0<=a)do{var u=a;a=a+-1|0,t[u+n|0]=t[u]}while(0<=a);var h=0,p=n-1|0;if(h<=p)do{var c=h;h=h+1|0,t[c]=i[c]}while(c!==p)}if(n<0){var f=0,l=(0|-n)-1|0;if(f<=l)do{var y=f;f=f+1|0,i[y]=t[y]}while(y!==l);var $=0|-n,k=r-1|0;if($<=k)do{var g=$;$=$+1|0,t[g+n|0]=t[g]}while(g!==k);var m=0,v=(0|-n)-1|0;if(m<=v)do{var w=m;m=m+1|0,t[(r+n|0)+w|0]=i[w]}while(w!==v)}},Y.prototype.zeroShiftArray=function(t,e){if(d(-1,e)>=t.length||e>=t.length){var r=0,n=t.length;if(r<=n)do{var i=r;r=r+1|0,t[i]=0}while(i!==n)}else if(e>0){var o=t.length-1|0;if(e<=o)do{var _=o;o=o+-1|0,t[_]=t[_-e|0]}while(_!==e);var s=0,a=e-1|0;if(s<=a)do{var u=s;s=s+1|0,t[u]=0}while(u!==a)}else if(e<0){var h=0,p=(t.length+e|0)-1|0;if(h<=p)do{var c=h;h=h+1|0,t[c]=t[c-e|0]}while(c!==p);var f=t.length+e|0,l=t.length-1|0;if(f<=l)do{var y=f;f=f+1|0,t[y]=0}while(y!==l)}},Y.prototype.decimateArray=function(t,e,r){var n=r.length,i=t.length/e|0,o=0,_=Math.min(n,i)-1|0;if(o<=_)do{var s=o;o=o+1|0,r[s]=t[d(s,e)]}while(s!==_)},Y.prototype.stretchArray=function(t,e,r){var n=t.length,i=r.length/e|0,o=Math.min(n,i),_=0,s=r.length;if(_<=s)do{var a=_;_=_+1|0,r[a]=0}while(a!==s);var u=0,h=o-1|0;if(u<=h)do{var p=u;u=u+1|0,r[d(p,e)]=t[p]}while(p!==h)},Y.prototype.timesEqualsArray=function(t,e){var r=0,n=t.length-1|0;if(r<=n)do{var i=r;r=r+1|0;var o=t,_=i;o[_]=o[_]*e}while(r<=n)},Y.prototype.padArray=function(t,e){if(t.length=0&&tthis.array_1.length){var e=new Float32Array(t);Z().padArray(this.array_1,e),this.array_1=e}},W.$metadata$=m("Sequence"),Object.defineProperty(W.prototype,"array",{configurable:!0,get:W.prototype.get_array_iosoq8_k$,set:W.prototype.set_array_tn1sl2_k$}),K.prototype.set_w_6vu9ec_k$=function(t){this.w_1=t},K.prototype.get_w_1mhr66_k$=function(){return this.w_1},K.prototype.length=function(){return this.w_1.length},K.prototype.timesEquals=function(t){if(t.length!==this.w_1.length)throw w("Argument length does not match window length");var e=0,r=this.w_1.length-1|0;if(e<=r)do{var n=e;e=e+1|0;var i=this.w_1,o=n;i[o]=i[o]*t[n]}while(e<=r)},K.prototype.get_array_iosoq8_k$=function(){return this.w_1.slice()},K.prototype.windowArray=function(t,e,r){if(r.length!==this.w_1.length)throw w("Destination array length does not match window length");var n=0,i=this.w_1.length-1|0;if(n<=i)do{var o=n;n=n+1|0;var _=e+o|0;_>=0&&_0){var r=new Float64Array((this._order_1+1|0)-e|0),n=0,i=r.length-1|0;if(n<=i)do{var o=n;n=n+1|0,r[o]=this.a_1[o]}while(n<=i);this.a_1=r;var _=this;_._order_1=_._order_1-e|0}},Lt.prototype.order=function(){return this._order_1},Lt.prototype.coefficients=function(){return this.a_1.slice()},Lt.prototype.plusReal=function(t){var e,r=Ot(this._order_1),n=r;e=this.a_1.slice(),n.a_1=e;var i=r.a_1,o=0;return i[o]=i[o]+t,r},Lt.prototype.plusEqualsReal=function(t){var e=this.a_1,r=0;e[r]=e[r]+t},Lt.prototype.plusPolynomial=function(t){var e=this._order_1,r=t._order_1,n=Ot(Math.max(e,r)),i=0,o=this._order_1;if(i<=o)do{var _=i;i=i+1|0,n.a_1[_]=this.a_1[_]}while(_!==o);var s=0,a=t._order_1;if(s<=a)do{var u=s;s=s+1|0;var h=n.a_1,p=u;h[p]=h[p]+t.a_1[u]}while(u!==a);return n},Lt.prototype.plusEqualsPolynomial=function(t){var e,r=this._order_1,n=t._order_1;e=Math.max(r,n);var i=new Float64Array(e),o=0,_=this._order_1;if(o<=_)do{var s=o;o=o+1|0,i[s]=this.a_1[s]}while(s!==_);var a=0,u=t._order_1;if(a<=u)do{var h=a;a=a+1|0;var p=i,c=h;p[c]=p[c]+t.a_1[h]}while(h!==u);this.a_1=i,this._order_1=i.length-1|0},Lt.prototype.minusReal=function(t){return this.plusReal(-t)},Lt.prototype.minusEqualsReal=function(t){this.plusEqualsReal(-t)},Lt.prototype.minusPolynomial=function(t){var e=this._order_1,r=t._order_1,n=Ot(Math.max(e,r)),i=0,o=this._order_1;if(i<=o)do{var _=i;i=i+1|0,n.a_1[_]=this.a_1[_]}while(_!==o);var s=0,a=t._order_1;if(s<=a)do{var u=s;s=s+1|0;var h=n.a_1,p=u;h[p]=h[p]-t.a_1[u]}while(u!==a);return n},Lt.prototype.minusEqualsPolynomial=function(t){var e,r=this._order_1,n=t._order_1;e=Math.max(r,n);var i=new Float64Array(e),o=0,_=this._order_1;if(o<=_)do{var s=o;o=o+1|0,i[s]=this.a_1[s]}while(s!==_);var a=0,u=t._order_1;if(a<=u)do{var h=a;a=a+1|0;var p=i,c=h;p[c]=p[c]-t.a_1[h]}while(h!==u);this.a_1=i,this._order_1=i.length-1|0},Lt.prototype.timesReal=function(t){var e=Ot(this._order_1),r=0,n=this._order_1;if(r<=n)do{var i=r;r=r+1|0,e.a_1[i]=t*this.a_1[i]}while(i!==n);return e},Lt.prototype.timesEqualsReal=function(t){var e=0,r=this._order_1;if(e<=r)do{var n=e;e=e+1|0;var i=this.a_1,o=n;i[o]=i[o]*t}while(n!==r)},Lt.prototype.timesPolynomial=function(t){var e=t.a_1,r=new Float64Array(1+(this._order_1+t._order_1|0)|0),n=0,i=t._order_1;if(n<=i)do{var o=n;n=n+1|0;var _=0,s=this._order_1;if(_<=s)do{var a=_;_=_+1|0;var u=r,h=o+a|0;u[h]=u[h]+e[o]*this.a_1[a]}while(a!==s)}while(o!==i);return Xt(r)},Lt.prototype.timesEqualsPolynomial=function(t){var e=t.a_1,r=new Float64Array(1+(this._order_1+t._order_1|0)|0),n=0,i=t._order_1;if(n<=i)do{var o=n;n=n+1|0;var _=0,s=this._order_1;if(_<=s)do{var a=_;_=_+1|0;var u=r,h=o+a|0;u[h]=u[h]+e[o]*this.a_1[a]}while(a!==s)}while(o!==i);this.a_1=r;var p=this;p._order_1=p._order_1+t._order_1|0},Lt.prototype.overReal=function(t){var e=new Float64Array(this._order_1+1|0),r=0,n=(this._order_1+1|0)-1|0;if(r<=n)do{var i=r;r=r+1|0,e[i]=this.a_1[i]/t}while(i!==n);return Xt(e)},Lt.prototype.overEqualsReal=function(t){var e=0,r=(this._order_1+1|0)-1|0;if(e<=r)do{var n=e;e=e+1|0;var i=this.a_1,o=n;i[o]=i[o]/t}while(n!==r)},Lt.prototype.overEqualsPolynomial=function(t){return Dt(this,t)},Lt.prototype.derivative=function(){var t=new Float64Array(this._order_1),e=0,r=this._order_1-1|0;if(e<=r)do{var n=e;e=e+1|0,t[n]=(n+1|0)*this.a_1[n+1|0]}while(n!==r);return Xt(t)},Lt.prototype.evaluateReal=function(t){var e=this.a_1[this._order_1],r=this._order_1-1|0;if(0<=r)do{var n=r;r=r+-1|0,e=t*e+this.a_1[n]}while(0<=r);return e},Lt.prototype.evaluateComplex=function(t){var e=Me(this.a_1[this._order_1]),r=this._order_1-1|0;if(0<=r)do{var n=r;r=r+-1|0,e=e.timesComplex(t).plusReal(this.a_1[n])}while(0<=r);return e},Lt.prototype.groupDelay=function(t){if(0===this._order_1)return 0;var e=new Be(0,t),r=this.derivative().evaluateComplex(e),n=this.evaluateComplex(e);return-r.overComplex(n).real()},Lt.prototype.discreteTimeGroupDelay=function(t){var e=Le().exp(new Be(0,-t)),r=Me(this.a_1[this._order_1]*this._order_1),n=this._order_1-1|0;if(0<=n)do{var i=n;n=n+-1|0,r=r.timesComplex(e).plusReal(this.a_1[i]*i)}while(0<=n);var o=this.evaluateComplex(e);return r.overComplex(o).real()},Lt.prototype.reflectionCoefficients=function(){var t=new Float64Array(this._order_1),e=new Float64Array(this._order_1+1|0);e[0]=1;var r=0,n=this._order_1-1|0;if(r<=n)do{var i=r;r=r+1|0,e[i+1|0]=this.a_1[i+1|0]/this.a_1[0]}while(i!==n);var o=this._order_1;if(1<=o)do{var _=o;o=o+-1|0,t[_-1|0]=e[_];var s=1-t[_-1|0]*t[_-1|0],a=new Float64Array(this._order_1),u=0,h=_-1|0;if(u<=h)do{var p=u;u=u+1|0,a[p]=(e[p]-t[_-1|0]*e[_-p|0])/s}while(p!==h);var c=0,f=_-1|0;if(c<=f)do{var l=c;c=c+1|0,e[l]=a[l]}while(l!==f)}while(1<=o);return t},Lt.prototype.toString=function(){var t="",e=0,r=this._order_1;if(e<=r)do{var n=e;e=e+1|0,n>=0&&n<10?t=t+(n.toString()+" ")+this.a_1[n]+new E(I(10)):n>=10&&n<=100&&(t=t+(n.toString()+" ")+this.a_1[n]+new E(I(10)))}while(n!==r);return t},Lt.$metadata$=m("Polynomial"),Object.defineProperty(Lt.prototype,"a",{configurable:!0,get:Lt.prototype.get_a_1mhr5k_k$,set:Lt.prototype.set_a_suc4n9_k$}),Object.defineProperty(Lt.prototype,"_order",{configurable:!0,get:Lt.prototype.get__order_a42a1k_k$,set:Lt.prototype.set__order_ax9ysk_k$}),Gt.prototype.order=function(){return new Int32Array([this.N_1.order(),this.D_1.order()])},Gt.prototype.numerator=function(){return zt(this.N_1)},Gt.prototype.denominator=function(){return zt(this.D_1)},Gt.prototype.canonicalForm=function(){var t=this.N_1.a_1[this.N_1._order_1],e=0,r=this.N_1.a_1.length-1|0;if(e<=r)do{var n=e;e=e+1|0;var i=this.N_1.a_1,o=n;i[o]=i[o]/t}while(e<=r);var _=this.D_1.a_1[this.D_1._order_1],s=0,a=this.D_1.a_1.length-1|0;if(s<=a)do{var u=s;s=s+1|0;var h=this.D_1.a_1,p=u;h[p]=h[p]/_}while(s<=a);return t/_},Gt.prototype.timesEqualsReal=function(t){this.N_1.timesEqualsReal(t)},Gt.prototype.timesEqualsPolynomial=function(t){this.N_1.timesEqualsPolynomial(t)},Gt.prototype.timesEqualsRational=function(t){this.N_1.timesEqualsPolynomial(t.N_1),this.D_1.timesEqualsPolynomial(t.D_1)},Gt.prototype.evaluateReal=function(t){var e=0,r=this.N_1.evaluateReal(t),n=this.D_1.evaluateReal(t);return 0!==n&&(e=r/n),e},Gt.prototype.evaluateComplex=function(t){var e=new Be(0,0),r=this.N_1.evaluateComplex(t),n=this.D_1.evaluateComplex(t);return 0!==n.abs()&&(e=r.overComplex(n)),e},Gt.prototype.mapRational=function(t){var e=Rt(this.N_1.a_1[this.N_1._order_1]),r=Rt(1),n=this.N_1._order_1-1|0;if(0<=n)do{var i=n;n=n+-1|0,r=r.timesPolynomial(t.D_1),e=e.timesPolynomial(t.N_1).plusPolynomial(r.timesReal(this.N_1.a_1[i]))}while(0<=n);var o=Rt(this.D_1.a_1[this.D_1._order_1]);r=Rt(1);var _=this.D_1._order_1-1|0;if(0<=_)do{var s=_;_=_+-1|0,r=r.timesPolynomial(t.D_1),o=o.timesPolynomial(t.N_1).plusPolynomial(r.timesReal(this.D_1.a_1[s]))}while(0<=_);if(this.D_1._order_1>this.N_1._order_1){var a=0,u=(this.D_1._order_1-this.N_1._order_1|0)-1|0;if(a<=u)do{var h=a;a=a+1|0,e=e.timesPolynomial(t.D_1)}while(h!==u)}else if(this.N_1._order_1>this.D_1._order_1){var p=0,c=(this.N_1._order_1-this.D_1._order_1|0)-1|0;if(p<=c)do{var f=p;p=p+1|0,o=o.timesPolynomial(t.D_1)}while(f!==c)}return e.trim(),o.trim(),Dt(e,o)},Gt.prototype.residueForReal=function(t){return this.N_1.evaluateReal(t)/this.D_1.derivative().evaluateReal(t)},Gt.prototype.residueForComplex=function(t){return this.N_1.evaluateComplex(t).overComplex(this.D_1.derivative().evaluateComplex(t))},Gt.prototype.groupDelay=function(t){return this.N_1.groupDelay(t)-this.D_1.groupDelay(t)},Gt.prototype.discreteTimeGroupDelay=function(t){return this.N_1.discreteTimeGroupDelay(t)-this.D_1.discreteTimeGroupDelay(t)},Gt.prototype.toString=function(){return"Numerator: "+this.N_1+"\nDenominator: "+this.D_1+"\n"},Gt.$metadata$=m("Rational"),Ht.prototype.set__realPart_f7bi4z_k$=function(t){this._realPart_1=t},Ht.prototype.get__realPart_47rtll_k$=function(){return this._realPart_1},Ht.prototype.set__imagPart_dn087_k$=function(t){this._imagPart_1=t},Ht.prototype.get__imagPart_47qodp_k$=function(){return this._imagPart_1},Ht.prototype.get_envelope_5cdspl_k$=function(){var t=new Float32Array(this._realPart_1.length),e=0,r=this._realPart_1.length-1|0;if(e<=r)do{var n,i=e;e=e+1|0;var o=this._realPart_1[i]*this._realPart_1[i]+this._imagPart_1[i]*this._imagPart_1[i];n=Math.sqrt(o),t[i]=n}while(e<=r);return t},Ht.prototype.getRealPart=function(){return this._realPart_1.slice()},Ht.prototype.getImagPart=function(){return this._imagPart_1.slice()},Ht.$metadata$=m("ComplexAnalyticSignal"),Object.defineProperty(Ht.prototype,"envelope",{configurable:!0,get:Ht.prototype.get_envelope_5cdspl_k$}),Kt.prototype.interpolate=function(t,e){Z().stretchArray(t,this.rate_1,this.buffer_1),this.overlapAdd_1.filter(this.buffer_1,0,e,0)},Kt.$metadata$=m("Interpolator"),re.prototype.filter=function(t,e,r,n){if(t.length!==this.blockSize_1)throw w("Data array length not equal to blockSize");var i=0,o=j(this.segment_1).length-1|0;if(i<=o)do{var _=i;i=i+1|0,j(this.segment_1)[_]=0}while(i<=o);var s=0,a=this.blockSize_1;if(s<=a)do{var u=s;s=s+1|0,j(this.segment_1)[u]=t[u+e|0]}while(u!==a);j(this.fft_1).evaluate(j(this.segment_1),j(this.transform_1)),Et().dftProduct(j(this.kernel_1),j(this.transform_1),1),j(this.fft_1).evaluateInverse(j(this.transform_1),j(this.segment_1));var h=0,p=this.nfft_1-1|0;if(h<=p)do{var c=h;h=h+1|0;var f=this.shiftRegister_1,l=c;f[l]=f[l]+j(this.segment_1)[c]}while(c!==p);var y=0,$=this.blockSize_1;if(y<=$)do{var d=y;y=y+1|0,r[d+n|0]=this.shiftRegister_1[d]}while(d!==$);Z().zeroShiftArray(this.shiftRegister_1,0|-this.blockSize_1)},re.prototype.flush=function(t,e){var r=0,n=this.blockSize_1;if(r<=n)do{var i=r;r=r+1|0,t[i+e|0]=this.shiftRegister_1[i]}while(i!==n);Z().zeroShiftArray(this.shiftRegister_1,0|-this.blockSize_1)},re.$metadata$=m("OverlapAdd"),ne.prototype.desiredResponse_yw2r0a_k$=function(t){var e=0;return this.LTE(this.bands_1[0][0],t)&&this.LTE(t,this.bands_1[0][1])&&(e=-k()*t/this.delta_1),e},ne.prototype.desiredResponse=function(t){return this.desiredResponse_yw2r0a_k$(t)},ne.prototype.weight_3hkr93_k$=function(t){var e=0;return this.LTE(this.bands_1[0][0],t)&&this.LTE(t,this.bands_1[0][1])&&(e=1/t),e},ne.prototype.weight=function(t){return this.weight_3hkr93_k$(t)},ne.$metadata$=m("CenteredDifferentiator",void 0,void 0,void 0,void 0,me.prototype),ie.prototype.desiredResponse_yw2r0a_k$=function(t){var e=0;return this.LTE(this.bands_1[0][0],t)&&this.LTE(t,this.bands_1[0][1])&&(e=1),e},ie.prototype.desiredResponse=function(t){return this.desiredResponse_yw2r0a_k$(t)},ie.prototype.weight_3hkr93_k$=function(t){var e=0;return this.LTE(this.bands_1[0][0],t)&&this.LTE(t,this.bands_1[0][1])&&(e=1),e},ie.prototype.weight=function(t){return this.weight_3hkr93_k$(t)},ie.$metadata$=m("CenteredHilbertTransform",void 0,void 0,void 0,void 0,me.prototype),oe.prototype.get_GRIDDENSITY_9wle8p_k$=function(){return this.GRIDDENSITY_1},oe.$metadata$=v("Companion"),se.prototype.set_grid_bp7z6u_k$=function(t){this.grid_1=t},se.prototype.get_grid_womu8f_k$=function(){var t=this.grid_1;if(null!=t)return t;b("grid")},se.prototype.set_gridSize_fddnyk_k$=function(t){this.gridSize_1=t},se.prototype.get_gridSize_qjl6ts_k$=function(){return this.gridSize_1},se.prototype.set_X_mod0ry_k$=function(t){this.X_1=t},se.prototype.get_X_1mhr5b_k$=function(){var t=this.X_1;if(null!=t)return t;b("X")},se.prototype.set_H_3tm5oe_k$=function(t){this.H_1=t},se.prototype.get_H_1mhr4v_k$=function(){var t=this.H_1;if(null!=t)return t;b("H")},se.prototype.set_W_9ksoj5_k$=function(t){this.W_1=t},se.prototype.get_W_1mhr5a_k$=function(){var t=this.W_1;if(null!=t)return t;b("W")},se.prototype.set_bandEdgeIndices_4o2nof_k$=function(t){this.bandEdgeIndices_1=t},se.prototype.get_bandEdgeIndices_4mq7kc_k$=function(){var t=this.bandEdgeIndices_1;if(null!=t)return t;b("bandEdgeIndices")},se.prototype.set_extremaIndices_kapzx9_k$=function(t){this.extremaIndices_1=t},se.prototype.get_extremaIndices_8bux3s_k$=function(){var t=this.extremaIndices_1;if(null!=t)return t;b("extremaIndices")},se.prototype.set_containsZero_c9ryd7_k$=function(t){this.containsZero_1=t},se.prototype.get_containsZero_uv6ez4_k$=function(){return this.containsZero_1},se.prototype.set_containsPi_d8e76c_k$=function(t){this.containsPi_1=t},se.prototype.get_containsPi_hrrp4v_k$=function(){return this.containsPi_1},se.prototype.toString=function(){var t="",e=0,r=0,n=0,i=this.gridSize_1-1|0;if(n<=i)do{var o=n;n=n+1|0;var _=this.get_grid_womu8f_k$()[o],s=S(C(o))+" "+_+" "+this.get_X_1mhr5b_k$()[o]+" "+this.get_H_1mhr4v_k$()[o]+" "+this.get_W_1mhr5a_k$()[o];this.get_bandEdgeIndices_4mq7kc_k$()[r]===o&&(s+=" band edge",r=r+1|0),_===this.get_grid_womu8f_k$()[this.get_extremaIndices_8bux3s_k$()[e]]&&(s+=" extremum",e=e+1|0),t+=s+new E(I(10))}while(o!==i);return t},se.$metadata$=m("DesignGrid"),ae.prototype.desiredResponse_yw2r0a_k$=function(t){var e=0;return this.LTE(this.bands_1[1][0],t)&&this.LTE(t,this.bands_1[1][1])&&(e=1),e},ae.prototype.desiredResponse=function(t){return this.desiredResponse_yw2r0a_k$(t)},ae.prototype.weight_3hkr93_k$=function(t){var e=0;return this.LTE(this.bands_1[0][0],t)&&this.LTE(t,this.bands_1[0][1])?e=this.Ws1__1:this.LTE(this.bands_1[1][0],t)&&this.LTE(t,this.bands_1[1][1])?e=this.Wp_1:this.LTE(this.bands_1[2][0],t)&&this.LTE(t,this.bands_1[2][1])&&(e=this.Ws2__1),e},ae.prototype.weight=function(t){return this.weight_3hkr93_k$(t)},ae.$metadata$=m("EquirippleBandpass",void 0,void 0,void 0,void 0,ke.prototype),ue.prototype.remez=function(t){var e=t.get_extremaIndices_8bux3s_k$().length,r=A(),n=new Float64Array(t.gridSize_1),i=new Float64Array(t.gridSize_1),o=0;t:do{var _=this.computeDelta(t),s=this.constructInterpolatingPolynomial(t,_),a=0,u=t.gridSize_1-1|0;if(a<=u)do{var h=a;a=a+1|0,i[h]=s.evaluateAt(t.get_X_1mhr5b_k$()[h]),n[h]=i[h]-t.get_H_1mhr4v_k$()[h]}while(h!==u);r.clear_j9y8zo_k$();var p=0,c=0,f=e-1|0;if(c<=f)do{var l=c;c=c+1|0;var y=t.get_extremaIndices_8bux3s_k$()[l],$=this.sgn(n[y]),d=y+1|0;if(d=0)e:for(;this.sgn(n[d]-n[d+1|0])===$&&!((d=d-1|0)<0););d=d+1|0}r.add_1j60pz_k$(d),d!==y&&(p=p+1|0)}while(l!==f);if(t.containsZero_1&&t.containsPi_1){var k=t.gridSize_1-1|0;if(r.contains_2ehdt1_k$(0)){if(!r.contains_2ehdt1_k$(k)&&this.sgn(n[k])!==this.sgn(n[t.get_extremaIndices_8bux3s_k$()[e-1|0]])){var g=n[k],m=Math.abs(g),v=n[0];m>Math.abs(v)&&(r.removeAt_qvpkxi_k$(0),r.add_1j60pz_k$(k),p=p+1|0)}}else if(r.contains_2ehdt1_k$(k)&&this.sgn(n[0])!==this.sgn(n[t.get_extremaIndices_8bux3s_k$()[0]])){var w=n[0],b=Math.abs(w),x=n[k];b>Math.abs(x)&&(r.removeAt_qvpkxi_k$(r.get_size_woubt6_k$()-1|0),r.add_ydlf05_k$(0,0),p=p+1|0)}}if(0===p)break t;var j=0,I=e-1|0;if(j<=I)do{var E=j;j=j+1|0,t.get_extremaIndices_8bux3s_k$()[E]=r.get_fkrdnv_k$(E)}while(E!==I);o=o+1|0}while(o0?1:t<0?-1:0},ue.$metadata$=v("EquirippleDesigner"),pe.prototype.get_MACHINETOLERANCE_yw6kj3_k$=function(){return this.MACHINETOLERANCE_1},pe.$metadata$=v("Companion"),Object.defineProperty(pe.prototype,"MACHINETOLERANCE",{configurable:!0,get:pe.prototype.get_MACHINETOLERANCE_yw6kj3_k$}),fe.prototype.set_numBands_se5e1n_k$=function(t){this.numBands_1=t},fe.prototype.get_numBands_7jdbr5_k$=function(){return this.numBands_1},fe.prototype.set_N_hmx2g1_k$=function(t){this.N_1=t},fe.prototype.get_N_1mhr51_k$=function(){return this.N_1},fe.prototype.set_Nc_147wda_k$=function(t){this.Nc_1=t},fe.prototype.get_Nc_kntoki_k$=function(){return this.Nc_1},fe.prototype.set_bands_v2glr4_k$=function(t){this.bands_1=t},fe.prototype.get_bands_ip1jn9_k$=function(){return this.bands_1},fe.prototype.set__coefficients_wl2gmb_k$=function(t){this._coefficients_1=t},fe.prototype.get__coefficients_hv8wpg_k$=function(){return this._coefficients_1},fe.prototype.getCoefficients=function(){var t=this._coefficients_1,e=null==t?null:t.slice();if(null==e)throw N("Should not happen, access to coefficients before initialized.");return e},fe.prototype.set_implementation_v6iu10_k$=function(t){this.implementation_1=t},fe.prototype.get_implementation_9txf7p_k$=function(){return this.implementation_1},fe.prototype.createGrid=function(){var t=new se,e=new Int32Array(this.numBands_1),r=0,n=0,i=this.numBands_1-1|0;if(n<=i)do{var o=n;n=n+1|0,r+=this.bands_1[o][1]-this.bands_1[o][0]}while(o!==i);var _=(this.N_1+1|0)-d(2,this.numBands_1)|0,s=0,a=0,u=0,h=0,p=this.numBands_1-1|0;if(h<=p)do{var c=h;h=h+1|0;var f=this.bands_1[c][1]-this.bands_1[c][0];e[c]=T(X(_*f/r))+2|0,e[c]>u&&(u=e[c],a=c),s=s+e[c]|0}while(c!==p);for(;s<(this.N_1+1|0);){var l=e,y=a,$=l[y];l[y]=$+1|0,s=s+1|0}for(;s>(this.N_1+1|0);){var g=e,m=a,v=g[m];g[m]=v-1|0,s=s-1|0}t.bandEdgeIndices_1=new Int32Array(d(this.numBands_1,2)),t.extremaIndices_1=new Int32Array(this.N_1+1|0);var w,b=A(),x=0,j=0,I=0,E=0,C=this.numBands_1-1|0;if(E<=C)do{var S=E;E=E+1|0;var q=this.bands_1[S][1]-this.bands_1[S][0],N=1+d(e[S]-1|0,_e().GRIDDENSITY_1)|0,O=q/(N-1|0),M=this.bands_1[S][0],R=0,L=N-1|0;if(R<=L)do{var B=R;R=R+1|0;var F=M+O*B;if(b.add_1j60pz_k$(F),0===(B%_e().GRIDDENSITY_1|0)){if(0!==B&&B!==(N-1|0)){var U,D=3*z().nextFloat_jqti5l_k$();U=Math.floor(D),w=P(U)-1|0}else w=0;var V=j;j=V+1|0,t.get_extremaIndices_8bux3s_k$()[V]=x+w|0}0!==B&&B!==(N-1|0)||(t.get_bandEdgeIndices_4mq7kc_k$()[I]=x,I=I+1|0),x=x+1|0}while(B!==L)}while(S!==C);t.gridSize_1=b.get_size_woubt6_k$(),t.grid_1=new Float64Array(t.gridSize_1),t.X_1=new Float64Array(t.gridSize_1),t.H_1=new Float64Array(t.gridSize_1),t.W_1=new Float64Array(t.gridSize_1);var Y=0,Z=t.gridSize_1-1|0;if(Y<=Z)do{var W=Y;Y=Y+1|0,t.get_grid_womu8f_k$()[W]=b.get_fkrdnv_k$(W);var G,H=t.get_X_1mhr5b_k$(),K=t.get_grid_womu8f_k$()[W]*k();G=Math.cos(K),H[W]=G}while(W!==Z);return t},fe.prototype.generateCoefficients=function(){var t=this.createGrid();this.populateGrid(t),he().remez(t),this._coefficients_1=this.interpretCoefficients(he().calculateCoefficients(t,this.Nc_1))},fe.prototype.getImplementation=function(t){return Jt(this.getCoefficients(),t)},fe.prototype.filter=function(t){for(var e=16,r=4,n=this.getCoefficients(),i=(t.length+n.length|0)-1|0;e=0;)r>0?(e-=this.k_1[r-1|0]*this.state_1[r-1|0],this.state_1[r]=this.k_1[r-1|0]*e+this.state_1[r-1|0]):this.state_1[r]=e,r=r-1|0;return this.state_1[this.order_1]},Ce.prototype.filter=function(t){var e=0,r=t.length-1|0;if(e<=r)do{var n=e;e=e+1|0,t[n]=this.filterSingle(t[n])}while(e<=r)},Ce.prototype.evaluate=function(t){var e=Le().exp(new Be(0,-t));return this.T.evaluateComplex(e)},Ce.prototype.groupDelay=function(t){return this.T.discreteTimeGroupDelay(t)},Ce.prototype.constructRationalRepresentation=function(){var t=new Float64Array(this.order_1+1|0),e=new Float64Array(this.order_1+1|0);t[0]=1;var r=0,n=this.order_1-1|0;if(r<=n)do{var i=r;r=r+1|0;var o=0,_=e.length-1|0;if(o<=_)do{var s=o;o=o+1|0,e[s]=0}while(o<=_);for(var a=0;a<=i;){var u=e,h=a;u[h]=u[h]+t[a];var p=e,c=a+1|0;p[c]=p[c]+this.k_1[i]*t[i-a|0],a=a+1|0}var f=0,l=i+2|0;if(f<=l)do{var y=f;f=f+1|0,t[y]=e[y]}while(y!==l)}while(i!==n);var $=0,d=e.length-1|0;if($<=d)do{var k=$;$=$+1|0,e[k]=0}while($<=d);var g=0,m=this.order_1;if(g<=m)do{var v=g;g=g+1|0,e[v]=t[this.order_1-v|0]}while(v!==m);this.T_1=Dt(Xt(e),Xt(t))},Ce.prototype.rationalRepresentation=function(){return Yt(this.T)},Ce.prototype.toString=function(){var t="Allpass _order: "+this.order_1+new E(I(10)),e=0,r=this.order_1-1|0;if(e<=r)do{var n=e;e=e+1|0,t=n{n.d(t,{$:()=>l});var s=n(4414);const l=e=>{const{className:t,label:n,onClick:l}=e;return(0,s.jsx)("button",{className:"w-full text-white font-medium text-sm shadow-lg rounded-lg py-2 ".concat(null!==t&&void 0!==t?t:""),onClick:l,children:n})}},5660:(e,t,n)=>{n.d(t,{l:()=>g});var s=n(6583),l=n(33),i=n(8170),o=n(8874),a=n(9925),r=n(5979),c=n(3788),d=n(5383),u=n(4322),m=n(9739),v=n(226),x=n(9950),h=n(4414);const g=e=>{const{open:t,title:n,content:g,cancelText:p,submitText:f,placeholder:b,defaultValue:w,inputType:j,onSubmit:y,onClose:N,selectOptions:_}=e,A=(0,x.useRef)(null),[C,k]=(0,x.useState)("");return(0,x.useEffect)((()=>{var e;k(null!==(e=null===_||void 0===_?void 0:_[0].value)&&void 0!==e?e:"")}),[_]),(0,h.jsxs)(s.A,{onClose:N,open:t,children:[(0,h.jsx)(l.A,{children:n}),(0,h.jsxs)(i.A,{children:[g&&(0,h.jsx)(o.A,{children:g}),"select"!==j?(0,h.jsx)(a.A,{autoFocus:!0,fullWidth:!0,ref:A,className:"mt-8",type:j,label:b,defaultValue:w}):(0,h.jsxs)(r.A,{sx:{my:2},fullWidth:!0,children:[(0,h.jsx)(c.A,{id:"select",children:b}),(0,h.jsx)(d.A,{labelId:"select",label:b,defaultValue:null===_||void 0===_?void 0:_[0].value,onChange:e=>{let{target:t}=e;return k(null===t||void 0===t?void 0:t.value)},children:null===_||void 0===_?void 0:_.map((e=>{let{value:t,label:n}=e;return(0,h.jsx)(u.A,{value:t,children:n},t)}))})]})]}),(0,h.jsxs)(m.A,{children:[p&&(0,h.jsx)(v.A,{onClick:N,children:p}),(0,h.jsx)(v.A,{onClick:()=>{var e,t;y&&y("select"===j?C:null!==(e=null===(t=A.current)||void 0===t?void 0:t.value)&&void 0!==e?e:"")},children:f})]})]})}},898:(e,t,n)=>{n.d(t,{Z:()=>l});var s=n(4414);const l=e=>{const{embedded:t,className:n,label:l,sublabel:i,children:o}=e;return(0,s.jsx)("div",{className:"w-full text-gray-800",children:(0,s.jsxs)("div",{className:"flex flex-col shadow-lg rounded-lg",children:[(0,s.jsxs)("div",{className:"px-4 py-3 font-bold",children:[i&&(0,s.jsx)("h6",{className:"text-gray-500 text-xs",children:i}),(0,s.jsx)("h2",{className:t?"text-md":"text-lg",children:l})]}),(0,s.jsx)("div",{className:"p-4 m-2 flex flex-col justify-center gap-4 ".concat(null!==n&&void 0!==n?n:""),children:o})]})})}},9693:(e,t,n)=>{n.d(t,{l:()=>x});var s=n(6583),l=n(8060),i=n(3239),o=n(2053),a=n(226),r=n(249),c=n(2610),d=n(7357),u=n(3563),m=n(4745),v=n(4414);const x=e=>{const{title:t,open:n,options:x,onClose:h,onSelect:g}=e;return(0,v.jsxs)(s.A,{fullWidth:!0,onClose:h,open:n,children:[(0,v.jsx)(l.A,{className:"bg-violet-500",sx:{position:"relative"},children:(0,v.jsxs)(i.A,{children:[(0,v.jsx)(o.A,{sx:{mt:1,ml:1,flex:1},variant:"h6",children:t}),(0,v.jsx)(a.A,{autoFocus:!0,color:"inherit",onClick:h,children:"X"})]})}),(0,v.jsx)(r.A,{children:!(null===x||void 0===x||!x.length)&&x.map((e=>e.length>1&&(0,v.jsxs)("div",{children:[(0,v.jsx)(c.Ay,{children:(0,v.jsx)(d.A,{onClick:()=>g&&g(e[1]),children:(0,v.jsx)(u.A,{primary:e[0],secondary:e[3===e.length?2:1].split("\n").map((e=>(0,v.jsxs)("span",{children:[e,(0,v.jsx)("br",{})]},e)))})})}),(0,v.jsx)(m.A,{})]},e[1])))})]})}},3740:(e,t,n)=>{n.d(t,{w:()=>l});var s=n(5887);const l=function(e){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2e3;arguments.length>1&&void 0!==arguments[1]&&arguments[1]?s.Ay.error(e,{duration:t}):s.Ay.success(e,{duration:t})}},1045:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});var s=n(9950),l=n(5297),i=n(5242),o=n(898),a=n(7818),r=n(3740),c=n(5887),d=n(4414);var u=n(2569),m=n(9145),v=n(5660),x=n(3060),h=n(9693),g=n(1596);const p=()=>{var e,t,n,p,f,b,w;const{t:j}=(0,a.Bd)(),y=(0,u.wA)(),{retention:N,duration:_,scales:A}=m.c,C=()=>setTimeout((()=>window.location.reload()),2500),[k,T]=(0,s.useState)({open:!1,inputType:"number"}),S=()=>T({...k,open:!1}),q=e=>{if(null!==e&&void 0!==e&&e.length){const t=parseInt(e),{maximum:n,minimum:s}=N;if(isNaN(t)||tn)return;(0,r.w)(j("views.setting.toasts.retention_set",{current:t})),y((0,x.L)(t)),S(),C()}else T({...k,open:!0,values:{...N},onSubmit:q,cancelText:"views.setting.forms.waveform_retention.cancel",submitText:"views.setting.forms.waveform_retention.submit",title:"views.setting.forms.waveform_retention.title",content:"views.setting.forms.waveform_retention.content",placeholder:"views.setting.forms.waveform_retention.placeholder"})},[F,I]=(0,s.useState)({open:!1}),L=()=>I({...F,open:!1}),V=e=>{if(null!==e&&void 0!==e&&e.length){if(A.some((t=>t.property().value===e))){var t;const n=null===(t=A.find((t=>t.property().value===e)))||void 0===t?void 0:t.property().name;(0,r.w)(j("views.setting.toasts.scale_changed",{scale:n})),y((0,g.L)(e)),L(),C()}}else I({...F,open:!0,onSelect:V,title:"views.setting.selects.choose_scale.title",options:A.map((e=>{let{property:t}=e;const{name:n,value:s}=t();return[n,s]}))})},{retention:W}=(0,u.d4)((e=>{let{retention:t}=e;return t})),{duration:O}=(0,u.d4)((e=>{let{duration:t}=e;return t})),{scale:Z}=(0,u.d4)((e=>{let{scale:t}=e;return t})),$=(null===(e=A.find((e=>e.property().value===Z)))||void 0===e?void 0:e.property().name)||"Unknown",[B]=(0,s.useState)([{label:"views.setting.panels.waveform_retention",content:"views.setting.contents.waveform_retention",button:"views.setting.buttons.waveform_retention",className:"bg-teal-700 hover:bg-teal-800",onClick:q,values:{current:W,...N}},{label:"views.setting.panels.query_duration",content:"views.setting.contents.query_duration",button:"views.setting.buttons.query_duration",className:"bg-lime-700 hover:bg-lime-800",onClick:e=>{if(null!==e&&void 0!==e&&e.length){const t=parseInt(e),{maximum:n,minimum:s}=N;if(isNaN(t)||tn)return;(0,r.w)(j("views.setting.toasts.duration_set",{current:t})),y((0,x.L)(t)),S(),C()}else T({...k,open:!0,values:{..._},onSubmit:q,cancelText:"views.setting.forms.query_duration.cancel",submitText:"views.setting.forms.query_duration.submit",title:"views.setting.forms.query_duration.title",content:"views.setting.forms.query_duration.content",placeholder:"views.setting.forms.query_duration.placeholder"})},values:{current:O,..._}},{label:"views.setting.panels.select_scale",button:"views.setting.buttons.select_scale",className:"bg-sky-700 hover:bg-sky-800",content:"views.setting.contents.select_scale",onClick:V,values:{scale:$}},{label:"views.setting.panels.purge_cache",content:"views.setting.contents.purge_cache",button:"views.setting.buttons.purge_cache",className:"bg-pink-700 hover:bg-pink-800",onClick:()=>{((e,t)=>{let{title:n="Confirmation",cancelText:s="Cancel",confirmText:l="OK",onConfirmed:i,onCancelled:o,timeout:a=3e4}=t;c.Ay.custom((t=>{let{visible:a,id:r}=t;return(0,d.jsxs)("div",{className:"animate-fade animate-duration-300 max-w-md w-full bg-white shadow-lg rounded-lg flex border ".concat(a?"block":"hidden"),children:[(0,d.jsx)("div",{className:"flex-1 p-4",children:(0,d.jsx)("div",{className:"flex items-start",children:(0,d.jsxs)("div",{className:"ml-3 flex-1",children:[(0,d.jsx)("p",{className:"text-sm font-medium text-gray-900",children:n}),(0,d.jsx)("p",{className:"mt-1 text-sm text-gray-500",children:e})]})})}),(0,d.jsxs)("div",{className:"flex border-gray-200 gap-2 items-center justify-center m-2",children:[(0,d.jsx)("button",{onClick:()=>{c.Ay.dismiss(r),i()},className:"w-full border rounded-lg px-3 py-2 flex text-sm font-medium text-white bg-red-500 hover:bg-red-700 ",children:l}),(0,d.jsx)("button",{onClick:()=>{c.Ay.dismiss(r),o&&o()},className:"w-full border rounded-lg px-3 py-2 flex text-sm font-medium hover:bg-gray-300",children:s})]})]})}),{duration:a})})(j("views.setting.toasts.confirm_purge"),{title:j("views.setting.toasts.confirm_title"),confirmText:j("views.setting.toasts.confirm_button"),cancelText:j("views.setting.toasts.cancel_button"),onConfirmed:()=>{(0,r.w)(j("views.setting.toasts.cache_purged")),localStorage.clear(),C()}})}}]);return(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)(l.m,{className:"gap-4 grid md:grid-cols-2",children:[B.map((e=>{let{label:t,content:n,button:s,className:l,onClick:a,values:r}=e;return(0,d.jsxs)(o.Z,{className:"",label:j(t),children:[j(n,{...r}).split("\n").map((e=>(0,d.jsx)("div",{children:e},e))),(0,d.jsx)(i.$,{label:j(s),className:l,onClick:()=>a()})]},t)})),(0,d.jsx)(v.l,{...k,onClose:S,title:j(null!==(t=k.title)&&void 0!==t?t:""),cancelText:j(null!==(n=k.cancelText)&&void 0!==n?n:""),submitText:j(null!==(p=k.submitText)&&void 0!==p?p:""),placeholder:j(null!==(f=k.placeholder)&&void 0!==f?f:""),content:j(null!==(b=k.content)&&void 0!==b?b:"",{...k.values})}),(0,d.jsx)(h.l,{...F,onClose:L,title:j(null!==(w=F.title)&&void 0!==w?w:"")})]})})}}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/548.a7a825fc.chunk.js b/frontend/dist/static/js/548.a7a825fc.chunk.js new file mode 100644 index 00000000..a180f446 --- /dev/null +++ b/frontend/dist/static/js/548.a7a825fc.chunk.js @@ -0,0 +1 @@ +(self.webpackChunksrc=self.webpackChunksrc||[]).push([[548],{1274:function(t,e,i){var s;"undefined"!=typeof self&&self,t.exports=(s=i(9950),function(t){function e(s){if(i[s])return i[s].exports;var o=i[s]={i:s,l:!1,exports:{}};return t[s].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,s){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:s})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,i){"use strict";function s(){return s=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var i=0,s=new Array(e);iparseInt(i.userAgent.split("Firefox/")[1],10),i.hasTouch=!!i.win.TouchEvent,i.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],i.noop=function(){},i.supportsPassiveEvents=function(){let t=!1;if(!i.isMS){let e=Object.defineProperty({},"passive",{get:function(){t=!0}});i.win.addEventListener&&i.win.removeEventListener&&(i.win.addEventListener("testPassive",i.noop,e),i.win.removeEventListener("testPassive",i.noop,e))}return t}(),i.charts=[],i.composed=[],i.dateFormats={},i.seriesTypes={},i.symbolSizes={},i.chartCount=0,e})),i(e,"Core/Utilities.js",[e["Core/Globals.js"]],(function(t){let e,{charts:i,doc:s,win:o}=t;function r(e,i,s,n){let a=i?"Highcharts error":"Highcharts warning";32===e&&(e="".concat(a,": Deprecated member"));let l=p(e),h=l?"".concat(a," #").concat(e,": www.highcharts.com/errors/").concat(e,"/"):e.toString();if(void 0!==n){let t="";l&&(h+="?"),k(n,(function(e,i){t+="\n - ".concat(i,": ").concat(e),l&&(h+=encodeURI(i)+"="+encodeURI(e))})),h+=t}M(t,"displayError",{chart:s,code:e,message:h,params:n},(function(){if(i)throw Error(h);o.console&&-1===r.messages.indexOf(h)&&console.warn(h)})),r.messages.push(h)}function n(t,e){return parseInt(t,e||10)}function a(t){return"string"==typeof t}function l(t){let e=Object.prototype.toString.call(t);return"[object Array]"===e||"[object Array Iterator]"===e}function h(t,e){return!!t&&"object"==typeof t&&(!e||!l(t))}function d(t){return h(t)&&"number"==typeof t.nodeType}function c(t){let e=t&&t.constructor;return!(!h(t,!0)||d(t)||!e||!e.name||"Object"===e.name)}function p(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&t>-1/0}function u(t){return null!=t}function g(t,e,i){let s,o=a(e)&&!u(i),r=(e,i)=>{u(e)?t.setAttribute(i,e):o?(s=t.getAttribute(i))||"class"!==i||(s=t.getAttribute(i+"Name")):t.removeAttribute(i)};return a(e)?r(i,e):k(e,r),s}function f(t){return l(t)?t:[t]}function m(t,e){let i;for(i in t||(t={}),e)t[i]=e[i];return t}function x(){let t=arguments,e=t.length;for(let i=0;i1e14?t:parseFloat(t.toPrecision(e||14))}(r||(r={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};let S=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){let i,s=t.length;for(i=0;it.order-e.order)),t.forEach((t=>{!1===t.fn.call(e,o)&&o.preventDefault()}))}r&&!o.defaultPrevented&&r.call(e,o)}k({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(e,i){t[i]=function(t){return r(32,!1,void 0,{["Highcharts.".concat(i)]:"use Array.".concat(e)}),Array.prototype[e].apply(t,[].slice.call(arguments,1))}}));let C=function(){let t=Math.random().toString(36).substring(2,9)+"-",i=0;return function(){return"highcharts-"+(e?"":t)+i++}}();o.jQuery&&(o.jQuery.fn.highcharts=function(){let e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[a(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):i[g(this[0],"data-highcharts-chart")]});let T={addEvent:function(e,i,s){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(r,"hcEvents")||(r.hcEvents={});let n=r.hcEvents;t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);let a=e.addEventListener;a&&a.call(e,i,s,!!t.supportsPassiveEvents&&{passive:void 0===o.passive?-1!==i.indexOf("touch"):o.passive,capture:!1}),n[i]||(n[i]=[]);let l={fn:s,order:"number"==typeof o.order?o.order:1/0};return n[i].push(l),n[i].sort(((t,e)=>t.order-e.order)),function(){A(e,i,s)}},arrayMax:function(t){let e=t.length,i=t[0];for(;e--;)t[e]>i&&(i=t[e]);return i},arrayMin:function(t){let e=t.length,i=t[0];for(;e--;)t[e]e?t-1&&o[d]){i=f(i),r[d]=[];for(let e=0;e{if(t.length>1)for(o=t.length-1;o>0;o--){var n;(s=t[o]-t[o-1])<0&&!r?(null!==(n=e)&&void 0!==n&&n(),e=void 0):s&&(void 0===i||s=i-1&&(i=Math.floor(s)),Math.max(0,i-(t(e,"padding-left",!0)||0)-(t(e,"padding-right",!0)||0))}if("height"===i)return Math.max(0,Math.min(e.offsetHeight,e.scrollHeight)-(t(e,"padding-top",!0)||0)-(t(e,"padding-bottom",!0)||0));let a=o.getComputedStyle(e,void 0);return a&&(r=a.getPropertyValue(i),x(s,"opacity"!==i)&&(r=n(r))),r},inArray:function(t,e,i){return r(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),e.indexOf(t,i)},insertItem:function(t,e){let i,s=t.options.index,o=e.length;for(i=t.options.isInternal?o:0;i=t))&&(o||!(a<=(e[r]+(e[r+1]||e[r]))/2)));r++);return v(n*i,-Math.round(Math.log(.001)/Math.LN10))},objectEach:k,offset:function(t){let e=s.documentElement,i=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:i.top+(o.pageYOffset||e.scrollTop)-(e.clientTop||0),left:i.left+(o.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:i.width,height:i.height}},pad:function(t,e,i){return Array((e||2)+1-String(t).replace("-","").length).join(i||"0")+t},pick:x,pInt:n,pushUnique:function(t,e){return 0>t.indexOf(e)&&!!t.push(e)},relativeLength:function(t,e,i){return/%$/.test(t)?e*parseFloat(t)/100+(i||0):parseFloat(t)},removeEvent:A,splat:f,stableSort:function(t,e){let i,s,o=t.length;for(s=0;s0?setTimeout(t,e,i):(t.call(0,i),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:C,useSerialIds:function(t){return e=x(t,e)},wrap:function(t,e,i){let s=t[e];t[e]=function(){let t=arguments,e=this;return i.apply(this,[function(){return s.apply(e,arguments.length?arguments:t)}].concat([].slice.call(arguments)))}}};return T})),i(e,"Core/Chart/ChartDefaults.js",[],(function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}})),i(e,"Core/Color/Palettes.js",[],(function(){return{colors:["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"]}})),i(e,"Core/Time.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e){let{win:i}=t,{defined:s,error:o,extend:r,isNumber:n,isObject:a,merge:l,objectEach:h,pad:d,pick:c,splat:p,timeUnits:u}=e,g=t.isSafari&&i.Intl&&i.Intl.DateTimeFormat.prototype.formatRange,f=t.isSafari&&i.Intl&&!i.Intl.DateTimeFormat.prototype.formatRange;return class{constructor(t){this.options={},this.useUTC=!1,this.variableTimezone=!1,this.Date=i.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}get(t,e){if(this.variableTimezone||this.timezoneOffset){let i=e.getTime(),s=i-this.getTimezoneOffset(e);e.setTime(s);let o=e["getUTC"+t]();return e.setTime(i),o}return this.useUTC?e["getUTC"+t]():e["get"+t]()}set(t,e,i){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&this.getTimezoneOffset(e)%36e5==0)return e["setUTC"+t](i);let s=this.getTimezoneOffset(e),o=e.getTime()-s;e.setTime(o),e["setUTC"+t](i);let r=this.getTimezoneOffset(e);return o=e.getTime()+r,e.setTime(o)}return this.useUTC||g&&"FullYear"===t?e["setUTC"+t](i):e["set"+t](i)}update(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=c(t.useUTC,!0);this.options=t=l(!0,this.options,t),this.Date=t.Date||i.Date||Date,this.useUTC=e,this.timezoneOffset=e&&t.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)}makeTime(t,e,i,s,o,r){let n,a,l;return this.useUTC?(n=this.Date.UTC.apply(0,arguments),a=this.getTimezoneOffset(n),n+=a,a!==(l=this.getTimezoneOffset(n))?n+=l-a:a-36e5!==this.getTimezoneOffset(n-36e5)||f||(n-=36e5)):n=new this.Date(t,e,c(i,1),c(s,0),c(o,0),c(r,0)).getTime(),n}timezoneOffsetFunction(){let t=this,e=this.options,i=e.getTimezoneOffset;return this.useUTC?e.timezone?t=>{try{let[i,s,o,r,a=0]=Intl.DateTimeFormat("en",{timeZone:e.timezone,timeZoneName:"shortOffset"}).format(t).split(/(GMT|:)/).map(Number),l=-36e5*(o+a/60);if(n(l))return l}catch(t){o(34)}return 0}:this.useUTC&&i?t=>6e4*i(t.valueOf()):()=>6e4*(t.timezoneOffset||0):t=>6e4*new Date(t.toString()).getTimezoneOffset()}dateFormat(e,i,o){if(!s(i)||isNaN(i))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=c(e,"%Y-%m-%d %H:%M:%S");let n=this,a=new this.Date(i),l=this.get("Hours",a),p=this.get("Day",a),u=this.get("Date",a),g=this.get("Month",a),f=this.get("FullYear",a),m=t.defaultOptions.lang,x=m&&m.weekdays,b=m&&m.shortWeekdays,y=r({a:b?b[p]:x[p].substr(0,3),A:x[p],d:d(u),e:d(u,2," "),w:p,b:m.shortMonths[g],B:m.months[g],m:d(g+1),o:g+1,y:f.toString().substr(2,2),Y:f,H:d(l),k:l,I:d(l%12||12),l:l%12||12,M:d(this.get("Minutes",a)),p:l<12?"AM":"PM",P:l<12?"am":"pm",S:d(this.get("Seconds",a)),L:d(Math.floor(i%1e3),3)},t.dateFormats);return h(y,(function(t,s){for(;-1!==e.indexOf("%"+s);)e=e.replace("%"+s,"function"==typeof t?t.call(n,i):t)})),o?e.substr(0,1).toUpperCase()+e.substr(1):e}resolveDTLFormat(t){return a(t,!0)?t:{main:(t=p(t))[0],from:t[1],to:t[2]}}getTimeTicks(t,e,i,o){let n,a,l,h,d=this,p=d.Date,g=[],f={},m=new p(e),x=t.unitRange,b=t.count||1;if(o=c(o,1),s(e)){d.set("Milliseconds",m,x>=u.second?0:b*Math.floor(d.get("Milliseconds",m)/b)),x>=u.second&&d.set("Seconds",m,x>=u.minute?0:b*Math.floor(d.get("Seconds",m)/b)),x>=u.minute&&d.set("Minutes",m,x>=u.hour?0:b*Math.floor(d.get("Minutes",m)/b)),x>=u.hour&&d.set("Hours",m,x>=u.day?0:b*Math.floor(d.get("Hours",m)/b)),x>=u.day&&d.set("Date",m,x>=u.month?1:Math.max(1,b*Math.floor(d.get("Date",m)/b))),x>=u.month&&(d.set("Month",m,x>=u.year?0:b*Math.floor(d.get("Month",m)/b)),a=d.get("FullYear",m)),x>=u.year&&(a-=a%b,d.set("FullYear",m,a)),x===u.week&&(h=d.get("Day",m),d.set("Date",m,d.get("Date",m)-h+o+(h4*u.month||d.getTimezoneOffset(e)!==d.getTimezoneOffset(i));let p=m.getTime();for(n=1;p1?p=d.makeTime(a,t,r,c+n*b):p+=x*b:p=d.makeTime(a,t,r+n*b*(x===u.day?1:7)),n++;g.push(p),x<=u.hour&&g.length<1e4&&g.forEach((function(t){t%18e5==0&&"000000000"===d.dateFormat("%H%M%S%L",t)&&(f[t]="day")}))}return g.info=r(t,{higherRanks:f,totalRange:x*b}),g}getDateFormat(t,e,i,s){let o=this.dateFormat("%m-%d %H:%M:%S.%L",e),r="01-01 00:00:00.000",n={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond",l=a;for(a in u){if(t===u.week&&+this.dateFormat("%w",e)===i&&o.substr(6)===r.substr(6)){a="week";break}if(u[a]>t){a=l;break}if(n[a]&&o.substr(n[a])!==r.substr(n[a]))break;"week"!==a&&(l=a)}return this.resolveDTLFormat(s[a]).main}}})),i(e,"Core/Defaults.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],(function(t,e,i,s,o){let{isTouchDevice:r,svg:n}=e,{merge:a}=o,l={colors:i.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",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"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:"",align:"center",widthAdjust:-44},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:n,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %e %b, %H:%M:%S.%L",second:"%A, %e %b, %H:%M:%S",minute:"%A, %e %b, %H:%M",hour:"%A, %e %b, %H:%M",day:"%A, %e %b %Y",week:"Week from %A, %e %b %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:r?25:10,headerFormat:'{point.key}
',pointFormat:'\u25cf {series.name}: {point.y}
',backgroundColor:"#ffffff",borderWidth:void 0,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}};l.chart.styledMode=!1;let h=new s(l.time);return{defaultOptions:l,defaultTime:h,getOptions:function(){return l},setOptions:function(t){return a(!0,l,t),(t.time||t.global)&&(e.time?e.time.update(a(l.global,l.time,t.global,t.time)):e.time=h),l}}})),i(e,"Core/Color/Color.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e){let{isNumber:i,merge:s,pInt:o}=e;class r{static parse(t){return t?new r(t):r.None}constructor(e){let i,s,o,n;this.rgba=[NaN,NaN,NaN,NaN],this.input=e;let a=t.Color;if(a&&a!==r)return new a(e);if("object"==typeof e&&void 0!==e.stops)this.stops=e.stops.map((t=>new r(t[1])));else if("string"==typeof e){if(this.input=e=r.names[e.toLowerCase()]||e,"#"===e.charAt(0)){let t=e.length,i=parseInt(e.substr(1),16);7===t?s=[(16711680&i)>>16,(65280&i)>>8,255&i,1]:4===t&&(s=[(3840&i)>>4|(3840&i)>>8,(240&i)>>4|240&i,(15&i)<<4|15&i,1])}if(!s)for(o=r.parsers.length;o--&&!s;)(i=(n=r.parsers[o]).regex.exec(e))&&(s=n.parse(i))}s&&(this.rgba=s)}get(t){let e=this.input,o=this.rgba;if("object"==typeof e&&void 0!==this.stops){let i=s(e);return i.stops=[].slice.call(i.stops),this.stops.forEach(((e,s)=>{i.stops[s]=[i.stops[s][0],e.get(t)]})),i}return o&&i(o[0])?"rgb"===t||!t&&1===o[3]?"rgb("+o[0]+","+o[1]+","+o[2]+")":"a"===t?"".concat(o[3]):"rgba("+o.join(",")+")":e}brighten(t){let e=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(i(t)&&0!==t)for(let i=0;i<3;i++)e[i]+=o(255*t),e[i]<0&&(e[i]=0),e[i]>255&&(e[i]=255);return this}setOpacity(t){return this.rgba[3]=t,this}tweenTo(t,e){let s=this.rgba,o=t.rgba;if(!i(s[0])||!i(o[0]))return t.input||"none";let r=1!==o[3]||1!==s[3];return(r?"rgba(":"rgb(")+Math.round(o[0]+(s[0]-o[0])*(1-e))+","+Math.round(o[1]+(s[1]-o[1])*(1-e))+","+Math.round(o[2]+(s[2]-o[2])*(1-e))+(r?","+(o[3]+(s[3]-o[3])*(1-e)):"")+")"}}return r.names={white:"#ffffff",black:"#000000"},r.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[o(t[1]),o(t[2]),o(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[o(t[1]),o(t[2]),o(t[3]),1]}}],r.None=new r(""),r})),i(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,i){let{parse:s}=t,{win:o}=e,{isNumber:r,objectEach:n}=i;class a{constructor(t,e,i){this.pos=NaN,this.options=e,this.elem=t,this.prop=i}dSetter(){let t=this.paths,e=t&&t[0],i=t&&t[1],s=this.now||0,o=[];if(1!==s&&e&&i)if(e.length===i.length&&s<1)for(let n=0;n=l+this.startTime?(this.now=this.end,this.pos=1,this.update(),h[this.prop]=!0,i=!0,n(h,(function(t){!0!==t&&(i=!1)})),i&&a&&a.call(r),e=!1):(this.pos=o.easing((s-this.startTime)/l),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0),e}initPath(t,e,i){let s,o,n,a,l=t.startX,h=t.endX,d=i.slice(),c=t.isArea,p=c?2:1,u=e&&e.slice();if(!u)return[d,d];function g(t,e){for(;t.length{let s=d(t.options.animation);a=n(e)&&i(e.defer)?o.defer:Math.max(a,s.duration+s.defer),l=Math.min(o.duration,s.duration)})),t.renderer.forExport&&(a=0),{defer:Math.max(0,a-l),duration:Math.min(a,l)}},setAnimation:function(t,e){e.renderer.globalAnimation=h(t,e.options.chart.animation,!0)},stop:c}})),i(e,"Core/Renderer/HTML/AST.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e){let{SVG_NS:i,win:s}=t,{attr:o,createElement:r,css:n,error:a,isFunction:l,isString:h,objectEach:d,splat:c}=e,{trustedTypes:p}=s,u=p&&l(p.createPolicy)&&p.createPolicy("highcharts",{createHTML:t=>t}),g=u?u.createHTML(""):"",f=function(){try{return!!(new DOMParser).parseFromString(g,"text/html")}catch(t){return!1}}();class m{static filterUserAttributes(t){return d(t,((e,i)=>{let s=!0;-1===m.allowedAttributes.indexOf(i)&&(s=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(i)&&(s=h(e)&&m.allowedReferences.some((t=>0===e.indexOf(t)))),s||(a(33,!1,void 0,{"Invalid attribute in config":"".concat(i)}),delete t[i]),h(e)&&t[i]&&(t[i]=e.replace(/{let i=e.split(":").map((t=>t.trim())),s=i.shift();return s&&i.length&&(t[s.replace(/-([a-z])/g,(t=>t[1].toUpperCase()))]=i.join(":")),t}),{})}static setElementHTML(t,e){t.innerHTML=m.emptyHTML,e&&new m(e).addToDOM(t)}constructor(t){this.nodes="string"==typeof t?this.parseMarkup(t):t}addToDOM(e){return function e(s,r){let l;return c(s).forEach((function(s){let h,c=s.tagName,p=s.textContent?t.doc.createTextNode(s.textContent):void 0,u=m.bypassHTMLFiltering;if(c)if("#text"===c)h=p;else if(-1!==m.allowedTags.indexOf(c)||u){let a="svg"===c?i:r.namespaceURI||i,l=t.doc.createElementNS(a,c),g=s.attributes||{};d(s,(function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"style"!==e&&"textContent"!==e&&(g[e]=t)})),o(l,u?g:m.filterUserAttributes(g)),s.style&&n(l,s.style),p&&l.appendChild(p),e(s.children||[],l),h=l}else a(33,!1,void 0,{"Invalid tagName in config":c});h&&r.appendChild(h),l=h})),l}(this.nodes,e)}parseMarkup(t){let e,i=[];if(t=t.trim().replace(/ style=(["'])/g," data-style=$1"),f)e=(new DOMParser).parseFromString(u?u.createHTML(t):t,"text/html");else{let i=r("div");i.innerHTML=t,e={body:i}}let s=(t,e)=>{let i=t.nodeName.toLowerCase(),o={tagName:i};"#text"===i&&(o.textContent=t.textContent||"");let r=t.attributes;if(r){let t={};[].forEach.call(r,(e=>{"data-style"===e.name?o.style=m.parseStyle(e.value):t[e.name]=e.value})),o.attributes=t}if(t.childNodes.length){let e=[];[].forEach.call(t.childNodes,(t=>{s(t,e)})),e.length&&(o.children=e)}e.push(o)};return[].forEach.call(e.body.childNodes,(t=>s(t,i))),i}}return m.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","dx","dy","disabled","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","markerHeight","markerWidth","offset","opacity","orient","padding","paddingLeft","paddingRight","patternUnits","r","refX","refY","role","scope","slope","src","startOffset","stdDeviation","stroke","stroke-linecap","stroke-width","style","tableValues","result","rowspan","summary","target","tabindex","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],m.allowedReferences=["https://","http://","mailto:","/","../","./","#"],m.allowedTags=["a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feDropShadow","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feOffset","feMerge","feMergeNode","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","text","textPath","thead","title","tbody","tspan","td","th","tr","u","ul","#text"],m.emptyHTML=g,m.bypassHTMLFiltering=!1,m})),i(e,"Core/Templating.js",[e["Core/Defaults.js"],e["Core/Utilities.js"]],(function(t,e){let{defaultOptions:i,defaultTime:s}=t,{extend:o,getNestedProperty:r,isArray:n,isNumber:a,isObject:l,isString:h,pick:d,pInt:c}=e,p={add:(t,e)=>t+e,divide:(t,e)=>0!==e?t/e:"",eq:(t,e)=>t==e,each:function(t){let e=arguments[arguments.length-1];return!!n(t)&&t.map(((i,s)=>u(e.body,o(l(i)?i:{"@this":i},{"@index":s,"@first":0===s,"@last":s===t.length-1})))).join("")},ge:(t,e)=>t>=e,gt:(t,e)=>t>e,if:t=>!!t,le:(t,e)=>t<=e,lt:(t,e)=>tt*e,ne:(t,e)=>t!=e,subtract:(t,e)=>t-e,unless:t=>!t};function u(){let t,e,o,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1?arguments[1]:void 0,l=arguments.length>2?arguments[2]:void 0,h=/\{([a-zA-Z0-9\:\.\,;\-\/<>%_@"'= #\(\)]+)\}/g,c=/\(([a-zA-Z0-9\:\.\,;\-\/<>%_@"'= ]+)\)/g,f=[],m=/f$/,x=/\.([0-9])/,b=i.lang,y=l&&l.time||s,v=l&&l.numberFormatter||g,S=function(){let t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"true"===e||"false"!==e&&((t=Number(e)).toString()===e?t:r(e,a))},k=0;for(;null!==(t=h.exec(n));){var A;let i=c.exec(t[1]);i&&(t=i,o=!0),e&&e.isBlock||(e={ctx:a,expression:t[1],find:t[0],isBlock:"#"===t[1].charAt(0),start:t.index,startInner:t.index+t[0].length,length:t[0].length});let s=t[1].split(" ")[0].replace("#","");p[s]&&(e.isBlock&&s===e.fn&&k++,e.fn||(e.fn=s));let r="else"===t[1];if(e.isBlock&&e.fn&&(t[1]==="/".concat(e.fn)||r))if(k)!r&&k--;else{let i=e.startInner,s=n.substr(i,t.index-i);void 0===e.body?(e.body=s,e.startInner=t.index+t[0].length):e.elseBody=s,e.find+=s+t[0],r||(f.push(e),e=void 0)}else e.isBlock||f.push(e);if(i&&(null===(A=e)||void 0===A||!A.isBlock))break}return f.forEach((t=>{let e,i,{body:s,elseBody:o,expression:r,fn:l}=t;if(l){let n=[t],h=r.split(" ");for(i=p[l].length;i--;)n.unshift(S(h[i+1]));e=p[l].apply(a,n),t.isBlock&&"boolean"==typeof e&&(e=u(e?s:o,a))}else{let t=r.split(":");if(e=S(t.shift()||""),t.length&&"number"==typeof e){let i=t.join(":");if(m.test(i)){let t=parseInt((i.match(x)||["","-1"])[1],10);null!==e&&(e=v(e,t,b.decimalPoint,i.indexOf(",")>-1?b.thousandsSep:""))}else e=y.dateFormat(i,e)}}n=n.replace(t.find,d(e,""))})),o?u(n,a,l):n}function g(t,e,s,o){let r,n;t=+t||0,e=+e;let l=i.lang,h=(t.toString().split(".")[1]||"").split("e")[0].length,p=t.toString().split("e"),u=e;-1===e?e=Math.min(h,20):a(e)?e&&p[1]&&p[1]<0&&((n=e+ +p[1])>=0?(p[0]=(+p[0]).toExponential(n).split("e")[0],e=n):(p[0]=p[0].split(".")[0]||0,t=e<20?(p[0]*Math.pow(10,p[1])).toFixed(e):0,p[1]=0)):e=2;let g=(Math.abs(p[1]?p[0]:t)+Math.pow(10,-Math.max(e,h)-1)).toFixed(e),f=String(c(g)),m=f.length>3?f.length%3:0;return s=d(s,l.decimalPoint),o=d(o,l.thousandsSep),r=(t<0?"-":"")+(m?f.substr(0,m)+o:""),0>+p[1]&&!u?r="0":r+=f.substr(m).replace(/(\d{3})(?=\d)/g,"$1"+o),e&&(r+=s+g.slice(-e)),p[1]&&0!=+r&&(r+="e"+p[1]),r}return{dateFormat:function(t,e,i){return s.dateFormat(t,e,i)},format:u,helpers:p,numberFormat:g}})),i(e,"Core/Renderer/RendererUtilities.js",[e["Core/Utilities.js"]],(function(t){var e;let{clamp:i,pick:s,pushUnique:o,stableSort:r}=t;return(e||(e={})).distribute=function t(e,n,a){let l,h,d,c,p,u,g=e,f=g.reducedLen||n,m=(t,e)=>t.target-e.target,x=[],b=e.length,y=[],v=x.push,S=!0,k=0;for(l=b;l--;)k+=e[l].size;if(k>f){for(r(e,((t,e)=>(e.rank||0)-(t.rank||0))),d=(u=e[0].rank===e[e.length-1].rank)?b/2:-1,h=u?d:b-1;d&&k>f;)c=e[l=Math.floor(h)],o(y,l)&&(k-=c.size),h+=d,u&&h>=e.length&&(d/=2,h=d);y.sort(((t,e)=>e-t)).forEach((t=>v.apply(x,e.splice(t,1))))}for(r(e,m),e=e.map((t=>({size:t.size,targets:[t.target],align:s(t.align,.5)})));S;){for(l=e.length;l--;)c=e[l],p=(Math.min.apply(0,c.targets)+Math.max.apply(0,c.targets))/2,c.pos=i(p-c.size*c.align,0,n-c.size);for(l=e.length,S=!1;l--;)l>0&&e[l-1].pos+e[l-1].size>e[l].pos&&(e[l-1].size+=e[l].size,e[l-1].targets=e[l-1].targets.concat(e[l].targets),e[l-1].align=.5,e[l-1].pos+e[l-1].size>n&&(e[l-1].pos=n-e[l-1].size),e.splice(l,1),S=!0)}return v.apply(g,x),l=0,e.some((e=>{let i=0;return(e.targets||[]).some((()=>(g[l].pos=e.pos+i,void 0!==a&&Math.abs(g[l].pos-g[l].target)>a?(g.slice(0,l+1).forEach((t=>delete t.pos)),g.reducedLen=(g.reducedLen||n)-.1*n,g.reducedLen>.1*n&&t(g,n,a),!0):(i+=g[l].size,l++,!1))))})),r(g,m),g},e})),i(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,i,s){let{animate:o,animObject:r,stop:n}=t,{deg2rad:a,doc:l,noop:h,svg:d,SVG_NS:c,win:p}=i,{addEvent:u,attr:g,createElement:f,css:m,defined:x,erase:b,extend:y,fireEvent:v,isArray:S,isFunction:k,isObject:A,isString:M,merge:C,objectEach:T,pick:w,pInt:P,syncTimeout:L,uniqueKey:E}=s;class O{_defaultGetter(t){let e=w(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0);return/^[\-0-9\.]+$/.test(e)&&(e=parseFloat(e)),e}_defaultSetter(t,e,i){i.setAttribute(e,t)}add(t){let e,i=this.renderer,s=this.element;return t&&(this.parentGroup=t),void 0!==this.textStr&&"text"===this.element.nodeName&&i.buildText(this),this.added=!0,(!t||t.handleZ||this.zIndex)&&(e=this.zIndexSetter()),e||(t?t.element:i.box).appendChild(s),this.onAdd&&this.onAdd(),this}addClass(t,e){let i=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce((function(t,e){return-1===i.indexOf(e)&&t.push(e),t}),i?[i]:[]).join(" "))!==i&&this.attr("class",t),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(t,e,i){let s,o,r,n,a,l={},h=this.renderer,d=h.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!i||M(i))&&(this.alignTo=r=i||"renderer",b(d,this),d.push(this),i=void 0)):(t=this.alignOptions,e=this.alignByTranslate,r=this.alignTo),i=w(i,h[r],"scrollablePlotBox"===r?h.plotBox:void 0,h);let c=t.align,p=t.verticalAlign;return s=(i.x||0)+(t.x||0),o=(i.y||0)+(t.y||0),"right"===c?n=1:"center"===c&&(n=2),n&&(s+=(i.width-(t.width||0))/n),l[e?"translateX":"x"]=Math.round(s),"bottom"===p?a=1:"middle"===p&&(a=2),a&&(o+=(i.height-(t.height||0))/a),l[e?"translateY":"y"]=Math.round(o),this[this.placed?"animate":"attr"](l),this.placed=!0,this.alignAttr=l,this}alignSetter(t){let e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))}animate(t,e,i){let s=r(w(e,this.renderer.globalAnimation,!0)),n=s.defer;return l.hidden&&(s.duration=0),0!==s.duration?(i&&(s.complete=i),L((()=>{this.element&&o(this,t,s)}),n)):(this.attr(t,void 0,i||s.complete),T(t,(function(t,e){s.step&&s.step.call(this,t,{prop:e,pos:1,elem:this})}),this)),this}applyTextOutline(t){let e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));let s=t.split(" "),o=s[s.length-1],r=s[0];if(r&&"none"!==r&&i.svg){this.fakeTS=!0,r=r.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,i){return 2*Number(e)+i})),this.removeTextOutline();let t=l.createElementNS(c,"tspan");g(t,{class:"highcharts-text-outline",fill:o,stroke:o,"stroke-width":r,"stroke-linejoin":"round"});let i=e.querySelector("textPath")||e;[].forEach.call(i.childNodes,(e=>{let i=e.cloneNode(!0);i.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((t=>i.removeAttribute(t))),t.appendChild(i)}));let s=0;[].forEach.call(i.querySelectorAll("text tspan"),(t=>{s+=Number(t.getAttribute("dy"))}));let n=l.createElementNS(c,"tspan");n.textContent="\u200b",g(n,{x:Number(e.getAttribute("x")),dy:-s}),t.appendChild(n),i.insertBefore(t,i.firstChild)}}attr(t,e,i,s){let o,r,a,l=this.element,h=O.symbolCustomAttribs,d=this;return"string"==typeof t&&void 0!==e&&(o=t,(t={})[o]=e),"string"==typeof t?d=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):(T(t,(function(e,i){a=!1,s||n(this,i),this.symbolName&&-1!==h.indexOf(i)&&(r||(this.symbolAttr(t),r=!0),a=!0),this.rotation&&("x"===i||"y"===i)&&(this.doTransform=!0),a||(this[i+"Setter"]||this._defaultSetter).call(this,e,i,l)}),this),this.afterSetters()),i&&i.call(this),d}clip(t){if(t&&!t.clipPath){let e=E()+"-",i=this.renderer.createElement("clipPath").attr({id:e}).add(this.renderer.defs);y(t,{clipPath:i,id:e,count:0}),t.add(i)}return this.attr("clip-path",t?"url(".concat(this.renderer.url,"#").concat(t.id,")"):"none")}crisp(t,e){e=e||t.strokeWidth||0;let i=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+i,t.y=Math.floor(t.y||this.y||0)+i,t.width=Math.floor((t.width||this.width||0)-2*i),t.height=Math.floor((t.height||this.height||0)-2*i),x(t.strokeWidth)&&(t.strokeWidth=e),t}complexColor(t,i,s){let o,r,n,a,l,h,d,c,p,u,g,f=this.renderer,m=[];v(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?r="radialGradient":t.linearGradient&&(r="linearGradient"),r){if(n=t[r],l=f.gradients,h=t.stops,p=s.radialReference,S(n)&&(t[r]=n={x1:n[0],y1:n[1],x2:n[2],y2:n[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===r&&p&&!x(n.gradientUnits)&&(a=n,n=C(n,f.getRadialAttr(p,a),{gradientUnits:"userSpaceOnUse"})),T(n,(function(t,e){"id"!==e&&m.push(e,t)})),T(h,(function(t){m.push(t)})),l[m=m.join(",")])u=l[m].attr("id");else{n.id=u=E();let t=l[m]=f.createElement(r).attr(n).add(f.defs);t.radAttr=a,t.stops=[],h.forEach((function(i){0===i[1].indexOf("rgba")?(d=(o=e.parse(i[1])).get("rgb"),c=o.get("a")):(d=i[1],c=1);let s=f.createElement("stop").attr({offset:i[0],"stop-color":d,"stop-opacity":c}).add(t);t.stops.push(s)}))}g="url("+f.url+"#"+u+")",s.setAttribute(i,g),s.gradient=m,t.toString=function(){return g}}}))}css(t){let e,i=this.styles,s={},o=this.element,r=!i;if(i&&T(t,(function(t,e){i&&i[e]!==t&&(s[e]=t,r=!0)})),r){i&&(t=y(i,s)),null===t.width||"auto"===t.width?delete this.textWidth:"text"===o.nodeName.toLowerCase()&&t.width&&(e=this.textWidth=P(t.width)),this.styles=t,e&&!d&&this.renderer.forExport&&delete t.width;let r=C(t);o.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","width"].forEach((t=>r&&delete r[t])),r.color&&(r.fill=r.color)),m(o,r)}return this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline)),this}dashstyleSetter(t){let e,i=this["stroke-width"];if("inherit"===i&&(i=1),t=t&&t.toLowerCase()){let s=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(e=s.length;e--;)s[e]=""+P(s[e])*w(i,NaN);t=s.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}}destroy(){var t;let e,i,s=this,o=s.element||{},r=s.renderer,a=o.ownerSVGElement,l="SPAN"===o.nodeName&&s.parentGroup||void 0;if(o.onclick=o.onmouseout=o.onmouseover=o.onmousemove=o.point=null,n(s),s.clipPath&&a){let t=s.clipPath;[].forEach.call(a.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(e){e.getAttribute("clip-path").indexOf(t.element.id)>-1&&e.removeAttribute("clip-path")})),s.clipPath=t.destroy()}if(s.connector=null===(t=s.connector)||void 0===t?void 0:t.destroy(),s.stops){for(i=0;ie&&e.join?(i?t+" ":"")+e.join(" "):(e||"").toString()),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(i.setAttribute(e,t),this[e]=t)}fillSetter(t,e,i){"string"==typeof t?i.setAttribute(e,t):t&&this.complexColor(t,e,i)}hrefSetter(t,e,i){i.setAttributeNS("http://www.w3.org/1999/xlink",e,t)}getBBox(t,e){let i,s,o,r,n,{alignValue:l,element:h,renderer:d,styles:c,textStr:p}=this,{cache:u,cacheKeys:g}=d,f=h.namespaceURI===this.SVG_NS,b=w(e,this.rotation,0),v=d.styledMode?h&&O.prototype.getStyle.call(h,"font-size"):c&&c.fontSize;if(x(p)&&(-1===(n=p.toString()).indexOf("<")&&(n=n.replace(/[0-9]/g,"0")),n+=["",d.rootFontSize,v,b,this.textWidth,l,c&&c.textOverflow,c&&c.fontWeight].join(",")),n&&!t&&(i=u[n]),!i){if(f||d.forExport){try{r=this.fakeTS&&function(t){let e=h.querySelector(".highcharts-text-outline");e&&m(e,{display:t})},k(r)&&r("none"),i=h.getBBox?y({},h.getBBox()):{width:h.offsetWidth,height:h.offsetHeight,x:0,y:0},k(r)&&r("")}catch(t){}(!i||i.width<0)&&(i={x:0,y:0,width:0,height:0})}else i=this.htmlGetBBox();if(s=i.width,o=i.height,f&&(i.height=o={"11px,17":14,"13px,20":16}["".concat(v||"",",").concat(Math.round(o))]||o),b){let t=Number(h.getAttribute("y")||0)-i.y,e={right:1,center:.5}[l||0]||0,r=b*a,n=(b-90)*a,d=s*Math.cos(r),c=s*Math.sin(r),p=Math.cos(n),u=Math.sin(n),g=i.x+e*(s-d)+t*p,f=g+d,m=f-o*p,x=m-d,y=i.y+t-e*c+t*u,v=y+c,S=v-o*u,k=S-c;i.x=Math.min(g,f,m,x),i.y=Math.min(y,v,S,k),i.width=Math.max(g,f,m,x)-i.x,i.height=Math.max(y,v,S,k)-i.y}}if(n&&(""===p||i.height>0)){for(;g.length>250;)delete u[g.shift()];u[n]||g.push(n),u[n]=i}return i}getStyle(t){return p.getComputedStyle(this.element||this,"").getPropertyValue(t)}hasClass(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(t,e){this.onEvents={},this.opacity=1,this.SVG_NS=c,this.element="span"===e?f(e):l.createElementNS(this.SVG_NS,e),this.renderer=t,v(this,"afterInit")}on(t,e){let{onEvents:i}=this;return i[t]&&i[t](),i[t]=u(this.element,t,e),this}opacitySetter(t,e,i){let s=Number(Number(t).toFixed(3));this.opacity=s,i.setAttribute(e,s)}removeClass(t){return this.attr("class",(""+this.attr("class")).replace(M(t)?RegExp("(^| )".concat(t,"( |$)")):t," ").replace(/ +/g," ").trim())}removeTextOutline(){let t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)}safeRemoveChild(t){let e=t.parentNode;e&&e.removeChild(t)}setRadialReference(t){let e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this}setTextPath(t,e){e=C(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e);let i=this.renderer.url,s=this.text||this,o=s.textPath,{attributes:r,enabled:n}=e;if(t=t||o&&o.path,o&&o.undo(),t&&n){let e=u(s,"afterModifyTree",(e=>{if(t&&n){let o=t.attr("id");o||t.attr("id",o=E());let n={x:0,y:0};x(r.dx)&&(n.dx=r.dx,delete r.dx),x(r.dy)&&(n.dy=r.dy,delete r.dy),s.attr(n),this.attr({transform:""}),this.box&&(this.box=this.box.destroy());let a=e.nodes.slice(0);e.nodes.length=0,e.nodes[0]={tagName:"textPath",attributes:y(r,{"text-anchor":r.textAnchor,href:"".concat(i,"#").concat(o)}),children:a}}}));s.textPath={path:t,undo:e}}else s.attr({dx:0,dy:0}),delete s.textPath;return this.added&&(s.textCache="",this.renderer.buildText(s)),this}shadow(t){var e;let{renderer:i}=this,s=C(90===(null===(e=this.parentGroup)||void 0===e?void 0:e.rotation)?{offsetX:-1,offsetY:-1}:{},A(t)?t:{}),o=i.shadowDefinition(s);return this.attr({filter:t?"url(".concat(i.url,"#").concat(o,")"):"none"})}show(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.attr({visibility:t?"inherit":"visible"})}"stroke-widthSetter"(t,e,i){this[e]=t,i.setAttribute(e,t)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let t,e=this.getStyle("stroke-width"),i=0;return e.indexOf("px")===e.length-2?i=P(e):""!==e&&(g(t=l.createElementNS(c,"rect"),{width:e,"stroke-width":0}),this.element.parentNode.appendChild(t),i=t.getBBox().width,t.parentNode.removeChild(t)),i}symbolAttr(t){let e=this;O.symbolCustomAttribs.forEach((function(i){e[i]=w(t[i],e[i])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})}textSetter(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this))}titleSetter(t){let e=this.element,i=e.getElementsByTagName("title")[0]||l.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(i,e.firstChild):e.appendChild(i),i.textContent=String(w(t,"")).replace(/<[^>]*>/g,"").replace(/</g,"<").replace(/>/g,">")}toFront(){let t=this.element;return t.parentNode.appendChild(t),this}translate(t,e){return this.attr({translateX:t,translateY:e})}updateTransform(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform",{element:e,matrix:i,rotation:s=0,scaleX:o,scaleY:r,translateX:n=0,translateY:a=0}=this,l=["translate("+n+","+a+")"];x(i)&&l.push("matrix("+i.join(",")+")"),s&&l.push("rotate("+s+" "+w(this.rotationOriginX,e.getAttribute("x"),0)+" "+w(this.rotationOriginY,e.getAttribute("y")||0)+")"),(x(o)||x(r))&&l.push("scale("+w(o,1)+" "+w(r,1)+")"),l.length&&!(this.text||this).textPath&&e.setAttribute(t,l.join(" "))}visibilitySetter(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t}xGetter(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)}zIndexSetter(t,e){let i,s,o,r,n,a=this.renderer,l=this.parentGroup,h=(l||a).element||a.box,d=this.element,c=h===a.box,p=!1,u=this.added;if(x(t)?(d.setAttribute("data-z-index",t),t=+t,this[e]===t&&(u=!1)):x(this[e])&&d.removeAttribute("data-z-index"),this[e]=t,u){for((t=this.zIndex)&&l&&(l.handleZ=!0),n=(i=h.childNodes).length-1;n>=0&&!p;n--)r=!x(o=(s=i[n]).getAttribute("data-z-index")),s!==d&&(t<0&&r&&!c&&!n?(h.insertBefore(d,i[n]),p=!0):(P(o)<=t||r&&(!x(t)||t>=0))&&(h.insertBefore(d,i[n+1]),p=!0));p||(h.insertBefore(d,i[c?3:0]),p=!0)}return p}}return O.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],O.prototype.strokeSetter=O.prototype.fillSetter,O.prototype.yGetter=O.prototype.xGetter,O.prototype.matrixSetter=O.prototype.rotationOriginXSetter=O.prototype.rotationOriginYSetter=O.prototype.rotationSetter=O.prototype.scaleXSetter=O.prototype.scaleYSetter=O.prototype.translateXSetter=O.prototype.translateYSetter=O.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},O})),i(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],(function(t){var e,i;let s;return(i=e||(e={})).rendererTypes={},i.getRendererType=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s;return i.rendererTypes[t]||i.rendererTypes[s]},i.registerRendererType=function(e,o,r){i.rendererTypes[e]=o,(!s||r)&&(s=e,t.Renderer=o)},e})),i(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],(function(t,e){let{defined:i,extend:s,isNumber:o,merge:r,pick:n,removeEvent:a}=e;class l extends t{constructor(t,e,i,s,o,r,n,a,h,d){let c;super(t,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.textStr=e,this.x=i,this.y=s,this.anchorX=r,this.anchorY=n,this.baseline=h,this.className=d,this.addClass("button"===d?"highcharts-no-tooltip":"highcharts-label"),d&&this.addClass("highcharts-"+d),this.text=t.text(void 0,0,0,a).attr({zIndex:1}),"string"==typeof o&&((c=/^url\((.*?)\)$/.test(o))||this.renderer.symbols[o])&&(this.symbolKey=o),this.bBox=l.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=t.styledMode||c,this.deferredAttr={},this.alignFactor=0}alignSetter(t){let e={left:0,center:.5,right:1}[t];e!==this.alignFactor&&(this.alignFactor=e,this.bBox&&o(this.xSetting)&&this.attr({x:this.xSetting}))}anchorXSetter(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)}boxAttr(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e}css(e){if(e){let t={};e=r(e),l.textProps.forEach((i=>{void 0!==e[i]&&(t[i]=e[i],delete e[i])})),this.text.css(t),"fontSize"in t||"fontWeight"in t?this.updateTextPadding():("width"in t||"textOverflow"in t)&&this.updateBoxSize()}return t.prototype.css.call(this,e)}destroy(){a(this.element,"mouseenter"),a(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)}fillSetter(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)}getBBox(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();let t=this.padding,e=n(this.paddingLeft,t);return{width:this.width||0,height:this.height||0,x:this.bBox.x-e,y:this.bBox.y-t}}getCrispAdjust(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(t){this.heightSetting=t}onAdd(){this.text.add(this),this.attr({text:n(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&i(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(t,e){o(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0}rSetter(t,e){this.boxAttr(e,t)}strokeSetter(t,e){this.stroke=t,this.boxAttr(e,t)}"stroke-widthSetter"(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)}"text-alignSetter"(t){this.textAlign=t}textSetter(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding()}updateBoxSize(){let t,e=this.text,r={},n=this.padding,a=this.bBox=o(this.widthSetting)&&o(this.heightSetting)&&!this.textAlign||!i(e.textStr)?l.emptyBBox:e.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a.height||0)+2*n;let h=this.renderer.fontMetrics(e);if(this.baselineOffset=n+Math.min((this.text.firstLineMetrics||h).b,a.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-h.h)/2),this.needsBox&&!e.textPath){if(!this.box){let t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();t.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this)}t=this.getCrispAdjust(),r.x=t,r.y=(this.baseline?-this.baselineOffset:0)+t,r.width=Math.round(this.width),r.height=Math.round(this.height),this.box.attr(s(r,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let t=this.text;if(!t.textPath){this.updateBoxSize();let e=this.baseline?0:this.baselineOffset,s=n(this.paddingLeft,this.padding);i(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(s+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(s!==t.x||e!==t.y)&&(t.attr("x",s),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),void 0!==e&&t.attr("y",e)),t.x=s,t.y=e}}widthSetter(t){this.widthSetting=o(t)?t:void 0}getPaddedWidth(){let t=this.padding,e=n(this.paddingLeft,t),i=n(this.paddingRight,t);return(this.widthSetting||this.bBox.width||0)+e+i}xSetter(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)}ySetter(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)}}return l.emptyBBox={width:0,height:0,x:0,y:0},l.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"],l})),i(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],(function(t){let{defined:e,isNumber:i,pick:s}=t;function o(t,i,o,r,n){let a=[];if(n){let l=n.start||0,h=s(n.r,o),d=s(n.r,r||o),c=.001>Math.abs((n.end||0)-l-2*Math.PI),p=(n.end||0)-.001,u=n.innerR,g=s(n.open,c),f=Math.cos(l),m=Math.sin(l),x=Math.cos(p),b=Math.sin(p),y=s(n.longArc,p-l-Math.PI<.001?0:1),v=["A",h,d,0,y,s(n.clockwise,1),t+h*x,i+d*b];v.params={start:l,end:p,cx:t,cy:i},a.push(["M",t+h*f,i+d*m],v),e(u)&&((v=["A",u,u,0,y,e(n.clockwise)?1-n.clockwise:0,t+u*f,i+u*m]).params={start:p,end:l,cx:t,cy:i},a.push(g?["M",t+u*x,i+u*b]:["L",t+u*x,i+u*b],v)),g||a.push(["Z"])}return a}function r(t,e,i,s,o){return o&&o.r?n(t,e,i,s,o):[["M",t,e],["L",t+i,e],["L",t+i,e+s],["L",t,e+s],["Z"]]}function n(t,e,i,s,o){let r=(null===o||void 0===o?void 0:o.r)||0;return[["M",t+r,e],["L",t+i-r,e],["A",r,r,0,0,1,t+i,e+r],["L",t+i,e+s-r],["A",r,r,0,0,1,t+i-r,e+s],["L",t+r,e+s],["A",r,r,0,0,1,t,e+s-r],["L",t,e+r],["A",r,r,0,0,1,t+r,e],["Z"]]}return{arc:o,callout:function(t,e,s,o,r){let a=Math.min(r&&r.r||0,s,o),l=a+6,h=r&&r.anchorX,d=r&&r.anchorY||0,c=n(t,e,s,o,{r:a});if(!i(h)||h0&&d0)return c;if(t+h>s-l)if(d>e+l&&de+l&&d0){let i=do&&hl&&c.splice(1,1,["L",h-6,e],["L",h,e-6],["L",h+6,e],["L",s-a,e]);return c},circle:function(t,e,i,s){return o(t+i/2,e+s/2,i/2,s/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,i,s){return[["M",t+i/2,e],["L",t+i,e+s/2],["L",t+i/2,e+s],["L",t,e+s/2],["Z"]]},rect:r,roundedRect:n,square:r,triangle:function(t,e,i,s){return[["M",t+i/2,e],["L",t+i,e+s],["L",t,e+s],["Z"]]},"triangle-down":function(t,e,i,s){return[["M",t,e],["L",t+i,e],["L",t+i/2,e+s],["Z"]]}}})),i(e,"Core/Renderer/SVG/TextBuilder.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,i){let{doc:s,SVG_NS:o,win:r}=e,{attr:n,extend:a,fireEvent:l,isString:h,objectEach:d,pick:c}=i;return class{constructor(t){let e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace)}buildSVG(){let e=this.svgElement,i=e.element,o=e.renderer,r=c(e.textStr,"").toString(),n=-1!==r.indexOf("<"),a=i.childNodes,l=!e.added&&o.box,d=[r,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,e.getStyle("font-size"),this.width].join(",");if(d!==e.textCache){e.textCache=d,delete e.actualWidth;for(let t=a.length;t--;)i.removeChild(a[t]);if(n||this.ellipsis||this.width||e.textPath||-1!==r.indexOf(" ")&&(!this.noWrap||//g.test(r))){if(""!==r){l&&l.appendChild(i);let s=new t(r);this.modifyTree(s.nodes),s.addToDOM(i),this.modifyDOM(),this.ellipsis&&-1!==(i.textContent||"").indexOf("\u2026")&&e.attr("title",this.unescapeEntities(e.textStr||"",["<",">"])),l&&l.removeChild(i)}}else i.appendChild(s.createTextNode(this.unescapeEntities(r)));h(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}}modifyDOM(){let t,e=this.svgElement,i=n(e.element,"x");for(e.firstLineMetrics=void 0;(t=e.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)e.element.removeChild(t);[].forEach.call(e.element.querySelectorAll("tspan.highcharts-br"),((t,s)=>{t.nextSibling&&t.previousSibling&&(0===s&&1===t.previousSibling.nodeType&&(e.firstLineMetrics=e.renderer.fontMetrics(t.previousSibling)),n(t,{dy:this.getLineHeight(t.nextSibling),x:i}))}));let a=this.width||0;if(!a)return;let l=(t,r)=>{let l=t.textContent||"",h=l.replace(/([^\^])-/g,"$1- ").split(" "),d=!this.noWrap&&(h.length>1||e.element.childNodes.length>1),c=this.getLineHeight(r),p=0,u=e.actualWidth;if(this.ellipsis)l&&this.truncate(t,l,void 0,0,Math.max(0,a-.8*c),((t,e)=>t.substring(0,e)+"\u2026"));else if(d){let l=[],d=[];for(;r.firstChild&&r.firstChild!==t;)d.push(r.firstChild),r.removeChild(r.firstChild);for(;h.length;)h.length&&!this.noWrap&&p>0&&(l.push(t.textContent||""),t.textContent=h.join(" ").replace(/- /g,"-")),this.truncate(t,void 0,h,0===p&&u||0,a,((t,e)=>h.slice(0,e).join(" ").replace(/- /g,"-"))),u=e.actualWidth,p++;d.forEach((e=>{r.insertBefore(e,t)})),l.forEach((e=>{r.insertBefore(s.createTextNode(e),t);let a=s.createElementNS(o,"tspan");a.textContent="\u200b",n(a,{dy:c,x:i}),r.insertBefore(a,t)}))}},h=t=>{[].slice.call(t.childNodes).forEach((i=>{i.nodeType===r.Node.TEXT_NODE?l(i,t):(-1!==i.className.baseVal.indexOf("highcharts-br")&&(e.actualWidth=0),h(i))}))};h(e.element)}getLineHeight(t){let e=t.nodeType===r.Node.TEXT_NODE?t.parentElement:t;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e||this.svgElement.element).h}modifyTree(t){let e=(i,s)=>{let{attributes:o={},children:r,style:n={},tagName:l}=i,h=this.renderer.styledMode;if("b"===l||"strong"===l?h?o.class="highcharts-strong":n.fontWeight="bold":("i"===l||"em"===l)&&(h?o.class="highcharts-emphasized":n.fontStyle="italic"),n&&n.color&&(n.fill=n.color),"br"===l){o.class="highcharts-br",i.textContent="\u200b";let e=t[s+1];e&&e.textContent&&(e.textContent=e.textContent.replace(/^ +/gm,""))}else"a"===l&&r&&r.some((t=>"#text"===t.tagName))&&(i.children=[{children:r,tagName:"tspan"}]);"#text"!==l&&"a"!==l&&(i.tagName="tspan"),a(i,{attributes:o,style:n}),r&&r.filter((t=>"#text"!==t.tagName)).forEach(e)};t.forEach(e),l(this.svgElement,"afterModifyTree",{nodes:t})}truncate(t,e,i,s,o,r){let n,a,l=this.svgElement,{renderer:h,rotation:d}=l,c=[],p=i?1:0,u=(e||i||"").length,g=u,f=function(e,o){let r=o||e,n=t.parentNode;if(n&&void 0===c[r]&&n.getSubStringLength)try{c[r]=s+n.getSubStringLength(0,i?r+1:r)}catch(t){}return c[r]};if(l.rotation=0,s+(a=f(t.textContent.length))>o){for(;p<=u;)g=Math.ceil((p+u)/2),i&&(n=r(i,g)),a=f(g,n&&n.length-1),p===u?p=u+1:a>o?u=g-1:p=g;0===u?t.textContent="":e&&u===e.length-1||(t.textContent=n||r(e||i,g))}i&&i.splice(0,g),l.actualWidth=a,l.rotation=d}unescapeEntities(t,e){return d(this.renderer.escapes,(function(i,s){e&&-1!==e.indexOf(i)||(t=t.toString().replace(RegExp(i,"g"),s))})),t}}})),i(e,"Core/Renderer/SVG/SVGRenderer.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGLabel.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Renderer/SVG/TextBuilder.js"],e["Core/Utilities.js"]],(function(t,e,i,s,o,r,n,a,l){let h,{charts:d,deg2rad:c,doc:p,isFirefox:u,isMS:g,isWebKit:f,noop:m,SVG_NS:x,symbolSizes:b,win:y}=i,{addEvent:v,attr:S,createElement:k,css:A,defined:M,destroyObjectProperties:C,extend:T,isArray:w,isNumber:P,isObject:L,isString:E,merge:O,pick:D,pInt:j,uniqueKey:B}=l;class I{constructor(t,e,i,s,o,r,n){let a,l,h=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),d=h.element;n||h.css(this.getStyle(s||{})),t.appendChild(d),S(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&S(d,"xmlns",this.SVG_NS),this.box=d,this.boxWrapper=h,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(p.createTextNode("Created with Highcharts 11.3.0")),this.defs=this.createElement("defs").add(),this.allowHTML=r,this.forExport=o,this.styledMode=n,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=h.getStyle("font-size"),this.setSize(e,i,!1),u&&t.getBoundingClientRect&&((a=function(){A(t,{left:0,top:0}),l=t.getBoundingClientRect(),A(t,{left:Math.ceil(l.left)-l.left+"px",top:Math.ceil(l.top)-l.top+"px"})})(),this.unSubPixelFix=v(y,"resize",a))}definition(e){return new t([e]).addToDOM(this.defs.element)}getReferenceURL(){if((u||f)&&p.getElementsByTagName("base").length){if(!M(h)){let e=B(),i=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#".concat(e,")"),fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(p.body);A(i,{position:"fixed",top:0,left:0,zIndex:9e5});let s=p.elementFromPoint(6,6);h="hitme"===(s&&s.id),p.body.removeChild(i)}if(h)return y.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""}getStyle(t){return this.style=T({fontFamily:"Helvetica, Arial, sans-serif",fontSize:"1rem"},t),this.style}setStyle(t){this.boxWrapper.css(this.getStyle(t))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),C(this.gradients||{}),this.gradients=null,this.defs=t.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(t){return new this.Element(this,t)}getRadialAttr(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}}shadowDefinition(t){let e=["highcharts-drop-shadow-".concat(this.chartIndex),...Object.keys(t).map((e=>"".concat(e,"-").concat(t[e])))].join("-").toLowerCase().replace(/[^a-z0-9\-]/g,""),i=O({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},t);return this.defs.element.querySelector("#".concat(e))||this.definition({tagName:"filter",attributes:{id:e,filterUnits:i.filterUnits},children:[{tagName:"feDropShadow",attributes:{dx:i.offsetX,dy:i.offsetY,"flood-color":i.color,"flood-opacity":Math.min(5*i.opacity,1),stdDeviation:i.width/2}}]}),e}buildText(t){new a(t).buildSVG()}getContrast(t){let i=e.parse(t).rgba.map((t=>{let e=t/255;return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),s=.2126*i[0]+.7152*i[1]+.0722*i[2];return 1.05/(s+.05)>(s+.05)/.05?"#FFFFFF":"#000000"}button(e,i,s,o){let r,n,a,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},h=arguments.length>5?arguments[5]:void 0,d=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,p=arguments.length>8?arguments[8]:void 0,u=arguments.length>9?arguments[9]:void 0,f=this.label(e,i,s,p,void 0,void 0,u,void 0,"button"),m=this.styledMode,x=l.states||{},b=0;l=O(l),delete l.states;let y=O({color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},l.style);delete l.style;let S=t.filterUserAttributes(l);return f.attr(O({padding:8,r:2},S)),m||(S=O({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},S),r=(h=O(S,{fill:"#e6e6e6"},t.filterUserAttributes(h||x.hover||{}))).style,delete h.style,n=(d=O(S,{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},t.filterUserAttributes(d||x.select||{}))).style,delete d.style,a=(c=O(S,{style:{color:"#cccccc"}},t.filterUserAttributes(c||x.disabled||{}))).style,delete c.style),v(f.element,g?"mouseover":"mouseenter",(function(){3!==b&&f.setState(1)})),v(f.element,g?"mouseout":"mouseleave",(function(){3!==b&&f.setState(b)})),f.setState=function(t){if(1!==t&&(f.state=b=t),f.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),!m){f.attr([S,h,d,c][t||0]);let e=[y,r,n,a][t||0];L(e)&&f.css(e)}},!m&&(f.attr(S).css(T({cursor:"default"},y)),u&&f.text.css({pointerEvents:"none"})),f.on("touchstart",(t=>t.stopPropagation())).on("click",(function(t){3!==b&&o.call(f,t)}))}crispLine(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"round",s=t[0],o=t[1];return M(s[1])&&s[1]===o[1]&&(s[1]=o[1]=Math[i](s[1])-e%2/2),M(s[2])&&s[2]===o[2]&&(s[2]=o[2]=Math[i](s[2])+e%2/2),t}path(t){let e=this.styledMode?{}:{fill:"none"};return w(t)?e.d=t:L(t)&&T(e,t),this.createElement("path").attr(e)}circle(t,e,i){let s=L(t)?t:void 0===t?{}:{x:t,y:e,r:i},o=this.createElement("circle");return o.xSetter=o.ySetter=function(t,e,i){i.setAttribute("c"+e,t)},o.attr(s)}arc(t,e,i,s,o,r){let n;L(t)?(e=(n=t).y,i=n.r,s=n.innerR,o=n.start,r=n.end,t=n.x):n={innerR:s,start:o,end:r};let a=this.symbol("arc",t,e,i,i,n);return a.r=i,a}rect(t,e,i,s,o,r){let n=L(t)?t:void 0===t?{}:{x:t,y:e,r:o,width:Math.max(i||0,0),height:Math.max(s||0,0)},a=this.createElement("rect");return this.styledMode||(void 0!==r&&(n["stroke-width"]=r,T(n,a.crisp(n))),n.fill="none"),a.rSetter=function(t,e,i){a.r=t,S(i,{rx:t,ry:t})},a.rGetter=function(){return a.r||0},a.attr(n)}roundedRect(t){return this.symbol("roundedRect").attr(t)}setSize(t,e,i){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:D(i,!0)?void 0:0}),this.alignElements()}g(t){let e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e}image(t,e,i,s,o,r){let n={preserveAspectRatio:"none"};P(e)&&(n.x=e),P(i)&&(n.y=i),P(s)&&(n.width=s),P(o)&&(n.height=o);let a=this.createElement("image").attr(n),l=function(e){a.attr({href:t}),r.call(a,e)};if(r){a.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let e=new y.Image;v(e,"load",l),e.src=t,e.complete&&l({})}else a.attr({href:t});return a}symbol(t,e,i,s,o,r){let n,a,l,h,c=this,u=/^url\((.*?)\)$/,g=u.test(t),f=!g&&(this.symbols[t]?t:"circle"),m=f&&this.symbols[f];if(m)"number"==typeof e&&(a=m.call(this.symbols,Math.round(e||0),Math.round(i||0),s||0,o||0,r)),n=this.path(a),c.styledMode||n.attr("fill","none"),T(n,{symbolName:f||void 0,x:e,y:i,width:s,height:o}),r&&T(n,r);else if(g){l=t.match(u)[1];let s=n=this.image(l);s.imgwidth=D(r&&r.width,b[l]&&b[l].width),s.imgheight=D(r&&r.height,b[l]&&b[l].height),h=t=>t.attr({width:t.width,height:t.height}),["width","height"].forEach((t=>{s["".concat(t,"Setter")]=function(t,e){this[e]=t;let{alignByTranslate:i,element:s,width:o,height:n,imgwidth:a,imgheight:l}=this,h="width"===e?a:l,d=1;r&&"within"===r.backgroundSize&&o&&n&&a&&l?(d=Math.min(o/a,n/l),S(s,{width:Math.round(a*d),height:Math.round(l*d)})):s&&h&&s.setAttribute(e,h),!i&&a&&l&&this.translate(((o||0)-a*d)/2,((n||0)-l*d)/2)}})),M(e)&&s.attr({x:e,y:i}),s.isImg=!0,M(s.imgwidth)&&M(s.imgheight)?h(s):(s.attr({width:0,height:0}),k("img",{onload:function(){let t=d[c.chartIndex];0===this.width&&(A(this,{position:"absolute",top:"-999em"}),p.body.appendChild(this)),b[l]={width:this.width,height:this.height},s.imgwidth=this.width,s.imgheight=this.height,s.element&&h(s),this.parentNode&&this.parentNode.removeChild(this),c.imgCount--,c.imgCount||!t||t.hasLoaded||t.onload()},src:l}),this.imgCount++)}return n}clipRect(t,e,i,s){return this.rect(t,e,i,s,0)}text(t,e,i,s){let o={};if(s&&(this.allowHTML||!this.forExport))return this.html(t,e,i);o.x=Math.round(e||0),i&&(o.y=Math.round(i)),M(t)&&(o.text=t);let r=this.createElement("text").attr(o);return s&&(!this.forExport||this.allowHTML)||(r.xSetter=function(t,e,i){let s=i.getElementsByTagName("tspan"),o=i.getAttribute(e);for(let r,n=0;nt.align()))}}return T(I.prototype,{Element:o,SVG_NS:x,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:n,draw:m}),s.registerRendererType("svg",I,!0),I})),i(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],(function(t,e,i){let{composed:s}=t,{css:o,defined:r,extend:n,pushUnique:a,pInt:l}=i;class h extends e{static compose(t){if(a(s,this.compose)){let e=h.prototype,i=t.prototype;i.getSpanCorrection=e.getSpanCorrection,i.htmlCss=e.htmlCss,i.htmlGetBBox=e.htmlGetBBox,i.htmlUpdateTransform=e.htmlUpdateTransform,i.setSpanRotation=e.setSpanRotation}return t}getSpanCorrection(t,e,i){this.xCorr=-t*i,this.yCorr=-e}htmlCss(t){let e,{element:i}=this,s="SPAN"===i.tagName&&t&&"width"in t,r=s&&t.width;return s&&(delete t.width,this.textWidth=l(r)||void 0,e=!0),"ellipsis"===(null===t||void 0===t?void 0:t.textOverflow)&&(t.whiteSpace="nowrap",t.overflow="hidden"),n(this.styles,t),o(i,t),e&&this.htmlUpdateTransform(),this}htmlGetBBox(){let{element:t}=this;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}htmlUpdateTransform(){if(!this.added)return void(this.alignOnAdd=!0);let{element:t,renderer:e,rotation:i,styles:s,textAlign:n="left",textWidth:a,translateX:l=0,translateY:h=0,x:d=0,y:c=0}=this,p={left:0,center:.5,right:1}[n],u=null===s||void 0===s?void 0:s.whiteSpace;if(o(t,{marginLeft:"".concat(l,"px"),marginTop:"".concat(h,"px")}),"SPAN"===t.tagName){let s,l=[i,n,t.innerHTML,a,this.textAlign].join(","),h=!1;if(a!==this.oldTextWidth){let e=this.textPxLength?this.textPxLength:(o(t,{width:"",whiteSpace:u||"nowrap"}),t.offsetWidth),s=a||0;(s>this.oldTextWidth||e>s)&&(/[ \-]/.test(t.textContent||t.innerText)||"ellipsis"===t.style.textOverflow)&&(o(t,{width:e>s||i?a+"px":"auto",display:"block",whiteSpace:u||"normal"}),this.oldTextWidth=a,h=!0)}this.hasBoxWidthChanged=h,l!==this.cTT&&(s=e.fontMetrics(t).b,r(i)&&(i!==(this.oldRotation||0)||n!==this.oldAlign)&&this.setSpanRotation(i,p,s),this.getSpanCorrection(!r(i)&&this.textPxLength||t.offsetWidth,s,p)),o(t,{left:d+(this.xCorr||0)+"px",top:c+(this.yCorr||0)+"px"}),this.cTT=l,this.oldRotation=i,this.oldAlign=n}}setSpanRotation(t,e,i){o(this.element,{transform:"rotate(".concat(t,"deg)"),transformOrigin:"".concat(100*e,"% ").concat(i,"px")})}}return h})),i(e,"Core/Renderer/HTML/HTMLRenderer.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],(function(t,e,i,s,o){let{composed:r}=e,{attr:n,createElement:a,extend:l,pick:h,pushUnique:d}=o;class c extends s{static compose(t){if(d(r,this.compose)){let e=c.prototype;t.prototype.html=e.html}return t}html(e,s,o){let r=this.createElement("span"),d=r.element,c=r.renderer,p=function(t,e){["opacity","visibility"].forEach((function(s){t[s+"Setter"]=function(o,r,n){let a=t.div?t.div.style:e;i.prototype[s+"Setter"].call(this,o,r,n),a&&(a[r]=o)}})),t.addedSetters=!0};return r.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,h(e,"")),this.textStr=e,r.doTransform=!0)},p(r,r.element.style),r.xSetter=r.ySetter=r.alignSetter=r.rotationSetter=function(t,e){"align"===e?r.alignValue=r.textAlign=t:r[e]=t,r.doTransform=!0},r.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},r.attr({text:e,x:Math.round(s),y:Math.round(o)}).css({position:"absolute"}),c.styledMode||r.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),d.style.whiteSpace="nowrap",r.css=r.htmlCss,r.add=function(t){let e,i,s=c.box.parentNode,o=[];if(this.parentGroup=t,t){if(!(e=t.div)){for(i=t;i;)o.push(i),i=i.parentGroup;o.reverse().forEach((function(t){var i;let h=n(t.element,"class"),d=t.css;function c(e,i){t[i]=e,"translateX"===i?g.left=e+"px":g.top=e+"px",t.doTransform=!0}let u=t.styles||{};e=t.div=t.div||a("div",h?{className:h}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,visibility:t.visibility},e||s);let g=e.style;l(t,{classSetter:(i=e,function(t){this.element.setAttribute("class",t),i.className=t}),css:function(e){return d.call(t,e),["cursor","pointerEvents"].forEach((t=>{e[t]&&(g[t]=e[t])})),t},on:function(){return o[0].div&&r.on.apply({element:o[0].div,onEvents:t.onEvents},arguments),t},translateXSetter:c,translateYSetter:c}),t.addedSetters||p(t),t.css(u)}))}}else e=s;return e.appendChild(d),r.added=!0,r.alignOnAdd&&r.htmlUpdateTransform(),r},r}}return c})),i(e,"Core/Axis/AxisDefaults.js",[],(function(){var t,e;return(e=t||(t={})).xAxis={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e %b"},week:{main:"%e %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",useHTML:!1,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},e.yAxis={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){let{numberFormatter:t}=this.axis.chart;return t(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t})),i(e,"Core/Foundation.js",[e["Core/Utilities.js"]],(function(t){var e;let{addEvent:i,isFunction:s,objectEach:o,removeEvent:r}=t;return(e||(e={})).registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},o(e.events,(function(e,o){t.eventOptions[o]!==e&&(t.eventOptions[o]&&(r(t,o,t.eventOptions[o]),delete t.eventOptions[o]),s(e)&&(t.eventOptions[o]=e,i(t,o,e,{order:0})))}))},e})),i(e,"Core/Axis/Tick.js",[e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,i){let{deg2rad:s}=e,{clamp:o,correctFloat:r,defined:n,destroyObjectProperties:a,extend:l,fireEvent:h,isNumber:d,merge:c,objectEach:p,pick:u}=i;return class{constructor(t,e,i,s,o){this.isNew=!0,this.isNewLabel=!0,this.axis=t,this.pos=e,this.type=i||"",this.parameters=o||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,h(this,"init"),i||s||this.addLabel()}addLabel(){let e,i,s,o=this,a=o.axis,c=a.options,p=a.chart,g=a.categories,f=a.logarithmic,m=a.names,x=o.pos,b=u(o.options&&o.options.labels,c.labels),y=a.tickPositions,v=x===y[0],S=x===y[y.length-1],k=(!b.step||1===b.step)&&1===a.tickInterval,A=y.info,M=o.label,C=this.parameters.category||(g?u(g[x],m[x],x):x);f&&d(C)&&(C=r(f.lin2log(C))),a.dateTime&&(A?e=(i=p.time.resolveDTLFormat(c.dateTimeLabelFormats[!c.grid&&A.higherRanks[x]||A.unitName])).main:d(C)&&(e=a.dateTime.getXDateFormat(C,c.dateTimeLabelFormats||{}))),o.isFirst=v,o.isLast=S;let T={axis:a,chart:p,dateTimeLabelFormat:e,isFirst:v,isLast:S,pos:x,tick:o,tickPositionInfo:A,value:C};h(this,"labelFormat",T);let w=e=>b.formatter?b.formatter.call(e,e):b.format?(e.text=a.defaultLabelFormatter.call(e,e),t.format(b.format,e,p)):a.defaultLabelFormatter.call(e,e),P=w.call(T,T),L=i&&i.list;o.shortenLabel=L?function(){for(s=0;s0&&r+p*g>h&&(e=Math.round((n-r)/Math.cos(c*s))):(r-p*gh&&(x=h-t.x+x*p,b=-1),(x=Math.min(f,x))x||i.autoRotation&&(d.styles||{}).width)&&(e=x)),e&&(this.shortenLabel?this.shortenLabel():(m.width=Math.floor(e)+"px",(o.style||{}).textOverflow||(m.textOverflow="ellipsis"),d.css(m)))}moveLabel(t,e){let i,s=this,o=s.label,r=s.axis,n=!1;o&&o.textStr===t?(s.movedLabel=o,n=!0,delete s.label):p(r.ticks,(function(e){n||e.isNew||e===s||!e.label||e.label.textStr!==t||(s.movedLabel=e.label,n=!0,e.labelPos=s.movedLabel.xy,delete e.label)})),!n&&(s.labelPos||o)&&(i=s.labelPos||o.xy,s.movedLabel=s.createLabel(t,e,i),s.movedLabel&&s.movedLabel.attr({opacity:0}))}render(t,e,i){let s=this.axis,o=s.horiz,r=this.pos,n=u(this.tickmarkOffset,s.tickmarkOffset),a=this.getPosition(o,r,n,e),l=a.x,d=a.y,c=o&&l===s.pos+s.len||!o&&d===s.pos?-1:1,p=u(i,this.label&&this.label.newOpacity,1);i=u(i,1),this.isActive=!0,this.renderGridLine(e,i,c),this.renderMark(a,i,c),this.renderLabel(a,e,p,t),this.isNew=!1,h(this,"afterRender")}renderGridLine(t,e,i){let s,o=this.axis,r=o.options,n={},a=this.pos,l=this.type,h=u(this.tickmarkOffset,o.tickmarkOffset),d=o.chart.renderer,c=this.gridLine,p=r.gridLineWidth,g=r.gridLineColor,f=r.gridLineDashStyle;"minor"===this.type&&(p=r.minorGridLineWidth,g=r.minorGridLineColor,f=r.minorGridLineDashStyle),c||(o.chart.styledMode||(n.stroke=g,n["stroke-width"]=p||0,n.dashstyle=f),l||(n.zIndex=1),t&&(e=0),this.gridLine=c=d.path().attr(n).addClass("highcharts-"+(l?l+"-":"")+"grid-line").add(o.gridGroup)),c&&(s=o.getPlotLinePath({value:a+h,lineWidth:c.strokeWidth()*i,force:"pass",old:t,acrossPanes:!1}))&&c[t||this.isNew?"attr":"animate"]({d:s,opacity:e})}renderMark(t,e,i){let s=this.axis,o=s.options,r=s.chart.renderer,n=this.type,a=s.tickSize(n?n+"Tick":"tick"),l=t.x,h=t.y,d=u(o["minor"!==n?"tickWidth":"minorTickWidth"],!n&&s.isXAxis?1:0),c=o["minor"!==n?"tickColor":"minorTickColor"],p=this.mark,g=!p;a&&(s.opposite&&(a[0]=-a[0]),p||(this.mark=p=r.path().addClass("highcharts-"+(n?n+"-":"")+"tick").add(s.axisGroup),s.chart.styledMode||p.attr({stroke:c,"stroke-width":d})),p[g?"attr":"animate"]({d:this.getMarkPath(l,h,a[0],p.strokeWidth()*i,s.horiz,r),opacity:e}))}renderLabel(t,e,i,s){let o=this.axis,r=o.horiz,n=o.options,a=this.label,l=n.labels,h=l.step,c=u(this.tickmarkOffset,o.tickmarkOffset),p=t.x,g=t.y,f=!0;a&&d(p)&&(a.xy=t=this.getLabelPosition(p,g,a,r,l,c,s,h),this.isFirst&&!this.isLast&&!n.showFirstLabel||this.isLast&&!this.isFirst&&!n.showLastLabel?f=!1:!r||l.step||l.rotation||e||0===i||this.handleOverflow(t),h&&s%h&&(f=!1),f&&d(t.y)?(t.opacity=i,a[this.isNewLabel?"attr":"animate"](t).show(!0),this.isNewLabel=!1):(a.hide(),this.isNewLabel=!0))}replaceMovedLabel(){let t=this.label,e=this.axis;t&&!this.isNew&&(t.animate({opacity:0},void 0,t.destroy),delete this.label),e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel}}})),i(e,"Core/Axis/Axis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/AxisDefaults.js"],e["Core/Color/Color.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Axis/Tick.js"],e["Core/Utilities.js"]],(function(t,e,i,s,o,r,n,a){let{animObject:l}=t,{xAxis:h,yAxis:d}=e,{defaultOptions:c}=s,{registerEventOptions:p}=o,{deg2rad:u}=r,{arrayMax:g,arrayMin:f,clamp:m,correctFloat:x,defined:b,destroyObjectProperties:y,erase:v,error:S,extend:k,fireEvent:A,getClosestDistance:M,insertItem:C,isArray:T,isNumber:w,isString:P,merge:L,normalizeTickInterval:E,objectEach:O,pick:D,relativeLength:j,removeEvent:B,splat:I,syncTimeout:R}=a,z=(t,e)=>E(e,void 0,void 0,D(t.options.allowDecimals,e<.5||void 0!==t.tickAmount),!!t.tickAmount);k(c,{xAxis:h,yAxis:L(h,d)});class N{constructor(t,e,i){this.init(t,e,i)}init(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.coll,s="xAxis"===i,o=this.isZAxis||(t.inverted?!s:s);this.chart=t,this.horiz=o,this.isXAxis=s,this.coll=i,A(this,"init",{userOptions:e}),this.opposite=D(e.opposite,this.opposite),this.side=D(e.side,this.side,o?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);let r=this.options,n=r.labels,a=r.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=D(r.reversed,this.reversed),this.visible=r.visible,this.zoomEnabled=r.zoomEnabled,this.hasNames="category"===a||!0===r.categories,this.categories=T(r.categories)&&r.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=b(r.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=r.minRange||r.maxZoom,this.range=r.range,this.offset=r.offset||0,this.max=void 0,this.min=void 0;let l=D(r.crosshair,I(t.options.tooltip.crosshairs)[s?0:1]);this.crosshair=!0===l?{}:l,-1===t.axes.indexOf(this)&&(s?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),C(this,t[this.coll])),t.orderItems(this.coll),this.series=this.series||[],t.inverted&&!this.isZAxis&&s&&!b(this.reversed)&&(this.reversed=!0),this.labelRotation=w(n.rotation)?n.rotation:void 0,p(this,r),A(this,"afterInit")}setOptions(t){let e=this.horiz?{labels:{autoRotation:[-45]},margin:15}:{title:{rotation:90*this.side}};this.options=L(e,c[this.coll],t),A(this,"afterSetOptions",{userOptions:t})}defaultLabelFormatter(t){let e,i,s=this.axis,o=this.chart,{numberFormatter:r}=o,n=w(this.value)?this.value:NaN,a=s.chart.time,l=s.categories,h=this.dateTimeLabelFormat,d=c.lang,p=d.numericSymbols,u=d.numericSymbolMagnitude||1e3,g=s.logarithmic?Math.abs(n):s.tickInterval,f=p&&p.length;if(l)i="".concat(this.value);else if(h)i=a.dateFormat(h,n);else if(f&&p&&g>=1e3)for(;f--&&void 0===i;)g>=(e=Math.pow(u,f+1))&&10*n%e==0&&null!==p[f]&&0!==n&&(i=r(n/e,-1)+p[f]);return void 0===i&&(i=Math.abs(n)>=1e4?r(n,-1):r(n,-1,void 0,"")),i}getSeriesExtremes(){let t,e=this;A(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=void 0,e.softThreshold=!e.isXAxis,e.series.forEach((i=>{if(i.reserveSpace()){let s,o,r,n=i.options,a=n.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=(a||0)&&(a=void 0),e.isXAxis)(s=i.xData)&&s.length&&(s=e.logarithmic?s.filter((t=>t>0)):s,o=(t=i.getXExtremes(s)).min,r=t.max,w(o)||o instanceof Date||(s=s.filter(w),o=(t=i.getXExtremes(s)).min,r=t.max),s.length&&(e.dataMin=Math.min(D(e.dataMin,o),o),e.dataMax=Math.max(D(e.dataMax,r),r)));else{let t=i.applyExtremes();w(t.dataMin)&&(o=t.dataMin,e.dataMin=Math.min(D(e.dataMin,o),o)),w(t.dataMax)&&(r=t.dataMax,e.dataMax=Math.max(D(e.dataMax,r),r)),b(a)&&(e.threshold=a),(!n.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}}))})),A(this,"afterGetSeriesExtremes")}translate(t,e,i,s,o,r){var n;let a=this.linkedParent||this,l=s&&a.old?a.old.min:a.min;if(!w(l))return NaN;let h=a.minPixelPadding,d=(a.isOrdinal||(null===(n=a.brokenAxis)||void 0===n?void 0:n.hasBreaks)||a.logarithmic&&o)&&a.lin2val,c=1,p=0,u=s&&a.old?a.old.transA:a.transA,g=0;if(u||(u=a.transA),i&&(c*=-1,p=a.len),a.reversed&&(c*=-1,p-=c*(a.sector||a.len)),e)g=(t=t*c+p-h)/u+l,d&&(g=a.lin2val(g));else{d&&(t=a.val2lin(t));let e=c*(t-l)*u;g=(a.isRadial?e:x(e))+p+c*h+(w(r)?u*r:0)}return g}toPixels(t,e){return this.translate(t,!1,!this.horiz,void 0,!0)+(e?0:this.pos)}toValue(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,void 0,!0)}getPlotLinePath(t){let e,i,s,o,r,n=this,a=n.chart,l=n.left,h=n.top,d=t.old,c=t.value,p=t.lineWidth,u=d&&a.oldChartHeight||a.chartHeight,g=d&&a.oldChartWidth||a.chartWidth,f=n.transB,x=t.translatedValue,b=t.force;function y(t,e,i){return"pass"!==b&&(ti)&&(b?t=m(t,e,i):r=!0),t}let v={value:c,lineWidth:p,old:d,force:b,acrossPanes:t.acrossPanes,translatedValue:x};return A(this,"getPlotLinePath",v,(function(t){e=s=Math.round((x=m(x=D(x,n.translate(c,void 0,void 0,d)),-1e5,1e5))+f),i=o=Math.round(u-x-f),w(x)?n.horiz?(i=h,o=u-n.bottom,e=s=y(e,l,l+n.width)):(e=l,s=g-n.right,i=o=y(i,h,h+n.height)):(r=!0,b=!1),t.path=r&&!b?void 0:a.renderer.crispLine([["M",e,i],["L",s,o]],p||1)})),v.path}getLinearTickPositions(t,e,i){let s,o,r,n=x(Math.floor(e/t)*t),a=x(Math.ceil(i/t)*t),l=[];if(x(n+t)===n&&(r=20),this.single)return[e];for(s=n;s<=a&&(l.push(s),(s=x(s+t,r))!==o);)o=s;return l}getMinorTickInterval(){let{minorTicks:t,minorTickInterval:e}=this.options;return!0===t?D(e,"auto"):!1!==t?e:void 0}getMinorTickPositions(){let t,e=this.options,i=this.tickPositions,s=this.minorTickInterval,o=this.pointRangePadding||0,r=(this.min||0)-o,n=(this.max||0)+o,a=n-r,l=[];if(a&&a/s{var e;return(t.xIncrement?null===(e=t.xData)||void 0===e?void 0:e.slice(0,2):t.xData)||[]})))||0),this.dataMax-this.dataMin)),w(n)&&w(a)&&w(l)&&n-a=l,t=(l-n+a)/2,i=[a-t,D(o.min,a-t)],e&&(i[2]=r?r.log2lin(this.dataMin):this.dataMin),s=[(a=g(i))+l,D(o.max,a+l)],e&&(s[2]=r?r.log2lin(this.dataMax):this.dataMax),(n=f(s))-at-e)),t=M([i]))}return t&&e?Math.min(t,e):t||e}nameToX(t){let e,i=T(this.options.categories),s=i?this.categories:this.names,o=t.options.x;return t.series.requireSorting=!1,b(o)||(o=this.options.uniqueNames&&s?i?s.indexOf(t.name):D(s.keys[t.name],-1):t.series.autoIncrement()),-1===o?!i&&s&&(e=s.length):e=o,void 0!==e?(this.names[e]=t.name,this.names.keys[t.name]=e):t.x&&(e=t.x),e}updateNames(){let t=this,e=this.names;e.length>0&&(Object.keys(e.keys).forEach((function(t){delete e.keys[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((e=>{e.xIncrement=null,(!e.points||e.isDirtyData)&&(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach((function(i,s){let o;(null===i||void 0===i?void 0:i.options)&&void 0!==i.name&&void 0!==(o=t.nameToX(i))&&o!==i.x&&(i.x=o,e.xData[s]=o)}))})))}setAxisTranslation(){let t,e,i=this,s=i.max-i.min,o=i.linkedParent,r=!!i.categories,n=i.isXAxis,a=i.axisPointRange||0,l=0,h=0,d=i.transA;(n||r||a)&&(t=i.getClosest(),o?(l=o.minPointOffset,h=o.pointRangePadding):i.series.forEach((function(e){let s=r?1:n?D(e.options.pointRange,t,0):i.axisPointRange||0,o=e.options.pointPlacement;if(a=Math.max(a,s),!i.single||r){let t=e.is("xrange")?!n:n;l=Math.max(l,t&&P(o)?0:s/2),h=Math.max(h,t&&"on"===o?0:s)}})),e=i.ordinal&&i.ordinal.slope&&t?i.ordinal.slope/t:1,i.minPointOffset=l*=e,i.pointRangePadding=h*=e,i.pointRange=Math.min(a,i.single&&r?1:s),n&&t&&(i.closestPointRange=t)),i.translationSlope=i.transA=d=i.staticScale||i.len/(s+h||1),i.transB=i.horiz?i.left:i.bottom,i.minPixelPadding=d*l,A(this,"afterSetAxisTranslation")}minFromRange(){let{max:t,min:e}=this;return w(t)&&w(e)&&t-e||void 0}setTickInterval(t){var e;let i,s,o,r,n,{categories:a,chart:l,dataMax:h,dataMin:d,dateTime:c,isXAxis:p,logarithmic:u,options:g,softThreshold:f}=this,m=w(this.threshold)?this.threshold:void 0,y=this.minRange||0,{ceiling:v,floor:k,linkedTo:M,softMax:C,softMin:T}=g,P=w(M)&&(null===(e=l[this.coll])||void 0===e?void 0:e[M]),L=g.tickPixelInterval,E=g.maxPadding,O=g.minPadding,j=0,B=w(g.tickInterval)&&g.tickInterval>=0?g.tickInterval:void 0;if(c||a||P||this.getTickAmount(),r=D(this.userMin,g.min),n=D(this.userMax,g.max),P?(this.linkedParent=P,i=P.getExtremes(),this.min=D(i.min,i.dataMin),this.max=D(i.max,i.dataMax),g.type!==P.options.type&&S(11,!0,l)):(f&&b(m)&&w(h)&&w(d)&&(d>=m?(s=m,O=0):h<=m&&(o=m,E=0)),this.min=D(r,s,d),this.max=D(n,o,h)),w(this.max)&&w(this.min)&&(u&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,D(d,this.min))&&S(10,!0,l),this.min=x(u.log2lin(this.min),16),this.max=x(u.log2lin(this.max),16)),this.range&&w(d)&&(this.userMin=this.min=r=Math.max(d,this.minFromRange()||0),this.userMax=n=this.max,this.range=void 0)),A(this,"foundExtremes"),this.adjustForMinRange(),w(this.min)&&w(this.max)){var I;if(!w(this.userMin)&&w(T)&&Tthis.max&&(this.max=n=C),a||this.axisPointRange||null!==(I=this.stacking)&&void 0!==I&&I.usePercentage||P||!(j=this.max-this.min)||(!b(r)&&O&&(this.min-=j*O),b(n)||!E||(this.max+=j*E)),!w(this.userMin)&&w(k)&&(this.min=Math.max(this.min,k)),!w(this.userMax)&&w(v)&&(this.max=Math.min(this.max,v)),f&&w(d)&&w(h)){let t=m||0;!b(r)&&this.min=t?this.min=g.minRange?Math.min(t,this.max-y):t:!b(n)&&this.max>t&&h<=t&&(this.max=g.minRange?Math.max(t,this.min+y):t)}!l.polar&&this.min>this.max&&(b(g.min)?this.max=this.min:b(g.max)&&(this.min=this.max)),j=this.max-this.min}if(this.min!==this.max&&w(this.min)&&w(this.max)?P&&!B&&L===P.options.tickPixelInterval?this.tickInterval=B=P.tickInterval:this.tickInterval=D(B,this.tickAmount?j/Math.max(this.tickAmount-1,1):void 0,a?1:j*L/Math.max(this.len,L)):this.tickInterval=1,p&&!t){var R,N;let t=this.min!==(null===(R=this.old)||void 0===R?void 0:R.min)||this.max!==(null===(N=this.old)||void 0===N?void 0:N.max);this.series.forEach((function(e){var i;e.forceCrop=null===(i=e.forceCropping)||void 0===i?void 0:i.call(e),e.processData(t)})),A(this,"postProcessData",{hasExtremesChanged:t})}this.setAxisTranslation(),A(this,"initialAxisTranslation"),this.pointRange&&!B&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let G=D(g.minTickInterval,c&&!this.series.some((t=>t.noSharedTooltip))?this.closestPointRange:0);!B&&this.tickIntervalMath.max(2*this.len,200))h=[this.min,this.max],S(19,!1,this.chart);else if(this.dateTime)h=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,null===(c=this.ordinal)||void 0===c?void 0:c.positions,this.closestPointRange,!0);else if(this.logarithmic)h=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let t=this.tickInterval,e=t;for(;e<=2*t&&(h=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&h.length>this.tickAmount);)this.tickInterval=z(this,e*=1.1)}h.length>this.len&&(h=[h[0],h[h.length-1]])[0]===h[1]&&(h.length=1),s&&(this.tickPositions=h,(t=s.apply(this,[this.min,this.max]))&&(h=t))}this.tickPositions=h,this.paddedTicks=h.slice(0),this.trimTicks(h,a,l),!this.isLinked&&w(this.min)&&w(this.max)&&(this.single&&h.length<2&&!this.categories&&!this.series.some((t=>t.is("heatmap")&&"between"===t.options.pointPlacement))&&(this.min-=.5,this.max+=.5),i||t||this.adjustTickAmount()),A(this,"afterSetTickPositions")}trimTicks(t,e,i){let s=t[0],o=t[t.length-1],r=!this.isOrdinal&&this.minPointOffset||0;if(A(this,"trimTicks"),!this.isLinked){if(e&&s!==-1/0)this.min=s;else for(;this.min-r>t[0];)t.shift();if(i)this.max=o;else for(;this.max+r{let{horiz:e,options:i}=t;return[e?i.left:i.top,i.width,i.height,i.pane].join(",")},o=s(this);this.chart[this.coll].forEach((function(r){let{series:n}=r;n.length&&n.some((t=>t.visible))&&r!==e&&s(r)===o&&(t=!0,i.push(r))}))}if(t&&r){i.forEach((t=>{let i=t.getThresholdAlignment(e);w(i)&&n.push(i)}));let t=n.length>1?n.reduce(((t,e)=>t+e),0)/n.length:void 0;i.forEach((e=>{e.thresholdAlignment=t}))}return t}getThresholdAlignment(t){if((!w(this.dataMin)||this!==t&&this.series.some((t=>t.isDirty||t.isDirtyData)))&&this.getSeriesExtremes(),w(this.threshold)){let t=m((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(t=1-t),t}}getTickAmount(){let t=this.options,e=t.tickPixelInterval,i=t.tickAmount;b(t.tickInterval)||i||!(this.lenl.push(x(l[l.length-1]+u)),f=()=>l.unshift(x(l[0]-u));if(w(d)&&(i=d<.5?Math.ceil(d*(h-1)):Math.floor(d*(h-1)),a.reversed&&(i=h-1-i)),s.hasData()&&w(n)&&w(r)){let d=()=>{s.transA*=(c-1)/(h-1),s.min=a.startOnTick?l[0]:Math.min(n,l[0]),s.max=a.endOnTick?l[l.length-1]:Math.max(r,l[l.length-1])};if(w(i)&&w(s.threshold)){for(;l[i]!==p||l.length!==h||l[0]>n||l[l.length-1]s.threshold?f():g();if(u>8*s.tickInterval)break;u*=2}d()}else if(c0&&e{o=o||t.isDirtyData||t.isDirty,r=r||t.xAxis&&t.xAxis.isDirty||!1})),this.setAxisSize();let n=this.len!==(this.old&&this.old.len);n||o||r||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(s&&"yAxis"===i&&s.buildStacks(),this.forceRedraw=!1,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),s&&"xAxis"===i&&s.buildStacks(),this.isDirty||(this.isDirty=n||this.min!==(null===(t=this.old)||void 0===t?void 0:t.min)||this.max!==(null===(e=this.old)||void 0===e?void 0:e.max))):s&&s.cleanStacks(),o&&this.panningState&&(this.panningState.isDirty=!0),A(this,"afterSetScale")}setExtremes(t,e){let i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],s=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,r=this,n=r.chart;r.series.forEach((t=>{delete t.kdTree})),A(r,"setExtremes",o=k(o,{min:t,max:e}),(()=>{r.userMin=t,r.userMax=e,r.eventArgs=o,i&&n.redraw(s)}))}zoom(t,e){let i=this,s=this.dataMin,o=this.dataMax,r=this.options,n=Math.min(s,D(r.min,s)),a=Math.max(o,D(r.max,o)),l={newMin:t,newMax:e};return A(this,"zoom",l,(function(t){let e=t.newMin,r=t.newMax;(e!==i.min||r!==i.max)&&(!i.allowZoomOutside&&(b(s)&&(ea&&(e=a)),b(o)&&(ra&&(r=a))),i.displayBtn=void 0!==e||void 0!==r,i.setExtremes(e,r,!1,void 0,{trigger:"zoom"})),t.zoomed=!0})),l.zoomed}setAxisSize(){let t=this.chart,e=this.options,i=e.offsets||[0,0,0,0],s=this.horiz,o=this.width=Math.round(j(D(e.width,t.plotWidth-i[3]+i[1]),t.plotWidth)),r=this.height=Math.round(j(D(e.height,t.plotHeight-i[0]+i[2]),t.plotHeight)),n=this.top=Math.round(j(D(e.top,t.plotTop+i[0]),t.plotHeight,t.plotTop)),a=this.left=Math.round(j(D(e.left,t.plotLeft+i[3]),t.plotWidth,t.plotLeft));this.bottom=t.chartHeight-r-n,this.right=t.chartWidth-o-a,this.len=Math.max(s?o:r,0),this.pos=s?a:n}getExtremes(){let t=this.logarithmic;return{min:t?x(t.lin2log(this.min)):this.min,max:t?x(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(t){let e=this.logarithmic,i=e?e.lin2log(this.min):this.min,s=e?e.lin2log(this.max):this.max;return null===t||t===-1/0?t=i:t===1/0?t=s:i>t?t=i:s15&&e<165?t.align="right":e>195&&e<345&&(t.align="left")})),i.align}tickSize(t){let e,i=this.options,s=D(i["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),o=i["tick"===t?"tickLength":"minorTickLength"];s&&o&&("inside"===i[t+"Position"]&&(o=-o),e=[o,s]);let r={tickSize:e};return A(this,"afterTickSize",r),r.tickSize}labelMetrics(){let t=this.chart.renderer,e=this.ticks,i=e[Object.keys(e)[0]]||{};return this.chart.renderer.fontMetrics(i.label||i.movedLabel||t.box)}unsquish(){let t,e,i=this.options.labels,s=this.horiz,o=this.tickInterval,r=this.len/(((this.categories?1:0)+this.max-this.min)/o),n=i.rotation,a=this.labelMetrics().h,l=Math.max(this.max-this.min,0),h=function(t){let e=t/(r||1);return(e=e>1?Math.ceil(e):1)*o>l&&t!==1/0&&r!==1/0&&l&&(e=Math.ceil(l/o)),x(e*o)},d=o,c=Number.MAX_VALUE;if(s){if(!i.staggerLines&&(w(n)?e=[n]:r=-90&&o<=90)&&(s=(i=h(Math.abs(a/Math.sin(u*o))))+Math.abs(o/360))m&&(m=e.label.textPxLength)})),this.maxLabelLength=m,this.autoRotation)m>p&&m>g.h?u.rotation=this.labelRotation:this.labelRotation=0;else if(c&&(t=p,!f))for(e="clip",s=n.length;!d&&s--;)(i=a[n[s]].label)&&(i.styles&&"ellipsis"===i.styles.textOverflow?i.css({textOverflow:"clip"}):i.textPxLength>c&&i.css({width:c+"px"}),i.getBBox().height>this.len/n.length-(g.h-g.f)&&(i.specificTextOverflow="ellipsis"));u.rotation&&(t=m>.5*o.chartHeight?.33*o.chartHeight:m,f||(e="ellipsis")),this.labelAlign=l.align||this.autoLabelAlign(this.labelRotation),this.labelAlign&&(u.align=this.labelAlign),n.forEach((function(i){let s=a[i],o=s&&s.label,r=h.width,n={};o&&(o.attr(u),s.shortenLabel?s.shortenLabel():t&&!r&&"nowrap"!==h.whiteSpace&&(to.g(e).attr({zIndex:n}).addClass("highcharts-".concat(i.toLowerCase()).concat(r," ")+(this.isRadial?"highcharts-radial-axis".concat(r," "):"")+(s.className||"")).add(t);this.axisGroup||(this.gridGroup=r("grid","-grid",s.gridZIndex),this.axisGroup=r("axis","",s.zIndex),this.labelGroup=r("axis-labels","-labels",s.labels.zIndex))}getOffset(){let t,e,i,s,o=this,{chart:r,horiz:n,options:a,side:l,ticks:h,tickPositions:d,coll:c}=o,p=r.inverted&&!o.isZAxis?[1,0,3,2][l]:l,u=o.hasData(),g=a.title,f=a.labels,m=w(a.crossing),x=r.axisOffset,y=r.clipOffset,v=[-1,1,1,-1][l],S=0,k=0,M=0;if(o.showAxis=t=u||a.showEmpty,o.staggerLines=o.horiz&&f.staggerLines||void 0,o.createGroups(),u||o.isLinked?(d.forEach((function(t){o.generateTick(t)})),o.renderUnsquish(),o.reserveSpaceDefault=0===l||2===l||{1:"left",3:"right"}[l]===o.labelAlign,D(f.reserveSpace,!m&&null,"center"===o.labelAlign||null,o.reserveSpaceDefault)&&d.forEach((function(t){M=Math.max(h[t].getLabelSize(),M)})),o.staggerLines&&(M*=o.staggerLines),o.labelOffset=M*(o.opposite?-1:1)):O(h,(function(t,e){t.destroy(),delete h[e]})),null!==g&&void 0!==g&&g.text&&!1!==g.enabled&&(o.addTitle(t),t&&!m&&!1!==g.reserveSpace&&(o.titleOffset=S=o.axisTitle.getBBox()[n?"height":"width"],k=b(e=g.offset)?0:D(g.margin,n?5:10))),o.renderLine(),o.offset=v*D(a.offset,x[l]?x[l]+(a.margin||0):0),o.tickRotCorr=o.tickRotCorr||{x:0,y:0},s=0===l?-o.labelMetrics().h:2===l?o.tickRotCorr.y:0,i=Math.abs(M)+k,M&&(i-=s,i+=v*(n?D(f.y,o.tickRotCorr.y+v*f.distance):D(f.x,v*f.distance))),o.axisTitleMargin=D(e,i),o.getMaxLabelDimensions&&(o.maxLabelDimensions=o.getMaxLabelDimensions(h,d)),"colorAxis"!==c){let t=this.tickSize("tick");x[l]=Math.max(x[l],(o.axisTitleMargin||0)+S+v*o.offset,i,d&&d.length&&t?t[0]+v*o.offset:0);let e=!o.axisLine||a.offset?0:2*Math.floor(o.axisLine.strokeWidth()/2);y[p]=Math.max(y[p],e)}A(this,"afterGetOffset")}getLinePath(t){let e=this.chart,i=this.opposite,s=this.offset,o=this.horiz,r=this.left+(i?this.width:0)+s,n=e.chartHeight-this.bottom-(i?this.height:0)+s;return i&&(t*=-1),e.renderer.crispLine([["M",o?this.left:r,o?n:this.top],["L",o?e.chartWidth-this.right:r,o?n:e.chartHeight-this.bottom]],t)}renderLine(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(t){let e=this.horiz,i=this.left,s=this.top,o=this.len,r=this.options.title,n=e?i:s,a=this.opposite,l=this.offset,h=r.x,d=r.y,c=this.chart.renderer.fontMetrics(t),p=t?Math.max(t.getBBox(!1,0).height-c.h-1,0):0,u={low:n+(e?0:o),middle:n+o/2,high:n+(e?o:0)}[r.align],g=(e?s+this.height:i)+(e?1:-1)*(a?-1:1)*(this.axisTitleMargin||0)+[-p,p,c.f,-p][this.side],f={x:e?u+h:g+(a?this.width:0)+l+h,y:e?g+d-(a?this.height:0)+l:u+d};return A(this,"afterGetTitlePosition",{titlePosition:f}),f}renderMinorTick(t,e){let i=this.minorTicks;i[t]||(i[t]=new n(this,t,"minor")),e&&i[t].isNew&&i[t].render(null,!0),i[t].render(null,!1,1)}renderTick(t,e,i){let s=this.isLinked,o=this.ticks;(!s||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(o[t]||(o[t]=new n(this,t)),i&&o[t].isNew&&o[t].render(e,!0,-1),o[t].render(e))}render(){let t,e,i=this,s=i.chart,o=i.logarithmic,a=s.renderer,h=i.options,d=i.isLinked,c=i.tickPositions,p=i.axisTitle,u=i.ticks,g=i.minorTicks,f=i.alternateBands,m=h.stackLabels,x=h.alternateGridColor,b=h.crossing,y=i.tickmarkOffset,v=i.axisLine,S=i.showAxis,k=l(a.globalAnimation);if(i.labelEdge.length=0,i.overlap=!1,[u,g,f].forEach((function(t){O(t,(function(t){t.isActive=!1}))})),w(b)){let t=this.isXAxis?s.yAxis[0]:s.xAxis[0],e=[1,-1,-1,1][this.side];if(t){let s=t.toPixels(b,!0);i.horiz&&(s=t.len-s),i.offset=e*s}}if(i.hasData()||d){let a=i.chart.hasRendered&&i.old&&w(i.old.min);i.minorTickInterval&&!i.categories&&i.getMinorTickPositions().forEach((function(t){i.renderMinorTick(t,a)})),c.length&&(c.forEach((function(t,e){i.renderTick(t,e,a)})),y&&(0===i.min||i.single)&&(u[-1]||(u[-1]=new n(i,-1,null,!0)),u[-1].render(-1))),x&&c.forEach((function(n,a){e=void 0!==c[a+1]?c[a+1]+y:i.max-y,a%2==0&&n=.5)t=Math.round(t),h=o.getLinearTickPositions(t,e,i);else if(t>=.08){let o,r,n,a,l,d,c;for(o=t>.3?[1,2,4]:t>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],r=Math.floor(e);re&&(!s||d<=i)&&void 0!==d&&h.push(d),d>i&&(c=!0),d=l}else{let d=this.lin2log(e),c=this.lin2log(i),p=s?o.getMinorTickInterval():l.tickInterval,u="auto"===p?null:p,g=l.tickPixelInterval/(s?5:1),f=s?a/o.tickPositions.length:a;t=r(t=n(u,this.minorAutoInterval,(c-d)*g/(f||1))),h=o.getLinearTickPositions(t,d,c).map(this.log2lin),s||(this.minorAutoInterval=t/5)}return s||(o.tickInterval=t),h}lin2log(t){return Math.pow(10,t)}log2lin(t){return Math.log(t)/Math.LN10}}t.Additions=l}(i||(i={})),i})),i(e,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e){var i;let{composed:s}=t,{erase:o,extend:r,isNumber:n,pushUnique:a}=e;return function(t){let e;function i(t){return this.addPlotBandOrLine(t,"plotBands")}function l(t,i){let s=this.userOptions,o=new e(this,t);if(this.visible&&(o=o.render()),o){if(this._addedPlotLB||(this._addedPlotLB=!0,(s.plotLines||[]).concat(s.plotBands||[]).forEach((t=>{this.addPlotBandOrLine(t)}))),i){let e=s[i]||[];e.push(t),s[i]=e}this.plotLinesAndBands.push(o)}return o}function h(t){return this.addPlotBandOrLine(t,"plotLines")}function d(t,e,i){i=i||this.options;let s,o,r=this.getPlotLinePath({value:e,force:!0,acrossPanes:i.acrossPanes}),a=[],l=this.horiz,h=!n(this.min)||!n(this.max)||tthis.max&&e>this.max,d=this.getPlotLinePath({value:t,force:!0,acrossPanes:i.acrossPanes}),c=1;if(d&&r)for(h&&(o=d.toString()===r.toString(),c=0),s=0;s{var i;null===(i=M)||void 0===i||i.on(e,(function(t){g[e].apply(this,[t])}))})),this.eventsAdded=!0),!P&&M.d||null===(e=C)||void 0===e||!e.length?M&&(C?(M.show(),M.animate({d:C})):M.d&&(M.hide(),A&&(this.label=A=A.destroy()))):M.attr({d:C}),k&&(o(k.text)||o(k.formatter))&&null!==(i=C)&&void 0!==i&&i.length&&r.width>0&&r.height>0&&!C.isFlat?(k=l({align:c&&T&&"center",x:c?!T&&4:10,verticalAlign:!c&&T&&"middle",y:c?T?16:10:T?6:-4,rotation:c&&!T&&90},k),this.renderLabel(k,C,T,f)):A&&A.hide(),this}renderLabel(t,e,o,r){let n=this.axis,a=n.chart.renderer,h=this.label;h||(this.label=h=a.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(o?"band":"line")+"-label"+(t.className||""),zIndex:r}),n.chart.styledMode||h.css(l({fontSize:"0.8em",textOverflow:"ellipsis"},t.style)),h.add());let d=e.xBounds||[e[0][1],e[1][1],o?e[2][1]:e[0][1]],c=e.yBounds||[e[0][2],e[1][2],o?e[2][2]:e[0][2]],p=s(d),u=s(c);if(h.align(t,!1,{x:p,y:u,width:i(d)-p,height:i(c)-u}),!h.alignValue||"left"===h.alignValue){let e=t.clip?n.width:n.chart.chartWidth;h.css({width:(90===h.rotation?n.height-(h.alignAttr.y-n.top):e-(h.alignAttr.x-n.left))+"px"})}h.show(!0)}getLabelText(t){return o(t.formatter)?t.formatter.call(this):t.text}destroy(){n(this.axis.plotLinesAndBands,this),delete this.axis,r(this)}}return c})),i(e,"Core/Tooltip.js",[e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],(function(t,e,i,s,o){var r;let{format:n}=t,{composed:a,doc:l,isSafari:h}=e,{distribute:d}=i,{addEvent:c,clamp:p,css:u,discardElement:g,extend:f,fireEvent:m,isArray:x,isNumber:b,isString:y,merge:v,pick:S,pushUnique:k,splat:A,syncTimeout:M}=o;class C{constructor(t,e){this.allowShared=!0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=t,this.init(t,e)}bodyFormatter(t){return t.map((function(t){let e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")}))}cleanSplit(t){this.chart.series.forEach((function(e){let i=e&&e.tt;i&&(!i.isActive||t?e.tt=i.destroy():i.isActive=!1)}))}defaultFormatter(t){let e,i=this.points||A(this);return(e=(e=[t.tooltipFooterHeaderFormatter(i[0])]).concat(t.bodyFormatter(i))).push(t.tooltipFooterHeaderFormatter(i[0],!0)),e}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(!0),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),g(this.container)),o.clearTimeout(this.hideTimer),o.clearTimeout(this.tooltipTimeout)}getAnchor(t,e){let i,s=this.chart,o=s.pointer,r=s.inverted,n=s.plotTop,a=s.plotLeft;if((t=A(t))[0].series&&t[0].series.yAxis&&!t[0].series.yAxis.options.reversedStacks&&(t=t.slice().reverse()),this.followPointer&&e)void 0===e.chartX&&(e=o.normalize(e)),i=[e.chartX-a,e.chartY-n];else if(t[0].tooltipPos)i=t[0].tooltipPos;else{let s=0,o=0;t.forEach((function(t){let e=t.pos(!0);e&&(s+=e[0],o+=e[1])})),s/=t.length,o/=t.length,this.shared&&t.length>1&&e&&(r?s=e.chartX:o=e.chartY),i=[s-a,o-n]}return i.map(Math.round)}getClassName(t,e,i){let s=this.options,o=t.series,r=o.options;return[s.className,"highcharts-label",i&&"highcharts-tooltip-header",e?"highcharts-tooltip-box":"highcharts-tooltip",!i&&"highcharts-color-"+S(t.colorIndex,o.colorIndex),r&&r.className].filter(y).join(" ")}getLabel(){let t=this,i=this.chart.styledMode,o=this.options,r=this.split&&this.allowShared,n=this.container,a=this.chart.renderer;if(this.label){let t=!this.label.hasClass("highcharts-label");(!r&&t||r&&!t)&&this.destroy()}if(!this.label){if(this.outside){let t=this.chart.options.chart.style,i=s.getRendererType();this.container=n=e.doc.createElement("div"),n.className="highcharts-tooltip-container",u(n,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(t&&t.zIndex||0)+3)}),this.renderer=a=new i(n,0,0,t,void 0,void 0,a.styledMode)}if(r?this.label=a.g("tooltip"):(this.label=a.label("",0,0,o.shape,void 0,void 0,o.useHTML,void 0,"tooltip").attr({padding:o.padding,r:o.borderRadius}),i||this.label.attr({fill:o.backgroundColor,"stroke-width":o.borderWidth||0}).css(o.style).css({pointerEvents:o.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),t.outside){let e=this.label,{xSetter:i,ySetter:s}=e;e.xSetter=function(s){i.call(e,t.distance),n&&(n.style.left=s+"px")},e.ySetter=function(i){s.call(e,t.distance),n&&(n.style.top=i+"px")}}this.label.attr({zIndex:8}).shadow(o.shadow).add()}return n&&!n.parentElement&&e.doc.body.appendChild(n),this.label}getPlayingField(){let{body:t,documentElement:e}=l,{chart:i,distance:s,outside:o}=this;return{width:o?Math.max(t.scrollWidth,e.scrollWidth,t.offsetWidth,e.offsetWidth,e.clientWidth)-2*s:i.chartWidth,height:o?Math.max(t.scrollHeight,e.scrollHeight,t.offsetHeight,e.offsetHeight,e.clientHeight):i.chartHeight}}getPosition(t,e,i){var s;let o,{distance:r,chart:n,outside:a}=this,{inverted:l,plotLeft:h,plotTop:d,polar:c}=n,{plotX:p=0,plotY:u=0}=i,g={},f=l&&i.h||0,{height:m,width:x}=this.getPlayingField(),b=n.pointer.getChartPosition(),y=t=>t*b.scaleX,v=t=>t*b.scaleY,k=i=>{let s="x"===i;return[i,s?x:m,s?t:e].concat(a?[s?y(t):v(e),s?b.left-r+y(p+h):b.top-r+v(u+d),0,s?x:m]:[s?t:e,s?p+h:u+d,s?h:d,s?h+n.plotWidth:d+n.plotHeight])},A=k("y"),M=k("x"),C=!!i.negative;!c&&(null===(s=n.hoverSeries)||void 0===s||null===(s=s.yAxis)||void 0===s?void 0:s.reversed)&&(C=!C);let T=!this.followPointer&&S(i.ttBelow,!c&&!l===C),w=function(t,e,i,s,o,n,l){let h=a?"y"===t?v(r):y(r):r,d=(i-s)/2,c=se?m:m+f)}},P=function(t,e,i,s,o){if(oe-r)return!1;g[t]=oe-s/2?e-s-2:o-i/2},L=function(t){[A,M]=[M,A],o=t},E=()=>{!1!==w.apply(0,A)?!1!==P.apply(0,M)||o||(L(!0),E()):o?g.x=g.y=0:(L(!0),E())};return(l&&!c||this.len>1)&&L(),E(),g}hide(t){let e=this;o.clearTimeout(this.hideTimer),t=S(t,this.options.hideDelay),this.isHidden||(this.hideTimer=M((function(){let i=e.getLabel();e.getLabel().animate({opacity:0},{duration:t?150:t,complete:()=>{i.hide(),e.container&&e.container.remove()}}),e.isHidden=!0}),t))}init(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=S(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))}shouldStickOnContact(t){return!(this.followPointer||!this.options.stickOnContact||t&&!this.chart.pointer.inClass(t.target,"highcharts-tooltip"))}move(t,e,i,s){let r=this,n=r.now,a=!1!==r.options.animation&&!r.isHidden&&(Math.abs(t-n.x)>1||Math.abs(e-n.y)>1),l=r.followPointer||r.len>1;f(n,{x:a?(2*n.x+t)/3:t,y:a?(n.y+e)/2:e,anchorX:l?void 0:a?(2*n.anchorX+i)/3:i,anchorY:l?void 0:a?(n.anchorY+s)/2:s}),r.getLabel().attr(n),r.drawTracker(),a&&(o.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){r&&r.move(t,e,i,s)}),32))}refresh(t,e){let i=this.chart,s=this.options,r=i.pointer,a=A(t),l=a[0],h=[],d=s.format,c=s.formatter||this.defaultFormatter,p=this.shared,u=i.styledMode,g={};if(!s.enabled||!l.series)return;o.clearTimeout(this.hideTimer),this.allowShared=!(!x(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&l.series.tooltipOptions.followPointer;let f=this.getAnchor(t,e),b=f[0],v=f[1];p&&this.allowShared?(r.applyInactiveState(a),a.forEach((function(t){t.setState("hover"),h.push(t.getLabelConfig())})),(g=l.getLabelConfig()).points=h):g=l.getLabelConfig(),this.len=h.length;let k=y(d)?n(d,g,i):c.call(g,this),M=l.series;if(this.distance=S(M.tooltipOptions.distance,16),!1===k)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(k,a);else{let t=b,o=v;if(e&&r.isDirectTouch&&(t=e.chartX-i.plotLeft,o=e.chartY-i.plotTop),!i.polar&&!1!==M.options.clip&&!a.some((e=>r.isDirectTouch||e.series.shouldShowTooltip(t,o))))return void this.hide();{let t=this.getLabel();(!s.style.width||u)&&t.css({width:(this.outside?this.getPlayingField():i.spacingBox).width+"px"}),t.attr({text:k&&k.join?k.join(""):k}),t.addClass(this.getClassName(l),!0),u||t.attr({stroke:s.borderColor||l.color||M.color||"#666666"}),this.updatePosition({plotX:b,plotY:v,negative:l.negative,ttBelow:l.ttBelow,h:f[2]||0})}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}m(this,"refresh")}renderSplit(t,e){let i=this,{chart:s,chart:{chartWidth:o,chartHeight:r,plotHeight:n,plotLeft:a,plotTop:c,pointer:u,scrollablePixelsY:g=0,scrollablePixelsX:m,scrollingContainer:{scrollLeft:x,scrollTop:b}={scrollLeft:0,scrollTop:0},styledMode:v},distance:k,options:A,options:{positioner:M}}=i,C=i.outside&&"number"!=typeof m?l.documentElement.getBoundingClientRect():{left:x,right:x+o,top:b,bottom:b+r},T=i.getLabel(),w=this.renderer||s.renderer,P=!(!s.xAxis[0]||!s.xAxis[0].opposite),{left:L,top:E}=u.getChartPosition(),O=c+b,D=0,j=n-g;function B(t,e,s,o){let r,n,a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];return s?(r=P?0:j,n=p(t-o/2,C.left,C.right-o-(i.outside?L:0))):(r=e-O,n=p(n=a?t-o-k:t+k,a?n:C.left,C.right)),{x:n,y:r}}y(t)&&(t=[!1,t]);let I=t.slice(0,e.length+1).reduce((function(t,s,o){if(!1!==s&&""!==s){let r=e[o-1]||{isHeader:!0,plotX:e[0].plotX,plotY:n,series:{}},l=r.isHeader,h=l?i:r.series,d=h.tt=function(t,e,s){let o=t,{isHeader:r,series:n}=e;if(!o){var a;let t={padding:A.padding,r:A.borderRadius};v||(t.fill=A.backgroundColor,t["stroke-width"]=null!==(a=A.borderWidth)&&void 0!==a?a:1),o=w.label("",0,0,A[r?"headerShape":"shape"],void 0,void 0,A.useHTML).addClass(i.getClassName(e,!0,r)).attr(t).add(T)}return o.isActive=!0,o.attr({text:s}),v||o.css(A.style).attr({stroke:A.borderColor||e.color||n.color||"#333333"}),o}(h.tt,r,s.toString()),u=d.getBBox(),g=u.width+d.strokeWidth();l&&(D=u.height,j+=D,P&&(O-=D));let{anchorX:f,anchorY:m}=function(t){let e,i,{isHeader:s,plotX:o=0,plotY:r=0,series:l}=t;if(s)e=Math.max(a+o,a),i=c+n/2;else{let{xAxis:t,yAxis:s}=l;e=t.pos+p(o,-k,t.len+k),l.shouldShowTooltip(0,s.pos-c+r,{ignoreX:!0})&&(i=s.pos+r)}return{anchorX:e=p(e,C.left-k,C.right+k),anchorY:i}}(r);if("number"==typeof m){let e=u.height+1,s=M?M.call(i,g,e,r):B(f,m,l,g);t.push({align:M?0:void 0,anchorX:f,anchorY:m,boxWidth:g,point:r,rank:S(s.rank,l?1:0),size:e,target:s.y,tt:d,x:s.x})}else d.isActive=!1}return t}),[]);!M&&I.some((t=>{let{outside:e}=i,s=(e?L:0)+t.anchorX;return ss}))&&(I=I.map((t=>{let{x:e,y:i}=B(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return f(t,{target:i,x:e})}))),i.cleanSplit(),d(I,j);let R={left:L,right:L};I.forEach((function(t){let{x:e,boxWidth:s,isHeader:o}=t;!o&&(i.outside&&L+eR.right&&(R.right=L+e))})),I.forEach((function(t){let{x:e,anchorX:s,anchorY:o,pos:r,point:{isHeader:n}}=t,a={visibility:void 0===r?"hidden":"inherit",x:e,y:(r||0)+O,anchorX:s,anchorY:o};if(i.outside&&e0&&(n||(a.x=e+t,a.anchorX=s+t),n&&(a.x=(R.right-R.left)/2,a.anchorX=s+t))}t.tt.attr(a)}));let{container:z,outside:N,renderer:G}=i;if(N&&z&&G){let{width:t,height:e,x:i,y:s}=T.getBBox();G.setSize(t+i,e+s,!1),z.style.left=R.left+"px",z.style.top=E+"px"}h&&T.attr({opacity:1===T.opacity?.999:1})}drawTracker(){if(!this.shouldStickOnContact())return void(this.tracker&&(this.tracker=this.tracker.destroy()));let t=this.chart,e=this.label,i=this.shared?t.hoverPoints:t.hoverPoint;if(!e||!i)return;let s={x:0,y:0,width:0,height:0},o=this.getAnchor(i),r=e.getBBox();o[0]+=t.plotLeft-(e.translateX||0),o[1]+=t.plotTop-(e.translateY||0),s.x=Math.min(0,o[0]),s.y=Math.min(0,o[1]),s.width=o[0]<0?Math.max(Math.abs(o[0]),r.width-o[0]):Math.max(Math.abs(o[0]),r.width),s.height=o[1]<0?Math.max(Math.abs(o[1]),r.height-Math.abs(o[1])):Math.max(Math.abs(o[1]),r.height),this.tracker?this.tracker.attr(s):(this.tracker=e.renderer.rect(s).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(t){return t.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}tooltipFooterHeaderFormatter(t,e){let i=t.series,s=i.tooltipOptions,o=i.xAxis,r=o&&o.dateTime,a={isFooter:e,labelConfig:t},l=s.xDateFormat,h=s[e?"footerFormat":"headerFormat"];return m(this,"headerFormatter",a,(function(e){r&&!l&&b(t.key)&&(l=r.getXDateFormat(t.key,s.dateTimeLabelFormats)),r&&l&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){h=h.replace("{point."+t+"}","{point."+t+":"+l+"}")})),i.chart.styledMode&&(h=this.styledModeFormat(h)),e.text=n(h,{point:t,series:i},this.chart)})),a.text}update(t){this.destroy(),this.init(this.chart,v(!0,this.options,t))}updatePosition(t){let e,{chart:i,container:s,distance:o,options:r,renderer:n}=this,{height:a=0,width:l=0}=this.getLabel(),h=i.pointer,{left:d,top:c,scaleX:p,scaleY:g}=h.getChartPosition(),f=(r.positioner||this.getPosition).call(this,l,a,t),m=(t.plotX||0)+i.plotLeft,x=(t.plotY||0)+i.plotTop;n&&s&&(r.positioner&&(f.x+=d-o,f.y+=c-o),e=(r.borderWidth||0)+2*o+2,n.setSize(l+e,a+e,!1),(1!==p||1!==g)&&(u(s,{transform:"scale(".concat(p,", ").concat(g,")")}),m*=p,x*=g),m+=d-f.x,x+=c-f.y),this.move(Math.round(f.x),Math.round(f.y||0),m,x)}}return(r=C||(C={})).compose=function t(e){k(a,t)&&c(e,"afterInit",(function(){let t=this.chart;t.options.tooltip&&(t.tooltip=new r(t,t.options.tooltip))}))},C})),i(e,"Core/Series/Point.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],(function(t,e,i,s,o){let{animObject:r}=e,{defaultOptions:n}=i,{format:a}=s,{addEvent:l,defined:h,erase:d,extend:c,fireEvent:p,getNestedProperty:u,isArray:g,isFunction:f,isNumber:m,isObject:x,merge:b,objectEach:y,pick:v,syncTimeout:S,removeEvent:k,uniqueKey:A}=o;class M{animateBeforeDestroy(){let t=this,e={x:t.startXPos,opacity:0},i=t.getGraphicalProps();i.singular.forEach((function(i){t[i]=t[i].animate("dataLabel"===i?{x:t[i].startXPos,y:t[i].startYPos,opacity:0}:e)})),i.plural.forEach((function(e){t[e].forEach((function(e){e.element&&e.animate(c({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))}))}))}applyOptions(t,e){let i=this.series,s=i.options.pointValKey||i.pointValKey;return c(this,t=M.prototype.optionsToObject.call(this,t)),this.options=this.options?c(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,s&&(this.y=M.prototype.getNestedProperty.call(this,s)),this.selected&&(this.state="select"),"name"in this&&void 0===e&&i.xAxis&&i.xAxis.hasNames&&(this.x=i.xAxis.nameToX(this)),void 0===this.x&&i?this.x=void 0===e?i.autoIncrement():e:m(t.x)&&i.options.relativeXValue&&(this.x=i.autoIncrement(t.x)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let t=this,e=t.series,i=e.chart,s=e.options.dataSorting,o=i.hoverPoints,n=t.series.chart.renderer.globalAnimation,a=r(n),l=()=>{for(let e in(t.graphic||t.graphics||t.dataLabel||t.dataLabels)&&(k(t),t.destroyElements()),t)delete t[e]};t.legendItem&&i.legend.destroyItem(t),o&&(t.setState(),d(o,t),o.length||(i.hoverPoints=null)),t===i.hoverPoint&&t.onMouseOut(),s&&s.enabled?(this.animateBeforeDestroy(),S(l,a.duration)):l(),i.pointCount--}this.destroyed=!0}destroyElements(t){let e=this,i=e.getGraphicalProps(t);i.singular.forEach((function(t){e[t]=e[t].destroy()})),i.plural.forEach((function(t){e[t].forEach((function(t){t&&t.element&&t.destroy()})),delete e[t]}))}firePointEvent(t,e,i){let s=this,o=this.series.options;(o.point.events[t]||s.options&&s.options.events&&s.options.events[t])&&s.importEvents(),"click"===t&&o.allowPointSelect&&(i=function(t){!s.destroyed&&s.select&&s.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),p(s,t,e,i)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(t){let e,i,s=this,o=[],r={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&o.push("graphic","connector"),t.dataLabel&&o.push("dataLabel","dataLabelPath","dataLabelUpper"),i=o.length;i--;)s[e=o[i]]&&r.singular.push(e);return["graphic","dataLabel"].forEach((function(e){let i=e+"s";t[e]&&s[i]&&r.plural.push(i)})),r}getLabelConfig(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}}getNestedProperty(t){return t?0===t.indexOf("custom.")?u(t,this.options):this[t]:void 0}getZone(){let t,e=this.series,i=e.zones,s=e.zoneAxis||"y",o=0;for(t=i[0];this[s]>=t.value;)t=i[++o];return this.nonZonedColor||(this.nonZonedColor=this.color),t&&t.color&&!this.options.color?this.color=t.color:this.color=this.nonZonedColor,t}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}constructor(t,e,i){var s;this.formatPrefix="point",this.visible=!0,this.series=t,this.applyOptions(e,i),null!==(s=this.id)&&void 0!==s||(this.id=A()),this.resolveColor(),t.chart.pointCount++,p(this,"afterInit")}isValid(){return(m(this.x)||this.x instanceof Date)&&m(this.y)}optionsToObject(t){let e,i=this.series,s=i.options.keys,o=s||i.pointArrayMap||["y"],r=o.length,n={},a=0,l=0;if(m(t)||null===t)n[o[0]]=t;else if(g(t))for(!s&&t.length>r&&("string"==(e=typeof t[0])?n.name=t[0]:"number"===e&&(n.x=t[0]),a++);l0?M.prototype.setNestedProperty(n,t[a],o[l]):n[o[l]]=t[a]),a++,l++;else"object"==typeof t&&(n=t,t.dataLabels&&(i.hasDataLabels=()=>!0),t.marker&&(i._hasPointMarkers=!0));return n}pos(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.plotY;if(!this.destroyed){let{plotX:i,series:s}=this,{chart:o,xAxis:r,yAxis:n}=s,a=0,l=0;if(m(i)&&m(e))return t&&(a=r?r.pos:o.plotLeft,l=n?n.pos:o.plotTop),o.inverted&&r&&n?[n.len-e+l,r.len-i+a]:[i+a,e+l]}}resolveColor(){let t,e,i,s=this.series,o=s.chart.options.chart,r=s.chart.styledMode,n=o.colorCount;delete this.nonZonedColor,s.options.colorByPoint?(r||(t=(e=s.options.colors||s.chart.options.colors)[s.colorCounter],n=e.length),i=s.colorCounter,s.colorCounter++,s.colorCounter===n&&(s.colorCounter=0)):(r||(t=s.color),i=s.colorIndex),this.colorIndex=v(this.options.colorIndex,i),this.color=v(this.options.color,t)}setNestedProperty(t,e,i){return i.split(".").reduce((function(t,i,s,o){let r=o.length-1===s;return t[i]=r?e:x(t[i],!0)?t[i]:{},t[i]}),t),t}shouldDraw(){return!this.isNull}tooltipFormatter(t){let e=this.series,i=e.tooltipOptions,s=v(i.valueDecimals,""),o=i.valuePrefix||"",r=i.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach((function(e){e="{point."+e,(o||r)&&(t=t.replace(RegExp(e+"}","g"),o+e+"}"+r)),t=t.replace(RegExp(e+"}","g"),e+":,."+s+"f}")})),a(t,{point:this,series:this.series},e.chart)}update(t,e,i,s){let o,r=this,n=r.series,a=r.graphic,l=n.chart,h=n.options;function d(){r.applyOptions(t);let s=a&&r.hasMockGraphic,d=null===r.y?!s:s;a&&d&&(r.graphic=a.destroy(),delete r.hasMockGraphic),x(t,!0)&&(a&&a.element&&t&&t.marker&&void 0!==t.marker.symbol&&(r.graphic=a.destroy()),null!==t&&void 0!==t&&t.dataLabels&&r.dataLabel&&(r.dataLabel=r.dataLabel.destroy())),o=r.index,n.updateParallelArrays(r,o),h.data[o]=x(h.data[o],!0)||x(t,!0)?r.options:v(t,h.data[o]),n.isDirty=n.isDirtyData=!0,!n.fixedBox&&n.hasCartesianSeries&&(l.isDirtyBox=!0),"point"===h.legendType&&(l.isDirtyLegend=!0),e&&l.redraw(i)}e=v(e,!0),!1===s?d():r.firePointEvent("update",{options:t},d)}remove(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)}select(t,e){let i=this,s=i.series,o=s.chart;t=v(t,!i.selected),this.selectedStaging=t,i.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){i.selected=i.options.selected=t,s.options.data[s.data.indexOf(i)]=i.options,i.setState(t&&"select"),e||o.getSelectedPoints().forEach((function(t){let e=t.series;t.selected&&t!==i&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(o.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging}onMouseOver(t){let e=this.series.chart,i=e.pointer;t=t?i.normalize(t):i.getChartCoordinatesFromPoint(this,e.inverted),i.runPointActions(t,this)}onMouseOut(){let t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null}importEvents(){if(!this.hasImportedEvents){let t=this,e=b(t.series.options.point,t.options).events;t.events=e,y(e,(function(e,i){f(e)&&l(t,i,e)})),this.hasImportedEvents=!0}}setState(e,i){let s,o,r,a,l=this.series,h=this.state,d=l.options.states[e||"normal"]||{},u=n.plotOptions[l.type].marker&&l.options.marker,g=u&&!1===u.enabled,f=u&&u.states&&u.states[e||"normal"]||{},x=!1===f.enabled,b=this.marker||{},y=l.chart,S=u&&l.markerAttribs,k=l.halo,A=l.stateMarkerGraphic;if((e=e||"")===this.state&&!i||this.selected&&"select"!==e||!1===d.enabled||e&&(x||g&&!1===f.enabled)||e&&b.states&&b.states[e]&&!1===b.states[e].enabled)return;if(this.state=e,S&&(s=l.markerAttribs(this,e)),this.graphic&&!this.hasMockGraphic){if(h&&this.graphic.removeClass("highcharts-point-"+h),e&&this.graphic.addClass("highcharts-point-"+e),!y.styledMode){o=l.pointAttribs(this,e),r=v(y.options.chart.animation,d.animation);let t=o.opacity;l.options.inactiveOtherPoints&&m(t)&&(this.dataLabels||[]).forEach((function(e){e&&!e.hasClass("highcharts-data-label-hidden")&&(e.animate({opacity:t},r),e.connector&&e.connector.animate({opacity:t},r))})),this.graphic.animate(o,r)}s&&this.graphic.animate(s,v(y.options.chart.animation,f.animation,u.animation)),A&&A.hide()}else e&&f&&(a=b.symbol||l.symbol,A&&A.currentSymbol!==a&&(A=A.destroy()),s&&(A?A[i?"animate":"attr"]({x:s.x,y:s.y}):a&&(l.stateMarkerGraphic=A=y.renderer.symbol(a,s.x,s.y,s.width,s.height).add(l.markerGroup),A.currentSymbol=a)),!y.styledMode&&A&&"inactive"!==this.state&&A.attr(l.pointAttribs(this,e))),A&&(A[e&&this.isInside?"show":"hide"](),A.element.point=this,A.addClass(this.getClassName(),!0));let M=d.halo,C=this.graphic||A,T=C&&C.visibility||"inherit";M&&M.size&&C&&"hidden"!==T&&!this.isCluster?(k||(l.halo=k=y.renderer.path().add(C.parentGroup)),k.show()[i?"animate":"attr"]({d:this.haloPath(M.size)}),k.attr({class:"highcharts-halo highcharts-color-"+v(this.colorIndex,l.colorIndex)+(this.className?" "+this.className:""),visibility:T,zIndex:-1}),k.point=this,y.styledMode||k.attr(c({fill:this.color||l.color,"fill-opacity":M.opacity},t.filterUserAttributes(M.attributes||{})))):k&&k.point&&k.point.haloPath&&k.animate({d:k.point.haloPath(0)},null,k.hide),p(this,"afterSetState",{state:e})}haloPath(t){let e=this.pos();return e?this.series.chart.renderer.symbols.circle(Math.floor(e[0])-t,e[1]-t,2*t,2*t):[]}}return M})),i(e,"Core/Pointer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,i){var s;let{parse:o}=t,{charts:r,composed:n,noop:a}=e,{addEvent:l,attr:h,css:d,defined:c,extend:p,find:u,fireEvent:g,isNumber:f,isObject:m,objectEach:x,offset:b,pick:y,pushUnique:v,splat:S}=i;class k{applyInactiveState(t){let e,i=[];(t||[]).forEach((function(t){e=t.series,i.push(e),e.linkedParent&&i.push(e.linkedParent),e.linkedSeries&&(i=i.concat(e.linkedSeries)),e.navigatorSeries&&i.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===i.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))}destroy(){let t=this;this.eventsToUnbind.forEach((t=>t())),this.eventsToUnbind=[],!e.chartCount&&(k.unbindDocumentMouseUp&&(k.unbindDocumentMouseUp=k.unbindDocumentMouseUp()),k.unbindDocumentTouchEnd&&(k.unbindDocumentTouchEnd=k.unbindDocumentTouchEnd())),clearInterval(t.tooltipTimeout),x(t,(function(e,i){t[i]=void 0}))}getSelectionMarkerAttrs(t,e){let i={args:{chartX:t,chartY:e},attrs:{},shapeType:"rect"};return g(this,"getSelectionMarkerAttrs",i,(i=>{let s,{chart:o,mouseDownX:r=0,mouseDownY:n=0,zoomHor:a,zoomVert:l}=this,h=i.attrs;h.x=o.plotLeft,h.y=o.plotTop,h.width=a?1:o.plotWidth,h.height=l?1:o.plotHeight,a&&(s=t-r,h.width=Math.abs(s),h.x=(s>0?0:s)+r),l&&(s=e-n,h.height=Math.abs(s),h.y=(s>0?0:s)+n)})),i}drag(t){let e,i=this.chart,s=i.options.chart,r=i.plotLeft,n=i.plotTop,a=i.plotWidth,l=i.plotHeight,h=this.mouseDownX||0,d=this.mouseDownY||0,c=m(s.panning)?s.panning&&s.panning.enabled:s.panning,p=s.panKey&&t[s.panKey+"Key"],u=t.chartX,g=t.chartY,f=this.selectionMarker;if((!f||!f.touch)&&(ur+a&&(u=r+a),gn+l&&(g=n+l),this.hasDragged=Math.sqrt(Math.pow(h-u,2)+Math.pow(d-g,2)),this.hasDragged>10)){e=i.isInsidePlot(h-r,d-n,{visiblePlotOnly:!0});let{shapeType:a,attrs:l}=this.getSelectionMarkerAttrs(u,g);(i.hasCartesianSeries||i.mapView)&&(this.zoomX||this.zoomY)&&e&&!p&&!f&&(this.selectionMarker=f=i.renderer[a](),f.attr({class:"highcharts-selection-marker",zIndex:7}).add(),i.styledMode||f.attr({fill:s.selectionMarkerFill||o("#334eff").setOpacity(.25).get()})),f&&f.attr(l),e&&!f&&c&&i.pan(t,s.panning)}}dragStart(t){let e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY}getSelectionBox(t){let e={args:{marker:t},result:{}};return g(this,"getSelectionBox",e,(e=>{e.result={x:t.attr?+t.attr("x"):t.x,y:t.attr?+t.attr("y"):t.y,width:t.attr?t.attr("width"):t.width,height:t.attr?t.attr("height"):t.height}})),e.result}drop(t){let e=this,i=this.chart,s=this.hasPinched;if(this.selectionMarker){let{x:o,y:r,width:n,height:a}=this.getSelectionBox(this.selectionMarker),l={originalEvent:t,xAxis:[],yAxis:[],x:o,y:r,width:n,height:a},h=!!i.mapView;(this.hasDragged||s)&&(i.axes.forEach((function(i){if(i.zoomEnabled&&c(i.min)&&(s||e[{xAxis:"zoomX",yAxis:"zoomY"}[i.coll]])&&f(o)&&f(r)&&f(n)&&f(a)){let e=i.horiz,s="touchend"===t.type?i.minPixelPadding:0,d=i.toValue((e?o:r)+s),c=i.toValue((e?o+n:r+a)-s);l[i.coll].push({axis:i,min:Math.min(d,c),max:Math.max(d,c)}),h=!0}})),h&&g(i,"selection",l,(function(t){i.zoom(p(t,s?{animation:!1}:null))}))),f(i.index)&&(this.selectionMarker=this.selectionMarker.destroy()),s&&this.scaleGroups()}i&&f(i.index)&&(d(i.container,{cursor:i._cursor}),i.cancelClick=+this.hasDragged>10,i.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])}findNearestKDPoint(t,e,i){let s;return t.forEach((function(t){let o=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y"),r=t.searchPoint(i,o);m(r,!0)&&r.series&&(!m(s,!0)||function(t,i){let s=t.distX-i.distX,o=t.dist-i.dist,r=(i.series.group&&i.series.group.zIndex)-(t.series.group&&t.series.group.zIndex);return 0!==s&&e?s:0!==o?o:0!==r?r:t.series.index>i.series.index?-1:1}(s,r)>0)&&(s=r)})),s}getChartCoordinatesFromPoint(t,e){let i=t.series,s=i.xAxis,o=i.yAxis,r=t.shapeArgs;if(s&&o){let i=y(t.clientX,t.plotX),n=t.plotY||0;return t.isNode&&r&&f(r.x)&&f(r.y)&&(i=r.x,n=r.y),e?{chartX:o.len+o.pos-n,chartY:s.len+s.pos-i}:{chartX:i+s.pos,chartY:n+o.pos}}if(r&&r.x&&r.y)return{chartX:r.x,chartY:r.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:t}=this.chart,e=b(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};let i=t.offsetWidth,s=t.offsetHeight;return i>2&&s>2&&(this.chartPosition.scaleX=e.width/i,this.chartPosition.scaleY=e.height/s),this.chartPosition}getCoordinates(t){let e={xAxis:[],yAxis:[]};return this.chart.axes.forEach((function(i){e[i.isXAxis?"xAxis":"yAxis"].push({axis:i,value:i.toValue(t[i.horiz?"chartX":"chartY"])})})),e}getHoverData(t,e,i,s,o,r){let n,a=[],l=function(t){return t.visible&&!(!o&&t.directTouch)&&y(t.options.enableMouseTracking,!0)},h=e,d={chartX:r?r.chartX:void 0,chartY:r?r.chartY:void 0,shared:o};g(this,"beforeGetHoverData",d),n=h&&!h.stickyTracking?[h]:i.filter((t=>t.stickyTracking&&(d.filter||l)(t)));let c=s&&t||!r?t:this.findNearestKDPoint(n,o,r);return h=c&&c.series,c&&(o&&!h.noSharedTooltip?(n=i.filter((function(t){return d.filter?d.filter(t):l(t)&&!t.noSharedTooltip}))).forEach((function(t){let e=u(t.points,(function(t){return t.x===c.x&&!t.isNull}));m(e)&&(t.boosted&&t.boost&&(e=t.boost.getPoint(e)),a.push(e))})):a.push(c)),g(this,"afterGetHoverData",d={hoverPoint:c}),{hoverPoint:d.hoverPoint,hoverSeries:h,hoverPoints:a}}getPointFromEvent(t){let e,i=t.target;for(;i&&!e;)e=i.point,i=i.parentNode;return e}onTrackerMouseOut(t){let e=this.chart,i=t.relatedTarget,s=e.hoverSeries;this.isDirectTouch=!1,!s||!i||s.stickyTracking||this.inClass(i,"highcharts-tooltip")||this.inClass(i,"highcharts-series-"+s.index)&&this.inClass(i,"highcharts-tracker")||s.onMouseOut()}inClass(t,e){let i,s=t;for(;s;){if(i=h(s,"class")){if(-1!==i.indexOf(e))return!0;if(-1!==i.indexOf("highcharts-container"))return!1}s=s.parentElement}}constructor(t,e){var i;this.hasDragged=!1,this.lastValidTouch={},this.pinchDown=[],this.eventsToUnbind=[],this.options=e,this.chart=t,this.runChartClick=!(null===(i=e.chart.events)||void 0===i||!i.click),this.pinchDown=[],this.lastValidTouch={},this.setDOMEvents(),g(this,"afterInit")}normalize(t,e){let i=t.touches,s=i?i.length?i.item(0):y(i.changedTouches,t.changedTouches)[0]:t;e||(e=this.getChartPosition());let o=s.pageX-e.left,r=s.pageY-e.top;return p(t,{chartX:Math.round(o/=e.scaleX),chartY:Math.round(r/=e.scaleY)})}onContainerClick(t){let e=this.chart,i=e.hoverPoint,s=this.normalize(t),o=e.plotLeft,r=e.plotTop;!e.cancelClick&&(i&&this.inClass(s.target,"highcharts-tracker")?(g(i.series,"click",p(s,{point:i})),e.hoverPoint&&i.firePointEvent("click",s)):(p(s,this.getCoordinates(s)),e.isInsidePlot(s.chartX-o,s.chartY-r,{visiblePlotOnly:!0})&&g(e,"click",s)))}onContainerMouseDown(t){let i=1==(1&(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),(void 0===t.button||i)&&(this.zoomOption(t),i&&t.preventDefault&&t.preventDefault(),this.dragStart(t))}onContainerMouseLeave(t){let e=r[y(k.hoverChartIndex,-1)];t=this.normalize(t),this.onContainerMouseMove(t),e&&t.relatedTarget&&!this.inClass(t.relatedTarget,"highcharts-tooltip")&&(e.pointer.reset(),e.pointer.chartPosition=void 0)}onContainerMouseEnter(t){delete this.chartPosition}onContainerMouseMove(t){let e=this.chart,i=e.tooltip,s=this.normalize(t);this.setHoverChartIndex(t),("mousedown"===e.mouseIsDown||this.touchSelect(s))&&this.drag(s),!e.openMenu&&(this.inClass(s.target,"highcharts-tracker")||e.isInsidePlot(s.chartX-e.plotLeft,s.chartY-e.plotTop,{visiblePlotOnly:!0}))&&(!i||!i.shouldStickOnContact(s))&&(this.inClass(s.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(s))}onDocumentTouchEnd(t){let e=r[y(k.hoverChartIndex,-1)];e&&e.pointer.drop(t)}onContainerTouchMove(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)}onContainerTouchStart(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))}onDocumentMouseMove(t){let e=this.chart,i=e.tooltip,s=this.chartPosition,o=this.normalize(t,s);!s||e.isInsidePlot(o.chartX-e.plotLeft,o.chartY-e.plotTop,{visiblePlotOnly:!0})||i&&i.shouldStickOnContact(o)||this.inClass(o.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(t){let e=r[y(k.hoverChartIndex,-1)];e&&e.pointer.drop(t)}pinch(t){let e=this,i=e.chart,s=e.pinchDown,o=t.touches||[],r=o.length,n=e.lastValidTouch,l=e.hasZoom,h={},d=1===r&&(e.inClass(t.target,"highcharts-tracker")&&i.runTrackerClick||e.runChartClick),c={},u=e.chart.tooltip,f=1===r&&y(u&&u.options.followTouchMove,!0),m=e.selectionMarker;r>1?e.initiated=!0:f&&(e.initiated=!1),l&&e.initiated&&!d&&!1!==t.cancelable&&t.preventDefault(),[].map.call(o,(function(t){return e.normalize(t)})),"touchstart"===t.type?([].forEach.call(o,(function(t,e){s[e]={chartX:t.chartX,chartY:t.chartY}})),n.x=[s[0].chartX,s[1]&&s[1].chartX],n.y=[s[0].chartY,s[1]&&s[1].chartY],i.axes.forEach((function(t){if(t.zoomEnabled){let e=i.bounds[t.horiz?"h":"v"],s=t.minPixelPadding,o=t.toPixels(Math.min(y(t.options.min,t.dataMin),t.dataMin)),r=t.toPixels(Math.max(y(t.options.max,t.dataMax),t.dataMax)),n=Math.min(o,r),a=Math.max(o,r);e.min=Math.min(t.pos,n-s),e.max=Math.max(t.pos+t.len,a+s)}})),e.res=!0):f?this.runPointActions(e.normalize(t)):s.length&&(g(i,"touchpan",{originalEvent:t},(()=>{m||(e.selectionMarker=m=p({destroy:a,touch:!0},i.plotBox)),e.pinchTranslate(s,o,h,m,c,n),e.hasPinched=l,e.scaleGroups(h,c)})),e.res&&(e.res=!1,this.reset(!1,0)))}pinchTranslate(t,e,i,s,o,r){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,i,s,o,r),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,i,s,o,r)}pinchTranslateDirection(t,e,i,s,o,r,n,a){let l,h,d,c,p=this.chart,u=t?"x":"y",g=t?"X":"Y",f="chart"+g,m=t?"width":"height",x=p["plot"+(t?"Left":"Top")],b=p.inverted,y=p.bounds[t?"h":"v"],v=1===e.length,S=e[0][f],k=!v&&e[1][f],A=function(){"number"==typeof T&&Math.abs(S-k)>20&&(M=a||Math.abs(C-T)/Math.abs(S-k)),d=(x-C)/M+S,l=p["plot"+(t?"Width":"Height")]/M},M=a||1,C=i[0][f],T=!v&&i[1][f];A(),(h=d)y.max&&(h=y.max-l,c=!0),c?(C-=.8*(C-n[u][0]),"number"==typeof T&&(T-=.8*(T-n[u][1])),A()):n[u]=[C,T],b||(r[u]=d-x,r[m]=l);let w=b?t?"scaleY":"scaleX":"scale"+g,P=b?1/M:M;o[m]=l,o[u]=h,s[w]=M*(b&&!t?-1:1),s["translate"+g]=P*x+(C-P*S)}reset(t,e){let i=this.chart,s=i.hoverSeries,o=i.hoverPoint,r=i.hoverPoints,n=i.tooltip,a=n&&n.shared?r:o;t&&a&&S(a).forEach((function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)})),t?n&&a&&S(a).length&&(n.refresh(a),n.shared&&r?r.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):o&&(o.setState(o.state,!0),i.axes.forEach((function(t){t.crosshair&&o.series[t.coll]===t&&t.drawCrosshair(null,o)})))):(o&&o.onMouseOut(),r&&r.forEach((function(t){t.setState()})),s&&s.onMouseOut(),n&&n.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach((function(t){t.hideCrosshair()})),this.hoverX=i.hoverPoints=i.hoverPoint=null)}runPointActions(t,e,i){let s=this.chart,o=s.series,n=s.tooltip&&s.tooltip.options.enabled?s.tooltip:void 0,a=!!n&&n.shared,h=e||s.hoverPoint,d=h&&h.series||s.hoverSeries,c=(!t||"touchmove"!==t.type)&&(!!e||d&&d.directTouch&&this.isDirectTouch),p=this.getHoverData(h,d,o,c,a,t);h=p.hoverPoint,d=p.hoverSeries;let g=p.hoverPoints,f=d&&d.tooltipOptions.followPointer&&!d.tooltipOptions.split,m=a&&d&&!d.noSharedTooltip;if(h&&(i||h!==s.hoverPoint||n&&n.isHidden)){if((s.hoverPoints||[]).forEach((function(t){-1===g.indexOf(t)&&t.setState()})),s.hoverSeries!==d&&d.onMouseOver(),this.applyInactiveState(g),(g||[]).forEach((function(t){t.setState("hover")})),s.hoverPoint&&s.hoverPoint.firePointEvent("mouseOut"),!h.series)return;s.hoverPoints=g,s.hoverPoint=h,h.firePointEvent("mouseOver",void 0,(()=>{n&&h&&n.refresh(m?g:h,t)}))}else if(f&&n&&!n.isHidden){let e=n.getAnchor([{}],t);s.isInsidePlot(e[0],e[1],{visiblePlotOnly:!0})&&n.updatePosition({plotX:e[0],plotY:e[1]})}this.unDocMouseMove||(this.unDocMouseMove=l(s.container.ownerDocument,"mousemove",(function(t){let e=r[k.hoverChartIndex];e&&e.pointer.onDocumentMouseMove(t)})),this.eventsToUnbind.push(this.unDocMouseMove)),s.axes.forEach((function(e){let i,o=y((e.crosshair||{}).snap,!0);!o||(i=s.hoverPoint)&&i.series[e.coll]===e||(i=u(g,(t=>t.series&&t.series[e.coll]===e))),i||!o?e.drawCrosshair(t,i):e.hideCrosshair()}))}scaleGroups(t,e){let i=this.chart;i.series.forEach((function(s){let o=t||s.getPlotBox("series");s.group&&(s.xAxis&&s.xAxis.zoomEnabled||i.mapView)&&(s.group.attr(o),s.markerGroup&&(s.markerGroup.attr(t||s.getPlotBox("marker")),s.markerGroup.clip(e?i.clipRect:null)),s.dataLabelsGroup&&s.dataLabelsGroup.attr(o))})),i.clipRect.attr(e||i.clipBox)}setDOMEvents(){let t=this.chart.container,i=t.ownerDocument;t.onmousedown=this.onContainerMouseDown.bind(this),t.onmousemove=this.onContainerMouseMove.bind(this),t.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(l(t,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(l(t,"mouseleave",this.onContainerMouseLeave.bind(this))),k.unbindDocumentMouseUp||(k.unbindDocumentMouseUp=l(i,"mouseup",this.onDocumentMouseUp.bind(this)));let s=this.chart.renderTo.parentElement;for(;s&&"BODY"!==s.tagName;)this.eventsToUnbind.push(l(s,"scroll",(()=>{delete this.chartPosition}))),s=s.parentElement;e.hasTouch&&(this.eventsToUnbind.push(l(t,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(l(t,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),k.unbindDocumentTouchEnd||(k.unbindDocumentTouchEnd=l(i,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))}setHoverChartIndex(t){let i=this.chart,s=e.charts[y(k.hoverChartIndex,-1)];s&&s!==i&&s.pointer.onContainerMouseLeave(t||{relatedTarget:i.container}),s&&s.mouseIsDown||(k.hoverChartIndex=i.index)}touch(t,e){let i,s,o=this.chart;this.setHoverChartIndex(),1===t.touches.length?(t=this.normalize(t),o.isInsidePlot(t.chartX-o.plotLeft,t.chartY-o.plotTop,{visiblePlotOnly:!0})&&!o.openMenu?(e&&this.runPointActions(t),"touchmove"===t.type&&(i=!!(s=this.pinchDown)[0]&&Math.sqrt(Math.pow(s[0].chartX-t.chartX,2)+Math.pow(s[0].chartY-t.chartY,2))>=4),y(i,!0)&&this.pinch(t)):e&&this.reset()):2===t.touches.length&&this.pinch(t)}touchSelect(t){return!(!this.chart.zooming.singleTouch||!t.touches||1!==t.touches.length)}zoomOption(t){let e,i,s=this.chart,o=(s.options.chart,s.inverted),r=s.zooming.type||"";/touch/.test(t.type)&&(r=y(s.zooming.pinchType,r)),this.zoomX=e=/x/.test(r),this.zoomY=i=/y/.test(r),this.zoomHor=e&&!o||i&&o,this.zoomVert=i&&!o||e&&o,this.hasZoom=e||i}}return(s=k||(k={})).compose=function t(e){v(n,t)&&l(e,"beforeRender",(function(){this.pointer=new s(this,this.options)}))},k})),i(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Utilities.js"]],(function(t,e,i,s,o,r){var n;let{animObject:a,setAnimation:l}=t,{format:h}=e,{composed:d,marginNames:c}=i,{distribute:p}=o,{addEvent:u,createElement:g,css:f,defined:m,discardElement:x,find:b,fireEvent:y,isNumber:v,merge:S,pick:k,pushUnique:A,relativeLength:M,stableSort:C,syncTimeout:T}=r;class w{constructor(t,e){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=t,this.setOptions(e),e.enabled&&(this.render(),u(this.chart,"endResize",(function(){this.legend.positionCheckboxes()}))),u(this.chart,"render",(()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())}))}setOptions(t){let e=k(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=S(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop,this.itemMarginBottom=t.itemMarginBottom,this.padding=e,this.initialItemY=e-5,this.symbolWidth=k(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0}update(t,e){let i=this.chart;this.setOptions(S(!0,this.options,t)),this.destroy(),i.isDirtyLegend=i.isDirtyBox=!0,k(e,!0)&&i.redraw(),y(this,"afterUpdate",{redraw:e})}colorizeItem(t,e){let{area:i,group:s,label:o,line:r,symbol:n}=t.legendItem||{};if(null!==s&&void 0!==s&&s[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:s={}}=this,a=s.color,{fillColor:l,fillOpacity:h,lineColor:d,marker:c}=t.options,p=t=>(!e&&(t.fill&&(t.fill=a),t.stroke&&(t.stroke=a)),t);null!==o&&void 0!==o&&o.css(S(e?this.itemStyle:s)),null!==r&&void 0!==r&&r.attr(p({stroke:d||t.color})),n&&n.attr(p(c&&n.isMarker?t.pointAttribs():{fill:t.color})),null===i||void 0===i||i.attr(p({fill:l||t.color,"fill-opacity":l?1:null!==h&&void 0!==h?h:.75}))}y(this,"afterColorizeItem",{item:t,visible:e})}positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(t){let{group:e,x:i=0,y:s=0}=t.legendItem||{},o=this.options,r=o.symbolPadding,n=!o.rtl,a=t.checkbox;if(e&&e.element){let o={translateX:n?i:this.legendWidth-i-2*r-4,translateY:s};e[m(e.translateY)?"animate":"attr"](o,void 0,(()=>{y(this,"afterPositionItem",{item:t})}))}a&&(a.x=i,a.y=s)}destroyItem(t){let e=t.checkbox,i=t.legendItem||{};for(let s of["group","label","line","symbol"])i[s]&&(i[s]=i[s].destroy());e&&x(e),t.legendItem=void 0}destroy(){for(let t of this.getAllItems())this.destroyItem(t);for(let t of["clipRect","up","down","pager","nav","box","title","group"])this[t]&&(this[t]=this[t].destroy());this.display=null}positionCheckboxes(){let t,e=this.group&&this.group.alignAttr,i=this.clipHeight||this.legendHeight,s=this.titleHeight;e&&(t=e.translateY,this.allItems.forEach((function(o){let r,n=o.checkbox;n&&(r=t+s+n.y+(this.scrollOffset||0)+3,f(n,{left:e.translateX+o.checkboxOffset+n.x-20+"px",top:r+"px",display:this.proximate||r>t-6&&r1.5*A?v.height:A))}layoutItem(t){let e=this.options,i=this.padding,s="horizontal"===e.layout,o=t.itemHeight,r=this.itemMarginBottom,n=this.itemMarginTop,a=s?k(e.itemDistance,20):0,l=this.maxLegendWidth,h=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth,d=t.legendItem||{};s&&this.itemX-i+h>l&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=n+this.lastLineHeight+r),this.lastLineHeight=0),this.lastItemY=n+this.itemY+r,this.lastLineHeight=Math.max(o,this.lastLineHeight),d.x=this.itemX,d.y=this.itemY,s?this.itemX+=h:(this.itemY+=n+o+r,this.lastLineHeight=o),this.offsetWidth=this.widthOption||Math.max((s?this.itemX-i-(t.checkbox?0:a):h)+i,this.offsetWidth)}getAllItems(){let t=[];return this.chart.series.forEach((function(e){let i=e&&e.options;e&&k(i.showInLegend,!m(i.linkedTo)&&void 0,!0)&&(t=t.concat((e.legendItem||{}).labels||("point"===i.legendType?e.data:e)))})),y(this,"afterGetAllItems",{allItems:t}),t}getAlignment(){let t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)}adjustMargins(t,e){let i=this.chart,s=this.options,o=this.getAlignment();o&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(r,n){r.test(o)&&!m(t[n])&&(i[c[n]]=Math.max(i[c[n]],i.legend[(n+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][n]*s[n%2?"x":"y"]+k(s.margin,12)+e[n]+(i.titleOffset[n]||0)))}))}proximatePositions(){let t,e=this.chart,i=[],s="left"===this.options.align;for(let o of(this.allItems.forEach((function(t){let o,r,n,a,l=s;t.yAxis&&(t.xAxis.options.reversed&&(l=!l),t.points&&(o=b(l?t.points:t.points.slice(0).reverse(),(function(t){return v(t.plotY)}))),r=this.itemMarginTop+t.legendItem.label.getBBox().height+this.itemMarginBottom,a=t.yAxis.top-e.plotTop,n=t.visible?(o?o.plotY:t.yAxis.height)+(a-.3*r):a+t.yAxis.height,i.push({target:n,size:r,item:t}))}),this),p(i,e.plotHeight)))t=o.item.legendItem||{},v(o.pos)&&(t.y=e.plotTop-e.spacing[0]+o.pos)}render(){let t,e,i,s,o=this.chart,r=o.renderer,n=this.options,a=this.padding,l=this.getAllItems(),h=this.group,d=this.box;this.itemX=a,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=M(n.width,o.spacingBox.width-a),s=o.spacingBox.width-2*a-n.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(s/=2),this.maxLegendWidth=this.widthOption||s,h||(this.group=h=r.g("legend").addClass(n.className||"").attr({zIndex:7}).add(),this.contentGroup=r.g().attr({zIndex:1}).add(h),this.scrollGroup=r.g().add(this.contentGroup)),this.renderTitle(),C(l,((t,e)=>(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0))),n.reversed&&l.reverse(),this.allItems=l,this.display=t=!!l.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,l.forEach(this.renderItem,this),l.forEach(this.layoutItem,this),e=(this.widthOption||this.offsetWidth)+a,i=this.lastItemY+this.lastLineHeight+this.titleHeight,i=this.handleOverflow(i)+a,d||(this.box=d=r.rect().addClass("highcharts-legend-box").attr({r:n.borderRadius}).add(h)),o.styledMode||d.attr({stroke:n.borderColor,"stroke-width":n.borderWidth||0,fill:n.backgroundColor||"none"}).shadow(n.shadow),e>0&&i>0&&d[d.placed?"animate":"attr"](d.crisp.call({},{x:0,y:0,width:e,height:i},d.strokeWidth())),h[t?"show":"hide"](),o.styledMode&&"none"===h.getStyle("display")&&(e=i=0),this.legendWidth=e,this.legendHeight=i,t&&this.align(),this.proximate||this.positionItems(),y(this,"afterRender")}align(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.chart.spacingBox,e=this.chart,i=this.options,s=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&e.titleOffset[0]>0?s+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&e.titleOffset[2]>0&&(s-=e.titleOffset[2]),s!==t.y&&(t=S(t,{y:s})),e.hasRendered||(this.group.placed=!1),this.group.align(S(i,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":i.verticalAlign}),!0,t)}handleOverflow(t){let e,i,s,o=this,r=this.chart,n=r.renderer,a=this.options,l=a.y,h="top"===a.verticalAlign,d=this.padding,c=a.maxHeight,p=a.navigation,u=k(p.animation,!0),g=p.arrowSize||12,f=this.pages,m=this.allItems,x=function(t){"number"==typeof t?S.attr({height:t}):S&&(o.clipRect=S.destroy(),o.contentGroup.clip()),o.contentGroup.div&&(o.contentGroup.div.style.clip=t?"rect("+d+"px,9999px,"+(d+t)+"px,0)":"auto")},b=function(t){return o[t]=n.circle(0,0,1.3*g).translate(g/2,g/2).add(v),r.styledMode||o[t].attr("fill","rgba(0,0,0,0.0001)"),o[t]},y=r.spacingBox.height+(h?-l:l)-d,v=this.nav,S=this.clipRect;return"horizontal"!==a.layout||"middle"===a.verticalAlign||a.floating||(y/=2),c&&(y=Math.min(y,c)),f.length=0,t&&y>0&&t>y&&!1!==p.enabled?(this.clipHeight=e=Math.max(y-20-this.titleHeight-d,0),this.currentPage=k(this.currentPage,1),this.fullHeight=t,m.forEach(((t,o)=>{s=t.legendItem||{};let r=s.y||0,n=Math.round(s.label.getBBox().height),a=f.length;(!a||r-f[a-1]>e&&(i||r)!==f[a-1])&&(f.push(i||r),a++),s.pageIx=a-1,i&&((m[o-1].legendItem||{}).pageIx=a-1),o===m.length-1&&r+n-f[a-1]>e&&r>f[a-1]&&(f.push(r),s.pageIx=a),r!==i&&(i=r)})),S||(S=o.clipRect=n.clipRect(0,d-2,9999,0),o.contentGroup.clip(S)),x(e),v||(this.nav=v=n.g().attr({zIndex:1}).add(this.group),this.up=n.symbol("triangle",0,0,g,g).add(v),b("upTracker").on("click",(function(){o.scroll(-1,u)})),this.pager=n.text("",15,10).addClass("highcharts-legend-navigation"),!r.styledMode&&p.style&&this.pager.css(p.style),this.pager.add(v),this.down=n.symbol("triangle-down",0,0,g,g).add(v),b("downTracker").on("click",(function(){o.scroll(1,u)}))),o.scroll(0),t=y):v&&(x(),this.nav=v.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t}scroll(t,e){let i=this.chart,s=this.pages,o=s.length,r=this.clipHeight,n=this.options.navigation,h=this.pager,d=this.padding,c=this.currentPage+t;if(c>o&&(c=o),c>0){void 0!==e&&l(e,i),this.nav.attr({translateX:d,translateY:r+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===c?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),h.attr({text:c+"/"+o}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:c===o?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),i.styledMode||(this.up.attr({fill:1===c?n.inactiveColor:n.activeColor}),this.upTracker.css({cursor:1===c?"default":"pointer"}),this.down.attr({fill:c===o?n.inactiveColor:n.activeColor}),this.downTracker.css({cursor:c===o?"default":"pointer"})),this.scrollOffset=-s[c-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=c,this.positionCheckboxes();let t=a(k(e,i.renderer.globalAnimation,!0));T((()=>{y(this,"afterScroll",{currentPage:c})}),t.duration)}}setItemEvents(t,e,i){let o=this,r=t.legendItem||{},n=o.chart.renderer.boxWrapper,a=t instanceof s,l="highcharts-legend-"+(a?"point":"series")+"-active",h=o.chart.styledMode,d=i?[e,r.symbol]:[r.group],c=e=>{o.allItems.forEach((i=>{t!==i&&[i].concat(i.linkedSeries||[]).forEach((t=>{t.setState(e,!a)}))}))};for(let s of d)s&&s.on("mouseover",(function(){t.visible&&c("inactive"),t.setState("hover"),t.visible&&n.addClass(l),h||e.css(o.options.itemHoverStyle)})).on("mouseout",(function(){o.chart.styledMode||e.css(S(t.visible?o.itemStyle:o.itemHiddenStyle)),c(""),n.removeClass(l),t.setState()})).on("click",(function(e){let i="legendItemClick",s=function(){t.setVisible&&t.setVisible(),c(t.visible?"inactive":"")};n.removeClass(l),e={browserEvent:e},t.firePointEvent?t.firePointEvent(i,e,s):y(t,i,e,s)}))}createCheckboxForItem(t){t.checkbox=g("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),u(t.checkbox,"click",(function(e){let i=e.target;y(t.series||t,"checkboxClick",{checked:i.checked,item:t},(function(){t.select()}))}))}}return(n=w||(w={})).compose=function t(e){A(d,t)&&u(e,"beforeMargins",(function(){this.legend=new n(this,this.options.legend)}))},w})),i(e,"Core/Legend/LegendSymbol.js",[e["Core/Utilities.js"]],(function(t){var e;let{extend:i,merge:s,pick:o}=t;return function(t){function e(t,e,r){let n,a=this.legendItem=this.legendItem||{},{chart:l,options:h}=this,{baseline:d=0,symbolWidth:c,symbolHeight:p}=t,u=this.symbol||"circle",g=p/2,f=l.renderer,m=a.group,x=d-Math.round(p*(r?.4:.3)),b={},y=h.marker,v=0;if(l.styledMode||(b["stroke-width"]=Math.min(h.lineWidth||0,24),h.dashStyle?b.dashstyle=h.dashStyle:"square"===h.linecap||(b["stroke-linecap"]="round")),a.line=f.path().addClass("highcharts-graph").attr(b).add(m),r&&(a.area=f.path().addClass("highcharts-area").add(m)),b["stroke-linecap"]&&(v=Math.min(a.line.strokeWidth(),c)/2),c){var S;let t=[["M",v,x],["L",c-v,x]];a.line.attr({d:t}),null===(S=a.area)||void 0===S||S.attr({d:[...t,["L",c-v,d],["L",v,d]]})}if(y&&!1!==y.enabled&&c){let t=Math.min(o(y.radius,g),g);0===u.indexOf("url")&&(y=s(y,{width:p,height:p}),t=0),a.symbol=n=f.symbol(u,c/2-t,x-t,2*t,2*t,i({context:"legend"},y)).addClass("highcharts-point").add(m),n.isMarker=!0}}t.areaMarker=function(t,i){e.call(this,t,i,!0)},t.lineMarker=e,t.rectangle=function(t,e){let i=e.legendItem||{},s=t.options,r=t.symbolHeight,n=s.squareSymbol,a=n?r:t.symbolWidth;i.symbol=this.chart.renderer.rect(n?(t.symbolWidth-r)/2:0,t.baseline-r+1,a,r,o(t.options.symbolRadius,r/2)).addClass("highcharts-point").attr({zIndex:3}).add(i.group)}}(e||(e={})),e})),i(e,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){let{numberFormatter:t}=this.series.chart;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}})),i(e,"Core/Series/SeriesRegistry.js",[e["Core/Globals.js"],e["Core/Defaults.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],(function(t,e,i,s){var o;let{defaultOptions:r}=e,{extendClass:n,merge:a}=s;return function(e){function s(t,s){let o=r.plotOptions||{},n=s.defaultOptions,a=s.prototype;a.type=t,a.pointClass||(a.pointClass=i),n&&(o[t]=n),e.seriesTypes[t]=s}e.seriesTypes=t.seriesTypes,e.registerSeriesType=s,e.seriesType=function(t,o,l,h,d){let c=r.plotOptions||{};return o=o||"",c[t]=a(c[o],l),s(t,n(e.seriesTypes[o]||function(){},h)),e.seriesTypes[t].prototype.type=t,d&&(e.seriesTypes[t].prototype.pointClass=n(i,d)),e.seriesTypes[t]}}(o||(o={})),o})),i(e,"Core/Series/Series.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],(function(t,e,i,s,o,r,n,a,l,h){let{animObject:d,setAnimation:c}=t,{defaultOptions:p}=e,{registerEventOptions:u}=i,{hasTouch:g,svg:f,win:m}=s,{seriesTypes:x}=a,{arrayMax:b,arrayMin:y,clamp:v,correctFloat:S,defined:k,destroyObjectProperties:A,diffObjects:M,erase:C,error:T,extend:w,find:P,fireEvent:L,getClosestDistance:E,getNestedProperty:O,insertItem:D,isArray:j,isNumber:B,isString:I,merge:R,objectEach:z,pick:N,removeEvent:G,splat:U,syncTimeout:W}=h;class X{constructor(){this.zoneAxis="y"}init(t,e){let i;L(this,"init",{options:e});let s=this,o=t.series;this.eventsToUnbind=[],s.chart=t,s.options=s.setOptions(e);let r=s.options,n=!1!==r.visible;s.linkedSeries=[],s.bindAxes(),w(s,{name:r.name,state:"",visible:n,selected:!0===r.selected}),u(this,r);let a=r.events;(a&&a.click||r.point&&r.point.events&&r.point.events.click||r.allowPointSelect)&&(t.runTrackerClick=!0),s.getColor(),s.getSymbol(),s.parallelArrays.forEach((function(t){s[t+"Data"]||(s[t+"Data"]=[])})),s.isCartesian&&(t.hasCartesianSeries=!0),o.length&&(i=o[o.length-1]),s._i=N(i&&i._i,-1)+1,s.opacity=s.options.opacity,t.orderItems("series",D(this,o)),r.dataSorting&&r.dataSorting.enabled?s.setDataSortingOptions():s.points||s.data||s.setData(r.data,!1),L(this,"afterInit")}is(t){return x[t]&&this instanceof x[t]}bindAxes(){let t,e=this,i=e.options,s=e.chart;L(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(o){s[o].forEach((function(s){t=s.options,(N(i[o],0)===s.index||void 0!==i[o]&&i[o]===t.id)&&(D(e,s.series),e[o]=s,s.isDirty=!0)})),e[o]||e.optionalAxis===o||T(18,!0,s)}))})),L(this,"afterBindAxes")}updateParallelArrays(t,e,i){let s=t.series,o=B(e)?function(i){let o="y"===i&&s.toYData?s.toYData(t):t[i];s[i+"Data"][e]=o}:function(t){Array.prototype[e].apply(s[t+"Data"],i)};s.parallelArrays.forEach(o)}hasData(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&this.yData.length>0}hasMarkerChanged(t,e){let i=t.marker,s=e.marker||{};return i&&(s.enabled&&!i.enabled||s.symbol!==i.symbol||s.height!==i.height||s.width!==i.width)}autoIncrement(t){let e,i,s=this.options,o=s.pointIntervalUnit,r=s.relativeXValue,n=this.chart.time,a=this.xIncrement;return a=N(a,s.pointStart,0),this.pointInterval=i=N(this.pointInterval,s.pointInterval,1),r&&B(t)&&(i*=t),o&&(e=new n.Date(a),"day"===o?n.set("Date",e,n.get("Date",e)+i):"month"===o?n.set("Month",e,n.get("Month",e)+i):"year"===o&&n.set("FullYear",e,n.get("FullYear",e)+i),i=e.getTime()-a),r&&B(t)?a+i:(this.xIncrement=a+i,a)}setDataSortingOptions(){let t=this.options;w(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),k(t.pointRange)||(t.pointRange=1)}setOptions(t){var e,i;let s,o=this.chart,r=o.options.plotOptions,n=o.userOptions||{},a=R(t),l=o.styledMode,h={plotOptions:r,userOptions:a};L(this,"setOptions",h);let d=h.plotOptions[this.type],c=n.plotOptions||{},u=c.series||{},g=p.plotOptions[this.type]||{},f=c[this.type]||{};this.userOptions=h.userOptions;let m=R(d,r.series,f,a);this.tooltipOptions=R(p.tooltip,null===(e=p.plotOptions.series)||void 0===e?void 0:e.tooltip,null===g||void 0===g?void 0:g.tooltip,o.userOptions.tooltip,null===(i=c.series)||void 0===i?void 0:i.tooltip,f.tooltip,a.tooltip),this.stickyTracking=N(a.stickyTracking,f.stickyTracking,u.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||m.stickyTracking),null===d.marker&&delete m.marker,this.zoneAxis=m.zoneAxis||"y";let x=this.zones=(m.zones||[]).slice();return(m.negativeColor||m.negativeFillColor)&&!m.zones&&(s={value:m[this.zoneAxis+"Threshold"]||m.threshold||0,className:"highcharts-negative"},l||(s.color=m.negativeColor,s.fillColor=m.negativeFillColor),x.push(s)),x.length&&k(x[x.length-1].value)&&x.push(l?{}:{color:this.color,fillColor:this.fillColor}),L(this,"afterSetOptions",{options:m}),m}getName(){return N(this.options.name,"Series "+(this.index+1))}getCyclic(t,e,i){let s,o,r=this.chart,n="".concat(t,"Index"),a="".concat(t,"Counter"),l=(null===i||void 0===i?void 0:i.length)||r.options.chart.colorCount;!e&&(k(o=N("color"===t?this.options.colorIndex:void 0,this[n]))?s=o:(r.series.length||(r[a]=0),s=r[a]%l,r[a]+=1),i&&(e=i[s])),void 0!==s&&(this[n]=s),this[t]=e}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||p.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let t=this.options.marker;this.getCyclic("symbol",t.symbol,this.chart.options.symbols)}findPointIndex(t,e){let i,s,o,n=t.id,a=t.x,l=this.points,h=this.options.dataSorting;if(n){let t=this.chart.get(n);t instanceof r&&(i=t)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let e=e=>!e.touched&&e.index===t.index;if(h&&h.matchByName?e=e=>!e.touched&&e.name===t.name:this.options.relativeXValue&&(e=e=>!e.touched&&e.options.x===t.x),!(i=P(l,e)))return}return i&&void 0!==(o=i&&i.index)&&(s=!0),void 0===o&&B(a)&&(o=this.xData.indexOf(a,e)),-1!==o&&void 0!==o&&this.cropped&&(o=o>=this.cropStart?o-this.cropStart:o),!s&&B(o)&&l[o]&&l[o].touched&&(o=void 0),o}updateData(t,e){let i,s,o,r,n=this.options,a=n.dataSorting,l=this.points,h=[],d=this.requireSorting,c=t.length===l.length,p=!0;if(this.xIncrement=null,t.forEach((function(t,e){let s,o=k(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},p=o.x;o.id||B(p)?(-1===(s=this.findPointIndex(o,r))||void 0===s?h.push(t):l[s]&&t!==n.data[s]?(l[s].update(t,!1,null,!1),l[s].touched=!0,d&&(r=s+1)):l[s]&&(l[s].touched=!0),(!c||e!==s||a&&a.enabled||this.hasDerivedData)&&(i=!0)):h.push(t)}),this),i)for(s=l.length;s--;)(o=l[s])&&!o.touched&&o.remove&&o.remove(!1,e);else!c||a&&a.enabled?p=!1:(t.forEach((function(t,e){t===l[e].y||l[e].destroyed||l[e].update(t,!1,null,!1)})),h.length=0);return l.forEach((function(t){t&&(t.touched=!1)})),!!p&&(h.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=b(this.xData),this.autoIncrement()),!0)}setData(t){let e,i,s,o,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,l=this,h=l.points,d=h&&h.length||0,c=l.options,p=l.chart,u=c.dataSorting,g=l.xAxis,f=c.turboThreshold,m=this.xData,x=this.yData,b=l.pointArrayMap,y=b&&b.length,v=c.keys,S=0,k=1,A=null;p.options.chart.allowMutatingData||(c.data&&delete l.options.data,l.userOptions.data&&delete l.userOptions.data,o=R(!0,t));let M=(t=o||t||[]).length;if(u&&u.enabled&&(t=this.sortData(t)),p.options.chart.allowMutatingData&&!1!==a&&M&&d&&!l.cropped&&!l.hasGroupedData&&l.visible&&!l.boosted&&(s=this.updateData(t,n)),!s){if(l.xIncrement=null,l.colorCounter=0,this.parallelArrays.forEach((function(t){l[t+"Data"].length=0})),f&&M>f)if(B(A=l.getFirstValidPoint(t)))for(e=0;e=0?S:0,k=k>=0?k:1),1===A.length&&(k=0),S===k)for(e=0;e{let s=O(i,t),o=O(i,e);return os?1:0}));return o.forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){let i=e.options,o=i.data;i.dataSorting&&i.dataSorting.enabled||!o||(o.forEach((function(i,r){o[r]=s(e,i),t[r]&&(o[r].x=t[r].x,o[r].index=r)})),e.setData(o,!1))})),t}getProcessedData(t){let e,i,s,o,r,n=this,a=n.xAxis,l=n.options,h=l.cropThreshold,d=t||n.getExtremesFromAll||l.getExtremesFromAll,c=null===a||void 0===a?void 0:a.logarithmic,p=n.isCartesian,u=0,g=n.xData,f=n.yData,m=!1,x=g.length;a&&(o=(s=a.getExtremes()).min,r=s.max,m=!(!a.categories||a.names.length)),p&&n.sorted&&!d&&(!h||x>h||n.forceCrop)&&(g[x-1]r?(g=[],f=[]):n.yData&&(g[0]r)&&(g=(e=this.cropData(n.xData,n.yData,o,r)).xData,f=e.yData,u=e.start,i=!0));let b=E([c?g.map(c.log2lin):g],(()=>n.requireSorting&&!m&&T(15,!1,n.chart)));return{xData:g,yData:f,cropped:i,cropStart:u,closestPointRange:b}}processData(t){let e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;let i=this.getProcessedData();this.cropped=i.cropped,this.cropStart=i.cropStart,this.processedXData=i.xData,this.processedYData=i.yData,this.closestPointRange=this.basePointRange=i.closestPointRange,L(this,"afterProcessData")}cropData(t,e,i,s){let o,r,n=t.length,a=0,l=n;for(o=0;o=i){a=Math.max(0,o-1);break}for(r=o;rs){l=r+1;break}return{xData:t.slice(a,l),yData:e.slice(a,l),start:a,end:l}}generatePoints(){let t,e,i,s,o=this.options,r=this.processedData||o.data,n=this.processedXData,a=this.processedYData,l=this.pointClass,h=n.length,d=this.cropStart||0,c=this.hasGroupedData,p=o.keys,u=[],g=o.dataGrouping&&o.dataGrouping.groupAll?d:0,f=this.data;if(!f&&!c){let t=[];t.length=r.length,f=this.data=t}for(p&&c&&(this.options.keys=!1),s=0;s0:n.length)||!g),o=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!h||(c[a+u]||r)>=f&&(c[a-u]||r)<=m,s&&o)if(l=n.length)for(;l--;)B(n[l])&&(p[x++]=n[l]);else p[x++]=n;let S={activeYData:p,dataMin:y(p),dataMax:b(p)};return L(this,"afterGetExtremes",{dataExtremes:S}),S}applyExtremes(){let t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t}getFirstValidPoint(t){let e=t.length,i=0,s=null;for(;null===s&&i{t&&!this.chart.container.querySelector('[clip-path="url(#'.concat(t.id,')"]'))&&(t.destroy(),delete i[e])})),this.finishedAnimating=!0,L(this,"afterAnimate")}drawPoints(){let t,e,i,s,o,r,n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.points,l=this.chart,h=l.styledMode,{colorAxis:d,options:c}=this,p=c.marker,u=this[this.specialGroup||"markerGroup"],g=this.xAxis,f=N(p.enabled,!g||!!g.isRadial||null,this.closestPointRangePx>=p.enabledThreshold*p.radius);if(!1!==p.enabled||this._hasPointMarkers)for(t=0;t0||e.hasImage)&&(e.graphic=i=l.renderer.symbol(t,n.x,n.y,n.width,n.height,r?o:p).add(u),this.enabledDataSorting&&l.hasRendered&&(i.attr({x:e.startXPos}),s="animate")),i&&"animate"===s&&i[a?"show":"hide"](a).animate(n),i){let t=this.pointAttribs(e,h||!e.selected?void 0:"select");h?d&&i.css({fill:t.fill}):i[s](t)}i&&i.addClass(e.getClassName(),!0)}else i&&(e.graphic=i.destroy())}markerAttribs(t,e){let i,s,o=this.options,r=o.marker,n=t.marker||{},a=n.symbol||r.symbol,l={},h=N(n.radius,r&&r.radius);e&&(i=r.states[e],h=N((s=n.states&&n.states[e])&&s.radius,i&&i.radius,h&&h+(i&&i.radiusPlus||0))),t.hasImage=a&&0===a.indexOf("url"),t.hasImage&&(h=0);let d=t.pos();return B(h)&&d&&(l.x=d[0]-h,l.y=d[1]-h,o.crisp&&(l.x=Math.floor(l.x))),h&&(l.width=l.height=2*h),l}pointAttribs(t,e){let i,s,o,r,n=this.options.marker,a=t&&t.options,l=a&&a.marker||{},h=a&&a.color,d=t&&t.color,c=t&&t.zone&&t.zone.color,p=this.color,u=N(l.lineWidth,n.lineWidth),g=1;return p=h||c||d||p,o=l.fillColor||n.fillColor||p,r=l.lineColor||n.lineColor||p,e=e||"normal",i=n.states[e]||{},u=N((s=l.states&&l.states[e]||{}).lineWidth,i.lineWidth,u+N(s.lineWidthPlus,i.lineWidthPlus,0)),o=s.fillColor||i.fillColor||o,{stroke:r=s.lineColor||i.lineColor||r,"stroke-width":u,fill:o,opacity:g=N(s.opacity,i.opacity,g)}}destroy(t){let e,i,s,o=this,r=o.chart,n=/AppleWebKit\/533/.test(m.navigator.userAgent),a=o.data||[];for(L(o,"destroy",{keepEventsForUpdate:t}),this.removeEvents(t),(o.axisTypes||[]).forEach((function(t){(s=o[t])&&s.series&&(C(s.series,o),s.isDirty=s.forceRedraw=!0)})),o.legendItem&&o.chart.legend.destroyItem(o),e=a.length;e--;)(i=a[e])&&i.destroy&&i.destroy();o.zones.forEach(A),h.clearTimeout(o.animationTimeout),z(o,(function(t,e){t instanceof l&&!t.survive&&t[n&&"group"===e?"hide":"destroy"]()})),r.hoverSeries===o&&(r.hoverSeries=void 0),C(r.series,o),r.orderItems("series"),z(o,(function(e,i){t&&"hcEvents"===i||delete o[i]}))}applyZones(){let{area:t,chart:e,graph:i,zones:s,points:o,xAxis:r,yAxis:n,zoneAxis:a}=this,{inverted:l,renderer:h}=e,d=this["".concat(a,"Axis")],{isXAxis:c,len:p=0}=d||{},u=((null===i||void 0===i?void 0:i.strokeWidth())||0)/2+1,g=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;l&&(i=p-i);let{translated:s=0,lineClip:o}=t,r=i-s;null===o||void 0===o||o.push(["L",e,Math.abs(r){t.forEach(((e,i)=>{("M"===e[0]||"L"===e[0])&&(t[i]=[e[0],c?p-e[1]:e[1],c?e[2]:p-e[2]])}))};if(s.forEach(((t,i)=>{t.lineClip=[],t.translated=v(d.toPixels(N(t.value,e),!0)||0,0,p)})),i&&!this.showLine&&i.hide(),t&&t.hide(),"y"===a&&o.length{var s,o,a;let d=e.lineClip||[],p=Math.round(e.translated||0);r.reversed&&d.reverse();let{clip:g,simpleClip:x}=e,b=0,y=0,v=r.len,S=n.len;c?(b=p,v=m):(y=p,S=m);let k=[["M",b,y],["L",v,y],["L",v,S],["L",b,S],["Z"]],A=[k[0],...d,k[1],k[2],...f,k[3],k[4]];f=d.reverse(),m=p,l&&(u(A),t&&u(k)),g?(g.animate({d:A}),null===(s=x)||void 0===s||s.animate({d:k})):(g=e.clip=h.path(A),t&&(x=e.simpleClip=h.path(k))),i&&null!==(o=e.graph)&&void 0!==o&&o.clip(g),t&&(null===(a=e.area)||void 0===a||a.clip(x))}))}else this.visible&&(i&&i.show(),t&&t.show())}plotGroup(t,e,i,s,o){let r=this[t],n=!r,a={visibility:i,zIndex:s||.1};return k(this.opacity)&&!this.chart.styledMode&&"inactive"!==this.state&&(a.opacity=this.opacity),r||(this[t]=r=this.chart.renderer.g().add(o)),r.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(k(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(r.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),r.attr(a)[n?"attr":"animate"](this.getPlotBox(e)),r}getPlotBox(t){let e=this.xAxis,i=this.yAxis,s=this.chart,o=s.inverted&&!s.polar&&e&&!1!==this.invertible&&"series"===t;return s.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:s.plotLeft,translateY:i?i.top:s.plotTop,rotation:o?90:0,rotationOriginX:o?(e.len-i.len)/2:0,rotationOriginY:o?(e.len+i.len)/2:0,scaleX:o?-1:1,scaleY:1}}removeEvents(t){let{eventsToUnbind:e}=this;t||G(this),e.length&&(e.forEach((t=>{t()})),e.length=0)}render(){var t,e,i,s,o;let r=this,{chart:n,options:a,hasRendered:l}=r,h=d(a.animation),c=r.visible?"inherit":"hidden",p=a.zIndex,u=n.seriesGroup,g=r.finishedAnimating?0:h.duration;L(this,"render"),r.plotGroup("group","series",c,p,u),r.markerGroup=r.plotGroup("markerGroup","markers",c,p,u),!1!==a.clip&&r.setClip(),g&&null!==(t=r.animate)&&void 0!==t&&t.call(r,!0),r.drawGraph&&(r.drawGraph(),r.applyZones()),r.visible&&r.drawPoints(),null!==(e=r.drawDataLabels)&&void 0!==e&&e.call(r),null!==(i=r.redrawPoints)&&void 0!==i&&i.call(r),a.enableMouseTracking&&null!==(s=r.drawTracker)&&void 0!==s&&s.call(r),g&&null!==(o=r.animate)&&void 0!==o&&o.call(r),l||(g&&h.defer&&(g+=h.defer),r.animationTimeout=W((()=>{r.afterAnimate()}),g||0)),r.isDirty=!1,r.hasRendered=!0,L(r,"afterRender")}redraw(){let t=this.isDirty||this.isDirtyData;this.translate(),this.render(),t&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(t,e){let{xAxis:i,yAxis:s}=this,o=this.chart.inverted;return this.searchKDTree({clientX:o?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:o?s.len-t.chartX+s.pos:t.chartY-s.pos},e,t)}buildKDTree(t){this.buildingKdTree=!0;let e=this,i=e.options.findNearestPointBy.indexOf("y")>-1?2:1;delete e.kdTree,W((function(){e.kdTree=function t(i,s,o){let r,n,a=null===i||void 0===i?void 0:i.length;if(a)return r=e.kdAxisArray[s%o],i.sort(((t,e)=>(t[r]||0)-(e[r]||0))),{point:i[n=Math.floor(a/2)],left:t(i.slice(0,n),s+1,o),right:t(i.slice(n+1),s+1,o)}}(e.getValidPoints(void 0,!e.directTouch),i,i),e.buildingKdTree=!1}),e.options.kdNow||"touchstart"===(null===t||void 0===t?void 0:t.type)?0:1)}searchKDTree(t,e,i){let s=this,[o,r]=this.kdAxisArray,n=e?"distX":"dist",a=(s.options.findNearestPointBy||"").indexOf("y")>-1?2:1,l=!!s.isBubble;if(this.kdTree||this.buildingKdTree||this.buildKDTree(i),this.kdTree)return function t(e,i,a,h,d){let c,p,u=i.point,g=s.kdAxisArray[a%h],f=u;!function(t,e,i){let s=t[o],n=e[o],a=k(s)&&k(n)?s-n:null,h=t[r],d=e[r],c=k(h)&&k(d)?h-d:0,p=l&&(null===(i=e.marker)||void 0===i?void 0:i.radius)||0;e.dist=Math.sqrt((a&&a*a||0)+c*c)-p,e.distX=k(a)?Math.abs(a)-p:Number.MAX_VALUE}(e,u);let m=(e[g]||0)-(u[g]||0)+(l&&(null===(d=u.marker)||void 0===d?void 0:d.radius)||0),x=m<0?"left":"right",b=m<0?"right":"left";return i[x]&&(f=(c=t(e,i[x],a+1,h))[n]=0&&r<=(s?s.len:e.plotHeight)&&o>=0&&o<=(i?i.len:e.plotWidth)}drawTracker(){var t;let e=this,i=e.options,s=i.trackByArea,o=[].concat((s?e.areaPath:e.graphPath)||[]),r=e.chart,n=r.pointer,a=r.renderer,l=(null===(t=r.options.tooltip)||void 0===t?void 0:t.snap)||0,h=()=>{i.enableMouseTracking&&r.hoverSeries!==e&&e.onMouseOver()},d="rgba(192,192,192,"+(f?1e-4:.002)+")",c=e.tracker;c?c.attr({d:o}):e.graph&&(e.tracker=c=a.path(o).attr({visibility:e.visible?"inherit":"hidden",zIndex:2}).addClass(s?"highcharts-tracker-area":"highcharts-tracker-line").add(e.group),r.styledMode||c.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:d,fill:s?d:"none","stroke-width":e.graph.strokeWidth()+(s?0:2*l)}),[e.tracker,e.markerGroup,e.dataLabelsGroup].forEach((t=>{t&&(t.addClass("highcharts-tracker").on("mouseover",h).on("mouseout",(t=>{n.onTrackerMouseOut(t)})),i.cursor&&!r.styledMode&&t.css({cursor:i.cursor}),g&&t.on("touchstart",h))}))),L(this,"afterDrawTracker")}addPoint(t,e,i,s,o){let r,n,a=this.options,l=this.data,h=this.chart,d=this.xAxis,c=d&&d.hasNames&&d.names,p=a.data,u=this.xData;e=N(e,!0);let g={series:this};this.pointClass.prototype.applyOptions.apply(g,[t]);let f=g.x;if(n=u.length,this.requireSorting&&ff;)n--;this.updateParallelArrays(g,"splice",[n,0,0]),this.updateParallelArrays(g,n),c&&g.name&&(c[f]=g.name),p.splice(n,0,t),(r||this.processedData)&&(this.data.splice(n,0,null),this.processData()),"point"===a.legendType&&this.generatePoints(),i&&(l[0]&&l[0].remove?l[0].remove(!1):(l.shift(),this.updateParallelArrays(g,"shift"),p.shift())),!1!==o&&L(this,"addPoint",{point:g}),this.isDirty=!0,this.isDirtyData=!0,e&&h.redraw(s)}removePoint(t,e,i){let s=this,o=s.data,r=o[t],n=s.points,a=s.chart,l=function(){n&&n.length===o.length&&n.splice(t,1),o.splice(t,1),s.options.data.splice(t,1),s.updateParallelArrays(r||{series:s},"splice",[t,1]),r&&r.destroy(),s.isDirty=!0,s.isDirtyData=!0,e&&a.redraw()};c(i,a),e=N(e,!0),r?r.firePointEvent("remove",null,l):l()}remove(t,e,i,s){let o=this,r=o.chart;function n(){o.destroy(s),r.isDirtyLegend=r.isDirtyBox=!0,r.linkSeries(s),N(t,!0)&&r.redraw(e)}!1!==i?L(o,"remove",null,n):n()}update(t,e){var i,s,o,r;L(this,"update",{options:t=M(t,this.userOptions)});let n,a,l=this,h=l.chart,d=l.userOptions,c=l.initialType||l.type,p=h.options.plotOptions,u=x[c].prototype,g=l.finishedAnimating&&{animation:!1},f={},m=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],b=t.type||d.type||h.options.chart.type,y=!(this.hasDerivedData||b&&b!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||t.joinBy||t.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some((t=>l.hasOptionChanged(t))));b=b||c,y&&(m.push("data","isDirtyData","isDirtyCanvas","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&m.push("area","graph"),l.parallelArrays.forEach((function(t){m.push(t+"Data")})),t.data&&(t.dataSorting&&w(l.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=R(d,{index:void 0===d.index?l.index:d.index,pointStart:null!==(i=null!==(s=null===p||void 0===p||null===(o=p.series)||void 0===o?void 0:o.pointStart)&&void 0!==s?s:d.pointStart)&&void 0!==i?i:null===(r=l.xData)||void 0===r?void 0:r[0]},!y&&{data:l.options.data},t,g),y&&t.data&&(t.data=l.options.data),(m=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(m)).forEach((function(t){m[t]=l[t],delete l[t]}));let v=!1;if(x[b]){if(v=b!==l.type,l.remove(!1,!1,!1,!0),v)if(Object.setPrototypeOf)Object.setPrototypeOf(l,x[b].prototype);else{let t=Object.hasOwnProperty.call(l,"hcEvents")&&l.hcEvents;for(a in u)l[a]=void 0;w(l,x[b].prototype),t?l.hcEvents=t:delete l.hcEvents}}else T(17,!0,h,{missingModuleFor:b});if(m.forEach((function(t){l[t]=m[t]})),l.init(h,t),y&&this.points)for(let x of(!1===(n=l.options).visible?(f.graphic=1,f.dataLabel=1):(this.hasMarkerChanged(n,d)&&(f.graphic=1),(null===(S=l.hasDataLabels)||void 0===S?void 0:S.call(l))||(f.dataLabel=1)),this.points)){var S;x&&x.series&&(x.resolveColor(),Object.keys(f).length&&x.destroyElements(f),!1===n.showInLegend&&x.legendItem&&h.legend.destroyItem(x))}l.initialType=c,h.linkSeries(),h.setSortedData(),v&&l.linkedSeries.length&&(l.isDirtyData=!0),L(this,"afterUpdate"),N(e,!0)&&h.redraw(!!y&&void 0)}setName(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0}hasOptionChanged(t){var e,i;let s=this.chart,o=this.options[t],r=s.options.plotOptions,n=this.userOptions[t],a=N(null===r||void 0===r||null===(e=r[this.type])||void 0===e?void 0:e[t],null===r||void 0===r||null===(i=r.series)||void 0===i?void 0:i[t]);return n&&!k(a)?o!==n:o!==N(a,o)}onMouseOver(){let t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&L(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this}onMouseOut(){let t=this.options,e=this.chart,i=e.tooltip,s=e.hoverPoint;e.hoverSeries=null,s&&s.onMouseOut(),this&&t.events.mouseOut&&L(this,"mouseOut"),i&&!this.stickyTracking&&(!i.shared||this.noSharedTooltip)&&i.hide(),e.series.forEach((function(t){t.setState("",!0)}))}setState(t,e){let i=this,s=i.options,o=i.graph,r=s.inactiveOtherPoints,n=s.states,a=N(n[t||"normal"]&&n[t||"normal"].animation,i.chart.options.chart.animation),l=s.lineWidth,h=s.opacity;if(t=t||"",i.state!==t&&([i.group,i.markerGroup,i.dataLabelsGroup].forEach((function(e){e&&(i.state&&e.removeClass("highcharts-series-"+i.state),t&&e.addClass("highcharts-series-"+t))})),i.state=t,!i.chart.styledMode)){if(n[t]&&!1===n[t].enabled)return;if(t&&(l=n[t].lineWidth||l+(n[t].lineWidthPlus||0),h=N(n[t].opacity,h)),o&&!o.dashstyle&&B(l))for(let t of[o,...this.zones.map((t=>t.graph))])null===t||void 0===t||t.animate({"stroke-width":l},a);r||[i.group,i.markerGroup,i.dataLabelsGroup,i.labelBySeries].forEach((function(t){t&&t.animate({opacity:h},a)}))}e&&r&&i.points&&i.setAllPointsToState(t||void 0)}setAllPointsToState(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))}setVisible(t,e){var i;let s=this,o=s.chart,r=o.options.chart.ignoreHiddenSeries,n=s.visible;s.visible=t=s.options.visible=s.userOptions.visible=void 0===t?!n:t;let a=t?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((t=>{var e;null===(e=s[t])||void 0===e||e[a]()})),(o.hoverSeries===s||(null===(i=o.hoverPoint)||void 0===i?void 0:i.series)===s)&&s.onMouseOut(),s.legendItem&&o.legend.colorizeItem(s,t),s.isDirty=!0,s.options.stacking&&o.series.forEach((t=>{t.options.stacking&&t.visible&&(t.isDirty=!0)})),s.linkedSeries.forEach((e=>{e.setVisible(t,!1)})),r&&(o.isDirtyBox=!0),L(s,a),!1!==e&&o.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),L(this,t?"select":"unselect")}shouldShowTooltip(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i.series=this,i.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,i)}drawLegendSymbol(t,e){var i;null===(i=o[this.options.legendSymbol||"rectangle"])||void 0===i||i.call(this,t,e)}}return X.defaultOptions=n,X.types=a.seriesTypes,X.registerType=a.registerSeriesType,w(X.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:!1,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:r,requireSorting:!0,sorted:!0}),a.series=X,X})),i(e,"Core/Chart/Chart.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Time.js"],e["Core/Utilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Axis/Tick.js"]],(function(t,e,i,s,o,r,n,a,l,h,d,c,p,u){let{animate:g,animObject:f,setAnimation:m}=t,{defaultOptions:x,defaultTime:b}=i,{numberFormat:y}=s,{registerEventOptions:v}=o,{charts:S,doc:k,marginNames:A,svg:M,win:C}=r,{seriesTypes:T}=l,{addEvent:w,attr:P,createElement:L,clamp:E,css:O,defined:D,diffObjects:j,discardElement:B,erase:I,error:R,extend:z,find:N,fireEvent:G,getStyle:U,isArray:W,isNumber:X,isObject:H,isString:F,merge:Y,objectEach:V,pick:_,pInt:q,relativeLength:Z,removeEvent:K,splat:$,syncTimeout:J,uniqueKey:Q}=c;class tt{static chart(t,e,i){return new tt(t,e,i)}constructor(t,e,i){this.sharedClips={};let s=[...arguments];(F(t)||t.nodeName)&&(this.renderTo=s.shift()),this.init(s[0],s[1])}setZoomOptions(){let t=this.options.chart,e=t.zooming;this.zooming={...e,type:_(t.zoomType,e.type),key:_(t.zoomKey,e.key),pinchType:_(t.pinchType,e.pinchType),singleTouch:_(t.zoomBySingleTouch,e.singleTouch,!1),resetButton:Y(e.resetButton,t.resetZoomButton)}}init(t,e){G(this,"init",{args:arguments},(function(){let i=Y(x,t),s=i.chart;this.userOptions=z({},t),this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=i,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new d(t.time):r.time,this.numberFormatter=s.numberFormatter||y,this.styledMode=s.styledMode,this.hasCartesianSeries=s.showAxes,this.index=S.length,S.push(this),r.chartCount++,v(this,s),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),G(this,"afterInit"),this.firstRender()}))}initSeries(t){let e=this.options.chart,i=t.type||e.type,s=T[i];s||R(17,!0,this,{missingModuleFor:i});let o=new s;return"function"==typeof o.init&&o.init(this,t),o}setSortedData(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))}getSeriesOrderByLinks(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))}orderItems(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=this[t],s=this.options[t]=$(this.options[t]).slice(),o=this.userOptions[t]=this.userOptions[t]?$(this.userOptions[t]).slice():[];if(this.hasRendered&&(s.splice(e),o.splice(e)),i)for(let r=e,n=i.length;r2&&void 0!==arguments[2]?arguments[2]:{},{inverted:s,plotBox:o,plotLeft:r,plotTop:n,scrollablePlotBox:a}=this,l=0,h=0;i.visiblePlotOnly&&this.scrollingContainer&&({scrollLeft:l,scrollTop:h}=this.scrollingContainer);let d=i.series,c=i.visiblePlotOnly&&a||o,p=i.inverted?e:t,u=i.inverted?t:e,g={x:p,y:u,isInsidePlot:!0,options:i};if(!i.ignoreX){let t=d&&(s&&!this.polar?d.yAxis:d.xAxis)||{pos:r,len:1/0},e=i.paneCoordinates?t.pos+p:r+p;e>=Math.max(l+r,t.pos)&&e<=Math.min(l+r+c.width,t.pos+t.len)||(g.isInsidePlot=!1)}if(!i.ignoreY&&g.isInsidePlot){let t=!s&&i.axis&&!i.axis.isXAxis&&i.axis||d&&(s?d.xAxis:d.yAxis)||{pos:n,len:1/0},e=i.paneCoordinates?t.pos+u:n+u;e>=Math.max(h+n,t.pos)&&e<=Math.min(h+n+c.height,t.pos+t.len)||(g.isInsidePlot=!1)}return G(this,"afterIsInsidePlot",g),g.isInsidePlot}redraw(t){G(this,"beforeRedraw");let e,i,s,o,r=this.hasCartesianSeries?this.axes:this.colorAxis||[],n=this.series,a=this.pointer,l=this.legend,h=this.userOptions.legend,d=this.renderer,c=d.isHidden(),p=[],u=this.isDirtyBox,g=this.isDirtyLegend;for(d.rootFontSize=d.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),m(!!this.hasRendered&&t,this),c&&this.temporaryDisplay(),this.layOutTitles(!1),s=n.length;s--;)if(((o=n[s]).options.stacking||o.options.centerInCategory)&&(i=!0,o.isDirty)){e=!0;break}if(e)for(s=n.length;s--;)(o=n[s]).options.stacking&&(o.isDirty=!0);n.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),g=!0):h&&(h.labelFormatter||h.labelFormat)&&(g=!0)),t.isDirtyData&&G(t,"updatedData")})),g&&l&&l.options.enabled&&(l.render(),this.isDirtyLegend=!1),i&&this.getStacks(),r.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),r.forEach((function(t){t.isDirty&&(u=!0)})),r.forEach((function(t){let e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,p.push((function(){G(t,"afterSetExtremes",z(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(u||i)&&t.redraw()})),u&&this.drawChartBox(),G(this,"predraw"),n.forEach((function(t){(u||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),a&&a.reset(!0),d.draw(),G(this,"redraw"),G(this,"render"),c&&this.temporaryDisplay(!0),p.forEach((function(t){t.call()}))}get(t){let e=this.series;function i(e){return e.id===t||e.options&&e.options.id===t}let s=N(this.axes,i)||N(this.series,i);for(let o=0;!s&&o(e.getPointsCollection().forEach((e=>{_(e.selectedStaging,e.selected)&&t.push(e)})),t)),[])}getSelectedSeries(){return this.series.filter((function(t){return t.selected}))}setTitle(t,e,i){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(i)}applyDescription(t,e){let i=this,s=this.options[t]=Y(this.options[t],e),o=this[t];o&&e&&(this[t]=o=o.destroy()),s&&!o&&((o=this.renderer.text(s.text,0,0,s.useHTML).attr({align:s.align,class:"highcharts-"+t,zIndex:s.zIndex||4}).add()).update=function(e,s){i.applyDescription(t,e),i.layOutTitles(s)},this.styledMode||o.css(z("title"===t?{fontSize:this.options.isStock?"1em":"1.2em"}:{},s.style)),this[t]=o)}layOutTitles(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=[0,0,0],i=this.renderer,s=this.spacingBox;["title","subtitle","caption"].forEach((function(t){let o=this[t],r=this.options[t],n=r.verticalAlign||"top",a="title"===t?"top"===n?-3:0:"top"===n?e[0]+2:0;if(o){o.css({width:(r.width||s.width+(r.widthAdjust||0))+"px"});let t=i.fontMetrics(o).b,l=Math.round(o.getBBox(r.useHTML).height);o.align(z({y:"bottom"===n?t:a+t,height:l},r),!1,"spacingBox"),r.floating||("top"===n?e[0]=Math.ceil(e[0]+l):"bottom"===n&&(e[2]=Math.ceil(e[2]+l)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);let o=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,G(this,"afterLayOutTitles"),!this.isDirtyBox&&o&&(this.isDirtyBox=this.isDirtyLegend=o,this.hasRendered&&t&&this.isDirtyBox&&this.redraw())}getContainerBox(){return{width:U(this.renderTo,"width",!0)||0,height:U(this.renderTo,"height",!0)||0}}getChartSize(){let t=this.options.chart,e=t.width,i=t.height,s=this.getContainerBox();this.chartWidth=Math.max(0,e||s.width||600),this.chartHeight=Math.max(0,Z(i,this.chartWidth)||(s.height>1?s.height:400)),this.containerBox=s}temporaryDisplay(t){let e,i=this.renderTo;if(t)for(;i&&i.style;)i.hcOrigStyle&&(O(i,i.hcOrigStyle),delete i.hcOrigStyle),i.hcOrigDetached&&(k.body.removeChild(i),i.hcOrigDetached=!1),i=i.parentNode;else for(;i&&i.style&&(k.body.contains(i)||i.parentNode||(i.hcOrigDetached=!0,k.body.appendChild(i)),("none"===U(i,"display",!1)||i.hcOricDetached)&&(i.hcOrigStyle={display:i.style.display,height:i.style.height,overflow:i.style.overflow},e={display:"block",overflow:"hidden"},i!==this.renderTo&&(e.height=0),O(i,e),i.offsetWidth||i.style.setProperty("display","block","important")),(i=i.parentNode)!==k.body););}setClassName(t){this.container.className="highcharts-container "+(t||"")}getContainer(){let t,e=this.options,i=e.chart,s="data-highcharts-chart",o=Q(),r=this.renderTo;r||(this.renderTo=r=i.renderTo),F(r)&&(this.renderTo=r=k.getElementById(r)),r||R(13,!0,this);let a=q(P(r,s));X(a)&&S[a]&&S[a].hasRendered&&S[a].destroy(),P(r,s,this.index),r.innerHTML=p.emptyHTML,i.skipClone||r.offsetWidth||this.temporaryDisplay(),this.getChartSize();let l=this.chartWidth,d=this.chartHeight;O(r,{overflow:"hidden"}),this.styledMode||(t=z({position:"relative",overflow:"hidden",width:l+"px",height:d+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},i.style||{}));let c=L("div",{id:o},t,r);this.container=c,this._cursor=c.style.cursor;let u=i.renderer||!M?n.getRendererType(i.renderer):h;if(this.renderer=new u(c,l,d,void 0,i.forExport,e.exporting&&e.exporting.allowHTML,this.styledMode),this.containerBox=this.getContainerBox(),m(void 0,this),this.setClassName(i.className),this.styledMode)for(let n in e.defs)this.renderer.definition(e.defs[n]);else this.renderer.setStyle(i.style);this.renderer.chartIndex=this.index,G(this,"afterGetContainer")}getMargins(t){let{spacing:e,margin:i,titleOffset:s}=this;this.resetMargins(),s[0]&&!D(i[0])&&(this.plotTop=Math.max(this.plotTop,s[0]+e[0])),s[2]&&!D(i[2])&&(this.marginBottom=Math.max(this.marginBottom,s[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(i,e),G(this,"getMargins"),t||this.getAxisMargins()}getAxisMargins(){let t=this,e=t.axisOffset=[0,0,0,0],i=t.colorAxis,s=t.margin,o=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?o(t.axes):i&&i.length&&o(i),A.forEach((function(i,o){D(s[o])||(t[i]+=e[o])})),t.setChartSize()}getOptions(){return j(this.userOptions,x)}reflow(t){let e=this,i=e.containerBox,s=e.getContainerBox();delete e.pointer.chartPosition,!e.isPrinting&&!e.isResizing&&i&&s.width&&((s.width!==i.width||s.height!==i.height)&&(c.clearTimeout(e.reflowTimeout),e.reflowTimeout=J((function(){e.container&&e.setSize(void 0,void 0,!1)}),t?100:0)),e.containerBox=s)}setReflow(){let t=this,e=e=>{var i;(null===(i=t.options)||void 0===i?void 0:i.chart.reflow)&&t.hasLoaded&&t.reflow(e)};if("function"==typeof ResizeObserver)new ResizeObserver(e).observe(t.renderTo);else{let t=w(C,"resize",e);w(this,"destroy",t)}}setSize(t,e,i){let s=this,o=s.renderer;s.isResizing+=1,m(i,s);let r=o.globalAnimation;s.oldChartHeight=s.chartHeight,s.oldChartWidth=s.chartWidth,void 0!==t&&(s.options.chart.width=t),void 0!==e&&(s.options.chart.height=e),s.getChartSize();let{chartWidth:n,chartHeight:a,scrollablePixelsX:l=0,scrollablePixelsY:h=0}=s;(s.isDirtyBox||n!==s.oldChartWidth||a!==s.oldChartHeight)&&(s.styledMode||(r?g:O)(s.container,{width:"".concat(n+l,"px"),height:"".concat(a+h,"px")},r),s.setChartSize(!0),o.setSize(n,a,r),s.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),s.isDirtyLegend=!0,s.isDirtyBox=!0,s.layOutTitles(),s.getMargins(),s.redraw(r),s.oldChartHeight=void 0,G(s,"resize"),setTimeout((()=>{s&&G(s,"endResize",void 0,(()=>{s.isResizing-=1}))}),f(r).duration))}setChartSize(t){let e,i,s,o,r=this.inverted,n=this.renderer,a=this.chartWidth,l=this.chartHeight,h=this.options.chart,d=this.spacing,c=this.clipOffset;this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=i=Math.round(this.plotTop),this.plotWidth=s=Math.max(0,Math.round(a-e-this.marginRight)),this.plotHeight=o=Math.max(0,Math.round(l-i-this.marginBottom)),this.plotSizeX=r?o:s,this.plotSizeY=r?s:o,this.plotBorderWidth=h.plotBorderWidth||0,this.spacingBox=n.spacingBox={x:d[3],y:d[0],width:a-d[3]-d[1],height:l-d[0]-d[2]},this.plotBox=n.plotBox={x:e,y:i,width:s,height:o};let p=2*Math.floor(this.plotBorderWidth/2),u=Math.ceil(Math.max(p,c[3])/2),g=Math.ceil(Math.max(p,c[0])/2);this.clipBox={x:u,y:g,width:Math.floor(this.plotSizeX-Math.max(p,c[1])/2-u),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(p,c[2])/2-g))},t||(this.axes.forEach((function(t){t.setAxisSize(),t.setAxisTranslation()})),n.alignElements()),G(this,"afterSetChartSize",{skipAxes:t})}resetMargins(){G(this,"resetMargins");let t=this,e=t.options.chart;["margin","spacing"].forEach((function(i){let s=e[i],o=H(s)?s:[s,s,s,s];["Top","Right","Bottom","Left"].forEach((function(s,r){t[i][r]=_(e[i+s],o[r])}))})),A.forEach((function(e,i){t[e]=_(t.margin[i],t.spacing[i])})),t.axisOffset=[0,0,0,0],t.clipOffset=[0,0,0,0]}drawChartBox(){let t,e,i,s=this.options.chart,o=this.renderer,r=this.chartWidth,n=this.chartHeight,a=this.styledMode,l=this.plotBGImage,h=s.backgroundColor,d=s.plotBackgroundColor,c=s.plotBackgroundImage,p=this.plotLeft,u=this.plotTop,g=this.plotWidth,f=this.plotHeight,m=this.plotBox,x=this.clipRect,b=this.clipBox,y=this.chartBackground,v=this.plotBackground,S=this.plotBorder,k="animate";y||(this.chartBackground=y=o.rect().addClass("highcharts-background").add(),k="attr"),a?t=e=y.strokeWidth():(e=(t=s.borderWidth||0)+(s.shadow?8:0),i={fill:h||"none"},(t||y["stroke-width"])&&(i.stroke=s.borderColor,i["stroke-width"]=t),y.attr(i).shadow(s.shadow)),y[k]({x:e/2,y:e/2,width:r-e-t%2,height:n-e-t%2,r:s.borderRadius}),k="animate",v||(k="attr",this.plotBackground=v=o.rect().addClass("highcharts-plot-background").add()),v[k](m),!a&&(v.attr({fill:d||"none"}).shadow(s.plotShadow),c&&(l?(c!==l.attr("href")&&l.attr("href",c),l.animate(m)):this.plotBGImage=o.image(c,p,u,g,f).add())),x?x.animate({width:b.width,height:b.height}):this.clipRect=o.clipRect(b),k="animate",S||(k="attr",this.plotBorder=S=o.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),a||S.attr({stroke:s.plotBorderColor,"stroke-width":s.plotBorderWidth||0,fill:"none"}),S[k](S.crisp({x:p,y:u,width:g,height:f},-S.strokeWidth())),this.isDirtyBox=!1,G(this,"afterDrawChartBox")}propFromSeries(){let t,e,i,s=this,o=s.options.chart,r=s.options.series;["inverted","angular","polar"].forEach((function(n){for(e=T[o.type],i=o[n]||e&&e.prototype[n],t=r&&r.length;!i&&t--;)(e=T[r[t].type])&&e.prototype[n]&&(i=!0);s[n]=i}))}linkSeries(t){let e=this,i=e.series;i.forEach((function(t){t.linkedSeries.length=0})),i.forEach((function(t){let{linkedTo:i}=t.options;if(F(i)){let s;(s=":previous"===i?e.series[t.index-1]:e.get(i))&&s.linkedParent!==t&&(s.linkedSeries.push(t),t.linkedParent=s,s.enabledDataSorting&&t.setDataSortingOptions(),t.visible=_(t.options.visible,s.options.visible,t.visible))}})),G(this,"afterLinkSeries",{isUpdating:t})}renderSeries(){this.series.forEach((function(t){t.translate(),t.render()}))}render(){let t,e=this.axes,i=this.colorAxis,s=this.renderer,o=this.options.chart.axisLayoutRuns||2,r=t=>{t.forEach((t=>{t.visible&&t.render()}))},n=0,a=!0,l=0;for(let d of(this.setTitle(),G(this,"beforeMargins"),null!==(h=this.getStacks)&&void 0!==h&&h.call(this),this.getMargins(!0),this.setChartSize(),e)){var h;let{options:t}=d,{labels:e}=t;if(d.horiz&&d.visible&&e.enabled&&d.series.length&&"colorAxis"!==d.coll&&!this.polar){n=t.tickLength,d.createGroups();let i=new u(d,0,"",!0),s=i.createLabel("x",e);if(i.destroy(),s&&_(e.reserveSpace,!X(t.crossing))&&(n=s.getBBox().height+e.distance+Math.max(t.offset||0,0)),n){null===s||void 0===s||s.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-n,0);(a||t||o>1)&&l(l?1:1.1),t=s/this.plotHeight>(l?1:1.05),l++}this.drawChartBox(),this.hasCartesianSeries?r(e):i&&i.length&&r(i),this.seriesGroup||(this.seriesGroup=s.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0}addCredits(t){let e=this,i=Y(!0,this.options.credits,t);i.enabled&&!this.credits&&(this.credits=this.renderer.text(i.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){i.href&&(C.location.href=i.href)})).attr({align:i.position.align,zIndex:8}),e.styledMode||this.credits.css(i.style),this.credits.add().align(i.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})}destroy(){let t,e=this,i=e.axes,s=e.series,o=e.container,n=o&&o.parentNode;for(G(e,"destroy"),e.renderer.forExport?I(S,e):S[e.index]=void 0,r.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),K(e),t=i.length;t--;)i[t]=i[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=s.length;t--;)s[t]=s[t].destroy();["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach((function(t){let i=e[t];i&&i.destroy&&(e[t]=i.destroy())})),o&&(o.innerHTML=p.emptyHTML,K(o),n&&B(o)),V(e,(function(t,i){delete e[i]}))}firstRender(){let t=this,e=t.options;t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes();let i=W(e.series)?e.series:[];e.series=[],i.forEach((function(e){t.initSeries(e)})),t.linkSeries(),t.setSortedData(),G(t,"beforeRender"),t.render(),t.pointer.getChartPosition(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0)}onload(){this.callbacks.concat([this.callback]).forEach((function(t){t&&void 0!==this.index&&t.apply(this,[this])}),this),G(this,"load"),G(this,"render"),D(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0}warnIfA11yModuleNotLoaded(){let{options:t,title:e}=this;!t||this.accessibility||(this.renderer.boxWrapper.attr({role:"img","aria-label":(e&&e.element.textContent||"").replace(/0&&(y+=o,b=S),(o=y-k)>0&&(y=k,b-=o),e.series.length&&b!==u.min&&y!==u.max&&b>=S&&y<=k&&(e.setExtremes(b,y,!1,!1,{trigger:"pan"}),!s.resetZoomButton&&b!==S&&y!==k&&a.match("y")&&(s.showResetZoom(),e.displayBtn=!1),i=!0),r[h]=l)})),V(r,((t,e)=>{s[e]=t})),i&&s.redraw(!1),O(s.container,{cursor:"move"})}))}}return z(tt.prototype,{callbacks:[],collectionsWithInit:{xAxis:[tt.prototype.addAxis,[!0]],yAxis:[tt.prototype.addAxis,[!1]],series:[tt.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroundColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]}),tt})),i(e,"Extensions/ScrollablePlotArea.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],(function(t,e,i,s){let{stop:o}=t,{composed:r}=e,{addEvent:n,createElement:a,css:l,defined:h,extend:d,merge:c,pick:p,pushUnique:u}=s;function g(){var t,e,s;let r,{axisOffset:h,chartWidth:d,chartHeight:c,container:u,plotHeight:g,plotLeft:f,plotTop:m,plotWidth:x,scrollablePixelsX:b=0,scrollablePixelsY:y=0,scrollingContainer:v}=this,S=!this.fixedDiv,k=this.options.chart,A=k.scrollablePlotArea,{scrollPositionX:M,scrollPositionY:C}=A,T=i.getRendererType(),{fixedRenderer:w}=this;w?w.setSize(d,c):(this.fixedDiv=a("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:((null===(t=k.style)||void 0===t?void 0:t.zIndex)||0)+2,top:0},void 0,!0),null!==v&&void 0!==v&&v.parentNode.insertBefore(this.fixedDiv,v),l(this.renderTo,{overflow:"visible"}),this.fixedRenderer=w=new T(this.fixedDiv,d,c,k.style),this.scrollableMask=w.path().attr({fill:k.backgroundColor||"#fff","fill-opacity":p(A.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),n(this,"afterShowResetZoom",this.moveFixedElements),n(this,"afterApplyDrilldown",this.moveFixedElements),n(this,"afterLayOutTitles",this.moveFixedElements)),(this.scrollableDirty||S)&&(this.scrollableDirty=!1,this.moveFixedElements());let P=d+b,L=c+y;o(this.container),l(u,{width:"".concat(P,"px"),height:"".concat(L,"px")}),this.renderer.boxWrapper.attr({width:P,height:L,viewBox:[0,0,P,L].join(" ")}),null!==(e=this.chartBackground)&&void 0!==e&&e.attr({width:P,height:L}),v&&(l(v,{width:"".concat(this.chartWidth,"px"),height:"".concat(this.chartHeight,"px")}),S&&(M&&(v.scrollLeft=b*M),C&&(v.scrollTop=y*C)));let E=m-h[0]-1,O=f-h[3]-1,D=m+g+h[2]+1,j=f+x+h[1]+1,B=f+x-b,I=m+g-y;r=b?[["M",0,E],["L",f-1,E],["L",f-1,D],["L",0,D],["Z"],["M",B,E],["L",d,E],["L",d,D],["L",B,D],["Z"]]:y?[["M",O,0],["L",O,m-1],["L",j,m-1],["L",j,0],["Z"],["M",O,I],["L",O,c],["L",j,c],["L",j,I],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&(null===(s=this.scrollableMask)||void 0===s||s.attr({d:r}))}function f(){let t,e=this.container,i=this.fixedRenderer,s=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-reset-zoom",".highcharts-drillup-button",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"];for(let o of(this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&s.push("".concat(t,":not(.highcharts-radial-axis)"),"".concat(t,"-labels:not(.highcharts-radial-axis-labels)")),s))[].forEach.call(e.querySelectorAll(o),(t=>{(t.namespaceURI===i.SVG_NS?i.box:i.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}function m(){let t,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=a("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=a("div",{className:"highcharts-scrolling"},e,this.scrollingParent),n(this.scrollingContainer,"scroll",(()=>{this.pointer&&(delete this.pointer.chartPosition,this.hoverPoint&&(t=this.hoverPoint),this.pointer.runPointActions(void 0,t,!0))})),this.innerContainer=a("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null}function x(){this.chart.scrollableDirty=!0}function b(t){let e,i,s,o=this.options.chart.scrollablePlotArea,r=o&&o.minWidth,n=o&&o.minHeight;if(!this.renderer.forExport&&(r?(this.scrollablePixelsX=e=Math.max(0,r-this.chartWidth),e&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.width=this.plotWidth+=e,this.inverted?this.clipBox.height+=e:this.clipBox.width+=e,s={1:{name:"right",value:e}})):n&&(this.scrollablePixelsY=i=Math.max(0,n-this.chartHeight),h(i)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.height=this.plotHeight+=i,this.inverted?this.clipBox.width+=i:this.clipBox.height+=i,s={2:{name:"bottom",value:i}})),s&&!t.skipAxes))for(let a of this.axes)if(s[a.side]){let t=a.getPlotLinePath;a.getPlotLinePath=function(){let e=s[a.side].name,i=s[a.side].value,o=this[e];this[e]=o-i;let r=t.apply(this,arguments);return this[e]=o,r}}else a.setAxisSize(),a.setAxisTranslation()}function y(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()}function v(){this.chart.scrollableDirty=!0}return{compose:function t(e,i,s){u(r,t)&&(n(e,"afterInit",x),d(i.prototype,{applyFixed:g,moveFixedElements:f,setUpScrolling:m}),n(i,"afterSetChartSize",b),n(i,"render",y),n(s,"show",v))}}})),i(e,"Core/Axis/Stacking/StackItem.js",[e["Core/Templating.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,i){let{format:s}=t,{series:o}=e,{destroyObjectProperties:r,fireEvent:n,isNumber:a,pick:l}=i;return class{constructor(t,e,i,s,o){let r=t.chart.inverted,n=t.reversed;this.axis=t;let a=this.isNegative=!!i!=!!n;this.options=e=e||{},this.x=s,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=!1,this.stack=o,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:e.align||(r?a?"left":"right":"center"),verticalAlign:e.verticalAlign||(r?"middle":a?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(r?a?"right":"left":"center")}destroy(){r(this,this.axis)}render(t){let e=this.axis.chart,i=this.options,o=i.format,r=o?s(o,this,e):i.formatter.call(this);if(this.label)this.label.attr({text:r,visibility:"hidden"});else{this.label=e.renderer.label(r,null,void 0,i.shape,void 0,void 0,i.useHTML,!1,"stack-labels");let s={r:i.borderRadius||0,text:r,padding:l(i.padding,5),visibility:"hidden"};e.styledMode||(s.fill=i.backgroundColor,s.stroke=i.borderColor,s["stroke-width"]=i.borderWidth,this.label.css(i.style||{})),this.label.attr(s),this.label.added||this.label.add(t)}this.label.labelrank=e.plotSizeY,n(this,"afterRender")}setOffset(t,e,i,s,r,h){let{alignOptions:d,axis:c,label:p,options:u,textAlign:g}=this,f=c.chart,m=this.getStackBox({xOffset:t,width:e,boxBottom:i,boxTop:s,defaultX:r,xAxis:h}),{verticalAlign:x}=d;if(p&&m){let t,e=p.getBBox(),i=p.padding,s="justify"===l(u.overflow,"justify");d.x=u.x||0,d.y=u.y||0;let{x:r,y:n}=this.adjustStackPosition({labelBox:e,verticalAlign:x,textAlign:g});m.x-=r,m.y-=n,p.align(d,!1,m),(t=f.isInsidePlot(p.alignAttr.x+d.x+r,p.alignAttr.y+d.y+n))||(s=!1),s&&o.prototype.justifyDataLabel.call(c,p,d,p.alignAttr,e,m),p.attr({x:p.alignAttr.x,y:p.alignAttr.y,rotation:u.rotation,rotationOriginX:e.width/2,rotationOriginY:e.height/2}),l(!s&&u.crop,!0)&&(t=a(p.x)&&a(p.y)&&f.isInsidePlot(p.x-i+(p.width||0),p.y)&&f.isInsidePlot(p.x+i,p.y)),p[t?"show":"hide"]()}n(this,"afterSetOffset",{xOffset:t,width:e})}adjustStackPosition(t){let{labelBox:e,verticalAlign:i,textAlign:s}=t,o={bottom:0,middle:1,top:2,right:1,center:0,left:-1},r=o[i],n=o[s];return{x:e.width/2+e.width/2*n,y:e.height/2*r}}getStackBox(t){let e=this.axis,i=e.chart,{boxTop:s,defaultX:o,xOffset:r,width:n,boxBottom:h}=t,d=e.stacking.usePercentage?100:l(s,this.total,0),c=e.toPixels(d),p=t.xAxis||i.xAxis[0],u=l(o,p.translate(this.x))+r,g=e.toPixels(h||a(e.min)&&e.logarithmic&&e.logarithmic.lin2log(e.min)||0),f=Math.abs(c-g),m=i.inverted,x=this.isNegative;return m?{x:(x?c:c-f)-i.plotLeft,y:p.height-u-n,width:f,height:n}:{x:u+p.transB-i.plotLeft,y:(x?c-f:c)-i.plotTop,width:n,height:f}}}})),i(e,"Core/Axis/Stacking/StackingAxis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],(function(t,e,i,s,o,r){var n;let{getDeferredAnimation:a}=t,{composed:l}=i,{series:{prototype:h}}=s,{addEvent:d,correctFloat:c,defined:p,destroyObjectProperties:u,fireEvent:g,isArray:f,isNumber:m,objectEach:x,pick:b,pushUnique:y}=r;function v(){let t=this.inverted;this.axes.forEach((t=>{t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),this.series.forEach((e=>{let i=e.xAxis&&e.xAxis.options||{};e.options.stacking&&e.reserveSpace()&&(e.stackKey=[e.type,b(e.options.stack,""),t?i.top:i.left,t?i.height:i.width].join(","))}))}function S(){let t=this.stacking;if(t){var e;let i=t.stacks;x(i,((t,e)=>{u(t),delete i[e]})),null===(e=t.stackTotalGroup)||void 0===e||e.destroy()}}function k(){this.stacking||(this.stacking=new P(this))}function A(t,e,i,s){return!p(t)||t.x!==e||s&&t.stackKey!==s?t={x:e,index:0,key:s,stackKey:s}:t.index++,t.key=[i,e,t.index].join(","),t}function M(){let t,e=this,i=e.yAxis,s=e.stackKey||"",o=i.stacking.stacks,r=e.processedXData,n=e.options.stacking,a=e[n+"Stacker"];a&&[s,"-"+s].forEach((i=>{let s,n,l,h=r.length;for(;h--;){var d,c;s=r[h],t=e.getStackIndicator(t,s,e.index,i),n=null===(d=o[i])||void 0===d?void 0:d[s],(l=null===(c=n)||void 0===c?void 0:c.points[t.key||""])&&a.call(e,l,n,h)}}))}function C(t,e,i){let s=e.total?100/e.total:0;t[0]=c(t[0]*s),t[1]=c(t[1]*s),this.stackedYData[i]=t[1]}function T(t){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&!this.options.stacking&&this.chart.series.length>1?h.setStackedPoints.call(this,t,"group"):t.stacking.resetStacks())}function w(t,e){let i,s,r,n,a,l,h,d,u,g=e||this.options.stacking;if(!g||!this.reserveSpace()||({group:"xAxis"}[g]||"yAxis")!==t.coll)return;let m=this.processedXData,x=this.processedYData,y=[],v=x.length,S=this.options,k=S.threshold||0,A=S.startFromThreshold?k:0,M=S.stack,C=e?"".concat(this.type,",").concat(g):this.stackKey||"",T="-"+C,w=this.negStacks,P=t.stacking,L=P.stacks,E=P.oldStacks;for(P.stacksTouched+=1,h=0;h0&&!1===this.singleStacks&&(r.points[l][0]=r.points[this.index+","+d+",0"][0])):(delete r.points[l],delete r.points[this.index]);let e=r.total||0;"percent"===g?(n=s?C:T,e=w&&null!==(D=L[n])&&void 0!==D&&D[d]?(n=L[n][d]).total=Math.max(n.total||0,e)+Math.abs(u)||0:c(e+(Math.abs(u)||0))):"group"===g?(f(u)&&(u=u[0]),null!==u&&e++):e=c(e+(u||0)),r.cumulative="group"===g?(e||1)-1:c(b(r.cumulative,A)+(u||0)),r.total=e,null!==u&&(r.points[l].push(r.cumulative),y[h]=r.cumulative,r.hasValidPoints=!0)}"percent"===g&&(P.usePercentage=!0),"group"!==g&&(this.stackedYData=y),P.oldStacks={}}class P{constructor(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}buildStacks(){let t,e,i=this.axis,s=i.series,o="xAxis"===i.coll,r=i.options.reversedStacks,n=s.length;for(this.resetStacks(),this.usePercentage=!1,e=n;e--;)t=s[r?e:n-e-1],o&&t.setGroupedPoints(i),t.setStackedPoints(i);if(!o)for(e=0;e{x(t,(t=>{t.cumulative=t.total}))})))}resetStacks(){x(this.stacks,(t=>{x(t,((e,i)=>{m(e.touched)&&e.touched{x(t,(t=>{t.render(l)}))})),l.animate({opacity:1},n)}}return(n||(n={})).compose=function t(e,i,s){if(y(l,t)){let t=i.prototype,o=s.prototype;d(e,"init",k),d(e,"destroy",S),t.getStacks=v,o.getStackIndicator=A,o.modifyStacks=M,o.percentStacker=C,o.setGroupedPoints=T,o.setStackedPoints=w}},n})),i(e,"Series/Line/LineSeries.js",[e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,i){let{defined:s,merge:o,isObject:r}=i;class n extends t{drawGraph(){let t=this.options,e=(this.gappedPath||this.getGraphPath).call(this),i=this.chart.styledMode;[this,...this.zones].forEach(((s,n)=>{let a,l=s.graph,h=l?"animate":"attr",d=s.dashStyle||t.dashStyle;l?(l.endX=this.preventGraphAnimation?null:e.xMap,l.animate({d:e})):e.length&&(s.graph=l=this.chart.renderer.path(e).addClass("highcharts-graph"+(n?" highcharts-zone-graph-".concat(n-1," "):" ")+(n&&s.className||"")).attr({zIndex:1}).add(this.group)),l&&!i&&(a={stroke:!n&&t.lineColor||s.color||this.color||"#cccccc","stroke-width":t.lineWidth||0,fill:this.fillGraph&&this.color||"none"},d?a.dashstyle=d:"square"!==t.linecap&&(a["stroke-linecap"]=a["stroke-linejoin"]="round"),l[h](a).shadow(n<2&&t.shadow&&o({filterUnits:"userSpaceOnUse"},r(t.shadow)?t.shadow:{}))),l&&(l.startX=e.xMap,l.isArea=e.isArea)}))}getGraphPath(t,e,i){let o,r=this,n=r.options,a=[],l=[],h=n.step,d=(t=t||r.points).reversed;return d&&t.reverse(),(h={right:1,center:2}[h]||h&&3)&&d&&(h=4-h),(t=this.getValidPoints(t,!1,!(n.connectNulls&&!e&&!i))).forEach((function(d,c){let p,u=d.plotX,g=d.plotY,f=t[c-1],m=d.isNull||"number"!=typeof g;(d.leftCliff||f&&f.rightCliff)&&!i&&(o=!0),m&&!s(e)&&c>0?o=!n.connectNulls:m&&!e?o=!0:(0===c||o?p=[["M",d.plotX,d.plotY]]:r.getPointSpline?p=[r.getPointSpline(t,d,c)]:h?(p=1===h?[["L",f.plotX,g]]:2===h?[["L",(f.plotX+u)/2,f.plotY],["L",(f.plotX+u)/2,g]]:[["L",u,f.plotY]]).push(["L",u,g]):p=[["L",u,g]],l.push(d.x),h&&(l.push(d.x),2===h&&l.push(d.x)),a.push.apply(a,p),o=!1)})),a.xMap=l,r.graphPath=a,a}}return n.defaultOptions=o(t.defaultOptions,{legendSymbol:"lineMarker"}),e.registerSeriesType("line",n),n})),i(e,"Series/Area/AreaSeries.js",[e["Core/Color/Color.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,i){let{parse:s}=t,{seriesTypes:{line:o}}=e,{extend:r,merge:n,objectEach:a,pick:l}=i;class h extends o{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:t,options:e}=this;[this,...this.zones].forEach(((i,s)=>{var o;let r={},n=i.fillColor||e.fillColor,a=i.area,l=a?"animate":"attr";a?(a.endX=this.preventGraphAnimation?null:t.xMap,a.animate({d:t})):(r.zIndex=0,(a=i.area=this.chart.renderer.path(t).addClass("highcharts-area"+(s?" highcharts-zone-area-".concat(s-1," "):" ")+(s&&i.className||"")).add(this.group)).isArea=!0),this.chart.styledMode||(r.fill=n||i.color||this.color,r["fill-opacity"]=n?1:null!==(o=e.fillOpacity)&&void 0!==o?o:.75,a.css({pointerEvents:this.stickyTracking?"none":"auto"})),a[l](r),a.startX=t.xMap,a.shiftUnit=e.step?2:1}))}getGraphPath(t){let e,i,s,r=o.prototype.getGraphPath,n=this.options,a=n.stacking,h=this.yAxis,d=[],c=[],p=this.index,u=h.stacking.stacks[this.stackKey],g=n.threshold,f=Math.round(h.getThreshold(n.threshold)),m=l(n.connectNulls,"percent"===a),x=function(i,s,o){let r,n,l=t[i],m=a&&u[l.x].points[p],x=l[o+"Null"]||0,b=l[o+"Cliff"]||0,y=!0;b||x?(r=(x?m[0]:m[1])+b,n=m[0]+b,y=!!x):!a&&t[s]&&t[s].isNull&&(r=n=g),void 0!==r&&(c.push({plotX:e,plotY:null===r?f:h.getThreshold(r),isNull:y,isCliff:!0}),d.push({plotX:e,plotY:null===n?f:h.getThreshold(n),doCurve:!1}))};t=t||this.points,a&&(t=this.getStackPoints(t));for(let o=0,A=t.length;ot.visible));s.forEach((function(t,a){let f,m,x=0;if(h[t]&&!h[t].isNull)i.push(h[t]),[-1,1].forEach((function(i){let o=1===i?"rightNull":"leftNull",r=n[s[a+i]],l=0;if(r){let i=u;for(;i>=0&&i=0&&ei&&r>h?(r=Math.max(i,h),a=2*h-r):rp&&a>h?(a=Math.max(p,h),r=2*h-a):a=Math.abs(e)&&a>.5;return s=a-(e=Math.round(e)+n),l&&s&&(e-=1,s+=1),{x:t,y:e,width:i,height:s}}adjustForMissingColumns(t,e,i,s){if(!i.isNull&&s.columnCount>1){var o;let r=this.xAxis.series.filter((t=>t.visible)).map((t=>t.index)),n=0,a=0;y(null===(o=this.xAxis.stacking)||void 0===o?void 0:o.stacks,(t=>{if("number"==typeof i.x){let e=t[i.x.toString()];if(e){let t=e.points[this.index];if(f(t)){let t=Object.keys(e.points).filter((t=>!t.match(",")&&e.points[t]&&e.points[t].length>1)).map(parseFloat).filter((t=>-1!==r.indexOf(t))).sort(((t,e)=>e-t));n=t.indexOf(this.index),a=t.length}}}}));let l=(a-1)*s.paddedWidth+e;t=(i.plotX||0)+l/2-e-n*s.paddedWidth}return t}translate(){let t=this,e=t.chart,i=t.options,s=t.dense=t.closestPointRange*t.xAxis.transA<2,r=t.borderWidth=b(i.borderWidth,s?0:1),n=t.xAxis,a=t.yAxis,l=i.threshold,h=b(i.minPointLength,5),d=t.getColumnMetrics(),u=d.width,f=t.pointXOffset=d.offset,x=t.dataMin,y=t.dataMax,v=t.barW=Math.max(u,1+2*r),S=t.translatedThreshold=a.getThreshold(l);e.inverted&&(S-=.5),i.pointPadding&&(v=Math.ceil(v)),o.prototype.translate.apply(t),t.points.forEach((function(s){let o=b(s.yBottom,S),r=999+Math.abs(o),g=s.plotX||0,k=c(s.plotY,-r,a.len+r);s.stackBox;let A,M=Math.min(k,o),C=Math.max(k,o)-M,T=u,w=g+f,P=v;h&&Math.abs(C)h?o-h:S-(A?h:0)),p(s.options.pointWidth)&&(w-=Math.round(((T=P=Math.ceil(s.options.pointWidth))-u)/2)),i.centerInCategory&&!i.stacking&&(w=t.adjustForMissingColumns(w,T,s,d)),s.barX=w,s.pointWidth=T,s.tooltipPos=e.inverted?[c(a.len+a.pos-e.plotLeft-k,a.pos-e.plotLeft,a.len+a.pos-e.plotLeft),n.len+n.pos-e.plotTop-w-P/2,C]:[n.left-e.plotLeft+w+P/2,c(k+a.pos-e.plotTop,a.pos-e.plotTop,a.len+a.pos-e.plotTop),C],s.shapeType=t.pointClass.prototype.shapeType||"roundedRect",s.shapeArgs=t.crispCol(w,s.isNull?S:M,P,s.isNull?0:C)})),g(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(t,e){let i,s,o,r=this.options,n=this.pointAttrToOptions||{},a=n.stroke||"borderColor",h=n["stroke-width"]||"borderWidth",d=t&&t.color||this.color,c=t&&t[a]||r[a]||d,p=t&&t.options.dashStyle||r.dashStyle,u=t&&t[h]||r[h]||this[h]||0,g=b(t&&t.opacity,r.opacity,1);t&&this.zones.length&&(s=t.getZone(),d=t.options.color||s&&(s.color||t.nonZonedColor)||this.color,s&&(c=s.borderColor||c,p=s.dashStyle||p,u=s.borderWidth||u)),e&&t&&(o=(i=x(r.states[e],t.options.states&&t.options.states[e]||{})).brightness,d=i.color||void 0!==o&&l(d).brighten(i.brightness).get()||d,c=i[a]||c,u=i[h]||u,p=i.dashStyle||p,g=b(i.opacity,g));let f={fill:d,stroke:c,"stroke-width":u,opacity:g};return p&&(f.dashstyle=p),f}drawPoints(){let t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.points,i=this,s=this.chart,o=i.options,r=s.renderer,n=o.animationLimit||250;e.forEach((function(e){let a=e.plotY,l=e.graphic,h=!!l,d=l&&s.pointCount0&&void 0!==arguments[0]?arguments[0]:this.points,i=this,s=i.chart,o=s.pointer,r=function(t){let e=o.getPointFromEvent(t);void 0!==e&&i.options.enableMouseTracking&&(o.isDirectTouch=!0,e.onMouseOver(t))};e.forEach((function(e){t=f(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))})),i._hasTracking||(i.trackerGroups.forEach((function(t){i[t]&&(i[t].addClass("highcharts-tracker").on("mouseover",r).on("mouseout",(function(t){o.onTrackerMouseOut(t)})),h&&i[t].on("touchstart",r),!s.styledMode&&i.options.cursor&&i[t].css({cursor:i.options.cursor}))})),i._hasTracking=!0),g(this,"afterDrawTracker")}remove(){let t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),o.prototype.remove.apply(t,arguments)}}return S.defaultOptions=x(o.defaultOptions,i),u(S.prototype,{directTouch:!0,getSymbol:d,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),r.registerSeriesType("column",S),S})),i(e,"Core/Series/DataLabel.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,i,s){var o;let{getDeferredAnimation:r}=t,{format:n}=e,{composed:a}=i,{defined:l,extend:h,fireEvent:d,isArray:c,isString:p,merge:u,objectEach:g,pick:f,pInt:m,pushUnique:x,splat:b}=s;return function(t){function e(){return k(this).some((t=>null===t||void 0===t?void 0:t.enabled))}function i(t,e,i,s,o){let r,n,a,d=this,c=this.chart,p=this.isCartesian&&c.inverted,u=this.enabledDataSorting,g=t.plotX,m=t.plotY,x=i.rotation,b=i.align,y=l(g)&&l(m)&&c.isInsidePlot(g,Math.round(m),{inverted:p,paneCoordinates:!0,series:d}),v=i=>{u&&d.xAxis&&!S&&d.setDataLabelStartPos(t,e,o,y,i)},S="justify"===f(i.overflow,u?"none":"justify"),k=this.visible&&!1!==t.visible&&l(g)&&(t.series.forceDL||u&&!S||y||f(i.inside,!!this.options.stacking)&&s&&c.isInsidePlot(g,p?s.x+1:s.y+s.height-1,{inverted:p,paneCoordinates:!0,series:d})),A=t.pos();if(k&&A){x&&e.attr({align:b});let t=e.getBBox(!0),l=[0,0];if(r=c.renderer.fontMetrics(e).b,s=h({x:A[0],y:Math.round(A[1]),width:0,height:0},s),h(i,{width:t.width,height:t.height}),x?(S=!1,n=c.renderer.rotCorr(r,x),a={x:s.x+(i.x||0)+s.width/2+n.x,y:s.y+(i.y||0)+{top:0,middle:.5,bottom:1}[i.verticalAlign]*s.height},l=[t.x-Number(e.attr("x")),t.y-Number(e.attr("y"))],v(a),e[o?"attr":"animate"](a)):(v(s),e.align(i,void 0,s),a=e.alignAttr),S&&s.height>=0)this.justifyDataLabel(e,i,a,t,s,o);else if(f(i.crop,!0)){let{x:e,y:i}=a;e+=l[0],i+=l[1],k=c.isInsidePlot(e,i,{paneCoordinates:!0,series:d})&&c.isInsidePlot(e+t.width,i+t.height,{paneCoordinates:!0,series:d})}i.shape&&!x&&e[o?"attr":"animate"]({anchorX:A[0],anchorY:A[1]})}o&&u&&(e.placed=!1),k||u&&!S?e.show():(e.hide(),e.placed=!1)}function s(){return this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",this.options.dataLabels.zIndex||6)}function o(t){let e=this.hasRendered||0,i=this.initDataLabelsGroup().attr({opacity:+e});return!e&&i&&(this.visible&&i.show(),this.options.animation?i.animate({opacity:1},t):i.attr({opacity:1})),i}function y(t){var e;let i;t=t||this.points;let s=this,o=s.chart,a=s.options,h=o.renderer,{backgroundColor:c,plotBackgroundColor:u}=o.options.chart,x=h.getContrast(p(u)&&u||p(c)&&c||"#000000"),y=k(s),{animation:v,defer:A}=y[0],M=A?r(o,v,s):{defer:0,duration:0};d(this,"drawDataLabels"),null!==(e=s.hasDataLabels)&&void 0!==e&&e.call(s)&&(i=this.initDataLabels(M),t.forEach((t=>{var e;let r=t.dataLabels||[];b(S(y,t.dlOptions||(null===(e=t.options)||void 0===e?void 0:e.dataLabels))).forEach(((e,d)=>{let c,u,b,y,v,S=e.enabled&&t.visible&&(!t.isNull||t.dataLabelOnNull)&&function(t,e){let i=e.filter;if(i){let e=i.operator,s=t[i.property],o=i.value;return">"===e&&s>o||"<"===e&&s="===e&&s>=o||"<="===e&&s<=o||"=="===e&&s==o||"==="===e&&s===o||"!="===e&&s!=o||"!=="===e&&s!==o}return!0}(t,e),{backgroundColor:k,borderColor:A,distance:M,style:C={}}=e,T={},w=r[d],P=!w;if(S&&(u=f(e[t.formatPrefix+"Format"],e.format),c=t.getLabelConfig(),b=l(u)?n(u,c,o):(e[t.formatPrefix+"Formatter"]||e.formatter).call(c,e),y=e.rotation,!o.styledMode&&(C.color=f(e.color,C.color,p(s.color)?s.color:void 0,"#000000"),"contrast"===C.color?("none"!==k&&(v=k),t.contrastColor=h.getContrast("auto"!==v&&v||t.color||s.color),C.color=v||!l(M)&&e.inside||0>m(M||0)||a.stacking?t.contrastColor:x):delete t.contrastColor,a.cursor&&(C.cursor=a.cursor)),T={r:e.borderRadius||0,rotation:y,padding:e.padding,zIndex:1},o.styledMode||(T.fill="auto"===k?t.color:k,T.stroke="auto"===A?t.color:A,T["stroke-width"]=e.borderWidth),g(T,((t,e)=>{void 0===t&&delete T[e]}))),!w||S&&l(b)&&!!w.div==!!e.useHTML&&(w.rotation&&e.rotation||w.rotation===e.rotation)||(w=void 0,P=!0),S&&l(b)&&(w?T.text=b:(w=y?h.text(b,0,0,e.useHTML).addClass("highcharts-data-label"):h.label(b,0,0,e.shape,void 0,void 0,e.useHTML,void 0,"data-label"))&&w.addClass(" highcharts-data-label-color-"+t.colorIndex+" "+(e.className||"")+(e.useHTML?" highcharts-tracker":"")),w)){var L;w.options=e,w.attr(T),o.styledMode||w.css(C).shadow(e.shadow);let n=e[t.formatPrefix+"TextPath"]||e.textPath;n&&!e.useHTML&&(w.setTextPath((null===(L=t.getDataLabelPath)||void 0===L?void 0:L.call(t,w))||t.graphic,n),t.dataLabelPath&&!n.enabled&&(t.dataLabelPath=t.dataLabelPath.destroy())),w.added||w.add(i),s.alignDataLabel(t,w,e,void 0,P),w.isActive=!0,r[d]&&r[d]!==w&&r[d].destroy(),r[d]=w}}));let d=r.length;for(;d--;){var c;r[d]&&r[d].isActive?r[d].isActive=!1:(null!==(c=r[d])&&void 0!==c&&c.destroy(),r.splice(d,1))}t.dataLabel=r[0],t.dataLabels=r}))),d(this,"afterDrawDataLabels")}function v(t,e,i,s,o,r){let n,a,l=this.chart,h=e.align,d=e.verticalAlign,c=t.box?0:t.padding||0,{x:p=0,y:u=0}=e;return(n=(i.x||0)+c)<0&&("right"===h&&p>=0?(e.align="left",e.inside=!0):p-=n,a=!0),(n=(i.x||0)+s.width-c)>l.plotWidth&&("left"===h&&p<=0?(e.align="right",e.inside=!0):p+=l.plotWidth-n,a=!0),(n=i.y+c)<0&&("bottom"===d&&u>=0?(e.verticalAlign="top",e.inside=!0):u-=n,a=!0),(n=(i.y||0)+s.height-c)>l.plotHeight&&("top"===d&&u<=0?(e.verticalAlign="bottom",e.inside=!0):u+=l.plotHeight-n,a=!0),a&&(e.x=p,e.y=u,t.placed=!r,t.align(e,void 0,o)),a}function S(t,e){let i,s=[];if(c(t)&&!c(e))s=t.map((function(t){return u(t,e)}));else if(c(e)&&!c(t))s=e.map((function(e){return u(t,e)}));else if(c(t)||c(e)){if(c(t)&&c(e))for(i=Math.max(t.length,e.length);i--;)s[i]=u(t[i],e[i])}else s=u(t,e);return s}function k(t){var e,i;let s=t.chart.options.plotOptions;return b(S(S(null===s||void 0===s||null===(e=s.series)||void 0===e?void 0:e.dataLabels,null===s||void 0===s||null===(i=s[t.type])||void 0===i?void 0:i.dataLabels),t.options.dataLabels))}function A(t,e,i,s,o){let r=this.chart,n=r.inverted,a=this.xAxis,l=a.reversed,h=((n?e.height:e.width)||0)/2,d=t.pointWidth,c=d?d/2:0;e.startXPos=n?o.x:l?-h-c:a.width-h+c,e.startYPos=n?l?this.yAxis.height-h+c:-h-c:o.y,s?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),r.hasRendered&&(i&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}t.compose=function t(r){if(x(a,t)){let t=r.prototype;t.initDataLabelsGroup=s,t.initDataLabels=o,t.alignDataLabel=i,t.drawDataLabels=y,t.justifyDataLabel=v,t.setDataLabelStartPos=A,t.hasDataLabels=e}}}(o||(o={})),o})),i(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,i,s){var o;let{composed:r}=e,{series:n}=i,{merge:a,pick:l,pushUnique:h}=s;return function(e){function i(t,e,i,s,o){let r=this.chart.inverted,h=t.series,d=(h.xAxis?h.xAxis.len:this.chart.plotSizeX)||0,c=(h.yAxis?h.yAxis.len:this.chart.plotSizeY)||0,p=t.dlBox||t.shapeArgs,u=l(t.below,t.plotY>l(this.translatedThreshold,c)),g=l(i.inside,!!this.options.stacking);if(p){if(s=a(p),"allow"!==i.overflow||!1!==i.crop){s.y<0&&(s.height+=s.y,s.y=0);let t=s.y+s.height-c;t>0&&t\u25cf {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}})),i(e,"Series/Scatter/ScatterSeries.js",[e["Series/Scatter/ScatterSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,i){let{column:s,line:o}=e.seriesTypes,{addEvent:r,extend:n,merge:a}=i;class l extends o{applyJitter(){let t=this,e=this.options.jitter,i=this.points.length;e&&this.points.forEach((function(s,o){["x","y"].forEach((function(r,n){let a,l,h,d,c="plot"+r.toUpperCase();e[r]&&!s.isNull&&(a=t[r+"Axis"],d=e[r]*a.transA,a&&!a.isLog&&(l=Math.max(0,s[c]-d),h=Math.min(a.len,s[c]+d),s[c]=l+(h-l)*function(t){let e=1e4*Math.sin(t);return e-Math.floor(e)}(o+n*i),"x"===r&&(s.clientX=s.plotX)))}))}))}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}return l.defaultOptions=a(o.defaultOptions,t),n(l.prototype,{drawTracker:s.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),r(l,"afterTranslate",(function(){this.applyJitter()})),e.registerSeriesType("scatter",l),l})),i(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],(function(t,e,i){var s,o;let{deg2rad:r}=t,{fireEvent:n,isNumber:a,pick:l,relativeLength:h}=i;return(o=s||(s={})).getCenter=function(){let t,i,s,o=this.options,r=this.chart,d=2*(o.slicedOffset||0),c=r.plotWidth-2*d,p=r.plotHeight-2*d,u=o.center,g=Math.min(c,p),f=o.thickness,m=o.size,x=o.innerSize||0;"string"==typeof m&&(m=parseFloat(m)),"string"==typeof x&&(x=parseFloat(x));let b=[l(u[0],"50%"),l(u[1],"50%"),l(m&&m<0?void 0:o.size,"100%"),l(x&&x<0?void 0:o.innerSize||0,"0%")];for(!r.angular||this instanceof e||(b[3]=0),i=0;i<4;++i)s=b[i],t=i<2||2===i&&/%$/.test(s),b[i]=h(s,[c,p,g,b[2]][i])+(t?d:0);return b[3]>b[2]&&(b[3]=b[2]),a(f)&&2*f0&&(b[3]=b[2]-2*f),n(this,"afterGetCenter",{positions:b}),b},o.getStartAndEndRadians=function(t,e){let i=a(t)?t:0,s=a(e)&&e>i&&e-i<360?e:i+360;return{start:r*(i+-90),end:r*(s+-90)}},s})),i(e,"Series/Pie/PiePoint.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],(function(t,e,i){let{setAnimation:s}=t,{addEvent:o,defined:r,extend:n,isNumber:a,isString:l,pick:h,relativeLength:d}=i;class c extends e{getConnectorPath(t){let e=t.dataLabelPosition,i=t.options||{},s=i.connectorShape,o=this.connectorShapes[s]||s;return e&&o.call(this,{...e.computed,alignment:e.alignment},e.connectorPosition,i)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(t){let e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end,borderRadius:e.borderRadius})}constructor(t,e,i){var s;super(t,e,i),this.half=0,null!==(s=this.name)&&void 0!==s||(this.name="Slice");let r=t=>{this.slice("select"===t.type)};o(this,"select",r),o(this,"unselect",r)}isValid(){return a(this.y)&&this.y>=0}setVisible(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t!==this.visible&&this.update({visible:null!==t&&void 0!==t?t:!this.visible},e,void 0,!1)}slice(t,e,i){let o=this.series,n=o.chart;s(i,n),e=h(e,!0),this.sliced=this.options.sliced=t=r(t)?t:!this.sliced,o.options.data[o.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}return n(c.prototype,{connectorShapes:{fixedOffset:function(t,e,i){let s=e.breakAt,o=e.touchingSliceAt,r=i.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*s.x-o.x,2*s.y-o.y,s.x,s.y]:["L",s.x,s.y];return[["M",t.x,t.y],r,["L",o.x,o.y]]},straight:function(t,e){let i=e.touchingSliceAt;return[["M",t.x,t.y],["L",i.x,i.y]]},crookedLine:function(t,e,i){let{breakAt:s,touchingSliceAt:o}=e,{series:r}=this,[n,a,l]=r.center,h=l/2,{plotLeft:c,plotWidth:p}=r.chart,u="left"===t.alignment,{x:g,y:f}=t,m=s.x;if(i.crookDistance){let t=d(i.crookDistance,1);m=u?n+h+(p+c-n-h)*(1-t):c+(n-h)*t}else m=n+(a-f)*Math.tan((this.angle||0)-Math.PI/2);let x=[["M",g,f]];return(u?m<=g&&m>=s.x:m>=g&&m<=s.x)&&x.push(["L",m,f]),x.push(["L",s.x,s.y],["L",o.x,o.y]),x}}}),c})),i(e,"Series/Pie/PieSeriesDefaults.js",[],(function(){return{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}})),i(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Series/Pie/PiePoint.js"],e["Series/Pie/PieSeriesDefaults.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],(function(t,e,i,s,o,r,n,a,l){let{getStartAndEndRadians:h}=t,{noop:d}=i,{clamp:c,extend:p,fireEvent:u,merge:g,pick:f,relativeLength:m,splat:x}=l;class b extends r{animate(t){let e=this,i=e.points,s=e.startAngleRad;t||i.forEach((function(t){let i=t.graphic,o=t.shapeArgs;i&&o&&(i.attr({r:f(t.startR,e.center&&e.center[3]/2),start:s,end:s}),i.animate({r:o.r,start:o.start,end:o.end},e.options.animation))}))}drawEmpty(){let t,e,i=this.startAngleRad,s=this.endAngleRad,o=this.options;0===this.total&&this.center?(t=this.center[0],e=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t,e,this.center[1]/2,0,i,s).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a.arc(t,e,this.center[2]/2,0,{start:i,end:s,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":o.borderWidth,fill:o.fillColor||"none",stroke:o.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))}generatePoints(){super.generatePoints(),this.updateTotals()}getX(t,e,i,s){let o=this.center,r=this.radii?this.radii[i.index]||0:o[2]/2,n=s.dataLabelPosition,a=(null===n||void 0===n?void 0:n.distance)||0,l=Math.asin(c((t-o[1])/(r+a),-1,1));return o[0]+(e?-1:1)*(Math.cos(l)*(r+a))+(a>0?(e?-1:1)*(s.padding||0):0)}hasData(){return!!this.processedXData.length}redrawPoints(){let t,e,i,s,o=this,r=o.chart;this.drawEmpty(),o.group&&!r.styledMode&&o.group.shadow(o.options.shadow),o.points.forEach((function(n){let a={};e=n.graphic,!n.isNull&&e?(s=n.shapeArgs,t=n.getTranslate(),r.styledMode||(i=o.pointAttribs(n,n.selected&&"select")),n.delayedRendering?(e.setRadialReference(o.center).attr(s).attr(t),r.styledMode||e.attr(i).attr({"stroke-linejoin":"round"}),n.delayedRendering=!1):(e.setRadialReference(o.center),r.styledMode||g(!0,a,i),g(!0,a,s,t),e.animate(a)),e.attr({visibility:n.visible?"inherit":"hidden"}),e.addClass(n.getClassName(),!0)):e&&(n.graphic=e.destroy())}))}sortByAngle(t,e){t.sort((function(t,i){return void 0!==t.angle&&(i.angle-t.angle)*e}))}translate(t){u(this,"translate"),this.generatePoints();let e,i,s,o,r,n,a,l=this.options,d=l.slicedOffset,c=h(l.startAngle,l.endAngle),p=this.startAngleRad=c.start,g=(this.endAngleRad=c.end)-p,f=this.points,m=l.ignoreHiddenPoint,x=f.length,b=0;for(t||(this.center=t=this.getCenter()),n=0;n1.5*Math.PI?s-=2*Math.PI:s<-Math.PI/2&&(s+=2*Math.PI),a.slicedTranslation={translateX:Math.round(Math.cos(s)*d),translateY:Math.round(Math.sin(s)*d)},o=Math.cos(s)*t[2]/2,r=Math.sin(s)*t[2]/2,a.tooltipPos=[t[0]+.7*o,t[1]+.7*r],a.half=s<-Math.PI/2||s>Math.PI/2?1:0,a.angle=s}u(this,"afterTranslate")}updateTotals(){let t,e,i=this.points,s=i.length,o=this.options.ignoreHiddenPoint,r=0;for(t=0;t0&&(e.visible||!o)?e.y/r*100:0,e.total=r}}return b.defaultOptions=g(r.defaultOptions,o),p(b.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:d,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:s,requireSorting:!1,searchPoint:d,trackerGroups:["group","dataLabelsGroup"]}),n.registerSeriesType("pie",b),b})),i(e,"Series/Pie/PieDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,i,s,o){var r;let{composed:n,noop:a}=e,{distribute:l}=i,{series:h}=s,{arrayMax:d,clamp:c,defined:p,pick:u,pushUnique:g,relativeLength:f}=o;return function(e){let i={radialDistributionY:function(t,e){var i;return((null===(i=e.dataLabelPosition)||void 0===i?void 0:i.top)||0)+t.distributeBox.pos},radialDistributionX:function(t,e,i,s,o){let r=o.dataLabelPosition;return t.getX(i<((null===r||void 0===r?void 0:r.top)||0)+2||i>((null===r||void 0===r?void 0:r.bottom)||0)-2?s:i,e.half,e,o)},justify:function(t,e,i,s){var o;return s[0]+(t.half?-1:1)*(i+((null===(o=e.dataLabelPosition)||void 0===o?void 0:o.distance)||0))},alignToPlotEdges:function(t,e,i,s){let o=t.getBBox().width;return e?o+s:i-o-s},alignToConnectors:function(t,e,i,s){let o,r=0;return t.forEach((function(t){(o=t.dataLabel.getBBox().width)>r&&(r=o)})),e?r+s:i-r-s}};function s(t,e){let{center:i,options:s}=this,o=i[2]/2,r=t.angle||0,n=Math.cos(r),a=Math.sin(r),l=i[0]+n*o,h=i[1]+a*o,d=Math.min((s.slicedOffset||0)+(s.borderWidth||0),e/5);return{natural:{x:l+n*e,y:h+a*e},computed:{},alignment:e<0?"center":t.half?"right":"left",connectorPosition:{breakAt:{x:l+n*d,y:h+a*d},touchingSliceAt:{x:l,y:h}},distance:e}}function o(){var t;let e,i,s,o=this,r=o.points,n=o.chart,a=n.plotWidth,c=n.plotHeight,g=n.plotLeft,m=Math.round(n.chartWidth/3),x=o.center,b=x[2]/2,y=x[1],v=[[],[]],S=[0,0,0,0],k=o.dataLabelPositioners,A=0;o.visible&&(null===(t=o.hasDataLabels)||void 0===t?void 0:t.call(o))&&(r.forEach((t=>{(t.dataLabels||[]).forEach((t=>{t.shortened&&(t.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.shortened=!1)}))})),h.prototype.drawDataLabels.apply(o),r.forEach((t=>{(t.dataLabels||[]).forEach(((e,i)=>{var s;let o=x[2]/2,r=e.options,n=f((null===r||void 0===r?void 0:r.distance)||0,o);0===i&&v[t.half].push(t),!p(null===r||void 0===r||null===(s=r.style)||void 0===s?void 0:s.width)&&e.getBBox().width>m&&(e.css({width:Math.round(.7*m)+"px"}),e.shortened=!0),e.dataLabelPosition=this.getDataLabelPosition(t,n),A=Math.max(A,n)}))})),v.forEach(((t,e)=>{let r,h,d,f=t.length,m=[],v=0;f&&(o.sortByAngle(t,e-.5),A>0&&(r=Math.max(0,y-b-A),h=Math.min(y+b+A,n.plotHeight),t.forEach((t=>{(t.dataLabels||[]).forEach(((e,i)=>{var s;let o=e.dataLabelPosition;o&&o.distance>0&&(o.top=Math.max(0,y-b-o.distance),o.bottom=Math.min(y+b+o.distance,n.plotHeight),v=e.getBBox().height||21,t.distributeBox={target:((null===(s=e.dataLabelPosition)||void 0===s?void 0:s.natural.y)||0)-o.top+v/2,size:v,rank:t.y},m.push(t.distributeBox))}))})),l(m,d=h+v-r,d/5)),t.forEach((r=>{(r.dataLabels||[]).forEach((n=>{let l=n.options||{},h=r.distributeBox,d=n.dataLabelPosition,f=(null===d||void 0===d?void 0:d.natural.y)||0,y=l.connectorPadding||0,v=0,A=f,M="inherit";if(d){if(m&&p(h)&&d.distance>0&&(void 0===h.pos?M="hidden":(s=h.size,A=k.radialDistributionY(r,n))),l.justify)v=k.justify(r,n,b,x);else switch(l.alignTo){case"connectors":v=k.alignToConnectors(t,e,a,g);break;case"plotEdges":v=k.alignToPlotEdges(n,e,a,g);break;default:v=k.radialDistributionX(o,r,A,f,n)}if(d.attribs={visibility:M,align:d.alignment},d.posAttribs={x:v+(l.x||0)+({left:y,right:-y}[d.alignment]||0),y:A+(l.y||0)-n.getBBox().height/2},d.computed.x=v,d.computed.y=A,u(l.crop,!0)){let t;v-(i=n.getBBox().width)a-y&&0===e&&(t=Math.round(v+i-a+y),S[1]=Math.max(t,S[1])),A-s/2<0?S[0]=Math.max(Math.round(s/2-A),S[0]):A+s/2>c&&(S[2]=Math.max(Math.round(A+s/2-c),S[2])),d.sideOverflow=t}}}))})))})),(0===d(S)||this.verifyDataLabelOverflow(S))&&(this.placeDataLabels(),this.points.forEach((t=>{(t.dataLabels||[]).forEach((i=>{let{connectorColor:s,connectorWidth:r=1}=i.options||{},a=i.dataLabelPosition;if(r){var l;let h;e=i.connector,a&&a.distance>0?(h=!e,e||(i.connector=e=n.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(o.dataLabelsGroup)),n.styledMode||e.attr({"stroke-width":r,stroke:s||t.color||"#666666"}),e[h?"attr":"animate"]({d:t.getConnectorPath(i)}),e.attr({visibility:null===(l=a.attribs)||void 0===l?void 0:l.visibility})):e&&(i.connector=e.destroy())}}))}))))}function r(){this.points.forEach((t=>{(t.dataLabels||[]).forEach((t=>{var e;let i=t.dataLabelPosition;i?(i.sideOverflow&&(t.css({width:Math.max(t.getBBox().width-i.sideOverflow,0)+"px",textOverflow:((null===(e=t.options)||void 0===e?void 0:e.style)||{}).textOverflow||"ellipsis"}),t.shortened=!0),t.attr(i.attribs),t[t.moved?"animate":"attr"](i.posAttribs),t.moved=!0):t&&t.attr({y:-9999})})),delete t.distributeBox}),this)}function m(t){let e=this.center,i=this.options,s=i.center,o=i.minSize||80,r=o,n=null!==i.size;return!n&&(null!==s[0]?r=Math.max(e[2]-Math.max(t[1],t[3]),o):(r=Math.max(e[2]-t[1]-t[3],o),e[0]+=(t[3]-t[1])/2),null!==s[1]?r=c(r,o,e[2]-Math.max(t[0],t[2])):(r=c(r,o,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),r!(e.x>=t.x+t.width||e.x+e.width<=t.x||e.y>=t.y+t.height||e.y+e.height<=t.y),p=t=>{let e,i,s,o,n,a=t.box?0:t.padding||0,l=0,d=0;if(t&&(!t.alignAttr||t.placed))return e=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},i=t.parentGroup,t.width||(s=t.getBBox(),t.width=s.width,t.height=s.height,l=h.fontMetrics(t.element).h),o=t.width-2*a,(n={left:"0",center:"0.5",right:"1"}[t.alignValue])?d=+n*o:r(t.x)&&Math.round(t.x)!==t.translateX&&(d=t.x-(t.translateX||0)),{x:e.x+(i.translateX||0)+a-(d||0),y:e.y+(i.translateY||0)+a-l,width:t.width-2*a,height:(t.height||0)-2*a}},u=!1;for(let o=0;o(e.labelrank||0)-(t.labelrank||0)));for(let o=0;o{n(t,(t=>{t.label&&e.push(t.label)}))}));for(let s of t.series||[]){var i;if(s.visible&&null!==(i=s.hasDataLabels)&&void 0!==i&&i.call(s)){let i=i=>{for(let s of i)s.visible&&(s.dataLabels||[]).forEach((i=>{var o,r;let n=i.options||{};i.labelrank=a(n.labelrank,s.labelrank,null===(o=s.shapeArgs)||void 0===o?void 0:o.height),(null!==(r=n.allowOverlap)&&void 0!==r?r:Number(n.distance)>0)?(i.oldOpacity=i.opacity,i.newOpacity=1,d(i,t)):e.push(i)}))};i(s.nodes||[]),i(s.points)}}this.hideOverlappingLabels(e)}return{compose:function t(e){l(i,t)&&(e.prototype.hideOverlappingLabels=h,s(e,"render",c))}}})),i(e,"Extensions/BorderRadius.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,i){let{defaultOptions:s}=t,{composed:o,noop:r}=e,{addEvent:n,extend:a,isObject:l,merge:h,pushUnique:d,relativeLength:c}=i,p={radius:0,scope:"stack",where:void 0},u=r,g=r;function f(t,e,i,s){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=u(t,e,i,s,o),{innerR:n=0,r:a=i,start:l=0,end:h=0}=o;if(o.open||!o.borderRadius)return r;let d=h-l,p=Math.sin(d/2),g=Math.max(Math.min(c(o.borderRadius||0,a-n),(a-n)/2,a*p/(1+p)),0),f=Math.min(g,d/Math.PI*2*n),m=r.length-1;for(;m--;)!function(t,e,i){let s,o,r,n=t[e],a=t[e+1];if("Z"===a[0]&&(a=t[0]),"M"!==n[0]&&"L"!==n[0]||"A"!==a[0]?"A"===n[0]&&("M"===a[0]||"L"===a[0])&&(s=a,o=n):(s=n,o=a,r=!0),s&&o&&o.params){let n=o[1],a=o[5],l=o.params,{start:h,end:d,cx:c,cy:p}=l,u=a?n-i:n+i,g=u?Math.asin(i/u):0,f=a?g:-g,m=Math.cos(g)*u;r?(l.start=h+f,s[1]=c+m*Math.cos(h),s[2]=p+m*Math.sin(h),t.splice(e+1,0,["A",i,i,0,0,1,c+n*Math.cos(l.start),p+n*Math.sin(l.start)])):(l.end=d-f,o[6]=c+n*Math.cos(l.end),o[7]=p+n*Math.sin(l.end),t.splice(e+1,0,["A",i,i,0,0,1,c+m*Math.cos(d),p+m*Math.sin(d)])),o[4]=Math.abs(l.end-l.start)1?f:g);return r}function m(){if(this.options.borderRadius&&(!this.chart.is3d||!this.chart.is3d())){var t;let{options:e,yAxis:i}=this,o="percent"===e.stacking,r=null===(t=s.plotOptions)||void 0===t||null===(t=t[this.type])||void 0===t?void 0:t.borderRadius,n=x(e.borderRadius,l(r)?r:{}),h=i.options.reversed;for(let t of this.points){let{shapeArgs:s}=t;if("roundedRect"===t.shapeType&&s){let{width:r=0,height:l=0,y:d=0}=s,p=d,u=l;if("stack"===n.scope&&t.stackTotal){let s=i.translate(o?100:t.stackTotal,!1,!0,!1,!0),r=i.translate(e.threshold||0,!1,!0,!1,!0),n=this.crispCol(0,Math.min(s,r),0,Math.abs(s-r));p=n.y,u=n.height}let g=(t.negative?-1:1)*(h?-1:1)==-1,f=n.where;!f&&this.is("waterfall")&&Math.abs((t.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(f="all"),f||(f="end");let m=Math.min(c(n.radius,r),r/2,"all"===f?l/2:1/0)||0;"end"===f&&(g&&(p-=m),u+=m),a(s,{brBoxHeight:u,brBoxY:p,r:m})}}}}function x(t,e){return l(t)||(t={radius:t||0}),h(p,e,t)}function b(){let t=x(this.options.borderRadius);for(let e of this.points){let i=e.shapeArgs;i&&(i.borderRadius=c(t.radius,(i.r||0)-(i.innerR||0)))}}function y(t,e,i,s){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=g(t,e,i,s,o),{r:n=0,brBoxHeight:a=s,brBoxY:l=e}=o,h=e-l,d=l+a-(e+s),c=h-n>-.1?0:n,p=d-n>-.1?0:n,u=Math.max(c&&h,0),f=Math.max(p&&d,0),m=[t+c,e],x=[t+i-c,e],b=[t+i,e+c],y=[t+i,e+s-p],v=[t+i-p,e+s],S=[t+p,e+s],k=[t,e+s-p],A=[t,e+c],M=(t,e)=>Math.sqrt(Math.pow(t,2)-Math.pow(e,2));if(u){let t=M(c,c-u);m[0]-=t,x[0]+=t,b[1]=A[1]=e+c-u}if(s=l(i.minWidth,0)&&this.chartHeight>=l(i.minHeight,0)}).call(this)&&e.push(t._id)}function i(t,e){let i,s=this.options.responsive,r=this.currentResponsive,l=[];!e&&s&&s.rules&&s.rules.forEach((t=>{void 0===t._id&&(t._id=d()),this.matchResponsiveRule(t,l)}),this);let h=a(...l.map((t=>n((s||{}).rules||[],(e=>e._id===t)))).map((t=>t&&t.chartOptions)));h.isResponsiveOptions=!0,l=l.toString()||void 0;let c=r&&r.ruleIds;l!==c&&(r&&this.update(r.undoOptions,t,!0),l?((i=o(h,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:l,mergedOptions:h,undoOptions:i},this.update(h,t,!0)):this.currentResponsive=void 0)}t.compose=function t(o){return h(s,t)&&r(o.prototype,{matchResponsiveRule:e,setResponsive:i}),o}}(i||(i={})),i})),i(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/Defaults.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Templating.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Renderer/HTML/HTMLRenderer.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/Legend/Legend.js"],e["Core/Chart/Chart.js"],e["Extensions/ScrollablePlotArea.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnSeries.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieSeries.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Extensions/OverlappingDataLabels.js"],e["Extensions/BorderRadius.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],e["Core/Time.js"]],(function(t,e,i,s,o,r,n,a,l,h,d,c,p,u,g,f,m,x,b,y,v,S,k,A,M,C,T,w,P,L,E,O,D,j,B,I,R){return t.animate=o.animate,t.animObject=o.animObject,t.getDeferredAnimation=o.getDeferredAnimation,t.setAnimation=o.setAnimation,t.stop=o.stop,t.timers=s.timers,t.AST=r,t.Axis=p,t.Chart=S,t.chart=S.chart,t.Fx=s,t.Legend=v,t.PlotLineOrBand=f,t.Point=b,t.Pointer=y,t.Series=C,t.StackItem=M,t.SVGElement=l,t.SVGRenderer=h,t.Templating=n,t.Tick=m,t.Time=R,t.Tooltip=x,t.Color=I,t.color=I.parse,c.compose(h),d.compose(l),y.compose(S),v.compose(S),t.defaultOptions=i.defaultOptions,t.getOptions=i.getOptions,t.time=i.defaultTime,t.setOptions=i.setOptions,t.dateFormat=n.dateFormat,t.format=n.format,t.numberFormat=n.numberFormat,e.extend(t,e),t.distribute=a.distribute,t.seriesType=T.seriesType,P.compose(w),j.compose(C,L,l,h),O.compose(C),u.compose(p),g.compose(p),D.compose(S),E.compose(L),f.compose(p),B.compose(S),k.compose(p,S,C),A.compose(p,S,C),x.compose(y),t})),e["masters/highcharts.src.js"]._modules=e,e["masters/highcharts.src.js"]},t.exports?(r.default=r,t.exports=o&&o.document?r(o):r):void 0===(s=function(){return r(o)}.call(e,i,e,t))||(t.exports=s)},9027:(t,e,i)=>{var s,o,r;r=function(t){"use strict";var e=t?t._modules:{};function i(t,e,i,s){t.hasOwnProperty(e)||(t[e]=s.apply(null,i),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}i(e,"Extensions/Boost/Boostables.js",[],(function(){return["area","areaspline","arearange","column","columnrange","bar","line","scatter","heatmap","bubble","treemap"]})),i(e,"Extensions/Boost/BoostableMap.js",[e["Extensions/Boost/Boostables.js"]],(function(t){let e={};return t.forEach((t=>{e[t]=!0})),e})),i(e,"Extensions/Boost/BoostChart.js",[e["Extensions/Boost/BoostableMap.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,i){let{composed:s}=e,{addEvent:o,pick:r,pushUnique:n}=i;function a(e){let i=e.series,s=e.boost=e.boost||{},o=e.options.boost||{},n=r(o.seriesThreshold,50);if(i.length>=n)return!0;if(1===i.length)return!1;let a=o.allowForce;if(void 0===a)for(let t of(a=!0,e.xAxis))if(r(t.min,-1/0)>r(t.dataMin,-1/0)||r(t.max,1/0)0)return t=e.length,!0})),t}(r.processedXData,l.data,r.points)>=(l.boostThreshold||Number.MAX_VALUE)&&++d);return s.forceChartBoost=a&&(h===i.length&&d===h||d>5),s.forceChartBoost}function l(t){function e(){t.boost&&t.boost.wgl&&a(t)&&t.boost.wgl.render(t)}o(t,"predraw",(function(){t.boost=t.boost||{},t.boost.forceChartBoost=void 0,t.boosted=!1,t.boost.clear&&t.boost.clear(),t.boost.canvas&&t.boost.wgl&&a(t)&&t.boost.wgl.allocateBuffer(t),t.boost.markerGroup&&t.xAxis&&t.xAxis.length>0&&t.yAxis&&t.yAxis.length>0&&t.boost.markerGroup.translate(t.xAxis[0].pos,t.yAxis[0].pos)})),o(t,"load",e,{order:-1}),o(t,"redraw",e);let i=-1,s=-1;o(t.pointer,"afterGetHoverData",(()=>{let e=t.hoverSeries;if(t.boost=t.boost||{},t.boost.markerGroup&&e){let o=t.inverted?e.yAxis:e.xAxis,r=t.inverted?e.xAxis:e.yAxis;(o&&o.pos!==i||r&&r.pos!==s)&&(t.boost.markerGroup.translate(o.pos,r.pos),i=o.pos,s=r.pos)}}))}return{compose:function t(e,i){return i&&n(s,t)&&e.prototype.callbacks.push(l),e},getBoostClipRect:function(t,e){let i={x:t.plotLeft,y:t.plotTop,width:t.plotWidth,height:t.navigator?t.navigator.top+t.navigator.height-t.plotTop:t.plotHeight};if(e.getClipBox){let{xAxis:s,yAxis:o}=e;if(i=e.getClipBox(),t.inverted){let t=i.width;i.width=i.height,i.height=t,i.x=o.pos,i.y=s.pos}else i.x=s.pos,i.y=o.pos}if(e===t){let e=t.inverted?t.xAxis:t.yAxis;e.length<=1&&(i.y=Math.min(e[0].pos,i.y),i.height=e[0].pos-t.plotTop+e[0].len)}return i},isChartSeriesBoosting:a}})),i(e,"Extensions/Boost/WGLDrawMode.js",[],(function(){return{area:"LINES",arearange:"LINES",areaspline:"LINES",column:"LINES",columnrange:"LINES",bar:"LINES",line:"LINE_STRIP",scatter:"POINTS",heatmap:"TRIANGLES",treemap:"TRIANGLES",bubble:"POINTS"}})),i(e,"Extensions/Boost/WGLShader.js",[e["Core/Utilities.js"]],(function(t){let{clamp:e,error:i,pick:s}=t;return class{constructor(t){this.errors=[],this.uLocations={},this.gl=t,!t||this.createShader()}bind(){this.gl&&this.shaderProgram&&this.gl.useProgram(this.shaderProgram)}createShader(){let t=this.stringToProgram("#version 100\n#define LN10 2.302585092994046\nprecision highp float;\nattribute vec4 aVertexPosition;\nattribute vec4 aColor;\nvarying highp vec2 position;\nvarying highp vec4 vColor;\nuniform mat4 uPMatrix;\nuniform float pSize;\nuniform float translatedThreshold;\nuniform bool hasThreshold;\nuniform bool skipTranslation;\nuniform float xAxisTrans;\nuniform float xAxisMin;\nuniform float xAxisMinPad;\nuniform float xAxisPointRange;\nuniform float xAxisLen;\nuniform bool xAxisPostTranslate;\nuniform float xAxisOrdinalSlope;\nuniform float xAxisOrdinalOffset;\nuniform float xAxisPos;\nuniform bool xAxisCVSCoord;\nuniform bool xAxisIsLog;\nuniform bool xAxisReversed;\nuniform float yAxisTrans;\nuniform float yAxisMin;\nuniform float yAxisMinPad;\nuniform float yAxisPointRange;\nuniform float yAxisLen;\nuniform bool yAxisPostTranslate;\nuniform float yAxisOrdinalSlope;\nuniform float yAxisOrdinalOffset;\nuniform float yAxisPos;\nuniform bool yAxisCVSCoord;\nuniform bool yAxisIsLog;\nuniform bool yAxisReversed;\nuniform bool isBubble;\nuniform bool bubbleSizeByArea;\nuniform float bubbleZMin;\nuniform float bubbleZMax;\nuniform float bubbleZThreshold;\nuniform float bubbleMinSize;\nuniform float bubbleMaxSize;\nuniform bool bubbleSizeAbs;\nuniform bool isInverted;\nfloat bubbleRadius(){\nfloat value = aVertexPosition.w;\nfloat zMax = bubbleZMax;\nfloat zMin = bubbleZMin;\nfloat radius = 0.0;\nfloat pos = 0.0;\nfloat zRange = zMax - zMin;\nif (bubbleSizeAbs){\nvalue = value - bubbleZThreshold;\nzMax = max(zMax - bubbleZThreshold, zMin - bubbleZThreshold);\nzMin = 0.0;\n}\nif (value < zMin){\nradius = bubbleZMin / 2.0 - 1.0;\n} else {\npos = zRange > 0.0 ? (value - zMin) / zRange : 0.5;\nif (bubbleSizeByArea && pos > 0.0){\npos = sqrt(pos);\n}\nradius = ceil(bubbleMinSize + pos * (bubbleMaxSize - bubbleMinSize)) / 2.0;\n}\nreturn radius * 2.0;\n}\nfloat translate(float val,\nfloat pointPlacement,\nfloat localA,\nfloat localMin,\nfloat minPixelPadding,\nfloat pointRange,\nfloat len,\nbool cvsCoord,\nbool isLog,\nbool reversed\n){\nfloat sign = 1.0;\nfloat cvsOffset = 0.0;\nif (cvsCoord) {\nsign *= -1.0;\ncvsOffset = len;\n}\nif (isLog) {\nval = log(val) / LN10;\n}\nif (reversed) {\nsign *= -1.0;\ncvsOffset -= sign * len;\n}\nreturn sign * (val - localMin) * localA + cvsOffset + \n(sign * minPixelPadding);\n}\nfloat xToPixels(float value) {\nif (skipTranslation){\nreturn value;// + xAxisPos;\n}\nreturn translate(value, 0.0, xAxisTrans, xAxisMin, xAxisMinPad, xAxisPointRange, xAxisLen, xAxisCVSCoord, xAxisIsLog, xAxisReversed);// + xAxisPos;\n}\nfloat yToPixels(float value, float checkTreshold) {\nfloat v;\nif (skipTranslation){\nv = value;// + yAxisPos;\n} else {\nv = translate(value, 0.0, yAxisTrans, yAxisMin, yAxisMinPad, yAxisPointRange, yAxisLen, yAxisCVSCoord, yAxisIsLog, yAxisReversed);// + yAxisPos;\nif (v > yAxisLen) {\nv = yAxisLen;\n}\n}\nif (checkTreshold > 0.0 && hasThreshold) {\nv = min(v, translatedThreshold);\n}\nreturn v;\n}\nvoid main(void) {\nif (isBubble){\ngl_PointSize = bubbleRadius();\n} else {\ngl_PointSize = pSize;\n}\nvColor = aColor;\nif (skipTranslation && isInverted) {\ngl_Position = uPMatrix * vec4(aVertexPosition.y + yAxisPos, aVertexPosition.x + xAxisPos, 0.0, 1.0);\n} else if (isInverted) {\ngl_Position = uPMatrix * vec4(yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, xToPixels(aVertexPosition.x) + xAxisPos, 0.0, 1.0);\n} else {\ngl_Position = uPMatrix * vec4(xToPixels(aVertexPosition.x) + xAxisPos, yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, 0.0, 1.0);\n}\n}","vertex"),e=this.stringToProgram("precision highp float;\nuniform vec4 fillColor;\nvarying highp vec2 position;\nvarying highp vec4 vColor;\nuniform sampler2D uSampler;\nuniform bool isCircle;\nuniform bool hasColor;\nvoid main(void) {\nvec4 col = fillColor;\nvec4 tcol = texture2D(uSampler, gl_PointCoord.st);\nif (hasColor) {\ncol = vColor;\n}\nif (isCircle) {\ncol *= tcol;\nif (tcol.r < 0.0) {\ndiscard;\n} else {\ngl_FragColor = col;\n}\n} else {\ngl_FragColor = col;\n}\n}","fragment"),i=t=>this.gl.getUniformLocation(this.shaderProgram,t);return t&&e?(this.shaderProgram=this.gl.createProgram(),this.gl.attachShader(this.shaderProgram,t),this.gl.attachShader(this.shaderProgram,e),this.gl.linkProgram(this.shaderProgram),this.gl.getProgramParameter(this.shaderProgram,this.gl.LINK_STATUS)?(this.gl.useProgram(this.shaderProgram),this.gl.bindAttribLocation(this.shaderProgram,0,"aVertexPosition"),this.pUniform=i("uPMatrix"),this.psUniform=i("pSize"),this.fcUniform=i("fillColor"),this.isBubbleUniform=i("isBubble"),this.bubbleSizeAbsUniform=i("bubbleSizeAbs"),this.bubbleSizeAreaUniform=i("bubbleSizeByArea"),this.uSamplerUniform=i("uSampler"),this.skipTranslationUniform=i("skipTranslation"),this.isCircleUniform=i("isCircle"),this.isInverted=i("isInverted"),!0):(this.errors.push(this.gl.getProgramInfoLog(this.shaderProgram)),this.handleErrors(),this.shaderProgram=!1,!1)):(this.shaderProgram=!1,this.handleErrors(),!1)}handleErrors(){this.errors.length&&i("[highcharts boost] shader error - "+this.errors.join("\n"))}stringToProgram(t,e){let i=this.gl.createShader("vertex"===e?this.gl.VERTEX_SHADER:this.gl.FRAGMENT_SHADER);return this.gl.shaderSource(i,t),this.gl.compileShader(i),this.gl.getShaderParameter(i,this.gl.COMPILE_STATUS)?i:(this.errors.push("when compiling "+e+" shader:\n"+this.gl.getShaderInfoLog(i)),!1)}destroy(){this.gl&&this.shaderProgram&&(this.gl.deleteProgram(this.shaderProgram),this.shaderProgram=!1)}fillColorUniform(){return this.fcUniform}getProgram(){return this.shaderProgram}pointSizeUniform(){return this.psUniform}perspectiveUniform(){return this.pUniform}reset(){this.gl&&this.shaderProgram&&(this.gl.uniform1i(this.isBubbleUniform,0),this.gl.uniform1i(this.isCircleUniform,0))}setBubbleUniforms(t,i,o){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,n=t.options,a=Number.MAX_VALUE,l=-Number.MAX_VALUE;if(this.gl&&this.shaderProgram&&t.is("bubble")){let h=t.getPxExtremes();a=s(n.zMin,e(i,!1===n.displayNegative?n.zThreshold:-Number.MAX_VALUE,a)),l=s(n.zMax,Math.max(l,o)),this.gl.uniform1i(this.isBubbleUniform,1),this.gl.uniform1i(this.isCircleUniform,1),this.gl.uniform1i(this.bubbleSizeAreaUniform,"width"!==t.options.sizeBy),this.gl.uniform1i(this.bubbleSizeAbsUniform,t.options.sizeByAbsoluteValue),this.setUniform("bubbleMinSize",h.minPxSize*r),this.setUniform("bubbleMaxSize",h.maxPxSize*r),this.setUniform("bubbleZMin",a),this.setUniform("bubbleZMax",l),this.setUniform("bubbleZThreshold",t.options.zThreshold)}}setColor(t){this.gl&&this.shaderProgram&&this.gl.uniform4f(this.fcUniform,t[0]/255,t[1]/255,t[2]/255,t[3])}setDrawAsCircle(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isCircleUniform,t?1:0)}setInverted(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isInverted,t)}setPMatrix(t){this.gl&&this.shaderProgram&&this.gl.uniformMatrix4fv(this.pUniform,!1,t)}setPointSize(t){this.gl&&this.shaderProgram&&this.gl.uniform1f(this.psUniform,t)}setSkipTranslation(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.skipTranslationUniform,!0===t?1:0)}setTexture(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.uSamplerUniform,t)}setUniform(t,e){if(this.gl&&this.shaderProgram){let i=this.uLocations[t]=this.uLocations[t]||this.gl.getUniformLocation(this.shaderProgram,t);this.gl.uniform1f(i,e)}}}})),i(e,"Extensions/Boost/WGLVertexBuffer.js",[],(function(){return class{constructor(t,e,i){this.buffer=!1,this.iterator=0,this.preAllocated=!1,this.vertAttribute=!1,this.components=i||2,this.dataComponents=i,this.gl=t,this.shader=e}allocate(t){this.iterator=-1,this.preAllocated=new Float32Array(4*t)}bind(){if(!this.buffer)return!1;this.gl.vertexAttribPointer(this.vertAttribute,this.components,this.gl.FLOAT,!1,0,0)}build(t,e,i){let s;return this.data=t||[],this.data&&0!==this.data.length||this.preAllocated?(this.components=i||this.components,this.buffer&&this.gl.deleteBuffer(this.buffer),this.preAllocated||(s=new Float32Array(this.data)),this.buffer=this.gl.createBuffer(),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,this.buffer),this.gl.bufferData(this.gl.ARRAY_BUFFER,this.preAllocated||s,this.gl.STATIC_DRAW),this.vertAttribute=this.gl.getAttribLocation(this.shader.getProgram(),e),this.gl.enableVertexAttribArray(this.vertAttribute),s=!1,!0):(this.destroy(),!1)}destroy(){this.buffer&&(this.gl.deleteBuffer(this.buffer),this.buffer=!1,this.vertAttribute=!1),this.iterator=0,this.components=this.dataComponents||2,this.data=[]}push(t,e,i,s){this.preAllocated&&(this.preAllocated[++this.iterator]=t,this.preAllocated[++this.iterator]=e,this.preAllocated[++this.iterator]=i,this.preAllocated[++this.iterator]=s)}render(t,e,i){let s=this.preAllocated?this.preAllocated.length:this.data.length;return!!this.buffer&&!!s&&((!t||t>s||t<0)&&(t=0),(!e||e>s)&&(e=s),!(t>=e)&&(i=i||"POINTS",this.gl.drawArrays(this.gl[i],t/this.components,(e-t)/this.components),!0))}}})),i(e,"Extensions/Boost/WGLRenderer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"],e["Extensions/Boost/WGLDrawMode.js"],e["Extensions/Boost/WGLShader.js"],e["Extensions/Boost/WGLVertexBuffer.js"]],(function(t,e,i,s,o,r){let{parse:n}=t,{doc:a,win:l}=e,{isNumber:h,isObject:d,merge:c,objectEach:p,pick:u}=i,g={column:!0,columnrange:!0,bar:!0,area:!0,areaspline:!0,arearange:!0},f={scatter:!0,bubble:!0},m=["webgl","experimental-webgl","moz-webgl","webkit-3d"];class x{static orthoMatrix(t,e){return[2/t,0,0,0,0,-2/e,0,0,0,0,-2,0,-1,1,-1,1]}static seriesPointCount(t){let e,i,s;return t.boosted?(e=!!t.options.stacking,i=t.xData||t.options.xData||t.processedXData,s=(e?t.data:i||t.options.data).length,"treemap"===t.type?s*=12:"heatmap"===t.type?s*=6:g[t.type]&&(s*=2),s):0}constructor(t){this.data=[],this.height=0,this.isInited=!1,this.markerData=[],this.series=[],this.textureHandles={},this.width=0,this.postRenderCallback=t,this.settings={pointSize:1,lineWidth:1,fillColor:"#AA00AA",useAlpha:!0,usePreallocated:!1,useGPUTranslations:!1,debug:{timeRendering:!1,timeSeriesProcessing:!1,timeSetup:!1,timeBufferCopy:!1,timeKDTree:!1,showSkipSummary:!1}}}getPixelRatio(){return this.settings.pixelRatio||l.devicePixelRatio||1}setOptions(t){"pixelRatio"in t||(t.pixelRatio=1),c(!0,this.settings,t)}allocateBuffer(t){let e=this.vbuffer,i=0;this.settings.usePreallocated&&(t.series.forEach((t=>{t.boosted&&(i+=x.seriesPointCount(t))})),e&&e.allocate(i))}allocateBufferForSingleSeries(t){let e=this.vbuffer,i=0;this.settings.usePreallocated&&(t.boosted&&(i=x.seriesPointCount(t)),e&&e.allocate(i))}clear(){let t=this.gl;t&&t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT)}pushSeriesData(t,e){let i,s,o,r,a,l,h,c,p=this.data,u=this.settings,f=this.vbuffer,m=t.pointArrayMap&&"low,high"===t.pointArrayMap.join(","),{chart:x,options:b,sorted:y,xAxis:v,yAxis:S}=t,k=!!b.stacking,A=b.data,M=t.xAxis.getExtremes(),C=M.min-(t.xAxis.minPointOffset||0),T=M.max+(t.xAxis.minPointOffset||0),w=t.yAxis.getExtremes(),P=w.min-(t.yAxis.minPointOffset||0),L=w.max+(t.yAxis.minPointOffset||0),E=t.xData||b.xData||t.processedXData,O=t.yData||b.yData||t.processedYData,D=t.zData||b.zData||t.processedZData,j=!E||0===E.length,B=b.connectNulls,I=t.points||!1,R=k?t.data:E||A,z={x:Number.MAX_VALUE,y:0},N={x:-Number.MAX_VALUE,y:0},G=void 0===x.index,U=g[t.type],W=b.zoneAxis||"y",X=b.zones||!1,H=b.threshold,F=this.getPixelRatio(),Y=t.chart.plotWidth,V=!1,_=!1,q=0,Z=!1,K=-1,$=!1,J=!1,Q=!1,tt=!1,et=!1,it=!1,st=!0,ot=!0,rt=!1,nt=!1,at=0;if(b.boostData&&b.boostData.length>0)return;if(b.gapSize&&(nt="value"!==b.gapUnit?b.gapSize*t.closestPointRange:b.gapSize),X&&(c=[],X.forEach(((t,e)=>{if(t.color){let i=n(t.color).rgba;i[0]/=255,i[1]/=255,i[2]/=255,c[e]=i,rt||void 0!==t.value||(rt=i)}})),!rt)){let e=t.pointAttribs&&t.pointAttribs().fill||t.color;rt=n(e).rgba,rt[0]/=255,rt[1]/=255,rt[2]/=255}x.inverted&&(Y=t.chart.plotHeight),t.closestPointRangePx=Number.MAX_VALUE;let lt=t=>{t&&(e.colorData.push(t[0]),e.colorData.push(t[1]),e.colorData.push(t[2]),e.colorData.push(t[3]))},ht=function(t,i,s){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;lt(arguments.length>4?arguments[4]:void 0),1!==F&&(!u.useGPUTranslations||e.skipTranslation)&&(t*=F,i*=F,o*=F),u.usePreallocated&&f?(f.push(t,i,s?1:0,o),at+=4):(p.push(t),p.push(i),p.push(s?F:0),p.push(o))},dt=()=>{e.segments.length&&(e.segments[e.segments.length-1].to=p.length||at)},ct=()=>{e.segments.length&&e.segments[e.segments.length-1].from===(p.length||at)||(dt(),e.segments.push({from:p.length||at}))},pt=(t,e,i,s,o)=>{lt(o),ht(t+i,e),lt(o),ht(t,e),lt(o),ht(t,e+s),lt(o),ht(t,e+s),lt(o),ht(t+i,e+s),lt(o),ht(t+i,e)};if(ct(),I&&I.length>0)return e.skipTranslation=!0,e.drawMode="TRIANGLES",I[0].node&&I[0].node.levelDynamic&&I.sort(((t,e)=>{if(t.node){if(t.node.levelDynamic>e.node.levelDynamic)return 1;if(t.node.levelDynamic{let i,o,r=e.plotY;if(void 0!==r&&!isNaN(r)&&null!==e.y&&e.shapeArgs){let{x:r=0,y:a=0,width:l=0,height:h=0}=e.shapeArgs;i=(o=x.styledMode?e.series.colorAttribs(e):o=e.series.pointAttribs(e))["stroke-width"]||0,et=n(o.fill).rgba,et[0]/=255,et[1]/=255,et[2]/=255,t.is("treemap")&&(i=i||1,s=n(o.stroke).rgba,s[0]/=255,s[1]/=255,s[2]/=255,pt(r,a,l,h,s),i/=2),t.is("heatmap")&&x.inverted&&(r=v.len-r,a=S.len-a,l=-l,h=-h),pt(r+i,a+i,l-2*i,h-2*i,et)}})),void dt();for(;K=3&&(l=a[2],a[2]>e.zMax&&(e.zMax=a[2]),a[2]e.zMax&&(e.zMax=D[K]),D[K]=C&&J<=T&&(Q=!0),$&&$>=C&&$<=T&&(tt=!0),m?(j&&(r=a.slice(1,3)),h=r[0],r=r[1]):k&&(o=a.x,h=(r=a.stackY)-a.y),null!=P&&null!=L&&(st=r>=P&&r<=L),o>T&&N.xC&&(z.x=o,z.y=r),null!==r||!B){if(null===r||!st&&!Q&&!tt){ct();continue}if(y&&(J>=C||o>=C)&&($<=T||o<=T)&&(it=!0),it||Q||tt){if(nt&&o-$>nt&&ct(),X){let t;X.some(((e,i)=>{let s=X[i-1];return"x"===W?void 0!==e.value&&o<=e.value&&(c[i]&&(!s||o>=s.value)&&(t=c[i]),!0):void 0!==e.value&&r<=e.value&&(c[i]&&(!s||r>=s.value)&&(t=c[i]),!0)})),et=t||rt||et}if(u.useGPUTranslations||(e.skipTranslation=!0,o=v.toPixels(o,!0),r=S.toPixels(r,!0),!(o>Y)||"POINTS"!==e.drawMode)){if(e.hasMarkers&&it&&!1!==V&&(t.closestPointRangePx=Math.min(t.closestPointRangePx,Math.abs(o-V))),!u.useGPUTranslations&&!u.usePreallocated&&V&&1>Math.abs(o-V)&&_&&1>Math.abs(r-_)){u.debug.showSkipSummary&&++q;continue}U&&(i=h,(!1===h||void 0===h)&&(i=r<0?r:0),(m||k)&&!S.logarithmic||(i=Math.max(null===H?P:H,P)),u.useGPUTranslations||(i=S.toPixels(i,!0)),ht(o,i,0,0,et)),b.step&&!ot&&ht(o,_,0,2,et),ht(o,r,0,"bubble"===t.type?l||1:2,et),V=o,_=r,Z=!0,ot=!1}}}}else ct()}u.debug.showSkipSummary&&console.log("skipped points:",q);let ut=(t,i)=>{u.useGPUTranslations||(e.skipTranslation=!0,t.x=v.toPixels(t.x,!0),t.y=S.toPixels(t.y,!0)),i?this.data=[t.x,t.y,0,2].concat(this.data):ht(t.x,t.y,0,2)};!Z&&!1!==B&&"line_strip"===t.drawMode&&(z.x-Number.MAX_VALUE&&ut(N)),dt()}pushSeries(t){let e=this.markerData,i=this.series,o=this.settings;i.length>0&&i[i.length-1].hasMarkers&&(i[i.length-1].markerTo=e.length),o.debug.timeSeriesProcessing&&console.time("building "+t.type+" series");let r={segments:[],markerFrom:e.length,colorData:[],series:t,zMin:Number.MAX_VALUE,zMax:-Number.MAX_VALUE,hasMarkers:!!t.options.marker&&!1!==t.options.marker.enabled,showMarkers:!0,drawMode:s[t.type]||"LINE_STRIP"};t.index>=i.length?i.push(r):i[t.index]=r,this.pushSeriesData(t,r),o.debug.timeSeriesProcessing&&console.timeEnd("building "+t.type+" series")}flush(){let t=this.vbuffer;this.data=[],this.markerData=[],this.series=[],t&&t.destroy()}setXAxis(t){let e=this.shader;if(!e)return;let i=this.getPixelRatio();e.setUniform("xAxisTrans",t.transA*i),e.setUniform("xAxisMin",t.min),e.setUniform("xAxisMinPad",t.minPixelPadding*i),e.setUniform("xAxisPointRange",t.pointRange),e.setUniform("xAxisLen",t.len*i),e.setUniform("xAxisPos",t.pos*i),e.setUniform("xAxisCVSCoord",!t.horiz),e.setUniform("xAxisIsLog",!!t.logarithmic),e.setUniform("xAxisReversed",!!t.reversed)}setYAxis(t){let e=this.shader;if(!e)return;let i=this.getPixelRatio();e.setUniform("yAxisTrans",t.transA*i),e.setUniform("yAxisMin",t.min),e.setUniform("yAxisMinPad",t.minPixelPadding*i),e.setUniform("yAxisPointRange",t.pointRange),e.setUniform("yAxisLen",t.len*i),e.setUniform("yAxisPos",t.pos*i),e.setUniform("yAxisCVSCoord",!t.horiz),e.setUniform("yAxisIsLog",!!t.logarithmic),e.setUniform("yAxisReversed",!!t.reversed)}setThreshold(t,e){let i=this.shader;i&&(i.setUniform("hasThreshold",t),i.setUniform("translatedThreshold",e))}renderChart(i){let s=this.gl,o=this.settings,a=this.shader,l=this.vbuffer,d=this.getPixelRatio();if(!i)return!1;this.width=i.chartWidth*d,this.height=i.chartHeight*d;let c=this.height,p=this.width;if(!s||!a||!p||!c)return!1;o.debug.timeRendering&&console.time("gl rendering"),s.canvas.width=p,s.canvas.height=c,a.bind(),s.viewport(0,0,p,c),a.setPMatrix(x.orthoMatrix(p,c)),o.lineWidth>1&&!e.isMS&&s.lineWidth(o.lineWidth),l&&(l.build(this.data,"aVertexPosition",4),l.bind()),a.setInverted(i.inverted),this.series.forEach(((e,c)=>{let p,g,m,x=e.series.options,b=x.marker,y=void 0!==x.lineWidth?x.lineWidth:1,v=x.threshold,S=h(v),k=e.series.yAxis.getThreshold(v),A=u(x.marker?x.marker.enabled:null,!!e.series.xAxis.isRadial||null,e.series.closestPointRangePx>2*((x.marker?x.marker.radius:10)||10)),M=this.textureHandles[b&&b.symbol||e.series.symbol]||this.textureHandles.circle,C=[];if(0!==e.segments.length&&e.segments[0].from!==e.segments[0].to&&(M.isReady&&(s.bindTexture(s.TEXTURE_2D,M.handle),a.setTexture(M.handle)),i.styledMode?m=e.series.markerGroup&&e.series.markerGroup.getStyle("fill"):(m="POINTS"===e.drawMode&&e.series.pointAttribs&&e.series.pointAttribs().fill||e.series.color,x.colorByPoint&&(m=e.series.chart.options.colors[c])),e.series.fillOpacity&&x.fillOpacity&&(m=new t(m).setOpacity(u(x.fillOpacity,1)).get()),C=n(m).rgba,o.useAlpha||(C[3]=1),"LINES"===e.drawMode&&o.useAlpha&&C[3]<1&&(C[3]/=10),"add"===x.boostBlending?(s.blendFunc(s.SRC_ALPHA,s.ONE),s.blendEquation(s.FUNC_ADD)):"mult"===x.boostBlending||"multiply"===x.boostBlending?s.blendFunc(s.DST_COLOR,s.ZERO):"darken"===x.boostBlending?(s.blendFunc(s.ONE,s.ONE),s.blendEquation(s.FUNC_MIN)):s.blendFuncSeparate(s.SRC_ALPHA,s.ONE_MINUS_SRC_ALPHA,s.ONE,s.ONE_MINUS_SRC_ALPHA),a.reset(),e.colorData.length>0?(a.setUniform("hasColor",1),(g=new r(s,a)).build(Array(e.segments[0].from).concat(e.colorData),"aColor",4),g.bind()):(a.setUniform("hasColor",0),s.disableVertexAttribArray(s.getAttribLocation(a.getProgram(),"aColor"))),a.setColor(C),this.setXAxis(e.series.xAxis),this.setYAxis(e.series.yAxis),this.setThreshold(S,k),"POINTS"===e.drawMode&&a.setPointSize(2*u(x.marker&&x.marker.radius,.5)*d),a.setSkipTranslation(e.skipTranslation),"bubble"===e.series.type&&a.setBubbleUniforms(e.series,e.zMin,e.zMax,d),a.setDrawAsCircle(f[e.series.type]||!1),l)){if(y>0||"LINE_STRIP"!==e.drawMode)for(p=0;p{this.render(t)}),1)}setSize(t,e){let i=this.shader;i&&(this.width!==t||this.height!==e)&&(this.width=t,this.height=e,i.bind(),i.setPMatrix(x.orthoMatrix(t,e)))}init(t,e){let i=this.settings;if(this.isInited=!1,!t)return!1;i.debug.timeSetup&&console.time("gl setup");for(let o=0;o{let i={isReady:!1,texture:a.createElement("canvas"),handle:s.createTexture()},o=i.texture.getContext("2d");this.textureHandles[t]=i,i.texture.width=512,i.texture.height=512,o.mozImageSmoothingEnabled=!1,o.webkitImageSmoothingEnabled=!1,o.msImageSmoothingEnabled=!1,o.imageSmoothingEnabled=!1,o.strokeStyle="rgba(255, 255, 255, 0)",o.fillStyle="#FFF",e(o);try{s.activeTexture(s.TEXTURE0),s.bindTexture(s.TEXTURE_2D,i.handle),s.texImage2D(s.TEXTURE_2D,0,s.RGBA,s.RGBA,s.UNSIGNED_BYTE,i.texture),s.texParameteri(s.TEXTURE_2D,s.TEXTURE_WRAP_S,s.CLAMP_TO_EDGE),s.texParameteri(s.TEXTURE_2D,s.TEXTURE_WRAP_T,s.CLAMP_TO_EDGE),s.texParameteri(s.TEXTURE_2D,s.TEXTURE_MAG_FILTER,s.LINEAR),s.texParameteri(s.TEXTURE_2D,s.TEXTURE_MIN_FILTER,s.LINEAR),s.bindTexture(s.TEXTURE_2D,null),i.isReady=!0}catch(t){}};return l("circle",(t=>{t.beginPath(),t.arc(256,256,256,0,2*Math.PI),t.stroke(),t.fill()})),l("square",(t=>{t.fillRect(0,0,512,512)})),l("diamond",(t=>{t.beginPath(),t.moveTo(256,0),t.lineTo(512,256),t.lineTo(256,512),t.lineTo(0,256),t.lineTo(256,0),t.fill()})),l("triangle",(t=>{t.beginPath(),t.moveTo(0,512),t.lineTo(256,0),t.lineTo(512,512),t.lineTo(0,512),t.fill()})),l("triangle-down",(t=>{t.beginPath(),t.moveTo(0,0),t.lineTo(256,512),t.lineTo(512,0),t.lineTo(0,0),t.fill()})),this.isInited=!0,i.debug.timeSetup&&console.timeEnd("gl setup"),!0}destroy(){let t=this.gl,e=this.shader,i=this.vbuffer;this.flush(),i&&i.destroy(),e&&e.destroy(),t&&(p(this.textureHandles,(e=>{e.handle&&t.deleteTexture(e.handle)})),t.canvas.width=1,t.canvas.height=1)}}return x})),i(e,"Extensions/Boost/BoostSeries.js",[e["Extensions/Boost/BoostableMap.js"],e["Extensions/Boost/Boostables.js"],e["Extensions/Boost/BoostChart.js"],e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Utilities.js"],e["Extensions/Boost/WGLRenderer.js"]],(function(t,e,i,s,o,r,n){let a,l,{getBoostClipRect:h,isChartSeriesBoosting:d}=i,{getOptions:c}=s,{composed:p,doc:u,noop:g,win:f}=o,{addEvent:m,destroyObjectProperties:x,error:b,extend:y,fireEvent:v,isArray:S,isNumber:k,pick:A,pushUnique:M,wrap:C,defined:T}=r;function w(t,e){let i=e.boost;t&&i&&i.target&&i.canvas&&!d(e.chart)&&t.allocateBufferForSingleSeries(e)}function P(t){return A(t&&t.options&&t.options.boost&&t.options.boost.enabled,!0)}function L(t,e){let i=t.constructor,s=t.seriesGroup||e.group,o=t.chartWidth,r=t.chartHeight,a=t,c="undefined"!=typeof SVGForeignObjectElement;a=d(t)?t:e;let p=a.boost=a.boost||{};return c=!1,l||(l=u.createElement("canvas")),!p.target&&(p.canvas=l,t.renderer.forExport,a.renderTarget=p.target=t.renderer.image("",0,0,o,r).addClass("highcharts-boost-canvas").add(s),p.clear=function(){p.target.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="})},p.copy=function(){p.resize(),p.target.attr({href:p.canvas.toDataURL("image/png")})},p.resize=function(){o=t.chartWidth,r=t.chartHeight,(p.targetFo||p.target).attr({x:0,y:0,width:o,height:r}).css({pointerEvents:"none",mixedBlendMode:"normal",opacity:1}),a instanceof i&&a.boost.markerGroup.translate(t.plotLeft,t.plotTop)},p.clipRect=t.renderer.clipRect(),(p.targetFo||p.target).attr({zIndex:e.options.zIndex}).clip(p.clipRect),a instanceof i&&(a.boost.markerGroup=a.renderer.g().add(s).translate(e.xAxis.pos,e.yAxis.pos))),p.canvas.width=o,p.canvas.height=r,p.clipRect&&p.clipRect.attr(h(t,a)),p.resize(),p.clear(),!p.wgl&&(p.wgl=new n((t=>{t.settings.debug.timeBufferCopy&&console.time("buffer copy"),p.copy(),t.settings.debug.timeBufferCopy&&console.timeEnd("buffer copy")})),p.wgl.init(p.canvas)||b("[highcharts boost] - unable to init WebGL renderer"),p.wgl.setOptions(t.options.boost||{}),a instanceof i&&p.wgl.allocateBuffer(t)),p.wgl.setSize(o,r),p.wgl}function E(t){let e=t.points;if(e){let t,i;for(i=0;i{let i=t[e];i&&(t[e]=i.destroy())})),t.zones.forEach(x)}function O(t,e,i,s,o,r){let n=(o=o||0)+(s=s||3e3),a=!0;for(;a&&o(i.boostThreshold||Number.MAX_VALUE)&&k(r.min)&&k(r.max)&&(!e||k(o.min)&&k(o.max))&&(!n||k(n.min)&&k(n.max))}let j=(t,e)=>!t.forceCrop&&(d(t.chart)||(e?e.length:0)>=(t.options.boostThreshold||Number.MAX_VALUE));function B(){let t=this,e=t.chart;e.boost&&e.boost.markerGroup===t.markerGroup&&(t.markerGroup=null),e.hoverPoints&&(e.hoverPoints=e.hoverPoints.filter((function(e){return e.series===t}))),e.hoverPoint&&e.hoverPoint.series===t&&(e.hoverPoint=null)}function I(){let t=this.boost;t&&t.canvas&&t.target&&(t.wgl&&t.wgl.clear(),t.clear&&t.clear())}function R(t){let e=t.boost;e&&e.canvas&&e.target&&e.wgl&&!d(t.chart)&&e.wgl.render(t.chart)}function z(t,e){let i=t.options,s=t.xAxis,o=t.pointClass;if(e instanceof o)return e;let r=t.xData||i.xData||t.processedXData||!1,n=new o(t,(t.options.data||[])[e.i],r?r[e.i]:void 0);return n.category=A(s.categories?s.categories[n.x]:n.x,n.x),n.dist=e.dist,n.distX=e.distX,n.plotX=e.plotX,n.plotY=e.plotY,n.index=e.i,n.percentage=e.percentage,n.isInside=t.isPointInside(n),n}function N(t){var e,i,s,o,r,n;let{options:a,xAxis:l,yAxis:h}=this;if(!this.isDirty&&!l.isDirty&&!h.isDirty&&!t)return!1;this.yAxis.setTickInterval();let d=a.boostThreshold||0,c=a.cropThreshold,p=a.data||this.data,u=this.xData,g=l.getExtremes(),f=g.max,m=g.min,x=this.yData,b=h.getExtremes(),y=b.max,v=b.min;if(!this.boosted&&l.old&&h.old&&m>=(null!==(e=l.old.min)&&void 0!==e?e:-Number.MAX_VALUE)&&f<=(null!==(i=l.old.max)&&void 0!==i?i:Number.MAX_VALUE)&&v>=(null!==(s=h.old.min)&&void 0!==s?s:-Number.MAX_VALUE)&&y<=(null!==(o=h.old.max)&&void 0!==o?o:Number.MAX_VALUE))return null!==(r=this.processedXData)&&void 0!==r||(this.processedXData=u),null!==(n=this.processedYData)&&void 0!==n||(this.processedYData=x),!0;if(!d||p.length=m&&S<=f&&k>=v&&k<=y?(A.push({x:S,y:k}),M.push(S),C.push(k)):T=!0;return this.cropped=T,this.cropStart=0,this.processedXData=M,this.processedYData=C,j(this,M)||(this.processedData=A),!0}function G(){let t,e,i,s,o,r=this.options||{},n=this.chart,l=this.xAxis,h=this.yAxis,c=r.xData||this.processedXData,p=r.yData||this.processedYData,u=this.processedData||r.data,f=l.getExtremes(),m=f.min-(l.minPointOffset||0),x=f.max+(l.minPointOffset||0),b=h.getExtremes(),y=b.min-(h.minPointOffset||0),S=b.max+(h.minPointOffset||0),k={},A=!!this.sampling,M=r.enableMouseTracking,C=r.threshold,P=this.pointArrayMap&&"low,high"===this.pointArrayMap.join(","),D=!!r.stacking,j=this.cropStart||0,B=this.requireSorting,I=!c,z="x"===r.findNearestPointBy,N=this.xData||this.options.xData||this.processedXData||!1,G=!1,U=h.getThreshold(C);if(G=L(n,this),n.boosted=!0,!this.visible)return;(this.points||this.graph)&&E(this),d(n)?(this.markerGroup&&this.markerGroup!==n.boost.markerGroup&&this.markerGroup.destroy(),this.markerGroup=n.boost.markerGroup,this.boost&&this.boost.target&&(this.renderTarget=this.boost.target=this.boost.target.destroy())):(n.boost&&this.markerGroup===n.boost.markerGroup&&(this.markerGroup=void 0),this.markerGroup=this.plotGroup("markerGroup","markers",!0,1,n.seriesGroup));let W=this.points=[],X=(t,e,i,s)=>{let o=!!N&&N[j+i],r=t=>{n.inverted&&(t=l.len-t,e=h.len-e),W.push({destroy:g,x:o,clientX:t,plotX:t,plotY:e,i:j+i,percentage:s})};t=Math.ceil(t),a=z?t:t+","+e,M&&(k[a]?o===N[N.length-1]&&(W.length--,r(t)):(k[a]=!0,r(t)))};this.buildKDTree=g,G&&(w(G,this),G.pushSeries(this),R(this));let H=G.settings;n.renderer.forExport||(H.debug.timeKDTree&&console.time("kd tree building"),O(D?this.data.slice(j):c||u,(function(r,a){let d,c,u,g,f,b=void 0===n.index,v=!1,k=!0;return!T(r)||(!b&&(I?(d=r[0],c=r[1]):(d=r,c=p[a]),P?(I&&(c=r.slice(1,3)),v=c[0],c=c[1]):D&&(d=r.x,v=(c=r.stackY)-r.y,f=r.percentage),B||(k=(c||0)>=y&&c<=S),null!==c&&d>=m&&d<=x&&k&&(u=l.toPixels(d,!0),A?((void 0===s||u===t)&&(P||(v=c),(void 0===o||c>i)&&(i=c,o=a),(void 0===s||v{v(this,"renderedCanvas"),delete this.buildKDTree,this.options&&this.buildKDTree(),H.debug.timeKDTree&&console.timeEnd("kd tree building")})))}function U(t){let e=!0;if(this.chart.options&&this.chart.options.boost&&(e=void 0===this.chart.options.boost.enabled||this.chart.options.boost.enabled),!e||!this.boosted)return t.call(this);this.chart.boosted=!0;let i=L(this.chart,this);i&&(w(i,this),i.pushSeries(this)),R(this)}function W(t){return this.boosted&&D(this)?{}:t.apply(this,[].slice.call(arguments,1))}function X(e){let i=this.options.data;if(P(this.chart)&&t[this.type]){let t=this.is("scatter")&&!this.is("bubble");if((!j(this,i)||t||this.options.stacking||!D(this,!0))&&(t&&!this.yAxis.treeGrid?N.call(this,arguments[1]):e.apply(this,[].slice.call(arguments,1)),i=this.processedXData),this.boosted=j(this,i),this.boosted){let t;this.options.data&&this.options.data.length&&!k(t=this.getFirstValidPoint(this.options.data))&&!S(t)&&b(12,!1,this.chart),function(t){t.boost=t.boost||{getPoint:e=>z(t,e)};let e=t.boost.altered=[];if(["allowDG","directTouch","stickyTracking"].forEach((i=>{e.push({prop:i,val:t[i],own:Object.hasOwnProperty.call(t,i)})})),t.allowDG=!1,t.directTouch=!1,t.stickyTracking=!0,t.finishedAnimating=!0,t.labelBySeries&&(t.labelBySeries=t.labelBySeries.destroy()),t.is("scatter")&&t.data.length){for(let e of t.data){var i;null===e||void 0===e||null===(i=e.destroy)||void 0===i||i.call(e)}t.data.length=0,t.points.length=0,delete t.processedData}}(this)}else!function(t){let e=t.boost;e&&((e.altered||[]).forEach((e=>{e.own?t[e.prop]=e.val:delete t[e.prop]})),e.clear&&e.clear())}(this)}else e.apply(this,[].slice.call(arguments,1))}function H(t){let e=t.apply(this,[].slice.call(arguments,1));return this.boost&&e?this.boost.getPoint(e):e}return{compose:function i(s,o,r){if(M(p,i)){let i=c().plotOptions,n=s.prototype;if(m(s,"destroy",B),m(s,"hide",I),r&&(n.renderCanvas=G),C(n,"getExtremes",W),C(n,"processData",X),C(n,"searchPoint",H),["translate","generatePoints","drawTracker","drawPoints","render"].forEach((e=>function(e,i,s){function o(e){let i=this.options.stacking&&("translate"===s||"generatePoints"===s);this.boosted&&!i&&P(this.chart)&&"heatmap"!==this.type&&"treemap"!==this.type&&t[this.type]&&0!==this.options.boostThreshold?"render"===s&&this.renderCanvas&&this.renderCanvas():e.call(this)}if(C(e,s,o),"translate"===s)for(let t of["column","arearange","columnrange","heatmap","treemap"])i[t]&&C(i[t].prototype,s,o)}(n,o,e))),e.forEach((t=>{let e=i[t];e&&(e.boostThreshold=5e3,e.boostData=[],o[t].prototype.fillOpacity=!0)})),r){let{area:t,areaspline:e,bubble:i,column:s,heatmap:r,scatter:n,treemap:a}=o;if(t&&y(t.prototype,{fill:!0,fillOpacity:!0,sampling:!0}),e&&y(e.prototype,{fill:!0,fillOpacity:!0,sampling:!0}),i){let t=i.prototype;delete t.buildKDTree,C(t,"markerAttribs",(function(t){return!this.boosted&&t.apply(this,[].slice.call(arguments,1))}))}s&&y(s.prototype,{fill:!0,sampling:!0}),n&&(n.prototype.fill=!0),[r,a].forEach((t=>{t&&C(t.prototype,"drawPoints",U)}))}}return s},destroyGraphics:E,eachAsync:O,getPoint:z}})),i(e,"Extensions/Boost/NamedColors.js",[],(function(){return{defaultHTMLColorMap:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",feldspar:"#d19275",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslateblue:"#8470ff",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",violetred:"#d02090",wheat:"#f5deb3",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}}})),i(e,"Extensions/Boost/Boost.js",[e["Extensions/Boost/BoostChart.js"],e["Extensions/Boost/BoostSeries.js"],e["Core/Globals.js"],e["Extensions/Boost/NamedColors.js"],e["Core/Utilities.js"]],(function(t,e,i,s,o){let{composed:r,doc:n,win:a}=i,{error:l,pushUnique:h}=o,d=["webgl","experimental-webgl","moz-webgl","webkit-3d"];function c(){let t;if(void 0!==a.WebGLRenderingContext){t=n.createElement("canvas");for(let e=0;e>>0;return"go"+e}(a));if(!v[i]){var s=a!==t?t:function(t){for(var n,e,r=[{}];n=l.exec(t.replace(f,""));)n[4]?r.shift():n[3]?(e=n[3].replace(p," ").trim(),r.unshift(r[0][e]=r[0][e]||{})):r[0][n[1]]=n[2].replace(p," ").trim();return r[0]}(t);v[i]=m(o?(0,c.Z)({},"@keyframes "+i,s):s,e?"":"."+i)}var u=e&&v.g?v.g:null;return e&&(v.g=v[i]),function(t,n,e,r){r?n.data=n.data.replace(r,t):-1===n.data.indexOf(t)&&(n.data=e?t+n.data:n.data+t)}(v[i],n,r,u),i},y=function(t,n,e){return t.reduce((function(t,r,o){var a=n[o];if(a&&a.call){var i=a(e),s=i&&i.props&&i.props.className||/^go/.test(i)&&i;a=s?"."+s:i&&"object"==typeof i?i.props?"":m(i,""):!1===i?"":i}return t+r+(null==a?"":a)}),"")};function b(t){var n=this||{},e=t.call?t(n.p):t;return h(e.unshift?e.raw?y(e,[].slice.call(arguments,1),n.p):e.reduce((function(t,e){return Object.assign(t,e&&e.call?e(n.p):e)}),{}):e,d(n.target),n.g,n.o,n.k)}b.bind({g:1});var Z,x,w,E,k,O,j,C,z,N,P,A,D,I,M,T,F,H,L,S=b.bind({k:1});function _(t,n){var e=this||{};return function(){var r=arguments;function o(a,i){var s=Object.assign({},a),c=s.className||o.className;e.p=Object.assign({theme:x&&x()},s),e.o=/ *go\d+/.test(c),s.className=b.apply(e,r)+(c?" "+c:""),n&&(s.ref=i);var u=t;return t[0]&&(u=s.as||t,delete s.as),w&&u[0]&&w(s),Z(u,s)}return n?n(o):o}}var U=function(t,n){return function(t){return"function"==typeof t}(t)?t(n):t},q=function(){var t=0;return function(){return(++t).toString()}}(),B=function(){var t;return function(){if(void 0===t&&typeof window<"u"){var n=matchMedia("(prefers-reduced-motion: reduce)");t=!n||n.matches}return t}}(),R=new Map,Y=function(t){if(!R.has(t)){var n=setTimeout((function(){R.delete(t),K({type:4,toastId:t})}),1e3);R.set(t,n)}},$=function t(n,e){switch(e.type){case 0:return(0,i.Z)((0,i.Z)({},n),{},{toasts:[e.toast].concat((0,a.Z)(n.toasts)).slice(0,20)});case 1:return e.toast.id&&function(t){var n=R.get(t);n&&clearTimeout(n)}(e.toast.id),(0,i.Z)((0,i.Z)({},n),{},{toasts:n.toasts.map((function(t){return t.id===e.toast.id?(0,i.Z)((0,i.Z)({},t),e.toast):t}))});case 2:var r=e.toast;return n.toasts.find((function(t){return t.id===r.id}))?t(n,{type:1,toast:r}):t(n,{type:0,toast:r});case 3:var o=e.toastId;return o?Y(o):n.toasts.forEach((function(t){Y(t.id)})),(0,i.Z)((0,i.Z)({},n),{},{toasts:n.toasts.map((function(t){return t.id===o||void 0===o?(0,i.Z)((0,i.Z)({},t),{},{visible:!1}):t}))});case 4:return void 0===e.toastId?(0,i.Z)((0,i.Z)({},n),{},{toasts:[]}):(0,i.Z)((0,i.Z)({},n),{},{toasts:n.toasts.filter((function(t){return t.id!==e.toastId}))});case 5:return(0,i.Z)((0,i.Z)({},n),{},{pausedAt:e.time});case 6:var s=e.time-(n.pausedAt||0);return(0,i.Z)((0,i.Z)({},n),{},{pausedAt:void 0,toasts:n.toasts.map((function(t){return(0,i.Z)((0,i.Z)({},t),{},{pauseDuration:t.pauseDuration+s})}))})}},G=[],J={toasts:[],pausedAt:void 0},K=function(t){J=$(J,t),G.forEach((function(t){t(J)}))},Q={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},V=function(t){return function(n,e){var r=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"blank",e=arguments.length>2?arguments[2]:void 0;return(0,i.Z)((0,i.Z)({createdAt:Date.now(),visible:!0,type:n,ariaProps:{role:"status","aria-live":"polite"},message:t,pauseDuration:0},e),{},{id:(null==e?void 0:e.id)||q()})}(n,t,e);return K({type:2,toast:r}),r.id}},W=function(t,n){return V("blank")(t,n)};W.error=V("error"),W.success=V("success"),W.loading=V("loading"),W.custom=V("custom"),W.dismiss=function(t){K({type:3,toastId:t})},W.remove=function(t){return K({type:4,toastId:t})},W.promise=function(t,n,e){var r=W.loading(n.loading,(0,i.Z)((0,i.Z)({},e),null==e?void 0:e.loading));return t.then((function(t){return W.success(U(n.success,t),(0,i.Z)((0,i.Z)({id:r},e),null==e?void 0:e.success)),t})).catch((function(t){W.error(U(n.error,t),(0,i.Z)((0,i.Z)({id:r},e),null==e?void 0:e.error))})),t};var X=function(t,n){K({type:1,toast:{id:t,height:n}})},tt=function(){K({type:5,time:Date.now()})},nt=function(t){var n=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,s.useState)(J),e=(0,o.Z)(n,2),r=e[0],a=e[1];(0,s.useEffect)((function(){return G.push(a),function(){var t=G.indexOf(a);t>-1&&G.splice(t,1)}}),[r]);var c=r.toasts.map((function(n){var e,r;return(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},t),t[n.type]),n),{},{duration:n.duration||(null==(e=t[n.type])?void 0:e.duration)||(null==t?void 0:t.duration)||Q[n.type],style:(0,i.Z)((0,i.Z)((0,i.Z)({},t.style),null==(r=t[n.type])?void 0:r.style),n.style)})}));return(0,i.Z)((0,i.Z)({},r),{},{toasts:c})}(t),e=n.toasts,r=n.pausedAt;(0,s.useEffect)((function(){if(!r){var t=Date.now(),n=e.map((function(n){if(n.duration!==1/0){var e=(n.duration||0)+n.pauseDuration-(t-n.createdAt);if(!(e<0))return setTimeout((function(){return W.dismiss(n.id)}),e);n.visible&&W.dismiss(n.id)}}));return function(){n.forEach((function(t){return t&&clearTimeout(t)}))}}}),[e,r]);var c=(0,s.useCallback)((function(){r&&K({type:6,time:Date.now()})}),[r]),u=(0,s.useCallback)((function(t,n){var r,o=n||{},i=o.reverseOrder,s=void 0!==i&&i,c=o.gutter,u=void 0===c?8:c,d=o.defaultPosition,l=e.filter((function(n){return(n.position||d)===(t.position||d)&&n.height})),f=l.findIndex((function(n){return n.id===t.id})),p=l.filter((function(t,n){return n * {\n pointer-events: auto;\n }\n"]))),Et=function(t){var n=t.reverseOrder,e=t.position,r=void 0===e?"top-center":e,o=t.toastOptions,a=t.gutter,c=t.children,u=t.containerStyle,d=t.containerClassName,l=nt(o),f=l.toasts,p=l.handlers;return s.createElement("div",{style:(0,i.Z)({position:"fixed",zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:"none"},u),className:d,onMouseEnter:p.startPause,onMouseLeave:p.endPause},f.map((function(t){var e=t.position||r,o=function(t,n){var e=t.includes("top"),r=e?{top:0}:{bottom:0},o=t.includes("center")?{justifyContent:"center"}:t.includes("right")?{justifyContent:"flex-end"}:{};return(0,i.Z)((0,i.Z)({left:0,right:0,display:"flex",position:"absolute",transition:B()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:"translateY(".concat(n*(e?1:-1),"px)")},r),o)}(e,p.calculateOffset(t,{reverseOrder:n,gutter:a,defaultPosition:r}));return s.createElement(xt,{id:t.id,key:t.id,onHeightUpdate:p.updateHeight,className:t.visible?wt:"",style:o},"custom"===t.type?U(t.message,t):c?c(t):s.createElement(Zt,{toast:t,position:e}))})))},kt=W}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/596.0088f6dd.chunk.js b/frontend/dist/static/js/596.0088f6dd.chunk.js deleted file mode 100644 index a65e5b4b..00000000 --- a/frontend/dist/static/js/596.0088f6dd.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkobserver=self.webpackChunkobserver||[]).push([[596],{7548:function(t,e,i){var s;"undefined"!=typeof self&&self,t.exports=(s=i(7313),function(t){function e(s){if(i[s])return i[s].exports;var r=i[s]={i:s,l:!1,exports:{}};return t[s].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,s){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:s})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,i){"use strict";function s(){return s=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var i=0,s=new Array(e);iparseInt(e.userAgent.split("Firefox/")[1],10),e.hasTouch=!!e.win.TouchEvent,e.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],e.noop=function(){},e.supportsPassiveEvents=function(){var t=!1;if(!e.isMS){var i=Object.defineProperty({},"passive",{get:function(){t=!0}});e.win.addEventListener&&e.win.removeEventListener&&(e.win.addEventListener("testPassive",e.noop,i),e.win.removeEventListener("testPassive",e.noop,i))}return t}(),e.charts=[],e.dateFormats={},e.seriesTypes={},e.symbolSizes={},e.chartCount=0}(e||(e={})),e})),e(i,"Core/Utilities.js",[i["Core/Globals.js"]],(function(t){function e(i,s,r,n){var o=s?"Highcharts error":"Highcharts warning";32===i&&(i="".concat(o,": Deprecated member"));var a=h(i),l=a?"".concat(o," #").concat(i,": www.highcharts.com/errors/").concat(i,"/"):i.toString();if("undefined"!==typeof n){var c="";a&&(l+="?"),y(n,(function(t,e){c+="\n - ".concat(e,": ").concat(t),a&&(l+=encodeURI(e)+"="+encodeURI(t))})),l+=c}b(t,"displayError",{chart:r,code:i,message:l,params:n},(function(){if(s)throw Error(l);S.console&&-1===e.messages.indexOf(l)&&console.warn(l)})),e.messages.push(l)}function i(t,e){return parseInt(t,e||10)}function s(t){return"string"===typeof t}function r(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function n(t,e){return!!t&&"object"===typeof t&&(!e||!r(t))}function o(t){return n(t)&&"number"===typeof t.nodeType}function a(t){var e=t&&t.constructor;return!(!n(t,!0)||o(t)||!e||!e.name||"Object"===e.name)}function h(t){return"number"===typeof t&&!isNaN(t)&&1/0>t&&-1/03&&void 0!==arguments[3]?arguments[3]:{},n="function"===typeof e&&e.prototype||e;Object.hasOwnProperty.call(n,"hcEvents")||(n.hcEvents={}),n=n.hcEvents,t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);var o=e.addEventListener;return o&&o.call(e,i,s,!!t.supportsPassiveEvents&&{passive:void 0===r.passive?-1!==i.indexOf("touch"):r.passive,capture:!1}),n[i]||(n[i]=[]),n[i].push({fn:s,order:"number"===typeof r.order?r.order:1/0}),n[i].sort((function(t,e){return t.order-e.order})),function(){x(e,i,s)}},arrayMax:function(t){for(var e=t.length,i=t[0];e--;)t[e]>i&&(i=t[e]);return i},arrayMin:function(t){for(var e=t.length,i=t[0];e--;)t[e]e?t(s=t[r]-t[r-1])&&!n?(null===e||void 0===e||e(),e=void 0):s&&("undefined"===typeof i||s=s-1&&(s=Math.floor(r)),Math.max(0,s-(t(e,"padding-left",!0)||0)-(t(e,"padding-right",!0)||0))):"height"===s?Math.max(0,Math.min(e.offsetHeight,e.scrollHeight)-(t(e,"padding-top",!0)||0)-(t(e,"padding-bottom",!0)||0)):((e=S.getComputedStyle(e,void 0))&&(n=e.getPropertyValue(s),p(r,"opacity"!==s)&&(n=i(n))),n)},inArray:function(t,i,s){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),i.indexOf(t,s)},insertItem:function(t,e){var i,s=t.options.index,r=e.length;for(i=t.options.isInternal?r:0;i=i&&(e=[1/i]))),s=0;s=t||!r&&o<=(e[s]+(e[s+1]||e[s]))/2));s++);return v(n*i,-Math.round(Math.log(.001)/Math.LN10))},objectEach:y,offset:function(t){var e=A.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(S.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(S.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:t.width,height:t.height}},pad:function(t,e,i){return Array((e||2)+1-String(t).replace("-","").length).join(i||"0")+t},pick:p,pInt:i,pushUnique:function(t,e){return 0>t.indexOf(e)&&!!t.push(e)},relativeLength:function(t,e,i){return/%$/.test(t)?e*parseFloat(t)/100+(i||0):parseFloat(t)},removeEvent:x,splat:d,stableSort:function(t,e){var i,s,r=t.length;for(s=0;s>16,(65280&n)>>8,255&n,1]:4===r&&(i=[(3840&n)>>4|(3840&n)>>8,(240&n)>>4|240&n,(15&n)<<4|15&n,1])}if(!i)for(n=e.parsers.length;n--&&!i;)(r=(s=e.parsers[n]).regex.exec(t))&&(i=s.parse(r))}i&&(this.rgba=i)}},{key:"get",value:function(t){var e=this.input,r=this.rgba;if("object"===typeof e&&"undefined"!==typeof this.stops){var n=s(e);return n.stops=[].slice.call(n.stops),this.stops.forEach((function(e,i){n.stops[i]=[n.stops[i][0],e.get(t)]})),n}return r&&i(r[0])?"rgb"===t||!t&&1===r[3]?"rgb("+r[0]+","+r[1]+","+r[2]+")":"a"===t?"".concat(r[3]):"rgba("+r.join(",")+")":e}},{key:"brighten",value:function(t){var e=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(i(t)&&0!==t)for(var s=0;3>s;s++)e[s]+=r(255*t),0>e[s]&&(e[s]=0),2550&&void 0!==arguments[0]?arguments[0]:{},e=c(t.useUTC,!0);this.options=t=a(!0,this.options,t),this.Date=t.Date||i.Date||Date,this.timezoneOffset=(this.useUTC=e)&&t.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)}},{key:"makeTime",value:function(t,e,i,s,r,n){var o,a,h;return this.useUTC?(o=this.Date.UTC.apply(0,arguments),o+=a=this.getTimezoneOffset(o),a!==(h=this.getTimezoneOffset(o))?o+=h-a:a-36e5!==this.getTimezoneOffset(o-36e5)||m||(o-=36e5)):o=new this.Date(t,e,c(i,1),c(s,0),c(r,0),c(n,0)).getTime(),o}},{key:"timezoneOffsetFunction",value:function(){var t=this,e=this.options,s=e.getTimezoneOffset,n=e.moment||i.moment;if(!this.useUTC)return function(t){return 6e4*new Date(t.toString()).getTimezoneOffset()};if(e.timezone){if(n)return function(t){return 6e4*-n.tz(t,e.timezone).utcOffset()};r(25)}return this.useUTC&&s?function(t){return 6e4*s(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}}},{key:"dateFormat",value:function(e,i,r){if(!s(i)||isNaN(i))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=c(e,"%Y-%m-%d %H:%M:%S");var o=this,a=new this.Date(i),d=this.get("Hours",a),u=this.get("Day",a),p=this.get("Date",a),f=this.get("Month",a),g=this.get("FullYear",a),m=t.defaultOptions.lang,v=m&&m.weekdays,y=m&&m.shortWeekdays;return a=n({a:y?y[u]:v[u].substr(0,3),A:v[u],d:l(p),e:l(p,2," "),w:u,b:m.shortMonths[f],B:m.months[f],m:l(f+1),o:f+1,y:g.toString().substr(2,2),Y:g,H:l(d),k:d,I:l(d%12||12),l:d%12||12,M:l(this.get("Minutes",a)),p:12>d?"AM":"PM",P:12>d?"am":"pm",S:l(a.getSeconds()),L:l(Math.floor(i%1e3),3)},t.dateFormats),h(a,(function(t,s){for(;-1!==e.indexOf("%"+s);)e=e.replace("%"+s,"function"===typeof t?t.call(o,i):t)})),r?e.substr(0,1).toUpperCase()+e.substr(1):e}},{key:"resolveDTLFormat",value:function(t){return o(t,!0)?t:{main:(t=d(t))[0],from:t[1],to:t[2]}}},{key:"getTimeTicks",value:function(t,e,i,r){var o,a=this,h=[],l={},d=new a.Date(e),p=t.unitRange,f=t.count||1;if(r=c(r,1),s(e)){if(a.set("Milliseconds",d,p>=u.second?0:f*Math.floor(a.get("Milliseconds",d)/f)),p>=u.second&&a.set("Seconds",d,p>=u.minute?0:f*Math.floor(a.get("Seconds",d)/f)),p>=u.minute&&a.set("Minutes",d,p>=u.hour?0:f*Math.floor(a.get("Minutes",d)/f)),p>=u.hour&&a.set("Hours",d,p>=u.day?0:f*Math.floor(a.get("Hours",d)/f)),p>=u.day&&a.set("Date",d,p>=u.month?1:Math.max(1,f*Math.floor(a.get("Date",d)/f))),p>=u.month){a.set("Month",d,p>=u.year?0:f*Math.floor(a.get("Month",d)/f));var g=a.get("FullYear",d)}p>=u.year&&a.set("FullYear",d,g-g%f),p===u.week&&(g=a.get("Day",d),a.set("Date",d,a.get("Date",d)-g+r+(g4*u.month||a.getTimezoneOffset(e)!==a.getTimezoneOffset(i)),e=d.getTime(),d=1;eh.length&&h.forEach((function(t){0===t%18e5&&"000000000"===a.dateFormat("%H%M%S%L",t)&&(l[t]="day")}))}return h.info=n(t,{higherRanks:l,totalRange:p*f}),h}},{key:"getDateFormat",value:function(t,e,i,s){var r,n=this.dateFormat("%m-%d %H:%M:%S.%L",e),o={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond";for(r in u){if(t===u.week&&+this.dateFormat("%w",e)===i&&"00:00:00.000"===n.substr(6)){r="week";break}if(u[r]>t){r=a;break}if(o[r]&&n.substr(o[r])!=="01-01 00:00:00.000".substr(o[r]))break;"week"!==r&&(a=r)}return this.resolveDTLFormat(s[r]).main}}]),e}();return v})),e(i,"Core/Defaults.js",[i["Core/Chart/ChartDefaults.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Color/Palettes.js"],i["Core/Time.js"],i["Core/Utilities.js"]],(function(t,e,i,s,r,n){var o=i.isTouchDevice,a=i.svg,h=n.merge,l={colors:s.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:"",align:"center",widthAdjust:-44},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:a,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %e %b, %H:%M:%S.%L",second:"%A, %e %b, %H:%M:%S",minute:"%A, %e %b, %H:%M",hour:"%A, %e %b, %H:%M",day:"%A, %e %b %Y",week:"Week from %A, %e %b %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:o?25:10,headerFormat:'{point.key}
',pointFormat:'\u25cf {series.name}: {point.y}
',backgroundColor:"#ffffff",borderWidth:void 0,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}};l.chart.styledMode=!1;var c=new r(l.time);return t={defaultOptions:l,defaultTime:c,getOptions:function(){return l},setOptions:function(t){return h(!0,l,t),(t.time||t.global)&&(i.time?i.time.update(h(l.global,l.time,t.global,t.time)):i.time=c),l}}})),e(i,"Core/Animation/Fx.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){var s=t.parse,r=e.win,n=i.isNumber,o=i.objectEach,a=function(){function t(e,i,s){p(this,t),this.pos=NaN,this.options=i,this.elem=e,this.prop=s}return f(t,[{key:"dSetter",value:function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var i=this.now||0,s=[];if(1!==i&&e&&t)if(e.length===t.length&&1>i)for(var r=0;r=a+this.startTime?(this.now=this.end,this.pos=1,this.update(),e=h[this.prop]=!0,o(h,(function(t){!0!==t&&(e=!1)})),e&&n&&n.call(r),t=!1):(this.pos=s.easing((i-this.startTime)/a),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0),t}},{key:"initPath",value:function(t,e,i){function s(t,e){for(;t.length0&&void 0!==arguments[0]?arguments[0]:"",l=arguments.length>1?arguments[1]:void 0,c=arguments.length>2?arguments[2]:void 0,u=/\{([a-zA-Z0-9:\.,;\-\/<>%_@"'= #\(\)]+)\}/g,f=/\(([a-zA-Z0-9:\.,;\-\/<>%_@"'= ]+)\)/g,g=[],m=/f$/,v=/\.([0-9])/,y=r.lang,x=c&&c.time||n,b=c&&c.numberFormatter||s,k=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"true"===e||"false"!==e&&((t=Number(e)).toString()===e?t:a(e,l))},A=0;null!==(t=u.exec(h));){var S=f.exec(t[1]);S&&(t=S,o=!0),e&&e.isBlock||(e={ctx:l,expression:t[1],find:t[0],isBlock:"#"===t[1].charAt(0),start:t.index,startInner:t.index+t[0].length,length:t[0].length});var M=t[1].split(" ")[0].replace("#","");if(p[M]&&(e.isBlock&&M===e.fn&&A++,e.fn||(e.fn=M)),M="else"===t[1],e.isBlock&&e.fn&&(t[1]==="/".concat(e.fn)||M))if(A)M||A--;else{var C=e.startInner;C=h.substr(C,t.index-C),void 0===e.body?(e.body=C,e.startInner=t.index+t[0].length):e.elseBody=C,e.find+=C+t[0],M||(g.push(e),e=void 0)}else e.isBlock||g.push(e);if(S&&(null===e||void 0===e||!e.isBlock))break}return g.forEach((function(t){var e,s=t.body,r=t.elseBody,n=t.expression,o=t.fn;if(o){var a=[t],c=n.split(" ");for(e=p[o].length;e--;)a.unshift(k(c[e+1]));e=p[o].apply(l,a),t.isBlock&&"boolean"===typeof e&&(e=i(e?s:r,l))}else a=n.split(":"),e=k(a.shift()||""),a.length&&"number"===typeof e&&(a=a.join(":"),m.test(a)?(c=parseInt((a.match(v)||["","-1"])[1],10),null!==e&&(e=b(e,c,y.decimalPoint,-1a[1]){var c=e+ +a[1];0<=c?(a[0]=(+a[0]).toExponential(c).split("e")[0],e=c):(a[0]=a[0].split(".")[0]||0,t=20>e?(a[0]*Math.pow(10,a[1])).toFixed(e):0,a[1]=0)}}else e=2;c=(Math.abs(a[1]?a[0]:t)+Math.pow(10,-Math.max(e,o)-1)).toFixed(e);var p=3<(o=String(u(c))).length?o.length%3:0;return i=d(i,n.decimalPoint),s=d(s,n.thousandsSep),t=(0>t?"-":"")+(p?o.substr(0,p)+s:""),t=0>+a[1]&&!h?"0":t+o.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+s),e&&(t+=i+c.slice(-e)),a[1]&&0!==+t&&(t+="e"+a[1]),t}var r=t.defaultOptions,n=t.defaultTime,o=e.extend,a=e.getNestedProperty,h=e.isArray,l=e.isNumber,c=e.isObject,d=e.pick,u=e.pInt,p={add:function(t,e){return t+e},divide:function(t,e){return 0!==e?t/e:""},eq:function(t,e){return t==e},each:function(t){var e=arguments[arguments.length-1];return!!h(t)&&t.map((function(s,r){return i(e.body,o(c(s)?s:{"@this":s},{"@index":r,"@first":0===r,"@last":r===t.length-1}))})).join("")},ge:function(t,e){return t>=e},gt:function(t,e){return t>e},if:function(t){return!!t},le:function(t,e){return t<=e},lt:function(t,e){return tl){for(r(e,c),f=a=0;f<=l;)f+=e[a].size,a++;p=e.splice(a-1,e.length)}for(r(e,d),e=e.map((function(t){return{size:t.size,targets:[t.target],align:s(t.align,.5)}}));u;){for(a=e.length;a--;)l=e[a],c=(Math.min.apply(0,l.targets)+Math.max.apply(0,l.targets))/2,l.pos=i(c-l.size*l.align,0,n-l.size);for(a=e.length,u=!1;a--;)0e[a].pos&&(e[a-1].size+=e[a].size,e[a-1].targets=e[a-1].targets.concat(e[a].targets),e[a-1].align=.5,e[a-1].pos+e[a-1].size>n&&(e[a-1].pos=n-e[a-1].size),e.splice(a,1),u=!0)}return h.push.apply(h,p),a=0,e.some((function(e){var i=0;return(e.targets||[]).some((function(){return h[a].pos=e.pos+i,"undefined"!==typeof o&&Math.abs(h[a].pos-h[a].target)>o?(h.slice(0,a+1).forEach((function(t){return delete t.pos})),h.reducedLen=(h.reducedLen||n)-.1*n,h.reducedLen>.1*n&&t(h,n,o),!0):(i+=h[a].size,a++,!1)}))})),r(h,d),h}}(e||(e={})),e})),e(i,"Core/Renderer/SVG/SVGElement.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i,s){var r=t.animate,n=t.animObject,o=t.stop,a=i.deg2rad,h=i.doc,l=i.svg,c=i.SVG_NS,d=i.win,u=s.addEvent,g=s.attr,m=s.createElement,v=s.css,y=s.defined,x=s.erase,b=s.extend,k=s.fireEvent,A=s.isArray,S=s.isFunction,M=s.isObject,C=s.isString,w=s.merge,T=s.objectEach,P=s.pick,L=s.pInt,E=s.syncTimeout,O=s.uniqueKey,D=function(){function t(){p(this,t),this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=c}return f(t,[{key:"_defaultGetter",value:function(t){return t=P(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t}},{key:"_defaultSetter",value:function(t,e,i){i.setAttribute(e,t)}},{key:"add",value:function(t){var e,i=this.renderer,s=this.element;return t&&(this.parentGroup=t),"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&i.buildText(this),this.added=!0,(!t||t.handleZ||this.zIndex)&&(e=this.zIndexSetter()),e||(t?t.element:i.box).appendChild(s),this.onAdd&&this.onAdd(),this}},{key:"addClass",value:function(t,e){var i=e?"":this.attr("class")||"";return t=(t||"").split(/ /g).reduce((function(t,e){return-1===i.indexOf(e)&&t.push(e),t}),i?[i]:[]).join(" "),t!==i&&this.attr("class",t),this}},{key:"afterSetters",value:function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}},{key:"align",value:function(t,e,i){var s,r,n,o={},a=this.renderer,h=a.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!i||C(i))&&(this.alignTo=s=i||"renderer",x(h,this),h.push(this),i=void 0)):(t=this.alignOptions,e=this.alignByTranslate,s=this.alignTo),i=P(i,a[s],"scrollablePlotBox"===s?a.plotBox:void 0,a),s=t.align;var l=t.verticalAlign;return a=(i.x||0)+(t.x||0),h=(i.y||0)+(t.y||0),"right"===s?r=1:"center"===s&&(r=2),r&&(a+=(i.width-(t.width||0))/r),o[e?"translateX":"x"]=Math.round(a),"bottom"===l?n=1:"middle"===l&&(n=2),n&&(h+=(i.height-(t.height||0))/n),o[e?"translateY":"y"]=Math.round(h),this[this.placed?"animate":"attr"](o),this.placed=!0,this.alignAttr=o,this}},{key:"alignSetter",value:function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))}},{key:"animate",value:function(t,e,i){var s=this,o=n(P(e,this.renderer.globalAnimation,!0));return e=o.defer,h.hidden&&(o.duration=0),0!==o.duration?(i&&(o.complete=i),E((function(){s.element&&r(s,t,o)}),e)):(this.attr(t,void 0,i||o.complete),T(t,(function(t,e){o.step&&o.step.call(this,t,{prop:e,pos:1,elem:this})}),this)),this}},{key:"applyTextOutline",value:function(t){var e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));var s=t.split(" ");if(t=s[s.length-1],(s=s[0])&&"none"!==s&&i.svg){this.fakeTS=!0,s=s.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,i){return 2*Number(e)+i})),this.removeTextOutline();var r=h.createElementNS(c,"tspan");g(r,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":s,"stroke-linejoin":"round"}),t=e.querySelector("textPath")||e,[].forEach.call(t.childNodes,(function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(t){return e.removeAttribute(t)})),r.appendChild(e)}));var n=0;[].forEach.call(t.querySelectorAll("text tspan"),(function(t){n+=Number(t.getAttribute("dy"))})),(s=h.createElementNS(c,"tspan")).textContent="\u200b",g(s,{x:Number(e.getAttribute("x")),dy:-n}),r.appendChild(s),t.insertBefore(r,t.firstChild)}}},{key:"attr",value:function(e,i,s,r){var n,a,h,l=this.element,c=t.symbolCustomAttribs,d=this;return"string"===typeof e&&"undefined"!==typeof i&&(n=e,(e={})[n]=i),"string"===typeof e?d=(this[e+"Getter"]||this._defaultGetter).call(this,e,l):(T(e,(function(t,i){h=!1,r||o(this,i),this.symbolName&&-1!==c.indexOf(i)&&(a||(this.symbolAttr(e),a=!0),h=!0),!this.rotation||"x"!==i&&"y"!==i||(this.doTransform=!0),h||(this[i+"Setter"]||this._defaultSetter).call(this,t,i,l)}),this),this.afterSetters()),s&&s.call(this),d}},{key:"clip",value:function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")}},{key:"crisp",value:function(t,e){e=e||t.strokeWidth||0;var i=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+i,t.y=Math.floor(t.y||this.y||0)+i,t.width=Math.floor((t.width||this.width||0)-2*i),t.height=Math.floor((t.height||this.height||0)-2*i),y(t.strokeWidth)&&(t.strokeWidth=e),t}},{key:"complexColor",value:function(t,i,s){var r,n,o,a,h,l,c,d,u,p,f,g=this.renderer,m=[];k(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?n="radialGradient":t.linearGradient&&(n="linearGradient"),n){if(o=t[n],h=g.gradients,l=t.stops,u=s.radialReference,A(o)&&(t[n]=o={x1:o[0],y1:o[1],x2:o[2],y2:o[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===n&&u&&!y(o.gradientUnits)&&(a=o,o=w(o,g.getRadialAttr(u,a),{gradientUnits:"userSpaceOnUse"})),T(o,(function(t,e){"id"!==e&&m.push(e,t)})),T(l,(function(t){m.push(t)})),m=m.join(","),h[m])p=h[m].attr("id");else{o.id=p=O();var v=h[m]=g.createElement(n).attr(o).add(g.defs);v.radAttr=a,v.stops=[],l.forEach((function(t){0===t[1].indexOf("rgba")?(r=e.parse(t[1]),c=r.get("rgb"),d=r.get("a")):(c=t[1],d=1),t=g.createElement("stop").attr({offset:t[0],"stop-color":c,"stop-opacity":d}).add(v),v.stops.push(t)}))}f="url("+g.url+"#"+p+")",s.setAttribute(i,f),s.gradient=m,t.toString=function(){return f}}}))}},{key:"css",value:function(t){var e,i=this.styles,s={},r=this.element,n=!i;if(i&&T(t,(function(t,e){i&&i[e]!==t&&(s[e]=t,n=!0)})),n){i&&(t=b(i,s)),null===t.width||"auto"===t.width?delete this.textWidth:"text"===r.nodeName.toLowerCase()&&t.width&&(e=this.textWidth=L(t.width)),this.styles=t,e&&!l&&this.renderer.forExport&&delete t.width;var o=w(t);r.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","width"].forEach((function(t){return o&&delete o[t]})),o.color&&(o.fill=o.color)),v(r,o)}return this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline)),this}},{key:"dashstyleSetter",value:function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var i=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(t=i.length;t--;)i[t]=""+L(i[t])*P(e,NaN);t=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}}},{key:"destroy",value:function(){var t=this,e=t.element||{},i=t.renderer,s=e.ownerSVGElement,r="SPAN"===e.nodeName&&t.parentGroup||void 0;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,o(t),t.clipPath&&s){var n=t.clipPath;[].forEach.call(s.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t){-1u.width)&&(u={x:0,y:0,width:0,height:0})}else u=this.htmlGetBBox();if(g=u.width,e=u.height,d&&(u.height=e={"11px,17":14,"13px,20":16}["".concat(f||"",",").concat(Math.round(e))]||e),i){d=Number(r.getAttribute("y")||0)-u.y,f={right:1,center:.5}[s||0]||0;var m=i*a,x=(i-90)*a,k=g*Math.cos(m);i=g*Math.sin(m);var A=Math.cos(x);m=Math.sin(x),k=(A=(x=(g=u.x+f*(g-k)+d*A)+k)-e*A)-k,i=(e=(f=(d=u.y+d-f*i+d*m)+i)-e*m)-i,u.x=Math.min(g,x,A,k),u.y=Math.min(d,f,e,i),u.width=Math.max(g,x,A,k)-u.x,u.height=Math.max(d,f,e,i)-u.y}}if(p&&(""===h||00&&void 0!==arguments[0])||arguments[0];return this.attr({visibility:t?"inherit":"visible"})}},{key:"stroke-widthSetter",value:function(t,e,i){this[e]=t,i.setAttribute(e,t)}},{key:"strokeWidth",value:function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var t,e=this.getStyle("stroke-width"),i=0;return e.indexOf("px")===e.length-2?i=L(e):""!==e&&(t=h.createElementNS(c,"rect"),g(t,{width:e,"stroke-width":0}),this.element.parentNode.appendChild(t),i=t.getBBox().width,t.parentNode.removeChild(t)),i}},{key:"symbolAttr",value:function(e){var i=this;t.symbolCustomAttribs.forEach((function(t){i[t]=P(e[t],i[t])})),i.attr({d:i.renderer.symbols[i.symbolName](i.x,i.y,i.width,i.height,i)})}},{key:"textSetter",value:function(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this))}},{key:"titleSetter",value:function(t){var e=this.element,i=e.getElementsByTagName("title")[0]||h.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(i,e.firstChild):e.appendChild(i),i.textContent=String(P(t,"")).replace(/<[^>]*>/g,"").replace(/</g,"<").replace(/>/g,">")}},{key:"toFront",value:function(){var t=this.element;return t.parentNode.appendChild(t),this}},{key:"translate",value:function(t,e){return this.attr({translateX:t,translateY:e})}},{key:"updateTransform",value:function(){var t=this.element,e=this.matrix,i=this.rotation,s=void 0===i?0:i,r=this.scaleX,n=this.scaleY,o=this.translateX,a=void 0===o?0:o,h=this.translateY,l=["translate("+a+","+(void 0===h?0:h)+")"];y(e)&&l.push("matrix("+e.join(",")+")"),s&&l.push("rotate("+s+" "+P(this.rotationOriginX,t.getAttribute("x"),0)+" "+P(this.rotationOriginY,t.getAttribute("y")||0)+")"),(y(r)||y(n))&&l.push("scale("+P(r,1)+" "+P(n,1)+")"),l.length&&!(this.text||this).textPath&&t.setAttribute("transform",l.join(" "))}},{key:"visibilitySetter",value:function(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t}},{key:"xGetter",value:function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)}},{key:"zIndexSetter",value:function(t,e){var i=this.renderer,s=this.parentGroup,r=(s||i).element||i.box,n=this.element;i=r===i.box;var o,a,h=!1,l=this.added;if(y(t)?(n.setAttribute("data-z-index",t),t=+t,this[e]===t&&(l=!1)):y(this[e])&&n.removeAttribute("data-z-index"),this[e]=t,l){for((t=this.zIndex)&&s&&(s.handleZ=!0),a=(e=r.childNodes).length-1;0<=a&&!h;a--)l=(s=e[a]).getAttribute("data-z-index"),o=!y(l),s!==n&&(0>t&&o&&!i&&!a?(r.insertBefore(n,e[a]),h=!0):(L(l)<=t||o&&(!y(t)||0<=t))&&(r.insertBefore(n,e[a+1]),h=!0));h||(r.insertBefore(n,e[i?3:0]),h=!0)}return h}}]),t}();return D.symbolCustomAttribs="anchorX anchorY clockwise end height innerR r start width x y".split(" "),D.prototype.strokeSetter=D.prototype.fillSetter,D.prototype.yGetter=D.prototype.xGetter,D.prototype.matrixSetter=D.prototype.rotationOriginXSetter=D.prototype.rotationOriginYSetter=D.prototype.rotationSetter=D.prototype.scaleXSetter=D.prototype.scaleYSetter=D.prototype.translateXSetter=D.prototype.translateYSetter=D.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},D})),e(i,"Core/Renderer/RendererRegistry.js",[i["Core/Globals.js"]],(function(t){var e;return function(e){var i;e.rendererTypes={},e.getRendererType=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return e.rendererTypes[t]||e.rendererTypes[i]},e.registerRendererType=function(s,r,n){e.rendererTypes[s]=r,i&&!n||(i=s,t.Renderer=r)}}(e||(e={})),e})),e(i,"Core/Renderer/SVG/SVGLabel.js",[i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.defined,s=e.extend,r=e.isNumber,n=e.merge,o=e.pick,a=e.removeEvent,h=function(e){d(l,e);var h=u(l);function l(t,e,i,s,r,n,o,a,c,d){var u,f;return p(this,l),(u=h.call(this)).paddingRightSetter=u.paddingLeftSetter=u.paddingSetter,u.init(t,"g"),u.textStr=e,u.x=i,u.y=s,u.anchorX=n,u.anchorY=o,u.baseline=c,u.className=d,u.addClass("button"===d?"highcharts-no-tooltip":"highcharts-label"),d&&u.addClass("highcharts-"+d),u.text=t.text(void 0,0,0,a).attr({zIndex:1}),"string"===typeof r&&((f=/^url\((.*?)\)$/.test(r))||u.renderer.symbols[r])&&(u.symbolKey=r),u.bBox=l.emptyBBox,u.padding=3,u.baselineOffset=0,u.needsBox=t.styledMode||f,u.deferredAttr={},u.alignFactor=0,u}return f(l,[{key:"alignSetter",value:function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&r(this.xSetting)&&this.attr({x:this.xSetting}))}},{key:"anchorXSetter",value:function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)}},{key:"anchorYSetter",value:function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)}},{key:"boxAttr",value:function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e}},{key:"css",value:function(e){if(e){var i={};e=n(e),l.textProps.forEach((function(t){"undefined"!==typeof e[t]&&(i[t]=e[t],delete e[t])})),this.text.css(i),"fontSize"in i||"fontWeight"in i?this.updateTextPadding():("width"in i||"textOverflow"in i)&&this.updateBoxSize()}return t.prototype.css.call(this,e)}},{key:"destroy",value:function(){a(this.element,"mouseenter"),a(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)}},{key:"fillSetter",value:function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)}},{key:"getBBox",value:function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=o(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}}},{key:"getCrispAdjust",value:function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}},{key:"heightSetter",value:function(t){this.heightSetting=t}},{key:"onAdd",value:function(){this.text.add(this),this.attr({text:o(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&i(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}},{key:"paddingSetter",value:function(t,e){r(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0}},{key:"rSetter",value:function(t,e){this.boxAttr(e,t)}},{key:"strokeSetter",value:function(t,e){this.stroke=t,this.boxAttr(e,t)}},{key:"stroke-widthSetter",value:function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)}},{key:"text-alignSetter",value:function(t){this.textAlign=t}},{key:"textSetter",value:function(t){"undefined"!==typeof t&&this.text.attr({text:t}),this.updateTextPadding()}},{key:"updateBoxSize",value:function(){var t=this.text,e={},n=this.padding,o=this.bBox=r(this.widthSetting)&&r(this.heightSetting)&&!this.textAlign||!i(t.textStr)?l.emptyBBox:t.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||o.height||0)+2*n;var a=this.renderer.fontMetrics(t);this.baselineOffset=n+Math.min((this.text.firstLineMetrics||a).b,o.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-a.h)/2),this.needsBox&&!t.textPath&&(this.box||((t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this)),t=this.getCrispAdjust(),e.x=t,e.y=(this.baseline?-this.baselineOffset:0)+t,e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(s(e,this.deferredAttr)),this.deferredAttr={})}},{key:"updateTextPadding",value:function(){var t=this.text;if(!t.textPath){this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,s=o(this.paddingLeft,this.padding);i(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(s+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),s===t.x&&e===t.y||(t.attr("x",s),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),"undefined"!==typeof e&&t.attr("y",e)),t.x=s,t.y=e}}},{key:"widthSetter",value:function(t){this.widthSetting=r(t)?t:void 0}},{key:"getPaddedWidth",value:function(){var t=this.padding,e=o(this.paddingLeft,t);return t=o(this.paddingRight,t),(this.widthSetting||this.bBox.width||0)+e+t}},{key:"xSetter",value:function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)}},{key:"ySetter",value:function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)}}]),l}(t);return h.emptyBBox={width:0,height:0,x:0,y:0},h.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow whiteSpace width".split(" "),h})),e(i,"Core/Renderer/SVG/Symbols.js",[i["Core/Utilities.js"]],(function(t){function e(t,e,i,s,n){var a=[];if(n){var h=n.start||0,l=o(n.r,i);i=o(n.r,s||i),s=(n.end||0)-.001;var c=n.innerR,d=o(n.open,.001>Math.abs((n.end||0)-h-2*Math.PI)),u=Math.cos(h),p=Math.sin(h),f=Math.cos(s),g=Math.sin(s),m=o(n.longArc,.001>s-h-Math.PI?0:1),v=["A",l,i,0,m,o(n.clockwise,1),t+l*f,e+i*g];v.params={start:h,end:s,cx:t,cy:e},a.push(["M",t+l*u,e+i*p],v),r(c)&&((v=["A",c,c,0,m,r(n.clockwise)?1-n.clockwise:0,t+c*u,e+c*p]).params={start:s,end:h,cx:t,cy:e},a.push(d?["M",t+c*f,e+c*g]:["L",t+c*f,e+c*g],v)),d||a.push(["Z"])}return a}function i(t,e,i,r,n){return n&&n.r?s(t,e,i,r,n):[["M",t,e],["L",t+i,e],["L",t+i,e+r],["L",t,e+r],["Z"]]}function s(t,e,i,s,r){return[["M",t+(r=(null===r||void 0===r?void 0:r.r)||0),e],["L",t+i-r,e],["A",r,r,0,0,1,t+i,e+r],["L",t+i,e+s-r],["A",r,r,0,0,1,t+i-r,e+s],["L",t+r,e+s],["A",r,r,0,0,1,t,e+s-r],["L",t,e+r],["A",r,r,0,0,1,t+r,e],["Z"]]}var r=t.defined,n=t.isNumber,o=t.pick;return{arc:e,callout:function(t,e,i,r,o){var a=Math.min(o&&o.r||0,i,r),h=a+6,l=o&&o.anchorX;o=o&&o.anchorY||0;var c=s(t,e,i,r,{r:a});return n(l)?(t+l>=i?o>e+h&&o=t+l?o>e+h&&or&&l>t+h&&lo&&l>t+h&&l/g.test(n))?""!==n&&(r&&r.appendChild(i),n=new t(n),this.modifyTree(n.nodes),n.addToDOM(i),this.modifyDOM(),this.ellipsis&&-1!==(i.textContent||"").indexOf("\u2026")&&e.attr("title",this.unescapeEntities(e.textStr||"",["<",">"])),r&&r.removeChild(i)):i.appendChild(s.createTextNode(this.unescapeEntities(n))),l(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}}},{key:"modifyDOM",value:function(){var t,e=this,i=this.svgElement,a=o(i.element,"x");for(i.firstLineMetrics=void 0;(t=i.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)i.element.removeChild(t);[].forEach.call(i.element.querySelectorAll("tspan.highcharts-br"),(function(t,s){t.nextSibling&&t.previousSibling&&(0===s&&1===t.previousSibling.nodeType&&(i.firstLineMetrics=i.renderer.fontMetrics(t.previousSibling)),o(t,{dy:e.getLineHeight(t.nextSibling),x:a}))}));var h=this.width||0;if(h){var l=function(t,n){var l=t.textContent||"",c=l.replace(/([^\^])-/g,"$1- ").split(" "),d=!e.noWrap&&(1r){for(;d<=u;)p=Math.ceil((d+u)/2),i&&(o=n(i,p)),a=f(p,o&&o.length-1),d===u?d=u+1:a>r?u=p-1:d=p;0===u?t.textContent="":e&&u===e.length-1||(t.textContent=o||n(e||i,p))}i&&i.splice(0,p),h.actualWidth=a,h.rotation=l}},{key:"unescapeEntities",value:function(t,e){return c(this.renderer.escapes,(function(i,s){e&&-1!==e.indexOf(i)||(t=t.toString().replace(new RegExp(i,"g"),s))})),t}}]),e}();return u})),e(i,"Core/Renderer/SVG/SVGRenderer.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGLabel.js"],i["Core/Renderer/SVG/Symbols.js"],i["Core/Renderer/SVG/TextBuilder.js"],i["Core/Utilities.js"]],(function(t,e,i,s,r,n,o,a,h){var l,d=i.charts,u=i.deg2rad,g=i.doc,m=i.isFirefox,v=i.isMS,y=i.isWebKit,x=i.noop,b=i.SVG_NS,k=i.symbolSizes,A=i.win,S=h.addEvent,M=h.attr,C=h.createElement,w=h.css,T=h.defined,P=h.destroyObjectProperties,L=h.extend,E=h.isArray,O=h.isNumber,D=h.isObject,j=h.isString,R=h.merge,B=h.pick,I=h.pInt,z=h.uniqueKey,N=function(){function i(t,e,s,r,n,o,a){p(this,i),this.width=this.url=this.style=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,s,r,n,o,a)}return f(i,[{key:"init",value:function(t,e,i,s,r,n,o){var a,h=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),l=h.element;o||h.css(this.getStyle(s)),t.appendChild(l),M(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&M(l,"xmlns",this.SVG_NS),this.box=l,this.boxWrapper=h,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(g.createTextNode("Created with Highcharts 11.1.0")),this.defs=this.createElement("defs").add(),this.allowHTML=n,this.forExport=r,this.styledMode=o,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=h.getStyle("font-size"),this.setSize(e,i,!1),m&&t.getBoundingClientRect&&((e=function(){w(t,{left:0,top:0}),a=t.getBoundingClientRect(),w(t,{left:Math.ceil(a.left)-a.left+"px",top:Math.ceil(a.top)-a.top+"px"})})(),this.unSubPixelFix=S(A,"resize",e))}},{key:"definition",value:function(e){return new t([e]).addToDOM(this.defs.element)}},{key:"getReferenceURL",value:function(){if((m||y)&&g.getElementsByTagName("base").length){if(!T(l)){var e=z();e=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#".concat(e,")"),fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(g.body),w(e,{position:"fixed",top:0,left:0,zIndex:9e5});var i=g.elementFromPoint(6,6);l="hitme"===(i&&i.id),g.body.removeChild(e)}if(l)return A.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""}},{key:"getStyle",value:function(t){return this.style=L({fontFamily:"Helvetica, Arial, sans-serif",fontSize:"1rem"},t)}},{key:"setStyle",value:function(t){this.boxWrapper.css(this.getStyle(t))}},{key:"isHidden",value:function(){return!this.boxWrapper.getBBox().width}},{key:"destroy",value:function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),P(this.gradients||{}),this.gradients=null,this.defs=t.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null}},{key:"createElement",value:function(t){var e=new this.Element;return e.init(this,t),e}},{key:"getRadialAttr",value:function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}}},{key:"shadowDefinition",value:function(t){var e=["highcharts-drop-shadow-".concat(this.chartIndex)].concat(c(Object.keys(t).map((function(e){return t[e]})))).join("-").replace(/[^a-z0-9\-]/g,""),i=R({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},t);return this.defs.element.querySelector("#".concat(e))||this.definition({tagName:"filter",attributes:{id:e},children:[{tagName:"feDropShadow",attributes:{dx:i.offsetX,dy:i.offsetY,"flood-color":i.color,"flood-opacity":Math.min(5*i.opacity,1),stdDeviation:i.width/2}}]}),e}},{key:"buildText",value:function(t){new a(t).buildSVG()}},{key:"getContrast",value:function(t){return 1.05/(.05+(t=.2126*(t=e.parse(t).rgba.map((function(t){return.03928>=(t/=255)?t/12.92:Math.pow((t+.055)/1.055,2.4)})))[0]+.7152*t[1]+.0722*t[2]))>(t+.05)/.05?"#FFFFFF":"#000000"}},{key:"button",value:function(e,i,s,r){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,h=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0,c=arguments.length>9?arguments[9]:void 0,d=this.label(e,i,s,l,void 0,void 0,c,void 0,"button"),u=this.styledMode;e=n.states||{};var p=0;delete(n=R(n)).states;var f=R({color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},n.style);delete n.style;var g,m,y,x=t.filterUserAttributes(n);return d.attr(R({padding:8,r:2},x)),u||(x=R({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},x),o=R(x,{fill:"#e6e6e6"},t.filterUserAttributes(o||e.hover||{})),g=o.style,delete o.style,a=R(x,{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},t.filterUserAttributes(a||e.select||{})),m=a.style,delete a.style,h=R(x,{style:{color:"#cccccc"}},t.filterUserAttributes(h||e.disabled||{})),y=h.style,delete h.style),S(d.element,v?"mouseover":"mouseenter",(function(){3!==p&&d.setState(1)})),S(d.element,v?"mouseout":"mouseleave",(function(){3!==p&&d.setState(p)})),d.setState=function(t){1!==t&&(d.state=p=t),d.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),u||(d.attr([x,o,a,h][t||0]),D(t=[f,g,m,y][t||0])&&d.css(t))},u||(d.attr(x).css(L({cursor:"default"},f)),c&&d.text.css({pointerEvents:"none"})),d.on("touchstart",(function(t){return t.stopPropagation()})).on("click",(function(t){3!==p&&r.call(d,t)}))}},{key:"crispLine",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"round",s=t[0],r=t[1];return T(s[1])&&s[1]===r[1]&&(s[1]=r[1]=Math[i](s[1])-e%2/2),T(s[2])&&s[2]===r[2]&&(s[2]=r[2]=Math[i](s[2])+e%2/2),t}},{key:"path",value:function(t){var e=this.styledMode?{}:{fill:"none"};return E(t)?e.d=t:D(t)&&L(e,t),this.createElement("path").attr(e)}},{key:"circle",value:function(t,e,i){return t=D(t)?t:"undefined"===typeof t?{}:{x:t,y:e,r:i},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,i){i.setAttribute("c"+e,t)},e.attr(t)}},{key:"arc",value:function(t,e,i,s,r,n){return D(t)?(e=(s=t).y,i=s.r,t=s.x):s={innerR:s,start:r,end:n},(t=this.symbol("arc",t,e,i,i,s)).r=i,t}},{key:"rect",value:function(t,e,i,s,r,n){t=D(t)?t:"undefined"===typeof t?{}:{x:t,y:e,r:r,width:Math.max(i||0,0),height:Math.max(s||0,0)};var o=this.createElement("rect");return this.styledMode||("undefined"!==typeof n&&(t["stroke-width"]=n,L(t,o.crisp(t))),t.fill="none"),o.rSetter=function(t,e,i){o.r=t,M(i,{rx:t,ry:t})},o.rGetter=function(){return o.r||0},o.attr(t)}},{key:"roundedRect",value:function(t){return this.symbol("roundedRect").attr(t)}},{key:"setSize",value:function(t,e,i){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:B(i,!0)?void 0:0}),this.alignElements()}},{key:"g",value:function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e}},{key:"image",value:function(t,e,i,s,r,n){var o={preserveAspectRatio:"none"};O(e)&&(o.x=e),O(i)&&(o.y=i),O(s)&&(o.width=s),O(r)&&(o.height=r);var a=this.createElement("image").attr(o);return e=function(e){a.attr({href:t}),n.call(a,e)},n?(a.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}),i=new A.Image,S(i,"load",e),i.src=t,i.complete&&e({})):a.attr({href:t}),a}},{key:"symbol",value:function(t,e,i,s,r,n){var o,a,h,l,c=this,u=/^url\((.*?)\)$/,p=u.test(t),f=!p&&(this.symbols[t]?t:"circle"),m=f&&this.symbols[f];if(m)"number"===typeof e&&(a=m.call(this.symbols,Math.round(e||0),Math.round(i||0),s||0,r||0,n)),o=this.path(a),c.styledMode||o.attr("fill","none"),L(o,{symbolName:f||void 0,x:e,y:i,width:s,height:r}),n&&L(o,n);else if(p){h=t.match(u)[1];var v=o=this.image(h);v.imgwidth=B(n&&n.width,k[h]&&k[h].width),v.imgheight=B(n&&n.height,k[h]&&k[h].height),l=function(t){return t.attr({width:t.width,height:t.height})},["width","height"].forEach((function(t){v[t+"Setter"]=function(t,e){this[e]=t;var i=this.alignByTranslate,s=this.element,r=this.width,o=this.height,a=this.imgwidth,h=this.imgheight;if(t=this["img"+e],T(t)){var l=1;n&&"within"===n.backgroundSize&&r&&o?(l=Math.min(r/a,o/h),M(s,{width:Math.round(a*l),height:Math.round(h*l)})):s&&s.setAttribute(e,t),i||this.translate(((r||0)-a*l)/2,((o||0)-h*l)/2)}}})),T(e)&&v.attr({x:e,y:i}),v.isImg=!0,T(v.imgwidth)&&T(v.imgheight)?l(v):(v.attr({width:0,height:0}),C("img",{onload:function(){var t=d[c.chartIndex];0===this.width&&(w(this,{position:"absolute",top:"-999em"}),g.body.appendChild(this)),k[h]={width:this.width,height:this.height},v.imgwidth=this.width,v.imgheight=this.height,v.element&&l(v),this.parentNode&&this.parentNode.removeChild(this),c.imgCount--,c.imgCount||!t||t.hasLoaded||t.onload()},src:h}),this.imgCount++)}return o}},{key:"clipRect",value:function(t,e,i,s){var r=z()+"-",n=this.createElement("clipPath").attr({id:r}).add(this.defs);return(t=this.rect(t,e,i,s,0).add(n)).id=r,t.clipPath=n,t.count=0,t}},{key:"text",value:function(t,e,i,s){var r={};return!s||!this.allowHTML&&this.forExport?(r.x=Math.round(e||0),i&&(r.y=Math.round(i)),T(t)&&(r.text=t),t=this.createElement("text").attr(r),(!s||this.forExport&&!this.allowHTML)&&(t.xSetter=function(t,e,i){for(var s,r=i.getElementsByTagName("tspan"),n=i.getAttribute(e),o=0;o(t=I(r.prototype.getStyle.call(t,"font-size")||0))?t+3:Math.round(1.2*t);return{h:e,b:Math.round(.8*e),f:t}}},{key:"rotCorr",value:function(t,e,i){var s=t;return e&&i&&(s=Math.max(s*Math.cos(e*u),4)),{x:-t/3*Math.sin(e*u),y:s}}},{key:"pathToSegments",value:function(t){for(var e=[],i=[],s={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},r=0;r":">","'":"'",'"':"""},symbols:o,draw:x}),s.registerRendererType("svg",N,!0),N})),e(i,"Core/Renderer/HTML/HTMLElement.js",[i["Core/Globals.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e,i){var s=t.isFirefox,r=t.isMS,n=t.isWebKit,o=t.win,a=i.css,h=i.defined,l=i.extend,c=i.pick,g=i.pInt,m=[],v=function(t){d(v,t);var e=u(v);function v(){return p(this,v),e.apply(this,arguments)}return f(v,[{key:"getSpanCorrection",value:function(t,e,i){this.xCorr=-t*i,this.yCorr=-e}},{key:"htmlCss",value:function(t){var e,i="SPAN"===this.element.tagName&&t&&"width"in t,s=c(i&&t.width,void 0);return i&&(delete t.width,this.textWidth=s,e=!0),t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=l(this.styles,t),a(this.element,t),e&&this.htmlUpdateTransform(),this}},{key:"htmlGetBBox",value:function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}},{key:"htmlUpdateTransform",value:function(){if(this.added){var t=this.renderer,e=this.element,i=this.x||0,s=this.y||0,r=this.textAlign||"left",n={left:0,center:.5,right:1}[r],o=this.styles,l=o&&o.whiteSpace;if(a(e,{marginLeft:this.translateX||0,marginTop:this.translateY||0}),"SPAN"===e.tagName){o=this.rotation;var c=this.textWidth&&g(this.textWidth),d=[o,r,e.innerHTML,this.textWidth,this.textAlign].join(),u=!1;if(c!==this.oldTextWidth){if(this.textPxLength)var p=this.textPxLength;else a(e,{width:"",whiteSpace:l||"nowrap"}),p=e.offsetWidth;(c>this.oldTextWidth||p>c)&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(a(e,{width:p>c||o?c+"px":"auto",display:"block",whiteSpace:l||"normal"}),this.oldTextWidth=c,u=!0)}this.hasBoxWidthChanged=u,d!==this.cTT&&(t=t.fontMetrics(e).b,!h(o)||o===(this.oldRotation||0)&&r===this.oldAlign||this.setSpanRotation(o,n,t),this.getSpanCorrection(!h(o)&&this.textPxLength||e.offsetWidth,t,n,o,r)),a(e,{left:i+(this.xCorr||0)+"px",top:s+(this.yCorr||0)+"px"}),this.cTT=d,this.oldRotation=o,this.oldAlign=r}}else this.alignOnAdd=!0}},{key:"setSpanRotation",value:function(t,e,i){var h={},l=r&&!/Edge/.test(o.navigator.userAgent)?"-ms-transform":n?"-webkit-transform":s?"MozTransform":o.opera?"-o-transform":void 0;l&&(h[l]=h.transform="rotate("+t+"deg)",h[l+(s?"Origin":"-origin")]=h.transformOrigin=100*e+"% "+i+"px",a(this.element,h))}}],[{key:"compose",value:function(t){if(i.pushUnique(m,t)){var e=v.prototype,s=t.prototype;s.getSpanCorrection=e.getSpanCorrection,s.htmlCss=e.htmlCss,s.htmlGetBBox=e.htmlGetBBox,s.htmlUpdateTransform=e.htmlUpdateTransform,s.setSpanRotation=e.setSpanRotation}return t}}]),v}(e);return v})),e(i,"Core/Renderer/HTML/HTMLRenderer.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Utilities.js"]],(function(t,e,i,s){var r=s.attr,n=s.createElement,o=s.extend,a=s.pick,h=[],l=function(i){d(c,i);var l=u(c);function c(){return p(this,c),l.apply(this,arguments)}return f(c,[{key:"html",value:function(i,s,h){var l=this.createElement("span"),c=l.element,d=l.renderer,u=function(t,i){["opacity","visibility"].forEach((function(s){t[s+"Setter"]=function(r,n,o){var a=t.div?t.div.style:i;e.prototype[s+"Setter"].call(this,r,n,o),a&&(a[n]=r)}})),t.addedSetters=!0};return l.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,a(e,"")),this.textStr=e,l.doTransform=!0)},u(l,l.element.style),l.xSetter=l.ySetter=l.alignSetter=l.rotationSetter=function(t,e){"align"===e?l.alignValue=l.textAlign=t:l[e]=t,l.doTransform=!0},l.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},l.attr({text:i,x:Math.round(s),y:Math.round(h)}).css({position:"absolute"}),d.styledMode||l.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),c.style.whiteSpace="nowrap",l.css=l.htmlCss,l.add=function(t){var e,i=d.box.parentNode,s=[];if(this.parentGroup=t){if(!(e=t.div)){for(;t;)s.push(t),t=t.parentGroup;s.reverse().forEach((function(t){function a(e,i){t[i]=e,"translateX"===i?d.left=e+"px":d.top=e+"px",t.doTransform=!0}var h=r(t.element,"class"),c=t.styles||{},d=(e=t.div=t.div||n("div",h?{className:h}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,visibility:t.visibility},e||i)).style;o(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(e),css:function(e){return l.css.call(t,e),["cursor","pointerEvents"].forEach((function(t){e[t]&&(d[t]=e[t])})),t},on:function(){return s[0].div&&l.on.apply({element:s[0].div,onEvents:t.onEvents},arguments),t},translateXSetter:a,translateYSetter:a}),t.addedSetters||u(t),t.css(c)}))}}else e=i;return e.appendChild(c),l.added=!0,l.alignOnAdd&&l.htmlUpdateTransform(),l},l}}],[{key:"compose",value:function(t){return s.pushUnique(h,t)&&(t.prototype.html=c.prototype.html),t}}]),c}(i);return l})),e(i,"Core/Axis/AxisDefaults.js",[],(function(){var t;return function(t){t.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e %b"},week:{main:"%e %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},t.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t.defaultLeftAxisOptions={title:{rotation:270}},t.defaultRightAxisOptions={title:{rotation:90}},t.defaultBottomAxisOptions={labels:{autoRotation:[-45]},margin:15,title:{rotation:0}},t.defaultTopAxisOptions={labels:{autoRotation:[-45]},margin:15,title:{rotation:0}}}(t||(t={})),t})),e(i,"Core/Foundation.js",[i["Core/Utilities.js"]],(function(t){var e,i=t.addEvent,s=t.isFunction,r=t.objectEach,n=t.removeEvent;return function(t){t.registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},r(e.events,(function(e,r){t.eventOptions[r]!==e&&(t.eventOptions[r]&&(n(t,r,t.eventOptions[r]),delete t.eventOptions[r]),s(e)&&(t.eventOptions[r]=e,i(t,r,e,{order:0})))}))}}(e||(e={})),e})),e(i,"Core/Axis/Tick.js",[i["Core/Templating.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){var s=e.deg2rad,r=i.clamp,n=i.correctFloat,o=i.defined,a=i.destroyObjectProperties,h=i.extend,l=i.fireEvent,c=i.isNumber,d=i.merge,u=i.objectEach,g=i.pick,m=function(){function e(t,i,s,r,n){p(this,e),this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=i,this.type=s||"",this.parameters=n||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,l(this,"init"),s||r||this.addLabel()}return f(e,[{key:"addLabel",value:function(){var e=this,i=e.axis,s=i.options,r=i.chart,a=i.categories,d=i.logarithmic,u=i.names,p=e.pos,f=g(e.options&&e.options.labels,s.labels),m=i.tickPositions,v=p===m[0],y=p===m[m.length-1],x=(!f.step||1===f.step)&&1===i.tickInterval;m=m.info;var b,k,A,S=e.label;a=this.parameters.category||(a?g(a[p],u[p],p):p),d&&c(a)&&(a=n(d.lin2log(a))),i.dateTime&&(m?b=(k=r.time.resolveDTLFormat(s.dateTimeLabelFormats[!s.grid&&m.higherRanks[p]||m.unitName])).main:c(a)&&(b=i.dateTime.getXDateFormat(a,s.dateTimeLabelFormats||{}))),e.isFirst=v,e.isLast=y;var M={axis:i,chart:r,dateTimeLabelFormat:b,isFirst:v,isLast:y,pos:p,tick:e,tickPositionInfo:m,value:a};l(this,"labelFormat",M);var C=function(e){return f.formatter?f.formatter.call(e,e):f.format?(e.text=i.defaultLabelFormatter.call(e,e),t.format(f.format,e,r)):i.defaultLabelFormatter.call(e,e)};s=C.call(M,M);var w=k&&k.list;e.shortenLabel=w?function(){for(A=0;Ac&&r-d*uo&&(h=Math.round((n-r)/Math.cos(c*s))):(n=r+(1-d)*u,r-d*uo&&(m=o-t.x+m*d,v=-1),(m=Math.min(p,m))m||e.autoRotation&&(l.styles||{}).width)&&(h=m)),h&&(this.shortenLabel?this.shortenLabel():(f.width=Math.floor(h)+"px",(i.style||{}).textOverflow||(f.textOverflow="ellipsis"),l.css(f)))}},{key:"moveLabel",value:function(t,e){var i=this,s=i.label,r=i.axis,n=!1;s&&s.textStr===t?(i.movedLabel=s,n=!0,delete i.label):u(r.ticks,(function(e){n||e.isNew||e===i||!e.label||e.label.textStr!==t||(i.movedLabel=e.label,n=!0,e.labelPos=i.movedLabel.xy,delete e.label)})),n||!i.labelPos&&!s||(s=i.labelPos||s.xy,i.movedLabel=i.createLabel(s,t,e),i.movedLabel&&i.movedLabel.attr({opacity:0}))}},{key:"render",value:function(t,e,i){var s=this.axis,r=s.horiz,n=this.pos,o=g(this.tickmarkOffset,s.tickmarkOffset);o=(n=this.getPosition(r,n,o,e)).x;var a=n.y;s=r&&o===s.pos+s.len||!r&&a===s.pos?-1:1,r=g(i,this.label&&this.label.newOpacity,1),i=g(i,1),this.isActive=!0,this.renderGridLine(e,i,s),this.renderMark(n,i,s),this.renderLabel(n,e,r,t),this.isNew=!1,l(this,"afterRender")}},{key:"renderGridLine",value:function(t,e,i){var s=this.axis,r=s.options,n={},o=this.pos,a=this.type,h=g(this.tickmarkOffset,s.tickmarkOffset),l=s.chart.renderer,c=this.gridLine,d=r.gridLineWidth,u=r.gridLineColor,p=r.gridLineDashStyle;"minor"===this.type&&(d=r.minorGridLineWidth,u=r.minorGridLineColor,p=r.minorGridLineDashStyle),c||(s.chart.styledMode||(n.stroke=u,n["stroke-width"]=d||0,n.dashstyle=p),a||(n.zIndex=1),t&&(e=0),this.gridLine=c=l.path().attr(n).addClass("highcharts-"+(a?a+"-":"")+"grid-line").add(s.gridGroup)),c&&(i=s.getPlotLinePath({value:o+h,lineWidth:c.strokeWidth()*i,force:"pass",old:t,acrossPanes:!1}))&&c[t||this.isNew?"attr":"animate"]({d:i,opacity:e})}},{key:"renderMark",value:function(t,e,i){var s=this.axis,r=s.options,n=s.chart.renderer,o=this.type,a=s.tickSize(o?o+"Tick":"tick"),h=t.x;t=t.y;var l=g(r["minor"!==o?"tickWidth":"minorTickWidth"],!o&&s.isXAxis?1:0);r=r["minor"!==o?"tickColor":"minorTickColor"];var c=this.mark,d=!c;a&&(s.opposite&&(a[0]=-a[0]),c||(this.mark=c=n.path().addClass("highcharts-"+(o?o+"-":"")+"tick").add(s.axisGroup),s.chart.styledMode||c.attr({stroke:r,"stroke-width":l})),c[d?"attr":"animate"]({d:this.getMarkPath(h,t,a[0],c.strokeWidth()*i,s.horiz,n),opacity:e}))}},{key:"renderLabel",value:function(t,e,i,s){var r=this.axis,n=r.horiz,o=r.options,a=this.label,h=o.labels,l=h.step;r=g(this.tickmarkOffset,r.tickmarkOffset);var d=t.x;t=t.y;var u=!0;a&&c(d)&&(a.xy=t=this.getLabelPosition(d,t,a,n,h,r,s,l),this.isFirst&&!this.isLast&&!o.showFirstLabel||this.isLast&&!this.isFirst&&!o.showLastLabel?u=!1:!n||h.step||h.rotation||e||0===i||this.handleOverflow(t),l&&s%l&&(u=!1),u&&c(t.y)?(t.opacity=i,a[this.isNewLabel?"attr":"animate"](t).show(!0),this.isNewLabel=!1):(a.hide(),this.isNewLabel=!0))}},{key:"replaceMovedLabel",value:function(){var t=this.label,e=this.axis;t&&!this.isNew&&(t.animate({opacity:0},void 0,t.destroy),delete this.label),e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel}}]),e}();return m})),e(i,"Core/Axis/Axis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/AxisDefaults.js"],i["Core/Color/Color.js"],i["Core/Defaults.js"],i["Core/Foundation.js"],i["Core/Globals.js"],i["Core/Axis/Tick.js"],i["Core/Utilities.js"]],(function(t,e,i,s,r,n,o,a){var h=t.animObject,c=s.defaultOptions,d=r.registerEventOptions,u=n.deg2rad,g=a.arrayMax,m=a.arrayMin,v=a.clamp,y=a.correctFloat,x=a.defined,b=a.destroyObjectProperties,k=a.erase,A=a.error,S=a.extend,M=a.fireEvent,C=a.getClosestDistance,w=a.insertItem,T=a.isArray,P=a.isNumber,L=a.isString,E=a.merge,O=a.normalizeTickInterval,D=a.objectEach,j=a.pick,R=a.relativeLength,B=a.removeEvent,I=a.splat,z=a.syncTimeout,N=function(t,e){return O(e,void 0,void 0,j(t.options.allowDecimals,.5>e||void 0!==t.tickAmount),!!t.tickAmount)},G=function(){function t(e,i,s){p(this,t),this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.index=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.bottom=this.alternateBands=void 0,this.init(e,i,s)}return f(t,[{key:"init",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.coll,s="xAxis"===i;this.chart=t,this.horiz=this.isZAxis||(t.inverted?!s:s),this.isXAxis=s,this.coll=i,M(this,"init",{userOptions:e}),this.opposite=j(e.opposite,this.opposite),this.side=j(e.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);var r=(i=this.options).labels,n=i.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=j(i.reversed,this.reversed),this.visible=i.visible,this.zoomEnabled=i.zoomEnabled,this.hasNames="category"===n||!0===i.categories,this.categories=i.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=x(i.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=i.minRange||i.maxZoom,this.range=i.range,this.offset=i.offset||0,this.min=this.max=null,e=j(i.crosshair,I(t.options.tooltip.crosshairs)[s?0:1]),this.crosshair=!0===e?{}:e,-1===t.axes.indexOf(this)&&(s?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),w(this,t[this.coll])),t.orderItems(this.coll),this.series=this.series||[],t.inverted&&!this.isZAxis&&s&&"undefined"===typeof this.reversed&&(this.reversed=!0),this.labelRotation=P(r.rotation)?r.rotation:void 0,d(this,i),M(this,"afterInit")}},{key:"setOptions",value:function(t){this.options=E(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],E(c[this.coll],t)),M(this,"afterSetOptions",{userOptions:t})}},{key:"defaultLabelFormatter",value:function(t){var e=this.axis;t=this.chart.numberFormatter;var i=P(this.value)?this.value:NaN,s=e.chart.time,r=this.dateTimeLabelFormat,n=c.lang,o=n.numericSymbols;n=n.numericSymbolMagnitude||1e3;var a,h=e.logarithmic?Math.abs(i):e.tickInterval,l=o&&o.length;if(e.categories)a="".concat(this.value);else if(r)a=s.dateFormat(r,i);else if(l&&1e3<=h)for(;l--&&"undefined"===typeof a;)h>=(e=Math.pow(n,l+1))&&0===10*i%e&&null!==o[l]&&0!==i&&(a=t(i/e,-1)+o[l]);return"undefined"===typeof a&&(a=1e4<=Math.abs(i)?t(i,-1):t(i,-1,void 0,"")),a}},{key:"getSeriesExtremes",value:function(){var t,e=this,i=e.chart;M(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.series.forEach((function(s){if(s.visible||!i.options.chart.ignoreHiddenSeries){var r,n,o=s.options,a=o.threshold;e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=a&&(a=null),e.isXAxis?(o=s.xData)&&o.length&&(o=e.logarithmic?o.filter((function(t){return 0i)&&(x?t=v(t,e,i):o=!0),t}var i,s,r,n,o,a=this,h=a.chart,l=a.left,c=a.top,d=t.old,u=t.value,p=t.lineWidth,f=d&&h.oldChartHeight||h.chartHeight,g=d&&h.oldChartWidth||h.chartWidth,m=a.transB,y=t.translatedValue,x=t.force;return t={value:u,lineWidth:p,old:d,force:x,acrossPanes:t.acrossPanes,translatedValue:y},M(this,"getPlotLinePath",t,(function(t){y=j(y,a.translate(u,void 0,void 0,d)),y=v(y,-1e5,1e5),i=r=Math.round(y+m),s=n=Math.round(f-y-m),P(y)?a.horiz?(s=c,n=f-a.bottom,i=r=e(i,l,l+a.width)):(i=l,r=g-a.right,s=n=e(s,c,c+a.height)):(o=!0,x=!1),t.path=o&&!x?null:h.renderer.crispLine([["M",i,s],["L",r,n]],p||1)})),t.path}},{key:"getLinearTickPositions",value:function(t,e,i){var s=y(Math.floor(e/t)*t);i=y(Math.ceil(i/t)*t);var r,n,o=[];if(y(s+t)===s&&(n=20),this.single)return[e];for(e=s;e<=i&&(o.push(e),(e=y(e+t,n))!==r);)r=e;return o}},{key:"getMinorTickInterval",value:function(){var t=this.options;return!0===t.minorTicks?j(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval}},{key:"getMinorTickPositions",value:function(){var t=this.options,e=this.tickPositions,i=this.minorTickInterval,s=this.pointRangePadding||0,r=this.min-s,n=(s=this.max+s)-r,o=[];if(n&&n/i=this.minRange,t=[r-(n=((e=this.minRange)-n+r)/2),j(i.min,r-n)],o&&(t[2]=s?s.log2lin(this.dataMin):this.dataMin),n=[(r=g(t))+e,j(i.max,r+e)],o&&(n[2]=s?s.log2lin(this.dataMax):this.dataMax),(n=m(n))-r=g?(m=g,p=0):this.dataMax<=g&&(e=g,u=0)),this.min=j(i,m,this.dataMin),this.max=j(s,e,this.dataMax);if(n&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,j(this.dataMin,this.min))&&A(10,1,r),this.min=y(n.log2lin(this.min),16),this.max=y(n.log2lin(this.max),16)),this.range&&x(this.max)&&(this.userMin=this.min=i=Math.max(this.dataMin,this.minFromRange()),this.userMax=s=this.max,this.range=null),M(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!P(this.userMin)&&P(o.softMin)&&o.softMinthis.max&&(this.max=s=o.softMax),!(c||this.axisPointRange||this.stacking&&this.stacking.usePercentage||h)&&x(this.min)&&x(this.max)&&(r=this.max-this.min)&&(!x(i)&&p&&(this.min-=r*p),!x(s)&&u&&(this.max+=r*u)),!P(this.userMin)&&P(o.floor)&&(this.min=Math.max(this.min,o.floor)),!P(this.userMax)&&P(o.ceiling)&&(this.max=Math.min(this.max,o.ceiling)),d&&x(this.dataMin)&&(g=g||0,!x(i)&&this.min=g?this.min=this.options.minRange?Math.min(g,this.max-this.minRange):g:!x(s)&&this.max>g&&this.dataMax<=g&&(this.max=this.options.minRange?Math.max(g,this.min+this.minRange):g)),P(this.min)&&P(this.max)&&!this.chart.polar&&this.min>this.max&&(x(this.options.min)?this.max=this.min:x(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||"undefined"===typeof this.min||"undefined"===typeof this.max?1:h&&this.linkedParent&&!f&&l===this.linkedParent.options.tickPixelInterval?f=this.linkedParent.tickInterval:j(f,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,c?1:(this.max-this.min)*l/Math.max(this.len,l)),a&&!t){var v=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach((function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(v)})),M(this,"postProcessData",{hasExtremesChanged:v})}this.setAxisTranslation(),M(this,"initialAxisTranslation"),this.pointRange&&!f&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=j(o.minTickInterval,this.dateTime&&!this.series.some((function(t){return t.noSharedTooltip}))?this.closestPointRange:0),!f&&this.tickIntervalMath.max(2*this.len,200)))if(this.dateTime)o=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)o=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(r=e=this.tickInterval;r<=2*e&&(o=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&o.length>this.tickAmount);)this.tickInterval=N(this,r*=1.1);else o=[this.min,this.max],A(19,!1,this.chart);o.length>this.len&&(o=[o[0],o[o.length-1]])[0]===o[1]&&(o.length=1),s&&(this.tickPositions=o,(t=s.apply(this,[this.min,this.max]))&&(o=t))}this.tickPositions=o,this.paddedTicks=o.slice(0),this.trimTicks(o,a,n),!this.isLinked&&P(this.min)&&P(this.max)&&(this.single&&2>o.length&&!this.categories&&!this.series.some((function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),i||t||this.adjustTickAmount()),M(this,"afterSetTickPositions")}},{key:"trimTicks",value:function(t,e,i){var s=t[0],r=t[t.length-1],n=!this.isOrdinal&&this.minPointOffset||0;if(M(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==s)this.min=s;else for(;this.min-n>t[0];)t.shift();if(i)this.max=r;else for(;this.max+ni&&(this.finalTickAmt=i,i=5),this.tickAmount=i}},{key:"adjustTickAmount",value:function(){var t,e=this,i=e.finalTickAmt,s=e.max,r=e.min,n=e.options,o=e.tickPositions,a=e.tickAmount,h=e.thresholdAlignment,l=o&&o.length,c=j(e.threshold,e.softThreshold?0:null),d=e.tickInterval;if(P(h)&&(t=.5>h?Math.ceil(h*(a-1)):Math.floor(h*(a-1)),n.reversed&&(t=a-1-t)),e.hasData()&&P(r)&&P(s)){var u=function(){e.transA*=(l-1)/(a-1),e.min=n.startOnTick?o[0]:Math.min(r,o[0]),e.max=n.endOnTick?o[o.length-1]:Math.max(s,o[o.length-1])};if(P(t)&&P(e.threshold)){for(;o[t]!==c||o.length!==a||o[0]>r||o[o.length-1]e.threshold?o.unshift(y(o[0]-d)):o.push(y(o[o.length-1]+d));if(d>8*e.tickInterval)break;d*=2}u()}else if(l=i&&0a&&(e=a)),x(r)&&(na&&(n=a))),i.displayBtn="undefined"!==typeof e||"undefined"!==typeof n,i.setExtremes(e,n,!1,void 0,{trigger:"zoom"})),t.zoomed=!0})),t.zoomed}},{key:"setAxisSize",value:function(){var t=this.chart,e=this.options,i=e.offsets||[0,0,0,0],s=this.horiz,r=this.width=Math.round(R(j(e.width,t.plotWidth-i[3]+i[1]),t.plotWidth)),n=this.height=Math.round(R(j(e.height,t.plotHeight-i[0]+i[2]),t.plotHeight)),o=this.top=Math.round(R(j(e.top,t.plotTop+i[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(R(j(e.left,t.plotLeft+i[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-n-o,this.right=t.chartWidth-r-e,this.len=Math.max(s?r:n,0),this.pos=s?e:o}},{key:"getExtremes",value:function(){var t=this.logarithmic;return{min:t?y(t.lin2log(this.min)):this.min,max:t?y(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}},{key:"getThreshold",value:function(t){var e=this.logarithmic,i=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=i:1/0===t?t=e:i>t?t=i:ee?t.align="right":195e&&(t.align="left")})),t.align}},{key:"tickSize",value:function(t){var e,i=this.options,s=j(i["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),r=i["tick"===t?"tickLength":"minorTickLength"];return s&&r&&("inside"===i[t+"Position"]&&(r=-r),e=[r,s]),M(this,"afterTickSize",t={tickSize:e}),t.tickSize}},{key:"labelMetrics",value:function(){var t=this.chart.renderer,e=this.ticks;return e=e[Object.keys(e)[0]]||{},this.chart.renderer.fontMetrics(e.label||e.movedLabel||t.box)}},{key:"unsquish",value:function(){var t,e,i=this.options.labels,s=this.horiz,r=this.tickInterval,n=this.len/(((this.categories?1:0)+this.max-this.min)/r),o=i.rotation,a=.75*this.labelMetrics().h,h=Math.max(this.max-this.min,0),c=function(t){var e=t/(n||1);return(e=1h&&1/0!==t&&1/0!==n&&h&&(e=Math.ceil(h/r)),y(e*r)},d=r,p=Number.MAX_VALUE;if(s){if(i.staggerLines||(P(o)?e=[o]:n=v)&&(f=(s=c(Math.abs(a/Math.sin(u*v))))+Math.abs(v/360))s.step)return s.rotation?0:(this.staggerLines||1)*this.len/r;if(!i){if(void 0!==(t=s.style.width))return parseInt(String(t),10);if(n)return n-e.spacing[3]}return.33*e.chartWidth}},{key:"renderUnsquish",value:function(){var t,e,i=this.chart,s=i.renderer,r=this.tickPositions,n=this.ticks,o=this.options.labels,a=o.style,h=this.horiz,l=this.getSlotWidth(),c=Math.max(1,Math.round(l-2*o.padding)),d={},u=this.labelMetrics(),p=a.textOverflow,f=0;if(L(o.rotation)||(d.rotation=o.rotation||0),r.forEach((function(t){(t=n[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>f&&(f=t.label.textPxLength)})),this.maxLabelLength=f,this.autoRotation)f>c&&f>u.h?d.rotation=this.labelRotation:this.labelRotation=0;else if(l&&(t=c,!p))for(e="clip",c=r.length;!h&&c--;){var g=r[c];(g=n[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>l&&g.css({width:l+"px"}),g.getBBox().height>this.len/r.length-(u.h-u.f)&&(g.specificTextOverflow="ellipsis"))}d.rotation&&(t=f>.5*i.chartHeight?.33*i.chartHeight:f,p||(e="ellipsis")),(this.labelAlign=o.align||this.autoLabelAlign(this.labelRotation))&&(d.align=this.labelAlign),r.forEach((function(i){var s=(i=n[i])&&i.label,r=a.width,o={};s&&(s.attr(d),i.shortenLabel?i.shortenLabel():t&&!r&&"nowrap"!==a.whiteSpace&&(t=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(s[t]||(s[t]=new o(this,t)),i&&s[t].isNew&&s[t].render(e,!0,-1),s[t].render(e))}},{key:"render",value:function(){var t,e,i=this,s=i.chart,r=i.logarithmic,a=i.options,l=i.isLinked,c=i.tickPositions,d=i.axisTitle,u=i.ticks,p=i.minorTicks,f=i.alternateBands,g=a.stackLabels,m=a.alternateGridColor,v=a.crossing,y=i.tickmarkOffset,x=i.axisLine,b=i.showAxis,k=h(s.renderer.globalAnimation);if(i.labelEdge.length=0,i.overlap=!1,[u,p,f].forEach((function(t){D(t,(function(t){t.isActive=!1}))})),P(v)){var A=this.isXAxis?s.yAxis[0]:s.xAxis[0],S=[1,-1,-1,1][this.side];A&&(v=A.toPixels(v,!0),i.horiz&&(v=A.len-v),i.offset=S*v)}if(i.hasData()||l){var C=i.chart.hasRendered&&i.old&&P(i.old.min);i.minorTickInterval&&!i.categories&&i.getMinorTickPositions().forEach((function(t){i.renderMinorTick(t,C)})),c.length&&(c.forEach((function(t,e){i.renderTick(t,e,C)})),y&&(0===i.min||i.single)&&(u[-1]||(u[-1]=new o(i,-1,null,!0)),u[-1].render(-1))),m&&c.forEach((function(o,a){e="undefined"!==typeof c[a+1]?c[a+1]+y:i.max-y,0===a%2&&oe&&(!n||p<=i)&&"undefined"!==typeof p&&l.push(p),p>i&&(f=!0),p=u}else e=this.lin2log(e),i=this.lin2log(i),t=n?o.getMinorTickInterval():h.tickInterval,t=r("auto"===t?null:t,this.minorAutoInterval,h.tickPixelInterval/(n?5:1)*(i-e)/((n?a/o.tickPositions.length:a)||1)),t=s(t),l=o.getLinearTickPositions(t,e,i).map(this.log2lin),n||(this.minorAutoInterval=t/5);return n||(o.tickInterval=t),l}},{key:"lin2log",value:function(t){return Math.pow(10,t)}},{key:"log2lin",value:function(t){return Math.log(t)/Math.LN10}}]),t}();e.Additions=h}(e||(e={})),e})),e(i,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[i["Core/Utilities.js"]],(function(t){var e,i=t.erase,s=t.extend,r=t.isNumber;return function(e){function n(t){return this.addPlotBandOrLine(t,"plotBands")}function o(t,e){var i=this,s=this.userOptions,r=new u(this,t);if(this.visible&&(r=r.render()),r){if(this._addedPlotLB||(this._addedPlotLB=!0,(s.plotLines||[]).concat(s.plotBands||[]).forEach((function(t){i.addPlotBandOrLine(t)}))),e){var n=s[e]||[];n.push(t),s[e]=n}this.plotLinesAndBands.push(r)}return r}function a(t){return this.addPlotBandOrLine(t,"plotLines")}function h(t,e){var i,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.options,n=this.getPlotLinePath({value:e,force:!0,acrossPanes:s.acrossPanes}),o=[],a=this.horiz;if(e=!r(this.min)||!r(this.max)||tthis.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:s.acrossPanes}),s=1,t&&n)for(e&&(i=t.toString()===n.toString(),s=0),e=0;ev-o?v:v-o);else{if(!m)return!1;n[t]=Math.max(l,h+o+i>e?h:h+o)}},v=function(t,e,i,s,o){var a;return oe-r?a=!1:n[t]=oe-s/2?e-s-2:o-i/2,a},y=function(t){var e=p;p=f,f=e,u=t};return(s.inverted||14&&void 0!==arguments[4])||arguments[4];return i?(e=j?0:G,t=c(t-r/2,E.left,E.right-r-(s.outside?B:0))):(e-=z,t=c(t=n?t-r-T:t+T,n?t:E.left,E.right)),{x:t,y:e}}var s=this,r=s.chart,n=s.chart,l=n.chartWidth,d=n.chartHeight,u=n.plotHeight,p=n.plotLeft,f=n.plotTop,m=n.pointer,v=n.scrollablePixelsY,y=void 0===v?0:v,b=n.scrollablePixelsX,A=n.scrollingContainer,S=void 0===A?{scrollLeft:0,scrollTop:0}:A,M=S.scrollLeft,C=S.scrollTop,w=n.styledMode,T=s.distance,P=s.options,L=s.options.positioner,E=s.outside&&"number"!==typeof b?o.documentElement.getBoundingClientRect():{left:M,right:M+l,top:C,bottom:C+d},O=s.getLabel(),D=this.renderer||r.renderer,j=!(!r.xAxis[0]||!r.xAxis[0].opposite),R=m.getChartPosition(),B=R.left,I=R.top,z=f+C,N=0,G=u-y;x(t)&&(t=[!1,t]),t=t.slice(0,e.length+1).reduce((function(t,r,n){if(!1!==r&&""!==r){var o,a=(n=e[n-1]||{isHeader:!0,plotX:e[0].plotX,plotY:u,series:{}}).isHeader,h=a?s:n.series,l=n;r=r.toString();var d=h.tt,g=l,m=g.isHeader,v=g.series;d||(d={padding:P.padding,r:P.borderRadius},w||(d.fill=P.backgroundColor,d["stroke-width"]=null!==(o=P.borderWidth)&&void 0!==o?o:1),d=D.label("",0,0,P[m?"headerShape":"shape"],void 0,void 0,P.useHTML).addClass(s.getClassName(l,!0,m)).attr(d).add(O)),d.isActive=!0,d.attr({text:r}),w||d.css(P.style).attr({stroke:P.borderColor||l.color||v.color||"#333333"}),o=d,o=h.tt=o,h=(l=o.getBBox()).width+o.strokeWidth(),a&&(N=l.height,G+=N,j&&(z-=N));var y=n,x=y.isHeader,b=y.plotX,A=void 0===b?0:b,S=y.plotY,M=void 0===S?0:S,C=y.series;if(x){r=p+A;var R=f+u/2}else{var B=C.xAxis,I=C.yAxis;r=B.pos+c(A,-T,B.len+T),C.shouldShowTooltip(0,I.pos-f+M,{ignoreX:!0})&&(R=I.pos+M)}var U=R={anchorX:r=c(r,E.left-T,E.right+T),anchorY:R},W=U.anchorX,X=U.anchorY;"number"===typeof X?(R=l.height+1,l=L?L.call(s,h,R,n):i(W,X,a,h),t.push({align:L?0:void 0,anchorX:W,anchorY:X,boxWidth:h,point:n,rank:k(l.rank,a?1:0),size:R,target:l.y,tt:o,x:l.x})):o.isActive=!1}return t}),[]),!L&&t.some((function(t){var e=s.outside;return(e=(e?B:0)+t.anchorX)e}))&&(t=t.map((function(t){var e=i(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1),s=e.x,r=e.y;return g(t,{target:r,x:s})}))),s.cleanSplit(),h(t,G);var U=B,W=B;t.forEach((function(t){var e=t.x,i=t.boxWidth,r=t.isHeader;r||(s.outside&&B+eW&&(W=B+e))})),t.forEach((function(t){var e=t.x,i=t.anchorX,r=t.anchorY,n=t.pos,o=t.point.isHeader,a={visibility:"undefined"===typeof n?"hidden":"inherit",x:e,y:(n||0)+z,anchorX:i,anchorY:r};if(s.outside&&ei[0]?Math.max(Math.abs(i[0]),r.width-i[0]):Math.max(Math.abs(i[0]),r.width),s.height=0>i[1]?Math.max(Math.abs(i[1]),r.height-Math.abs(i[1])):Math.max(Math.abs(i[1]),r.height),this.tracker?this.tracker.attr(s):(this.tracker=e.renderer.rect(s).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}else this.tracker&&(this.tracker=this.tracker.destroy())}},{key:"styledModeFormat",value:function(t){return t.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}},{key:"tooltipFooterHeaderFormatter",value:function(t,e){var i=t.series,s=i.tooltipOptions,r=i.xAxis,o=r&&r.dateTime;r={isFooter:e,labelConfig:t};var a=s.xDateFormat,h=s[e?"footerFormat":"headerFormat"];return m(this,"headerFormatter",r,(function(e){o&&!a&&y(t.key)&&(a=o.getXDateFormat(t.key,s.dateTimeLabelFormats)),o&&a&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){h=h.replace("{point."+t+"}","{point."+t+":"+a+"}")})),i.chart.styledMode&&(h=this.styledModeFormat(h)),e.text=n(h,{point:t,series:i},this.chart)})),r.text}},{key:"update",value:function(t){this.destroy(),this.init(this.chart,b(!0,this.options,t))}},{key:"updatePosition",value:function(t){var e=this.chart,i=this.distance,s=this.options,r=e.pointer,n=this.getLabel(),o=r.getChartPosition(),a=o.left,h=o.top,l=o.scaleX,c=o.scaleY;r=(s.positioner||this.getPosition).call(this,n.width,n.height,t);var u,p=(t.plotX||0)+e.plotLeft;t=(t.plotY||0)+e.plotTop,this.outside&&(s.positioner&&(r.x+=a-i,r.y+=h-i),u=(s.borderWidth||0)+2*i,this.renderer.setSize(n.width+u,n.height+u,!1),1===l&&1===c||(d(this.container,{transform:"scale(".concat(l,", ").concat(c,")")}),p*=l,t*=c),p+=a-r.x,t+=h-r.y),this.move(Math.round(r.x),Math.round(r.y||0),p,t)}}]),t}();return function(t){var e=[];t.compose=function(i){r.pushUnique(e,i)&&l(i,"afterInit",(function(){var e=this.chart;e.options.tooltip&&(e.tooltip=new t(e,e.options.tooltip))}))}}(M||(M={})),M})),e(i,"Core/Series/Point.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Animation/AnimationUtilities.js"],i["Core/Defaults.js"],i["Core/Templating.js"],i["Core/Utilities.js"]],(function(t,e,i,s,r){var n=e.animObject,o=i.defaultOptions,a=s.format,h=r.addEvent,l=r.defined,c=r.erase,d=r.extend,u=r.fireEvent,g=r.getNestedProperty,m=r.isArray,v=r.isFunction,y=r.isNumber,x=r.isObject,b=r.merge,k=r.objectEach,A=r.pick,S=r.syncTimeout,M=r.removeEvent,C=r.uniqueKey,w=function(){function e(){p(this,e),this.category=void 0,this.destroyed=!1,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.shapeArgs=this.series=void 0,this.visible=!0,this.x=void 0}return f(e,[{key:"animateBeforeDestroy",value:function(){var t=this,e={x:t.startXPos,opacity:0},i=t.getGraphicalProps();i.singular.forEach((function(i){t[i]=t[i].animate("dataLabel"===i?{x:t[i].startXPos,y:t[i].startYPos,opacity:0}:e)})),i.plural.forEach((function(e){t[e].forEach((function(e){e.element&&e.animate(d({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))}))}))}},{key:"applyOptions",value:function(t,i){var s=this.series,r=s.options.pointValKey||s.pointValKey;return t=e.prototype.optionsToObject.call(this,t),d(this,t),this.options=this.options?d(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,r&&(this.y=e.prototype.getNestedProperty.call(this,r)),this.formatPrefix=(this.isNull=this.isValid&&!this.isValid())?"null":"point",this.selected&&(this.state="select"),"name"in this&&"undefined"===typeof i&&s.xAxis&&s.xAxis.hasNames&&(this.x=s.xAxis.nameToX(this)),"undefined"===typeof this.x&&s?this.x="undefined"===typeof i?s.autoIncrement():i:y(t.x)&&s.options.relativeXValue&&(this.x=s.autoIncrement(t.x)),this}},{key:"destroy",value:function(){if(!this.destroyed){var t=this,e=t.series,i=e.chart;e=e.options.dataSorting;var s=i.hoverPoints,r=n(t.series.chart.renderer.globalAnimation),o=function(){for(var e in(t.graphic||t.graphics||t.dataLabel||t.dataLabels)&&(M(t),t.destroyElements()),t)delete t[e]};t.legendItem&&i.legend.destroyItem(t),s&&(t.setState(),c(s,t),s.length||(i.hoverPoints=null)),t===i.hoverPoint&&t.onMouseOut(),e&&e.enabled?(this.animateBeforeDestroy(),S(o,r.duration)):o(),i.pointCount--}this.destroyed=!0}},{key:"destroyElements",value:function(t){var e=this;(t=e.getGraphicalProps(t)).singular.forEach((function(t){e[t]=e[t].destroy()})),t.plural.forEach((function(t){e[t].forEach((function(t){t&&t.element&&t.destroy()})),delete e[t]}))}},{key:"firePointEvent",value:function(t,e,i){var s=this,r=this.series.options;(r.point.events[t]||s.options&&s.options.events&&s.options.events[t])&&s.importEvents(),"click"===t&&r.allowPointSelect&&(i=function(t){s.select&&s.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),u(s,t,e,i)}},{key:"getClassName",value:function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}},{key:"getGraphicalProps",value:function(t){var e,i,s=this,r=[],n={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&r.push("graphic"),t.dataLabel&&r.push("dataLabel","dataLabelPath","dataLabelUpper","connector"),i=r.length;i--;)e=r[i],s[e]&&n.singular.push(e);return["graphic","dataLabel","connector"].forEach((function(e){var i=e+"s";t[e]&&s[i]&&n.plural.push(i)})),n}},{key:"getLabelConfig",value:function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}}},{key:"getNestedProperty",value:function(t){if(t)return 0===t.indexOf("custom.")?g(t,this.options):this[t]}},{key:"getZone",value:function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var i,s=0;for(i=e[s];this[t]>=i.value;)i=e[++s];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=i&&i.color&&!this.options.color?i.color:this.nonZonedColor,i}},{key:"hasNewShapeType",value:function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}},{key:"init",value:function(t,e,i){return this.series=t,this.applyOptions(e,i),this.id=l(this.id)?this.id:C(),this.resolveColor(),t.chart.pointCount++,u(this,"afterInit"),this}},{key:"isValid",value:function(){return null!==this.x&&y(this.y)}},{key:"optionsToObject",value:function(t){var i=this.series,s=i.options.keys,r=s||i.pointArrayMap||["y"],n=r.length,o={},a=0,h=0;if(y(t)||null===t)o[r[0]]=t;else if(m(t))for(!s&&t.length>n&&("string"===(i=typeof t[0])?o.name=t[0]:"number"===i&&(o.x=t[0]),a++);h1&&void 0!==arguments[1]?arguments[1]:this.plotY;if(!this.destroyed){var i=this.plotX,s=this.series,r=s.chart,n=s.xAxis,o=s.yAxis,a=0,h=0;if(y(i)&&y(e))return t&&(a=n?n.pos:r.plotLeft,h=o?o.pos:r.plotTop),r.inverted&&n&&o?[o.len-e+h,n.len-i+a]:[i+a,e+h]}}},{key:"resolveColor",value:function(){var t,e=this.series,i=e.chart.styledMode,s=e.chart.options.chart.colorCount;delete this.nonZonedColor,e.options.colorByPoint?(i||(t=(s=e.options.colors||e.chart.options.colors)[e.colorCounter],s=s.length),i=e.colorCounter,e.colorCounter++,e.colorCounter===s&&(e.colorCounter=0)):(i||(t=e.color),i=e.colorIndex),this.colorIndex=A(this.options.colorIndex,i),this.color=A(this.options.color,t)}},{key:"setNestedProperty",value:function(t,e,i){return i.split(".").reduce((function(t,i,s,r){return t[i]=r.length-1===s?e:x(t[i],!0)?t[i]:{},t[i]}),t),t}},{key:"shouldDraw",value:function(){return!this.isNull}},{key:"tooltipFormatter",value:function(t){var e=this.series,i=e.tooltipOptions,s=A(i.valueDecimals,""),r=i.valuePrefix||"",n=i.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach((function(e){e="{point."+e,(r||n)&&(t=t.replace(RegExp(e+"}","g"),r+e+"}"+n)),t=t.replace(RegExp(e+"}","g"),e+":,."+s+"f}")})),a(t,{point:this,series:this.series},e.chart)}},{key:"update",value:function(t,e,i,s){function r(){o.applyOptions(t);var s=h&&o.hasMockGraphic;s=null===o.y?!s:s,h&&s&&(o.graphic=h.destroy(),delete o.hasMockGraphic),x(t,!0)&&(h&&h.element&&t&&t.marker&&"undefined"!==typeof t.marker.symbol&&(o.graphic=h.destroy()),t&&t.dataLabels&&o.dataLabel&&(o.dataLabel=o.dataLabel.destroy()),o.connector&&(o.connector=o.connector.destroy())),n=o.index,a.updateParallelArrays(o,n),c.data[n]=x(c.data[n],!0)||x(t,!0)?o.options:A(t,c.data[n]),a.isDirty=a.isDirtyData=!0,!a.fixedBox&&a.hasCartesianSeries&&(l.isDirtyBox=!0),"point"===c.legendType&&(l.isDirtyLegend=!0),e&&l.redraw(i)}var n,o=this,a=o.series,h=o.graphic,l=a.chart,c=a.options;e=A(e,!0),!1===s?r():o.firePointEvent("update",{options:t},r)}},{key:"remove",value:function(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)}},{key:"select",value:function(t,e){var i=this,s=i.series,r=s.chart;this.selectedStaging=t=A(t,!i.selected),i.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){i.selected=i.options.selected=t,s.options.data[s.data.indexOf(i)]=i.options,i.setState(t&&"select"),e||r.getSelectedPoints().forEach((function(t){var e=t.series;t.selected&&t!==i&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(r.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging}},{key:"onMouseOver",value:function(t){var e=this.series.chart,i=e.pointer;t=t?i.normalize(t):i.getChartCoordinatesFromPoint(this,e.inverted),i.runPointActions(t,this)}},{key:"onMouseOut",value:function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null}},{key:"importEvents",value:function(){if(!this.hasImportedEvents){var t=this,e=b(t.series.options.point,t.options).events;t.events=e,k(e,(function(e,i){v(e)&&h(t,i,e)})),this.hasImportedEvents=!0}}},{key:"setState",value:function(e,i){var s,r,n=this.series,a=this.state,h=n.options.states[e||"normal"]||{},l=o.plotOptions[n.type].marker&&n.options.marker,c=l&&!1===l.enabled,p=l&&l.states&&l.states[e||"normal"]||{},f=!1===p.enabled,g=this.marker||{},m=n.chart,v=l&&n.markerAttribs,x=n.halo,b=n.stateMarkerGraphic;if(!((e=e||"")===this.state&&!i||this.selected&&"select"!==e||!1===h.enabled||e&&(f||c&&!1===p.enabled)||e&&g.states&&g.states[e]&&!1===g.states[e].enabled)){if(this.state=e,v&&(s=n.markerAttribs(this,e)),this.graphic&&!this.hasMockGraphic){if(a&&this.graphic.removeClass("highcharts-point-"+a),e&&this.graphic.addClass("highcharts-point-"+e),!m.styledMode){a=n.pointAttribs(this,e),r=A(m.options.chart.animation,h.animation);var k=a.opacity;n.options.inactiveOtherPoints&&y(k)&&((this.dataLabels||[]).forEach((function(t){t&&!t.hasClass("highcharts-data-label-hidden")&&t.animate({opacity:k},r)})),this.connector&&this.connector.animate({opacity:k},r)),this.graphic.animate(a,r)}s&&this.graphic.animate(s,A(m.options.chart.animation,p.animation,l.animation)),b&&b.hide()}else e&&p&&(l=g.symbol||n.symbol,b&&b.currentSymbol!==l&&(b=b.destroy()),s&&(b?b[i?"animate":"attr"]({x:s.x,y:s.y}):l&&(n.stateMarkerGraphic=b=m.renderer.symbol(l,s.x,s.y,s.width,s.height).add(n.markerGroup),b.currentSymbol=l)),!m.styledMode&&b&&"inactive"!==this.state&&b.attr(n.pointAttribs(this,e))),b&&(b[e&&this.isInside?"show":"hide"](),b.element.point=this,b.addClass(this.getClassName(),!0));h=h.halo,s=(b=this.graphic||b)&&b.visibility||"inherit",h&&h.size&&b&&"hidden"!==s&&!this.isCluster?(x||(n.halo=x=m.renderer.path().add(b.parentGroup)),x.show()[i?"animate":"attr"]({d:this.haloPath(h.size)}),x.attr({class:"highcharts-halo highcharts-color-"+A(this.colorIndex,n.colorIndex)+(this.className?" "+this.className:""),visibility:s,zIndex:-1}),x.point=this,m.styledMode||x.attr(d({fill:this.color||n.color,"fill-opacity":h.opacity},t.filterUserAttributes(h.attributes||{})))):x&&x.point&&x.point.haloPath&&x.animate({d:x.point.haloPath(0)},null,x.hide),u(this,"afterSetState",{state:e})}}},{key:"haloPath",value:function(t){var e=this.pos();return e?this.series.chart.renderer.symbols.circle(Math.floor(e[0])-t,e[1]-t,2*t,2*t):[]}}]),e}();return w})),e(i,"Core/Pointer.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){var s=t.parse,r=e.charts,n=e.noop,o=i.addEvent,a=i.attr,h=i.css,l=i.defined,c=i.extend,d=i.find,u=i.fireEvent,g=i.isNumber,m=i.isObject,v=i.objectEach,y=i.offset,x=i.pick,b=i.splat,k=function(){function t(e,i){p(this,t),this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=e,this.hasDragged=!1,this.options=i,this.init(e,i)}return f(t,[{key:"applyInactiveState",value:function(t){var e,i=[];(t||[]).forEach((function(t){e=t.series,i.push(e),e.linkedParent&&i.push(e.linkedParent),e.linkedSeries&&(i=i.concat(e.linkedSeries)),e.navigatorSeries&&i.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===i.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))}},{key:"destroy",value:function(){var i=this;this.eventsToUnbind.forEach((function(t){return t()})),this.eventsToUnbind=[],e.chartCount||(t.unbindDocumentMouseUp&&(t.unbindDocumentMouseUp=t.unbindDocumentMouseUp()),t.unbindDocumentTouchEnd&&(t.unbindDocumentTouchEnd=t.unbindDocumentTouchEnd())),clearInterval(i.tooltipTimeout),v(i,(function(t,e){i[e]=void 0}))}},{key:"getSelectionMarkerAttrs",value:function(t,e){var i=this,s={args:{chartX:t,chartY:e},attrs:{},shapeType:"rect"};return u(this,"getSelectionMarkerAttrs",s,(function(s){var r,n=i.chart,o=i.mouseDownX,a=void 0===o?0:o,h=i.mouseDownY,l=void 0===h?0:h,c=i.zoomHor,d=i.zoomVert;(s=s.attrs).x=n.plotLeft,s.y=n.plotTop,s.width=c?1:n.plotWidth,s.height=d?1:n.plotHeight,c&&(r=t-a,s.width=Math.abs(r),s.x=(0r+o&&(u=r+o),pn+a&&(p=n+a),this.hasDragged=Math.sqrt(Math.pow(h-u,2)+Math.pow(l-p,2)),10t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(i,r),(r=m(t,!0)&&t.series)&&!(r=!m(s,!0))){r=s.distX-t.distX;var n=s.dist-t.dist,o=(t.series.group&&t.series.group.zIndex)-(s.series.group&&s.series.group.zIndex);r=0<(r=0!==r&&e?r:0!==n?n:0!==o?o:s.series.index>t.series.index?-1:1)}r&&(s=t)})),s}},{key:"getChartCoordinatesFromPoint",value:function(t,e){var i=t.series,s=i.xAxis;i=i.yAxis;var r=t.shapeArgs;if(s&&i){var n=x(t.clientX,t.plotX),o=t.plotY||0;return t.isNode&&r&&g(r.x)&&g(r.y)&&(n=r.x,o=r.y),e?{chartX:i.len+i.pos-o,chartY:s.len+s.pos-n}:{chartX:n+s.pos,chartY:o+i.pos}}if(r&&r.x&&r.y)return{chartX:r.x,chartY:r.y}}},{key:"getChartPosition",value:function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=y(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};var i=t.offsetWidth;return t=t.offsetHeight,2g.max&&(i=g.max-x,k=!0),k?(S-=.8*(S-o[l][0]),"number"===typeof M&&(M-=.8*(M-o[l][1])),e()):o[l]=[S,M],f||(n[l]=b-p,n[u]=x),n=f?1/A:A,r[u]=x,r[l]=i,s[f?t?"scaleY":"scaleX":"scale"+c]=A,s["translate"+c]=n*p+(S-n*v)}},{key:"reset",value:function(t,e){var i=this.chart,s=i.hoverSeries,r=i.hoverPoint,n=i.hoverPoints,o=i.tooltip,a=o&&o.shared?n:r;t&&a&&b(a).forEach((function(e){e.series.isCartesian&&"undefined"===typeof e.plotX&&(t=!1)})),t?o&&a&&b(a).length&&(o.refresh(a),o.shared&&n?n.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):r&&(r.setState(r.state,!0),i.axes.forEach((function(t){t.crosshair&&r.series[t.coll]===t&&t.drawCrosshair(null,r)})))):(r&&r.onMouseOut(),n&&n.forEach((function(t){t.setState()})),s&&s.onMouseOut(),o&&o.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach((function(t){t.hideCrosshair()})),this.hoverX=i.hoverPoints=i.hoverPoint=null)}},{key:"runPointActions",value:function(e,i,s){var n=this.chart,a=n.tooltip&&n.tooltip.options.enabled?n.tooltip:void 0,h=!!a&&a.shared,l=i||n.hoverPoint,c=l&&l.series||n.hoverSeries;i=this.getHoverData(l,c,n.series,(!e||"touchmove"!==e.type)&&(!!i||c&&c.directTouch&&this.isDirectTouch),h,e),l=i.hoverPoint,c=i.hoverSeries;var u=i.hoverPoints;i=c&&c.tooltipOptions.followPointer&&!c.tooltipOptions.split;var p=h&&c&&!c.noSharedTooltip;if(l&&(s||l!==n.hoverPoint||a&&a.isHidden)){if((n.hoverPoints||[]).forEach((function(t){-1===u.indexOf(t)&&t.setState()})),n.hoverSeries!==c&&c.onMouseOver(),this.applyInactiveState(u),(u||[]).forEach((function(t){t.setState("hover")})),n.hoverPoint&&n.hoverPoint.firePointEvent("mouseOut"),!l.series)return;n.hoverPoints=u,n.hoverPoint=l,l.firePointEvent("mouseOver",void 0,(function(){a&&l&&a.refresh(p?u:l,e)}))}else i&&a&&!a.isHidden&&(s=a.getAnchor([{}],e),n.isInsidePlot(s[0],s[1],{visiblePlotOnly:!0})&&a.updatePosition({plotX:s[0],plotY:s[1]}));this.unDocMouseMove||(this.unDocMouseMove=o(n.container.ownerDocument,"mousemove",(function(e){var i=r[t.hoverChartIndex];i&&i.pointer.onDocumentMouseMove(e)})),this.eventsToUnbind.push(this.unDocMouseMove)),n.axes.forEach((function(t){var i,s=x((t.crosshair||{}).snap,!0);s&&((i=n.hoverPoint)&&i.series[t.coll]===t||(i=d(u,(function(e){return e.series&&e.series[t.coll]===t})))),i||!s?t.drawCrosshair(e,i):t.hideCrosshair()}))}},{key:"scaleGroups",value:function(t,e){var i=this.chart;i.series.forEach((function(s){var r=t||s.getPlotBox();s.group&&(s.xAxis&&s.xAxis.zoomEnabled||i.mapView)&&(s.group.attr(r),s.markerGroup&&(s.markerGroup.attr(r),s.markerGroup.clip(e?i.clipRect:null)),s.dataLabelsGroup&&s.dataLabelsGroup.attr(r))})),i.clipRect.attr(e||i.clipBox)}},{key:"setDOMEvents",value:function(){var i=this,s=this.chart.container,r=s.ownerDocument;s.onmousedown=this.onContainerMouseDown.bind(this),s.onmousemove=this.onContainerMouseMove.bind(this),s.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(o(s,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(o(s,"mouseleave",this.onContainerMouseLeave.bind(this))),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=o(r,"mouseup",this.onDocumentMouseUp.bind(this)));for(var n=this.chart.renderTo.parentElement;n&&"BODY"!==n.tagName;)this.eventsToUnbind.push(o(n,"scroll",(function(){delete i.chartPosition}))),n=n.parentElement;e.hasTouch&&(this.eventsToUnbind.push(o(s,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(o(s,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=o(r,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))}},{key:"setHoverChartIndex",value:function(){var i=this.chart,s=e.charts[x(t.hoverChartIndex,-1)];s&&s!==i&&s.pointer.onContainerMouseLeave({relatedTarget:i.container}),s&&s.mouseIsDown||(t.hoverChartIndex=i.index)}},{key:"touch",value:function(t,e){var i,s=this.chart;this.setHoverChartIndex(),1===t.touches.length?(t=this.normalize(t),s.isInsidePlot(t.chartX-s.plotLeft,t.chartY-s.plotTop,{visiblePlotOnly:!0})&&!s.openMenu?(e&&this.runPointActions(t),"touchmove"===t.type&&(i=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2))),x(i,!0)&&this.pinch(t)):e&&this.reset()):2===t.touches.length&&this.pinch(t)}},{key:"touchSelect",value:function(t){return!(!this.chart.zooming.singleTouch||!t.touches||1!==t.touches.length)}},{key:"zoomOption",value:function(t){var e=this.chart,i=e.inverted,s=e.zooming.type||"";/touch/.test(t.type)&&(s=x(e.zooming.pinchType,s)),this.zoomX=t=/x/.test(s),this.zoomY=s=/y/.test(s),this.zoomHor=t&&!i||s&&i,this.zoomVert=s&&!i||t&&i,this.hasZoom=t||s}}]),t}();return function(t){var e=[],s=[];t.compose=function(e){i.pushUnique(s,e)&&o(e,"beforeRender",(function(){this.pointer=new t(this,this.options)}))},t.dissolve=function(){for(var t=0,i=e.length;tt-6&&n1.5*s?i.height:s))}},{key:"layoutItem",value:function(t){var e=this.options,i=this.padding,s="horizontal"===e.layout,r=t.itemHeight,n=this.itemMarginBottom,o=this.itemMarginTop,a=s?S(e.itemDistance,20):0,h=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>h?this.maxItemWidth:t.itemWidth;var l=t.legendItem||{};s&&this.itemX-i+e>h&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=o+this.lastLineHeight+n),this.lastLineHeight=0),this.lastItemY=o+this.itemY+n,this.lastLineHeight=Math.max(r,this.lastLineHeight),l.x=this.itemX,l.y=this.itemY,s?this.itemX+=e:(this.itemY+=o+r+n,this.lastLineHeight=r),this.offsetWidth=this.widthOption||Math.max((s?this.itemX-i-(t.checkbox?0:a):e)+i,this.offsetWidth)}},{key:"getAllItems",value:function(){var t=[];return this.chart.series.forEach((function(e){var i=e&&e.options;e&&S(i.showInLegend,!v(i.linkedTo)&&void 0,!0)&&(t=t.concat((e.legendItem||{}).labels||("point"===i.legendType?e.data:e)))})),b(this,"afterGetAllItems",{allItems:t}),t}},{key:"getAlignment",value:function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)}},{key:"adjustMargins",value:function(t,e){var i=this.chart,s=this.options,r=this.getAlignment();r&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(n,o){n.test(r)&&!v(t[o])&&(i[c[o]]=Math.max(i[c[o]],i.legend[(o+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][o]*s[o%2?"x":"y"]+S(s.margin,12)+e[o]+(i.titleOffset[o]||0)))}))}},{key:"proximatePositions",value:function(){var t,e=this.chart,i=[],s="left"===this.options.align;this.allItems.forEach((function(t){var r,n,o=s;t.yAxis&&(t.xAxis.options.reversed&&(o=!o),t.points&&(r=x(o?t.points:t.points.slice(0).reverse(),(function(t){return k(t.plotY)}))),o=this.itemMarginTop+t.legendItem.label.getBBox().height+this.itemMarginBottom,n=t.yAxis.top-e.plotTop,t.visible?(r=r?r.plotY:t.yAxis.height,r+=n-.3*o):r=n+t.yAxis.height,i.push({target:r,size:o,item:t}))}),this);var r,n=l(d(i,e.plotHeight));try{for(n.s();!(r=n.n()).done;){var o=r.value;t=o.item.legendItem||{},k(o.pos)&&(t.y=e.plotTop-e.spacing[0]+o.pos)}}catch(a){n.e(a)}finally{n.f()}}},{key:"render",value:function(){var t,e=this.chart,i=e.renderer,s=this.options,r=this.padding,n=this.getAllItems(),o=this.group,a=this.box;this.itemX=r,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=M(s.width,e.spacingBox.width-r);var h=e.spacingBox.width-2*r-s.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(h/=2),this.maxLegendWidth=this.widthOption||h,o||(this.group=o=i.g("legend").addClass(s.className||"").attr({zIndex:7}).add(),this.contentGroup=i.g().attr({zIndex:1}).add(o),this.scrollGroup=i.g().add(this.contentGroup)),this.renderTitle(),C(n,(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)})),s.reversed&&n.reverse(),this.allItems=n,this.display=h=!!n.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,n.forEach(this.renderItem,this),n.forEach(this.layoutItem,this),n=(this.widthOption||this.offsetWidth)+r,t=this.lastItemY+this.lastLineHeight+this.titleHeight,t=this.handleOverflow(t),t+=r,a||(this.box=a=i.rect().addClass("highcharts-legend-box").attr({r:s.borderRadius}).add(o)),e.styledMode||a.attr({stroke:s.borderColor,"stroke-width":s.borderWidth||0,fill:s.backgroundColor||"none"}).shadow(s.shadow),00&&void 0!==arguments[0]?arguments[0]:this.chart.spacingBox,e=this.chart,i=this.options,s=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0h&&!1!==u.enabled?(this.clipHeight=e=Math.max(h-20-this.titleHeight-c,0),this.currentPage=S(this.currentPage,1),this.fullHeight=t,m.forEach((function(t,r){t=(s=t.legendItem||{}).y||0;var n=Math.round(s.label.getBBox().height),o=g.length;(!o||t-g[o-1]>e&&(i||t)!==g[o-1])&&(g.push(i||t),o++),s.pageIx=o-1,i&&((m[r-1].legendItem||{}).pageIx=o-1),r===m.length-1&&t+n-g[o-1]>e&&t>g[o-1]&&(g.push(t),s.pageIx=o),t!==i&&(i=t)})),b||(b=r.clipRect=o.clipRect(0,c-2,9999,0),r.contentGroup.clip(b)),v(e),x||(this.nav=x=o.g().attr({zIndex:1}).add(this.group),this.up=o.symbol("triangle",0,0,f,f).add(x),y("upTracker").on("click",(function(){r.scroll(-1,p)})),this.pager=o.text("",15,10).addClass("highcharts-legend-navigation"),!n.styledMode&&u.style&&this.pager.css(u.style),this.pager.add(x),this.down=o.symbol("triangle-down",0,0,f,f).add(x),y("downTracker").on("click",(function(){r.scroll(1,p)}))),r.scroll(0),t=h):x&&(v(),this.nav=x.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t}},{key:"scroll",value:function(t,e){var i=this,s=this.chart,r=this.pages,n=r.length,h=this.clipHeight,l=this.options.navigation,c=this.pager,d=this.padding,u=this.currentPage+t;u>n&&(u=n),0=this.cropStart?r-this.cropStart:r),!s&&I(r)&&h[r]&&h[r].touched&&(r=void 0),r}},{key:"updateData",value:function(t,e){var i,s,r,n=this.options,o=n.dataSorting,a=this.points,h=[],l=this.requireSorting,c=t.length===a.length,d=!0;if(this.xIncrement=null,t.forEach((function(t,e){var s=C(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},d=s.x;s.id||I(d)?(-1===(s=this.findPointIndex(s,r))||"undefined"===typeof s?h.push(t):a[s]&&t!==n.data[s]?(a[s].update(t,!1,null,!1),a[s].touched=!0,l&&(r=s+1)):a[s]&&(a[s].touched=!0),(!c||e!==s||o&&o.enabled||this.hasDerivedData)&&(i=!0)):h.push(t)}),this),i)for(t=a.length;t--;)(s=a[t])&&!s.touched&&s.remove&&s.remove(!1,e);else!c||o&&o.enabled?d=!1:(t.forEach((function(t,e){t===a[e].y||a[e].destroyed||a[e].update(t,!1,null,!1)})),h.length=0);return a.forEach((function(t){t&&(t.touched=!1)})),!!d&&(h.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=k(this.xData),this.autoIncrement()),!0)}},{key:"setData",value:function(t){var e,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],s=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,n=this,o=n.points,a=o&&o.length||0,h=n.options,l=n.chart,c=h.dataSorting,d=n.xAxis,u=h.turboThreshold,p=this.xData,f=this.yData,g=n.pointArrayMap;g=g&&g.length;var m,v=h.keys,y=0,x=1,b=null;if(!l.options.chart.allowMutatingData){h.data&&delete n.options.data,n.userOptions.data&&delete n.userOptions.data;var k=N(!0,t)}if(k=(t=k||t||[]).length,c&&c.enabled&&(t=this.sortData(t)),l.options.chart.allowMutatingData&&!1!==r&&k&&a&&!n.cropped&&!n.hasGroupedData&&n.visible&&!n.boosted&&(m=this.updateData(t,s)),!m){if(n.xIncrement=null,n.colorCounter=0,this.parallelArrays.forEach((function(t){n[t+"Data"].length=0})),u&&k>u)if(b=n.getFirstValidPoint(t),I(b))for(s=0;st?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){var i=e.options,r=i.data;i.dataSorting&&i.dataSorting.enabled||!r||(r.forEach((function(i,n){r[n]=s(e,i),t[n]&&(r[n].x=t[n].x,r[n].index=n)})),e.setData(r,!1))})),t}},{key:"getProcessedData",value:function(t){var e,i=this,s=i.xAxis,r=i.options,n=r.cropThreshold,o=t||i.getExtremesFromAll||r.getExtremesFromAll,a=null===s||void 0===s?void 0:s.logarithmic,h=i.isCartesian,l=0;t=i.xData,r=i.yData;var c=!1,d=t.length;if(s){var u=s.getExtremes();e=u.min,u=u.max,c=!(!s.categories||s.names.length)}if(h&&i.sorted&&!o&&(!n||d>n||i.forceCrop))if(t[d-1]u)t=[],r=[];else if(i.yData&&(t[0]u)){var p=this.cropData(i.xData,i.yData,e,u);t=p.xData,r=p.yData,l=p.start,p=!0}return s=D([a?t.map(a.log2lin):t],(function(){return i.requireSorting&&!c&&P(15,!1,i.chart)})),{xData:t,yData:r,cropped:p,cropStart:l,closestPointRange:s}}},{key:"processData",value:function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange,O(this,"afterProcessData")}},{key:"cropData",value:function(t,e,i,s,r){var n,o=t.length,a=0,h=o;for(r=U(r,this.cropShoulder),n=0;n=i){a=Math.max(0,n-r);break}for(i=n;is){h=i+r;break}return{xData:t.slice(a,h),yData:e.slice(a,h),start:a,end:h}}},{key:"generatePoints",value:function(){var t,e=this.options,i=this.processedData||e.data,s=this.processedXData,r=this.processedYData,n=this.pointClass,o=s.length,a=this.cropStart||0,h=this.hasGroupedData,l=e.keys,c=[];e=e.dataGrouping&&e.dataGrouping.groupAll?a:0;var d,u,p=this.data;if(!p&&!h){var f=[];f.length=i.length,p=this.data=f}for(l&&h&&(this.options.keys=!1),u=0;u=h&&(r[a-o]||p)<=l,f&&p)if(f=u.length)for(;f--;)I(u[f])&&(n[c++]=u[f]);else n[c++]=u}return t={activeYData:n,dataMin:A(n),dataMax:k(n)},O(this,"afterGetExtremes",{dataExtremes:t}),t}},{key:"applyExtremes",value:function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t}},{key:"getFirstValidPoint",value:function(t){for(var e=t.length,i=0,s=null;null===s&&i=A&&(A=void 0),v.total=v.stackTotal=U(x.total),v.percentage=C(v.y)&&x.total?v.y/x.total*100:void 0,v.stackY=k,this.irregularWidths||x.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),v.yBottom=C(A)?S(o.translate(A,!1,!0,!1,!0),-1e5,1e5):void 0,this.dataModify&&(k=this.dataModify.modifyValue(k,u));var T=void 0;I(k)&&void 0!==v.plotX&&(T=o.translate(k,!1,!0,!1,!0),T=I(T)?S(T,-1e5,1e5):void 0),v.plotY=T,v.isInside=this.isPointInside(v),v.clientX=c?M(s.translate(y,!1,!1,!1,!0,l)):p,v.negative=(v.y||0)<(d||0),v.category=U(r&&r[v.x],v.x),v.isNull||!1===v.visible||("undefined"!==typeof f&&(m=Math.min(m,Math.abs(p-f))),f=p),v.zone=this.zones.length?v.getZone():void 0,!v.graphic&&this.group&&n&&(v.isNew=!0)}this.closestPointRangePx=m,O(this,"afterTranslate")}},{key:"getValidPoints",value:function(t,e,i){var s=this.chart;return(t||this.points||[]).filter((function(t){var r=t.plotX,n=t.plotY;return!(!(i||!t.isNull&&I(n))||e&&!s.isInsidePlot(r,n,{inverted:s.inverted}))&&!1!==t.visible}))}},{key:"getClipBox",value:function(){var t=this.chart,e=this.xAxis,i=this.yAxis,s=N(t.clipBox);return e&&e.len!==t.plotSizeX&&(s.width=e.len),i&&i.len!==t.plotSizeY&&(s.height=i.len),s}},{key:"getSharedClipKey",value:function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)}},{key:"setClip",value:function(){var t=this.chart,e=this.group,i=this.markerGroup,s=t.sharedClips,r=t.renderer,n=this.getClipBox(),o=this.getSharedClipKey(),a=s[o];a?a.animate(n):s[o]=a=r.clipRect(n),e&&e.clip(!1===this.options.clip?void 0:a),i&&i.clip()}},{key:"animate",value:function(t){var e=this.chart,i=this.group,s=this.markerGroup,r=e.inverted,n=d(this.options.animation),o=[this.getSharedClipKey(),n.duration,n.easing,n.defer].join(),a=e.sharedClips[o],h=e.sharedClips[o+"m"];if(t&&i)n=this.getClipBox(),a?a.attr("height",n.height):(n.width=0,r&&(n.x=e.plotHeight),a=e.renderer.clipRect(n),e.sharedClips[o]=a,h=e.renderer.clipRect({x:-99,y:-99,width:r?e.plotWidth+199:99,height:r?99:e.plotHeight+199}),e.sharedClips[o+"m"]=h),i.clip(a),s&&s.clip(h);else if(a&&!a.hasClass("highcharts-animating")){o=this.getClipBox();var l=n.step;s&&s.element.childNodes.length&&(n.step=function(t,e){l&&l.apply(e,arguments),"width"===e.prop&&h&&h.element&&h.attr(r?"height":"width",t+99)}),a.addClass("highcharts-animating").animate(o,n)}}},{key:"afterAnimate",value:function(){var t=this;this.setClip(),G(this.chart.sharedClips,(function(e,i,s){e&&!t.chart.container.querySelector('[clip-path="url(#'.concat(e.id,')"]'))&&(e.destroy(),delete s[i])})),this.finishedAnimating=!0,O(this,"afterAnimate")}},{key:"drawPoints",value:function(){var t,e,i,s,r,n,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.points,a=this.chart,h=a.styledMode,l=this.colorAxis,c=this.options.marker,d=this[this.specialGroup||"markerGroup"],u=this.xAxis,p=U(c.enabled,!(u&&!u.isRadial)||null,this.closestPointRangePx>=c.enabledThreshold*c.radius);if(!1!==c.enabled||this._hasPointMarkers)for(t=0;ts.max,d.resetZones&&0===e&&(e=void 0)})),this.clips=g):d.visible&&(m&&m.show(),v&&v.show())}},{key:"plotGroup",value:function(t,e,i,s,r){var n=this[t],o=!n;return i={visibility:i,zIndex:s||.1},"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(i.opacity=this.opacity),o&&(this[t]=n=this.chart.renderer.g().add(r)),n.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(C(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(n.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),n.attr(i)[o?"attr":"animate"](this.getPlotBox(e)),n}},{key:"getPlotBox",value:function(t){var e=this.xAxis,i=this.yAxis,s=this.chart;return t=s.inverted&&!s.polar&&e&&!1!==this.invertible&&"series"===t,s.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:s.plotLeft,translateY:i?i.top:s.plotTop,rotation:t?90:0,rotationOriginX:t?(e.len-i.len)/2:0,rotationOriginY:t?(e.len+i.len)/2:0,scaleX:t?-1:1,scaleY:1}}},{key:"removeEvents",value:function(t){t||W(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind.length=0)}},{key:"render",value:function(){var t=this,e=t.chart,i=t.options,s=d(i.animation),r=t.visible?"inherit":"hidden",n=i.zIndex,o=t.hasRendered;e=e.seriesGroup;var a=t.finishedAnimating?0:s.duration;O(this,"render"),t.plotGroup("group","series",r,n,e),t.markerGroup=t.plotGroup("markerGroup","markers",r,n,e),!1!==i.clip&&t.setClip(),t.animate&&a&&t.animate(!0),t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&i.enableMouseTracking&&t.drawTracker(),t.animate&&a&&t.animate(),o||(a&&s.defer&&(a+=s.defer),t.animationTimeout=H((function(){t.afterAnimate()}),a||0)),t.isDirty=!1,t.hasRendered=!0,O(t,"afterRender")}},{key:"redraw",value:function(){var t=this.isDirty||this.isDirtyData;this.translate(),this.render(),t&&delete this.kdTree}},{key:"searchPoint",value:function(t,e){var i=this.xAxis,s=this.yAxis,r=this.chart.inverted;return this.searchKDTree({clientX:r?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:r?s.len-t.chartX+s.pos:t.chartY-s.pos},e,t)}},{key:"buildKDTree",value:function(t){function e(t,s,r){var n,o=t&&t.length;if(o)return n=i.kdAxisArray[s%r],t.sort((function(t,e){return t[n]-e[n]})),{point:t[o=Math.floor(o/2)],left:e(t.slice(0,o),s+1,r),right:e(t.slice(o+1),s+1,r)}}this.buildingKdTree=!0;var i=this,s=-1(c=e[c]-l[c])?"right":"left",i[p=0>c?"left":"right"]&&(d=(p=t(e,i[p],a+1,h))[o]f;)c--;this.updateParallelArrays(p,"splice",[c,0,0]),this.updateParallelArrays(p,c),h&&p.name&&(h[f]=p.name),d.splice(c,0,t),(l||this.processedData)&&(this.data.splice(c,0,null),this.processData()),"point"===n.legendType&&this.generatePoints(),i&&(o[0]&&o[0].remove?o[0].remove(!1):(o.shift(),this.updateParallelArrays(p,"shift"),d.shift())),!1!==r&&O(this,"addPoint",{point:p}),this.isDirtyData=this.isDirty=!0,e&&a.redraw(s)}},{key:"removePoint",value:function(t,e,i){var s=this,r=s.data,n=r[t],o=s.points,a=s.chart,h=function(){o&&o.length===r.length&&o.splice(t,1),r.splice(t,1),s.options.data.splice(t,1),s.updateParallelArrays(n||{series:s},"splice",[t,1]),n&&n.destroy(),s.isDirty=!0,s.isDirtyData=!0,e&&a.redraw()};u(i,a),e=U(e,!0),n?n.firePointEvent("remove",null,h):h()}},{key:"remove",value:function(t,e,i,s){function r(){n.destroy(s),o.isDirtyLegend=o.isDirtyBox=!0,o.linkSeries(s),U(t,!0)&&o.redraw(e)}var n=this,o=n.chart;!1!==i?O(n,"remove",null,r):r()}},{key:"update",value:function(t,e){t=w(t,this.userOptions),O(this,"update",{options:t});var i,s=this,r=s.chart,n=s.userOptions,o=s.initialType||s.type,a=r.options.plotOptions,h=b[o].prototype,c=s.finishedAnimating&&{animation:!1},d={},u=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],p=t.type||n.type||r.options.chart.type,f=!(this.hasDerivedData||p&&p!==this.type||"undefined"!==typeof t.pointStart||"undefined"!==typeof t.pointInterval||"undefined"!==typeof t.relativeXValue||t.joinBy||t.mapData||s.hasOptionChanged("dataGrouping")||s.hasOptionChanged("pointStart")||s.hasOptionChanged("pointInterval")||s.hasOptionChanged("pointIntervalUnit")||s.hasOptionChanged("keys"));if(p=p||o,f&&(u.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&u.push("area","graph"),s.parallelArrays.forEach((function(t){u.push(t+"Data")})),t.data&&(t.dataSorting&&L(s.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=N(n,c,{index:"undefined"===typeof n.index?s.index:n.index,pointStart:U(a&&a.series&&a.series.pointStart,n.pointStart,s.xData[0])},!f&&{data:s.options.data},t),f&&t.data&&(t.data=s.options.data),(u=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(u)).forEach((function(t){u[t]=s[t],delete s[t]})),a=!1,b[p]){if(a=p!==s.type,s.remove(!1,!1,!1,!0),a)if(Object.setPrototypeOf)Object.setPrototypeOf(s,b[p].prototype);else{for(i in c=Object.hasOwnProperty.call(s,"hcEvents")&&s.hcEvents,h)s[i]=void 0;L(s,b[p].prototype),c?s.hcEvents=c:delete s.hcEvents}}else P(17,!0,r,{missingModuleFor:p});if(u.forEach((function(t){s[t]=u[t]})),s.init(r,t),f&&this.points){if(!1===(t=s.options).visible)d.graphic=1,d.dataLabel=1;else if(!s._hasPointLabels){var g=t,m=g.marker,v=g.dataLabels;n=n.marker||{},!m||!1!==m.enabled&&n.symbol===m.symbol&&n.height===m.height&&n.width===m.width||(d.graphic=1),v&&!1===v.enabled&&(d.dataLabel=1)}var y,x=l(this.points);try{for(x.s();!(y=x.n()).done;){var k=y.value;k&&k.series&&(k.resolveColor(),Object.keys(d).length&&k.destroyElements(d),!1===t.showInLegend&&k.legendItem&&r.legend.destroyItem(k))}}catch(A){x.e(A)}finally{x.f()}}s.initialType=o,r.linkSeries(),a&&s.linkedSeries.length&&(s.isDirtyData=!0),O(this,"afterUpdate"),U(e,!0)&&r.redraw(!!f&&void 0)}},{key:"setName",value:function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0}},{key:"hasOptionChanged",value:function(t){var e=this.options[t],i=this.chart.options.plotOptions,s=this.userOptions[t];return s?e!==s:e!==U(i&&i[this.type]&&i[this.type][t],i&&i.series&&i.series[t],e)}},{key:"onMouseOver",value:function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&O(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this}},{key:"onMouseOut",value:function(){var t=this.options,e=this.chart,i=e.tooltip,s=e.hoverPoint;e.hoverSeries=null,s&&s.onMouseOut(),this&&t.events.mouseOut&&O(this,"mouseOut"),!i||this.stickyTracking||i.shared&&!this.noSharedTooltip||i.hide(),e.series.forEach((function(t){t.setState("",!0)}))}},{key:"setState",value:function(t,e){var i=this,s=i.options,r=i.graph,n=s.inactiveOtherPoints,o=s.states,a=U(o[t||"normal"]&&o[t||"normal"].animation,i.chart.options.chart.animation),h=s.lineWidth,l=0,c=s.opacity;if(t=t||"",i.state!==t&&([i.group,i.markerGroup,i.dataLabelsGroup].forEach((function(e){e&&(i.state&&e.removeClass("highcharts-series-"+i.state),t&&e.addClass("highcharts-series-"+t))})),i.state=t,!i.chart.styledMode)){if(o[t]&&!1===o[t].enabled)return;if(t&&(h=o[t].lineWidth||h+(o[t].lineWidthPlus||0),c=U(o[t].opacity,c)),r&&!r.dashstyle&&I(h))for(s={"stroke-width":h},r.animate(s,a);i["zone-graph-"+l];)i["zone-graph-"+l].animate(s,a),l+=1;n||[i.group,i.markerGroup,i.dataLabelsGroup,i.labelBySeries].forEach((function(t){t&&t.animate({opacity:c},a)}))}e&&n&&i.points&&i.setAllPointsToState(t||void 0)}},{key:"setAllPointsToState",value:function(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))}},{key:"setVisible",value:function(t,e){var i=this,s=i.chart,r=s.options.chart.ignoreHiddenSeries,n=i.visible,o=(i.visible=t=i.options.visible=i.userOptions.visible="undefined"===typeof t?!n:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(t){i[t]&&i[t][o]()})),s.hoverSeries!==i&&(s.hoverPoint&&s.hoverPoint.series)!==i||i.onMouseOut(),i.legendItem&&s.legend.colorizeItem(i,t),i.isDirty=!0,i.options.stacking&&s.series.forEach((function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),i.linkedSeries.forEach((function(e){e.setVisible(t,!1)})),r&&(s.isDirtyBox=!0),O(i,o),!1!==e&&s.redraw()}},{key:"show",value:function(){this.setVisible(!0)}},{key:"hide",value:function(){this.setVisible(!1)}},{key:"select",value:function(t){this.selected=t=this.options.selected="undefined"===typeof t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),O(this,t?"select":"unselect")}},{key:"shouldShowTooltip",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i.series=this,i.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,i)}},{key:"drawLegendSymbol",value:function(t,e){var i;null===(i=r[this.options.legendSymbol||"rectangle"])||void 0===i||i.call(this,t,e)}}]),t}();return F.defaultOptions=o,F.types=a.seriesTypes,F.registerType=a.registerSeriesType,L(F.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:n,requireSorting:!0,sorted:!0}),a.series=F,F})),e(i,"Core/Chart/Chart.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/Defaults.js"],i["Core/Templating.js"],i["Core/Foundation.js"],i["Core/Globals.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Time.js"],i["Core/Utilities.js"],i["Core/Renderer/HTML/AST.js"]],(function(t,e,i,s,r,n,o,a,h,c,d,u,g){var m=t.animate,v=t.animObject,y=t.setAnimation,x=i.defaultOptions,b=i.defaultTime,k=s.numberFormat,A=r.registerEventOptions,S=n.charts,M=n.doc,C=n.marginNames,w=n.svg,T=n.win,P=h.seriesTypes,L=u.addEvent,E=u.attr,O=u.createElement,D=u.css,j=u.defined,R=u.diffObjects,B=u.discardElement,I=u.erase,z=u.error,N=u.extend,G=u.find,U=u.fireEvent,W=u.getStyle,X=u.isArray,H=u.isNumber,F=u.isObject,Y=u.isString,_=u.merge,V=u.objectEach,q=u.pick,K=u.pInt,Z=u.relativeLength,$=u.removeEvent,Q=u.splat,J=u.syncTimeout,tt=u.uniqueKey,et=function(){function t(e,i,s){p(this,t),this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.labelCollectors=this.isResizing=this.index=this.eventOptions=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.sharedClips={},this.zooming=this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0,this.getArgs(e,i,s)}return f(t,[{key:"getArgs",value:function(t,e,i){Y(t)||t.nodeName?(this.renderTo=t,this.init(e,i)):this.init(t,e)}},{key:"setZoomOptions",value:function(){var t=this.options.chart,e=t.zooming;this.zooming=Object.assign(Object.assign({},e),{type:q(t.zoomType,e.type),key:q(t.zoomKey,e.key),pinchType:q(t.pinchType,e.pinchType),singleTouch:q(t.zoomBySingleTouch,e.singleTouch,!1),resetButton:_(e.resetButton,t.resetZoomButton)})}},{key:"init",value:function(t,e){U(this,"init",{args:arguments},(function(){var i=_(x,t),s=i.chart;this.userOptions=N({},t),this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=i,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new d(t.time):n.time,this.numberFormatter=s.numberFormatter||k,this.styledMode=s.styledMode,this.hasCartesianSeries=s.showAxes,this.index=S.length,S.push(this),n.chartCount++,A(this,s),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),U(this,"afterInit"),this.firstRender()}))}},{key:"initSeries",value:function(t){var e=this.options.chart;e=t.type||e.type;var i=P[e];return i||z(17,!0,this,{missingModuleFor:e}),"function"===typeof(e=new i).init&&e.init(this,t),e}},{key:"setSeriesData",value:function(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))}},{key:"getSeriesOrderByLinks",value:function(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))}},{key:"orderItems",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=this[t],s=this.options[t]=Q(this.options[t]).slice();if(t=this.userOptions[t]=this.userOptions[t]?Q(this.userOptions[t]).slice():[],this.hasRendered&&(s.splice(e),t.splice(e)),i)for(var r=e,n=i.length;r2&&void 0!==arguments[2]?arguments[2]:{},r=this.inverted,n=this.plotBox,o=this.plotLeft,a=this.plotTop,h=this.scrollablePlotBox,l=0,c=0;s.visiblePlotOnly&&this.scrollingContainer&&(l=(i=this.scrollingContainer).scrollLeft,c=i.scrollTop);var d=s.series,u=s.visiblePlotOnly&&h||n,p=s.inverted?e:t;if(t={x:p,y:e=s.inverted?t:e,isInsidePlot:!0,options:s},!s.ignoreX){var f=d&&(r&&!this.polar?d.yAxis:d.xAxis)||{pos:o,len:1/0};(p=s.paneCoordinates?f.pos+p:o+p)>=Math.max(l+o,f.pos)&&p<=Math.min(l+o+u.width,f.pos+f.len)||(t.isInsidePlot=!1)}return!s.ignoreY&&t.isInsidePlot&&(l=!r&&s.axis&&!s.axis.isXAxis&&s.axis||d&&(r?d.xAxis:d.yAxis)||{pos:a,len:1/0},(s=s.paneCoordinates?l.pos+e:a+e)>=Math.max(c+a,l.pos)&&s<=Math.min(c+a+u.height,l.pos+l.len)||(t.isInsidePlot=!1)),U(this,"afterIsInsidePlot",t),t.isInsidePlot}},{key:"redraw",value:function(t){U(this,"beforeRedraw");var e,i,s,r=this.hasCartesianSeries?this.axes:this.colorAxis||[],n=this.series,o=this.pointer,a=this.legend,h=this.userOptions.legend,l=this.renderer,c=l.isHidden(),d=[],u=this.isDirtyBox,p=this.isDirtyLegend;for(l.rootFontSize=l.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),y(!!this.hasRendered&&t,this),c&&this.temporaryDisplay(),this.layOutTitles(!1),t=n.length;t--;)if(((s=n[t]).options.stacking||s.options.centerInCategory)&&(i=!0,s.isDirty)){e=!0;break}if(e)for(t=n.length;t--;)(s=n[t]).options.stacking&&(s.isDirty=!0);n.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"===typeof t.updateTotals&&t.updateTotals(),p=!0):h&&(h.labelFormatter||h.labelFormat)&&(p=!0)),t.isDirtyData&&U(t,"updatedData")})),p&&a&&a.options.enabled&&(a.render(),this.isDirtyLegend=!1),i&&this.getStacks(),r.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),r.forEach((function(t){t.isDirty&&(u=!0)})),r.forEach((function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,d.push((function(){U(t,"afterSetExtremes",N(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(u||i)&&t.redraw()})),u&&this.drawChartBox(),U(this,"predraw"),n.forEach((function(t){(u||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),o&&o.reset(!0),l.draw(),U(this,"redraw"),U(this,"render"),c&&this.temporaryDisplay(!0),d.forEach((function(t){t.call()}))}},{key:"get",value:function(t){function e(e){return e.id===t||e.options&&e.options.id===t}for(var i=this.series,s=G(this.axes,e)||G(this.series,e),r=0;!s&&r0&&void 0!==arguments[0])||arguments[0],e=[0,0,0],i=this.renderer,s=this.spacingBox;["title","subtitle","caption"].forEach((function(t){var r=this[t],n=this.options[t],o=n.verticalAlign||"top";if(t="title"===t?"top"===o?-3:0:"top"===o?e[0]+2:0,r){r.css({width:(n.width||s.width+(n.widthAdjust||0))+"px"});var a=i.fontMetrics(r).b,h=Math.round(r.getBBox(n.useHTML).height);r.align(N({y:"bottom"===o?a:t+a,height:h},n),!1,"spacingBox"),n.floating||("top"===o?e[0]=Math.ceil(e[0]+h):"bottom"===o&&(e[2]=Math.ceil(e[2]+h)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);var r=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,U(this,"afterLayOutTitles"),!this.isDirtyBox&&r&&(this.isDirtyBox=this.isDirtyLegend=r,this.hasRendered&&t&&this.isDirtyBox&&this.redraw())}},{key:"getContainerBox",value:function(){return{width:W(this.renderTo,"width",!0)||0,height:W(this.renderTo,"height",!0)||0}}},{key:"getChartSize",value:function(){var t=this.options.chart,e=t.width;t=t.height;var i=this.getContainerBox();this.chartWidth=Math.max(0,e||i.width||600),this.chartHeight=Math.max(0,Z(t,this.chartWidth)||(1i.pointCount))}},{key:"pan",value:function(t,e){var i=this,s=i.hoverPoints;e="object"===typeof e?e:{enabled:e,type:"x"};var r=i.options.chart;r&&r.panning&&(r.panning=e);var n,o=e.type;U(this,"pan",{originalEvent:t},(function(){s&&s.forEach((function(t){t.setState()}));var e=i.xAxis;"xy"===o?e=e.concat(i.yAxis):"y"===o&&(e=i.yAxis);var r={};e.forEach((function(e){if(e.options.panningEnabled&&!e.options.isInternal){var s=e.horiz,a=t[s?"chartX":"chartY"],h=i[s=s?"mouseDownX":"mouseDownY"],l=e.minPointOffset||0,c=e.reversed&&!i.inverted||!e.reversed&&i.inverted?-1:1,d=e.getExtremes(),u=e.toValue(h-a,!0)+l*c,p=e.toValue(h+e.len-a,!0)-(l*c||e.isXAxis&&e.pointRangePadding||0),f=p=c&&u<=p&&(e.setExtremes(h,u,!1,!1,{trigger:"pan"}),!i.resetZoomButton&&h!==c&&u!==p&&o.match("y")&&(i.showResetZoom(),e.displayBtn=!1),n=!0),r[s]=a)}})),V(r,(function(t,e){i[e]=t})),n&&i.redraw(!1),D(i.container,{cursor:"move"})}))}}],[{key:"chart",value:function(e,i,s){return new t(e,i,s)}}]),t}();return N(et.prototype,{callbacks:[],collectionsWithInit:{xAxis:[et.prototype.addAxis,[!0]],yAxis:[et.prototype.addAxis,[!1]],series:[et.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),et})),e(i,"Extensions/ScrollablePlotArea.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/Chart/Chart.js"],i["Core/Series/Series.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,s,r,n){var o=t.stop,a=n.addEvent,h=n.createElement,l=n.defined,c=n.merge,d=n.pick;a(i,"afterSetChartSize",(function(t){var i,s=this.options.chart.scrollablePlotArea,r=s&&s.minWidth;s=s&&s.minHeight,this.renderer.forExport||(r?(this.scrollablePixelsX=r=Math.max(0,r-this.chartWidth))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.width=this.plotWidth+=r,this.inverted?this.clipBox.height+=r:this.clipBox.width+=r,i={1:{name:"right",value:r}}):s&&(this.scrollablePixelsY=r=Math.max(0,s-this.chartHeight),l(r)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.height=this.plotHeight+=r,this.inverted?this.clipBox.width+=r:this.clipBox.height+=r,i={2:{name:"bottom",value:r}})),i&&!t.skipAxes&&this.axes.forEach((function(t){i[t.side]?t.getPlotLinePath=function(){var s,r=i[t.side].name,n=this[r];return this[r]=n-i[t.side].value,s=e.prototype.getPlotLinePath.apply(this,arguments),this[r]=n,s}:(t.setAxisSize(),t.setAxisTranslation())})))})),a(i,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),i.prototype.setUpScrolling=function(){var t,e=this,i={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(i.overflowX="auto"),this.scrollablePixelsY&&(i.overflowY="auto"),this.scrollingParent=h("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=h("div",{className:"highcharts-scrolling"},i,this.scrollingParent),a(this.scrollingContainer,"scroll",(function(){e.pointer&&(delete e.pointer.chartPosition,e.hoverPoint&&(t=e.hoverPoint),e.pointer.runPointActions(void 0,t,!0))})),this.innerContainer=h("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},i.prototype.moveFixedElements=function(){var t,e=this.container,i=this.fixedRenderer,s=".highcharts-breadcrumbs-group .highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&s.push("".concat(t,":not(.highcharts-radial-axis)"),"".concat(t,"-labels:not(.highcharts-radial-axis-labels)")),s.forEach((function(t){[].forEach.call(e.querySelectorAll(t),(function(t){(t.namespaceURI===i.SVG_NS?i.box:i.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}))},i.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,i=e.scrollablePlotArea,s=r.getRendererType();t?(this.fixedDiv=h("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new s(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":d(i.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),a(this,"afterShowResetZoom",this.moveFixedElements),a(this,"afterApplyDrilldown",this.moveFixedElements),a(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),s=this.chartHeight+(this.scrollablePixelsY||0),o(this.container),this.container.style.width=e+"px",this.container.style.height=s+"px",this.renderer.boxWrapper.attr({width:e,height:s,viewBox:[0,0,e,s].join(" ")}),this.chartBackground.attr({width:e,height:s}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(i.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*i.scrollPositionX),i.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*i.scrollPositionY)),s=this.axisOffset,t=this.plotTop-s[0]-1,i=this.plotLeft-s[3]-1,e=this.plotTop+this.plotHeight+s[2]+1,s=this.plotLeft+this.plotWidth+s[1]+1;var n=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),l=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",n,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",n,e],["Z"]]:this.scrollablePixelsY?[["M",i,0],["L",i,this.plotTop-1],["L",s,this.plotTop-1],["L",s,0],["Z"],["M",i,l],["L",i,this.chartHeight],["L",s,this.chartHeight],["L",s,l],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},a(e,"afterInit",(function(){this.chart.scrollableDirty=!0})),a(s,"show",(function(){this.chart.scrollableDirty=!0}))})),e(i,"Core/Axis/Stacking/StackItem.js",[i["Core/Templating.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i){var s=t.format,r=e.series,n=i.destroyObjectProperties,o=i.fireEvent,a=i.isNumber,h=i.pick,l=function(){function t(e,i,s,r,n){p(this,t);var o=e.chart.inverted,a=e.reversed;this.axis=e,e=this.isNegative=!!s!==!!a,this.options=i=i||{},this.x=r,this.cumulative=this.total=null,this.points={},this.hasValidPoints=!1,this.stack=n,this.rightCliff=this.leftCliff=0,this.alignOptions={align:i.align||(o?e?"left":"right":"center"),verticalAlign:i.verticalAlign||(o?"middle":e?"bottom":"top"),y:i.y,x:i.x},this.textAlign=i.textAlign||(o?e?"right":"left":"center")}return f(t,[{key:"destroy",value:function(){n(this,this.axis)}},{key:"render",value:function(t){var e=this.axis.chart,i=this.options,r=i.format;r=r?s(r,this,e):i.formatter.call(this),this.label?this.label.attr({text:r,visibility:"hidden"}):(this.label=e.renderer.label(r,null,void 0,i.shape,void 0,void 0,i.useHTML,!1,"stack-labels"),r={r:i.borderRadius||0,text:r,padding:h(i.padding,5),visibility:"hidden"},e.styledMode||(r.fill=i.backgroundColor,r.stroke=i.borderColor,r["stroke-width"]=i.borderWidth,this.label.css(i.style||{})),this.label.attr(r),this.label.added||this.label.add(t)),this.label.labelrank=e.plotSizeY,o(this,"afterRender")}},{key:"setOffset",value:function(t,e,i,s,n,l){var c=this.alignOptions,d=this.axis,u=this.label,p=this.options,f=this.textAlign,g=d.chart;i=this.getStackBox({xOffset:t,width:e,boxBottom:i,boxTop:s,defaultX:n,xAxis:l});var m=c.verticalAlign;if(u&&i){s=u.getBBox(),n=u.padding,l="justify"===h(p.overflow,"justify"),c.x=p.x||0,c.y=p.y||0;var v=this.adjustStackPosition({labelBox:s,verticalAlign:m,textAlign:f}),y=v.x,x=v.y;i.x-=y,i.y-=x,u.align(c,!1,i),(m=g.isInsidePlot(u.alignAttr.x+c.x+y,u.alignAttr.y+c.y+x))||(l=!1),l&&r.prototype.justifyDataLabel.call(d,u,c,u.alignAttr,s,i),u.attr({x:u.alignAttr.x,y:u.alignAttr.y,rotation:p.rotation,rotationOriginX:s.width/2,rotationOriginY:s.height/2}),h(!l&&p.crop,!0)&&(m=a(u.x)&&a(u.y)&&g.isInsidePlot(u.x-n+u.width,u.y)&&g.isInsidePlot(u.x+n,u.y)),u[m?"show":"hide"]()}o(this,"afterSetOffset",{xOffset:t,width:e})}},{key:"adjustStackPosition",value:function(t){var e=t.labelBox,i=t.verticalAlign,s=t.textAlign,r={bottom:0,middle:1,top:2,right:1,center:0,left:-1};return{x:e.width/2+e.width/2*r[s],y:e.height/2*r[i]}}},{key:"getStackBox",value:function(t){var e=this.axis,i=e.chart,s=t,r=s.boxTop,n=s.defaultX,o=s.xOffset,l=s.width,c=s.boxBottom,d=e.stacking.usePercentage?100:h(r,this.total,0);d=e.toPixels(d),t=t.xAxis||i.xAxis[0];var u=h(n,t.translate(this.x))+o;e=e.toPixels(c||a(e.min)&&e.logarithmic&&e.logarithmic.lin2log(e.min)||0),e=Math.abs(d-e);var p=this.isNegative;return i.inverted?{x:(p?d:d-e)-i.plotLeft,y:t.height-u-l,width:e,height:l}:{x:u+t.transB-i.plotLeft,y:(p?d-e:d)-i.plotTop,width:l,height:e}}}]),t}();return l})),e(i,"Core/Axis/Stacking/StackingAxis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Axis/Stacking/StackItem.js"],i["Core/Utilities.js"]],(function(t,e,i,s,r){function n(){var t=this,e=t.inverted;t.yAxis.forEach((function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),t.series.forEach((function(i){var s=i.xAxis&&i.xAxis.options||{};!i.options.stacking||!0!==i.visible&&!1!==t.options.chart.ignoreHiddenSeries||(i.stackKey=[i.type,w(i.options.stack,""),e?s.top:s.left,e?s.height:s.width].join())}))}function o(){var t=this.stacking;if(t){var e=t.stacks;C(e,(function(t,i){k(t),e[i]=null})),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}}function a(){"yAxis"!==this.coll||this.stacking||(this.stacking=new T(this))}function h(t,e,i,s){return!b(t)||t.x!==e||s&&t.stackKey!==s?t={x:e,index:0,key:s,stackKey:s}:t.index++,t.key=[i,e,t.index].join(),t}function l(){var t,e=this,i=e.stackKey,s=e.yAxis.stacking.stacks,r=e.processedXData,n=e[e.options.stacking+"Stacker"];n&&[i,"-"+i].forEach((function(i){for(var o,a=r.length;a--;){var h=r[a];t=e.getStackIndicator(t,h,e.index,i),(o=(h=s[i]&&s[i][h])&&h.points[t.key])&&n.call(e,o,h,a)}}))}function c(t,e,i){e=e.total?100/e.total:0,t[0]=x(t[0]*e),t[1]=x(t[1]*e),this.stackedYData[i]=t[1]}function d(){var t=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1n&&e.shadow)),a&&(a.startX=i.xMap,a.isArea=i.isArea)}))}},{key:"getGraphPath",value:function(t,e,i){var r,n=this,o=n.options,a=[],h=[],l=o.step,c=(t=t||n.points).reversed;return c&&t.reverse(),(l={right:1,center:2}[l]||l&&3)&&c&&(l=4-l),(t=this.getValidPoints(t,!1,!(o.connectNulls&&!e&&!i))).forEach((function(c,d){var u=c.plotX,p=c.plotY,f=t[d-1],g=c.isNull||"number"!==typeof p;(c.leftCliff||f&&f.rightCliff)&&!i&&(r=!0),g&&!s(e)&&0t&&n>h?o=2*h-(n=Math.max(t,h)):ni&&o>h?n=2*h-(o=Math.max(i,h)):o=Math.abs(e)&&.5t.closestPointRange*t.xAxis.transA;s=t.borderWidth=M(i.borderWidth,s?0:1);var n=t.xAxis,o=t.yAxis,a=i.threshold,h=M(i.minPointLength,5),l=t.getColumnMetrics(),c=l.width,d=t.pointXOffset=l.offset,u=t.dataMin,p=t.dataMax,f=t.barW=Math.max(c,1+2*s),g=t.translatedThreshold=o.getThreshold(a);e.inverted&&(g-=.5),i.pointPadding&&(f=Math.ceil(f)),r.prototype.translate.apply(t),t.points.forEach((function(s){var r=M(s.yBottom,g),m=999+Math.abs(r),x=s.plotX||0;m=v(s.plotY,-m,o.len+m);var b=Math.min(m,r),k=Math.max(m,r)-b,S=c,C=x+d,w=f;h&&Math.abs(k)h?r-h:g-(x?h:0)),y(s.options.pointWidth)&&(S=w=Math.ceil(s.options.pointWidth),C-=Math.round((S-c)/2)),i.centerInCategory&&(C=t.adjustForMissingColumns(C,S,s,l)),s.barX=C,s.pointWidth=S,s.tooltipPos=e.inverted?[v(o.len+o.pos-e.plotLeft-m,o.pos-e.plotLeft,o.len+o.pos-e.plotLeft),n.len+n.pos-e.plotTop-C-w/2,k]:[n.left-e.plotLeft+C+w/2,v(m+o.pos-e.plotTop,o.pos-e.plotTop,o.len+o.pos-e.plotTop),k],s.shapeType=t.pointClass.prototype.shapeType||"roundedRect",s.shapeArgs=t.crispCol(C,s.isNull?g:b,w,s.isNull?0:k)})),b(this,"afterColumnTranslate")}},{key:"drawGraph",value:function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}},{key:"pointAttribs",value:function(t,e){var i,s=this.options,r=this.pointAttrToOptions||{},n=r.stroke||"borderColor",o=r["stroke-width"]||"borderWidth",a=t&&t.color||this.color,h=t&&t[n]||s[n]||a;r=t&&t.options.dashStyle||s.dashStyle;var l=t&&t[o]||s[o]||this[o]||0,d=M(t&&t.opacity,s.opacity,1);return t&&this.zones.length&&(i=t.getZone(),a=t.options.color||i&&(i.color||t.nonZonedColor)||this.color,i&&(h=i.borderColor||h,r=i.dashStyle||r,l=i.borderWidth||l)),e&&t&&(e=(t=S(s.states[e],t.options.states&&t.options.states[e]||{})).brightness,a=t.color||"undefined"!==typeof e&&c(a).brighten(t.brightness).get()||a,h=t[n]||h,l=t[o]||l,r=t.dashStyle||r,d=M(t.opacity,d)),n={fill:a,stroke:h,"stroke-width":l,opacity:d},r&&(n.dashstyle=r),n}},{key:"drawPoints",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.points,i=this,s=this.chart,r=i.options,n=s.renderer,o=r.animationLimit||250;e.forEach((function(e){var a=e.graphic,h=!!a,l=a&&s.pointCount0&&void 0!==arguments[0]?arguments[0]:this.points,i=this,s=i.chart,r=s.pointer,n=function(t){var e=r.getPointFromEvent(t);"undefined"!==typeof e&&i.options.enableMouseTracking&&(r.isDirectTouch=!0,e.onMouseOver(t))};e.forEach((function(e){t=k(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))})),i._hasTracking||(i.trackerGroups.forEach((function(t){i[t]&&(i[t].addClass("highcharts-tracker").on("mouseover",n).on("mouseout",(function(t){r.onTrackerMouseOut(t)})),g&&i[t].on("touchstart",n),!s.styledMode&&i.options.cursor&&i[t].css({cursor:i.options.cursor}))})),i._hasTracking=!0),b(this,"afterDrawTracker")}},{key:"remove",value:function(){var t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),r.prototype.remove.apply(t,arguments)}}]),i}(r);return w.defaultOptions=S(r.defaultOptions,i),x(w.prototype,{cropShoulder:0,directTouch:!0,getSymbol:m,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),n.registerSeriesType("column",w),w})),e(i,"Core/Series/DataLabel.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Templating.js"],i["Core/Utilities.js"]],(function(t,e,i){var s,r=t.getDeferredAnimation,n=e.format,o=i.defined,a=i.extend,h=i.fireEvent,l=i.isArray,c=i.isString,d=i.merge,u=i.objectEach,p=i.pick,f=i.splat;return function(t){function e(t,e,i,s,r){var n=this.chart,h=this.isCartesian&&n.inverted,l=this.enabledDataSorting,c=t.plotX,d=t.plotY,u=i.rotation,f=i.align;d=o(c)&&o(d)&&n.isInsidePlot(c,Math.round(d),{inverted:h,paneCoordinates:!0,series:this});var g="justify"===p(i.overflow,l?"none":"justify");if(h=this.visible&&!1!==t.visible&&o(c)&&(t.series.forceDL||l&&!g||d||p(i.inside,!!this.options.stacking)&&s&&n.isInsidePlot(c,h?s.x+1:s.y+s.height-1,{inverted:h,paneCoordinates:!0,series:this})),c=t.pos(),h&&c){u&&e.attr({align:f}),f=e.getBBox(!0);var m=[0,0],v=n.renderer.fontMetrics(e).b;if(s=a({x:c[0],y:Math.round(c[1]),width:0,height:0},s),a(i,{width:f.width,height:f.height}),u?(g=!1,m=n.renderer.rotCorr(v,u),v={x:s.x+(i.x||0)+s.width/2+m.x,y:s.y+(i.y||0)+{top:0,middle:.5,bottom:1}[i.verticalAlign]*s.height},m=[f.x-Number(e.attr("x")),f.y-Number(e.attr("y"))],l&&this.xAxis&&!g&&this.setDataLabelStartPos(t,e,r,d,v),e[r?"attr":"animate"](v)):(l&&this.xAxis&&!g&&this.setDataLabelStartPos(t,e,r,d,s),e.align(i,void 0,s),v=e.alignAttr),g&&0<=s.height)this.justifyDataLabel(e,i,v,f,s,r);else if(p(i.crop,!0)){var y=v,x=y.x,b=y.y;x+=m[0],b+=m[1],h=n.isInsidePlot(x,b,{paneCoordinates:!0,series:this})&&n.isInsidePlot(x+f.width,b+f.height,{paneCoordinates:!0,series:this})}i.shape&&!u&&e[r?"attr":"animate"]({anchorX:c[0],anchorY:c[1]})}r&&l&&(e.placed=!1),h||l&&!g?e.show():(e.hide(),e.placed=!1)}function s(){return this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",this.options.dataLabels.zIndex||6)}function g(t){var e=this.hasRendered||0,i=this.initDataLabelsGroup().attr({opacity:+e});return!e&&i&&(this.visible&&i.show(),this.options.animation?i.animate({opacity:1},t):i.attr({opacity:1})),i}function m(){var t,e,i,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.points,a=this,d=a.chart,g=a.options,m=d.renderer,v=d.options.chart,x=v.backgroundColor,b=v.plotBackgroundColor,k=d.options.plotOptions,A=m.getContrast(c(b)&&b||c(x)&&x||"#000000"),S=g.dataLabels,M=f(S)[0],C=M.animation;M=M.defer?r(d,C,a):{defer:0,duration:0},S=y(y(null===(t=null===k||void 0===k?void 0:k.series)||void 0===t?void 0:t.dataLabels,null===(e=null===k||void 0===k?void 0:k[a.type])||void 0===e?void 0:e.dataLabels),S),h(this,"drawDataLabels"),(l(S)||S.enabled||a._hasPointLabels)&&(i=this.initDataLabels(M),s.forEach((function(t){var e,s=t.dataLabels||[];for(f(y(S,t.dlOptions||(null===(e=t.options)||void 0===e?void 0:e.dataLabels))).forEach((function(e,r){var h,l=e.enabled&&(!t.isNull||t.dataLabelOnNull)&&function(t,e){var i=e.filter;return!i||(e=i.operator,t=t[i.property],i=i.value,">"===e&&t>i||"<"===e&&t="===e&&t>=i||"<="===e&&t<=i||"=="===e&&t==i||"==="===e&&t===i)}(t,e),f=t.connectors?t.connectors[r]:t.connector,v=e.style||{},y={},x=s[r],b=!x,k=p(e.distance,t.labelDistance);if(l){var S=p(e[t.formatPrefix+"Format"],e.format),M=t.getLabelConfig();if(M=o(S)?n(S,M,d):(e[t.formatPrefix+"Formatter"]||e.formatter).call(M,e),S=e.rotation,d.styledMode||(v.color=p(e.color,v.color,c(a.color)?a.color:void 0,"#000000"),"contrast"===v.color?(t.contrastColor=m.getContrast(t.color||a.color),v.color=!o(k)&&e.inside||0>(k||0)||g.stacking?t.contrastColor:A):delete t.contrastColor,g.cursor&&(v.cursor=g.cursor)),y={r:e.borderRadius||0,rotation:S,padding:e.padding,zIndex:1},!d.styledMode){var C=e.backgroundColor,w=e.borderColor;y.fill="auto"===C?t.color:C,y.stroke="auto"===w?t.color:w,y["stroke-width"]=e.borderWidth}u(y,(function(t,e){"undefined"===typeof t&&delete y[e]}))}!x||l&&o(M)&&!!x.div===!!e.useHTML&&(x.rotation&&e.rotation||x.rotation===e.rotation)||(x=void 0,b=!0,f&&t.connector&&(t.connector=t.connector.destroy(),t.connectors&&(1===t.connectors.length?delete t.connectors:delete t.connectors[r]))),l&&o(M)&&(x?y.text=M:(x=S?m.text(M,0,0,e.useHTML).addClass("highcharts-data-label"):m.label(M,0,0,e.shape,void 0,void 0,e.useHTML,void 0,"data-label"))&&x.addClass(" highcharts-data-label-color-"+t.colorIndex+" "+(e.className||"")+(e.useHTML?" highcharts-tracker":"")),x&&(x.options=e,x.attr(y),d.styledMode||x.css(v).shadow(e.shadow),(l=e[t.formatPrefix+"TextPath"]||e.textPath)&&!e.useHTML&&(x.setTextPath((null===(h=t.getDataLabelPath)||void 0===h?void 0:h.call(t,x))||t.graphic,l),t.dataLabelPath&&!l.enabled&&(t.dataLabelPath=t.dataLabelPath.destroy())),x.added||x.add(i),a.alignDataLabel(t,x,e,void 0,b),x.isActive=!0,s[r]&&s[r]!==x&&s[r].destroy(),s[r]=x))})),e=s.length;e--;)s[e].isActive?s[e].isActive=!1:(s[e].destroy(),s.splice(e,1));t.dataLabel=s[0],t.dataLabels=s}))),h(this,"afterDrawDataLabels")}function v(t,e,i,s,r,n){var o,a,h=this.chart,l=e.align,c=e.verticalAlign,d=t.box?0:t.padding||0,u=e.x,p=void 0===u?0:u,f=e.y,g=void 0===f?0:f;return 0>(o=(i.x||0)+d)&&("right"===l&&0<=p?(e.align="left",e.inside=!0):p-=o,a=!0),(o=(i.x||0)+s.width-d)>h.plotWidth&&("left"===l&&0>=p?(e.align="right",e.inside=!0):p+=h.plotWidth-o,a=!0),0>(o=i.y+d)&&("bottom"===c&&0<=g?(e.verticalAlign="top",e.inside=!0):g-=o,a=!0),(o=(i.y||0)+s.height-d)>h.plotHeight&&("top"===c&&0>=g?(e.verticalAlign="bottom",e.inside=!0):g+=h.plotHeight-o,a=!0),a&&(e.x=p,e.y=g,t.placed=!n,t.align(e,void 0,r)),a}function y(t,e){var i,s=[];if(l(t)&&!l(e))s=t.map((function(t){return d(t,e)}));else if(l(e)&&!l(t))s=e.map((function(e){return d(t,e)}));else if(l(t)||l(e)){if(l(t)&&l(e))for(i=Math.max(t.length,e.length);i--;)s[i]=d(t[i],e[i])}else s=d(t,e);return s}function x(t,e,i,s,r){var n=this.chart,o=n.inverted,a=this.xAxis,h=a.reversed,l=o?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=o?r.x:h?-l-t:a.width-l+t,e.startYPos=o?h?this.yAxis.height-l+t:-l-t:r.y,s?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),n.hasRendered&&(i&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}var b=[];t.compose=function(t){i.pushUnique(b,t)&&((t=t.prototype).initDataLabelsGroup=s,t.initDataLabels=g,t.alignDataLabel=e,t.drawDataLabels=m,t.justifyDataLabel=v,t.setDataLabelStartPos=x)}}(s||(s={})),s})),e(i,"Series/Column/ColumnDataLabel.js",[i["Core/Series/DataLabel.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i){var s,r=e.series,n=i.merge,o=i.pick;return function(e){function s(t,e,i,s,a){var h=this.chart.inverted,l=t.series,c=(l.xAxis?l.xAxis.len:this.chart.plotSizeX)||0;l=(l.yAxis?l.yAxis.len:this.chart.plotSizeY)||0;var d=t.dlBox||t.shapeArgs,u=o(t.below,t.plotY>o(this.translatedThreshold,l)),p=o(i.inside,!!this.options.stacking);d&&(0>(s=n(d)).y&&(s.height+=s.y,s.y=0),0<(d=s.y+s.height-l)&&d\u25cf {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}})),e(i,"Series/Scatter/ScatterSeries.js",[i["Series/Scatter/ScatterSeriesDefaults.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i){var s=e.seriesTypes,r=s.column,n=s.line,o=i.addEvent,l=i.extend,c=i.merge,g=function(t){d(i,t);var e=u(i);function i(){var t;return p(this,i),(t=e.apply(this,arguments)).points=t.options=t.data=void 0,t}return f(i,[{key:"applyJitter",value:function(){var t=this,e=this.options.jitter,i=this.points.length;e&&this.points.forEach((function(s,r){["x","y"].forEach((function(n,o){var a,h,l="plot"+n.toUpperCase();if(e[n]&&!s.isNull){var c=t[n+"Axis"];h=e[n]*c.transA,c&&!c.isLog&&(a=Math.max(0,s[l]-h),c=Math.min(c.len,s[l]+h),o=1e4*Math.sin(r+o*i),o-=Math.floor(o),s[l]=a+(c-a)*o,"x"===n&&(s.clientX=s.plotX))}}))}))}},{key:"drawGraph",value:function(){this.options.lineWidth?a(h(i.prototype),"drawGraph",this).call(this):this.graph&&(this.graph=this.graph.destroy())}}]),i}(n);return g.defaultOptions=c(n.defaultOptions,t),l(g.prototype,{drawTracker:r.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),o(g,"afterTranslate",(function(){this.applyJitter()})),e.registerSeriesType("scatter",g),g})),e(i,"Series/CenteredUtilities.js",[i["Core/Globals.js"],i["Core/Series/Series.js"],i["Core/Utilities.js"]],(function(t,e,i){var s,r=t.deg2rad,n=i.fireEvent,o=i.isNumber,a=i.pick,h=i.relativeLength;return function(t){t.getCenter=function(){var t=this.options,i=this.chart,s=2*(t.slicedOffset||0),r=i.plotWidth-2*s,l=i.plotHeight-2*s,c=t.center,d=Math.min(r,l),u=t.thickness,p=t.size,f=t.innerSize||0;for("string"===typeof p&&(p=parseFloat(p)),"string"===typeof f&&(f=parseFloat(f)),t=[a(c[0],"50%"),a(c[1],"50%"),a(p&&0>p?void 0:t.size,"100%"),a(f&&0>f?void 0:t.innerSize||0,"0%")],!i.angular||this instanceof e||(t[3]=0),c=0;4>c;++c)p=t[c],i=2>c||2===c&&/%$/.test(p),t[c]=h(p,[r,l,d,t[2]][c])+(i?s:0);return t[3]>t[2]&&(t[3]=t[2]),o(u)&&2*ut&&360>e-t?e:t+360,{start:r*(t+-90),end:r*(e+-90)}}}(s||(s={})),s})),e(i,"Series/Pie/PiePoint.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],(function(t,e,i){var s=t.setAnimation,r=i.addEvent,n=i.defined,l=i.extend,c=i.isNumber,g=i.pick,m=i.relativeLength,v=function(t){d(i,t);var e=u(i);function i(){var t;return p(this,i),(t=e.apply(this,arguments)).series=t.options=t.labelDistance=void 0,t}return f(i,[{key:"getConnectorPath",value:function(){var t=this.labelPosition,e=this.series.options.dataLabels,i=this.connectorShapes,s=e.connectorShape;return i[s]&&(s=i[s]),s.call(this,{x:t.computed.x,y:t.computed.y,alignment:t.alignment},t.connectorPosition,e)}},{key:"getTranslate",value:function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}}},{key:"haloPath",value:function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end,borderRadius:e.borderRadius})}},{key:"init",value:function(){var t=this;a(h(i.prototype),"init",this).apply(this,arguments),this.name=g(this.name,"Slice");var e=function(e){t.slice("select"===e.type)};return r(this,"select",e),r(this,"unselect",e),this}},{key:"isValid",value:function(){return c(this.y)&&0<=this.y}},{key:"setVisible",value:function(t,e){var i=this,s=this.series,r=s.chart,n=s.options.ignoreHiddenPoint;e=g(e,n),t!==this.visible&&(this.visible=this.options.visible=t="undefined"===typeof t?!this.visible:t,s.options.data[s.data.indexOf(this)]=this.options,["graphic","dataLabel","connector"].forEach((function(e){i[e]&&i[e][t?"show":"hide"](t)})),this.legendItem&&r.legend.colorizeItem(this,t),t||"hover"!==this.state||this.setState(""),n&&(s.isDirty=!0),e&&r.redraw())}},{key:"slice",value:function(t,e,i){var r=this.series;s(i,r.chart),g(e,!0),this.sliced=this.options.sliced=n(t)?t:!this.sliced,r.options.data[r.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}]),i}(e);return l(v.prototype,{connectorShapes:{fixedOffset:function(t,e,i){var s=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],i.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*s.x-e.x,2*s.y-e.y,s.x,s.y]:["L",s.x,s.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,i){var s=e,r=s.breakAt,n=s.touchingSliceAt;e=this.series;var a=o(e.center,3),h=a[0],l=a[1],c=a[2]/2,d=e.chart.plotWidth,u=e.chart.plotLeft;e="left"===t.alignment;var p=t,f=p.x,g=p.y;return i.crookDistance?(t=m(i.crookDistance,1),t=e?h+c+(d+u-h-c)*(1-t):u+(h-c)*t):t=h+(l-g)*Math.tan((this.angle||0)-Math.PI/2),i=[["M",f,g]],(e?t<=f&&t>=r.x:t>=f&&t<=r.x)&&i.push(["L",t,g]),i.push(["L",r.x,r.y],["L",n.x,n.y]),i}}}),v})),e(i,"Series/Pie/PieSeriesDefaults.js",[],(function(){return{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}})),e(i,"Series/Pie/PieSeries.js",[i["Series/CenteredUtilities.js"],i["Series/Column/ColumnSeries.js"],i["Core/Globals.js"],i["Series/Pie/PiePoint.js"],i["Series/Pie/PieSeriesDefaults.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/Symbols.js"],i["Core/Utilities.js"]],(function(t,e,i,s,r,n,o,l,c){var g=t.getStartAndEndRadians;i=i.noop;var m=c.clamp,v=c.extend,y=c.fireEvent,x=c.merge,b=c.pick,k=c.relativeLength,A=function(t){d(i,t);var e=u(i);function i(){var t;return p(this,i),(t=e.apply(this,arguments)).points=t.options=t.maxLabelDistance=t.data=t.center=void 0,t}return f(i,[{key:"animate",value:function(t){var e=this,i=e.points,s=e.startAngleRad;t||i.forEach((function(t){var i=t.graphic,r=t.shapeArgs;i&&r&&(i.attr({r:b(t.startR,e.center&&e.center[3]/2),start:s,end:s}),i.animate({r:r.r,start:r.start,end:r.end},e.options.animation))}))}},{key:"drawEmpty",value:function(){var t,e,i=this.startAngleRad,s=this.endAngleRad,r=this.options;0===this.total&&this.center?(t=this.center[0],e=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t,e,this.center[1]/2,0,i,s).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:l.arc(t,e,this.center[2]/2,0,{start:i,end:s,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":r.borderWidth,fill:r.fillColor||"none",stroke:r.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}},{key:"drawPoints",value:function(){var t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))}},{key:"generatePoints",value:function(){a(h(i.prototype),"generatePoints",this).call(this),this.updateTotals()}},{key:"getX",value:function(t,e,i){var s=this.center,r=this.radii?this.radii[i.index]||0:s[2]/2;return t=Math.asin(m((t-s[1])/(r+i.labelDistance),-1,1)),s[0]+(e?-1:1)*Math.cos(t)*(r+i.labelDistance)+(01.5*Math.PI?f-=2*Math.PI:f<-Math.PI/2&&(f+=2*Math.PI),c.slicedTranslation={translateX:Math.round(Math.cos(f)*i),translateY:Math.round(Math.sin(f)*i)},m=Math.cos(f)*t[2]/2,h=Math.sin(f)*t[2]/2,c.tooltipPos=[t[0]+.7*m,t[1]+.7*h],c.half=f<-Math.PI/2||f>Math.PI/2?1:0,c.angle=f,p=Math.min(s,c.labelDistance/5),c.labelPosition={natural:{x:t[0]+m+Math.cos(f)*c.labelDistance,y:t[1]+h+Math.sin(f)*c.labelDistance},computed:{},alignment:0>c.labelDistance?"center":c.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+m+Math.cos(f)*p,y:t[1]+h+Math.sin(f)*p},touchingSliceAt:{x:t[0]+m,y:t[1]+h}}}}y(this,"afterTranslate")}},{key:"updateTotals",value:function(){var t,e,i=this.points,s=i.length,r=this.options.ignoreHiddenPoint,n=0;for(t=0;tw&&(t.dataLabel.css({width:Math.round(.7*w)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))})),E.forEach((function(e,i){var h,l=e.length,u=[],x=0;if(l){if(y.sortByAngle(e,i-.5),0S-A&&0===i&&(w=Math.round(c+r-S+A),O[1]=Math.max(w,O[1])),0>f-o/2?O[0]=Math.max(Math.round(o/2-f),O[0]):f+o/2>M&&(O[2]=Math.max(Math.round(f+o/2-M),O[2])),s.sideOverflow=w)}}})),0===l(O)||this.verifyDataLabelOverflow(O))&&(this.placeDataLabels(),this.points.forEach((function(t){var r;v=u(k,t.options.dataLabels),(e=p(v.connectorWidth,1))&&(i=t.connector,(s=t.dataLabel)&&s._pos&&t.visible&&0e.bottom-2?s:i,e.half,e)},justify:function(t,e,i){return i[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,i,s){return t=t.getBBox().width,e?t+s:i-t-s},alignToConnectors:function(t,e,i,s){var r,n=0;return t.forEach((function(t){(r=t.dataLabel.getBBox().width)>n&&(n=r)})),e?n+s:i-n-s}};e.compose=function(e){t.compose(h),r.pushUnique(g,e)&&((e=e.prototype).dataLabelPositioners=m,e.alignDataLabel=o,e.drawDataLabels=i,e.placeDataLabels=s,e.verifyDataLabelOverflow=n)}}(n||(n={})),n})),e(i,"Extensions/OverlappingDataLabels.js",[i["Core/Chart/Chart.js"],i["Core/Utilities.js"]],(function(t,e){function i(t,e){var i,s=!1;return t&&(i=t.newOpacity,t.oldOpacity!==i&&(t.alignAttr&&t.placed?(t[i?"removeClass":"addClass"]("highcharts-data-label-hidden"),s=!0,t.alignAttr.opacity=i,t[t.isOld?"animate":"attr"](t.alignAttr,null,(function(){e.styledMode||t.css({pointerEvents:i?"auto":"none"})})),r(e,"afterHideOverlappingLabel")):t.attr({opacity:i})),t.isOld=!0),s}var s=e.addEvent,r=e.fireEvent,n=e.isArray,o=e.isNumber,a=e.objectEach,h=e.pick;s(t,"render",(function(){var t=this,e=[];(this.labelCollectors||[]).forEach((function(t){e=e.concat(t())})),(this.yAxis||[]).forEach((function(t){t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&a(t.stacking.stacks,(function(t){a(t,(function(t){t.label&&e.push(t.label)}))}))})),(this.series||[]).forEach((function(s){var r=s.options.dataLabels;s.visible&&(!1!==r.enabled||s._hasPointLabels)&&((r=function(s){return s.forEach((function(s){s.visible&&(n(s.dataLabels)?s.dataLabels:s.dataLabel?[s.dataLabel]:[]).forEach((function(r){var n=r.options;r.labelrank=h(n.labelrank,s.labelrank,s.shapeArgs&&s.shapeArgs.height),n.allowOverlap?(r.oldOpacity=r.opacity,r.newOpacity=1,i(r,t)):e.push(r)}))}))})(s.nodes||[]),r(s.points))})),this.hideOverlappingLabels(e)})),t.prototype.hideOverlappingLabels=function(t){var e,s,n,a,h,l=this,c=t.length,d=l.renderer,u=!1,p=function(t){var e,i,s,r,n,a=t.box?0:t.padding||0,h=s=0;if(t&&(!t.alignAttr||t.placed))return e=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},i=t.parentGroup,t.width||(s=t.getBBox(),t.width=s.width,t.height=s.height,s=d.fontMetrics(t.element).h),r=t.width-2*a,(n={left:"0",center:"0.5",right:"1"}[t.alignValue])?h=+n*r:o(t.x)&&Math.round(t.x)!==t.translateX&&(h=t.x-t.translateX),{x:e.x+(i.translateX||0)+a-(h||0),y:e.y+(i.translateY||0)+a-s,width:t.width-2*a,height:t.height-2*a}};for(s=0;s=a.x+a.width||h.x+h.width<=a.x||h.y>=a.y+a.height||h.y+h.height<=a.y||((p.labelrank4&&void 0!==arguments[4]?arguments[4]:{};t=m(t,e,i,s,r);var n=r,o=n.innerR,a=void 0===o?0:o,h=n.r,l=void 0===h?i:h,c=n.start,d=void 0===c?0:c,u=n.end,f=void 0===u?0:u;if(r.open||!r.borderRadius)return t;for(i=f-d,e=Math.sin(i/2),r=Math.max(Math.min(p(r.borderRadius||0,l-a),(l-a)/2,l*e/(1+e)),0),i=Math.min(r,i/Math.PI*2*a),e=t.length-1;e--;){var g=void 0,v=void 0,y=void 0,x=e,b=14&&void 0!==arguments[4]?arguments[4]:{},n=v(t,e,i,s,r),o=r,a=o.r,h=void 0===a?0:a,l=o.brBoxHeight,d=void 0===l?s:l,u=o.brBoxY,p=void 0===u?e:u,f=e-p,g=p+d-(e+s);r=-.1this.borderWidth&&(M="all"),M||(M="end");var C=Math.min(p(t.radius,v),v/2,"all"===M?x/2:1/0)||0;"end"===M&&(S&&(k-=C),A+=C),h(n,{brBoxHeight:A,brBoxY:k,r:C})}}}catch(w){c.e(w)}finally{c.f()}}}),{order:9})}return e={optionsToObject:g}})),e(i,"Core/Responsive.js",[i["Core/Utilities.js"]],(function(t){var e,i=t.diffObjects,s=t.extend,r=t.find,n=t.merge,o=t.pick,a=t.uniqueKey;return function(e){function h(t,e){var i=t.condition;(i.callback||function(){return this.chartWidth<=o(i.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=o(i.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=o(i.minWidth,0)&&this.chartHeight>=o(i.minHeight,0)}).call(this)&&e.push(t._id)}function l(t,e){var s=this,o=this.options.responsive,h=this.currentResponsive,l=[];!e&&o&&o.rules&&o.rules.forEach((function(t){"undefined"===typeof t._id&&(t._id=a()),s.matchResponsiveRule(t,l)}),this),e=n.apply(void 0,c(l.map((function(t){return r((o||{}).rules||[],(function(e){return e._id===t}))})).map((function(t){return t&&t.chartOptions})))),e.isResponsiveOptions=!0,(l=l.toString()||void 0)!==(h&&h.ruleIds)&&(h&&this.update(h.undoOptions,t,!0),l?((h=i(e,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:l,mergedOptions:e,undoOptions:h},this.update(e,t,!0)):this.currentResponsive=void 0)}var d=[];e.compose=function(e){return t.pushUnique(d,e)&&s(e.prototype,{matchResponsiveRule:h,setResponsive:l}),e}}(e||(e={})),e})),e(i,"masters/highcharts.src.js",[i["Core/Globals.js"],i["Core/Utilities.js"],i["Core/Defaults.js"],i["Core/Animation/Fx.js"],i["Core/Animation/AnimationUtilities.js"],i["Core/Renderer/HTML/AST.js"],i["Core/Templating.js"],i["Core/Renderer/RendererUtilities.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Renderer/HTML/HTMLElement.js"],i["Core/Renderer/HTML/HTMLRenderer.js"],i["Core/Axis/Axis.js"],i["Core/Axis/DateTimeAxis.js"],i["Core/Axis/LogarithmicAxis.js"],i["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],i["Core/Axis/Tick.js"],i["Core/Tooltip.js"],i["Core/Series/Point.js"],i["Core/Pointer.js"],i["Core/Legend/Legend.js"],i["Core/Chart/Chart.js"],i["Core/Axis/Stacking/StackingAxis.js"],i["Core/Axis/Stacking/StackItem.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Series/Column/ColumnSeries.js"],i["Series/Column/ColumnDataLabel.js"],i["Series/Pie/PieSeries.js"],i["Series/Pie/PieDataLabel.js"],i["Core/Series/DataLabel.js"],i["Core/Responsive.js"],i["Core/Color/Color.js"],i["Core/Time.js"]],(function(t,e,i,s,r,n,o,a,h,l,c,d,u,p,f,g,m,v,y,x,b,k,A,S,M,C,w,T,P,L,E,O,D,j){return t.animate=r.animate,t.animObject=r.animObject,t.getDeferredAnimation=r.getDeferredAnimation,t.setAnimation=r.setAnimation,t.stop=r.stop,t.timers=s.timers,t.AST=n,t.Axis=u,t.Chart=k,t.chart=k.chart,t.Fx=s,t.Legend=b,t.PlotLineOrBand=g,t.Point=y,t.Pointer=x,t.Series=M,t.StackItem=S,t.SVGElement=h,t.SVGRenderer=l,t.Templating=o,t.Tick=m,t.Time=j,t.Tooltip=v,t.Color=D,t.color=D.parse,d.compose(l),c.compose(h),x.compose(k),b.compose(k),t.defaultOptions=i.defaultOptions,t.getOptions=i.getOptions,t.time=i.defaultTime,t.setOptions=i.setOptions,t.dateFormat=o.dateFormat,t.format=o.format,t.numberFormat=o.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=a.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=C.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,T.compose(w),E.compose(M),p.compose(u),f.compose(u),L.compose(P),g.compose(u),O.compose(k),A.compose(u,k,M),v.compose(x),t})),i["masters/highcharts.src.js"]._modules=i,i["masters/highcharts.src.js"]},t.exports?(n.default=n,t.exports=r.document?n(r):n):void 0===(s=function(){return n(r)}.call(e,i,e,t))||(t.exports=s)},1259:function(t,e,i){"use strict";var s,r,n,o=i(6690).default,a=i(9728).default,h=i(4704).default;n=function(t){function e(t,e,i,s){t.hasOwnProperty(e)||(t[e]=s.apply(null,i),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Extensions/Boost/Boostables.js",[],(function(){return"area areaspline arearange column columnrange bar line scatter heatmap bubble treemap".split(" ")})),e(t,"Extensions/Boost/BoostableMap.js",[t["Extensions/Boost/Boostables.js"]],(function(t){var e={};return t.forEach((function(t){e[t]=!0})),e})),e(t,"Extensions/Boost/BoostChart.js",[t["Extensions/Boost/BoostableMap.js"],t["Core/Utilities.js"]],(function(t,e){function i(e){var i=e.series,s=e.boost=e.boost||{},n=e.options.boost||{},a=o(n.seriesThreshold,50);if(i.length>=a)return!0;if(1===i.length)return!1;if("undefined"===typeof(n=n.allowForce)){n=!0;var l,c=h(e.xAxis);try{for(c.s();!(l=c.n()).done;){var d=l.value;if(o(d.min,-1/0)>o(d.dataMin,-1/0)||o(d.max,1/0)=(a.boostThreshold||Number.MAX_VALUE)&&++d)}}catch(g){p.e(g)}finally{p.f()}return s.forceChartBoost=n&&(e===i.length&&0=(e=t.inverted?t.xAxis:t.yAxis).length?(i.y=Math.min(e[0].pos,i.y),i.height=e[0].pos-t.plotTop+e[0].len):i.height=t.plotHeight),i},isChartSeriesBoosting:i}})),e(t,"Extensions/Boost/WGLDrawMode.js",[],(function(){return{area:"LINES",arearange:"LINES",areaspline:"LINES",column:"LINES",columnrange:"LINES",bar:"LINES",line:"LINE_STRIP",scatter:"POINTS",heatmap:"TRIANGLES",treemap:"TRIANGLES",bubble:"POINTS"}})),e(t,"Extensions/Boost/WGLShader.js",[t["Core/Utilities.js"]],(function(t){var e=t.clamp,i=t.error,s=t.pick,r=function(){function t(e){o(this,t),this.errors=[],this.uLocations={},(this.gl=e)&&this.createShader()}return a(t,[{key:"bind",value:function(){this.gl&&this.shaderProgram&&this.gl.useProgram(this.shaderProgram)}},{key:"createShader",value:function(){var t=this,e=this.stringToProgram("#version 100\n#define LN10 2.302585092994046\nprecision highp float;\nattribute vec4 aVertexPosition;\nattribute vec4 aColor;\nvarying highp vec2 position;\nvarying highp vec4 vColor;\nuniform mat4 uPMatrix;\nuniform float pSize;\nuniform float translatedThreshold;\nuniform bool hasThreshold;\nuniform bool skipTranslation;\nuniform float xAxisTrans;\nuniform float xAxisMin;\nuniform float xAxisMinPad;\nuniform float xAxisPointRange;\nuniform float xAxisLen;\nuniform bool xAxisPostTranslate;\nuniform float xAxisOrdinalSlope;\nuniform float xAxisOrdinalOffset;\nuniform float xAxisPos;\nuniform bool xAxisCVSCoord;\nuniform bool xAxisIsLog;\nuniform bool xAxisReversed;\nuniform float yAxisTrans;\nuniform float yAxisMin;\nuniform float yAxisMinPad;\nuniform float yAxisPointRange;\nuniform float yAxisLen;\nuniform bool yAxisPostTranslate;\nuniform float yAxisOrdinalSlope;\nuniform float yAxisOrdinalOffset;\nuniform float yAxisPos;\nuniform bool yAxisCVSCoord;\nuniform bool yAxisIsLog;\nuniform bool yAxisReversed;\nuniform bool isBubble;\nuniform bool bubbleSizeByArea;\nuniform float bubbleZMin;\nuniform float bubbleZMax;\nuniform float bubbleZThreshold;\nuniform float bubbleMinSize;\nuniform float bubbleMaxSize;\nuniform bool bubbleSizeAbs;\nuniform bool isInverted;\nfloat bubbleRadius(){\nfloat value = aVertexPosition.w;\nfloat zMax = bubbleZMax;\nfloat zMin = bubbleZMin;\nfloat radius = 0.0;\nfloat pos = 0.0;\nfloat zRange = zMax - zMin;\nif (bubbleSizeAbs){\nvalue = value - bubbleZThreshold;\nzMax = max(zMax - bubbleZThreshold, zMin - bubbleZThreshold);\nzMin = 0.0;\n}\nif (value < zMin){\nradius = bubbleZMin / 2.0 - 1.0;\n} else {\npos = zRange > 0.0 ? (value - zMin) / zRange : 0.5;\nif (bubbleSizeByArea && pos > 0.0){\npos = sqrt(pos);\n}\nradius = ceil(bubbleMinSize + pos * (bubbleMaxSize - bubbleMinSize)) / 2.0;\n}\nreturn radius * 2.0;\n}\nfloat translate(float val,\nfloat pointPlacement,\nfloat localA,\nfloat localMin,\nfloat minPixelPadding,\nfloat pointRange,\nfloat len,\nbool cvsCoord,\nbool isLog,\nbool reversed\n){\nfloat sign = 1.0;\nfloat cvsOffset = 0.0;\nif (cvsCoord) {\nsign *= -1.0;\ncvsOffset = len;\n}\nif (isLog) {\nval = log(val) / LN10;\n}\nif (reversed) {\nsign *= -1.0;\ncvsOffset -= sign * len;\n}\nreturn sign * (val - localMin) * localA + cvsOffset + \n(sign * minPixelPadding);\n}\nfloat xToPixels(float value) {\nif (skipTranslation){\nreturn value;// + xAxisPos;\n}\nreturn translate(value, 0.0, xAxisTrans, xAxisMin, xAxisMinPad, xAxisPointRange, xAxisLen, xAxisCVSCoord, xAxisIsLog, xAxisReversed);// + xAxisPos;\n}\nfloat yToPixels(float value, float checkTreshold) {\nfloat v;\nif (skipTranslation){\nv = value;// + yAxisPos;\n} else {\nv = translate(value, 0.0, yAxisTrans, yAxisMin, yAxisMinPad, yAxisPointRange, yAxisLen, yAxisCVSCoord, yAxisIsLog, yAxisReversed);// + yAxisPos;\nif (v > yAxisLen) {\nv = yAxisLen;\n}\n}\nif (checkTreshold > 0.0 && hasThreshold) {\nv = min(v, translatedThreshold);\n}\nreturn v;\n}\nvoid main(void) {\nif (isBubble){\ngl_PointSize = bubbleRadius();\n} else {\ngl_PointSize = pSize;\n}\nvColor = aColor;\nif (skipTranslation && isInverted) {\ngl_Position = uPMatrix * vec4(aVertexPosition.y + yAxisPos, aVertexPosition.x + xAxisPos, 0.0, 1.0);\n} else if (isInverted) {\ngl_Position = uPMatrix * vec4(yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, xToPixels(aVertexPosition.x) + xAxisPos, 0.0, 1.0);\n} else {\ngl_Position = uPMatrix * vec4(xToPixels(aVertexPosition.x) + xAxisPos, yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, 0.0, 1.0);\n}\n}","vertex"),i=this.stringToProgram("precision highp float;\nuniform vec4 fillColor;\nvarying highp vec2 position;\nvarying highp vec4 vColor;\nuniform sampler2D uSampler;\nuniform bool isCircle;\nuniform bool hasColor;\nvoid main(void) {\nvec4 col = fillColor;\nvec4 tcol = texture2D(uSampler, gl_PointCoord.st);\nif (hasColor) {\ncol = vColor;\n}\nif (isCircle) {\ncol *= tcol;\nif (tcol.r < 0.0) {\ndiscard;\n} else {\ngl_FragColor = col;\n}\n} else {\ngl_FragColor = col;\n}\n}","fragment"),s=function(e){return t.gl.getUniformLocation(t.shaderProgram,e)};return e&&i?(this.shaderProgram=this.gl.createProgram(),this.gl.attachShader(this.shaderProgram,e),this.gl.attachShader(this.shaderProgram,i),this.gl.linkProgram(this.shaderProgram),this.gl.getProgramParameter(this.shaderProgram,this.gl.LINK_STATUS)?(this.gl.useProgram(this.shaderProgram),this.gl.bindAttribLocation(this.shaderProgram,0,"aVertexPosition"),this.pUniform=s("uPMatrix"),this.psUniform=s("pSize"),this.fcUniform=s("fillColor"),this.isBubbleUniform=s("isBubble"),this.bubbleSizeAbsUniform=s("bubbleSizeAbs"),this.bubbleSizeAreaUniform=s("bubbleSizeByArea"),this.uSamplerUniform=s("uSampler"),this.skipTranslationUniform=s("skipTranslation"),this.isCircleUniform=s("isCircle"),this.isInverted=s("isInverted"),!0):(this.errors.push(this.gl.getProgramInfoLog(this.shaderProgram)),this.handleErrors(),this.shaderProgram=!1)):(this.shaderProgram=!1,this.handleErrors(),!1)}},{key:"handleErrors",value:function(){this.errors.length&&i("[highcharts boost] shader error - "+this.errors.join("\n"))}},{key:"stringToProgram",value:function(t,e){var i=this.gl.createShader("vertex"===e?this.gl.VERTEX_SHADER:this.gl.FRAGMENT_SHADER);return this.gl.shaderSource(i,t),this.gl.compileShader(i),this.gl.getShaderParameter(i,this.gl.COMPILE_STATUS)?i:(this.errors.push("when compiling "+e+" shader:\n"+this.gl.getShaderInfoLog(i)),!1)}},{key:"destroy",value:function(){this.gl&&this.shaderProgram&&(this.gl.deleteProgram(this.shaderProgram),this.shaderProgram=!1)}},{key:"fillColorUniform",value:function(){return this.fcUniform}},{key:"getProgram",value:function(){return this.shaderProgram}},{key:"pointSizeUniform",value:function(){return this.psUniform}},{key:"perspectiveUniform",value:function(){return this.pUniform}},{key:"reset",value:function(){this.gl&&this.shaderProgram&&(this.gl.uniform1i(this.isBubbleUniform,0),this.gl.uniform1i(this.isCircleUniform,0))}},{key:"setBubbleUniforms",value:function(t,i,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=t.options,a=Number.MAX_VALUE,h=-Number.MAX_VALUE;if(this.gl&&this.shaderProgram&&t.is("bubble")){var l=t.getPxExtremes();a=s(o.zMin,e(i,!1===o.displayNegative?o.zThreshold:-Number.MAX_VALUE,a)),h=s(o.zMax,Math.max(h,r)),this.gl.uniform1i(this.isBubbleUniform,1),this.gl.uniform1i(this.isCircleUniform,1),this.gl.uniform1i(this.bubbleSizeAreaUniform,"width"!==t.options.sizeBy),this.gl.uniform1i(this.bubbleSizeAbsUniform,t.options.sizeByAbsoluteValue),this.setUniform("bubbleMinSize",l.minPxSize*n),this.setUniform("bubbleMaxSize",l.maxPxSize*n),this.setUniform("bubbleZMin",a),this.setUniform("bubbleZMax",h),this.setUniform("bubbleZThreshold",t.options.zThreshold)}}},{key:"setColor",value:function(t){this.gl&&this.shaderProgram&&this.gl.uniform4f(this.fcUniform,t[0]/255,t[1]/255,t[2]/255,t[3])}},{key:"setDrawAsCircle",value:function(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isCircleUniform,t?1:0)}},{key:"setInverted",value:function(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isInverted,t)}},{key:"setPMatrix",value:function(t){this.gl&&this.shaderProgram&&this.gl.uniformMatrix4fv(this.pUniform,!1,t)}},{key:"setPointSize",value:function(t){this.gl&&this.shaderProgram&&this.gl.uniform1f(this.psUniform,t)}},{key:"setSkipTranslation",value:function(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.skipTranslationUniform,!0===t?1:0)}},{key:"setTexture",value:function(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.uSamplerUniform,t)}},{key:"setUniform",value:function(t,e){this.gl&&this.shaderProgram&&(t=this.uLocations[t]=this.uLocations[t]||this.gl.getUniformLocation(this.shaderProgram,t),this.gl.uniform1f(t,e))}}]),t}();return r})),e(t,"Extensions/Boost/WGLVertexBuffer.js",[],(function(){return function(){function t(e,i,s){o(this,t),this.buffer=!1,this.iterator=0,this.vertAttribute=this.preAllocated=!1,this.components=s||2,this.dataComponents=s,this.gl=e,this.shader=i}return a(t,[{key:"allocate",value:function(t){this.iterator=-1,this.preAllocated=new Float32Array(4*t)}},{key:"bind",value:function(){if(!this.buffer)return!1;this.gl.vertexAttribPointer(this.vertAttribute,this.components,this.gl.FLOAT,!1,0,0)}},{key:"build",value:function(t,e,i){var s;return this.data=t||[],this.data&&0!==this.data.length||this.preAllocated?(this.components=i||this.components,this.buffer&&this.gl.deleteBuffer(this.buffer),this.preAllocated||(s=new Float32Array(this.data)),this.buffer=this.gl.createBuffer(),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,this.buffer),this.gl.bufferData(this.gl.ARRAY_BUFFER,this.preAllocated||s,this.gl.STATIC_DRAW),this.vertAttribute=this.gl.getAttribLocation(this.shader.getProgram(),e),this.gl.enableVertexAttribArray(this.vertAttribute),!0):(this.destroy(),!1)}},{key:"destroy",value:function(){this.buffer&&(this.gl.deleteBuffer(this.buffer),this.vertAttribute=this.buffer=!1),this.iterator=0,this.components=this.dataComponents||2,this.data=[]}},{key:"push",value:function(t,e,i,s){this.preAllocated&&(this.preAllocated[++this.iterator]=t,this.preAllocated[++this.iterator]=e,this.preAllocated[++this.iterator]=i,this.preAllocated[++this.iterator]=s)}},{key:"render",value:function(t,e,i){var s=this.preAllocated?this.preAllocated.length:this.data.length;return!(!this.buffer||!s)&&((!t||t>s||0>t)&&(t=0),(!e||e>s)&&(e=s),!(t>=e)&&(this.gl.drawArrays(this.gl[i||"POINTS"],t/this.components,(e-t)/this.components),!0))}}]),t}()})),e(t,"Extensions/Boost/WGLRenderer.js",[t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Utilities.js"],t["Extensions/Boost/WGLDrawMode.js"],t["Extensions/Boost/WGLShader.js"],t["Extensions/Boost/WGLVertexBuffer.js"]],(function(t,e,i,s,r,n){var h=t.parse,l=e.doc,c=e.win,d=i.isNumber,u=i.isObject,p=i.merge,f=i.objectEach,g=i.pick,m={column:!0,columnrange:!0,bar:!0,area:!0,areaspline:!0,arearange:!0},v={scatter:!0,bubble:!0},y=["webgl","experimental-webgl","moz-webgl","webkit-3d"],x=function(){function i(t){o(this,i),this.data=[],this.height=0,this.isInited=!1,this.markerData=[],this.series=[],this.textureHandles={},this.width=0,this.postRenderCallback=t,this.settings={pointSize:1,lineWidth:1,fillColor:"#AA00AA",useAlpha:!0,usePreallocated:!1,useGPUTranslations:!1,debug:{timeRendering:!1,timeSeriesProcessing:!1,timeSetup:!1,timeBufferCopy:!1,timeKDTree:!1,showSkipSummary:!1}}}return a(i,[{key:"getPixelRatio",value:function(){return this.settings.pixelRatio||c.devicePixelRatio||1}},{key:"setOptions",value:function(t){"pixelRatio"in t||(t.pixelRatio=1),p(!0,this.settings,t)}},{key:"allocateBuffer",value:function(t){var e=this.vbuffer,s=0;this.settings.usePreallocated&&(t.series.forEach((function(t){t.boosted&&(s+=i.seriesPointCount(t))})),e&&e.allocate(s))}},{key:"allocateBufferForSingleSeries",value:function(t){var e=this.vbuffer,s=0;this.settings.usePreallocated&&(t.boosted&&(s=i.seriesPointCount(t)),e&&e.allocate(s))}},{key:"clear",value:function(){var t=this.gl;t&&t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT)}},{key:"pushSeriesData",value:function(t,e){var i=this,s=this.data,r=this.settings,n=this.vbuffer,o=t.pointArrayMap&&"low,high"===t.pointArrayMap.join(","),a=t.chart,l=t.options,c=!!l.stacking,d=l.data,p=t.xAxis.getExtremes(),f=p.min;p=p.max;var g=t.yAxis.getExtremes(),v=g.min,y=g.max,x=t.xData||l.xData||t.processedXData,b=t.yData||l.yData||t.processedYData,k=t.zData||l.zData||t.processedZData,A=t.yAxis,S=t.xAxis,M=!x||0===x.length;g=l.connectNulls;var C=t.points||!1,w=c?t.data:x||d;x={x:Number.MAX_VALUE,y:0};var T,P,L,E,O,D,j={x:-Number.MAX_VALUE,y:0},R="undefined"===typeof a.index,B=m[t.type],I=l.zoneAxis||"y",z=l.zones||!1,N=l.threshold,G=this.getPixelRatio(),U=t.chart.plotWidth,W=!1,X=!1,H=0,F=!1,Y=-1,_=!1,V=!1,q=!1,K=!1,Z=!1,$=!1,Q=!0,J=!0,tt=!1,et=!1,it=0;if(!(l.boostData&&03&&void 0!==arguments[3]?arguments[3]:1;rt(arguments.length>4?arguments[4]:void 0),1===G||r.useGPUTranslations&&!e.skipTranslation||(t*=G,i*=G,a*=G),r.usePreallocated&&n?(n.push(t,i,o?1:0,a),it+=4):(s.push(t),s.push(i),s.push(o?G:0),s.push(a))},ot=function(){e.segments.length&&(e.segments[e.segments.length-1].to=s.length||it)},at=function(t,e,i,s,r){rt(r),nt(t+i,e),rt(r),nt(t,e),rt(r),nt(t,e+s),rt(r),nt(t,e+s),rt(r),nt(t+i,e+s),rt(r),nt(t+i,e)};if((st=function(){e.segments.length&&e.segments[e.segments.length-1].from===(s.length||it)||(ot(),e.segments.push({from:s.length||it}))})(),C&&0e.node.levelDynamic)return 1;if(t.node.levelDynamice.zMax&&(e.zMax=C[2]),C[2]e.zMax&&(e.zMax=k[Y]),k[Y]=f&&V<=p&&(q=!0),_&&_>=f&&_<=p&&(K=!0),o?(M&&(L=C.slice(1,3)),O=L[0],L=L[1]):c&&(P=C.x,L=C.stackY,O=L-C.y),null!==v&&"undefined"!==typeof v&&null!==y&&"undefined"!==typeof y&&(Q=L>=v&&L<=y),P>p&&j.xf&&(x.x=P,x.y=L),null!==L||!g)if(null!==L&&(Q||q||K)){if((V>=f||P>=f)&&(_<=p||P<=p)&&($=!0),$||q||K){var s;if(et&&P-_>et&&st(),z&&(z.some((function(t,e){var i=z[e-1];return"x"===I?"undefined"!==typeof t.value&&P<=t.value&&(D[e]&&(!i||P>=i.value)&&(s=D[e]),!0):"undefined"!==typeof t.value&&L<=t.value&&(D[e]&&(!i||L>=i.value)&&(s=D[e]),!0)})),Z=s||tt||Z),!r.useGPUTranslations&&(e.skipTranslation=!0,P=S.toPixels(P,!0),L=A.toPixels(L,!0),P>U&&"POINTS"===e.drawMode))return 0;e.hasMarkers&&$&&!1!==W&&(t.closestPointRangePx=Math.min(t.closestPointRangePx,Math.abs(P-W))),!r.useGPUTranslations&&!r.usePreallocated&&W&&1>Math.abs(P-W)&&X&&1>Math.abs(L-X)?r.debug.showSkipSummary&&++H:(B&&(F=O,!1!==O&&"undefined"!==typeof O||(F=0>L?L:0),o||c||(F=Math.max(null===N?v:N,v)),r.useGPUTranslations||(F=A.toPixels(F,!0)),nt(P,F,0,0,Z)),l.step&&!J&&nt(P,X,0,2,Z),nt(P,L,0,"bubble"===t.type?E||1:2,Z),W=P,X=L,F=!0,J=!1)}}else st()}else st()};Y-Number.MAX_VALUE&&o(j))}ot()}}},{key:"pushSeries",value:function(t){var e=this.markerData,i=this.series,r=this.settings;0=i.length?i.push(e):i[t.index]=e,this.pushSeriesData(t,e),r.debug.timeSeriesProcessing&&console.timeEnd("building "+t.type+" series")}},{key:"flush",value:function(){var t=this.vbuffer;this.data=[],this.markerData=[],this.series=[],t&&t.destroy()}},{key:"setXAxis",value:function(t){var e=this.shader;if(e){var i=this.getPixelRatio();e.setUniform("xAxisTrans",t.transA*i),e.setUniform("xAxisMin",t.min),e.setUniform("xAxisMinPad",t.minPixelPadding*i),e.setUniform("xAxisPointRange",t.pointRange),e.setUniform("xAxisLen",t.len*i),e.setUniform("xAxisPos",t.pos*i),e.setUniform("xAxisCVSCoord",!t.horiz),e.setUniform("xAxisIsLog",!!t.logarithmic),e.setUniform("xAxisReversed",!!t.reversed)}}},{key:"setYAxis",value:function(t){var e=this.shader;if(e){var i=this.getPixelRatio();e.setUniform("yAxisTrans",t.transA*i),e.setUniform("yAxisMin",t.min),e.setUniform("yAxisMinPad",t.minPixelPadding*i),e.setUniform("yAxisPointRange",t.pointRange),e.setUniform("yAxisLen",t.len*i),e.setUniform("yAxisPos",t.pos*i),e.setUniform("yAxisCVSCoord",!t.horiz),e.setUniform("yAxisIsLog",!!t.logarithmic),e.setUniform("yAxisReversed",!!t.reversed)}}},{key:"setThreshold",value:function(t,e){var i=this.shader;i&&(i.setUniform("hasThreshold",t),i.setUniform("translatedThreshold",e))}},{key:"renderChart",value:function(s){var r=this,o=this.gl,a=this.settings,l=this.shader,c=this.vbuffer,u=this.getPixelRatio();if(!s)return!1;this.width=s.chartWidth*u,this.height=s.chartHeight*u;var p=this.height,f=this.width;if(!(o&&l&&f&&p))return!1;a.debug.timeRendering&&console.time("gl rendering"),o.canvas.width=f,o.canvas.height=p,l.bind(),o.viewport(0,0,f,p),l.setPMatrix(i.orthoMatrix(f,p)),12*((p.marker?p.marker.radius:10)||10)),f=r.textureHandles[f&&f.symbol||e.series.symbol]||r.textureHandles.circle,0!==e.segments.length&&e.segments[0].from!==e.segments[0].to&&(f.isReady&&(o.bindTexture(o.TEXTURE_2D,f.handle),l.setTexture(f.handle)),s.styledMode?f=e.series.markerGroup&&e.series.markerGroup.getStyle("fill"):(f="POINTS"===e.drawMode&&e.series.pointAttribs&&e.series.pointAttribs().fill||e.series.color,p.colorByPoint&&(f=e.series.chart.options.colors[i])),e.series.fillOpacity&&p.fillOpacity&&(f=new t(f).setOpacity(g(p.fillOpacity,1)).get()),f=h(f).rgba,a.useAlpha||(f[3]=1),"LINES"===e.drawMode&&a.useAlpha&&1>f[3]&&(f[3]/=10),"add"===p.boostBlending?(o.blendFunc(o.SRC_ALPHA,o.ONE),o.blendEquation(o.FUNC_ADD)):"mult"===p.boostBlending||"multiply"===p.boostBlending?o.blendFunc(o.DST_COLOR,o.ZERO):"darken"===p.boostBlending?(o.blendFunc(o.ONE,o.ONE),o.blendEquation(o.FUNC_MIN)):o.blendFuncSeparate(o.SRC_ALPHA,o.ONE_MINUS_SRC_ALPHA,o.ONE,o.ONE_MINUS_SRC_ALPHA),l.reset(),0(i.boostThreshold||Number.MAX_VALUE)&&z(r.min)&&z(r.max)&&(!e||z(s.min)&&z(s.max))&&(!t||z(t.min)&&z(t.max))}function f(){var t=this,e=t.chart;e.boost&&e.boost.markerGroup===t.markerGroup&&(t.markerGroup=null),e.hoverPoints&&(e.hoverPoints=e.hoverPoints.filter((function(e){return e.series===t}))),e.hoverPoint&&e.hoverPoint.series===t&&(e.hoverPoint=null)}function g(){var t=this.boost;t&&t.canvas&&t.target&&(t.wgl&&t.wgl.clear(),t.clear&&t.clear())}function m(t){var e=t.boost;e&&e.canvas&&e.target&&e.wgl&&!T(t.chart)&&e.wgl.render(t.chart)}function v(t,e){var i=t.options,s=t.xAxis,r=t.pointClass;return e instanceof r?e:(i=t.xData||i.xData||t.processedXData||!1,(r=(new r).init(t,t.options.data[e.i],i?i[e.i]:void 0)).category=N(s.categories?s.categories[r.x]:r.x,r.x),r.dist=e.dist,r.distX=e.distX,r.plotX=e.plotX,r.plotY=e.plotY,r.index=e.i,r.percentage=e.percentage,r.isInside=t.isPointInside(r),r)}function y(){var t=this,e=this.options||{},i=this.chart,s=this.xAxis,r=this.yAxis,n=e.xData||this.processedXData,o=e.yData||this.processedYData,h=e.data,u=s.getExtremes(),p=u.min,f=u.max,g=(u=r.getExtremes()).min,v=u.max,y={},x=!!this.sampling,b=e.enableMouseTracking;u=e.threshold;var k=this.pointArrayMap&&"low,high"===this.pointArrayMap.join(","),A=!!e.stacking,S=this.cropStart||0,C=this.requireSorting,w=!n,P="x"===e.findNearestPointBy,L=this.xData||this.options.xData||this.processedXData||!1;e=!1;var O,D,j,R,I,z=r.getThreshold(u);if(e=l(i,this),i.boosted=!0,this.visible){(this.points||this.graph)&&c(this),T(i)?(this.markerGroup&&this.markerGroup!==i.boost.markerGroup&&this.markerGroup.destroy(),this.markerGroup=i.boost.markerGroup,this.boost&&this.boost.target&&(this.renderTarget=this.boost.target=this.boost.target.destroy())):(i.boost&&this.markerGroup===i.boost.markerGroup&&(this.markerGroup=void 0),this.markerGroup=this.plotGroup("markerGroup","markers",!0,1,i.seriesGroup));var N=this.points=[],G=function(t,e,n,o){var a=!!L&&L[S+n],h=function(t){i.inverted&&(t=s.len-t,e=r.len-e),N.push({destroy:E,x:a,clientX:t,plotX:t,plotY:e,i:S+n,percentage:o})};t=Math.ceil(t),M=P?t:t+","+e,b&&(y[M]?a===L[L.length-1]&&(N.length--,h(t)):(y[M]=!0,h(t)))};this.buildKDTree=E,e&&(a(e,this),e.pushSeries(this),m(this));var U=e.settings;e=function(){B(t,"renderedCanvas"),delete t.buildKDTree,t.buildKDTree(),U.debug.timeKDTree&&console.timeEnd("kd tree building")},i.renderer.forExport||(U.debug.timeKDTree&&console.time("kd tree building"),d(A?this.data:n||h,(function(t,e){var n,a,h="undefined"===typeof i.index,l=!1,c=!0;if("undefined"===typeof t)return!0;if(!h){if(w){n=t[0];var d=t[1]}else n=t,d=o[e];k?(w&&(d=t.slice(1,3)),l=d[0],d=d[1]):A&&(n=t.x,l=(d=t.stackY)-t.y,a=t.percentage),C||(c=(d||0)>=g&&d<=v),n>=p&&n<=f&&c&&(t=s.toPixels(n,!0),x?("undefined"!==typeof R&&t!==O||(k||(l=d),("undefined"===typeof I||d>j)&&(j=d,I=e),("undefined"===typeof R||l=(i.options.boostThreshold||Number.MAX_VALUE))};h(this.chart)&&t[this.type]?(r(s)&&"heatmap"!==this.type&&"treemap"!==this.type&&!this.options.stacking&&p(this,!0)||(e.apply(this,[].slice.call(arguments,1)),s=this.processedXData),(this.boosted=r(s))?(this.options.data&&this.options.data.length&&(s=this.getFirstValidPoint(this.options.data),z(s)||I(s)||j(12,!1,this.chart)),u(this)):function(t){var e=t.boost;e&&((e.altered||[]).forEach((function(e){e.own?t[e.prop]=e.val:delete t[e.prop]})),e.clear&&e.clear())}(this)):e.apply(this,[].slice.call(arguments,1))}function S(t){var e=t.apply(this,[].slice.call(arguments,1));return this.boost&&e?this.boost.getPoint(e):e}var M,C,w=i.getBoostClipRect,T=i.isChartSeriesBoosting,P=s.getOptions,L=r.doc,E=r.noop,O=r.win,D=n.addEvent,j=n.error,R=n.extend,B=n.fireEvent,I=n.isArray,z=n.isNumber,N=n.pick,G=n.wrap,U=[];return{compose:function(t,i,s){if(n.pushUnique(U,t)){D(t,"destroy",f),D(t,"hide",g);var r=t.prototype;s&&(r.renderCanvas=y),G(r,"getExtremes",k),G(r,"processData",A),G(r,"searchPoint",S),["translate","generatePoints","drawTracker","drawPoints","render"].forEach((function(t){return b(r,i,t)}))}if(n.pushUnique(U,P)){var o=P().plotOptions;e.forEach((function(t){var e=o[t];e&&(e.boostThreshold=5e3,e.boostData=[],i[t].prototype.fillOpacity=!0)}))}if(s){var a=i.area,h=i.areaspline,l=i.bubble,c=i.column,d=i.heatmap,u=i.scatter,p=i.treemap;a&&n.pushUnique(U,a)&&R(a.prototype,{fill:!0,fillOpacity:!0,sampling:!0}),h&&n.pushUnique(U,h)&&R(h.prototype,{fill:!0,fillOpacity:!0,sampling:!0}),l&&n.pushUnique(U,l)&&(delete(s=l.prototype).buildKDTree,G(s,"markerAttribs",(function(t){return!this.boosted&&t.apply(this,[].slice.call(arguments,1))}))),c&&n.pushUnique(U,c)&&R(c.prototype,{fill:!0,sampling:!0}),u&&n.pushUnique(U,u)&&(u.prototype.fill=!0),[d,p].forEach((function(t){t&&n.pushUnique(U,t)&&G(t.prototype,"drawPoints",x)}))}return t},destroyGraphics:c,eachAsync:d,getPoint:v}})),e(t,"Extensions/BoostCanvas.js",[t["Extensions/Boost/BoostChart.js"],t["Extensions/Boost/BoostSeries.js"],t["Core/Chart/Chart.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i,s,r,n,o,a){var h,l=t.getBoostClipRect,c=t.isChartSeriesBoosting,d=e.destroyGraphics,u=s.parse,p=r.doc,f=r.noop,g=o.seriesTypes,m=a.addEvent,v=a.extend,y=a.fireEvent,x=a.isNumber,b=a.merge,k=a.pick,A=a.wrap;return function(){r.seriesTypes.heatmap&&A(r.seriesTypes.heatmap.prototype,"drawPoints",(function(){var t=this.chart,e=this.getContext(),i=this.chart.inverted,s=this.xAxis,r=this.yAxis;e?(this.points.forEach((function(n){var o=n.plotY;if("undefined"!==typeof o&&!isNaN(o)&&null!==n.y&&e){var a=n.shapeArgs||{},h=a.x,l=void 0===h?0:h,c=a.y,d=void 0===c?0:c,u=a.width,p=void 0===u?0:u,f=a.height,g=void 0===f?0:f;n=t.styledMode?n.series.colorAttribs(n):n.series.pointAttribs(n),e.fillStyle=n.fill,i?e.fillRect(r.len-d+s.left,s.len-l+r.top,-g,-p):e.fillRect(l+s.left,d+r.top,p,g)}})),this.canvasToSVG()):this.chart.showLoading("Your browser doesn't support HTML5 canvas,
please use a modern browser")})),v(n.prototype,{getContext:function(){var t,e=this.chart,i=c(e)?e:this,s=i===e?e.seriesGroup:e.seriesGroup||this.group,r=e.chartWidth,n=e.chartHeight,o=function(t,e,i,s,r,n,o){t.call(this,i,e,s,r,n,o)},a=i.boost=i.boost||{};return t=a.targetCtx,a.canvas||(a.canvas=p.createElement("canvas"),a.target=e.renderer.image("",0,0,r,n).addClass("highcharts-boost-canvas").add(s),t=a.targetCtx=a.canvas.getContext("2d"),e.inverted&&["moveTo","lineTo","rect","arc"].forEach((function(e){A(t,e,o)})),a.copy=function(){a.target.attr({href:a.canvas.toDataURL("image/png")})},a.clear=function(){t.clearRect(0,0,a.canvas.width,a.canvas.height),i===a.target&&a.target.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="})},a.clipRect=e.renderer.clipRect(),a.target.clip(a.clipRect)),a.canvas.width!==r&&(a.canvas.width=r),a.canvas.height!==n&&(a.canvas.height=n),a.target.attr({x:0,y:0,width:r,height:n,style:"pointer-events: none",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="}),a.clipRect&&a.clipRect.attr(l(e,i)),t},canvasToSVG:function(){c(this.chart)?this.boost&&this.boost.clear&&this.boost.clear():this.boost&&this.boost.copy?this.boost.copy():this.chart.boost&&this.chart.boost.copy&&this.chart.boost.copy()},cvsLineTo:function(t,e,i){t.lineTo(e,i)},renderCanvas:function(){var t,i,r,n,o=this,l=o.options,c=o.chart,p=this.xAxis,g=this.yAxis,A=(c.options.boost||{}).timeRendering||!1,S=0,M=o.processedXData,C=o.processedYData,w=l.data,T=p.getExtremes(),P=T.min,L=T.max,E=(T=g.getExtremes()).min,O=T.max,D={},j=!!o.sampling,R=l.marker&&l.marker.radius,B=this.cvsDrawPoint,I=l.lineWidth?this.cvsLineTo:void 0,z=R&&1>=R?this.cvsMarkerSquare:this.cvsMarkerCircle,N=this.cvsStrokeBatch||1e3,G=l.enableMouseTracking;T=l.threshold;var U=g.getThreshold(T),W=x(T),X=U,H=this.fill,F=o.pointArrayMap&&"low,high"===o.pointArrayMap.join(","),Y=!!l.stacking,_=o.cropStart||0;T=c.options.loading;var V,q,K,Z,$,Q,J=o.requireSorting,tt=l.connectNulls,et=!M,it=Y?o.data:M||w,st=o.fillOpacity?s.parse(o.color).setOpacity(k(l.fillOpacity,.75)).get():o.color,rt=function(){H?(t.fillStyle=st,t.fill()):(t.strokeStyle=o.color,t.lineWidth=l.lineWidth,t.stroke())},nt=function(e,i,s,r){0===S&&(t.beginPath(),I&&(t.lineJoin="round")),c.scroller&&"highcharts-navigator-series"===o.options.className?(i+=c.scroller.top,s&&(s+=c.scroller.top)):i+=c.plotTop,e+=c.plotLeft,V?t.moveTo(e,i):B?B(t,e,i,s,n):I?I(t,e,i):z&&z.call(o,t,e,i,R,r),(S+=1)===N&&(rt(),S=0),n={clientX:e,plotY:i,yBottom:s}},ot="x"===l.findNearestPointBy,at=this.xData||this.options.xData||this.processedXData||!1,ht=function(t,e,i){Q=ot?t:t+","+e,G&&!D[Q]&&(D[Q]=!0,c.inverted&&(t=p.len-t,e=g.len-e),r.push({x:!!at&&at[_+i],clientX:t,plotX:t,plotY:e,i:_+i}))};(M=this.boost||{}).target&&M.target.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="}),(this.points||this.graph)&&d(this),o.plotGroup("group","series",o.visible?"visible":"hidden",l.zIndex,c.seriesGroup),o.markerGroup=o.group,m(o,"destroy",(function(){o.markerGroup=null})),r=this.points=[],t=this.getContext(),o.buildKDTree=f,M.clear&&M.clear(),this.visible&&(99999=P&&a<=L&&(r=!0),h&&h>=P&&h<=L&&(n=!0),F?(et&&(f=t.slice(1,3)),s=f[0],f=f[1]):Y&&(u=t.x,s=(f=t.stackY)-t.y),J||(d=f>=E&&f<=O),!(t=null===f)&&(u>=P&&u<=L&&d||r||n)&&(u=Math.round(p.toPixels(u,!0)),j?("undefined"!==typeof Z&&u!==i||(F||(s=f),("undefined"===typeof $||f>K)&&(K=f,$=e),("undefined"===typeof Z||st.length)&&(e=t.length);for(var i=0,s=new Array(e);i=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,h=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return a=t.done,t},e:function(t){h=!0,o=t},f:function(){try{a||null==i.return||i.return()}finally{if(h)throw o}}}},t.exports.__esModule=!0,t.exports.default=t.exports},6389:function(t,e,i){var s=i(3808),r=i(9617),n=i(4993);t.exports=function(t){var e=r();return function(){var i,r=s(t);if(e){var o=s(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return n(this,i)}},t.exports.__esModule=!0,t.exports.default=t.exports},8416:function(t,e,i){var s=i(4062);t.exports=function(t,e,i){return(e=s(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},t.exports.__esModule=!0,t.exports.default=t.exports},1588:function(t,e,i){var s=i(1753);function r(){return"undefined"!==typeof Reflect&&Reflect.get?(t.exports=r=Reflect.get.bind(),t.exports.__esModule=!0,t.exports.default=t.exports):(t.exports=r=function(t,e,i){var r=s(t,e);if(r){var n=Object.getOwnPropertyDescriptor(r,e);return n.get?n.get.call(arguments.length<3?t:i):n.value}},t.exports.__esModule=!0,t.exports.default=t.exports),r.apply(this,arguments)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},3808:function(t){function e(i){return t.exports=e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,e(i)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},1655:function(t,e,i){var s=i(6015);t.exports=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},9617:function(t){t.exports=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}},t.exports.__esModule=!0,t.exports.default=t.exports},9498:function(t){t.exports=function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports},8872:function(t){t.exports=function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var s,r,n,o,a=[],h=!0,l=!1;try{if(n=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;h=!1}else for(;!(h=(s=n.call(i)).done)&&(a.push(s.value),a.length!==e);h=!0);}catch(t){l=!0,r=t}finally{try{if(!h&&null!=i.return&&(o=i.return(),Object(o)!==o))return}finally{if(l)throw r}}return a}},t.exports.__esModule=!0,t.exports.default=t.exports},2218:function(t){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},2281:function(t){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},4993:function(t,e,i){var s=i(8698).default,r=i(6115);t.exports=function(t,e){if(e&&("object"===s(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return r(t)},t.exports.__esModule=!0,t.exports.default=t.exports},6015:function(t){function e(i,s){return t.exports=e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(i,s)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},7424:function(t,e,i){var s=i(5372),r=i(8872),n=i(6116),o=i(2218);t.exports=function(t,e){return s(t)||r(t,e)||n(t,e)||o()},t.exports.__esModule=!0,t.exports.default=t.exports},1753:function(t,e,i){var s=i(3808);t.exports=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=s(t)););return t},t.exports.__esModule=!0,t.exports.default=t.exports},861:function(t,e,i){var s=i(3405),r=i(9498),n=i(6116),o=i(2281);t.exports=function(t){return s(t)||r(t)||n(t)||o()},t.exports.__esModule=!0,t.exports.default=t.exports},5036:function(t,e,i){var s=i(8698).default;t.exports=function(t,e){if("object"!==s(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,e||"default");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},4062:function(t,e,i){var s=i(8698).default,r=i(5036);t.exports=function(t){var e=r(t,"string");return"symbol"===s(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports},8698:function(t){function e(i){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(i)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},6116:function(t,e,i){var s=i(3897);t.exports=function(t,e){if(t){if("string"===typeof t)return s(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?s(t,e):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/600.4361e201.chunk.js b/frontend/dist/static/js/600.4361e201.chunk.js new file mode 100644 index 00000000..333a2c29 --- /dev/null +++ b/frontend/dist/static/js/600.4361e201.chunk.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksrc=self.webpackChunksrc||[]).push([[600],{1385:(e,r,t)=>{t.d(r,{A:()=>a});t(9950);const a=t.p+"static/media/xmark-solid.33c889ee6afa3ed57684011608af6238.svg"},898:(e,r,t)=>{t.d(r,{Z:()=>n});var a=t(4414);const n=e=>{const{embedded:r,className:t,label:n,sublabel:o,children:i}=e;return(0,a.jsx)("div",{className:"w-full text-gray-800",children:(0,a.jsxs)("div",{className:"flex flex-col shadow-lg rounded-lg",children:[(0,a.jsxs)("div",{className:"px-4 py-3 font-bold",children:[o&&(0,a.jsx)("h6",{className:"text-gray-500 text-xs",children:o}),(0,a.jsx)("h2",{className:r?"text-md":"text-lg",children:n})]}),(0,a.jsx)("div",{className:"p-4 m-2 flex flex-col justify-center gap-4 ".concat(null!==t&&void 0!==t?t:""),children:i})]})})}},6021:(e,r,t)=>{t.d(r,{$:()=>n});var a=t(9950);const n=(e,r,t)=>{const n=(0,a.useRef)((()=>{}));(0,a.useEffect)((()=>{n.current=e})),(0,a.useEffect)((()=>{t&&null!==r&&!1!==r&&n.current()}),[t,r]),(0,a.useEffect)((()=>{if(null===r||!1===r)return;const e=setInterval((()=>n.current()),r);return()=>clearInterval(e)}),[r])}},3740:(e,r,t)=>{t.d(r,{w:()=>n});var a=t(5887);const n=function(e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2e3;arguments.length>1&&void 0!==arguments[1]&&arguments[1]?a.Ay.error(e,{duration:r}):a.Ay.success(e,{duration:r})}},2105:(e,r,t)=>{t.d(r,{D:()=>n});var a=t(3974);const n=e=>{const r=new Date(e);return(0,a.A)(r,"yyyy-MM-dd HH:mm:ss")}},3600:(e,r,t)=>{t.r(r),t.d(r,{default:()=>pe});var a=t(7818),n=t(5297),o=t(898),i=t(9950);const l=t.p+"static/media/folder-open-regular.db4ef4ac307b2a72056b659ae4f7dac9.svg";var s=t(4414);const c=e=>{const{columns:r,actions:t,data:a,placeholder:n,rowsLimit:o,loadMoreText:c}=e,[d,u]=(0,i.useState)(null!==o&&void 0!==o?o:-1);return(0,s.jsx)("div",{className:"flex flex-col overflow-x-auto",children:null!==a&&void 0!==a&&a.length?(0,s.jsxs)("div",{className:"space-y-2 pb-4",children:[(0,s.jsxs)("table",{className:"min-w-full divide-y divide-gray-200",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[r.map((e=>{let{label:r}=e;return(0,s.jsx)("th",{scope:"col",className:"px-6 py-3 whitespace-nowrap text-left text-xs font-medium text-gray-500",children:r},r)})),t.map((e=>{let{label:r}=e;return(0,s.jsx)("th",{scope:"col",className:"px-6 py-3 whitespace-nowrap text-left text-xs font-medium text-gray-500",children:r},r)}))]})}),(0,s.jsx)("tbody",{className:"divide-y divide-gray-200 text-gray-700",children:a.slice(0,-1===d?a.length:d).map(((e,a)=>(0,s.jsxs)("tr",{className:"hover:bg-gray-100",children:[Object.keys(e).map(((t,a)=>(0,s.jsx)("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-medium",children:r.filter((e=>{let{key:t}=e;return t===r[a].key})).map((r=>{let{key:t}=r;return e[t]}))||t},t))),t.map((r=>{let{icon:t,label:a,onClick:n}=r;return(0,s.jsx)("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-medium",onClick:()=>n&&n(e),children:(0,s.jsx)("img",{className:"w-5 h-5 cursor-pointer transition-all duration-200 hover:scale-125",src:t,alt:a})},a)}))]},a)))})]}),-1!==d&&a.length>d&&(0,s.jsx)("div",{className:"text-sm text-center text-gray-500 cursor-pointer hover:text-gray-700",onClick:()=>u((e=>e+(null!==o&&void 0!==o?o:0))),children:null!==c&&void 0!==c?c:"Load more..."})]}):(0,s.jsxs)("div",{className:"flex justify-center items-center h-40 text-gray-500 space-x-2",children:[(0,s.jsx)("img",{className:"size-5 md:size-6 lg:size-8",src:l,alt:""}),(0,s.jsx)("h1",{className:"text-lg md:text-xl lg:text-2xl font-medium",children:n})]})})};var d=t(6021),u=t(1577),m=t(8526);var p=t(2105);const h=t.p+"static/media/download-solid.c03efc3b28bb5b5b2ceee2ebbb9b4f55.svg";var f=t(8168),b=t(8587),v=t(2004),g=t(2199),x=t(505),y=t(237),w=t(7148);const A=["className","component"];var j=t(1681),N=t(7775),C=t(7550),k=t(3244);const S=(0,k.A)("MuiBox",["root"]),B=(0,N.A)(),M=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:r,defaultTheme:t,defaultClassName:a="MuiBox-root",generateClassName:n}=e,o=(0,g.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(x.A);return i.forwardRef((function(e,i){const l=(0,w.A)(t),c=(0,y.A)(e),{className:d,component:u="div"}=c,m=(0,b.A)(c,A);return(0,s.jsx)(o,(0,f.A)({as:u,ref:i,className:(0,v.A)(d,n?n(a):a),theme:r&&l[r]||l},m))}))}({themeId:C.A,defaultTheme:B,defaultClassName:S.root,generateClassName:j.A.generate}),R=M;var I=t(7528),P=t(4061),L=t(8283),T=t(9269),z=t(1676),D=t(4857),W=t(9254),_=t(9859),q=t(8483);function O(e){return(0,q.Ay)("MuiLinearProgress",e)}(0,k.A)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);var E,H,$,F,X,Z;const J=["className","color","value","valueBuffer","variant"];let G,K,Q,U,V,Y;const ee=(0,L.i7)(G||(G=E||(E=(0,I.A)(["\n 0% {\n left: -35%;\n right: 100%;\n }\n\n 60% {\n left: 100%;\n right: -90%;\n }\n\n 100% {\n left: 100%;\n right: -90%;\n }\n"])))),re=(0,L.i7)(K||(K=H||(H=(0,I.A)(["\n 0% {\n left: -200%;\n right: 100%;\n }\n\n 60% {\n left: 107%;\n right: -8%;\n }\n\n 100% {\n left: 107%;\n right: -8%;\n }\n"])))),te=(0,L.i7)(Q||(Q=$||($=(0,I.A)(["\n 0% {\n opacity: 1;\n background-position: 0 -23px;\n }\n\n 60% {\n opacity: 0;\n background-position: 0 -23px;\n }\n\n 100% {\n opacity: 1;\n background-position: -200px -23px;\n }\n"])))),ae=(e,r)=>"inherit"===r?"currentColor":e.vars?e.vars.palette.LinearProgress["".concat(r,"Bg")]:"light"===e.palette.mode?(0,T.a)(e.palette[r].main,.62):(0,T.e$)(e.palette[r].main,.5),ne=(0,W.Ay)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,r["color".concat((0,z.A)(t.color))],r[t.variant]]}})((e=>{let{ownerState:r,theme:t}=e;return(0,f.A)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:ae(t,r.color)},"inherit"===r.color&&"buffer"!==r.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===r.variant&&{backgroundColor:"transparent"},"query"===r.variant&&{transform:"rotate(180deg)"})})),oe=(0,W.Ay)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.dashed,r["dashedColor".concat((0,z.A)(t.color))]]}})((e=>{let{ownerState:r,theme:t}=e;const a=ae(t,r.color);return(0,f.A)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===r.color&&{opacity:.3},{backgroundImage:"radial-gradient(".concat(a," 0%, ").concat(a," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})}),(0,L.AH)(U||(U=F||(F=(0,I.A)(["\n animation: "," 3s infinite linear;\n "]))),te)),ie=(0,W.Ay)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.bar,r["barColor".concat((0,z.A)(t.color))],("indeterminate"===t.variant||"query"===t.variant)&&r.bar1Indeterminate,"determinate"===t.variant&&r.bar1Determinate,"buffer"===t.variant&&r.bar1Buffer]}})((e=>{let{ownerState:r,theme:t}=e;return(0,f.A)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===r.color?"currentColor":(t.vars||t).palette[r.color].main},"determinate"===r.variant&&{transition:"transform .".concat(4,"s linear")},"buffer"===r.variant&&{zIndex:1,transition:"transform .".concat(4,"s linear")})}),(e=>{let{ownerState:r}=e;return("indeterminate"===r.variant||"query"===r.variant)&&(0,L.AH)(V||(V=X||(X=(0,I.A)(["\n width: auto;\n animation: "," 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n "]))),ee)})),le=(0,W.Ay)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.bar,r["barColor".concat((0,z.A)(t.color))],("indeterminate"===t.variant||"query"===t.variant)&&r.bar2Indeterminate,"buffer"===t.variant&&r.bar2Buffer]}})((e=>{let{ownerState:r,theme:t}=e;return(0,f.A)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==r.variant&&{backgroundColor:"inherit"===r.color?"currentColor":(t.vars||t).palette[r.color].main},"inherit"===r.color&&{opacity:.3},"buffer"===r.variant&&{backgroundColor:ae(t,r.color),transition:"transform .".concat(4,"s linear")})}),(e=>{let{ownerState:r}=e;return("indeterminate"===r.variant||"query"===r.variant)&&(0,L.AH)(Y||(Y=Z||(Z=(0,I.A)(["\n width: auto;\n animation: "," 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;\n "]))),re)})),se=i.forwardRef((function(e,r){const t=(0,_.A)({props:e,name:"MuiLinearProgress"}),{className:a,color:n="primary",value:o,valueBuffer:i,variant:l="indeterminate"}=t,c=(0,b.A)(t,J),d=(0,f.A)({},t,{color:n,variant:l}),u=(e=>{const{classes:r,variant:t,color:a}=e,n={root:["root","color".concat((0,z.A)(a)),t],dashed:["dashed","dashedColor".concat((0,z.A)(a))],bar1:["bar","barColor".concat((0,z.A)(a)),("indeterminate"===t||"query"===t)&&"bar1Indeterminate","determinate"===t&&"bar1Determinate","buffer"===t&&"bar1Buffer"],bar2:["bar","buffer"!==t&&"barColor".concat((0,z.A)(a)),"buffer"===t&&"color".concat((0,z.A)(a)),("indeterminate"===t||"query"===t)&&"bar2Indeterminate","buffer"===t&&"bar2Buffer"]};return(0,P.A)(n,O,r)})(d),m=(0,D.A)(),p={},h={bar1:{},bar2:{}};if("determinate"===l||"buffer"===l)if(void 0!==o){p["aria-valuenow"]=Math.round(o),p["aria-valuemin"]=0,p["aria-valuemax"]=100;let e=o-100;"rtl"===m.direction&&(e=-e),h.bar1.transform="translateX(".concat(e,"%)")}else 0;if("buffer"===l)if(void 0!==i){let e=(i||0)-100;"rtl"===m.direction&&(e=-e),h.bar2.transform="translateX(".concat(e,"%)")}else 0;return(0,s.jsxs)(ne,(0,f.A)({className:(0,v.A)(u.root,a),ownerState:d,role:"progressbar"},p,{ref:r},c,{children:["buffer"===l?(0,s.jsx)(oe,{className:u.dashed,ownerState:d}):null,(0,s.jsx)(ie,{className:u.bar1,ownerState:d,style:h.bar1}),"determinate"===l?null:(0,s.jsx)(le,{className:u.bar2,ownerState:d,style:h.bar2})]}))}));var ce=t(2053),de=t(1385);const ue=e=>{const{value:r,label:t,precision:a,onCancel:n}=e;return(0,s.jsxs)(R,{sx:{display:"flex",alignItems:"center"},children:[(0,s.jsx)("div",{className:"cursor-pointer px-1 rounded-lg bg-gray-100 hover:bg-gray-300",onClick:n,children:(0,s.jsx)("img",{className:"size-5",src:de.A,alt:""})}),(0,s.jsx)(R,{sx:{width:"100%",mx:1},children:(0,s.jsx)(se,{className:"rounded-full",variant:"determinate",color:"secondary",value:r})}),(0,s.jsx)(R,{sx:{minWidth:100},children:(0,s.jsx)(ce.A,{className:"overflow-scroll p-2",color:"text.secondary",variant:"body2",children:"[".concat(r.toFixed(null!==a&&void 0!==a?a:2),"%] ").concat(t)})})]})};var me=t(3740);const pe=()=>{var e;const{t:r}=(0,a.Bd)(),[,t]=(0,i.useState)(!1),l=()=>t((e=>!e)),f=(0,i.useRef)({});(0,i.useEffect)((()=>()=>Object.values(f.current).forEach((e=>{let{abortController:r}=e;return null===r||void 0===r?void 0:r.abort()}))),[]);const[b,v]=(0,i.useState)({columns:[{key:"name",label:"views.export.table.columns.name"},{key:"size",label:"views.export.table.columns.size"},{key:"time",label:"views.export.table.columns.time"},{key:"ttl",label:"views.export.table.columns.ttl"}],actions:[{icon:h,onClick:async e=>{const{name:t}=e;if(t in f.current)return;const a=new AbortController;f.current[t]={fileName:t,abortController:a,progress:0},l(),(0,me.w)(r("views.export.toasts.is_exporting_mseed"));const{backend:n,endpoints:o}=u.DR;await(0,m.c)({blobOptions:{filename:t,onDownload:e=>{let{progress:a}=e;return((e,t)=>{f.current[e]={...f.current[e],progress:t},100===t&&(delete f.current[e],(0,me.w)(r("views.export.toasts.export_mseed_success"))),l()})(t,100*(null!==a&&void 0!==a?a:0))}},payload:{action:"export",name:t},endpoint:o.mseed,abortController:a,timeout:3600,backend:n})},label:"views.export.table.actions.export"}],rowsLimit:10,loadMoreText:"views.export.table.load_more",placeholder:"views.export.table.placeholder.is_fetching_mseed"});return(0,d.$)((()=>async function(){const{endpoints:e,backend:r}=u.DR,t=await(0,m.c)({backend:r,timeout:30,endpoint:e.mseed,payload:{action:"show",name:""}});for(var a=arguments.length,n=new Array(a),o=0;oe(t)))}((e=>((e,r)=>{if(null===e||void 0===e||!e.data)return void r((e=>({...e,placeholder:"views.export.table.placeholder.fetch_mseed_error"})));const{data:t}=e,a=t.sort(((e,r)=>r.time-e.time)).map((e=>{const r=(0,p.D)(new Date(e.time).getTime());return{...e,time:r}}));r((e=>({...e,data:a})))})(e,v)))),5e3,!0),(0,s.jsx)(n.m,{children:(0,s.jsxs)(o.Z,{label:r("views.export.panels.file_list"),children:[Object.values(f.current).map((e=>{let{fileName:r,progress:t}=e;return(0,s.jsx)(ue,{value:t,label:r,onCancel:()=>(e=>{const{abortController:r}=f.current[e];null===r||void 0===r||r.abort(),delete f.current[e],l()})(r)},r)})),(0,s.jsx)(c,{...b,placeholder:r(b.placeholder),loadMoreText:r(null!==(e=b.loadMoreText)&&void 0!==e?e:""),columns:b.columns.map((e=>({...e,label:r(e.label)}))),actions:b.actions.map((e=>({...e,label:r(e.label)})))})]})})}},2053:(e,r,t)=>{t.d(r,{A:()=>y});var a=t(8587),n=t(8168),o=t(9950),i=t(2004),l=t(237),s=t(4061),c=t(9254),d=t(9859),u=t(1676),m=t(3244),p=t(8483);function h(e){return(0,p.Ay)("MuiTypography",e)}(0,m.A)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var f=t(4414);const b=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],v=(0,c.Ay)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,t.variant&&r[t.variant],"inherit"!==t.align&&r["align".concat((0,u.A)(t.align))],t.noWrap&&r.noWrap,t.gutterBottom&&r.gutterBottom,t.paragraph&&r.paragraph]}})((e=>{let{theme:r,ownerState:t}=e;return(0,n.A)({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&r.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})})),g={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},x={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},y=o.forwardRef((function(e,r){const t=(0,d.A)({props:e,name:"MuiTypography"}),o=(e=>x[e]||e)(t.color),c=(0,l.A)((0,n.A)({},t,{color:o})),{align:m="inherit",className:p,component:y,gutterBottom:w=!1,noWrap:A=!1,paragraph:j=!1,variant:N="body1",variantMapping:C=g}=c,k=(0,a.A)(c,b),S=(0,n.A)({},c,{align:m,color:o,className:p,component:y,gutterBottom:w,noWrap:A,paragraph:j,variant:N,variantMapping:C}),B=y||(j?"p":C[N]||g[N])||"span",M=(e=>{const{align:r,gutterBottom:t,noWrap:a,paragraph:n,variant:o,classes:i}=e,l={root:["root",o,"inherit"!==e.align&&"align".concat((0,u.A)(r)),t&&"gutterBottom",a&&"noWrap",n&&"paragraph"]};return(0,s.A)(l,h,i)})(S);return(0,f.jsx)(v,(0,n.A)({as:B,ref:r,ownerState:S,className:(0,i.A)(M.root,p)},k))}))}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/654.ff569d5a.chunk.js b/frontend/dist/static/js/654.ff569d5a.chunk.js new file mode 100644 index 00000000..0d8b9b62 --- /dev/null +++ b/frontend/dist/static/js/654.ff569d5a.chunk.js @@ -0,0 +1,2 @@ +/*! For license information please see 654.ff569d5a.chunk.js.LICENSE.txt */ +(self.webpackChunksrc=self.webpackChunksrc||[]).push([[654],{8283:(e,t,r)=>{"use strict";r.d(t,{AH:()=>c,i7:()=>u,mL:()=>l});var n=r(4658),o=r(9950),a=r(1783),i=r(6477),s=r(1192),l=(r(857),r(3876),(0,n.w)((function(e,t){var r=e.styles,l=(0,s.J)([r],void 0,o.useContext(n.T));if(!n.i){for(var c,u=l.name,d=l.styles,f=l.next;void 0!==f;)u+=" "+f.name,d+=f.styles,f=f.next;var p=!0===t.compat,m=t.insert("",{name:u,styles:d},t.sheet,p);return p?null:o.createElement("style",((c={})["data-emotion"]=t.key+"-global "+u,c.dangerouslySetInnerHTML={__html:m},c.nonce=t.sheet.nonce,c))}var h=o.useRef();return(0,i.i)((function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),n=!1,o=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==o&&(n=!0,o.setAttribute("data-emotion",e),r.hydrate([o])),h.current=[r,n],function(){r.flush()}}),[t]),(0,i.i)((function(){var e=h.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,a.sk)(t,l.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}t.insert("",l,r,!1)}}),[t,l.name]),null})));function c(){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";r.d(t,{Rk:()=>n,SF:()=>o,sk:()=>a});function n(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},a=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}}},7775:(e,t,r)=>{"use strict";r.d(t,{A:()=>F});var n=r(8168),o=r(8587),a=r(3999),i=r(6455),s=r(8076),l=r(505),c=r(2860);var u=r(9269);const d={black:"#000",white:"#fff"},f={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},p={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},m={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},h={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},y={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},g={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},b={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},v=["mode","contrastThreshold","tonalOffset"],A={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:d.white,default:d.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},x={text:{primary:d.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:d.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function k(e,t,r,n){const o=n.light||n,a=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,u.a)(e.main,o):"dark"===t&&(e.dark=(0,u.e$)(e.main,a)))}function w(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:s=.2}=e,l=(0,o.A)(e,v),c=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y[200],light:y[50],dark:y[400]}:{main:y[700],light:y[400],dark:y[800]}}(t),w=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(t),S=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:m[500],light:m[300],dark:m[700]}:{main:m[700],light:m[400],dark:m[800]}}(t),O=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[400],light:g[300],dark:g[700]}:{main:g[700],light:g[500],dark:g[900]}}(t),_=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:b[400],light:b[300],dark:b[700]}:{main:b[800],light:b[500],dark:b[900]}}(t),M=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:h[400],light:h[300],dark:h[700]}:{main:"#ed6c02",light:h[500],dark:h[900]}}(t);function T(e){return(0,u.eM)(e,x.text.primary)>=r?x.text.primary:A.text.primary}const P=e=>{let{color:t,name:r,mainShade:o=500,lightShade:i=300,darkShade:l=700}=e;if(t=(0,n.A)({},t),!t.main&&t[o]&&(t.main=t[o]),!t.hasOwnProperty("main"))throw new Error((0,a.A)(11,r?" (".concat(r,")"):"",o));if("string"!==typeof t.main)throw new Error((0,a.A)(12,r?" (".concat(r,")"):"",JSON.stringify(t.main)));return k(t,"light",i,s),k(t,"dark",l,s),t.contrastText||(t.contrastText=T(t.main)),t},C={dark:x,light:A};return(0,i.A)((0,n.A)({common:(0,n.A)({},d),mode:t,primary:P({color:c,name:"primary"}),secondary:P({color:w,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:P({color:S,name:"error"}),warning:P({color:M,name:"warning"}),info:P({color:O,name:"info"}),success:P({color:_,name:"success"}),grey:f,contrastThreshold:r,getContrastText:T,augmentColor:P,tonalOffset:s},C[t]),l)}const S=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const O={textTransform:"uppercase"},_='"Roboto", "Helvetica", "Arial", sans-serif';function M(e,t){const r="function"===typeof t?t(e):t,{fontFamily:a=_,fontSize:s=14,fontWeightLight:l=300,fontWeightRegular:c=400,fontWeightMedium:u=500,fontWeightBold:d=700,htmlFontSize:f=16,allVariants:p,pxToRem:m}=r,h=(0,o.A)(r,S);const y=s/14,g=m||(e=>"".concat(e/f*y,"rem")),b=(e,t,r,o,i)=>{return(0,n.A)({fontFamily:a,fontWeight:e,fontSize:g(t),lineHeight:r},a===_?{letterSpacing:"".concat((s=o/t,Math.round(1e5*s)/1e5),"em")}:{},i,p);var s},v={h1:b(l,96,1.167,-1.5),h2:b(l,60,1.2,-.5),h3:b(c,48,1.167,0),h4:b(c,34,1.235,.25),h5:b(c,24,1.334,0),h6:b(u,20,1.6,.15),subtitle1:b(c,16,1.75,.15),subtitle2:b(u,14,1.57,.1),body1:b(c,16,1.5,.15),body2:b(c,14,1.43,.15),button:b(u,14,1.75,.4,O),caption:b(c,12,1.66,.4),overline:b(c,12,2.66,1,O),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,i.A)((0,n.A)({htmlFontSize:f,pxToRem:g,fontFamily:a,fontSize:s,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:u,fontWeightBold:d},v),h,{clone:!1})}function T(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}const P=["none",T(0,2,1,-1,0,1,1,0,0,1,3,0),T(0,3,1,-2,0,2,2,0,0,1,5,0),T(0,3,3,-2,0,3,4,0,0,1,8,0),T(0,2,4,-1,0,4,5,0,0,1,10,0),T(0,3,5,-1,0,5,8,0,0,1,14,0),T(0,3,5,-1,0,6,10,0,0,1,18,0),T(0,4,5,-2,0,7,10,1,0,2,16,1),T(0,5,5,-3,0,8,10,1,0,3,14,2),T(0,5,6,-3,0,9,12,1,0,3,16,2),T(0,6,6,-3,0,10,14,1,0,4,18,3),T(0,6,7,-4,0,11,15,1,0,4,20,3),T(0,7,8,-4,0,12,17,2,0,5,22,4),T(0,7,8,-4,0,13,19,2,0,5,24,4),T(0,7,9,-4,0,14,21,2,0,5,26,4),T(0,8,9,-5,0,15,22,2,0,6,28,5),T(0,8,10,-5,0,16,24,2,0,6,30,5),T(0,8,11,-5,0,17,26,2,0,6,32,5),T(0,9,11,-5,0,18,28,2,0,7,34,6),T(0,9,12,-6,0,19,29,2,0,7,36,6),T(0,10,13,-6,0,20,31,3,0,8,38,7),T(0,10,13,-6,0,21,33,3,0,8,40,7),T(0,10,14,-6,0,22,35,3,0,8,42,7),T(0,11,14,-7,0,23,36,3,0,9,44,8),T(0,11,15,-7,0,24,38,3,0,9,46,8)],C=["duration","easing","delay"],j={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},R={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function I(e){return"".concat(Math.round(e),"ms")}function E(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function L(e){const t=(0,n.A)({},j,e.easing),r=(0,n.A)({},R,e.duration);return(0,n.A)({getAutoHeightDuration:E,create:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{duration:a=r.standard,easing:i=t.easeInOut,delay:s=0}=n;(0,o.A)(n,C);return(Array.isArray(e)?e:[e]).map((e=>"".concat(e," ").concat("string"===typeof a?a:I(a)," ").concat(i," ").concat("string"===typeof s?s:I(s)))).join(",")}},e,{easing:t,duration:r})}const B={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},W=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function z(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{mixins:t={},palette:r={},transitions:u={},typography:d={}}=e,f=(0,o.A)(e,W);if(e.vars)throw new Error((0,a.A)(18));const p=w(r),m=(0,c.A)(e);let h=(0,i.A)(m,{mixins:(y=m.breakpoints,g=t,(0,n.A)({toolbar:{minHeight:56,[y.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[y.up("sm")]:{minHeight:64}}},g)),palette:p,shadows:P.slice(),typography:M(p,d),transitions:L(u),zIndex:(0,n.A)({},B)});var y,g;h=(0,i.A)(h,f);for(var b=arguments.length,v=new Array(b>1?b-1:0),A=1;A(0,i.A)(e,t)),h),h.unstable_sxConfig=(0,n.A)({},s.A,null==f?void 0:f.unstable_sxConfig),h.unstable_sx=function(e){return(0,l.A)({sx:e,theme:this})},h}const F=z},195:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=(0,r(7775).A)()},7550:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n="$$material"},9254:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>l,_n:()=>s,ep:()=>i});var n=r(7295),o=r(195),a=r(7550);const i=e=>(0,n.MC)(e)&&"classes"!==e,s=n.MC,l=(0,n.Ay)({themeId:a.A,defaultTheme:o.A,rootShouldForwardProp:i})},4857:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});r(9950);var n=r(7148),o=r(195),a=r(7550);function i(){const e=(0,n.A)(o.A);return e[a.A]||e}},9859:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(1522),o=r(7148);var a=r(195),i=r(7550);function s(e){let{props:t,name:r}=e;return function(e){let{props:t,name:r,defaultTheme:a,themeId:i}=e,s=(0,o.A)(a);return i&&(s=s[i]||s),(0,n.A)({theme:s,name:r,props:t})}({props:t,name:r,defaultTheme:a.A,themeId:i.A})}},1676:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=r(3081).A},3158:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});r(9950);var n=r(8283),o=r(4414);function a(e){const{styles:t,defaultTheme:r={}}=e,a="function"===typeof t?e=>{return t(void 0===(n=e)||null===n||0===Object.keys(n).length?r:e);var n}:t;return(0,o.jsx)(n.mL,{styles:a})}},2199:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalStyles:()=>A.A,StyledEngineProvider:()=>v.A,ThemeContext:()=>l.T,css:()=>b.AH,default:()=>x,internal_processStyles:()=>k,keyframes:()=>b.i7});var n=r(8168),o=r(9950),a=r(7923),i=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=(0,a.A)((function(e){return i.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),l=r(4658),c=r(1783),u=r(1192),d=r(6477),f=s,p=function(e){return"theme"!==e},m=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?f:p},h=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!==typeof n&&r&&(n=e.__emotion_forwardProp),n},y=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,c.SF)(t,r,n),(0,d.s)((function(){return(0,c.sk)(t,r,n)})),null},g=function e(t,r){var a,i,s=t.__emotion_real===t,d=s&&t.__emotion_base||t;void 0!==r&&(a=r.label,i=r.target);var f=h(t,r,s),p=f||m(d),g=!p("as");return function(){var b=arguments,v=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==a&&v.push("label:"+a+";"),null==b[0]||void 0===b[0].raw)v.push.apply(v,b);else{0,v.push(b[0][0]);for(var A=b.length,x=1;x{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},9269:(e,t,r)=>{"use strict";var n=r(4994);t.X4=p,t.e$=m,t.eM=function(e,t){const r=f(e),n=f(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},t.a=h;var o=n(r(9606)),a=n(r(5268));function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return(0,a.default)(e,t,r)}function s(e){e=e.slice(1);const t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?"rgb".concat(4===r.length?"a":"","(").concat(r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", "),")"):""}function l(e){if(e.type)return e;if("#"===e.charAt(0))return l(s(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,o.default)(9,e));let n,a=e.substring(t+1,e.length-1);if("color"===r){if(a=a.split(" "),n=a.shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error((0,o.default)(10,n))}else a=a.split(",");return a=a.map((e=>parseFloat(e))),{type:r,values:a,colorSpace:n}}const c=e=>{const t=l(e);return t.values.slice(0,3).map(((e,r)=>-1!==t.type.indexOf("hsl")&&0!==r?"".concat(e,"%"):e)).join(" ")};function u(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),n=-1!==t.indexOf("color")?"".concat(r," ").concat(n.join(" ")):"".concat(n.join(", ")),"".concat(t,"(").concat(n,")")}function d(e){e=l(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,a=n*Math.min(o,1-o),i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+r/30)%12;return o-a*Math.max(Math.min(t-3,9-t,1),-1)};let s="rgb";const c=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(s+="a",c.push(t[3])),u({type:s,values:c})}function f(e){let t="hsl"===(e=l(e)).type||"hsla"===e.type?l(d(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function p(e,t){return e=l(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,u(e)}function m(e,t){if(e=l(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return u(e)}function h(e,t){if(e=l(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return u(e)}},7295:(e,t,r)=>{"use strict";var n=r(4994);t.Ay=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:r=h,rootShouldForwardProp:n=m,slotShouldForwardProp:l=m}=e,u=e=>(0,c.default)((0,o.default)({},e,{theme:g((0,o.default)({},e,{defaultTheme:r,themeId:t}))}));return u.__mui_systemSx=!0,function(e){let c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:d,slot:p,skipVariantsResolver:h,skipSx:A,overridesResolver:x=b(y(p))}=c,k=(0,a.default)(c,f),w=void 0!==h?h:p&&"Root"!==p&&"root"!==p||!1,S=A||!1;let O=m;"Root"===p||"root"===p?O=n:p?O=l:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(O=void 0);const _=(0,i.default)(e,(0,o.default)({shouldForwardProp:O,label:undefined},k)),M=e=>"function"===typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?n=>v(e,(0,o.default)({},n,{theme:g({theme:n.theme,defaultTheme:r,themeId:t})})):e,T=function(n){let a=M(n);for(var i=arguments.length,s=new Array(i>1?i-1:0),l=1;l{const n=g((0,o.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[d]||!n.components[d].styleOverrides)return null;const a=n.components[d].styleOverrides,i={};return Object.entries(a).forEach((t=>{let[r,a]=t;i[r]=v(a,(0,o.default)({},e,{theme:n}))})),x(e,i)})),d&&!w&&c.push((e=>{var n;const a=g((0,o.default)({},e,{defaultTheme:r,themeId:t}));return v({variants:null==a||null==(n=a.components)||null==(n=n[d])?void 0:n.variants},(0,o.default)({},e,{theme:a}))})),S||c.push(u);const f=c.length-s.length;if(Array.isArray(n)&&f>0){const e=new Array(f).fill("");a=[...n,...e],a.raw=[...n.raw,...e]}const p=_(a,...c);return e.muiName&&(p.muiName=e.muiName),p};return _.withConfig&&(T.withConfig=_.withConfig),T}},t.MC=m;var o=n(r(4634)),a=n(r(4893)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(r(2199)),s=r(9717),l=(n(r(7719)),n(r(5645)),n(r(9904))),c=n(r(8807));const u=["ownerState"],d=["variants"],f=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}function m(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const h=(0,l.default)(),y=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function g(e){let{defaultTheme:t,theme:r,themeId:n}=e;return o=r,0===Object.keys(o).length?t:r[n]||r;var o}function b(e){return e?(t,r)=>r[e]:null}function v(e,t){let{ownerState:r}=t,n=(0,a.default)(t,u);const i="function"===typeof e?e((0,o.default)({ownerState:r},n)):e;if(Array.isArray(i))return i.flatMap((e=>v(e,(0,o.default)({ownerState:r},n))));if(i&&"object"===typeof i&&Array.isArray(i.variants)){const{variants:e=[]}=i;let t=(0,a.default)(i,d);return e.forEach((e=>{let a=!0;"function"===typeof e.props?a=e.props((0,o.default)({ownerState:r},n,r)):Object.keys(e.props).forEach((t=>{(null==r?void 0:r[t])!==e.props[t]&&n[t]!==e.props[t]&&(a=!1)})),a&&(Array.isArray(t)||(t=[t]),t.push("function"===typeof e.style?e.style((0,o.default)({ownerState:r},n,r)):e.style))})),t}return i}},8286:(e,t,r)=>{"use strict";r.d(t,{EU:()=>i,NI:()=>a,vf:()=>s,zu:()=>n});const n={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>"@media (min-width:".concat(n[e],"px)")};function a(e,t,r){const a=e.theme||{};if(Array.isArray(t)){const e=a.breakpoints||o;return t.reduce(((n,o,a)=>(n[e.up(e.keys[a])]=r(t[a]),n)),{})}if("object"===typeof t){const e=a.breakpoints||o;return Object.keys(t).reduce(((o,a)=>{if(-1!==Object.keys(e.values||n).indexOf(a)){o[e.up(a)]=r(t[a],a)}else{const e=a;o[e]=t[e]}return o}),{})}return r(t)}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t;return(null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{}))||{}}function s(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}},86:(e,t,r)=>{"use strict";function n(e,t){const r=this;if(r.vars&&"function"===typeof r.getColorSchemeSelector){return{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}}return r.palette.mode===e?t:{}}r.d(t,{A:()=>n})},3628:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(8587),o=r(8168);const a=["values","unit","step"],i=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>(0,o.A)({},e,{[t.key]:t.val})),{})};function s(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:s=5}=e,l=(0,n.A)(e,a),c=i(t),u=Object.keys(c);function d(e){const n="number"===typeof t[e]?t[e]:e;return"@media (min-width:".concat(n).concat(r,")")}function f(e){const n="number"===typeof t[e]?t[e]:e;return"@media (max-width:".concat(n-s/100).concat(r,")")}function p(e,n){const o=u.indexOf(n);return"@media (min-width:".concat("number"===typeof t[e]?t[e]:e).concat(r,") and ")+"(max-width:".concat((-1!==o&&"number"===typeof t[u[o]]?t[u[o]]:n)-s/100).concat(r,")")}return(0,o.A)({keys:u,values:c,up:d,down:f,between:p,only:function(e){return u.indexOf(e)+1{"use strict";r.d(t,{A:()=>p});var n=r(8168),o=r(8587),a=r(6455),i=r(3628);const s={borderRadius:4};var l=r(7937);var c=r(505),u=r(8076),d=r(86);const f=["breakpoints","palette","spacing","shape"];const p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{breakpoints:t={},palette:r={},spacing:p,shape:m={}}=e,h=(0,o.A)(e,f),y=(0,i.A)(t),g=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;const t=(0,l.LX)({spacing:e}),r=function(){for(var e=arguments.length,r=new Array(e),n=0;n{const r=t(e);return"number"===typeof r?"".concat(r,"px"):r})).join(" ")};return r.mui=!0,r}(p);let b=(0,a.A)({breakpoints:y,direction:"ltr",components:{},palette:(0,n.A)({mode:"light"},r),spacing:g,shape:(0,n.A)({},s,m)},h);b.applyStyles=d.A;for(var v=arguments.length,A=new Array(v>1?v-1:0),x=1;x(0,a.A)(e,t)),b),b.unstable_sxConfig=(0,n.A)({},u.A,null==h?void 0:h.unstable_sxConfig),b.unstable_sx=function(e){return(0,c.A)({sx:e,theme:this})},b}},9904:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,private_createBreakpoints:()=>o.A,unstable_applyStyles:()=>a.A});var n=r(2860),o=r(3628),a=r(86)},6206:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(6455);const o=function(e,t){return t?(0,n.A)(e,t,{clone:!1}):e}},7937:(e,t,r)=>{"use strict";r.d(t,{LX:()=>m,MA:()=>p,_W:()=>h,Lc:()=>b,Ms:()=>v});var n=r(8286),o=r(2703),a=r(6206);const i={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}((e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[t,r]=e.split(""),n=i[t],o=s[r]||"";return Array.isArray(o)?o.map((e=>n+e)):[n+o]})),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],f=[...u,...d];function p(e,t,r,n){var a;const i=null!=(a=(0,o.Yn)(e,t,!1))?a:r;return"number"===typeof i?e=>"string"===typeof e?e:i*e:Array.isArray(i)?e=>"string"===typeof e?e:i[e]:"function"===typeof i?i:()=>{}}function m(e){return p(e,"spacing",8)}function h(e,t){if("string"===typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"===typeof r?-r:"-".concat(r)}function y(e,t,r,o){if(-1===t.indexOf(r))return null;const a=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=h(t,r),e)),{})}(c(r),o),i=e[r];return(0,n.NI)(e,i,a)}function g(e,t){const r=m(e.theme);return Object.keys(e).map((n=>y(e,t,n,r))).reduce(a.A,{})}function b(e){return g(e,u)}function v(e){return g(e,d)}function A(e){return g(e,f)}b.propTypes={},b.filterProps=u,v.propTypes={},v.filterProps=d,A.propTypes={},A.filterProps=f},2703:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>s,BO:()=>i,Yn:()=>a});var n=r(3081),o=r(8286);function a(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&r){const r="vars.".concat(t).split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function i(e,t,r){let n,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r;return n="function"===typeof e?e(r):Array.isArray(e)?e[r]||o:a(e,r)||o,t&&(n=t(n,o,e)),n}const s=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:s,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=a(e.theme,s)||{};return(0,o.NI)(e,c,(e=>{let o=i(u,l,e);return e===o&&"string"===typeof e&&(o=i(u,l,"".concat(t).concat("default"===e?"":(0,n.A)(e)),e)),!1===r?o:{[r]:o}}))};return c.propTypes={},c.filterProps=[t],c}},8076:(e,t,r)=>{"use strict";r.d(t,{A:()=>E});var n=r(7937),o=r(2703),a=r(6206);const i=function(){for(var e=arguments.length,t=new Array(e),r=0;r(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),o=e=>Object.keys(e).reduce(((t,r)=>n[r]?(0,a.A)(t,n[r](e)):t),{});return o.propTypes={},o.filterProps=t.reduce(((e,t)=>e.concat(t.filterProps)),[]),o};var s=r(8286);function l(e){return"number"!==typeof e?e:"".concat(e,"px solid")}function c(e,t){return(0,o.Ay)({prop:e,themeKey:"borders",transform:t})}const u=c("border",l),d=c("borderTop",l),f=c("borderRight",l),p=c("borderBottom",l),m=c("borderLeft",l),h=c("borderColor"),y=c("borderTopColor"),g=c("borderRightColor"),b=c("borderBottomColor"),v=c("borderLeftColor"),A=c("outline",l),x=c("outlineColor"),k=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,n.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:(0,n._W)(t,e)});return(0,s.NI)(e,e.borderRadius,r)}return null};k.propTypes={},k.filterProps=["borderRadius"];i(u,d,f,p,m,h,y,g,b,v,k,A,x);const w=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,n.MA)(e.theme,"spacing",8,"gap"),r=e=>({gap:(0,n._W)(t,e)});return(0,s.NI)(e,e.gap,r)}return null};w.propTypes={},w.filterProps=["gap"];const S=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,n.MA)(e.theme,"spacing",8,"columnGap"),r=e=>({columnGap:(0,n._W)(t,e)});return(0,s.NI)(e,e.columnGap,r)}return null};S.propTypes={},S.filterProps=["columnGap"];const O=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,n.MA)(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:(0,n._W)(t,e)});return(0,s.NI)(e,e.rowGap,r)}return null};O.propTypes={},O.filterProps=["rowGap"];i(w,S,O,(0,o.Ay)({prop:"gridColumn"}),(0,o.Ay)({prop:"gridRow"}),(0,o.Ay)({prop:"gridAutoFlow"}),(0,o.Ay)({prop:"gridAutoColumns"}),(0,o.Ay)({prop:"gridAutoRows"}),(0,o.Ay)({prop:"gridTemplateColumns"}),(0,o.Ay)({prop:"gridTemplateRows"}),(0,o.Ay)({prop:"gridTemplateAreas"}),(0,o.Ay)({prop:"gridArea"}));function _(e,t){return"grey"===t?t:e}i((0,o.Ay)({prop:"color",themeKey:"palette",transform:_}),(0,o.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:_}),(0,o.Ay)({prop:"backgroundColor",themeKey:"palette",transform:_}));function M(e){return e<=1&&0!==e?"".concat(100*e,"%"):e}const T=(0,o.Ay)({prop:"width",transform:M}),P=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||s.zu[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:"".concat(o).concat(e.theme.breakpoints.unit)}:{maxWidth:o}:{maxWidth:M(t)}};return(0,s.NI)(e,e.maxWidth,t)}return null};P.filterProps=["maxWidth"];const C=(0,o.Ay)({prop:"minWidth",transform:M}),j=(0,o.Ay)({prop:"height",transform:M}),R=(0,o.Ay)({prop:"maxHeight",transform:M}),I=(0,o.Ay)({prop:"minHeight",transform:M}),E=((0,o.Ay)({prop:"size",cssProperty:"width",transform:M}),(0,o.Ay)({prop:"size",cssProperty:"height",transform:M}),i(T,P,C,j,R,I,(0,o.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:k},color:{themeKey:"palette",transform:_},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:_},backgroundColor:{themeKey:"palette",transform:_},p:{style:n.Ms},pt:{style:n.Ms},pr:{style:n.Ms},pb:{style:n.Ms},pl:{style:n.Ms},px:{style:n.Ms},py:{style:n.Ms},padding:{style:n.Ms},paddingTop:{style:n.Ms},paddingRight:{style:n.Ms},paddingBottom:{style:n.Ms},paddingLeft:{style:n.Ms},paddingX:{style:n.Ms},paddingY:{style:n.Ms},paddingInline:{style:n.Ms},paddingInlineStart:{style:n.Ms},paddingInlineEnd:{style:n.Ms},paddingBlock:{style:n.Ms},paddingBlockStart:{style:n.Ms},paddingBlockEnd:{style:n.Ms},m:{style:n.Lc},mt:{style:n.Lc},mr:{style:n.Lc},mb:{style:n.Lc},ml:{style:n.Lc},mx:{style:n.Lc},my:{style:n.Lc},margin:{style:n.Lc},marginTop:{style:n.Lc},marginRight:{style:n.Lc},marginBottom:{style:n.Lc},marginLeft:{style:n.Lc},marginX:{style:n.Lc},marginY:{style:n.Lc},marginInline:{style:n.Lc},marginInlineStart:{style:n.Lc},marginInlineEnd:{style:n.Lc},marginBlock:{style:n.Lc},marginBlockStart:{style:n.Lc},marginBlockEnd:{style:n.Lc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:w},rowGap:{style:O},columnGap:{style:S},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:M},maxWidth:{style:P},minWidth:{transform:M},height:{transform:M},maxHeight:{transform:M},minHeight:{transform:M},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},237:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(8168),o=r(8587),a=r(6455),i=r(8076);const s=["sx"],l=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:i.A;return Object.keys(e).forEach((t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n};function c(e){const{sx:t}=e,r=(0,o.A)(e,s),{systemProps:i,otherProps:c}=l(r);let u;return u=Array.isArray(t)?[i,...t]:"function"===typeof t?function(){const e=t(...arguments);return(0,a.Q)(e)?(0,n.A)({},i,e):i}:(0,n.A)({},i,t),(0,n.A)({},c,{sx:u})}},8807:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,extendSxProp:()=>o.A,unstable_createStyleFunctionSx:()=>n.k,unstable_defaultSxConfig:()=>a.A});var n=r(505),o=r(237),a=r(8076)},505:(e,t,r)=>{"use strict";r.d(t,{A:()=>u,k:()=>l});var n=r(3081),o=r(6206),a=r(2703),i=r(8286),s=r(8076);function l(){function e(e,t,r,o){const s={[e]:t,theme:r},l=o[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:d,style:f}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const p=(0,a.Yn)(r,u)||{};if(f)return f(s);return(0,i.NI)(s,t,(t=>{let r=(0,a.BO)(p,d,t);return t===r&&"string"===typeof t&&(r=(0,a.BO)(p,d,"".concat(e).concat("default"===t?"":(0,n.A)(t)),t)),!1===c?r:{[c]:r}}))}return function t(r){var n;const{sx:a,theme:l={}}=r||{};if(!a)return null;const c=null!=(n=l.unstable_sxConfig)?n:s.A;function u(r){let n=r;if("function"===typeof r)n=r(l);else if("object"!==typeof r)return r;if(!n)return null;const a=(0,i.EU)(l.breakpoints),s=Object.keys(a);let u=a;return Object.keys(n).forEach((r=>{const a=(s=n[r],d=l,"function"===typeof s?s(d):s);var s,d;if(null!==a&&void 0!==a)if("object"===typeof a)if(c[r])u=(0,o.A)(u,e(r,a,l,c));else{const e=(0,i.NI)({theme:l},a,(e=>({[r]:e})));!function(){for(var e=arguments.length,t=new Array(e),r=0;re.concat(Object.keys(t))),[]),o=new Set(n);return t.every((e=>o.size===Object.keys(e).length))}(e,a)?u=(0,o.A)(u,e):u[r]=t({sx:a,theme:l})}else u=(0,o.A)(u,e(r,a,l,c))})),(0,i.vf)(s,u)}return Array.isArray(a)?a.map(u):u(a)}}const c=l();c.filterProps=["sx"];const u=c},7148:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(2860),o=r(357);const a=(0,n.A)();const i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;return(0,o.A)(e)}},1522:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7661);function o(e){const{theme:t,name:r,props:o}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,n.A)(t.components[r].defaultProps,o):o}},357:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(9950),o=r(4658);const a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=n.useContext(o.T);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r}},1681:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});const n=e=>e,o=(()=>{let e=n;return{configure(t){e=t},generate:t=>e(t),reset(){e=n}}})()},3081:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(3999);function o(e){if("string"!==typeof e)throw new Error((0,n.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},7719:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(3081)},8935:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MIN_SAFE_INTEGER,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.MAX_SAFE_INTEGER;return Math.max(t,Math.min(e,r))}},5268:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(8935)},4061:(e,t,r)=>{"use strict";function n(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;const n={};return Object.keys(e).forEach((o=>{n[o]=e[o].reduce(((e,n)=>{if(n){const o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e}),[]).join(" ")})),n}r.d(t,{A:()=>n})},6455:(e,t,r)=>{"use strict";r.d(t,{A:()=>i,Q:()=>o});var n=r(8168);function o(e){if("object"!==typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function a(e){if(!o(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=a(e[r])})),t}function i(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0};const s=r.clone?(0,n.A)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((n=>{"__proto__"!==n&&(o(t[n])&&n in e&&o(e[n])?s[n]=i(e[n],t[n],r):r.clone?s[n]=o(t[n])?a(t[n]):t[n]:s[n]=t[n])})),s}},9717:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,isPlainObject:()=>n.Q});var n=r(6455)},3999:(e,t,r)=>{"use strict";function n(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;rn})},9606:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(3999)},8483:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>a,li:()=>o});var n=r(1681);const o={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function a(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui";const a=o[t];return a?"".concat(r,"-").concat(a):"".concat(n.A.generate(e),"-").concat(t)}},3244:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(8483);function o(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui";const o={};return t.forEach((t=>{o[t]=(0,n.Ay)(e,t,r)})),o}},5645:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l,getFunctionName:()=>a});var n=r(8762);const o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function a(e){const t="".concat(e).match(o);return t&&t[1]||""}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.displayName||e.name||a(e)||t}function s(e,t,r){const n=i(t);return e.displayName||(""!==n?"".concat(r,"(").concat(n,")"):r)}function l(e){if(null!=e){if("string"===typeof e)return e;if("function"===typeof e)return i(e,"Component");if("object"===typeof e)switch(e.$$typeof){case n.ForwardRef:return s(e,e.render,"ForwardRef");case n.Memo:return s(e,e.type,"memo");default:return}}}},2262:(e,t)=>{"use strict";var r,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen");function g(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case a:case s:case i:case f:case p:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case h:case m:case l:return e;default:return t}}case o:return t}}}r=Symbol.for("react.module.reference"),t.ForwardRef=d,t.Memo=m},8762:(e,t,r)=>{"use strict";e.exports=r(2262)},7661:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(8168);function o(e,t){const r=(0,n.A)({},t);return Object.keys(e).forEach((a=>{if(a.toString().match(/^(components|slots)$/))r[a]=(0,n.A)({},e[a],r[a]);else if(a.toString().match(/^(componentsProps|slotProps)$/)){const i=e[a]||{},s=t[a];r[a]={},s&&Object.keys(s)?i&&Object.keys(i)?(r[a]=(0,n.A)({},s),Object.keys(i).forEach((e=>{r[a][e]=o(i[e],s[e])}))):r[a]=s:r[a]=i}else void 0===r[a]&&(r[a]=e[a])})),r}},4634:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},4893:e=>{e.exports=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},8168:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;tn})},8587:(e,t,r)=>{"use strict";function n(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}r.d(t,{A:()=>n})},2004:(e,t,r)=>{"use strict";function n(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;to});const o=function(){for(var e,t,r=0,o="",a=arguments.length;rn&&t.splice(0,t.length-n),(0,r.Z)(t)}},2468:function(t,e,n){var r=n(4165),o=n(5861),a=n(6573),s=n(2968),i=n(1677),c=n(1061),l=n(281),u=n(5827),d=n(8925),f=function(){var t=(0,o.Z)((0,r.Z)().mark((function t(e){var n,o,f,h,p,m,v,g,x,b,Z,y,w,k,S,L,j,C,A,E,D,O,P,_,N,I,H;return(0,r.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=e.tag,f=e.header,h=e.body,p=e.blob,m=e.filename,v=e.onUpload,g=e.onDownload,x=e.cancelToken,b=e.timeout,Z=void 0===b?u.Z.app_settings.timeout:b,(y=a.Z.create({timeout:1e3*Z})).interceptors.request.use((function(t){return p||(t.headers.Accept="application/json"),t})),y.interceptors.response.use((function(t){return t}),(function(t){return Promise.reject(t)})),w=(0,l.Z)(o),k=null===(n=i.Z.find((function(t){return t.tag===o})))||void 0===n?void 0:n.method,t.prev=6,"ws"!==(null===(S=i.Z.find((function(t){return t.tag===o})))||void 0===S?void 0:S.type)){t.next=10;break}throw new Error("websocket protocol is not supported");case 10:return L="".concat(window.location.protocol).concat((0,c.Z)()),t.next=13,y.request({data:h,method:k,headers:f,url:"".concat(L).concat(w),onUploadProgress:v,onDownloadProgress:g,cancelToken:null===x||void 0===x?void 0:x.token,responseType:p?"blob":"json"});case 13:if(j=t.sent,C=j.data,A=j.headers,!p){t.next=22;break}return(D=A["content-disposition"])&&(m=null===(O=D.split(";").find((function(t){return t.includes("filename=")})))||void 0===O?void 0:O.split("=")[1]),(0,d.saveAs)(C,null!==(E=m)&&void 0!==E?E:"stream"),P=(new Date).toISOString(),t.abrupt("return",{time:P,path:w,data:null,error:!1,status:200,message:"Returned data is a blob"});case 22:return t.abrupt("return",C);case 25:return t.prev=25,t.t0=t.catch(6),_=(new Date).toISOString(),N=t.t0,I=N.message,H=N.status,t.abrupt("return",{time:_,message:I,path:w,data:null,error:!(0,s.Mw)(t.t0),status:H||500});case 30:case"end":return t.stop()}}),t,null,[[6,25]])})));return function(e){return t.apply(this,arguments)}}();e.Z=f},7912:function(t,e,n){var r=n(9439);e.Z=function(t,e,n){for(var o,a=t,s=e.split(">"),i=function(){var e=s[c];try{if(e.includes("[")||e.includes("]")){var n,o,i=(null===(n=e.match(/^(.*?)\[/))||void 0===n?void 0:n[1])||"",l=(null===(o=e.match(/\[(.*?)\]/))||void 0===o?void 0:o[1])||":";if(!l.length)throw new Error("invalid path given");var u=l.split(":"),d=(0,r.Z)(u,2),f=d[0],h=d[1];a=i.length?a[i].find((function(t){return t[f]===h})):a.find((function(t){return t[f]===h}))}else a=a[e]}catch(p){return{v:t}}},c=0;c{c.r(s),c.d(s,{default:()=>t});c(9950);const a=c.p+"static/media/circle-exclamation-solid.d6230f4a460d784515ba71d97d1caddf.svg";var l=c(4414);const t=()=>(0,l.jsxs)("div",{className:"w-full min-h-screen flex flex-col items-center justify-center",children:[(0,l.jsx)("div",{className:"animate-bounce",children:(0,l.jsx)("img",{className:"py-2 w-20 h-20",src:a,alt:""})}),(0,l.jsx)("h2",{className:"py-2 text-2xl font-bold text-gray-600",children:"404 Not Found"})]})}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/717.bc51ac50.chunk.js b/frontend/dist/static/js/717.bc51ac50.chunk.js new file mode 100644 index 00000000..888c1c1e --- /dev/null +++ b/frontend/dist/static/js/717.bc51ac50.chunk.js @@ -0,0 +1,2 @@ +/*! For license information please see 717.bc51ac50.chunk.js.LICENSE.txt */ +(self.webpackChunksrc=self.webpackChunksrc||[]).push([[717],{2527:function(t,e){!function(t){"use strict";var e="1.9.4";function i(t){var e,i,n,o;for(i=1,n=arguments.length;i0?Math.floor(t):Math.ceil(t)};function B(t,e,i){return t instanceof O?t:g(t)?new O(t[0],t[1]):void 0===t||null===t?t:"object"===typeof t&&"x"in t&&"y"in t?new O(t.x,t.y):new O(t,e,i)}function A(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n=this.min.x&&i.x<=this.max.x&&e.y>=this.min.y&&i.y<=this.max.y},intersects:function(t){t=R(t);var e=this.min,i=this.max,n=t.min,o=t.max,s=o.x>=e.x&&n.x<=i.x,r=o.y>=e.y&&n.y<=i.y;return s&&r},overlaps:function(t){t=R(t);var e=this.min,i=this.max,n=t.min,o=t.max,s=o.x>e.x&&n.xe.y&&n.y=n.lat&&i.lat<=o.lat&&e.lng>=n.lng&&i.lng<=o.lng},intersects:function(t){t=D(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>=e.lat&&n.lat<=i.lat,r=o.lng>=e.lng&&n.lng<=i.lng;return s&&r},overlaps:function(t){t=D(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>e.lat&&n.late.lng&&n.lng1,Ct=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",u,e),window.removeEventListener("testPassiveEventSupport",u,e)}catch(i){}return t}(),Zt=!!document.createElement("canvas").getContext,St=!(!document.createElementNS||!X("svg").createSVGRect),Et=!!St&&function(){var t=document.createElement("div");return t.innerHTML="","http://www.w3.org/2000/svg"===(t.firstChild&&t.firstChild.namespaceURI)}(),kt=!St&&function(){try{var t=document.createElement("div");t.innerHTML='';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"===typeof e.adj}catch(i){return!1}}(),Ot=0===navigator.platform.indexOf("Mac"),It=0===navigator.platform.indexOf("Linux");function Bt(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var At={ie:Q,ielt9:tt,edge:et,webkit:it,android:nt,android23:ot,androidStock:rt,opera:at,chrome:ht,gecko:ut,safari:lt,phantom:ct,opera12:dt,win:_t,ie3d:pt,webkit3d:mt,gecko3d:ft,any3d:gt,mobile:vt,mobileWebkit:yt,mobileWebkit3d:xt,msPointer:wt,pointer:bt,touch:Lt,touchNative:Pt,mobileOpera:Tt,mobileGecko:zt,retina:Mt,passiveEvents:Ct,canvas:Zt,svg:St,vml:kt,inlineSvg:Et,mac:Ot,linux:It},Rt=At.msPointer?"MSPointerDown":"pointerdown",Nt=At.msPointer?"MSPointerMove":"pointermove",Dt=At.msPointer?"MSPointerUp":"pointerup",jt=At.msPointer?"MSPointerCancel":"pointercancel",Ht={touchstart:Rt,touchmove:Nt,touchend:Dt,touchcancel:jt},Wt={touchstart:$t,touchmove:Jt,touchend:Jt,touchcancel:Jt},Ft={},Ut=!1;function Vt(t,e,i){return"touchstart"===e&&Xt(),Wt[e]?(i=Wt[e].bind(this,i),t.addEventListener(Ht[e],i,!1),i):(console.warn("wrong event specified:",e),u)}function qt(t,e,i){Ht[e]?t.removeEventListener(Ht[e],i,!1):console.warn("wrong event specified:",e)}function Gt(t){Ft[t.pointerId]=t}function Kt(t){Ft[t.pointerId]&&(Ft[t.pointerId]=t)}function Yt(t){delete Ft[t.pointerId]}function Xt(){Ut||(document.addEventListener(Rt,Gt,!0),document.addEventListener(Nt,Kt,!0),document.addEventListener(Dt,Yt,!0),document.addEventListener(jt,Yt,!0),Ut=!0)}function Jt(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){for(var i in e.touches=[],Ft)e.touches.push(Ft[i]);e.changedTouches=[e],t(e)}}function $t(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&Ge(e),Jt(t,e)}function Qt(t){var e,i,n={};for(i in t)e=t[i],n[i]=e&&e.bind?e.bind(t):e;return t=n,n.type="dblclick",n.detail=2,n.isTrusted=!1,n._simulated=!0,n}var te=200;function ee(t,e){t.addEventListener("dblclick",e);var i,n=0;function o(t){if(1===t.detail){if("mouse"!==t.pointerType&&(!t.sourceCapabilities||t.sourceCapabilities.firesTouchEvents)){var o=Ye(t);if(!o.some((function(t){return t instanceof HTMLLabelElement&&t.attributes.for}))||o.some((function(t){return t instanceof HTMLInputElement||t instanceof HTMLSelectElement}))){var s=Date.now();s-n<=te?2===++i&&e(Qt(t)):i=1,n=s}}}else i=t.detail}return t.addEventListener("click",o),{dblclick:e,simDblclick:o}}function ie(t,e){t.removeEventListener("dblclick",e.dblclick),t.removeEventListener("click",e.simDblclick)}var ne,oe,se,re,ae,he=Te(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ue=Te(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),le="webkitTransition"===ue||"OTransition"===ue?ue+"End":"transitionend";function ce(t){return"string"===typeof t?document.getElementById(t):t}function de(t,e){var i=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!i||"auto"===i)&&document.defaultView){var n=document.defaultView.getComputedStyle(t,null);i=n?n[e]:null}return"auto"===i?null:i}function _e(t,e,i){var n=document.createElement(t);return n.className=e||"",i&&i.appendChild(n),n}function pe(t){var e=t.parentNode;e&&e.removeChild(t)}function me(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function fe(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function ge(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function ve(t,e){if(void 0!==t.classList)return t.classList.contains(e);var i=be(t);return i.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(i)}function ye(t,e){if(void 0!==t.classList)for(var i=d(e),n=0,o=i.length;n0?2*window.devicePixelRatio:1;function $e(t){return At.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/Je:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}function Qe(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch(n){return!1}return i!==t}var ti={__proto__:null,on:Re,off:De,stopPropagation:Ue,disableScrollPropagation:Ve,disableClickPropagation:qe,preventDefault:Ge,stop:Ke,getPropagationPath:Ye,getMousePosition:Xe,getWheelDelta:$e,isExternalTarget:Qe,addListener:Re,removeListener:De},ei=k.extend({run:function(t,e,i,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=Ce(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=z(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,i=1e3*this._duration;ethis.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var i=this.getCenter(),n=this._limitCenter(i,this._zoom,D(t));return i.equals(n)||this.panTo(n,e),this._enforcingBounds=!1,this},panInside:function(t,e){var i=B((e=e||{}).paddingTopLeft||e.padding||[0,0]),n=B(e.paddingBottomRight||e.padding||[0,0]),o=this.project(this.getCenter()),s=this.project(t),r=this.getPixelBounds(),a=R([r.min.add(i),r.max.subtract(n)]),h=a.getSize();if(!a.contains(s)){this._enforcingBounds=!0;var u=s.subtract(a.getCenter()),l=a.extend(s).getSize().subtract(h);o.x+=u.x<0?-l.x:l.x,o.y+=u.y<0?-l.y:l.y,this.panTo(this.unproject(o),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=i({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var n=this.getSize(),s=e.divideBy(2).round(),r=n.divideBy(2).round(),a=s.subtract(r);return a.x||a.y?(t.animate&&t.pan?this.panBy(a):(t.pan&&this._rawPanBy(a),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(o(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:n})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=i({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=o(this._handleGeolocationResponse,this),n=o(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,n,t):navigator.geolocation.getCurrentPosition(e,n,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){if(this._container._leaflet_id){var e=t.code,i=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+i+"."})}},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var e=new j(t.coords.latitude,t.coords.longitude),i=e.toBounds(2*t.coords.accuracy),n=this._locateOptions;if(n.setView){var o=this.getBoundsZoom(i);this.setView(e,n.maxZoom?Math.min(o,n.maxZoom):o)}var s={latlng:e,bounds:i,timestamp:t.timestamp};for(var r in t.coords)"number"===typeof t.coords[r]&&(s[r]=t.coords[r]);this.fire("locationfound",s)}},addHandler:function(t,e){if(!e)return this;var i=this[t]=new e(this);return this._handlers.push(i),this.options[t]&&i.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),pe(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(M(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)pe(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var i=_e("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=i),i},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new N(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,i){t=D(t),i=B(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),s=this.getMaxZoom(),r=t.getNorthWest(),a=t.getSouthEast(),h=this.getSize().subtract(i),u=R(this.project(a,n),this.project(r,n)).getSize(),l=At.any3d?this.options.zoomSnap:1,c=h.x/u.x,d=h.y/u.y,_=e?Math.max(c,d):Math.min(c,d);return n=this.getScaleZoom(_,n),l&&(n=Math.round(n/(l/100))*(l/100),n=e?Math.ceil(n/l)*l:Math.floor(n/l)*l),Math.max(o,Math.min(s,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new O(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var i=this._getTopLeftPoint(t,e);return new A(i,i.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"===typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var i=this.options.crs;return e=void 0===e?this._zoom:e,i.scale(t)/i.scale(e)},getScaleZoom:function(t,e){var i=this.options.crs;e=void 0===e?this._zoom:e;var n=i.zoom(t*i.scale(e));return isNaN(n)?1/0:n},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(H(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(B(t),e)},layerPointToLatLng:function(t){var e=B(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(H(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(H(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(D(t))},distance:function(t,e){return this.options.crs.distance(H(t),H(e))},containerPointToLayerPoint:function(t){return B(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return B(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(B(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(H(t)))},mouseEventToContainerPoint:function(t){return Xe(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=ce(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");Re(e,"scroll",this._onScroll,this),this._containerId=r(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&At.any3d,ye(t,"leaflet-container"+(At.touch?" leaflet-touch":"")+(At.retina?" leaflet-retina":"")+(At.ielt9?" leaflet-oldie":"")+(At.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=de(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&"sticky"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),Me(this._mapPane,new O(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(ye(t.markerPane,"leaflet-zoom-hide"),ye(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e,i){Me(this._mapPane,new O(0,0));var n=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var o=this._zoom!==e;this._moveStart(o,i)._move(t,e)._moveEnd(o),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,i,n){void 0===e&&(e=this._zoom);var o=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),n?i&&i.pinch&&this.fire("zoom",i):((o||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return M(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){Me(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[r(this._container)]=this;var e=t?De:Re;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),At.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){M(this._resizeRequest),this._resizeRequest=z((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var i,n=[],o="mouseout"===e||"mouseover"===e,s=t.target||t.srcElement,a=!1;s;){if((i=this._targets[r(s)])&&("click"===e||"preclick"===e)&&this._draggableMoved(i)){a=!0;break}if(i&&i.listens(e,!0)){if(o&&!Qe(s,t))break;if(n.push(i),o)break}if(s===this._container)break;s=s.parentNode}return n.length||a||o||!this.listens(e,!0)||(n=[this]),n},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var e=t.target||t.srcElement;if(!(!this._loaded||e._leaflet_disable_events||"click"===t.type&&this._isClickDisabled(e))){var i=t.type;"mousedown"===i&&ke(e),this._fireDOMEvent(t,i)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,n){if("click"===t.type){var o=i({},t);o.type="preclick",this._fireDOMEvent(o,o.type,n)}var s=this._findEventTargets(t,e);if(n){for(var r=[],a=0;a0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),i=this.getMaxZoom(),n=At.any3d?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(e,Math.min(i,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){xe(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var i=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(i))&&(this.panBy(i,e),!0)},_createAnimProxy:function(){var t=this._proxy=_e("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",(function(t){var e=he,i=this._proxy.style[e];ze(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),i===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){pe(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();ze(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,i){if(this._animatingZoom)return!0;if(i=i||{},!this._zoomAnimated||!1===i.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(e),o=this._getCenterOffset(t)._divideBy(1-1/n);return!(!0!==i.animate&&!this.getSize().contains(o))&&(z((function(){this._moveStart(!0,i.noMoveStart||!1)._animateZoom(t,e,!0)}),this),!0)},_animateZoom:function(t,e,i,n){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,ye(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:n}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(o(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&xe(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function ni(t,e){return new ii(t,e)}var oi=Z.extend({options:{position:"topright"},initialize:function(t){_(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),i=this.getPosition(),n=t._controlCorners[i];return ye(e,"leaflet-control"),-1!==i.indexOf("bottom")?n.insertBefore(e,n.firstChild):n.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(pe(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),si=function(t){return new oi(t)};ii.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",i=this._controlContainer=_e("div",e+"control-container",this._container);function n(n,o){var s=e+n+" "+e+o;t[n+o]=_e("div",s,i)}n("top","left"),n("top","right"),n("bottom","left"),n("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)pe(this._controlCorners[t]);pe(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var ri=oi.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,i,n){return i1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(r(t.target)),i=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;i&&this._map.fire(i,e)},_createRadioElement:function(t,e){var i='",n=document.createElement("div");return n.innerHTML=i,n.firstChild},_addItem:function(t){var e,i=document.createElement("label"),n=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=n):e=this._createRadioElement("leaflet-base-layers_"+r(this),n),this._layerControlInputs.push(e),e.layerId=r(t.layer),Re(e,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+t.name;var s=document.createElement("span");return i.appendChild(s),s.appendChild(e),s.appendChild(o),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){if(!this._preventClick){var t,e,i=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var s=i.length-1;s>=0;s--)t=i[s],e=this._getLayer(t.layerId).layer,t.checked?n.push(e):t.checked||o.push(e);for(s=0;s=0;o--)t=i[o],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&ne.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;this._preventClick=!0,Re(t,"click",Ge),this.expand();var e=this;setTimeout((function(){De(t,"click",Ge),e._preventClick=!1}))}}),ai=function(t,e,i){return new ri(t,e,i)},hi=oi.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",i=_e("div",e+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,e+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,e+"-out",i,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,i,n,o){var s=_e("a",i,n);return s.innerHTML=t,s.href="#",s.title=e,s.setAttribute("role","button"),s.setAttribute("aria-label",e),qe(s),Re(s,"click",Ke),Re(s,"click",o,this),Re(s,"click",this._refocusOnMap,this),s},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";xe(this._zoomInButton,e),xe(this._zoomOutButton,e),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(ye(this._zoomOutButton,e),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(ye(this._zoomInButton,e),this._zoomInButton.setAttribute("aria-disabled","true"))}});ii.mergeOptions({zoomControl:!0}),ii.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new hi,this.addControl(this.zoomControl))}));var ui=function(t){return new hi(t)},li=oi.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",i=_e("div",e),n=this.options;return this._addScales(n,e+"-line",i),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),i},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,i){t.metric&&(this._mScale=_e("div",e,i)),t.imperial&&(this._iScale=_e("div",e,i))},_update:function(){var t=this._map,e=t.getSize().y/2,i=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(i)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),i=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,i,e/t)},_updateImperial:function(t){var e,i,n,o=3.2808399*t;o>5280?(e=o/5280,i=this._getRoundNum(e),this._updateScale(this._iScale,i+" mi",i/e)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+" ft",n/o))},_updateScale:function(t,e,i){t.style.width=Math.round(this.options.maxWidth*i)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),i=t/e;return e*(i=i>=10?10:i>=5?5:i>=3?3:i>=2?2:1)}}),ci=function(t){return new li(t)},di='',_i=oi.extend({options:{position:"bottomright",prefix:''+(At.inlineSvg?di+" ":"")+"Leaflet"},initialize:function(t){_(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=_e("div","leaflet-control-attribution"),qe(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",(function(){this.removeAttribution(t.layer.getAttribution())}),this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var i=[];this.options.prefix&&i.push(this.options.prefix),t.length&&i.push(t.join(", ")),this._container.innerHTML=i.join(' ')}}});ii.mergeOptions({attributionControl:!0}),ii.addInitHook((function(){this.options.attributionControl&&(new _i).addTo(this)}));var pi=function(t){return new _i(t)};oi.Layers=ri,oi.Zoom=hi,oi.Scale=li,oi.Attribution=_i,si.layers=ai,si.zoom=ui,si.scale=ci,si.attribution=pi;var mi=Z.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});mi.addTo=function(t,e){return t.addHandler(e,this),this};var fi={Events:E},gi=At.touch?"touchstart mousedown":"mousedown",vi=k.extend({options:{clickTolerance:3},initialize:function(t,e,i,n){_(this,n),this._element=t,this._dragStartTarget=e||t,this._preventOutline=i},enable:function(){this._enabled||(Re(this._dragStartTarget,gi,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(vi._dragging===this&&this.finishDrag(!0),De(this._dragStartTarget,gi,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(this._enabled&&(this._moved=!1,!ve(this._element,"leaflet-zoom-anim")))if(t.touches&&1!==t.touches.length)vi._dragging===this&&this.finishDrag();else if(!(vi._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches)&&(vi._dragging=this,this._preventOutline&&ke(this._element),Se(),ne(),!this._moving)){this.fire("down");var e=t.touches?t.touches[0]:t,i=Ie(this._element);this._startPoint=new O(e.clientX,e.clientY),this._startPos=Ce(this._element),this._parentScale=Be(i);var n="mousedown"===t.type;Re(document,n?"mousemove":"touchmove",this._onMove,this),Re(document,n?"mouseup":"touchend touchcancel",this._onUp,this)}},_onMove:function(t){if(this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,i=new O(e.clientX,e.clientY)._subtract(this._startPoint);(i.x||i.y)&&(Math.abs(i.x)+Math.abs(i.y)h&&(s=r,h=a);h>i&&(e[s]=1,Ci(t,e,i,n,s),Ci(t,e,i,s,o))}function Zi(t,e){for(var i=[t[0]],n=1,o=0,s=t.length;ne&&(i.push(t[n]),o=n);return oe.max.x&&(i|=2),t.ye.max.y&&(i|=8),i}function Oi(t,e){var i=e.x-t.x,n=e.y-t.y;return i*i+n*n}function Ii(t,e,i,n){var o,s=e.x,r=e.y,a=i.x-s,h=i.y-r,u=a*a+h*h;return u>0&&((o=((t.x-s)*a+(t.y-r)*h)/u)>1?(s=i.x,r=i.y):o>0&&(s+=a*o,r+=h*o)),a=t.x-s,h=t.y-r,n?a*a+h*h:new O(s,r)}function Bi(t){return!g(t[0])||"object"!==typeof t[0][0]&&"undefined"!==typeof t[0][0]}function Ai(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Bi(t)}function Ri(t,e){var i,n,o,s,r,a,h,u;if(!t||0===t.length)throw new Error("latlngs not passed");Bi(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var l=H([0,0]),c=D(t);c.getNorthWest().distanceTo(c.getSouthWest())*c.getNorthEast().distanceTo(c.getNorthWest())<1700&&(l=wi(t));var d=t.length,_=[];for(i=0;in){h=(s-n)/o,u=[a.x-h*(a.x-r.x),a.y-h*(a.y-r.y)];break}var m=e.unproject(B(u));return H([m.lat+l.lat,m.lng+l.lng])}var Ni={__proto__:null,simplify:Li,pointToSegmentDistance:Ti,closestPointOnSegment:zi,clipSegment:Si,_getEdgeIntersection:Ei,_getBitCode:ki,_sqClosestPointOnSegment:Ii,isFlat:Bi,_flat:Ai,polylineCenter:Ri},Di={project:function(t){return new O(t.lng,t.lat)},unproject:function(t){return new j(t.y,t.x)},bounds:new A([-180,-90],[180,90])},ji={R:6378137,R_MINOR:6356752.314245179,bounds:new A([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,i=this.R,n=t.lat*e,o=this.R_MINOR/i,s=Math.sqrt(1-o*o),r=s*Math.sin(n),a=Math.tan(Math.PI/4-n/2)/Math.pow((1-r)/(1+r),s/2);return n=-i*Math.log(Math.max(a,1e-10)),new O(t.lng*e*i,n)},unproject:function(t){for(var e,i=180/Math.PI,n=this.R,o=this.R_MINOR/n,s=Math.sqrt(1-o*o),r=Math.exp(-t.y/n),a=Math.PI/2-2*Math.atan(r),h=0,u=.1;h<15&&Math.abs(u)>1e-7;h++)e=s*Math.sin(a),e=Math.pow((1-e)/(1+e),s/2),a+=u=Math.PI/2-2*Math.atan(r*e)-a;return new j(a*i,t.x*i/n)}},Hi={__proto__:null,LonLat:Di,Mercator:ji,SphericalMercator:V},Wi=i({},F,{code:"EPSG:3395",projection:ji,transformation:function(){var t=.5/(Math.PI*ji.R);return G(t,.5,-t,.5)}()}),Fi=i({},F,{code:"EPSG:4326",projection:Di,transformation:G(1/180,1,-1/180,.5)}),Ui=i({},W,{projection:Di,transformation:G(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var i=e.lng-t.lng,n=e.lat-t.lat;return Math.sqrt(i*i+n*n)},infinite:!0});W.Earth=F,W.EPSG3395=Wi,W.EPSG3857=K,W.EPSG900913=Y,W.EPSG4326=Fi,W.Simple=Ui;var Vi=k.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[r(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[r(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var i=this.getEvents();e.on(i,this),this.once("remove",(function(){e.off(i,this)}),this)}this.onAdd(e),this.fire("add"),e.fire("layeradd",{layer:this})}}});ii.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=r(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=r(t);return this._layers[e]?(this._loaded&&t.onRemove(this),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return r(t)in this._layers},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},_addLayers:function(t){for(var e=0,i=(t=t?g(t)?t:[t]:[]).length;ethis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()=2&&e[0]instanceof j&&e[0].equals(e[i-1])&&e.pop(),e},_setLatLngs:function(t){hn.prototype._setLatLngs.call(this,t),Bi(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Bi(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,i=new O(e,e);if(t=new A(t.min.subtract(i),t.max.add(i)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var n,o=0,s=this._rings.length;ot.y!==n.y>t.y&&t.x<(n.x-i.x)*(t.y-i.y)/(n.y-i.y)+i.x&&(u=!u);return u||hn.prototype._containsPoint.call(this,t,!0)}});function cn(t,e){return new ln(t,e)}var dn=Ki.extend({initialize:function(t,e){_(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,i,n,o=g(t)?t:t.features;if(o){for(e=0,i=o.length;e0&&o.push(o[0].slice()),o}function yn(t,e){return t.feature?i({},t.feature,{geometry:e}):xn(e)}function xn(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var wn={toGeoJSON:function(t){return yn(this,{type:"Point",coordinates:gn(this.getLatLng(),t)})}};function bn(t,e){return new dn(t,e)}tn.include(wn),rn.include(wn),on.include(wn),hn.include({toGeoJSON:function(t){var e=!Bi(this._latlngs);return yn(this,{type:(e?"Multi":"")+"LineString",coordinates:vn(this._latlngs,e?1:0,!1,t)})}}),ln.include({toGeoJSON:function(t){var e=!Bi(this._latlngs),i=e&&!Bi(this._latlngs[0]),n=vn(this._latlngs,i?2:e?1:0,!0,t);return e||(n=[n]),yn(this,{type:(i?"Multi":"")+"Polygon",coordinates:n})}}),qi.include({toMultiPoint:function(t){var e=[];return this.eachLayer((function(i){e.push(i.toGeoJSON(t).geometry.coordinates)})),yn(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===e)return this.toMultiPoint(t);var i="GeometryCollection"===e,n=[];return this.eachLayer((function(e){if(e.toGeoJSON){var o=e.toGeoJSON(t);if(i)n.push(o.geometry);else{var s=xn(o);"FeatureCollection"===s.type?n.push.apply(n,s.features):n.push(s)}}})),i?yn(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});var Pn=bn,Ln=Vi.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,i){this._url=t,this._bounds=D(e),_(this,i)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(ye(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){pe(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&fe(this._image),this},bringToBack:function(){return this._map&&ge(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=D(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:_e("img");ye(e,"leaflet-image-layer"),this._zoomAnimated&&ye(e,"leaflet-zoom-animated"),this.options.className&&ye(e,this.options.className),e.onselectstart=u,e.onmousemove=u,e.onload=o(this.fire,this,"load"),e.onerror=o(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=e.src:(e.src=this._url,e.alt=this.options.alt)},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),i=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;ze(this._image,i,e)},_reset:function(){var t=this._image,e=new A(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=e.getSize();Me(t,e.min),t.style.width=i.x+"px",t.style.height=i.y+"px"},_updateOpacity:function(){Pe(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),Tn=function(t,e,i){return new Ln(t,e,i)},zn=Ln.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:_e("video");if(ye(e,"leaflet-image-layer"),this._zoomAnimated&&ye(e,"leaflet-zoom-animated"),this.options.className&&ye(e,this.options.className),e.onselectstart=u,e.onmousemove=u,e.onloadeddata=o(this.fire,this,"load"),t){for(var i=e.getElementsByTagName("source"),n=[],s=0;s0?n:[e.src]}else{g(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted,e.playsInline=!!this.options.playsInline;for(var r=0;ro?(e.height=o+"px",ye(t,s)):xe(t,s),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),i=this._getAnchor();Me(this._container,e.add(i))},_adjustPan:function(){if(this.options.autoPan)if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning)this._autopanning=!1;else{var t=this._map,e=parseInt(de(this._container,"marginBottom"),10)||0,i=this._container.offsetHeight+e,n=this._containerWidth,o=new O(this._containerLeft,-i-this._containerBottom);o._add(Ce(this._container));var s=t.layerPointToContainerPoint(o),r=B(this.options.autoPanPadding),a=B(this.options.autoPanPaddingTopLeft||r),h=B(this.options.autoPanPaddingBottomRight||r),u=t.getSize(),l=0,c=0;s.x+n+h.x>u.x&&(l=s.x+n-u.x+h.x),s.x-l-a.x<0&&(l=s.x-a.x),s.y+i+h.y>u.y&&(c=s.y+i-u.y+h.y),s.y-c-a.y<0&&(c=s.y-a.y),(l||c)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([l,c]))}},_getAnchor:function(){return B(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),kn=function(t,e){return new En(t,e)};ii.mergeOptions({closePopupOnClick:!0}),ii.include({openPopup:function(t,e,i){return this._initOverlay(En,t,e,i).openOn(this),this},closePopup:function(t){return(t=arguments.length?t:this._popup)&&t.close(),this}}),Vi.include({bindPopup:function(t,e){return this._popup=this._initOverlay(En,this._popup,t,e),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t){return this._popup&&(this instanceof Ki||(this._popup._source=this),this._popup._prepareOpen(t||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){if(this._popup&&this._map){Ke(t);var e=t.layer||t.target;this._popup._source!==e||e instanceof nn?(this._popup._source=e,this.openPopup(t.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var On=Sn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){Sn.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){Sn.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=Sn.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=_e("div",t),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+r(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,i,n=this._map,o=this._container,s=n.latLngToContainerPoint(n.getCenter()),r=n.layerPointToContainerPoint(t),a=this.options.direction,h=o.offsetWidth,u=o.offsetHeight,l=B(this.options.offset),c=this._getAnchor();"top"===a?(e=h/2,i=u):"bottom"===a?(e=h/2,i=0):"center"===a?(e=h/2,i=u/2):"right"===a?(e=0,i=u/2):"left"===a?(e=h,i=u/2):r.xthis.options.maxZoom||in&&this._retainParent(o,s,r,n))},_retainChildren:function(t,e,i,n){for(var o=2*t;o<2*t+2;o++)for(var s=2*e;s<2*e+2;s++){var r=new O(o,s);r.z=i+1;var a=this._tileCoordsToKey(r),h=this._tiles[a];h&&h.active?h.retain=!0:(h&&h.loaded&&(h.retain=!0),i+1this.options.maxZoom||void 0!==this.options.minZoom&&o1)this._setView(t,i);else{for(var c=o.min.y;c<=o.max.y;c++)for(var d=o.min.x;d<=o.max.x;d++){var _=new O(d,c);if(_.z=this._tileZoom,this._isValidTile(_)){var p=this._tiles[this._tileCoordsToKey(_)];p?p.current=!0:r.push(_)}}if(r.sort((function(t,e){return t.distanceTo(s)-e.distanceTo(s)})),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(d=0;di.max.x)||!e.wrapLat&&(t.yi.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(t);return D(this.options.bounds).overlaps(n)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,i=this.getTileSize(),n=t.scaleBy(i),o=n.add(i);return[e.unproject(n,t.z),e.unproject(o,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),i=new N(e[0],e[1]);return this.options.noWrap||(i=this._map.wrapLatLngBounds(i)),i},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),i=new O(+e[0],+e[1]);return i.z=+e[2],i},_removeTile:function(t){var e=this._tiles[t];e&&(pe(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){ye(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=u,t.onmousemove=u,At.ielt9&&this.options.opacity<1&&Pe(t,this.options.opacity)},_addTile:function(t,e){var i=this._getTilePos(t),n=this._tileCoordsToKey(t),s=this.createTile(this._wrapCoords(t),o(this._tileReady,this,t));this._initTile(s),this.createTile.length<2&&z(o(this._tileReady,this,t,null,s)),Me(s,i),this._tiles[n]={el:s,coords:t,current:!0},e.appendChild(s),this.fire("tileloadstart",{tile:s,coords:t})},_tileReady:function(t,e,i){e&&this.fire("tileerror",{error:e,tile:i,coords:t});var n=this._tileCoordsToKey(t);(i=this._tiles[n])&&(i.loaded=+new Date,this._map._fadeAnimated?(Pe(i.el,0),M(this._fadeFrame),this._fadeFrame=z(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),e||(ye(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),At.ielt9||!this._map._fadeAnimated?z(this._pruneTiles,this):setTimeout(o(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new O(this._wrapX?h(t.x,this._wrapX):t.x,this._wrapY?h(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new A(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});function Nn(t){return new Rn(t)}var Dn=Rn.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,e){this._url=t,(e=_(this,e)).detectRetina&&At.retina&&e.maxZoom>0?(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom=Math.min(e.maxZoom,e.minZoom+1)):(e.zoomOffset++,e.maxZoom=Math.max(e.minZoom,e.maxZoom-1)),e.minZoom=Math.max(0,e.minZoom)):e.zoomReverse?e.minZoom=Math.min(e.maxZoom,e.minZoom):e.maxZoom=Math.max(e.minZoom,e.maxZoom),"string"===typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var i=document.createElement("img");return Re(i,"load",o(this._tileOnLoad,this,e,i)),Re(i,"error",o(this._tileOnError,this,e,i)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"===typeof this.options.referrerPolicy&&(i.referrerPolicy=this.options.referrerPolicy),i.alt="",i.src=this.getTileUrl(t),i},getTileUrl:function(t){var e={r:At.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var n=this._globalTileRange.max.y-t.y;this.options.tms&&(e.y=n),e["-y"]=n}return f(this._url,i(e,this.options))},_tileOnLoad:function(t,e){At.ielt9?setTimeout(o(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,i){var n=this.options.errorTileUrl;n&&e.getAttribute("src")!==n&&(e.src=n),t(i,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return this.options.zoomReverse&&(t=e-t),t+this.options.zoomOffset},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)if(this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=u,e.onerror=u,!e.complete)){e.src=y;var i=this._tiles[t].coords;pe(e),delete this._tiles[t],this.fire("tileabort",{tile:e,coords:i})}},_removeTile:function(t){var e=this._tiles[t];if(e)return e.el.setAttribute("src",y),Rn.prototype._removeTile.call(this,t)},_tileReady:function(t,e,i){if(this._map&&(!i||i.getAttribute("src")!==y))return Rn.prototype._tileReady.call(this,t,e,i)}});function jn(t,e){return new Dn(t,e)}var Hn=Dn.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var n=i({},this.defaultWmsParams);for(var o in e)o in this.options||(n[o]=e[o]);var s=(e=_(this,e)).detectRetina&&At.retina?2:1,r=this.getTileSize();n.width=r.x*s,n.height=r.y*s,this.wmsParams=n},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,Dn.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),i=this._crs,n=R(i.project(e[0]),i.project(e[1])),o=n.min,s=n.max,r=(this._wmsVersion>=1.3&&this._crs===Fi?[o.y,o.x,s.y,s.x]:[o.x,o.y,s.x,s.y]).join(","),a=Dn.prototype.getTileUrl.call(this,t);return a+p(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+r},setParams:function(t,e){return i(this.wmsParams,t),e||this.redraw(),this}});function Wn(t,e){return new Hn(t,e)}Dn.WMS=Hn,jn.wms=Wn;var Fn=Vi.extend({options:{padding:.1},initialize:function(t){_(this,t),r(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),ye(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var i=this._map.getZoomScale(e,this._zoom),n=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,e),s=n.multiplyBy(-i).add(o).subtract(this._map._getNewPixelOrigin(t,e));At.any3d?ze(this._container,s,i):Me(this._container,s)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),i=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new A(i,i.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Un=Fn.extend({options:{tolerance:0},getEvents:function(){var t=Fn.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Fn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Re(t,"mousemove",this._onMouseMove,this),Re(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Re(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){M(this._redrawRequest),delete this._ctx,pe(this._container),De(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){Fn.prototype._update.call(this);var t=this._bounds,e=this._container,i=t.getSize(),n=At.retina?2:1;Me(e,t.min),e.width=n*i.x,e.height=n*i.y,e.style.width=i.x+"px",e.style.height=i.y+"px",At.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){Fn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[r(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,i=e.next,n=e.prev;i?i.prev=n:this._drawLast=n,n?n.next=i:this._drawFirst=i,delete t._order,delete this._layers[r(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"===typeof t.options.dashArray){var e,i,n=t.options.dashArray.split(/[, ]+/),o=[];for(i=0;i')}}catch(t){}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Gn={_initContainer:function(){this._container=_e("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Fn.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=qn("shape");ye(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=qn("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[r(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;pe(e),t.removeInteractiveTarget(e),delete this._layers[r(t)]},_updateStyle:function(t){var e=t._stroke,i=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(e||(e=t._stroke=qn("stroke")),o.appendChild(e),e.weight=n.weight+"px",e.color=n.color,e.opacity=n.opacity,n.dashArray?e.dashStyle=g(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=n.lineCap.replace("butt","flat"),e.joinstyle=n.lineJoin):e&&(o.removeChild(e),t._stroke=null),n.fill?(i||(i=t._fill=qn("fill")),o.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(o.removeChild(i),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),i=Math.round(t._radius),n=Math.round(t._radiusY||i);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+i+","+n+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){fe(t._container)},_bringToBack:function(t){ge(t._container)}},Kn=At.vml?qn:X,Yn=Fn.extend({_initContainer:function(){this._container=Kn("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Kn("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){pe(this._container),De(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){Fn.prototype._update.call(this);var t=this._bounds,e=t.getSize(),i=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,i.setAttribute("width",e.x),i.setAttribute("height",e.y)),Me(i,t.min),i.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=Kn("path");t.options.className&&ye(e,t.options.className),t.options.interactive&&ye(e,"leaflet-interactive"),this._updateStyle(t),this._layers[r(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){pe(t._path),t.removeInteractiveTarget(t._path),delete this._layers[r(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,i=t.options;e&&(i.stroke?(e.setAttribute("stroke",i.color),e.setAttribute("stroke-opacity",i.opacity),e.setAttribute("stroke-width",i.weight),e.setAttribute("stroke-linecap",i.lineCap),e.setAttribute("stroke-linejoin",i.lineJoin),i.dashArray?e.setAttribute("stroke-dasharray",i.dashArray):e.removeAttribute("stroke-dasharray"),i.dashOffset?e.setAttribute("stroke-dashoffset",i.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),i.fill?(e.setAttribute("fill",i.fillColor||i.color),e.setAttribute("fill-opacity",i.fillOpacity),e.setAttribute("fill-rule",i.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,J(t._parts,e))},_updateCircle:function(t){var e=t._point,i=Math.max(Math.round(t._radius),1),n="a"+i+","+(Math.max(Math.round(t._radiusY),1)||i)+" 0 1,0 ",o=t._empty()?"M0 0":"M"+(e.x-i)+","+e.y+n+2*i+",0 "+n+2*-i+",0 ";this._setPath(t,o)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){fe(t._path)},_bringToBack:function(t){ge(t._path)}});function Xn(t){return At.svg||At.vml?new Yn(t):null}At.vml&&Yn.include(Gn),ii.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&Vn(t)||Xn(t)}});var Jn=ln.extend({initialize:function(t,e){ln.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=D(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function $n(t,e){return new Jn(t,e)}Yn.create=Kn,Yn.pointsToPath=J,dn.geometryToLayer=_n,dn.coordsToLatLng=mn,dn.coordsToLatLngs=fn,dn.latLngToCoords=gn,dn.latLngsToCoords=vn,dn.getFeature=yn,dn.asFeature=xn,ii.mergeOptions({boxZoom:!0});var Qn=mi.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){Re(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){De(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){pe(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),ne(),Se(),this._startPoint=this._map.mouseEventToContainerPoint(t),Re(document,{contextmenu:Ke,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=_e("div","leaflet-zoom-box",this._container),ye(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new A(this._point,this._startPoint),i=e.getSize();Me(this._box,e.min),this._box.style.width=i.x+"px",this._box.style.height=i.y+"px"},_finish:function(){this._moved&&(pe(this._box),xe(this._container,"leaflet-crosshair")),oe(),Ee(),De(document,{contextmenu:Ke,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(o(this._resetState,this),0);var e=new N(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});ii.addInitHook("addHandler","boxZoom",Qn),ii.mergeOptions({doubleClickZoom:!0});var to=mi.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,i=e.getZoom(),n=e.options.zoomDelta,o=t.originalEvent.shiftKey?i-n:i+n;"center"===e.options.doubleClickZoom?e.setZoom(o):e.setZoomAround(t.containerPoint,o)}});ii.addInitHook("addHandler","doubleClickZoom",to),ii.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var eo=mi.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new vi(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}ye(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){xe(this._map._container,"leaflet-grab"),xe(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=D(this._map.options.maxBounds);this._offsetLimit=R(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(i),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.xe.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-e+i)%t+e-i,s=(n+e+i)%t-e-i,r=Math.abs(o+i)0?s:-s))-e;this._delta=0,this._startTime=null,r&&("center"===t.options.scrollWheelZoom?t.setZoom(e+r):t.setZoomAround(this._lastMousePos,e+r))}});ii.addInitHook("addHandler","scrollWheelZoom",no);var oo=600;ii.mergeOptions({tapHold:At.touchNative&&At.safari&&At.mobile,tapTolerance:15});var so=mi.extend({addHooks:function(){Re(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){De(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),1===t.touches.length){var e=t.touches[0];this._startPos=this._newPos=new O(e.clientX,e.clientY),this._holdTimeout=setTimeout(o((function(){this._cancel(),this._isTapValid()&&(Re(document,"touchend",Ge),Re(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))}),this),oo),Re(document,"touchend touchcancel contextmenu",this._cancel,this),Re(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){De(document,"touchend",Ge),De(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),De(document,"touchend touchcancel contextmenu",this._cancel,this),De(document,"touchmove",this._onMove,this)},_onMove:function(t){var e=t.touches[0];this._newPos=new O(e.clientX,e.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,e){var i=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY});i._simulated=!0,e.target.dispatchEvent(i)}});ii.addInitHook("addHandler","tapHold",so),ii.mergeOptions({touchZoom:At.touch,bounceAtZoomLimits:!0});var ro=mi.extend({addHooks:function(){ye(this._map._container,"leaflet-touch-zoom"),Re(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){xe(this._map._container,"leaflet-touch-zoom"),De(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(i.add(n)._divideBy(2))),this._startDist=i.distanceTo(n),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),Re(document,"touchmove",this._onTouchMove,this),Re(document,"touchend touchcancel",this._onTouchEnd,this),Ge(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]),s=i.distanceTo(n)/this._startDist;if(this._zoom=e.getScaleZoom(s,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoome.getMaxZoom()&&s>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===s)return}else{var r=i._add(n)._divideBy(2)._subtract(this._centerPoint);if(1===s&&0===r.x&&0===r.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(r),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),M(this._animRequest);var a=o(e._move,e,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=z(a,this,!0),Ge(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,M(this._animRequest),De(document,"touchmove",this._onTouchMove,this),De(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});ii.addInitHook("addHandler","touchZoom",ro),ii.BoxZoom=Qn,ii.DoubleClickZoom=to,ii.Drag=eo,ii.Keyboard=io,ii.ScrollWheelZoom=no,ii.TapHold=so,ii.TouchZoom=ro,t.Bounds=A,t.Browser=At,t.CRS=W,t.Canvas=Un,t.Circle=rn,t.CircleMarker=on,t.Class=Z,t.Control=oi,t.DivIcon=Bn,t.DivOverlay=Sn,t.DomEvent=ti,t.DomUtil=Ae,t.Draggable=vi,t.Evented=k,t.FeatureGroup=Ki,t.GeoJSON=dn,t.GridLayer=Rn,t.Handler=mi,t.Icon=Xi,t.ImageOverlay=Ln,t.LatLng=j,t.LatLngBounds=N,t.Layer=Vi,t.LayerGroup=qi,t.LineUtil=Ni,t.Map=ii,t.Marker=tn,t.Mixin=fi,t.Path=nn,t.Point=O,t.PolyUtil=Pi,t.Polygon=ln,t.Polyline=hn,t.Popup=En,t.PosAnimation=ei,t.Projection=Hi,t.Rectangle=Jn,t.Renderer=Fn,t.SVG=Yn,t.SVGOverlay=Cn,t.TileLayer=Dn,t.Tooltip=On,t.Transformation=q,t.Util=C,t.VideoOverlay=zn,t.bind=o,t.bounds=R,t.canvas=Vn,t.circle=an,t.circleMarker=sn,t.control=si,t.divIcon=An,t.extend=i,t.featureGroup=Yi,t.geoJSON=bn,t.geoJson=Pn,t.gridLayer=Nn,t.icon=Ji,t.imageOverlay=Tn,t.latLng=H,t.latLngBounds=D,t.layerGroup=Gi,t.map=ni,t.marker=en,t.point=B,t.polygon=cn,t.polyline=un,t.popup=kn,t.rectangle=$n,t.setOptions=_,t.stamp=r,t.svg=Xn,t.svgOverlay=Zn,t.tileLayer=jn,t.tooltip=In,t.transformation=G,t.version=e,t.videoOverlay=Mn;var ao=window.L;t.noConflict=function(){return window.L=ao,this},window.L=t}(e)},5392:()=>{},3388:(t,e,i)=>{"use strict";i.d(e,{U$:()=>u,W4:()=>r,fB:()=>s,hL:()=>h});var n=i(9950);const o=1;function s(t){return Object.freeze({__version:o,map:t})}function r(t,e){return Object.freeze({...t,...e})}const a=(0,n.createContext)(null),h=a.Provider;function u(){const t=(0,n.useContext)(a);if(null==t)throw new Error("No context provided: useLeafletContext() can only be used in a descendant of ");return t}},9995:(t,e,i)=>{"use strict";i.d(e,{K:()=>s,Q:()=>o});var n=i(9950);function o(t,e,i){return Object.freeze({instance:t,context:e,container:i})}function s(t,e){return null==e?function(e,i){const o=(0,n.useRef)();return o.current||(o.current=t(e,i)),o}:function(i,o){const s=(0,n.useRef)();s.current||(s.current=t(i,o));const r=(0,n.useRef)(i),{instance:a}=s.current;return(0,n.useEffect)((function(){r.current!==i&&(e(a,i,r.current),r.current=i)}),[a,i,o]),s}}},9935:(t,e,i)=>{"use strict";i.d(e,{Nq:()=>h,X3:()=>u});var n=i(9950),o=(i(7119),i(3388));var s=i(9995);var r=i(9781);function a(t){return function(e){const i=(0,o.U$)(),s=t((0,r.P)(e,i),i);return function(t,e){const i=(0,n.useRef)(e);(0,n.useEffect)((function(){e!==i.current&&null!=t.attributionControl&&(null!=i.current&&t.attributionControl.removeAttribution(i.current),null!=e&&t.attributionControl.addAttribution(e)),i.current=e}),[t,e])}(i.map,e.attribution),function(t,e){const i=(0,n.useRef)();(0,n.useEffect)((function(){return null!=e&&t.instance.on(e),i.current=e,function(){null!=i.current&&t.instance.off(i.current),i.current=null}}),[t,e])}(s.current,e.eventHandlers),function(t,e){(0,n.useEffect)((function(){var i;return(null!==(i=e.layerContainer)&&void 0!==i?i:e.map).addLayer(t.instance),function(){var i;null===(i=e.layerContainer)||void 0===i||i.removeLayer(t.instance),e.map.removeLayer(t.instance)}}),[e,t])}(s.current,i),s}}function h(t,e){return function(t){function e(e,i){const{instance:s,context:r}=t(e).current;return(0,n.useImperativeHandle)(i,(()=>s)),null==e.children?null:n.createElement(o.hL,{value:r},e.children)}return(0,n.forwardRef)(e)}(a((0,s.K)(t,e)))}function u(t,e){return function(t){function e(e,i){const{instance:o}=t(e).current;return(0,n.useImperativeHandle)(i,(()=>o)),null}return(0,n.forwardRef)(e)}(a((0,s.K)(t,e)))}},9781:(t,e,i)=>{"use strict";function n(t,e){var i;const n=null!==(i=t.pane)&&void 0!==i?i:e.pane;return n?{...t,pane:n}:t}i.d(e,{P:()=>n})},9810:(t,e,i)=>{"use strict";i.d(e,{W:()=>h});var n=i(3388),o=i(2527),s=i(9950);function r(){return r=Object.assign||function(t){for(var e=1;e{var t;return null!==(t=null===v||void 0===v?void 0:v.map)&&void 0!==t?t:null}),[v]);const x=(0,s.useCallback)((t=>{if(null!==t&&null===v){const e=new o.Map(t,f);null!=h&&null!=m?e.setView(h,m):null!=i&&e.fitBounds(i,a),null!=p&&e.whenReady(p),y((0,n.fB)(e))}}),[]);(0,s.useEffect)((()=>()=>{null===v||void 0===v||v.map.remove()}),[v]);const w=v?s.createElement(n.hL,{value:v},u):null!==d&&void 0!==d?d:null;return s.createElement("div",r({},g,{ref:x}),w)}const h=(0,s.forwardRef)(a)},7113:(t,e,i)=>{"use strict";i.d(e,{p:()=>a});var n=i(9935),o=i(9995),s=i(3388),r=i(2527);const a=(0,n.Nq)((function(t,e){let{position:i,...n}=t;const a=new r.Marker(i,n);return(0,o.Q)(a,(0,s.W4)(e,{overlayContainer:a}))}),(function(t,e,i){e.position!==i.position&&t.setLatLng(e.position),null!=e.icon&&e.icon!==i.icon&&t.setIcon(e.icon),null!=e.zIndexOffset&&e.zIndexOffset!==i.zIndexOffset&&t.setZIndexOffset(e.zIndexOffset),null!=e.opacity&&e.opacity!==i.opacity&&t.setOpacity(e.opacity),null!=t.dragging&&e.draggable!==i.draggable&&(!0===e.draggable?t.dragging.enable():t.dragging.disable())}))},9029:(t,e,i)=>{"use strict";i.d(e,{e:()=>a});var n=i(9935),o=i(9781),s=i(9995);var r=i(2527);const a=(0,n.X3)((function(t,e){let{url:i,...n}=t;const a=new r.TileLayer(i,(0,o.P)(n,e));return(0,s.Q)(a,e)}),(function(t,e,i){!function(t,e,i){const{opacity:n,zIndex:o}=e;null!=n&&n!==i.opacity&&t.setOpacity(n),null!=o&&o!==i.zIndex&&t.setZIndex(o)}(t,e,i);const{url:n}=e;null!=n&&n!==i.url&&t.setUrl(n)}))}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/822.ae40dac1.chunk.js.LICENSE.txt b/frontend/dist/static/js/717.bc51ac50.chunk.js.LICENSE.txt similarity index 100% rename from frontend/dist/static/js/822.ae40dac1.chunk.js.LICENSE.txt rename to frontend/dist/static/js/717.bc51ac50.chunk.js.LICENSE.txt diff --git a/frontend/dist/static/js/73.e52fa58f.chunk.js b/frontend/dist/static/js/73.e52fa58f.chunk.js new file mode 100644 index 00000000..8fe20dd9 --- /dev/null +++ b/frontend/dist/static/js/73.e52fa58f.chunk.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksrc=self.webpackChunksrc||[]).push([[73],{1385:(e,t,r)=>{r.d(t,{A:()=>a});r(9950);const a=r.p+"static/media/xmark-solid.33c889ee6afa3ed57684011608af6238.svg"},3202:(e,t,r)=>{r.d(t,{l:()=>o});r(9950);const a=r.p+"static/media/rss-solid.167813b1d681372ed1d98e45b6b6c0f7.svg";const n=r.p+"static/media/link-solid.49819f951200a220d9839699fbccd8de.svg";const l=r.p+"static/media/link-slash-solid.7893b9a51ad07ceedeb88c9649c58439.svg";var s=r(4414);const o=e=>{const{content:t,title:r,type:o,className:c}=e;let i="";switch(o){case"success":i="from-green-400 to-blue-500";break;case"warning":i="from-orange-400 to-orange-600";break;case"error":i="from-red-400 to-red-600"}return(0,s.jsx)("div",{className:"my-2 shadow-xl p-6 text-sm text-white rounded-lg bg-gradient-to-r ".concat(i," ").concat(null!==c&&void 0!==c?c:""),children:(0,s.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,s.jsxs)("div",{className:"flex gap-2 font-bold text-lg",children:[(0,s.jsx)("img",{className:"success"===o?"size-6":"hidden",src:a,alt:""}),(0,s.jsx)("img",{className:"warning"===o?"size-6":"hidden",src:n,alt:""}),(0,s.jsx)("img",{className:"error"===o?"size-6":"hidden",src:l,alt:""}),(0,s.jsx)("span",{children:r})]}),(0,s.jsx)("span",{className:"pl-3 text-md font-medium",children:t.split("\n").map((e=>(0,s.jsxs)("p",{children:[e,(0,s.jsx)("br",{})]},e)))})]})})}},5242:(e,t,r)=>{r.d(t,{$:()=>n});var a=r(4414);const n=e=>{const{className:t,label:r,onClick:n}=e;return(0,a.jsx)("button",{className:"w-full text-white font-medium text-sm shadow-lg rounded-lg py-2 ".concat(null!==t&&void 0!==t?t:""),onClick:n,children:r})}},88:(e,t,r)=>{r.d(t,{t:()=>u});var a=r(9950),n=r(3461),l=r.n(n),s=r(1274),o=r(9027),c=r.n(o),i=r(7818),d=r(4414);const u=(0,a.forwardRef)(((e,t)=>{const r=.65*window.devicePixelRatio,{boost:n,title:o,series:u,height:h,legend:m,tooltip:f,zooming:b,animation:p,lineWidth:g,tickInterval:v,tickPrecision:x,lineColor:w,backgroundColor:y}=e,[S,A]=(0,a.useState)(!1);(0,a.useEffect)((()=>{A((()=>{if(window.WebGLRenderingContext){const e=document.createElement("canvas");return["webgl","experimental-webgl","webgl2","moz-webgl","webkit-3d"].some((t=>{try{return!!e.getContext(t)}catch(r){return!1}}))}return!1})())}),[]);const[C,E]=(0,a.useState)({chart:{zooming:b?{type:"x"}:{},marginTop:20,height:h,animation:p,backgroundColor:y},xAxis:{labels:{style:{color:"#fff"},format:"{value:%H:%M:%S}"},type:"datetime",tickColor:"#fff",lineColor:w},yAxis:{labels:{style:{color:"#fff"},format:x?"{value:".concat(x,"f}"):"{value:0.2f}"},title:{text:""},opposite:!0,lineColor:w,tickInterval:v},tooltip:{enabled:f,followPointer:!0,followTouchMove:!0,xDateFormat:"%Y-%m-%d %H:%M:%S",padding:12},legend:{enabled:m,itemStyle:{color:"#fff"}},plotOptions:{series:{lineWidth:g,turboThreshold:n?10:0,boostThreshold:n?1:0,states:{hover:{enabled:!1}}}},title:{text:o,style:{color:"#fff",fontSize:"10px",fontWeight:"normal"}},boost:{enabled:S,pixelRatio:r},accessibility:{enabled:!1},credits:{enabled:!1},time:{useUTC:!1},series:[u]}),{t:j}=(0,i.Bd)();return(0,a.useEffect)((()=>{c()(l())}),[]),(0,a.useEffect)((()=>{l().setOptions({lang:{resetZoom:j("components.chart.reset_zoom"),resetZoomTitle:j("components.chart.reset_zoom_title")}})}),[j]),(0,a.useEffect)((()=>{E((e=>({...e,chart:{...e.chart,height:h},title:{...e.title,text:o},boost:{...e.boost,enabled:S}})))}),[h,o,S]),(0,d.jsx)(s.HighchartsReact,{ref:t,options:C,highcharts:l()})}))},3768:(e,t,r)=>{r.d(t,{h:()=>c,R:()=>i});var a=r(9950);const n=r.p+"static/media/square-caret-up-solid.0573794ec033f5ce25c1076e3ac596e3.svg";const l=r.p+"static/media/ellipsis-solid.e3aced2a80c2b888104322b1ae60b47f.svg";var s=r(1385),o=r(4414);let c=function(e){return e[e.COLLAPSE_DISABLE=0]="COLLAPSE_DISABLE",e[e.COLLAPSE_SHOW=1]="COLLAPSE_SHOW",e[e.COLLAPSE_HIDE=2]="COLLAPSE_HIDE",e}({});const i=e=>{const{label:t,text:r,children:i,collapse:d,advanced:u}=e,[h,m]=(0,a.useState)(!1),[f,b]=(0,a.useState)(!1);(0,a.useEffect)((()=>{const e=d||c.COLLAPSE_DISABLE;m(e===c.COLLAPSE_HIDE)}),[d]);const p=(d||c.COLLAPSE_DISABLE)!==c.COLLAPSE_DISABLE;return(0,o.jsxs)("div",{className:"mb-4 flex flex-col rounded-xl text-gray-700 shadow-lg",children:[(0,o.jsx)("div",{className:"mx-4 rounded-lg overflow-hidden shadow-lg",children:i}),(0,o.jsxs)("div",{className:"p-4",children:[(0,o.jsxs)("h6",{className:"text-md font-bold text-gray-800 flex ".concat(p?"cursor-pointer select-none":""),onClick:()=>p&&m(!h),children:[p&&(0,o.jsx)("img",{className:"mx-1 ".concat(h?"rotate-180":""),src:n,alt:""}),t]}),r&&!h&&(0,o.jsx)("div",{className:"text-md pt-2",children:r.split("\n").map((e=>(0,o.jsx)("div",{children:e},e)))}),u&&(0,o.jsxs)("div",{className:"mt-2 space-y-2 ".concat(h?"hidden":"block"),children:[(0,o.jsxs)("div",{className:"mx-1 cursor-pointer",onClick:()=>b(!f),children:[(0,o.jsx)("img",{className:"size-4 ".concat(f?"hidden":"block"),src:l,alt:""}),(0,o.jsx)("img",{className:"size-4 ".concat(f?"block":"hidden"),src:s.A,alt:""})]}),(0,o.jsx)("div",{className:f?"block":"hidden",children:u})]})]})]})}},7780:(e,t,r)=>{r.d(t,{p:()=>s});var a=r(9925),n=r(4628),l=r(4414);const s=e=>{const{label:t,disabled:r,className:s,defaultValue:o,numberLimit:c,type:i,onValueChange:d}=e,u=(0,n.M)((e=>{let{target:t}=e;if(!d)return;const{value:r}=t;if("number"===i){const e=Number(r);if(isNaN(e))return t.value=o.toString(),void d(o);if(c){const{max:r,min:a}=c;if(e>r||e{r.d(t,{Z:()=>n});var a=r(4414);const n=e=>{const{embedded:t,className:r,label:n,sublabel:l,children:s}=e;return(0,a.jsx)("div",{className:"w-full text-gray-800",children:(0,a.jsxs)("div",{className:"flex flex-col shadow-lg rounded-lg",children:[(0,a.jsxs)("div",{className:"px-4 py-3 font-bold",children:[l&&(0,a.jsx)("h6",{className:"text-gray-500 text-xs",children:l}),(0,a.jsx)("h2",{className:t?"text-md":"text-lg",children:n})]}),(0,a.jsx)("div",{className:"p-4 m-2 flex flex-col justify-center gap-4 ".concat(null!==r&&void 0!==r?r:""),children:s})]})})}},3740:(e,t,r)=>{r.d(t,{w:()=>n});var a=r(5887);const n=function(e){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2e3;arguments.length>1&&void 0!==arguments[1]&&arguments[1]?a.Ay.error(e,{duration:t}):a.Ay.success(e,{duration:t})}},8418:(e,t,r)=>{r.d(t,{U:()=>a});const a=(e,t)=>{const r=[];for(let a=0;a{r.d(t,{W:()=>l,z:()=>n});var a=r(6004);let n=function(e){return e[e.LOW_PASS=0]="LOW_PASS",e[e.HIGH_PASS=1]="HIGH_PASS",e[e.BAND_PASS=2]="BAND_PASS",e}({});const l=(e,t)=>{const{passbandType:r,poles:l,sampleRate:s,lowFreqCorner:o,highFreqCorner:c}=t;let i;i=r===n.LOW_PASS?a.com.oregondsp.signalProcessing.filter.iir.PassbandType.LOWPASS:r===n.HIGH_PASS?a.com.oregondsp.signalProcessing.filter.iir.PassbandType.HIGHPASS:a.com.oregondsp.signalProcessing.filter.iir.PassbandType.BANDPASS;const d=new a.com.oregondsp.signalProcessing.filter.iir.Butterworth(l,i,o,c,1/s),u=new Float32Array(e);return d.filterInPlace(u),Array.from(u)}},6969:(e,t,r)=>{r.d(t,{N:()=>a});const a=(e,t)=>{const r=[];for(let a of e)r.push(a/t);return r}},7156:(e,t,r)=>{r.d(t,{i:()=>a});const a=(e,t,r)=>{const a=2**(t-1),n=[];for(let l of e)n.push(r/a*l);return n}},2105:(e,t,r)=>{r.d(t,{D:()=>n});var a=r(3974);const n=e=>{const t=new Date(e);return(0,a.A)(t,"yyyy-MM-dd HH:mm:ss")}},4628:(e,t,r)=>{r.d(t,{M:()=>a});const a=(e,t)=>{let r=null;return function(){for(var a=arguments.length,n=new Array(a),l=0;l(r=null,e(...n))),t))}}},8073:(e,t,r)=>{r.r(t),r.d(t,{default:()=>E});var a=r(5297),n=r(3768),l=r(3202),s=r(9950),o=r(88),c=r(7818),i=r(1577);var d=r(3740),u=r(2105),h=r(9145),m=r(7254);var f=r(7156),b=r(6969),p=r(8418),g=r(7678);var v=r(5242),x=r(4339);const w=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const r=(0,s.useRef)(e),a=(0,s.useRef)();(0,s.useEffect)((()=>{const e=()=>{r.current&&(a.current=(e=>{let{backend:t,endpoint:r,onOpen:a,onData:n,onClose:l,onError:s}=e;try{if("socket"!==r.type)throw new Error("non-websocket protocol is not supported");const e=(0,x.J)(!1),o="".concat(e,"//").concat(t).concat(r.path),c=new WebSocket(o);return c.onmessage=e=>{const t=JSON.parse(e.data);n({...e,data:t})},c.onopen=a||(()=>{}),c.onclose=l||(()=>{}),c.onerror=s||(()=>{}),c}catch{return null}})({...r.current,onClose:n=>{var l,s;a.current=null,null===(l=r.current)||void 0===l||null===(s=l.onClose)||void 0===s||s.call(l,n),t&&setTimeout((()=>e()),1e3)},onError:n=>{var l,s;a.current=null,null===(l=r.current)||void 0===l||null===(s=l.onError)||void 0===s||s.call(l,n),t&&setTimeout((()=>e()),1e3)}}))};return e(),()=>{var e;null===(e=a.current)||void 0===e||e.close(),r.current=null}}),[t])};var y=r(898),S=r(7780),A=r(4628),C=r(4414);const E=()=>{const{t:e}=(0,c.Bd)(),[t,r]=(0,s.useState)({type:"warning",title:"views.realtime.banner.warning.label",content:"views.realtime.banner.warning.text"}),[x,E]=(0,s.useState)({ehz:{holder:{collapse:n.h.COLLAPSE_HIDE,label:"views.realtime.charts.ehz.label",text:"views.realtime.charts.ehz.text",values:{pga:"0.00000",pgv:"0.00000",intensity:"-"}},chart:{buffer:[],backgroundColor:"#d97706",filter:{enabled:!1},ref:(0,s.useRef)(null),series:{name:"EHZ",type:"line",color:"#f1f5f9"}}},ehe:{holder:{collapse:n.h.COLLAPSE_HIDE,label:"views.realtime.charts.ehe.label",text:"views.realtime.charts.ehe.text",values:{pga:"0.00000",pgv:"0.00000",intensity:"-"}},chart:{buffer:[],filter:{enabled:!1},backgroundColor:"#10b981",ref:(0,s.useRef)(null),series:{name:"EHE",type:"line",color:"#f1f5f9"}}},ehn:{holder:{collapse:n.h.COLLAPSE_HIDE,label:"views.realtime.charts.ehn.label",text:"views.realtime.charts.ehn.text",values:{pga:"0.00000",pgv:"0.00000",intensity:"-"}},chart:{buffer:[],backgroundColor:"#0ea5e9",filter:{enabled:!1},ref:(0,s.useRef)(null),series:{name:"EHE",type:"line",color:"#f1f5f9"}}}}),j=()=>r({type:"error",title:"views.realtime.banner.error.label",content:"views.realtime.banner.error.text"});w({backend:i.DR.backend,endpoint:i.DR.endpoints.socket,onData:e=>{let{data:t}=e;return async function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;at(e)))}(t,(e=>((e,t)=>{var r,a;if(!e.ts)return;const{scale:n}=m.A.getState().scale,l=null!==(r=null===(a=h.c.scales.find((e=>e.property().value===n)))||void 0===a?void 0:a.property().name)&&void 0!==r?r:"Unknown",s=(0,u.D)(e.ts),o=Object.values(e).filter((e=>Array.isArray(e))),c=(o.reduce(((e,t)=>e+t.length),0)/o.length).toFixed(0);t((e=>({...e,type:"success",title:"views.realtime.banner.success.label",content:"views.realtime.banner.success.text",values:{sampleRate:c,time:s,scale:l}})))})(e,r)),(e=>{return r=E,void((t=e).ts&&r((e=>{const{ts:r,...a}=t,{retention:n}=m.A.getState().retention;return Object.keys(e).forEach((l=>{var s;if(!(l in t))return;const o=a[l],{buffer:c}=e[l].chart;c.push({ts:r,data:o});const i=r-1e3*n;for(;c[0].ts{let{ts:t,data:r}=e;const a=d?(0,g.W)(r,{poles:4,lowFreqCorner:x,highFreqCorner:w,sampleRate:r.length,passbandType:g.z.BAND_PASS}):r,n=1e3/a.length;return a.map(((e,r)=>[t-n*(a.length-r),e]))})).reduce(((e,t)=>e.concat(t)),[]),{current:S}=e[l].chart.ref;if(S){const{series:e}=S.chart;e[0].setData(y,!0,!1,!1)}const{adc:A}=m.A.getState().adc,C=(0,f.i)(o,A.resolution,A.fullscale),{geophone:E}=m.A.getState().geophone,j=E[l],N=(0,b.N)(C,j),k=1e3/o.length,L=(0,p.U)(N,k),{scale:P}=m.A.getState().scale,_=null!==(s=h.c.scales.find((e=>e.property().value===P)))&&void 0!==s?s:h.R,{holder:O}=e[l];O.values={pga:L.reduce(((e,t)=>Math.max(Math.abs(e),Math.abs(t))),0).toFixed(5),pgv:N.reduce(((e,t)=>Math.max(Math.abs(e),Math.abs(t))),0).toFixed(5),intensity:"".concat(P," ").concat(_.getIntensity({rawData:o,currentPGV:Math.max(...N),currentPGA:Math.max(...L)},{adc:A,geophone:E}))}})),e})));var t,r}))},onError:j,onClose:j,onOpen:()=>(0,d.w)(e("views.realtime.toasts.websocket_connected"))});const[N,k]=(0,s.useState)(150),L=(0,s.useCallback)((()=>{let e=Math.round(.6*window.innerHeight/Object.keys(x).length);e<150?e=150:e>500&&(e=500),k(e)}),[x]),P=(0,A.M)((()=>L()),2e3);(0,s.useEffect)((()=>(L(),window.addEventListener("resize",P),()=>window.removeEventListener("resize",P))),[L,P]);const _=(e,t,r)=>E((a=>({...a,[e]:{...a[e],chart:{...a[e].chart,filter:{...a[e].chart.filter,[t?"lowCorner":"highCorner"]:r}}}})));return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(l.l,{type:t.type,title:e(t.title,{...t.values}),content:e(t.content,{...t.values})}),(0,C.jsx)(a.m,{className:"pt-1",children:Object.keys(x).map((t=>{var r;return(0,s.createElement)(n.R,{...x[t].holder,key:x[t].holder.label,label:e(x[t].holder.label),text:e(null!==(r=x[t].holder.text)&&void 0!==r?r:"",{...x[t].holder.values}),advanced:(0,C.jsx)(a.m,{className:"max-w-96",children:(0,C.jsxs)(y.Z,{label:e("views.realtime.charts.".concat(t,".advanced.panels.butterworth_filter.title")),embedded:!0,children:[(0,C.jsxs)(a.m,{className:"flex flex-col md:flex-row gap-4",children:[(0,C.jsx)(S.p,{onValueChange:e=>_(t,!0,Number(e)),defaultValue:.1,type:"number",disabled:x[t].chart.filter.enabled,numberLimit:{max:100,min:.1},label:e("views.realtime.charts.".concat(t,".advanced.panels.butterworth_filter.low_corner_freq"))}),(0,C.jsx)(S.p,{onValueChange:e=>_(t,!1,Number(e)),defaultValue:10,type:"number",disabled:x[t].chart.filter.enabled,numberLimit:{max:100,min:.1},label:e("views.realtime.charts.".concat(t,".advanced.panels.butterworth_filter.high_corner_freq"))})]}),(0,C.jsx)(v.$,{label:e("views.realtime.charts.".concat(t,".advanced.panels.butterworth_filter.").concat(x[t].chart.filter.enabled?"disable_filter":"enable_filter")),className:"bg-indigo-600 hover:bg-indigo-700",onClick:()=>{return e=t,E((t=>({...t,[e]:{...t[e],chart:{...t[e].chart,filter:{...t[e].chart.filter,enabled:!t[e].chart.filter.enabled}}}})));var e}})]})})},(0,C.jsx)(o.t,{...x[t].chart,boost:!0,lineWidth:1,tooltip:!0,zooming:!0,animation:!1,tickPrecision:1,tickInterval:100,height:N}))}))})]})}}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/735.26a45829.chunk.js b/frontend/dist/static/js/735.26a45829.chunk.js deleted file mode 100644 index d98de240..00000000 --- a/frontend/dist/static/js/735.26a45829.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkobserver=self.webpackChunkobserver||[]).push([[735],{5664:function(e,t){t.Z=function(e,t){for(var n=[],a=0;achart>series>data"),C);var j=k.reduce((function(e,t){var n=Math.abs(e),a=Math.abs(t);return Math.max(n,a)}),0),W=m.reduce((function(e,t){var n=Math.abs(e),a=Math.abs(t);return Math.max(n,a)}),0),E=A.Z.app_settings.scales.find((function(e){return e.property().value===s.value})),D=null===E||void 0===E?void 0:E.intensity(j,W);(0,P.Z)(e,"[tag:".concat(h.tag,"]>area>text"),{id:"views.realtime.areas.".concat(h.tag,".text"),format:{pga:W.toFixed(5),pgv:j.toFixed(5),intensity:"".concat(s.value," ").concat(D)}})};for(l.s();!(i=l.n()).done;)u()}catch(h){l.e(h)}finally{l.f()}return e},I=n(6135),V=n(7703),G=n(8146),N=n(6801),U=n(8780),J=n(5590),R=function(e){var t,n=(null===(t=e.data)||void 0===t?void 0:t.station)||{};return{station:n.station,network:n.network,location:n.location}},Y=n(6417),$=function(e){(0,c.Z)(n,e);var t=(0,l.Z)(n);function n(e){var a;return(0,s.Z)(this,n),(a=t.call(this,e)).prevTs=void 0,a.websocket=void 0,a.handleWebsocketOpen=function(){setTimeout((function(){var e=a.props.t;D.ZP.success(e("views.realtime.toasts.websocket_connected"))}),500)},a.handleWebsocketClose=function(){if(a.websocket&&a.websocket instanceof WebSocket){var e=H();a.setState({banner:e}),a.websocket=E({tag:"socket",onData:a.handleWebsocketData,onOpen:a.handleWebsocketOpen,onClose:a.handleWebsocketClose})}},a.handleWebsocketData=function(e){var t=JSON.parse(e.data),n=a.state,r=n.adc,o=n.geophone,s=n.scale,i=H(t,a.prevTs,s),c=a.props.retention.retention,l=F(a.state.areas,t,a.prevTs,c,r,o,s);a.prevTs=t.ts,a.setState({banner:i,areas:l})},a.setChartHeight=function(){var e=a.state.areas,t=window.innerHeight,n=Math.round(.6*t/e.length);n<150&&(n=150),a.setState({areas:e.map((function(e){return(0,o.Z)((0,o.Z)({},e),{},{chart:(0,o.Z)((0,o.Z)({},e.chart),{},{height:n})})}))})},a.state={banner:{type:"warning",label:{id:"views.realtime.banner.warning.label"},text:{id:"views.realtime.banner.warning.text"}},areas:[{tag:"ehz",area:{collapse:Z.j.COLLAPSE_HIDE,label:{id:"views.realtime.areas.ehz.label"},text:{id:"views.realtime.areas.ehz.text",format:{pga:"0.00000",pgv:"0.00000",intensity:"-"}}},chart:{backgroundColor:"#d97706",lineWidth:1,series:{name:"EHZ",type:"line",color:"#f1f5f9",data:[]}}},{tag:"ehe",area:{collapse:Z.j.COLLAPSE_HIDE,label:{id:"views.realtime.areas.ehe.label"},text:{id:"views.realtime.areas.ehe.text",format:{pga:"0.00000",pgv:"0.00000",intensity:"-"}}},chart:{backgroundColor:"#10b981",lineWidth:1,series:{name:"EHE",type:"line",color:"#f1f5f9",data:[]}}},{tag:"ehn",area:{collapse:Z.j.COLLAPSE_HIDE,label:{id:"views.realtime.areas.ehn.label"},text:{id:"views.realtime.areas.ehn.text",format:{pga:"0.00000",pgv:"0.00000",intensity:"-"}}},chart:{backgroundColor:"#0ea5e9",lineWidth:1,series:{name:"EHN",type:"line",color:"#f1f5f9",data:[]}}}],adc:{fullscale:1,resolution:1},geophone:{ehz:1,ehe:1,ehn:1},scale:A.m.property()},a.websocket=null,a.prevTs=0,a}return(0,i.Z)(n,[{key:"componentDidMount",value:function(){var e=(0,r.Z)((0,a.Z)().mark((function e(){var t,n,r,o,s,i,c,l,u,h,p,d,v,f,g,b,w,Z;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(window.addEventListener("resize",this.setChartHeight),this.setChartHeight(),n=this.props.adc.adc,r=n.resolution,o=this.props.geophone.geophone,i=(s=o).ehz,c=s.ehe,l=s.ehn,u=this.props.scale.scale,h=this.props.station.station,-1!==r&&i*c*l!==0){e.next=25;break}return e.next=11,(0,x.Z)({tag:"station"});case 11:if(!(p=e.sent).data){e.next=22;break}o=S(p),h=R(p),n=y(p),d=this.props,v=d.updateADC,f=d.updateGeophone,g=d.updateStation,f&&f(o),g&&g(h),v&&v(n),e.next=25;break;case 22:return b=this.props.t,D.ZP.error(b("views.realtime.toasts.fetch_metadata_error")),e.abrupt("return");case 25:w=A.Z.app_settings.scales,Z=(null===(t=w.find((function(e){return e.property().value===u})))||void 0===t?void 0:t.property())||A.m.property(),this.setState({adc:n,geophone:o,scale:Z}),this.websocket=E({tag:"socket",onData:this.handleWebsocketData,onOpen:this.handleWebsocketOpen,onClose:this.handleWebsocketClose});case 29:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"componentWillUnmount",value:function(){var e;(window.removeEventListener("resize",this.setChartHeight),this.websocket instanceof WebSocket)&&(null===(e=this.websocket)||void 0===e||e.close(),this.websocket={})}},{key:"render",value:function(){var e=this.state,t=e.areas,n=e.banner;return(0,Y.jsxs)(f.Z,{children:[(0,Y.jsx)(h.Z,{}),(0,Y.jsx)(p.Z,{}),(0,Y.jsxs)(d.Z,{children:[(0,Y.jsx)(v.Z,{}),(0,Y.jsx)(b.Z,(0,o.Z)({},n)),(0,Y.jsx)(k.Z,{layout:"none",children:t.map((function(e,t){var n=e.area,a=e.chart;return(0,Y.jsx)(Z.Z,(0,o.Z)((0,o.Z)({},n),{},{children:(0,Y.jsx)(m.Z,(0,o.Z)((0,o.Z)({},a),{},{tooltip:!0,zooming:!0,animation:!1,tickPrecision:1,tickInterval:1e3}))}),t)}))})]}),(0,Y.jsx)(g.Z,{}),(0,Y.jsx)(w.Z,{}),(0,Y.jsx)(D.x7,{position:"top-center"})]})}}]),n}(u.Component),q=(0,I.$j)(U.Z,{updateGeophone:G.V,updateADC:V.V,updateStation:N.V})((0,J.Zh)()($))}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/822.ae40dac1.chunk.js b/frontend/dist/static/js/822.ae40dac1.chunk.js deleted file mode 100644 index 01537002..00000000 --- a/frontend/dist/static/js/822.ae40dac1.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 822.ae40dac1.chunk.js.LICENSE.txt */ -(self.webpackChunkobserver=self.webpackChunkobserver||[]).push([[822],{7248:function(t,e){!function(t){"use strict";var e="1.9.4";function i(t){var e,i,n,o;for(i=1,n=arguments.length;i0?Math.floor(t):Math.ceil(t)};function A(t,e,i){return t instanceof O?t:g(t)?new O(t[0],t[1]):void 0===t||null===t?t:"object"===typeof t&&"x"in t&&"y"in t?new O(t.x,t.y):new O(t,e,i)}function B(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n=this.min.x&&i.x<=this.max.x&&e.y>=this.min.y&&i.y<=this.max.y},intersects:function(t){t=R(t);var e=this.min,i=this.max,n=t.min,o=t.max,s=o.x>=e.x&&n.x<=i.x,r=o.y>=e.y&&n.y<=i.y;return s&&r},overlaps:function(t){t=R(t);var e=this.min,i=this.max,n=t.min,o=t.max,s=o.x>e.x&&n.xe.y&&n.y=n.lat&&i.lat<=o.lat&&e.lng>=n.lng&&i.lng<=o.lng},intersects:function(t){t=D(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>=e.lat&&n.lat<=i.lat,r=o.lng>=e.lng&&n.lng<=i.lng;return s&&r},overlaps:function(t){t=D(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>e.lat&&n.late.lng&&n.lng1,Ct=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",u,e),window.removeEventListener("testPassiveEventSupport",u,e)}catch(i){}return t}(),Zt=!!document.createElement("canvas").getContext,St=!(!document.createElementNS||!X("svg").createSVGRect),Et=!!St&&function(){var t=document.createElement("div");return t.innerHTML="","http://www.w3.org/2000/svg"===(t.firstChild&&t.firstChild.namespaceURI)}(),kt=!St&&function(){try{var t=document.createElement("div");t.innerHTML='';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"===typeof e.adj}catch(i){return!1}}(),Ot=0===navigator.platform.indexOf("Mac"),It=0===navigator.platform.indexOf("Linux");function At(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var Bt={ie:Q,ielt9:tt,edge:et,webkit:it,android:nt,android23:ot,androidStock:rt,opera:at,chrome:ht,gecko:ut,safari:lt,phantom:ct,opera12:dt,win:_t,ie3d:pt,webkit3d:ft,gecko3d:mt,any3d:gt,mobile:vt,mobileWebkit:yt,mobileWebkit3d:xt,msPointer:wt,pointer:bt,touch:Lt,touchNative:Pt,mobileOpera:Tt,mobileGecko:Mt,retina:zt,passiveEvents:Ct,canvas:Zt,svg:St,vml:kt,inlineSvg:Et,mac:Ot,linux:It},Rt=Bt.msPointer?"MSPointerDown":"pointerdown",Nt=Bt.msPointer?"MSPointerMove":"pointermove",Dt=Bt.msPointer?"MSPointerUp":"pointerup",jt=Bt.msPointer?"MSPointerCancel":"pointercancel",Ft={touchstart:Rt,touchmove:Nt,touchend:Dt,touchcancel:jt},Ht={touchstart:$t,touchmove:Jt,touchend:Jt,touchcancel:Jt},Wt={},Ut=!1;function Vt(t,e,i){return"touchstart"===e&&Xt(),Ht[e]?(i=Ht[e].bind(this,i),t.addEventListener(Ft[e],i,!1),i):(console.warn("wrong event specified:",e),u)}function qt(t,e,i){Ft[e]?t.removeEventListener(Ft[e],i,!1):console.warn("wrong event specified:",e)}function Gt(t){Wt[t.pointerId]=t}function Kt(t){Wt[t.pointerId]&&(Wt[t.pointerId]=t)}function Yt(t){delete Wt[t.pointerId]}function Xt(){Ut||(document.addEventListener(Rt,Gt,!0),document.addEventListener(Nt,Kt,!0),document.addEventListener(Dt,Yt,!0),document.addEventListener(jt,Yt,!0),Ut=!0)}function Jt(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){for(var i in e.touches=[],Wt)e.touches.push(Wt[i]);e.changedTouches=[e],t(e)}}function $t(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&Ge(e),Jt(t,e)}function Qt(t){var e,i,n={};for(i in t)e=t[i],n[i]=e&&e.bind?e.bind(t):e;return t=n,n.type="dblclick",n.detail=2,n.isTrusted=!1,n._simulated=!0,n}var te=200;function ee(t,e){t.addEventListener("dblclick",e);var i,n=0;function o(t){if(1===t.detail){if("mouse"!==t.pointerType&&(!t.sourceCapabilities||t.sourceCapabilities.firesTouchEvents)){var o=Ye(t);if(!o.some((function(t){return t instanceof HTMLLabelElement&&t.attributes.for}))||o.some((function(t){return t instanceof HTMLInputElement||t instanceof HTMLSelectElement}))){var s=Date.now();s-n<=te?2===++i&&e(Qt(t)):i=1,n=s}}}else i=t.detail}return t.addEventListener("click",o),{dblclick:e,simDblclick:o}}function ie(t,e){t.removeEventListener("dblclick",e.dblclick),t.removeEventListener("click",e.simDblclick)}var ne,oe,se,re,ae,he=Te(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ue=Te(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),le="webkitTransition"===ue||"OTransition"===ue?ue+"End":"transitionend";function ce(t){return"string"===typeof t?document.getElementById(t):t}function de(t,e){var i=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!i||"auto"===i)&&document.defaultView){var n=document.defaultView.getComputedStyle(t,null);i=n?n[e]:null}return"auto"===i?null:i}function _e(t,e,i){var n=document.createElement(t);return n.className=e||"",i&&i.appendChild(n),n}function pe(t){var e=t.parentNode;e&&e.removeChild(t)}function fe(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function me(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function ge(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function ve(t,e){if(void 0!==t.classList)return t.classList.contains(e);var i=be(t);return i.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(i)}function ye(t,e){if(void 0!==t.classList)for(var i=d(e),n=0,o=i.length;n0?2*window.devicePixelRatio:1;function $e(t){return Bt.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/Je:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}function Qe(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch(n){return!1}return i!==t}var ti={__proto__:null,on:Re,off:De,stopPropagation:Ue,disableScrollPropagation:Ve,disableClickPropagation:qe,preventDefault:Ge,stop:Ke,getPropagationPath:Ye,getMousePosition:Xe,getWheelDelta:$e,isExternalTarget:Qe,addListener:Re,removeListener:De},ei=k.extend({run:function(t,e,i,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=Ce(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=M(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,i=1e3*this._duration;ethis.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var i=this.getCenter(),n=this._limitCenter(i,this._zoom,D(t));return i.equals(n)||this.panTo(n,e),this._enforcingBounds=!1,this},panInside:function(t,e){var i=A((e=e||{}).paddingTopLeft||e.padding||[0,0]),n=A(e.paddingBottomRight||e.padding||[0,0]),o=this.project(this.getCenter()),s=this.project(t),r=this.getPixelBounds(),a=R([r.min.add(i),r.max.subtract(n)]),h=a.getSize();if(!a.contains(s)){this._enforcingBounds=!0;var u=s.subtract(a.getCenter()),l=a.extend(s).getSize().subtract(h);o.x+=u.x<0?-l.x:l.x,o.y+=u.y<0?-l.y:l.y,this.panTo(this.unproject(o),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=i({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var n=this.getSize(),s=e.divideBy(2).round(),r=n.divideBy(2).round(),a=s.subtract(r);return a.x||a.y?(t.animate&&t.pan?this.panBy(a):(t.pan&&this._rawPanBy(a),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(o(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:n})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=i({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=o(this._handleGeolocationResponse,this),n=o(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,n,t):navigator.geolocation.getCurrentPosition(e,n,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){if(this._container._leaflet_id){var e=t.code,i=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+i+"."})}},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var e=new j(t.coords.latitude,t.coords.longitude),i=e.toBounds(2*t.coords.accuracy),n=this._locateOptions;if(n.setView){var o=this.getBoundsZoom(i);this.setView(e,n.maxZoom?Math.min(o,n.maxZoom):o)}var s={latlng:e,bounds:i,timestamp:t.timestamp};for(var r in t.coords)"number"===typeof t.coords[r]&&(s[r]=t.coords[r]);this.fire("locationfound",s)}},addHandler:function(t,e){if(!e)return this;var i=this[t]=new e(this);return this._handlers.push(i),this.options[t]&&i.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),pe(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(z(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)pe(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var i=_e("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=i),i},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new N(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,i){t=D(t),i=A(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),s=this.getMaxZoom(),r=t.getNorthWest(),a=t.getSouthEast(),h=this.getSize().subtract(i),u=R(this.project(a,n),this.project(r,n)).getSize(),l=Bt.any3d?this.options.zoomSnap:1,c=h.x/u.x,d=h.y/u.y,_=e?Math.max(c,d):Math.min(c,d);return n=this.getScaleZoom(_,n),l&&(n=Math.round(n/(l/100))*(l/100),n=e?Math.ceil(n/l)*l:Math.floor(n/l)*l),Math.max(o,Math.min(s,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new O(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var i=this._getTopLeftPoint(t,e);return new B(i,i.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"===typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var i=this.options.crs;return e=void 0===e?this._zoom:e,i.scale(t)/i.scale(e)},getScaleZoom:function(t,e){var i=this.options.crs;e=void 0===e?this._zoom:e;var n=i.zoom(t*i.scale(e));return isNaN(n)?1/0:n},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(F(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(A(t),e)},layerPointToLatLng:function(t){var e=A(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(F(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(F(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(D(t))},distance:function(t,e){return this.options.crs.distance(F(t),F(e))},containerPointToLayerPoint:function(t){return A(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return A(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(A(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(F(t)))},mouseEventToContainerPoint:function(t){return Xe(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=ce(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");Re(e,"scroll",this._onScroll,this),this._containerId=r(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&Bt.any3d,ye(t,"leaflet-container"+(Bt.touch?" leaflet-touch":"")+(Bt.retina?" leaflet-retina":"")+(Bt.ielt9?" leaflet-oldie":"")+(Bt.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=de(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&"sticky"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),ze(this._mapPane,new O(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(ye(t.markerPane,"leaflet-zoom-hide"),ye(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e,i){ze(this._mapPane,new O(0,0));var n=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var o=this._zoom!==e;this._moveStart(o,i)._move(t,e)._moveEnd(o),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,i,n){void 0===e&&(e=this._zoom);var o=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),n?i&&i.pinch&&this.fire("zoom",i):((o||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return z(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){ze(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[r(this._container)]=this;var e=t?De:Re;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),Bt.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){z(this._resizeRequest),this._resizeRequest=M((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var i,n=[],o="mouseout"===e||"mouseover"===e,s=t.target||t.srcElement,a=!1;s;){if((i=this._targets[r(s)])&&("click"===e||"preclick"===e)&&this._draggableMoved(i)){a=!0;break}if(i&&i.listens(e,!0)){if(o&&!Qe(s,t))break;if(n.push(i),o)break}if(s===this._container)break;s=s.parentNode}return n.length||a||o||!this.listens(e,!0)||(n=[this]),n},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var e=t.target||t.srcElement;if(!(!this._loaded||e._leaflet_disable_events||"click"===t.type&&this._isClickDisabled(e))){var i=t.type;"mousedown"===i&&ke(e),this._fireDOMEvent(t,i)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,n){if("click"===t.type){var o=i({},t);o.type="preclick",this._fireDOMEvent(o,o.type,n)}var s=this._findEventTargets(t,e);if(n){for(var r=[],a=0;a0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),i=this.getMaxZoom(),n=Bt.any3d?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(e,Math.min(i,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){xe(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var i=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(i))&&(this.panBy(i,e),!0)},_createAnimProxy:function(){var t=this._proxy=_e("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",(function(t){var e=he,i=this._proxy.style[e];Me(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),i===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){pe(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();Me(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,i){if(this._animatingZoom)return!0;if(i=i||{},!this._zoomAnimated||!1===i.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(e),o=this._getCenterOffset(t)._divideBy(1-1/n);return!(!0!==i.animate&&!this.getSize().contains(o))&&(M((function(){this._moveStart(!0,i.noMoveStart||!1)._animateZoom(t,e,!0)}),this),!0)},_animateZoom:function(t,e,i,n){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,ye(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:n}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(o(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&xe(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function ni(t,e){return new ii(t,e)}var oi=Z.extend({options:{position:"topright"},initialize:function(t){_(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),i=this.getPosition(),n=t._controlCorners[i];return ye(e,"leaflet-control"),-1!==i.indexOf("bottom")?n.insertBefore(e,n.firstChild):n.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(pe(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),si=function(t){return new oi(t)};ii.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",i=this._controlContainer=_e("div",e+"control-container",this._container);function n(n,o){var s=e+n+" "+e+o;t[n+o]=_e("div",s,i)}n("top","left"),n("top","right"),n("bottom","left"),n("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)pe(this._controlCorners[t]);pe(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var ri=oi.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,i,n){return i1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(r(t.target)),i=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;i&&this._map.fire(i,e)},_createRadioElement:function(t,e){var i='",n=document.createElement("div");return n.innerHTML=i,n.firstChild},_addItem:function(t){var e,i=document.createElement("label"),n=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=n):e=this._createRadioElement("leaflet-base-layers_"+r(this),n),this._layerControlInputs.push(e),e.layerId=r(t.layer),Re(e,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+t.name;var s=document.createElement("span");return i.appendChild(s),s.appendChild(e),s.appendChild(o),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){if(!this._preventClick){var t,e,i=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var s=i.length-1;s>=0;s--)t=i[s],e=this._getLayer(t.layerId).layer,t.checked?n.push(e):t.checked||o.push(e);for(s=0;s=0;o--)t=i[o],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&ne.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;this._preventClick=!0,Re(t,"click",Ge),this.expand();var e=this;setTimeout((function(){De(t,"click",Ge),e._preventClick=!1}))}}),ai=function(t,e,i){return new ri(t,e,i)},hi=oi.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",i=_e("div",e+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,e+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,e+"-out",i,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,i,n,o){var s=_e("a",i,n);return s.innerHTML=t,s.href="#",s.title=e,s.setAttribute("role","button"),s.setAttribute("aria-label",e),qe(s),Re(s,"click",Ke),Re(s,"click",o,this),Re(s,"click",this._refocusOnMap,this),s},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";xe(this._zoomInButton,e),xe(this._zoomOutButton,e),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(ye(this._zoomOutButton,e),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(ye(this._zoomInButton,e),this._zoomInButton.setAttribute("aria-disabled","true"))}});ii.mergeOptions({zoomControl:!0}),ii.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new hi,this.addControl(this.zoomControl))}));var ui=function(t){return new hi(t)},li=oi.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",i=_e("div",e),n=this.options;return this._addScales(n,e+"-line",i),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),i},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,i){t.metric&&(this._mScale=_e("div",e,i)),t.imperial&&(this._iScale=_e("div",e,i))},_update:function(){var t=this._map,e=t.getSize().y/2,i=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(i)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),i=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,i,e/t)},_updateImperial:function(t){var e,i,n,o=3.2808399*t;o>5280?(e=o/5280,i=this._getRoundNum(e),this._updateScale(this._iScale,i+" mi",i/e)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+" ft",n/o))},_updateScale:function(t,e,i){t.style.width=Math.round(this.options.maxWidth*i)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),i=t/e;return e*(i=i>=10?10:i>=5?5:i>=3?3:i>=2?2:1)}}),ci=function(t){return new li(t)},di='',_i=oi.extend({options:{position:"bottomright",prefix:''+(Bt.inlineSvg?di+" ":"")+"Leaflet"},initialize:function(t){_(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=_e("div","leaflet-control-attribution"),qe(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",(function(){this.removeAttribution(t.layer.getAttribution())}),this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var i=[];this.options.prefix&&i.push(this.options.prefix),t.length&&i.push(t.join(", ")),this._container.innerHTML=i.join(' ')}}});ii.mergeOptions({attributionControl:!0}),ii.addInitHook((function(){this.options.attributionControl&&(new _i).addTo(this)}));var pi=function(t){return new _i(t)};oi.Layers=ri,oi.Zoom=hi,oi.Scale=li,oi.Attribution=_i,si.layers=ai,si.zoom=ui,si.scale=ci,si.attribution=pi;var fi=Z.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});fi.addTo=function(t,e){return t.addHandler(e,this),this};var mi={Events:E},gi=Bt.touch?"touchstart mousedown":"mousedown",vi=k.extend({options:{clickTolerance:3},initialize:function(t,e,i,n){_(this,n),this._element=t,this._dragStartTarget=e||t,this._preventOutline=i},enable:function(){this._enabled||(Re(this._dragStartTarget,gi,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(vi._dragging===this&&this.finishDrag(!0),De(this._dragStartTarget,gi,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(this._enabled&&(this._moved=!1,!ve(this._element,"leaflet-zoom-anim")))if(t.touches&&1!==t.touches.length)vi._dragging===this&&this.finishDrag();else if(!(vi._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches)&&(vi._dragging=this,this._preventOutline&&ke(this._element),Se(),ne(),!this._moving)){this.fire("down");var e=t.touches?t.touches[0]:t,i=Ie(this._element);this._startPoint=new O(e.clientX,e.clientY),this._startPos=Ce(this._element),this._parentScale=Ae(i);var n="mousedown"===t.type;Re(document,n?"mousemove":"touchmove",this._onMove,this),Re(document,n?"mouseup":"touchend touchcancel",this._onUp,this)}},_onMove:function(t){if(this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,i=new O(e.clientX,e.clientY)._subtract(this._startPoint);(i.x||i.y)&&(Math.abs(i.x)+Math.abs(i.y)h&&(s=r,h=a);h>i&&(e[s]=1,Ci(t,e,i,n,s),Ci(t,e,i,s,o))}function Zi(t,e){for(var i=[t[0]],n=1,o=0,s=t.length;ne&&(i.push(t[n]),o=n);return oe.max.x&&(i|=2),t.ye.max.y&&(i|=8),i}function Oi(t,e){var i=e.x-t.x,n=e.y-t.y;return i*i+n*n}function Ii(t,e,i,n){var o,s=e.x,r=e.y,a=i.x-s,h=i.y-r,u=a*a+h*h;return u>0&&((o=((t.x-s)*a+(t.y-r)*h)/u)>1?(s=i.x,r=i.y):o>0&&(s+=a*o,r+=h*o)),a=t.x-s,h=t.y-r,n?a*a+h*h:new O(s,r)}function Ai(t){return!g(t[0])||"object"!==typeof t[0][0]&&"undefined"!==typeof t[0][0]}function Bi(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Ai(t)}function Ri(t,e){var i,n,o,s,r,a,h,u;if(!t||0===t.length)throw new Error("latlngs not passed");Ai(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var l=F([0,0]),c=D(t);c.getNorthWest().distanceTo(c.getSouthWest())*c.getNorthEast().distanceTo(c.getNorthWest())<1700&&(l=wi(t));var d=t.length,_=[];for(i=0;in){h=(s-n)/o,u=[a.x-h*(a.x-r.x),a.y-h*(a.y-r.y)];break}var f=e.unproject(A(u));return F([f.lat+l.lat,f.lng+l.lng])}var Ni={__proto__:null,simplify:Li,pointToSegmentDistance:Ti,closestPointOnSegment:Mi,clipSegment:Si,_getEdgeIntersection:Ei,_getBitCode:ki,_sqClosestPointOnSegment:Ii,isFlat:Ai,_flat:Bi,polylineCenter:Ri},Di={project:function(t){return new O(t.lng,t.lat)},unproject:function(t){return new j(t.y,t.x)},bounds:new B([-180,-90],[180,90])},ji={R:6378137,R_MINOR:6356752.314245179,bounds:new B([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,i=this.R,n=t.lat*e,o=this.R_MINOR/i,s=Math.sqrt(1-o*o),r=s*Math.sin(n),a=Math.tan(Math.PI/4-n/2)/Math.pow((1-r)/(1+r),s/2);return n=-i*Math.log(Math.max(a,1e-10)),new O(t.lng*e*i,n)},unproject:function(t){for(var e,i=180/Math.PI,n=this.R,o=this.R_MINOR/n,s=Math.sqrt(1-o*o),r=Math.exp(-t.y/n),a=Math.PI/2-2*Math.atan(r),h=0,u=.1;h<15&&Math.abs(u)>1e-7;h++)e=s*Math.sin(a),e=Math.pow((1-e)/(1+e),s/2),a+=u=Math.PI/2-2*Math.atan(r*e)-a;return new j(a*i,t.x*i/n)}},Fi={__proto__:null,LonLat:Di,Mercator:ji,SphericalMercator:V},Hi=i({},W,{code:"EPSG:3395",projection:ji,transformation:function(){var t=.5/(Math.PI*ji.R);return G(t,.5,-t,.5)}()}),Wi=i({},W,{code:"EPSG:4326",projection:Di,transformation:G(1/180,1,-1/180,.5)}),Ui=i({},H,{projection:Di,transformation:G(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var i=e.lng-t.lng,n=e.lat-t.lat;return Math.sqrt(i*i+n*n)},infinite:!0});H.Earth=W,H.EPSG3395=Hi,H.EPSG3857=K,H.EPSG900913=Y,H.EPSG4326=Wi,H.Simple=Ui;var Vi=k.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[r(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[r(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var i=this.getEvents();e.on(i,this),this.once("remove",(function(){e.off(i,this)}),this)}this.onAdd(e),this.fire("add"),e.fire("layeradd",{layer:this})}}});ii.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=r(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=r(t);return this._layers[e]?(this._loaded&&t.onRemove(this),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return r(t)in this._layers},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},_addLayers:function(t){for(var e=0,i=(t=t?g(t)?t:[t]:[]).length;ethis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()=2&&e[0]instanceof j&&e[0].equals(e[i-1])&&e.pop(),e},_setLatLngs:function(t){hn.prototype._setLatLngs.call(this,t),Ai(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Ai(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,i=new O(e,e);if(t=new B(t.min.subtract(i),t.max.add(i)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var n,o=0,s=this._rings.length;ot.y!==n.y>t.y&&t.x<(n.x-i.x)*(t.y-i.y)/(n.y-i.y)+i.x&&(u=!u);return u||hn.prototype._containsPoint.call(this,t,!0)}});function cn(t,e){return new ln(t,e)}var dn=Ki.extend({initialize:function(t,e){_(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,i,n,o=g(t)?t:t.features;if(o){for(e=0,i=o.length;e0&&o.push(o[0].slice()),o}function yn(t,e){return t.feature?i({},t.feature,{geometry:e}):xn(e)}function xn(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var wn={toGeoJSON:function(t){return yn(this,{type:"Point",coordinates:gn(this.getLatLng(),t)})}};function bn(t,e){return new dn(t,e)}tn.include(wn),rn.include(wn),on.include(wn),hn.include({toGeoJSON:function(t){var e=!Ai(this._latlngs);return yn(this,{type:(e?"Multi":"")+"LineString",coordinates:vn(this._latlngs,e?1:0,!1,t)})}}),ln.include({toGeoJSON:function(t){var e=!Ai(this._latlngs),i=e&&!Ai(this._latlngs[0]),n=vn(this._latlngs,i?2:e?1:0,!0,t);return e||(n=[n]),yn(this,{type:(i?"Multi":"")+"Polygon",coordinates:n})}}),qi.include({toMultiPoint:function(t){var e=[];return this.eachLayer((function(i){e.push(i.toGeoJSON(t).geometry.coordinates)})),yn(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===e)return this.toMultiPoint(t);var i="GeometryCollection"===e,n=[];return this.eachLayer((function(e){if(e.toGeoJSON){var o=e.toGeoJSON(t);if(i)n.push(o.geometry);else{var s=xn(o);"FeatureCollection"===s.type?n.push.apply(n,s.features):n.push(s)}}})),i?yn(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});var Pn=bn,Ln=Vi.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,i){this._url=t,this._bounds=D(e),_(this,i)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(ye(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){pe(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&me(this._image),this},bringToBack:function(){return this._map&&ge(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=D(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:_e("img");ye(e,"leaflet-image-layer"),this._zoomAnimated&&ye(e,"leaflet-zoom-animated"),this.options.className&&ye(e,this.options.className),e.onselectstart=u,e.onmousemove=u,e.onload=o(this.fire,this,"load"),e.onerror=o(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=e.src:(e.src=this._url,e.alt=this.options.alt)},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),i=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;Me(this._image,i,e)},_reset:function(){var t=this._image,e=new B(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=e.getSize();ze(t,e.min),t.style.width=i.x+"px",t.style.height=i.y+"px"},_updateOpacity:function(){Pe(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),Tn=function(t,e,i){return new Ln(t,e,i)},Mn=Ln.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:_e("video");if(ye(e,"leaflet-image-layer"),this._zoomAnimated&&ye(e,"leaflet-zoom-animated"),this.options.className&&ye(e,this.options.className),e.onselectstart=u,e.onmousemove=u,e.onloadeddata=o(this.fire,this,"load"),t){for(var i=e.getElementsByTagName("source"),n=[],s=0;s0?n:[e.src]}else{g(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted,e.playsInline=!!this.options.playsInline;for(var r=0;ro?(e.height=o+"px",ye(t,s)):xe(t,s),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),i=this._getAnchor();ze(this._container,e.add(i))},_adjustPan:function(){if(this.options.autoPan)if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning)this._autopanning=!1;else{var t=this._map,e=parseInt(de(this._container,"marginBottom"),10)||0,i=this._container.offsetHeight+e,n=this._containerWidth,o=new O(this._containerLeft,-i-this._containerBottom);o._add(Ce(this._container));var s=t.layerPointToContainerPoint(o),r=A(this.options.autoPanPadding),a=A(this.options.autoPanPaddingTopLeft||r),h=A(this.options.autoPanPaddingBottomRight||r),u=t.getSize(),l=0,c=0;s.x+n+h.x>u.x&&(l=s.x+n-u.x+h.x),s.x-l-a.x<0&&(l=s.x-a.x),s.y+i+h.y>u.y&&(c=s.y+i-u.y+h.y),s.y-c-a.y<0&&(c=s.y-a.y),(l||c)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([l,c]))}},_getAnchor:function(){return A(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),kn=function(t,e){return new En(t,e)};ii.mergeOptions({closePopupOnClick:!0}),ii.include({openPopup:function(t,e,i){return this._initOverlay(En,t,e,i).openOn(this),this},closePopup:function(t){return(t=arguments.length?t:this._popup)&&t.close(),this}}),Vi.include({bindPopup:function(t,e){return this._popup=this._initOverlay(En,this._popup,t,e),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t){return this._popup&&(this instanceof Ki||(this._popup._source=this),this._popup._prepareOpen(t||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){if(this._popup&&this._map){Ke(t);var e=t.layer||t.target;this._popup._source!==e||e instanceof nn?(this._popup._source=e,this.openPopup(t.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var On=Sn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){Sn.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){Sn.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=Sn.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=_e("div",t),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+r(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,i,n=this._map,o=this._container,s=n.latLngToContainerPoint(n.getCenter()),r=n.layerPointToContainerPoint(t),a=this.options.direction,h=o.offsetWidth,u=o.offsetHeight,l=A(this.options.offset),c=this._getAnchor();"top"===a?(e=h/2,i=u):"bottom"===a?(e=h/2,i=0):"center"===a?(e=h/2,i=u/2):"right"===a?(e=0,i=u/2):"left"===a?(e=h,i=u/2):r.xthis.options.maxZoom||in&&this._retainParent(o,s,r,n))},_retainChildren:function(t,e,i,n){for(var o=2*t;o<2*t+2;o++)for(var s=2*e;s<2*e+2;s++){var r=new O(o,s);r.z=i+1;var a=this._tileCoordsToKey(r),h=this._tiles[a];h&&h.active?h.retain=!0:(h&&h.loaded&&(h.retain=!0),i+1this.options.maxZoom||void 0!==this.options.minZoom&&o1)this._setView(t,i);else{for(var c=o.min.y;c<=o.max.y;c++)for(var d=o.min.x;d<=o.max.x;d++){var _=new O(d,c);if(_.z=this._tileZoom,this._isValidTile(_)){var p=this._tiles[this._tileCoordsToKey(_)];p?p.current=!0:r.push(_)}}if(r.sort((function(t,e){return t.distanceTo(s)-e.distanceTo(s)})),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));var f=document.createDocumentFragment();for(d=0;di.max.x)||!e.wrapLat&&(t.yi.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(t);return D(this.options.bounds).overlaps(n)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,i=this.getTileSize(),n=t.scaleBy(i),o=n.add(i);return[e.unproject(n,t.z),e.unproject(o,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),i=new N(e[0],e[1]);return this.options.noWrap||(i=this._map.wrapLatLngBounds(i)),i},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),i=new O(+e[0],+e[1]);return i.z=+e[2],i},_removeTile:function(t){var e=this._tiles[t];e&&(pe(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){ye(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=u,t.onmousemove=u,Bt.ielt9&&this.options.opacity<1&&Pe(t,this.options.opacity)},_addTile:function(t,e){var i=this._getTilePos(t),n=this._tileCoordsToKey(t),s=this.createTile(this._wrapCoords(t),o(this._tileReady,this,t));this._initTile(s),this.createTile.length<2&&M(o(this._tileReady,this,t,null,s)),ze(s,i),this._tiles[n]={el:s,coords:t,current:!0},e.appendChild(s),this.fire("tileloadstart",{tile:s,coords:t})},_tileReady:function(t,e,i){e&&this.fire("tileerror",{error:e,tile:i,coords:t});var n=this._tileCoordsToKey(t);(i=this._tiles[n])&&(i.loaded=+new Date,this._map._fadeAnimated?(Pe(i.el,0),z(this._fadeFrame),this._fadeFrame=M(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),e||(ye(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Bt.ielt9||!this._map._fadeAnimated?M(this._pruneTiles,this):setTimeout(o(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new O(this._wrapX?h(t.x,this._wrapX):t.x,this._wrapY?h(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new B(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});function Nn(t){return new Rn(t)}var Dn=Rn.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,e){this._url=t,(e=_(this,e)).detectRetina&&Bt.retina&&e.maxZoom>0?(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom=Math.min(e.maxZoom,e.minZoom+1)):(e.zoomOffset++,e.maxZoom=Math.max(e.minZoom,e.maxZoom-1)),e.minZoom=Math.max(0,e.minZoom)):e.zoomReverse?e.minZoom=Math.min(e.maxZoom,e.minZoom):e.maxZoom=Math.max(e.minZoom,e.maxZoom),"string"===typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var i=document.createElement("img");return Re(i,"load",o(this._tileOnLoad,this,e,i)),Re(i,"error",o(this._tileOnError,this,e,i)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"===typeof this.options.referrerPolicy&&(i.referrerPolicy=this.options.referrerPolicy),i.alt="",i.src=this.getTileUrl(t),i},getTileUrl:function(t){var e={r:Bt.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var n=this._globalTileRange.max.y-t.y;this.options.tms&&(e.y=n),e["-y"]=n}return m(this._url,i(e,this.options))},_tileOnLoad:function(t,e){Bt.ielt9?setTimeout(o(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,i){var n=this.options.errorTileUrl;n&&e.getAttribute("src")!==n&&(e.src=n),t(i,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return this.options.zoomReverse&&(t=e-t),t+this.options.zoomOffset},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)if(this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=u,e.onerror=u,!e.complete)){e.src=y;var i=this._tiles[t].coords;pe(e),delete this._tiles[t],this.fire("tileabort",{tile:e,coords:i})}},_removeTile:function(t){var e=this._tiles[t];if(e)return e.el.setAttribute("src",y),Rn.prototype._removeTile.call(this,t)},_tileReady:function(t,e,i){if(this._map&&(!i||i.getAttribute("src")!==y))return Rn.prototype._tileReady.call(this,t,e,i)}});function jn(t,e){return new Dn(t,e)}var Fn=Dn.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var n=i({},this.defaultWmsParams);for(var o in e)o in this.options||(n[o]=e[o]);var s=(e=_(this,e)).detectRetina&&Bt.retina?2:1,r=this.getTileSize();n.width=r.x*s,n.height=r.y*s,this.wmsParams=n},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,Dn.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),i=this._crs,n=R(i.project(e[0]),i.project(e[1])),o=n.min,s=n.max,r=(this._wmsVersion>=1.3&&this._crs===Wi?[o.y,o.x,s.y,s.x]:[o.x,o.y,s.x,s.y]).join(","),a=Dn.prototype.getTileUrl.call(this,t);return a+p(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+r},setParams:function(t,e){return i(this.wmsParams,t),e||this.redraw(),this}});function Hn(t,e){return new Fn(t,e)}Dn.WMS=Fn,jn.wms=Hn;var Wn=Vi.extend({options:{padding:.1},initialize:function(t){_(this,t),r(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),ye(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var i=this._map.getZoomScale(e,this._zoom),n=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,e),s=n.multiplyBy(-i).add(o).subtract(this._map._getNewPixelOrigin(t,e));Bt.any3d?Me(this._container,s,i):ze(this._container,s)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),i=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new B(i,i.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Un=Wn.extend({options:{tolerance:0},getEvents:function(){var t=Wn.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Wn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Re(t,"mousemove",this._onMouseMove,this),Re(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Re(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){z(this._redrawRequest),delete this._ctx,pe(this._container),De(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){Wn.prototype._update.call(this);var t=this._bounds,e=this._container,i=t.getSize(),n=Bt.retina?2:1;ze(e,t.min),e.width=n*i.x,e.height=n*i.y,e.style.width=i.x+"px",e.style.height=i.y+"px",Bt.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){Wn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[r(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,i=e.next,n=e.prev;i?i.prev=n:this._drawLast=n,n?n.next=i:this._drawFirst=i,delete t._order,delete this._layers[r(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"===typeof t.options.dashArray){var e,i,n=t.options.dashArray.split(/[, ]+/),o=[];for(i=0;i')}}catch(t){}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Gn={_initContainer:function(){this._container=_e("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Wn.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=qn("shape");ye(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=qn("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[r(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;pe(e),t.removeInteractiveTarget(e),delete this._layers[r(t)]},_updateStyle:function(t){var e=t._stroke,i=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(e||(e=t._stroke=qn("stroke")),o.appendChild(e),e.weight=n.weight+"px",e.color=n.color,e.opacity=n.opacity,n.dashArray?e.dashStyle=g(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=n.lineCap.replace("butt","flat"),e.joinstyle=n.lineJoin):e&&(o.removeChild(e),t._stroke=null),n.fill?(i||(i=t._fill=qn("fill")),o.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(o.removeChild(i),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),i=Math.round(t._radius),n=Math.round(t._radiusY||i);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+i+","+n+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){me(t._container)},_bringToBack:function(t){ge(t._container)}},Kn=Bt.vml?qn:X,Yn=Wn.extend({_initContainer:function(){this._container=Kn("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Kn("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){pe(this._container),De(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){Wn.prototype._update.call(this);var t=this._bounds,e=t.getSize(),i=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,i.setAttribute("width",e.x),i.setAttribute("height",e.y)),ze(i,t.min),i.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=Kn("path");t.options.className&&ye(e,t.options.className),t.options.interactive&&ye(e,"leaflet-interactive"),this._updateStyle(t),this._layers[r(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){pe(t._path),t.removeInteractiveTarget(t._path),delete this._layers[r(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,i=t.options;e&&(i.stroke?(e.setAttribute("stroke",i.color),e.setAttribute("stroke-opacity",i.opacity),e.setAttribute("stroke-width",i.weight),e.setAttribute("stroke-linecap",i.lineCap),e.setAttribute("stroke-linejoin",i.lineJoin),i.dashArray?e.setAttribute("stroke-dasharray",i.dashArray):e.removeAttribute("stroke-dasharray"),i.dashOffset?e.setAttribute("stroke-dashoffset",i.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),i.fill?(e.setAttribute("fill",i.fillColor||i.color),e.setAttribute("fill-opacity",i.fillOpacity),e.setAttribute("fill-rule",i.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,J(t._parts,e))},_updateCircle:function(t){var e=t._point,i=Math.max(Math.round(t._radius),1),n="a"+i+","+(Math.max(Math.round(t._radiusY),1)||i)+" 0 1,0 ",o=t._empty()?"M0 0":"M"+(e.x-i)+","+e.y+n+2*i+",0 "+n+2*-i+",0 ";this._setPath(t,o)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){me(t._path)},_bringToBack:function(t){ge(t._path)}});function Xn(t){return Bt.svg||Bt.vml?new Yn(t):null}Bt.vml&&Yn.include(Gn),ii.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&Vn(t)||Xn(t)}});var Jn=ln.extend({initialize:function(t,e){ln.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=D(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function $n(t,e){return new Jn(t,e)}Yn.create=Kn,Yn.pointsToPath=J,dn.geometryToLayer=_n,dn.coordsToLatLng=fn,dn.coordsToLatLngs=mn,dn.latLngToCoords=gn,dn.latLngsToCoords=vn,dn.getFeature=yn,dn.asFeature=xn,ii.mergeOptions({boxZoom:!0});var Qn=fi.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){Re(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){De(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){pe(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),ne(),Se(),this._startPoint=this._map.mouseEventToContainerPoint(t),Re(document,{contextmenu:Ke,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=_e("div","leaflet-zoom-box",this._container),ye(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new B(this._point,this._startPoint),i=e.getSize();ze(this._box,e.min),this._box.style.width=i.x+"px",this._box.style.height=i.y+"px"},_finish:function(){this._moved&&(pe(this._box),xe(this._container,"leaflet-crosshair")),oe(),Ee(),De(document,{contextmenu:Ke,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(o(this._resetState,this),0);var e=new N(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});ii.addInitHook("addHandler","boxZoom",Qn),ii.mergeOptions({doubleClickZoom:!0});var to=fi.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,i=e.getZoom(),n=e.options.zoomDelta,o=t.originalEvent.shiftKey?i-n:i+n;"center"===e.options.doubleClickZoom?e.setZoom(o):e.setZoomAround(t.containerPoint,o)}});ii.addInitHook("addHandler","doubleClickZoom",to),ii.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var eo=fi.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new vi(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}ye(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){xe(this._map._container,"leaflet-grab"),xe(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=D(this._map.options.maxBounds);this._offsetLimit=R(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(i),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.xe.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-e+i)%t+e-i,s=(n+e+i)%t-e-i,r=Math.abs(o+i)0?s:-s))-e;this._delta=0,this._startTime=null,r&&("center"===t.options.scrollWheelZoom?t.setZoom(e+r):t.setZoomAround(this._lastMousePos,e+r))}});ii.addInitHook("addHandler","scrollWheelZoom",no);var oo=600;ii.mergeOptions({tapHold:Bt.touchNative&&Bt.safari&&Bt.mobile,tapTolerance:15});var so=fi.extend({addHooks:function(){Re(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){De(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),1===t.touches.length){var e=t.touches[0];this._startPos=this._newPos=new O(e.clientX,e.clientY),this._holdTimeout=setTimeout(o((function(){this._cancel(),this._isTapValid()&&(Re(document,"touchend",Ge),Re(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))}),this),oo),Re(document,"touchend touchcancel contextmenu",this._cancel,this),Re(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){De(document,"touchend",Ge),De(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),De(document,"touchend touchcancel contextmenu",this._cancel,this),De(document,"touchmove",this._onMove,this)},_onMove:function(t){var e=t.touches[0];this._newPos=new O(e.clientX,e.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,e){var i=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY});i._simulated=!0,e.target.dispatchEvent(i)}});ii.addInitHook("addHandler","tapHold",so),ii.mergeOptions({touchZoom:Bt.touch,bounceAtZoomLimits:!0});var ro=fi.extend({addHooks:function(){ye(this._map._container,"leaflet-touch-zoom"),Re(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){xe(this._map._container,"leaflet-touch-zoom"),De(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(i.add(n)._divideBy(2))),this._startDist=i.distanceTo(n),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),Re(document,"touchmove",this._onTouchMove,this),Re(document,"touchend touchcancel",this._onTouchEnd,this),Ge(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]),s=i.distanceTo(n)/this._startDist;if(this._zoom=e.getScaleZoom(s,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoome.getMaxZoom()&&s>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===s)return}else{var r=i._add(n)._divideBy(2)._subtract(this._centerPoint);if(1===s&&0===r.x&&0===r.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(r),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),z(this._animRequest);var a=o(e._move,e,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=M(a,this,!0),Ge(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,z(this._animRequest),De(document,"touchmove",this._onTouchMove,this),De(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});ii.addInitHook("addHandler","touchZoom",ro),ii.BoxZoom=Qn,ii.DoubleClickZoom=to,ii.Drag=eo,ii.Keyboard=io,ii.ScrollWheelZoom=no,ii.TapHold=so,ii.TouchZoom=ro,t.Bounds=B,t.Browser=Bt,t.CRS=H,t.Canvas=Un,t.Circle=rn,t.CircleMarker=on,t.Class=Z,t.Control=oi,t.DivIcon=An,t.DivOverlay=Sn,t.DomEvent=ti,t.DomUtil=Be,t.Draggable=vi,t.Evented=k,t.FeatureGroup=Ki,t.GeoJSON=dn,t.GridLayer=Rn,t.Handler=fi,t.Icon=Xi,t.ImageOverlay=Ln,t.LatLng=j,t.LatLngBounds=N,t.Layer=Vi,t.LayerGroup=qi,t.LineUtil=Ni,t.Map=ii,t.Marker=tn,t.Mixin=mi,t.Path=nn,t.Point=O,t.PolyUtil=Pi,t.Polygon=ln,t.Polyline=hn,t.Popup=En,t.PosAnimation=ei,t.Projection=Fi,t.Rectangle=Jn,t.Renderer=Wn,t.SVG=Yn,t.SVGOverlay=Cn,t.TileLayer=Dn,t.Tooltip=On,t.Transformation=q,t.Util=C,t.VideoOverlay=Mn,t.bind=o,t.bounds=R,t.canvas=Vn,t.circle=an,t.circleMarker=sn,t.control=si,t.divIcon=Bn,t.extend=i,t.featureGroup=Yi,t.geoJSON=bn,t.geoJson=Pn,t.gridLayer=Nn,t.icon=Ji,t.imageOverlay=Tn,t.latLng=F,t.latLngBounds=D,t.layerGroup=Gi,t.map=ni,t.marker=en,t.point=A,t.polygon=cn,t.polyline=un,t.popup=kn,t.rectangle=$n,t.setOptions=_,t.stamp=r,t.svg=Xn,t.svgOverlay=Zn,t.tileLayer=jn,t.tooltip=In,t.transformation=G,t.version=e,t.videoOverlay=zn;var ao=window.L;t.noConflict=function(){return window.L=ao,this},window.L=t}(e)},1729:function(t,e,i){"use strict";var n=i(9165);function o(){}function s(){}s.resetWarningCache=o,t.exports=function(){function t(t,e,i,o,s,r){if(r!==n){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function e(){return t}t.isRequired=t;var i={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:s,resetWarningCache:o};return i.PropTypes=i,i}},5192:function(t,e,i){t.exports=i(1729)()},9165:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4543:function(t,e,i){"use strict";e.__esModule=!0,e.default=e.ReactPolling=void 0;var n=s(i(7313)),o=s(i(5192));function s(t){return t&&t.__esModule?t:{default:t}}function r(t){return function(){var e,i=a(t);if(function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}()){var n=a(this).constructor;e=Reflect.construct(i,arguments,n)}else e=i.apply(this,arguments);return function(t,e){if(e&&("object"===typeof e||"function"===typeof e))return e;return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,e)}}function a(t){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},a(t)}var h=function(t){var e,i;i=t,(e=n).prototype=Object.create(i.prototype),e.prototype.constructor=e,e.__proto__=i;r(n);function n(e){var i;return(i=t.call(this,e)||this).state={isPolling:!1},i.initConfig(e),i}var o=n.prototype;return o.initConfig=function(t){var e=t.url,i=t.interval,n=t.retryCount,o=t.backOffFactor,s=t.onSuccess,r=t.onFailure,a=t.promise,h=function(t,e){if(null==t)return{};var i,n,o={},s=Object.keys(t);for(n=0;n=0||(o[i]=t[i]);return o}(t,["url","interval","retryCount","backOffFactor","onSuccess","onFailure","promise"]);i=Number(i),n=Number(n),o=Number(o),this.config={url:e,interval:i,shouldRetry:!!n,retryCount:n,backOffFactor:o,onSuccess:s,onFailure:r,promise:a,api:h}},o.stopPolling=function(){if(this._ismounted){this.poll&&(clearTimeout(this.poll),this.poll=null),this.setState({isPolling:!1})}},o.startPolling=function(){if(!this.config.url)throw new Error("No url provided to poll. Please provide a config object with the url param set");this.config.interval=this.props.interval,this.setState({isPolling:!0}),this.runPolling()},o.runPolling=function(){var t=this.config,e=t.url,i=t.interval,n=t.backOffFactor,o=t.onSuccess,s=t.onFailure,r=t.promise,a=t.api,h=r&&r(e)||fetch(e,a),u=this;this.poll=setTimeout((function(){h.then((function(t){return t&&t.json?t.json().then((function(e){return t.ok?e:Promise.reject({status:t.status,data:e})})).catch((function(e){return t.ok?e:Promise.reject({status:t.status,data:e})})):t})).then(o).then((function(t){u.state.isPolling&&t?(u.config.interval*=n,u.runPolling()):u.stopPolling()})).catch((function(t){u.config.shouldRetry&&u.config.retryCount>0?(s&&s(t),u.config.retryCount--,u.config.interval*=n,u.runPolling()):(s&&s(t),u.stopPolling())}))}),i)},o.componentDidMount=function(){this._ismounted=!0,this.startPolling()},o.render=function(){return this.props.render?this.props.render({startPolling:this.startPolling.bind(this),stopPolling:this.stopPolling.bind(this),isPolling:this.state.isPolling}):this.props.children({startPolling:this.startPolling.bind(this),stopPolling:this.stopPolling.bind(this),isPolling:this.state.isPolling})},o.componentWillUnmount=function(){this.stopPolling(),this._ismounted=!1},n}(n.default.Component);e.ReactPolling=h,h.propTypes={url:o.default.string,interval:o.default.number,retryCount:o.default.number,onSuccess:o.default.func.isRequired,onFailure:o.default.func,headers:o.default.object,method:o.default.string,body:o.default.object,render:o.default.func,promise:o.default.func,backOffFactor:o.default.number,children:o.default.func},h.defaultProps={interval:3e3,retryCount:0,backOffFactor:1,onFailure:function(){},method:"GET"};var u=h;e.default=u},4477:function(t,e,i){"use strict";var n;e.Z=void 0;var o=((n=i(4543))&&n.__esModule?n:{default:n}).default;e.Z=o},3331:function(){},7096:function(t,e,i){"use strict";i.d(e,{Hb:function(){return r},UO:function(){return u},mE:function(){return l},sj:function(){return a}});var n=i(1413),o=i(7313),s=1;function r(t){return Object.freeze({__version:s,map:t})}function a(t,e){return Object.freeze((0,n.Z)((0,n.Z)({},t),e))}var h=(0,o.createContext)(null),u=h.Provider;function l(){var t=(0,o.useContext)(h);if(null==t)throw new Error("No context provided: useLeafletContext() can only be used in a descendant of ");return t}},7828:function(t,e,i){"use strict";i.d(e,{I:function(){return s},O:function(){return o}});var n=i(7313);function o(t,e,i){return Object.freeze({instance:t,context:e,container:i})}function s(t,e){return null==e?function(e,i){var o=(0,n.useRef)();return o.current||(o.current=t(e,i)),o}:function(i,o){var s=(0,n.useRef)();s.current||(s.current=t(i,o));var r=(0,n.useRef)(i),a=s.current.instance;return(0,n.useEffect)((function(){r.current!==i&&(e(a,i,r.current),r.current=i)}),[a,i,o]),s}}},2079:function(t,e,i){"use strict";i.d(e,{dW:function(){return h},Lf:function(){return u}});var n=i(7313),o=(i(1168),i(7096));var s=i(7828);var r=i(4552);function a(t){return function(e){var i=(0,o.mE)(),s=t((0,r.q)(e,i),i);return function(t,e){var i=(0,n.useRef)(e);(0,n.useEffect)((function(){e!==i.current&&null!=t.attributionControl&&(null!=i.current&&t.attributionControl.removeAttribution(i.current),null!=e&&t.attributionControl.addAttribution(e)),i.current=e}),[t,e])}(i.map,e.attribution),function(t,e){var i=(0,n.useRef)();(0,n.useEffect)((function(){return null!=e&&t.instance.on(e),i.current=e,function(){null!=i.current&&t.instance.off(i.current),i.current=null}}),[t,e])}(s.current,e.eventHandlers),function(t,e){(0,n.useEffect)((function(){var i;return(null!==(i=e.layerContainer)&&void 0!==i?i:e.map).addLayer(t.instance),function(){var i;null===(i=e.layerContainer)||void 0===i||i.removeLayer(t.instance),e.map.removeLayer(t.instance)}}),[e,t])}(s.current,i),s}}function h(t,e){return function(t){function e(e,i){var s=t(e).current,r=s.instance,a=s.context;return(0,n.useImperativeHandle)(i,(function(){return r})),null==e.children?null:n.createElement(o.UO,{value:a},e.children)}return(0,n.forwardRef)(e)}(a((0,s.I)(t,e)))}function u(t,e){return function(t){function e(e,i){var o=t(e).current.instance;return(0,n.useImperativeHandle)(i,(function(){return o})),null}return(0,n.forwardRef)(e)}(a((0,s.I)(t,e)))}},4552:function(t,e,i){"use strict";i.d(e,{q:function(){return o}});var n=i(1413);function o(t,e){var i,o=null!==(i=t.pane)&&void 0!==i?i:e.pane;return o?(0,n.Z)((0,n.Z)({},t),{},{pane:o}):t}},4580:function(t,e,i){"use strict";i.d(e,{h:function(){return c}});var n=i(9439),o=i(5987),s=i(7096),r=i(7248),a=i(7313),h=["bounds","boundsOptions","center","children","className","id","placeholder","style","whenReady","zoom"];function u(){return u=Object.assign||function(t){for(var e=1;e{o.d(t,{A:()=>f});var n=o(8587),a=o(8168),r=o(9950),i=o(2004),s=o(4061),l=o(9254),c=o(9859),d=o(1676),p=o(2235),u=o(3244),m=o(8483);function h(e){return(0,m.Ay)("MuiAppBar",e)}(0,u.A)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);var v=o(4414);const g=["className","color","enableColorOnDark","position"],b=(e,t)=>e?"".concat(null==e?void 0:e.replace(")",""),", ").concat(t,")"):t,A=(0,l.Ay)(p.A,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t["position".concat((0,d.A)(o.position))],t["color".concat((0,d.A)(o.color))]]}})((e=>{let{theme:t,ownerState:o}=e;const n="light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[900];return(0,a.A)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===o.position&&{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===o.position&&{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===o.position&&{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"static"===o.position&&{position:"static"},"relative"===o.position&&{position:"relative"},!t.vars&&(0,a.A)({},"default"===o.color&&{backgroundColor:n,color:t.palette.getContrastText(n)},o.color&&"default"!==o.color&&"inherit"!==o.color&&"transparent"!==o.color&&{backgroundColor:t.palette[o.color].main,color:t.palette[o.color].contrastText},"inherit"===o.color&&{color:"inherit"},"dark"===t.palette.mode&&!o.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===o.color&&(0,a.A)({backgroundColor:"transparent",color:"inherit"},"dark"===t.palette.mode&&{backgroundImage:"none"})),t.vars&&(0,a.A)({},"default"===o.color&&{"--AppBar-background":o.enableColorOnDark?t.vars.palette.AppBar.defaultBg:b(t.vars.palette.AppBar.darkBg,t.vars.palette.AppBar.defaultBg),"--AppBar-color":o.enableColorOnDark?t.vars.palette.text.primary:b(t.vars.palette.AppBar.darkColor,t.vars.palette.text.primary)},o.color&&!o.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":o.enableColorOnDark?t.vars.palette[o.color].main:b(t.vars.palette.AppBar.darkBg,t.vars.palette[o.color].main),"--AppBar-color":o.enableColorOnDark?t.vars.palette[o.color].contrastText:b(t.vars.palette.AppBar.darkColor,t.vars.palette[o.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===o.color?"inherit":"var(--AppBar-color)"},"transparent"===o.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))})),f=r.forwardRef((function(e,t){const o=(0,c.A)({props:e,name:"MuiAppBar"}),{className:r,color:l="primary",enableColorOnDark:p=!1,position:u="fixed"}=o,m=(0,n.A)(o,g),b=(0,a.A)({},o,{color:l,position:u,enableColorOnDark:p}),f=(e=>{const{color:t,position:o,classes:n}=e,a={root:["root","color".concat((0,d.A)(t)),"position".concat((0,d.A)(o))]};return(0,s.A)(a,h,n)})(b);return(0,v.jsx)(A,(0,a.A)({square:!0,component:"header",ownerState:b,elevation:4,className:(0,i.A)(f.root,r,"fixed"===u&&"mui-fixed"),ref:t},m))}))},226:(e,t,o)=>{o.d(t,{A:()=>R});var n=o(8587),a=o(8168),r=o(9950),i=o(2004),s=o(7661),l=o(4061),c=o(9269),d=o(9254),p=o(9859),u=o(5511),m=o(1676),h=o(3244),v=o(8483);function g(e){return(0,v.Ay)("MuiButton",e)}const b=(0,h.A)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);const A=r.createContext({});const f=r.createContext(void 0);var y=o(4414);const x=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],S=e=>(0,a.A)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),w=(0,d.Ay)(u.A,{shouldForwardProp:e=>(0,d.ep)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t["".concat(o.variant).concat((0,m.A)(o.color))],t["size".concat((0,m.A)(o.size))],t["".concat(o.variant,"Size").concat((0,m.A)(o.size))],"inherit"===o.color&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth]}})((e=>{let{theme:t,ownerState:o}=e;var n,r;const i="light"===t.palette.mode?t.palette.grey[300]:t.palette.grey[800],s="light"===t.palette.mode?t.palette.grey.A100:t.palette.grey[700];return(0,a.A)({},t.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":(0,a.A)({textDecoration:"none",backgroundColor:t.vars?"rgba(".concat(t.vars.palette.text.primaryChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,c.X4)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===o.variant&&"inherit"!==o.color&&{backgroundColor:t.vars?"rgba(".concat(t.vars.palette[o.color].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,c.X4)(t.palette[o.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===o.variant&&"inherit"!==o.color&&{border:"1px solid ".concat((t.vars||t).palette[o.color].main),backgroundColor:t.vars?"rgba(".concat(t.vars.palette[o.color].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,c.X4)(t.palette[o.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===o.variant&&{backgroundColor:t.vars?t.vars.palette.Button.inheritContainedHoverBg:s,boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2],backgroundColor:(t.vars||t).palette.grey[300]}},"contained"===o.variant&&"inherit"!==o.color&&{backgroundColor:(t.vars||t).palette[o.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[o.color].main}}),"&:active":(0,a.A)({},"contained"===o.variant&&{boxShadow:(t.vars||t).shadows[8]}),["&.".concat(b.focusVisible)]:(0,a.A)({},"contained"===o.variant&&{boxShadow:(t.vars||t).shadows[6]}),["&.".concat(b.disabled)]:(0,a.A)({color:(t.vars||t).palette.action.disabled},"outlined"===o.variant&&{border:"1px solid ".concat((t.vars||t).palette.action.disabledBackground)},"contained"===o.variant&&{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground})},"text"===o.variant&&{padding:"6px 8px"},"text"===o.variant&&"inherit"!==o.color&&{color:(t.vars||t).palette[o.color].main},"outlined"===o.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===o.variant&&"inherit"!==o.color&&{color:(t.vars||t).palette[o.color].main,border:t.vars?"1px solid rgba(".concat(t.vars.palette[o.color].mainChannel," / 0.5)"):"1px solid ".concat((0,c.X4)(t.palette[o.color].main,.5))},"contained"===o.variant&&{color:t.vars?t.vars.palette.text.primary:null==(n=(r=t.palette).getContrastText)?void 0:n.call(r,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:i,boxShadow:(t.vars||t).shadows[2]},"contained"===o.variant&&"inherit"!==o.color&&{color:(t.vars||t).palette[o.color].contrastText,backgroundColor:(t.vars||t).palette[o.color].main},"inherit"===o.color&&{color:"inherit",borderColor:"currentColor"},"small"===o.size&&"text"===o.variant&&{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},"large"===o.size&&"text"===o.variant&&{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},"small"===o.size&&"outlined"===o.variant&&{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},"large"===o.size&&"outlined"===o.variant&&{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},"small"===o.size&&"contained"===o.variant&&{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},"large"===o.size&&"contained"===o.variant&&{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},o.fullWidth&&{width:"100%"})}),(e=>{let{ownerState:t}=e;return t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},["&.".concat(b.focusVisible)]:{boxShadow:"none"},"&:active":{boxShadow:"none"},["&.".concat(b.disabled)]:{boxShadow:"none"}}})),C=(0,d.Ay)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.startIcon,t["iconSize".concat((0,m.A)(o.size))]]}})((e=>{let{ownerState:t}=e;return(0,a.A)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},S(t))})),k=(0,d.Ay)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.endIcon,t["iconSize".concat((0,m.A)(o.size))]]}})((e=>{let{ownerState:t}=e;return(0,a.A)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},S(t))})),R=r.forwardRef((function(e,t){const o=r.useContext(A),c=r.useContext(f),d=(0,s.A)(o,e),u=(0,p.A)({props:d,name:"MuiButton"}),{children:h,color:v="primary",component:b="button",className:S,disabled:R=!1,disableElevation:M=!1,disableFocusRipple:I=!1,endIcon:B,focusVisibleClassName:T,fullWidth:N=!1,size:z="medium",startIcon:W,type:D,variant:P="text"}=u,L=(0,n.A)(u,x),O=(0,a.A)({},u,{color:v,component:b,disabled:R,disableElevation:M,disableFocusRipple:I,fullWidth:N,size:z,type:D,variant:P}),E=(e=>{const{color:t,disableElevation:o,fullWidth:n,size:r,variant:i,classes:s}=e,c={root:["root",i,"".concat(i).concat((0,m.A)(t)),"size".concat((0,m.A)(r)),"".concat(i,"Size").concat((0,m.A)(r)),"inherit"===t&&"colorInherit",o&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize".concat((0,m.A)(r))],endIcon:["endIcon","iconSize".concat((0,m.A)(r))]},d=(0,l.A)(c,g,s);return(0,a.A)({},s,d)})(O),V=W&&(0,y.jsx)(C,{className:E.startIcon,ownerState:O,children:W}),j=B&&(0,y.jsx)(k,{className:E.endIcon,ownerState:O,children:B}),F=c||"";return(0,y.jsxs)(w,(0,a.A)({ownerState:O,className:(0,i.A)(o.className,E.root,S,F),component:b,disabled:R,focusRipple:!I,focusVisibleClassName:(0,i.A)(E.focusVisible,T),ref:t,type:D},L,{classes:E,children:[V,h,j]}))}))},5511:(e,t,o)=>{o.d(t,{A:()=>$});var n=o(8168),a=o(8587),r=o(9950),i=o(2004),s=o(4061),l=o(9254),c=o(9859),d=o(1506),p=o(1976),u=o(4522);let m=!0,h=!1;const v=new u.E,g={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function b(e){e.metaKey||e.altKey||e.ctrlKey||(m=!0)}function A(){m=!1}function f(){"hidden"===this.visibilityState&&h&&(m=!0)}function y(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(o){}return m||function(e){const{type:t,tagName:o}=e;return!("INPUT"!==o||!g[t]||e.readOnly)||"TEXTAREA"===o&&!e.readOnly||!!e.isContentEditable}(t)}const x=function(){const e=r.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",b,!0),t.addEventListener("mousedown",A,!0),t.addEventListener("pointerdown",A,!0),t.addEventListener("touchstart",A,!0),t.addEventListener("visibilitychange",f,!0))}),[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!y(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(h=!0,v.start(100,(()=>{h=!1})),t.current=!1,!0)},ref:e}};var S=o(7528),w=o(8166),C=o(8283),k=o(4414);const R=function(e){const{className:t,classes:o,pulsate:n=!1,rippleX:a,rippleY:s,rippleSize:l,in:c,onExited:d,timeout:p}=e,[u,m]=r.useState(!1),h=(0,i.A)(t,o.ripple,o.rippleVisible,n&&o.ripplePulsate),v={width:l,height:l,top:-l/2+s,left:-l/2+a},g=(0,i.A)(o.child,u&&o.childLeaving,n&&o.childPulsate);return c||u||m(!0),r.useEffect((()=>{if(!c&&null!=d){const e=setTimeout(d,p);return()=>{clearTimeout(e)}}}),[d,c,p]),(0,k.jsx)("span",{className:h,style:v,children:(0,k.jsx)("span",{className:g})})};var M=o(3244);const I=(0,M.A)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);var B,T,N,z;const W=["center","classes","className"];let D,P,L,O;const E=(0,C.i7)(D||(D=B||(B=(0,S.A)(["\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n"])))),V=(0,C.i7)(P||(P=T||(T=(0,S.A)(["\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n"])))),j=(0,C.i7)(L||(L=N||(N=(0,S.A)(["\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n"])))),F=(0,l.Ay)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),G=(0,l.Ay)(R,{name:"MuiTouchRipple",slot:"Ripple"})(O||(O=z||(z=(0,S.A)(["\n opacity: 0;\n position: absolute;\n\n &."," {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n &."," {\n animation-duration: ","ms;\n }\n\n & ."," {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & ."," {\n opacity: 0;\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n & ."," {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ",";\n animation-duration: 2500ms;\n animation-timing-function: ",";\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n"]))),I.rippleVisible,E,550,(e=>{let{theme:t}=e;return t.transitions.easing.easeInOut}),I.ripplePulsate,(e=>{let{theme:t}=e;return t.transitions.duration.shorter}),I.child,I.childLeaving,V,550,(e=>{let{theme:t}=e;return t.transitions.easing.easeInOut}),I.childPulsate,j,(e=>{let{theme:t}=e;return t.transitions.easing.easeInOut})),X=r.forwardRef((function(e,t){const o=(0,c.A)({props:e,name:"MuiTouchRipple"}),{center:s=!1,classes:l={},className:d}=o,p=(0,a.A)(o,W),[m,h]=r.useState([]),v=r.useRef(0),g=r.useRef(null);r.useEffect((()=>{g.current&&(g.current(),g.current=null)}),[m]);const b=r.useRef(!1),A=(0,u.A)(),f=r.useRef(null),y=r.useRef(null),x=r.useCallback((e=>{const{pulsate:t,rippleX:o,rippleY:n,rippleSize:a,cb:r}=e;h((e=>[...e,(0,k.jsx)(G,{classes:{ripple:(0,i.A)(l.ripple,I.ripple),rippleVisible:(0,i.A)(l.rippleVisible,I.rippleVisible),ripplePulsate:(0,i.A)(l.ripplePulsate,I.ripplePulsate),child:(0,i.A)(l.child,I.child),childLeaving:(0,i.A)(l.childLeaving,I.childLeaving),childPulsate:(0,i.A)(l.childPulsate,I.childPulsate)},timeout:550,pulsate:t,rippleX:o,rippleY:n,rippleSize:a},v.current)])),v.current+=1,g.current=r}),[l]),S=r.useCallback((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{};const{pulsate:n=!1,center:a=s||t.pulsate,fakeElement:r=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&b.current)return void(b.current=!1);"touchstart"===(null==e?void 0:e.type)&&(b.current=!0);const i=r?null:y.current,l=i?i.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,d,p;if(a||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),d=Math.round(l.height/2);else{const{clientX:t,clientY:o}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),d=Math.round(o-l.top)}if(a)p=Math.sqrt((2*l.width**2+l.height**2)/3),p%2===0&&(p+=1);else{const e=2*Math.max(Math.abs((i?i.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((i?i.clientHeight:0)-d),d)+2;p=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===f.current&&(f.current=()=>{x({pulsate:n,rippleX:c,rippleY:d,rippleSize:p,cb:o})},A.start(80,(()=>{f.current&&(f.current(),f.current=null)}))):x({pulsate:n,rippleX:c,rippleY:d,rippleSize:p,cb:o})}),[s,x,A]),C=r.useCallback((()=>{S({},{pulsate:!0})}),[S]),R=r.useCallback(((e,t)=>{if(A.clear(),"touchend"===(null==e?void 0:e.type)&&f.current)return f.current(),f.current=null,void A.start(0,(()=>{R(e,t)}));f.current=null,h((e=>e.length>0?e.slice(1):e)),g.current=t}),[A]);return r.useImperativeHandle(t,(()=>({pulsate:C,start:S,stop:R})),[C,S,R]),(0,k.jsx)(F,(0,n.A)({className:(0,i.A)(I.root,l.root,d),ref:y},p,{children:(0,k.jsx)(w.A,{component:null,exit:!0,children:m})}))}));var K=o(8483);function Y(e){return(0,K.Ay)("MuiButtonBase",e)}const H=(0,M.A)("MuiButtonBase",["root","disabled","focusVisible"]),U=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],q=(0,l.Ay)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},["&.".concat(H.disabled)]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),J=r.forwardRef((function(e,t){const o=(0,c.A)({props:e,name:"MuiButtonBase"}),{action:l,centerRipple:u=!1,children:m,className:h,component:v="button",disabled:g=!1,disableRipple:b=!1,disableTouchRipple:A=!1,focusRipple:f=!1,LinkComponent:y="a",onBlur:S,onClick:w,onContextMenu:C,onDragLeave:R,onFocus:M,onFocusVisible:I,onKeyDown:B,onKeyUp:T,onMouseDown:N,onMouseLeave:z,onMouseUp:W,onTouchEnd:D,onTouchMove:P,onTouchStart:L,tabIndex:O=0,TouchRippleProps:E,touchRippleRef:V,type:j}=o,F=(0,a.A)(o,U),G=r.useRef(null),K=r.useRef(null),H=(0,d.A)(K,V),{isFocusVisibleRef:J,onFocus:$,onBlur:Q,ref:Z}=x(),[_,ee]=r.useState(!1);g&&_&&ee(!1),r.useImperativeHandle(l,(()=>({focusVisible:()=>{ee(!0),G.current.focus()}})),[]);const[te,oe]=r.useState(!1);r.useEffect((()=>{oe(!0)}),[]);const ne=te&&!b&&!g;function ae(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:A;return(0,p.A)((n=>{t&&t(n);return!o&&K.current&&K.current[e](n),!0}))}r.useEffect((()=>{_&&f&&!b&&te&&K.current.pulsate()}),[b,f,_,te]);const re=ae("start",N),ie=ae("stop",C),se=ae("stop",R),le=ae("stop",W),ce=ae("stop",(e=>{_&&e.preventDefault(),z&&z(e)})),de=ae("start",L),pe=ae("stop",D),ue=ae("stop",P),me=ae("stop",(e=>{Q(e),!1===J.current&&ee(!1),S&&S(e)}),!1),he=(0,p.A)((e=>{G.current||(G.current=e.currentTarget),$(e),!0===J.current&&(ee(!0),I&&I(e)),M&&M(e)})),ve=()=>{const e=G.current;return v&&"button"!==v&&!("A"===e.tagName&&e.href)},ge=r.useRef(!1),be=(0,p.A)((e=>{f&&!ge.current&&_&&K.current&&" "===e.key&&(ge.current=!0,K.current.stop(e,(()=>{K.current.start(e)}))),e.target===e.currentTarget&&ve()&&" "===e.key&&e.preventDefault(),B&&B(e),e.target===e.currentTarget&&ve()&&"Enter"===e.key&&!g&&(e.preventDefault(),w&&w(e))})),Ae=(0,p.A)((e=>{f&&" "===e.key&&K.current&&_&&!e.defaultPrevented&&(ge.current=!1,K.current.stop(e,(()=>{K.current.pulsate(e)}))),T&&T(e),w&&e.target===e.currentTarget&&ve()&&" "===e.key&&!e.defaultPrevented&&w(e)}));let fe=v;"button"===fe&&(F.href||F.to)&&(fe=y);const ye={};"button"===fe?(ye.type=void 0===j?"button":j,ye.disabled=g):(F.href||F.to||(ye.role="button"),g&&(ye["aria-disabled"]=g));const xe=(0,d.A)(t,Z,G);const Se=(0,n.A)({},o,{centerRipple:u,component:v,disabled:g,disableRipple:b,disableTouchRipple:A,focusRipple:f,tabIndex:O,focusVisible:_}),we=(e=>{const{disabled:t,focusVisible:o,focusVisibleClassName:n,classes:a}=e,r={root:["root",t&&"disabled",o&&"focusVisible"]},i=(0,s.A)(r,Y,a);return o&&n&&(i.root+=" ".concat(n)),i})(Se);return(0,k.jsxs)(q,(0,n.A)({as:fe,className:(0,i.A)(we.root,h),ownerState:Se,onBlur:me,onClick:w,onContextMenu:ie,onFocus:he,onKeyDown:be,onKeyUp:Ae,onMouseDown:re,onMouseLeave:ce,onMouseUp:le,onDragLeave:se,onTouchEnd:pe,onTouchMove:ue,onTouchStart:de,ref:xe,tabIndex:g?-1:O,type:j},ye,F,{children:[m,ne?(0,k.jsx)(X,(0,n.A)({ref:H,center:u},E)):null]}))})),$=J},6583:(e,t,o)=>{o.d(t,{A:()=>k});var n=o(8587),a=o(8168),r=o(9950),i=o(2004),s=o(4061),l=o(8767),c=o(1676),d=o(4021),p=o(7191),u=o(2235),m=o(9859),h=o(9254),v=o(1427),g=o(5536),b=o(5158),A=o(4857),f=o(4414);const y=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],x=(0,h.Ay)(b.A,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),S=(0,h.Ay)(d.A,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),w=(0,h.Ay)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.container,t["scroll".concat((0,c.A)(o.scroll))]]}})((e=>{let{ownerState:t}=e;return(0,a.A)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===t.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===t.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})})),C=(0,h.Ay)(u.A,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.paper,t["scrollPaper".concat((0,c.A)(o.scroll))],t["paperWidth".concat((0,c.A)(String(o.maxWidth)))],o.fullWidth&&t.paperFullWidth,o.fullScreen&&t.paperFullScreen]}})((e=>{let{theme:t,ownerState:o}=e;return(0,a.A)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===o.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===o.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!o.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===o.maxWidth&&{maxWidth:"px"===t.breakpoints.unit?Math.max(t.breakpoints.values.xs,444):"max(".concat(t.breakpoints.values.xs).concat(t.breakpoints.unit,", 444px)"),["&.".concat(v.A.paperScrollBody)]:{[t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},o.maxWidth&&"xs"!==o.maxWidth&&{maxWidth:"".concat(t.breakpoints.values[o.maxWidth]).concat(t.breakpoints.unit),["&.".concat(v.A.paperScrollBody)]:{[t.breakpoints.down(t.breakpoints.values[o.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},o.fullWidth&&{width:"calc(100% - 64px)"},o.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,["&.".concat(v.A.paperScrollBody)]:{margin:0,maxWidth:"100%"}})})),k=r.forwardRef((function(e,t){const o=(0,m.A)({props:e,name:"MuiDialog"}),d=(0,A.A)(),h={enter:d.transitions.duration.enteringScreen,exit:d.transitions.duration.leavingScreen},{"aria-describedby":b,"aria-labelledby":k,BackdropComponent:R,BackdropProps:M,children:I,className:B,disableEscapeKeyDown:T=!1,fullScreen:N=!1,fullWidth:z=!1,maxWidth:W="sm",onBackdropClick:D,onClose:P,open:L,PaperComponent:O=u.A,PaperProps:E={},scroll:V="paper",TransitionComponent:j=p.A,transitionDuration:F=h,TransitionProps:G}=o,X=(0,n.A)(o,y),K=(0,a.A)({},o,{disableEscapeKeyDown:T,fullScreen:N,fullWidth:z,maxWidth:W,scroll:V}),Y=(e=>{const{classes:t,scroll:o,maxWidth:n,fullWidth:a,fullScreen:r}=e,i={root:["root"],container:["container","scroll".concat((0,c.A)(o))],paper:["paper","paperScroll".concat((0,c.A)(o)),"paperWidth".concat((0,c.A)(String(n))),a&&"paperFullWidth",r&&"paperFullScreen"]};return(0,s.A)(i,v.f,t)})(K),H=r.useRef(),U=(0,l.A)(k),q=r.useMemo((()=>({titleId:U})),[U]);return(0,f.jsx)(S,(0,a.A)({className:(0,i.A)(Y.root,B),closeAfterTransition:!0,components:{Backdrop:x},componentsProps:{backdrop:(0,a.A)({transitionDuration:F,as:R},M)},disableEscapeKeyDown:T,onClose:P,open:L,ref:t,onClick:e=>{H.current&&(H.current=null,D&&D(e),P&&P(e,"backdropClick"))},ownerState:K},X,{children:(0,f.jsx)(j,(0,a.A)({appear:!0,in:L,timeout:F,role:"presentation"},G,{children:(0,f.jsx)(w,{className:(0,i.A)(Y.container),onMouseDown:e=>{H.current=e.target===e.currentTarget},ownerState:K,children:(0,f.jsx)(C,(0,a.A)({as:O,elevation:24,role:"dialog","aria-describedby":b,"aria-labelledby":U},E,{className:(0,i.A)(Y.paper,E.className),ownerState:K,children:(0,f.jsx)(g.A.Provider,{value:q,children:I})}))})}))}))}))},5536:(e,t,o)=>{o.d(t,{A:()=>n});const n=o(9950).createContext({})},1427:(e,t,o)=>{o.d(t,{A:()=>i,f:()=>r});var n=o(3244),a=o(8483);function r(e){return(0,a.Ay)("MuiDialog",e)}const i=(0,n.A)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"])},9739:(e,t,o)=>{o.d(t,{A:()=>g});var n=o(8587),a=o(8168),r=o(9950),i=o(2004),s=o(4061),l=o(9254),c=o(9859),d=o(3244),p=o(8483);function u(e){return(0,p.Ay)("MuiDialogActions",e)}(0,d.A)("MuiDialogActions",["root","spacing"]);var m=o(4414);const h=["className","disableSpacing"],v=(0,l.Ay)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.disableSpacing&&t.spacing]}})((e=>{let{ownerState:t}=e;return(0,a.A)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!t.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})})),g=r.forwardRef((function(e,t){const o=(0,c.A)({props:e,name:"MuiDialogActions"}),{className:r,disableSpacing:l=!1}=o,d=(0,n.A)(o,h),p=(0,a.A)({},o,{disableSpacing:l}),g=(e=>{const{classes:t,disableSpacing:o}=e,n={root:["root",!o&&"spacing"]};return(0,s.A)(n,u,t)})(p);return(0,m.jsx)(v,(0,a.A)({className:(0,i.A)(g.root,r),ownerState:p,ref:t},d))}))},8170:(e,t,o)=>{o.d(t,{A:()=>b});var n=o(8587),a=o(8168),r=o(9950),i=o(2004),s=o(4061),l=o(9254),c=o(9859),d=o(3244),p=o(8483);function u(e){return(0,p.Ay)("MuiDialogContent",e)}(0,d.A)("MuiDialogContent",["root","dividers"]);var m=o(3025),h=o(4414);const v=["className","dividers"],g=(0,l.Ay)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.dividers&&t.dividers]}})((e=>{let{theme:t,ownerState:o}=e;return(0,a.A)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},o.dividers?{padding:"16px 24px",borderTop:"1px solid ".concat((t.vars||t).palette.divider),borderBottom:"1px solid ".concat((t.vars||t).palette.divider)}:{[".".concat(m.A.root," + &")]:{paddingTop:0}})})),b=r.forwardRef((function(e,t){const o=(0,c.A)({props:e,name:"MuiDialogContent"}),{className:r,dividers:l=!1}=o,d=(0,n.A)(o,v),p=(0,a.A)({},o,{dividers:l}),m=(e=>{const{classes:t,dividers:o}=e,n={root:["root",o&&"dividers"]};return(0,s.A)(n,u,t)})(p);return(0,h.jsx)(g,(0,a.A)({className:(0,i.A)(m.root,r),ownerState:p,ref:t},d))}))},8874:(e,t,o)=>{o.d(t,{A:()=>b});var n=o(8587),a=o(8168),r=o(9950),i=o(2004),s=o(4061),l=o(9254),c=o(9859),d=o(2053),p=o(3244),u=o(8483);function m(e){return(0,u.Ay)("MuiDialogContentText",e)}(0,p.A)("MuiDialogContentText",["root"]);var h=o(4414);const v=["children","className"],g=(0,l.Ay)(d.A,{shouldForwardProp:e=>(0,l.ep)(e)||"classes"===e,name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),b=r.forwardRef((function(e,t){const o=(0,c.A)({props:e,name:"MuiDialogContentText"}),{className:r}=o,l=(0,n.A)(o,v),d=(e=>{const{classes:t}=e,o=(0,s.A)({root:["root"]},m,t);return(0,a.A)({},t,o)})(l);return(0,h.jsx)(g,(0,a.A)({component:"p",variant:"body1",color:"text.secondary",ref:t,ownerState:l,className:(0,i.A)(d.root,r)},o,{classes:d}))}))},33:(e,t,o)=>{o.d(t,{A:()=>g});var n=o(8168),a=o(8587),r=o(9950),i=o(2004),s=o(4061),l=o(2053),c=o(9254),d=o(9859),p=o(3025),u=o(5536),m=o(4414);const h=["className","id"],v=(0,c.Ay)(l.A,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),g=r.forwardRef((function(e,t){const o=(0,d.A)({props:e,name:"MuiDialogTitle"}),{className:l,id:c}=o,g=(0,a.A)(o,h),b=o,A=(e=>{const{classes:t}=e;return(0,s.A)({root:["root"]},p.t,t)})(b),{titleId:f=c}=r.useContext(u.A);return(0,m.jsx)(v,(0,n.A)({component:"h2",className:(0,i.A)(A.root,l),ownerState:b,ref:t,variant:"h6",id:null!=c?c:f},g))}))},3025:(e,t,o)=>{o.d(t,{A:()=>i,t:()=>r});var n=o(3244),a=o(8483);function r(e){return(0,a.Ay)("MuiDialogTitle",e)}const i=(0,n.A)("MuiDialogTitle",["root"])},4745:(e,t,o)=>{o.d(t,{A:()=>b});var n=o(8587),a=o(8168),r=o(9950),i=o(2004),s=o(4061),l=o(9269),c=o(9254),d=o(9859),p=o(777),u=o(4414);const m=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],h=(0,c.Ay)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.absolute&&t.absolute,t[o.variant],o.light&&t.light,"vertical"===o.orientation&&t.vertical,o.flexItem&&t.flexItem,o.children&&t.withChildren,o.children&&"vertical"===o.orientation&&t.withChildrenVertical,"right"===o.textAlign&&"vertical"!==o.orientation&&t.textAlignRight,"left"===o.textAlign&&"vertical"!==o.orientation&&t.textAlignLeft]}})((e=>{let{theme:t,ownerState:o}=e;return(0,a.A)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},o.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},o.light&&{borderColor:t.vars?"rgba(".concat(t.vars.palette.dividerChannel," / 0.08)"):(0,l.X4)(t.palette.divider,.08)},"inset"===o.variant&&{marginLeft:72},"middle"===o.variant&&"horizontal"===o.orientation&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},"middle"===o.variant&&"vertical"===o.orientation&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},"vertical"===o.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},o.flexItem&&{alignSelf:"stretch",height:"auto"})}),(e=>{let{ownerState:t}=e;return(0,a.A)({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})}),(e=>{let{theme:t,ownerState:o}=e;return(0,a.A)({},o.children&&"vertical"!==o.orientation&&{"&::before, &::after":{width:"100%",borderTop:"thin solid ".concat((t.vars||t).palette.divider)}})}),(e=>{let{theme:t,ownerState:o}=e;return(0,a.A)({},o.children&&"vertical"===o.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:"thin solid ".concat((t.vars||t).palette.divider)}})}),(e=>{let{ownerState:t}=e;return(0,a.A)({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})})),v=(0,c.Ay)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.wrapper,"vertical"===o.orientation&&t.wrapperVertical]}})((e=>{let{theme:t,ownerState:o}=e;return(0,a.A)({display:"inline-block",paddingLeft:"calc(".concat(t.spacing(1)," * 1.2)"),paddingRight:"calc(".concat(t.spacing(1)," * 1.2)")},"vertical"===o.orientation&&{paddingTop:"calc(".concat(t.spacing(1)," * 1.2)"),paddingBottom:"calc(".concat(t.spacing(1)," * 1.2)")})})),g=r.forwardRef((function(e,t){const o=(0,d.A)({props:e,name:"MuiDivider"}),{absolute:r=!1,children:l,className:c,component:g=(l?"div":"hr"),flexItem:b=!1,light:A=!1,orientation:f="horizontal",role:y=("hr"!==g?"separator":void 0),textAlign:x="center",variant:S="fullWidth"}=o,w=(0,n.A)(o,m),C=(0,a.A)({},o,{absolute:r,component:g,flexItem:b,light:A,orientation:f,role:y,textAlign:x,variant:S}),k=(e=>{const{absolute:t,children:o,classes:n,flexItem:a,light:r,orientation:i,textAlign:l,variant:c}=e,d={root:["root",t&&"absolute",c,r&&"light","vertical"===i&&"vertical",a&&"flexItem",o&&"withChildren",o&&"vertical"===i&&"withChildrenVertical","right"===l&&"vertical"!==i&&"textAlignRight","left"===l&&"vertical"!==i&&"textAlignLeft"],wrapper:["wrapper","vertical"===i&&"wrapperVertical"]};return(0,s.A)(d,p.K,n)})(C);return(0,u.jsx)(h,(0,a.A)({as:g,className:(0,i.A)(k.root,c),role:y,ref:t,ownerState:C},w,{children:l?(0,u.jsx)(v,{className:k.wrapper,ownerState:C,children:l}):null}))}));g.muiSkipListHighlight=!0;const b=g},777:(e,t,o)=>{o.d(t,{A:()=>i,K:()=>r});var n=o(3244),a=o(8483);function r(e){return(0,a.Ay)("MuiDivider",e)}const i=(0,n.A)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"])},2610:(e,t,o)=>{o.d(t,{Ay:()=>z});var n=o(8587),a=o(8168),r=o(9950),i=o(2004),s=o(4445),l=o(4061),c=o(9269),d=o(9254),p=o(9859),u=o(5511),m=o(96),h=o(9044),v=o(1506),g=o(3372),b=o(3244),A=o(8483);function f(e){return(0,A.Ay)("MuiListItem",e)}const y=(0,b.A)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);var x=o(9813);function S(e){return(0,A.Ay)("MuiListItemSecondaryAction",e)}(0,b.A)("MuiListItemSecondaryAction",["root","disableGutters"]);var w=o(4414);const C=["className"],k=(0,d.Ay)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.disableGutters&&t.disableGutters]}})((e=>{let{ownerState:t}=e;return(0,a.A)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},t.disableGutters&&{right:0})})),R=r.forwardRef((function(e,t){const o=(0,p.A)({props:e,name:"MuiListItemSecondaryAction"}),{className:s}=o,c=(0,n.A)(o,C),d=r.useContext(g.A),u=(0,a.A)({},o,{disableGutters:d.disableGutters}),m=(e=>{const{disableGutters:t,classes:o}=e,n={root:["root",t&&"disableGutters"]};return(0,l.A)(n,S,o)})(u);return(0,w.jsx)(k,(0,a.A)({className:(0,i.A)(m.root,s),ownerState:u,ref:t},c))}));R.muiName="ListItemSecondaryAction";const M=R,I=["className"],B=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],T=(0,d.Ay)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.dense&&t.dense,"flex-start"===o.alignItems&&t.alignItemsFlexStart,o.divider&&t.divider,!o.disableGutters&&t.gutters,!o.disablePadding&&t.padding,o.button&&t.button,o.hasSecondaryAction&&t.secondaryAction]}})((e=>{let{theme:t,ownerState:o}=e;return(0,a.A)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!o.disablePadding&&(0,a.A)({paddingTop:8,paddingBottom:8},o.dense&&{paddingTop:4,paddingBottom:4},!o.disableGutters&&{paddingLeft:16,paddingRight:16},!!o.secondaryAction&&{paddingRight:48}),!!o.secondaryAction&&{["& > .".concat(x.A.root)]:{paddingRight:48}},{["&.".concat(y.focusVisible)]:{backgroundColor:(t.vars||t).palette.action.focus},["&.".concat(y.selected)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,c.X4)(t.palette.primary.main,t.palette.action.selectedOpacity),["&.".concat(y.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,c.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},["&.".concat(y.disabled)]:{opacity:(t.vars||t).palette.action.disabledOpacity}},"flex-start"===o.alignItems&&{alignItems:"flex-start"},o.divider&&{borderBottom:"1px solid ".concat((t.vars||t).palette.divider),backgroundClip:"padding-box"},o.button&&{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},["&.".concat(y.selected,":hover")]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.hoverOpacity,"))"):(0,c.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,c.X4)(t.palette.primary.main,t.palette.action.selectedOpacity)}}},o.hasSecondaryAction&&{paddingRight:48})})),N=(0,d.Ay)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),z=r.forwardRef((function(e,t){const o=(0,p.A)({props:e,name:"MuiListItem"}),{alignItems:c="center",autoFocus:d=!1,button:b=!1,children:A,className:x,component:S,components:C={},componentsProps:k={},ContainerComponent:R="li",ContainerProps:{className:z}={},dense:W=!1,disabled:D=!1,disableGutters:P=!1,disablePadding:L=!1,divider:O=!1,focusVisibleClassName:E,secondaryAction:V,selected:j=!1,slotProps:F={},slots:G={}}=o,X=(0,n.A)(o.ContainerProps,I),K=(0,n.A)(o,B),Y=r.useContext(g.A),H=r.useMemo((()=>({dense:W||Y.dense||!1,alignItems:c,disableGutters:P})),[c,Y.dense,W,P]),U=r.useRef(null);(0,h.A)((()=>{d&&U.current&&U.current.focus()}),[d]);const q=r.Children.toArray(A),J=q.length&&(0,m.A)(q[q.length-1],["ListItemSecondaryAction"]),$=(0,a.A)({},o,{alignItems:c,autoFocus:d,button:b,dense:H.dense,disabled:D,disableGutters:P,disablePadding:L,divider:O,hasSecondaryAction:J,selected:j}),Q=(e=>{const{alignItems:t,button:o,classes:n,dense:a,disabled:r,disableGutters:i,disablePadding:s,divider:c,hasSecondaryAction:d,selected:p}=e,u={root:["root",a&&"dense",!i&&"gutters",!s&&"padding",c&&"divider",r&&"disabled",o&&"button","flex-start"===t&&"alignItemsFlexStart",d&&"secondaryAction",p&&"selected"],container:["container"]};return(0,l.A)(u,f,n)})($),Z=(0,v.A)(U,t),_=G.root||C.Root||T,ee=F.root||k.root||{},te=(0,a.A)({className:(0,i.A)(Q.root,ee.className,x),disabled:D},K);let oe=S||"li";return b&&(te.component=S||"div",te.focusVisibleClassName=(0,i.A)(y.focusVisible,E),oe=u.A),J?(oe=te.component||S?oe:"div","li"===R&&("li"===oe?oe="div":"li"===te.component&&(te.component="div")),(0,w.jsx)(g.A.Provider,{value:H,children:(0,w.jsxs)(N,(0,a.A)({as:R,className:(0,i.A)(Q.container,z),ref:Z,ownerState:$},X,{children:[(0,w.jsx)(_,(0,a.A)({},ee,!(0,s.g)(_)&&{as:oe,ownerState:(0,a.A)({},$,ee.ownerState)},te,{children:q})),q.pop()]}))})):(0,w.jsx)(g.A.Provider,{value:H,children:(0,w.jsxs)(_,(0,a.A)({},ee,{as:oe,ref:Z},!(0,s.g)(_)&&{ownerState:(0,a.A)({},$,ee.ownerState)},te,{children:[q,V&&(0,w.jsx)(M,{children:V})]}))})}))},7357:(e,t,o)=>{o.d(t,{A:()=>f});var n=o(8587),a=o(8168),r=o(9950),i=o(2004),s=o(4061),l=o(9269),c=o(9254),d=o(9859),p=o(5511),u=o(9044),m=o(1506),h=o(3372),v=o(9813),g=o(4414);const b=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],A=(0,c.Ay)(p.A,{shouldForwardProp:e=>(0,c.ep)(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.dense&&t.dense,"flex-start"===o.alignItems&&t.alignItemsFlexStart,o.divider&&t.divider,!o.disableGutters&&t.gutters]}})((e=>{let{theme:t,ownerState:o}=e;return(0,a.A)({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},["&.".concat(v.A.selected)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,l.X4)(t.palette.primary.main,t.palette.action.selectedOpacity),["&.".concat(v.A.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,l.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},["&.".concat(v.A.selected,":hover")]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.hoverOpacity,"))"):(0,l.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,l.X4)(t.palette.primary.main,t.palette.action.selectedOpacity)}},["&.".concat(v.A.focusVisible)]:{backgroundColor:(t.vars||t).palette.action.focus},["&.".concat(v.A.disabled)]:{opacity:(t.vars||t).palette.action.disabledOpacity}},o.divider&&{borderBottom:"1px solid ".concat((t.vars||t).palette.divider),backgroundClip:"padding-box"},"flex-start"===o.alignItems&&{alignItems:"flex-start"},!o.disableGutters&&{paddingLeft:16,paddingRight:16},o.dense&&{paddingTop:4,paddingBottom:4})})),f=r.forwardRef((function(e,t){const o=(0,d.A)({props:e,name:"MuiListItemButton"}),{alignItems:l="center",autoFocus:c=!1,component:p="div",children:f,dense:y=!1,disableGutters:x=!1,divider:S=!1,focusVisibleClassName:w,selected:C=!1,className:k}=o,R=(0,n.A)(o,b),M=r.useContext(h.A),I=r.useMemo((()=>({dense:y||M.dense||!1,alignItems:l,disableGutters:x})),[l,M.dense,y,x]),B=r.useRef(null);(0,u.A)((()=>{c&&B.current&&B.current.focus()}),[c]);const T=(0,a.A)({},o,{alignItems:l,dense:I.dense,disableGutters:x,divider:S,selected:C}),N=(e=>{const{alignItems:t,classes:o,dense:n,disabled:r,disableGutters:i,divider:l,selected:c}=e,d={root:["root",n&&"dense",!i&&"gutters",l&&"divider",r&&"disabled","flex-start"===t&&"alignItemsFlexStart",c&&"selected"]},p=(0,s.A)(d,v.Y,o);return(0,a.A)({},o,p)})(T),z=(0,m.A)(B,t);return(0,g.jsx)(h.A.Provider,{value:I,children:(0,g.jsx)(A,(0,a.A)({ref:z,href:R.href||R.to,component:(R.href||R.to)&&"div"===p?"button":p,focusVisibleClassName:(0,i.A)(N.focusVisible,w),ownerState:T,className:(0,i.A)(N.root,k)},R,{classes:N,children:f}))})}))},9813:(e,t,o)=>{o.d(t,{A:()=>i,Y:()=>r});var n=o(3244),a=o(8483);function r(e){return(0,a.Ay)("MuiListItemButton",e)}const i=(0,n.A)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"])},3563:(e,t,o)=>{o.d(t,{A:()=>g});var n=o(8587),a=o(8168),r=o(9950),i=o(2004),s=o(4061),l=o(2053),c=o(3372),d=o(9859),p=o(9254),u=o(8543),m=o(4414);const h=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],v=(0,p.Ay)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{["& .".concat(u.A.primary)]:t.primary},{["& .".concat(u.A.secondary)]:t.secondary},t.root,o.inset&&t.inset,o.primary&&o.secondary&&t.multiline,o.dense&&t.dense]}})((e=>{let{ownerState:t}=e;return(0,a.A)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},t.primary&&t.secondary&&{marginTop:6,marginBottom:6},t.inset&&{paddingLeft:56})})),g=r.forwardRef((function(e,t){const o=(0,d.A)({props:e,name:"MuiListItemText"}),{children:p,className:g,disableTypography:b=!1,inset:A=!1,primary:f,primaryTypographyProps:y,secondary:x,secondaryTypographyProps:S}=o,w=(0,n.A)(o,h),{dense:C}=r.useContext(c.A);let k=null!=f?f:p,R=x;const M=(0,a.A)({},o,{disableTypography:b,inset:A,primary:!!k,secondary:!!R,dense:C}),I=(e=>{const{classes:t,inset:o,primary:n,secondary:a,dense:r}=e,i={root:["root",o&&"inset",r&&"dense",n&&a&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,s.A)(i,u.b,t)})(M);return null==k||k.type===l.A||b||(k=(0,m.jsx)(l.A,(0,a.A)({variant:C?"body2":"body1",className:I.primary,component:null!=y&&y.variant?void 0:"span",display:"block"},y,{children:k}))),null==R||R.type===l.A||b||(R=(0,m.jsx)(l.A,(0,a.A)({variant:"body2",className:I.secondary,color:"text.secondary",display:"block"},S,{children:R}))),(0,m.jsxs)(v,(0,a.A)({className:(0,i.A)(I.root,g),ownerState:M,ref:t},w,{children:[k,R]}))}))},8543:(e,t,o)=>{o.d(t,{A:()=>i,b:()=>r});var n=o(3244),a=o(8483);function r(e){return(0,a.Ay)("MuiListItemText",e)}const i=(0,n.A)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"])},4322:(e,t,o)=>{o.d(t,{A:()=>k});var n=o(8587),a=o(8168),r=o(9950),i=o(2004),s=o(4061),l=o(9269),c=o(9254),d=o(9859),p=o(3372),u=o(5511),m=o(9044),h=o(1506),v=o(777),g=o(3244);const b=(0,g.A)("MuiListItemIcon",["root","alignItemsFlexStart"]);var A=o(8543),f=o(8483);function y(e){return(0,f.Ay)("MuiMenuItem",e)}const x=(0,g.A)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var S=o(4414);const w=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],C=(0,c.Ay)(u.A,{shouldForwardProp:e=>(0,c.ep)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.dense&&t.dense,o.divider&&t.divider,!o.disableGutters&&t.gutters]}})((e=>{let{theme:t,ownerState:o}=e;return(0,a.A)({},t.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!o.disableGutters&&{paddingLeft:16,paddingRight:16},o.divider&&{borderBottom:"1px solid ".concat((t.vars||t).palette.divider),backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},["&.".concat(x.selected)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,l.X4)(t.palette.primary.main,t.palette.action.selectedOpacity),["&.".concat(x.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,l.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},["&.".concat(x.selected,":hover")]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.hoverOpacity,"))"):(0,l.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,l.X4)(t.palette.primary.main,t.palette.action.selectedOpacity)}},["&.".concat(x.focusVisible)]:{backgroundColor:(t.vars||t).palette.action.focus},["&.".concat(x.disabled)]:{opacity:(t.vars||t).palette.action.disabledOpacity},["& + .".concat(v.A.root)]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},["& + .".concat(v.A.inset)]:{marginLeft:52},["& .".concat(A.A.root)]:{marginTop:0,marginBottom:0},["& .".concat(A.A.inset)]:{paddingLeft:36},["& .".concat(b.root)]:{minWidth:36}},!o.dense&&{[t.breakpoints.up("sm")]:{minHeight:"auto"}},o.dense&&(0,a.A)({minHeight:32,paddingTop:4,paddingBottom:4},t.typography.body2,{["& .".concat(b.root," svg")]:{fontSize:"1.25rem"}}))})),k=r.forwardRef((function(e,t){const o=(0,d.A)({props:e,name:"MuiMenuItem"}),{autoFocus:l=!1,component:c="li",dense:u=!1,divider:v=!1,disableGutters:g=!1,focusVisibleClassName:b,role:A="menuitem",tabIndex:f,className:x}=o,k=(0,n.A)(o,w),R=r.useContext(p.A),M=r.useMemo((()=>({dense:u||R.dense||!1,disableGutters:g})),[R.dense,u,g]),I=r.useRef(null);(0,m.A)((()=>{l&&I.current&&I.current.focus()}),[l]);const B=(0,a.A)({},o,{dense:M.dense,divider:v,disableGutters:g}),T=(e=>{const{disabled:t,dense:o,divider:n,disableGutters:r,selected:i,classes:l}=e,c={root:["root",o&&"dense",t&&"disabled",!r&&"gutters",n&&"divider",i&&"selected"]},d=(0,s.A)(c,y,l);return(0,a.A)({},l,d)})(o),N=(0,h.A)(I,t);let z;return o.disabled||(z=void 0!==f?f:-1),(0,S.jsx)(p.A.Provider,{value:M,children:(0,S.jsx)(C,(0,a.A)({ref:N,role:A,tabIndex:z,component:c,focusVisibleClassName:(0,i.A)(T.focusVisible,b),className:(0,i.A)(T.root,x)},k,{ownerState:B,classes:T}))})}))},3239:(e,t,o)=>{o.d(t,{A:()=>g});var n=o(8587),a=o(8168),r=o(9950),i=o(2004),s=o(4061),l=o(9859),c=o(9254),d=o(3244),p=o(8483);function u(e){return(0,p.Ay)("MuiToolbar",e)}(0,d.A)("MuiToolbar",["root","gutters","regular","dense"]);var m=o(4414);const h=["className","component","disableGutters","variant"],v=(0,c.Ay)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.disableGutters&&t.gutters,t[o.variant]]}})((e=>{let{theme:t,ownerState:o}=e;return(0,a.A)({position:"relative",display:"flex",alignItems:"center"},!o.disableGutters&&{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}},"dense"===o.variant&&{minHeight:48})}),(e=>{let{theme:t,ownerState:o}=e;return"regular"===o.variant&&t.mixins.toolbar})),g=r.forwardRef((function(e,t){const o=(0,l.A)({props:e,name:"MuiToolbar"}),{className:r,component:c="div",disableGutters:d=!1,variant:p="regular"}=o,g=(0,n.A)(o,h),b=(0,a.A)({},o,{component:c,disableGutters:d,variant:p}),A=(e=>{const{classes:t,disableGutters:o,variant:n}=e,a={root:["root",!o&&"gutters",n]};return(0,s.A)(a,u,t)})(b);return(0,m.jsx)(v,(0,a.A)({as:c,className:(0,i.A)(A.root,r),ref:t,ownerState:b},g))}))},2053:(e,t,o)=>{o.d(t,{A:()=>y});var n=o(8587),a=o(8168),r=o(9950),i=o(2004),s=o(237),l=o(4061),c=o(9254),d=o(9859),p=o(1676),u=o(3244),m=o(8483);function h(e){return(0,m.Ay)("MuiTypography",e)}(0,u.A)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var v=o(4414);const g=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],b=(0,c.Ay)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.variant&&t[o.variant],"inherit"!==o.align&&t["align".concat((0,p.A)(o.align))],o.noWrap&&t.noWrap,o.gutterBottom&&t.gutterBottom,o.paragraph&&t.paragraph]}})((e=>{let{theme:t,ownerState:o}=e;return(0,a.A)({margin:0},"inherit"===o.variant&&{font:"inherit"},"inherit"!==o.variant&&t.typography[o.variant],"inherit"!==o.align&&{textAlign:o.align},o.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},o.gutterBottom&&{marginBottom:"0.35em"},o.paragraph&&{marginBottom:16})})),A={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},f={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},y=r.forwardRef((function(e,t){const o=(0,d.A)({props:e,name:"MuiTypography"}),r=(e=>f[e]||e)(o.color),c=(0,s.A)((0,a.A)({},o,{color:r})),{align:u="inherit",className:m,component:y,gutterBottom:x=!1,noWrap:S=!1,paragraph:w=!1,variant:C="body1",variantMapping:k=A}=c,R=(0,n.A)(c,g),M=(0,a.A)({},c,{align:u,color:r,className:m,component:y,gutterBottom:x,noWrap:S,paragraph:w,variant:C,variantMapping:k}),I=y||(w?"p":k[C]||A[C])||"span",B=(e=>{const{align:t,gutterBottom:o,noWrap:n,paragraph:a,variant:r,classes:i}=e,s={root:["root",r,"inherit"!==e.align&&"align".concat((0,p.A)(t)),o&&"gutterBottom",n&&"noWrap",a&&"paragraph"]};return(0,l.A)(s,h,i)})(M);return(0,v.jsx)(b,(0,a.A)({as:I,ref:t,ownerState:M,className:(0,i.A)(B.root,m)},R))}))},1976:(e,t,o)=>{o.d(t,{A:()=>n});const n=o(2877).A},8166:(e,t,o)=>{o.d(t,{A:()=>h});var n=o(8587),a=o(8168),r=o(9417),i=o(7387),s=o(9950),l=o(8555);function c(e,t){var o=Object.create(null);return e&&s.Children.map(e,(function(e){return e})).forEach((function(e){o[e.key]=function(e){return t&&(0,s.isValidElement)(e)?t(e):e}(e)})),o}function d(e,t,o){return null!=o[t]?o[t]:e.props[t]}function p(e,t,o){var n=c(e.children),a=function(e,t){function o(o){return o in t?t[o]:e[o]}e=e||{},t=t||{};var n,a=Object.create(null),r=[];for(var i in e)i in t?r.length&&(a[i]=r,r=[]):r.push(i);var s={};for(var l in t){if(a[l])for(n=0;n{function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}o.d(t,{A:()=>n})}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/912.b577a56b.chunk.js b/frontend/dist/static/js/912.b577a56b.chunk.js deleted file mode 100644 index 39f9cad8..00000000 --- a/frontend/dist/static/js/912.b577a56b.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkobserver=self.webpackChunkobserver||[]).push([[912],{1109:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(5671),a=n(3144),i=n(136),s=n(9388),c=n(7313),l=n(6417),o=function(e){(0,i.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,r.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.layout,n=e.className,r=e.children,a="mt-5";switch(t){case"flex":a="mt-5 flex flex-wrap";break;case"grid":a="mt-5 gap-4 grid grid-cols-1 md:grid-cols-2"}return(0,l.jsx)("div",{className:"".concat(a," ").concat(null!==n&&void 0!==n?n:""),children:r})}}]),n}(c.Component)},501:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(5671),a=n(3144),i=n(136),s=n(9388),c=n(7313),l=n(6417),o=function(e){(0,i.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,r.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"render",value:function(){var e=this.props.children,t=Array.isArray(e)?e:[e];return(0,l.jsx)("main",{className:"bg-gray-50 min-h-screen ml-10 p-20 px-4 flex flex-col space-y-3",children:t.map((function(e,t){return(0,l.jsx)("div",{children:e},t)}))})}}]),n}(c.Component)},19:function(e,t,n){var r=n(5671),a=n(3144),i=n(136),s=n(9388),c=n(7313),l=n(5827),o=n(5590),u=n(6417),d=function(e){(0,i.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,r.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"render",value:function(){var e=this.props.t,t=l.Z.app_settings,n=t.author,r=t.description;return(0,u.jsxs)("footer",{className:"w-full bg-gray-200 text-gray-500 flex flex-col px-6 py-2 sm:flex-row justify-between",children:[(0,u.jsx)("span",{className:"text-xs text-center ml-8 md:ml-12",children:e(r)}),(0,u.jsx)("span",{className:"text-sm text-center justify-center",children:"\xa9 ".concat((new Date).getFullYear()," ").concat(e(n))})]})}}]),n}(c.Component);t.Z=(0,o.Zh)()(d)},3670:function(e,t,n){n.d(t,{Z:function(){return w}});var r=n(5671),a=n(3144),i=n(136),s=n(9388),c=n(7313);var l=n.p+"static/media/earth-americas-solid.4105ee3951f1c7ac60331fccafc17c1f.svg",o=n(5827),u=n(8780),d=n(6135),f=n(2702),h=n(4165),p=n(5861),m=n(9111),v=function(){var e=(0,p.Z)((0,h.Z)().mark((function e(t,n){var r,a,i;return(0,h.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t;case 2:return r=e.sent,e.next=5,r.changeLanguage(n);case 5:a=(0,m.Z)(),i=o.Z.app_settings.title,document.title="".concat(r.t(a)," | ").concat(r.t(i));case 8:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),g=v,x=n(549),Z=n(5590),b=n(6417),y=function(e){(0,i.Z)(n,e);var t=(0,s.Z)(n);function n(e){var a;return(0,r.Z)(this,n),(a=t.call(this,e)).handleI18nChange=function(e){var t=e.target.value;g(f.a,t),a.setState({i18n:t})},a.state={i18n:(0,x.Z)()},a}return(0,a.Z)(n,[{key:"render",value:function(){var e=this.props.t,t=this.state.i18n,n=o.Z.app_settings.name;return(0,b.jsxs)("header",{className:"fixed w-full z-10 flex justify-between bg-gray-200 items-center h-16 px-5",children:[(0,b.jsx)("h1",{className:"ml-14 text-gray-800 text-xl font-bold",children:e(n)}),(0,b.jsxs)("div",{className:"flex text-gray-500 flex-nowrap space-x-1",children:[(0,b.jsx)("img",{className:"w-4 h-4",src:l,alt:""}),(0,b.jsx)("select",{className:"text-xs bg-transparent focus:outline-none",onChange:this.handleI18nChange,value:t,children:f.Z.list.map((function(e,t){var n=e.name,r=e.value;return(0,b.jsx)("option",{value:r,children:n},t)}))})]})]})}}]),n}(c.Component),w=(0,d.$j)(u.Z)((0,Z.Zh)()(y))},5097:function(e,t,n){n.d(t,{Z:function(){return v}});var r=n(5671),a=n(3144),i=n(136),s=n(9388),c=n(7313),l=n(2135);var o=n.p+"static/media/house-solid.716027ddb007f9cd5ea3128e4b7e45fd.svg";var u=n.p+"static/media/angle-right-solid.cda594ece7082478d17a05a0a0e148f5.svg",d=n(3250),f=n(9111),h=n(5590),p=n(6417),m=function(e){(0,i.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,r.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"render",value:function(){var e=this.props.t,t=(0,d.Z)(),n=(0,f.Z)();return(0,p.jsx)("nav",{className:"px-5 py-3 rounded-lg bg-gray-100",children:(0,p.jsxs)("ol",{className:"text-sm font-medium text-gray-700 flex space-x-2",children:[(0,p.jsx)("li",{className:"cursor-pointer hover:text-gray-900",children:(0,p.jsxs)(l.rU,{className:"flex",to:"/",children:[(0,p.jsx)("img",{className:"my-2 w-5 h-4 mr-2",src:o,alt:""}),(0,p.jsx)("span",{className:"my-2",children:"/"})]})}),"/"!==t&&(0,p.jsxs)("li",{className:"flex",children:[(0,p.jsx)("img",{className:"self-center w-4 h-4 mr-2",src:u,alt:""}),(0,p.jsx)(l.rU,{className:"my-2 cursor-pointer hover:text-gray-900",to:t,children:e(n)})]})]})})}}]),n}(c.Component),v=(0,h.Zh)()(m)},284:function(e,t,n){n.d(t,{Z:function(){return u}});var r=n(5671),a=n(3144),i=n(136),s=n(9388),c=n(7313);var l=n.p+"static/media/arrow-up-solid.25f1775e7ee2dd4c2bc2f2c3c07116bf.svg",o=n(6417),u=function(e){(0,i.Z)(n,e);var t=(0,s.Z)(n);function n(e){var a;return(0,r.Z)(this,n),(a=t.call(this,e)).toggleButton=function(){window.scrollY>100?a.setState({showButton:!0}):a.setState({showButton:!1})},a.scrollToTop=function(){window.scrollTo({top:0,behavior:"smooth"})},a.state={showButton:!1},a}return(0,a.Z)(n,[{key:"componentDidMount",value:function(){document.addEventListener("scroll",this.toggleButton)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("scroll",this.toggleButton)}},{key:"render",value:function(){var e=this.state.showButton;return(0,o.jsx)("button",{onClick:this.scrollToTop,className:"fixed bg-purple-500 hover:bg-purple-600 duration-300 w-10 h-10 rounded-full bottom-16 right-3 flex justify-center items-center ".concat(e?"":"hidden"),children:(0,o.jsx)("img",{className:"w-4 h-4",src:l,alt:""})})}}]),n}(c.Component)},8669:function(e,t,n){n.d(t,{Z:function(){return Z}});var r=n(5671),a=n(3144),i=n(136),s=n(9388),c=n(7313),l=n(2135);var o=n.p+"static/media/server-solid.4f75c3131b23af426eabd5c91035829b.svg";var u=n.p+"static/media/wave-square-solid.9a0bef3f9e813a5716a30eed4fa8020e.svg";var d=n.p+"static/media/file-waveform-solid.c48c7f768376cd38d8254b34614dfd9a.svg";var f=n.p+"static/media/cloud-arrow-down-solid.44bdf9a1a61d1e1230b601cca127925f.svg";var h={title:"config.menu.title",list:[{uri:"/",label:"config.menu.list.index",icon:o},{uri:"/realtime",label:"config.menu.list.realtime",icon:u},{uri:"/history",label:"config.menu.list.history",icon:d},{uri:"/export",label:"config.menu.list.export",icon:f},{uri:"/setting",label:"config.menu.list.setting",icon:n.p+"static/media/gear-solid.bf34f9d52ff44a67baec8a0d4220d3a3.svg"}]};var p=n.p+"static/media/maximize-solid.daad92d8ce4bd4922c4d8d2bc5ee889f.svg",m=n(3250),v=n(5590),g=n(6417),x=function(e){(0,i.Z)(n,e);var t=(0,s.Z)(n);function n(e){var a;return(0,r.Z)(this,n),(a=t.call(this,e)).state={isOpen:!1},a}return(0,a.Z)(n,[{key:"render",value:function(){var e=this,t=this.props.t,n=this.state.isOpen,r=(0,m.Z)(),a=h.title,i=h.list;return(0,g.jsxs)("aside",{className:"z-20 w-[235px] fixed flex min-h-screen duration-700 bg-gray-800 text-white ".concat(n?"translate-x-none":"-translate-x-48"),children:[(0,g.jsx)("div",{className:"-right-6 ease-in duration-300 border-4 border-white absolute top-2 rounded-full ".concat(n?"translate-x-0":"translate-x-24 scale-x-0"),children:(0,g.jsx)("div",{className:"bg-gradient-to-r from-indigo-500 via-purple-500 to-purple-500 pl-16 pr-6 py-2 rounded-full",children:(0,g.jsx)("div",{className:"duration-100 mr-16 font-bold",children:t(a)})})}),(0,g.jsx)("div",{className:"-right-6 cursor-pointer duration-500 border-4 border-white bg-gray-800 hover:bg-purple-500 absolute top-2 p-3 rounded-full hover:rotate-45",onClick:function(){return e.setState({isOpen:!n})},children:(0,g.jsx)("img",{className:"w-4 h-4",src:p,alt:""})}),(0,g.jsx)("div",{className:"mt-20 flex flex-col space-y-2 w-full h-full ".concat(n||"hidden"),children:i.map((function(e,n){var a=e.uri,i=e.icon,s=e.label;return(0,g.jsxs)(l.rU,{className:"cursor-pointer w-full bg-gray-800 p-3 pl-8 rounded-full duration-300 flex items-center ".concat(a===r?"font-bold ml-2":"hover:font-bold hover:ml-2"),to:a,children:[(0,g.jsx)("img",{src:i,className:"w-4 h-4",alt:""}),(0,g.jsx)("span",{className:"ml-4",children:t(s)})]},n)}))}),(0,g.jsx)("div",{className:"mt-20 flex flex-col space-y-2 w-full h-full ".concat(n?"hidden":""),children:i.map((function(e,t){var n=e.uri,a=e.icon;return(0,g.jsx)(l.rU,{to:n,className:"cursor-pointer justify-end w-full bg-gray-800 p-4 rounded-full duration-300 flex ".concat(n===r?"ml-2":"hover:ml-2"),children:(0,g.jsx)("img",{src:a,className:"w-4 h-4",alt:""})},t)}))})]})}}]),n}(c.Component),Z=(0,v.Zh)()(x)},4656:function(e,t,n){var r=n(5671),a=n(3144),i=n(136),s=n(9388),c=n(7313),l=n(9111),o=n(5827),u=n(6135),d=n(8780),f=n(5590),h=n(6417),p=function(e){(0,i.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,r.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"componentDidMount",value:function(){var e=this.props.t,t=(0,l.Z)(),n=o.Z.app_settings.title;document.title="".concat(e(t)," | ").concat(e(n))}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.children;return(0,h.jsx)("div",{className:t,children:n})}}]),n}(c.Component);t.Z=(0,u.$j)(d.Z)((0,f.Zh)()(p))},2702:function(e,t,n){n.d(t,{Z:function(){return d},a:function(){return f}});var r=n(4165),a=n(5861),i=n(3885),s=n(8514),c=n(5590),l=n(3396),o=function(){var e=(0,a.Z)((0,r.Z)().mark((function e(t,n,a){var o;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=new l.Z(null,{lookupLocalStorage:a}),e.next=3,i.ZP.use(c.Db).use(s.Z).use(o).init({fallbackLng:n,detection:{caches:["localStorage"],order:["localStorage","navigator"]},interpolation:{escapeValue:!0},backend:{loadPath:t}});case 3:return e.abrupt("return",i.ZP);case 4:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),u={fallback:"zh-CN",key:"i18n",list:[{name:"\u7b80\u4f53\u4e2d\u6587",value:"zh-CN"},{name:"\u6b63\u9ad4\u4e2d\u6587",value:"zh-TW"},{name:"English",value:"en-US"},{name:"\ud55c\uad6d\uc5b4",value:"ko-KR"},{name:"\u65e5\u672c\u8a9e",value:"ja-JP"}],uri:"/i18n/{{lng}}.json"},d=u,f=o(u.uri,u.fallback,u.key)},549:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(2702),a=function(e,t,n){try{var r=localStorage.getItem(e);if(null!==r)return n?JSON.parse(r):r}catch(a){localStorage.setItem(e,"")}return localStorage.setItem(e,n?JSON.stringify(t):t),t},i=function(e,t,n){localStorage.setItem(e,n?JSON.stringify(t):t)},s=function(){var e=r.Z.list,t=r.Z.fallback,n=r.Z.key,s=a(n,"unknown",!1);if("unknown"===s)return i(n,t,!1),t;var c=e.find((function(e){return e.value===s}));return c?c.value:t}},9111:function(e,t,n){var r=n(7762),a=n(7902),i=n(3250);t.Z=function(){var e,t=(0,i.Z)(),n=(0,r.Z)(a.Z);try{for(n.s();!(e=n.n()).done;){var s=e.value;if(s.uri===t)return s.title}}catch(c){n.e(c)}finally{n.f()}return"config.router.error"}},3250:function(e,t,n){var r=n(5827);t.Z=function(){var e=window.location,t=e.hash,n=e.pathname;return"hash"===r.Z.app_settings.router&&t.length>0&&(n=t.split("?")[0].replaceAll("#","")),n}},8780:function(e,t,n){var r=n(1413);t.Z=function(e){return(0,r.Z)({},e)}}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/925.33fda54f.chunk.js b/frontend/dist/static/js/925.33fda54f.chunk.js new file mode 100644 index 00000000..16e6a341 --- /dev/null +++ b/frontend/dist/static/js/925.33fda54f.chunk.js @@ -0,0 +1,2 @@ +/*! For license information please see 925.33fda54f.chunk.js.LICENSE.txt */ +"use strict";(self.webpackChunksrc=self.webpackChunksrc||[]).push([[925],{6493:(e,t,n)=>{n.d(t,{s:()=>c});var o=n(9950),r=n(4093),i=n(3511),a=n(4414);const l=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function s(e){const t=[],n=[];return Array.from(e.querySelectorAll(l)).forEach(((e,o)=>{const r=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==r&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector('input[type="radio"]'.concat(t));let n=t('[name="'.concat(e.name,'"]:checked'));return n||(n=t('[name="'.concat(e.name,'"]'))),n!==e}(e))}(e)&&(0===r?t.push(e):n.push({documentOrder:o,tabIndex:r,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function d(){return!0}function c(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:l=!1,disableRestoreFocus:c=!1,getTabbable:u=s,isEnabled:p=d,open:m}=e,f=o.useRef(!1),h=o.useRef(null),v=o.useRef(null),b=o.useRef(null),A=o.useRef(null),g=o.useRef(!1),y=o.useRef(null),x=(0,r.A)(t.ref,y),S=o.useRef(null);o.useEffect((()=>{m&&y.current&&(g.current=!n)}),[n,m]),o.useEffect((()=>{if(!m||!y.current)return;const e=(0,i.A)(y.current);return y.current.contains(e.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex","-1"),g.current&&y.current.focus()),()=>{c||(b.current&&b.current.focus&&(f.current=!0,b.current.focus()),b.current=null)}}),[m]),o.useEffect((()=>{if(!m||!y.current)return;const e=(0,i.A)(y.current),t=t=>{S.current=t,!l&&p()&&"Tab"===t.key&&e.activeElement===y.current&&t.shiftKey&&(f.current=!0,v.current&&v.current.focus())},n=()=>{const t=y.current;if(null===t)return;if(!e.hasFocus()||!p()||f.current)return void(f.current=!1);if(t.contains(e.activeElement))return;if(l&&e.activeElement!==h.current&&e.activeElement!==v.current)return;if(e.activeElement!==A.current)A.current=null;else if(null!==A.current)return;if(!g.current)return;let n=[];if(e.activeElement!==h.current&&e.activeElement!==v.current||(n=u(y.current)),n.length>0){var o,r;const e=Boolean((null==(o=S.current)?void 0:o.shiftKey)&&"Tab"===(null==(r=S.current)?void 0:r.key)),t=n[0],i=n[n.length-1];"string"!==typeof t&&"string"!==typeof i&&(e?i.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[n,l,c,p,m,u]);const w=e=>{null===b.current&&(b.current=e.relatedTarget),g.current=!0};return(0,a.jsxs)(o.Fragment,{children:[(0,a.jsx)("div",{tabIndex:m?0:-1,onFocus:w,ref:h,"data-testid":"sentinelStart"}),o.cloneElement(t,{ref:x,onFocus:e=>{null===b.current&&(b.current=e.relatedTarget),g.current=!0,A.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,a.jsx)("div",{tabIndex:m?0:-1,onFocus:w,ref:v,"data-testid":"sentinelEnd"})]})}},5187:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(9950),r=n(7119),i=n(4093),a=n(4131),l=n(5679),s=n(4414);const d=o.forwardRef((function(e,t){const{children:n,container:d,disablePortal:c=!1}=e,[u,p]=o.useState(null),m=(0,i.A)(o.isValidElement(n)?n.ref:null,t);if((0,a.A)((()=>{c||p(function(e){return"function"===typeof e?e():e}(d)||document.body)}),[d,c]),(0,a.A)((()=>{if(u&&!c)return(0,l.A)(t,u),()=>{(0,l.A)(t,null)}}),[t,u,c]),c){if(o.isValidElement(n)){const e={ref:m};return o.cloneElement(n,e)}return(0,s.jsx)(o.Fragment,{children:n})}return(0,s.jsx)(o.Fragment,{children:u?r.createPortal(n,u):u})}))},7176:(e,t,n)=>{function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"===typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}n.d(t,{h:()=>o})},4445:(e,t,n)=>{function o(e){return"string"===typeof e}n.d(t,{g:()=>o})},1163:(e,t,n)=>{function o(e,t,n){return"function"===typeof e?e(t,n):e}n.d(t,{Y:()=>o})},525:(e,t,n)=>{n.d(t,{Q:()=>p});var o=n(8168),r=n(8587),i=n(4093),a=n(4445);var l=n(2004),s=n(7176);function d(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"===typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}var c=n(1163);const u=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function p(e){var t;const{elementType:n,externalSlotProps:p,ownerState:m,skipResolvingSlotProps:f=!1}=e,h=(0,r.A)(e,u),v=f?{}:(0,c.Y)(p,m),{props:b,internalRef:A}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:a}=e;if(!t){const e=(0,l.A)(null==n?void 0:n.className,a,null==i?void 0:i.className,null==r?void 0:r.className),t=(0,o.A)({},null==n?void 0:n.style,null==i?void 0:i.style,null==r?void 0:r.style),s=(0,o.A)({},n,i,r);return e.length>0&&(s.className=e),Object.keys(t).length>0&&(s.style=t),{props:s,internalRef:void 0}}const c=(0,s.h)((0,o.A)({},i,r)),u=d(r),p=d(i),m=t(c),f=(0,l.A)(null==m?void 0:m.className,null==n?void 0:n.className,a,null==i?void 0:i.className,null==r?void 0:r.className),h=(0,o.A)({},null==m?void 0:m.style,null==n?void 0:n.style,null==i?void 0:i.style,null==r?void 0:r.style),v=(0,o.A)({},m,n,p,u);return f.length>0&&(v.className=f),Object.keys(h).length>0&&(v.style=h),{props:v,internalRef:m.ref}}((0,o.A)({},h,{externalSlotProps:v})),g=(0,i.A)(A,null==v?void 0:v.ref,null==(t=e.additionalProps)?void 0:t.ref),y=function(e,t,n){return void 0===e||(0,a.g)(e)?t:(0,o.A)({},t,{ownerState:(0,o.A)({},t.ownerState,n)})}(n,(0,o.A)({},b,{ref:g}),m);return y}},5158:(e,t,n)=>{n.d(t,{A:()=>b});var o=n(8587),r=n(8168),i=n(9950),a=n(2004),l=n(4061),s=n(9254),d=n(9859),c=n(7191),u=n(3244),p=n(8483);function m(e){return(0,p.Ay)("MuiBackdrop",e)}(0,u.A)("MuiBackdrop",["root","invisible"]);var f=n(4414);const h=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],v=(0,s.Ay)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((e=>{let{ownerState:t}=e;return(0,r.A)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},t.invisible&&{backgroundColor:"transparent"})})),b=i.forwardRef((function(e,t){var n,i,s;const u=(0,d.A)({props:e,name:"MuiBackdrop"}),{children:p,className:b,component:A="div",components:g={},componentsProps:y={},invisible:x=!1,open:S,slotProps:w={},slots:E={},TransitionComponent:R=c.A,transitionDuration:C}=u,k=(0,o.A)(u,h),P=(0,r.A)({},u,{component:A,invisible:x}),M=(e=>{const{classes:t,invisible:n}=e,o={root:["root",n&&"invisible"]};return(0,l.A)(o,m,t)})(P),T=null!=(n=w.root)?n:y.root;return(0,f.jsx)(R,(0,r.A)({in:S,timeout:C},k,{children:(0,f.jsx)(v,(0,r.A)({"aria-hidden":!0},T,{as:null!=(i=null!=(s=E.root)?s:g.Root)?i:A,className:(0,a.A)(M.root,b,null==T?void 0:T.className),ownerState:(0,r.A)({},P,null==T?void 0:T.ownerState),classes:M,ref:t,children:p}))}))}))},7191:(e,t,n)=>{n.d(t,{A:()=>m});var o=n(8168),r=n(8587),i=n(9950),a=n(7279),l=n(4857),s=n(576),d=n(1506),c=n(4414);const u=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],p={entering:{opacity:1},entered:{opacity:1}},m=i.forwardRef((function(e,t){const n=(0,l.A)(),m={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:f,appear:h=!0,children:v,easing:b,in:A,onEnter:g,onEntered:y,onEntering:x,onExit:S,onExited:w,onExiting:E,style:R,timeout:C=m,TransitionComponent:k=a.Ay}=e,P=(0,r.A)(e,u),M=i.useRef(null),T=(0,d.A)(M,v.ref,t),I=e=>t=>{if(e){const n=M.current;void 0===t?e(n):e(n,t)}},N=I(x),F=I(((e,t)=>{(0,s.q)(e);const o=(0,s.c)({style:R,timeout:C,easing:b},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",o),e.style.transition=n.transitions.create("opacity",o),g&&g(e,t)})),O=I(y),L=I(E),z=I((e=>{const t=(0,s.c)({style:R,timeout:C,easing:b},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),S&&S(e)})),j=I(w);return(0,c.jsx)(k,(0,o.A)({appear:h,in:A,nodeRef:M,onEnter:F,onEntered:O,onEntering:N,onExit:z,onExited:j,onExiting:L,addEndListener:e=>{f&&f(M.current,e)},timeout:C},P,{children:(e,t)=>i.cloneElement(v,(0,o.A)({style:(0,o.A)({opacity:0,visibility:"exited"!==e||A?void 0:"hidden"},p[e],R,v.props.style),ref:T},t))}))}))},8089:(e,t,n)=>{n.d(t,{A:()=>x});var o=n(8587),r=n(8168),i=n(9950),a=n(6455),l=n(4061),s=n(4260),d=n(9254),c=n(9859),u=n(3244),p=n(8483),m=n(3589);function f(e){return(0,p.Ay)("MuiFilledInput",e)}const h=(0,r.A)({},m.A,(0,u.A)("MuiFilledInput",["root","underline","input"]));var v=n(4414);const b=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],A=(0,d.Ay)(s.Sh,{shouldForwardProp:e=>(0,d.ep)(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...(0,s.WC)(e,t),!n.disableUnderline&&t.underline]}})((e=>{let{theme:t,ownerState:n}=e;var o;const i="light"===t.palette.mode,a=i?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",l=i?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=i?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",d=i?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,r.A)({position:"relative",backgroundColor:t.vars?t.vars.palette.FilledInput.bg:l,borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:t.vars?t.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:l}},["&.".concat(h.focused)]:{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:l},["&.".concat(h.disabled)]:{backgroundColor:t.vars?t.vars.palette.FilledInput.disabledBg:d}},!n.disableUnderline&&{"&::after":{borderBottom:"2px solid ".concat(null==(o=(t.vars||t).palette[n.color||"primary"])?void 0:o.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},["&.".concat(h.focused,":after")]:{transform:"scaleX(1) translateX(0)"},["&.".concat(h.error)]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:"1px solid ".concat(t.vars?"rgba(".concat(t.vars.palette.common.onBackgroundChannel," / ").concat(t.vars.opacity.inputUnderline,")"):a),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},["&:hover:not(.".concat(h.disabled,", .").concat(h.error,"):before")]:{borderBottom:"1px solid ".concat((t.vars||t).palette.text.primary)},["&.".concat(h.disabled,":before")]:{borderBottomStyle:"dotted"}},n.startAdornment&&{paddingLeft:12},n.endAdornment&&{paddingRight:12},n.multiline&&(0,r.A)({padding:"25px 12px 8px"},"small"===n.size&&{paddingTop:21,paddingBottom:4},n.hiddenLabel&&{paddingTop:16,paddingBottom:17},n.hiddenLabel&&"small"===n.size&&{paddingTop:8,paddingBottom:9}))})),g=(0,d.Ay)(s.f3,{name:"MuiFilledInput",slot:"Input",overridesResolver:s.Oj})((e=>{let{theme:t,ownerState:n}=e;return(0,r.A)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===n.size&&{paddingTop:21,paddingBottom:4},n.hiddenLabel&&{paddingTop:16,paddingBottom:17},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0},n.hiddenLabel&&"small"===n.size&&{paddingTop:8,paddingBottom:9},n.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})})),y=i.forwardRef((function(e,t){var n,i,d,u;const p=(0,c.A)({props:e,name:"MuiFilledInput"}),{components:m={},componentsProps:h,fullWidth:y=!1,inputComponent:x="input",multiline:S=!1,slotProps:w,slots:E={},type:R="text"}=p,C=(0,o.A)(p,b),k=(0,r.A)({},p,{fullWidth:y,inputComponent:x,multiline:S,type:R}),P=(e=>{const{classes:t,disableUnderline:n}=e,o={root:["root",!n&&"underline"],input:["input"]},i=(0,l.A)(o,f,t);return(0,r.A)({},t,i)})(p),M={root:{ownerState:k},input:{ownerState:k}},T=(null!=w?w:h)?(0,a.A)(M,null!=w?w:h):M,I=null!=(n=null!=(i=E.root)?i:m.Root)?n:A,N=null!=(d=null!=(u=E.input)?u:m.Input)?d:g;return(0,v.jsx)(s.Ay,(0,r.A)({slots:{root:I,input:N},componentsProps:T,fullWidth:y,inputComponent:x,multiline:S,ref:t,type:R},C,{classes:P}))}));y.muiName="Input";const x=y},5979:(e,t,n)=>{n.d(t,{A:()=>y});var o=n(8587),r=n(8168),i=n(9950),a=n(2004),l=n(4061),s=n(9859),d=n(9254),c=n(3317),u=n(1676),p=n(96),m=n(5866),f=n(3244),h=n(8483);function v(e){return(0,h.Ay)("MuiFormControl",e)}(0,f.A)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var b=n(4414);const A=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],g=(0,d.Ay)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return(0,r.A)({},t.root,t["margin".concat((0,u.A)(n.margin))],n.fullWidth&&t.fullWidth)}})((e=>{let{ownerState:t}=e;return(0,r.A)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===t.margin&&{marginTop:16,marginBottom:8},"dense"===t.margin&&{marginTop:8,marginBottom:4},t.fullWidth&&{width:"100%"})})),y=i.forwardRef((function(e,t){const n=(0,s.A)({props:e,name:"MuiFormControl"}),{children:d,className:f,color:h="primary",component:y="div",disabled:x=!1,error:S=!1,focused:w,fullWidth:E=!1,hiddenLabel:R=!1,margin:C="none",required:k=!1,size:P="medium",variant:M="outlined"}=n,T=(0,o.A)(n,A),I=(0,r.A)({},n,{color:h,component:y,disabled:x,error:S,fullWidth:E,hiddenLabel:R,margin:C,required:k,size:P,variant:M}),N=(e=>{const{classes:t,margin:n,fullWidth:o}=e,r={root:["root","none"!==n&&"margin".concat((0,u.A)(n)),o&&"fullWidth"]};return(0,l.A)(r,v,t)})(I),[F,O]=i.useState((()=>{let e=!1;return d&&i.Children.forEach(d,(t=>{if(!(0,p.A)(t,["Input","Select"]))return;const n=(0,p.A)(t,["Select"])?t.props.input:t;n&&(0,c.gr)(n.props)&&(e=!0)})),e})),[L,z]=i.useState((()=>{let e=!1;return d&&i.Children.forEach(d,(t=>{(0,p.A)(t,["Input","Select"])&&((0,c.lq)(t.props,!0)||(0,c.lq)(t.props.inputProps,!0))&&(e=!0)})),e})),[j,W]=i.useState(!1);x&&j&&W(!1);const B=void 0===w||x?j:w;let D;const q=i.useMemo((()=>({adornedStart:F,setAdornedStart:O,color:h,disabled:x,error:S,filled:L,focused:B,fullWidth:E,hiddenLabel:R,size:P,onBlur:()=>{W(!1)},onEmpty:()=>{z(!1)},onFilled:()=>{z(!0)},onFocus:()=>{W(!0)},registerEffect:D,required:k,variant:M})),[F,h,x,S,L,B,E,R,D,k,P,M]);return(0,b.jsx)(m.A.Provider,{value:q,children:(0,b.jsx)(g,(0,r.A)({as:y,ownerState:I,className:(0,a.A)(N.root,f),ref:t},T,{children:d}))})}))},5866:(e,t,n)=>{n.d(t,{A:()=>o});const o=n(9950).createContext(void 0)},8624:(e,t,n)=>{function o(e){let{props:t,states:n,muiFormControl:o}=e;return n.reduce(((e,n)=>(e[n]=t[n],o&&"undefined"===typeof t[n]&&(e[n]=o[n]),e)),{})}n.d(t,{A:()=>o})},9766:(e,t,n)=>{n.d(t,{A:()=>i});var o=n(9950),r=n(5866);function i(){return o.useContext(r.A)}},165:(e,t,n)=>{n.d(t,{A:()=>b});var o=n(8168),r=n(8587),i=n(9950),a=n(4522),l=n(7279),s=n(4857),d=n(576),c=n(1506),u=n(4414);const p=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function m(e){return"scale(".concat(e,", ").concat(e**2,")")}const f={entering:{opacity:1,transform:m(1)},entered:{opacity:1,transform:"none"}},h="undefined"!==typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),v=i.forwardRef((function(e,t){const{addEndListener:n,appear:v=!0,children:b,easing:A,in:g,onEnter:y,onEntered:x,onEntering:S,onExit:w,onExited:E,onExiting:R,style:C,timeout:k="auto",TransitionComponent:P=l.Ay}=e,M=(0,r.A)(e,p),T=(0,a.A)(),I=i.useRef(),N=(0,s.A)(),F=i.useRef(null),O=(0,c.A)(F,b.ref,t),L=e=>t=>{if(e){const n=F.current;void 0===t?e(n):e(n,t)}},z=L(S),j=L(((e,t)=>{(0,d.q)(e);const{duration:n,delay:o,easing:r}=(0,d.c)({style:C,timeout:k,easing:A},{mode:"enter"});let i;"auto"===k?(i=N.transitions.getAutoHeightDuration(e.clientHeight),I.current=i):i=n,e.style.transition=[N.transitions.create("opacity",{duration:i,delay:o}),N.transitions.create("transform",{duration:h?i:.666*i,delay:o,easing:r})].join(","),y&&y(e,t)})),W=L(x),B=L(R),D=L((e=>{const{duration:t,delay:n,easing:o}=(0,d.c)({style:C,timeout:k,easing:A},{mode:"exit"});let r;"auto"===k?(r=N.transitions.getAutoHeightDuration(e.clientHeight),I.current=r):r=t,e.style.transition=[N.transitions.create("opacity",{duration:r,delay:n}),N.transitions.create("transform",{duration:h?r:.666*r,delay:h?n:n||.333*r,easing:o})].join(","),e.style.opacity=0,e.style.transform=m(.75),w&&w(e)})),q=L(E);return(0,u.jsx)(P,(0,o.A)({appear:v,in:g,nodeRef:F,onEnter:j,onEntered:W,onEntering:z,onExit:D,onExited:q,onExiting:B,addEndListener:e=>{"auto"===k&&T.start(I.current||0,e),n&&n(F.current,e)},timeout:"auto"===k?null:k},M,{children:(e,t)=>i.cloneElement(b,(0,o.A)({style:(0,o.A)({opacity:0,transform:m(.75),visibility:"exited"!==e||g?void 0:"hidden"},f[e],C,b.props.style),ref:O},t))}))}));v.muiSupportAuto=!0;const b=v},9890:(e,t,n)=>{n.d(t,{A:()=>x});var o=n(8587),r=n(8168),i=n(9950),a=n(4061),l=n(6455),s=n(4260),d=n(9254),c=n(9859),u=n(3244),p=n(8483),m=n(3589);function f(e){return(0,p.Ay)("MuiInput",e)}const h=(0,r.A)({},m.A,(0,u.A)("MuiInput",["root","underline","input"]));var v=n(4414);const b=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],A=(0,d.Ay)(s.Sh,{shouldForwardProp:e=>(0,d.ep)(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...(0,s.WC)(e,t),!n.disableUnderline&&t.underline]}})((e=>{let{theme:t,ownerState:n}=e;let o="light"===t.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return t.vars&&(o="rgba(".concat(t.vars.palette.common.onBackgroundChannel," / ").concat(t.vars.opacity.inputUnderline,")")),(0,r.A)({position:"relative"},n.formControl&&{"label + &":{marginTop:16}},!n.disableUnderline&&{"&::after":{borderBottom:"2px solid ".concat((t.vars||t).palette[n.color].main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},["&.".concat(h.focused,":after")]:{transform:"scaleX(1) translateX(0)"},["&.".concat(h.error)]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:"1px solid ".concat(o),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},["&:hover:not(.".concat(h.disabled,", .").concat(h.error,"):before")]:{borderBottom:"2px solid ".concat((t.vars||t).palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(o)}},["&.".concat(h.disabled,":before")]:{borderBottomStyle:"dotted"}})})),g=(0,d.Ay)(s.f3,{name:"MuiInput",slot:"Input",overridesResolver:s.Oj})({}),y=i.forwardRef((function(e,t){var n,i,d,u;const p=(0,c.A)({props:e,name:"MuiInput"}),{disableUnderline:m,components:h={},componentsProps:y,fullWidth:x=!1,inputComponent:S="input",multiline:w=!1,slotProps:E,slots:R={},type:C="text"}=p,k=(0,o.A)(p,b),P=(e=>{const{classes:t,disableUnderline:n}=e,o={root:["root",!n&&"underline"],input:["input"]},i=(0,a.A)(o,f,t);return(0,r.A)({},t,i)})(p),M={root:{ownerState:{disableUnderline:m}}},T=(null!=E?E:y)?(0,l.A)(null!=E?E:y,M):M,I=null!=(n=null!=(i=R.root)?i:h.Root)?n:A,N=null!=(d=null!=(u=R.input)?u:h.Input)?d:g;return(0,v.jsx)(s.Ay,(0,r.A)({slots:{root:I,input:N},slotProps:T,fullWidth:x,inputComponent:S,multiline:w,ref:t,type:C},k,{classes:P}))}));y.muiName="Input";const x=y},4260:(e,t,n)=>{n.d(t,{f3:()=>B,Sh:()=>W,Ay:()=>q,Oj:()=>j,WC:()=>z});var o=n(8587),r=n(8168),i=n(3999),a=n(9950),l=n(2004),s=n(4093),d=n(8727),c=n(4131),u=n(2243),p=n(4414);const m=["onChange","maxRows","minRows","style","value"];function f(e){return parseInt(e,10)||0}const h={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};const v=a.forwardRef((function(e,t){const{onChange:n,maxRows:i,minRows:l=1,style:v,value:b}=e,A=(0,o.A)(e,m),{current:g}=a.useRef(null!=b),y=a.useRef(null),x=(0,s.A)(t,y),S=a.useRef(null),w=a.useCallback((()=>{const t=y.current,n=(0,d.A)(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0,overflowing:!1};const o=S.current;o.style.width=n.width,o.value=t.value||e.placeholder||"x","\n"===o.value.slice(-1)&&(o.value+=" ");const r=n.boxSizing,a=f(n.paddingBottom)+f(n.paddingTop),s=f(n.borderBottomWidth)+f(n.borderTopWidth),c=o.scrollHeight;o.value="x";const u=o.scrollHeight;let p=c;l&&(p=Math.max(Number(l)*u,p)),i&&(p=Math.min(Number(i)*u,p)),p=Math.max(p,u);return{outerHeightStyle:p+("border-box"===r?a+s:0),overflowing:Math.abs(p-c)<=1}}),[i,l,e.placeholder]),E=a.useCallback((()=>{const e=w();if(void 0===(t=e)||null===t||0===Object.keys(t).length||0===t.outerHeightStyle&&!t.overflowing)return;var t;const n=y.current;n.style.height="".concat(e.outerHeightStyle,"px"),n.style.overflow=e.overflowing?"hidden":""}),[w]);(0,c.A)((()=>{const e=()=>{E()};let t;const n=(0,u.A)(e),o=y.current,r=(0,d.A)(o);let i;return r.addEventListener("resize",n),"undefined"!==typeof ResizeObserver&&(i=new ResizeObserver(e),i.observe(o)),()=>{n.clear(),cancelAnimationFrame(t),r.removeEventListener("resize",n),i&&i.disconnect()}}),[w,E]),(0,c.A)((()=>{E()}));return(0,p.jsxs)(a.Fragment,{children:[(0,p.jsx)("textarea",(0,r.A)({value:b,onChange:e=>{g||E(),n&&n(e)},ref:x,rows:l},A)),(0,p.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:S,tabIndex:-1,style:(0,r.A)({},h,v,{paddingTop:0,paddingBottom:0})})]})}));var b=n(4445),A=n(4061),g=n(8624),y=n(5866),x=n(9766),S=n(9254),w=n(9859),E=n(1676),R=n(1506),C=n(9044),k=n(3158),P=n(7148);const M=function(e){let{styles:t,themeId:n,defaultTheme:o={}}=e;const r=(0,P.A)(o),i="function"===typeof t?t(n&&r[n]||r):t;return(0,p.jsx)(k.A,{styles:i})};var T=n(195),I=n(7550);const N=function(e){return(0,p.jsx)(M,(0,r.A)({},e,{defaultTheme:T.A,themeId:I.A}))};var F=n(3317),O=n(3589);const L=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],z=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t["color".concat((0,E.A)(n.color))],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},j=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},W=(0,S.Ay)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:z})((e=>{let{theme:t,ownerState:n}=e;return(0,r.A)({},t.typography.body1,{color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",["&.".concat(O.A.disabled)]:{color:(t.vars||t).palette.text.disabled,cursor:"default"}},n.multiline&&(0,r.A)({padding:"4px 0 5px"},"small"===n.size&&{paddingTop:1}),n.fullWidth&&{width:"100%"})})),B=(0,S.Ay)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:j})((e=>{let{theme:t,ownerState:n}=e;const o="light"===t.palette.mode,i=(0,r.A)({color:"currentColor"},t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:o?.42:.5},{transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})}),a={opacity:"0 !important"},l=t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:o?.42:.5};return(0,r.A)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},["label[data-shrink=false] + .".concat(O.A.formControl," &")]:{"&::-webkit-input-placeholder":a,"&::-moz-placeholder":a,"&:-ms-input-placeholder":a,"&::-ms-input-placeholder":a,"&:focus::-webkit-input-placeholder":l,"&:focus::-moz-placeholder":l,"&:focus:-ms-input-placeholder":l,"&:focus::-ms-input-placeholder":l},["&.".concat(O.A.disabled)]:{opacity:1,WebkitTextFillColor:(t.vars||t).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===n.size&&{paddingTop:1},n.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===n.type&&{MozAppearance:"textfield"})})),D=(0,p.jsx)(N,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),q=a.forwardRef((function(e,t){var n;const s=(0,w.A)({props:e,name:"MuiInputBase"}),{"aria-describedby":d,autoComplete:c,autoFocus:u,className:m,components:f={},componentsProps:h={},defaultValue:S,disabled:k,disableInjectingGlobalStyles:P,endAdornment:M,fullWidth:T=!1,id:I,inputComponent:N="input",inputProps:z={},inputRef:j,maxRows:q,minRows:H,multiline:U=!1,name:K,onBlur:V,onChange:X,onClick:_,onFocus:Q,onKeyDown:Y,onKeyUp:G,placeholder:Z,readOnly:$,renderSuffix:J,rows:ee,slotProps:te={},slots:ne={},startAdornment:oe,type:re="text",value:ie}=s,ae=(0,o.A)(s,L),le=null!=z.value?z.value:ie,{current:se}=a.useRef(null!=le),de=a.useRef(),ce=a.useCallback((e=>{0}),[]),ue=(0,R.A)(de,j,z.ref,ce),[pe,me]=a.useState(!1),fe=(0,x.A)();const he=(0,g.A)({props:s,muiFormControl:fe,states:["color","disabled","error","hiddenLabel","size","required","filled"]});he.focused=fe?fe.focused:pe,a.useEffect((()=>{!fe&&k&&pe&&(me(!1),V&&V())}),[fe,k,pe,V]);const ve=fe&&fe.onFilled,be=fe&&fe.onEmpty,Ae=a.useCallback((e=>{(0,F.lq)(e)?ve&&ve():be&&be()}),[ve,be]);(0,C.A)((()=>{se&&Ae({value:le})}),[le,Ae,se]);a.useEffect((()=>{Ae(de.current)}),[]);let ge=N,ye=z;U&&"input"===ge&&(ye=ee?(0,r.A)({type:void 0,minRows:ee,maxRows:ee},ye):(0,r.A)({type:void 0,maxRows:q,minRows:H},ye),ge=v);a.useEffect((()=>{fe&&fe.setAdornedStart(Boolean(oe))}),[fe,oe]);const xe=(0,r.A)({},s,{color:he.color||"primary",disabled:he.disabled,endAdornment:M,error:he.error,focused:he.focused,formControl:fe,fullWidth:T,hiddenLabel:he.hiddenLabel,multiline:U,size:he.size,startAdornment:oe,type:re}),Se=(e=>{const{classes:t,color:n,disabled:o,error:r,endAdornment:i,focused:a,formControl:l,fullWidth:s,hiddenLabel:d,multiline:c,readOnly:u,size:p,startAdornment:m,type:f}=e,h={root:["root","color".concat((0,E.A)(n)),o&&"disabled",r&&"error",s&&"fullWidth",a&&"focused",l&&"formControl",p&&"medium"!==p&&"size".concat((0,E.A)(p)),c&&"multiline",m&&"adornedStart",i&&"adornedEnd",d&&"hiddenLabel",u&&"readOnly"],input:["input",o&&"disabled","search"===f&&"inputTypeSearch",c&&"inputMultiline","small"===p&&"inputSizeSmall",d&&"inputHiddenLabel",m&&"inputAdornedStart",i&&"inputAdornedEnd",u&&"readOnly"]};return(0,A.A)(h,O.g,t)})(xe),we=ne.root||f.Root||W,Ee=te.root||h.root||{},Re=ne.input||f.Input||B;return ye=(0,r.A)({},ye,null!=(n=te.input)?n:h.input),(0,p.jsxs)(a.Fragment,{children:[!P&&D,(0,p.jsxs)(we,(0,r.A)({},Ee,!(0,b.g)(we)&&{ownerState:(0,r.A)({},xe,Ee.ownerState)},{ref:t,onClick:e=>{de.current&&e.currentTarget===e.target&&de.current.focus(),_&&_(e)}},ae,{className:(0,l.A)(Se.root,Ee.className,m,$&&"MuiInputBase-readOnly"),children:[oe,(0,p.jsx)(y.A.Provider,{value:null,children:(0,p.jsx)(Re,(0,r.A)({ownerState:xe,"aria-invalid":he.error,"aria-describedby":d,autoComplete:c,autoFocus:u,defaultValue:S,disabled:he.disabled,id:I,onAnimationStart:e=>{Ae("mui-auto-fill-cancel"===e.animationName?de.current:{value:"x"})},name:K,placeholder:Z,readOnly:$,required:he.required,rows:ee,value:le,onKeyDown:Y,onKeyUp:G,type:re},ye,!(0,b.g)(Re)&&{as:ge,ownerState:(0,r.A)({},xe,ye.ownerState)},{ref:ue,className:(0,l.A)(Se.input,ye.className,$&&"MuiInputBase-readOnly"),onBlur:e=>{V&&V(e),z.onBlur&&z.onBlur(e),fe&&fe.onBlur?fe.onBlur(e):me(!1)},onChange:function(e){if(!se){const t=e.target||de.current;if(null==t)throw new Error((0,i.A)(1));Ae({value:t.value})}for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o{he.disabled?e.stopPropagation():(Q&&Q(e),z.onFocus&&z.onFocus(e),fe&&fe.onFocus?fe.onFocus(e):me(!0))}}))}),M,J?J((0,r.A)({},he,{startAdornment:oe})):null]}))]})}))},3589:(e,t,n)=>{n.d(t,{A:()=>a,g:()=>i});var o=n(3244),r=n(8483);function i(e){return(0,r.Ay)("MuiInputBase",e)}const a=(0,o.A)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"])},3317:(e,t,n)=>{function o(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function r(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(o(e.value)&&""!==e.value||t&&o(e.defaultValue)&&""!==e.defaultValue)}function i(e){return e.startAdornment}n.d(t,{gr:()=>i,lq:()=>r})},3788:(e,t,n)=>{n.d(t,{A:()=>R});var o=n(8587),r=n(8168),i=n(9950),a=n(4061),l=n(2004),s=n(8624),d=n(9766),c=n(1676),u=n(9859),p=n(9254),m=n(3244),f=n(8483);function h(e){return(0,f.Ay)("MuiFormLabel",e)}const v=(0,m.A)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);var b=n(4414);const A=["children","className","color","component","disabled","error","filled","focused","required"],g=(0,p.Ay)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return(0,r.A)({},t.root,"secondary"===n.color&&t.colorSecondary,n.filled&&t.filled)}})((e=>{let{theme:t,ownerState:n}=e;return(0,r.A)({color:(t.vars||t).palette.text.secondary},t.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",["&.".concat(v.focused)]:{color:(t.vars||t).palette[n.color].main},["&.".concat(v.disabled)]:{color:(t.vars||t).palette.text.disabled},["&.".concat(v.error)]:{color:(t.vars||t).palette.error.main}})})),y=(0,p.Ay)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((e=>{let{theme:t}=e;return{["&.".concat(v.error)]:{color:(t.vars||t).palette.error.main}}})),x=i.forwardRef((function(e,t){const n=(0,u.A)({props:e,name:"MuiFormLabel"}),{children:i,className:p,component:m="label"}=n,f=(0,o.A)(n,A),v=(0,d.A)(),x=(0,s.A)({props:n,muiFormControl:v,states:["color","required","focused","disabled","error","filled"]}),S=(0,r.A)({},n,{color:x.color||"primary",component:m,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required}),w=(e=>{const{classes:t,color:n,focused:o,disabled:r,error:i,filled:l,required:s}=e,d={root:["root","color".concat((0,c.A)(n)),r&&"disabled",i&&"error",l&&"filled",o&&"focused",s&&"required"],asterisk:["asterisk",i&&"error"]};return(0,a.A)(d,h,t)})(S);return(0,b.jsxs)(g,(0,r.A)({as:m,ownerState:S,className:(0,l.A)(w.root,p),ref:t},f,{children:[i,x.required&&(0,b.jsxs)(y,{ownerState:S,"aria-hidden":!0,className:w.asterisk,children:["\u2009","*"]})]}))}));function S(e){return(0,f.Ay)("MuiInputLabel",e)}(0,m.A)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const w=["disableAnimation","margin","shrink","variant","className"],E=(0,p.Ay)(x,{shouldForwardProp:e=>(0,p.ep)(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{["& .".concat(v.asterisk)]:t.asterisk},t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})((e=>{let{theme:t,ownerState:n}=e;return(0,r.A)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},n.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===n.size&&{transform:"translate(0, 17px) scale(1)"},n.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!n.disableAnimation&&{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},"filled"===n.variant&&(0,r.A)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(12px, 13px) scale(1)"},n.shrink&&(0,r.A)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===n.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===n.variant&&(0,r.A)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(14px, 9px) scale(1)"},n.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))})),R=i.forwardRef((function(e,t){const n=(0,u.A)({name:"MuiInputLabel",props:e}),{disableAnimation:i=!1,shrink:p,className:m}=n,f=(0,o.A)(n,w),h=(0,d.A)();let v=p;"undefined"===typeof v&&h&&(v=h.filled||h.focused||h.adornedStart);const A=(0,s.A)({props:n,muiFormControl:h,states:["size","variant","required","focused"]}),g=(0,r.A)({},n,{disableAnimation:i,formControl:h,shrink:v,size:A.size,variant:A.variant,required:A.required,focused:A.focused}),y=(e=>{const{classes:t,formControl:n,size:o,shrink:i,disableAnimation:l,variant:s,required:d}=e,u={root:["root",n&&"formControl",!l&&"animated",i&&"shrink",o&&"normal"!==o&&"size".concat((0,c.A)(o)),s],asterisk:[d&&"asterisk"]},p=(0,a.A)(u,S,t);return(0,r.A)({},t,p)})(g);return(0,b.jsx)(E,(0,r.A)({"data-shrink":v,ownerState:g,ref:t,className:(0,l.A)(y.root,m)},f,{classes:y}))}))},249:(e,t,n)=>{n.d(t,{A:()=>b});var o=n(8587),r=n(8168),i=n(9950),a=n(2004),l=n(4061),s=n(9254),d=n(9859),c=n(3372),u=n(3244),p=n(8483);function m(e){return(0,p.Ay)("MuiList",e)}(0,u.A)("MuiList",["root","padding","dense","subheader"]);var f=n(4414);const h=["children","className","component","dense","disablePadding","subheader"],v=(0,s.Ay)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((e=>{let{ownerState:t}=e;return(0,r.A)({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})})),b=i.forwardRef((function(e,t){const n=(0,d.A)({props:e,name:"MuiList"}),{children:s,className:u,component:p="ul",dense:b=!1,disablePadding:A=!1,subheader:g}=n,y=(0,o.A)(n,h),x=i.useMemo((()=>({dense:b})),[b]),S=(0,r.A)({},n,{component:p,dense:b,disablePadding:A}),w=(e=>{const{classes:t,disablePadding:n,dense:o,subheader:r}=e,i={root:["root",!n&&"padding",o&&"dense",r&&"subheader"]};return(0,l.A)(i,m,t)})(S);return(0,f.jsx)(c.A.Provider,{value:x,children:(0,f.jsxs)(v,(0,r.A)({as:p,className:(0,a.A)(w.root,u),ref:t,ownerState:S},y,{children:[g,s]}))})}))},3372:(e,t,n)=>{n.d(t,{A:()=>o});const o=n(9950).createContext({})},9380:(e,t,n)=>{n.d(t,{A:()=>b});var o=n(8168),r=n(8587),i=n(9950),a=(n(5772),n(7402)),l=n(249);const s=n(9847).A;var d=n(1506),c=n(9044),u=n(4414);const p=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function m(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function f(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function h(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function v(e,t,n,o,r,i){let a=!1,l=r(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const t=!o&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&h(l,i)&&!t)return l.focus(),!0;l=r(e,l,n)}return!1}const b=i.forwardRef((function(e,t){const{actions:n,autoFocus:b=!1,autoFocusItem:A=!1,children:g,className:y,disabledItemsFocusable:x=!1,disableListWrap:S=!1,onKeyDown:w,variant:E="selectedMenu"}=e,R=(0,r.A)(e,p),C=i.useRef(null),k=i.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,c.A)((()=>{b&&C.current.focus()}),[b]),i.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!C.current.style.width;if(e.clientHeight{i.isValidElement(e)?(e.props.disabled||("selectedMenu"===E&&e.props.selected||-1===M)&&(M=t),M===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(M+=1,M>=g.length&&(M=-1))):M===t&&(M+=1,M>=g.length&&(M=-1))}));const T=i.Children.map(g,((e,t)=>{if(t===M){const t={};return A&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===E&&(t.tabIndex=0),i.cloneElement(e,t)}return e}));return(0,u.jsx)(l.A,(0,o.A)({role:"menu",ref:P,className:y,onKeyDown:e=>{const t=C.current,n=e.key,o=(0,a.A)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),v(t,o,S,x,m);else if("ArrowUp"===n)e.preventDefault(),v(t,o,S,x,f);else if("Home"===n)e.preventDefault(),v(t,null,S,x,m);else if("End"===n)e.preventDefault(),v(t,null,S,x,f);else if(1===n.length){const r=k.current,i=n.toLowerCase(),a=performance.now();r.keys.length>0&&(a-r.lastTime>500?(r.keys=[],r.repeating=!0,r.previousKeyMatched=!0):r.repeating&&i!==r.keys[0]&&(r.repeating=!1)),r.lastTime=a,r.keys.push(i);const l=o&&!r.repeating&&h(o,r);r.previousKeyMatched&&(l||v(t,o,!1,x,m,r))?e.preventDefault():r.previousKeyMatched=!1}w&&w(e)},tabIndex:b?0:-1},R,{children:T}))}))},4021:(e,t,n)=>{n.d(t,{A:()=>L});var o=n(8587),r=n(8168),i=n(9950),a=n(2004),l=n(525),s=n(4093),d=n(3511),c=n(2877);function u(){for(var e=arguments.length,t=new Array(e),n=0;nnull==t?e:function(){for(var n=arguments.length,o=new Array(n),r=0;r{}))}var p=n(7176),m=n(8727),f=n(9847);function h(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function v(e){return parseInt((0,m.A)(e).getComputedStyle(e).paddingRight,10)||0}function b(e,t,n,o,r){const i=[t,n,...o];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&h(e,r)}))}function A(e,t){let n=-1;return e.some(((e,o)=>!!t(e)&&(n=o,!0))),n}function g(e,t){const n=[],o=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,d.A)(e);return t.body===e?(0,m.A)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(o)){const e=(0,f.A)((0,d.A)(o));n.push({value:o.style.paddingRight,property:"padding-right",el:o}),o.style.paddingRight="".concat(v(o)+e,"px");const t=(0,d.A)(o).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight="".concat(v(t)+e,"px")}))}let e;if(o.parentNode instanceof DocumentFragment)e=(0,d.A)(o).body;else{const t=o.parentElement,n=(0,m.A)(o);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:o}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((e=>{let{value:t,el:n,property:o}=e;t?n.style.setProperty(o,t):n.style.removeProperty(o)}))}}const y=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&h(e.modalRef,!1);const o=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);b(t,e.mount,e.modalRef,o,!0);const r=A(this.containers,(e=>e.container===t));return-1!==r?(this.containers[r].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:o}),n)}mount(e,t){const n=A(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[n];o.restore||(o.restore=g(o,t))}remove(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=this.modals.indexOf(e);if(-1===n)return n;const o=A(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[o];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(n,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&h(e.modalRef,t),b(r.container,e.mount,e.modalRef,r.hiddenSiblings,!1),this.containers.splice(o,1);else{const e=r.modals[r.modals.length-1];e.modalRef&&h(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function x(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:o=!1,manager:a=y,closeAfterTransition:l=!1,onTransitionEnter:m,onTransitionExited:f,children:v,onClose:b,open:A,rootRef:g}=e,x=i.useRef({}),S=i.useRef(null),w=i.useRef(null),E=(0,s.A)(w,g),[R,C]=i.useState(!A),k=function(e){return!!e&&e.props.hasOwnProperty("in")}(v);let P=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(P=!1);const M=()=>(x.current.modalRef=w.current,x.current.mount=S.current,x.current),T=()=>{a.mount(M(),{disableScrollLock:o}),w.current&&(w.current.scrollTop=0)},I=(0,c.A)((()=>{const e=function(e){return"function"===typeof e?e():e}(t)||(0,d.A)(S.current).body;a.add(M(),e),w.current&&T()})),N=i.useCallback((()=>a.isTopModal(M())),[a]),F=(0,c.A)((e=>{S.current=e,e&&(A&&N()?T():w.current&&h(w.current,P))})),O=i.useCallback((()=>{a.remove(M(),P)}),[P,a]);i.useEffect((()=>()=>{O()}),[O]),i.useEffect((()=>{A?I():k&&l||O()}),[A,O,k,l,I]);const L=e=>t=>{var o;null==(o=e.onKeyDown)||o.call(e,t),"Escape"===t.key&&229!==t.which&&N()&&(n||(t.stopPropagation(),b&&b(t,"escapeKeyDown")))},z=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&b&&b(t,"backdropClick")};return{getRootProps:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=(0,p.h)(e);delete n.onTransitionEnter,delete n.onTransitionExited;const o=(0,r.A)({},n,t);return(0,r.A)({role:"presentation"},o,{onKeyDown:L(o),ref:E})},getBackdropProps:function(){const e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.A)({"aria-hidden":!0},e,{onClick:z(e),open:A})},getTransitionProps:()=>({onEnter:u((()=>{C(!1),m&&m()}),null==v?void 0:v.props.onEnter),onExited:u((()=>{C(!0),f&&f(),l&&O()}),null==v?void 0:v.props.onExited)}),rootRef:E,portalRef:F,isTopModal:N,exited:R,hasTransition:k}}var S=n(4061),w=n(6493),E=n(5187),R=n(9254),C=n(9859),k=n(5158),P=n(3244),M=n(8483);function T(e){return(0,M.Ay)("MuiModal",e)}(0,P.A)("MuiModal",["root","hidden","backdrop"]);var I=n(4414);const N=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],F=(0,R.Ay)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((e=>{let{theme:t,ownerState:n}=e;return(0,r.A)({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!n.open&&n.exited&&{visibility:"hidden"})})),O=(0,R.Ay)(k.A,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),L=i.forwardRef((function(e,t){var n,s,d,c,u,p;const m=(0,C.A)({name:"MuiModal",props:e}),{BackdropComponent:f=O,BackdropProps:h,className:v,closeAfterTransition:b=!1,children:A,container:g,component:y,components:R={},componentsProps:k={},disableAutoFocus:P=!1,disableEnforceFocus:M=!1,disableEscapeKeyDown:L=!1,disablePortal:z=!1,disableRestoreFocus:j=!1,disableScrollLock:W=!1,hideBackdrop:B=!1,keepMounted:D=!1,onBackdropClick:q,open:H,slotProps:U,slots:K}=m,V=(0,o.A)(m,N),X=(0,r.A)({},m,{closeAfterTransition:b,disableAutoFocus:P,disableEnforceFocus:M,disableEscapeKeyDown:L,disablePortal:z,disableRestoreFocus:j,disableScrollLock:W,hideBackdrop:B,keepMounted:D}),{getRootProps:_,getBackdropProps:Q,getTransitionProps:Y,portalRef:G,isTopModal:Z,exited:$,hasTransition:J}=x((0,r.A)({},X,{rootRef:t})),ee=(0,r.A)({},X,{exited:$}),te=(e=>{const{open:t,exited:n,classes:o}=e,r={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,S.A)(r,T,o)})(ee),ne={};if(void 0===A.props.tabIndex&&(ne.tabIndex="-1"),J){const{onEnter:e,onExited:t}=Y();ne.onEnter=e,ne.onExited=t}const oe=null!=(n=null!=(s=null==K?void 0:K.root)?s:R.Root)?n:F,re=null!=(d=null!=(c=null==K?void 0:K.backdrop)?c:R.Backdrop)?d:f,ie=null!=(u=null==U?void 0:U.root)?u:k.root,ae=null!=(p=null==U?void 0:U.backdrop)?p:k.backdrop,le=(0,l.Q)({elementType:oe,externalSlotProps:ie,externalForwardedProps:V,getSlotProps:_,additionalProps:{ref:t,as:y},ownerState:ee,className:(0,a.A)(v,null==ie?void 0:ie.className,null==te?void 0:te.root,!ee.open&&ee.exited&&(null==te?void 0:te.hidden))}),se=(0,l.Q)({elementType:re,externalSlotProps:ae,additionalProps:h,getSlotProps:e=>Q((0,r.A)({},e,{onClick:t=>{q&&q(t),null!=e&&e.onClick&&e.onClick(t)}})),className:(0,a.A)(null==ae?void 0:ae.className,null==h?void 0:h.className,null==te?void 0:te.backdrop),ownerState:ee});return D||H||J&&!$?(0,I.jsx)(E.Z,{ref:G,container:g,disablePortal:z,children:(0,I.jsxs)(oe,(0,r.A)({},le,{children:[!B&&f?(0,I.jsx)(re,(0,r.A)({},se)):null,(0,I.jsx)(w.s,{disableEnforceFocus:M,disableAutoFocus:P,disableRestoreFocus:j,isEnabled:Z,open:H,children:i.cloneElement(A,ne)})]}))}):null}))},3198:(e,t,n)=>{n.d(t,{A:()=>k});var o,r=n(8587),i=n(8168),a=n(9950),l=n(4061),s=n(9254),d=n(4414);const c=["children","classes","className","label","notched"],u=(0,s.Ay)("fieldset",{shouldForwardProp:s.ep})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),p=(0,s.Ay)("legend",{shouldForwardProp:s.ep})((e=>{let{ownerState:t,theme:n}=e;return(0,i.A)({float:"unset",width:"auto",overflow:"hidden"},!t.withLabel&&{padding:0,lineHeight:"11px",transition:n.transitions.create("width",{duration:150,easing:n.transitions.easing.easeOut})},t.withLabel&&(0,i.A)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:n.transitions.create("max-width",{duration:50,easing:n.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},t.notched&&{maxWidth:"100%",transition:n.transitions.create("max-width",{duration:100,easing:n.transitions.easing.easeOut,delay:50})}))}));var m=n(9766),f=n(8624),h=n(3244),v=n(8483),b=n(3589);function A(e){return(0,v.Ay)("MuiOutlinedInput",e)}const g=(0,i.A)({},b.A,(0,h.A)("MuiOutlinedInput",["root","notchedOutline","input"]));var y=n(4260),x=n(9859);const S=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],w=(0,s.Ay)(y.Sh,{shouldForwardProp:e=>(0,s.ep)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:y.WC})((e=>{let{theme:t,ownerState:n}=e;const o="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,i.A)({position:"relative",borderRadius:(t.vars||t).shape.borderRadius,["&:hover .".concat(g.notchedOutline)]:{borderColor:(t.vars||t).palette.text.primary},"@media (hover: none)":{["&:hover .".concat(g.notchedOutline)]:{borderColor:t.vars?"rgba(".concat(t.vars.palette.common.onBackgroundChannel," / 0.23)"):o}},["&.".concat(g.focused," .").concat(g.notchedOutline)]:{borderColor:(t.vars||t).palette[n.color].main,borderWidth:2},["&.".concat(g.error," .").concat(g.notchedOutline)]:{borderColor:(t.vars||t).palette.error.main},["&.".concat(g.disabled," .").concat(g.notchedOutline)]:{borderColor:(t.vars||t).palette.action.disabled}},n.startAdornment&&{paddingLeft:14},n.endAdornment&&{paddingRight:14},n.multiline&&(0,i.A)({padding:"16.5px 14px"},"small"===n.size&&{padding:"8.5px 14px"}))})),E=(0,s.Ay)((function(e){const{className:t,label:n,notched:a}=e,l=(0,r.A)(e,c),s=null!=n&&""!==n,m=(0,i.A)({},e,{notched:a,withLabel:s});return(0,d.jsx)(u,(0,i.A)({"aria-hidden":!0,className:t,ownerState:m},l,{children:(0,d.jsx)(p,{ownerState:m,children:s?(0,d.jsx)("span",{children:n}):o||(o=(0,d.jsx)("span",{className:"notranslate",children:"\u200b"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((e=>{let{theme:t}=e;const n="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?"rgba(".concat(t.vars.palette.common.onBackgroundChannel," / 0.23)"):n}})),R=(0,s.Ay)(y.f3,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:y.Oj})((e=>{let{theme:t,ownerState:n}=e;return(0,i.A)({padding:"16.5px 14px"},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderRadius:"inherit"}},t.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===n.size&&{padding:"8.5px 14px"},n.multiline&&{padding:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0})})),C=a.forwardRef((function(e,t){var n,o,s,c,u;const p=(0,x.A)({props:e,name:"MuiOutlinedInput"}),{components:h={},fullWidth:v=!1,inputComponent:b="input",label:g,multiline:C=!1,notched:k,slots:P={},type:M="text"}=p,T=(0,r.A)(p,S),I=(e=>{const{classes:t}=e,n=(0,l.A)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},A,t);return(0,i.A)({},t,n)})(p),N=(0,m.A)(),F=(0,f.A)({props:p,muiFormControl:N,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),O=(0,i.A)({},p,{color:F.color||"primary",disabled:F.disabled,error:F.error,focused:F.focused,formControl:N,fullWidth:v,hiddenLabel:F.hiddenLabel,multiline:C,size:F.size,type:M}),L=null!=(n=null!=(o=P.root)?o:h.Root)?n:w,z=null!=(s=null!=(c=P.input)?c:h.Input)?s:R;return(0,d.jsx)(y.Ay,(0,i.A)({slots:{root:L,input:z},renderSuffix:e=>(0,d.jsx)(E,{ownerState:O,className:I.notchedOutline,label:null!=g&&""!==g&&F.required?u||(u=(0,d.jsxs)(a.Fragment,{children:[g,"\u2009","*"]})):g,notched:"undefined"!==typeof k?k:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:v,inputComponent:b,multiline:C,ref:t,type:M},T,{classes:(0,i.A)({},I,{notchedOutline:null})}))}));C.muiName="Input";const k=C},2235:(e,t,n)=>{n.d(t,{A:()=>A});var o=n(8587),r=n(8168),i=n(9950),a=n(2004),l=n(4061),s=n(9269),d=n(9254);const c=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};var u=n(9859),p=n(3244),m=n(8483);function f(e){return(0,m.Ay)("MuiPaper",e)}(0,p.A)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var h=n(4414);const v=["className","component","elevation","square","variant"],b=(0,d.Ay)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t["elevation".concat(n.elevation)]]}})((e=>{let{theme:t,ownerState:n}=e;var o;return(0,r.A)({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow")},!n.square&&{borderRadius:t.shape.borderRadius},"outlined"===n.variant&&{border:"1px solid ".concat((t.vars||t).palette.divider)},"elevation"===n.variant&&(0,r.A)({boxShadow:(t.vars||t).shadows[n.elevation]},!t.vars&&"dark"===t.palette.mode&&{backgroundImage:"linear-gradient(".concat((0,s.X4)("#fff",c(n.elevation)),", ").concat((0,s.X4)("#fff",c(n.elevation)),")")},t.vars&&{backgroundImage:null==(o=t.vars.overlays)?void 0:o[n.elevation]}))})),A=i.forwardRef((function(e,t){const n=(0,u.A)({props:e,name:"MuiPaper"}),{className:i,component:s="div",elevation:d=1,square:c=!1,variant:p="elevation"}=n,m=(0,o.A)(n,v),A=(0,r.A)({},n,{component:s,elevation:d,square:c,variant:p}),g=(e=>{const{square:t,elevation:n,variant:o,classes:r}=e,i={root:["root",o,!t&&"rounded","elevation"===o&&"elevation".concat(n)]};return(0,l.A)(i,f,r)})(A);return(0,h.jsx)(b,(0,r.A)({as:s,ownerState:A,className:(0,a.A)(g.root,i),ref:t},m))}))},5383:(e,t,n)=>{n.d(t,{A:()=>ke});var o=n(8168),r=n(8587),i=n(9950),a=n(2004),l=n(6455),s=n(3999),d=(n(5772),n(4061)),c=n(8767),u=n(7402),p=n(1676),m=n(525),f=n(9380),h=n(4445),v=n(9254),b=n(9859),A=n(1209),g=n(827),y=n(1506),x=n(165),S=n(4021),w=n(2235),E=n(3244),R=n(8483);function C(e){return(0,R.Ay)("MuiPopover",e)}(0,E.A)("MuiPopover",["root","paper"]);var k=n(4414);const P=["onEntering"],M=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],T=["slotProps"];function I(e,t){let n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function N(e,t){let n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function F(e){return[e.horizontal,e.vertical].map((e=>"number"===typeof e?"".concat(e,"px"):e)).join(" ")}function O(e){return"function"===typeof e?e():e}const L=(0,v.Ay)(S.A,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),z=(0,v.Ay)(w.A,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),j=i.forwardRef((function(e,t){var n,l,s;const c=(0,b.A)({props:e,name:"MuiPopover"}),{action:p,anchorEl:f,anchorOrigin:v={vertical:"top",horizontal:"left"},anchorPosition:S,anchorReference:w="anchorEl",children:E,className:R,container:j,elevation:W=8,marginThreshold:B=16,open:D,PaperProps:q={},slots:H,slotProps:U,transformOrigin:K={vertical:"top",horizontal:"left"},TransitionComponent:V=x.A,transitionDuration:X="auto",TransitionProps:{onEntering:_}={},disableScrollLock:Q=!1}=c,Y=(0,r.A)(c.TransitionProps,P),G=(0,r.A)(c,M),Z=null!=(n=null==U?void 0:U.paper)?n:q,$=i.useRef(),J=(0,y.A)($,Z.ref),ee=(0,o.A)({},c,{anchorOrigin:v,anchorReference:w,elevation:W,marginThreshold:B,externalPaperSlotProps:Z,transformOrigin:K,TransitionComponent:V,transitionDuration:X,TransitionProps:Y}),te=(e=>{const{classes:t}=e;return(0,d.A)({root:["root"],paper:["paper"]},C,t)})(ee),ne=i.useCallback((()=>{if("anchorPosition"===w)return S;const e=O(f),t=(e&&1===e.nodeType?e:(0,u.A)($.current).body).getBoundingClientRect();return{top:t.top+I(t,v.vertical),left:t.left+N(t,v.horizontal)}}),[f,v.horizontal,v.vertical,S,w]),oe=i.useCallback((e=>({vertical:I(e,K.vertical),horizontal:N(e,K.horizontal)})),[K.horizontal,K.vertical]),re=i.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=oe(t);if("none"===w)return{top:null,left:null,transformOrigin:F(n)};const o=ne();let r=o.top-n.vertical,i=o.left-n.horizontal;const a=r+t.height,l=i+t.width,s=(0,g.A)(O(f)),d=s.innerHeight-B,c=s.innerWidth-B;if(null!==B&&rd){const e=a-d;r-=e,n.vertical+=e}if(null!==B&&ic){const e=l-c;i-=e,n.horizontal+=e}return{top:"".concat(Math.round(r),"px"),left:"".concat(Math.round(i),"px"),transformOrigin:F(n)}}),[f,w,ne,oe,B]),[ie,ae]=i.useState(D),le=i.useCallback((()=>{const e=$.current;if(!e)return;const t=re(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,ae(!0)}),[re]);i.useEffect((()=>(Q&&window.addEventListener("scroll",le),()=>window.removeEventListener("scroll",le))),[f,Q,le]);i.useEffect((()=>{D&&le()})),i.useImperativeHandle(p,(()=>D?{updatePosition:()=>{le()}}:null),[D,le]),i.useEffect((()=>{if(!D)return;const e=(0,A.A)((()=>{le()})),t=(0,g.A)(f);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[f,D,le]);let se=X;"auto"!==X||V.muiSupportAuto||(se=void 0);const de=j||(f?(0,u.A)(O(f)).body:void 0),ce=null!=(l=null==H?void 0:H.root)?l:L,ue=null!=(s=null==H?void 0:H.paper)?s:z,pe=(0,m.Q)({elementType:ue,externalSlotProps:(0,o.A)({},Z,{style:ie?Z.style:(0,o.A)({},Z.style,{opacity:0})}),additionalProps:{elevation:W,ref:J},ownerState:ee,className:(0,a.A)(te.paper,null==Z?void 0:Z.className)}),me=(0,m.Q)({elementType:ce,externalSlotProps:(null==U?void 0:U.root)||{},externalForwardedProps:G,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:de,open:D},ownerState:ee,className:(0,a.A)(te.root,R)}),{slotProps:fe}=me,he=(0,r.A)(me,T);return(0,k.jsx)(ce,(0,o.A)({},he,!(0,h.g)(ce)&&{slotProps:fe,disableScrollLock:Q},{children:(0,k.jsx)(V,(0,o.A)({appear:!0,in:D,onEntering:(e,t)=>{_&&_(e,t),le()},onExited:()=>{ae(!1)},timeout:se},Y,{children:(0,k.jsx)(ue,(0,o.A)({},pe,{children:E}))}))}))}));var W=n(4857);function B(e){return(0,R.Ay)("MuiMenu",e)}(0,E.A)("MuiMenu",["root","paper","list"]);const D=["onEntering"],q=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],H={vertical:"top",horizontal:"right"},U={vertical:"top",horizontal:"left"},K=(0,v.Ay)(j,{shouldForwardProp:e=>(0,v.ep)(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),V=(0,v.Ay)(z,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),X=(0,v.Ay)(f.A,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),_=i.forwardRef((function(e,t){var n,l;const s=(0,b.A)({props:e,name:"MuiMenu"}),{autoFocus:c=!0,children:u,className:p,disableAutoFocusItem:f=!1,MenuListProps:h={},onClose:v,open:A,PaperProps:g={},PopoverClasses:y,transitionDuration:x="auto",TransitionProps:{onEntering:S}={},variant:w="selectedMenu",slots:E={},slotProps:R={}}=s,C=(0,r.A)(s.TransitionProps,D),P=(0,r.A)(s,q),M=(0,W.A)(),T="rtl"===M.direction,I=(0,o.A)({},s,{autoFocus:c,disableAutoFocusItem:f,MenuListProps:h,onEntering:S,PaperProps:g,transitionDuration:x,TransitionProps:C,variant:w}),N=(e=>{const{classes:t}=e;return(0,d.A)({root:["root"],paper:["paper"],list:["list"]},B,t)})(I),F=c&&!f&&A,O=i.useRef(null);let L=-1;i.Children.map(u,((e,t)=>{i.isValidElement(e)&&(e.props.disabled||("selectedMenu"===w&&e.props.selected||-1===L)&&(L=t))}));const z=null!=(n=E.paper)?n:V,j=null!=(l=R.paper)?l:g,_=(0,m.Q)({elementType:E.root,externalSlotProps:R.root,ownerState:I,className:[N.root,p]}),Q=(0,m.Q)({elementType:z,externalSlotProps:j,ownerState:I,className:N.paper});return(0,k.jsx)(K,(0,o.A)({onClose:v,anchorOrigin:{vertical:"bottom",horizontal:T?"right":"left"},transformOrigin:T?H:U,slots:{paper:z,root:E.root},slotProps:{root:_,paper:Q},open:A,ref:t,transitionDuration:x,TransitionProps:(0,o.A)({onEntering:(e,t)=>{O.current&&O.current.adjustStyleForScrollbar(e,M),S&&S(e,t)}},C),ownerState:I},P,{classes:y,children:(0,k.jsx)(X,(0,o.A)({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),v&&v(e,"tabKeyDown"))},actions:O,autoFocus:c&&(-1===L||f),autoFocusItem:F,variant:w},h,{className:(0,a.A)(N.list,h.className),children:u}))}))}));function Q(e){return(0,R.Ay)("MuiNativeSelect",e)}const Y=(0,E.A)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),G=["className","disabled","error","IconComponent","inputRef","variant"],Z=e=>{let{ownerState:t,theme:n}=e;return(0,o.A)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,o.A)({},n.vars?{backgroundColor:"rgba(".concat(n.vars.palette.common.onBackgroundChannel," / 0.05)")}:{backgroundColor:"light"===n.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},["&.".concat(Y.disabled)]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(n.vars||n).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===t.variant&&{"&&&":{paddingRight:32}},"outlined"===t.variant&&{borderRadius:(n.vars||n).shape.borderRadius,"&:focus":{borderRadius:(n.vars||n).shape.borderRadius},"&&&":{paddingRight:32}})},$=(0,v.Ay)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:v.ep,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{["&.".concat(Y.multiple)]:t.multiple}]}})(Z),J=e=>{let{ownerState:t,theme:n}=e;return(0,o.A)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(n.vars||n).palette.action.active,["&.".concat(Y.disabled)]:{color:(n.vars||n).palette.action.disabled}},t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7})},ee=(0,v.Ay)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t["icon".concat((0,p.A)(n.variant))],n.open&&t.iconOpen]}})(J),te=i.forwardRef((function(e,t){const{className:n,disabled:l,error:s,IconComponent:c,inputRef:u,variant:m="standard"}=e,f=(0,r.A)(e,G),h=(0,o.A)({},e,{disabled:l,variant:m,error:s}),v=(e=>{const{classes:t,variant:n,disabled:o,multiple:r,open:i,error:a}=e,l={select:["select",n,o&&"disabled",r&&"multiple",a&&"error"],icon:["icon","icon".concat((0,p.A)(n)),i&&"iconOpen",o&&"disabled"]};return(0,d.A)(l,Q,t)})(h);return(0,k.jsxs)(i.Fragment,{children:[(0,k.jsx)($,(0,o.A)({ownerState:h,className:(0,a.A)(v.select,n),disabled:l,ref:u||t},f)),e.multiple?null:(0,k.jsx)(ee,{as:c,ownerState:h,className:v.icon})]})}));var ne=n(3317);const oe=n(9543).A;function re(e){return(0,R.Ay)("MuiSelect",e)}const ie=(0,E.A)("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var ae;const le=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],se=(0,v.Ay)("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{["&.".concat(ie.select)]:t.select},{["&.".concat(ie.select)]:t[n.variant]},{["&.".concat(ie.error)]:t.error},{["&.".concat(ie.multiple)]:t.multiple}]}})(Z,{["&.".concat(ie.select)]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),de=(0,v.Ay)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t["icon".concat((0,p.A)(n.variant))],n.open&&t.iconOpen]}})(J),ce=(0,v.Ay)("input",{shouldForwardProp:e=>(0,v._n)(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function ue(e,t){return"object"===typeof t&&null!==t?e===t:String(e)===String(t)}function pe(e){return null==e||"string"===typeof e&&!e.trim()}const me=i.forwardRef((function(e,t){var n;const{"aria-describedby":l,"aria-label":m,autoFocus:f,autoWidth:h,children:v,className:b,defaultOpen:A,defaultValue:g,disabled:x,displayEmpty:S,error:w=!1,IconComponent:E,inputRef:R,labelId:C,MenuProps:P={},multiple:M,name:T,onBlur:I,onChange:N,onClose:F,onFocus:O,onOpen:L,open:z,readOnly:j,renderValue:W,SelectDisplayProps:B={},tabIndex:D,value:q,variant:H="standard"}=e,U=(0,r.A)(e,le),[K,V]=oe({controlled:q,default:g,name:"Select"}),[X,Q]=oe({controlled:z,default:A,name:"Select"}),Y=i.useRef(null),G=i.useRef(null),[Z,$]=i.useState(null),{current:J}=i.useRef(null!=z),[ee,te]=i.useState(),ie=(0,y.A)(t,R),me=i.useCallback((e=>{G.current=e,e&&$(e)}),[]),fe=null==Z?void 0:Z.parentNode;i.useImperativeHandle(ie,(()=>({focus:()=>{G.current.focus()},node:Y.current,value:K})),[K]),i.useEffect((()=>{A&&X&&Z&&!J&&(te(h?null:fe.clientWidth),G.current.focus())}),[Z,h]),i.useEffect((()=>{f&&G.current.focus()}),[f]),i.useEffect((()=>{if(!C)return;const e=(0,u.A)(G.current).getElementById(C);if(e){const t=()=>{getSelection().isCollapsed&&G.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[C]);const he=(e,t)=>{e?L&&L(t):F&&F(t),J||(te(h?null:fe.clientWidth),Q(e))},ve=i.Children.toArray(v),be=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(M){n=Array.isArray(K)?K.slice():[];const t=K.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),K!==n&&(V(n),N)){const o=t.nativeEvent||t,r=new o.constructor(o.type,o);Object.defineProperty(r,"target",{writable:!0,value:{value:n,name:T}}),N(r,e)}M||he(!1,t)}},Ae=null!==Z&&X;let ge,ye;delete U["aria-invalid"];const xe=[];let Se=!1,we=!1;((0,ne.lq)({value:K})||S)&&(W?ge=W(K):Se=!0);const Ee=ve.map((e=>{if(!i.isValidElement(e))return null;let t;if(M){if(!Array.isArray(K))throw new Error((0,s.A)(2));t=K.some((t=>ue(t,e.props.value))),t&&Se&&xe.push(e.props.children)}else t=ue(K,e.props.value),t&&Se&&(ye=e.props.children);return t&&(we=!0),i.cloneElement(e,{"aria-selected":t?"true":"false",onClick:be(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));Se&&(ge=M?0===xe.length?null:xe.reduce(((e,t,n)=>(e.push(t),n{const{classes:t,variant:n,disabled:o,multiple:r,open:i,error:a}=e,l={select:["select",n,o&&"disabled",r&&"multiple",a&&"error"],icon:["icon","icon".concat((0,p.A)(n)),i&&"iconOpen",o&&"disabled"],nativeInput:["nativeInput"]};return(0,d.A)(l,re,t)})(Pe),Te=(0,o.A)({},P.PaperProps,null==(n=P.slotProps)?void 0:n.paper),Ie=(0,c.A)();return(0,k.jsxs)(i.Fragment,{children:[(0,k.jsx)(se,(0,o.A)({ref:me,tabIndex:Re,role:"combobox","aria-controls":Ie,"aria-disabled":x?"true":void 0,"aria-expanded":Ae?"true":"false","aria-haspopup":"listbox","aria-label":m,"aria-labelledby":[C,ke].filter(Boolean).join(" ")||void 0,"aria-describedby":l,onKeyDown:e=>{if(!j){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),he(!0,e))}},onMouseDown:x||j?null:e=>{0===e.button&&(e.preventDefault(),G.current.focus(),he(!0,e))},onBlur:e=>{!Ae&&I&&(Object.defineProperty(e,"target",{writable:!0,value:{value:K,name:T}}),I(e))},onFocus:O},B,{ownerState:Pe,className:(0,a.A)(B.className,Me.select,b),id:ke,children:pe(ge)?ae||(ae=(0,k.jsx)("span",{className:"notranslate",children:"\u200b"})):ge})),(0,k.jsx)(ce,(0,o.A)({"aria-invalid":w,value:Array.isArray(K)?K.join(","):K,name:T,ref:Y,"aria-hidden":!0,onChange:e=>{const t=ve.find((t=>t.props.value===e.target.value));void 0!==t&&(V(t.props.value),N&&N(e,t))},tabIndex:-1,disabled:x,className:Me.nativeInput,autoFocus:f,ownerState:Pe},U)),(0,k.jsx)(de,{as:E,className:Me.icon,ownerState:Pe}),(0,k.jsx)(_,(0,o.A)({id:"menu-".concat(T||""),anchorEl:fe,open:Ae,onClose:e=>{he(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},P,{MenuListProps:(0,o.A)({"aria-labelledby":C,role:"listbox","aria-multiselectable":M?"true":void 0,disableListWrap:!0,id:Ie},P.MenuListProps),slotProps:(0,o.A)({},P.slotProps,{paper:(0,o.A)({},Te,{style:(0,o.A)({minWidth:Ce},null!=Te?Te.style:null)})}),children:Ee}))]})}));var fe=n(8624),he=n(9766);const ve=(0,n(3235).A)((0,k.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");var be=n(9890),Ae=n(8089),ge=n(3198);const ye=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],xe=["root"],Se={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>(0,v.ep)(e)&&"variant"!==e,slot:"Root"},we=(0,v.Ay)(be.A,Se)(""),Ee=(0,v.Ay)(ge.A,Se)(""),Re=(0,v.Ay)(Ae.A,Se)(""),Ce=i.forwardRef((function(e,t){const n=(0,b.A)({name:"MuiSelect",props:e}),{autoWidth:s=!1,children:d,classes:c={},className:u,defaultOpen:p=!1,displayEmpty:m=!1,IconComponent:f=ve,id:h,input:v,inputProps:A,label:g,labelId:x,MenuProps:S,multiple:w=!1,native:E=!1,onClose:R,onOpen:C,open:P,renderValue:M,SelectDisplayProps:T,variant:I="outlined"}=n,N=(0,r.A)(n,ye),F=E?te:me,O=(0,he.A)(),L=(0,fe.A)({props:n,muiFormControl:O,states:["variant","error"]}),z=L.variant||I,j=(0,o.A)({},n,{variant:z,classes:c}),W=(e=>{const{classes:t}=e;return t})(j),B=(0,r.A)(W,xe),D=v||{standard:(0,k.jsx)(we,{ownerState:j}),outlined:(0,k.jsx)(Ee,{label:g,ownerState:j}),filled:(0,k.jsx)(Re,{ownerState:j})}[z],q=(0,y.A)(t,D.ref);return(0,k.jsx)(i.Fragment,{children:i.cloneElement(D,(0,o.A)({inputComponent:F,inputProps:(0,o.A)({children:d,error:L.error,IconComponent:f,variant:z,type:void 0,multiple:w},E?{id:h}:{autoWidth:s,defaultOpen:p,displayEmpty:m,labelId:x,MenuProps:S,onClose:R,onOpen:C,open:P,renderValue:M,SelectDisplayProps:(0,o.A)({id:h},T)},A,{classes:A?(0,l.A)(B,A.classes):B},v?v.props.inputProps:{})},(w&&E||m)&&"outlined"===z?{notched:!0}:{},{ref:q,className:(0,a.A)(D.props.className,u,W.root)},!v&&{variant:z},N))})}));Ce.muiName="Select";const ke=Ce},9925:(e,t,n)=>{n.d(t,{A:()=>F});var o=n(8168),r=n(8587),i=n(9950),a=n(2004),l=n(4061),s=n(8767),d=n(9254),c=n(9859),u=n(9890),p=n(8089),m=n(3198),f=n(3788),h=n(5979),v=n(8624),b=n(9766),A=n(1676),g=n(3244),y=n(8483);function x(e){return(0,y.Ay)("MuiFormHelperText",e)}const S=(0,g.A)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var w,E=n(4414);const R=["children","className","component","disabled","error","filled","focused","margin","required","variant"],C=(0,d.Ay)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t["size".concat((0,A.A)(n.size))],n.contained&&t.contained,n.filled&&t.filled]}})((e=>{let{theme:t,ownerState:n}=e;return(0,o.A)({color:(t.vars||t).palette.text.secondary},t.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,["&.".concat(S.disabled)]:{color:(t.vars||t).palette.text.disabled},["&.".concat(S.error)]:{color:(t.vars||t).palette.error.main}},"small"===n.size&&{marginTop:4},n.contained&&{marginLeft:14,marginRight:14})})),k=i.forwardRef((function(e,t){const n=(0,c.A)({props:e,name:"MuiFormHelperText"}),{children:i,className:s,component:d="p"}=n,u=(0,r.A)(n,R),p=(0,b.A)(),m=(0,v.A)({props:n,muiFormControl:p,states:["variant","size","disabled","error","filled","focused","required"]}),f=(0,o.A)({},n,{component:d,contained:"filled"===m.variant||"outlined"===m.variant,variant:m.variant,size:m.size,disabled:m.disabled,error:m.error,filled:m.filled,focused:m.focused,required:m.required}),h=(e=>{const{classes:t,contained:n,size:o,disabled:r,error:i,filled:a,focused:s,required:d}=e,c={root:["root",r&&"disabled",i&&"error",o&&"size".concat((0,A.A)(o)),n&&"contained",s&&"focused",a&&"filled",d&&"required"]};return(0,l.A)(c,x,t)})(f);return(0,E.jsx)(C,(0,o.A)({as:d,ownerState:f,className:(0,a.A)(h.root,s),ref:t},u,{children:" "===i?w||(w=(0,E.jsx)("span",{className:"notranslate",children:"\u200b"})):i}))}));var P=n(5383);function M(e){return(0,y.Ay)("MuiTextField",e)}(0,g.A)("MuiTextField",["root"]);const T=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],I={standard:u.A,filled:p.A,outlined:m.A},N=(0,d.Ay)(h.A,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),F=i.forwardRef((function(e,t){const n=(0,c.A)({props:e,name:"MuiTextField"}),{autoComplete:i,autoFocus:d=!1,children:u,className:p,color:m="primary",defaultValue:h,disabled:v=!1,error:b=!1,FormHelperTextProps:A,fullWidth:g=!1,helperText:y,id:x,InputLabelProps:S,inputProps:w,InputProps:R,inputRef:C,label:F,maxRows:O,minRows:L,multiline:z=!1,name:j,onBlur:W,onChange:B,onFocus:D,placeholder:q,required:H=!1,rows:U,select:K=!1,SelectProps:V,type:X,value:_,variant:Q="outlined"}=n,Y=(0,r.A)(n,T),G=(0,o.A)({},n,{autoFocus:d,color:m,disabled:v,error:b,fullWidth:g,multiline:z,required:H,select:K,variant:Q}),Z=(e=>{const{classes:t}=e;return(0,l.A)({root:["root"]},M,t)})(G);const $={};"outlined"===Q&&(S&&"undefined"!==typeof S.shrink&&($.notched=S.shrink),$.label=F),K&&(V&&V.native||($.id=void 0),$["aria-describedby"]=void 0);const J=(0,s.A)(x),ee=y&&J?"".concat(J,"-helper-text"):void 0,te=F&&J?"".concat(J,"-label"):void 0,ne=I[Q],oe=(0,E.jsx)(ne,(0,o.A)({"aria-describedby":ee,autoComplete:i,autoFocus:d,defaultValue:h,fullWidth:g,multiline:z,name:j,rows:U,maxRows:O,minRows:L,type:X,value:_,id:J,inputRef:C,onBlur:W,onChange:B,onFocus:D,placeholder:q,inputProps:w},$,R));return(0,E.jsxs)(N,(0,o.A)({className:(0,a.A)(Z.root,p),disabled:v,error:b,fullWidth:g,ref:t,required:H,color:m,variant:Q,ownerState:G},Y,{children:[null!=F&&""!==F&&(0,E.jsx)(f.A,(0,o.A)({htmlFor:J,id:te},S,{children:F})),K?(0,E.jsx)(P.A,(0,o.A)({"aria-describedby":ee,id:J,labelId:te,value:_,input:oe},V,{children:u})):oe,y&&(0,E.jsx)(k,(0,o.A)({id:ee},A,{children:y}))]}))}))},5827:(e,t)=>{var n,o=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),d=Symbol.for("react.context"),c=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen");function b(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case i:case l:case a:case p:case m:return e;default:switch(e=e&&e.$$typeof){case c:case d:case u:case h:case f:case s:return e;default:return t}}case r:return t}}}n=Symbol.for("react.module.reference")},5772:(e,t,n)=>{n(5827)},576:(e,t,n)=>{n.d(t,{c:()=>r,q:()=>o});const o=e=>e.scrollTop;function r(e,t){var n,o;const{timeout:r,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"===typeof r?r:r[t.mode]||0,easing:null!=(o=a.transitionTimingFunction)?o:"object"===typeof i?i[t.mode]:i,delay:a.transitionDelay}}},3235:(e,t,n)=>{n.d(t,{A:()=>g});var o=n(8168),r=n(9950),i=n(8587),a=n(2004),l=n(4061),s=n(1676),d=n(9859),c=n(9254),u=n(3244),p=n(8483);function m(e){return(0,p.Ay)("MuiSvgIcon",e)}(0,u.A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var f=n(4414);const h=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],v=(0,c.Ay)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t["color".concat((0,s.A)(n.color))],t["fontSize".concat((0,s.A)(n.fontSize))]]}})((e=>{let{theme:t,ownerState:n}=e;var o,r,i,a,l,s,d,c,u,p,m,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:n.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(o=t.transitions)||null==(r=o.create)?void 0:r.call(o,"fill",{duration:null==(i=t.transitions)||null==(i=i.duration)?void 0:i.shorter}),fontSize:{inherit:"inherit",small:(null==(a=t.typography)||null==(l=a.pxToRem)?void 0:l.call(a,20))||"1.25rem",medium:(null==(s=t.typography)||null==(d=s.pxToRem)?void 0:d.call(s,24))||"1.5rem",large:(null==(c=t.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"}[n.fontSize],color:null!=(p=null==(m=(t.vars||t).palette)||null==(m=m[n.color])?void 0:m.main)?p:{action:null==(f=(t.vars||t).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(t.vars||t).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0}[n.color]}})),b=r.forwardRef((function(e,t){const n=(0,d.A)({props:e,name:"MuiSvgIcon"}),{children:c,className:u,color:p="inherit",component:b="svg",fontSize:A="medium",htmlColor:g,inheritViewBox:y=!1,titleAccess:x,viewBox:S="0 0 24 24"}=n,w=(0,i.A)(n,h),E=r.isValidElement(c)&&"svg"===c.type,R=(0,o.A)({},n,{color:p,component:b,fontSize:A,instanceFontSize:e.fontSize,inheritViewBox:y,viewBox:S,hasSvgAsChild:E}),C={};y||(C.viewBox=S);const k=(e=>{const{color:t,fontSize:n,classes:o}=e,r={root:["root","inherit"!==t&&"color".concat((0,s.A)(t)),"fontSize".concat((0,s.A)(n))]};return(0,l.A)(r,m,o)})(R);return(0,f.jsxs)(v,(0,o.A)({as:b,className:(0,a.A)(k.root,u),focusable:"false",color:g,"aria-hidden":!x||void 0,role:x?"img":void 0,ref:t},C,w,E&&c.props,{ownerState:R,children:[E?c.props.children:c,x?(0,f.jsx)("title",{children:x}):null]}))}));b.muiName="SvgIcon";const A=b;function g(e,t){function n(n,r){return(0,f.jsx)(A,(0,o.A)({"data-testid":"".concat(t,"Icon"),ref:r},n,{children:e}))}return n.muiName=A.muiName,r.memo(r.forwardRef(n))}},1209:(e,t,n)=>{n.d(t,{A:()=>o});const o=n(2243).A},96:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(9950);const r=function(e,t){var n,r;return o.isValidElement(e)&&-1!==t.indexOf(null!=(n=e.type.muiName)?n:null==(r=e.type)||null==(r=r._payload)||null==(r=r.value)?void 0:r.muiName)}},7402:(e,t,n)=>{n.d(t,{A:()=>o});const o=n(3511).A},827:(e,t,n)=>{n.d(t,{A:()=>o});const o=n(8727).A},9044:(e,t,n)=>{n.d(t,{A:()=>o});const o=n(4131).A},1506:(e,t,n)=>{n.d(t,{A:()=>o});const o=n(4093).A},2243:(e,t,n)=>{function o(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function o(){for(var o=arguments.length,r=new Array(o),i=0;i{e.apply(this,r)}),n)}return o.clear=()=>{clearTimeout(t)},o}n.d(t,{A:()=>o})},9847:(e,t,n)=>{function o(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}n.d(t,{A:()=>o})},3511:(e,t,n)=>{function o(e){return e&&e.ownerDocument||document}n.d(t,{A:()=>o})},8727:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(3511);function r(e){return(0,o.A)(e).defaultView||window}},5679:(e,t,n)=>{function o(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,{A:()=>o})},9543:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(9950);function r(e){let{controlled:t,default:n,name:r,state:i="value"}=e;const{current:a}=o.useRef(void 0!==t),[l,s]=o.useState(n);return[a?t:l,o.useCallback((e=>{a||s(e)}),[])]}},4131:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(9950);const r="undefined"!==typeof window?o.useLayoutEffect:o.useEffect},2877:(e,t,n)=>{n.d(t,{A:()=>i});var o=n(9950),r=n(4131);const i=function(e){const t=o.useRef(e);return(0,r.A)((()=>{t.current=e})),o.useRef((function(){return(0,t.current)(...arguments)})).current}},4093:(e,t,n)=>{n.d(t,{A:()=>i});var o=n(9950),r=n(5679);function i(){for(var e=arguments.length,t=new Array(e),n=0;nt.every((e=>null==e))?null:e=>{t.forEach((t=>{(0,r.A)(t,e)}))}),t)}},8767:(e,t,n)=>{var o;n.d(t,{A:()=>l});var r=n(9950);let i=0;const a=(o||(o=n.t(r,2)))["useId".toString()];function l(e){if(void 0!==a){const t=a();return null!=e?e:t}return function(e){const[t,n]=r.useState(e),o=e||t;return r.useEffect((()=>{null==t&&(i+=1,n("mui-".concat(i)))}),[t]),o}(e)}},4522:(e,t,n)=>{n.d(t,{E:()=>a,A:()=>l});var o=n(9950);const r={};const i=[];class a{constructor(){this.currentId=0,this.clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)},this.disposeEffect=()=>this.clear}static create(){return new a}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=0,t()}),e)}}function l(){const e=function(e,t){const n=o.useRef(r);return n.current===r&&(n.current=e(t)),n}(a.create).current;var t;return t=e.disposeEffect,o.useEffect(t,i),e}},7279:(e,t,n)=>{n.d(t,{Ay:()=>b});var o=n(8587),r=n(7387),i=n(9950),a=n(7119);const l=!1;var s=n(8555),d=n(385),c="unmounted",u="exited",p="entering",m="entered",f="exiting",h=function(e){function t(t,n){var o;o=e.call(this,t,n)||this;var r,i=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?i?(r=u,o.appearStatus=p):r=m:r=t.unmountOnExit||t.mountOnEnter?c:u,o.state={status:r},o.nextCallback=null,o}(0,r.A)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===c?{status:u}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==p&&n!==m&&(t=p):n!==p&&n!==m||(t=f)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!==typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===p){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this);n&&(0,d.F)(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===u&&this.setState({status:c})},n.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[a.findDOMNode(this),o],i=r[0],s=r[1],d=this.getTimeouts(),c=o?d.appear:d.enter;!e&&!n||l?this.safeSetState({status:m},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,s),this.safeSetState({status:p},(function(){t.props.onEntering(i,s),t.onTransitionEnd(c,(function(){t.safeSetState({status:m},(function(){t.props.onEntered(i,s)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:a.findDOMNode(this);t&&!l?(this.props.onExit(o),this.safeSetState({status:f},(function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:u},(function(){e.props.onExited(o)}))}))}))):this.safeSetState({status:u},(function(){e.props.onExited(o)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=r[0],l=r[1];this.props.addEndListener(i,l)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===c)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,o.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.createElement(s.A.Provider,{value:null},"function"===typeof n?n(e,r):i.cloneElement(i.Children.only(n),r))},t}(i.Component);function v(){}h.contextType=s.A,h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:v,onEntering:v,onEntered:v,onExit:v,onExiting:v,onExited:v},h.UNMOUNTED=c,h.EXITED=u,h.ENTERING=p,h.ENTERED=m,h.EXITING=f;const b=h},8555:(e,t,n)=>{n.d(t,{A:()=>o});const o=n(9950).createContext(null)},385:(e,t,n)=>{n.d(t,{F:()=>o});var o=function(e){return e.scrollTop}},7387:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(3662);function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,o.A)(e,t)}},3662:(e,t,n)=>{function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}n.d(t,{A:()=>o})}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/925.33fda54f.chunk.js.LICENSE.txt b/frontend/dist/static/js/925.33fda54f.chunk.js.LICENSE.txt new file mode 100644 index 00000000..53dcf70c --- /dev/null +++ b/frontend/dist/static/js/925.33fda54f.chunk.js.LICENSE.txt @@ -0,0 +1,9 @@ +/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ diff --git a/frontend/dist/static/js/974.8dde0f3d.chunk.js b/frontend/dist/static/js/974.8dde0f3d.chunk.js new file mode 100644 index 00000000..80edb7c6 --- /dev/null +++ b/frontend/dist/static/js/974.8dde0f3d.chunk.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksrc=self.webpackChunksrc||[]).push([[974],{1205:(t,e,n)=>{function r(t,e){for(var n=t<0?"-":"",r=Math.abs(t).toString();r.lengthr})},6792:(t,e,n)=>{n.d(e,{A:()=>r});const r=n(1721).A},3840:(t,e,n)=>{n.d(e,{q:()=>a});var r={};function a(){return r}},74:(t,e,n)=>{n.d(e,{A:()=>i});var r=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},a=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}};const i={p:a,P:function(t,e){var n,i=t.match(/(P+)(p+)?/)||[],o=i[1],u=i[2];if(!u)return r(t,e);switch(o){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",r(o,e)).replace("{{time}}",a(u,e))}}},2434:(t,e,n)=>{function r(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}n.d(e,{A:()=>r})},734:(t,e,n)=>{n.d(e,{A:()=>d});var r=n(8889),a=n(1485),i=n(4505),o=n(8397);var u=6048e5;function d(t){(0,o.A)(1,arguments);var e=(0,r.A)(t),n=(0,a.A)(e).getTime()-function(t){(0,o.A)(1,arguments);var e=(0,i.A)(t),n=new Date(0);return n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0),(0,a.A)(n)}(e).getTime();return Math.round(n/u)+1}},4505:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(8889),a=n(8397),i=n(1485);function o(t){(0,a.A)(1,arguments);var e=(0,r.A)(t),n=e.getUTCFullYear(),o=new Date(0);o.setUTCFullYear(n+1,0,4),o.setUTCHours(0,0,0,0);var u=(0,i.A)(o),d=new Date(0);d.setUTCFullYear(n,0,4),d.setUTCHours(0,0,0,0);var s=(0,i.A)(d);return e.getTime()>=u.getTime()?n+1:e.getTime()>=s.getTime()?n:n-1}},768:(t,e,n)=>{n.d(e,{A:()=>l});var r=n(8889),a=n(5164),i=n(5294),o=n(8397),u=n(6922),d=n(3840);var s=6048e5;function l(t,e){(0,o.A)(1,arguments);var n=(0,r.A)(t),l=(0,a.A)(n,e).getTime()-function(t,e){var n,r,s,l,c,h,f,m;(0,o.A)(1,arguments);var g=(0,d.q)(),v=(0,u.A)(null!==(n=null!==(r=null!==(s=null!==(l=null===e||void 0===e?void 0:e.firstWeekContainsDate)&&void 0!==l?l:null===e||void 0===e||null===(c=e.locale)||void 0===c||null===(h=c.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==s?s:g.firstWeekContainsDate)&&void 0!==r?r:null===(f=g.locale)||void 0===f||null===(m=f.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==n?n:1),w=(0,i.A)(t,e),b=new Date(0);return b.setUTCFullYear(w,0,v),b.setUTCHours(0,0,0,0),(0,a.A)(b,e)}(n,e).getTime();return Math.round(l/s)+1}},5294:(t,e,n)=>{n.d(e,{A:()=>d});var r=n(8889),a=n(8397),i=n(5164),o=n(6922),u=n(3840);function d(t,e){var n,d,s,l,c,h,f,m;(0,a.A)(1,arguments);var g=(0,r.A)(t),v=g.getUTCFullYear(),w=(0,u.q)(),b=(0,o.A)(null!==(n=null!==(d=null!==(s=null!==(l=null===e||void 0===e?void 0:e.firstWeekContainsDate)&&void 0!==l?l:null===e||void 0===e||null===(c=e.locale)||void 0===c||null===(h=c.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==s?s:w.firstWeekContainsDate)&&void 0!==d?d:null===(f=w.locale)||void 0===f||null===(m=f.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==n?n:1);if(!(b>=1&&b<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=new Date(0);y.setUTCFullYear(v+1,0,b),y.setUTCHours(0,0,0,0);var A=(0,i.A)(y,e),p=new Date(0);p.setUTCFullYear(v,0,b),p.setUTCHours(0,0,0,0);var T=(0,i.A)(p,e);return g.getTime()>=A.getTime()?v+1:g.getTime()>=T.getTime()?v:v-1}},6215:(t,e,n)=>{n.d(e,{ef:()=>i,lJ:()=>u,xM:()=>o});var r=["D","DD"],a=["YY","YYYY"];function i(t){return-1!==r.indexOf(t)}function o(t){return-1!==a.indexOf(t)}function u(t,e,n){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},8397:(t,e,n)=>{function r(t,e){if(e.length1?"s":"")+" required, but only "+e.length+" present")}n.d(e,{A:()=>r})},1485:(t,e,n)=>{n.d(e,{A:()=>i});var r=n(8889),a=n(8397);function i(t){(0,a.A)(1,arguments);var e=(0,r.A)(t),n=e.getUTCDay(),i=(n<1?7:0)+n-1;return e.setUTCDate(e.getUTCDate()-i),e.setUTCHours(0,0,0,0),e}},5164:(t,e,n)=>{n.d(e,{A:()=>u});var r=n(8889),a=n(8397),i=n(6922),o=n(3840);function u(t,e){var n,u,d,s,l,c,h,f;(0,a.A)(1,arguments);var m=(0,o.q)(),g=(0,i.A)(null!==(n=null!==(u=null!==(d=null!==(s=null===e||void 0===e?void 0:e.weekStartsOn)&&void 0!==s?s:null===e||void 0===e||null===(l=e.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==d?d:m.weekStartsOn)&&void 0!==u?u:null===(h=m.locale)||void 0===h||null===(f=h.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,r.A)(t),w=v.getUTCDay(),b=(w{function r(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}n.d(e,{A:()=>r})},3793:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(6922),a=n(8889),i=n(8397);function o(t,e){(0,i.A)(2,arguments);var n=(0,a.A)(t).getTime(),o=(0,r.A)(e);return new Date(n+o)}},3974:(t,e,n)=>{n.d(e,{A:()=>E});var r=n(9416),a=n(4568),i=n(8889),o=n(8397);var u=n(734),d=n(4505),s=n(768),l=n(5294),c=n(1205);const h={y:function(t,e){var n=t.getUTCFullYear(),r=n>0?n:1-n;return(0,c.A)("yy"===e?r%100:r,e.length)},M:function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):(0,c.A)(n+1,2)},d:function(t,e){return(0,c.A)(t.getUTCDate(),e.length)},a:function(t,e){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(t,e){return(0,c.A)(t.getUTCHours()%12||12,e.length)},H:function(t,e){return(0,c.A)(t.getUTCHours(),e.length)},m:function(t,e){return(0,c.A)(t.getUTCMinutes(),e.length)},s:function(t,e){return(0,c.A)(t.getUTCSeconds(),e.length)},S:function(t,e){var n=e.length,r=t.getUTCMilliseconds(),a=Math.floor(r*Math.pow(10,n-3));return(0,c.A)(a,e.length)}};var f="midnight",m="noon",g="morning",v="afternoon",w="evening",b="night";function y(t,e){var n=t>0?"-":"+",r=Math.abs(t),a=Math.floor(r/60),i=r%60;if(0===i)return n+String(a);var o=e||"";return n+String(a)+o+(0,c.A)(i,2)}function A(t,e){return t%60===0?(t>0?"-":"+")+(0,c.A)(Math.abs(t)/60,2):p(t,e)}function p(t,e){var n=e||"",r=t>0?"-":"+",a=Math.abs(t);return r+(0,c.A)(Math.floor(a/60),2)+n+(0,c.A)(a%60,2)}const T={G:function(t,e,n){var r=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var r=t.getUTCFullYear(),a=r>0?r:1-r;return n.ordinalNumber(a,{unit:"year"})}return h.y(t,e)},Y:function(t,e,n,r){var a=(0,l.A)(t,r),i=a>0?a:1-a;if("YY"===e){var o=i%100;return(0,c.A)(o,2)}return"Yo"===e?n.ordinalNumber(i,{unit:"year"}):(0,c.A)(i,e.length)},R:function(t,e){var n=(0,d.A)(t);return(0,c.A)(n,e.length)},u:function(t,e){var n=t.getUTCFullYear();return(0,c.A)(n,e.length)},Q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return(0,c.A)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return(0,c.A)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){var r=t.getUTCMonth();switch(e){case"M":case"MM":return h.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){var r=t.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return(0,c.A)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){var a=(0,s.A)(t,r);return"wo"===e?n.ordinalNumber(a,{unit:"week"}):(0,c.A)(a,e.length)},I:function(t,e,n){var r=(0,u.A)(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):(0,c.A)(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):h.d(t,e)},D:function(t,e,n){var r=function(t){(0,o.A)(1,arguments);var e=(0,i.A)(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var r=n-e.getTime();return Math.floor(r/864e5)+1}(t);return"Do"===e?n.ordinalNumber(r,{unit:"dayOfYear"}):(0,c.A)(r,e.length)},E:function(t,e,n){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){var a=t.getUTCDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return(0,c.A)(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){var a=t.getUTCDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return(0,c.A)(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(t,e,n){var r=t.getUTCDay(),a=0===r?7:r;switch(e){case"i":return String(a);case"ii":return(0,c.A)(a,e.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){var r,a=t.getUTCHours();switch(r=12===a?m:0===a?f:a/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){var r,a=t.getUTCHours();switch(r=a>=17?w:a>=12?v:a>=4?g:b,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var r=t.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return h.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):h.H(t,e)},K:function(t,e,n){var r=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):(0,c.A)(r,e.length)},k:function(t,e,n){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===e?n.ordinalNumber(r,{unit:"hour"}):(0,c.A)(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):h.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):h.s(t,e)},S:function(t,e){return h.S(t,e)},X:function(t,e,n,r){var a=(r._originalDate||t).getTimezoneOffset();if(0===a)return"Z";switch(e){case"X":return A(a);case"XXXX":case"XX":return p(a);default:return p(a,":")}},x:function(t,e,n,r){var a=(r._originalDate||t).getTimezoneOffset();switch(e){case"x":return A(a);case"xxxx":case"xx":return p(a);default:return p(a,":")}},O:function(t,e,n,r){var a=(r._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+y(a,":");default:return"GMT"+p(a,":")}},z:function(t,e,n,r){var a=(r._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+y(a,":");default:return"GMT"+p(a,":")}},t:function(t,e,n,r){var a=r._originalDate||t,i=Math.floor(a.getTime()/1e3);return(0,c.A)(i,e.length)},T:function(t,e,n,r){var a=(r._originalDate||t).getTime();return(0,c.A)(a,e.length)}};var C=n(74),M=n(2434),D=n(6215),k=n(6922),x=n(3840),U=n(6792),P=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,S=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,W=/^'([^]*?)'?$/,Y=/''/g,q=/[a-zA-Z]/;function E(t,e,n){var u,d,s,l,c,h,f,m,g,v,w,b,y,A,p,E,N,O;(0,o.A)(2,arguments);var H=String(e),F=(0,x.q)(),j=null!==(u=null!==(d=null===n||void 0===n?void 0:n.locale)&&void 0!==d?d:F.locale)&&void 0!==u?u:U.A,z=(0,k.A)(null!==(s=null!==(l=null!==(c=null!==(h=null===n||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==h?h:null===n||void 0===n||null===(f=n.locale)||void 0===f||null===(m=f.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==c?c:F.firstWeekContainsDate)&&void 0!==l?l:null===(g=F.locale)||void 0===g||null===(v=g.options)||void 0===v?void 0:v.firstWeekContainsDate)&&void 0!==s?s:1);if(!(z>=1&&z<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var L=(0,k.A)(null!==(w=null!==(b=null!==(y=null!==(A=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==A?A:null===n||void 0===n||null===(p=n.locale)||void 0===p||null===(E=p.options)||void 0===E?void 0:E.weekStartsOn)&&void 0!==y?y:F.weekStartsOn)&&void 0!==b?b:null===(N=F.locale)||void 0===N||null===(O=N.options)||void 0===O?void 0:O.weekStartsOn)&&void 0!==w?w:0);if(!(L>=0&&L<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!j.localize)throw new RangeError("locale must contain localize property");if(!j.formatLong)throw new RangeError("locale must contain formatLong property");var Q=(0,i.A)(t);if(!(0,r.A)(Q))throw new RangeError("Invalid time value");var G=(0,M.A)(Q),X=(0,a.A)(Q,G),B={firstWeekContainsDate:z,weekStartsOn:L,locale:j,_originalDate:Q};return H.match(S).map((function(t){var e=t[0];return"p"===e||"P"===e?(0,C.A[e])(t,j.formatLong):t})).join("").match(P).map((function(r){if("''"===r)return"'";var a=r[0];if("'"===a)return function(t){var e=t.match(W);if(!e)return t;return e[1].replace(Y,"'")}(r);var i=T[a];if(i)return null!==n&&void 0!==n&&n.useAdditionalWeekYearTokens||!(0,D.xM)(r)||(0,D.lJ)(r,e,String(t)),null!==n&&void 0!==n&&n.useAdditionalDayOfYearTokens||!(0,D.ef)(r)||(0,D.lJ)(r,e,String(t)),i(X,r,j.localize,B);if(a.match(q))throw new RangeError("Format string contains an unescaped latin alphabet character `"+a+"`");return r})).join("")}},9416:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(2284),a=n(8397);var i=n(8889);function o(t){if((0,a.A)(1,arguments),!function(t){return(0,a.A)(1,arguments),t instanceof Date||"object"===(0,r.A)(t)&&"[object Date]"===Object.prototype.toString.call(t)}(t)&&"number"!==typeof t)return!1;var e=(0,i.A)(t);return!isNaN(Number(e))}},7489:(t,e,n)=>{function r(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}n.d(e,{A:()=>r})},9731:(t,e,n)=>{function r(t){return function(e,n){var r;if("formatting"===(null!==n&&void 0!==n&&n.context?String(n.context):"standalone")&&t.formattingValues){var a=t.defaultFormattingWidth||t.defaultWidth,i=null!==n&&void 0!==n&&n.width?String(n.width):a;r=t.formattingValues[i]||t.formattingValues[a]}else{var o=t.defaultWidth,u=null!==n&&void 0!==n&&n.width?String(n.width):t.defaultWidth;r=t.values[u]||t.values[o]}return r[t.argumentCallback?t.argumentCallback(e):e]}}n.d(e,{A:()=>r})},2941:(t,e,n)=>{function r(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,a=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],i=e.match(a);if(!i)return null;var o,u=i[0],d=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],s=Array.isArray(d)?function(t,e){for(var n=0;nr})},7841:(t,e,n)=>{function r(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.match(t.matchPattern);if(!r)return null;var a=r[0],i=e.match(t.parsePattern);if(!i)return null;var o=t.valueCallback?t.valueCallback(i[0]):i[0];return{value:o=n.valueCallback?n.valueCallback(o):o,rest:e.slice(a.length)}}}n.d(e,{A:()=>r})},1721:(t,e,n)=>{n.d(e,{A:()=>h});var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};const a=function(t,e,n){var a,i=r[t];return a="string"===typeof i?i:1===e?i.one:i.other.replace("{{count}}",e.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};var i=n(7489);const o={date:(0,i.A)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,i.A)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,i.A)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var u={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};const d=function(t,e,n,r){return u[t]};var s=n(9731);const l={ordinalNumber:function(t,e){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,s.A)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:(0,s.A)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};var c=n(2941);const h={code:"en-US",formatDistance:a,formatLong:o,formatRelative:d,localize:l,match:{ordinalNumber:(0,n(7841).A)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},4568:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(3793),a=n(8397),i=n(6922);function o(t,e){(0,a.A)(2,arguments);var n=(0,i.A)(e);return(0,r.A)(t,-n)}},8889:(t,e,n)=>{n.d(e,{A:()=>i});var r=n(2284),a=n(8397);function i(t){(0,a.A)(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===(0,r.A)(t)&&"[object Date]"===e?new Date(t.getTime()):"number"===typeof t||"[object Number]"===e?new Date(t):("string"!==typeof t&&"[object String]"!==e||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/979.14e4e415.chunk.js b/frontend/dist/static/js/979.14e4e415.chunk.js deleted file mode 100644 index 34d22907..00000000 --- a/frontend/dist/static/js/979.14e4e415.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkobserver=self.webpackChunkobserver||[]).push([[979],{5908:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(3366),o=n(7462),a=n(7313),i=n(4146),l=n(1921),s=n(8564),u=n(5469),c=n(1615),d=n(5111),f=n(7430),m=n(2298);function h(e){return(0,m.Z)("MuiAppBar",e)}(0,f.Z)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);var p=n(6417),v=["className","color","enableColorOnDark","position"],g=function(e,t){return e?"".concat(null==e?void 0:e.replace(")",""),", ").concat(t,")"):t},b=(0,s.ZP)(d.Z,{name:"MuiAppBar",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["position".concat((0,c.Z)(n.position))],t["color".concat((0,c.Z)(n.color))]]}})((function(e){var t=e.theme,n=e.ownerState,r="light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[900];return(0,o.Z)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===n.position&&{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===n.position&&{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===n.position&&{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"static"===n.position&&{position:"static"},"relative"===n.position&&{position:"relative"},!t.vars&&(0,o.Z)({},"default"===n.color&&{backgroundColor:r,color:t.palette.getContrastText(r)},n.color&&"default"!==n.color&&"inherit"!==n.color&&"transparent"!==n.color&&{backgroundColor:t.palette[n.color].main,color:t.palette[n.color].contrastText},"inherit"===n.color&&{color:"inherit"},"dark"===t.palette.mode&&!n.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===n.color&&(0,o.Z)({backgroundColor:"transparent",color:"inherit"},"dark"===t.palette.mode&&{backgroundImage:"none"})),t.vars&&(0,o.Z)({},"default"===n.color&&{"--AppBar-background":n.enableColorOnDark?t.vars.palette.AppBar.defaultBg:g(t.vars.palette.AppBar.darkBg,t.vars.palette.AppBar.defaultBg),"--AppBar-color":n.enableColorOnDark?t.vars.palette.text.primary:g(t.vars.palette.AppBar.darkColor,t.vars.palette.text.primary)},n.color&&!n.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":n.enableColorOnDark?t.vars.palette[n.color].main:g(t.vars.palette.AppBar.darkBg,t.vars.palette[n.color].main),"--AppBar-color":n.enableColorOnDark?t.vars.palette[n.color].contrastText:g(t.vars.palette.AppBar.darkColor,t.vars.palette[n.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===n.color?"inherit":"var(--AppBar-color)"},"transparent"===n.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))})),y=a.forwardRef((function(e,t){var n=(0,u.Z)({props:e,name:"MuiAppBar"}),a=n.className,s=n.color,d=void 0===s?"primary":s,f=n.enableColorOnDark,m=void 0!==f&&f,g=n.position,y=void 0===g?"fixed":g,w=(0,r.Z)(n,v),Z=(0,o.Z)({},n,{color:d,position:y,enableColorOnDark:m}),x=function(e){var t=e.color,n=e.position,r=e.classes,o={root:["root","color".concat((0,c.Z)(t)),"position".concat((0,c.Z)(n))]};return(0,l.Z)(o,h,r)}(Z);return(0,p.jsx)(b,(0,o.Z)({square:!0,component:"header",ownerState:Z,elevation:4,className:(0,i.Z)(x.root,a,"fixed"===y&&"mui-fixed"),ref:t},w))}))},9536:function(e,t,n){"use strict";var r=n(3366),o=n(7462),a=n(7313),i=n(4146),l=n(1921),s=n(7551),u=n(8564),c=n(5469),d=n(9273),f=n(6417),m=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],h=(0,u.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((function(e){var t=e.theme,n=e.ownerState;return(0,o.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},n.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},n.light&&{borderColor:t.vars?"rgba(".concat(t.vars.palette.dividerChannel," / 0.08)"):(0,s.Fq)(t.palette.divider,.08)},"inset"===n.variant&&{marginLeft:72},"middle"===n.variant&&"horizontal"===n.orientation&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},"middle"===n.variant&&"vertical"===n.orientation&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},"vertical"===n.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},n.flexItem&&{alignSelf:"stretch",height:"auto"})}),(function(e){var t=e.ownerState;return(0,o.Z)({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})}),(function(e){var t=e.theme,n=e.ownerState;return(0,o.Z)({},n.children&&"vertical"!==n.orientation&&{"&::before, &::after":{width:"100%",borderTop:"thin solid ".concat((t.vars||t).palette.divider)}})}),(function(e){var t=e.theme,n=e.ownerState;return(0,o.Z)({},n.children&&"vertical"===n.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:"thin solid ".concat((t.vars||t).palette.divider)}})}),(function(e){var t=e.ownerState;return(0,o.Z)({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})})),p=(0,u.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:function(e,t){var n=e.ownerState;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((function(e){var t=e.theme,n=e.ownerState;return(0,o.Z)({display:"inline-block",paddingLeft:"calc(".concat(t.spacing(1)," * 1.2)"),paddingRight:"calc(".concat(t.spacing(1)," * 1.2)")},"vertical"===n.orientation&&{paddingTop:"calc(".concat(t.spacing(1)," * 1.2)"),paddingBottom:"calc(".concat(t.spacing(1)," * 1.2)")})})),v=a.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiDivider"}),a=n.absolute,s=void 0!==a&&a,u=n.children,v=n.className,g=n.component,b=void 0===g?u?"div":"hr":g,y=n.flexItem,w=void 0!==y&&y,Z=n.light,x=void 0!==Z&&Z,T=n.orientation,C=void 0===T?"horizontal":T,D=n.role,k=void 0===D?"hr"!==b?"separator":void 0:D,M=n.textAlign,P=void 0===M?"center":M,S=n.variant,V=void 0===S?"fullWidth":S,N=(0,r.Z)(n,m),I=(0,o.Z)({},n,{absolute:s,component:b,flexItem:w,light:x,orientation:C,role:k,textAlign:P,variant:V}),R=function(e){var t=e.absolute,n=e.children,r=e.classes,o=e.flexItem,a=e.light,i=e.orientation,s=e.textAlign,u={root:["root",t&&"absolute",e.variant,a&&"light","vertical"===i&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===i&&"withChildrenVertical","right"===s&&"vertical"!==i&&"textAlignRight","left"===s&&"vertical"!==i&&"textAlignLeft"],wrapper:["wrapper","vertical"===i&&"wrapperVertical"]};return(0,l.Z)(u,d.V,r)}(I);return(0,f.jsx)(h,(0,o.Z)({as:b,className:(0,i.Z)(R.root,v),role:k,ref:t,ownerState:I},N,{children:u?(0,f.jsx)(p,{className:R.wrapper,ownerState:I,children:u}):null}))}));v.muiSkipListHighlight=!0,t.Z=v},9273:function(e,t,n){"use strict";n.d(t,{V:function(){return a}});var r=n(7430),o=n(2298);function a(e){return(0,o.Z)("MuiDivider",e)}var i=(0,r.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);t.Z=i},7131:function(e,t,n){"use strict";n.d(t,{Z:function(){return Z}});var r=n(4942),o=n(3366),a=n(7462),i=n(7313),l=n(4146),s=n(1921),u=n(7551),c=n(8564),d=n(5469),f=n(7261),m=n(1615),h=n(7430),p=n(2298);function v(e){return(0,p.Z)("MuiIconButton",e)}var g=(0,h.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),b=n(6417),y=["edge","children","className","color","disabled","disableFocusRipple","size"],w=(0,c.ZP)(f.Z,{name:"MuiIconButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"default"!==n.color&&t["color".concat((0,m.Z)(n.color))],n.edge&&t["edge".concat((0,m.Z)(n.edge))],t["size".concat((0,m.Z)(n.size))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,a.Z)({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,u.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===n.edge&&{marginLeft:"small"===n.size?-3:-12},"end"===n.edge&&{marginRight:"small"===n.size?-3:-12})}),(function(e){var t,n=e.theme,o=e.ownerState,i=null==(t=(n.vars||n).palette)?void 0:t[o.color];return(0,a.Z)({},"inherit"===o.color&&{color:"inherit"},"inherit"!==o.color&&"default"!==o.color&&(0,a.Z)({color:null==i?void 0:i.main},!o.disableRipple&&{"&:hover":(0,a.Z)({},i&&{backgroundColor:n.vars?"rgba(".concat(i.mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,u.Fq)(i.main,n.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===o.size&&{padding:5,fontSize:n.typography.pxToRem(18)},"large"===o.size&&{padding:12,fontSize:n.typography.pxToRem(28)},(0,r.Z)({},"&.".concat(g.disabled),{backgroundColor:"transparent",color:(n.vars||n).palette.action.disabled}))})),Z=i.forwardRef((function(e,t){var n=(0,d.Z)({props:e,name:"MuiIconButton"}),r=n.edge,i=void 0!==r&&r,u=n.children,c=n.className,f=n.color,h=void 0===f?"default":f,p=n.disabled,g=void 0!==p&&p,Z=n.disableFocusRipple,x=void 0!==Z&&Z,T=n.size,C=void 0===T?"medium":T,D=(0,o.Z)(n,y),k=(0,a.Z)({},n,{edge:i,color:h,disabled:g,disableFocusRipple:x,size:C}),M=function(e){var t=e.classes,n=e.disabled,r=e.color,o=e.edge,a=e.size,i={root:["root",n&&"disabled","default"!==r&&"color".concat((0,m.Z)(r)),o&&"edge".concat((0,m.Z)(o)),"size".concat((0,m.Z)(a))]};return(0,s.Z)(i,v,t)}(k);return(0,b.jsx)(w,(0,a.Z)({className:(0,l.Z)(M.root,c),centerRipple:!0,focusRipple:!x,disabled:g,ref:t,ownerState:k},D,{children:u}))}))},9289:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(4942),o=n(3366),a=n(7462),i=n(7313),l=n(4146),s=n(1921),u=n(5469),c=n(8564),d=n(7430),f=n(2298);function m(e){return(0,f.Z)("MuiToolbar",e)}(0,d.Z)("MuiToolbar",["root","gutters","regular","dense"]);var h=n(6417),p=["className","component","disableGutters","variant"],v=(0,c.ZP)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,a.Z)({position:"relative",display:"flex",alignItems:"center"},!n.disableGutters&&(0,r.Z)({paddingLeft:t.spacing(2),paddingRight:t.spacing(2)},t.breakpoints.up("sm"),{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}),"dense"===n.variant&&{minHeight:48})}),(function(e){var t=e.theme;return"regular"===e.ownerState.variant&&t.mixins.toolbar})),g=i.forwardRef((function(e,t){var n=(0,u.Z)({props:e,name:"MuiToolbar"}),r=n.className,i=n.component,c=void 0===i?"div":i,d=n.disableGutters,f=void 0!==d&&d,g=n.variant,b=void 0===g?"regular":g,y=(0,o.Z)(n,p),w=(0,a.Z)({},n,{component:c,disableGutters:f,variant:b}),Z=function(e){var t=e.classes,n={root:["root",!e.disableGutters&&"gutters",e.variant]};return(0,s.Z)(n,m,t)}(w);return(0,h.jsx)(v,(0,a.Z)({as:c,className:(0,l.Z)(Z.root,r),ref:t,ownerState:w},y))}))},6396:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(7462),o=n(3366),a=n(7313),i=n(4942);var l=a.createContext(null);function s(){return a.useContext(l)}var u="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",c=n(6417);var d=function(e){var t=e.children,n=e.theme,o=s(),i=a.useMemo((function(){var e=null===o?n:function(e,t){return"function"===typeof t?t(e):(0,r.Z)({},e,t)}(o,n);return null!=e&&(e[u]=null!==o),e}),[n,o]);return(0,c.jsx)(l.Provider,{value:i,children:t})},f=n(3346),m=n(4976),h={};function p(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return a.useMemo((function(){var a=e&&t[e]||t;if("function"===typeof n){var l=n(a),s=e?(0,r.Z)({},t,(0,i.Z)({},e,l)):l;return o?function(){return s}:s}return e?(0,r.Z)({},t,(0,i.Z)({},e,n)):(0,r.Z)({},t,n)}),[e,t,n,o])}var v=function(e){var t=e.children,n=e.theme,r=e.themeId,o=(0,m.Z)(h),a=s()||h,i=p(r,o,n),l=p(r,a,n,!0);return(0,c.jsx)(d,{theme:l,children:(0,c.jsx)(f.T.Provider,{value:i,children:t})})},g=n(2951),b=["theme"];function y(e){var t=e.theme,n=(0,o.Z)(e,b),a=t[g.Z];return(0,c.jsx)(v,(0,r.Z)({},n,{themeId:a?g.Z:void 0,theme:a||t}))}},3358:function(e,t,n){"use strict";n.d(t,{H:function(){return bn}});var r=n(9439),o=n(3144),a=n(5671),i=n(7462),l=n(8627),s=n(3601),u=n(4800);function c(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e),r=(0,l.Z)(t);return isNaN(r)?new Date(NaN):r?(n.setDate(n.getDate()+r),n):n}function d(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e).getTime(),r=(0,l.Z)(t);return new Date(n+r)}function f(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e),r=(0,l.Z)(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var o=n.getDate(),a=new Date(n.getTime());return a.setMonth(n.getMonth()+r+1,0),o>=a.getDate()?a:(n.setFullYear(a.getFullYear(),a.getMonth(),o),n)}function m(e,t){return(0,u.Z)(2,arguments),f(e,12*(0,l.Z)(t))}function h(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e),r=(0,s.Z)(t),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}function p(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e),r=(0,s.Z)(t),o=h(n,r),a=Math.abs(function(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e),r=(0,s.Z)(t);return n.getFullYear()-r.getFullYear()}(n,r));n.setFullYear(1584),r.setFullYear(1584);var i=h(n,r)===-o,l=o*(a-Number(i));return 0===l?0:l}function v(e){(0,u.Z)(1,arguments);var t=(0,s.Z)(e);return t.setHours(23,59,59,999),t}function g(e){(0,u.Z)(1,arguments);var t=(0,s.Z)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function b(e,t){(0,u.Z)(2,arguments);var n,r=(0,s.Z)(e),o=(0,s.Z)(t),a=h(r,o),i=Math.abs(function(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e),r=(0,s.Z)(t);return 12*(n.getFullYear()-r.getFullYear())+(n.getMonth()-r.getMonth())}(r,o));if(i<1)n=0;else{1===r.getMonth()&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-a*i);var l=h(r,o)===-a;(function(e){(0,u.Z)(1,arguments);var t=(0,s.Z)(e);return v(t).getTime()===g(t).getTime()})((0,s.Z)(e))&&1===i&&1===h(e,o)&&(l=!1),n=a*(i-Number(l))}return 0===n?0:n}var y={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}},w="trunc";function Z(e){return e?y[e]:y[w]}function x(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function T(e){(0,u.Z)(1,arguments);var t=(0,s.Z)(e);return t.setHours(0,0,0,0),t}var C=864e5;function D(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function k(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e),r=(0,s.Z)(t),o=D(n,r),a=Math.abs(function(e,t){(0,u.Z)(2,arguments);var n=T(e),r=T(t),o=n.getTime()-x(n),a=r.getTime()-x(r);return Math.round((o-a)/C)}(n,r));n.setDate(n.getDate()-o*a);var i=o*(a-Number(D(n,r)===-o));return 0===i?0:i}Math.pow(10,8);var M=6e4,P=36e5;function S(e,t){return(0,u.Z)(2,arguments),(0,s.Z)(e).getTime()-(0,s.Z)(t).getTime()}var V=n(3149);function N(e,t){var n,r,o,a,i,c,d,f;(0,u.Z)(1,arguments);var m=(0,V.j)(),h=(0,l.Z)(null!==(n=null!==(r=null!==(o=null!==(a=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==a?a:null===t||void 0===t||null===(i=t.locale)||void 0===i||null===(c=i.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==o?o:m.weekStartsOn)&&void 0!==r?r:null===(d=m.locale)||void 0===d||null===(f=d.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=(0,s.Z)(e),v=p.getDay(),g=6+(v=o.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}var A=6048e5;function B(e){(0,u.Z)(1,arguments);var t=(0,s.Z)(e),n=F(t).getTime()-function(e){(0,u.Z)(1,arguments);var t=L(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),F(n)}(t).getTime();return Math.round(n/A)+1}var W=n(9489);function j(e,t){var n,r,o,a,i,c,d,f;(0,u.Z)(1,arguments);var m=(0,s.Z)(e),h=m.getUTCFullYear(),p=(0,V.j)(),v=(0,l.Z)(null!==(n=null!==(r=null!==(o=null!==(a=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==a?a:null===t||void 0===t||null===(i=t.locale)||void 0===i||null===(c=i.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==o?o:p.firstWeekContainsDate)&&void 0!==r?r:null===(d=p.locale)||void 0===d||null===(f=d.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==n?n:1);if(!(v>=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(h+1,0,v),g.setUTCHours(0,0,0,0);var b=(0,W.Z)(g,t),y=new Date(0);y.setUTCFullYear(h,0,v),y.setUTCHours(0,0,0,0);var w=(0,W.Z)(y,t);return m.getTime()>=b.getTime()?h+1:m.getTime()>=w.getTime()?h:h-1}var z=6048e5;function H(e,t){(0,u.Z)(1,arguments);var n=(0,s.Z)(e),r=(0,W.Z)(n,t).getTime()-function(e,t){var n,r,o,a,i,s,c,d;(0,u.Z)(1,arguments);var f=(0,V.j)(),m=(0,l.Z)(null!==(n=null!==(r=null!==(o=null!==(a=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==a?a:null===t||void 0===t||null===(i=t.locale)||void 0===i||null===(s=i.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==o?o:f.firstWeekContainsDate)&&void 0!==r?r:null===(c=f.locale)||void 0===c||null===(d=c.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==n?n:1),h=j(e,t),p=new Date(0);return p.setUTCFullYear(h,0,m),p.setUTCHours(0,0,0,0),(0,W.Z)(p,t)}(n,t).getTime();return Math.round(r/z)+1}function Y(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length0?n:1-n;return Y("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):Y(n+1,2)},d:function(e,t){return Y(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return Y(e.getUTCHours()%12||12,t.length)},H:function(e,t){return Y(e.getUTCHours(),t.length)},m:function(e,t){return Y(e.getUTCMinutes(),t.length)},s:function(e,t){return Y(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds();return Y(Math.floor(r*Math.pow(10,n-3)),t.length)}},q="midnight",X="noon",Q="morning",G="afternoon",K="evening",_="night",$={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return U.y(e,t)},Y:function(e,t,n,r){var o=j(e,r),a=o>0?o:1-o;return"YY"===t?Y(a%100,2):"Yo"===t?n.ordinalNumber(a,{unit:"year"}):Y(a,t.length)},R:function(e,t){return Y(L(e),t.length)},u:function(e,t){return Y(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Y(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Y(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return U.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return Y(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var o=H(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):Y(o,t.length)},I:function(e,t,n){var r=B(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):Y(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):U.d(e,t)},D:function(e,t,n){var r=function(e){(0,u.Z)(1,arguments);var t=(0,s.Z)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=n-t.getTime();return Math.floor(r/864e5)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):Y(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var o=e.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return Y(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var o=e.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return Y(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return Y(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,o=e.getUTCHours();switch(r=12===o?X:0===o?q:o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,o=e.getUTCHours();switch(r=o>=17?K:o>=12?G:o>=4?Q:_,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return U.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):U.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):Y(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):Y(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):U.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):U.s(e,t)},S:function(e,t){return U.S(e,t)},X:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return ee(o);case"XXXX":case"XX":return te(o);default:return te(o,":")}},x:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return ee(o);case"xxxx":case"xx":return te(o);default:return te(o,":")}},O:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+J(o,":");default:return"GMT"+te(o,":")}},z:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+J(o,":");default:return"GMT"+te(o,":")}},t:function(e,t,n,r){var o=r._originalDate||e;return Y(Math.floor(o.getTime()/1e3),t.length)},T:function(e,t,n,r){return Y((r._originalDate||e).getTime(),t.length)}};function J(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),a=r%60;if(0===a)return n+String(o);var i=t||"";return n+String(o)+i+Y(a,2)}function ee(e,t){return e%60===0?(e>0?"-":"+")+Y(Math.abs(e)/60,2):te(e,t)}function te(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+Y(Math.floor(o/60),2)+n+Y(o%60,2)}var ne=$,re=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},oe=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},ae={p:oe,P:function(e,t){var n,r=e.match(/(P+)(p+)?/)||[],o=r[1],a=r[2];if(!a)return re(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",re(o,t)).replace("{{time}}",oe(a,t))}},ie=["D","DD"],le=["YY","YYYY"];function se(e){return-1!==ie.indexOf(e)}function ue(e){return-1!==le.indexOf(e)}function ce(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var de=n(2165),fe=de.Z,me=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,he=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,pe=/^'([^]*?)'?$/,ve=/''/g,ge=/[a-zA-Z]/;function be(e,t,n){var r,o,a,i,c,d,f,m,h,p,v,g,b,y,w,Z,T,C;(0,u.Z)(2,arguments);var D=String(t),k=(0,V.j)(),M=null!==(r=null!==(o=null===n||void 0===n?void 0:n.locale)&&void 0!==o?o:k.locale)&&void 0!==r?r:fe,P=(0,l.Z)(null!==(a=null!==(i=null!==(c=null!==(d=null===n||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==d?d:null===n||void 0===n||null===(f=n.locale)||void 0===f||null===(m=f.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==c?c:k.firstWeekContainsDate)&&void 0!==i?i:null===(h=k.locale)||void 0===h||null===(p=h.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==a?a:1);if(!(P>=1&&P<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var S=(0,l.Z)(null!==(v=null!==(g=null!==(b=null!==(y=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==y?y:null===n||void 0===n||null===(w=n.locale)||void 0===w||null===(Z=w.options)||void 0===Z?void 0:Z.weekStartsOn)&&void 0!==b?b:k.weekStartsOn)&&void 0!==g?g:null===(T=k.locale)||void 0===T||null===(C=T.options)||void 0===C?void 0:C.weekStartsOn)&&void 0!==v?v:0);if(!(S>=0&&S<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!M.localize)throw new RangeError("locale must contain localize property");if(!M.formatLong)throw new RangeError("locale must contain formatLong property");var N=(0,s.Z)(e);if(!O(N))throw new RangeError("Invalid time value");var I=E(N,x(N)),R={firstWeekContainsDate:P,weekStartsOn:S,locale:M,_originalDate:N};return D.match(he).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,ae[t])(e,M.formatLong):e})).join("").match(me).map((function(r){if("''"===r)return"'";var o=r[0];if("'"===o)return function(e){var t=e.match(pe);if(!t)return e;return t[1].replace(ve,"'")}(r);var a=ne[o];if(a)return null!==n&&void 0!==n&&n.useAdditionalWeekYearTokens||!ue(r)||ce(r,t,String(e)),null!==n&&void 0!==n&&n.useAdditionalDayOfYearTokens||!se(r)||ce(r,t,String(e)),a(I,r,M.localize,R);if(o.match(ge))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return r})).join("")}function ye(e){(0,u.Z)(1,arguments);var t=(0,s.Z)(e),n=t.getFullYear(),r=t.getMonth(),o=new Date(0);return o.setFullYear(n,r+1,0),o.setHours(0,0,0,0),o.getDate()}function we(e,t){var n,r,o,a,i,c,d,f;(0,u.Z)(1,arguments);var m=(0,V.j)(),h=(0,l.Z)(null!==(n=null!==(r=null!==(o=null!==(a=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==a?a:null===t||void 0===t||null===(i=t.locale)||void 0===i||null===(c=i.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==o?o:m.weekStartsOn)&&void 0!==r?r:null===(d=m.locale)||void 0===d||null===(f=d.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=(0,s.Z)(e),v=p.getDay(),g=(v=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setFullYear(h+1,0,v),g.setHours(0,0,0,0);var b=we(g,t),y=new Date(0);y.setFullYear(h,0,v),y.setHours(0,0,0,0);var w=we(y,t);return m.getTime()>=b.getTime()?h+1:m.getTime()>=w.getTime()?h:h-1}(e,t),v=new Date(0);return v.setFullYear(p,0,h),v.setHours(0,0,0,0),we(v,t)}function xe(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e),r=(0,s.Z)(t);return n.getTime()>r.getTime()}function Te(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e),r=(0,s.Z)(t);return n.getTime()0,o=r?t:1-t;if(o<=50)n=e||100;else{var a=o+50;n=e+100*Math.floor(a/100)-(e>=a%100?100:0)}return r?n:1-n}function ht(e){return e%400===0||e%4===0&&e%100!==0}var pt=function(e){(0,Pe.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0}},{key:"set",value:function(e,t,n){var r=e.getUTCFullYear();if(n.isTwoDigitYear){var o=mt(n.year,r);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(Oe),vt=function(e){(0,Pe.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0}},{key:"set",value:function(e,t,n,r){var o=j(e,r);if(n.isTwoDigitYear){var a=mt(n.year,o);return e.setUTCFullYear(a,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,W.Z)(e,r)}var i="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(i,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,W.Z)(e,r)}}]),n}(Oe),gt=function(e){(0,Pe.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(Oe),wt=function(e){(0,Pe.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(Oe),Zt=function(e){(0,Pe.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(Oe),xt=function(e){(0,Pe.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(Oe);var Tt=function(e){(0,Pe.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=53}},{key:"set",value:function(e,t,n,r){return(0,W.Z)(function(e,t,n){(0,u.Z)(2,arguments);var r=(0,s.Z)(e),o=(0,l.Z)(t),a=H(r,n)-o;return r.setUTCDate(r.getUTCDate()-7*a),r}(e,n,r),r)}}]),n}(Oe);var Ct=function(e){(0,Pe.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=53}},{key:"set",value:function(e,t,n){return F(function(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e),r=(0,l.Z)(t),o=B(n)-r;return n.setUTCDate(n.getUTCDate()-7*o),n}(e,n))}}]),n}(Oe),Dt=[31,28,31,30,31,30,31,31,30,31,30,31],kt=[31,29,31,30,31,30,31,31,30,31,30,31],Mt=function(e){(0,Pe.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=kt[r]:t>=1&&t<=Dt[r]}},{key:"set",value:function(e,t,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}]),n}(Oe),Pt=function(e){(0,Pe.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,n){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e}}]),n}(Oe);function St(e,t,n){var r,o,a,i,c,d,f,m;(0,u.Z)(2,arguments);var h=(0,V.j)(),p=(0,l.Z)(null!==(r=null!==(o=null!==(a=null!==(i=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==i?i:null===n||void 0===n||null===(c=n.locale)||void 0===c||null===(d=c.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==a?a:h.weekStartsOn)&&void 0!==o?o:null===(f=h.locale)||void 0===f||null===(m=f.options)||void 0===m?void 0:m.weekStartsOn)&&void 0!==r?r:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,s.Z)(e),g=(0,l.Z)(t),b=((g%7+7)%7=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=St(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(Oe),Nt=function(e){(0,Pe.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=St(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(Oe),It=function(e){(0,Pe.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=St(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(Oe);var Rt=function(e){(0,Pe.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=7}},{key:"set",value:function(e,t,n){return e=function(e,t){(0,u.Z)(2,arguments);var n=(0,l.Z)(t);n%7===0&&(n-=7);var r=(0,s.Z)(e),o=((n%7+7)%7<1?7:0)+n-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+o),r}(e,n),e.setUTCHours(0,0,0,0),e}}]),n}(Oe),Ot=function(e){(0,Pe.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=12}},{key:"set",value:function(e,t,n){var r=e.getUTCHours()>=12;return r&&n<12?e.setUTCHours(n+12,0,0,0):r||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e}}]),n}(Oe),At=function(e){(0,Pe.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=23}},{key:"set",value:function(e,t,n){return e.setUTCHours(n,0,0,0),e}}]),n}(Oe),Bt=function(e){(0,Pe.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=11}},{key:"set",value:function(e,t,n){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e}}]),n}(Oe),Wt=function(e){(0,Pe.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=24}},{key:"set",value:function(e,t,n){var r=n<=24?n%24:n;return e.setUTCHours(r,0,0,0),e}}]),n}(Oe),jt=function(e){(0,Pe.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCMinutes(n,0,0),e}}]),n}(Oe),zt=function(e){(0,Pe.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCSeconds(n,0),e}}]),n}(Oe),Ht=function(e){(0,Pe.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&N<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var I=(0,l.Z)(null!==(g=null!==(b=null!==(y=null!==(w=null===r||void 0===r?void 0:r.weekStartsOn)&&void 0!==w?w:null===r||void 0===r||null===(Z=r.locale)||void 0===Z||null===(T=Z.options)||void 0===T?void 0:T.weekStartsOn)&&void 0!==y?y:P.weekStartsOn)&&void 0!==b?b:null===(C=P.locale)||void 0===C||null===(D=C.options)||void 0===D?void 0:D.weekStartsOn)&&void 0!==g?g:0);if(!(I>=0&&I<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===M)return""===k?(0,s.Z)(n):new Date(NaN);var O,F={firstWeekContainsDate:N,weekStartsOn:I,locale:S},L=[new Re],A=M.match(Kt).map((function(e){var t=e[0];return t in ae?(0,ae[t])(e,S.formatLong):e})).join("").match(Gt),B=[],W=(0,De.Z)(A);try{var j=function(){var t=O.value;null!==r&&void 0!==r&&r.useAdditionalWeekYearTokens||!ue(t)||ce(t,M,e),null!==r&&void 0!==r&&r.useAdditionalDayOfYearTokens||!se(t)||ce(t,M,e);var n=t[0],o=Qt[n];if(o){var a=o.incompatibleTokens;if(Array.isArray(a)){var i=B.find((function(e){return a.includes(e.token)||e.token===n}));if(i)throw new RangeError("The format string mustn't contain `".concat(i.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===o.incompatibleTokens&&B.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));B.push({token:n,fullToken:t});var l=o.run(k,t,S.match,F);if(!l)return{v:new Date(NaN)};L.push(l.setter),k=l.rest}else{if(n.match(en))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===t?t="'":"'"===n&&(t=t.match(_t)[1].replace($t,"'")),0!==k.indexOf(t))return{v:new Date(NaN)};k=k.slice(t.length)}};for(W.s();!(O=W.n()).done;){var z=j();if("object"===(0,R.Z)(z))return z.v}}catch(_){W.e(_)}finally{W.f()}if(k.length>0&&Jt.test(k))return new Date(NaN);var H=L.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return L.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),Y=(0,s.Z)(n);if(isNaN(Y.getTime()))return new Date(NaN);var U,q=E(Y,x(Y)),X={},Q=(0,De.Z)(H);try{for(Q.s();!(U=Q.n()).done;){var G=U.value;if(!G.validate(q,F))return new Date(NaN);var K=G.set(q,X,F);Array.isArray(K)?(q=K[0],ke(X,K[1])):q=K}}catch(_){Q.e(_)}finally{Q.f()}return q}function nn(e){(0,u.Z)(1,arguments);var t=(0,s.Z)(e);return t.setDate(1),t.setHours(0,0,0,0),t}function rn(e){(0,u.Z)(1,arguments);var t=(0,s.Z)(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function on(e,t){var n;(0,u.Z)(1,arguments);var r=(0,l.Z)(null!==(n=null===t||void 0===t?void 0:t.additionalDigits)&&void 0!==n?n:2);if(2!==r&&1!==r&&0!==r)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!==typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var o,a=function(e){var t,n={},r=e.split(an.dateTimeDelimiter);if(r.length>2)return n;/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],an.timeZoneDelimiter.test(n.date)&&(n.date=e.split(an.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length)));if(t){var o=an.timezone.exec(t);o?(n.time=t.replace(o[1],""),n.timezone=o[1]):n.time=t}return n}(e);if(a.date){var i=function(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var o=r[1]?parseInt(r[1]):null,a=r[2]?parseInt(r[2]):null;return{year:null===a?o:100*a,restDateString:e.slice((r[1]||r[2]).length)}}(a.date,r);o=function(e,t){if(null===t)return new Date(NaN);var n=e.match(ln);if(!n)return new Date(NaN);var r=!!n[4],o=cn(n[1]),a=cn(n[2])-1,i=cn(n[3]),l=cn(n[4]),s=cn(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,l,s)?function(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var o=r.getUTCDay()||7,a=7*(t-1)+n+1-o;return r.setUTCDate(r.getUTCDate()+a),r}(t,l,s):new Date(NaN);var u=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(fn[t]||(mn(e)?29:28))}(t,a,i)&&function(e,t){return t>=1&&t<=(mn(e)?366:365)}(t,o)?(u.setUTCFullYear(t,a,Math.max(o,i)),u):new Date(NaN)}(i.restDateString,i.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);var s,c=o.getTime(),d=0;if(a.time&&(d=function(e){var t=e.match(sn);if(!t)return NaN;var n=dn(t[1]),r=dn(t[2]),o=dn(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,r,o))return NaN;return n*P+r*M+1e3*o}(a.time),isNaN(d)))return new Date(NaN);if(!a.timezone){var f=new Date(c+d),m=new Date(0);return m.setFullYear(f.getUTCFullYear(),f.getUTCMonth(),f.getUTCDate()),m.setHours(f.getUTCHours(),f.getUTCMinutes(),f.getUTCSeconds(),f.getUTCMilliseconds()),m}return s=function(e){if("Z"===e)return 0;var t=e.match(un);if(!t)return 0;var n="+"===t[1]?-1:1,r=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,o))return NaN;return n*(r*P+o*M)}(a.timezone),isNaN(s)?new Date(NaN):new Date(c+d+s)}var an={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},ln=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,sn=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,un=/^([+-])(\d{2})(?::?(\d{2}))?$/;function cn(e){return e?parseInt(e):1}function dn(e){return e&&parseFloat(e.replace(",","."))||0}var fn=[31,null,31,30,31,30,31,31,30,31,30,31];function mn(e){return e%400===0||e%4===0&&e%100!==0}var hn=n(7510),pn=n.n(hn),vn={y:{sectionType:"year",contentType:"digit",maxLength:4},yy:"year",yyy:{sectionType:"year",contentType:"digit",maxLength:4},yyyy:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMMM:{sectionType:"month",contentType:"letter"},MMM:{sectionType:"month",contentType:"letter"},L:{sectionType:"month",contentType:"digit",maxLength:2},LL:"month",LLL:{sectionType:"month",contentType:"letter"},LLLL:{sectionType:"month",contentType:"letter"},d:{sectionType:"day",contentType:"digit",maxLength:2},dd:"day",do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"letter"},EE:{sectionType:"weekDay",contentType:"letter"},EEE:{sectionType:"weekDay",contentType:"letter"},EEEE:{sectionType:"weekDay",contentType:"letter"},EEEEE:{sectionType:"weekDay",contentType:"letter"},i:{sectionType:"weekDay",contentType:"digit",maxLength:1},ii:"weekDay",iii:{sectionType:"weekDay",contentType:"letter"},iiii:{sectionType:"weekDay",contentType:"letter"},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},ee:"weekDay",eee:{sectionType:"weekDay",contentType:"letter"},eeee:{sectionType:"weekDay",contentType:"letter"},eeeee:{sectionType:"weekDay",contentType:"letter"},eeeeee:{sectionType:"weekDay",contentType:"letter"},c:{sectionType:"weekDay",contentType:"digit",maxLength:1},cc:"weekDay",ccc:{sectionType:"weekDay",contentType:"letter"},cccc:{sectionType:"weekDay",contentType:"letter"},ccccc:{sectionType:"weekDay",contentType:"letter"},cccccc:{sectionType:"weekDay",contentType:"letter"},a:"meridiem",aa:"meridiem",aaa:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},gn={year:"yyyy",month:"LLLL",monthShort:"MMM",dayOfMonth:"d",weekday:"EEEE",weekdayShort:"EEE",hours24h:"HH",hours12h:"hh",meridiem:"aa",minutes:"mm",seconds:"ss",fullDate:"PP",fullDateWithWeekday:"PPPP",keyboardDate:"P",shortDate:"MMM d",normalDate:"d MMMM",normalDateWithWeekday:"EEE, MMM d",monthAndYear:"LLLL yyyy",monthAndDate:"MMMM d",fullTime:"p",fullTime12h:"hh:mm aa",fullTime24h:"HH:mm",fullDateTime:"PP p",fullDateTime12h:"PP hh:mm aa",fullDateTime24h:"PP HH:mm",keyboardDateTime:"P p",keyboardDateTime12h:"P hh:mm aa",keyboardDateTime24h:"P HH:mm"},bn=(0,o.Z)((function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=n.locale,h=n.formats;(0,a.Z)(this,e),this.isMUIAdapter=!0,this.isTimezoneCompatible=!1,this.lib="date-fns",this.locale=void 0,this.formats=void 0,this.formatTokenMap=vn,this.escapedCharacters={start:"'",end:"'"},this.date=function(e){return"undefined"===typeof e?new Date:null===e?null:new Date(e)},this.dateWithTimezone=function(e){return t.date(e)},this.getTimezone=function(){return"default"},this.setTimezone=function(e){return e},this.toJsDate=function(e){return e},this.parseISO=function(e){return on(e)},this.toISO=function(e){return function(e,t){var n,r;(0,u.Z)(1,arguments);var o=(0,s.Z)(e);if(isNaN(o.getTime()))throw new RangeError("Invalid time value");var a=String(null!==(n=null===t||void 0===t?void 0:t.format)&&void 0!==n?n:"extended"),i=String(null!==(r=null===t||void 0===t?void 0:t.representation)&&void 0!==r?r:"complete");if("extended"!==a&&"basic"!==a)throw new RangeError("format must be 'extended' or 'basic'");if("date"!==i&&"time"!==i&&"complete"!==i)throw new RangeError("representation must be 'date', 'time', or 'complete'");var l="",c="",d="extended"===a?"-":"",f="extended"===a?":":"";if("time"!==i){var m=Y(o.getDate(),2),h=Y(o.getMonth()+1,2),p=Y(o.getFullYear(),4);l="".concat(p).concat(d).concat(h).concat(d).concat(m)}if("date"!==i){var v=o.getTimezoneOffset();if(0!==v){var g=Math.abs(v),b=Y(Math.floor(g/60),2),y=Y(g%60,2);c="".concat(v<0?"+":"-").concat(b,":").concat(y)}else c="Z";var w=""===l?"":"T",Z=[Y(o.getHours(),2),Y(o.getMinutes(),2),Y(o.getSeconds(),2)].join(f);l="".concat(l).concat(w).concat(Z).concat(c)}return l}(e,{format:"extended"})},this.parse=function(e,n){return""===e?null:tn(e,n,new Date,{locale:t.locale})},this.getCurrentLocaleCode=function(){var e;return(null==(e=t.locale)?void 0:e.code)||"en-US"},this.is12HourCycleInCurrentLocale=function(){return!t.locale||/a/.test(t.locale.formatLong.time())},this.expandFormat=function(e){return e.match(/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g).map((function(e){var n=e[0];return"p"===n||"P"===n?(0,pn()[n])(e,(t.locale||de.Z).formatLong,{}):e})).join("")},this.getFormatHelperText=function(e){return t.expandFormat(e).replace(/(aaa|aa|a)/g,"(a|p)m").toLocaleLowerCase()},this.isNull=function(e){return null===e},this.isValid=function(e){return O(t.date(e))},this.format=function(e,n){return t.formatByString(e,t.formats[n])},this.formatByString=function(e,n){return be(e,n,{locale:t.locale})},this.formatNumber=function(e){return e},this.getDiff=function(e,n,r){switch(r){case"years":return p(e,t.date(n));case"quarters":return function(e,t,n){(0,u.Z)(2,arguments);var r=b(e,t)/3;return Z(null===n||void 0===n?void 0:n.roundingMethod)(r)}(e,t.date(n));case"months":return b(e,t.date(n));case"weeks":return function(e,t,n){(0,u.Z)(2,arguments);var r=k(e,t)/7;return Z(null===n||void 0===n?void 0:n.roundingMethod)(r)}(e,t.date(n));case"days":return k(e,t.date(n));case"hours":return function(e,t,n){(0,u.Z)(2,arguments);var r=S(e,t)/P;return Z(null===n||void 0===n?void 0:n.roundingMethod)(r)}(e,t.date(n));case"minutes":return function(e,t,n){(0,u.Z)(2,arguments);var r=S(e,t)/M;return Z(null===n||void 0===n?void 0:n.roundingMethod)(r)}(e,t.date(n));case"seconds":return function(e,t,n){(0,u.Z)(2,arguments);var r=S(e,t)/1e3;return Z(null===n||void 0===n?void 0:n.roundingMethod)(r)}(e,t.date(n));default:return S(e,t.date(n))}},this.isEqual=function(e,t){return null===e&&null===t||function(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e),r=(0,s.Z)(t);return n.getTime()===r.getTime()}(e,t)},this.isSameYear=function(e,t){return function(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e),r=(0,s.Z)(t);return n.getFullYear()===r.getFullYear()}(e,t)},this.isSameMonth=function(e,t){return function(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e),r=(0,s.Z)(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}(e,t)},this.isSameDay=function(e,t){return function(e,t){(0,u.Z)(2,arguments);var n=T(e),r=T(t);return n.getTime()===r.getTime()}(e,t)},this.isSameHour=function(e,t){return function(e,t){(0,u.Z)(2,arguments);var n=Ce(e),r=Ce(t);return n.getTime()===r.getTime()}(e,t)},this.isAfter=function(e,t){return xe(e,t)},this.isAfterYear=function(e,t){return xe(e,I(t))},this.isAfterDay=function(e,t){return xe(e,v(t))},this.isBefore=function(e,t){return Te(e,t)},this.isBeforeYear=function(e,t){return Te(e,rn(t))},this.isBeforeDay=function(e,t){return Te(e,T(t))},this.isWithinRange=function(e,t){var n=(0,r.Z)(t,2);return function(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e).getTime(),r=(0,s.Z)(t.start).getTime(),o=(0,s.Z)(t.end).getTime();if(!(r<=o))throw new RangeError("Invalid interval");return n>=r&&n<=o}(e,{start:n[0],end:n[1]})},this.startOfYear=function(e){return rn(e)},this.startOfMonth=function(e){return nn(e)},this.startOfWeek=function(e){return we(e,{locale:t.locale})},this.startOfDay=function(e){return T(e)},this.endOfYear=function(e){return I(e)},this.endOfMonth=function(e){return g(e)},this.endOfWeek=function(e){return N(e,{locale:t.locale})},this.endOfDay=function(e){return v(e)},this.addYears=function(e,t){return m(e,t)},this.addMonths=function(e,t){return f(e,t)},this.addWeeks=function(e,t){return function(e,t){return(0,u.Z)(2,arguments),c(e,7*(0,l.Z)(t))}(e,t)},this.addDays=function(e,t){return c(e,t)},this.addHours=function(e,t){return function(e,t){return(0,u.Z)(2,arguments),d(e,36e5*(0,l.Z)(t))}(e,t)},this.addMinutes=function(e,t){return function(e,t){return(0,u.Z)(2,arguments),d(e,6e4*(0,l.Z)(t))}(e,t)},this.addSeconds=function(e,t){return function(e,t){return(0,u.Z)(2,arguments),d(e,1e3*(0,l.Z)(t))}(e,t)},this.getYear=function(e){return function(e){return(0,u.Z)(1,arguments),(0,s.Z)(e).getFullYear()}(e)},this.getMonth=function(e){return function(e){return(0,u.Z)(1,arguments),(0,s.Z)(e).getMonth()}(e)},this.getDate=function(e){return function(e){return(0,u.Z)(1,arguments),(0,s.Z)(e).getDate()}(e)},this.getHours=function(e){return function(e){return(0,u.Z)(1,arguments),(0,s.Z)(e).getHours()}(e)},this.getMinutes=function(e){return function(e){return(0,u.Z)(1,arguments),(0,s.Z)(e).getMinutes()}(e)},this.getSeconds=function(e){return function(e){return(0,u.Z)(1,arguments),(0,s.Z)(e).getSeconds()}(e)},this.getMilliseconds=function(e){return function(e){return(0,u.Z)(1,arguments),(0,s.Z)(e).getMilliseconds()}(e)},this.setYear=function(e,t){return function(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e),r=(0,l.Z)(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(r),n)}(e,t)},this.setMonth=function(e,t){return function(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e),r=(0,l.Z)(t),o=n.getFullYear(),a=n.getDate(),i=new Date(0);i.setFullYear(o,r,15),i.setHours(0,0,0,0);var c=ye(i);return n.setMonth(r,Math.min(a,c)),n}(e,t)},this.setDate=function(e,t){return function(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e),r=(0,l.Z)(t);return n.setDate(r),n}(e,t)},this.setHours=function(e,t){return function(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e),r=(0,l.Z)(t);return n.setHours(r),n}(e,t)},this.setMinutes=function(e,t){return function(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e),r=(0,l.Z)(t);return n.setMinutes(r),n}(e,t)},this.setSeconds=function(e,t){return function(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e),r=(0,l.Z)(t);return n.setSeconds(r),n}(e,t)},this.setMilliseconds=function(e,t){return function(e,t){(0,u.Z)(2,arguments);var n=(0,s.Z)(e),r=(0,l.Z)(t);return n.setMilliseconds(r),n}(e,t)},this.getDaysInMonth=function(e){return ye(e)},this.getNextMonth=function(e){return f(e,1)},this.getPreviousMonth=function(e){return f(e,-1)},this.getMonthArray=function(e){for(var n=[rn(e)];n.length<12;){var r=n[n.length-1];n.push(t.getNextMonth(r))}return n},this.mergeDateAndTime=function(e,n){return t.setSeconds(t.setMinutes(t.setHours(e,t.getHours(n)),t.getMinutes(n)),t.getSeconds(n))},this.getWeekdays=function(){var e=new Date;return function(e,t){var n;(0,u.Z)(1,arguments);var r=e||{},o=(0,s.Z)(r.start),a=(0,s.Z)(r.end).getTime();if(!(o.getTime()<=a))throw new RangeError("Invalid interval");var i=[],l=o;l.setHours(0,0,0,0);var c=Number(null!==(n=null===t||void 0===t?void 0:t.step)&&void 0!==n?n:1);if(c<1||isNaN(c))throw new RangeError("`options.step` must be a number greater than 1");for(;l.getTime()<=a;)i.push((0,s.Z)(l)),l.setDate(l.getDate()+c),l.setHours(0,0,0,0);return i}({start:we(e,{locale:t.locale}),end:N(e,{locale:t.locale})}).map((function(e){return t.formatByString(e,"EEEEEE")}))},this.getWeekArray=function(e){for(var n=we(nn(e),{locale:t.locale}),r=N(g(e),{locale:t.locale}),o=0,a=n,i=[];Te(a,r);){var l=Math.floor(o/7);i[l]=i[l]||[],i[l].push(a),a=c(a,1),o+=1}return i},this.getWeekNumber=function(e){return function(e,t){(0,u.Z)(1,arguments);var n=(0,s.Z)(e),r=we(n,t).getTime()-Ze(n,t).getTime();return Math.round(r/6048e5)+1}(e,{locale:t.locale})},this.getYearRange=function(e,t){for(var n=rn(e),r=I(t),o=[],a=n;Te(a,r);)o.push(a),a=m(a,1);return o},this.getMeridiemText=function(e){return"am"===e?"AM":"PM"},this.locale=o,this.formats=(0,i.Z)({},gn,h)}))},9190:function(e,t,n){"use strict";n.d(t,{x:function(){return Di}});var r=n(7462),o=n(3366),a=n(7313),i=n.t(a,2),l=n(9439),s=n(4976),u=n(4290),c=n(3118);function d(e,t,n,r,o){var i=a.useState((function(){return o&&n?n(e).matches:r?r(e).matches:t})),s=(0,l.Z)(i,2),u=s[0],d=s[1];return(0,c.Z)((function(){var t=!0;if(n){var r=n(e),o=function(){t&&d(r.matches)};return o(),r.addListener(o),function(){t=!1,r.removeListener(o)}}}),[e,n]),u}var f=i.useSyncExternalStore;function m(e,t,n,r,o){var i=a.useCallback((function(){return t}),[t]),s=a.useMemo((function(){if(o&&n)return function(){return n(e).matches};if(null!==r){var t=r(e).matches;return function(){return t}}return i}),[i,e,r,o,n]),u=a.useMemo((function(){if(null===n)return[i,function(){return function(){}}];var t=n(e);return[function(){return t.matches},function(e){return t.addListener(e),function(){t.removeListener(e)}}]}),[i,n,e]),c=(0,l.Z)(u,2),d=c[0],m=c[1];return f(m,d,s)}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,s.Z)(),r="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,o=(0,u.Z)({name:"MuiUseMediaQuery",props:t,theme:n}),a=o.defaultMatches,i=void 0!==a&&a,l=o.matchMedia,c=void 0===l?r?window.matchMedia:null:l,h=o.ssrMatchMedia,p=void 0===h?null:h,v=o.noSsr,g=void 0!==v&&v;var b="function"===typeof e?e(n):e;return b=b.replace(/^@media( ?)/m,""),(void 0!==f?m:d)(b,i,c,p,g)}var p=n(5469),v=n(3433),g=n(5192),b=n.n(g),y=n(3107),w=b().oneOfType([b().func,b().object]),Z=n(4504),x=n(4505),T=n(7392),C=n(5094),D=n(6182),k=n(1577),M=n(9860),P=n(9448);function S(e,t,n,r){var o=e.value,i=e.onError,l=(0,P.Do)(),s=a.useRef(r),u=t({adapter:l,value:o,props:e});return a.useEffect((function(){i&&!n(u,s.current)&&i(u,o),s.current=u}),[n,i,s,u,o]),u}var V=n(566),N=n(5422),I=n(1126),R=n(4827),O=function(e){return null!=e.saveQuery},E=function(e){var t=e.sections,n=e.updateSectionValue,o=e.sectionsValueBoundaries,i=e.setTempAndroidValueStr,s=e.timezone,u=(0,P.nB)(),c=a.useState(null),d=(0,l.Z)(c,2),f=d[0],m=d[1],h=(0,D.Z)((function(){return m(null)}));a.useEffect((function(){var e;null!=f&&(null==(e=t[f.sectionIndex])?void 0:e.type)!==f.sectionType&&h()}),[t,f,h]),a.useEffect((function(){if(null!=f){var e=setTimeout((function(){return h()}),5e3);return function(){window.clearTimeout(e)}}return function(){}}),[f,h]);var p=function(e,n,r){var o=e.keyPressed,a=e.sectionIndex,i=o.toLowerCase(),l=t[a];if(null!=f&&(!r||r(f.value))&&f.sectionIndex===a){var s="".concat(f.value).concat(i),u=n(s,l);if(!O(u))return m({sectionIndex:a,value:s,sectionType:l.type}),u}var c=n(i,l);return O(c)&&!c.saveQuery?(h(),null):(m({sectionIndex:a,value:i,sectionType:l.type}),O(c)?null:c)};return{applyCharacterEditing:(0,D.Z)((function(e){var a=t[e.sectionIndex],l=!Number.isNaN(Number(e.keyPressed))?function(e){var t=function(e,t){var n=Number("".concat(e)),r=o[t.type]({currentDate:null,format:t.format,contentType:t.contentType});if(n>r.maximum)return{saveQuery:!1};if(nr.maximum||e.length===r.maximum.toString().length;return{sectionValue:(0,V.P$)(u,s,n,r,t),shouldGoToNextSection:a}};return p(e,(function(e,n){if("digit"===n.contentType||"digit-with-letter"===n.contentType)return t(e,n);if("month"===n.type){var o=(0,V.Su)(u,s,"digit","month","MM"),a=t(e,{type:n.type,format:"MM",hasLeadingZerosInFormat:o,hasLeadingZerosInInput:!0,contentType:"digit",maxLength:2});if(O(a))return a;var i=(0,V.Yo)(u,a.sectionValue,"MM",n.format);return(0,r.Z)({},a,{sectionValue:i})}if("weekDay"===n.type){var l=t(e,n);if(O(l))return l;var c=(0,V.R7)(u,s,n.format)[Number(l.sectionValue)-1];return(0,r.Z)({},l,{sectionValue:c})}return{saveQuery:!1}}),(function(e){return!Number.isNaN(Number(e))}))}(e):function(e){var t=function(e,t,n){var r=t.filter((function(e){return e.toLowerCase().startsWith(n)}));return 0===r.length?{saveQuery:!1}:{sectionValue:r[0],shouldGoToNextSection:1===r.length}},n=function(e,n,o,a){var i=function(e){return(0,V.wk)(u,s,n.type,e)};if("letter"===n.contentType)return t(n.format,i(n.format),e);if(o&&null!=a&&"letter"===(0,V.z1)(u,o).contentType){var l=i(o),c=t(0,l,e);return O(c)?{saveQuery:!1}:(0,r.Z)({},c,{sectionValue:a(c.sectionValue,l)})}return{saveQuery:!1}};return p(e,(function(e,t){switch(t.type){case"month":return n(e,t,u.formats.month,(function(e){return(0,V.Yo)(u,e,u.formats.month,t.format)}));case"weekDay":return n(e,t,u.formats.weekday,(function(e,t){return t.indexOf(e).toString()}));case"meridiem":return n(e,t);default:return{saveQuery:!1}}}))}(e);null==l?i(null):n({activeSection:a,newSectionValue:l.sectionValue,shouldGoToNextSection:l.shouldGoToNextSection})})),resetCharacterQuery:h}};var F=function e(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:document).activeElement;return t?t.shadowRoot?e(t.shadowRoot):t:null},L=["onClick","onKeyDown","onFocus","onBlur","onMouseUp","onPaste","error","clearable","onClear"],A=function(e){var t=(0,P.nB)(),n=function(e){var t=(0,P.nB)(),n=(0,P.og)(),o=(0,P.Do)(),i="rtl"===(0,M.Z)().direction,s=e.valueManager,u=e.fieldValueManager,c=e.valueType,d=e.validator,f=e.internalProps,m=e.internalProps,h=m.value,p=m.defaultValue,g=m.referenceDate,b=m.onChange,y=m.format,w=m.formatDensity,Z=void 0===w?"dense":w,x=m.selectedSections,T=m.onSelectedSectionsChange,C=m.shouldRespectLeadingZeros,D=void 0!==C&&C,k=m.timezone,S=(0,I.w)({timezone:k,value:h,defaultValue:p,onChange:b,valueManager:s}),O=S.timezone,E=S.value,F=S.handleValueChange,L=a.useMemo((function(){return(0,V.IE)(t,O)}),[t,O]),A=a.useCallback((function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return u.getSectionsFromValue(t,e,r,i,(function(e){return(0,V.nC)(t,O,n,y,e,Z,D,i)}))}),[u,y,n,i,D,t,Z,O]),B=a.useMemo((function(){return u.getValueStrFromSections(A(s.emptyValue),i)}),[u,A,s.emptyValue,i]),W=a.useState((function(){var e=A(E);(0,V.wz)(e,c);var n={sections:e,value:E,referenceValue:s.emptyValue,tempValueStrAndroid:null},o=(0,R.hV)(e),a=s.getInitialReferenceValue({referenceDate:g,value:E,utils:t,props:f,granularity:o,timezone:O});return(0,r.Z)({},n,{referenceValue:a})})),j=(0,l.Z)(W,2),z=j[0],H=j[1],Y=(0,N.Z)({controlled:x,default:null,name:"useField",state:"selectedSectionIndexes"}),U=(0,l.Z)(Y,2),q=U[0],X=U[1],Q=function(e){X(e),null==T||T(e),H((function(e){return(0,r.Z)({},e,{selectedSectionQuery:null})}))},G=a.useMemo((function(){if(null==q)return null;if("all"===q)return{startIndex:0,endIndex:z.sections.length-1,shouldSelectBoundarySelectors:!0};if("number"===typeof q)return{startIndex:q,endIndex:q};if("string"===typeof q){var e=z.sections.findIndex((function(e){return e.type===q}));return{startIndex:e,endIndex:e}}return q}),[q,z.sections]),K=function(e){var t=e.value,n=e.referenceValue,a=e.sections;H((function(e){return(0,r.Z)({},e,{sections:a,value:t,referenceValue:n,tempValueStrAndroid:null})}));var i={validationError:d({adapter:o,value:t,props:(0,r.Z)({},f,{value:t,timezone:O})})};F(t,i)},_=function(e,t){var n=(0,v.Z)(z.sections);return n[e]=(0,r.Z)({},n[e],{value:t,modified:!0}),(0,V.qc)(n,i)};return a.useEffect((function(){var e=A(z.value);(0,V.wz)(e,c),H((function(t){return(0,r.Z)({},t,{sections:e})}))}),[y,t.locale]),a.useEffect((function(){(!s.areValuesEqual(t,z.value,E)||s.getTimezone(t,z.value)!==s.getTimezone(t,E))&&H((function(e){return(0,r.Z)({},e,{value:E,referenceValue:u.updateReferenceValue(t,E,e.referenceValue),sections:A(E)})}))}),[E]),{state:z,selectedSectionIndexes:G,setSelectedSections:Q,clearValue:function(){s.areValuesEqual(t,z.value,s.emptyValue)||K({value:s.emptyValue,referenceValue:z.referenceValue,sections:A(s.emptyValue)})},clearActiveSection:function(){if(null!=G){var e=z.sections[G.startIndex];if(""!==e.value){var n=u.getActiveDateManager(t,z,e),o=1===n.getSections(z.sections).filter((function(e){return""!==e.value})).length,a=_(G.startIndex,""),i=o?null:t.date(new Date("")),l=n.getNewValuesFromNewActiveDate(i);(null!=i&&!t.isValid(i))!==(null!=n.date&&!t.isValid(n.date))?K((0,r.Z)({},l,{sections:a})):H((function(e){return(0,r.Z)({},e,l,{sections:a,tempValueStrAndroid:null})}))}}},updateSectionValue:function(e){var n=e.activeSection,o=e.newSectionValue;e.shouldGoToNextSection&&G&&G.startIndex=i.sections[i.sections.length-1].endInInput?1:i.sections.findIndex((function(e){return e.startInInput-e.startSeparator.length>n})))?i.sections.length-1:t-1;u(r)}},se=(0,D.Z)((function(e){if(!e.isDefaultPrevented()){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1,o=r?n:t,a=(0,V.EY)(o);if(null==s||r)m(r?n:a);else{var l;if(0===s.startIndex&&s.endIndex===i.sections.length-1&&1===a.length)l=a;else{for(var u=(0,V.EY)(G.getValueStrFromSections(i.sections,ae)),c=-1,d=-1,f=0;fp.end)return;var v=a.length-u.length+p.end-(0,V.EY)(p.endSeparator||"").length;l=a.slice(p.start+(0,V.EY)(p.startSeparator||"").length,v)}(0,V.Dt)()&&0===l.length?h(o):ee({keyPressed:l,sectionIndex:s.startIndex})}}})),he=(0,D.Z)((function(e){switch(null==j||j(e),!0){case"a"===e.key&&(e.ctrlKey||e.metaKey):e.preventDefault(),u("all");break;case"ArrowRight"===e.key:if(e.preventDefault(),null==s)u(ie.startIndex);else if(s.startIndex!==s.endIndex)u(s.endIndex);else{var n=ie.neighbors[s.startIndex].rightIndex;null!==n&&u(n)}break;case"ArrowLeft"===e.key:if(e.preventDefault(),null==s)u(ie.endIndex);else if(s.startIndex!==s.endIndex)u(s.startIndex);else{var r=ie.neighbors[s.startIndex].leftIndex;null!==r&&u(r)}break;case["Backspace","Delete"].includes(e.key):if(e.preventDefault(),T)break;null==s||0===s.startIndex&&s.endIndex===i.sections.length-1?c():d(),te();break;case["ArrowUp","ArrowDown","Home","End","PageUp","PageDown"].includes(e.key):if(e.preventDefault(),T||null==s)break;var o=i.sections[s.startIndex],a=G.getActiveDateManager(t,i,o),l=(0,V.o$)(t,b,o,e.key,p,a.date,{minutesStep:A});f({activeSection:o,newSectionValue:l,shouldGoToNextSection:!1})}}));(0,C.Z)((function(){if(ne.current)if(null!=s){var e=i.sections[s.startIndex],t=i.sections[s.endIndex],n=e.startInInput,r=t.endInInput;if(s.shouldSelectBoundarySelectors&&(n-=e.startSeparator.length,r+=t.endSeparator.length),n!==ne.current.selectionStart||r!==ne.current.selectionEnd){var o=ne.current.scrollTop;ne.current===F(document)&&ne.current.setSelectionRange(n,r),ne.current.scrollTop=o}}else ne.current.scrollLeft&&(ne.current.scrollLeft=0)}));var pe=S((0,r.Z)({},w,{value:i.value,timezone:b}),_,K.isSameError,K.defaultErrorState),ve=a.useMemo((function(){return void 0!==q?q:K.hasError(pe)}),[K,pe,q]);a.useEffect((function(){ve||s||te()}),[i.referenceValue,s,ve]),a.useEffect((function(){return ne.current&&ne.current===document.activeElement&&u("all"),function(){return window.clearTimeout(oe.current)}}),[]),a.useEffect((function(){null!=i.tempValueStrAndroid&&null!=s&&(te(),d())}),[i.tempValueStrAndroid]);var ge=a.useMemo((function(){var e;return null!=(e=i.tempValueStrAndroid)?e:G.getValueStrFromSections(i.sections,ae)}),[i.sections,G,i.tempValueStrAndroid,ae]),be=a.useMemo((function(){return null==s||"letter"===i.sections[s.startIndex].contentType?"text":"numeric"}),[s,i.sections]),ye=ne.current&&ne.current===F(document),we=K.areValuesEqual(t,i.value,K.emptyValue),Ze=!ye&&we;a.useImperativeHandle(O,(function(){return{getSections:function(){return i.sections},getActiveSectionIndex:function(){var e,t,n=null!=(e=ne.current.selectionStart)?e:0,r=null!=(t=ne.current.selectionEnd)?t:0;if(0===n&&0===r)return null;var o=n<=i.sections[0].startInInput?1:i.sections.findIndex((function(e){return e.startInInput-e.startSeparator.length>n}));return-1===o?i.sections.length-1:o-1},setSelectedSections:function(e){return u(e)}}}));var xe=(0,D.Z)((function(e){var t;e.preventDefault();for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o .".concat(Te.iconWrapper),(0,r.Z)({},"top"===i.iconPosition&&{marginBottom:6},"bottom"===i.iconPosition&&{marginTop:6},"start"===i.iconPosition&&{marginRight:a.spacing(1)},"end"===i.iconPosition&&{marginLeft:a.spacing(1)})),"inherit"===i.textColor&&(t={color:"inherit",opacity:.6},(0,_.Z)(t,"&.".concat(Te.selected),{opacity:1}),(0,_.Z)(t,"&.".concat(Te.disabled),{opacity:(a.vars||a).palette.action.disabledOpacity}),t),"primary"===i.textColor&&(n={color:(a.vars||a).palette.text.secondary},(0,_.Z)(n,"&.".concat(Te.selected),{color:(a.vars||a).palette.primary.main}),(0,_.Z)(n,"&.".concat(Te.disabled),{color:(a.vars||a).palette.text.disabled}),n),"secondary"===i.textColor&&(o={color:(a.vars||a).palette.text.secondary},(0,_.Z)(o,"&.".concat(Te.selected),{color:(a.vars||a).palette.secondary.main}),(0,_.Z)(o,"&.".concat(Te.disabled),{color:(a.vars||a).palette.text.disabled}),o),i.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},i.wrapped&&{fontSize:a.typography.pxToRem(12)})})),ke=a.forwardRef((function(e,t){var n=(0,p.Z)({props:e,name:"MuiTab"}),i=n.className,l=n.disabled,s=void 0!==l&&l,u=n.disableFocusRipple,c=void 0!==u&&u,d=n.fullWidth,f=n.icon,m=n.iconPosition,h=void 0===m?"top":m,v=n.indicator,g=n.label,b=n.onChange,y=n.onClick,w=n.onFocus,Z=n.selected,x=n.selectionFollowsFocus,T=n.textColor,C=void 0===T?"inherit":T,D=n.value,k=n.wrapped,M=void 0!==k&&k,P=(0,o.Z)(n,Ce),S=(0,r.Z)({},n,{disabled:s,disableFocusRipple:c,selected:Z,icon:!!f,iconPosition:h,label:!!g,fullWidth:d,textColor:C,wrapped:M}),V=function(e){var t=e.classes,n=e.textColor,r=e.fullWidth,o=e.wrapped,a=e.icon,i=e.label,l=e.selected,s=e.disabled,u={root:["root",a&&i&&"labelIcon","textColor".concat((0,ee.Z)(n)),r&&"fullWidth",o&&"wrapped",l&&"selected",s&&"disabled"],iconWrapper:["iconWrapper"]};return(0,J.Z)(u,Ze,t)}(S),N=f&&g&&a.isValidElement(f)?a.cloneElement(f,{className:(0,$.Z)(V.iconWrapper,f.props.className)}):f;return(0,ce.jsxs)(De,(0,r.Z)({focusRipple:!c,className:(0,$.Z)(V.root,i),ref:t,role:"tab","aria-selected":Z,disabled:s,onClick:function(e){!Z&&b&&b(e,D),y&&y(e)},onFocus:function(e){x&&!Z&&b&&b(e,D),w&&w(e)},ownerState:S,tabIndex:Z?0:-1},P,{children:["top"===h||"start"===h?(0,ce.jsxs)(a.Fragment,{children:[N,g]}):(0,ce.jsxs)(a.Fragment,{children:[g,N]}),v]}))})),Me=(n(6214),n(8706));function Pe(){if(xe)return xe;var e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),xe="reverse",e.scrollLeft>0?xe="default":(e.scrollLeft=1,0===e.scrollLeft&&(xe="negative")),document.body.removeChild(e),xe}function Se(e,t){var n=e.scrollLeft;if("rtl"!==t)return n;switch(Pe()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function Ve(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var Ne=n(3533),Ie=["onChange"],Re={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var Oe=n(1171),Ee=(0,Oe.Z)((0,ce.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),Fe=(0,Oe.Z)((0,ce.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function Le(e){return(0,ie.Z)("MuiTabScrollButton",e)}var Ae=(0,ae.Z)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),Be=["className","slots","slotProps","direction","orientation","disabled"],We=(0,oe.ZP)(we.Z,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.orientation&&t[n.orientation]]}})((function(e){var t=e.ownerState;return(0,r.Z)((0,_.Z)({width:40,flexShrink:0,opacity:.8},"&.".concat(Ae.disabled),{opacity:0}),"vertical"===t.orientation&&{width:"100%",height:40,"& svg":{transform:"rotate(".concat(t.isRtl?-90:90,"deg)")}})})),je=a.forwardRef((function(e,t){var n,a,i=(0,p.Z)({props:e,name:"MuiTabScrollButton"}),l=i.className,s=i.slots,u=void 0===s?{}:s,c=i.slotProps,d=void 0===c?{}:c,f=i.direction,m=(0,o.Z)(i,Be),h="rtl"===(0,M.Z)().direction,v=(0,r.Z)({isRtl:h},i),g=function(e){var t=e.classes,n={root:["root",e.orientation,e.disabled&&"disabled"]};return(0,J.Z)(n,Le,t)}(v),b=null!=(n=u.StartScrollButtonIcon)?n:Ee,y=null!=(a=u.EndScrollButtonIcon)?a:Fe,w=(0,T.y)({elementType:b,externalSlotProps:d.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:v}),Z=(0,T.y)({elementType:y,externalSlotProps:d.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:v});return(0,ce.jsx)(We,(0,r.Z)({component:"div",className:(0,$.Z)(g.root,l),ref:t,role:null,ownerState:v,tabIndex:null},m,{children:"left"===f?(0,ce.jsx)(b,(0,r.Z)({},w)):(0,ce.jsx)(y,(0,r.Z)({},Z))}))})),ze=n(3236);function He(e){return(0,ie.Z)("MuiTabs",e)}var Ye=(0,ae.Z)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),Ue=n(6106),qe=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],Xe=function(e,t){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild},Qe=function(e,t){return e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild},Ge=function(e,t,n){for(var r=!1,o=n(e,t);o;){if(o===e.firstChild){if(r)return;r=!0}var a=o.disabled||"true"===o.getAttribute("aria-disabled");if(o.hasAttribute("tabindex")&&!a)return void o.focus();o=n(e,o)}},Ke=(0,oe.ZP)("div",{name:"MuiTabs",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,_.Z)({},"& .".concat(Ye.scrollButtons),t.scrollButtons),(0,_.Z)({},"& .".concat(Ye.scrollButtons),n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile),t.root,n.vertical&&t.vertical]}})((function(e){var t=e.ownerState,n=e.theme;return(0,r.Z)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&(0,_.Z)({},"& .".concat(Ye.scrollButtons),(0,_.Z)({},n.breakpoints.down("sm"),{display:"none"})))})),_e=(0,oe.ZP)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:function(e,t){var n=e.ownerState;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})((function(e){var t=e.ownerState;return(0,r.Z)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},t.fixed&&{overflowX:"hidden",width:"100%"},t.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},t.scrollableX&&{overflowX:"auto",overflowY:"hidden"},t.scrollableY&&{overflowY:"auto",overflowX:"hidden"})})),$e=(0,oe.ZP)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:function(e,t){var n=e.ownerState;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})((function(e){var t=e.ownerState;return(0,r.Z)({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"})})),Je=(0,oe.ZP)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:function(e,t){return t.indicator}})((function(e){var t=e.ownerState,n=e.theme;return(0,r.Z)({position:"absolute",height:2,bottom:0,width:"100%",transition:n.transitions.create()},"primary"===t.indicatorColor&&{backgroundColor:(n.vars||n).palette.primary.main},"secondary"===t.indicatorColor&&{backgroundColor:(n.vars||n).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0})})),et=(0,oe.ZP)((function(e){var t=e.onChange,n=(0,o.Z)(e,Ie),i=a.useRef(),l=a.useRef(null),s=function(){i.current=l.current.offsetHeight-l.current.clientHeight};return(0,c.Z)((function(){var e=(0,Me.Z)((function(){var e=i.current;s(),e!==i.current&&t(i.current)})),n=(0,Ne.Z)(l.current);return n.addEventListener("resize",e),function(){e.clear(),n.removeEventListener("resize",e)}}),[t]),a.useEffect((function(){s(),t(i.current)}),[t]),(0,ce.jsx)("div",(0,r.Z)({style:Re,ref:l},n))}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),tt={},nt=a.forwardRef((function(e,t){var n=(0,p.Z)({props:e,name:"MuiTabs"}),i=(0,M.Z)(),s="rtl"===i.direction,u=n["aria-label"],c=n["aria-labelledby"],d=n.action,f=n.centered,m=void 0!==f&&f,h=n.children,v=n.className,g=n.component,b=void 0===g?"div":g,y=n.allowScrollButtonsMobile,w=void 0!==y&&y,Z=n.indicatorColor,x=void 0===Z?"primary":Z,C=n.onChange,D=n.orientation,k=void 0===D?"horizontal":D,P=n.ScrollButtonComponent,S=void 0===P?je:P,V=n.scrollButtons,N=void 0===V?"auto":V,I=n.selectionFollowsFocus,R=n.slots,O=void 0===R?{}:R,E=n.slotProps,F=void 0===E?{}:E,L=n.TabIndicatorProps,A=void 0===L?{}:L,B=n.TabScrollButtonProps,W=void 0===B?{}:B,j=n.textColor,z=void 0===j?"primary":j,H=n.value,Y=n.variant,U=void 0===Y?"standard":Y,q=n.visibleScrollbar,X=void 0!==q&&q,Q=(0,o.Z)(n,qe),G="scrollable"===U,K="vertical"===k,ee=K?"scrollTop":"scrollLeft",te=K?"top":"left",ne=K?"bottom":"right",re=K?"clientHeight":"clientWidth",oe=K?"height":"width",ae=(0,r.Z)({},n,{component:b,allowScrollButtonsMobile:w,indicatorColor:x,orientation:k,vertical:K,scrollButtons:N,textColor:z,variant:U,visibleScrollbar:X,fixed:!G,hideScrollbar:G&&!X,scrollableX:G&&!K,scrollableY:G&&K,centered:m&&!G,scrollButtonsHideMobile:!w}),ie=function(e){var t=e.vertical,n=e.fixed,r=e.hideScrollbar,o=e.scrollableX,a=e.scrollableY,i=e.centered,l=e.scrollButtonsHideMobile,s=e.classes,u={root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",a&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",i&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",l&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return(0,J.Z)(u,He,s)}(ae),le=(0,T.y)({elementType:O.StartScrollButtonIcon,externalSlotProps:F.startScrollButtonIcon,ownerState:ae}),se=(0,T.y)({elementType:O.EndScrollButtonIcon,externalSlotProps:F.endScrollButtonIcon,ownerState:ae});var ue=a.useState(!1),de=(0,l.Z)(ue,2),fe=de[0],me=de[1],he=a.useState(tt),pe=(0,l.Z)(he,2),ve=pe[0],ge=pe[1],be=a.useState(!1),ye=(0,l.Z)(be,2),we=ye[0],Ze=ye[1],xe=a.useState(!1),Te=(0,l.Z)(xe,2),Ce=Te[0],De=Te[1],ke=a.useState(!1),Ie=(0,l.Z)(ke,2),Re=Ie[0],Oe=Ie[1],Ee=a.useState({overflow:"hidden",scrollbarWidth:0}),Fe=(0,l.Z)(Ee,2),Le=Fe[0],Ae=Fe[1],Be=new Map,We=a.useRef(null),Ye=a.useRef(null),nt=function(){var e,t,n=We.current;if(n){var r=n.getBoundingClientRect();e={clientWidth:n.clientWidth,scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollLeftNormalized:Se(n,i.direction),scrollWidth:n.scrollWidth,top:r.top,bottom:r.bottom,left:r.left,right:r.right}}if(n&&!1!==H){var o=Ye.current.children;if(o.length>0){var a=o[Be.get(H)];0,t=a?a.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:t}},rt=(0,ze.Z)((function(){var e,t,n=nt(),r=n.tabsMeta,o=n.tabMeta,a=0;if(K)t="top",o&&r&&(a=o.top-r.top+r.scrollTop);else if(t=s?"right":"left",o&&r){var i=s?r.scrollLeftNormalized+r.clientWidth-r.scrollWidth:r.scrollLeft;a=(s?-1:1)*(o[t]-r[t]+i)}var l=(e={},(0,_.Z)(e,t,a),(0,_.Z)(e,oe,o?o[oe]:0),e);if(isNaN(ve[t])||isNaN(ve[oe]))ge(l);else{var u=Math.abs(ve[t]-l[t]),c=Math.abs(ve[oe]-l[oe]);(u>=1||c>=1)&&ge(l)}})),ot=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).animation;void 0===t||t?function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},a=r.ease,i=void 0===a?Ve:a,l=r.duration,s=void 0===l?300:l,u=null,c=t[e],d=!1,f=function(){d=!0};c===n?o(new Error("Element already at target position")):requestAnimationFrame((function r(a){if(d)o(new Error("Animation cancelled"));else{null===u&&(u=a);var l=Math.min(1,(a-u)/s);t[e]=i(l)*(n-c)+c,l>=1?requestAnimationFrame((function(){o(null)})):requestAnimationFrame(r)}}))}(ee,We.current,e,{duration:i.transitions.duration.standard}):We.current[ee]=e},at=function(e){var t=We.current[ee];K?t+=e:(t+=e*(s?-1:1),t*=s&&"reverse"===Pe()?-1:1),ot(t)},it=function(){for(var e=We.current[re],t=0,n=Array.from(Ye.current.children),r=0;re){0===r&&(t=e);break}t+=o[re]}return t},lt=function(){at(-1*it())},st=function(){at(it())},ut=a.useCallback((function(e){Ae({overflow:null,scrollbarWidth:e})}),[]),ct=(0,ze.Z)((function(e){var t=nt(),n=t.tabsMeta,r=t.tabMeta;if(r&&n)if(r[te]n[ne]){var a=n[ee]+(r[ne]-n[ne]);ot(a,{animation:e})}})),dt=(0,ze.Z)((function(){G&&!1!==N&&Oe(!Re)}));a.useEffect((function(){var e,t=(0,Me.Z)((function(){We.current&&rt()})),n=(0,Ne.Z)(We.current);return n.addEventListener("resize",t),"undefined"!==typeof ResizeObserver&&(e=new ResizeObserver(t),Array.from(Ye.current.children).forEach((function(t){e.observe(t)}))),function(){t.clear(),n.removeEventListener("resize",t),e&&e.disconnect()}}),[rt]),a.useEffect((function(){var e=Array.from(Ye.current.children),t=e.length;if("undefined"!==typeof IntersectionObserver&&t>0&&G&&!1!==N){var n=e[0],r=e[t-1],o={root:We.current,threshold:.99},a=new IntersectionObserver((function(e){Ze(!e[0].isIntersecting)}),o);a.observe(n);var i=new IntersectionObserver((function(e){De(!e[0].isIntersecting)}),o);return i.observe(r),function(){a.disconnect(),i.disconnect()}}}),[G,N,Re,null==h?void 0:h.length]),a.useEffect((function(){me(!0)}),[]),a.useEffect((function(){rt()})),a.useEffect((function(){ct(tt!==ve)}),[ct,ve]),a.useImperativeHandle(d,(function(){return{updateIndicator:rt,updateScrollButtons:dt}}),[rt,dt]);var ft=(0,ce.jsx)(Je,(0,r.Z)({},A,{className:(0,$.Z)(ie.indicator,A.className),ownerState:ae,style:(0,r.Z)({},ve,A.style)})),mt=0,ht=a.Children.map(h,(function(e){if(!a.isValidElement(e))return null;var t=void 0===e.props.value?mt:e.props.value;Be.set(t,mt);var n=t===H;return mt+=1,a.cloneElement(e,(0,r.Z)({fullWidth:"fullWidth"===U,indicator:n&&!fe&&ft,selected:n,selectionFollowsFocus:I,onChange:C,textColor:z,value:t},1!==mt||!1!==H||e.props.tabIndex?{}:{tabIndex:0}))})),pt=function(){var e={};e.scrollbarSizeListener=G?(0,ce.jsx)(et,{onChange:ut,className:(0,$.Z)(ie.scrollableX,ie.hideScrollbar)}):null;var t=G&&("auto"===N&&(we||Ce)||!0===N);return e.scrollButtonStart=t?(0,ce.jsx)(S,(0,r.Z)({slots:{StartScrollButtonIcon:O.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:le},orientation:k,direction:s?"right":"left",onClick:lt,disabled:!we},W,{className:(0,$.Z)(ie.scrollButtons,W.className)})):null,e.scrollButtonEnd=t?(0,ce.jsx)(S,(0,r.Z)({slots:{EndScrollButtonIcon:O.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:se},orientation:k,direction:s?"left":"right",onClick:st,disabled:!Ce},W,{className:(0,$.Z)(ie.scrollButtons,W.className)})):null,e}();return(0,ce.jsxs)(Ke,(0,r.Z)({className:(0,$.Z)(ie.root,v),ownerState:ae,ref:t,as:b},Q,{children:[pt.scrollButtonStart,pt.scrollbarSizeListener,(0,ce.jsxs)(_e,{className:ie.scroller,ownerState:ae,style:(0,_.Z)({overflow:Le.overflow},K?"margin".concat(s?"Left":"Right"):"marginBottom",X?void 0:-Le.scrollbarWidth),ref:We,children:[(0,ce.jsx)($e,{"aria-label":u,"aria-labelledby":c,"aria-orientation":"vertical"===k?"vertical":null,className:ie.flexContainer,ownerState:ae,onKeyDown:function(e){var t=Ye.current,n=(0,Ue.Z)(t).activeElement;if("tab"===n.getAttribute("role")){var r="horizontal"===k?"ArrowLeft":"ArrowUp",o="horizontal"===k?"ArrowRight":"ArrowDown";switch("horizontal"===k&&s&&(r="ArrowRight",o="ArrowLeft"),e.key){case r:e.preventDefault(),Ge(t,n,Qe);break;case o:e.preventDefault(),Ge(t,n,Xe);break;case"Home":e.preventDefault(),Ge(t,null,Xe);break;case"End":e.preventDefault(),Ge(t,null,Qe)}}},ref:Ye,role:"tablist",children:ht}),fe&&ft]}),pt.scrollButtonEnd]}))})),rt=nt;function ot(e){return(0,ie.Z)("MuiDateTimePickerTabs",e)}(0,ae.Z)("MuiDateTimePickerTabs",["root"]);var at=function(e){return(0,B.Fb)(e)?"date":"time"},it=(0,oe.ZP)(rt,{name:"MuiDateTimePickerTabs",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.theme;return{boxShadow:"0 -1px 0 0 inset ".concat((t.vars||t).palette.divider),"&:last-child":(0,_.Z)({boxShadow:"0 1px 0 0 inset ".concat((t.vars||t).palette.divider)},"& .".concat(Ye.indicator),{bottom:"auto",top:0})}})),lt=function(e){var t=(0,p.Z)({props:e,name:"MuiDateTimePickerTabs"}),n=t.dateIcon,r=void 0===n?(0,ce.jsx)(he.x,{}):n,o=t.onViewChange,i=t.timeIcon,l=void 0===i?(0,ce.jsx)(he.wZ,{}):i,s=t.view,u=t.hidden,c=void 0===u?"undefined"===typeof window||window.innerHeight<667:u,d=(0,P.og)(),f=function(e){var t=e.classes;return(0,J.Z)({root:["root"]},ot,t)}(t);return c?null:(0,ce.jsxs)(it,{ownerState:t,variant:"fullWidth",value:at(s),onChange:function(e,t){o("date"===t?"day":"hours")},className:f.root,children:[(0,ce.jsx)(ke,{value:"date","aria-label":d.dateTableLabel,icon:(0,ce.jsx)(a.Fragment,{children:r})}),(0,ce.jsx)(ke,{value:"time","aria-label":d.timeTableLabel,icon:(0,ce.jsx)(a.Fragment,{children:l})})]})};function st(e){return(0,ie.Z)("MuiPickersToolbarText",e)}var ut=(0,ae.Z)("MuiPickersToolbarText",["root","selected"]),ct=["className","selected","value"],dt=(0,oe.ZP)(te.Z,{name:"MuiPickersToolbarText",slot:"Root",overridesResolver:function(e,t){return[t.root,(0,_.Z)({},"&.".concat(ut.selected),t.selected)]}})((function(e){var t=e.theme;return(0,_.Z)({transition:t.transitions.create("color"),color:(t.vars||t).palette.text.secondary},"&.".concat(ut.selected),{color:(t.vars||t).palette.text.primary})})),ft=a.forwardRef((function(e,t){var n=(0,p.Z)({props:e,name:"MuiPickersToolbarText"}),a=n.className,i=n.value,l=(0,o.Z)(n,ct),s=function(e){var t=e.classes,n={root:["root",e.selected&&"selected"]};return(0,J.Z)(n,st,t)}(n);return(0,ce.jsx)(dt,(0,r.Z)({ref:t,className:(0,$.Z)(a,s.root),component:"span"},l,{children:i}))}));function mt(e){return(0,ie.Z)("MuiPickersToolbar",e)}(0,ae.Z)("MuiPickersToolbar",["root","content"]);var ht=(0,oe.ZP)("div",{name:"MuiPickersToolbar",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.theme,n=e.ownerState;return(0,r.Z)({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between",padding:t.spacing(2,3)},n.isLandscape&&{height:"auto",maxWidth:160,padding:16,justifyContent:"flex-start",flexWrap:"wrap"})})),pt=(0,oe.ZP)("div",{name:"MuiPickersToolbar",slot:"Content",overridesResolver:function(e,t){return t.content}})((function(e){var t,n=e.ownerState;return{display:"flex",flexWrap:"wrap",width:"100%",justifyContent:n.isLandscape?"flex-start":"space-between",flexDirection:n.isLandscape?null!=(t=n.landscapeDirection)?t:"column":"row",flex:1,alignItems:n.isLandscape?"flex-start":"center"}})),vt=a.forwardRef((function(e,t){var n=(0,p.Z)({props:e,name:"MuiPickersToolbar"}),r=n.children,o=n.className,a=n.toolbarTitle,i=n.hidden,l=n.titleId,s=n,u=function(e){var t=e.classes,n={root:["root"],content:["content"],penIconButton:["penIconButton",e.isLandscape&&"penIconButtonLandscape"]};return(0,J.Z)(n,mt,t)}(s);return i?null:(0,ce.jsxs)(ht,{ref:t,className:(0,$.Z)(u.root,o),ownerState:s,children:[(0,ce.jsx)(te.Z,{color:"text.secondary",variant:"overline",id:l,children:a}),(0,ce.jsx)(pt,{className:u.content,ownerState:s,children:r})]})})),gt=n(1095),bt=["align","className","selected","typographyClassName","value","variant","width"],yt=(0,oe.ZP)(gt.Z,{name:"MuiPickersToolbarButton",slot:"Root",overridesResolver:function(e,t){return t.root}})({padding:0,minWidth:16,textTransform:"none"}),wt=a.forwardRef((function(e,t){var n=(0,p.Z)({props:e,name:"MuiPickersToolbarButton"}),a=n.align,i=n.className,l=n.selected,s=n.typographyClassName,u=n.value,c=n.variant,d=n.width,f=(0,o.Z)(n,bt),m=function(e){var t=e.classes;return(0,J.Z)({root:["root"]},mt,t)}(n);return(0,ce.jsx)(yt,(0,r.Z)({variant:"text",ref:t,className:(0,$.Z)(i,m.root)},d?{sx:{width:d}}:{},f,{children:(0,ce.jsx)(ft,{align:a,className:s,variant:c,value:u,selected:l})}))}));function Zt(e){return(0,ie.Z)("MuiDateTimePickerToolbar",e)}var xt=(0,ae.Z)("MuiDateTimePickerToolbar",["root","dateContainer","timeContainer","timeDigitsContainer","separator","timeLabelReverse","ampmSelection","ampmLandscape","ampmLabel"]),Tt=n(4518),Ct=n(1870),Dt=["ampm","ampmInClock","value","onChange","view","isLandscape","onViewChange","toolbarFormat","toolbarPlaceholder","views","disabled","readOnly","toolbarVariant"],kt=function(e){var t=e.classes,n=e.theme,r=e.isLandscape,o={root:["root"],dateContainer:["dateContainer"],timeContainer:["timeContainer","rtl"===n.direction&&"timeLabelReverse"],timeDigitsContainer:["timeDigitsContainer","rtl"===n.direction&&"timeLabelReverse"],separator:["separator"],ampmSelection:["ampmSelection",r&&"ampmLandscape"],ampmLabel:["ampmLabel"]};return(0,J.Z)(o,Zt,t)},Mt=(0,oe.ZP)(vt,{name:"MuiDateTimePickerToolbar",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.theme,n=e.ownerState;return{paddingLeft:"desktop"!==n.toolbarVariant||n.isLandscape?16:24,paddingRight:"desktop"!==n.toolbarVariant||n.isLandscape?16:0,borderBottom:"desktop"===n.toolbarVariant?"1px solid ".concat((t.vars||t).palette.divider):void 0,borderRight:"desktop"===n.toolbarVariant&&n.isLandscape?"1px solid ".concat((t.vars||t).palette.divider):void 0,justifyContent:"space-around",position:"relative"}}));Mt.propTypes={as:b().elementType,classes:b().object,className:b().string,isLandscape:b().bool.isRequired,isMobileKeyboardViewOpen:b().bool,landscapeDirection:b().oneOf(["column","row"]),ownerState:b().object.isRequired,sx:b().oneOfType([b().arrayOf(b().oneOfType([b().func,b().object,b().bool])),b().func,b().object]),toggleMobileKeyboardView:b().func,toolbarTitle:b().node,viewType:b().oneOf(["date","time"])};var Pt=(0,oe.ZP)("div",{name:"MuiDateTimePickerToolbar",slot:"DateContainer",overridesResolver:function(e,t){return t.dateContainer}})({display:"flex",flexDirection:"column",alignItems:"flex-start"}),St=(0,oe.ZP)("div",{name:"MuiDateTimePickerToolbar",slot:"TimeContainer",overridesResolver:function(e,t){return t.timeContainer}})((function(e){var t=e.theme,n=e.ownerState,o=n.isLandscape&&"desktop"!==n.toolbarVariant?"column":"row";return(0,r.Z)({display:"flex",flexDirection:o},"desktop"===n.toolbarVariant&&(0,r.Z)({},!n.isLandscape&&{gap:9,marginRight:4,alignSelf:"flex-end"}),"rtl"===t.direction&&{flexDirection:"".concat(o,"-reverse")})})),Vt=(0,oe.ZP)("div",{name:"MuiDateTimePickerToolbar",slot:"TimeDigitsContainer",overridesResolver:function(e,t){return t.timeDigitsContainer}})((function(e){var t=e.theme,n=e.ownerState;return(0,r.Z)({display:"flex"},"desktop"===n.toolbarVariant&&{gap:1.5},"rtl"===t.direction&&{flexDirection:"row-reverse"})}));St.propTypes={as:b().elementType,ownerState:b().object.isRequired,sx:b().oneOfType([b().arrayOf(b().oneOfType([b().func,b().object,b().bool])),b().func,b().object])};var Nt=(0,oe.ZP)(ft,{name:"MuiDateTimePickerToolbar",slot:"Separator",overridesResolver:function(e,t){return t.separator}})((function(e){return{margin:"desktop"===e.ownerState.toolbarVariant?0:"0 4px 0 2px",cursor:"default"}})),It=(0,oe.ZP)("div",{name:"MuiDateTimePickerToolbar",slot:"AmPmSelection",overridesResolver:function(e,t){return[(0,_.Z)({},".".concat(xt.ampmLabel),t.ampmLabel),(0,_.Z)({},"&.".concat(xt.ampmLandscape),t.ampmLandscape),t.ampmSelection]}})((function(e){var t=e.ownerState;return(0,r.Z)({display:"flex",flexDirection:"column",marginRight:"auto",marginLeft:12},t.isLandscape&&{margin:"4px 0 auto",flexDirection:"row",justifyContent:"space-around",width:"100%"},(0,_.Z)({},"& .".concat(xt.ampmLabel),{fontSize:17}))}));function Rt(e){var t,n=(0,p.Z)({props:e,name:"MuiDateTimePickerToolbar"}),i=n.ampm,l=n.ampmInClock,s=n.value,u=n.onChange,c=n.view,d=n.isLandscape,f=n.onViewChange,m=n.toolbarFormat,h=n.toolbarPlaceholder,v=void 0===h?"\u2013\u2013":h,g=n.views,b=n.disabled,y=n.readOnly,w=n.toolbarVariant,Z=void 0===w?"mobile":w,x=(0,o.Z)(n,Dt),T=n,C=(0,P.nB)(),D=(0,Tt.iC)(s,i,u),k=D.meridiemMode,S=D.handleMeridiemChange,V=Boolean(i&&!l),N="desktop"===Z,I=(0,P.og)(),R=(0,M.Z)(),O=kt((0,r.Z)({},T,{theme:R})),E=a.useMemo((function(){return s?m?C.formatByString(s,m):C.format(s,"shortDate"):v}),[s,m,v,C]);return(0,ce.jsxs)(Mt,(0,r.Z)({toolbarTitle:I.dateTimePickerToolbarTitle,isLandscape:d,className:O.root},x,{ownerState:T,children:[(0,ce.jsxs)(Pt,{className:O.dateContainer,ownerState:T,children:[g.includes("year")&&(0,ce.jsx)(wt,{tabIndex:-1,variant:"subtitle1",onClick:function(){return f("year")},selected:"year"===c,value:s?C.format(s,"year"):"\u2013"}),g.includes("day")&&(0,ce.jsx)(wt,{tabIndex:-1,variant:N?"h5":"h4",onClick:function(){return f("day")},selected:"day"===c,value:E})]}),(0,ce.jsxs)(St,{className:O.timeContainer,ownerState:T,children:[(0,ce.jsxs)(Vt,{className:O.timeDigitsContainer,ownerState:T,children:[g.includes("hours")&&(0,ce.jsx)(wt,{variant:N?"h5":"h3",width:N&&!d?Ct.kD:void 0,onClick:function(){return f("hours")},selected:"hours"===c,value:s?(t=s,i?C.format(t,"hours12h"):C.format(t,"hours24h")):"--"}),g.includes("minutes")&&(0,ce.jsxs)(a.Fragment,{children:[(0,ce.jsx)(Nt,{variant:N?"h5":"h3",value:":",className:O.separator,ownerState:T}),(0,ce.jsx)(wt,{variant:N?"h5":"h3",width:N&&!d?Ct.kD:void 0,onClick:function(){return f("minutes")},selected:"minutes"===c,value:s?C.format(s,"minutes"):"--"})]}),g.includes("seconds")&&(0,ce.jsxs)(a.Fragment,{children:[(0,ce.jsx)(Nt,{variant:N?"h5":"h3",value:":",className:O.separator,ownerState:T}),(0,ce.jsx)(wt,{variant:N?"h5":"h3",width:N&&!d?Ct.kD:void 0,onClick:function(){return f("seconds")},selected:"seconds"===c,value:s?C.format(s,"seconds"):"--"})]})]}),V&&!N&&(0,ce.jsxs)(It,{className:O.ampmSelection,ownerState:T,children:[(0,ce.jsx)(wt,{variant:"subtitle2",selected:"am"===k,typographyClassName:O.ampmLabel,value:(0,B.lu)(C,"am"),onClick:y?void 0:function(){return S("am")},disabled:b}),(0,ce.jsx)(wt,{variant:"subtitle2",selected:"pm"===k,typographyClassName:O.ampmLabel,value:(0,B.lu)(C,"pm"),onClick:y?void 0:function(){return S("pm")},disabled:b})]}),i&&N&&(0,ce.jsx)(wt,{variant:"h5",onClick:function(){return f("meridiem")},selected:"meridiem"===c,value:s&&k?(0,B.lu)(C,k):"--",width:Ct.kD})]})]}))}var Ot=n(1649),Et=n(5497);function Ft(e,t){var n,o,i,l,s,u,c,d,f,m,h,v=(0,P.nB)(),g=(0,P.PP)(),b=(0,p.Z)({props:e,name:t}),y=null!=(n=b.ampm)?n:v.is12HourCycleInCurrentLocale(),w=a.useMemo((function(){var e;return null==(null==(e=b.localeText)?void 0:e.toolbarTitle)?b.localeText:(0,r.Z)({},b.localeText,{dateTimePickerToolbarTitle:b.localeText.toolbarTitle})}),[b.localeText]),Z=null!=(o=b.slots)?o:(0,Et.S)(b.components),x=null!=(i=b.slotProps)?i:b.componentsProps;return(0,r.Z)({},b,(0,Ot.d)({views:b.views,openTo:b.openTo,defaultViews:["year","day","hours","minutes"],defaultOpenTo:"day"}),{ampm:y,localeText:w,orientation:null!=(l=b.orientation)?l:"portrait",disableIgnoringDatePartForTimeValidation:null!=(s=b.disableIgnoringDatePartForTimeValidation)?s:Boolean(b.minDateTime||b.maxDateTime||b.disablePast||b.disableFuture),disableFuture:null!=(u=b.disableFuture)&&u,disablePast:null!=(c=b.disablePast)&&c,minDate:(0,B.US)(v,null!=(d=b.minDateTime)?d:b.minDate,g.minDate),maxDate:(0,B.US)(v,null!=(f=b.maxDateTime)?f:b.maxDate,g.maxDate),minTime:null!=(m=b.minDateTime)?m:b.minTime,maxTime:null!=(h=b.maxDateTime)?h:b.maxTime,slots:(0,r.Z)({toolbar:Rt,tabs:lt},Z),slotProps:(0,r.Z)({},x,{toolbar:(0,r.Z)({ampm:y},null==x?void 0:x.toolbar)})})}var Lt=n(8334),At=function(e){var t=e.shouldDisableDate,n=e.shouldDisableMonth,r=e.shouldDisableYear,o=e.minDate,i=e.maxDate,l=e.disableFuture,s=e.disablePast,u=e.timezone,c=(0,P.Do)();return a.useCallback((function(e){return null!==W({adapter:c,value:e,props:{shouldDisableDate:t,shouldDisableMonth:n,shouldDisableYear:r,minDate:o,maxDate:i,disableFuture:l,disablePast:s,timezone:u}})}),[c,t,n,r,o,i,l,s,u])},Bt=function(e){var t=e.value,n=e.referenceDate,o=e.defaultCalendarMonth,i=e.disableFuture,s=e.disablePast,u=e.disableSwitchToMonthOnDayFocus,c=void 0!==u&&u,d=e.maxDate,f=e.minDate,m=e.onMonthChange,h=e.reduceAnimations,p=e.shouldDisableDate,v=e.timezone,g=(0,P.mX)(v),b=(0,P.nB)(),y=a.useRef(function(e,t,n){return function(o,a){switch(a.type){case"changeMonth":return(0,r.Z)({},o,{slideDirection:a.direction,currentMonth:a.newMonth,isMonthSwitchingAnimating:!e});case"finishMonthSwitchingAnimation":return(0,r.Z)({},o,{isMonthSwitchingAnimating:!1});case"changeFocusedDay":if(null!=o.focusedDay&&null!=a.focusedDay&&n.isSameDay(a.focusedDay,o.focusedDay))return o;var i=null!=a.focusedDay&&!t&&!n.isSameMonth(o.currentMonth,a.focusedDay);return(0,r.Z)({},o,{focusedDay:a.focusedDay,isMonthSwitchingAnimating:i&&!e&&!a.withoutMonthSwitchingAnimation,currentMonth:i?n.startOfMonth(a.focusedDay):o.currentMonth,slideDirection:null!=a.focusedDay&&n.isAfterDay(a.focusedDay,o.currentMonth)?"left":"right"});default:throw new Error("missing support")}}}(Boolean(h),c,b)).current,w=a.useMemo((function(){var r=null;return n?r=n:o&&(r=b.startOfMonth(o)),Z.h.getInitialReferenceValue({value:t,utils:b,timezone:v,props:e,referenceDate:r,granularity:R.Kn.day})}),[]),x=a.useReducer(y,{isMonthSwitchingAnimating:!1,focusedDay:t||g,currentMonth:b.startOfMonth(w),slideDirection:"left"}),T=(0,l.Z)(x,2),C=T[0],k=T[1],M=a.useCallback((function(e){k((0,r.Z)({type:"changeMonth"},e)),m&&m(e.newMonth)}),[m]),S=a.useCallback((function(e){var t=e;b.isSameMonth(t,C.currentMonth)||M({newMonth:b.startOfMonth(t),direction:b.isAfterDay(t,C.currentMonth)?"left":"right"})}),[C.currentMonth,M,b]),V=At({shouldDisableDate:p,minDate:f,maxDate:d,disableFuture:i,disablePast:s,timezone:v}),N=a.useCallback((function(){k({type:"finishMonthSwitchingAnimation"})}),[]),I=(0,D.Z)((function(e,t){V(e)||k({type:"changeFocusedDay",focusedDay:e,withoutMonthSwitchingAnimation:t})}));return{referenceDate:w,calendarState:C,changeMonth:S,changeFocusedDay:I,isDateDisabled:V,onMonthSwitchingAnimationEnd:N,handleChangeMonth:M}},Wt=n(2530),jt=n(1078),zt=function(e){return(0,ie.Z)("MuiPickersFadeTransitionGroup",e)},Ht=((0,ae.Z)("MuiPickersFadeTransitionGroup",["root"]),(0,oe.ZP)(jt.Z,{name:"MuiPickersFadeTransitionGroup",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"block",position:"relative"}));function Yt(e){var t=(0,p.Z)({props:e,name:"MuiPickersFadeTransitionGroup"}),n=t.children,r=t.className,o=t.reduceAnimations,a=t.transKey,i=function(e){var t=e.classes;return(0,J.Z)({root:["root"]},zt,t)}(t);return o?n:(0,ce.jsx)(Ht,{className:(0,$.Z)(i.root,r),children:(0,ce.jsx)(Wt.Z,{appear:!1,mountOnEnter:!0,unmountOnExit:!0,timeout:{appear:500,enter:250,exit:0},children:n},a)})}var Ut=n(7551);function qt(e){return(0,ie.Z)("MuiPickersDay",e)}var Xt=(0,ae.Z)("MuiPickersDay",["root","dayWithMargin","dayOutsideMonth","hiddenDaySpacingFiller","today","selected","disabled"]),Qt=["autoFocus","className","day","disabled","disableHighlightToday","disableMargin","hidden","isAnimating","onClick","onDaySelect","onFocus","onBlur","onKeyDown","onMouseDown","onMouseEnter","outsideCurrentMonth","selected","showDaysOutsideCurrentMonth","children","today","isFirstVisibleCell","isLastVisibleCell"],Gt=function(e){var t,n=e.theme,o=e.ownerState;return(0,r.Z)({},n.typography.caption,(t={width:Ct.p2,height:Ct.p2,borderRadius:"50%",padding:0,backgroundColor:"transparent",transition:n.transitions.create("background-color",{duration:n.transitions.duration.short}),color:(n.vars||n).palette.text.primary,"@media (pointer: fine)":{"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,Ut.Fq)(n.palette.primary.main,n.palette.action.hoverOpacity)}},"&:focus":(0,_.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.focusOpacity,")"):(0,Ut.Fq)(n.palette.primary.main,n.palette.action.focusOpacity)},"&.".concat(Xt.selected),{willChange:"background-color",backgroundColor:(n.vars||n).palette.primary.dark})},(0,_.Z)(t,"&.".concat(Xt.selected),{color:(n.vars||n).palette.primary.contrastText,backgroundColor:(n.vars||n).palette.primary.main,fontWeight:n.typography.fontWeightMedium,"&:hover":{willChange:"background-color",backgroundColor:(n.vars||n).palette.primary.dark}}),(0,_.Z)(t,"&.".concat(Xt.disabled,":not(.").concat(Xt.selected,")"),{color:(n.vars||n).palette.text.disabled}),(0,_.Z)(t,"&.".concat(Xt.disabled,"&.").concat(Xt.selected),{opacity:.6}),t),!o.disableMargin&&{margin:"0 ".concat(Ct.yh,"px")},o.outsideCurrentMonth&&o.showDaysOutsideCurrentMonth&&{color:(n.vars||n).palette.text.secondary},!o.disableHighlightToday&&o.today&&(0,_.Z)({},"&:not(.".concat(Xt.selected,")"),{border:"1px solid ".concat((n.vars||n).palette.text.secondary)}))},Kt=function(e,t){var n=e.ownerState;return[t.root,!n.disableMargin&&t.dayWithMargin,!n.disableHighlightToday&&n.today&&t.today,!n.outsideCurrentMonth&&n.showDaysOutsideCurrentMonth&&t.dayOutsideMonth,n.outsideCurrentMonth&&!n.showDaysOutsideCurrentMonth&&t.hiddenDaySpacingFiller]},_t=(0,oe.ZP)(we.Z,{name:"MuiPickersDay",slot:"Root",overridesResolver:Kt})(Gt),$t=(0,oe.ZP)("div",{name:"MuiPickersDay",slot:"Root",overridesResolver:Kt})((function(e){var t=e.theme,n=e.ownerState;return(0,r.Z)({},Gt({theme:t,ownerState:n}),{opacity:0,pointerEvents:"none"})})),Jt=function(){},en=a.forwardRef((function(e,t){var n=(0,p.Z)({props:e,name:"MuiPickersDay"}),i=n.autoFocus,l=void 0!==i&&i,s=n.className,u=n.day,c=n.disabled,d=void 0!==c&&c,f=n.disableHighlightToday,m=void 0!==f&&f,h=n.disableMargin,v=void 0!==h&&h,g=n.isAnimating,b=n.onClick,y=n.onDaySelect,w=n.onFocus,Z=void 0===w?Jt:w,x=n.onBlur,T=void 0===x?Jt:x,D=n.onKeyDown,M=void 0===D?Jt:D,S=n.onMouseDown,V=void 0===S?Jt:S,N=n.onMouseEnter,I=void 0===N?Jt:N,R=n.outsideCurrentMonth,O=n.selected,E=void 0!==O&&O,F=n.showDaysOutsideCurrentMonth,L=void 0!==F&&F,A=n.children,B=n.today,W=void 0!==B&&B,j=(0,o.Z)(n,Qt),z=(0,r.Z)({},n,{autoFocus:l,disabled:d,disableHighlightToday:m,disableMargin:v,selected:E,showDaysOutsideCurrentMonth:L,today:W}),H=function(e){var t=e.selected,n=e.disableMargin,r=e.disableHighlightToday,o=e.today,a=e.disabled,i=e.outsideCurrentMonth,l=e.showDaysOutsideCurrentMonth,s=e.classes,u=i&&!l,c={root:["root",t&&!u&&"selected",a&&"disabled",!n&&"dayWithMargin",!r&&o&&"today",i&&l&&"dayOutsideMonth",u&&"hiddenDaySpacingFiller"],hiddenDaySpacingFiller:["hiddenDaySpacingFiller"]};return(0,J.Z)(c,qt,s)}(z),Y=(0,P.nB)(),U=a.useRef(null),q=(0,k.Z)(U,t);(0,C.Z)((function(){!l||d||g||R||U.current.focus()}),[l,d,g,R]);return R&&!L?(0,ce.jsx)($t,{className:(0,$.Z)(H.root,H.hiddenDaySpacingFiller,s),ownerState:z,role:j.role}):(0,ce.jsx)(_t,(0,r.Z)({className:(0,$.Z)(H.root,s),ref:q,centerRipple:!0,disabled:d,tabIndex:E?0:-1,onKeyDown:function(e){return M(e,u)},onFocus:function(e){return Z(e,u)},onBlur:function(e){return T(e,u)},onMouseEnter:function(e){return I(e,u)},onClick:function(e){d||y(u),R&&e.currentTarget.focus(),b&&b(e)},onMouseDown:function(e){V(e),R&&e.preventDefault()}},j,{ownerState:z,children:A||Y.format(u,"dayOfMonth")}))})),tn=a.memo(en),nn=n(4578);function rn(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var on=n(2242),an=n(3695),ln=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"===typeof n.className?n.className=rn(n.className,r):n.setAttribute("class",rn(n.className&&n.className.baseVal||"",r)));var n,r}))},sn=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o *":{position:"absolute",top:0,right:0,left:0}},(0,_.Z)(t,"& .".concat(dn["slideEnter-left"]),{willChange:"transform",transform:"translate(100%)",zIndex:1}),(0,_.Z)(t,"& .".concat(dn["slideEnter-right"]),{willChange:"transform",transform:"translate(-100%)",zIndex:1}),(0,_.Z)(t,"& .".concat(dn.slideEnterActive),{transform:"translate(0%)",transition:n}),(0,_.Z)(t,"& .".concat(dn.slideExit),{transform:"translate(0%)"}),(0,_.Z)(t,"& .".concat(dn["slideExitActiveLeft-left"]),{willChange:"transform",transform:"translate(-100%)",transition:n,zIndex:0}),(0,_.Z)(t,"& .".concat(dn["slideExitActiveLeft-right"]),{willChange:"transform",transform:"translate(100%)",transition:n,zIndex:0}),t}));var hn=function(e){return(0,ie.Z)("MuiDayCalendar",e)},pn=((0,ae.Z)("MuiDayCalendar",["root","header","weekDayLabel","loadingContainer","slideTransition","monthContainer","weekContainer","weekNumberLabel","weekNumber"]),["parentProps","day","focusableDay","selectedDays","isDateDisabled","currentMonthNumber","isViewFocused"]),vn=["ownerState"],gn=6*(Ct.p2+2*Ct.yh),bn=(0,oe.ZP)("div",{name:"MuiDayCalendar",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),yn=(0,oe.ZP)("div",{name:"MuiDayCalendar",slot:"Header",overridesResolver:function(e,t){return t.header}})({display:"flex",justifyContent:"center",alignItems:"center"}),wn=(0,oe.ZP)(te.Z,{name:"MuiDayCalendar",slot:"WeekDayLabel",overridesResolver:function(e,t){return t.weekDayLabel}})((function(e){var t=e.theme;return{width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:(t.vars||t).palette.text.secondary}})),Zn=(0,oe.ZP)(te.Z,{name:"MuiDayPicker",slot:"WeekNumberLabel",overridesResolver:function(e,t){return t.weekNumberLabel}})((function(e){return{width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:e.theme.palette.text.disabled}})),xn=(0,oe.ZP)(te.Z,{name:"MuiDayPicker",slot:"WeekNumber",overridesResolver:function(e,t){return t.weekNumber}})((function(e){var t=e.theme;return(0,r.Z)({},t.typography.caption,{width:Ct.p2,height:Ct.p2,padding:0,margin:"0 ".concat(Ct.yh,"px"),color:t.palette.text.disabled,fontSize:"0.75rem",alignItems:"center",justifyContent:"center",display:"inline-flex"})})),Tn=(0,oe.ZP)("div",{name:"MuiDayCalendar",slot:"LoadingContainer",overridesResolver:function(e,t){return t.loadingContainer}})({display:"flex",justifyContent:"center",alignItems:"center",minHeight:gn}),Cn=(0,oe.ZP)((function(e){var t=(0,p.Z)({props:e,name:"MuiPickersSlideTransition"}),n=t.children,i=t.className,l=t.reduceAnimations,s=t.transKey,u=(0,o.Z)(t,fn),c=function(e){var t=e.classes,n=e.slideDirection,r={root:["root"],exit:["slideExit"],enterActive:["slideEnterActive"],enter:["slideEnter-".concat(n)],exitActive:["slideExitActiveLeft-".concat(n)]};return(0,J.Z)(r,cn,t)}(t);if(l)return(0,ce.jsx)("div",{className:(0,$.Z)(c.root,i),children:n});var d={exit:c.exit,enterActive:c.enterActive,enter:c.enter,exitActive:c.exitActive};return(0,ce.jsx)(mn,{className:(0,$.Z)(c.root,i),childFactory:function(e){return a.cloneElement(e,{classNames:d})},role:"presentation",children:(0,ce.jsx)(un,(0,r.Z)({mountOnEnter:!0,unmountOnExit:!0,timeout:350,classNames:d},u,{children:n}),s)})}),{name:"MuiDayCalendar",slot:"SlideTransition",overridesResolver:function(e,t){return t.slideTransition}})({minHeight:gn}),Dn=(0,oe.ZP)("div",{name:"MuiDayCalendar",slot:"MonthContainer",overridesResolver:function(e,t){return t.monthContainer}})({overflow:"hidden"}),kn=(0,oe.ZP)("div",{name:"MuiDayCalendar",slot:"WeekContainer",overridesResolver:function(e,t){return t.weekContainer}})({margin:"".concat(Ct.yh,"px 0"),display:"flex",justifyContent:"center"});function Mn(e){var t,n,i,l=e.parentProps,s=e.day,u=e.focusableDay,c=e.selectedDays,d=e.isDateDisabled,f=e.currentMonthNumber,m=e.isViewFocused,h=(0,o.Z)(e,pn),p=l.disabled,v=l.disableHighlightToday,g=l.isMonthSwitchingAnimating,b=l.showDaysOutsideCurrentMonth,y=l.components,w=l.componentsProps,Z=l.slots,x=l.slotProps,C=l.timezone,D=(0,P.nB)(),k=(0,P.mX)(C),M=null!==u&&D.isSameDay(s,u),S=c.some((function(e){return D.isSameDay(e,s)})),V=D.isSameDay(s,k),N=null!=(t=null!=(n=null==Z?void 0:Z.day)?n:null==y?void 0:y.Day)?t:tn,I=(0,T.y)({elementType:N,externalSlotProps:null!=(i=null==x?void 0:x.day)?i:null==w?void 0:w.day,additionalProps:(0,r.Z)({disableHighlightToday:v,showDaysOutsideCurrentMonth:b,role:"gridcell",isAnimating:g,"data-timestamp":D.toJsDate(s).valueOf()},h),ownerState:(0,r.Z)({},l,{day:s,selected:S})}),R=(0,o.Z)(I,vn),O=a.useMemo((function(){return p||d(s)}),[p,d,s]),E=a.useMemo((function(){return D.getMonth(s)!==f}),[D,s,f]),F=a.useMemo((function(){var e=D.startOfMonth(D.setMonth(s,f));return b?D.isSameDay(s,D.startOfWeek(e)):D.isSameDay(s,e)}),[f,s,b,D]),L=a.useMemo((function(){var e=D.endOfMonth(D.setMonth(s,f));return b?D.isSameDay(s,D.endOfWeek(e)):D.isSameDay(s,e)}),[f,s,b,D]);return(0,ce.jsx)(N,(0,r.Z)({},R,{day:s,disabled:O,autoFocus:m&&M,today:V,outsideCurrentMonth:E,isFirstVisibleCell:F,isLastVisibleCell:L,selected:S,tabIndex:M?0:-1,"aria-selected":S,"aria-current":V?"date":void 0}))}function Pn(e){var t=(0,p.Z)({props:e,name:"MuiDayCalendar"}),n=t.onFocusedDayChange,o=t.className,i=t.currentMonth,s=t.selectedDays,u=t.focusedDay,c=t.loading,d=t.onSelectedDaysChange,f=t.onMonthSwitchingAnimationEnd,m=t.readOnly,h=t.reduceAnimations,v=t.renderLoading,g=void 0===v?function(){return(0,ce.jsx)("span",{children:"..."})}:v,b=t.slideDirection,y=t.TransitionProps,w=t.disablePast,Z=t.disableFuture,x=t.minDate,T=t.maxDate,C=t.shouldDisableDate,k=t.shouldDisableMonth,S=t.shouldDisableYear,V=t.dayOfWeekFormatter,I=t.hasFocus,R=t.onFocusedViewChange,O=t.gridLabelId,E=t.displayWeekNumber,F=t.fixedWeekNumber,L=t.autoFocus,A=t.timezone,W=(0,P.mX)(A),j=(0,P.nB)(),z=function(e){var t=e.classes;return(0,J.Z)({root:["root"],header:["header"],weekDayLabel:["weekDayLabel"],loadingContainer:["loadingContainer"],slideTransition:["slideTransition"],monthContainer:["monthContainer"],weekContainer:["weekContainer"],weekNumberLabel:["weekNumberLabel"],weekNumber:["weekNumber"]},hn,t)}(t),H="rtl"===(0,M.Z)().direction,Y=V||function(e,t){return j.format(t,"weekdayShort").charAt(0).toUpperCase()},U=At({shouldDisableDate:C,shouldDisableMonth:k,shouldDisableYear:S,minDate:x,maxDate:T,disablePast:w,disableFuture:Z,timezone:A}),q=(0,P.og)(),X=(0,N.Z)({name:"DayCalendar",state:"hasFocus",controlled:I,default:null!=L&&L}),Q=(0,l.Z)(X,2),G=Q[0],K=Q[1],_=a.useState((function(){return u||W})),ee=(0,l.Z)(_,2),te=ee[0],ne=ee[1],re=(0,D.Z)((function(e){m||d(e)})),oe=function(e){U(e)||(n(e),ne(e),null==R||R(!0),K(!0))},ae=(0,D.Z)((function(e,t){switch(e.key){case"ArrowUp":oe(j.addDays(t,-7)),e.preventDefault();break;case"ArrowDown":oe(j.addDays(t,7)),e.preventDefault();break;case"ArrowLeft":var n=j.addDays(t,H?1:-1),r=j.addMonths(t,H?1:-1),o=(0,B.xP)({utils:j,date:n,minDate:H?n:j.startOfMonth(r),maxDate:H?j.endOfMonth(r):n,isDateDisabled:U,timezone:A});oe(o||n),e.preventDefault();break;case"ArrowRight":var a=j.addDays(t,H?-1:1),i=j.addMonths(t,H?-1:1),l=(0,B.xP)({utils:j,date:a,minDate:H?j.startOfMonth(i):a,maxDate:H?a:j.endOfMonth(i),isDateDisabled:U,timezone:A});oe(l||a),e.preventDefault();break;case"Home":oe(j.startOfWeek(t)),e.preventDefault();break;case"End":oe(j.endOfWeek(t)),e.preventDefault();break;case"PageUp":oe(j.addMonths(t,1)),e.preventDefault();break;case"PageDown":oe(j.addMonths(t,-1)),e.preventDefault()}})),ie=(0,D.Z)((function(e,t){return oe(t)})),le=(0,D.Z)((function(e,t){G&&j.isSameDay(te,t)&&(null==R||R(!1))})),se=j.getMonth(i),ue=a.useMemo((function(){return s.filter((function(e){return!!e})).map((function(e){return j.startOfDay(e)}))}),[j,s]),de=se,fe=a.useMemo((function(){return a.createRef()}),[de]),me=j.startOfWeek(W),he=a.useMemo((function(){var e=j.startOfMonth(i),t=j.endOfMonth(i);return U(te)||j.isAfterDay(te,t)||j.isBeforeDay(te,e)?(0,B.xP)({utils:j,date:te,minDate:e,maxDate:t,disablePast:w,disableFuture:Z,isDateDisabled:U,timezone:A}):te}),[i,Z,w,te,U,j,A]),pe=a.useMemo((function(){for(var e=j.setTimezone(i,A),t=j.getWeekArray(e),n=j.addMonths(e,1);F&&t.lengthr||n1&&!f&&(0,ce.jsx)(N,(0,r.Z)({},I,{children:(0,ce.jsx)(R,(0,r.Z)({},E))}))]}),(0,ce.jsx)(Wt.Z,{in:"day"===w,children:(0,ce.jsx)(_n.u,{slots:u,slotProps:c,onGoToPrevious:function(){return b(l.addMonths(d,-1),"right")},isPreviousDisabled:L,previousLabel:i.previousMonth,onGoToNext:function(){return b(l.addMonths(d,1),"left")},isNextDisabled:F,nextLabel:i.nextMonth})})]}))})),sr=n(738),ur="undefined"!==typeof navigator&&navigator.userAgent.match(/android\s(\d+)|OS\s(\d+)/i),cr=ur&&ur[1]?parseInt(ur[1],10):null,dr=ur&&ur[2]?parseInt(ur[2],10):null,fr=cr&&cr<10||dr&&dr<13||!1,mr=function(){return h("@media (prefers-reduced-motion: reduce)",{defaultMatches:!1})||fr},hr=function(e){return(0,ie.Z)("MuiDateCalendar",e)},pr=((0,ae.Z)("MuiDateCalendar",["root","viewTransitionContainer"]),["autoFocus","onViewChange","value","defaultValue","referenceDate","disableFuture","disablePast","defaultCalendarMonth","onChange","onYearChange","onMonthChange","reduceAnimations","shouldDisableDate","shouldDisableMonth","shouldDisableYear","view","views","openTo","className","disabled","readOnly","minDate","maxDate","disableHighlightToday","focusedView","onFocusedViewChange","showDaysOutsideCurrentMonth","fixedWeekNumber","dayOfWeekFormatter","components","componentsProps","slots","slotProps","loading","renderLoading","displayWeekNumber","yearsPerRow","monthsPerRow","timezone"]);var vr=(0,oe.ZP)(sr.Z,{name:"MuiDateCalendar",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"flex",flexDirection:"column"}),gr=(0,oe.ZP)(Yt,{name:"MuiDateCalendar",slot:"ViewTransitionContainer",overridesResolver:function(e,t){return t.viewTransitionContainer}})({}),br=a.forwardRef((function(e,t){var n,i,l,s=(0,P.nB)(),u=(0,Lt.Z)(),c=function(e,t){var n,o,a,i,l,s,u,c=(0,P.nB)(),d=(0,P.PP)(),f=mr(),m=(0,p.Z)({props:e,name:t});return(0,r.Z)({},m,{loading:null!=(n=m.loading)&&n,disablePast:null!=(o=m.disablePast)&&o,disableFuture:null!=(a=m.disableFuture)&&a,openTo:null!=(i=m.openTo)?i:"day",views:null!=(l=m.views)?l:["year","day"],reduceAnimations:null!=(s=m.reduceAnimations)?s:f,renderLoading:null!=(u=m.renderLoading)?u:function(){return(0,ce.jsx)("span",{children:"..."})},minDate:(0,B.US)(c,m.minDate,d.minDate),maxDate:(0,B.US)(c,m.maxDate,d.maxDate)})}(e,"MuiDateCalendar"),d=c.autoFocus,f=c.onViewChange,m=c.value,h=c.defaultValue,v=c.referenceDate,g=c.disableFuture,b=c.disablePast,y=c.defaultCalendarMonth,w=c.onChange,x=c.onYearChange,C=c.onMonthChange,k=c.reduceAnimations,M=c.shouldDisableDate,S=c.shouldDisableMonth,V=c.shouldDisableYear,N=c.view,R=c.views,O=c.openTo,E=c.className,F=c.disabled,L=c.readOnly,A=c.minDate,W=c.maxDate,j=c.disableHighlightToday,z=c.focusedView,H=c.onFocusedViewChange,Y=c.showDaysOutsideCurrentMonth,U=c.fixedWeekNumber,q=c.dayOfWeekFormatter,X=c.components,Q=c.componentsProps,G=c.slots,K=c.slotProps,_=c.loading,ee=c.renderLoading,te=c.displayWeekNumber,ne=c.yearsPerRow,re=c.monthsPerRow,oe=c.timezone,ae=(0,o.Z)(c,pr),ie=(0,I.m)({name:"DateCalendar",timezone:oe,value:m,defaultValue:h,onChange:w,valueManager:Z.h}),le=ie.value,se=ie.handleValueChange,ue=ie.timezone,de=(0,Kn.B)({view:N,views:R,openTo:O,onChange:se,onViewChange:f,autoFocus:d,focusedView:z,onFocusedViewChange:H}),fe=de.view,me=de.setView,he=de.focusedView,pe=de.setFocusedView,ve=de.goToNextView,ge=de.setValueAndGoToNextView,be=Bt({value:le,defaultCalendarMonth:y,referenceDate:v,reduceAnimations:k,onMonthChange:C,minDate:A,maxDate:W,shouldDisableDate:M,disablePast:b,disableFuture:g,timezone:ue}),ye=be.referenceDate,we=be.calendarState,Ze=be.changeFocusedDay,xe=be.changeMonth,Te=be.handleChangeMonth,Ce=be.isDateDisabled,De=be.onMonthSwitchingAnimationEnd,ke=F&&le||A,Me=F&&le||W,Pe="".concat(u,"-grid-label"),Se=null!==he,Ve=null!=(n=null!=(i=null==G?void 0:G.calendarHeader)?i:null==X?void 0:X.CalendarHeader)?n:lr,Ne=(0,T.y)({elementType:Ve,externalSlotProps:null!=(l=null==K?void 0:K.calendarHeader)?l:null==Q?void 0:Q.calendarHeader,additionalProps:{views:R,view:fe,currentMonth:we.currentMonth,onViewChange:me,onMonthChange:function(e,t){return Te({newMonth:e,direction:t})},minDate:ke,maxDate:Me,disabled:F,disablePast:b,disableFuture:g,reduceAnimations:k,timezone:ue,labelId:Pe,slots:G,slotProps:K},ownerState:c}),Ie=(0,D.Z)((function(e){var t=s.startOfMonth(e),n=s.endOfMonth(e),r=Ce(e)?(0,B.xP)({utils:s,date:e,minDate:s.isBefore(A,t)?t:A,maxDate:s.isAfter(W,n)?n:W,disablePast:b,disableFuture:g,isDateDisabled:Ce,timezone:ue}):e;r?(ge(r,"finish"),null==C||C(t)):(ve(),xe(t)),Ze(r,!0)})),Re=(0,D.Z)((function(e){var t=s.startOfYear(e),n=s.endOfYear(e),r=Ce(e)?(0,B.xP)({utils:s,date:e,minDate:s.isBefore(A,t)?t:A,maxDate:s.isAfter(W,n)?n:W,disablePast:b,disableFuture:g,isDateDisabled:Ce,timezone:ue}):e;r?(ge(r,"finish"),null==x||x(r)):(ve(),xe(t)),Ze(r,!0)})),Oe=(0,D.Z)((function(e){return se(e?(0,B.zu)(s,e,null!=le?le:ye):e,"finish")}));a.useEffect((function(){null!=le&&s.isValid(le)&&xe(le)}),[le]);var Ee=c,Fe=function(e){var t=e.classes;return(0,J.Z)({root:["root"],viewTransitionContainer:["viewTransitionContainer"]},hr,t)}(Ee),Le={disablePast:b,disableFuture:g,maxDate:W,minDate:A},Ae={disableHighlightToday:j,readOnly:L,disabled:F,timezone:ue,gridLabelId:Pe},Be=a.useRef(fe);a.useEffect((function(){Be.current!==fe&&(he===Be.current&&pe(fe,!0),Be.current=fe)}),[he,pe,fe]);var We=a.useMemo((function(){return[le]}),[le]);return(0,ce.jsxs)(vr,(0,r.Z)({ref:t,className:(0,$.Z)(Fe.root,E),ownerState:Ee},ae,{children:[(0,ce.jsx)(Ve,(0,r.Z)({},Ne)),(0,ce.jsx)(gr,{reduceAnimations:k,className:Fe.viewTransitionContainer,transKey:fe,ownerState:Ee,children:(0,ce.jsxs)("div",{children:["year"===fe&&(0,ce.jsx)(Gn,(0,r.Z)({},Le,Ae,{value:le,onChange:Re,shouldDisableYear:V,hasFocus:Se,onFocusedViewChange:function(e){return pe("year",e)},yearsPerRow:ne,referenceDate:ye})),"month"===fe&&(0,ce.jsx)(Bn,(0,r.Z)({},Le,Ae,{hasFocus:Se,className:E,value:le,onChange:Ie,shouldDisableMonth:S,onFocusedViewChange:function(e){return pe("month",e)},monthsPerRow:re,referenceDate:ye})),"day"===fe&&(0,ce.jsx)(Pn,(0,r.Z)({},we,Le,Ae,{onMonthSwitchingAnimationEnd:De,onFocusedDayChange:Ze,reduceAnimations:k,selectedDays:We,onSelectedDaysChange:Oe,shouldDisableDate:M,shouldDisableMonth:S,shouldDisableYear:V,hasFocus:Se,onFocusedViewChange:function(e){return pe("day",e)},showDaysOutsideCurrentMonth:Y,fixedWeekNumber:U,dayOfWeekFormatter:q,displayWeekNumber:te,components:X,componentsProps:Q,slots:G,slotProps:K,loading:_,renderLoading:ee}))]})})]}))})),yr=function(e){var t=e.view,n=e.onViewChange,r=e.views,o=e.focusedView,a=e.onFocusedViewChange,i=e.value,l=e.defaultValue,s=e.referenceDate,u=e.onChange,c=e.className,d=e.classes,f=e.disableFuture,m=e.disablePast,h=e.minDate,p=e.maxDate,v=e.shouldDisableDate,g=e.shouldDisableMonth,b=e.shouldDisableYear,y=e.reduceAnimations,w=e.onMonthChange,Z=e.monthsPerRow,x=e.onYearChange,T=e.yearsPerRow,C=e.defaultCalendarMonth,D=e.components,k=e.componentsProps,M=e.slots,P=e.slotProps,S=e.loading,V=e.renderLoading,N=e.disableHighlightToday,I=e.readOnly,R=e.disabled,O=e.showDaysOutsideCurrentMonth,E=e.dayOfWeekFormatter,F=e.sx,L=e.autoFocus,A=e.fixedWeekNumber,W=e.displayWeekNumber,j=e.timezone;return(0,ce.jsx)(br,{view:t,onViewChange:n,views:r.filter(B.Fb),focusedView:o&&(0,B.Fb)(o)?o:null,onFocusedViewChange:a,value:i,defaultValue:l,referenceDate:s,onChange:u,className:c,classes:d,disableFuture:f,disablePast:m,minDate:h,maxDate:p,shouldDisableDate:v,shouldDisableMonth:g,shouldDisableYear:b,reduceAnimations:y,onMonthChange:w,monthsPerRow:Z,onYearChange:x,yearsPerRow:T,defaultCalendarMonth:C,components:D,componentsProps:k,slots:M,slotProps:P,loading:S,renderLoading:V,disableHighlightToday:N,readOnly:I,disabled:R,showDaysOutsideCurrentMonth:O,dayOfWeekFormatter:E,sx:F,autoFocus:L,fixedWeekNumber:A,displayWeekNumber:W,timezone:j})},wr=n(9536);function Zr(e){return(0,ie.Z)("MuiMultiSectionDigitalClock",e)}(0,ae.Z)("MuiMultiSectionDigitalClock",["root"]);var xr=n(4560),Tr=n(1195),Cr=n(6983),Dr=n(9273);var kr=(0,ae.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]),Mr=n(1081);function Pr(e){return(0,ie.Z)("MuiMenuItem",e)}var Sr=(0,ae.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Vr=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Nr=(0,oe.ZP)(we.Z,{shouldForwardProp:function(e){return(0,oe.FO)(e)||"classes"===e},name:"MuiMenuItem",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((function(e){var t,n=e.theme,o=e.ownerState;return(0,r.Z)({},n.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!o.disableGutters&&{paddingLeft:16,paddingRight:16},o.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},(t={"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},(0,_.Z)(t,"&.".concat(Sr.selected),(0,_.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,Ut.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(Sr.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,Ut.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,_.Z)(t,"&.".concat(Sr.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,Ut.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,Ut.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),(0,_.Z)(t,"&.".concat(Sr.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,_.Z)(t,"&.".concat(Sr.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),(0,_.Z)(t,"& + .".concat(Dr.Z.root),{marginTop:n.spacing(1),marginBottom:n.spacing(1)}),(0,_.Z)(t,"& + .".concat(Dr.Z.inset),{marginLeft:52}),(0,_.Z)(t,"& .".concat(Mr.Z.root),{marginTop:0,marginBottom:0}),(0,_.Z)(t,"& .".concat(Mr.Z.inset),{paddingLeft:36}),(0,_.Z)(t,"& .".concat(kr.root),{minWidth:36}),t),!o.dense&&(0,_.Z)({},n.breakpoints.up("sm"),{minHeight:"auto"}),o.dense&&(0,r.Z)({minHeight:32,paddingTop:4,paddingBottom:4},n.typography.body2,(0,_.Z)({},"& .".concat(kr.root," svg"),{fontSize:"1.25rem"})))})),Ir=a.forwardRef((function(e,t){var n=(0,p.Z)({props:e,name:"MuiMenuItem"}),i=n.autoFocus,l=void 0!==i&&i,s=n.component,u=void 0===s?"li":s,d=n.dense,f=void 0!==d&&d,m=n.divider,h=void 0!==m&&m,v=n.disableGutters,g=void 0!==v&&v,b=n.focusVisibleClassName,y=n.role,w=void 0===y?"menuitem":y,Z=n.tabIndex,x=n.className,T=(0,o.Z)(n,Vr),C=a.useContext(Tr.Z),D=a.useMemo((function(){return{dense:f||C.dense||!1,disableGutters:g}}),[C.dense,f,g]),k=a.useRef(null);(0,c.Z)((function(){l&&k.current&&k.current.focus()}),[l]);var M,P=(0,r.Z)({},n,{dense:D.dense,divider:h,disableGutters:g}),S=function(e){var t=e.disabled,n=e.dense,o=e.divider,a=e.disableGutters,i=e.selected,l=e.classes,s={root:["root",n&&"dense",t&&"disabled",!a&&"gutters",o&&"divider",i&&"selected"]},u=(0,J.Z)(s,Pr,l);return(0,r.Z)({},l,u)}(n),V=(0,Cr.Z)(k,t);return n.disabled||(M=void 0!==Z?Z:-1),(0,ce.jsx)(Tr.Z.Provider,{value:D,children:(0,ce.jsx)(Nr,(0,r.Z)({ref:V,role:w,tabIndex:M,component:u,focusVisibleClassName:(0,$.Z)(S.focusVisible,b),className:(0,$.Z)(S.root,x)},T,{ownerState:P,classes:S}))})}));function Rr(e){return(0,ie.Z)("MuiMultiSectionDigitalClock",e)}var Or=(0,ae.Z)("MuiMultiSectionDigitalClock",["root","item"]),Er=["autoFocus","onChange","className","disabled","readOnly","items","active","slots","slotProps","skipDisabled"],Fr=(0,oe.ZP)(xr.Z,{name:"MuiMultiSectionDigitalClockSection",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.theme,n=e.ownerState;return{maxHeight:Ct.Fn,width:56,padding:0,overflow:"hidden","@media (prefers-reduced-motion: no-preference)":{scrollBehavior:n.alreadyRendered?"smooth":"auto"},"&:hover":{overflowY:"auto"},"&:not(:first-of-type)":{borderLeft:"1px solid ".concat((t.vars||t).palette.divider)},"&:after":{display:"block",content:'""',height:"calc(100% - 40px - 6px)"}}})),Lr=(0,oe.ZP)(Ir,{name:"MuiMultiSectionDigitalClockSection",slot:"Item",overridesResolver:function(e,t){return t.item}})((function(e){var t=e.theme;return{padding:8,margin:"2px 4px",width:Ct.kD,justifyContent:"center","&:first-of-type":{marginTop:4},"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,Ut.Fq)(t.palette.primary.main,t.palette.action.hoverOpacity)},"&.Mui-selected":{backgroundColor:(t.vars||t).palette.primary.main,color:(t.vars||t).palette.primary.contrastText,"&:focus-visible, &:hover":{backgroundColor:(t.vars||t).palette.primary.dark}},"&.Mui-focusVisible":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.focusOpacity,")"):(0,Ut.Fq)(t.palette.primary.main,t.palette.action.focusOpacity)}}})),Ar=a.forwardRef((function(e,t){var n,i=a.useRef(null),l=(0,k.Z)(t,i),s=a.useRef(null),u=(0,p.Z)({props:e,name:"MuiMultiSectionDigitalClockSection"}),c=u.autoFocus,d=u.onChange,f=u.className,m=u.disabled,h=u.readOnly,v=u.items,g=u.active,b=u.slots,y=u.slotProps,w=u.skipDisabled,Z=(0,o.Z)(u,Er),x=a.useMemo((function(){return(0,r.Z)({},u,{alreadyRendered:!!i.current})}),[u]),T=function(e){var t=e.classes;return(0,J.Z)({root:["root"],item:["item"]},Rr,t)}(x),C=null!=(n=null==b?void 0:b.digitalClockSectionItem)?n:Lr;return a.useEffect((function(){if(null!==i.current){var e=i.current.querySelector('[role="option"][aria-selected="true"]');if(e&&s.current!==e){s.current=e,g&&c&&e.focus();var t=e.offsetTop;i.current.scrollTop=t-4}else s.current!==e&&(s.current=e)}})),(0,ce.jsx)(Fr,(0,r.Z)({ref:l,className:(0,$.Z)(T.root,f),ownerState:x,autoFocusItem:c&&g,role:"listbox"},Z,{children:v.map((function(e){var t,n;if(w&&null!=(t=e.isDisabled)&&t.call(e,e.value))return null;var o=e.isSelected(e.value);return(0,ce.jsx)(C,(0,r.Z)({onClick:function(){return!h&&d(e.value)},selected:o,disabled:m||(null==(n=e.isDisabled)?void 0:n.call(e,e.value)),disableRipple:h,role:"option","aria-disabled":h,"aria-label":e.ariaLabel,"aria-selected":o},null==y?void 0:y.digitalClockSectionItem,{children:e.label}),e.label)}))}))})),Br=function(e){for(var t=e.now,n=e.value,r=e.utils,o=e.ampm,a=e.isDisabled,i=e.resolveAriaLabel,l=e.timeStep,s=n?r.getHours(n):null,u=[],c=function(e){return null!==s&&(o?12===e?12===s||0===s:s===e||s-12===e:s===e)},d=o?11:23,f=0;f<=d;f+=l){var m=r.format(r.setHours(t,f),o?"hours12h":"hours24h"),h=i(parseInt(m,10).toString());m=r.formatNumber(m),u.push({value:f,label:m,isSelected:c,isDisabled:a,ariaLabel:h})}return u},Wr=function(e){var t=e.value,n=e.isDisabled,r=e.timeStep,o=e.resolveLabel,a=e.resolveAriaLabel,i=e.hasValue,l=void 0===i||i,s=function(e){return null!==t&&(l&&t===e)};return(0,v.Z)(Array.from({length:Math.ceil(60/r)},(function(e,t){var i=r*t;return{value:i,label:o(i),isDisabled:n,isSelected:s,ariaLabel:a(i.toString())}})))},jr=n(762),zr=["ampm","timeSteps","autoFocus","components","componentsProps","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableClock","shouldDisableTime","onChange","view","views","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","skipDisabled","timezone"],Hr=(0,oe.ZP)(sr.Z,{name:"MuiMultiSectionDigitalClock",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.theme;return{display:"flex",flexDirection:"row",width:"100%",borderBottom:"1px solid ".concat((t.vars||t).palette.divider)}})),Yr=a.forwardRef((function(e,t){var n=(0,P.nB)(),i=(0,p.Z)({props:e,name:"MuiMultiSectionDigitalClock"}),s=i.ampm,u=void 0===s?n.is12HourCycleInCurrentLocale():s,c=i.timeSteps,d=i.autoFocus,f=i.components,m=i.componentsProps,h=i.slots,g=i.slotProps,b=i.value,y=i.defaultValue,w=i.referenceDate,x=i.disableIgnoringDatePartForTimeValidation,T=void 0!==x&&x,C=i.maxTime,k=i.minTime,M=i.disableFuture,S=i.disablePast,V=i.minutesStep,N=void 0===V?1:V,R=i.shouldDisableClock,O=i.shouldDisableTime,E=i.onChange,F=i.view,L=i.views,A=void 0===L?["hours","minutes"]:L,W=i.openTo,z=i.onViewChange,H=i.focusedView,Y=i.onFocusedViewChange,U=i.className,q=i.disabled,X=i.readOnly,Q=i.skipDisabled,G=void 0!==Q&&Q,K=i.timezone,ee=(0,o.Z)(i,zr),te=(0,I.m)({name:"MultiSectionDigitalClock",timezone:K,value:b,defaultValue:y,onChange:E,valueManager:Z.h}),ne=te.value,re=te.handleValueChange,oe=te.timezone,ae=(0,P.og)(),ie=(0,P.mX)(oe),le=a.useMemo((function(){return(0,r.Z)({hours:1,minutes:5,seconds:5},c)}),[c]),se=(0,jr.t)({value:ne,referenceDate:w,utils:n,props:i,timezone:oe}),ue=(0,D.Z)((function(e,t,n){return re(e,t,n)})),de=a.useMemo((function(){return u&&A.includes("hours")?A.includes("meridiem")?A:[].concat((0,v.Z)(A),["meridiem"]):A}),[u,A]),fe=(0,Kn.B)({view:F,views:de,openTo:W,onViewChange:z,onChange:ue,focusedView:H,onFocusedViewChange:Y}),me=fe.view,he=fe.setValueAndGoToView,pe=fe.focusedView,ve=(0,D.Z)((function(e){he(e,null,"meridiem")})),ge=(0,Tt.iC)(se,u,ve,"finish"),be=ge.meridiemMode,ye=ge.handleMeridiemChange,we=a.useCallback((function(e,t){var r=(0,j.X4)(T,n),o="hours"===t||"minutes"===t&&de.includes("seconds"),a=function(e){var t=e.start,n=e.end;return(!k||!r(k,n))&&((!C||!r(t,C))&&((!M||!r(t,ie))&&(!S||!r(ie,o?n:t))))},i=function(e){if(e%(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1)!==0)return!1;if(null!=R&&R(e,t))return!1;if(O)switch(t){case"hours":return!O(n.setHours(se,e),"hours");case"minutes":return!O(n.setMinutes(se,e),"minutes");case"seconds":return!O(n.setSeconds(se,e),"seconds");default:return!1}return!0};switch(t){case"hours":var l=(0,j.b_)(e,be,u),s=n.setHours(se,l);return!a({start:n.setSeconds(n.setMinutes(s,0),0),end:n.setSeconds(n.setMinutes(s,59),59)})||!i(l);case"minutes":var c=n.setMinutes(se,e);return!a({start:n.setSeconds(c,0),end:n.setSeconds(c,59)})||!i(e,N);case"seconds":var d=n.setSeconds(se,e);return!a({start:d,end:d})||!i(e);default:throw new Error("not supported")}}),[u,se,T,C,be,k,N,R,O,n,M,S,ie,de]),Ze=(0,D.Z)((function(e,t){var n=de.indexOf(e),r=de[n+1];he(t,r,e)})),xe=a.useCallback((function(e){switch(e){case"hours":return{onChange:function(e){var t=(0,j.b_)(e,be,u);Ze("hours",n.setHours(se,t))},items:Br({now:ie,value:ne,ampm:u,utils:n,isDisabled:function(e){return q||we(e,"hours")},timeStep:le.hours,resolveAriaLabel:ae.hoursClockNumberText})};case"minutes":return{onChange:function(e){Ze("minutes",n.setMinutes(se,e))},items:Wr({value:n.getMinutes(se),isDisabled:function(e){return q||we(e,"minutes")},resolveLabel:function(e){return n.format(n.setMinutes(ie,e),"minutes")},timeStep:le.minutes,hasValue:!!ne,resolveAriaLabel:ae.minutesClockNumberText})};case"seconds":return{onChange:function(e){Ze("seconds",n.setSeconds(se,e))},items:Wr({value:n.getSeconds(se),isDisabled:function(e){return q||we(e,"seconds")},resolveLabel:function(e){return n.format(n.setSeconds(ie,e),"seconds")},timeStep:le.seconds,hasValue:!!ne,resolveAriaLabel:ae.secondsClockNumberText})};case"meridiem":var t=(0,B.lu)(n,"am"),r=(0,B.lu)(n,"pm");return{onChange:ye,items:[{value:"am",label:t,isSelected:function(){return!!ne&&"am"===be},ariaLabel:t},{value:"pm",label:r,isSelected:function(){return!!ne&&"pm"===be},ariaLabel:r}]};default:throw new Error("Unknown view: ".concat(e," found."))}}),[ie,ne,u,n,le.hours,le.minutes,le.seconds,ae.hoursClockNumberText,ae.minutesClockNumberText,ae.secondsClockNumberText,be,Ze,se,q,we,ye]),Te=a.useMemo((function(){return de.reduce((function(e,t){return(0,r.Z)({},e,(0,_.Z)({},t,xe(t)))}),{})}),[de,xe]),Ce=i,De=function(e){var t=e.classes;return(0,J.Z)({root:["root"]},Zr,t)}(Ce);return(0,ce.jsx)(Hr,(0,r.Z)({ref:t,className:(0,$.Z)(De.root,U),ownerState:Ce,role:"group"},ee,{children:Object.entries(Te).map((function(e){var t=(0,l.Z)(e,2),n=t[0],r=t[1];return(0,ce.jsx)(Ar,{items:r.items,onChange:r.onChange,active:me===n,autoFocus:null!=d?d:pe===n,disabled:q,readOnly:X,slots:null!=h?h:f,slotProps:null!=g?g:m,skipDisabled:G,"aria-label":ae.selectViewText(n)},n)}))}))})),Ur=(0,oe.ZP)("div")({display:"flex",margin:"0 auto"}),qr=function(e){var t,n,o=e.view,i=e.onViewChange,l=e.views,s=e.focusedView,u=e.onFocusedViewChange,c=e.value,d=e.defaultValue,f=e.referenceDate,m=e.onChange,h=e.className,p=e.classes,v=e.disableFuture,g=e.disablePast,b=e.minDate,w=e.minTime,Z=e.maxDate,x=e.maxTime,T=e.shouldDisableDate,C=e.shouldDisableMonth,D=e.shouldDisableYear,k=e.shouldDisableTime,M=e.shouldDisableClock,P=e.reduceAnimations,S=e.minutesStep,V=e.ampm,N=e.onMonthChange,I=e.monthsPerRow,R=e.onYearChange,O=e.yearsPerRow,E=e.defaultCalendarMonth,F=e.components,L=e.componentsProps,A=e.slots,W=e.slotProps,z=e.loading,H=e.renderLoading,Y=e.disableHighlightToday,U=e.readOnly,q=e.disabled,X=e.showDaysOutsideCurrentMonth,Q=e.dayOfWeekFormatter,G=e.sx,K=e.autoFocus,$=e.fixedWeekNumber,J=e.displayWeekNumber,ee=e.timezone,te=e.disableIgnoringDatePartForTimeValidation,ne=e.timeSteps,re=e.skipDisabled,oe=e.timeViewsCount,ae=!(null==(t=(0,y.x)(null!=(n=null==W?void 0:W.actionBar)?n:null==L?void 0:L.actionBar,{}))||null==(t=t.actions)||!t.length);return(0,ce.jsxs)(a.Fragment,{children:[(0,ce.jsxs)(Ur,{children:[(0,ce.jsx)(br,{view:(0,B.Fb)(o)?o:"day",onViewChange:i,views:l.filter(B.Fb),focusedView:s&&(0,B.Fb)(s)?s:null,onFocusedViewChange:u,value:c,defaultValue:d,referenceDate:f,onChange:m,className:h,classes:p,disableFuture:v,disablePast:g,minDate:b,maxDate:Z,shouldDisableDate:T,shouldDisableMonth:C,shouldDisableYear:D,reduceAnimations:P,onMonthChange:N,monthsPerRow:I,onYearChange:R,yearsPerRow:O,defaultCalendarMonth:E,components:F,componentsProps:L,slots:A,slotProps:W,loading:z,renderLoading:H,disableHighlightToday:Y,readOnly:U,disabled:q,showDaysOutsideCurrentMonth:X,dayOfWeekFormatter:Q,sx:G,autoFocus:K,fixedWeekNumber:$,displayWeekNumber:J,timezone:ee}),oe>0&&(0,ce.jsxs)(a.Fragment,{children:[(0,ce.jsx)(wr.Z,{orientation:"vertical"}),(0,ce.jsx)(Yr,{view:(0,j.SZ)(o)?o:"hours",onViewChange:i,focusedView:s&&(0,j.SZ)(s)?s:null,onFocusedViewChange:u,views:l.filter(j.SZ),value:c,defaultValue:d,referenceDate:f,onChange:m,className:h,classes:p,disableFuture:v,disablePast:g,minTime:w,maxTime:x,shouldDisableTime:k,shouldDisableClock:M,minutesStep:S,ampm:V,components:F,componentsProps:L,slots:A,slotProps:W,readOnly:U,disabled:q,sx:(0,r.Z)((0,_.Z)({borderBottom:0,width:"auto"},".".concat(Or.root),{maxHeight:"100%"}),Array.isArray(G)?G:[G]),autoFocus:K,disableIgnoringDatePartForTimeValidation:te,timeSteps:ne,skipDisabled:re,timezone:ee})]})]}),ae&&(0,ce.jsx)(wr.Z,{})]})},Xr=n(3365),Qr=n(5111),Gr=n(2504);function Kr(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function _r(e){return e instanceof Kr(e).Element||e instanceof Element}function $r(e){return e instanceof Kr(e).HTMLElement||e instanceof HTMLElement}function Jr(e){return"undefined"!==typeof ShadowRoot&&(e instanceof Kr(e).ShadowRoot||e instanceof ShadowRoot)}var eo=Math.max,to=Math.min,no=Math.round;function ro(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function oo(){return!/^((?!chrome|android).)*safari/i.test(ro())}function ao(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&$r(e)&&(o=e.offsetWidth>0&&no(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&no(r.height)/e.offsetHeight||1);var i=(_r(e)?Kr(e):window).visualViewport,l=!oo()&&n,s=(r.left+(l&&i?i.offsetLeft:0))/o,u=(r.top+(l&&i?i.offsetTop:0))/a,c=r.width/o,d=r.height/a;return{width:c,height:d,top:u,right:s+c,bottom:u+d,left:s,x:s,y:u}}function io(e){var t=Kr(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function lo(e){return e?(e.nodeName||"").toLowerCase():null}function so(e){return((_r(e)?e.ownerDocument:e.document)||window.document).documentElement}function uo(e){return ao(so(e)).left+io(e).scrollLeft}function co(e){return Kr(e).getComputedStyle(e)}function fo(e){var t=co(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function mo(e,t,n){void 0===n&&(n=!1);var r=$r(t),o=$r(t)&&function(e){var t=e.getBoundingClientRect(),n=no(t.width)/e.offsetWidth||1,r=no(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=so(t),i=ao(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==lo(t)||fo(a))&&(l=function(e){return e!==Kr(e)&&$r(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:io(e);var t}(t)),$r(t)?((s=ao(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=uo(a))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function ho(e){var t=ao(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function po(e){return"html"===lo(e)?e:e.assignedSlot||e.parentNode||(Jr(e)?e.host:null)||so(e)}function vo(e){return["html","body","#document"].indexOf(lo(e))>=0?e.ownerDocument.body:$r(e)&&fo(e)?e:vo(po(e))}function go(e,t){var n;void 0===t&&(t=[]);var r=vo(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=Kr(r),i=o?[a].concat(a.visualViewport||[],fo(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(go(po(i)))}function bo(e){return["table","td","th"].indexOf(lo(e))>=0}function yo(e){return $r(e)&&"fixed"!==co(e).position?e.offsetParent:null}function wo(e){for(var t=Kr(e),n=yo(e);n&&bo(n)&&"static"===co(n).position;)n=yo(n);return n&&("html"===lo(n)||"body"===lo(n)&&"static"===co(n).position)?t:n||function(e){var t=/firefox/i.test(ro());if(/Trident/i.test(ro())&&$r(e)&&"fixed"===co(e).position)return null;var n=po(e);for(Jr(n)&&(n=n.host);$r(n)&&["html","body"].indexOf(lo(n))<0;){var r=co(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Zo="top",xo="bottom",To="right",Co="left",Do="auto",ko=[Zo,xo,To,Co],Mo="start",Po="end",So="clippingParents",Vo="viewport",No="popper",Io="reference",Ro=ko.reduce((function(e,t){return e.concat([t+"-"+Mo,t+"-"+Po])}),[]),Oo=[].concat(ko,[Do]).reduce((function(e,t){return e.concat([t,t+"-"+Mo,t+"-"+Po])}),[]),Eo=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Fo(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function Lo(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var Ao={placement:"bottom",modifiers:[],strategy:"absolute"};function Bo(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function Uo(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?zo(o):null,i=o?Ho(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case Zo:t={x:l,y:n.y-r.height};break;case xo:t={x:l,y:n.y+n.height};break;case To:t={x:n.x+n.width,y:s};break;case Co:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=a?Yo(a):null;if(null!=u){var c="y"===u?"height":"width";switch(i){case Mo:t[u]=t[u]-(n[c]/2-r[c]/2);break;case Po:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}var qo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Xo(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=i.x,m=void 0===f?0:f,h=i.y,p=void 0===h?0:h,v="function"===typeof c?c({x:m,y:p}):{x:m,y:p};m=v.x,p=v.y;var g=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),y=Co,w=Zo,Z=window;if(u){var x=wo(n),T="clientHeight",C="clientWidth";if(x===Kr(n)&&"static"!==co(x=so(n)).position&&"absolute"===l&&(T="scrollHeight",C="scrollWidth"),o===Zo||(o===Co||o===To)&&a===Po)w=xo,p-=(d&&x===Z&&Z.visualViewport?Z.visualViewport.height:x[T])-r.height,p*=s?1:-1;if(o===Co||(o===Zo||o===xo)&&a===Po)y=To,m-=(d&&x===Z&&Z.visualViewport?Z.visualViewport.width:x[C])-r.width,m*=s?1:-1}var D,k=Object.assign({position:l},u&&qo),M=!0===c?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:no(n*o)/o||0,y:no(r*o)/o||0}}({x:m,y:p},Kr(n)):{x:m,y:p};return m=M.x,p=M.y,s?Object.assign({},k,((D={})[w]=b?"0":"",D[y]=g?"0":"",D.transform=(Z.devicePixelRatio||1)<=1?"translate("+m+"px, "+p+"px)":"translate3d("+m+"px, "+p+"px, 0)",D)):Object.assign({},k,((t={})[w]=b?p+"px":"",t[y]=g?m+"px":"",t.transform="",t))}var Qo={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=Oo.reduce((function(e,n){return e[n]=function(e,t,n){var r=zo(e),o=[Co,Zo].indexOf(r)>=0?-1:1,a="function"===typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*o,[Co,To].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}(n,t.rects,a),e}),{}),l=i[t.placement],s=l.x,u=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}},Go={left:"right",right:"left",bottom:"top",top:"bottom"};function Ko(e){return e.replace(/left|right|bottom|top/g,(function(e){return Go[e]}))}var _o={start:"end",end:"start"};function $o(e){return e.replace(/start|end/g,(function(e){return _o[e]}))}function Jo(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Jr(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ea(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ta(e,t,n){return t===Vo?ea(function(e,t){var n=Kr(e),r=so(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var u=oo();(u||!u&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+uo(e),y:s}}(e,n)):_r(t)?function(e,t){var n=ao(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ea(function(e){var t,n=so(e),r=io(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=eo(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=eo(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+uo(e),s=-r.scrollTop;return"rtl"===co(o||n).direction&&(l+=eo(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(so(e)))}function na(e,t,n,r){var o="clippingParents"===t?function(e){var t=go(po(e)),n=["absolute","fixed"].indexOf(co(e).position)>=0&&$r(e)?wo(e):e;return _r(n)?t.filter((function(e){return _r(e)&&Jo(e,n)&&"body"!==lo(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=ta(e,n,r);return t.top=eo(o.top,t.top),t.right=to(o.right,t.right),t.bottom=to(o.bottom,t.bottom),t.left=eo(o.left,t.left),t}),ta(e,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function ra(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function oa(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function aa(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,l=n.boundary,s=void 0===l?So:l,u=n.rootBoundary,c=void 0===u?Vo:u,d=n.elementContext,f=void 0===d?No:d,m=n.altBoundary,h=void 0!==m&&m,p=n.padding,v=void 0===p?0:p,g=ra("number"!==typeof v?v:oa(v,ko)),b=f===No?Io:No,y=e.rects.popper,w=e.elements[h?b:f],Z=na(_r(w)?w:w.contextElement||so(e.elements.popper),s,c,i),x=ao(e.elements.reference),T=Uo({reference:x,element:y,strategy:"absolute",placement:o}),C=ea(Object.assign({},y,T)),D=f===No?C:x,k={top:Z.top-D.top+g.top,bottom:D.bottom-Z.bottom+g.bottom,left:Z.left-D.left+g.left,right:D.right-Z.right+g.right},M=e.modifiersData.offset;if(f===No&&M){var P=M[o];Object.keys(k).forEach((function(e){var t=[To,xo].indexOf(e)>=0?1:-1,n=[Zo,xo].indexOf(e)>=0?"y":"x";k[e]+=P[n]*t}))}return k}function ia(e,t,n){return eo(e,to(t,n))}var la={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0!==i&&i,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,f=n.tether,m=void 0===f||f,h=n.tetherOffset,p=void 0===h?0:h,v=aa(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),g=zo(t.placement),b=Ho(t.placement),y=!b,w=Yo(g),Z="x"===w?"y":"x",x=t.modifiersData.popperOffsets,T=t.rects.reference,C=t.rects.popper,D="function"===typeof p?p(Object.assign({},t.rects,{placement:t.placement})):p,k="number"===typeof D?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(x){if(a){var S,V="y"===w?Zo:Co,N="y"===w?xo:To,I="y"===w?"height":"width",R=x[w],O=R+v[V],E=R-v[N],F=m?-C[I]/2:0,L=b===Mo?T[I]:C[I],A=b===Mo?-C[I]:-T[I],B=t.elements.arrow,W=m&&B?ho(B):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=j[V],H=j[N],Y=ia(0,T[I],W[I]),U=y?T[I]/2-F-Y-z-k.mainAxis:L-Y-z-k.mainAxis,q=y?-T[I]/2+F+Y+H+k.mainAxis:A+Y+H+k.mainAxis,X=t.elements.arrow&&wo(t.elements.arrow),Q=X?"y"===w?X.clientTop||0:X.clientLeft||0:0,G=null!=(S=null==M?void 0:M[w])?S:0,K=R+q-G,_=ia(m?to(O,R+U-G-Q):O,R,m?eo(E,K):E);x[w]=_,P[w]=_-R}if(l){var $,J="x"===w?Zo:Co,ee="x"===w?xo:To,te=x[Z],ne="y"===Z?"height":"width",re=te+v[J],oe=te-v[ee],ae=-1!==[Zo,Co].indexOf(g),ie=null!=($=null==M?void 0:M[Z])?$:0,le=ae?re:te-T[ne]-C[ne]-ie+k.altAxis,se=ae?te+T[ne]+C[ne]-ie-k.altAxis:oe,ue=m&&ae?function(e,t,n){var r=ia(e,t,n);return r>n?n:r}(le,te,se):ia(m?le:re,te,m?se:oe);x[Z]=ue,P[Z]=ue-te}t.modifiersData[r]=P}},requiresIfExists:["offset"]};var sa={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=zo(n.placement),s=Yo(l),u=[Co,To].indexOf(l)>=0?"height":"width";if(a&&i){var c=function(e,t){return ra("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:oa(e,ko))}(o.padding,n),d=ho(a),f="y"===s?Zo:Co,m="y"===s?xo:To,h=n.rects.reference[u]+n.rects.reference[s]-i[s]-n.rects.popper[u],p=i[s]-n.rects.reference[s],v=wo(a),g=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,b=h/2-p/2,y=c[f],w=g-d[u]-c[m],Z=g/2-d[u]/2+b,x=ia(y,Z,w),T=s;n.modifiersData[r]=((t={})[T]=x,t.centerOffset=x-Z,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&Jo(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ua(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ca(e){return[Zo,To,xo,Co].some((function(t){return e[t]>=0}))}var da=Wo({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,l=void 0===i||i,s=Kr(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,jo)})),l&&s.addEventListener("resize",n.update,jo),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,jo)})),l&&s.removeEventListener("resize",n.update,jo)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Uo({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,l=n.roundOffsets,s=void 0===l||l,u={placement:zo(t.placement),variation:Ho(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Xo(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Xo(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];$r(o)&&lo(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});$r(r)&&lo(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},Qo,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0===i||i,s=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,m=n.flipVariations,h=void 0===m||m,p=n.allowedAutoPlacements,v=t.options.placement,g=zo(v),b=s||(g===v||!h?[Ko(v)]:function(e){if(zo(e)===Do)return[];var t=Ko(e);return[$o(e),t,$o(t)]}(v)),y=[v].concat(b).reduce((function(e,n){return e.concat(zo(n)===Do?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?Oo:s,c=Ho(r),d=c?l?Ro:Ro.filter((function(e){return Ho(e)===c})):ko,f=d.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=d);var m=f.reduce((function(t,n){return t[n]=aa(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[zo(n)],t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[t]}))}(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:p}):n)}),[]),w=t.rects.reference,Z=t.rects.popper,x=new Map,T=!0,C=y[0],D=0;D=0,V=S?"width":"height",N=aa(t,{placement:k,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),I=S?P?To:Co:P?xo:Zo;w[V]>Z[V]&&(I=Ko(I));var R=Ko(I),O=[];if(a&&O.push(N[M]<=0),l&&O.push(N[I]<=0,N[R]<=0),O.every((function(e){return e}))){C=k,T=!1;break}x.set(k,O)}if(T)for(var E=function(e){var t=y.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},F=h?3:1;F>0;F--){if("break"===E(F))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},la,sa,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=aa(t,{elementContext:"reference"}),l=aa(t,{altBoundary:!0}),s=ua(i,r),u=ua(l,o,a),c=ca(s),d=ca(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]}),fa=n(2871);function ma(e){return(0,ie.Z)("MuiPopper",e)}(0,ae.Z)("MuiPopper",["root"]);var ha={disableDefaultClasses:!1},pa=a.createContext(ha);var va=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],ga=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function ba(e){return"function"===typeof e?e():e}function ya(e){return void 0!==e.nodeType}var wa=function(){return(0,J.Z)({root:["root"]},function(e){var t=a.useContext(pa).disableDefaultClasses;return function(n){return t?"":e(n)}}(ma))},Za={},xa=a.forwardRef((function(e,t){var n,i=e.anchorEl,s=e.children,u=e.direction,c=e.disablePortal,d=e.modifiers,f=e.open,m=e.placement,h=e.popperOptions,p=e.popperRef,v=e.slotProps,g=void 0===v?{}:v,b=e.slots,y=void 0===b?{}:b,w=e.TransitionProps,Z=(0,o.Z)(e,va),x=a.useRef(null),D=(0,k.Z)(x,t),M=a.useRef(null),P=(0,k.Z)(M,p),S=a.useRef(P);(0,C.Z)((function(){S.current=P}),[P]),a.useImperativeHandle(p,(function(){return M.current}),[]);var V=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(m,u),N=a.useState(V),I=(0,l.Z)(N,2),R=I[0],O=I[1],E=a.useState(ba(i)),F=(0,l.Z)(E,2),L=F[0],A=F[1];a.useEffect((function(){M.current&&M.current.forceUpdate()})),a.useEffect((function(){i&&A(ba(i))}),[i]),(0,C.Z)((function(){if(L&&f){var e=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:function(e){var t=e.state;O(t.placement)}}];null!=d&&(e=e.concat(d)),h&&null!=h.modifiers&&(e=e.concat(h.modifiers));var t=da(L,x.current,(0,r.Z)({placement:V},h,{modifiers:e}));return S.current(t),function(){t.destroy(),S.current(null)}}}),[L,c,d,f,h,V]);var B={placement:R};null!==w&&(B.TransitionProps=w);var W=wa(),j=null!=(n=y.root)?n:"div",z=(0,T.y)({elementType:j,externalSlotProps:g.root,externalForwardedProps:Z,additionalProps:{role:"tooltip",ref:D},ownerState:e,className:W.root});return(0,ce.jsx)(j,(0,r.Z)({},z,{children:"function"===typeof s?s(B):s}))})),Ta=a.forwardRef((function(e,t){var n,i=e.anchorEl,s=e.children,u=e.container,c=e.direction,d=void 0===c?"ltr":c,f=e.disablePortal,m=void 0!==f&&f,h=e.keepMounted,p=void 0!==h&&h,v=e.modifiers,g=e.open,b=e.placement,y=void 0===b?"bottom":b,w=e.popperOptions,Z=void 0===w?Za:w,x=e.popperRef,T=e.style,C=e.transition,D=void 0!==C&&C,k=e.slotProps,M=void 0===k?{}:k,P=e.slots,S=void 0===P?{}:P,V=(0,o.Z)(e,ga),N=a.useState(!0),I=(0,l.Z)(N,2),R=I[0],O=I[1];if(!p&&!g&&(!D||R))return null;if(u)n=u;else if(i){var E=ba(i);n=E&&ya(E)?(0,Gr.Z)(E).body:(0,Gr.Z)(null).body}var F=g||!p||D&&!R?void 0:"none",L=D?{in:g,onEnter:function(){O(!1)},onExited:function(){O(!0)}}:void 0;return(0,ce.jsx)(fa.h,{disablePortal:m,container:n,children:(0,ce.jsx)(xa,(0,r.Z)({anchorEl:i,direction:d,disablePortal:m,modifiers:v,ref:t,open:D?!R:g,placement:y,popperOptions:Z,popperRef:x,slotProps:M,slots:S},V,{style:(0,r.Z)({position:"fixed",top:0,left:0,display:F},T),TransitionProps:L,children:s}))})})),Ca=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],Da=(0,oe.ZP)(Ta,{name:"MuiPopper",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),ka=a.forwardRef((function(e,t){var n,a=(0,s.Z)(),i=(0,p.Z)({props:e,name:"MuiPopper"}),l=i.anchorEl,u=i.component,c=i.components,d=i.componentsProps,f=i.container,m=i.disablePortal,h=i.keepMounted,v=i.modifiers,g=i.open,b=i.placement,y=i.popperOptions,w=i.popperRef,Z=i.transition,x=i.slots,T=i.slotProps,C=(0,o.Z)(i,Ca),D=null!=(n=null==x?void 0:x.root)?n:null==c?void 0:c.Root,k=(0,r.Z)({anchorEl:l,container:f,disablePortal:m,keepMounted:h,modifiers:v,open:g,placement:b,popperOptions:y,popperRef:w,transition:Z},C);return(0,ce.jsx)(Da,(0,r.Z)({as:u,direction:null==a?void 0:a.direction,slots:{root:D},slotProps:null!=T?T:d},k,{ref:t}))})),Ma=n(2071);function Pa(e){return(0,ie.Z)("MuiPickersPopper",e)}(0,ae.Z)("MuiPickersPopper",["root","paper"]);var Sa=["PaperComponent","popperPlacement","ownerState","children","paperSlotProps","paperClasses","onPaperClick","onPaperTouchStart"],Va=(0,oe.ZP)(ka,{name:"MuiPickersPopper",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){return{zIndex:e.theme.zIndex.modal}})),Na=(0,oe.ZP)(Qr.Z,{name:"MuiPickersPopper",slot:"Paper",overridesResolver:function(e,t){return t.paper}})((function(e){var t=e.ownerState;return(0,r.Z)({outline:0,transformOrigin:"top center"},t.placement.includes("top")&&{transformOrigin:"bottom center"})}));var Ia=a.forwardRef((function(e,t){var n=e.PaperComponent,a=e.popperPlacement,i=e.ownerState,l=e.children,s=e.paperSlotProps,u=e.paperClasses,c=e.onPaperClick,d=e.onPaperTouchStart,f=(0,o.Z)(e,Sa),m=(0,r.Z)({},i,{placement:a}),h=(0,T.y)({elementType:n,externalSlotProps:s,additionalProps:{tabIndex:-1,elevation:8,ref:t},className:u,ownerState:m});return(0,ce.jsx)(n,(0,r.Z)({},f,h,{onClick:function(e){var t;c(e),null==(t=h.onClick)||t.call(h,e)},onTouchStart:function(e){var t;d(e),null==(t=h.onTouchStart)||t.call(h,e)},ownerState:m,children:l}))}));function Ra(e){var t,n,o,i,s=(0,p.Z)({props:e,name:"MuiPickersPopper"}),u=s.anchorEl,c=s.children,d=s.containerRef,f=void 0===d?null:d,m=s.shouldRestoreFocus,h=s.onBlur,v=s.onDismiss,g=s.open,b=s.role,y=s.placement,w=s.slots,Z=s.slotProps,x=s.reduceAnimations;a.useEffect((function(){function e(e){!g||"Escape"!==e.key&&"Esc"!==e.key||v()}return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)}}),[v,g]);var C=a.useRef(null);a.useEffect((function(){"tooltip"===b||m&&!m()||(g?C.current=F(document):C.current&&C.current instanceof HTMLElement&&setTimeout((function(){C.current instanceof HTMLElement&&C.current.focus()})))}),[g,b,m]);var M=function(e,t){var n=a.useRef(!1),r=a.useRef(!1),o=a.useRef(null),i=a.useRef(!1);a.useEffect((function(){if(e)return document.addEventListener("mousedown",t,!0),document.addEventListener("touchstart",t,!0),function(){document.removeEventListener("mousedown",t,!0),document.removeEventListener("touchstart",t,!0),i.current=!1};function t(){i.current=!0}}),[e]);var l=(0,D.Z)((function(e){if(i.current){var a=r.current;r.current=!1;var l=(0,Gr.Z)(o.current);!o.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth-1:!l.documentElement.contains(e.target)||o.current.contains(e.target))||a||t(e))}})),s=function(){r.current=!0};return a.useEffect((function(){if(e){var t=(0,Gr.Z)(o.current),r=function(){n.current=!0};return t.addEventListener("touchstart",l),t.addEventListener("touchmove",r),function(){t.removeEventListener("touchstart",l),t.removeEventListener("touchmove",r)}}}),[e,l]),a.useEffect((function(){if(e){var t=(0,Gr.Z)(o.current);return t.addEventListener("click",l),function(){t.removeEventListener("click",l),r.current=!1}}}),[e,l]),[o,s,s]}(g,null!=h?h:v),P=(0,l.Z)(M,3),S=P[0],V=P[1],N=P[2],I=a.useRef(null),R=(0,k.Z)(I,f),O=(0,k.Z)(R,S),E=s,L=function(e){var t=e.classes;return(0,J.Z)({root:["root"],paper:["paper"]},Pa,t)}(E),A=mr(),B=null!=x?x:A,W=(null!=(t=null==w?void 0:w.desktopTransition)?t:B)?Wt.Z:Xr.Z,j=null!=(n=null==w?void 0:w.desktopTrapFocus)?n:Ma.i,z=null!=(o=null==w?void 0:w.desktopPaper)?o:Na,H=null!=(i=null==w?void 0:w.popper)?i:Va,Y=(0,T.y)({elementType:H,externalSlotProps:null==Z?void 0:Z.popper,additionalProps:{transition:!0,role:b,open:g,anchorEl:u,placement:y,onKeyDown:function(e){"Escape"===e.key&&(e.stopPropagation(),v())}},className:L.root,ownerState:s});return(0,ce.jsx)(H,(0,r.Z)({},Y,{children:function(e){var t=e.TransitionProps,n=e.placement;return(0,ce.jsx)(j,(0,r.Z)({open:g,disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:"tooltip"===b,isEnabled:function(){return!0}},null==Z?void 0:Z.desktopTrapFocus,{children:(0,ce.jsx)(W,(0,r.Z)({},t,null==Z?void 0:Z.desktopTransition,{children:(0,ce.jsx)(Ia,{PaperComponent:z,ownerState:E,popperPlacement:n,ref:O,onPaperClick:V,onPaperTouchStart:N,paperClasses:L.paper,paperSlotProps:null==Z?void 0:Z.desktopPaper,children:c})}))}))}}))}var Oa=function(e){var t=e.props,n=e.valueManager,o=e.valueType,i=e.wrapperVariant,s=e.validator,u=t.onAccept,c=t.onChange,d=t.value,f=t.defaultValue,m=t.closeOnSelect,h=void 0===m?"desktop"===i:m,p=t.selectedSections,v=t.onSelectedSectionsChange,g=t.timezone,b=a.useRef(f).current,y=a.useRef(void 0!==d).current;var w=(0,P.nB)(),Z=(0,P.Do)(),x=(0,N.Z)({controlled:p,default:null,name:"usePickerValue",state:"selectedSections"}),T=(0,l.Z)(x,2),C=T[0],k=T[1],M=function(e){var t=e.open,n=e.onOpen,r=e.onClose,o=a.useRef("boolean"===typeof t).current,i=a.useState(!1),s=(0,l.Z)(i,2),u=s[0],c=s[1];return a.useEffect((function(){if(o){if("boolean"!==typeof t)throw new Error("You must not mix controlling and uncontrolled mode for `open` prop");c(t)}}),[o,t]),{isOpen:u,setIsOpen:a.useCallback((function(e){o||c(e),e&&n&&n(),!e&&r&&r()}),[o,n,r])}}(t),V=M.isOpen,R=M.setIsOpen,O=a.useState((function(){var e;return{draft:e=void 0!==d?d:void 0!==b?b:n.emptyValue,lastPublishedValue:e,lastCommittedValue:e,lastControlledValue:d,hasBeenModifiedSinceMount:!1}})),E=(0,l.Z)(O,2),F=E[0],L=E[1],A=(0,I.w)({timezone:g,value:d,defaultValue:b,onChange:c,valueManager:n}),B=A.timezone,W=A.handleValueChange;S((0,r.Z)({},t,{value:F.draft,timezone:B}),s,n.isSameError,n.defaultErrorState);var j=(0,D.Z)((function(e){var o={action:e,dateState:F,hasChanged:function(t){return!n.areValuesEqual(w,e.value,t)},isControlled:y,closeOnSelect:h},a=function(e){var t=e.action,n=e.hasChanged,r=e.dateState,o=!e.isControlled&&!r.hasBeenModifiedSinceMount;return"setValueFromField"===t.name||("setValueFromAction"===t.name?!(!o||!["accept","today","clear"].includes(t.pickerAction))||n(r.lastPublishedValue):("setValueFromView"===t.name&&"shallow"!==t.selectionState||"setValueFromShortcut"===t.name)&&(!!o||n(r.lastPublishedValue)))}(o),i=function(e){var t=e.action,n=e.hasChanged,r=e.dateState,o=e.isControlled,a=e.closeOnSelect,i=!o&&!r.hasBeenModifiedSinceMount;return"setValueFromAction"===t.name?!(!i||!["accept","today","clear"].includes(t.pickerAction))||n(r.lastCommittedValue):"setValueFromView"===t.name&&"finish"===t.selectionState&&a?!!i||n(r.lastCommittedValue):"setValueFromShortcut"===t.name&&"accept"===t.changeImportance&&n(r.lastCommittedValue)}(o),l=function(e){var t=e.action,n=e.closeOnSelect;return"setValueFromAction"===t.name||("setValueFromView"===t.name?"finish"===t.selectionState&&n:"setValueFromShortcut"===t.name&&"accept"===t.changeImportance)}(o);if(L((function(t){return(0,r.Z)({},t,{draft:e.value,lastPublishedValue:a?e.value:t.lastPublishedValue,lastCommittedValue:i?e.value:t.lastCommittedValue,hasBeenModifiedSinceMount:!0})})),a){var c={validationError:"setValueFromField"===e.name?e.context.validationError:s({adapter:Z,value:e.value,props:(0,r.Z)({},t,{value:e.value,timezone:B})})};"setValueFromShortcut"===e.name&&null!=e.shortcut&&(c.shortcut=e.shortcut),W(e.value,c)}i&&u&&u(e.value),l&&R(!1)}));if(void 0!==d&&(void 0===F.lastControlledValue||!n.areValuesEqual(w,F.lastControlledValue,d))){var z=n.areValuesEqual(w,F.draft,d);L((function(e){return(0,r.Z)({},e,{lastControlledValue:d},z?{}:{lastCommittedValue:d,lastPublishedValue:d,draft:d,hasBeenModifiedSinceMount:!0})}))}var H=(0,D.Z)((function(){j({value:n.emptyValue,name:"setValueFromAction",pickerAction:"clear"})})),Y=(0,D.Z)((function(){j({value:F.lastPublishedValue,name:"setValueFromAction",pickerAction:"accept"})})),U=(0,D.Z)((function(){j({value:F.lastPublishedValue,name:"setValueFromAction",pickerAction:"dismiss"})})),q=(0,D.Z)((function(){j({value:F.lastCommittedValue,name:"setValueFromAction",pickerAction:"cancel"})})),X=(0,D.Z)((function(){j({value:n.getTodayValue(w,B,o),name:"setValueFromAction",pickerAction:"today"})})),Q=(0,D.Z)((function(){return R(!0)})),G=(0,D.Z)((function(){return R(!1)})),K=(0,D.Z)((function(e){return j({name:"setValueFromView",value:e,selectionState:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"partial"})})),_=(0,D.Z)((function(e,t,n){return j({name:"setValueFromShortcut",value:e,changeImportance:null!=t?t:"accept",shortcut:n})})),$=(0,D.Z)((function(e,t){return j({name:"setValueFromField",value:e,context:t})})),J=(0,D.Z)((function(e){k(e),null==v||v(e)})),ee={onClear:H,onAccept:Y,onDismiss:U,onCancel:q,onSetToday:X,onOpen:Q,onClose:G},te={value:F.draft,onChange:$,selectedSections:C,onSelectedSectionsChange:J},ne=a.useMemo((function(){return n.cleanValue(w,F.draft)}),[w,n,F.draft]);return{open:V,fieldProps:te,viewProps:{value:ne,onChange:K,onClose:G,open:V,onSelectedSectionsChange:J},layoutProps:(0,r.Z)({},ee,{value:ne,onChange:K,onSelectShortcut:_,isValid:function(e){var o=s({adapter:Z,value:e,props:(0,r.Z)({},t,{value:e,timezone:B})});return!n.hasError(o)}}),actions:ee}},Ea=["className","sx"];function Fa(){return"undefined"===typeof window?"portrait":window.screen&&window.screen.orientation&&window.screen.orientation.angle?90===Math.abs(window.screen.orientation.angle)?"landscape":"portrait":window.orientation&&90===Math.abs(Number(window.orientation))?"landscape":"portrait"}var La=function(e,t){var n,r,o=a.useState(Fa),i=(0,l.Z)(o,2),s=i[0],u=i[1];return(0,C.Z)((function(){var e=function(){u(Fa())};return window.addEventListener("orientationchange",e),function(){window.removeEventListener("orientationchange",e)}}),[]),n=e,r=["hours","minutes","seconds"],!(Array.isArray(r)?r.every((function(e){return-1!==n.indexOf(e)})):-1!==n.indexOf(r))&&"landscape"===(t||s)},Aa=(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"warning",n=!1,r=Array.isArray(e)?e.join("\n"):e}(["The `renderInput` prop has been removed in version 6.0 of the Date and Time Pickers.","You can replace it with the `textField` component slot in most cases.","For more information, please have a look at the migration guide (https://mui.com/x/migration/migration-pickers-v5/#input-renderer-required-in-v5)."]),function(e){var t=e.props,n=e.valueManager,i=e.valueType,s=e.wrapperVariant,u=e.inputRef,c=e.additionalViewProps,d=e.validator,f=e.autoFocusView;var m=Oa({props:t,valueManager:n,valueType:i,wrapperVariant:s,validator:d}),h=function(e){var t=e.props,n=e.propsFromPickerValue,i=e.additionalViewProps,s=e.inputRef,u=e.autoFocusView,c=n.onChange,d=n.open,f=n.onSelectedSectionsChange,m=n.onClose,h=t.views,p=t.openTo,v=t.onViewChange,g=t.disableOpenPicker,b=t.viewRenderers,y=t.timezone,w=(0,o.Z)(t,Ea),Z=(0,Kn.B)({view:void 0,views:h,openTo:p,onChange:c,onViewChange:v,autoFocus:u}),x=Z.view,T=Z.setView,k=Z.defaultView,M=Z.focusedView,P=Z.setFocusedView,S=Z.setValueAndGoToNextView,V=a.useMemo((function(){return h.reduce((function(e,t){var n;return n=g?"field":null!=b[t]?"UI":"field",e.viewModeLookup[t]=n,"UI"===n&&(e.hasUIView=!0),e}),{hasUIView:!1,viewModeLookup:{}})}),[g,b,h]),N=V.hasUIView,I=V.viewModeLookup,R=a.useMemo((function(){return h.reduce((function(e,t){return null!=b[t]&&(0,j.Is)(t)?e+1:e}),0)}),[b,h]),O=I[x],E=(0,D.Z)((function(){return"UI"===O})),F=a.useState("UI"===O?x:null),L=(0,l.Z)(F,2),A=L[0],B=L[1];return A!==x&&"UI"===I[x]&&B(x),(0,C.Z)((function(){"field"===O&&d&&(m(),setTimeout((function(){null==s||s.current.focus(),f(x)})))}),[x]),(0,C.Z)((function(){if(d){var e=x;"field"===O&&null!=A&&(e=A),e!==k&&"UI"===I[e]&&"UI"===I[k]&&(e=k),e!==x&&T(e),P(e,!0)}}),[d]),{hasUIView:N,shouldRestoreFocus:E,layoutProps:{views:h,view:A,onViewChange:T},renderCurrentView:function(){if(null==A)return null;var e=b[A];return null==e?null:e((0,r.Z)({},w,i,n,{views:h,timezone:y,onChange:S,view:A,onViewChange:T,focusedView:M,onFocusedViewChange:P,showViewSwitcher:R>1,timeViewsCount:R}))}}}({props:t,inputRef:u,additionalViewProps:c,autoFocusView:f,propsFromPickerValue:m.viewProps}),p=function(e){var t=e.props,n=e.propsFromPickerValue,o=e.propsFromPickerViews,a=e.wrapperVariant,i=t.orientation,l=La(o.views,i);return{layoutProps:(0,r.Z)({},o,n,{isLandscape:l,wrapperVariant:a,disabled:t.disabled,readOnly:t.readOnly})}}({props:t,wrapperVariant:s,propsFromPickerValue:m.layoutProps,propsFromPickerViews:h.layoutProps});return{open:m.open,actions:m.actions,fieldProps:m.fieldProps,renderCurrentView:h.renderCurrentView,hasUIView:h.hasUIView,shouldRestoreFocus:h.shouldRestoreFocus,layoutProps:p.layoutProps}}),Ba=n(3208);function Wa(e){return(0,ie.Z)("MuiPickersLayout",e)}var ja=(0,ae.Z)("MuiPickersLayout",["root","landscape","contentWrapper","toolbar","actionBar","shortcuts"]),za=n(4117),Ha=["onAccept","onClear","onCancel","onSetToday","actions"];function Ya(e){var t=e.onAccept,n=e.onClear,a=e.onCancel,i=e.onSetToday,l=e.actions,s=(0,o.Z)(e,Ha),u=(0,P.og)();if(null==l||0===l.length)return null;var c=null==l?void 0:l.map((function(e){switch(e){case"clear":return(0,ce.jsx)(gt.Z,{onClick:n,children:u.clearButtonLabel},e);case"cancel":return(0,ce.jsx)(gt.Z,{onClick:a,children:u.cancelButtonLabel},e);case"accept":return(0,ce.jsx)(gt.Z,{onClick:t,children:u.okButtonLabel},e);case"today":return(0,ce.jsx)(gt.Z,{onClick:i,children:u.todayButtonLabel},e);default:return null}}));return(0,ce.jsx)(za.Z,(0,r.Z)({},s,{children:c}))}var Ua=n(8310),qa=n(7216),Xa=(0,Oe.Z)((0,ce.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function Qa(e){return(0,ie.Z)("MuiChip",e)}var Ga=(0,ae.Z)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),Ka=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],_a=(0,oe.ZP)("div",{name:"MuiChip",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=n.color,o=n.iconColor,a=n.clickable,i=n.onDelete,l=n.size,s=n.variant;return[(0,_.Z)({},"& .".concat(Ga.avatar),t.avatar),(0,_.Z)({},"& .".concat(Ga.avatar),t["avatar".concat((0,ee.Z)(l))]),(0,_.Z)({},"& .".concat(Ga.avatar),t["avatarColor".concat((0,ee.Z)(r))]),(0,_.Z)({},"& .".concat(Ga.icon),t.icon),(0,_.Z)({},"& .".concat(Ga.icon),t["icon".concat((0,ee.Z)(l))]),(0,_.Z)({},"& .".concat(Ga.icon),t["iconColor".concat((0,ee.Z)(o))]),(0,_.Z)({},"& .".concat(Ga.deleteIcon),t.deleteIcon),(0,_.Z)({},"& .".concat(Ga.deleteIcon),t["deleteIcon".concat((0,ee.Z)(l))]),(0,_.Z)({},"& .".concat(Ga.deleteIcon),t["deleteIconColor".concat((0,ee.Z)(r))]),(0,_.Z)({},"& .".concat(Ga.deleteIcon),t["deleteIcon".concat((0,ee.Z)(s),"Color").concat((0,ee.Z)(r))]),t.root,t["size".concat((0,ee.Z)(l))],t["color".concat((0,ee.Z)(r))],a&&t.clickable,a&&"default"!==r&&t["clickableColor".concat((0,ee.Z)(r),")")],i&&t.deletable,i&&"default"!==r&&t["deletableColor".concat((0,ee.Z)(r))],t[s],t["".concat(s).concat((0,ee.Z)(r))]]}})((function(e){var t,n=e.theme,o=e.ownerState,a="light"===n.palette.mode?n.palette.grey[700]:n.palette.grey[300];return(0,r.Z)((t={maxWidth:"100%",fontFamily:n.typography.fontFamily,fontSize:n.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(n.vars||n).palette.text.primary,backgroundColor:(n.vars||n).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:n.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box"},(0,_.Z)(t,"&.".concat(Ga.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity,pointerEvents:"none"}),(0,_.Z)(t,"& .".concat(Ga.avatar),{marginLeft:5,marginRight:-6,width:24,height:24,color:n.vars?n.vars.palette.Chip.defaultAvatarColor:a,fontSize:n.typography.pxToRem(12)}),(0,_.Z)(t,"& .".concat(Ga.avatarColorPrimary),{color:(n.vars||n).palette.primary.contrastText,backgroundColor:(n.vars||n).palette.primary.dark}),(0,_.Z)(t,"& .".concat(Ga.avatarColorSecondary),{color:(n.vars||n).palette.secondary.contrastText,backgroundColor:(n.vars||n).palette.secondary.dark}),(0,_.Z)(t,"& .".concat(Ga.avatarSmall),{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:n.typography.pxToRem(10)}),(0,_.Z)(t,"& .".concat(Ga.icon),(0,r.Z)({marginLeft:5,marginRight:-6},"small"===o.size&&{fontSize:18,marginLeft:4,marginRight:-4},o.iconColor===o.color&&(0,r.Z)({color:n.vars?n.vars.palette.Chip.defaultIconColor:a},"default"!==o.color&&{color:"inherit"}))),(0,_.Z)(t,"& .".concat(Ga.deleteIcon),(0,r.Z)({WebkitTapHighlightColor:"transparent",color:n.vars?"rgba(".concat(n.vars.palette.text.primaryChannel," / 0.26)"):(0,Ut.Fq)(n.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:n.vars?"rgba(".concat(n.vars.palette.text.primaryChannel," / 0.4)"):(0,Ut.Fq)(n.palette.text.primary,.4)}},"small"===o.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==o.color&&{color:n.vars?"rgba(".concat(n.vars.palette[o.color].contrastTextChannel," / 0.7)"):(0,Ut.Fq)(n.palette[o.color].contrastText,.7),"&:hover, &:active":{color:(n.vars||n).palette[o.color].contrastText}})),t),"small"===o.size&&{height:24},"default"!==o.color&&{backgroundColor:(n.vars||n).palette[o.color].main,color:(n.vars||n).palette[o.color].contrastText},o.onDelete&&(0,_.Z)({},"&.".concat(Ga.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.selectedChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,Ut.Fq)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)}),o.onDelete&&"default"!==o.color&&(0,_.Z)({},"&.".concat(Ga.focusVisible),{backgroundColor:(n.vars||n).palette[o.color].dark}))}),(function(e){var t,n=e.theme,o=e.ownerState;return(0,r.Z)({},o.clickable&&(t={userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.selectedChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,Ut.Fq)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity)}},(0,_.Z)(t,"&.".concat(Ga.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.selectedChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,Ut.Fq)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)}),(0,_.Z)(t,"&:active",{boxShadow:(n.vars||n).shadows[1]}),t),o.clickable&&"default"!==o.color&&(0,_.Z)({},"&:hover, &.".concat(Ga.focusVisible),{backgroundColor:(n.vars||n).palette[o.color].dark}))}),(function(e){var t,n,o=e.theme,a=e.ownerState;return(0,r.Z)({},"outlined"===a.variant&&(t={backgroundColor:"transparent",border:o.vars?"1px solid ".concat(o.vars.palette.Chip.defaultBorder):"1px solid ".concat("light"===o.palette.mode?o.palette.grey[400]:o.palette.grey[700])},(0,_.Z)(t,"&.".concat(Ga.clickable,":hover"),{backgroundColor:(o.vars||o).palette.action.hover}),(0,_.Z)(t,"&.".concat(Ga.focusVisible),{backgroundColor:(o.vars||o).palette.action.focus}),(0,_.Z)(t,"& .".concat(Ga.avatar),{marginLeft:4}),(0,_.Z)(t,"& .".concat(Ga.avatarSmall),{marginLeft:2}),(0,_.Z)(t,"& .".concat(Ga.icon),{marginLeft:4}),(0,_.Z)(t,"& .".concat(Ga.iconSmall),{marginLeft:2}),(0,_.Z)(t,"& .".concat(Ga.deleteIcon),{marginRight:5}),(0,_.Z)(t,"& .".concat(Ga.deleteIconSmall),{marginRight:3}),t),"outlined"===a.variant&&"default"!==a.color&&(n={color:(o.vars||o).palette[a.color].main,border:"1px solid ".concat(o.vars?"rgba(".concat(o.vars.palette[a.color].mainChannel," / 0.7)"):(0,Ut.Fq)(o.palette[a.color].main,.7))},(0,_.Z)(n,"&.".concat(Ga.clickable,":hover"),{backgroundColor:o.vars?"rgba(".concat(o.vars.palette[a.color].mainChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):(0,Ut.Fq)(o.palette[a.color].main,o.palette.action.hoverOpacity)}),(0,_.Z)(n,"&.".concat(Ga.focusVisible),{backgroundColor:o.vars?"rgba(".concat(o.vars.palette[a.color].mainChannel," / ").concat(o.vars.palette.action.focusOpacity,")"):(0,Ut.Fq)(o.palette[a.color].main,o.palette.action.focusOpacity)}),(0,_.Z)(n,"& .".concat(Ga.deleteIcon),{color:o.vars?"rgba(".concat(o.vars.palette[a.color].mainChannel," / 0.7)"):(0,Ut.Fq)(o.palette[a.color].main,.7),"&:hover, &:active":{color:(o.vars||o).palette[a.color].main}}),n))})),$a=(0,oe.ZP)("span",{name:"MuiChip",slot:"Label",overridesResolver:function(e,t){var n=e.ownerState.size;return[t.label,t["label".concat((0,ee.Z)(n))]]}})((function(e){var t=e.ownerState;return(0,r.Z)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"small"===t.size&&{paddingLeft:8,paddingRight:8})}));function Ja(e){return"Backspace"===e.key||"Delete"===e.key}var ei=a.forwardRef((function(e,t){var n=(0,p.Z)({props:e,name:"MuiChip"}),i=n.avatar,l=n.className,s=n.clickable,u=n.color,c=void 0===u?"default":u,d=n.component,f=n.deleteIcon,m=n.disabled,h=void 0!==m&&m,v=n.icon,g=n.label,b=n.onClick,y=n.onDelete,w=n.onKeyDown,Z=n.onKeyUp,x=n.size,T=void 0===x?"medium":x,C=n.variant,D=void 0===C?"filled":C,k=n.tabIndex,M=n.skipFocusWhenDisabled,P=void 0!==M&&M,S=(0,o.Z)(n,Ka),V=a.useRef(null),N=(0,Cr.Z)(V,t),I=function(e){e.stopPropagation(),y&&y(e)},R=!(!1===s||!b)||s,O=R||y?we.Z:d||"div",E=(0,r.Z)({},n,{component:O,disabled:h,size:T,color:c,iconColor:a.isValidElement(v)&&v.props.color||c,onDelete:!!y,clickable:R,variant:D}),F=function(e){var t=e.classes,n=e.disabled,r=e.size,o=e.color,a=e.iconColor,i=e.onDelete,l=e.clickable,s=e.variant,u={root:["root",s,n&&"disabled","size".concat((0,ee.Z)(r)),"color".concat((0,ee.Z)(o)),l&&"clickable",l&&"clickableColor".concat((0,ee.Z)(o)),i&&"deletable",i&&"deletableColor".concat((0,ee.Z)(o)),"".concat(s).concat((0,ee.Z)(o))],label:["label","label".concat((0,ee.Z)(r))],avatar:["avatar","avatar".concat((0,ee.Z)(r)),"avatarColor".concat((0,ee.Z)(o))],icon:["icon","icon".concat((0,ee.Z)(r)),"iconColor".concat((0,ee.Z)(a))],deleteIcon:["deleteIcon","deleteIcon".concat((0,ee.Z)(r)),"deleteIconColor".concat((0,ee.Z)(o)),"deleteIcon".concat((0,ee.Z)(s),"Color").concat((0,ee.Z)(o))]};return(0,J.Z)(u,Qa,t)}(E),L=O===we.Z?(0,r.Z)({component:d||"div",focusVisibleClassName:F.focusVisible},y&&{disableRipple:!0}):{},A=null;y&&(A=f&&a.isValidElement(f)?a.cloneElement(f,{className:(0,$.Z)(f.props.className,F.deleteIcon),onClick:I}):(0,ce.jsx)(Xa,{className:(0,$.Z)(F.deleteIcon),onClick:I}));var B=null;i&&a.isValidElement(i)&&(B=a.cloneElement(i,{className:(0,$.Z)(F.avatar,i.props.className)}));var W=null;return v&&a.isValidElement(v)&&(W=a.cloneElement(v,{className:(0,$.Z)(F.icon,v.props.className)})),(0,ce.jsxs)(_a,(0,r.Z)({as:O,className:(0,$.Z)(F.root,l),disabled:!(!R||!h)||void 0,onClick:b,onKeyDown:function(e){e.currentTarget===e.target&&Ja(e)&&e.preventDefault(),w&&w(e)},onKeyUp:function(e){e.currentTarget===e.target&&(y&&Ja(e)?y(e):"Escape"===e.key&&V.current&&V.current.blur()),Z&&Z(e)},ref:N,tabIndex:P&&h?-1:k,ownerState:E},L,S,{children:[B||W,(0,ce.jsx)($a,{className:(0,$.Z)(F.label),ownerState:E,children:g}),A]}))})),ti=["items","changeImportance","isLandscape","onChange","isValid"],ni=["getValue"];function ri(e){var t=e.items,n=e.changeImportance,a=e.onChange,i=e.isValid,l=(0,o.Z)(e,ti);if(null==t||0===t.length)return null;var s=t.map((function(e){var t=e.getValue,r=(0,o.Z)(e,ni),l=t({isValid:i});return{label:r.label,onClick:function(){a(l,n,r)},disabled:!i(l)}}));return(0,ce.jsx)(Ua.Z,(0,r.Z)({dense:!0,sx:[{maxHeight:Ct.BR,maxWidth:200,overflow:"auto"}].concat((0,v.Z)(Array.isArray(l.sx)?l.sx:[l.sx]))},l,{children:s.map((function(e){return(0,ce.jsx)(qa.ZP,{children:(0,ce.jsx)(ei,(0,r.Z)({},e))},e.label)}))}))}var oi=function(e){var t,n,o=e.wrapperVariant,a=e.onAccept,i=e.onClear,l=e.onCancel,s=e.onSetToday,u=e.view,c=e.views,d=e.onViewChange,f=e.value,m=e.onChange,h=e.onSelectShortcut,p=e.isValid,v=e.isLandscape,g=e.disabled,b=e.readOnly,y=e.children,w=e.components,Z=e.componentsProps,x=e.slots,C=e.slotProps,D=null!=x?x:(0,Et.S)(w),k=null!=C?C:Z,M=function(e){var t=e.classes,n={root:["root",e.isLandscape&&"landscape"],contentWrapper:["contentWrapper"],toolbar:["toolbar"],actionBar:["actionBar"],tabs:["tabs"],landscape:["landscape"],shortcuts:["shortcuts"]};return(0,J.Z)(n,Wa,t)}(e),P=null!=(t=null==D?void 0:D.actionBar)?t:Ya,S=(0,T.y)({elementType:P,externalSlotProps:null==k?void 0:k.actionBar,additionalProps:{onAccept:a,onClear:i,onCancel:l,onSetToday:s,actions:"desktop"===o?[]:["cancel","accept"],className:M.actionBar},ownerState:(0,r.Z)({},e,{wrapperVariant:o})}),V=(0,ce.jsx)(P,(0,r.Z)({},S)),N=null==D?void 0:D.toolbar,I=(0,T.y)({elementType:N,externalSlotProps:null==k?void 0:k.toolbar,additionalProps:{isLandscape:v,onChange:m,value:f,view:u,onViewChange:d,views:c,disabled:g,readOnly:b,className:M.toolbar},ownerState:(0,r.Z)({},e,{wrapperVariant:o})}),R=function(e){return null!==e.view}(I)&&N?(0,ce.jsx)(N,(0,r.Z)({},I)):null,O=y,E=null==D?void 0:D.tabs,F=u&&E?(0,ce.jsx)(E,(0,r.Z)({view:u,onViewChange:d},null==k?void 0:k.tabs)):null,L=null!=(n=null==D?void 0:D.shortcuts)?n:ri,A=(0,T.y)({elementType:L,externalSlotProps:null==k?void 0:k.shortcuts,additionalProps:{isValid:p,isLandscape:v,onChange:h,className:M.shortcuts},ownerState:{isValid:p,isLandscape:v,onChange:h,className:M.shortcuts,wrapperVariant:o}});return{toolbar:R,content:O,tabs:F,actionBar:V,shortcuts:u&&L?(0,ce.jsx)(L,(0,r.Z)({},A)):null}},ai=(0,oe.ZP)("div",{name:"MuiPickersLayout",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t,n=e.theme,r=e.ownerState;return t={display:"grid",gridAutoColumns:"max-content auto max-content",gridAutoRows:"max-content auto max-content"},(0,_.Z)(t,"& .".concat(ja.toolbar),r.isLandscape?{gridColumn:"rtl"===n.direction?3:1,gridRow:"2 / 3"}:{gridColumn:"2 / 4",gridRow:1}),(0,_.Z)(t,".".concat(ja.shortcuts),r.isLandscape?{gridColumn:"2 / 4",gridRow:1}:{gridColumn:"rtl"===n.direction?3:1,gridRow:"2 / 3"}),(0,_.Z)(t,"& .".concat(ja.actionBar),{gridColumn:"1 / 4",gridRow:3}),t}));ai.propTypes={as:b().elementType,ownerState:b().shape({isLandscape:b().bool.isRequired}).isRequired,sx:b().oneOfType([b().arrayOf(b().oneOfType([b().func,b().object,b().bool])),b().func,b().object])};var ii=(0,oe.ZP)("div",{name:"MuiPickersLayout",slot:"ContentWrapper",overridesResolver:function(e,t){return t.contentWrapper}})({gridColumn:2,gridRow:2,display:"flex",flexDirection:"column"}),li=function(e){var t=(0,p.Z)({props:e,name:"MuiPickersLayout"}),n=oi(t),r=n.toolbar,o=n.content,i=n.tabs,l=n.actionBar,s=n.shortcuts,u=t.sx,c=t.className,d=t.isLandscape,f=t.ref,m=t.wrapperVariant,h=t,v=function(e){var t=e.isLandscape,n=e.classes,r={root:["root",t&&"landscape"],contentWrapper:["contentWrapper"]};return(0,J.Z)(r,Wa,n)}(h);return(0,ce.jsxs)(ai,{ref:f,sx:u,className:(0,$.Z)(c,v.root),ownerState:h,children:[d?s:r,d?r:s,(0,ce.jsx)(ii,{className:v.contentWrapper,children:"desktop"===m?(0,ce.jsxs)(a.Fragment,{children:[o,i]}):(0,ce.jsxs)(a.Fragment,{children:[i,o]})}),l]})},si=["props","getOpenDialogAriaText"],ui=["ownerState"],ci=["ownerState"],di=["views","format"],fi=function(e,t){var n=t.views,a=t.format,i=(0,o.Z)(t,di);if(a)return a;var l=[],s=[];if(n.forEach((function(e){(0,j.Is)(e)?s.push(e):l.push(e)})),0===s.length)return(0,B.iB)(e,(0,r.Z)({views:l},i),!1);if(0===l.length)return(0,j.l9)(e,(0,r.Z)({views:s},i));var u=(0,j.l9)(e,(0,r.Z)({views:s},i)),c=(0,B.iB)(e,(0,r.Z)({views:l},i),!1);return"".concat(c," ").concat(u)},mi=a.forwardRef((function(e,t){var n,i,l,s,u,c,d,f=(0,P.og)(),m=(0,P.nB)(),h=Ft(e,"MuiDesktopDateTimePicker"),p=(0,r.Z)({hours:1,minutes:5,seconds:5},h.timeSteps),g=!h.viewRenderers||0===Object.keys(h.viewRenderers).length,b=g?{day:qr,month:qr,year:qr,hours:qr,minutes:qr,seconds:qr,meridiem:qr}:(0,r.Z)({day:yr,month:yr,year:yr,hours:null,minutes:null,seconds:null,meridiem:null},h.viewRenderers),w=null==(n=h.ampmInClock)||n,x=g?["accept"]:[],C=(0,r.Z)({},h,{viewRenderers:b,format:fi(m,h),views:h.ampm?[].concat((0,v.Z)(h.views),["meridiem"]):h.views,yearsPerRow:null!=(i=h.yearsPerRow)?i:4,ampmInClock:w,timeSteps:p,slots:(0,r.Z)({field:ye,openPickerIcon:he.Qu},h.slots),slotProps:(0,r.Z)({},h.slotProps,{field:function(e){var n;return(0,r.Z)({},(0,y.x)(null==(n=h.slotProps)?void 0:n.field,e),X(h),{ref:t})},toolbar:(0,r.Z)({hidden:!0,ampmInClock:w,toolbarVariant:g?"desktop":"mobile"},null==(l=h.slotProps)?void 0:l.toolbar),tabs:(0,r.Z)({hidden:!0},null==(s=h.slotProps)?void 0:s.tabs),actionBar:(0,r.Z)({actions:x},null==(u=h.slotProps)?void 0:u.actionBar)})}),D=function(e){var t,n,i,l,s,u=e.props,c=e.getOpenDialogAriaText,d=(0,o.Z)(e,si),f=u.slots,m=u.slotProps,h=u.className,p=u.sx,v=u.format,g=u.formatDensity,b=u.timezone,y=u.label,w=u.inputRef,Z=u.readOnly,x=u.disabled,C=u.autoFocus,D=u.localeText,M=u.reduceAnimations,S=(0,P.nB)(),V=a.useRef(null),N=a.useRef(null),I=(0,Lt.Z)(),R=null!=(t=null==m||null==(n=m.toolbar)?void 0:n.hidden)&&t,O=Aa((0,r.Z)({},d,{props:u,inputRef:V,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"desktop"})),E=O.open,F=O.actions,L=O.hasUIView,A=O.layoutProps,B=O.renderCurrentView,W=O.shouldRestoreFocus,j=O.fieldProps,z=null!=(i=f.inputAdornment)?i:me,H=(0,T.y)({elementType:z,externalSlotProps:null==m?void 0:m.inputAdornment,additionalProps:{position:"end"},ownerState:u}),Y=(0,o.Z)(H,ui),U=null!=(l=f.openPickerButton)?l:K.Z,q=(0,T.y)({elementType:U,externalSlotProps:null==m?void 0:m.openPickerButton,additionalProps:{disabled:x||Z,onClick:E?F.onClose:F.onOpen,"aria-label":c(j.value,S),edge:Y.position},ownerState:u}),X=(0,o.Z)(q,ci),Q=f.openPickerIcon,G=f.field,$=(0,T.y)({elementType:G,externalSlotProps:null==m?void 0:m.field,additionalProps:(0,r.Z)({},j,R&&{id:I},{readOnly:Z,disabled:x,className:h,sx:p,format:v,formatDensity:g,timezone:b,label:y,autoFocus:C&&!u.open,focused:!!E||void 0}),ownerState:u});L&&($.InputProps=(0,r.Z)({},$.InputProps,(0,_.Z)({ref:N},"".concat(Y.position,"Adornment"),(0,ce.jsx)(z,(0,r.Z)({},Y,{children:(0,ce.jsx)(U,(0,r.Z)({},X,{children:(0,ce.jsx)(Q,(0,r.Z)({},null==m?void 0:m.openPickerIcon))}))})))));var J=(0,r.Z)({textField:f.textField,clearIcon:f.clearIcon,clearButton:f.clearButton},$.slots),ee=null!=(s=f.layout)?s:li,te=(0,k.Z)(V,$.inputRef,w),ne=I;R&&(ne=y?"".concat(I,"-label"):void 0);var re=(0,r.Z)({},m,{toolbar:(0,r.Z)({},null==m?void 0:m.toolbar,{titleId:I}),popper:(0,r.Z)({"aria-labelledby":ne},null==m?void 0:m.popper)});return{renderPicker:function(){return(0,ce.jsxs)(Ba._,{localeText:D,children:[(0,ce.jsx)(G,(0,r.Z)({},$,{slots:J,slotProps:re,inputRef:te})),(0,ce.jsx)(Ra,(0,r.Z)({role:"dialog",placement:"bottom-start",anchorEl:N.current},F,{open:E,slots:f,slotProps:re,shouldRestoreFocus:W,reduceAnimations:M,children:(0,ce.jsx)(ee,(0,r.Z)({},A,null==re?void 0:re.layout,{slots:f,slotProps:re,children:B()}))}))]})}}}({props:C,valueManager:Z.h,valueType:"date-time",getOpenDialogAriaText:null!=(c=null==(d=C.localeText)?void 0:d.openDatePickerDialogue)?c:f.openDatePickerDialogue,validator:z});return(0,D.renderPicker)()}));mi.propTypes={ampm:b().bool,ampmInClock:b().bool,autoFocus:b().bool,className:b().string,closeOnSelect:b().bool,components:b().object,componentsProps:b().object,dayOfWeekFormatter:b().func,defaultCalendarMonth:b().any,defaultValue:b().any,disabled:b().bool,disableFuture:b().bool,disableHighlightToday:b().bool,disableIgnoringDatePartForTimeValidation:b().bool,disableOpenPicker:b().bool,disablePast:b().bool,displayWeekNumber:b().bool,fixedWeekNumber:b().number,format:b().string,formatDensity:b().oneOf(["dense","spacious"]),inputRef:w,label:b().node,loading:b().bool,localeText:b().object,maxDate:b().any,maxDateTime:b().any,maxTime:b().any,minDate:b().any,minDateTime:b().any,minTime:b().any,minutesStep:b().number,monthsPerRow:b().oneOf([3,4]),onAccept:b().func,onChange:b().func,onClose:b().func,onError:b().func,onMonthChange:b().func,onOpen:b().func,onSelectedSectionsChange:b().func,onViewChange:b().func,onYearChange:b().func,open:b().bool,openTo:b().oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),orientation:b().oneOf(["landscape","portrait"]),readOnly:b().bool,reduceAnimations:b().bool,referenceDate:b().any,renderLoading:b().func,selectedSections:b().oneOfType([b().oneOf(["all","day","hours","meridiem","minutes","month","seconds","weekDay","year"]),b().number,b().shape({endIndex:b().number.isRequired,startIndex:b().number.isRequired})]),shouldDisableClock:b().func,shouldDisableDate:b().func,shouldDisableMonth:b().func,shouldDisableTime:b().func,shouldDisableYear:b().func,showDaysOutsideCurrentMonth:b().bool,skipDisabled:b().bool,slotProps:b().object,slots:b().object,sx:b().oneOfType([b().arrayOf(b().oneOfType([b().func,b().object,b().bool])),b().func,b().object]),timeSteps:b().shape({hours:b().number,minutes:b().number,seconds:b().number}),timezone:b().string,value:b().any,view:b().oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),viewRenderers:b().shape({day:b().func,hours:b().func,meridiem:b().func,minutes:b().func,month:b().func,seconds:b().func,year:b().func}),views:b().arrayOf(b().oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsPerRow:b().oneOf([3,4])};var hi,pi=n(6467),vi=n(4469),gi=n(5560),bi=(0,oe.ZP)(vi.Z)((hi={},(0,_.Z)(hi,"& .".concat(gi.Z.container),{outline:0}),(0,_.Z)(hi,"& .".concat(gi.Z.paper),{outline:0,minWidth:Ct.Pl}),hi)),yi=(0,oe.ZP)(pi.Z)({"&:first-of-type":{padding:0}});function wi(e){var t,n,o=e.children,a=e.onDismiss,i=e.open,l=e.slots,s=e.slotProps,u=null!=(t=null==l?void 0:l.dialog)?t:bi,c=null!=(n=null==l?void 0:l.mobileTransition)?n:Wt.Z;return(0,ce.jsx)(u,(0,r.Z)({open:i,onClose:a},null==s?void 0:s.dialog,{TransitionComponent:c,TransitionProps:null==s?void 0:s.mobileTransition,PaperComponent:null==l?void 0:l.mobilePaper,PaperProps:null==s?void 0:s.mobilePaper,children:(0,ce.jsx)(yi,{children:o})}))}var Zi=["props","getOpenDialogAriaText"],xi=n(7114),Ti=a.forwardRef((function(e,t){var n,i,l,s,u,c=(0,P.og)(),d=(0,P.nB)(),f=Ft(e,"MuiMobileDateTimePicker"),m=(0,r.Z)({day:yr,month:yr,year:yr,hours:xi.M6,minutes:xi.M6,seconds:xi.M6},f.viewRenderers),h=null!=(n=f.ampmInClock)&&n,p=(0,r.Z)({},f,{viewRenderers:m,format:fi(d,f),ampmInClock:h,slots:(0,r.Z)({field:ye},f.slots),slotProps:(0,r.Z)({},f.slotProps,{field:function(e){var n;return(0,r.Z)({},(0,y.x)(null==(n=f.slotProps)?void 0:n.field,e),X(f),{ref:t})},toolbar:(0,r.Z)({hidden:!1,ampmInClock:h},null==(i=f.slotProps)?void 0:i.toolbar),tabs:(0,r.Z)({hidden:!1},null==(l=f.slotProps)?void 0:l.tabs)})}),v=function(e){var t,n,i,l,s,u=e.props,c=e.getOpenDialogAriaText,d=(0,o.Z)(e,Zi),f=u.slots,m=u.slotProps,h=u.className,p=u.sx,v=u.format,g=u.formatDensity,b=u.timezone,y=u.label,w=u.inputRef,Z=u.readOnly,x=u.disabled,C=u.localeText,D=(0,P.nB)(),M=a.useRef(null),S=(0,Lt.Z)(),V=null!=(t=null==m||null==(n=m.toolbar)?void 0:n.hidden)&&t,N=Aa((0,r.Z)({},d,{props:u,inputRef:M,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"mobile"})),I=N.open,R=N.actions,O=N.layoutProps,E=N.renderCurrentView,F=N.fieldProps,L=f.field,A=(0,T.y)({elementType:L,externalSlotProps:null==m?void 0:m.field,additionalProps:(0,r.Z)({},F,V&&{id:S},!(x||Z)&&{onClick:R.onOpen,onKeyDown:(l=R.onOpen,function(e){"Enter"!==e.key&&" "!==e.key||(l(e),e.preventDefault(),e.stopPropagation()),s&&s(e)})},{readOnly:null==Z||Z,disabled:x,className:h,sx:p,format:v,formatDensity:g,timezone:b,label:y}),ownerState:u});A.inputProps=(0,r.Z)({},A.inputProps,{"aria-label":c(F.value,D)});var B=(0,r.Z)({textField:f.textField},A.slots),W=null!=(i=f.layout)?i:li,j=(0,k.Z)(M,A.inputRef,w),z=S;V&&(z=y?"".concat(S,"-label"):void 0);var H=(0,r.Z)({},m,{toolbar:(0,r.Z)({},null==m?void 0:m.toolbar,{titleId:S}),mobilePaper:(0,r.Z)({"aria-labelledby":z},null==m?void 0:m.mobilePaper)});return{renderPicker:function(){return(0,ce.jsxs)(Ba._,{localeText:C,children:[(0,ce.jsx)(L,(0,r.Z)({},A,{slots:B,slotProps:H,inputRef:j})),(0,ce.jsx)(wi,(0,r.Z)({},R,{open:I,slots:f,slotProps:H,children:(0,ce.jsx)(W,(0,r.Z)({},O,null==H?void 0:H.layout,{slots:f,slotProps:H,children:E()}))}))]})}}}({props:p,valueManager:Z.h,valueType:"date-time",getOpenDialogAriaText:null!=(s=null==(u=p.localeText)?void 0:u.openDatePickerDialogue)?s:c.openDatePickerDialogue,validator:z});return(0,v.renderPicker)()}));Ti.propTypes={ampm:b().bool,ampmInClock:b().bool,autoFocus:b().bool,className:b().string,closeOnSelect:b().bool,components:b().object,componentsProps:b().object,dayOfWeekFormatter:b().func,defaultCalendarMonth:b().any,defaultValue:b().any,disabled:b().bool,disableFuture:b().bool,disableHighlightToday:b().bool,disableIgnoringDatePartForTimeValidation:b().bool,disableOpenPicker:b().bool,disablePast:b().bool,displayWeekNumber:b().bool,fixedWeekNumber:b().number,format:b().string,formatDensity:b().oneOf(["dense","spacious"]),inputRef:w,label:b().node,loading:b().bool,localeText:b().object,maxDate:b().any,maxDateTime:b().any,maxTime:b().any,minDate:b().any,minDateTime:b().any,minTime:b().any,minutesStep:b().number,monthsPerRow:b().oneOf([3,4]),onAccept:b().func,onChange:b().func,onClose:b().func,onError:b().func,onMonthChange:b().func,onOpen:b().func,onSelectedSectionsChange:b().func,onViewChange:b().func,onYearChange:b().func,open:b().bool,openTo:b().oneOf(["day","hours","minutes","month","seconds","year"]),orientation:b().oneOf(["landscape","portrait"]),readOnly:b().bool,reduceAnimations:b().bool,referenceDate:b().any,renderLoading:b().func,selectedSections:b().oneOfType([b().oneOf(["all","day","hours","meridiem","minutes","month","seconds","weekDay","year"]),b().number,b().shape({endIndex:b().number.isRequired,startIndex:b().number.isRequired})]),shouldDisableClock:b().func,shouldDisableDate:b().func,shouldDisableMonth:b().func,shouldDisableTime:b().func,shouldDisableYear:b().func,showDaysOutsideCurrentMonth:b().bool,slotProps:b().object,slots:b().object,sx:b().oneOfType([b().arrayOf(b().oneOfType([b().func,b().object,b().bool])),b().func,b().object]),timezone:b().string,value:b().any,view:b().oneOf(["day","hours","minutes","month","seconds","year"]),viewRenderers:b().shape({day:b().func,hours:b().func,minutes:b().func,month:b().func,seconds:b().func,year:b().func}),views:b().arrayOf(b().oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsPerRow:b().oneOf([3,4])};var Ci=["desktopModeMediaQuery"],Di=a.forwardRef((function(e,t){var n=(0,p.Z)({props:e,name:"MuiDateTimePicker"}),a=n.desktopModeMediaQuery,i=void 0===a?"@media (pointer: fine)":a,l=(0,o.Z)(n,Ci);return h(i,{defaultMatches:!0})?(0,ce.jsx)(mi,(0,r.Z)({ref:t},l)):(0,ce.jsx)(Ti,(0,r.Z)({ref:t},l))}))},3208:function(e,t,n){"use strict";n.d(t,{_:function(){return c},y:function(){return u}});var r=n(7462),o=n(3366),a=n(7313),i=n(5469),l=n(6417),s=["localeText"],u=a.createContext(null);var c=function(e){var t,n=e.localeText,c=(0,o.Z)(e,s),d=null!=(t=a.useContext(u))?t:{utils:void 0,localeText:void 0},f=d.utils,m=d.localeText,h=(0,i.Z)({props:c,name:"MuiLocalizationProvider"}),p=h.children,v=h.dateAdapter,g=h.dateFormats,b=h.dateLibInstance,y=h.adapterLocale,w=h.localeText,Z=a.useMemo((function(){return(0,r.Z)({},w,m,n)}),[w,m,n]),x=a.useMemo((function(){if(!v)return f||null;var e=new v({locale:y,formats:g,instance:b});if(!e.isMUIAdapter)throw new Error(["MUI: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`","For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`","More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation"].join("\n"));return e}),[v,y,g,b,f]),T=a.useMemo((function(){return x?{minDate:x.date("1900-01-01T00:00:00.000"),maxDate:x.date("2099-12-31T00:00:00.000")}:null}),[x]),C=a.useMemo((function(){return{utils:x,defaultDates:T,localeText:Z}}),[T,x,Z]);return(0,l.jsx)(u.Provider,{value:C,children:p})}},7258:function(e,t,n){"use strict";n.d(t,{LZ:function(){return s},Qu:function(){return u},Rk:function(){return f},Y4:function(){return l},ch:function(){return i},wZ:function(){return d},x:function(){return c}});var r=n(1171),o=n(7313),a=n(6417),i=(0,r.Z)((0,a.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),l=(0,r.Z)((0,a.jsx)("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"ArrowLeft"),s=(0,r.Z)((0,a.jsx)("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"ArrowRight"),u=(0,r.Z)((0,a.jsx)("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}),"Calendar"),c=((0,r.Z)((0,a.jsxs)(o.Fragment,{children:[(0,a.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,a.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Clock"),(0,r.Z)((0,a.jsx)("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),"DateRange")),d=(0,r.Z)((0,a.jsxs)(o.Fragment,{children:[(0,a.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,a.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Time"),f=(0,r.Z)((0,a.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear")},738:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(8564),o=n(1870),a=(0,r.ZP)("div")({overflow:"hidden",width:o.Pl,maxHeight:o.BR,display:"flex",flexDirection:"column",margin:"0 auto"})},4059:function(e,t,n){"use strict";n.d(t,{u:function(){return C}});var r=n(3366),o=n(7462),a=n(7313),i=n(4146),l=n(1113),s=n(8564),u=n(9860),c=n(5469),d=n(1921),f=n(7392),m=n(7131),h=n(7258),p=n(2298);function v(e){return(0,p.Z)("MuiPickersArrowSwitcher",e)}(0,n(7430).Z)("MuiPickersArrowSwitcher",["root","spacer","button"]);var g=n(6417),b=["children","className","slots","slotProps","isNextDisabled","isNextHidden","onGoToNext","nextLabel","isPreviousDisabled","isPreviousHidden","onGoToPrevious","previousLabel"],y=["ownerState"],w=["ownerState"],Z=(0,s.ZP)("div",{name:"MuiPickersArrowSwitcher",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"flex"}),x=(0,s.ZP)("div",{name:"MuiPickersArrowSwitcher",slot:"Spacer",overridesResolver:function(e,t){return t.spacer}})((function(e){return{width:e.theme.spacing(3)}})),T=(0,s.ZP)(m.Z,{name:"MuiPickersArrowSwitcher",slot:"Button",overridesResolver:function(e,t){return t.button}})((function(e){var t=e.ownerState;return(0,o.Z)({},t.hidden&&{visibility:"hidden"})})),C=a.forwardRef((function(e,t){var n,a,s,m,p="rtl"===(0,u.Z)().direction,C=(0,c.Z)({props:e,name:"MuiPickersArrowSwitcher"}),D=C.children,k=C.className,M=C.slots,P=C.slotProps,S=C.isNextDisabled,V=C.isNextHidden,N=C.onGoToNext,I=C.nextLabel,R=C.isPreviousDisabled,O=C.isPreviousHidden,E=C.onGoToPrevious,F=C.previousLabel,L=(0,r.Z)(C,b),A=C,B=function(e){var t=e.classes;return(0,d.Z)({root:["root"],spacer:["spacer"],button:["button"]},v,t)}(A),W={isDisabled:S,isHidden:V,goTo:N,label:I},j={isDisabled:R,isHidden:O,goTo:E,label:F},z=null!=(n=null==M?void 0:M.previousIconButton)?n:T,H=(0,f.y)({elementType:z,externalSlotProps:null==P?void 0:P.previousIconButton,additionalProps:{size:"medium",title:j.label,"aria-label":j.label,disabled:j.isDisabled,edge:"end",onClick:j.goTo},ownerState:(0,o.Z)({},A,{hidden:j.isHidden}),className:B.button}),Y=null!=(a=null==M?void 0:M.nextIconButton)?a:T,U=(0,f.y)({elementType:Y,externalSlotProps:null==P?void 0:P.nextIconButton,additionalProps:{size:"medium",title:W.label,"aria-label":W.label,disabled:W.isDisabled,edge:"start",onClick:W.goTo},ownerState:(0,o.Z)({},A,{hidden:W.isHidden}),className:B.button}),q=null!=(s=null==M?void 0:M.leftArrowIcon)?s:h.Y4,X=(0,f.y)({elementType:q,externalSlotProps:null==P?void 0:P.leftArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:void 0}),Q=(0,r.Z)(X,y),G=null!=(m=null==M?void 0:M.rightArrowIcon)?m:h.LZ,K=(0,f.y)({elementType:G,externalSlotProps:null==P?void 0:P.rightArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:void 0}),_=(0,r.Z)(K,w);return(0,g.jsxs)(Z,(0,o.Z)({ref:t,className:(0,i.Z)(B.root,k),ownerState:A},L,{children:[(0,g.jsx)(z,(0,o.Z)({},H,{children:p?(0,g.jsx)(G,(0,o.Z)({},_)):(0,g.jsx)(q,(0,o.Z)({},Q))})),D?(0,g.jsx)(l.Z,{variant:"subtitle1",component:"span",children:D}):(0,g.jsx)(x,{className:B.spacer,ownerState:A}),(0,g.jsx)(Y,(0,o.Z)({},U,{children:p?(0,g.jsx)(q,(0,o.Z)({},Q)):(0,g.jsx)(G,(0,o.Z)({},_))}))]}))}))},1870:function(e,t,n){"use strict";n.d(t,{BR:function(){return i},Fn:function(){return l},Pl:function(){return a},kD:function(){return s},p2:function(){return r},yh:function(){return o}});var r=36,o=2,a=320,i=358,l=232,s=48},4518:function(e,t,n){"use strict";n.d(t,{MS:function(){return i},iC:function(){return s},tw:function(){return l}});var r=n(7313),o=n(9448),a=n(3968);function i(e,t){var n=t.disableFuture,a=t.maxDate,i=t.timezone,l=(0,o.nB)();return r.useMemo((function(){var t=l.dateWithTimezone(void 0,i),r=l.startOfMonth(n&&l.isBefore(t,a)?t:a);return!l.isAfter(r,e)}),[n,a,e,l,i])}function l(e,t){var n=t.disablePast,a=t.minDate,i=t.timezone,l=(0,o.nB)();return r.useMemo((function(){var t=l.dateWithTimezone(void 0,i),r=l.startOfMonth(n&&l.isAfter(t,a)?t:a);return!l.isBefore(r,e)}),[n,a,e,l,i])}function s(e,t,n,i){var l=(0,o.nB)();return{meridiemMode:(0,a.xX)(e,l),handleMeridiemChange:r.useCallback((function(r){var o=null==e?null:(0,a.wp)(e,r,Boolean(t),l);n(o,null!=i?i:"partial")}),[t,e,n,i,l])}}},762:function(e,t,n){"use strict";n.d(t,{t:function(){return l}});var r=n(7313),o=n(4504),a=n(4006),i=n(4827),l=function(e){var t=e.value,n=e.referenceDate,l=e.utils,s=e.props,u=e.timezone,c=r.useMemo((function(){return o.h.getInitialReferenceValue({value:t,utils:l,props:s,referenceDate:n,granularity:i.Kn.day,timezone:u,getTodayDate:function(){return(0,a.X$)(l,u,"date")}})}),[]);return null!=t?t:c}},566:function(e,t,n){"use strict";n.d(t,{$9:function(){return D},Dt:function(){return k},EY:function(){return m},IE:function(){return x},N2:function(){return M},P$:function(){return c},R7:function(){return l},Su:function(){return b},WE:function(){return Z},Yo:function(){return v},lt:function(){return w},nC:function(){return y},o$:function(){return d},qc:function(){return h},wk:function(){return s},wz:function(){return T},z1:function(){return i}});var r=n(3433),o=n(7462),a=n(4006),i=function(e,t){var n=e.formatTokenMap[t];if(null==n)throw new Error(['MUI: The token "'.concat(t,'" is not supported by the Date and Time Pickers.'),"Please try using another token or open an issue on https://github.com/mui/mui-x/issues/new/choose if you think it should be supported."].join("\n"));return"string"===typeof n?{type:n,contentType:"meridiem"===n?"letter":"digit",maxLength:void 0}:{type:n.sectionType,contentType:n.contentType,maxLength:n.maxLength}},l=function(e,t,n){for(var r=[],o=e.dateWithTimezone(void 0,t),a=e.startOfWeek(o),i=e.endOfWeek(o),l=a;e.isBefore(l,i);)r.push(l),l=e.addDays(l,1);return r.map((function(t){return e.formatByString(t,n)}))},s=function(e,t,n,r){switch(n){case"month":return(0,a.SV)(e,e.dateWithTimezone(void 0,t)).map((function(t){return e.formatByString(t,r)}));case"weekDay":return l(e,t,r);case"meridiem":var o=e.dateWithTimezone(void 0,t);return[e.startOfDay(o),e.endOfDay(o)].map((function(t){return e.formatByString(t,r)}));default:return[]}},u=function(e,t,n){var r=t;for(r=Number(r).toString();r.length0||u?r.minimum:r.maximum}return h%m!==0&&((l<0||u)&&(h+=m-(m+h)%m),(l>0||d)&&(h-=h%m)),h>r.maximum?s(r.minimum+(h-r.maximum-1)%(r.maximum-r.minimum+1)):h0||u?r[0]:r[r.length-1];var o=r.indexOf(n.value);return r[(o+r.length+l)%r.length]}()},f=function(e,t){var n=e.value||e.placeholder,r="non-input"===t?e.hasLeadingZerosInFormat:e.hasLeadingZerosInInput;return"non-input"===t&&e.hasLeadingZerosInInput&&!e.hasLeadingZerosInFormat&&(n=Number(n).toString()),["input-rtl","input-ltr"].includes(t)&&"digit"===e.contentType&&!r&&1===n.length&&(n="".concat(n,"\u200e")),"input-rtl"===t&&(n="\u2068".concat(n,"\u2069")),n},m=function(e){return e.replace(/[\u2066\u2067\u2068\u2069]/g,"")},h=function(e,t){for(var n=0,r=t?1:0,a=[],i=0;i1;case"day":return e.formatByString(e.startOfMonth(a),o).length>1;case"weekDay":return e.formatByString(e.startOfWeek(a),o).length>1;case"hours":return e.formatByString(e.setHours(a,1),o).length>1;case"minutes":case"seconds":return e.formatByString(e.setMinutes(a,1),o).length>1;default:throw new Error("Invalid section type")}},y=function(e,t,n,r,a,l,s,c){for(var d="",f=[],m=e.date(),h=function(r){if(""===r)return null;var l=i(e,r),c=b(e,t,l.contentType,l.type,r),h=s?c:"digit"===l.contentType,v=null!=a&&e.isValid(a),g=v?e.formatByString(a,r):"",y=null;if(h)if(c)y=""===g?e.formatByString(m,r).length:g.length;else{if(null==l.maxLength)throw new Error("MUI: The token ".concat(r," should have a 'maxDigitNumber' property on it's adapter"));y=l.maxLength,v&&(g=u(0,g,y))}return f.push((0,o.Z)({},l,{format:r,maxLength:y,value:g,placeholder:p(e,t,n,l,r),hasLeadingZeros:c,hasLeadingZerosInFormat:c,hasLeadingZerosInInput:h,startSeparator:0===f.length?d:"",endSeparator:"",modified:!1})),null},v=10,g=r,y=e.expandFormat(r);y!==g;)if(g=y,y=e.expandFormat(g),(v-=1)<0)throw new Error("MUI: The format expansion seems to be enter in an infinite loop. Please open an issue with the format passed to the picker component");for(var w=y,Z=function(e,t){for(var n=[],r=e.escapedCharacters,o=r.start,a=r.end,i=new RegExp("(\\".concat(o,"[^\\").concat(a,"]*\\").concat(a,")+"),"g"),l=null;l=i.exec(t);)n.push({start:l.index,end:i.lastIndex-1});return n}(e,w),x=new RegExp("^(".concat(Object.keys(e.formatTokenMap).sort((function(e,t){return t.length-e.length})).join("|"),")"),"g"),T="",C=function(e){var t=Z.find((function(t){return t.start<=e&&t.end>=e})),n=w[e],r=null!=t,o="".concat(T).concat(w.slice(e)),a=x.test(o);!r&&n.match(/([A-Za-z]+)/)&&a?(T=o.slice(0,x.lastIndex),e+=x.lastIndex-1):r&&(null==t?void 0:t.start)===e||(null==t?void 0:t.end)===e||(h(T),T="",0===f.length?d+=n:f[f.length-1].endSeparator+=n);D=e},D=0;Dt.maxDaysInMonth?{maxDaysInMonth:r,longestMonth:n}:t}),{maxDaysInMonth:0,longestMonth:null}),u=s.maxDaysInMonth,c=s.longestMonth;return{year:function(n){var r=n.format;return{minimum:0,maximum:g(e,t,r)?9999:99}},month:function(){return{minimum:1,maximum:e.getMonth(o)+1}},day:function(t){var n=t.currentDate;return{minimum:1,maximum:null!=n&&e.isValid(n)?e.getDaysInMonth(n):u,longestMonth:c}},weekDay:function(n){var o=n.format;if("digit"===n.contentType){var a=l(e,t,o).map(Number);return{minimum:Math.min.apply(Math,(0,r.Z)(a)),maximum:Math.max.apply(Math,(0,r.Z)(a))}}return{minimum:1,maximum:7}},hours:function(t){var r=t.format,o=e.getHours(i);return e.formatByString(e.endOfDay(n),r)!==o.toString()?{minimum:1,maximum:Number(e.formatByString(e.startOfDay(n),r))}:{minimum:0,maximum:o}},minutes:function(){return{minimum:0,maximum:e.getMinutes(i)}},seconds:function(){return{minimum:0,maximum:e.getSeconds(i)}},meridiem:function(){return{minimum:0,maximum:0}}}},T=function(e,t){},C={year:1,month:2,day:3,weekDay:4,hours:5,minutes:6,seconds:7,meridiem:8},D=function(e,t,n,o,a,i){return(0,r.Z)(o).sort((function(e,t){return C[e.type]-C[t.type]})).reduce((function(r,o){return!i||o.modified?function(e,t,n,r,o){switch(n.type){case"year":return e.setYear(o,e.getYear(r));case"month":return e.setMonth(o,e.getMonth(r));case"weekDay":var a=l(e,t,n.format),i=e.formatByString(r,n.format),s=a.indexOf(i),u=a.indexOf(n.value)-s;return e.addDays(r,u);case"day":return e.setDate(o,e.getDate(r));case"meridiem":var c=e.getHours(r)<12,d=e.getHours(o);return c&&d>=12?e.addHours(o,-12):!c&&d<12?e.addHours(o,12):o;case"hours":return e.setHours(o,e.getHours(r));case"minutes":return e.setMinutes(o,e.getMinutes(r));case"seconds":return e.setSeconds(o,e.getSeconds(r));default:return o}}(e,t,o,n,r):r}),a)},k=function(){return navigator.userAgent.toLowerCase().indexOf("android")>-1},M=function(e,t){var n={};if(!t)return e.forEach((function(t,r){var o=0===r?null:r-1,a=r===e.length-1?null:r+1;n[r]={leftIndex:o,rightIndex:a}})),{neighbors:n,startIndex:0,endIndex:e.length-1};for(var r={},o={},a=0,i=0,l=e.length-1;l>=0;){-1===(i=e.findIndex((function(e,t){var n;return t>=a&&(null==(n=e.endSeparator)?void 0:n.includes(" "))&&" / "!==e.endSeparator})))&&(i=e.length-1);for(var s=i;s>=a;s-=1)o[s]=l,r[l]=s,l-=1;a=i+1}return e.forEach((function(t,a){var i=o[a],l=0===i?null:r[i-1],s=i===e.length-1?null:r[i+1];n[a]={leftIndex:l,rightIndex:s}})),{neighbors:n,startIndex:r[0],endIndex:r[e.length-1]}}},9448:function(e,t,n){"use strict";n.d(t,{Do:function(){return l},PP:function(){return u},mX:function(){return d},nB:function(){return s},og:function(){return c}});var r=n(7462),o=n(7313),a=n(3208),i=n(9515),l=function(){var e=o.useContext(a.y);if(null===e)throw new Error(["MUI: Can not find the date and time pickers localization context.","It looks like you forgot to wrap your component in LocalizationProvider.","This can also happen if you are bundling multiple versions of the `@mui/x-date-pickers` package"].join("\n"));if(null===e.utils)throw new Error(["MUI: Can not find the date and time pickers adapter from its localization context.","It looks like you forgot to pass a `dateAdapter` to your LocalizationProvider."].join("\n"));var t=o.useMemo((function(){return(0,r.Z)({},i.Z,e.localeText)}),[e.localeText]);return o.useMemo((function(){return(0,r.Z)({},e,{localeText:t})}),[e,t])},s=function(){return l().utils},u=function(){return l().defaultDates},c=function(){return l().localeText},d=function(e){var t=s(),n=o.useRef();return void 0===n.current&&(n.current=t.dateWithTimezone(void 0,e)),n.current}},1126:function(e,t,n){"use strict";n.d(t,{m:function(){return u},w:function(){return s}});var r=n(9439),o=n(7313),a=n(6182),i=n(5422),l=n(9448),s=function(e){var t,n,r=e.timezone,i=e.value,s=e.defaultValue,u=e.onChange,c=e.valueManager,d=(0,l.nB)(),f=o.useRef(s),m=null!=(t=null!=i?i:f.current)?t:c.emptyValue,h=o.useMemo((function(){return c.getTimezone(d,m)}),[d,c,m]),p=(0,a.Z)((function(e){return null==h?e:c.setTimezone(d,h,e)})),v=null!=(n=null!=r?r:h)?n:"default",g=o.useMemo((function(){return c.setTimezone(d,v,m)}),[c,d,v,m]),b=(0,a.Z)((function(e){for(var t=p(e),n=arguments.length,r=new Array(n>1?n-1:0),o=1;o1?t-1:0),r=1;r=12?"pm":"am":null},s=function(e,t,n){if(n&&(e>=12?"pm":"am")!==t)return"am"===t?e-12:e+12;return e},u=function(e,t,n,r){var o=s(r.getHours(e),t,n);return r.setHours(e,o)},c=function(e,t){return 3600*t.getHours(e)+60*t.getMinutes(e)+t.getSeconds(e)},d=function(e,t){return function(n,r){return e?t.isAfter(n,r):c(n,t)>c(r,t)}},f=function(e,t){var n=t.format,o=t.views,a=t.ampm;if(null!=n)return n;var i=e.formats;return(0,r.h)(o,["hours"])?a?"".concat(i.hours12h," ").concat(i.meridiem):i.hours24h:(0,r.h)(o,["minutes"])?i.minutes:(0,r.h)(o,["seconds"])?i.seconds:(0,r.h)(o,["minutes","seconds"])?"".concat(i.minutes,":").concat(i.seconds):(0,r.h)(o,["hours","minutes","seconds"])?a?"".concat(i.hours12h,":").concat(i.minutes,":").concat(i.seconds," ").concat(i.meridiem):"".concat(i.hours24h,":").concat(i.minutes,":").concat(i.seconds):a?"".concat(i.hours12h,":").concat(i.minutes," ").concat(i.meridiem):"".concat(i.hours24h,":").concat(i.minutes)}},4504:function(e,t,n){"use strict";n.d(t,{a:function(){return u},h:function(){return s}});var r=n(3366),o=n(4006),a=n(4827),i=n(566),l=["value","referenceDate"],s={emptyValue:null,getTodayValue:o.X$,getInitialReferenceValue:function(e){var t=e.value,n=e.referenceDate,o=(0,r.Z)(e,l);return null!=t&&o.utils.isValid(t)?t:null!=n?n:(0,a.yw)(o)},cleanValue:o.ai,areValuesEqual:o.LZ,isSameError:function(e,t){return e===t},hasError:function(e){return null!=e},defaultErrorState:null,getTimezone:function(e,t){return null!=t&&e.isValid(t)?e.getTimezone(t):null},setTimezone:function(e,t,n){return null==n?null:e.setTimezone(n,t)}},u={updateReferenceValue:function(e,t,n){return null!=t&&e.isValid(t)?t:n},getSectionsFromValue:function(e,t,n,r,o){return!e.isValid(t)&&!!n?n:(0,i.qc)(o(t),r)},getValueStrFromSections:i.WE,getActiveDateManager:function(e,t){return{date:t.value,referenceDate:t.referenceValue,getSections:function(e){return e},getNewValuesFromNewActiveDate:function(n){return{value:n,referenceValue:null!=n&&e.isValid(n)?n:t.referenceValue}}}},parseValueStr:function(e,t,n){return n(e.trim(),t)}}},1649:function(e,t,n){"use strict";n.d(t,{d:function(){return o},h:function(){return r}});var r=function(e,t){return e.length===t.length&&t.every((function(t){return e.includes(t)}))},o=function(e){var t,n=e.openTo,r=e.defaultOpenTo,o=e.views,a=e.defaultViews,i=null!=o?o:a;if(null!=n)t=n;else if(i.includes(r))t=r;else{if(!(i.length>0))throw new Error("MUI: The `views` prop must contain at least one view");t=i[0]}return{views:i,openTo:t}}},9515:function(e,t,n){"use strict";n.d(t,{Z:function(){return a},_:function(){return i}});var r=n(4566),o={previousMonth:"Previous month",nextMonth:"Next month",openPreviousView:"open previous view",openNextView:"open next view",calendarViewSwitchingButtonAriaLabel:function(e){return"year"===e?"year view is open, switch to calendar view":"calendar view is open, switch to year view"},start:"Start",end:"End",cancelButtonLabel:"Cancel",clearButtonLabel:"Clear",okButtonLabel:"OK",todayButtonLabel:"Today",datePickerToolbarTitle:"Select date",dateTimePickerToolbarTitle:"Select date & time",timePickerToolbarTitle:"Select time",dateRangePickerToolbarTitle:"Select date range",clockLabelText:function(e,t,n){return"Select ".concat(e,". ").concat(null===t?"No time selected":"Selected time is ".concat(n.format(t,"fullTime")))},hoursClockNumberText:function(e){return"".concat(e," hours")},minutesClockNumberText:function(e){return"".concat(e," minutes")},secondsClockNumberText:function(e){return"".concat(e," seconds")},selectViewText:function(e){return"Select ".concat(e)},calendarWeekNumberHeaderLabel:"Week number",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:function(e){return"Week ".concat(e)},calendarWeekNumberText:function(e){return"".concat(e)},openDatePickerDialogue:function(e,t){return null!==e&&t.isValid(e)?"Choose date, selected date is ".concat(t.format(e,"fullDate")):"Choose date"},openTimePickerDialogue:function(e,t){return null!==e&&t.isValid(e)?"Choose time, selected time is ".concat(t.format(e,"fullTime")):"Choose time"},fieldClearLabel:"Clear value",timeTableLabel:"pick time",dateTableLabel:"pick date",fieldYearPlaceholder:function(e){return"Y".repeat(e.digitAmount)},fieldMonthPlaceholder:function(e){return"letter"===e.contentType?"MMMM":"MM"},fieldDayPlaceholder:function(){return"DD"},fieldWeekDayPlaceholder:function(e){return"letter"===e.contentType?"EEEE":"EE"},fieldHoursPlaceholder:function(){return"hh"},fieldMinutesPlaceholder:function(){return"mm"},fieldSecondsPlaceholder:function(){return"ss"},fieldMeridiemPlaceholder:function(){return"aa"}},a=o,i=(0,r.F)(o)},2806:function(e,t,n){"use strict";n.d(t,{j:function(){return i}});var r=n(4566),o={hours:"\u6642\u9593",minutes:"\u5206",seconds:"\u79d2",meridiem:"\u30e1\u30ea\u30c7\u30a3\u30e0"},a={previousMonth:"\u5148\u6708",nextMonth:"\u6765\u6708",openPreviousView:"\u524d\u306e\u8868\u793a\u3092\u958b\u304f",openNextView:"\u6b21\u306e\u8868\u793a\u3092\u958b\u304f",calendarViewSwitchingButtonAriaLabel:function(e){return"year"===e?"\u5e74\u9078\u629e\u8868\u793a\u304b\u3089\u30ab\u30ec\u30f3\u30c0\u30fc\u8868\u793a\u306b\u5207\u308a\u66ff\u3048\u308b":"\u30ab\u30ec\u30f3\u30c0\u30fc\u8868\u793a\u304b\u3089\u5e74\u9078\u629e\u8868\u793a\u306b\u5207\u308a\u66ff\u3048\u308b"},start:"\u958b\u59cb",end:"\u7d42\u4e86",cancelButtonLabel:"\u30ad\u30e3\u30f3\u30bb\u30eb",clearButtonLabel:"\u30af\u30ea\u30a2",okButtonLabel:"\u78ba\u5b9a",todayButtonLabel:"\u4eca\u65e5",datePickerToolbarTitle:"\u65e5\u4ed8\u3092\u9078\u629e",dateTimePickerToolbarTitle:"\u65e5\u6642\u3092\u9078\u629e",timePickerToolbarTitle:"\u6642\u9593\u3092\u9078\u629e",dateRangePickerToolbarTitle:"\u65e5\u4ed8\u306e\u7bc4\u56f2\u3092\u9078\u629e",clockLabelText:function(e,t,n){var r;return"".concat(null!=(r=o[e])?r:e,"\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044 ").concat(null===t?"\u6642\u9593\u304c\u9078\u629e\u3055\u308c\u3066\u3044\u307e\u305b\u3093":"\u9078\u629e\u3057\u305f\u6642\u9593\u306f ".concat(n.format(t,"fullTime")," \u3067\u3059"))},hoursClockNumberText:function(e){return"".concat(e," ").concat(o.hours)},minutesClockNumberText:function(e){return"".concat(e," ").concat(o.minutes)},secondsClockNumberText:function(e){return"".concat(e," ").concat(o.seconds)},selectViewText:function(e){return"\u3092\u9078\u629e ".concat(o[e])},calendarWeekNumberHeaderLabel:"\u9031\u756a\u53f7",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:function(e){return"".concat(e,"\u9031\u76ee")},calendarWeekNumberText:function(e){return"".concat(e)},openDatePickerDialogue:function(e,t){return null!==e&&t.isValid(e)?"\u65e5\u4ed8\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u9078\u629e\u3057\u305f\u65e5\u4ed8\u306f ".concat(t.format(e,"fullDate")," \u3067\u3059"):"\u65e5\u4ed8\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044"},openTimePickerDialogue:function(e,t){return null!==e&&t.isValid(e)?"\u6642\u9593\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u9078\u629e\u3057\u305f\u6642\u9593\u306f ".concat(t.format(e,"fullTime")," \u3067\u3059"):"\u6642\u9593\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044"},timeTableLabel:"\u6642\u9593\u3092\u9078\u629e",dateTableLabel:"\u65e5\u4ed8\u3092\u9078\u629e",fieldYearPlaceholder:function(e){return"Y".repeat(e.digitAmount)},fieldMonthPlaceholder:function(e){return"letter"===e.contentType?"MMMM":"MM"},fieldDayPlaceholder:function(){return"DD"},fieldWeekDayPlaceholder:function(e){return"letter"===e.contentType?"EEEE":"EE"},fieldHoursPlaceholder:function(){return"hh"},fieldMinutesPlaceholder:function(){return"mm"},fieldSecondsPlaceholder:function(){return"ss"},fieldMeridiemPlaceholder:function(){return"aa"}},i=(0,r.F)(a)},7623:function(e,t,n){"use strict";n.d(t,{u:function(){return i}});var r=n(4566),o={hours:"\uc2dc\uac04\uc744",minutes:"\ubd84\uc744",seconds:"\ucd08\ub97c",meridiem:"\uba54\ub9ac\ub514\uc5e0"},a={previousMonth:"\uc774\uc804 \ub2ec",nextMonth:"\ub2e4\uc74c \ub2ec",openPreviousView:"\uc774\uc804 \ud654\uba74 \ubcf4\uae30",openNextView:"\ub2e4\uc74c \ud654\uba74 \ubcf4\uae30",calendarViewSwitchingButtonAriaLabel:function(e){return"year"===e?"\uc5f0\ub3c4 \uc120\ud0dd \ud654\uba74\uc5d0\uc11c \ub2ec\ub825 \ud654\uba74\uc73c\ub85c \uc804\ud658\ud558\uae30":"\ub2ec\ub825 \ud654\uba74\uc5d0\uc11c \uc5f0\ub3c4 \uc120\ud0dd \ud654\uba74\uc73c\ub85c \uc804\ud658\ud558\uae30"},start:"\uc2dc\uc791",end:"\uc885\ub8cc",cancelButtonLabel:"\ucde8\uc18c",clearButtonLabel:"\ucd08\uae30\ud654",okButtonLabel:"\ud655\uc778",todayButtonLabel:"\uc624\ub298",datePickerToolbarTitle:"\ub0a0\uc9dc \uc120\ud0dd\ud558\uae30",dateTimePickerToolbarTitle:"\ub0a0\uc9dc & \uc2dc\uac04 \uc120\ud0dd\ud558\uae30",timePickerToolbarTitle:"\uc2dc\uac04 \uc120\ud0dd\ud558\uae30",dateRangePickerToolbarTitle:"\ub0a0\uc9dc \ubc94\uc704 \uc120\ud0dd\ud558\uae30",clockLabelText:function(e,t,n){return"".concat(o[e]," \uc120\ud0dd\ud558\uc138\uc694. ").concat(null===t?"\uc2dc\uac04\uc744 \uc120\ud0dd\ud558\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4.":"\ud604\uc7ac \uc120\ud0dd\ub41c \uc2dc\uac04\uc740 ".concat(n.format(t,"fullTime"),"\uc785\ub2c8\ub2e4."))},hoursClockNumberText:function(e){return"".concat(e,"\uc2dc\uac04")},minutesClockNumberText:function(e){return"".concat(e,"\ubd84")},secondsClockNumberText:function(e){return"".concat(e,"\ucd08")},selectViewText:function(e){return"".concat(o[e]," \uc120\ud0dd\ud558\uae30")},calendarWeekNumberHeaderLabel:"\uc8fc \ubc88\ud638",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:function(e){return"".concat(e,"\ubc88\uc9f8 \uc8fc")},calendarWeekNumberText:function(e){return"".concat(e)},openDatePickerDialogue:function(e,t){return null!==e&&t.isValid(e)?"\ub0a0\uc9dc\ub97c \uc120\ud0dd\ud558\uc138\uc694. \ud604\uc7ac \uc120\ud0dd\ub41c \ub0a0\uc9dc\ub294 ".concat(t.format(e,"fullDate"),"\uc785\ub2c8\ub2e4."):"\ub0a0\uc9dc\ub97c \uc120\ud0dd\ud558\uc138\uc694"},openTimePickerDialogue:function(e,t){return null!==e&&t.isValid(e)?"\uc2dc\uac04\uc744 \uc120\ud0dd\ud558\uc138\uc694. \ud604\uc7ac \uc120\ud0dd\ub41c \uc2dc\uac04\uc740 ".concat(t.format(e,"fullTime"),"\uc785\ub2c8\ub2e4."):"\uc2dc\uac04\uc744 \uc120\ud0dd\ud558\uc138\uc694"},timeTableLabel:"\uc120\ud0dd\ud55c \uc2dc\uac04",dateTableLabel:"\uc120\ud0dd\ud55c \ub0a0\uc9dc",fieldYearPlaceholder:function(e){return"Y".repeat(e.digitAmount)},fieldMonthPlaceholder:function(e){return"letter"===e.contentType?"MMMM":"MM"},fieldDayPlaceholder:function(){return"DD"},fieldHoursPlaceholder:function(){return"hh"},fieldMinutesPlaceholder:function(){return"mm"},fieldSecondsPlaceholder:function(){return"ss"},fieldMeridiemPlaceholder:function(){return"aa"}},i=(0,r.F)(a)},4566:function(e,t,n){"use strict";n.d(t,{F:function(){return o}});var r=n(7462),o=function(e){return{components:{MuiLocalizationProvider:{defaultProps:{localeText:(0,r.Z)({},e)}}}}}},4199:function(e,t,n){"use strict";n.d(t,{U:function(){return i}});var r=n(4566),o={hours:"\u5c0f\u65f6",minutes:"\u5206\u949f",seconds:"\u79d2",meridiem:"\u5b50\u5348\u7ebf"},a={previousMonth:"\u4e0a\u4e2a\u6708",nextMonth:"\u4e0b\u4e2a\u6708",openPreviousView:"\u524d\u4e00\u4e2a\u89c6\u56fe",openNextView:"\u4e0b\u4e00\u4e2a\u89c6\u56fe",calendarViewSwitchingButtonAriaLabel:function(e){return"year"===e?"\u5e74\u89c6\u56fe\u5df2\u6253\u5f00\uff0c\u5207\u6362\u4e3a\u65e5\u5386\u89c6\u56fe":"\u65e5\u5386\u89c6\u56fe\u5df2\u6253\u5f00\uff0c\u5207\u6362\u4e3a\u5e74\u89c6\u56fe"},start:"\u5f00\u59cb",end:"\u7ed3\u675f",cancelButtonLabel:"\u53d6\u6d88",clearButtonLabel:"\u6e05\u9664",okButtonLabel:"\u786e\u8ba4",todayButtonLabel:"\u4eca\u5929",datePickerToolbarTitle:"\u9009\u62e9\u65e5\u671f",dateTimePickerToolbarTitle:"\u9009\u62e9\u65e5\u671f\u548c\u65f6\u95f4",timePickerToolbarTitle:"\u9009\u62e9\u65f6\u95f4",dateRangePickerToolbarTitle:"\u9009\u62e9\u65f6\u95f4\u8303\u56f4",clockLabelText:function(e,t,n){return"\u9009\u62e9 ".concat(o[e],". ").concat(null===t?"\u672a\u9009\u62e9\u65f6\u95f4":"\u5df2\u9009\u62e9".concat(n.format(t,"fullTime")))},hoursClockNumberText:function(e){return"".concat(e,"\u5c0f\u65f6")},minutesClockNumberText:function(e){return"".concat(e,"\u5206\u949f")},secondsClockNumberText:function(e){return"".concat(e,"\u79d2")},selectViewText:function(e){return"\u9009\u62e9 ".concat(o[e])},calendarWeekNumberHeaderLabel:"\u5468\u6570",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:function(e){return"\u7b2c".concat(e,"\u5468")},calendarWeekNumberText:function(e){return"".concat(e)},openDatePickerDialogue:function(e,t){return null!==e&&t.isValid(e)?"\u9009\u62e9\u65e5\u671f\uff0c\u5df2\u9009\u62e9".concat(t.format(e,"fullDate")):"\u9009\u62e9\u65e5\u671f"},openTimePickerDialogue:function(e,t){return null!==e&&t.isValid(e)?"\u9009\u62e9\u65f6\u95f4\uff0c\u5df2\u9009\u62e9".concat(t.format(e,"fullTime")):"\u9009\u62e9\u65f6\u95f4"},timeTableLabel:"\u9009\u62e9\u65f6\u95f4",dateTableLabel:"\u9009\u62e9\u65e5\u671f",fieldYearPlaceholder:function(e){return"Y".repeat(e.digitAmount)},fieldMonthPlaceholder:function(e){return"letter"===e.contentType?"MMMM":"MM"},fieldDayPlaceholder:function(){return"DD"},fieldWeekDayPlaceholder:function(e){return"letter"===e.contentType?"EEEE":"EE"},fieldHoursPlaceholder:function(){return"hh"},fieldMinutesPlaceholder:function(){return"mm"},fieldSecondsPlaceholder:function(){return"ss"},fieldMeridiemPlaceholder:function(){return"aa"}},i=(0,r.F)(a)},2370:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var r=n(4566),o={hours:"\u5c0f\u6642",minutes:"\u5206\u9418",seconds:"\u79d2",meridiem:"\u5b50\u5348\u7dda"},a={previousMonth:"\u4e0a\u500b\u6708",nextMonth:"\u4e0b\u500b\u6708",openPreviousView:"\u524d\u4e00\u500b\u6aa2\u8996\u8868",openNextView:"\u4e0b\u4e00\u500b\u6aa2\u8996\u8868",calendarViewSwitchingButtonAriaLabel:function(e){return"year"===e?"\u5e74\u4efd\u6aa2\u8996\u8868\u5df2\u6253\u958b\uff0c\u5207\u63db\u4ee5\u6aa2\u8996\u65e5\u66c6":"\u65e5\u66c6\u6aa2\u8996\u8868\u5df2\u6253\u958b\uff0c\u5207\u63db\u4ee5\u6aa2\u8996\u5e74\u4efd"},start:"\u958b\u59cb",end:"\u7d50\u675f",cancelButtonLabel:"\u53d6\u6d88",clearButtonLabel:"\u6e05\u9664",okButtonLabel:"\u78ba\u8a8d",todayButtonLabel:"\u4eca\u65e5",datePickerToolbarTitle:"\u9078\u64c7\u65e5\u671f",dateTimePickerToolbarTitle:"\u9078\u64c7\u65e5\u671f\u548c\u6642\u9593",timePickerToolbarTitle:"\u9078\u64c7\u6642\u9593",dateRangePickerToolbarTitle:"\u9078\u64c7\u6642\u9593\u7bc4\u570d",clockLabelText:function(e,t,n){return"\u9078\u64c7 ".concat(o[e],". ").concat(null===t?"\u672a\u9078\u64c7\u6642\u9593":"\u5df2\u9078\u64c7".concat(n.format(t,"fullTime")))},hoursClockNumberText:function(e){return"".concat(e,"\u5c0f\u6642")},minutesClockNumberText:function(e){return"".concat(e,"\u5206\u9418")},secondsClockNumberText:function(e){return"".concat(e,"\u79d2")},selectViewText:function(e){return"\u9078\u64c7 ".concat(o[e])},calendarWeekNumberHeaderLabel:"\u9031\u6578",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:function(e){return"\u7b2c".concat(e,"\u9031")},calendarWeekNumberText:function(e){return"".concat(e)},openDatePickerDialogue:function(e,t){return null!==e&&t.isValid(e)?"\u9078\u64c7\u65e5\u671f\uff0c\u5df2\u9078\u64c7".concat(t.format(e,"fullDate")):"\u9078\u64c7\u65e5\u671f"},openTimePickerDialogue:function(e,t){return null!==e&&t.isValid(e)?"\u9078\u64c7\u6642\u9593\uff0c\u5df2\u9078\u64c7".concat(t.format(e,"fullTime")):"\u9078\u64c7\u6642\u9593"},timeTableLabel:"\u9078\u64c7\u6642\u9593",dateTableLabel:"\u9078\u64c7\u65e5\u671f",fieldYearPlaceholder:function(e){return"Y".repeat(e.digitAmount)},fieldMonthPlaceholder:function(e){return"letter"===e.contentType?"MMMM":"MM"},fieldDayPlaceholder:function(){return"DD"},fieldWeekDayPlaceholder:function(e){return"letter"===e.contentType?"EEEE":"EE"},fieldHoursPlaceholder:function(){return"hh"},fieldMinutesPlaceholder:function(){return"mm"},fieldSecondsPlaceholder:function(){return"ss"},fieldMeridiemPlaceholder:function(){return"aa"}},i=(0,r.F)(a)},7114:function(e,t,n){"use strict";n.d(t,{M6:function(){return de}});var r=n(7313),o=n(7462),a=n(3366),i=n(4146),l=n(8564),s=n(5469),u=n(1921),c=n(8334),d=n(9448),f=n(4059),m=n(3968),h=n(4586),p=n(4518),v=n(738),g=n(2298),b=n(7430);function y(e){return(0,g.Z)("MuiTimeClock",e)}(0,b.Z)("MuiTimeClock",["root","arrowSwitcher"]);var w=n(7131),Z=n(1113),x=n(5094),T=220,C=36,D={x:T/2,y:T/2},k=D.x-D.x,M=0-D.y,P=function(e,t,n){var r=t-D.x,o=n-D.y,a=Math.atan2(k,M)-Math.atan2(r,o),i=a*(180/Math.PI);i=Math.round(i/e)*e,i%=360;var l=Math.floor(i/e)||0,s=Math.pow(r,2)+Math.pow(o,2);return{value:l,distance:Math.sqrt(s)}};function S(e){return(0,g.Z)("MuiClockPointer",e)}(0,b.Z)("MuiClockPointer",["root","thumb"]);var V=n(6417),N=["className","hasSelected","isInner","type","viewValue"],I=function(e){var t=e.classes;return(0,u.Z)({root:["root"],thumb:["thumb"]},S,t)},R=(0,l.ZP)("div",{name:"MuiClockPointer",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.theme,n=e.ownerState;return(0,o.Z)({width:2,backgroundColor:(t.vars||t).palette.primary.main,position:"absolute",left:"calc(50% - 1px)",bottom:"50%",transformOrigin:"center bottom 0px"},n.shouldAnimate&&{transition:t.transitions.create(["transform","height"])})})),O=(0,l.ZP)("div",{name:"MuiClockPointer",slot:"Thumb",overridesResolver:function(e,t){return t.thumb}})((function(e){var t=e.theme,n=e.ownerState;return(0,o.Z)({width:4,height:4,backgroundColor:(t.vars||t).palette.primary.contrastText,borderRadius:"50%",position:"absolute",top:-21,left:"calc(50% - ".concat(18,"px)"),border:"".concat(16,"px solid ").concat((t.vars||t).palette.primary.main),boxSizing:"content-box"},n.hasSelected&&{backgroundColor:(t.vars||t).palette.primary.main})}));function E(e){var t=(0,s.Z)({props:e,name:"MuiClockPointer"}),n=t.className,l=t.isInner,u=t.type,c=t.viewValue,d=(0,a.Z)(t,N),f=r.useRef(u);r.useEffect((function(){f.current=u}),[u]);var m=(0,o.Z)({},t,{shouldAnimate:f.current!==u}),h=I(m);return(0,V.jsx)(R,(0,o.Z)({style:function(){var e=360/("hours"===u?12:60)*c;return"hours"===u&&c>12&&(e-=360),{height:Math.round((l?.26:.4)*T),transform:"rotateZ(".concat(e,"deg)")}}(),className:(0,i.Z)(n,h.root),ownerState:m},d,{children:(0,V.jsx)(O,{ownerState:m,className:h.thumb})}))}function F(e){return(0,g.Z)("MuiClock",e)}(0,b.Z)("MuiClock",["root","clock","wrapper","squareMask","pin","amButton","pmButton","meridiemText"]);var L=n(4006),A=(0,l.ZP)("div",{name:"MuiClock",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){return{display:"flex",justifyContent:"center",alignItems:"center",margin:e.theme.spacing(2)}})),B=(0,l.ZP)("div",{name:"MuiClock",slot:"Clock",overridesResolver:function(e,t){return t.clock}})({backgroundColor:"rgba(0,0,0,.07)",borderRadius:"50%",height:220,width:220,flexShrink:0,position:"relative",pointerEvents:"none"}),W=(0,l.ZP)("div",{name:"MuiClock",slot:"Wrapper",overridesResolver:function(e,t){return t.wrapper}})({"&:focus":{outline:"none"}}),j=(0,l.ZP)("div",{name:"MuiClock",slot:"SquareMask",overridesResolver:function(e,t){return t.squareMask}})((function(e){var t=e.ownerState;return(0,o.Z)({width:"100%",height:"100%",position:"absolute",pointerEvents:"auto",outline:0,touchAction:"none",userSelect:"none"},t.disabled?{}:{"@media (pointer: fine)":{cursor:"pointer",borderRadius:"50%"},"&:active":{cursor:"move"}})})),z=(0,l.ZP)("div",{name:"MuiClock",slot:"Pin",overridesResolver:function(e,t){return t.pin}})((function(e){var t=e.theme;return{width:6,height:6,borderRadius:"50%",backgroundColor:(t.vars||t).palette.primary.main,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}})),H=(0,l.ZP)(w.Z,{name:"MuiClock",slot:"AmButton",overridesResolver:function(e,t){return t.amButton}})((function(e){var t=e.theme,n=e.ownerState;return(0,o.Z)({zIndex:1,position:"absolute",bottom:8,left:8,paddingLeft:4,paddingRight:4,width:C},"am"===n.meridiemMode&&{backgroundColor:(t.vars||t).palette.primary.main,color:(t.vars||t).palette.primary.contrastText,"&:hover":{backgroundColor:(t.vars||t).palette.primary.light}})})),Y=(0,l.ZP)(w.Z,{name:"MuiClock",slot:"PmButton",overridesResolver:function(e,t){return t.pmButton}})((function(e){var t=e.theme,n=e.ownerState;return(0,o.Z)({zIndex:1,position:"absolute",bottom:8,right:8,paddingLeft:4,paddingRight:4,width:C},"pm"===n.meridiemMode&&{backgroundColor:(t.vars||t).palette.primary.main,color:(t.vars||t).palette.primary.contrastText,"&:hover":{backgroundColor:(t.vars||t).palette.primary.light}})})),U=(0,l.ZP)(Z.Z,{name:"MuiClock",slot:"meridiemText",overridesResolver:function(e,t){return t.meridiemText}})({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});function q(e){var t=(0,s.Z)({props:e,name:"MuiClock"}),n=t.ampm,o=t.ampmInClock,a=t.autoFocus,l=t.children,c=t.value,f=t.handleMeridiemChange,m=t.isTimeDisabled,h=t.meridiemMode,p=t.minutesStep,v=void 0===p?1:p,g=t.onChange,b=t.selectedId,y=t.type,w=t.viewValue,Z=t.disabled,D=t.readOnly,k=t.className,M=t,S=(0,d.nB)(),N=(0,d.og)(),I=r.useRef(!1),R=function(e){var t=e.classes;return(0,u.Z)({root:["root"],clock:["clock"],wrapper:["wrapper"],squareMask:["squareMask"],pin:["pin"],amButton:["amButton"],pmButton:["pmButton"],meridiemText:["meridiemText"]},F,t)}(M),O=m(w,y),q=!n&&"hours"===y&&(w<1||w>12),X=function(e,t){Z||D||m(e,y)||g(e,t)},Q=function(e,t){var r=e.offsetX,o=e.offsetY;if(void 0===r){var a=e.target.getBoundingClientRect();r=e.changedTouches[0].clientX-a.left,o=e.changedTouches[0].clientY-a.top}var i="seconds"===y||"minutes"===y?function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=P(6*n,e,t).value;return r*n%60}(r,o,v):function(e,t,n){var r=P(30,e,t),o=r.value,a=r.distance,i=o||12;return n?i%=12:a0&&Q(e.nativeEvent,"shallow")},ownerState:{disabled:Z},className:R.squareMask}),!O&&(0,V.jsxs)(r.Fragment,{children:[(0,V.jsx)(z,{className:R.pin}),null!=c&&(0,V.jsx)(E,{type:y,viewValue:w,isInner:q,hasSelected:G})]}),(0,V.jsx)(W,{"aria-activedescendant":b,"aria-label":N.clockLabelText(y,c,S),ref:_,role:"listbox",onKeyDown:function(e){if(!I.current)switch(e.key){case"Home":X(0,"partial"),e.preventDefault();break;case"End":X("minutes"===y?59:23,"partial"),e.preventDefault();break;case"ArrowUp":X(w+K,"partial"),e.preventDefault();break;case"ArrowDown":X(w-K,"partial"),e.preventDefault()}},tabIndex:0,className:R.wrapper,children:l})]}),n&&o&&(0,V.jsxs)(r.Fragment,{children:[(0,V.jsx)(H,{onClick:D?void 0:function(){return f("am")},disabled:Z||null===h,ownerState:M,className:R.amButton,title:(0,L.lu)(S,"am"),children:(0,V.jsx)(U,{variant:"caption",className:R.meridiemText,children:(0,L.lu)(S,"am")})}),(0,V.jsx)(Y,{disabled:Z||null===h,onClick:D?void 0:function(){return f("pm")},ownerState:M,className:R.pmButton,title:(0,L.lu)(S,"pm"),children:(0,V.jsx)(U,{variant:"caption",className:R.meridiemText,children:(0,L.lu)(S,"pm")})})]})]})}var X=n(9439),Q=n(4942);function G(e){return(0,g.Z)("MuiClockNumber",e)}var K=(0,b.Z)("MuiClockNumber",["root","selected","disabled"]),_=["className","disabled","index","inner","label","selected"],$=(0,l.ZP)("span",{name:"MuiClockNumber",slot:"Root",overridesResolver:function(e,t){return[t.root,(0,Q.Z)({},"&.".concat(K.disabled),t.disabled),(0,Q.Z)({},"&.".concat(K.selected),t.selected)]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,o.Z)((t={height:C,width:C,position:"absolute",left:"calc((100% - ".concat(C,"px) / 2)"),display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",color:(n.vars||n).palette.text.primary,fontFamily:n.typography.fontFamily,"&:focused":{backgroundColor:(n.vars||n).palette.background.paper}},(0,Q.Z)(t,"&.".concat(K.selected),{color:(n.vars||n).palette.primary.contrastText}),(0,Q.Z)(t,"&.".concat(K.disabled),{pointerEvents:"none",color:(n.vars||n).palette.text.disabled}),t),r.inner&&(0,o.Z)({},n.typography.body2,{color:(n.vars||n).palette.text.secondary}))}));function J(e){var t=(0,s.Z)({props:e,name:"MuiClockNumber"}),n=t.className,r=t.disabled,l=t.index,c=t.inner,d=t.label,f=t.selected,m=(0,a.Z)(t,_),h=t,p=function(e){var t=e.classes,n={root:["root",e.selected&&"selected",e.disabled&&"disabled"]};return(0,u.Z)(n,G,t)}(h),v=l%12/12*Math.PI*2-Math.PI/2,g=(T-C-2)/2*(c?.65:1),b=Math.round(Math.cos(v)*g),y=Math.round(Math.sin(v)*g);return(0,V.jsx)($,(0,o.Z)({className:(0,i.Z)(n,p.root),"aria-disabled":!!r||void 0,"aria-selected":!!f||void 0,role:"option",style:{transform:"translate(".concat(b,"px, ").concat(y+(T-C)/2,"px")},ownerState:h},m,{children:d}))}var ee=function(e){for(var t=e.ampm,n=e.value,r=e.getClockNumberText,o=e.isDisabled,a=e.selectedId,i=e.utils,l=n?i.getHours(n):null,s=[],u=t?12:23,c=function(e){return null!==l&&(t?12===e?12===l||0===l:l===e||l-12===e:l===e)},d=t?1:0;d<=u;d+=1){var f=d.toString();0===d&&(f="00");var m=!t&&(0===d||d>12);f=i.formatNumber(f);var h=c(d);s.push((0,V.jsx)(J,{id:h?a:void 0,index:d,inner:m,selected:h,disabled:o(d),label:f,"aria-label":r(f)},d))}return s},te=function(e){var t=e.utils,n=e.value,r=e.isDisabled,o=e.getClockNumberText,a=e.selectedId,i=t.formatNumber;return[[5,i("05")],[10,i("10")],[15,i("15")],[20,i("20")],[25,i("25")],[30,i("30")],[35,i("35")],[40,i("40")],[45,i("45")],[50,i("50")],[55,i("55")],[0,i("00")]].map((function(e,t){var i=(0,X.Z)(e,2),l=i[0],s=i[1],u=l===n;return(0,V.jsx)(J,{label:s,id:u?a:void 0,index:t+1,inner:!1,disabled:r(l),selected:u,"aria-label":o(s)},l)}))},ne=n(1126),re=n(4504),oe=n(5497),ae=n(762),ie=["ampm","ampmInClock","autoFocus","components","componentsProps","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableClock","shouldDisableTime","showViewSwitcher","onChange","view","views","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","timezone"],le=(0,l.ZP)(v.Z,{name:"MuiTimeClock",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"flex",flexDirection:"column",position:"relative"}),se=(0,l.ZP)(f.u,{name:"MuiTimeClock",slot:"ArrowSwitcher",overridesResolver:function(e,t){return t.arrowSwitcher}})({position:"absolute",right:12,top:15}),ue=["hours","minutes"],ce=r.forwardRef((function(e,t){var n=(0,d.nB)(),l=(0,s.Z)({props:e,name:"MuiTimeClock"}),f=l.ampm,v=void 0===f?n.is12HourCycleInCurrentLocale():f,g=l.ampmInClock,b=void 0!==g&&g,w=l.autoFocus,Z=l.components,x=l.componentsProps,T=l.slots,C=l.slotProps,D=l.value,k=l.defaultValue,M=l.referenceDate,P=l.disableIgnoringDatePartForTimeValidation,S=void 0!==P&&P,N=l.maxTime,I=l.minTime,R=l.disableFuture,O=l.disablePast,E=l.minutesStep,F=void 0===E?1:E,L=l.shouldDisableClock,A=l.shouldDisableTime,B=l.showViewSwitcher,W=l.onChange,j=l.view,z=l.views,H=void 0===z?ue:z,Y=l.openTo,U=l.onViewChange,X=l.focusedView,Q=l.onFocusedViewChange,G=l.className,K=l.disabled,_=l.readOnly,$=l.timezone,J=(0,a.Z)(l,ie),ce=null!=T?T:(0,oe.S)(Z),de=null!=C?C:x,fe=(0,ne.m)({name:"TimeClock",timezone:$,value:D,defaultValue:k,onChange:W,valueManager:re.h}),me=fe.value,he=fe.handleValueChange,pe=fe.timezone,ve=(0,ae.t)({value:me,referenceDate:M,utils:n,props:l,timezone:pe}),ge=(0,d.og)(),be=(0,d.mX)(pe),ye=(0,h.B)({view:j,views:H,openTo:Y,onViewChange:U,onChange:he,focusedView:X,onFocusedViewChange:Q}),we=ye.view,Ze=ye.setView,xe=ye.previousView,Te=ye.nextView,Ce=ye.setValueAndGoToNextView,De=(0,p.iC)(ve,v,Ce),ke=De.meridiemMode,Me=De.handleMeridiemChange,Pe=r.useCallback((function(e,t){var r=(0,m.X4)(S,n),o="hours"===t||"minutes"===t&&H.includes("seconds"),a=function(e){var t=e.start,n=e.end;return(!I||!r(I,n))&&((!N||!r(t,N))&&((!R||!r(t,be))&&(!O||!r(be,o?n:t))))},i=function(e){if(e%(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1)!==0)return!1;if(null!=L&&L(e,t))return!1;if(A)switch(t){case"hours":return!A(n.setHours(ve,e),"hours");case"minutes":return!A(n.setMinutes(ve,e),"minutes");case"seconds":return!A(n.setSeconds(ve,e),"seconds");default:return!1}return!0};switch(t){case"hours":var l=(0,m.b_)(e,ke,v),s=n.setHours(ve,l);return!a({start:n.setSeconds(n.setMinutes(s,0),0),end:n.setSeconds(n.setMinutes(s,59),59)})||!i(l);case"minutes":var u=n.setMinutes(ve,e);return!a({start:n.setSeconds(u,0),end:n.setSeconds(u,59)})||!i(e,F);case"seconds":var c=n.setSeconds(ve,e);return!a({start:c,end:c})||!i(e);default:throw new Error("not supported")}}),[v,ve,S,N,ke,I,F,L,A,n,R,O,be,H]),Se=(0,c.Z)(),Ve=r.useMemo((function(){switch(we){case"hours":var e=function(e,t){var r=(0,m.b_)(e,ke,v);Ce(n.setHours(ve,r),t)};return{onChange:e,viewValue:n.getHours(ve),children:ee({value:me,utils:n,ampm:v,onChange:e,getClockNumberText:ge.hoursClockNumberText,isDisabled:function(e){return K||Pe(e,"hours")},selectedId:Se})};case"minutes":var t=n.getMinutes(ve),r=function(e,t){Ce(n.setMinutes(ve,e),t)};return{viewValue:t,onChange:r,children:te({utils:n,value:t,onChange:r,getClockNumberText:ge.minutesClockNumberText,isDisabled:function(e){return K||Pe(e,"minutes")},selectedId:Se})};case"seconds":var o=n.getSeconds(ve),a=function(e,t){Ce(n.setSeconds(ve,e),t)};return{viewValue:o,onChange:a,children:te({utils:n,value:o,onChange:a,getClockNumberText:ge.secondsClockNumberText,isDisabled:function(e){return K||Pe(e,"seconds")},selectedId:Se})};default:throw new Error("You must provide the type for ClockView")}}),[we,n,me,v,ge.hoursClockNumberText,ge.minutesClockNumberText,ge.secondsClockNumberText,ke,Ce,ve,Pe,Se,K]),Ne=l,Ie=function(e){var t=e.classes;return(0,u.Z)({root:["root"],arrowSwitcher:["arrowSwitcher"]},y,t)}(Ne);return(0,V.jsxs)(le,(0,o.Z)({ref:t,className:(0,i.Z)(Ie.root,G),ownerState:Ne},J,{children:[(0,V.jsx)(q,(0,o.Z)({autoFocus:null!=w?w:!!X,ampmInClock:b&&H.includes("hours"),value:me,type:we,ampm:v,minutesStep:F,isTimeDisabled:Pe,meridiemMode:ke,handleMeridiemChange:Me,selectedId:Se,disabled:K,readOnly:_},Ve)),B&&(0,V.jsx)(se,{className:Ie.arrowSwitcher,slots:ce,slotProps:de,onGoToPrevious:function(){return Ze(xe)},isPreviousDisabled:!xe,previousLabel:ge.openPreviousView,onGoToNext:function(){return Ze(Te)},isNextDisabled:!Te,nextLabel:ge.openNextView,ownerState:Ne})]}))})),de=function(e){var t=e.view,n=e.onViewChange,r=e.focusedView,o=e.onFocusedViewChange,a=e.views,i=e.value,l=e.defaultValue,s=e.referenceDate,u=e.onChange,c=e.className,d=e.classes,f=e.disableFuture,h=e.disablePast,p=e.minTime,v=e.maxTime,g=e.shouldDisableTime,b=e.shouldDisableClock,y=e.minutesStep,w=e.ampm,Z=e.ampmInClock,x=e.components,T=e.componentsProps,C=e.slots,D=e.slotProps,k=e.readOnly,M=e.disabled,P=e.sx,S=e.autoFocus,N=e.showViewSwitcher,I=e.disableIgnoringDatePartForTimeValidation,R=e.timezone;return(0,V.jsx)(ce,{view:t,onViewChange:n,focusedView:r&&(0,m.Is)(r)?r:null,onFocusedViewChange:o,views:a.filter(m.Is),value:i,defaultValue:l,referenceDate:s,onChange:u,className:c,classes:d,disableFuture:f,disablePast:h,minTime:p,maxTime:v,shouldDisableTime:g,shouldDisableClock:b,minutesStep:y,ampm:w,ampmInClock:Z,components:x,componentsProps:T,slots:C,slotProps:D,readOnly:k,disabled:M,sx:P,autoFocus:S,showViewSwitcher:N,disableIgnoringDatePartForTimeValidation:I,timezone:R})}},7510:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},r=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},o={p:r,P:function(e,t){var o,a=e.match(/(P+)(p+)?/)||[],i=a[1],l=a[2];if(!l)return n(e,t);switch(i){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"})}return o.replace("{{date}}",n(i,t)).replace("{{time}}",r(l,t))}};t.default=o,e.exports=t.default},3149:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var r={};function o(){return r}},4800:function(e,t,n){"use strict";function r(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{Z:function(){return r}})},9489:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(3601),o=n(4800),a=n(8627),i=n(3149);function l(e,t){var n,l,s,u,c,d,f,m;(0,o.Z)(1,arguments);var h=(0,i.j)(),p=(0,a.Z)(null!==(n=null!==(l=null!==(s=null!==(u=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==u?u:null===t||void 0===t||null===(c=t.locale)||void 0===c||null===(d=c.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==s?s:h.weekStartsOn)&&void 0!==l?l:null===(f=h.locale)||void 0===f||null===(m=f.options)||void 0===m?void 0:m.weekStartsOn)&&void 0!==n?n:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,r.Z)(e),g=v.getUTCDay(),b=(g0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}n.d(t,{Z:function(){return r}})},9901:function(e,t,n){"use strict";function r(e){return function(t,n){var r;if("formatting"===(null!==n&&void 0!==n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=null!==n&&void 0!==n&&n.width?String(n.width):o;r=e.formattingValues[a]||e.formattingValues[o]}else{var i=e.defaultWidth,l=null!==n&&void 0!==n&&n.width?String(n.width):e.defaultWidth;r=e.values[l]||e.values[i]}return r[e.argumentCallback?e.argumentCallback(t):t]}}n.d(t,{Z:function(){return r}})},2735:function(e,t,n){"use strict";function r(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;var i,l=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var o=r[0],a=t.match(e.parsePattern);if(!a)return null;var i=e.valueCallback?e.valueCallback(a[0]):a[0];return{value:i=n.valueCallback?n.valueCallback(i):i,rest:t.slice(o.length)}}}n.d(t,{Z:function(){return r}})},2165:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},o=function(e,t,n){var o,a=r[e];return o="string"===typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o},a=n(8948),i={date:(0,a.Z)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,a.Z)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,a.Z)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},l={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},s=function(e,t,n,r){return l[e]},u=n(9901),c={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,u.Z)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,u.Z)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,u.Z)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,u.Z)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,u.Z)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},d=n(2735),f={code:"en-US",formatDistance:o,formatLong:i,formatRelative:s,localize:c,match:{ordinalNumber:(0,n(9834).Z)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,d.Z)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,d.Z)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,d.Z)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,d.Z)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,d.Z)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},8768:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r={lessThanXSeconds:{one:"1\u79d2\u672a\u6e80",other:"{{count}}\u79d2\u672a\u6e80",oneWithSuffix:"\u7d041\u79d2",otherWithSuffix:"\u7d04{{count}}\u79d2"},xSeconds:{one:"1\u79d2",other:"{{count}}\u79d2"},halfAMinute:"30\u79d2",lessThanXMinutes:{one:"1\u5206\u672a\u6e80",other:"{{count}}\u5206\u672a\u6e80",oneWithSuffix:"\u7d041\u5206",otherWithSuffix:"\u7d04{{count}}\u5206"},xMinutes:{one:"1\u5206",other:"{{count}}\u5206"},aboutXHours:{one:"\u7d041\u6642\u9593",other:"\u7d04{{count}}\u6642\u9593"},xHours:{one:"1\u6642\u9593",other:"{{count}}\u6642\u9593"},xDays:{one:"1\u65e5",other:"{{count}}\u65e5"},aboutXWeeks:{one:"\u7d041\u9031\u9593",other:"\u7d04{{count}}\u9031\u9593"},xWeeks:{one:"1\u9031\u9593",other:"{{count}}\u9031\u9593"},aboutXMonths:{one:"\u7d041\u304b\u6708",other:"\u7d04{{count}}\u304b\u6708"},xMonths:{one:"1\u304b\u6708",other:"{{count}}\u304b\u6708"},aboutXYears:{one:"\u7d041\u5e74",other:"\u7d04{{count}}\u5e74"},xYears:{one:"1\u5e74",other:"{{count}}\u5e74"},overXYears:{one:"1\u5e74\u4ee5\u4e0a",other:"{{count}}\u5e74\u4ee5\u4e0a"},almostXYears:{one:"1\u5e74\u8fd1\u304f",other:"{{count}}\u5e74\u8fd1\u304f"}},o=function(e,t,n){var o;n=n||{};var a=r[e];return o="string"===typeof a?a:1===t?n.addSuffix&&a.oneWithSuffix?a.oneWithSuffix:a.one:n.addSuffix&&a.otherWithSuffix?a.otherWithSuffix.replace("{{count}}",String(t)):a.other.replace("{{count}}",String(t)),n.addSuffix?n.comparison&&n.comparison>0?o+"\u5f8c":o+"\u524d":o},a=n(8948),i={date:(0,a.Z)({formats:{full:"y\u5e74M\u6708d\u65e5EEEE",long:"y\u5e74M\u6708d\u65e5",medium:"y/MM/dd",short:"y/MM/dd"},defaultWidth:"full"}),time:(0,a.Z)({formats:{full:"H\u6642mm\u5206ss\u79d2 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,a.Z)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},l={lastWeek:"\u5148\u9031\u306eeeee\u306ep",yesterday:"\u6628\u65e5\u306ep",today:"\u4eca\u65e5\u306ep",tomorrow:"\u660e\u65e5\u306ep",nextWeek:"\u7fcc\u9031\u306eeeee\u306ep",other:"P"},s=function(e,t,n,r){return l[e]},u=n(9901),c={ordinalNumber:function(e,t){var n=Number(e);switch(String(null===t||void 0===t?void 0:t.unit)){case"year":return"".concat(n,"\u5e74");case"quarter":return"\u7b2c".concat(n,"\u56db\u534a\u671f");case"month":return"".concat(n,"\u6708");case"week":return"\u7b2c".concat(n,"\u9031");case"date":return"".concat(n,"\u65e5");case"hour":return"".concat(n,"\u6642");case"minute":return"".concat(n,"\u5206");case"second":return"".concat(n,"\u79d2");default:return"".concat(n)}},era:(0,u.Z)({values:{narrow:["BC","AC"],abbreviated:["\u7d00\u5143\u524d","\u897f\u66a6"],wide:["\u7d00\u5143\u524d","\u897f\u66a6"]},defaultWidth:"wide"}),quarter:(0,u.Z)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["\u7b2c1\u56db\u534a\u671f","\u7b2c2\u56db\u534a\u671f","\u7b2c3\u56db\u534a\u671f","\u7b2c4\u56db\u534a\u671f"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,u.Z)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],wide:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"]},defaultWidth:"wide"}),day:(0,u.Z)({values:{narrow:["\u65e5","\u6708","\u706b","\u6c34","\u6728","\u91d1","\u571f"],short:["\u65e5","\u6708","\u706b","\u6c34","\u6728","\u91d1","\u571f"],abbreviated:["\u65e5","\u6708","\u706b","\u6c34","\u6728","\u91d1","\u571f"],wide:["\u65e5\u66dc\u65e5","\u6708\u66dc\u65e5","\u706b\u66dc\u65e5","\u6c34\u66dc\u65e5","\u6728\u66dc\u65e5","\u91d1\u66dc\u65e5","\u571f\u66dc\u65e5"]},defaultWidth:"wide"}),dayPeriod:(0,u.Z)({values:{narrow:{am:"\u5348\u524d",pm:"\u5348\u5f8c",midnight:"\u6df1\u591c",noon:"\u6b63\u5348",morning:"\u671d",afternoon:"\u5348\u5f8c",evening:"\u591c",night:"\u6df1\u591c"},abbreviated:{am:"\u5348\u524d",pm:"\u5348\u5f8c",midnight:"\u6df1\u591c",noon:"\u6b63\u5348",morning:"\u671d",afternoon:"\u5348\u5f8c",evening:"\u591c",night:"\u6df1\u591c"},wide:{am:"\u5348\u524d",pm:"\u5348\u5f8c",midnight:"\u6df1\u591c",noon:"\u6b63\u5348",morning:"\u671d",afternoon:"\u5348\u5f8c",evening:"\u591c",night:"\u6df1\u591c"}},defaultWidth:"wide",formattingValues:{narrow:{am:"\u5348\u524d",pm:"\u5348\u5f8c",midnight:"\u6df1\u591c",noon:"\u6b63\u5348",morning:"\u671d",afternoon:"\u5348\u5f8c",evening:"\u591c",night:"\u6df1\u591c"},abbreviated:{am:"\u5348\u524d",pm:"\u5348\u5f8c",midnight:"\u6df1\u591c",noon:"\u6b63\u5348",morning:"\u671d",afternoon:"\u5348\u5f8c",evening:"\u591c",night:"\u6df1\u591c"},wide:{am:"\u5348\u524d",pm:"\u5348\u5f8c",midnight:"\u6df1\u591c",noon:"\u6b63\u5348",morning:"\u671d",afternoon:"\u5348\u5f8c",evening:"\u591c",night:"\u6df1\u591c"}},defaultFormattingWidth:"wide"})},d=n(9834),f=n(2735),m={code:"ja",formatDistance:o,formatLong:i,formatRelative:s,localize:c,match:{ordinalNumber:(0,d.Z)({matchPattern:/^\u7b2c?\d+(\u5e74|\u56db\u534a\u671f|\u6708|\u9031|\u65e5|\u6642|\u5206|\u79d2)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,f.Z)({matchPatterns:{narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(\u7d00\u5143[\u524d\u5f8c]|\u897f\u66a6)/i,wide:/^(\u7d00\u5143[\u524d\u5f8c]|\u897f\u66a6)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^B/i,/^A/i],any:[/^(\u7d00\u5143\u524d)/i,/^(\u897f\u66a6|\u7d00\u5143\u5f8c)/i]},defaultParseWidth:"any"}),quarter:(0,f.Z)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^\u7b2c[1234\u4e00\u4e8c\u4e09\u56db\uff11\uff12\uff13\uff14]\u56db\u534a\u671f/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|\u4e00|\uff11)/i,/(2|\u4e8c|\uff12)/i,/(3|\u4e09|\uff13)/i,/(4|\u56db|\uff14)/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,f.Z)({matchPatterns:{narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])\u6708/i,wide:/^([123456789]|1[012])\u6708/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:(0,f.Z)({matchPatterns:{narrow:/^[\u65e5\u6708\u706b\u6c34\u6728\u91d1\u571f]/,short:/^[\u65e5\u6708\u706b\u6c34\u6728\u91d1\u571f]/,abbreviated:/^[\u65e5\u6708\u706b\u6c34\u6728\u91d1\u571f]/,wide:/^[\u65e5\u6708\u706b\u6c34\u6728\u91d1\u571f]\u66dc\u65e5/},defaultMatchWidth:"wide",parsePatterns:{any:[/^\u65e5/,/^\u6708/,/^\u706b/,/^\u6c34/,/^\u6728/,/^\u91d1/,/^\u571f/]},defaultParseWidth:"any"}),dayPeriod:(0,f.Z)({matchPatterns:{any:/^(AM|PM|\u5348\u524d|\u5348\u5f8c|\u6b63\u5348|\u6df1\u591c|\u771f\u591c\u4e2d|\u591c|\u671d)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(A|\u5348\u524d)/i,pm:/^(P|\u5348\u5f8c)/i,midnight:/^\u6df1\u591c|\u771f\u591c\u4e2d/i,noon:/^\u6b63\u5348/i,morning:/^\u671d/i,afternoon:/^\u5348\u5f8c/i,evening:/^\u591c/i,night:/^\u6df1\u591c/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},1560:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r={lessThanXSeconds:{one:"1\ucd08 \ubbf8\ub9cc",other:"{{count}}\ucd08 \ubbf8\ub9cc"},xSeconds:{one:"1\ucd08",other:"{{count}}\ucd08"},halfAMinute:"30\ucd08",lessThanXMinutes:{one:"1\ubd84 \ubbf8\ub9cc",other:"{{count}}\ubd84 \ubbf8\ub9cc"},xMinutes:{one:"1\ubd84",other:"{{count}}\ubd84"},aboutXHours:{one:"\uc57d 1\uc2dc\uac04",other:"\uc57d {{count}}\uc2dc\uac04"},xHours:{one:"1\uc2dc\uac04",other:"{{count}}\uc2dc\uac04"},xDays:{one:"1\uc77c",other:"{{count}}\uc77c"},aboutXWeeks:{one:"\uc57d 1\uc8fc",other:"\uc57d {{count}}\uc8fc"},xWeeks:{one:"1\uc8fc",other:"{{count}}\uc8fc"},aboutXMonths:{one:"\uc57d 1\uac1c\uc6d4",other:"\uc57d {{count}}\uac1c\uc6d4"},xMonths:{one:"1\uac1c\uc6d4",other:"{{count}}\uac1c\uc6d4"},aboutXYears:{one:"\uc57d 1\ub144",other:"\uc57d {{count}}\ub144"},xYears:{one:"1\ub144",other:"{{count}}\ub144"},overXYears:{one:"1\ub144 \uc774\uc0c1",other:"{{count}}\ub144 \uc774\uc0c1"},almostXYears:{one:"\uac70\uc758 1\ub144",other:"\uac70\uc758 {{count}}\ub144"}},o=function(e,t,n){var o,a=r[e];return o="string"===typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?o+" \ud6c4":o+" \uc804":o},a=n(8948),i={date:(0,a.Z)({formats:{full:"y\ub144 M\uc6d4 d\uc77c EEEE",long:"y\ub144 M\uc6d4 d\uc77c",medium:"y.MM.dd",short:"y.MM.dd"},defaultWidth:"full"}),time:(0,a.Z)({formats:{full:"a H\uc2dc mm\ubd84 ss\ucd08 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.Z)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},l={lastWeek:"'\uc9c0\ub09c' eeee p",yesterday:"'\uc5b4\uc81c' p",today:"'\uc624\ub298' p",tomorrow:"'\ub0b4\uc77c' p",nextWeek:"'\ub2e4\uc74c' eeee p",other:"P"},s=function(e,t,n,r){return l[e]},u=n(9901),c={ordinalNumber:function(e,t){var n=Number(e);switch(String(null===t||void 0===t?void 0:t.unit)){case"minute":case"second":return String(n);case"date":return n+"\uc77c";default:return n+"\ubc88\uc9f8"}},era:(0,u.Z)({values:{narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["\uae30\uc6d0\uc804","\uc11c\uae30"]},defaultWidth:"wide"}),quarter:(0,u.Z)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1\ubd84\uae30","2\ubd84\uae30","3\ubd84\uae30","4\ubd84\uae30"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,u.Z)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1\uc6d4","2\uc6d4","3\uc6d4","4\uc6d4","5\uc6d4","6\uc6d4","7\uc6d4","8\uc6d4","9\uc6d4","10\uc6d4","11\uc6d4","12\uc6d4"],wide:["1\uc6d4","2\uc6d4","3\uc6d4","4\uc6d4","5\uc6d4","6\uc6d4","7\uc6d4","8\uc6d4","9\uc6d4","10\uc6d4","11\uc6d4","12\uc6d4"]},defaultWidth:"wide"}),day:(0,u.Z)({values:{narrow:["\uc77c","\uc6d4","\ud654","\uc218","\ubaa9","\uae08","\ud1a0"],short:["\uc77c","\uc6d4","\ud654","\uc218","\ubaa9","\uae08","\ud1a0"],abbreviated:["\uc77c","\uc6d4","\ud654","\uc218","\ubaa9","\uae08","\ud1a0"],wide:["\uc77c\uc694\uc77c","\uc6d4\uc694\uc77c","\ud654\uc694\uc77c","\uc218\uc694\uc77c","\ubaa9\uc694\uc77c","\uae08\uc694\uc77c","\ud1a0\uc694\uc77c"]},defaultWidth:"wide"}),dayPeriod:(0,u.Z)({values:{narrow:{am:"\uc624\uc804",pm:"\uc624\ud6c4",midnight:"\uc790\uc815",noon:"\uc815\uc624",morning:"\uc544\uce68",afternoon:"\uc624\ud6c4",evening:"\uc800\ub141",night:"\ubc24"},abbreviated:{am:"\uc624\uc804",pm:"\uc624\ud6c4",midnight:"\uc790\uc815",noon:"\uc815\uc624",morning:"\uc544\uce68",afternoon:"\uc624\ud6c4",evening:"\uc800\ub141",night:"\ubc24"},wide:{am:"\uc624\uc804",pm:"\uc624\ud6c4",midnight:"\uc790\uc815",noon:"\uc815\uc624",morning:"\uc544\uce68",afternoon:"\uc624\ud6c4",evening:"\uc800\ub141",night:"\ubc24"}},defaultWidth:"wide",formattingValues:{narrow:{am:"\uc624\uc804",pm:"\uc624\ud6c4",midnight:"\uc790\uc815",noon:"\uc815\uc624",morning:"\uc544\uce68",afternoon:"\uc624\ud6c4",evening:"\uc800\ub141",night:"\ubc24"},abbreviated:{am:"\uc624\uc804",pm:"\uc624\ud6c4",midnight:"\uc790\uc815",noon:"\uc815\uc624",morning:"\uc544\uce68",afternoon:"\uc624\ud6c4",evening:"\uc800\ub141",night:"\ubc24"},wide:{am:"\uc624\uc804",pm:"\uc624\ud6c4",midnight:"\uc790\uc815",noon:"\uc815\uc624",morning:"\uc544\uce68",afternoon:"\uc624\ud6c4",evening:"\uc800\ub141",night:"\ubc24"}},defaultFormattingWidth:"wide"})},d=n(2735),f={code:"ko",formatDistance:o,formatLong:i,formatRelative:s,localize:c,match:{ordinalNumber:(0,n(9834).Z)({matchPattern:/^(\d+)(\uc77c|\ubc88\uc9f8)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,d.Z)({matchPatterns:{narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(\uae30\uc6d0\uc804|\uc11c\uae30)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(bc|\uae30\uc6d0\uc804)/i,/^(ad|\uc11c\uae30)/i]},defaultParseWidth:"any"}),quarter:(0,d.Z)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]\uc0ac?\ubd84\uae30/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,d.Z)({matchPatterns:{narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])\uc6d4/i,wide:/^(1[012]|[123456789])\uc6d4/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1\uc6d4?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:(0,d.Z)({matchPatterns:{narrow:/^[\uc77c\uc6d4\ud654\uc218\ubaa9\uae08\ud1a0]/,short:/^[\uc77c\uc6d4\ud654\uc218\ubaa9\uae08\ud1a0]/,abbreviated:/^[\uc77c\uc6d4\ud654\uc218\ubaa9\uae08\ud1a0]/,wide:/^[\uc77c\uc6d4\ud654\uc218\ubaa9\uae08\ud1a0]\uc694\uc77c/},defaultMatchWidth:"wide",parsePatterns:{any:[/^\uc77c/,/^\uc6d4/,/^\ud654/,/^\uc218/,/^\ubaa9/,/^\uae08/,/^\ud1a0/]},defaultParseWidth:"any"}),dayPeriod:(0,d.Z)({matchPatterns:{any:/^(am|pm|\uc624\uc804|\uc624\ud6c4|\uc790\uc815|\uc815\uc624|\uc544\uce68|\uc800\ub141|\ubc24)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(am|\uc624\uc804)/i,pm:/^(pm|\uc624\ud6c4)/i,midnight:/^\uc790\uc815/i,noon:/^\uc815\uc624/i,morning:/^\uc544\uce68/i,afternoon:/^\uc624\ud6c4/i,evening:/^\uc800\ub141/i,night:/^\ubc24/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},3605:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r={lessThanXSeconds:{one:"\u4e0d\u5230 1 \u79d2",other:"\u4e0d\u5230 {{count}} \u79d2"},xSeconds:{one:"1 \u79d2",other:"{{count}} \u79d2"},halfAMinute:"\u534a\u5206\u949f",lessThanXMinutes:{one:"\u4e0d\u5230 1 \u5206\u949f",other:"\u4e0d\u5230 {{count}} \u5206\u949f"},xMinutes:{one:"1 \u5206\u949f",other:"{{count}} \u5206\u949f"},xHours:{one:"1 \u5c0f\u65f6",other:"{{count}} \u5c0f\u65f6"},aboutXHours:{one:"\u5927\u7ea6 1 \u5c0f\u65f6",other:"\u5927\u7ea6 {{count}} \u5c0f\u65f6"},xDays:{one:"1 \u5929",other:"{{count}} \u5929"},aboutXWeeks:{one:"\u5927\u7ea6 1 \u4e2a\u661f\u671f",other:"\u5927\u7ea6 {{count}} \u4e2a\u661f\u671f"},xWeeks:{one:"1 \u4e2a\u661f\u671f",other:"{{count}} \u4e2a\u661f\u671f"},aboutXMonths:{one:"\u5927\u7ea6 1 \u4e2a\u6708",other:"\u5927\u7ea6 {{count}} \u4e2a\u6708"},xMonths:{one:"1 \u4e2a\u6708",other:"{{count}} \u4e2a\u6708"},aboutXYears:{one:"\u5927\u7ea6 1 \u5e74",other:"\u5927\u7ea6 {{count}} \u5e74"},xYears:{one:"1 \u5e74",other:"{{count}} \u5e74"},overXYears:{one:"\u8d85\u8fc7 1 \u5e74",other:"\u8d85\u8fc7 {{count}} \u5e74"},almostXYears:{one:"\u5c06\u8fd1 1 \u5e74",other:"\u5c06\u8fd1 {{count}} \u5e74"}},o=function(e,t,n){var o,a=r[e];return o="string"===typeof a?a:1===t?a.one:a.other.replace("{{count}}",String(t)),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?o+"\u5185":o+"\u524d":o},a=n(8948),i={date:(0,a.Z)({formats:{full:"y'\u5e74'M'\u6708'd'\u65e5' EEEE",long:"y'\u5e74'M'\u6708'd'\u65e5'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:(0,a.Z)({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:(0,a.Z)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},l=n(4800),s=n(9489);function u(e,t,n){var r="eeee p";return function(e,t,n){(0,l.Z)(2,arguments);var r=(0,s.Z)(e,n),o=(0,s.Z)(t,n);return r.getTime()===o.getTime()}(e,t,n)?r:e.getTime()>t.getTime()?"'\u4e0b\u4e2a'"+r:"'\u4e0a\u4e2a'"+r}var c={lastWeek:u,yesterday:"'\u6628\u5929' p",today:"'\u4eca\u5929' p",tomorrow:"'\u660e\u5929' p",nextWeek:u,other:"PP p"},d=function(e,t,n,r){var o=c[e];return"function"===typeof o?o(t,n,r):o},f=n(9901),m={ordinalNumber:function(e,t){var n=Number(e);switch(null===t||void 0===t?void 0:t.unit){case"date":return n.toString()+"\u65e5";case"hour":return n.toString()+"\u65f6";case"minute":return n.toString()+"\u5206";case"second":return n.toString()+"\u79d2";default:return"\u7b2c "+n.toString()}},era:(0,f.Z)({values:{narrow:["\u524d","\u516c\u5143"],abbreviated:["\u524d","\u516c\u5143"],wide:["\u516c\u5143\u524d","\u516c\u5143"]},defaultWidth:"wide"}),quarter:(0,f.Z)({values:{narrow:["1","2","3","4"],abbreviated:["\u7b2c\u4e00\u5b63","\u7b2c\u4e8c\u5b63","\u7b2c\u4e09\u5b63","\u7b2c\u56db\u5b63"],wide:["\u7b2c\u4e00\u5b63\u5ea6","\u7b2c\u4e8c\u5b63\u5ea6","\u7b2c\u4e09\u5b63\u5ea6","\u7b2c\u56db\u5b63\u5ea6"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,f.Z)({values:{narrow:["\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d","\u5341","\u5341\u4e00","\u5341\u4e8c"],abbreviated:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],wide:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"]},defaultWidth:"wide"}),day:(0,f.Z)({values:{narrow:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],short:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],abbreviated:["\u5468\u65e5","\u5468\u4e00","\u5468\u4e8c","\u5468\u4e09","\u5468\u56db","\u5468\u4e94","\u5468\u516d"],wide:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"]},defaultWidth:"wide"}),dayPeriod:(0,f.Z)({values:{narrow:{am:"\u4e0a",pm:"\u4e0b",midnight:"\u51cc\u6668",noon:"\u5348",morning:"\u65e9",afternoon:"\u4e0b\u5348",evening:"\u665a",night:"\u591c"},abbreviated:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348",midnight:"\u51cc\u6668",noon:"\u4e2d\u5348",morning:"\u65e9\u6668",afternoon:"\u4e2d\u5348",evening:"\u665a\u4e0a",night:"\u591c\u95f4"},wide:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348",midnight:"\u51cc\u6668",noon:"\u4e2d\u5348",morning:"\u65e9\u6668",afternoon:"\u4e2d\u5348",evening:"\u665a\u4e0a",night:"\u591c\u95f4"}},defaultWidth:"wide",formattingValues:{narrow:{am:"\u4e0a",pm:"\u4e0b",midnight:"\u51cc\u6668",noon:"\u5348",morning:"\u65e9",afternoon:"\u4e0b\u5348",evening:"\u665a",night:"\u591c"},abbreviated:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348",midnight:"\u51cc\u6668",noon:"\u4e2d\u5348",morning:"\u65e9\u6668",afternoon:"\u4e2d\u5348",evening:"\u665a\u4e0a",night:"\u591c\u95f4"},wide:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348",midnight:"\u51cc\u6668",noon:"\u4e2d\u5348",morning:"\u65e9\u6668",afternoon:"\u4e2d\u5348",evening:"\u665a\u4e0a",night:"\u591c\u95f4"}},defaultFormattingWidth:"wide"})},h=n(2735),p={code:"zh-CN",formatDistance:o,formatLong:i,formatRelative:d,localize:m,match:{ordinalNumber:(0,n(9834).Z)({matchPattern:/^(\u7b2c\s*)?\d+(\u65e5|\u65f6|\u5206|\u79d2)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,h.Z)({matchPatterns:{narrow:/^(\u524d)/i,abbreviated:/^(\u524d)/i,wide:/^(\u516c\u5143\u524d|\u516c\u5143)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(\u524d)/i,/^(\u516c\u5143)/i]},defaultParseWidth:"any"}),quarter:(0,h.Z)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^\u7b2c[\u4e00\u4e8c\u4e09\u56db]\u523b/i,wide:/^\u7b2c[\u4e00\u4e8c\u4e09\u56db]\u523b\u949f/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|\u4e00)/i,/(2|\u4e8c)/i,/(3|\u4e09)/i,/(4|\u56db)/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,h.Z)({matchPatterns:{narrow:/^(\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d|\u5341[\u4e8c\u4e00])/i,abbreviated:/^(\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d|\u5341[\u4e8c\u4e00]|\d|1[12])\u6708/i,wide:/^(\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d|\u5341[\u4e8c\u4e00])\u6708/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^\u4e00/i,/^\u4e8c/i,/^\u4e09/i,/^\u56db/i,/^\u4e94/i,/^\u516d/i,/^\u4e03/i,/^\u516b/i,/^\u4e5d/i,/^\u5341(?!(\u4e00|\u4e8c))/i,/^\u5341\u4e00/i,/^\u5341\u4e8c/i],any:[/^\u4e00|1/i,/^\u4e8c|2/i,/^\u4e09|3/i,/^\u56db|4/i,/^\u4e94|5/i,/^\u516d|6/i,/^\u4e03|7/i,/^\u516b|8/i,/^\u4e5d|9/i,/^\u5341(?!(\u4e00|\u4e8c))|10/i,/^\u5341\u4e00|11/i,/^\u5341\u4e8c|12/i]},defaultParseWidth:"any"}),day:(0,h.Z)({matchPatterns:{narrow:/^[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u65e5]/i,short:/^[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u65e5]/i,abbreviated:/^\u5468[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u65e5]/i,wide:/^\u661f\u671f[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u65e5]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/\u65e5/i,/\u4e00/i,/\u4e8c/i,/\u4e09/i,/\u56db/i,/\u4e94/i,/\u516d/i]},defaultParseWidth:"any"}),dayPeriod:(0,h.Z)({matchPatterns:{any:/^(\u4e0a\u5348?|\u4e0b\u5348?|\u5348\u591c|[\u4e2d\u6b63]\u5348|\u65e9\u4e0a?|\u4e0b\u5348|\u665a\u4e0a?|\u51cc\u6668|)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^\u4e0a\u5348?/i,pm:/^\u4e0b\u5348?/i,midnight:/^\u5348\u591c/i,noon:/^[\u4e2d\u6b63]\u5348/i,morning:/^\u65e9\u4e0a/i,afternoon:/^\u4e0b\u5348/i,evening:/^\u665a\u4e0a?/i,night:/^\u51cc\u6668/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},5298:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r={lessThanXSeconds:{one:"\u5c11\u65bc 1 \u79d2",other:"\u5c11\u65bc {{count}} \u79d2"},xSeconds:{one:"1 \u79d2",other:"{{count}} \u79d2"},halfAMinute:"\u534a\u5206\u9418",lessThanXMinutes:{one:"\u5c11\u65bc 1 \u5206\u9418",other:"\u5c11\u65bc {{count}} \u5206\u9418"},xMinutes:{one:"1 \u5206\u9418",other:"{{count}} \u5206\u9418"},xHours:{one:"1 \u5c0f\u6642",other:"{{count}} \u5c0f\u6642"},aboutXHours:{one:"\u5927\u7d04 1 \u5c0f\u6642",other:"\u5927\u7d04 {{count}} \u5c0f\u6642"},xDays:{one:"1 \u5929",other:"{{count}} \u5929"},aboutXWeeks:{one:"\u5927\u7d04 1 \u500b\u661f\u671f",other:"\u5927\u7d04 {{count}} \u500b\u661f\u671f"},xWeeks:{one:"1 \u500b\u661f\u671f",other:"{{count}} \u500b\u661f\u671f"},aboutXMonths:{one:"\u5927\u7d04 1 \u500b\u6708",other:"\u5927\u7d04 {{count}} \u500b\u6708"},xMonths:{one:"1 \u500b\u6708",other:"{{count}} \u500b\u6708"},aboutXYears:{one:"\u5927\u7d04 1 \u5e74",other:"\u5927\u7d04 {{count}} \u5e74"},xYears:{one:"1 \u5e74",other:"{{count}} \u5e74"},overXYears:{one:"\u8d85\u904e 1 \u5e74",other:"\u8d85\u904e {{count}} \u5e74"},almostXYears:{one:"\u5c07\u8fd1 1 \u5e74",other:"\u5c07\u8fd1 {{count}} \u5e74"}},o=function(e,t,n){var o,a=r[e];return o="string"===typeof a?a:1===t?a.one:a.other.replace("{{count}}",String(t)),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?o+"\u5167":o+"\u524d":o},a=n(8948),i={date:(0,a.Z)({formats:{full:"y'\u5e74'M'\u6708'd'\u65e5' EEEE",long:"y'\u5e74'M'\u6708'd'\u65e5'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:(0,a.Z)({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:(0,a.Z)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},l={lastWeek:"'\u4e0a\u500b'eeee p",yesterday:"'\u6628\u5929' p",today:"'\u4eca\u5929' p",tomorrow:"'\u660e\u5929' p",nextWeek:"'\u4e0b\u500b'eeee p",other:"P"},s=function(e,t,n,r){return l[e]},u=n(9901),c={ordinalNumber:function(e,t){var n=Number(e);switch(null===t||void 0===t?void 0:t.unit){case"date":return n+"\u65e5";case"hour":return n+"\u6642";case"minute":return n+"\u5206";case"second":return n+"\u79d2";default:return"\u7b2c "+n}},era:(0,u.Z)({values:{narrow:["\u524d","\u516c\u5143"],abbreviated:["\u524d","\u516c\u5143"],wide:["\u516c\u5143\u524d","\u516c\u5143"]},defaultWidth:"wide"}),quarter:(0,u.Z)({values:{narrow:["1","2","3","4"],abbreviated:["\u7b2c\u4e00\u523b","\u7b2c\u4e8c\u523b","\u7b2c\u4e09\u523b","\u7b2c\u56db\u523b"],wide:["\u7b2c\u4e00\u523b\u9418","\u7b2c\u4e8c\u523b\u9418","\u7b2c\u4e09\u523b\u9418","\u7b2c\u56db\u523b\u9418"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,u.Z)({values:{narrow:["\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d","\u5341","\u5341\u4e00","\u5341\u4e8c"],abbreviated:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],wide:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"]},defaultWidth:"wide"}),day:(0,u.Z)({values:{narrow:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],short:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],abbreviated:["\u9031\u65e5","\u9031\u4e00","\u9031\u4e8c","\u9031\u4e09","\u9031\u56db","\u9031\u4e94","\u9031\u516d"],wide:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"]},defaultWidth:"wide"}),dayPeriod:(0,u.Z)({values:{narrow:{am:"\u4e0a",pm:"\u4e0b",midnight:"\u51cc\u6668",noon:"\u5348",morning:"\u65e9",afternoon:"\u4e0b\u5348",evening:"\u665a",night:"\u591c"},abbreviated:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348",midnight:"\u51cc\u6668",noon:"\u4e2d\u5348",morning:"\u65e9\u6668",afternoon:"\u4e2d\u5348",evening:"\u665a\u4e0a",night:"\u591c\u9593"},wide:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348",midnight:"\u51cc\u6668",noon:"\u4e2d\u5348",morning:"\u65e9\u6668",afternoon:"\u4e2d\u5348",evening:"\u665a\u4e0a",night:"\u591c\u9593"}},defaultWidth:"wide",formattingValues:{narrow:{am:"\u4e0a",pm:"\u4e0b",midnight:"\u51cc\u6668",noon:"\u5348",morning:"\u65e9",afternoon:"\u4e0b\u5348",evening:"\u665a",night:"\u591c"},abbreviated:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348",midnight:"\u51cc\u6668",noon:"\u4e2d\u5348",morning:"\u65e9\u6668",afternoon:"\u4e2d\u5348",evening:"\u665a\u4e0a",night:"\u591c\u9593"},wide:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348",midnight:"\u51cc\u6668",noon:"\u4e2d\u5348",morning:"\u65e9\u6668",afternoon:"\u4e2d\u5348",evening:"\u665a\u4e0a",night:"\u591c\u9593"}},defaultFormattingWidth:"wide"})},d=n(2735),f={code:"zh-TW",formatDistance:o,formatLong:i,formatRelative:s,localize:c,match:{ordinalNumber:(0,n(9834).Z)({matchPattern:/^(\u7b2c\s*)?\d+(\u65e5|\u6642|\u5206|\u79d2)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,d.Z)({matchPatterns:{narrow:/^(\u524d)/i,abbreviated:/^(\u524d)/i,wide:/^(\u516c\u5143\u524d|\u516c\u5143)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(\u524d)/i,/^(\u516c\u5143)/i]},defaultParseWidth:"any"}),quarter:(0,d.Z)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^\u7b2c[\u4e00\u4e8c\u4e09\u56db]\u523b/i,wide:/^\u7b2c[\u4e00\u4e8c\u4e09\u56db]\u523b\u9418/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|\u4e00)/i,/(2|\u4e8c)/i,/(3|\u4e09)/i,/(4|\u56db)/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,d.Z)({matchPatterns:{narrow:/^(\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d|\u5341[\u4e8c\u4e00])/i,abbreviated:/^(\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d|\u5341[\u4e8c\u4e00]|\d|1[12])\u6708/i,wide:/^(\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d|\u5341[\u4e8c\u4e00])\u6708/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^\u4e00/i,/^\u4e8c/i,/^\u4e09/i,/^\u56db/i,/^\u4e94/i,/^\u516d/i,/^\u4e03/i,/^\u516b/i,/^\u4e5d/i,/^\u5341(?!(\u4e00|\u4e8c))/i,/^\u5341\u4e00/i,/^\u5341\u4e8c/i],any:[/^\u4e00|1/i,/^\u4e8c|2/i,/^\u4e09|3/i,/^\u56db|4/i,/^\u4e94|5/i,/^\u516d|6/i,/^\u4e03|7/i,/^\u516b|8/i,/^\u4e5d|9/i,/^\u5341(?!(\u4e00|\u4e8c))|10/i,/^\u5341\u4e00|11/i,/^\u5341\u4e8c|12/i]},defaultParseWidth:"any"}),day:(0,d.Z)({matchPatterns:{narrow:/^[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u65e5]/i,short:/^[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u65e5]/i,abbreviated:/^\u9031[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u65e5]/i,wide:/^\u661f\u671f[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u65e5]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/\u65e5/i,/\u4e00/i,/\u4e8c/i,/\u4e09/i,/\u56db/i,/\u4e94/i,/\u516d/i]},defaultParseWidth:"any"}),dayPeriod:(0,d.Z)({matchPatterns:{any:/^(\u4e0a\u5348?|\u4e0b\u5348?|\u5348\u591c|[\u4e2d\u6b63]\u5348|\u65e9\u4e0a?|\u4e0b\u5348|\u665a\u4e0a?|\u51cc\u6668)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^\u4e0a\u5348?/i,pm:/^\u4e0b\u5348?/i,midnight:/^\u5348\u591c/i,noon:/^[\u4e2d\u6b63]\u5348/i,morning:/^\u65e9\u4e0a/i,afternoon:/^\u4e0b\u5348/i,evening:/^\u665a\u4e0a?/i,night:/^\u51cc\u6668/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},3601:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(1002),o=n(4800);function a(e){(0,o.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,r.Z)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"===typeof e||"[object Number]"===t?new Date(e):("string"!==typeof e&&"[object String]"!==t||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},1729:function(e,t,n){"use strict";var r=n(9165);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},5192:function(e,t,n){e.exports=n(1729)()},9165:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]); \ No newline at end of file diff --git a/frontend/dist/static/js/main.71322421.js b/frontend/dist/static/js/main.71322421.js deleted file mode 100644 index 766636da..00000000 --- a/frontend/dist/static/js/main.71322421.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see main.71322421.js.LICENSE.txt */ -!function(){"use strict";var e={5827:function(e,t,n){n.d(t,{Z:function(){return v},m:function(){return y}});var r=n(1061),o=n(5671),a=n(3144),i=function(){function e(){(0,o.Z)(this,e)}return(0,a.Z)(e,[{key:"property",value:function(){return{name:"\u6c17\u8c61\u5e81\u9707\u5ea6\u968e\u7d1a",value:"JMA"}}},{key:"intensity",value:function(e,t){var n=parseFloat((2*Math.log10(t)+.94).toFixed(3));switch(n=parseFloat(n.toFixed(2)),!0){case n<.5:return"0";case n<1.5:return"1";case n<2.5:return"2";case n<3.5:return"3";case n<4.5:return"4";case n<5:return"5 \u5f31";case n<5.5:return"5 \u5f37";case n<6:return"6 \u5f31";case n<6.5:return"6 \u5f37";default:return"7"}}}]),e}(),u=function(){function e(){(0,o.Z)(this,e)}return(0,a.Z)(e,[{key:"property",value:function(){return{name:"\u4ea4\u901a\u90e8\u4e2d\u592e\u6c23\u8c61\u7f72\u5730\u9707\u9707\u5ea6\u5206\u7d1a",value:"CWA"}}},{key:"intensity",value:function(e,t){if(t<80)switch(!0){case t<.8:return"0 \u7d1a";case t<2.5:return"1 \u7d1a";case t<8:return"2 \u7d1a";case t<25:return"3 \u7d1a";case t<80:return"4 \u7d1a"}else switch(!0){case e<15:return"4 \u7d1a";case e<30:return"5 \u5f31";case e<50:return"5 \u5f37";case e<80:return"6 \u5f31";case e<140:return"6 \u5f37"}return"7 \u7d1a"}}]),e}(),l=function(){function e(){(0,o.Z)(this,e)}return(0,a.Z)(e,[{key:"property",value:function(){return{name:"The Modified Mercalli Intensity",value:"MMI"}}},{key:"intensity",value:function(e,t){return(2.33*Math.log10(t)+1.5).toFixed(0)}}]),e}(),c=function(){function e(){(0,o.Z)(this,e)}return(0,a.Z)(e,[{key:"property",value:function(){return{name:"\u4e2d\u56fd\u5730\u9707\u70c8\u5ea6\u8868",value:"CSIS"}}},{key:"intensity",value:function(e,t){var n=3.17*Math.log10(t)+6.59,r=3*Math.log10(e)+9.77,o=1;return(o=n>=6&&r>=6?r:(n+r)/2)<1?o=1:o>12&&(o=12),"".concat(o.toFixed(0))}}]),e}(),s=function(){return"61b34ebe-20240213154524"},f=function(){return"v2.8.1"}(),d=s(),p=(0,r.Z)(),h=[new i,new u,new l,new c],v={app_settings:{version:f,release:d,scales:h,timeout:100,retention:180,duration:300,router:"hash",name:"config.global.name",author:"config.global.author",title:"config.global.title",description:"config.global.description"},api_settings:{backend:p,version:"v1",prefix:"/api",types:["http","ws"]}},y=h[0]},7902:function(e,t,n){var r=n(7313),o=n(6417),a=(0,r.lazy)((function(){return Promise.all([n.e(377),n.e(144),n.e(596),n.e(822),n.e(912),n.e(669),n.e(290)]).then(n.bind(n,1179))})),i=(0,r.lazy)((function(){return Promise.all([n.e(377),n.e(144),n.e(59),n.e(596),n.e(912),n.e(669),n.e(735)]).then(n.bind(n,3735))})),u=(0,r.lazy)((function(){return Promise.all([n.e(377),n.e(144),n.e(59),n.e(596),n.e(366),n.e(165),n.e(979),n.e(912),n.e(252)]).then(n.bind(n,5252))})),l=(0,r.lazy)((function(){return Promise.all([n.e(377),n.e(144),n.e(59),n.e(366),n.e(912),n.e(253)]).then(n.bind(n,253))})),c=(0,r.lazy)((function(){return Promise.all([n.e(377),n.e(59),n.e(366),n.e(165),n.e(912),n.e(332)]).then(n.bind(n,6332))})),s=[{uri:"/",title:"config.router.index",node:(0,o.jsx)(a,{})},{uri:"/realtime",title:"config.router.realtime",node:(0,o.jsx)(i,{})},{uri:"/history",title:"config.router.history",node:(0,o.jsx)(u,{})},{uri:"/export",title:"config.router.export",node:(0,o.jsx)(l,{})},{uri:"/setting",title:"config.router.setting",node:(0,o.jsx)(c,{})}];t.Z=s},1061:function(e,t){t.Z=function(){return"//".concat(window.location.host)}},7703:function(e,t,n){n.d(t,{V:function(){return a}});var r=(0,n(827).oM)({name:"adc",initialState:{adc:{fullscale:0,resolution:-1}},reducers:{onUpdate:function(e,t){var n=t.payload;e.adc=n}}}),o=r.actions.onUpdate,a=function(e){return function(t){t(o(e))}};t.Z=r.reducer},5549:function(e,t,n){n.d(t,{V:function(){return u}});var r=n(827),o=n(5827).Z.app_settings.duration,a=(0,r.oM)({name:"duration",initialState:{duration:o},reducers:{onUpdate:function(e,t){var n=t.payload;e.duration=n>0&&n<=3600?n:o}}}),i=a.actions.onUpdate,u=function(e){return function(t){t(i(e))}};t.Z=a.reducer},8146:function(e,t,n){n.d(t,{V:function(){return a}});var r=(0,n(827).oM)({name:"geophone",initialState:{geophone:{ehz:0,ehe:0,ehn:0}},reducers:{onUpdate:function(e,t){var n=t.payload;e.geophone=n}}}),o=r.actions.onUpdate,a=function(e){return function(t){t(o(e))}};t.Z=r.reducer},5467:function(e,t,n){n.d(t,{V:function(){return u}});var r=n(827),o=n(5827).Z.app_settings.retention,a=(0,r.oM)({name:"retention",initialState:{retention:o},reducers:{onUpdate:function(e,t){var n=t.payload;e.retention=n>0&&n<=1e3?n:o}}}),i=a.actions.onUpdate,u=function(e){return function(t){t(i(e))}};t.Z=a.reducer},1236:function(e,t,n){n.d(t,{V:function(){return u}});var r=n(827),o=n(5827).m.property().value,a=(0,r.oM)({name:"scale",initialState:{scale:o},reducers:{onUpdate:function(e,t){var n=t.payload;e.scale=n}}}),i=a.actions.onUpdate,u=function(e){return function(t){t(i(e))}};t.Z=a.reducer},6801:function(e,t,n){n.d(t,{V:function(){return a}});var r=(0,n(827).oM)({name:"station",initialState:{station:{station:"SHAKE",network:"AS",location:"00"}},reducers:{onUpdate:function(e,t){var n=t.payload;e.station=n}}}),o=r.actions.onUpdate,a=function(e){return function(t){t(o(e))}};t.Z=r.reducer},5296:function(e,t,n){n.d(t,{Z:function(){return oe}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?s(w,--g):0,y--,10===b&&(y=1,v--),b}function E(){return b=g2||O(b)>3?"":" "}function z(e,t){for(;--t&&E()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return C(e,P()+(t<6&&32==_()&&32==E()))}function M(e){for(;E();)switch(b){case e:return g;case 34:case 39:34!==e&&39!==e&&M(b);break;case 40:41===e&&M(e);break;case 92:E()}return g}function L(e,t){for(;E()&&e+b!==57&&(e+b!==84||47!==_()););return"/*"+C(t,g-1)+"*"+a(47===e?e:E())}function I(e){for(;!O(_());)E();return C(e,g)}var D="-ms-",A="-moz-",F="-webkit-",U="comm",$="rule",Z="decl",W="@keyframes";function B(e,t){for(var n="",r=p(e),o=0;o0&&d(A)-m&&h(b>32?J(A+";",r,n,m-1):J(l(A," ","")+";",r,n,m-2),p);break;case 59:A+=";";default:if(h(D=Q(A,t,n,v,y,o,f,j,N=[],M=[],m),i),123===O)if(0===y)q(A,t,D,D,N,i,m,f,M);else switch(99===g&&110===s(A,3)?100:g){case 100:case 108:case 109:case 115:q(e,D,D,r&&h(Q(e,D,D,0,0,o,f,j,o,N=[],m),M),o,M,m,f,r?N:M);break;default:q(A,D,D,D,[""],M,0,f,M)}}v=y=b=0,S=C=1,j=A="",m=u;break;case 58:m=1+d(A),b=w;default:if(S<1)if(123==O)--S;else if(125==O&&0==S++&&125==x())continue;switch(A+=a(O),O*S){case 38:C=y>0?1:(A+="\f",-1);break;case 44:f[v++]=(d(A)-1)*C,C=1;break;case 64:45===_()&&(A+=T(E())),g=_(),y=m=d(j=A+=I(P())),O++;break;case 45:45===w&&2==d(A)&&(S=0)}}return i}function Q(e,t,n,r,a,i,c,s,d,h,v){for(var y=a-1,m=0===a?i:[""],g=p(m),b=0,w=0,k=0;b0?m[x]+" "+E:l(E,/&\f/g,m[x])))&&(d[k++]=_);return S(e,t,n,0===a?$:s,d,h,v)}function K(e,t,n){return S(e,t,n,U,a(b),f(e,2,-2),0)}function J(e,t,n,r){return S(e,t,n,Z,f(e,0,r),f(e,r+1,-1),r)}var X=function(e,t,n){for(var r=0,o=0;r=o,o=_(),38===r&&12===o&&(t[n]=1),!O(o);)E();return C(e,g)},Y=function(e,t){return N(function(e,t){var n=-1,r=44;do{switch(O(r)){case 0:38===r&&12===_()&&(t[n]=1),e[n]+=X(g-1,t,n);break;case 2:e[n]+=T(r);break;case 4:if(44===r){e[++n]=58===_()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=a(r)}}while(r=E());return e}(j(e),t))},G=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||G.get(n))&&!r){G.set(e,!0);for(var o=[],a=Y(t,o),i=n.props,u=0,l=0;u6)switch(s(e,t+1)){case 109:if(45!==s(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+F+"$2-$3$1"+A+(108==s(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?ne(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==s(e,t+1))break;case 6444:switch(s(e,d(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+F)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+F+(45===s(e,14)?"inline-":"")+"box$3$1"+F+"$2$3$1"+D+"$2box$3")+e}break;case 5936:switch(s(e,t+11)){case 114:return F+e+D+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+D+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+D+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return F+e+D+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Z:e.return=ne(e.value,e.length);break;case W:return B([k(e,{value:l(e.value,"@","@"+F)})],r);case $:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return B([k(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return B([k(e,{props:[l(t,/:(plac\w+)/,":"+F+"input-$1")]}),k(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),k(e,{props:[l(t,/:(plac\w+)/,D+"input-$1")]})],r)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||re;var a,i,u={},l=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:d}}},5696:function(e,t,n){var r;n.d(t,{L:function(){return i},j:function(){return u}});var o=n(7313),a=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,i=a||function(e){return e()},u=a||o.useLayoutEffect},827:function(e,t,n){function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:d(e)?2:p(e)?3:0}function l(e,t){return 2===u(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){return 2===u(e)?e.get(t):e[t]}function s(e,t,n){var r=u(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e){return Z&&e instanceof Map}function p(e){return W&&e instanceof Set}function h(e){return e.o||e.t}function v(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=J(e);delete t[q];for(var n=K(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=m),Object.freeze(e),t&&i(e,(function(e,t){return y(t,!0)}),!0)),e}function m(){r(2)}function g(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function b(e){var t=X[e];return t||r(18,e),t}function w(e,t){X[e]||(X[e]=t)}function S(){return U}function k(e,t){t&&(b("Patches"),e.u=[],e.s=[],e.v=t)}function x(e){E(e),e.p.forEach(P),e.p=null}function E(e){e===U&&(U=e.l)}function _(e){return U={p:[],l:U,h:e,m:!0,_:0}}function P(e){var t=e[q];0===t.i||1===t.i?t.j():t.g=!0}function C(e,t){t._=t.p.length;var n=t.p[0],o=void 0!==e&&e!==n;return t.h.O||b("ES5").S(t,e,o),o?(n[q].P&&(x(t),r(4)),a(e)&&(e=O(t,e),t.l||N(t,e)),t.u&&b("Patches").M(n[q].t,e,t.u,t.s)):e=O(t,n,[]),x(t),t.u&&t.v(t.u,t.s),e!==V?e:void 0}function O(e,t,n){if(g(t))return t;var r=t[q];if(!r)return i(t,(function(o,a){return j(e,r,t,o,a,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return N(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=v(r.k):r.o,a=o,u=!1;3===r.i&&(a=new Set(o),o.clear(),u=!0),i(a,(function(t,a){return j(e,r,o,t,a,n,u)})),N(e,o,!1),n&&e.u&&b("Patches").N(r,n,e.u,e.s)}return r.o}function j(e,t,n,r,i,u,c){if(o(i)){var f=O(e,i,u&&t&&3!==t.i&&!l(t.R,r)?u.concat(r):void 0);if(s(n,r,f),!o(f))return;e.m=!1}else c&&n.add(i);if(a(i)&&!g(i)){if(!e.h.D&&e._<1)return;O(e,i),t&&t.A.l||N(e,i)}}function N(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&y(t,n)}function T(e,t){var n=e[q];return(n?h(n):e)[t]}function R(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function z(e){e.P||(e.P=!0,e.l&&z(e.l))}function M(e){e.o||(e.o=v(e.t))}function L(e,t,n){var r=d(t)?b("MapSet").F(t,n):p(t)?b("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:S(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,a=Y;n&&(o=[r],a=G);var i=Proxy.revocable(o,a),u=i.revoke,l=i.proxy;return r.k=l,r.j=u,l}(t,n):b("ES5").J(t,n);return(n?n.A:S()).p.push(r),r}function I(e){return o(e)||r(22,e),function e(t){if(!a(t))return t;var n,r=t[q],o=u(t);if(r){if(!r.P&&(r.i<4||!b("ES5").K(r)))return r.t;r.I=!0,n=D(t,o),r.I=!1}else n=D(t,o);return i(n,(function(t,o){r&&c(r.t,t)===o||s(n,t,e(o))})),3===o?new Set(n):n}(e)}function D(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return v(e)}function A(){function e(e,t){var n=a[e];return n?n.enumerable=t:a[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[q];return Y.get(t,e)},set:function(t){var n=this[q];Y.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var o=e[t][q];if(!o.P)switch(o.i){case 5:r(o)&&z(o);break;case 4:n(o)&&z(o)}}}function n(e){for(var t=e.t,n=e.k,r=K(n),o=r.length-1;o>=0;o--){var a=r[o];if(a!==q){var i=t[a];if(void 0===i&&!l(t,a))return!0;var u=n[a],c=u&&u[q];if(c?c.t!==i:!f(u,i))return!0}}var s=!!t[q];return r.length!==K(t).length+(s?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r1?r-1:0),a=1;a1?r-1:0),a=1;a=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var a=b("Patches").$;return o(e)?a(e,t):this.produce(e,(function(e){return a(e,t)}))},e}(),te=new ee,ne=te.produce,re=(te.produceWithPatches.bind(te),te.setAutoFreeze.bind(te),te.setUseProxies.bind(te),te.applyPatches.bind(te),te.createDraft.bind(te),te.finishDraft.bind(te),ne),oe=n(9038);function ae(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"===typeof o?o(n,r,e):t(o)}}}}var ie=ae();ie.withExtraArgument=ae;var ue=ie,le=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ce=function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function O(e,t,n,r){void 0===r&&(r={});var o=r,a=o.window,i=void 0===a?document.defaultView:a,u=o.v5Compat,l=void 0!==u&&u,c=i.history,s=d.Pop,f=null,p=h();function h(){return(c.state||{idx:null}).idx}function v(){s=d.Pop;var e=h(),t=null==e?null:e-p;p=e,f&&f({action:s,location:g.location,delta:t})}function y(e){var t="null"!==i.location.origin?i.location.origin:i.location.href,n="string"===typeof e?e:P(e);return k(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==p&&(p=0,c.replaceState(m({},c.state,{idx:p}),""));var g={get action(){return s},get location(){return e(i,c)},listen:function(e){if(f)throw new Error("A history only accepts one active listener");return i.addEventListener(b,v),f=e,function(){i.removeEventListener(b,v),f=null}},createHref:function(e){return t(i,e)},createURL:y,encodeLocation:function(e){var t=y(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s=d.Push;var r=_(g.location,e,t);n&&n(r,e);var o=E(r,p=h()+1),a=g.createHref(r);try{c.pushState(o,"",a)}catch(u){if(u instanceof DOMException&&"DataCloneError"===u.name)throw u;i.location.assign(a)}l&&f&&f({action:s,location:g.location,delta:1})},replace:function(e,t){s=d.Replace;var r=_(g.location,e,t);n&&n(r,e);var o=E(r,p=h()),a=g.createHref(r);c.replaceState(o,"",a),l&&f&&f({action:s,location:g.location,delta:0})},go:function(e){return c.go(e)}};return g}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(g||(g={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function j(e,t,n){void 0===n&&(n="/");var r=W(("string"===typeof t?C(t):t).pathname||"/",n);if(null==r)return null;var o=N(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(o);for(var a=null,i=0;null==a&&i0&&(k(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+u+'".'),N(e.children,t,l,u)),(null!=e.path||e.index)&&t.push({path:u,score:F(u,e.index),routesMeta:l})};return e.forEach((function(e,t){var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?")){var r,a=(0,v.Z)(T(e.path));try{for(a.s();!(r=a.n()).done;){var i=r.value;o(e,t,i)}}catch(u){a.e(u)}finally{a.f()}}else o(e,t)})),t}function T(e){var t=e.split("/");if(0===t.length)return[];var n=(0,h.Z)(t),r=n[0],o=n.slice(1),a=r.endsWith("?"),i=r.replace(/\?$/,"");if(0===o.length)return a?[i,""]:[i];var u=T(o.join("/")),l=[];return l.push.apply(l,(0,y.Z)(u.map((function(e){return""===e?i:[i,e].join("/")})))),a&&l.push.apply(l,(0,y.Z)(u)),l.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}var R=/^:\w+$/,z=3,M=2,L=1,I=10,D=-2,A=function(e){return"*"===e};function F(e,t){var n=e.split("/"),r=n.length;return n.some(A)&&(r+=D),t&&(r+=M),n.filter((function(e){return!A(e)})).reduce((function(e,t){return e+(R.test(t)?z:""===t?L:I)}),r)}function U(e,t){for(var n=e.routesMeta,r={},o="/",a=[],i=0;i and the router will parse it for you.'}function V(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function H(e,t,n,r){var o;void 0===r&&(r=!1),"string"===typeof e?o=C(e):(k(!(o=m({},e)).pathname||!o.pathname.includes("?"),B("?","pathname","search",o)),k(!o.pathname||!o.pathname.includes("#"),B("#","pathname","hash",o)),k(!o.search||!o.search.includes("#"),B("#","search","hash",o)));var a,i=""===e||""===o.pathname,u=i?"/":o.pathname;if(r||null==u)a=n;else{var l=t.length-1;if(u.startsWith("..")){for(var c=u.split("/");".."===c[0];)c.shift(),l-=1;o.pathname=c.join("/")}a=l>=0?t[l]:"/"}var s=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?C(e):e,r=n.pathname,o=n.search,a=void 0===o?"":o,i=n.hash,u=void 0===i?"":i,l=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:l,search:K(a),hash:J(u)}}(o,a),f=u&&"/"!==u&&u.endsWith("/"),d=(i||"."===u)&&n.endsWith("/");return s.pathname.endsWith("/")||!f&&!d||(s.pathname+="/"),s}var q=function(e){return e.join("/").replace(/\/\/+/g,"/")},Q=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},K=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},J=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},X=function(e){(0,a.Z)(n,e);var t=(0,i.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,r.Z)(n)}(f(Error));function Y(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var G=["post","put","patch","delete"],ee=(new Set(G),["get"].concat(G));new Set(ee),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred")},7861:function(e,t,n){var r=n(9456),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function l(e){return r.isMemo(e)?i:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=i;var c=Object.defineProperty,s=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var i=s(n);f&&(i=i.concat(f(n)));for(var u=l(t),v=l(n),y=0;y