"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[9032],{99032:(e,n,r)=>{r.r(n),r.d(n,{default:()=>u});var t=r(7552),o=r(68446),a=r(36422),l=r(99546),i=r(36715),s=r(87731);const c=(0,r(75785).n9)()((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,p=new Set(u.filter((e=>o.pluginMetadata[e.name]?.isCore)).map((e=>e.name)));return t.createElement("div",{className:n.root},t.createElement(i.A,{variant:"h4",align:"center"},"JBrowse 2"),t.createElement(i.A,{variant:"h6",align:"center",className:n.subtitle},r),t.createElement(i.A,{align:"center"},"JBrowse is a"," ",t.createElement(s.A,{href:"http://gmod.org/",target:"_blank",rel:"noopener noreferrer"},"GMOD")," ","project"),t.createElement("br",null),t.createElement(i.A,{align:"center"},"© 2019-2022 The Evolutionary Software Foundation"),t.createElement("div",{className:n.pluginList},t.createElement(i.A,null,"External plugins loaded"),t.createElement("ul",null,u.filter((e=>!p.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.A,{target:"_blank",rel:"noopener noreferrer",href:n},a):t.createElement(i.A,null,a))}))),t.createElement(i.A,null,"Core plugins loaded"),t.createElement("ul",null,u.filter((e=>p.has(e.name))).map((e=>t.createElement("li",{key:e.name},t.createElement(i.A,null,e.name," ",e.version||"")))))))}))},87731:(e,n,r)=>{r.d(n,{A:()=>f});var t=r(7552),o=r(93878),a=r(72639),l=r(70799),i=r(91527),s=r(15622),c=r(51148),u=r(48231),p=r(60129),d=r(58520),m=r(4785),g=r(36715),y=r(58161),b=r(39995);const v=({theme:e,ownerState:n})=>{const r=n.color,t=(0,b.Yn)(e,`palette.${r}`,!1)||n.color,o=(0,b.Yn)(e,`palette.${r}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:(0,a.X4)(t,.4)};var A=r(69500);const h={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},w=(0,c.Ay)(g.A,{name:"MuiLink",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:r}=e;return[n.root,n[`underline${(0,s.A)(r.underline)}`],"button"===r.component&&n.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:n})=>"always"===e&&"inherit"!==n.color,style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(e.palette).filter((0,d.A)()).map((([n])=>({props:{underline:"always",color:n},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.4)`:(0,a.X4)(e.palette[n].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"},[`&.${y.A.focusVisible}`]:{outline:"auto"}}}]})))),f=t.forwardRef((function(e,n){const r=(0,m.b)({props:e,name:"MuiLink"}),a=(0,u.A)(),{className:c,color:p="primary",component:d="a",onBlur:g,onFocus:b,TypographyClasses:f,underline:k="always",variant:x="inherit",sx:E,...C}=r,[S,L]=t.useState(!1),$={...r,color:p,component:d,focusVisible:S,underline:k,variant:x},D=(e=>{const{classes:n,component:r,focusVisible:t,underline:o}=e,a={root:["root",`underline${(0,s.A)(o)}`,"button"===r&&"button",t&&"focusVisible"]};return(0,l.A)(a,y.t,n)})($);return(0,A.jsx)(w,{color:p,className:(0,o.A)(D.root,c),classes:f,component:d,onBlur:e=>{(0,i.A)(e.target)||L(!1),g&&g(e)},onFocus:e=>{(0,i.A)(e.target)&&L(!0),b&&b(e)},ref:n,ownerState:$,variant:x,...C,sx:[...void 0===h[p]?[{color:p}]:[],...Array.isArray(E)?E:[E]],style:{...C.style,..."always"===k&&"inherit"!==p&&!h[p]&&{"--Link-underlineColor":v({theme:a,ownerState:$})}}})}))},58161:(e,n,r)=>{r.d(n,{A:()=>l,t:()=>a});var t=r(33761),o=r(85693);function a(e){return(0,o.Ay)("MuiLink",e)}const l=(0,t.A)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"])}}]);
//# sourceMappingURL=9032.b54e1975.chunk.js.map