"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[8187],{85283:(e,a,t)=>{t.d(a,{A:()=>A});var n=t(83673),r=t(6614),o=t(7552),s=t(93878),l=t(60827),i=t(18283),c=t(51148),d=t(31049),u=t(943),b=t(27799),g=t(69500);const p=["action","className","message","role"],m=(0,c.Ay)(u.A,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,a)=>a.root})((({theme:e})=>{const a="light"===e.palette.mode?.8:.98,t=(0,i.tL)(e.palette.background.default,a);return(0,r.A)({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(t),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:t,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})})),k=(0,c.Ay)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,a)=>a.message})({padding:"8px 0"}),v=(0,c.Ay)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,a)=>a.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),A=o.forwardRef((function(e,a){const t=(0,d.A)({props:e,name:"MuiSnackbarContent"}),{action:o,className:i,message:c,role:u="alert"}=t,A=(0,n.A)(t,p),C=t,f=(e=>{const{classes:a}=e;return(0,l.A)({root:["root"],action:["action"],message:["message"]},b.d,a)})(C);return(0,g.jsxs)(m,(0,r.A)({role:u,square:!0,elevation:6,className:(0,s.A)(f.root,i),ownerState:C,ref:a},A,{children:[(0,g.jsx)(k,{className:f.message,ownerState:C,children:c}),o?(0,g.jsx)(v,{className:f.action,ownerState:C,children:o}):null]}))}))},58187:(e,a,t)=>{t.r(a),t.d(a,{default:()=>n.A,getSnackbarContentUtilityClass:()=>r.d,snackbarContentClasses:()=>r.A});var n=t(85283),r=t(27799)},27799:(e,a,t)=>{t.d(a,{A:()=>s,d:()=>o});var n=t(55549),r=t(9577);function o(e){return(0,r.Ay)("MuiSnackbarContent",e)}const s=(0,n.A)("MuiSnackbarContent",["root","message","action"])}}]);
//# sourceMappingURL=8187.693446ec.chunk.js.map