"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[76584],{776584(e,E,t){t.r(E),t.d(E,{default:()=>m});var n=t(296540),l=t(314114),A=t(134506),a=t(956347),s=t(469733),r=t(968906),P=t(928085),R=t(916537),c=t(30611),T=t(151033),i=t(959341),M=t(845030),N=t(398300),O=t(383664),d=t(638595);const o=({[d.j.LOG]:e,[d.j.ID]:E})=>{const t=(0,a.W6)(),l=(0,s.useDispatch)(),A=(0,P.A)(i.Hp),o=(0,n.useCallback)(()=>{const E=e[T.k1.PARAMETERS]?.[c.ns.NETWORK]?.[T.bP.ID];E?l((0,M.XP)({type:N.H.SITE_TO_SITE_VPN,id:E})):t.push(A)},[e,l,t,A]);return e[T.k1.PARAMETERS]?.[c.ns.NETWORK]?.[T.bP.NAME]?n.createElement(O.A,{label:n.createElement(R.sA,{id:E}),onPress:o,value:e[T.k1.PARAMETERS][c.ns.NETWORK][T.bP.NAME],...r.A.addDataTestId(r.A.TestId.SIDE_PANEL_TRIGGER)}):null};var u=t(155322),_=t(270014),I=t(979353);const m=({[I.w.LOG]:e})=>[n.createElement(o,{key:"siteToSiteVpn",id:"COMMON_SITE_TO_SITE_VPN",log:e}),n.createElement(A.A,{key:"vpnType",id:"COMMON_VPN_TYPE",log:e}),n.createElement(_.A,{key:"ip",id:"COMMON_LOCAL_IP",log:e}),n.createElement(l.A,{key:"wanId",id:"COMMON_WAN_ID",log:e}),n.createElement(u.A,{key:"remoteIp",id:"COMMON_REMOTE_IP_HOSTNAME",log:e})]},979353(e,E,t){var n;t.d(E,{w:()=>n}),function(e){e.LOG="log"}(n||(n={}))},638595(e,E,t){var n;t.d(E,{j:()=>n}),function(e){e.ID="id",e.LOG="log"}(n||(n={}))},270014(e,E,t){t.d(E,{A:()=>P});var n=t(296540),l=t(916537),A=t(30611),a=t(151033),s=t(67668),r=t(638595);const P=({[r.j.ID]:e,[r.j.LOG]:E})=>E[a.k1.PARAMETERS]?.[A.ns.IP]?.[a.bP.NAME]?n.createElement(s.A,{label:n.createElement(l.sA,{id:e}),value:E[a.k1.PARAMETERS][A.ns.IP][a.bP.NAME]}):null},155322(e,E,t){t.d(E,{A:()=>P});var n=t(296540),l=t(916537),A=t(30611),a=t(151033),s=t(67668),r=t(638595);const P=({[r.j.ID]:e,[r.j.LOG]:E})=>E[a.k1.PARAMETERS]?.[A.ns.REMOTE_IP]?.[a.bP.NAME]?n.createElement(s.A,{label:n.createElement(l.sA,{id:e}),value:E[a.k1.PARAMETERS][A.ns.REMOTE_IP][a.bP.NAME]}):null},383664(e,E,t){t.d(E,{A:()=>P});var n=t(296540),l=t(592563),A=t(199582),a=t(491876),s=t(35571),r=t(115829);const P=({label:e,value:E,onPress:t,[A.L]:P})=>n.createElement(s.R,null,n.createElement(a.A,null,e),n.createElement(l.A,{style:{display:"flex",alignItems:"center",justifyContent:"end",overflow:"hidden"},fontSize:"medium",type:"button",onPress:t,...P&&{[A.L]:P}},n.createElement(r.A,{size:"medium",color:"inherit"},E)))},134506(e,E,t){t.d(E,{A:()=>c});var n=t(296540),l=t(916537),A=t(688347),a=t(30611),s=t(151033),r=t(67668),P=t(638595);const R={...A.kO,"ipsec-vpn":"COMMON_IPSEC_VPN","wireguard-teleport-server":"LOGS_WIREGUARD_TELEPORT_SERVER"},c=({[P.j.ID]:e,[P.j.LOG]:E})=>E[s.k1.PARAMETERS]?.[a.ns.NETWORK]?.[a.jN.VPN_TYPE]?n.createElement(r.A,{label:n.createElement(l.sA,{id:e}),value:n.createElement(l.sA,{id:R[E[s.k1.PARAMETERS][a.ns.NETWORK][a.jN.VPN_TYPE]],defaultMessage:E[s.k1.PARAMETERS][a.ns.NETWORK][a.jN.VPN_TYPE]})}):null},314114(e,E,t){t.d(E,{A:()=>P});var n=t(296540),l=t(916537),A=t(30611),a=t(151033),s=t(67668),r=t(638595);const P=({[r.j.LOG]:e,[r.j.ID]:E})=>e[a.k1.PARAMETERS]?.[A.ns.WAN_ID]?.[a.bP.NAME]?n.createElement(s.A,{label:n.createElement(l.sA,{id:E}),value:e[a.k1.PARAMETERS][A.ns.WAN_ID][a.bP.NAME]}):null}}]);