"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[39959],{739959:(e,t,n)=>{n.r(t),n.d(t,{default:()=>u});var a=n(469733),i=n(296540),s=n(927099),o=n(71479),l=n(973581),r=n(126457),c=n(699784),m=n(705426);const E=(0,o.A)(m.A)`
  width: 388px !important;

  footer {
    border-top: none !important;
    padding-top: 0 !important;
  }
`,_=(0,o.A)("ul")`
  margin: ${({theme:{spacing:e}})=>e["spacing-l"]};
  padding: 0;

  li {
    margin-bottom: ${({theme:{spacing:e}})=>e["spacing-xs"]};
  }
`;var d;!function(e){e.DISABLE="disable",e.REMOVE="remove"}(d||(d={}));const u=({name:e,wlans:t})=>{const n=(0,a.useDispatch)(),o=(0,i.useCallback)(()=>{n((0,r.AS)())},[n]);return(0,l.A)(o),i.createElement(E,{size:"small",isOpen:!0,title:i.createElement(c.sA,{id:"SETTINGS_WIFI_FORM_ADVANCED_AP_GROUPS_REMOVE_AP_GROUP"}),actions:[{text:i.createElement(c.sA,{id:"COMMON_ACTION_CLOSE"}),type:"button",variant:"default",onClick:o}],onRequestClose:o},i.createElement(s.A,null,i.createElement(c.sA,{id:"SETTINGS_WIFI_FORM_ADVANCED_AP_GROUPS_REMOVE_FROM_WLANS_REMOVE_FROM_WIFI_NETWORKS",values:{name:e}})),i.createElement(_,null,t.map(({name:e,_id:t})=>i.createElement("li",{key:`wlan-item-${t}`},e))))}},973581:(e,t,n)=>{n.d(t,{A:()=>i});var a=n(296540);const i=(e,t=[])=>{const n=t=>{27===t.keyCode&&e(t)};(0,a.useEffect)(()=>(document.addEventListener("keydown",n),()=>{document.removeEventListener("keydown",n)}),t)}}}]);