"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[43683],{843683(e,t,n){n.r(t),n.d(t,{default:()=>r});var l=n(296540),E=n(348698),s=n(805014),A=n(270014),a=n(979353);const r=({[a.w.LOG]:e})=>[l.createElement(A.A,{key:"ip",id:"COMMON_IP_ADDRESS",log:e}),l.createElement(s.A,{key:"network",id:"COMMON_NETWORK",log:e}),l.createElement(E.A,{key:"networkSubnet",id:"COMMON_SUBNET",log:e})]},979353(e,t,n){var l;n.d(t,{w:()=>l}),function(e){e.LOG="log"}(l||(l={}))},638595(e,t,n){var l;n.d(t,{j:()=>l}),function(e){e.ID="id",e.LOG="log"}(l||(l={}))},270014(e,t,n){n.d(t,{A:()=>c});var l=n(296540),E=n(916537),s=n(30611),A=n(151033),a=n(67668),r=n(638595);const c=({[r.j.ID]:e,[r.j.LOG]:t})=>t[A.k1.PARAMETERS]?.[s.ns.IP]?.[A.bP.NAME]?l.createElement(a.A,{label:l.createElement(E.sA,{id:e}),value:t[A.k1.PARAMETERS][s.ns.IP][A.bP.NAME]}):null},805014(e,t,n){n.d(t,{A:()=>T});var l=n(956347),E=n(469733),s=n(296540),A=n(968906),a=n(928085),r=n(398300),c=n(845030),i=n(916537),o=n(30611),R=n(151033),u=n(959341),d=n(383664),N=n(638595);const T=({[N.j.LOG]:e,[N.j.ID]:t})=>{const n=(0,E.useDispatch)(),T=(0,l.W6)(),P=(0,a.A)(u.Cs),k=(0,s.useCallback)(()=>{const t=e[R.k1.PARAMETERS]?.[o.ns.NETWORK]?.[R.bP.ID];t?n((0,c.XP)({type:r.H.NETWORK,id:e[R.k1.PARAMETERS]?.[o.ns.NETWORK]?.[R.bP.ID]})):T.push(P)},[e,T,n,P]),O=e[R.k1.PARAMETERS]?.[o.ns.NETWORK]?.[R.bP.NAME],m=e[R.k1.PARAMETERS]?.[o.ns.NETWORK]?.[o.jN.VLAN_ID];return O?s.createElement(d.A,{label:s.createElement(i.sA,{id:t}),value:`${O}${m?` (${m})`:""}`,onPress:k,...A.A.addDataTestId(A.A.TestId.SIDE_PANEL_TRIGGER)}):null}},348698(e,t,n){n.d(t,{A:()=>c});var l=n(296540),E=n(916537),s=n(30611),A=n(151033),a=n(67668),r=n(638595);const c=({[r.j.LOG]:e,[r.j.ID]:t})=>e[A.k1.PARAMETERS]?.[s.ns.NETWORK]?.[s.jN.SUBNET]?l.createElement(a.A,{label:l.createElement(E.sA,{id:t}),value:e[A.k1.PARAMETERS][s.ns.NETWORK][s.jN.SUBNET]}):null},383664(e,t,n){n.d(t,{A:()=>c});var l=n(296540),E=n(592563),s=n(199582),A=n(491876),a=n(35571),r=n(115829);const c=({label:e,value:t,onPress:n,[s.L]:c})=>l.createElement(a.R,null,l.createElement(A.A,null,e),l.createElement(E.A,{style:{display:"flex",alignItems:"center",justifyContent:"end",overflow:"hidden"},fontSize:"medium",type:"button",onPress:n,...c&&{[s.L]:c}},l.createElement(r.A,{size:"medium",color:"inherit"},t)))}}]);