@camstack/addon-admin-ui 1.2.428 → 1.2.429
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{AddonAssetIcon-Cs_blBpK.js → AddonAssetIcon-DR35yt0E.js} +1 -1
- package/dist/assets/Addons-gkGgGpTC.js +4 -0
- package/dist/assets/{AdminPage-DuuyDIsY.js → AdminPage-DAO24U0w.js} +1 -1
- package/dist/assets/AdminSectionedPage-B-qoE6ra.js +1 -0
- package/dist/assets/AiProfiles-BXcreqZP.js +3 -0
- package/dist/assets/BrokerForm-B3xs9aBj.js +1 -0
- package/dist/assets/Build-DeMAJfjN.js +40 -0
- package/dist/assets/Calendars-VPH-vy-o.js +1 -0
- package/dist/assets/Cluster-B-k0M79z.js +1 -0
- package/dist/assets/ClusterStepModel-DaAc_6nI.js +1 -0
- package/dist/assets/CompositionEditor-BrtLjoSu.js +1 -0
- package/dist/assets/{CompositionEditorPage-Acq7iapA.js → CompositionEditorPage-D51jS9td.js} +1 -1
- package/dist/assets/Data-IfJuKcwc.js +2 -0
- package/dist/assets/DeviceDetail-D1qU_p1k.js +2 -0
- package/dist/assets/DeviceDoActionFields-B62Nv4K7.js +1 -0
- package/dist/assets/Devices-Cf5Exjsk.js +1 -0
- package/dist/assets/{EmbedPlayerPage-RXOmf2F3.js → EmbedPlayerPage-CnEcSJ8D.js} +1 -1
- package/dist/assets/Identity-DNE80jdX.js +1 -0
- package/dist/assets/IntegrationDetail-LKbiJFU3.js +1 -0
- package/dist/assets/IntegrationHub-DdjWEObX.js +1 -0
- package/dist/assets/Integrations-CU7Ll9U_.js +1 -0
- package/dist/assets/Integrations-uZB2ozhn.js +1 -0
- package/dist/assets/Library-DSuCaXt6.js +1 -0
- package/dist/assets/Locations-BeaznsZS.js +3 -0
- package/dist/assets/{Logs-DIeXeCqI.js → Logs-cm-1R2Z4.js} +1 -1
- package/dist/assets/MaskShapeCanvas-CM9D4FOf.js +1 -0
- package/dist/assets/MotionZonesSettings-DqS8ndiK.js +1 -0
- package/dist/assets/MyAccess-Dxb11B6h.js +2 -0
- package/dist/assets/Network-BCDUHSB0.js +1 -0
- package/dist/assets/NodeAddonsSettingsPanel-BMat4ckt.js +1 -0
- package/dist/assets/Notifications-EPQiEZ1t.js +1 -0
- package/dist/assets/PrivacyMaskSettings-Bis0PO01.js +1 -0
- package/dist/assets/Recordings-BCeoXxL4.js +1 -0
- package/dist/assets/ScanNetworkModal-dHWFmbFe.js +1 -0
- package/dist/assets/SceneMonitorEditor-SFMMIopn.js +1 -0
- package/dist/assets/SessionsList-BRTwG3uv.js +2 -0
- package/dist/assets/{Showroom-W2yJvb8s.js → Showroom-Er-hes9K.js} +1 -1
- package/dist/assets/System-BDXxfgsq.js +1 -0
- package/dist/assets/{Terminal-CrFum1tE.js → Terminal-B70jnm8e.js} +4 -4
- package/dist/assets/{Viewer-YBzeS3RA.js → Viewer-BsGL5Dfa.js} +1 -1
- package/dist/assets/_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-C7iEnSHU.js +1 -0
- package/dist/assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-CEHpkaJP.js +1 -0
- package/dist/assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.js-DdJYWyu3.js +1 -0
- package/dist/assets/{_virtual_mf___mfe_internal__admin_ui_host__loadShare__react_mf_2_dom__loadShare__.js-BsvPG3BX.js → _virtual_mf___mfe_internal__admin_ui_host__loadShare__react_mf_2_dom__loadShare__.js-DPkvGqVU.js} +1 -1
- package/dist/assets/{_virtual_mf___mfe_internal__admin_ui_host__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-DtoGixA1.js → _virtual_mf___mfe_internal__admin_ui_host__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-Cb2QlpvS.js} +1 -1
- package/dist/assets/{_virtual_mf___mfe_internal__admin_ui_host__loadShare__react_mf_2_konva__loadShare__.js-PmiLsYEK.js → _virtual_mf___mfe_internal__admin_ui_host__loadShare__react_mf_2_konva__loadShare__.js-Cyj0Xie_.js} +4 -4
- package/dist/assets/{addon-icons-context-D6glxUQF.js → addon-icons-context--6Hi3qRW.js} +1 -1
- package/dist/assets/{archive-kvflMCgL.js → archive-DtcjevJM.js} +1 -1
- package/dist/assets/{authed-media-CSlndmzS.js → authed-media-LCmlAEZ5.js} +1 -1
- package/dist/assets/{bell-off-BYnwGeiH.js → bell-off-eQBpwamg.js} +1 -1
- package/dist/assets/board-model-wzCmdEKJ.js +1 -0
- package/dist/assets/{boxes-Dx4USyB3.js → boxes-DikDfAoo.js} +1 -1
- package/dist/assets/circle-slash-YVgGJTpJ.js +1 -0
- package/dist/assets/client-DYbvGOid.js +358 -0
- package/dist/assets/{cloud-upload-82x5w5u8.js → cloud-upload-DI9XunFf.js} +1 -1
- package/dist/assets/crop-CxZbpOyK.js +1 -0
- package/dist/assets/{device-integration-icon-bTnWrYe0.js → device-integration-icon-D2lWVDM2.js} +1 -1
- package/dist/assets/device-picker-model-C4w1vbly.js +1 -0
- package/dist/assets/dist-CPO0KWoy.js +358 -0
- package/dist/assets/dist-ChQzskeX.js +1 -0
- package/dist/assets/{eraser-B8Awx5Sj.js → eraser-Dl5ROV0l.js} +1 -1
- package/dist/assets/{file-up-LqDVgVVa.js → file-up-WS3s_T9x.js} +1 -1
- package/dist/assets/{hard-drive-download-C24D80x2.js → hard-drive-download-B1ard6ym.js} +1 -1
- package/dist/assets/{history-DZsORyBG.js → history-BMhP0SFG.js} +1 -1
- package/dist/assets/{hostInit-D2EmEDvv.js → hostInit-FCvre9AW.js} +1 -1
- package/dist/assets/i18n-Vb3uBp7P.js +1 -0
- package/dist/assets/{icons-D5RaCH1q.js → icons-DocdgFuy.js} +1 -1
- package/dist/assets/index-DKqvG7BE.css +2 -0
- package/dist/assets/index-DvOECbab.js +4 -0
- package/dist/assets/{key-DLwSBrPM.js → key-B1M6i1mf.js} +1 -1
- package/dist/assets/{key-round-CYflkUyd.js → key-round-yCDTbIQb.js} +1 -1
- package/dist/assets/{layers-C1wzFfr1.js → layers-c960YTPf.js} +1 -1
- package/dist/assets/linked-devices-model-CB7qgVjI.js +1 -0
- package/dist/assets/{list-ordered-CFeS9o_w.js → list-ordered-C7hEwAd1.js} +1 -1
- package/dist/assets/location-owned-usage-D28vwYJT.js +1 -0
- package/dist/assets/{log-in-Be_RcxDr.js → log-in-DFfxcqYz.js} +1 -1
- package/dist/assets/{memory-stick-4BwYEagi.js → memory-stick-BBfIGrWx.js} +1 -1
- package/dist/assets/{message-square-plus-D7BNG3h7.js → message-square-plus-D8ZUT6rz.js} +1 -1
- package/dist/assets/{mf-entry-bootstrap-0-9df0d08c.js → mf-entry-bootstrap-0-3035e647.js} +2 -2
- package/dist/assets/{mic-off-e162Bcfu.js → mic-off-w2mFOBi3.js} +1 -1
- package/dist/assets/{monitor-off-CARYfHC4.js → monitor-off-DPi_gm_c.js} +1 -1
- package/dist/assets/{monitor-smartphone-lsNgnRRZ.js → monitor-smartphone-9Ife1Trw.js} +1 -1
- package/dist/assets/mount-C4w1vbly.js +1 -0
- package/dist/assets/notification-schedule-field-BuLfSYLZ.js +1 -0
- package/dist/assets/{octagon-alert-h80nyWRM.js → octagon-alert-C-jH7VH_.js} +1 -1
- package/dist/assets/player-overlays-D0U2dNvn.js +1 -0
- package/dist/assets/{recycle-0MLWppmT.js → recycle-Bbki65G2.js} +1 -1
- package/dist/assets/remoteEntry-DYVoozgD.js +1 -0
- package/dist/assets/{scan-eye-DVK8MF3K.js → scan-eye-AfIM_Dlr.js} +1 -1
- package/dist/assets/{scissors-Cz3GoeOd.js → scissors-CnL6g0BO.js} +1 -1
- package/dist/assets/{search-x-i_A-Upbe.js → search-x-eqJd3G8u.js} +1 -1
- package/dist/assets/{send-B5VKcNUH.js → send-B72RQ9UL.js} +1 -1
- package/dist/assets/{settings-2-ZQsYJ0Zb.js → settings-2-CXZ6DVRg.js} +1 -1
- package/dist/assets/{speaker-Cl8DZGk_.js → speaker-CcCWWecW.js} +1 -1
- package/dist/assets/src-CGxdJN_f.js +67 -0
- package/dist/assets/{timer-reset-A5ofAkBW.js → timer-reset-B9Lihcw9.js} +1 -1
- package/dist/assets/{ungroup-t0yDnzVf.js → ungroup-D753owNE.js} +1 -1
- package/dist/assets/{unlink-C1ZpCxl3.js → unlink-DzoLNfsq.js} +1 -1
- package/dist/assets/{usb-DmUPajSy.js → usb-CuSU-_EY.js} +1 -1
- package/dist/assets/{use-scenes-feed-BQlYhRMq.js → use-scenes-feed-CZjJNxfD.js} +1 -1
- package/dist/assets/{use-stationary-objects-BWM4vE0E.js → use-stationary-objects-BoGqWyLV.js} +1 -1
- package/dist/assets/useEventInvalidation-C4w1vbly.js +1 -0
- package/dist/assets/useNodeUrlSelection-BA6CgjTU.js +1 -0
- package/dist/assets/useTranslation-D3Is_4B6.js +1 -0
- package/dist/assets/user-round-CMg3Ndlt.js +1 -0
- package/dist/assets/{user-x-DRcPeM9C.js → user-x-PK8sSsso.js} +1 -1
- package/dist/assets/{video-tLHyNE3q.js → video-BBtESt54.js} +1 -1
- package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-DOOXjnRq.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-BKfTL-9e.js} +2 -2
- package/dist/index.html +12 -12
- package/dist/server/addon.js +174 -5
- package/package.json +1 -1
- package/dist/assets/Addons-2xWF73cR.js +0 -4
- package/dist/assets/AdminSectionedPage-C3VHg80L.js +0 -1
- package/dist/assets/AiProfiles-DmHcVlS2.js +0 -3
- package/dist/assets/BrokerForm-Dqhjsi3Y.js +0 -1
- package/dist/assets/Build-CBYP1fT5.js +0 -40
- package/dist/assets/Calendars-C926x7b_.js +0 -1
- package/dist/assets/Cluster-OZlA14uV.js +0 -1
- package/dist/assets/ClusterStepModel-DHbwIGAW.js +0 -1
- package/dist/assets/CompositionEditor-vP3JcV2R.js +0 -1
- package/dist/assets/Data-7BoejvKA.js +0 -1
- package/dist/assets/DeviceDetail-ByM0856T.js +0 -2
- package/dist/assets/DeviceDoActionFields-BDJsvRNX.js +0 -1
- package/dist/assets/Devices-PIrWjfhq.js +0 -1
- package/dist/assets/Identity-C-tztwfa.js +0 -1
- package/dist/assets/IntegrationDetail-DugB7cv6.js +0 -1
- package/dist/assets/IntegrationHub-BePMbmC5.js +0 -1
- package/dist/assets/Integrations-Dj3nT9ZT.js +0 -1
- package/dist/assets/Integrations-OH5z-t03.js +0 -1
- package/dist/assets/Library-DDNti2te.js +0 -1
- package/dist/assets/Locations-OL9_NoSi.js +0 -3
- package/dist/assets/MaskShapeCanvas-Dcpby34M.js +0 -1
- package/dist/assets/MotionZonesSettings-CfTOerul.js +0 -1
- package/dist/assets/MyAccess-iJP3JQIS.js +0 -2
- package/dist/assets/Network-DYssxNiN.js +0 -1
- package/dist/assets/NodeAddonsSettingsPanel-mmtEgDbu.js +0 -1
- package/dist/assets/Notifications-DEcxFWp3.js +0 -1
- package/dist/assets/PrivacyMaskSettings-CJUKFEIs.js +0 -1
- package/dist/assets/Recordings-lygSYEJj.js +0 -1
- package/dist/assets/ScanNetworkModal-C2oJlLfj.js +0 -1
- package/dist/assets/SceneMonitorEditor-D1S-D2V9.js +0 -1
- package/dist/assets/SessionsList-CIN4GdSm.js +0 -2
- package/dist/assets/System-ChWpOOqN.js +0 -1
- package/dist/assets/_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-CE2IIKhe.js +0 -1
- package/dist/assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-DhP-Lgiq.js +0 -1
- package/dist/assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.js-DX7sYWrs.js +0 -1
- package/dist/assets/board-model-Bmts6hrg.js +0 -1
- package/dist/assets/circle-slash-D5mo-8G0.js +0 -1
- package/dist/assets/client-CMlUvfoK.js +0 -358
- package/dist/assets/crop-Dev61hIh.js +0 -1
- package/dist/assets/device-picker-model-DlnG_8P7.js +0 -1
- package/dist/assets/dist--5X8Gy0U.js +0 -1
- package/dist/assets/dist-Dod19ois.js +0 -358
- package/dist/assets/i18n-vggiB6gm.js +0 -1
- package/dist/assets/index-BgQGn3LX.js +0 -4
- package/dist/assets/index-BndCgmxf.css +0 -2
- package/dist/assets/linked-devices-model-CCTQ_gka.js +0 -1
- package/dist/assets/location-owned-usage-DSLiI6RY.js +0 -1
- package/dist/assets/mount-DlnG_8P7.js +0 -1
- package/dist/assets/notification-schedule-field-DWpT_5Vh.js +0 -1
- package/dist/assets/player-overlays-Cda8wso6.js +0 -1
- package/dist/assets/remoteEntry-V_83-NrI.js +0 -1
- package/dist/assets/src-eoSUZcV-.js +0 -67
- package/dist/assets/useEventInvalidation-DlnG_8P7.js +0 -1
- package/dist/assets/useNodeUrlSelection-CTxv9Em7.js +0 -1
- package/dist/assets/useTranslation-Bc5yH9V9.js +0 -1
- package/dist/assets/user-round-BTaID248.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$ as e,B as t,G as n,J as r,L as i,S as a,o,x as s}from"./_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-CEHpkaJP.js";import{D as c,It as l,Lr as u,On as d,Pn as f,Tn as p,_i as m,ar as h,dt as g,ot as _,yi as v,yr as y}from"./player-overlays-D0U2dNvn.js";import{t as b}from"./archive-DtcjevJM.js";import{t as x}from"./eraser-Dl5ROV0l.js";import{t as S}from"./hard-drive-download-B1ard6ym.js";import{oi as C}from"./client-DYbvGOid.js";import{An as ee,Bn as w,Dn as te,En as ne,Tn as T,U as re,Uc as ie,Vt as E,Zn as D,jn as ae,kn as O,tl as oe,yr as k}from"./src-CGxdJN_f.js";import{t as A}from"./i18n-Vb3uBp7P.js";import{t as j}from"./useTranslation-D3Is_4B6.js";import{L as se,Y as ce}from"./index-DvOECbab.js";import{t as M}from"./format-size-DIxKXxtj.js";e();function N(e){let t=e.trim().toLowerCase();return t.length===0?``:t.replace(/[^a-z0-9]+/g,`-`).replace(/^-+|-+$/g,``)}function P(e,t){let n=N(t);return`${e}:${n.length>0?n:`default`}`}var F=new Set([`proc`,`sys`,`dev`,`run`,`boot`,`lost+found`,`snap`,`bin`,`sbin`,`lib`,`lib32`,`lib64`,`libx32`,`usr`,`etc`,`var`,`opt`,`tmp`,`srv`,`root`,`System`,`Library`,`Applications`,`cores`,`private`]),I=[`recordings`,`data`,`mnt`,`media`,`Volumes`];function L(e){let t=I.findIndex(t=>t===`recordings`?e.startsWith(t):e===t);return t===-1?I.length:t}function le(e){return e.filter(e=>!e.name.startsWith(`.`)&&!F.has(e.name)).toSorted((e,t)=>{let n=L(e.name)-L(t.name);return n===0?e.name.localeCompare(t.name):n}).map(e=>e.path)}function ue({nodeId:e,value:n,onChange:o}){let{t:c}=j(),l=_().trpcClient,[u,d]=r([]),[f,p]=r(n),[m,h]=r(null),[g,v]=r(null),[y,b]=r(``),x=i(async(t,n)=>{v(null);try{let r=await l.filesystemBrowse.browse.query({nodeId:e,path:t});h(r),p(r.path),n&&o(r.path)}catch(e){v(e instanceof Error?e.message:`browse failed`)}},[l,e,o]);t(()=>{p(n),(async()=>{let t=await l.filesystemBrowse.browse.query({nodeId:e,path:`/`}).then(e=>e).catch(()=>null);if(t){d(le(t.entries)),await x(n.startsWith(`/`)?n:`/`,!1);return}try{let t=await l.filesystemBrowse.listAllowedRoots.query({nodeId:e});d(t),await x(n&&t.some(e=>n.startsWith(e))?n:t[0]??``,!1)}catch(e){d([]),h(null),v(e instanceof Error&&/not available on node/i.test(e.message)?`This node can't be browsed remotely. Enter the path manually.`:e instanceof Error?e.message:`browse unavailable`)}})()},[e]);let S=async()=>{if(!(!y.trim()||!m)){v(null);try{let t=`${m.path.replace(/\/+$/,``)}/${y.trim()}`;await l.filesystemBrowse.createDir.mutate({nodeId:e,path:t}),b(``),await x(m.path,!0)}catch(e){v(e instanceof Error?e.message:`create failed`)}}},C=e=>`${(e/1e9).toFixed(1)} GB`;return a(`div`,{className:`space-y-2 rounded border border-border p-2`,children:[s(`div`,{className:`flex flex-wrap gap-1`,children:u.map(e=>s(`button`,{onClick:()=>void x(e,!0),className:`rounded border border-border px-2 py-0.5 text-[10px] font-mono hover:border-primary/40`,children:e},e))}),s(`input`,{value:f,onChange:e=>{p(e.target.value),o(e.target.value)},placeholder:`/absolute/path`,className:`w-full rounded border border-border bg-background px-2 py-1 text-[11px] font-mono`}),m&&s(`div`,{className:`text-[10px] text-foreground-subtle`,children:c(`storage.pathBrowser.free`,{free:C(m.freeBytes),total:C(m.totalBytes)})}),s(`div`,{className:`max-h-40 space-y-0.5 overflow-y-auto`,children:m?.entries.map(e=>a(`button`,{onClick:()=>void x(e.path,!0),className:`block w-full truncate rounded px-2 py-1 text-left text-xs hover:bg-primary/5`,children:[`📁 `,e.name]},e.path))}),a(`div`,{className:`flex gap-1`,children:[s(`input`,{value:y,onChange:e=>b(e.target.value),placeholder:c(`storage.pathBrowser.newFolder`,`new folder`),className:`flex-1 rounded border border-border bg-background px-2 py-1 text-xs`}),s(`button`,{onClick:()=>void S(),className:`rounded border border-border px-2 py-1 text-xs hover:border-primary/40`,children:c(`storage.pathBrowser.create`,`Create`)})]}),g&&s(`div`,{className:`text-[10px] text-red-400`,children:g})]})}e();function R({initialType:e,onClose:t,onCreated:i}){let{t:c}=j(),l=o(),u=_().trpcClient,[d,f]=r(`picker`),[p,g]=r(e),[v,y]=r(null),[b,x]=r({}),[S,C]=r(``),[w,E]=r(null),[D,O]=r(!1),[k,A]=r(`hub`),[M,N]=r(null),[F,I]=r(!1),L=e=>x(t=>({...t,basePath:e})),le=typeof b.basePath==`string`?b.basePath:``,R=ie(),z=n(()=>{let e=R.data;return Array.isArray(e)?e:[]},[R.data]),B=R.isLoading,V=oe({onSuccess:()=>{l.invalidateQueries({queryKey:[[`storage`,`listLocations`]]}),i()}}),H=n(()=>w!==null&&w.length>0?w:P(p,S),[p,S,w]),de=async()=>{if(v){I(!0),N(null);try{N(await(e=>u.storage.testConfig.query(e))({providerId:v.providerId,config:b}))}catch(e){N({ok:!1,error:e instanceof Error?e.message:String(e)})}finally{I(!1)}}};return s(T,{open:!0,onOpenChange:e=>!e&&t(),children:a(te,{width:`md`,placement:`sheet-on-mobile`,scroll:`body`,children:[a(ee,{children:[s(ae,{children:{picker:`Add Location — Pick provider`,config:`Add Location — ${v?.displayName??``}`,naming:`Add Location — Name`}[d]}),a(`p`,{className:`text-xs text-foreground-subtle`,children:[c(`storage.addLocationWizard.type`,`Type:`),` `,s(`span`,{className:`font-mono`,children:p})]})]}),a(ne,{children:[d===`picker`&&a(`div`,{className:`space-y-2`,children:[B&&s(`div`,{className:`text-xs text-foreground-subtle animate-pulse`,children:c(`storage.addLocationWizard.loadingProviders`,`Loading providers…`)}),!B&&z.length===0&&s(`div`,{className:`rounded border border-border bg-background px-3 py-4 text-center text-xs text-foreground-subtle`,children:s(ce,{i18nKey:`storage.addLocationWizard.noProvider`,values:{type:p},components:{code:s(`code`,{className:`font-mono`})}})}),z.map(e=>a(`button`,{onClick:()=>{y(e),f(`config`)},className:`flex w-full items-center gap-3 rounded-lg border border-border bg-background p-3 text-left hover:border-primary/40 hover:bg-primary/5 transition-colors`,children:[a(`div`,{className:`flex-1 min-w-0`,children:[s(`p`,{className:`text-xs font-semibold text-foreground`,children:e.displayName}),s(`p`,{className:`text-[10px] text-foreground-subtle font-mono mt-0.5 truncate`,children:e.providerId})]}),s(m,{className:`h-4 w-4 text-foreground-subtle flex-shrink-0`})]},e.providerId))]}),d===`config`&&v&&a(`div`,{className:`space-y-3`,children:[s(se,{schema:v.configSchema,values:b,onChange:x}),v.nodeLocal&&a(`div`,{className:`space-y-2`,children:[s(`label`,{className:`text-[10px] uppercase tracking-wide text-foreground-subtle`,children:c(`storage.addLocationWizard.node`,`Node`)}),s(re,{selectedNodeId:k,onSelect:A,alwaysShow:!0}),s(`label`,{className:`text-[10px] uppercase tracking-wide text-foreground-subtle`,children:c(`storage.addLocationWizard.path`,`Path`)}),s(ue,{nodeId:k,value:le,onChange:L})]}),M&&s(`div`,{className:`rounded border px-3 py-2 text-[11px] ${M.ok?`border-success/30 bg-success/5 text-success`:`border-danger/30 bg-danger/5 text-danger`}`,children:M.ok?c(`storage.addLocationWizard.connectionOk`,`Connection OK.`):c(`storage.addLocationWizard.testFailed`,`Test failed: {{value1}}`,{value1:M.error??`unknown error`})}),a(`div`,{className:`flex items-center justify-between pt-1`,children:[s(`button`,{onClick:()=>f(`picker`),className:`rounded px-3 py-1.5 text-xs text-foreground-subtle border border-border hover:text-foreground`,children:c(`common.back`,`Back`)}),a(`div`,{className:`flex items-center gap-2`,children:[s(`button`,{onClick:()=>{de()},disabled:F,className:`rounded border border-border px-3 py-1.5 text-xs text-foreground hover:bg-primary/10 disabled:opacity-50`,children:F?c(`storage.addLocationWizard.testing`,`Testing…`):c(`storage.addLocationWizard.testConnection`,`Test connection`)}),s(`button`,{onClick:()=>f(`naming`),className:`rounded bg-primary px-3 py-1.5 text-xs font-medium text-primary-foreground hover:bg-primary/90`,children:c(`common.next`,`Next`)})]})]})]}),d===`naming`&&v&&a(`div`,{className:`space-y-3`,children:[a(`div`,{className:`space-y-1`,children:[s(`label`,{className:`text-[10px] uppercase tracking-wide text-foreground-subtle`,children:c(`storage.addLocationWizard.displayName`,`Display name`)}),s(`input`,{type:`text`,value:S,onChange:e=>C(e.target.value),placeholder:c(`storage.addLocationWizard.on`,`{{type}} on {{displayName}}`,{type:p,displayName:v.displayName}),className:`w-full rounded border border-border bg-background px-2 py-1.5 text-xs text-foreground focus:outline-none focus:ring-1 focus:ring-primary`})]}),a(`div`,{className:`space-y-1`,children:[a(`label`,{className:`text-[10px] uppercase tracking-wide text-foreground-subtle`,children:[c(`storage.addLocationWizard.idLabel`),` `,s(`span`,{className:`lowercase tracking-normal text-foreground-subtle`,children:c(`storage.addLocationWizard.autoDerivedOverrideIfNeeded`,`— auto-derived; override if needed`)})]}),s(`input`,{type:`text`,value:H,onChange:e=>E(e.target.value),placeholder:P(p,S),className:`w-full rounded border border-border bg-background px-2 py-1.5 text-xs text-foreground font-mono focus:outline-none focus:ring-1 focus:ring-primary`}),a(`p`,{className:`text-[10px] text-foreground-subtle`,children:[c(`storage.addLocationWizard.format`,`Format:`),` `,s(`code`,{className:`font-mono`,children:c(`storage.addLocationWizard.typeSlug`,`<type>:<slug>`)}),`. Lowercase letters, digits, and hyphens only.`]})]}),a(`label`,{className:`flex items-start gap-2 rounded border border-border bg-background px-3 py-2 cursor-pointer hover:bg-primary/5`,children:[s(`input`,{type:`checkbox`,checked:D,onChange:e=>O(e.target.checked),className:`accent-primary mt-0.5`}),a(`div`,{className:`space-y-0.5`,children:[s(`div`,{className:`text-xs font-medium text-foreground`,children:c(`storage.addLocationWizard.enableImmediately`,`Enable immediately`)}),s(`div`,{className:`text-[10px] text-foreground-subtle`,children:c(`storage.addLocationWizard.aDisabledLocationReceivesNo`,`A disabled location receives no writes until enabled — reads and age-based retention still work, nothing new lands here. Leave this off to register the disk now and start using it later.`)})]})]}),V.isError&&s(`div`,{className:`rounded border border-danger/30 bg-danger/5 text-danger px-3 py-2 text-[11px]`,children:V.error instanceof Error?V.error.message:String(V.error)}),a(`div`,{className:`flex items-center justify-between pt-1`,children:[s(`button`,{onClick:()=>f(`config`),className:`rounded px-3 py-1.5 text-xs text-foreground-subtle border border-border hover:text-foreground`,children:c(`common.back`,`Back`)}),a(`div`,{className:`flex items-center gap-2`,children:[s(`button`,{onClick:()=>{g(e),y(null),x({}),C(``),E(null),O(!1),N(null),f(`picker`)},className:`rounded px-3 py-1.5 text-xs text-foreground-subtle border border-border hover:text-foreground`,children:c(`common.reset`,`Reset`)}),a(`button`,{onClick:()=>{v&&V.mutate({id:H,type:p,displayName:S.trim(),providerId:v.providerId,config:b,enabled:D,nodeId:v.nodeLocal?k:void 0})},disabled:V.isPending||S.trim().length===0,className:`inline-flex items-center gap-1.5 rounded bg-primary px-3 py-1.5 text-xs font-medium text-primary-foreground hover:bg-primary/90 disabled:opacity-50`,children:[V.isPending?s(h,{className:`h-3.5 w-3.5 animate-spin`}):null,V.isPending?c(`storage.addLocationWizard.saving`,`Saving…`):c(`common.save`,`Save`)]})]})]})]})]})]})})}function z(e){return C(e)}function B(e){return e===`active`}var V=[{mode:`active`,get label(){return A.t(`helpers.locationMode.activeLabel`)},get consequence(){return A.t(`helpers.locationMode.activeConsequence`)},requiresConfirmation:!1},{mode:`readonly`,get label(){return A.t(`helpers.locationMode.readonlyLabel`)},get consequence(){return A.t(`helpers.locationMode.readonlyConsequence`)},requiresConfirmation:!1},{mode:`drain`,get label(){return A.t(`helpers.locationMode.drainLabel`)},get consequence(){return A.t(`helpers.locationMode.drainConsequence`)},requiresConfirmation:!1},{mode:`disabled`,get label(){return A.t(`helpers.locationMode.disabledLabel`)},get consequence(){return A.t(`helpers.locationMode.disabledConsequence`)},requiresConfirmation:!0}];function H(e){return V.find(t=>t.mode===e)??V[0]}function de(e){return H(e).requiresConfirmation}var fe=`Blocked: this is the last location of its type still accepting writes — new data would have nowhere to go.`;function U(e,t,n){return B(n)||!B(z(e))||t.some(t=>t.id!==e.id&&B(z(t)))?{blocked:!1,reason:``}:{blocked:!0,reason:fe}}function pe(e,t){return{active:U(e,t,`active`).reason,readonly:U(e,t,`readonly`).reason,drain:U(e,t,`drain`).reason,disabled:U(e,t,`disabled`).reason}}function me(e,t,n){return!(n===`single`||t.length<=1||B(z(e))&&t.filter(e=>B(z(e))).length<=1)}function W(e){return e===`active`?{enabled:!0,readOnly:!1}:e===`readonly`?{enabled:!1,readOnly:!1}:{enabled:!1,readOnly:!0}}function he(e,t){let n={...t.config??e.config};t.mode!==void 0&&(W(t.mode).readOnly?n.readOnly=!0:delete n.readOnly);let r={id:e.id,type:e.type,displayName:t.displayName??e.displayName,providerId:e.providerId,config:n,isSystem:e.isSystem},i=t.nodeId??e.nodeId,a=i===void 0?r:{...r,nodeId:i};return t.mode===void 0?e.enabled===void 0?a:{...a,enabled:e.enabled}:{...a,mode:t.mode,enabled:W(t.mode).enabled}}var ge=1024**3;function G(e){return typeof e==`number`&&Number.isFinite(e)?e:null}function _e(e){let t=G(e.minFreeGb);if(t!==null)return{unit:`gb`,value:t};let n=G(e.minFreePercent);return n===null?{unit:`percent`,value:null}:{unit:`percent`,value:n}}function ve(e,t){return G(e[t===`gb`?`minFreeGb`:`minFreePercent`])}function ye(e,t){let n={...e};return delete n.minFreePercent,delete n.minFreeGb,t.value===null?n:t.unit===`gb`?{...n,minFreeGb:t.value}:{...n,minFreePercent:t.value}}function be(e,t){let n=e.trim();if(n===``)return null;let r=Number(n);return Number.isFinite(r)?t===`percent`?Math.min(100,Math.max(0,r)):Math.max(0,r):null}function xe(e,t,n=10){if(e.unit===`gb`&&e.value!==null)return e.value*ge;let r=e.value??n;return t===null||t<=0?null:t*Math.min(100,Math.max(0,r))/100}function Se(e){return e===`gb`?A.t(`helpers.locationProtection.unitGb`):A.t(`helpers.locationProtection.unitPercent`)}function Ce(e,t=10){let n=e.value===null?A.t(`helpers.locationProtection.targetDefault`,{percent:String(t)}):e.unit===`gb`?A.t(`helpers.locationProtection.targetGb`,{value:String(e.value)}):A.t(`helpers.locationProtection.targetPercent`,{value:String(e.value)});return A.t(`helpers.locationProtection.helpText`,{target:n,percent:String(t)})}function we(e){return G(e.maxUsedGb)}function Te(e,t){let n=G(e.maxUsedGb);return n===null||n<0?null:{bytes:n*ge,reason:t===`drain`?`drain`:`legacy`}}e();function Ee({config:e,defaultPercent:t=10,onChange:n}){let{t:i}=j(),[o,c]=r(()=>_e(e).unit),l=ve(e,o),u={unit:o,value:l},d=we(e),f=t=>{c(t),n(ye(e,{unit:t,value:null}))},p=t=>{n(ye(e,{unit:o,value:be(t,o)}))};return a(`div`,{className:`space-y-1`,children:[s(`label`,{className:`text-[10px] uppercase tracking-wide text-foreground-subtle`,children:i(`storage.protectionPolicyField.protectedFreeSpace`,`Protected free space`)}),a(`div`,{className:`flex items-center gap-2`,children:[a(`select`,{"aria-label":i(`storage.protectionPolicyField.protectionUnit`,`Protection unit`),value:o,onChange:e=>{f(e.target.value===`gb`?`gb`:`percent`)},className:`rounded border border-border bg-background px-2 py-1.5 text-xs text-foreground focus:outline-none focus:ring-1 focus:ring-primary`,children:[s(`option`,{value:`percent`,children:i(`storage.protectionPolicyField.ofTheVolume`,`% of the volume`)}),s(`option`,{value:`gb`,children:i(`storage.protectionPolicyField.gbOfFreeSpace`,`GB of free space`)})]}),s(`input`,{type:`number`,"aria-label":Se(o),min:0,max:o===`percent`?100:void 0,value:l===null?``:l,placeholder:o===`percent`?String(t):i(`common.defaultWord`),onChange:e=>{p(e.target.value)},className:`w-full rounded border border-border bg-background px-2 py-1.5 text-xs text-foreground focus:outline-none focus:ring-1 focus:ring-primary`})]}),s(`p`,{className:`text-[10px] text-foreground-subtle`,children:Ce(u,t)}),d!==null&&s(`p`,{className:`text-[10px] text-foreground-subtle italic`,children:i(`storage.protectionPolicyField.legacyMax`,{gb:d})})]})}e();function De({location:e,onClose:t,onSaved:i}){let{t:c}=j(),l=o(),u=_().trpcClient,[d,f]=r({...e.config}),[p,m]=r(e.displayName),[g,v]=r(null),[y,b]=r(!1),x=ie(),S=n(()=>{let t=x.data;return Array.isArray(t)?t.find(t=>t.providerId===e.providerId)??null:null},[x.data,e.providerId]),C=oe({onSuccess:()=>{l.invalidateQueries({queryKey:[[`storage`,`listLocations`]]}),i()}}),E=S?.shouldSaveDiskSpace===!0,D=S?.nodeLocal===!0,[k,A]=r(typeof e.nodeId==`string`?e.nodeId:`hub`),M=typeof d.basePath==`string`?d.basePath:``,N=e=>f(t=>({...t,basePath:e})),P=S?.minFreePercent??10,F=async()=>{b(!0),v(null);try{v(await(e=>u.storage.testConfig.query(e))({providerId:e.providerId,locationId:e.id,config:d}))}catch(e){v({ok:!1,error:e instanceof Error?e.message:String(e)})}finally{b(!1)}};return s(T,{open:!0,onOpenChange:e=>!e&&t(),children:a(te,{width:`md`,placement:`sheet-on-mobile`,scroll:`body`,children:[a(ee,{children:[s(ae,{children:c(`storage.editLocationModal.title`,{name:e.displayName})}),a(`p`,{className:`text-xs text-foreground-subtle`,children:[s(`span`,{className:`font-mono`,children:e.id}),` ·`,` `,S?.displayName??e.providerId]})]}),a(ne,{className:`space-y-3`,children:[a(`div`,{className:`space-y-1`,children:[s(`label`,{className:`text-[10px] uppercase tracking-wide text-foreground-subtle`,children:c(`storage.editLocationModal.displayName`,`Display name`)}),s(`input`,{type:`text`,value:p,onChange:e=>m(e.target.value),className:`w-full rounded border border-border bg-background px-2 py-1.5 text-xs text-foreground focus:outline-none focus:ring-1 focus:ring-primary`})]}),S&&s(se,{schema:S.configSchema,values:d,onChange:f}),D&&a(`div`,{className:`space-y-2`,children:[s(`label`,{className:`text-[10px] uppercase tracking-wide text-foreground-subtle`,children:c(`storage.editLocationModal.node`,`Node`)}),s(re,{selectedNodeId:k,onSelect:A,alwaysShow:!0}),s(`label`,{className:`text-[10px] uppercase tracking-wide text-foreground-subtle`,children:c(`storage.editLocationModal.path`,`Path`)}),s(ue,{nodeId:k,value:M,onChange:N})]}),E&&s(Ee,{config:d,defaultPercent:P,onChange:f}),!S&&!x.isLoading&&s(`div`,{className:`rounded border border-amber-500/30 bg-amber-500/10 px-3 py-2 text-[11px] text-amber-700 dark:text-amber-300`,children:s(ce,{i18nKey:`storage.editLocationModal.providerGone`,values:{id:e.providerId},components:{code:s(`code`,{className:`font-mono`})}})}),g&&s(`div`,{className:`rounded border px-3 py-2 text-[11px] ${g.ok?`border-success/30 bg-success/5 text-success`:`border-danger/30 bg-danger/5 text-danger`}`,children:g.ok?c(`storage.editLocationModal.connectionOk`,`Connection OK.`):c(`storage.editLocationModal.testFailed`,`Test failed: {{value1}}`,{value1:g.error??`unknown error`})}),C.isError&&s(`div`,{className:`rounded border border-danger/30 bg-danger/5 text-danger px-3 py-2 text-[11px]`,children:C.error instanceof Error?C.error.message:String(C.error)})]}),a(O,{className:`justify-between`,children:[s(w,{variant:`outline`,size:`sm`,onClick:t,children:c(`common.cancel`,`Cancel`)}),a(`div`,{className:`flex items-center gap-2`,children:[s(w,{variant:`outline`,size:`sm`,onClick:()=>{F()},disabled:y||!S,children:y?c(`storage.editLocationModal.testing`,`Testing…`):c(`storage.editLocationModal.testConnection`,`Test connection`)}),a(w,{size:`sm`,onClick:()=>{C.mutate(he(e,{displayName:p.trim(),config:d,nodeId:D?k:e.nodeId}))},disabled:C.isPending||p.trim().length===0,children:[C.isPending?s(h,{className:`h-3.5 w-3.5 animate-spin`}):null,C.isPending?c(`storage.editLocationModal.saving`,`Saving…`):c(`common.save`,`Save`)]})]})]})]})})}function Oe(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function K(e){return typeof e==`number`&&Number.isFinite(e)?e:null}function ke(e){if(!Oe(e))return null;let t=e.locationId;if(typeof t!=`string`||t.length===0)return null;let n=K(e.startedAtMs),r=K(e.startBytes),i=K(e.bytesRemaining);return n===null||r===null||i===null||typeof e.drained!=`boolean`?null:{locationId:t,startedAtMs:n,startBytes:r,bytesRemaining:i,drained:e.drained,estimatedEmptyAtMs:K(e.estimatedEmptyAtMs)}}function Ae(e){let t=new Map;if(!Array.isArray(e))return t;for(let n of e){let e=ke(n);e!==null&&t.set(e.locationId,e)}return t}function je(e){if(e.startBytes<=0||e.bytesRemaining>e.startBytes)return null;let t=e.startBytes-e.bytesRemaining;return Math.min(1,Math.max(0,t/e.startBytes))}function Me(e,t){return e?t===void 0?{kind:`unreported`}:t.drained||t.bytesRemaining<=0?{kind:`drained`}:{kind:`draining`,bytesRemaining:t.bytesRemaining,drainedFraction:je(t),estimatedEmptyAtMs:t.estimatedEmptyAtMs}:{kind:`idle`}}function Ne(e){return e.mode===`drain`?!0:e.config.readOnly===!0}function Pe(e){return`${(e/1024**3).toFixed(e>=100*1024**3?0:1)} GB`}function Fe(e){return new Date(e).toLocaleString(void 0,{dateStyle:`medium`,timeStyle:`short`})}function Ie({drain:e}){let{t}=j();if(e.kind===`idle`)return null;if(e.kind===`unreported`)return s(`span`,{"data-testid":`drain-unreported`,className:`text-[10px] text-foreground-subtle`,title:t(`storage.drainProgressLine.thisLocationIsDrainingThe`,`This location is draining. The hub has not reported how much is left yet — either the drain has just been set, or this hub predates the drain-progress report.`),children:t(`storage.drainProgressLine.drainingRemainingNotReportedYet`,`Draining · remaining not reported yet`)});if(e.kind===`drained`)return s(`span`,{"data-testid":`drain-done`,className:`text-[10px] text-success`,title:t(`storage.drainProgressLine.everythingThatWasHereHas`,`Everything that was here has been moved. The location is still in drain mode — it receives no new writes until you change that.`),children:t(`storage.drainProgressLine.drainedNothingLeftToMove`,`Drained · nothing left to move`)});let n=e.drainedFraction===null?null:Math.round(e.drainedFraction*100);return a(`span`,{"data-testid":`drain-progress`,className:`flex items-center gap-1.5 text-[10px] text-foreground-subtle tabular-nums`,children:[n!==null&&s(`span`,{"data-testid":`drain-bar`,className:`inline-block h-1 w-10 rounded-full bg-border overflow-hidden`,role:`progressbar`,"aria-label":t(`storage.drainProgressLine.drainProgress`,`Drain progress`),"aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,children:s(`span`,{className:`block h-full bg-warning`,style:{width:`${n}%`}})}),a(`span`,{children:[t(`storage.drainProgressLine.left`,{size:Pe(e.bytesRemaining)}),n!==null&&` · ${t(`storage.drainProgressLine.moved`,{percent:n})}`]}),e.estimatedEmptyAtMs===null?s(`span`,{"data-testid":`drain-eta-absent`,title:t(`storage.drainProgressLine.theDrainIsPacedBy`,`The drain is paced by how fast this class of data is still growing, and that has not been observed yet. There is no date to give.`),children:t(`storage.drainProgressLine.emptyTimeNotKnownYet`,`· empty time not known yet`)}):a(`span`,{"data-testid":`drain-eta`,children:[`·`,` `,t(`storage.drainProgressLine.empty`,{when:Fe(e.estimatedEmptyAtMs)})]})]})}var Le=[`ok`,`warn`,`critical`];function Re(e){return e>=.95?`critical`:e>=.85?`warn`:`ok`}function ze(e){return Math.min(1,Math.max(0,e))}function q(e){let{availableBytes:t,totalBytes:n}=e;if(n===null||n<=0||t===null)return null;let r=ze((n-t)/n);return{fraction:r,severity:Re(r),recordingsFraction:ze(e.usedBytes/n),freeBytes:t,totalBytes:n}}function Be(e){if(e.length===0)return null;let t=0,n=0,r=0,i=0,a=null;for(let o of e){let e=q(o);if(e===null){n+=1;continue}t+=1,r+=e.totalBytes,i+=e.freeBytes,(a===null||Le.indexOf(e.severity)>Le.indexOf(a))&&(a=e.severity)}return{knownVolumes:t,unknownVolumes:n,totalBytes:r,freeBytes:i,severity:a}}function J(e){return Math.min(1,Math.max(0,e))}function Y(e){return Math.round(J(e)*1e3)/10}function X(e){return`${String(Math.round(J(e)*100))}%`}function Ve(e,t,n={}){let{totalBytes:r,availableBytes:i}=e;if(r===null||r<=0||i===null){let e=n.ownedBytes===void 0||n.ownedBytes===null||!Number.isFinite(n.ownedBytes)||n.ownedBytes<0?null:M(n.ownedBytes);return{kind:`unknown`,owned:e,summary:e===null?A.t(`helpers.locationCapacityBar.unknownSummary`):A.t(`helpers.locationCapacityBar.unknownSummaryOwned`,{size:e})}}let a=Math.min(Math.max(i,0),r),o=r-a,s=t===null||t<=0?0:t,c=Math.min(s,a),l=s>a,u=a-c,d=n.ownedBytes,f=d==null||!Number.isFinite(d)||d<0?null:Math.min(d,o),p=o-(f??0),m=q({usedBytes:f??o,availableBytes:a,totalBytes:r}),h=m===null?J(o/r):m.fraction,g=m===null?Re(h):m.severity,_=f===null?null:m===null?J(f/r):m.recordingsFraction,v=n.cap??null,y=v===null?null:J((c+v.bytes)/r),b=v!==null&&f!==null&&f>v.bytes,x={total:M(r),freeTotal:M(a),freeTotalPercent:X(a/r),used:M(p),usedPercent:X(p/r),free:M(u),freePercent:X(u/r),reserve:s===0?null:A.t(`helpers.locationCapacityBar.reserveKept`,{size:M(s)}),owned:f===null||_===null?null:A.t(`helpers.locationCapacityBar.ownedOfRecordings`,{size:M(f),percent:X(_)}),cap:v===null?null:v.reason===`drain`?A.t(`helpers.locationCapacityBar.capDrain`,{size:M(v.bytes)}):A.t(`helpers.locationCapacityBar.capCap`,{size:M(v.bytes)})},S=[A.t(`helpers.locationCapacityBar.summaryFree`,{free:x.freeTotal,total:x.total,percent:x.freeTotalPercent}),x.owned===null?null:A.t(`helpers.locationCapacityBar.summaryOwned`,{owned:x.owned}),x.reserve===null?null:l?A.t(`helpers.locationCapacityBar.summaryReserveShort`,{reserve:x.reserve}):x.reserve,x.cap===null?null:b?A.t(`helpers.locationCapacityBar.summaryCapBelow`,{cap:x.cap}):x.cap].filter(e=>e!==null).join(` · `),C=[];return c>0&&C.push({segment:`reserve`,label:A.t(`helpers.locationCapacityBar.legendKeptFree`),value:M(s),alarming:l}),x.owned!==null&&C.push({segment:`owned`,label:A.t(`helpers.locationCapacityBar.legendCamstack`),value:x.owned,alarming:!1}),C.push({segment:`used`,label:f===null?A.t(`helpers.locationCapacityBar.legendUsed`):A.t(`helpers.locationCapacityBar.legendOtherData`),value:`${x.used} (${x.usedPercent})`,alarming:g===`critical`}),C.push({segment:`free`,label:A.t(`helpers.locationCapacityBar.legendFree`),value:`${x.free} (${x.freePercent})`,alarming:l}),v!==null&&C.push({segment:`cap`,label:v.reason===`drain`?A.t(`helpers.locationCapacityBar.legendDrainTarget`):A.t(`helpers.locationCapacityBar.legendCap`),value:A.t(`helpers.locationCapacityBar.legendCapValue`,{size:M(v.bytes)}),alarming:b}),{kind:`known`,severity:g,legend:C,segments:{reservePercent:Y(c/r),ownedPercent:f===null?null:Y(f/r),usedPercent:Y(p/r),freePercent:Y(u/r),capPercent:y===null?null:Y(y)},labels:x,reserveExceedsFree:l,capBelowOwned:b,summary:S}}var He={ok:`bg-primary`,warn:`bg-amber-500`,critical:`bg-danger`},Z={reserve:`bg-danger/40`,owned:`bg-foreground/50`,free:`bg-border`,cap:`bg-foreground`};function Ue(e,t){return e===`used`?He[t]:Z[e]}function We({location:e,ownedBytes:t}){let{t:n}=j(),r=e.capacity??null,i=xe(_e(e.config),r?.totalBytes??null),o=Ve({totalBytes:r?.totalBytes??null,availableBytes:r?.availableBytes??null},i,{ownedBytes:t??null,cap:Te(e.config,z(e))});return o.kind===`unknown`?s(`div`,{className:`text-[10px] text-foreground-subtle italic`,title:o.summary,children:o.owned===null?n(`storage.locationCapacityBar.capacityUnknown`,`Capacity unknown`):n(`storage.locationCapacityBar.capacityUnknownCamstackHolds`,`Capacity unknown · CamStack holds {{owned}}`,{owned:o.owned})}):a(`div`,{className:`mt-1 space-y-1`,title:o.summary,children:[a(`div`,{className:`relative flex h-2 w-full max-w-md overflow-hidden rounded-full bg-border`,children:[o.segments.reservePercent>0&&s(`div`,{className:Z.reserve,style:{width:`${String(o.segments.reservePercent)}%`}}),o.segments.ownedPercent!==null&&s(`div`,{className:Z.owned,style:{width:`${String(o.segments.ownedPercent)}%`}}),s(`div`,{className:He[o.severity],style:{width:`${String(o.segments.usedPercent)}%`}}),s(`div`,{className:Z.free,style:{width:`${String(o.segments.freePercent)}%`}}),o.segments.capPercent!==null&&s(`div`,{className:`absolute inset-y-0 w-px ${o.capBelowOwned?`bg-danger`:Z.cap}`,style:{left:`${String(o.segments.capPercent)}%`}})]}),s(`ul`,{className:`flex flex-wrap items-center gap-x-3 gap-y-0.5`,children:o.legend.map(e=>a(`li`,{className:`flex items-center gap-1`,children:[s(`span`,{"aria-hidden":`true`,className:`inline-block h-2 w-2 shrink-0 rounded-sm ${Ue(e.segment,o.severity)}`}),a(`span`,{className:`text-[10px] tabular-nums ${e.alarming?`text-danger`:`text-foreground-subtle`}`,children:[e.label,` `,e.value]})]},e.segment))})]})}var Ge={eventMedia:[`events`],recordingsLow:[`low`],recordings:[`high`,`mid`]},Ke={eventMedia:`pipeline-analytics`,recordingsLow:`recorder`,recordings:`recorder`},qe=`storage.discardLocation`,Je=`storage.discardLocationStatus`,Ye=`storage.discardLocationCancel`;function Xe(e){return Ge[e]??null}function Ze(e){return Ke[e]??null}function Qe(e){return!B(z(e))}function $e(e,t){return Xe(e.type)===null||!Qe(e)?!1:t.some(t=>t.id!==e.id&&B(z(t)))}var et=new Set([`idle`,`scanning`,`wiping-fs`,`wiping-db`,`cascading`,`complete`,`cancelled`,`error`]);function Q(e){return typeof e==`number`&&Number.isFinite(e)?e:null}function $(e){return typeof e==`string`?e:null}function tt(e){if(typeof e!=`object`||!e)return null;let t=e;if(typeof t.running!=`boolean`)return null;let n=t.phase;if(typeof n!=`string`||!et.has(n))return null;let r=Q(t.camerasTotal),i=Q(t.camerasDone),a=Q(t.foldersRemoved),o=Q(t.dbRowsDeleted),s=Q(t.ownersCascaded);return r===null||i===null||a===null||o===null||s===null?null:{running:t.running,locationId:$(t.locationId),jobId:$(t.jobId),phase:n,camerasTotal:r,camerasDone:i,foldersRemoved:a,dbRowsDeleted:o,ownersCascaded:s,detail:$(t.detail)??``,startedAtMs:Q(t.startedAtMs),finishedAtMs:Q(t.finishedAtMs),error:$(t.error)}}function nt(e){if(e.phase===`complete`)return 100;if(e.phase===`cancelled`||e.phase===`error`||e.phase===`idle`)return e.camerasTotal>0?Math.min(99,Math.round(e.camerasDone/e.camerasTotal*100)):0;if(e.camerasTotal>0){let t=e.camerasDone/e.camerasTotal*85;return e.phase===`wiping-db`?Math.min(95,Math.round(t+8)):e.phase===`cascading`?Math.min(99,Math.round(t+12)):Math.min(85,Math.round(t))}return e.phase===`scanning`?2:5}e();var rt=2e3;function it({location:e,siblings:t}){return $e(e,t)?s(at,{location:e}):null}function at({location:e}){let{t:n}=j(),i=D(),o=k(),c=Ze(e.type),[l,u]=r(null),[d,f]=r(null),[p,m]=r(!1);if(t(()=>{if(c===null)return;let e=!1,t=async()=>{try{let t=await o.mutateAsync({addonId:c,action:Je,input:{}});if(e)return;u(tt(t))}catch{}};t();let n=setInterval(()=>void t(),rt);return()=>{e=!0,clearInterval(n)}},[c,e.id]),c===null)return null;let _=l!==null&&l.locationId===e.id,v=_&&l.running,y=_&&l.phase!==`idle`,b=async()=>{if(await i({title:n(`storage.locationDiscardControl.discardLeftoversOn`,`Discard leftovers on "{{displayName}}"?`,{displayName:e.displayName}),message:n(`storage.locationDiscardControl.permanentlyDeletesLeftoverFilesAnd`,`Permanently deletes leftover files and records on this location. Other locations are not affected. This cannot be undone and may take hours.`),confirmLabel:n(`storage.locationDiscardControl.discardLeftovers`,`Discard leftovers`),variant:`danger`})){f(null),m(!0);try{await o.mutateAsync({addonId:c,action:qe,input:{locationId:e.id}}),u(tt(await o.mutateAsync({addonId:c,action:Je,input:{}})))}catch(e){f(e instanceof Error?e.message:String(e))}finally{m(!1)}}},S=async()=>{try{await o.mutateAsync({addonId:c,action:Ye,input:{}})}catch(e){f(e instanceof Error?e.message:String(e))}};return a(`div`,{className:`flex flex-col gap-1 min-w-[9rem] max-w-[16rem]`,children:[v?a(`button`,{type:`button`,onClick:()=>void S(),className:`inline-flex items-center gap-1 rounded px-2 py-1 text-[10px] font-medium text-danger border border-danger/40 hover:bg-danger/10`,children:[s(g,{className:`h-3 w-3`}),n(`common.cancel`,`Cancel`)]}):a(`button`,{type:`button`,onClick:()=>void b(),disabled:p,title:n(`storage.locationDiscardControl.permanentlyDeleteLeftoverFilesOn`,`Permanently delete leftover files on this location. Other locations are not affected.`),className:`inline-flex items-center gap-1 rounded px-2 py-1 text-[10px] font-medium text-danger border border-danger/40 hover:bg-danger/10 disabled:opacity-50`,children:[p?s(h,{className:`h-3 w-3 animate-spin`}):s(x,{className:`h-3 w-3`}),n(`storage.locationDiscardControl.discardLeftovers`,`Discard leftovers`)]}),y&&l!==null&&a(`div`,{className:`space-y-0.5`,children:[s(`div`,{className:`h-1 rounded bg-border overflow-hidden`,children:s(`div`,{className:`h-full bg-primary transition-[width] duration-300`,style:{width:`${nt(l)}%`}})}),a(`p`,{className:`text-[10px] text-foreground-subtle leading-tight`,children:[l.phase,l.camerasTotal>0?` · ${n(`storage.locationDiscardControl.camsProgress`,{done:l.camerasDone,total:l.camerasTotal})}`:``,l.dbRowsDeleted>0?` · ${n(`storage.locationDiscardControl.rowsDeleted`,{count:l.dbRowsDeleted})}`:``,l.detail?` · ${l.detail}`:``]})]}),(d||_&&l?.error)&&s(`p`,{className:`text-[10px] text-danger leading-tight`,children:d??l?.error})]})}e();var ot={active:p,readonly:b,drain:S,disabled:u},st={active:`border-success/30 text-success hover:bg-success/10`,readonly:`border-border text-foreground-subtle hover:text-foreground hover:bg-primary/10`,drain:`border-warning/40 text-warning hover:bg-warning/10`,disabled:`border-danger/40 text-danger hover:bg-danger/10`};function ct({mode:e,open:t,onToggle:n}){let{t:r}=j(),i=H(e),o=ot[e];return a(`button`,{type:`button`,"aria-expanded":t,"aria-label":r(`storage.locationModeSelector.locationState`,`Location state`),onClick:n,title:i.consequence,className:`inline-flex items-center gap-1 rounded px-2 py-1 text-[10px] font-medium border ${st[e]}`,children:[s(o,{className:`h-3 w-3`}),i.label,s(v,{className:`h-3 w-3 ${t?`rotate-180`:``}`})]})}function lt({mode:e,blockedReasons:n,onSelect:r,onDismiss:i}){let{t:o}=j();return t(()=>{let e=e=>{e.key===`Escape`&&i()};return window.addEventListener(`keydown`,e),()=>{window.removeEventListener(`keydown`,e)}},[i]),a(`div`,{className:`w-full basis-full rounded-lg border border-border bg-background p-1`,role:`group`,"aria-label":o(`storage.locationModeSelector.locationStateChoices`,`Location state choices`),children:[a(`div`,{className:`flex items-center justify-between px-2 py-1`,children:[s(`span`,{className:`text-[10px] uppercase tracking-wide text-foreground-subtle`,children:o(`storage.locationModeSelector.locationState`,`Location state`)}),s(`button`,{type:`button`,"aria-label":o(`storage.locationModeSelector.closeLocationStateChoices`,`Close location state choices`),onClick:i,className:`text-foreground-subtle hover:text-foreground`,children:s(g,{className:`h-3 w-3`})})]}),V.map(t=>{let c=n[t.mode],l=c!==``,u=ot[t.mode],d=t.mode===e;return a(`button`,{type:`button`,role:`radio`,"aria-checked":d,"aria-label":t.label,disabled:l,onClick:()=>{l||(i(),d||r(t.mode))},className:`flex w-full flex-col items-start gap-0.5 rounded px-2 py-1.5 text-left ${l?`cursor-not-allowed opacity-60`:d?`bg-primary/10`:`hover:bg-primary/5`}`,children:[a(`span`,{className:`flex items-center gap-1.5 text-[11px] font-medium text-foreground`,children:[s(u,{className:`h-3 w-3`}),t.label,d&&s(`span`,{className:`text-[9px] uppercase text-primary`,children:o(`common.current`)})]}),s(`span`,{className:`text-[10px] leading-snug text-foreground-subtle`,children:t.consequence}),l&&s(`span`,{className:`text-[10px] leading-snug text-warning`,children:c})]},t.mode)})]})}e();function ut(e){let t=e.basePath;if(typeof t==`string`&&t.length>0)return t;let n=Object.keys(e);return n.length===0?``:n.join(`, `)}function dt({location:e,onEdit:t,onDelete:n,onSetMode:i,blockedReasons:o,canDelete:c,siblings:u=[],drain:d,ownedBytes:p}){let{t:m}=j(),[h,g]=r(!1),_=ut(e.config),v=z(e);return a(`div`,{className:`flex flex-wrap items-start gap-x-3 gap-y-2 px-3 py-2 border-t border-border first:border-t-0 hover:bg-primary/5`,children:[a(`div`,{className:`flex items-start gap-2 min-w-0 flex-1 basis-72`,children:[s(`div`,{className:`shrink-0 sm:w-32`,"data-testid":`location-badge-slot`,children:s(`span`,{className:`inline-block text-[10px] uppercase tracking-wide text-foreground-subtle bg-background border border-border rounded px-1.5 py-0.5 font-mono`,children:e.providerId})}),a(`div`,{className:`min-w-0 flex-1`,children:[s(`div`,{className:`text-xs font-medium text-foreground truncate`,children:e.displayName}),_&&s(`div`,{className:`text-[10px] text-foreground-subtle truncate font-mono`,children:_}),s(We,{location:e,ownedBytes:p??null}),d!==void 0&&s(Ie,{drain:d})]})]}),a(`div`,{className:`flex flex-wrap items-center gap-1 shrink-0`,children:[s(it,{location:e,siblings:u}),s(ct,{mode:v,open:h,onToggle:()=>{g(e=>!e)}}),a(`button`,{onClick:()=>t(e),className:`inline-flex items-center gap-1 rounded px-2 py-1 text-[10px] font-medium text-foreground-subtle border border-border hover:text-foreground hover:bg-primary/10`,children:[s(f,{className:`h-3 w-3`}),m(`common.edit`,`Edit`)]}),c&&s(`button`,{onClick:()=>n(e),className:`inline-flex items-center gap-1 rounded px-2 py-1 text-[10px] font-medium text-danger hover:bg-danger/10`,title:m(`storage.locationCard.deleteLocation`,`Delete location`),children:s(l,{className:`h-3 w-3`})})]}),h&&s(lt,{mode:v,blockedReasons:o,onSelect:t=>i(e,t),onDismiss:()=>{g(!1)}})]})}e();function ft({type:e,displayName:t,description:r,cardinality:i,locations:o,onAdd:l,onEdit:u,onDelete:f,onSetMode:p,ownedBytesById:m,drainById:h}){let{t:g}=j(),_=n(()=>{let e=[...o];return e.sort((e,t)=>{let n=B(z(e));return n===B(z(t))?e.displayName.localeCompare(t.displayName):n?-1:1}),e},[o]);return a(E,{headingId:`storage-location-${e}`,title:t,icon:y,testId:`storage-location-group-${e}`,actions:i===`multi`?a(w,{size:`sm`,type:`button`,onClick:()=>l(e),children:[s(d,{className:`h-3 w-3`}),g(`common.add`,`Add`)]}):void 0,children:[a(`div`,{className:`${c} space-y-2`,children:[a(`div`,{className:`space-y-0.5`,children:[s(`span`,{className:`text-[10px] uppercase tracking-wide text-foreground-subtle bg-background border border-border rounded px-1.5 py-0.5 font-mono`,children:e}),r!==void 0&&r!==``&&s(`p`,{className:`text-[11px] leading-relaxed text-foreground-subtle`,children:r}),i===`single`&&s(`p`,{className:`text-[10px] text-foreground-subtle italic`,children:g(`storage.locationGroup.singleOneLocationPerType`,`Single — one location per type. Edit the existing entry; it can't be split.`)})]}),_.length===0&&s(`div`,{className:`py-2 text-center text-[11px] text-foreground-subtle italic`,children:i===`multi`?g(`storage.locationGroup.noLocationRegisteredClickAdd`,`No location registered. Click "Add" to register one.`):g(`storage.locationGroup.noLocationRegisteredYetShould`,`No location registered yet — should be auto-seeded at next boot.`)})]}),_.length>0&&s(`div`,{className:`border-t border-border`,children:_.map(e=>s(dt,{location:e,cardinality:i,canDelete:me(e,_,i),onEdit:u,onDelete:f,onSetMode:p,blockedReasons:pe(e,_),ownedBytes:m?.get(e.id)??null,drain:Me(Ne(e),h?.get(e.id)),siblings:_},e.id))})]})}var pt=[`recordings`,`recordingsLow`];function mt(e){return e.locationIds!==void 0&&e.locationIds.length>0?e.locationIds:e.locationId===null?[]:[e.locationId]}function ht(e,t){if(t===void 0||!pt.includes(e.type))return null;let n=t.find(t=>mt(t).includes(e.id));return n===void 0||!Number.isFinite(n.usedBytes)||n.usedBytes<0?null:n.usedBytes}function gt(e,t){let n=new Map;for(let r of e){let e=ht(r,t);e!==null&&n.set(r.id,e)}return n}export{Ae as a,H as c,Be as i,de as l,ft as n,De as o,q as r,he as s,gt as t,R as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$i as e}from"./player-overlays-
|
|
1
|
+
import{$i as e}from"./player-overlays-D0U2dNvn.js";var t=e(`log-in`,[[`path`,{d:`m10 17 5-5-5-5`,key:`1bsop3`}],[`path`,{d:`M15 12H3`,key:`6jk70r`}],[`path`,{d:`M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4`,key:`u53s6r`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$i as e}from"./player-overlays-
|
|
1
|
+
import{$i as e}from"./player-overlays-D0U2dNvn.js";var t=e(`memory-stick`,[[`path`,{d:`M12 12v-2`,key:`fwoke6`}],[`path`,{d:`M12 18v-2`,key:`qj6yno`}],[`path`,{d:`M16 12v-2`,key:`heuere`}],[`path`,{d:`M16 18v-2`,key:`s1ct0w`}],[`path`,{d:`M2 11h1.5`,key:`15p63e`}],[`path`,{d:`M20 18v-2`,key:`12ehxp`}],[`path`,{d:`M20.5 11H22`,key:`khsy7a`}],[`path`,{d:`M4 18v-2`,key:`1c3oqr`}],[`path`,{d:`M8 12v-2`,key:`1mwtfd`}],[`path`,{d:`M8 18v-2`,key:`qcmpov`}],[`rect`,{x:`2`,y:`6`,width:`20`,height:`10`,rx:`2`,key:`1qcswk`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$i as e}from"./player-overlays-
|
|
1
|
+
import{$i as e}from"./player-overlays-D0U2dNvn.js";var t=e(`message-square-plus`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`M12 8v6`,key:`1ib9pf`}],[`path`,{d:`M9 11h6`,key:`1fldmi`}]]);export{t};
|
|
@@ -12,8 +12,8 @@ const __mfImport = (src) =>
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
(async () => {
|
|
15
|
-
const __mfHostInit = await __mfImport("./hostInit-
|
|
15
|
+
const __mfHostInit = await __mfImport("./hostInit-FCvre9AW.js");
|
|
16
16
|
await __mfHostInit.__tla;
|
|
17
17
|
const { initHost } = __mfHostInit;
|
|
18
18
|
await initHost();
|
|
19
|
-
})().then(() => __mfImport("./index-
|
|
19
|
+
})().then(() => __mfImport("./index-DvOECbab.js"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$i as e}from"./player-overlays-
|
|
1
|
+
import{$i as e}from"./player-overlays-D0U2dNvn.js";var t=e(`hexagon`,[[`path`,{d:`M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z`,key:`yt0hxn`}]]),n=e(`mic-off`,[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M15 9.34V5a3 3 0 0 0-5.68-1.33`,key:`1gzdoj`}],[`path`,{d:`M16.95 16.95A7 7 0 0 1 5 12v-2`,key:`cqa7eg`}],[`path`,{d:`M18.89 13.23A7 7 0 0 0 19 12v-2`,key:`16hl24`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M9 9v3a3 3 0 0 0 5.12 2.12`,key:`r2i35w`}]]);export{t as n,n as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$i as e}from"./player-overlays-
|
|
1
|
+
import{$i as e}from"./player-overlays-D0U2dNvn.js";var t=e(`monitor-off`,[[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M17 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 1.184-1.826`,key:`cv7jms`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}],[`path`,{d:`M8.656 3H20a2 2 0 0 1 2 2v10a2 2 0 0 1-.293 1.042`,key:`z8ni2w`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$i as e}from"./player-overlays-
|
|
1
|
+
import{$i as e}from"./player-overlays-D0U2dNvn.js";var t=e(`monitor-smartphone`,[[`path`,{d:`M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8`,key:`10dyio`}],[`path`,{d:`M10 19v-3.96 3.15`,key:`1irgej`}],[`path`,{d:`M7 19h5`,key:`qswx4l`}],[`rect`,{width:`6`,height:`10`,x:`16`,y:`12`,rx:`2`,key:`1egngj`}]]);export{t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./src-CGxdJN_f.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$ as e,G as t,J as n,S as r,b as i,i as a,x as o}from"./_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-CEHpkaJP.js";import{It as s,On as c,Qi as l,dn as u,dt as d,ot as f}from"./player-overlays-D0U2dNvn.js";import{At as p,Ct as m,Dt as h,Et as g,F as ee,G as te,I as ne,K as re,Ln as ie,M as ae,Mr as oe,N as se,O as ce,Ot as le,P as ue,R as de,Rn as fe,St as pe,Tt as _,ct as v,dt as me,et as he,ft as ge,gt as _e,ht as ve,it as ye,jt as be,kt as xe,lt as y,nt as Se,pt as Ce,rt as b,st as x,tt as we,vt as S,wt as C,yt as Te}from"./client-DYbvGOid.js";import{Ql as w,Xa as Ee,d as De,nr as Oe,ql as T,xc as ke,yc as Ae}from"./src-CGxdJN_f.js";import{t as E}from"./i18n-Vb3uBp7P.js";import{t as D}from"./useTranslation-D3Is_4B6.js";e();function O(e){return t=>Object.prototype.hasOwnProperty.call(e,t)}var je=O({devices:!0}),Me=O({classes:!0,classesExclude:!0,labelEquals:!0,identities:!0,identitiesExclude:!0,eventTypeTokens:!0,sensorKinds:!0}),Ne=O({minConfidence:!0,minImportance:!0,minLabelConfidence:!0}),Pe=O({minDwellSeconds:!0}),Fe=O({source:!0}),Ie=O({crossing:!0}),Le=O({packagePhase:!0}),Re=O({sensorTransition:!0}),ze=O({plates:!0}),Be=O({occupancy:!0}),Ve=O({audio:!0}),He=O({systemEvent:!0}),Ue=O({deviceState:!0}),We=O({scene:!0});function Ge(e,t){let n=e[t];return Array.isArray(n)?n:[]}function Ke(e,t){let n=e[t];return typeof n==`number`?n:void 0}function k(e,n){let r=f().trpcClient,i=a({queries:e.map(e=>({queryKey:[[`nc-pickers`,`zones`],{deviceId:e}],staleTime:3e4,queryFn:async()=>({deviceId:e,zones:(await r.zones.listZones.query({deviceId:e})).map(e=>({id:e.id,name:e.name}))})}))});return t(()=>{let e=[],t=new Set;for(let r of i){if(!r.data)continue;let i=n.find(e=>e.id===r.data.deviceId)?.name;for(let n of r.data.zones)t.has(n.id)||(t.add(n.id),e.push({value:n.id,label:n.name,...i===void 0?{}:{hint:i}}))}return{options:e,loading:i.some(e=>e.isLoading),failed:i.some(e=>e.isError)}},[i,n])}function qe(e){let n=f().trpcClient,r=a({queries:e.map(e=>({queryKey:[[`nc-pickers`,`event-kinds`],{deviceId:e}],staleTime:6e4,queryFn:async()=>(await n.pipelineAnalytics.listEventKinds.query({deviceId:e})).map(e=>({kind:e.kind,label:e.label}))}))});return t(()=>{let e=new Map;for(let t of r)for(let n of t.data??[])e.has(n.kind)||e.set(n.kind,n.label);let t=[...e.entries()].map(([e,t])=>({value:e,label:t}));return t.sort((e,t)=>e.label.localeCompare(t.label)),{options:t,loading:r.some(e=>e.isLoading)}},[r])}function Je(){let e=Ee();return t(()=>({options:(e.data??[]).map(e=>({value:e.id,label:e.name})),loading:e.isLoading,failed:e.isError===!0}),[e.data,e.isLoading,e.isError])}function Ye(){let e=Ae({limit:200}),n=ke();return t(()=>{let t=new Set;for(let e of n.data??[])e.name.trim().length>0&&t.add(e.name);let r=new Set;for(let t of e.data??[])t.text.trim().length>0&&r.add(t.text);return[...[...t].sort(),...[...r].sort()]},[e.data,n.data])}function A({options:e,value:i,onChange:a,loading:s,emptyHint:c,placeholder:l,noFreeText:u=!1}){let{t:d}=D(),[f,p]=n(``),m=t(()=>new Set(e.map(e=>e.value)),[e]),h=t(()=>new Set(i),[i]),g=i.filter(e=>!m.has(e)),ee=e=>{a(h.has(e)?i.filter(t=>t!==e):[...i,e])},te=()=>{let e=f.trim();e.length===0||i.includes(e)||(a([...i,e]),p(``))};return r(`div`,{className:`mt-1 space-y-1.5`,children:[g.length>0&&o(`div`,{className:`flex flex-wrap gap-1`,children:g.map(e=>r(`button`,{type:`button`,onClick:()=>a(i.filter(t=>t!==e)),className:`inline-flex items-center gap-1 rounded border border-border px-1.5 py-0.5 text-[10px] text-foreground hover:bg-surface-hover`,title:d(`system.notificationRulePickers.customValueClickToRemove`,`Custom value — click to remove`),children:[e,` ×`]},e))}),e.length>0?o(`div`,{className:`max-h-40 overflow-y-auto rounded-md border border-border divide-y divide-border`,children:e.map(e=>r(`label`,{className:`flex items-center gap-2.5 px-3 py-1.5 text-xs text-foreground cursor-pointer hover:bg-surface-hover`,children:[o(`input`,{type:`checkbox`,checked:h.has(e.value),onChange:()=>ee(e.value),className:`accent-primary`}),o(`span`,{className:`flex-1 truncate`,children:e.label}),e.hint!==void 0&&o(`span`,{className:`text-[10px] text-foreground-subtle`,children:e.hint})]},e.value))}):o(`p`,{className:`text-[10px] text-foreground-subtle`,children:s===!0?d(`common.loading`,`Loading…`):c}),!u&&o(`input`,{value:f,onChange:e=>p(e.target.value),onKeyDown:e=>{e.key===`Enter`&&(e.preventDefault(),te())},placeholder:l,className:`w-full rounded-md border border-border bg-background px-2 py-1 text-xs text-foreground placeholder:text-foreground-subtle`})]})}var j=[{value:`immediate`,get label(){return E.t(`helpers.ruleFormParsers.immediate`)},get hint(){return E.t(`helpers.ruleFormParsers.immediateHint`)}},{value:`track-end`,get label(){return E.t(`helpers.ruleFormParsers.trackEnd`)},get hint(){return E.t(`helpers.ruleFormParsers.trackEndHint`)}},{value:`device-event`,get label(){return E.t(`helpers.ruleFormParsers.deviceEvent`)},get hint(){return E.t(`helpers.ruleFormParsers.deviceEventHint`)}},{value:`package-event`,get label(){return E.t(`helpers.ruleFormParsers.packageEvent`)},get hint(){return E.t(`helpers.ruleFormParsers.packageEventHint`)}},{value:`system-event`,get label(){return E.t(`helpers.ruleFormParsers.systemEvent`)},get hint(){return E.t(`helpers.ruleFormParsers.systemEventHint`)}}],Xe=`Immediate, grouped`,Ze=j.flatMap(e=>e.value===`immediate`?[e,{value:`immediate-grouped`,get label(){return E.t(`notificationRules.grouping.choice`)},get hint(){return E.t(`helpers.ruleFormParsers.groupedHint`)}}]:[e]);function Qe(e){return e.groupingSec!==void 0&&x(e)?`immediate-grouped`:e.delivery}function $e(e){let t=(e.delivery===`immediate`||e.delivery===`track-end`)&&x({delivery:`immediate`,conditions:e.conditions});return Ze.filter(e=>e.value!==`immediate-grouped`||t)}function et(e){return Ze.find(t=>t.value===e)?.value}function tt(e,t=Xe){return Qe(e)===`immediate-grouped`?`${t} · ${String(e.groupingSec)} s`:rt(e.delivery)}function nt(e){if(e.trim().length===0)return;let t=Number(e);return Number.isFinite(t)&&t>=0?Math.trunc(t):void 0}function rt(e){return j.find(t=>t.value===e)?.label??e}function it(e){return j.some(t=>t.value===e)}var at=[{key:`all`,get label(){return E.t(`helpers.ruleFormParsers.sec_all_label`)},get blurb(){return E.t(`helpers.ruleFormParsers.sec_all_blurb`)},get newRuleLabel(){return E.t(`helpers.ruleFormParsers.sec_all_new`)},get emptyHint(){return E.t(`helpers.ruleFormParsers.sec_all_empty`)},creatable:!0},{key:`detection`,get label(){return E.t(`helpers.ruleFormParsers.sec_detection_label`)},get blurb(){return E.t(`helpers.ruleFormParsers.sec_detection_blurb`)},get newRuleLabel(){return E.t(`helpers.ruleFormParsers.sec_detection_new`)},get emptyHint(){return E.t(`helpers.ruleFormParsers.sec_detection_empty`)},creatable:!0},{key:`sensor`,get label(){return E.t(`helpers.ruleFormParsers.sec_sensor_label`)},get blurb(){return E.t(`helpers.ruleFormParsers.sec_sensor_blurb`)},get newRuleLabel(){return E.t(`helpers.ruleFormParsers.sec_sensor_new`)},get emptyHint(){return E.t(`helpers.ruleFormParsers.sec_sensor_empty`)},creatable:!0},{key:`audio`,get label(){return E.t(`helpers.ruleFormParsers.sec_audio_label`)},get blurb(){return E.t(`helpers.ruleFormParsers.sec_audio_blurb`)},get newRuleLabel(){return E.t(`helpers.ruleFormParsers.sec_audio_new`)},get emptyHint(){return E.t(`helpers.ruleFormParsers.sec_audio_empty`)},creatable:!0},{key:`occupancy`,get label(){return E.t(`helpers.ruleFormParsers.sec_occupancy_label`)},get blurb(){return E.t(`helpers.ruleFormParsers.sec_occupancy_blurb`)},get newRuleLabel(){return E.t(`helpers.ruleFormParsers.sec_occupancy_new`)},get emptyHint(){return E.t(`helpers.ruleFormParsers.sec_occupancy_empty`)},creatable:!0},{key:`device-events`,get label(){return E.t(`helpers.ruleFormParsers.sec_deviceEvents_label`)},get blurb(){return E.t(`helpers.ruleFormParsers.sec_deviceEvents_blurb`)},get newRuleLabel(){return E.t(`helpers.ruleFormParsers.sec_deviceEvents_new`)},get emptyHint(){return E.t(`helpers.ruleFormParsers.sec_deviceEvents_empty`)},creatable:!0},{key:`system`,get label(){return E.t(`helpers.ruleFormParsers.sec_system_label`)},get blurb(){return E.t(`helpers.ruleFormParsers.sec_system_blurb`)},get newRuleLabel(){return E.t(`helpers.ruleFormParsers.sec_system_new`)},get emptyHint(){return E.t(`helpers.ruleFormParsers.sec_system_empty`)},creatable:!0},{key:`alarm`,get label(){return E.t(`helpers.ruleFormParsers.sec_alarm_label`)},get blurb(){return E.t(`helpers.ruleFormParsers.sec_alarm_blurb`)},get newRuleLabel(){return E.t(`helpers.ruleFormParsers.sec_alarm_new`)},get emptyHint(){return E.t(`helpers.ruleFormParsers.sec_alarm_empty`)},creatable:!0},{key:`mixed`,get label(){return E.t(`helpers.ruleFormParsers.sec_mixed_label`)},get blurb(){return E.t(`helpers.ruleFormParsers.sec_mixed_blurb`)},get newRuleLabel(){return E.t(`helpers.ruleFormParsers.sec_mixed_new`)},get emptyHint(){return E.t(`helpers.ruleFormParsers.sec_mixed_empty`)},creatable:!1}];function ot(e){return y(v(e)).editable}function st(e){return ye(ct(e))}function ct(e){switch(e){case`device-events`:case`system`:case`alarm`:case`mixed`:return e;default:return}}var lt=new Map([[0,`helpers.ruleFormParsers.cdNone`],[60,`helpers.ruleFormParsers.cd1m`],[3600,`helpers.ruleFormParsers.cd1h`]]),ut=86400;function dt(e){let t=lt.get(e);return t===void 0?e%3600==0?E.t(`helpers.ruleFormParsers.cdHours`,{count:e/3600}):e%60==0?E.t(`helpers.ruleFormParsers.cdMinutes`,{count:e/60}):E.t(`helpers.ruleFormParsers.cdSeconds`,{count:e}):E.t(t)}function ft(e){if(e.trim().length===0)return;let t=Number(e);return Number.isFinite(t)&&t>=0?Math.trunc(t):void 0}var pt=[{value:`rule-device`,get label(){return E.t(`helpers.ruleFormParsers.scopeDevice`)}},{value:`rule`,get label(){return E.t(`helpers.ruleFormParsers.scopeRule`)}}];function mt(e){return pt.find(t=>t.value===e)?.value}var M=[{value:`per-class`,get label(){return E.t(`helpers.ruleFormParsers.granPerClass`)}},{value:`shared`,get label(){return E.t(`helpers.ruleFormParsers.granShared`)}}];function ht(e){return M.find(t=>t.value===e)?.value}var N=[{value:`best`,get label(){return E.t(`helpers.ruleFormParsers.mediaBest`)},get description(){return E.t(`helpers.ruleFormParsers.mediaBestDesc`)}},{value:`best-matching`,get label(){return E.t(`helpers.ruleFormParsers.mediaMatching`)},get description(){return E.t(`helpers.ruleFormParsers.mediaMatchingDesc`)}},{value:`keyFrame`,get label(){return E.t(`helpers.ruleFormParsers.mediaKey`)},get description(){return E.t(`helpers.ruleFormParsers.mediaKeyDesc`)}},{value:`none`,get label(){return E.t(`helpers.ruleFormParsers.mediaNone`)},get description(){return E.t(`helpers.ruleFormParsers.mediaNoneDesc`)}}];function gt(e){return N.find(t=>t.value===e)?.value}var P=[{value:``,get label(){return E.t(`helpers.ruleFormParsers.frameAuto`)}},{value:`cropped`,get label(){return E.t(`helpers.ruleFormParsers.frameCropped`)}},{value:`full`,get label(){return E.t(`helpers.ruleFormParsers.frameFull`)}},{value:`boxed`,get label(){return E.t(`helpers.ruleFormParsers.frameBoxed`)}}];function _t(e){let t=P.find(t=>t.value===e)?.value;return t===``?void 0:t}var F=[{value:``,get label(){return E.t(`helpers.ruleFormParsers.linkedDefault`)}},{value:`mosaic`,get label(){return E.t(`helpers.ruleFormParsers.linkedMosaic`)}},{value:`each`,get label(){return E.t(`helpers.ruleFormParsers.linkedEach`)}}];function vt(e){let t=F.find(t=>t.value===e)?.value;return t===``?void 0:t}var I=[{value:``,get label(){return E.t(`helpers.ruleFormParsers.profileLowest`)}},{value:`low`,get label(){return E.t(`helpers.ruleFormParsers.profileLow`)}},{value:`mid`,get label(){return E.t(`helpers.ruleFormParsers.profileMid`)}},{value:`high`,get label(){return E.t(`helpers.ruleFormParsers.profileHigh`)}}];function yt(e){let t=I.find(t=>t.value===e)?.value;return t===``?void 0:t}var bt=[{value:`any`,get label(){return E.t(`helpers.ruleFormParsers.srcAny`)}},{value:`pipeline`,get label(){return E.t(`helpers.ruleFormParsers.srcPipeline`)}},{value:`onboard`,get label(){return E.t(`helpers.ruleFormParsers.srcOnboard`)}},{value:`sensor`,get label(){return E.t(`helpers.ruleFormParsers.srcSensor`)}}],xt=[{value:`delivered`,get label(){return E.t(`helpers.ruleFormParsers.phaseDelivered`)}},{value:`picked-up`,get label(){return E.t(`helpers.ruleFormParsers.phasePickedUp`)}},{value:`both`,get label(){return E.t(`helpers.ruleFormParsers.phaseBoth`)}}],St=[{value:``,get label(){return E.t(`helpers.ruleFormParsers.stBoth`)}},{value:`raised`,get label(){return E.t(`helpers.ruleFormParsers.stRaised`)}},{value:`cleared`,get label(){return E.t(`helpers.ruleFormParsers.stCleared`)}}];function Ct(e){return e===`raised`||e===`cleared`?e:void 0}function L(e,t){return e===`sensorTransition`?re(t.sensorKinds):!0}var wt=[{value:`enter`,get label(){return E.t(`helpers.ruleFormParsers.crossEnter`)}},{value:`exit`,get label(){return E.t(`helpers.ruleFormParsers.crossExit`)}},{value:`any`,get label(){return E.t(`helpers.ruleFormParsers.crossAny`)}}],Tt=`enter`;function R(e){return e===`exit`||e===`any`?e:void 0}var Et=[{value:1,get label(){return E.t(`helpers.ruleFormParsers.prioMin`)}},{value:2,get label(){return E.t(`helpers.ruleFormParsers.prioLow`)}},{value:3,get label(){return E.t(`helpers.ruleFormParsers.prioDefault`)}},{value:4,get label(){return E.t(`helpers.ruleFormParsers.prioHigh`)}},{value:5,get label(){return E.t(`helpers.ruleFormParsers.prioMax`)}}];function Dt(e,t){return e.options&&e.options.length>0?e.options:t}var Ot=[{value:``,get label(){return E.t(`helpers.ruleFormParsers.speedDefault`)}},{value:`1`,get label(){return E.t(`helpers.ruleFormParsers.speedReal`)}},{value:`2`,label:`2×`},{value:`3`,label:`3×`},{value:`4`,label:`4×`},{value:`6`,label:`6×`},{value:`8`,label:`8×`}];function kt(e){if(e===``)return;let t=Number(e);return Number.isFinite(t)&&t>=1&&t<=8?t:void 0}var At=new Map(Object.entries({"device-offline":`Device offline`,"device-online":`Device online`,"device-disabled":`Device switched off`,"device-enabled":`Device switched on`,"stream-offline":`Stream offline`,"stream-online":`Stream online`,"device-battery-low":`Battery low`,"device-battery-normal":`Battery back to normal`,"device-consumable-low":`Consumable low`,"device-consumable-normal":`Consumable back to normal`,"device-tank-low":`Tank low (water, detergent)`,"device-tank-full":`Tank full (dirty water, dust)`,"device-tank-normal":`Tank back to normal`,"detection-blind":`Camera detecting nothing`,"recording-stalled":`Recording stalled`,"recording-healthy":`Recording healthy again`,"recording-degraded":`Recording degraded (restart storm)`,"storage-location-low":`Storage location low`,"storage-location-critical":`Storage location critical`,"storage-location-ok":`Storage location ok again`,"node-offline":`Node offline`,"node-online":`Node online`,"node-restarting":`Node restarting`,"node-updating":`Node updating (restart imminent)`,"node-inference-unavailable":`Node has no usable inference device`,"addon-crash-loop":`Addon stopped after repeated crashes`,"addon-update-available":`Addon update available`,"addon-updated":`Addons updated`,"server-update-available":`Server update available`,"server-updated":`Server updated`,"wrapper-update-available":`Container / app update available`,"export-completed":`Export completed`,"backup-completed":`Backup completed`,"alarm-arm-refused":`Alarm arm refused (something is open)`,"alarm-check-failed":`Alarm check failed (armed anyway)`,"alarm-arming":`Alarm arming (exit delay)`,"alarm-armed":`Alarm armed`,"alarm-pending":`Alarm entry delay started`,"alarm-triggered":`Alarm triggered`,"alarm-rearmed":`Alarm re-armed after siren`,"alarm-sensor-bypass":`Alarm sensor bypass`,"alarm-disarmed":`Alarm disarmed`}));function jt(e){return At.get(e)}var Mt={"device-state":`A device the hub can no longer reach, or that came back. Switched off / on is a device an operator turned off or back on — not a fault, a choice.`,streams:`A stream that stopped or came back.`,battery:`A battery below the cluster threshold, and (optionally) its return to normal. Devices with a binary low-battery indicator are judged by the indicator, not by the percentage.`,consumables:`A consumable — filter, brush, bag — at or below this rule’s threshold, or that the device reports as due for replacement, and (optionally) its return to normal after a change. A device that only says "replace" is judged by that, not by a percentage.`,tanks:`A robot vacuum tank the device reports as running low (clean water, detergent) or full (dirty water, dust bin), and (optionally) its return to normal once refilled or emptied.`,"detection-blind":`A camera that is running and being analysed, but detects nothing — up, and producing no work.`,recording:`A camera whose recording is on but no footage is landing (stall), a writer that burned its restart budget (degraded), and (optionally) the return to healthy writing.`,nodes:`An agent or worker node joining or leaving the cluster, or an online node whose inference devices all went away.`,addons:`An addon the hub has stopped restarting after repeated crashes.`,"addon-updates":`A newer version of an addon, or an addon update that just finished.`,updates:`A newer version of the server itself, or of the container / app the node runs inside, is available — or a server update just finished.`,"backups-exports":`A scheduled or manual backup of the hub finished, or a footage export finished rendering.`,storage:`A storage location running low or critical on free space — or whose capacity probe failed — and (optionally) its return to ok.`,alarm:`The alarm panel refusing to arm, arming, armed, counting down to a siren, going off, re-arming, excluding an open sensor, or being disarmed.`},z=_e.map(e=>({id:e.id,family:e.family,label:e.label,hint:Mt[e.id]??``,kinds:e.kinds.flatMap(e=>{let t=jt(e);return t===void 0?[]:[{value:e,label:t}]})}));function B(e){return z.filter(t=>t.family===e)}function V(e){let t=me(e).conditions.systemEvent;return t===void 0?{kinds:(B(e)[0]?.kinds??[]).map(e=>e.value)}:{...t,kinds:[...t.kinds]}}var H=z.flatMap(e=>e.kinds);function Nt(e){return H.find(t=>t.value===e)?.label??e}function Pt(e){return{devices:S(e,`deviceIds`),deviceTypes:S(e,`deviceTypes`),nodes:S(e,`nodeIds`),packages:S(e,`packageNames`),consumableThreshold:S(e,`consumableLowPercent`)}}function Ft(e,t){let n=ve[e],r=Pt(t);return{devices:n.includes(`deviceIds`)&&r.devices,excludeDevices:n.includes(`excludeDeviceIds`)&&r.devices,deviceTypes:n.includes(`deviceTypes`)&&r.deviceTypes,nodes:n.includes(`nodeIds`)&&r.nodes,packages:n.includes(`packageNames`)&&r.packages,consumableThreshold:n.includes(`consumableLowPercent`)&&r.consumableThreshold}}var It=Object.values(oe).map(e=>({value:e,label:Lt(e)})).toSorted((e,t)=>e.label.localeCompare(t.label));function Lt(e){let t=e.replaceAll(`-`,` `);return t.charAt(0).toUpperCase()+t.slice(1)}function Rt(e,t,n){if(!B(n).some(e=>e.kinds.some(e=>e.value===t)))return e;let r=e?.kinds??[];return r.length===1&&r[0]===t?e:Vt(e,r.includes(t)?r.filter(e=>e!==t):H.filter(e=>e.value===t||r.includes(e.value)).map(e=>e.value),n)}function zt(e,t){return t===void 0?void 0:Vt(t,t.kinds,e)}function Bt(e,t){let n=e?.kinds??[];if(n.length===0)return;let r=U(t,`deviceIds`,e?.deviceIds),i=U(t,`excludeDeviceIds`,e?.excludeDeviceIds),a=U(t,`deviceTypes`,e?.deviceTypes),o=U(t,`nodeIds`,e?.nodeIds),s=U(t,`packageNames`,e?.packageNames),c=Object.prototype.hasOwnProperty.call(t,`consumableLowPercent`)?t.consumableLowPercent:e?.consumableLowPercent;return{kinds:[...n],...r===void 0?{}:{deviceIds:[...r]},...i===void 0?{}:{excludeDeviceIds:[...i]},...a===void 0?{}:{deviceTypes:[...a]},...o===void 0?{}:{nodeIds:[...o]},...s===void 0?{}:{packageNames:[...s]},...c===void 0?{}:{consumableLowPercent:c}}}function U(e,t,n){let r=Object.prototype.hasOwnProperty.call(e,t)?e[t]:n;return r!==void 0&&r.length===0?void 0:r}function Vt(e,t,n){let r=Ft(n,t),i=r.devices?e?.deviceIds:void 0,a=r.excludeDevices?e?.excludeDeviceIds:void 0,o=r.deviceTypes?e?.deviceTypes:void 0,s=r.nodes?e?.nodeIds:void 0,c=r.packages?e?.packageNames:void 0,l=r.consumableThreshold?e?.consumableLowPercent:void 0;return{kinds:[...t],...i&&i.length>0?{deviceIds:[...i]}:{},...a&&a.length>0?{excludeDeviceIds:[...a]}:{},...o&&o.length>0?{deviceTypes:[...o]}:{},...s&&s.length>0?{nodeIds:[...s]}:{},...c&&c.length>0?{packageNames:[...c]}:{},...l===void 0?{}:{consumableLowPercent:l}}}var Ht=95;function Ut(e){let t=e.trim();if(t===``)return{kind:`clear`};let n=Number(t);return Number.isInteger(n)&&n>=1&&n<=Ht?{kind:`set`,value:n}:{kind:`invalid`}}function Wt(e,t=2){if(e===void 0||e.length===0)return E.t(`helpers.notificationSystemEvents.noneSelected`);let n=e.slice(0,t).map(Nt).join(`, `),r=e.length-Math.min(t,e.length);return r>0?`${n} +${r}`:n}function Gt(e){if(e===void 0)return`—`;let t=[],n=e.deviceIds?.length??0,r=e.deviceTypes?.length??0,i=e.nodeIds?.length??0,a=e.packageNames?.length??0,o=e.excludeDeviceIds?.length??0;r>0&&t.push(e.deviceTypes?.map(Lt).join(`, `)??``),n>0&&t.push(`${n} device${n===1?``:`s`}`),i>0&&t.push(`${i} node${i===1?``:`s`}`),a>0&&t.push(`${a} package${a===1?``:`s`}`);let s=o>0?`except ${o} device${o===1?``:`s`}`:null,c=e.consumableLowPercent===void 0?[]:[`consumables at ${e.consumableLowPercent}%`];return t.length===0?[s===null?`Everything`:`Everything ${s}`,...c].join(` · `):[...t,...s===null?[]:[s],...c].join(` · `)}function Kt(e){return e===void 0||(e.deviceTypes?.length??0)===0?!1:e.kinds.some(e=>ie.includes(e))}var qt=[`all`,`only`,`except`];function Jt(e,t){return(e??[]).length>0?`only`:(t??[]).length>0?`except`:`all`}function W(e,t){let n=[...e??[]],r=[...t??[]];return{mode:Jt(n,r),include:n,exclude:r,legacyBoth:n.length>0&&r.length>0}}function Yt(e,t){return{...e,mode:t}}function Xt(e){switch(e.mode){case`only`:return e.include;case`except`:return e.exclude;case`all`:return[]}}function Zt(e,t){switch(e.mode){case`only`:return{...e,include:[...t]};case`except`:return{...e,exclude:[...t]};case`all`:return e}}function Qt(e){return e.mode===`only`&&e.legacyBoth?e.exclude:[]}function $t(e){return{...e,exclude:[],legacyBoth:!1}}function G(e){switch(e.mode){case`all`:return{};case`except`:return e.exclude.length>0?{exclude:[...e.exclude]}:{};case`only`:{let t=Qt(e);return{...e.include.length>0?{include:[...e.include]}:{},...t.length>0?{exclude:[...t]}:{}}}}}function en(e){let t=G(e),n=t.include??[],r=t.exclude??[];return[...e.include.filter(e=>!n.includes(e)),...e.exclude.filter(e=>!r.includes(e))]}var K=[`onActivation`,`onDeactivation`,`onTrigger`,`onTriggerOff`],q={onActivation:{get title(){return E.t(`helpers.notificationRuleActions.onActivationTitle`)},get hint(){return E.t(`helpers.notificationRuleActions.onActivationHint`)}},onDeactivation:{get title(){return E.t(`helpers.notificationRuleActions.onDeactivationTitle`)},get hint(){return E.t(`helpers.notificationRuleActions.onDeactivationHint`)}},onTrigger:{get title(){return E.t(`helpers.notificationRuleActions.onTriggerTitle`)},get hint(){return E.t(`helpers.notificationRuleActions.onTriggerHint`)}},onTriggerOff:{get title(){return E.t(`helpers.notificationRuleActions.onTriggerOffTitle`)},get hint(){return E.t(`helpers.notificationRuleActions.onTriggerOffHint`)}}},tn={onActivation:[],onDeactivation:[],onTrigger:[],onTriggerOff:[],buttons:[]};function nn(e){return e===void 0?tn:{onActivation:[...e.onActivation??[]],onDeactivation:[...e.onDeactivation??[]],onTrigger:[...e.onTrigger??[]],onTriggerOff:[...e.onTriggerOff??[]],buttons:[...e.buttons??[]]}}function J(e){let t=e.buttons.filter(e=>e.id.trim()!==``&&e.label.trim()!==``&&e.sequenceId.trim()!==``),n={onActivation:e.onActivation,onDeactivation:e.onDeactivation,onTrigger:e.onTrigger,onTriggerOff:e.onTriggerOff};if(!(!K.some(e=>n[e].length>0)&&t.length===0))return{...n.onActivation.length>0?{onActivation:[...n.onActivation]}:{},...n.onDeactivation.length>0?{onDeactivation:[...n.onDeactivation]}:{},...n.onTrigger.length>0?{onTrigger:[...n.onTrigger]}:{},...n.onTriggerOff.length>0?{onTriggerOff:[...n.onTriggerOff]}:{},...t.length>0?{buttons:t}:{}}}function rn(e,t){let n=[];for(let r of K){let i=e[r];i.length>4&&n.push({kind:`too-many`,message:E.t(`helpers.notificationRuleActions.tooMany`,{title:q[r].title})});for(let e of i)e.kind===`sequence`&&!t.has(e.sequenceId)&&n.push({kind:`unknown-sequence`,message:E.t(`helpers.notificationRuleActions.hookUnknownSeq`,{title:q[r].title})})}let r=new Set;for(let i of e.buttons){let e=i.id.trim();e!==``&&(r.has(e)&&n.push({kind:`duplicate-button`,message:E.t(`helpers.notificationRuleActions.dupButton`,{id:e})}),r.add(e),t.has(i.sequenceId.trim())||n.push({kind:`unknown-sequence`,message:E.t(`helpers.notificationRuleActions.buttonUnknownSeq`,{label:i.label||e})}))}return n}function an(e,t){return{id:`action-${String(e+1)}`,label:E.t(`helpers.notificationRuleActions.newButtonLabel`),sequenceId:t}}function on(){return{kind:`do`,action:{kind:`cap`,deviceId:0,cap:``,method:``}}}function sn(e){return{kind:`sequence`,sequenceId:e}}function cn(){return{kind:`wait`,seconds:5}}var ln=[{value:`acknowledge`,get label(){return E.t(`helpers.notificationRuleActions.icon_acknowledge`)}},{value:`dismiss`,get label(){return E.t(`helpers.notificationRuleActions.icon_dismiss`)}},{value:`silence`,get label(){return E.t(`helpers.notificationRuleActions.icon_silence`)}},{value:`snooze`,get label(){return E.t(`helpers.notificationRuleActions.icon_snooze`)}},{value:`view`,get label(){return E.t(`helpers.notificationRuleActions.icon_view`)}},{value:`play`,get label(){return E.t(`helpers.notificationRuleActions.icon_play`)}},{value:`camera`,get label(){return E.t(`helpers.notificationRuleActions.icon_camera`)}},{value:`open`,get label(){return E.t(`helpers.notificationRuleActions.icon_open`)}},{value:`close`,get label(){return E.t(`helpers.notificationRuleActions.icon_close`)}},{value:`unlock`,get label(){return E.t(`helpers.notificationRuleActions.icon_unlock`)}},{value:`lock`,get label(){return E.t(`helpers.notificationRuleActions.icon_lock`)}},{value:`disarm`,get label(){return E.t(`helpers.notificationRuleActions.icon_disarm`)}},{value:`arm`,get label(){return E.t(`helpers.notificationRuleActions.icon_arm`)}},{value:`arm-home`,get label(){return E.t(`helpers.notificationRuleActions.icon_arm_home`)}},{value:`arm-away`,get label(){return E.t(`helpers.notificationRuleActions.icon_arm_away`)}},{value:`arm-night`,get label(){return E.t(`helpers.notificationRuleActions.icon_arm_night`)}},{value:`light`,get label(){return E.t(`helpers.notificationRuleActions.icon_light`)}},{value:`alert`,get label(){return E.t(`helpers.notificationRuleActions.icon_alert`)}}],un=[10,30,60],dn=[5,10,15,30,60,120,240,480];function fn(e){return e>=60&&e%60==0?E.t(`helpers.ruleFormState.snoozeHours`,{count:e/60}):E.t(`helpers.ruleFormState.snoozeMin`,{count:e})}var pn=new Set([`alarm-arm-refused`,`alarm-check-failed`,`alarm-arming`,`alarm-armed`,`alarm-pending`,`alarm-triggered`,`alarm-rearmed`,`alarm-sensor-bypass`,`alarm-disarmed`]),mn=`alarm-panel`;function hn(e,t){for(let t of e.systemEvent?.kinds??[])if(pn.has(t))return!0;for(let e of t)if(e.kind===`cap`&&e.cap===mn)return!0;return!1}function gn(e,t){let n=new Map(t.map(e=>[e.id,e])),r=[];for(let t of[`onActivation`,`onDeactivation`,`onTrigger`,`onTriggerOff`])for(let i of e[t])if(i.kind===`do`)r.push(i.action);else{let e=n.get(i.sequenceId);e!==void 0&&r.push(...e.actions)}for(let t of e.buttons){let e=n.get(t.sequenceId);e!==void 0&&r.push(...e.actions)}return r}function _n(e){let{devices:t,devicesExclude:n,classes:r,classesExclude:i,...a}=e;return{conditions:a,deviceScope:W(t,n),classScope:W(r,i)}}function vn(e){let t=G(e.deviceScope),n=G(e.classScope);return{...e.conditions,...t.include===void 0?{}:{devices:[...t.include]},...t.exclude===void 0?{}:{devicesExclude:[...t.exclude]},...n.include===void 0?{}:{classes:[...n.include]},...n.exclude===void 0?{}:{classesExclude:[...n.exclude]}}}function yn(e){return e.deviceScope.mode===`only`?e.deviceScope.include:[]}function bn(e,t,n){let r=v(n);return e.some(e=>e.id===t&&we(e,n.delivery,r))}function xn(e=`immediate`,t={}){return{name:``,enabled:!0,delivery:e,targetIds:[],targetUsers:[],targetParams:{},priority:3,mediaAttach:`best`,mediaZoneCrop:!1,mediaFrame:void 0,mediaGif:!1,mediaClip:!1,mediaProfile:void 0,mediaClipSpeed:void 0,mediaLinkedCameras:void 0,templateTitle:``,templateBody:``,..._n(t),schedule:void 0,systemEventDelivery:void 0,snoozeAllowGlobal:!1,groupingSec:void 0,snoozeOptions:void 0,actions:tn,cooldownSec:30,cooldownScope:`rule-device`,cooldownGranularity:void 0}}function Sn(e){let t={};for(let n of e.targets)n.params&&Object.keys(n.params).length>0&&(t[n.targetId]=n.params);return{name:e.name,enabled:e.enabled,delivery:e.delivery,targetIds:e.targets.map(e=>e.targetId),targetUsers:e.targetUsers??[],targetParams:t,priority:e.priority,mediaAttach:e.media.attach,mediaZoneCrop:e.media.zoneCrop===!0,mediaFrame:e.media.frame,mediaGif:e.media.gif===!0,mediaClip:e.media.clip===!0,mediaProfile:e.media.profile,mediaClipSpeed:e.media.clipSpeed,mediaLinkedCameras:e.media.linkedCameras,templateTitle:e.template?.title??``,templateBody:e.template?.body??``,..._n(e.conditions),schedule:e.schedule,systemEventDelivery:e.systemEventDelivery,snoozeAllowGlobal:e.snoozeAllowGlobal===!0,groupingSec:e.groupingSec,snoozeOptions:e.snoozeOptions,actions:nn(e.actions),cooldownSec:e.throttle.cooldownSec,cooldownScope:e.throttle.scope,cooldownGranularity:e.throttle.granularity}}function Cn(e,t){let n=[];if(kn(e)){let r=e.groupingSec;r!==void 0&&(!Number.isInteger(r)||r<5||r>60)&&n.push(`The grouping window is a whole number of seconds between 5 and 60.`);let i=t?.confirm;i?.enabled===!0&&i.expect!==void 0&&!An(i.expect)&&n.push(`This rule’s AI confirm expects more than one subject, but a grouped message judges one picture per subject, so it would never send. Remove the confirm expectation (viewer or API), or choose Immediate.`)}if(_(e.conditions.audio)&&n.push(`This sound rule names neither a sound nor a level threshold, so it can never fire — every sample would count as a hit and the engine refuses it rather than notifying on silence. Pick at least one sound, or add a level.`),(!Number.isInteger(e.cooldownSec)||e.cooldownSec<0||e.cooldownSec>86400)&&n.push(`The cooldown is a whole number of seconds between 0 and ${String(ut)} (24 hours). 0 means every match is delivered.`),Y(e))for(let t of ne({delivery:e.delivery,conditions:e.conditions,...e.systemEventDelivery===void 0?{}:{systemEventDelivery:e.systemEventDelivery},...J(e.actions)===void 0?{}:{actions:J(e.actions)}}))n.push(ae(t));return n}function wn(e){let t=e.systemEventDelivery;if(t===void 0)return{};if(!b(e.delivery))return t.mode===`summary`?{systemEventDelivery:{mode:`instant`}}:{};if(t.mode===`summary`&&ee(t.schedule)===null){let e=ue(t.schedule);if(e!==null&&e.times.length>0)return{systemEventDelivery:{...t,schedule:se(e.times,t.schedule.timezone)}}}return{systemEventDelivery:t}}function Tn(e){if(!Y(e))return null;if(!de(e.templateBody))return E.t(`helpers.ruleFormState.summaryWarnNone`,{token:`{{summaryText}}`});let t=e.templateBody;return(e.systemEventDelivery?.mode===`summary`?e.systemEventDelivery.split:void 0)===`section`&&t.trim().length>0&&!/\{\{\s*summaryText\s*\}\}/.test(t)?E.t(`helpers.ruleFormState.summaryWarnSplit`,{token:`{{summaryText}}`}):null}function Y(e){return b(e.delivery)&&e.systemEventDelivery?.mode===`summary`}function En(e,t,n=new Set){return Cn(e,t).length===0&&it(e.delivery)&&(!b(e.delivery)||Pn(e)>0)&&v(e)!==`mixed`&&e.name.trim().length>0&&(e.targetIds.length>0||e.targetUsers.length>0)&&rn(e.actions,n).length===0}function Dn(e,t){let n=Mn(e.conditions,t);return b(t)&&(n.systemEvent?.kinds.length??0)===0?{...e,delivery:t,conditions:{...n,systemEvent:V(`device-events`)}}:{...e,delivery:t,conditions:n}}function On(e,t){return t===`immediate-grouped`?{...Dn(e,`immediate`),groupingSec:e.groupingSec??20}:{...Dn(e,t),groupingSec:void 0}}function kn(e){return e.groupingSec!==void 0&&x(e)}function An(e){switch(e.op){case`>`:return 1>e.count;case`<=`:return 1<=e.count;case`<`:return 1<e.count;case`==`:return e.count===1;default:return 1>=e.count}}var jn=new Set([`immediate`,`track-end`,`package-event`]);function Mn(e,t){if(e.source!==`pipeline`||jn.has(t))return e;let{source:n,...r}=e;return r}function Nn(e,t){return Ce(e.conditions.systemEvent)===t?e:{...e,conditions:{...e.conditions,systemEvent:V(t)}}}function Pn(e){return e.conditions.systemEvent?.kinds.length??0}function X(e,t){return e.appliesTo.includes(t)}var Fn={source:`any`};function In(e,t){if(t==null)return!0;if(Array.isArray(t))return t.length===0;if(typeof t==`string`)return t.length===0||Fn[e]===t;if(typeof t==`number`)return!Number.isFinite(t);if(typeof t==`object`){if(`ids`in t){let e=t.ids;return!Array.isArray(e)||e.length===0}if(`values`in t){let e=t.values;return!Array.isArray(e)||e.length===0}return!1}return!1}var Ln=fe.filter(e=>e.id===`audio`);function Rn(e){if(e.length===0)return e;let t=new Set(e.map(e=>e.id)),n=Ln.filter(e=>!t.has(e.id));return n.length===0?e:[...e,...n]}function zn(e,t,n,r=v({delivery:t,conditions:e})){let i=n.length===0?null:new Set(n.filter(e=>e.id!==`schedule`&&we(e,t,r)).map(e=>e.id)),a={};for(let[t,n]of Object.entries(e))i!==null&&!i.has(t)||L(t,e)&&(In(t,n)||(a[t]=n));return a}function Bn(e,t){if(e===void 0)return{};let n=zt(e,t.systemEvent);return n===void 0?{}:{systemEvent:n}}function Vn(e){return e!==void 0&&e.windows.length>0}function Hn(e){let t={...e.clipPreRollSec===void 0?{}:{clipPreRollSec:e.clipPreRollSec},...e.clipPostRollSec===void 0?{}:{clipPostRollSec:e.clipPostRollSec}};return Object.keys(t).length>0?t:void 0}function Un(e){let t=Hn(e.media);return{...e.confirm===void 0?{}:{confirm:e.confirm},...t===void 0?{}:{media:t}}}function Wn(e,t,n=[]){let r=e.templateTitle.trim(),i=e.templateBody.trim(),a=r.length>0||i.length>0?{...r.length>0?{title:r}:{},...i.length>0?{body:i}:{}}:void 0,o=J(e.actions),s=v(e),c=y(s),l=ge(s),u=n.length===0?!0:n.some(t=>t.id===`schedule`&&X(t,e.delivery)),d=!Y(e)&&u&&Vn(e.schedule)?e.schedule:void 0,f=n.length===0?!0:n.some(t=>t.id===`devices`&&X(t,e.delivery)),p=n.length===0?!0:n.some(t=>t.id===`devicesExclude`&&X(t,e.delivery)),{devices:m,devicesExclude:h,...g}=vn(e);return{name:e.name.trim(),enabled:e.enabled,delivery:e.delivery,conditions:{...zn(g,e.delivery,n,s),...f&&m!==void 0?{devices:m}:{},...p&&h!==void 0?{devicesExclude:h}:{},...Bn(l,e.conditions)},...d?{schedule:d}:{},...wn(e),targets:e.targetIds.map(t=>{let n=e.targetParams[t];return n&&Object.keys(n).length>0?{targetId:t,params:n}:{targetId:t}}),...e.targetUsers.length>0?{targetUsers:[...e.targetUsers]}:{},media:c.carriesMedia?{attach:e.mediaAttach,...c.carriesSubjectCrop&&e.mediaZoneCrop?{zoneCrop:!0}:{},...c.carriesSubjectCrop&&e.mediaFrame!==void 0?{frame:e.mediaFrame}:{},...e.mediaGif?{gif:!0}:{},...e.mediaClip?{clip:!0}:{},...e.mediaProfile===void 0?{}:{profile:e.mediaProfile},...e.mediaClipSpeed===void 0?{}:{clipSpeed:e.mediaClipSpeed},...s===`sensor`&&e.mediaAttach!==`none`&&e.mediaLinkedCameras!==void 0?{linkedCameras:e.mediaLinkedCameras}:{},...(e.mediaGif||e.mediaClip)&&t?.media?.clipPreRollSec!==void 0?{clipPreRollSec:t.media.clipPreRollSec}:{},...(e.mediaGif||e.mediaClip)&&t?.media?.clipPostRollSec!==void 0?{clipPostRollSec:t.media.clipPostRollSec}:{}}:{attach:`none`},throttle:{cooldownSec:e.cooldownSec,scope:e.cooldownScope,...e.cooldownGranularity===void 0?{}:{granularity:e.cooldownGranularity}},priority:e.priority,...a?{template:a}:{},...e.snoozeAllowGlobal?{snoozeAllowGlobal:!0}:{},...kn(e)?{groupingSec:e.groupingSec}:{},...e.snoozeOptions===void 0?{}:{snoozeOptions:[...e.snoozeOptions]},...t?.confirm===void 0?{}:{confirm:t.confirm},...o===void 0?{}:{actions:o}}}function Gn(e,t){let n=Wn(e,void 0,t);return[`template`,`schedule`,`targetUsers`,`snoozeOptions`,`snoozeAllowGlobal`,`groupingSec`,`actions`].filter(e=>n[e]===void 0)}var Kn=[{key:`rule`,get label(){return E.t(`helpers.ruleFormTabs.tab_rule`)},fields:[`name`,`enabled`,`delivery`,`groupingSec`,`targetIds`,`targetUsers`,`targetParams`]},{key:`devices`,get label(){return E.t(`helpers.ruleFormTabs.tab_devices`)},fields:[`deviceScope`]},{key:`conditions`,get label(){return E.t(`helpers.ruleFormTabs.tab_conditions`)},fields:[`conditions`,`classScope`,`schedule`,`systemEventDelivery`]},{key:`notification`,get label(){return E.t(`helpers.ruleFormTabs.tab_notification`)},fields:[`priority`,`mediaAttach`,`mediaFrame`,`mediaZoneCrop`,`mediaGif`,`mediaClip`,`mediaProfile`,`mediaClipSpeed`,`mediaLinkedCameras`,`templateTitle`,`templateBody`]},{key:`actions`,get label(){return E.t(`helpers.ruleFormTabs.tab_actions`)},fields:[`actions`]},{key:`advanced`,get label(){return E.t(`helpers.ruleFormTabs.tab_advanced`)},fields:[`snoozeAllowGlobal`,`snoozeOptions`,`cooldownSec`,`cooldownScope`,`cooldownGranularity`]}];function qn(e,t={}){let n=v({delivery:e,conditions:t}),r=y(n),i=Kn.map(e=>e.key===`conditions`?{...e,label:r.label}:e);return ye(n)?i.filter(e=>e.key!==`devices`):i}function Jn(e){if(e.audio!==void 0)return E.t(`helpers.ruleFormTabs.condSound`);if(e.occupancy!==void 0)return E.t(`helpers.ruleFormTabs.condOccupancy`)}function Yn(e){let t=v(e),n=Se(vn(e),t);return t===`sensor`&&e.conditions.sensorTransition!==void 0&&!L(`sensorTransition`,e.conditions)?[...n,{conditionId:`sensorTransition`,reason:te}]:n}var Xn=`rule`;function Zn(e){return Kn.find(t=>t.key===e)?.key}function Qn(e){return e?.toLowerCase().startsWith(`it`)===!0?`it`:`en`}function $n(){let{i18n:e}=D(),t=Qn(e.language);return e=>ce(e,t)}e();var er=`block text-[11px] font-medium text-foreground`,Z=`text-[10px] text-foreground-subtle mt-0.5`;function tr({cameras:e,fleet:t,value:n,onChange:r,emptyMeansAll:i=!1,savedHadDevices:a=!1}){return o(De,{devices:e,listState:t.state,fleet:t,value:n,onChange:r,emptyMeansAll:i,savedHadDevices:a})}function nr({value:e,placeholder:t,onChange:i}){let{t:a}=D(),[s,c]=n(``),l=()=>{let t=s.trim();if(t.length===0||e.includes(t)){c(``);return}i([...e,t]),c(``)},u=t=>i(e.filter(e=>e!==t));return r(`div`,{className:`mt-1 space-y-1.5`,children:[e.length>0&&o(`div`,{className:`flex flex-wrap gap-1`,children:e.map(e=>r(`span`,{className:`inline-flex items-center gap-1 rounded bg-surface-hover px-1.5 py-0.5 text-[11px] text-foreground`,children:[e,o(`button`,{type:`button`,onClick:()=>u(e),"aria-label":a(`system.notificationConditionWidgets.remove`,`remove {{v}}`,{v:e}),className:`text-foreground-subtle hover:text-danger`,children:o(d,{className:`h-3 w-3`})})]},e))}),o(w,{value:s,placeholder:t,onChange:e=>c(e.target.value),onKeyDown:e=>{e.key===`Enter`&&(e.preventDefault(),l())},onBlur:l})]})}function rr({picker:e,value:n,onChange:i}){let{t:a}=D(),s=t(()=>Te(e),[e]),c=t(()=>new Set(n),[n]),l=n.filter(e=>!s.has(e)),u=e=>{i(c.has(e)?n.filter(t=>t!==e):[...n,e])};return r(`div`,{className:`space-y-2`,children:[l.length>0&&o(`div`,{className:`flex flex-wrap gap-1`,children:l.map(e=>r(`button`,{type:`button`,onClick:()=>i(n.filter(t=>t!==e)),className:`inline-flex items-center gap-1 rounded border border-border px-1.5 py-0.5 text-[10px] text-foreground hover:bg-surface-hover`,title:a(`system.notificationConditionWidgets.customValueClickToRemove`,`Custom value — click to remove`),children:[e,` ×`]},e))}),e.groups.map(e=>r(`div`,{children:[o(`div`,{className:`text-[10px] uppercase tracking-wide text-foreground-muted mb-1`,children:e.fallbackLabel}),o(`div`,{className:`flex flex-wrap gap-1`,children:e.options.map(e=>{let t=c.has(e.value);return o(`button`,{type:`button`,"aria-pressed":t,onClick:()=>u(e.value),className:t?`rounded border border-primary bg-primary/15 px-1.5 py-0.5 text-[10px] text-foreground`:`rounded border border-border px-1.5 py-0.5 text-[10px] text-foreground hover:bg-surface-hover`,children:e.label},e.value)})})]},e.key))]})}function ir({value:e,min:t,max:n,step:i,onChange:a}){let{t:s}=D();return r(`div`,{className:`mt-1 flex items-center gap-2`,children:[o(w,{type:`number`,value:e??``,min:t,max:n,step:i,className:`max-w-[8rem]`,onChange:e=>{let t=e.target.value;if(t===``){a(void 0);return}let n=Number(t);a(Number.isFinite(n)?n:void 0)}}),e!==void 0&&n!==void 0&&o(`input`,{type:`range`,min:t,max:n,step:i,value:e,onChange:e=>a(Number(e.target.value)),className:`flex-1 accent-primary`,"aria-label":s(`common.valueWord`)})]})}function ar({value:e,onChange:t,options:n}){let{t:i}=D(),a=or(n??[]),s=a.length>0?a:wt;return r(`div`,{className:`mt-1 space-y-1`,children:[o(T,{value:e??`enter`,options:s.map(e=>({value:e.value,label:i(`notificationRules.crossing.${e.value}`,e.label)})),onChange:e=>t(R(e.target.value))}),o(`p`,{className:Z,children:i(`notificationRules.crossing.hint`,`Which way the subject crosses the zone.`)})]})}function or(e){let t=[];for(let n of e){let e=n.value===``||n.value===`enter`?Tt:R(n.value);e===void 0||t.some(t=>t.value===e)||t.push({value:e,label:n.label})}return t}function sr({deviceIds:e,cameras:t,value:n,onChange:r}){let{options:i,loading:a}=k(e,t);return o(A,{options:i,value:n,onChange:r,loading:a,noFreeText:!0,emptyHint:e.length===0?`Select cameras first — a rule can only use zones those cameras actually have.`:`The selected cameras have no zones. Draw one in the camera’s zone editor first.`,placeholder:``})}function cr({deviceIds:e,value:t,onChange:n}){let{t:r}=D(),{options:i,loading:a}=qe(e);return o(A,{options:i,value:t,onChange:n,loading:a,emptyHint:e.length===0?`Select cameras above to pick their event kinds — or type a token.`:`No event kinds reported for the selected cameras — type a token.`,placeholder:r(`system.notificationConditionWidgets.eventToken`,`Event token…`)})}var Q=[{value:`became-occupied`,labelKey:`system.notificationConditionWidgets.opBecameOccupied`},{value:`became-free`,labelKey:`system.notificationConditionWidgets.opBecameFree`},{value:`>=`,labelKey:`system.notificationConditionWidgets.opCountAtLeast`},{value:`<=`,labelKey:`system.notificationConditionWidgets.opCountAtMost`}];function lr(e,t){let n=e.map(e=>({value:e.value,label:e.label}));return t===void 0||t===``||n.some(e=>e.value===t)?n:[...n,{value:t,label:E.t(`system.notificationConditionWidgets.subTypeNeverCountsAlways`,`{{stored}} — sub-type, never counts (always 0)`,{stored:t})}]}function ur({deviceIds:e,cameras:t,classOptions:n,value:i,onChange:a}){let{t:s}=D(),{options:c,loading:l}=k(e,t),u=i??he,d=e=>a({...u,...e}),f=u.op===`became-occupied`||u.op===`became-free`,p=lr(n,u.className);return r(`div`,{className:`mt-1 space-y-1.5`,children:[r(`div`,{className:`flex flex-wrap items-center gap-1.5`,children:[o(`div`,{className:`min-w-[10rem]`,children:o(T,{value:u.zoneId??``,options:[{value:``,label:l?s(`system.notificationConditionWidgets.loadingZones`,`Loading zones…`):s(`system.notificationConditionWidgets.wholeFrame`,`— whole frame —`)},...c.map(e=>({value:e.value,label:e.label}))],onChange:e=>d({zoneId:e.target.value===``?void 0:e.target.value})})}),o(`div`,{className:`min-w-[9rem]`,children:o(T,{value:u.className??``,options:[{value:``,label:s(`system.notificationConditionWidgets.anyClass`,`— any class —`)},...p],onChange:e=>d({className:e.target.value===``?void 0:e.target.value})})}),o(`div`,{className:`min-w-[9rem]`,children:o(T,{value:u.op,options:Q.map(e=>({value:e.value,label:s(e.labelKey)})),onChange:e=>{let t=Q.find(t=>t.value===e.target.value);t&&d({op:t.value})}})})]}),r(`div`,{className:`flex flex-wrap items-center gap-3 text-xs text-foreground-subtle`,children:[r(`label`,{className:`flex items-center gap-1`,children:[f?s(`system.notificationConditionWidgets.threshold`,`Threshold`):s(`system.notificationConditionWidgets.count`,`Count`),o(w,{type:`number`,min:0,className:`w-16`,value:String(u.count),onChange:e=>d({count:Math.max(0,Number(e.target.value)||0)})})]}),r(`label`,{className:`flex items-center gap-1`,children:[s(`system.notificationConditionWidgets.holdFor`,`Hold for`),o(w,{type:`number`,min:0,max:3600,className:`w-16`,value:String(u.sustainSeconds),onChange:e=>d({sustainSeconds:Math.min(3600,Math.max(0,Number(e.target.value)||0))})}),`s`]}),i===void 0?null:o(`button`,{type:`button`,onClick:()=>a(void 0),className:`underline hover:text-foreground`,children:s(`system.notificationConditionWidgets.clear`,`Clear`)})]}),e.length===0&&o(`p`,{className:`text-[11px] text-warning`,children:s(`system.notificationConditionWidgets.noCameraPickedOnThe`,`No camera picked on the Devices tab: this watches EVERY camera's occupancy, and no zone can be offered until you choose one — a zone id belongs to a camera.`)}),o(`p`,{className:`text-[11px] text-foreground-subtle`,children:s(`system.notificationConditionWidgets.countsConfirmedTrackedObjectsFrom`,`Counts confirmed tracked objects from zone analytics. The change must hold for the sustain window before it fires; with no snapshot for the camera or zone the rule never fires.`)})]})}var dr=[{value:`label`,labelKey:`system.notificationConditionWidgets.audioModeLabel`,Icon:u},{value:`level`,labelKey:`system.notificationConditionWidgets.audioModeLevel`,Icon:l}];function fr({taxonomy:e,value:t,onChange:n}){let{t:a}=D(),s=le(t),c=e=>n(p(t,e)),{choices:l,unknownLabels:u}=g(e,s.labels),d=h(t)??`label`;return r(`div`,{className:`mt-1 space-y-2`,children:[r(`div`,{className:`flex flex-wrap items-center gap-1`,children:[dr.map(e=>o(`button`,{type:`button`,"aria-pressed":d===e.value,onClick:()=>c({mode:e.value}),className:`rounded border px-2 py-0.5 text-[11px] ${d===e.value?`border-primary bg-primary/15 text-foreground`:`border-border text-foreground-subtle hover:bg-surface-hover`}`,children:r(`span`,{className:`inline-flex items-center gap-1`,children:[o(e.Icon,{className:`h-3 w-3`}),a(e.labelKey)]})},e.value)),t===void 0?null:o(`button`,{type:`button`,onClick:()=>n(void 0),className:`ml-1 text-xs text-foreground-subtle underline hover:text-foreground`,children:a(`system.notificationConditionWidgets.clear`,`Clear`)})]}),d===`label`?r(i,{children:[o(`div`,{className:`flex flex-wrap gap-1`,children:l.map(e=>{let t=xe(s.labels,e.value),n=e.unknown?`border-dashed border-warning text-warning`:t?`border-primary bg-primary/15 text-foreground`:`border-border text-foreground hover:bg-surface-hover`;return o(`button`,{type:`button`,"aria-pressed":t,title:e.unknown?a(`system.notificationConditionWidgets.storedByTheRuleNot`,`Stored by the rule — not offered by this hub`):void 0,onClick:()=>c({labels:be(s.labels,e.value)}),className:`rounded border px-1.5 py-0.5 text-[10px] ${n}`,children:r(`span`,{className:`inline-flex items-center gap-1`,children:[o(Oe,{iconId:e.iconId,size:12}),e.label]})},e.value)})}),u.length>0&&r(`p`,{className:`text-[10px] text-warning`,children:[a(`system.notificationConditionWidgets.keptFromTheRuleUnknown`,`Kept from the rule, unknown to this hub:`),` `,u.join(`, `)]}),r(`div`,{className:`flex flex-wrap items-center gap-3 text-xs text-foreground-subtle`,children:[r(`label`,{className:`flex items-center gap-1`,children:[a(`system.notificationConditionWidgets.confirmAfter`,`Confirm after`),o(w,{type:`number`,min:1,max:20,step:1,className:`w-16`,value:String(s.confirmHits??2),onChange:e=>c({confirmHits:Number(e.target.value)})}),a(`system.notificationConditionWidgets.frames`)]}),r(`label`,{className:`flex items-center gap-1`,children:[a(`system.notificationConditionWidgets.within`),o(w,{type:`number`,min:1,max:60,step:1,className:`w-16`,value:String(s.confirmWindowSec??5),onChange:e=>c({confirmWindowSec:Number(e.target.value)})}),`s`]})]}),o(`p`,{className:`text-[11px] text-foreground-subtle`,children:a(`system.notificationConditionWidgets.audioConfirmHint`,{hits:2,window:5})})]}):r(i,{children:[o(`div`,{className:`flex flex-wrap items-center gap-3 text-xs text-foreground-subtle`,children:r(`label`,{className:`flex items-center gap-1`,children:[a(`system.notificationConditionWidgets.louderThan`,`Louder than`),o(w,{type:`number`,min:pe,max:0,step:3,className:`w-20`,value:String(s.dbThreshold??m),onChange:e=>c({dbThreshold:Number(e.target.value)})}),`dBFS`]})}),r(`div`,{className:`flex flex-wrap items-center gap-3 text-xs text-foreground-subtle`,children:[r(`label`,{className:`flex items-center gap-1`,children:[a(`system.notificationConditionWidgets.hits`,`Hits`),o(w,{type:`number`,min:1,max:100,step:5,className:`w-16`,value:String(s.hitPercent),onChange:e=>c({hitPercent:Number(e.target.value)})}),a(`system.notificationConditionWidgets.hitsPercentDefault`,{value:C.hitPercent})]}),r(`label`,{className:`flex items-center gap-1`,children:[a(`system.notificationConditionWidgets.over`),o(w,{type:`number`,min:1,max:300,step:5,className:`w-16`,value:String(s.samplingSeconds),onChange:e=>c({samplingSeconds:Number(e.target.value)})}),a(`system.notificationConditionWidgets.secondsDefault`,{value:C.samplingSeconds})]})]}),o(`p`,{className:`text-[11px] text-foreground-subtle`,children:a(`system.notificationConditionWidgets.dbfsHint`,{min:pe})})]}),_(t)?o(`p`,{className:`text-[11px] text-warning`,children:a(`system.notificationConditionWidgets.withNeitherASoundNor`,`With neither a sound nor a level threshold this can never match — every sample would be a hit, so the engine refuses it rather than notifying on silence.`)}):null]})}function pr({value:e,onChange:t}){let{t:n}=D(),i=e?.values??[],a=e?.maxDistance??1,s=e=>t(e.length>0?{values:e,maxDistance:a}:void 0),c=e=>t(i.length>0?{values:i,maxDistance:e}:void 0),l=Ye().filter(e=>!i.includes(e));return r(`div`,{className:`mt-1 space-y-1.5`,children:[o(nr,{value:i,placeholder:n(`system.notificationConditionWidgets.plateText`,`Plate text…`),onChange:s}),l.length>0&&r(`div`,{className:`flex flex-wrap items-center gap-1`,children:[o(`span`,{className:`text-[10px] text-foreground-subtle`,children:n(`system.notificationConditionWidgets.seen`,`Seen:`)}),l.slice(0,12).map(e=>o(`button`,{type:`button`,onClick:()=>s([...i,e]),className:`rounded border border-border px-1.5 py-0.5 text-[10px] text-foreground-subtle hover:bg-surface-hover hover:text-foreground`,children:e},e))]}),r(`label`,{className:`flex items-center gap-2 text-[11px] text-foreground-subtle`,children:[n(`system.notificationConditionWidgets.maxDistance`,`Max distance`),o(w,{type:`number`,min:0,max:3,step:1,value:a,className:`max-w-[5rem]`,onChange:e=>{let t=Number(e.target.value);c(Number.isFinite(t)?Math.max(0,Math.min(3,t)):1)}})]})]})}function mr({gateable:e,value:t,onChange:n}){let{t:i}=D(),a=$n(),s=e.find(e=>e.id===t?.deviceId),c=new Set(t?.states??[]),l=e=>{let t=Number(e);if(!Number.isFinite(t)||t===0)return n(void 0);n({deviceId:t,states:[]})},u=e=>{if(t===void 0)return;let r=new Set(c);r.has(e)?r.delete(e):r.add(e),n(r.size===0?void 0:{deviceId:t.deviceId,states:[...r]})};return r(`div`,{className:`mt-1 space-y-2`,children:[o(T,{value:t===void 0?``:String(t.deviceId),options:[{value:``,label:i(`system.notificationConditionWidgets.noDeviceGate`,`— no device gate —`)},...e.map(e=>({value:String(e.id),label:e.name}))],onChange:e=>l(e.target.value)}),s!==void 0&&o(`div`,{className:`flex flex-wrap gap-1.5`,children:s.states.map(e=>o(`button`,{type:`button`,onClick:()=>u(e),className:c.has(e)?`rounded-md border border-primary bg-primary/10 px-2 py-0.5 text-[11px] text-primary`:`rounded-md border border-border px-2 py-0.5 text-[11px] text-foreground-subtle`,children:a(e)},e))}),s!==void 0&&s.states.length===0&&o(`p`,{className:`text-[10px] text-foreground-subtle mt-0.5`,children:i(`system.notificationConditionWidgets.thisDeviceReportsNoState`,`This device reports no state the gate can read, so it cannot arm a rule.`)}),t!==void 0&&o(`p`,{className:`text-[10px] text-foreground-subtle mt-0.5`,children:i(`system.notificationConditionWidgets.theRuleIsSilentWhile`,`The rule is silent while the device is in any other state — including when its state cannot be read at all.`)})]})}function hr(e,t){let n=t(e.verdict);return e.latched?`${n} · ${t(`latched`)}`:n}function gr({scenes:e,value:t,onChange:n}){let{t:i}=D(),a=$n(),s=e.find(e=>e.sceneId===t?.sceneId),c=r=>{if(r===``)return n(void 0);let i=e.find(e=>e.sceneId===r);if(i===void 0)return n(void 0);n({sceneId:r,deviceId:i.deviceId,requiredState:t?.requiredState??`diverged`,...t?.latched===void 0?{}:{latched:t.latched}})},l=e=>{t!==void 0&&n({...t,requiredState:e===`matched`?`matched`:`diverged`})},u=e=>{if(t!==void 0){if(e===``){let{latched:e,...r}=t;return n(r)}n({...t,latched:e===`latched`})}};return e.length===0?o(`p`,{className:Z,children:i(`notificationRules.scene.none`,`No scenes yet — create one on the Scenes page.`)}):r(`div`,{className:`mt-1 space-y-2`,children:[o(T,{value:t?.sceneId??``,options:[{value:``,label:i(`notificationRules.scene.noGate`,`— no scene gate —`)},...e.map(e=>({value:e.sceneId,label:`${e.cameraName} · ${e.label} — ${hr(e,a)}`}))],onChange:e=>c(e.target.value)}),t!==void 0&&r(`div`,{className:`flex flex-wrap items-center gap-2`,children:[r(`label`,{className:`flex items-center gap-2 text-[11px] text-foreground-subtle`,children:[i(`notificationRules.scene.onlyWhile`,`Only while it is`),o(T,{value:t.requiredState,options:[{value:`diverged`,label:a(`diverged`)},{value:`matched`,label:a(`matched`)}],onChange:e=>l(e.target.value)})]}),r(`label`,{className:`flex items-center gap-2 text-[11px] text-foreground-subtle`,children:[i(`notificationRules.scene.read`,`Read`),o(T,{value:t.latched===void 0?``:t.latched?`latched`:`live`,options:[{value:``,label:s===void 0?i(`notificationRules.scene.readOwn`,`The scene's own setting`):`${i(`notificationRules.scene.readOwn`,`The scene's own setting`)} (${a(s.emit)})`},{value:`latched`,label:a(`latched`)},{value:`live`,label:a(`live`)}],onChange:e=>u(e.target.value)})]})]}),s!==void 0&&r(`p`,{className:`text-[10px] text-foreground-subtle mt-0.5`,children:[i(`notificationRules.scene.rightNow`,`Right now:`),` `,hr(s,a)]}),t!==void 0&&s===void 0&&o(`p`,{className:`text-[10px] text-foreground-subtle mt-0.5`,children:i(`notificationRules.scene.missing`,`This scene no longer exists — pick another or remove the gate.`)})]})}var $={days:[0,1,2,3,4,5,6],minute:480},_r=[{value:1,get label(){return E.t(`helpers.notificationSystemEventDelivery.wd_mon`)}},{value:2,get label(){return E.t(`helpers.notificationSystemEventDelivery.wd_tue`)}},{value:3,get label(){return E.t(`helpers.notificationSystemEventDelivery.wd_wed`)}},{value:4,get label(){return E.t(`helpers.notificationSystemEventDelivery.wd_thu`)}},{value:5,get label(){return E.t(`helpers.notificationSystemEventDelivery.wd_fri`)}},{value:6,get label(){return E.t(`helpers.notificationSystemEventDelivery.wd_sat`)}},{value:0,get label(){return E.t(`helpers.notificationSystemEventDelivery.wd_sun`)}}];function vr(e){let t=Math.floor(e/60),n=e%60;return`${String(t).padStart(2,`0`)}:${String(n).padStart(2,`0`)}`}function yr(e){let[t,n]=e.split(`:`),r=Number(t)*60+Number(n);return Number.isFinite(r)?Math.max(0,Math.min(1439,r)):0}function br(e){if(typeof e!=`object`||!e||!(`data`in e))return;let t=e.data;if(!(typeof t!=`object`||!t||!(`code`in t)))return typeof t.code==`string`?t.code:void 0}function xr(e){let t=Object.entries(e).map(([e,t])=>`${e} ${String(t)}`);return t.length>0?E.t(`helpers.notificationSystemEventDelivery.dropped`,{parts:t.join(`, `)}):null}function Sr(e,t,n,r=`rule`){if(e===`error`)return br(n)===`NOT_FOUND`?{lines:[`This hub does not serve summary rules yet — update @camstack/server first. A rule saved now would be stored without its summary, and stay instant.`]}:{lines:[`The preview could not be read: ${n instanceof Error?n.message:String(n)}`]};if(e!==`success`||t===void 0)return null;let i=[];if(r===`section`&&t.split===void 0&&i.push(`This hub does not send per-category summaries yet — update @camstack/server first. Until then it sends one message.`),t.empty)i.push(`Nothing to report right now — no notification would be sent.`);else if(t.split===`section`&&t.rows!==void 0){let e=t.rows.length;i.push(`${String(e)} notification${e===1?``:`s`} would be sent now, one per category:`);for(let e of t.rows)i.push(`${e.title}\n${e.text}`)}else i.push(`${String(t.count)} item(s) would be sent now:\n${t.text}`);let a=xr(t.dropped);return a!==null&&i.push(a),t.excludedGroups.includes(`backups-exports`)&&i.push(`Backups and exports are completed jobs, not a state — they are not in a summary.`),{lines:i}}function Cr(e,t){return{...e,schedule:t}}function wr(e,t){let{split:n,...r}=e;return t===`section`?{...r,split:t}:r}function Tr(e){return vr(e)}function Er(e){return yr(e)}function Dr(){return{days:[1,2,3,4,5],startMinute:540,endMinute:1080}}function Or(e){return{days:[...$.days],minute:e}}var kr=`Always active — add a window to restrict when the rule fires.`;function Ar({value:e,onChange:t,mode:n=`windows`,defaultMinute:r=$.minute,emptyHint:i}){return n===`times`?o(Mr,{value:e,onChange:t,defaultMinute:r}):o(jr,{value:e,onChange:t,emptyHint:i??kr})}function jr({value:e,onChange:t,emptyHint:n}){let{t:i}=D(),a=e?.windows??[],s=e?.invert??!1,l=(n,r)=>{if(n.length===0){t(void 0);return}t({windows:n,...r?{invert:!0}:{},...e?.timezone?{timezone:e.timezone}:{}})},u=()=>l([...a,Dr()],s),d=e=>l(a.filter((t,n)=>n!==e),s),f=(e,t)=>l(a.map((n,r)=>r===e?t:n),s);return r(`div`,{className:`mt-1 space-y-2`,"data-testid":`schedule-field-windows`,children:[a.length===0?o(`p`,{className:Z,children:n}):a.map((e,t)=>o(Nr,{window:e,onChange:e=>f(t,e),onRemove:()=>d(t)},t)),r(`div`,{className:`flex items-center gap-3`,children:[r(`button`,{type:`button`,onClick:u,className:`flex items-center gap-1 rounded-md bg-surface-hover px-2 py-1 text-[11px] text-foreground-subtle hover:text-foreground`,children:[o(c,{className:`h-3 w-3`}),` `,i(`system.notificationScheduleField.addWindow`)]}),a.length>0&&r(`label`,{className:`flex items-center gap-1.5 text-[11px] text-foreground-subtle`,children:[o(`input`,{type:`checkbox`,checked:s,onChange:e=>l([...a],e.target.checked),className:`accent-primary`}),i(`system.notificationScheduleField.activeOutsideTheWindows`,`Active outside the windows`)]})]})]})}function Mr({value:e,onChange:t,defaultMinute:n}){let{t:i}=D(),a=e?.timezone,s=e===void 0?{times:[],approximated:!1}:ue(e);if(s===null)return r(`div`,{className:`mt-1 space-y-2`,"data-testid":`schedule-field-times-fallback`,children:[o(`p`,{className:Z,children:i(`system.notificationScheduleField.invertedScheduleShownAsBands`,`Inverted schedule — shown as bands. Clear the invert flag (or the windows) to author punctual times.`)}),o(jr,{value:e,onChange:t,emptyHint:kr})]});let l=s.times,u=e=>{if(e.length===0){t(void 0);return}t(se(e,a))};return r(`div`,{className:`mt-1 space-y-2`,"data-testid":`schedule-field-times`,children:[s.approximated&&o(`p`,{className:`text-[10px] text-foreground-subtle mt-0.5`,"data-testid":`schedule-field-times-approximated`,children:i(`system.notificationScheduleField.shownAsSendAtTimes`,`Shown as send-at times from each window's end (when the summary fires). Edit or save to store them as punctual one-minute windows.`)}),l.length===0?o(`p`,{className:Z,children:i(`system.notificationScheduleField.noTimesYetAddOne`,`No times yet — add one to send on those days at that clock time.`)}):l.map((e,t)=>o(Pr,{time:e,index:t,onChange:e=>u(l.map((n,r)=>r===t?e:n)),onRemove:l.length>1?()=>u(l.filter((e,n)=>n!==t)):void 0},t)),r(`button`,{type:`button`,onClick:()=>u([...l,Or(n)]),className:`flex items-center gap-1 rounded-md bg-surface-hover px-2 py-1 text-[11px] text-foreground-subtle hover:text-foreground`,"data-testid":`schedule-field-add-time`,children:[o(c,{className:`h-3 w-3`}),` `,i(`system.notificationScheduleField.addTime`)]})]})}function Nr({window:e,onChange:t,onRemove:n}){let{t:i}=D();return r(`div`,{className:`space-y-1.5 rounded-md border border-border p-2`,children:[r(`div`,{className:`flex items-center gap-2 text-xs`,children:[o(`input`,{type:`time`,value:Tr(e.startMinute),onChange:n=>t({...e,startMinute:Er(n.target.value)}),className:`rounded-md border border-border bg-background px-1 py-0.5`}),o(`span`,{className:`text-foreground-subtle`,children:`→`}),o(`input`,{type:`time`,value:Tr(e.endMinute),onChange:n=>t({...e,endMinute:Er(n.target.value)}),className:`rounded-md border border-border bg-background px-1 py-0.5`}),o(`span`,{className:`flex-1`}),o(`button`,{type:`button`,onClick:n,"aria-label":i(`system.notificationScheduleField.removeWindow`,`Remove window`),className:`text-foreground-subtle hover:text-danger`,children:o(s,{className:`h-3.5 w-3.5`})})]}),o(Fr,{days:e.days,onToggle:n=>{let r=e.days.includes(n)?e.days.filter(e=>e!==n):[...e.days,n];r.length!==0&&t({...e,days:r})}})]})}function Pr({time:e,index:t,onChange:n,onRemove:i}){let{t:a}=D();return r(`div`,{className:`space-y-1.5 rounded-md border border-border p-2`,children:[r(`div`,{className:`flex items-center gap-2 text-xs`,children:[o(`span`,{className:`text-foreground-subtle`,children:a(`system.notificationScheduleField.at`,`At`)}),o(`input`,{type:`time`,value:vr(e.minute),onChange:t=>n({...e,minute:yr(t.target.value)}),className:`rounded-md border border-border bg-background px-1 py-0.5`,"data-testid":`schedule-field-time-${String(t)}`}),o(`span`,{className:`flex-1`}),i!==void 0&&o(`button`,{type:`button`,onClick:i,"aria-label":a(`system.notificationScheduleField.removeTime`,`Remove time`),className:`text-foreground-subtle hover:text-danger`,children:o(s,{className:`h-3.5 w-3.5`})})]}),o(Fr,{days:e.days,onToggle:t=>{let r=e.days.includes(t)?e.days.filter(e=>e!==t):[...e.days,t];r.length!==0&&n({...e,days:r})}})]})}function Fr({days:e,onToggle:t}){return o(`div`,{className:`flex flex-wrap gap-1`,children:_r.map(n=>o(`button`,{type:`button`,onClick:()=>t(n.value),className:`rounded px-1.5 py-0.5 text-[10px] ${e.includes(n.value)?`bg-primary text-primary-foreground`:`bg-surface-hover text-foreground-subtle`}`,children:n.label},n.value))})}export{qt as $,A as $t,dn as A,at as At,bn as B,st as Bt,Zn as C,pt as Ct,Un as D,N as Dt,Wn as E,F as Et,gn as F,Qe as Ft,K as G,mt as Gt,fn as H,kt as Ht,En as I,$e as It,an as J,vt as Jt,q as K,et as Kt,hn as L,Dt as Lt,Nn as M,bt as Mt,xn as N,L as Nt,Rn as O,xt as Ot,yn as P,dt as Pt,rn as Q,tt as Qt,Y as R,it as Rt,Yn as S,ut as St,Gn as T,Xe as Tt,Tn as U,ft as Ut,Sn as V,yt as Vt,ln as W,ht as Wt,sn as X,_t as Xt,on as Y,gt as Yt,cn as Z,Ct as Zt,nr as _,Ge as _n,Nt as _t,wr as a,Ue as an,Xt as at,Xn as b,Ot as bt,tr as c,Be as cn,Ht as ct,Z as d,We as dn,Ut as dt,Je as en,G as et,er as f,Re as fn,Bt as ft,gr as g,Ke as gn,B as gt,pr as h,He as hn,Ft as ht,Cr as i,je as in,Qt as it,On as j,St as jt,un as k,Et as kt,mr as l,Le as ln,It as lt,ur as m,Me as mn,Gt as mt,$ as n,Ve as nn,en as nt,fr as o,Ne as on,Zt as ot,ir as p,Fe as pn,Wt as pt,J as q,nt as qt,Sr as r,Ie as rn,W as rt,ar as s,Pe as sn,Yt as st,Ar as t,k as tn,$t as tt,cr as u,ze as un,Kt as ut,rr as v,Rt as vt,qn as w,P as wt,Jn as x,M as xt,sr as y,I as yt,Cn as z,ot as zt};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$i as e}from"./player-overlays-
|
|
1
|
+
import{$i as e}from"./player-overlays-D0U2dNvn.js";var t=e(`octagon-alert`,[[`path`,{d:`M12 16h.01`,key:`1drbdi`}],[`path`,{d:`M12 8v4`,key:`1got3b`}],[`path`,{d:`M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z`,key:`1fd625`}]]);export{t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$ as e,A as t,B as n,D as r,G as i,J as a,L as o,O as s,R as c,S as l,V as u,Y as d,b as f,k as p,x as m}from"./_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-CEHpkaJP.js";import{It as h}from"./client-DYbvGOid.js";e();var ee=/\{\{\s*(\w+)\s*\}\}/g;function te(e,t){return typeof e==`string`?e:t===1?e.one:e.other}var g=(e,t,n)=>{let r=te(t,n?.count);return n?r.replace(ee,(e,t)=>{let r=n[t];return r==null?e:String(r)}):r},_=s(g);function ne({t:e,children:t}){return m(_.Provider,{value:e,children:t})}function v(){return c(_)}var re=/<(\d+)>([\s\S]*?)<\/\1>/g;function y(e,t){let n=[],i=0;for(let a of e.matchAll(re)){let o=a.index??0;o>i&&n.push(e.slice(i,o));let s=t[Number(a[1])];n.push(s?r(s,void 0,a[2]??``):a[2]??``),i=o+a[0].length}return i<e.length&&n.push(e.slice(i)),n}function ie({uiKey:e,fallback:t,components:n=[],values:r}){return m(f,{children:y(v()(e,t,r),n).map((e,t)=>m(u,{children:e},t))})}var b=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),ae=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),oe=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),x=e=>{let t=oe(e);return t.charAt(0).toUpperCase()+t.slice(1)},se={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},ce=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1};e();var le=t(({color:e=`currentColor`,size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},c)=>p(`svg`,{ref:c,...se,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:b(`lucide`,i),...!a&&!ce(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>p(e,t)),...Array.isArray(a)?a:[a]]));e();var S=(e,n)=>{let r=t(({className:t,...r},i)=>p(le,{ref:i,iconNode:n,className:b(`lucide-${ae(x(e))}`,`lucide-${e}`,t),...r}));return r.displayName=x(e),r},ue=S(`activity`,[[`path`,{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2`,key:`169zse`}]]),de=S(`air-vent`,[[`path`,{d:`M18 17.5a2.5 2.5 0 1 1-4 2.03V12`,key:`yd12zl`}],[`path`,{d:`M6 12H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2`,key:`larmp2`}],[`path`,{d:`M6 8h12`,key:`6g4wlu`}],[`path`,{d:`M6.6 15.572A2 2 0 1 0 10 17v-5`,key:`1x1kqn`}]]),fe=S(`alarm-smoke`,[[`path`,{d:`M11 21c0-2.5 2-2.5 2-5`,key:`1sicvv`}],[`path`,{d:`M16 21c0-2.5 2-2.5 2-5`,key:`1o3eny`}],[`path`,{d:`m19 8-.8 3a1.25 1.25 0 0 1-1.2 1H7a1.25 1.25 0 0 1-1.2-1L5 8`,key:`1bvca4`}],[`path`,{d:`M21 3a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a1 1 0 0 1 1-1z`,key:`x3qr1j`}],[`path`,{d:`M6 21c0-2.5 2-2.5 2-5`,key:`i3w1gp`}]]),pe=S(`arrow-down-to-line`,[[`path`,{d:`M12 17V3`,key:`1cwfxf`}],[`path`,{d:`m6 11 6 6 6-6`,key:`12ii2o`}],[`path`,{d:`M19 21H5`,key:`150jfl`}]]),me=S(`arrow-down`,[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]]),he=S(`arrow-left`,[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]),ge=S(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),_e=S(`arrow-up-to-line`,[[`path`,{d:`M5 3h14`,key:`7usisc`}],[`path`,{d:`m18 13-6-6-6 6`,key:`1kf1n9`}],[`path`,{d:`M12 7v14`,key:`1akyts`}]]),ve=S(`arrow-up`,[[`path`,{d:`m5 12 7-7 7 7`,key:`hav0vg`}],[`path`,{d:`M12 19V5`,key:`x0mq9r`}]]),ye=S(`baby`,[[`path`,{d:`M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5`,key:`1u7htd`}],[`path`,{d:`M15 12h.01`,key:`1k8ypt`}],[`path`,{d:`M19.38 6.813A9 9 0 0 1 20.8 10.2a2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6A9 9 0 0 1 12 3c2 0 3.5 1.1 3.5 2.5s-.9 2.5-2 2.5c-.8 0-1.5-.4-1.5-1`,key:`11xh7x`}],[`path`,{d:`M9 12h.01`,key:`157uk2`}]]),be=S(`ban`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M4.929 4.929 19.07 19.071`,key:`196cmz`}]]),xe=S(`bath`,[[`path`,{d:`M10 4 8 6`,key:`1rru8s`}],[`path`,{d:`M17 19v2`,key:`ts1sot`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}],[`path`,{d:`M7 19v2`,key:`12npes`}],[`path`,{d:`M9 5 7.621 3.621A2.121 2.121 0 0 0 4 5v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5`,key:`14ym8i`}]]),Se=S(`battery-full`,[[`path`,{d:`M10 10v4`,key:`1mb2ec`}],[`path`,{d:`M14 10v4`,key:`1nt88p`}],[`path`,{d:`M22 14v-4`,key:`14q9d5`}],[`path`,{d:`M6 10v4`,key:`1n77qd`}],[`rect`,{x:`2`,y:`6`,width:`16`,height:`12`,rx:`2`,key:`13zb55`}]]),C=S(`battery-low`,[[`path`,{d:`M22 14v-4`,key:`14q9d5`}],[`path`,{d:`M6 14v-4`,key:`14a6bd`}],[`rect`,{x:`2`,y:`6`,width:`16`,height:`12`,rx:`2`,key:`13zb55`}]]),w=S(`battery-medium`,[[`path`,{d:`M10 14v-4`,key:`suye4c`}],[`path`,{d:`M22 14v-4`,key:`14q9d5`}],[`path`,{d:`M6 14v-4`,key:`14a6bd`}],[`rect`,{x:`2`,y:`6`,width:`16`,height:`12`,rx:`2`,key:`13zb55`}]]),T=S(`battery-warning`,[[`path`,{d:`M10 17h.01`,key:`nbq80n`}],[`path`,{d:`M10 7v6`,key:`nne03l`}],[`path`,{d:`M14 6h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2`,key:`1m83kb`}],[`path`,{d:`M22 14v-4`,key:`14q9d5`}],[`path`,{d:`M6 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2`,key:`h8lgfh`}]]),E=S(`battery`,[[`path`,{d:`M 22 14 L 22 10`,key:`nqc4tb`}],[`rect`,{x:`2`,y:`6`,width:`16`,height:`12`,rx:`2`,key:`13zb55`}]]),D=S(`bell-ring`,[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`,key:`vwvbt9`}],[`path`,{d:`M22 8c0-2.3-.8-4.3-2-6`,key:`5bb3ad`}],[`path`,{d:`M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326`,key:`11g9vi`}],[`path`,{d:`M4 2C2.8 3.7 2 5.7 2 8`,key:`tap9e0`}]]),O=S(`bell`,[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`,key:`vwvbt9`}],[`path`,{d:`M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326`,key:`11g9vi`}]]),k=S(`bike`,[[`circle`,{cx:`18.5`,cy:`17.5`,r:`3.5`,key:`15x4ox`}],[`circle`,{cx:`5.5`,cy:`17.5`,r:`3.5`,key:`1noe27`}],[`circle`,{cx:`15`,cy:`5`,r:`1`,key:`19l28e`}],[`path`,{d:`M12 17.5V14l-3-3 4-3 2 3h2`,key:`1npguv`}]]),A=S(`bird`,[[`path`,{d:`M16 7h.01`,key:`1kdx03`}],[`path`,{d:`M3.4 18H12a8 8 0 0 0 8-8V7a4 4 0 0 0-7.28-2.3L2 20`,key:`oj1oa8`}],[`path`,{d:`m20 7 2 .5-2 .5`,key:`12nv4d`}],[`path`,{d:`M10 18v3`,key:`1yea0a`}],[`path`,{d:`M14 17.75V21`,key:`1pymcb`}],[`path`,{d:`M7 18a6 6 0 0 0 3.84-10.61`,key:`1npnn0`}]]),j=S(`blinds`,[[`path`,{d:`M3 3h18`,key:`o7r712`}],[`path`,{d:`M20 7H8`,key:`gd2fo2`}],[`path`,{d:`M20 11H8`,key:`1ynp89`}],[`path`,{d:`M10 19h10`,key:`19hjk5`}],[`path`,{d:`M8 15h12`,key:`1yqzne`}],[`path`,{d:`M4 3v14`,key:`fggqzn`}],[`circle`,{cx:`4`,cy:`19`,r:`2`,key:`p3m9r0`}]]),Ce=S(`bone`,[[`path`,{d:`M17 10c.7-.7 1.69 0 2.5 0a2.5 2.5 0 1 0 0-5 .5.5 0 0 1-.5-.5 2.5 2.5 0 1 0-5 0c0 .81.7 1.8 0 2.5l-7 7c-.7.7-1.69 0-2.5 0a2.5 2.5 0 0 0 0 5c.28 0 .5.22.5.5a2.5 2.5 0 1 0 5 0c0-.81-.7-1.8 0-2.5Z`,key:`w610uw`}]]),we=S(`bot`,[[`path`,{d:`M12 8V4H8`,key:`hb8ula`}],[`rect`,{width:`16`,height:`12`,x:`4`,y:`8`,rx:`2`,key:`enze0r`}],[`path`,{d:`M2 14h2`,key:`vft8re`}],[`path`,{d:`M20 14h2`,key:`4cs60a`}],[`path`,{d:`M15 13v2`,key:`1xurst`}],[`path`,{d:`M9 13v2`,key:`rq6x2g`}]]),Te=S(`box`,[[`path`,{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`,key:`hh9hay`}],[`path`,{d:`m3.3 7 8.7 5 8.7-5`,key:`g66t2b`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}]]),Ee=S(`bug`,[[`path`,{d:`M12 20v-9`,key:`1qisl0`}],[`path`,{d:`M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z`,key:`uouzyp`}],[`path`,{d:`M14.12 3.88 16 2`,key:`qol33r`}],[`path`,{d:`M21 21a4 4 0 0 0-3.81-4`,key:`1b0z45`}],[`path`,{d:`M21 5a4 4 0 0 1-3.55 3.97`,key:`5cxbf6`}],[`path`,{d:`M22 13h-4`,key:`1jl80f`}],[`path`,{d:`M3 21a4 4 0 0 1 3.81-4`,key:`1fjd4g`}],[`path`,{d:`M3 5a4 4 0 0 0 3.55 3.97`,key:`1d7oge`}],[`path`,{d:`M6 13H2`,key:`82j7cp`}],[`path`,{d:`m8 2 1.88 1.88`,key:`fmnt4t`}],[`path`,{d:`M9 7.13V6a3 3 0 1 1 6 0v1.13`,key:`1vgav8`}]]),De=S(`bus`,[[`path`,{d:`M8 6v6`,key:`18i7km`}],[`path`,{d:`M15 6v6`,key:`1sg6z9`}],[`path`,{d:`M2 12h19.6`,key:`de5uta`}],[`path`,{d:`M18 18h3s.5-1.7.8-2.8c.1-.4.2-.8.2-1.2 0-.4-.1-.8-.2-1.2l-1.4-5C20.1 6.8 19.1 6 18 6H4a2 2 0 0 0-2 2v10h3`,key:`1wwztk`}],[`circle`,{cx:`7`,cy:`18`,r:`2`,key:`19iecd`}],[`path`,{d:`M9 18h5`,key:`lrx6i`}],[`circle`,{cx:`16`,cy:`18`,r:`2`,key:`1v4tcr`}]]),Oe=S(`cable`,[[`path`,{d:`M17 19a1 1 0 0 1-1-1v-2a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1z`,key:`trhst0`}],[`path`,{d:`M17 21v-2`,key:`ds4u3f`}],[`path`,{d:`M19 14V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V10`,key:`1mo9zo`}],[`path`,{d:`M21 21v-2`,key:`eo0ou`}],[`path`,{d:`M3 5V3`,key:`1k5hjh`}],[`path`,{d:`M4 10a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2z`,key:`1dd30t`}],[`path`,{d:`M7 5V3`,key:`1t1388`}]]),ke=S(`camera`,[[`path`,{d:`M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z`,key:`18u6gg`}],[`circle`,{cx:`12`,cy:`13`,r:`3`,key:`1vg3eu`}]]),Ae=S(`car`,[[`path`,{d:`M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2`,key:`5owen`}],[`circle`,{cx:`7`,cy:`17`,r:`2`,key:`u2ysq9`}],[`path`,{d:`M9 17h6`,key:`r8uit2`}],[`circle`,{cx:`17`,cy:`17`,r:`2`,key:`axvx0g`}]]),je=S(`cast`,[[`path`,{d:`M2 8V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6`,key:`3zrzxg`}],[`path`,{d:`M2 12a9 9 0 0 1 8 8`,key:`g6cvee`}],[`path`,{d:`M2 16a5 5 0 0 1 4 4`,key:`1y1dii`}],[`line`,{x1:`2`,x2:`2.01`,y1:`20`,y2:`20`,key:`xu2jvo`}]]),Me=S(`cat`,[[`path`,{d:`M12 5c.67 0 1.35.09 2 .26 1.78-2 5.03-2.84 6.42-2.26 1.4.58-.42 7-.42 7 .57 1.07 1 2.24 1 3.44C21 17.9 16.97 21 12 21s-9-3-9-7.56c0-1.25.5-2.4 1-3.44 0 0-1.89-6.42-.5-7 1.39-.58 4.72.23 6.5 2.23A9.04 9.04 0 0 1 12 5Z`,key:`x6xyqk`}],[`path`,{d:`M8 14v.5`,key:`1nzgdb`}],[`path`,{d:`M16 14v.5`,key:`1lajdz`}],[`path`,{d:`M11.25 16.25h1.5L12 17l-.75-.75Z`,key:`12kq1m`}]]),Ne=S(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),M=S(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),Pe=S(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),N=S(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),Fe=S(`chevron-up`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),Ie=S(`chevrons-down-up`,[[`path`,{d:`m7 20 5-5 5 5`,key:`13a0gw`}],[`path`,{d:`m7 4 5 5 5-5`,key:`1kwcof`}]]),Le=S(`chevrons-up-down`,[[`path`,{d:`m7 15 5 5 5-5`,key:`1hf1tw`}],[`path`,{d:`m7 9 5-5 5 5`,key:`sgt6xg`}]]),Re=S(`circle-alert`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]),ze=S(`circle-check-big`,[[`path`,{d:`M21.801 10A10 10 0 1 1 17 3.335`,key:`yps3ct`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]),Be=S(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),Ve=S(`circle-dot`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}]]),He=S(`circle-pause`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`10`,x2:`10`,y1:`15`,y2:`9`,key:`c1nkhi`}],[`line`,{x1:`14`,x2:`14`,y1:`15`,y2:`9`,key:`h65svq`}]]),Ue=S(`circle-plus`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}],[`path`,{d:`M12 8v8`,key:`napkw2`}]]),We=S(`circle-question-mark`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`,key:`1u773s`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),Ge=S(`circle-stop`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`rect`,{x:`9`,y:`9`,width:`6`,height:`6`,rx:`1`,key:`1ssd4o`}]]),Ke=S(`circle-x`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]]),qe=S(`clapperboard`,[[`path`,{d:`m12.296 3.464 3.02 3.956`,key:`qash78`}],[`path`,{d:`M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3z`,key:`1h7j8b`}],[`path`,{d:`M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`4lm6w1`}],[`path`,{d:`m6.18 5.276 3.1 3.899`,key:`zjj9t3`}]]),Je=S(`clock`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]),Ye=S(`cloud-fog`,[[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`,key:`1pljnt`}],[`path`,{d:`M16 17H7`,key:`pygtm1`}],[`path`,{d:`M17 21H9`,key:`1u2q02`}]]),Xe=S(`cloud-lightning`,[[`path`,{d:`M6 16.326A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 .5 8.973`,key:`1cez44`}],[`path`,{d:`m13 12-3 5h4l-3 5`,key:`1t22er`}]]),Ze=S(`cloud-rain`,[[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`,key:`1pljnt`}],[`path`,{d:`M16 14v6`,key:`1j4efv`}],[`path`,{d:`M8 14v6`,key:`17c4r9`}],[`path`,{d:`M12 16v6`,key:`c8a4gj`}]]),Qe=S(`cloud-snow`,[[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`,key:`1pljnt`}],[`path`,{d:`M8 15h.01`,key:`a7atzg`}],[`path`,{d:`M8 19h.01`,key:`puxtts`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}],[`path`,{d:`M12 21h.01`,key:`h35vbk`}],[`path`,{d:`M16 15h.01`,key:`rnfrdf`}],[`path`,{d:`M16 19h.01`,key:`1vcnzz`}]]),$e=S(`cloud-sun`,[[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}],[`path`,{d:`M15.947 12.65a4 4 0 0 0-5.925-4.128`,key:`dpwdj0`}],[`path`,{d:`M13 22H7a5 5 0 1 1 4.9-6H13a3 3 0 0 1 0 6Z`,key:`s09mg5`}]]),et=S(`cloud`,[[`path`,{d:`M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z`,key:`p7xjir`}]]),tt=S(`cog`,[[`path`,{d:`M11 10.27 7 3.34`,key:`16pf9h`}],[`path`,{d:`m11 13.73-4 6.93`,key:`794ttg`}],[`path`,{d:`M12 22v-2`,key:`1osdcq`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M14 12h8`,key:`4f43i9`}],[`path`,{d:`m17 20.66-1-1.73`,key:`eq3orb`}],[`path`,{d:`m17 3.34-1 1.73`,key:`2wel8s`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`m20.66 17-1.73-1`,key:`sg0v6f`}],[`path`,{d:`m20.66 7-1.73 1`,key:`1ow05n`}],[`path`,{d:`m3.34 17 1.73-1`,key:`nuk764`}],[`path`,{d:`m3.34 7 1.73 1`,key:`1ulond`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}],[`circle`,{cx:`12`,cy:`12`,r:`8`,key:`46899m`}]]),nt=S(`copy`,[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]),rt=S(`cpu`,[[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M17 20v2`,key:`1rnc9c`}],[`path`,{d:`M17 2v2`,key:`11trls`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M2 17h2`,key:`7oei6x`}],[`path`,{d:`M2 7h2`,key:`asdhe0`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`M20 17h2`,key:`1fpfkl`}],[`path`,{d:`M20 7h2`,key:`1o8tra`}],[`path`,{d:`M7 20v2`,key:`4gnj0m`}],[`path`,{d:`M7 2v2`,key:`1i4yhu`}],[`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,rx:`2`,key:`1vbyd7`}],[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`1`,key:`z9xiuo`}]]),it=S(`crosshair`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`22`,x2:`18`,y1:`12`,y2:`12`,key:`l9bcsi`}],[`line`,{x1:`6`,x2:`2`,y1:`12`,y2:`12`,key:`13hhkx`}],[`line`,{x1:`12`,x2:`12`,y1:`6`,y2:`2`,key:`10w3f3`}],[`line`,{x1:`12`,x2:`12`,y1:`22`,y2:`18`,key:`15g9kq`}]]),at=S(`database`,[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`,key:`msslwz`}],[`path`,{d:`M3 5V19A9 3 0 0 0 21 19V5`,key:`1wlel7`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`,key:`mv7ke4`}]]),ot=S(`dog`,[[`path`,{d:`M11.25 16.25h1.5L12 17z`,key:`w7jh35`}],[`path`,{d:`M16 14v.5`,key:`1lajdz`}],[`path`,{d:`M4.42 11.247A13.152 13.152 0 0 0 4 14.556C4 18.728 7.582 21 12 21s8-2.272 8-6.444a11.702 11.702 0 0 0-.493-3.309`,key:`u7s9ue`}],[`path`,{d:`M8 14v.5`,key:`1nzgdb`}],[`path`,{d:`M8.5 8.5c-.384 1.05-1.083 2.028-2.344 2.5-1.931.722-3.576-.297-3.656-1-.113-.994 1.177-6.53 4-7 1.923-.321 3.651.845 3.651 2.235A7.497 7.497 0 0 1 14 5.277c0-1.39 1.844-2.598 3.767-2.277 2.823.47 4.113 6.006 4 7-.08.703-1.725 1.722-3.656 1-1.261-.472-1.855-1.45-2.239-2.5`,key:`v8hric`}]]),st=S(`door-closed`,[[`path`,{d:`M10 12h.01`,key:`1kxr2c`}],[`path`,{d:`M18 20V6a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v14`,key:`36qu9e`}],[`path`,{d:`M2 20h20`,key:`owomy5`}]]),ct=S(`door-open`,[[`path`,{d:`M11 20H2`,key:`nlcfvz`}],[`path`,{d:`M11 4.562v16.157a1 1 0 0 0 1.242.97L19 20V5.562a2 2 0 0 0-1.515-1.94l-4-1A2 2 0 0 0 11 4.561z`,key:`au4z13`}],[`path`,{d:`M11 4H8a2 2 0 0 0-2 2v14`,key:`74r1mk`}],[`path`,{d:`M14 12h.01`,key:`1jfl7z`}],[`path`,{d:`M22 20h-3`,key:`vhrsz`}]]),lt=S(`download`,[[`path`,{d:`M12 15V3`,key:`m9g1x1`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}],[`path`,{d:`m7 10 5 5 5-5`,key:`brsn70`}]]),ut=S(`droplet`,[[`path`,{d:`M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z`,key:`c7niix`}]]),dt=S(`droplets`,[[`path`,{d:`M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z`,key:`1ptgy4`}],[`path`,{d:`M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97`,key:`1sl1rz`}]]),ft=S(`ellipsis-vertical`,[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`12`,cy:`5`,r:`1`,key:`gxeob9`}],[`circle`,{cx:`12`,cy:`19`,r:`1`,key:`lyex9k`}]]),pt=S(`external-link`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]),mt=S(`eye-off`,[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),ht=S(`eye`,[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),gt=S(`fan`,[[`path`,{d:`M10.827 16.379a6.082 6.082 0 0 1-8.618-7.002l5.412 1.45a6.082 6.082 0 0 1 7.002-8.618l-1.45 5.412a6.082 6.082 0 0 1 8.618 7.002l-5.412-1.45a6.082 6.082 0 0 1-7.002 8.618l1.45-5.412Z`,key:`484a7f`}],[`path`,{d:`M12 12v.01`,key:`u5ubse`}]]),_t=S(`feather`,[[`path`,{d:`M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z`,key:`18jl4k`}],[`path`,{d:`M16 8 2 22`,key:`vp34q`}],[`path`,{d:`M17.5 15H9`,key:`1oz8nu`}]]),vt=S(`film`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M7 3v18`,key:`bbkbws`}],[`path`,{d:`M3 7.5h4`,key:`zfgn84`}],[`path`,{d:`M3 12h18`,key:`1i2n21`}],[`path`,{d:`M3 16.5h4`,key:`1230mu`}],[`path`,{d:`M17 3v18`,key:`in4fa5`}],[`path`,{d:`M17 7.5h4`,key:`myr1c1`}],[`path`,{d:`M17 16.5h4`,key:`go4c1d`}]]),yt=S(`flame`,[[`path`,{d:`M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4`,key:`1slcih`}]]),bt=S(`flashlight-off`,[[`path`,{d:`M11.652 6H18`,key:`voqkpr`}],[`path`,{d:`M12 13v1`,key:`176q98`}],[`path`,{d:`M16 16v4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-8a4 4 0 0 0-.8-2.4l-.6-.8A3 3 0 0 1 6 7V6`,key:`dzyf92`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M7.649 2H17a1 1 0 0 1 1 1v4a3 3 0 0 1-.6 1.8l-.6.8a4 4 0 0 0-.55 1.007`,key:`1hvcfn`}]]),xt=S(`flashlight`,[[`path`,{d:`M12 13v1`,key:`176q98`}],[`path`,{d:`M17 2a1 1 0 0 1 1 1v4a3 3 0 0 1-.6 1.8l-.6.8A4 4 0 0 0 16 12v8a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2v-8a4 4 0 0 0-.8-2.4l-.6-.8A3 3 0 0 1 6 7V3a1 1 0 0 1 1-1z`,key:`17vh7j`}],[`path`,{d:`M6 6h12`,key:`n6hhss`}]]),St=S(`flask-conical`,[[`path`,{d:`M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2`,key:`18mbvz`}],[`path`,{d:`M6.453 15h11.094`,key:`3shlmq`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}]]),Ct=S(`footprints`,[[`path`,{d:`M4 16v-2.38C4 11.5 2.97 10.5 3 8c.03-2.72 1.49-6 4.5-6C9.37 2 10 3.8 10 5.5c0 3.11-2 5.66-2 8.68V16a2 2 0 1 1-4 0Z`,key:`1dudjm`}],[`path`,{d:`M20 20v-2.38c0-2.12 1.03-3.12 1-5.62-.03-2.72-1.49-6-4.5-6C14.63 6 14 7.8 14 9.5c0 3.11 2 5.66 2 8.68V20a2 2 0 1 0 4 0Z`,key:`l2t8xc`}],[`path`,{d:`M16 17h4`,key:`1dejxt`}],[`path`,{d:`M4 13h4`,key:`1bwh8b`}]]),wt=S(`funnel`,[[`path`,{d:`M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z`,key:`sc7q7i`}]]),Tt=S(`gamepad-2`,[[`line`,{x1:`6`,x2:`10`,y1:`11`,y2:`11`,key:`1gktln`}],[`line`,{x1:`8`,x2:`8`,y1:`9`,y2:`13`,key:`qnk9ow`}],[`line`,{x1:`15`,x2:`15.01`,y1:`12`,y2:`12`,key:`krot7o`}],[`line`,{x1:`18`,x2:`18.01`,y1:`10`,y2:`10`,key:`1lcuu1`}],[`path`,{d:`M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z`,key:`mfqc10`}]]),Et=S(`gauge`,[[`path`,{d:`m12 14 4-4`,key:`9kzdfg`}],[`path`,{d:`M3.34 19a10 10 0 1 1 17.32 0`,key:`19p75a`}]]),Dt=S(`graduation-cap`,[[`path`,{d:`M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z`,key:`j76jl0`}],[`path`,{d:`M22 10v6`,key:`1lu8f3`}],[`path`,{d:`M6 12.5V16a6 3 0 0 0 12 0v-3.5`,key:`1r8lef`}]]),Ot=S(`grid-2x2`,[[`path`,{d:`M12 3v18`,key:`108xh3`}],[`path`,{d:`M3 12h18`,key:`1i2n21`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}]]),kt=S(`grip-horizontal`,[[`circle`,{cx:`12`,cy:`9`,r:`1`,key:`124mty`}],[`circle`,{cx:`19`,cy:`9`,r:`1`,key:`1ruzo2`}],[`circle`,{cx:`5`,cy:`9`,r:`1`,key:`1a8b28`}],[`circle`,{cx:`12`,cy:`15`,r:`1`,key:`1e56xg`}],[`circle`,{cx:`19`,cy:`15`,r:`1`,key:`1a92ep`}],[`circle`,{cx:`5`,cy:`15`,r:`1`,key:`5r1jwy`}]]),At=S(`hammer`,[[`path`,{d:`m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9`,key:`1hayfq`}],[`path`,{d:`m18 15 4-4`,key:`16gjal`}],[`path`,{d:`m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5`,key:`15ts47`}]]),jt=S(`hand`,[[`path`,{d:`M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2`,key:`1fvzgz`}],[`path`,{d:`M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2`,key:`1kc0my`}],[`path`,{d:`M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8`,key:`10h0bg`}],[`path`,{d:`M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15`,key:`1s1gnw`}]]),Mt=S(`hard-drive`,[[`path`,{d:`M10 16h.01`,key:`1bzywj`}],[`path`,{d:`M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`18tbho`}],[`path`,{d:`M21.946 12.013H2.054`,key:`zqlbp7`}],[`path`,{d:`M6 16h.01`,key:`1pmjb7`}]]),Nt=S(`hash`,[[`line`,{x1:`4`,x2:`20`,y1:`9`,y2:`9`,key:`4lhtct`}],[`line`,{x1:`4`,x2:`20`,y1:`15`,y2:`15`,key:`vyu0kd`}],[`line`,{x1:`10`,x2:`8`,y1:`3`,y2:`21`,key:`1ggp8o`}],[`line`,{x1:`16`,x2:`14`,y1:`3`,y2:`21`,key:`weycgp`}]]),Pt=S(`house`,[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`,key:`5wwlr5`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`r6nss1`}]]),Ft=S(`image-off`,[[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}],[`path`,{d:`M10.41 10.41a2 2 0 1 1-2.83-2.83`,key:`1bzlo9`}],[`line`,{x1:`13.5`,x2:`6`,y1:`13.5`,y2:`21`,key:`1q0aeu`}],[`line`,{x1:`18`,x2:`21`,y1:`12`,y2:`15`,key:`5mozeu`}],[`path`,{d:`M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59`,key:`mmje98`}],[`path`,{d:`M21 15V5a2 2 0 0 0-2-2H9`,key:`43el77`}]]),It=S(`image`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]),Lt=S(`inbox`,[[`polyline`,{points:`22 12 16 12 14 15 10 15 8 12 2 12`,key:`o97t9d`}],[`path`,{d:`M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`oot6mr`}]]),Rt=S(`info`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]),zt=S(`laugh`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M18 13a6 6 0 0 1-6 5 6 6 0 0 1-6-5h12Z`,key:`b2q4dd`}],[`line`,{x1:`9`,x2:`9.01`,y1:`9`,y2:`9`,key:`yxxnd0`}],[`line`,{x1:`15`,x2:`15.01`,y1:`9`,y2:`9`,key:`1p4y9e`}]]),Bt=S(`layout-grid`,[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`,key:`6d4xhi`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}]]),Vt=S(`leaf`,[[`path`,{d:`M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z`,key:`nnexq3`}],[`path`,{d:`M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12`,key:`mt58a7`}]]),Ht=S(`lightbulb`,[[`path`,{d:`M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5`,key:`1gvzjb`}],[`path`,{d:`M9 18h6`,key:`x1upvd`}],[`path`,{d:`M10 22h4`,key:`ceow96`}]]),Ut=S(`link-2`,[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7h2`,key:`8i5ue5`}],[`path`,{d:`M15 7h2a5 5 0 1 1 0 10h-2`,key:`1b9ql8`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}]]),Wt=S(`list-checks`,[[`path`,{d:`M13 5h8`,key:`a7qcls`}],[`path`,{d:`M13 12h8`,key:`h98zly`}],[`path`,{d:`M13 19h8`,key:`c3s6r1`}],[`path`,{d:`m3 17 2 2 4-4`,key:`1jhpwq`}],[`path`,{d:`m3 7 2 2 4-4`,key:`1obspn`}]]),Gt=S(`list`,[[`path`,{d:`M3 5h.01`,key:`18ugdj`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M3 19h.01`,key:`noohij`}],[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M8 12h13`,key:`1za7za`}],[`path`,{d:`M8 19h13`,key:`m83p4d`}]]),Kt=S(`loader-circle`,[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]]),qt=S(`locate-fixed`,[[`line`,{x1:`2`,x2:`5`,y1:`12`,y2:`12`,key:`bvdh0s`}],[`line`,{x1:`19`,x2:`22`,y1:`12`,y2:`12`,key:`1tbv5k`}],[`line`,{x1:`12`,x2:`12`,y1:`2`,y2:`5`,key:`11lu5j`}],[`line`,{x1:`12`,x2:`12`,y1:`19`,y2:`22`,key:`x3vr5v`}],[`circle`,{cx:`12`,cy:`12`,r:`7`,key:`fim9np`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),Jt=S(`lock-open`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 9.9-1`,key:`1mm8w8`}]]),Yt=S(`lock`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]),Xt=S(`mail`,[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`,key:`132q7q`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]),Zt=S(`map-pin`,[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}]]),Qt=S(`maximize-2`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`m21 3-7 7`,key:`1l2asr`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M9 21H3v-6`,key:`wtvkvv`}]]),$t=S(`megaphone`,[[`path`,{d:`M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z`,key:`q8bfy3`}],[`path`,{d:`M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14`,key:`1853fq`}],[`path`,{d:`M8 6v8`,key:`15ugcq`}]]),en=S(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),tn=S(`message-square`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}]]),nn=S(`mic`,[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M19 10v2a7 7 0 0 1-14 0v-2`,key:`1vc78b`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`13`,rx:`3`,key:`s6n7sd`}]]),rn=S(`minimize-2`,[[`path`,{d:`m14 10 7-7`,key:`oa77jy`}],[`path`,{d:`M20 10h-6V4`,key:`mjg0md`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M4 14h6v6`,key:`rmj7iw`}]]),an=S(`minus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]),on=S(`monitor-play`,[[`path`,{d:`M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z`,key:`vbtd3f`}],[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}],[`rect`,{x:`2`,y:`3`,width:`20`,height:`14`,rx:`2`,key:`x3v2xh`}]]),sn=S(`moon`,[[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`,key:`kfwtm`}]]),cn=S(`mouse-pointer-click`,[[`path`,{d:`M14 4.1 12 6`,key:`ita8i4`}],[`path`,{d:`m5.1 8-2.9-.8`,key:`1go3kf`}],[`path`,{d:`m6 12-1.9 2`,key:`mnht97`}],[`path`,{d:`M7.2 2.2 8 5.1`,key:`1cfko1`}],[`path`,{d:`M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z`,key:`s0h3yz`}]]),ln=S(`move-horizontal`,[[`path`,{d:`m18 8 4 4-4 4`,key:`1ak13k`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}],[`path`,{d:`m6 8-4 4 4 4`,key:`15zrgr`}]]),un=S(`move-vertical`,[[`path`,{d:`M12 2v20`,key:`t6zp3m`}],[`path`,{d:`m8 18 4 4 4-4`,key:`bh5tu3`}],[`path`,{d:`m8 6 4-4 4 4`,key:`ybng9g`}]]),dn=S(`move`,[[`path`,{d:`M12 2v20`,key:`t6zp3m`}],[`path`,{d:`m15 19-3 3-3-3`,key:`11eu04`}],[`path`,{d:`m19 9 3 3-3 3`,key:`1mg7y2`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}],[`path`,{d:`m5 9-3 3 3 3`,key:`j64kie`}],[`path`,{d:`m9 5 3-3 3 3`,key:`l8vdw6`}]]),fn=S(`music`,[[`path`,{d:`M9 18V5l12-2v13`,key:`1jmyc2`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}],[`circle`,{cx:`18`,cy:`16`,r:`3`,key:`1hluhg`}]]),pn=S(`navigation`,[[`polygon`,{points:`3 11 22 2 13 21 11 13 3 11`,key:`1ltx0t`}]]),mn=S(`network`,[[`rect`,{x:`16`,y:`16`,width:`6`,height:`6`,rx:`1`,key:`4q2zg0`}],[`rect`,{x:`2`,y:`16`,width:`6`,height:`6`,rx:`1`,key:`8cvhb9`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`6`,rx:`1`,key:`1egb70`}],[`path`,{d:`M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3`,key:`1jsf9p`}],[`path`,{d:`M12 12V8`,key:`2874zd`}]]),hn=S(`package`,[[`path`,{d:`M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z`,key:`1a0edw`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}],[`polyline`,{points:`3.29 7 12 12 20.71 7`,key:`ousv84`}],[`path`,{d:`m7.5 4.27 9 5.15`,key:`1c824w`}]]),gn=S(`pause`,[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`kaeet6`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`1wsw3u`}]]),_n=S(`paw-print`,[[`circle`,{cx:`11`,cy:`4`,r:`2`,key:`vol9p0`}],[`circle`,{cx:`18`,cy:`8`,r:`2`,key:`17gozi`}],[`circle`,{cx:`20`,cy:`16`,r:`2`,key:`1v9bxh`}],[`path`,{d:`M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z`,key:`1ydw1z`}]]),vn=S(`pencil`,[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]),yn=S(`phone`,[[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`,key:`9njp5v`}]]),bn=S(`pin`,[[`path`,{d:`M12 17v5`,key:`bb1du9`}],[`path`,{d:`M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z`,key:`1nkz8b`}]]),xn=S(`pipette`,[[`path`,{d:`m12 9-8.414 8.414A2 2 0 0 0 3 18.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 3.828 21h1.344a2 2 0 0 0 1.414-.586L15 12`,key:`1y3wsu`}],[`path`,{d:`m18 9 .4.4a1 1 0 1 1-3 3l-3.8-3.8a1 1 0 1 1 3-3l.4.4 3.4-3.4a1 1 0 1 1 3 3z`,key:`110lr1`}],[`path`,{d:`m2 22 .414-.414`,key:`jhxm08`}]]),Sn=S(`plane`,[[`path`,{d:`M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z`,key:`1v9wt8`}]]),Cn=S(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]),wn=S(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]),Tn=S(`plug`,[[`path`,{d:`M12 22v-5`,key:`1ega77`}],[`path`,{d:`M15 8V2`,key:`18g5xt`}],[`path`,{d:`M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z`,key:`1xoxul`}],[`path`,{d:`M9 8V2`,key:`14iosj`}]]),En=S(`power-off`,[[`path`,{d:`M18.36 6.64A9 9 0 0 1 20.77 15`,key:`dxknvb`}],[`path`,{d:`M6.16 6.16a9 9 0 1 0 12.68 12.68`,key:`1x7qb5`}],[`path`,{d:`M12 2v4`,key:`3427ic`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),Dn=S(`power`,[[`path`,{d:`M12 2v10`,key:`mnfbl`}],[`path`,{d:`M18.4 6.6a9 9 0 1 1-12.77.04`,key:`obofu9`}]]),On=S(`puzzle`,[[`path`,{d:`M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z`,key:`w46dr5`}]]),kn=S(`qr-code`,[[`rect`,{width:`5`,height:`5`,x:`3`,y:`3`,rx:`1`,key:`1tu5fj`}],[`rect`,{width:`5`,height:`5`,x:`16`,y:`3`,rx:`1`,key:`1v8r4q`}],[`rect`,{width:`5`,height:`5`,x:`3`,y:`16`,rx:`1`,key:`1x03jg`}],[`path`,{d:`M21 16h-3a2 2 0 0 0-2 2v3`,key:`177gqh`}],[`path`,{d:`M21 21v.01`,key:`ents32`}],[`path`,{d:`M12 7v3a2 2 0 0 1-2 2H7`,key:`8crl2c`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M12 3h.01`,key:`n36tog`}],[`path`,{d:`M12 16v.01`,key:`133mhm`}],[`path`,{d:`M16 12h1`,key:`1slzba`}],[`path`,{d:`M21 12v.01`,key:`1lwtk9`}],[`path`,{d:`M12 21v-1`,key:`1880an`}]]),An=S(`radar`,[[`path`,{d:`M19.07 4.93A10 10 0 0 0 6.99 3.34`,key:`z3du51`}],[`path`,{d:`M4 6h.01`,key:`oypzma`}],[`path`,{d:`M2.29 9.62A10 10 0 1 0 21.31 8.35`,key:`qzzz0`}],[`path`,{d:`M16.24 7.76A6 6 0 1 0 8.23 16.67`,key:`1yjesh`}],[`path`,{d:`M12 18h.01`,key:`mhygvu`}],[`path`,{d:`M17.99 11.66A6 6 0 0 1 15.77 16.67`,key:`1u2y91`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}],[`path`,{d:`m13.41 10.59 5.66-5.66`,key:`mhq4k0`}]]),jn=S(`radio-tower`,[[`path`,{d:`M4.9 16.1C1 12.2 1 5.8 4.9 1.9`,key:`s0qx1y`}],[`path`,{d:`M7.8 4.7a6.14 6.14 0 0 0-.8 7.5`,key:`1idnkw`}],[`circle`,{cx:`12`,cy:`9`,r:`2`,key:`1092wv`}],[`path`,{d:`M16.2 4.8c2 2 2.26 5.11.8 7.47`,key:`ojru2q`}],[`path`,{d:`M19.1 1.9a9.96 9.96 0 0 1 0 14.1`,key:`rhi7fg`}],[`path`,{d:`M9.5 18h5`,key:`mfy3pd`}],[`path`,{d:`m8 22 4-11 4 11`,key:`25yftu`}]]),Mn=S(`radio`,[[`path`,{d:`M16.247 7.761a6 6 0 0 1 0 8.478`,key:`1fwjs5`}],[`path`,{d:`M19.075 4.933a10 10 0 0 1 0 14.134`,key:`ehdyv1`}],[`path`,{d:`M4.925 19.067a10 10 0 0 1 0-14.134`,key:`1q22gi`}],[`path`,{d:`M7.753 16.239a6 6 0 0 1 0-8.478`,key:`r2q7qm`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}]]),Nn=S(`refresh-cw`,[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]),Pn=S(`rotate-ccw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]),Fn=S(`rotate-cw`,[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]),In=S(`route`,[[`circle`,{cx:`6`,cy:`19`,r:`3`,key:`1kj8tv`}],[`path`,{d:`M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15`,key:`1d8sl`}],[`circle`,{cx:`18`,cy:`5`,r:`3`,key:`gq8acd`}]]),Ln=S(`sailboat`,[[`path`,{d:`M10 2v15`,key:`1qf71f`}],[`path`,{d:`M7 22a4 4 0 0 1-4-4 1 1 0 0 1 1-1h16a1 1 0 0 1 1 1 4 4 0 0 1-4 4z`,key:`1pxcvx`}],[`path`,{d:`M9.159 2.46a1 1 0 0 1 1.521-.193l9.977 8.98A1 1 0 0 1 20 13H4a1 1 0 0 1-.824-1.567z`,key:`5oog16`}]]),Rn=S(`save`,[[`path`,{d:`M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z`,key:`1c8476`}],[`path`,{d:`M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`,key:`1ydtos`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`,key:`t51u73`}]]),zn=S(`scan`,[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`,key:`aa7l1z`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`,key:`4qcy5o`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`,key:`6vwrx8`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`,key:`ioqczr`}]]),Bn=S(`scroll-text`,[[`path`,{d:`M15 12h-5`,key:`r7krc0`}],[`path`,{d:`M15 8h-5`,key:`1khuty`}],[`path`,{d:`M19 17V5a2 2 0 0 0-2-2H4`,key:`zz82l3`}],[`path`,{d:`M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3`,key:`1ph1d7`}]]),Vn=S(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),Hn=S(`server`,[[`rect`,{width:`20`,height:`8`,x:`2`,y:`2`,rx:`2`,ry:`2`,key:`ngkwjq`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,ry:`2`,key:`iecqi9`}],[`line`,{x1:`6`,x2:`6.01`,y1:`6`,y2:`6`,key:`16zg32`}],[`line`,{x1:`6`,x2:`6.01`,y1:`18`,y2:`18`,key:`nzw8ys`}]]),Un=S(`settings`,[[`path`,{d:`M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915`,key:`1i5ecw`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),Wn=S(`share-2`,[[`circle`,{cx:`18`,cy:`5`,r:`3`,key:`gq8acd`}],[`circle`,{cx:`6`,cy:`12`,r:`3`,key:`w7nqdw`}],[`circle`,{cx:`18`,cy:`19`,r:`3`,key:`1xt0gg`}],[`line`,{x1:`8.59`,x2:`15.42`,y1:`13.51`,y2:`17.49`,key:`47mynk`}],[`line`,{x1:`15.41`,x2:`8.59`,y1:`6.51`,y2:`10.49`,key:`1n3mei`}]]),Gn=S(`shield-alert`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`M12 8v4`,key:`1got3b`}],[`path`,{d:`M12 16h.01`,key:`1drbdi`}]]),Kn=S(`shield-check`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),qn=S(`shield-off`,[[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M5 5a1 1 0 0 0-1 1v7c0 5 3.5 7.5 7.67 8.94a1 1 0 0 0 .67.01c2.35-.82 4.48-1.97 5.9-3.71`,key:`1jlk70`}],[`path`,{d:`M9.309 3.652A12.252 12.252 0 0 0 11.24 2.28a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v7a9.784 9.784 0 0 1-.08 1.264`,key:`18rp1v`}]]),Jn=S(`shield`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}]]),Yn=S(`ship`,[[`path`,{d:`M12 10.189V14`,key:`1p8cqu`}],[`path`,{d:`M12 2v3`,key:`qbqxhf`}],[`path`,{d:`M19 13V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v6`,key:`qpkstq`}],[`path`,{d:`M19.38 20A11.6 11.6 0 0 0 21 14l-8.188-3.639a2 2 0 0 0-1.624 0L3 14a11.6 11.6 0 0 0 2.81 7.76`,key:`7tigtc`}],[`path`,{d:`M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`,key:`1924j5`}]]),Xn=S(`siren`,[[`path`,{d:`M7 18v-6a5 5 0 1 1 10 0v6`,key:`pcx96s`}],[`path`,{d:`M5 21a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2z`,key:`1b4s83`}],[`path`,{d:`M21 12h1`,key:`jtio3y`}],[`path`,{d:`M18.5 4.5 18 5`,key:`g5sp9y`}],[`path`,{d:`M2 12h1`,key:`1uaihz`}],[`path`,{d:`M12 2v1`,key:`11qlp1`}],[`path`,{d:`m4.929 4.929.707.707`,key:`1i51kw`}],[`path`,{d:`M12 12v6`,key:`3ahymv`}]]),Zn=S(`skip-back`,[[`path`,{d:`M17.971 4.285A2 2 0 0 1 21 6v12a2 2 0 0 1-3.029 1.715l-9.997-5.998a2 2 0 0 1-.003-3.432z`,key:`15892j`}],[`path`,{d:`M3 20V4`,key:`1ptbpl`}]]),Qn=S(`skip-forward`,[[`path`,{d:`M21 4v16`,key:`7j8fe9`}],[`path`,{d:`M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z`,key:`zs4d6`}]]),$n=S(`sliders-horizontal`,[[`path`,{d:`M10 5H3`,key:`1qgfaw`}],[`path`,{d:`M12 19H3`,key:`yhmn1j`}],[`path`,{d:`M14 3v4`,key:`1sua03`}],[`path`,{d:`M16 17v4`,key:`1q0r14`}],[`path`,{d:`M21 12h-9`,key:`1o4lsq`}],[`path`,{d:`M21 19h-5`,key:`1rlt1p`}],[`path`,{d:`M21 5h-7`,key:`1oszz2`}],[`path`,{d:`M8 10v4`,key:`tgpxqk`}],[`path`,{d:`M8 12H3`,key:`a7s4jb`}]]),er=S(`smartphone`,[[`rect`,{width:`14`,height:`20`,x:`5`,y:`2`,rx:`2`,ry:`2`,key:`1yt0o3`}],[`path`,{d:`M12 18h.01`,key:`mhygvu`}]]),tr=S(`snowflake`,[[`path`,{d:`m10 20-1.25-2.5L6 18`,key:`18frcb`}],[`path`,{d:`M10 4 8.75 6.5 6 6`,key:`7mghy3`}],[`path`,{d:`m14 20 1.25-2.5L18 18`,key:`1chtki`}],[`path`,{d:`m14 4 1.25 2.5L18 6`,key:`1b4wsy`}],[`path`,{d:`m17 21-3-6h-4`,key:`15hhxa`}],[`path`,{d:`m17 3-3 6 1.5 3`,key:`11697g`}],[`path`,{d:`M2 12h6.5L10 9`,key:`kv9z4n`}],[`path`,{d:`m20 10-1.5 2 1.5 2`,key:`1swlpi`}],[`path`,{d:`M22 12h-6.5L14 15`,key:`1mxi28`}],[`path`,{d:`m4 10 1.5 2L4 14`,key:`k9enpj`}],[`path`,{d:`m7 21 3-6-1.5-3`,key:`j8hb9u`}],[`path`,{d:`m7 3 3 6h4`,key:`1otusx`}]]),nr=S(`sparkles`,[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]]),rr=S(`sprout`,[[`path`,{d:`M14 9.536V7a4 4 0 0 1 4-4h1.5a.5.5 0 0 1 .5.5V5a4 4 0 0 1-4 4 4 4 0 0 0-4 4c0 2 1 3 1 5a5 5 0 0 1-1 3`,key:`139s4v`}],[`path`,{d:`M4 9a5 5 0 0 1 8 4 5 5 0 0 1-8-4`,key:`1dlkgp`}],[`path`,{d:`M5 21h14`,key:`11awu3`}]]),ir=S(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]),ar=S(`star`,[[`path`,{d:`M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z`,key:`r04s7s`}]]),or=S(`sun-medium`,[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 3v1`,key:`1asbbs`}],[`path`,{d:`M12 20v1`,key:`1wcdkc`}],[`path`,{d:`M3 12h1`,key:`lp3yf2`}],[`path`,{d:`M20 12h1`,key:`1vloll`}],[`path`,{d:`m18.364 5.636-.707.707`,key:`1hakh0`}],[`path`,{d:`m6.343 17.657-.707.707`,key:`18m9nf`}],[`path`,{d:`m5.636 5.636.707.707`,key:`1xv1c5`}],[`path`,{d:`m17.657 17.657.707.707`,key:`vl76zb`}]]),sr=S(`sun`,[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`m17.66 17.66 1.41 1.41`,key:`ptbguv`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m6.34 17.66-1.41 1.41`,key:`1m8zz5`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}]]),cr=S(`sunrise`,[[`path`,{d:`M12 2v8`,key:`1q4o3n`}],[`path`,{d:`m4.93 10.93 1.41 1.41`,key:`2a7f42`}],[`path`,{d:`M2 18h2`,key:`j10viu`}],[`path`,{d:`M20 18h2`,key:`wocana`}],[`path`,{d:`m19.07 10.93-1.41 1.41`,key:`15zs5n`}],[`path`,{d:`M22 22H2`,key:`19qnx5`}],[`path`,{d:`m8 6 4-4 4 4`,key:`ybng9g`}],[`path`,{d:`M16 18a4 4 0 0 0-8 0`,key:`1lzouq`}]]),lr=S(`tag`,[[`path`,{d:`M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z`,key:`vktsd0`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`kqv944`}]]),ur=S(`target`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`circle`,{cx:`12`,cy:`12`,r:`6`,key:`1vlfrh`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}]]),dr=S(`thermometer`,[[`path`,{d:`M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z`,key:`17jzev`}]]),fr=S(`toggle-left`,[[`circle`,{cx:`9`,cy:`12`,r:`3`,key:`u3jwor`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`7`,key:`g7kal2`}]]),pr=S(`toggle-right`,[[`circle`,{cx:`15`,cy:`12`,r:`3`,key:`1afu0r`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`7`,key:`g7kal2`}]]),mr=S(`tractor`,[[`path`,{d:`m10 11 11 .9a1 1 0 0 1 .8 1.1l-.665 4.158a1 1 0 0 1-.988.842H20`,key:`she1j9`}],[`path`,{d:`M16 18h-5`,key:`bq60fd`}],[`path`,{d:`M18 5a1 1 0 0 0-1 1v5.573`,key:`1kv8ia`}],[`path`,{d:`M3 4h8.129a1 1 0 0 1 .99.863L13 11.246`,key:`1q1ert`}],[`path`,{d:`M4 11V4`,key:`9ft8pt`}],[`path`,{d:`M7 15h.01`,key:`k5ht0j`}],[`path`,{d:`M8 10.1V4`,key:`1jgyzo`}],[`circle`,{cx:`18`,cy:`18`,r:`2`,key:`1emm8v`}],[`circle`,{cx:`7`,cy:`15`,r:`5`,key:`ddtuc`}]]),hr=S(`train-front`,[[`path`,{d:`M8 3.1V7a4 4 0 0 0 8 0V3.1`,key:`1v71zp`}],[`path`,{d:`m9 15-1-1`,key:`1yrq24`}],[`path`,{d:`m15 15 1-1`,key:`1t0d6s`}],[`path`,{d:`M9 19c-2.8 0-5-2.2-5-5v-4a8 8 0 0 1 16 0v4c0 2.8-2.2 5-5 5Z`,key:`1p0hjs`}],[`path`,{d:`m8 19-2 3`,key:`13i0xs`}],[`path`,{d:`m16 19 2 3`,key:`xo31yx`}]]),gr=S(`trash-2`,[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]]),_r=S(`trending-up`,[[`path`,{d:`M16 7h6v6`,key:`box55l`}],[`path`,{d:`m22 7-8.5 8.5-5-5L2 17`,key:`1t1m79`}]]),vr=S(`trending-down`,[[`path`,{d:`M16 17h6v-6`,key:`t6n2it`}],[`path`,{d:`m22 17-8.5-8.5-5 5L2 7`,key:`x473p`}]]),yr=S(`triangle-alert`,[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),br=S(`truck`,[[`path`,{d:`M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2`,key:`wrbu53`}],[`path`,{d:`M15 18H9`,key:`1lyqi6`}],[`path`,{d:`M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14`,key:`lysw3i`}],[`circle`,{cx:`17`,cy:`18`,r:`2`,key:`332jqn`}],[`circle`,{cx:`7`,cy:`18`,r:`2`,key:`19iecd`}]]),xr=S(`type`,[[`path`,{d:`M12 4v16`,key:`1654pz`}],[`path`,{d:`M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2`,key:`e0r10z`}],[`path`,{d:`M9 20h6`,key:`s66wpe`}]]),Sr=S(`undo-2`,[[`path`,{d:`M9 14 4 9l5-5`,key:`102s5s`}],[`path`,{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`,key:`f3b9sd`}]]),Cr=S(`unlink-2`,[[`path`,{d:`M15 7h2a5 5 0 0 1 0 10h-2m-6 0H7A5 5 0 0 1 7 7h2`,key:`1re2ne`}]]),wr=S(`upload`,[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]),Tr=S(`user-check`,[[`path`,{d:`m16 11 2 2 4-4`,key:`9rsbq5`}],[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]),Er=S(`user`,[[`path`,{d:`M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2`,key:`975kel`}],[`circle`,{cx:`12`,cy:`7`,r:`4`,key:`17ys0d`}]]),Dr=S(`users`,[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`,key:`16gr8j`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`,key:`kshegd`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]),Or=S(`utensils-crossed`,[[`path`,{d:`m16 2-2.3 2.3a3 3 0 0 0 0 4.2l1.8 1.8a3 3 0 0 0 4.2 0L22 8`,key:`n7qcjb`}],[`path`,{d:`M15 15 3.3 3.3a4.2 4.2 0 0 0 0 6l7.3 7.3c.7.7 2 .7 2.8 0L15 15Zm0 0 7 7`,key:`d0u48b`}],[`path`,{d:`m2.1 21.8 6.4-6.3`,key:`yn04lh`}],[`path`,{d:`m19 5-7 7`,key:`194lzd`}]]),kr=S(`vibrate`,[[`path`,{d:`m2 8 2 2-2 2 2 2-2 2`,key:`sv1b1`}],[`path`,{d:`m22 8-2 2 2 2-2 2 2 2`,key:`101i4y`}],[`rect`,{width:`8`,height:`14`,x:`8`,y:`5`,rx:`1`,key:`1oyrl4`}]]),Ar=S(`volume-2`,[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}],[`path`,{d:`M16 9a5 5 0 0 1 0 6`,key:`1q6k2b`}],[`path`,{d:`M19.364 18.364a9 9 0 0 0 0-12.728`,key:`ijwkga`}]]),jr=S(`volume-x`,[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}],[`line`,{x1:`22`,x2:`16`,y1:`9`,y2:`15`,key:`1ewh16`}],[`line`,{x1:`16`,x2:`22`,y1:`9`,y2:`15`,key:`5ykzw1`}]]),Mr=S(`waves`,[[`path`,{d:`M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`,key:`knzxuh`}],[`path`,{d:`M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`,key:`2jd2cc`}],[`path`,{d:`M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`,key:`rd2r6e`}]]),Nr=S(`wifi-high`,[[`path`,{d:`M12 20h.01`,key:`zekei9`}],[`path`,{d:`M5 12.859a10 10 0 0 1 14 0`,key:`1x1e6c`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`,key:`1bycff`}]]),Pr=S(`wifi-low`,[[`path`,{d:`M12 20h.01`,key:`zekei9`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`,key:`1bycff`}]]),Fr=S(`wifi-off`,[[`path`,{d:`M12 20h.01`,key:`zekei9`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`,key:`1bycff`}],[`path`,{d:`M5 12.859a10 10 0 0 1 5.17-2.69`,key:`1dl1wf`}],[`path`,{d:`M19 12.859a10 10 0 0 0-2.007-1.523`,key:`4k23kn`}],[`path`,{d:`M2 8.82a15 15 0 0 1 4.177-2.643`,key:`1grhjp`}],[`path`,{d:`M22 8.82a15 15 0 0 0-11.288-3.764`,key:`z3jwby`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),Ir=S(`wifi-zero`,[[`path`,{d:`M12 20h.01`,key:`zekei9`}]]),Lr=S(`wifi`,[[`path`,{d:`M12 20h.01`,key:`zekei9`}],[`path`,{d:`M2 8.82a15 15 0 0 1 20 0`,key:`dnpr2z`}],[`path`,{d:`M5 12.859a10 10 0 0 1 14 0`,key:`1x1e6c`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`,key:`1bycff`}]]),Rr=S(`wind`,[[`path`,{d:`M12.8 19.6A2 2 0 1 0 14 16H2`,key:`148xed`}],[`path`,{d:`M17.5 8a2.5 2.5 0 1 1 2 4H2`,key:`1u4tom`}],[`path`,{d:`M9.8 4.4A2 2 0 1 1 11 8H2`,key:`75valh`}]]),zr=S(`workflow`,[[`rect`,{width:`8`,height:`8`,x:`3`,y:`3`,rx:`2`,key:`by2w9f`}],[`path`,{d:`M7 11v4a2 2 0 0 0 2 2h4`,key:`xkn7yn`}],[`rect`,{width:`8`,height:`8`,x:`13`,y:`13`,rx:`2`,key:`1cgmvn`}]]),Br=S(`wrench`,[[`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z`,key:`1ngwbx`}]]),Vr=S(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),Hr=S(`zap`,[[`path`,{d:`M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z`,key:`1xq2db`}]]),Ur=S(`zoom-in`,[[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`line`,{x1:`21`,x2:`16.65`,y1:`21`,y2:`16.65`,key:`13gj7c`}],[`line`,{x1:`11`,x2:`11`,y1:`8`,y2:`14`,key:`1vmskp`}],[`line`,{x1:`8`,x2:`14`,y1:`11`,y2:`11`,key:`durymu`}]]),Wr=S(`zoom-out`,[[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`line`,{x1:`21`,x2:`16.65`,y1:`21`,y2:`16.65`,key:`13gj7c`}],[`line`,{x1:`8`,x2:`14`,y1:`11`,y2:`11`,key:`durymu`}]]);e();function P(e,t){if(typeof globalThis>`u`)return s(t);let n=globalThis.__camstackSharedContexts,r=n??new Map;n||(globalThis.__camstackSharedContexts=r);let i=r.get(e);if(i)return i;let a=s(t);return r.set(e,a),a}e();var F=P(`camstack:system`,null);function Gr({system:e,children:t}){return m(F.Provider,{value:e,children:t})}function Kr(){let e=c(F);if(!e)throw Error(`useSystem(): no <SystemProvider> in tree`);return e}function qr(){return c(F)}var Jr=`camstack-mount`,Yr=/^\/(?:[A-Za-z0-9_\-.]+\/)*$/,I=null;function L(e){if(e==null||e===``)return null;let t=e.endsWith(`/`)?e:`${e}/`;return!Yr.test(t)||t.includes(`/../`)||t.includes(`/./`)?null:t}function Xr(){if(typeof document>`u`)return`/`;let e=L(document.querySelector(`meta[name="${Jr}"]`)?.getAttribute(`content`));if(e!==null)return e;if(document.querySelector(`base[href]`)!==null)try{let e=new URL(document.baseURI);if(e.origin===window.location.origin){let t=L(e.pathname);if(t!==null)return t}}catch{}return`/`}function R(){return I===null&&(I=Xr()),I}function z(){return R().replace(/\/$/,``)}function B(e){return/^[a-z][a-z0-9+.-]*:/i.test(e)||e.startsWith(`//`)}function V(e){if(B(e))return e;let t=R(),n=e.replace(/^\/+/,``);return t!==`/`&&(e===z()||e.startsWith(t))?e:`${t}${n}`}function H(){return`${typeof window<`u`?window.location.origin:``}${z()}`}function U(e){return B(e)?e:`${H()}${V(e).slice(z().length)}`}function Zr(e){return U(e).replace(/^http/,`ws`)}function Qr(){I=null}e();function $r({title:e,icon:t,headerRight:n,collapsible:r=!1,defaultOpen:i=!0,bodyClassName:o=`p-3`,children:s}){let[c,u]=a(i),d=!r||c,p=l(f,{children:[l(`span`,{className:`flex items-center gap-2 text-xs font-semibold uppercase tracking-wider text-foreground`,children:[t,e]}),r?m(c?M:N,{className:`h-3.5 w-3.5 text-foreground-subtle`}):n]}),h=`px-4 py-2 flex items-center justify-between ${d?`border-b border-border`:``}`;return l(`div`,{className:`rounded-lg border border-border bg-surface overflow-hidden`,children:[r?m(`button`,{type:`button`,onClick:()=>u(e=>!e),className:`w-full text-left ${h}`,children:p}):m(`div`,{className:h,children:p}),d?m(`div`,{className:o,children:s}):null]})}function ei({label:e,icon:t,children:n,footer:r}){return l(`div`,{className:`min-w-0 rounded-lg border border-border bg-surface p-2 sm:p-2.5`,children:[l(`div`,{className:`mb-0.5 flex min-w-0 items-center gap-1.5 text-[10px] uppercase tracking-wider text-foreground-subtle`,children:[t,m(`span`,{className:`min-w-0 truncate`,children:e})]}),m(`div`,{className:`truncate text-lg font-semibold leading-tight text-foreground`,children:n}),r==null?null:m(`div`,{className:`mt-0.5 truncate text-[10px] text-foreground-subtle`,children:r})]})}e();var ti=`capability.binding-changed`;function W(e,t){let[r,o]=a(null);return n(()=>{if(t===null){o(null);return}let n=!1,r=async()=>{try{let r=await e.deviceManager.getBindings.query({deviceId:t});n||o(r)}catch{n||o(e=>e)}};r();let i=e.live?.onEvent.subscribe({category:ti},{onData:e=>{let n=e.data?.source;if(!n){r();return}n.type===`device`&&n.id===t&&r()}});return()=>{n=!0,i?.unsubscribe()}},[e,t]),i(()=>r?h(e,r):null,[e,r])}function G(e){let t=o(t=>e?e.subscribe(()=>t()):()=>void 0,[e]),n=o(()=>e?.value,[e]);return d(t,n,n)}function ni(e,t,n){let r=W(e,t);return G(r?n(r.state):void 0)}e();var K=`/addon/snapshot/media`;function ri(e,t={}){let{width:n,baseUrl:r}=t,[s,c]=a(0);return{src:i(()=>{if(e===null||e<=0)return null;let t=r===void 0?z():r.replace(/\/+$/,``),i=new URLSearchParams;n!==void 0&&Number.isInteger(n)&&n>0&&i.set(`w`,String(n)),s>0&&(i.set(`force`,`1`),i.set(`r`,String(s)));let a=i.toString();return`${t}${K}/${String(e)}.jpg${a.length>0?`?${a}`:``}`},[e,n,r,s]),loading:!1,refresh:o(()=>{c(e=>e+1)},[])}}function ii(e){if(typeof e!=`object`||!e)return null;let t=Reflect.get(e,`data`);if(typeof t==`object`&&t){let e=Reflect.get(t,`capRouteReason`);if(typeof e==`string`)return e}return null}function ai(e){let t=ii(e);return t===null?(e instanceof Error?e.message:String(e)).includes(`provider not available`):t===`no-provider`||t===`node-offline`}var oi=`rounded-lg border border-border bg-surface overflow-hidden`,si=`border-b border-border px-3 sm:px-4 py-1.5 sm:py-2`,ci=`p-2 sm:p-3 lg:p-4`,li=`space-y-3 sm:space-y-4`,ui=`gap-2 sm:gap-3`,di=`px-3 sm:px-4 py-1.5 sm:py-2`,fi=`grid grid-cols-2 sm:grid-cols-2 lg:grid-cols-4`,pi=`grid grid-cols-[repeat(auto-fill,minmax(11rem,1fr))]`,mi=`grid grid-cols-1 lg:grid-cols-2`,hi=`flex flex-col-reverse md:flex-row`,gi=`w-full md:w-44 lg:w-52 md:flex-shrink-0 border-b md:border-b-0 md:border-l border-border`,_i=`sm`,vi=`flex min-w-0 flex-col gap-0.5 py-1.5 sm:flex-row sm:items-center`,yi=`min-w-0 text-[11px] leading-tight text-foreground-subtle sm:w-32 sm:shrink-0 sm:pr-2`,bi=`flex w-full min-w-0 items-center gap-1 sm:flex-1`,xi=`min-w-0 break-all text-xs text-foreground sm:truncate`,Si=`text-[10px] sm:text-[11px] font-semibold text-foreground uppercase tracking-wider`,Ci=`text-[11px] sm:text-xs text-foreground`,wi=`text-[10px] text-foreground-subtle`,Ti=`text-[11px] sm:text-xs font-medium text-foreground`,Ei=`text-base sm:text-lg font-semibold leading-tight text-foreground`,q=`inline-flex items-center justify-center gap-1 rounded border border-border bg-surface px-1.5 py-0.5 sm:px-2 sm:py-1 text-[10px] sm:text-[11px] font-medium text-foreground hover:bg-surface-hover transition-colors disabled:opacity-40`,Di=`inline-flex items-center justify-center gap-1 rounded border border-primary/40 bg-primary/15 px-1.5 py-0.5 sm:px-2 sm:py-1 text-[10px] sm:text-[11px] font-medium text-primary hover:bg-primary/25 transition-colors disabled:opacity-40`,Oi=`inline-flex items-center justify-center gap-1 rounded border border-danger/40 bg-danger/10 px-1.5 py-0.5 sm:px-2 sm:py-1 text-[10px] sm:text-[11px] font-medium text-danger hover:bg-danger/20 transition-colors disabled:opacity-40`,ki=`inline-flex items-center justify-center gap-1 rounded border border-warning/40 bg-warning/10 px-1.5 py-0.5 sm:px-2 sm:py-1 text-[10px] sm:text-[11px] font-medium text-warning hover:bg-warning/20 transition-colors disabled:opacity-40`,Ai=`w-full rounded border border-border bg-background px-1.5 py-0.5 sm:px-2 sm:py-1 text-[11px] sm:text-xs text-foreground focus:border-primary focus:ring-1 focus:ring-primary/30 outline-none`,ji=`inline-flex items-center gap-1 rounded-full border px-1.5 py-0.5 text-[10px] font-medium transition-colors`,Mi=`border-primary/50 bg-primary/15 text-primary`,Ni=`border-border bg-surface text-foreground-subtle hover:bg-surface-hover`,J=[`day`,`ir`],Pi={day:{labelKey:`uiLibrary.sceneMonitor.variant.day`,labelFallback:`Daylight`},ir:{labelKey:`uiLibrary.sceneMonitor.variant.ir`,labelFallback:`Night (IR)`},night:{labelKey:`uiLibrary.sceneMonitor.variant.night`,labelFallback:`Night`},dawn:{labelKey:`uiLibrary.sceneMonitor.variant.dawn`,labelFallback:`Dawn`},dusk:{labelKey:`uiLibrary.sceneMonitor.variant.dusk`,labelFallback:`Dusk`}};function Y(e,t=g){let n=Pi[e];return n===void 0?e:t(n.labelKey,n.labelFallback)}function Fi(e,t=g){let n=new Set(e.coveredConditions),r=J.map(e=>`${Y(e,t)} ${n.has(e)?`✓`:`✗`}`),i=[...n].filter(e=>!J.some(t=>t===e));for(let e of i)r.push(`${Y(e,t)} ✓`);let a=J.filter(e=>!n.has(e));if(a.length===0)return r.join(` · `);if(n.size===0)return t(`uiLibrary.sceneMonitor.coverage.empty`,`{{parts}} — nothing captured yet, so this scene is not watching.`,{parts:r.join(` · `)});let[o=``,s]=a.map(e=>Y(e,t).toLowerCase()),c=s===void 0?o:t(`uiLibrary.sceneMonitor.coverage.namesJoin`,`{{first}} and {{second}}`,{first:o,second:s}),l={parts:r.join(` · `),names:c};return e.onUncoveredCondition===`judge-anyway`?t(`uiLibrary.sceneMonitor.coverage.judgeAnyway`,`{{parts}} — {{names}} judged against the references you do have.`,l):t(`uiLibrary.sceneMonitor.coverage.skip`,`{{parts}} — optional; checks in {{names}} are skipped.`,l)}function Ii(e,t=g){return e.suspendedCondition===null?null:t(`uiLibrary.sceneMonitor.suspension`,`Paused — nothing was captured in {{light}}, so checks are on hold until the light changes back. Capture {{light}} if you want it watched around the clock.`,{light:Y(e.suspendedCondition,t).toLowerCase()})}var Li={"no-reference-for-condition":{key:`uiLibrary.sceneMonitor.unavailable.no_reference_for_condition`,fallback:`can’t tell — nothing has been captured for this scene yet. Press “Capture daylight” to photograph what normal looks like.`},"view-shifted":{key:`uiLibrary.sceneMonitor.unavailable.view_shifted`,fallback:`can’t tell — the camera view has moved since the reference was captured. Re-capture it.`},"no-vision-profile":{key:`uiLibrary.sceneMonitor.unavailable.no_vision_profile`,fallback:`can’t tell — the vision model is unreachable, so the change is on hold.`},"encoder-model-changed":{key:`uiLibrary.sceneMonitor.unavailable.encoder_model_changed`,fallback:`can’t tell — the embedding model changed, so the stored references are unreadable. Re-capture them.`},"no-snapshot":{key:`uiLibrary.sceneMonitor.unavailable.no_snapshot`,fallback:`can’t tell — this camera did not return a frame.`}};function Ri(e,t,n=g){if(e.states.length===0)return n(`uiLibrary.sceneMonitor.status.notArmed`,`Not armed yet — capture the initial state to start watching.`);if(e.verdict===`unknown`){if(e.unavailable===null)return n(`uiLibrary.sceneMonitor.status.cantTellNow`,`can’t tell right now.`);let t=Li[e.unavailable];return n(t.key,t.fallback)}let r=e.verdict===`diverged`?e.divergedAt:e.armedAt,i=r===null?``:` ${n(`uiLibrary.sceneMonitor.status.heldFor`,`for {{duration}}`,{duration:Z(Math.max(0,t-r))})}`;if(e.latched)return e.verdict===`diverged`?n(`uiLibrary.sceneMonitor.status.changedLatched`,`CHANGED{{held}} — press Reset when you have dealt with it.`,{held:i}):n(`uiLibrary.sceneMonitor.status.backToNormal`,`Back to normal, but still flagged as changed{{held}}. Press Reset to clear it.`,{held:i});let a=Ii(e,n);return a===null?e.verdict===`diverged`?n(`uiLibrary.sceneMonitor.status.changed`,`CHANGED{{held}}`,{held:i}):n(`uiLibrary.sceneMonitor.status.normal`,`Normal{{held}}`,{held:i}):a}function zi(e,t=g){return e.states.length===0?{text:t(`uiLibrary.sceneMonitor.badge.notArmed`,`Not armed`),tone:`unknown`}:e.latched?{text:t(`uiLibrary.sceneMonitor.badge.changed`,`Changed`),tone:`alarm`}:e.suspendedCondition===null?e.verdict===`unknown`?{text:t(`uiLibrary.sceneMonitor.badge.cantTell`,`Can’t tell`),tone:`unknown`}:e.verdict===`diverged`?{text:t(`uiLibrary.sceneMonitor.badge.changed`,`Changed`),tone:`alarm`}:{text:t(`uiLibrary.sceneMonitor.badge.normal`,`Normal`),tone:`ok`}:{text:t(`uiLibrary.sceneMonitor.badge.paused`,`Paused`),tone:`unknown`}}var X=.4;function Bi(e){return e.width*e.height>X}function Z(e){let t=Math.floor(e/1e3);if(t<60)return`${t}s`;let n=Math.floor(t/60);if(n<60)return`${n}m`;let r=Math.floor(n/60);return r<48?`${r}h`:`${Math.floor(r/24)}d`}e();var Q=P(`camstack:player-overlays-state`,null),$=P(`camstack:player-overlays-actions`,null);function Vi({children:e}){let[t,n]=a(()=>new Map),[r,s]=a(()=>new Map),c=o(e=>{n(t=>{let n=new Map(t);return n.set(e.id,e),n})},[]),l=o(e=>{n(t=>{if(!t.has(e))return t;let n=new Map(t);return n.delete(e),n})},[]),u=o(e=>{s(t=>{let n=new Map(t);return n.set(e.id,e),n})},[]),d=o(e=>{s(t=>{if(!t.has(e))return t;let n=new Map(t);return n.delete(e),n})},[]),f=i(()=>({layers:t,buttons:r}),[t,r]),p=i(()=>({setLayer:c,removeLayer:l,setButton:u,removeButton:d}),[c,l,u,d]);return m(Q.Provider,{value:f,children:m($.Provider,{value:p,children:e})})}function Hi(){let e=c(Q);return i(()=>e?[...e.layers.values()].toSorted((e,t)=>e.order-t.order):[],[e])}function Ui(){let e=c(Q);return i(()=>e?[...e.buttons.values()].toSorted((e,t)=>e.order-t.order):[],[e])}function Wi(e){let t=c($);n(()=>{if(!(!t||!e))return t.setLayer(e),()=>t.removeLayer(e.id)},[t,e])}function Gi(e){let t=c($);n(()=>{if(!(!t||!e))return t.setButton(e),()=>t.removeButton(e.id)},[t,e])}export{U as $,S as $i,Qt as $n,Qe as $r,$n as $t,vi as A,Ce as Ai,Sn as An,xt as Ar,Sr as At,Ei as B,Se as Bi,fn as Bn,dt as Br,fr as Bt,fi as C,Ae as Ci,kn as Cn,Ot as Cr,kr as Ct,ci as D,Ee as Di,Tn as Dn,wt as Dr,Tr as Dt,pi as E,De as Ei,En,Tt as Er,Er as Et,hi as F,D as Fi,_n as Fn,gt as Fr,_r as Ft,ri as G,_e as Gi,sn as Gn,ot as Gr,sr as Gt,Ti as H,be as Hi,un as Hn,lt as Hr,ur as Ht,gi as I,E as Ii,gn as In,ht as Ir,gr as It,G as J,me as Ji,rn as Jn,rt as Jr,ir as Jt,W as K,ge as Ki,on as Kn,at as Kr,or as Kt,li as L,T as Li,hn as Ln,mt as Lr,hr as Lt,_i as M,A as Mi,bn as Mn,yt as Mr,br as Mt,bi as N,k as Ni,yn as Nn,vt as Nr,yr as Nt,oi as O,Te as Oi,wn as On,Ct as Or,wr as Ot,xi as P,O as Pi,vn as Pn,_t as Pr,vr as Pt,V as Q,ue as Qi,$t as Qn,$e as Qr,er as Qt,Ci as R,w as Ri,mn as Rn,pt as Rr,mr as Rt,mi as S,je as Si,An as Sn,kt as Sr,Ar as St,di as T,Oe as Ti,Dn as Tn,Et as Tr,Dr as Tt,ai as U,ye as Ui,ln as Un,ct as Ur,lr as Ut,Si as V,xe as Vi,dn as Vn,ut as Vr,dr as Vt,K as W,ve as Wi,cn as Wn,st as Wr,cr as Wt,$r as X,fe as Xi,tn as Xn,tt as Xr,nr as Xt,ei as Y,pe as Yi,nn as Yn,nt as Yr,rr as Yt,H as Z,de as Zi,en as Zn,et as Zr,tr as Zt,ki as _,N as _i,Fn as _n,Pt as _r,Fr as _t,Ui as a,Ke as ai,qn as an,Kt as ar,qr as at,Ni as b,Ne as bi,Mn as bn,jt as br,Mr as bt,zi as c,Ue as ci,Wn as cn,Ut as cr,Wr as ct,Bi as d,Be as di,Vn as dn,Bt as dr,Vr as dt,ne as ea,Ze as ei,Qn as en,Zt as er,Zr as et,Ri as f,ze as fi,Bn as fn,zt as fr,Br as ft,Di as g,Fe as gi,In as gn,Ft as gr,Ir as gt,Oi as h,Ie as hi,Ln as hn,It as hr,Lr as ht,Gi as i,v as ia,qe as ii,Jn as in,qt as ir,Gr as it,yi as j,j as ji,xn as jn,bt as jr,xr as jt,si as k,we as ki,Cn as kn,St as kr,Cr as kt,Fi as l,He as li,Un as ln,Ht as lr,Ur as lt,q as m,Le as mi,Rn as mn,Lt as mr,Rr as mt,Wi as n,g as na,Ye as ni,Xn as nn,Yt as nr,Qr as nt,X as o,Ge as oi,Kn as on,Gt as or,Kr as ot,Y as p,Re as pi,zn as pn,Rt as pr,zr as pt,ni as q,he as qi,an as qn,it as qr,ar as qt,Hi as r,y as ra,Je as ri,Yn as rn,Jt as rr,z as rt,J as s,We as si,Gn as sn,Wt as sr,P as st,Vi as t,ie as ta,Xe as ti,Zn as tn,Xt as tr,R as tt,Z as u,Ve as ui,Hn as un,Vt as ur,Hr as ut,Mi as v,Pe as vi,Pn as vn,Nt as vr,Pr as vt,Ai as w,ke as wi,On as wn,Dt as wr,Or as wt,ui as x,Me as xi,jn as xn,At as xr,jr as xt,ji as y,M as yi,Nn as yn,Mt as yr,Nr as yt,wi as z,C as zi,pn as zn,ft as zr,pr as zt};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$i as e}from"./player-overlays-
|
|
1
|
+
import{$i as e}from"./player-overlays-D0U2dNvn.js";var t=e(`recycle`,[[`path`,{d:`M7 19H4.815a1.83 1.83 0 0 1-1.57-.881 1.785 1.785 0 0 1-.004-1.784L7.196 9.5`,key:`x6z5xu`}],[`path`,{d:`M11 19h8.203a1.83 1.83 0 0 0 1.556-.89 1.784 1.784 0 0 0 0-1.775l-1.226-2.12`,key:`1x4zh5`}],[`path`,{d:`m14 16-3 3 3 3`,key:`f6jyew`}],[`path`,{d:`M8.293 13.596 7.196 9.5 3.1 10.598`,key:`wf1obh`}],[`path`,{d:`m9.344 5.811 1.093-1.892A1.83 1.83 0 0 1 11.985 3a1.784 1.784 0 0 1 1.546.888l3.943 6.843`,key:`9tzpgr`}],[`path`,{d:`m13.378 9.633 4.096 1.098 1.097-4.096`,key:`1oe83g`}]]);export{t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e,t}from"./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-BKfTL-9e.js";export{t as get,e as init};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$i as e}from"./player-overlays-
|
|
1
|
+
import{$i as e}from"./player-overlays-D0U2dNvn.js";var t=e(`arrow-left-right`,[[`path`,{d:`M8 3 4 7l4 4`,key:`9rb6wj`}],[`path`,{d:`M4 7h16`,key:`6tx8e3`}],[`path`,{d:`m16 21 4-4-4-4`,key:`siv7j2`}],[`path`,{d:`M20 17H4`,key:`h6l3hr`}]]),n=e(`disc`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}]]),r=e(`ear`,[[`path`,{d:`M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0`,key:`1dfaln`}],[`path`,{d:`M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4`,key:`1qnva7`}]]),i=e(`scan-eye`,[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`,key:`aa7l1z`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`,key:`4qcy5o`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`,key:`6vwrx8`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`,key:`ioqczr`}],[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`path`,{d:`M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0`,key:`11ak4c`}]]);export{t as i,r as n,n as r,i as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$i as e}from"./player-overlays-
|
|
1
|
+
import{$i as e}from"./player-overlays-D0U2dNvn.js";var t=e(`arrow-right-left`,[[`path`,{d:`m16 3 4 4-4 4`,key:`1x1c3m`}],[`path`,{d:`M20 7H4`,key:`zbl0bi`}],[`path`,{d:`m8 21-4-4 4-4`,key:`h9nckh`}],[`path`,{d:`M4 17h16`,key:`g4d7ey`}]]),n=e(`scissors`,[[`circle`,{cx:`6`,cy:`6`,r:`3`,key:`1lh9wr`}],[`path`,{d:`M8.12 8.12 12 12`,key:`1alkpv`}],[`path`,{d:`M20 4 8.12 15.88`,key:`xgtan2`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}],[`path`,{d:`M14.8 14.8 20 20`,key:`ptml3r`}]]);export{t as n,n as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$i as e}from"./player-overlays-
|
|
1
|
+
import{$i as e}from"./player-overlays-D0U2dNvn.js";var t=e(`search-x`,[[`path`,{d:`m13.5 8.5-5 5`,key:`1cs55j`}],[`path`,{d:`m8.5 8.5 5 5`,key:`a8mexj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`path`,{d:`m21 21-4.3-4.3`,key:`1qie3q`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$i as e}from"./player-overlays-
|
|
1
|
+
import{$i as e}from"./player-overlays-D0U2dNvn.js";var t=e(`send`,[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`,key:`1ffxy3`}],[`path`,{d:`m21.854 2.147-10.94 10.939`,key:`12cjpa`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$i as e}from"./player-overlays-
|
|
1
|
+
import{$i as e}from"./player-overlays-D0U2dNvn.js";var t=e(`settings-2`,[[`path`,{d:`M14 17H5`,key:`gfn3mx`}],[`path`,{d:`M19 7h-9`,key:`6i9tg`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}],[`circle`,{cx:`7`,cy:`7`,r:`3`,key:`dfmy0x`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$i as e}from"./player-overlays-
|
|
1
|
+
import{$i as e}from"./player-overlays-D0U2dNvn.js";var t=e(`circle-arrow-up`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m16 12-4-4-4 4`,key:`177agl`}],[`path`,{d:`M12 16V8`,key:`1sbj14`}]]),n=e(`router`,[[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,key:`w68u3i`}],[`path`,{d:`M6.01 18H6`,key:`19vcac`}],[`path`,{d:`M10.01 18H10`,key:`uamcmx`}],[`path`,{d:`M15 10v4`,key:`qjz1xs`}],[`path`,{d:`M17.84 7.17a4 4 0 0 0-5.66 0`,key:`1rif40`}],[`path`,{d:`M20.66 4.34a8 8 0 0 0-11.31 0`,key:`6a5xfq`}]]),r=e(`speaker`,[[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`,key:`1nb95v`}],[`path`,{d:`M12 6h.01`,key:`1vi96p`}],[`circle`,{cx:`12`,cy:`14`,r:`4`,key:`1jruaj`}],[`path`,{d:`M12 14h.01`,key:`1etili`}]]);export{n,t as r,r as t};
|