"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[8578],{308578(e,i,t){t.r(i),t.d(i,{default:()=>M});var o=t(274934),s=t(726831),n=t(977872),l=t(125799),r=t(814557),a=t(938984),d=t(874444),c=t(247816),p=t(263705),h=t(409844),A=t(565527),x=t(309130),k=t(869332),m=t(470070),g=t(793442),u=t(100978),f=t(384783);const j=h.AH`
  width: ${736}px;
  padding: 0px;
`,C=h.AH`
  padding: 0px !important;
`,L=h.AH`
  padding: 0px !important;
  button {
    top: ${x.kc};
  }
`,w=(0,c.A)(u.A)`
  width: 100%;
  height: ${x.Yc}
  align-items: center;
  justify-content: space-between;
  padding: ${x.kc} ${x.xO};
`,N=(0,c.A)(u.A)`
  margin-right: ${x.tr};
  margin-left: ${x.tr};

  > div {
    display: flex;
  }
`,O=({videoLink:e,articleLink:i,title:t,helpTooltipDescription:s})=>{const c=(0,n.wA)(),{themeName:h}=(0,p.u)();return(0,o.jsx)(f.A,{isOpen:!0,motif:"dark",className:j,shouldCloseOnEsc:!0,onRequestClose:()=>{c((0,k.AS)())},contentClassName:C,bodyOpenClassName:C,headerClassName:L,footer:()=>null,title:(0,o.jsxs)(w,{children:[(0,o.jsx)(a.A,{color:"text-1",motif:"dark",weight:"bold",children:(0,o.jsx)(m.sA,{id:t})}),(0,o.jsx)(N,{children:(0,o.jsx)(l.A,{description:(0,o.jsx)(m.sA,{id:s,values:{link:(0,o.jsx)(g.A,{href:i,noWrap:!0,id:"COMMON_HELP_CENTER"})}}),portal:!0,position:"top",isInteractive:!0,children:(0,o.jsx)(d.A,{size:"original",color:r.Ay[h===A.S.LIGHT?"desktop-color-text-4-light":"desktop-color-text-3-dark"]})})})]}),children:(0,o.jsx)("iframe",{title:"unifi-guide",width:736,height:414,src:e,frameBorder:"0"})})},M=()=>(0,o.jsx)(O,{articleLink:s.A.mclagArticle,videoLink:s.A.mcLagDeploymentTopologies,helpTooltipDescription:"PORTS_MCLAG_MODAL_HELP",title:"COMMON_MCLAG"})}}]);