"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[1673,3102],{762934:(e,t,l)=>{l.r(t),l.d(t,{default:()=>b});var n=l(296540),a=l(956347),r=l(627440),c=l(864768),E=l(538453),s=l(156548),i=l(530864),A=l(98160),m=l(17724),o=l(153090),u=l(596731),O=l(616660),T=l(118835),S=l(260183);const d=`${u.eu}/${r.VO.CLIENTS}/${T.M.HOTSPOT}/${u.hH}`;var g=l(881235),h=l(105540),N=l(604482),f=l(427907),p=l(582724),k=l(834959),I=l(413357),C=l(246333);const _=e=>(0,p.A)([(0,I.Zi)(k.B.HOTSPOT),(0,I.Zi)(k.B.CLIENTS)],n.createElement(n.Suspense,{fallback:null},n.createElement(h.A,{leftFilterPageId:N.g1.ISOLATED_HOTSPOT_MANAGER,content:n.createElement(f.A,{leftFilterPageId:N.g1.CLIENTS},C.O[T.M.HOTSPOT].children)},n.createElement(g.A,{...e})))),b=({location:{key:e},match:{params:t},showNetworkServerHeader:l})=>{(0,n.useEffect)(()=>{c.A.captureMessage(c.A.NetworkSentryMessage.hotspotManagerRedirect)},[]);const g=(0,n.useCallback)(()=>(0,a.tW)(u.Si[r.VO.CLIENTS],{...t,section:T.M.HOTSPOT,subSection:O.z.GUESTS}),[t]);return n.createElement(n.Fragment,null,l?n.createElement(m.default,null):null,n.createElement(A.A,null,n.createElement(S.N,null,n.createElement(n.Suspense,{fallback:null},n.createElement(a.dO,null,n.createElement(i.F,{path:d,component:_}),n.createElement(a.rd,{from:"*",to:g()}))),n.createElement(s.A,{key:e}),n.createElement(o.A,null))),n.createElement(E.default,null))}},17724:(e,t,l)=>{l.r(t),l.d(t,{default:()=>H});var n=l(296540),a=l(469733),r=l(256126),c=l(927099),E=l(566198),s=l(832914),i=l(758649),A=l(459449),m=l(183989),o=l(294303),u=l(801081),O=l(919952),T=l(276907),S=l(139587);const d=(0,u.Mz)(e=>e[O.U.SHARED][T.N.LOADER_ADAPTER],e=>e[S.V.REASONS]);var g=l(602021),h=l(510497),N=l(451919),f=l(968906),p=l(427463),k=l(633620),I=l(71479),C=l(227598),_=l(566723);const b=(0,I.A)(k.A)`
  margin-right: ${_.Ln};
  height: 24px;
  width: 24px;
`,M=(0,I.A)(p.A)`
  margin-right: ${_.kc};
  height: 16px;
  width: 16px;
`,R=(0,I.A)(C.A)`
  left: 50px;
`,H=()=>{const e=(0,a.useDispatch)(),t=(0,a.useSelector)(d),l=(0,a.useSelector)(g.AF),u=(0,a.useSelector)(g.LF),O=(0,n.useCallback)(()=>{l&&h.u.setItem(N.lP.HOTSPOT_LOGOUT_SITE_NAME,u),e((0,m.bB)())},[e,l,u]),T=(0,n.useCallback)(()=>n.createElement(o.A,{...f.A.addDataTestId(f.A.TestId.HEADER_USERICON)},n.createElement(b,{actionable:!0})),[]);return n.createElement(E.A,{size:"classic",title:n.createElement(c.A,{size:"header-s",weight:"normal",color:"tertiary"},n.createElement(A.sA,{id:"COMMON_NETWORK"})),icon:n.createElement(r.A,{size:"full"})},t.length?n.createElement(R,{isLoading:!0,placement:"bottom"}):null,n.createElement(o.A,null,n.createElement(s.A,{renderToggle:T,size:"small",align:"bottomCenter",toggleOffset:8},n.createElement(o.A,{alignContent:"center"},n.createElement(M,{isActive:!0}),n.createElement(i.A,{type:"button",variant:"inline",onClick:O,...f.A.addDataTestId(f.A.TestId.HEADER_SIGNOUT_BUTTON)},n.createElement(A.sA,{id:"COMMON_HEADER_USER_PROFILE_SIGN_OUT"}))))))}}}]);