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