"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[4974],{74974:(e,r,n)=>{n.r(r),n.d(r,{default:()=>u});var t=n(7552),o=n(68446),a=n(99546),l=n(75785),s=n(36715),i=n(87731);const c=(0,l.n9)()((e=>({root:{margin:e.spacing(2)},subtitle:{margin:e.spacing(1)}}))),u=(0,o.observer)((function({model:e}){const{classes:r}=c(),n=e?(0,a.getSession)(e):{version:""};return t.createElement("div",{className:r.root},t.createElement(s.A,{variant:"h4",align:"center"},"JBrowse 2"),t.createElement(s.A,{variant:"h6",align:"center",className:r.subtitle},n.version),t.createElement(s.A,null,"Here are some resources to get help. Please report the version number above when asking questions. Thanks!"),t.createElement("ul",null,t.createElement("li",null,t.createElement(i.A,{href:"https://github.com/GMOD/jbrowse-components/discussions",target:"_blank",rel:"noopener noreferrer"},"Question & answer forum")),t.createElement("li",null,t.createElement(i.A,{href:"https://github.com/GMOD/jbrowse-components/issues/new/choose",target:"_blank",rel:"noopener noreferrer"},"Report a bug")),t.createElement("li",null,t.createElement(i.A,{href:"https://jbrowse.org/jb2/docs/user_guide",target:"_blank",rel:"noopener noreferrer"},"User guide")),t.createElement("li",null,t.createElement(i.A,{href:"https://jbrowse.org/jb2/docs/",target:"_blank",rel:"noopener noreferrer"},"Documentation"))))}))},87731:(e,r,n)=>{n.d(r,{A:()=>A});var t=n(7552),o=n(93878),a=n(72639),l=n(70799),s=n(91527),i=n(15622),c=n(51148),u=n(48231),p=n(60129),d=n(4785),b=n(36715),m=n(58161),h=n(39995);const y=({theme:e,ownerState:r})=>{const n=r.color,t=(0,h.Yn)(e,`palette.${n}`,!1)||r.color,o=(0,h.Yn)(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:(0,a.X4)(t,.4)};var g=n(69500);const v={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},w=(0,c.Ay)(b.A,{name:"MuiLink",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:n}=e;return[r.root,r[`underline${(0,i.A)(n.underline)}`],"button"===n.component&&r.button]}})((0,p.A)((({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:e,ownerState:r})=>"always"===e&&"inherit"!==r.color,style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([r])=>({props:{underline:"always",color:r},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[r].mainChannel} / 0.4)`:(0,a.X4)(e.palette[r].main,.4)}}))),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:(0,a.X4)(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:(0,a.X4)(e.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{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"},[`&.${m.A.focusVisible}`]:{outline:"auto"}}}]})))),A=t.forwardRef((function(e,r){const n=(0,d.b)({props:e,name:"MuiLink"}),a=(0,u.A)(),{className:c,color:p="primary",component:b="a",onBlur:h,onFocus:A,TypographyClasses:f,underline:k="always",variant:x="inherit",sx:C,...E}=n,[D,S]=t.useState(!1),j={...n,color:p,component:b,focusVisible:D,underline:k,variant:x},L=(e=>{const{classes:r,component:n,focusVisible:t,underline:o}=e,a={root:["root",`underline${(0,i.A)(o)}`,"button"===n&&"button",t&&"focusVisible"]};return(0,l.A)(a,m.t,r)})(j);return(0,g.jsx)(w,{color:p,className:(0,o.A)(L.root,c),classes:f,component:b,onBlur:e=>{(0,s.A)(e.target)||S(!1),h&&h(e)},onFocus:e=>{(0,s.A)(e.target)&&S(!0),A&&A(e)},ref:r,ownerState:j,variant:x,...E,sx:[...void 0===v[p]?[{color:p}]:[],...Array.isArray(C)?C:[C]],style:{...E.style,..."always"===k&&"inherit"!==p&&!v[p]&&{"--Link-underlineColor":y({theme:a,ownerState:j})}}})}))},58161:(e,r,n)=>{n.d(r,{A:()=>l,t:()=>a});var t=n(33761),o=n(85693);function a(e){return(0,o.Ay)("MuiLink",e)}const l=(0,t.A)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"])}}]);
//# sourceMappingURL=4974.dcc74cc0.chunk.js.map