"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[39959],{739959(e,t,n){n.r(t),n.d(t,{default:()=>u});var a=n(296540),i=n(469733),s=n(217439),o=n(71479),l=n(973581),r=n(126457),c=n(916537),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,i.useDispatch)(),o=(0,a.useCallback)(()=>{n((0,r.AS)())},[n]);return(0,l.A)(o),a.createElement(E,{size:"small",isOpen:!0,title:a.createElement(c.sA,{id:"SETTINGS_WIFI_FORM_ADVANCED_AP_GROUPS_REMOVE_AP_GROUP"}),actions:[{text:a.createElement(c.sA,{id:"COMMON_ACTION_CLOSE"}),type:"button",variant:"default",onClick:o}],onRequestClose:o},a.createElement(s.A,null,a.createElement(c.sA,{id:"SETTINGS_WIFI_FORM_ADVANCED_AP_GROUPS_REMOVE_FROM_WLANS_REMOVE_FROM_WIFI_NETWORKS",values:{name:e}})),a.createElement(_,null,t.map(({name:e,_id:t})=>a.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)}}}]);