"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[4974],{74974:(e,n,r)=>{r.r(n),r.d(n,{default:()=>u});var o=r(7552),t=r(68446),a=r(99546),s=r(75785),i=r(36715),l=r(87731);const c=(0,s.n9)()((e=>({root:{margin:e.spacing(2)},subtitle:{margin:e.spacing(1)}}))),u=(0,t.observer)((function({model:e}){const{classes:n}=c(),r=e?(0,a.getSession)(e):{version:""};return o.createElement("div",{className:n.root},o.createElement(i.A,{variant:"h4",align:"center"},"JBrowse 2"),o.createElement(i.A,{variant:"h6",align:"center",className:n.subtitle},r.version),o.createElement(i.A,null,"Here are some resources to get help. Please report the version number above when asking questions. Thanks!"),o.createElement("ul",null,o.createElement("li",null,o.createElement(l.A,{href:"https://github.com/GMOD/jbrowse-components/discussions",target:"_blank",rel:"noopener noreferrer"},"Question & answer forum")),o.createElement("li",null,o.createElement(l.A,{href:"https://github.com/GMOD/jbrowse-components/issues/new/choose",target:"_blank",rel:"noopener noreferrer"},"Report a bug")),o.createElement("li",null,o.createElement(l.A,{href:"https://jbrowse.org/jb2/docs/user_guide",target:"_blank",rel:"noopener noreferrer"},"User guide")),o.createElement("li",null,o.createElement(l.A,{href:"https://jbrowse.org/jb2/docs/",target:"_blank",rel:"noopener noreferrer"},"Documentation"))))}))},87731:(e,n,r)=>{r.d(n,{A:()=>k});var o=r(83673),t=r(6614),a=r(7552),s=r(93878),i=r(60827),l=r(15622),c=r(51148),u=r(31049),m=r(9527),p=r(51584),b=r(36715),d=r(58161),h=r(20605),A=r(18283);const g={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},v=({theme:e,ownerState:n})=>{const r=(e=>g[e]||e)(n.color),o=(0,h.Yn)(e,`palette.${r}`,!1)||n.color,t=(0,h.Yn)(e,`palette.${r}Channel`);return"vars"in e&&t?`rgba(${t} / 0.4)`:(0,A.X4)(o,.4)};var f=r(69500);const w=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],y=(0,c.Ay)(b.A,{name:"MuiLink",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:r}=e;return[n.root,n[`underline${(0,l.A)(r.underline)}`],"button"===r.component&&n.button]}})((({theme:e,ownerState:n})=>(0,t.A)({},"none"===n.underline&&{textDecoration:"none"},"hover"===n.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===n.underline&&(0,t.A)({textDecoration:"underline"},"inherit"!==n.color&&{textDecorationColor:v({theme:e,ownerState:n})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===n.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${d.A.focusVisible}`]:{outline:"auto"}}))),k=a.forwardRef((function(e,n){const r=(0,u.A)({props:e,name:"MuiLink"}),{className:c,color:b="primary",component:h="a",onBlur:A,onFocus:v,TypographyClasses:k,underline:x="always",variant:E="inherit",sx:j}=r,S=(0,o.A)(r,w),{isFocusVisibleRef:C,onBlur:D,onFocus:_,ref:M}=(0,m.A)(),[N,R]=a.useState(!1),T=(0,p.A)(n,M),V=(0,t.A)({},r,{color:b,component:h,focusVisible:N,underline:x,variant:E}),$=(e=>{const{classes:n,component:r,focusVisible:o,underline:t}=e,a={root:["root",`underline${(0,l.A)(t)}`,"button"===r&&"button",o&&"focusVisible"]};return(0,i.A)(a,d.t,n)})(V);return(0,f.jsx)(y,(0,t.A)({color:b,className:(0,s.A)($.root,c),classes:k,component:h,onBlur:e=>{D(e),!1===C.current&&R(!1),A&&A(e)},onFocus:e=>{_(e),!0===C.current&&R(!0),v&&v(e)},ref:T,ownerState:V,variant:E,sx:[...Object.keys(g).includes(b)?[]:[{color:b}],...Array.isArray(j)?j:[j]]},S))}))},58161:(e,n,r)=>{r.d(n,{A:()=>s,t:()=>a});var o=r(55549),t=r(9577);function a(e){return(0,t.Ay)("MuiLink",e)}const s=(0,o.A)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"])}}]);
//# sourceMappingURL=4974.46c6b5a9.chunk.js.map