import * as i from "react";
function t(l, u) {
  var a, e;
  return /* @__PURE__ */ i.isValidElement(l) && u.indexOf(
    // For server components `muiName` is avaialble in element.type._payload.value.muiName
    // relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
    // eslint-disable-next-line no-underscore-dangle
    (a = l.type.muiName) != null ? a : (e = l.type) == null || (e = e._payload) == null || (e = e.value) == null ? void 0 : e.muiName
  ) !== -1;
}
export {
  t as default
};
