"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[8187],{85283:(e,a,t)=>{t.d(a,{A:()=>k});var n=t(7552),r=t(93878),o=t(70799),s=t(72639),i=t(51148),l=t(60129),c=t(4785),d=t(943),b=t(27799),u=t(69500);const p=(0,i.Ay)(d.A,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,a)=>a.root})((0,l.A)((({theme:e})=>{const a="light"===e.palette.mode?.8:.98,t=(0,s.tL)(e.palette.background.default,a);return{...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}}}))),g=(0,i.Ay)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,a)=>a.message})({padding:"8px 0"}),m=(0,i.Ay)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,a)=>a.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),k=n.forwardRef((function(e,a){const t=(0,c.b)({props:e,name:"MuiSnackbarContent"}),{action:n,className:s,message:i,role:l="alert",...d}=t,k=t,v=(e=>{const{classes:a}=e;return(0,o.A)({root:["root"],action:["action"],message:["message"]},b.d,a)})(k);return(0,u.jsxs)(p,{role:l,square:!0,elevation:6,className:(0,r.A)(v.root,s),ownerState:k,ref:a,...d,children:[(0,u.jsx)(g,{className:v.message,ownerState:k,children:i}),n?(0,u.jsx)(m,{className:v.action,ownerState:k,children:n}):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(33761),r=t(85693);function o(e){return(0,r.Ay)("MuiSnackbarContent",e)}const s=(0,n.A)("MuiSnackbarContent",["root","message","action"])}}]);
//# sourceMappingURL=8187.383aefbf.chunk.js.map