"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[4034],{34034:(n,o,e)=>{e.r(o),e.d(o,{default:()=>b,getSpeedDialIconUtilityClass:()=>m,speedDialIconClasses:()=>f});var t=e(55559),c=e(30984),i=e(66204),a=e(56317),s=e(58029),r=e(61125),p=e(57369),l=e(50968),I=e(43188);const u=(0,l.Z)((0,I.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");var d=e(58109),h=e(95201);function m(n){return(0,h.Z)("MuiSpeedDialIcon",n)}const f=(0,d.Z)("MuiSpeedDialIcon",["root","icon","iconOpen","iconWithOpenIconOpen","openIcon","openIconOpen"]),O=["className","icon","open","openIcon"],Z=(0,r.ZP)("span",{name:"MuiSpeedDialIcon",slot:"Root",overridesResolver:(n,o)=>{const{ownerState:e}=n;return[{[`& .${f.icon}`]:o.icon},{[`& .${f.icon}`]:e.open&&o.iconOpen},{[`& .${f.icon}`]:e.open&&e.openIcon&&o.iconWithOpenIconOpen},{[`& .${f.openIcon}`]:o.openIcon},{[`& .${f.openIcon}`]:e.open&&o.openIconOpen},o.root]}})((({theme:n,ownerState:o})=>({height:24,[`& .${f.icon}`]:(0,c.Z)({transition:n.transitions.create(["transform","opacity"],{duration:n.transitions.duration.short})},o.open&&(0,c.Z)({transform:"rotate(45deg)"},o.openIcon&&{opacity:0})),[`& .${f.openIcon}`]:(0,c.Z)({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.Z)({props:n,name:"MuiSpeedDialIcon"}),{className:r,icon:l,openIcon:d}=e,h=(0,t.Z)(e,O),f=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.Z)(c,m,o)})(f);function b(n,o){return i.isValidElement(n)?i.cloneElement(n,{className:o}):n}return(0,I.jsxs)(Z,(0,c.Z)({className:(0,a.Z)(w.root,r),ref:o,ownerState:f},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=4034.6c63dd79.chunk.js.map