"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[3883],{39857:function(e,n,t){var a=t(56666),r=t(31461),o=t(7896),s=t(30969),i=t(87023),c=t(26540),l=t(74262),u=t(45971),d=t(17363),f=t(46672),p=t(80800),m=t(37574),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}),Z=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,Z=(0,r.Z)(t,b),C=t,w=function(e){var n=e.classes;return(0,c.Z)({root:["root"],action:["action"],message:["message"]},p.A,n)}(C);return(0,m.jsxs)(g,(0,o.Z)({role:f,square:!0,elevation:6,className:(0,i.Z)(w.root,s),ownerState:C,ref:n},Z,{children:[(0,m.jsx)(v,{className:w.message,ownerState:C,children:l}),a?(0,m.jsx)(k,{className:w.action,ownerState:C,children:a}):null]}))}));n.Z=Z},3883: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(39857),r=t(80800)},80800:function(e,n,t){t.d(n,{A:function(){return o}});var a=t(62746),r=t(2975);function o(e){return(0,r.Z)("MuiSnackbarContent",e)}var s=(0,a.Z)("MuiSnackbarContent",["root","message","action"]);n.Z=s}}]);
//# sourceMappingURL=3883.3806b55b.chunk.js.map