"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[4974],{89176:(e,a,t)=>{t.d(a,{Z:()=>C});var n=t(55559),r=t(30984),o=t(66204),s=t(56317),l=t(58029),i=t(73330),c=t(61125),d=t(57369),u=t(86636),b=t(21804),g=t(43188);const p=["action","className","message","role"],m=(0,c.ZP)(u.Z,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,a)=>a.root})((({theme:e})=>{const a="light"===e.palette.mode?.8:.98,t=(0,i._4)(e.palette.background.default,a);return(0,r.Z)({},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.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}),C=o.forwardRef((function(e,a){const t=(0,d.Z)({props:e,name:"MuiSnackbarContent"}),{action:o,className:i,message:c,role:u="alert"}=t,C=(0,n.Z)(t,p),Z=t,f=(e=>{const{classes:a}=e;return(0,l.Z)({root:["root"],action:["action"],message:["message"]},b.A,a)})(Z);return(0,g.jsxs)(m,(0,r.Z)({role:u,square:!0,elevation:6,className:(0,s.Z)(f.root,i),ownerState:Z,ref:a},C,{children:[(0,g.jsx)(k,{className:f.message,ownerState:Z,children:c}),o?(0,g.jsx)(v,{className:f.action,ownerState:Z,children:o}):null]}))}))},4974:(e,a,t)=>{t.r(a),t.d(a,{default:()=>n.Z,getSnackbarContentUtilityClass:()=>r.A,snackbarContentClasses:()=>r.Z});var n=t(89176),r=t(21804)},21804:(e,a,t)=>{t.d(a,{A:()=>o,Z:()=>s});var n=t(58109),r=t(95201);function o(e){return(0,r.Z)("MuiSnackbarContent",e)}const s=(0,n.Z)("MuiSnackbarContent",["root","message","action"])}}]);
//# sourceMappingURL=4974.62f30e35.chunk.js.map