1import{o as e}from"./rolldown-runtime.DAXXjFlN.js";import{D as t,O as n,g as r,i,n as a,o,r as s,t as c}from"./vendor-@mui-material-material-colors-createSimplePaletteValueFilter.Ph9BMT50.js";import{nn as l}from"./vendor-datadog.CbXwTgUc.js";import{t as u}from"./vendor-react-react-cjs-jsx-runtime.BfiOPkxk.js";import{t as d}from"./vendor-clsx-clsx-dist-clsx.CjueKrWZ.js";import{d as f}from"./app-theme-dsm-Icon.XXxHe72V.js";import{g as p,r as m,t as h}from"./vendor-@mui-utils-utils-useEnhancedEffect-CircularProgress.Brm3geKN.js";var g=p,_=e(l(),1);function v(e){return n(`MuiIconButton`,e)}var y=t(`MuiIconButton`,[`root`,`disabled`,`colorInherit`,`colorPrimary`,`colorSecondary`,`colorError`,`colorInfo`,`colorSuccess`,`colorWarning`,`edgeStart`,`edgeEnd`,`sizeSmall`,`sizeMedium`,`sizeLarge`,`loading`,`loadingIndicator`,`loadingWrapper`]),b=u(),x=e=>{let{classes:t,disabled:n,color:i,edge:o,size:s,loading:c}=e;return r({root:[`root`,c&&`loading`,n&&`disabled`,i!=="default"&&`color${a(i)}`,o&&`edge${a(o)}`,`size${a(s)}`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},v,t)},S=o(m,{name:`MuiIconButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!=="default"&&t[`color${a(n.color)}`],n.edge&&t[`edge${a(n.edge)}`],t[`size${a(n.size)}`]]}})(i(({theme:e})=>({textAlign:`center`,flex:`0 0 auto`,fontSize:e.typography.pxToRem(24),padding:8,borderRadius:`50%`,color:(e.vars||e).palette.action.active,...f(e,`background-color`,{duration:e.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:`var(--IconButton-hoverBg)`,"@media (hover: none)":{backgroundColor:`transparent`}}}},{props:{edge:`start`},style:{marginLeft:-12}},{props:{edge:`start`,size:`small`},style:{marginLeft:-3}},{props:{edge:`end`},style:{marginRight:-12}},{props:{edge:`end`,size:`small`},style:{marginRight:-3}}]})),i(({theme:e})=>({variants:[{props:{color:`inherit`},style:{color:`inherit`}},...Object.entries(e.palette).filter(c()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main,"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:`small`},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:`large`},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${y.disabled}`]:{backgroundColor:`transparent`,color:(e.vars||e).palette.action.disabled},[`&.${y.loading}`]:{color:`transparent`}}))),C=o(`span`,{name:`MuiIconButton`,slot:`LoadingIndicator`})(({theme:e})=>({display:`none`,position:`absolute`,visibility:`visible`,top:`50%`,left:`50%`,transform:`translate(-50%, -50%)`,color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:`flex`}}]})),w=_.forwardRef(function(e,t){let n=s({props:e,name:`MuiIconButton`}),{edge:r=!1,children:i,className:a,color:o=`default`,disabled:c=!1,disableFocusRipple:l=!1,size:u=`medium`,id:f,loading:p=null,loadingIndicator:m,..._}=n,v=g(f),y=m??(0,b.jsx)(h,{"aria-labelledby":v,color:`inherit`,size:16}),w={...n,edge:r,color:o,disabled:c,disableFocusRipple:l,loading:p,loadingIndicator:y,size:u},T=x(w);return(0,b.jsxs)(S,{id:p?v:f,className:d(T.root,a),centerRipple:!0,internalNativeButton:!0,focusRipple:!l,disabled:c||p,ref:t,..._,ownerState:w,children:[typeof p==`boolean`&&(0,b.jsx)(`span`,{className:T.loadingWrapper,style:{display:`contents`},children:(0,b.jsx)(C,{className:T.loadingIndicator,ownerState:w,children:p&&y})}),i]})});export{g as i,v as n,y as r,w as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.