"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[1227],{21227:(e,n,r)=>{r.r(n),r.d(n,{default:()=>u});var t=r(66204),o=r(80846),a=r(88196),l=r(90872),i=r(80013),s=r(66159);const c=(0,r(38684).ZL)()((e=>({root:{margin:e.spacing(2),paddingTop:e.spacing(2)},subtitle:{margin:e.spacing(1)},pluginList:{margin:e.spacing(1),marginTop:e.spacing(5)}}))),u=(0,o.observer)((function({model:e}){const{classes:n}=c(),{version:r}=(0,l.getSession)(e),{pluginManager:o}=(0,a.getEnv)(e),{plugins:u}=o,m=new Set(u.filter((e=>o.pluginMetadata[e.name]?.isCore)).map((e=>e.name)));return t.createElement("div",{className:n.root},t.createElement(i.Z,{variant:"h4",align:"center"},"JBrowse 2"),t.createElement(i.Z,{variant:"h6",align:"center",className:n.subtitle},r),t.createElement(i.Z,{align:"center"},"JBrowse is a"," ",t.createElement(s.Z,{href:"http://gmod.org/",target:"_blank",rel:"noopener noreferrer"},"GMOD")," ","project"),t.createElement("br",null),t.createElement(i.Z,{align:"center"},"© 2019-2022 The Evolutionary Software Foundation"),t.createElement("div",{className:n.pluginList},t.createElement(i.Z,null,"External plugins loaded"),t.createElement("ul",null,u.filter((e=>!m.has(e.name))).map((e=>{const{url:n,name:r,version:o=""}=e,a=`${r} ${o||""}`;return t.createElement("li",{key:e.name},e.url?t.createElement(s.Z,{target:"_blank",rel:"noopener noreferrer",href:n},a):t.createElement(i.Z,null,a))}))),t.createElement(i.Z,null,"Core plugins loaded"),t.createElement("ul",null,u.filter((e=>m.has(e.name))).map((e=>t.createElement("li",{key:e.name},t.createElement(i.Z,null,e.name," ",e.version||"")))))))}))},66159:(e,n,r)=>{r.d(n,{Z:()=>E});var t=r(55559),o=r(30984),a=r(66204),l=r(56317),i=r(58029),s=r(40118),c=r(61125),u=r(57369),m=r(71948),p=r(81597),d=r(80013),g=r(29110),b=r(4860),Z=r(73330);const h={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},v=({theme:e,ownerState:n})=>{const r=(e=>h[e]||e)(n.color),t=(0,b.DW)(e,`palette.${r}`,!1)||n.color,o=(0,b.DW)(e,`palette.${r}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:(0,Z.Fq)(t,.4)};var f=r(43188);const y=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],w=(0,c.ZP)(d.Z,{name:"MuiLink",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:r}=e;return[n.root,n[`underline${(0,s.Z)(r.underline)}`],"button"===r.component&&n.button]}})((({theme:e,ownerState:n})=>(0,o.Z)({},"none"===n.underline&&{textDecoration:"none"},"hover"===n.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===n.underline&&(0,o.Z)({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"},[`&.${g.Z.focusVisible}`]:{outline:"auto"}}))),E=a.forwardRef((function(e,n){const r=(0,u.Z)({props:e,name:"MuiLink"}),{className:c,color:d="primary",component:b="a",onBlur:Z,onFocus:v,TypographyClasses:E,underline:k="always",variant:x="inherit",sx:S}=r,C=(0,t.Z)(r,y),{isFocusVisibleRef:D,onBlur:M,onFocus:T,ref:$}=(0,m.Z)(),[F,L]=a.useState(!1),N=(0,p.Z)(n,$),A=(0,o.Z)({},r,{color:d,component:b,focusVisible:F,underline:k,variant:x}),B=(e=>{const{classes:n,component:r,focusVisible:t,underline:o}=e,a={root:["root",`underline${(0,s.Z)(o)}`,"button"===r&&"button",t&&"focusVisible"]};return(0,i.Z)(a,g.w,n)})(A);return(0,f.jsx)(w,(0,o.Z)({color:d,className:(0,l.Z)(B.root,c),classes:E,component:b,onBlur:e=>{M(e),!1===D.current&&L(!1),Z&&Z(e)},onFocus:e=>{T(e),!0===D.current&&L(!0),v&&v(e)},ref:N,ownerState:A,variant:x,sx:[...Object.keys(h).includes(d)?[]:[{color:d}],...Array.isArray(S)?S:[S]]},C))}))},29110:(e,n,r)=>{r.d(n,{Z:()=>l,w:()=>a});var t=r(58109),o=r(95201);function a(e){return(0,o.Z)("MuiLink",e)}const l=(0,t.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"])}}]);
//# sourceMappingURL=1227.d93dd4ea.chunk.js.map