"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[33550,89965],{86571:(e,t,n)=>{n.d(t,{A:()=>a});var i=n(296540),r=n(217439),o=n(699784);const a=({id:e,children:t,values:n})=>i.createElement(r.A,{color:"text-1",weight:"bold",size:"medium"},e?i.createElement(o.sA,{id:e,values:n}):null,t)},112142:(e,t,n)=>{n.d(t,{A:()=>s});var i=n(296540),r=n(271856),o=n(325898),a=(0,i.memo)(e=>{const{motif:t,width:n=194,left:a=0,top:c=0,topMargin:d,tooltipProps:l={},...u}=e,{motif:s}=(0,o.A)(t),m=d?d+10:l.offset;return i.createElement("div",{style:{position:"absolute",left:a,top:c}},i.createElement(r.A,{motif:s,width:n,animate:!1,isHoverable:!1,offset:m,...u,...l},i.createElement("div",null)))},(e,t)=>Boolean(t.hidden));function c(e){return null!==e&&("string"==typeof e?"%"===e.slice(-1):!isNaN(e))}(0,n(349005).A)(".tooltipContainer__Q9Q7ZKPc{opacity:1;pointer-events:none}.tooltipContainer__Q9Q7ZKPc.animated__Q9Q7ZKPc{transition-duration:.1s;transition-property:opacity;transition-timing-function:cubic-bezier(.25,0,.25,1)}.tooltipContainer__Q9Q7ZKPc.interactive__Q9Q7ZKPc{pointer-events:auto}.tooltipContainer__Q9Q7ZKPc.interactive__Q9Q7ZKPc.hidden__Q9Q7ZKPc{pointer-events:none}.tooltipContainer__Q9Q7ZKPc.hidden__Q9Q7ZKPc{opacity:0}");var d=n(722860),l=n(385941);const u=(0,d.c)({tooltipContainer:"tooltipContainer__Q9Q7ZKPc",animated:"animated__Q9Q7ZKPc",interactive:"interactive__Q9Q7ZKPc",hidden:"hidden__Q9Q7ZKPc"});var s=(0,i.memo)(i.forwardRef((e,t)=>{const{className:n,isAnimated:r=!0,delay:o,hidden:d=!1,top:s=0,left:m=0,isInteractive:h,message:p,title:f,description:g,children:b,...v}=e,{currentState:x,onStart:_,onComplete:A}=(0,l.T)(d,o),[k,w]=(0,i.useState)(!0),[Q,$]=(0,i.useState)({top:s,left:m,message:p,title:f,description:g,children:b});(0,i.useEffect)(()=>{w(!1)},[]),(0,i.useEffect)(()=>{d!==x&&(d?A:_)(d)},[d,x,_,A]),(0,i.useEffect)(()=>{d||$({top:s,left:m,message:p,title:f,description:g,children:b})},[d,s,m,p,f,g,b]);const P=!x&&c(m)&&c(s)&&!k;return i.createElement("div",{"data-testid":"svgtooltip",ref:t,className:u.concat(n)("tooltipContainer",!P&&"hidden",h&&"interactive",r&&"animated")},i.createElement(a,{hidden:x,top:Q.top,left:Q.left,isInteractive:h,message:Q.message,title:Q.title,description:Q.description,...v},Q.children))}))},340936:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(296540);function r(e,t,n){return e[t]?e[t][0]?e[t][0][n]:e[t][n]:"contentBoxSize"===t?e.contentRect["inlineSize"===n?"width":"height"]:void 0}function o(e){void 0===e&&(e={});var t=e.onResize,n=(0,i.useRef)(void 0);n.current=t;var o=e.round||Math.round,a=(0,i.useRef)(),c=(0,i.useState)({width:void 0,height:void 0}),d=c[0],l=c[1],u=(0,i.useRef)(!1);(0,i.useEffect)(function(){return u.current=!1,function(){u.current=!0}},[]);var s=(0,i.useRef)({width:void 0,height:void 0}),m=function(e,t){var n=(0,i.useRef)(null),r=(0,i.useRef)(null);r.current=t;var o=(0,i.useRef)(null);(0,i.useEffect)(function(){a()});var a=(0,i.useCallback)(function(){var t=o.current,i=r.current,a=t||(i?i instanceof Element?i:i.current:null);n.current&&n.current.element===a&&n.current.subscriber===e||(n.current&&n.current.cleanup&&n.current.cleanup(),n.current={element:a,subscriber:e,cleanup:a?e(a):void 0})},[e]);return(0,i.useEffect)(function(){return function(){n.current&&n.current.cleanup&&(n.current.cleanup(),n.current=null)}},[]),(0,i.useCallback)(function(e){o.current=e,a()},[a])}((0,i.useCallback)(function(t){return a.current&&a.current.box===e.box&&a.current.round===o||(a.current={box:e.box,round:o,instance:new ResizeObserver(function(t){var i=t[0],a="border-box"===e.box?"borderBoxSize":"device-pixel-content-box"===e.box?"devicePixelContentBoxSize":"contentBoxSize",c=r(i,a,"inlineSize"),d=r(i,a,"blockSize"),m=c?o(c):void 0,h=d?o(d):void 0;if(s.current.width!==m||s.current.height!==h){var p={width:m,height:h};s.current.width=m,s.current.height=h,n.current?n.current(p):u.current||l(p)}})}),a.current.instance.observe(t,{box:e.box}),function(){a.current&&a.current.instance.unobserve(t)}},[e.box,o]),e.ref);return(0,i.useMemo)(function(){return{ref:m,width:d.width,height:d.height}},[m,d.width,d.height])}},479546:(e,t,n)=>{n.d(t,{SY:()=>a,ZJ:()=>c,aW:()=>o});var i=n(71479),r=n(294303);const o=(0,i.A)(r.A)`
  > div {
    width: inherit;
    flex: inherit;
  }
`,a=(0,i.A)(r.A)`
  width: 12px;
  border-bottom: 2px solid
    ${({theme:{motifPalette:{uBlue06:e}}})=>e};
`,c=(0,i.A)(r.A)`
  width: 12px;
  border-bottom: 2px solid
    ${({theme:{motifPalette:{purple06:e}}})=>e};
`},689965:(e,t,n)=>{n.d(t,{A:()=>h,I:()=>i});var i,r=n(296540),o=n(822336),a=n(427853),c=n(71479),d=n(825032),l=n(566723),u=n(294303);!function(e){e.ACCORDION="accordion",e.BUTTON_LIST="buttonList"}(i||(i={}));const s=(0,c.A)(u.A,{shouldForwardProp:e=>!["marginBottom","isButtonList","margin","flex","width","padding","nested","background"].includes(e)})`
  background-color: ${({background:e,nested:t,theme:{themeName:n}})=>e||o.Ay[n===d.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}})=>o.Ay[`desktop-border-divider-${e}`]};\n      &:last-child {\n        border-bottom: none;\n      }\n    }\n  `:""}
`,m=(0,c.A)(a.A,{shouldForwardProp:e=>!["marginBottom","margin","flex","padding","nested","background"].includes(e)})`
  background-color: ${({background:e,nested:t,theme:{themeName:n}})=>e||o.Ay[n===d.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||o.Ay[t===d.S.DARK?"desktop-color-neutral-01-dark":"desktop-color-neutral-00-light"]};
      height: 48px;
      padding: 0 ${l.Ln};
    }
    > div:nth-child(2) {
      margin-bottom: 0;
      padding: 0 ${l.Ln} ${l.Ln};
      > div {
        padding: 0;
      }
    }
  }
`,h=({type:e,marginBottom:t,margin:n,padding:o,flex:a,width:c,nested:d,...l})=>"items"in l?r.createElement(m,{marginBottom:t,margin:n,padding:o,flex:a,nested:d,...l}):r.createElement(s,{nested:d,width:c,marginBottom:t,margin:n,padding:o,flex:a,isButtonList:e===i.BUTTON_LIST,...l},l.children)},789517:(e,t,n)=>{n.r(t),n.d(t,{default:()=>a});var i=n(296540),r=n(87250),o=n(470995);const a=({activeItem:{mac:e}})=>i.createElement(o.A,{mac:e,object:r.qv.DEVICE})}}]);