"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[21794],{221794(E,s,A){A.r(s),A.d(s,{default:()=>u});var e=A(274934),n=A(155539),l=A(470070),i=A(602764),d=A(599508),M=A(130682),R=A(292681),a=A(412258);const I=({[a.j.LOG]:E,[a.j.ID]:s})=>E[d.k1.PARAMETERS]?.[i.ns.REASON]?.[d.bP.NAME]?(0,e.jsx)(R.A,{label:(0,e.jsx)(l.sA,{id:s}),value:(0,e.jsx)(l.sA,{id:M.DI[E[d.k1.PARAMETERS][i.ns.REASON][d.bP.NAME]],defaultMessage:E[d.k1.PARAMETERS][i.ns.REASON][d.bP.NAME]})}):null;var o=A(956121),r=A(385901),t=A(209325),D=A(308617),O=A(532369),P=A(980178),j=A(416761);const u=({[P.w.LOG]:E})=>[(0,e.jsx)(r.A,{id:"COMMON_DEVICE",log:E},"deviceName"),(0,e.jsx)(t.A,{id:"COMMON_MODEL",log:E},"deviceModel"),(0,e.jsx)(O.A,{id:"COMMON_IP_ADDRESS",log:E},"deviceIpAddress"),(0,e.jsx)(D.A,{id:"COMMON_MAC_ADDRESS",log:E},"deviceMacAddress"),(0,e.jsx)(o.A,{id:"COMMON_VERSION",log:E},"deviceVersion"),(0,e.jsx)(n.A,{id:"COMMON_RELEASE_NOTES",target:j.m.DEVICE,log:E},"releaseNotesLink"),(0,e.jsx)(I,{id:"COMMON_DESCRIPTION",log:E},"reason")]},980178(E,s,A){var e;A.d(s,{w:()=>e}),function(E){E.LOG="log"}(e||(e={}))},532369(E,s,A){A.d(s,{A:()=>R});var e=A(274934),n=A(470070),l=A(602764),i=A(599508),d=A(292681),M=A(412258);const R=({[M.j.LOG]:E,[M.j.ID]:s})=>E[i.k1.PARAMETERS]?.[l.ns.DEVICE]?.[l.pq.IP]?(0,e.jsx)(d.A,{label:(0,e.jsx)(n.sA,{id:s}),value:E[i.k1.PARAMETERS][l.ns.DEVICE][l.pq.IP]}):null},308617(E,s,A){A.d(s,{A:()=>R});var e=A(274934),n=A(470070),l=A(602764),i=A(599508),d=A(292681),M=A(412258);const R=({[M.j.LOG]:E,[M.j.ID]:s})=>E[i.k1.PARAMETERS]?.[l.ns.DEVICE]?.[i.bP.ID]?(0,e.jsx)(d.A,{label:(0,e.jsx)(n.sA,{id:s}),value:E[i.k1.PARAMETERS][l.ns.DEVICE][i.bP.ID]}):null},209325(E,s,A){A.d(s,{A:()=>a});var e=A(274934),n=A(347625),l=A(470070),i=A(602764),d=A(599508),M=A(292681),R=A(412258);const a=({[R.j.LOG]:E,[R.j.ID]:s})=>E[d.k1.PARAMETERS]?.[i.ns.DEVICE]?.[i.pq.MODEL_NAME]?(0,e.jsx)(M.A,{label:(0,e.jsx)(l.sA,{id:s}),value:(0,n.Lm)(E[d.k1.PARAMETERS][i.ns.DEVICE][i.pq.MODEL_NAME])}):null},385901(E,s,A){A.d(s,{A:()=>O});var e=A(274934),n=A(602086),l=A(977872),i=A(590979),d=A(449339),M=A(205521),R=A(470070),a=A(602764),I=A(599508),o=A(913637),r=A(412258),t=A(10820),D=A(105436);const O=({[r.j.ID]:E,[r.j.LOG]:s})=>{const A=(0,l.wA)(),O=(0,n.useCallback)(()=>{A((0,M.XP)({type:d.H.DEVICE,id:s[I.k1.PARAMETERS]?.[a.ns.DEVICE]?.[I.bP.ID]}))},[A,s]),P=(0,t.A)({[D.U.MAC]:s[I.k1.PARAMETERS]?.[a.ns.DEVICE]?.[I.bP.ID],[D.U.NAME]:s[I.k1.PARAMETERS]?.[a.ns.DEVICE]?.[I.bP.NAME],[D.U.MODEL]:s[I.k1.PARAMETERS]?.[a.ns.DEVICE]?.[a.pq.MODEL_NAME]});return s[I.k1.PARAMETERS]?.[a.ns.DEVICE]?(0,e.jsx)(o.A,{label:(0,e.jsx)(R.sA,{id:E}),value:P,onPress:O,...i.A.addDataTestId(i.A.TestId.SIDE_PANEL_TRIGGER)}):null}},956121(E,s,A){A.d(s,{A:()=>R});var e=A(274934),n=A(470070),l=A(602764),i=A(599508),d=A(292681),M=A(412258);const R=({[M.j.LOG]:E,[M.j.ID]:s})=>E[i.k1.PARAMETERS]?.[l.ns.DEVICE]?.[l.pq.VERSION]?(0,e.jsx)(d.A,{label:(0,e.jsx)(n.sA,{id:s}),value:E[i.k1.PARAMETERS][l.ns.DEVICE][l.pq.VERSION]}):null},412258(E,s,A){var e;A.d(s,{j:()=>e}),function(E){E.ID="id",E.LOG="log"}(e||(e={}))},155539(E,s,A){A.d(s,{A:()=>t});var e=A(274934),n=A(87449),l=A(977872),i=A(602086),d=A(470070),M=A(976458),R=A(602764),a=A(599508),I=A(913637),o=A(412258),r=A(416761);const t=({[o.j.LOG]:E,[o.j.ID]:s,[r.Q.TARGET]:A})=>{const t=(0,l.d4)(M.qf),{name:D,version:O}=(0,i.useMemo)(()=>{switch(A){case r.m.APPLICATION:return{name:"network",version:E[a.k1.PARAMETERS]?.[R.ns.VERSION]?.[a.bP.NAME]};case r.m.DEVICE:return{name:E[a.k1.PARAMETERS]?.[R.ns.DEVICE]?.[R.pq.MODEL_NAME],version:E[a.k1.PARAMETERS]?.[R.ns.VERSION]?.[a.bP.ID]||E[a.k1.PARAMETERS]?.[R.ns.DEVICE]?.[R.pq.VERSION]};default:return{name:void 0,version:void 0}}},[E,A]),P=(0,i.useCallback)(()=>{D&&O&&t(D,(0,n.coerce)(O)?.version||O)},[t,D,O]);return void 0!==t&&D&&O?(0,e.jsx)(I.A,{label:(0,e.jsx)(d.sA,{id:s}),onPress:P,value:(0,e.jsx)(d.sA,{id:"COMMON_ACTION_VIEW"})}):null}},416761(E,s,A){var e,n;A.d(s,{Q:()=>n,m:()=>e}),function(E){E.APPLICATION="application",E.DEVICE="device"}(e||(e={})),function(E){E.TARGET="target"}(n||(n={}))},913637(E,s,A){A.d(s,{A:()=>R});var e=A(274934),n=A(954702),l=A(147045),i=A(785697),d=A(607084),M=A(421314);const R=({label:E,value:s,onPress:A,[l.L]:R})=>(0,e.jsxs)(d.R,{children:[(0,e.jsx)(i.A,{children:E}),(0,e.jsx)(n.A,{style:{display:"flex",alignItems:"center",justifyContent:"end",overflow:"hidden"},fontSize:"medium",type:"button",onPress:A,...R&&{[l.L]:R},children:(0,e.jsx)(M.A,{size:"medium",color:"inherit",children:s})})]})}}]);