Module 615112

950 characters · in ba7b9b34b6ee39a7.js
Dependencies
Required by (1)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){n.d(t,{A:()=>c});var a=n(627968);n(64700);var i=n(311907),s=n(397927),l=n(450510),r=n(320681),o=n(505206);function d(e){let{hotspotLocation:t}=e,[n,r]=(0,i.yK)([l.HP],()=>[l.HP.hasHotspot(t,!0),l.HP.getHotspotOverride(t)]);return(0,a.jsx)(s.l6P,{label:t,errorMessage:n?"Inactive":void 0,successMessage:n?"Active":void 0,value:r,options:[{id:"none",value:void 0,label:"No Override"},{id:"active",value:!0,label:"Force Active"},{id:"inactive",value:!1,label:"Force Inactive"}],onSelectionChange:e=>null!=e?(0,l.Kl)(t,e):(0,l.LF)(t),selectionMode:"single",fullWidth:!0})}function c(){return(0,a.jsx)(s.IpV,{className:o.nd,children:(0,a.jsx)(s.nVY,{label:"Hotspots",description:"All the 'hotspots' in app, and their current status. Use the select menu to override them on or off.",className:r.IN,children:(0,a.jsx)(s.BJc,{gap:20,children:Object.keys(l._2).sort((e,t)=>e.localeCompare(t)).map(e=>(0,a.jsx)(d,{hotspotLocation:e},e))})})})}}