@camera.ui/server 0.0.109 → 0.0.110

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.
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/workbox-window.prod.es5-CtK9nkTO.js","assets/vendor-DoIl6acN.js","assets/rolldown-runtime-DAXXjFlN.js","assets/CameraConsole-DGbeilsL.js","assets/useSharedComposables-DjDddcdT.js","assets/vendor-cameraui-B9wC4-mi.js","assets/vendor-core-CBFMCwgj.js","assets/ui-CnzJLu9N.js","assets/useFileDownload-BLbAIlSX.js","assets/api-B8LDDNgZ.js","assets/api-BB9AG_h5.css","assets/cameras-BEBBV7mz.js","assets/useLogsSocket-BnU6ynWU.js","assets/_plugin-vue_export-helper-BDNMzG2s.js","assets/vendor-xterm-BRN-hOYD.js","assets/vendor-xterm-BrP-ENHg.css","assets/useLogsSocket-4F2-d9fa.css","assets/404-CZDMFg2Z.js","assets/home-Dey3bw1P.js","assets/FirstSteps-YNR-3tqt.js","assets/vendor-primevue-DYHQyonV.js","assets/hasPermission-B724PtFJ.js","assets/useCuiDialog-DZvxI8xi.js","assets/close-DuwOOM-P.js","assets/useElectron-mh8HQUAI.js","assets/CuiImage-B3eMhhIS.js","assets/CuiImage-Bxf7z2N4.css","assets/server-BW0jfXav.js","assets/SettingsAccount-C_pQPGoW.js","assets/CuiAvatar-DUucUxIP.js","assets/CuiAvatar-BtMXnhxd.css","assets/face-recognition-D5evlO1d.js","assets/shield-check-ChlSHOnR.js","assets/CuiActionButton-CNTiGrTt.js","assets/copy-16-filled-CZzRMAt_.js","assets/useBiometricCredentials-BGl37Skw.js","assets/vendor-zod-V2qTUMVc.js","assets/users.schema-2wYWhJ9W.js","assets/types-CztXMZ5X.js","assets/CuiDataTable-D9GqApg1.js","assets/arrow-right-outline-CliUt84m.js","assets/CuiDataTable-DWuXg9Zg.css","assets/CuiQRCode-CVHjvjZP.js","assets/theme-B2fORWV9.js","assets/CuiQRCode-BtErH65J.css","assets/auth-Czmir2ST.js","assets/SettingsAccount-Y7hpH8Y3.css","assets/SettingsAppearance-CwPSvzkX.js","assets/locale-hdhgxXOX.js","assets/backup-BcXXJ1y6.js","assets/Cameras-CVID1akl.js","assets/cctv-BsGdaLfw.js","assets/CuiFloatingButton-BLCO4wJw.js","assets/useCuiCameraDrawer-2I0LB3ff.js","assets/CuiSchema-DEYDened.js","assets/check-BMoCATAa.js","assets/CuiSchema--yMBD996.css","assets/plus-Dqgz6pez.js","assets/cameras.schema-CuVLJONJ.js","assets/ring-resize-DQajal-Z.js","assets/plus-BMt5ORD8.js","assets/Cameras-54LaZPN3.css","assets/Camera-By03S83s.js","assets/CuiCameraCard-kI_GNoa7.js","assets/cog-Ce2a8uiA.js","assets/lightbulb-outline-B0CFho4y.js","assets/CuiCameraSnapshot-C33nUgVt.js","assets/types-ByBSoibP.js","assets/CuiMenu-BO2e4LK5.js","assets/CuiMenu-BWUfWLQP.css","assets/play-solid-BOoBnMaN.js","assets/CuiBBoxPlayground-DOcoHCTQ.js","assets/CuiBBoxPlayground-EFkdOBvq.css","assets/vendor-draggabilly-Dl6FWJwx.js","assets/shares-D0r3nTB0.js","assets/CuiCameraCard-BxGmxXxZ.css","assets/download-CY-SlBan.js","assets/routerState-ByP_jZ8E.js","assets/zoom-in-D2zo_jfL.js","assets/CuiCameraPipCard-DehPfhfs.js","assets/CuiCameraPipCard-D3o29_wc.css","assets/Camera-BG8K5bH_.css","assets/Camview-B-Pqm0Fw.js","assets/grid-fill-DBU_n60V.js","assets/vendor-dnd-_zxmhxjM.js","assets/microphone-CAVr4YFv.js","assets/delete-5a2q7_46.js","assets/CuiTopNavbarItem-CqM9AHmU.js","assets/chevron-down-KZwkCQ3v.js","assets/CuiTopNavbarItem-CJqOqVMt.css","assets/vendor-gridstack-DD5uGA3X.js","assets/vendor-gridstack-Rg2RhwAc.css","assets/Camview-Gxca3bvT.css","assets/Recordings-Daf0TCPA.js","assets/view-grid-D39XDBn9.js","assets/view-grid-D04t817d.css","assets/eventIcons-CtTopM6B.js","assets/eventIcons-2hVCNchU.css","assets/CuiTopbarSlot-DbzQRnbt.js","assets/CuiRecordingsGrid-BFHPh2dn.js","assets/CuiRecordingsGrid-lcLty5PV.css","assets/round-alt-arrow-left-bold-C-0SLIa9.js","assets/Recordings-Bt_GlPOK.css","assets/Faces-u9Rxm4Ti.js","assets/plugins-BMys-WCs.js","assets/back-filled-DqCMpeEk.js","assets/Plugins-B7ZOk3ld.js","assets/github-DNzKZdHG.js","assets/search-D-QOrChC.js","assets/CuiPluginCard-Bu_rNdQH.js","assets/terminal-DbYAPed-.js","assets/CuiPluginOAuthButton-Q2CBmZzv.js","assets/cloud-outline-BPAJ6_kc.js","assets/cloud-check-BbqgBLhK.js","assets/trash-fill-Da1v18iA.js","assets/CuiPluginCard-LxNHYHxa.css","assets/Plugins-s1k811lf.css","assets/Plugin-CWjFyBeK.js","assets/bell-ChE83DC8.js","assets/PluginSchema-BcLXAX-Q.js","assets/vendor-markdown-UV_ycMZu.js","assets/vendor-markdown-DtOhvyRx.css","assets/close-circle-ClG7lNzZ.js","assets/Plugin-CHdZvbiP.css","assets/Adminpanel-Cciuxh1q.js","assets/round-restart-alt-bbbi50F4.js","assets/vendor-chart-CBBmwsyM.js","assets/chevron-right-CXZ4SFSg.js","assets/round-restart-alt-fCNtJi_k.css","assets/Config-CfunWNtM.js","assets/Config-JgftUZFe.css","assets/Logs-CpAkrsEJ.js","assets/arrow-left-9W2BpRxA.js","assets/trash-2-CkdsE6jp.js","assets/Terminal-h5vqtN-o.js","assets/settings-uhDSoUhb.js","assets/Terminal-CrOfQJ-O.css","assets/Automations-by_LN5br.js","assets/automation-IpK710bv.js","assets/types-BxFyoO54.js","assets/automations-DVc4ovPU.js","assets/nodeDefinitions-blmt-d7H.js","assets/bell-outline-U3Gb4nI1.js","assets/Automation-CMMDPrn0.js","assets/deviceId-BM0pOHhg.js","assets/automations-C2J4u5Uj.js","assets/CuiBottomSheet-zPb4AI5w.js","assets/CuiBottomSheet-DsjZEdig.css","assets/vendor-vueflow-DSLHUKHF.js","assets/Automation-Csu8t0D7.css","assets/Instances-CWzMYIvB.js","assets/instances-5MeVN25v.js","assets/Workers-xo6c0O5M.js","assets/circular-connection-BTKd-doI.js","assets/Settings-B6lgr4fp.js","assets/Settings-bwLTNAxX.css","assets/Menu-DEyxvA8K.js","assets/power-BcSFRPtI.js","assets/information-outline-ChTb2u7w.js","assets/About-TDIJXs5o.js","assets/api-Cm9H8gwG.js","assets/Console-B4SQZA5X.js","assets/trash2-CaXm_MmJ.js","assets/SettingsAccount-BgpeeHsR.js","assets/SettingsAppearance-DSNXI3t4.js","assets/SettingsBackup-CCEtuJsQ.js","assets/SettingsBackup-CX0rT0QJ.css","assets/SettingsRecordings-uNRwROAh.js","assets/alert-outline-T8FhpQ9w.js","assets/SettingsRemote-Dg3BfdmI.js","assets/cloud-outline-CzQmkpCY.js","assets/SettingsRemote-D9COJF4m.css","assets/SettingsSystem-DwXSeR_Z.js","assets/SettingsUsers-CimG6HaL.js","assets/SettingsNotifications-OV4-nraE.js","assets/notifications-Cq1bDRQk.js"])))=>i.map(i=>d[i]);
2
- import{$t as e,A as t,Di as n,Ei as r,Hn as i,Ii as a,In as o,Ki as s,Ni as c,O as l,R as u,Si as d,Ti as f,Vn as p,Yi as m,fi as h,j as g,lt as _,tt as v,z as y}from"./vendor-cameraui-B9wC4-mi.js";import{C as b,E as x,O as S,T as C,f as w,i as T,k as E,o as D,s as O}from"./api-B8LDDNgZ.js";import{$ as k,$n as A,$t as j,An as ee,Bn as te,Cr as M,En as N,Er as P,Gn as ne,Hn as F,J as I,K as re,L as ie,Ln as ae,Pn as oe,R as se,Rn as ce,Sr as L,Tr as R,Vn as z,Wt as B,Zn as le,_n as ue,_r as V,an as de,br as fe,dn as H,en as pe,fn as U,gn as me,jn as he,lr as ge,mn as W,mr as G,nr as K,on as q,pn as J,rn as _e,rr as ve,un as Y,ur as X,vn as ye,xn as be,yn as Z,z as xe,zn as Q}from"./vendor-DoIl6acN.js";import{f as Se,i as Ce,o as we}from"./vendor-core-CBFMCwgj.js";import{I as Te,L as Ee,R as De,z as Oe}from"./CuiCameraCard-kI_GNoa7.js";import{t as ke}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{a as Ae,i as je,n as Me,r as Ne,t as Pe}from"./useSharedComposables-DjDddcdT.js";import{n as Fe}from"./ui-CnzJLu9N.js";import{t as Ie}from"./cloud-outline-BPAJ6_kc.js";import{C as Le,J as Re,R as ze,U as Be,c as Ve,d as He}from"./vendor-primevue-DYHQyonV.js";import{t as Ue}from"./CuiImage-B3eMhhIS.js";import{i as We,r as Ge,t as Ke}from"./instances-5MeVN25v.js";import{t as qe}from"./cctv-BsGdaLfw.js";import{t as Je}from"./terminal-DbYAPed-.js";import{t as Ye}from"./circular-connection-BTKd-doI.js";import{t as Xe}from"./automation-IpK710bv.js";import{n as Ze,t as Qe}from"./cloud-outline-CzQmkpCY.js";import{t as $e}from"./bell-ChE83DC8.js";import{t as et}from"./bell-outline-U3Gb4nI1.js";import{t as tt}from"./cog-Ce2a8uiA.js";import{n as nt}from"./lightbulb-outline-B0CFho4y.js";import{t as rt}from"./face-recognition-D5evlO1d.js";import{t as it}from"./grid-fill-DBU_n60V.js";import{n as at,r as ot,t as st}from"./view-grid-D39XDBn9.js";import{n as ct,r as lt,t as ut}from"./eventIcons-CtTopM6B.js";import{n as dt,r as ft,t as pt}from"./github-DNzKZdHG.js";import{t as mt}from"./CuiFloatingButton-BLCO4wJw.js";import{t as ht}from"./CuiCameraSnapshot-C33nUgVt.js";import{t as gt}from"./hasPermission-B724PtFJ.js";import{a as _t,i as vt,n as yt,r as bt,t as xt}from"./vendor-dnd-_zxmhxjM.js";import{n as St}from"./types-ByBSoibP.js";import{t as Ct}from"./cameras-BEBBV7mz.js";import{n as wt}from"./useCuiCameraDrawer-2I0LB3ff.js";import{n as Tt,t as Et}from"./useCuiDialog-DZvxI8xi.js";import{t as Dt}from"./CuiTopbarSlot-DbzQRnbt.js";import{a as Ot,n as kt}from"./useBiometricCredentials-BGl37Skw.js";import{t as At}from"./deviceId-BM0pOHhg.js";import{t as jt}from"./users.schema-2wYWhJ9W.js";import{t as Mt}from"./routerState-ByP_jZ8E.js";var Nt=`false`,Pt=`false`,Ft=Nt===`true`,It=Pt===`true`;function Lt(e={}){let{immediate:t=!1,onNeedReload:n,onNeedRefresh:r,onOfflineReady:i,onRegistered:a,onRegisteredSW:o,onRegisterError:s}=e,c,l,u,d=async(e=!0)=>{await l,Ft||u?.()};async function f(){if(`serviceWorker`in navigator){if(c=await B(async()=>{let{Workbox:e}=await import(`./workbox-window.prod.es5-CtK9nkTO.js`);return{Workbox:e}},__vite__mapDeps([0,1,2])).then(({Workbox:e})=>new e(`/sw.js`,{scope:`/`,type:`classic`})).catch(e=>{s?.(e)}),!c)return;if(u=()=>{c?.messageSkipWaiting()},!It)if(Ft)c.addEventListener(`activated`,e=>{(e.isUpdate||e.isExternal)&&(n?n():window.location.reload())}),c.addEventListener(`installed`,e=>{e.isUpdate||i?.()});else{let e=!1,t=()=>{e=!0,c?.addEventListener(`controlling`,e=>{e.isUpdate&&(n?n():window.location.reload())}),r?.()};c.addEventListener(`installed`,n=>{n.isUpdate===void 0?n.isExternal===void 0?!e&&i?.():n.isExternal?t():!e&&i?.():n.isUpdate||i?.()}),c.addEventListener(`waiting`,t)}c.register({immediate:t}).then(e=>{o?o(`/sw.js`,e):a?.(e)}).catch(e=>{s?.(e)})}}return l=f(),d}function Rt(e={}){let{immediate:t=!0,onNeedReload:n,onNeedRefresh:r,onOfflineReady:i,onRegistered:a,onRegisteredSW:o,onRegisterError:s}=e,c=G(!1),l=G(!1);return{updateServiceWorker:Lt({immediate:t,onNeedReload:n,onNeedRefresh(){c.value=!0,r?.()},onOfflineReady(){l.value=!0,i?.()},onRegistered:a,onRegisteredSW:o,onRegisterError:s}),offlineReady:l,needRefresh:c}}var zt=S(`AppUpdate`),Bt=3600*1e3,Vt=`cui-sw-updated`,Ht=G(!1),$=G(!1),Ut=async()=>{},Wt;async function Gt(){if(!(!Wt||Wt.installing||!navigator.onLine))try{await Wt.update()}catch{}}async function Kt(){if(!($.value||!Ht.value)){$.value=!0;try{await Ut()}catch(e){zt.error(`apply failed`,e),$.value=!1}}}function qt(){return{updateAvailable:Ht,isApplying:$,applyUpdate:Kt}}function Jt(){!Ht.value||$.value||Kt()}function Yt(){Xt()}function Xt(){let{t:e}=C.global,t=b(),n=k(),{needRefresh:r,updateServiceWorker:i}=Rt({immediate:!0,onRegisteredSW(e,t){Wt=t,Wt&&setInterval(()=>Gt(),Bt)}});f(document,`visibilitychange`,()=>{document.visibilityState===`visible`&&Gt()});let a=x();if(A(()=>a.isOnline.value,(e,t)=>{e&&!t&&Gt()}),A(r,e=>{if(e){if(Ut=async()=>{sessionStorage.setItem(Vt,`1`);let e=!1,t=()=>{e||(e=!0,window.location.reload())};navigator.serviceWorker?.addEventListener(`controllerchange`,t,{once:!0}),await i(!1),setTimeout(t,3e3)},n.getQueryData([`api`])?.electron===!0){$.value||($.value=!0,Ut().catch(e=>{zt.error(`auto-apply failed`,e),$.value=!1}));return}Ht.value=!0}}),sessionStorage.getItem(Vt)){sessionStorage.removeItem(Vt);let n=new MutationObserver(()=>{document.querySelector(`[data-sonner-toaster]`)&&(n.disconnect(),t.add({severity:`success`,summary:e(`components.toast.title_success`),detail:e(`components.toast.update_installed_detail`),life:3e3}))});n.observe(document.body,{childList:!0,subtree:!0})}}var Zt={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function Qt(e,t){return Q(),W(`svg`,Zt,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M20 3H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2M4 9V5h16v4zm16 4H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2M4 19v-4h16v4z`},null,-1),H(`path`,{fill:`currentColor`,d:`M17 6h2v2h-2zm-3 0h2v2h-2zm3 10h2v2h-2zm-3 0h2v2h-2z`},null,-1)]])}var $t=X({name:`bx-server`,render:Qt}),en={viewBox:`0 0 36 36`,width:`1.2em`,height:`1.2em`};function tn(e,t){return Q(),W(`svg`,en,[...t[0]||=[ue(`<path fill="currentColor" d="M6 22h24v2H6z" class="clr-i-outline clr-i-outline-path-1"></path><path fill="currentColor" d="M26 26h4v2h-4z" class="clr-i-outline clr-i-outline-path-2"></path><path fill="currentColor" d="M13 9.92L17 6v13a1 1 0 1 0 2 0V6l4 3.95a1 1 0 1 0 1.38-1.45L18 2.16L11.61 8.5A1 1 0 0 0 13 9.92" class="clr-i-outline clr-i-outline-path-3"></path><path fill="currentColor" d="M30.84 13.37A1.94 1.94 0 0 0 28.93 12H21v2h7.95c1.05 2.94 2.77 7.65 3.05 8.48V30H4v-7.52C4.28 21.65 7.05 14 7.05 14H15v-2H7.07a1.92 1.92 0 0 0-1.9 1.32C2 22 2 22.1 2 22.33V30a2 2 0 0 0 2 2h28a2 2 0 0 0 2-2v-7.67c0-.23 0-.33-3.16-8.96" class="clr-i-outline clr-i-outline-path-4"></path><path fill="none" d="M0 0h36v36H0z"></path>`,5)]])}var nn=X({name:`clarity-backup-restore-line`,render:tn}),rn={viewBox:`0 0 36 36`,width:`1.2em`,height:`1.2em`};function an(e,t){return Q(),W(`svg`,rn,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M2 24v6a2 2 0 0 0 2 2h28a2 2 0 0 0 2-2v-6Zm28 5h-4v-2h4Z`,class:`clr-i-solid clr-i-solid-path-1`},null,-1),H(`path`,{fill:`currentColor`,d:`M30.84 13.37A1.94 1.94 0 0 0 28.93 12H21v6a3 3 0 1 1-6 0v-6H7.07a1.92 1.92 0 0 0-1.9 1.32c-2.31 6.36-2.93 8.11-3.1 8.68h31.86c-.16-.57-.79-2.31-3.09-8.63`,class:`clr-i-solid clr-i-solid-path-2`},null,-1),H(`path`,{fill:`currentColor`,d:`M13 9.92L17 6v12a1 1 0 1 0 2 0V6l4 3.95a1 1 0 1 0 1.38-1.45L18 2.16L11.61 8.5A1 1 0 0 0 13 9.92`,class:`clr-i-solid clr-i-solid-path-3`},null,-1),H(`path`,{fill:`none`,d:`M0 0h36v36H0z`},null,-1)]])}var on=X({name:`clarity-backup-restore-solid`,render:an}),sn={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function cn(e,t){return Q(),W(`svg`,sn,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M20.97 7.27a.996.996 0 0 0 0-1.41l-2.83-2.83a.996.996 0 0 0-1.41 0l-4.49 4.49l-3.89-3.89c-.78-.78-2.05-.78-2.83 0l-1.9 1.9c-.78.78-.78 2.05 0 2.83l3.89 3.89L3 16.76V21h4.24l4.52-4.52l3.89 3.89c.95.95 2.23.6 2.83 0l1.9-1.9c.78-.78.78-2.05 0-2.83l-3.89-3.89zM5.04 6.94l1.89-1.9L8.2 6.31L7.02 7.5l1.41 1.41l1.19-1.19l1.2 1.2l-1.9 1.9zm11.23 7.44l-1.19 1.19l1.41 1.41l1.19-1.19l1.27 1.27l-1.9 1.9l-3.89-3.89l1.9-1.9zM6.41 19H5v-1.41l9.61-9.61l1.3 1.3l.11.11zm9.61-12.44l1.41-1.41l1.41 1.41l-1.41 1.41z`},null,-1)]])}var ln=X({name:`ic-outline-design-services`,render:cn}),un={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function dn(e,t){return Q(),W(`svg`,un,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`m16.24 11.51l1.57-1.57l-3.75-3.75l-1.57 1.57l-4.14-4.13c-.78-.78-2.05-.78-2.83 0l-1.9 1.9c-.78.78-.78 2.05 0 2.83l4.13 4.13l-4.6 4.61q-.15.15-.15.36v3.04c0 .28.22.5.5.5h3.04c.13 0 .26-.05.35-.15l4.62-4.62l4.13 4.13c1.32 1.32 2.76.07 2.83 0l1.9-1.9c.78-.78.78-2.05 0-2.83zm-7.06-.44L5.04 6.94l1.89-1.9L8.2 6.31l-.47.49a.996.996 0 1 0 1.41 1.41l.48-.48l1.45 1.45zm7.88 7.89l-4.13-4.13l1.9-1.9l1.45 1.45l-.48.48a.996.996 0 1 0 1.41 1.41l.48-.48l1.27 1.27zm3.65-11.92a.996.996 0 0 0 0-1.41l-2.34-2.34c-.47-.47-1.12-.29-1.41 0l-1.83 1.83l3.75 3.75z`},null,-1)]])}var fn=X({name:`ic-round-design-services`,render:dn}),pn={viewBox:`0 0 48 48`,width:`1.2em`,height:`1.2em`};function mn(e,t){return Q(),W(`svg`,pn,[...t[0]||=[H(`g`,{fill:`none`,stroke:`currentColor`,"stroke-width":`4`},[H(`path`,{d:`M13.5 39.37A16.93 16.93 0 0 0 24 43c3.963 0 7.61-1.356 10.5-3.63M19 9.747C12.051 11.882 7 18.351 7 26c0 1.925.32 3.775.91 5.5M29 9.747C35.949 11.882 41 18.351 41 26c0 1.925-.32 3.775-.91 5.5`}),H(`path`,{"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M43 36c0 1.342-.528 2.56-1.388 3.458A5 5 0 1 1 43 36m-28 0c0 1.342-.528 2.56-1.388 3.458A5 5 0 1 1 15 36M29 9c0 1.342-.528 2.56-1.388 3.458A5 5 0 1 1 29 9`})],-1)]])}var hn=X({name:`icon-park-outline-circular-connection`,render:mn}),gn={viewBox:`0 0 48 48`,width:`1.2em`,height:`1.2em`};function _n(e,t){return Q(),W(`svg`,gn,[...t[0]||=[H(`g`,{fill:`none`,stroke:`currentColor`,"stroke-linejoin":`round`,"stroke-width":`4`},[H(`path`,{d:`M13 10h28v34H13z`}),H(`path`,{"stroke-linecap":`round`,d:`M35 10V4H8a1 1 0 0 0-1 1v33h6m8-16h12m-12 8h12`})],-1)]])}var vn=X({name:`icon-park-outline-log`,render:_n}),yn={viewBox:`0 0 48 48`,width:`1.2em`,height:`1.2em`},bn=[`id`],xn=[`mask`];function Sn(e,t){return Q(),W(`svg`,yn,[H(`defs`,null,[H(`mask`,{id:e.idMap.SVGzmZ6hexT},[...t[0]||=[H(`g`,{fill:`none`,"stroke-linejoin":`round`,"stroke-width":`4`},[H(`path`,{fill:`#fff`,stroke:`#fff`,d:`M13 10h28v34H13z`}),H(`path`,{stroke:`#fff`,"stroke-linecap":`round`,d:`M35 10V4H8a1 1 0 0 0-1 1v33h6`}),H(`path`,{stroke:`#000`,"stroke-linecap":`round`,d:`M21 22h12m-12 8h12`})],-1)]],8,bn)]),H(`path`,{fill:`currentColor`,d:`M0 0h48v48H0z`,mask:`url(#`+e.idMap.SVGzmZ6hexT+`)`},null,8,xn)])}var Cn=X({name:`icon-park-solid-log`,render:Sn,setup(){return{idMap:{SVGzmZ6hexT:`uicons-`+Math.random().toString(36).substr(2,10)}}}}),wn={viewBox:`0 0 48 48`,width:`1.2em`,height:`1.2em`},Tn=[`id`],En=[`mask`];function Dn(e,t){return Q(),W(`svg`,wn,[H(`defs`,null,[H(`mask`,{id:e.idMap.SVGXE6zpcEE},[...t[0]||=[H(`g`,{fill:`none`,"stroke-linejoin":`round`,"stroke-width":`4`},[H(`rect`,{width:`40`,height:`32`,x:`4`,y:`8`,fill:`#fff`,stroke:`#fff`,rx:`2`}),H(`path`,{stroke:`#000`,"stroke-linecap":`round`,d:`m12 18l7 6l-7 6m11 2h13`})],-1)]],8,Tn)]),H(`path`,{fill:`currentColor`,d:`M0 0h48v48H0z`,mask:`url(#`+e.idMap.SVGXE6zpcEE+`)`},null,8,En)])}var On=X({name:`icon-park-solid-terminal`,render:Dn,setup(){return{idMap:{SVGXE6zpcEE:`uicons-`+Math.random().toString(36).substr(2,10)}}}}),kn={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function An(e,t){return Q(),W(`svg`,kn,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M7.4 17.25q-1.05.875-2.187.8t-1.988-.775t-1.162-1.837t.412-2.338L4.35 10q-.625-.55-.987-1.325T3 7q0-1.65 1.175-2.825T7 3t2.825 1.175T11 7T9.825 9.825T7 11q-.225 0-.45-.025t-.425-.075L4.2 14.15q-.275.45-.175.888t.425.712t.775.313t.875-.313l10.5-9.025q1.05-.875 2.2-.788t2 .788t1.15 1.838t-.425 2.337L19.65 14q.625.55.988 1.325T21 17q0 1.65-1.175 2.825T17 21t-2.825-1.175T13 17t1.175-2.825T17 13q.225 0 .438.025t.412.075l1.95-3.25q.275-.45.175-.888t-.425-.712t-.775-.312t-.875.312zm1.013-8.837Q9 7.825 9 7t-.587-1.412T7 5t-1.412.588T5 7t.588 1.413T7 9t1.413-.587m10 10Q19 17.825 19 17t-.587-1.412T17 15t-1.412.588T15 17t.588 1.413T17 19t1.413-.587M17 17`},null,-1)]])}var jn=X({name:`material-symbols-automation-outline`,render:An}),Mn={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function Nn(e,t){return Q(),W(`svg`,Mn,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M6 19h3v-5q0-.425.288-.712T10 13h4q.425 0 .713.288T15 14v5h3v-9l-6-4.5L6 10zm-2 0v-9q0-.475.213-.9t.587-.7l6-4.5q.525-.4 1.2-.4t1.2.4l6 4.5q.375.275.588.7T20 10v9q0 .825-.588 1.413T18 21h-4q-.425 0-.712-.288T13 20v-5h-2v5q0 .425-.288.713T10 21H6q-.825 0-1.412-.587T4 19m8-6.75`},null,-1)]])}var Pn=X({name:`material-symbols-home-outline-rounded`,render:Nn}),Fn={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function In(e,t){return Q(),W(`svg`,Fn,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M12 19.2c-2.5 0-4.71-1.28-6-3.2c.03-2 4-3.1 6-3.1s5.97 1.1 6 3.1a7.23 7.23 0 0 1-6 3.2M12 5a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m0-3A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10c0-5.53-4.5-10-10-10`},null,-1)]])}var Ln=X({name:`mdi-account-circle`,render:In}),Rn={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function zn(e,t){return Q(),W(`svg`,Rn,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2M7.07 18.28c.43-.9 3.05-1.78 4.93-1.78s4.5.88 4.93 1.78A7.9 7.9 0 0 1 12 20c-1.86 0-3.57-.64-4.93-1.72m11.29-1.45c-1.43-1.74-4.9-2.33-6.36-2.33s-4.93.59-6.36 2.33A7.93 7.93 0 0 1 4 12c0-4.41 3.59-8 8-8s8 3.59 8 8c0 1.82-.62 3.5-1.64 4.83M12 6c-1.94 0-3.5 1.56-3.5 3.5S10.06 13 12 13s3.5-1.56 3.5-3.5S13.94 6 12 6m0 5a1.5 1.5 0 0 1-1.5-1.5A1.5 1.5 0 0 1 12 8a1.5 1.5 0 0 1 1.5 1.5A1.5 1.5 0 0 1 12 11`},null,-1)]])}var Bn=X({name:`mdi-account-circle-outline`,render:zn}),Vn={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function Hn(e,t){return Q(),W(`svg`,Vn,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M14 12h-4v-2h4m0 6h-4v-2h4m6-6h-2.81a6 6 0 0 0-1.82-1.96L17 4.41L15.59 3l-2.17 2.17a6 6 0 0 0-2.83 0L8.41 3L7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20z`},null,-1)]])}var Un=X({name:`mdi-bug`,render:Hn}),Wn={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function Gn(e,t){return Q(),W(`svg`,Wn,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M20 8h-2.81c-.45-.8-1.07-1.5-1.82-2L17 4.41L15.59 3l-2.17 2.17a6 6 0 0 0-2.83 0L8.41 3L7 4.41L8.62 6c-.75.5-1.36 1.21-1.81 2H4v2h2.09c-.06.33-.09.66-.09 1v1H4v2h2v1c0 .34.03.67.09 1H4v2h2.81A5.99 5.99 0 0 0 15 20.18c.91-.52 1.67-1.28 2.19-2.18H20v-2h-2.09c.06-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.03-.67-.09-1H20zm-4 7a4 4 0 0 1-4 4a4 4 0 0 1-4-4v-4a4 4 0 0 1 4-4a4 4 0 0 1 4 4zm-2-5v2h-4v-2zm-4 4h4v2h-4z`},null,-1)]])}var Kn=X({name:`mdi-bug-outline`,render:Gn}),qn={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function Jn(e,t){return Q(),W(`svg`,qn,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M21 10V9l-6-6H5c-1.11 0-2 .89-2 2v14a2 2 0 0 0 2 2h6v-1.87l8.39-8.39c.44-.44 1-.68 1.61-.74m-7-5.5l5.5 5.5H14zm8.85 9.69l-.98.98l-2.04-2.04l.98-.98c.19-.2.52-.2.72 0l1.32 1.32c.2.2.2.53 0 .72m-3.72-.36l2.04 2.04L15.04 22H13v-2.04z`},null,-1)]])}var Yn=X({name:`mdi-note-edit`,render:Jn}),Xn={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function Zn(e,t){return Q(),W(`svg`,Xn,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`m18.13 12l1.26-1.26c.44-.44 1-.68 1.61-.74V9l-6-6H5c-1.11 0-2 .89-2 2v14a2 2 0 0 0 2 2h6v-1.87l.13-.13H5V5h7v7zM14 4.5l5.5 5.5H14zm5.13 9.33l2.04 2.04L15.04 22H13v-2.04zm3.72.36l-.98.98l-2.04-2.04l.98-.98c.19-.2.52-.2.72 0l1.32 1.32c.2.2.2.53 0 .72`},null,-1)]])}var Qn=X({name:`mdi-note-edit-outline`,render:Zn}),$n={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function er(e,t){return Q(),W(`svg`,$n,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M16 17v2H2v-2s0-4 7-4s7 4 7 4m-3.5-9.5A3.5 3.5 0 1 0 9 11a3.5 3.5 0 0 0 3.5-3.5m3.44 5.5A5.32 5.32 0 0 1 18 17v2h4v-2s0-3.63-6.06-4M15 4a3.4 3.4 0 0 0-1.93.59a5 5 0 0 1 0 5.82A3.4 3.4 0 0 0 15 11a3.5 3.5 0 0 0 0-7`},null,-1)]])}var tr=X({name:`mdi-users`,render:er}),nr={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function rr(e,t){return Q(),W(`svg`,nr,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M13.07 10.41a5 5 0 0 0 0-5.82A3.4 3.4 0 0 1 15 4a3.5 3.5 0 0 1 0 7a3.4 3.4 0 0 1-1.93-.59M5.5 7.5A3.5 3.5 0 1 1 9 11a3.5 3.5 0 0 1-3.5-3.5m2 0A1.5 1.5 0 1 0 9 6a1.5 1.5 0 0 0-1.5 1.5M16 17v2H2v-2s0-4 7-4s7 4 7 4m-2 0c-.14-.78-1.33-2-5-2s-4.93 1.31-5 2m11.95-4A5.32 5.32 0 0 1 18 17v2h4v-2s0-3.63-6.06-4Z`},null,-1)]])}var ir=X({name:`mdi-users-outline`,render:rr}),ar={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function or(e,t){return Q(),W(`svg`,ar,[...t[0]||=[H(`g`,{fill:`none`,"fill-rule":`evenodd`},[H(`path`,{d:`m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z`}),H(`path`,{fill:`currentColor`,d:`M9 13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2zm10 0a2 2 0 0 1 1.995 1.85L21 15v4a2 2 0 0 1-1.85 1.995L19 21h-4a2 2 0 0 1-1.995-1.85L13 19v-4a2 2 0 0 1 1.85-1.995L15 13zM9 15H5v4h4zm10 0h-4v4h4zm0-12a2 2 0 0 1 1.995 1.85L21 5v4a2 2 0 0 1-1.85 1.995L19 11h-4a2 2 0 0 1-1.995-1.85L13 9V5a2 2 0 0 1 1.85-1.995L15 3zM9 3a2 2 0 0 1 1.995 1.85L11 5v4a2 2 0 0 1-1.85 1.995L9 11H5a2 2 0 0 1-1.995-1.85L3 9V5a2 2 0 0 1 1.85-1.995L5 3zm10 2h-4v4h4zM9 5H5v4h4z`})],-1)]])}var sr=X({name:`mingcute-grid-line`,render:or}),cr={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function lr(e,t){return Q(),W(`svg`,cr,[...t[0]||=[H(`g`,{fill:`none`},[H(`path`,{d:`m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z`}),H(`path`,{fill:`currentColor`,d:`M20 6a2 2 0 0 1 2 2v11.333a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zm-8.268 7.944L7.136 18.54l-.066.06l-.07.054v.68h13v-.68l-.07-.053l-.066-.06l-2.24-2.24l-.353.354l.055.055a1 1 0 0 1-1.32 1.497l-.094-.083zM17 3a2 2 0 0 1 1.995 1.85L19 5H5a1 1 0 0 0-.993.883L4 6v12a2 2 0 0 1-1.995-1.85L2 16V6a3 3 0 0 1 2.824-2.995L5 3zm3 5H7v7.848L10.848 12a1.25 1.25 0 0 1 1.768 0l3.241 3.24l.884-.883a1.25 1.25 0 0 1 1.768 0L20 15.848zm-3.5 1.5a1.5 1.5 0 1 1 0 3a1.5 1.5 0 0 1 0-3`})],-1)]])}var ur=X({name:`mingcute-photo-album-line`,render:lr}),dr={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function fr(e,t){return Q(),W(`svg`,dr,[...t[0]||=[H(`g`,{fill:`none`,"fill-rule":`evenodd`},[H(`path`,{d:`m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z`}),H(`path`,{fill:`currentColor`,d:`M18.5 4a1.5 1.5 0 0 0-3 0v.5H4a1.5 1.5 0 1 0 0 3h11.5V8a1.5 1.5 0 0 0 3 0v-.5H20a1.5 1.5 0 0 0 0-3h-1.5zM4 10.5a1.5 1.5 0 0 0 0 3h1.5v.5a1.5 1.5 0 0 0 3 0v-.5H20a1.5 1.5 0 0 0 0-3H8.5V10a1.5 1.5 0 1 0-3 0v.5zM2.5 18A1.5 1.5 0 0 1 4 16.5h11.5V16a1.5 1.5 0 0 1 3 0v.5H20a1.5 1.5 0 0 1 0 3h-1.5v.5a1.5 1.5 0 0 1-3 0v-.5H4A1.5 1.5 0 0 1 2.5 18`})],-1)]])}var pr=X({name:`mingcute-settings-2-fill`,render:fr}),mr={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function hr(e,t){return Q(),W(`svg`,mr,[...t[0]||=[H(`g`,{fill:`none`,"fill-rule":`evenodd`},[H(`path`,{d:`m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z`}),H(`path`,{fill:`currentColor`,d:`M18 4a1 1 0 1 0-2 0v1H4a1 1 0 0 0 0 2h12v1a1 1 0 1 0 2 0V7h2a1 1 0 1 0 0-2h-2zM4 11a1 1 0 1 0 0 2h2v1a1 1 0 1 0 2 0v-1h12a1 1 0 1 0 0-2H8v-1a1 1 0 0 0-2 0v1zm-1 7a1 1 0 0 1 1-1h12v-1a1 1 0 1 1 2 0v1h2a1 1 0 1 1 0 2h-2v1a1 1 0 1 1-2 0v-1H4a1 1 0 0 1-1-1`})],-1)]])}var gr=X({name:`mingcute-settings-2-line`,render:hr}),_r={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function vr(e,t){return Q(),W(`svg`,_r,[...t[0]||=[ue(`<g fill="currentColor"><circle cx="5" cy="5" r="1.5"></circle><circle cx="12" cy="5" r="1.5"></circle><circle cx="19" cy="5" r="1.5"></circle><circle cx="5" cy="12" r="1.5"></circle><circle cx="12" cy="12" r="1.5"></circle><circle cx="19" cy="12" r="1.5"></circle><circle cx="5" cy="19" r="1.5"></circle><circle cx="12" cy="19" r="1.5"></circle><circle cx="19" cy="19" r="1.5"></circle></g>`,1)]])}var yr=X({name:`proicons-grid-dots`,render:vr}),br={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function xr(e,t){return Q(),W(`svg`,br,[...t[0]||=[H(`path`,{fill:`currentColor`,"fill-rule":`evenodd`,d:`M3.464 3.464C2 4.93 2 7.286 2 12s0 7.071 1.464 8.535C4.93 22 7.286 22 12 22s7.071 0 8.535-1.465C22 19.072 22 16.714 22 12s0-7.071-1.465-8.536C19.072 2 16.714 2 12 2S4.929 2 3.464 3.464m14.112 7.016a.75.75 0 0 0-1.152-.96l-1.797 2.156c-.37.445-.599.716-.786.885a.8.8 0 0 1-.163.122l-.011.005l-.008-.004l-.003-.001a.8.8 0 0 1-.164-.122c-.187-.17-.415-.44-.786-.885l-.292-.35c-.328-.395-.625-.75-.901-1c-.301-.272-.68-.514-1.18-.514s-.878.242-1.18.514c-.276.25-.572.605-.9 1l-1.83 2.194a.75.75 0 1 0 1.153.96l1.797-2.156c.37-.445.599-.716.786-.885a.8.8 0 0 1 .163-.122l.007-.003l.004-.002l.011.005a.8.8 0 0 1 .164.122c.187.17.415.44.786.885l.292.35c.329.395.625.75.901 1c.301.272.68.514 1.18.514s.878-.242 1.18-.514c.276-.25.572-.605.9-1z`,"clip-rule":`evenodd`},null,-1)]])}var Sr=X({name:`solar-graph-bold`,render:xr}),Cr={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function wr(e,t){return Q(),W(`svg`,Cr,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M17.576 10.48a.75.75 0 0 0-1.152-.96l-1.797 2.156c-.37.445-.599.716-.786.885a.8.8 0 0 1-.163.122l-.011.005l-.011-.005a.8.8 0 0 1-.164-.122c-.187-.17-.415-.44-.786-.885l-.292-.35c-.328-.395-.625-.75-.901-1c-.301-.272-.68-.514-1.18-.514s-.878.242-1.18.514c-.276.25-.572.605-.9 1l-1.83 2.194a.75.75 0 1 0 1.153.96l1.797-2.156c.37-.445.599-.716.786-.885a.8.8 0 0 1 .163-.122l.011-.005l.011.005a.8.8 0 0 1 .164.122c.187.17.415.44.786.885l.292.35c.329.395.625.75.901 1c.301.272.68.514 1.18.514s.878-.242 1.18-.514c.276-.25.572-.605.9-1z`},null,-1),H(`path`,{fill:`currentColor`,"fill-rule":`evenodd`,d:`M11.943 1.25c-2.309 0-4.118 0-5.53.19c-1.444.194-2.584.6-3.479 1.494c-.895.895-1.3 2.035-1.494 3.48c-.19 1.411-.19 3.22-.19 5.529v.114c0 2.309 0 4.118.19 5.53c.194 1.444.6 2.584 1.494 3.479c.895.895 2.035 1.3 3.48 1.494c1.411.19 3.22.19 5.529.19h.114c2.309 0 4.118 0 5.53-.19c1.444-.194 2.584-.6 3.479-1.494c.895-.895 1.3-2.035 1.494-3.48c.19-1.411.19-3.22.19-5.529v-.114c0-2.309 0-4.118-.19-5.53c-.194-1.444-.6-2.584-1.494-3.479c-.895-.895-2.035-1.3-3.48-1.494c-1.411-.19-3.22-.19-5.529-.19zM3.995 3.995c.57-.57 1.34-.897 2.619-1.069c1.3-.174 3.008-.176 5.386-.176s4.086.002 5.386.176c1.279.172 2.05.5 2.62 1.069c.569.57.896 1.34 1.068 2.619c.174 1.3.176 3.008.176 5.386s-.002 4.086-.176 5.386c-.172 1.279-.5 2.05-1.069 2.62c-.57.569-1.34.896-2.619 1.068c-1.3.174-3.008.176-5.386.176s-4.086-.002-5.386-.176c-1.279-.172-2.05-.5-2.62-1.069c-.569-.57-.896-1.34-1.068-2.619c-.174-1.3-.176-3.008-.176-5.386s.002-4.086.176-5.386c.172-1.279.5-2.05 1.069-2.62`,"clip-rule":`evenodd`},null,-1)]])}var Tr=X({name:`solar-graph-outline`,render:wr}),Er=be({__name:`CuiFloatingButtonGroup`,props:{direction:{default:`vertical`},right:{}},setup(e){let t=e,{bottombarHeight:n}=Me(),{direction:r}=fe(t),{y:i}=a(window,{throttle:100});return(t,a)=>(Q(),W(`div`,{class:M([`fixed z-10 flex transition-all duration-200 ease-in-out`,{"right-safe-offset-5":!e.right,"flex-col":L(r)===`vertical`,"flex-row":L(r)===`horizontal`,"scale-0 opacity-0":L(i)>10,"scale-100 opacity-100":L(i)<=10}]),style:R({bottom:`calc(${L(n)}px + 1.25rem + env(safe-area-inset-bottom, 0px))`,right:e.right||void 0})},[F(t.$slots,`default`)],6))}}),Dr=[`draggable`],Or={key:0,class:`absolute inset-0 z-2 flex items-center justify-center bg-black/80 pointer-events-none`},kr={class:`w-full h-[60px] p-4 absolute bottom-0 z-3 flex items-center gap-1 justify-between pointer-events-none`},Ar={class:`text-xs font-semibold p-2 bg-black/60 rounded-full text-white flex items-center gap-1`},jr=300,Mr=ke(be({__name:`CuiDraggableCameraCard`,props:{camera:{},noDrag:{type:Boolean},viewTransition:{type:Boolean},findCard:{type:Function},moveCard:{type:Function},snapshotRef:{type:Function}},emits:[`refresh-snapshot`,`open-console`,`open-settings`,`click`],setup(e){let t=e,{x:n,y:r,sourceType:a}=je(),{camera:o,noDrag:s,viewTransition:c}=fe(t),l=le(`boxRef`),u=V(),d=V(null),f=G(0),p=G(0),m=G(!1),h=null,g=0,_=Y(()=>!s.value),v=Y(()=>t.findCard(o.value._id).index),[y,b]=vt(()=>({type:`camera-card`,canDrag(){return _.value},item:()=>(h=null,g=0,{id:o.value._id,originalIndex:v.value}),collect:e=>({isDragging:e.isDragging()}),end:(e,n)=>{let{id:r,originalIndex:i}=e;n.didDrop()||t.moveCard(r,i)}})),[,x]=bt(()=>({accept:`camera-card`,hover({id:e}){if(e!==o.value._id){let n=Date.now();if(h===o.value._id&&n-g<jr)return;let{index:r}=t.findCard(o.value._id),{index:i}=t.findCard(e);i!==r&&(h=o.value._id,g=n,t.moveCard(e,r))}}})),S=Y(()=>y.value.isDragging),C=Y(()=>S.value&&a.value===`touch`);function w(){T(),m.value=!0;let e=l.value?.getBoundingClientRect();e&&(f.value=n.value-e.left,p.value=r.value-e.top,E())}function T(){m.value=!1,D(),f.value=0,p.value=0}function E(){if(D(),!l.value)return;let e=l.value.cloneNode(!0),t=l.value.getBoundingClientRect();e.style.width=`${t.width}px`,e.style.height=`${t.height}px`,e.classList.add(`drag-preview`),document.body.appendChild(e),d.value=e}function D(){d.value&&document.body.contains(d.value)&&document.body.removeChild(d.value),d.value=null}function O(){!d.value||!m.value||requestAnimationFrame(()=>{if(!d.value)return;let e=n.value-f.value,t=r.value-p.value;d.value.style.left=`${e}px`,d.value.style.top=`${t}px`})}function k(e){u.value=b(x(e))}return A(C,e=>{e?w():T()}),A([n,r],()=>{O()},{flush:`sync`}),oe(()=>{T()}),(t,n)=>{let r=Te,a=Ee,s=dt,u=i,d=Je,f=tt,p=ht,m=Re;return Q(),W(`div`,{ref_key:`boxRef`,ref:l,class:`camera-wrapper`},[H(`div`,{ref:k,class:M([`rounded-xl overflow-hidden border-[1px] border-color relative`,{"cursor-move":L(_)&&!L(S)}]),style:R({opacity:+!L(S),viewTransitionName:L(c)?`camera-card-${L(o).name.replace(/[^a-zA-Z0-9-_]/g,`-`)}`:void 0}),draggable:L(_)},[L(o).disabled?(Q(),W(`div`,Or,[Z(r,{class:`w-8 h-8 text-white/60`})])):J(``,!0),H(`div`,kr,[H(`span`,Ar,[ye(P(L(o).name)+` `,1),L(o).disabled?(Q(),U(r,{key:0,class:`w-3 h-3 text-red-400`})):L(o).detectionSettings?.snooze?(Q(),U(a,{key:1,class:`w-3 h-3 text-amber-400`})):J(``,!0)]),L(o).disabled?J(``,!0):(Q(),W(q,{key:0},[ve((Q(),U(u,{severity:`secondary`,rounded:``,class:`dark-mode cui-icon-md pointer-events-auto ml-auto`,onClick:n[0]||=de(e=>t.$emit(`refresh-snapshot`),[`stop`])},{icon:K(()=>[Z(s,{width:`100%`,height:`100%`})]),_:1})),[[m,{value:t.$t(`components.player.refresh_snapshot`)},void 0,{top:!0}]]),(`hasPermission`in t?t.hasPermission:L(gt))(void 0,`admin`)?ve((Q(),U(u,{key:0,severity:`secondary`,rounded:``,class:`dark-mode cui-icon-md pointer-events-auto`,onClick:n[1]||=de(e=>t.$emit(`open-console`),[`stop`])},{icon:K(()=>[Z(d,{width:`100%`,height:`100%`})]),_:1})),[[m,{value:t.$t(`components.player.log`)},void 0,{top:!0}]]):J(``,!0)],64)),(`hasPermission`in t?t.hasPermission:L(gt))(void 0,`admin`)?ve((Q(),U(u,{key:1,rounded:``,severity:`secondary`,class:M([`dark-mode cui-icon-md pointer-events-auto`,{"ml-auto":L(o).disabled}]),onClick:n[2]||=de(e=>t.$emit(`open-settings`),[`stop`])},{icon:K(()=>[Z(f,{width:`100%`,height:`100%`})]),_:1},8,[`class`])),[[m,{value:t.$t(`components.player.settings`)},void 0,{top:!0}]]):J(``,!0)]),Z(p,{ref:e.snapshotRef,camera:L(o),class:`cursor-pointer`,onClick:n[3]||=e=>t.$emit(`click`)},null,8,[`camera`])],14,Dr)],512)}}}),[[`__scopeId`,`data-v-b7360c58`]]),Nr={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function Pr(e,t){return Q(),W(`svg`,Nr,[...t[0]||=[H(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M12 5v14m-7-7h14`},null,-1)]])}var Fr=X({name:`tabler-plus`,render:Pr}),Ir={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function Lr(e,t){return Q(),W(`svg`,Ir,[...t[0]||=[H(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`m15 6l-6 6l6 6`},null,-1)]])}var Rr=X({name:`tabler-chevron-left`,render:Lr}),zr={class:`bg-neutral-900 w-[140px] h-[140px] rounded-xl overflow-hidden relative`},Br={key:2,class:`w-full h-full flex items-center justify-center bg-neutral-800/80`},Vr={key:4,class:`absolute inset-0 z-[3] flex items-center justify-center pointer-events-none`},Hr={key:5,class:`absolute top-1.5 left-1.5 z-[3] flex items-center gap-1`},Ur={key:6,class:`absolute inset-0 bg-black/0 group-hover:bg-black/30 transition-colors duration-200 flex flex-col items-center justify-end pb-2 gap-1 z-[2] pointer-events-none`},Wr={class:`flex items-center gap-1 opacity-0 group-hover:opacity-100 transition-opacity duration-200`},Gr={key:0,class:`text-[10px] text-white/50 font-medium truncate max-w-[100px]`},Kr={class:`text-xs text-white font-medium opacity-0 group-hover:opacity-100 transition-opacity duration-200 truncate max-w-[130px] px-1`},qr={class:`mt-2 text-center`},Jr={class:`text-xs text-muted`},Yr=1e4,Xr=ke(be({__name:`CameraEvent`,props:{event:{},cameraName:{},camera:{},loadThumbnails:{type:Function},clickDisabled:{type:Boolean}},setup(e){let r=e,i=Et(),a=N(u,void 0),o=le(`previewCanvasRef`),s=le(`cardRef`),c=G(!1),l=G(void 0),d=G(void 0),f=G(t(r.event)),m=G(`loading`),h,v=!1,{icons:y,generic:b}=ut(),x=Y(()=>y[f.value]??b),S=Y(()=>new Date(r.event.startTime).toLocaleTimeString([],{hour:`2-digit`,minute:`2-digit`})),C=Y(()=>r.event.state===`active`),w=Y(()=>!C.value&&r.event.segments?.some(e=>e?.description)),T=Y(()=>r.event.segments?.find(e=>e?.description)?.description?.title);function E(){if(!a||!r.event.endTime)return;let e=o.value;e&&(c.value=!0,a.onHoverStart(e,r.event.cameraId,r.event.id,r.event.startTime,r.event.endTime))}function D(){a&&(c.value=!1,a.onHoverEnd())}async function O(e=2){let t=await r.loadThumbnails(r.event.id,r.event.startTime);if(t){let e=g(t,r.event);if(e.url){l.value=e.url,d.value=e.label,f.value=e.type,m.value=`loaded`;return}}if(e>0)return await new Promise(e=>setTimeout(e,500)),O(e-1);m.value=`empty`}function k(){if(r.clickDisabled||!r.camera)return;let e=C.value&&Date.now()-r.event.startTime<Yr,t=r.event.segments?.find(e=>e?.description)?.description,n=[{icon:St,toggle:!0,onClick:()=>{}}];h=i.openComponentDialog(at,{data:{title:r.camera.name,stayActive:!0,hideCancelButton:!0,hideConfirmButton:!0,contentProps:{camera:r.camera,eventTimestamp:e?void 0:r.event.startTime},headerActions:t?n:void 0,draggable:!0,blockDragOnSelectors:[`.p-dialog-body`],dismissableMask:!1,modal:!1,dialogContentClass:`!px-0 h-full`,goTo:`/cameras/${r.camera.name}${e?``:`?startTs=${r.event.startTime}`}`},dialogSize:{desktop:{maxWidth:`800px`,maxHeight:`calc(100vh - max(1rem, env(safe-area-inset-top, 0px)) - max(1rem, env(safe-area-inset-bottom, 0px)))`,width:`50vw`}}})}let{stop:j}=n(s,([e])=>{e.isIntersecting&&!v&&(v=!0,j(),O())},{threshold:.1});return A(()=>r.event.state,(e,t)=>{t===`active`&&e===`ended`&&O()}),A(()=>r.event.lastUpdate,()=>{C.value&&v&&O()}),ae(()=>{requestAnimationFrame(()=>{if(!v&&s.value){let e=s.value.getBoundingClientRect();e.right>0&&e.left<window.innerWidth&&e.bottom>0&&e.top<window.innerHeight&&(v=!0,j(),O())}})}),ce(()=>{j(),h?.close()}),(e,t)=>{let n=ct,i=_,u=Ue,f=p;return Q(),W(`div`,{ref_key:`cardRef`,ref:s,class:`camera-event-card relative group cursor-pointer`,onClick:k,onMouseenter:E,onMouseleave:D},[L(T)?(Q(),U(n,{key:0})):J(``,!0),H(`div`,zr,[L(m)===`loading`?(Q(),U(i,{key:0,class:`w-full h-full rounded-xl`,width:`140px`,height:`140px`})):L(l)?(Q(),U(u,{key:1,src:L(l),alt:r.cameraName,class:`pointer-events-none w-full h-full transition-transform duration-300 group-hover:scale-105`,"image-style":{objectFit:`cover`},width:`140px`,height:`140px`,"image-container-class":`w-full h-full`},null,8,[`src`,`alt`])):(Q(),W(`div`,Br,[(Q(),U(ne(L(x)),{class:`w-8 h-8 text-white/20`}))])),L(a)?ve((Q(),W(`canvas`,{key:3,ref_key:`previewCanvasRef`,ref:o,class:`absolute inset-0 w-full h-full object-cover pointer-events-none z-[1]`},null,512)),[[_e,L(c)]]):J(``,!0),L(a)&&L(c)&&L(a).isLoading.value&&!L(w)?(Q(),W(`div`,Vr,[Z(f,{class:`w-[24px] h-[24px] m-0`,"stroke-width":`3`})])):J(``,!0),L(C)?(Q(),W(`div`,Hr,[...t[0]||=[H(`span`,{class:`relative flex h-2.5 w-2.5`},[H(`span`,{class:`animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75`}),H(`span`,{class:`relative inline-flex rounded-full h-2.5 w-2.5 bg-green-500`})],-1)]])):J(``,!0),L(l)?(Q(),W(`div`,Ur,[H(`div`,Wr,[(Q(),U(ne(L(x)),{class:`w-3.5 h-3.5 text-white/50`})),L(d)?(Q(),W(`span`,Gr,P(L(d)),1)):J(``,!0)]),H(`span`,Kr,P(r.cameraName),1)])):J(``,!0)]),H(`div`,qr,[H(`p`,Jr,P(L(S)),1)])],544)}}}),[[`__scopeId`,`data-v-9b0b497e`]]),Zr={key:0,class:`absolute top-[50px] left-[50%] translate-x-[-50%] z-2 px-3 py-2 text-shadow-md`},Qr={class:`text-sm text-color font-medium`},$r=152,ei=172,ti=5,ni=be({__name:`CuiCameraEvents`,props:{cameras:{}},setup(e){let t=e,{isTouch:n}=Ne();if(!n.value&&typeof VideoDecoder<`u`){let e=y({cacheSize:20});te(u,e),s(()=>e.dispose())}let a,{cameras:o}=fe(t),p=le(`containerRef`),h=le(`scrollContainerRef`),g=G(!0),v=G(!1),b=G({left:0,right:0}),x=G(0),{width:S}=d(p),C=Y(()=>{let e=new Map;if(o.value)for(let t of o.value)e.set(t._id,t.name);return e}),w=Y(()=>{let e=new Map;if(o.value)for(let t of o.value)e.set(t._id,t);return e}),{events:T,isLoading:E,hasMore:D,loadMore:O,loadThumbnails:k}=l({availableCameraIds:Y(()=>o.value?.map(e=>e._id)??[]),realtime:!0,pageSize:Y(()=>{let e=S.value||800;return Math.ceil(e/$r)+10}).value,filter:{hasDetections:!0}}),{start:ee}=m(()=>{v.value=!1},100,{immediate:!1}),N=Y(()=>T.value),ne=Y(()=>Math.ceil((S.value||800)/$r)),F=Y(()=>N.value.length<ne.value&&D.value),I=Y(()=>!E.value&&N.value.length===0&&!D.value),re=Y(()=>N.value.length===0?15:5),ie=Y(()=>{let{left:e}=b.value;return{left:`${-e}px`,width:`100dvw`,paddingLeft:`${e}px`}}),oe=Y(()=>{let e=b.value.left+50,t=Math.min(Math.round(45/e*100),100),n=Math.min(Math.round(58/e*100),100);return{top:`-10px`,height:`calc(100% + 20px)`,left:`${-b.value.left}px`,width:`${e}px`,background:`linear-gradient(270deg, transparent 0%, rgba(var(--ground-background-val), 0.8) ${t}%, rgba(var(--ground-background-val), 0.9) ${n}%, rgba(var(--ground-background-val), 0.95) 100%)`}}),se=Y(()=>Math.max(0,Math.floor(x.value/$r)-ti)),ce=Y(()=>{let e=ne.value;return Math.min(N.value.length,Math.ceil(x.value/$r)+e+ti)}),B=Y(()=>N.value.slice(se.value,ce.value)),ue=Y(()=>se.value*$r);function V(){let e=p.value;if(!e)return;let t=e.getBoundingClientRect();b.value={left:t.left,right:window.innerWidth-t.right}}function de(){let e=h.value;e&&(x.value=0,he(()=>{e.scrollTo({left:0,behavior:`smooth`})}))}function pe(){let e=h.value;e&&(x.value=e.scrollLeft,g.value=e.scrollLeft<5)}function me(){c(h,{disableTextSelect:!0,threshold:10,onSwipe:e=>{N.value.length===0&&(E.value||F.value||I.value)||(v.value=!0,h.value?.classList.add(`cursor-grabbing`),h.value?.scrollBy({left:-e.movementX,behavior:`smooth`}))},onSwipeEnd:()=>{h.value?.classList.remove(`cursor-grabbing`),ee()}})}return f(window,`resize`,V),f(h,`scroll`,pe,{passive:!0}),f(h,`wheel`,e=>{N.value.length===0&&(E.value||F.value||I.value)||Math.abs(e.deltaY)>Math.abs(e.deltaX)&&(e.preventDefault(),h.value?.scrollBy({left:e.deltaY}))},{passive:!1}),r(h,O,{distance:300,direction:`right`,canLoadMore:()=>D.value}),A(S,()=>V()),A(()=>N.value[0]?.id,e=>{if(!e||e===a)return;let t=a===void 0;if(a=e,t)return;let n=h.value,r=n?.scrollLeft||0;he(r<5?()=>{h.value?.scrollTo({left:0,behavior:`smooth`})}:()=>{n&&(n.scrollLeft=r+$r)})}),A([F,()=>E.value],([e,t])=>{e&&!t&&O()}),ae(()=>{V();let e=document.getElementById(`container`);e&&f(e,`transitionend`,V),n.value||me()}),(e,t)=>{let n=_,r=Xr,a=Rr,o=i;return Q(),W(`div`,{ref_key:`containerRef`,ref:p,class:`relative min-w-0`,style:R({height:`${ei}px`})},[H(`div`,{ref_key:`scrollContainerRef`,ref:h,class:M([`absolute top-0 overflow-x-auto overflow-y-hidden hide-scrollbar overscroll-x-contain`,{"overflow-x-hidden!":L(N).length===0&&(L(E)||L(F)||L(I))}]),style:R(L(ie))},[H(`div`,{class:`relative`,style:R({width:`${L(N).length*$r}px`,height:`${ei}px`})},[H(`div`,{class:`absolute top-0 left-0 flex`,style:R({transform:`translateX(${L(ue)}px)`})},[L(N).length===0&&(L(E)||L(F)||L(I))?(Q(!0),W(q,{key:0},z(L(re),e=>(Q(),W(`div`,{key:`skeleton-${e}`,class:`event-card flex flex-col items-center justify-center w-[140px] mr-3`},[Z(n,{class:`rounded-xl`,width:`140px`,height:`140px`,animation:L(I)?`none`:`wave`},null,8,[`animation`]),Z(n,{class:`mt-2`,width:`50px`,height:`16px`,animation:L(I)?`none`:`wave`},null,8,[`animation`])]))),128)):(Q(!0),W(q,{key:1},z(L(B),e=>(Q(),W(`div`,{key:e.id,class:`event-card flex-none w-[140px] mr-3`},[Z(r,{event:e,"camera-name":L(C).get(e.cameraId),camera:L(w).get(e.cameraId),"load-thumbnails":L(k),"click-disabled":L(v)},null,8,[`event`,`camera-name`,`camera`,`load-thumbnails`,`click-disabled`])]))),128))],4)],4)],6),L(I)&&!L(E)&&!L(F)?(Q(),W(`div`,Zr,[H(`span`,Qr,P(e.$t(`components.camera_events.no_events`)),1)])):J(``,!0),!L(g)&&L(b).left>0?(Q(),W(`div`,{key:1,class:`absolute pointer-events-none z-1`,style:R(L(oe))},null,4)):J(``,!0),Z(j,{name:`fade-2`},{default:K(()=>[!L(g)&&L(N).length>0?(Q(),U(o,{key:0,rounded:``,severity:`secondary`,class:`absolute left-1 cui-icon-md shadow-md z-2 opacity-70 hover:opacity-100 transition-opacity`,style:{top:`70px`,transform:`translateY(-50%)`},onClick:de},{icon:K(()=>[Z(a,{width:`100%`,height:`100%`})]),_:1})):J(``,!0)]),_:1})],4)}}}),ri={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function ii(e,t){return Q(),W(`svg`,ri,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M18 8a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2h9V6a3 3 0 0 0-3-3a3 3 0 0 0-3 3H7a5 5 0 0 1 5-5a5 5 0 0 1 5 5v2zm-6 9a2 2 0 0 0 2-2a2 2 0 0 0-2-2a2 2 0 0 0-2 2a2 2 0 0 0 2 2`},null,-1)]])}var ai=X({name:`mdi-lock-open`,render:ii}),oi={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function si(e,t){return Q(),W(`svg`,oi,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M21 3H3c-.6 0-1 .4-1 1v6c0 .6.4 1 1 1h18c.6 0 1-.4 1-1V4c0-.6-.4-1-1-1m0 10H3c-.6 0-1 .4-1 1v6c0 .6.4 1 1 1h18c.6 0 1-.4 1-1v-6c0-.6-.4-1-1-1`},null,-1)]])}var ci=X({name:`mdi-view-agenda`,render:si}),li={class:`flex flex-col`},ui={class:`flex flex-row items-center justify-center gap-2`},di={key:0,class:`events-section mb-4`},fi={key:0,class:`page-title mb-2`},pi={class:`flex flex-col flex-1 overflow-x-hidden`},mi={key:0,class:`page-title`},hi={class:`flex flex-1 min-h-0 flex-col items-center justify-center w-full gap-4 py-16`,key:`no-cameras`},gi={class:`w-16 h-16 rounded-full bg-primary-500/10 flex items-center justify-center`},_i={class:`flex flex-col items-center gap-1 max-w-[400px] text-center`},vi={class:`text-color font-semibold text-base`},yi={class:`text-muted text-sm`},bi={key:`defaultView`},xi={key:`groupedView`,class:`flex flex-col gap-6`},Si={class:`text-sm font-semibold text-muted uppercase tracking-wide mb-2`},Ci=ke(be({__name:`Home`,setup(e){let t=Tt(()=>B(()=>import(`./CameraConsole-DGbeilsL.js`),__vite__mapDeps([3,1,2,4,5,6,7,8,9,10,11,12,13,14,15,16]))),n=new Ct,r=wt(),a=Et(),{t:o}=h(),{smBreakpoint:s}=Pe(),{isTouch:c}=Ne(),{width:l,height:u}=Ae(),{uiSettings:d}=Se(Fe()),{data:f,isLoading:p}=n.getCamerasQuery({page:1,pageSize:-1}),m=V({}),g=Y(()=>p.value),v=Y(()=>gt(void 0,`admin`)),y=Y(()=>c.value?xt:yt),b=Y(()=>d.value.cameras.viewMode??`default`),x=Y(()=>`repeat(auto-fill, minmax(${s.value?`100%`:`300px`}, 1fr))`),S=Y(()=>{let e=x.value;return w.value.length<2?`${e} 50%`:e}),C=Y(()=>{let e=s.value?1:Math.max(1,Math.floor(l.value/300)),t=l.value/e*9/16+8;return e*Math.max(1,Math.ceil(u.value/t))}),w=Y(()=>f.value?.result?E(f.value.result,d.value.cameras.order||[]):[]),T=Y(()=>{if(!f.value?.result)return[];let e=d.value.cameras.groupOrder||{},t=new Map;for(let e of f.value.result){let n=e.room||`Default`;t.has(n)||t.set(n,[]),t.get(n).push(e)}let n=[];for(let[r,i]of t){let t=e[r]||[];n.push({room:r,cameras:E(i,t)})}return n.sort((e,t)=>e.room===`Default`?-1:t.room===`Default`?1:e.room.localeCompare(t.room)),n});function E(e,t){return[...e].sort((e,n)=>{let r=t.indexOf(e._id),i=t.indexOf(n._id);return r!==-1&&i!==-1?r-i:r===-1?i===-1?e.name.localeCompare(n.name):1:-1})}function D(){d.value.cameras.viewMode=b.value==="default"?`grouped`:`default`}function k(e){let t=w.value.find(t=>t._id===e);return{camera:t,index:t?w.value.indexOf(t):-1}}function A(e,t){let{index:n}=k(e);if(n===-1||n===t)return;let r=w.value.map(e=>e._id),[i]=r.splice(n,1);r.splice(t,0,i),d.value.cameras.order=r}function ee(e,t){let n=T.value.find(t=>t.room===e);if(!n)return{camera:void 0,index:-1};let r=n.cameras.find(e=>e._id===t);return{camera:r,index:r?n.cameras.indexOf(r):-1}}function te(e,t,n){let{index:r}=ee(e,t);if(r===-1||r===n)return;let i=T.value.find(t=>t.room===e);if(!i)return;let a=i.cameras.map(e=>e._id),[o]=a.splice(r,1);a.splice(n,0,o);let s={...d.value.cameras.groupOrder||{}};s[e]=a,d.value.cameras.groupOrder=s}function M(e){a.openComponentDialog(t,{data:{title:o(`components.dialog.title.log`),confirmText:o(`components.form.button.download`),loading:g,stayActive:!0,contentProps:{cameraName:e},dialogContentClass:`not-md:px-0 h-full md:h-[50vh]`}})}return(e,t)=>{let n=Dt,a=ni,o=_,c=qe,l=Fr,u=i,p=Mr,h=mt,E=Er;return Q(),W(`div`,li,[Z(n,{position:`center`},{default:K(()=>[H(`div`,ui,[Z(L(I),{src:L(O)(`logo_animated.svg`),width:`18px`,height:`18px`,title:`camera.ui`,"aria-label":`camera.ui`},null,8,[`src`]),t[2]||=H(`span`,{class:`font-semibold text-xl truncate`},`camera.ui`,-1)])]),_:1}),L(d).cameras.showEvents&&(L(g)||L(w).length)?(Q(),W(`div`,di,[L(s)?J(``,!0):(Q(),W(`h1`,fi,P(e.$t(`components.camera_events.title`)),1)),Z(a,{cameras:L(f)?.result},null,8,[`cameras`])])):J(``,!0),H(`div`,pi,[L(g)||L(w).length?(Q(),W(`h1`,mi,P(e.$t(`views.cameras.title`)),1)):J(``,!0),Z(j,{name:`fade-2`,mode:`out-in`},{default:K(()=>[L(g)?(Q(),W(`div`,{key:`loading`,class:`grid w-full gap-2`,style:R({gridTemplateColumns:L(x)})},[(Q(!0),W(q,null,z(L(C),e=>(Q(),U(o,{key:e,class:`aspect-video !h-auto cui-card`}))),128))],4)):L(w).length?L(b)==="default"?(Q(),W(`div`,bi,[H(`div`,{class:`grid w-full gap-1`,style:R({gridTemplateColumns:L(S)})},[Z(L(_t),{backend:L(y)},{default:K(()=>[Z(pe,{name:`list`},{default:K(()=>[(Q(!0),W(q,null,z(L(w),t=>(Q(),U(p,{key:t._id,camera:t,"find-card":k,"move-card":A,"no-drag":L(d).cameras.dragDisabled,"snapshot-ref":e=>L(m)[t.name]=e,class:`shadow-lg rounded-xl transition-transform`,"view-transition":``,onRefreshSnapshot:e=>L(m)[t.name]?.refresh(),onOpenConsole:e=>M(t.name),onOpenSettings:e=>L(r).open({cameraName:t.name}),onClick:n=>e.$router.push(`/cameras/${t.name}`)},null,8,[`camera`,`no-drag`,`snapshot-ref`,`onRefreshSnapshot`,`onOpenConsole`,`onOpenSettings`,`onClick`]))),128))]),_:1})]),_:1},8,[`backend`])],4)])):(Q(),W(`div`,xi,[(Q(!0),W(q,null,z(L(T),t=>(Q(),W(`div`,{key:t.room},[H(`h2`,Si,P(t.room===`Default`?e.$t(`components.form.label.room_default`):t.room),1),H(`div`,{class:`grid w-full gap-1`,style:R({gridTemplateColumns:L(S)})},[Z(L(_t),{backend:L(y)},{default:K(()=>[Z(pe,{name:`list`},{default:K(()=>[(Q(!0),W(q,null,z(t.cameras,n=>(Q(),U(p,{key:n._id,camera:n,"find-card":e=>ee(t.room,e),"move-card":(e,n)=>te(t.room,e,n),"no-drag":L(d).cameras.dragDisabled,"snapshot-ref":e=>L(m)[n.name]=e,class:`shadow-lg rounded-xl transition-transform`,"view-transition":``,onRefreshSnapshot:e=>L(m)[n.name]?.refresh(),onOpenConsole:e=>M(n.name),onOpenSettings:e=>L(r).open({cameraName:n.name}),onClick:t=>e.$router.push(`/cameras/${n.name}`)},null,8,[`camera`,`find-card`,`move-card`,`no-drag`,`snapshot-ref`,`onRefreshSnapshot`,`onOpenConsole`,`onOpenSettings`,`onClick`]))),128))]),_:2},1024)]),_:2},1032,[`backend`])],4)]))),128))])):(Q(),W(`div`,hi,[H(`div`,gi,[Z(c,{class:`w-8 h-8 text-primary-500`})]),H(`div`,_i,[H(`span`,vi,P(e.$t(`views.cameras.no_cameras`)),1),H(`span`,yi,P(e.$t(`views.cameras.no_cameras_hint`)),1)]),L(v)?(Q(),U(u,{key:0,class:`cui-button-medium mt-2`,label:e.$t(`views.cameras.get_started`),onClick:t[0]||=t=>e.$router.push(`/cameras`)},{icon:K(()=>[Z(l,{class:`w-4 h-4`})]),_:1},8,[`label`])):J(``,!0)]))]),_:1})]),L(w).length>1?(Q(),U(E,{key:1},{default:K(()=>[Z(h,{grouped:``,"tooltip-props":{value:L(b)==="default"?e.$t(`components.form.tooltip.view_grouped`):e.$t(`components.form.tooltip.view_default`)},"button-props":{severity:L(b)==="default"?`secondary`:`primary`},icon:L(b)==="default"?L(st):L(ci),"icon-props":{width:`100%`,height:`100%`},onClick:D},null,8,[`tooltip-props`,`button-props`,`icon`]),Z(h,{grouped:``,"tooltip-props":{value:L(d).cameras.dragDisabled?e.$t(`components.form.tooltip.enable_drag`):e.$t(`components.form.tooltip.disable_drag`)},"button-props":{severity:L(d).cameras.dragDisabled?`secondary`:`success`},icon:L(d).cameras.dragDisabled?L(Oe):L(ai),"icon-props":{width:`100%`,height:`100%`},onClick:t[1]||=e=>L(d).cameras.dragDisabled=!L(d).cameras.dragDisabled},null,8,[`tooltip-props`,`button-props`,`icon`])]),_:1})):J(``,!0)])}}}),[[`__scopeId`,`data-v-6e795f3f`]]),wi={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function Ti(e,t){return Q(),W(`svg`,wi,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M20 11v2H8l5.5 5.5l-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5L8 11z`},null,-1)]])}var Ei=X({name:`mdi-arrow-left`,render:Ti}),Di={viewBox:`0 0 25 24`,width:`1.26em`,height:`1.2em`};function Oi(e,t){return Q(),W(`svg`,Di,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M25.418 12v.03c0 .543-.156 1.05-.425 1.479l.007-.012a2.77 2.77 0 0 1-1.112 1.021l-.016.007c.108.403.17.865.17 1.343v.018v-.001a6.33 6.33 0 0 1-1.518 4.08l.007-.009a10.2 10.2 0 0 1-4.052 2.936l-.069.024c-1.635.686-3.535 1.085-5.529 1.085L12.728 24h.008l-.146.001c-1.991 0-3.888-.399-5.617-1.121l.096.036a10.26 10.26 0 0 1-4.101-2.944l-.013-.016a6.3 6.3 0 0 1-1.51-4.069v-.007q.002-.707.161-1.366l-.008.04a2.86 2.86 0 0 1-1.156-1.029l-.007-.011a2.8 2.8 0 0 1-.44-1.512c0-.777.314-1.481.823-1.991a2.7 2.7 0 0 1 1.952-.83h.05h-.003h.039c.799 0 1.519.343 2.019.889l.002.002a13.14 13.14 0 0 1 7.296-2.298h.008l1.646-7.39a.48.48 0 0 1 .211-.296l.002-.001a.46.46 0 0 1 .372-.071l-.003-.001l5.234 1.149c.174-.353.435-.639.757-.838l.009-.005c.319-.2.707-.319 1.123-.319c.585 0 1.116.235 1.501.617c.385.369.624.888.624 1.463v.036v-.002v.03c0 .578-.239 1.1-.624 1.472l-.001.001a2.1 2.1 0 0 1-1.504.624a2.12 2.12 0 0 1-1.497-.617a2.03 2.03 0 0 1-.617-1.461v-.038v.002l-4.738-1.05l-1.475 6.694c2.747.02 5.293.865 7.407 2.3l-.047-.03a2.8 2.8 0 0 1 2.031-.865c.78 0 1.486.317 1.997.83c.509.496.825 1.189.825 1.955v.039V12zM5.929 14.822v.032c0 .576.236 1.097.617 1.471a2.02 2.02 0 0 0 1.463.624h.036h-.002a2.13 2.13 0 0 0 2.128-2.128v-.034c0-.575-.239-1.094-.624-1.462l-.001-.001a2.06 2.06 0 0 0-1.471-.617h-.034h.002a2.13 2.13 0 0 0-2.114 2.113v.001zm11.489 5.036a.513.513 0 0 0 0-.738a.48.48 0 0 0-.341-.142h-.014h.001h-.008a.53.53 0 0 0-.361.142a3.54 3.54 0 0 1-1.694.876l-.023.004a9.26 9.26 0 0 1-4.604-.014l.064.014a3.55 3.55 0 0 1-1.721-.882l.002.002a.53.53 0 0 0-.361-.142h-.019a.48.48 0 0 0-.341.142a.47.47 0 0 0-.16.352v.014c0 .146.061.278.16.372a4.2 4.2 0 0 0 1.65.957l.03.008a8 8 0 0 0 1.695.414l.043.005q.666.064 1.29.064t1.29-.064a8.4 8.4 0 0 0 1.796-.437l-.058.019a4.2 4.2 0 0 0 1.685-.966l-.002.002zm-.042-2.908h.034c.575 0 1.094-.239 1.462-.624l.001-.001c.381-.374.617-.895.617-1.471v-.034v.002a2.13 2.13 0 0 0-2.113-2.114h-.033c-.576 0-1.097.236-1.471.617a2.02 2.02 0 0 0-.624 1.463v.036v-.002a2.13 2.13 0 0 0 2.128 2.128z`},null,-1)]])}var ki=X({name:`fontisto-reddit`,render:Oi}),Ai={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function ji(e,t){return Q(),W(`svg`,Ai,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M19.27 5.33C17.94 4.71 16.5 4.26 15 4a.1.1 0 0 0-.07.03c-.18.33-.39.76-.53 1.09a16.1 16.1 0 0 0-4.8 0c-.14-.34-.35-.76-.54-1.09c-.01-.02-.04-.03-.07-.03c-1.5.26-2.93.71-4.27 1.33c-.01 0-.02.01-.03.02c-2.72 4.07-3.47 8.03-3.1 11.95c0 .02.01.04.03.05c1.8 1.32 3.53 2.12 5.24 2.65c.03.01.06 0 .07-.02c.4-.55.76-1.13 1.07-1.74c.02-.04 0-.08-.04-.09c-.57-.22-1.11-.48-1.64-.78c-.04-.02-.04-.08-.01-.11c.11-.08.22-.17.33-.25c.02-.02.05-.02.07-.01c3.44 1.57 7.15 1.57 10.55 0c.02-.01.05-.01.07.01c.11.09.22.17.33.26c.04.03.04.09-.01.11c-.52.31-1.07.56-1.64.78c-.04.01-.05.06-.04.09c.32.61.68 1.19 1.07 1.74c.03.01.06.02.09.01c1.72-.53 3.45-1.33 5.25-2.65c.02-.01.03-.03.03-.05c.44-4.53-.73-8.46-3.1-11.95c-.01-.01-.02-.02-.04-.02M8.52 14.91c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.84 2.12-1.89 2.12m6.97 0c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.83 2.12-1.89 2.12`},null,-1)]])}var Mi=X({name:`ic-baseline-discord`,render:ji}),Ni={class:`flex justify-center items-center draggable-region`},Pi={class:`card-background border-color relative w-full sm:w-[400px] sm:rounded-2xl sm:border-[1px] shadow-none sm:shadow-xl h-full sm:h-auto sm:my-4`},Fi={class:`flex flex-col h-full p-10 non-draggable-region`},Ii={class:`flex flex-col items-center justify-center mb-10`},Li={class:`flex justify-between items-center`},Ri={class:`flex items-center gap-1 ml-auto`},zi=be({__name:`CuiAuthCard`,props:{logoUrl:{}},setup(e){return(t,n)=>{let r=Be,a=pt,o=i,s=Mi,c=ki;return Q(),W(`div`,Ni,[H(`div`,Pi,[H(`div`,Fi,[H(`div`,Ii,[Z(L(I),{src:e.logoUrl,height:`60px`,title:`camera.ui`,"aria-label":`camera.ui`,class:`hover:scale-105 active:scale-105 focus:scale-105 transition-all`},null,8,[`src`]),n[3]||=H(`span`,{class:`text-2xl ml-3 mt-2 font-bold text-color`},`camera.ui`,-1)]),F(t.$slots,`default`),Z(r,{class:`mt-15`}),H(`div`,Li,[F(t.$slots,`footer-left`),H(`div`,Ri,[Z(o,{severity:`secondary`,class:`cui-icon-md`,text:``,rounded:``,onClick:n[0]||=e=>t.$router.absUrl(`https://github.com/cameraui/camera.ui`,!0)},{icon:K(()=>[Z(a,{class:`text-muted`,width:`100%`,height:`100%`})]),_:1}),Z(o,{severity:`secondary`,class:`cui-icon-md`,text:``,rounded:``,onClick:n[1]||=e=>t.$router.absUrl(`https://discord.gg/bBGnGcbz8N`,!0)},{icon:K(()=>[Z(s,{class:`text-muted`,width:`100%`,height:`100%`})]),_:1}),Z(o,{severity:`secondary`,class:`cui-icon-md`,text:``,rounded:``,onClick:n[2]||=e=>t.$router.absUrl(`https://reddit.com/r/cameraui/`,!0)},{icon:K(()=>[Z(c,{class:`text-muted`,width:`100%`,height:`100%`})]),_:1})])])]),n[4]||=H(`div`,{class:`bg-primary-500 opacity-0 sm:opacity-100 absolute blur-[20px] w-[200px] h-[30px] left-[50%] -translate-x-[50%] bottom-[25px] -z-1`},null,-1)])])}}}),Bi=`cui_device_id`,Vi=null,Hi=null;async function Ui(){if(Vi)return Vi;let e=localStorage.getItem(Bi);if(e)return Vi=e,e;let t=At();return localStorage.setItem(Bi,t),Vi=t,t}async function Wi(){return Hi||(Hi=Gi(navigator.userAgent),Hi)}function Gi(e){let t=/Edg\//.test(e)?`Edge`:/OPR\//.test(e)||/Opera/.test(e)?`Opera`:/Firefox\//.test(e)?`Firefox`:/Chrome\//.test(e)&&!/Chromium/.test(e)?`Chrome`:/Safari\//.test(e)&&!/Chrome\//.test(e)?`Safari`:`Browser`,n=/Windows NT/.test(e)?`Windows`:/Mac OS X/.test(e)?`macOS`:/Android/.test(e)?`Android`:/iPhone|iPad|iPod/.test(e)?`iOS`:/Linux/.test(e)?`Linux`:``;return n?`${t} on ${n}`:t}var Ki={key:`connecting`,class:`flex flex-col items-center justify-center h-full gap-4`},qi={class:`text-muted text-sm text-center`},Ji={class:`flex flex-col gap-10 sm:gap-6 w-full mt-10 sm:mt-0`},Yi={for:`username`,class:`cui-label`},Xi={for:`password`,class:`cui-label`},Zi={class:`flex flex-col gap-6 mt-10`},Qi={class:`flex items-center field-checkbox-gap`},$i={for:`rememberMe`,class:`cui-label-checkbox`},ea={key:`2fa`,class:`flex flex-col h-full`},ta={class:`flex flex-col items-center text-center mt-10 sm:mt-0`},na={class:`text-lg font-semibold mb-2`},ra={class:`text-muted text-sm`},ia={class:`flex flex-col items-center mt-10`},aa={class:`mt-4 text-xs text-muted text-center`},oa={class:`flex flex-col gap-3 mt-auto pt-10`},sa=ke(be({__name:`Login`,setup(e){S();let t=b();Et();let{t:n}=h(),r=T(),a=x(),{isNeedsAuth:s,isOnline:c,inTrouble:l}=a,u=w(),{loginLoading:d,requires2FA:f}=Se(u),m=Ke(),g=le(`formRef`),_=G(``),y=G(``),C=G(!1),k=G(``),A=G(!1),te=G(!1);G(!1);let M=Y(()=>!m.isHomeActive||m.redirectInfo!==null),N=Y(()=>r===`cloud`&&m.isHomeActive),ne=Y(()=>!c.value&&!s.value&&!d.value&&!f.value),F=Y(()=>l.value?n(`connection.unreachable`):n(`connection.connecting_remote`)),I=Y(()=>!1);function re(){a.retry()}function oe(){if(m.redirectInfo){let e=m.redirectInfo.sourceUrl;m.redirectInfo=null,window.location.href=e;return}m.switchInstance(null)}async function ce(e){try{let[t,n]=await Promise.all([Ui(),Wi()]);return await u.login({username:e.username,password:e.password,kind:`web`,persistent:C.value,device:{id:t,name:n}}),!0}catch(e){return t.add({severity:`error`,detail:e,life:3e3}),!1}}async function R(){await ce({username:_.value,password:y.value})&&await ue({username:_.value,password:y.value})}async function z(){let e=await B();if(e){A.value=!0;try{let t=await Ot(e,n(`views.login.biometric_reason`));if(!t)return;_.value=t.username,y.value=t.password,await ce(t)||(await kt(e),te.value=!1)}finally{A.value=!1}}}async function B(){return null}async function ue(e){}async function V(){window.location.href=E}async function de(){if(!(k.value.length<6))try{await u.verify2FA(k.value)}catch(e){t.add({severity:`error`,detail:D(e)??n(`views.login.2fa_invalid_code`),life:3e3}),k.value=``}}function fe(){u.cancel2FA(),k.value=``}return ae(async()=>{}),(e,t)=>{let n=Ei,r=i,a=Ie,s=p,c=v,u=ze,m=Ve,h=Le,b=rt,x=He,S=o;return Q(),U(zi,{"logo-url":L(O)(`logo_animated.svg`)},me({default:K(()=>[Z(j,{name:`slide-fade`,mode:`out-in`},{default:K(()=>[L(ne)?(Q(),W(`div`,Ki,[Z(s,{"stroke-width":`4`,class:`!w-12 !h-12`}),H(`p`,qi,P(L(F)),1),L(l)?(Q(),U(r,{key:0,size:`small`,severity:`secondary`,label:e.$t(`connection.retry`),onClick:re},null,8,[`label`])):J(``,!0)])):L(f)?ve((Q(),W(`div`,ea,[H(`div`,ta,[H(`h2`,na,P(e.$t(`views.login.2fa_title`)),1),H(`p`,ra,P(e.$t(`views.login.2fa_description`)),1)]),H(`div`,ia,[Z(x,{modelValue:L(k),"onUpdate:modelValue":t[3]||=e=>ge(k)?k.value=e:null,length:6,"integer-only":``,size:`large`,onComplete:de},null,8,[`modelValue`]),H(`p`,aa,P(e.$t(`views.login.2fa_backup_hint`)),1)]),H(`div`,oa,[Z(r,{class:`text-white font-semibold cui-button-large`,loading:L(d),disabled:L(k).length<6,label:e.$t(`views.login.2fa_verify`),fluid:``,onClick:de},null,8,[`loading`,`disabled`,`label`]),Z(r,{severity:`secondary`,class:`cui-button-large`,text:``,label:e.$t(`components.form.button.cancel`),fluid:``,onClick:fe},null,8,[`label`])])])),[[S]]):(Q(),U(L(xe),{key:`login`,ref_key:`formRef`,ref:g,"validation-schema":L(jt),class:`flex flex-col h-full`,onSubmit:R},{default:K(()=>[H(`div`,Ji,[Z(L(se),{modelValue:L(_),"onUpdate:modelValue":t[0]||=e=>ge(_)?_.value=e:null,modelModifiers:{trim:!0},name:`username`,as:`div`,class:`flex flex-col field-gap`},{default:K(({field:t,errors:n})=>[H(`label`,Yi,P(e.$t(`components.form.label.username`)),1),Z(u,null,{default:K(()=>[Z(c,ee({invalid:n.length>0,type:`text`,size:`large`,loading:L(d)},t),null,16,[`invalid`,`loading`])]),_:2},1024),Z(j,{name:`fade`},{default:K(()=>[Z(L(ie),{name:`username`,class:`cui-input-error`})]),_:1})]),_:1},8,[`modelValue`]),Z(L(se),{modelValue:L(y),"onUpdate:modelValue":t[1]||=e=>ge(y)?y.value=e:null,name:`password`,as:`div`,class:`flex flex-col field-gap`},{default:K(({field:t,errors:n})=>[H(`label`,Xi,P(e.$t(`components.form.label.password`)),1),Z(u,null,{default:K(()=>[Z(m,ee({invalid:n.length>0,size:`large`,loading:L(d),feedback:!1,"toggle-mask":``},t),null,16,[`invalid`,`loading`])]),_:2},1024),Z(j,{name:`fade`},{default:K(()=>[Z(L(ie),{name:`password`,class:`cui-input-error`})]),_:1})]),_:1},8,[`modelValue`])]),H(`div`,Zi,[L(!1)?J(``,!0):(Q(),U(L(se),{key:0,"model-value":L(C),name:`rememberMe`,type:`checkbox`,"checked-value":!0,"unchecked-value":!1,as:`div`,class:`flex flex-col field-gap`},{default:K(({field:n,errors:r})=>[H(`div`,Qi,[Z(h,ee({"model-value":L(C)},n,{invalid:r.length>0,class:`mr-2`,binary:``,loading:L(d),onValueChange:t[2]||=e=>C.value=e}),null,16,[`model-value`,`invalid`,`loading`]),H(`label`,$i,P(e.$t(`components.form.label.remember_me`)),1)]),Z(j,{name:`fade`},{default:K(()=>[Z(L(ie),{name:`rememberMe`,class:`cui-input-checkbox-error`})]),_:1})]),_:1},8,[`model-value`])),Z(r,{type:`submit`,class:`text-white font-semibold cui-button-large`,loading:L(d),label:e.$t(`components.form.button.login`),fluid:``},null,8,[`loading`,`label`]),L(I)?(Q(),U(r,{key:1,type:`button`,severity:`secondary`,class:`cui-button-large`,text:``,loading:L(A),label:e.$t(`components.form.button.biometric_login`),fluid:``,onClick:z},{icon:K(()=>[Z(b,{class:`w-5 h-5 mr-2`})]),_:1},8,[`loading`,`label`])):J(``,!0)])]),_:1},8,[`validation-schema`]))]),_:1})]),_:2},[L(M)||L(N)?{name:`footer-left`,fn:K(()=>[L(M)?(Q(),U(r,{key:0,severity:`secondary`,text:``,size:`small`,class:`text-muted`,label:e.$t(`components.instance_switcher.go_back`),onClick:oe},{icon:K(()=>[Z(n,{class:`w-4 h-4`})]),_:1},8,[`label`])):(Q(),U(r,{key:1,severity:`secondary`,text:``,size:`small`,class:`text-muted`,label:e.$t(`views.login.pick_server`),onClick:V},{icon:K(()=>[Z(a,{class:`w-4 h-4`})]),_:1},8,[`label`]))]),key:`0`}:void 0]),1032,[`logo-url`])}}}),[[`__scopeId`,`data-v-20e156aa`]]),ca=()=>B(()=>import(`./404-CZDMFg2Z.js`),__vite__mapDeps([17,5,2,1,9,6,10,18])),la=()=>B(()=>import(`./FirstSteps-YNR-3tqt.js`),__vite__mapDeps([19,5,2,1,9,6,10,20,21,22,4,7,23,24,25,13,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49])),ua=()=>B(()=>import(`./Cameras-CVID1akl.js`),__vite__mapDeps([50,5,2,1,9,6,10,13,4,7,23,20,51,52,21,11,53,22,24,25,26,36,38,54,43,55,56,57,58,39,40,41,59,60,61])),da=()=>B(()=>import(`./Camera-By03S83s.js`),__vite__mapDeps([62,5,2,1,9,6,10,63,13,4,7,23,20,64,65,8,66,25,26,21,67,68,29,30,69,70,71,31,72,32,73,11,33,34,74,53,22,24,75,76,77,78,79,80,81])),fa=()=>B(()=>import(`./Camview-B-Pqm0Fw.js`),__vite__mapDeps([82,5,2,1,9,6,10,63,13,4,7,23,20,64,65,8,66,25,26,21,67,68,29,30,69,70,71,31,72,32,73,11,33,34,74,53,22,24,75,83,84,37,36,38,77,55,85,57,86,79,80,87,88,59,89,90,91,92])),pa=()=>B(()=>import(`./Recordings-Daf0TCPA.js`),__vite__mapDeps([93,5,2,1,63,9,6,10,13,4,7,23,20,64,65,8,66,25,26,21,67,68,29,30,69,70,71,31,72,32,73,11,33,34,74,53,22,24,75,94,76,95,96,97,98,59,99,100,101,102])),ma=()=>B(()=>import(`./Faces-u9Rxm4Ti.js`),__vite__mapDeps([103,5,2,1,9,6,10,4,7,23,20,31,52,22,24,25,13,26,98,104,86,105,60])),ha=()=>B(()=>import(`./Plugins-B7ZOk3ld.js`),__vite__mapDeps([106,5,2,1,13,4,6,7,23,20,107,52,21,9,10,22,24,25,26,98,104,105,60,108,109,110,64,68,29,30,69,38,36,111,112,113,114,115,116])),ga=()=>B(()=>import(`./Plugin-CWjFyBeK.js`),__vite__mapDeps([117,5,2,1,9,6,10,13,4,7,20,51,118,64,21,68,29,25,26,30,69,71,31,72,11,53,22,23,24,98,38,36,54,43,55,56,104,119,57,120,121,122,105,109,110,111,112,113,114,115,123])),_a=()=>B(()=>import(`./Adminpanel-Cciuxh1q.js`),__vite__mapDeps([124,5,2,1,9,6,10,4,7,98,38,36,104,27,45,105,125,13,20,43,40,126,127,128])),va=()=>B(()=>import(`./Config-CfunWNtM.js`),__vite__mapDeps([129,2,5,1,9,6,10,4,7,20,22,23,24,25,13,26,98,43,27,105,78,130])),ya=()=>B(()=>import(`./Logs-CpAkrsEJ.js`),__vite__mapDeps([131,5,2,1,9,6,10,7,20,8,68,13,29,25,26,30,69,11,22,4,23,24,98,104,12,14,15,16,27,105,108,78,87,88,59,89,132,133])),ba=()=>B(()=>import(`./Terminal-h5vqtN-o.js`),__vite__mapDeps([134,5,2,1,9,6,10,13,4,7,20,98,14,15,105,135,78,87,23,88,59,89,133,136])),xa=()=>B(()=>import(`./Automations-by_LN5br.js`),__vite__mapDeps([137,5,2,1,9,6,10,4,7,20,138,52,22,23,24,25,13,26,98,86,139,140,141,142,65,105,60,108])),Sa=()=>B(()=>import(`./Automation-CMMDPrn0.js`),__vite__mapDeps([143,5,2,1,9,6,10,13,4,7,23,20,68,29,25,26,30,69,70,22,24,98,144,139,145,140,141,142,65,146,147,105,60,148,135,149])),Ca=()=>B(()=>import(`./Instances-CWzMYIvB.js`),__vite__mapDeps([150,5,2,1,9,6,10,4,7,20,151,21,22,23,24,25,13,26,52,68,29,30,69,98,105,60,108,114])),wa=()=>B(()=>import(`./Workers-xo6c0O5M.js`),__vite__mapDeps([152,5,2,1,9,6,10,4,7,20,153,11,33,34,98,39,13,40,41,105,125,43,126,127,128])),Ta=()=>B(()=>import(`./Settings-B6lgr4fp.js`),__vite__mapDeps([154,5,2,1,6,13,4,7,21,9,10,98,77,101,155])),Ea=()=>B(()=>import(`./Menu-DEyxvA8K.js`),__vite__mapDeps([156,5,2,1,9,6,10,157,29,13,25,20,26,30,21,68,69,158,127])),Da=()=>B(()=>import(`./About-TDIJXs5o.js`),__vite__mapDeps([159,5,2,1,9,6,10,4,7,24,20,160,98,105])),Oa=()=>B(()=>import(`./Console-B4SQZA5X.js`),__vite__mapDeps([161,5,2,1,9,6,10,20,8,98,4,7,162,105,108,87,13,23,88,59,89,132])),ka=()=>B(()=>import(`./SettingsAccount-BgpeeHsR.js`),__vite__mapDeps([163,28,5,2,1,9,6,10,13,20,29,25,26,30,31,32,33,34,22,4,7,23,24,35,36,37,38,39,40,41,42,43,44,45,46])),Aa=()=>B(()=>import(`./SettingsAppearance-DSNXI3t4.js`),__vite__mapDeps([164,47,5,2,1,6,7,20,21,9,10,43,48,24])),ja=()=>B(()=>import(`./SettingsBackup-CCEtuJsQ.js`),__vite__mapDeps([165,5,2,1,9,6,10,20,8,22,4,7,23,24,25,13,26,27,122,49,166])),Ma=()=>B(()=>import(`./SettingsRecordings-uNRwROAh.js`),__vite__mapDeps([167,5,2,1,9,6,10,20,11,54,13,23,25,26,38,36,43,55,56,39,40,41,168,126,111,112,22,4,7,24,113])),Na=()=>B(()=>import(`./SettingsRemote-Dg3BfdmI.js`),__vite__mapDeps([169,5,2,1,9,6,10,13,23,20,170,33,34,22,4,7,24,25,26,38,36,42,43,44,27,171])),Pa=()=>B(()=>import(`./SettingsSystem-DwXSeR_Z.js`),__vite__mapDeps([172,5,2,1,9,6,10,24,160,8,21,22,4,7,23,20,25,13,26,27])),Fa=()=>B(()=>import(`./SettingsUsers-CimG6HaL.js`),__vite__mapDeps([173,5,2,1,9,6,10,4,7,20,29,13,25,26,30,68,69,22,23,24,37,36,38,86,39,40,41])),Ia=()=>B(()=>import(`./SettingsNotifications-OV4-nraE.js`),__vite__mapDeps([174,5,2,1,9,6,10,24,20,21,144,175,86,39,13,40,41])),{smBreakpoint:La}=Pe(),Ra=[{name:`NotFound`,path:`/:pathMatch(.*)*`,component:ca,meta:{name:`notfound`,auth:{requiresAuth:!1,role:`none`}}},{name:`Login`,path:`/login`,alias:`/`,component:sa,meta:{name:`login`,auth:{requiresAuth:!1,role:`none`},ui:{background:Y(()=>La.value?`var(--card-background)`:void 0)}}},{name:`FirstSteps`,path:`/first-steps`,component:la,meta:{name:`firststeps`,auth:{requiresAuth:!0,role:`user`}}},{name:`Home`,path:`/home`,component:Ci,meta:{name:`home`,auth:{requiresAuth:!0,role:`user`},ui:{containerSettings:{showTitle:!0,padding:!0,allowOverflowX:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`top`,icon:{default:Pn,active:De}},bottombar:{icon:{default:Pn,active:De}}}},{name:`Cameras`,path:`/cameras`,component:ua,meta:{name:`cameras`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{showTitle:!0,padding:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`top`,icon:{default:We,active:qe}},bottombar:{icon:{default:We,active:qe}}}},{name:`Camera`,path:`/cameras/:cameraname`,component:da,meta:{name:`camera`,auth:{requiresAuth:!0,role:`user`},ui:{containerSettings:{disableScroll:!0,ignoreSafeAreaBottom:Y(()=>La.value),noExtraPadding:Y(()=>La.value)},showNavbar:!0,showTopbar:Y(()=>!La.value),showBottombar:Y(()=>!La.value),showRouterLoading:!0}}},{name:`Camview`,path:`/camview`,component:fa,meta:{name:`camview`,auth:{requiresAuth:!0,role:`user`},ui:{containerSettings:{disableScroll:!0},background:`#000000`,showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`top`,icon:{default:sr,active:it}},bottombar:{icon:{default:sr,active:it}}}},{name:`Recordings`,path:`/recordings`,component:pa,meta:{name:`recordings`,auth:{requiresAuth:!0,role:`user`},ui:{containerSettings:{showTitle:!1,padding:!1},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`top`,icon:{default:ur,active:ot}},bottombar:{icon:{default:ur,active:ot}}}},{name:`About`,path:`/about`,component:Da,meta:{name:`about`,auth:{requiresAuth:!0,role:`user`},ui:{containerSettings:{showTitle:!0,padding:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0}}},{name:`Faces`,path:`/faces`,component:ma,meta:{name:`faces`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{showTitle:!0,padding:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},menu:{icon:{default:rt,active:rt}},navbar:{position:`top`,icon:{default:rt,active:rt}}}},{name:`Plugins`,path:`/plugins`,component:ha,meta:{name:`plugins`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{showTitle:!0,padding:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`top`,icon:{default:lt,active:ft}},menu:{icon:{default:lt,active:ft}}}},{name:`ScopedPlugin`,path:`/plugins/:scope/:pluginname`,component:ga,meta:{name:`plugin`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{padding:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0}}},{name:`Plugin`,path:`/plugins/:pluginname`,component:ga,meta:{name:`plugin`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{padding:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0}}},{name:`Adminpanel`,path:`/admin`,component:_a,meta:{name:`adminpanel`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{showTitle:!0,padding:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`bottom`,group:`more`,icon:{default:Tr,active:Sr}},menu:{icon:{default:Tr,active:Sr}}}},{name:`Config`,path:`/config`,component:va,meta:{name:`config`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{disableScroll:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`bottom`,group:`more`,icon:{default:Qn,active:Yn}},menu:{icon:{default:Qn,active:Yn}}}},{name:`Logs`,path:`/logs`,component:ya,meta:{name:`logs`,auth:{requiresAuth:!0,role:`admin`},ui:{background:`#000000`,containerSettings:{disableScroll:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`bottom`,group:`more`,icon:{default:vn,active:Cn}},menu:{icon:{default:vn,active:Cn}}}},{name:`Console`,path:`/console`,component:Oa,meta:{name:`console`,auth:{requiresAuth:!0,role:`user`},ui:{background:`#000000`,containerSettings:{disableScroll:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`bottom`,group:`more`,icon:{default:Kn,active:Un}},menu:{icon:{default:Kn,active:Un}}}},{name:`Terminal`,path:`/terminal`,component:ba,meta:{name:`terminal`,disabledInElectron:!0,auth:{requiresAuth:!0,role:`admin`},ui:{background:`#000000`,containerSettings:{disableScroll:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`bottom`,group:`more`,icon:{default:Je,active:On}},menu:{icon:{default:Je,active:On}}}},{name:`Automations`,path:`/automations`,component:xa,meta:{name:`automations`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{showTitle:!0,padding:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`bottom`,group:`more`,icon:{default:jn,active:Xe}},menu:{icon:{default:jn,active:Xe}}}},{name:`Automation`,path:`/automations/:id`,component:Sa,meta:{name:`automation`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{disableScroll:!0,paddingBottom:!1},showNavbar:!0,showTopbar:!0,showBottombar:!0}}},{name:`Instances`,path:`/instances`,component:Ca,meta:{name:`instances`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{showTitle:!0,padding:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`bottom`,group:`more`,icon:{default:$t,active:Ge}},menu:{icon:{default:$t,active:Ge}}}},{name:`Workers`,path:`/workers`,component:wa,meta:{name:`workers`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{showTitle:!0,padding:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`bottom`,group:`more`,icon:{default:hn,active:Ye}},menu:{icon:{default:hn,active:Ye}}}},{name:`Menu`,path:`/menu`,component:Ea,meta:{name:`menu`,auth:{requiresAuth:!0,role:`user`},ui:{containerSettings:{padding:!1},showNavbar:!1,showTopbar:!0,showBottombar:!0,showRouterLoading:!0,minifiedTopbar:!0},bottombar:{icon:{default:yr,active:yr}}}},{name:`Settings`,path:`/settings`,component:Ta,meta:{name:`settings`,path:`/settings/account`,auth:{requiresAuth:!0,role:`user`},navbar:{position:`bottom`,icon:{default:nt,active:tt}},menu:{icon:{default:nt,active:tt}}},children:[{name:`SettingsAccount`,path:`account`,component:ka,meta:{name:`account`,description:`account_description`,auth:{requiresAuth:!0,role:`user`},ui:{showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoadingSub:!0},settingsBar:{icon:{default:Bn,active:Ln}}}},{name:`SettingsAppearance`,path:`appearance`,component:Aa,meta:{name:`appearance`,description:`appearance_description`,auth:{requiresAuth:!0,role:`user`},ui:{showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoadingSub:!0},settingsBar:{icon:{default:ln,active:fn}}}},{name:`SettingsUsers`,path:`user`,component:Fa,meta:{name:`user`,description:`user_description`,auth:{requiresAuth:!0,role:`admin`},ui:{showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoadingSub:!0},settingsBar:{icon:{default:ir,active:tr}}}},{name:`SettingsNotifications`,path:`notifications`,component:Ia,meta:{name:`notifications`,description:`notifications_description`,auth:{requiresAuth:!0,role:`user`},ui:{showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoadingSub:!0},settingsBar:{icon:{default:et,active:$e}}}},{name:`SettingsRecordings`,path:`recordings`,component:Ma,meta:{name:`recordings`,description:`recordings_description`,auth:{requiresAuth:!0,role:`admin`},ui:{showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoadingSub:!0},settingsBar:{icon:{default:ur,active:ot}}}},{name:`SettingsRemote`,path:`remote`,component:Na,meta:{name:`remote`,description:`remote_access_description`,auth:{requiresAuth:!0,role:`admin`},ui:{showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoadingSub:!0},settingsBar:{icon:{default:Qe,active:Ze}}}},{name:`SettingsBackup`,path:`backup`,component:ja,meta:{name:`backup`,description:`backup_description`,auth:{requiresAuth:!0,role:`admin`},ui:{showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoadingSub:!0},settingsBar:{icon:{default:nn,active:on}}}},{name:`SettingsSystem`,path:`system`,component:Pa,meta:{name:`system`,description:`system_description`,auth:{requiresAuth:!0,role:`admin`},ui:{showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoadingSub:!0},settingsBar:{icon:{default:gr,active:pr}}}}]}];function za(e){let t=e.toLowerCase();return t===`/home`?{group:`main`,key:`home`,ignore:`camview`}:t===`/camview`?{group:`main`,key:`camview`,ignore:`home`}:t.startsWith(`/cameras/`)?{group:`main`,key:`cameras`}:t===`/menu`?{group:`menu`,key:`menu`,depth:0}:t===`/faces`?{group:`menu`,key:`faces`,depth:1}:t===`/plugins`?{group:`menu`,key:`plugins`,depth:1}:t.startsWith(`/plugins/`)?{group:`menu`,key:`plugin-detail`,depth:2}:t.startsWith(`/settings`)?{group:`menu`,key:`settings`,depth:1}:t===`/admin`?{group:`menu`,key:`admin`,depth:1}:t===`/config`?{group:`menu`,key:`config`,depth:1}:t===`/console`?{group:`menu`,key:`console`,depth:1}:t===`/terminal`?{group:`menu`,key:`terminal`,depth:1}:t===`/instances`?{group:`menu`,key:`instances`,depth:1}:t===`/workers`?{group:`menu`,key:`workers`,depth:1}:t===`/automations`?{group:`menu`,key:`automations`,depth:1}:t===`/about`?{group:`menu`,key:`about`,depth:1}:t.startsWith(`/automations/`)?{group:`menu`,key:`automation-detail`,depth:2}:null}var Ba=new Map,Va=Ce({history:we(`/`),routes:Ra,scrollBehavior:async(t,n,r)=>{if(r)return r;if(n.path===t.path||t.path===`/`)return{top:0,left:0};await e(10);let i=Ba.get(t.path);return i===void 0?{top:0,left:0,behavior:`smooth`}:(Ba.delete(t.path),{top:i,left:0})}});Va.absUrl=(e=`#`,t=!0)=>{let n=document.createElement(`a`);n.href=e,n.target=t&&e!==`#`?`_blank`:``,t&&(n.rel=`noopener noreferrer`),n.click()},Va.beforeEach(async(e,t)=>{let n=k(),r=w(),i=Mt();if(e.meta.disabledInElectron&&n.getQueryData([`api`])?.electron)return`/home`;let a=e.name.toLowerCase();if(i.routerLoading=!0,i.setRoutes(t.fullPath,e.fullPath),Ba.set(t.path,window.scrollY),r.user){if(n.cancelQueries(void 0,{revert:!1}),r.user.firstLogin&&e.path!==`/first-steps`)return`/first-steps`;if(!r.user.firstLogin&&e.path===`/first-steps`||e.meta.auth?.requiresAuth&&e.meta.auth.role&&r.user.role!==e.meta.auth.role&&r.user.role!==`admin`&&r.user.role!==`master`||a===`login`)return`/home`;if(e.path===`/settings`)return`/settings/account`}else if(a!==`login`)return`/`}),Va.beforeResolve(async(e,t)=>{let n=za(t.path),r=za(e.path);if(!n||!r||n.group!==r.group||n.key===r.key||n.ignore===r.key||r.ignore===n.key)return;if(n.group===`menu`&&n.depth!==void 0&&r.depth!==void 0){if(window.innerWidth>640||n.depth===r.depth)return;let e=r.depth>n.depth?`forward`:`back`;document.documentElement.dataset.menuDirection=e}if(e.path===`/home`&&!k().getQueriesData({queryKey:[`camerasList`]}).some(([,e])=>e!=null))return;let i=!!document.documentElement.dataset.menuDirection,a=Mt();a.isTransitioning=!0;let o=re();await o.captured,o.finished.finally(()=>{a.isTransitioning=!1,i&&delete document.documentElement.dataset.menuDirection})});var Ha=`cui-chunk-reload`;function Ua(e){let t=e instanceof Error?e.message:String(e);return/dynamically imported module|importing a module script failed|failed to (load|fetch) module script|expected a javascript|chunkloaderror|loading( css)? chunk/i.test(t)}Va.afterEach(()=>{let e=Mt();e.routerLoading=!1,sessionStorage.removeItem(Ha),x().bannerMode.value===null&&Jt()}),Va.onError((e,t)=>{let n=Mt();n.routerLoading=!1,Ua(e)&&!sessionStorage.getItem(Ha)&&(sessionStorage.setItem(Ha,`1`),window.location.assign(t.fullPath))});export{Yt as a,$t as i,Ra as n,qt as o,Ei as r,Va as t};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/workbox-window.prod.es5-CtK9nkTO.js","assets/vendor-DoIl6acN.js","assets/rolldown-runtime-DAXXjFlN.js","assets/CameraConsole-DGbeilsL.js","assets/useSharedComposables-DjDddcdT.js","assets/vendor-cameraui-B9wC4-mi.js","assets/vendor-core-CBFMCwgj.js","assets/ui-CnzJLu9N.js","assets/useFileDownload-BLbAIlSX.js","assets/api-B8LDDNgZ.js","assets/api-BB9AG_h5.css","assets/cameras-BEBBV7mz.js","assets/useLogsSocket-BnU6ynWU.js","assets/_plugin-vue_export-helper-BDNMzG2s.js","assets/vendor-xterm-BRN-hOYD.js","assets/vendor-xterm-BrP-ENHg.css","assets/useLogsSocket-4F2-d9fa.css","assets/404-CZDMFg2Z.js","assets/home-Dey3bw1P.js","assets/FirstSteps-YNR-3tqt.js","assets/vendor-primevue-DYHQyonV.js","assets/hasPermission-B724PtFJ.js","assets/useCuiDialog-DZvxI8xi.js","assets/close-DuwOOM-P.js","assets/useElectron-mh8HQUAI.js","assets/CuiImage-B3eMhhIS.js","assets/CuiImage-Bxf7z2N4.css","assets/server-BW0jfXav.js","assets/SettingsAccount-C_pQPGoW.js","assets/CuiAvatar-DUucUxIP.js","assets/CuiAvatar-BtMXnhxd.css","assets/face-recognition-D5evlO1d.js","assets/shield-check-ChlSHOnR.js","assets/CuiActionButton-CNTiGrTt.js","assets/copy-16-filled-CZzRMAt_.js","assets/useBiometricCredentials-BGl37Skw.js","assets/vendor-zod-V2qTUMVc.js","assets/users.schema-2wYWhJ9W.js","assets/types-CztXMZ5X.js","assets/CuiDataTable-D9GqApg1.js","assets/arrow-right-outline-CliUt84m.js","assets/CuiDataTable-DWuXg9Zg.css","assets/CuiQRCode-CVHjvjZP.js","assets/theme-B2fORWV9.js","assets/CuiQRCode-BtErH65J.css","assets/auth-Czmir2ST.js","assets/SettingsAccount-Y7hpH8Y3.css","assets/SettingsAppearance-CwPSvzkX.js","assets/locale-hdhgxXOX.js","assets/backup-BcXXJ1y6.js","assets/Cameras-CVID1akl.js","assets/cctv-BsGdaLfw.js","assets/CuiFloatingButton-BLCO4wJw.js","assets/useCuiCameraDrawer-2I0LB3ff.js","assets/CuiSchema-DEYDened.js","assets/check-BMoCATAa.js","assets/CuiSchema--yMBD996.css","assets/plus-Dqgz6pez.js","assets/cameras.schema-CuVLJONJ.js","assets/ring-resize-DQajal-Z.js","assets/plus-BMt5ORD8.js","assets/Cameras-54LaZPN3.css","assets/Camera-BlN_KppY.js","assets/CuiCameraCard-kI_GNoa7.js","assets/cog-Ce2a8uiA.js","assets/lightbulb-outline-B0CFho4y.js","assets/CuiCameraSnapshot-C33nUgVt.js","assets/types-ByBSoibP.js","assets/CuiMenu-BO2e4LK5.js","assets/CuiMenu-BWUfWLQP.css","assets/play-solid-BOoBnMaN.js","assets/CuiBBoxPlayground-DOcoHCTQ.js","assets/CuiBBoxPlayground-EFkdOBvq.css","assets/vendor-draggabilly-Dl6FWJwx.js","assets/shares-D0r3nTB0.js","assets/CuiCameraCard-BxGmxXxZ.css","assets/download-CY-SlBan.js","assets/routerState-ByP_jZ8E.js","assets/zoom-in-D2zo_jfL.js","assets/CuiCameraPipCard-DehPfhfs.js","assets/CuiCameraPipCard-D3o29_wc.css","assets/Camera-BG8K5bH_.css","assets/Camview-B-Pqm0Fw.js","assets/grid-fill-DBU_n60V.js","assets/vendor-dnd-_zxmhxjM.js","assets/microphone-CAVr4YFv.js","assets/delete-5a2q7_46.js","assets/CuiTopNavbarItem-CqM9AHmU.js","assets/chevron-down-KZwkCQ3v.js","assets/CuiTopNavbarItem-CJqOqVMt.css","assets/vendor-gridstack-DD5uGA3X.js","assets/vendor-gridstack-Rg2RhwAc.css","assets/Camview-Gxca3bvT.css","assets/Recordings-Daf0TCPA.js","assets/view-grid-D39XDBn9.js","assets/view-grid-D04t817d.css","assets/eventIcons-CtTopM6B.js","assets/eventIcons-2hVCNchU.css","assets/CuiTopbarSlot-DbzQRnbt.js","assets/CuiRecordingsGrid-BFHPh2dn.js","assets/CuiRecordingsGrid-lcLty5PV.css","assets/round-alt-arrow-left-bold-C-0SLIa9.js","assets/Recordings-Bt_GlPOK.css","assets/Faces-u9Rxm4Ti.js","assets/plugins-BMys-WCs.js","assets/back-filled-DqCMpeEk.js","assets/Plugins-B7ZOk3ld.js","assets/github-DNzKZdHG.js","assets/search-D-QOrChC.js","assets/CuiPluginCard-Bu_rNdQH.js","assets/terminal-DbYAPed-.js","assets/CuiPluginOAuthButton-Q2CBmZzv.js","assets/cloud-outline-BPAJ6_kc.js","assets/cloud-check-BbqgBLhK.js","assets/trash-fill-Da1v18iA.js","assets/CuiPluginCard-LxNHYHxa.css","assets/Plugins-s1k811lf.css","assets/Plugin-CWjFyBeK.js","assets/bell-ChE83DC8.js","assets/PluginSchema-BcLXAX-Q.js","assets/vendor-markdown-UV_ycMZu.js","assets/vendor-markdown-DtOhvyRx.css","assets/close-circle-ClG7lNzZ.js","assets/Plugin-CHdZvbiP.css","assets/Adminpanel-Cciuxh1q.js","assets/round-restart-alt-bbbi50F4.js","assets/vendor-chart-CBBmwsyM.js","assets/chevron-right-CXZ4SFSg.js","assets/round-restart-alt-fCNtJi_k.css","assets/Config-CfunWNtM.js","assets/Config-JgftUZFe.css","assets/Logs-CpAkrsEJ.js","assets/arrow-left-9W2BpRxA.js","assets/trash-2-CkdsE6jp.js","assets/Terminal-h5vqtN-o.js","assets/settings-uhDSoUhb.js","assets/Terminal-CrOfQJ-O.css","assets/Automations-by_LN5br.js","assets/automation-IpK710bv.js","assets/types-BxFyoO54.js","assets/automations-DVc4ovPU.js","assets/nodeDefinitions-blmt-d7H.js","assets/bell-outline-U3Gb4nI1.js","assets/Automation-CMMDPrn0.js","assets/deviceId-BM0pOHhg.js","assets/automations-C2J4u5Uj.js","assets/CuiBottomSheet-zPb4AI5w.js","assets/CuiBottomSheet-DsjZEdig.css","assets/vendor-vueflow-DSLHUKHF.js","assets/Automation-Csu8t0D7.css","assets/Instances-CWzMYIvB.js","assets/instances-5MeVN25v.js","assets/Workers-xo6c0O5M.js","assets/circular-connection-BTKd-doI.js","assets/Settings-Bz7u44Pl.js","assets/Settings-bwLTNAxX.css","assets/Menu-uW8DUGLM.js","assets/power-BcSFRPtI.js","assets/information-outline-ChTb2u7w.js","assets/About-TDIJXs5o.js","assets/api-Cm9H8gwG.js","assets/Console-B4SQZA5X.js","assets/trash2-CaXm_MmJ.js","assets/SettingsAccount-BgpeeHsR.js","assets/SettingsAppearance-DSNXI3t4.js","assets/SettingsBackup-CCEtuJsQ.js","assets/SettingsBackup-CX0rT0QJ.css","assets/SettingsRecordings-uNRwROAh.js","assets/alert-outline-T8FhpQ9w.js","assets/SettingsRemote-Dg3BfdmI.js","assets/cloud-outline-CzQmkpCY.js","assets/SettingsRemote-D9COJF4m.css","assets/SettingsSystem-DwXSeR_Z.js","assets/SettingsUsers-CimG6HaL.js","assets/SettingsNotifications-OV4-nraE.js","assets/notifications-Cq1bDRQk.js"])))=>i.map(i=>d[i]);
2
+ import{$t as e,A as t,Di as n,Ei as r,Hn as i,Ii as a,In as o,Ki as s,Ni as c,O as l,R as u,Si as d,Ti as f,Vn as p,Yi as m,fi as h,j as g,lt as _,tt as v,z as y}from"./vendor-cameraui-B9wC4-mi.js";import{C as b,E as x,O as S,T as C,f as w,i as T,k as E,o as D,s as O}from"./api-B8LDDNgZ.js";import{$ as k,$n as A,$t as j,An as ee,Bn as te,Cr as M,En as N,Er as P,Gn as ne,Hn as F,J as I,K as re,L as ie,Ln as ae,Pn as oe,R as se,Rn as ce,Sr as L,Tr as R,Vn as z,Wt as B,Zn as le,_n as ue,_r as V,an as de,br as fe,dn as H,en as pe,fn as U,gn as me,jn as he,lr as ge,mn as W,mr as G,nr as K,on as q,pn as J,rn as _e,rr as ve,un as Y,ur as X,vn as ye,xn as be,yn as Z,z as xe,zn as Q}from"./vendor-DoIl6acN.js";import{f as Se,i as Ce,o as we}from"./vendor-core-CBFMCwgj.js";import{I as Te,L as Ee,R as De,z as Oe}from"./CuiCameraCard-kI_GNoa7.js";import{t as ke}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{a as Ae,i as je,n as Me,r as Ne,t as Pe}from"./useSharedComposables-DjDddcdT.js";import{n as Fe}from"./ui-CnzJLu9N.js";import{t as Ie}from"./cloud-outline-BPAJ6_kc.js";import{C as Le,J as Re,R as ze,U as Be,c as Ve,d as He}from"./vendor-primevue-DYHQyonV.js";import{t as Ue}from"./CuiImage-B3eMhhIS.js";import{i as We,r as Ge,t as Ke}from"./instances-5MeVN25v.js";import{t as qe}from"./cctv-BsGdaLfw.js";import{t as Je}from"./terminal-DbYAPed-.js";import{t as Ye}from"./circular-connection-BTKd-doI.js";import{t as Xe}from"./automation-IpK710bv.js";import{n as Ze,t as Qe}from"./cloud-outline-CzQmkpCY.js";import{t as $e}from"./bell-ChE83DC8.js";import{t as et}from"./bell-outline-U3Gb4nI1.js";import{t as tt}from"./cog-Ce2a8uiA.js";import{n as nt}from"./lightbulb-outline-B0CFho4y.js";import{t as rt}from"./face-recognition-D5evlO1d.js";import{t as it}from"./grid-fill-DBU_n60V.js";import{n as at,r as ot,t as st}from"./view-grid-D39XDBn9.js";import{n as ct,r as lt,t as ut}from"./eventIcons-CtTopM6B.js";import{n as dt,r as ft,t as pt}from"./github-DNzKZdHG.js";import{t as mt}from"./CuiFloatingButton-BLCO4wJw.js";import{t as ht}from"./CuiCameraSnapshot-C33nUgVt.js";import{t as gt}from"./hasPermission-B724PtFJ.js";import{a as _t,i as vt,n as yt,r as bt,t as xt}from"./vendor-dnd-_zxmhxjM.js";import{n as St}from"./types-ByBSoibP.js";import{t as Ct}from"./cameras-BEBBV7mz.js";import{n as wt}from"./useCuiCameraDrawer-2I0LB3ff.js";import{n as Tt,t as Et}from"./useCuiDialog-DZvxI8xi.js";import{t as Dt}from"./CuiTopbarSlot-DbzQRnbt.js";import{a as Ot,n as kt}from"./useBiometricCredentials-BGl37Skw.js";import{t as At}from"./deviceId-BM0pOHhg.js";import{t as jt}from"./users.schema-2wYWhJ9W.js";import{t as Mt}from"./routerState-ByP_jZ8E.js";var Nt=`false`,Pt=`false`,Ft=Nt===`true`,It=Pt===`true`;function Lt(e={}){let{immediate:t=!1,onNeedReload:n,onNeedRefresh:r,onOfflineReady:i,onRegistered:a,onRegisteredSW:o,onRegisterError:s}=e,c,l,u,d=async(e=!0)=>{await l,Ft||u?.()};async function f(){if(`serviceWorker`in navigator){if(c=await B(async()=>{let{Workbox:e}=await import(`./workbox-window.prod.es5-CtK9nkTO.js`);return{Workbox:e}},__vite__mapDeps([0,1,2])).then(({Workbox:e})=>new e(`/sw.js`,{scope:`/`,type:`classic`})).catch(e=>{s?.(e)}),!c)return;if(u=()=>{c?.messageSkipWaiting()},!It)if(Ft)c.addEventListener(`activated`,e=>{(e.isUpdate||e.isExternal)&&(n?n():window.location.reload())}),c.addEventListener(`installed`,e=>{e.isUpdate||i?.()});else{let e=!1,t=()=>{e=!0,c?.addEventListener(`controlling`,e=>{e.isUpdate&&(n?n():window.location.reload())}),r?.()};c.addEventListener(`installed`,n=>{n.isUpdate===void 0?n.isExternal===void 0?!e&&i?.():n.isExternal?t():!e&&i?.():n.isUpdate||i?.()}),c.addEventListener(`waiting`,t)}c.register({immediate:t}).then(e=>{o?o(`/sw.js`,e):a?.(e)}).catch(e=>{s?.(e)})}}return l=f(),d}function Rt(e={}){let{immediate:t=!0,onNeedReload:n,onNeedRefresh:r,onOfflineReady:i,onRegistered:a,onRegisteredSW:o,onRegisterError:s}=e,c=G(!1),l=G(!1);return{updateServiceWorker:Lt({immediate:t,onNeedReload:n,onNeedRefresh(){c.value=!0,r?.()},onOfflineReady(){l.value=!0,i?.()},onRegistered:a,onRegisteredSW:o,onRegisterError:s}),offlineReady:l,needRefresh:c}}var zt=S(`AppUpdate`),Bt=3600*1e3,Vt=`cui-sw-updated`,Ht=G(!1),$=G(!1),Ut=async()=>{},Wt;async function Gt(){if(!(!Wt||Wt.installing||!navigator.onLine))try{await Wt.update()}catch{}}async function Kt(){if(!($.value||!Ht.value)){$.value=!0;try{await Ut()}catch(e){zt.error(`apply failed`,e),$.value=!1}}}function qt(){return{updateAvailable:Ht,isApplying:$,applyUpdate:Kt}}function Jt(){!Ht.value||$.value||Kt()}function Yt(){Xt()}function Xt(){let{t:e}=C.global,t=b(),n=k(),{needRefresh:r,updateServiceWorker:i}=Rt({immediate:!0,onRegisteredSW(e,t){Wt=t,Wt&&setInterval(()=>Gt(),Bt)}});f(document,`visibilitychange`,()=>{document.visibilityState===`visible`&&Gt()});let a=x();if(A(()=>a.isOnline.value,(e,t)=>{e&&!t&&Gt()}),A(r,e=>{if(e){if(Ut=async()=>{sessionStorage.setItem(Vt,`1`);let e=!1,t=()=>{e||(e=!0,window.location.reload())};navigator.serviceWorker?.addEventListener(`controllerchange`,t,{once:!0}),await i(!1),setTimeout(t,3e3)},n.getQueryData([`api`])?.electron===!0){$.value||($.value=!0,Ut().catch(e=>{zt.error(`auto-apply failed`,e),$.value=!1}));return}Ht.value=!0}}),sessionStorage.getItem(Vt)){sessionStorage.removeItem(Vt);let n=new MutationObserver(()=>{document.querySelector(`[data-sonner-toaster]`)&&(n.disconnect(),t.add({severity:`success`,summary:e(`components.toast.title_success`),detail:e(`components.toast.update_installed_detail`),life:3e3}))});n.observe(document.body,{childList:!0,subtree:!0})}}var Zt={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function Qt(e,t){return Q(),W(`svg`,Zt,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M20 3H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2M4 9V5h16v4zm16 4H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2M4 19v-4h16v4z`},null,-1),H(`path`,{fill:`currentColor`,d:`M17 6h2v2h-2zm-3 0h2v2h-2zm3 10h2v2h-2zm-3 0h2v2h-2z`},null,-1)]])}var $t=X({name:`bx-server`,render:Qt}),en={viewBox:`0 0 36 36`,width:`1.2em`,height:`1.2em`};function tn(e,t){return Q(),W(`svg`,en,[...t[0]||=[ue(`<path fill="currentColor" d="M6 22h24v2H6z" class="clr-i-outline clr-i-outline-path-1"></path><path fill="currentColor" d="M26 26h4v2h-4z" class="clr-i-outline clr-i-outline-path-2"></path><path fill="currentColor" d="M13 9.92L17 6v13a1 1 0 1 0 2 0V6l4 3.95a1 1 0 1 0 1.38-1.45L18 2.16L11.61 8.5A1 1 0 0 0 13 9.92" class="clr-i-outline clr-i-outline-path-3"></path><path fill="currentColor" d="M30.84 13.37A1.94 1.94 0 0 0 28.93 12H21v2h7.95c1.05 2.94 2.77 7.65 3.05 8.48V30H4v-7.52C4.28 21.65 7.05 14 7.05 14H15v-2H7.07a1.92 1.92 0 0 0-1.9 1.32C2 22 2 22.1 2 22.33V30a2 2 0 0 0 2 2h28a2 2 0 0 0 2-2v-7.67c0-.23 0-.33-3.16-8.96" class="clr-i-outline clr-i-outline-path-4"></path><path fill="none" d="M0 0h36v36H0z"></path>`,5)]])}var nn=X({name:`clarity-backup-restore-line`,render:tn}),rn={viewBox:`0 0 36 36`,width:`1.2em`,height:`1.2em`};function an(e,t){return Q(),W(`svg`,rn,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M2 24v6a2 2 0 0 0 2 2h28a2 2 0 0 0 2-2v-6Zm28 5h-4v-2h4Z`,class:`clr-i-solid clr-i-solid-path-1`},null,-1),H(`path`,{fill:`currentColor`,d:`M30.84 13.37A1.94 1.94 0 0 0 28.93 12H21v6a3 3 0 1 1-6 0v-6H7.07a1.92 1.92 0 0 0-1.9 1.32c-2.31 6.36-2.93 8.11-3.1 8.68h31.86c-.16-.57-.79-2.31-3.09-8.63`,class:`clr-i-solid clr-i-solid-path-2`},null,-1),H(`path`,{fill:`currentColor`,d:`M13 9.92L17 6v12a1 1 0 1 0 2 0V6l4 3.95a1 1 0 1 0 1.38-1.45L18 2.16L11.61 8.5A1 1 0 0 0 13 9.92`,class:`clr-i-solid clr-i-solid-path-3`},null,-1),H(`path`,{fill:`none`,d:`M0 0h36v36H0z`},null,-1)]])}var on=X({name:`clarity-backup-restore-solid`,render:an}),sn={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function cn(e,t){return Q(),W(`svg`,sn,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M20.97 7.27a.996.996 0 0 0 0-1.41l-2.83-2.83a.996.996 0 0 0-1.41 0l-4.49 4.49l-3.89-3.89c-.78-.78-2.05-.78-2.83 0l-1.9 1.9c-.78.78-.78 2.05 0 2.83l3.89 3.89L3 16.76V21h4.24l4.52-4.52l3.89 3.89c.95.95 2.23.6 2.83 0l1.9-1.9c.78-.78.78-2.05 0-2.83l-3.89-3.89zM5.04 6.94l1.89-1.9L8.2 6.31L7.02 7.5l1.41 1.41l1.19-1.19l1.2 1.2l-1.9 1.9zm11.23 7.44l-1.19 1.19l1.41 1.41l1.19-1.19l1.27 1.27l-1.9 1.9l-3.89-3.89l1.9-1.9zM6.41 19H5v-1.41l9.61-9.61l1.3 1.3l.11.11zm9.61-12.44l1.41-1.41l1.41 1.41l-1.41 1.41z`},null,-1)]])}var ln=X({name:`ic-outline-design-services`,render:cn}),un={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function dn(e,t){return Q(),W(`svg`,un,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`m16.24 11.51l1.57-1.57l-3.75-3.75l-1.57 1.57l-4.14-4.13c-.78-.78-2.05-.78-2.83 0l-1.9 1.9c-.78.78-.78 2.05 0 2.83l4.13 4.13l-4.6 4.61q-.15.15-.15.36v3.04c0 .28.22.5.5.5h3.04c.13 0 .26-.05.35-.15l4.62-4.62l4.13 4.13c1.32 1.32 2.76.07 2.83 0l1.9-1.9c.78-.78.78-2.05 0-2.83zm-7.06-.44L5.04 6.94l1.89-1.9L8.2 6.31l-.47.49a.996.996 0 1 0 1.41 1.41l.48-.48l1.45 1.45zm7.88 7.89l-4.13-4.13l1.9-1.9l1.45 1.45l-.48.48a.996.996 0 1 0 1.41 1.41l.48-.48l1.27 1.27zm3.65-11.92a.996.996 0 0 0 0-1.41l-2.34-2.34c-.47-.47-1.12-.29-1.41 0l-1.83 1.83l3.75 3.75z`},null,-1)]])}var fn=X({name:`ic-round-design-services`,render:dn}),pn={viewBox:`0 0 48 48`,width:`1.2em`,height:`1.2em`};function mn(e,t){return Q(),W(`svg`,pn,[...t[0]||=[H(`g`,{fill:`none`,stroke:`currentColor`,"stroke-width":`4`},[H(`path`,{d:`M13.5 39.37A16.93 16.93 0 0 0 24 43c3.963 0 7.61-1.356 10.5-3.63M19 9.747C12.051 11.882 7 18.351 7 26c0 1.925.32 3.775.91 5.5M29 9.747C35.949 11.882 41 18.351 41 26c0 1.925-.32 3.775-.91 5.5`}),H(`path`,{"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M43 36c0 1.342-.528 2.56-1.388 3.458A5 5 0 1 1 43 36m-28 0c0 1.342-.528 2.56-1.388 3.458A5 5 0 1 1 15 36M29 9c0 1.342-.528 2.56-1.388 3.458A5 5 0 1 1 29 9`})],-1)]])}var hn=X({name:`icon-park-outline-circular-connection`,render:mn}),gn={viewBox:`0 0 48 48`,width:`1.2em`,height:`1.2em`};function _n(e,t){return Q(),W(`svg`,gn,[...t[0]||=[H(`g`,{fill:`none`,stroke:`currentColor`,"stroke-linejoin":`round`,"stroke-width":`4`},[H(`path`,{d:`M13 10h28v34H13z`}),H(`path`,{"stroke-linecap":`round`,d:`M35 10V4H8a1 1 0 0 0-1 1v33h6m8-16h12m-12 8h12`})],-1)]])}var vn=X({name:`icon-park-outline-log`,render:_n}),yn={viewBox:`0 0 48 48`,width:`1.2em`,height:`1.2em`},bn=[`id`],xn=[`mask`];function Sn(e,t){return Q(),W(`svg`,yn,[H(`defs`,null,[H(`mask`,{id:e.idMap.SVGzmZ6hexT},[...t[0]||=[H(`g`,{fill:`none`,"stroke-linejoin":`round`,"stroke-width":`4`},[H(`path`,{fill:`#fff`,stroke:`#fff`,d:`M13 10h28v34H13z`}),H(`path`,{stroke:`#fff`,"stroke-linecap":`round`,d:`M35 10V4H8a1 1 0 0 0-1 1v33h6`}),H(`path`,{stroke:`#000`,"stroke-linecap":`round`,d:`M21 22h12m-12 8h12`})],-1)]],8,bn)]),H(`path`,{fill:`currentColor`,d:`M0 0h48v48H0z`,mask:`url(#`+e.idMap.SVGzmZ6hexT+`)`},null,8,xn)])}var Cn=X({name:`icon-park-solid-log`,render:Sn,setup(){return{idMap:{SVGzmZ6hexT:`uicons-`+Math.random().toString(36).substr(2,10)}}}}),wn={viewBox:`0 0 48 48`,width:`1.2em`,height:`1.2em`},Tn=[`id`],En=[`mask`];function Dn(e,t){return Q(),W(`svg`,wn,[H(`defs`,null,[H(`mask`,{id:e.idMap.SVGXE6zpcEE},[...t[0]||=[H(`g`,{fill:`none`,"stroke-linejoin":`round`,"stroke-width":`4`},[H(`rect`,{width:`40`,height:`32`,x:`4`,y:`8`,fill:`#fff`,stroke:`#fff`,rx:`2`}),H(`path`,{stroke:`#000`,"stroke-linecap":`round`,d:`m12 18l7 6l-7 6m11 2h13`})],-1)]],8,Tn)]),H(`path`,{fill:`currentColor`,d:`M0 0h48v48H0z`,mask:`url(#`+e.idMap.SVGXE6zpcEE+`)`},null,8,En)])}var On=X({name:`icon-park-solid-terminal`,render:Dn,setup(){return{idMap:{SVGXE6zpcEE:`uicons-`+Math.random().toString(36).substr(2,10)}}}}),kn={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function An(e,t){return Q(),W(`svg`,kn,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M7.4 17.25q-1.05.875-2.187.8t-1.988-.775t-1.162-1.837t.412-2.338L4.35 10q-.625-.55-.987-1.325T3 7q0-1.65 1.175-2.825T7 3t2.825 1.175T11 7T9.825 9.825T7 11q-.225 0-.45-.025t-.425-.075L4.2 14.15q-.275.45-.175.888t.425.712t.775.313t.875-.313l10.5-9.025q1.05-.875 2.2-.788t2 .788t1.15 1.838t-.425 2.337L19.65 14q.625.55.988 1.325T21 17q0 1.65-1.175 2.825T17 21t-2.825-1.175T13 17t1.175-2.825T17 13q.225 0 .438.025t.412.075l1.95-3.25q.275-.45.175-.888t-.425-.712t-.775-.312t-.875.312zm1.013-8.837Q9 7.825 9 7t-.587-1.412T7 5t-1.412.588T5 7t.588 1.413T7 9t1.413-.587m10 10Q19 17.825 19 17t-.587-1.412T17 15t-1.412.588T15 17t.588 1.413T17 19t1.413-.587M17 17`},null,-1)]])}var jn=X({name:`material-symbols-automation-outline`,render:An}),Mn={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function Nn(e,t){return Q(),W(`svg`,Mn,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M6 19h3v-5q0-.425.288-.712T10 13h4q.425 0 .713.288T15 14v5h3v-9l-6-4.5L6 10zm-2 0v-9q0-.475.213-.9t.587-.7l6-4.5q.525-.4 1.2-.4t1.2.4l6 4.5q.375.275.588.7T20 10v9q0 .825-.588 1.413T18 21h-4q-.425 0-.712-.288T13 20v-5h-2v5q0 .425-.288.713T10 21H6q-.825 0-1.412-.587T4 19m8-6.75`},null,-1)]])}var Pn=X({name:`material-symbols-home-outline-rounded`,render:Nn}),Fn={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function In(e,t){return Q(),W(`svg`,Fn,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M12 19.2c-2.5 0-4.71-1.28-6-3.2c.03-2 4-3.1 6-3.1s5.97 1.1 6 3.1a7.23 7.23 0 0 1-6 3.2M12 5a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m0-3A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10c0-5.53-4.5-10-10-10`},null,-1)]])}var Ln=X({name:`mdi-account-circle`,render:In}),Rn={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function zn(e,t){return Q(),W(`svg`,Rn,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2M7.07 18.28c.43-.9 3.05-1.78 4.93-1.78s4.5.88 4.93 1.78A7.9 7.9 0 0 1 12 20c-1.86 0-3.57-.64-4.93-1.72m11.29-1.45c-1.43-1.74-4.9-2.33-6.36-2.33s-4.93.59-6.36 2.33A7.93 7.93 0 0 1 4 12c0-4.41 3.59-8 8-8s8 3.59 8 8c0 1.82-.62 3.5-1.64 4.83M12 6c-1.94 0-3.5 1.56-3.5 3.5S10.06 13 12 13s3.5-1.56 3.5-3.5S13.94 6 12 6m0 5a1.5 1.5 0 0 1-1.5-1.5A1.5 1.5 0 0 1 12 8a1.5 1.5 0 0 1 1.5 1.5A1.5 1.5 0 0 1 12 11`},null,-1)]])}var Bn=X({name:`mdi-account-circle-outline`,render:zn}),Vn={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function Hn(e,t){return Q(),W(`svg`,Vn,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M14 12h-4v-2h4m0 6h-4v-2h4m6-6h-2.81a6 6 0 0 0-1.82-1.96L17 4.41L15.59 3l-2.17 2.17a6 6 0 0 0-2.83 0L8.41 3L7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20z`},null,-1)]])}var Un=X({name:`mdi-bug`,render:Hn}),Wn={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function Gn(e,t){return Q(),W(`svg`,Wn,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M20 8h-2.81c-.45-.8-1.07-1.5-1.82-2L17 4.41L15.59 3l-2.17 2.17a6 6 0 0 0-2.83 0L8.41 3L7 4.41L8.62 6c-.75.5-1.36 1.21-1.81 2H4v2h2.09c-.06.33-.09.66-.09 1v1H4v2h2v1c0 .34.03.67.09 1H4v2h2.81A5.99 5.99 0 0 0 15 20.18c.91-.52 1.67-1.28 2.19-2.18H20v-2h-2.09c.06-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.03-.67-.09-1H20zm-4 7a4 4 0 0 1-4 4a4 4 0 0 1-4-4v-4a4 4 0 0 1 4-4a4 4 0 0 1 4 4zm-2-5v2h-4v-2zm-4 4h4v2h-4z`},null,-1)]])}var Kn=X({name:`mdi-bug-outline`,render:Gn}),qn={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function Jn(e,t){return Q(),W(`svg`,qn,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M21 10V9l-6-6H5c-1.11 0-2 .89-2 2v14a2 2 0 0 0 2 2h6v-1.87l8.39-8.39c.44-.44 1-.68 1.61-.74m-7-5.5l5.5 5.5H14zm8.85 9.69l-.98.98l-2.04-2.04l.98-.98c.19-.2.52-.2.72 0l1.32 1.32c.2.2.2.53 0 .72m-3.72-.36l2.04 2.04L15.04 22H13v-2.04z`},null,-1)]])}var Yn=X({name:`mdi-note-edit`,render:Jn}),Xn={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function Zn(e,t){return Q(),W(`svg`,Xn,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`m18.13 12l1.26-1.26c.44-.44 1-.68 1.61-.74V9l-6-6H5c-1.11 0-2 .89-2 2v14a2 2 0 0 0 2 2h6v-1.87l.13-.13H5V5h7v7zM14 4.5l5.5 5.5H14zm5.13 9.33l2.04 2.04L15.04 22H13v-2.04zm3.72.36l-.98.98l-2.04-2.04l.98-.98c.19-.2.52-.2.72 0l1.32 1.32c.2.2.2.53 0 .72`},null,-1)]])}var Qn=X({name:`mdi-note-edit-outline`,render:Zn}),$n={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function er(e,t){return Q(),W(`svg`,$n,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M16 17v2H2v-2s0-4 7-4s7 4 7 4m-3.5-9.5A3.5 3.5 0 1 0 9 11a3.5 3.5 0 0 0 3.5-3.5m3.44 5.5A5.32 5.32 0 0 1 18 17v2h4v-2s0-3.63-6.06-4M15 4a3.4 3.4 0 0 0-1.93.59a5 5 0 0 1 0 5.82A3.4 3.4 0 0 0 15 11a3.5 3.5 0 0 0 0-7`},null,-1)]])}var tr=X({name:`mdi-users`,render:er}),nr={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function rr(e,t){return Q(),W(`svg`,nr,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M13.07 10.41a5 5 0 0 0 0-5.82A3.4 3.4 0 0 1 15 4a3.5 3.5 0 0 1 0 7a3.4 3.4 0 0 1-1.93-.59M5.5 7.5A3.5 3.5 0 1 1 9 11a3.5 3.5 0 0 1-3.5-3.5m2 0A1.5 1.5 0 1 0 9 6a1.5 1.5 0 0 0-1.5 1.5M16 17v2H2v-2s0-4 7-4s7 4 7 4m-2 0c-.14-.78-1.33-2-5-2s-4.93 1.31-5 2m11.95-4A5.32 5.32 0 0 1 18 17v2h4v-2s0-3.63-6.06-4Z`},null,-1)]])}var ir=X({name:`mdi-users-outline`,render:rr}),ar={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function or(e,t){return Q(),W(`svg`,ar,[...t[0]||=[H(`g`,{fill:`none`,"fill-rule":`evenodd`},[H(`path`,{d:`m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z`}),H(`path`,{fill:`currentColor`,d:`M9 13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2zm10 0a2 2 0 0 1 1.995 1.85L21 15v4a2 2 0 0 1-1.85 1.995L19 21h-4a2 2 0 0 1-1.995-1.85L13 19v-4a2 2 0 0 1 1.85-1.995L15 13zM9 15H5v4h4zm10 0h-4v4h4zm0-12a2 2 0 0 1 1.995 1.85L21 5v4a2 2 0 0 1-1.85 1.995L19 11h-4a2 2 0 0 1-1.995-1.85L13 9V5a2 2 0 0 1 1.85-1.995L15 3zM9 3a2 2 0 0 1 1.995 1.85L11 5v4a2 2 0 0 1-1.85 1.995L9 11H5a2 2 0 0 1-1.995-1.85L3 9V5a2 2 0 0 1 1.85-1.995L5 3zm10 2h-4v4h4zM9 5H5v4h4z`})],-1)]])}var sr=X({name:`mingcute-grid-line`,render:or}),cr={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function lr(e,t){return Q(),W(`svg`,cr,[...t[0]||=[H(`g`,{fill:`none`},[H(`path`,{d:`m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z`}),H(`path`,{fill:`currentColor`,d:`M20 6a2 2 0 0 1 2 2v11.333a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zm-8.268 7.944L7.136 18.54l-.066.06l-.07.054v.68h13v-.68l-.07-.053l-.066-.06l-2.24-2.24l-.353.354l.055.055a1 1 0 0 1-1.32 1.497l-.094-.083zM17 3a2 2 0 0 1 1.995 1.85L19 5H5a1 1 0 0 0-.993.883L4 6v12a2 2 0 0 1-1.995-1.85L2 16V6a3 3 0 0 1 2.824-2.995L5 3zm3 5H7v7.848L10.848 12a1.25 1.25 0 0 1 1.768 0l3.241 3.24l.884-.883a1.25 1.25 0 0 1 1.768 0L20 15.848zm-3.5 1.5a1.5 1.5 0 1 1 0 3a1.5 1.5 0 0 1 0-3`})],-1)]])}var ur=X({name:`mingcute-photo-album-line`,render:lr}),dr={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function fr(e,t){return Q(),W(`svg`,dr,[...t[0]||=[H(`g`,{fill:`none`,"fill-rule":`evenodd`},[H(`path`,{d:`m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z`}),H(`path`,{fill:`currentColor`,d:`M18.5 4a1.5 1.5 0 0 0-3 0v.5H4a1.5 1.5 0 1 0 0 3h11.5V8a1.5 1.5 0 0 0 3 0v-.5H20a1.5 1.5 0 0 0 0-3h-1.5zM4 10.5a1.5 1.5 0 0 0 0 3h1.5v.5a1.5 1.5 0 0 0 3 0v-.5H20a1.5 1.5 0 0 0 0-3H8.5V10a1.5 1.5 0 1 0-3 0v.5zM2.5 18A1.5 1.5 0 0 1 4 16.5h11.5V16a1.5 1.5 0 0 1 3 0v.5H20a1.5 1.5 0 0 1 0 3h-1.5v.5a1.5 1.5 0 0 1-3 0v-.5H4A1.5 1.5 0 0 1 2.5 18`})],-1)]])}var pr=X({name:`mingcute-settings-2-fill`,render:fr}),mr={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function hr(e,t){return Q(),W(`svg`,mr,[...t[0]||=[H(`g`,{fill:`none`,"fill-rule":`evenodd`},[H(`path`,{d:`m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z`}),H(`path`,{fill:`currentColor`,d:`M18 4a1 1 0 1 0-2 0v1H4a1 1 0 0 0 0 2h12v1a1 1 0 1 0 2 0V7h2a1 1 0 1 0 0-2h-2zM4 11a1 1 0 1 0 0 2h2v1a1 1 0 1 0 2 0v-1h12a1 1 0 1 0 0-2H8v-1a1 1 0 0 0-2 0v1zm-1 7a1 1 0 0 1 1-1h12v-1a1 1 0 1 1 2 0v1h2a1 1 0 1 1 0 2h-2v1a1 1 0 1 1-2 0v-1H4a1 1 0 0 1-1-1`})],-1)]])}var gr=X({name:`mingcute-settings-2-line`,render:hr}),_r={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function vr(e,t){return Q(),W(`svg`,_r,[...t[0]||=[ue(`<g fill="currentColor"><circle cx="5" cy="5" r="1.5"></circle><circle cx="12" cy="5" r="1.5"></circle><circle cx="19" cy="5" r="1.5"></circle><circle cx="5" cy="12" r="1.5"></circle><circle cx="12" cy="12" r="1.5"></circle><circle cx="19" cy="12" r="1.5"></circle><circle cx="5" cy="19" r="1.5"></circle><circle cx="12" cy="19" r="1.5"></circle><circle cx="19" cy="19" r="1.5"></circle></g>`,1)]])}var yr=X({name:`proicons-grid-dots`,render:vr}),br={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function xr(e,t){return Q(),W(`svg`,br,[...t[0]||=[H(`path`,{fill:`currentColor`,"fill-rule":`evenodd`,d:`M3.464 3.464C2 4.93 2 7.286 2 12s0 7.071 1.464 8.535C4.93 22 7.286 22 12 22s7.071 0 8.535-1.465C22 19.072 22 16.714 22 12s0-7.071-1.465-8.536C19.072 2 16.714 2 12 2S4.929 2 3.464 3.464m14.112 7.016a.75.75 0 0 0-1.152-.96l-1.797 2.156c-.37.445-.599.716-.786.885a.8.8 0 0 1-.163.122l-.011.005l-.008-.004l-.003-.001a.8.8 0 0 1-.164-.122c-.187-.17-.415-.44-.786-.885l-.292-.35c-.328-.395-.625-.75-.901-1c-.301-.272-.68-.514-1.18-.514s-.878.242-1.18.514c-.276.25-.572.605-.9 1l-1.83 2.194a.75.75 0 1 0 1.153.96l1.797-2.156c.37-.445.599-.716.786-.885a.8.8 0 0 1 .163-.122l.007-.003l.004-.002l.011.005a.8.8 0 0 1 .164.122c.187.17.415.44.786.885l.292.35c.329.395.625.75.901 1c.301.272.68.514 1.18.514s.878-.242 1.18-.514c.276-.25.572-.605.9-1z`,"clip-rule":`evenodd`},null,-1)]])}var Sr=X({name:`solar-graph-bold`,render:xr}),Cr={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function wr(e,t){return Q(),W(`svg`,Cr,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M17.576 10.48a.75.75 0 0 0-1.152-.96l-1.797 2.156c-.37.445-.599.716-.786.885a.8.8 0 0 1-.163.122l-.011.005l-.011-.005a.8.8 0 0 1-.164-.122c-.187-.17-.415-.44-.786-.885l-.292-.35c-.328-.395-.625-.75-.901-1c-.301-.272-.68-.514-1.18-.514s-.878.242-1.18.514c-.276.25-.572.605-.9 1l-1.83 2.194a.75.75 0 1 0 1.153.96l1.797-2.156c.37-.445.599-.716.786-.885a.8.8 0 0 1 .163-.122l.011-.005l.011.005a.8.8 0 0 1 .164.122c.187.17.415.44.786.885l.292.35c.329.395.625.75.901 1c.301.272.68.514 1.18.514s.878-.242 1.18-.514c.276-.25.572-.605.9-1z`},null,-1),H(`path`,{fill:`currentColor`,"fill-rule":`evenodd`,d:`M11.943 1.25c-2.309 0-4.118 0-5.53.19c-1.444.194-2.584.6-3.479 1.494c-.895.895-1.3 2.035-1.494 3.48c-.19 1.411-.19 3.22-.19 5.529v.114c0 2.309 0 4.118.19 5.53c.194 1.444.6 2.584 1.494 3.479c.895.895 2.035 1.3 3.48 1.494c1.411.19 3.22.19 5.529.19h.114c2.309 0 4.118 0 5.53-.19c1.444-.194 2.584-.6 3.479-1.494c.895-.895 1.3-2.035 1.494-3.48c.19-1.411.19-3.22.19-5.529v-.114c0-2.309 0-4.118-.19-5.53c-.194-1.444-.6-2.584-1.494-3.479c-.895-.895-2.035-1.3-3.48-1.494c-1.411-.19-3.22-.19-5.529-.19zM3.995 3.995c.57-.57 1.34-.897 2.619-1.069c1.3-.174 3.008-.176 5.386-.176s4.086.002 5.386.176c1.279.172 2.05.5 2.62 1.069c.569.57.896 1.34 1.068 2.619c.174 1.3.176 3.008.176 5.386s-.002 4.086-.176 5.386c-.172 1.279-.5 2.05-1.069 2.62c-.57.569-1.34.896-2.619 1.068c-1.3.174-3.008.176-5.386.176s-4.086-.002-5.386-.176c-1.279-.172-2.05-.5-2.62-1.069c-.569-.57-.896-1.34-1.068-2.619c-.174-1.3-.176-3.008-.176-5.386s.002-4.086.176-5.386c.172-1.279.5-2.05 1.069-2.62`,"clip-rule":`evenodd`},null,-1)]])}var Tr=X({name:`solar-graph-outline`,render:wr}),Er=be({__name:`CuiFloatingButtonGroup`,props:{direction:{default:`vertical`},right:{}},setup(e){let t=e,{bottombarHeight:n}=Me(),{direction:r}=fe(t),{y:i}=a(window,{throttle:100});return(t,a)=>(Q(),W(`div`,{class:M([`fixed z-10 flex transition-all duration-200 ease-in-out`,{"right-safe-offset-5":!e.right,"flex-col":L(r)===`vertical`,"flex-row":L(r)===`horizontal`,"scale-0 opacity-0":L(i)>10,"scale-100 opacity-100":L(i)<=10}]),style:R({bottom:`calc(${L(n)}px + 1.25rem + env(safe-area-inset-bottom, 0px))`,right:e.right||void 0})},[F(t.$slots,`default`)],6))}}),Dr=[`draggable`],Or={key:0,class:`absolute inset-0 z-2 flex items-center justify-center bg-black/80 pointer-events-none`},kr={class:`w-full h-[60px] p-4 absolute bottom-0 z-3 flex items-center gap-1 justify-between pointer-events-none`},Ar={class:`text-xs font-semibold p-2 bg-black/60 rounded-full text-white flex items-center gap-1`},jr=300,Mr=ke(be({__name:`CuiDraggableCameraCard`,props:{camera:{},noDrag:{type:Boolean},viewTransition:{type:Boolean},findCard:{type:Function},moveCard:{type:Function},snapshotRef:{type:Function}},emits:[`refresh-snapshot`,`open-console`,`open-settings`,`click`],setup(e){let t=e,{x:n,y:r,sourceType:a}=je(),{camera:o,noDrag:s,viewTransition:c}=fe(t),l=le(`boxRef`),u=V(),d=V(null),f=G(0),p=G(0),m=G(!1),h=null,g=0,_=Y(()=>!s.value),v=Y(()=>t.findCard(o.value._id).index),[y,b]=vt(()=>({type:`camera-card`,canDrag(){return _.value},item:()=>(h=null,g=0,{id:o.value._id,originalIndex:v.value}),collect:e=>({isDragging:e.isDragging()}),end:(e,n)=>{let{id:r,originalIndex:i}=e;n.didDrop()||t.moveCard(r,i)}})),[,x]=bt(()=>({accept:`camera-card`,hover({id:e}){if(e!==o.value._id){let n=Date.now();if(h===o.value._id&&n-g<jr)return;let{index:r}=t.findCard(o.value._id),{index:i}=t.findCard(e);i!==r&&(h=o.value._id,g=n,t.moveCard(e,r))}}})),S=Y(()=>y.value.isDragging),C=Y(()=>S.value&&a.value===`touch`);function w(){T(),m.value=!0;let e=l.value?.getBoundingClientRect();e&&(f.value=n.value-e.left,p.value=r.value-e.top,E())}function T(){m.value=!1,D(),f.value=0,p.value=0}function E(){if(D(),!l.value)return;let e=l.value.cloneNode(!0),t=l.value.getBoundingClientRect();e.style.width=`${t.width}px`,e.style.height=`${t.height}px`,e.classList.add(`drag-preview`),document.body.appendChild(e),d.value=e}function D(){d.value&&document.body.contains(d.value)&&document.body.removeChild(d.value),d.value=null}function O(){!d.value||!m.value||requestAnimationFrame(()=>{if(!d.value)return;let e=n.value-f.value,t=r.value-p.value;d.value.style.left=`${e}px`,d.value.style.top=`${t}px`})}function k(e){u.value=b(x(e))}return A(C,e=>{e?w():T()}),A([n,r],()=>{O()},{flush:`sync`}),oe(()=>{T()}),(t,n)=>{let r=Te,a=Ee,s=dt,u=i,d=Je,f=tt,p=ht,m=Re;return Q(),W(`div`,{ref_key:`boxRef`,ref:l,class:`camera-wrapper`},[H(`div`,{ref:k,class:M([`rounded-xl overflow-hidden border-[1px] border-color relative`,{"cursor-move":L(_)&&!L(S)}]),style:R({opacity:+!L(S),viewTransitionName:L(c)?`camera-card-${L(o).name.replace(/[^a-zA-Z0-9-_]/g,`-`)}`:void 0}),draggable:L(_)},[L(o).disabled?(Q(),W(`div`,Or,[Z(r,{class:`w-8 h-8 text-white/60`})])):J(``,!0),H(`div`,kr,[H(`span`,Ar,[ye(P(L(o).name)+` `,1),L(o).disabled?(Q(),U(r,{key:0,class:`w-3 h-3 text-red-400`})):L(o).detectionSettings?.snooze?(Q(),U(a,{key:1,class:`w-3 h-3 text-amber-400`})):J(``,!0)]),L(o).disabled?J(``,!0):(Q(),W(q,{key:0},[ve((Q(),U(u,{severity:`secondary`,rounded:``,class:`dark-mode cui-icon-md pointer-events-auto ml-auto`,onClick:n[0]||=de(e=>t.$emit(`refresh-snapshot`),[`stop`])},{icon:K(()=>[Z(s,{width:`100%`,height:`100%`})]),_:1})),[[m,{value:t.$t(`components.player.refresh_snapshot`)},void 0,{top:!0}]]),(`hasPermission`in t?t.hasPermission:L(gt))(void 0,`admin`)?ve((Q(),U(u,{key:0,severity:`secondary`,rounded:``,class:`dark-mode cui-icon-md pointer-events-auto`,onClick:n[1]||=de(e=>t.$emit(`open-console`),[`stop`])},{icon:K(()=>[Z(d,{width:`100%`,height:`100%`})]),_:1})),[[m,{value:t.$t(`components.player.log`)},void 0,{top:!0}]]):J(``,!0)],64)),(`hasPermission`in t?t.hasPermission:L(gt))(void 0,`admin`)?ve((Q(),U(u,{key:1,rounded:``,severity:`secondary`,class:M([`dark-mode cui-icon-md pointer-events-auto`,{"ml-auto":L(o).disabled}]),onClick:n[2]||=de(e=>t.$emit(`open-settings`),[`stop`])},{icon:K(()=>[Z(f,{width:`100%`,height:`100%`})]),_:1},8,[`class`])),[[m,{value:t.$t(`components.player.settings`)},void 0,{top:!0}]]):J(``,!0)]),Z(p,{ref:e.snapshotRef,camera:L(o),class:`cursor-pointer`,onClick:n[3]||=e=>t.$emit(`click`)},null,8,[`camera`])],14,Dr)],512)}}}),[[`__scopeId`,`data-v-b7360c58`]]),Nr={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function Pr(e,t){return Q(),W(`svg`,Nr,[...t[0]||=[H(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M12 5v14m-7-7h14`},null,-1)]])}var Fr=X({name:`tabler-plus`,render:Pr}),Ir={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function Lr(e,t){return Q(),W(`svg`,Ir,[...t[0]||=[H(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`m15 6l-6 6l6 6`},null,-1)]])}var Rr=X({name:`tabler-chevron-left`,render:Lr}),zr={class:`bg-neutral-900 w-[140px] h-[140px] rounded-xl overflow-hidden relative`},Br={key:2,class:`w-full h-full flex items-center justify-center bg-neutral-800/80`},Vr={key:4,class:`absolute inset-0 z-[3] flex items-center justify-center pointer-events-none`},Hr={key:5,class:`absolute top-1.5 left-1.5 z-[3] flex items-center gap-1`},Ur={key:6,class:`absolute inset-0 bg-black/0 group-hover:bg-black/30 transition-colors duration-200 flex flex-col items-center justify-end pb-2 gap-1 z-[2] pointer-events-none`},Wr={class:`flex items-center gap-1 opacity-0 group-hover:opacity-100 transition-opacity duration-200`},Gr={key:0,class:`text-[10px] text-white/50 font-medium truncate max-w-[100px]`},Kr={class:`text-xs text-white font-medium opacity-0 group-hover:opacity-100 transition-opacity duration-200 truncate max-w-[130px] px-1`},qr={class:`mt-2 text-center`},Jr={class:`text-xs text-muted`},Yr=1e4,Xr=ke(be({__name:`CameraEvent`,props:{event:{},cameraName:{},camera:{},loadThumbnails:{type:Function},clickDisabled:{type:Boolean}},setup(e){let r=e,i=Et(),a=N(u,void 0),o=le(`previewCanvasRef`),s=le(`cardRef`),c=G(!1),l=G(void 0),d=G(void 0),f=G(t(r.event)),m=G(`loading`),h,v=!1,{icons:y,generic:b}=ut(),x=Y(()=>y[f.value]??b),S=Y(()=>new Date(r.event.startTime).toLocaleTimeString([],{hour:`2-digit`,minute:`2-digit`})),C=Y(()=>r.event.state===`active`),w=Y(()=>!C.value&&r.event.segments?.some(e=>e?.description)),T=Y(()=>r.event.segments?.find(e=>e?.description)?.description?.title);function E(){if(!a||!r.event.endTime)return;let e=o.value;e&&(c.value=!0,a.onHoverStart(e,r.event.cameraId,r.event.id,r.event.startTime,r.event.endTime))}function D(){a&&(c.value=!1,a.onHoverEnd())}async function O(e=2){let t=await r.loadThumbnails(r.event.id,r.event.startTime);if(t){let e=g(t,r.event);if(e.url){l.value=e.url,d.value=e.label,f.value=e.type,m.value=`loaded`;return}}if(e>0)return await new Promise(e=>setTimeout(e,500)),O(e-1);m.value=`empty`}function k(){if(r.clickDisabled||!r.camera)return;let e=C.value&&Date.now()-r.event.startTime<Yr,t=r.event.segments?.find(e=>e?.description)?.description,n=[{icon:St,toggle:!0,onClick:()=>{}}];h=i.openComponentDialog(at,{data:{title:r.camera.name,stayActive:!0,hideCancelButton:!0,hideConfirmButton:!0,contentProps:{camera:r.camera,eventTimestamp:e?void 0:r.event.startTime},headerActions:t?n:void 0,draggable:!0,blockDragOnSelectors:[`.p-dialog-body`],dismissableMask:!1,modal:!1,dialogContentClass:`!px-0 h-full`,goTo:`/cameras/${r.camera.name}${e?``:`?startTs=${r.event.startTime}`}`},dialogSize:{desktop:{maxWidth:`800px`,maxHeight:`calc(100vh - max(1rem, env(safe-area-inset-top, 0px)) - max(1rem, env(safe-area-inset-bottom, 0px)))`,width:`50vw`}}})}let{stop:j}=n(s,([e])=>{e.isIntersecting&&!v&&(v=!0,j(),O())},{threshold:.1});return A(()=>r.event.state,(e,t)=>{t===`active`&&e===`ended`&&O()}),A(()=>r.event.lastUpdate,()=>{C.value&&v&&O()}),ae(()=>{requestAnimationFrame(()=>{if(!v&&s.value){let e=s.value.getBoundingClientRect();e.right>0&&e.left<window.innerWidth&&e.bottom>0&&e.top<window.innerHeight&&(v=!0,j(),O())}})}),ce(()=>{j(),h?.close()}),(e,t)=>{let n=ct,i=_,u=Ue,f=p;return Q(),W(`div`,{ref_key:`cardRef`,ref:s,class:`camera-event-card relative group cursor-pointer`,onClick:k,onMouseenter:E,onMouseleave:D},[L(T)?(Q(),U(n,{key:0})):J(``,!0),H(`div`,zr,[L(m)===`loading`?(Q(),U(i,{key:0,class:`w-full h-full rounded-xl`,width:`140px`,height:`140px`})):L(l)?(Q(),U(u,{key:1,src:L(l),alt:r.cameraName,class:`pointer-events-none w-full h-full transition-transform duration-300 group-hover:scale-105`,"image-style":{objectFit:`cover`},width:`140px`,height:`140px`,"image-container-class":`w-full h-full`},null,8,[`src`,`alt`])):(Q(),W(`div`,Br,[(Q(),U(ne(L(x)),{class:`w-8 h-8 text-white/20`}))])),L(a)?ve((Q(),W(`canvas`,{key:3,ref_key:`previewCanvasRef`,ref:o,class:`absolute inset-0 w-full h-full object-cover pointer-events-none z-[1]`},null,512)),[[_e,L(c)]]):J(``,!0),L(a)&&L(c)&&L(a).isLoading.value&&!L(w)?(Q(),W(`div`,Vr,[Z(f,{class:`w-[24px] h-[24px] m-0`,"stroke-width":`3`})])):J(``,!0),L(C)?(Q(),W(`div`,Hr,[...t[0]||=[H(`span`,{class:`relative flex h-2.5 w-2.5`},[H(`span`,{class:`animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75`}),H(`span`,{class:`relative inline-flex rounded-full h-2.5 w-2.5 bg-green-500`})],-1)]])):J(``,!0),L(l)?(Q(),W(`div`,Ur,[H(`div`,Wr,[(Q(),U(ne(L(x)),{class:`w-3.5 h-3.5 text-white/50`})),L(d)?(Q(),W(`span`,Gr,P(L(d)),1)):J(``,!0)]),H(`span`,Kr,P(r.cameraName),1)])):J(``,!0)]),H(`div`,qr,[H(`p`,Jr,P(L(S)),1)])],544)}}}),[[`__scopeId`,`data-v-9b0b497e`]]),Zr={key:0,class:`absolute top-[50px] left-[50%] translate-x-[-50%] z-2 px-3 py-2 text-shadow-md`},Qr={class:`text-sm text-color font-medium`},$r=152,ei=172,ti=5,ni=be({__name:`CuiCameraEvents`,props:{cameras:{}},setup(e){let t=e,{isTouch:n}=Ne();if(!n.value&&typeof VideoDecoder<`u`){let e=y({cacheSize:20});te(u,e),s(()=>e.dispose())}let a,{cameras:o}=fe(t),p=le(`containerRef`),h=le(`scrollContainerRef`),g=G(!0),v=G(!1),b=G({left:0,right:0}),x=G(0),{width:S}=d(p),C=Y(()=>{let e=new Map;if(o.value)for(let t of o.value)e.set(t._id,t.name);return e}),w=Y(()=>{let e=new Map;if(o.value)for(let t of o.value)e.set(t._id,t);return e}),{events:T,isLoading:E,hasMore:D,loadMore:O,loadThumbnails:k}=l({availableCameraIds:Y(()=>o.value?.map(e=>e._id)??[]),realtime:!0,pageSize:Y(()=>{let e=S.value||800;return Math.ceil(e/$r)+10}).value,filter:{hasDetections:!0}}),{start:ee}=m(()=>{v.value=!1},100,{immediate:!1}),N=Y(()=>T.value),ne=Y(()=>Math.ceil((S.value||800)/$r)),F=Y(()=>N.value.length<ne.value&&D.value),I=Y(()=>!E.value&&N.value.length===0&&!D.value),re=Y(()=>N.value.length===0?15:5),ie=Y(()=>{let{left:e}=b.value;return{left:`${-e}px`,width:`100dvw`,paddingLeft:`${e}px`}}),oe=Y(()=>{let e=b.value.left+50,t=Math.min(Math.round(45/e*100),100),n=Math.min(Math.round(58/e*100),100);return{top:`-10px`,height:`calc(100% + 20px)`,left:`${-b.value.left}px`,width:`${e}px`,background:`linear-gradient(270deg, transparent 0%, rgba(var(--ground-background-val), 0.8) ${t}%, rgba(var(--ground-background-val), 0.9) ${n}%, rgba(var(--ground-background-val), 0.95) 100%)`}}),se=Y(()=>Math.max(0,Math.floor(x.value/$r)-ti)),ce=Y(()=>{let e=ne.value;return Math.min(N.value.length,Math.ceil(x.value/$r)+e+ti)}),B=Y(()=>N.value.slice(se.value,ce.value)),ue=Y(()=>se.value*$r);function V(){let e=p.value;if(!e)return;let t=e.getBoundingClientRect();b.value={left:t.left,right:window.innerWidth-t.right}}function de(){let e=h.value;e&&(x.value=0,he(()=>{e.scrollTo({left:0,behavior:`smooth`})}))}function pe(){let e=h.value;e&&(x.value=e.scrollLeft,g.value=e.scrollLeft<5)}function me(){c(h,{disableTextSelect:!0,threshold:10,onSwipe:e=>{N.value.length===0&&(E.value||F.value||I.value)||(v.value=!0,h.value?.classList.add(`cursor-grabbing`),h.value?.scrollBy({left:-e.movementX,behavior:`smooth`}))},onSwipeEnd:()=>{h.value?.classList.remove(`cursor-grabbing`),ee()}})}return f(window,`resize`,V),f(h,`scroll`,pe,{passive:!0}),f(h,`wheel`,e=>{N.value.length===0&&(E.value||F.value||I.value)||Math.abs(e.deltaY)>Math.abs(e.deltaX)&&(e.preventDefault(),h.value?.scrollBy({left:e.deltaY}))},{passive:!1}),r(h,O,{distance:300,direction:`right`,canLoadMore:()=>D.value}),A(S,()=>V()),A(()=>N.value[0]?.id,e=>{if(!e||e===a)return;let t=a===void 0;if(a=e,t)return;let n=h.value,r=n?.scrollLeft||0;he(r<5?()=>{h.value?.scrollTo({left:0,behavior:`smooth`})}:()=>{n&&(n.scrollLeft=r+$r)})}),A([F,()=>E.value],([e,t])=>{e&&!t&&O()}),ae(()=>{V();let e=document.getElementById(`container`);e&&f(e,`transitionend`,V),n.value||me()}),(e,t)=>{let n=_,r=Xr,a=Rr,o=i;return Q(),W(`div`,{ref_key:`containerRef`,ref:p,class:`relative min-w-0`,style:R({height:`${ei}px`})},[H(`div`,{ref_key:`scrollContainerRef`,ref:h,class:M([`absolute top-0 overflow-x-auto overflow-y-hidden hide-scrollbar overscroll-x-contain`,{"overflow-x-hidden!":L(N).length===0&&(L(E)||L(F)||L(I))}]),style:R(L(ie))},[H(`div`,{class:`relative`,style:R({width:`${L(N).length*$r}px`,height:`${ei}px`})},[H(`div`,{class:`absolute top-0 left-0 flex`,style:R({transform:`translateX(${L(ue)}px)`})},[L(N).length===0&&(L(E)||L(F)||L(I))?(Q(!0),W(q,{key:0},z(L(re),e=>(Q(),W(`div`,{key:`skeleton-${e}`,class:`event-card flex flex-col items-center justify-center w-[140px] mr-3`},[Z(n,{class:`rounded-xl`,width:`140px`,height:`140px`,animation:L(I)?`none`:`wave`},null,8,[`animation`]),Z(n,{class:`mt-2`,width:`50px`,height:`16px`,animation:L(I)?`none`:`wave`},null,8,[`animation`])]))),128)):(Q(!0),W(q,{key:1},z(L(B),e=>(Q(),W(`div`,{key:e.id,class:`event-card flex-none w-[140px] mr-3`},[Z(r,{event:e,"camera-name":L(C).get(e.cameraId),camera:L(w).get(e.cameraId),"load-thumbnails":L(k),"click-disabled":L(v)},null,8,[`event`,`camera-name`,`camera`,`load-thumbnails`,`click-disabled`])]))),128))],4)],4)],6),L(I)&&!L(E)&&!L(F)?(Q(),W(`div`,Zr,[H(`span`,Qr,P(e.$t(`components.camera_events.no_events`)),1)])):J(``,!0),!L(g)&&L(b).left>0?(Q(),W(`div`,{key:1,class:`absolute pointer-events-none z-1`,style:R(L(oe))},null,4)):J(``,!0),Z(j,{name:`fade-2`},{default:K(()=>[!L(g)&&L(N).length>0?(Q(),U(o,{key:0,rounded:``,severity:`secondary`,class:`absolute left-1 cui-icon-md shadow-md z-2 opacity-70 hover:opacity-100 transition-opacity`,style:{top:`70px`,transform:`translateY(-50%)`},onClick:de},{icon:K(()=>[Z(a,{width:`100%`,height:`100%`})]),_:1})):J(``,!0)]),_:1})],4)}}}),ri={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function ii(e,t){return Q(),W(`svg`,ri,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M18 8a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2h9V6a3 3 0 0 0-3-3a3 3 0 0 0-3 3H7a5 5 0 0 1 5-5a5 5 0 0 1 5 5v2zm-6 9a2 2 0 0 0 2-2a2 2 0 0 0-2-2a2 2 0 0 0-2 2a2 2 0 0 0 2 2`},null,-1)]])}var ai=X({name:`mdi-lock-open`,render:ii}),oi={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function si(e,t){return Q(),W(`svg`,oi,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M21 3H3c-.6 0-1 .4-1 1v6c0 .6.4 1 1 1h18c.6 0 1-.4 1-1V4c0-.6-.4-1-1-1m0 10H3c-.6 0-1 .4-1 1v6c0 .6.4 1 1 1h18c.6 0 1-.4 1-1v-6c0-.6-.4-1-1-1`},null,-1)]])}var ci=X({name:`mdi-view-agenda`,render:si}),li={class:`flex flex-col`},ui={class:`flex flex-row items-center justify-center gap-2`},di={key:0,class:`events-section mb-4`},fi={key:0,class:`page-title mb-2`},pi={class:`flex flex-col flex-1 overflow-x-hidden`},mi={key:0,class:`page-title`},hi={class:`flex flex-1 min-h-0 flex-col items-center justify-center w-full gap-4 py-16`,key:`no-cameras`},gi={class:`w-16 h-16 rounded-full bg-primary-500/10 flex items-center justify-center`},_i={class:`flex flex-col items-center gap-1 max-w-[400px] text-center`},vi={class:`text-color font-semibold text-base`},yi={class:`text-muted text-sm`},bi={key:`defaultView`},xi={key:`groupedView`,class:`flex flex-col gap-6`},Si={class:`text-sm font-semibold text-muted uppercase tracking-wide mb-2`},Ci=ke(be({__name:`Home`,setup(e){let t=Tt(()=>B(()=>import(`./CameraConsole-DGbeilsL.js`),__vite__mapDeps([3,1,2,4,5,6,7,8,9,10,11,12,13,14,15,16]))),n=new Ct,r=wt(),a=Et(),{t:o}=h(),{smBreakpoint:s}=Pe(),{isTouch:c}=Ne(),{width:l,height:u}=Ae(),{uiSettings:d}=Se(Fe()),{data:f,isLoading:p}=n.getCamerasQuery({page:1,pageSize:-1}),m=V({}),g=Y(()=>p.value),v=Y(()=>gt(void 0,`admin`)),y=Y(()=>c.value?xt:yt),b=Y(()=>d.value.cameras.viewMode??`default`),x=Y(()=>`repeat(auto-fill, minmax(${s.value?`100%`:`300px`}, 1fr))`),S=Y(()=>{let e=x.value;return w.value.length<2?`${e} 50%`:e}),C=Y(()=>{let e=s.value?1:Math.max(1,Math.floor(l.value/300)),t=l.value/e*9/16+8;return e*Math.max(1,Math.ceil(u.value/t))}),w=Y(()=>f.value?.result?E(f.value.result,d.value.cameras.order||[]):[]),T=Y(()=>{if(!f.value?.result)return[];let e=d.value.cameras.groupOrder||{},t=new Map;for(let e of f.value.result){let n=e.room||`Default`;t.has(n)||t.set(n,[]),t.get(n).push(e)}let n=[];for(let[r,i]of t){let t=e[r]||[];n.push({room:r,cameras:E(i,t)})}return n.sort((e,t)=>e.room===`Default`?-1:t.room===`Default`?1:e.room.localeCompare(t.room)),n});function E(e,t){return[...e].sort((e,n)=>{let r=t.indexOf(e._id),i=t.indexOf(n._id);return r!==-1&&i!==-1?r-i:r===-1?i===-1?e.name.localeCompare(n.name):1:-1})}function D(){d.value.cameras.viewMode=b.value==="default"?`grouped`:`default`}function k(e){let t=w.value.find(t=>t._id===e);return{camera:t,index:t?w.value.indexOf(t):-1}}function A(e,t){let{index:n}=k(e);if(n===-1||n===t)return;let r=w.value.map(e=>e._id),[i]=r.splice(n,1);r.splice(t,0,i),d.value.cameras.order=r}function ee(e,t){let n=T.value.find(t=>t.room===e);if(!n)return{camera:void 0,index:-1};let r=n.cameras.find(e=>e._id===t);return{camera:r,index:r?n.cameras.indexOf(r):-1}}function te(e,t,n){let{index:r}=ee(e,t);if(r===-1||r===n)return;let i=T.value.find(t=>t.room===e);if(!i)return;let a=i.cameras.map(e=>e._id),[o]=a.splice(r,1);a.splice(n,0,o);let s={...d.value.cameras.groupOrder||{}};s[e]=a,d.value.cameras.groupOrder=s}function M(e){a.openComponentDialog(t,{data:{title:o(`components.dialog.title.log`),confirmText:o(`components.form.button.download`),loading:g,stayActive:!0,contentProps:{cameraName:e},dialogContentClass:`not-md:px-0 h-full md:h-[50vh]`}})}return(e,t)=>{let n=Dt,a=ni,o=_,c=qe,l=Fr,u=i,p=Mr,h=mt,E=Er;return Q(),W(`div`,li,[Z(n,{position:`center`},{default:K(()=>[H(`div`,ui,[Z(L(I),{src:L(O)(`logo_animated.svg`),width:`18px`,height:`18px`,title:`camera.ui`,"aria-label":`camera.ui`},null,8,[`src`]),t[2]||=H(`span`,{class:`font-semibold text-xl truncate`},`camera.ui`,-1)])]),_:1}),L(d).cameras.showEvents&&(L(g)||L(w).length)?(Q(),W(`div`,di,[L(s)?J(``,!0):(Q(),W(`h1`,fi,P(e.$t(`components.camera_events.title`)),1)),Z(a,{cameras:L(f)?.result},null,8,[`cameras`])])):J(``,!0),H(`div`,pi,[L(g)||L(w).length?(Q(),W(`h1`,mi,P(e.$t(`views.cameras.title`)),1)):J(``,!0),Z(j,{name:`fade-2`,mode:`out-in`},{default:K(()=>[L(g)?(Q(),W(`div`,{key:`loading`,class:`grid w-full gap-2`,style:R({gridTemplateColumns:L(x)})},[(Q(!0),W(q,null,z(L(C),e=>(Q(),U(o,{key:e,class:`aspect-video !h-auto cui-card`}))),128))],4)):L(w).length?L(b)==="default"?(Q(),W(`div`,bi,[H(`div`,{class:`grid w-full gap-1`,style:R({gridTemplateColumns:L(S)})},[Z(L(_t),{backend:L(y)},{default:K(()=>[Z(pe,{name:`list`},{default:K(()=>[(Q(!0),W(q,null,z(L(w),t=>(Q(),U(p,{key:t._id,camera:t,"find-card":k,"move-card":A,"no-drag":L(d).cameras.dragDisabled,"snapshot-ref":e=>L(m)[t.name]=e,class:`shadow-lg rounded-xl transition-transform`,"view-transition":``,onRefreshSnapshot:e=>L(m)[t.name]?.refresh(),onOpenConsole:e=>M(t.name),onOpenSettings:e=>L(r).open({cameraName:t.name}),onClick:n=>e.$router.push(`/cameras/${t.name}`)},null,8,[`camera`,`no-drag`,`snapshot-ref`,`onRefreshSnapshot`,`onOpenConsole`,`onOpenSettings`,`onClick`]))),128))]),_:1})]),_:1},8,[`backend`])],4)])):(Q(),W(`div`,xi,[(Q(!0),W(q,null,z(L(T),t=>(Q(),W(`div`,{key:t.room},[H(`h2`,Si,P(t.room===`Default`?e.$t(`components.form.label.room_default`):t.room),1),H(`div`,{class:`grid w-full gap-1`,style:R({gridTemplateColumns:L(S)})},[Z(L(_t),{backend:L(y)},{default:K(()=>[Z(pe,{name:`list`},{default:K(()=>[(Q(!0),W(q,null,z(t.cameras,n=>(Q(),U(p,{key:n._id,camera:n,"find-card":e=>ee(t.room,e),"move-card":(e,n)=>te(t.room,e,n),"no-drag":L(d).cameras.dragDisabled,"snapshot-ref":e=>L(m)[n.name]=e,class:`shadow-lg rounded-xl transition-transform`,"view-transition":``,onRefreshSnapshot:e=>L(m)[n.name]?.refresh(),onOpenConsole:e=>M(n.name),onOpenSettings:e=>L(r).open({cameraName:n.name}),onClick:t=>e.$router.push(`/cameras/${n.name}`)},null,8,[`camera`,`find-card`,`move-card`,`no-drag`,`snapshot-ref`,`onRefreshSnapshot`,`onOpenConsole`,`onOpenSettings`,`onClick`]))),128))]),_:2},1024)]),_:2},1032,[`backend`])],4)]))),128))])):(Q(),W(`div`,hi,[H(`div`,gi,[Z(c,{class:`w-8 h-8 text-primary-500`})]),H(`div`,_i,[H(`span`,vi,P(e.$t(`views.cameras.no_cameras`)),1),H(`span`,yi,P(e.$t(`views.cameras.no_cameras_hint`)),1)]),L(v)?(Q(),U(u,{key:0,class:`cui-button-medium mt-2`,label:e.$t(`views.cameras.get_started`),onClick:t[0]||=t=>e.$router.push(`/cameras`)},{icon:K(()=>[Z(l,{class:`w-4 h-4`})]),_:1},8,[`label`])):J(``,!0)]))]),_:1})]),L(w).length>1?(Q(),U(E,{key:1},{default:K(()=>[Z(h,{grouped:``,"tooltip-props":{value:L(b)==="default"?e.$t(`components.form.tooltip.view_grouped`):e.$t(`components.form.tooltip.view_default`)},"button-props":{severity:L(b)==="default"?`secondary`:`primary`},icon:L(b)==="default"?L(st):L(ci),"icon-props":{width:`100%`,height:`100%`},onClick:D},null,8,[`tooltip-props`,`button-props`,`icon`]),Z(h,{grouped:``,"tooltip-props":{value:L(d).cameras.dragDisabled?e.$t(`components.form.tooltip.enable_drag`):e.$t(`components.form.tooltip.disable_drag`)},"button-props":{severity:L(d).cameras.dragDisabled?`secondary`:`success`},icon:L(d).cameras.dragDisabled?L(Oe):L(ai),"icon-props":{width:`100%`,height:`100%`},onClick:t[1]||=e=>L(d).cameras.dragDisabled=!L(d).cameras.dragDisabled},null,8,[`tooltip-props`,`button-props`,`icon`])]),_:1})):J(``,!0)])}}}),[[`__scopeId`,`data-v-6e795f3f`]]),wi={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function Ti(e,t){return Q(),W(`svg`,wi,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M20 11v2H8l5.5 5.5l-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5L8 11z`},null,-1)]])}var Ei=X({name:`mdi-arrow-left`,render:Ti}),Di={viewBox:`0 0 25 24`,width:`1.26em`,height:`1.2em`};function Oi(e,t){return Q(),W(`svg`,Di,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M25.418 12v.03c0 .543-.156 1.05-.425 1.479l.007-.012a2.77 2.77 0 0 1-1.112 1.021l-.016.007c.108.403.17.865.17 1.343v.018v-.001a6.33 6.33 0 0 1-1.518 4.08l.007-.009a10.2 10.2 0 0 1-4.052 2.936l-.069.024c-1.635.686-3.535 1.085-5.529 1.085L12.728 24h.008l-.146.001c-1.991 0-3.888-.399-5.617-1.121l.096.036a10.26 10.26 0 0 1-4.101-2.944l-.013-.016a6.3 6.3 0 0 1-1.51-4.069v-.007q.002-.707.161-1.366l-.008.04a2.86 2.86 0 0 1-1.156-1.029l-.007-.011a2.8 2.8 0 0 1-.44-1.512c0-.777.314-1.481.823-1.991a2.7 2.7 0 0 1 1.952-.83h.05h-.003h.039c.799 0 1.519.343 2.019.889l.002.002a13.14 13.14 0 0 1 7.296-2.298h.008l1.646-7.39a.48.48 0 0 1 .211-.296l.002-.001a.46.46 0 0 1 .372-.071l-.003-.001l5.234 1.149c.174-.353.435-.639.757-.838l.009-.005c.319-.2.707-.319 1.123-.319c.585 0 1.116.235 1.501.617c.385.369.624.888.624 1.463v.036v-.002v.03c0 .578-.239 1.1-.624 1.472l-.001.001a2.1 2.1 0 0 1-1.504.624a2.12 2.12 0 0 1-1.497-.617a2.03 2.03 0 0 1-.617-1.461v-.038v.002l-4.738-1.05l-1.475 6.694c2.747.02 5.293.865 7.407 2.3l-.047-.03a2.8 2.8 0 0 1 2.031-.865c.78 0 1.486.317 1.997.83c.509.496.825 1.189.825 1.955v.039V12zM5.929 14.822v.032c0 .576.236 1.097.617 1.471a2.02 2.02 0 0 0 1.463.624h.036h-.002a2.13 2.13 0 0 0 2.128-2.128v-.034c0-.575-.239-1.094-.624-1.462l-.001-.001a2.06 2.06 0 0 0-1.471-.617h-.034h.002a2.13 2.13 0 0 0-2.114 2.113v.001zm11.489 5.036a.513.513 0 0 0 0-.738a.48.48 0 0 0-.341-.142h-.014h.001h-.008a.53.53 0 0 0-.361.142a3.54 3.54 0 0 1-1.694.876l-.023.004a9.26 9.26 0 0 1-4.604-.014l.064.014a3.55 3.55 0 0 1-1.721-.882l.002.002a.53.53 0 0 0-.361-.142h-.019a.48.48 0 0 0-.341.142a.47.47 0 0 0-.16.352v.014c0 .146.061.278.16.372a4.2 4.2 0 0 0 1.65.957l.03.008a8 8 0 0 0 1.695.414l.043.005q.666.064 1.29.064t1.29-.064a8.4 8.4 0 0 0 1.796-.437l-.058.019a4.2 4.2 0 0 0 1.685-.966l-.002.002zm-.042-2.908h.034c.575 0 1.094-.239 1.462-.624l.001-.001c.381-.374.617-.895.617-1.471v-.034v.002a2.13 2.13 0 0 0-2.113-2.114h-.033c-.576 0-1.097.236-1.471.617a2.02 2.02 0 0 0-.624 1.463v.036v-.002a2.13 2.13 0 0 0 2.128 2.128z`},null,-1)]])}var ki=X({name:`fontisto-reddit`,render:Oi}),Ai={viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`};function ji(e,t){return Q(),W(`svg`,Ai,[...t[0]||=[H(`path`,{fill:`currentColor`,d:`M19.27 5.33C17.94 4.71 16.5 4.26 15 4a.1.1 0 0 0-.07.03c-.18.33-.39.76-.53 1.09a16.1 16.1 0 0 0-4.8 0c-.14-.34-.35-.76-.54-1.09c-.01-.02-.04-.03-.07-.03c-1.5.26-2.93.71-4.27 1.33c-.01 0-.02.01-.03.02c-2.72 4.07-3.47 8.03-3.1 11.95c0 .02.01.04.03.05c1.8 1.32 3.53 2.12 5.24 2.65c.03.01.06 0 .07-.02c.4-.55.76-1.13 1.07-1.74c.02-.04 0-.08-.04-.09c-.57-.22-1.11-.48-1.64-.78c-.04-.02-.04-.08-.01-.11c.11-.08.22-.17.33-.25c.02-.02.05-.02.07-.01c3.44 1.57 7.15 1.57 10.55 0c.02-.01.05-.01.07.01c.11.09.22.17.33.26c.04.03.04.09-.01.11c-.52.31-1.07.56-1.64.78c-.04.01-.05.06-.04.09c.32.61.68 1.19 1.07 1.74c.03.01.06.02.09.01c1.72-.53 3.45-1.33 5.25-2.65c.02-.01.03-.03.03-.05c.44-4.53-.73-8.46-3.1-11.95c-.01-.01-.02-.02-.04-.02M8.52 14.91c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.84 2.12-1.89 2.12m6.97 0c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.83 2.12-1.89 2.12`},null,-1)]])}var Mi=X({name:`ic-baseline-discord`,render:ji}),Ni={class:`flex justify-center items-center draggable-region`},Pi={class:`card-background border-color relative w-full sm:w-[400px] sm:rounded-2xl sm:border-[1px] shadow-none sm:shadow-xl h-full sm:h-auto sm:my-4`},Fi={class:`flex flex-col h-full p-10 non-draggable-region`},Ii={class:`flex flex-col items-center justify-center mb-10`},Li={class:`flex justify-between items-center`},Ri={class:`flex items-center gap-1 ml-auto`},zi=be({__name:`CuiAuthCard`,props:{logoUrl:{}},setup(e){return(t,n)=>{let r=Be,a=pt,o=i,s=Mi,c=ki;return Q(),W(`div`,Ni,[H(`div`,Pi,[H(`div`,Fi,[H(`div`,Ii,[Z(L(I),{src:e.logoUrl,height:`60px`,title:`camera.ui`,"aria-label":`camera.ui`,class:`hover:scale-105 active:scale-105 focus:scale-105 transition-all`},null,8,[`src`]),n[3]||=H(`span`,{class:`text-2xl ml-3 mt-2 font-bold text-color`},`camera.ui`,-1)]),F(t.$slots,`default`),Z(r,{class:`mt-15`}),H(`div`,Li,[F(t.$slots,`footer-left`),H(`div`,Ri,[Z(o,{severity:`secondary`,class:`cui-icon-md`,text:``,rounded:``,onClick:n[0]||=e=>t.$router.absUrl(`https://github.com/cameraui/camera.ui`,!0)},{icon:K(()=>[Z(a,{class:`text-muted`,width:`100%`,height:`100%`})]),_:1}),Z(o,{severity:`secondary`,class:`cui-icon-md`,text:``,rounded:``,onClick:n[1]||=e=>t.$router.absUrl(`https://discord.gg/bBGnGcbz8N`,!0)},{icon:K(()=>[Z(s,{class:`text-muted`,width:`100%`,height:`100%`})]),_:1}),Z(o,{severity:`secondary`,class:`cui-icon-md`,text:``,rounded:``,onClick:n[2]||=e=>t.$router.absUrl(`https://reddit.com/r/cameraui/`,!0)},{icon:K(()=>[Z(c,{class:`text-muted`,width:`100%`,height:`100%`})]),_:1})])])]),n[4]||=H(`div`,{class:`bg-primary-500 opacity-0 sm:opacity-100 absolute blur-[20px] w-[200px] h-[30px] left-[50%] -translate-x-[50%] bottom-[25px] -z-1`},null,-1)])])}}}),Bi=`cui_device_id`,Vi=null,Hi=null;async function Ui(){if(Vi)return Vi;let e=localStorage.getItem(Bi);if(e)return Vi=e,e;let t=At();return localStorage.setItem(Bi,t),Vi=t,t}async function Wi(){return Hi||(Hi=Gi(navigator.userAgent),Hi)}function Gi(e){let t=/Edg\//.test(e)?`Edge`:/OPR\//.test(e)||/Opera/.test(e)?`Opera`:/Firefox\//.test(e)?`Firefox`:/Chrome\//.test(e)&&!/Chromium/.test(e)?`Chrome`:/Safari\//.test(e)&&!/Chrome\//.test(e)?`Safari`:`Browser`,n=/Windows NT/.test(e)?`Windows`:/Mac OS X/.test(e)?`macOS`:/Android/.test(e)?`Android`:/iPhone|iPad|iPod/.test(e)?`iOS`:/Linux/.test(e)?`Linux`:``;return n?`${t} on ${n}`:t}var Ki={key:`connecting`,class:`flex flex-col items-center justify-center h-full gap-4`},qi={class:`text-muted text-sm text-center`},Ji={class:`flex flex-col gap-10 sm:gap-6 w-full mt-10 sm:mt-0`},Yi={for:`username`,class:`cui-label`},Xi={for:`password`,class:`cui-label`},Zi={class:`flex flex-col gap-6 mt-10`},Qi={class:`flex items-center field-checkbox-gap`},$i={for:`rememberMe`,class:`cui-label-checkbox`},ea={key:`2fa`,class:`flex flex-col h-full`},ta={class:`flex flex-col items-center text-center mt-10 sm:mt-0`},na={class:`text-lg font-semibold mb-2`},ra={class:`text-muted text-sm`},ia={class:`flex flex-col items-center mt-10`},aa={class:`mt-4 text-xs text-muted text-center`},oa={class:`flex flex-col gap-3 mt-auto pt-10`},sa=ke(be({__name:`Login`,setup(e){S();let t=b();Et();let{t:n}=h(),r=T(),a=x(),{isNeedsAuth:s,isOnline:c,inTrouble:l}=a,u=w(),{loginLoading:d,requires2FA:f}=Se(u),m=Ke(),g=le(`formRef`),_=G(``),y=G(``),C=G(!1),k=G(``),A=G(!1),te=G(!1);G(!1);let M=Y(()=>!m.isHomeActive||m.redirectInfo!==null),N=Y(()=>r===`cloud`&&m.isHomeActive),ne=Y(()=>!c.value&&!s.value&&!d.value&&!f.value),F=Y(()=>l.value?n(`connection.unreachable`):n(`connection.connecting_remote`)),I=Y(()=>!1);function re(){a.retry()}function oe(){if(m.redirectInfo){let e=m.redirectInfo.sourceUrl;m.redirectInfo=null,window.location.href=e;return}m.switchInstance(null)}async function ce(e){try{let[t,n]=await Promise.all([Ui(),Wi()]);return await u.login({username:e.username,password:e.password,kind:`web`,persistent:C.value,device:{id:t,name:n}}),!0}catch(e){return t.add({severity:`error`,detail:e,life:3e3}),!1}}async function R(){await ce({username:_.value,password:y.value})&&await ue({username:_.value,password:y.value})}async function z(){let e=await B();if(e){A.value=!0;try{let t=await Ot(e,n(`views.login.biometric_reason`));if(!t)return;_.value=t.username,y.value=t.password,await ce(t)||(await kt(e),te.value=!1)}finally{A.value=!1}}}async function B(){return null}async function ue(e){}async function V(){window.location.href=E}async function de(){if(!(k.value.length<6))try{await u.verify2FA(k.value)}catch(e){t.add({severity:`error`,detail:D(e)??n(`views.login.2fa_invalid_code`),life:3e3}),k.value=``}}function fe(){u.cancel2FA(),k.value=``}return ae(async()=>{}),(e,t)=>{let n=Ei,r=i,a=Ie,s=p,c=v,u=ze,m=Ve,h=Le,b=rt,x=He,S=o;return Q(),U(zi,{"logo-url":L(O)(`logo_animated.svg`)},me({default:K(()=>[Z(j,{name:`slide-fade`,mode:`out-in`},{default:K(()=>[L(ne)?(Q(),W(`div`,Ki,[Z(s,{"stroke-width":`4`,class:`!w-12 !h-12`}),H(`p`,qi,P(L(F)),1),L(l)?(Q(),U(r,{key:0,size:`small`,severity:`secondary`,label:e.$t(`connection.retry`),onClick:re},null,8,[`label`])):J(``,!0)])):L(f)?ve((Q(),W(`div`,ea,[H(`div`,ta,[H(`h2`,na,P(e.$t(`views.login.2fa_title`)),1),H(`p`,ra,P(e.$t(`views.login.2fa_description`)),1)]),H(`div`,ia,[Z(x,{modelValue:L(k),"onUpdate:modelValue":t[3]||=e=>ge(k)?k.value=e:null,length:6,"integer-only":``,size:`large`,onComplete:de},null,8,[`modelValue`]),H(`p`,aa,P(e.$t(`views.login.2fa_backup_hint`)),1)]),H(`div`,oa,[Z(r,{class:`text-white font-semibold cui-button-large`,loading:L(d),disabled:L(k).length<6,label:e.$t(`views.login.2fa_verify`),fluid:``,onClick:de},null,8,[`loading`,`disabled`,`label`]),Z(r,{severity:`secondary`,class:`cui-button-large`,text:``,label:e.$t(`components.form.button.cancel`),fluid:``,onClick:fe},null,8,[`label`])])])),[[S]]):(Q(),U(L(xe),{key:`login`,ref_key:`formRef`,ref:g,"validation-schema":L(jt),class:`flex flex-col h-full`,onSubmit:R},{default:K(()=>[H(`div`,Ji,[Z(L(se),{modelValue:L(_),"onUpdate:modelValue":t[0]||=e=>ge(_)?_.value=e:null,modelModifiers:{trim:!0},name:`username`,as:`div`,class:`flex flex-col field-gap`},{default:K(({field:t,errors:n})=>[H(`label`,Yi,P(e.$t(`components.form.label.username`)),1),Z(u,null,{default:K(()=>[Z(c,ee({invalid:n.length>0,type:`text`,size:`large`,loading:L(d)},t),null,16,[`invalid`,`loading`])]),_:2},1024),Z(j,{name:`fade`},{default:K(()=>[Z(L(ie),{name:`username`,class:`cui-input-error`})]),_:1})]),_:1},8,[`modelValue`]),Z(L(se),{modelValue:L(y),"onUpdate:modelValue":t[1]||=e=>ge(y)?y.value=e:null,name:`password`,as:`div`,class:`flex flex-col field-gap`},{default:K(({field:t,errors:n})=>[H(`label`,Xi,P(e.$t(`components.form.label.password`)),1),Z(u,null,{default:K(()=>[Z(m,ee({invalid:n.length>0,size:`large`,loading:L(d),feedback:!1,"toggle-mask":``},t),null,16,[`invalid`,`loading`])]),_:2},1024),Z(j,{name:`fade`},{default:K(()=>[Z(L(ie),{name:`password`,class:`cui-input-error`})]),_:1})]),_:1},8,[`modelValue`])]),H(`div`,Zi,[L(!1)?J(``,!0):(Q(),U(L(se),{key:0,"model-value":L(C),name:`rememberMe`,type:`checkbox`,"checked-value":!0,"unchecked-value":!1,as:`div`,class:`flex flex-col field-gap`},{default:K(({field:n,errors:r})=>[H(`div`,Qi,[Z(h,ee({"model-value":L(C)},n,{invalid:r.length>0,class:`mr-2`,binary:``,loading:L(d),onValueChange:t[2]||=e=>C.value=e}),null,16,[`model-value`,`invalid`,`loading`]),H(`label`,$i,P(e.$t(`components.form.label.remember_me`)),1)]),Z(j,{name:`fade`},{default:K(()=>[Z(L(ie),{name:`rememberMe`,class:`cui-input-checkbox-error`})]),_:1})]),_:1},8,[`model-value`])),Z(r,{type:`submit`,class:`text-white font-semibold cui-button-large`,loading:L(d),label:e.$t(`components.form.button.login`),fluid:``},null,8,[`loading`,`label`]),L(I)?(Q(),U(r,{key:1,type:`button`,severity:`secondary`,class:`cui-button-large`,text:``,loading:L(A),label:e.$t(`components.form.button.biometric_login`),fluid:``,onClick:z},{icon:K(()=>[Z(b,{class:`w-5 h-5 mr-2`})]),_:1},8,[`loading`,`label`])):J(``,!0)])]),_:1},8,[`validation-schema`]))]),_:1})]),_:2},[L(M)||L(N)?{name:`footer-left`,fn:K(()=>[L(M)?(Q(),U(r,{key:0,severity:`secondary`,text:``,size:`small`,class:`text-muted`,label:e.$t(`components.instance_switcher.go_back`),onClick:oe},{icon:K(()=>[Z(n,{class:`w-4 h-4`})]),_:1},8,[`label`])):(Q(),U(r,{key:1,severity:`secondary`,text:``,size:`small`,class:`text-muted`,label:e.$t(`views.login.pick_server`),onClick:V},{icon:K(()=>[Z(a,{class:`w-4 h-4`})]),_:1},8,[`label`]))]),key:`0`}:void 0]),1032,[`logo-url`])}}}),[[`__scopeId`,`data-v-20e156aa`]]),ca=()=>B(()=>import(`./404-CZDMFg2Z.js`),__vite__mapDeps([17,5,2,1,9,6,10,18])),la=()=>B(()=>import(`./FirstSteps-YNR-3tqt.js`),__vite__mapDeps([19,5,2,1,9,6,10,20,21,22,4,7,23,24,25,13,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49])),ua=()=>B(()=>import(`./Cameras-CVID1akl.js`),__vite__mapDeps([50,5,2,1,9,6,10,13,4,7,23,20,51,52,21,11,53,22,24,25,26,36,38,54,43,55,56,57,58,39,40,41,59,60,61])),da=()=>B(()=>import(`./Camera-BlN_KppY.js`),__vite__mapDeps([62,5,2,1,9,6,10,63,13,4,7,23,20,64,65,8,66,25,26,21,67,68,29,30,69,70,71,31,72,32,73,11,33,34,74,53,22,24,75,76,77,78,79,80,81])),fa=()=>B(()=>import(`./Camview-B-Pqm0Fw.js`),__vite__mapDeps([82,5,2,1,9,6,10,63,13,4,7,23,20,64,65,8,66,25,26,21,67,68,29,30,69,70,71,31,72,32,73,11,33,34,74,53,22,24,75,83,84,37,36,38,77,55,85,57,86,79,80,87,88,59,89,90,91,92])),pa=()=>B(()=>import(`./Recordings-Daf0TCPA.js`),__vite__mapDeps([93,5,2,1,63,9,6,10,13,4,7,23,20,64,65,8,66,25,26,21,67,68,29,30,69,70,71,31,72,32,73,11,33,34,74,53,22,24,75,94,76,95,96,97,98,59,99,100,101,102])),ma=()=>B(()=>import(`./Faces-u9Rxm4Ti.js`),__vite__mapDeps([103,5,2,1,9,6,10,4,7,23,20,31,52,22,24,25,13,26,98,104,86,105,60])),ha=()=>B(()=>import(`./Plugins-B7ZOk3ld.js`),__vite__mapDeps([106,5,2,1,13,4,6,7,23,20,107,52,21,9,10,22,24,25,26,98,104,105,60,108,109,110,64,68,29,30,69,38,36,111,112,113,114,115,116])),ga=()=>B(()=>import(`./Plugin-CWjFyBeK.js`),__vite__mapDeps([117,5,2,1,9,6,10,13,4,7,20,51,118,64,21,68,29,25,26,30,69,71,31,72,11,53,22,23,24,98,38,36,54,43,55,56,104,119,57,120,121,122,105,109,110,111,112,113,114,115,123])),_a=()=>B(()=>import(`./Adminpanel-Cciuxh1q.js`),__vite__mapDeps([124,5,2,1,9,6,10,4,7,98,38,36,104,27,45,105,125,13,20,43,40,126,127,128])),va=()=>B(()=>import(`./Config-CfunWNtM.js`),__vite__mapDeps([129,2,5,1,9,6,10,4,7,20,22,23,24,25,13,26,98,43,27,105,78,130])),ya=()=>B(()=>import(`./Logs-CpAkrsEJ.js`),__vite__mapDeps([131,5,2,1,9,6,10,7,20,8,68,13,29,25,26,30,69,11,22,4,23,24,98,104,12,14,15,16,27,105,108,78,87,88,59,89,132,133])),ba=()=>B(()=>import(`./Terminal-h5vqtN-o.js`),__vite__mapDeps([134,5,2,1,9,6,10,13,4,7,20,98,14,15,105,135,78,87,23,88,59,89,133,136])),xa=()=>B(()=>import(`./Automations-by_LN5br.js`),__vite__mapDeps([137,5,2,1,9,6,10,4,7,20,138,52,22,23,24,25,13,26,98,86,139,140,141,142,65,105,60,108])),Sa=()=>B(()=>import(`./Automation-CMMDPrn0.js`),__vite__mapDeps([143,5,2,1,9,6,10,13,4,7,23,20,68,29,25,26,30,69,70,22,24,98,144,139,145,140,141,142,65,146,147,105,60,148,135,149])),Ca=()=>B(()=>import(`./Instances-CWzMYIvB.js`),__vite__mapDeps([150,5,2,1,9,6,10,4,7,20,151,21,22,23,24,25,13,26,52,68,29,30,69,98,105,60,108,114])),wa=()=>B(()=>import(`./Workers-xo6c0O5M.js`),__vite__mapDeps([152,5,2,1,9,6,10,4,7,20,153,11,33,34,98,39,13,40,41,105,125,43,126,127,128])),Ta=()=>B(()=>import(`./Settings-Bz7u44Pl.js`),__vite__mapDeps([154,5,2,1,6,13,4,7,21,9,10,98,77,101,155])),Ea=()=>B(()=>import(`./Menu-uW8DUGLM.js`),__vite__mapDeps([156,5,2,1,9,6,10,157,29,13,25,20,26,30,21,68,69,158,127])),Da=()=>B(()=>import(`./About-TDIJXs5o.js`),__vite__mapDeps([159,5,2,1,9,6,10,4,7,24,20,160,98,105])),Oa=()=>B(()=>import(`./Console-B4SQZA5X.js`),__vite__mapDeps([161,5,2,1,9,6,10,20,8,98,4,7,162,105,108,87,13,23,88,59,89,132])),ka=()=>B(()=>import(`./SettingsAccount-BgpeeHsR.js`),__vite__mapDeps([163,28,5,2,1,9,6,10,13,20,29,25,26,30,31,32,33,34,22,4,7,23,24,35,36,37,38,39,40,41,42,43,44,45,46])),Aa=()=>B(()=>import(`./SettingsAppearance-DSNXI3t4.js`),__vite__mapDeps([164,47,5,2,1,6,7,20,21,9,10,43,48,24])),ja=()=>B(()=>import(`./SettingsBackup-CCEtuJsQ.js`),__vite__mapDeps([165,5,2,1,9,6,10,20,8,22,4,7,23,24,25,13,26,27,122,49,166])),Ma=()=>B(()=>import(`./SettingsRecordings-uNRwROAh.js`),__vite__mapDeps([167,5,2,1,9,6,10,20,11,54,13,23,25,26,38,36,43,55,56,39,40,41,168,126,111,112,22,4,7,24,113])),Na=()=>B(()=>import(`./SettingsRemote-Dg3BfdmI.js`),__vite__mapDeps([169,5,2,1,9,6,10,13,23,20,170,33,34,22,4,7,24,25,26,38,36,42,43,44,27,171])),Pa=()=>B(()=>import(`./SettingsSystem-DwXSeR_Z.js`),__vite__mapDeps([172,5,2,1,9,6,10,24,160,8,21,22,4,7,23,20,25,13,26,27])),Fa=()=>B(()=>import(`./SettingsUsers-CimG6HaL.js`),__vite__mapDeps([173,5,2,1,9,6,10,4,7,20,29,13,25,26,30,68,69,22,23,24,37,36,38,86,39,40,41])),Ia=()=>B(()=>import(`./SettingsNotifications-OV4-nraE.js`),__vite__mapDeps([174,5,2,1,9,6,10,24,20,21,144,175,86,39,13,40,41])),{smBreakpoint:La}=Pe(),Ra=[{name:`NotFound`,path:`/:pathMatch(.*)*`,component:ca,meta:{name:`notfound`,auth:{requiresAuth:!1,role:`none`}}},{name:`Login`,path:`/login`,alias:`/`,component:sa,meta:{name:`login`,auth:{requiresAuth:!1,role:`none`},ui:{background:Y(()=>La.value?`var(--card-background)`:void 0)}}},{name:`FirstSteps`,path:`/first-steps`,component:la,meta:{name:`firststeps`,auth:{requiresAuth:!0,role:`user`}}},{name:`Home`,path:`/home`,component:Ci,meta:{name:`home`,auth:{requiresAuth:!0,role:`user`},ui:{containerSettings:{showTitle:!0,padding:!0,allowOverflowX:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`top`,icon:{default:Pn,active:De}},bottombar:{icon:{default:Pn,active:De}}}},{name:`Cameras`,path:`/cameras`,component:ua,meta:{name:`cameras`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{showTitle:!0,padding:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`top`,icon:{default:We,active:qe}},bottombar:{icon:{default:We,active:qe}}}},{name:`Camera`,path:`/cameras/:cameraname`,component:da,meta:{name:`camera`,auth:{requiresAuth:!0,role:`user`},ui:{containerSettings:{disableScroll:!0,ignoreSafeAreaBottom:Y(()=>La.value),noExtraPadding:Y(()=>La.value)},showNavbar:!0,showTopbar:Y(()=>!La.value),showBottombar:Y(()=>!La.value),showRouterLoading:!0}}},{name:`Camview`,path:`/camview`,component:fa,meta:{name:`camview`,auth:{requiresAuth:!0,role:`user`},ui:{containerSettings:{disableScroll:!0},background:`#000000`,showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`top`,icon:{default:sr,active:it}},bottombar:{icon:{default:sr,active:it}}}},{name:`Recordings`,path:`/recordings`,component:pa,meta:{name:`recordings`,auth:{requiresAuth:!0,role:`user`},ui:{containerSettings:{showTitle:!1,padding:!1},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`top`,icon:{default:ur,active:ot}},bottombar:{icon:{default:ur,active:ot}}}},{name:`About`,path:`/about`,component:Da,meta:{name:`about`,auth:{requiresAuth:!0,role:`user`},ui:{containerSettings:{showTitle:!0,padding:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0}}},{name:`Faces`,path:`/faces`,component:ma,meta:{name:`faces`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{showTitle:!0,padding:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},menu:{icon:{default:rt,active:rt}},navbar:{position:`top`,icon:{default:rt,active:rt}}}},{name:`Plugins`,path:`/plugins`,component:ha,meta:{name:`plugins`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{showTitle:!0,padding:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`top`,icon:{default:lt,active:ft}},menu:{icon:{default:lt,active:ft}}}},{name:`ScopedPlugin`,path:`/plugins/:scope/:pluginname`,component:ga,meta:{name:`plugin`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{padding:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0}}},{name:`Plugin`,path:`/plugins/:pluginname`,component:ga,meta:{name:`plugin`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{padding:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0}}},{name:`Adminpanel`,path:`/admin`,component:_a,meta:{name:`adminpanel`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{showTitle:!0,padding:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`bottom`,group:`more`,icon:{default:Tr,active:Sr}},menu:{icon:{default:Tr,active:Sr}}}},{name:`Config`,path:`/config`,component:va,meta:{name:`config`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{disableScroll:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`bottom`,group:`more`,icon:{default:Qn,active:Yn}},menu:{icon:{default:Qn,active:Yn}}}},{name:`Logs`,path:`/logs`,component:ya,meta:{name:`logs`,auth:{requiresAuth:!0,role:`admin`},ui:{background:`#000000`,containerSettings:{disableScroll:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`bottom`,group:`more`,icon:{default:vn,active:Cn}},menu:{icon:{default:vn,active:Cn}}}},{name:`Console`,path:`/console`,component:Oa,meta:{name:`console`,auth:{requiresAuth:!0,role:`user`},ui:{background:`#000000`,containerSettings:{disableScroll:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`bottom`,group:`more`,icon:{default:Kn,active:Un}},menu:{icon:{default:Kn,active:Un}}}},{name:`Terminal`,path:`/terminal`,component:ba,meta:{name:`terminal`,disabledInElectron:!0,auth:{requiresAuth:!0,role:`admin`},ui:{background:`#000000`,containerSettings:{disableScroll:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`bottom`,group:`more`,icon:{default:Je,active:On}},menu:{icon:{default:Je,active:On}}}},{name:`Automations`,path:`/automations`,component:xa,meta:{name:`automations`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{showTitle:!0,padding:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`bottom`,group:`more`,icon:{default:jn,active:Xe}},menu:{icon:{default:jn,active:Xe}}}},{name:`Automation`,path:`/automations/:id`,component:Sa,meta:{name:`automation`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{disableScroll:!0,paddingBottom:!1},showNavbar:!0,showTopbar:!0,showBottombar:!0}}},{name:`Instances`,path:`/instances`,component:Ca,meta:{name:`instances`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{showTitle:!0,padding:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`bottom`,group:`more`,icon:{default:$t,active:Ge}},menu:{icon:{default:$t,active:Ge}}}},{name:`Workers`,path:`/workers`,component:wa,meta:{name:`workers`,auth:{requiresAuth:!0,role:`admin`},ui:{containerSettings:{showTitle:!0,padding:!0},showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoading:!0},navbar:{position:`bottom`,group:`more`,icon:{default:hn,active:Ye}},menu:{icon:{default:hn,active:Ye}}}},{name:`Menu`,path:`/menu`,component:Ea,meta:{name:`menu`,auth:{requiresAuth:!0,role:`user`},ui:{containerSettings:{padding:!1},showNavbar:!1,showTopbar:!0,showBottombar:!0,showRouterLoading:!0,minifiedTopbar:!0},bottombar:{icon:{default:yr,active:yr}}}},{name:`Settings`,path:`/settings`,component:Ta,meta:{name:`settings`,path:`/settings/account`,auth:{requiresAuth:!0,role:`user`},navbar:{position:`bottom`,icon:{default:nt,active:tt}},menu:{icon:{default:nt,active:tt}}},children:[{name:`SettingsAccount`,path:`account`,component:ka,meta:{name:`account`,description:`account_description`,auth:{requiresAuth:!0,role:`user`},ui:{showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoadingSub:!0},settingsBar:{icon:{default:Bn,active:Ln}}}},{name:`SettingsAppearance`,path:`appearance`,component:Aa,meta:{name:`appearance`,description:`appearance_description`,auth:{requiresAuth:!0,role:`user`},ui:{showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoadingSub:!0},settingsBar:{icon:{default:ln,active:fn}}}},{name:`SettingsUsers`,path:`user`,component:Fa,meta:{name:`user`,description:`user_description`,auth:{requiresAuth:!0,role:`admin`},ui:{showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoadingSub:!0},settingsBar:{icon:{default:ir,active:tr}}}},{name:`SettingsNotifications`,path:`notifications`,component:Ia,meta:{name:`notifications`,description:`notifications_description`,auth:{requiresAuth:!0,role:`user`},ui:{showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoadingSub:!0},settingsBar:{icon:{default:et,active:$e}}}},{name:`SettingsRecordings`,path:`recordings`,component:Ma,meta:{name:`recordings`,description:`recordings_description`,auth:{requiresAuth:!0,role:`admin`},ui:{showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoadingSub:!0},settingsBar:{icon:{default:ur,active:ot}}}},{name:`SettingsRemote`,path:`remote`,component:Na,meta:{name:`remote`,description:`remote_access_description`,auth:{requiresAuth:!0,role:`admin`},ui:{showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoadingSub:!0},settingsBar:{icon:{default:Qe,active:Ze}}}},{name:`SettingsBackup`,path:`backup`,component:ja,meta:{name:`backup`,description:`backup_description`,auth:{requiresAuth:!0,role:`admin`},ui:{showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoadingSub:!0},settingsBar:{icon:{default:nn,active:on}}}},{name:`SettingsSystem`,path:`system`,component:Pa,meta:{name:`system`,description:`system_description`,auth:{requiresAuth:!0,role:`admin`},ui:{showNavbar:!0,showTopbar:!0,showBottombar:!0,showRouterLoadingSub:!0},settingsBar:{icon:{default:gr,active:pr}}}}]}];function za(e){let t=e.toLowerCase();return t===`/home`?{group:`main`,key:`home`,ignore:`camview`}:t===`/camview`?{group:`main`,key:`camview`,ignore:`home`}:t.startsWith(`/cameras/`)?{group:`main`,key:`cameras`}:t===`/menu`?{group:`menu`,key:`menu`,depth:0}:t===`/faces`?{group:`menu`,key:`faces`,depth:1}:t===`/plugins`?{group:`menu`,key:`plugins`,depth:1}:t.startsWith(`/plugins/`)?{group:`menu`,key:`plugin-detail`,depth:2}:t.startsWith(`/settings`)?{group:`menu`,key:`settings`,depth:1}:t===`/admin`?{group:`menu`,key:`admin`,depth:1}:t===`/config`?{group:`menu`,key:`config`,depth:1}:t===`/console`?{group:`menu`,key:`console`,depth:1}:t===`/terminal`?{group:`menu`,key:`terminal`,depth:1}:t===`/instances`?{group:`menu`,key:`instances`,depth:1}:t===`/workers`?{group:`menu`,key:`workers`,depth:1}:t===`/automations`?{group:`menu`,key:`automations`,depth:1}:t===`/about`?{group:`menu`,key:`about`,depth:1}:t.startsWith(`/automations/`)?{group:`menu`,key:`automation-detail`,depth:2}:null}var Ba=new Map,Va=Ce({history:we(`/`),routes:Ra,scrollBehavior:async(t,n,r)=>{if(r)return r;if(n.path===t.path||t.path===`/`)return{top:0,left:0};await e(10);let i=Ba.get(t.path);return i===void 0?{top:0,left:0,behavior:`smooth`}:(Ba.delete(t.path),{top:i,left:0})}});Va.absUrl=(e=`#`,t=!0)=>{let n=document.createElement(`a`);n.href=e,n.target=t&&e!==`#`?`_blank`:``,t&&(n.rel=`noopener noreferrer`),n.click()},Va.beforeEach(async(e,t)=>{let n=k(),r=w(),i=Mt();if(e.meta.disabledInElectron&&n.getQueryData([`api`])?.electron)return`/home`;let a=e.name.toLowerCase();if(i.routerLoading=!0,i.setRoutes(t.fullPath,e.fullPath),Ba.set(t.path,window.scrollY),r.user){if(n.cancelQueries(void 0,{revert:!1}),r.user.firstLogin&&e.path!==`/first-steps`)return`/first-steps`;if(!r.user.firstLogin&&e.path===`/first-steps`||e.meta.auth?.requiresAuth&&e.meta.auth.role&&r.user.role!==e.meta.auth.role&&r.user.role!==`admin`&&r.user.role!==`master`||a===`login`)return`/home`;if(e.path===`/settings`)return`/settings/account`}else if(a!==`login`)return`/`}),Va.beforeResolve(async(e,t)=>{let n=za(t.path),r=za(e.path);if(!n||!r||n.group!==r.group||n.key===r.key||n.ignore===r.key||r.ignore===n.key)return;if(n.group===`menu`&&n.depth!==void 0&&r.depth!==void 0){if(window.innerWidth>640||n.depth===r.depth)return;let e=r.depth>n.depth?`forward`:`back`;document.documentElement.dataset.menuDirection=e}if(e.path===`/home`&&!k().getQueriesData({queryKey:[`camerasList`]}).some(([,e])=>e!=null))return;let i=!!document.documentElement.dataset.menuDirection,a=Mt();a.isTransitioning=!0;let o=re();await o.captured,o.finished.finally(()=>{a.isTransitioning=!1,i&&delete document.documentElement.dataset.menuDirection})});var Ha=`cui-chunk-reload`;function Ua(e){let t=e instanceof Error?e.message:String(e);return/dynamically imported module|importing a module script failed|failed to (load|fetch) module script|expected a javascript|chunkloaderror|loading( css)? chunk/i.test(t)}Va.afterEach(()=>{let e=Mt();e.routerLoading=!1,sessionStorage.removeItem(Ha),x().bannerMode.value===null&&Jt()}),Va.onError((e,t)=>{let n=Mt();n.routerLoading=!1,Ua(e)&&!sessionStorage.getItem(Ha)&&(sessionStorage.setItem(Ha,`1`),window.location.assign(t.fullPath))});export{Yt as a,$t as i,Ra as n,qt as o,Ei as r,Va as t};
@@ -347,7 +347,7 @@
347
347
  media="screen and (prefers-color-scheme: dark) and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"
348
348
  href="/pwa/apple-splash-portrait-dark-640x1136.png"
349
349
  />
350
- <script type="module" crossorigin src="/assets/main-DdreQUBb.js"></script>
350
+ <script type="module" crossorigin src="/assets/main-D0dJIe_X.js"></script>
351
351
  <link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-DAXXjFlN.js">
352
352
  <link rel="modulepreload" crossorigin href="/assets/vendor-DoIl6acN.js">
353
353
  <link rel="modulepreload" crossorigin href="/assets/vendor-cameraui-B9wC4-mi.js">
@@ -403,7 +403,7 @@
403
403
  <link rel="modulepreload" crossorigin href="/assets/types-CztXMZ5X.js">
404
404
  <link rel="modulepreload" crossorigin href="/assets/users.schema-2wYWhJ9W.js">
405
405
  <link rel="modulepreload" crossorigin href="/assets/routerState-ByP_jZ8E.js">
406
- <link rel="modulepreload" crossorigin href="/assets/router-CseJwKsC.js">
406
+ <link rel="modulepreload" crossorigin href="/assets/router-DUCivZj8.js">
407
407
  <link rel="modulepreload" crossorigin href="/assets/chevron-down-KZwkCQ3v.js">
408
408
  <link rel="modulepreload" crossorigin href="/assets/power-BcSFRPtI.js">
409
409
  <link rel="modulepreload" crossorigin href="/assets/api-Cm9H8gwG.js">
@@ -1 +1 @@
1
- if(!self.define){let s,e={};const l=(l,i)=>(l=new URL(l+".js",i).href,e[l]||new Promise(e=>{if("document"in self){const s=document.createElement("script");s.src=l,s.onload=e,document.head.appendChild(s)}else s=l,importScripts(l),e()}).then(()=>{let s=e[l];if(!s)throw new Error(`Module ${l} didn’t register its module`);return s}));self.define=(i,a)=>{const r=s||("document"in self?document.currentScript.src:"")||location.href;if(e[r])return;let n={};const u=s=>l(s,r),o={module:{uri:r},exports:n,require:u};e[r]=Promise.all(i.map(s=>o[s]||u(s))).then(s=>(a(...s),n))}}define(["./workbox-5f44db27"],function(s){"use strict";s.setCacheNameDetails({prefix:"camera-ui"}),self.addEventListener("message",s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()}),s.precacheAndRoute([{url:"robots.txt",revision:"f77c87f977e0fcce05a6df46c885a129"},{url:"og-share.png",revision:"0ca1dd15e2498de1d1423fe6134db452"},{url:"index.html",revision:"97bd28a66b4034ac2d7d550c77ab8dd4"},{url:"pwa/pwa-96x96.png",revision:"675ea863c25fa9ae31d4d76a47463c78"},{url:"pwa/pwa-88x88.png",revision:"6e8af0a85b0627a835b62067d5189cb4"},{url:"pwa/pwa-72x72.png",revision:"66698bb499639052ad337f7e9a7d7ea8"},{url:"pwa/pwa-64x64.png",revision:"f57763be3212fd4154c502d607e7ed38"},{url:"pwa/pwa-50x50.png",revision:"a20fc2e6f26aa548f9cae07911087f6c"},{url:"pwa/pwa-48x48.png",revision:"97d7369c892f1e0914c2617ff26feb3c"},{url:"pwa/pwa-36x36.png",revision:"4d08bb198d4e54e4d12a0810fc59f059"},{url:"pwa/pwa-300x300.png",revision:"7f79d74e34aedef57c98a1c9c156ba6b"},{url:"pwa/pwa-24x24.png",revision:"bdb25f68ca300283b37041e47d3e6ba8"},{url:"pwa/pwa-192x192.png",revision:"3d58c2dd940c535cc166cc8d0844429d"},{url:"pwa/pwa-180x180.png",revision:"225b42752632e2866c4f8fe4ab2f62ee"},{url:"pwa/pwa-167x167.png",revision:"de6a5ca921b45fb3bd30d27c707981c6"},{url:"pwa/pwa-152x152.png",revision:"4cf41c7b603d382e83e098affb7cb9da"},{url:"pwa/pwa-144x144.png",revision:"4fdf5c8fb085f764ed7dd5a26698bff5"},{url:"pwa/pwa-120x120.png",revision:"3f5ec31f6bd07910482227b259344110"},{url:"pwa/pwa-1024x1024.png",revision:"1ed367ae76416e79fd0bdd6ee70666bc"},{url:"pwa/maskable-icon-620x300.png",revision:"b4954ceadf0d6f2095c45f8cc8240337"},{url:"pwa/maskable-icon-512x512.png",revision:"e716feaa60f08d95d0909e1c85bf1f98"},{url:"pwa/maskable-icon-1240x600.png",revision:"f3188c7d8e5038f28068c7a3632dbe4b"},{url:"pwa/logo.svg",revision:"1aa262f4a37293a91083eea10794d2ca"},{url:"pwa/favicon-64.ico",revision:"6a697d7662ab5ee246918cdc7c412343"},{url:"pwa/favicon-48.ico",revision:"d0a27003af457cb85651c84c60c87ef0"},{url:"pwa/favicon-32.ico",revision:"6e711cbf0b53afe4a7d0057780fa42b9"},{url:"pwa/favicon-16.ico",revision:"163ae861c5ab9f68ed21324c19dfe35d"},{url:"pwa/apple-touch-icon-180x180.png",revision:"91aec7b3a553812fbd3cd72adb17fcc4"},{url:"pwa/apple-splash-portrait-light-828x1792.png",revision:"8deb1063185df6a2d3089a9fa33f6ad1"},{url:"pwa/apple-splash-portrait-light-750x1334.png",revision:"191c785b1e7b47ac1b1d6bc2a84bde85"},{url:"pwa/apple-splash-portrait-light-640x1136.png",revision:"588e312fd0851d5767972a1efc33e6a3"},{url:"pwa/apple-splash-portrait-light-2048x2732.png",revision:"cf9c75c2e56f8d3af7d914a00ce30286"},{url:"pwa/apple-splash-portrait-light-1668x2388.png",revision:"5db134deca3d2e8a1ae2d8e67c77c420"},{url:"pwa/apple-splash-portrait-light-1668x2224.png",revision:"a1b5adab2a71d0fa646e7b0e9a4fcb71"},{url:"pwa/apple-splash-portrait-light-1620x2160.png",revision:"41bdc2c492d374bf8c6b6875e2beb9f1"},{url:"pwa/apple-splash-portrait-light-1536x2048.png",revision:"42716fc23cfa58d3f154fea1875eb3f5"},{url:"pwa/apple-splash-portrait-light-1290x2796.png",revision:"d57711837cf7e3801a9e8126b1695aaa"},{url:"pwa/apple-splash-portrait-light-1284x2778.png",revision:"461b13cf0d9c293ca220700bb4148afa"},{url:"pwa/apple-splash-portrait-light-1242x2688.png",revision:"2b320f74bc7da7bf0d1be699183416c3"},{url:"pwa/apple-splash-portrait-light-1242x2208.png",revision:"8fd1367cac03e5798973cfa4e0dec5b0"},{url:"pwa/apple-splash-portrait-light-1179x2556.png",revision:"8d1fc622bdb48dda2461e4f47a49249a"},{url:"pwa/apple-splash-portrait-light-1170x2532.png",revision:"58d656b4de9b32a09fc2ea1028116dfb"},{url:"pwa/apple-splash-portrait-light-1125x2436.png",revision:"1a02e33add13bccc9f407efcfd2cf890"},{url:"pwa/apple-splash-portrait-dark-828x1792.png",revision:"543d10f74f6f098e49ba989899182dee"},{url:"pwa/apple-splash-portrait-dark-750x1334.png",revision:"54f99ba556f7cc149eb03fe6207d411d"},{url:"pwa/apple-splash-portrait-dark-640x1136.png",revision:"b901a6f04ef976aa81573ec0f3c8f32b"},{url:"pwa/apple-splash-portrait-dark-2048x2732.png",revision:"60acb5fbde5bb76a368238c5e079c717"},{url:"pwa/apple-splash-portrait-dark-1668x2388.png",revision:"fb7fb372580598abf8a1d8eb7305462a"},{url:"pwa/apple-splash-portrait-dark-1668x2224.png",revision:"1e7b39c9f5fdca7ddf23c1248f7628bf"},{url:"pwa/apple-splash-portrait-dark-1620x2160.png",revision:"1a9f84fba88d4cd5924cf5a39d541b46"},{url:"pwa/apple-splash-portrait-dark-1536x2048.png",revision:"0b26c0a578f6b13b3df06abecc81fb82"},{url:"pwa/apple-splash-portrait-dark-1290x2796.png",revision:"e7f2a468891736413b1e0622a510fd5a"},{url:"pwa/apple-splash-portrait-dark-1284x2778.png",revision:"d7230994de3c4c6016ac252431031ea7"},{url:"pwa/apple-splash-portrait-dark-1242x2688.png",revision:"c56eb0a4a8b4c7bb850cbfc35dd62bba"},{url:"pwa/apple-splash-portrait-dark-1242x2208.png",revision:"1b7f03eaab3cf8af8aa6057fd97278d8"},{url:"pwa/apple-splash-portrait-dark-1179x2556.png",revision:"8eac224083023d0d21374d9f9087bab5"},{url:"pwa/apple-splash-portrait-dark-1170x2532.png",revision:"476ac5131289040d8d88803c18dc20bb"},{url:"pwa/apple-splash-portrait-dark-1125x2436.png",revision:"53ddd8644a89bfc79c8d1bfbaa51527b"},{url:"pwa/apple-splash-landscape-light-2796x1290.png",revision:"a46e458259177e134ad383d133b29774"},{url:"pwa/apple-splash-landscape-light-2778x1284.png",revision:"95d2479cf715c2ea0104fd5f55fa62b3"},{url:"pwa/apple-splash-landscape-light-2732x2048.png",revision:"0e5ec355113efe5ce253583209a64bb8"},{url:"pwa/apple-splash-landscape-light-2688x1242.png",revision:"3757f5338eb50c9f6fb8ad0d72597465"},{url:"pwa/apple-splash-landscape-light-2556x1179.png",revision:"3f0efc9e8de850ae5d3a72a158d39055"},{url:"pwa/apple-splash-landscape-light-2532x1170.png",revision:"b9e11e5a3435cf159f240b5f6da5dc76"},{url:"pwa/apple-splash-landscape-light-2436x1125.png",revision:"459b9c158b3a52222787d00a276baa21"},{url:"pwa/apple-splash-landscape-light-2388x1668.png",revision:"3733608412963cb747e32b2790013523"},{url:"pwa/apple-splash-landscape-light-2224x1668.png",revision:"ecf0efece27d70815f7401f7f3e40a24"},{url:"pwa/apple-splash-landscape-light-2208x1242.png",revision:"653857094b0c183908571fea1aed7b2f"},{url:"pwa/apple-splash-landscape-light-2160x1620.png",revision:"31ac689a78386cf844e33f10fd5d2029"},{url:"pwa/apple-splash-landscape-light-2048x1536.png",revision:"1b27b72b070b260eceeaab092a82663d"},{url:"pwa/apple-splash-landscape-light-1792x828.png",revision:"c6e29d789061fc48eb9f3a54cb1950be"},{url:"pwa/apple-splash-landscape-light-1334x750.png",revision:"f513cdc13ffaf0c2a82bb207e2a9a397"},{url:"pwa/apple-splash-landscape-light-1136x640.png",revision:"c9b4c38f0a267051c0c83cc92c0f5767"},{url:"pwa/apple-splash-landscape-dark-2796x1290.png",revision:"22b9597a28c081730e3430e467b4e36d"},{url:"pwa/apple-splash-landscape-dark-2778x1284.png",revision:"19d1e7a02d9edd3354c61b7c54ea9c1e"},{url:"pwa/apple-splash-landscape-dark-2732x2048.png",revision:"dc9fbb966dfc3350466279749c2946d7"},{url:"pwa/apple-splash-landscape-dark-2688x1242.png",revision:"dcd13ed9567fa4d98867f5c97cc89695"},{url:"pwa/apple-splash-landscape-dark-2556x1179.png",revision:"02e2914d36b2aaf6da02799414a23738"},{url:"pwa/apple-splash-landscape-dark-2532x1170.png",revision:"b89d280148f1bcb816c6364c37daefb6"},{url:"pwa/apple-splash-landscape-dark-2436x1125.png",revision:"85613cc4f5040791ef13e4b2a1ecc840"},{url:"pwa/apple-splash-landscape-dark-2388x1668.png",revision:"e17cbe3b198574eb6fc822c17e22d935"},{url:"pwa/apple-splash-landscape-dark-2224x1668.png",revision:"1144751415d9c1f3d1bc34407b9a9539"},{url:"pwa/apple-splash-landscape-dark-2208x1242.png",revision:"2989b9f038112f8eed3694fa53b86e6a"},{url:"pwa/apple-splash-landscape-dark-2160x1620.png",revision:"ee54046f738fe4346d7febbfaa711244"},{url:"pwa/apple-splash-landscape-dark-2048x1536.png",revision:"70f0181b7e075e3b64e261c4d4e3eada"},{url:"pwa/apple-splash-landscape-dark-1792x828.png",revision:"281d292ea4448638bb250a3fca5f5f44"},{url:"pwa/apple-splash-landscape-dark-1334x750.png",revision:"d82dd37eb2bdf815c1e2ab367134cbbf"},{url:"pwa/apple-splash-landscape-dark-1136x640.png",revision:"c6b193de9bd234c81fdea1d28fe7b88c"},{url:"fonts/InterVariable.woff2",revision:"2bf3d951bf9d6109437ea0874bbf12fb"},{url:"assets/zoom-in-D2zo_jfL.js",revision:null},{url:"assets/worker-yaml-crtWQpDN.js",revision:null},{url:"assets/worker-base-ybazWkNy.js",revision:null},{url:"assets/workbox-window.prod.es5-CtK9nkTO.js",revision:null},{url:"assets/web-xDCdGu4q.js",revision:null},{url:"assets/web-iAcZCcyL.js",revision:null},{url:"assets/web-ERIfo5an.js",revision:null},{url:"assets/web-DohTQteu.js",revision:null},{url:"assets/web-Do1A1_Uv.js",revision:null},{url:"assets/web-DiteWocu.js",revision:null},{url:"assets/web-D4GUyvng.js",revision:null},{url:"assets/web-D2BwFPf_.js",revision:null},{url:"assets/web-CbVsSB6C.js",revision:null},{url:"assets/web-BpltzPRC.js",revision:null},{url:"assets/web-BjKL51lK-D9ETiyug.js",revision:null},{url:"assets/web-Bba8RmHI.js",revision:null},{url:"assets/web-B9fYUOqN.js",revision:null},{url:"assets/web-54_Wj9Me.js",revision:null},{url:"assets/view-grid-D39XDBn9.js",revision:null},{url:"assets/view-grid-D04t817d.css",revision:null},{url:"assets/vendor-zod-V2qTUMVc.js",revision:null},{url:"assets/vendor-xterm-BrP-ENHg.css",revision:null},{url:"assets/vendor-xterm-BRN-hOYD.js",revision:null},{url:"assets/vendor-vueflow-DSLHUKHF.js",revision:null},{url:"assets/vendor-primevue-DYHQyonV.js",revision:null},{url:"assets/vendor-markdown-UV_ycMZu.js",revision:null},{url:"assets/vendor-markdown-DtOhvyRx.css",revision:null},{url:"assets/vendor-leaflet-vh-t_kPv.css",revision:null},{url:"assets/vendor-leaflet-_2Z0GiOD.js",revision:null},{url:"assets/vendor-gridstack-Rg2RhwAc.css",revision:null},{url:"assets/vendor-gridstack-DD5uGA3X.js",revision:null},{url:"assets/vendor-draggabilly-Dl6FWJwx.js",revision:null},{url:"assets/vendor-dnd-_zxmhxjM.js",revision:null},{url:"assets/vendor-core-CBFMCwgj.js",revision:null},{url:"assets/vendor-chart-CBBmwsyM.js",revision:null},{url:"assets/vendor-capacitor-DgfjcZj-.js",revision:null},{url:"assets/vendor-cameraui-B9wC4-mi.js",revision:null},{url:"assets/vendor-ace-DdrK3_G3.js",revision:null},{url:"assets/vendor-DoIl6acN.js",revision:null},{url:"assets/users.schema-2wYWhJ9W.js",revision:null},{url:"assets/useStreamStatus-Dy3K_ILd.js",revision:null},{url:"assets/useSharedComposables-DjDddcdT.js",revision:null},{url:"assets/useLogsSocket-BnU6ynWU.js",revision:null},{url:"assets/useLogsSocket-4F2-d9fa.css",revision:null},{url:"assets/useFileDownload-BLbAIlSX.js",revision:null},{url:"assets/useElectron-mh8HQUAI.js",revision:null},{url:"assets/useCuiDialog-DZvxI8xi.js",revision:null},{url:"assets/useCuiCameraDrawer-2I0LB3ff.js",revision:null},{url:"assets/useCameraOptions-D0rQaUuh.js",revision:null},{url:"assets/useBiometricCredentials-BGl37Skw.js",revision:null},{url:"assets/upload-AGww_lJf.js",revision:null},{url:"assets/ui-CnzJLu9N.js",revision:null},{url:"assets/types-CztXMZ5X.js",revision:null},{url:"assets/types-ByBSoibP.js",revision:null},{url:"assets/types-BxFyoO54.js",revision:null},{url:"assets/trash2-CaXm_MmJ.js",revision:null},{url:"assets/trash-fill-Da1v18iA.js",revision:null},{url:"assets/trash-2-CkdsE6jp.js",revision:null},{url:"assets/theme-B2fORWV9.js",revision:null},{url:"assets/terminal-DbYAPed-.js",revision:null},{url:"assets/shield-check-ChlSHOnR.js",revision:null},{url:"assets/shares-D0r3nTB0.js",revision:null},{url:"assets/settings-uhDSoUhb.js",revision:null},{url:"assets/server-BW0jfXav.js",revision:null},{url:"assets/search-D-QOrChC.js",revision:null},{url:"assets/routerState-ByP_jZ8E.js",revision:null},{url:"assets/router-CseJwKsC.js",revision:null},{url:"assets/router-BUTKN1yM.css",revision:null},{url:"assets/round-restart-alt-fCNtJi_k.css",revision:null},{url:"assets/round-restart-alt-bbbi50F4.js",revision:null},{url:"assets/round-alt-arrow-left-bold-C-0SLIa9.js",revision:null},{url:"assets/rolldown-runtime-DAXXjFlN.js",revision:null},{url:"assets/ring-resize-DQajal-Z.js",revision:null},{url:"assets/power-BcSFRPtI.js",revision:null},{url:"assets/plus-Dqgz6pez.js",revision:null},{url:"assets/plus-BMt5ORD8.js",revision:null},{url:"assets/plugins-BMys-WCs.js",revision:null},{url:"assets/plugin-C1dsgk0N.js",revision:null},{url:"assets/play-solid-BOoBnMaN.js",revision:null},{url:"assets/notifications-Cq1bDRQk.js",revision:null},{url:"assets/nodeDefinitions-blmt-d7H.js",revision:null},{url:"assets/native-j1dyx58L.js",revision:null},{url:"assets/native-fQjIFjCA.js",revision:null},{url:"assets/mode-yaml-CIYL8U3d.js",revision:null},{url:"assets/microphone-CAVr4YFv.js",revision:null},{url:"assets/main-DudyqPaR.css",revision:null},{url:"assets/main-DdreQUBb.js",revision:null},{url:"assets/logo-DmEiRk0z.png",revision:null},{url:"assets/logo-256-BCQk9H1-.png",revision:null},{url:"assets/locale-hdhgxXOX.js",revision:null},{url:"assets/lightbulb-outline-B0CFho4y.js",revision:null},{url:"assets/instances-5MeVN25v.js",revision:null},{url:"assets/information-outline-ChTb2u7w.js",revision:null},{url:"assets/home-Dey3bw1P.js",revision:null},{url:"assets/hasPermission-B724PtFJ.js",revision:null},{url:"assets/grid-fill-DBU_n60V.js",revision:null},{url:"assets/github-DNzKZdHG.js",revision:null},{url:"assets/face-recognition-D5evlO1d.js",revision:null},{url:"assets/eventIcons-CtTopM6B.js",revision:null},{url:"assets/eventIcons-2hVCNchU.css",revision:null},{url:"assets/esm-yIpeulKl.js",revision:null},{url:"assets/esm-u_3xdCfr.js",revision:null},{url:"assets/esm-edrype40.js",revision:null},{url:"assets/esm-M_oLCAXC.js",revision:null},{url:"assets/esm-Do9bGF06.js",revision:null},{url:"assets/esm-Dc3lKVtD.js",revision:null},{url:"assets/esm-CjzerNPk.js",revision:null},{url:"assets/esm-CWeEZr0g.js",revision:null},{url:"assets/esm-CIAIVgGo.js",revision:null},{url:"assets/esm-CA4iVOgN2.js",revision:null},{url:"assets/esm-C51W8e2w.js",revision:null},{url:"assets/esm-BUgHC3bC.js",revision:null},{url:"assets/esm-B2shpuvL.js",revision:null},{url:"assets/esm-B-_4iFTo.js",revision:null},{url:"assets/error-256-DLKVOU2S.png",revision:null},{url:"assets/download-CY-SlBan.js",revision:null},{url:"assets/dist-CQkfz2Dn.js",revision:null},{url:"assets/deviceId-BM0pOHhg.js",revision:null},{url:"assets/delete-5a2q7_46.js",revision:null},{url:"assets/copy-DcVDLQlM.js",revision:null},{url:"assets/copy-16-filled-CZzRMAt_.js",revision:null},{url:"assets/cog-Ce2a8uiA.js",revision:null},{url:"assets/cloudHandoff-Cnd7f4Es.js",revision:null},{url:"assets/cloud-outline-CzQmkpCY.js",revision:null},{url:"assets/cloud-outline-BPAJ6_kc.js",revision:null},{url:"assets/cloud-check-BbqgBLhK.js",revision:null},{url:"assets/close-circle-ClG7lNzZ.js",revision:null},{url:"assets/close-DuwOOM-P.js",revision:null},{url:"assets/circular-connection-BTKd-doI.js",revision:null},{url:"assets/chevron-right-CXZ4SFSg.js",revision:null},{url:"assets/chevron-down-KZwkCQ3v.js",revision:null},{url:"assets/check-BMoCATAa.js",revision:null},{url:"assets/cctv-BsGdaLfw.js",revision:null},{url:"assets/cameras.schema-CuVLJONJ.js",revision:null},{url:"assets/cameras-BEBBV7mz.js",revision:null},{url:"assets/camera-preview-C7GT5VHo.png",revision:null},{url:"assets/bell-outline-U3Gb4nI1.js",revision:null},{url:"assets/bell-ChE83DC8.js",revision:null},{url:"assets/backup-BcXXJ1y6.js",revision:null},{url:"assets/back-filled-DqCMpeEk.js",revision:null},{url:"assets/automations-DVc4ovPU.js",revision:null},{url:"assets/automations-C2J4u5Uj.js",revision:null},{url:"assets/automation-IpK710bv.js",revision:null},{url:"assets/auth-Czmir2ST.js",revision:null},{url:"assets/arrow-right-outline-CliUt84m.js",revision:null},{url:"assets/arrow-left-9W2BpRxA.js",revision:null},{url:"assets/api-Cm9H8gwG.js",revision:null},{url:"assets/api-BB9AG_h5.css",revision:null},{url:"assets/api-B8LDDNgZ.js",revision:null},{url:"assets/alert-outline-T8FhpQ9w.js",revision:null},{url:"assets/ace.config-D884GuRj.js",revision:null},{url:"assets/ace-DQ1lNH50.js",revision:null},{url:"assets/_plugin-vue_export-helper-BDNMzG2s.js",revision:null},{url:"assets/Workers-xo6c0O5M.js",revision:null},{url:"assets/VersionsHandler-BrfHmvOf.js",revision:null},{url:"assets/VariableSuggestions-K3CHs8XG.js",revision:null},{url:"assets/VariableInput-tPI6hxP8.js",revision:null},{url:"assets/Terminal-h5vqtN-o.js",revision:null},{url:"assets/Terminal-CrOfQJ-O.css",revision:null},{url:"assets/SettingsUsers-CimG6HaL.js",revision:null},{url:"assets/SettingsSystem-DwXSeR_Z.js",revision:null},{url:"assets/SettingsRemote-Dg3BfdmI.js",revision:null},{url:"assets/SettingsRemote-D9COJF4m.css",revision:null},{url:"assets/SettingsRecordings-uNRwROAh.js",revision:null},{url:"assets/SettingsNotifications-OV4-nraE.js",revision:null},{url:"assets/SettingsBackup-CX0rT0QJ.css",revision:null},{url:"assets/SettingsBackup-CCEtuJsQ.js",revision:null},{url:"assets/SettingsAppearance-DSNXI3t4.js",revision:null},{url:"assets/SettingsAppearance-CwPSvzkX.js",revision:null},{url:"assets/SettingsAccount-Y7hpH8Y3.css",revision:null},{url:"assets/SettingsAccount-C_pQPGoW.js",revision:null},{url:"assets/SettingsAccount-BgpeeHsR.js",revision:null},{url:"assets/Settings-bwLTNAxX.css",revision:null},{url:"assets/Settings-B6lgr4fp.js",revision:null},{url:"assets/Recordings-Daf0TCPA.js",revision:null},{url:"assets/Recordings-Bt_GlPOK.css",revision:null},{url:"assets/Plugins-s1k811lf.css",revision:null},{url:"assets/Plugins-B7ZOk3ld.js",revision:null},{url:"assets/PluginSchema-BcLXAX-Q.js",revision:null},{url:"assets/PluginConsole-C-ndOnmZ.js",revision:null},{url:"assets/Plugin-CWjFyBeK.js",revision:null},{url:"assets/Plugin-CHdZvbiP.css",revision:null},{url:"assets/OAuthDeviceFlow-CxJbM1jZ.js",revision:null},{url:"assets/Menu-DEyxvA8K.js",revision:null},{url:"assets/Logs-CpAkrsEJ.js",revision:null},{url:"assets/Instances-CWzMYIvB.js",revision:null},{url:"assets/FirstSteps-YNR-3tqt.js",revision:null},{url:"assets/Faces-u9Rxm4Ti.js",revision:null},{url:"assets/CuiTopbarSlot-DbzQRnbt.js",revision:null},{url:"assets/CuiTopNavbarItem-CqM9AHmU.js",revision:null},{url:"assets/CuiTopNavbarItem-CJqOqVMt.css",revision:null},{url:"assets/CuiSchema-DEYDened.js",revision:null},{url:"assets/CuiSchema--yMBD996.css",revision:null},{url:"assets/CuiRecordingsGrid-lcLty5PV.css",revision:null},{url:"assets/CuiRecordingsGrid-BFHPh2dn.js",revision:null},{url:"assets/CuiQRCode-CVHjvjZP.js",revision:null},{url:"assets/CuiQRCode-BtErH65J.css",revision:null},{url:"assets/CuiPluginOAuthButton-Q2CBmZzv.js",revision:null},{url:"assets/CuiPluginCard-LxNHYHxa.css",revision:null},{url:"assets/CuiPluginCard-Bu_rNdQH.js",revision:null},{url:"assets/CuiMenu-BWUfWLQP.css",revision:null},{url:"assets/CuiMenu-BO2e4LK5.js",revision:null},{url:"assets/CuiMarkdownContent-YieurDkL.js",revision:null},{url:"assets/CuiImage-Bxf7z2N4.css",revision:null},{url:"assets/CuiImage-B3eMhhIS.js",revision:null},{url:"assets/CuiFloatingButton-BLCO4wJw.js",revision:null},{url:"assets/CuiDataTable-DWuXg9Zg.css",revision:null},{url:"assets/CuiDataTable-D9GqApg1.js",revision:null},{url:"assets/CuiCameraTable-B5wQAGfM.js",revision:null},{url:"assets/CuiCameraSnapshot-C33nUgVt.js",revision:null},{url:"assets/CuiCameraShares-BgxcFtI1.js",revision:null},{url:"assets/CuiCameraRecordings-bqChEXwx.js",revision:null},{url:"assets/CuiCameraRecordings-BHj7CUE7.css",revision:null},{url:"assets/CuiCameraPipCard-DehPfhfs.js",revision:null},{url:"assets/CuiCameraPipCard-D3o29_wc.css",revision:null},{url:"assets/CuiCameraCard-kI_GNoa7.js",revision:null},{url:"assets/CuiCameraCard-BxGmxXxZ.css",revision:null},{url:"assets/CuiBottomSheet-zPb4AI5w.js",revision:null},{url:"assets/CuiBottomSheet-DsjZEdig.css",revision:null},{url:"assets/CuiBottomSheet-DSG6iONb.js",revision:null},{url:"assets/CuiBBoxPlayground-EFkdOBvq.css",revision:null},{url:"assets/CuiBBoxPlayground-DOcoHCTQ.js",revision:null},{url:"assets/CuiAvatar-DUucUxIP.js",revision:null},{url:"assets/CuiAvatar-BtMXnhxd.css",revision:null},{url:"assets/CuiActionButton-CNTiGrTt.js",revision:null},{url:"assets/Console-B4SQZA5X.js",revision:null},{url:"assets/ConfigTriggerWebhook-CrtHc6Q3.js",revision:null},{url:"assets/ConfigTriggerSystem-CO06Crjg.js",revision:null},{url:"assets/ConfigTriggerSensor-BbKksZMP.js",revision:null},{url:"assets/ConfigTriggerSchedule-vC9yyRct.js",revision:null},{url:"assets/ConfigTriggerManual-DDmBGqnC.js",revision:null},{url:"assets/ConfigTriggerGeofence-DCqAqAG3.js",revision:null},{url:"assets/ConfigTriggerDetection-BrtBsd1t.js",revision:null},{url:"assets/ConfigConditionTime-bHKJ8kBR.js",revision:null},{url:"assets/ConfigConditionSwitch-BPdEa--b.js",revision:null},{url:"assets/ConfigConditionSensorState-CIbkk6LA.js",revision:null},{url:"assets/ConfigConditionIfElse-pp0wRFeJ.js",revision:null},{url:"assets/ConfigActionVariable-D-1zVFz-.js",revision:null},{url:"assets/ConfigActionSnapshot-k8RM-NMf.js",revision:null},{url:"assets/ConfigActionSensor-C6DOrCYd.js",revision:null},{url:"assets/ConfigActionPlugin-C1OSUQ3_.js",revision:null},{url:"assets/ConfigActionOutput-BB-jkCdD.js",revision:null},{url:"assets/ConfigActionNotification-FzGgJM9i.js",revision:null},{url:"assets/ConfigActionImageInput-D8ipnlfe.js",revision:null},{url:"assets/ConfigActionHttp-C9nEQ-7w.js",revision:null},{url:"assets/ConfigActionDelay-CYz0z9Od.js",revision:null},{url:"assets/ConfigActionCameraControl-BRgTU6MP.js",revision:null},{url:"assets/Config-JgftUZFe.css",revision:null},{url:"assets/Config-CfunWNtM.js",revision:null},{url:"assets/Camview-Gxca3bvT.css",revision:null},{url:"assets/Camview-B-Pqm0Fw.js",revision:null},{url:"assets/Cameras-CVID1akl.js",revision:null},{url:"assets/Cameras-54LaZPN3.css",revision:null},{url:"assets/CameraConsole-DGbeilsL.js",revision:null},{url:"assets/Camera-By03S83s.js",revision:null},{url:"assets/Camera-BG8K5bH_.css",revision:null},{url:"assets/Automations-by_LN5br.js",revision:null},{url:"assets/Automation-Csu8t0D7.css",revision:null},{url:"assets/Automation-CMMDPrn0.js",revision:null},{url:"assets/Adminpanel-Cciuxh1q.js",revision:null},{url:"assets/About-TDIJXs5o.js",revision:null},{url:"assets/404-CZDMFg2Z.js",revision:null},{url:"pwa/maskable-icon-1240x600.png",revision:"f3188c7d8e5038f28068c7a3632dbe4b"},{url:"pwa/maskable-icon-512x512.png",revision:"e716feaa60f08d95d0909e1c85bf1f98"},{url:"pwa/maskable-icon-620x300.png",revision:"b4954ceadf0d6f2095c45f8cc8240337"},{url:"pwa/pwa-1024x1024.png",revision:"1ed367ae76416e79fd0bdd6ee70666bc"},{url:"pwa/pwa-120x120.png",revision:"3f5ec31f6bd07910482227b259344110"},{url:"pwa/pwa-144x144.png",revision:"4fdf5c8fb085f764ed7dd5a26698bff5"},{url:"pwa/pwa-152x152.png",revision:"4cf41c7b603d382e83e098affb7cb9da"},{url:"pwa/pwa-167x167.png",revision:"de6a5ca921b45fb3bd30d27c707981c6"},{url:"pwa/pwa-180x180.png",revision:"225b42752632e2866c4f8fe4ab2f62ee"},{url:"pwa/pwa-192x192.png",revision:"3d58c2dd940c535cc166cc8d0844429d"},{url:"pwa/pwa-24x24.png",revision:"bdb25f68ca300283b37041e47d3e6ba8"},{url:"pwa/pwa-300x300.png",revision:"7f79d74e34aedef57c98a1c9c156ba6b"},{url:"pwa/pwa-36x36.png",revision:"4d08bb198d4e54e4d12a0810fc59f059"},{url:"pwa/pwa-48x48.png",revision:"97d7369c892f1e0914c2617ff26feb3c"},{url:"pwa/pwa-50x50.png",revision:"a20fc2e6f26aa548f9cae07911087f6c"},{url:"pwa/pwa-64x64.png",revision:"f57763be3212fd4154c502d607e7ed38"},{url:"pwa/pwa-72x72.png",revision:"66698bb499639052ad337f7e9a7d7ea8"},{url:"pwa/pwa-88x88.png",revision:"6e8af0a85b0627a835b62067d5189cb4"},{url:"pwa/pwa-96x96.png",revision:"675ea863c25fa9ae31d4d76a47463c78"},{url:"manifest.webmanifest",revision:"ed2b67044c80f7c0362cd73cde2f96c5"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("index.html"),{allowlist:[/^(?!\/api)/],denylist:[/[?&]session=/]}))});
1
+ if(!self.define){let s,e={};const l=(l,i)=>(l=new URL(l+".js",i).href,e[l]||new Promise(e=>{if("document"in self){const s=document.createElement("script");s.src=l,s.onload=e,document.head.appendChild(s)}else s=l,importScripts(l),e()}).then(()=>{let s=e[l];if(!s)throw new Error(`Module ${l} didn’t register its module`);return s}));self.define=(i,a)=>{const r=s||("document"in self?document.currentScript.src:"")||location.href;if(e[r])return;let n={};const u=s=>l(s,r),o={module:{uri:r},exports:n,require:u};e[r]=Promise.all(i.map(s=>o[s]||u(s))).then(s=>(a(...s),n))}}define(["./workbox-5f44db27"],function(s){"use strict";s.setCacheNameDetails({prefix:"camera-ui"}),self.addEventListener("message",s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()}),s.precacheAndRoute([{url:"robots.txt",revision:"f77c87f977e0fcce05a6df46c885a129"},{url:"og-share.png",revision:"0ca1dd15e2498de1d1423fe6134db452"},{url:"index.html",revision:"8f60a58f6acb50b54fe18bf5501ac5a1"},{url:"pwa/pwa-96x96.png",revision:"675ea863c25fa9ae31d4d76a47463c78"},{url:"pwa/pwa-88x88.png",revision:"6e8af0a85b0627a835b62067d5189cb4"},{url:"pwa/pwa-72x72.png",revision:"66698bb499639052ad337f7e9a7d7ea8"},{url:"pwa/pwa-64x64.png",revision:"f57763be3212fd4154c502d607e7ed38"},{url:"pwa/pwa-50x50.png",revision:"a20fc2e6f26aa548f9cae07911087f6c"},{url:"pwa/pwa-48x48.png",revision:"97d7369c892f1e0914c2617ff26feb3c"},{url:"pwa/pwa-36x36.png",revision:"4d08bb198d4e54e4d12a0810fc59f059"},{url:"pwa/pwa-300x300.png",revision:"7f79d74e34aedef57c98a1c9c156ba6b"},{url:"pwa/pwa-24x24.png",revision:"bdb25f68ca300283b37041e47d3e6ba8"},{url:"pwa/pwa-192x192.png",revision:"3d58c2dd940c535cc166cc8d0844429d"},{url:"pwa/pwa-180x180.png",revision:"225b42752632e2866c4f8fe4ab2f62ee"},{url:"pwa/pwa-167x167.png",revision:"de6a5ca921b45fb3bd30d27c707981c6"},{url:"pwa/pwa-152x152.png",revision:"4cf41c7b603d382e83e098affb7cb9da"},{url:"pwa/pwa-144x144.png",revision:"4fdf5c8fb085f764ed7dd5a26698bff5"},{url:"pwa/pwa-120x120.png",revision:"3f5ec31f6bd07910482227b259344110"},{url:"pwa/pwa-1024x1024.png",revision:"1ed367ae76416e79fd0bdd6ee70666bc"},{url:"pwa/maskable-icon-620x300.png",revision:"b4954ceadf0d6f2095c45f8cc8240337"},{url:"pwa/maskable-icon-512x512.png",revision:"e716feaa60f08d95d0909e1c85bf1f98"},{url:"pwa/maskable-icon-1240x600.png",revision:"f3188c7d8e5038f28068c7a3632dbe4b"},{url:"pwa/logo.svg",revision:"1aa262f4a37293a91083eea10794d2ca"},{url:"pwa/favicon-64.ico",revision:"6a697d7662ab5ee246918cdc7c412343"},{url:"pwa/favicon-48.ico",revision:"d0a27003af457cb85651c84c60c87ef0"},{url:"pwa/favicon-32.ico",revision:"6e711cbf0b53afe4a7d0057780fa42b9"},{url:"pwa/favicon-16.ico",revision:"163ae861c5ab9f68ed21324c19dfe35d"},{url:"pwa/apple-touch-icon-180x180.png",revision:"91aec7b3a553812fbd3cd72adb17fcc4"},{url:"pwa/apple-splash-portrait-light-828x1792.png",revision:"8deb1063185df6a2d3089a9fa33f6ad1"},{url:"pwa/apple-splash-portrait-light-750x1334.png",revision:"191c785b1e7b47ac1b1d6bc2a84bde85"},{url:"pwa/apple-splash-portrait-light-640x1136.png",revision:"588e312fd0851d5767972a1efc33e6a3"},{url:"pwa/apple-splash-portrait-light-2048x2732.png",revision:"cf9c75c2e56f8d3af7d914a00ce30286"},{url:"pwa/apple-splash-portrait-light-1668x2388.png",revision:"5db134deca3d2e8a1ae2d8e67c77c420"},{url:"pwa/apple-splash-portrait-light-1668x2224.png",revision:"a1b5adab2a71d0fa646e7b0e9a4fcb71"},{url:"pwa/apple-splash-portrait-light-1620x2160.png",revision:"41bdc2c492d374bf8c6b6875e2beb9f1"},{url:"pwa/apple-splash-portrait-light-1536x2048.png",revision:"42716fc23cfa58d3f154fea1875eb3f5"},{url:"pwa/apple-splash-portrait-light-1290x2796.png",revision:"d57711837cf7e3801a9e8126b1695aaa"},{url:"pwa/apple-splash-portrait-light-1284x2778.png",revision:"461b13cf0d9c293ca220700bb4148afa"},{url:"pwa/apple-splash-portrait-light-1242x2688.png",revision:"2b320f74bc7da7bf0d1be699183416c3"},{url:"pwa/apple-splash-portrait-light-1242x2208.png",revision:"8fd1367cac03e5798973cfa4e0dec5b0"},{url:"pwa/apple-splash-portrait-light-1179x2556.png",revision:"8d1fc622bdb48dda2461e4f47a49249a"},{url:"pwa/apple-splash-portrait-light-1170x2532.png",revision:"58d656b4de9b32a09fc2ea1028116dfb"},{url:"pwa/apple-splash-portrait-light-1125x2436.png",revision:"1a02e33add13bccc9f407efcfd2cf890"},{url:"pwa/apple-splash-portrait-dark-828x1792.png",revision:"543d10f74f6f098e49ba989899182dee"},{url:"pwa/apple-splash-portrait-dark-750x1334.png",revision:"54f99ba556f7cc149eb03fe6207d411d"},{url:"pwa/apple-splash-portrait-dark-640x1136.png",revision:"b901a6f04ef976aa81573ec0f3c8f32b"},{url:"pwa/apple-splash-portrait-dark-2048x2732.png",revision:"60acb5fbde5bb76a368238c5e079c717"},{url:"pwa/apple-splash-portrait-dark-1668x2388.png",revision:"fb7fb372580598abf8a1d8eb7305462a"},{url:"pwa/apple-splash-portrait-dark-1668x2224.png",revision:"1e7b39c9f5fdca7ddf23c1248f7628bf"},{url:"pwa/apple-splash-portrait-dark-1620x2160.png",revision:"1a9f84fba88d4cd5924cf5a39d541b46"},{url:"pwa/apple-splash-portrait-dark-1536x2048.png",revision:"0b26c0a578f6b13b3df06abecc81fb82"},{url:"pwa/apple-splash-portrait-dark-1290x2796.png",revision:"e7f2a468891736413b1e0622a510fd5a"},{url:"pwa/apple-splash-portrait-dark-1284x2778.png",revision:"d7230994de3c4c6016ac252431031ea7"},{url:"pwa/apple-splash-portrait-dark-1242x2688.png",revision:"c56eb0a4a8b4c7bb850cbfc35dd62bba"},{url:"pwa/apple-splash-portrait-dark-1242x2208.png",revision:"1b7f03eaab3cf8af8aa6057fd97278d8"},{url:"pwa/apple-splash-portrait-dark-1179x2556.png",revision:"8eac224083023d0d21374d9f9087bab5"},{url:"pwa/apple-splash-portrait-dark-1170x2532.png",revision:"476ac5131289040d8d88803c18dc20bb"},{url:"pwa/apple-splash-portrait-dark-1125x2436.png",revision:"53ddd8644a89bfc79c8d1bfbaa51527b"},{url:"pwa/apple-splash-landscape-light-2796x1290.png",revision:"a46e458259177e134ad383d133b29774"},{url:"pwa/apple-splash-landscape-light-2778x1284.png",revision:"95d2479cf715c2ea0104fd5f55fa62b3"},{url:"pwa/apple-splash-landscape-light-2732x2048.png",revision:"0e5ec355113efe5ce253583209a64bb8"},{url:"pwa/apple-splash-landscape-light-2688x1242.png",revision:"3757f5338eb50c9f6fb8ad0d72597465"},{url:"pwa/apple-splash-landscape-light-2556x1179.png",revision:"3f0efc9e8de850ae5d3a72a158d39055"},{url:"pwa/apple-splash-landscape-light-2532x1170.png",revision:"b9e11e5a3435cf159f240b5f6da5dc76"},{url:"pwa/apple-splash-landscape-light-2436x1125.png",revision:"459b9c158b3a52222787d00a276baa21"},{url:"pwa/apple-splash-landscape-light-2388x1668.png",revision:"3733608412963cb747e32b2790013523"},{url:"pwa/apple-splash-landscape-light-2224x1668.png",revision:"ecf0efece27d70815f7401f7f3e40a24"},{url:"pwa/apple-splash-landscape-light-2208x1242.png",revision:"653857094b0c183908571fea1aed7b2f"},{url:"pwa/apple-splash-landscape-light-2160x1620.png",revision:"31ac689a78386cf844e33f10fd5d2029"},{url:"pwa/apple-splash-landscape-light-2048x1536.png",revision:"1b27b72b070b260eceeaab092a82663d"},{url:"pwa/apple-splash-landscape-light-1792x828.png",revision:"c6e29d789061fc48eb9f3a54cb1950be"},{url:"pwa/apple-splash-landscape-light-1334x750.png",revision:"f513cdc13ffaf0c2a82bb207e2a9a397"},{url:"pwa/apple-splash-landscape-light-1136x640.png",revision:"c9b4c38f0a267051c0c83cc92c0f5767"},{url:"pwa/apple-splash-landscape-dark-2796x1290.png",revision:"22b9597a28c081730e3430e467b4e36d"},{url:"pwa/apple-splash-landscape-dark-2778x1284.png",revision:"19d1e7a02d9edd3354c61b7c54ea9c1e"},{url:"pwa/apple-splash-landscape-dark-2732x2048.png",revision:"dc9fbb966dfc3350466279749c2946d7"},{url:"pwa/apple-splash-landscape-dark-2688x1242.png",revision:"dcd13ed9567fa4d98867f5c97cc89695"},{url:"pwa/apple-splash-landscape-dark-2556x1179.png",revision:"02e2914d36b2aaf6da02799414a23738"},{url:"pwa/apple-splash-landscape-dark-2532x1170.png",revision:"b89d280148f1bcb816c6364c37daefb6"},{url:"pwa/apple-splash-landscape-dark-2436x1125.png",revision:"85613cc4f5040791ef13e4b2a1ecc840"},{url:"pwa/apple-splash-landscape-dark-2388x1668.png",revision:"e17cbe3b198574eb6fc822c17e22d935"},{url:"pwa/apple-splash-landscape-dark-2224x1668.png",revision:"1144751415d9c1f3d1bc34407b9a9539"},{url:"pwa/apple-splash-landscape-dark-2208x1242.png",revision:"2989b9f038112f8eed3694fa53b86e6a"},{url:"pwa/apple-splash-landscape-dark-2160x1620.png",revision:"ee54046f738fe4346d7febbfaa711244"},{url:"pwa/apple-splash-landscape-dark-2048x1536.png",revision:"70f0181b7e075e3b64e261c4d4e3eada"},{url:"pwa/apple-splash-landscape-dark-1792x828.png",revision:"281d292ea4448638bb250a3fca5f5f44"},{url:"pwa/apple-splash-landscape-dark-1334x750.png",revision:"d82dd37eb2bdf815c1e2ab367134cbbf"},{url:"pwa/apple-splash-landscape-dark-1136x640.png",revision:"c6b193de9bd234c81fdea1d28fe7b88c"},{url:"fonts/InterVariable.woff2",revision:"2bf3d951bf9d6109437ea0874bbf12fb"},{url:"assets/zoom-in-D2zo_jfL.js",revision:null},{url:"assets/worker-yaml-crtWQpDN.js",revision:null},{url:"assets/worker-base-ybazWkNy.js",revision:null},{url:"assets/workbox-window.prod.es5-CtK9nkTO.js",revision:null},{url:"assets/web-xDCdGu4q.js",revision:null},{url:"assets/web-iAcZCcyL.js",revision:null},{url:"assets/web-ERIfo5an.js",revision:null},{url:"assets/web-DohTQteu.js",revision:null},{url:"assets/web-Do1A1_Uv.js",revision:null},{url:"assets/web-DiteWocu.js",revision:null},{url:"assets/web-D4GUyvng.js",revision:null},{url:"assets/web-D2BwFPf_.js",revision:null},{url:"assets/web-CbVsSB6C.js",revision:null},{url:"assets/web-BpltzPRC.js",revision:null},{url:"assets/web-BjKL51lK-D9ETiyug.js",revision:null},{url:"assets/web-Bba8RmHI.js",revision:null},{url:"assets/web-B9fYUOqN.js",revision:null},{url:"assets/web-54_Wj9Me.js",revision:null},{url:"assets/view-grid-D39XDBn9.js",revision:null},{url:"assets/view-grid-D04t817d.css",revision:null},{url:"assets/vendor-zod-V2qTUMVc.js",revision:null},{url:"assets/vendor-xterm-BrP-ENHg.css",revision:null},{url:"assets/vendor-xterm-BRN-hOYD.js",revision:null},{url:"assets/vendor-vueflow-DSLHUKHF.js",revision:null},{url:"assets/vendor-primevue-DYHQyonV.js",revision:null},{url:"assets/vendor-markdown-UV_ycMZu.js",revision:null},{url:"assets/vendor-markdown-DtOhvyRx.css",revision:null},{url:"assets/vendor-leaflet-vh-t_kPv.css",revision:null},{url:"assets/vendor-leaflet-_2Z0GiOD.js",revision:null},{url:"assets/vendor-gridstack-Rg2RhwAc.css",revision:null},{url:"assets/vendor-gridstack-DD5uGA3X.js",revision:null},{url:"assets/vendor-draggabilly-Dl6FWJwx.js",revision:null},{url:"assets/vendor-dnd-_zxmhxjM.js",revision:null},{url:"assets/vendor-core-CBFMCwgj.js",revision:null},{url:"assets/vendor-chart-CBBmwsyM.js",revision:null},{url:"assets/vendor-capacitor-DgfjcZj-.js",revision:null},{url:"assets/vendor-cameraui-B9wC4-mi.js",revision:null},{url:"assets/vendor-ace-DdrK3_G3.js",revision:null},{url:"assets/vendor-DoIl6acN.js",revision:null},{url:"assets/users.schema-2wYWhJ9W.js",revision:null},{url:"assets/useStreamStatus-Dy3K_ILd.js",revision:null},{url:"assets/useSharedComposables-DjDddcdT.js",revision:null},{url:"assets/useLogsSocket-BnU6ynWU.js",revision:null},{url:"assets/useLogsSocket-4F2-d9fa.css",revision:null},{url:"assets/useFileDownload-BLbAIlSX.js",revision:null},{url:"assets/useElectron-mh8HQUAI.js",revision:null},{url:"assets/useCuiDialog-DZvxI8xi.js",revision:null},{url:"assets/useCuiCameraDrawer-2I0LB3ff.js",revision:null},{url:"assets/useCameraOptions-D0rQaUuh.js",revision:null},{url:"assets/useBiometricCredentials-BGl37Skw.js",revision:null},{url:"assets/upload-AGww_lJf.js",revision:null},{url:"assets/ui-CnzJLu9N.js",revision:null},{url:"assets/types-CztXMZ5X.js",revision:null},{url:"assets/types-ByBSoibP.js",revision:null},{url:"assets/types-BxFyoO54.js",revision:null},{url:"assets/trash2-CaXm_MmJ.js",revision:null},{url:"assets/trash-fill-Da1v18iA.js",revision:null},{url:"assets/trash-2-CkdsE6jp.js",revision:null},{url:"assets/theme-B2fORWV9.js",revision:null},{url:"assets/terminal-DbYAPed-.js",revision:null},{url:"assets/shield-check-ChlSHOnR.js",revision:null},{url:"assets/shares-D0r3nTB0.js",revision:null},{url:"assets/settings-uhDSoUhb.js",revision:null},{url:"assets/server-BW0jfXav.js",revision:null},{url:"assets/search-D-QOrChC.js",revision:null},{url:"assets/routerState-ByP_jZ8E.js",revision:null},{url:"assets/router-DUCivZj8.js",revision:null},{url:"assets/router-BUTKN1yM.css",revision:null},{url:"assets/round-restart-alt-fCNtJi_k.css",revision:null},{url:"assets/round-restart-alt-bbbi50F4.js",revision:null},{url:"assets/round-alt-arrow-left-bold-C-0SLIa9.js",revision:null},{url:"assets/rolldown-runtime-DAXXjFlN.js",revision:null},{url:"assets/ring-resize-DQajal-Z.js",revision:null},{url:"assets/power-BcSFRPtI.js",revision:null},{url:"assets/plus-Dqgz6pez.js",revision:null},{url:"assets/plus-BMt5ORD8.js",revision:null},{url:"assets/plugins-BMys-WCs.js",revision:null},{url:"assets/plugin-C1dsgk0N.js",revision:null},{url:"assets/play-solid-BOoBnMaN.js",revision:null},{url:"assets/notifications-Cq1bDRQk.js",revision:null},{url:"assets/nodeDefinitions-blmt-d7H.js",revision:null},{url:"assets/native-j1dyx58L.js",revision:null},{url:"assets/native-fQjIFjCA.js",revision:null},{url:"assets/mode-yaml-CIYL8U3d.js",revision:null},{url:"assets/microphone-CAVr4YFv.js",revision:null},{url:"assets/main-DudyqPaR.css",revision:null},{url:"assets/main-D0dJIe_X.js",revision:null},{url:"assets/logo-DmEiRk0z.png",revision:null},{url:"assets/logo-256-BCQk9H1-.png",revision:null},{url:"assets/locale-hdhgxXOX.js",revision:null},{url:"assets/lightbulb-outline-B0CFho4y.js",revision:null},{url:"assets/instances-5MeVN25v.js",revision:null},{url:"assets/information-outline-ChTb2u7w.js",revision:null},{url:"assets/home-Dey3bw1P.js",revision:null},{url:"assets/hasPermission-B724PtFJ.js",revision:null},{url:"assets/grid-fill-DBU_n60V.js",revision:null},{url:"assets/github-DNzKZdHG.js",revision:null},{url:"assets/face-recognition-D5evlO1d.js",revision:null},{url:"assets/eventIcons-CtTopM6B.js",revision:null},{url:"assets/eventIcons-2hVCNchU.css",revision:null},{url:"assets/esm-yIpeulKl.js",revision:null},{url:"assets/esm-u_3xdCfr.js",revision:null},{url:"assets/esm-edrype40.js",revision:null},{url:"assets/esm-M_oLCAXC.js",revision:null},{url:"assets/esm-Do9bGF06.js",revision:null},{url:"assets/esm-Dc3lKVtD.js",revision:null},{url:"assets/esm-CjzerNPk.js",revision:null},{url:"assets/esm-CWeEZr0g.js",revision:null},{url:"assets/esm-CIAIVgGo.js",revision:null},{url:"assets/esm-CA4iVOgN2.js",revision:null},{url:"assets/esm-C51W8e2w.js",revision:null},{url:"assets/esm-BUgHC3bC.js",revision:null},{url:"assets/esm-B2shpuvL.js",revision:null},{url:"assets/esm-B-_4iFTo.js",revision:null},{url:"assets/error-256-DLKVOU2S.png",revision:null},{url:"assets/download-CY-SlBan.js",revision:null},{url:"assets/dist-CQkfz2Dn.js",revision:null},{url:"assets/deviceId-BM0pOHhg.js",revision:null},{url:"assets/delete-5a2q7_46.js",revision:null},{url:"assets/copy-DcVDLQlM.js",revision:null},{url:"assets/copy-16-filled-CZzRMAt_.js",revision:null},{url:"assets/cog-Ce2a8uiA.js",revision:null},{url:"assets/cloudHandoff-Cnd7f4Es.js",revision:null},{url:"assets/cloud-outline-CzQmkpCY.js",revision:null},{url:"assets/cloud-outline-BPAJ6_kc.js",revision:null},{url:"assets/cloud-check-BbqgBLhK.js",revision:null},{url:"assets/close-circle-ClG7lNzZ.js",revision:null},{url:"assets/close-DuwOOM-P.js",revision:null},{url:"assets/circular-connection-BTKd-doI.js",revision:null},{url:"assets/chevron-right-CXZ4SFSg.js",revision:null},{url:"assets/chevron-down-KZwkCQ3v.js",revision:null},{url:"assets/check-BMoCATAa.js",revision:null},{url:"assets/cctv-BsGdaLfw.js",revision:null},{url:"assets/cameras.schema-CuVLJONJ.js",revision:null},{url:"assets/cameras-BEBBV7mz.js",revision:null},{url:"assets/camera-preview-C7GT5VHo.png",revision:null},{url:"assets/bell-outline-U3Gb4nI1.js",revision:null},{url:"assets/bell-ChE83DC8.js",revision:null},{url:"assets/backup-BcXXJ1y6.js",revision:null},{url:"assets/back-filled-DqCMpeEk.js",revision:null},{url:"assets/automations-DVc4ovPU.js",revision:null},{url:"assets/automations-C2J4u5Uj.js",revision:null},{url:"assets/automation-IpK710bv.js",revision:null},{url:"assets/auth-Czmir2ST.js",revision:null},{url:"assets/arrow-right-outline-CliUt84m.js",revision:null},{url:"assets/arrow-left-9W2BpRxA.js",revision:null},{url:"assets/api-Cm9H8gwG.js",revision:null},{url:"assets/api-BB9AG_h5.css",revision:null},{url:"assets/api-B8LDDNgZ.js",revision:null},{url:"assets/alert-outline-T8FhpQ9w.js",revision:null},{url:"assets/ace.config-D884GuRj.js",revision:null},{url:"assets/ace-DQ1lNH50.js",revision:null},{url:"assets/_plugin-vue_export-helper-BDNMzG2s.js",revision:null},{url:"assets/Workers-xo6c0O5M.js",revision:null},{url:"assets/VersionsHandler-BrfHmvOf.js",revision:null},{url:"assets/VariableSuggestions-K3CHs8XG.js",revision:null},{url:"assets/VariableInput-tPI6hxP8.js",revision:null},{url:"assets/Terminal-h5vqtN-o.js",revision:null},{url:"assets/Terminal-CrOfQJ-O.css",revision:null},{url:"assets/SettingsUsers-CimG6HaL.js",revision:null},{url:"assets/SettingsSystem-DwXSeR_Z.js",revision:null},{url:"assets/SettingsRemote-Dg3BfdmI.js",revision:null},{url:"assets/SettingsRemote-D9COJF4m.css",revision:null},{url:"assets/SettingsRecordings-uNRwROAh.js",revision:null},{url:"assets/SettingsNotifications-OV4-nraE.js",revision:null},{url:"assets/SettingsBackup-CX0rT0QJ.css",revision:null},{url:"assets/SettingsBackup-CCEtuJsQ.js",revision:null},{url:"assets/SettingsAppearance-DSNXI3t4.js",revision:null},{url:"assets/SettingsAppearance-CwPSvzkX.js",revision:null},{url:"assets/SettingsAccount-Y7hpH8Y3.css",revision:null},{url:"assets/SettingsAccount-C_pQPGoW.js",revision:null},{url:"assets/SettingsAccount-BgpeeHsR.js",revision:null},{url:"assets/Settings-bwLTNAxX.css",revision:null},{url:"assets/Settings-Bz7u44Pl.js",revision:null},{url:"assets/Recordings-Daf0TCPA.js",revision:null},{url:"assets/Recordings-Bt_GlPOK.css",revision:null},{url:"assets/Plugins-s1k811lf.css",revision:null},{url:"assets/Plugins-B7ZOk3ld.js",revision:null},{url:"assets/PluginSchema-BcLXAX-Q.js",revision:null},{url:"assets/PluginConsole-C-ndOnmZ.js",revision:null},{url:"assets/Plugin-CWjFyBeK.js",revision:null},{url:"assets/Plugin-CHdZvbiP.css",revision:null},{url:"assets/OAuthDeviceFlow-CxJbM1jZ.js",revision:null},{url:"assets/Menu-uW8DUGLM.js",revision:null},{url:"assets/Logs-CpAkrsEJ.js",revision:null},{url:"assets/Instances-CWzMYIvB.js",revision:null},{url:"assets/FirstSteps-YNR-3tqt.js",revision:null},{url:"assets/Faces-u9Rxm4Ti.js",revision:null},{url:"assets/CuiTopbarSlot-DbzQRnbt.js",revision:null},{url:"assets/CuiTopNavbarItem-CqM9AHmU.js",revision:null},{url:"assets/CuiTopNavbarItem-CJqOqVMt.css",revision:null},{url:"assets/CuiSchema-DEYDened.js",revision:null},{url:"assets/CuiSchema--yMBD996.css",revision:null},{url:"assets/CuiRecordingsGrid-lcLty5PV.css",revision:null},{url:"assets/CuiRecordingsGrid-BFHPh2dn.js",revision:null},{url:"assets/CuiQRCode-CVHjvjZP.js",revision:null},{url:"assets/CuiQRCode-BtErH65J.css",revision:null},{url:"assets/CuiPluginOAuthButton-Q2CBmZzv.js",revision:null},{url:"assets/CuiPluginCard-LxNHYHxa.css",revision:null},{url:"assets/CuiPluginCard-Bu_rNdQH.js",revision:null},{url:"assets/CuiMenu-BWUfWLQP.css",revision:null},{url:"assets/CuiMenu-BO2e4LK5.js",revision:null},{url:"assets/CuiMarkdownContent-YieurDkL.js",revision:null},{url:"assets/CuiImage-Bxf7z2N4.css",revision:null},{url:"assets/CuiImage-B3eMhhIS.js",revision:null},{url:"assets/CuiFloatingButton-BLCO4wJw.js",revision:null},{url:"assets/CuiDataTable-DWuXg9Zg.css",revision:null},{url:"assets/CuiDataTable-D9GqApg1.js",revision:null},{url:"assets/CuiCameraTable-B5wQAGfM.js",revision:null},{url:"assets/CuiCameraSnapshot-C33nUgVt.js",revision:null},{url:"assets/CuiCameraShares-BvwB4H_0.js",revision:null},{url:"assets/CuiCameraRecordings-bqChEXwx.js",revision:null},{url:"assets/CuiCameraRecordings-BHj7CUE7.css",revision:null},{url:"assets/CuiCameraPipCard-DehPfhfs.js",revision:null},{url:"assets/CuiCameraPipCard-D3o29_wc.css",revision:null},{url:"assets/CuiCameraCard-kI_GNoa7.js",revision:null},{url:"assets/CuiCameraCard-BxGmxXxZ.css",revision:null},{url:"assets/CuiBottomSheet-zPb4AI5w.js",revision:null},{url:"assets/CuiBottomSheet-DsjZEdig.css",revision:null},{url:"assets/CuiBottomSheet-DSG6iONb.js",revision:null},{url:"assets/CuiBBoxPlayground-EFkdOBvq.css",revision:null},{url:"assets/CuiBBoxPlayground-DOcoHCTQ.js",revision:null},{url:"assets/CuiAvatar-DUucUxIP.js",revision:null},{url:"assets/CuiAvatar-BtMXnhxd.css",revision:null},{url:"assets/CuiActionButton-CNTiGrTt.js",revision:null},{url:"assets/Console-B4SQZA5X.js",revision:null},{url:"assets/ConfigTriggerWebhook-CrtHc6Q3.js",revision:null},{url:"assets/ConfigTriggerSystem-CO06Crjg.js",revision:null},{url:"assets/ConfigTriggerSensor-BbKksZMP.js",revision:null},{url:"assets/ConfigTriggerSchedule-vC9yyRct.js",revision:null},{url:"assets/ConfigTriggerManual-DDmBGqnC.js",revision:null},{url:"assets/ConfigTriggerGeofence-DCqAqAG3.js",revision:null},{url:"assets/ConfigTriggerDetection-BrtBsd1t.js",revision:null},{url:"assets/ConfigConditionTime-bHKJ8kBR.js",revision:null},{url:"assets/ConfigConditionSwitch-BPdEa--b.js",revision:null},{url:"assets/ConfigConditionSensorState-CIbkk6LA.js",revision:null},{url:"assets/ConfigConditionIfElse-pp0wRFeJ.js",revision:null},{url:"assets/ConfigActionVariable-D-1zVFz-.js",revision:null},{url:"assets/ConfigActionSnapshot-k8RM-NMf.js",revision:null},{url:"assets/ConfigActionSensor-C6DOrCYd.js",revision:null},{url:"assets/ConfigActionPlugin-C1OSUQ3_.js",revision:null},{url:"assets/ConfigActionOutput-BB-jkCdD.js",revision:null},{url:"assets/ConfigActionNotification-FzGgJM9i.js",revision:null},{url:"assets/ConfigActionImageInput-D8ipnlfe.js",revision:null},{url:"assets/ConfigActionHttp-C9nEQ-7w.js",revision:null},{url:"assets/ConfigActionDelay-CYz0z9Od.js",revision:null},{url:"assets/ConfigActionCameraControl-BRgTU6MP.js",revision:null},{url:"assets/Config-JgftUZFe.css",revision:null},{url:"assets/Config-CfunWNtM.js",revision:null},{url:"assets/Camview-Gxca3bvT.css",revision:null},{url:"assets/Camview-B-Pqm0Fw.js",revision:null},{url:"assets/Cameras-CVID1akl.js",revision:null},{url:"assets/Cameras-54LaZPN3.css",revision:null},{url:"assets/CameraConsole-DGbeilsL.js",revision:null},{url:"assets/Camera-BlN_KppY.js",revision:null},{url:"assets/Camera-BG8K5bH_.css",revision:null},{url:"assets/Automations-by_LN5br.js",revision:null},{url:"assets/Automation-Csu8t0D7.css",revision:null},{url:"assets/Automation-CMMDPrn0.js",revision:null},{url:"assets/Adminpanel-Cciuxh1q.js",revision:null},{url:"assets/About-TDIJXs5o.js",revision:null},{url:"assets/404-CZDMFg2Z.js",revision:null},{url:"pwa/maskable-icon-1240x600.png",revision:"f3188c7d8e5038f28068c7a3632dbe4b"},{url:"pwa/maskable-icon-512x512.png",revision:"e716feaa60f08d95d0909e1c85bf1f98"},{url:"pwa/maskable-icon-620x300.png",revision:"b4954ceadf0d6f2095c45f8cc8240337"},{url:"pwa/pwa-1024x1024.png",revision:"1ed367ae76416e79fd0bdd6ee70666bc"},{url:"pwa/pwa-120x120.png",revision:"3f5ec31f6bd07910482227b259344110"},{url:"pwa/pwa-144x144.png",revision:"4fdf5c8fb085f764ed7dd5a26698bff5"},{url:"pwa/pwa-152x152.png",revision:"4cf41c7b603d382e83e098affb7cb9da"},{url:"pwa/pwa-167x167.png",revision:"de6a5ca921b45fb3bd30d27c707981c6"},{url:"pwa/pwa-180x180.png",revision:"225b42752632e2866c4f8fe4ab2f62ee"},{url:"pwa/pwa-192x192.png",revision:"3d58c2dd940c535cc166cc8d0844429d"},{url:"pwa/pwa-24x24.png",revision:"bdb25f68ca300283b37041e47d3e6ba8"},{url:"pwa/pwa-300x300.png",revision:"7f79d74e34aedef57c98a1c9c156ba6b"},{url:"pwa/pwa-36x36.png",revision:"4d08bb198d4e54e4d12a0810fc59f059"},{url:"pwa/pwa-48x48.png",revision:"97d7369c892f1e0914c2617ff26feb3c"},{url:"pwa/pwa-50x50.png",revision:"a20fc2e6f26aa548f9cae07911087f6c"},{url:"pwa/pwa-64x64.png",revision:"f57763be3212fd4154c502d607e7ed38"},{url:"pwa/pwa-72x72.png",revision:"66698bb499639052ad337f7e9a7d7ea8"},{url:"pwa/pwa-88x88.png",revision:"6e8af0a85b0627a835b62067d5189cb4"},{url:"pwa/pwa-96x96.png",revision:"675ea863c25fa9ae31d4d76a47463c78"},{url:"manifest.webmanifest",revision:"ed2b67044c80f7c0362cd73cde2f96c5"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("index.html"),{allowlist:[/^(?!\/api)/],denylist:[/[?&]session=/]}))});
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camera.ui/server",
3
- "version": "0.0.109",
3
+ "version": "0.0.110",
4
4
  "description": "camera.ui server",
5
5
  "author": "seydx (https://github.com/cameraui/camera.ui)",
6
6
  "type": "module",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camera.ui/server",
3
- "version": "0.0.109",
3
+ "version": "0.0.110",
4
4
  "description": "camera.ui server",
5
5
  "author": "seydx (https://github.com/cameraui/camera.ui)",
6
6
  "type": "module",