"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[2928],{62928:(e,s,n)=>{n.r(s),n.d(s,{default:()=>x});var l=n(67112),a=n(76218),i=n(93062),c=n(10240),r=n(36866),t=n(7946),h=n(22762),o=n(30698),d=n(69092),b=n(68446),j=n(75785),m=n(69500);const w=(0,j.n9)()(()=>({container:{width:800}})),x=(0,b.observer)(function({handleClose:e,session:s}){const{classes:n}=w();return(0,m.jsxs)(l.Dialog,{title:"Preferences",open:!0,onClose:e,maxWidth:"xl",children:[(0,m.jsxs)(a.A,{className:n.container,children:[(0,m.jsx)(i.A,{select:!0,label:"Theme",value:s.themeName,onChange:e=>{s.setThemeName(e.target.value)},children:Object.entries(s.allThemes()).map(([e,s])=>(0,m.jsx)(c.A,{value:e,children:s.name||"(Unknown name)"},e))}),(0,m.jsx)(r.A,{children:(0,m.jsx)(t.A,{control:(0,m.jsx)(h.A,{checked:s.stickyViewHeaders}),label:"Keep view header visible",onChange:(e,n)=>{s.setStickyViewHeaders(n)}})})]}),(0,m.jsx)(o.A,{children:(0,m.jsx)(d.A,{onClick:e,children:"Close"})})]})})}}]);
//# sourceMappingURL=2928.bf1c1a53.chunk.js.map