view x/static/js/5189.3e22269d.chunk.js @ 125:49f3d3878413 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 5ea1f9c1eef1de76232e69aa6d34cda77d90d566
author fubar
date Sat, 05 Oct 2024 23:58:05 +0000
parents
children
line wrap: on
line source

"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[5189],{98459:(e,t,o)=>{o.d(t,{A:()=>S});var n=o(7552),r=o(93878),a=o(16157),i=o(26218),l=o(70799),s=o(51148),c=o(48231),p=o(60129),d=o(4785),u=o(94479),v=o(46302),m=o(51584),h=o(72367),b=o(69500);const A=(0,s.Ay)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],"entered"===o.state&&t.entered,"exited"===o.state&&!o.in&&"0px"===o.collapsedSize&&t.hidden]}})((0,p.A)((({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:e})=>"exited"===e.state&&!e.in&&"0px"===e.collapsedSize,style:{visibility:"hidden"}}]})))),x=(0,s.Ay)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),y=(0,s.Ay)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),f=n.forwardRef((function(e,t){const o=(0,d.b)({props:e,name:"MuiCollapse"}),{addEndListener:s,children:p,className:f,collapsedSize:S="0px",component:L,easing:g,in:w,onEnter:C,onEntered:M,onEntering:R,onExit:j,onExited:z,onExiting:N,orientation:$="vertical",style:I,timeout:E=u.p0.standard,TransitionComponent:T=a.Ay,...D}=o,P={...o,orientation:$,collapsedSize:S},k=(e=>{const{orientation:t,classes:o}=e,n={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return(0,l.A)(n,h.E,o)})(P),W=(0,c.A)(),F=(0,i.A)(),H=n.useRef(null),_=n.useRef(),B="number"==typeof S?`${S}px`:S,G="horizontal"===$,K=G?"width":"height",O=n.useRef(null),V=(0,m.A)(t,O),q=e=>t=>{if(e){const o=O.current;void 0===t?e(o):e(o,t)}},J=()=>H.current?H.current[G?"clientWidth":"clientHeight"]:0,Q=q(((e,t)=>{H.current&&G&&(H.current.style.position="absolute"),e.style[K]=B,C&&C(e,t)})),U=q(((e,t)=>{const o=J();H.current&&G&&(H.current.style.position="");const{duration:n,easing:r}=(0,v.c)({style:I,timeout:E,easing:g},{mode:"enter"});if("auto"===E){const t=W.transitions.getAutoHeightDuration(o);e.style.transitionDuration=`${t}ms`,_.current=t}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[K]=`${o}px`,e.style.transitionTimingFunction=r,R&&R(e,t)})),X=q(((e,t)=>{e.style[K]="auto",M&&M(e,t)})),Y=q((e=>{e.style[K]=`${J()}px`,j&&j(e)})),Z=q(z),ee=q((e=>{const t=J(),{duration:o,easing:n}=(0,v.c)({style:I,timeout:E,easing:g},{mode:"exit"});if("auto"===E){const o=W.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${o}ms`,_.current=o}else e.style.transitionDuration="string"==typeof o?o:`${o}ms`;e.style[K]=B,e.style.transitionTimingFunction=n,N&&N(e)}));return(0,b.jsx)(T,{in:w,onEnter:Q,onEntered:X,onEntering:U,onExit:Y,onExited:Z,onExiting:ee,addEndListener:e=>{"auto"===E&&F.start(_.current||0,e),s&&s(O.current,e)},nodeRef:O,timeout:"auto"===E?null:E,...D,children:(e,t)=>(0,b.jsx)(A,{as:L,className:(0,r.A)(k.root,f,{entered:k.entered,exited:!w&&"0px"===B&&k.hidden}[e]),style:{[G?"minWidth":"minHeight"]:B,...I},ref:V,...t,ownerState:{...P,state:e},children:(0,b.jsx)(x,{ownerState:{...P,state:e},className:k.wrapper,ref:H,children:(0,b.jsx)(y,{ownerState:{...P,state:e},className:k.wrapperInner,children:p})})})})}));f&&(f.muiSupportAuto=!0);const S=f},72367:(e,t,o)=>{o.d(t,{A:()=>i,E:()=>a});var n=o(33761),r=o(85693);function a(e){return(0,r.Ay)("MuiCollapse",e)}const i=(0,n.A)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"])},27897:(e,t,o)=>{o.d(t,{A:()=>v});var n=o(7552),r=o(93878),a=o(70799),i=o(29628),l=o(81762),s=o(51148),c=o(4785),p=o(5110),d=o(69500);const u=(0,s.Ay)("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})({variants:[{props:{orientation:"horizontal"},style:{paddingLeft:8,paddingRight:8}},{props:{alternativeLabel:!0},style:{flex:1,position:"relative"}}]}),v=n.forwardRef((function(e,t){const o=(0,c.b)({props:e,name:"MuiStep"}),{active:s,children:v,className:m,component:h="div",completed:b,disabled:A,expanded:x=!1,index:y,last:f,...S}=o,{activeStep:L,connector:g,alternativeLabel:w,orientation:C,nonLinear:M}=n.useContext(i.A);let[R=!1,j=!1,z=!1]=[s,b,A];L===y?R=void 0===s||s:!M&&L>y?j=void 0===b||b:!M&&L<y&&(z=void 0===A||A);const N=n.useMemo((()=>({index:y,last:f,expanded:x,icon:y+1,active:R,completed:j,disabled:z})),[y,f,x,R,j,z]),$={...o,active:R,orientation:C,alternativeLabel:w,completed:j,disabled:z,expanded:x,component:h},I=(e=>{const{classes:t,orientation:o,alternativeLabel:n,completed:r}=e,i={root:["root",o,n&&"alternativeLabel",r&&"completed"]};return(0,a.A)(i,p.L,t)})($),E=(0,d.jsxs)(u,{as:h,className:(0,r.A)(I.root,m),ref:t,ownerState:$,...S,children:[g&&w&&0!==y?g:null,v]});return(0,d.jsx)(l.A.Provider,{value:N,children:g&&!w&&0!==y?(0,d.jsxs)(n.Fragment,{children:[g,E]}):E})}))},81762:(e,t,o)=>{o.d(t,{A:()=>i,P:()=>a});var n=o(7552);const r=n.createContext({});function a(){return n.useContext(r)}const i=r},5110:(e,t,o)=>{o.d(t,{A:()=>i,L:()=>a});var n=o(33761),r=o(85693);function a(e){return(0,r.Ay)("MuiStep",e)}const i=(0,n.A)("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"])},23491:(e,t,o)=>{o.d(t,{A:()=>b});var n=o(7552),r=o(93878),a=o(70799),i=o(15622),l=o(51148),s=o(60129),c=o(4785),p=o(29628),d=o(81762),u=o(62487),v=o(69500);const m=(0,l.Ay)("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})({flex:"1 1 auto",variants:[{props:{orientation:"vertical"},style:{marginLeft:12}},{props:{alternativeLabel:!0},style:{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"}}]}),h=(0,l.Ay)("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.line,t[`line${(0,i.A)(o.orientation)}`]]}})((0,s.A)((({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600];return{display:"block",borderColor:e.vars?e.vars.palette.StepConnector.border:t,variants:[{props:{orientation:"horizontal"},style:{borderTopStyle:"solid",borderTopWidth:1}},{props:{orientation:"vertical"},style:{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24}}]}}))),b=n.forwardRef((function(e,t){const o=(0,c.b)({props:e,name:"MuiStepConnector"}),{className:l,...s}=o,{alternativeLabel:b,orientation:A="horizontal"}=n.useContext(p.A),{active:x,disabled:y,completed:f}=n.useContext(d.A),S={...o,alternativeLabel:b,orientation:A,active:x,completed:f,disabled:y},L=(e=>{const{classes:t,orientation:o,alternativeLabel:n,active:r,completed:l,disabled:s}=e,c={root:["root",o,n&&"alternativeLabel",r&&"active",l&&"completed",s&&"disabled"],line:["line",`line${(0,i.A)(o)}`]};return(0,a.A)(c,u.G,t)})(S);return(0,v.jsx)(m,{className:(0,r.A)(L.root,l),ref:t,ownerState:S,...s,children:(0,v.jsx)(h,{className:L.line,ownerState:S})})}))},62487:(e,t,o)=>{o.d(t,{A:()=>i,G:()=>a});var n=o(33761),r=o(85693);function a(e){return(0,r.Ay)("MuiStepConnector",e)}const i=(0,n.A)("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"])},22133:(e,t,o)=>{o.d(t,{A:()=>x});var n=o(7552),r=o(93878),a=o(70799),i=o(51148),l=o(60129),s=o(4785),c=o(98459),p=o(29628),d=o(81762),u=o(33761),v=o(85693);function m(e){return(0,v.Ay)("MuiStepContent",e)}(0,u.A)("MuiStepContent",["root","last","transition"]);var h=o(69500);const b=(0,i.Ay)("div",{name:"MuiStepContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.last&&t.last]}})((0,l.A)((({theme:e})=>({marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:e.vars?`1px solid ${e.vars.palette.StepContent.border}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600]}`,variants:[{props:{last:!0},style:{borderLeft:"none"}}]})))),A=(0,i.Ay)(c.A,{name:"MuiStepContent",slot:"Transition",overridesResolver:(e,t)=>t.transition})({}),x=n.forwardRef((function(e,t){const o=(0,s.b)({props:e,name:"MuiStepContent"}),{children:i,className:l,TransitionComponent:u=c.A,transitionDuration:v="auto",TransitionProps:x,...y}=o,{orientation:f}=n.useContext(p.A),{active:S,last:L,expanded:g}=n.useContext(d.A),w={...o,last:L},C=(e=>{const{classes:t,last:o}=e,n={root:["root",o&&"last"],transition:["transition"]};return(0,a.A)(n,m,t)})(w);let M=v;return"auto"!==v||u.muiSupportAuto||(M=void 0),(0,h.jsx)(b,{className:(0,r.A)(C.root,l),ref:t,ownerState:w,...y,children:(0,h.jsx)(A,{as:u,in:S||g,className:C.transition,ownerState:w,timeout:M,unmountOnExit:!0,...x,children:i})})}))},47450:(e,t,o)=>{o.d(t,{A:()=>x});var n=o(7552),r=o(93878),a=o(70799),i=o(51148),l=o(60129),s=o(4785),c=o(74893),p=o(69500);const d=(0,c.A)((0,p.jsx)("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),u=(0,c.A)((0,p.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");var v,m=o(2859),h=o(72755);const b=(0,i.Ay)(m.A,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})((0,l.A)((({theme:e})=>({display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,[`&.${h.A.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${h.A.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${h.A.error}`]:{color:(e.vars||e).palette.error.main}})))),A=(0,i.Ay)("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})((0,l.A)((({theme:e})=>({fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily})))),x=n.forwardRef((function(e,t){const o=(0,s.b)({props:e,name:"MuiStepIcon"}),{active:n=!1,className:i,completed:l=!1,error:c=!1,icon:m,...x}=o,y={...o,active:n,completed:l,error:c},f=(e=>{const{classes:t,active:o,completed:n,error:r}=e,i={root:["root",o&&"active",n&&"completed",r&&"error"],text:["text"]};return(0,a.A)(i,h.K,t)})(y);if("number"==typeof m||"string"==typeof m){const e=(0,r.A)(i,f.root);return c?(0,p.jsx)(b,{as:u,className:e,ref:t,ownerState:y,...x}):l?(0,p.jsx)(b,{as:d,className:e,ref:t,ownerState:y,...x}):(0,p.jsxs)(b,{className:e,ref:t,ownerState:y,...x,children:[v||(v=(0,p.jsx)("circle",{cx:"12",cy:"12",r:"12"})),(0,p.jsx)(A,{className:f.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:y,children:m})]})}return m}))},72755:(e,t,o)=>{o.d(t,{A:()=>i,K:()=>a});var n=o(33761),r=o(85693);function a(e){return(0,r.Ay)("MuiStepIcon",e)}const i=(0,n.A)("MuiStepIcon",["root","active","completed","error","text"])},96403:(e,t,o)=>{o.d(t,{A:()=>f});var n=o(70799),r=o(93878),a=o(7552),i=o(81762),l=o(47450),s=o(29628),c=o(51148),p=o(60129),d=o(4785),u=o(34247),v=o(43045),m=o(69500);const h=(0,c.Ay)("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation]]}})({display:"flex",alignItems:"center",[`&.${u.A.alternativeLabel}`]:{flexDirection:"column"},[`&.${u.A.disabled}`]:{cursor:"default"},variants:[{props:{orientation:"vertical"},style:{textAlign:"left",padding:"8px 0"}}]}),b=(0,c.Ay)("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(e,t)=>t.label})((0,p.A)((({theme:e})=>({...e.typography.body2,display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),[`&.${u.A.active}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${u.A.completed}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${u.A.alternativeLabel}`]:{marginTop:16},[`&.${u.A.error}`]:{color:(e.vars||e).palette.error.main}})))),A=(0,c.Ay)("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})({flexShrink:0,display:"flex",paddingRight:8,[`&.${u.A.alternativeLabel}`]:{paddingRight:0}}),x=(0,c.Ay)("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})((0,p.A)((({theme:e})=>({width:"100%",color:(e.vars||e).palette.text.secondary,[`&.${u.A.alternativeLabel}`]:{textAlign:"center"}})))),y=a.forwardRef((function(e,t){const o=(0,d.b)({props:e,name:"MuiStepLabel"}),{children:c,className:p,componentsProps:y={},error:f=!1,icon:S,optional:L,slots:g={},slotProps:w={},StepIconComponent:C,StepIconProps:M,...R}=o,{alternativeLabel:j,orientation:z}=a.useContext(s.A),{active:N,disabled:$,completed:I,icon:E}=a.useContext(i.A),T=S||E;let D=C;T&&!D&&(D=l.A);const P={...o,active:N,alternativeLabel:j,completed:I,disabled:$,error:f,orientation:z},k=(e=>{const{classes:t,orientation:o,active:r,completed:a,error:i,disabled:l,alternativeLabel:s}=e,c={root:["root",o,i&&"error",l&&"disabled",s&&"alternativeLabel"],label:["label",r&&"active",a&&"completed",i&&"error",l&&"disabled",s&&"alternativeLabel"],iconContainer:["iconContainer",r&&"active",a&&"completed",i&&"error",l&&"disabled",s&&"alternativeLabel"],labelContainer:["labelContainer",s&&"alternativeLabel"]};return(0,n.A)(c,u.p,t)})(P),W={slots:g,slotProps:{stepIcon:M,...y,...w}},[F,H]=(0,v.A)("label",{elementType:b,externalForwardedProps:W,ownerState:P}),[_,B]=(0,v.A)("stepIcon",{elementType:D,externalForwardedProps:W,ownerState:P});return(0,m.jsxs)(h,{className:(0,r.A)(k.root,p),ref:t,ownerState:P,...R,children:[T||_?(0,m.jsx)(A,{className:k.iconContainer,ownerState:P,children:(0,m.jsx)(_,{completed:I,active:N,error:f,icon:T,...B})}):null,(0,m.jsxs)(x,{className:k.labelContainer,ownerState:P,children:[c?(0,m.jsx)(F,{...H,className:(0,r.A)(k.label,H?.className),children:c}):null,L]})]})}));y&&(y.muiName="StepLabel");const f=y},34247:(e,t,o)=>{o.d(t,{A:()=>i,p:()=>a});var n=o(33761),r=o(85693);function a(e){return(0,r.Ay)("MuiStepLabel",e)}const i=(0,n.A)("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"])},85059:(e,t,o)=>{o.d(t,{A:()=>m});var n=o(7552),r=o(93878),a=o(70799),i=o(51148),l=o(4785),s=o(25367),c=o(23491),p=o(29628),d=o(69500);const u=(0,i.Ay)("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.nonLinear&&t.nonLinear]}})({display:"flex",variants:[{props:{orientation:"horizontal"},style:{flexDirection:"row",alignItems:"center"}},{props:{orientation:"vertical"},style:{flexDirection:"column"}},{props:{alternativeLabel:!0},style:{alignItems:"flex-start"}}]}),v=(0,d.jsx)(c.A,{}),m=n.forwardRef((function(e,t){const o=(0,l.b)({props:e,name:"MuiStepper"}),{activeStep:i=0,alternativeLabel:c=!1,children:m,className:h,component:b="div",connector:A=v,nonLinear:x=!1,orientation:y="horizontal",...f}=o,S={...o,nonLinear:x,alternativeLabel:c,orientation:y,component:b},L=(e=>{const{orientation:t,nonLinear:o,alternativeLabel:n,classes:r}=e,i={root:["root",t,o&&"nonLinear",n&&"alternativeLabel"]};return(0,a.A)(i,s.g,r)})(S),g=n.Children.toArray(m).filter(Boolean),w=g.map(((e,t)=>n.cloneElement(e,{index:t,last:t+1===g.length,...e.props}))),C=n.useMemo((()=>({activeStep:i,alternativeLabel:c,connector:A,nonLinear:x,orientation:y})),[i,c,A,x,y]);return(0,d.jsx)(p.A.Provider,{value:C,children:(0,d.jsx)(u,{as:b,ownerState:S,className:(0,r.A)(L.root,h),ref:t,...f,children:w})})}))},29628:(e,t,o)=>{o.d(t,{A:()=>i,s:()=>a});var n=o(7552);const r=n.createContext({});function a(){return n.useContext(r)}const i=r},25367:(e,t,o)=>{o.d(t,{A:()=>i,g:()=>a});var n=o(33761),r=o(85693);function a(e){return(0,r.Ay)("MuiStepper",e)}const i=(0,n.A)("MuiStepper",["root","horizontal","vertical","nonLinear","alternativeLabel"])}}]);
//# sourceMappingURL=5189.3e22269d.chunk.js.map