Mercurial > repos > fubar > jbrowse2
view x/static/js/2062.a28f26f8.chunk.js @ 125:49f3d3878413 draft
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([[2062],{81762:(e,t,o)=>{o.d(t,{A:()=>i,P:()=>n});var r=o(7552);const a=r.createContext({});function n(){return r.useContext(a)}const i=a},12062:(e,t,o)=>{o.r(t),o.d(t,{default:()=>f,getStepButtonUtilityClass:()=>b,stepButtonClasses:()=>A});var r=o(7552),a=o(93878),n=o(70799),i=o(51148),l=o(4785),s=o(48054),c=o(96403),p=o(3755),d=o(29628),u=o(81762),m=o(33761),v=o(85693);function b(e){return(0,v.Ay)("MuiStepButton",e)}const A=(0,m.A)("MuiStepButton",["root","horizontal","vertical","touchRipple"]);var x=o(69500);const h=(0,i.Ay)(s.A,{name:"MuiStepButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${A.touchRipple}`]:t.touchRipple},t.root,t[o.orientation]]}})({width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box",[`& .${A.touchRipple}`]:{color:"rgba(0, 0, 0, 0.3)"},variants:[{props:{orientation:"vertical"},style:{justifyContent:"flex-start",padding:"8px",margin:"-8px"}}]}),f=r.forwardRef((function(e,t){const o=(0,l.b)({props:e,name:"MuiStepButton"}),{children:i,className:s,icon:m,optional:v,...A}=o,{disabled:f,active:y}=r.useContext(u.A),{orientation:S}=r.useContext(d.A),C={...o,orientation:S},g=(e=>{const{classes:t,orientation:o}=e,r={root:["root",o],touchRipple:["touchRipple"]};return(0,n.A)(r,b,t)})(C),w={icon:m,optional:v},L=(0,p.A)(i,["StepLabel"])?r.cloneElement(i,w):(0,x.jsx)(c.A,{...w,children:i});return(0,x.jsx)(h,{focusRipple:!0,disabled:f,TouchRippleProps:{className:g.touchRipple},className:(0,a.A)(g.root,s),ref:t,ownerState:C,"aria-current":y?"step":void 0,...A,children:L})}))},47450:(e,t,o)=>{o.d(t,{A:()=>h});var r=o(7552),a=o(93878),n=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 m,v=o(2859),b=o(72755);const A=(0,i.Ay)(v.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,[`&.${b.A.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${b.A.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${b.A.error}`]:{color:(e.vars||e).palette.error.main}})))),x=(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})))),h=r.forwardRef((function(e,t){const o=(0,s.b)({props:e,name:"MuiStepIcon"}),{active:r=!1,className:i,completed:l=!1,error:c=!1,icon:v,...h}=o,f={...o,active:r,completed:l,error:c},y=(e=>{const{classes:t,active:o,completed:r,error:a}=e,i={root:["root",o&&"active",r&&"completed",a&&"error"],text:["text"]};return(0,n.A)(i,b.K,t)})(f);if("number"==typeof v||"string"==typeof v){const e=(0,a.A)(i,y.root);return c?(0,p.jsx)(A,{as:u,className:e,ref:t,ownerState:f,...h}):l?(0,p.jsx)(A,{as:d,className:e,ref:t,ownerState:f,...h}):(0,p.jsxs)(A,{className:e,ref:t,ownerState:f,...h,children:[m||(m=(0,p.jsx)("circle",{cx:"12",cy:"12",r:"12"})),(0,p.jsx)(x,{className:y.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:f,children:v})]})}return v}))},72755:(e,t,o)=>{o.d(t,{A:()=>i,K:()=>n});var r=o(33761),a=o(85693);function n(e){return(0,a.Ay)("MuiStepIcon",e)}const i=(0,r.A)("MuiStepIcon",["root","active","completed","error","text"])},96403:(e,t,o)=>{o.d(t,{A:()=>y});var r=o(70799),a=o(93878),n=o(7552),i=o(81762),l=o(47450),s=o(29628),c=o(51148),p=o(60129),d=o(4785),u=o(34247),m=o(43045),v=o(69500);const b=(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"}}]}),A=(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}})))),x=(0,c.Ay)("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})({flexShrink:0,display:"flex",paddingRight:8,[`&.${u.A.alternativeLabel}`]:{paddingRight:0}}),h=(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"}})))),f=n.forwardRef((function(e,t){const o=(0,d.b)({props:e,name:"MuiStepLabel"}),{children:c,className:p,componentsProps:f={},error:y=!1,icon:S,optional:C,slots:g={},slotProps:w={},StepIconComponent:L,StepIconProps:R,...M}=o,{alternativeLabel:j,orientation:N}=n.useContext(s.A),{active:$,disabled:I,completed:z,icon:k}=n.useContext(i.A),P=S||k;let T=L;P&&!T&&(T=l.A);const B={...o,active:$,alternativeLabel:j,completed:z,disabled:I,error:y,orientation:N},F=(e=>{const{classes:t,orientation:o,active:a,completed:n,error:i,disabled:l,alternativeLabel:s}=e,c={root:["root",o,i&&"error",l&&"disabled",s&&"alternativeLabel"],label:["label",a&&"active",n&&"completed",i&&"error",l&&"disabled",s&&"alternativeLabel"],iconContainer:["iconContainer",a&&"active",n&&"completed",i&&"error",l&&"disabled",s&&"alternativeLabel"],labelContainer:["labelContainer",s&&"alternativeLabel"]};return(0,r.A)(c,u.p,t)})(B),_={slots:g,slotProps:{stepIcon:R,...f,...w}},[W,K]=(0,m.A)("label",{elementType:A,externalForwardedProps:_,ownerState:B}),[D,E]=(0,m.A)("stepIcon",{elementType:T,externalForwardedProps:_,ownerState:B});return(0,v.jsxs)(b,{className:(0,a.A)(F.root,p),ref:t,ownerState:B,...M,children:[P||D?(0,v.jsx)(x,{className:F.iconContainer,ownerState:B,children:(0,v.jsx)(D,{completed:z,active:$,error:y,icon:P,...E})}):null,(0,v.jsxs)(h,{className:F.labelContainer,ownerState:B,children:[c?(0,v.jsx)(W,{...K,className:(0,a.A)(F.label,K?.className),children:c}):null,C]})]})}));f&&(f.muiName="StepLabel");const y=f},34247:(e,t,o)=>{o.d(t,{A:()=>i,p:()=>n});var r=o(33761),a=o(85693);function n(e){return(0,a.Ay)("MuiStepLabel",e)}const i=(0,r.A)("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"])},29628:(e,t,o)=>{o.d(t,{A:()=>i,s:()=>n});var r=o(7552);const a=r.createContext({});function n(){return r.useContext(a)}const i=a}}]); //# sourceMappingURL=2062.a28f26f8.chunk.js.map