"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[601],{29538:function(e,n,t){var a=t(56666),r=t(31461),o=t(7896),s=t(96902),i=t(24463),c=t(73674),l=t(16644),u=t(2252),d=t(53068),f=t(6880),p=t(13233),m=t(29938),b=["action","className","message","role"],g=(0,u.ZP)(f.Z,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:function(e,n){return n.root}})((function(e){var n=e.theme,t="light"===n.palette.mode?.8:.98,r=(0,l._4)(n.palette.background.default,t);return(0,o.Z)({},n.typography.body2,(0,a.Z)({color:n.vars?n.vars.palette.SnackbarContent.color:n.palette.getContrastText(r),backgroundColor:n.vars?n.vars.palette.SnackbarContent.bg:r,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(n.vars||n).shape.borderRadius,flexGrow:1},n.breakpoints.up("sm"),{flexGrow:"initial",minWidth:288}))})),v=(0,u.ZP)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:function(e,n){return n.message}})({padding:"8px 0"}),k=(0,u.ZP)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:function(e,n){return n.action}})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),C=s.forwardRef((function(e,n){var t=(0,d.Z)({props:e,name:"MuiSnackbarContent"}),a=t.action,s=t.className,l=t.message,u=t.role,f=void 0===u?"alert":u,C=(0,r.Z)(t,b),Z=t,w=function(e){var n=e.classes;return(0,c.Z)({root:["root"],action:["action"],message:["message"]},p.A,n)}(Z);return(0,m.jsxs)(g,(0,o.Z)({role:f,square:!0,elevation:6,className:(0,i.default)(w.root,s),ownerState:Z,ref:n},C,{children:[(0,m.jsx)(v,{className:w.message,ownerState:Z,children:l}),a?(0,m.jsx)(k,{className:w.action,ownerState:Z,children:a}):null]}))}));n.Z=C},90601:function(e,n,t){t.r(n),t.d(n,{default:function(){return a.Z},getSnackbarContentUtilityClass:function(){return r.A},snackbarContentClasses:function(){return r.Z}});var a=t(29538),r=t(13233)},13233:function(e,n,t){t.d(n,{A:function(){return o}});var a=t(74732),r=t(61235);function o(e){return(0,r.Z)("MuiSnackbarContent",e)}var s=(0,a.Z)("MuiSnackbarContent",["root","message","action"]);n.Z=s}}]);
//# sourceMappingURL=601.908907af.chunk.js.map