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