"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[4468],{49595:(e,o,a)=>{a.d(o,{Z:()=>m});var r=a(31461),t=a(7896),i=a(41867),s=a(66184),n=a(92705),l=a(15543),d=a(9931),c=a(90293),u=a(24295),h=a(75693),b=a(80838);const p=["children","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"],v=(0,h.ZP)(l.Z,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>(0,h.FO)(e)||"classes"===e,overridesResolver:(e,o)=>{const{ownerState:a}=e;return[o.root,o[a.variant],o["size".concat((0,d.Z)(a.size))],"inherit"===a.color&&o.colorInherit,o[(0,d.Z)(a.size)],o[a.color]]}})((e=>{let{theme:o,ownerState:a}=e;var r,i;return(0,t.Z)({},o.typography.button,{minHeight:36,transition:o.transitions.create(["background-color","box-shadow","border-color"],{duration:o.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(o.vars||o).zIndex.fab,boxShadow:(o.vars||o).shadows[6],"&:active":{boxShadow:(o.vars||o).shadows[12]},color:o.vars?o.vars.palette.text.primary:null==(r=(i=o.palette).getContrastText)?void 0:r.call(i,o.palette.grey[300]),backgroundColor:(o.vars||o).palette.grey[300],"&:hover":{backgroundColor:(o.vars||o).palette.grey.A100,"@media (hover: none)":{backgroundColor:(o.vars||o).palette.grey[300]},textDecoration:"none"},["&.".concat(u.Z.focusVisible)]:{boxShadow:(o.vars||o).shadows[6]}},"small"===a.size&&{width:40,height:40},"medium"===a.size&&{width:48,height:48},"extended"===a.variant&&{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48},"extended"===a.variant&&"small"===a.size&&{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34},"extended"===a.variant&&"medium"===a.size&&{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40},"inherit"===a.color&&{color:"inherit"})}),(e=>{let{theme:o,ownerState:a}=e;return(0,t.Z)({},"inherit"!==a.color&&"default"!==a.color&&null!=(o.vars||o).palette[a.color]&&{color:(o.vars||o).palette[a.color].contrastText,backgroundColor:(o.vars||o).palette[a.color].main,"&:hover":{backgroundColor:(o.vars||o).palette[a.color].dark,"@media (hover: none)":{backgroundColor:(o.vars||o).palette[a.color].main}}})}),(e=>{let{theme:o}=e;return{["&.".concat(u.Z.disabled)]:{color:(o.vars||o).palette.action.disabled,boxShadow:(o.vars||o).shadows[0],backgroundColor:(o.vars||o).palette.action.disabledBackground}}})),m=i.forwardRef((function(e,o){const a=(0,c.Z)({props:e,name:"MuiFab"}),{children:i,className:l,color:h="default",component:m="button",disabled:g=!1,disableFocusRipple:w=!1,focusVisibleClassName:Z,size:f="large",variant:x="circular"}=a,z=(0,r.Z)(a,p),C=(0,t.Z)({},a,{color:h,component:m,disabled:g,disableFocusRipple:w,size:f,variant:x}),k=(e=>{const{color:o,variant:a,classes:r,size:i}=e,s={root:["root",a,"size".concat((0,d.Z)(i)),"inherit"===o?"colorInherit":o]},l=(0,n.Z)(s,u.N,r);return(0,t.Z)({},r,l)})(C);return(0,b.jsx)(v,(0,t.Z)({className:(0,s.Z)(k.root,l),component:m,disabled:g,focusRipple:!w,focusVisibleClassName:(0,s.Z)(k.focusVisible,Z),ownerState:C,ref:o},z,{classes:k,children:i}))}))},24295:(e,o,a)=>{a.d(o,{N:()=>i,Z:()=>s});var r=a(70101),t=a(88498);function i(e){return(0,t.Z)("MuiFab",e)}const s=(0,r.Z)("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"])},34468:(e,o,a)=>{a.r(o),a.d(o,{default:()=>r.Z,fabClasses:()=>t.Z,getFabUtilityClass:()=>t.N});var r=a(49595),t=a(24295)}}]);
//# sourceMappingURL=4468.e66939e9.chunk.js.map