"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[90910],{690910(e,E,t){t.r(E),t.d(E,{default:()=>d});var l=t(296540),n=t(57218),A=t(689210),a=t(196898),s=t(893126),r=t(979353);const d=({[r.w.LOG]:e})=>[l.createElement(n.A,{key:"deviceName",id:"COMMON_DEVICE",log:e}),l.createElement(A.A,{key:"deviceModel",id:"COMMON_MODEL",log:e}),l.createElement(s.A,{key:"deviceIpAddress",id:"COMMON_IP_ADDRESS",log:e}),l.createElement(a.A,{key:"deviceMacAddress",id:"COMMON_MAC_ADDRESS",log:e})]},979353(e,E,t){var l;t.d(E,{w:()=>l}),function(e){e.LOG="log"}(l||(l={}))},893126(e,E,t){t.d(E,{A:()=>d});var l=t(296540),n=t(916537),A=t(30611),a=t(151033),s=t(67668),r=t(638595);const d=({[r.j.LOG]:e,[r.j.ID]:E})=>e[a.k1.PARAMETERS]?.[A.ns.DEVICE]?.[A.pq.IP]?l.createElement(s.A,{label:l.createElement(n.sA,{id:E}),value:e[a.k1.PARAMETERS][A.ns.DEVICE][A.pq.IP]}):null},196898(e,E,t){t.d(E,{A:()=>d});var l=t(296540),n=t(916537),A=t(30611),a=t(151033),s=t(67668),r=t(638595);const d=({[r.j.LOG]:e,[r.j.ID]:E})=>e[a.k1.PARAMETERS]?.[A.ns.DEVICE]?.[a.bP.ID]?l.createElement(s.A,{label:l.createElement(n.sA,{id:E}),value:e[a.k1.PARAMETERS][A.ns.DEVICE][a.bP.ID]}):null},689210(e,E,t){t.d(E,{A:()=>c});var l=t(296540),n=t(6510),A=t(916537),a=t(30611),s=t(151033),r=t(67668),d=t(638595);const c=({[d.j.LOG]:e,[d.j.ID]:E})=>e[s.k1.PARAMETERS]?.[a.ns.DEVICE]?.[a.pq.MODEL_NAME]?l.createElement(r.A,{label:l.createElement(A.sA,{id:E}),value:(0,n.Lm)(e[s.k1.PARAMETERS][a.ns.DEVICE][a.pq.MODEL_NAME])}):null},57218(e,E,t){t.d(E,{A:()=>o});var l=t(296540),n=t(469733),A=t(968906),a=t(398300),s=t(845030),r=t(916537),d=t(30611),c=t(151033),i=t(383664),D=t(638595),M=t(164231),I=t(487585);const o=({[D.j.ID]:e,[D.j.LOG]:E})=>{const t=(0,n.useDispatch)(),o=(0,l.useCallback)(()=>{t((0,s.XP)({type:a.H.DEVICE,id:E[c.k1.PARAMETERS]?.[d.ns.DEVICE]?.[c.bP.ID]}))},[t,E]),u=(0,M.A)({[I.U.MAC]:E[c.k1.PARAMETERS]?.[d.ns.DEVICE]?.[c.bP.ID],[I.U.NAME]:E[c.k1.PARAMETERS]?.[d.ns.DEVICE]?.[c.bP.NAME],[I.U.MODEL]:E[c.k1.PARAMETERS]?.[d.ns.DEVICE]?.[d.pq.MODEL_NAME]});return E[c.k1.PARAMETERS]?.[d.ns.DEVICE]?l.createElement(i.A,{label:l.createElement(r.sA,{id:e}),value:u,onPress:o,...A.A.addDataTestId(A.A.TestId.SIDE_PANEL_TRIGGER)}):null}},638595(e,E,t){var l;t.d(E,{j:()=>l}),function(e){e.ID="id",e.LOG="log"}(l||(l={}))},383664(e,E,t){t.d(E,{A:()=>d});var l=t(296540),n=t(592563),A=t(199582),a=t(491876),s=t(35571),r=t(115829);const d=({label:e,value:E,onPress:t,[A.L]:d})=>l.createElement(s.R,null,l.createElement(a.A,null,e),l.createElement(n.A,{style:{display:"flex",alignItems:"center",justifyContent:"end",overflow:"hidden"},fontSize:"medium",type:"button",onPress:t,...d&&{[A.L]:d}},l.createElement(r.A,{size:"medium",color:"inherit"},E)))}}]);