"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[80917,89965],{86571:(e,t,n)=>{n.d(t,{A:()=>d});var i=n(296540),o=n(217439),a=n(699784);const d=({id:e,children:t,values:n})=>i.createElement(o.A,{color:"text-1",weight:"bold",size:"medium"},e?i.createElement(a.sA,{id:e,values:n}):null,t)},216211:(e,t,n)=>{n.d(t,{e:()=>g});var i=n(956347),o=n(469733),a=n(296540),d=n(15095),r=n(627440),l=n(431247),m=n(293016),s=n(649413),c=n(497470);const g=()=>{const e=(0,o.useDispatch)(),t=(0,i.W6)(),n=(0,d.A)(`${r.VO.PORTS}`);return{handleGoToPortsPage:(0,a.useCallback)((i,o,a)=>{if(i)if(e((0,c.gU)(!0)),e((0,c.U)((0,s.HN)(m.F7.DEVICE,[i]))),a&&(e((0,c.IU)(!0)),e((0,c.E1)(!1))),o){const t=(0,l.FS)(i,o);e((0,c.Ao)([t]))}else e((0,c.Ao)([]));t.push(n)},[n,t,e])}}},514941:(e,t,n)=>{n.r(t),n.d(t,{default:()=>r});var i=n(296540),o=n(275357),a=n(540739),d=n(525901);const r=({activeItem:{mac:e,model:t}})=>i.createElement(d.A,{mac:e,model:t,logType:a.F.DEVICE,label:"COMMON_HISTORY",ignoreActionableValues:[o.dl.DEVICE],hideClientTabs:!0})},689965:(e,t,n)=>{n.d(t,{A:()=>h,I:()=>i});var i,o=n(296540),a=n(822336),d=n(427853),r=n(71479),l=n(825032),m=n(566723),s=n(294303);!function(e){e.ACCORDION="accordion",e.BUTTON_LIST="buttonList"}(i||(i={}));const c=(0,r.A)(s.A,{shouldForwardProp:e=>!["marginBottom","isButtonList","margin","flex","width","padding","nested","background"].includes(e)})`
  background-color: ${({background:e,nested:t,theme:{themeName:n}})=>e||a.Ay[n===l.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}})=>a.Ay[`desktop-border-divider-${e}`]};\n      &:last-child {\n        border-bottom: none;\n      }\n    }\n  `:""}
`,g=(0,r.A)(d.A,{shouldForwardProp:e=>!["marginBottom","margin","flex","padding","nested","background"].includes(e)})`
  background-color: ${({background:e,nested:t,theme:{themeName:n}})=>e||a.Ay[n===l.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||a.Ay[t===l.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 ${m.Ln} ${m.Ln};
      > div {
        padding: 0;
      }
    }
  }
`,h=({type:e,marginBottom:t,margin:n,padding:a,flex:d,width:r,nested:l,...m})=>"items"in m?o.createElement(g,{marginBottom:t,margin:n,padding:a,flex:d,nested:l,...m}):o.createElement(c,{nested:l,width:r,marginBottom:t,margin:n,padding:a,flex:d,isButtonList:e===i.BUTTON_LIST,...m},m.children)}}]);