"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[8420],{33248:function(e,o,n){n.d(o,{Z:function(){return M}});var t=n(56666),a=n(31461),r=n(7896),c=n(30969),i=n(87023),s=n(26540),l=n(74262),d=n(71885),u=n(17363),f=n(17469),v=n(37574),Z=(0,f.Z)((0,v.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"),h=(0,f.Z)((0,v.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"),p=n(45971),m=(0,p.ZP)("span")({position:"relative",display:"flex"}),C=(0,p.ZP)(Z)({transform:"scale(1)"}),k=(0,p.ZP)(h)((function(e){var o=e.theme,n=e.ownerState;return(0,r.Z)({left:0,position:"absolute",transform:"scale(0)",transition:o.transitions.create("transform",{easing:o.transitions.easing.easeIn,duration:o.transitions.duration.shortest})},n.checked&&{transform:"scale(1)",transition:o.transitions.create("transform",{easing:o.transitions.easing.easeOut,duration:o.transitions.duration.shortest})})}));var S=function(e){var o=e.checked,n=void 0!==o&&o,t=e.classes,a=void 0===t?{}:t,c=e.fontSize,i=(0,r.Z)({},e,{checked:n});return(0,v.jsxs)(m,{className:a.root,ownerState:i,children:[(0,v.jsx)(C,{fontSize:c,className:a.background,ownerState:i}),(0,v.jsx)(k,{fontSize:c,className:a.dot,ownerState:i})]})},b=n(24099),g=n(24938),w=n(94094),z=n(56694),x=["checked","checkedIcon","color","icon","name","onChange","size","className"],y=(0,p.ZP)(d.Z,{shouldForwardProp:function(e){return(0,p.FO)(e)||"classes"===e},name:"MuiRadio",slot:"Root",overridesResolver:function(e,o){var n=e.ownerState;return[o.root,o["color".concat((0,b.Z)(n.color))]]}})((function(e){var o=e.theme,n=e.ownerState;return(0,r.Z)({color:(o.vars||o).palette.text.secondary},!n.disableRipple&&{"&:hover":{backgroundColor:o.vars?"rgba(".concat("default"===n.color?o.vars.palette.action.activeChannel:o.vars.palette[n.color].mainChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):(0,l.Fq)("default"===n.color?o.palette.action.active:o.palette[n.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==n.color&&(0,t.Z)({},"&.".concat(z.Z.checked),{color:(o.vars||o).palette[n.color].main}),(0,t.Z)({},"&.".concat(z.Z.disabled),{color:(o.vars||o).palette.action.disabled}))}));var j=(0,v.jsx)(S,{checked:!0}),R=(0,v.jsx)(S,{}),M=c.forwardRef((function(e,o){var n,t,l,d,f=(0,u.Z)({props:e,name:"MuiRadio"}),Z=f.checked,h=f.checkedIcon,p=void 0===h?j:h,m=f.color,C=void 0===m?"primary":m,k=f.icon,S=void 0===k?R:k,M=f.name,N=f.onChange,P=f.size,I=void 0===P?"medium":P,O=f.className,_=(0,a.Z)(f,x),F=(0,r.Z)({},f,{color:C,size:I}),B=function(e){var o=e.classes,n=e.color,t=e.size,a={root:["root","color".concat((0,b.Z)(n)),"medium"!==t&&"size".concat((0,b.Z)(t))]};return(0,r.Z)({},o,(0,s.Z)(a,z.l,o))}(F),E=(0,w.Z)(),U=Z,q=(0,g.Z)(N,E&&E.onChange),A=M;return E&&("undefined"===typeof U&&(l=E.value,U="object"===typeof(d=f.value)&&null!==d?l===d:String(l)===String(d)),"undefined"===typeof A&&(A=E.name)),(0,v.jsx)(y,(0,r.Z)({type:"radio",icon:c.cloneElement(S,{fontSize:null!=(n=R.props.fontSize)?n:I}),checkedIcon:c.cloneElement(p,{fontSize:null!=(t=j.props.fontSize)?t:I}),ownerState:F,classes:B,name:A,checked:U,onChange:q,ref:o,className:(0,i.Z)(B.root,O)},_))}))},88420:function(e,o,n){n.r(o),n.d(o,{default:function(){return t.Z},getRadioUtilityClass:function(){return a.l},radioClasses:function(){return a.Z}});var t=n(33248),a=n(56694)},56694:function(e,o,n){n.d(o,{l:function(){return r}});var t=n(62746),a=n(2975);function r(e){return(0,a.Z)("MuiRadio",e)}var c=(0,t.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]);o.Z=c},93007:function(e,o,n){var t=n(30969).createContext(void 0);o.Z=t},94094:function(e,o,n){n.d(o,{Z:function(){return r}});var t=n(30969),a=n(93007);function r(){return t.useContext(a.Z)}}}]);
//# sourceMappingURL=8420.8b50763c.chunk.js.map