"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[16799],{57218:(e,E,A)=>{A.d(E,{A:()=>m});var t=A(296540),l=A(469733),n=A(398300),a=A(845030),r=A(699784),s=A(30611),c=A(151033),R=A(383664),M=A(638595),I=A(164231),N=A(487585);const m=({[M.j.ID]:e,[M.j.LOG]:E})=>{const A=(0,l.useDispatch)(),m=(0,t.useCallback)(()=>{A((0,a.XP)({type:n.H.DEVICE,id:E[c.k1.PARAMETERS]?.[s.ns.DEVICE]?.[c.bP.ID]}))},[A,E]),T=(0,I.A)({[N.U.MAC]:E[c.k1.PARAMETERS]?.[s.ns.DEVICE]?.[c.bP.ID],[N.U.NAME]:E[c.k1.PARAMETERS]?.[s.ns.DEVICE]?.[c.bP.NAME],[N.U.MODEL]:E[c.k1.PARAMETERS]?.[s.ns.DEVICE]?.[s.pq.MODEL_NAME]});return E[c.k1.PARAMETERS]?.[s.ns.DEVICE]?t.createElement(R.A,{label:t.createElement(r.sA,{id:e}),value:T,onPress:m}):null}},116799:(e,E,A)=>{A.r(E),A.d(E,{default:()=>i});var t=A(296540),l=A(796556),n=A(332586),a=A(296226),r=A(57218),s=A(689210),c=A(196898),R=A(893126),M=A(228122),I=A(579510),N=A(375538),m=A(507690),T=A(979353);const i=({[T.w.LOG]:e})=>[t.createElement(r.A,{key:"deviceName",id:"COMMON_DEVICE",log:e}),t.createElement(s.A,{key:"deviceModel",id:"COMMON_MODEL",log:e}),t.createElement(R.A,{key:"deviceIpAddress",id:"COMMON_IP_ADDRESS",log:e}),t.createElement(c.A,{key:"deviceMacAddress",id:"COMMON_MAC_ADDRESS",log:e}),t.createElement(M.A,{key:"channel",id:"LOGS_CURRENT_CHANNEL",log:e}),t.createElement(a.A,{key:"previousChannel",id:"LOGS_PRIOR_CHANNEL",log:e}),t.createElement(I.A,{key:"averageUtilization",id:"LOGS_AVERAGE_AIRTIME_UTILIZATION",log:e}),t.createElement(m.A,{key:"averageInterference",id:"LOGS_AVERAGE_INTERFERENCE",log:e}),t.createElement(N.A,{key:"averageTxRetries",id:"LOGS_AVERAGE_TX_RETRIES",log:e}),t.createElement(l.A,{key:"totalDistinctClients",id:"LOGS_TOTAL_CONNECTED_CLIENTS",log:e}),t.createElement(n.A,{key:"totalFrame",id:"LOGS_REPORTING_PERIOD",log:e})]},164231:(e,E,A)=>{A.d(E,{A:()=>i});var t=A(296540),l=A(118818),n=A(6510),a=A(487585),r=A(469733),s=A(171073),c=A(837612),R=A(602197);const M=e=>{const E=(0,r.useDispatch)(),[A,l]=(0,t.useState)(R.g.UNKNOWN);return(0,t.useEffect)(()=>{e&&E((0,s.pI)(e)).then(({data:e})=>{l((0,c.S9)(Array.isArray(e)?e[0]:e))})},[E,e]),A};var I=A(71479),N=A(294303),m=A(566723);const T=(0,I.A)(N.A)`
  align-items: center;
  gap: ${m.kc};
`,i=({[a.U.MAC]:e,[a.U.NAME]:E,[a.U.MODEL]:A})=>{return t.createElement(T,null,t.createElement(l.A,{size:"small",variant:(r=M(e),r===R.g.CONNECTED?"success":"danger")}),(0,n.Q)({name:E,model:A,mac:e}));var r}},196898:(e,E,A)=>{A.d(E,{A:()=>c});var t=A(296540),l=A(699784),n=A(30611),a=A(151033),r=A(67668),s=A(638595);const c=({[s.j.LOG]:e,[s.j.ID]:E})=>e[a.k1.PARAMETERS]?.[n.ns.DEVICE]?.[a.bP.ID]?t.createElement(r.A,{label:t.createElement(l.sA,{id:E}),value:e[a.k1.PARAMETERS][n.ns.DEVICE][a.bP.ID]}):null},228122:(e,E,A)=>{A.d(E,{A:()=>c});var t=A(296540),l=A(699784),n=A(30611),a=A(151033),r=A(67668),s=A(638595);const c=({[s.j.ID]:e,[s.j.LOG]:E})=>E[a.k1.PARAMETERS]?.[n.ns.CHANNEL]?.[a.bP.NAME]?t.createElement(r.A,{label:t.createElement(l.sA,{id:e}),value:E[a.k1.PARAMETERS][n.ns.CHANNEL][a.bP.NAME]}):null},296226:(e,E,A)=>{A.d(E,{A:()=>c});var t=A(296540),l=A(699784),n=A(30611),a=A(151033),r=A(67668),s=A(638595);const c=({[s.j.ID]:e,[s.j.LOG]:E})=>E[a.k1.PARAMETERS]?.[n.ns.PREVIOUS_CHANNEL]?.[a.bP.NAME]?t.createElement(r.A,{label:t.createElement(l.sA,{id:e}),value:t.createElement(t.Fragment,null,E[a.k1.PARAMETERS][n.ns.PREVIOUS_CHANNEL][a.bP.NAME],E[a.k1.PARAMETERS][n.ns.PREVIOUS_CHANNEL_WIDTH]?.[a.bP.NAME]?t.createElement(t.Fragment,null," (",E[a.k1.PARAMETERS][n.ns.PREVIOUS_CHANNEL_WIDTH][a.bP.NAME]," ",t.createElement(l.sA,{id:"COMMON_UNIT_MHZ"}),")"):"")}):null},332586:(e,E,A)=>{A.d(E,{A:()=>c});var t=A(296540),l=A(699784),n=A(30611),a=A(151033),r=A(67668),s=A(638595);const c=({[s.j.ID]:e,[s.j.LOG]:E})=>E[a.k1.PARAMETERS]?.[n.ns.TIME_FRAME]?.[a.bP.NAME]?t.createElement(r.A,{label:t.createElement(l.sA,{id:e}),value:E[a.k1.PARAMETERS][n.ns.TIME_FRAME][a.bP.NAME]}):null},375538:(e,E,A)=>{A.d(E,{A:()=>c});var t=A(296540),l=A(699784),n=A(30611),a=A(151033),r=A(67668),s=A(638595);const c=({[s.j.ID]:e,[s.j.LOG]:E})=>E[a.k1.PARAMETERS]?.[n.ns.AVG_TX_RETRIES]?t.createElement(r.A,{label:t.createElement(l.sA,{id:e}),value:t.createElement(t.Fragment,null,E[a.k1.PARAMETERS][n.ns.AVG_TX_RETRIES][a.bP.NAME]||0,"%")}):null},383664:(e,E,A)=>{A.d(E,{A:()=>s});var t=A(296540),l=A(592563),n=A(491876),a=A(35571),r=A(115829);const s=({label:e,value:E,onPress:A})=>t.createElement(a.R,null,t.createElement(n.A,null,e),t.createElement(l.A,{style:{display:"flex",alignItems:"center",justifyContent:"end",overflow:"hidden"},fontSize:"medium",type:"button",onPress:A},t.createElement(r.A,{size:"medium",color:"inherit"},E)))},487585:(e,E,A)=>{var t;A.d(E,{U:()=>t}),function(e){e.MAC="mac",e.NAME="name",e.MODEL="model"}(t||(t={}))},507690:(e,E,A)=>{A.d(E,{A:()=>c});var t=A(296540),l=A(699784),n=A(30611),a=A(151033),r=A(67668),s=A(638595);const c=({[s.j.ID]:e,[s.j.LOG]:E})=>E[a.k1.PARAMETERS]?.[n.ns.AVG_INTERFERENCE]?t.createElement(r.A,{label:t.createElement(l.sA,{id:e}),value:t.createElement(t.Fragment,null,E[a.k1.PARAMETERS][n.ns.AVG_INTERFERENCE][a.bP.NAME]||0,"%")}):null},579510:(e,E,A)=>{A.d(E,{A:()=>c});var t=A(296540),l=A(699784),n=A(30611),a=A(151033),r=A(67668),s=A(638595);const c=({[s.j.ID]:e,[s.j.LOG]:E})=>E[a.k1.PARAMETERS]?.[n.ns.AVG_UTILIZATION]?t.createElement(r.A,{label:t.createElement(l.sA,{id:e}),value:t.createElement(t.Fragment,null,E[a.k1.PARAMETERS][n.ns.AVG_UTILIZATION][a.bP.NAME]||0,"%")}):null},638595:(e,E,A)=>{var t;A.d(E,{j:()=>t}),function(e){e.ID="id",e.LOG="log"}(t||(t={}))},689210:(e,E,A)=>{A.d(E,{A:()=>R});var t=A(296540),l=A(6510),n=A(699784),a=A(30611),r=A(151033),s=A(67668),c=A(638595);const R=({[c.j.LOG]:e,[c.j.ID]:E})=>e[r.k1.PARAMETERS]?.[a.ns.DEVICE]?.[a.pq.MODEL_NAME]?t.createElement(s.A,{label:t.createElement(n.sA,{id:E}),value:(0,l.Lm)(e[r.k1.PARAMETERS][a.ns.DEVICE][a.pq.MODEL_NAME])}):null},796556:(e,E,A)=>{A.d(E,{A:()=>c});var t=A(296540),l=A(699784),n=A(30611),a=A(151033),r=A(67668),s=A(638595);const c=({[s.j.ID]:e,[s.j.LOG]:E})=>E[a.k1.PARAMETERS]?.[n.ns.TOTAL_DISTINCT_CLIENTS]?.[a.bP.NAME]?t.createElement(r.A,{label:t.createElement(l.sA,{id:e}),value:E[a.k1.PARAMETERS][n.ns.TOTAL_DISTINCT_CLIENTS][a.bP.NAME]}):null},893126:(e,E,A)=>{A.d(E,{A:()=>c});var t=A(296540),l=A(699784),n=A(30611),a=A(151033),r=A(67668),s=A(638595);const c=({[s.j.LOG]:e,[s.j.ID]:E})=>e[a.k1.PARAMETERS]?.[n.ns.DEVICE]?.[n.pq.IP]?t.createElement(r.A,{label:t.createElement(l.sA,{id:E}),value:e[a.k1.PARAMETERS][n.ns.DEVICE][n.pq.IP]}):null},979353:(e,E,A)=>{var t;A.d(E,{w:()=>t}),function(e){e.LOG="log"}(t||(t={}))}}]);