"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[5793],{25793:(e,n,s)=>{s.r(n),s.d(n,{default:()=>m});s(41867);var l=s(47409),a=s(49133),t=s(59231),r=s(27768),c=s(23801),h=s(47192),i=s(35421),o=s(80838);const d=(0,h.ZL)()((()=>({container:{width:800}})));function m(e){let{handleClose:n,session:s}=e;const{classes:h}=d();return(0,o.jsxs)(i.Dialog,{title:"Preferences",open:!0,onClose:n,maxWidth:"xl",children:[(0,o.jsx)(l.Z,{className:h.container,children:(0,o.jsx)(a.Z,{select:!0,label:"Theme",value:s.themeName,onChange:e=>s.setThemeName(e.target.value),children:Object.entries(s.allThemes()).map((e=>{let[n,s]=e;return(0,o.jsx)(t.Z,{value:n,children:s.name||"(Unknown name)"},n)}))})}),(0,o.jsx)(r.Z,{children:(0,o.jsx)(c.Z,{onClick:n,children:"Close"})})]})}}}]);
//# sourceMappingURL=5793.7189b787.chunk.js.map