"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[57249],{157249:(e,t,i)=>{i.r(t),i.d(t,{default:()=>M});var l=i(296540),n=i(765562),a=i(469733),r=i(271856),o=i(822336),c=i(217439),s=i(50331),p=i(71479),d=i(998837),m=i(132196),A=i(825032),h=i(566723),u=i(126457),k=i(699784),g=i(349107),E=i(294303),f=i(705426);const C=m.AH`
  width: ${736}px;
  padding: 0px;
`,L=m.AH`
  padding: 0px !important;
`,N=m.AH`
  padding: 0px !important;
  button {
    top: ${h.kc};
  }
`,O=(0,p.A)(E.A)`
  width: 100%;
  height: ${h.Yc}
  align-items: center;
  justify-content: space-between;
  padding: ${h.kc} ${h.xO};
`,w=(0,p.A)(E.A)`
  margin-right: ${h.tr};
  margin-left: ${h.tr};

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