"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[72229],{87764(e,t,i){var n,s;i.d(t,{Z:()=>s,w:()=>n}),function(e){e.WIFI="wifi",e.NETWORKS="networks",e.INTERNET="internet",e.VPN="vpn",e.ZONES="zones",e.TRAFFIC_AND_FIREWALL_RULES="traffic-and-firewall-rules",e.CYBERSECURE="cybersecure",e.PROFILES="profiles",e.OVERVIEW="settings_overview",e.SYSTEM="system",e.POLICY_TABLE="policy-table",e.OBJECTS="objects",e.HIGH_AVAILABILITY="high-availability",e.SYSTEM_LOGS="systemLogs",e.DEVICE_UPDATES_AND_SETTINGS="deviceUpdatesAndSettings"}(n||(n={})),function(e){e.WIFI="wifi",e.NETWORKS="networks",e.INTERNET="internet",e.VPN_SERVER="vpnServer",e.VPN_CLIENT="vpnClient",e.VPN_S2S="vpnS2S",e.TRAFFIC_RULES="trafficRules",e.TRAFFIC_ROUTES="trafficRoutes",e.STATIC_ROUTES="staticRoutes",e.FIREWALL_RULES="firewallRules",e.PORT_FORWARDING="portForwarding",e.ETHERNET_PORTS="ethernetPorts",e.WIFI_SPEED_LIMIT_PROFILES="wifiSpeedLimitProfiles",e.OBJECT_GROUPS="objectGroups",e.FIREWALL_POLICIES="firewallPolicies",e.WAN_SLA="wanSla",e.RADIUS="radius"}(s||(s={}))},585685(e,t,i){i.d(t,{A:()=>r,Y:()=>_});var n=i(670241),s=i(87764),T=i(969288);const E="/:site/settings/vpn";var _;!function(e){e.TELEPORT_SECTION_TITLE="teleport-section-title",e.TELEPORT_WIFIMAN_TITLE="vpn-teleport-wifiman-title",e.VPN_SERVER_TABLE_TITLE="vpn-server-table-title",e.VPN_CLIENT_TABLE_TITLE="vpn-client-table-title",e.SITE_TO_SITE_TABLE_TITLE="vpn-site-to-site-table-title",e.VPN_SERVER_NEW_RECORD="vpn-server-new-record",e.VPN_CLIENT_NEW_RECORD="vpn-client-new-record"}(_||(_={}));const r=[{group:s.w.VPN,label:"COMMON_TELEPORT",tags:["SETTINGS_TP_WIFIMAN_APP_NAME"],fieldId:_.TELEPORT_SECTION_TITLE,route:`${E}`,isApplicable:"isTeleportSupported",feature:n.v.SETTINGS_TELEPORT},{group:s.w.VPN,label:"COMMON_VPN_SERVER",fieldId:_.VPN_SERVER_TABLE_TITLE,route:`${E}`,feature:n.v.SETTINGS_VPN},{group:s.w.VPN,label:"SETTINGS_VPN_NEW_SERVER",fieldId:_.VPN_SERVER_NEW_RECORD,route:`${E}?vpnServerId=${T.R6}`,tags:["SEARCH_T_WIREGUARD","SEARCH_T_L2TP","SEARCH_T_OPEN_VPN"],feature:n.v.SETTINGS_VPN},{group:s.w.VPN,label:"COMMON_VPN_CLIENT",fieldId:_.VPN_CLIENT_TABLE_TITLE,route:`${E}`,tags:["SEARCH_T_OPEN_VPN"],feature:n.v.SETTINGS_VPN,isApplicable:"isOpenVpnClientsSupported"},{group:s.w.VPN,label:"COMMON_SITE_TO_SITE_VPN",fieldId:_.SITE_TO_SITE_TABLE_TITLE,route:`${E}`,tags:["SEARCH_T_S2S","SEARCH_T_S2S_LONG","SEARCH_T_IPSEC","SEARCH_T_MANUAL_IPSEC","SEARCH_T_OPEN_VPN"],feature:n.v.SETTINGS_VPN}]},535322(e,t,i){i.d(t,{A:()=>A,I:()=>n});var n,s=i(274934),T=i(814557),E=i(158885),_=i(247816),r=i(565527),o=i(309130),S=i(100978),l=i(291508);!function(e){e.ACCORDION="accordion",e.BUTTON_LIST="buttonList"}(n||(n={}));const d=(0,_.A)(S.A,(0,l.A)("marginBottom","isButtonList","margin","flex","width","padding","nested","background"))`
  background-color: ${({background:e,nested:t,theme:{themeName:i}})=>e||T.Ay[i===r.S.DARK?`desktop-color-neutral-${t?"00":"01"}-${r.S.DARK}`:`desktop-color-neutral-${t?"01":"00"}-${r.S.LIGHT}`]};
  padding: ${({isButtonList:e,padding:t})=>t||(e?`0 ${o.Ln}`:o.Ln)};
  margin-bottom: ${({marginBottom:e})=>e||o.Ln};
  ${({margin:e})=>e?`margin: ${e};`:""}
  border-radius: 8px;
  flex-direction: column;
  width: ${({width:e="100%"})=>e};
  flex: ${({flex:e=0})=>e};
  > :last-child {
    margin-bottom: 0;
  }
  thead {
    tr {
      height: 32px !important;
    }
    th {
      text-transform: none;
    }
  }
  ${({isButtonList:e})=>e?`\n    > div {\n      display: flex;\n      height: 48px;\n      border-bottom: ${({theme:{themeName:e}})=>T.Ay[`desktop-border-divider-${e}`]};\n      &:last-child {\n        border-bottom: none;\n      }\n    }\n  `:""}
`,I=(0,_.A)(E.A,(0,l.A)("marginBottom","margin","flex","padding","nested","background"))`
  background-color: ${({background:e,nested:t,theme:{themeName:i}})=>e||T.Ay[i===r.S.DARK?`desktop-color-neutral-${t?"00":"01"}-${r.S.DARK}`:`desktop-color-neutral-${t?"01":"00"}-${r.S.LIGHT}`]};
  margin-bottom: ${({theme:e,marginBottom:t})=>t||e.spacing["spacing-l"]};
  ${({margin:e})=>e?`margin: ${e};`:""}
  ${({padding:e})=>e?`padding: ${e};`:""}
  border-radius: 8px;
  flex-direction: column;
  flex: ${({flex:e=0})=>e};
  > :last-child {
    margin-bottom: 0;
  }
  thead {
    tr {
      height: 32px !important;
    }
    th {
      text-transform: none;
    }
  }
  > li {
    > div:first-child {
      background: ${({background:e,theme:{themeName:t}})=>e||T.Ay[t===r.S.DARK?`desktop-color-neutral-01-${r.S.DARK}`:`desktop-color-neutral-00-${r.S.LIGHT}`]};
      height: 48px;
      padding: 0 ${o.Ln};
    }
    > div:nth-child(2) {
      margin-bottom: 0;
      padding: 0;
      > div {
        padding: 0 ${o.Ln} ${o.Ln};
      }
    }
  }
`,A=({type:e,marginBottom:t,margin:i,padding:T,flex:E,width:_,nested:r,...o})=>"items"in o?(0,s.jsx)(I,{marginBottom:t,margin:i,padding:T,flex:E,nested:r,...o}):(0,s.jsx)(d,{nested:r,width:_,marginBottom:t,margin:i,padding:T,flex:E,isButtonList:e===n.BUTTON_LIST,...o,children:o.children})},872229(e,t,i){i.r(t),i.d(t,{default:()=>C});var n=i(274934),s=i(602086),T=i(938984),E=i(954702),_=i(237725),r=i(535322),o=i(143860),S=i(470070),l=i(43506),d=i(969288),I=i(585685),A=i(715320),N=i(733360),a=i(579902),R=i(271656),c=i(247816),O=i(100978),P=i(309130);const g=(0,c.A)(O.A)`
  flex-direction: column;
  gap: ${P.xO};
`,L=(0,c.A)(O.A)`
  align-items: center;
  justify-content: space-between;
  gap: ${P.xO};
`,u=(0,c.A)(O.A)`
  align-items: center;
  gap: ${P.YC};
`,m=(0,c.A)(O.A)`
  flex-direction: column;
  gap: ${P.YC};
`;var p=i(929409);const C=({activeItem:{[p.L.DASHBOARD_IPV4_ADDRESS]:e,[p.L.DASHBOARD_WAN_ROUTABILITY_INFO]:{[o._I.NETWORK_GROUP]:t,[o._I.ISP_NAME]:i,[o._I.ISP_ASN]:c}=(0,R.A)()}})=>{const O=(0,_.W6)(),P=(0,l.A)(`${d.Hp}?${A.mv}=${I.Y.TELEPORT_SECTION_TITLE}`),C=(0,s.useCallback)(()=>{O.push(P)},[O,P]);return(0,n.jsx)(r.A,{children:(0,n.jsxs)(g,{children:[(0,n.jsxs)(m,{children:[(i||c)&&t?(0,n.jsxs)(L,{children:[(0,n.jsxs)(u,{children:[(0,n.jsx)(a.A,{asn:c,name:i,useFallback:!0,size:20}),(0,n.jsx)(T.A,{size:"medium",color:"text-2",children:i})]}),(0,n.jsx)(T.A,{size:"medium",color:"text-1",children:(0,n.jsx)(S.sA,{id:"COMMON_WAN_NETWORKGROUP_WAN",values:{number:(0,N.si)(t)}})})]}):null,e?(0,n.jsxs)(L,{children:[(0,n.jsx)(T.A,{size:"medium",color:"text-2",children:(0,n.jsx)(S.sA,{id:"COMMON_IPV4_ADDRESS"})}),(0,n.jsx)(T.A,{size:"medium",color:"text-1",children:e})]}):null]}),(0,n.jsx)(T.A,{size:"medium",color:"text-3",children:(0,n.jsx)(S.sA,{id:"DASHBOARD_UPSTREAM_NAT_DETECTION_DESCRIPTION"})}),(0,n.jsxs)(T.A,{size:"medium",color:"text-3",children:[(0,n.jsx)(S.sA,{id:"DASHBOARD_WHAT_IS_AFFECTED"}),":",(0,n.jsxs)("div",{children:["· ",(0,n.jsx)(S.sA,{id:"DASHBOARD_UPSTREAM_NAT_AFFECTED_PORT_FORWARDING"})]}),(0,n.jsxs)("div",{children:["· ",(0,n.jsx)(S.sA,{id:"DASHBOARD_UPSTREAM_NAT_AFFECTED_DIRECT_REMOTE"})]}),(0,n.jsxs)("div",{children:["· ",(0,n.jsx)(S.sA,{id:"DASHBOARD_UPSTREAM_NAT_AFFECTED_VPN"})]})]}),(0,n.jsx)(T.A,{size:"medium",color:"text-3",children:(0,n.jsx)(S.sA,{id:"DASHBOARD_UPSTREAM_NAT_BRIDGE_MODE_DESCRIPTION"})}),(0,n.jsx)(T.A,{size:"medium",color:"text-3",children:(0,n.jsx)(S.sA,{id:"DASHBOARD_UPSTREAM_NAT_TELEPORT_RECOMMENDATION",values:{button:(0,n.jsx)(E.A,{type:"button",fontSize:"medium",onClick:C,children:(0,n.jsx)(S.sA,{id:"DASHBOARD_SET_UP_TELEPORT"})})}})})]})})}},715320(e,t,i){i.d(t,{Lv:()=>s,Mp:()=>T,Qj:()=>o,WN:()=>r,mv:()=>n,n9:()=>_,sC:()=>E});const n="highlightFieldId",s="resultId",T=`${n}=rsyslogd.remoteLoggingLocation.siem&${s}=security-static-33`,E="global_network.radiusprofiles",_=`${n}=${E}`,r="speedTest.enabled",o=`${n}=${r}`},670241(e,t,i){var n;i.d(t,{v:()=>n}),function(e){e.SETTINGS_WIFI="settingsWifi",e.SETTINGS_NETWORKS="settingsNetworks",e.SETTINGS_INTERNET="settingsInternet",e.SETTINGS_TELEPORT="settingsTeleport",e.SETTINGS_VPN="settingsVpn",e.SETTING_ROUTING="settingsRouting",e.SETTINGS_SECURITY="settingsSecurity",e.SETTINGS_ETHERNET_PORTS="settingsEthernetPorts",e.SETTINGS_WIFI_SPEED_LIMIT_PROFILES="settingsWifiSpeedLimitProfiles",e.SETTINGS_RADIUS="settingsRadius",e.NETWORK_OBJECTS="settingsNetworkObjects",e.SETTINGS_PROFILES="settingsProfiles",e.SETTINGS_VPN_CLIENT="vpnClient",e.SETTINGS_CONTENT_FILTER="settingsContentFilter",e.SETTINGS_POLICY="settingsPolicy",e.SETTINGS_POLICY_ACL="settingsPolicyAcl",e.SETTINGS_POLICY_QOS="settingsPolicyQos",e.SETTINGS_POLICY_NAT="settingsPolicyNat",e.SETTINGS_POLICY_DNS="settingsPolicyDns",e.SETTINGS_POLICY_PORT_FORWARDING="settingsPolicyPortForwarding",e.SETTINGS_POLICY_FIREWALL="settingsPolicyFirewall",e.SETTINGS_POLICY_ROUTE="settingsPolicyRoute"}(n||(n={}))}}]);