Mercurial > repos > fubar > jbrowse2
view x/static/js/9168.6afdec67.chunk.js @ 133:cec274db51c0 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 7d28252954cae9f8db5f8a85d8f29cb2865b504b-dirty
author | fubar |
---|---|
date | Fri, 18 Oct 2024 11:57:55 +0000 |
parents | 49f3d3878413 |
children |
line wrap: on
line source
"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[9168],{29168:(e,t,r)=>{r.r(t),r.d(t,{default:()=>y});var a=r(7552),n=r(63011),o=r(41578),i=r(36715),s=r(1773),l=r(25355),c=r(75785),d=r(68446),u=r(7720);const m=(0,d.observer)((function({job:e}){return a.createElement(s.A,{variant:"outlined"},a.createElement(l.A,null,a.createElement(i.A,{variant:"body1"},a.createElement("strong",null,"Name: "),e.name),e.statusMessage?a.createElement(i.A,{variant:"body1"},a.createElement("strong",null,"Message: "),e.statusMessage):null))}));var p=r(17776),b=r(84421),f=r(71379),A=r(5401);const v=(0,d.observer)((function({job:e}){const[t,r]=(0,a.useState)(!1);return a.createElement(s.A,{variant:"outlined"},a.createElement(l.A,null,a.createElement(i.A,{variant:"body1"},a.createElement("strong",null,"Name: "),e.name),a.createElement(i.A,{variant:"body1"},a.createElement("strong",null,"Message: "),e.statusMessage||"No message provided"),a.createElement(p.A,{sx:{display:"flex",alignItems:"center",marginTop:10,marginBottom:10,marginLeft:10}},0===e.progressPct||100===e.progressPct?a.createElement(p.A,{sx:{width:"100%"}},a.createElement(b.A,{variant:"indeterminate"})):a.createElement(a.Fragment,null,a.createElement(p.A,{sx:{width:"100%"}},a.createElement(b.A,{variant:"determinate",value:e.progressPct})),a.createElement(p.A,{sx:{m:1}},a.createElement(i.A,null,`${Math.round(e.progressPct||0)}%`))))),a.createElement(f.A,null,a.createElement(A.A,{variant:"contained",color:"inherit",disabled:t||0===e.progressPct,onClick:()=>{e.setStatusMessage("Aborted via cancel button"),e.cancelCallback(),r(!0)}},"Cancel")))})),g=(0,c.n9)()((e=>({root:{margin:e.spacing(1)},expandIcon:{color:e.palette.tertiary.contrastText}}))),y=(0,d.observer)((function({model:e}){const{classes:t}=g(),{jobs:r,finished:c,queued:d,aborted:p}=e;return a.createElement("div",{className:t.root},a.createElement(n.A,{defaultExpanded:!0},a.createElement(o.A,{expandIcon:a.createElement(u.A,{className:t.expandIcon})},a.createElement(i.A,{variant:"h5"},"Running jobs")),r.length?r.map(((e,t)=>a.createElement(v,{job:e,key:`${JSON.stringify(e)}-${t}`}))):a.createElement(s.A,{variant:"outlined"},a.createElement(l.A,null,a.createElement(i.A,{variant:"body1"},"No running jobs")))),a.createElement(n.A,{defaultExpanded:!0},a.createElement(o.A,{expandIcon:a.createElement(u.A,{className:t.expandIcon})},a.createElement(i.A,{variant:"h5"},"Queued jobs")),d.length?d.map(((e,t)=>a.createElement(m,{job:e,key:`${JSON.stringify(e)}-${t}`}))):a.createElement(s.A,{variant:"outlined"},a.createElement(l.A,null,a.createElement(i.A,{variant:"body1"},"No queued jobs")))),a.createElement(n.A,{defaultExpanded:!0},a.createElement(o.A,{expandIcon:a.createElement(u.A,{className:t.expandIcon})},a.createElement(i.A,{variant:"h5"},"Completed jobs")),c.length?c.map(((e,t)=>a.createElement(m,{key:`${JSON.stringify(e)}-${t}`,job:e}))):a.createElement(s.A,{variant:"outlined"},a.createElement(l.A,null,a.createElement(i.A,{variant:"body1"},"No completed jobs")))),a.createElement(n.A,{defaultExpanded:!0},a.createElement(o.A,{expandIcon:a.createElement(u.A,{className:t.expandIcon})},a.createElement(i.A,{variant:"h5"},"Aborted jobs")),p.length?p.map(((e,t)=>a.createElement(m,{key:`${JSON.stringify(e)}-${t}`,job:e}))):a.createElement(s.A,{variant:"outlined"},a.createElement(l.A,null,a.createElement(i.A,{variant:"body1"},"No aborted jobs")))))}))},7720:(e,t,r)=>{r.d(t,{A:()=>o});var a=r(74893),n=r(69500);const o=(0,a.A)((0,n.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},41578:(e,t,r)=>{r.d(t,{A:()=>y});var a=r(7552),n=r(93878),o=r(70799),i=r(51148),s=r(60129),l=r(4785),c=r(48054),d=r(51132),u=r(33761),m=r(85693);function p(e){return(0,m.Ay)("MuiAccordionSummary",e)}const b=(0,u.A)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]);var f=r(69500);const A=(0,i.Ay)(c.A,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})((0,s.A)((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],t),[`&.${b.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${b.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${b.disabled})`]:{cursor:"pointer"},variants:[{props:e=>!e.disableGutters,style:{[`&.${b.expanded}`]:{minHeight:64}}}]}}))),v=(0,i.Ay)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})((0,s.A)((({theme:e})=>({display:"flex",flexGrow:1,margin:"12px 0",variants:[{props:e=>!e.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${b.expanded}`]:{margin:"20px 0"}}}]})))),g=(0,i.Ay)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})((0,s.A)((({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${b.expanded}`]:{transform:"rotate(180deg)"}})))),y=a.forwardRef((function(e,t){const r=(0,l.b)({props:e,name:"MuiAccordionSummary"}),{children:i,className:s,expandIcon:c,focusVisibleClassName:u,onClick:m,...b}=r,{disabled:y=!1,disableGutters:h,expanded:x,toggle:E}=a.useContext(d.A),C={...r,expanded:x,disabled:y,disableGutters:h},w=(e=>{const{classes:t,expanded:r,disabled:a,disableGutters:n}=e,i={root:["root",r&&"expanded",a&&"disabled",!n&&"gutters"],focusVisible:["focusVisible"],content:["content",r&&"expanded",!n&&"contentGutters"],expandIconWrapper:["expandIconWrapper",r&&"expanded"]};return(0,o.A)(i,p,t)})(C);return(0,f.jsxs)(A,{focusRipple:!1,disableRipple:!0,disabled:y,component:"div","aria-expanded":x,className:(0,n.A)(w.root,s),focusVisibleClassName:(0,n.A)(w.focusVisible,u),onClick:e=>{E&&E(e),m&&m(e)},ref:t,ownerState:C,...b,children:[(0,f.jsx)(v,{className:w.content,ownerState:C,children:i}),c&&(0,f.jsx)(g,{className:w.expandIconWrapper,ownerState:C,children:c})]})}))},1773:(e,t,r)=>{r.d(t,{A:()=>m});var a=r(7552),n=r(93878),o=r(70799),i=r(51148),s=r(4785),l=r(943),c=r(50885),d=r(69500);const u=(0,i.Ay)(l.A,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),m=a.forwardRef((function(e,t){const r=(0,s.b)({props:e,name:"MuiCard"}),{className:a,raised:i=!1,...l}=r,m={...r,raised:i},p=(e=>{const{classes:t}=e;return(0,o.A)({root:["root"]},c.T,t)})(m);return(0,d.jsx)(u,{className:(0,n.A)(p.root,a),elevation:i?8:void 0,ref:t,ownerState:m,...l})}))},50885:(e,t,r)=>{r.d(t,{A:()=>i,T:()=>o});var a=r(33761),n=r(85693);function o(e){return(0,n.Ay)("MuiCard",e)}const i=(0,a.A)("MuiCard",["root"])},71379:(e,t,r)=>{r.d(t,{A:()=>u});var a=r(7552),n=r(93878),o=r(70799),i=r(51148),s=r(4785),l=r(93863),c=r(69500);const d=(0,i.Ay)("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,variants:[{props:{disableSpacing:!1},style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),u=a.forwardRef((function(e,t){const r=(0,s.b)({props:e,name:"MuiCardActions"}),{disableSpacing:a=!1,className:i,...u}=r,m={...r,disableSpacing:a},p=(e=>{const{classes:t,disableSpacing:r}=e,a={root:["root",!r&&"spacing"]};return(0,o.A)(a,l.E,t)})(m);return(0,c.jsx)(d,{className:(0,n.A)(p.root,i),ownerState:m,ref:t,...u})}))},93863:(e,t,r)=>{r.d(t,{A:()=>i,E:()=>o});var a=r(33761),n=r(85693);function o(e){return(0,n.Ay)("MuiCardActions",e)}const i=(0,a.A)("MuiCardActions",["root","spacing"])},25355:(e,t,r)=>{r.d(t,{A:()=>u});var a=r(7552),n=r(93878),o=r(70799),i=r(51148),s=r(4785),l=r(61823),c=r(69500);const d=(0,i.Ay)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),u=a.forwardRef((function(e,t){const r=(0,s.b)({props:e,name:"MuiCardContent"}),{className:a,component:i="div",...u}=r,m={...r,component:i},p=(e=>{const{classes:t}=e;return(0,o.A)({root:["root"]},l.h,t)})(m);return(0,c.jsx)(d,{as:i,className:(0,n.A)(p.root,a),ownerState:m,ref:t,...u})}))},61823:(e,t,r)=>{r.d(t,{A:()=>i,h:()=>o});var a=r(33761),n=r(85693);function o(e){return(0,n.Ay)("MuiCardContent",e)}const i=(0,a.A)("MuiCardContent",["root"])},84421:(e,t,r)=>{r.d(t,{A:()=>M});var a=r(7552),n=r(93878),o=r(70799),i=r(72639),s=r(93876),l=r(64761),c=r(51148),d=r(60129),u=r(58520),m=r(4785),p=r(15622),b=r(50077),f=r(69500);const A=l.i7` 0% { left: -35%; right: 100%; } 60% { left: 100%; right: -90%; } 100% { left: 100%; right: -90%; } `,v="string"!=typeof A?l.AH` animation: ${A} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; `:null,g=l.i7` 0% { left: -200%; right: 100%; } 60% { left: 107%; right: -8%; } 100% { left: 107%; right: -8%; } `,y="string"!=typeof g?l.AH` animation: ${g} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; `:null,h=l.i7` 0% { opacity: 1; background-position: 0 -23px; } 60% { opacity: 0; background-position: 0 -23px; } 100% { opacity: 1; background-position: -200px -23px; } `,x="string"!=typeof h?l.AH` animation: ${h} 3s infinite linear; `:null,E=(e,t)=>e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:"light"===e.palette.mode?(0,i.a)(e.palette[t].main,.62):(0,i.e$)(e.palette[t].main,.5),C=(0,c.Ay)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`color${(0,p.A)(r.color)}`],t[r.variant]]}})((0,d.A)((({theme:e})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(e.palette).filter((0,u.A)()).map((([t])=>({props:{color:t},style:{backgroundColor:E(e,t)}}))),{props:({ownerState:e})=>"inherit"===e.color&&"buffer"!==e.variant,style:{"&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}}},{props:{variant:"buffer"},style:{backgroundColor:"transparent"}},{props:{variant:"query"},style:{transform:"rotate(180deg)"}}]})))),w=(0,c.Ay)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.dashed,t[`dashedColor${(0,p.A)(r.color)}`]]}})((0,d.A)((({theme:e})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(e.palette).filter((0,u.A)()).map((([t])=>{const r=E(e,t);return{props:{color:t},style:{backgroundImage:`radial-gradient(${r} 0%, ${r} 16%, transparent 42%)`}}}))]}))),x||{animation:`${h} 3s infinite linear`}),S=(0,c.Ay)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.bar,t[`barColor${(0,p.A)(r.color)}`],("indeterminate"===r.variant||"query"===r.variant)&&t.bar1Indeterminate,"determinate"===r.variant&&t.bar1Determinate,"buffer"===r.variant&&t.bar1Buffer]}})((0,d.A)((({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(e.palette).filter((0,u.A)()).map((([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main}}))),{props:{variant:"determinate"},style:{transition:"transform .4s linear"}},{props:{variant:"buffer"},style:{zIndex:1,transition:"transform .4s linear"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:{width:"auto"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:v||{animation:`${A} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]})))),$=(0,c.Ay)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.bar,t[`barColor${(0,p.A)(r.color)}`],("indeterminate"===r.variant||"query"===r.variant)&&t.bar2Indeterminate,"buffer"===r.variant&&t.bar2Buffer]}})((0,d.A)((({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(e.palette).filter((0,u.A)()).map((([t])=>({props:{color:t},style:{"--LinearProgressBar2-barColor":(e.vars||e).palette[t].main}}))),{props:({ownerState:e})=>"buffer"!==e.variant&&"inherit"!==e.color,style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(e.palette).filter((0,u.A)()).map((([t])=>({props:{color:t,variant:"buffer"},style:{backgroundColor:E(e,t),transition:"transform .4s linear"}}))),{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:{width:"auto"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:y||{animation:`${g} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]})))),M=a.forwardRef((function(e,t){const r=(0,m.b)({props:e,name:"MuiLinearProgress"}),{className:a,color:i="primary",value:l,valueBuffer:c,variant:d="indeterminate",...u}=r,A={...r,color:i,variant:d},v=(e=>{const{classes:t,variant:r,color:a}=e,n={root:["root",`color${(0,p.A)(a)}`,r],dashed:["dashed",`dashedColor${(0,p.A)(a)}`],bar1:["bar",`barColor${(0,p.A)(a)}`,("indeterminate"===r||"query"===r)&&"bar1Indeterminate","determinate"===r&&"bar1Determinate","buffer"===r&&"bar1Buffer"],bar2:["bar","buffer"!==r&&`barColor${(0,p.A)(a)}`,"buffer"===r&&`color${(0,p.A)(a)}`,("indeterminate"===r||"query"===r)&&"bar2Indeterminate","buffer"===r&&"bar2Buffer"]};return(0,o.A)(n,b.l,t)})(A),g=(0,s.I)(),y={},h={bar1:{},bar2:{}};if(("determinate"===d||"buffer"===d)&&void 0!==l){y["aria-valuenow"]=Math.round(l),y["aria-valuemin"]=0,y["aria-valuemax"]=100;let e=l-100;g&&(e=-e),h.bar1.transform=`translateX(${e}%)`}if("buffer"===d&&void 0!==c){let e=(c||0)-100;g&&(e=-e),h.bar2.transform=`translateX(${e}%)`}return(0,f.jsxs)(C,{className:(0,n.A)(v.root,a),ownerState:A,role:"progressbar",...y,ref:t,...u,children:["buffer"===d?(0,f.jsx)(w,{className:v.dashed,ownerState:A}):null,(0,f.jsx)(S,{className:v.bar1,ownerState:A,style:h.bar1}),"determinate"===d?null:(0,f.jsx)($,{className:v.bar2,ownerState:A,style:h.bar2})]})}))},50077:(e,t,r)=>{r.d(t,{A:()=>i,l:()=>o});var a=r(33761),n=r(85693);function o(e){return(0,n.Ay)("MuiLinearProgress",e)}const i=(0,a.A)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"])}}]); //# sourceMappingURL=9168.6afdec67.chunk.js.map