"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[2928],{62928:(e,n,s)=>{s.r(n),s.d(n,{default:()=>m});var l=s(49823),a=s(29499),c=s(1343),t=s(29629),h=s(58507),i=s(5401),o=s(75785),r=s(69500);const d=(0,o.n9)()((()=>({container:{width:800}})));function m({handleClose:e,session:n}){const{classes:s}=d();return(0,r.jsxs)(l.Dialog,{title:"Preferences",open:!0,onClose:e,maxWidth:"xl",children:[(0,r.jsx)(a.A,{className:s.container,children:(0,r.jsx)(c.A,{select:!0,label:"Theme",value:n.themeName,onChange:e=>{n.setThemeName(e.target.value)},children:Object.entries(n.allThemes()).map((([e,n])=>(0,r.jsx)(t.A,{value:e,children:n.name||"(Unknown name)"},e)))})}),(0,r.jsx)(h.A,{children:(0,r.jsx)(i.A,{onClick:e,children:"Close"})})]})}}}]);
//# sourceMappingURL=2928.44dbe026.chunk.js.map