import React from 'react';
import PropTypes from 'prop-types';
import Loader from '../../../atom/loader';
import CMPopin from '../../../molecule/cm-popin';
import style from './style.css';
const PlayerLoading = ({
  popinError
}) => {
  return /*#__PURE__*/React.createElement("div", {
    className: style.wrapper
  }, popinError ? /*#__PURE__*/React.createElement(CMPopin, popinError) : /*#__PURE__*/React.createElement(Loader, null));
};
PlayerLoading.propTypes = process.env.NODE_ENV !== "production" ? {
  popinError: PropTypes.shape(CMPopin.propTypes)
} : {};
export default PlayerLoading;
//# sourceMappingURL=index.js.map