"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[43683],{270014:(e,n,t)=>{t.d(n,{A:()=>R});var l=t(296540),E=t(699784),A=t(30611),s=t(151033),a=t(67668),r=t(638595);const R=({[r.j.ID]:e,[r.j.LOG]:n})=>n[s.k1.PARAMETERS]?.[A.ns.IP]?.[s.bP.NAME]?l.createElement(a.A,{label:l.createElement(E.sA,{id:e}),value:n[s.k1.PARAMETERS][A.ns.IP][s.bP.NAME]}):null},348698:(e,n,t)=>{t.d(n,{A:()=>R});var l=t(296540),E=t(699784),A=t(30611),s=t(151033),a=t(67668),r=t(638595);const R=({[r.j.LOG]:e,[r.j.ID]:n})=>e[s.k1.PARAMETERS]?.[A.ns.NETWORK]?.[A.jN.SUBNET]?l.createElement(a.A,{label:l.createElement(E.sA,{id:n}),value:e[s.k1.PARAMETERS][A.ns.NETWORK][A.jN.SUBNET]}):null},383664:(e,n,t)=>{t.d(n,{A:()=>r});var l=t(296540),E=t(592563),A=t(491876),s=t(35571),a=t(115829);const r=({label:e,value:n,onPress:t})=>l.createElement(s.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:t},l.createElement(a.A,{size:"medium",color:"inherit"},n)))},638595:(e,n,t)=>{var l;t.d(n,{j:()=>l}),function(e){e.ID="id",e.LOG="log"}(l||(l={}))},805014:(e,n,t)=>{t.d(n,{A:()=>P});var l=t(956347),E=t(469733),A=t(296540),s=t(928085),a=t(398300),r=t(845030),R=t(699784),i=t(233187),c=t(30611),o=t(151033),u=t(959341),N=t(383664),d=t(67668),O=t(638595);const P=({[O.j.LOG]:e,[O.j.ID]:n})=>{const t=(0,E.useDispatch)(),P=(0,l.W6)(),T=(0,s.A)(u.Cs),k=(0,A.useCallback)(()=>{const n=e[o.k1.PARAMETERS]?.[c.ns.NETWORK]?.[o.bP.ID];n?t((0,r.XP)({type:a.H.NETWORK,id:e[o.k1.PARAMETERS]?.[c.ns.NETWORK]?.[o.bP.ID]})):P.push(T)},[e,P,t,T]),M=e[o.k1.PARAMETERS]?.[c.ns.NETWORK]?.[c.jN.NETWORK_PURPOSE]===i.rR.WAN_MAGIC,m=e[o.k1.PARAMETERS]?.[c.ns.NETWORK]?.[o.bP.NAME],S=M?void 0:e[o.k1.PARAMETERS]?.[c.ns.NETWORK]?.[c.jN.VLAN_ID],b=M?d.A:N.A;return m?A.createElement(b,{label:A.createElement(R.sA,{id:n}),value:`${m}${S?` (${S})`:""}`,onPress:k}):null}},843683:(e,n,t)=>{t.r(n),t.d(n,{default:()=>r});var l=t(296540),E=t(348698),A=t(805014),s=t(270014),a=t(979353);const r=({[a.w.LOG]:e})=>[l.createElement(s.A,{key:"ip",id:"COMMON_IP_ADDRESS",log:e}),l.createElement(A.A,{key:"network",id:"COMMON_NETWORK",log:e}),l.createElement(E.A,{key:"networkSubnet",id:"COMMON_SUBNET",log:e})]},979353:(e,n,t)=>{var l;t.d(n,{w:()=>l}),function(e){e.LOG="log"}(l||(l={}))}}]);