"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[7438],{47438:(e,r,n)=>{n.r(r),n.d(r,{default:()=>u});n(41867);var o=n(3762),t=n(90872),s=n(47192),i=n(51590),a=n(93989),c=n(80838);const l=(0,s.ZL)()((e=>({root:{margin:e.spacing(2)},subtitle:{margin:e.spacing(1)}}))),u=(0,o.observer)((function(e){let{model:r}=e;const{classes:n}=l(),o=r?(0,t.getSession)(r):{version:""};return(0,c.jsxs)("div",{className:n.root,children:[(0,c.jsx)(i.Z,{variant:"h4",align:"center",children:"JBrowse 2"}),(0,c.jsx)(i.Z,{variant:"h6",align:"center",className:n.subtitle,children:o.version}),(0,c.jsx)(i.Z,{children:"Here are some resources to get help. Please report the version number above when asking questions. Thanks!"}),(0,c.jsxs)("ul",{children:[(0,c.jsx)("li",{children:(0,c.jsx)(a.Z,{href:"https://github.com/GMOD/jbrowse-components/discussions",target:"_blank",rel:"noopener noreferrer",children:"Question & answer forum"})}),(0,c.jsx)("li",{children:(0,c.jsx)(a.Z,{href:"https://github.com/GMOD/jbrowse-components/issues/new/choose",target:"_blank",rel:"noopener noreferrer",children:"Report a bug"})}),(0,c.jsx)("li",{children:(0,c.jsx)(a.Z,{href:"https://jbrowse.org/jb2/docs/user_guide",target:"_blank",rel:"noopener noreferrer",children:"User guide"})}),(0,c.jsx)("li",{children:(0,c.jsx)(a.Z,{href:"https://jbrowse.org/jb2/docs/",target:"_blank",rel:"noopener noreferrer",children:"Documentation"})})]})]})}))},93989:(e,r,n)=>{n.d(r,{Z:()=>j});var o=n(31461),t=n(7896),s=n(41867),i=n(66184),a=n(92705),c=n(9931),l=n(75693),u=n(90293),d=n(62643),h=n(40234),p=n(51590),b=n(31633),m=n(60183),g=n(71939);const x={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Z=e=>{let{theme:r,ownerState:n}=e;const o=(e=>x[e]||e)(n.color),t=(0,m.DW)(r,"palette.".concat(o),!1)||n.color,s=(0,m.DW)(r,"palette.".concat(o,"Channel"));return"vars"in r&&s?"rgba(".concat(s," / 0.4)"):(0,g.Fq)(t,.4)};var f=n(80838);const v=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],w=(0,l.ZP)(p.Z,{name:"MuiLink",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:n}=e;return[r.root,r["underline".concat((0,c.Z)(n.underline))],"button"===n.component&&r.button]}})((e=>{let{theme:r,ownerState:n}=e;return(0,t.Z)({},"none"===n.underline&&{textDecoration:"none"},"hover"===n.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===n.underline&&(0,t.Z)({textDecoration:"underline"},"inherit"!==n.color&&{textDecorationColor:Z({theme:r,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"},["&.".concat(b.Z.focusVisible)]:{outline:"auto"}})})),j=s.forwardRef((function(e,r){const n=(0,u.Z)({props:e,name:"MuiLink"}),{className:l,color:p="primary",component:m="a",onBlur:g,onFocus:Z,TypographyClasses:j,underline:y="always",variant:k="inherit",sx:D}=n,S=(0,o.Z)(n,v),{isFocusVisibleRef:C,onBlur:_,onFocus:M,ref:A}=(0,d.Z)(),[F,N]=s.useState(!1),R=(0,h.Z)(r,A),V=(0,t.Z)({},n,{color:p,component:m,focusVisible:F,underline:y,variant:k}),B=(e=>{const{classes:r,component:n,focusVisible:o,underline:t}=e,s={root:["root","underline".concat((0,c.Z)(t)),"button"===n&&"button",o&&"focusVisible"]};return(0,a.Z)(s,b.w,r)})(V);return(0,f.jsx)(w,(0,t.Z)({color:p,className:(0,i.Z)(B.root,l),classes:j,component:m,onBlur:e=>{_(e),!1===C.current&&N(!1),g&&g(e)},onFocus:e=>{M(e),!0===C.current&&N(!0),Z&&Z(e)},ref:R,ownerState:V,variant:k,sx:[...Object.keys(x).includes(p)?[]:[{color:p}],...Array.isArray(D)?D:[D]]},S))}))},31633:(e,r,n)=>{n.d(r,{Z:()=>i,w:()=>s});var o=n(70101),t=n(88498);function s(e){return(0,t.Z)("MuiLink",e)}const i=(0,o.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"])}}]);
//# sourceMappingURL=7438.6339f159.chunk.js.map