"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[9458],{9458:(n,o,e)=>{e.r(o),e.d(o,{default:()=>b,getSpeedDialIconUtilityClass:()=>m,speedDialIconClasses:()=>A});var t=e(83673),c=e(6614),i=e(7552),a=e(93878),s=e(60827),r=e(51148),p=e(31049),l=e(74893),I=e(69500);const u=(0,l.A)((0,I.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");var d=e(55549),h=e(9577);function m(n){return(0,h.Ay)("MuiSpeedDialIcon",n)}const A=(0,d.A)("MuiSpeedDialIcon",["root","icon","iconOpen","iconWithOpenIconOpen","openIcon","openIconOpen"]),f=["className","icon","open","openIcon"],O=(0,r.Ay)("span",{name:"MuiSpeedDialIcon",slot:"Root",overridesResolver:(n,o)=>{const{ownerState:e}=n;return[{[`& .${A.icon}`]:o.icon},{[`& .${A.icon}`]:e.open&&o.iconOpen},{[`& .${A.icon}`]:e.open&&e.openIcon&&o.iconWithOpenIconOpen},{[`& .${A.openIcon}`]:o.openIcon},{[`& .${A.openIcon}`]:e.open&&o.openIconOpen},o.root]}})((({theme:n,ownerState:o})=>({height:24,[`& .${A.icon}`]:(0,c.A)({transition:n.transitions.create(["transform","opacity"],{duration:n.transitions.duration.short})},o.open&&(0,c.A)({transform:"rotate(45deg)"},o.openIcon&&{opacity:0})),[`& .${A.openIcon}`]:(0,c.A)({position:"absolute",transition:n.transitions.create(["transform","opacity"],{duration:n.transitions.duration.short}),opacity:0,transform:"rotate(-45deg)"},o.open&&{transform:"rotate(0deg)",opacity:1})}))),w=i.forwardRef((function(n,o){const e=(0,p.A)({props:n,name:"MuiSpeedDialIcon"}),{className:r,icon:l,openIcon:d}=e,h=(0,t.A)(e,f),A=e,w=(n=>{const{classes:o,open:e,openIcon:t}=n,c={root:["root"],icon:["icon",e&&"iconOpen",t&&e&&"iconWithOpenIconOpen"],openIcon:["openIcon",e&&"openIconOpen"]};return(0,s.A)(c,m,o)})(A);function b(n,o){return i.isValidElement(n)?i.cloneElement(n,{className:o}):n}return(0,I.jsxs)(O,(0,c.A)({className:(0,a.A)(w.root,r),ref:o,ownerState:A},h,{children:[d?b(d,w.openIcon):null,l?b(l,w.icon):(0,I.jsx)(u,{className:w.icon})]}))}));w.muiName="SpeedDialIcon";const b=w}}]);
//# sourceMappingURL=9458.33427f14.chunk.js.map