"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[7352],{63290:(e,a,t)=>{t.d(a,{Z:()=>f});var n=t(31461),r=t(7896),s=t(41867),o=t(66184),l=t(92705),i=t(71939),c=t(75693),d=t(90293),u=t(7229),p=t(21675),m=t(80838);const b=["action","className","message","role"],g=(0,c.ZP)(u.Z,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,a)=>a.root})((e=>{let{theme:a}=e;const t="light"===a.palette.mode?.8:.98,n=(0,i._4)(a.palette.background.default,t);return(0,r.Z)({},a.typography.body2,{color:a.vars?a.vars.palette.SnackbarContent.color:a.palette.getContrastText(n),backgroundColor:a.vars?a.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(a.vars||a).shape.borderRadius,flexGrow:1,[a.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})})),k=(0,c.ZP)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,a)=>a.message})({padding:"8px 0"}),v=(0,c.ZP)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,a)=>a.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),f=s.forwardRef((function(e,a){const t=(0,d.Z)({props:e,name:"MuiSnackbarContent"}),{action:s,className:i,message:c,role:u="alert"}=t,f=(0,n.Z)(t,b),C=t,Z=(e=>{const{classes:a}=e;return(0,l.Z)({root:["root"],action:["action"],message:["message"]},p.A,a)})(C);return(0,m.jsxs)(g,(0,r.Z)({role:u,square:!0,elevation:6,className:(0,o.Z)(Z.root,i),ownerState:C,ref:a},f,{children:[(0,m.jsx)(k,{className:Z.message,ownerState:C,children:c}),s?(0,m.jsx)(v,{className:Z.action,ownerState:C,children:s}):null]}))}))},47352:(e,a,t)=>{t.r(a),t.d(a,{default:()=>n.Z,getSnackbarContentUtilityClass:()=>r.A,snackbarContentClasses:()=>r.Z});var n=t(63290),r=t(21675)},21675:(e,a,t)=>{t.d(a,{A:()=>s,Z:()=>o});var n=t(70101),r=t(88498);function s(e){return(0,r.Z)("MuiSnackbarContent",e)}const o=(0,n.Z)("MuiSnackbarContent",["root","message","action"])}}]);
//# sourceMappingURL=7352.4a49eaa6.chunk.js.map