"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[4673],{23738:(e,o,t)=>{t.d(o,{Z:()=>R});var a=t(31461),n=t(7896),r=t(41867),s=t(66184),c=t(92705),i=t(71939),l=t(9886),d=t(90293),u=t(17886),h=t(80838);const p=(0,u.Z)((0,h.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),m=(0,u.Z)((0,h.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");var Z=t(75693);const f=(0,Z.ZP)("span",{shouldForwardProp:Z.FO})({position:"relative",display:"flex"}),v=(0,Z.ZP)(p)({transform:"scale(1)"}),C=(0,Z.ZP)(m)((e=>{let{theme:o,ownerState:t}=e;return(0,n.Z)({left:0,position:"absolute",transform:"scale(0)",transition:o.transitions.create("transform",{easing:o.transitions.easing.easeIn,duration:o.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:o.transitions.create("transform",{easing:o.transitions.easing.easeOut,duration:o.transitions.duration.shortest})})}));const k=function(e){const{checked:o=!1,classes:t={},fontSize:a}=e,r=(0,n.Z)({},e,{checked:o});return(0,h.jsxs)(f,{className:t.root,ownerState:r,children:[(0,h.jsx)(v,{fontSize:a,className:t.background,ownerState:r}),(0,h.jsx)(C,{fontSize:a,className:t.dot,ownerState:r})]})};var S=t(9931),z=t(46275),b=t(20326),w=t(33812);const g=["checked","checkedIcon","color","icon","name","onChange","size","className"],x=(0,Z.ZP)(l.Z,{shouldForwardProp:e=>(0,Z.FO)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.root,"medium"!==t.size&&o["size".concat((0,S.Z)(t.size))],o["color".concat((0,S.Z)(t.color))]]}})((e=>{let{theme:o,ownerState:t}=e;return(0,n.Z)({color:(o.vars||o).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:o.vars?"rgba(".concat("default"===t.color?o.vars.palette.action.activeChannel:o.vars.palette[t.color].mainChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):(0,i.Fq)("default"===t.color?o.palette.action.active:o.palette[t.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{["&.".concat(w.Z.checked)]:{color:(o.vars||o).palette[t.color].main}},{["&.".concat(w.Z.disabled)]:{color:(o.vars||o).palette.action.disabled}})}));const y=(0,h.jsx)(k,{checked:!0}),j=(0,h.jsx)(k,{}),R=r.forwardRef((function(e,o){var t,i;const l=(0,d.Z)({props:e,name:"MuiRadio"}),{checked:u,checkedIcon:p=y,color:m="primary",icon:Z=j,name:f,onChange:v,size:C="medium",className:k}=l,R=(0,a.Z)(l,g),P=(0,n.Z)({},l,{color:m,size:C}),M=(e=>{const{classes:o,color:t,size:a}=e,r={root:["root","color".concat((0,S.Z)(t)),"medium"!==a&&"size".concat((0,S.Z)(a))]};return(0,n.Z)({},o,(0,c.Z)(r,w.l,o))})(P),N=(0,b.Z)();let F=u;const O=(0,z.Z)(v,N&&N.onChange);let I=f;var _,B;return N&&("undefined"===typeof F&&(_=N.value,F="object"===typeof(B=l.value)&&null!==B?_===B:String(_)===String(B)),"undefined"===typeof I&&(I=N.name)),(0,h.jsx)(x,(0,n.Z)({type:"radio",icon:r.cloneElement(Z,{fontSize:null!=(t=j.props.fontSize)?t:C}),checkedIcon:r.cloneElement(p,{fontSize:null!=(i=y.props.fontSize)?i:C}),ownerState:P,classes:M,name:I,checked:F,onChange:O,ref:o,className:(0,s.Z)(M.root,k)},R))}))},94673:(e,o,t)=>{t.r(o),t.d(o,{default:()=>a.Z,getRadioUtilityClass:()=>n.l,radioClasses:()=>n.Z});var a=t(23738),n=t(33812)},33812:(e,o,t)=>{t.d(o,{Z:()=>s,l:()=>r});var a=t(70101),n=t(88498);function r(e){return(0,n.Z)("MuiRadio",e)}const s=(0,a.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"])},27088:(e,o,t)=>{t.d(o,{Z:()=>a});const a=t(41867).createContext(void 0)},20326:(e,o,t)=>{t.d(o,{Z:()=>r});var a=t(41867),n=t(27088);function r(){return a.useContext(n.Z)}}}]);
//# sourceMappingURL=4673.07ededad.chunk.js.map