"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[91486],{895795(e,t,n){n.d(t,{A:()=>r});var l=n(296540),a=n(629318);const r=(0,n(51946).w)(e=>(0,l.createElement)("svg",(0,a.d)({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em"},e),(0,l.createElement)("rect",{x:3,y:5,width:12,height:12,rx:1,fill:"currentColor",className:e.twotonedclassname}),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5 4H16v9.5a.5.5 0 0 0 1 0V4a1 1 0 0 0-1-1H6.5a.5.5 0 0 0 0 1ZM4 6h10v10H4V6ZM3 6a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6Z",fill:"currentColor",className:e.baseclassname}),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5 4H16v9.5a.5.5 0 0 0 1 0V4a1 1 0 0 0-1-1H6.5a.5.5 0 0 0 0 1ZM4 5a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4Z",fill:"currentColor",className:e.fillclassname})))},400270(e,t,n){n.d(t,{A:()=>r});var l=n(296540),a=n(629318);const r=(0,n(51946).w)(e=>(0,l.createElement)("svg",(0,a.d)({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em"},e),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 3a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H4Zm8 8a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-4Z",fill:"currentColor",className:e.twotonedclassname}),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 4h4v4H4V4ZM3 4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4Zm9 8h4v4h-4v-4Zm-1 0a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1v-4Zm1.854-4.854L11.707 6H16v3.5a.5.5 0 0 0 1 0v-4a.5.5 0 0 0-.5-.5h-4.793l1.147-1.146a.5.5 0 0 0-.708-.708l-2 2a.5.5 0 0 0 0 .708l2 2a.5.5 0 0 0 .708-.708ZM8.293 15H3.5a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 1 0V14h4.293l-1.147-1.146a.5.5 0 0 1 .708-.708l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L8.293 15Z",fill:"currentColor",className:e.baseclassname}),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 3a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H4Zm7 9a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1v-4Zm1.854-4.854L11.707 6H16v3.5a.5.5 0 0 0 1 0v-4a.5.5 0 0 0-.5-.5h-4.793l1.147-1.146a.5.5 0 0 0-.708-.708l-2 2a.5.5 0 0 0 0 .708l2 2a.5.5 0 0 0 .708-.708ZM8.293 15H3.5a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 1 0V14h4.293l-1.147-1.146a.5.5 0 0 1 .708-.708l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L8.293 15Z",fill:"currentColor",className:e.fillclassname})))},153887(e,t,n){n.d(t,{v:()=>c});var l=n(801081),a=n(25553),r=n(87485),i=n(218104),o=n(655448);const c=e=>(0,l.Mz)((e=>({models:t})=>(0,a.JC)(o.MODEL,t,{queryParams:{mac:e}},{idField:o.ID_FIELD,compareFunction:i.G}))(e),e=>(0,r.kh)(e)[0]||{})},218104(e,t,n){n.d(t,{G:()=>l});const l=({queryParams:e},{queryParams:t})=>e?.mac===t?.mac},104154(e,t,n){n.d(t,{A:()=>o});var l=n(296540),a=n(469733),r=n(691294),i=n(239417);const o=({client:{id:e,type:t,status:n,blocked:o},props:c,children:m})=>{const s=(0,l.useMemo)(()=>t===r.sK.VPN?r.N7.VPN:t===r.sK.TELEPORT?r.N7.TELEPORT:o?r.N7.BLOCKED:n===r.S2.OFFLINE?r.N7.OFFLINE:r.N7.ACTIVE,[t,o,n]);return m((0,a.useSelector)((0,l.useMemo)(()=>(0,i.kV)(e,c,s),[e,c,s])))}},216211(e,t,n){n.d(t,{e:()=>u});var l=n(296540),a=n(956347),r=n(469733),i=n(15095),o=n(627440),c=n(431247),m=n(293016),s=n(649413),d=n(497470);const u=()=>{const e=(0,r.useDispatch)(),t=(0,a.W6)(),n=(0,i.A)(`${o.VO.PORTS}`);return{handleGoToPortsPage:(0,l.useCallback)((l,a,r)=>{if(l)if(e((0,d.gU)(!0)),e((0,d.U)((0,s.HN)(m.F7.DEVICE,[l]))),e((0,d.E1)(!0)),r&&e((0,d.IU)(!0)),a){const t=(0,c.FS)(l,a);e((0,d.Ao)([t]))}else e((0,d.Ao)([]));t.push(n)},[n,t,e])}}},243322(e,t,n){n.d(t,{A:()=>a});var l=n(217439);const a=(0,n(71479).A)(l.A)`
  white-space: nowrap;
`},224948(e,t,n){n.d(t,{A:()=>d});var l=n(296540),a=n(217439),r=n(71479),i=n(566723),o=n(294303),c=n(689965);const m=(0,r.A)("div")`
  margin-right: ${i.kc};
`,s=(0,r.A)("div")`
  margin-left: ${i.kc};
`,d=({icon:e,closeIcon:t,nested:n,children:r,...i})=>l.createElement(c.A,{nested:n,...i},l.createElement(o.A,null,l.createElement(m,null,e),l.createElement(a.A,{size:"medium"},r),t?l.createElement(s,null,t):null))},22169(e,t,n){n.d(t,{A:()=>m});var l=n(296540),a=n(217439),r=n(916537),i=n(115829),o=n(39705),c=n(294303);const m=({ipv6:e,size:t="inherit",color:n="inherit"})=>{const m=e?.[0];return m?l.createElement(c.A,{width:"100%",justifyContent:"flex-end"},l.createElement(i.A,{flexProps:{justifyContent:"flex-end",alignItems:"center"},color:n,size:t},m),e?.length>1?l.createElement(o.A,{items:e,isInteractive:!0,showListMarkers:!1,getItemKey:e=>e,renderListItem:e=>l.createElement(l.Fragment,null,e),renderMultipleItemsSummary:()=>null}):null):l.createElement(a.A,{size:t,color:n},l.createElement(r.sA,{id:"COMMON_FALLBACK"}))}},722194(e,t,n){n.d(t,{A:()=>c});var l=n(296540),a=n(325898),r=n(217439),i=n(903216),o=n(863489);const c=({wired_rate_mbps:e})=>l.createElement(r.A,{style:{color:(0,o.xe)(e,(0,a.A)().motif,!e)},size:"medium"},(0,i.ir)(e))},646189(e,t,n){n.d(t,{A:()=>A});var l=n(822336),a=n(296540),r=n(469733),i=n(71479),o=n(132196),c=n(801081),m=n(189601),s=n(609298),d=n(311785);const u=o.i7`
  0% {
    opacity: 0.0;
    transform: scale(0.3);
  }
  // fadein
  20% {
    opacity: 0.8;
  }
  // grow
  70% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  // fadeout
  100% {
    opacity: 0.0;
    transform: scale(1.0);
  }
`,E=(0,i.A)("div",(0,d.A)("size","animationName","delay"))`
  position: absolute;
  border-radius: 50%;
  ${({size:e,theme:{themeName:t},delay:n,animationName:a})=>`\n    width: ${e}px;\n    height: ${e}px;\n    background: ${l.Ay[`desktop-color-ublue-03-${t}`]};\n    animation-delay: ${n}ms;\n    animation-name: ${a};\n  `}
  animation-duration: ${2e3}ms;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0, 0.3, 0.1, 0);
  z-index: -1;
  opacity: 0;
  transform: scale(0);
`,A=(0,a.memo)(({size:e,mac:t})=>(0,r.useSelector)((0,a.useMemo)(()=>(e=>(0,m.WY)()((0,c.Mz)(({models:t})=>t[s.G.SESSION_METADATA]?.byId?.[e],e=>Boolean(e)),e=>e))(t),[t]))?a.createElement(a.Fragment,null,a.createElement(E,{size:e,animationName:u,delay:-500}),a.createElement(E,{size:e,animationName:u,delay:-1500})):null)},689965(e,t,n){n.d(t,{A:()=>A,I:()=>l});var l,a=n(296540),r=n(822336),i=n(963724),o=n(71479),c=n(825032),m=n(566723),s=n(294303),d=n(311785);!function(e){e.ACCORDION="accordion",e.BUTTON_LIST="buttonList"}(l||(l={}));const u=(0,o.A)(s.A,(0,d.A)("marginBottom","isButtonList","margin","flex","width","padding","nested","background"))`
  background-color: ${({background:e,nested:t,theme:{themeName:n}})=>e||r.Ay[n===c.S.DARK?`desktop-color-neutral-${t?"00":"01"}-dark`:`desktop-color-neutral-${t?"01":"00"}-light`]};
  padding: ${({theme:e,isButtonList:t,padding:n})=>n||(t?`0 ${e.spacing["spacing-l"]}`:e.spacing["spacing-l"])};
  margin-bottom: ${({theme:e,marginBottom:t})=>t||e.spacing["spacing-l"]};
  ${({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}})=>r.Ay[`desktop-border-divider-${e}`]};\n      &:last-child {\n        border-bottom: none;\n      }\n    }\n  `:""}
`,E=(0,o.A)(i.A,(0,d.A)("marginBottom","margin","flex","padding","nested","background"))`
  background-color: ${({background:e,nested:t,theme:{themeName:n}})=>e||r.Ay[n===c.S.DARK?`desktop-color-neutral-${t?"00":"01"}-dark`:`desktop-color-neutral-${t?"01":"00"}-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||r.Ay[t===c.S.DARK?"desktop-color-neutral-01-dark":"desktop-color-neutral-00-light"]};
      height: 48px;
      padding: 0 ${m.Ln};
    }
    > div:nth-child(2) {
      margin-bottom: 0;
      padding: 0;
      > div {
        padding: 0 ${m.Ln} ${m.Ln};
      }
    }
  }
`,A=({type:e,marginBottom:t,margin:n,padding:r,flex:i,width:o,nested:c,...m})=>"items"in m?a.createElement(E,{marginBottom:t,margin:n,padding:r,flex:i,nested:c,...m}):a.createElement(u,{nested:c,width:o,marginBottom:t,margin:n,padding:r,flex:i,isButtonList:e===l.BUTTON_LIST,...m},m.children)},369702(e,t,n){n.d(t,{A:()=>r});var l=n(296540),a=n(74750);const r=({children:e,...t})=>l.createElement(a.A,{variant:"secondary-emphasis",...t},e)},802123(e,t,n){n.d(t,{A:()=>u});var l=n(296540),a=n(758649),r=n(566723),i=n(203157),o=n(294303),c=n(916537),m=n(115829),s=n(424135),d=n(819127);const u=({enabled:e,label:t,tooltipItems:n,neverShowListMarkers:u,limit:E=20,seeMoreCallback:A,isInteractive:p,title:_,showMatchOppositeIcon:h,listGap:g,iconProps:v})=>l.createElement(o.A,{flex:1,overflow:"hidden",gap:r.YC},h?l.createElement(i.A,{enabled:e}):null,l.createElement(s.A,{tooltip:l.createElement(d.A,{title:_,position:"top",isInteractive:Boolean(A)||p,items:n,showListMarkers:!u,maxItemCount:E,getItemKey:(e,t)=>t,renderItem:e=>e,listGap:g,renderShowMore:A?()=>l.createElement(a.A,{variant:"inline",onClick:A},l.createElement(c.sA,{id:"COMMON_SEE_MORE"})):void 0,iconProps:v})},t?l.createElement(m.A,{color:e?"inherit":"disabled"},t):null))},819127(e,t,n){n.d(t,{A:()=>i});var l=n(296540),a=n(766624),r=n(530813);const i=function({items:e,getItemKey:t,renderItem:n,maxItemCount:i,renderShowMore:o,showListMarkers:c,title:m,position:s,isInteractive:d,cursorType:u,listGap:E,iconProps:A}){return l.createElement(a.A,{title:m,position:s,isInteractive:d,cursorType:u,description:l.createElement(r.A,{items:e,getItemKey:t,renderItem:n,maxItemCount:i,listGap:E,renderShowMore:o,showListMarkers:c}),iconProps:A})}},203157(e,t,n){n.d(t,{A:()=>m});var l=n(296540),a=n(271856),r=n(400270),i=n(566723),o=n(294303),c=n(916537);const m=({enabled:e})=>l.createElement(o.A,{opacity:e?void 0:i.xN},l.createElement(a.A,{description:l.createElement(c.sA,{id:"COMMON_MATCH_OPPOSITE"}),portal:!0},l.createElement(r.A,{size:"original"})))},39705(e,t,n){n.d(t,{A:()=>m});var l=n(296540),a=n(705145),r=n(916537),i=n(115829),o=n(424135),c=n(819127);const m=function({items:e,renderMultipleItemsSummary:t,renderListItem:n,renderNoItems:m,getItemKey:s,enabled:d=!0,showListMarkers:u,cursorType:E,isInteractive:A}){const p=d?"inherit":"disabled";return e.length>1?l.createElement(o.A,{tooltip:l.createElement(c.A,{items:e,getItemKey:s,renderItem:n,showListMarkers:u,isInteractive:A,cursorType:E})},l.createElement(i.A,{color:p,cursorType:E},t(e))):1===e.length?l.createElement(i.A,{color:p,cursorType:E},n(e[0])):m?l.createElement(l.Fragment,null,m()):l.createElement(a.A,{isTruncated:!0,color:p},l.createElement(r.sA,{id:"COMMON_FALLBACK"}))}},424135(e,t,n){n.d(t,{A:()=>i});var l=n(296540),a=n(566723),r=n(294303);const i=({children:e,tooltip:t})=>l.createElement(r.A,{maxWidth:"100%",overflow:"hidden",gap:a.YC,alignItems:"center"},e?l.createElement(r.A,{flex:1,overflow:"hidden"},e):null,t)},486006(e,t,n){n.d(t,{Ay:()=>_,ZF:()=>l});var l,a=n(296540),r=n(217439),i=n(943887),o=n(137298),c=n(38937),m=n(566723),s=n(916537),d=n(951106),u=n(11001),E=n(802123),A=n(294303);!function(e){e.MIMO_AND_STANDARD="mimoAndStandard",e.CHANNEL_AND_WIDTH="channelAndWidth",e.SIGNAL="signal",e.TX="tx",e.RX="rx"}(l||(l={}));const p={[l.MIMO_AND_STANDARD]:({detail:e})=>{const t=e.mimo?(0,d.iP)(e.mimo):a.createElement(s.sA,{id:"COMMON_FALLBACK"}),n=e.radio_proto?(0,d.z0)(e.radio_proto):a.createElement(s.sA,{id:"COMMON_FALLBACK"});return a.createElement(r.A,{size:"small"},t," (",n,")")},[l.CHANNEL_AND_WIDTH]:({detail:{channel:e,channel_width:t}})=>a.createElement(r.A,{size:"small"},e||a.createElement(s.sA,{id:"COMMON_FALLBACK"}),"  (",t||a.createElement(s.sA,{id:"COMMON_FALLBACK"})," ",a.createElement(s.sA,{id:"COMMON_UNIT_MHZ"}),")"),[l.SIGNAL]:({detail:{signal:e}})=>e?a.createElement(r.A,{size:"small",color:(0,c.b5)(e)},e," ",a.createElement(s.sA,{id:"COMMON_UNIT_DBM"})):a.createElement(r.A,{size:"small",color:"inherit"},a.createElement(s.sA,{id:"COMMON_FALLBACK"})),[l.TX]:({detail:{tx_rate:e}})=>e>0?a.createElement(u.A,{hideIcon:!0,bytesPerSecond:(0,o.Zz)(e),direction:"down",size:"small"}):a.createElement(r.A,{size:"small"},a.createElement(s.sA,{id:"COMMON_FALLBACK"})),[l.RX]:({detail:{rx_rate:e}})=>e>0?a.createElement(u.A,{hideIcon:!0,bytesPerSecond:(0,o.Zz)(e),direction:"up",size:"small"}):a.createElement(r.A,{size:"small"},a.createElement(s.sA,{id:"COMMON_FALLBACK"}))},_=({report:e,mlo_details:t,iconProps:n})=>a.createElement(E.A,{enabled:!0,tooltipItems:t.map(t=>{const n=p[e];return a.createElement(A.A,{flexDirection:"row",justifyContent:"space-between",alignItems:"center",gap:m.Ln},a.createElement(r.A,{size:"small"},(0,i.YF)(t.radio)),n?a.createElement(A.A,{flexDirection:"row"},a.createElement(n,{detail:t})):null)}),neverShowListMarkers:!0,iconProps:n})},373934(e,t,n){n.d(t,{A:()=>i});var l=n(296540),a=n(758649),r=n(216211);const i=({mac:e,port:t,children:n})=>{const{handleGoToPortsPage:i}=(0,r.e)(),o=(0,l.useCallback)(n=>{n.stopPropagation(),i(e,+t)},[i,e,t]);return l.createElement(a.A,{type:"button",size:"inherit",variant:"inline",onClick:o},n)}},533520(e,t,n){n.d(t,{x:()=>a});var l=n(296540);const a=({mac:e,detailedStates:t,uplinkDisplayName:n,portNumber:a,uplinkMac:r,PortPowerLimitExceededWarning:i,UplinkNearPowerLimitWarning:o,DeviceNearPowerLimitWarning:c=null})=>{switch(!0){case t.port_power_limit_exceeded:return l.createElement(i,{uplinkDisplayName:n,portNumber:a,uplinkMac:r});case t.uplink_near_power_limit:return l.createElement(o,{uplinkMac:r,uplinkDisplayName:n});case t.device_near_power_limit:return c?l.createElement(c,{mac:e}):null;default:return null}}},660950(e,t,n){n.d(t,{A:()=>o});var l=n(296540),a=n(852866),r=n(916537),i=n(373934);const o=({uplinkMac:e,portNumber:t,uplinkDisplayName:n})=>l.createElement(r.sA,{id:"DEVICE_POE_PORT_OUT_OF_POWER",values:{portName:l.createElement(i.A,{mac:e,port:t},`${(0,a.c)(n)} ${(0,r.tz)().formatMessage({id:"COMMON_PORT"})} ${t}`)}})},643757(e,t,n){n.d(t,{A:()=>c});var l=n(296540),a=n(705145),r=n(180524);var i=n(566723),o=n(294303);const c=(0,l.memo)(({title:e,icon:t,maxWidth:n,disabled:c=!1})=>{const m=(0,l.useRef)(null),s=(e=>{const[t,n]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{e.current&&n(e.current.clientWidth<e.current.scrollWidth)},[e]),t})(m);return l.createElement(r.A,{description:s?e:void 0},l.createElement(o.A,{gap:i.YC,alignItems:"center",maxWidth:n},t,l.createElement(a.A,{isTruncated:!0,size:"medium",weight:"bold",color:c?"text-3":"text-1",ref:m},e)))})},146784(e,t,n){n.d(t,{A:()=>E});var l=n(296540),a=n(349424),r=n(217439),i=n(383653),o=n(568560),c=n(22169),m=n(294303),s=n(916537),d=n(348466),u=n(360113);const E=(0,l.memo)(({ipv6_address:e=[],wan_dhcpv6_pd_size:t})=>{const{globalAddresses:n,linkLocalAddress:E}=(0,l.useMemo)(()=>{const t=[];let n=null;for(let l=0;l<e.length;l+=1){const r=e[l];new a.Address6(r).isLinkLocal()?n=r?.split(d.Ed)?.[0]:t.push(r.split(d.Ed)?.[0])}return{globalAddresses:t,linkLocalAddress:n}},[e]);return n.length?l.createElement(l.Fragment,null,l.createElement(u.A,null,l.createElement(r.A,{color:"text-2",size:"medium"},l.createElement(s.sA,{id:"COMMON_IPV6_ADDRESS"})),l.createElement(o.A,{ipv6:n,size:"medium",color:"text-3"})),t?l.createElement(u.A,null,l.createElement(r.A,{color:"text-2",size:"medium"},l.createElement(s.sA,{id:"COMMON_IPV6_PREFIX"})),l.createElement(m.A,{flex:"1",minWidth:"0",justifyContent:"flex-end"},l.createElement(c.A,{ipv6:[`${(0,i.Gh)(n[0],t)}/${t}`],color:"text-3",size:"medium"}))):null,E?l.createElement(u.A,null,l.createElement(r.A,{color:"text-2",size:"medium"},l.createElement(s.sA,{id:"COMMON_IPV6_LINK_LOCAL"})),l.createElement(o.A,{ipv6:[E],size:"medium",color:"text-3"})):null):null})},53802(e,t,n){n.r(t),n.d(t,{default:()=>ft});var l=n(296540),a=n(469733),r=n(566723),i=n(294303),o=n(689965),c=n(691294),m=n(239417),s=n(187550),d=n(217439),u=n(709690),E=n(349107),A=n(916537),p=n(765562);const _=()=>l.createElement(o.A,{padding:r.Ln,nested:!0,marginBottom:r.kc},l.createElement(i.A,{gap:r.YC},l.createElement(u.A,{variant:"fill",size:"original",isActive:!0}),l.createElement(d.A,null,l.createElement(A.sA,{id:"CLIENTS_SONOS_WARNING",values:{link:l.createElement(E.A,{id:"COMMON_LEARN_MORE",href:p.A.sonosArticle})}}))));var h=n(280062),g=n(104154),v=n(150556),I=n(782558),N=n(360113);const O=({rate_imbalance:e})=>e&&Number.isInteger(e)?l.createElement(N.A,null,l.createElement(d.A,{color:"text-2",size:"medium"},l.createElement(A.sA,{id:"CLIENTS_HEADER_AP_SIGNAL_BALANCE"})),l.createElement(d.A,{color:"text-3",size:"medium"},l.createElement(A.sA,{id:Math.abs(e)<=40?"COMMON_GOOD":"COMMON_POOR"}))):null,f=({details:{radio_name:e,radio:t,rate_imbalance:n,tx_rate:a,rx_rate:r}})=>l.createElement(o.A,{key:e,type:o.I.ACCORDION,items:[{id:e,label:l.createElement(d.A,{weight:"bold",size:"medium"},l.createElement(h.A,{radio:t})),openByDefault:!0,renderContent:()=>l.createElement(l.Fragment,null,l.createElement(O,{rate_imbalance:n}),l.createElement(I.A,{rx_rate:r}),l.createElement(v.A,{tx_rate:a}))}]}),M=({activeItem:e})=>l.createElement(g.A,{client:e,props:["mlo_details"]},({mlo_details:e=[]})=>l.createElement(i.A,{flexDirection:"column"},e.map(e=>l.createElement(f,{key:e.radio_name,details:e}))));var C,x=n(592510),L=n(422969),k=n(115829),b=n(146784),y=n(632169),w=n(366188),S=n(634229),T=n(532419),D=n(951106),R=n(705145),z=n(968906),P=n(398300),$=n(955161),W=n(734707),F=n(845030),H=n(216211),G=n(477544);!function(e){e.OVERRIDE="override",e.WIRELESS="wireless",e.WIRED="wired"}(C||(C={}));const B=(0,l.memo)(({activeItem:e,activeItem:{virtual_network_override_enabled:t,type:n,network_name:r,vlan:i},uplinkDevice:{type:o,name:m,model:s,mac:u}={}})=>{const E=(0,a.useDispatch)(),{formatMessage:p}=(0,A.tz)(),_=(0,a.useSelector)(G.Ag),h=(0,a.useSelector)(T.m9),g="sw_port"in e?e.sw_port:void 0,v="essid"in e?e.essid:void 0,I=(0,D.fU)({type:o,name:m,model:s,mac:u},e,p),{handleGoToPortsPage:O}=(0,H.e)(),{virtualNetworkTriggerLabel:f,virtualNetworkTriggerType:M}=(0,l.useMemo)(()=>t?{virtualNetworkTriggerLabel:l.createElement(d.A,{color:"text-3",size:"medium"},l.createElement(A.sA,{id:"COMMON_NETWORK_OVERRIDE"})),virtualNetworkTriggerType:C.OVERRIDE}:n===c.sK.WIRELESS&&v?{virtualNetworkTriggerLabel:v,virtualNetworkTriggerType:C.WIRELESS}:{virtualNetworkTriggerLabel:I,virtualNetworkTriggerType:C.WIRED},[t,n,v,I]),x=(0,l.useMemo)(()=>_.find(({name:e})=>e===v)?._id,[v,_]),L=(0,l.useCallback)(()=>{switch(M){case C.OVERRIDE:break;case C.WIRELESS:E((0,F.XP)({type:P.H.WIFI,id:x}));break;case C.WIRED:O(u,g)}},[M,E,x,O,u,g]),b=(0,l.useCallback)(e=>l.createElement(W.Ay,{variant:"inline",size:"medium",onClick:L,className:W.ao,...z.A.addDataTestId(z.A.TestId.SIDE_PANEL_TRIGGER)},e),[L]);return l.createElement(l.Fragment,null,r?l.createElement(N.A,null,l.createElement(d.A,{color:"text-2",size:"medium"},l.createElement(A.sA,{id:"COMMON_VIRTUAL_NETWORK"})),l.createElement(R.A,{color:"text-3",size:"medium",isTruncated:!0},r)):null,(i||0===i)&&h?l.createElement(N.A,null,l.createElement(d.A,{color:"text-2",size:"medium"},l.createElement(A.sA,{id:"COMMON_VLAN_ID"})),l.createElement(R.A,{color:"text-3",size:"medium",isTruncated:!0},i)):null,f?l.createElement(N.A,{keyMinWidth:160,valueMaxWidth:180},l.createElement(d.A,{color:"text-2",size:"medium"},l.createElement(A.sA,{id:"COMMON_VIRTUAL_NETWORK_TRIGGER"})),l.createElement($.A,{condition:M!==C.OVERRIDE,wrapper:b},l.createElement(k.A,{color:"text-3",size:"medium",flexProps:{justifyContent:"flex-end"}},f))):null)});var K=n(153887),V=n(271856),U=n(162420),Z=n(282556),Y=n(602021),j=n(198494);const X=(0,l.memo)(({timestamp:e})=>{const t=(0,a.useSelector)(Z.zi),n=(0,a.useSelector)(j.BQ),r=(0,a.useSelector)(Y.hq);return l.createElement(V.A,{description:l.createElement(d.A,{color:"text-1",size:"small"},l.createElement(A.sA,{id:"COMMON_LAST_TEST"})," ",l.createElement(A.sA,{id:"COMMON_PREPOSITION_ON"})," ",new Intl.DateTimeFormat(t,{day:"numeric",month:"short",year:"numeric",hour:"numeric",minute:"numeric",hourCycle:n,timeZone:r}).format(e)),portal:!0},l.createElement(U.A,{isActive:!0,size:"original"}))}),q=(0,l.memo)(({mac:e})=>{const{avg_latency:t,timestamp:n}=(0,a.useSelector)((0,l.useMemo)(()=>(0,K.v)(e),[e]));return t&&t>-1?l.createElement(N.A,null,l.createElement(d.A,{color:"text-2",size:"medium"},l.createElement(A.sA,{id:"COMMON_PING_LATENCY"})),l.createElement(i.A,{alignItems:"center"},l.createElement(d.A,{style:{marginRight:"4px"},color:"text-3",size:"medium"},l.createElement(A.sA,{id:"COMMON_UNIT_MILLISECONDS_SHORT",values:{value:t.toFixed(1)}})),l.createElement(X,{timestamp:n}))):null});var Q=n(903216),J=n(668995),ee=n(664967),te=n(601242),ne=n(411502),le=n(89716),ae=n(987309),re=n(584916);const{startDate:ie,endDate:oe}=ee.E[re.l.ONE_DAY].getRange(new Date),ce=(0,l.memo)(({mac:e})=>{const t=(0,a.useDispatch)(),n=ie.getTime(),r=oe.getTime(),i=(0,a.useSelector)((0,l.useMemo)(()=>(0,le.Fr)({start:n,end:r,includeUnidentified:!0,mac:e}),[e,n,r])),o=(0,l.useMemo)(()=>(i?.usage_by_app||[]).reduce((e,{total_bytes:t,category:n,application:l})=>e+((0,te.ez)((0,J.h)(n,l)).toLowerCase()!==ne.HV?t:0),0)||0,[i?.usage_by_app]);return(0,l.useEffect)(()=>{t((0,ae.m)({start:n,end:r,includeUnidentified:!0,mac:e},void 0,{crudCacheStrategy:{type:x.e.CACHE}}))},[t,r,e,n]),l.createElement(N.A,null,l.createElement(d.A,{color:"text-2"},l.createElement(A.sA,{id:"COMMON_24H_INTERNET_ACTIVITY"})),l.createElement(d.A,{color:"text-3"},(0,Q.FI)(o)))});var me=n(956347),se=n(231755),de=n(180524),ue=n(6510),Ee=n(928085),Ae=n(340813),pe=n(959341);const _e=({uplinkDevice:{model:e,displayable_version:t}})=>l.createElement(l.Fragment,null,(0,ue.Lm)(e)," v.",t),he=({uplinkDevice:e,client:t})=>{const n=(0,a.useDispatch)(),o=(0,me.W6)(),m=(0,a.useSelector)(G.Ag).find(({networkconf_id:e,name:n})=>e===t.network_id&&n===t.essid),s=(0,Ee.A)(pe._L),u=(0,l.useCallback)(()=>{n((0,F.XP)({type:P.H.DEVICE,id:e?.mac}))},[n,e?.mac]),E=(0,l.useCallback)(()=>{m?._id?n((0,F.XP)({type:P.H.WIFI,id:m._id})):o.push(s)},[n,o,m?._id,s]);return l.createElement(N.A,{flexProps:{alignItems:"center"},valueMaxWidth:300},l.createElement(d.A,{color:"text-2",size:"medium"},l.createElement(A.sA,{id:t.status===c.S2.ONLINE?"COMMON_AP":"COMMON_LAST_CONNECTED"})),l.createElement(i.A,{gap:r.kc,alignItems:"center",justifyContent:"stretch"},e?l.createElement(l.Fragment,null,l.createElement(de.A,{description:l.createElement(_e,{uplinkDevice:e})},l.createElement(Ae.A,{onClick:u,maxWidth:180,dontShowTooltipIfTruncated:!0,...z.A.addDataTestId(z.A.TestId.SIDE_PANEL_TRIGGER)},(0,ue.Q)(e))),l.createElement(se.A,{orientation:"vertical",style:{height:10}})):null,l.createElement(Ae.A,{onClick:E,maxWidth:90,...z.A.addDataTestId(z.A.TestId.SIDE_PANEL_TRIGGER)},t.essid)))},ge=({ip:e,last_ip:t})=>l.createElement(N.A,null,l.createElement(d.A,{color:"text-2",size:"medium"},l.createElement(A.sA,{id:"COMMON_IP_ADDRESS"})),l.createElement(d.A,{color:"text-3",size:"medium"},e||t||l.createElement(A.sA,{id:"COMMON_UNKNOWN"}))),ve=({activeItem:e,activeItem:{virtual_network_override_enabled:t,virtual_network_override_id:n,network_id:r},fingerprintData:{fingerprint_device_vendor:o,fingerprint_device_os:m,fingerprint_device_name:s}})=>{const u=(0,a.useSelector)((0,l.useMemo)(()=>(0,w.lq)(t?n:r),[t,n,r])),E=(0,a.useSelector)((0,l.useMemo)(()=>e.uplink_mac?(0,T.bw)(e.uplink_mac,["type","name","model","mac","displayable_version"]):()=>{},[e.uplink_mac]));return(0,L.A)([(0,y.uy)(void 0,{crudCacheStrategy:{type:x.e.CACHE}}),(0,S.Sk)(void 0,{crudCacheStrategy:{type:x.e.CACHE}})],l.createElement(i.A,{flexDirection:"column"},e.type===c.sK.WIRELESS&&e.essid&&E?l.createElement(he,{uplinkDevice:E,client:e}):null,l.createElement(ge,{ip:e.ip,last_ip:e.last_ip}),e.last_ipv6?.length&&e.status===c.S2.OFFLINE?l.createElement(b.A,{ipv6_address:e.last_ipv6}):null,u?l.createElement(N.A,null,l.createElement(d.A,{color:"text-2",size:"medium"},l.createElement(A.sA,{id:"COMMON_NETWORK"})),l.createElement(d.A,{color:"text-3",size:"medium"},l.createElement(A.sA,{id:"COMMON_DEFAULT"}))):null,e.status===c.S2.ONLINE?l.createElement(ce,{mac:e.mac}):null,e.type===c.sK.WIRELESS&&Number.isFinite(e.wifi_tx_retries_percentage)?l.createElement(N.A,null,l.createElement(d.A,{color:"text-2",size:"medium"},l.createElement(A.sA,{id:"COMMON_TX_RETRIES"})),l.createElement(d.A,{color:"text-3",size:"medium"},e.wifi_tx_retries_percentage.toFixed(1),"%")):null,e.type===c.sK.WIRELESS&&e.mimo?l.createElement(N.A,null,l.createElement(d.A,{color:"text-2",size:"medium"},l.createElement(A.sA,{id:"COMMON_MIMO"})," ",l.createElement(A.sA,{id:"COMMON_CONFIGURATION"})),l.createElement(d.A,{color:"text-3",size:"medium"},(0,D.iP)(e.mimo))):null,e.type===c.sK.WIRELESS?l.createElement(O,{rate_imbalance:e.rate_imbalance}):null,e.type===c.sK.WIRELESS&&e.is_mlo?null:l.createElement(l.Fragment,null,l.createElement(g.A,{client:e,props:["rx_rate"]},({rx_rate:e=0})=>l.createElement(I.A,{rx_rate:e})),l.createElement(g.A,{client:e,props:["tx_rate"]},({tx_rate:e=0})=>l.createElement(v.A,{tx_rate:e}))),e.status===c.S2.ONLINE?l.createElement(q,{mac:e.mac}):null,e.type===c.sK.WIRELESS&&e.is_mlo&&e.mlo_details?l.createElement(N.A,null,l.createElement(d.A,{color:"text-2",size:"medium"},l.createElement(A.sA,{id:"COMMON_MAC_ADDRESS"})),l.createElement(d.A,{color:"text-3",size:"medium"},e.mac)):null,u?null:l.createElement(B,{activeItem:e,uplinkDevice:E}),e.status===c.S2.ONLINE?l.createElement(b.A,{ipv6_address:e.ipv6_address}):null,e.hostname&&e.status===c.S2.ONLINE?l.createElement(N.A,null,l.createElement(d.A,{color:"text-2",size:"medium"},l.createElement(A.sA,{id:"COMMON_HOSTNAME"})),l.createElement(k.A,{color:"text-3",size:"medium",flexProps:{justifyContent:"flex-end"}},e.hostname)):null,o||e.oui?l.createElement(N.A,null,l.createElement(d.A,{color:"text-2",size:"medium"},l.createElement(A.sA,{id:"COMMON_MANUFACTURER"})),l.createElement(k.A,{color:"text-3",size:"medium",flexProps:{justifyContent:"flex-end"}},o||e.oui)):null,s?l.createElement(N.A,null,l.createElement(d.A,{color:"text-2",size:"medium"},l.createElement(A.sA,{id:"COMMON_MODEL"})),l.createElement(k.A,{color:"text-3",size:"medium",flexProps:{justifyContent:"flex-end"}},s)):null,m?l.createElement(N.A,null,l.createElement(d.A,{color:"text-2",size:"medium"},l.createElement(A.sA,{id:"CLIENTS_HEADER_OS"})),l.createElement(k.A,{color:"text-3",size:"medium",flexProps:{justifyContent:"flex-end"}},m)):null))};var Ie=n(127737),Ne=n(643757),Oe=n(369702),fe=n(966784),Me=n(822336),Ce=n(71479),xe=n(506327),Le=n(38937),ke=n(596441),be=n(936485);const ye=({signal:e,pending:t})=>l.createElement(i.A,{alignItems:"center",justifyContent:"flex-end"},l.createElement(d.A,{size:"medium",color:t?"text-2":(0,Le.b5)(e)},t?l.createElement(A.sA,{id:"COMMON_READY"}):l.createElement(l.Fragment,null,e," ",l.createElement(A.sA,{id:"COMMON_UNIT_DBM"})))),we=(0,Ce.A)(i.A)`
  height: ${ke.I.ROW_HEIGHT-1}px;
  border-bottom: ${({theme:{themeName:e}})=>Me.Ay[`desktop-border-divider-${e}`]};
  align-items: center;
  justify-content: space-between;

  &:last-child {
    border-bottom: none;
  }
`,Se=({pending:e})=>l.createElement(V.A,{description:l.createElement(A.sA,{id:e?"COMMON_INACTIVE":"COMMON_CONNECTED"})},l.createElement(xe.A,{status:e?"neutral":"positive",isPulsating:!e})),Te=({channel:e,channelWidth:t,radio:n,mimo:a,signal:o})=>{const c=o<=-90;return l.createElement(we,{width:"100%",gap:r.YC},l.createElement(i.A,{width:23,justifyContent:"center",alignContent:"center"},l.createElement(Se,{pending:c})),l.createElement(i.A,{width:72},l.createElement(ye,{signal:o,pending:c})),l.createElement(i.A,{width:173},l.createElement(be.t,{radio:n,channel:e,channel_width:t,color:"text-3",channelColor:"text-2",size:"medium"})),l.createElement(i.A,{width:67},l.createElement(d.A,{size:"medium",color:"text-2"},a||l.createElement(A.sA,{id:"COMMON_FALLBACK"}))))},De=({mlo_details:e})=>l.createElement(i.A,{flexDirection:"column"},e.map(({channel_width:e,mimo:t,...n})=>l.createElement(Te,{key:n.radio,channelWidth:+e,mimo:t?(0,D.iP)(t):null,...n})));var Re=n(489146);const ze=({activeItem:e})=>l.createElement(Re.fI,null,l.createElement(Re.u0,null,l.createElement(d.A,{size:"medium",color:"text-2"},l.createElement(A.sA,{id:"COMMON_CHANNEL_ABBREVIATION"})),l.createElement(be.t,{radio:e.radio,channel:e.channel,channel_width:e.channel_width,color:"text-3",channelColor:"text-2",size:"medium"})));var Pe=n(722194),$e=n(623771);const We=({client:e,uplinkDevice:t,...n})=>{const r=(0,a.useDispatch)(),i=(0,D.f2)(e,t),o=(0,l.useCallback)(()=>{r((0,F.XP)({type:P.H.DEVICE,id:t?.mac}))},[r,t?.mac]);return l.createElement($e.A,{...n,...z.A.addDataTestId(z.A.TestId.SIDE_PANEL_TRIGGER),onClick:o,name:(0,ue.Q)(t),port:i})},Fe=({activeItem:e})=>{const t=(0,l.useMemo)(()=>e.uplink_mac?(0,T.bw)(e.uplink_mac,["type","name","model","mac","displayable_version"]):()=>{},[e.uplink_mac]),n=(0,a.useSelector)(t);return l.createElement(Re.fI,null,l.createElement(Re.u0,null,l.createElement(We,{uplinkDevice:n,client:e,maxWidth:210,separatePortNumber:!0,tooltipOverride:l.createElement(_e,{uplinkDevice:n})})),"wired_rate_mbps"in e?l.createElement(Re.u0,null,l.createElement(Pe.A,{wired_rate_mbps:e.wired_rate_mbps})):null)};var He=n(475405),Ge=n(312700),Be=n(532988);const Ke=({uplink_mac:e,sw_port:t})=>{const{handleGoToPortsPage:n}=(0,H.e)(),r=(0,l.useMemo)(()=>e?(0,T.bw)(e,["type","model","adopted","port_table"]):()=>{},[e]),i=(0,a.useSelector)(r);return i&&!(0,fe.pf)(i)?null:l.createElement(Oe.A,{onClick:()=>{n(e,+t,!0)},width:"full"},l.createElement(Ie.A,{variant:"twoTone"}),l.createElement(A.sA,{id:"COMMON_GO_TO_PORT_INSIGHTS"}))},Ve=({activeItem:e,activeItem:{display_name:t,blocked:n,status:a,last_seen:o},fingerprintData:m})=>{const s=m?.fingerprint_device_name||t,u=n||a===c.S2.OFFLINE,E=e.type===c.sK.WIRED,A=e.type===c.sK.WIRELESS&&a===c.S2.ONLINE,p=E&&a===c.S2.ONLINE;return l.createElement(i.A,{flexDirection:"column",gap:r.kc},l.createElement(i.A,{flexDirection:"row",alignItems:"stretch",justifyContent:"flex-start",gap:r.YC,position:"relative"},l.createElement(Ge.A,{activeItem:e}),l.createElement(i.A,{flexDirection:"column",justifyContent:"space-between",alignItems:"stretch",flex:"1",minWidth:0},"is_mlo"in e&&e.is_mlo?l.createElement(i.A,{position:"absolute",right:"0",top:"0"},l.createElement(He.A,null)):null,l.createElement(i.A,{flexDirection:"column",justifyContent:"center",flex:1,gap:r.YC},e.mac?l.createElement(Re.fI,null,l.createElement(Ne.A,{title:s,disabled:u,maxWidth:130}),l.createElement(Re.u0,null,l.createElement(d.A,{size:"medium",color:"text-3"},e.mac))):null,A&&!e.is_mlo?l.createElement(ze,{activeItem:e}):null,p?l.createElement(Fe,{activeItem:e}):null,a===c.S2.OFFLINE?l.createElement(Be.A,{last_uplink_mac:E?e.last_uplink_mac:void 0,last_uplink_name:E?e.last_uplink_name:void 0,last_uplink_remote_port:E?e.last_uplink_remote_port:void 0,disconnected_at:o,separatePortNumber:!0,maxWidth:130}):null))),A&&e.is_mlo&&e.mlo_details?l.createElement(De,{mlo_details:e.mlo_details}):null,p?l.createElement(Ke,{uplink_mac:e.uplink_mac,sw_port:e.sw_port}):null)},Ue=()=>l.createElement(o.A,{padding:r.Ln,nested:!0,marginBottom:r.kc},l.createElement(i.A,{gap:r.YC},l.createElement(u.A,{variant:"fill",size:"original",isActive:!0}),l.createElement(d.A,null,l.createElement(A.sA,{id:"CLIENTS_APPLE_UPDATE_WARNING"})))),Ze=(0,Ce.A)(i.A)`
  flex-direction: column;
  gap: ${r.xO};
`,Ye=(0,Ce.A)(i.A)`
  & > * + * {
    margin-left: ${r.xO};
    padding-left: ${r.xO};
    position: relative;
    &::before {
      background: ${({theme:{themeName:e}})=>Me.Ay[`desktop-color-neutral-03-${e}`]};
      content: '';
      height: ${r.S2};
      left: 0;
      max-height: ${r.S2};
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 1px;
    }
  }
`;var je=n(399818);const Xe=(0,Ce.A)(i.A)`
  flex-direction: column;
`,qe=({id:e,children:t})=>l.createElement(Xe,null,l.createElement(d.A,{size:"small",color:"text-3"},l.createElement(A.sA,{id:e})),t),Qe=({signal:e,is_mlo:t,mlo_details:n})=>l.createElement(qe,{id:"COMMON_SIGNAL"},l.createElement(je.A,{signal:e,is_mlo:t,mlo_details:n,size:"small",iconProps:{size:"medium"}})),Je=({radio_proto:e,is_mlo:t})=>{const{formatMessage:n}=(0,A.tz)();return l.createElement(qe,{id:"COMMON_WIFI_STANDARD"},l.createElement(d.A,{size:"small",color:"text-2"},[e?(0,D.z0)(e):"",t?n({id:"COMMON_MLO"}):""].filter(Boolean).join(" ")))},et=(0,Ce.A)(i.A)`
  align-items: center;
  gap: ${r.YC};
`,tt=(0,Ce.A)(i.A)`
  align-items: center;
`;var nt=n(11001);const lt=({"tx_bytes-r":e=0})=>l.createElement(nt.A,{bytesPerSecond:e,direction:"down",size:"small"}),at=({"rx_bytes-r":e=0})=>l.createElement(nt.A,{bytesPerSecond:e,direction:"up",size:"small"}),rt=({mac:e})=>l.createElement(qe,{id:"CLIENTS_PHY_SPEED"},l.createElement(et,null,l.createElement(tt,null,l.createElement(g.A,{client:{id:e,type:c.sK.WIRELESS,status:c.S2.ONLINE,blocked:!1},props:["tx_bytes-r"]},lt)),l.createElement(tt,null,l.createElement(g.A,{client:{id:e,type:c.sK.WIRELESS,status:c.S2.ONLINE,blocked:!1},props:["rx_bytes-r"]},at)))),it=({signal:e,is_mlo:t,mlo_details:n,radio_proto:a,mac:r})=>l.createElement(Ye,null,l.createElement(Qe,{signal:e,is_mlo:t,mlo_details:n}),l.createElement(Je,{radio_proto:a,is_mlo:t}),l.createElement(rt,{mac:r}));var ot=n(382389),ct=n(769972);const mt=e=>Math.max(Math.min(Math.abs(e),100),0),st=(0,Ce.A)("div")`
  display: grid;
  width: 100%;
  height: ${125}px;
  grid-template-columns: repeat(${3}, 1fr);
  grid-template-rows: repeat(
    ${5},
    ${25}px
  );
  gap: 0;
  ${({theme:{themeName:e}})=>`\n    border-left: 1px solid ${Me.Ay[`desktop-color-neutral-03-${e}`]};\n    border-top: 1px solid ${Me.Ay[`desktop-color-neutral-03-${e}`]};\n  `}
  position: relative;
  & > canvas {
    position: absolute;
  }
`,dt=(0,Ce.A)("div")`
  height: ${25}px;
  min-width: 0;
  ${({theme:{themeName:e}})=>`\n    border-right: 1px solid ${Me.Ay[`desktop-color-neutral-03-${e}`]};\n    border-bottom: 1px solid ${Me.Ay[`desktop-color-neutral-03-${e}`]};\n  `}
`,ut=(0,l.forwardRef)(({children:e},t)=>l.createElement(st,{ref:t},Array.from({length:15},(e,t)=>l.createElement(dt,{key:t})),e)),Et=(0,Ce.A)(i.A)`
  gap: ${r.YC};
  position: relative;
`,At=(0,Ce.A)(i.A)`
  flex-direction: column;
  position: relative;
  > * {
    margin-top: 9.2px;
  }
  > *:first-child {
    margin-top: -${r.kc};
  }
`,pt=()=>l.createElement(At,null,l.createElement(d.A,{size:"small",color:"text-3"},l.createElement(A.sA,{id:"COMMON_UNIT_DBM"})),l.createElement(d.A,{size:"small",color:"text-3"},"-20"),l.createElement(d.A,{size:"small",color:"text-3"},"-40"),l.createElement(d.A,{size:"small",color:"text-3"},"-60"),l.createElement(d.A,{size:"small",color:"text-3"},"-80"),l.createElement(d.A,{size:"small",color:"text-3"},"-100"));var _t;!function(e){e.WIDTH="width",e.HEIGHT="height",e.STYLE="style"}(_t||(_t={}));var ht,gt;!function(e){e.SIGNAL="signal",e.COLOR="color"}(ht||(ht={})),function(e){e.CANVAS_REF="canvasRef"}(gt||(gt={}));const vt=(e,t)=>0===e?1*Math.sin(.25*t):0,It=(e,t)=>Math.max(0,Math.min(100,e+t)),Nt=({signal:e,uplink_mac:t})=>{const{themeName:n}=(0,ot.u)(),[r,i]=(0,ct.Ay)(),o=(e=>(0,l.useMemo)(()=>({[_t.WIDTH]:Math.floor(e.width),[_t.HEIGHT]:Math.floor(e.height),[_t.STYLE]:{width:`${e.width}px`,height:`${e.height}px`}}),[e]))(r),{[gt.CANVAS_REF]:c}=(({size:{width:e,height:t},color:n,signal:a})=>{const r=(0,l.useRef)(null),i=(0,l.useRef)({[ht.SIGNAL]:a,[ht.COLOR]:n}),o=(0,l.useRef)(0),c=(0,l.useRef)([]),m=(0,l.useRef)(a),s=(0,l.useRef)(0),d=(0,l.useRef)(0),u=(0,l.useRef)(0);(0,l.useEffect)(()=>{i.current={[ht.SIGNAL]:a,[ht.COLOR]:n}},[a,n]);const E=(0,l.useCallback)(n=>{const l=r.current?.getContext("2d");if(l&&e&&t){0===d.current&&(d.current=n);const a=n-d.current;d.current=n,u.current+=a;const r=c.current,A=.75,p=t-1.5,_=Math.ceil(e);for(;u.current>=16.6;){u.current-=16.6;const e=i.current[ht.SIGNAL]-m.current;0!==e?(m.current+=Math.sign(e)*Math.min(1,Math.abs(e)),s.current=0):s.current+=1,r.unshift({[ht.SIGNAL]:It(m.current,vt(e,s.current)),[ht.COLOR]:i.current[ht.COLOR]}),r.length>_&&(r.length=_)}l.clearRect(0,0,e,t),l.lineWidth=1.5,l.lineJoin="round",l.lineCap="round";let h=0;for(;h<r.length-1;){const t=r[h][ht.COLOR];l.strokeStyle=t,l.beginPath(),l.moveTo(e-h,A+r[h][ht.SIGNAL]/100*p);do{h+=1,l.lineTo(e-h,A+r[h][ht.SIGNAL]/100*p)}while(h<r.length-1&&t===r[h][ht.COLOR]);l.stroke()}o.current=requestAnimationFrame(E)}else o.current=requestAnimationFrame(E)},[e,t]);return(0,l.useEffect)(()=>(o.current=requestAnimationFrame(E),()=>{cancelAnimationFrame(o.current),d.current=0,u.current=0}),[E]),{[gt.CANVAS_REF]:r}})({size:r,color:(0,Le.QF)(e,n),signal:mt(e)}),{min_inform_interval_seconds:m}=(0,a.useSelector)((0,l.useMemo)(()=>(0,T.bw)(t,["min_inform_interval_seconds"]),[t]));return 1===m?l.createElement(Et,null,l.createElement(ut,{ref:i},l.createElement("canvas",{ref:c,...o})),l.createElement(pt,null)):null},Ot=({signal:e,is_mlo:t,mlo_details:n,radio_proto:a,mac:r,uplink_mac:i})=>l.createElement(Ze,null,l.createElement(it,{signal:e,is_mlo:t,mlo_details:n,radio_proto:a,mac:r}),l.createElement(Nt,{signal:e,uplink_mac:i})),ft=({activeItem:e})=>{const t=e.type===c.sK.WIRELESS&&"is_mlo"in e&&e.is_mlo,n=(0,a.useSelector)((0,l.useMemo)(()=>(0,m.OF)(e.fingerprint),[e.fingerprint]));return l.createElement(l.Fragment,null,l.createElement(o.A,null,l.createElement(i.A,{flexDirection:"column",gap:r.kc},l.createElement(Ve,{activeItem:e,fingerprintData:n}),e.status===c.S2.ONLINE&&e.type===c.sK.WIRELESS?l.createElement(Ot,{signal:e.signal,is_mlo:e.is_mlo,mlo_details:e.mlo_details,radio_proto:e.radio_proto,mac:e.mac,uplink_mac:e.uplink_mac}):null,"Sonos"===n?.fingerprint_device_vendor?l.createElement(_,null):null,n?.fingerprint_device_name?.includes("Apple TV")?l.createElement(Ue,null):null,e.type===c.sK.WIRED?l.createElement(s.B,{mac:e.mac,uplinkMac:e.uplink_mac,portNumber:e.sw_port,detailedStates:e.detailed_states||{}}):null,l.createElement(ve,{activeItem:e,fingerprintData:n}))),t?l.createElement(M,{activeItem:e}):null)}},312700(e,t,n){n.d(t,{A:()=>E});var l=n(469733),a=n(296540),r=n(217439),i=n(646189),o=n(703447),c=n(916537),m=n(776309),s=n(126457),d=n(951106),u=n(489146);const E=({activeItem:e,activeItem:{fingerprint:t,unifi_device_info:n,mac:E},size:A=80})=>{const p=(0,l.useDispatch)(),{isFingerprintFromUiDb:_}=(0,a.useMemo)(()=>({fingerprintHasOverride:(0,d.n8)(t),isFingerprintFromUiDb:(0,d.fN)(n)}),[n,t]);return a.createElement(u.qN,{onClick:()=>{p((e=>(0,s.to)({modalType:m.A.REPORT_CLIENT_ICON,modalProps:{activeItem:e}}))(e))}},a.createElement(o.A,{client:e,grid:!0}),a.createElement(i.A,{size:A,mac:E}),_?null:a.createElement(u.XV,{className:"report-icon"},a.createElement(r.A,{color:"inherit"},a.createElement(c.sA,{id:"COMMON_CHANGE_ICON"}))))}},475405(e,t,n){n.d(t,{A:()=>s});var l=n(822336),a=n(296540),r=n(217439),i=n(71479),o=n(566723),c=n(916537);const m=(0,i.A)("div")`
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0 ${o.YC};
  overflow: hidden;

  &:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: ${({theme:{themeName:e}})=>l.Ay[`desktop-color-ublue-06-${e}`]};
    opacity: 0.1;
    border-radius: 8px;
  }
`,s=()=>a.createElement(m,null,a.createElement(r.A,{size:"small",color:"ublue-06"},a.createElement(c.sA,{id:"COMMON_MLO"})))},489146(e,t,n){n.d(t,{XV:()=>c,fI:()=>m,qN:()=>o,u0:()=>s});var l=n(822336),a=n(71479),r=n(566723),i=n(294303);const o=(0,a.A)(i.A)`
  position: relative;
  width: 80px;
  min-width: 80px;
  height: 80px;
  border-radius: 8px;
  justify-content: center;
  transition: 0.25s ease;
  &:hover {
    cursor: pointer;
    background-color: ${({theme:{themeName:e}})=>l.Ay[`desktop-color-neutral-01-${e}`]};
    .report-icon {
      opacity: 1;
    }
  }
`,c=(0,a.A)(i.A)`
  width: 100%;
  height: 20px;
  position: absolute;
  opacity: 0;
  border-radius: 0 0 8px 8px;
  color: #ffffff;
  background-color: rgb(14, 14, 14, 0.5);
  bottom: 0;
  justify-content: center;
  transition: 0.25s ease;
`,m=((0,a.A)(i.A)`
  align-items: center;
  gap: ${r.kc};
  margin-top: ${r.kc};
  line-height: initial;
`,(0,a.A)(i.A)`
  align-items: baseline;
  gap: ${r.xO};
`),s=(0,a.A)(i.A)`
  align-items: baseline;
  gap: ${r.YC};
  white-space: nowrap;
`},94313(e,t,n){n.d(t,{A:()=>A});var l=n(296540),a=n(71479),r=n(132196),i=n(311785),o=n(916537),c=n(566723),m=n(294303),s=n(243322);const d=(0,a.A)(m.A,(0,i.A)("alignLeft"))`
  ${({alignLeft:e})=>e?"max-width: 288px;":"max-width: 100%; justify-content: center;"}
  gap: ${c.YC};
  align-items: center;
`,u=r.AH`
  max-width: 50%;
`,E=r.AH`
  flex: 0 1 auto;
  min-width: 0;
`,A=({messageId:e,messageValues:t,buttonEl:n,alignLeft:a=!0,color:r="text-3",variant:i="body-primary"})=>l.createElement(d,{alignLeft:a},l.createElement(s.A,{variant:i,color:r},t?l.createElement(m.A,{maxWidth:288,whiteSpace:"nowrap",paddingRight:c.YC},l.createElement(o.sA,{id:e,values:t})):l.createElement(o.sA,{id:e})),n?l.createElement(m.A,{className:a?E:u},n):null)},532988(e,t,n){n.d(t,{A:()=>g});var l=n(469733),a=n(296540),r=n(217439),i=n(968906),o=n(90757),c=n(566723),m=n(294303),s=n(398300),d=n(623771),u=n(845030),E=n(916537),A=n(532419),p=n(413146),_=n(94313),h=n(932752);const g=({last_uplink_mac:e,last_uplink_name:t,last_uplink_remote_port:n,disconnected_at:g,disabled:v,separatePortNumber:I,maxWidth:N})=>{const{formatMessage:O}=(0,E.tz)(),f=(0,l.useDispatch)(),M=(0,l.useSelector)(A.CC),C=(0,h.Z)(e,M),x=(0,h.z)(t,n,C,O,I),L=(0,a.useCallback)(()=>{v||f((0,u.XP)({type:s.H.DEVICE,id:e}))},[v,f,e]);return a.createElement(a.Fragment,null,C?a.createElement(_.A,{messageId:"COMMON_DEVICE_LAST_CONNECTED_TO",messageValues:{deviceWithPort:a.createElement(m.A,{width:"100%",overflow:"hidden",paddingLeft:c.YC},a.createElement(d.A,{onClick:L,disabled:v,...i.A.addDataTestId(i.A.TestId.SIDE_PANEL_TRIGGER),name:x,port:n,separatePortNumber:I,maxWidth:N}))}}):null,g?a.createElement("div",null,a.createElement(r.A,{color:"text-3"},a.createElement(p.A,{date:(0,o.gH)(g)}))):null)}},932752(e,t,n){n.d(t,{Z:()=>a,z:()=>r});var l=n(6510);const a=(e,t)=>e?t.find(({mac:t})=>t===e):void 0,r=(e,t,n,a,r)=>{const i=!r&&t?` ${a({id:"DEVICE_PROPERTIES_PORT_WITH_NUMBER"},{port:t})}`:"";return e?`${e}${i}`:n?`${(0,l.Q)(n)}${i}`:a({id:"COMMON_FALLBACK"})}},782558(e,t,n){n.d(t,{A:()=>c});var l=n(296540),a=n(217439),r=n(137298),i=n(916537),o=n(360113);const c=({rx_rate:e})=>e>0?l.createElement(o.A,null,l.createElement(a.A,{color:"text-2",size:"medium"},l.createElement(i.sA,{id:"COMMON_RX_RATE"})),l.createElement(a.A,{color:"text-3",size:"medium"},(0,r.Up)(e))):null},150556(e,t,n){n.d(t,{A:()=>c});var l=n(296540),a=n(217439),r=n(137298),i=n(916537),o=n(360113);const c=({tx_rate:e})=>e>0?l.createElement(o.A,null,l.createElement(a.A,{color:"text-2",size:"medium"},l.createElement(i.sA,{id:"COMMON_TX_RATE"})),l.createElement(a.A,{color:"text-3",size:"medium"},(0,r.Up)(e))):null},360113(e,t,n){n.d(t,{A:()=>m});var l=n(296540),a=n(71479),r=n(566723),i=n(294303),o=n(311785);const c=(0,a.A)(i.A,(0,o.A)("valueMaxWidth","keyMinWidth","compact"))`
  &:not(:last-child) {
    ${({compact:e})=>e?"":`margin-bottom: ${r.kc};`}
  }
  & > {
    &:nth-child(1) {
      min-width: ${({keyMinWidth:e})=>e}px;
    }
    &:nth-child(2) {
      max-width: ${({valueMaxWidth:e})=>e}px;
    }
  }
`,m=({children:e,valueMaxWidth:t=215,keyMinWidth:n=0,flexProps:a={},compact:i=!1})=>l.createElement(c,{width:"100%",justifyContent:"space-between",gap:r.kc,height:i?void 0:24,valueMaxWidth:t,keyMinWidth:n,compact:i,...a},e)},187550(e,t,n){n.d(t,{B:()=>k,i:()=>x});var l=n(822336),a=n(469733),r=n(296540),i=n(823858),o=n(382389),c=n(614054),m=n(6510),s=n(660950),d=n(533520),u=n(224948),E=n(532419),A=n(71479),p=n(852866),_=n(566723),h=n(294303),g=n(795537),v=n(916537);const I=(0,A.A)("div")`
  margin-bottom: ${_.kc};
`,N=({uplinkMac:e,uplinkDisplayName:t})=>r.createElement(h.A,{flexDirection:"column",alignItems:"flex-start"},r.createElement(I,null,r.createElement(v.sA,{id:"DEVICE_POE_ALMOST_OUT_OF_POWER",values:{deviceName:r.createElement(g.A,{mac:e},(0,p.c)(t))}})),r.createElement(g.A,{mac:e},r.createElement(v.sA,{id:"DEVICE_POE_VIEW_DETAILS"}))),O=({children:e})=>r.createElement(u.A,{icon:r.createElement(i.A,{size:"original",color:l.Ay[`desktop-color-orange-06-${(0,o.u)().themeName}`],variant:"fill"})},e),f=e=>r.createElement(O,null,r.createElement(s.A,{...e})),M=e=>r.createElement(O,null,r.createElement(N,{...e})),C=({uplink:e,mac:t,detailed_states:n})=>{const l=(0,a.useSelector)((0,r.useMemo)(()=>(0,E.tG)(e.uplink_mac),[e.uplink_mac]));return r.createElement(d.x,{mac:t,uplinkMac:l.mac,uplinkDisplayName:(0,m.Q)(l),portNumber:e.uplink_remote_port,detailedStates:n,PortPowerLimitExceededWarning:f,UplinkNearPowerLimitWarning:M})},x=({uplink:e,mac:t,detailed_states:n})=>(0,c.w)(n)?r.createElement(C,{uplink:e,mac:t,detailed_states:n}):null,L=({uplinkMac:e,...t})=>{const n=(0,a.useSelector)((0,r.useMemo)(()=>(0,E.tG)(e),[e]));return r.createElement(d.x,{...t,uplinkMac:e,uplinkDisplayName:(0,m.Q)(n),PortPowerLimitExceededWarning:f,UplinkNearPowerLimitWarning:M})},k=({detailedStates:e,...t})=>(0,c.w)(e)?r.createElement(L,{detailedStates:e,...t}):null},936485(e,t,n){n.d(t,{A:()=>A,t:()=>u});var l=n(296540),a=n(217439),r=n(499015),i=n(566723),o=n(486006),c=n(294303),m=n(916537),s=n(951106),d=n(691294);const u=({channel:e,radio:t,channel_width:n,channelColor:i,color:o,size:s})=>l.createElement(c.A,null,l.createElement(a.A,{color:i||o,size:s},e)," ",l.createElement(a.A,{color:o,size:s},(0,r.i)((0,m.tz)().formatMessage,t,n)||l.createElement(m.sA,{id:"COMMON_FALLBACK"}))),E=({mlo_details:e,...t})=>{if(!e)return l.createElement(a.A,{...t},l.createElement(m.sA,{id:"COMMON_FALLBACK"}));const{radio:n,channel:r,channel_width:d}=(0,s.KT)(e);return l.createElement(c.A,{flexDirection:"row",gap:i.YC},l.createElement(u,{radio:n,channel:r,channel_width:+d,...t}),e?l.createElement(o.Ay,{report:o.ZF.CHANNEL_AND_WIDTH,mlo_details:e}):null)},A=(0,l.memo)(({type:e,status:t,is_mlo:n,mlo_details:r,size:i="medium",color:o="inherit",channelColor:c,...s})=>e===d.sK.WIRELESS&&t===d.S2.ONLINE&&s.channel?n?l.createElement(E,{mlo_details:r,size:i,color:o,channelColor:c}):l.createElement(u,{size:i,color:o,channelColor:c,...s}):l.createElement(a.A,{size:i,color:o},l.createElement(m.sA,{id:"COMMON_FALLBACK"})))},399818(e,t,n){n.d(t,{A:()=>E,S:()=>d});var l=n(296540),a=n(217439),r=n(38937),i=n(566723),o=n(486006),c=n(294303),m=n(916537),s=n(951106);const d=({signal:e,size:t})=>e?l.createElement(a.A,{size:t,color:(0,r.b5)(e)},e," ",l.createElement(m.sA,{id:"COMMON_UNIT_DBM"})):l.createElement(a.A,{size:t,color:"inherit"},l.createElement(m.sA,{id:"COMMON_FALLBACK"})),u=({mlo_details:e,size:t,iconProps:n})=>e?l.createElement(c.A,{flexDirection:"row",gap:i.YC,alignItems:"center"},l.createElement(d,{signal:(0,s.KT)(e).signal||0,size:t}),l.createElement(o.Ay,{report:o.ZF.SIGNAL,mlo_details:e,iconProps:n})):l.createElement(a.A,{color:"inherit",size:t},l.createElement(m.sA,{id:"COMMON_FALLBACK"})),E=(0,l.memo)(({is_mlo:e,signal:t,size:n="medium",mlo_details:a,iconProps:r})=>e?l.createElement(u,{size:n,mlo_details:a,iconProps:r}):l.createElement(d,{signal:t,size:n}))},280062(e,t,n){n.d(t,{A:()=>i});var l=n(296540),a=n(916537),r=n(842916);const i=({radio:e,suffix:t})=>r.U[e]?l.createElement(l.Fragment,null,l.createElement(a.sA,{id:r.U[e]}),t?l.createElement("span",null," ",t):null):l.createElement(a.sA,{id:"COMMON_FALLBACK"})},766624(e,t,n){n.d(t,{A:()=>c});var l=n(296540),a=n(271856),r=n(709690),i=n(284428),o=n(566723);const c=({description:e,isInteractive:t,portal:n=!0,cursorType:c,title:m,position:s,width:d,iconProps:u,disabled:E=!1})=>{const A=(0,i.Im)()||E,p=(0,i.q)();return l.createElement(a.A,{description:e,portal:n,isInteractive:t,style:{display:"flex",alignItems:"center"},cursorType:c,title:m,position:s,width:d,disableHover:p},l.createElement(r.A,{isActive:!0,size:"original",opacity:A?o.xN:void 0,...u}))}},568560(e,t,n){n.d(t,{A:()=>p});var l=n(296540),a=n(469733),r=n(217439),i=n(895795),o=n(383653),c=n(742920),m=n(115829),s=n(39705),d=n(294303),u=n(675359),E=n(916537),A=n(348466);const p=({ipv6:e=[],enabled:t=!0,size:n="inherit",color:p="inherit",showOnlyPrefix:_=!1})=>{const h=(0,a.useDispatch)(),g=(0,l.useCallback)(e=>{navigator.clipboard.writeText(e).then(()=>{h((0,u.ox)({icon:c.C.success,message:"COMMON_COPIED_TO_CLIPBOARD"}))})},[h]),v=(0,l.useCallback)((e,t)=>{t.stopPropagation(),t.preventDefault(),g(e)},[g]),I=(0,l.useMemo)(()=>(e=>{const t=e=>(0,o.G8)(e)?0:(0,o.ZV)(e)?1:2;return e.sort((e,n)=>t(e)-t(n))})(e||[]).map(e=>{const[t,n]=e.split(A.Ed);return _?`${(0,o.Gh)(t,Number(n))}/${n}`:(0,o.z2)(e)}),[e,_]),N=I?.[0];return N?l.createElement(d.A,{maxWidth:"100%",justifyContent:"flex-end"},l.createElement(m.A,{enabled:t,flexProps:{justifyContent:"flex-end",alignItems:"center"},color:t?p:"disabled",size:n},N),I?.length>1?l.createElement(s.A,{items:I,isInteractive:!0,showListMarkers:!1,getItemKey:e=>e,renderListItem:e=>l.createElement(l.Fragment,null,e,l.createElement(i.A,{size:"original",actionable:!0,onClick:t=>v(e,t)})),renderMultipleItemsSummary:()=>null}):l.createElement(i.A,{size:"original",actionable:!0,onClick:e=>v(N,e)})):l.createElement(r.A,{size:n,color:t?p:"disabled"},l.createElement(E.sA,{id:"COMMON_FALLBACK"}))}},596441(e,t,n){n.d(t,{I:()=>l});const l={HEADER_HEIGHT:32,ROW_HEIGHT:32,EDIT_FIELD_HEIGHT:36,getHeight(e,t,n,l){return Math.min((l||this.ROW_HEIGHT)*e+(n??this.HEADER_HEIGHT),(l||this.ROW_HEIGHT)*t+(n??this.HEADER_HEIGHT))},getEditContainerHeight(e,t,n){return Math.min((n||this.EDIT_FIELD_HEIGHT)*e,(n||this.EDIT_FIELD_HEIGHT)*t)}}},451449(e,t,n){n.d(t,{I:()=>l});const l=(0,n(296540).createContext)({fields:!1,labels:!1,tooltipPopovers:!1,tooltipIcons:!1})},284428(e,t,n){n.d(t,{Im:()=>c,iL:()=>m,mQ:()=>i,pv:()=>r,q:()=>o});var l=n(296540),a=n(451449);function r(){return(0,l.useContext)(a.I)}function i(){return r().fields}function o(){return r().tooltipPopovers}function c(){return r().tooltipIcons}function m(){return r().labels}},668995(e,t,n){n.d(t,{h:()=>l});const l=(e,t)=>(e<<16)+t},499015(e,t,n){n.d(t,{I:()=>r,i:()=>a});var l=n(943887);const a=(e,t,n)=>t||n?`(${[t?`${e({id:(0,l.dI)(t)})}`:null,n?`${n} ${e({id:"COMMON_UNIT_MHZ"})}`:null].filter(Boolean).join(", ")})`:"",r=(e,t,n,l)=>`${e} ${a(t,n,l)}`},614054(e,t,n){n.d(t,{w:()=>l});const l=e=>!!e&&Object.values(e).some(Boolean)},383149(e,t,n){n.d(t,{A:()=>a});var l=n(885205);const a=function(e,t){return!(null==e||!e.length)&&(0,l.A)(e,t,0)>-1}},887809(e,t,n){n.d(t,{A:()=>l});const l=function(e,t,n){for(var l=-1,a=null==e?0:e.length;++l<a;)if(n(t,e[l]))return!0;return!1}},458043(e,t,n){n.d(t,{A:()=>m});var l=n(8300),a=n(383149),r=n(887809),i=n(45572),o=n(552789),c=n(764099);const m=function(e,t,n,m){var s=-1,d=a.A,u=!0,E=e.length,A=[],p=t.length;if(!E)return A;n&&(t=(0,i.A)(t,(0,o.A)(n))),m?(d=r.A,u=!1):t.length>=200&&(d=c.A,u=!1,t=new l.A(t));e:for(;++s<E;){var _=e[s],h=null==n?_:n(_);if(_=m||0!==_?_:0,u&&h==h){for(var g=p;g--;)if(t[g]===h)continue e;A.push(_)}else d(t,h,m)||A.push(_)}return A}},144757(e,t,n){n.d(t,{A:()=>o});var l=n(458043),a=n(187671),r=n(224326),i=n(153533);const o=(0,r.A)(function(e,t){return(0,i.A)(e)?(0,l.A)(e,(0,a.A)(t,1,i.A,!0)):[]})}}]);