function s(a,l="value"){let e=new Map;return a||(a=[]),a.forEach(t=>{e.set(t[l],t)}),e}const u=[{value:1,warning:!1,background:"#ECF9FF",color:"#1989FA",icon:"volume-o"},{value:2,warning:!0,background:"#FFFBE8",color:"#ED6A0C",icon:"warn-o"},{value:3,warning:!0,background:"#F4DDE0",color:"#EE0A24",icon:"warn-o"}],n={0:{value:0,label:"未知",labelKey:"status.commStatus.unknown",type:"danger"},1:{value:1,label:"未连接",labelKey:"status.commStatus.disconnected",type:"danger"},2:{value:2,label:"连接中",labelKey:"status.commStatus.connecting",type:"warning"},3:{value:3,label:"已连接",labelKey:"status.commStatus.connected",type:"success"}},o={0:{value:0,label:"未知",labelKey:"status.controlStatus.unknown"},1:{value:1,label:"手柄控制",labelKey:"status.controlStatus.manual"},2:{value:2,label:"自主控制",labelKey:"status.controlStatus.autonomous"},3:{value:3,label:"后台控制",labelKey:"status.controlStatus.remote"}},b={0:{value:0,label:"未知",labelKey:"status.dockStatusMap.unknown"},1:{value:1,label:"在桩上",labelKey:"status.dockStatusMap.docked"},2:{value:2,label:"未在桩",labelKey:"status.dockStatusMap.undocked"},3:{value:3,label:"上桩中",labelKey:"status.dockStatusMap.docking"},4:{value:4,label:"离桩中",labelKey:"status.dockStatusMap.leaving"}},c={0:{value:0,label:"未知",labelKey:"status.missionStatusMap.unknown"},1:{value:1,label:"执行中",labelKey:"status.missionStatusMap.running"},2:{value:2,label:"空闲",labelKey:"status.missionStatusMap.idle"},3:{value:3,label:"暂停中",labelKey:"status.missionStatusMap.paused"}},y={0:{value:0,label:"未知",labelKey:"status.batteryStatusMap.unknown",type:"danger"},1:{value:1,label:"正常",labelKey:"status.batteryStatusMap.normal",type:"success"},2:{value:2,label:"低电量",labelKey:"status.batteryStatusMap.low",type:"danger"},3:{value:3,label:"高电量",labelKey:"status.batteryStatusMap.high",type:"success"},4:{value:4,label:"高电量",labelKey:"status.batteryStatusMap.high",type:"success"}},r={0:{value:0,label:"异常",labelKey:"status.cameraStatusMap.abnormal",type:"danger"},1:{value:1,label:"正常",labelKey:"status.cameraStatusMap.normal",type:"success"}},p={0:{value:0,label:"异常",labelKey:"status.navigationStatusMap.abnormal",type:"danger"},1:{value:1,label:"正常",labelKey:"status.navigationStatusMap.normal",type:"success"}};export{u as A,y as B,r as C,b as D,c as M,p as N,o as a,n as b,s as g};
