"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[26235],{134506:(e,E,l)=>{l.d(E,{A:()=>T});var n=l(296540),A=l(699784),t=l(688347),a=l(30611),r=l(151033),s=l(67668),R=l(638595);const c={...t.kO,"ipsec-vpn":"COMMON_IPSEC_VPN","wireguard-teleport-server":"LOGS_WIREGUARD_TELEPORT_SERVER"},T=({[R.j.ID]:e,[R.j.LOG]:E})=>E[r.k1.PARAMETERS]?.[a.ns.NETWORK]?.[a.jN.VPN_TYPE]?n.createElement(s.A,{label:n.createElement(A.sA,{id:e}),value:n.createElement(A.sA,{id:c[E[r.k1.PARAMETERS][a.ns.NETWORK][a.jN.VPN_TYPE]],defaultMessage:E[r.k1.PARAMETERS][a.ns.NETWORK][a.jN.VPN_TYPE]})}):null},314114:(e,E,l)=>{l.d(E,{A:()=>R});var n=l(296540),A=l(699784),t=l(30611),a=l(151033),r=l(67668),s=l(638595);const R=({[s.j.LOG]:e,[s.j.ID]:E})=>e[a.k1.PARAMETERS]?.[t.ns.WAN_ID]?.[a.bP.NAME]?n.createElement(r.A,{label:n.createElement(A.sA,{id:E}),value:e[a.k1.PARAMETERS][t.ns.WAN_ID][a.bP.NAME]}):null},357244:(e,E,l)=>{l.d(E,{A:()=>R});var n=l(296540),A=l(699784),t=l(30611),a=l(151033),r=l(67668),s=l(638595);const R=({[s.j.ID]:e,[s.j.LOG]:E})=>E[a.k1.PARAMETERS]?.[t.ns.DURATION]?.[a.bP.NAME]?n.createElement(r.A,{label:n.createElement(A.sA,{id:e}),value:E[a.k1.PARAMETERS][t.ns.DURATION][a.bP.NAME]}):null},383664:(e,E,l)=>{l.d(E,{A:()=>s});var n=l(296540),A=l(592563),t=l(491876),a=l(35571),r=l(115829);const s=({label:e,value:E,onPress:l})=>n.createElement(a.R,null,n.createElement(t.A,null,e),n.createElement(A.A,{style:{display:"flex",alignItems:"center",justifyContent:"end",overflow:"hidden"},fontSize:"medium",type:"button",onPress:l},n.createElement(r.A,{size:"medium",color:"inherit"},E)))},450742:(e,E,l)=>{l.d(E,{A:()=>R});var n=l(296540),A=l(699784),t=l(30611),a=l(151033),r=l(67668),s=l(638595);const R=({[s.j.LOG]:e,[s.j.ID]:E})=>e[a.k1.PARAMETERS]?.[t.ns.CLIENT]?.[t.MK.IP]?n.createElement(r.A,{label:n.createElement(A.sA,{id:E}),value:e[a.k1.PARAMETERS][t.ns.CLIENT][t.MK.IP]}):null},455194:(e,E,l)=>{l.d(E,{A:()=>N});var n=l(296540),A=l(705145),t=l(438369),a=l(670),r=l(699784),s=l(30611),R=l(151033),c=l(422970),T=l(67668),i=l(638595);const N=({[i.j.ID]:e,[i.j.LOG]:E})=>E[R.k1.PARAMETERS]?.[s.ns.DATA_DOWN]&&E[R.k1.PARAMETERS]?.[s.ns.DATA_UP]?n.createElement(T.A,{label:n.createElement(r.sA,{id:e}),value:n.createElement(c.p,null,n.createElement(A.A,{style:{display:"flex",alignItems:"center"},size:"medium",color:"traffic-down",isTruncated:!0},n.createElement(a.A.Icon,null),E[R.k1.PARAMETERS][s.ns.DATA_DOWN][R.bP.NAME]),n.createElement(A.A,{style:{display:"flex",alignItems:"center"},size:"medium",color:"traffic-up",isTruncated:!0},n.createElement(t.A.Icon,null),E[R.k1.PARAMETERS][s.ns.DATA_UP][R.bP.NAME]))}):null},526235:(e,E,l)=>{l.r(E),l.d(E,{default:()=>N});var n=l(296540),A=l(314114),t=l(134506),a=l(859444),r=l(597162),s=l(685568),R=l(357244),c=l(455194),T=l(450742),i=l(979353);const N=({[i.w.LOG]:e})=>[n.createElement(a.A,{key:"vpnServerName",id:"COMMON_VPN_SERVER",log:e}),n.createElement(t.A,{key:"vpnType",id:"COMMON_VPN_TYPE",log:e}),n.createElement(r.A,{key:"vpnServerAddress",id:"LOGS_VPN_SERVER_ADDRESS",log:e}),n.createElement(A.A,{key:"wanId",id:"COMMON_WAN_ID",log:e}),n.createElement(s.A,{key:"radiusIdentity",id:"COMMON_CLIENT",log:e}),n.createElement(T.A,{key:"clientIpAddress",id:"COMMON_CLIENT_IP_ADDRESS",log:e}),n.createElement(R.A,{id:"LOGS_CONNECT_DURATION",key:"duration",log:e}),n.createElement(c.A,{id:"LOGS_DATA_USAGE",key:"dataUsage",log:e})]},597162:(e,E,l)=>{l.d(E,{A:()=>R});var n=l(296540),A=l(699784),t=l(30611),a=l(151033),r=l(67668),s=l(638595);const R=({[s.j.LOG]:e,[s.j.ID]:E})=>e[a.k1.PARAMETERS]?.[t.ns.VPN_SERVER_ADDRESS]?.[a.bP.NAME]?n.createElement(r.A,{label:n.createElement(A.sA,{id:E}),value:e[a.k1.PARAMETERS][t.ns.VPN_SERVER_ADDRESS][a.bP.NAME]}):null},638595:(e,E,l)=>{var n;l.d(E,{j:()=>n}),function(e){e.ID="id",e.LOG="log"}(n||(n={}))},685568:(e,E,l)=>{l.d(E,{A:()=>R});var n=l(296540),A=l(699784),t=l(30611),a=l(151033),r=l(67668),s=l(638595);const R=({[s.j.ID]:e,[s.j.LOG]:E})=>E[a.k1.PARAMETERS]?.[t.ns.CLIENT]?.[t.MK.RADIUS_IDENTITY]?n.createElement(r.A,{label:n.createElement(A.sA,{id:e}),value:E[a.k1.PARAMETERS][t.ns.CLIENT][t.MK.RADIUS_IDENTITY]}):null},859444:(e,E,l)=>{l.d(E,{A:()=>N});var n=l(956347),A=l(296540),t=l(928085),a=l(699784),r=l(30611),s=l(151033),R=l(959341),c=l(383664);const T=":vpn:";var i=l(638595);const N=({[i.j.LOG]:e,[i.j.ID]:E})=>{const l=(0,n.W6)(),N=(0,t.A)(R.Vy),P=(0,t.A)(`${R.X9}/${R.fW}`),d=P.concat(`/${T}`),o=(0,A.useCallback)(()=>{if("Teleport"===e[s.k1.PARAMETERS]?.[r.ns.NETWORK]?.[s.bP.ID])l.push(N);else{const E=e[s.k1.PARAMETERS]?.[r.ns.NETWORK]?.[s.bP.ID];l.push(E?d.replace(T,E):P)}},[e,l,N,P,d]);return e[s.k1.PARAMETERS]?.[r.ns.NETWORK]?.[s.bP.NAME]?A.createElement(c.A,{label:A.createElement(a.sA,{id:E}),onPress:o,value:e[s.k1.PARAMETERS][r.ns.NETWORK][s.bP.NAME]}):null}},979353:(e,E,l)=>{var n;l.d(E,{w:()=>n}),function(e){e.LOG="log"}(n||(n={}))}}]);