@camera.ui/server 2.1.12 → 2.1.14-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/interface/assets/{404-BDi1TzED.js → 404-CVkDpT0X.js} +1 -1
- package/dist/interface/assets/{About-DeHiJp3n.js → About-CUgIR2xi.js} +1 -1
- package/dist/interface/assets/Automation-BYRKp0AC.js +3 -0
- package/dist/interface/assets/{AutomationImport-B3bCE-yS.js → AutomationImport-L_OzZZgi.js} +2 -2
- package/dist/interface/assets/{AutomationStore-BoWd7IW9.js → AutomationStore-DaNQqJoT.js} +2 -2
- package/dist/interface/assets/AutomationStoreDetail-Seor4Ohh.js +2 -0
- package/dist/interface/assets/Automations-BMQIkpUa.js +2 -0
- package/dist/interface/assets/Camera-3umh2Xjc.js +2 -0
- package/dist/interface/assets/{CameraConsole-C8XSUr7X.js → CameraConsole-BLlgkKDp.js} +2 -2
- package/dist/interface/assets/Cameras-DvK8E1Vk.js +651 -0
- package/dist/interface/assets/{Camview-Lp3QU0de.css → Camview-DIEa8IRE.css} +1 -1
- package/dist/interface/assets/Camview-DSO2lWxT.js +1 -0
- package/dist/interface/assets/{CertificateUpload-Cg89m_cM.js → CertificateUpload-BsnlaxRS.js} +1 -1
- package/dist/interface/assets/{Config-BDa4dy1w.js → Config-BXj83-No.js} +1 -1
- package/dist/interface/assets/{ConfigActionCameraControl-DNmRpuPG.js → ConfigActionCameraControl-BGfvT6ME.js} +1 -1
- package/dist/interface/assets/{ConfigActionDelay-Reg_tEG_.js → ConfigActionDelay-D10_C6yo.js} +1 -1
- package/dist/interface/assets/{ConfigActionHttp-CqRBOSa3.js → ConfigActionHttp-DL4jh9Wz.js} +1 -1
- package/dist/interface/assets/{ConfigActionImageInput-GWECLY4I.js → ConfigActionImageInput-DVvMUzrT.js} +1 -1
- package/dist/interface/assets/{ConfigActionMqtt-Di4ZTig8.js → ConfigActionMqtt-BqK3q4cC.js} +1 -1
- package/dist/interface/assets/ConfigActionNotification-D_H5Q68D.js +1 -0
- package/dist/interface/assets/{ConfigActionNotificationControl-B_p8dnc4.js → ConfigActionNotificationControl-BnTJl4dr.js} +1 -1
- package/dist/interface/assets/{ConfigActionOutput-B31cj20h.js → ConfigActionOutput-udY95_rH.js} +1 -1
- package/dist/interface/assets/{ConfigActionPlugin-DCUhDIiJ.js → ConfigActionPlugin-C51LrkZb.js} +1 -1
- package/dist/interface/assets/{ConfigActionSensor-De63wYQU.js → ConfigActionSensor-B2tFf8x6.js} +1 -1
- package/dist/interface/assets/{ConfigActionSnapshot-DZJDjOMT.js → ConfigActionSnapshot-BzmeByH3.js} +1 -1
- package/dist/interface/assets/{ConfigActionVariable-Q3QXVMbR.js → ConfigActionVariable-BagC3lj5.js} +1 -1
- package/dist/interface/assets/{ConfigConditionIfElse-DKonPxli.js → ConfigConditionIfElse-CQOZJ19Y.js} +1 -1
- package/dist/interface/assets/{ConfigConditionSensorState-C_J6ERzt.js → ConfigConditionSensorState-SGYpkNP5.js} +1 -1
- package/dist/interface/assets/ConfigConditionSwitch-BXR6xUN8.js +1 -0
- package/dist/interface/assets/{ConfigConditionTime-CRDI58_P.js → ConfigConditionTime-BrEhw1R9.js} +1 -1
- package/dist/interface/assets/{ConfigSensorValueInput-C3ep90ds.js → ConfigSensorValueInput-DezTWtbA.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerDetection-CbVFlyI8.js → ConfigTriggerDetection-xo0imE_3.js} +1 -1
- package/dist/interface/assets/ConfigTriggerGeofence-BmJpP4Ew.js +1 -0
- package/dist/interface/assets/{ConfigTriggerManual-7kAukUgk.js → ConfigTriggerManual-CmAdnZQK.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerMqtt-DUCZZt2j.js → ConfigTriggerMqtt-F19dhVm1.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerSchedule-lAiLdu1W.js → ConfigTriggerSchedule-BGci3Aed.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerSensor-DIhCfhcN.js → ConfigTriggerSensor-DSEDGB2X.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerSystem-DZu6Fp2j.js → ConfigTriggerSystem-DPy8Zir4.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerWebhook-D3a5f6vl.js → ConfigTriggerWebhook-Dv0Kmwg8.js} +1 -1
- package/dist/interface/assets/Console-Cuh-Vc4u.js +1 -0
- package/dist/interface/assets/{CuiAutomationRunsDialog-CgzW_s6M.js → CuiAutomationRunsDialog-B1UeVC6Q.js} +1 -1
- package/dist/interface/assets/{CuiBottomSheet-C7UdIQu1.js → CuiBottomSheet-BjkDE7_9.js} +1 -1
- package/dist/interface/assets/CuiBottomSheet-C9G-NoMU.js +1 -0
- package/dist/interface/assets/CuiCameraPipCard-nrln9zp-.js +1 -0
- package/dist/interface/assets/CuiCameraRecordings-B7BhgPpP.css +1 -0
- package/dist/interface/assets/CuiCameraRecordings-HKwhFpea.js +1 -0
- package/dist/interface/assets/{CuiCameraShares-D3fAJNWF.js → CuiCameraShares-D-fhJCro.js} +1 -1
- package/dist/interface/assets/{CuiCameraTable-ApLSxeO4.js → CuiCameraTable-BTVfK-HY.js} +2 -2
- package/dist/interface/assets/CuiCameraTable-DGg4_c_u.js +1 -0
- package/dist/interface/assets/{CuiChartTable-BeEij8SL.js → CuiChartTable-DAUYP-EW.js} +1 -1
- package/dist/interface/assets/{CuiConsole-CMxpzZ51.js → CuiConsole-C7aZj4wK.js} +2 -2
- package/dist/interface/assets/{CuiDataTable-f_QVzRqq.js → CuiDataTable-1B8aaZQO.js} +1 -1
- package/dist/interface/assets/CuiLightControl-CSA1PYc8.js +1 -0
- package/dist/interface/assets/{CuiList-C3oJKyJC.js → CuiList-D-hOSNou.js} +1 -1
- package/dist/interface/assets/CuiPluginCard-D1Hkyiy4.js +2 -0
- package/dist/interface/assets/{CuiPluginCategoryChip-EJhup0nM.js → CuiPluginCategoryChip-qnn-HD6g.js} +1 -1
- package/dist/interface/assets/{CuiPluginOAuthButton-CbPU8trR.js → CuiPluginOAuthButton-CXextmBv.js} +2 -2
- package/dist/interface/assets/{CuiPluginTrustBadge-B4bxBl3A.js → CuiPluginTrustBadge-C-8MN2Qc.js} +1 -1
- package/dist/interface/assets/{CuiQRCode-CycvR5wz.js → CuiQRCode-D1qmU4qU.js} +1 -1
- package/dist/interface/assets/CuiSchema-DnHOpBg4.js +1 -0
- package/dist/interface/assets/{CuiTopNavbarItem-D4qP-WpK.js → CuiTopNavbarItem-Csb3O1-n.js} +1 -1
- package/dist/interface/assets/Faces-C0QpQxuF.js +1 -0
- package/dist/interface/assets/FirstSteps-BqZQovY7.js +1 -0
- package/dist/interface/assets/{Floorplan-Da5gt435.css → Floorplan-Bxhdg4C2.css} +1 -1
- package/dist/interface/assets/Floorplan-CW-W5ZkV.js +1 -0
- package/dist/interface/assets/Instances-VSkiqKKf.js +1 -0
- package/dist/interface/assets/{Logs-BBZMBN6a.js → Logs-DQFS2AUi.js} +2 -2
- package/dist/interface/assets/{Menu-CRLIo98F.js → Menu-COvvZ_vz.js} +1 -1
- package/dist/interface/assets/Metrics-cvbQzChA.js +9 -0
- package/dist/interface/assets/OAuthDeviceFlow-3ZC2QCAs.js +1 -0
- package/dist/interface/assets/Plugin-DjQd3Y9J.js +1 -0
- package/dist/interface/assets/{PluginConsole-D2SUwFDo.js → PluginConsole-BaUkghQD.js} +2 -2
- package/dist/interface/assets/PluginDetail-Ofj1hk2q.js +2 -0
- package/dist/interface/assets/{PluginSchema-U4q4c9ak.js → PluginSchema-f-ER7hlx.js} +1 -1
- package/dist/interface/assets/PluginSearch-Ce3S1HDv.js +1 -0
- package/dist/interface/assets/PluginSearch-D5eQsj5p.js +2 -0
- package/dist/interface/assets/{PluginUpdateProgress-DWcs6NlJ.js → PluginUpdateProgress-BfYNLvVX.js} +1 -1
- package/dist/interface/assets/Plugins-DtDN9z0k.js +1 -0
- package/dist/interface/assets/Recordings-CQGnTZFt.js +1 -0
- package/dist/interface/assets/SensorEdit-BZtiJyoI.js +1 -0
- package/dist/interface/assets/{SensorHistory-B16b4-Um.js → SensorHistory-BFkT3teu.js} +1 -1
- package/dist/interface/assets/{Sensors-BsLHVGqk.css → Sensors-CaKl4PQY.css} +1 -1
- package/dist/interface/assets/Sensors-DSR-AUqb.js +2 -0
- package/dist/interface/assets/{Settings-BOd4EPix.js → Settings-DV3JZFjc.js} +1 -1
- package/dist/interface/assets/SettingsAccount-Cd5JPsv2.js +1 -0
- package/dist/interface/assets/SettingsAccount-D4ib7Asi.js +1 -0
- package/dist/interface/assets/SettingsAppearance-BYsQmdyo.js +1 -0
- package/dist/interface/assets/{SettingsAppearance-DZGa_aiI.js → SettingsAppearance-CC6StMAi.js} +1 -1
- package/dist/interface/assets/{SettingsBackup-DyblUiF8.js → SettingsBackup-BcVFCbhB.js} +1 -1
- package/dist/interface/assets/{SettingsList-DM0yAFkS.js → SettingsList-04HiM3OT.js} +1 -1
- package/dist/interface/assets/SettingsMqtt-XaJdsYPn.js +1 -0
- package/dist/interface/assets/SettingsNotifications-CUoYMHwr.js +1 -0
- package/dist/interface/assets/{SettingsPermissions-w2ptf4wy.js → SettingsPermissions-gFDNSlTh.js} +1 -1
- package/dist/interface/assets/SettingsRecordings-Bw64UZWe.js +1 -0
- package/dist/interface/assets/SettingsRemote-BnFW-uT-.js +2 -0
- package/dist/interface/assets/{SettingsSystem-BsXkYsRC.js → SettingsSystem-Cdjg5GNY.js} +2 -2
- package/dist/interface/assets/{SettingsUsers-BSsmo6T0.js → SettingsUsers-DphPL78H.js} +1 -1
- package/dist/interface/assets/{Terminal-cU-8dVL_.js → Terminal-CrNjqzTs.js} +2 -2
- package/dist/interface/assets/{Updates-dw0MwgsN.js → Updates-V5B9LSD-.js} +1 -1
- package/dist/interface/assets/{VariableInput-JSpyezJa.js → VariableInput-n0TxKRqq.js} +1 -1
- package/dist/interface/assets/{VariableSuggestions-DZbWgsck.js → VariableSuggestions-C4LmaCAo.js} +1 -1
- package/dist/interface/assets/{VersionsHandler-C_mzsgfj.js → VersionsHandler-BPocJcb0.js} +2 -2
- package/dist/interface/assets/{VirtualSensorCreate-3mJ8c6Tl.js → VirtualSensorCreate-BPvbrzGS.js} +1 -1
- package/dist/interface/assets/Workers-DEvQNzUi.js +2 -0
- package/dist/interface/assets/{lightbulb-outline-BtraGBwO.js → alert-outline-DtiCgufF.js} +1 -1
- package/dist/interface/assets/{api-COPnjVh2.js → api-BXmkXIE8.js} +1 -1
- package/dist/interface/assets/api-DO5wBndX.css +2 -0
- package/dist/interface/assets/api-x8zXlvtm.js +4 -0
- package/dist/interface/assets/{auth-owqLfbdn.js → auth-BKJnreuu.js} +1 -1
- package/dist/interface/assets/{automations-Bql07EFx.js → automations-CVuIXlAQ.js} +1 -1
- package/dist/interface/assets/cameraSources-C3cl6FVD.js +1 -0
- package/dist/interface/assets/cloudHandoff-BZvvihwX.js +1 -0
- package/dist/interface/assets/{config-soN-D-nC.js → config-Sw94rZxF.js} +1 -1
- package/dist/interface/assets/{flowSchema-BFZ6n5Su.js → flowSchema-BOrDqdeG.js} +1 -1
- package/dist/interface/assets/{intercomService-Bjn0OsVT.js → intercomService-CfCIMUlA.js} +1 -1
- package/dist/interface/assets/main-Jl93jEZK.js +3 -0
- package/dist/interface/assets/{main-BF8Mg561.css → main-Qqk3RyYP.css} +1 -1
- package/dist/interface/assets/{mqtt-CMdU36uB.js → mqtt-BaCMJJk_.js} +1 -1
- package/dist/interface/assets/nodeDefinitions-a8iyp3yk.js +1 -0
- package/dist/interface/assets/{notifications-C_CbT9aA.js → notifications-l-x8vA4D.js} +1 -1
- package/dist/interface/assets/{plugins-CGDE1O2F.js → plugins-GA9v-eQx.js} +1 -1
- package/dist/interface/assets/{rooms-BnJo8QbU.js → rooms-DX7PBdpP.js} +1 -1
- package/dist/interface/assets/sensorIcons-BTgouEmX.js +1 -0
- package/dist/interface/assets/{sensors-Bshdwbki.js → sensors-LJkBCaMk.js} +1 -1
- package/dist/interface/assets/{server-CaRDiFTF.js → server-dOx3q8o1.js} +1 -1
- package/dist/interface/assets/theme-DgrclY58.js +1 -0
- package/dist/interface/assets/types-CSWXRySW.js +1 -0
- package/dist/interface/assets/{types-Dwu7_YVv.js → types-D19FOdYo.js} +1 -1
- package/dist/interface/assets/types-Yq0FH8fa.js +1 -0
- package/dist/interface/assets/ungrouped-B_u9a5wm.js +1 -0
- package/dist/interface/assets/{ungrouped-uv64nr5n.css → ungrouped-DTYy_Pud.css} +1 -1
- package/dist/interface/assets/{updates-DelnBMM3.js → updates-BVN6uGXy.js} +1 -1
- package/dist/interface/assets/{useAppVersion-DeQeb6UF.js → useAppVersion-BUDIkitU.js} +1 -1
- package/dist/interface/assets/useBackupRestore-CnSZNCC8.js +1 -0
- package/dist/interface/assets/{useCameraOptions-DgMpN00_.js → useCameraOptions-Cgb4eV2d.js} +1 -1
- package/dist/interface/assets/{useLogsSocket-BKPqNCOv.js → useLogsSocket-CGKtL049.js} +1 -1
- package/dist/interface/assets/{useNavLayout-BJhl8UVM.js → useNavLayout-Dcngcb73.js} +1 -1
- package/dist/interface/assets/{usePermissions-Eyt2t6_8.js → usePermissions-zJF4LCPm.js} +1 -1
- package/dist/interface/assets/{usePluginUpdates-wfckuNy_.js → usePluginUpdates-DP--lRxm.js} +1 -1
- package/dist/interface/assets/{usePushRegistration-jcfB8ujf.js → usePushRegistration-BhPBp28J.js} +1 -1
- package/dist/interface/assets/{useServerRestart-XnqHaTb7.js → useServerRestart-BpCDYbPH.js} +1 -1
- package/dist/interface/assets/{useStreamStatus-8bE5h_fQ.js → useStreamStatus-BoVMk6KT.js} +1 -1
- package/dist/interface/assets/{useTabSwipe-DxZfseQO.js → useTabSwipe--t-Qqa31.js} +1 -1
- package/dist/interface/assets/{useUpdateChannel-CjxdE3h1.js → useUpdateChannel-DAuhU-__.js} +1 -1
- package/dist/interface/assets/{useUpdatesSocket-DFt7_yr8.js → useUpdatesSocket-C-j3b3tU.js} +1 -1
- package/dist/interface/assets/{useUserOptions-DStio0f5.js → useUserOptions-CcLVC73O.js} +1 -1
- package/dist/interface/assets/vendor-cameraui-phsC2Mmi.js +2326 -0
- package/dist/interface/assets/vendor-core-C0ZWoGJD.js +1 -0
- package/dist/interface/assets/{vendor-primevue-DXXRO7Z5.js → vendor-primevue-nPess0JU.js} +76 -76
- package/dist/interface/assets/vendor-zod-CJ7LAMqQ.js +99 -0
- package/dist/interface/ha/404-PedrGUiq.js +60 -0
- package/dist/interface/ha/About-l5fkBqG7.js +55 -0
- package/dist/interface/ha/Automation-CaSlGjT4.js +2015 -0
- package/dist/interface/ha/AutomationImport-BNavtjDq.js +206 -0
- package/dist/interface/ha/AutomationStore-BVSW8TVt.js +335 -0
- package/dist/interface/ha/AutomationStoreDetail-DHZwlpz0.js +122 -0
- package/dist/interface/ha/Automations-CZ2jvH6d.js +437 -0
- package/dist/interface/ha/Camera-CggUrrPm.js +625 -0
- package/dist/interface/ha/CameraConsole-DpzF48TF.js +52 -0
- package/dist/interface/ha/Cameras-K-kQF5tG.js +1970 -0
- package/dist/interface/ha/Camview-zJVP7JwZ.js +1337 -0
- package/dist/interface/ha/CertificateUpload-DbBQ87OT.js +117 -0
- package/dist/interface/ha/Config-Bsud2DYI.js +356 -0
- package/dist/interface/ha/ConfigActionCameraControl-Czkfw_NO.js +152 -0
- package/dist/interface/ha/ConfigActionDelay-BHug57u7.js +61 -0
- package/dist/interface/ha/ConfigActionHttp-LfbxbfgG.js +134 -0
- package/dist/interface/ha/ConfigActionImageInput-Ce2GJzCm.js +171 -0
- package/dist/interface/ha/ConfigActionMqtt-KmCGcNZb.js +81 -0
- package/dist/interface/ha/ConfigActionNotification-DUMY_3IT.js +199 -0
- package/dist/interface/ha/ConfigActionNotificationControl-B9Z2i5WR.js +111 -0
- package/dist/interface/ha/ConfigActionOutput-CX-ZQjcs.js +98 -0
- package/dist/interface/ha/ConfigActionPlugin-y5PuPwdk.js +172 -0
- package/dist/interface/ha/ConfigActionSensor-CC39Rpxi.js +139 -0
- package/dist/interface/ha/ConfigActionSnapshot-CWyhx6rk.js +48 -0
- package/dist/interface/ha/ConfigActionVariable-BNRLCthd.js +88 -0
- package/dist/interface/ha/ConfigConditionIfElse-BayS5_Dr.js +124 -0
- package/dist/interface/ha/ConfigConditionSensorState-DLXNqL-R.js +192 -0
- package/dist/interface/ha/ConfigConditionSwitch-BBesQgWi.js +128 -0
- package/dist/interface/ha/ConfigConditionTime-aD8mk2aa.js +95 -0
- package/dist/interface/ha/ConfigSensorValueInput-5JzesEuD.js +169 -0
- package/dist/interface/ha/ConfigTriggerDetection--BcjPuyh.js +241 -0
- package/dist/interface/ha/ConfigTriggerGeofence-BZi5a2Yv.js +4896 -0
- package/dist/interface/ha/ConfigTriggerManual-ConxhgNx.js +14 -0
- package/dist/interface/ha/ConfigTriggerMqtt-B6C9injX.js +134 -0
- package/dist/interface/ha/ConfigTriggerSchedule-Vv5iNKL3.js +72 -0
- package/dist/interface/ha/ConfigTriggerSensor-beixHfSD.js +73 -0
- package/dist/interface/ha/ConfigTriggerSystem-BHDpn485.js +188 -0
- package/dist/interface/ha/ConfigTriggerWebhook-D9cuCU_p.js +94 -0
- package/dist/interface/ha/Console-CbQnrt6X.js +348 -0
- package/dist/interface/ha/CuiAutomationRunsDialog-CckgCRNS.js +130 -0
- package/dist/interface/ha/CuiBottomSheet-juhGdTsO.js +270 -0
- package/dist/interface/ha/CuiCameraRecordings-CLzZiXhk.js +552 -0
- package/dist/interface/ha/CuiCameraShares-Dzx1jZGE.js +121 -0
- package/dist/interface/ha/CuiCameraTable-ug0ik9N-.js +153 -0
- package/dist/interface/ha/CuiChartTable-7EnAA-WG.js +6784 -0
- package/dist/interface/ha/CuiConsole-DOnyBSL7.js +244 -0
- package/dist/interface/ha/CuiDataTable-Cx9GBqsV.js +8725 -0
- package/dist/interface/ha/CuiList-C45psxFZ.js +57 -0
- package/dist/interface/ha/CuiMarkdownContent-D7sCtnNQ.js +4716 -0
- package/dist/interface/ha/CuiPluginCard-ChLIfOms.js +769 -0
- package/dist/interface/ha/CuiPluginOAuthButton-B6vPOEx2.js +105 -0
- package/dist/interface/ha/CuiPluginTrustBadge-BvPV93D0.js +123 -0
- package/dist/interface/ha/CuiQRCode-Djr3z54t.js +86 -0
- package/dist/interface/ha/CuiSchema-dl7TXv-k.js +963 -0
- package/dist/interface/ha/CuiTopNavbarItem-BXoda5eM.js +141 -0
- package/dist/interface/ha/Faces-DnqWMGWW.js +1281 -0
- package/dist/interface/ha/FirstSteps-CFawb017.js +251 -0
- package/dist/interface/ha/Floorplan-Mv-Ootly.js +3677 -0
- package/dist/interface/ha/Instances-DJjZ3btI.js +680 -0
- package/dist/interface/ha/Logs-CLFhW1xq.js +418 -0
- package/dist/interface/ha/Menu-D7QTRqMJ.js +161 -0
- package/dist/interface/ha/Metrics-CCvFtezL.js +1330 -0
- package/dist/interface/ha/OAuthDeviceFlow-4YupTNsK.js +112 -0
- package/dist/interface/ha/Plugin-BHU0yhBa.js +1404 -0
- package/dist/interface/ha/PluginConsole-CNrLuFQM.js +56 -0
- package/dist/interface/ha/PluginDetail-Bm3X-xN4.js +230 -0
- package/dist/interface/ha/PluginSearch-C0be8cYD.js +475 -0
- package/dist/interface/ha/PluginUpdateProgress-DVvgYMLG.js +34 -0
- package/dist/interface/ha/Plugins-R-uz0Se-.js +705 -0
- package/dist/interface/ha/Recordings-DAwbihs8.js +1463 -0
- package/dist/interface/ha/SensorEdit-BxE1cRLR.js +1460 -0
- package/dist/interface/ha/SensorHistory-DUGlH2pU.js +54 -0
- package/dist/interface/ha/Sensors-Cax5RlPH.js +1358 -0
- package/dist/interface/ha/Settings-DKtlCoyz.js +218 -0
- package/dist/interface/ha/SettingsAccount-2e_Vjpev.js +970 -0
- package/dist/interface/ha/SettingsAppearance-DCm60FhX.js +220 -0
- package/dist/interface/ha/SettingsBackup-CiM_nNWt.js +556 -0
- package/dist/interface/ha/SettingsList-D4D3cmLo.js +40 -0
- package/dist/interface/ha/SettingsMqtt-CID4L0PD.js +526 -0
- package/dist/interface/ha/SettingsNotifications-DGJkhm8T.js +529 -0
- package/dist/interface/ha/SettingsPermissions-Cd0rtgli.js +84 -0
- package/dist/interface/ha/SettingsRecordings-pR4L0wgy.js +151 -0
- package/dist/interface/ha/SettingsRemote-CYg-LSQK.js +1810 -0
- package/dist/interface/ha/SettingsSystem-BeYJN1Ut.js +376 -0
- package/dist/interface/ha/SettingsUsers-F4CZggSR.js +379 -0
- package/dist/interface/ha/Terminal-iQahUx9P.js +631 -0
- package/dist/interface/ha/Updates-ClQ77p-o.js +356 -0
- package/dist/interface/ha/VariableInput-BOHBmNff.js +52 -0
- package/dist/interface/ha/VariableSuggestions-BE06z6SW.js +201 -0
- package/dist/interface/ha/VersionsHandler-Cx9u0oj8.js +211 -0
- package/dist/interface/ha/VirtualSensorCreate-CvSzLo4N.js +101 -0
- package/dist/interface/ha/Workers-CEJtdSu-.js +765 -0
- package/dist/interface/ha/accordion-BT2wHwK8.js +577 -0
- package/dist/interface/ha/account-B1xL2wxD.js +19 -0
- package/dist/interface/ha/ace-Dh61T4RV.js +13238 -0
- package/dist/interface/ha/ace.config-HyzcNHkM.js +1429 -0
- package/dist/interface/ha/alert-circle-CLRn5GAd.js +19 -0
- package/dist/interface/ha/alert-outline-CGTMAqXf.js +75 -0
- package/dist/interface/ha/api-BmNBy1ay.js +29 -0
- package/dist/interface/ha/api-CWJkvtnM.js +60866 -0
- package/dist/interface/ha/arrow-left-DkvcResi.js +19 -0
- package/dist/interface/ha/auth-X6tkVYJs.js +271 -0
- package/dist/interface/ha/autocomplete-L_jK3s3m.js +1373 -0
- package/dist/interface/ha/automationBlueprint-D1TiCF7R.js +249 -0
- package/dist/interface/ha/back-filled-Cxzg5vQg.js +20 -0
- package/dist/interface/ha/base-D_LAf3cS.js +26 -0
- package/dist/interface/ha/base-c1lsE5TW.js +125 -0
- package/dist/interface/ha/bell-ring-xrXdzNHW.js +19 -0
- package/dist/interface/ha/brain-DyOOk3m3.js +19 -0
- package/dist/interface/ha/browser-Bxx7joo_.js +1227 -0
- package/dist/interface/ha/browserconfig.xml +11 -0
- package/dist/interface/ha/button-BlYuI0Q7.js +406 -0
- package/dist/interface/ha/cameraui-cards.js +190 -0
- package/dist/interface/ha/cards-CNOyNWMA.js +13316 -0
- package/dist/interface/ha/cctv-Bz6BH0ns.js +19 -0
- package/dist/interface/ha/check-circle-D_wDxrLs.js +19 -0
- package/dist/interface/ha/chevron-down-P5MtUhJO.js +19 -0
- package/dist/interface/ha/chip-DxGABeun.js +149 -0
- package/dist/interface/ha/clock-outline-JxApewmA.js +19 -0
- package/dist/interface/ha/close-Eq3txTBS.js +19 -0
- package/dist/interface/ha/close-circle-C2nTtN_-.js +19 -0
- package/dist/interface/ha/config-E4Jkelkr.js +116 -0
- package/dist/interface/ha/content-copy-DpPXKtKE.js +19 -0
- package/dist/interface/ha/copy-C48Ur26H.js +22 -0
- package/dist/interface/ha/datepicker-BuvKhBWJ.js +3236 -0
- package/dist/interface/ha/definitions-E-sY7Cxg.js +23 -0
- package/dist/interface/ha/delete-D-m8mqly.js +19 -0
- package/dist/interface/ha/dist-B7lgvbyI.js +279 -0
- package/dist/interface/ha/dist-Ca9_5rzq.js +3457 -0
- package/dist/interface/ha/divider-jkWvVbPJ.js +110 -0
- package/dist/interface/ha/download-Cnr7IQKX.js +19 -0
- package/dist/interface/ha/esm-1sIZN4t7.js +6 -0
- package/dist/interface/ha/esm-6hnPZcZr.js +15 -0
- package/dist/interface/ha/esm-B72ViJ7F.js +5 -0
- package/dist/interface/ha/esm-BGlkcEes.js +156 -0
- package/dist/interface/ha/esm-BKPZuThK.js +5 -0
- package/dist/interface/ha/esm-BMx7MsZ_.js +15 -0
- package/dist/interface/ha/esm-CChFtwcx.js +21 -0
- package/dist/interface/ha/esm-CMTmAdHP.js +5 -0
- package/dist/interface/ha/esm-CkoEL9YX.js +7 -0
- package/dist/interface/ha/esm-CvxDASXR.js +23 -0
- package/dist/interface/ha/esm-Demxl4zQ.js +5 -0
- package/dist/interface/ha/esm-DiBhi9zp.js +5 -0
- package/dist/interface/ha/esm-XFPB9fYb.js +15 -0
- package/dist/interface/ha/eventLabels-B4C1_4vT.js +42 -0
- package/dist/interface/ha/eye-off-AdumIw0H.js +33 -0
- package/dist/interface/ha/eye-off-outline-DO3xfiua.js +19 -0
- package/dist/interface/ha/fonts/InterVariable.woff2 +0 -0
- package/dist/interface/ha/history-BoZc8mgf.js +19 -0
- package/dist/interface/ha/home-am0tRTsk.js +19 -0
- package/dist/interface/ha/information-outline-DIdNxPCN.js +19 -0
- package/dist/interface/ha/inputicon-6-vaPLbw.js +324 -0
- package/dist/interface/ha/inputnumber-B1Buq8Nc.js +1033 -0
- package/dist/interface/ha/inputtext-DGIESrd0.js +257 -0
- package/dist/interface/ha/intercomService-jB2mTgsn.js +1406 -0
- package/dist/interface/ha/message-C8U_kMBA.js +244 -0
- package/dist/interface/ha/minus-DKa9TXat.js +19 -0
- package/dist/interface/ha/minus-QyTgaT70.js +46 -0
- package/dist/interface/ha/mqtt-BmDCmG9h.js +56 -0
- package/dist/interface/ha/multiselect-BbgV_fPx.js +1492 -0
- package/dist/interface/ha/native-BaNeloQn.js +35 -0
- package/dist/interface/ha/native-C8PbNqsJ.js +29 -0
- package/dist/interface/ha/notifications-B51yvrGL.js +159 -0
- package/dist/interface/ha/og-share.png +0 -0
- package/dist/interface/ha/pencil-outline-BqfTDXIh.js +19 -0
- package/dist/interface/ha/pinia-3D39Do4a.js +6934 -0
- package/dist/interface/ha/platformLabels-C3d1PLg-.js +27 -0
- package/dist/interface/ha/plugin-DAGqBiG_.js +38 -0
- package/dist/interface/ha/plugins-dkWbXWVM.js +592 -0
- package/dist/interface/ha/plus-CNdrByQb.js +46 -0
- package/dist/interface/ha/plus-d_caPq5l.js +19 -0
- package/dist/interface/ha/progressbar-CIoPoMSe.js +95 -0
- package/dist/interface/ha/protocol-BB4jdtUC-K1r3LFCq.js +706 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-1136x640.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-1334x750.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-1792x828.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2048x1536.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2160x1620.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2208x1242.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2224x1668.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2388x1668.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2436x1125.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2532x1170.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2556x1179.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2688x1242.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2732x2048.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2778x1284.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2796x1290.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-1136x640.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-1334x750.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-1792x828.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2048x1536.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2160x1620.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2208x1242.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2224x1668.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2388x1668.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2436x1125.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2532x1170.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2556x1179.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2688x1242.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2732x2048.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2778x1284.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2796x1290.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1125x2436.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1170x2532.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1179x2556.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1242x2208.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1242x2688.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1284x2778.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1290x2796.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1536x2048.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1620x2160.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1668x2224.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1668x2388.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-2048x2732.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-640x1136.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-750x1334.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-828x1792.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1125x2436.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1170x2532.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1179x2556.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1242x2208.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1242x2688.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1284x2778.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1290x2796.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1536x2048.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1620x2160.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1668x2224.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1668x2388.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-2048x2732.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-640x1136.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-750x1334.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-828x1792.png +0 -0
- package/dist/interface/ha/pwa/apple-touch-icon-180x180.png +0 -0
- package/dist/interface/ha/pwa/favicon-16.ico +0 -0
- package/dist/interface/ha/pwa/favicon-32.ico +0 -0
- package/dist/interface/ha/pwa/favicon-48.ico +0 -0
- package/dist/interface/ha/pwa/favicon-64.ico +0 -0
- package/dist/interface/ha/pwa/logo.svg +1 -0
- package/dist/interface/ha/pwa/maskable-icon-1240x600.png +0 -0
- package/dist/interface/ha/pwa/maskable-icon-512x512.png +0 -0
- package/dist/interface/ha/pwa/maskable-icon-620x300.png +0 -0
- package/dist/interface/ha/pwa/pwa-1024x1024.png +0 -0
- package/dist/interface/ha/pwa/pwa-120x120.png +0 -0
- package/dist/interface/ha/pwa/pwa-144x144.png +0 -0
- package/dist/interface/ha/pwa/pwa-152x152.png +0 -0
- package/dist/interface/ha/pwa/pwa-167x167.png +0 -0
- package/dist/interface/ha/pwa/pwa-180x180.png +0 -0
- package/dist/interface/ha/pwa/pwa-192x192.png +0 -0
- package/dist/interface/ha/pwa/pwa-24x24.png +0 -0
- package/dist/interface/ha/pwa/pwa-300x300.png +0 -0
- package/dist/interface/ha/pwa/pwa-36x36.png +0 -0
- package/dist/interface/ha/pwa/pwa-48x48.png +0 -0
- package/dist/interface/ha/pwa/pwa-50x50.png +0 -0
- package/dist/interface/ha/pwa/pwa-64x64.png +0 -0
- package/dist/interface/ha/pwa/pwa-72x72.png +0 -0
- package/dist/interface/ha/pwa/pwa-88x88.png +0 -0
- package/dist/interface/ha/pwa/pwa-96x96.png +0 -0
- package/dist/interface/ha/radar-C7lI26j4.js +19 -0
- package/dist/interface/ha/refresh-BIhepekY.js +19 -0
- package/dist/interface/ha/ring-resize-VS4MSeBv.js +16 -0
- package/dist/interface/ha/ripple-BilzxWfY.js +2928 -0
- package/dist/interface/ha/robots.txt +2 -0
- package/dist/interface/ha/rolldown-runtime-CEFd7nDs.js +30 -0
- package/dist/interface/ha/rooms-B-FUXQ1p.js +45 -0
- package/dist/interface/ha/round-alt-arrow-left-bold-CWEg-ZLF.js +37 -0
- package/dist/interface/ha/runtime-core.esm-bundler-D8slQ3BU.js +3295 -0
- package/dist/interface/ha/search-CoOsbgeb.js +19 -0
- package/dist/interface/ha/select-DjWkRqsI.js +1382 -0
- package/dist/interface/ha/server-CKJKoFfg.js +239 -0
- package/dist/interface/ha/settings-EKkSQLzv.js +22 -0
- package/dist/interface/ha/source-branch-CZwSOrQA.js +19 -0
- package/dist/interface/ha/speeddial-Dv9txWte.js +682 -0
- package/dist/interface/ha/spinner-D6iUldg9.js +46 -0
- package/dist/interface/ha/synapse-CGrlyQDE.js +35 -0
- package/dist/interface/ha/tag-CXgC9OZ6.js +95 -0
- package/dist/interface/ha/textarea-DvLkfUX7.js +130 -0
- package/dist/interface/ha/tooltip-BIrD_hC8.js +277 -0
- package/dist/interface/ha/trash-2-C4zSCZfs.js +23 -0
- package/dist/interface/ha/trash-can-outline-DCqsCOd2.js +19 -0
- package/dist/interface/ha/trash-fill-BPsrwR8X.js +21 -0
- package/dist/interface/ha/types-C7MzwoQR.js +28 -0
- package/dist/interface/ha/types-J_J0HKlK.js +1032 -0
- package/dist/interface/ha/ungrouped-BpaM88Y-.js +1116 -0
- package/dist/interface/ha/updates-BdVmkKAa.js +341 -0
- package/dist/interface/ha/upload-2xJkVPZE.js +19 -0
- package/dist/interface/ha/upload-wQHBRZX_.js +23 -0
- package/dist/interface/ha/useAppVersion-DzDaOsKc.js +22 -0
- package/dist/interface/ha/useLogsSocket-CWUE-KXV.js +59 -0
- package/dist/interface/ha/useNavLayout-BqpyvD2F.js +125 -0
- package/dist/interface/ha/usePermissions-BIUeW4ef.js +72 -0
- package/dist/interface/ha/useServerRestart-0c4gA1fG.js +23 -0
- package/dist/interface/ha/useTabSwipe-C8LdKw23.js +45 -0
- package/dist/interface/ha/useUpdateChannel-CHVLthZB.js +22 -0
- package/dist/interface/ha/useUpdatesSocket-CaxEs511.js +34 -0
- package/dist/interface/ha/useUserOptions-Rk_71WAK.js +15 -0
- package/dist/interface/ha/utils-DYtBrGDz.js +7 -0
- package/dist/interface/ha/virtualscroller-s_gNqN5p.js +996 -0
- package/dist/interface/ha/vue-flow-background-B0Vu4-8M.js +6840 -0
- package/dist/interface/ha/vue-i18n-Dcb07o5U.js +2409 -0
- package/dist/interface/ha/web-0Kyq65na.js +78 -0
- package/dist/interface/ha/web-B7Dt2zZN.js +340 -0
- package/dist/interface/ha/web-BNdrPSpb.js +102 -0
- package/dist/interface/ha/web-BPBZBCtX.js +8 -0
- package/dist/interface/ha/web-BjKL51lK-qwJdIpM1.js +221 -0
- package/dist/interface/ha/web-C01i9qI1.js +57 -0
- package/dist/interface/ha/web-CH3JeXWa.js +211 -0
- package/dist/interface/ha/web-Cpm1-DVe.js +33 -0
- package/dist/interface/ha/web-DqRMXrnx.js +31 -0
- package/dist/interface/ha/web-DtVT7WYt.js +17 -0
- package/dist/interface/ha/web-DxJQZCiR.js +59 -0
- package/dist/interface/ha/web-I7Urp4AE.js +46 -0
- package/dist/interface/ha/web-aSaPk7kr.js +57 -0
- package/dist/interface/ha/web-pMey9p3Y.js +79 -0
- package/dist/interface/ha/xterm-B6xA6E5i.js +14833 -0
- package/dist/interface/ha/zoom-in-CNVB9H3D.js +41 -0
- package/dist/interface/index.html +29 -29
- package/dist/interface/sw.js +1 -1
- package/dist/server/package.json +9 -9
- package/dist/server/requirements.txt +3 -3
- package/dist/server/src/_camera_ui_tools/camera_ui_rpc/client.py +9 -6
- package/dist/server/src/_camera_ui_tools/camera_ui_rpc/types.py +2 -2
- package/dist/server/src/_camera_ui_tools/camera_ui_sdk/__init__.py +4 -2
- package/dist/server/src/_camera_ui_tools/camera_ui_sdk/camera/config.py +8 -0
- package/dist/server/src/_camera_ui_tools/camera_ui_sdk/camera/device.py +4 -3
- package/dist/server/src/_camera_ui_tools/camera_ui_sdk/internal/__init__.py +6 -0
- package/dist/server/src/_camera_ui_tools/camera_ui_sdk/internal/sensor_rpc.py +17 -6
- package/dist/server/src/_camera_ui_tools/camera_ui_sdk/manager/__init__.py +24 -70
- package/dist/server/src/_camera_ui_tools/camera_ui_sdk/plugin/interfaces.py +46 -19
- package/dist/server/src/_camera_ui_tools/camera_ui_sdk/sensor/__init__.py +2 -0
- package/dist/server/src/_camera_ui_tools/camera_ui_sdk/sensor/base.py +65 -8
- package/dist/server/src/api/database/index.d.ts +1 -1
- package/dist/server/src/api/database/index.js +4 -32
- package/dist/server/src/api/database/index.js.map +1 -1
- package/dist/server/src/api/database/migrations/v2-1-18.d.ts +3 -0
- package/dist/server/src/api/database/migrations/v2-1-18.js +24 -0
- package/dist/server/src/api/database/migrations/v2-1-18.js.map +1 -0
- package/dist/server/src/api/database/record-schemas.d.ts +1 -0
- package/dist/server/src/api/database/types.d.ts +4 -3
- package/dist/server/src/api/schemas/cameras.schema.d.ts +53 -15
- package/dist/server/src/api/schemas/cameras.schema.js +5 -1
- package/dist/server/src/api/schemas/cameras.schema.js.map +1 -1
- package/dist/server/src/api/schemas/users.schema.d.ts +7 -0
- package/dist/server/src/api/schemas/users.schema.js +1 -1
- package/dist/server/src/api/schemas/users.schema.js.map +1 -1
- package/dist/server/src/api/services/cameras.service.js +14 -21
- package/dist/server/src/api/services/cameras.service.js.map +1 -1
- package/dist/server/src/api/services/sensors.service.d.ts +3 -3
- package/dist/server/src/api/services/sensors.service.js +3 -24
- package/dist/server/src/api/services/sensors.service.js.map +1 -1
- package/dist/server/src/api/utils/regex.d.ts +2 -0
- package/dist/server/src/api/utils/regex.js +2 -0
- package/dist/server/src/api/utils/regex.js.map +1 -1
- package/dist/server/src/api/websocket/nsp/sensors.d.ts +3 -1
- package/dist/server/src/api/websocket/nsp/sensors.js +13 -3
- package/dist/server/src/api/websocket/nsp/sensors.js.map +1 -1
- package/dist/server/src/camera/decoder/debug/detection-record.d.ts +3 -1
- package/dist/server/src/camera/decoder/debug/detection-record.js +6 -2
- package/dist/server/src/camera/decoder/debug/detection-record.js.map +1 -1
- package/dist/server/src/camera/decoder/detection-coordinator.d.ts +2 -0
- package/dist/server/src/camera/decoder/detection-coordinator.js +44 -25
- package/dist/server/src/camera/decoder/detection-coordinator.js.map +1 -1
- package/dist/server/src/camera/decoder/detection-pipeline.d.ts +3 -1
- package/dist/server/src/camera/decoder/detection-pipeline.js +3 -22
- package/dist/server/src/camera/decoder/detection-pipeline.js.map +1 -1
- package/dist/server/src/camera/decoder/event-manager.d.ts +4 -3
- package/dist/server/src/camera/decoder/event-manager.js +17 -5
- package/dist/server/src/camera/decoder/event-manager.js.map +1 -1
- package/dist/server/src/camera/decoder/event-thumbnailer.d.ts +3 -0
- package/dist/server/src/camera/decoder/event-thumbnailer.js +13 -8
- package/dist/server/src/camera/decoder/event-thumbnailer.js.map +1 -1
- package/dist/server/src/camera/decoder/event-trace.d.ts +58 -0
- package/dist/server/src/camera/decoder/event-trace.js +118 -0
- package/dist/server/src/camera/decoder/event-trace.js.map +1 -0
- package/dist/server/src/camera/decoder/nvr-sink.d.ts +2 -0
- package/dist/server/src/camera/decoder/nvr-sink.js.map +1 -1
- package/dist/server/src/camera/decoder/reconnect-backoff.js +1 -1
- package/dist/server/src/camera/decoder/reconnect-backoff.js.map +1 -1
- package/dist/server/src/camera/decoder/sources/analysis-source.d.ts +1 -0
- package/dist/server/src/camera/decoder/sources/buffered-source.d.ts +7 -1
- package/dist/server/src/camera/decoder/sources/buffered-source.js +27 -15
- package/dist/server/src/camera/decoder/sources/buffered-source.js.map +1 -1
- package/dist/server/src/camera/decoder/sources/frame-handle.d.ts +2 -1
- package/dist/server/src/camera/decoder/sources/frame-handle.js +5 -3
- package/dist/server/src/camera/decoder/sources/frame-handle.js.map +1 -1
- package/dist/server/src/camera/decoder/sources/frame-source.d.ts +1 -0
- package/dist/server/src/camera/decoder/sources/frame-source.js +7 -2
- package/dist/server/src/camera/decoder/sources/frame-source.js.map +1 -1
- package/dist/server/src/camera/decoder/sources/rtp-index.d.ts +9 -0
- package/dist/server/src/camera/decoder/sources/rtp-index.js +24 -0
- package/dist/server/src/camera/decoder/sources/rtp-index.js.map +1 -0
- package/dist/server/src/camera/decoder/worker.js +1 -0
- package/dist/server/src/camera/decoder/worker.js.map +1 -1
- package/dist/server/src/go2rtc/types.d.ts +1 -1
- package/dist/server/src/go2rtc/types.js +1 -1
- package/dist/server/src/go2rtc/types.js.map +1 -1
- package/dist/server/src/plugins/runtime/node/child.js +1 -0
- package/dist/server/src/plugins/runtime/node/child.js.map +1 -1
- package/dist/server/src/plugins/runtime/node/proxy/cameraDevice.js +3 -0
- package/dist/server/src/plugins/runtime/node/proxy/cameraDevice.js.map +1 -1
- package/dist/server/src/plugins/runtime/node/proxy/sensorManager.d.ts +2 -5
- package/dist/server/src/plugins/runtime/node/proxy/sensorManager.js +95 -24
- package/dist/server/src/plugins/runtime/node/proxy/sensorManager.js.map +1 -1
- package/dist/server/src/plugins/runtime/python/child.py +1 -0
- package/dist/server/src/plugins/runtime/python/proxy/camera_device.py +9 -0
- package/dist/server/src/plugins/runtime/python/proxy/sensor.py +2 -1
- package/dist/server/src/plugins/runtime/python/proxy/sensor_manager.py +185 -88
- package/dist/server/src/plugins/runtime/python/typings.py +18 -0
- package/dist/server/src/rpc/interfaces/sensor.d.ts +19 -4
- package/dist/server/src/sensors/discovery.d.ts +1 -1
- package/dist/server/src/sensors/discovery.js +10 -19
- package/dist/server/src/sensors/discovery.js.map +1 -1
- package/dist/server/src/sensors/registry.d.ts +6 -2
- package/dist/server/src/sensors/registry.js +75 -6
- package/dist/server/src/sensors/registry.js.map +1 -1
- package/dist/server/src/utils/camera.d.ts +12 -2
- package/dist/server/src/utils/camera.js +27 -1
- package/dist/server/src/utils/camera.js.map +1 -1
- package/dist/server/src/workers/pairing.js +17 -8
- package/dist/server/src/workers/pairing.js.map +1 -1
- package/package.json +9 -9
- package/dist/interface/assets/Automation-4HPAjq1i.js +0 -3
- package/dist/interface/assets/AutomationStoreDetail-C2ntfGP-.js +0 -2
- package/dist/interface/assets/Automations-CUUq9dxs.js +0 -2
- package/dist/interface/assets/Camera-DmrRrgqQ.js +0 -2
- package/dist/interface/assets/Cameras-B-aQUuPk.js +0 -652
- package/dist/interface/assets/Camview-B-W5jpCR.js +0 -1
- package/dist/interface/assets/ConfigActionNotification-Bq28CjsJ.js +0 -1
- package/dist/interface/assets/ConfigConditionSwitch-DYAlj5no.js +0 -1
- package/dist/interface/assets/ConfigTriggerGeofence-ClKyzb-x.js +0 -1
- package/dist/interface/assets/Console-ctbGFtCH.js +0 -1
- package/dist/interface/assets/CuiBottomSheet-Bo1wUyiN.js +0 -1
- package/dist/interface/assets/CuiCameraPipCard-BEAE44of.js +0 -1
- package/dist/interface/assets/CuiCameraRecordings-BzbwSK8-.css +0 -1
- package/dist/interface/assets/CuiCameraRecordings-C1evIMhc.js +0 -1
- package/dist/interface/assets/CuiCameraTable-BAjQ8h5H.js +0 -1
- package/dist/interface/assets/CuiLightControl-9OhT9YYt.js +0 -1
- package/dist/interface/assets/CuiPluginCard-DQgVasi7.js +0 -2
- package/dist/interface/assets/CuiSchema-juKEra_J.js +0 -1
- package/dist/interface/assets/Faces-Ce3mKYc7.js +0 -1
- package/dist/interface/assets/FirstSteps-BBLzX2bl.js +0 -1
- package/dist/interface/assets/Floorplan-B7BVj65t.js +0 -1
- package/dist/interface/assets/Instances-4VxGT2fm.js +0 -1
- package/dist/interface/assets/Metrics-DudHV8Ov.js +0 -9
- package/dist/interface/assets/OAuthDeviceFlow-Z3Cesvs9.js +0 -1
- package/dist/interface/assets/Plugin-DwadariU.js +0 -1
- package/dist/interface/assets/PluginDetail-C_XghvQz.js +0 -2
- package/dist/interface/assets/PluginSearch-11dsxfvW.js +0 -1
- package/dist/interface/assets/PluginSearch-DgQOryM2.js +0 -2
- package/dist/interface/assets/Plugins-QheVcYZB.js +0 -1
- package/dist/interface/assets/Recordings-DwPnYsd6.js +0 -1
- package/dist/interface/assets/SensorEdit-C9Ejdxaz.js +0 -1
- package/dist/interface/assets/Sensors-D4tY50d4.js +0 -2
- package/dist/interface/assets/SettingsAccount-DMvvar8D.js +0 -1
- package/dist/interface/assets/SettingsAccount-DYCCnjWY.js +0 -1
- package/dist/interface/assets/SettingsAppearance-vLBhLEag.js +0 -1
- package/dist/interface/assets/SettingsMqtt-Cj9ywnP2.js +0 -1
- package/dist/interface/assets/SettingsNotifications-flx3W4Uo.js +0 -1
- package/dist/interface/assets/SettingsRecordings-D3b6y2SX.js +0 -1
- package/dist/interface/assets/SettingsRemote-o01wgKPR.js +0 -2
- package/dist/interface/assets/Workers-CdaYj6Ap.js +0 -2
- package/dist/interface/assets/alert-outline-KxFvd3i6.js +0 -1
- package/dist/interface/assets/api-2VPaKkqc.js +0 -2
- package/dist/interface/assets/api-CEbDxsSY.css +0 -2
- package/dist/interface/assets/cameras.schema-CnSdfqqj.js +0 -1
- package/dist/interface/assets/cloudHandoff-B1z5dyPD.js +0 -1
- package/dist/interface/assets/main-BfL5CDS8.js +0 -3
- package/dist/interface/assets/nodeDefinitions-D6zhuw60.js +0 -1
- package/dist/interface/assets/sensorIcons-FPxm3pDg.js +0 -1
- package/dist/interface/assets/theme-CRQoJiuY.js +0 -1
- package/dist/interface/assets/types-BHgaZSm2.js +0 -1
- package/dist/interface/assets/types-CQpPteyx.js +0 -1
- package/dist/interface/assets/ungrouped-BbOtmmDD.js +0 -1
- package/dist/interface/assets/useBackupRestore-CT1PYJDW.js +0 -1
- package/dist/interface/assets/vendor-cameraui-ZyqPntQ7.js +0 -2326
- package/dist/interface/assets/vendor-core-DN-bpg68.js +0 -1
- package/dist/interface/assets/vendor-zod-B0ZFM2Pr.js +0 -127
|
@@ -0,0 +1,1406 @@
|
|
|
1
|
+
import { i as e, s as t } from "./ripple-BilzxWfY.js";
|
|
2
|
+
import { Ct as n, E as r, H as i, K as a, M as o, N as s, Ot as c, S as l, Tt as u, bt as d, f, gt as p, kt as m, l as h, ot as g, p as _, st as v, u as y, wt as b, x, xt as S, yt as C, z as w } from "./runtime-core.esm-bundler-D8slQ3BU.js";
|
|
3
|
+
import { A as T, B as E, C as D, F as O, H as k, I as A, L as j, M, N, O as P, R as ee, S as te, T as ne, V as re, _ as ie, b as F, j as I, k as ae, m as oe, t as se, v as ce, w as le, x as ue, y as L } from "./protocol-BB4jdtUC-K1r3LFCq.js";
|
|
4
|
+
//#region node_modules/@vueuse/core/dist/index.js
|
|
5
|
+
function de(e, t, n) {
|
|
6
|
+
let r;
|
|
7
|
+
r = p(n) ? { evaluating: n } : n || {};
|
|
8
|
+
let { lazy: i = !1, flush: a = "sync", evaluating: o = void 0, shallow: s = !0, onError: c = globalThis.reportError ?? D } = r, l = b(!i), u = s ? b(t) : S(t), d = 0;
|
|
9
|
+
return v(async (t) => {
|
|
10
|
+
if (!l.value) return;
|
|
11
|
+
d++;
|
|
12
|
+
let n = d, r = !1;
|
|
13
|
+
o && Promise.resolve().then(() => {
|
|
14
|
+
o.value = !0;
|
|
15
|
+
});
|
|
16
|
+
try {
|
|
17
|
+
let i = await e((e) => {
|
|
18
|
+
t(() => {
|
|
19
|
+
o && (o.value = !1), r || e();
|
|
20
|
+
});
|
|
21
|
+
});
|
|
22
|
+
n === d && (u.value = i);
|
|
23
|
+
} catch (e) {
|
|
24
|
+
c(e);
|
|
25
|
+
} finally {
|
|
26
|
+
o && n === d && (o.value = !1), r = !0;
|
|
27
|
+
}
|
|
28
|
+
}, { flush: a }), i ? h(() => (l.value = !0, u.value)) : u;
|
|
29
|
+
}
|
|
30
|
+
function fe(e = {}) {
|
|
31
|
+
let { inheritAttrs: t = !0, name: n = "ReusableTemplate" } = e, r = b(), i = x({
|
|
32
|
+
name: `${n}.define`,
|
|
33
|
+
setup(e, { slots: t }) {
|
|
34
|
+
return () => {
|
|
35
|
+
r.value = t.default;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
}), a = x({
|
|
39
|
+
inheritAttrs: t,
|
|
40
|
+
name: `${n}.reuse`,
|
|
41
|
+
props: e.props,
|
|
42
|
+
setup(n, { attrs: i, slots: a }) {
|
|
43
|
+
return () => {
|
|
44
|
+
if (!r.value) throw Error("[VueUse] Failed to find the definition of reusable template");
|
|
45
|
+
let o = r.value?.call(r, {
|
|
46
|
+
...e.props == null ? pe(i) : n,
|
|
47
|
+
$slots: a
|
|
48
|
+
});
|
|
49
|
+
return t && o?.length === 1 ? o[0] : o;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
return te({
|
|
54
|
+
define: i,
|
|
55
|
+
reuse: a
|
|
56
|
+
}, [i, a]);
|
|
57
|
+
}
|
|
58
|
+
function pe(e) {
|
|
59
|
+
let t = {};
|
|
60
|
+
for (let n in e) t[oe(n)] = e[n];
|
|
61
|
+
return t;
|
|
62
|
+
}
|
|
63
|
+
var R = L ? window : void 0;
|
|
64
|
+
L && window.document;
|
|
65
|
+
var z = L ? window.navigator : void 0;
|
|
66
|
+
L && window.location;
|
|
67
|
+
function B(e) {
|
|
68
|
+
let t = c(e);
|
|
69
|
+
return t?.$el ?? t;
|
|
70
|
+
}
|
|
71
|
+
function V(...e) {
|
|
72
|
+
let t = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), n = h(() => {
|
|
73
|
+
let t = P(c(e[0])).filter((e) => e != null);
|
|
74
|
+
return t.every((e) => typeof e != "string") ? t : void 0;
|
|
75
|
+
});
|
|
76
|
+
return E(() => [
|
|
77
|
+
n.value?.map((e) => B(e)) ?? [R].filter((e) => e != null),
|
|
78
|
+
P(c(n.value ? e[1] : e[0])),
|
|
79
|
+
P(m(n.value ? e[2] : e[1])),
|
|
80
|
+
c(n.value ? e[3] : e[2])
|
|
81
|
+
], ([e, n, r, i], a, o) => {
|
|
82
|
+
if (!e?.length || !n?.length || !r?.length) return;
|
|
83
|
+
let s = ue(i) ? { ...i } : i, c = e.flatMap((e) => n.flatMap((n) => r.map((r) => t(e, n, r, s))));
|
|
84
|
+
o(() => {
|
|
85
|
+
c.forEach((e) => e());
|
|
86
|
+
});
|
|
87
|
+
}, { flush: "post" });
|
|
88
|
+
}
|
|
89
|
+
var me = !1;
|
|
90
|
+
function he(e, t, n = {}) {
|
|
91
|
+
let { window: r = R, ignore: i = [], capture: a = !0, detectIframe: o = !1, controls: s = !1 } = n;
|
|
92
|
+
if (!r) return s ? {
|
|
93
|
+
stop: D,
|
|
94
|
+
cancel: D,
|
|
95
|
+
trigger: D
|
|
96
|
+
} : D;
|
|
97
|
+
if (F && !me) {
|
|
98
|
+
me = !0;
|
|
99
|
+
let e = { passive: !0 };
|
|
100
|
+
Array.from(r.document.body.children).forEach((t) => t.addEventListener("click", D, e)), r.document.documentElement.addEventListener("click", D, e);
|
|
101
|
+
}
|
|
102
|
+
let l = !0, u = (e) => c(i).some((t) => {
|
|
103
|
+
if (typeof t == "string") return Array.from(r.document.querySelectorAll(t)).some((t) => t === e.target || e.composedPath().includes(t));
|
|
104
|
+
{
|
|
105
|
+
let n = B(t);
|
|
106
|
+
return n && (e.target === n || e.composedPath().includes(n));
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
function d(e) {
|
|
110
|
+
let t = c(e);
|
|
111
|
+
return t && t.$.subTree.shapeFlag === 16;
|
|
112
|
+
}
|
|
113
|
+
function f(e, t) {
|
|
114
|
+
let n = c(e), r = n.$.subTree && n.$.subTree.children;
|
|
115
|
+
return r == null || !Array.isArray(r) ? !1 : r.some((e) => e.el === t.target || t.composedPath().includes(e.el));
|
|
116
|
+
}
|
|
117
|
+
let p = (n) => {
|
|
118
|
+
let r = B(e);
|
|
119
|
+
if (n.target != null && !(!(r instanceof Element) && d(e) && f(e, n)) && !(!r || r === n.target || n.composedPath().includes(r))) {
|
|
120
|
+
if ("detail" in n && n.detail === 0 && (l = !u(n)), !l) {
|
|
121
|
+
l = !0;
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
t(n);
|
|
125
|
+
}
|
|
126
|
+
}, m = !1, h = [
|
|
127
|
+
V(r, "click", (e) => {
|
|
128
|
+
m || (m = !0, setTimeout(() => {
|
|
129
|
+
m = !1;
|
|
130
|
+
}, 0), p(e));
|
|
131
|
+
}, {
|
|
132
|
+
passive: !0,
|
|
133
|
+
capture: a
|
|
134
|
+
}),
|
|
135
|
+
V(r, "pointerdown", (t) => {
|
|
136
|
+
let n = B(e);
|
|
137
|
+
l = !u(t) && !!(n && !t.composedPath().includes(n));
|
|
138
|
+
}, { passive: !0 }),
|
|
139
|
+
o && V(r, "blur", (n) => {
|
|
140
|
+
setTimeout(() => {
|
|
141
|
+
let i = B(e), a = r.document.activeElement;
|
|
142
|
+
for (; a?.shadowRoot;) a = a.shadowRoot.activeElement;
|
|
143
|
+
a?.tagName === "IFRAME" && !i?.contains(r.document.activeElement) && t(n);
|
|
144
|
+
}, 0);
|
|
145
|
+
}, { passive: !0 })
|
|
146
|
+
].filter(Boolean), g = () => h.forEach((e) => e());
|
|
147
|
+
return s ? {
|
|
148
|
+
stop: g,
|
|
149
|
+
cancel: () => {
|
|
150
|
+
l = !1;
|
|
151
|
+
},
|
|
152
|
+
trigger: (e) => {
|
|
153
|
+
l = !0, p(e), l = !1;
|
|
154
|
+
}
|
|
155
|
+
} : g;
|
|
156
|
+
}
|
|
157
|
+
function ge() {
|
|
158
|
+
let e = b(!1), t = l();
|
|
159
|
+
return t && w(() => {
|
|
160
|
+
e.value = !0;
|
|
161
|
+
}, t), e;
|
|
162
|
+
}
|
|
163
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
164
|
+
function H(e) {
|
|
165
|
+
let t = ge();
|
|
166
|
+
return h(() => (t.value, !!e()));
|
|
167
|
+
}
|
|
168
|
+
function U(e, t, n = {}) {
|
|
169
|
+
let { window: r = R, ...i } = n, a, o = /* @__PURE__ */ H(() => r && "MutationObserver" in r), s = () => {
|
|
170
|
+
a &&= (a.disconnect(), void 0);
|
|
171
|
+
}, l = g(h(() => {
|
|
172
|
+
let t = P(c(e)).map(B).filter(le);
|
|
173
|
+
return new Set(t);
|
|
174
|
+
}), (e) => {
|
|
175
|
+
s(), o.value && e.size && (a = new MutationObserver(t), e.forEach((e) => a.observe(e, i)));
|
|
176
|
+
}, {
|
|
177
|
+
immediate: !0,
|
|
178
|
+
flush: "post"
|
|
179
|
+
}), u = () => a?.takeRecords(), d = () => {
|
|
180
|
+
l(), s();
|
|
181
|
+
};
|
|
182
|
+
return M(d), {
|
|
183
|
+
isSupported: o,
|
|
184
|
+
stop: d,
|
|
185
|
+
takeRecords: u
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
function _e(e, t, n = {}) {
|
|
189
|
+
let { window: r = R, document: i = r?.document, flush: a = "sync" } = n;
|
|
190
|
+
if (!r || !i) return D;
|
|
191
|
+
let o, s = (e) => {
|
|
192
|
+
o?.(), o = e;
|
|
193
|
+
}, c = v(() => {
|
|
194
|
+
let n = B(e);
|
|
195
|
+
if (n) {
|
|
196
|
+
let { stop: e } = U(i, (e) => {
|
|
197
|
+
e.map((e) => [...e.removedNodes]).flat().some((e) => e === n || e.contains(n)) && t(e);
|
|
198
|
+
}, {
|
|
199
|
+
window: r,
|
|
200
|
+
childList: !0,
|
|
201
|
+
subtree: !0
|
|
202
|
+
});
|
|
203
|
+
s(e);
|
|
204
|
+
}
|
|
205
|
+
}, { flush: a }), l = () => {
|
|
206
|
+
c(), s();
|
|
207
|
+
};
|
|
208
|
+
return M(l), l;
|
|
209
|
+
}
|
|
210
|
+
function ve(e) {
|
|
211
|
+
return typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0;
|
|
212
|
+
}
|
|
213
|
+
function ye(...e) {
|
|
214
|
+
let t, n, r = {};
|
|
215
|
+
e.length === 3 ? (t = e[0], n = e[1], r = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (t = !0, n = e[0], r = e[1]) : (t = e[0], n = e[1]) : (t = !0, n = e[0]);
|
|
216
|
+
let { target: i = R, eventName: a = "keydown", passive: o = !1, dedupe: s = !1 } = r, l = ve(t);
|
|
217
|
+
return V(i, a, (e) => {
|
|
218
|
+
e.repeat && c(s) || l(e) && n(e);
|
|
219
|
+
}, o);
|
|
220
|
+
}
|
|
221
|
+
var be = 500, xe = 10;
|
|
222
|
+
function Se(e, t, n) {
|
|
223
|
+
var r, i;
|
|
224
|
+
let a = h(() => B(e)), o, s, c, l = !1;
|
|
225
|
+
function u() {
|
|
226
|
+
o &&= (clearTimeout(o), void 0), s = void 0, c = void 0, l = !1;
|
|
227
|
+
}
|
|
228
|
+
function d(e) {
|
|
229
|
+
let t = n?.delay;
|
|
230
|
+
return typeof t == "function" ? t(e) : t ?? be;
|
|
231
|
+
}
|
|
232
|
+
function f(e) {
|
|
233
|
+
var t, r, i;
|
|
234
|
+
let [o, d, f] = [
|
|
235
|
+
c,
|
|
236
|
+
s,
|
|
237
|
+
l
|
|
238
|
+
];
|
|
239
|
+
if (u(), !n?.onMouseUp || !d || !o || n != null && (t = n.modifiers) != null && t.self && e.target !== a.value) return;
|
|
240
|
+
n != null && (r = n.modifiers) != null && r.prevent && e.preventDefault(), n != null && (i = n.modifiers) != null && i.stop && e.stopPropagation();
|
|
241
|
+
let p = e.x - d.x, m = e.y - d.y, h = Math.sqrt(p * p + m * m);
|
|
242
|
+
n.onMouseUp(e.timeStamp - o, h, f, e);
|
|
243
|
+
}
|
|
244
|
+
function p(e) {
|
|
245
|
+
var r, i, f;
|
|
246
|
+
n != null && (r = n.modifiers) != null && r.self && e.target !== a.value || (u(), n != null && (i = n.modifiers) != null && i.prevent && e.preventDefault(), n != null && (f = n.modifiers) != null && f.stop && e.stopPropagation(), s = {
|
|
247
|
+
x: e.x,
|
|
248
|
+
y: e.y
|
|
249
|
+
}, c = e.timeStamp, o = setTimeout(() => {
|
|
250
|
+
l = !0, t(e);
|
|
251
|
+
}, d(e)));
|
|
252
|
+
}
|
|
253
|
+
function m(e) {
|
|
254
|
+
var t, r, i;
|
|
255
|
+
if (n != null && (t = n.modifiers) != null && t.self && e.target !== a.value || !s || n?.distanceThreshold === !1) return;
|
|
256
|
+
n != null && (r = n.modifiers) != null && r.prevent && e.preventDefault(), n != null && (i = n.modifiers) != null && i.stop && e.stopPropagation();
|
|
257
|
+
let o = e.x - s.x, c = e.y - s.y;
|
|
258
|
+
Math.sqrt(o * o + c * c) >= (n?.distanceThreshold ?? xe) && u();
|
|
259
|
+
}
|
|
260
|
+
let g = {
|
|
261
|
+
capture: n == null || (r = n.modifiers) == null ? void 0 : r.capture,
|
|
262
|
+
once: n == null || (i = n.modifiers) == null ? void 0 : i.once
|
|
263
|
+
}, _ = [
|
|
264
|
+
V(a, "pointerdown", p, g),
|
|
265
|
+
V(a, "pointermove", m, g),
|
|
266
|
+
V(a, ["pointerup", "pointerleave"], f, g)
|
|
267
|
+
];
|
|
268
|
+
return () => _.forEach((e) => e());
|
|
269
|
+
}
|
|
270
|
+
function Ce(e, t = {}) {
|
|
271
|
+
let { immediate: r = !0, fpsLimit: i = null, window: a = R, once: o = !1 } = t, s = b(!1), l = h(() => {
|
|
272
|
+
let e = c(i);
|
|
273
|
+
return e ? 1e3 / e : null;
|
|
274
|
+
}), u = 0, d = null;
|
|
275
|
+
function f(t) {
|
|
276
|
+
if (!s.value || !a) return;
|
|
277
|
+
u ||= t;
|
|
278
|
+
let n = t - u;
|
|
279
|
+
if (l.value && n < l.value) {
|
|
280
|
+
d = a.requestAnimationFrame(f);
|
|
281
|
+
return;
|
|
282
|
+
}
|
|
283
|
+
if (u = t, e({
|
|
284
|
+
delta: n,
|
|
285
|
+
timestamp: t
|
|
286
|
+
}), o) {
|
|
287
|
+
s.value = !1, d = null;
|
|
288
|
+
return;
|
|
289
|
+
}
|
|
290
|
+
d = a.requestAnimationFrame(f);
|
|
291
|
+
}
|
|
292
|
+
function p() {
|
|
293
|
+
!s.value && a && (s.value = !0, u = 0, d = a.requestAnimationFrame(f));
|
|
294
|
+
}
|
|
295
|
+
function m() {
|
|
296
|
+
s.value = !1, d != null && a && (a.cancelAnimationFrame(d), d = null);
|
|
297
|
+
}
|
|
298
|
+
return r && p(), M(m), {
|
|
299
|
+
isActive: n(s),
|
|
300
|
+
pause: m,
|
|
301
|
+
resume: p
|
|
302
|
+
};
|
|
303
|
+
}
|
|
304
|
+
var we = Symbol("vueuse-ssr-width");
|
|
305
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
306
|
+
function Te() {
|
|
307
|
+
let e = r() ? ce(we, null) : null;
|
|
308
|
+
return typeof e == "number" ? e : void 0;
|
|
309
|
+
}
|
|
310
|
+
function Ee(e, t = {}) {
|
|
311
|
+
let { window: n = R, ssrWidth: r = /* @__PURE__ */ Te() } = t, i = /* @__PURE__ */ H(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), a = b(typeof r == "number"), o = b(), s = b(!1);
|
|
312
|
+
return v(() => {
|
|
313
|
+
if (a.value) {
|
|
314
|
+
a.value = !i.value;
|
|
315
|
+
let t = c(e).split(",");
|
|
316
|
+
s.value = t.some((e) => {
|
|
317
|
+
let t = e.includes("not all"), n = e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), i = e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), a = !!(n || i);
|
|
318
|
+
return n && a && (a = r >= ne(n[1])), i && a && (a = r <= ne(i[1])), t ? !a : a;
|
|
319
|
+
});
|
|
320
|
+
return;
|
|
321
|
+
}
|
|
322
|
+
i.value && (o.value = n.matchMedia(c(e)), s.value = o.value.matches);
|
|
323
|
+
}), V(o, "change", (e) => {
|
|
324
|
+
s.value = e.matches;
|
|
325
|
+
}, { passive: !0 }), h(() => s.value);
|
|
326
|
+
}
|
|
327
|
+
function De(e, t = {}) {
|
|
328
|
+
let { controls: n = !1, navigator: r = z } = t, i = /* @__PURE__ */ H(() => r && "permissions" in r), a = b(), o = typeof e == "string" ? { name: e } : e, s = b(), c = () => {
|
|
329
|
+
s.value = a.value?.state ?? "prompt";
|
|
330
|
+
};
|
|
331
|
+
V(a, "change", c, { passive: !0 });
|
|
332
|
+
let l = ie(async () => {
|
|
333
|
+
if (i.value) {
|
|
334
|
+
if (!a.value) try {
|
|
335
|
+
a.value = await r.permissions.query(o);
|
|
336
|
+
} catch {
|
|
337
|
+
a.value = void 0;
|
|
338
|
+
} finally {
|
|
339
|
+
c();
|
|
340
|
+
}
|
|
341
|
+
if (n) return u(a.value);
|
|
342
|
+
}
|
|
343
|
+
});
|
|
344
|
+
return l(), n ? {
|
|
345
|
+
state: s,
|
|
346
|
+
isSupported: i,
|
|
347
|
+
query: l
|
|
348
|
+
} : s;
|
|
349
|
+
}
|
|
350
|
+
function Oe(e = {}) {
|
|
351
|
+
let { navigator: t = z, read: r = !1, source: i, copiedDuring: a = 1500, legacy: o = !1 } = e, s = /* @__PURE__ */ H(() => t && "clipboard" in t), l = De("clipboard-read"), u = De("clipboard-write"), d = h(() => s.value || o), f = b(""), p = b(!1), m = b(!1), g = ee(() => p.value = !1, a, { immediate: !1 }), _ = 0;
|
|
352
|
+
async function v() {
|
|
353
|
+
let e = !(s.value && w(l.value));
|
|
354
|
+
if (!e) try {
|
|
355
|
+
f.value = await t.clipboard.readText();
|
|
356
|
+
} catch {
|
|
357
|
+
e = !0;
|
|
358
|
+
}
|
|
359
|
+
e && (f.value = C());
|
|
360
|
+
}
|
|
361
|
+
d.value && r && V(["copy", "cut"], v, { passive: !0 });
|
|
362
|
+
async function y(e) {
|
|
363
|
+
let n = e ?? c(i);
|
|
364
|
+
if (d.value && n != null) {
|
|
365
|
+
m.value = !0;
|
|
366
|
+
let e = !(s.value && w(u.value));
|
|
367
|
+
if (!e) try {
|
|
368
|
+
let e = x(n);
|
|
369
|
+
await t.clipboard.write([e]);
|
|
370
|
+
} catch {
|
|
371
|
+
e = !0;
|
|
372
|
+
}
|
|
373
|
+
if (e) {
|
|
374
|
+
if (typeof n == "string") f.value = n, S(n);
|
|
375
|
+
else {
|
|
376
|
+
let e = ++_, t = await n();
|
|
377
|
+
t != null && e === _ && (f.value = t, S(t));
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
p.value = !0, g.start(), m.value = !1;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
function x(e) {
|
|
384
|
+
return typeof e == "string" ? (f.value = e, new ClipboardItem({ "text/plain": e })) : new ClipboardItem({ "text/plain": e().then((e = "") => (f.value = e, new Blob([e], { type: "text/plain" }))) });
|
|
385
|
+
}
|
|
386
|
+
function S(e) {
|
|
387
|
+
let t = document.createElement("textarea");
|
|
388
|
+
t.value = e, t.style.position = "absolute", t.style.opacity = "0", t.setAttribute("readonly", ""), document.body.appendChild(t), t.select(), document.execCommand("copy"), t.remove();
|
|
389
|
+
}
|
|
390
|
+
function C() {
|
|
391
|
+
var e, t;
|
|
392
|
+
return ((e = document) == null || (t = e.getSelection) == null || (t = t.call(e)) == null ? void 0 : t.toString()) ?? "";
|
|
393
|
+
}
|
|
394
|
+
function w(e) {
|
|
395
|
+
return e === "granted" || e === "prompt";
|
|
396
|
+
}
|
|
397
|
+
return {
|
|
398
|
+
copyPending: n(m),
|
|
399
|
+
isSupported: d,
|
|
400
|
+
text: n(f),
|
|
401
|
+
copied: n(p),
|
|
402
|
+
copy: y
|
|
403
|
+
};
|
|
404
|
+
}
|
|
405
|
+
var W = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, G = "__vueuse_ssr_handlers__", ke = /* #__PURE__ */ Ae();
|
|
406
|
+
function Ae() {
|
|
407
|
+
return G in W || (W[G] = W[G] || {}), W[G];
|
|
408
|
+
}
|
|
409
|
+
function je(e, t) {
|
|
410
|
+
return ke[e] || t;
|
|
411
|
+
}
|
|
412
|
+
function Me(e) {
|
|
413
|
+
return e == null ? "any" : e instanceof Set ? "set" : e instanceof Map ? "map" : e instanceof Date ? "date" : typeof e == "boolean" ? "boolean" : typeof e == "string" ? "string" : typeof e == "object" ? "object" : Number.isNaN(e) ? "any" : "number";
|
|
414
|
+
}
|
|
415
|
+
var Ne = {
|
|
416
|
+
boolean: {
|
|
417
|
+
read: (e) => e === "true",
|
|
418
|
+
write: (e) => String(e)
|
|
419
|
+
},
|
|
420
|
+
object: {
|
|
421
|
+
read: (e) => JSON.parse(e),
|
|
422
|
+
write: (e) => JSON.stringify(e)
|
|
423
|
+
},
|
|
424
|
+
number: {
|
|
425
|
+
read: (e) => Number.parseFloat(e),
|
|
426
|
+
write: (e) => String(e)
|
|
427
|
+
},
|
|
428
|
+
any: {
|
|
429
|
+
read: (e) => e,
|
|
430
|
+
write: (e) => String(e)
|
|
431
|
+
},
|
|
432
|
+
string: {
|
|
433
|
+
read: (e) => e,
|
|
434
|
+
write: (e) => String(e)
|
|
435
|
+
},
|
|
436
|
+
map: {
|
|
437
|
+
read: (e) => new Map(JSON.parse(e)),
|
|
438
|
+
write: (e) => JSON.stringify(Array.from(e.entries()))
|
|
439
|
+
},
|
|
440
|
+
set: {
|
|
441
|
+
read: (e) => new Set(JSON.parse(e)),
|
|
442
|
+
write: (e) => JSON.stringify(Array.from(e))
|
|
443
|
+
},
|
|
444
|
+
date: {
|
|
445
|
+
read: (e) => new Date(e),
|
|
446
|
+
write: (e) => e.toISOString()
|
|
447
|
+
}
|
|
448
|
+
}, Pe = "vueuse-storage";
|
|
449
|
+
function Fe(e, t, n, r = {}) {
|
|
450
|
+
let { flush: i = "pre", deep: a = !0, listenToStorageChanges: o = !0, writeDefaults: l = !0, mergeDefaults: u = !1, shallow: d, window: f = R, eventFilter: p, onError: m = (e) => {
|
|
451
|
+
console.error(e);
|
|
452
|
+
}, initOnMounted: _ } = r, v = (d ? b : S)(typeof t == "function" ? t() : t), y = h(() => c(e));
|
|
453
|
+
if (!n) try {
|
|
454
|
+
n = je("getDefaultStorage", () => R?.localStorage)();
|
|
455
|
+
} catch (e) {
|
|
456
|
+
m(e);
|
|
457
|
+
}
|
|
458
|
+
if (!n) return v;
|
|
459
|
+
let x = c(t), C = Me(x), w = r.serializer ?? Ne[C], { pause: T, resume: E } = k(v, (e) => A(e), {
|
|
460
|
+
flush: i,
|
|
461
|
+
deep: a,
|
|
462
|
+
eventFilter: p
|
|
463
|
+
});
|
|
464
|
+
g(y, () => M(), { flush: i });
|
|
465
|
+
let D = !1;
|
|
466
|
+
f && o && (n instanceof Storage ? V(f, "storage", (e) => {
|
|
467
|
+
_ && !D || M(e);
|
|
468
|
+
}, { passive: !0 }) : V(f, Pe, (e) => {
|
|
469
|
+
_ && !D || N(e);
|
|
470
|
+
})), _ ? I(() => {
|
|
471
|
+
D = !0, M();
|
|
472
|
+
}) : M();
|
|
473
|
+
function O(e, t) {
|
|
474
|
+
if (f) {
|
|
475
|
+
let r = {
|
|
476
|
+
key: y.value,
|
|
477
|
+
oldValue: e,
|
|
478
|
+
newValue: t,
|
|
479
|
+
storageArea: n
|
|
480
|
+
};
|
|
481
|
+
f.dispatchEvent(n instanceof Storage ? new StorageEvent("storage", r) : new CustomEvent(Pe, { detail: r }));
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
function A(e) {
|
|
485
|
+
try {
|
|
486
|
+
let t = n.getItem(y.value);
|
|
487
|
+
if (e == null) O(t, null), n.removeItem(y.value);
|
|
488
|
+
else {
|
|
489
|
+
let r = w.write(e);
|
|
490
|
+
t !== r && (n.setItem(y.value, r), O(t, r));
|
|
491
|
+
}
|
|
492
|
+
} catch (e) {
|
|
493
|
+
m(e);
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
function j(e) {
|
|
497
|
+
let t = e ? e.newValue : n.getItem(y.value);
|
|
498
|
+
if (t == null) return l && x != null && n.setItem(y.value, w.write(x)), x;
|
|
499
|
+
if (!e && u) {
|
|
500
|
+
let e = w.read(t);
|
|
501
|
+
return typeof u == "function" ? u(e, x) : C === "object" && !Array.isArray(e) ? {
|
|
502
|
+
...x,
|
|
503
|
+
...e
|
|
504
|
+
} : e;
|
|
505
|
+
}
|
|
506
|
+
return typeof t == "string" ? w.read(t) : t;
|
|
507
|
+
}
|
|
508
|
+
function M(e) {
|
|
509
|
+
if (!(e && e.storageArea !== n)) {
|
|
510
|
+
if (e && e.key == null) {
|
|
511
|
+
v.value = x;
|
|
512
|
+
return;
|
|
513
|
+
}
|
|
514
|
+
if (!(e && e.key !== y.value)) {
|
|
515
|
+
T();
|
|
516
|
+
try {
|
|
517
|
+
let t = w.write(v.value);
|
|
518
|
+
(e === void 0 || e?.newValue !== t) && (v.value = j(e));
|
|
519
|
+
} catch (e) {
|
|
520
|
+
m(e);
|
|
521
|
+
} finally {
|
|
522
|
+
e ? s(E) : E();
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
function N(e) {
|
|
528
|
+
M(e.detail);
|
|
529
|
+
}
|
|
530
|
+
return v;
|
|
531
|
+
}
|
|
532
|
+
var K = {
|
|
533
|
+
speed: 2,
|
|
534
|
+
margin: 30,
|
|
535
|
+
direction: "both"
|
|
536
|
+
};
|
|
537
|
+
function Ie(e) {
|
|
538
|
+
e.scrollLeft > e.scrollWidth - e.clientWidth && (e.scrollLeft = Math.max(0, e.scrollWidth - e.clientWidth)), e.scrollTop > e.scrollHeight - e.clientHeight && (e.scrollTop = Math.max(0, e.scrollHeight - e.clientHeight));
|
|
539
|
+
}
|
|
540
|
+
function Le(e, t = {}) {
|
|
541
|
+
let { pointerTypes: n, preventDefault: r, stopPropagation: i, exact: a, onMove: o, onEnd: s, onStart: l, initialValue: u, axis: d = "both", draggingElement: f = R, containerElement: p, handle: m = e, buttons: _ = [0], restrictInView: v, autoScroll: y = !1 } = t, b = S(c(u) ?? {
|
|
542
|
+
x: 0,
|
|
543
|
+
y: 0
|
|
544
|
+
}), x = S(), C = (e) => !n || n.includes(e.pointerType), w = (e) => {
|
|
545
|
+
c(r) && e.preventDefault(), c(i) && e.stopPropagation();
|
|
546
|
+
}, E = c(y), D = typeof E == "object" ? {
|
|
547
|
+
speed: c(E.speed) ?? K.speed,
|
|
548
|
+
margin: c(E.margin) ?? K.margin,
|
|
549
|
+
direction: E.direction ?? K.direction
|
|
550
|
+
} : K, O = (e) => typeof e == "number" ? [e, e] : [e.x, e.y], k = (e, t, n) => {
|
|
551
|
+
let { clientWidth: r, clientHeight: i, scrollLeft: a, scrollTop: o, scrollWidth: s, scrollHeight: c } = e, [l, u] = O(D.margin), [d, f] = O(D.speed), p = 0, m = 0;
|
|
552
|
+
(D.direction === "x" || D.direction === "both") && (n.x < l && a > 0 ? p = -d : n.x + t.width > r - l && a < s - r && (p = d)), (D.direction === "y" || D.direction === "both") && (n.y < u && o > 0 ? m = -f : n.y + t.height > i - u && o < c - i && (m = f)), (p || m) && e.scrollBy({
|
|
553
|
+
left: p,
|
|
554
|
+
top: m,
|
|
555
|
+
behavior: "auto"
|
|
556
|
+
});
|
|
557
|
+
}, A = null, j = () => {
|
|
558
|
+
let t = c(p);
|
|
559
|
+
t && !A && (A = setInterval(() => {
|
|
560
|
+
let n = c(e).getBoundingClientRect(), { x: r, y: i } = b.value, a = {
|
|
561
|
+
x: r - t.scrollLeft,
|
|
562
|
+
y: i - t.scrollTop
|
|
563
|
+
};
|
|
564
|
+
a.x >= 0 && a.y >= 0 && (k(t, n, a), a.x += t.scrollLeft, a.y += t.scrollTop, b.value = a);
|
|
565
|
+
}, 1e3 / 60));
|
|
566
|
+
}, M = () => {
|
|
567
|
+
A &&= (clearInterval(A), null);
|
|
568
|
+
}, N = (e, t, n, r) => {
|
|
569
|
+
let [i, a] = typeof n == "number" ? [n, n] : [n.x, n.y], { clientWidth: o, clientHeight: s } = t;
|
|
570
|
+
return e.x < i || e.x + r.width > o - i || e.y < a || e.y + r.height > s - a;
|
|
571
|
+
};
|
|
572
|
+
c(y) && g(b, () => {
|
|
573
|
+
if (c(t.disabled) || !x.value) return;
|
|
574
|
+
let n = c(p);
|
|
575
|
+
if (!n) return;
|
|
576
|
+
let r = c(e).getBoundingClientRect(), { x: i, y: a } = b.value, o = {
|
|
577
|
+
x: i - n.scrollLeft,
|
|
578
|
+
y: a - n.scrollTop
|
|
579
|
+
};
|
|
580
|
+
N(o, n, D.margin, r) ? j() : M();
|
|
581
|
+
});
|
|
582
|
+
let P = (n) => {
|
|
583
|
+
var r;
|
|
584
|
+
if (!c(_).includes(n.button) || c(t.disabled) || !C(n) || c(a) && n.target !== c(e)) return;
|
|
585
|
+
let i = c(p), o = i == null || (r = i.getBoundingClientRect) == null ? void 0 : r.call(i), s = c(e).getBoundingClientRect(), u = {
|
|
586
|
+
x: n.clientX - (i ? s.left - o.left + (y ? 0 : i.scrollLeft) : s.left),
|
|
587
|
+
y: n.clientY - (i ? s.top - o.top + (y ? 0 : i.scrollTop) : s.top)
|
|
588
|
+
};
|
|
589
|
+
l?.(u, n) !== !1 && (x.value = u, w(n));
|
|
590
|
+
}, ee = (n) => {
|
|
591
|
+
if (c(t.disabled) || !C(n) || !x.value) return;
|
|
592
|
+
let r = c(p);
|
|
593
|
+
r instanceof HTMLElement && Ie(r);
|
|
594
|
+
let i = c(e).getBoundingClientRect(), { x: a, y: s } = b.value;
|
|
595
|
+
if ((d === "x" || d === "both") && (a = n.clientX - x.value.x, r && (a = Math.min(Math.max(0, a), r.scrollWidth - i.width))), (d === "y" || d === "both") && (s = n.clientY - x.value.y, r && (s = Math.min(Math.max(0, s), r.scrollHeight - i.height))), c(y) && r && (A === null && k(r, i, {
|
|
596
|
+
x: a,
|
|
597
|
+
y: s
|
|
598
|
+
}), a += r.scrollLeft, s += r.scrollTop), r && (v || y)) {
|
|
599
|
+
if (d !== "y") {
|
|
600
|
+
let e = a - r.scrollLeft;
|
|
601
|
+
e < 0 ? a = r.scrollLeft : e > r.clientWidth - i.width && (a = r.clientWidth - i.width + r.scrollLeft);
|
|
602
|
+
}
|
|
603
|
+
if (d !== "x") {
|
|
604
|
+
let e = s - r.scrollTop;
|
|
605
|
+
e < 0 ? s = r.scrollTop : e > r.clientHeight - i.height && (s = r.clientHeight - i.height + r.scrollTop);
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
b.value = {
|
|
609
|
+
x: a,
|
|
610
|
+
y: s
|
|
611
|
+
}, o?.(b.value, n), w(n);
|
|
612
|
+
}, te = (e) => {
|
|
613
|
+
c(t.disabled) || !C(e) || x.value && (x.value = void 0, y && M(), s?.(b.value, e), w(e));
|
|
614
|
+
};
|
|
615
|
+
if (L) {
|
|
616
|
+
let e = () => ({
|
|
617
|
+
capture: t.capture ?? !0,
|
|
618
|
+
passive: !c(r)
|
|
619
|
+
});
|
|
620
|
+
V(m, "pointerdown", P, e), V(f, "pointermove", ee, e), V(f, ["pointerup", "pointercancel"], te, e);
|
|
621
|
+
}
|
|
622
|
+
return {
|
|
623
|
+
...T(b),
|
|
624
|
+
position: b,
|
|
625
|
+
isDragging: h(() => !!x.value),
|
|
626
|
+
style: h(() => `
|
|
627
|
+
left: ${b.value.x}px;
|
|
628
|
+
top: ${b.value.y}px;
|
|
629
|
+
${y ? "text-wrap: nowrap;" : ""}
|
|
630
|
+
`)
|
|
631
|
+
};
|
|
632
|
+
}
|
|
633
|
+
function q(e, t, n = {}) {
|
|
634
|
+
let { window: r = R, ...i } = n, a, o = /* @__PURE__ */ H(() => r && "ResizeObserver" in r), s = () => {
|
|
635
|
+
a &&= (a.disconnect(), void 0);
|
|
636
|
+
}, l = g(h(() => {
|
|
637
|
+
let t = c(e);
|
|
638
|
+
return Array.isArray(t) ? t.map((e) => B(e)) : [B(t)];
|
|
639
|
+
}), (e) => {
|
|
640
|
+
if (s(), o.value && r) {
|
|
641
|
+
a = new ResizeObserver(t);
|
|
642
|
+
for (let t of e) t && a.observe(t, i);
|
|
643
|
+
}
|
|
644
|
+
}, {
|
|
645
|
+
immediate: !0,
|
|
646
|
+
flush: "post"
|
|
647
|
+
}), u = () => {
|
|
648
|
+
s(), l();
|
|
649
|
+
};
|
|
650
|
+
return M(u), {
|
|
651
|
+
isSupported: o,
|
|
652
|
+
stop: u
|
|
653
|
+
};
|
|
654
|
+
}
|
|
655
|
+
function Re(e, t = {}) {
|
|
656
|
+
let { reset: n = !0, windowResize: r = !0, windowScroll: i = !0, immediate: a = !0, updateTiming: o = "sync" } = t, s = b(0), c = b(0), l = b(0), u = b(0), d = b(0), f = b(0), p = b(0), m = b(0);
|
|
657
|
+
function h() {
|
|
658
|
+
let t = B(e);
|
|
659
|
+
if (!t) {
|
|
660
|
+
n && (s.value = 0, c.value = 0, l.value = 0, u.value = 0, d.value = 0, f.value = 0, p.value = 0, m.value = 0);
|
|
661
|
+
return;
|
|
662
|
+
}
|
|
663
|
+
let r = t.getBoundingClientRect();
|
|
664
|
+
s.value = r.height, c.value = r.bottom, l.value = r.left, u.value = r.right, d.value = r.top, f.value = r.width, p.value = r.x, m.value = r.y;
|
|
665
|
+
}
|
|
666
|
+
function _() {
|
|
667
|
+
o === "sync" ? h() : o === "next-frame" && requestAnimationFrame(() => h());
|
|
668
|
+
}
|
|
669
|
+
return q(e, _), g(() => B(e), (e) => !e && _()), U(e, _, { attributeFilter: ["style", "class"] }), i && V("scroll", _, {
|
|
670
|
+
capture: !0,
|
|
671
|
+
passive: !0
|
|
672
|
+
}), r && V("resize", _, { passive: !0 }), I(() => {
|
|
673
|
+
a && _();
|
|
674
|
+
}), {
|
|
675
|
+
height: s,
|
|
676
|
+
bottom: c,
|
|
677
|
+
left: l,
|
|
678
|
+
right: u,
|
|
679
|
+
top: d,
|
|
680
|
+
width: f,
|
|
681
|
+
x: p,
|
|
682
|
+
y: m,
|
|
683
|
+
update: _
|
|
684
|
+
};
|
|
685
|
+
}
|
|
686
|
+
function ze(e, t = {}) {
|
|
687
|
+
let { delayEnter: n = 0, delayLeave: r = 0, triggerOnRemoval: i = !1, window: a = R } = t, o = b(!1), s, c = (e) => {
|
|
688
|
+
let t = e ? n : r;
|
|
689
|
+
s &&= (clearTimeout(s), void 0), t ? s = setTimeout(() => o.value = e, t) : o.value = e;
|
|
690
|
+
};
|
|
691
|
+
return a ? (V(e, "mouseenter", () => c(!0), { passive: !0 }), V(e, "mouseleave", () => c(!1), { passive: !0 }), i && _e(h(() => B(e)), () => c(!1)), o) : o;
|
|
692
|
+
}
|
|
693
|
+
function Be(e, t = {
|
|
694
|
+
width: 0,
|
|
695
|
+
height: 0
|
|
696
|
+
}, n = {}) {
|
|
697
|
+
let { window: r = R, box: i = "content-box" } = n, a = h(() => {
|
|
698
|
+
var t;
|
|
699
|
+
return (t = B(e)) == null || (t = t.namespaceURI) == null ? void 0 : t.includes("svg");
|
|
700
|
+
}), o = b(t.width), s = b(t.height), { stop: c } = q(e, ([t]) => {
|
|
701
|
+
let n = i === "border-box" ? t.borderBoxSize : i === "content-box" ? t.contentBoxSize : t.devicePixelContentBoxSize;
|
|
702
|
+
if (r && a.value) {
|
|
703
|
+
let t = B(e);
|
|
704
|
+
if (t) {
|
|
705
|
+
let e = t.getBoundingClientRect();
|
|
706
|
+
o.value = e.width, s.value = e.height;
|
|
707
|
+
}
|
|
708
|
+
} else if (n) {
|
|
709
|
+
let e = P(n);
|
|
710
|
+
o.value = e.reduce((e, { inlineSize: t }) => e + t, 0), s.value = e.reduce((e, { blockSize: t }) => e + t, 0);
|
|
711
|
+
} else o.value = t.contentRect.width, s.value = t.contentRect.height;
|
|
712
|
+
}, n);
|
|
713
|
+
I(() => {
|
|
714
|
+
let n = B(e);
|
|
715
|
+
if (n && "offsetWidth" in n) {
|
|
716
|
+
if (i === "content-box" && r) {
|
|
717
|
+
let e = r.getComputedStyle(n), t = Number.parseFloat(e.paddingLeft) + Number.parseFloat(e.paddingRight), i = Number.parseFloat(e.paddingTop) + Number.parseFloat(e.paddingBottom), a = Number.parseFloat(e.borderLeftWidth) + Number.parseFloat(e.borderRightWidth), c = Number.parseFloat(e.borderTopWidth) + Number.parseFloat(e.borderBottomWidth);
|
|
718
|
+
o.value = n.offsetWidth - t - a, s.value = n.offsetHeight - i - c;
|
|
719
|
+
} else o.value = n.offsetWidth, s.value = n.offsetHeight;
|
|
720
|
+
} else n && (o.value = t.width, s.value = t.height);
|
|
721
|
+
});
|
|
722
|
+
let l = g(() => B(e), (e) => {
|
|
723
|
+
o.value = e ? t.width : 0, s.value = e ? t.height : 0;
|
|
724
|
+
});
|
|
725
|
+
function u() {
|
|
726
|
+
c(), l();
|
|
727
|
+
}
|
|
728
|
+
return {
|
|
729
|
+
width: o,
|
|
730
|
+
height: s,
|
|
731
|
+
stop: u
|
|
732
|
+
};
|
|
733
|
+
}
|
|
734
|
+
function Ve(e, t, n = {}) {
|
|
735
|
+
let { root: r, rootMargin: i, threshold: a = 0, window: o = R, immediate: s = !0 } = n, l = /* @__PURE__ */ H(() => o && "IntersectionObserver" in o), u = h(() => P(c(e)).map(B).filter(le)), d = D, f = b(s), p = l.value ? g(() => [
|
|
736
|
+
u.value,
|
|
737
|
+
B(r),
|
|
738
|
+
c(i),
|
|
739
|
+
f.value
|
|
740
|
+
], ([e, n, r]) => {
|
|
741
|
+
if (d(), !f.value || !e.length) return;
|
|
742
|
+
let i = new IntersectionObserver(t, {
|
|
743
|
+
root: B(n),
|
|
744
|
+
rootMargin: r,
|
|
745
|
+
threshold: a
|
|
746
|
+
});
|
|
747
|
+
e.forEach((e) => e && i.observe(e)), d = () => {
|
|
748
|
+
i.disconnect(), d = D;
|
|
749
|
+
};
|
|
750
|
+
}, {
|
|
751
|
+
immediate: s,
|
|
752
|
+
flush: "post"
|
|
753
|
+
}) : D, m = () => {
|
|
754
|
+
d(), p(), f.value = !1;
|
|
755
|
+
};
|
|
756
|
+
return M(m), {
|
|
757
|
+
isSupported: l,
|
|
758
|
+
isActive: f,
|
|
759
|
+
pause() {
|
|
760
|
+
d(), f.value = !1;
|
|
761
|
+
},
|
|
762
|
+
resume() {
|
|
763
|
+
f.value = !0;
|
|
764
|
+
},
|
|
765
|
+
stop: m
|
|
766
|
+
};
|
|
767
|
+
}
|
|
768
|
+
function He(e, t = {}) {
|
|
769
|
+
let { window: n = R, scrollTarget: r, threshold: i = 0, rootMargin: a, once: o = !1, initialValue: s = !1 } = t, c = b(s), l = Ve(e, (e) => {
|
|
770
|
+
let t = c.value, n = 0;
|
|
771
|
+
for (let r of e) r.time >= n && (n = r.time, t = r.isIntersecting);
|
|
772
|
+
c.value = t, o && re(c, () => {
|
|
773
|
+
l.stop();
|
|
774
|
+
});
|
|
775
|
+
}, {
|
|
776
|
+
root: r,
|
|
777
|
+
window: n,
|
|
778
|
+
threshold: i,
|
|
779
|
+
rootMargin: a
|
|
780
|
+
});
|
|
781
|
+
return t.controls ? {
|
|
782
|
+
...l,
|
|
783
|
+
isVisible: c
|
|
784
|
+
} : c;
|
|
785
|
+
}
|
|
786
|
+
var J = /* @__PURE__ */ new Map();
|
|
787
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
788
|
+
function Ue(e) {
|
|
789
|
+
function t(t) {
|
|
790
|
+
let n = J.get(e) || /* @__PURE__ */ new Set();
|
|
791
|
+
n.add(t), J.set(e, n);
|
|
792
|
+
let i = () => r(t);
|
|
793
|
+
return M(i), i;
|
|
794
|
+
}
|
|
795
|
+
function n(e) {
|
|
796
|
+
function n(...t) {
|
|
797
|
+
r(n), e(...t);
|
|
798
|
+
}
|
|
799
|
+
return t(n);
|
|
800
|
+
}
|
|
801
|
+
function r(t) {
|
|
802
|
+
let n = J.get(e);
|
|
803
|
+
n && (n.delete(t), n.size || i());
|
|
804
|
+
}
|
|
805
|
+
function i() {
|
|
806
|
+
J.delete(e);
|
|
807
|
+
}
|
|
808
|
+
function a(t, n) {
|
|
809
|
+
var r;
|
|
810
|
+
(r = J.get(e)) == null || r.forEach((e) => e(t, n));
|
|
811
|
+
}
|
|
812
|
+
return {
|
|
813
|
+
on: t,
|
|
814
|
+
once: n,
|
|
815
|
+
off: r,
|
|
816
|
+
emit: a,
|
|
817
|
+
reset: i
|
|
818
|
+
};
|
|
819
|
+
}
|
|
820
|
+
function Y(e) {
|
|
821
|
+
return typeof Window < "u" && e instanceof Window ? e.document.documentElement : typeof Document < "u" && e instanceof Document ? e.documentElement : e;
|
|
822
|
+
}
|
|
823
|
+
var We = 1;
|
|
824
|
+
function Ge(e, t = {}) {
|
|
825
|
+
let { throttle: n = 0, idle: r = 200, onStop: i = D, onScroll: a = D, offset: o = {
|
|
826
|
+
left: 0,
|
|
827
|
+
right: 0,
|
|
828
|
+
top: 0,
|
|
829
|
+
bottom: 0
|
|
830
|
+
}, observe: s = { mutation: !1 }, eventListenerOptions: l = {
|
|
831
|
+
capture: !1,
|
|
832
|
+
passive: !0
|
|
833
|
+
}, behavior: u = "auto", window: d = R, onError: f = (e) => {
|
|
834
|
+
console.error(e);
|
|
835
|
+
} } = t, p = typeof s == "boolean" ? { mutation: s } : s, m = b(0), g = b(0), _ = h({
|
|
836
|
+
get() {
|
|
837
|
+
return m.value;
|
|
838
|
+
},
|
|
839
|
+
set(e) {
|
|
840
|
+
y(e, void 0);
|
|
841
|
+
}
|
|
842
|
+
}), v = h({
|
|
843
|
+
get() {
|
|
844
|
+
return g.value;
|
|
845
|
+
},
|
|
846
|
+
set(e) {
|
|
847
|
+
y(void 0, e);
|
|
848
|
+
}
|
|
849
|
+
});
|
|
850
|
+
function y(t, n) {
|
|
851
|
+
var r, i;
|
|
852
|
+
if (!d) return;
|
|
853
|
+
let a = c(e);
|
|
854
|
+
if (!a) return;
|
|
855
|
+
(r = a instanceof Document ? d.document.body : a) == null || r.scrollTo({
|
|
856
|
+
top: c(n) ?? v.value,
|
|
857
|
+
left: c(t) ?? _.value,
|
|
858
|
+
behavior: c(u)
|
|
859
|
+
});
|
|
860
|
+
let o = (a == null || (i = a.document) == null ? void 0 : i.documentElement) || a?.documentElement || a;
|
|
861
|
+
_ != null && (m.value = o.scrollLeft), v != null && (g.value = o.scrollTop);
|
|
862
|
+
}
|
|
863
|
+
let x = b(!1), S = C({
|
|
864
|
+
left: !0,
|
|
865
|
+
right: !1,
|
|
866
|
+
top: !0,
|
|
867
|
+
bottom: !1
|
|
868
|
+
}), w = C({
|
|
869
|
+
left: !1,
|
|
870
|
+
right: !1,
|
|
871
|
+
top: !1,
|
|
872
|
+
bottom: !1
|
|
873
|
+
}), T = (e) => {
|
|
874
|
+
x.value && (x.value = !1, w.left = !1, w.right = !1, w.top = !1, w.bottom = !1, i(e));
|
|
875
|
+
}, E = O(T, n + r), k = (e) => {
|
|
876
|
+
var t;
|
|
877
|
+
if (!d) return;
|
|
878
|
+
let n = (e == null || (t = e.document) == null ? void 0 : t.documentElement) || e?.documentElement || B(e), { display: r, flexDirection: i, direction: a } = d.getComputedStyle(n), s = a === "rtl" ? -1 : 1, c = n.scrollLeft;
|
|
879
|
+
w.left = c < m.value, w.right = c > m.value;
|
|
880
|
+
let l = Math.abs(c * s) <= (o.left || 0), u = Math.abs(c * s) + n.clientWidth >= n.scrollWidth - (o.right || 0) - We;
|
|
881
|
+
r === "flex" && i === "row-reverse" ? (S.left = u, S.right = l) : (S.left = l, S.right = u), m.value = c;
|
|
882
|
+
let f = n.scrollTop;
|
|
883
|
+
e === d.document && !f && (f = d.document.body.scrollTop), w.top = f < g.value, w.bottom = f > g.value;
|
|
884
|
+
let p = Math.abs(f) <= (o.top || 0), h = Math.abs(f) + n.clientHeight >= n.scrollHeight - (o.bottom || 0) - We;
|
|
885
|
+
r === "flex" && i === "column-reverse" ? (S.top = h, S.bottom = p) : (S.top = p, S.bottom = h), g.value = f;
|
|
886
|
+
}, A = (e) => {
|
|
887
|
+
if (!d) return;
|
|
888
|
+
let t = e.target.documentElement ?? e.target;
|
|
889
|
+
k(t), x.value = !0, E(e), a(e);
|
|
890
|
+
};
|
|
891
|
+
return V(e, "scroll", n ? j(A, n, !0, !1) : A, l), I(() => {
|
|
892
|
+
try {
|
|
893
|
+
let t = c(e);
|
|
894
|
+
if (!t) return;
|
|
895
|
+
k(t);
|
|
896
|
+
} catch (e) {
|
|
897
|
+
f(e);
|
|
898
|
+
}
|
|
899
|
+
}), p?.mutation && e != null && e !== d && e !== document && U(e, () => {
|
|
900
|
+
let t = c(e);
|
|
901
|
+
t && k(t);
|
|
902
|
+
}, {
|
|
903
|
+
attributes: !0,
|
|
904
|
+
childList: !0,
|
|
905
|
+
subtree: !0
|
|
906
|
+
}), V(e, "scrollend", T, l), {
|
|
907
|
+
x: _,
|
|
908
|
+
y: v,
|
|
909
|
+
isScrolling: x,
|
|
910
|
+
arrivedState: S,
|
|
911
|
+
directions: w,
|
|
912
|
+
measure() {
|
|
913
|
+
let t = c(e);
|
|
914
|
+
d && t && k(t);
|
|
915
|
+
}
|
|
916
|
+
};
|
|
917
|
+
}
|
|
918
|
+
function Ke(e, t, n = {}) {
|
|
919
|
+
let { direction: r = "bottom", interval: i = 100, canLoadMore: a = () => !0 } = n, o = C(Ge(e, {
|
|
920
|
+
...n,
|
|
921
|
+
offset: {
|
|
922
|
+
[r]: n.distance ?? 0,
|
|
923
|
+
...n.offset
|
|
924
|
+
}
|
|
925
|
+
})), l = b(), u = h(() => !!l.value), d = h(() => Y(c(e))), f = He(d), p = h(() => d.value ? a(d.value) : !1);
|
|
926
|
+
function m() {
|
|
927
|
+
if (o.measure(), !d.value || !f.value || !p.value || l.value) return;
|
|
928
|
+
let { scrollHeight: e, clientHeight: n, scrollWidth: a, clientWidth: c } = d.value, u = r === "bottom" || r === "top" ? e <= n : a <= c;
|
|
929
|
+
(o.arrivedState[r] || u) && (l.value = Promise.all([t(o), new Promise((e) => setTimeout(e, i))]).finally(() => {
|
|
930
|
+
l.value = null, s(() => m());
|
|
931
|
+
}));
|
|
932
|
+
}
|
|
933
|
+
return N(g(() => [
|
|
934
|
+
o.arrivedState[r],
|
|
935
|
+
f.value,
|
|
936
|
+
p.value
|
|
937
|
+
], m, {
|
|
938
|
+
immediate: !0,
|
|
939
|
+
flush: "post"
|
|
940
|
+
})), {
|
|
941
|
+
isLoading: u,
|
|
942
|
+
reset() {
|
|
943
|
+
s(() => m());
|
|
944
|
+
}
|
|
945
|
+
};
|
|
946
|
+
}
|
|
947
|
+
function qe(e, t, n = {}) {
|
|
948
|
+
let { window: r = R } = n;
|
|
949
|
+
return Fe(e, t, r?.localStorage, n);
|
|
950
|
+
}
|
|
951
|
+
var Je = {
|
|
952
|
+
page: (e) => [e.pageX, e.pageY],
|
|
953
|
+
client: (e) => [e.clientX, e.clientY],
|
|
954
|
+
screen: (e) => [e.screenX, e.screenY],
|
|
955
|
+
movement: (e) => e instanceof MouseEvent ? [e.movementX, e.movementY] : null
|
|
956
|
+
};
|
|
957
|
+
function Ye(e = {}) {
|
|
958
|
+
let { type: t = "page", touch: n = !0, resetOnTouchEnds: r = !1, initialValue: i = {
|
|
959
|
+
x: 0,
|
|
960
|
+
y: 0
|
|
961
|
+
}, window: a = R, target: o = a, scroll: s = !0, eventFilter: c } = e, l = null, u = 0, d = 0, f = b(i.x), p = b(i.y), m = b(null), h = typeof t == "function" ? t : Je[t], g = (e) => {
|
|
962
|
+
let t = h(e);
|
|
963
|
+
l = e, t && ([f.value, p.value] = t, m.value = "mouse"), a && (u = a.scrollX, d = a.scrollY);
|
|
964
|
+
}, _ = (e) => {
|
|
965
|
+
if (e.touches.length > 0) {
|
|
966
|
+
let t = h(e.touches[0]);
|
|
967
|
+
t && ([f.value, p.value] = t, m.value = "touch");
|
|
968
|
+
}
|
|
969
|
+
}, v = () => {
|
|
970
|
+
if (!l || !a) return;
|
|
971
|
+
let e = h(l);
|
|
972
|
+
l instanceof MouseEvent && e && (f.value = e[0] + a.scrollX - u, p.value = e[1] + a.scrollY - d);
|
|
973
|
+
}, y = () => {
|
|
974
|
+
f.value = i.x, p.value = i.y;
|
|
975
|
+
}, x = c ? (e) => c(() => g(e), {}) : (e) => g(e), S = c ? (e) => c(() => _(e), {}) : (e) => _(e), C = c ? () => c(() => v(), {}) : () => v();
|
|
976
|
+
if (o) {
|
|
977
|
+
let e = { passive: !0 };
|
|
978
|
+
V(o, ["mousemove", "dragover"], x, e), n && t !== "movement" && (V(o, ["touchstart", "touchmove"], S, e), r && V(o, "touchend", y, e)), s && t === "page" && V(a, "scroll", C, e);
|
|
979
|
+
}
|
|
980
|
+
return {
|
|
981
|
+
x: f,
|
|
982
|
+
y: p,
|
|
983
|
+
sourceType: m
|
|
984
|
+
};
|
|
985
|
+
}
|
|
986
|
+
function Xe(e, t = {}) {
|
|
987
|
+
let { windowResize: n = !0, windowScroll: r = !0, handleOutside: i = !0, window: a = R } = t, o = t.type || "page", { x: s, y: c, sourceType: l } = Ye(t), u = b(e ?? a?.document.body), d = b(0), f = b(0), p = b(0), m = b(0), h = b(0), _ = b(0), v = b(!0);
|
|
988
|
+
function y() {
|
|
989
|
+
if (!a) return;
|
|
990
|
+
let e = B(u);
|
|
991
|
+
if (!(!e || !(e instanceof Element))) for (let t of e.getClientRects()) {
|
|
992
|
+
let { left: e, top: n, width: r, height: l } = t;
|
|
993
|
+
p.value = e + (o === "page" ? a.pageXOffset : 0), m.value = n + (o === "page" ? a.pageYOffset : 0), h.value = l, _.value = r;
|
|
994
|
+
let u = s.value - p.value, g = c.value - m.value;
|
|
995
|
+
if (v.value = r === 0 || l === 0 || u < 0 || g < 0 || u > r || g > l, (i || !v.value) && (d.value = u, f.value = g), !v.value) break;
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
let x = [];
|
|
999
|
+
function S() {
|
|
1000
|
+
x.forEach((e) => e()), x.length = 0;
|
|
1001
|
+
}
|
|
1002
|
+
if (I(() => {
|
|
1003
|
+
y();
|
|
1004
|
+
}), a) {
|
|
1005
|
+
let { stop: e } = q(u, y), { stop: t } = U(u, y, { attributeFilter: ["style", "class"] }), i = g([
|
|
1006
|
+
u,
|
|
1007
|
+
s,
|
|
1008
|
+
c
|
|
1009
|
+
], y);
|
|
1010
|
+
x.push(e, t, i), V(document, "mouseleave", () => v.value = !0, { passive: !0 }), r && x.push(V("scroll", y, {
|
|
1011
|
+
capture: !0,
|
|
1012
|
+
passive: !0
|
|
1013
|
+
})), n && x.push(V("resize", y, { passive: !0 }));
|
|
1014
|
+
}
|
|
1015
|
+
return {
|
|
1016
|
+
x: s,
|
|
1017
|
+
y: c,
|
|
1018
|
+
sourceType: l,
|
|
1019
|
+
elementX: d,
|
|
1020
|
+
elementY: f,
|
|
1021
|
+
elementPositionX: p,
|
|
1022
|
+
elementPositionY: m,
|
|
1023
|
+
elementHeight: h,
|
|
1024
|
+
elementWidth: _,
|
|
1025
|
+
isOutside: v,
|
|
1026
|
+
stop: S
|
|
1027
|
+
};
|
|
1028
|
+
}
|
|
1029
|
+
function Ze(e = {}) {
|
|
1030
|
+
let { touch: t = !0, drag: n = !0, capture: r = !1, initialValue: i = !1, window: a = R } = e, o = b(i), s = b(null);
|
|
1031
|
+
if (!a) return {
|
|
1032
|
+
pressed: o,
|
|
1033
|
+
sourceType: s
|
|
1034
|
+
};
|
|
1035
|
+
let c = (t) => (n) => {
|
|
1036
|
+
var r;
|
|
1037
|
+
o.value = !0, s.value = t, (r = e.onPressed) == null || r.call(e, n);
|
|
1038
|
+
}, l = (t) => {
|
|
1039
|
+
var n;
|
|
1040
|
+
o.value = !1, s.value = null, (n = e.onReleased) == null || n.call(e, t);
|
|
1041
|
+
}, u = h(() => B(e.target) || a), d = {
|
|
1042
|
+
passive: !0,
|
|
1043
|
+
capture: r
|
|
1044
|
+
};
|
|
1045
|
+
return V(u, "mousedown", c("mouse"), d), V(a, "mouseleave", l, d), V(a, "mouseup", l, d), n && (V(u, "dragstart", c("mouse"), d), V(a, "drop", l, d), V(a, "dragend", l, d)), t && (V(u, "touchstart", c("touch"), d), V(a, "touchend", l, d), V(a, "touchcancel", l, d)), {
|
|
1046
|
+
pressed: o,
|
|
1047
|
+
sourceType: s
|
|
1048
|
+
};
|
|
1049
|
+
}
|
|
1050
|
+
function Qe(e) {
|
|
1051
|
+
if ("interval" in e || "immediate" in e) {
|
|
1052
|
+
let { interval: t = "requestAnimationFrame", immediate: n = !0 } = e;
|
|
1053
|
+
return t === "requestAnimationFrame" ? (e) => Ce(e, { immediate: n }) : (n) => A(n, t, e);
|
|
1054
|
+
}
|
|
1055
|
+
return Ce;
|
|
1056
|
+
}
|
|
1057
|
+
function $e(e = {}) {
|
|
1058
|
+
let { controls: t = !1, scheduler: n = Qe(e) } = e, r = b(/* @__PURE__ */ new Date()), i = n(() => r.value = /* @__PURE__ */ new Date());
|
|
1059
|
+
return t ? {
|
|
1060
|
+
now: r,
|
|
1061
|
+
...i
|
|
1062
|
+
} : r;
|
|
1063
|
+
}
|
|
1064
|
+
function et(e = {}) {
|
|
1065
|
+
let { window: t = R } = e, n = /* @__PURE__ */ H(() => t && "screen" in t && "orientation" in t.screen), r = n.value ? t.screen.orientation : {}, i = b(r.type), a = b(r.angle || 0);
|
|
1066
|
+
return n.value && V(t, "orientationchange", () => {
|
|
1067
|
+
i.value = r.type, a.value = r.angle;
|
|
1068
|
+
}, { passive: !0 }), {
|
|
1069
|
+
isSupported: n,
|
|
1070
|
+
orientation: i,
|
|
1071
|
+
angle: a,
|
|
1072
|
+
lockOrientation: (e) => n.value && typeof r.lock == "function" ? r.lock(e) : Promise.reject(/* @__PURE__ */ Error("Not supported")),
|
|
1073
|
+
unlockOrientation: () => {
|
|
1074
|
+
n.value && typeof r.unlock == "function" && r.unlock();
|
|
1075
|
+
}
|
|
1076
|
+
};
|
|
1077
|
+
}
|
|
1078
|
+
function tt(e, t = {}) {
|
|
1079
|
+
let r = ae(e), { threshold: i = 50, onSwipe: a, onSwipeEnd: o, onSwipeStart: s, disableTextSelect: c = !1 } = t, l = C({
|
|
1080
|
+
x: 0,
|
|
1081
|
+
y: 0
|
|
1082
|
+
}), u = (e, t) => {
|
|
1083
|
+
l.x = e, l.y = t;
|
|
1084
|
+
}, f = C({
|
|
1085
|
+
x: 0,
|
|
1086
|
+
y: 0
|
|
1087
|
+
}), p = (e, t) => {
|
|
1088
|
+
f.x = e, f.y = t;
|
|
1089
|
+
}, m = h(() => l.x - f.x), g = h(() => l.y - f.y), { max: _, abs: v } = Math, y = h(() => _(v(m.value), v(g.value)) >= i), x = b(!1), S = b(!1), w = h(() => y.value ? v(m.value) > v(g.value) ? m.value > 0 ? "left" : "right" : g.value > 0 ? "up" : "down" : "none"), T = (e) => {
|
|
1090
|
+
let n = e.buttons === 0, r = e.buttons === 1;
|
|
1091
|
+
return t.pointerTypes?.includes(e.pointerType) ?? (n || r) ?? !0;
|
|
1092
|
+
}, E = { passive: !0 }, D = [
|
|
1093
|
+
V(e, "pointerdown", (e) => {
|
|
1094
|
+
if (!T(e)) return;
|
|
1095
|
+
S.value = !0, e.target?.setPointerCapture(e.pointerId);
|
|
1096
|
+
let { clientX: t, clientY: n } = e;
|
|
1097
|
+
u(t, n), p(t, n), s?.(e);
|
|
1098
|
+
}, E),
|
|
1099
|
+
V(e, "pointermove", (e) => {
|
|
1100
|
+
if (!T(e) || !S.value) return;
|
|
1101
|
+
let { clientX: t, clientY: n } = e;
|
|
1102
|
+
p(t, n), !x.value && y.value && (x.value = !0), x.value && a?.(e);
|
|
1103
|
+
}, E),
|
|
1104
|
+
V(e, ["pointerup", "pointercancel"], (e) => {
|
|
1105
|
+
T(e) && (x.value && o?.(e, w.value), S.value = !1, x.value = !1);
|
|
1106
|
+
}, E)
|
|
1107
|
+
];
|
|
1108
|
+
return I(() => {
|
|
1109
|
+
var e;
|
|
1110
|
+
if ((e = r.value) == null || (e = e.style) == null || e.setProperty("touch-action", "pan-y"), c) {
|
|
1111
|
+
var t, n, i;
|
|
1112
|
+
(t = r.value) == null || (t = t.style) == null || t.setProperty("-webkit-user-select", "none"), (n = r.value) == null || (n = n.style) == null || n.setProperty("-ms-user-select", "none"), (i = r.value) == null || (i = i.style) == null || i.setProperty("user-select", "none");
|
|
1113
|
+
}
|
|
1114
|
+
}), {
|
|
1115
|
+
isSwiping: n(x),
|
|
1116
|
+
direction: n(w),
|
|
1117
|
+
posStart: d(l),
|
|
1118
|
+
posEnd: d(f),
|
|
1119
|
+
distanceX: m,
|
|
1120
|
+
distanceY: g,
|
|
1121
|
+
stop: () => D.forEach((e) => e())
|
|
1122
|
+
};
|
|
1123
|
+
}
|
|
1124
|
+
function nt(e) {
|
|
1125
|
+
let t = window.getComputedStyle(e);
|
|
1126
|
+
if (t.overflowX === "scroll" || t.overflowY === "scroll" || t.overflowX === "auto" && e.clientWidth < e.scrollWidth || t.overflowY === "auto" && e.clientHeight < e.scrollHeight) return !0;
|
|
1127
|
+
{
|
|
1128
|
+
let t = e.parentNode;
|
|
1129
|
+
return !t || t.tagName === "BODY" ? !1 : nt(t);
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
function rt(e) {
|
|
1133
|
+
let t = e || window.event, n = t.target;
|
|
1134
|
+
return nt(n) ? !1 : t.touches.length > 1 || (t.preventDefault && t.preventDefault(), !1);
|
|
1135
|
+
}
|
|
1136
|
+
var X = /* @__PURE__ */ new WeakMap();
|
|
1137
|
+
function it(e, t = !1) {
|
|
1138
|
+
let n = b(t), r = null, i = "";
|
|
1139
|
+
g(ae(e), (e) => {
|
|
1140
|
+
let t = Y(c(e));
|
|
1141
|
+
if (t) {
|
|
1142
|
+
let e = t;
|
|
1143
|
+
if (X.get(e) || X.set(e, e.style.overflow), e.style.overflow !== "hidden" && (i = e.style.overflow), e.style.overflow === "hidden") return n.value = !0;
|
|
1144
|
+
if (n.value) return e.style.overflow = "hidden";
|
|
1145
|
+
}
|
|
1146
|
+
}, { immediate: !0 });
|
|
1147
|
+
let a = () => {
|
|
1148
|
+
let t = Y(c(e));
|
|
1149
|
+
!t || n.value || (F && (r = V(t, "touchmove", (e) => {
|
|
1150
|
+
rt(e);
|
|
1151
|
+
}, { passive: !1 })), t.style.overflow = "hidden", n.value = !0);
|
|
1152
|
+
}, o = () => {
|
|
1153
|
+
let t = Y(c(e));
|
|
1154
|
+
!t || !n.value || (F && r?.(), t.style.overflow = i, X.delete(t), n.value = !1);
|
|
1155
|
+
};
|
|
1156
|
+
return M(o), h({
|
|
1157
|
+
get() {
|
|
1158
|
+
return n.value;
|
|
1159
|
+
},
|
|
1160
|
+
set(e) {
|
|
1161
|
+
e ? a() : o();
|
|
1162
|
+
}
|
|
1163
|
+
});
|
|
1164
|
+
}
|
|
1165
|
+
function at(e, t, n = {}) {
|
|
1166
|
+
let { window: r = R } = n;
|
|
1167
|
+
return Fe(e, t, r?.sessionStorage, n);
|
|
1168
|
+
}
|
|
1169
|
+
function ot(e, t = {}) {
|
|
1170
|
+
let { threshold: n = 50, onSwipe: r, onSwipeEnd: i, onSwipeStart: a, passive: o = !0 } = t, s = C({
|
|
1171
|
+
x: 0,
|
|
1172
|
+
y: 0
|
|
1173
|
+
}), c = C({
|
|
1174
|
+
x: 0,
|
|
1175
|
+
y: 0
|
|
1176
|
+
}), l = h(() => s.x - c.x), u = h(() => s.y - c.y), { max: d, abs: f } = Math, p = h(() => d(f(l.value), f(u.value)) >= n), m = b(!1), g = h(() => p.value ? f(l.value) > f(u.value) ? l.value > 0 ? "left" : "right" : u.value > 0 ? "up" : "down" : "none"), _ = (e) => [e.touches[0].clientX, e.touches[0].clientY], v = (e, t) => {
|
|
1177
|
+
s.x = e, s.y = t;
|
|
1178
|
+
}, y = (e, t) => {
|
|
1179
|
+
c.x = e, c.y = t;
|
|
1180
|
+
}, x = {
|
|
1181
|
+
passive: o,
|
|
1182
|
+
capture: !o
|
|
1183
|
+
}, S = [
|
|
1184
|
+
V(e, "touchstart", (e) => {
|
|
1185
|
+
if (e.touches.length !== 1) return;
|
|
1186
|
+
let [t, n] = _(e);
|
|
1187
|
+
v(t, n), y(t, n), a?.(e);
|
|
1188
|
+
}, x),
|
|
1189
|
+
V(e, "touchmove", (e) => {
|
|
1190
|
+
if (e.touches.length !== 1) return;
|
|
1191
|
+
let [t, n] = _(e);
|
|
1192
|
+
y(t, n), x.capture && !x.passive && Math.abs(l.value) > Math.abs(u.value) && e.preventDefault(), !m.value && p.value && (m.value = !0), m.value && r?.(e);
|
|
1193
|
+
}, x),
|
|
1194
|
+
V(e, ["touchend", "touchcancel"], (e) => {
|
|
1195
|
+
m.value && i?.(e, g.value), m.value = !1;
|
|
1196
|
+
}, x)
|
|
1197
|
+
];
|
|
1198
|
+
return {
|
|
1199
|
+
isSwiping: m,
|
|
1200
|
+
direction: g,
|
|
1201
|
+
coordsStart: s,
|
|
1202
|
+
coordsEnd: c,
|
|
1203
|
+
lengthX: l,
|
|
1204
|
+
lengthY: u,
|
|
1205
|
+
stop: () => S.forEach((e) => e())
|
|
1206
|
+
};
|
|
1207
|
+
}
|
|
1208
|
+
var st = [
|
|
1209
|
+
{
|
|
1210
|
+
max: 6e4,
|
|
1211
|
+
value: 1e3,
|
|
1212
|
+
name: "second"
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
max: 276e4,
|
|
1216
|
+
value: 6e4,
|
|
1217
|
+
name: "minute"
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
max: 72e6,
|
|
1221
|
+
value: 36e5,
|
|
1222
|
+
name: "hour"
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
max: 5184e5,
|
|
1226
|
+
value: 864e5,
|
|
1227
|
+
name: "day"
|
|
1228
|
+
},
|
|
1229
|
+
{
|
|
1230
|
+
max: 24192e5,
|
|
1231
|
+
value: 6048e5,
|
|
1232
|
+
name: "week"
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
max: 28512e6,
|
|
1236
|
+
value: 2592e6,
|
|
1237
|
+
name: "month"
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
max: Infinity,
|
|
1241
|
+
value: 31536e6,
|
|
1242
|
+
name: "year"
|
|
1243
|
+
}
|
|
1244
|
+
], ct = {
|
|
1245
|
+
justNow: "just now",
|
|
1246
|
+
past: (e) => /\d/.test(e) ? `${e} ago` : e,
|
|
1247
|
+
future: (e) => /\d/.test(e) ? `in ${e}` : e,
|
|
1248
|
+
month: (e, t) => e === 1 ? t ? "last month" : "next month" : `${e} month${e > 1 ? "s" : ""}`,
|
|
1249
|
+
year: (e, t) => e === 1 ? t ? "last year" : "next year" : `${e} year${e > 1 ? "s" : ""}`,
|
|
1250
|
+
day: (e, t) => e === 1 ? t ? "yesterday" : "tomorrow" : `${e} day${e > 1 ? "s" : ""}`,
|
|
1251
|
+
week: (e, t) => e === 1 ? t ? "last week" : "next week" : `${e} week${e > 1 ? "s" : ""}`,
|
|
1252
|
+
hour: (e) => `${e} hour${e > 1 ? "s" : ""}`,
|
|
1253
|
+
minute: (e) => `${e} minute${e > 1 ? "s" : ""}`,
|
|
1254
|
+
second: (e) => `${e} second${e > 1 ? "s" : ""}`,
|
|
1255
|
+
invalid: ""
|
|
1256
|
+
};
|
|
1257
|
+
function lt(e) {
|
|
1258
|
+
return e.toISOString().slice(0, 10);
|
|
1259
|
+
}
|
|
1260
|
+
function ut(e, t = {}, n = Date.now()) {
|
|
1261
|
+
let { max: r, messages: i = ct, fullDateFormatter: a = lt, units: o = st, showSecond: s = !1, rounding: c = "round" } = t, l = typeof c == "number" ? (e) => +e.toFixed(c) : Math[c], u = n - +e, d = Math.abs(u);
|
|
1262
|
+
function f(e, t) {
|
|
1263
|
+
return l(Math.abs(e) / t.value);
|
|
1264
|
+
}
|
|
1265
|
+
function p(e, t) {
|
|
1266
|
+
let n = f(e, t), r = e > 0, i = m(t.name, n, r);
|
|
1267
|
+
return m(r ? "past" : "future", i, r);
|
|
1268
|
+
}
|
|
1269
|
+
function m(e, t, n) {
|
|
1270
|
+
let r = i[e];
|
|
1271
|
+
return typeof r == "function" ? r(t, n) : r.replace("{0}", t.toString());
|
|
1272
|
+
}
|
|
1273
|
+
if (d < 6e4 && !s) return i.justNow;
|
|
1274
|
+
if (typeof r == "number" && d > r) return a(new Date(e));
|
|
1275
|
+
if (typeof r == "string") {
|
|
1276
|
+
let t = o.find((e) => e.name === r)?.max;
|
|
1277
|
+
if (t && d > t) return a(new Date(e));
|
|
1278
|
+
}
|
|
1279
|
+
for (let [e, t] of o.entries()) {
|
|
1280
|
+
if (f(u, t) <= 0 && o[e - 1]) return p(u, o[e - 1]);
|
|
1281
|
+
if (d < t.max) return p(u, t);
|
|
1282
|
+
}
|
|
1283
|
+
return i.invalid;
|
|
1284
|
+
}
|
|
1285
|
+
function dt(e = {}) {
|
|
1286
|
+
let { window: t = R, initialWidth: n = Infinity, initialHeight: r = Infinity, listenOrientation: i = !0, includeScrollbar: a = !0, type: o = "inner" } = e, s = b(n), c = b(r), l = () => {
|
|
1287
|
+
if (t) {
|
|
1288
|
+
if (o === "outer") s.value = t.outerWidth, c.value = t.outerHeight;
|
|
1289
|
+
else if (o === "visual" && t.visualViewport) {
|
|
1290
|
+
let { width: e, height: n, scale: r } = t.visualViewport;
|
|
1291
|
+
s.value = Math.round(e * r), c.value = Math.round(n * r);
|
|
1292
|
+
} else a ? (s.value = t.innerWidth, c.value = t.innerHeight) : (s.value = t.document.documentElement.clientWidth, c.value = t.document.documentElement.clientHeight);
|
|
1293
|
+
}
|
|
1294
|
+
};
|
|
1295
|
+
l(), I(l);
|
|
1296
|
+
let u = { passive: !0 };
|
|
1297
|
+
return V("resize", l, u), t && o === "visual" && t.visualViewport && V(t.visualViewport, "resize", l, u), i && g(Ee("(orientation: portrait)"), () => l()), {
|
|
1298
|
+
width: s,
|
|
1299
|
+
height: c
|
|
1300
|
+
};
|
|
1301
|
+
}
|
|
1302
|
+
//#endregion
|
|
1303
|
+
//#region src/composables/useLogger.ts
|
|
1304
|
+
function Z(e) {
|
|
1305
|
+
if (!e) {
|
|
1306
|
+
let t = l()?.type;
|
|
1307
|
+
e = t?.__name ?? t?.name ?? "UI";
|
|
1308
|
+
}
|
|
1309
|
+
return new se(e);
|
|
1310
|
+
}
|
|
1311
|
+
//#endregion
|
|
1312
|
+
//#region src/composables/useElectron.ts
|
|
1313
|
+
var ft = typeof window < "u" ? window.electron : void 0, pt = ft !== void 0;
|
|
1314
|
+
function mt() {
|
|
1315
|
+
return {
|
|
1316
|
+
isElectronApp: pt,
|
|
1317
|
+
electron: ft
|
|
1318
|
+
};
|
|
1319
|
+
}
|
|
1320
|
+
//#endregion
|
|
1321
|
+
//#region node_modules/primevue/card/style/index.mjs
|
|
1322
|
+
var ht = t.extend({
|
|
1323
|
+
name: "card",
|
|
1324
|
+
style: "\n .p-card {\n background: dt('card.background');\n color: dt('card.color');\n box-shadow: dt('card.shadow');\n border-radius: dt('card.border.radius');\n display: flex;\n flex-direction: column;\n }\n\n .p-card-caption {\n display: flex;\n flex-direction: column;\n gap: dt('card.caption.gap');\n }\n\n .p-card-body {\n padding: dt('card.body.padding');\n display: flex;\n flex-direction: column;\n gap: dt('card.body.gap');\n }\n\n .p-card-title {\n font-size: dt('card.title.font.size');\n font-weight: dt('card.title.font.weight');\n }\n\n .p-card-subtitle {\n color: dt('card.subtitle.color');\n }\n",
|
|
1325
|
+
classes: {
|
|
1326
|
+
root: "p-card p-component",
|
|
1327
|
+
header: "p-card-header",
|
|
1328
|
+
body: "p-card-body",
|
|
1329
|
+
caption: "p-card-caption",
|
|
1330
|
+
title: "p-card-title",
|
|
1331
|
+
subtitle: "p-card-subtitle",
|
|
1332
|
+
content: "p-card-content",
|
|
1333
|
+
footer: "p-card-footer"
|
|
1334
|
+
}
|
|
1335
|
+
}), gt = {
|
|
1336
|
+
name: "Card",
|
|
1337
|
+
extends: {
|
|
1338
|
+
name: "BaseCard",
|
|
1339
|
+
extends: e,
|
|
1340
|
+
style: ht,
|
|
1341
|
+
provide: function() {
|
|
1342
|
+
return {
|
|
1343
|
+
$pcCard: this,
|
|
1344
|
+
$parentInstance: this
|
|
1345
|
+
};
|
|
1346
|
+
}
|
|
1347
|
+
},
|
|
1348
|
+
inheritAttrs: !1
|
|
1349
|
+
};
|
|
1350
|
+
function _t(e, t, n, r, s, c) {
|
|
1351
|
+
return i(), _("div", o({ class: e.cx("root") }, e.ptmi("root")), [e.$slots.header ? (i(), _("div", o({
|
|
1352
|
+
key: 0,
|
|
1353
|
+
class: e.cx("header")
|
|
1354
|
+
}, e.ptm("header")), [a(e.$slots, "header")], 16)) : f("", !0), y("div", o({ class: e.cx("body") }, e.ptm("body")), [
|
|
1355
|
+
e.$slots.title || e.$slots.subtitle ? (i(), _("div", o({
|
|
1356
|
+
key: 0,
|
|
1357
|
+
class: e.cx("caption")
|
|
1358
|
+
}, e.ptm("caption")), [e.$slots.title ? (i(), _("div", o({
|
|
1359
|
+
key: 0,
|
|
1360
|
+
class: e.cx("title")
|
|
1361
|
+
}, e.ptm("title")), [a(e.$slots, "title")], 16)) : f("", !0), e.$slots.subtitle ? (i(), _("div", o({
|
|
1362
|
+
key: 1,
|
|
1363
|
+
class: e.cx("subtitle")
|
|
1364
|
+
}, e.ptm("subtitle")), [a(e.$slots, "subtitle")], 16)) : f("", !0)], 16)) : f("", !0),
|
|
1365
|
+
y("div", o({ class: e.cx("content") }, e.ptm("content")), [a(e.$slots, "content")], 16),
|
|
1366
|
+
e.$slots.footer ? (i(), _("div", o({
|
|
1367
|
+
key: 1,
|
|
1368
|
+
class: e.cx("footer")
|
|
1369
|
+
}, e.ptm("footer")), [a(e.$slots, "footer")], 16)) : f("", !0)
|
|
1370
|
+
], 16)], 16);
|
|
1371
|
+
}
|
|
1372
|
+
gt.render = _t;
|
|
1373
|
+
//#endregion
|
|
1374
|
+
//#region src/common/intercomService.ts
|
|
1375
|
+
var Q = Z(), vt = null;
|
|
1376
|
+
function $() {
|
|
1377
|
+
return vt ??= (async () => ({ plugin: null }))(), vt;
|
|
1378
|
+
}
|
|
1379
|
+
async function yt() {
|
|
1380
|
+
try {
|
|
1381
|
+
let { plugin: e } = await $();
|
|
1382
|
+
if (!e) return;
|
|
1383
|
+
await e.start();
|
|
1384
|
+
} catch (e) {
|
|
1385
|
+
Q.warn("IntercomService.start failed", e);
|
|
1386
|
+
}
|
|
1387
|
+
}
|
|
1388
|
+
async function bt() {
|
|
1389
|
+
try {
|
|
1390
|
+
let { plugin: e } = await $();
|
|
1391
|
+
if (!e) return;
|
|
1392
|
+
await e.stop();
|
|
1393
|
+
} catch (e) {
|
|
1394
|
+
Q.warn("IntercomService.stop failed", e);
|
|
1395
|
+
}
|
|
1396
|
+
}
|
|
1397
|
+
async function xt() {
|
|
1398
|
+
try {
|
|
1399
|
+
let { plugin: e } = await $();
|
|
1400
|
+
return e ? (await e.checkMicrophone()).state : null;
|
|
1401
|
+
} catch (e) {
|
|
1402
|
+
return Q.warn("IntercomService.checkMicrophone failed", e), null;
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
//#endregion
|
|
1406
|
+
export { q as A, qe as C, Ze as D, Xe as E, ot as F, dt as I, Ge as M, it as N, $e as O, at as P, Ve as S, Ye as T, Be as _, mt as a, V as b, fe as c, ye as d, Se as f, ze as g, Re as h, gt as i, et as j, tt as k, ut as l, Le as m, yt as n, Z as o, Oe as p, bt as r, de as s, xt as t, he as u, He as v, Ee as w, Ke as x, Ue as y };
|