@camera.ui/server 0.0.6 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/interface/assets/{@tanstack-BqH4GyO-.js → @tanstack-B-9PO-kT.js} +1 -1
- package/dist/interface/assets/{@vee-validate-DCBdnGo-.js → @vee-validate-D_G0ehOl.js} +1 -1
- package/dist/interface/assets/{@vue-C7-KaDG4.js → @vue-C10tA4b9.js} +6 -6
- package/dist/interface/assets/{@vueform-arggO0eF.js → @vueform-Bj73kRPS.js} +1 -1
- package/dist/interface/assets/{@vueuse-C3WMTDqL.js → @vueuse-BPeqNGoM.js} +1 -1
- package/dist/interface/assets/Account-MEaGtu1D.js +1 -0
- package/dist/interface/assets/Adminpanel-D1ycltxf.js +1 -0
- package/dist/interface/assets/Appearance-Jlzp_P21.js +1 -0
- package/dist/interface/assets/Backup-1-ju9NDo.js +1 -0
- package/dist/interface/assets/Camera-BOu5dUel.js +1 -0
- package/dist/interface/assets/Cameras-C7eUXdZk.js +1 -0
- package/dist/interface/assets/Cameras-tmTzi1M6.css +1 -0
- package/dist/interface/assets/Camview-CEgwGCGR.js +1 -0
- package/dist/interface/assets/{Camview-vUAs5YHU.css → Camview-CWTrsoY0.css} +1 -1
- package/dist/interface/assets/Config-Dt-etQ3h.js +1 -0
- package/dist/interface/assets/{Console-Caz7y-T0.js → Console-FCve5CKy.js} +2 -2
- package/dist/interface/assets/FirstSteps-DLkKDSe9.js +1 -0
- package/dist/interface/assets/{NewCamera-B9t-0NCc.js → NewCamera-Cc1X79Ns.js} +2 -2
- package/dist/interface/assets/Plugin-CnQjafMC.js +1 -0
- package/dist/interface/assets/{Plugin-BSHKKjrl.css → Plugin-DzKKCoqQ.css} +1 -1
- package/dist/interface/assets/Plugins-B8gCgxOx.css +1 -0
- package/dist/interface/assets/Plugins-CwyUdMlv.js +1 -0
- package/dist/interface/assets/Recordings-Boeev1lV.js +1 -0
- package/dist/interface/assets/Recordings-D5ta7AYS.js +1 -0
- package/dist/interface/assets/Settings-Cvm2jnBr.js +1 -0
- package/dist/interface/assets/System-fHQ7XKri.js +1 -0
- package/dist/interface/assets/User-5o1VKizc.js +1 -0
- package/dist/interface/assets/VConfigEditor.vue_vue_type_script_setup_true_lang-C_95ELTZ.js +2 -0
- package/dist/interface/assets/VConsole-BHy92Ws0.js +1 -0
- package/dist/interface/assets/VConsole-MV9pQtJj.css +1 -0
- package/dist/interface/assets/{VPlayer-YdRn97Bs.js → VPlayer-LX5HGLrY.js} +1 -1
- package/dist/interface/assets/{VPluginCard--3bx6UJb.js → VPluginCard-CFpg0LM4.js} +2 -2
- package/dist/interface/assets/VPluginCard-Fl0AYmnF.css +1 -0
- package/dist/interface/assets/main-BCWSiwnj.js +9 -0
- package/dist/interface/assets/{main-B3IVLctZ.css → main-CQNVVncO.css} +1 -1
- package/dist/interface/assets/{pinia-D8MtiGcH.js → pinia-CitQ5b66.js} +2 -2
- package/dist/interface/assets/{plugins-Bf03y242.js → plugins-D80RNVmI.js} +1 -1
- package/dist/interface/assets/qrcode-SHonoxyK.js +8 -0
- package/dist/interface/assets/{system-BONnDA4y.js → system-CS_ZOs3_.js} +1 -1
- package/dist/interface/assets/{ui-CNpIJotI.js → ui-CHKoHLl-.js} +1 -1
- package/dist/interface/assets/{v-calendar-uh0aTGqP.js → v-calendar-C-8W4FeM.js} +1 -1
- package/dist/interface/assets/{vee-validate-D3FqbChK.js → vee-validate-Ck3I2guh.js} +1 -1
- package/dist/interface/assets/{vue-i18n-1AU8MPys.js → vue-i18n-DuCDz9TJ.js} +1 -1
- package/dist/interface/assets/{vue-inline-svg-2DDwYW6V.js → vue-inline-svg-C2gR6nRD.js} +1 -1
- package/dist/interface/assets/{vue-router-DfeQ8s4I.js → vue-router-OPGDMnws.js} +1 -1
- package/dist/interface/assets/{vue3-dnd-BwxcSU9Z.js → vue3-dnd-Hf295yge.js} +1 -1
- package/dist/interface/assets/{vue3-toastify-Ul-rf53I.js → vue3-toastify-DQr2dOCx.js} +1 -1
- package/dist/interface/assets/vuetify-CrcT8VHB.js +5 -0
- package/dist/interface/index.html +14 -15
- package/dist/interface/sw.js +1 -1
- package/dist/server/bin/cui-service.d.ts +1 -0
- package/dist/server/bin/cui-service.js +41 -9
- package/dist/server/bin/cui-service.js.map +1 -1
- package/dist/server/package.json +8 -7
- package/dist/server/requirements.txt +2 -3
- package/dist/server/src/api/controllers/cameras.controller.js +2 -2
- package/dist/server/src/api/controllers/cameras.controller.js.map +1 -1
- package/dist/server/src/api/controllers/plugins.controller.js +7 -6
- package/dist/server/src/api/controllers/plugins.controller.js.map +1 -1
- package/dist/server/src/api/go2rtc/api/streams.d.ts +4 -4
- package/dist/server/src/api/go2rtc/api/streams.js +2 -24
- package/dist/server/src/api/go2rtc/api/streams.js.map +1 -1
- package/dist/server/src/api/go2rtc/types.d.ts +6 -2
- package/dist/server/src/api/schemas/go2rtc.schema.d.ts +5 -5
- package/dist/server/src/api/services/cameras.service.d.ts +6 -5
- package/dist/server/src/api/services/cameras.service.js +72 -59
- package/dist/server/src/api/services/cameras.service.js.map +1 -1
- package/dist/server/src/api/services/plugins.service.js +11 -13
- package/dist/server/src/api/services/plugins.service.js.map +1 -1
- package/dist/server/src/api.d.ts +2 -2
- package/dist/server/src/camera/controller.d.ts +9 -4
- package/dist/server/src/camera/controller.js +21 -7
- package/dist/server/src/camera/controller.js.map +1 -1
- package/dist/server/src/camera/device.d.ts +15 -3
- package/dist/server/src/camera/device.js.map +1 -1
- package/dist/server/src/camera/index.d.ts +18 -39
- package/dist/server/src/camera/index.js +137 -165
- package/dist/server/src/camera/index.js.map +1 -1
- package/dist/server/src/camera/interfaces/camera.d.ts +0 -1
- package/dist/server/src/camera/interfaces/camera.js +0 -8
- package/dist/server/src/camera/interfaces/camera.js.map +1 -1
- package/dist/server/src/camera/streaming/werift-session.d.ts +10 -1
- package/dist/server/src/camera/streaming/werift-session.js +16 -1
- package/dist/server/src/camera/streaming/werift-session.js.map +1 -1
- package/dist/server/src/camera/types.d.ts +0 -1
- package/dist/server/src/camera/types.js.map +1 -1
- package/dist/server/src/camera/videoFrame.d.ts +3 -3
- package/dist/server/src/camera/videoFrame.js +6 -7
- package/dist/server/src/camera/videoFrame.js.map +1 -1
- package/dist/server/src/decoder/types.d.ts +4 -9
- package/dist/server/src/decoder/worker.d.ts +3 -5
- package/dist/server/src/decoder/worker.js +40 -64
- package/dist/server/src/decoder/worker.js.map +1 -1
- package/dist/server/src/go2rtc/index.js +1 -1
- package/dist/server/src/go2rtc/index.js.map +1 -1
- package/dist/server/src/index.d.ts +3 -3
- package/dist/server/src/main.js +1 -2
- package/dist/server/src/main.js.map +1 -1
- package/dist/server/src/nats/connection.d.ts +17 -0
- package/dist/server/src/nats/connection.js +66 -0
- package/dist/server/src/nats/connection.js.map +1 -0
- package/dist/server/src/nats/error.d.ts +9 -0
- package/dist/server/src/nats/error.js +11 -0
- package/dist/server/src/nats/error.js.map +1 -0
- package/dist/server/src/nats/index.d.ts +6 -4
- package/dist/server/src/nats/index.js +22 -17
- package/dist/server/src/nats/index.js.map +1 -1
- package/dist/server/src/nats/messageQueue.d.ts +7 -4
- package/dist/server/src/nats/messageQueue.js +43 -59
- package/dist/server/src/nats/messageQueue.js.map +1 -1
- package/dist/server/src/nats/proxy/cameraDevice.js +19 -24
- package/dist/server/src/nats/proxy/cameraDevice.js.map +1 -1
- package/dist/server/src/nats/proxy/deviceManager.d.ts +2 -2
- package/dist/server/src/nats/proxy/deviceManager.js +4 -14
- package/dist/server/src/nats/proxy/deviceManager.js.map +1 -1
- package/dist/server/src/nats/server.js +4 -10
- package/dist/server/src/nats/server.js.map +1 -1
- package/dist/server/src/nats/subscription.d.ts +12 -0
- package/dist/server/src/nats/subscription.js +21 -0
- package/dist/server/src/nats/subscription.js.map +1 -0
- package/dist/server/src/nats/types.d.ts +25 -40
- package/dist/server/src/nats/types.js +1 -10
- package/dist/server/src/nats/types.js.map +1 -1
- package/dist/server/src/nats/utils.d.ts +2 -4
- package/dist/server/src/nats/utils.js +3 -3
- package/dist/server/src/nats/utils.js.map +1 -1
- package/dist/server/src/plugins/index.d.ts +3 -5
- package/dist/server/src/plugins/index.js +54 -141
- package/dist/server/src/plugins/index.js.map +1 -1
- package/dist/server/src/plugins/plugin.d.ts +4 -13
- package/dist/server/src/plugins/plugin.js +40 -90
- package/dist/server/src/plugins/plugin.js.map +1 -1
- package/dist/server/src/plugins/types.d.ts +4 -0
- package/dist/server/src/plugins/types.js.map +1 -1
- package/dist/server/src/plugins/worker.d.ts +1 -1
- package/dist/server/src/plugins/worker.js +52 -66
- package/dist/server/src/plugins/worker.js.map +1 -1
- package/dist/server/src/polyglot/node/decoder/child.js +87 -159
- package/dist/server/src/polyglot/node/decoder/child.js.map +1 -1
- package/dist/server/src/polyglot/node/decoder/imageUtils.d.ts +1 -1
- package/dist/server/src/polyglot/node/plugins/cameraStorage.d.ts +2 -2
- package/dist/server/src/polyglot/node/plugins/cameraStorage.js.map +1 -1
- package/dist/server/src/polyglot/node/plugins/child.d.ts +1 -1
- package/dist/server/src/polyglot/node/plugins/child.js +34 -60
- package/dist/server/src/polyglot/node/plugins/child.js.map +1 -1
- package/dist/server/src/polyglot/node/plugins/{config.js → configService.js} +1 -1
- package/dist/server/src/polyglot/node/plugins/configService.js.map +1 -0
- package/dist/server/src/polyglot/node/plugins/{api.d.ts → pluginApi.d.ts} +9 -12
- package/dist/server/src/polyglot/node/plugins/pluginApi.js +34 -0
- package/dist/server/src/polyglot/node/plugins/pluginApi.js.map +1 -0
- package/dist/server/src/polyglot/node/plugins/{logger.d.ts → pluginLogger.d.ts} +2 -0
- package/dist/server/src/polyglot/node/plugins/pluginLogger.js +89 -0
- package/dist/server/src/polyglot/node/plugins/pluginLogger.js.map +1 -0
- package/dist/server/src/polyglot/node/plugins/proxy/cameraDevice.d.ts +8 -11
- package/dist/server/src/polyglot/node/plugins/proxy/cameraDevice.js +67 -129
- package/dist/server/src/polyglot/node/plugins/proxy/cameraDevice.js.map +1 -1
- package/dist/server/src/polyglot/node/plugins/proxy/deviceManager.d.ts +6 -8
- package/dist/server/src/polyglot/node/plugins/proxy/deviceManager.js +15 -43
- package/dist/server/src/polyglot/node/plugins/proxy/deviceManager.js.map +1 -1
- package/dist/server/src/polyglot/node/plugins/storageController.d.ts +2 -2
- package/dist/server/src/polyglot/node/plugins/storageController.js.map +1 -1
- package/dist/server/src/polyglot/python/camera/interfaces/camera.py +0 -6
- package/dist/server/src/polyglot/python/camera/video_frame.py +10 -18
- package/dist/server/src/polyglot/python/camera_ui_types/__init__.py +1 -5
- package/dist/server/src/polyglot/python/decoder/child.py +102 -161
- package/dist/server/src/polyglot/python/plugins/camera_storage.py +10 -23
- package/dist/server/src/polyglot/python/plugins/child.py +35 -60
- package/dist/server/src/polyglot/python/plugins/{proxy/message_queue.py → message_queue.py} +50 -81
- package/dist/server/src/polyglot/python/plugins/plugin_api.py +13 -21
- package/dist/server/src/polyglot/python/plugins/proxy/camera_device.py +90 -173
- package/dist/server/src/polyglot/python/plugins/proxy/device_manager.py +25 -64
- package/dist/server/src/polyglot/python/plugins/storage_controller.py +3 -4
- package/dist/server/src/polyglot/python/utilities/connection.py +86 -0
- package/dist/server/src/polyglot/python/utilities/object_path.py +12 -4
- package/dist/server/src/polyglot/python/utilities/subscriptions.py +20 -0
- package/dist/server/src/polyglot/python/utilities/task.py +11 -1
- package/dist/server/src/services/config/index.js +4 -2
- package/dist/server/src/services/config/index.js.map +1 -1
- package/dist/server/src/services/logger/index.js +11 -8
- package/dist/server/src/services/logger/index.js.map +1 -1
- package/dist/server/src/utils/ffmpeg.d.ts +2 -0
- package/dist/server/src/{decoder → utils}/ffmpeg.js +2 -2
- package/dist/server/src/utils/ffmpeg.js.map +1 -0
- package/dist/server/src/utils/pythonInstaller.d.ts +1 -1
- package/dist/server/src/utils/pythonInstaller.js +10 -4
- package/dist/server/src/utils/pythonInstaller.js.map +1 -1
- package/dist/server/src/utils/reader.js.map +1 -0
- package/dist/server/src/utils/subscribed.d.ts +4 -4
- package/dist/server/src/utils/subscribed.js.map +1 -1
- package/package.json +8 -7
- package/dist/interface/assets/@camera.ui-2NVnv26v.js +0 -8
- package/dist/interface/assets/Account-gJpkf0nE.js +0 -1
- package/dist/interface/assets/Adminpanel-Bge9nu5N.js +0 -1
- package/dist/interface/assets/Appearance-D22q-X_I.js +0 -1
- package/dist/interface/assets/Backup-pJm6s10G.js +0 -1
- package/dist/interface/assets/Camera-BgO2yRjb.js +0 -1
- package/dist/interface/assets/Cameras-BM3vSM_R.css +0 -1
- package/dist/interface/assets/Cameras-DjeKruR_.js +0 -1
- package/dist/interface/assets/Camview-DfzlprzN.js +0 -1
- package/dist/interface/assets/Config-BKIOIkjC.js +0 -1
- package/dist/interface/assets/FirstSteps-mQK4XFTs.js +0 -1
- package/dist/interface/assets/Plugin-Di_bBsg-.js +0 -1
- package/dist/interface/assets/Plugins-BsMITags.css +0 -1
- package/dist/interface/assets/Plugins-DhmzMNuO.js +0 -1
- package/dist/interface/assets/Recordings-Bu53bSBp.js +0 -1
- package/dist/interface/assets/Recordings-XY20w8yp.js +0 -1
- package/dist/interface/assets/Settings-gGRBRVST.js +0 -1
- package/dist/interface/assets/System-ZDrcLNk0.js +0 -1
- package/dist/interface/assets/User-D4vEhhzi.js +0 -1
- package/dist/interface/assets/VConfigEditor.vue_vue_type_script_setup_true_lang-CXFI-IeE.js +0 -2
- package/dist/interface/assets/VConsole-BHo3xprq.js +0 -1
- package/dist/interface/assets/VConsole-f-nUkOuD.css +0 -1
- package/dist/interface/assets/VPluginCard-BJYMuCLk.css +0 -1
- package/dist/interface/assets/encode-utf8-Cn5aGd7v.js +0 -1
- package/dist/interface/assets/main-C4rYiRNz.js +0 -2
- package/dist/interface/assets/qrcode-CGiDONbL.js +0 -8
- package/dist/interface/assets/vuetify-_-Oqac3B.js +0 -5
- package/dist/server/src/decoder/ffmpeg.d.ts +0 -2
- package/dist/server/src/decoder/ffmpeg.js.map +0 -1
- package/dist/server/src/nats/proxy/index.d.ts +0 -2
- package/dist/server/src/nats/proxy/index.js +0 -3
- package/dist/server/src/nats/proxy/index.js.map +0 -1
- package/dist/server/src/polyglot/node/decoder/reader.js.map +0 -1
- package/dist/server/src/polyglot/node/plugins/api.js +0 -34
- package/dist/server/src/polyglot/node/plugins/api.js.map +0 -1
- package/dist/server/src/polyglot/node/plugins/config.js.map +0 -1
- package/dist/server/src/polyglot/node/plugins/logger.js +0 -128
- package/dist/server/src/polyglot/node/plugins/logger.js.map +0 -1
- package/dist/server/src/polyglot/node/plugins/proxy/index.d.ts +0 -2
- package/dist/server/src/polyglot/node/plugins/proxy/index.js +0 -3
- package/dist/server/src/polyglot/node/plugins/proxy/index.js.map +0 -1
- package/dist/server/src/polyglot/node/plugins/proxy/messageQueue.d.ts +0 -20
- package/dist/server/src/polyglot/node/plugins/proxy/messageQueue.js +0 -152
- package/dist/server/src/polyglot/node/plugins/proxy/messageQueue.js.map +0 -1
- /package/dist/server/src/polyglot/node/plugins/{config.d.ts → configService.d.ts} +0 -0
- /package/dist/server/src/polyglot/python/plugins/{logger.py → plugin_logger.py} +0 -0
- /package/dist/server/src/{polyglot/node/decoder → utils}/reader.d.ts +0 -0
- /package/dist/server/src/{polyglot/node/decoder → utils}/reader.js +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/FirstSteps-mQK4XFTs.js","assets/@vue-C7-KaDG4.js","assets/@mdi-C-QA1nE3.js","assets/vee-validate-D3FqbChK.js","assets/vue-inline-svg-2DDwYW6V.js","assets/vue-router-DfeQ8s4I.js","assets/pinia-D8MtiGcH.js","assets/vuetify-_-Oqac3B.js","assets/vuetify-B__3Y-at.css","assets/vue3-toastify-Ul-rf53I.js","assets/vue3-toastify-DTY1DMRs.css","assets/vue-i18n-1AU8MPys.js","assets/@intlify-Ck2ZoCVz.js","assets/axios--Jv2L996.js","assets/@tanstack-BqH4GyO-.js","assets/@camera.ui-2NVnv26v.js","assets/@vueuse-C3WMTDqL.js","assets/nprogress-DSyAi0LF.js","assets/@xterm-B4Ga69iL.js","assets/@xterm-CGrrDQr5.css","assets/@vee-validate-DCBdnGo-.js","assets/zod-BaF2dDCd.js","assets/uuid-DvF23Exx.js","assets/socket.io-client-Bq_SHkin.js","assets/engine.io-client-DBBxzneW.js","assets/engine.io-parser-BiEtp6m2.js","assets/@socket.io-Dkula2eQ.js","assets/socket.io-parser-BBkuslX-.js","assets/rxjs-B53o3e_J.js","assets/tslib-9k7AwCpt.js","assets/v-calendar-uh0aTGqP.js","assets/@popperjs-BQBsAJpH.js","assets/v-calendar-CtSuDYZU.css","assets/FirstSteps-DNHhyDSw.css","assets/Cameras-DjeKruR_.js","assets/VPlayer-YdRn97Bs.js","assets/qrcode-CGiDONbL.js","assets/encode-utf8-Cn5aGd7v.js","assets/dijkstrajs-D_NXgYpA.js","assets/plugins-Bf03y242.js","assets/draggabilly-Arakw9Dk.js","assets/get-size-D1dS-IaP.js","assets/unidragger-BYtqgAQ0.js","assets/ev-emitter-CXYwG0eJ.js","assets/VPlayer-D3KhRfx-.css","assets/utils-BvINh1mj.js","assets/Cameras-BM3vSM_R.css","assets/Camera-BgO2yRjb.js","assets/Camera-CWiLco3W.css","assets/Camview-DfzlprzN.js","assets/react-dnd-html5-backend-1HQjlkwI.js","assets/react-dnd-touch-backend-NgACaG8W.js","assets/@react-dnd-CcwRs9xb.js","assets/vue3-dnd-BwxcSU9Z.js","assets/dnd-core-SnWOpY0X.js","assets/redux-CuxFRhX_.js","assets/fast-deep-equal-5pvsDbwX.js","assets/ui-CNpIJotI.js","assets/Camview-vUAs5YHU.css","assets/NewCamera-B9t-0NCc.js","assets/highlight.js-TxRCSjhv.js","assets/highlight-DgoK_Xib.css","assets/markdown-it-DI8MEbma.js","assets/mdurl-k9Sl0PQj.js","assets/uc.micro-kMc2yuuw.js","assets/entities-C20TfXL6.js","assets/linkify-it-DmNjr4Kv.js","assets/punycode.js-Dj65hjkv.js","assets/NewCamera-CHMgUDbC.css","assets/Recordings-XY20w8yp.js","assets/Config-BKIOIkjC.js","assets/VConfigEditor.vue_vue_type_script_setup_true_lang-CXFI-IeE.js","assets/ace-builds-CigWTak4.js","assets/system-BONnDA4y.js","assets/Config-DAiKsG7W.css","assets/Console-Caz7y-T0.js","assets/VConsole-BHo3xprq.js","assets/VConsole-f-nUkOuD.css","assets/Console-BsyX2S3R.css","assets/Plugins-DhmzMNuO.js","assets/VPluginCard--3bx6UJb.js","assets/@vueform-arggO0eF.js","assets/@vueform-h7tNX9p6.css","assets/VPluginCard-BJYMuCLk.css","assets/Plugins-BsMITags.css","assets/Plugin-Di_bBsg-.js","assets/Plugin-BSHKKjrl.css","assets/Adminpanel-Bge9nu5N.js","assets/Adminpanel-B_SY1GJM.css","assets/Settings-gGRBRVST.js","assets/Settings-JES2wb8p.css","assets/Account-gJpkf0nE.js","assets/Account-B_tHnXoX.css","assets/Appearance-D22q-X_I.js","assets/User-D4vEhhzi.js","assets/User-BXColIbU.css","assets/Recordings-Bu53bSBp.js","assets/Backup-pJm6s10G.js","assets/Backup-DBv9xFPh.css","assets/System-ZDrcLNk0.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
var $t=Object.defineProperty;var Vt=(e,n,t)=>n in e?$t(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t;var ce=(e,n,t)=>Vt(e,typeof n!="symbol"?n+"":n,t);import{I as Ln}from"./vue-inline-svg-2DDwYW6V.js";import{i as W,f as Lt,c as At}from"./vue3-toastify-Ul-rf53I.js";import{c as Bt,u as Pt}from"./vue-i18n-1AU8MPys.js";import{a as Ht,A as mn}from"./axios--Jv2L996.js";import{u as Le,a as se,b as q,Q as Et,V as Zt}from"./@tanstack-BqH4GyO-.js";import{r as V,u as a,E as Tt,a as It,b as An,w as R,i as ge,H as Dt,ag as Nt,I as Ot,F as J,t as te,y as he,U as Bn,e as h,f as C,M as p,j as d,T as x,O as j,R as g,X as F,c as H,n as le,l as T,q as ne,V as E,ah as Oe,ai as je,a0 as Fe,m as pe,N as fe,Q as we,W as de,z as Pn,aa as Ae,aj as dn,ak as jt,k as Ft,al as Rt,J as Hn,g as qt,am as Ut,S as Kt,an as En,a4 as Wt}from"./@vue-C7-KaDG4.js";import{g as Gt}from"./@camera.ui-2NVnv26v.js";import{d as Be,s as ue,c as Qt}from"./pinia-D8MtiGcH.js";import{u as me,a as Re,c as Jt,b as Xt}from"./vue-router-DfeQ8s4I.js";import{u as Zn,a as Yt,c as Tn,b as er,d as nr,e as In,r as _n,f as Ee,g as tr,h as Dn,i as rr,j as or,k as ar,o as ir}from"./@vueuse-C3WMTDqL.js";import{V as sr,a as zn,b as X,c as pn,d as lr,e as D,f as ee,u as cr,g as ur,h as mr,i as Nn,j as ye,k as dr,l as _r,m as gn,n as ke,o as On,p as zr,q as pr,r as gr,s as fr,t as hr,v as vr}from"./vuetify-_-Oqac3B.js";import{m as br,a as wr,b as yr,c as kr,d as Cr,e as xr,f as fn,g as jn,h as Fn,i as Rn,j as qn,k as Sr,l as Mr,n as $r,o as Vr,p as Lr,q as Ar,r as Br,s as Un,t as hn,u as Pr,v as Hr,w as Er,x as Zr,y as Tr,z as Ir,A as Dr,B as Nr,C as Or,D as jr}from"./@mdi-C-QA1nE3.js";import{F as Ze,a as Fr}from"./vee-validate-D3FqbChK.js";import{t as Pe}from"./@vee-validate-DCBdnGo-.js";import{z as r}from"./zod-BaF2dDCd.js";import{v as K}from"./uuid-DvF23Exx.js";import{M as Rr}from"./socket.io-client-Bq_SHkin.js";import{S as vn,O as qr,i as Ur}from"./rxjs-B53o3e_J.js";import{s as Kr}from"./v-calendar-uh0aTGqP.js";import"./@intlify-Ck2ZoCVz.js";import"./nprogress-DSyAi0LF.js";import"./@xterm-B4Ga69iL.js";import"./engine.io-client-DBBxzneW.js";import"./engine.io-parser-BiEtp6m2.js";import"./@socket.io-Dkula2eQ.js";import"./socket.io-parser-BBkuslX-.js";import"./tslib-9k7AwCpt.js";import"./@popperjs-BQBsAJpH.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))o(i);new MutationObserver(i=>{for(const c of i)if(c.type==="childList")for(const m of c.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&o(m)}).observe(document,{childList:!0,subtree:!0});function t(i){const c={};return i.integrity&&(c.integrity=i.integrity),i.referrerPolicy&&(c.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?c.credentials="include":i.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function o(i){if(i.ep)return;i.ep=!0;const c=t(i);fetch(i.href,c)}})();const Wr=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Gr=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Qr=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Jr=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Xr=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Yr=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),eo=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),no="/assets/logo-512-DLKVOU2S.png",to=Object.freeze(Object.defineProperty({__proto__:null,default:no},Symbol.toStringTag,{value:"Module"})),qe="/assets/logo-256-BCQk9H1-.png",ro=Object.freeze(Object.defineProperty({__proto__:null,default:qe},Symbol.toStringTag,{value:"Module"})),oo="/assets/logo-512-DLKVOU2S.png",ao=Object.freeze(Object.defineProperty({__proto__:null,default:oo},Symbol.toStringTag,{value:"Module"})),io="/assets/logo-DmEiRk0z.png",so=Object.freeze(Object.defineProperty({__proto__:null,default:io},Symbol.toStringTag,{value:"Module"})),lo="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%20233.63%20233.63'%3e%3cdefs%3e%3cstyle%3e.cls-1{fill:url(%23dark_wine);}.cls-2{fill:url(%23light_wine);}.cls-3{fill:none;stroke:%23000;stroke-miterlimit:10;opacity:0;}.cls-4{fill:%23c5c6c8;}.cls-5{fill:%231a1e21;stroke:%233a3a3a;stroke-width:2px;}.cls-6{fill:%23fff;}%3c/style%3e%3clinearGradient%20id='dark_wine'%20x1='87.36'%20y1='158.67'%20x2='87.36'%20y2='59.85'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23730000'/%3e%3cstop%20offset='0.49'%20stop-color='%23a51733'/%3e%3c/linearGradient%3e%3clinearGradient%20id='light_wine'%20x1='113.06'%20y1='197.59'%20x2='113.06'%20y2='80.87'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23f44a6b'/%3e%3cstop%20offset='0.28'%20stop-color='%23df294c'/%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='CameraUI_U'%3e%3cpath%20id='U_Left'%20class='cls-1'%20d='M47.05,119.47s7.58,16,14.12,23.42a45.28,45.28,0,0,0,16.37,11.86A49.46,49.46,0,0,0,99,158.62c9.43-.46,20.55-3.87,29.24-11.86-3.9,2.5-9.87,5.1-15.9,4.77a25.63,25.63,0,0,1-18.38-9.09c-9.39-10.31-7.62-28.35-7.75-32.68-.35-11.42.77-21.92-1.76-36.19-.46-2.64-1.79-5.19-4.55-8-1.83-1.86-8.4-5.75-13.42-5.74-7.31,0-12.95,3.71-15.38,7.84-2,3.41-3.06,4.22-4.23,25.08a217.23,217.23,0,0,0,.22,26.76Z'%20transform='translate(0.5%200.5)'/%3e%3cpath%20id='U_Right'%20class='cls-2'%20d='M144.12,89.6a16.24,16.24,0,0,1,4.06-4.9c4.16-3.4,9-3.67,10.92-3.82a19.7,19.7,0,0,1,12.53,4.58c1.19,1,6.11,5.58,7.13,17.29.73,8.51,3.31,65.93-37,87.14-4.22,2.22-18,9.25-35.66,7.38a62.43,62.43,0,0,1-20.8-6.11,65.8,65.8,0,0,1-18.89-14.23c-20.21-21.67-19.36-57.46-19.36-57.46s7.58,16,14.12,23.42a45.28,45.28,0,0,0,16.37,11.86A49.46,49.46,0,0,0,99,158.62c11.66-.57,25.93-5.64,35-18.32C143.52,126.8,138.46,100.51,144.12,89.6Z'%20transform='translate(0.5%200.5)'/%3e%3c/g%3e%3cg%20id='CameraUI_Lens'%3e%3ccircle%20id='ellipse'%20class='cls-3'%20cx='116.81'%20cy='116.81'%20r='116.31'/%3e%3cg%20id='lens'%3e%3ccircle%20id='lens_bg'%20class='cls-4'%20cx='159.13'%20cy='58.39'%20r='18.66'/%3e%3cpath%20id='lens_inner'%20class='cls-5'%20d='M169.64,58.31a11,11,0,1,1-22,0c0-6.08,4.93-11.86,11-11.86S169.64,52.23,169.64,58.31Z'%20transform='translate(0.5%200.5)'/%3e%3cg%20id='reflections'%3e%3cellipse%20id='dot_1'%20class='cls-6'%20cx='174.36'%20cy='53.69'%20rx='1.84'%20ry='1.42'/%3e%3cellipse%20id='dot_2'%20class='cls-6'%20cx='174.36'%20cy='57.08'%20rx='1.84'%20ry='1.42'/%3e%3cellipse%20id='dot_3'%20class='cls-6'%20cx='174.36'%20cy='60.46'%20rx='1.84'%20ry='1.42'/%3e%3ccircle%20id='dot_4'%20class='cls-6'%20cx='164.09'%20cy='63.77'%20r='1.66'/%3e%3cpath%20id='wide_1'%20class='cls-6'%20d='M156.63,48.9c-1.07-.88-5.52,3.09-6.31,5.43a1.53,1.53,0,0,0,0,1.26c.43.69,1.73.61,2.19.54,2.68-.44,4.71-4.09,4.8-4.37A3.21,3.21,0,0,0,156.63,48.9Z'%20transform='translate(0.5%200.5)'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",co=Object.freeze(Object.defineProperty({__proto__:null,default:lo},Symbol.toStringTag,{value:"Module"})),uo="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%20132.55%20158.35'%20width='132.5500030517578'%20height='158.35000610351562'%3e%3cdefs%3e%3cstyle%3e.cls-2-1{fill:url(%23dark_wine);}.cls-2-2{fill:url(%23light_wine);}.cls-2-3{fill:%23c5c6c8;}.cls-2-4{fill:%231a1e21;stroke:%233a3a3a;stroke-width:2px;}.cls-2-5{fill:%23fff;}%3c/style%3e%3clinearGradient%20id='dark_wine'%20x1='45.89'%20y1='124.26'%20x2='45.89'%20y2='25.44'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23730000'%3e%3c/stop%3e%3cstop%20offset='0.49'%20stop-color='%23a51733'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='light_wine'%20x1='71.59'%20y1='163.18'%20x2='71.59'%20y2='46.47'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23f44a6b'%3e%3c/stop%3e%3cstop%20offset='0.28'%20stop-color='%23df294c'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='CameraUI_U'%3e%3cpath%20id='U_Left'%20class='cls-2-1%20svg-elem-1'%20d='M5.58,85.06s7.58,16,14.12,23.42a45.28,45.28,0,0,0,16.37,11.86,49.46,49.46,0,0,0,21.42,3.87c9.43-.46,20.55-3.87,29.24-11.86-3.9,2.5-9.87,5.1-15.9,4.77A25.68,25.68,0,0,1,52.44,108c-9.38-10.31-7.61-28.35-7.74-32.68-.35-11.42.77-21.92-1.76-36.19-.46-2.64-1.79-5.19-4.55-8C36.55,29.33,30,25.43,25,25.44c-7.31,0-12.95,3.72-15.38,7.84-2,3.41-3.07,4.22-4.23,25.08a217.23,217.23,0,0,0,.22,26.76Z'%20transform='translate(-5.05%20-4.82)'%3e%3c/path%3e%3cpath%20id='U_Right'%20class='cls-2-2%20svg-elem-2'%20d='M102.65,55.19a16.24,16.24,0,0,1,4.06-4.9c4.16-3.4,9-3.67,10.92-3.82a19.7,19.7,0,0,1,12.53,4.58c1.19,1,6.11,5.58,7.12,17.29.74,8.51,3.32,65.93-37,87.14-4.22,2.22-18,9.26-35.66,7.38a62.43,62.43,0,0,1-20.8-6.11,65.8,65.8,0,0,1-18.89-14.23C4.73,120.85,5.58,85.06,5.58,85.06s7.58,16,14.12,23.42a45.28,45.28,0,0,0,16.37,11.86,49.46,49.46,0,0,0,21.42,3.87c11.66-.57,25.93-5.64,35-18.32C102.05,92.39,97,66.1,102.65,55.19Z'%20transform='translate(-5.05%20-4.82)'%3e%3c/path%3e%3c/g%3e%3cg%20id='CameraUI_Lens'%3e%3ccircle%20id='lens_bg'%20class='cls-2-3%20svg-elem-3'%20cx='112.11'%20cy='18.66'%20r='18.66'%3e%3c/circle%3e%3cpath%20id='lens_inner'%20class='cls-2-4%20svg-elem-4'%20d='M128.17,23.9a11,11,0,1,1-22,0c0-6.08,4.93-11.86,11-11.86S128.17,17.82,128.17,23.9Z'%20transform='translate(-5.05%20-4.82)'%3e%3c/path%3e%3cg%20id='reflections'%3e%3cellipse%20id='dot_1'%20class='cls-2-5%20svg-elem-5'%20cx='127.34'%20cy='13.96'%20rx='1.84'%20ry='1.42'%3e%3c/ellipse%3e%3cellipse%20id='dot_2'%20class='cls-2-5%20svg-elem-6'%20cx='127.34'%20cy='17.34'%20rx='1.84'%20ry='1.42'%3e%3c/ellipse%3e%3cellipse%20id='dot_3'%20class='cls-2-5%20svg-elem-7'%20cx='127.34'%20cy='20.73'%20rx='1.84'%20ry='1.42'%3e%3c/ellipse%3e%3ccircle%20id='dot_4'%20class='cls-2-5%20svg-elem-8'%20cx='117.07'%20cy='24.04'%20r='1.66'%3e%3c/circle%3e%3cpath%20id='wide_1'%20class='cls-2-5%20svg-elem-9'%20d='M115.16,14.49c-1.07-.88-5.52,3.09-6.31,5.43a1.53,1.53,0,0,0,0,1.26c.43.69,1.73.61,2.18.54,2.69-.44,4.72-4.09,4.81-4.37A3.21,3.21,0,0,0,115.16,14.49Z'%20transform='translate(-5.05%20-4.82)'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",mo=Object.freeze(Object.defineProperty({__proto__:null,default:uo},Symbol.toStringTag,{value:"Module"})),_o="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='-40%20-30%20300%20300'%3e%3cdefs%3e%3cstyle%3e.cls-3-1%20{fill:%20url(%23dark_wine);}%20.cls-3-2%20{fill:%20url(%23light_wine);}%20.cls-3-3%20{fill:%20none;stroke:%20%23000;stroke-miterlimit:%2010;opacity:%200;}%20.cls-3-4%20{fill:%20%23c5c6c8;}%20.cls-3-5%20{fill:%20%231a1e21;stroke:%20%233a3a3a;stroke-width:%202px;}%20.cls-3-6%20{fill:%20%23fff;}%3c/style%3e%3clinearGradient%20id='dark_wine'%20x1='220.57'%20y1='310.8'%20x2='220.57'%20y2='211.98'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23730000'%20/%3e%3cstop%20offset='0.49'%20stop-color='%23a51733'%20/%3e%3c/linearGradient%3e%3clinearGradient%20id='light_wine'%20x1='246.27'%20y1='349.71'%20x2='246.27'%20y2='233'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23f44a6b'%20/%3e%3cstop%20offset='0.28'%20stop-color='%23df294c'%20/%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='CameraUI_U'%20class='cameraLetter'%3e%3cpath%20id='U_Left'%20class='cls-3-1'%20d='M180.26,271.6s7.57,16,14.11,23.42a45.43,45.43,0,0,0,16.38,11.86,49.46,49.46,0,0,0,21.42,3.87c9.42-.46,20.55-3.87,29.24-11.86-3.9,2.5-9.87,5.1-15.9,4.77a25.66,25.66,0,0,1-18.39-9.09c-9.38-10.31-7.61-28.35-7.74-32.68-.35-11.43.77-21.92-1.76-36.2-.47-2.63-1.79-5.18-4.55-8-1.84-1.86-8.41-5.75-13.43-5.74-7.3,0-12.94,3.71-15.38,7.84-2,3.41-3.06,4.22-4.22,25.08a215.27,215.27,0,0,0,.22,26.76Z'%20transform='translate(-132.71%20-151.63)'%20/%3e%3cpath%20id='U_Right'%20class='cls-3-2'%20d='M277.33,241.73a16.41,16.41,0,0,1,4.05-4.91c4.17-3.39,9-3.66,10.92-3.81a19.67,19.67,0,0,1,12.53,4.58c1.2,1,6.12,5.58,7.13,17.29.74,8.51,3.31,65.93-37,87.13-4.23,2.22-18,9.26-35.67,7.39a62.35,62.35,0,0,1-20.79-6.11,65.68,65.68,0,0,1-18.9-14.24c-20.2-21.66-19.35-57.45-19.35-57.45s7.57,16,14.11,23.42a45.43,45.43,0,0,0,16.38,11.86,49.46,49.46,0,0,0,21.42,3.87c11.66-.57,25.92-5.64,35-18.33C276.73,278.93,271.67,252.64,277.33,241.73Z'%20transform='translate(-132.71%20-151.63)'%20/%3e%3c/g%3e%3cg%20id='CameraUI_Lens'%3e%3cg%20id='lens'%20class='cameraLens'%3e%3ccircle%20id='lens_bg'%20class='cls-3-4'%20cx='159.13'%20cy='58.39'%20r='18.66'%20/%3e%3cpath%20id='lens_inner'%20class='cls-3-5'%20d='M302.85,210.44a11,11,0,1,1-22,0c0-6.08,4.93-11.86,11-11.86S302.85,204.36,302.85,210.44Z'%20transform='translate(-132.71%20-151.63)'%20/%3e%3cg%20id='reflections'%3e%3cellipse%20id='dot_1'%20class='cls-3-6'%20cx='174.36'%20cy='53.69'%20rx='1.84'%20ry='1.42'%20/%3e%3cellipse%20id='dot_2'%20class='cls-3-6'%20cx='174.36'%20cy='57.08'%20rx='1.84'%20ry='1.42'%20/%3e%3cellipse%20id='dot_3'%20class='cls-3-6'%20cx='174.36'%20cy='60.46'%20rx='1.84'%20ry='1.42'%20/%3e%3ccircle%20id='dot_4'%20class='cls-3-6'%20cx='164.09'%20cy='63.77'%20r='1.66'%20/%3e%3cpath%20id='wide_1'%20class='cls-3-6'%20d='M289.83,201c-1.07-.88-5.52,3.09-6.3,5.43a1.52,1.52,0,0,0,0,1.26c.43.69,1.72.61,2.18.53,2.68-.43,4.72-4.08,4.8-4.36A3.18,3.18,0,0,0,289.83,201Z'%20transform='translate(-132.71%20-151.63)'%20/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",zo=Object.freeze(Object.defineProperty({__proto__:null,default:_o},Symbol.toStringTag,{value:"Module"})),Te=e=>e&&typeof e=="object"&&!Array.isArray(e),De=(e,...n)=>{if(!n.length)return e;const t=n.shift();if(Te(e)&&Te(t))for(const o in t)Te(t[o])?(e[o]||Object.assign(e,{[o]:{}}),De(e[o],t[o])):Object.assign(e,{[o]:t[o]});return De(e,...n)},po=De({},{de:{$vuetify:{badge:e=>{const{normalize:n}=e;return n(["Abzeichen"])},calendar:{moreEvents:e=>{const{normalize:n,interpolate:t,list:o}=e;return n([t(o(0))," mehr"])}},carousel:{ariaLabel:{delimiter:e=>{const{normalize:n,interpolate:t,list:o}=e;return n(["Karussellbild ",t(o(0))," von ",t(o(1))])}},next:e=>{const{normalize:n}=e;return n(["Nächstes Bild"])},prev:e=>{const{normalize:n}=e;return n(["Vorheriges Bild"])}},close:e=>{const{normalize:n}=e;return n(["Schließen"])},dataFooter:{firstPage:e=>{const{normalize:n}=e;return n(["Erste Seite"])},itemsPerPageAll:e=>{const{normalize:n}=e;return n(["Alle"])},itemsPerPageText:e=>{const{normalize:n}=e;return n(["Elemente pro Seite:"])},lastPage:e=>{const{normalize:n}=e;return n(["Letzte Seite"])},nextPage:e=>{const{normalize:n}=e;return n(["Nächste Seite"])},pageText:e=>{const{normalize:n,interpolate:t,list:o}=e;return n([t(o(0)),"-",t(o(1))," von ",t(o(2))])},prevPage:e=>{const{normalize:n}=e;return n(["Vorherige Seite"])}},dataIterator:{loadingText:e=>{const{normalize:n}=e;return n(["Elemente werden geladen..."])},noResultsText:e=>{const{normalize:n}=e;return n(["Keine passenden Einträge gefunden"])}},dataTable:{ariaLabel:{activateAscending:e=>{const{normalize:n}=e;return n(["Aktivieren, um aufsteigend zu sortieren."])},activateDescending:e=>{const{normalize:n}=e;return n(["Aktivieren, um absteigend zu sortieren."])},activateNone:e=>{const{normalize:n}=e;return n(["Aktivieren, um Sortierung zu entfernen."])},sortAscending:e=>{const{normalize:n}=e;return n(["Aufsteigend sortiert."])},sortDescending:e=>{const{normalize:n}=e;return n(["Absteigend sortiert."])},sortNone:e=>{const{normalize:n}=e;return n(["Nicht sortiert."])}},itemsPerPageText:e=>{const{normalize:n}=e;return n(["Zeilen pro Seite:"])},sortBy:e=>{const{normalize:n}=e;return n(["Sortieren nach"])}},datePicker:{cancel:e=>{const{normalize:n}=e;return n(["Abbrechen"])},header:e=>{const{normalize:n}=e;return n(["Datum eingeben"])},input:{placeholder:e=>{const{normalize:n}=e;return n(["Datum eingeben"])}},ok:e=>{const{normalize:n}=e;return n(["OK"])},range:{header:e=>{const{normalize:n}=e;return n(["Daten eingeben"])},title:e=>{const{normalize:n}=e;return n(["Daten auswählen"])}},title:e=>{const{normalize:n}=e;return n(["Datum auswählen"])}},dateRangeInput:{divider:e=>{const{normalize:n}=e;return n(["bis"])}},fileInput:{counter:e=>{const{normalize:n,interpolate:t,list:o}=e;return n([t(o(0))," Dateien"])},counterSize:e=>{const{normalize:n,interpolate:t,list:o}=e;return n([t(o(0))," Dateien (",t(o(1))," insgesamt)"])}},infiniteScroll:{empty:e=>{const{normalize:n}=e;return n(["Nichts mehr"])},loadMore:e=>{const{normalize:n}=e;return n(["Mehr laden"])}},input:{appendAction:e=>{const{normalize:n,interpolate:t,list:o}=e;return n([t(o(0))," angehängte Aktion"])},clear:e=>{const{normalize:n,interpolate:t,list:o}=e;return n([t(o(0))," löschen"])},otp:e=>{const{normalize:n,interpolate:t,list:o}=e;return n(["Bitte OTP-Zeichen ",t(o(0))," eingeben"])},prependAction:e=>{const{normalize:n,interpolate:t,list:o}=e;return n([t(o(0))," vorangestellte Aktion"])}},loading:e=>{const{normalize:n}=e;return n(["Laden..."])},noDataText:e=>{const{normalize:n}=e;return n(["Keine Daten verfügbar"])},open:e=>{const{normalize:n}=e;return n(["Öffnen"])},pagination:{ariaLabel:{currentPage:e=>{const{normalize:n,interpolate:t,list:o}=e;return n(["Seite ",t(o(0)),", aktuelle Seite"])},first:e=>{const{normalize:n}=e;return n(["Erste Seite"])},last:e=>{const{normalize:n}=e;return n(["Letzte Seite"])},next:e=>{const{normalize:n}=e;return n(["Nächste Seite"])},page:e=>{const{normalize:n,interpolate:t,list:o}=e;return n(["Gehe zu Seite ",t(o(0))])},previous:e=>{const{normalize:n}=e;return n(["Vorherige Seite"])},root:e=>{const{normalize:n}=e;return n(["Seitennavigation"])}}},rating:{ariaLabel:{item:e=>{const{normalize:n,interpolate:t,list:o}=e;return n(["Bewertung ",t(o(0))," von ",t(o(1))])}}},stepper:{next:e=>{const{normalize:n}=e;return n(["Weiter"])},prev:e=>{const{normalize:n}=e;return n(["Zurück"])}},timePicker:{am:e=>{const{normalize:n}=e;return n(["Vormittags"])},pm:e=>{const{normalize:n}=e;return n(["Nachmittags"])}}},components:{camera_draggable:{no_cameras:e=>{const{normalize:n}=e;return n(["Keine Kameras verfügbar"])}},camera_events:{no_events:e=>{const{normalize:n}=e;return n(["Keine Ereignisse verfügbar"])}},camera_options:{activity_detection:e=>{const{normalize:n}=e;return n(["Aktivitätserkennung"])},activity_zones:e=>{const{normalize:n}=e;return n(["Aktivitätszonen"])},builtin_extensions:e=>{const{normalize:n}=e;return n(["Eingebaute Erweiterungen"])},categories:e=>{const{normalize:n}=e;return n(["Kategorien"])},chip_audioDetection:e=>{const{normalize:n}=e;return n(["Geräuscherkennung"])},chip_extensions:e=>{const{normalize:n}=e;return n(["Erweiterungen"])},chip_hub:e=>{const{normalize:n}=e;return n(["Hub"])},chip_motionDetection:e=>{const{normalize:n}=e;return n(["Bewegungserkennung"])},chip_objectDetection:e=>{const{normalize:n}=e;return n(["Objekterkennung"])},chip_prebuffer:e=>{const{normalize:n}=e;return n(["Prebuffer"])},chip_ptz:e=>{const{normalize:n}=e;return n(["PTZ"])},details:e=>{const{normalize:n}=e;return n(["Details"])},enabled_extension:e=>{const{normalize:n}=e;return n(["Aktivierte Erweiterung"])},extensions:e=>{const{normalize:n}=e;return n(["Erweiterungen"])},extension_settings:e=>{const{normalize:n}=e;return n(["Erweiterungseinstellungen"])},frame_worker_settings:e=>{const{normalize:n}=e;return n(["Frame Worker Einstellungen"])},information:e=>{const{normalize:n}=e;return n(["Information"])},interface:e=>{const{normalize:n}=e;return n(["Interface"])},last_motion:e=>{const{normalize:n}=e;return n(["Letzte Bewegung"])},last_object:e=>{const{normalize:n}=e;return n(["Letztes Objekt"])},last_audio:e=>{const{normalize:n}=e;return n(["Letztes Geräusch"])},model:e=>{const{normalize:n}=e;return n(["Modell"])},motion_detection_settings:e=>{const{normalize:n}=e;return n(["Bewegungserkennung Einstellung"])},name:e=>{const{normalize:n}=e;return n(["Name"])},native:e=>{const{normalize:n}=e;return n(["Nativ"])},no_config:e=>{const{normalize:n}=e;return n(["Keine Konfiguration verfügbar"])},no_extensions_enabled:e=>{const{normalize:n}=e;return n(["Keine Erweiterungen aktiviert"])},no_zones:e=>{const{normalize:n}=e;return n(["Keine Zonen verfügbar"])},object_detection_settings:e=>{const{normalize:n}=e;return n(["Objekterkennung Einstellung"])},plugin:e=>{const{normalize:n}=e;return n(["Plugin"])},recordings:e=>{const{normalize:n}=e;return n(["Aufnahmeeinstellungen"])},settings:e=>{const{normalize:n}=e;return n(["Einstellungen"])},source:e=>{const{normalize:n}=e;return n(["Quelle"])},streaming_mode:e=>{const{normalize:n}=e;return n(["Streaming Modus"])},unknown:e=>{const{normalize:n}=e;return n(["Unbekannt"])},zones:e=>{const{normalize:n}=e;return n(["Zonen"])}},detection_interface:{audio_detected:e=>{const{normalize:n}=e;return n(["Audio erkannt"])},audio_not_detected:e=>{const{normalize:n}=e;return n(["Audio nicht erkannt"])},audio_required:e=>{const{normalize:n}=e;return n(["Audio Datei erforderlich"])},detect_audio:e=>{const{normalize:n}=e;return n(["Audio erkennen"])},detect_motion:e=>{const{normalize:n}=e;return n(["Bewegung erkennen"])},detect_objects:e=>{const{normalize:n}=e;return n(["Objekte erkennen"])},drop_or_select_audio_to_detect:e=>{const{normalize:n}=e;return n(["Audio ablegen oder auswählen, um Geräusche zu erkennen"])},drop_or_select_image_to_detect_objects:e=>{const{normalize:n}=e;return n(["Bild ablegen oder auswählen, um Objekte zu erkennen"])},drop_or_select_video_to_detect_motion:e=>{const{normalize:n}=e;return n(["Video ablegen oder auswählen, um Bewegung zu erkennen"])},file_size_error:e=>{const{normalize:n}=e;return n(["Dateigröße zu groß"])},image_required:e=>{const{normalize:n}=e;return n(["Image required"])},interface_config:e=>{const{normalize:n}=e;return n(["Interface-Konfiguration"])},no_interface_config:e=>{const{normalize:n}=e;return n(["Keine Interface-Konfiguration verfügbar"])},only_one_audio_allowed:e=>{const{normalize:n}=e;return n(["Es ist nur ein Audio erlaubt"])},only_one_image_allowed:e=>{const{normalize:n}=e;return n(["Es ist nur ein Bild erlaubt"])},only_one_video_allowed:e=>{const{normalize:n}=e;return n(["Es ist nur ein Video erlaubt"])},video_required:e=>{const{normalize:n}=e;return n(["Video required"])}},dialog:{message:{confirm_clear_log:e=>{const{normalize:n}=e;return n(["Sind Sie sicher, dass Sie das Protokoll löschen möchten?"])},confirm_remove:e=>{const{normalize:n}=e;return n(["Sind Sie sicher, dass Sie diese Kamera entfernen möchten?"])},confirm_remove_layout:e=>{const{normalize:n}=e;return n(["Sind Sie sicher, dass Sie dieses Layout entfernen möchten?"])},confirm_restart_plugin:e=>{const{normalize:n}=e;return n(["Sind Sie sicher, dass Sie dieses Plugin neu starten möchten?"])},confirm_restart_server:e=>{const{normalize:n}=e;return n(["Sind Sie sicher, dass Sie den Server neu starten möchten?"])},confirm_restore:e=>{const{normalize:n}=e;return n(["Sind Sie sicher, dass Sie dieses Backup wiederherstellen möchten?"])},confirm_uninstall_plugin:e=>{const{normalize:n}=e;return n(["Sind Sie sicher, dass Sie dieses Plugin deinstallieren möchten?"])},intercom_info:e=>{const{normalize:n}=e;return n(["Sprechen Sie gleichzeitig mit allen Kameras, die eine Sprechanlage haben"])}},title:{config:e=>{const{normalize:n}=e;return n(["Konfiguration"])},confirm:e=>{const{normalize:n}=e;return n(["Bestätigen"])},create_new_user:e=>{const{normalize:n}=e;return n(["Neuer Benuter"])},edit_layout:e=>{const{normalize:n}=e;return n(["Layout bearbeiten"])},information:e=>{const{normalize:n}=e;return n(["Information"])},install_plugin:e=>{const{normalize:n}=e;return n(["Plugin installieren"])},intercom:e=>{const{normalize:n}=e;return n(["Gegensprechanlage"])},new_dnd:e=>{const{normalize:n}=e;return n(["Neue DND"])},new_view:e=>{const{normalize:n}=e;return n(["Neue Ansicht"])},new_zone:e=>{const{normalize:n}=e;return n(["Neue Zone"])},plugin_config:e=>{const{normalize:n}=e;return n(["Plugin-Konfiguration"])},plugin_log:e=>{const{normalize:n}=e;return n(["Plugin-Log"])},preview:e=>{const{normalize:n}=e;return n(["Vorschau"])},remove_layout:e=>{const{normalize:n}=e;return n(["Layout entfernen"])},result:e=>{const{normalize:n}=e;return n(["Ergebnis"])},search_plugin:e=>{const{normalize:n}=e;return n(["Plugin suchen"])},unknown:e=>{const{normalize:n}=e;return n(["Unbekannt"])},zone:e=>{const{normalize:n}=e;return n(["Zone"])},zone_editor:e=>{const{normalize:n}=e;return n(["Zonen-Editor"])}}},form:{button:{add:e=>{const{normalize:n}=e;return n(["Hinzufügen"])},add_source:e=>{const{normalize:n}=e;return n(["Quelle hinzufügen"])},add_view:e=>{const{normalize:n}=e;return n(["Ansicht hinzufügen"])},back:e=>{const{normalize:n}=e;return n(["Zurück"])},cancel:e=>{const{normalize:n}=e;return n(["Abbrechen"])},change_view:e=>{const{normalize:n}=e;return n(["Ansicht wechseln"])},clear:e=>{const{normalize:n}=e;return n(["Löschen"])},close:e=>{const{normalize:n}=e;return n(["Schließen"])},create_new_user:e=>{const{normalize:n}=e;return n(["Neuen Benutzer erstellen"])},download:e=>{const{normalize:n}=e;return n(["Herunterladen"])},edit:e=>{const{normalize:n}=e;return n(["Bearbeiten"])},finish:e=>{const{normalize:n}=e;return n(["Fertig"])},go_to_message:e=>{const{normalize:n}=e;return n(["Zur Nachricht gehen"])},install:e=>{const{normalize:n}=e;return n(["Installieren"])},login:e=>{const{normalize:n}=e;return n(["Anmelden"])},logout:e=>{const{normalize:n}=e;return n(["Abmelden"])},logout_all:e=>{const{normalize:n}=e;return n(["Alle abmelden"])},mark_as_read:e=>{const{normalize:n}=e;return n(["Als gelesen markieren"])},new:e=>{const{normalize:n}=e;return n(["Neu"])},new_zone:e=>{const{normalize:n}=e;return n(["Neue Zone"])},next:e=>{const{normalize:n}=e;return n(["Weiter"])},open_editor:e=>{const{normalize:n}=e;return n(["Editor öffnen"])},previous:e=>{const{normalize:n}=e;return n(["Zurück"])},remove:e=>{const{normalize:n}=e;return n(["Entfernen"])},restart:e=>{const{normalize:n}=e;return n(["Neustarten"])},restore_and_restart:e=>{const{normalize:n}=e;return n(["Wiederherstellen und neustarten"])},save:e=>{const{normalize:n}=e;return n(["Speichern"])},save_and_restart:e=>{const{normalize:n}=e;return n(["Speichern und neustarten"])},submit:e=>{const{normalize:n}=e;return n(["Absenden"])},undo:e=>{const{normalize:n}=e;return n(["Rückgängig"])},uninstall:e=>{const{normalize:n}=e;return n(["Deinstallieren"])},upload:e=>{const{normalize:n}=e;return n(["Hochladen"])}},error:{no_cameras_selected:e=>{const{normalize:n}=e;return n(["Keine Kameras ausgewählt"])},no_view_selected:e=>{const{normalize:n}=e;return n(["Keine Ansicht ausgewählt"])}},hint:{one_login:e=>{const{normalize:n}=e;return n(["Nur eine Anmeldung pro Benutzer ist erlaubt"])},remeber_me_is_enabled:e=>{const{normalize:n}=e;return n(["Erinnere mich ist aktiviert"])},remember_me:e=>{const{normalize:n}=e;return n(["Sitzung merken und automatisch anmelden"])},system_preference:e=>{const{normalize:n}=e;return n(["Systemeinstellung für das Thema verwenden"])}},label:{camera:e=>{const{normalize:n}=e;return n(["Kamera"])},camera_firmwareVersion:e=>{const{normalize:n}=e;return n(["Kamera Firmware Version"])},camera_hardware:e=>{const{normalize:n}=e;return n(["Kamerahardware"])},camera_information:e=>{const{normalize:n}=e;return n(["Kamerainformationen"])},camera_manufacturer:e=>{const{normalize:n}=e;return n(["Kamerahersteller"])},camera_model:e=>{const{normalize:n}=e;return n(["Kameramodell"])},camera_name:e=>{const{normalize:n}=e;return n(["Kameraname"])},camera_serialNumber:e=>{const{normalize:n}=e;return n(["Kameraseriennummer"])},camera_sources:e=>{const{normalize:n}=e;return n(["Kameraquellen"])},camera_supportUrl:e=>{const{normalize:n}=e;return n(["Kamera Support URL"])},classes:e=>{const{normalize:n}=e;return n(["Klassen"])},confidence:e=>{const{normalize:n}=e;return n(["Konfidenz"])},decoder:e=>{const{normalize:n}=e;return n(["Decoder"])},disabled:e=>{const{normalize:n}=e;return n(["Deaktiviert"])},enabled:e=>{const{normalize:n}=e;return n(["Aktiviert"])},forgot_password:e=>{const{normalize:n}=e;return n(["Passwort vergessen?"])},fps:e=>{const{normalize:n}=e;return n(["FPS"])},frame_worker:e=>{const{normalize:n}=e;return n(["Frame Worker"])},language:e=>{const{normalize:n}=e;return n(["Sprache"])},layout_name:e=>{const{normalize:n}=e;return n(["Layoutname"])},model:e=>{const{normalize:n}=e;return n(["Modell"])},motion_duration:e=>{const{normalize:n}=e;return n(["Bewegungsdauer"])},name:e=>{const{normalize:n}=e;return n(["Name"])},new_password:e=>{const{normalize:n}=e;return n(["Neues Passwort"])},new_password_confirm:e=>{const{normalize:n}=e;return n(["Neues Passwort bestätigen"])},one_login:e=>{const{normalize:n}=e;return n(["Ein Login"])},password:e=>{const{normalize:n}=e;return n(["Passwort"])},plugin_version:e=>{const{normalize:n}=e;return n(["Plugin-Version"])},recording:e=>{const{normalize:n}=e;return n(["Aufnahme"])},remember_me:e=>{const{normalize:n}=e;return n(["Erinnere mich"])},remove_storage:e=>{const{normalize:n}=e;return n(["Speicher entfernen"])},resolution:e=>{const{normalize:n}=e;return n(["Auflösung"])},role:e=>{const{normalize:n}=e;return n(["Rolle"])},select_all:e=>{const{normalize:n}=e;return n(["Alle auswählen"])},select_cameras:e=>{const{normalize:n}=e;return n(["Kameras auswählen"])},session_timer:e=>{const{normalize:n}=e;return n(["Sitzungstimer"])},settings:e=>{const{normalize:n}=e;return n(["Einstellungen"])},source_label:e=>{const{normalize:n}=e;return n(["Quellenbezeichnung"])},source_name:e=>{const{normalize:n}=e;return n(["Quellenname"])},source_role:e=>{const{normalize:n}=e;return n(["Quellenrolle"])},sources:e=>{const{normalize:n}=e;return n(["Quellen"])},streaming_mode:e=>{const{normalize:n}=e;return n(["Streaming Modus"])},system_preference:e=>{const{normalize:n}=e;return n(["Systemeinstellung"])},theme:e=>{const{normalize:n}=e;return n(["Thema"])},username:e=>{const{normalize:n}=e;return n(["Benutzername"])},zone_name:e=>{const{normalize:n}=e;return n(["Zonenname"])}},tooltip:{clear:e=>{const{normalize:n}=e;return n(["Säubern"])},contain:e=>{const{normalize:n}=e;return n(["Enthalten"])},delete:e=>{const{normalize:n}=e;return n(["Löschen"])},edit:e=>{const{normalize:n}=e;return n(["Bearbeiten"])},exclude:e=>{const{normalize:n}=e;return n(["Ausschließen"])},finish:e=>{const{normalize:n}=e;return n(["Fertig"])},include:e=>{const{normalize:n}=e;return n(["Einschließen"])},intersect:e=>{const{normalize:n}=e;return n(["Schneiden"])},new:e=>{const{normalize:n}=e;return n(["Neu"])},privacy_mask:e=>{const{normalize:n}=e;return n(["Privatsphärenmaske"])},public_mask:e=>{const{normalize:n}=e;return n(["Öffentliche Maske"])},undo:e=>{const{normalize:n}=e;return n(["Rückgängig"])}}},view_box:{available_streams:e=>{const{normalize:n}=e;return n(["Verfügbare Streams"])}},notification_menu:{clear_notifications:e=>{const{normalize:n}=e;return n(["Benachrichtigungen löschen"])},debug:e=>{const{normalize:n}=e;return n(["Debug"])},error:e=>{const{normalize:n}=e;return n(["Fehler"])},info:e=>{const{normalize:n}=e;return n(["Info"])},no_notifications:e=>{const{normalize:n}=e;return n(["Keine Benachrichtigungen verfügbar"])},verbose:e=>{const{normalize:n}=e;return n(["Ausführlich"])},warn:e=>{const{normalize:n}=e;return n(["Warnung"])}},user_menu:{account:e=>{const{normalize:n}=e;return n(["Konto"])},admin_panel:e=>{const{normalize:n}=e;return n(["Admin Panel"])},config:e=>{const{normalize:n}=e;return n(["Konfiguration"])},console:e=>{const{normalize:n}=e;return n(["Konsole"])},logout:e=>{const{normalize:n}=e;return n(["Abmelden"])},plugins:e=>{const{normalize:n}=e;return n(["Plugins"])},reload:e=>{const{normalize:n}=e;return n(["Neu laden"])}},options_sidebar:{segment_tab_extensions:e=>{const{normalize:n}=e;return n(["Erweiterungen"])},segment_tab_default:e=>{const{normalize:n}=e;return n(["Standard"])},segment_tab_overview:e=>{const{normalize:n}=e;return n(["Übersicht"])},segment_tab_settings:e=>{const{normalize:n}=e;return n(["Einstellungen"])},segment_tab_sources:e=>{const{normalize:n}=e;return n(["Quellen"])}},player:{live:e=>{const{normalize:n}=e;return n(["Live"])},reconnecting:e=>{const{normalize:n}=e;return n(["Wiederverbinden..."])}},plugin_card:{install_previous_version:e=>{const{normalize:n}=e;return n(["Vorherige Version installieren"])},no_description:e=>{const{normalize:n}=e;return n(["Keine Beschreibung verfügbar"])},restart:e=>{const{normalize:n}=e;return n(["Neustart"])},start:e=>{const{normalize:n}=e;return n(["Start"])},status_disabled:e=>{const{normalize:n}=e;return n(["Deaktiviert"])},status_error:e=>{const{normalize:n}=e;return n(["Fehler"])},status_ready:e=>{const{normalize:n}=e;return n(["Bereit"])},status_started:e=>{const{normalize:n}=e;return n(["Gestartet"])},status_starting:e=>{const{normalize:n}=e;return n(["Startet"])},status_stopped:e=>{const{normalize:n}=e;return n(["Gestoppt"])},status_unknown:e=>{const{normalize:n}=e;return n(["Unbekannt"])},stop:e=>{const{normalize:n}=e;return n(["Stop"])},uninstall:e=>{const{normalize:n}=e;return n(["Deinstallieren"])},update:e=>{const{normalize:n}=e;return n(["Aktualisieren"])},update_available:e=>{const{normalize:n}=e;return n(["Aktualisierung verfügbar"])}},plugin_search:{plugins:e=>{const{normalize:n}=e;return n(["Plugins"])}},process_table:{status_error:e=>{const{normalize:n}=e;return n(["Fehler"])},status_ready:e=>{const{normalize:n}=e;return n(["Bereit"])},status_started:e=>{const{normalize:n}=e;return n(["Gestartet"])},status_starting:e=>{const{normalize:n}=e;return n(["Startet"])},status_stopped:e=>{const{normalize:n}=e;return n(["Gestoppt"])},status_unknown:e=>{const{normalize:n}=e;return n(["Unbekannt"])},title_cpu:e=>{const{normalize:n}=e;return n(["CPU"])},title_cpu_load:e=>{const{normalize:n}=e;return n(["CPU-Auslastung"])},title_memory:e=>{const{normalize:n}=e;return n(["Speicher"])},title_memory_load:e=>{const{normalize:n}=e;return n(["Speicherauslastung"])},title_name:e=>{const{normalize:n}=e;return n(["Name"])},title_pid:e=>{const{normalize:n}=e;return n(["PID"])}},toast:{backup_downloaded:e=>{const{normalize:n}=e;return n(["Backup-Datei erfolgreich heruntergeladen"])},backup_restored:e=>{const{normalize:n}=e;return n(["Backup-Datei erfolgreich wiederhergestellt"])},camera_added:e=>{const{normalize:n}=e;return n(["Kamera erfolgreich hinzugefügt"])},camera_removed:e=>{const{normalize:n}=e;return n(["Kamera erfolgreich entfernt"])},camera_updated:e=>{const{normalize:n}=e;return n(["Kamera erfolgreich aktualisiert"])},cameras_removed:e=>{const{normalize:n}=e;return n(["Kameras erfolgreich entfernt"])},config_deleted:e=>{const{normalize:n}=e;return n(["Konfiguration erfolgreich gelöscht"])},config_go2rtc_deleted:e=>{const{normalize:n}=e;return n(["Go2RTC-Konfiguration erfolgreich gelöscht"])},config_go2rtc_updated:e=>{const{normalize:n}=e;return n(["Go2RTC-Konfiguration erfolgreich aktualisiert"])},config_updated:e=>{const{normalize:n}=e;return n(["Konfiguration erfolgreich aktualisiert"])},error_see_console:e=>{const{normalize:n}=e;return n(["Fehler, siehe Konsole"])},frame_worker_restarted:e=>{const{normalize:n}=e;return n(["Frame Worker erfolgreich neugestartet"])},go2rtc_restarted:e=>{const{normalize:n}=e;return n(["Go2RTC erfolgreich neugestartet"])},log_cleared:e=>{const{normalize:n}=e;return n(["Log erfolgreich gelöscht"])},plugin_added:e=>{const{normalize:n}=e;return n(["Plugin erfolgreich hinzugefügt"])},plugin_config_updated:e=>{const{normalize:n}=e;return n(["Plugin-Konfiguration erfolgreich aktualisiert"])},plugin_disabled:e=>{const{normalize:n}=e;return n(["Plugin erfolgreich deaktiviert"])},plugin_enabled:e=>{const{normalize:n}=e;return n(["Plugin erfolgreich aktiviert"])},plugin_removed:e=>{const{normalize:n}=e;return n(["Plugin erfolgreich entfernt"])},plugin_request_sent:e=>{const{normalize:n}=e;return n(["Plugin-Anfrage erfolgreich gesendet"])},plugin_restarted:e=>{const{normalize:n}=e;return n(["Plugin erfolgreich neugestartet"])},plugin_settings_updated:e=>{const{normalize:n}=e;return n(["Plugin-Einstellungen erfolgreich aktualisiert"])},plugin_started:e=>{const{normalize:n}=e;return n(["Plugin erfolgreich gestartet"])},plugin_stopped:e=>{const{normalize:n}=e;return n(["Plugin erfolgreich gestoppt"])},plugins_removed:e=>{const{normalize:n}=e;return n(["Plugins erfolgreich entfernt"])},system_restarted:e=>{const{normalize:n}=e;return n(["System erfolgreich neugestartet"])},user_added:e=>{const{normalize:n}=e;return n(["Benutzer erfolgreich hinzugefügt"])},user_logged_out:e=>{const{normalize:n}=e;return n(["Benutzer erfolgreich abgemeldet"])},user_removed:e=>{const{normalize:n}=e;return n(["Benutzer erfolgreich entfernt"])},user_updated:e=>{const{normalize:n}=e;return n(["Benutzer erfolgreich aktualisiert"])},users_removed:e=>{const{normalize:n}=e;return n(["Benutzer erfolgreich entfernt"])},view_added:e=>{const{normalize:n}=e;return n(["Ansicht erfolgreich hinzugefügt"])},view_removed:e=>{const{normalize:n}=e;return n(["Ansicht erfolgreich entfernt"])},view_updated:e=>{const{normalize:n}=e;return n(["Ansicht erfolgreich aktualisiert"])},views_removed:e=>{const{normalize:n}=e;return n(["Ansichten erfolgreich entfernt"])},zone_added:e=>{const{normalize:n}=e;return n(["Zone erfolgreich hinzugefügt"])},zone_updated:e=>{const{normalize:n}=e;return n(["Zone erfolgreich aktualisiert"])},zone_removed:e=>{const{normalize:n}=e;return n(["Zone erfolgreich entfernt"])}},upload_files:{drop_or_select_file:e=>{const{normalize:n}=e;return n(["Datei ablegen oder auswählen"])},only_one_file_allowed:e=>{const{normalize:n}=e;return n(["Es ist nur eine Datei erlaubt"])}},user_table:{title_address:e=>{const{normalize:n}=e;return n(["Adresse"])},title_device:e=>{const{normalize:n}=e;return n(["Gerät"])},title_role:e=>{const{normalize:n}=e;return n(["Rolle"])},title_username:e=>{const{normalize:n}=e;return n(["Benutzername"])},you:e=>{const{normalize:n}=e;return n(["Du"])}},zone_editor:{zone:e=>{const{normalize:n}=e;return n(["Zone"])}}},general:{loading:e=>{const{normalize:n}=e;return n(["Laden..."])},role_admin:e=>{const{normalize:n}=e;return n(["Admin"])},role_user:e=>{const{normalize:n}=e;return n(["Benutzer"])}},navigation:{account:e=>{const{normalize:n}=e;return n(["Konto"])},adminpanel:e=>{const{normalize:n}=e;return n(["Admin-Panel"])},appearance:e=>{const{normalize:n}=e;return n(["Erscheinungsbild"])},backup:e=>{const{normalize:n}=e;return n(["Backup"])},cameras:e=>{const{normalize:n}=e;return n(["Kameras"])},camview:e=>{const{normalize:n}=e;return n(["Kameransicht"])},config:e=>{const{normalize:n}=e;return n(["Konfiguration"])},console:e=>{const{normalize:n}=e;return n(["Konsole"])},nvr:e=>{const{normalize:n}=e;return n(["NVR"])},plugins:e=>{const{normalize:n}=e;return n(["Plugins"])},recordings:e=>{const{normalize:n}=e;return n(["Aufnahmen"])},settings:e=>{const{normalize:n}=e;return n(["Einstellungen"])},system:e=>{const{normalize:n}=e;return n(["System"])},user:e=>{const{normalize:n}=e;return n(["Benutzer"])}},navigation_description:{account_description:e=>{const{normalize:n}=e;return n(["Verwalten Sie Kontoeinstellungen und Erfahrungen."])},appearance_description:e=>{const{normalize:n}=e;return n(["Verwalten Sie das Erscheinungsbild und die Benutzeroberfläche der App."])},backup_description:e=>{const{normalize:n}=e;return n(["Verwalten, planen Sie Backups und stellen Sie Daten wieder her."])},nvr_description:e=>{const{normalize:n}=e;return n(["Verwalten Sie das Netzwerk-Videorekorder-System."])},recordings_description:e=>{const{normalize:n}=e;return n(["Verwalten Sie Aufnahmen und Speicheroptionen."])},system_description:e=>{const{normalize:n}=e;return n(["Verwalten Sie das System, überwachen Sie den Status und die Aufgaben."])},user_description:e=>{const{normalize:n}=e;return n(["Verwalten Sie Benutzer, Rollen und Berechtigungen."])}},views:{404:{button_home:e=>{const{normalize:n}=e;return n(["Startseite"])},error_message:e=>{const{normalize:n}=e;return n(["Die Seite, die Sie suchen, existiert nicht."])}},adminpanel:{currently_loggedin_users:e=>{const{normalize:n}=e;return n(["Derzeit angemeldete Benutzer"])},frameworker:e=>{const{normalize:n}=e;return n(["Frameworker"])},plugins:e=>{const{normalize:n}=e;return n(["Plugins"])},system:e=>{const{normalize:n}=e;return n(["System"])},title:e=>{const{normalize:n}=e;return n(["Admin Panel"])}},camera:{detections:e=>{const{normalize:n}=e;return n(["Erkennungen"])},timeline:e=>{const{normalize:n}=e;return n(["Zeitleiste"])},title:e=>{const{normalize:n}=e;return n(["Kamera"])}},cameras:{events:e=>{const{normalize:n}=e;return n(["Ereignisse"])},new_camera:e=>{const{normalize:n}=e;return n(["Neue Kamera"])},no_cameras:e=>{const{normalize:n}=e;return n(["Keine Kameras verfügbar"])},title:e=>{const{normalize:n}=e;return n(["Kameras"])}},camview:{all_cameras:e=>{const{normalize:n}=e;return n(["Alle Kameras"])},cameras:e=>{const{normalize:n}=e;return n(["Kameras"])},new_dnd:e=>{const{normalize:n}=e;return n(["Neue DND"])},new_view:e=>{const{normalize:n}=e;return n(["Neue Ansicht"])},no_dnds_configured:e=>{const{normalize:n}=e;return n(["Keine DNDs konfiguriert"])},no_views_configured:e=>{const{normalize:n}=e;return n(["Keine Ansichten konfiguriert"])},title:e=>{const{normalize:n}=e;return n(["Kameransicht"])}},config:{title:e=>{const{normalize:n}=e;return n(["Konfiguration"])}},console:{title:e=>{const{normalize:n}=e;return n(["Konsole"])}},firststeps:{complete:e=>{const{normalize:n}=e;return n(["Fertig"])},enjoy:e=>{const{normalize:n}=e;return n(["Viel Spaß!"])},finish_message:e=>{const{normalize:n}=e;return n(["Sie haben die ersten Schritte erfolgreich abgeschlossen. Sie können nun die Anwendung nutzen."])},step_account:e=>{const{normalize:n}=e;return n(["Konto"])},step_appearance:e=>{const{normalize:n}=e;return n(["Erscheinungsbild"])},step_finish:e=>{const{normalize:n}=e;return n(["Fertig"])},title:e=>{const{normalize:n}=e;return n(["Erste Schritte"])}},login:{title:e=>{const{normalize:n}=e;return n(["Anmelden"])}},new_camera:{camera:e=>{const{normalize:n}=e;return n(["Kamera"])},camera_information:e=>{const{normalize:n}=e;return n(["Kamerainformationen"])},camera_settings:e=>{const{normalize:n}=e;return n(["Kameraeinstellungen"])},interface_settings:e=>{const{normalize:n}=e;return n(["Schnittstelleneinstellungen"])},motion_detection:e=>{const{normalize:n}=e;return n(["Bewegungserkennung"])},motion_detection_settings:e=>{const{normalize:n}=e;return n(["Einstellungen zur Bewegungserkennung"])},motion_settings:e=>{const{normalize:n}=e;return n(["Bewegungseinstellungen"])},motion_zones:e=>{const{normalize:n}=e;return n(["Bewegungszonen"])},recordings:e=>{const{normalize:n}=e;return n(["Aufnahmen"])},source:e=>{const{normalize:n}=e;return n(["Quelle"])},title:e=>{const{normalize:n}=e;return n(["Neue Kamera"])}},plugin:{changelog:e=>{const{normalize:n}=e;return n(["Änderungsprotokoll"])},no_changelog:e=>{const{normalize:n}=e;return n(["Kein Änderungsprotokoll verfügbar"])},no_readme:e=>{const{normalize:n}=e;return n(["Keine Leseanleitung verfügbar"])},plugin_settings:e=>{const{normalize:n}=e;return n(["Plugin-Einstellungen"])},readme:e=>{const{normalize:n}=e;return n(["Leseanleitung"])},segment_tab_cameras:e=>{const{normalize:n}=e;return n(["Kameras"])},segment_tab_extensions:e=>{const{normalize:n}=e;return n(["Erweiterungen"])},segment_tab_interface:e=>{const{normalize:n}=e;return n(["Interface"])},segment_tab_settings:e=>{const{normalize:n}=e;return n(["Einstellungen"])},title:e=>{const{normalize:n}=e;return n(["Plugin"])}},plugins:{no_plugins:e=>{const{normalize:n}=e;return n(["Keine Plugins verfügbar"])},title:e=>{const{normalize:n}=e;return n(["Plugins"])}},recordings:{title:e=>{const{normalize:n}=e;return n(["Aufnahmen"])}},settings:{create_backup:e=>{const{normalize:n}=e;return n(["Backup erstellen"])},create_backup_info:e=>{const{normalize:n}=e;return n(["Erstellen Sie ein Backup der aktuellen Konfiguration"])},locale:e=>{const{normalize:n}=e;return n(["Sprache"])},password:e=>{const{normalize:n}=e;return n(["Passwort"])},profile:e=>{const{normalize:n}=e;return n(["Profil"])},registered_users:e=>{const{normalize:n}=e;return n(["Registrierte Benutzer"])},restore_backup:e=>{const{normalize:n}=e;return n(["Backup wiederherstellen"])},restore_backup_info:e=>{const{normalize:n}=e;return n(["Stellen Sie ein Backup der aktuellen Konfiguration wieder her"])},theme:e=>{const{normalize:n}=e;return n(["Thema"])},title:e=>{const{normalize:n}=e;return n(["Einstellungen"])},title_account:e=>{const{normalize:n}=e;return n(["Konto"])},title_appearance:e=>{const{normalize:n}=e;return n(["Erscheinungsbild"])},title_backup:e=>{const{normalize:n}=e;return n(["Backup"])},title_go2rtc:e=>{const{normalize:n}=e;return n(["Go2RTC"])},title_nvr:e=>{const{normalize:n}=e;return n(["NVR"])},title_recordings:e=>{const{normalize:n}=e;return n(["Aufnahmen"])},title_system:e=>{const{normalize:n}=e;return n(["System"])},title_user:e=>{const{normalize:n}=e;return n(["Benutzer"])},user_table_title_role:e=>{const{normalize:n}=e;return n(["Rolle"])},user_table_title_username:e=>{const{normalize:n}=e;return n(["Benutzername"])}}}}},{en:{$vuetify:{badge:e=>{const{normalize:n}=e;return n(["Badge"])},calendar:{moreEvents:e=>{const{normalize:n,interpolate:t,list:o}=e;return n([t(o(0))," more"])}},carousel:{ariaLabel:{delimiter:e=>{const{normalize:n,interpolate:t,list:o}=e;return n(["Carousel slide ",t(o(0))," of ",t(o(1))])}},next:e=>{const{normalize:n}=e;return n(["Next visual"])},prev:e=>{const{normalize:n}=e;return n(["Previous visual"])}},close:e=>{const{normalize:n}=e;return n(["Close"])},dataFooter:{firstPage:e=>{const{normalize:n}=e;return n(["First page"])},itemsPerPageAll:e=>{const{normalize:n}=e;return n(["All"])},itemsPerPageText:e=>{const{normalize:n}=e;return n(["Items per page:"])},lastPage:e=>{const{normalize:n}=e;return n(["Last page"])},nextPage:e=>{const{normalize:n}=e;return n(["Next page"])},pageText:e=>{const{normalize:n,interpolate:t,list:o}=e;return n([t(o(0)),"-",t(o(1))," of ",t(o(2))])},prevPage:e=>{const{normalize:n}=e;return n(["Previous page"])}},dataIterator:{loadingText:e=>{const{normalize:n}=e;return n(["Loading items..."])},noResultsText:e=>{const{normalize:n}=e;return n(["No matching records found"])}},dataTable:{ariaLabel:{activateAscending:e=>{const{normalize:n}=e;return n(["Activate to sort ascending."])},activateDescending:e=>{const{normalize:n}=e;return n(["Activate to sort descending."])},activateNone:e=>{const{normalize:n}=e;return n(["Activate to remove sorting."])},sortAscending:e=>{const{normalize:n}=e;return n(["Sorted ascending."])},sortDescending:e=>{const{normalize:n}=e;return n(["Sorted descending."])},sortNone:e=>{const{normalize:n}=e;return n(["Not sorted."])}},itemsPerPageText:e=>{const{normalize:n}=e;return n(["Rows per page:"])},sortBy:e=>{const{normalize:n}=e;return n(["Sort by"])}},datePicker:{cancel:e=>{const{normalize:n}=e;return n(["Cancel"])},header:e=>{const{normalize:n}=e;return n(["Enter date"])},input:{placeholder:e=>{const{normalize:n}=e;return n(["Enter date"])}},ok:e=>{const{normalize:n}=e;return n(["OK"])},range:{header:e=>{const{normalize:n}=e;return n(["Enter dates"])},title:e=>{const{normalize:n}=e;return n(["Select dates"])}},title:e=>{const{normalize:n}=e;return n(["Select date"])}},dateRangeInput:{divider:e=>{const{normalize:n}=e;return n(["to"])}},fileInput:{counter:e=>{const{normalize:n,interpolate:t,list:o}=e;return n([t(o(0))," files"])},counterSize:e=>{const{normalize:n,interpolate:t,list:o}=e;return n([t(o(0))," files (",t(o(1))," in total)"])}},infiniteScroll:{empty:e=>{const{normalize:n}=e;return n(["No more"])},loadMore:e=>{const{normalize:n}=e;return n(["Load more"])}},input:{appendAction:e=>{const{normalize:n,interpolate:t,list:o}=e;return n([t(o(0))," appended action"])},clear:e=>{const{normalize:n,interpolate:t,list:o}=e;return n(["Clear ",t(o(0))])},otp:e=>{const{normalize:n,interpolate:t,list:o}=e;return n(["Please enter OTP character ",t(o(0))])},prependAction:e=>{const{normalize:n,interpolate:t,list:o}=e;return n([t(o(0))," prepended action"])}},loading:e=>{const{normalize:n}=e;return n(["Loading..."])},noDataText:e=>{const{normalize:n}=e;return n(["No data available"])},open:e=>{const{normalize:n}=e;return n(["Open"])},pagination:{ariaLabel:{currentPage:e=>{const{normalize:n,interpolate:t,list:o}=e;return n(["Page ",t(o(0)),", Current page"])},first:e=>{const{normalize:n}=e;return n(["First page"])},last:e=>{const{normalize:n}=e;return n(["Last page"])},next:e=>{const{normalize:n}=e;return n(["Next page"])},page:e=>{const{normalize:n,interpolate:t,list:o}=e;return n(["Go to page ",t(o(0))])},previous:e=>{const{normalize:n}=e;return n(["Previous page"])},root:e=>{const{normalize:n}=e;return n(["Pagination Navigation"])}}},rating:{ariaLabel:{item:e=>{const{normalize:n,interpolate:t,list:o}=e;return n(["Rating ",t(o(0))," of ",t(o(1))])}}},stepper:{next:e=>{const{normalize:n}=e;return n(["Next"])},prev:e=>{const{normalize:n}=e;return n(["Previous"])}},timePicker:{am:e=>{const{normalize:n}=e;return n(["AM"])},pm:e=>{const{normalize:n}=e;return n(["PM"])}}},components:{camera_draggable:{no_cameras:e=>{const{normalize:n}=e;return n(["No cameras available"])}},camera_events:{no_events:e=>{const{normalize:n}=e;return n(["No events available"])}},camera_options:{activity_detection:e=>{const{normalize:n}=e;return n(["Activity detection"])},activity_zones:e=>{const{normalize:n}=e;return n(["Activity zones"])},builtin_extensions:e=>{const{normalize:n}=e;return n(["Built-in extensions"])},categories:e=>{const{normalize:n}=e;return n(["Categories"])},chip_audioDetection:e=>{const{normalize:n}=e;return n(["Audio detection"])},chip_extensions:e=>{const{normalize:n}=e;return n(["Extensions"])},chip_hub:e=>{const{normalize:n}=e;return n(["Hub"])},chip_hubs:e=>{const{normalize:n}=e;return n(["Hubs"])},chip_motionDetection:e=>{const{normalize:n}=e;return n(["Motion detection"])},chip_objectDetection:e=>{const{normalize:n}=e;return n(["Object detection"])},chip_prebuffer:e=>{const{normalize:n}=e;return n(["Prebuffer"])},chip_ptz:e=>{const{normalize:n}=e;return n(["PTZ"])},details:e=>{const{normalize:n}=e;return n(["Details"])},enabled_extension:e=>{const{normalize:n}=e;return n(["Enabled extension"])},extensions:e=>{const{normalize:n}=e;return n(["Extensions"])},extension_settings:e=>{const{normalize:n}=e;return n(["Extension settings"])},frame_worker_settings:e=>{const{normalize:n}=e;return n(["Frame worker settings"])},information:e=>{const{normalize:n}=e;return n(["Information"])},interface:e=>{const{normalize:n}=e;return n(["Interface"])},last_motion:e=>{const{normalize:n}=e;return n(["Last motion"])},last_object:e=>{const{normalize:n}=e;return n(["Last object"])},last_audio:e=>{const{normalize:n}=e;return n(["Last audio"])},model:e=>{const{normalize:n}=e;return n(["Model"])},motion_detection_settings:e=>{const{normalize:n}=e;return n(["Motion detection settings"])},name:e=>{const{normalize:n}=e;return n(["Name"])},native:e=>{const{normalize:n}=e;return n(["Native"])},no_config:e=>{const{normalize:n}=e;return n(["No configuration available"])},no_extensions_enabled:e=>{const{normalize:n}=e;return n(["No extensions enabled"])},no_zones:e=>{const{normalize:n}=e;return n(["No zones available"])},object_detection_settings:e=>{const{normalize:n}=e;return n(["Object detection settings"])},plugin:e=>{const{normalize:n}=e;return n(["Plugin"])},recordings:e=>{const{normalize:n}=e;return n(["Recordings"])},settings:e=>{const{normalize:n}=e;return n(["Settings"])},source:e=>{const{normalize:n}=e;return n(["Source"])},streaming_mode:e=>{const{normalize:n}=e;return n(["Streaming mode"])},unknown:e=>{const{normalize:n}=e;return n(["Unknown"])},zones:e=>{const{normalize:n}=e;return n(["Zones"])}},detection_interface:{audio_detected:e=>{const{normalize:n}=e;return n(["Audio detected"])},audio_not_detected:e=>{const{normalize:n}=e;return n(["Audio not detected"])},audio_required:e=>{const{normalize:n}=e;return n(["Audio required"])},detect_audio:e=>{const{normalize:n}=e;return n(["Detect audio"])},detect_motion:e=>{const{normalize:n}=e;return n(["Detect motion"])},detect_objects:e=>{const{normalize:n}=e;return n(["Detect objects"])},drop_or_select_audio_to_detect:e=>{const{normalize:n}=e;return n(["Drop or select audio to detect"])},drop_or_select_image_to_detect_objects:e=>{const{normalize:n}=e;return n(["Drop or select image to detect objects"])},drop_or_select_video_to_detect_motion:e=>{const{normalize:n}=e;return n(["Drop or select video to detect motion"])},file_size_error:e=>{const{normalize:n}=e;return n(["File size error"])},image_required:e=>{const{normalize:n}=e;return n(["Image required"])},interface_config:e=>{const{normalize:n}=e;return n(["Interface configuration"])},no_interface_config:e=>{const{normalize:n}=e;return n(["No interface configuration available"])},only_one_audio_allowed:e=>{const{normalize:n}=e;return n(["Es ist nur ein Audio erlaubt"])},only_one_image_allowed:e=>{const{normalize:n}=e;return n(["Only one image allowed"])},only_one_video_allowed:e=>{const{normalize:n}=e;return n(["Only one video allowed"])},video_required:e=>{const{normalize:n}=e;return n(["Video required"])}},dialog:{message:{confirm_clear_log:e=>{const{normalize:n}=e;return n(["Are you sure you want to clear the log?"])},confirm_remove:e=>{const{normalize:n}=e;return n(["Are you sure you want to remove this camera?"])},confirm_remove_layout:e=>{const{normalize:n}=e;return n(["Are you sure you want to remove this layout?"])},confirm_restart_plugin:e=>{const{normalize:n}=e;return n(["Are you sure you want to restart this plugin?"])},confirm_restart_server:e=>{const{normalize:n}=e;return n(["Are you sure you want to restart the server?"])},confirm_restore:e=>{const{normalize:n}=e;return n(["Are you sure you want to restore this backup?"])},confirm_uninstall_plugin:e=>{const{normalize:n}=e;return n(["Are you sure you want to uninstall this plugin?"])},intercom_info:e=>{const{normalize:n}=e;return n(["Speak simultaneously to all cameras that have intercom"])}},title:{config:e=>{const{normalize:n}=e;return n(["Configuration"])},confirm:e=>{const{normalize:n}=e;return n(["Confirm"])},create_new_user:e=>{const{normalize:n}=e;return n(["New user"])},edit_layout:e=>{const{normalize:n}=e;return n(["Edit layout"])},information:e=>{const{normalize:n}=e;return n(["Information"])},install_plugin:e=>{const{normalize:n}=e;return n(["Install plugin"])},intercom:e=>{const{normalize:n}=e;return n(["Intercom"])},new_dnd:e=>{const{normalize:n}=e;return n(["New DND"])},new_view:e=>{const{normalize:n}=e;return n(["New view"])},new_zone:e=>{const{normalize:n}=e;return n(["New zone"])},plugin_config:e=>{const{normalize:n}=e;return n(["Plugin config"])},plugin_log:e=>{const{normalize:n}=e;return n(["Plugin log"])},preview:e=>{const{normalize:n}=e;return n(["Preview"])},remove_layout:e=>{const{normalize:n}=e;return n(["Remove layout"])},result:e=>{const{normalize:n}=e;return n(["Result"])},search_plugin:e=>{const{normalize:n}=e;return n(["Search plugin"])},unknown:e=>{const{normalize:n}=e;return n(["Unknown"])},zone:e=>{const{normalize:n}=e;return n(["Zone"])},zone_editor:e=>{const{normalize:n}=e;return n(["Zone editor"])}}},view_box:{available_streams:e=>{const{normalize:n}=e;return n(["Available streams"])}},form:{button:{add:e=>{const{normalize:n}=e;return n(["Add"])},add_source:e=>{const{normalize:n}=e;return n(["Add source"])},add_view:e=>{const{normalize:n}=e;return n(["Add view"])},back:e=>{const{normalize:n}=e;return n(["Back"])},cancel:e=>{const{normalize:n}=e;return n(["Cancel"])},change_view:e=>{const{normalize:n}=e;return n(["Change view"])},clear:e=>{const{normalize:n}=e;return n(["Clear"])},close:e=>{const{normalize:n}=e;return n(["Close"])},create_new_user:e=>{const{normalize:n}=e;return n(["Create new user"])},download:e=>{const{normalize:n}=e;return n(["Download"])},edit:e=>{const{normalize:n}=e;return n(["Edit"])},finish:e=>{const{normalize:n}=e;return n(["Finish"])},go_to_message:e=>{const{normalize:n}=e;return n(["Go to message"])},install:e=>{const{normalize:n}=e;return n(["Install"])},login:e=>{const{normalize:n}=e;return n(["Login"])},logout:e=>{const{normalize:n}=e;return n(["Logout"])},logout_all:e=>{const{normalize:n}=e;return n(["Logout all"])},mark_as_read:e=>{const{normalize:n}=e;return n(["Mark as read"])},new:e=>{const{normalize:n}=e;return n(["New"])},new_zone:e=>{const{normalize:n}=e;return n(["New zone"])},next:e=>{const{normalize:n}=e;return n(["Next"])},open_editor:e=>{const{normalize:n}=e;return n(["Open editor"])},previous:e=>{const{normalize:n}=e;return n(["Previous"])},remove:e=>{const{normalize:n}=e;return n(["Remove"])},restart:e=>{const{normalize:n}=e;return n(["Restart"])},restore_and_restart:e=>{const{normalize:n}=e;return n(["Restore and restart"])},save:e=>{const{normalize:n}=e;return n(["Save"])},save_and_restart:e=>{const{normalize:n}=e;return n(["Save and restart"])},submit:e=>{const{normalize:n}=e;return n(["Submit"])},undo:e=>{const{normalize:n}=e;return n(["Undo"])},uninstall:e=>{const{normalize:n}=e;return n(["Uninstall"])},upload:e=>{const{normalize:n}=e;return n(["Upload"])}},error:{no_cameras_selected:e=>{const{normalize:n}=e;return n(["No cameras selected"])},no_view_selected:e=>{const{normalize:n}=e;return n(["No view selected"])}},hint:{one_login:e=>{const{normalize:n}=e;return n(["Only one login per user is allowed"])},remeber_me_is_enabled:e=>{const{normalize:n}=e;return n(["Remember me is enabled"])},remember_me:e=>{const{normalize:n}=e;return n(["Remember session and auto login"])},system_preference:e=>{const{normalize:n}=e;return n(["Use system preference for theme"])}},label:{camera:e=>{const{normalize:n}=e;return n(["Camera"])},camera_firmwareVersion:e=>{const{normalize:n}=e;return n(["Camera firmware version"])},camera_hardware:e=>{const{normalize:n}=e;return n(["Camera hardware"])},camera_information:e=>{const{normalize:n}=e;return n(["Camera information"])},camera_manufacturer:e=>{const{normalize:n}=e;return n(["Camera manufacturer"])},camera_model:e=>{const{normalize:n}=e;return n(["Camera model"])},camera_name:e=>{const{normalize:n}=e;return n(["Camera name"])},camera_serialNumber:e=>{const{normalize:n}=e;return n(["Camera serial number"])},camera_sources:e=>{const{normalize:n}=e;return n(["Camera sources"])},camera_supportUrl:e=>{const{normalize:n}=e;return n(["Camera support URL"])},classes:e=>{const{normalize:n}=e;return n(["Classes"])},confidence:e=>{const{normalize:n}=e;return n(["Confidence"])},decoder:e=>{const{normalize:n}=e;return n(["Decoder"])},disabled:e=>{const{normalize:n}=e;return n(["Disabled"])},enabled:e=>{const{normalize:n}=e;return n(["Enabled"])},forgot_password:e=>{const{normalize:n}=e;return n(["Forgot password?"])},fps:e=>{const{normalize:n}=e;return n(["FPS"])},frame_worker:e=>{const{normalize:n}=e;return n(["Frame Worker"])},language:e=>{const{normalize:n}=e;return n(["Language"])},layout_name:e=>{const{normalize:n}=e;return n(["Layout name"])},model:e=>{const{normalize:n}=e;return n(["Model"])},motion_duration:e=>{const{normalize:n}=e;return n(["Motion duration"])},name:e=>{const{normalize:n}=e;return n(["Name"])},new_password:e=>{const{normalize:n}=e;return n(["New password"])},new_password_confirm:e=>{const{normalize:n}=e;return n(["Confirm new password"])},one_login:e=>{const{normalize:n}=e;return n(["One login"])},password:e=>{const{normalize:n}=e;return n(["Password"])},plugin_version:e=>{const{normalize:n}=e;return n(["Plugin version"])},recording:e=>{const{normalize:n}=e;return n(["Recording"])},remember_me:e=>{const{normalize:n}=e;return n(["Remember me"])},remove_storage:e=>{const{normalize:n}=e;return n(["Remove storage"])},resolution:e=>{const{normalize:n}=e;return n(["Resolution"])},role:e=>{const{normalize:n}=e;return n(["Role"])},select_all:e=>{const{normalize:n}=e;return n(["Select all"])},select_cameras:e=>{const{normalize:n}=e;return n(["Select cameras"])},session_timer:e=>{const{normalize:n}=e;return n(["Session timer"])},settings:e=>{const{normalize:n}=e;return n(["Settings"])},source_label:e=>{const{normalize:n}=e;return n(["Source label"])},source_name:e=>{const{normalize:n}=e;return n(["Source name"])},source_role:e=>{const{normalize:n}=e;return n(["Source role"])},sources:e=>{const{normalize:n}=e;return n(["Sources"])},streaming_mode:e=>{const{normalize:n}=e;return n(["Streaming mode"])},system_preference:e=>{const{normalize:n}=e;return n(["System preference"])},theme:e=>{const{normalize:n}=e;return n(["Theme"])},username:e=>{const{normalize:n}=e;return n(["Username"])},zone_name:e=>{const{normalize:n}=e;return n(["Zone name"])}},tooltip:{clear:e=>{const{normalize:n}=e;return n(["Clear"])},contain:e=>{const{normalize:n}=e;return n(["Contain"])},delete:e=>{const{normalize:n}=e;return n(["Delete"])},edit:e=>{const{normalize:n}=e;return n(["Edit"])},exclude:e=>{const{normalize:n}=e;return n(["Exclude"])},finish:e=>{const{normalize:n}=e;return n(["Finish"])},include:e=>{const{normalize:n}=e;return n(["Include"])},intersect:e=>{const{normalize:n}=e;return n(["Intersect"])},new:e=>{const{normalize:n}=e;return n(["New"])},privacy_mask:e=>{const{normalize:n}=e;return n(["Privacy mask"])},public_mask:e=>{const{normalize:n}=e;return n(["Public mask"])},undo:e=>{const{normalize:n}=e;return n(["Undo"])}}},notification_menu:{clear_notifications:e=>{const{normalize:n}=e;return n(["Clear notifications"])},debug:e=>{const{normalize:n}=e;return n(["Debug"])},error:e=>{const{normalize:n}=e;return n(["Error"])},info:e=>{const{normalize:n}=e;return n(["Info"])},no_notifications:e=>{const{normalize:n}=e;return n(["No notifications available"])},verbose:e=>{const{normalize:n}=e;return n(["Verbose"])},warn:e=>{const{normalize:n}=e;return n(["Warning"])}},user_menu:{account:e=>{const{normalize:n}=e;return n(["Account"])},admin_panel:e=>{const{normalize:n}=e;return n(["Admin panel"])},config:e=>{const{normalize:n}=e;return n(["Configuration"])},console:e=>{const{normalize:n}=e;return n(["Console"])},logout:e=>{const{normalize:n}=e;return n(["Logout"])},plugins:e=>{const{normalize:n}=e;return n(["Plugins"])},reload:e=>{const{normalize:n}=e;return n(["Reload"])}},options_sidebar:{segment_tab_default:e=>{const{normalize:n}=e;return n(["Default"])},segment_tab_extensions:e=>{const{normalize:n}=e;return n(["Extensions"])},segment_tab_overview:e=>{const{normalize:n}=e;return n(["Overview"])},segment_tab_settings:e=>{const{normalize:n}=e;return n(["Settings"])},segment_tab_sources:e=>{const{normalize:n}=e;return n(["Sources"])}},player:{live:e=>{const{normalize:n}=e;return n(["Live"])},reconnecting:e=>{const{normalize:n}=e;return n(["Reconnecting..."])}},plugin_card:{install_previous_version:e=>{const{normalize:n}=e;return n(["Install previous version"])},no_description:e=>{const{normalize:n}=e;return n(["No description available"])},restart:e=>{const{normalize:n}=e;return n(["Restart"])},start:e=>{const{normalize:n}=e;return n(["Start"])},status_disabled:e=>{const{normalize:n}=e;return n(["Disabled"])},status_error:e=>{const{normalize:n}=e;return n(["Error"])},status_ready:e=>{const{normalize:n}=e;return n(["Ready"])},status_started:e=>{const{normalize:n}=e;return n(["Started"])},status_starting:e=>{const{normalize:n}=e;return n(["Starting"])},status_stopped:e=>{const{normalize:n}=e;return n(["Stopped"])},status_unknown:e=>{const{normalize:n}=e;return n(["Unknown"])},stop:e=>{const{normalize:n}=e;return n(["Stop"])},uninstall:e=>{const{normalize:n}=e;return n(["Uninstall"])},update:e=>{const{normalize:n}=e;return n(["Update"])},update_available:e=>{const{normalize:n}=e;return n(["Update available"])}},plugin_search:{plugins:e=>{const{normalize:n}=e;return n(["Plugins"])}},process_table:{status_error:e=>{const{normalize:n}=e;return n(["Error"])},status_ready:e=>{const{normalize:n}=e;return n(["Ready"])},status_started:e=>{const{normalize:n}=e;return n(["Started"])},status_starting:e=>{const{normalize:n}=e;return n(["Starting"])},status_stopped:e=>{const{normalize:n}=e;return n(["Stopped"])},status_unknown:e=>{const{normalize:n}=e;return n(["Unknown"])},title_cpu:e=>{const{normalize:n}=e;return n(["CPU"])},title_cpu_load:e=>{const{normalize:n}=e;return n(["CPU load"])},title_memory:e=>{const{normalize:n}=e;return n(["Memory"])},title_memory_load:e=>{const{normalize:n}=e;return n(["Memory load"])},title_name:e=>{const{normalize:n}=e;return n(["Name"])},title_pid:e=>{const{normalize:n}=e;return n(["PID"])}},toast:{backup_downloaded:e=>{const{normalize:n}=e;return n(["Backup file download successfully"])},backup_restored:e=>{const{normalize:n}=e;return n(["Backup file restored successfully"])},camera_added:e=>{const{normalize:n}=e;return n(["Camera added successfully"])},camera_removed:e=>{const{normalize:n}=e;return n(["Camera removed successfully"])},camera_updated:e=>{const{normalize:n}=e;return n(["Camera updated successfully"])},cameras_removed:e=>{const{normalize:n}=e;return n(["Cameras removed successfully"])},config_deleted:e=>{const{normalize:n}=e;return n(["Configuration deleted successfully"])},config_go2rtc_deleted:e=>{const{normalize:n}=e;return n(["Go2RTC configuration deleted successfully"])},config_go2rtc_updated:e=>{const{normalize:n}=e;return n(["Go2RTC configuration updated successfully"])},config_updated:e=>{const{normalize:n}=e;return n(["Configuration updated successfully"])},error_see_console:e=>{const{normalize:n}=e;return n(["Error, see console"])},frame_worker_restarted:e=>{const{normalize:n}=e;return n(["Frame worker restarted successfully"])},go2rtc_restarted:e=>{const{normalize:n}=e;return n(["Go2RTC restarted successfully"])},log_cleared:e=>{const{normalize:n}=e;return n(["Log cleared successfully"])},plugin_added:e=>{const{normalize:n}=e;return n(["Plugin added successfully"])},plugin_config_updated:e=>{const{normalize:n}=e;return n(["Plugin configuration updated successfully"])},plugin_disabled:e=>{const{normalize:n}=e;return n(["Plugin disabled successfully"])},plugin_enabled:e=>{const{normalize:n}=e;return n(["Plugin enabled successfully"])},plugin_removed:e=>{const{normalize:n}=e;return n(["Plugin removed successfully"])},plugin_request_sent:e=>{const{normalize:n}=e;return n(["Plugin request send successfully"])},plugin_restarted:e=>{const{normalize:n}=e;return n(["Plugin restarted successfully"])},plugin_settings_updated:e=>{const{normalize:n}=e;return n(["Plugin settings updated successfully"])},plugin_started:e=>{const{normalize:n}=e;return n(["Plugin started successfully"])},plugin_stopped:e=>{const{normalize:n}=e;return n(["Plugin stopped successfully"])},plugins_removed:e=>{const{normalize:n}=e;return n(["Plugins removed successfully"])},system_restarted:e=>{const{normalize:n}=e;return n(["System restarted successfully"])},user_added:e=>{const{normalize:n}=e;return n(["User added successfully"])},user_logged_out:e=>{const{normalize:n}=e;return n(["User logged out successfully"])},user_removed:e=>{const{normalize:n}=e;return n(["User removed successfully"])},user_updated:e=>{const{normalize:n}=e;return n(["User updated successfully"])},users_removed:e=>{const{normalize:n}=e;return n(["Users removed successfully"])},view_added:e=>{const{normalize:n}=e;return n(["View added successfully"])},view_removed:e=>{const{normalize:n}=e;return n(["View removed successfully"])},view_updated:e=>{const{normalize:n}=e;return n(["View updated successfully"])},views_removed:e=>{const{normalize:n}=e;return n(["Views removed successfully"])},zone_added:e=>{const{normalize:n}=e;return n(["Zone added successfully"])},zone_updated:e=>{const{normalize:n}=e;return n(["Zone updated successfully"])},zone_removed:e=>{const{normalize:n}=e;return n(["Zone removed successfully"])}},upload_files:{drop_or_select_file:e=>{const{normalize:n}=e;return n(["Drop or select file"])},only_one_file_allowed:e=>{const{normalize:n}=e;return n(["Only one file allowed"])}},user_table:{title_address:e=>{const{normalize:n}=e;return n(["Address"])},title_device:e=>{const{normalize:n}=e;return n(["Device"])},title_role:e=>{const{normalize:n}=e;return n(["Role"])},title_username:e=>{const{normalize:n}=e;return n(["Username"])},you:e=>{const{normalize:n}=e;return n(["You"])}},zone_editor:{zone:e=>{const{normalize:n}=e;return n(["Zone"])}}},general:{loading:e=>{const{normalize:n}=e;return n(["Loading..."])},role_admin:e=>{const{normalize:n}=e;return n(["Admin"])},role_user:e=>{const{normalize:n}=e;return n(["User"])}},navigation:{account:e=>{const{normalize:n}=e;return n(["Account"])},adminpanel:e=>{const{normalize:n}=e;return n(["Admin panel"])},appearance:e=>{const{normalize:n}=e;return n(["Appearance"])},backup:e=>{const{normalize:n}=e;return n(["Backup"])},cameras:e=>{const{normalize:n}=e;return n(["Cameras"])},camview:e=>{const{normalize:n}=e;return n(["Camview"])},config:e=>{const{normalize:n}=e;return n(["Configuration"])},console:e=>{const{normalize:n}=e;return n(["Console"])},nvr:e=>{const{normalize:n}=e;return n(["NVR"])},plugins:e=>{const{normalize:n}=e;return n(["Plugins"])},recordings:e=>{const{normalize:n}=e;return n(["Recordings"])},settings:e=>{const{normalize:n}=e;return n(["Settings"])},system:e=>{const{normalize:n}=e;return n(["System"])},user:e=>{const{normalize:n}=e;return n(["User"])}},navigation_description:{account_description:e=>{const{normalize:n}=e;return n(["Manage account settings & experience."])},appearance_description:e=>{const{normalize:n}=e;return n(["Manage app appearance & interface."])},backup_description:e=>{const{normalize:n}=e;return n(["Manage, schedule backups & restore data."])},nvr_description:e=>{const{normalize:n}=e;return n(["Manage Network Video Recorder system."])},recordings_description:e=>{const{normalize:n}=e;return n(["Manage recordings & storage options."])},system_description:e=>{const{normalize:n}=e;return n(["Manage system, monitor status & tasks."])},user_description:e=>{const{normalize:n}=e;return n(["Manage users, roles & permissions."])}},views:{404:{button_home:e=>{const{normalize:n}=e;return n(["Home"])},error_message:e=>{const{normalize:n}=e;return n(["The page you are looking for does not exist."])}},adminpanel:{currently_loggedin_users:e=>{const{normalize:n}=e;return n(["Currently logged in users"])},frameworker:e=>{const{normalize:n}=e;return n(["Frameworker"])},plugins:e=>{const{normalize:n}=e;return n(["Plugins"])},system:e=>{const{normalize:n}=e;return n(["System"])},title:e=>{const{normalize:n}=e;return n(["Admin panel"])}},camera:{detections:e=>{const{normalize:n}=e;return n(["Detections"])},timeline:e=>{const{normalize:n}=e;return n(["Timeline"])},title:e=>{const{normalize:n}=e;return n(["Camera"])}},cameras:{events:e=>{const{normalize:n}=e;return n(["Events"])},new_camera:e=>{const{normalize:n}=e;return n(["New camera"])},no_cameras:e=>{const{normalize:n}=e;return n(["No cameras available"])},title:e=>{const{normalize:n}=e;return n(["Cameras"])}},camview:{all_cameras:e=>{const{normalize:n}=e;return n(["All cameras"])},cameras:e=>{const{normalize:n}=e;return n(["Cameras"])},new_dnd:e=>{const{normalize:n}=e;return n(["New DND"])},new_view:e=>{const{normalize:n}=e;return n(["New View"])},no_dnds_configured:e=>{const{normalize:n}=e;return n(["No DNDs configured"])},no_views_configured:e=>{const{normalize:n}=e;return n(["No views configured"])},title:e=>{const{normalize:n}=e;return n(["Camview"])}},config:{title:e=>{const{normalize:n}=e;return n(["Configuration"])}},console:{title:e=>{const{normalize:n}=e;return n(["Console"])}},firststeps:{complete:e=>{const{normalize:n}=e;return n(["Complete"])},enjoy:e=>{const{normalize:n}=e;return n(["Enjoy!"])},finish_message:e=>{const{normalize:n}=e;return n(["You have successfully completed the first steps. You can now start using the application."])},step_account:e=>{const{normalize:n}=e;return n(["Account"])},step_appearance:e=>{const{normalize:n}=e;return n(["Appearance"])},step_finish:e=>{const{normalize:n}=e;return n(["Finish"])},title:e=>{const{normalize:n}=e;return n(["First steps"])}},login:{title:e=>{const{normalize:n}=e;return n(["Login"])}},new_camera:{camera:e=>{const{normalize:n}=e;return n(["Camera"])},camera_information:e=>{const{normalize:n}=e;return n(["Camera information"])},camera_settings:e=>{const{normalize:n}=e;return n(["Camera settings"])},interface_settings:e=>{const{normalize:n}=e;return n(["Interface settings"])},motion_detection:e=>{const{normalize:n}=e;return n(["Motion detection"])},motion_detection_settings:e=>{const{normalize:n}=e;return n(["Motion detection settings"])},motion_settings:e=>{const{normalize:n}=e;return n(["Motion settings"])},motion_zones:e=>{const{normalize:n}=e;return n(["Motion zones"])},recordings:e=>{const{normalize:n}=e;return n(["Recording"])},source:e=>{const{normalize:n}=e;return n(["Source"])},title:e=>{const{normalize:n}=e;return n(["New camera"])}},plugin:{changelog:e=>{const{normalize:n}=e;return n(["Changelog"])},no_changelog:e=>{const{normalize:n}=e;return n(["No changelog available"])},no_readme:e=>{const{normalize:n}=e;return n(["No readme available"])},plugin_settings:e=>{const{normalize:n}=e;return n(["Plugin settings"])},readme:e=>{const{normalize:n}=e;return n(["Readme"])},segment_tab_cameras:e=>{const{normalize:n}=e;return n(["Cameras"])},segment_tab_extensions:e=>{const{normalize:n}=e;return n(["Extensions"])},segment_tab_interface:e=>{const{normalize:n}=e;return n(["Interface"])},segment_tab_settings:e=>{const{normalize:n}=e;return n(["Settings"])},title:e=>{const{normalize:n}=e;return n(["Plugin"])}},plugins:{no_plugins:e=>{const{normalize:n}=e;return n(["No plugins available"])},title:e=>{const{normalize:n}=e;return n(["Plugins"])}},recordings:{title:e=>{const{normalize:n}=e;return n(["Recordings"])}},settings:{create_backup:e=>{const{normalize:n}=e;return n(["Create backup"])},create_backup_info:e=>{const{normalize:n}=e;return n(["Create a backup of the current configuration"])},locale:e=>{const{normalize:n}=e;return n(["Locale"])},password:e=>{const{normalize:n}=e;return n(["Password"])},profile:e=>{const{normalize:n}=e;return n(["Profile"])},registered_users:e=>{const{normalize:n}=e;return n(["Registered users"])},restore_backup:e=>{const{normalize:n}=e;return n(["Restore backup"])},restore_backup_info:e=>{const{normalize:n}=e;return n(["Restore a backup of the current configuration"])},theme:e=>{const{normalize:n}=e;return n(["Theme"])},title:e=>{const{normalize:n}=e;return n(["Settings"])},title_account:e=>{const{normalize:n}=e;return n(["Account"])},title_appearance:e=>{const{normalize:n}=e;return n(["Appearance"])},title_backup:e=>{const{normalize:n}=e;return n(["Backup"])},title_go2rtc:e=>{const{normalize:n}=e;return n(["Go2RTC"])},title_nvr:e=>{const{normalize:n}=e;return n(["NVR"])},title_recordings:e=>{const{normalize:n}=e;return n(["Recordings"])},title_system:e=>{const{normalize:n}=e;return n(["System"])},title_user:e=>{const{normalize:n}=e;return n(["User"])},user_table_title_role:e=>{const{normalize:n}=e;return n(["Role"])},user_table_title_username:e=>{const{normalize:n}=e;return n(["Username"])}}}}}),go=["af","ar","ar-ae","ar-bh","ar-dz","ar-eg","ar-iq","ar-jo","ar-kw","ar-lb","ar-ly","ar-ma","ar-om","ar-qa","ar-sa","ar-sy","ar-tn","ar-ye","as","ast","az","be","bg","bn","br","bs","ca","ce","ch","co","cr","cs","cv","cy","da","de","de-at","de-ch","de-de","de-li","de-lu","el","en","en-au","en-bz","en-ca","en-gb","en-ie","en-jm","en-nz","en-ph","en-tt","en-us","en-za","en-zw","eo","es","es-ar","es-bo","es-cl","es-co","es-cr","es-do","es-ec","es-es","es-gt","es-hn","es-mx","es-ni","es-pa","es-pe","es-pr","es-py","es-sv","es-uy","es-ve","et","eu","fa","fa-ir","fi","fj","fo","fr","fr-be","fr-ca","fr-ch","fr-fr","fr-lu","fr-mc","fur","fy","ga","gd","gd-ie","gl","gu","he","hi","hr","hsb","ht","hu","hy","id","is","it","it-ch","iu","ja","ji","ka","kk","km","kn","ko","ko-kp","ko-kr","ks","ky","la","lb","lt","lv","mi","mk","ml","mo","mr","ms","mt","my","nb","ne","ng","nl","nl-be","nn","no","nv","oc","om","or","pa","pa-in","pa-pk","pl","pt","pt-br","qu","rm","ro","ro-mo","ru","ru-mo","sa","sb","sc","sd","sg","si","sk","sl","so","sq","sr","sv","sv-fi","sv-sv","sw","sx","sz","ta","te","th","tig","tk","tlh","tn","tr","ts","tt","uk","ur","ve","vi","vo","wa","xh","zh","zh-cn","zh-hk","zh-sg","zh-tw","zu"],Ce="en",Kn=["de","en"],fo=e=>{var t;const n=o=>ho(go.find(i=>i===(o==null?void 0:o.toLowerCase())));return(t=window.navigator)!=null&&t.language?n(window.navigator.language):n("en")},ho=e=>{if(!e)return Ce;switch(e){case Kn.find(n=>n===e):return e;default:return Ce}},G=Bt({locale:fo(),fallbackLocale:Ce,messages:po,legacy:!1,globalInjection:!0}),Z=Ht.create({baseURL:`${location.origin}/api`});Z.interceptors.request.use(e=>{const{loginState:n}=Q();return n.access_token&&(e.headers.Authorization=`Bearer ${n.access_token}`),e},e=>Promise.reject(e));Z.interceptors.response.use(e=>e,async e=>{var o,i,c,m,l,u;const n=e.config,t=((i=(o=e.response)==null?void 0:o.data)==null?void 0:i.message)==="Token expired"||((l=(m=(c=e.response)==null?void 0:c.data)==null?void 0:m.message)==null?void 0:l.name)==="TokenExpiredError";if(((u=e.response)==null?void 0:u.status)===401&&t&&!n._retry){n._retry=!0;try{const{refreshToken:s}=Q();return await s(),Z(n)}catch(s){return Promise.reject(s)}}return Promise.reject(e)});const Wn=async e=>(await Z.get("/auth/check",{signal:e})).data,vo=async({parameter:e,clientData:n,signal:t})=>(await Z.get("/auth/tokens",{params:{...e,clientData:n},signal:t})).data,Gn=async({loginInformation:e})=>(await Z.post("/auth/login",e)).data,Qn=async()=>(await Z.post("/auth/logout")).data,bo=async({id:e,access_token:n})=>(await Z.post(`/auth/logout/${e}`,null,{params:{token:n}})).data,Jn=async({refresh_token:e})=>(await Z.post("/auth/refresh",{refresh_token:e})).data;class Dc{constructor(){ce(this,"_queryClient",Le());ce(this,"authStore",Q());ce(this,"queryActivator",V([{name:"checkQuery",enabled:!0},{name:"listQuery",enabled:!0}]))}get queryClient(){return this._queryClient}checkQuery(){var n;return se({queryKey:["auth",(n=this.authStore.loginState.user)==null?void 0:n.username],queryFn:({signal:t})=>Wn(t),enabled:()=>this.queryActivator.value.some(t=>t.name==="checkQuery"&&t.enabled)})}listQuery(n,t=!1){return se({queryKey:["tokensList",n],queryFn:({signal:o})=>vo({parameter:a(n),clientData:t,signal:o}),placeholderData:o=>o,enabled:()=>this.queryActivator.value.some(o=>o.name==="listQuery"&&o.enabled)})}loginQuery(){return q({mutationFn:Gn})}logoutQuery(){return q({mutationFn:Qn})}logoutTokenQuery(){return q({mutationFn:bo,onSuccess:async()=>{await this._queryClient.refetchQueries({queryKey:["tokensList"]}),W.success(G.global.t("components.toast.user_logged_out"))}})}refreshQuery(){return q({mutationFn:Jn})}toggleQueryActivator(n,t){const o=this.queryActivator.value.find(i=>i.name===n);o&&(o.enabled=t)}}const wo=async({userData:e})=>(await Z.post("/users",e)).data,yo=async({username:e,signal:n})=>(await Z.get(`/users/${e}`,{signal:n})).data,ko=async({parameter:e,signal:n})=>(await Z.get("/users",{params:e,signal:n})).data,xe=async({username:e,userData:n})=>(await Z.patch(`/users/${e}`,n)).data,Co=async({username:e})=>(await Z.delete(`/users/${e}`)).data,xo=async()=>(await Z.delete("/users")).data,So=async({username:e,cameraname:n,shortcutData:t})=>(await Z.post(`/users/${e}/preferences/cameras/${n}/shortcuts`,t)).data,Mo=async({username:e,cameraname:n,shortcutid:t,signal:o})=>(await Z.get(`/users/${e}/preferences/cameras/${n}/shortcuts/${t}`,{signal:o})).data,$o=async({username:e,cameraname:n,signal:t})=>(await Z.get(`/users/${e}/preferences/cameras/${n}/shortcuts`,{signal:t})).data,Vo=async({username:e,cameraname:n,shortcutid:t,shortcutData:o})=>(await Z.patch(`/users/${e}/preferences/cameras/${n}/shortcuts/${t}`,o)).data,Lo=async({username:e,cameraname:n,shortcutid:t})=>(await Z.delete(`/users/${e}/preferences/cameras/${n}/shortcuts/${t}`)).data,Ao=async({username:e,cameraname:n})=>(await Z.delete(`/users/${e}/preferences/cameras/${n}/shortcuts`)).data,Bo=async({username:e,viewData:n})=>(await Z.post(`/users/${e}/preferences/camview/views`,n)).data,Po=async({username:e,viewid:n,signal:t})=>(await Z.get(`/users/${e}/preferences/camview/views/${n}`,{signal:t})).data,Ho=async({username:e,parameter:n,signal:t})=>(await Z.get(`/users/${e}/preferences/camview/views`,{params:n,signal:t})).data,bn=async({username:e,viewid:n,viewData:t})=>(await Z.patch(`/users/${e}/preferences/camview/views/${n}`,t)).data,Eo=async({username:e,viewid:n})=>(await Z.delete(`/users/${e}/preferences/camview/views/${n}`)).data,Zo=async({username:e})=>(await Z.delete(`/users/${e}/preferences/camview/views`)).data;class Nc{constructor(){ce(this,"_queryClient",Le());ce(this,"queryActivator",V([{name:"getUserQuery",enabled:!0},{name:"getUsersQuery",enabled:!0},{name:"getShortcutQuery",enabled:!0},{name:"getShortcutsQuery",enabled:!0},{name:"getViewQuery",enabled:!0},{name:"getViewsQuery",enabled:!0}]))}get queryClient(){return this._queryClient}createUserQuery(){return q({mutationFn:wo,onSuccess:async()=>{await this._queryClient.refetchQueries({queryKey:["usersList"]}),W.success(G.global.t("components.toast.user_added"))}})}getUserQuery(n){return se({queryKey:["users",n],queryFn:({signal:t})=>yo({username:a(n),signal:t}),enabled:()=>this.queryActivator.value.some(t=>t.name==="getUserQuery"&&t.enabled)})}getUsersQuery(n){return se({queryKey:["usersList",n],queryFn:({signal:t})=>ko({parameter:a(n),signal:t}),placeholderData:t=>t,enabled:()=>this.queryActivator.value.some(t=>t.name==="getUsersQuery"&&t.enabled)})}patchUserQuery(){return q({mutationFn:async({username:n,userData:t,formData:o})=>{await xe({username:n,userData:t}),o&&await xe({username:n,userData:o})},onSuccess:async(n,t)=>{await this._queryClient.refetchQueries({queryKey:["users",t.username]}),W.success(G.global.t("components.toast.user_updated"))}})}removeUserQuery(){return q({mutationFn:Co,onSuccess:async()=>{await this._queryClient.refetchQueries({queryKey:["usersList"]}),W.success(G.global.t("components.toast.user_removed"))}})}removeUsersQuery(){return q({mutationFn:xo,onSuccess:async()=>{await this._queryClient.refetchQueries({queryKey:["usersList"]}),W.success(G.global.t("components.toast.users_removed"))}})}createShortcutQuery(){return q({mutationFn:So,onSuccess:async(n,t)=>{await this._queryClient.refetchQueries({queryKey:["shortcutsList",t.username]})}})}getShortcutQuery(n,t,o){return se({queryKey:["shortcutsList",n],queryFn:({signal:i})=>Mo({username:a(n),cameraname:a(t),shortcutid:a(o),signal:i}),enabled:()=>this.queryActivator.value.some(i=>i.name==="getShortcutQuery"&&i.enabled)})}getShortcutsQuery(n,t){return se({queryKey:["shortcutsList",n],queryFn:({signal:o})=>$o({username:a(n),cameraname:a(t),signal:o}),placeholderData:o=>o,enabled:()=>this.queryActivator.value.some(o=>o.name==="getShortcutsQuery"&&o.enabled)})}patchShortcutQuery(){return q({mutationFn:Vo,onSuccess:async(n,t)=>{await this._queryClient.refetchQueries({queryKey:["shortcutsList",t.username]})},onError:n=>{console.log(n),W.success(G.global.t("components.toast.error_see_console"))}})}removeShortcutQuery(){return q({mutationFn:Lo,onSuccess:async(n,t)=>{await this._queryClient.refetchQueries({queryKey:["shortcutsList",t.username]})},onError:n=>{console.log(n),W.success(G.global.t("components.toast.error_see_console"))}})}removeShortcutsQuery(){return q({mutationFn:Ao,onSuccess:async(n,t)=>{await this._queryClient.refetchQueries({queryKey:["shortcutsList",t.username]})},onError:n=>{console.log(n),W.success(G.global.t("components.toast.error_see_console"))}})}createViewQuery(){return q({mutationFn:Bo,onSuccess:async(n,t)=>{await this._queryClient.refetchQueries({queryKey:["viewsList",t.username]}),W.success(G.global.t("components.toast.view_added"))}})}getViewQuery(n,t){return se({queryKey:["viewsList",n],queryFn:({signal:o})=>Po({username:a(n),viewid:a(t),signal:o}),enabled:()=>this.queryActivator.value.some(o=>o.name==="getUserQuery"&&o.enabled)})}getViewsQuery(n,t){return se({queryKey:["viewsList",n,t],queryFn:({signal:o})=>Ho({username:a(n),parameter:a(t),signal:o}),placeholderData:o=>o,enabled:()=>this.queryActivator.value.some(o=>o.name==="getViewsQuery"&&o.enabled)})}patchViewQuery(){return q({mutationFn:bn,onSuccess:async(n,t)=>{await this._queryClient.refetchQueries({queryKey:["viewsList",t.username]}),W.success(G.global.t("components.toast.view_updated"))}})}patchViewQuerySilent(){return q({mutationFn:bn,onSuccess:async(n,t)=>{await this._queryClient.invalidateQueries({queryKey:["viewsList",t.username]})}})}removeViewQuery(){return q({mutationFn:Eo,onSuccess:async(n,t)=>{await this._queryClient.refetchQueries({queryKey:["viewsList",t.username]}),W.success(G.global.t("components.toast.view_removed"))}})}removeViewsQuery(){return q({mutationFn:Zo,onSuccess:async(n,t)=>{await this._queryClient.refetchQueries({queryKey:["viewsList",t.username]}),W.success(G.global.t("components.toast.views_removed"))}})}toggleQueryActivator(n,t){const o=this.queryActivator.value.find(i=>i.name===n);o&&(o.enabled=t)}}const Xn=Symbol(),Yn={client:null,api:null,install(e){e.provide(Xn,this),this.initializeBasedOnAuth()},async initializeBasedOnAuth(){const e=Q();Tt(()=>{const{access_token:n,user:t}=e.loginState;n&&(t==null?void 0:t.role)==="admin"?this.initialize({endpoint:window.origin,token:n,logger:{...console,attention:console.warn}}):this.disconnect()})},async initialize(e){this.client=new Gt(e),this.api=await this.client.connect()},async updateCredentials(e){var n;await((n=this.client)==null?void 0:n.updateCredentials(e))},async disconnect(){var e;await((e=this.client)==null?void 0:e.disconnect()),this.client=null,this.api=null},getClient(){if(!this.client)throw new Error("camera.ui client is not initialized!");return this.client},getAPI(){if(!this.api)throw new Error("camera.ui api is not initialized!");return this.api}};function Oc(){const e=It(Xn);if(!e)throw new Error("camera.ui client is not installed!");return{client:e.getClient(),api:e.getAPI()}}const Ie=e=>{const t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),o=decodeURIComponent(atob(t).split("").map(i=>"%"+("00"+i.charCodeAt(0).toString(16)).slice(-2)).join(""));return JSON.parse(o)},Q=Be("auth",()=>{var z;const e=me(),n=Re(),t=Zn("user",null,{serializer:{read:f=>f?JSON.parse(f):null,write:f=>JSON.stringify(f)}}),o=V(!1),i=An({user:t.value!==null?Ie(t.value.access_token):null,access_token:((z=t.value)==null?void 0:z.access_token)??null});R(e,()=>{o.value=!1},{deep:!0}),R(t,f=>{!f&&i.user&&m()},{deep:!0});const c=async f=>{o.value=!0;const v=await Gn({loginInformation:f});t.value=v,i.user=Ie(v.access_token),i.access_token=v.access_token,n.push("/cameras")},m=async()=>{o.value=!0,await Qn(),u(),t.value=null,i.user=null,i.access_token=null,n.push("/"),window.location.reload()},l=async()=>{const f=await Jn({refresh_token:t.value.refresh_token});await Yn.updateCredentials({endpoint:window.origin,token:f.access_token}),t.value.access_token=f.access_token,i.user=Ie(f.access_token),i.access_token=f.access_token},u=()=>{"serviceWorker"in navigator&&navigator.serviceWorker.ready.then(f=>{f.pushManager.getSubscription().then(v=>{v&&v.unsubscribe()})})};return{loading:o,loginState:i,user:t,login:c,logout:m,refreshToken:l,updateUser:async(f,v,w)=>{f&&await xe({username:i.user.username,userData:f}),v&&await xe({username:i.user.username,userData:v}),w&&await l()}}}),To=(e,n="ddd., D. MMM. YYYY")=>(typeof e=="number"&&(e=new Date(e)),Yt(e,n).value),Se=(e="logo-512.png")=>{var i,c;if(e.startsWith("data:")||e.startsWith("blob:"))return e;if(e.startsWith(location.origin))return location.origin+e;if(e==="ERROR"&&(e="error-256.png"),e==="avatar"){const m=Q(),l=(i=m.loginState.user)==null?void 0:i.avatar,u=(c=m.user)==null?void 0:c.access_token;if(u&&l)return`${location.origin}/api/files/${l}?token=${u}`;e="logo-512.png"}const t=`/src/assets/images/${e}`,o=Object.assign({"/src/assets/css/extras.css":eo,"/src/assets/css/main.css":Wr,"/src/assets/css/markdown.css":Gr,"/src/assets/css/tailwind.css":Qr,"/src/assets/css/themes.css":Jr,"/src/assets/css/transitions.css":Xr,"/src/assets/css/utils.css":Yr,"/src/assets/images/error-256.png":to,"/src/assets/images/logo-256.png":ro,"/src/assets/images/logo-512.png":ao,"/src/assets/images/logo.png":so,"/src/assets/images/logo.svg":co,"/src/assets/images/logo_animated.svg":mo,"/src/assets/images/logo_loading_circle.svg":zo});return o[t]?o[t].default:""},jc=(e,n)=>({timestamp:[...e].sort((o,i)=>(typeof o!="number"&&(o=o.getTime()),typeof i!="number"&&(i=i.getTime()),typeof n!="number"&&(n=n.getTime()),Math.abs(o-n)-Math.abs(i-n)))[0],findDate:n}),Fc=(e=new Date)=>{const o=Math.floor(e.getTime()/1e3)*1e3,i=o-e.getTime();return{date:new Date(o),rounded:i}},Rc=(e=new Date)=>{const o=Math.ceil(e.getTime()/15e3)*15e3,i=o-e.getTime();return{date:new Date(o),rounded:i}},qc=(e=new Date)=>{const o=Math.ceil(e.getTime()/12e4)*12e4,i=o-e.getTime();return{date:new Date(o),rounded:i}},Uc=(e=new Date)=>{const o=Math.ceil(e.getTime()/9e5)*9e5,i=o-e.getTime();return{date:new Date(o),rounded:i}},Kc=(e=new Date)=>{const o=Math.ceil(e.getTime()/18e5)*18e5,i=o-e.getTime();return{date:new Date(o),rounded:i}},Wc=(e=new Date)=>(e.setMinutes(e.getMinutes()+30),e.setMinutes(0,0,0),{date:e,rounded:0}),Gc=async e=>new Promise(n=>{var o;e.preventDefault();const t=(o=e.target)==null?void 0:o.files;if(t){const i=t[0],c=new FileReader;i?(c.onload=m=>{var u,s;const l=(u=m.target)!=null&&u.result?(s=m.target)==null?void 0:s.result:void 0;n(l)},c.readAsDataURL(i)):n(void 0)}}),Qc=(e=10)=>{const n=()=>Math.floor(Math.random()*25+10).toString(36);return Array.from({length:e},n).join("")};function Jc(e){const n=t=>Array.isArray(t)?t.map(o=>n(o)):ge(t)||Dt(t)||Nt(t)?n(Ot(t)):t&&typeof t=="object"?Object.keys(t).reduce((o,i)=>(o[i]=n(t[i]),o),{}):t;return n(e)}const Io={class:"loader flex flex-col justify-center items-center"},Do={class:"text-center text-white text-xl font-bold mt-2"},No=J({__name:"VLoadingLogo",props:{reload:{type:Boolean,default:!1},height:{default:"200px"},width:{default:"200px"},text:{}},setup(e){const n=e,{reload:t,width:o,height:i,text:c}=te(n);let m,l;const u=()=>{clearInterval(m),clearTimeout(l)};return he(()=>{u(),t.value&&(m=setInterval(()=>{const s=document.getElementById("lens");s==null||s.classList.remove("cameraLens");const z=document.getElementById("CameraUI_U");z==null||z.classList.remove("cameraLetter"),l=setTimeout(()=>{s==null||s.classList.add("cameraLens"),z==null||z.classList.add("cameraLetter")},100)},2300))}),Bn(()=>{u()}),(s,z)=>(h(),C("div",Io,[p(a(Ln),{src:a(Se)("logo_loading_circle.svg"),width:a(o),height:a(i),title:"camera.ui","aria-label":"camera.ui"},null,8,["src","width","height"]),d("div",Do,x(a(c)),1)]))}}),B=(e,n)=>{const t=e.__vccOpts||e;for(const[o,i]of n)t[o]=i;return t},Oo=B(No,[["__scopeId","data-v-822a923c"]]),jo=J({__name:"VImage",props:{src:{},srcset:{},lazySrc:{},aspectRatio:{},cover:{type:Boolean,default:!1},eager:{type:Boolean,default:!1},width:{},height:{},errorWidth:{},errorHeight:{},alt:{default:"camera.ui"},contentClass:{},gradient:{},inline:{type:Boolean,default:!1},maxHeight:{type:[String,Boolean]},maxWidth:{type:[String,Boolean]},minWidth:{type:[String,Boolean]},minHeight:{type:[String,Boolean]},options:{},sizes:{},transition:{default:"fade-transition"},spinnerSize:{default:20},spinnerWidth:{default:3},spinnerColor:{default:"#df2a4c"},errorIconSize:{default:"large"},errorIconColor:{default:"red"},placeholderStyle:{},errorStyle:{}},setup(e){const n=e,{src:t,width:o,height:i,aspectRatio:c,cover:m,errorHeight:l,errorWidth:u}=te(n);return(s,z)=>(h(),j(zn,{src:a(Se)(a(t)),width:a(o),height:a(i),"aspect-ratio":a(c),cover:a(m),alt:s.alt},{placeholder:g(()=>[d("div",{class:"flex items-center justify-center h-full",style:F(s.placeholderStyle)},[p(sr,{color:s.spinnerColor,size:s.spinnerSize,width:s.spinnerWidth,indeterminate:""},null,8,["color","size","width"])],4)]),error:g(()=>[p(zn,{src:a(Se)("ERROR"),width:a(u)||a(o),height:a(l)||a(i),"aspect-ratio":a(c),cover:a(m)},null,8,["src","width","height","aspect-ratio","cover"])]),_:1},8,["src","width","height","aspect-ratio","cover","alt"]))}}),Fo={key:0,class:"profile-name mt-5 text-center text-white"},Ro={key:1,class:"profile-role text-center"},qo=J({__name:"VProfileAvatar",props:{showBorder:{type:Boolean,default:!1},showName:{type:Boolean,default:!1},showRole:{type:Boolean,default:!1},size:{default:20},spinnerSize:{default:"default"},spinnerWidth:{default:2},src:{}},setup(e){const n=e,{showBorder:t,showName:o,showRole:i,size:c,src:m,spinnerSize:l,spinnerWidth:u}=te(n),{loginState:s}=ue(Q()),z=H(()=>{const f=c.value.toString().split(/.*(?:\D|^)(\d+)/).filter(Boolean);return f[0]+(f[1]??"px")});return(f,v)=>{var _,b,M;const w=jo;return h(),C("div",{class:"flex flex-col justify-center avatar cursor-pointer",style:F(`border-radius: calc(${a(z)} / 2); background: var(--background-img)`)},[p(w,{src:a(m),height:a(c),width:a(c),cover:"",class:le({"avatar-border":a(t)}),style:F(`border-radius: calc(${a(z)} / 2); background: var(--background-img) `),"spinner-size":a(l),"spinner-width":a(u)},null,8,["src","height","width","class","style","spinner-size","spinner-width"]),a(o)?(h(),C("div",Fo,x((_=a(s).user)==null?void 0:_.username),1)):T("",!0),a(i)?(h(),C("div",Ro,x((b=a(s).user)!=null&&b.role?f.$t(`general.role_${(M=a(s).user)==null?void 0:M.role.toLowerCase()}`):""),1)):T("",!0)],4)}}}),et=B(qo,[["__scopeId","data-v-f45a5b95"]]),Uo="modulepreload",Ko=function(e){return"/"+e},wn={},O=function(n,t,o){let i=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),m=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));i=Promise.all(t.map(l=>{if(l=Ko(l),l in wn)return;wn[l]=!0;const u=l.endsWith(".css"),s=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${s}`))return;const z=document.createElement("link");if(z.rel=u?"stylesheet":Uo,u||(z.as="script",z.crossOrigin=""),z.href=l,m&&z.setAttribute("nonce",m),document.head.appendChild(z),u)return new Promise((f,v)=>{z.addEventListener("load",f),z.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${l}`)))})}))}return i.then(()=>n()).catch(c=>{const m=new Event("vite:preloadError",{cancelable:!0});if(m.payload=c,window.dispatchEvent(m),!m.defaultPrevented)throw c})},Wo={},Go=e=>(Oe("data-v-f8e8c91a"),e=e(),je(),e),Qo={class:"flex flex-col justify-center items-center px-5"},Jo=Go(()=>d("div",{class:"flex flex-row justify-center items-center"},[d("span",{class:"error-big-letter",style:{"margin-right":"-35px"}},"4"),d("img",{src:qe,width:"140"}),d("span",{class:"error-big-letter",style:{"margin-left":"-35px"}},"4")],-1)),Xo={class:"error-subtitle text-center",style:{"margin-top":"-10px"}};function Yo(e,n){return h(),C("main",Qo,[Jo,d("h2",Xo,x(e.$t("views.404.error_message")),1),p(X,{class:"mt-7",onClick:n[0]||(n[0]=ne(t=>e.$router.push({path:"/cameras"}),["prevent"]))},{default:g(()=>[E(x(e.$t("views.404.button_home")),1)]),_:1})])}const ea=B(Wo,[["render",Yo],["__scopeId","data-v-f8e8c91a"]]),nt=r.object({enabled:r.boolean().default(!1)}).strict(),Ue=r.object({_id:r.string().default(K()).transform(()=>K()),points:r.tuple([r.number(),r.number()])}),na=r.union([r.literal("person"),r.literal("bicycle"),r.literal("car"),r.literal("motorcycle"),r.literal("airplane"),r.literal("bus"),r.literal("train"),r.literal("truck"),r.literal("boat"),r.literal("traffic light"),r.literal("fire hydrant"),r.literal("stop sign"),r.literal("parking meter"),r.literal("bench"),r.literal("bird"),r.literal("cat"),r.literal("dog"),r.literal("horse"),r.literal("sheep"),r.literal("cow"),r.literal("elephant"),r.literal("bear"),r.literal("zebra"),r.literal("giraffe"),r.literal("backpack"),r.literal("umbrella"),r.literal("handbag"),r.literal("tie"),r.literal("suitcase"),r.literal("frisbee"),r.literal("skis"),r.literal("snowboard"),r.literal("sports ball"),r.literal("kite"),r.literal("baseball bat"),r.literal("baseball glove"),r.literal("skateboard"),r.literal("surfboard"),r.literal("tennis racket"),r.literal("bottle"),r.literal("wine glass"),r.literal("cup"),r.literal("fork"),r.literal("knife"),r.literal("spoon"),r.literal("bowl"),r.literal("banana"),r.literal("apple"),r.literal("sandwich"),r.literal("orange"),r.literal("broccoli"),r.literal("carrot"),r.literal("hot dog"),r.literal("pizza"),r.literal("donut"),r.literal("cake"),r.literal("chair"),r.literal("couch"),r.literal("potted plant"),r.literal("bed"),r.literal("dining table"),r.literal("toilet"),r.literal("tv"),r.literal("laptop"),r.literal("mouse"),r.literal("remote"),r.literal("keyboard"),r.literal("cell phone"),r.literal("microwave"),r.literal("oven"),r.literal("toaster"),r.literal("sink"),r.literal("refrigerator"),r.literal("book"),r.literal("clock"),r.literal("vase"),r.literal("scissors"),r.literal("teddy bear"),r.literal("hair drier"),r.literal("toothbrush"),r.literal("motion")]),ta=r.object({_id:r.string().default(K()).transform(()=>K()),coords:Ue.array().min(3,"Minimum 3 points are required"),type:r.union([r.literal("intersect"),r.literal("contain")]).default("contain"),filter:r.union([r.literal("include"),r.literal("exclude")]).default("include"),classes:na.array(),isPrivacyMask:r.boolean().default(!1)}).strict(),tt=r.object({name:r.string().min(1,"Zone Name is required"),regions:ta.array()}),rt=r.object({motion:r.object({timeout:r.number().min(10,"Minimum 10 seconds")}),object:r.object({confidence:r.number().min(.3,"Minimum 0.3")})}),ot=r.union([r.literal("high-resolution"),r.literal("mid-resolution"),r.literal("low-resolution"),r.literal("snapshot")]),ra=r.object({_id:r.string().default(K()).transform(()=>K()),name:r.string().min(1,"Camera Source Name is required").transform(e=>e.replace(/ /g,"_").toLowerCase()),roles:ot.array().min(1,"Minimum one role is required"),urls:r.string().array()}).strict(),oa=r.object({_id:r.string().default(K()).transform(()=>K()),name:r.string().min(1,"Camera Source Name is required").transform(e=>e.replace(/ /g,"_").toLowerCase()),roles:ot.array().min(1,"Minimum one role is required"),urls:r.string().array()}).strict(),at=r.object({hub:r.string().array().optional(),prebuffer:r.string().optional(),motionDetection:r.string().optional(),audioDetection:r.string().optional(),objectDetection:r.string().optional(),ptz:r.string().optional(),plugins:r.string().array()}).strict(),aa=r.union([r.literal("mse"),r.literal("webrtc"),r.literal("webrtc/tcp"),r.literal("mjpeg"),r.literal("hls"),r.literal("mp4")]),it=r.object({decoder:r.union([r.literal("pillow"),r.literal("wasm")]),fps:r.number().min(5,"Minimum 5 fps").max(10,"Maximum 10 fps"),resolution:r.union([r.literal(640),r.literal(480),r.literal(320)])}),st=r.union([r.literal("camera"),r.literal("doorbell")]),lt=r.object({streamingMode:aa}),ct=r.object({model:r.string(),manufacturer:r.string(),hardware:r.string(),serialNumber:r.string(),firmwareVersion:r.string(),supportUrl:r.string()}),Xc=r.object({_id:r.string().default(K()).transform(()=>K()),nativeId:r.string().optional(),pluginId:r.string().default("native"),disabled:r.boolean().default(!1),name:r.string().min(1,"Camera name is required"),type:st.default("camera"),isCloud:r.boolean().default(!1),hasLight:r.boolean().default(!1),hasSiren:r.boolean().default(!1),hasBinarySensor:r.boolean().default(!1),hasBattery:r.boolean().default(!1),info:ct.default({model:"IP Camera",manufacturer:"camera.ui",hardware:"Camera",serialNumber:"Unknown",firmwareVersion:"Unknown",supportUrl:"Unknown"}),sources:ra.array().refine(e=>e.some(n=>n.roles.includes("high-resolution")||n.roles.includes("mid-resolution")||n.roles.includes("low-resolution")),{path:["sources[].roles"],message:'One of the roles "high-resolution", "mid-resolution" or "low-resolution" is required'}),extensions:at.default({hub:[],plugins:[]}),recording:nt.default({enabled:!1}),interface:lt.default({streamingMode:"webrtc"}),activityZones:tt.array().default([]),activitySettings:rt.default({motion:{timeout:20},object:{confidence:.7}}),frameWorkerSettings:it.default({decoder:"wasm",fps:10,resolution:640})}).strict(),Yc=r.object({disabled:r.boolean().optional(),type:st.optional(),name:r.string().min(1,"Camera name is required").optional(),info:ct.partial().optional(),sources:oa.array().refine(e=>e.some(n=>n.roles.includes("high-resolution")||n.roles.includes("mid-resolution")||n.roles.includes("low-resolution")),{path:["sources[].roles"],message:'One of the roles "high-resolution", "mid-resolution" or "low-resolution" is required'}).optional(),extensions:at.partial().optional(),interface:lt.partial().optional(),recording:nt.partial().optional(),activityZones:tt.array().optional(),activitySettings:rt.partial().optional(),frameWorkerSettings:it.optional()}).strict();r.record(r.any());r.object({url:r.string()}).strict();const ia=/^((@[\w-.]*)\/)?(camera-ui-[\w-]*)$/;var sa=(e=>(e.READY="ready",e.STARTING="starting",e.STARTED="started",e.STOPPED="stopped",e.ERROR="error",e.UNKNOWN="unknown",e.DISABLED="disabled",e))(sa||{});const yn=["image/jpeg","image/png"],kn=2e6,Cn=["video/mp4","video/quicktime"],xn=1e7,Sn=["audio/mpeg","audio/wav","audio/ogg"],Mn=2e6;r.object({pluginname:r.string().refine(e=>ia.test(e),"Not a valid plugin name"),pluginversion:r.string().optional().default("latest")}).strict();r.object({actionId:r.string(),payload:r.any()}).strict();r.record(r.any(),r.any());r.object({upload:r.custom().refine(e=>(t=>t.mimetype!==void 0)(e)?Buffer.byteLength(e._buf)<=kn:e.size<=kn,"Max file size is 2 MB").refine(e=>(t=>t.mimetype!==void 0)(e)?yn.includes(e.mimetype):yn.includes(e.type),".jpeg and .png files are accepted"),metadata:r.custom().transform(e=>JSON.parse(e.value)),config:r.custom().transform(e=>JSON.parse(e.value))});r.object({upload:r.custom().refine(e=>(t=>t.mimetype!==void 0)(e)?Buffer.byteLength(e._buf)<=Mn:e.size<=Mn,"Max file size is 2 MB").refine(e=>(t=>t.mimetype!==void 0)(e)?Sn.includes(e.mimetype):Sn.includes(e.type),".mp3, .wav and .ogg files are accepted"),metadata:r.custom().transform(e=>JSON.parse(e.value)),config:r.custom().transform(e=>JSON.parse(e.value))});r.object({upload:r.custom().refine(e=>(t=>t.mimetype!==void 0)(e)?Buffer.byteLength(e._buf)<=xn:e.size<=xn,"Max file size is 5 MB").refine(e=>(t=>t.mimetype!==void 0)(e)?Cn.includes(e.mimetype):Cn.includes(e.type),".mp4 files are accepted"),config:r.custom().transform(e=>JSON.parse(e.value))});const $n=["image/jpeg","image/jpg","image/png"],Vn=5e6,ut=r.object({index:r.number(),cameraId:r.string()}),mt=r.union([r.literal(1),r.literal(4),r.literal(6),r.literal(7),r.literal(9),r.literal(10),r.literal(12),r.literal(13),r.literal(15),r.literal(16),r.literal(20),r.literal(26)]),la=r.union([r.literal("dnd"),r.literal("view")]),dt=r.object({_id:r.string().default(K()).transform(()=>K()),name:r.string().min(1,"Layout name is required"),viewSize:mt,cameras:ut.array(),type:la});r.object({name:r.string().min(1,"Layout name is required"),viewSize:mt,cameras:ut.array()}).partial().optional();const ca=r.object({views:dt.array()}),ua=r.object({_id:r.string().default(K()).transform(()=>K()),cameraId:r.string(),coords:Ue});r.object({cameraId:r.string(),coords:Ue}).partial().optional();const ma=r.object({shortcuts:ua.array()}),_t=r.object({camview:ca,cameras:r.record(r.string(),ma)}),da=r.object({_id:r.string().default(K()).transform(()=>K()),username:r.string().min(1,"Username is required"),password:r.string().min(1,"Password is required").min(8,"Password must be more than 8 characters").max(32,"Password must be less than 32 characters"),passwordConfirm:r.string().min(1,"Please confirm your password"),role:r.union([r.literal("admin"),r.literal("user")]),sessionTimer:r.number().min(3600,"Session timer must not be less than 3600 seconds (1h)").max(86400,"Session timer must not be greater than 86400 seconds (24h)").default(14400),rememberMe:r.boolean().default(!1),oneLogin:r.boolean().default(!1),firstLogin:r.boolean().default(!0),preferences:_t.default({camview:{views:[]},cameras:{}})}).strict().refine(e=>e.password===e.passwordConfirm,{path:["passwordConfirm"],message:"Passwords do not match"}),_a=r.object({username:r.string().min(1,"Username is required"),password:r.string().min(1,"Password is required"),rememberMe:r.boolean().default(!1)}).strict(),za=r.object({password:r.string().min(8,"Password must be more than 8 characters").max(32,"Password must be less than 32 characters").optional(),passwordConfirm:r.string().optional(),role:r.union([r.literal("admin"),r.literal("user")]).optional(),sessionTimer:r.number().min(3600,"Session timer must not be less than 3600 seconds (1h)").max(86400,"Session timer must not be greater than 86400 seconds (24h)").optional(),upload:r.optional(r.custom().refine(e=>(t=>t.mimetype!==void 0)(e)?Buffer.byteLength(e._buf)<=Vn:e.size<=Vn,"Max file size is 5MB.").refine(e=>(t=>t.mimetype!==void 0)(e)?$n.includes(e.mimetype):$n.includes(e.type),".jpg, .jpeg, .png files are accepted.")),rememberMe:r.boolean().optional(),oneLogin:r.boolean().optional(),firstLogin:r.boolean().optional(),preferences:_t.partial().optional()}).strict().refine(e=>e.password===e.passwordConfirm,{path:["passwordConfirm"],message:"Passwords do not match"}),pa=Pe(_a),eu=Pe(da),nu=Pe(za),tu=Pe(dt),ga=Tn(er),fa=Tn(nr);function ve(){const{angle:e}=ga(),n=fa({listenOrientation:!0}),t=H(()=>{let s=n.width.value;return e.value>0&&(screen.height>screen.width?s=screen.height:s=screen.width),s<=360}),o=H(()=>{let s=n.width.value;return e.value>0&&(screen.height>screen.width?s=screen.height:s=screen.width),s<=450}),i=H(()=>{let s=n.width.value;return e.value>0&&(screen.height>screen.width?s=screen.height:s=screen.width),s<640}),c=H(()=>{let s=n.width.value;return e.value>0&&(screen.height>screen.width?s=screen.height:s=screen.width),s<768}),m=H(()=>{let s=n.width.value;return e.value>0&&(screen.height>screen.width?s=screen.height:s=screen.width),s>768&&s<1024}),l=H(()=>{let s=n.width.value;return e.value>0&&(screen.height>screen.width?s=screen.height:s=screen.width),s>=1024}),u=H(()=>{let s=n.width.value;return e.value>0&&(screen.height>screen.width?s=screen.height:s=screen.width),s>=1280});return{superSmallMobileActive:t,extraSmallMobileActive:o,smallMobileActive:i,mobileActive:c,tabletActive:m,desktopActive:l,bigDesktopActive:u}}const Ke=e=>(Oe("data-v-edac69ef"),e=e(),je(),e),ha={class:"flex flex-col justify-center items-center h-full",style:{padding:"0"}},va={class:"login flex flex-col items-center"},ba=Ke(()=>d("div",{class:"flex flex-col items-center justify-center mt-safe mb-10"},[d("img",{src:qe,alt:"camera.ui",width:"90"}),d("div",{class:"text-xl ml-3 font-bold text-color"},"camera.ui")],-1)),wa={for:"username",class:"v-label"},ya=Ke(()=>d("div",{class:"py-2"},null,-1)),ka={class:"relative"},Ca={for:"password",class:"v-label"},xa={class:"w-100 mt-2 flex flex-col"},Sa={class:"ml-auto flex"},Ma={class:"v-label m-0 mb-0 mr-2",for:"rememberMe"},$a={class:"mt-6"},Va={href:"#",class:"input-link block mt-3"},La=Ke(()=>d("div",{class:"login-footer"},"camera.ui v1.0.0",-1)),Aa=J({__name:"Login",setup(e){const n=Q(),{loading:t}=ue(n),{extraSmallMobileActive:o}=ve(),i=V(!1);R(o,m=>{m?document.documentElement.classList.add("disable-overflow-scroll"):document.documentElement.classList.remove("disable-overflow-scroll")});const c=async m=>{var l,u,s,z;try{await n.login(m)}catch(f){console.error(((u=(l=f.response)==null?void 0:l.data)==null?void 0:u.message)??f.message??f),W.error(((z=(s=f.response)==null?void 0:s.data)==null?void 0:z.message)??f.message??f),t.value=!1}};return he(()=>{o.value&&document.documentElement.classList.add("disable-overflow-scroll")}),Fe(()=>{document.documentElement.classList.remove("disable-overflow-scroll")}),(m,l)=>(h(),C("main",ha,[d("div",va,[ba,p(a(Fr),{class:"w-full mt-5 mb-5","validation-schema":a(pa),onSubmit:l[1]||(l[1]=u=>c(u))},{default:g(()=>[d("div",null,[d("label",wa,x(m.$t("components.form.label.username")),1),p(a(Ze),{name:"username"},{default:g(({field:u,errorMessage:s,errors:z})=>[p(pn,pe({variant:"outlined"},u,{type:"text",name:"username",error:z.length>0,"error-messages":s,density:"compact"}),null,16,["error","error-messages"])]),_:1})]),ya,d("div",ka,[d("label",Ca,x(m.$t("components.form.label.password")),1),p(a(Ze),{name:"password"},{default:g(({field:u,errorMessage:s,errors:z})=>[p(pn,pe({name:"password",variant:"outlined"},u,{type:a(i)?"text":"password",error:z.length>0,"error-messages":s,density:"compact","append-inner-icon":a(i)?a(br):a(wr),"onClick:appendInner":l[0]||(l[0]=f=>i.value=!a(i))}),null,16,["type","error","error-messages","append-inner-icon"])]),_:1}),d("div",xa,[d("div",Sa,[p(a(Ze),{name:"rememberMe",type:"checkbox",value:!0,"unchecked-value":!1},{default:g(({field:u,errorMessage:s,errors:z})=>[d("label",Ma,x(m.$t("components.form.label.remember_me")),1),p(lr,pe({name:"rememberMe"},u,{color:"#df2a4c",type:"checkbox",error:z.length>0,"error-messages":s,"hide-details":""}),null,16,["error","error-messages"])]),_:1})])])]),d("div",$a,[p(X,{class:"text-white",height:"40px",loading:a(t),type:"submit",elevation:"1",width:"100%",color:"#df2a4c"},{default:g(()=>[E(x(m.$t("components.form.button.login")),1)]),_:1},8,["loading"]),d("a",Va,x(m.$t("components.form.label.forgot_password")),1)])]),_:1},8,["validation-schema"]),p(X,{icon:a(yr),class:"login-github",density:"compact",variant:"plain"},null,8,["icon"])]),La]))}}),Ba=B(Aa,[["__scopeId","data-v-edac69ef"]]),Me=[{name:"NotFound",path:"/:pathMatch(.*)*",component:ea,meta:{name:"notfound",auth:{requiresAuth:!1,role:"none"},ui:{disableMaxWidth:!0,fullscreen:!0,hideSidebar:!0,hideTopbar:!0},navigation:{hideRoute:!0}}},{name:"Login",path:"/login",alias:"/",component:Ba,meta:{name:"login",auth:{requiresAuth:!1,role:"none"},ui:{disableMaxWidth:!0,fullscreen:!0,hideSidebar:!0,hideTopbar:!0},navigation:{hideRoute:!0}}},{name:"FirstSteps",path:"/first-steps",component:()=>O(()=>import("./FirstSteps-mQK4XFTs.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33])),meta:{name:"firststeps",auth:{requiresAuth:!0,role:"user"},ui:{disableMaxWidth:!0,fullscreen:!0,hideSidebar:!0,hideTopbar:!0},navigation:{hideRoute:!0}}},{name:"Cameras",path:"/cameras",component:()=>O(()=>import("./Cameras-DjeKruR_.js"),__vite__mapDeps([34,35,1,2,36,37,38,3,21,6,16,17,18,19,7,8,20,9,10,39,14,40,41,42,43,5,44,45,4,11,12,13,15,22,23,24,25,26,27,28,29,30,31,32,46])),meta:{name:"cameras",auth:{requiresAuth:!0,role:"user"},ui:{disableMaxWidth:!1,progressBarPosition:".topbar"},navigation:{routePosition:"top",icon:kr,showMobileBottomBar:!0,showInMobileBottomBar:!0}}},{name:"Camera",path:"/cameras/:cameraname",component:()=>O(()=>import("./Camera-BgO2yRjb.js"),__vite__mapDeps([47,1,2,6,16,17,18,19,7,8,35,36,37,38,3,21,20,9,10,39,14,40,41,42,43,5,44,30,31,32,4,11,12,13,15,22,23,24,25,26,27,28,29,48])),meta:{name:"camera",auth:{requiresAuth:!0,role:"user"},ui:{disableMaxWidth:!1,progressBarPosition:".topbar"},navigation:{hideRoute:!0}}},{name:"Camview",path:"/camview",component:()=>O(()=>import("./Camview-DfzlprzN.js"),__vite__mapDeps([49,1,2,7,8,3,35,36,37,38,21,6,16,17,18,19,20,9,10,39,14,40,41,42,43,5,44,50,51,52,53,54,55,56,57,4,11,12,13,15,22,23,24,25,26,27,28,29,30,31,32,58])),meta:{name:"camview",auth:{requiresAuth:!0,role:"user"},ui:{disableMaxWidth:!0,progressBarPosition:".topbar"},navigation:{icon:Cr,showMobileBottomBar:!0,showInMobileBottomBar:!0}}},{name:"NewCamera",path:"/new-camera",component:()=>O(()=>import("./NewCamera-B9t-0NCc.js"),__vite__mapDeps([59,35,1,2,36,37,38,3,21,6,16,17,18,19,7,8,20,9,10,39,14,40,41,42,43,5,44,60,61,62,63,64,65,66,67,45,4,11,12,13,15,22,23,24,25,26,27,28,29,30,31,32,68])),meta:{name:"newcamera",auth:{requiresAuth:!0,role:"admin"},ui:{disableMaxWidth:!1,progressBarPosition:".topbar"},navigation:{hideRoute:!0,icon:xr,showMobileBottomBar:!0,showInMobileBottomBar:!0}}},{name:"Recordings",path:"/recordings",component:()=>O(()=>import("./Recordings-XY20w8yp.js"),__vite__mapDeps([69,1,4,9,10,11,12,13,14,15,6,5,16,17,18,19,7,8,2,3,20,21,22,23,24,25,26,27,28,29,30,31,32])),meta:{name:"recordings",auth:{requiresAuth:!0,role:"admin"},ui:{disableMaxWidth:!1,progressBarPosition:".topbar"},navigation:{icon:fn,showMobileBottomBar:!0,showInMobileBottomBar:!0}}},{name:"Config",path:"/config",component:()=>O(()=>import("./Config-BKIOIkjC.js"),__vite__mapDeps([70,71,72,18,19,16,1,17,2,9,10,14,73,57,6,45,7,8,4,11,12,13,15,5,3,20,21,22,23,24,25,26,27,28,29,30,31,32,74])),meta:{name:"config",auth:{requiresAuth:!0,role:"admin"},ui:{disableMaxWidth:!0,progressBarPosition:".topbar"},navigation:{icon:jn,showMobileBottomBar:!0}}},{name:"Console",path:"/console",component:()=>O(()=>import("./Console-Caz7y-T0.js"),__vite__mapDeps([75,1,2,73,9,10,14,76,18,19,16,17,77,57,6,7,8,4,11,12,13,15,5,3,20,21,22,23,24,25,26,27,28,29,30,31,32,78])),meta:{name:"console",auth:{requiresAuth:!0,role:"admin"},ui:{disableMaxWidth:!0,progressBarPosition:".topbar",appBgColor:"#000000"},navigation:{icon:Fn,showMobileBottomBar:!0}}},{name:"Plugins",path:"/plugins",component:()=>O(()=>import("./Plugins-DhmzMNuO.js"),__vite__mapDeps([79,80,71,72,18,19,16,1,17,2,81,82,9,10,39,14,73,76,77,6,7,8,83,4,11,12,13,15,5,3,20,21,22,23,24,25,26,27,28,29,30,31,32,84])),meta:{name:"plugins",auth:{requiresAuth:!0,role:"admin"},ui:{progressBarPosition:".topbar",disableMaxWidth:!1},navigation:{icon:Rn,showMobileBottomBar:!0}}},{name:"ScopedPlugin",path:"/plugins/:scope/:pluginname",component:()=>O(()=>import("./Plugin-Di_bBsg-.js"),__vite__mapDeps([85,35,1,2,36,37,38,3,21,6,16,17,18,19,7,8,20,9,10,39,14,40,41,42,43,5,44,80,71,72,81,82,73,76,77,83,60,61,62,63,64,65,66,67,4,11,12,13,15,22,23,24,25,26,27,28,29,30,31,32,86])),meta:{name:"plugin",auth:{requiresAuth:!0,role:"admin"},ui:{disableMaxWidth:!1,progressBarPosition:".topbar"},navigation:{hideRoute:!0,showMobileBottomBar:!0}}},{name:"Plugin",path:"/plugins/:pluginname",component:()=>O(()=>import("./Plugin-Di_bBsg-.js"),__vite__mapDeps([85,35,1,2,36,37,38,3,21,6,16,17,18,19,7,8,20,9,10,39,14,40,41,42,43,5,44,80,71,72,81,82,73,76,77,83,60,61,62,63,64,65,66,67,4,11,12,13,15,22,23,24,25,26,27,28,29,30,31,32,86])),meta:{name:"plugin",auth:{requiresAuth:!0,role:"admin"},ui:{disableMaxWidth:!1,progressBarPosition:".topbar"},navigation:{hideRoute:!0,showMobileBottomBar:!0}}},{name:"Adminpanel",path:"/admin",component:()=>O(()=>import("./Adminpanel-Bge9nu5N.js"),__vite__mapDeps([87,1,2,6,7,8,9,10,39,14,28,29,73,4,11,12,13,15,5,16,17,18,19,3,20,21,22,23,24,25,26,27,30,31,32,88])),meta:{name:"adminpanel",auth:{requiresAuth:!0,role:"admin"},ui:{progressBarPosition:".topbar",disableMaxWidth:!1},navigation:{routePosition:"bottom",icon:qn,showMobileBottomBar:!0}}},{name:"Settings",path:"/settings",component:()=>O(()=>import("./Settings-gGRBRVST.js"),__vite__mapDeps([89,1,5,16,17,18,19,7,8,2,4,9,10,11,12,13,14,15,6,3,20,21,22,23,24,25,26,27,28,29,30,31,32,90])),meta:{name:"settings",path:"/settings/account",auth:{requiresAuth:!0,role:"user"},ui:{progressBarPosition:".topbar",disableMaxWidth:!1},navigation:{routePosition:"bottom",icon:Sr,showMobileBottomBar:!0,showInMobileBottomBar:!0}},children:[{name:"Settings-Account",path:"account",component:()=>O(()=>import("./Account-gJpkf0nE.js"),__vite__mapDeps([91,1,2,3,6,7,8,4,9,10,11,12,13,14,15,5,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,92])),meta:{name:"account",description:"account_description",auth:{requiresAuth:!0,role:"user"},ui:{progressBarPosition:".topbar",disableMaxWidth:!1},navigation:{icon:Mr,showMobileBottomBar:!0}}},{name:"Settings-Appearance",path:"appearance",component:()=>O(()=>import("./Appearance-D22q-X_I.js"),__vite__mapDeps([93,6,1,7,8,4,9,10,11,12,13,14,15,5,16,17,18,19,2,3,20,21,22,23,24,25,26,27,28,29,30,31,32])),meta:{name:"appearance",description:"appearance_description",auth:{requiresAuth:!0,role:"user"},ui:{progressBarPosition:".topbar",disableMaxWidth:!1},navigation:{hideRoute:!0,icon:$r,showMobileBottomBar:!0}}},{name:"Settings-User",path:"user",component:()=>O(()=>import("./User-D4vEhhzi.js"),__vite__mapDeps([94,1,2,3,7,8,4,9,10,11,12,13,14,15,6,5,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,95])),meta:{name:"user",description:"user_description",auth:{requiresAuth:!0,role:"admin"},ui:{progressBarPosition:".topbar",disableMaxWidth:!1},navigation:{hideRoute:!0,icon:Vr,showMobileBottomBar:!0}}},{name:"Settings-Recordings",path:"recordings",component:()=>O(()=>import("./Recordings-Bu53bSBp.js"),__vite__mapDeps([96,1,4,9,10,11,12,13,14,15,6,5,16,17,18,19,7,8,2,3,20,21,22,23,24,25,26,27,28,29,30,31,32])),meta:{name:"recordings",description:"recordings_description",auth:{requiresAuth:!0,role:"admin"},ui:{progressBarPosition:".topbar",disableMaxWidth:!1},navigation:{hideRoute:!0,icon:fn,showMobileBottomBar:!0}}},{name:"Settings-Backup",path:"backup",component:()=>O(()=>import("./Backup-pJm6s10G.js"),__vite__mapDeps([97,1,9,10,73,14,2,7,8,11,12,4,13,15,6,5,16,17,18,19,3,20,21,22,23,24,25,26,27,28,29,30,31,32,98])),meta:{name:"backup",description:"backup_description",auth:{requiresAuth:!0,role:"admin"},ui:{progressBarPosition:".topbar",disableMaxWidth:!1},navigation:{hideRoute:!0,icon:Lr,showMobileBottomBar:!0}}},{name:"Settings-System",path:"system",component:()=>O(()=>import("./System-ZDrcLNk0.js"),__vite__mapDeps([99,1,4,9,10,11,12,13,14,15,6,5,16,17,18,19,7,8,2,3,20,21,22,23,24,25,26,27,28,29,30,31,32])),meta:{name:"system",description:"system_description",auth:{requiresAuth:!0,role:"admin"},ui:{progressBarPosition:".topbar",disableMaxWidth:!1},navigation:{hideRoute:!0,icon:Ar,showMobileBottomBar:!0}}}]}],be=Jt({history:Xt(),routes:Me,scrollBehavior(){return{x:0,y:0,behavior:"smooth"}}});be.absUrl=(e="#",n=!0)=>{const t=document.createElement("a");t.href=e,t.target=n&&e!=="#"?"_blank":"",n&&(t.rel="noopener noreferrer"),t.click()};be.beforeEach(async(e,n,t)=>{var s,z,f;await Le().cancelQueries(void 0,{revert:!1});const{loginState:i,logout:c}=Q(),m=e.name.toLowerCase();let l;(s=n.meta.ui)!=null&&s.progressBarPosition&&(z=e.meta.ui)!=null&&z.progressBarPosition?l=((f=n.meta.ui)==null?void 0:f.progressBarPosition)||"body":l="body";const{isLoading:u}=In(0,{parent:l});if(u.value=!0,i.user)try{if(await Wn(),i.user.firstLogin&&e.path!=="/first-steps")return t("/first-steps");if(e.meta.auth.requiresAuth&&e.meta.auth.role&&!(i.user.role===e.meta.auth.role||i.user.role==="admin"))return t("/cameras");const v=localStorage.getItem("lastPage");if(m==="login"&&v&&v!=="/")return t(v);if(e.path==="/settings")return t("/settings/account");t()}catch(v){console.error(v),await c(),t("/")}else m!=="login"?t("/"):t()});be.beforeResolve(async(e,n,t)=>{const{isLoading:o}=In();o.value=!1,t()});be.afterEach(e=>{const n=["login","notfound","firststeps"],t=e.name.toLowerCase();n.includes(t)||localStorage.setItem("lastPage",e.path)});const $e=(e,n)=>{var m,l,u,s,z;e=e||me();const{loginState:t}=ue(Q()),o=!((l=(m=e==null?void 0:e.meta)==null?void 0:m.auth)!=null&&l.requiresAuth),i=n??((s=(u=e.meta)==null?void 0:u.auth)==null?void 0:s.role),c=(z=t.value.user)==null?void 0:z.role;return c==="admin"||c===i||i==="none"||o},Pa={key:0,class:"navigation-text ml-3"},Ha={key:0,class:"mt-auto"},Ea={key:0,class:"navigation-text ml-3"},Za={key:0,class:"w-full flex flex-row items-center"},Ta={class:"navigation-text ml-3 text-white"},Ia=J({__name:"VSidebarNavigation",props:{sidebarState:{default:"closed"}},setup(e){const n=Q(),t=me(),o=e,{sidebarState:i}=te(o),{loading:c,loginState:m}=te(n),l=V(null),u=H(()=>i.value==="opened"||i.value==="overlay"),s=H(()=>Me.filter(w=>{var _,b,M;return!((_=w.meta)!=null&&_.navigation.hideRoute)&&((b=w.meta)==null?void 0:b.navigation.icon)&&((M=w.meta)==null?void 0:M.navigation.routePosition)!=="bottom"&&$e(w)})),z=H(()=>Me.filter(w=>{var _,b,M;return!((_=w.meta)!=null&&_.navigation.hideRoute)&&((b=w.meta)==null?void 0:b.navigation.icon)&&((M=w.meta)==null?void 0:M.navigation.routePosition)==="bottom"&&$e(w)})),f=H(()=>{let w=s.value.findIndex(b=>b.path===t.path);const _=t.path.split("/").filter(b=>b);if(_.length>1){const b=_[0];w=s.value.findIndex(M=>M.path===`/${b}`)}return w}),v=async()=>{var w,_;try{await n.logout()}catch(b){console.error(((_=(w=b.response)==null?void 0:w.data)==null?void 0:_.message)??b.message??b)}};return(w,_)=>{const b=et;return h(),C("div",{ref_key:"navigation",ref:l,class:"navigation flex flex-auto flex-col w-full relative"},[(h(!0),C(fe,null,we(a(s),(M,S)=>(h(),j(ee,{key:S,class:le({"navigation-inner":!0,"navigation-inner-open":a(u),"navigation-inner-selected":a(f)===S,"mb-10":S===a(s).length-1}),to:M.path,active:a(f)===S,theme:"dark",rounded:""},{default:g(()=>[p(D,{size:"20"},{default:g(()=>{var L;return[E(x((L=M.meta)==null?void 0:L.navigation.icon),1)]}),_:2},1024),p(de,{name:"navigation-fade"},{default:g(()=>[a(u)?(h(),C("div",Pa,x(w.$t(`navigation.${M.name.toLowerCase()}`)),1)):T("",!0)]),_:2},1024)]),_:2},1032,["class","to","active"]))),128)),a(z).length?(h(),C("div",Ha)):T("",!0),(h(!0),C(fe,null,we(a(z),(M,S)=>(h(),j(ee,{key:S,class:le(["navigation-inner",{"navigation-inner-open":a(u)}]),to:M.path,theme:"dark",rounded:""},{default:g(()=>[p(D,{size:"20"},{default:g(()=>{var L;return[E(x((L=M.meta)==null?void 0:L.navigation.icon),1)]}),_:2},1024),p(de,{name:"navigation-fade"},{default:g(()=>[a(u)?(h(),C("div",Ea,x(w.$t(`navigation.${M.name.toLowerCase()}`)),1)):T("",!0)]),_:2},1024)]),_:2},1032,["class","to"]))),128)),p(ee,{to:"/settings/account",class:"navigation-inner mb-0",active:!1,rounded:""},{default:g(()=>[p(b,{src:"avatar",size:"20","show-border":""}),p(de,{name:"navigation-fade"},{default:g(()=>{var M;return[a(u)?(h(),C("div",Za,[d("div",Ta,x((M=a(m).user)==null?void 0:M.username),1),p(X,{class:"ml-auto",size:"28",color:"#fff",density:"compact",variant:"text",icon:"",loading:a(c),onClick:ne(v,["prevent"])},{default:g(()=>[p(D,{size:"20"},{default:g(()=>[E(x(a(Br)),1)]),_:1})]),_:1},8,["loading"])])):T("",!0)]}),_:1})]),_:1})],512)}}}),Da=B(Ia,[["__scopeId","data-v-3e4cda66"]]),zt=Symbol("symbol-key"),We=Be("theme",()=>{const e=localStorage.getItem("theme"),n=e?JSON.parse(e):{theme:"light",autoMode:!1},t=_n(n.theme,{onBeforeChange(){if(i.value)window.scrollTo(0,0);else return!1},onChanged(S){n.theme=S,localStorage.setItem("theme",JSON.stringify(n))}}),o=_n(n.autoMode,{onBeforeChange(S){if(S&&!i.value)return!1},onChanged(S){n.autoMode=S,localStorage.setItem("theme",JSON.stringify(n))}}),i=V(!0),c=An(["light","dark"]),m=cr();let l;const u=100,s=200;R(o,S=>{S&&(t.value=f())}),R(t,S=>{Pn(()=>{z(),w(S),_(S)}),i.value=!1});const z=()=>{let S;const L=document.getElementById("themeToggle"),$=L==null?void 0:L.getBoundingClientRect();if($){const I=L.clientWidth,N=L.clientWidth;S={x:$.x+I/2,y:$.y+N/2}}else S={x:window.innerWidth/2,y:window.innerHeight/2};const y=document.getElementById("app"),A=document.getElementsByTagName("BODY")[0];if(y){clearInterval(l);const I=y.cloneNode(!0);I.id="appClone";const N=(window.innerWidth>window.innerHeight?window.innerWidth:window.innerHeight)*2,U=Ee("--clip-size",y),ae=Ee("--clip-x-position",y),He=Ee("--clip-y-position",y);U.value="0px",ae.value=`${S.x}px`,He.value=`${S.y}px`,y.classList.add("app-transition"),I.classList.remove("app-transition"),I.classList.add("app-placeholder"),A.appendChild(I),l=setInterval(()=>{const _e=parseInt(U.value.split("px")[0]);_e<N?U.value=`${_e+s}px`:(y.classList.remove("app-transition"),y.removeAttribute("style"),A.removeChild(I),clearInterval(l),i.value=!0)},u)}},f=()=>window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",v=()=>o.value?f():t.value,w=S=>{const L=document.getElementById("app");L==null||L.setAttribute("data-theme",S),document.body.setAttribute("data-theme",S),document.documentElement.setAttribute("data-mode",S)},_=S=>{m.global.name.value=S},b=()=>{t.value==="light"&&!o.value?t.value="dark":t.value==="dark"&&!o.value?o.value=!0:o.value&&(o.value=!1,t.value="light")},M=tr("(prefers-color-scheme: dark)");return R(M,S=>{o.value&&(t.value=S?"dark":"light")}),w(v()),_(v()),Fe(()=>{clearInterval(l)}),{colors:c,theme:t,autoMode:o,setAppTheme:w,setVuetifyTheme:_,getSystemMode:f,toggleTheme:b}});var oe=(e=>(e[e.MINWIDTH=70]="MINWIDTH",e[e.MAXWIDTH=250]="MAXWIDTH",e))(oe||{});const Na={class:"sidebar-inner hide-scrollbar flex flex-col items-center p-4"},Oa={key:0,class:"ml-3 font-bold text-white"},ja=J({__name:"VSideBar",props:{state:{type:Boolean,default:!1}},emits:["sidebar-state"],setup(e,{emit:n}){const{mobileActive:t}=ve(),o=We(),i=n,c=e,{state:m}=te(c),{theme:l}=ue(o),u=V(window.electron!==void 0),s=V(null),z=V(0),f=V(0),v=V(),w=V(!1),_=me(),b=Dn(zt),M=H(()=>{let y=`left: ${z.value}px`,A=`width: calc(env(safe-area-inset-left, 0px) + ${S.value}px)`,I=l.value==="dark"?"border-right: 1px solid var(--background-inner-sidebar)":"";const N="padding-left: env(safe-area-inset-left, 0px)",U="padding-top: env(safe-area-inset-top, 0px)";return v.value==="closed"&&(y=`left: calc(${z.value}px - env(safe-area-inset-left, 0px))`),`${y};${A};${N};${U};${I}`}),S=H(()=>f.value>0?f.value:oe.MINWIDTH),L=H(()=>v.value==="opened"||v.value==="overlay");R(m,()=>{var A;const y=(A=_.meta)!=null&&A.ui.noMinifiedSidebar?m.value?"overlay":"closed":void 0;$(y)}),R(t,()=>{var A;const y=!L.value&&((A=_.meta)!=null&&A.ui.noMinifiedSidebar)?"closed":void 0;$(y)}),R(_,()=>{var y,A;(y=_.meta)!=null&&y.ui.hideSidebar||(A=_.meta)!=null&&A.ui.noMinifiedSidebar||t.value?$("closed"):$("minified")},{deep:!0}),R(v,y=>{y&&(b.emit({sidebarState:y}),i("sidebar-state",y))});const $=y=>{let A;switch(y?A=y:!t.value&&!m.value?A="minified":t.value&&!m.value?A="closed":t.value&&m.value?A="overlay":A="opened",A){case"overlay":v.value="overlay",z.value=0,f.value=oe.MAXWIDTH,w.value=!0;break;case"opened":v.value="opened",z.value=0,f.value=oe.MAXWIDTH,w.value=!1;break;case"closed":v.value="closed",z.value=-oe.MINWIDTH,f.value=0,w.value=!1;break;case"minified":v.value="minified",z.value=0,f.value=0,w.value=!1;break}};return Ae(()=>{var y,A,I;if((y=_.meta)!=null&&y.ui.defaultSidebarState){$((A=_.meta)==null?void 0:A.ui.defaultSidebarState);return}t.value||(I=_.meta)!=null&&I.ui.noMinifiedSidebar?$("closed"):$("minified")}),(y,A)=>{const I=Da;return h(),C("div",{ref_key:"sidebar",ref:s,class:"sidebar camera-no-outside",style:F(a(M))},[d("div",Na,[d("div",{class:"cursor-pointer flex flex-row w-full items-center",style:F(` margin-top: ${a(u)?30:0}px; padding-left: 4px`),onClick:A[0]||(A[0]=N=>y.$router.push({path:"/cameras"}))},[p(a(Ln),{src:a(Se)("logo_animated.svg"),width:"32px",height:"32px",title:"camera.ui","aria-label":"camera.ui"},null,8,["src"]),p(de,{name:"navigation-fade"},{default:g(()=>[a(L)?(h(),C("div",Oa,"camera.ui")):T("",!0)]),_:1})],4),p(I,{class:"mt-7","sidebar-state":a(v)},null,8,["sidebar-state"])])],4)}}}),Fa=B(ja,[["__scopeId","data-v-3aa15d27"]]),Ra={class:"flex"},qa=J({__name:"VCustomDialog",props:dn({title:{},confirmText:{default:"components.form.button.save"},cancelText:{default:"components.form.button.close"},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},width:{default:800},hideConfirmButton:{type:Boolean,default:!1},hideCancelButton:{type:Boolean,default:!1},fullscreenContent:{type:Boolean,default:!1}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:dn(["close","confirm"],["update:modelValue"]),setup(e,{emit:n}){const{smallMobileActive:t}=ve(),o=n,i=jt(e,"modelValue"),c=V("0"),m=V(1),l=V(null),u=e,{title:s,confirmText:z,cancelText:f,loading:v,disabled:w,hideCancelButton:_,hideConfirmButton:b,width:M,fullscreenContent:S}=te(u),{isSwiping:L,lengthY:$}=rr(l,{passive:!0,onSwipe(){if($.value<0){const N=Math.abs($.value);c.value=`${N}px`,m.value=1.1-N/document.body.clientHeight}else c.value="0",m.value=1},onSwipeEnd(){$.value<0&&Math.abs($.value)/document.body.clientHeight>=.25?(c.value="100%",m.value=0,setTimeout(()=>y(),50)):(c.value="0",m.value=1)}}),y=()=>{i.value=!1,o("close")},A=()=>o("confirm"),I=()=>{c.value="0",m.value=1};return R(i,N=>{N&&I()},{immediate:!0}),(N,U)=>(h(),j(dr,{modelValue:i.value,"onUpdate:modelValue":U[3]||(U[3]=ae=>i.value=ae),scrim:!a(t),transition:a(t)?"dialog-bottom-transition":void 0,fullscreen:a(t),"scroll-strategy":"none",width:a(t)?void 0:a(M)},{default:g(()=>[p(ye,{ref_key:"dialogEl",ref:l,class:le(["dialog pt-safe",{animated:!a(L)}]),style:F({top:a(c),opacity:a(m)})},{default:g(()=>[p(ur,null,{default:g(()=>[d("div",Ra,[d("span",null,x(a(s)),1),p(X,{class:"ml-auto",size:"28",rounded:"",density:"compact",variant:"text",onClick:U[0]||(U[0]=ne(ae=>y(),["prevent"]))},{default:g(()=>[p(D,{size:"20"},{default:g(()=>[E(x(a(Un)),1)]),_:1})]),_:1})])]),_:1}),p(mr,{style:F(a(S)?"padding: 0 !important":"")},{default:g(()=>[Ft(N.$slots,"content",{},void 0,!0)]),_:3},8,["style"]),p(Nn,null,{default:g(()=>[a(_)?T("",!0):(h(),j(X,{key:0,class:"button-default",variant:"flat",rounded:"",loading:a(v),onClick:U[1]||(U[1]=ne(ae=>y(),["prevent"]))},{default:g(()=>[E(x(N.$t(a(f))),1)]),_:1},8,["loading"])),a(b)?T("",!0):(h(),j(X,{key:1,class:"ml-auto",variant:"flat",color:"green",type:"submit",rounded:"",loading:a(v),disabled:a(w),onClick:U[2]||(U[2]=ne(ae=>A(),["prevent"]))},{default:g(()=>[E(x(N.$t(a(z))),1)]),_:1},8,["loading","disabled"]))]),_:1})]),_:3},8,["style","class"])]),_:3},8,["modelValue","scrim","transition","fullscreen","width"]))}}),Ua=B(qa,[["__scopeId","data-v-de97a299"]]),Ve=class Ve{constructor(){}static get manager(){return this._manager||this.createManager(),this._manager}static createManager(){Ve._manager=new Rr(window.origin,{reconnection:!0,reconnectionDelay:500,rejectUnauthorized:!1,autoConnect:!0,transports:["websocket"]})}};ce(Ve,"_manager");let Ne=Ve;const pt=Be("socket",()=>{const e=new Map,n=c=>{const m=Q();if(e.get(c)){const l=e.get(c);return l.connected=new vn,setTimeout(()=>{var u;l.socket.connected&&(console.debug(`Reconnected to ${c}`),(u=l.connected)==null||u.next(void 0))}),l.socket.on("connect",()=>{var u;console.debug(`Reconnected to ${c}`),(u=l.connected)==null||u.next(void 0)}),c==="/camera.ui"&&(l.socket.on("unauthenticated",()=>{m.logout()}),l.socket.on("invalidToken",u=>{m.loginState.access_token===u&&m.logout()})),l.end=u=>{var s;console.debug(`Disconnected from ${c}`),l.socket.emit("end",u),l.socket.removeAllListeners(),(s=l.connected)==null||s.complete()},l.disconnect=u=>{var s;(s=l.end)==null||s.call(l,u),l.socket.disconnect(),e.delete(c)},e.get(c)}else{const l=o(c);return l.connected=new vn,l.socket.on("connect",()=>{var u;console.debug(`Connected to ${c}`),(u=l.connected)==null||u.next(void 0)}),c==="/camera.ui"&&(l.socket.on("unauthenticated",()=>{m.logout()}),l.socket.on("invalidToken",u=>{m.loginState.access_token===u&&m.logout()})),l.end=u=>{var s;console.debug(`Disconnected from ${c}`),l.socket.emit("end",u),l.socket.removeAllListeners(),(s=l.connected)==null||s.complete()},l.disconnect=u=>{var s;(s=l.end)==null||s.call(l,u),l.socket.disconnect(),e.delete(c)},e.set(c,l),l}},t=c=>e.get(c),o=c=>{const l=`Bearer ${Q().loginState.access_token}`,u=V(!1),s=V(!1),z=Ne.manager.socket(c,{auth:{token:l}});return z.on("connect_error",()=>{z.active&&(s.value&&(s.value=!1),u.value=!0)}),z.on("connect",()=>{u.value&&(s.value=!0,u.value=!1)}),{reconnected:s,disconnected:u,socket:z,request:(v,w)=>new qr(_=>{z.emit(v,w,b=>{typeof b=="object"&&b.error?_.error(b):_.next(b),_.complete()})})}};return{namespaceConnectionCache:e,connectToNamespace:n,getExistingNamespace:t,disconnect:c=>{var m;for(const[,l]of e)(m=l.disconnect)==null||m.call(l,c)}}}),Ka={class:"notifications overflow-hidden overflow-y-auto"},Wa={class:"notification-item w-full flex flex-row"},Ga={class:"notification-container w-full"},Qa={class:"w-full h-full flex flex-col justify-center"},Ja={class:"w-full flex flex-row mb-1"},Xa={class:"flex flex-row items-center justify-center"},Ya={class:"notification-title truncate mr-2"},ei={class:"notification-time flex items-center ml-auto"},ni={class:"notification-text truncate"},ti={class:"w-full h-full flex justify-center items-center"},ri={class:"notifications-empty-text"},oi=J({__name:"VNotificationMenu",setup(e){const n=Re(),t=pt(),o=V(),i=V(),c=V(),m=V(!1),l=V(!1);let u=V([]);const s=()=>{var _;u.value.splice(0,u.value.length),(_=i.value)==null||_.socket.emit("clear-notifications")},z=_=>{switch(_){case"info":return"rgb(33, 150, 243)";case"warn":return"rgb(251, 140, 0)";case"error":return"rgb(176, 0, 32)";default:return"rgb(69, 69, 69)"}},f=_=>{c.value=_,l.value=!0},v=()=>{l.value=!1,setTimeout(()=>{c.value=void 0},300)},w=()=>{var b;const _=c.value;if(_){const M=u.value.findIndex(S=>S._id===_._id);M!==-1&&(u.value.splice(M,1),(b=i.value)==null||b.socket.emit("remove-notification",_._id)),_.link&&n.push({path:_.link})}v()};return Ae(()=>{var b,M,S;i.value=t.connectToNamespace("/notifications"),(b=i.value)==null||b.connected.subscribe(()=>{var L;(L=i.value)==null||L.socket.emit("get-notifications")}),(M=i.value)==null||M.socket.on("notifications",L=>{var y,A;((y=u.value[0])==null?void 0:y.title)==="Update"&&u.value.splice(0,1);let $=((A=u.value[0])==null?void 0:A.title)==="Update"?u.value.splice(0,1):[];Array.isArray(L)?L.forEach(I=>u.value.unshift(I)):u.value.unshift(L),u.value.unshift(...$)});const _=t.getExistingNamespace("/camera.ui");(S=_==null?void 0:_.connected)==null||S.subscribe(async()=>{_==null||_.socket.emit("get-updates")}),_!=null&&_.socket.connected&&(_==null||_.socket.emit("get-updates"),_==null||_.socket.emit("get-new-cameras")),_==null||_.socket.on("update",L=>{var $;(($=u.value[0])==null?void 0:$.title)==="Update"&&u.value.splice(0,1),u.value.unshift(L)}),o.value=Ur(60*60*1e3).subscribe(()=>{_!=null&&_.socket.connected&&(_==null||_.socket.emit("get-updates"))})}),Bn(()=>{var _,b,M;(b=(_=i.value)==null?void 0:_.end)==null||b.call(_),(M=o.value)==null||M.unsubscribe()}),(_,b)=>{var S,L;const M=Ua;return h(),C("div",null,[p(On,{modelValue:a(m),"onUpdate:modelValue":b[1]||(b[1]=$=>ge(m)?m.value=$:null),"close-on-content-click":"",location:"bottom"},{activator:g(({props:$})=>[a($e)(void 0,"admin")?(h(),j(X,pe({key:0,class:"no-outside no-drag text-color",size:"28",rounded:"",density:"compact",variant:"text"},$),{default:g(()=>[a(u).length?(h(),j(_r,{key:0,color:"red",dot:""},{default:g(()=>[p(D,{size:"20"},{default:g(()=>[E(x(a(hn)),1)]),_:1})]),_:1})):(h(),j(D,{key:1,size:"20"},{default:g(()=>[E(x(a(hn)),1)]),_:1}))]),_:2},1040)):T("",!0)]),default:g(()=>[a(u).length?(h(),j(ye,{key:0,width:"300","max-height":"400",style:{border:"1px solid var(--background-timeline)","border-radius":"10px"},elevation:"3"},{default:g(()=>[d("div",Ka,[(h(!0),C(fe,null,we(a(u),($,y)=>(h(),C("div",{key:y},[p(ee,{class:"notification w-full block",onClick:ne(A=>f($),["prevent"])},{default:g(()=>[d("div",Wa,[d("div",Ga,[d("div",Qa,[d("div",Ja,[d("div",Xa,[d("span",Ya,x($.title),1),p(gn,{size:"x-small",color:z($.type)},{default:g(()=>[E(x(_.$t(`components.notification_menu.${$.type}`)),1)]),_:2},1032,["color"])]),d("div",ei,x(a(To)($.timestamp,"DD. MMM, HH:mm")),1)]),d("div",ni,x($.text),1)])])])]),_:2},1032,["onClick"]),y!==a(u).length-1?(h(),j(ke,{key:0,class:"notification-divider"})):T("",!0)]))),128))]),p(ke,{class:"notification-divider"}),p(Nn,null,{default:g(()=>[p(X,{width:"100%",color:"#df2a4c",onClick:b[0]||(b[0]=ne($=>s(),["prevent"]))},{default:g(()=>[E(x(_.$t("components.notification_menu.clear_notifications"))+" ",1),p(gn,{size:"x-small",class:"ml-2"},{default:g(()=>[E(x(a(u).length),1)]),_:1})]),_:1})]),_:1})]),_:1})):(h(),j(ye,{key:1,"min-width":"200",height:"50"},{default:g(()=>[d("div",ti,[d("span",ri,x(_.$t("components.notification_menu.no_notifications")),1)])]),_:1}))]),_:1},8,["modelValue"]),p(M,{modelValue:a(l),"onUpdate:modelValue":b[2]||(b[2]=$=>ge(l)?l.value=$:null),title:((S=a(c))==null?void 0:S.title)||"","confirm-text":(L=a(c))!=null&&L.link?"components.form.button.go_to_message":"components.form.button.mark_as_read",onConfirm:b[3]||(b[3]=$=>{var y;return(y=a(c))!=null&&y.link,w()})},{content:g(()=>{var $;return[d("span",null,x(($=a(c))==null?void 0:$.text),1)]}),_:1},8,["modelValue","title","confirm-text"])])}}}),ai=B(oi,[["__scopeId","data-v-d90c861b"]]),ii={id:"themeToggle",class:"theme-picker relative"},si={key:0,class:"theme-picker-auto"},li={key:0,class:"theme-picker-automode"},ci=J({__name:"VThemePicker",setup(e){const n=We(),{theme:t,autoMode:o}=ue(n),i=()=>{t.value==="light"&&!o.value?t.value="dark":t.value==="dark"&&!o.value?o.value=!0:o.value&&(o.value=!1,t.value="light")};return(c,m)=>(h(),C("div",ii,[a(o)?(h(),C("div",si,"A")):T("",!0),p(X,{size:"28",class:"text-color",rounded:"",density:"compact",variant:"text",onClick:m[0]||(m[0]=l=>i())},{default:g(()=>[a(o)?(h(),C("div",li)):T("",!0),p(D,{size:"20",style:F(`${a(t)==="dark"?"transform: rotate(-45deg)":""}`)},{default:g(()=>[E(x(a(t)==="dark"?a(Pr):a(Hr)),1)]),_:1},8,["style"])]),_:1})]))}}),ui=B(ci,[["__scopeId","data-v-8d4b2e13"]]),mi={key:0,class:"ml-2 text-sm truncate",style:{"max-width":"200px"}},di={class:"wrapper"},_i={class:"flex flex-row w-full justify-start items-center"},zi={class:"icon-wrapper"},pi={class:"menu-item ml-2"},gi={class:"flex flex-row w-full justify-start items-center"},fi={class:"icon-wrapper"},hi={class:"menu-item ml-2"},vi={class:"flex flex-row w-full justify-start items-center"},bi={class:"icon-wrapper"},wi={class:"menu-item ml-2"},yi={class:"flex flex-row w-full justify-start items-center"},ki={class:"icon-wrapper"},Ci={class:"menu-item ml-2"},xi={class:"flex flex-row w-full justify-start items-center"},Si={class:"icon-wrapper"},Mi={class:"menu-item ml-2"},$i={class:"flex flex-row w-full justify-start items-center"},Vi={class:"icon-wrapper"},Li={class:"menu-item ml-2"},Ai={class:"flex flex-row w-full justify-start items-center"},Bi={class:"icon-wrapper"},Pi={class:"menu-item ml-2"},Hi=J({__name:"VUserMenu",props:{iconSize:{default:20},iconBorder:{type:Boolean,default:!0},showUsername:{type:Boolean,default:!1}},setup(e){const n=Q(),t=e,{iconSize:o,iconBorder:i,showUsername:c}=te(t),{loginState:m}=n,l=V(!1),u=async()=>{var z,f;try{await n.logout()}catch(v){console.error(((f=(z=v.response)==null?void 0:z.data)==null?void 0:f.message)??v.message??v)}},s=()=>{window.location.reload()};return(z,f)=>{const v=et;return h(),C("div",null,[p(On,{modelValue:a(l),"onUpdate:modelValue":f[2]||(f[2]=w=>ge(l)?l.value=w:null),"close-on-content-click":"",location:"bottom"},{activator:g(({props:w})=>{var _;return[d("div",pe({class:"flex flex-row cursor-pointer items-center justify-start"},w),[p(v,{src:"avatar",size:a(o),"show-border":a(i),"spinner-size":10,"spinner-width":1},null,8,["size","show-border"]),a(c)?(h(),C("span",mi,x((_=a(m).user)==null?void 0:_.username),1)):T("",!0)],16)]}),default:g(()=>[p(ye,{width:"300","max-height":"400",style:{border:"1px solid var(--background-timeline)","border-radius":"10px"},elevation:"3"},{default:g(()=>[d("div",di,[p(ee,{to:"/settings/account"},{default:g(()=>[d("div",_i,[d("div",zi,[p(D,{size:"20",class:"text-passive"},{default:g(()=>[E(x(a(Er)),1)]),_:1})]),d("span",pi,x(z.$t("components.user_menu.account")),1)])]),_:1}),p(ke,{class:"divider my-1"}),p(ee,{to:"/admin"},{default:g(()=>[d("div",gi,[d("div",fi,[p(D,{size:"20",class:"text-passive"},{default:g(()=>[E(x(a(qn)),1)]),_:1})]),d("span",hi,x(z.$t("components.user_menu.admin_panel")),1)])]),_:1}),p(ee,{to:"/plugins"},{default:g(()=>[d("div",vi,[d("div",bi,[p(D,{size:"20",class:"text-passive"},{default:g(()=>[E(x(a(Rn)),1)]),_:1})]),d("span",wi,x(z.$t("components.user_menu.plugins")),1)])]),_:1}),p(ee,{to:"/console"},{default:g(()=>[d("div",yi,[d("div",ki,[p(D,{size:"20",class:"text-passive"},{default:g(()=>[E(x(a(Fn)),1)]),_:1})]),d("span",Ci,x(z.$t("components.user_menu.console")),1)])]),_:1}),p(ee,{to:"/config"},{default:g(()=>[d("div",xi,[d("div",Si,[p(D,{size:"20",class:"text-passive"},{default:g(()=>[E(x(a(jn)),1)]),_:1})]),d("span",Mi,x(z.$t("components.user_menu.config")),1)])]),_:1}),p(ee,{onClick:f[0]||(f[0]=ne(w=>s(),["prevent"]))},{default:g(()=>[d("div",$i,[d("div",Vi,[p(D,{size:"20",class:"text-passive"},{default:g(()=>[E(x(a(Zr)),1)]),_:1})]),d("span",Li,x(z.$t("components.user_menu.reload")),1)])]),_:1}),p(ke,{class:"divider my-1"}),p(ee,{style:{color:"var(--color-primary) !important"},onClick:f[1]||(f[1]=w=>u())},{default:g(()=>[d("div",Ai,[d("div",Bi,[p(D,{size:"20",class:"primary-color"},{default:g(()=>[E(x(a(Tr)),1)]),_:1})]),d("span",Pi,x(z.$t("components.user_menu.logout")),1)])]),_:1})])]),_:1})]),_:1},8,["modelValue"])])}}}),Ei=B(Hi,[["__scopeId","data-v-dbcee2d9"]]);var re=(e=>(e[e.MINHEIGHT=45]="MINHEIGHT",e[e.MAXHEIGHT=45]="MAXHEIGHT",e[e.OFFSET=5]="OFFSET",e))(re||{});const Zi={key:0,class:"h-full w-full bg-blur absolute top-0 left-0"},Ti=J({__name:"VTopBar",props:{sidebarState:{default:"closed"}},emits:["topbar-state"],setup(e,{emit:n}){const t=e,o=n,i=me(),{extraSmallMobileActive:c}=ve(),{sidebarState:m}=te(t),l=V(),u=Dn(zt),s=or(),z=H(()=>{var w;let v="calc(env(safe-area-inset-left, 0px) + 0.5rem)";if(!((w=i.meta)!=null&&w.ui.hideSidebar))switch(m.value){case"closed":case"overlay":v="calc(env(safe-area-inset-left, 0px) + 0.5rem)";break;case"minified":v="0.5rem";break;case"opened":v="0.5rem";break}return`padding-left: ${v}`}),f=H(()=>s.y.value>=re.OFFSET?`height: calc(env(safe-area-inset-top, 0px) + ${re.MINHEIGHT}px);`+"background: none;":`height: calc(env(safe-area-inset-top, 0px) + ${re.MAXHEIGHT}px);`);return R(s.y,v=>{v>=re.OFFSET?l.value="minified":l.value="default"}),R(l,v=>{v&&(u.emit({topbarState:v}),o("topbar-state",v))}),Ae(()=>{s.y.value===0&&(l.value="default")}),he(()=>{s.y.value>=re.OFFSET&&(l.value="default")}),(v,w)=>{const _=Ei,b=ui,M=ai;return h(),C("div",{class:"topbar flex justify-cente items-center",style:F(`${a(f)}${a(l)==="minified"?"box-shadow: 0px 0px 30px 1px rgba(0, 0, 0, 0.08)":""}`)},[d("div",{class:"topbar-inner h-full flex flex-row items-center p-2 mt-safe",style:F(a(z))},[a(c)?(h(),j(_,{key:0,"icon-size":25,"icon-border":!1,"show-username":"",class:"no-drag"})):T("",!0),p(b,{class:"ml-auto mr-2 no-outside no-drag"}),p(M,{class:"no-drag"})],4),a(s).y.value>=a(re).OFFSET?(h(),C("div",Zi)):T("",!0)],4)}}}),Ii=B(Ti,[["__scopeId","data-v-3c8e908e"]]),Di={class:"electron-titlebar"},Ni=J({__name:"VWindowButtons",emits:["minify","close","expand"],setup(e,{emit:n}){const t=n,o=V(window.electron!==void 0),i=V(!1),c=()=>{i.value||t("minify",!0)},m=()=>{t("close",!0)},l=()=>{t("expand",!0)};return he(()=>{o.value&&window.electron.on("fullscreen",(u,s)=>{i.value=s})}),Fe(()=>{o.value&&window.electron.removeAllListeners("fullscreen")}),(u,s)=>(h(),C("div",Di,[d("div",{class:"close-button mr-2 flex justify-center items-center",onClick:s[0]||(s[0]=z=>m())},[p(D,{size:"12",color:"#7f050a",class:"window-icon"},{default:g(()=>[E(x(a(Un)),1)]),_:1})]),d("div",{class:le(["mr-2 flex justify-center items-center",{"disabled-button":a(i),"minify-button":!a(i)}]),onClick:s[1]||(s[1]=z=>c())},[a(i)?T("",!0):(h(),j(D,{key:0,size:"12",color:"#995712",class:"window-icon"},{default:g(()=>[E(x(a(Ir)),1)]),_:1}))],2),d("div",{class:"expand-button flex justify-center items-center",onClick:s[2]||(s[2]=z=>l())},[p(D,{size:"12",color:"#0d650d",style:F(`${a(i)?"transform: rotate(45deg)":"transform: rotate(-45deg)"}`),class:"window-icon"},{default:g(()=>[E(x(a(i)?a(Dr):a(Nr)),1)]),_:1},8,["style"])])]))}}),Oi=B(Ni,[["__scopeId","data-v-07291b1b"]]),ze={HEIGHT:60,ITEM_WIDTH:60},ji={class:"bottombar-wrapper"},Fi={ref:"bottombar",class:"bottombar flex flex-row w-full h-full place-content-evenly"},Ri={class:"flex flex-col justify-center items-center"},qi={key:0,class:"navigation-bottombar-title"},Ui=J({inheritAttrs:!1,__name:"VMobileNavigation",props:{routes:{},label:{type:Boolean,default:!1}},setup(e){Rt(l=>({f1e6c602:a(c)}));const n=me(),t=e,{routes:o,label:i}=te(t),c=V(`${ze.HEIGHT}px`),m=H(()=>{let l=o.value.findIndex(s=>s.path===n.path);const u=n.path.split("/").filter(s=>s);if(u.length>1){const s=u[0];l=o.value.findIndex(z=>z.path===`/${s}`)}return l});return(l,u)=>{const s=Hn("router-link");return h(),C(fe,null,[d("div",{class:"mt-auto",style:F(`height: ${a(ze).HEIGHT}px`)},null,4),d("div",ji,[d("div",Fi,[(h(!0),C(fe,null,we(a(o),(z,f)=>{var v;return h(),C("div",{key:f,class:"flex flex-row",style:F(`height: ${a(ze).HEIGHT}px; min-width: ${a(ze).ITEM_WIDTH}px;`)},[p(s,{to:((v=z.meta)==null?void 0:v.path)||z.path,class:le(["navigation-inner-bottombar flex justify-center items-start relative",{"router-link-active":a(m)===f}])},{default:g(()=>[p(X,{ref_for:!0,ref:"bottombarItem",variant:"text",width:"100%",height:"100%",ripple:!1},{default:g(()=>{var w,_;return[d("div",Ri,[p(D,{class:"navigation-bottombar-icon",size:((w=z.meta)==null?void 0:w.navigation.iconSize)||"22"},{default:g(()=>{var b;return[E(x((b=z.meta)==null?void 0:b.navigation.icon),1)]}),_:2},1032,["size"]),a(i)?(h(),C("span",qi,x(l.$t(`navigation.${(_=z.meta)==null?void 0:_.name}`)),1)):T("",!0)])]}),_:2},1536)]),_:2},1032,["to","class"])],4)}),128))],512)])],64)}}}),Ki=B(Ui,[["__scopeId","data-v-7468f3b0"]]),Wi=Be("locale",()=>{const e=Zn("locale",Ce),n=V(Kn),t=zr();R(e,c=>{o(c),i(c)});const o=c=>{var m;(m=window.electron)==null||m.send("change-language",c),G.global.locale.value=c},i=c=>{t.current.value=c};return o(e.value),i(e.value),{languages:n,locale:e,setI18Nlocale:o,setVuetifyLocale:i}}),Ge=e=>(Oe("data-v-b9330345"),e=e(),je(),e),Gi={key:0,class:"overlay"},Qi={class:"flex flex-row w-full"},Ji={for:"check",class:"menu-icon-label"},Xi=Ge(()=>d("span",null,null,-1)),Yi=Ge(()=>d("span",null,null,-1)),es=Ge(()=>d("span",null,null,-1)),ns={key:1,class:"flex w-full h-full justify-center items-center absolute z-50"},ts={key:0,class:"offline"},rs=J({__name:"App",setup(e){const n=me(),t=Re(),o=ar(),i=Le(),c=Q(),m=pt(),l=We(),{bigDesktopActive:u,extraSmallMobileActive:s,mobileActive:z}=ve();Wi();const{loginState:f}=ue(c),{theme:v}=ue(l),w=V(),_=V(null),b=V(window.electron!==void 0),M=V(!0),S=V(!1),L=V(!1),$=V(null),y=V(),A=V("default"),I=V(0),N=V(!1),U=H(()=>Me.filter(k=>{var P;return((P=k.meta)==null?void 0:P.navigation.showInMobileBottomBar)&&$e(k)}));ir($,k=>{!k.target.closest(".no-outside")&&(!u.value||y.value==="overlay")&&(S.value=!1)});const ae=H(()=>s.value&&n.name==="Camview"),He=H(()=>{var k;return s.value&&((k=n.meta)!=null&&k.navigation.showMobileBottomBar)?`${ze.HEIGHT}px`:"0px"}),_e=H(()=>{let k="0px";switch(y.value){case"closed":case"overlay":k="0px";break;case"minified":k=`${oe.MINWIDTH}px`;break;case"opened":k=`${oe.MAXWIDTH}px`;break}return`margin-left: calc(env(safe-area-inset-left, 0px) + ${k} + 8px)`}),Qe=H(()=>y.value==="opened"||y.value==="overlay"),ft=H(()=>{var P,ie;if((P=n.meta)!=null&&P.ui.fullscreen)return"padding-left: 0px";let k="0px";if(!((ie=n.meta)!=null&&ie.ui.hideSidebar))switch(y.value){case"closed":case"overlay":k="0px";break;case"minified":k=`${oe.MINWIDTH}px`;break;case"opened":k=`${oe.MAXWIDTH}px`;break}return`padding-left: calc(env(safe-area-inset-left, 0px) + ${k})`}),ht=H(()=>{var P,ie;let k="0px";if(!((P=n.meta)!=null&&P.ui.hideTopbar))switch(A.value){case"default":k=`${re.MAXHEIGHT}px`;break;case"minified":k=`${re.MINHEIGHT}px`;break}return(ie=n.meta)!=null&&ie.ui.fullscreen?`padding-top: ${k}`:`padding-top: calc(env(safe-area-inset-top, 0px) + ${k})`}),vt=H(()=>!["Login","NotFound","FirstSteps"].includes(n.name)&&y.value==="overlay");R(f,k=>{k.user?w.value=m.connectToNamespace("/camera.ui"):(w.value=void 0,m.disconnect())},{deep:!0,immediate:!0}),R(Qe,k=>{Pn(()=>L.value=k)}),R(y,()=>{S.value&&!Qe.value&&(S.value=!1)}),R([v,z],()=>{Xe()},{deep:!0});const Je=H(()=>{var k;return o.value==!1||!!((k=w.value)!=null&&k.disconnected)});R(Je,(k,P)=>{f.value.user&&(k?N.value=!0:N.value=!1,M.value=k,P===!0&&k===!1&&i.refetchQueries())});const bt=()=>{S.value=!S.value},wt=()=>{var k;(k=window.electron)==null||k.send("change-window","close")},yt=()=>{var k;(k=window.electron)==null||k.send("change-window","expand")},kt=()=>{var k;(k=window.electron)==null||k.send("change-window","minify")},Xe=()=>{Lt({autoClose:3e3,pauseOnHover:!0,closeOnClick:!0,pauseOnFocusLoss:!1,theme:v.value==="dark"?"dark":"light",position:z.value?"bottom-center":"bottom-right"})};return Ae(()=>{z.value&&(S.value=!1)}),he(async()=>{Xe(),await t.isReady(),I.value++,M.value=!1}),(k,P)=>{var Ye,en,nn,tn,rn,on,an,sn,ln,cn;const ie=Oi,Ct=Ii,xt=Fa,St=Hn("router-view"),Mt=Oo;return a(M)?(h(),C("div",ns,[a(Je)?(h(),C("div",ts,[p(D,{size:"24",class:"primary-color"},{default:g(()=>[E(x(a(jr)),1)]),_:1})])):T("",!0),p(Mt,{reload:a(N)},null,8,["reload"])])):(h(),C("div",{key:0,ref_key:"appEl",ref:_,class:"app-wrapper"},[p(de,{name:"overlay-fade",mode:"in-out"},{default:g(()=>[a(vt)?(h(),C("div",Gi)):T("",!0)]),_:1}),d("div",Qi,[a(ae)?(h(),C("div",{key:0,class:le(["sidebar-button fixed z-10 no-outside no-drag",{"mt-6":a(b)&&a(y)==="closed"}]),style:F(a(_e))},[p(X,{size:"32",icon:"",density:"compact",variant:(Ye=k.$route.meta)!=null&&Ye.ui.hideTopbar?"elevated":"text",class:"no-drag camera-no-outside",onClick:P[0]||(P[0]=ne(Y=>a(t).push("/cameras"),["prevent"]))},{default:g(()=>[p(D,{size:"24"},{default:g(()=>[E(x(a(Or)),1)]),_:1})]),_:1},8,["variant"])],6)):T("",!0),d("div",{class:"draggable-title drag",style:F({pointerEvents:(en=k.$route.meta)!=null&&en.ui.hideTopbar?"none":"unset"})},[a(b)?(h(),j(ie,{key:0,class:"no-drag",onMinify:P[1]||(P[1]=Y=>kt()),onClose:P[2]||(P[2]=Y=>wt()),onExpand:P[3]||(P[3]=Y=>yt())})):T("",!0),!a(s)&&(!((nn=k.$route.meta)!=null&&nn.ui.hideSidebar)||(tn=k.$route.meta)!=null&&tn.ui.noMinifiedSidebar)?(h(),C("div",{key:1,class:le(["sidebar-button fixed z-10 no-outside no-drag",{"mt-6":a(b)&&a(y)==="closed"}]),style:F(a(_e))},[p(X,{size:"32",icon:"",density:"compact",variant:(rn=k.$route.meta)!=null&&rn.ui.hideTopbar?"elevated":"text",class:"no-drag camera-no-outside",onClick:P[5]||(P[5]=ne(Y=>bt(),["prevent"]))},{default:g(()=>[d("label",Ji,[qt(d("input",{id:"check","onUpdate:modelValue":P[4]||(P[4]=Y=>ge(L)?L.value=Y:null),type:"checkbox"},null,512),[[Ut,a(L)]]),Xi,Yi,es])]),_:1},8,["variant"])],6)):T("",!0),(on=k.$route.meta)!=null&&on.ui.hideTopbar?T("",!0):(h(),j(Ct,{key:2,ref:"topbar","sidebar-state":a(y),onTopbarState:P[6]||(P[6]=Y=>A.value=Y)},null,8,["sidebar-state"])),(an=k.$route.meta)!=null&&an.ui.hideSidebar?T("",!0):(h(),j(xt,{key:3,ref_key:"sidebar",ref:$,state:a(S),onSidebarState:P[7]||(P[7]=Y=>y.value=Y)},null,8,["state"]))],4),d("div",{class:"w-full lex flex-col relative",style:F(`transition: 0.1s all ease-in-out;${a(ft)}; max-width: ${(sn=k.$route.meta)!=null&&sn.ui.disableMaxWidth?"100%":"var(--max-width)"}; min-height: calc(100vh - ${a(He)}); background: ${((ln=k.$route.meta)==null?void 0:ln.ui.appBgColor)||"var(--background)"};`)},[d("div",{class:"router-container",style:F(`${a(ht)}`)},[p(St,null,{default:g(({Component:Y})=>[p(de,{name:"fade",mode:"out-in"},{default:g(()=>{var un;return[(h(),j(Kt(Y),{class:"router-view p-4",style:F((un=k.$route.meta)!=null&&un.ui.fullscreen?"width: 100% !important":"")},null,8,["style"]))]}),_:2},1024)]),_:1})],4)],4)]),a(s)&&((cn=k.$route.meta)!=null&&cn.navigation.showMobileBottomBar)?(h(),j(Ki,{key:0,height:60,routes:a(U),label:!1},null,8,["routes"])):T("",!0)],512))}}}),os=B(rs,[["__scopeId","data-v-b9330345"]]),as=new Et({defaultOptions:{queries:{refetchOnWindowFocus:!1,gcTime:5*60*1e3,staleTime:1e4,networkMode:"always",retry:(e,n)=>{var t;return n instanceof mn&&((t=n.response)==null?void 0:t.status)===401?(Q().logout(),!1):(console.error(n),e<1)}},mutations:{networkMode:"always",onError:e=>{var n,t,o,i;console.error(((t=(n=e.response)==null?void 0:n.data)==null?void 0:t.message)??e.message??e),e instanceof mn?W.error(((i=(o=e.response)==null?void 0:o.data)==null?void 0:i.message)??e.message??e):W.error(e.message??e)}}}}),is=Qt(),ss={},ls={xmlns:"http://www.w3.org/2000/svg",class:"v-icon__svg",viewBox:"0 0 970 550",role:"img","area-hidden":"true"},cs=d("path",{d:"M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm0 8h952v532H9V9Z"},null,-1),us=[cs];function ms(e,n){return h(),C("svg",ls,us)}const ds=B(ss,[["render",ms]]),_s={},zs={xmlns:"http://www.w3.org/2000/svg",class:"v-icon__svg",viewBox:"0 0 970 550",role:"img","area-hidden":"true"},ps=d("path",{d:"M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm726 275h226v130H735V276Zm-242 0h234v130H493V276Zm0 265V414h234v127H493ZM9 541V276h476v265H9Zm726 0V414h226v127H735ZM961 9v121H735V9h226ZM735 138h226v130H735V138ZM727 9v121H493V9h234ZM493 138h234v130H493V138ZM485 9v259H9V9h476Z"},null,-1),gs=[ps];function fs(e,n){return h(),C("svg",zs,gs)}const hs=B(_s,[["render",fs]]),vs={},bs={xmlns:"http://www.w3.org/2000/svg",class:"v-icon__svg",viewBox:"0 0 970 550",role:"img","area-hidden":"true"},ws=d("path",{d:"M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 275v129H810.5V276H961Zm-158.5 0v129h-152V276h152Zm-152 265V413h152v128h-152Zm-8-265v129H493V276h149.5ZM493 541V413h149.5v128H493ZM9 276h476v265H9V276Zm801.5 265V413H961v128H810.5ZM961 9v259H493V9h468ZM9 268V9h476v259H9Z"},null,-1),ys=[ws];function ks(e,n){return h(),C("svg",bs,ys)}const Cs=B(vs,[["render",ks]]),xs={},Ss={xmlns:"http://www.w3.org/2000/svg",class:"v-icon__svg",viewBox:"0 0 970 550",role:"img","area-hidden":"true"},Ms=d("path",{d:"M250 549.5h.5v-.5H961a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h233.5v.5h7.5Zm.5-273.5H485v129.5H250.5V276Zm-8 0v129.5H9V276h233.5ZM961 9v121H735V9h226ZM727 9v121H493V9h234ZM493 138h234v130H493V138ZM485 9v259H9V9h476Zm250 129h226v130H735V138Zm0 267.5V276h226v129.5H735ZM493 276h234v129.5H493V276Zm0 265V413.5h234V541H493Zm-242.5 0V413.5H485V541H250.5ZM9 541V413.5h233.5V541H9Zm726 0V413.5h226V541H735Z"},null,-1),$s=[Ms];function Vs(e,n){return h(),C("svg",Ss,$s)}const Ls=B(xs,[["render",Vs]]),As={},Bs={xmlns:"http://www.w3.org/2000/svg",class:"v-icon__svg",viewBox:"0 0 970 550",role:"img","area-hidden":"true"},Ps=d("path",{d:"M250 549.5h.5v-.5H961a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h233.5v.5h7.5Zm.5-144V276H485v129.5H250.5Zm-8-129.5v129.5H9V276h233.5Zm570 90H961v82H812.5v-82Zm-160 0h152v82h-152v-82ZM961 276v82H812.5v-82H961Zm-308.5 0h152v82h-152v-82Zm0 180h152v85h-152v-85ZM961 541H812.5v-85H961v85Zm-316.5-93H493v-82h151.5v82Zm0-172v82H493v-82h151.5Zm0 180v85H493v-85h151.5ZM485 413.5V541H250.5V413.5H485Zm-242.5 0V541H9V413.5h233.5ZM961 9v259H493V9h468ZM9 9h476v259H9V9Z"},null,-1),Hs=[Ps];function Es(e,n){return h(),C("svg",Bs,Hs)}const Zs=B(As,[["render",Es]]),Ts={},Is={xmlns:"http://www.w3.org/2000/svg",class:"v-icon__svg",viewBox:"0 0 970 550",role:"img","area-hidden":"true"},Ds=d("path",{d:"M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 8v121.5H732.5V9H961ZM724.5 9v121.5H493V9h231.5ZM493 268V138.5h231.5V268H493Zm0 137.5V276h231.5v129.5H493Zm468 0H732.5V276H961v129.5ZM493 541V413.5h231.5V541H493Zm468 0H732.5V413.5H961V541Zm0-273H732.5V138.5H961V268ZM485 9v121.5H250.5V9H485ZM250.5 138.5H485V268H250.5V138.5ZM242.5 9v121.5H9V9h233.5ZM9 138.5h233.5V268H9V138.5ZM250.5 276H485v129.5H250.5V276Zm0 137.5H485V541H250.5V413.5Zm-8-137.5v129.5H9V276h233.5ZM9 541V413.5h233.5V541H9Z"},null,-1),Ns=[Ds];function Os(e,n){return h(),C("svg",Is,Ns)}const js=B(Ts,[["render",Os]]),Fs={},Rs={xmlns:"http://www.w3.org/2000/svg",class:"v-icon__svg",viewBox:"0 0 970 550",role:"img","area-hidden":"true"},qs=d("path",{d:"M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 94v82H812.5V95H961Zm-156.5 82h-152V95h152v82ZM961 9v78H812.5V9H961ZM652.5 9h152v78h-152V9Zm0 176h152v83h-152v-83ZM961 268H812.5v-83H961v83Zm-308.5 8h152v82h-152v-82Zm160 0H961v82H812.5v-82Zm-168-181v82H493V95h151.5Zm0-86v78H493V9h151.5ZM493 268v-83h151.5v83H493Zm0 90v-82h151.5v82H493ZM9 9h476v259H9V9Zm952 357v82H812.5v-82H961Zm-156.5 0v82h-152v-82h152Zm-152 90h152v85h-152v-85ZM961 541H812.5v-85H961v85ZM644.5 366v82H493v-82h151.5ZM493 541v-85h151.5v85H493ZM9 276h476v265H9V276Z"},null,-1),Us=[qs];function Ks(e,n){return h(),C("svg",Rs,Us)}const Ws=B(Fs,[["render",Ks]]),Gs={},Qs={xmlns:"http://www.w3.org/2000/svg",class:"v-icon__svg",viewBox:"0 0 970 550",role:"img","area-hidden":"true"},Js=d("path",{"fill-rule":"evenodd",d:"M1.5 9A7.5 7.5 0 0 1 9 1.5h952a7.5 7.5 0 0 1 7.5 7.5v532a7.5 7.5 0 0 1-7.5 7.5H9a7.5 7.5 0 0 1-7.5-7.5V9Zm960 168V94h-153v83h153Zm-160 0h-153V94h153v83Zm7-90h153V9a.5.5 0 0 0-.5-.5H808.5V87Zm-7-78.5V87h-153V8.5h153Zm0 175.5v84.5h-153V184h153Zm7 84.5V184h153v84.5h-153Zm-167-91.5V94h-149v83h149Zm0-90V8.5h-149V87h149Zm-149 97h149v84.5h-149V184Zm0 91.5H719V402H492.5V275.5Zm0 133.5v132.5H719V409H492.5Zm233.5 0v132.5h235a.5.5 0 0 0 .5-.5V409H726Zm235.5-7V275.5H726V402h235.5Zm-476-270V8.5H252V132h233.5ZM245 139H8.5v129.5H245V139Zm0-7V8.5H9a.5.5 0 0 0-.5.5v123H245Zm240.5 136.5V139H252v129.5h233.5Zm-477 7h157v81H8.5v-81Zm164 81v-81h153v81h-153Zm153 7h-153v83h153v-83Zm7 83v-83h153v83h-153Zm-7 7h-153v88h153v-88Zm7 88v-88h153v88h-153Zm0-185v-81h153v81h-153Zm-324 7h157v83H8.5v-83Zm0 90h157v88H9a.5.5 0 0 1-.5-.5v-87.5Z"},null,-1),Xs=[Js];function Ys(e,n){return h(),C("svg",Qs,Xs)}const el=B(Gs,[["render",Ys]]),nl={},tl={xmlns:"http://www.w3.org/2000/svg",class:"v-icon__svg",viewBox:"0 0 970 550",role:"img","area-hidden":"true"},rl=d("path",{d:"M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 8v259H493V9h468ZM493 541V276h468v265H493ZM485 9v259H9V9h476ZM9 541V276h476v265H9Z"},null,-1),ol=[rl];function al(e,n){return h(),C("svg",tl,ol)}const il=B(nl,[["render",al]]),sl={},ll={xmlns:"http://www.w3.org/2000/svg",class:"v-icon__svg",viewBox:"0 0 970 550",role:"img","area-hidden":"true"},cl=d("path",{d:"M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm641.5 187.5H961v171H650.5v-171ZM961 9v171.5H650.5V9H961ZM642.5 9v350.5H9V9h633.5ZM9 541V367.5h315.5V541H9Zm323.5-173.5h310V541h-310V367.5Zm318 0H961V541H650.5V367.5Z"},null,-1),ul=[cl];function ml(e,n){return h(),C("svg",ll,ul)}const dl=B(sl,[["render",ml]]),_l={},zl={xmlns:"http://www.w3.org/2000/svg",class:"v-icon__svg",viewBox:"0 0 970 550",role:"img","area-hidden":"true"},pl=d("path",{d:"M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm725.5 275H961v130H734.5V276Zm0 265V414H961v127H734.5Zm-8-265v130H493V276h233.5ZM493 541V414h233.5v127H493ZM9 276h476v265H9V276ZM961 9v259H493V9h468ZM9 268V9h476v259H9Z"},null,-1),gl=[pl];function fl(e,n){return h(),C("svg",zl,gl)}const hl=B(_l,[["render",fl]]),vl={},bl={xmlns:"http://www.w3.org/2000/svg",class:"v-icon__svg",viewBox:"0 0 970 550",role:"img","area-hidden":"true"},wl=d("path",{d:"M969.5 359v-.5h-.5V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V366.5h.5V359ZM961 187v171.5H651V187h310ZM651 541V366.5h310V541H651Zm-8-354v171.5H330V187h313ZM330 541V366.5h313V541H330Zm-8-354v171.5H9V187h313ZM9 541V366.5h313V541H9ZM961 9v170H651V9h310ZM643 9v170H330V9h313ZM322 9v170H9V9h313Z"},null,-1),yl=[wl];function kl(e,n){return h(),C("svg",bl,yl)}const Cl=B(vl,[["render",kl]]),xl={},Sl={xmlns:"http://www.w3.org/2000/svg",class:"v-icon__svg",viewBox:"0 0 765 572"},Ml=En('<ellipse cx="384.5" cy="287" fill="#D9D9D9" rx="245.5" ry="241"></ellipse><ellipse cx="385.5" cy="277" fill="#434345" rx="221.5" ry="228"></ellipse><ellipse cx="386" cy="271.5" fill="#58595B" rx="211" ry="222.5"></ellipse><mask id="a" width="156" height="256" x="306" y="312" maskUnits="userSpaceOnUse" style="mask-type:alpha;"><rect width="156" height="256" x="306" y="312" fill="#3F3F3F" rx="76"></rect></mask><g mask="url(#a)"><ellipse cx="386" cy="260.5" fill="#3F3F3F" rx="211" ry="222.5"></ellipse></g><mask id="b" width="156" height="256" x="306" y="323" maskUnits="userSpaceOnUse" style="mask-type:alpha;"><rect width="156" height="256" x="306" y="323" fill="#434345" rx="76"></rect></mask><g mask="url(#b)"><ellipse cx="386" cy="271.5" fill="#434345" rx="211" ry="222.5"></ellipse></g><path fill="#EBEBEB" d="M65 71c0-17.12 13.88-31 31-31h574c17.121 0 31 13.88 31 31v116c0 55.228-44.772 100-100 100H165c-55.228 0-100-44.772-100-100V71Z"></path><mask id="c" width="687" height="115" x="40" y="195" maskUnits="userSpaceOnUse" style="mask-type:alpha;"><path fill="#CBCBCB" d="M40 195h687v115H40z"></path></mask><g mask="url(#c)"><path fill="#CBCBCB" d="M65 71c0-17.12 13.88-31 31-31h574c17.121 0 31 13.88 31 31v116c0 55.228-44.772 100-100 100H165c-55.228 0-100-44.772-100-100V71Z"></path></g><mask id="d" width="669" height="22" x="48" y="73" maskUnits="userSpaceOnUse" style="mask-type:alpha;"><path fill="#CBCBCB" d="M48 73h669v22H48z"></path></mask><g mask="url(#d)"><path fill="#CBCBCB" d="M65 71c0-17.12 13.88-31 31-31h574c17.121 0 31 13.88 31 31v116c0 55.228-44.772 100-100 100H165c-55.228 0-100-44.772-100-100V71Z"></path></g><circle cx="384" cy="400" r="59" stroke="#BFBFC1" stroke-width="6"></circle><circle cx="384" cy="400" r="22" fill="#D9D9D9"></circle>',14),$l=[Ml];function Vl(e,n){return h(),C("svg",Sl,$l)}const Ll=B(xl,[["render",Vl]]),Al={},Bl={class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},Pl=d("path",{d:"M8,20H5a1,1,0,0,1-1-1V16a1,1,0,0,0-2,0v3a3,3,0,0,0,3,3H8a1,1,0,0,0,0-2ZM3,9A1,1,0,0,0,4,8V5A1,1,0,0,1,5,4H8A1,1,0,0,0,8,2H5A3,3,0,0,0,2,5V8A1,1,0,0,0,3,9ZM19,2H16a1,1,0,0,0,0,2h3a1,1,0,0,1,1,1V8a1,1,0,0,0,2,0V5A3,3,0,0,0,19,2ZM16,12a1,1,0,0,0-1-1H13V9a1,1,0,0,0-2,0v2H9a1,1,0,0,0,0,2h2v2a1,1,0,0,0,2,0V13h2A1,1,0,0,0,16,12Zm5,3a1,1,0,0,0-1,1v3a1,1,0,0,1-1,1H16a1,1,0,0,0,0,2h3a3,3,0,0,0,3-3V16A1,1,0,0,0,21,15Z"},null,-1),Hl=[Pl];function El(e,n){return h(),C("svg",Bl,Hl)}const Zl=B(Al,[["render",El]]),Tl={},Il={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",role:"img","aria-hidden":"true",class:"v-icon__svg"},Dl=d("g",null,[d("path",{d:"M0,0 L256,0 L256,256 L0,256 L0,0 Z",fill:"#F7DF1E"}),d("path",{d:"M67.311746,213.932292 L86.902654,202.076241 C90.6821079,208.777346 94.1202286,214.447137 102.367086,214.447137 C110.272203,214.447137 115.256076,211.354819 115.256076,199.326883 L115.256076,117.528787 L139.313575,117.528787 L139.313575,199.666997 C139.313575,224.58433 124.707759,235.925943 103.3984,235.925943 C84.1532952,235.925943 72.9819429,225.958603 67.3113397,213.93026",fill:"#000000"}),d("path",{d:"M152.380952,211.354413 L171.969422,200.0128 C177.125994,208.433981 183.827911,214.619835 195.684368,214.619835 C205.652521,214.619835 212.009041,209.635962 212.009041,202.762159 C212.009041,194.513676 205.479416,191.592025 194.481168,186.78207 L188.468419,184.202565 C171.111213,176.81473 159.597308,167.53534 159.597308,147.944838 C159.597308,129.901308 173.344508,116.153295 194.825752,116.153295 C210.119924,116.153295 221.117765,121.48094 229.021663,135.400432 L210.29059,147.428775 C206.166146,140.040127 201.699556,137.119289 194.826159,137.119289 C187.78047,137.119289 183.312254,141.587098 183.312254,147.428775 C183.312254,154.646349 187.78047,157.568406 198.089956,162.036622 L204.103924,164.614095 C224.553448,173.378641 236.067352,182.313448 236.067352,202.418387 C236.067352,224.071924 219.055137,235.927975 196.200432,235.927975 C173.860978,235.927975 159.425829,225.274311 152.381359,211.354413",fill:"#000000"})],-1),Nl=[Dl];function Ol(e,n){return h(),C("svg",Il,Nl)}const jl=B(Tl,[["render",Ol]]),Fl={},Rl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 255",role:"img","aria-hidden":"true",class:"v-icon__svg"},ql=En('<defs><linearGradient id="linearGradient-1" x1="12.9593594%" y1="12.0393928%" x2="79.6388325%" y2="78.2008538%"><stop stop-color="#387EB8" offset="0%"></stop><stop stop-color="#366994" offset="100%"></stop></linearGradient><linearGradient id="linearGradient-2" x1="19.127525%" y1="20.5791813%" x2="90.7415328%" y2="88.4290372%"><stop stop-color="#FFE052" offset="0%"></stop><stop stop-color="#FFC331" offset="100%"></stop></linearGradient></defs><g><path d="M126.915866,0.0722755491 C62.0835831,0.0722801733 66.1321288,28.1874648 66.1321288,28.1874648 L66.2044043,57.3145115 L128.072276,57.3145115 L128.072276,66.0598532 L41.6307171,66.0598532 C41.6307171,66.0598532 0.144551098,61.3549438 0.144551098,126.771315 C0.144546474,192.187673 36.3546019,189.867871 36.3546019,189.867871 L57.9649915,189.867871 L57.9649915,159.51214 C57.9649915,159.51214 56.8001363,123.302089 93.5968379,123.302089 L154.95878,123.302089 C154.95878,123.302089 189.434218,123.859386 189.434218,89.9830604 L189.434218,33.9695088 C189.434218,33.9695041 194.668541,0.0722755491 126.915866,0.0722755491 L126.915866,0.0722755491 L126.915866,0.0722755491 Z M92.8018069,19.6589497 C98.9572068,19.6589452 103.932242,24.6339846 103.932242,30.7893845 C103.932246,36.9447844 98.9572068,41.9198193 92.8018069,41.9198193 C86.646407,41.9198239 81.6713721,36.9447844 81.6713721,30.7893845 C81.6713674,24.6339846 86.646407,19.6589497 92.8018069,19.6589497 L92.8018069,19.6589497 L92.8018069,19.6589497 Z" fill="url(#linearGradient-1)"></path><path d="M128.757101,254.126271 C193.589403,254.126271 189.540839,226.011081 189.540839,226.011081 L189.468564,196.884035 L127.600692,196.884035 L127.600692,188.138693 L214.042251,188.138693 C214.042251,188.138693 255.528417,192.843589 255.528417,127.427208 C255.52844,62.0108566 219.318366,64.3306589 219.318366,64.3306589 L197.707976,64.3306589 L197.707976,94.6863832 C197.707976,94.6863832 198.87285,130.896434 162.07613,130.896434 L100.714182,130.896434 C100.714182,130.896434 66.238745,130.339138 66.238745,164.215486 L66.238745,220.229038 C66.238745,220.229038 61.0044225,254.126271 128.757101,254.126271 L128.757101,254.126271 L128.757101,254.126271 Z M162.87116,234.539597 C156.715759,234.539597 151.740726,229.564564 151.740726,223.409162 C151.740726,217.253759 156.715759,212.278727 162.87116,212.278727 C169.026563,212.278727 174.001595,217.253759 174.001595,223.409162 C174.001618,229.564564 169.026563,234.539597 162.87116,234.539597 L162.87116,234.539597 L162.87116,234.539597 Z" fill="url(#linearGradient-2)"></path></g>',2),Ul=[ql];function Kl(e,n){return h(),C("svg",Rl,Ul)}const Wl=B(Fl,[["render",Kl]]),Gl={},Ql={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",class:"v-icon__svg"},Jl=d("path",{d:"M 17.335938 2.410156 C 16.851562 2.484375 16.515625 2.625 16.160156 2.90625 C 15.636719 3.320312 15.320312 3.980469 15.320312 4.652344 C 15.320312 5.019531 15.390625 5.324219 15.550781 5.652344 C 15.9375 6.4375 16.710938 6.917969 17.585938 6.917969 C 18.234375 6.917969 18.789062 6.683594 19.242188 6.210938 C 19.539062 5.90625 19.746094 5.5 19.828125 5.078125 C 19.863281 4.894531 19.867188 4.492188 19.839844 4.3125 C 19.761719 3.839844 19.542969 3.414062 19.203125 3.074219 C 18.878906 2.746094 18.5 2.542969 18.046875 2.445312 C 17.902344 2.417969 17.453125 2.394531 17.335938 2.410156 Z M 17.335938 2.410156 M 6.160156 4.90625 C 5.589844 4.953125 5.0625 5.191406 4.714844 5.554688 C 4.5625 5.710938 4.386719 5.96875 4.300781 6.164062 C 4.144531 6.515625 4.046875 7.289062 3.953125 8.933594 C 3.921875 9.488281 3.921875 11.171875 3.953125 11.746094 L 3.980469 12.195312 L 4.226562 12.675781 C 5.1875 14.515625 5.785156 15.28125 6.789062 15.945312 C 7.546875 16.453125 8.503906 16.785156 9.453125 16.875 C 9.605469 16.890625 9.875 16.894531 10.195312 16.886719 C 10.742188 16.878906 11.019531 16.84375 11.503906 16.722656 C 12.375 16.503906 13.246094 16.054688 13.835938 15.519531 C 13.945312 15.421875 13.929688 15.402344 13.808594 15.476562 C 13.445312 15.710938 12.902344 15.917969 12.476562 15.984375 C 12.207031 16.027344 11.738281 16.015625 11.472656 15.957031 C 11.023438 15.863281 10.558594 15.652344 10.21875 15.394531 C 9.984375 15.222656 9.65625 14.882812 9.492188 14.652344 C 9.097656 14.097656 8.859375 13.347656 8.773438 12.394531 C 8.761719 12.25 8.75 11.433594 8.746094 10.304688 C 8.742188 9.28125 8.730469 8.300781 8.71875 8.128906 C 8.671875 7.410156 8.558594 6.570312 8.476562 6.328125 C 8.355469 5.988281 8.058594 5.613281 7.734375 5.398438 C 7.535156 5.269531 7.136719 5.078125 6.925781 5.007812 C 6.742188 4.945312 6.4375 4.890625 6.308594 4.898438 C 6.269531 4.898438 6.199219 4.902344 6.160156 4.90625 Z M 6.160156 4.90625 M 17.46875 7.671875 C 17.25 7.691406 16.957031 7.769531 16.769531 7.851562 C 16.289062 8.058594 15.898438 8.460938 15.730469 8.925781 C 15.554688 9.410156 15.496094 9.828125 15.394531 11.429688 C 15.347656 12.128906 15.3125 12.507812 15.261719 12.871094 C 15.152344 13.628906 14.960938 14.242188 14.707031 14.667969 C 14.515625 14.988281 14.089844 15.480469 13.847656 15.664062 C 13.761719 15.726562 13.597656 15.851562 13.480469 15.9375 C 12.789062 16.460938 11.972656 16.808594 11.0625 16.976562 C 10.433594 17.089844 9.699219 17.09375 9.066406 16.984375 C 8.128906 16.824219 7.292969 16.472656 6.570312 15.9375 C 6.226562 15.683594 5.835938 15.308594 5.578125 14.980469 C 5.179688 14.484375 4.628906 13.570312 4.160156 12.632812 C 4.078125 12.46875 4.003906 12.335938 3.992188 12.335938 C 3.972656 12.335938 3.972656 12.460938 3.992188 12.890625 C 4.109375 14.992188 4.671875 16.917969 5.582031 18.328125 C 6.117188 19.15625 6.898438 19.9375 7.78125 20.523438 C 8.691406 21.128906 9.59375 21.492188 10.726562 21.703125 C 10.992188 21.753906 11.015625 21.757812 11.820312 21.765625 C 12.691406 21.773438 12.761719 21.765625 13.226562 21.683594 C 13.945312 21.550781 14.597656 21.328125 15.308594 20.980469 C 16.027344 20.625 16.527344 20.289062 17.089844 19.769531 C 18.839844 18.160156 19.894531 15.460938 20.0625 12.167969 C 20.097656 11.46875 20.082031 10.585938 20.023438 10.117188 C 19.929688 9.367188 19.65625 8.695312 19.285156 8.320312 C 18.84375 7.871094 18.089844 7.601562 17.46875 7.671875 Z M 17.46875 7.671875"},null,-1),Xl=[Jl];function Yl(e,n){return h(),C("svg",Ql,Xl)}const ec=B(Gl,[["render",Yl]]),nc={},tc={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",class:"v-icon__svg"},rc=d("path",{d:"M 10.859375 7.105469 C 10.242188 7.195312 9.65625 7.367188 9.226562 7.585938 C 8.269531 8.070312 7.378906 9.0625 7.027344 10.054688 C 6.574219 11.328125 6.816406 12.757812 7.625 13.601562 L 7.796875 13.78125 L 7.304688 16.078125 L 6.8125 18.378906 L 7.472656 18.390625 C 7.835938 18.394531 8.140625 18.390625 8.148438 18.382812 C 8.160156 18.375 8.210938 18.164062 8.265625 17.910156 C 8.316406 17.664062 8.386719 17.328125 8.425781 17.167969 L 8.484375 16.878906 L 8.957031 16.878906 L 9.035156 17.148438 C 9.078125 17.300781 9.171875 17.628906 9.242188 17.878906 C 9.3125 18.132812 9.378906 18.351562 9.394531 18.371094 C 9.410156 18.386719 9.730469 18.394531 10.109375 18.390625 L 10.792969 18.378906 L 10.539062 17.558594 L 10.289062 16.738281 L 10.476562 16.644531 C 11.042969 16.355469 11.394531 15.730469 11.347656 15.085938 C 11.335938 14.914062 11.316406 14.738281 11.300781 14.695312 C 11.277344 14.617188 11.300781 14.601562 11.539062 14.519531 C 11.683594 14.472656 11.8125 14.441406 11.820312 14.449219 C 11.832031 14.457031 11.820312 14.527344 11.800781 14.605469 C 11.714844 14.890625 11.691406 14.878906 12.378906 14.878906 C 12.757812 14.878906 13 14.894531 13 14.921875 C 13 14.941406 12.839844 15.714844 12.640625 16.648438 C 12.445312 17.574219 12.28125 18.347656 12.28125 18.367188 C 12.28125 18.382812 12.578125 18.398438 12.953125 18.398438 L 13.621094 18.398438 L 13.9375 16.90625 C 14.109375 16.09375 14.277344 15.300781 14.308594 15.148438 L 14.367188 14.878906 L 15 14.878906 C 15.703125 14.878906 15.648438 14.902344 15.703125 14.578125 C 15.738281 14.355469 15.738281 14.355469 15.933594 14.4375 C 16.023438 14.476562 16.132812 14.519531 16.171875 14.535156 C 16.238281 14.554688 16.234375 14.574219 16.128906 14.726562 C 15.957031 14.980469 15.820312 15.265625 15.71875 15.578125 C 15.613281 15.9375 15.566406 16.652344 15.636719 17.003906 C 15.828125 17.972656 16.679688 18.539062 17.820312 18.46875 C 18.847656 18.398438 19.636719 17.816406 19.894531 16.925781 C 19.933594 16.804688 19.960938 16.691406 19.960938 16.671875 C 19.960938 16.65625 19.664062 16.640625 19.304688 16.640625 L 18.648438 16.640625 L 18.605469 16.773438 C 18.492188 17.113281 18.128906 17.363281 17.742188 17.367188 C 17.425781 17.371094 17.246094 17.269531 17.113281 17 C 17.011719 16.8125 17 16.738281 17 16.421875 C 17 15.707031 17.273438 15.148438 17.730469 14.914062 C 17.972656 14.792969 18.371094 14.820312 18.570312 14.972656 C 18.761719 15.113281 18.8125 15.210938 18.839844 15.460938 L 18.859375 15.660156 L 19.507812 15.671875 L 20.15625 15.679688 L 20.167969 15.570312 C 20.191406 15.359375 20.121094 14.953125 20.027344 14.742188 C 19.976562 14.632812 19.859375 14.460938 19.773438 14.363281 L 19.613281 14.183594 L 19.914062 13.988281 C 20.332031 13.71875 20.945312 13.09375 21.234375 12.636719 C 21.847656 11.691406 22.007812 10.464844 21.65625 9.398438 C 21.335938 8.4375 20.453125 7.621094 19.390625 7.316406 C 18.757812 7.136719 17.792969 7.175781 16.941406 7.421875 C 15.765625 7.757812 14.792969 8.617188 14.238281 9.808594 L 14.058594 10.199219 L 12.449219 10.199219 C 11.351562 10.199219 10.808594 10.214844 10.753906 10.242188 C 10.640625 10.304688 10.070312 11.488281 10.089844 11.632812 C 10.097656 11.703125 10.132812 11.742188 10.199219 11.765625 C 10.257812 11.78125 10.726562 11.792969 11.253906 11.796875 L 12.203125 11.800781 L 12.089844 11.96875 C 11.289062 13.128906 9.621094 13.109375 9.066406 11.929688 C 8.964844 11.703125 8.941406 11.601562 8.929688 11.300781 C 8.894531 10.535156 9.171875 9.925781 9.738281 9.492188 C 10.574219 8.855469 11.453125 8.859375 12.125 9.5 L 12.351562 9.714844 L 12.863281 9.574219 C 13.148438 9.5 13.523438 9.398438 13.699219 9.355469 C 14.28125 9.210938 14.292969 9.203125 14.261719 9.085938 C 14.222656 8.941406 14.027344 8.609375 13.808594 8.316406 C 13.449219 7.835938 12.675781 7.34375 12.039062 7.183594 C 11.78125 7.117188 11.085938 7.070312 10.859375 7.105469 Z M 18.886719 9.1875 C 19.378906 9.421875 19.710938 9.875 19.8125 10.464844 C 19.867188 10.796875 19.785156 11.261719 19.59375 11.636719 C 19.34375 12.128906 18.726562 12.628906 18.183594 12.78125 C 17.867188 12.871094 17.347656 12.84375 17.027344 12.722656 C 16.207031 12.40625 15.808594 11.511719 16.085938 10.617188 C 16.304688 9.886719 16.773438 9.40625 17.496094 9.152344 C 17.785156 9.050781 17.863281 9.039062 18.21875 9.046875 C 18.570312 9.058594 18.652344 9.074219 18.886719 9.1875 Z M 14.597656 11.570312 C 14.925781 11.789062 14.964844 12.164062 14.691406 12.476562 C 14.617188 12.566406 14.367188 12.785156 14.144531 12.953125 L 13.738281 13.261719 L 14.203125 13.273438 L 14.671875 13.285156 L 14.578125 13.699219 L 13.726562 13.710938 C 13.265625 13.714844 12.878906 13.710938 12.878906 13.699219 C 12.878906 13.683594 12.898438 13.597656 12.925781 13.496094 C 12.96875 13.328125 13.003906 13.289062 13.519531 12.894531 C 14.117188 12.445312 14.320312 12.242188 14.320312 12.113281 C 14.320312 11.875 13.964844 11.792969 13.78125 11.980469 C 13.722656 12.03125 13.679688 12.097656 13.679688 12.121094 C 13.679688 12.144531 13.574219 12.160156 13.421875 12.160156 C 13.125 12.160156 13.109375 12.136719 13.238281 11.878906 C 13.390625 11.585938 13.695312 11.4375 14.125 11.449219 C 14.375 11.460938 14.453125 11.476562 14.597656 11.570312 Z M 9.65625 14.84375 C 9.902344 14.910156 10 15.035156 10 15.292969 C 10 15.546875 9.890625 15.730469 9.679688 15.84375 C 9.566406 15.902344 9.453125 15.921875 9.109375 15.921875 C 8.710938 15.921875 8.675781 15.910156 8.695312 15.847656 C 8.71875 15.777344 8.921875 14.847656 8.921875 14.816406 C 8.921875 14.78125 9.507812 14.804688 9.65625 14.84375 Z M 9.65625 14.84375 M 3.019531 9.1875 C 2.945312 9.273438 2.878906 9.351562 2.878906 9.363281 C 2.878906 9.414062 3.59375 9.441406 5.046875 9.441406 L 6.554688 9.441406 L 6.675781 9.265625 C 6.742188 9.167969 6.785156 9.078125 6.773438 9.0625 C 6.757812 9.050781 5.941406 9.039062 4.953125 9.039062 L 3.15625 9.039062 Z M 3.019531 9.1875 M 1.617188 9.992188 C 1.597656 10.007812 1.523438 10.089844 1.464844 10.167969 L 1.351562 10.320312 L 6.195312 10.320312 L 6.234375 10.167969 C 6.261719 10.089844 6.28125 10.007812 6.28125 9.988281 C 6.28125 9.953125 1.671875 9.953125 1.617188 9.992188 Z M 1.617188 9.992188 M 3.882812 11.015625 C 3.835938 11.089844 3.800781 11.167969 3.800781 11.1875 C 3.800781 11.222656 4.882812 11.28125 5.644531 11.28125 C 6.035156 11.28125 6.09375 11.246094 6.070312 11.03125 L 6.058594 10.898438 L 5.011719 10.886719 L 3.96875 10.878906 Z M 3.882812 11.015625 "},null,-1),oc=[rc];function ac(e,n){return h(),C("svg",tc,oc)}const ic=B(nc,[["render",ac]]),sc={components:{VNumberInput:pr},display:{mobileBreakpoint:"sm",thresholds:{sm:640}},icons:{defaultSet:"mdi",aliases:{...gr,cuiLogo:ec,cuiGo2rtc:ic,cuiGrid1:ds,cuiGrid4:il,cuiGrid6:dl,cuiGrid7:hl,cuiGrid9:Cl,cuiGrid10:hs,cuiGrid12:Cs,cuiGrid13:Ls,cuiGrid15:Zs,cuiGrid16:js,cuiGrid20:Ws,cuiGrid26:el,cuiPy:Wl,cuiJs:jl,cuiShortcut:Zl,cuiCamera:Ll},sets:{mdi:fr}},locale:{adapter:hr({i18n:G,useI18n:Pt})}},lc=vr(sc),cc=e=>{e.use(lc).use(be).use(is).use(G).use(Kr).use(At).use(Zt,{queryClient:as}).use(Yn)},gt=Wt(os);cc(gt);gt.mount("#app");export{Sn as A,ze as B,yn as C,Vn as D,Cn as E,xn as F,ot as G,Xc as H,Yc as I,tt as J,Oc as K,O as L,Mn as M,zt as N,Ie as O,sa as P,Dc as Q,Me as R,oe as S,be as T,Nc as U,eu as V,et as _,We as a,Wi as b,nu as c,B as d,jo as e,ve as f,Se as g,$e as h,G as i,Fc as j,To as k,Wc as l,Kc as m,Uc as n,qc as o,Rc as p,jc as q,Gc as r,Jc as s,Qc as t,Q as u,tu as v,Ua as w,Z as x,Oo as y,pt as z};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{e as bt}from"./encode-utf8-Cn5aGd7v.js";import{d as Pt}from"./dijkstrajs-D_NXgYpA.js";var O={},Rt=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},dt={},N={};let it;const Lt=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];N.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};N.getSymbolTotalCodewords=function(t){return Lt[t]};N.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};N.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');it=t};N.isKanjiModeEnabled=function(){return typeof it<"u"};N.toSJIS=function(t){return it(t)};var G={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+i)}}e.isValid=function(o){return o&&typeof o.bit<"u"&&o.bit>=0&&o.bit<4},e.from=function(o,n){if(e.isValid(o))return o;try{return t(o)}catch{return n}}})(G);function ht(){this.buffer=[],this.length=0}ht.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let i=0;i<t;i++)this.putBit((e>>>t-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var Ut=ht;function K(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}K.prototype.set=function(e,t,i,o){const n=e*this.size+t;this.data[n]=i,o&&(this.reservedBit[n]=!0)};K.prototype.get=function(e,t){return this.data[e*this.size+t]};K.prototype.xor=function(e,t,i){this.data[e*this.size+t]^=i};K.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var Dt=K,wt={};(function(e){const t=N.getSymbolSize;e.getRowColCoords=function(o){if(o===1)return[];const n=Math.floor(o/7)+2,r=t(o),s=r===145?26:Math.ceil((r-13)/(2*n-2))*2,c=[r-7];for(let u=1;u<n-1;u++)c[u]=c[u-1]-s;return c.push(6),c.reverse()},e.getPositions=function(o){const n=[],r=e.getRowColCoords(o),s=r.length;for(let c=0;c<s;c++)for(let u=0;u<s;u++)c===0&&u===0||c===0&&u===s-1||c===s-1&&u===0||n.push([r[c],r[u]]);return n}})(wt);var mt={};const Ft=N.getSymbolSize,at=7;mt.getPositions=function(t){const i=Ft(t);return[[0,0],[i-at,0],[0,i-at]]};var Et={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(n){return n!=null&&n!==""&&!isNaN(n)&&n>=0&&n<=7},e.from=function(n){return e.isValid(n)?parseInt(n,10):void 0},e.getPenaltyN1=function(n){const r=n.size;let s=0,c=0,u=0,l=null,a=null;for(let A=0;A<r;A++){c=u=0,l=a=null;for(let w=0;w<r;w++){let g=n.get(A,w);g===l?c++:(c>=5&&(s+=t.N1+(c-5)),l=g,c=1),g=n.get(w,A),g===a?u++:(u>=5&&(s+=t.N1+(u-5)),a=g,u=1)}c>=5&&(s+=t.N1+(c-5)),u>=5&&(s+=t.N1+(u-5))}return s},e.getPenaltyN2=function(n){const r=n.size;let s=0;for(let c=0;c<r-1;c++)for(let u=0;u<r-1;u++){const l=n.get(c,u)+n.get(c,u+1)+n.get(c+1,u)+n.get(c+1,u+1);(l===4||l===0)&&s++}return s*t.N2},e.getPenaltyN3=function(n){const r=n.size;let s=0,c=0,u=0;for(let l=0;l<r;l++){c=u=0;for(let a=0;a<r;a++)c=c<<1&2047|n.get(l,a),a>=10&&(c===1488||c===93)&&s++,u=u<<1&2047|n.get(a,l),a>=10&&(u===1488||u===93)&&s++}return s*t.N3},e.getPenaltyN4=function(n){let r=0;const s=n.data.length;for(let u=0;u<s;u++)r+=n.data[u];return Math.abs(Math.ceil(r*100/s/5)-10)*t.N4};function i(o,n,r){switch(o){case e.Patterns.PATTERN000:return(n+r)%2===0;case e.Patterns.PATTERN001:return n%2===0;case e.Patterns.PATTERN010:return r%3===0;case e.Patterns.PATTERN011:return(n+r)%3===0;case e.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2===0;case e.Patterns.PATTERN101:return n*r%2+n*r%3===0;case e.Patterns.PATTERN110:return(n*r%2+n*r%3)%2===0;case e.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2===0;default:throw new Error("bad maskPattern:"+o)}}e.applyMask=function(n,r){const s=r.size;for(let c=0;c<s;c++)for(let u=0;u<s;u++)r.isReserved(u,c)||r.xor(u,c,i(n,u,c))},e.getBestMask=function(n,r){const s=Object.keys(e.Patterns).length;let c=0,u=1/0;for(let l=0;l<s;l++){r(l),e.applyMask(l,n);const a=e.getPenaltyN1(n)+e.getPenaltyN2(n)+e.getPenaltyN3(n)+e.getPenaltyN4(n);e.applyMask(l,n),a<u&&(u=a,c=l)}return c}})(Et);var j={};const R=G,J=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Y=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];j.getBlocksCount=function(t,i){switch(i){case R.L:return J[(t-1)*4+0];case R.M:return J[(t-1)*4+1];case R.Q:return J[(t-1)*4+2];case R.H:return J[(t-1)*4+3];default:return}};j.getTotalCodewordsCount=function(t,i){switch(i){case R.L:return Y[(t-1)*4+0];case R.M:return Y[(t-1)*4+1];case R.Q:return Y[(t-1)*4+2];case R.H:return Y[(t-1)*4+3];default:return}};var Ct={},v={};const V=new Uint8Array(512),$=new Uint8Array(256);(function(){let t=1;for(let i=0;i<255;i++)V[i]=t,$[t]=i,t<<=1,t&256&&(t^=285);for(let i=255;i<512;i++)V[i]=V[i-255]})();v.log=function(t){if(t<1)throw new Error("log("+t+")");return $[t]};v.exp=function(t){return V[t]};v.mul=function(t,i){return t===0||i===0?0:V[$[t]+$[i]]};(function(e){const t=v;e.mul=function(o,n){const r=new Uint8Array(o.length+n.length-1);for(let s=0;s<o.length;s++)for(let c=0;c<n.length;c++)r[s+c]^=t.mul(o[s],n[c]);return r},e.mod=function(o,n){let r=new Uint8Array(o);for(;r.length-n.length>=0;){const s=r[0];for(let u=0;u<n.length;u++)r[u]^=t.mul(n[u],s);let c=0;for(;c<r.length&&r[c]===0;)c++;r=r.slice(c)}return r},e.generateECPolynomial=function(o){let n=new Uint8Array([1]);for(let r=0;r<o;r++)n=e.mul(n,new Uint8Array([1,t.exp(r)]));return n}})(Ct);const yt=Ct;function st(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}st.prototype.initialize=function(t){this.degree=t,this.genPoly=yt.generateECPolynomial(this.degree)};st.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const i=new Uint8Array(t.length+this.degree);i.set(t);const o=yt.mod(i,this.genPoly),n=this.degree-o.length;if(n>0){const r=new Uint8Array(this.degree);return r.set(o,n),r}return o};var kt=st,Bt={},L={},ut={};ut.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var S={};const At="[0-9]+",zt="[A-Z $%*+\\-./:]+";let H="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";H=H.replace(/u/g,"\\u");const Vt="(?:(?![A-Z0-9 $%*+\\-./:]|"+H+`)(?:.|[\r
|
|
2
|
-
]))+`;S.KANJI=new RegExp(H,"g");S.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");S.BYTE=new RegExp(Vt,"g");S.NUMERIC=new RegExp(At,"g");S.ALPHANUMERIC=new RegExp(zt,"g");const Ht=new RegExp("^"+H+"$"),Kt=new RegExp("^"+At+"$"),Jt=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");S.testKanji=function(t){return Ht.test(t)};S.testNumeric=function(t){return Kt.test(t)};S.testAlphanumeric=function(t){return Jt.test(t)};(function(e){const t=ut,i=S;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(r,s){if(!r.ccBits)throw new Error("Invalid mode: "+r);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?r.ccBits[0]:s<27?r.ccBits[1]:r.ccBits[2]},e.getBestModeForData=function(r){return i.testNumeric(r)?e.NUMERIC:i.testAlphanumeric(r)?e.ALPHANUMERIC:i.testKanji(r)?e.KANJI:e.BYTE},e.toString=function(r){if(r&&r.id)return r.id;throw new Error("Invalid mode")},e.isValid=function(r){return r&&r.bit&&r.ccBits};function o(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+n)}}e.from=function(r,s){if(e.isValid(r))return r;try{return o(r)}catch{return s}}})(L);(function(e){const t=N,i=j,o=G,n=L,r=ut,s=7973,c=t.getBCHDigit(s);function u(w,g,E){for(let C=1;C<=40;C++)if(g<=e.getCapacity(C,E,w))return C}function l(w,g){return n.getCharCountIndicator(w,g)+4}function a(w,g){let E=0;return w.forEach(function(C){const p=l(C.mode,g);E+=p+C.getBitsLength()}),E}function A(w,g){for(let E=1;E<=40;E++)if(a(w,E)<=e.getCapacity(E,g,n.MIXED))return E}e.from=function(g,E){return r.isValid(g)?parseInt(g,10):E},e.getCapacity=function(g,E,C){if(!r.isValid(g))throw new Error("Invalid QR Code version");typeof C>"u"&&(C=n.BYTE);const p=t.getSymbolTotalCodewords(g),h=i.getTotalCodewordsCount(g,E),m=(p-h)*8;if(C===n.MIXED)return m;const d=m-l(C,g);switch(C){case n.NUMERIC:return Math.floor(d/10*3);case n.ALPHANUMERIC:return Math.floor(d/11*2);case n.KANJI:return Math.floor(d/13);case n.BYTE:default:return Math.floor(d/8)}},e.getBestVersionForData=function(g,E){let C;const p=o.from(E,o.M);if(Array.isArray(g)){if(g.length>1)return A(g,p);if(g.length===0)return 1;C=g[0]}else C=g;return u(C.mode,C.getLength(),p)},e.getEncodedBits=function(g){if(!r.isValid(g)||g<7)throw new Error("Invalid QR Code version");let E=g<<12;for(;t.getBCHDigit(E)-c>=0;)E^=s<<t.getBCHDigit(E)-c;return g<<12|E}})(Bt);var It={};const et=N,pt=1335,Yt=21522,ft=et.getBCHDigit(pt);It.getEncodedBits=function(t,i){const o=t.bit<<3|i;let n=o<<10;for(;et.getBCHDigit(n)-ft>=0;)n^=pt<<et.getBCHDigit(n)-ft;return(o<<10|n)^Yt};var Nt={};const $t=L;function U(e){this.mode=$t.NUMERIC,this.data=e.toString()}U.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};U.prototype.getLength=function(){return this.data.length};U.prototype.getBitsLength=function(){return U.getBitsLength(this.data.length)};U.prototype.write=function(t){let i,o,n;for(i=0;i+3<=this.data.length;i+=3)o=this.data.substr(i,3),n=parseInt(o,10),t.put(n,10);const r=this.data.length-i;r>0&&(o=this.data.substr(i),n=parseInt(o,10),t.put(n,r*3+1))};var _t=U;const Ot=L,W=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function D(e){this.mode=Ot.ALPHANUMERIC,this.data=e}D.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};D.prototype.getLength=function(){return this.data.length};D.prototype.getBitsLength=function(){return D.getBitsLength(this.data.length)};D.prototype.write=function(t){let i;for(i=0;i+2<=this.data.length;i+=2){let o=W.indexOf(this.data[i])*45;o+=W.indexOf(this.data[i+1]),t.put(o,11)}this.data.length%2&&t.put(W.indexOf(this.data[i]),6)};var Gt=D;const jt=bt,vt=L;function F(e){this.mode=vt.BYTE,typeof e=="string"&&(e=jt(e)),this.data=new Uint8Array(e)}F.getBitsLength=function(t){return t*8};F.prototype.getLength=function(){return this.data.length};F.prototype.getBitsLength=function(){return F.getBitsLength(this.data.length)};F.prototype.write=function(e){for(let t=0,i=this.data.length;t<i;t++)e.put(this.data[t],8)};var Qt=F;const qt=L,Wt=N;function k(e){this.mode=qt.KANJI,this.data=e}k.getBitsLength=function(t){return t*13};k.prototype.getLength=function(){return this.data.length};k.prototype.getBitsLength=function(){return k.getBitsLength(this.data.length)};k.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let i=Wt.toSJIS(this.data[t]);if(i>=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+`
|
|
3
|
-
Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),e.put(i,13)}};var Zt=k;(function(e){const t=L,i=_t,o=Gt,n=Qt,r=Zt,s=S,c=N,u=Pt;function l(h){return unescape(encodeURIComponent(h)).length}function a(h,m,d){const f=[];let y;for(;(y=h.exec(d))!==null;)f.push({data:y[0],index:y.index,mode:m,length:y[0].length});return f}function A(h){const m=a(s.NUMERIC,t.NUMERIC,h),d=a(s.ALPHANUMERIC,t.ALPHANUMERIC,h);let f,y;return c.isKanjiModeEnabled()?(f=a(s.BYTE,t.BYTE,h),y=a(s.KANJI,t.KANJI,h)):(f=a(s.BYTE_KANJI,t.BYTE,h),y=[]),m.concat(d,f,y).sort(function(I,T){return I.index-T.index}).map(function(I){return{data:I.data,mode:I.mode,length:I.length}})}function w(h,m){switch(m){case t.NUMERIC:return i.getBitsLength(h);case t.ALPHANUMERIC:return o.getBitsLength(h);case t.KANJI:return r.getBitsLength(h);case t.BYTE:return n.getBitsLength(h)}}function g(h){return h.reduce(function(m,d){const f=m.length-1>=0?m[m.length-1]:null;return f&&f.mode===d.mode?(m[m.length-1].data+=d.data,m):(m.push(d),m)},[])}function E(h){const m=[];for(let d=0;d<h.length;d++){const f=h[d];switch(f.mode){case t.NUMERIC:m.push([f,{data:f.data,mode:t.ALPHANUMERIC,length:f.length},{data:f.data,mode:t.BYTE,length:f.length}]);break;case t.ALPHANUMERIC:m.push([f,{data:f.data,mode:t.BYTE,length:f.length}]);break;case t.KANJI:m.push([f,{data:f.data,mode:t.BYTE,length:l(f.data)}]);break;case t.BYTE:m.push([{data:f.data,mode:t.BYTE,length:l(f.data)}])}}return m}function C(h,m){const d={},f={start:{}};let y=["start"];for(let B=0;B<h.length;B++){const I=h[B],T=[];for(let P=0;P<I.length;P++){const M=I[P],z=""+B+P;T.push(z),d[z]={node:M,lastCount:0},f[z]={};for(let q=0;q<y.length;q++){const b=y[q];d[b]&&d[b].node.mode===M.mode?(f[b][z]=w(d[b].lastCount+M.length,M.mode)-w(d[b].lastCount,M.mode),d[b].lastCount+=M.length):(d[b]&&(d[b].lastCount=M.length),f[b][z]=w(M.length,M.mode)+4+t.getCharCountIndicator(M.mode,m))}}y=T}for(let B=0;B<y.length;B++)f[y[B]].end=0;return{map:f,table:d}}function p(h,m){let d;const f=t.getBestModeForData(h);if(d=t.from(m,f),d!==t.BYTE&&d.bit<f.bit)throw new Error('"'+h+'" cannot be encoded with mode '+t.toString(d)+`.
|
|
4
|
-
Suggested mode is: `+t.toString(f));switch(d===t.KANJI&&!c.isKanjiModeEnabled()&&(d=t.BYTE),d){case t.NUMERIC:return new i(h);case t.ALPHANUMERIC:return new o(h);case t.KANJI:return new r(h);case t.BYTE:return new n(h)}}e.fromArray=function(m){return m.reduce(function(d,f){return typeof f=="string"?d.push(p(f,null)):f.data&&d.push(p(f.data,f.mode)),d},[])},e.fromString=function(m,d){const f=A(m,c.isKanjiModeEnabled()),y=E(f),B=C(y,d),I=u.find_path(B.map,"start","end"),T=[];for(let P=1;P<I.length-1;P++)T.push(B.table[I[P]].node);return e.fromArray(g(T))},e.rawSplit=function(m){return e.fromArray(A(m,c.isKanjiModeEnabled()))}})(Nt);const Q=N,Z=G,Xt=Ut,xt=Dt,te=wt,ee=mt,nt=Et,ot=j,ne=kt,_=Bt,oe=It,re=L,X=Nt;function ie(e,t){const i=e.size,o=ee.getPositions(t);for(let n=0;n<o.length;n++){const r=o[n][0],s=o[n][1];for(let c=-1;c<=7;c++)if(!(r+c<=-1||i<=r+c))for(let u=-1;u<=7;u++)s+u<=-1||i<=s+u||(c>=0&&c<=6&&(u===0||u===6)||u>=0&&u<=6&&(c===0||c===6)||c>=2&&c<=4&&u>=2&&u<=4?e.set(r+c,s+u,!0,!0):e.set(r+c,s+u,!1,!0))}}function se(e){const t=e.size;for(let i=8;i<t-8;i++){const o=i%2===0;e.set(i,6,o,!0),e.set(6,i,o,!0)}}function ue(e,t){const i=te.getPositions(t);for(let o=0;o<i.length;o++){const n=i[o][0],r=i[o][1];for(let s=-2;s<=2;s++)for(let c=-2;c<=2;c++)s===-2||s===2||c===-2||c===2||s===0&&c===0?e.set(n+s,r+c,!0,!0):e.set(n+s,r+c,!1,!0)}}function ce(e,t){const i=e.size,o=_.getEncodedBits(t);let n,r,s;for(let c=0;c<18;c++)n=Math.floor(c/3),r=c%3+i-8-3,s=(o>>c&1)===1,e.set(n,r,s,!0),e.set(r,n,s,!0)}function x(e,t,i){const o=e.size,n=oe.getEncodedBits(t,i);let r,s;for(r=0;r<15;r++)s=(n>>r&1)===1,r<6?e.set(r,8,s,!0):r<8?e.set(r+1,8,s,!0):e.set(o-15+r,8,s,!0),r<8?e.set(8,o-r-1,s,!0):r<9?e.set(8,15-r-1+1,s,!0):e.set(8,15-r-1,s,!0);e.set(o-8,8,1,!0)}function le(e,t){const i=e.size;let o=-1,n=i-1,r=7,s=0;for(let c=i-1;c>0;c-=2)for(c===6&&c--;;){for(let u=0;u<2;u++)if(!e.isReserved(n,c-u)){let l=!1;s<t.length&&(l=(t[s]>>>r&1)===1),e.set(n,c-u,l),r--,r===-1&&(s++,r=7)}if(n+=o,n<0||i<=n){n-=o,o=-o;break}}}function ae(e,t,i){const o=new Xt;i.forEach(function(u){o.put(u.mode.bit,4),o.put(u.getLength(),re.getCharCountIndicator(u.mode,e)),u.write(o)});const n=Q.getSymbolTotalCodewords(e),r=ot.getTotalCodewordsCount(e,t),s=(n-r)*8;for(o.getLengthInBits()+4<=s&&o.put(0,4);o.getLengthInBits()%8!==0;)o.putBit(0);const c=(s-o.getLengthInBits())/8;for(let u=0;u<c;u++)o.put(u%2?17:236,8);return fe(o,e,t)}function fe(e,t,i){const o=Q.getSymbolTotalCodewords(t),n=ot.getTotalCodewordsCount(t,i),r=o-n,s=ot.getBlocksCount(t,i),c=o%s,u=s-c,l=Math.floor(o/s),a=Math.floor(r/s),A=a+1,w=l-a,g=new ne(w);let E=0;const C=new Array(s),p=new Array(s);let h=0;const m=new Uint8Array(e.buffer);for(let I=0;I<s;I++){const T=I<u?a:A;C[I]=m.slice(E,E+T),p[I]=g.encode(C[I]),E+=T,h=Math.max(h,T)}const d=new Uint8Array(o);let f=0,y,B;for(y=0;y<h;y++)for(B=0;B<s;B++)y<C[B].length&&(d[f++]=C[B][y]);for(y=0;y<w;y++)for(B=0;B<s;B++)d[f++]=p[B][y];return d}function ge(e,t,i,o){let n;if(Array.isArray(e))n=X.fromArray(e);else if(typeof e=="string"){let l=t;if(!l){const a=X.rawSplit(e);l=_.getBestVersionForData(a,i)}n=X.fromString(e,l||40)}else throw new Error("Invalid data");const r=_.getBestVersionForData(n,i);if(!r)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=r;else if(t<r)throw new Error(`
|
|
5
|
-
The chosen QR Code version cannot contain this amount of data.
|
|
6
|
-
Minimum version required to store current data is: `+r+`.
|
|
7
|
-
`);const s=ae(t,i,n),c=Q.getSymbolSize(t),u=new xt(c);return ie(u,t),se(u),ue(u,t),x(u,i,0),t>=7&&ce(u,t),le(u,s),isNaN(o)&&(o=nt.getBestMask(u,x.bind(null,u,i))),nt.applyMask(o,u),x(u,i,o),{modules:u,version:t,errorCorrectionLevel:i,maskPattern:o,segments:n}}dt.create=function(t,i){if(typeof t>"u"||t==="")throw new Error("No input text");let o=Z.M,n,r;return typeof i<"u"&&(o=Z.from(i.errorCorrectionLevel,Z.M),n=_.from(i.version),r=nt.from(i.maskPattern),i.toSJISFunc&&Q.setToSJISFunction(i.toSJISFunc)),ge(t,n,o,r)};var Tt={},ct={};(function(e){function t(i){if(typeof i=="number"&&(i=i.toString()),typeof i!="string")throw new Error("Color should be defined as hex string");let o=i.slice().replace("#","").split("");if(o.length<3||o.length===5||o.length>8)throw new Error("Invalid hex color: "+i);(o.length===3||o.length===4)&&(o=Array.prototype.concat.apply([],o.map(function(r){return[r,r]}))),o.length===6&&o.push("F","F");const n=parseInt(o.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:n&255,hex:"#"+o.slice(0,6).join("")}}e.getOptions=function(o){o||(o={}),o.color||(o.color={});const n=typeof o.margin>"u"||o.margin===null||o.margin<0?4:o.margin,r=o.width&&o.width>=21?o.width:void 0,s=o.scale||4;return{width:r,scale:r?4:s,margin:n,color:{dark:t(o.color.dark||"#000000ff"),light:t(o.color.light||"#ffffffff")},type:o.type,rendererOpts:o.rendererOpts||{}}},e.getScale=function(o,n){return n.width&&n.width>=o+n.margin*2?n.width/(o+n.margin*2):n.scale},e.getImageWidth=function(o,n){const r=e.getScale(o,n);return Math.floor((o+n.margin*2)*r)},e.qrToImageData=function(o,n,r){const s=n.modules.size,c=n.modules.data,u=e.getScale(s,r),l=Math.floor((s+r.margin*2)*u),a=r.margin*u,A=[r.color.light,r.color.dark];for(let w=0;w<l;w++)for(let g=0;g<l;g++){let E=(w*l+g)*4,C=r.color.light;if(w>=a&&g>=a&&w<l-a&&g<l-a){const p=Math.floor((w-a)/u),h=Math.floor((g-a)/u);C=A[c[p*s+h]?1:0]}o[E++]=C.r,o[E++]=C.g,o[E++]=C.b,o[E]=C.a}}})(ct);(function(e){const t=ct;function i(n,r,s){n.clearRect(0,0,r.width,r.height),r.style||(r.style={}),r.height=s,r.width=s,r.style.height=s+"px",r.style.width=s+"px"}function o(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(r,s,c){let u=c,l=s;typeof u>"u"&&(!s||!s.getContext)&&(u=s,s=void 0),s||(l=o()),u=t.getOptions(u);const a=t.getImageWidth(r.modules.size,u),A=l.getContext("2d"),w=A.createImageData(a,a);return t.qrToImageData(w.data,r,u),i(A,l,a),A.putImageData(w,0,0),l},e.renderToDataURL=function(r,s,c){let u=c;typeof u>"u"&&(!s||!s.getContext)&&(u=s,s=void 0),u||(u={});const l=e.render(r,s,u),a=u.type||"image/png",A=u.rendererOpts||{};return l.toDataURL(a,A.quality)}})(Tt);var Mt={};const de=ct;function gt(e,t){const i=e.a/255,o=t+'="'+e.hex+'"';return i<1?o+" "+t+'-opacity="'+i.toFixed(2).slice(1)+'"':o}function tt(e,t,i){let o=e+t;return typeof i<"u"&&(o+=" "+i),o}function he(e,t,i){let o="",n=0,r=!1,s=0;for(let c=0;c<e.length;c++){const u=Math.floor(c%t),l=Math.floor(c/t);!u&&!r&&(r=!0),e[c]?(s++,c>0&&u>0&&e[c-1]||(o+=r?tt("M",u+i,.5+l+i):tt("m",n,0),n=0,r=!1),u+1<t&&e[c+1]||(o+=tt("h",s),s=0)):n++}return o}Mt.render=function(t,i,o){const n=de.getOptions(i),r=t.modules.size,s=t.modules.data,c=r+n.margin*2,u=n.color.light.a?"<path "+gt(n.color.light,"fill")+' d="M0 0h'+c+"v"+c+'H0z"/>':"",l="<path "+gt(n.color.dark,"stroke")+' d="'+he(s,r,n.margin)+'"/>',a='viewBox="0 0 '+c+" "+c+'"',w='<svg xmlns="http://www.w3.org/2000/svg" '+(n.width?'width="'+n.width+'" height="'+n.width+'" ':"")+a+' shape-rendering="crispEdges">'+u+l+`</svg>
|
|
8
|
-
`;return typeof o=="function"&&o(null,w),w};const we=Rt,rt=dt,St=Tt,me=Mt;function lt(e,t,i,o,n){const r=[].slice.call(arguments,1),s=r.length,c=typeof r[s-1]=="function";if(!c&&!we())throw new Error("Callback required as last argument");if(c){if(s<2)throw new Error("Too few arguments provided");s===2?(n=i,i=t,t=o=void 0):s===3&&(t.getContext&&typeof n>"u"?(n=o,o=void 0):(n=o,o=i,i=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(i=t,t=o=void 0):s===2&&!t.getContext&&(o=i,i=t,t=void 0),new Promise(function(u,l){try{const a=rt.create(i,o);u(e(a,t,o))}catch(a){l(a)}})}try{const u=rt.create(i,o);n(null,e(u,t,o))}catch(u){n(u)}}O.create=rt.create;O.toCanvas=lt.bind(null,St.render);O.toDataURL=lt.bind(null,St.renderToDataURL);O.toString=lt.bind(null,function(e,t,i){return me.render(e,i)});export{O as b};
|