"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[7255],{12221:function(e,o,n){n.d(o,{Z:function(){return M}});var t=n(56666),a=n(31461),r=n(7896),c=n(96902),i=n(37032),s=n(73674),l=n(16644),d=n(95790),u=n(53068),f=n(30992),v=n(29938),h=(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"),p=(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"),Z=n(2252),m=(0,Z.ZP)("span")({position:"relative",display:"flex"}),C=(0,Z.ZP)(h)({transform:"scale(1)"}),k=(0,Z.ZP)(p)((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(70378),g=n(69491),w=n(63838),x=n(17318),y=["checked","checkedIcon","color","icon","name","onChange","size","className"],z=(0,Z.ZP)(d.Z,{shouldForwardProp:function(e){return(0,Z.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(x.Z.checked),{color:(o.vars||o).palette[n.color].main}),(0,t.Z)({},"&.".concat(x.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"}),h=f.checked,p=f.checkedIcon,Z=void 0===p?j:p,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,y),F=(0,r.Z)({},f,{color:C,size:I}),B=function(e){var o=e.classes,n=e.color,t={root:["root","color".concat((0,b.Z)(n))]};return(0,r.Z)({},o,(0,s.Z)(t,x.l,o))}(F),E=(0,w.Z)(),U=h,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)(z,(0,r.Z)({type:"radio",icon:c.cloneElement(S,{fontSize:null!=(n=R.props.fontSize)?n:I}),checkedIcon:c.cloneElement(Z,{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)},_))}))},77255: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(12221),a=n(17318)},17318:function(e,o,n){n.d(o,{l:function(){return r}});var t=n(74732),a=n(61235);function r(e){return(0,a.Z)("MuiRadio",e)}var c=(0,t.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]);o.Z=c},39809:function(e,o,n){var t=n(96902).createContext(void 0);o.Z=t},63838:function(e,o,n){n.d(o,{Z:function(){return r}});var t=n(96902),a=n(39809);function r(){return t.useContext(a.Z)}}}]);
//# sourceMappingURL=7255.ebe21784.chunk.js.map